var hc=Math.pow;var Zu=(Xc,Jc,ot)=>new Promise((mA,_e)=>{var $=f=>{try{n(ot.next(f))}catch(l){_e(l)}},t=f=>{try{n(ot.throw(f))}catch(l){_e(l)}},n=f=>f.done?mA(f.value):Promise.resolve(f.value).then($,t);n((ot=ot.apply(Xc,Jc)).next())});(function(){var Xc={61241:function(_e,$,t){"use strict";var n=t(89526),f,l,u=null;function m(){return m=Object.assign?Object.assign.bind():function(re){for(var se=1;se<arguments.length;se++){var S=arguments[se];for(var J in S)Object.prototype.hasOwnProperty.call(S,J)&&(re[J]=S[J])}return re},m.apply(this,arguments)}function v(re,se){if(re==null)return{};var S=M(re,se),J,T;if(Object.getOwnPropertySymbols){var V=Object.getOwnPropertySymbols(re);for(T=0;T<V.length;T++)J=V[T],!(se.indexOf(J)>=0)&&Object.prototype.propertyIsEnumerable.call(re,J)&&(S[J]=re[J])}return S}function M(re,se){if(re==null)return{};var S={},J=Object.keys(re),T,V;for(V=0;V<J.length;V++)T=J[V],!(se.indexOf(T)>=0)&&(S[T]=re[T]);return S}function ee(re,se){var S=re.title,J=re.titleId,T=v(re,u);return React.createElement("svg",m({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:404.362,height:64.61,viewBox:"0 0 404.362 64.61",ref:se,"aria-labelledby":J},T),S?React.createElement("title",{id:J},S):null,f||(f=React.createElement("defs",null,React.createElement("linearGradient",{id:"linear-gradient",x1:.019,y1:.868,x2:.898,y2:.417,gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#9149ff"}),React.createElement("stop",{offset:1,stopColor:"#e600ff"})),React.createElement("linearGradient",{id:"linear-gradient-2",x1:.085,y1:.87,x2:.951,y2:0,xlinkHref:"#linear-gradient"}))),l||(l=React.createElement("g",{id:"Group_191867","data-name":"Group 191867",transform:"translate(-7.639 -23)"},React.createElement("g",{id:"Group_191733","data-name":"Group 191733",transform:"translate(7.639 23)"},React.createElement("path",{id:"Union_46","data-name":"Union 46",d:"M58.017,26.122C58.017,13.216,67.882,4.1,80.043,4.1c9,0,16.752,4.529,20.041,12.968h-8.5c-2.3-4.343-6.391-6.515-11.541-6.515-8.562,0-14.767,6.08-14.767,15.574s6.205,15.635,14.767,15.635c7.818,0,12.719-4.715,13.774-11.975H77.623V24.136h23.764v5.522a21.261,21.261,0,0,1-21.344,18.49C67.882,48.148,58.017,39.09,58.017,26.122ZM43.994,47.776V13.588h7.073V47.776ZM0,47.776V4.654H14.085c13.837,0,22.9,8.376,22.9,21.716,0,13.278-9.059,21.406-22.9,21.406Zm7.073-5.771h7.012c10.175,0,15.636-5.832,15.636-15.636,0-9.865-5.461-15.946-15.636-15.946H7.073ZM43.063,4.529a4.5,4.5,0,1,1,9,0,4.5,4.5,0,1,1-9,0Z",transform:"translate(79.101 5.35)",stroke:"rgba(0,0,0,0)",strokeWidth:1,fill:"url(#linear-gradient)"}),React.createElement("path",{id:"Path_316297","data-name":"Path 316297",d:"M411.933,31.843h-8.5c-2.3-4.344-6.391-6.515-11.541-6.515-8.562,0-14.767,6.08-14.767,15.574s6.205,15.636,14.767,15.636c7.818,0,12.719-4.715,13.775-11.975H389.472V38.916h23.764v5.522a21.261,21.261,0,0,1-21.344,18.49c-12.161,0-22.026-9.058-22.026-22.026,0-12.905,9.865-22.027,22.026-22.027,9,0,16.753,4.53,20.041,12.968",transform:"translate(-184.784 -9.43)",fill:"#163567"}),React.createElement("path",{id:"Path_316298","data-name":"Path 316298",d:"M477.5,71.476h-7.074V37.288H477.5v4.964c1.985-3.412,5.4-5.522,10.237-5.522v7.322h-1.8c-5.212,0-8.438,2.171-8.438,9.431Z",transform:"translate(-235.024 -18.35)",fill:"#163567"}),React.createElement("path",{id:"Path_316299","data-name":"Path 316299",d:"M530.58,72.035c-9.741,0-17.125-6.949-17.125-17.683S521.149,36.73,530.89,36.73s17.435,6.887,17.435,17.622-7.942,17.683-17.745,17.683m0-6.142c5.274,0,10.486-3.785,10.486-11.54s-5.026-11.479-10.3-11.479c-5.336,0-10.114,3.722-10.114,11.479s4.592,11.54,9.927,11.54",transform:"translate(-256.52 -18.35)",fill:"#163567"}),React.createElement("path",{id:"Path_316300","data-name":"Path 316300",d:"M589.094,37.845h7.2l7.135,27.487,7.259-27.487h7.384l6.95,27.363,7.073-27.363h6.949l-10.61,34.188h-7.445L614.1,46.78l-6.887,25.253h-7.446Z",transform:"translate(-294.309 -18.907)",fill:"#163567"}),React.createElement("path",{id:"Path_316301","data-name":"Path 316301",d:"M697.658,35.13h-4.033V29.359h4.033v-8.5h7.135v8.5h8.314V35.13h-8.314V54.053c0,2.544.993,3.6,3.971,3.6h4.343v5.894h-5.584c-6.081,0-9.865-2.544-9.865-9.493Z",transform:"translate(-346.532 -10.421)",fill:"#163567"}),React.createElement("path",{id:"Path_316302","data-name":"Path 316302",d:"M745.58,14.411h7.073v15.7a13.552,13.552,0,0,1,10.61-4.53c7.632,0,13.588,5.026,13.588,14.581V60.326h-7.012V41.215c0-6.266-3.412-9.493-8.562-9.493-5.212,0-8.624,3.227-8.624,9.493V60.326H745.58Z",transform:"translate(-372.489 -7.2)",fill:"#163567"}),React.createElement("path",{id:"Path_316303","data-name":"Path 316303",d:"M59.69,37.458,50.075,50.943,40.6,44.988a3.581,3.581,0,0,0-5.016.705L23.377,61.052l-.005.006a3.606,3.606,0,0,0,.582,5.066,3.535,3.535,0,0,0,2.235.793,3.679,3.679,0,0,0,2.861-1.491l9.615-12.211s9.587,6.1,9.764,6.221a3.58,3.58,0,0,0,4.988-.873L65.555,41.736v-.072a3.609,3.609,0,1,0-5.865-4.206",transform:"translate(-11.286 -17.961)",fill:"url(#linear-gradient-2)"}),React.createElement("path",{id:"Path_316304","data-name":"Path 316304",d:"M41.115,3.254A20.264,20.264,0,0,1,61.356,23.494V41.116A20.264,20.264,0,0,1,41.115,61.357H23.494A20.264,20.264,0,0,1,3.254,41.116V23.494A20.264,20.264,0,0,1,23.494,3.254Zm0-3.254H23.494A23.494,23.494,0,0,0,0,23.494V41.116A23.494,23.494,0,0,0,23.494,64.61H41.115A23.5,23.5,0,0,0,64.61,41.116V23.494A23.5,23.5,0,0,0,41.115,0",transform:"translate(0 0)",fill:"#163567"})))))}var W=null;$.Z=t.p+"static/media/DigGrowthLogo.159cbf178501db2dc6e1d822f82b2e35.svg"},25588:function(_e,$,t){"use strict";var n=t(89526),f,l=null;function u(){return u=Object.assign?Object.assign.bind():function(W){for(var re=1;re<arguments.length;re++){var se=arguments[re];for(var S in se)Object.prototype.hasOwnProperty.call(se,S)&&(W[S]=se[S])}return W},u.apply(this,arguments)}function m(W,re){if(W==null)return{};var se=v(W,re),S,J;if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(W);for(J=0;J<T.length;J++)S=T[J],!(re.indexOf(S)>=0)&&Object.prototype.propertyIsEnumerable.call(W,S)&&(se[S]=W[S])}return se}function v(W,re){if(W==null)return{};var se={},S=Object.keys(W),J,T;for(T=0;T<S.length;T++)J=S[T],!(re.indexOf(J)>=0)&&(se[J]=W[J]);return se}function M(W,re){var se=W.title,S=W.titleId,J=m(W,l);return React.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",width:219.554,height:35.081,viewBox:"0 0 219.554 35.081",ref:re,"aria-labelledby":S},J),se?React.createElement("title",{id:S},se):null,f||(f=React.createElement("g",{id:"Group_191768","data-name":"Group 191768",transform:"translate(-7.639 -23)"},React.createElement("g",{id:"Group_191733","data-name":"Group 191733",transform:"translate(7.639 23)"},React.createElement("path",{id:"Union_46","data-name":"Union 46",d:"M31.5,14.183a11.711,11.711,0,0,1,11.96-11.96c4.885,0,9.1,2.459,10.882,7.041H49.727a6.656,6.656,0,0,0-6.266-3.537c-4.649,0-8.018,3.3-8.018,8.456s3.369,8.489,8.018,8.489a7.089,7.089,0,0,0,7.479-6.5H42.147V13.105h12.9v3A11.544,11.544,0,0,1,43.461,26.143,11.691,11.691,0,0,1,31.5,14.183ZM23.887,25.941V7.378h3.841V25.941ZM0,25.941V2.527H7.647c7.513,0,12.431,4.548,12.431,11.791,0,7.21-4.918,11.623-12.431,11.623Zm3.84-3.133H7.647c5.525,0,8.49-3.167,8.49-8.49,0-5.356-2.965-8.658-8.49-8.658H3.84ZM23.382,2.459a2.443,2.443,0,1,1,4.885,0,2.443,2.443,0,1,1-4.885,0Z",transform:"translate(42.949 2.905)",fill:"#fdfdfd",stroke:"rgba(0,0,0,0)",strokeWidth:1}),React.createElement("path",{id:"Path_316297","data-name":"Path 316297",d:"M392.707,25.916h-4.615a6.656,6.656,0,0,0-6.266-3.538c-4.649,0-8.018,3.3-8.018,8.456s3.369,8.49,8.018,8.49a7.089,7.089,0,0,0,7.479-6.5h-8.793V29.757h12.9v3a11.544,11.544,0,0,1-11.589,10.039,11.691,11.691,0,0,1-11.96-11.959,11.711,11.711,0,0,1,11.96-11.96c4.885,0,9.1,2.459,10.882,7.041",transform:"translate(-269.373 -13.747)",fill:"#fdfdfd"}),React.createElement("path",{id:"Path_316298","data-name":"Path 316298",d:"M474.269,55.6h-3.841V37.032h3.841v2.7a6.046,6.046,0,0,1,5.558-3V40.7h-.977c-2.83,0-4.581,1.179-4.581,5.121Z",transform:"translate(-342.612 -26.75)",fill:"#fdfdfd"}),React.createElement("path",{id:"Path_316299","data-name":"Path 316299",d:"M522.753,55.9c-5.289,0-9.3-3.773-9.3-9.6a9.467,9.467,0,1,1,18.933,0,9.3,9.3,0,0,1-9.635,9.6m0-3.335c2.864,0,5.694-2.055,5.694-6.266s-2.729-6.233-5.592-6.233c-2.9,0-5.491,2.021-5.491,6.233s2.493,6.266,5.39,6.266",transform:"translate(-373.949 -26.75)",fill:"#fdfdfd"}),React.createElement("path",{id:"Path_316300","data-name":"Path 316300",d:"M589.094,37.845H593l3.874,14.924,3.942-14.924h4.009L608.6,52.7l3.84-14.857h3.773l-5.761,18.563H606.41L602.67,42.7l-3.739,13.712h-4.043Z",transform:"translate(-429.036 -27.563)",fill:"#fdfdfd"}),React.createElement("path",{id:"Path_316301","data-name":"Path 316301",d:"M695.815,28.607h-2.19V25.474h2.19V20.858h3.874v4.616H704.2v3.133h-4.514V38.882c0,1.381.539,1.954,2.156,1.954H704.2v3.2h-3.032c-3.3,0-5.357-1.381-5.357-5.154Z",transform:"translate(-505.166 -15.191)",fill:"#fdfdfd"}),React.createElement("path",{id:"Path_316302","data-name":"Path 316302",d:"M745.58,14.411h3.84v8.523a7.358,7.358,0,0,1,5.761-2.459c4.144,0,7.378,2.729,7.378,7.917V39.341h-3.807V28.964c0-3.4-1.853-5.154-4.649-5.154-2.83,0-4.683,1.752-4.683,5.154V39.341h-3.84Z",transform:"translate(-543.005 -10.496)",fill:"#fdfdfd"}),React.createElement("path",{id:"Path_316303","data-name":"Path 316303",d:"M42.734,36.77l-5.22,7.322-5.143-3.234a1.944,1.944,0,0,0-2.723.383l-6.63,8.339,0,0a1.958,1.958,0,0,0,.316,2.75,1.919,1.919,0,0,0,1.214.431,2,2,0,0,0,1.553-.81l5.22-6.63s5.206,3.31,5.3,3.378a1.944,1.944,0,0,0,2.708-.474l6.591-9.136v-.039a1.959,1.959,0,1,0-3.185-2.284",transform:"translate(-16.452 -26.184)",fill:"#fdfdfd"}),React.createElement("path",{id:"Path_316304","data-name":"Path 316304",d:"M22.324,1.767a11,11,0,0,1,10.99,10.99v9.568a11,11,0,0,1-10.99,10.99H12.757a11,11,0,0,1-10.99-10.99V12.757a11,11,0,0,1,10.99-10.99Zm0-1.767H12.757A12.757,12.757,0,0,0,0,12.757v9.568A12.757,12.757,0,0,0,12.757,35.081h9.567A12.757,12.757,0,0,0,35.081,22.324V12.757A12.757,12.757,0,0,0,22.324,0",transform:"translate(0 0)",fill:"#fdfdfd"})))))}var ee=null;$.Z=t.p+"static/media/DiggLogoDark.a6005d9f5807dc84e224f0e5160603c3.svg"},2769:function(_e,$){"use strict";const t={getLoginDetails(n){return{url:"governance/oauth",headers:n.headers,data:{}}},keyCloakAuth(n){return{url:"kcauth/verify",data:n.headers}},getLogos(n){return{url:"sharedfeature/get_client_logo_url",headers:n.headers,data:{}}},getColorTheme(n){return{url:"marketo/get_color_settings",headers:n.headers,data:{}}},getShareReportLogos(n){return{url:"sharedfeature/get_client_logo",headers:n.headers,data:{}}},regenrateKeyCloakToken(n){return{url:"kcauth/refreshToken",headers:n,data:{}}},validateAccessToken(n){return{url:"kcauth/validate",headers:n.headers,data:{}}},segment_filter_name(n){return{url:"segment/segment_filter_name",data:n.reqBody,headers:n.headers.request}}};$.Z=t},30451:function(_e,$,t){"use strict";t.d($,{bp:function(){return se},hc:function(){return ee},iz:function(){return re}});var n=t(67557),f=t(89526),l=t(93780),u=t(48650),m;const v=(0,f.createContext)({}),M=u.Z;var ee=(S=>(S.LIGHT="light",S.DARK="dark",S))(ee||{});const W={isAuthenticated:!!M.getItem("userData"),userData:M.getItem("userData")||{},onLoaded:{showLoader:!1},showSidebar:!0,onSidebarToggle:{sidebarToggle:!1},editProfile:((m=M.getItem("userData"))==null?void 0:m.name)||"",insightFilters:l._2.getDefaultFilters(),segmentsList:[],connected_crm:[],theme:"dark",isQuestionsVisible:!1,isAnswersVisible:!1,insightsQuestions:[]};function re({reducer:S,children:J}){return(0,n.jsx)(v.Provider,{value:(0,f.useReducer)(S,W),children:J})}const se=()=>(0,f.useContext)(v)},63536:function(_e,$,t){"use strict";t.d($,{E4:function(){return T},GJ:function(){return S},Hv:function(){return se},KG:function(){return n},KX:function(){return re},Nv:function(){return f},S3:function(){return J},Wr:function(){return ee},et:function(){return m},gI:function(){return l},hA:function(){return v},j5:function(){return W},jy:function(){return u},nz:function(){return M}});const n="LOGIN_RESPONSE",f="LOGOUT",l="LOADER",u="SIDEBAR",m="EDITPROFILE",v="SEGMENT_LIST_UPDATE",M="INSIGHT_FILTER_CHANGE",ee="TOGGLESIDEBAR",W="CONNECTOR_CHANGE",re="TOGGLETHEME",se="INSIGHTSDRAWER",S="ANSWERDRAWER",J="INSIGHTSQUESTIONS",T="ACCESS_AND_REFRESH_TOKEN_CHANGE"},39910:function(_e,$,t){"use strict";t.d($,{Bq:function(){return V},By:function(){return J},Nj:function(){return L},gK:function(){return re},nN:function(){return g},xQ:function(){return R},xZ:function(){return se}});var n=t(63536),f=Object.defineProperty,l=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,v=(p,O,I)=>O in p?f(p,O,{enumerable:!0,configurable:!0,writable:!0,value:I}):p[O]=I,M=(p,O)=>{for(var I in O||(O={}))u.call(O,I)&&v(p,I,O[I]);if(l)for(var I of l(O))m.call(O,I)&&v(p,I,O[I]);return p};const ee=p=>({type:actionTypes.LOGIN_RESPONSE,data:M({},p)}),W=()=>({type:actionTypes.LOGOUT}),re=p=>({type:n.gI,data:M({},p)}),se=p=>({type:n.jy,data:M({},p)}),S=p=>({type:actionTypes.INSIGHT_FILTER_CHANGE,data:p}),J=p=>({type:n.et,data:p}),T=p=>({type:actionTypes.TOGGLESIDEBAR,data:p}),V=p=>({type:n.hA,data:p}),L=p=>({type:n.j5,data:p}),c=p=>({type:actionTypes.ACCESS_AND_REFRESH_TOKEN_CHANGE,data:p}),R=p=>({type:n.KX,data:p}),B=p=>({type:actionTypes.INSIGHTS_DRAWER,data:p}),X=p=>({type:actionTypes.ANSWER_DRAWER,data:p}),g=p=>({type:n.S3,data:p})},38177:function(_e,$,t){"use strict";t.d($,{AR:function(){return M},CT:function(){return L},F$:function(){return J},HP:function(){return c},Ho:function(){return f},MJ:function(){return R},N6:function(){return V},W0:function(){return B},XF:function(){return v},Y7:function(){return n},cQ:function(){return W},hV:function(){return re},ng:function(){return se},sD:function(){return S},yR:function(){return ee},zO:function(){return T}});const n="SET_CMO_REQUEST_DATA",f="SET_CMO_CLOSED_WON_DATA",l="SET_CMO_PIPELINE_DATA",u="SET_CMO_AVG_CARD_DATA",m="SET_CMO_AVG_DEAL_DATA",v="SET_CMO_GRAPH_DATA",M="SET_CMO_REQUEST_BODY",ee="SET_CMO_PIPELINE_API_DATA",W="SET_CMO_INSIGHTS_TABLE_DATA",re="SET_CMO_BOOKMARK_REQUEST_BODY_DATA",se="SET_CMO_DIMENSION_VALUE",S="SET_CMO_METRIC_VALUE",J="RESET_TO_INTIAL_STATE",T="PDF_CLICKED",V="PDF_COLUMNS",L="TABLEDATA_FOR_PDF",c="ROWS_COUNT_PDF",R="PATH_SAME_DRILL_DOWN",B="DRILL_DOWN_CSV_HIDE_OPTION"},69033:function(_e,$,t){"use strict";t.d($,{MI:function(){return W},Mw:function(){return M},Ok:function(){return L},RT:function(){return l},S6:function(){return V},VG:function(){return J},VL:function(){return m},jG:function(){return se},kL:function(){return ee},kd:function(){return S},q8:function(){return u},qN:function(){return T},sv:function(){return re},zw:function(){return v}});var n=t(38177);const f=c=>({type:SET_CMO_REQUEST_DATA,data:c}),l=c=>({type:n.Ho,data:c}),u=c=>({type:n.yR,data:c}),m=c=>({type:n.XF,data:c}),v=c=>({type:n.AR,data:c}),M=c=>({type:n.hV,data:c}),ee=c=>({type:n.sD,data:c}),W=c=>({type:n.ng,data:c}),re=c=>({type:n.F$,data:c}),se=c=>({type:n.zO,data:c}),S=c=>({type:n.MJ,data:c}),J=c=>({type:n.W0,data:c}),T=c=>({type:n.N6,data:c}),V=c=>({type:n.CT,data:c}),L=c=>({type:n.HP,data:c})},71143:function(_e,$,t){"use strict";var n=t(67557),f=Object.defineProperty,l=Object.defineProperties,u=Object.getOwnPropertyDescriptors,m=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,ee=(S,J,T)=>J in S?f(S,J,{enumerable:!0,configurable:!0,writable:!0,value:T}):S[J]=T,W=(S,J)=>{for(var T in J||(J={}))v.call(J,T)&&ee(S,T,J[T]);if(m)for(var T of m(J))M.call(J,T)&&ee(S,T,J[T]);return S},re=(S,J)=>l(S,u(J));const se=S=>(0,n.jsx)("div",{children:(0,n.jsxs)("svg",re(W({width:"25",height:"25",viewBox:"0 0 25 25",fill:S.fill||"#9149ff",xmlns:"http://www.w3.org/2000/svg"},S),{children:[(0,n.jsx)("g",{"clip-path":"url(#clip0_541_319)",children:(0,n.jsx)("path",{d:"M8.33333 12.5H6.25C5.10104 12.5 4.16667 13.4344 4.16667 14.5833V16.6667C4.16667 17.8156 5.10104 18.75 6.25 18.75H8.33333C9.48229 18.75 10.4167 17.8156 10.4167 16.6667V14.5833C10.4167 13.4344 9.48229 12.5 8.33333 12.5ZM6.25 16.6667V14.5833H8.33333V16.6667H6.25ZM19.7917 2.08333H18.75V1.04167C18.75 0.466667 18.2844 0 17.7083 0C17.1323 0 16.6667 0.466667 16.6667 1.04167V2.08333H8.33333V1.04167C8.33333 0.466667 7.86771 0 7.29167 0C6.71562 0 6.25 0.466667 6.25 1.04167V2.08333H5.20833C2.33646 2.08333 0 4.41979 0 7.29167V19.7917C0 22.6635 2.33646 25 5.20833 25H19.7917C22.6635 25 25 22.6635 25 19.7917V7.29167C25 4.41979 22.6635 2.08333 19.7917 2.08333ZM5.20833 4.16667H19.7917C21.5146 4.16667 22.9167 5.56875 22.9167 7.29167V8.33333H2.08333V7.29167C2.08333 5.56875 3.48542 4.16667 5.20833 4.16667ZM19.7917 22.9167H5.20833C3.48542 22.9167 2.08333 21.5146 2.08333 19.7917V10.4167H22.9167V19.7917C22.9167 21.5146 21.5146 22.9167 19.7917 22.9167Z",fill:S.fill||"#9149ff"})}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_541_319",children:(0,n.jsx)("rect",{width:"25",height:"25",fill:S.fill||"#9149ff"})})})]}))});$.Z=se},41491:function(_e,$,t){"use strict";var n=t(67557),f=t(66005),l=Object.defineProperty,u=Object.defineProperties,m=Object.getOwnPropertyDescriptors,v=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,W=(J,T,V)=>T in J?l(J,T,{enumerable:!0,configurable:!0,writable:!0,value:V}):J[T]=V,re=(J,T)=>{for(var V in T||(T={}))M.call(T,V)&&W(J,V,T[V]);if(v)for(var V of v(T))ee.call(T,V)&&W(J,V,T[V]);return J},se=(J,T)=>u(J,m(T));const S=J=>{const T=(0,f.Z)();return(0,n.jsx)("div",{children:(0,n.jsx)("svg",se(re({xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20.454 27.65"},J),{children:(0,n.jsxs)("g",{id:"Group_3230","data-name":"Group 3230",transform:"translate(0 -0.001)",children:[(0,n.jsx)("path",{id:"Path_1279","data-name":"Path 1279",d:"M290.037,265.492a.983.983,0,0,0,.983-.983v-6.1a.983.983,0,0,0-1.967,0v6.1A.983.983,0,0,0,290.037,265.492Z",transform:"translate(-282.17 -244.841)",fill:T.palette.text.tertiary}),(0,n.jsx)("path",{id:"Path_1280","data-name":"Path 1280",d:"M372.487,265.492a.983.983,0,0,0,.983-.983v-6.1a.983.983,0,1,0-1.967,0v6.1A.983.983,0,0,0,372.487,265.492Z",transform:"translate(-360.097 -244.841)",fill:T.palette.text.tertiary}),(0,n.jsx)("path",{id:"Path_1281","data-name":"Path 1281",d:"M188.625,148.757V131.29H168.73v17.466a4.517,4.517,0,0,0,4.517,4.517h10.861a4.516,4.516,0,0,0,4.517-4.517Zm-1.966,0a2.553,2.553,0,0,1-2.55,2.55H173.247a2.553,2.553,0,0,1-2.55-2.55v-15.5h15.962v15.5Z",transform:"translate(-168.447 -125.623)",fill:T.palette.text.tertiary}),(0,n.jsx)("path",{id:"Path_1282","data-name":"Path 1282",d:"M164.564,31.539H183.05a.983.983,0,0,0,0-1.967h-5.511A.979.979,0,0,0,176.757,28h-5.9a.983.983,0,0,0-.983.983.973.973,0,0,0,.2.59h-5.511a.983.983,0,0,0,0,1.967Z",transform:"translate(-163.58 -27.998)",fill:T.palette.text.tertiary})]})}))})};$.Z=S},8412:function(_e,$,t){"use strict";var n=t(67557),f=Object.defineProperty,l=Object.defineProperties,u=Object.getOwnPropertyDescriptors,m=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,ee=(S,J,T)=>J in S?f(S,J,{enumerable:!0,configurable:!0,writable:!0,value:T}):S[J]=T,W=(S,J)=>{for(var T in J||(J={}))v.call(J,T)&&ee(S,T,J[T]);if(m)for(var T of m(J))M.call(J,T)&&ee(S,T,J[T]);return S},re=(S,J)=>l(S,u(J));const se=S=>(0,n.jsx)("div",{children:(0,n.jsxs)("svg",re(W({width:"24",height:"24",viewBox:"0 0 24 24",fill:S.fill,xmlns:"http://www.w3.org/2000/svg"},S),{children:[(0,n.jsx)("g",{"clip-path":"url(#clip0_541_317)",children:(0,n.jsx)("path",{d:"M14.583 25C14.3577 25 14.1384 24.9269 13.958 24.7917L9.79138 21.6667C9.66201 21.5696 9.55701 21.4438 9.48469 21.2992C9.41237 21.1545 9.37472 20.995 9.37472 20.8333V14.9792L2.06638 6.75729C1.54734 6.17175 1.20844 5.44877 1.09042 4.67524C0.972403 3.90172 1.08028 3.11057 1.40109 2.39689C1.72191 1.6832 2.242 1.07735 2.89886 0.652152C3.55573 0.226951 4.32141 0.000494186 5.10388 0L19.8956 0C20.678 0.000917761 21.4435 0.227749 22.1 0.653236C22.7566 1.07872 23.2764 1.68476 23.5969 2.39853C23.9173 3.11229 24.0249 3.90341 23.9066 4.67682C23.7883 5.45023 23.4491 6.17302 22.9299 6.75833L15.6247 14.9792V23.9583C15.6247 24.2346 15.515 24.4996 15.3196 24.6949C15.1243 24.8903 14.8593 25 14.583 25ZM11.458 20.3125L13.5414 21.875V14.5833C13.5416 14.3283 13.6354 14.0822 13.8049 13.8917L21.3758 5.37396C21.6282 5.08863 21.7929 4.7365 21.8502 4.35985C21.9074 3.98319 21.8547 3.59802 21.6984 3.25058C21.5421 2.90314 21.2889 2.60818 20.9691 2.40113C20.6493 2.19408 20.2765 2.08373 19.8956 2.08333H5.10388C4.7231 2.08391 4.35057 2.19432 4.03097 2.40132C3.71137 2.60832 3.45826 2.90312 3.30201 3.25037C3.14577 3.59761 3.093 3.98256 3.15006 4.35904C3.20711 4.73552 3.37156 5.08756 3.62367 5.37292L11.1955 13.8917C11.3647 14.0823 11.4581 14.3284 11.458 14.5833V20.3125Z",fill:S.fill})}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_541_317",children:(0,n.jsx)("rect",{width:"25",height:"25",fill:S.fill})})})]}))});$.Z=se},88131:function(_e,$,t){"use strict";t.d($,{Z:function(){return Me}});var n=t(67557),f=t(51511),l=Object.defineProperty,u=Object.defineProperties,m=Object.getOwnPropertyDescriptors,v=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,W=(Fe,Ue,he)=>Ue in Fe?l(Fe,Ue,{enumerable:!0,configurable:!0,writable:!0,value:he}):Fe[Ue]=he,re=(Fe,Ue)=>{for(var he in Ue||(Ue={}))M.call(Ue,he)&&W(Fe,he,Ue[he]);if(v)for(var he of v(Ue))ee.call(Ue,he)&&W(Fe,he,Ue[he]);return Fe},se=(Fe,Ue)=>u(Fe,m(Ue)),J=Fe=>(0,n.jsx)("div",{children:(0,n.jsxs)("svg",se(re({width:"25",height:"25",viewBox:"0 0 25 25",fill:Fe.fill||"#9149ff",xmlns:"http://www.w3.org/2000/svg"},Fe),{children:[(0,n.jsx)("g",{"clip-path":"url(#clip0_541_286)",children:(0,n.jsx)("path",{d:"M20.9765 25C20.5911 24.9989 20.2098 24.9215 19.8546 24.7722C19.4993 24.6229 19.1771 24.4047 18.9067 24.1302L12.5005 17.7615L6.0942 24.1344C5.68278 24.5518 5.15513 24.8356 4.58006 24.9487C4.00498 25.0619 3.40915 24.9992 2.87025 24.7688C2.32599 24.5498 1.8604 24.1719 1.53426 23.6843C1.20813 23.1967 1.03662 22.622 1.04212 22.0354V5.20833C1.04212 3.827 1.59085 2.50224 2.56761 1.52549C3.54436 0.548734 4.86912 0 6.25045 0L18.7505 0C19.4344 0 20.1117 0.134718 20.7436 0.396461C21.3755 0.658204 21.9497 1.04185 22.4333 1.52549C22.9169 2.00912 23.3006 2.58329 23.5623 3.21519C23.8241 3.8471 23.9588 4.52437 23.9588 5.20833V22.0354C23.9646 22.6215 23.7937 23.1958 23.4684 23.6834C23.143 24.171 22.6783 24.5492 22.1348 24.7688C21.768 24.9222 21.3742 25.0008 20.9765 25ZM6.25045 2.08333C5.42165 2.08333 4.6268 2.41257 4.04075 2.99863C3.45469 3.58468 3.12545 4.37953 3.12545 5.20833V22.0354C3.12508 22.209 3.17615 22.3788 3.27223 22.5234C3.3683 22.6679 3.50506 22.7808 3.66524 22.8476C3.82541 22.9145 4.00182 22.9324 4.17216 22.8991C4.34251 22.8658 4.49916 22.7827 4.62233 22.6604L11.7713 15.5552C11.9665 15.3612 12.2305 15.2523 12.5057 15.2523C12.7809 15.2523 13.0449 15.3612 13.24 15.5552L20.3807 22.6583C20.5038 22.7806 20.6605 22.8637 20.8308 22.897C21.0012 22.9304 21.1776 22.9124 21.3378 22.8456C21.4979 22.7787 21.6347 22.6658 21.7308 22.5213C21.8268 22.3767 21.8779 22.2069 21.8775 22.0333V5.20833C21.8775 4.37953 21.5483 3.58468 20.9622 2.99863C20.3762 2.41257 19.5813 2.08333 18.7525 2.08333H6.25045Z",fill:Fe.fill||"#9149ff"})}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_541_286",children:(0,n.jsx)("rect",{width:"25",height:"25",fill:Fe.fill||"#9149ff"})})})]}))}),T=t(18051),V=t(50871),L=t(81445),c=t(86041),R=t(57931),B=t(79882),X=t(82525),g=t(89526),p=t(21081),O=t(49902),I=t(30451),E=t(41491),K=t(5581),d=t(94715),i=t(97827),x=t(48650),A=t(60666),w=t(5729),C=t(77760),U=t(48322),F=t(29480),Y=t(38894),le=t(98463),ie=t(25),j=t(47486),ue=t(42776),Z={createBookmark(Fe){return{url:"bookmark/create_bookmark",data:Fe.request,headers:Fe.headers}},getBookmarks(Fe){return{url:"bookmark/get_bookmark",data:Fe.request,headers:Fe.headers}},deleteBookmark(Fe){return{url:"bookmark/delete_bookmark",data:Fe.request,headers:Fe.headers}}},ae=(Fe,Ue,he)=>new Promise((xe,q)=>{var me=Oe=>{try{Te(he.next(Oe))}catch(st){q(st)}},De=Oe=>{try{Te(he.throw(Oe))}catch(st){q(st)}},Te=Oe=>Oe.done?xe(Oe.value):Promise.resolve(Oe.value).then(me,De);Te((he=he.apply(Fe,Ue)).next())});const ce={bookmark_name:""};var pe=(0,g.forwardRef)((Fe,Ue)=>{const he=(0,i.Z)(),[xe,q]=(0,g.useState)(!1),[me,De]=(0,g.useState)(Fe.bookmarkName),Te=(0,C.Z)(),Oe=x.Z,st=(0,d.Z)(),[Ft]=(0,I.bp)(),{userData:Qt}=Ft,Vt=(0,p.TH)();(0,g.useImperativeHandle)(Ue,()=>({handleClickOpen:()=>{De(Fe.bookmarkName),q(!0)},handleClose:()=>{q(!1),De(Fe.bookmarkName)}}));const Gt=()=>{if(me.trim()===""){Te.addToast({message:"Bookmark name required.",timeout:2e3,type:"error"});return}Fe.onBookmarkNameUpdated(me);const Lr={};let Rr=Fe.payload;me.includes("Perfomance Report")&&(Rr[0].requestBody.showTabularData=Fe.viewType);const Gr={bookmark_name:me,request_data:Rr,page_url:Vt.pathname},zr={request:Gr,headers:Lr};return st.showLoader(),he.post(Z.createBookmark(zr),!0).then(pr=>{if(pr&&pr.status===200){let vn;Oe.getItem("bookMarkList")&&(vn=Oe.getItem("bookMarkList"));let fn=vn?[...vn]:[];fn.push(Gr),Oe.setItem("bookMarkList",fn),Te.addToast({message:"Bookmark added successfully",timeout:4e3,type:"success"}),De(Fe.bookmarkName),q(!1),Fe.getBookmarksList(),st.hideLoader()}}).catch(pr=>ae(void 0,null,function*(){st.hideLoader(),Te.addToast({message:pr.message||"Something went wrong.",timeout:8e3,type:"error"})})).finally(()=>{})},Jt=Lr=>{De(Lr.target.value)};return(0,n.jsxs)(ie.Z,{open:xe,onClose:()=>q(!1),"aria-labelledby":"add_bookmark",classes:{paper:"ChannelManager__addChannel__editDialog"},children:[(0,n.jsx)(F.Z,{id:"addBookmark__title",classes:{root:"Dialog__titleRoot"},style:{paddingBottom:"0rem"},children:"Add Bookmark"}),(0,n.jsx)(Y.Z,{id:"addChannel__content",style:{paddingBottom:"0rem"},children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{style:{padding:"0rem 0rem 0.5rem"},children:"Bookmark Name"}),(0,n.jsx)("div",{className:"ChannelManager__addChannel__channelItem",children:(0,n.jsx)("div",{className:"ChannelManager__addChannel__channelItem__input",children:(0,n.jsx)(j.Z,{name:"bookmark_name",placeholder:"Enter Bookmark Name",onChange:Jt,defaultValue:me})})}),(0,n.jsx)("div",{style:{padding:"0.5rem 0.5rem 0.5rem 0.5rem"},children:"URL"}),(0,n.jsx)("div",{className:"ChannelManager__addChannel__channelItem",children:(0,n.jsx)("div",{className:"ChannelManager__addChannel__channelItem__input",children:(0,n.jsx)(j.Z,{name:"url",defaultValue:window.location.origin+Vt.pathname,disabled:!0})})})]})}),(0,n.jsx)(le.Z,{style:{paddingTop:"0rem"},children:(0,n.jsxs)("div",{style:{margin:"auto"},children:[(0,n.jsx)(A.Z,{type:"button",color:"primary",btnText:"Add",onClick:Gt}),(0,n.jsx)(A.Z,{type:"button",btnText:"Cancel",onClick:()=>q(!1),color:"secondary",variant:"outlined"})]})})]})}),h={},te=Object.defineProperty,Q=Object.getOwnPropertySymbols,we=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,Ne=(Fe,Ue,he)=>Ue in Fe?te(Fe,Ue,{enumerable:!0,configurable:!0,writable:!0,value:he}):Fe[Ue]=he,ze=(Fe,Ue)=>{for(var he in Ue||(Ue={}))we.call(Ue,he)&&Ne(Fe,he,Ue[he]);if(Q)for(var he of Q(Ue))Se.call(Ue,he)&&Ne(Fe,he,Ue[he]);return Fe},Je=(Fe,Ue,he)=>new Promise((xe,q)=>{var me=Oe=>{try{Te(he.next(Oe))}catch(st){q(st)}},De=Oe=>{try{Te(he.throw(Oe))}catch(st){q(st)}},Te=Oe=>Oe.done?xe(Oe.value):Promise.resolve(Oe.value).then(me,De);Te((he=he.apply(Fe,Ue)).next())}),Me=Fe=>{const Ue=(0,p.s0)(),he=(0,T.Z)(),[xe,q]=(0,g.useState)([]),[me]=(0,I.bp)(),{userData:De}=me,[Te,Oe]=(0,g.useState)(!1),[st,Ft]=(0,g.useState)(!1),Qt=(0,g.useRef)(),[Vt,Gt]=(0,g.useState)(""),Jt=x.Z,Lr=()=>{Qt.current.handleClickOpen(),Ft(!1)},Rr=()=>{Qt.current.handleClose()},Gr=()=>{const or={request:{id:Vt},headers:{}};return Wt.showLoader(),Zt.post(Z.deleteBookmark(or),!0).then(ir=>{if(ir&&ir.status===200){let Qr=Jt.getItem("bookMarkList"),ft=Qr.findIndex(tr=>tr.id==Vt);Qr.splice(ft,1),Jt.setItem("bookMarkList",Qr),St.addToast({message:"Bookmark deleted successfully",timeout:4e3,type:"success"}),Gt(""),Qt.current.handleClose(),Wt.hideLoader()}}).catch(ir=>Je(void 0,null,function*(){Wt.hideLoader(),St.addToast({message:ir.message||"Something went wrong.",timeout:8e3,type:"error"})}))},zr=(0,g.useRef)(),pr=()=>{zr.current.handleClickOpen()},vn=Rt=>{},fn=(0,g.useRef)(),Zt=(0,i.Z)();(0,K.O)(fn,()=>{Ft(!1)});const St=(0,C.Z)(),Wt=(0,d.Z)(),Nt=(0,g.useRef)(null),dt=()=>Je(void 0,null,function*(){const or={request:{},headers:{}};return yield Zt.get(Z.getBookmarks(or),!0).then(ir=>{Jt.setItem("bookMarkList",ir.data),q(ir.data)}).catch(ir=>{Jt.setItem("bookMarkList",[]),q([]),St.addToast({message:ir.message||"Something went wrong",timeout:2e3,type:"error"})})});(0,g.useEffect)(()=>{dt()},[]);const nr=()=>{const Rt=Jt.getItem("bookMarkList");Rt&&!Rt.length?pr():(Ft(!st),st||(q([]),q(Rt||[])))},et=Rt=>{const or=Jt.getItem("bookmarks"),ir=JSON.parse(JSON.stringify(or));if(ir==null)Jt.setItem("bookmarks",[Rt]);else if(ir&&ir.findIndex(Qr=>Qr.id===Rt.id)==-1){const Qr=[...or,Rt];Jt.setItem("bookmarks",Qr)}Ft(!1)},Tt={fill:he.palette.text.tertiary,width:"20px",height:"20px"};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{ref:fn,style:{display:"inherit"},children:[(0,n.jsx)(U.Z,{title:"Bookmark",children:(0,n.jsx)(A.Z,{className:"pinIcon bookmarkButtons",type:"button",btnText:"",variant:"outlined",style:{minWidth:"0px"},onClick:()=>nr(),startIcon:(0,n.jsx)(J,ze({},Tt))})}),st&&(0,n.jsx)(V.ZP,{className:"bookmark-list",bgcolor:he.palette.background.light,children:(0,n.jsxs)(L.Z,{style:{overflowY:"auto"},dense:Te,className:st?"bookmark-content-display":"bookmark-content",children:[(0,n.jsxs)(c.ZP,{className:"bookmark-button listItem",children:[(0,n.jsx)(R.Z,{className:"addBookmark",primary:"Bookmarks",color:he.palette.text.primary,style:{fontWeight:"bold",cursor:"pointer",color:he.palette.text.primary}}),(0,n.jsx)(U.Z,{title:"Add Bookmark",children:(0,n.jsx)(B.Z,{sx:{minWidth:"20px",justifyContent:"end",cursor:"pointer",color:"rgb(145, 73, 255)"},children:(0,n.jsx)("span",{style:{color:he.palette.text.primary},children:(0,n.jsx)(f.Z,{color:"primary",onClick:()=>pr()})})})})]}),xe.map(Rt=>(0,n.jsxs)(c.ZP,{className:"listItem",children:[(0,n.jsx)(U.Z,{title:Rt.bookmark_name,ellipsisOnOverflow:!0,avoidOverflow:!1,style:{overflow:"inherit",width:"80%"},disableInteraction:!1,fromBookmark:!0,children:(0,n.jsx)(R.Z,{className:"bookmarkListText",style:{cursor:"default"},color:he.palette.text.primary,primary:(0,n.jsx)(O.rU,{onClick:()=>et(Rt),rel:"noopener noreferrer",to:`${Rt.page_url}?bookmarkId=${Rt.id}`,target:"_blank",style:{textDecoration:"none",color:"grey"},ref:Nt,children:(0,n.jsx)("div",{className:"bookmarkListText",style:{color:he.palette.text.primary},children:Rt.bookmark_name})})})}),(0,n.jsx)(B.Z,{sx:{minWidth:"20px",justifyContent:"end"},children:(0,n.jsx)("span",{children:(0,n.jsx)(X.Z,{edge:"end",className:"bookmarkButtons","aria-label":"add",style:{color:he.palette.text.tertiary,padding:0},onClick:()=>{Lr(),Gt(Rt.id)},children:(0,n.jsx)(E.Z,ze({},Tt))})})})]},Rt.id))]})})]}),(0,n.jsx)(g.Suspense,{fallback:(0,n.jsx)("h3",{children:"Loading\u2026"}),children:(0,n.jsx)(w.Z,{ref:Qt,title:"Delete Bookmark",confirm:"Delete",discard:"Cancel",onConfirm:Gr,hideCloseButton:!0,color:"error",onDiscard:Rr,description:"Are you sure you want to delete this Bookmark?"})}),(0,n.jsx)(g.Suspense,{fallback:(0,n.jsx)("h3",{children:"Loading\u2026"}),children:(0,n.jsx)(pe,{ref:zr,payload:Fe.payload,onBookmarkNameUpdated:vn,bookmarkName:Fe.bookmarkName,viewType:Fe.viewType,getBookmarksList:()=>{dt()}})})]})}},68342:function(_e,$,t){"use strict";t.d($,{Z:function(){return le}});var n=t(67557),f=t(90769),l=t(87462),u=t(63366),m=t(89526),v=t(21536),M=t(23060),ee=t(13957),W=t(82500),re=t(87260),se=t(19855),S=t(72945),J=t(85233),T=(0,J.Z)((0,n.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz"),V=t(98592);const L=(0,W.ZP)(V.Z)(({theme:ie})=>(0,l.Z)({display:"flex",marginLeft:`calc(${ie.spacing(1)} * 0.5)`,marginRight:`calc(${ie.spacing(1)} * 0.5)`},ie.palette.mode==="light"?{backgroundColor:ie.palette.grey[100],color:ie.palette.grey[700]}:{backgroundColor:ie.palette.grey[700],color:ie.palette.grey[100]},{borderRadius:2,"&:hover, &:focus":(0,l.Z)({},ie.palette.mode==="light"?{backgroundColor:ie.palette.grey[200]}:{backgroundColor:ie.palette.grey[600]}),"&:active":(0,l.Z)({boxShadow:ie.shadows[0]},ie.palette.mode==="light"?{backgroundColor:(0,S._4)(ie.palette.grey[200],.12)}:{backgroundColor:(0,S._4)(ie.palette.grey[600],.12)})})),c=(0,W.ZP)(T)({width:24,height:16});function R(ie){const j=ie;return(0,n.jsx)("li",{children:(0,n.jsx)(L,(0,l.Z)({focusRipple:!0},ie,{ownerState:j,children:(0,n.jsx)(c,{ownerState:j})}))})}var B=R,X=t(67402),g=t(85111);function p(ie){return(0,g.Z)("MuiBreadcrumbs",ie)}var I=(0,X.Z)("MuiBreadcrumbs",["root","ol","li","separator"]);const E=["children","className","component","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],K=ie=>{const{classes:j}=ie,ue={root:["root"],li:["li"],ol:["ol"],separator:["separator"]};return(0,ee.Z)(ue,p,j)},d=(0,W.ZP)(se.Z,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(ie,j)=>[{[`& .${I.li}`]:j.li},j.root]})({}),i=(0,W.ZP)("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(ie,j)=>j.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),x=(0,W.ZP)("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(ie,j)=>j.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function A(ie,j,ue,P){return ie.reduce((Z,ae,ce)=>(ce<ie.length-1?Z=Z.concat(ae,(0,n.jsx)(x,{"aria-hidden":!0,className:j,ownerState:P,children:ue},`separator-${ce}`)):Z.push(ae),Z),[])}var C=m.forwardRef(function(j,ue){const P=(0,re.Z)({props:j,name:"MuiBreadcrumbs"}),{children:Z,className:ae,component:ce="nav",expandText:be="Show path",itemsAfterCollapse:pe=1,itemsBeforeCollapse:h=1,maxItems:te=8,separator:Q="/"}=P,we=(0,u.Z)(P,E),[Se,Ne]=m.useState(!1),ze=(0,l.Z)({},P,{component:ce,expanded:Se,expandText:be,itemsAfterCollapse:pe,itemsBeforeCollapse:h,maxItems:te,separator:Q}),Je=K(ze),qe=m.useRef(null),Me=Ue=>{const he=()=>{Ne(!0);const xe=qe.current.querySelector("a[href],button,[tabindex]");xe&&xe.focus()};return h+pe>=Ue.length?Ue:[...Ue.slice(0,h),(0,n.jsx)(B,{"aria-label":be,onClick:he},"ellipsis"),...Ue.slice(Ue.length-pe,Ue.length)]},Fe=m.Children.toArray(Z).filter(Ue=>m.isValidElement(Ue)).map((Ue,he)=>(0,n.jsx)("li",{className:Je.li,children:Ue},`child-${he}`));return(0,n.jsx)(d,(0,l.Z)({ref:ue,component:ce,color:"text.secondary",className:(0,M.default)(Je.root,ae),ownerState:ze},we,{children:(0,n.jsx)(i,{className:Je.ol,ref:qe,ownerState:ze,children:A(Se||te&&Fe.length<=te?Fe:Me(Fe),Je.separator,Q,ze)})}))}),U=t(70907),F={},le=ie=>{const j=(0,f.u)(),[ue,P]=(0,m.useState)([]);return(0,m.useEffect)(()=>{const Z=[];ie.breadCrumbsList&&ie.breadCrumbsList.map((ae,ce)=>{if(ie.breadCrumbsList.length-1===ce){Z.push((0,n.jsx)(se.Z,{fontSize:j.typography.breadCrum,color:j.palette.text.tertiary,children:ae.name},ce));return}Z.push((0,n.jsx)(U.Z,{underline:ae.disabled?"none":"hover",color:j.palette.text.tertiary,href:ae.link||null,children:ae.name},ce))}),P(Z)},[]),(0,n.jsx)("div",{className:"BreadCrumbs__typography",children:(0,n.jsx)(C,{separator:">","aria-label":"breadcrumb",style:{fontSize:j.typography.breadCrum},children:ue})})}},60666:function(_e,$,t){"use strict";var n=t(67557),f=t(60514),l=t(90019);const u=m=>m.hidden?(0,n.jsx)(n.Fragment,{}):(0,n.jsx)(f.Z,{type:m.type,style:m.style,className:m.className?m.className:"defaultButton",onClick:m.onClick,variant:m.variant||"contained",size:m.size,classes:{root:"Button__fontSize"},onKeyDown:m.onKeyDown,startIcon:m.startIcon||"",color:m.color?m.color:"primary",disabled:m.disable?m.disable:!1,endIcon:m.endIcon||"","aria-controls":m.ariaControls?"basic-menu":void 0,"aria-haspopup":m.ariaHaspopup,"aria-expanded":m.ariaExpanded?"true":void 0,children:m.btnText});$.Z=u},46451:function(_e,$,t){"use strict";t.d($,{n:function(){return n}});const n={med_screen:"MMMM DD, YYYY",tab:"MMM DD, YYYY",mobile:"MMM DD, YY",range_med:"MMM DD,YYYY",range_responsive:"MMM DD, YYYY"}},63425:function(_e,$,t){"use strict";var n=t(67557),f=t(50871),l=t(82525),u=t(19855),m=t(42617),v=t(79412),M=t(9717),ee=t(12370),W=t(66005),re=t(23585),se=t(82915),S=t(44993),J=t(85950),T=t(11105),V=t(76015),L=t(36105),c=t.n(L),R=t(89526),B=t(33422),X=t(21081),g=t(71143),p=t(63686),O=t(54893),I=t(48650),E=t(60666),K=t(78134),d=t(46451),i=t(16465),x=t(23965),A=t(49353),w=Object.defineProperty,C=Object.defineProperties,U=Object.getOwnPropertyDescriptors,F=Object.getOwnPropertySymbols,Y=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,ie=(Z,ae,ce)=>ae in Z?w(Z,ae,{enumerable:!0,configurable:!0,writable:!0,value:ce}):Z[ae]=ce,j=(Z,ae)=>{for(var ce in ae||(ae={}))Y.call(ae,ce)&&ie(Z,ce,ae[ce]);if(F)for(var ce of F(ae))le.call(ae,ce)&&ie(Z,ce,ae[ce]);return Z},ue=(Z,ae)=>C(Z,U(ae));const P=Z=>{const{width:ae}=(0,p.Z)(),ce=(0,W.Z)(),[be,pe]=(0,R.useState)(null),h=Boolean(be),te=ae>1280?d.n.range_med:d.n.range_responsive,Q=Z.defaultMonths?Z.defaultMonths:6,[we,Se]=(0,R.useState)(!!(Z!=null&&Z.showComparison)),[Ne,ze]=(0,R.useState)(B.Z1),[Je,qe]=(0,R.useState)([]),[Me,Fe]=(0,R.useState)(I.Z.getItem("date_comparison")||!1);let[Ue,he]=(0,R.useState)({startDate:"",endDate:""});const xe=new Date,q=new Date,me=new Date,[De,Te]=(0,R.useState)({startDate:new Date(xe.setMonth(xe.getMonth()-Q)),endDate:new Date}),[Oe,st]=(0,R.useState)(!0),[Ft,Qt]=(0,R.useState)(!1),[Vt,Gt]=(0,R.useState)({startDate:new Date(q.setMonth(q.getMonth()-Q-Q)),endDate:new Date(me.setMonth(me.getMonth()-Q))}),[Jt,Lr]=(0,R.useState)(!0),[Rr,Gr]=(0,R.useState)(!!(Z!=null&&Z.isMultipleRanges)),zr=(0,R.useRef)({});let[pr,vn]=(0,R.useState)({selection1:{startDate:new Date(xe.setMonth(xe.getMonth()-Q)),endDate:new Date,key:"selection1",label:Ne[0].label},selection2:{startDate:new Date(q.setMonth(q.getMonth()-Q-Q)),endDate:new Date(me.setMonth(me.getMonth()-Q)),key:"selection2"}});const[fn,Zt]=(0,R.useState)({selection1:{startDate:new Date(xe.setMonth(xe.getMonth()-Q)),endDate:new Date,key:"selection1"},selection2:{startDate:new Date(q.setMonth(q.getMonth()-Q-Q)),endDate:new Date(me.setMonth(me.getMonth()-Q)),key:"selection2"}}),[St,Wt]=(0,R.useState)(I.Z.getItem("timePeriod")||2),Nt=(0,X.TH)(),[dt,nr]=(0,R.useState)(!1),et=I.Z.getItem("dateRange"),[Tt,Rt]=(0,R.useState)((et==null?void 0:et.isAllQuarter)||!1),[or,ir]=(0,R.useState)();(0,R.useEffect)(()=>{et!=null&&et.selectedYear?ir(et==null?void 0:et.selectedYear):ir(new Date().getFullYear())},[]),(0,R.useEffect)(()=>{var Pr;Nt.search&&((Pr=Nt.search)!=null&&Pr.split("=")[0].includes("?bookmarkId"))&&nr(!0)},[]);function Qr(Pr,un){const Zn=Pr.getDay(),Jn=new Date(Pr),Dn=Zn>=un?Zn-un:6-Zn;return Jn.setDate(Pr.getDate()-Dn),Jn.setHours(0,0,0,0),Jn}function ft(Pr,un){const Zn=Pr.getDay(),Jn=new Date(Pr),Dn=Zn>=un?Zn-un:13-Zn;return Jn.setDate(Pr.getDate()-Dn),Jn.setHours(0,0,0,0),Jn}const tr=dt?{start_date:Z.start_date,end_date:Z.end_date}:Z.dontSaveInLS?{start_date:Z.start_date,end_date:Z.end_date}:I.Z.getItem("dateRange");function gr(Pr,un){const Zn=c()().quarter(Pr).year(un).startOf("quarter"),Jn=c()().quarter(Pr).year(un).endOf("quarter");return{startDate:Zn,endDate:Jn}}(0,R.useEffect)(()=>{const Pr={startOfToday:(0,re.default)(new Date),endOfToday:(0,se.default)(new Date)};Gr(Z.isMultipleRanges);const un=[...B.Z1];un.splice(0,2);const Zn=un.findIndex(lr=>lr.label==="This Week");un[Zn]={label:"This Week",range:()=>({startDate:(()=>Qr(new Date,0))(),endDate:new Date}),hasCustomRendering:!0,isSelected(lr){const Yr=this.range();return(0,S.default)(lr.startDate,Yr.startDate)&&(0,S.default)(lr.endDate,Yr.endDate)}};const Jn=un.findIndex(lr=>lr.label==="This Month");if(un[Jn]={label:"This Month",range:()=>({startDate:(()=>{const lr=new Date;return new Date(lr.getFullYear(),lr.getMonth(),1)})(),endDate:new Date}),hasCustomRendering:!0,isSelected(lr){const Yr=this.range();return(0,S.default)(lr.startDate,Yr.startDate)&&(0,S.default)(lr.endDate,Yr.endDate)}},un.push({label:`This Year (${c()().startOf("year").format("MMM,YYYY")} - ${c()(new Date).format("MMM,YYYY")})`,range:()=>({startDate:(0,J.default)(new Date),endDate:(0,se.default)(new Date)}),hasCustomRendering:!0,isSelected(lr){const Yr=this.range();return(0,S.default)(lr.startDate,Yr.startDate)&&(0,S.default)(lr.endDate,Yr.endDate)}}),un.push({label:`Last Year (${c()(c()().startOf("year")).subtract(12,"months").format("MMM,YYYY")} - ${c()([qt]).endOf("year").format("MMM,YYYY")})`,range:()=>({startDate:(0,J.default)((0,T.default)(new Date,-1)),endDate:(0,V.Z)((0,T.default)(new Date,-1))}),hasCustomRendering:!0,isSelected(lr){const Yr=this.range();return(0,S.default)(lr.startDate,Yr.startDate)&&(0,S.default)(lr.endDate,Yr.endDate)}}),un.push({label:`Last 365 Days (${c()(new Date).subtract(12,"months").format("MMM,YYYY")} - ${c()(new Date).format("MMM,YYYY")})`,range:()=>({startDate:(()=>{let lr=new Date,Yr=new Date(lr);return Yr.setDate(lr.getDate()-365),Yr})(),endDate:new Date}),hasCustomRendering:!0,isSelected(lr){const Yr=this.range();return(0,S.default)(lr.startDate,Yr.startDate)&&(0,S.default)(lr.endDate,Yr.endDate)}}),un.push({label:`Last 2 Years (${c()(new Date).subtract(24,"months").format("MMM,YYYY")} - ${c()(new Date).format("MMM,YYYY")})`,range:()=>({startDate:(()=>{let lr=new Date,Yr=new Date(lr);return Yr.setDate(lr.getDate()-730),Yr})(),endDate:new Date}),hasCustomRendering:!0,isSelected(lr){const Yr=this.range();return(0,S.default)(lr.startDate,Yr.startDate)&&(0,S.default)(lr.endDate,Yr.endDate)}}),Z.showQuatreOptions){const lr=c()().startOf("quarter"),Yr=c()().endOf("quarter");un.push({label:`Current Qtr. (${lr.format("MMM,YYYY")} - ${Yr.format("MMM,YYYY")})`,range:()=>({startDate:lr.toDate(),endDate:Yr.toDate()}),hasCustomRendering:!0,isSelected(_t){const Ct=this.range();return(0,S.default)(_t.startDate,Ct.startDate)&&(0,S.default)(_t.endDate,Ct.endDate)}});const Yn=c()().startOf("quarter").subtract(3,"months"),ti=c()().endOf("quarter").subtract(3,"months");un.push({label:`Prev Qtr. (${Yn.format("MMM,YYYY")} - ${ti.format("MMM,YYYY")})`,range:()=>({startDate:Yn.toDate(),endDate:ti.toDate()}),hasCustomRendering:!0,isSelected(_t){const Ct=this.range();return(0,S.default)(_t.startDate,Ct.startDate)&&(0,S.default)(_t.endDate,Ct.endDate)}});const Wi=c()().format("YYYY");un.push({label:"",uniqueKey:"all_qtr",range:()=>({startDate:c()(Wi,"YYYY").startOf("year").toDate(),endDate:c()(Wi,"YYYY").endOf("year").toDate()}),hasCustomRendering:!0,isSelected(_t){const Ct=this.range();return(0,S.default)(_t.startDate,Ct.startDate)&&(0,S.default)(_t.endDate,Ct.endDate)}})}ze([...un]);const Dn=dt?{start_date:Z.start_date,end_date:Z.end_date}:I.Z.getItem("dateRange"),qn=dt?{pre_start_date:Z.pre_start_date,pre_end_date:Z.pre_end_date}:I.Z.getItem("compdateRange");if(Dn!=null&&Dn.start_date?(pr.selection1={startDate:new Date(Dn.start_date),endDate:new Date(Dn.end_date),key:"selection1"},Te({startDate:new Date(Dn.start_date),endDate:new Date(Dn.end_date)})):Z.start_date&&Z.end_date?(pr.selection1={startDate:new Date(Z.start_date),endDate:new Date(Z.end_date),key:"selection1"},Te({startDate:new Date(Z.start_date),endDate:new Date(Z.end_date)})):(pr.selection1={startDate:new Date(xe.setMonth(xe.getMonth()-Q)),endDate:new Date,key:"selection1"},Te({startDate:new Date(xe.setMonth(xe.getMonth()-Q)),endDate:new Date})),qn!=null&&qn.pre_start_date){const lr=kt(Dn.start_date,Dn.end_date);pr.selection2={startDate:new Date((qn==null?void 0:qn.pre_start_date)||lr.startDate),endDate:new Date((qn==null?void 0:qn.pre_end_date)||lr.endDate),key:"selection2"},Gt({startDate:new Date((qn==null?void 0:qn.pre_start_date)||lr.startDate),endDate:new Date((qn==null?void 0:qn.pre_end_date)||lr.endDate)})}else Z.pre_start_date&&Z.pre_end_date?(pr.selection2={startDate:new Date(Z.pre_start_date),endDate:new Date(Z.pre_end_date),key:"selection2"},Gt({startDate:new Date(Z.pre_start_date),endDate:new Date(Z.pre_end_date)})):(pr.selection2={startDate:new Date(q.setMonth(q.getMonth()-Q-Q)),endDate:new Date(me.setMonth(me.getMonth()-Q)),key:"selection2"},Gt({startDate:new Date(q.setMonth(q.getMonth()-Q-Q)),endDate:new Date(me.setMonth(me.getMonth()-Q))})),zr.current=pr},[Z.start_date,Z.end_date]);const ar=()=>{if(Ft){Qt(!1),Lr(!0),pe(null),Rt((et==null?void 0:et.isAllQuarter)||!1),I.Z.setItem("date_comparison",Me),Fe(I.Z.getItem("date_comparison"));return}Fe(I.Z.getItem("date_comparison")),vn({selection1:ue(j({},De),{lable:Ne,key:"selection1"}),selection2:ue(j({},Vt),{key:"selection2"})}),Wt(I.Z.getItem("timePeriod")),pe(null)},rt=Pr=>{pe(Pr.currentTarget)};(0,R.useEffect)(()=>{Ft?ar():n.Fragment},[Ft]);const kt=(Pr,un)=>{const Zn=new Date(O.b.getDateInFormat(Pr)),Jn=new Date(O.b.getDateInFormat(un)),Dn=Math.abs(Jn-Zn),qn=Math.ceil(Dn/(1e3*60*60*24)),lr=c()(Pr).subtract(qn+1,"days").toDate(),Yr=c()(Pr).subtract(1,"days").toDate();return{startDate:lr,endDate:Yr,key:"selection2"}},At=(Pr,un)=>{const Zn=c()(Pr).subtract(12,"months").toDate(),Jn=c()(un).subtract(12,"months").toDate();return{startDate:Zn,endDate:Jn,key:"selection2"}};var qt=new Date(new Date().getFullYear()-1,0,1).getFullYear();const sr=(Pr=c()().startOf("year"))=>{const un=Math.abs(or-new Date().getFullYear()),Zn=un==0?12:24;var Jn=c()(Pr).subtract(Math.abs(Zn),"months").toDate(),Dn=c()([un==0?qt:qt-1]).endOf("year").toDate();return{startDate:Jn,endDate:Dn,key:"selection2"}},Kr=Pr=>{Lr(!1),Pr.target.value===1?vn({selection1:{startDate:pr.selection1.startDate,endDate:pr.selection1.endDate,key:"selection1"},selection2:kt(pr.selection1.startDate,pr.selection1.endDate)}):Pr.target.value===3?vn({selection1:{startDate:pr.selection1.startDate,endDate:pr.selection1.endDate,key:"selection1"},selection2:At(pr.selection1.startDate,pr.selection1.endDate)}):Pr.target.value===4&&vn({selection1:{startDate:pr.selection1.startDate,endDate:pr.selection1.endDate,key:"selection1"},selection2:sr()}),Wt(Pr.target.value)},[kr,nn]=(0,R.useState)(et!=null&&et.isAllQuarter?"rgb(230, 0, 255)":ce.palette.color),on=Pr=>{var un;let Zn;try{const Jn=(un=Pr==null?void 0:Pr.label)==null?void 0:un.split("(");return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{style:{display:"flex",flexDirection:"row",gap:"5px",padding:Z.showQuatreOptions?"10px 20px":"",alignItems:"center"},onClick:()=>{if(Pr.uniqueKey=="all_qtr"&&!Zn){nn("rgb(230, 0, 255)");let Dn=new Date().getFullYear()-or;const qn=new Date,lr=new Date(qn.getFullYear(),0,1);let Yr=new Date(lr);Yr.setFullYear(lr.getFullYear()-Dn);let Yn;Dn>0?Yn=new Date(new Date().getFullYear()-1,11,31):Yn=new Date(new Date().getFullYear(),11,31);let ti={startDate:Yr,endDate:Yn,key:"selection1"},Wi=j({},pr);Wi.selection1=ti,setTimeout(()=>{vn(Wi),Zt(Wi),Rt(!0)},0)}},children:Pr.uniqueKey=="all_qtr"?(0,n.jsxs)(n.Fragment,{children:[" ",(0,n.jsx)("div",{style:{color:kr},children:"All Qtr."}),(0,n.jsx)("div",{style:{width:"150px"},children:(0,n.jsx)(K.Z,{valueSelector:"value",itemList:[{name:"CY ("+new Date().getFullYear()+")",value:new Date().getFullYear()},{name:"PY ("+(new Date().getFullYear()-1)+")",value:new Date().getFullYear()-1}],label:"name",selectedValue:or,name:"Type",onChange:Dn=>{nn("rgb(230, 0, 255)");let qn=new Date().getFullYear()-Number(Dn.target.value);const lr=new Date,Yr=new Date(lr.getFullYear(),0,1);let Yn=new Date(Yr);Yn.setFullYear(Yr.getFullYear()-qn);let ti;qn>0?ti=new Date(new Date().getFullYear()-1,11,31):ti=new Date(new Date().getFullYear(),11,31);let Wi={startDate:Yn,endDate:ti,key:"selection1"},_t=j({},pr);_t.selection1=Wi,Zn=_t,setTimeout(()=>{vn(_t),st(!0),Zt(_t),Rt(!0)},0),ir(Number(Dn.target.value))}})})]}):(0,n.jsx)("div",{onClick:()=>{nn(ce.palette.color),Rt(!1),ir(new Date().getFullYear())},children:Pr.label})}),Z.showQuatreOptions?(0,n.jsx)("style",{children:`
			.rdrStaticRangeLabel:has(> div){
				padding: 0 !important;
			}
		`}):(0,n.jsx)(n.Fragment,{})]})}catch(Jn){alert(Jn)}},vr={fill:ce.palette.text.tertiary,width:"20px",height:"20px"},Dr=Pr=>{let un=new Date(Pr),Jn=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][un.getMonth()],Dn=un.getFullYear();return Jn+", "+Dn},_r=Pr=>{let un=new Date,Zn=new Date(un);const Jn=c()().startOf("quarter"),Dn=c()().endOf("quarter"),qn=c()().format("YYYY"),lr=c()().startOf("quarter").subtract(3,"months"),Yr=c()().endOf("quarter").subtract(3,"months");return Pr.startDate==O.b.getDateInFormat(Qr(new Date,0))&&Pr.endDate==O.b.getDateInFormat(new Date)?`(${O.b.getDateInFormat(Pr.startDate)} - ${O.b.getDateInFormat(Pr.endDate)})`:Pr.startDate==O.b.getDateInFormat(new Date(new Date().getFullYear(),new Date().getMonth(),1))&&Pr.endDate==O.b.getDateInFormat(new Date)?`(${O.b.getDateInFormat(Pr.startDate)} - ${O.b.getDateInFormat(Pr.endDate)})`:Pr.startDate==O.b.getDateInFormat((0,J.default)(new Date))&&Pr.endDate==O.b.getDateInFormat((0,se.default)(new Date))?`(${O.b.getDateInFormat(Pr.startDate)} - ${O.b.getDateInFormat(Pr.endDate)})`:Pr.startDate==O.b.getDateInFormat((0,J.default)((0,T.default)(new Date,-1)))&&Pr.endDate==O.b.getDateInFormat((0,V.Z)((0,T.default)(new Date,-1)))?`(${O.b.getDateInFormat(Pr.startDate)} - ${O.b.getDateInFormat(Pr.endDate)})`:Pr.startDate==O.b.getDateInFormat(new Date(un.getFullYear(),un.getMonth(),un.getDate()-365))&&Pr.endDate==O.b.getDateInFormat(new Date)?`(${O.b.getDateInFormat(Pr.startDate)} - ${O.b.getDateInFormat(Pr.endDate)})`:Pr.startDate==O.b.getDateInFormat(new Date(un.getFullYear(),un.getMonth(),un.getDate()-730))&&Pr.endDate==O.b.getDateInFormat(new Date)?` (${O.b.getDateInFormat(Pr.startDate)} - ${O.b.getDateInFormat(Pr.endDate)})`:Pr.startDate==O.b.getDateInFormat(Jn.toDate())&&Pr.endDate==O.b.getDateInFormat(Dn.toDate())?`(${O.b.getDateInFormat(Pr.startDate)} - ${O.b.getDateInFormat(Pr.endDate)})`:Pr.startDate==O.b.getDateInFormat(lr.toDate())&&Pr.endDate==O.b.getDateInFormat(Yr.toDate())?`(${O.b.getDateInFormat(Pr.startDate)} - ${O.b.getDateInFormat(Pr.endDate)})`:Pr.startDate==O.b.getDateInFormat(c()(qn,"YYYY").startOf("year").toDate())&&Pr.endDate==O.b.getDateInFormat(c()(qn,"YYYY").endOf("year").toDate())?`All Qtr (${O.b.getDateInFormat(Pr.startDate)} - ${O.b.getDateInFormat(Pr.endDate)})`:`${Pr.startDate+" - "+Pr.endDate}`};return(0,n.jsxs)("div",{className:"ReactDateTimePicker ReactDateTimePicker__large",style:ce.palette.reactFilterCalenderStyle,children:[(0,n.jsxs)(f.ZP,{container:!0,style:I.Z.getItem("date_comparison")&&Rr?{width:"16rem"}:{width:"fit-content"},className:"ReactDateTimePicker__displayLabel",onClick:rt,children:[(0,n.jsx)(f.ZP,{item:!0,xs:2,children:(0,n.jsx)(l.Z,{style:{height:"100%"},children:(0,n.jsx)(g.Z,j({},vr))})}),(0,n.jsxs)(f.ZP,{item:!0,xs:10,children:[(0,n.jsx)(u.Z,{sx:{fontSize:`${ce.typography.calenderFont.font} !important`},children:`${O.b.getDateInFormat(De.startDate,te)} - ${O.b.getDateInFormat(De.endDate,te)}`}),I.Z.getItem("date_comparison")&&Rr?(0,n.jsxs)(u.Z,{className:"ReactDateTimePicker__compareRange",sx:{fontSize:`${ce.typography.calenderFont.compareFont} !important`},children:["Compare to:",` ${O.b.getDateInFormat(Vt.startDate||pr.selection2.startDate,te)} - ${O.b.getDateInFormat(Vt.endDate||pr.selection2.endDate,te)}`]}):null]})]}),(0,n.jsxs)(m.Z,{id:"basic-menu",className:"ReactDateTimePicker__menu",anchorEl:be,open:h,onClose:ar,transformOrigin:{horizontal:"right",vertical:"top"},anchorOrigin:{horizontal:"right",vertical:"bottom"},classes:{root:"ReactDateTimePicker__paper"},children:[Z.showCustomComponent?(0,n.jsx)("div",{className:Z.showQuatreOptions?"ReactDateTimePicker__customComponentQuatre":"ReactDateTimePicker__customComponent ReactDateTimePicker__customComponent ",children:(0,n.jsx)(v.Z,{children:(0,n.jsx)(M.Z,{control:(0,n.jsx)(ee.Z,{checked:Me,onChange:Pr=>{Fe(Pr.target.checked),Lr(!1)},size:"small"}),label:"Compare % change"})})}):null,Rr?(0,n.jsxs)("div",{className:Z.showQuatreOptions?"ReactDateTimePicker__customComponentQuatre":"ReactDateTimePicker__customComponent ReactDateTimePicker__customComponent ",children:[(0,n.jsx)(v.Z,{children:(0,n.jsx)(M.Z,{control:(0,n.jsx)(ee.Z,{onChange:Pr=>{Lr(!1),Fe(!Me)},checked:Me,size:"small"}),label:"Compare With"})}),(0,n.jsx)("div",{hidden:!Me,style:{marginTop:"1rem",width:"150px"},children:(0,n.jsx)(K.Z,{valueSelector:"value",itemList:[{name:"Same Period Previous Year",value:3},{name:"Previous Period",value:1},{name:"Previous Year",value:4},{name:"Custom",value:2}],label:"name",selectedValue:St,name:"Type",labelName:"Select",onChange:Pr=>Kr(Pr)})})]}):null,(0,n.jsx)(B.Dw,{onChange:Pr=>{Tt==!0&&(Rt(!1),nn(ce.palette.color)),Pr!=null&&Pr.selection1&&O.b.checkIfDateBefore(Pr.selection1.startDate,new Date(Hr(Z.minLastYear?Z.minLastYear:2)))?(pr.selection1.startDate=new Date(Hr(Z.minLastYear?Z.minLastYear:2)),pr.selection1.endDate=new Date):Pr!=null&&Pr.selection1&&O.b.checkIfDateBefore(Pr.selection1.endDate,new Date(Hr(Z.minLastYear?Z.minLastYear:2)))?(pr.selection1.startDate=new Date(Hr(Z.minLastYear?Z.minLastYear:2)),pr.selection1.endDate=new Date):Pr!=null&&Pr.selection2&&O.b.checkIfDateBefore(Pr.selection2.startDate,new Date(Hr(Z.minLastYear?Z.minLastYear:2)))?(pr.selection2.startDate=new Date(Hr(Z.minLastYear?Z.minLastYear:2)),pr.selection2.endDate=new Date):Pr!=null&&Pr.selection2&&O.b.checkIfDateBefore(Pr.selection2.startDate,new Date(Hr(Z.minLastYear?Z.minLastYear:2)))?(pr.selection2.startDate=new Date(Hr(Z.minLastYear?Z.minLastYear:2)),pr.selection2.endDate=new Date):pr=j(j({},pr),Pr),Lr(!1),vn(j({},pr)),Wt(2)},editableDateInputs:!0,maxDate:new Date,minDate:new Date(Hr(Z.minLastYear?Z.minLastYear:3)),moveRangeOnFirstSelection:!1,months:Rr?2:1,renderStaticRangeLabel:on,direction:"horizontal",rangeColors:[ce.palette.text.fourth,ce.palette.text.tertiary],staticRanges:Ne,startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",ranges:Me==!0&&(Z!=null&&Z.showComparison)?[pr.selection1,pr.selection2]:[pr.selection1],inputRanges:Je,className:ce.palette.mode==="dark"?"ReactFilterDateRangePickerDark":"ReactFilterDateRangePicker"}),(0,n.jsx)("div",{children:(0,n.jsxs)("div",{className:"ReactDateTimePicker__button",children:[(0,n.jsx)(E.Z,{btnText:"Cancel",type:"button",variant:"outlined",onClick:ar}),(0,n.jsx)(E.Z,{btnText:"Apply",type:"button",disable:Jt,onClick:Pr=>{var un;Ue={startDate:O.b.getDateInFormat(pr.selection1.startDate),endDate:O.b.getDateInFormat(pr.selection1.endDate)},he(Ue);let Zn=_r(Ue);I.Z.setItem("dateRangeLabel",Zn),Qt(!0),I.Z.setItem("date_comparison",Me),Z.showComparison&&(Z==null||Z.onCompareChange(Pr)),Z.showCustomComponent&&(Z==null||Z.onCompareChange(Pr)),Rr?Z==null||Z.onChange(pr,Tt):Z==null||Z.onChange({startDate:O.b.getDateInFormat(pr.selection1.startDate),endDate:O.b.getDateInFormat(pr.selection1.endDate)},Tt),Nt.search&&((un=Nt.search)!=null&&un.split("=")[0].includes("?bookmarkId"))||(I.Z.setItem("dateRange",{start_date:pr.selection1.startDate,end_date:pr.selection1.endDate,isAllQuarter:Tt,selectedYear:or}),Z!=null&&Z.showQuatreOptions&&Z.isShowQuarter(Tt),Rr&&I.Z.setItem("compdateRange",{pre_start_date:pr.selection2.startDate,pre_end_date:pr.selection2.endDate})),Rr&&(Gt(j({},pr.selection2)),I.Z.setItem("timePeriod",St)),Te(j({},pr.selection1)),Lr(!0)}})]})})]})]});function Hr(Pr,un=new Date){return un.setFullYear(un.getFullYear()-Pr),un}};$.Z=P},5729:function(_e,$,t){"use strict";var n=t(67557),f=t(72977),l=t(39849),u=t(82525),m=t(25),v=t(98463),M=t(38894),ee=t(53965),W=t(29480),re=t(66005),se=t(89526),S=t(60666),J=t(31315),T=t.n(J),V=t(77290),L=t(86151),c=Object.defineProperty,R=Object.getOwnPropertySymbols,B=Object.prototype.hasOwnProperty,X=Object.prototype.propertyIsEnumerable,g=(E,K,d)=>K in E?c(E,K,{enumerable:!0,configurable:!0,writable:!0,value:d}):E[K]=d,p=(E,K)=>{for(var d in K||(K={}))B.call(K,d)&&g(E,d,K[d]);if(R)for(var d of R(K))X.call(K,d)&&g(E,d,K[d]);return E};function O(E){return(0,n.jsx)(T(),{handle:"#draggable-dialog-title",cancel:'[class*="MuiDialogContent-root"]',children:(0,n.jsx)(V.Z,p({},E))})}const I=(0,se.forwardRef)((E,K)=>{const d=(0,re.Z)(),[i,x]=(0,se.useState)(!1);return(0,se.useImperativeHandle)(K,()=>({handleClickOpen:()=>{x(!0)},handleClose:()=>{x(!1)}})),(0,n.jsx)("div",{className:"Dialog",children:(0,n.jsxs)(m.Z,{open:i,PaperComponent:O,onClose:E.onDiscard,"aria-labelledby":"draggable-dialog-title","aria-describedby":"alert-dialog-description",maxWidth:E.maxWidth,sx:E.sx,classes:{paper:`${E.dialogRootClass?E.dialogRootClass:"Dialog__root"}`},children:[(0,n.jsxs)(W.Z,{style:E.page?{cursor:"move",fontSize:"22px"}:{},id:"draggable-dialog-title",classes:{root:`${E.page?"Dialog__titleRoot2":E.dialogTitleRootClass?E.dialogTitleRootClass:"Dialog__titleRoot"}`},children:[E.title,(0,n.jsx)("br",{}),E.subHeadingTitle?E.subHeadingTitle:"",E.deleteAccountTitle?E.deleteAccountTitle:"",E.hideCloseButton?"":(0,n.jsx)(u.Z,{className:"Dialog__closeBtn",onClick:()=>{x(!1),E.onDiscard&&E.onDiscard()},children:(0,n.jsx)(f.Z,{htmlColor:d.palette.text.primary})})]}),(0,n.jsxs)(M.Z,{classes:{root:E.page?"Dialog__dialogContentRoot2":"Dialog__dialogContentRoot"},children:[E.customHTMLContent?E.customHTMLContent():null,E.description?(0,n.jsx)(ee.Z,{id:"alert-dialog-description",style:{textAlign:"center",fontSize:"1.1rem",color:d.palette.text.primary},children:E.description}):""]}),(0,n.jsx)(v.Z,{style:E.confirm?{}:{padding:"0rem",height:"0px"},children:(0,n.jsxs)("div",{className:"Dialog__buttonGroup",children:[E.showBackButton?(0,n.jsx)("div",{className:"Dialog__backButton",onClick:()=>E.onBackClick(),children:(0,n.jsx)(l.Z,{color:"primary"})}):null,E.confirm?(0,n.jsx)(S.Z,{type:"button",disable:!!E.disableConfirmButton,color:E.color?E.color:"primary",btnText:E.confirm,onClick:()=>{E.onConfirm()}}):null,E.discard?(0,n.jsx)(S.Z,{type:"button",disable:E.isButtonDisabled,btnText:E.discard,onClick:E.onDiscard,color:"secondary",variant:"outlined"}):null]})})]})})});$.Z=I},78134:function(_e,$,t){"use strict";t.d($,{Z:function(){return T}});var n=t(67557),f=t(39933),l=t(90897),u=t(19855),m=t(42489),v=t(10870),M=t(50882),ee=t(87674),W=t(60090),re=t(66005),se={};const S=(0,W.Z)(V=>({formControl:{margin:V.spacing(1),minWidth:120},inputLabelRoot:{color:V.palette.mode=="dark"?"rgba(255, 255, 255,0.3)":"rgba(0, 0, 0, 0.38)"}}));var T=V=>{const L=(0,re.Z)(),c=X=>{if(!V.onChange)return!1;V.onChange(X)},R=X=>(X==null?void 0:X.length)>0&&X.map((g,p)=>(0,n.jsx)(l.Z,{className:"dropdown__menu",value:g[V.valueSelector]!==void 0?g[V.valueSelector]:g,id:g[V.label]!==void 0?g[V.label]:g,disabled:g.disableOption,children:(0,n.jsx)(u.Z,{variant:"h6",component:"div",className:"dropdown__textExceed",children:g[V.label]||g})},g[V.label]+p||g+p)),B=S();return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:L.palette.mode==="dark"?"dropdownDark":"dropdown",children:[(0,n.jsxs)(m.Z,{variant:"outlined",fullWidth:!0,error:V.error,size:"small",children:[(0,n.jsx)(v.Z,{classes:V.type?{root:B.inputLabelRoot}:L.palette.text.primary,variant:"outlined",id:"demo-controlled-open-select-label",children:V.labelName||""}),(0,n.jsx)(M.Z,{label:V.labelName||"",ref:V.ref,className:V.className,IconComponent:V.removeArrow?void 0:f.Z,labelId:V.labelId||"demo-controlled-open-select-label",fullWidth:!0,defaultValue:V.defaultValue,required:V.required?V.required:!1,name:V.name?V.name:"demo-simple-select",id:V.id?V.id:"demo-simple-select",variant:V.variant?V.variant:"outlined",value:V.selectedValue,onChange:c,onBlur:V.onBlur?V.onBlur:null,disabled:V.disabled?V.disabled:!1,autoWidth:V.autoWidth?V.autoWidth:!1,placeholder:V.placeholder,renderValue:V.renderValue?V.renderValue:null,MenuProps:{classes:{paper:V.paperClass||"dropdown__menu__paper"}},children:R(V.itemList)})]}),V.error?(0,n.jsx)(ee.Z,{style:{marginLeft:"0.5rem",marginTop:"0rem",color:"red"},children:V.errorMessage?V.errorMessage:"Required"}):null]})})}},58146:function(_e,$,t){"use strict";t.d($,{Z:function(){return ae}});var n=t(67557),f=t(66005),l=t(89526),u=Object.defineProperty,m=Object.defineProperties,v=Object.getOwnPropertyDescriptors,M=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable,re=(ce,be,pe)=>be in ce?u(ce,be,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ce[be]=pe,se=(ce,be)=>{for(var pe in be||(be={}))ee.call(be,pe)&&re(ce,pe,be[pe]);if(M)for(var pe of M(be))W.call(be,pe)&&re(ce,pe,be[pe]);return ce},S=(ce,be)=>m(ce,v(be));function J(ce,{insertAt:be}={}){if(!ce||typeof document>"u")return;let pe=document.head||document.getElementsByTagName("head")[0],h=document.createElement("style");h.type="text/css",be==="top"&&pe.firstChild?pe.insertBefore(h,pe.firstChild):pe.appendChild(h),h.styleSheet?h.styleSheet.cssText=ce:h.appendChild(document.createTextNode(ce))}J(`.rmsc{--rmsc-main: #4285f4;--rmsc-hover: #f1f3f5;--rmsc-selected: #e2e6ea;--rmsc-border: #ccc;--rmsc-gray: #aaa;--rmsc-bg: #fff;--rmsc-p: 10px;--rmsc-radius: 4px;--rmsc-h: 38px}.rmsc *{box-sizing:border-box;transition:all .2s ease}.rmsc .gray{color:var(--rmsc-gray)}.rmsc .dropdown-content{position:absolute;z-index:1;top:100%;width:100%;padding-top:8px}.rmsc .dropdown-content .panel-content{overflow:hidden;border-radius:var(--rmsc-radius);background:var(--rmsc-bg);box-shadow:0 0 0 1px #0000001a,0 4px 11px #0000001a}.rmsc .dropdown-container{position:relative;outline:0;background-color:var(--rmsc-bg);border:1px solid var(--rmsc-border);border-radius:var(--rmsc-radius)}.rmsc .dropdown-container[aria-disabled=true]:focus-within{box-shadow:var(--rmsc-gray) 0 0 0 1px;border-color:var(--rmsc-gray)}.rmsc .dropdown-container:focus-within{box-shadow:var(--rmsc-main) 0 0 0 1px;border-color:var(--rmsc-main)}.rmsc .dropdown-heading{position:relative;padding:0 var(--rmsc-p);display:flex;align-items:center;width:100%;height:var(--rmsc-h);cursor:default;outline:0}.rmsc .dropdown-heading .dropdown-heading-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.rmsc .clear-selected-button{cursor:pointer;background:none;border:0;padding:0;display:flex}.rmsc .options{max-height:260px;overflow-y:auto;margin:0;padding-left:0}.rmsc .options li{list-style:none;margin:0}.rmsc .select-item{box-sizing:border-box;cursor:pointer;display:block;padding:var(--rmsc-p);outline:0}.rmsc .select-item:hover,.rmsc .select-item:focus{background:var(--rmsc-hover)}.rmsc .select-item.selected{background:var(--rmsc-selected)}.rmsc .no-options{padding:var(--rmsc-p);text-align:center;color:var(--rmsc-gray)}.rmsc .search{width:100%;position:relative;border-bottom:1px solid var(--rmsc-border)}.rmsc .search input{background:none;height:var(--rmsc-h);padding:0 var(--rmsc-p);width:100%;outline:0;border:0}.rmsc .search-clear-button{cursor:pointer;position:absolute;top:0;right:0;bottom:0;background:none;border:0;padding:0 calc(var(--rmsc-p) / 2)}.rmsc .search-clear-button [hidden]{display:none}.rmsc .item-renderer{display:flex;align-items:baseline}.rmsc .item-renderer input{margin:0 5px 0 0}.rmsc .item-renderer.disabled{opacity:.5}.rmsc .spinner{animation:rotate 2s linear infinite}.rmsc .spinner .path{stroke:var(--rmsc-border);stroke-width:4px;stroke-linecap:round;animation:dash 1.5s ease-in-out infinite}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}
`);var T={allItemsAreSelected:"All items are selected.",clearSearch:"Clear Search",clearSelected:"Clear Selected",noOptions:"No options",search:"Search",selectAll:"Select All",selectAllFiltered:"Select All (Filtered)",selectSomeItems:"Select...",create:"Create"},V={value:[],hasSelectAll:!0,className:"multi-select",debounceDuration:200,options:[]},L=l.createContext({}),c=({props:ce,children:be})=>{let[pe,h]=(0,l.useState)(ce.options),te=Q=>{var we;return((we=ce.overrideStrings)==null?void 0:we[Q])||T[Q]};return(0,l.useEffect)(()=>{h(ce.options)},[ce.options]),l.createElement(L.Provider,{value:S(se(se({t:te},V),ce),{options:pe,setOptions:h})},be)},R=()=>l.useContext(L);function B(ce,be){let pe=(0,l.useRef)(!1);(0,l.useEffect)(()=>{pe.current?ce():pe.current=!0},be)}var X={when:!0,eventTypes:["keydown"]};function g(ce,be,pe){let h=(0,l.useMemo)(()=>Array.isArray(ce)?ce:[ce],[ce]),te=Object.assign({},X,pe),{when:Q,eventTypes:we}=te,Se=(0,l.useRef)(be),{target:Ne}=te;(0,l.useEffect)(()=>{Se.current=be});let ze=(0,l.useCallback)(Je=>{h.some(qe=>Je.key===qe||Je.code===qe)&&Se.current(Je)},[h]);(0,l.useEffect)(()=>{if(Q&&typeof window<"u"){let Je=Ne?Ne.current:window;return we.forEach(qe=>{Je&&Je.addEventListener(qe,ze)}),()=>{we.forEach(qe=>{Je&&Je.removeEventListener(qe,ze)})}}},[Q,we,h,Ne,be])}var p={ARROW_DOWN:"ArrowDown",ARROW_UP:"ArrowUp",ENTER:"Enter",ESCAPE:"Escape",SPACE:"Space"},O=(ce,be)=>{let pe;return function(...h){clearTimeout(pe),pe=setTimeout(()=>{ce.apply(null,h)},be)}};function I(ce,be){return be?ce.filter(({label:pe,value:h})=>pe!=null&&h!=null&&pe.toLowerCase().includes(be.toLowerCase())):ce}var E=()=>l.createElement("svg",{width:"24",height:"24",fill:"none",stroke:"currentColor",strokeWidth:"2",className:"dropdown-search-clear-icon gray"},l.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),l.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),K=({checked:ce,option:be,onClick:pe,disabled:h})=>l.createElement("div",{className:`item-renderer ${h&&"disabled"}`},l.createElement("input",{type:"checkbox",onChange:pe,checked:ce,tabIndex:-1,disabled:h}),l.createElement("span",null,be.label)),d=K,i=({itemRenderer:ce=d,option:be,checked:pe,tabIndex:h,disabled:te,onSelectionChanged:Q,onClick:we})=>{let Se=(0,l.useRef)(),Ne=qe=>{ze(),qe.preventDefault()},ze=()=>{te||Q(!pe)},Je=qe=>{ze(),we(qe)};return g([p.ENTER,p.SPACE],Ne,{target:Se}),l.createElement("label",{className:`select-item ${pe&&"selected"}`,role:"option","aria-selected":pe,tabIndex:h,ref:Se},l.createElement(ce,{option:be,checked:pe,onClick:Je,disabled:te}))},x=i,A=({options:ce,onClick:be,skipIndex:pe})=>{let{disabled:h,value:te,onChange:Q,ItemRenderer:we}=R(),Se=(Ne,ze)=>{h||Q(ze?[...te,Ne]:te.filter(Je=>Je.value!==Ne.value))};return l.createElement(l.Fragment,null,ce.map((Ne,ze)=>{let Je=ze+pe;return l.createElement("li",{key:(Ne==null?void 0:Ne.key)||ze},l.createElement(x,{tabIndex:Je,option:Ne,onSelectionChanged:qe=>Se(Ne,qe),checked:!!te.find(qe=>qe.value===Ne.value),onClick:qe=>be(qe,Je),itemRenderer:we,disabled:Ne.disabled||h}))}))},w=A,C=()=>{let{t:ce,onChange:be,options:pe,setOptions:h,value:te,filterOptions:Q,ItemRenderer:we,disabled:Se,disableSearch:Ne,hasSelectAll:ze,ClearIcon:Je,debounceDuration:qe,isCreatable:Me,onCreateOption:Fe}=R(),Ue=(0,l.useRef)(),he=(0,l.useRef)(),[xe,q]=(0,l.useState)(""),[me,De]=(0,l.useState)(pe),[Te,Oe]=(0,l.useState)(""),[st,Ft]=(0,l.useState)(0),Qt=(0,l.useCallback)(O(dt=>Oe(dt),qe),[]),Vt=(0,l.useMemo)(()=>{let dt=0;return Ne||(dt+=1),ze&&(dt+=1),dt},[Ne,ze]),Gt={label:ce(xe?"selectAllFiltered":"selectAll"),value:""},Jt=dt=>{let nr=me.filter(et=>!et.disabled).map(et=>et.value);if(dt){let et=[...te.map(Tt=>Tt.value),...nr];return(Q?me:pe).filter(Tt=>et.includes(Tt.value))}return te.filter(et=>!nr.includes(et.value))},Lr=dt=>{let nr=Jt(dt);be(nr)},Rr=dt=>{Qt(dt.target.value),q(dt.target.value),Ft(0)},Gr=()=>{var dt;Oe(""),q(""),(dt=he==null?void 0:he.current)==null||dt.focus()},zr=dt=>Ft(dt),pr=dt=>{switch(dt.code){case p.ARROW_UP:St(-1);break;case p.ARROW_DOWN:St(1);break;default:return}dt.stopPropagation(),dt.preventDefault()};g([p.ARROW_DOWN,p.ARROW_UP],pr,{target:Ue});let vn=()=>{Ft(0)},fn=()=>Zu(this,null,function*(){let dt={label:xe,value:xe,__isNew__:!0};Fe&&(dt=yield Fe(xe)),h([dt,...pe]),Gr(),be([...te,dt])}),Zt=()=>Zu(this,null,function*(){return Q?yield Q(pe,Te):I(pe,Te)}),St=dt=>{let nr=st+dt;nr=Math.max(0,nr),nr=Math.min(nr,pe.length+Math.max(Vt-1,0)),Ft(nr)};(0,l.useEffect)(()=>{var dt,nr;(nr=(dt=Ue==null?void 0:Ue.current)==null?void 0:dt.querySelector(`[tabIndex='${st}']`))==null||nr.focus()},[st]);let[Wt,Nt]=(0,l.useMemo)(()=>{let dt=me.filter(nr=>!nr.disabled);return[dt.every(nr=>te.findIndex(et=>et.value===nr.value)!==-1),dt.length!==0]},[me,te]);return(0,l.useEffect)(()=>{Zt().then(De)},[Te,pe]),l.createElement("div",{className:"select-panel",role:"listbox",ref:Ue},!Ne&&l.createElement("div",{className:"search"},l.createElement("input",{placeholder:ce("search"),type:"text","aria-describedby":ce("search"),onChange:Rr,onFocus:vn,value:xe,ref:he,tabIndex:0}),l.createElement("button",{type:"button",className:"search-clear-button",hidden:!xe,onClick:Gr,"aria-label":ce("clearSearch")},Je||l.createElement(E,null))),l.createElement("ul",{className:"options"},ze&&Nt&&l.createElement(x,{tabIndex:Vt===1?0:1,checked:Wt,option:Gt,onSelectionChanged:Lr,onClick:()=>zr(1),itemRenderer:we,disabled:Se}),me.length?l.createElement(w,{skipIndex:Vt,options:me,onClick:(dt,nr)=>zr(nr)}):Me?l.createElement("li",{onClick:fn,className:"select-item creatable"},`${ce("create")} "${xe}"`):l.createElement("li",{className:"no-options"},ce("noOptions"))))},U=C,F=({expanded:ce})=>l.createElement("svg",{width:"24",height:"24",fill:"none",stroke:"currentColor",strokeWidth:"2",className:"dropdown-heading-dropdown-arrow gray"},l.createElement("path",{d:ce?"M18 15 12 9 6 15":"M6 9L12 15 18 9"})),Y=()=>{let{t:ce,value:be,options:pe,valueRenderer:h}=R(),te=be.length===0,Q=be.length===pe.length,we=h&&h(be,pe);return te?l.createElement("span",{className:"gray"},we||ce("selectSomeItems")):l.createElement("span",null,we||(Q?ce("allItemsAreSelected"):(()=>be.map(Se=>Se.label).join(", "))()))},le=({size:ce=24})=>l.createElement("span",{style:{width:ce,marginRight:"0.2rem"}},l.createElement("svg",{width:ce,height:ce,className:"spinner",viewBox:"0 0 50 50",style:{display:"inline",verticalAlign:"middle"}},l.createElement("circle",{cx:"25",cy:"25",r:"20",fill:"none",className:"path"}))),ie=()=>{let{t:ce,onMenuToggle:be,ArrowRenderer:pe,shouldToggleOnHover:h,isLoading:te,disabled:Q,onChange:we,labelledBy:Se,value:Ne,isOpen:ze,defaultIsOpen:Je,ClearSelectedIcon:qe,closeOnChangedValue:Me}=R();(0,l.useEffect)(()=>{Me&&xe(!1)},[Ne]);let[Fe,Ue]=(0,l.useState)(!0),[he,xe]=(0,l.useState)(Je),[q,me]=(0,l.useState)(!1),De=pe||F,Te=(0,l.useRef)();B(()=>{be&&be(he)},[he]),(0,l.useEffect)(()=>{Je===void 0&&typeof ze=="boolean"&&(Ue(!1),xe(ze))},[ze]);let Oe=Rr=>{var Gr;["text","button"].includes(Rr.target.type)&&[p.SPACE,p.ENTER].includes(Rr.code)||(Fe&&(Rr.code===p.ESCAPE?(xe(!1),(Gr=Te==null?void 0:Te.current)==null||Gr.focus()):xe(!0)),Rr.preventDefault())};g([p.ENTER,p.ARROW_DOWN,p.SPACE,p.ESCAPE],Oe,{target:Te});let st=Rr=>{Fe&&h&&xe(Rr)},Ft=()=>!q&&me(!0),Qt=Rr=>{!Rr.currentTarget.contains(Rr.relatedTarget)&&Fe&&(me(!1),xe(!1))},Vt=()=>st(!0),Gt=()=>st(!1),Jt=()=>{Fe&&xe(te||Q?!1:!he)},Lr=Rr=>{Rr.stopPropagation(),we([]),Fe&&xe(!1)};return l.createElement("div",{tabIndex:0,className:"dropdown-container","aria-labelledby":Se,"aria-expanded":he,"aria-readonly":!0,"aria-disabled":Q,ref:Te,onFocus:Ft,onBlur:Qt,onMouseEnter:Vt,onMouseLeave:Gt},l.createElement("div",{className:"dropdown-heading",onClick:Jt},l.createElement("div",{className:"dropdown-heading-value"},l.createElement(Y,null)),te&&l.createElement(le,null),Ne.length>0&&qe!==null&&l.createElement("button",{type:"button",className:"clear-selected-button",onClick:Lr,disabled:Q,"aria-label":ce("clearSelected")},qe||l.createElement(E,null)),l.createElement(De,{expanded:he})),he&&l.createElement("div",{className:"dropdown-content"},l.createElement("div",{className:"panel-content"},l.createElement(U,null))))},j=ie,ue=ce=>l.createElement(c,{props:ce},l.createElement("div",{className:`rmsc ${ce.className||"multi-select"}`},l.createElement(j,null))),P=ue,Z={};function ae(ce){const be=(0,f.Z)(),[pe,h]=(0,l.useState)([]);return(0,l.useEffect)(()=>{var te,Q;let we;ce.mapping?we=(te=ce==null?void 0:ce.itemList)==null?void 0:te.map(Se=>({label:Se[ce.uniqueLabel||"label"],value:Se[ce.uniqueId||"value"],disabled:Se.disabled?Se.disabled:!1,is_suggested:Se.is_suggested||!1})):we=(Q=ce==null?void 0:ce.itemList)==null?void 0:Q.map(Se=>({label:Se[ce.uniqueLabel||"label"],value:Se[ce.uniqueId||"value"]})),h(we)},[ce.itemList]),(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(P,{labelledBy:(ce==null?void 0:ce.labelName)||"multi-select-dropdownasd",options:pe||(ce==null?void 0:ce.itemList),disableSearch:ce!=null&&ce.search?ce.search:!1,disabled:ce.disabled||!1,value:ce.selected||[],onChange:te=>{var Q;let we=[];((Q=ce==null?void 0:ce.selected)==null?void 0:Q.length)>(te==null?void 0:te.length)&&(we=ce.selected.filter(Ne=>!te.some(ze=>ze.label===Ne.label&&ze.value===Ne.value))),ce!=null&&ce.onChange&&ce.onChange(te,we||[])},onMenuToggle:ce==null?void 0:ce.onMenuToggle,isLoading:ce.loading,ItemRenderer:ce.ItemRenderer,valueRenderer:ce.valueRenderer||null,hasSelectAll:!!(ce!=null&&ce.hasSelectAll),overrideStrings:{clearSearch:"Clear Fields",search:"Search",selectAll:ce.selectAllText||"Select All Accounts",allItemsAreSelected:ce.allSelectedPlaceholder||"All Accounts are selected",selectSomeItems:ce.placeholderText||"Select"},closeOnChangedValue:ce.closeOnChangedValue||!1,className:be.palette.mode==="dark"?`multi-select-dark ${ce.className||""}`:`multi-select ${ce.className||""}`})})}},94030:function(_e,$){"use strict";const t={getCampaignTableData(n){return{url:"paidcampaigntracker/fetchCampaignPerformance",data:n.request,headers:n.headers}},getCampaignList(n){return{url:"paidcampaigntracker/campaignSearch",data:n.request,headers:n.headers}},postPdfColumns(n){return{url:"paidcampaigntracker/updatePdfFilters",data:n.request,headers:n.headers}},getPdfColumns(n){return{url:"paidcampaigntracker/getPdfFilters",data:n.request,headers:n.headers}},getCSV(n){return{url:"sharedfeature/export_file",data:n,headers:n.headers}}};$.Z=t},21603:function(_e,$,t){"use strict";t.d($,{Z:function(){return g}});var n=t(67557),f=t(50871),l=t(42221),u=t(37240),m=t(82525),v=t(89526),M=t(78134),ee=t(47486),W=t(90769),se=p=>(0,n.jsx)("div",{style:{paddingTop:p.newFilter?"0.2rem":""},children:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:p.newFilter?"1.5rem":"20.453",height:p.newFilter?"1.5rem":"27.65",viewBox:"0 0 20.453 27.65",children:(0,n.jsxs)("g",{id:"Group_3223","data-name":"Group 3223",transform:"translate(0 0)",children:[(0,n.jsx)("path",{id:"Path_1279","data-name":"Path 1279",d:"M290.037,265.492a.983.983,0,0,0,.983-.983v-6.1a.983.983,0,0,0-1.967,0v6.1A.983.983,0,0,0,290.037,265.492Z",transform:"translate(-282.17 -244.841)",fill:p.newFilter?"red":p.fill||"#9149ff"}),(0,n.jsx)("path",{id:"Path_1280","data-name":"Path 1280",d:"M372.487,265.492a.983.983,0,0,0,.983-.983v-6.1a.983.983,0,1,0-1.967,0v6.1A.983.983,0,0,0,372.487,265.492Z",transform:"translate(-360.097 -244.841)",fill:p.newFilter?"red":p.fill||"#9149ff"}),(0,n.jsx)("path",{id:"Path_1281","data-name":"Path 1281",d:"M188.625,148.757V131.29H168.73v17.466a4.517,4.517,0,0,0,4.517,4.517h10.861a4.516,4.516,0,0,0,4.517-4.517Zm-1.966,0a2.553,2.553,0,0,1-2.55,2.55H173.247a2.553,2.553,0,0,1-2.55-2.55v-15.5h15.962v15.5Z",transform:"translate(-168.447 -125.623)",fill:p.newFilter?"red":p.fill||"#9149ff"}),(0,n.jsx)("path",{id:"Path_1282","data-name":"Path 1282",d:"M164.564,31.539H183.05a.983.983,0,0,0,0-1.967h-5.511A.979.979,0,0,0,176.757,28h-5.9a.983.983,0,0,0-.983.983.973.973,0,0,0,.2.59h-5.511a.983.983,0,0,0,0,1.967Z",transform:"translate(-163.58 -27.998)",fill:p.newFilter?"red":p.fill||"#9149ff"})]})})}),S=t(17773),J=t(37598),T=Object.defineProperty,V=Object.getOwnPropertySymbols,L=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,R=(p,O,I)=>O in p?T(p,O,{enumerable:!0,configurable:!0,writable:!0,value:I}):p[O]=I,B=(p,O)=>{for(var I in O||(O={}))L.call(O,I)&&R(p,I,O[I]);if(V)for(var I of V(O))c.call(O,I)&&R(p,I,O[I]);return p},g=p=>{const O=(0,W.u)(),[I,E]=(0,v.useState)(!1),[K,d]=(0,v.useState)(p!=null&&p.customParameterList?[{type:"",parameter:"",operator:"",value:"",relational_operator:""}]:[{parameter:"",operator:"",value:"",relational_operator:""}]),[i,x]=(0,v.useState)({name:"",index:-1});(0,v.useEffect)(()=>{var Y,le,ie;(Y=p==null?void 0:p.selectedConditions)!=null&&Y.length&&(((le=p.selectedConditions)==null?void 0:le.length)>0&&K!==p.selectedConditions&&d([...p.selectedConditions]),(ie=p==null?void 0:p.selectedConditions)==null||ie.map(j=>{j.parameter==="campaign_type"?E(!0):E(!1)}))},[p==null?void 0:p.selectedConditions]),(0,v.useEffect)(()=>{p.dimensionError!==-1&&x({name:"",index:p.dimensionError})},[p.dimensionError]);const A=()=>{p.onConditionUpdated(K)},w=(Y,le)=>{var ie;K[le].parameter?K[le].operator?(ie=K[le].value)!=null&&ie.trim()?(K[le].relational_operator=Y.target.innerText,le===K.length-1&&(p!=null&&p.customParameterList?K.push({type:"",parameter:"",value:"",operator:"",relational_operator:""}):K.push({parameter:"",value:"",operator:"",relational_operator:""})),d([...K]),console.log(K,"selectedDimensions in else block -----------"),E(!1),A()):x({name:"value",index:le}):x({name:"operator",index:le}):x({name:"parameter",index:le})},C=Y=>{Y===K.length-1&&(K[Y-1].relational_operator=""),K.splice(Y,1),d([...K]),A()},U={fill:O.palette.text.tertiary,width:"20px",height:"20px",newFilter:!!(p!=null&&p.deleteIconColor)},F=Y=>{if(Y==1)return"AND";if(Y==2)return"OR"};return(0,n.jsx)("div",{className:"filterModal__conditions",children:K.map((Y,le)=>{var ie,j,ue;return(0,n.jsxs)(f.ZP,{container:!0,xs:12,justifyContent:"space-between",mb:2,children:[p!=null&&p.customParameterList?(0,n.jsx)(f.ZP,{item:!0,xs:2,children:(0,n.jsx)(M.Z,{valueSelector:"value",itemList:[{name:"Include",value:1},{name:"Exclude",value:0}],label:"name",defaultValue:Y.type,name:"Type",labelName:"Type",onChange:P=>{K[le].type=P.target.value,i.index===le&&d([...K]),A()},error:!Y.type&&i.index===le})}):(0,n.jsx)(n.Fragment,{}),(0,n.jsx)(f.ZP,{item:!0,xs:p!=null&&p.addButton?3.5:3,className:"filterModal__conditions__item",style:{maxWidth:p!=null&&p.customParameterList?"20%":"",paddingLeft:p!=null&&p.customParameterList?"0.5rem":""},children:(0,n.jsx)(M.Z,{itemList:p.parameterList,label:"name",valueSelector:"value",name:"parameter",onChange:P=>{K[le].parameter=P.target.value,P.target.value==="campaign_type"?E(!0):(E(!1),K[le].value=""),i.index===le&&d([...K]),A()},defaultValue:Y.parameter,labelName:"Parameter",error:!Y.parameter&&i.index===le})}),(0,n.jsx)(f.ZP,{item:!0,xs:p!=null&&p.addButton?3.5:3,className:"filterModal__conditions__item",style:{maxWidth:p!=null&&p.customParameterList?"20%":""},children:(0,n.jsx)(M.Z,{valueSelector:"value",itemList:p.operatorList,label:"name",name:"operator",onChange:P=>{K[le].operator=P.target.value,i.index===le&&d([...K]),A()},error:!Y.operator&&i.index===le,defaultValue:Y.operator,labelName:"Operators"})}),(0,n.jsx)(f.ZP,{item:!0,xs:p!=null&&p.addButton?3.5:3,className:"filterModal__conditions__item",style:{maxWidth:p!=null&&p.customParameterList?"18%":""},children:((ie=K[le])==null?void 0:ie.parameter)==="campaign_type"||I&&((j=K[le])==null?void 0:j.parameter)==="campaign_type"?(0,n.jsx)(M.Z,{valueSelector:"value",itemList:p.campaignTypeArr,label:"name",name:"Campaign Type",onChange:P=>{K[le].parameter==="campaign_type"&&E(!0),K[le].value=P.target.value,A()},error:!Y.value&&i.index===le,defaultValue:Y.value,labelName:"Campaign Type"}):(0,n.jsx)(ee.Z,{name:"Value",placeholder:"Enter Value",label:"Value",defaultValue:Y.value,onChange:P=>{K[le].value=P.target.value,A()},onBlur:P=>{i.index===le&&d([...K])},error:!((ue=Y==null?void 0:Y.value)!=null&&ue.trim())&&i.index===le})}),(0,n.jsx)(f.ZP,{item:!0,xs:p!=null&&p.addButton?1.5:3,children:(0,n.jsx)("div",{className:"filterModal__conditions__relations",children:(0,n.jsxs)(l.Z,{value:Y.relational_operator,onChange:P=>w(P,le),style:{justifyContent:"space-between",width:"100%"},children:[(0,n.jsx)(u.Z,{className:Y.relational_operator==="OR"?"filterModal__conditions__selected":"filterModal__conditions__relations__button",value:"OR",label:"OR",style:{display:p.hideOrTab?"none":"visible"}}),(0,n.jsx)(u.Z,{disabled:!!p.disableAndRelation,className:Y.relational_operator==="AND"?"filterModal__conditions__selected":"filterModal__conditions__relations__button",value:"AND",label:"AND",style:{display:p.hideAndTab?"none":"visible"}}),p!=null&&p.addButton?(0,n.jsx)("span",{style:{border:"1px solid grey",borderRadius:"50%",padding:"5px",display:"flex",height:"2.5rem",width:"2.5rem",alignItems:"center",justifyContent:"center",cursor:"pointer"},children:(0,n.jsx)(S.Z,{color:"primary",fontSize:"large",onClick:P=>w(P,le)})}):(0,n.jsx)(n.Fragment,{}),(0,n.jsx)("span",{style:{minWidth:p!=null&&p.deleteIconColor?"":"42px"},children:K.length>1?(0,n.jsx)("span",{className:p!=null&&p.deleteIconColor?"filterModal__conditions__relations__deleteButton":"filterModal__conditions__relations__button",children:(0,n.jsx)(m.Z,{onClick:()=>C(le),disableRipple:!0,children:(0,n.jsx)(se,B({},U))})}):null})]})})}),K.length>1&&(p!=null&&p.realtionOperator)?(0,n.jsx)(f.ZP,{item:!0,xs:12,children:(0,n.jsx)("div",{className:"filterModal__conditions__seprator",children:(0,n.jsx)("span",{style:{display:(K==null?void 0:K.length)-1==le?"none":"block"},children:F(p==null?void 0:p.realtionOperator)})})}):Y.relational_operator&&(0,n.jsx)(f.ZP,{item:!0,xs:12,children:(0,n.jsx)("div",{className:"filterModal__conditions__seprator",children:(0,n.jsx)("span",{children:Y.relational_operator})})})]},Math.random())})})}},96376:function(_e,$,t){"use strict";t.d($,{Z:function(){return ie}});var n=t(67557),f=t(89526),l=t(18051),u=t(50871),m=t(19855),v=t(64765),M=t(13825),ee=t(82525),W=t(42489),re=t(73622),se=t(9717),S=t(94049),J=t(75e3),T=t(30451),V=t(60090),L=t(72977),c=t(78276),R=t(48322),B=t(8412),X=t(78134),g=t(21603),p=t(5729),O=t(77760),I=t(60666),E=t(47486),K={},d=Object.defineProperty,i=Object.defineProperties,x=Object.getOwnPropertyDescriptors,A=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,U=(j,ue,P)=>ue in j?d(j,ue,{enumerable:!0,configurable:!0,writable:!0,value:P}):j[ue]=P,F=(j,ue)=>{for(var P in ue||(ue={}))w.call(ue,P)&&U(j,P,ue[P]);if(A)for(var P of A(ue))C.call(ue,P)&&U(j,P,ue[P]);return j},Y=(j,ue)=>i(j,x(ue)),ie=j=>{const ue=(0,l.Z)(),P=(0,O.Z)(),[Z]=(0,T.bp)(),{segmentsList:ae}=Z,ce=()=>Q(!0),be=(0,f.useRef)(),pe=(0,f.useRef)([]),h=(0,f.useRef)([]),[te,Q]=(0,f.useState)(!1),[we,Se]=(0,f.useState)([]),[Ne,ze]=(0,f.useState)("no"),[Je,qe]=(0,f.useState)(!1),[Me,Fe]=(0,f.useState)(""),[Ue,he]=(0,f.useState)(),[xe,q]=(0,f.useState)([]),[me,De]=(0,f.useState)(!0),[Te,Oe]=(0,f.useState)(-1);let[st,Ft]=(0,f.useState)(1),[Qt,Vt]=(0,f.useState)(j.se),[Gt,Jt]=(0,f.useState)(!1),[Lr,Rr]=(0,f.useState)(-1),[Gr,zr]=(0,f.useState)(!1);(0,f.useEffect)(()=>{if(j.filters.length>0)if(j.selectedFilters||(j.filters.map(ar=>{Qt[ar.id]=""}),Vt(F({},Qt))),j.showSegments&&ae.length>0){const ar=j.filters,rt={name:"Segment Type",data:ae.map(kt=>({name:kt.segment,value:kt.segment_id})),type:"dropdown",labelName:"Segment Type",id:"segment_id"};Se([rt,...ar])}else ze(j.selectedFilters.sales_touches),Se([...j.filters])},[j.filters]),(0,f.useEffect)(()=>{if(j!=null&&j.selectedFilters){const ar=(j==null?void 0:j.onReset())||{};let rt=!1;Object.keys(j.selectedFilters).find(kt=>{var At;if(kt==="start_date"||kt==="end_date"||kt==="ad_account"||kt==="segment_id"||kt==="sales_touches"||kt==="source_type"||kt==="bing_sites"||kt==="google_site"||kt==="filters"||kt==="isReload"||kt==="showTabularData"||kt==="excludes"||kt==="relational_operator")return!1;if(kt==="conditions"&&((At=j.selectedFilters[kt])==null?void 0:At.length)>0||j.selectedFilters[kt]&&j.selectedFilters[kt]!==ar[kt]&&kt!=="conditions")return rt=!0,!0;rt=!1}),zr(rt),j.updateResetState&&j.updateResetState(rt),Qt=j.selectedFilters,Vt(F({},Qt))}},[j.selectedFilters]);const pr={fill:ue.palette.text.tertiary,width:"20px",height:"20px"},fn=(0,V.Z)(ar=>({inputLabel:{color:`${ar.palette.primary.main} !important`},focused:{color:`${ar.palette.primary.main} !important`}}))(),Zt=ar=>ar.map(rt=>rt.name),St=()=>{var ar,rt,kt;((rt=(ar=j==null?void 0:j.selectedFilters)==null?void 0:ar.conditions)==null?void 0:rt.length)==1&&((kt=j==null?void 0:j.selectedFilters)==null||kt.conditions.map(At=>{(At.operator==""||At.parameter==""||At.value=="")&&(j.selectedFilters.conditions=[])})),Vt(j.selectedFilters),Q(!1)},Wt=(ar,rt)=>{Qt[rt]=[...ar]},Nt=()=>{xe.length=0,Vt(F({},j.onReset())),Rr(-1),Jt(!1)},dt=()=>{var ar,rt;Jt(!0),Gr=!1,zr(Gr);let kt=-1;if(Qt.relational_operator=st,Qt.excludes=Zt(xe),(ar=Qt==null?void 0:Qt.conditions)==null||ar.find((sr,Kr)=>{if(!sr.operator||!sr.parameter||!sr.value)return kt=Kr,!0;Gr=!0,zr(Gr)}),kt!==-1){Rr(kt);return}if(Qt.hasOwnProperty("ad_account")&&((rt=Qt==null?void 0:Qt.ad_account)==null?void 0:rt.length)===0){P.addToast({message:"Please select at least one Ad Account ID",timeout:3e3,type:"error"});return}we.find(sr=>{if(sr.required&&!Qt[sr.id])return!0})||(j.showRadioFilter&&(Qt.sales_touches=Ne),j.onSubmit(Qt),j.updateResetState&&j.updateResetState(Gr),St())},nr=()=>{Qt=F({},j.onReset()),Lr=-1,Gt=!1,dt(),Vt(F({},Qt)),Rr(-1),Jt(!1),zr(!1)},et=ar=>{ze(ar.target.value),Qt.sales_touches=Ne,Vt(F({},Qt))},Tt=ar=>{st=Number(ar.target.value),Ft(st),Qt.relational_operator=st,Vt(F({},Qt))},Rt=(ar,rt)=>{var kt;Qt[rt]=((kt=ar==null?void 0:ar.target)==null?void 0:kt.value)||ar,Vt(F({},Qt))},or=ar=>{switch(ar){case"Attribution Model":return"attribution_model";case"Segment Type":return"segment_id";case"Date Type":return"date_type";case"Connectors":return"connector";default:return""}},ir=ar=>ar!=null&&ar.trim()?xe.find(rt=>rt.name===ar):!1,Qr=ar=>{const rt=j.filters.find(kt=>kt.id===ar);return!(rt!=null&&rt.required||rt!=null&&rt.isDisabled)},ft=(ar,rt)=>{var kt;xe.splice(ar,1),Me===rt&&(he(""),Fe("")),((kt=pe.current)==null?void 0:kt.findIndex((qt,sr)=>qt===rt))===-1&&pe.current.push(rt),q([...xe]),Oe(-1)};function tr(ar){return(0,n.jsxs)(u.ZP,{item:!0,xs:4,className:"filterModal__modalContainer__dropdown",children:[(0,n.jsx)(X.Z,{itemList:ar.data,label:"name",labelName:ar.name||"name",disabled:ar.isDisabled,valueSelector:"value",name:ar.name,className:ar.className,defaultValue:Qt[ar.id],onChange:rt=>Rt(rt,ar.id),error:!Qt[ar.id]&&Gt&&(ar==null?void 0:ar.required)}),Qt[ar.id]&&Qr(ar.id)?(0,n.jsx)("div",{className:"clear_btn_icon",onClick:()=>{const rt=or(ar.name);if(ar.name==="Segment Type"){Vt(Y(F({},Qt),{[`${rt}`]:null}));return}Vt(Y(F({},Qt),{[`${rt}`]:""}))},role:"button",tabIndex:0,onKeyDown:()=>{},children:(0,n.jsx)(R.Z,{title:`Clear ${ar.name||""}`,children:(0,n.jsx)(c.Z,{style:{color:"grey"}})})}):(0,n.jsx)(n.Fragment,{})]})}function gr(ar){return(0,n.jsxs)(u.ZP,{item:!0,xs:12,className:"filterModal__modalContainer__dimension__dropdown",children:[(0,n.jsxs)(u.ZP,{item:!0,xs:1.8,children:[" ",(0,n.jsx)(m.Z,{variant:"h6",component:"span",align:"left",children:ar.name})]}),(0,n.jsx)(u.ZP,{item:!0,xs:10,children:(0,n.jsx)(g.Z,{selector:ar.id,customParameterList:!!(j!=null&&j.customParameterList),parameterList:j!=null&&j.customParameterList?j==null?void 0:j.customParameterList:ar==null?void 0:ar.parameters,operatorList:ar.operators,selectedConditions:Qt[ar==null?void 0:ar.id],onConditionUpdated:rt=>Wt(rt,ar==null?void 0:ar.id),dimensionError:Lr,campaignTypeArr:j.campaignTypeArr,realtionOperator:st,deleteIconColor:"red",hideOrTab:!0,hideAndTab:!0,addButton:!0})})]})}return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"filterModal",style:{position:"relative"},children:[Gr?(0,n.jsx)("div",{className:"circlePosition",onClick:()=>{j!=null&&j.customParameterList||j!=null&&j.showCustomType||j!=null&&j.campaignTypeArr?be.current.handleClickOpen():nr()},children:(0,n.jsx)(R.Z,{title:"Reset",placement:"bottom",children:(0,n.jsx)(L.Z,{fontSize:"small",onFocus:()=>{qe(!0)},onBlur:()=>{qe(!1)},className:"circlePosition__svg",color:"warning",style:{fill:"#cc3333"}})})}):"",(0,n.jsx)(u.ZP,{onClick:()=>{ce()},className:"filterIcon",style:{cursor:"pointer",position:"relative"},mr:3.5,ml:-1,"aria-disabled":j.isDisabled?j.isDisabled:Je,children:(0,n.jsxs)(R.Z,{title:"Filters",style:{display:"flex",padding:"4px"},children:[(0,n.jsx)(B.Z,F({},pr))," "]})}),(0,n.jsx)(v.Z,{open:te,onClose:St,children:(0,n.jsxs)(M.Z,{className:j.type?"socialMedia__modalContainer":"filterModal__modalContainer",bgcolor:ue.palette.background.light,children:[(0,n.jsx)(ee.Z,{className:"filterModal__closeBtn",onClick:St,children:(0,n.jsx)(L.Z,{})}),(0,n.jsxs)(u.ZP,{container:!0,style:{minHeight:j.type?"30vh":"50vh",display:"block"},children:[(0,n.jsx)(m.Z,{variant:"h4",component:"div",align:"left",children:"Filters"}),j.showRadioFilter?(0,n.jsxs)(W.Z,{style:{display:"flex",justifyContent:"flex-start",alignItems:"center",marginTop:"1.5rem",flexDirection:"row"},children:[(0,n.jsx)(m.Z,{variant:"h5",component:"div",align:"left",children:"Include Sales Touch"}),(0,n.jsxs)(re.Z,{row:!0,style:{marginLeft:"3rem"},defaultValue:"no",onChange:et,value:Ne,children:[(0,n.jsx)(se.Z,{value:"yes",control:(0,n.jsx)(S.Z,{}),label:"Yes"}),(0,n.jsx)(se.Z,{value:"no",control:(0,n.jsx)(S.Z,{}),label:"No"})]})]}):"",(0,n.jsx)(u.ZP,{container:!0,xs:12,mt:3,children:we==null?void 0:we.map((ar,rt)=>ar.type=="dropdown"&&(0,n.jsx)(tr,F({},ar)))}),(0,n.jsxs)(u.ZP,{container:!0,xs:12,mt:3,className:"filterModal__dimensionBlock",children:[(0,n.jsxs)("div",{className:"filterModal__dimensionBlock__conditions",children:[(0,n.jsx)(m.Z,{variant:"h6",component:"span",align:"left",children:"Select Condition"}),(0,n.jsx)(W.Z,{style:{display:"flex",justifyContent:"flex-start",alignItems:"center",flexDirection:"row"},children:(0,n.jsxs)(re.Z,{row:!0,style:{marginLeft:"3rem"},defaultValue:1,onChange:Tt,value:st,children:[(0,n.jsx)(se.Z,{value:1,control:(0,n.jsx)(S.Z,{}),label:"AND"}),(0,n.jsx)(se.Z,{value:2,control:(0,n.jsx)(S.Z,{}),label:"OR"})]})})]}),we==null?void 0:we.map((ar,rt)=>ar.type=="conditional"&&(0,n.jsx)(gr,F({},ar)))]}),j.showExcludeItem?(0,n.jsxs)(u.ZP,{container:!0,xs:4,mt:3,className:"filterModal__excludeBlock",children:[(0,n.jsx)(E.Z,{autoFocus:!0,name:"filterField",label:"Always exclude Item",placeholder:"Always exclude Item",onChange:ar=>{ar.target.value.trim()!==""&&ar.nativeEvent.inputType!=="insertFromPaste"&&Fe(ar.target.value),ar.nativeEvent.inputType!=="insertFromPaste"&&(ar.target.value.includes(`
`)||he(ar.target.value)),ar.target.value.includes(`
`)&&(he(""),Fe(""))},onKeyPress:ar=>{var rt,kt;ar.target.value.trim()!==""&&Fe(ar.target.value);let At=ar.target.value;const qt=ar.keyCode,sr=ar.code;if(ar.code=="Enter"){if(Fe(""),At.trim()=="")return;if(Te>-1)pe.current.push(xe[Te].name),xe.map(Kr=>Kr.name.trim().toLowerCase()).includes(At.trim().toLowerCase())||(xe[Te].name=At,q(xe),Oe(-1));else{if(ir(At)){he(""),Fe(""),ar.preventDefault();return}let Kr=(rt=h.current)==null?void 0:rt.findIndex((nn,on)=>nn===At);const kr=(kt=pe.current)==null?void 0:kt.findIndex((nn,on)=>nn===At);if(kr!==-1){Kr!==-1&&h.current.splice(Kr,1);const nn=pe.current;nn.splice(kr,1),pe.current=nn,Kr=0}Kr===-1&&h.current.push(At),xe.map(nn=>nn.name.trim().toLowerCase()).includes(At.trim().toLowerCase())||(xe.push({name:At,isDefault:0,isEnabled:1}),q([...xe]))}he(""),Fe(""),ar.preventDefault()}},defaultValue:"",InputLabelProps:{classes:{root:fn.inputLabel,focused:fn.focused}}}),xe.length?(0,n.jsx)("div",{className:"filterModal__excludeBlock__chips",children:xe.map((ar,rt)=>(0,n.jsx)(J.Z,{color:"default",style:{display:rt>1&&me==!1?"none":""},label:ar.name,onClick:ar.isDefault?void 0:kt=>{Oe(rt),he(kt.target.textContent),Fe(kt.target.textContent)},variant:rt===Te?"outlined":"filled",className:"filterModal__excludeBlock__chips__chipAlone",deleteIcon:(0,n.jsx)(c.Z,{}),onDelete:kt=>ft(rt,ar.name)}))}):(0,n.jsx)(u.ZP,{xs:6,position:"absolute",children:(0,n.jsx)(m.Z,{})})]},xe.length):""]}),(0,n.jsxs)(u.ZP,{container:!0,justifyContent:"start",className:"filterModal__filterButtons",children:[(0,n.jsx)(I.Z,{btnText:"Apply",type:"button",onClick:dt}),(0,n.jsx)(I.Z,{btnText:"Reset",type:"button",variant:"outlined",onClick:Nt})]})]})}),(0,n.jsx)(f.Suspense,{fallback:(0,n.jsx)("h3",{children:"Loading\u2026"}),children:(0,n.jsx)(p.Z,{ref:be,title:"Reset Filters",description:"Are you sure you want to reset filters for report?",confirm:"Reset",discard:"Cancel",color:"error",hideCloseButton:!0,onConfirm:()=>{nr(),be.current.handleClose()},onDiscard:()=>{be.current.handleClose()}})})]})})}},47486:function(_e,$,t){"use strict";var n=t(67557),f=t(87674),l=t(23597),u=t(60090),m=t(66005),v=t(49291),M=t(59432),ee=Object.defineProperty,W=Object.defineProperties,re=Object.getOwnPropertyDescriptors,se=Object.getOwnPropertySymbols,S=Object.prototype.hasOwnProperty,J=Object.prototype.propertyIsEnumerable,T=(B,X,g)=>X in B?ee(B,X,{enumerable:!0,configurable:!0,writable:!0,value:g}):B[X]=g,V=(B,X)=>{for(var g in X||(X={}))S.call(X,g)&&T(B,g,X[g]);if(se)for(var g of se(X))J.call(X,g)&&T(B,g,X[g]);return B},L=(B,X)=>W(B,re(X));const c=(0,u.Z)(B=>({formControl:{margin:B.spacing(1),minWidth:120},input:{color:B.palette.mode=="dark"?"rgba(255, 255, 255,0.3)":"rgba(0, 0, 0, 0.38)",borderRadius:"20px",opacity:B.palette.mode=="dark"?.5:1}})),R=B=>{const X=c(),g=(0,m.Z)(),p=i=>{B.onChange&&B.onChange(i)},O=i=>{B.onBlur&&B.onBlur(i)},I=i=>{B.onMouseOut&&B.onMouseOut(i)},E=i=>{if(B.ignoreSpaces){const x=i||window.event;i.code==="Space"&&(x.returnValue=!1,x.preventDefault&&x.preventDefault())}B.onKeyPress&&B.onKeyPress(i)},K=i=>{B.onPaste&&B.onPaste(i)},{control:d}=(0,v.cI)();return(0,n.jsx)("div",{className:"input",style:B.outerDivStyle,children:(0,n.jsxs)("div",{className:"input__box-container",children:[(0,n.jsx)(v.Qr,{name:B.name,control:B.control||d,render:({field:{onChange:i,value:x}})=>(0,n.jsx)(l.Z,{multiline:B.multiline||!1,error:B.error,id:B.id||null,name:B.name||"textField_Name",label:B.label||"",placeholder:B.placeholder||"",type:B.type||"text",disabled:B.disabled||!1,required:B.required||!1,inputRef:B.refValue||null,size:"small",InputLabelProps:L(V({style:B.model&&g.palette.mode=="dark"?{color:"rgba(255, 255, 255,0.3)"}:{}},B.InputLabelProps),{color:"primary"}),rows:B.rows||0,defaultValue:B.defaultValue||null,value:B.control?x:B.value,InputProps:L(V({},B.InputProps),{style:{fill:"red"},autoComplete:"new-password",className:`${B.model?X.input:B.className?B.className:"input__defaultInput"}`}),onKeyDown:B.onKeyDown,onKeyPress:E,autoComplete:B.id?B.id:null,helperText:B.helperText,style:L(V({},B.style),{borderRadius:"25px"}),fullWidth:!0,sx:B.sx?{"& .MuiInputBase-input.Mui-disabled":{WebkitTextFillColor:`${g.palette.text.primary}`}}:{},onInput:B.onInput||null,variant:B.variant||"outlined",onChange:A=>{var w,C;A.target.value=(C=(w=A==null?void 0:A.target)==null?void 0:w.value)==null?void 0:C.replace(/<\/?[^>]+(>|$)/g,""),B.control?i(A):p(A)},onBlur:O,onMouseOut:I,autoFocus:B.autoFocus?B.autoFocus:!1,onPaste:K})}),B.error?(0,n.jsx)(f.Z,{style:{marginLeft:"0.5rem",marginTop:"0rem",color:"red"},children:B.errorMessage?B.errorMessage:"Required"}):null]})})};$.Z=R},68474:function(_e,$,t){"use strict";t.d($,{Z:function(){return De}});var n=t(67557),f=t(89526),l=t(60666),u={},m=t(50871),v=t(82525),M=t(30451),ee=t(62976),W=t(28364),re=t(5581),S={getInsightsQuestions(Te){return{url:"businessinsights/all_questions?category_id=1",data:Te.request,headers:Te.headers}},getInsightsAnswer(Te){return{url:"businessinsights/question",data:Te.request,headers:Te.headers}}},J=t(97827),T=t(77760),V=t(94715),L=t(2382);function c(Te,Oe){let st="";switch(Te){case 1:st=`On an average <span class='highlight'>${Oe&&(Oe==null?void 0:Oe.total_leads_require_to_close_oppr)!==null?Oe==null?void 0:Oe.total_leads_require_to_close_oppr:"-"}</span> leads are required to close an opportunity. Out of the total <span class='highlight'>${Oe&&(Oe==null?void 0:Oe.total_leads)!==null?Oe==null?void 0:Oe.total_leads:"-"}</span> leads, <span class='highlight'>${Oe&&(Oe==null?void 0:Oe.total_closed_won)!==null?Oe==null?void 0:Oe.total_closed_won:"-"}</span> got closed in the last 6 months.`;break;case 2:st=`On an average <span class='highlight'>${Oe&&(Oe==null?void 0:Oe.lead_win_rate)!==null?Oe==null?void 0:Oe.lead_win_rate:"-"}</span> leads (that entered sales funnel) are
    required to close an opportunity. Out of the total <span class='highlight'>${Oe&&(Oe==null?void 0:Oe.total_leads)!==null?Oe==null?void 0:Oe.total_leads:"-"}</span> leads,
    <span class='highlight'>${Oe&&(Oe==null?void 0:Oe.total_closed_won)!==null?Oe==null?void 0:Oe.total_closed_won:"-"}</span> got closed in the last 6 months.`;break;case 3:st=`Maximum delay of <span class='highlight'>${Oe&&(Oe==null?void 0:Oe.maximum_delayed_avg_days)!==null?Oe==null?void 0:Oe.maximum_delayed_avg_days:"-"}</span> days on an average is observed at the <span class='highlight'>${Oe&&(Oe==null?void 0:Oe.maximum_delayed_stage)!==null?Oe==null?void 0:Oe.maximum_delayed_stage:"-"}</span> stage of the funnel.`;break;case 4:st=`Maixmum delay of <span class='highlight'>${Oe&&(Oe==null?void 0:Oe.maximum_delayed_avg_days)!==null?Oe==null?void 0:Oe.maximum_delayed_avg_days:"-"}</span> days on an average is observed at the <span class='highlight'>${Oe&&(Oe==null?void 0:Oe.maximum_delayed_stage)!==null?Oe==null?void 0:Oe.maximum_delayed_stage:"-"}</span> stage in opportunity stage of the funnel.`;break;case 5:st=`In the past 6 months, the top <span class='highlight'>${Oe&&(Oe==null?void 0:Oe.top_channels)!==null?Oe==null?void 0:Oe.top_channels:"-"}</span>  channels driving revenue are - <span class='highlight'>${Oe&&Oe.final_graph_data.months.length?Oe.final_graph_data.months.join(", "):""}</span>.`;break;case 6:st=`In the past 6 months, the top <span class='highlight'>${Oe&&(Oe==null?void 0:Oe.top_channels)!==null?Oe==null?void 0:Oe.top_channels:"-"}</span>  channels driving pipeline are - <span class='highlight'>${Oe&&Oe.final_graph_data.months.length?Oe.final_graph_data.months.join(", "):""}</span>.`;break;case 7:st=`On an average total <span class='highlight'>${Oe&&(Oe==null?void 0:Oe.avg_sales_follow_ups)!==null?Oe==null?void 0:Oe.avg_sales_follow_ups:"-"}</span> sales follow ups are leading to a closed won deal. In the past 6 months, <span class='highlight'>${Oe&&(Oe==null?void 0:Oe.total_sales_touches)!==null?Oe==null?void 0:Oe.total_sales_touches:"-"}</span> sales touches were needed to close <span class='highlight'>${Oe&&(Oe==null?void 0:Oe.total_closed_won)!==null?Oe==null?void 0:Oe.total_closed_won:"-"}</span> deals.`;break;case 8:st=`On an average <span class='highlight'>${Oe&&(Oe==null?void 0:Oe.avg_sales_follow_ups)!==null?Oe==null?void 0:Oe.avg_sales_follow_ups:"-"}</span> marketing sales follow ups are leading to a closed won deal. In the past 6 months, <span class='highlight'>${Oe&&(Oe==null?void 0:Oe.total_sales_touches)!==null?Oe==null?void 0:Oe.total_sales_touches:"-"}</span> marketing sales touches were needed to close <span class='highlight'>${Oe&&(Oe==null?void 0:Oe.total_closed_won)!==null?Oe==null?void 0:Oe.total_closed_won:"-"}</span> deals.`;break;case 9:st=`On an average <span class='highlight'>${Oe&&(Oe==null?void 0:Oe.avg_sales_follow_ups)!==null?Oe==null?void 0:Oe.avg_sales_follow_ups:"-"}</span> sales follow ups are leading to a closed won deal. In the past 6 months, <span class='highlight'>${Oe&&(Oe==null?void 0:Oe.total_sales_touches)!==null?Oe==null?void 0:Oe.total_sales_touches:"-"}</span> sales touches were needed to close <span class='highlight'>${Oe&&(Oe==null?void 0:Oe.total_closed_won)!==null?Oe==null?void 0:Oe.total_closed_won:"-"}</span> deals.`;break;case 10:st="Please refer to the graph for the quarterly targets and the current status.";break;case 11:st="Please refer to the graph for the quarterly targets and the current status.";break;case 12:st="Please refer to the graph for the quarterly targets and the current status.";break;case 13:st=`In the past 6 months, there are <span class='highlight'>${Oe&&(Oe==null?void 0:Oe.total_untouched_opprs)!==null?Oe==null?void 0:Oe.total_untouched_opprs:"-"}</span> open opportunities left untouched for more than 3 months.`;break;case 14:st="Here are the top URL's in terms of leads, opportunities and closed won deal.";break;case 15:st="Here is the percentage of repeat wrt pipeline type.";break;default:st=""}return st}var R=c,B=t(91199),X=t(66005),g=t(48650),p=t(35864),O=t.n(p),I=t(4488),E=t.n(I),K=t(44512),d=t(5157),i=Object.defineProperty,x=Object.defineProperties,A=Object.getOwnPropertyDescriptors,w=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable,F=(Te,Oe,st)=>Oe in Te?i(Te,Oe,{enumerable:!0,configurable:!0,writable:!0,value:st}):Te[Oe]=st,Y=(Te,Oe)=>{for(var st in Oe||(Oe={}))C.call(Oe,st)&&F(Te,st,Oe[st]);if(w)for(var st of w(Oe))U.call(Oe,st)&&F(Te,st,Oe[st]);return Te},le=(Te,Oe)=>x(Te,A(Oe)),ie=(Te,Oe,st)=>new Promise((Ft,Qt)=>{var Vt=Lr=>{try{Jt(st.next(Lr))}catch(Rr){Qt(Rr)}},Gt=Lr=>{try{Jt(st.throw(Lr))}catch(Rr){Qt(Rr)}},Jt=Lr=>Lr.done?Ft(Lr.value):Promise.resolve(Lr.value).then(Vt,Gt);Jt((st=st.apply(Te,Oe)).next())}),ue=Te=>{const Oe=(0,J.Z)(),st=(0,T.Z)(),Ft=(0,V.Z)(),[Qt,Vt]=(0,M.bp)(),Gt=(0,f.useRef)(),[Jt,Lr]=(0,f.useState)(""),[Rr,Gr]=(0,f.useState)(!0),[zr,pr]=(0,f.useState)([]),[vn,fn]=(0,f.useState)([]),[Zt,St]=(0,f.useState)(""),[Wt,Nt]=(0,f.useState)(""),[dt,nr]=(0,f.useState)(),[et,Tt]=(0,f.useState)(),[Rt,or]=(0,f.useState)([]),[ir,Qr]=(0,f.useState)(""),ft=(0,X.Z)(),[tr,gr]=(0,f.useState)({}),[ar,rt]=(0,f.useState)(!1),[kt,At]=(0,f.useState)(!1),[qt,sr]=(0,f.useState)(!1),[Kr,kr]=(0,f.useState)(!0),[nn,on]=(0,f.useState)(!1),vr=(lr,Yr)=>(lr.setMonth(lr.getMonth()+Yr),lr),[Dr,_r]=(0,f.useState)([]),Hr={year:"numeric",month:"short",day:"numeric"};(0,f.useEffect)(()=>{let lr=document.getElementsByTagName("body");lr&&lr.length&&(lr[0].style.overflowX="hidden"),St(vr(new Date,-6).toLocaleDateString("en-US",Hr));const Yr=new Date;Nt(Yr.toLocaleDateString("en-US",Hr))},[]);const Pr=lr=>ie(void 0,null,function*(){var Yr;Gr(!0),pr([]),fn([]),or([]),on(!1),nr(null),Qr(""),rt(!1),gr(null),_r([]),sr(!1),kr(!0);const Yn=g.Z.getItem("filters");let ti="linear_model";Yn!=null&&Yn.insights&&(ti=(Yr=Yn==null?void 0:Yn.insights)==null?void 0:Yr.attribution_model);const _t={request:{attribution_model:ti,question_id:lr}};let Ct=le(Y({},(0,K.HX)(ft)),{chart:{type:"bar",height:200,plotBackgroundColor:ft.palette.mode==="dark"?"#2f2f2f":ft.palette.background.light,backgroundColor:ft.palette.mode==="dark"?"#2f2f2f":ft.palette.background.light,borderColor:ft.palette.mode==="dark"?"#2f2f2f":ft.palette.background.light},xAxis:{categories:[],className:"drill_down_bar_Graph",title:{text:null,style:{color:ft.palette.text.primary}},labels:{style:{color:ft.palette.text.primary}}},yAxis:{labels:{useHTML:!0,format:"{text}"}},tooltip:{formatter:mt=>{var br,Pt,qr,mn;return`<div class=tooltip><div> ${(Pt=(br=mt==null?void 0:mt.chart)==null?void 0:br.hoverPoint)==null?void 0:Pt.category}: </div><div> <b>${lr==15?"%":Dn(lr)?"#":"$"} ${(0,d.Z)((mn=(qr=mt==null?void 0:mt.chart)==null?void 0:qr.hoverPoint)==null?void 0:mn.y)} </b></div></div>`},outside:!0},plotOptions:{series:{dataLabels:{enabled:!1}}},colors:ft.palette.graph,series:[{width:20,data:[],tooltip:{pointFormat:lr==15?"<b>%{point.y:.2f}</b>":Dn(lr)?"<b>#{point.y:.2f}</b>":"<b>${point.y:.2f}</b>",valueSuffix:""}}]});return Ft.showLoader(),yield Oe.post(S.getInsightsAnswer(_t),!0).then(mt=>{var br,Pt,qr,mn,In,Vr,Fn,An,zn,bi,Si,bo,Fi,mo,_o,Ti,ao,no,Ir,je;if(Ft.hideLoader(),nr(mt.data),Qr((br=mt==null?void 0:mt.data.graph_details)==null?void 0:br.graph_name),lr==14)_r([{name:"Top URL's by Closed Won",series:[{data:mt.data.close_won.count||[],showInLegend:!1}],labels:((Pt=mt.data.close_won)==null?void 0:Pt.urls)||[],condition:!!mt.data.close_won.count.length,yAxisTitle:"Closed Won"},{name:"Top URL's by Leads",series:[{data:mt.data.total_leads.count||[],showInLegend:!1}],labels:((qr=mt.data.total_leads)==null?void 0:qr.urls)||[],condition:!!mt.data.total_leads.count.length,yAxisTitle:"Total Leads"},{name:"Top URL's by Opportunity",series:[{data:mt.data.total_opprs.count||[],showInLegend:!1}],labels:((mn=mt.data.total_opprs)==null?void 0:mn.urls)||[],condition:!!mt.data.total_opprs.count.length,yAxisTitle:"Total Opportunity"}]);else if((lr<10||lr==13||lr==15)&&mt.data&&mt.data.final_graph_data&&((Vr=(In=mt.data.final_graph_data)==null?void 0:In.values)!=null&&Vr.length)){Ct.chart.height=((An=(Fn=mt.data.final_graph_data)==null?void 0:Fn.months)==null?void 0:An.length)>=5?null:200,Gr(!1),fn((zn=mt.data.final_graph_data)==null?void 0:zn.months);let Ke=[{data:(bi=mt.data.final_graph_data)==null?void 0:bi.values,showInLegend:!1}],ht=(Si=mt.data.final_graph_data)==null?void 0:Si.values;sr(!1),(lr==7||lr==8||lr==9)&&(ht=[{data:(bo=mt.data.final_graph_data)==null?void 0:bo.values,showInLegend:!0,name:"Attemped Sales Touches",tooltip:{pointFormat:Dn(lr)?"<b>#{point.y:.2f}</b>":"<b>${point.y:.2f}</b>"}},{data:(Fi=mt.data.final_graph_data)==null?void 0:Fi.completed,showInLegend:!0,name:"Completed Sales Touches",tooltip:{pointFormat:Dn(lr)?"<b>#{point.y:.2f}</b>":"<b>${point.y:.2f}</b>"}},{data:(mo=mt.data.final_graph_data)==null?void 0:mo.close_won,showInLegend:!0,name:"Closed Won",tooltip:{pointFormat:Dn(lr)?"<b>#{point.y:.2f}</b>":"<b>${point.y:.2f}</b>"}}],sr(!0)),Ct.series[0].data=mt.data.final_graph_data.values||[],Ct.xAxis.categories=((_o=mt.data.final_graph_data)==null?void 0:_o.months)||[],gr(Ct),rt(!0),pr(Ke),or(ht),on(!0)}else if(lr>=10&&mt.data&&mt.data.final_graph_data&&((ao=(Ti=mt.data.final_graph_data)==null?void 0:Ti.target)!=null&&ao.length)){kr(!1);let Ke=[],ht=[],Bt=[];(no=mt.data.final_graph_data)==null||no.achieved.forEach((Yt,yr)=>{var zt,rn,On;let xn=((zt=mt.data.final_graph_data)==null?void 0:zt.target[yr])-Yt;xn>0?(Ke.push(xn),ht.push(0),Bt.push(((rn=mt.data.final_graph_data)==null?void 0:rn.target[yr])-xn)):(Ke.push(0),ht.push(Math.abs(xn)),Bt.push((On=mt.data.final_graph_data)==null?void 0:On.target[yr]))});const Dt=[{data:ht,name:"Surplus"},{data:Ke,name:"Deficit"},{data:Bt,name:"Achieved"},{marker:{symbol:"c-rect",lineWidth:3,lineColor:"black",radius:10},pointWidth:10,type:"scatter",data:(Ir=mt.data.final_graph_data)==null?void 0:Ir.target,name:"Target"}];fn((je=mt.data.final_graph_data)==null?void 0:je.data),pr(Dt)}else Gr(!0),pr([]),or([]),on(!1),fn([]),rt(!1),gr(null),kr(!1)}).catch(mt=>{Ft.hideLoader(),sr(!1),pr([]),or([]),on(!1),fn([]),Qr(""),Gr(!0),rt(!1),gr(null),kr(!1),_r([]),st.addToast({message:mt.message||"Something went wrong",timeout:2e3,type:"error"})})});(0,re.O)(Gt,()=>{setTimeout(()=>{var lr;(lr=Te==null?void 0:Te.sidebarEl)==null||lr.classList.remove("Sidebar-backdrop");let Yr=document.getElementsByTagName("body");Yr&&Yr.length&&(Yr[0].style.overflowX="unset")},0),Te.stateChanger(!1),Te.viewStateChange(!1),At(!1),localStorage.setItem("isInsightsOpened","false")});const un=()=>{let lr=!1;return(et==2||et==3||et==4||et==7||et==8||et==9)&&(lr=!0),lr},Zn=()=>{let lr=!1;return(et==1||et==5||et==6||et==13||et==15)&&(lr=!0),lr},Jn=()=>{let lr=!1;return(et==10||et==11||et==12)&&(lr=!0),lr},Dn=lr=>{let Yr=!1;return(lr==1||lr==2||lr==3||lr==4||lr==7||lr==8||lr==9||lr==10||lr==11||lr==14)&&(Yr=!0),Yr},qn=()=>{let lr=!1;return(et==5||et==6||et==12||et==13)&&(lr=!0),lr};return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"questionsDrawer",ref:Gt,style:{backgroundColor:ft.palette.mode==="dark"?"#2f2f2f":ft.palette.background.alt,borderColor:ft.palette.neutral.main},children:(0,n.jsxs)(m.ZP,{container:!0,columnSpacing:2,spacing:2,className:"questions_container",children:[(0,n.jsxs)(m.ZP,{container:!0,xs:12,className:"headingContainer",children:[(0,n.jsx)(m.ZP,{xs:10,className:"insightsText",color:ft.palette.text.primary,children:"Insights"}),(0,n.jsx)(m.ZP,{xs:1,children:kt&&(0,n.jsx)(v.Z,{className:"backButtons",style:{left:"-23px"},onClick:()=>{Te.stateChanger(!0),At(!1),setTimeout(()=>{var lr;let Yr=window.document;const Yn=Yr==null?void 0:Yr.getElementById("questions_list");if(Yn){let ti=0;for(let Wi=1;Wi<et;Wi++)ti+=(lr=document==null?void 0:document.getElementById(Wi))==null?void 0:lr.offsetHeight;Yn.scroll({top:ti,behavior:"smooth"})}},100)},children:(0,n.jsx)(W.Z,{style:{fontSize:"25px",color:ft.palette.text.tertiary}})})}),(0,n.jsx)(m.ZP,{xs:1,children:(0,n.jsx)(v.Z,{className:"backButtons",style:{left:"-15px"},onClick:()=>{Te.stateChanger(!1),At(!1),Te.viewStateChange(!1),localStorage.setItem("isInsightsOpened","false"),setTimeout(()=>{var lr;(lr=Te==null?void 0:Te.sidebarEl)==null||lr.classList.remove("Sidebar-backdrop");let Yr=document.getElementsByTagName("body");Yr&&Yr.length&&(Yr[0].style.overflowX="unset")},0)},children:(0,n.jsx)(ee.Z,{style:{fontSize:"25px",color:ft.palette.text.tertiary}})})})]}),Te.showQuestions&&(0,n.jsx)(m.ZP,{container:!0,xs:11.5,id:"questions_list",style:{overflowY:"auto",height:"100vh",paddingBottom:"70px",gridGap:"10px",paddingTop:"25px",paddingLeft:"20px"},children:(0,n.jsx)(m.ZP,{container:!0,xs:11.5,style:{height:"fit-content"},columnSpacing:3,spacing:3,rowSpacing:2,rowGap:2,children:Qt.insightsQuestions.map(lr=>(0,n.jsx)(m.ZP,{xs:12,className:"questions",style:{border:ft.palette.mode==="dark"?`0.5px solid ${ft.palette.neutral.main}`:"1px solid rgba(0, 0, 0, 0.1)",backgroundColor:ft.palette.mode==="dark"?"#2f2f2f":ft.palette.background.alt},id:lr.question_id,color:ft.palette.text.primary,onClick:()=>{Pr(lr.question_id),Lr(lr.question),Tt(lr.question_id),At(!0),Te.stateChanger(!1)},children:lr.question},lr.question_id))})}),kt&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(m.ZP,{container:!0,xs:12,style:{overflowY:"auto",height:"100vh",paddingBottom:"70px",marginTop:"10px"},columnSpacing:2,spacing:2,rowSpacing:1,rowGap:1,children:(0,n.jsxs)(m.ZP,{container:!0,xs:12,className:"answerDrawer",rowSpacing:3,rowGap:3,style:{height:"fit-content"},children:[(0,n.jsx)(m.ZP,{className:"question",color:ft.palette.text.primary,style:{borderColor:ft.palette.neutral.main,color:ft.palette.text.primary},children:Jt}),(0,n.jsx)(m.ZP,{className:"dateRange",children:`${Zt} to ${Wt}`}),(0,n.jsxs)(m.ZP,{container:!0,xs:12,rowSpacing:3,rowGap:3,color:ft.palette.text.primary,children:[(0,n.jsx)(m.ZP,{color:ft.palette.text.primary,className:"answer",item:!0,dangerouslySetInnerHTML:{__html:R(et,dt)}}),et!=14&&(0,n.jsx)(m.ZP,{item:!0,rowSpacing:0,rowGap:0,className:"graphName",children:ir}),et==14?(0,n.jsxs)(n.Fragment,{children:[Dr.map((lr,Yr)=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(m.ZP,{className:"graphName",children:lr.name}),(0,n.jsx)(m.ZP,{className:"graphBorder",xs:11,item:!0,style:{paddingTop:un()?"6px":"-1px",height:"auto",minHeight:"10em"},children:lr.condition?(0,n.jsx)(m.ZP,{children:(0,n.jsx)(m.ZP,{children:(0,n.jsx)(L.Z,{height:300,labels:lr.labels,series:lr.series,yAxisTitle:lr.yAxisTitle,fromInsights:!0,backgroundColor:"#2f2f2f",addRotation:!0,title:"",colors:ft.palette.graph,showHash:Dn(et)})},Math.random())}):(0,n.jsx)("div",{className:"insightsnoData",children:"No data to display"})})]})),!Dr.length&&(0,n.jsx)(m.ZP,{className:"graphBorder",xs:11,item:!0,style:{paddingTop:un()?"6px":"-1px",height:"auto",minHeight:"10em"},children:(0,n.jsx)("div",{className:"insightsnoData",children:"No data to display"})})]}):(0,n.jsxs)(m.ZP,{className:"graphBorder",xs:11,item:!0,style:{paddingTop:un()?"6px":"-1px",height:"auto",minHeight:"10em"},children:[Zn()&&(ar?(0,n.jsx)(E(),{highcharts:O(),options:Y({},tr)}):(0,n.jsx)("div",{className:"insightsnoData",children:"No data to display"})),un()&&(nn?(0,n.jsx)(B.Z,{minHeight:"unset",height:et==7||et==8||et==9?300:200,primaryYAxisName:"",secondaryYAxisName:"",primaryYAxisTitle:"",xAxisTitle:"",secondaryYAxisType:"line",secondaryYAxisData:Rt,showPrimaryAxisMarker:!0,xAxisCategories:vn,showPrimaryAxisLegend:!1,showSecondaryAxisLegend:!1,showSecondaryAxisMarker:!0,backgroundColor:"#2f2f2f",multilineChart:qt,colors:ft.palette.graph,showHash:Dn(et),fromInsights:!0}):(0,n.jsx)("div",{className:"insightsnoData",children:"No data to display"})),Jn()&&(Kr?(0,n.jsx)("div",{className:"insightsnoData",children:"No data to display"}):(0,n.jsx)(L.Z,{height:300,labels:vn,series:zr,yAxisTitle:"",title:"",fromInsights:!0,backgroundColor:"#2f2f2f",isTargetGraph:!0,colors:ft.palette.graph,showHash:Dn(et)}))]})]})]})})})]})})})},P=t(48322),Z=t(39910),ae=Object.defineProperty,ce=Object.defineProperties,be=Object.getOwnPropertyDescriptors,pe=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,Q=(Te,Oe,st)=>Oe in Te?ae(Te,Oe,{enumerable:!0,configurable:!0,writable:!0,value:st}):Te[Oe]=st,we=(Te,Oe)=>{for(var st in Oe||(Oe={}))h.call(Oe,st)&&Q(Te,st,Oe[st]);if(pe)for(var st of pe(Oe))te.call(Oe,st)&&Q(Te,st,Oe[st]);return Te},Se=(Te,Oe)=>ce(Te,be(Oe)),ze=Te=>(0,n.jsx)("div",{children:(0,n.jsxs)("svg",Se(we({width:"25",height:"25",viewBox:"0 0 25 25",fill:Te.fill,xmlns:"http://www.w3.org/2000/svg"},Te),{children:[(0,n.jsxs)("g",{"clip-path":"url(#clip0_556_382)",children:[(0,n.jsx)("path",{d:"M23.438 4.14166H20.2234C20.0174 4.14171 19.816 4.20282 19.6448 4.31729C19.4735 4.43175 19.34 4.59442 19.2612 4.78473C19.1824 4.97504 19.1618 5.18445 19.2019 5.38649C19.2421 5.58852 19.3413 5.77411 19.4869 5.91979L20.6182 7.05104L16.8828 10.7854C16.6843 10.9751 16.4203 11.081 16.1458 11.081C15.8712 11.081 15.6073 10.9751 15.4088 10.7854L15.2317 10.6073C14.6365 10.0386 13.845 9.72127 13.0218 9.72127C12.1986 9.72127 11.4071 10.0386 10.8119 10.6073L5.49942 15.9198C5.30369 16.1161 5.19395 16.3821 5.19434 16.6593C5.19473 16.9365 5.30522 17.2022 5.50151 17.3979C5.6978 17.5936 5.9638 17.7034 6.241 17.703C6.5182 17.7026 6.7839 17.5921 6.97963 17.3958L12.2921 12.0833C12.4905 11.8934 12.7545 11.7874 13.0291 11.7874C13.3037 11.7874 13.5677 11.8934 13.7661 12.0833L13.9432 12.2615C14.5386 12.8297 15.33 13.1467 16.1531 13.1467C16.9761 13.1467 17.7675 12.8297 18.363 12.2615L22.0984 8.52604L23.2296 9.65729C23.3758 9.80057 23.5609 9.89761 23.7619 9.9363C23.9629 9.97498 24.1709 9.95359 24.3598 9.87481C24.5487 9.79602 24.7102 9.66332 24.8241 9.49329C24.9381 9.32326 24.9994 9.12343 25.0005 8.91875V5.70416C25.0005 5.28976 24.8358 4.89233 24.5428 4.59931C24.2498 4.30628 23.8524 4.14166 23.438 4.14166Z",fill:Te.fill}),(0,n.jsx)("path",{d:"M23.9583 22.8917H5.20833C4.37953 22.8917 3.58468 22.5624 2.99862 21.9764C2.41257 21.3903 2.08333 20.5955 2.08333 19.7667V1.04167C2.08333 0.7654 1.97359 0.500448 1.77824 0.305097C1.58289 0.109747 1.31793 0 1.04167 0C0.765399 0 0.500448 0.109747 0.305097 0.305097C0.109747 0.500448 0 0.7654 0 1.04167L0 19.7667C0.00165402 21.1475 0.550919 22.4713 1.52731 23.4477C2.50371 24.4241 3.82751 24.9733 5.20833 24.975H23.9583C24.2346 24.975 24.4996 24.8653 24.6949 24.6699C24.8903 24.4746 25 24.2096 25 23.9333C25 23.6571 24.8903 23.3921 24.6949 23.1968C24.4996 23.0014 24.2346 22.8917 23.9583 22.8917Z",fill:Te.fill})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_556_382",children:(0,n.jsx)("rect",{width:"25",height:"25",fill:Te.fill})})})]}))}),Je=t(63049),qe=Object.defineProperty,Me=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,he=(Te,Oe,st)=>Oe in Te?qe(Te,Oe,{enumerable:!0,configurable:!0,writable:!0,value:st}):Te[Oe]=st,xe=(Te,Oe)=>{for(var st in Oe||(Oe={}))Fe.call(Oe,st)&&he(Te,st,Oe[st]);if(Me)for(var st of Me(Oe))Ue.call(Oe,st)&&he(Te,st,Oe[st]);return Te},q=(Te,Oe,st)=>new Promise((Ft,Qt)=>{var Vt=Lr=>{try{Jt(st.next(Lr))}catch(Rr){Qt(Rr)}},Gt=Lr=>{try{Jt(st.throw(Lr))}catch(Rr){Qt(Rr)}},Jt=Lr=>Lr.done?Ft(Lr.value):Promise.resolve(Lr.value).then(Vt,Gt);Jt((st=st.apply(Te,Oe)).next())}),De=()=>{const[Te,Oe]=(0,f.useState)(!1),[st,Ft]=(0,M.bp)(),Qt=(0,J.Z)(),Vt=(0,T.Z)(),Gt=(0,V.Z)(),Jt=(0,X.Z)(),[Lr,Rr]=(0,f.useState)(!1),Gr=document.getElementById("digg_sidebar");(0,f.useEffect)(()=>{zr()},[]);const zr=()=>q(void 0,null,function*(){if(st.insightsQuestions&&!st.insightsQuestions.length){const vn={request:{}};return yield Qt.get(S.getInsightsQuestions(vn)).then(fn=>{Ft(Z.nN(fn.data))}).catch(fn=>{Vt.addToast({message:fn.response||"Something went wrong",timeout:2e3,type:"error"})})}}),pr={fill:Jt.palette.text.tertiary,width:"20px",height:"20px"};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{style:{display:"inherit",cursor:"pointer"},children:(0,n.jsx)(P.Z,{title:"Insights",children:(0,n.jsx)(l.Z,{className:"insightsButton",btnText:"",type:"button",variant:"contained",color:"secondary",style:{color:Jt.palette.text.tertiary,backgroundColor:"transparent",minWidth:"0px",padding:"10px 15px",marginRight:"15px"},startIcon:(0,n.jsx)(ze,xe({},pr)),onClick:()=>{Rr(!0),Gr==null||Gr.classList.add("Sidebar-backdrop"),Oe(!0),localStorage.setItem("isInsightsOpened","true")}})})}),(0,n.jsx)(Je.Z,{sx:{color:"#fff",zIndex:vn=>vn.zIndex.drawer+1},open:Lr,children:Lr&&(0,n.jsx)(ue,{showQuestions:Te,viewStateChange:Rr,stateChanger:Oe,sidebarEl:Gr})})]})}},61324:function(_e,$,t){"use strict";var n=t(67557);const f={getDarkModeSFScoringIcon(){return(0,n.jsxs)("svg",{width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("g",{"clip-path":"url(#clip0_530_329)",children:(0,n.jsx)("path",{d:"M12.5 25C10.8062 25 9.20833 24.2563 8.11667 22.9594C6.5125 23.1427 4.85938 22.5375 3.66146 21.3396C2.46458 20.1417 1.86042 18.4854 2.00521 16.7958C0.74375 15.7917 0 14.1937 0 12.5C0 10.8062 0.74375 9.20833 2.04167 8.11667C1.85938 6.51562 2.46354 4.85938 3.66146 3.66146C4.85938 2.46354 6.5125 1.85625 8.20417 2.00521C9.20833 0.744792 10.8062 0 12.5 0C14.1937 0 15.7917 0.74375 16.8833 2.04062C18.4896 1.86042 20.1406 2.4625 21.3385 3.66042C22.5354 4.85833 23.1396 6.51458 22.9948 8.20417C24.2563 9.20833 25 10.8062 25 12.5C25 14.1937 24.2563 15.7917 22.9583 16.8833C23.1406 18.4844 22.5365 20.1406 21.3385 21.3385C20.1396 22.5365 18.4833 23.1365 16.7958 22.9948C15.7917 24.2552 14.1937 25 12.5 25ZM8.20104 20.9125C8.78542 20.9125 9.32708 21.1635 9.70937 21.6167C10.4052 22.4427 11.4219 22.9167 12.5 22.9167C13.5781 22.9167 14.5948 22.4427 15.2906 21.6167C15.7104 21.1177 16.3219 20.8656 16.974 20.9188C18.051 21.0094 19.1031 20.6271 19.8656 19.8646C20.6271 19.1031 21.0115 18.049 20.9198 16.9729C20.8635 16.3229 21.1177 15.7094 21.6177 15.2885C22.4427 14.5937 22.9167 13.576 22.9167 12.499C22.9167 11.4219 22.4427 10.4042 21.6177 9.70937C21.1187 9.28958 20.8635 8.675 20.9198 8.025C21.0115 6.94896 20.6281 5.89479 19.8656 5.13333C19.1031 4.37187 18.0448 3.99375 16.975 4.07917C16.3229 4.1375 15.7104 3.88021 15.2906 3.38229C14.5948 2.55625 13.5781 2.08229 12.5 2.08229C11.4219 2.08229 10.4052 2.55625 9.70937 3.38229C9.28854 3.88125 8.675 4.13125 8.02604 4.08021C6.94375 3.98646 5.89687 4.37187 5.13437 5.13437C4.37292 5.89583 3.98854 6.95 4.08021 8.02604C4.13646 8.67604 3.88229 9.28958 3.38229 9.71042C2.55729 10.4052 2.08333 11.4229 2.08333 12.5C2.08333 13.5771 2.55729 14.5948 3.38229 15.2896C3.88125 15.7094 4.13646 16.324 4.08021 16.974C3.98854 18.05 4.37187 19.1042 5.13437 19.8656C5.89687 20.6271 6.96042 21.0062 8.025 20.9198C8.08437 20.9146 8.14271 20.9125 8.20104 20.9125ZM13.3344 15.7656L18.2708 11.0073C18.6844 10.6083 18.6969 9.94792 18.2969 9.53437C17.8979 9.12083 17.2385 9.10833 16.824 9.50729L11.874 14.2792C11.4667 14.6865 10.8094 14.6865 10.374 14.2531L8.00104 12.0479C7.58229 11.6573 6.92188 11.6802 6.52917 12.1021C6.1375 12.5229 6.16146 13.1823 6.58333 13.574L8.92917 15.7531C9.53958 16.3635 10.3427 16.6688 11.1437 16.6688C11.9406 16.6688 12.7333 16.3677 13.3354 15.7667L13.3344 15.7656Z",fill:"white"})}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_530_329",children:(0,n.jsx)("rect",{width:"25",height:"25",fill:"white"})})})]})},getSFScoringIcon(){return(0,n.jsxs)("svg",{width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("g",{"clip-path":"url(#clip0_530_417)",children:(0,n.jsx)("path",{d:"M12.5 25C10.8062 25 9.20833 24.2563 8.11667 22.9594C6.5125 23.1427 4.85938 22.5375 3.66146 21.3396C2.46458 20.1417 1.86042 18.4854 2.00521 16.7958C0.74375 15.7917 0 14.1937 0 12.5C0 10.8062 0.74375 9.20833 2.04167 8.11667C1.85938 6.51562 2.46354 4.85938 3.66146 3.66146C4.85938 2.46354 6.5125 1.85625 8.20417 2.00521C9.20833 0.744792 10.8062 0 12.5 0C14.1937 0 15.7917 0.74375 16.8833 2.04062C18.4896 1.86042 20.1406 2.4625 21.3385 3.66042C22.5354 4.85833 23.1396 6.51458 22.9948 8.20417C24.2563 9.20833 25 10.8062 25 12.5C25 14.1937 24.2563 15.7917 22.9583 16.8833C23.1406 18.4844 22.5365 20.1406 21.3385 21.3385C20.1396 22.5365 18.4833 23.1365 16.7958 22.9948C15.7917 24.2552 14.1937 25 12.5 25ZM8.20104 20.9125C8.78542 20.9125 9.32708 21.1635 9.70937 21.6167C10.4052 22.4427 11.4219 22.9167 12.5 22.9167C13.5781 22.9167 14.5948 22.4427 15.2906 21.6167C15.7104 21.1177 16.3219 20.8656 16.974 20.9188C18.051 21.0094 19.1031 20.6271 19.8656 19.8646C20.6271 19.1031 21.0115 18.049 20.9198 16.9729C20.8635 16.3229 21.1177 15.7094 21.6177 15.2885C22.4427 14.5937 22.9167 13.576 22.9167 12.499C22.9167 11.4219 22.4427 10.4042 21.6177 9.70937C21.1187 9.28958 20.8635 8.675 20.9198 8.025C21.0115 6.94896 20.6281 5.89479 19.8656 5.13333C19.1031 4.37187 18.0448 3.99375 16.975 4.07917C16.3229 4.1375 15.7104 3.88021 15.2906 3.38229C14.5948 2.55625 13.5781 2.08229 12.5 2.08229C11.4219 2.08229 10.4052 2.55625 9.70937 3.38229C9.28854 3.88125 8.675 4.13125 8.02604 4.08021C6.94375 3.98646 5.89687 4.37187 5.13437 5.13437C4.37292 5.89583 3.98854 6.95 4.08021 8.02604C4.13646 8.67604 3.88229 9.28958 3.38229 9.71042C2.55729 10.4052 2.08333 11.4229 2.08333 12.5C2.08333 13.5771 2.55729 14.5948 3.38229 15.2896C3.88125 15.7094 4.13646 16.324 4.08021 16.974C3.98854 18.05 4.37187 19.1042 5.13437 19.8656C5.89687 20.6271 6.96042 21.0062 8.025 20.9198C8.08437 20.9146 8.14271 20.9125 8.20104 20.9125ZM13.3344 15.7656L18.2708 11.0073C18.6844 10.6083 18.6969 9.94792 18.2969 9.53437C17.8979 9.12083 17.2385 9.10833 16.824 9.50729L11.874 14.2792C11.4667 14.6865 10.8094 14.6865 10.374 14.2531L8.00104 12.0479C7.58229 11.6573 6.92188 11.6802 6.52917 12.1021C6.1375 12.5229 6.16146 13.1823 6.58333 13.574L8.92917 15.7531C9.53958 16.3635 10.3427 16.6688 11.1437 16.6688C11.9406 16.6688 12.7333 16.3677 13.3354 15.7667L13.3344 15.7656Z",fill:"#BFBFBF"})}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_530_417",children:(0,n.jsx)("rect",{width:"25",height:"25",fill:"white"})})})]})}};$.Z=f},83242:function(_e,$,t){"use strict";var n=t(67557),f=t(2480);const l={getDashboardIcon(u){return(0,n.jsxs)("svg",{width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsxs)("g",{"clip-path":"url(#clip0_530_398)",children:[(0,n.jsx)("path",{d:"M23.9583 22.9167H5.20833C4.37953 22.9167 3.58468 22.5874 2.99862 22.0014C2.41257 21.4153 2.08333 20.6205 2.08333 19.7917V1.04167C2.08333 0.765399 1.97359 0.500448 1.77824 0.305097C1.58289 0.109747 1.31793 0 1.04167 0C0.765399 0 0.500448 0.109747 0.305097 0.305097C0.109747 0.500448 0 0.765399 0 1.04167L0 19.7917C0.00165402 21.1725 0.550919 22.4963 1.52731 23.4727C2.50371 24.4491 3.82751 24.9983 5.20833 25H23.9583C24.2346 25 24.4996 24.8903 24.6949 24.6949C24.8903 24.4996 25 24.2346 25 23.9583C25 23.6821 24.8903 23.4171 24.6949 23.2218C24.4996 23.0264 24.2346 22.9167 23.9583 22.9167Z",fill:"#BFBFBF"}),(0,n.jsx)("path",{d:"M6.24967 20.8333C6.52594 20.8333 6.79089 20.7236 6.98624 20.5282C7.18159 20.3329 7.29134 20.0679 7.29134 19.7917V12.5C7.29134 12.2237 7.18159 11.9588 6.98624 11.7634C6.79089 11.5681 6.52594 11.4583 6.24967 11.4583C5.97341 11.4583 5.70846 11.5681 5.51311 11.7634C5.31775 11.9588 5.20801 12.2237 5.20801 12.5V19.7917C5.20801 20.0679 5.31775 20.3329 5.51311 20.5282C5.70846 20.7236 5.97341 20.8333 6.24967 20.8333Z",fill:"#BFBFBF"}),(0,n.jsx)("path",{d:"M10.417 10.4167V19.7917C10.417 20.0679 10.5267 20.3329 10.7221 20.5282C10.9174 20.7236 11.1824 20.8333 11.4587 20.8333C11.7349 20.8333 11.9999 20.7236 12.1952 20.5282C12.3906 20.3329 12.5003 20.0679 12.5003 19.7917V10.4167C12.5003 10.1404 12.3906 9.87545 12.1952 9.6801C11.9999 9.48475 11.7349 9.375 11.4587 9.375C11.1824 9.375 10.9174 9.48475 10.7221 9.6801C10.5267 9.87545 10.417 10.1404 10.417 10.4167Z",fill:"#BFBFBF"}),(0,n.jsx)("path",{d:"M15.625 13.5417V19.7917C15.625 20.0679 15.7347 20.3329 15.9301 20.5282C16.1254 20.7236 16.3904 20.8333 16.6667 20.8333C16.9429 20.8333 17.2079 20.7236 17.4032 20.5282C17.5986 20.3329 17.7083 20.0679 17.7083 19.7917V13.5417C17.7083 13.2654 17.5986 13.0004 17.4032 12.8051C17.2079 12.6097 16.9429 12.5 16.6667 12.5C16.3904 12.5 16.1254 12.6097 15.9301 12.8051C15.7347 13.0004 15.625 13.2654 15.625 13.5417Z",fill:"#BFBFBF"}),(0,n.jsx)("path",{d:"M20.833 9.37501V19.7917C20.833 20.0679 20.9428 20.3329 21.1381 20.5282C21.3335 20.7236 21.5984 20.8333 21.8747 20.8333C22.1509 20.8333 22.4159 20.7236 22.6112 20.5282C22.8066 20.3329 22.9163 20.0679 22.9163 19.7917V9.37501C22.9163 9.09874 22.8066 8.83379 22.6112 8.63844C22.4159 8.44309 22.1509 8.33334 21.8747 8.33334C21.5984 8.33334 21.3335 8.44309 21.1381 8.63844C20.9428 8.83379 20.833 9.09874 20.833 9.37501Z",fill:"#BFBFBF"}),(0,n.jsx)("path",{d:"M6.25043 9.37499C6.52667 9.37493 6.79158 9.26514 6.98689 9.06978L10.7223 5.33436C10.9208 5.14522 11.1845 5.03972 11.4588 5.03972C11.733 5.03972 11.9967 5.14522 12.1952 5.33436L14.4577 7.59686C15.0437 8.18271 15.8385 8.51182 16.6671 8.51182C17.4957 8.51182 18.2904 8.18271 18.8765 7.59686L24.6952 1.77811C24.885 1.58165 24.99 1.31852 24.9876 1.0454C24.9852 0.77228 24.8757 0.511017 24.6825 0.317884C24.4894 0.124751 24.2281 0.0151996 23.955 0.0128262C23.6819 0.0104529 23.4188 0.115447 23.2223 0.305195L17.4036 6.1229C17.2082 6.31819 16.9433 6.42789 16.6671 6.42789C16.3909 6.42789 16.126 6.31819 15.9306 6.1229L13.6681 3.86144C13.0821 3.2756 12.2874 2.94649 11.4588 2.94649C10.6301 2.94649 9.83541 3.2756 9.24939 3.86144L5.51397 7.59686C5.36834 7.74254 5.26916 7.92813 5.22899 8.13016C5.18881 8.3322 5.20944 8.54161 5.28826 8.73192C5.36709 8.92223 5.50057 9.0849 5.67183 9.19936C5.84309 9.31383 6.04444 9.37494 6.25043 9.37499Z",fill:"#BFBFBF"})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_530_398",children:(0,n.jsx)("rect",{width:"25",height:"25",fill:"white"})})})]})},getDashboardIcon1(u){return(0,n.jsxs)("svg",{width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsxs)("g",{"clip-path":"url(#clip0_528_285)",children:[(0,n.jsx)("path",{d:"M23.9583 22.9167H5.20833C4.37953 22.9167 3.58468 22.5874 2.99862 22.0014C2.41257 21.4153 2.08333 20.6205 2.08333 19.7917V1.04167C2.08333 0.765399 1.97359 0.500448 1.77824 0.305097C1.58289 0.109747 1.31793 0 1.04167 0C0.765399 0 0.500448 0.109747 0.305097 0.305097C0.109747 0.500448 0 0.765399 0 1.04167L0 19.7917C0.00165402 21.1725 0.550919 22.4963 1.52731 23.4727C2.50371 24.4491 3.82751 24.9983 5.20833 25H23.9583C24.2346 25 24.4996 24.8903 24.6949 24.6949C24.8903 24.4996 25 24.2346 25 23.9583C25 23.6821 24.8903 23.4171 24.6949 23.2218C24.4996 23.0264 24.2346 22.9167 23.9583 22.9167Z",fill:"#bfbfbf"}),(0,n.jsx)("path",{d:"M6.24967 20.8333C6.52594 20.8333 6.79089 20.7236 6.98624 20.5282C7.18159 20.3329 7.29134 20.0679 7.29134 19.7917V12.5C7.29134 12.2237 7.18159 11.9588 6.98624 11.7634C6.79089 11.5681 6.52594 11.4583 6.24967 11.4583C5.97341 11.4583 5.70846 11.5681 5.51311 11.7634C5.31775 11.9588 5.20801 12.2237 5.20801 12.5V19.7917C5.20801 20.0679 5.31775 20.3329 5.51311 20.5282C5.70846 20.7236 5.97341 20.8333 6.24967 20.8333Z",fill:"#bfbfbf"}),(0,n.jsx)("path",{d:"M10.417 10.4167V19.7917C10.417 20.0679 10.5267 20.3329 10.7221 20.5282C10.9174 20.7236 11.1824 20.8333 11.4587 20.8333C11.7349 20.8333 11.9999 20.7236 12.1952 20.5282C12.3906 20.3329 12.5003 20.0679 12.5003 19.7917V10.4167C12.5003 10.1404 12.3906 9.87545 12.1952 9.6801C11.9999 9.48475 11.7349 9.375 11.4587 9.375C11.1824 9.375 10.9174 9.48475 10.7221 9.6801C10.5267 9.87545 10.417 10.1404 10.417 10.4167Z",fill:"#bfbfbf"}),(0,n.jsx)("path",{d:"M15.625 13.5417V19.7917C15.625 20.0679 15.7347 20.3329 15.9301 20.5282C16.1254 20.7236 16.3904 20.8333 16.6667 20.8333C16.9429 20.8333 17.2079 20.7236 17.4032 20.5282C17.5986 20.3329 17.7083 20.0679 17.7083 19.7917V13.5417C17.7083 13.2654 17.5986 13.0004 17.4032 12.8051C17.2079 12.6097 16.9429 12.5 16.6667 12.5C16.3904 12.5 16.1254 12.6097 15.9301 12.8051C15.7347 13.0004 15.625 13.2654 15.625 13.5417Z",fill:"#bfbfbf"}),(0,n.jsx)("path",{d:"M20.833 9.37501V19.7917C20.833 20.0679 20.9428 20.3329 21.1381 20.5282C21.3335 20.7236 21.5984 20.8333 21.8747 20.8333C22.1509 20.8333 22.4159 20.7236 22.6112 20.5282C22.8066 20.3329 22.9163 20.0679 22.9163 19.7917V9.37501C22.9163 9.09874 22.8066 8.83379 22.6112 8.63844C22.4159 8.44309 22.1509 8.33334 21.8747 8.33334C21.5984 8.33334 21.3335 8.44309 21.1381 8.63844C20.9428 8.83379 20.833 9.09874 20.833 9.37501Z",fill:"#bfbfbf"}),(0,n.jsx)("path",{d:"M6.25043 9.375C6.52667 9.37494 6.79158 9.26516 6.98689 9.06979L10.7223 5.33438C10.9208 5.14524 11.1845 5.03973 11.4588 5.03973C11.733 5.03973 11.9967 5.14524 12.1952 5.33438L14.4577 7.59688C15.0437 8.18272 15.8385 8.51183 16.6671 8.51183C17.4957 8.51183 18.2904 8.18272 18.8765 7.59688L24.6952 1.77813C24.885 1.58167 24.99 1.31854 24.9876 1.04542C24.9852 0.772296 24.8757 0.511033 24.6825 0.317899C24.4894 0.124766 24.2281 0.0152149 23.955 0.0128415C23.6819 0.0104681 23.4188 0.115462 23.2223 0.30521L17.4036 6.12292C17.2082 6.3182 16.9433 6.4279 16.6671 6.4279C16.3909 6.4279 16.126 6.3182 15.9306 6.12292L13.6681 3.86146C13.0821 3.27561 12.2874 2.9465 11.4588 2.9465C10.6301 2.9465 9.83541 3.27561 9.24939 3.86146L5.51397 7.59688C5.36834 7.74256 5.26916 7.92814 5.22899 8.13018C5.18881 8.33221 5.20944 8.54162 5.28826 8.73193C5.36709 8.92225 5.50057 9.08492 5.67183 9.19938C5.84309 9.31384 6.04444 9.37496 6.25043 9.375Z",fill:"#bfbfbf"})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_528_285",children:(0,n.jsx)("rect",{width:"25",height:"25",fill:"#bfbfbf"})})})]})},getCampaignIcon(u){return(0,n.jsxs)("svg",{width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsxs)("g",{"clip-path":"url(#clip0_562_465)",children:[(0,n.jsx)("path",{d:"M1.04167 4.94791H3.89167C4.11525 5.77055 4.60331 6.49676 5.28055 7.01451C5.95779 7.53225 6.78658 7.81276 7.63906 7.81276C8.49154 7.81276 9.32033 7.53225 9.99758 7.01451C10.6748 6.49676 11.1629 5.77055 11.3865 4.94791H23.9583C24.2346 4.94791 24.4996 4.83816 24.6949 4.64281C24.8903 4.44746 25 4.18251 25 3.90624C25 3.62998 24.8903 3.36503 24.6949 3.16968C24.4996 2.97432 24.2346 2.86458 23.9583 2.86458H11.3865C11.1629 2.04194 10.6748 1.31573 9.99758 0.797984C9.32033 0.280237 8.49154 -0.000274658 7.63906 -0.000274658C6.78658 -0.000274658 5.95779 0.280237 5.28055 0.797984C4.60331 1.31573 4.11525 2.04194 3.89167 2.86458H1.04167C0.765399 2.86458 0.500448 2.97432 0.305097 3.16968C0.109747 3.36503 0 3.62998 0 3.90624C0 4.18251 0.109747 4.44746 0.305097 4.64281C0.500448 4.83816 0.765399 4.94791 1.04167 4.94791ZM7.63854 2.08333C7.99908 2.08333 8.35152 2.19024 8.6513 2.39055C8.95108 2.59085 9.18472 2.87555 9.3227 3.20864C9.46067 3.54174 9.49677 3.90827 9.42643 4.26188C9.35609 4.61549 9.18248 4.9403 8.92754 5.19524C8.6726 5.45018 8.34779 5.6238 7.99417 5.69413C7.64056 5.76447 7.27404 5.72837 6.94094 5.5904C6.60785 5.45243 6.32315 5.21878 6.12284 4.919C5.92254 4.61923 5.81563 4.26678 5.81563 3.90624C5.81618 3.42295 6.00841 2.9596 6.35015 2.61786C6.6919 2.27611 7.15524 2.08388 7.63854 2.08333Z",fill:"#BFBFBF"}),(0,n.jsx)("path",{d:"M23.9583 11.4583H21.1083C20.8851 10.6355 20.3973 9.90904 19.7201 9.39107C19.0429 8.87311 18.214 8.59247 17.3615 8.59247C16.5089 8.59247 15.68 8.87311 15.0028 9.39107C14.3257 9.90904 13.8378 10.6355 13.6146 11.4583H1.04167C0.765399 11.4583 0.500448 11.5681 0.305097 11.7634C0.109747 11.9588 0 12.2237 0 12.5C0 12.7763 0.109747 13.0412 0.305097 13.2366C0.500448 13.4319 0.765399 13.5417 1.04167 13.5417H13.6146C13.8378 14.3645 14.3257 15.091 15.0028 15.6089C15.68 16.1269 16.5089 16.4075 17.3615 16.4075C18.214 16.4075 19.0429 16.1269 19.7201 15.6089C20.3973 15.091 20.8851 14.3645 21.1083 13.5417H23.9583C24.2346 13.5417 24.4996 13.4319 24.6949 13.2366C24.8903 13.0412 25 12.7763 25 12.5C25 12.2237 24.8903 11.9588 24.6949 11.7634C24.4996 11.5681 24.2346 11.4583 23.9583 11.4583ZM17.3615 14.3229C17.0009 14.3229 16.6485 14.216 16.3487 14.0157C16.0489 13.8154 15.8153 13.5307 15.6773 13.1976C15.5393 12.8645 15.5032 12.498 15.5736 12.1444C15.6439 11.7908 15.8175 11.4659 16.0725 11.211C16.3274 10.9561 16.6522 10.7825 17.0058 10.7121C17.3594 10.6418 17.726 10.6779 18.0591 10.8158C18.3922 10.9538 18.6769 11.1875 18.8772 11.4872C19.0775 11.787 19.1844 12.1395 19.1844 12.5C19.1838 12.9833 18.9916 13.4466 18.6498 13.7884C18.3081 14.1301 17.8448 14.3224 17.3615 14.3229Z",fill:"#BFBFBF"}),(0,n.jsx)("path",{d:"M23.9583 20.0521H11.3865C11.1629 19.2294 10.6748 18.5032 9.99758 17.9855C9.32033 17.4677 8.49154 17.1872 7.63906 17.1872C6.78658 17.1872 5.95779 17.4677 5.28055 17.9855C4.60331 18.5032 4.11525 19.2294 3.89167 20.0521H1.04167C0.765399 20.0521 0.500448 20.1618 0.305097 20.3572C0.109747 20.5525 0 20.8175 0 21.0937C0 21.37 0.109747 21.635 0.305097 21.8303C0.500448 22.0257 0.765399 22.1354 1.04167 22.1354H3.89167C4.11525 22.958 4.60331 23.6843 5.28055 24.202C5.95779 24.7198 6.78658 25.0003 7.63906 25.0003C8.49154 25.0003 9.32033 24.7198 9.99758 24.202C10.6748 23.6843 11.1629 22.958 11.3865 22.1354H23.9583C24.2346 22.1354 24.4996 22.0257 24.6949 21.8303C24.8903 21.635 25 21.37 25 21.0937C25 20.8175 24.8903 20.5525 24.6949 20.3572C24.4996 20.1618 24.2346 20.0521 23.9583 20.0521ZM7.63854 22.9167C7.278 22.9167 6.92556 22.8098 6.62578 22.6094C6.32601 22.4091 6.09236 22.1244 5.95439 21.7913C5.81641 21.4583 5.78031 21.0917 5.85065 20.7381C5.92099 20.3845 6.0946 20.0597 6.34954 19.8047C6.60448 19.5498 6.9293 19.3762 7.28291 19.3059C7.63652 19.2355 8.00305 19.2716 8.33614 19.4096C8.66924 19.5476 8.95394 19.7812 9.15424 20.081C9.35455 20.3808 9.46146 20.7332 9.46146 21.0937C9.46063 21.577 9.26831 22.0401 8.92663 22.3818C8.58494 22.7235 8.12176 22.9158 7.63854 22.9167Z",fill:"#BFBFBF"})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_562_465",children:(0,n.jsx)("rect",{width:"25",height:"25",fill:"white"})})})]})},getDarkModeCustomReportingIcon(u){return(0,n.jsxs)("svg",{width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("g",{"clip-path":"url(#clip0_530_327)",children:(0,n.jsx)("path",{d:"M17.708 14.5833C17.708 14.8596 17.5983 15.1245 17.4029 15.3199C17.2076 15.5152 16.9426 15.625 16.6663 15.625H8.33301C8.05674 15.625 7.79179 15.5152 7.59644 15.3199C7.40109 15.1245 7.29134 14.8596 7.29134 14.5833C7.29134 14.3071 7.40109 14.0421 7.59644 13.8468C7.79179 13.6514 8.05674 13.5417 8.33301 13.5417H16.6663C16.9426 13.5417 17.2076 13.6514 17.4029 13.8468C17.5983 14.0421 17.708 14.3071 17.708 14.5833ZM13.5413 17.7083H8.33301C8.05674 17.7083 7.79179 17.8181 7.59644 18.0134C7.40109 18.2088 7.29134 18.4737 7.29134 18.75C7.29134 19.0263 7.40109 19.2912 7.59644 19.4866C7.79179 19.6819 8.05674 19.7917 8.33301 19.7917H13.5413C13.8176 19.7917 14.0826 19.6819 14.2779 19.4866C14.4733 19.2912 14.583 19.0263 14.583 18.75C14.583 18.4737 14.4733 18.2088 14.2779 18.0134C14.0826 17.8181 13.8176 17.7083 13.5413 17.7083ZM22.9163 10.9219V19.7917C22.9147 21.1725 22.3654 22.4963 21.389 23.4727C20.4126 24.4491 19.0888 24.9983 17.708 25H7.29134C5.91051 24.9983 4.58671 24.4491 3.61032 23.4727C2.63393 22.4963 2.08466 21.1725 2.08301 19.7917V5.20833C2.08466 3.8275 2.63393 2.5037 3.61032 1.52731C4.58671 0.550912 5.91051 0.00164751 7.29134 -6.50854e-06H11.9945C12.9524 -0.00247206 13.9013 0.184981 14.7864 0.551513C15.6714 0.918046 16.475 1.45639 17.1507 2.13541L20.7799 5.76666C21.4593 6.44191 21.998 7.24526 22.3647 8.13017C22.7314 9.01509 22.9189 9.96397 22.9163 10.9219ZM15.6778 3.60833C15.35 3.29079 14.9819 3.01762 14.583 2.79583V7.29166C14.583 7.56793 14.6928 7.83288 14.8881 8.02823C15.0835 8.22358 15.3484 8.33333 15.6247 8.33333H20.1205C19.8986 7.93457 19.625 7.56681 19.307 7.23958L15.6778 3.60833ZM20.833 10.9219C20.833 10.75 20.7997 10.5854 20.784 10.4167H15.6247C14.7959 10.4167 14.001 10.0874 13.415 9.50137C12.8289 8.91532 12.4997 8.12046 12.4997 7.29166V2.13229C12.3309 2.11666 12.1653 2.08333 11.9945 2.08333H7.29134C6.46254 2.08333 5.66768 2.41257 5.08163 2.99862C4.49558 3.58467 4.16634 4.37953 4.16634 5.20833V19.7917C4.16634 20.6205 4.49558 21.4153 5.08163 22.0014C5.66768 22.5874 6.46254 22.9167 7.29134 22.9167H17.708C18.5368 22.9167 19.3317 22.5874 19.9177 22.0014C20.5038 21.4153 20.833 20.6205 20.833 19.7917V10.9219Z",fill:"#BFBFBF"})}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_530_327",children:(0,n.jsx)("rect",{width:"25",height:"25",fill:"white"})})})]})},getCustomReportingIcon(u){return(0,n.jsxs)("svg",{width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("g",{"clip-path":"url(#clip0_530_407)",children:(0,n.jsx)("path",{d:"M17.708 14.5833C17.708 14.8596 17.5983 15.1245 17.4029 15.3199C17.2076 15.5152 16.9426 15.625 16.6663 15.625H8.33301C8.05674 15.625 7.79179 15.5152 7.59644 15.3199C7.40109 15.1245 7.29134 14.8596 7.29134 14.5833C7.29134 14.3071 7.40109 14.0421 7.59644 13.8468C7.79179 13.6514 8.05674 13.5417 8.33301 13.5417H16.6663C16.9426 13.5417 17.2076 13.6514 17.4029 13.8468C17.5983 14.0421 17.708 14.3071 17.708 14.5833ZM13.5413 17.7083H8.33301C8.05674 17.7083 7.79179 17.8181 7.59644 18.0134C7.40109 18.2088 7.29134 18.4737 7.29134 18.75C7.29134 19.0263 7.40109 19.2912 7.59644 19.4866C7.79179 19.6819 8.05674 19.7917 8.33301 19.7917H13.5413C13.8176 19.7917 14.0826 19.6819 14.2779 19.4866C14.4733 19.2912 14.583 19.0263 14.583 18.75C14.583 18.4737 14.4733 18.2088 14.2779 18.0134C14.0826 17.8181 13.8176 17.7083 13.5413 17.7083ZM22.9163 10.9219V19.7917C22.9147 21.1725 22.3654 22.4963 21.389 23.4727C20.4126 24.4491 19.0888 24.9983 17.708 25H7.29134C5.91051 24.9983 4.58671 24.4491 3.61032 23.4727C2.63393 22.4963 2.08466 21.1725 2.08301 19.7917V5.20833C2.08466 3.8275 2.63393 2.5037 3.61032 1.52731C4.58671 0.550912 5.91051 0.00164751 7.29134 -6.50854e-06H11.9945C12.9524 -0.00247206 13.9013 0.184981 14.7864 0.551513C15.6714 0.918046 16.475 1.45639 17.1507 2.13541L20.7799 5.76666C21.4593 6.44191 21.998 7.24526 22.3647 8.13017C22.7314 9.01509 22.9189 9.96397 22.9163 10.9219ZM15.6778 3.60833C15.35 3.29079 14.9819 3.01762 14.583 2.79583V7.29166C14.583 7.56793 14.6928 7.83288 14.8881 8.02823C15.0835 8.22358 15.3484 8.33333 15.6247 8.33333H20.1205C19.8986 7.93457 19.625 7.56681 19.307 7.23958L15.6778 3.60833ZM20.833 10.9219C20.833 10.75 20.7997 10.5854 20.784 10.4167H15.6247C14.7959 10.4167 14.001 10.0874 13.415 9.50137C12.8289 8.91532 12.4997 8.12046 12.4997 7.29166V2.13229C12.3309 2.11666 12.1653 2.08333 11.9945 2.08333H7.29134C6.46254 2.08333 5.66768 2.41257 5.08163 2.99862C4.49558 3.58467 4.16634 4.37953 4.16634 5.20833V19.7917C4.16634 20.6205 4.49558 21.4153 5.08163 22.0014C5.66768 22.5874 6.46254 22.9167 7.29134 22.9167H17.708C18.5368 22.9167 19.3317 22.5874 19.9177 22.0014C20.5038 21.4153 20.833 20.6205 20.833 19.7917V10.9219Z",fill:"#BFBFBF"})}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_530_407",children:(0,n.jsx)("rect",{width:"25",height:"25",fill:"white"})})})]})},getDarkModeNotificationsIcon(u){return(0,n.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 100 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"white",children:[(0,n.jsx)("path",{d:"M54.1141 24.43C53.1941 24.43 52.4542 23.68 52.4542 22.76V17.16C52.4542 15.32 50.9642 13.83 49.1342 13.83C47.3042 13.83 45.8141 15.33 45.8141 17.16V22.76C45.8141 23.68 45.0742 24.43 44.1542 24.43C43.2342 24.43 42.4941 23.69 42.4941 22.76V17.16C42.4941 13.48 45.4742 10.49 49.1342 10.49C52.7942 10.49 55.7742 13.48 55.7742 17.16V22.76C55.7742 23.68 55.0341 24.43 54.1141 24.43Z",fill:"white",stroke:"white"}),(0,n.jsx)("path",{d:"M49.1339 90.5C42.7339 90.5 37.5239 85.27 37.5239 78.83C37.5239 77.91 38.2639 77.16 39.1839 77.16C40.1039 77.16 40.8439 77.91 40.8439 78.83C40.8439 83.42 44.5639 87.16 49.1439 87.16C53.7239 87.16 57.4339 83.42 57.4339 78.83C57.4339 77.91 58.1739 77.16 59.0939 77.16C60.0139 77.16 60.7539 77.91 60.7539 78.83C60.7539 85.26 55.5439 90.5 49.1439 90.5H49.1339Z",fill:"white",stroke:"white"}),(0,n.jsx)("path",{d:"M77.3441 80.5H20.9341C18.1941 80.5 15.9541 78.26 15.9541 75.5C15.9541 74.04 16.5841 72.65 17.6941 71.7C22.9241 67.26 25.9041 60.8 25.9041 53.96V43.83C25.9041 30.96 36.3241 20.5 49.1341 20.5C61.9441 20.5 72.3641 30.97 72.3641 43.83V53.96C72.3641 60.8 75.3441 67.26 80.5541 71.68C81.6941 72.66 82.3241 74.04 82.3241 75.5C82.3241 78.26 80.0941 80.5 77.3441 80.5ZM49.1341 23.83C38.1541 23.83 29.2241 32.8 29.2241 43.83V53.96C29.2241 61.79 25.8141 69.17 19.8641 74.22C19.4841 74.55 19.2741 75.01 19.2741 75.5C19.2741 76.42 20.0141 77.17 20.9341 77.17H77.3441C78.2641 77.17 79.0041 76.42 79.0041 75.5C79.0041 75.01 78.7941 74.55 78.4241 74.23C72.4641 69.17 69.0541 61.78 69.0541 53.96V43.83C69.0541 32.8 60.1241 23.83 49.1441 23.83H49.1341Z",fill:"white",stroke:"white"})]})},getNotificationsIcon(u){return(0,n.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 100 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M54.1141 24.43C53.1941 24.43 52.4542 23.68 52.4542 22.76V17.16C52.4542 15.32 50.9642 13.83 49.1342 13.83C47.3042 13.83 45.8141 15.33 45.8141 17.16V22.76C45.8141 23.68 45.0742 24.43 44.1542 24.43C43.2342 24.43 42.4941 23.69 42.4941 22.76V17.16C42.4941 13.48 45.4742 10.49 49.1342 10.49C52.7942 10.49 55.7742 13.48 55.7742 17.16V22.76C55.7742 23.68 55.0341 24.43 54.1141 24.43Z",fill:"#BFBFBF",stroke:"#333"}),(0,n.jsx)("path",{d:"M49.1339 90.5C42.7339 90.5 37.5239 85.27 37.5239 78.83C37.5239 77.91 38.2639 77.16 39.1839 77.16C40.1039 77.16 40.8439 77.91 40.8439 78.83C40.8439 83.42 44.5639 87.16 49.1439 87.16C53.7239 87.16 57.4339 83.42 57.4339 78.83C57.4339 77.91 58.1739 77.16 59.0939 77.16C60.0139 77.16 60.7539 77.91 60.7539 78.83C60.7539 85.26 55.5439 90.5 49.1439 90.5H49.1339Z",fill:"#BFBFBF",stroke:"#333"}),(0,n.jsx)("path",{d:"M77.3441 80.5H20.9341C18.1941 80.5 15.9541 78.26 15.9541 75.5C15.9541 74.04 16.5841 72.65 17.6941 71.7C22.9241 67.26 25.9041 60.8 25.9041 53.96V43.83C25.9041 30.96 36.3241 20.5 49.1341 20.5C61.9441 20.5 72.3641 30.97 72.3641 43.83V53.96C72.3641 60.8 75.3441 67.26 80.5541 71.68C81.6941 72.66 82.3241 74.04 82.3241 75.5C82.3241 78.26 80.0941 80.5 77.3441 80.5ZM49.1341 23.83C38.1541 23.83 29.2241 32.8 29.2241 43.83V53.96C29.2241 61.79 25.8141 69.17 19.8641 74.22C19.4841 74.55 19.2741 75.01 19.2741 75.5C19.2741 76.42 20.0141 77.17 20.9341 77.17H77.3441C78.2641 77.17 79.0041 76.42 79.0041 75.5C79.0041 75.01 78.7941 74.55 78.4241 74.23C72.4641 69.17 69.0541 61.78 69.0541 53.96V43.83C69.0541 32.8 60.1241 23.83 49.1441 23.83H49.1341Z",fill:"#BFBFBF",stroke:"#333"})]})},getSettingsIcon(u){return(0,n.jsxs)("svg",{width:"28",height:"28",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsxs)("g",{"clip-path":"url(#clip0_530_419)",children:[(0,n.jsx)("path",{d:"M12.5002 8.33334C11.6761 8.33334 10.8705 8.57771 10.1853 9.03555C9.50008 9.49339 8.96603 10.1441 8.65067 10.9055C8.3353 11.6669 8.25279 12.5046 8.41356 13.3129C8.57433 14.1211 8.97117 14.8636 9.55389 15.4463C10.1366 16.029 10.879 16.4258 11.6873 16.5866C12.4955 16.7474 13.3333 16.6649 14.0947 16.3495C14.856 16.0341 15.5068 15.5001 15.9646 14.8149C16.4225 14.1297 16.6668 13.3241 16.6668 12.5C16.6668 11.3949 16.2278 10.3351 15.4464 9.55373C14.665 8.77233 13.6052 8.33334 12.5002 8.33334ZM12.5002 14.5833C12.0881 14.5833 11.6853 14.4612 11.3427 14.2322C11.0001 14.0033 10.7331 13.6779 10.5754 13.2973C10.4177 12.9166 10.3765 12.4977 10.4569 12.0936C10.5372 11.6894 10.7357 11.3182 11.027 11.0269C11.3184 10.7355 11.6896 10.5371 12.0937 10.4567C12.4979 10.3763 12.9167 10.4176 13.2974 10.5753C13.6781 10.7329 14.0035 11 14.2324 11.3426C14.4613 11.6852 14.5835 12.088 14.5835 12.5C14.5835 13.0525 14.364 13.5824 13.9733 13.9731C13.5826 14.3639 13.0527 14.5833 12.5002 14.5833Z",fill:"#BFBFBF"}),(0,n.jsx)("path",{d:"M22.1812 14.4792L21.7187 14.2125C21.9269 13.0796 21.9269 11.9183 21.7187 10.7854L22.1812 10.5187C22.5369 10.3136 22.8486 10.0403 23.0987 9.71465C23.3488 9.38897 23.5322 9.01723 23.6386 8.62064C23.745 8.22406 23.7723 7.8104 23.7188 7.40329C23.6654 6.99618 23.5322 6.60358 23.327 6.24792C23.1218 5.89225 22.8486 5.58049 22.5229 5.33042C22.1973 5.08035 21.8255 4.89688 21.4289 4.79048C21.0323 4.68408 20.6187 4.65684 20.2116 4.7103C19.8045 4.76376 19.4119 4.89689 19.0562 5.10208L18.5927 5.36979C17.7172 4.62179 16.7111 4.04192 15.625 3.65937V3.125C15.625 2.2962 15.2957 1.50134 14.7097 0.915291C14.1236 0.32924 13.3288 0 12.5 0C11.6712 0 10.8763 0.32924 10.2902 0.915291C9.70419 1.50134 9.37495 2.2962 9.37495 3.125V3.65937C8.2889 4.0433 7.28313 4.62458 6.40829 5.37396L5.94266 5.10417C5.22437 4.68977 4.37087 4.57768 3.56993 4.79256C2.769 5.00745 2.08623 5.53171 1.67183 6.25C1.25743 6.96829 1.14534 7.82179 1.36023 8.62273C1.57511 9.42366 2.09937 10.1064 2.81766 10.5208L3.28016 10.7875C3.07194 11.9204 3.07194 13.0817 3.28016 14.2146L2.81766 14.4812C2.09937 14.8957 1.57511 15.5784 1.36023 16.3794C1.14534 17.1803 1.25743 18.0338 1.67183 18.7521C2.08623 19.4704 2.769 19.9946 3.56993 20.2095C4.37087 20.4244 5.22437 20.3123 5.94266 19.8979L6.4062 19.6302C7.282 20.3783 8.28847 20.9582 9.37495 21.3406V21.875C9.37495 22.7038 9.70419 23.4987 10.2902 24.0847C10.8763 24.6708 11.6712 25 12.5 25C13.3288 25 14.1236 24.6708 14.7097 24.0847C15.2957 23.4987 15.625 22.7038 15.625 21.875V21.3406C16.711 20.9567 17.7168 20.3754 18.5916 19.626L19.0572 19.8948C19.7755 20.3092 20.629 20.4213 21.43 20.2064C22.2309 19.9915 22.9137 19.4673 23.3281 18.749C23.7425 18.0307 23.8546 17.1772 23.6397 16.3762C23.4248 15.5753 22.9005 14.8925 22.1822 14.4781L22.1812 14.4792ZM19.527 10.5458C19.8798 11.824 19.8798 13.1739 19.527 14.4521C19.4654 14.6746 19.4795 14.9112 19.567 15.1248C19.6545 15.3384 19.8104 15.5169 20.0104 15.6323L21.1395 16.2844C21.3789 16.4225 21.5536 16.6501 21.6252 16.917C21.6968 17.184 21.6594 17.4684 21.5213 17.7078C21.3832 17.9472 21.1556 18.1219 20.8887 18.1935C20.6217 18.2651 20.3373 18.2277 20.0979 18.0896L18.9666 17.4354C18.7665 17.3195 18.5335 17.2735 18.3044 17.3046C18.0752 17.3357 17.8629 17.4422 17.701 17.6073C16.7738 18.5538 15.6058 19.2291 14.3229 19.5604C14.0989 19.618 13.9005 19.7484 13.7589 19.9312C13.6173 20.1139 13.5405 20.3386 13.5406 20.5698V21.875C13.5406 22.1513 13.4308 22.4162 13.2355 22.6116C13.0401 22.8069 12.7752 22.9167 12.4989 22.9167C12.2226 22.9167 11.9577 22.8069 11.7623 22.6116C11.567 22.4162 11.4572 22.1513 11.4572 21.875V20.5708C11.4574 20.3396 11.3805 20.115 11.2389 19.9322C11.0973 19.7495 10.8989 19.619 10.675 19.5615C9.39198 19.2288 8.22425 18.552 7.29787 17.6042C7.13592 17.4391 6.92364 17.3326 6.69449 17.3015C6.46534 17.2704 6.23235 17.3164 6.03224 17.4323L4.90308 18.0854C4.78457 18.1549 4.65348 18.2002 4.51738 18.2189C4.38127 18.2375 4.24282 18.229 4.11001 18.1939C3.9772 18.1587 3.85264 18.0977 3.74352 18.0143C3.63439 17.9308 3.54285 17.8266 3.47416 17.7076C3.40547 17.5887 3.36099 17.4573 3.34328 17.3211C3.32558 17.1848 3.33499 17.0464 3.37098 16.9139C3.40698 16.7813 3.46884 16.6571 3.55301 16.5486C3.63718 16.44 3.74199 16.3491 3.86141 16.2812L4.99058 15.6292C5.19052 15.5138 5.34649 15.3353 5.43397 15.1217C5.52146 14.9081 5.53551 14.6714 5.47391 14.449C5.12116 13.1708 5.12116 11.8209 5.47391 10.5427C5.5344 10.3207 5.51968 10.0849 5.43205 9.87218C5.34443 9.65943 5.18882 9.48167 4.98954 9.36667L3.86037 8.71458C3.62098 8.57645 3.44628 8.34888 3.37468 8.08193C3.30308 7.81499 3.34047 7.53053 3.4786 7.29115C3.61673 7.05176 3.8443 6.87705 4.11125 6.80546C4.3782 6.73386 4.66265 6.77124 4.90204 6.90937L6.03329 7.56354C6.23285 7.6797 6.46535 7.72626 6.69425 7.6959C6.92316 7.66555 7.13548 7.55999 7.29787 7.39583C8.22504 6.44932 9.3931 5.77398 10.676 5.44271C10.9006 5.38496 11.0995 5.25391 11.2412 5.07031C11.3829 4.88672 11.4593 4.66109 11.4583 4.42917V3.125C11.4583 2.84873 11.568 2.58378 11.7634 2.38843C11.9587 2.19308 12.2237 2.08333 12.5 2.08333C12.7762 2.08333 13.0412 2.19308 13.2365 2.38843C13.4319 2.58378 13.5416 2.84873 13.5416 3.125V4.42917C13.5415 4.66037 13.6183 4.88505 13.7599 5.06779C13.9016 5.25054 14.1 5.38097 14.3239 5.43854C15.6073 5.77099 16.7754 6.4478 17.702 7.39583C17.864 7.5609 18.0763 7.66739 18.3054 7.69851C18.5346 7.72963 18.7676 7.68361 18.9677 7.56771L20.0968 6.91458C20.2153 6.84511 20.3464 6.79976 20.4825 6.78115C20.6186 6.76254 20.7571 6.77103 20.8899 6.80615C21.0227 6.84126 21.1473 6.9023 21.2564 6.98574C21.3655 7.06919 21.4571 7.1734 21.5257 7.29237C21.5944 7.41134 21.6389 7.54272 21.6566 7.67895C21.6743 7.81518 21.6649 7.95356 21.6289 8.08614C21.5929 8.21871 21.5311 8.34286 21.4469 8.45143C21.3627 8.56 21.2579 8.65085 21.1385 8.71875L20.0093 9.37083C19.8104 9.48615 19.6553 9.66404 19.568 9.87676C19.4808 10.0895 19.4664 10.3251 19.527 10.5469V10.5458Z",fill:"#BFBFBF"})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_530_419",children:(0,n.jsx)("rect",{width:"25",height:"25",fill:"white"})})})]})},getDarkModeSettingsIcon(u){return(0,n.jsxs)("svg",{width:"28",height:"28",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsxs)("g",{"clip-path":"url(#clip0_530_308)",children:[(0,n.jsx)("path",{d:"M12.5002 8.33334C11.6761 8.33334 10.8705 8.57771 10.1853 9.03555C9.50008 9.49339 8.96603 10.1441 8.65067 10.9055C8.3353 11.6669 8.25279 12.5046 8.41356 13.3129C8.57433 14.1211 8.97117 14.8636 9.55389 15.4463C10.1366 16.029 10.879 16.4258 11.6873 16.5866C12.4955 16.7474 13.3333 16.6649 14.0947 16.3495C14.856 16.0341 15.5068 15.5001 15.9646 14.8149C16.4225 14.1297 16.6668 13.3241 16.6668 12.5C16.6668 11.3949 16.2278 10.3351 15.4464 9.55373C14.665 8.77233 13.6052 8.33334 12.5002 8.33334ZM12.5002 14.5833C12.0881 14.5833 11.6853 14.4612 11.3427 14.2322C11.0001 14.0033 10.7331 13.6779 10.5754 13.2973C10.4177 12.9166 10.3765 12.4977 10.4569 12.0936C10.5372 11.6894 10.7357 11.3182 11.027 11.0269C11.3184 10.7355 11.6896 10.5371 12.0937 10.4567C12.4979 10.3763 12.9167 10.4176 13.2974 10.5753C13.6781 10.7329 14.0035 11 14.2324 11.3426C14.4613 11.6852 14.5835 12.088 14.5835 12.5C14.5835 13.0525 14.364 13.5824 13.9733 13.9731C13.5826 14.3639 13.0527 14.5833 12.5002 14.5833Z",fill:"white"}),(0,n.jsx)("path",{d:"M22.1812 14.4792L21.7187 14.2125C21.9269 13.0796 21.9269 11.9183 21.7187 10.7854L22.1812 10.5187C22.5369 10.3136 22.8486 10.0403 23.0987 9.71465C23.3488 9.38897 23.5322 9.01723 23.6386 8.62064C23.745 8.22406 23.7723 7.8104 23.7188 7.40329C23.6654 6.99618 23.5322 6.60358 23.327 6.24792C23.1218 5.89225 22.8486 5.58049 22.5229 5.33042C22.1973 5.08035 21.8255 4.89688 21.4289 4.79048C21.0323 4.68408 20.6187 4.65684 20.2116 4.7103C19.8045 4.76376 19.4119 4.89689 19.0562 5.10208L18.5927 5.36979C17.7172 4.62179 16.7111 4.04192 15.625 3.65937V3.125C15.625 2.2962 15.2957 1.50134 14.7097 0.915291C14.1236 0.32924 13.3288 0 12.5 0C11.6712 0 10.8763 0.32924 10.2902 0.915291C9.70419 1.50134 9.37495 2.2962 9.37495 3.125V3.65937C8.2889 4.0433 7.28313 4.62458 6.40829 5.37396L5.94266 5.10417C5.22437 4.68977 4.37087 4.57768 3.56993 4.79256C2.769 5.00745 2.08623 5.53171 1.67183 6.25C1.25743 6.96829 1.14534 7.82179 1.36023 8.62273C1.57511 9.42366 2.09937 10.1064 2.81766 10.5208L3.28016 10.7875C3.07194 11.9204 3.07194 13.0817 3.28016 14.2146L2.81766 14.4812C2.09937 14.8957 1.57511 15.5784 1.36023 16.3794C1.14534 17.1803 1.25743 18.0338 1.67183 18.7521C2.08623 19.4704 2.769 19.9946 3.56993 20.2095C4.37087 20.4244 5.22437 20.3123 5.94266 19.8979L6.4062 19.6302C7.282 20.3783 8.28847 20.9582 9.37495 21.3406V21.875C9.37495 22.7038 9.70419 23.4987 10.2902 24.0847C10.8763 24.6708 11.6712 25 12.5 25C13.3288 25 14.1236 24.6708 14.7097 24.0847C15.2957 23.4987 15.625 22.7038 15.625 21.875V21.3406C16.711 20.9567 17.7168 20.3754 18.5916 19.626L19.0572 19.8948C19.7755 20.3092 20.629 20.4213 21.43 20.2064C22.2309 19.9915 22.9137 19.4673 23.3281 18.749C23.7425 18.0307 23.8546 17.1772 23.6397 16.3762C23.4248 15.5753 22.9005 14.8925 22.1822 14.4781L22.1812 14.4792ZM19.527 10.5458C19.8798 11.824 19.8798 13.1739 19.527 14.4521C19.4654 14.6746 19.4795 14.9112 19.567 15.1248C19.6545 15.3384 19.8104 15.5169 20.0104 15.6323L21.1395 16.2844C21.3789 16.4225 21.5536 16.6501 21.6252 16.917C21.6968 17.184 21.6594 17.4684 21.5213 17.7078C21.3832 17.9472 21.1556 18.1219 20.8887 18.1935C20.6217 18.2651 20.3373 18.2277 20.0979 18.0896L18.9666 17.4354C18.7665 17.3195 18.5335 17.2735 18.3044 17.3046C18.0752 17.3357 17.8629 17.4422 17.701 17.6073C16.7738 18.5538 15.6058 19.2291 14.3229 19.5604C14.0989 19.618 13.9005 19.7484 13.7589 19.9312C13.6173 20.1139 13.5405 20.3386 13.5406 20.5698V21.875C13.5406 22.1513 13.4308 22.4162 13.2355 22.6116C13.0401 22.8069 12.7752 22.9167 12.4989 22.9167C12.2226 22.9167 11.9577 22.8069 11.7623 22.6116C11.567 22.4162 11.4572 22.1513 11.4572 21.875V20.5708C11.4574 20.3396 11.3805 20.115 11.2389 19.9322C11.0973 19.7495 10.8989 19.619 10.675 19.5615C9.39198 19.2288 8.22425 18.552 7.29787 17.6042C7.13592 17.4391 6.92364 17.3326 6.69449 17.3015C6.46534 17.2704 6.23235 17.3164 6.03224 17.4323L4.90308 18.0854C4.78457 18.1549 4.65348 18.2002 4.51738 18.2189C4.38127 18.2375 4.24282 18.229 4.11001 18.1939C3.9772 18.1587 3.85264 18.0977 3.74352 18.0143C3.63439 17.9308 3.54285 17.8266 3.47416 17.7076C3.40547 17.5887 3.36099 17.4573 3.34328 17.3211C3.32558 17.1848 3.33499 17.0464 3.37098 16.9139C3.40698 16.7813 3.46884 16.6571 3.55301 16.5486C3.63718 16.44 3.74199 16.3491 3.86141 16.2812L4.99058 15.6292C5.19052 15.5138 5.34649 15.3353 5.43397 15.1217C5.52146 14.9081 5.53551 14.6714 5.47391 14.449C5.12116 13.1708 5.12116 11.8209 5.47391 10.5427C5.5344 10.3207 5.51968 10.0849 5.43205 9.87218C5.34443 9.65943 5.18882 9.48167 4.98954 9.36667L3.86037 8.71458C3.62098 8.57645 3.44628 8.34888 3.37468 8.08193C3.30308 7.81499 3.34047 7.53053 3.4786 7.29115C3.61673 7.05176 3.8443 6.87705 4.11125 6.80546C4.3782 6.73386 4.66265 6.77124 4.90204 6.90937L6.03329 7.56354C6.23285 7.6797 6.46535 7.72626 6.69425 7.6959C6.92316 7.66555 7.13548 7.55999 7.29787 7.39583C8.22504 6.44932 9.3931 5.77398 10.676 5.44271C10.9006 5.38496 11.0995 5.25391 11.2412 5.07031C11.3829 4.88672 11.4593 4.66109 11.4583 4.42917V3.125C11.4583 2.84873 11.568 2.58378 11.7634 2.38843C11.9587 2.19308 12.2237 2.08333 12.5 2.08333C12.7762 2.08333 13.0412 2.19308 13.2365 2.38843C13.4319 2.58378 13.5416 2.84873 13.5416 3.125V4.42917C13.5415 4.66037 13.6183 4.88505 13.7599 5.06779C13.9016 5.25054 14.1 5.38097 14.3239 5.43854C15.6073 5.77099 16.7754 6.4478 17.702 7.39583C17.864 7.5609 18.0763 7.66739 18.3054 7.69851C18.5346 7.72963 18.7676 7.68361 18.9677 7.56771L20.0968 6.91458C20.2153 6.84511 20.3464 6.79976 20.4825 6.78115C20.6186 6.76254 20.7571 6.77103 20.8899 6.80615C21.0227 6.84126 21.1473 6.9023 21.2564 6.98574C21.3655 7.06919 21.4571 7.1734 21.5257 7.29237C21.5944 7.41134 21.6389 7.54272 21.6566 7.67895C21.6743 7.81518 21.6649 7.95356 21.6289 8.08614C21.5929 8.21871 21.5311 8.34286 21.4469 8.45143C21.3627 8.56 21.2579 8.65085 21.1385 8.71875L20.0093 9.37083C19.8104 9.48615 19.6553 9.66404 19.568 9.87676C19.4808 10.0895 19.4664 10.3251 19.527 10.5469V10.5458Z",fill:"white"})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_530_308",children:(0,n.jsx)("rect",{width:"25",height:"25",fill:"white"})})})]})},getDarkModeCustomDashboardIcon(u){return(0,n.jsxs)("svg",{width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("g",{"clip-path":"url(#clip0_530_295)",children:(0,n.jsx)("path",{d:"M16.6663 16.6667C16.6663 16.9429 16.5566 17.2079 16.3612 17.4032C16.1659 17.5986 15.9009 17.7083 15.6247 17.7083H13.5413V19.7917C13.5413 20.0679 13.4316 20.3329 13.2362 20.5282C13.0409 20.7236 12.7759 20.8333 12.4997 20.8333C12.2234 20.8333 11.9585 20.7236 11.7631 20.5282C11.5678 20.3329 11.458 20.0679 11.458 19.7917V17.7083H9.37467C9.09841 17.7083 8.83346 17.5986 8.6381 17.4032C8.44275 17.2079 8.33301 16.9429 8.33301 16.6667C8.33301 16.3904 8.44275 16.1254 8.6381 15.9301C8.83346 15.7347 9.09841 15.625 9.37467 15.625H11.458V13.5417C11.458 13.2654 11.5678 13.0004 11.7631 12.8051C11.9585 12.6097 12.2234 12.5 12.4997 12.5C12.7759 12.5 13.0409 12.6097 13.2362 12.8051C13.4316 13.0004 13.5413 13.2654 13.5413 13.5417V15.625H15.6247C15.9009 15.625 16.1659 15.7347 16.3612 15.9301C16.5566 16.1254 16.6663 16.3904 16.6663 16.6667ZM22.9163 10.9219V19.7917C22.9147 21.1725 22.3654 22.4963 21.389 23.4727C20.4126 24.4491 19.0888 24.9983 17.708 25H7.29134C5.91051 24.9983 4.58671 24.4491 3.61032 23.4727C2.63393 22.4963 2.08466 21.1725 2.08301 19.7917V5.20833C2.08466 3.8275 2.63393 2.5037 3.61032 1.52731C4.58671 0.550912 5.91051 0.00164751 7.29134 -6.50854e-06H11.9945C12.9524 -0.00247206 13.9013 0.184981 14.7864 0.551513C15.6714 0.918046 16.475 1.45639 17.1507 2.13541L20.7799 5.76666C21.4593 6.44191 21.998 7.24526 22.3647 8.13017C22.7314 9.01509 22.9189 9.96397 22.9163 10.9219ZM15.6778 3.60833C15.35 3.29079 14.9819 3.01762 14.583 2.79583V7.29166C14.583 7.56793 14.6928 7.83288 14.8881 8.02823C15.0835 8.22358 15.3484 8.33333 15.6247 8.33333H20.1205C19.8986 7.93457 19.625 7.56681 19.307 7.23958L15.6778 3.60833ZM20.833 10.9219C20.833 10.75 20.7997 10.5854 20.784 10.4167H15.6247C14.7959 10.4167 14.001 10.0874 13.415 9.50137C12.8289 8.91532 12.4997 8.12046 12.4997 7.29166V2.13229C12.3309 2.11666 12.1653 2.08333 11.9945 2.08333H7.29134C6.46254 2.08333 5.66768 2.41257 5.08163 2.99862C4.49558 3.58467 4.16634 4.37953 4.16634 5.20833V19.7917C4.16634 20.6205 4.49558 21.4153 5.08163 22.0014C5.66768 22.5874 6.46254 22.9167 7.29134 22.9167H17.708C18.5368 22.9167 19.3317 22.5874 19.9177 22.0014C20.5038 21.4153 20.833 20.6205 20.833 19.7917V10.9219Z",fill:"#BFBFBF"})}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_530_295",children:(0,n.jsx)("rect",{width:"25",height:"25",fill:"white"})})})]})},getSwitchAccountIcon(u){return(0,n.jsxs)("svg",{width:"23",height:"23",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsxs)("g",{"clip-path":"url(#clip0_541_321)",children:[(0,n.jsx)("path",{d:"M23.9587 16.6667H2.79304L2.80763 16.651L5.14513 14.2708C5.24741 14.1747 5.32921 14.059 5.38564 13.9305C5.44207 13.802 5.47195 13.6634 5.47349 13.5231C5.47504 13.3828 5.44821 13.2436 5.39462 13.1139C5.34104 12.9842 5.26179 12.8666 5.16165 12.7683C5.06151 12.67 4.94254 12.5929 4.81187 12.5417C4.68121 12.4906 4.54155 12.4663 4.40127 12.4704C4.261 12.4745 4.123 12.507 3.99557 12.5658C3.86814 12.6245 3.7539 12.7085 3.65971 12.8125L1.32742 15.1844C1.15763 15.3542 0.920126 15.6146 0.677418 15.8885C0.241565 16.3814 0.000976563 17.0166 0.000976562 17.6745C0.000976562 18.3324 0.241565 18.9676 0.677418 19.4604C0.920126 19.7333 1.15763 19.9937 1.32117 20.1583L3.65971 22.5375C3.85575 22.7217 4.11544 22.8229 4.3844 22.8199C4.65337 22.8169 4.91077 22.7101 5.10271 22.5216C5.29465 22.3332 5.40626 22.0778 5.41416 21.8089C5.42207 21.5401 5.32566 21.2786 5.14513 21.0792L2.85867 18.75H23.9587C24.2349 18.75 24.4999 18.6402 24.6952 18.4449C24.8906 18.2495 25.0003 17.9846 25.0003 17.7083C25.0003 17.4321 24.8906 17.1671 24.6952 16.9718C24.4999 16.7764 24.2349 16.6667 23.9587 16.6667Z",fill:"#BFBFBF"}),(0,n.jsx)("path",{d:"M1.04167 8.33332H22.1406L19.8552 10.6594C19.7529 10.7555 19.6711 10.8712 19.6147 10.9997C19.5583 11.1282 19.5284 11.2668 19.5268 11.4071C19.5253 11.5474 19.5521 11.6866 19.6057 11.8163C19.6593 11.946 19.7385 12.0636 19.8387 12.1619C19.9388 12.2602 20.0578 12.3372 20.1885 12.3884C20.3191 12.4396 20.4588 12.4639 20.5991 12.4598C20.7393 12.4556 20.8773 12.4232 21.0048 12.3644C21.1322 12.3057 21.2464 12.2217 21.3406 12.1177L23.6729 9.74374C23.8427 9.57395 24.0802 9.31353 24.3229 9.04062C24.7588 8.54779 24.9994 7.91259 24.9994 7.25468C24.9994 6.59677 24.7588 5.96157 24.3229 5.46874C24.0802 5.19478 23.8427 4.93437 23.6792 4.77082L21.3406 2.39582C21.1446 2.21165 20.8849 2.11045 20.6159 2.11341C20.347 2.11636 20.0896 2.22325 19.8976 2.41169C19.7057 2.60014 19.5941 2.85552 19.5862 3.12439C19.5783 3.39326 19.6747 3.65476 19.8552 3.85416L22.2 6.23957L22.2083 6.24999H1.04167C0.7654 6.24999 0.500448 6.35974 0.305097 6.55509C0.109747 6.75044 0 7.01539 0 7.29166C0 7.56792 0.109747 7.83288 0.305097 8.02823C0.500448 8.22358 0.7654 8.33332 1.04167 8.33332Z",fill:"#BFBFBF"})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_541_321",children:(0,n.jsx)("rect",{width:"25",height:"25",fill:"white"})})})]})},getDarkModeSwitchAccountIcon(u){return(0,n.jsxs)("svg",{width:"23",height:"23",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsxs)("g",{"clip-path":"url(#clip0_556_374)",children:[(0,n.jsx)("path",{d:"M23.9587 16.6667H2.79304L2.80763 16.6511L5.14513 14.2709C5.24741 14.1748 5.32921 14.059 5.38564 13.9305C5.44207 13.802 5.47195 13.6635 5.47349 13.5231C5.47504 13.3828 5.44821 13.2436 5.39462 13.1139C5.34104 12.9842 5.26179 12.8667 5.16165 12.7684C5.06151 12.67 4.94254 12.593 4.81187 12.5418C4.68121 12.4906 4.54155 12.4663 4.40127 12.4705C4.261 12.4746 4.123 12.507 3.99557 12.5658C3.86814 12.6246 3.7539 12.7085 3.65971 12.8125L1.32742 15.1844C1.15763 15.3542 0.920126 15.6146 0.677418 15.8886C0.241565 16.3814 0.000976563 17.0166 0.000976562 17.6745C0.000976562 18.3324 0.241565 18.9676 0.677418 19.4604C0.920126 19.7334 1.15763 19.9938 1.32117 20.1584L3.65971 22.5375C3.85575 22.7217 4.11544 22.8229 4.3844 22.8199C4.65337 22.817 4.91077 22.7101 5.10271 22.5216C5.29465 22.3332 5.40626 22.0778 5.41416 21.809C5.42207 21.5401 5.32566 21.2786 5.14513 21.0792L2.85867 18.75H23.9587C24.2349 18.75 24.4999 18.6403 24.6952 18.4449C24.8906 18.2496 25.0003 17.9846 25.0003 17.7084C25.0003 17.4321 24.8906 17.1671 24.6952 16.9718C24.4999 16.7764 24.2349 16.6667 23.9587 16.6667Z",fill:"white"}),(0,n.jsx)("path",{d:"M1.04167 8.33334H22.1406L19.8552 10.6594C19.7529 10.7555 19.6711 10.8712 19.6147 10.9997C19.5583 11.1282 19.5284 11.2668 19.5268 11.4071C19.5253 11.5474 19.5521 11.6866 19.6057 11.8163C19.6593 11.946 19.7385 12.0636 19.8387 12.1619C19.9388 12.2602 20.0578 12.3373 20.1885 12.3885C20.3191 12.4396 20.4588 12.4639 20.5991 12.4598C20.7393 12.4557 20.8773 12.4232 21.0048 12.3645C21.1322 12.3057 21.2464 12.2217 21.3406 12.1177L23.6729 9.74376C23.8427 9.57396 24.0802 9.31355 24.3229 9.04063C24.7588 8.5478 24.9994 7.9126 24.9994 7.25469C24.9994 6.59678 24.7588 5.96158 24.3229 5.46876C24.0802 5.1948 23.8427 4.93438 23.6792 4.77084L21.3406 2.39584C21.1446 2.21166 20.8849 2.11046 20.6159 2.11342C20.347 2.11638 20.0896 2.22327 19.8976 2.41171C19.7057 2.60015 19.5941 2.85554 19.5862 3.12441C19.5783 3.39327 19.6747 3.65478 19.8552 3.85417L22.2 6.23959L22.2083 6.25001H1.04167C0.7654 6.25001 0.500448 6.35975 0.305097 6.5551C0.109747 6.75045 0 7.0154 0 7.29167C0 7.56794 0.109747 7.83289 0.305097 8.02824C0.500448 8.22359 0.7654 8.33334 1.04167 8.33334Z",fill:"white"})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_556_374",children:(0,n.jsx)("rect",{width:"25",height:"25",fill:"white"})})})]})},getCustomDashboardIcon(u){return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("svg",{width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("g",{"clip-path":"url(#clip0_541_308)",children:(0,n.jsx)("path",{d:"M16.6663 16.6667C16.6663 16.9429 16.5566 17.2079 16.3612 17.4032C16.1659 17.5986 15.9009 17.7083 15.6247 17.7083H13.5413V19.7917C13.5413 20.0679 13.4316 20.3329 13.2362 20.5282C13.0409 20.7236 12.7759 20.8333 12.4997 20.8333C12.2234 20.8333 11.9585 20.7236 11.7631 20.5282C11.5678 20.3329 11.458 20.0679 11.458 19.7917V17.7083H9.37467C9.09841 17.7083 8.83346 17.5986 8.6381 17.4032C8.44275 17.2079 8.33301 16.9429 8.33301 16.6667C8.33301 16.3904 8.44275 16.1254 8.6381 15.9301C8.83346 15.7347 9.09841 15.625 9.37467 15.625H11.458V13.5417C11.458 13.2654 11.5678 13.0004 11.7631 12.8051C11.9585 12.6097 12.2234 12.5 12.4997 12.5C12.7759 12.5 13.0409 12.6097 13.2362 12.8051C13.4316 13.0004 13.5413 13.2654 13.5413 13.5417V15.625H15.6247C15.9009 15.625 16.1659 15.7347 16.3612 15.9301C16.5566 16.1254 16.6663 16.3904 16.6663 16.6667ZM22.9163 10.9219V19.7917C22.9147 21.1725 22.3654 22.4963 21.389 23.4727C20.4126 24.4491 19.0888 24.9983 17.708 25H7.29134C5.91051 24.9983 4.58671 24.4491 3.61032 23.4727C2.63393 22.4963 2.08466 21.1725 2.08301 19.7917V5.20833C2.08466 3.8275 2.63393 2.5037 3.61032 1.52731C4.58671 0.550912 5.91051 0.00164751 7.29134 -6.50854e-06H11.9945C12.9524 -0.00247206 13.9013 0.184981 14.7864 0.551513C15.6714 0.918046 16.475 1.45639 17.1507 2.13541L20.7799 5.76666C21.4593 6.44191 21.998 7.24526 22.3647 8.13017C22.7314 9.01509 22.9189 9.96397 22.9163 10.9219ZM15.6778 3.60833C15.35 3.29079 14.9819 3.01762 14.583 2.79583V7.29166C14.583 7.56793 14.6928 7.83288 14.8881 8.02823C15.0835 8.22358 15.3484 8.33333 15.6247 8.33333H20.1205C19.8986 7.93457 19.625 7.56681 19.307 7.23958L15.6778 3.60833ZM20.833 10.9219C20.833 10.75 20.7997 10.5854 20.784 10.4167H15.6247C14.7959 10.4167 14.001 10.0874 13.415 9.50137C12.8289 8.91532 12.4997 8.12046 12.4997 7.29166V2.13229C12.3309 2.11666 12.1653 2.08333 11.9945 2.08333H7.29134C6.46254 2.08333 5.66768 2.41257 5.08163 2.99862C4.49558 3.58467 4.16634 4.37953 4.16634 5.20833V19.7917C4.16634 20.6205 4.49558 21.4153 5.08163 22.0014C5.66768 22.5874 6.46254 22.9167 7.29134 22.9167H17.708C18.5368 22.9167 19.3317 22.5874 19.9177 22.0014C20.5038 21.4153 20.833 20.6205 20.833 19.7917V10.9219Z",fill:"#BFBFBF"})}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_541_308",children:(0,n.jsx)("rect",{width:"25",height:"25",fill:"white"})})})]})})}};$.Z=l},28353:function(_e,$,t){"use strict";t.d($,{g:function(){return l}});function n(m){let v=[];for(const M of m)v.push(M.unique_id);return v}function f(m,v){return m.findIndex(M=>M.unique_id==v)}function l(m,v){let M=[...v],ee=[...m],W=n(ee),re=n(M);for(const S of M){let J=f(ee,S.unique_id);W.includes(S.unique_id)?J!=-1&&(ee[J].value=S.value,ee[J].name=S.name):ee.push(S)}let se=[];for(const S of ee)re.includes(S.unique_id)&&se.push(S);ee=se;for(let S=0;S<ee.length;S++)if(f(M,ee[S].unique_id)!=-1){let T=M[S];ee[S].name=T.name,ee[S].children=u(T.children,ee[S].children)}return ee}function u(m,v){var M;let ee=n(v),W=n(m);for(const se of m)ee.includes(se.unique_id)||v.push(se);let re=[];for(const se of v)W.includes(se.unique_id)&&re.push(se);v=re;for(const se of v){let S=se,J=f(m,S.unique_id);J!=-1&&(S.name=m[J].name,(M=S==null?void 0:S.children)!=null&&M.length&&(S.children=u(m[J].children,S.children)))}return v}},36215:function(_e,$,t){"use strict";t.d($,{V6:function(){return v},sS:function(){return m}});var n=t(67557),f=t(89526);const l=(0,f.createContext)({}),u=[],m=({reducer:M,children:ee})=>(0,n.jsx)(l.Provider,{value:(0,f.useReducer)(M,u),children:ee}),v=()=>(0,f.useContext)(l)},97943:function(_e,$,t){"use strict";t.d($,{Du:function(){return f},K7:function(){return l}});const n="ADD_TOAST",f="ADD_TOAST_SUCCESS",l="REMOVE_TOAST"},77760:function(_e,$,t){"use strict";t.d($,{Z:function(){return J}});var n=t(97943),f=Object.defineProperty,l=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,v=(T,V,L)=>V in T?f(T,V,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[V]=L,M=(T,V)=>{for(var L in V||(V={}))u.call(V,L)&&v(T,L,V[L]);if(l)for(var L of l(V))m.call(V,L)&&v(T,L,V[L]);return T};const ee=T=>({type:actionTypes.ADD_TOAST,data:M({},T)}),W=T=>({type:n.Du,data:M({},T)}),re=T=>({type:n.K7,id:T});var se=t(36215),J=()=>{const[,T]=(0,se.V6)(),V=()=>Math.floor(Math.random()*1e4);return{addToast:L=>{L.id=V(),T(W(L)),setTimeout(()=>T(re(L.id)),L.timeout)}}}},48322:function(_e,$,t){"use strict";var n=t(67557),f=t(92339),l=t(50472),u=t(60090),m=t(89526),v=Object.defineProperty,M=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable,re=(T,V,L)=>V in T?v(T,V,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[V]=L,se=(T,V)=>{for(var L in V||(V={}))ee.call(V,L)&&re(T,L,V[L]);if(M)for(var L of M(V))W.call(V,L)&&re(T,L,V[L]);return T};const S=(0,u.Z)(T=>({customTooltip:{color:"black",backgroundColor:"white",fontSize:"12px",textAlign:"center",top:"-6",padding:"0.5rem 1rem",fontWeight:600,zIndex:"inherit",boxShadow:"6px 8px 18px #0000001A !important",borderRadius:"20px"},customArrow:{color:"white"},NoArrow:{display:"none"}}));function J(T){const[V,L]=(0,m.useState)(!1),c=(0,m.useRef)(),[R,B]=(0,m.useState)(""),[X]=(0,m.useState)(T.fromBookmark);(0,m.useEffect)(()=>{g(),window.addEventListener("resize",g)},[]),(0,m.useEffect)(()=>()=>{window.removeEventListener("resize",g)},[]),(0,m.useEffect)(()=>{B(T.title)},[T.title]);const g=()=>{var O,I,E,K,d,i;if(T.fromBookmark){const A=(I=((O=c==null?void 0:c.current)==null?void 0:O.getElementsByTagName("a"))[0])==null?void 0:I.getElementsByTagName("div");L(((E=A[0])==null?void 0:E.scrollWidth)>((K=A[0])==null?void 0:K.clientWidth))}else L(((d=c.current)==null?void 0:d.scrollWidth)>((i=c.current)==null?void 0:i.clientWidth))},p=S();return(0,n.jsx)(l.Z,{title:R,classes:{tooltip:p.customTooltip,arrow:T!=null&&T.NoArrow?p.NoArrow:p.customArrow},TransitionComponent:f.Z,slotProps:{popper:{modifiers:[{name:"offset",options:{offset:T==null?void 0:T.offset}}]}},arrow:T.showArrow?T.showArrow:!0,disableInteractive:T.disableInteraction!==null||T.disableInteraction!==void 0?T.disableInteraction:!0,disableHoverListener:T.ellipsisOnOverflow?!V:!1,style:T.style?T.style:{},children:(0,n.jsx)("div",{style:se({overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",display:"flex",alignContent:"center",flexWrap:"wrap"},T.style),ref:T.avoidOverflow?null:c,children:T.children})})}$.Z=J},97826:function(_e,$,t){"use strict";t.d($,{Z:function(){return W}});var n=t(67557),f=t(89526),l={},u=t(13120),m=t(30451),v=t(66005),M=t(12384),W=re=>{var se;const[S,J]=(0,m.bp)(),T=(0,v.Z)(),V=(0,M.v9)(L=>L==null?void 0:L.isPdfClicked);return(0,n.jsxs)(f.Fragment,{children:[(0,n.jsx)("div",{className:localStorage.getItem("isInsightsOpened")=="true"?"insightsLoader pageLoader":"pageLoader",style:(se=S.onSidebarToggle)!=null&&se.sidebarToggle?{zIndex:"auto",width:re.fullWidth?"100%":""}:{zIndex:9999,width:re.fullWidth?"100%":""},children:(0,n.jsx)("div",{children:(0,n.jsx)("div",{style:{height:"52px",width:"52px",zIndex:9999},children:(0,n.jsx)(u.Z,{size:50,style:{color:T.palette.text.tertiary,zIndex:9999}})})})}),(0,n.jsx)("style",{children:`
				.pageLoader{
					top:  ${V?"120px !important":""};
				}
				`})]})}},98264:function(_e,$,t){"use strict";t.d($,{_:function(){return n}});class n{static getDateType(){return[{name:"Touchpoint Date",value:3},{name:"Created Date",value:1},{name:"Closed Date",value:2}]}static getConnectors(){return[{name:"All",value:"all"},{name:"Facebook",value:"facebook"},{name:"LinkedIn",value:"linkedin"},{name:"Instagram",value:"instagram"},{name:"Youtube",value:"youtube"}]}static getAttributionModel(){return[{name:"Lead Creation Touch",value:2},{name:"First Touch",value:3},{name:"Last Interaction",value:4},{name:"Last Non-Direct",value:5},{name:"Linear",value:1},{name:"U-Shaped",value:6},{name:"W-Shaped",value:7},{name:"Full Path Model",value:8}]}static getAttributionModelforPCT(){return[{name:"First Touch",value:3},{name:"Last Interaction",value:4},{name:"Linear",value:1}]}static getDimensionParameter(){return[{name:"Channel",value:1},{name:"Source",value:2}]}static getOperatorList(){return[{name:"Containing",value:1},{name:"Exactly matching",value:2},{name:"Starts with",value:3},{name:"Ends with",value:4}]}}n.getChannelPerformanceMedium=()=>[{name:"Channel",value:1},{name:"Source",value:2}]},2316:function(_e,$,t){"use strict";t.d($,{h:function(){return f},w:function(){return n}});class n{static getDateType(){return[{name:"Touchpoint Date",value:"touch_point"},{name:"Created Date",value:"created_date_utc"},{name:"Closed Date",value:"close_date"}]}static getTopConversionDateType(){return[{name:"Created Date",value:1},{name:"Closed Date",value:2}]}static getConnectors(){return[{name:"All",value:"all"},{name:"Facebook",value:"facebook"},{name:"LinkedIn",value:"linkedin"},{name:"Instagram",value:"instagram"},{name:"Youtube",value:"youtube"}]}static getAttributionModelForCohort(){return[{name:"Lead Creation Touch",value:2},{name:"First Touch",value:3},{name:"Last Interaction",value:4},{name:"Last Non-Direct",value:5},{name:"Linear",value:1},{name:"U-Shaped",value:6},{name:"W-Shaped",value:7},{name:"Full Path Model",value:8}]}static getAttributionModel(){return[{name:"Lead Creation Touch",value:"lead_creation_touch"},{name:"First Touch",value:"first_touch"},{name:"Last Interaction",value:"last_interaction"},{name:"Last Non-Direct",value:"last_non-direct"},{name:"Linear",value:"linear_model"},{name:"U-Shaped",value:"u_shaped"},{name:"W-Shaped",value:"w_shaped"},{name:"Full Path Model",value:"full_path_model"}]}static getAttributionModelForSmd(){return[{name:"Lead Creation Touch",value:"lead_create"},{name:"First Touch",value:"first_touch"},{name:"Last Interaction",value:"last_touch"},{name:"Last Non-Direct",value:"last_non_direct"},{name:"Linear",value:"linear_model"},{name:"U-Shaped",value:"u_shaped"},{name:"W-Shaped",value:"w_shaped"},{name:"Full Path Model",value:"full_path"}]}static getOperatorListforCohort(){return[{name:"Containing",value:1},{name:"Exactly matching",value:2},{name:"Starts with",value:3},{name:"Ends with",value:4}]}static getCohortDimensionParameter(){return[{name:"Channel",value:1},{name:"Source",value:2},{name:"Campaign",value:4},{name:"Ad Group",value:5},{name:"Keyword",value:3}]}static getAttributionModelforPCT(){return[{name:"First Touch",value:"first_touch"},{name:"Last Interaction",value:"last_interaction"},{name:"Linear",value:"linear_model"}]}static getAttributionModelForSEO(){return[{name:"Linear",value:1}]}static getAttributionModelComparison(){return[{name:"Lead Creation Touch",value:"lead_creation_touch"},{name:"First Touch",value:"first_touch"},{name:"Last Interaction",value:"last_interaction"},{name:"Last Non-Direct",value:"last_non-direct"},{name:"Linear",value:"linear_model"},{name:"U-Shaped",value:"u_shaped"},{name:"W-Shaped",value:"w_shaped"},{name:"Full Path Model",value:"full_path_model"},{name:"Data-driven attribution 1",value:"markov"},{name:"Data-driven attribution 2",value:"shapley"}]}static getPMTAttributionModel(){return[{name:"Lead Creation Touch",value:"lead_creation_touch"},{name:"First Touch",value:"first_touch"},{name:"Last Interaction",value:"last_interaction"},{name:"Last Non-Direct",value:"last_non-direct"},{name:"Linear",value:"linear_model"},{name:"U-Shaped",value:"u_shaped"},{name:"W-Shaped",value:"w_shaped"},{name:"Full Path Model",value:"full_path_model"}]}static getDimensionParameter(){return[{name:"Channel",value:"channel"},{name:"Source",value:"source"},{name:"Campaign",value:"campaign"},{name:"Ad Group",value:"ad_group"},{name:"Keyword",value:"keyword"}]}static getDimensionParameterforPCt(){return[{name:"Channel",value:"channel"},{name:"Source",value:"source"},{name:"Campaign",value:"campaign"}]}static getOperatorList(){return[{name:"Containing",value:"contains"},{name:"Exactly matching",value:"equals"},{name:"Starts with",value:"starts_with"},{name:"Ends with",value:"ends_with"}]}static getOperatorListForTopConversion(){return[{name:"Containing",value:1},{name:"Exactly matching",value:2},{name:"Starts with",value:3},{name:"Ends with",value:4}]}}n.getMediumLabels=()=>[{name:"Channel",value:"channel"},{name:"Source",value:"source"},{name:"Campaign Name",value:"campaign"},{name:"AdGroup",value:"AdGroup",disabled:!0},{name:"Keyword",value:"keyword",disabled:!0}],n.getChannelPerformanceMedium=()=>[{name:"Channel",value:"channel"},{name:"Source",value:"source"}],n.getTopConversionMedium=()=>[{name:"Channel",value:1}],n.hubspotEmailFilter=()=>[{name:"demoMail.com",value:"demo"},{name:"test@here.com",value:"test"}],n.hubspotNameFilter=()=>[{name:"Demo",value:"demo"},{name:"Tester",value:"test"}];const f=(l=[],u=[])=>{const m=new Set([...l,...u]);for(const v of m){const M=l==null?void 0:l.filter(W=>W===v).length,ee=u==null?void 0:u.filter(W=>W===v).length;if(M!==ee)return!1}return!0}},58128:function(_e,$,t){"use strict";t.d($,{Cu:function(){return S},O3:function(){return I},PE:function(){return p},Z_:function(){return C},ai:function(){return fn},e3:function(){return d},eY:function(){return A},ie:function(){return E},kF:function(){return ee},o5:function(){return O},t0:function(){return w},v$:function(){return ue},wb:function(){return B},wg:function(){return g},x9:function(){return K}});const n="/account",f="/account/:id/:token",l="/invited/login",u="/login",m="/editProfile",v="/reset-password",M="/login",ee="/insights/cmo/dashboard",W="/insights/cmo/dashboard1",re="/custom/dashboard",se="/ga4/reporting",S="/insights/mo/metrics/hub",J="/insights/mo/metrics/hub/pdf",T="/insights/channel/paid-campaign-tracker/pdf",V="/custom/reporting/",L="/custom/report",c="/custom/report/module",R="/custom/report/add",B="/insights/cmo/performance-report",X="/insights/cmo/channel-performance",g="/insights/cmo/cohort",p="/insights/cmo/sales-cycle",O="/insights/mo/path-length",I="/insights/mo/model-comparison",E="/insights/channel/hubspot-report",K="/insights/channel/search-console-report",d="/insights/channel/paid-campaign-tracker",i="/insights/channel/paid-media-tracker",x="/insights/channel/node/paid-media-tracker",A="/insights/channel/path-analysis",w="/insights/channel/top-conversion",C="/insights/total-spent",U="/insights/marketing-spent",F="/insights/channel-performance-report",Y="/insights/abm/configuration",le="/insights/abm/accounts",ie="/insights/abm/account-dashboard/:accountId",j="/insights/abm/comparison-dashboard",ue="/insights/channel/smd",P="/governance/parameter",Z="/iframe-testing",ae="/governance/channels/list",ce="/governance/channels/manage",be="/governance/attributes/list",pe="/governance/campaigns/list",h="/governance/campaigns/templates",te="/governance/campaigns/add",Q="/governance/campaigns/view",we="/governance/campaigns/template/view",Se="/governance/campaigns/edit",Ne="/governance/template/edit",ze="/governance/campaigns/clone",Je="/configuration/report",qe="/settings/global",Me="/settings/connectors",Fe="/settings/connectors/:type/:configure",Ue="/settings/user-access-management",he="/settings/connectors/adroll/configure",xe="/settings/connectors/crm/configure",q="/settings/connectors/crm/hubspot/configure",me="/settings/connectors/googleconsole/configure",De="/settings/connectors/bing-ads/configure",Te="/settings/connectors/google-ads/configure",Oe="/settings/connectors/google/configure",st="/settings/connectors/googleanalytics/configure",Ft="/settings/connectors/googleanalytics/configure/reporting",Qt="/settings/connectors/ma/marketo/configure",Vt="/settings/connectors/hubspot-ma/configure",Gt="/settings/user-access-management/list",Jt="/settings/channel-manager",Lr="/settings/segment-manager",Rr="/settings/content-grouping",Gr="/settings/campaign-mapping",zr="/data-quality/sf-scoring",pr="/data-quality/hubspot-scoring",vn="/coming-soon",fn="/podcast-insights"},53624:function(_e,$,t){"use strict";t.d($,{E:function(){return n}});const n={primary:{main:"var(--primary-theme)",icons:"var(--icons-color)",secondary:"var(--secondary-theme)"}}},91199:function(_e,$,t){"use strict";var n=t(67557),f=t(50871),l=t(66005),u=t(35864),m=t.n(u),v=t(4488),M=t.n(v),ee=t(81887),W=t.n(ee),re=t(89526),se=t(12384),S=Object.defineProperty,J=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable,L=(B,X,g)=>X in B?S(B,X,{enumerable:!0,configurable:!0,writable:!0,value:g}):B[X]=g,c=(B,X)=>{for(var g in X||(X={}))T.call(X,g)&&L(B,g,X[g]);if(J)for(var g of J(X))V.call(X,g)&&L(B,g,X[g]);return B};const R=B=>{W()(m());const X=(0,l.Z)(),g=(0,se.v9)(d=>d==null?void 0:d.isPdfClicked),[p,O]=(0,re.useState)({}),[I,E]=(0,re.useState)(!0),K=d=>/^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?$/.test(d.toString());return(0,re.useEffect)(()=>{var d,i;if(((d=B.secondaryYAxisData)==null?void 0:d.length)>0||((i=B.primaryYAxisData)==null?void 0:i.length)>0){const x={chart:{plotBackgroundColor:X.palette.mode==="dark"&&B.backgroundColor?B.backgroundColor:X.palette.background.light,backgroundColor:X.palette.mode==="dark"&&B.backgroundColor?B.backgroundColor:X.palette.background.light,borderColor:X.palette.mode==="dark"&&B.backgroundColor?B.backgroundColor:X.palette.background.light,height:B.height,width:B.width,className:"highcharts-color-0",style:{fontFamily:"Lato",textTransform:"capitalize",fontSize:"14px !important",color:"#707070"},plotBorderWidth:null,plotShadow:!1},title:{text:B.title||"",style:{color:X.palette.text.primary}},subtitle:{text:B.subtitle||""},credits:{enabled:!1},xAxis:{categories:B.xAxisCategories||[],crosshair:!0,title:{text:B.xAxisTitle||"",style:{color:X.palette.text.primary}},labels:{style:{color:X.palette.text.primary}}},legend:{layout:"horizontal",align:"center",verticalAlign:"bottom",itemMarginBottom:10,itemStyle:{fontSize:"13px",color:X.palette.text.primary,fontWeight:"400 !important"},itemHoverStyle:{color:"#707070"},itemHiddenStyle:{color:"#707070"}},lang:{noData:B.noDataMessage||"There is no data in the chart"},yAxis:[{labels:{format:B.primaryYAxisFormat||"",style:{color:X.palette.text.primary}},title:{text:B.primaryYAxisTitle||"",style:{color:X.palette.text.primary}},gridLineWidth:X.palette.mode==="dark"?.2:1},{title:{text:B.secondaryYAxisTitle||"",style:{color:X.palette.text.primary}},labels:{format:B.secondaryYAxisFormat||"",style:{color:X.palette.text.primary}},opposite:!0,gridLineWidth:X.palette.mode==="dark"?.2:1}],series:B.multilineChart?B.secondaryYAxisData:[{showInLegend:!!B.showPrimaryAxisLegend,name:B.primaryYAxisName||"Ad Impressions",type:B.primaryYAxisType||"spline",yAxis:1,data:B.primaryYAxisData||[],marker:{enabled:!!B.showPrimaryAxisMarker},tooltip:{pointFormat:B.fromInsights?B.showHash?"<b>#{point.y:.2f}</b>":"<b>${point.y:.2f}</b>":B.primaryYAxisName=="CTR"?"<b>{point.y:.2f}%</b>":"<b>{point.y:.2f}</b>",valueSuffix:B.primaryAxisSuffix||""}},{showInLegend:!!B.showSecondaryAxisLegend,name:B.secondaryYAxisName||"Ad Clicks",type:B.secondaryYAxisType||"spline",data:B.secondaryYAxisData||[],marker:{enabled:!!B.showSecondaryAxisMarker},tooltip:{pointFormat:B.fromInsights?B.showHash?"<b>#{point.y:.2f}</b>":"<b>${point.y:.2f}</b>":B.primaryYAxisName=="CTR"?"<b>$ {point.y:.2f}</b>":"<b>{point.y:.2f}</b>",valueSuffix:B.secondaryAxisSuffix||""}}],responsive:{rules:[{condition:{maxWidth:500},chartOptions:{legend:{layout:"horizontal",align:"center",verticalAlign:"bottom"}}}]},colors:X.palette.graph};O(c({},x)),E(!1)}},[B.secondaryYAxisData,B.primaryYAxisData]),(0,n.jsxs)(n.Fragment,{children:[I?null:(0,n.jsx)(f.ZP,{className:"lines_chart",item:!0,style:{minHeight:B.minHeight?B.minHeight:"400px"},xs:12,mt:2,children:(0,n.jsx)(M(),{highcharts:m(),options:p})}),(0,n.jsx)("style",{children:`
					   .lines_chart > div > div{
								width: ${g?"100% !important":""};
								height:  ${g?"100% !important":""};
								position:  ${g?"absolute !important":""};
								
						}
					`})]})};$.Z=R},1704:function(_e,$){"use strict";const t={getProfileData(n){return{url:"governance/profile_get",data:n}},logoutUser(n){return{url:"kcauth/logout",headers:{},data:n}},deleteAccount(n){return{url:"governance/delete_account",headers:{},data:n}},changePassword(n){return{url:"governance/change_password",data:n}},sendProfileData(n){return{url:"governance/update_profile",data:n.reqBody,headers:n.headers}},toggleDarkTheme(n){return{url:"connectorcore/toggle_theme",data:n}}};$.Z=t},91067:function(_e,$,t){"use strict";t.d($,{G3:function(){return m},cQ:function(){return u}});var n=t(67557),f=t(89526);const l=(0,f.createContext)(),u=()=>(0,f.useContext)(l),m=({children:M})=>{const[ee,W]=(0,f.useState)(2),[re,se]=(0,f.useState)(0),[S,J]=(0,f.useState)(!1);return(0,n.jsx)(l.Provider,{value:{dateType:ee,setDateType:W,filterApplied:S,setFilterApplied:J,currentTabs:re,setCurrentTabs:se},children:M})};var v=null},93780:function(_e,$,t){"use strict";t.d($,{iQ:function(){return c},EF:function(){return L},yr:function(){return M},_2:function(){return J},H5:function(){return ee},DZ:function(){return se},AP:function(){return W},$o:function(){return re},RW:function(){return V},dN:function(){return T},kE:function(){return R}});var n=t(43102),f=t(78620),l=t(54893),u=t(2316);class m{static getDateType(){return[{name:"Touchpoint Date",value:3},{name:"Created Date",value:1},{name:"Closed Date",value:2}]}static getConnectors(){return[{name:"All",value:"all"},{name:"Facebook",value:"facebook"},{name:"LinkedIn",value:"linkedin"},{name:"Instagram",value:"instagram"},{name:"Youtube",value:"youtube"}]}static getAttributionModel(){return[{name:"Lead Creation Touch",value:2},{name:"First Touch",value:3},{name:"Last Interaction",value:4},{name:"Last Non-Direct",value:5},{name:"Linear",value:1},{name:"U-Shaped",value:6},{name:"W-Shaped",value:7},{name:"Full Path Model",value:8}]}static getAttributionModelforPCT(){return[{name:"First Touch",value:3},{name:"Last Interaction",value:4},{name:"Linear",value:1}]}static getAttributionModelForSEO(){return[{name:"Linear",value:1}]}static getAttributionModelForSmd(){return[{name:"Lead Creation Touch",value:"lead_create"},{name:"First Touch",value:"first_touch"},{name:"Last Interaction",value:"last_touch"},{name:"Last Non-Direct",value:"last_non_direct"},{name:"Linear",value:"linear_model"},{name:"U-Shaped",value:"u_shaped"},{name:"W-Shaped",value:"w_shaped"},{name:"Full Path Model",value:"full_path"}]}static getAttributionModelComparison(){return[{name:"Lead Creation Touch",value:"lead_creation_touch"},{name:"First Touch",value:"first_touch"},{name:"Last Interaction",value:"last_interaction"},{name:"Last Non-Direct",value:"last_non-direct"},{name:"Linear",value:"linear_model"},{name:"U-Shaped",value:"u_shaped"},{name:"W-Shaped",value:"w_shaped"},{name:"Full Path Model",value:"full_path_model"},{name:"Data-driven attribution 1",value:"markov"},{name:"Data-driven attribution 2",value:"shapley"}]}static getPMTAttributionModel(){return[{name:"Lead Creation Touch",value:"lead_creation_touch"},{name:"First Touch",value:"first_touch"},{name:"Last Interaction",value:"last_interaction"},{name:"Last Non-Direct",value:"last_non-direct"},{name:"Linear",value:"linear_model"},{name:"U-Shaped",value:"u_shaped"},{name:"W-Shaped",value:"w_shaped"},{name:"Full Path Model",value:"full_path_model"}]}static getDimensionParameter(){return[{name:"Channel",value:1},{name:"Source",value:2},{name:"Campaign",value:4},{name:"Ad Group",value:5},{name:"Keyword",value:3}]}static getDimensionParameterforPCt(){return[{name:"Source",value:2},{name:"Campaign",value:4}]}static getOperatorList(){return[{name:"Containing",value:1},{name:"Exactly matching",value:2},{name:"Starts with",value:3},{name:"Ends with",value:4},{name:"Doesnot Contain",value:7},{name:"Not Equal",value:8}]}}m.getMediumLabels=()=>[{name:"Channel",value:"channel"},{name:"Source",value:"source"},{name:"Campaign Name",value:"campaign"},{name:"AdGroup",value:"AdGroup",disabled:!0},{name:"Keyword",value:"keyword",disabled:!0}],m.getChannelPerformanceMedium=()=>[{name:"Channel",value:"channel"},{name:"Source",value:"source"}],m.getTopConversionMedium=()=>[{name:"Channel",value:"channel"}],m.hubspotEmailFilter=()=>[{name:"demoMail.com",value:"demo"},{name:"test@here.com",value:"test"}],m.hubspotNameFilter=()=>[{name:"Demo",value:"demo"},{name:"Tester",value:"test"}];var v=t(98264);const M=[{name:"CMO",disabled:!0},{name:"CMO Dashboard",disabled:!0}],ee=(0,n.Z)(f.Z)`
	width: 100%;
	display: flex;
	margin-top: 2rem;
	align-items: center;
	justify-content: start;
	align-content: space-between;
	// font-size: 14px;
`,W=[{name:"Revenue",value:6},{name:"Spend",value:1},{name:"Total Closed Won",value:5},{name:"Current Pipeline",value:4},{name:"Total Pipeline",value:3},{name:"Current Opportunity",value:7},{name:"Total Opportunities",value:8},{name:"Contacts",value:9},{name:"Leads",value:2},{name:"Sessions",value:10},{name:"Unique Visitors",value:11},{name:"Form Filled",value:12}],re=[{name:"Revenue",value:6},{name:"Spend",value:1},{name:"Total Closed Won",value:5},{name:"Current Pipeline",value:4},{name:"Total Pipeline",value:3},{name:"Total Opportunities",value:8},{name:"Contacts",value:9},{name:"Leads",value:2},{name:"Sessions",value:10},{name:"Unique Visitors",value:11},{name:"Form Filled",value:12}],se=[{name:"Channel",value:1},{name:"Source",value:2},{name:"Campaign",value:3},{name:"Ad Group",value:4},{name:"Keyword",value:6}],S=[{name:"Channel",value:1},{name:"Source",value:2},{name:"Campaign",value:3},{name:"Ad Group",value:4},{name:"Keyword",value:6}];class J{static getDefaultChannelFilters(){return{date_type:"",attribution_model:"1",start_date:"",end_date:"",segment_id:null,conditions:[],filters:{condition:[]},isReload:!0}}static getDefaultFilters(){return{date_type:"",attribution_model:"linear_model",start_date:"",end_date:"",segment_id:null,conditions:[],filters:{condition:[]},isReload:!0}}static getDefaultCMOFilters(){return{date_type:"",attribution_model:1,relational_operator:1,start_date:"",end_date:"",segment_id:null,conditions:[],excludes:[],filters:{condition:[]},isReload:!0}}static getDefaultChannelFiltersPerformance(){return{date_type:"",attribution_model:1,relational_operator:1,start_date:"",end_date:"",segment_id:null,conditions:[],excludes:[],filters:{condition:[]},isReload:!0}}static getDefaultFiltersforPaidCampaign(){return{date_type:1,attribution_model:1,start_date:"",end_date:"",segment_id:null,conditions:[],filters:{condition:[]},isReload:!0}}static getDefaultFiltersforSMD(){return{date_type:"",attribution_model:"linear_model",start_date:l.b.getPastValueFromToday(6),end_date:l.b.getCurrentDate(),segment_id:"",conditions:[],connector:"all"}}static getDefaultRange(){return{start_date:l.b.getPastValueFromToday(6),end_date:l.b.getCurrentDate(),pre_end_date:l.b.getPastValueFromToday(1),pre_start_date:l.b.getPastValueFromToday(2)}}static getFilters(){return[{name:"Date Type",data:u.w.getDateType(),type:"dropdown",id:"date_type"},{name:"Attribution Model",data:u.w.getAttributionModel(),type:"dropdown",id:"attribution_model",required:!0},{name:"Dimensions",type:"conditional",id:"conditions",parameters:u.w.getDimensionParameter(),operators:u.w.getOperatorList()}]}static getFiltersforCMO(){return[{name:"Date Type",data:m.getDateType(),type:"dropdown",id:"date_type",required:!1},{name:"Attribution Model",data:m.getAttributionModel(),type:"dropdown",id:"attribution_model",required:!0},{name:"Dimensions",type:"conditional",id:"conditions",parameters:m.getDimensionParameter(),operators:m.getOperatorList()}]}static getFiltersforPerformance(){return[{name:"Date Type",data:m.getDateType(),type:"dropdown",id:"date_type",required:!1},{name:"Attribution Model",data:m.getAttributionModel(),type:"dropdown",id:"attribution_model",required:!0},{name:"Dimensions",type:"conditional",id:"conditions",parameters:m.getDimensionParameter(),operators:m.getOperatorList()}]}static getFiltersforPCT(){return[{name:"Date Type",data:m.getDateType(),type:"dropdown",id:"date_type",required:!1},{name:"Attribution Model",data:m.getAttributionModelforPCT(),type:"dropdown",id:"attribution_model",required:!0},{name:"Dimensions",type:"conditional",id:"conditions",parameters:m.getDimensionParameterforPCt(),operators:m.getOperatorList()}]}static getFiltersForSmd(){return[{name:"Attribution Model",data:u.w.getAttributionModel(),type:"dropdown",id:"attribution_model",required:!0},{name:"Connectors",data:u.w.getConnectors(),type:"dropdown",id:"connector",required:!0}]}static getFiltersForCPdrilldown(){return[{name:"Date Type",data:v._.getDateType(),type:"dropdown",id:"date_type",required:!0},{name:"Attribution Model",data:v._.getAttributionModel(),type:"dropdown",id:"attribution_model",required:!1},{name:"Dimensions",type:"conditional",id:"conditions",parameters:v._.getDimensionParameter().slice(0,2),operators:v._.getOperatorList()}]}}const T={revenue:{label:"Close Date is applied by default.",value:2},spend:{label:"Created Date is applied by default.",value:1},deals:{label:"Close Date is applied by default.",value:2},pipeline:{label:"Created Date is applied by default.",value:1},opportunities:{label:"Created Date is applied by default.",value:1},contacts:{label:"Created Date is applied by default.",value:1},leads:{label:"Created Date is applied by default.",value:1},sessions:{label:"Created Date is applied by default.",value:1},unique_visitors:{label:"Created Date is applied by default.",value:1},form_filled:{label:"Created Date is applied by default.",value:1},current_opportunity:{label:"Created Date is applied by default.",value:1},total_pipeline:{label:"Created Date is applied by default.",value:1}},V={closed_won:{label:"Close Date is applied by default.",value:2},pipeline:{label:"Created Date is applied by default.",value:1}},L="marketingnode/marketing_reports/closedWon",c="marketingdashboard/analytical_graph_dev",R=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]},2382:function(_e,$,t){"use strict";var n=t(67557),f=t(50871),l=t(13120),u=t(66005),m=t(35864),v=t.n(m),M=t(4488),ee=t.n(M),W=t(81887),re=t.n(W),se=t(12384),S=t(78134),J=t(5157),T=t(14560),V=t(93780),L=t(91933),c=t(89526);function R(B){var X,g,p,O,I;const[E,K]=(0,c.useState)(!1),d=(0,se.v9)(F=>F==null?void 0:F.isPdfClicked),i=(0,se.v9)(F=>F),x=(0,se.I0)(),A=F=>{switch(F.type){case"trendsAndDataTableHit":K(F.data);break}};(0,c.useEffect)(()=>{let F=L.Z.subscribe(A);return()=>{F.unsubscribe()}},[]),v().SVGRenderer.prototype.symbols["c-rect"]=function(F,Y,le,ie){return["M",F,Y+ie/2,"L",F+le,Y+ie/2]};const w=(0,u.Z)();re()(v());const C=F=>{var Y;const ie=V.AP.find(j=>j.value===F)||"";return(Y=ie==null?void 0:ie.name)==null?void 0:Y.toUpperCase()},U={chart:{type:"column",plotBorderWidth:null,plotBackgroundColor:w.palette.mode==="dark"&&B.backgroundColor?B.backgroundColor:w.palette.background.alt,backgroundColor:w.palette.mode==="dark"&&B.backgroundColor?B.backgroundColor:w.palette.background.alt,borderColor:w.palette.mode==="dark"&&B.backgroundColor?B.backgroundColor:w.palette.background.alt,plotShadow:!1,className:"highcharts-color-0",renderTo:"chartContainer",height:B.height?B.height:null},title:{style:{fontSize:"22px",fontWeight:"bold",fontFamily:"lato, BlinkMacSystemFont, 'Segoe UI', Loto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif"},text:B.title},credits:{enabled:!1},xAxis:{visible:!!((X=B.labels)!=null&&X.length),labels:{enabled:!!((g=B.labels)!=null&&g.length),style:{color:w.palette.text.primary}},className:"highcharts-color-1",min:0,max:(p=B==null?void 0:B.labels)!=null&&p.length?((O=B==null?void 0:B.labels)==null?void 0:O.length)-1:11,categories:(I=B.labels)!=null&&I.length?B.labels:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]},yAxis:{className:"highcharts-color-0",min:0,title:{text:B.addRotation?B.yAxisTitle:B.yAxisTitle?C(B.yAxisTitle):null,style:{color:w.palette.text.primary}},y:-20,labels:{style:{color:w.palette.text.primary}},gridLineWidth:w.palette.mode==="dark"?.2:1},tooltip:{formatter:function(){return B.addRotation?"<b>"+(this==null?void 0:this.x)+`: ${B.showHash?"#":"$"} ${this.y.toFixed(2)}</b>`:B.yAxisTitle=="revenue"||B.yAxisTitle=="spend"||B.yAxisTitle=="pipeline"||B.yAxisTitle=="total_pipeline"||B.isTargetGraph?`<span style="color:${this.series.color}">`+(this==null?void 0:this.series.name)+": "+(B.fromInsights?B.showHash?"#":"$":"")+(0,J.Z)(this.y)+"<br/></b><br/>":`<span style="color:${this.series.color}">`+(this==null?void 0:this.series.name)+": "+(0,J.Z)(this.y)+"<br/></b><br/>"},backgroundColor:"white",borderColor:"black",borderRadius:10,borderWidth:1,outside:!0},plotOptions:{column:{stacking:"normal",borderColor:null,borderWidth:2,dataLabels:{enabled:!1},maxPointWidth:20},maxPointWidth:36},series:B.series||[],lang:{noData:B.noDataMessage||"There is no data in the graph "},noData:{style:{fontWeight:"bold",fontSize:"15px",color:w.palette.text.primary}},colors:w.palette.graph,legend:{itemDistance:5,itemMarginTop:5,itemMarginBottom:5,itemWidth:150,style:{margin:"auto",textAlign:"center"},itemStyle:{textAlign:"right",fontSize:"13px",fontFamily:"Lato !important",color:w.palette.text.primary,fontWeight:"400 !important"},itemHoverStyle:{color:"#707070"},itemHiddenStyle:{color:"#707070"}}};return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"stackedChart",style:{backgroundColor:w.palette.background.alt},children:[!B.fromInsights&&(0,n.jsxs)(f.ZP,{container:!0,xs:12,display:"flex",justifyContent:"flex-end",alignItems:"center",py:"1rem",style:{backgroundColor:w.palette.background.alt,display:d?"none":""},children:[(0,n.jsx)(f.ZP,{item:!0,className:"stackedChart__dropdown",style:{width:"150px"},children:(0,n.jsx)(S.Z,{valueSelector:"value",itemList:[{name:"Revenue",value:6},{name:"Spend",value:1},{name:"Total Closed Won",value:5},{name:"Current Pipeline",value:4},{name:"Total Pipeline",value:3},{name:"Current Opportunity",value:7},{name:"Total Opportunities",value:8},{name:"Contacts",value:9},{name:"Leads",value:2},{name:"Sessions",value:10},{name:"Unique Visitors",value:11},{name:"Form Filled",value:12}],label:"name",name:"Metrics",selectedValue:B.metricDropdown?B.metricDropdown:1,labelName:"Metrics",onChange:F=>{const Y={type:"metricChange",data:F.target.value};L.Z.emit(Y),B.metricOnChange(F.target.value)}})}),(0,n.jsx)(f.ZP,{item:!0,className:"stackedChart__dropdown",style:{width:"150px"},children:(0,n.jsx)(S.Z,{valueSelector:"value",itemList:V.DZ,label:"name",name:"Dimensions",selectedValue:B.dimensionDropdown?B.dimensionDropdown:1,onChange:F=>{const Y={type:"dimensionChange",data:F.target.value};L.Z.emit(Y),B.dimensionOnChange(F.target.value)},labelName:"Dimensions"})})]}),E?(0,n.jsx)(f.ZP,{item:!0,style:{width:"100%",height:"40vh",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,n.jsx)(l.Z,{size:50,style:{color:w.palette.text.tertiary,zIndex:9999}})}):(0,n.jsx)("div",{children:(0,n.jsx)(ee(),{highcharts:v(),options:U})})]})})}$.Z=R},44512:function(_e,$,t){"use strict";t.d($,{Cv:function(){return l},HX:function(){return f},OC:function(){return m},lw:function(){return v},pp:function(){return n}});const n=M=>({title:{text:"Hello",style:{visibility:"hidden"}},credits:{enabled:!1},chart:{plotBackgroundColor:M.palette.background.light,backgroundColor:M.palette.background.light,borderColor:M.palette.background.light,height:320,plotBorderWidth:null,className:"highcharts-color-0"},yAxis:{title:{text:"Revenue",style:{fontSize:"1rem",fontWeight:"600",margin:200,color:M.palette.text.primary}},labels:{align:"right",useHTML:!0,style:{fontSize:"14px",whiteSpace:"nowrap",fontFamily:"Lato",color:M.palette.text.primary}},lang:{noData:"No data to display"},noData:{style:{fontWeight:"bold",fontSize:"15px",background:"red",color:M.palette.text.primary}},gridLineWidth:M.palette.mode==="dark"?.2:1}}),f=M=>({chart:{plotBackgroundColor:M.palette.background.light,backgroundColor:M.palette.background.light,borderColor:M.palette.background.light,plotBorderWidth:null,className:"highcharts-color-0",type:"bar",renderTo:"container",height:320},title:{text:null,style:{visibility:"hidden",color:M.palette.text.primary,background:M.palette.background.light}},xAxis:{categories:["Africa","America","Asia","Europe","Oceania"],title:{text:null,color:M.palette.text.primary},labels:{style:{color:M.palette.text.primary}}},yAxis:{min:0,title:{text:null,color:M.palette.text.primary},labels:{overflow:"justify",style:{color:M.palette.text.primary}},lang:{noData:"No data to display"},noData:{style:{fontWeight:"bold",fontSize:"15px",color:M.palette.text.primary}},style:{color:M.palette.text.primary}},tooltip:{},plotOptions:{bar:{dataLabels:{enabled:!0}}},legend:{enabled:!1},lang:{noData:"There is no data in the graph "},noData:{style:{fontWeight:"bold",fontSize:"15px",backround:"red",color:M.palette.text.primary}},credits:{enabled:!1},series:[{name:"",color:"#976EFA",width:20,data:[631,727,555,120,442,232]}]}),l={headCells:{style:{letterSpacing:"0.13px",fontSize:"15px !important",fontWeight:"bold !important",backgroundColor:"var(--dataTable-header)",paddingLeft:"1.4rem",paddingRight:"1.4rem",whiteSpace:"normal !important"}},cells:{style:{justifyContent:"center",letterSpacing:"0.13px",fontSize:"14px !important",fontWeight:"medium !important",paddingLeft:"3px"}}},u=(M,ee)=>{if(M.account_name==null)return 1;if(ee.account_name==null)return-1;if(M.account_name.includes(".")||M.account_name.includes(","))return 1;if(ee.account_name.includes(".")||ee.account_name.includes(","))return-1;const W=M.title.toLowerCase(),re=ee.title.toLowerCase();return W>re?1:re>W?-1:0},m=null,v=M=>M===m||M==null?"-":M},22767:function(_e,$,t){"use strict";t.d($,{$5:function(){return S},LE:function(){return f},MB:function(){return l},PD:function(){return V},QL:function(){return n},S9:function(){return m},UM:function(){return J},V0:function(){return W},VZ:function(){return se},Xn:function(){return v},ZL:function(){return re},qE:function(){return T},wE:function(){return L}});const n=[{name:"Revenue",value:6},{name:"Total Closed Won",value:5},{name:"Current Pipeline",value:4},{name:"Total Pipeline",value:3},{name:"Spend",value:1},{name:"Lead",value:2}],f=()=>n.map(c=>c.name),l=[{name:"Channel",value:1},{name:"Source",value:2},{name:"Campaign",value:3},{name:"Ad Group",value:4},{name:"Keyword",value:6}],u=[{name:"Channel",value:"channel"},{name:"Source",value:"source"},{name:"Keyword",value:"keyword"}],m=(c,R)=>{if(R)switch(c){case 0:return"Revenue";case 1:return"Opportunity";case 2:return"Spend";case 3:return"Lead";default:return""}else switch(c){case 0:return"Revenue";case 1:return"Total Closed Won";case 2:return"Current Pipeline";case 3:return"Total Pipeline";case 4:return"Spend";case 5:return"Lead";default:return""}};function v(c,R){return R.getMonth()-c.getMonth()+12*(R.getFullYear()-c.getFullYear())}function M(c,R){const B=new Set(c);return R.filter(X=>B.has(X))}const ee="world",W={revenueToChannel:{series:[],seriesLabels:[]},revenueToSource:{series:[],seriesLabels:[]},revenueToKeyword:{series:[],seriesLabels:[]},revenueToCampaign:{series:[],seriesLabels:[]},revenueToAdGroup:{series:[],seriesLabels:[]}},re={totalclosedWonToChannel:{series:[],seriesLabels:[]},totalclosedWonToSource:{series:[],seriesLabels:[]},totalclosedWonToKeyword:{series:[],seriesLabels:[]},totalclosedWonToCampaign:{series:[],seriesLabels:[]},totalclosedWonToAdGroup:{series:[],seriesLabels:[]}},se={currentPipelineToChannel:{series:[],seriesLabels:[]},currentPipelineToSource:{series:[],seriesLabels:[]},currentPipelineToKeyword:{series:[],seriesLabels:[]},currentPipelineToCampaign:{series:[],seriesLabels:[]},currentPipelineToAdGroup:{series:[],seriesLabels:[]}},S={totalPipelineToChannel:{series:[],seriesLabels:[]},totalPipelineToSource:{series:[],seriesLabels:[]},totalPipelineToKeyword:{series:[],seriesLabels:[]},totalPipelineToCampaign:{series:[],seriesLabels:[]},totalPipelineToAdGroup:{series:[],seriesLabels:[]}},J={spentToChannel:{series:[],seriesLabels:[]},spentToSource:{series:[],seriesLabels:[]},spentToCampaign:{series:[],seriesLabels:[]},spentToAdGroup:{series:[],seriesLabels:[]},spentToKeyword:{series:[],seriesLabels:[]}},T={leadToChannel:{series:[],seriesLabels:[]},leadToSource:{series:[],seriesLabels:[]},leadToCampaign:{series:[],seriesLabels:[]},leadToAdGroup:{series:[],seriesLabels:[]},leadToKeyword:{series:[],seriesLabels:[]}},V=(c,R)=>{if(R)switch(c){case 0:return"revenue";case 1:return"oppurtunities";case 2:return"spend";case 3:return"leads";default:return""}else switch(c){case 0:return"revenue";case 1:return"deals";case 2:return"pipeline";case 3:return"total_pipeline";case 4:return"spend";case 5:return"leads";default:return""}},L=c=>{switch(c.series.length){case 0:return 200;case 1:return 180;case 2:return 230;case 3:return 280;case 4:return 330;case 5:return 380;case 6:return 380;default:return 380}}},16216:function(_e,$,t){"use strict";t.d($,{X:function(){return v}});var n=t(61324),f=t(83242);const l=[{name:"CMO",isChecked:!0,isParent:!0,unique_id:"CMO",path:"/cmo/",children:[{name:"CMO Dashboard",isChecked:!0,unique_id:"cmo_dashboard",isDefaultReport:!0,path:"/insights/cmo/dashboard"},{name:"Performance Report",isChecked:!0,unique_id:"performance_report",isDefaultReport:!1,path:"/insights/cmo/performance-report"},{name:"Channel Performance",isChecked:!0,isDefaultReport:!1,unique_id:"channel_performance",path:"/insights/cmo/channel-performance"},{name:"Sales Cycle",isChecked:!0,isDefaultReport:!1,unique_id:"sales_cycle",path:"/insights/cmo/sales-cycle"},{name:"Break-Even Cohort",isChecked:!0,unique_id:"break_even_cohort",isDefaultReport:!1,path:"/insights/cmo/cohort"}]},{name:"Marketing Ops",isChecked:!0,isParent:!0,path:"/mo/",unique_id:"marketing_ops",children:[{name:"Path Length",isChecked:!0,unique_id:"path_length",isDefaultReport:!1,path:"/insights/mo/path-length"},{name:"Model Comparison",isChecked:!0,unique_id:"model_comparison",isDefaultReport:!1,path:"/insights/mo/model-comparison"},{name:"Metrics Hub",isChecked:!0,unique_id:"metrics_hub_report",path:"/insights/mo/metrics/hub"},{name:"Podcast Insights",isChecked:!0,unique_id:"podcast_insights",path:"/podcast-insights"}]},{name:"Channel",isChecked:!0,unique_id:"channel",path:"/insights/channel/",isParent:!0,children:[{name:"Paid Campaign Tracker",isChecked:!0,unique_id:"paid_campaign_tracker",isDefaultReport:!1,path:"/insights/channel/paid-campaign-tracker"},{name:"Paid Media Tracker",unique_id:"paid_media_tracker",isChecked:!0,isDefaultReport:!1,path:"/insights/channel/paid-media-tracker"},{name:"User Path Analysis",isDefaultReport:!1,unique_id:"user_path_analysis",isChecked:!0,path:"/insights/channel/path-analysis"},{name:"Top Conversion Paths",isDefaultReport:!1,isChecked:!0,unique_id:"top_conversion_path",path:"/insights/channel/top-conversion"},{name:"Email  Marketing Dashboard",isDefaultReport:!1,unique_id:"email_marketing_dashboard",isChecked:!0,path:"/insights/channel/hubspot-report"},{name:"SEO Dashboard",isDefaultReport:!1,unique_id:"seo_dashboard",isChecked:!0,path:"/insights/channel/search-console-report"},{name:"Social Media",isDefaultReport:!1,unique_id:"social_media",isChecked:!0,path:"/insights/channel/smd"}]},{name:"ABM",isChecked:!0,isParent:!0,unique_id:"abm",path:"/insights/abm",isDependentFeature:!0,children:[{name:"Overview Dashboard",isChecked:!0,unique_id:"overview_dashboard",isDependentFeature:!0,isDefaultReport:!1,path:"/insights/abm/comparison-dashboard"},{name:"Accounts",isChecked:!0,unique_id:"accounts",isDependentFeature:!0,isDefaultReport:!1,path:"/insights/abm/accounts"},{name:"Configuration",isDependentFeature:!0,unique_id:"configuration",isDefaultReport:!1,isChecked:!0,path:"/insights/abm/configuration"}]}],u=[{name:"Data Quality",isChecked:!0,isParent:!0,unique_id:"data_quality",path:"/cmo/",children:[{name:"SF Scoring",isChecked:!0,unique_id:"sf_scoring",isDefaultReport:!1,path:"/data-quality/sf-scoring"},{name:"HubSpot Scoring",isChecked:!0,unique_id:"hubspot_scoring",isDefaultReport:!1,path:"/data-quality/hubspot-scoring"}]},{name:"Campaign Setup",path:"/governance/",isChecked:!0,isParent:!0,isDependentFeature:!0,unique_id:"campaign_setup",icon:f.Z.getCampaignIcon(),children:[{name:"Create Campaign",unique_id:"create_campaign",isChecked:!0,path:"/governance/campaigns/list",isDependentFeature:!0,isDefaultReport:!1},{name:"Select Platform",isChecked:!0,isDependentFeature:!0,unique_id:"select_platform",path:"/governance/parameter",isDefaultReport:!1},{name:"Channel Setup",isChecked:!0,isDependentFeature:!0,unique_id:"channel_setup",path:"/governance/channels/list",isDefaultReport:!1},{name:"Attributes Setup",isChecked:!0,isDependentFeature:!0,unique_id:"atrribute_setup",path:"/governance/attributes/list",isDefaultReport:!1}]}],m=[{name:"Global Settings",isChecked:!0,isDisabled:!0,unique_id:"global_settings",path:"/settings/global",isDefaultReport:!1},{name:"Integrations",unique_id:"integrations",isChecked:!0,isDefaultReport:!1,path:"/settings/connectors"},{name:"Campaign Mapping",unique_id:"campaign_mapping",isChecked:!0,isDefaultReport:!1,path:"/settings/campaign-mapping"},{name:"Channel Manager",isChecked:!0,unique_id:"channel_manager",isDefaultReport:!1,path:"/settings/channel-manager"},{name:"Segment Manager",isChecked:!0,isDefaultReport:!1,unique_id:"segment_manager",path:"/settings/segment-manager"},{name:"Content Grouping",isChecked:!0,isDefaultReport:!1,unique_id:"content_grouping",path:"/settings/content-grouping"},{name:"User Access Management",isChecked:!0,unique_id:"user_access_management",isDefaultReport:!1,path:"/settings/user-access-management/list"}],v=[{name:"Insights",value:0,isChecked:!0,isGrandParent:!0,isNoHeading:!1,icon:f.Z.getDashboardIcon(),children:l,isParentReport:!0,unique_id:"insights",path:"/insights"},{name:"Data Quality",value:1,isChecked:!0,isNoHeading:!0,path:"/data-quality/",isParentReport:!1,unique_id:"data_quality",icon:n.Z.getSFScoringIcon(),isGrandParent:!0,isDataQuality:!0,children:u},{name:"Settings",value:2,path:"/settings/",isChecked:!0,isNoHeading:!0,unique_id:"settings",isParentReport:!1,icon:f.Z.getSettingsIcon(),isGrandParent:!0,children:m}]},752:function(_e,$,t){"use strict";t.d($,{T:function(){return m},d:function(){return u}});var n=t(67557),f=t(89526);const l=(0,f.createContext)(),u=({children:v})=>{const M="#9149ff",ee="#D412FF",W="",re=["#3DC6C3","#50E3C2","#E3B9B7","#b899b6","#57167E","#6a539d","#75ab68","#c4855f","#9fa639fc","#923b66fc"],[se,S]=(0,f.useState)([]),[J,T]=(0,f.useState)([]),[V,L]=(0,f.useState)([]),[c,R]=(0,f.useState)([]),[B,X]=(0,f.useState)([]),[g,p]=(0,f.useState)(""),[O,I]=(0,f.useState)(localStorage.getItem("primaryColor")||M),[E,K]=(0,f.useState)(localStorage.getItem("secondaryColor")||ee),[d,i]=(0,f.useState)(localStorage.getItem("tableColor")||W),[x,A]=(0,f.useState)(JSON.parse(localStorage.getItem("graphColors"))||re);(0,f.useEffect)(()=>{localStorage.setItem("primaryColor",O)},[O]),(0,f.useEffect)(()=>{localStorage.setItem("secondaryColor",E)},[E]),(0,f.useEffect)(()=>{localStorage.setItem("tableColor",d)},[d]),(0,f.useEffect)(()=>{localStorage.setItem("graphColors",JSON.stringify(x))},[x]);const w=le=>{I(le)},C=le=>{K(le)},U=le=>{A(le)},F=le=>{i(le)},Y=()=>{I(M),K(ee),i(W),A(re),window.location.reload()};return console.log("addding stateee",se,J),(0,n.jsx)(l.Provider,{value:{primaryColorApp:O,handlePrimaryColorChange:w,secondaryColorApp:E,handleSecondaryColorChange:C,graphColorsApp:x,handleGraphColorChange:U,tableColor:d,handleTableColorChange:F,handleDefaultTheme:Y,barGraphColors:se,trendGraphColors:J,areaChartColors:V,donutPieChartColors:c,funnelGraphColors:B,setBarGraphColors:S,setTrendGraphColors:T,setAreaChartColors:L,setDonutPieChartColors:R,setFunnelGraphColors:X},children:v})},m=()=>(0,f.useContext)(l)},67137:function(_e,$,t){"use strict";t.d($,{Dk:function(){return v},H7:function(){return M},II:function(){return ee},VU:function(){return u},Xy:function(){return m},y5:function(){return f},z8:function(){return l}});const n=[{label:"Campaign",value:"campaign_name"},{label:"Campaign Group",value:"campaign_group"},{label:"Status",value:"campaign_status"},{label:"Type",value:"campaign_type"},{label:"Platform",value:"platform_name"},{label:"Impressions",value:"impressions"},{label:"Clicks",value:"clicks"},{label:"CTR",value:"ctr"},{label:"Revenue",value:"revenue"},{label:"Unique Visitors",value:"unique_visitors"},{label:"Form Fill",value:"form_fill"},{label:"Conversion Rate",value:"conversion_rate"},{label:"Platform Cost",value:"platform_cost"},{label:"Cost Per Lead",value:"cost_per_lead"},{label:"Leads",value:"total_leads"},{label:"CPM",value:"cpm"},{label:"MQL",value:"mql"},{label:"SQL",value:"sql"},{label:"Opportunity",value:"oppty"},{label:"Total Closed Won",value:"total_closed_won"},{label:"ACV",value:"acv"}],f=[{label:"Campaign",value:"campaign_name"},{label:"Platform",value:"platform_name"},{label:"Platform Cost",value:"platform_cost"},{label:"Clicks",value:"clicks"},{label:"Leads",value:"total_leads"},{label:"Revenue",value:"revenue"},{label:"Opportunity",value:"oppty"}],l=[{label:"Opportunity Name",value:"oppty"},{label:"Account Name",value:"account_name"},{label:"Email",value:"email"},{label:"Revenue",value:"revenue"},{label:"Type",value:"campaign_type"},{label:"Channel",value:"channel"},{label:"Source",value:"source"}],u=[{label:"Opportunity Name",value:"oppty"},{label:"Account Name",value:"account_name"},{label:"Email",value:"email"},{label:"Amount",value:"amount"},{label:"Type",value:"campaign_type"},{label:"Channel",value:"channel"},{label:"Source",value:"source"}],m=[{label:"Opportunity Name",value:"oppty"},{label:"Account Name",value:"account_name"},{label:"Email",value:"email"},{label:"Revenue ($)",value:"revenue"},{label:"Closed Date",value:"closed_date"},{label:"Lead Source",value:"lead_source"},{label:"Type",value:"campaign_type"},{label:"Channel",value:"channel"},{label:"Source",value:"source"}],v=[{label:"Account Name",value:"account_name"},{label:"Opportunity Name",value:"oppty"},{label:"Email",value:"email"},{label:"Create Date",value:"create_date"},{label:"Closed Date",value:"closed_date"},{label:"Stage",value:"stage"},{label:"Amount",value:"amount"},{label:"Lead Source",value:"lead_source"},{label:"Type",value:"campaign_type"},{label:"Probability",value:"probability"},{label:"Age",value:"age"},{label:"Link Type",value:"link_type"},{label:"Channel",value:"channel"},{label:"Source",value:"source"}],M=[{value:"email",label:"Contact Email"},{value:"first_name",label:"First Name"},{value:"last_name",label:"Last Name"},{value:"lead_id",label:"Lead Id"},{value:"lead_score",label:"Score"},{value:"click_email_count",label:"Click Email"},{value:"email_open_count",label:"Open Email"},{value:"click_link_count",label:"Click Link"},{value:"visit_webpage_count",label:"Visit Webpage"},{value:"form_submission_count",label:"Filling the Form"}],ee=[{value:"email",label:"Contact Email"},{value:"lead_score",label:"Score"},{value:"click_email_count",label:"Click Email"},{value:"email_open_count",label:"Open Email"},{value:"click_link_count",label:"Click Link"},{value:"visit_webpage_count",label:"Visit Webpage"},{value:"form_submission_count",label:"Filling the Form"}]},18900:function(_e,$,t){"use strict";t.d($,{Z:function(){return on}});var n=t(67557),f=t(18051),l=t(50871),u=t(19855),m=t(13825),v=t(89526),M=t(48322),ee=t(60666),W=t(64494),re=Object.defineProperty,se=Object.defineProperties,S=Object.getOwnPropertyDescriptors,J=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable,L=(vr,Dr,_r)=>Dr in vr?re(vr,Dr,{enumerable:!0,configurable:!0,writable:!0,value:_r}):vr[Dr]=_r,c=(vr,Dr)=>{for(var _r in Dr||(Dr={}))T.call(Dr,_r)&&L(vr,_r,Dr[_r]);if(J)for(var _r of J(Dr))V.call(Dr,_r)&&L(vr,_r,Dr[_r]);return vr},R=(vr,Dr)=>se(vr,S(Dr)),X=vr=>(0,n.jsx)("div",{children:(0,n.jsxs)("svg",R(c({width:"25",height:"25",viewBox:"0 0 25 25",fill:vr.fill,xmlns:"http://www.w3.org/2000/svg"},vr),{children:[(0,n.jsx)("g",{"clip-path":"url(#clip0_556_380)",children:(0,n.jsx)("path",{d:"M20.1388 15.2781C19.3513 15.2788 18.5756 15.471 17.879 15.8384C17.1823 16.2057 16.5854 16.737 16.1399 17.3865L9.35968 14.325C9.84125 13.1621 9.84313 11.8559 9.36489 10.6917L16.1357 7.61458C16.796 8.56954 17.7767 9.25621 18.8999 9.55005C20.0231 9.84388 21.2144 9.72542 22.2577 9.21615C23.3011 8.70687 24.1273 7.84052 24.5866 6.77423C25.0459 5.70795 25.1078 4.51236 24.7611 3.40435C24.4144 2.29633 23.682 1.34927 22.6969 0.734952C21.7117 0.120638 20.539 -0.120239 19.3915 0.0560151C18.244 0.232269 17.1976 0.813978 16.4422 1.69563C15.6868 2.57727 15.2725 3.70046 15.2743 4.86146C15.2787 5.13625 15.3066 5.41016 15.3576 5.68021L8.15968 8.95104C7.46837 8.30335 6.60292 7.8717 5.66965 7.70913C4.73639 7.54655 3.77596 7.66012 2.90636 8.03589C2.03675 8.41166 1.29585 9.03327 0.774677 9.82433C0.253501 10.6154 -0.0252506 11.5415 -0.027332 12.4888C-0.0294134 13.4361 0.245266 14.3634 0.762961 15.1568C1.28066 15.9501 2.01882 16.575 2.88676 16.9546C3.7547 17.3341 4.71463 17.4519 5.6486 17.2935C6.58257 17.135 7.4499 16.7071 8.14406 16.0625L15.3607 19.3208C15.3106 19.5906 15.2831 19.8642 15.2784 20.1385C15.2782 21.1001 15.5632 22.0402 16.0973 22.8398C16.6314 23.6394 17.3906 24.2627 18.279 24.6308C19.1674 24.9989 20.1449 25.0952 21.0881 24.9077C22.0312 24.7201 22.8975 24.2571 23.5775 23.5772C24.2574 22.8972 24.7204 22.0309 24.908 21.0878C25.0955 20.1446 24.9992 19.1671 24.6311 18.2787C24.263 17.3903 23.6397 16.6311 22.8401 16.097C22.0405 15.5629 21.1004 15.2779 20.1388 15.2781ZM20.1388 2.08333C20.6884 2.08313 21.2256 2.24588 21.6826 2.55102C22.1396 2.85616 22.4958 3.28997 22.7062 3.79759C22.9167 4.30521 22.9718 4.86383 22.8648 5.4028C22.7577 5.94178 22.4932 6.43689 22.1047 6.82552C21.7162 7.21415 21.2212 7.47885 20.6823 7.58612C20.1433 7.6934 19.5847 7.63845 19.077 7.42821C18.5693 7.21797 18.1353 6.86189 17.83 6.40501C17.5247 5.94813 17.3618 5.41096 17.3618 4.86146C17.3623 4.125 17.655 3.41885 18.1757 2.898C18.6964 2.37715 19.4024 2.08416 20.1388 2.08333ZM4.86176 15.2781C4.31226 15.2783 3.77503 15.1156 3.31804 14.8104C2.86104 14.5053 2.5048 14.0715 2.29437 13.5639C2.08394 13.0562 2.02877 12.4976 2.13585 11.9587C2.24293 11.4197 2.50744 10.9246 2.89592 10.5359C3.28441 10.1473 3.77942 9.88261 4.31835 9.77533C4.85729 9.66805 5.41593 9.72301 5.92362 9.93325C6.43132 10.1435 6.86527 10.4996 7.17058 10.9564C7.47589 11.4133 7.63885 11.9505 7.63885 12.5C7.63802 13.2364 7.3452 13.9424 6.82461 14.4631C6.30401 14.9839 5.59813 15.277 4.86176 15.2781ZM20.1388 22.9167C19.5894 22.9167 19.0523 22.7537 18.5954 22.4485C18.1385 22.1432 17.7825 21.7093 17.5722 21.2017C17.3619 20.694 17.3069 20.1355 17.4141 19.5966C17.5213 19.0577 17.7859 18.5626 18.1744 18.1741C18.5629 17.7856 19.058 17.521 19.5969 17.4138C20.1358 17.3066 20.6944 17.3616 21.202 17.5719C21.7096 17.7822 22.1435 18.1382 22.4488 18.5951C22.754 19.052 22.917 19.5891 22.917 20.1385C22.9164 20.8752 22.6236 21.5815 22.1027 22.1024C21.5818 22.6232 20.8755 22.9161 20.1388 22.9167Z",fill:vr.fill})}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_556_380",children:(0,n.jsx)("rect",{width:"25",height:"25",fill:vr.fill})})})]}))}),g=t(372),p=t(42221),O=t(37240),I=t(53933),E=t(73622),K=t(9717),d=t(94049),i=t(49291),x=t(78134),A=t(19476),w=t(70235),C=t(48650),U=t(97827),F=t(65337),Y=t(47486),le=t(66005),ie=(vr,Dr,_r)=>new Promise((Hr,Pr)=>{var un=Dn=>{try{Jn(_r.next(Dn))}catch(qn){Pr(qn)}},Zn=Dn=>{try{Jn(_r.throw(Dn))}catch(qn){Pr(qn)}},Jn=Dn=>Dn.done?Hr(Dn.value):Promise.resolve(Dn.value).then(un,Zn);Jn((_r=_r.apply(vr,Dr)).next())});function j({toaster:vr,name:Dr,closePopup:_r,loader:Hr,downloadPDFClassName:Pr}){const{handleSubmit:un}=(0,i.cI)(),Zn=(0,le.Z)(),Jn=(0,U.Z)(),Dn=C.Z.getItem("userData"),[qn,lr]=v.useState(0),Yr=qr=>{lr(qr.target.value),ti("")},[Yn,ti]=(0,v.useState)(),[Wi,_t]=(0,v.useState)([]);(0,v.useEffect)(()=>{Ct()},[]);const Ct=()=>ie(this,null,function*(){const qr={headers:{"access-token":Dn["access-token"]},request:{}};Jn.get(F.Z.getChildAccounts(qr)).then(mn=>{_t(mn==null?void 0:mn.data)}).catch(mn=>{}).finally(()=>{})}),mt=()=>ie(this,null,function*(){if(!(Yn!=null&&Yn.trim()))vr.addToast({type:"error",message:"Please fill email",timeout:3e3});else{let qr=document.getElementsByClassName(`${Pr}`)[0];Hr.showLoader(),(0,A.Vg)(qr,{paperSize:"A4",scale:.3,forcePageBreak:".page-break",keepTogether:".keep-together"}).then(mn=>(0,w.F_)(mn)).then(mn=>{const In={headers:{"access-token":Dn["access-token"]},request:{report_name:Dr=="Channel Performance"?"channel_performance":Dr,email:[Yn],linking_type:1,format_type:Number(qn),base64_string:mn.split(";base64,")[1]}};Jn.post(F.Z.uploadPDFtoServer(In)).then(Vr=>{vr.addToast({message:"Email sent Successfully",type:"success",timeout:3e3})}).catch(Vr=>{vr.addToast({type:"error",message:Vr.message,timeout:3e3})}).finally(()=>{Hr.hideLoader()})})}}),br=/^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i,Pt=qr=>{br.test(Yn)?mt():vr.addToast({type:"error",timeout:3e3,message:"Please enter a valid email."})};return(0,n.jsx)(l.ZP,{xs:12,container:!0,className:"shareByLink",children:(0,n.jsxs)("form",{onSubmit:un(Pt),style:{width:"100%"},children:[(0,n.jsx)(l.ZP,{xs:12,className:"shareByEmail__radio",children:(0,n.jsxs)(E.Z,{"aria-labelledby":"demo-controlled-radio-buttons-group",name:"controlled-radio-buttons-group",value:qn,style:{display:"flex",flexDirection:"row",width:"60%"},onChange:Yr,children:[(0,n.jsxs)(l.ZP,{xs:6,children:[" ",(0,n.jsx)(K.Z,{value:"0",control:(0,n.jsx)(d.Z,{size:"small",sx:{"& .MuiSvgIcon-root":{fontSize:28}}}),label:"Shareable Link",labelPlacement:"start"})]}),(0,n.jsx)(l.ZP,{xs:6,children:(0,n.jsx)(K.Z,{value:"1",control:(0,n.jsx)(d.Z,{size:"small",sx:{"& .MuiSvgIcon-root":{fontSize:28}}}),label:"Private Link",labelPlacement:"start"})})]})}),qn==1?(0,n.jsxs)(l.ZP,{xs:12,container:!0,display:"flex",marginTop:"1rem",children:[(0,n.jsx)(l.ZP,{xs:12,children:(0,n.jsx)(u.Z,{marginBottom:"10px",children:"Select Email"})}),(0,n.jsx)(l.ZP,{xs:12,children:(0,n.jsx)(x.Z,{valueSelector:"value",itemList:Wi,label:"name",name:"email",onChange:qr=>{ti(qr.target.value)},labelName:"Select Email",selectedValue:Yn})}),(0,n.jsx)(l.ZP,{xs:12,children:(0,n.jsx)(u.Z,{style:{fontSize:"12px",color:Zn.palette.info.main},children:"Link will be sent and accessed only by the above selected email id."})})]}):(0,n.jsxs)(l.ZP,{xs:12,container:!0,display:"flex",marginTop:"1rem",children:[(0,n.jsx)(l.ZP,{xs:12,children:(0,n.jsx)(u.Z,{marginBottom:"10px",children:"Enter Email"})}),(0,n.jsx)(l.ZP,{xs:12,children:(0,n.jsx)(Y.Z,{name:"email",onChange:qr=>{ti(qr.target.value)}})}),(0,n.jsx)(l.ZP,{xs:12,children:(0,n.jsx)(u.Z,{style:{fontSize:"12px",color:Zn.palette.info.main},children:"Link will be sent to the above entered email id and anyone can access it."})})]}),(0,n.jsxs)(l.ZP,{xs:12,textAlign:"center",children:[(0,n.jsx)(ee.Z,{type:"submit",btnText:"Send Link",style:{width:"30%"}}),(0,n.jsx)(ee.Z,{variant:"outlined",type:"button",btnText:"Cancel",style:{width:"30%"},onClick:()=>{_r()}})]})]})})}var ue=j,P=t(85233),Z=(0,P.Z)((0,n.jsx)("path",{d:"M16 13h-3V3h-2v10H8l4 4 4-4zM4 19v2h16v-2H4z"}),"VerticalAlignBottomOutlined");function ae(vr,Dr,_r){_r===void 0&&(_r={});var Hr=te;if(_r.forceProxy&&!_r.proxyURL)throw new Error("No proxyURL is set, but forceProxy is true");_r.forceProxy||(be()&&(Hr=h),navigator.msSaveBlob&&(Hr=pe)),Hr(vr,Dr,_r)}var ce=function(){return document.createElement("a")},be=function(){return"download"in ce()};function pe(vr,Dr){var _r=vr;if(typeof vr=="string"){for(var Hr=vr.split(";base64,"),Pr=Hr[0],un=atob(Hr[1]),Zn=new Uint8Array(un.length),Jn=0;Jn<un.length;Jn++)Zn[Jn]=un.charCodeAt(Jn);_r=new Blob([Zn.buffer],{type:Pr})}navigator.msSaveBlob(_r,Dr)}function h(vr,Dr){var _r=vr;window.Blob&&vr instanceof Blob&&(_r=URL.createObjectURL(vr));var Hr=ce();Hr.download=Dr,Hr.href=_r;var Pr=document.createEvent("MouseEvents");Pr.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),Hr.dispatchEvent(Pr),setTimeout(function(){return URL.revokeObjectURL(_r)})}function te(vr,Dr,_r){if(_r.proxyURL){var Hr=document.createElement("form");Hr.setAttribute("action",_r.proxyURL),Hr.setAttribute("method","POST"),Hr.setAttribute("target",_r.proxyTarget||"_self");var Pr=_r.proxyData||{};Pr.fileName=Dr;var un=vr.split(";base64,");Pr.contentType=un[0].replace("data:",""),Pr.base64=un[1];for(var Zn in Pr)if(Pr.hasOwnProperty(Zn)){var Jn=document.createElement("input");Jn.setAttribute("type","hidden"),Jn.setAttribute("name",Zn),Jn.setAttribute("value",Pr[Zn]),Hr.appendChild(Jn)}document.body.appendChild(Hr),Hr.submit(),document.body.removeChild(Hr)}}var Q="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",we=String.fromCharCode;function Se(vr){for(var Dr=Ne(vr),_r="",Hr,Pr,un,Zn,Jn,Dn,qn,lr=0;lr<Dr.length;)Hr=Dr.charCodeAt(lr++),Pr=Dr.charCodeAt(lr++),un=Dr.charCodeAt(lr++),Zn=Hr>>2,Jn=(Hr&3)<<4|Pr>>4,Dn=(Pr&15)<<2|un>>6,qn=un&63,isNaN(Pr)?Dn=qn=64:isNaN(un)&&(qn=64),_r=_r+Q.charAt(Zn)+Q.charAt(Jn)+Q.charAt(Dn)+Q.charAt(qn);return _r}function Ne(vr){for(var Dr="",_r=0;_r<vr.length;_r++){var Hr=vr.charCodeAt(_r);Hr<128?Dr+=we(Hr):Hr<2048?(Dr+=we(192|Hr>>>6),Dr+=we(128|Hr&63)):Hr<65536&&(Dr+=we(224|Hr>>>12),Dr+=we(128|Hr>>>6&63),Dr+=we(128|Hr&63))}return Dr}var ze=t(82279),Je="export.pdf",qe="KendoReact PDF Generator",Me=function(){function vr(Dr,_r,Hr,Pr,un){un===void 0&&(un={});var Zn=this;this.drawDOM=Dr,this.exportPDF=_r,this.saveAs=Hr,this.domElement=Pr,this.options=un,this.convertPageTemplateToHtml=function(Jn){var Dn=ze.renderToStaticMarkup(v.createElement(Zn.options.pageTemplate,{pageNum:Jn.pageNum,totalPages:Jn.totalPages}));return"<span>".concat(Dn,"</span>")}}return vr.prototype.savePDF=function(Dr){var _r=this,Hr=this.drawDOM(this.domElement,this.getDrawOptions()).then(function(Pr){return _r.exportPDF(Pr,_r.getPDFOptions())}).then(function(Pr){return _r.saveAs(Pr,_r.options.fileName||Je,_r.getSaveOptions())});Dr&&Hr.then(Dr,Dr)},vr.prototype.getDrawOptions=function(){return{avoidLinks:this.options.avoidLinks,forcePageBreak:this.options.forcePageBreak,keepTogether:this.options.keepTogether,margin:this.options.margin,paperSize:this.options.paperSize,landscape:this.options.landscape,repeatHeaders:this.options.repeatHeaders,scale:this.options.scale,template:this.options.pageTemplate&&this.convertPageTemplateToHtml}},vr.prototype.getPDFOptions=function(){return{author:this.options.author,creator:this.options.creator||qe,date:this.options.date,imgDPI:this.options.imageResolution,keywords:this.options.keywords,landscape:this.options.landscape,margin:this.options.margin,multiPage:!0,paperSize:this.options.paperSize,producer:this.options.producer,subject:this.options.subject,title:this.options.title}},vr.prototype.getSaveOptions=function(){return{forceProxy:this.options.forceProxy,proxyData:this.options.proxyData,proxyTarget:this.options.proxyTarget,proxyURL:this.options.proxyURL}},vr}(),Fe=Me;function Ue(vr,Dr,_r){Dr===void 0&&(Dr={}),new Fe(A.Vg,w.F_,ae,vr,Dr).savePDF(_r)}var he=t(61241),xe=t(25588),q=t(93780),me=t(36105),De=t.n(me),Te=(0,P.Z)((0,n.jsx)("path",{d:"M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V10h16v11zm0-13H4V5h16v3z"}),"CalendarTodayOutlined"),st=vr=>{var Dr,_r,Hr,Pr;const un=C.Z.getItem("appTheme"),Zn=window.location.pathname,Jn=C.Z.getItem("dateRange"),Dn=C.Z.getItem("logo");let[qn,lr]=v.useState(Jn||q._2.getDefaultRange()),Yr=document.getElementsByClassName("commonPageHeading")[0],Yn=document.getElementsByClassName("dashboard")[0];Yr&&(Yr.style.marginTop="2.2rem"),Yn&&(Yn.style.marginTop="3rem");const ti=C.Z.getItem("ShareReports_data"),Wi=ti==null?void 0:ti.DBLogo,_t=ti==null?void 0:ti.LBLogo,Ct=C.Z.getItem("isClient");return(0,n.jsxs)("div",{children:[Zn=="/insights/cmo/dashboard"&&(0,n.jsxs)("div",{style:{position:"absolute",top:"2.1rem",left:"0px",width:"98%",padding:"20px",backgroundColor:un=="light"?"white":"#171725",display:"flex",justifyContent:"space-between",alignItems:"center"},children:[(0,n.jsxs)("div",{style:{fontSize:"24px",width:"35em"},children:[(0,n.jsx)(u.Z,{variant:"h5",component:"span",color:un=="dark"?"white":"black",children:"CMO Dashboard"}),(0,n.jsx)("div",{style:{fontSize:"16px",color:(_r=(Dr=un==null?void 0:un.palette)==null?void 0:Dr.text)==null?void 0:_r.tertiary,margin:"5px 0px",fontStyle:"italic"},children:"CMO > CMO Dashboard"})]}),(0,n.jsx)("div",{style:{float:"right",display:"flex",alignSelf:"center",justifyContent:"right",alignItems:"center",width:"100%"},children:(0,n.jsxs)("div",{style:{width:"270px",padding:"20px",borderRadius:"40px",border:un=="dark"?"1px solid #9149ff":"1px solid white",display:"flex",fontSize:"18px",flexDirection:"row",alignItems:"center",gap:"10px"},children:[(0,n.jsx)(Te,{style:{fill:(Pr=(Hr=un==null?void 0:un.palette)==null?void 0:Hr.text)==null?void 0:Pr.tertiary}}),(0,n.jsxs)("div",{children:[De()(qn.start_date).format("MMM DD , YYYY")," -"," ",De()(qn.end_date).format("MMM DD , YYYY")]})]})})]}),vr.pageNum==1?(0,n.jsxs)("div",{style:{position:"absolute",top:"0px",left:"0px",width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between",backgroundColor:un=="light"?"rgb(255, 255, 255)":"#171725"},children:[Ct?(0,n.jsx)("img",{crossOrigin:"",src:un=="light"?_t:Wi,alt:"Company Logo",style:{height:"30px",margin:"5px 0px 0px 10px"}}):(0,n.jsx)("img",{src:un=="light"?he.Z:xe.Z,alt:"Company Logo",style:{height:"30px",margin:"5px 0px 0px 10px"}}),(0,n.jsx)("img",{src:Dn,alt:"Client Logo",style:{height:"30px",margin:"5px 10px 0px 0px",backgroundSize:"contain",backgroundPosition:"center"}})]}):"","// ----------------------code for showing watermark on each page-----------------------------------"]})},Ft=t(7484),Qt=t(58146),Vt=t(67137),Gt=t(77760),Jt=t(77523),Lr=t(94030),Rr=t(21081),Gr=t(900),zr=t.n(Gr),pr=t(12384),vn=t(91871),fn=(vr,Dr,_r)=>new Promise((Hr,Pr)=>{var un=Dn=>{try{Jn(_r.next(Dn))}catch(qn){Pr(qn)}},Zn=Dn=>{try{Jn(_r.throw(Dn))}catch(qn){Pr(qn)}},Jn=Dn=>Dn.done?Hr(Dn.value):Promise.resolve(Dn.value).then(un,Zn);Jn((_r=_r.apply(vr,Dr)).next())}),St=vr=>{var Dr;const{setShowSidebar:Hr}=(0,vn.Ap)(),Pr=(Dr=C.Z)==null?void 0:Dr.getItem("csvLink"),un=(0,pr.v9)(Ct=>Ct==null?void 0:Ct.rowsCountForPdf),Zn=C.Z.getItem("campaignPerformancePageLimit"),Jn=C.Z.getItem("count"),Dn=(Ct,mt)=>{const br=document.getElementById(Ct);return br?br.cloneNode(!0):(console.error(`Element with id "${Ct}" not found.`),null)},qn=(0,v.useCallback)(Ct=>Ct*25.4/96,[]),lr=(0,v.useCallback)(Ct=>Ct*96/25.4,[]),Yr=(0,v.useCallback)((Ct,mt)=>Array(mt-Ct).fill().map((br,Pt)=>Ct+Pt),[]),Yn=(0,v.useCallback)(Ct=>fn(void 0,null,function*(){if(vr){const{hideSidebar:mt,backgroundColor:br,topHeader:Pt,tableHeightClass:qr,topNav:mn}=vr,In=document.getElementsByClassName("no_records_to_display");if(mt){const Vr=document.getElementById(mt),Fn=document.getElementsByClassName(Pt),An=document.getElementsByClassName(mn),zn=document.getElementsByClassName("app__outer");Vr&&(Vr.style.display="none",Fn[0].style.display="none",(An==null?void 0:An.length)>0&&(An[0].style.display="none"),(zn==null?void 0:zn.length)>0&&(zn[0].style.height="unset"))}(In==null?void 0:In.length)>0&&(In[0].style.height="180px")}}),[vr]);return{pxToMm:qn,mmToPx:lr,range:Yr,capturePage:(Ct,mt)=>fn(void 0,null,function*(){try{document.body.style.margin="0 auto";const br=document.getElementById(Ct);if(!br)throw console.error(`Element with id "${Ct}" not found.`),new Error("Element not found");const Pt=qn((br==null?void 0:br.offsetHeight)<1293?1293:br==null?void 0:br.offsetHeight),qr=window.devicePixelRatio>=1?350:450,mn=297,In=lr(mn),Vr=Pt<=mn?1:Math.floor(Pt/mn)+1,An=(yield zr()(br,{allowTaint:!0,useCORS:!0,dpi:300,letterRendering:!0,logging:!1,scale:1.5})).toDataURL("image/png");let zn,bi=un===5?250:Pt;Jn<5&&(bi=180),Pt>mn?zn=new Ft.ZP("p","mm",[Pt-16,qr]):zn=new Ft.ZP,Pt<450?zn.addImage(An,"PNG",0,0,qr,0):zn.addImage(An,"PNG",0,0,qr,Pt-16),zn.save(`${mt||Ct}.pdf`),setTimeout(()=>{window.location.reload()},500)}catch(br){throw console.error("Error generating PDF",br),window.location.reload(),br}}),paidCampanpaignCapture:(Ct,mt)=>fn(void 0,null,function*(){document.body.style.margin="0 auto",Yn();const br=document.getElementById(Ct),Pt=qn((br==null?void 0:br.offsetHeight)<1293?1293:br==null?void 0:br.offsetHeight),qr=window.devicePixelRatio>=1?350:450,mn=297,In=lr(mn),Vr=Pt<=mn?1:Math.floor(Pt/mn)+1;yield zr()(br,{allowTaint:!0,dpi:300,letterRendering:!0,logging:!1,scale:1.5}).then(Fn=>{const An=Fn.toDataURL("image/png");let zn,bi=Zn===5?250:Pt;Jn<5&&(bi=180),Pt>mn?zn=new Ft.ZP("p","mm",[Pt+16,qr]):zn=new Ft.ZP;const Si="Click here to download the CSV file*",bo=16,Fi="CSV available till 6 months",mo=10;zn.setFontSize(bo),zn.setFont(Si,"italic");const _o=zn.getStringUnitWidth(Si)*bo/zn.internal.scaleFactor,Ti=10,ao=bi+10;zn.addImage(An,"PNG",0,0,qr,bi),zn.setTextColor("blue"),zn.text(Si,Ti,ao),zn.link(Ti,ao-4,_o,bo/zn.internal.scaleFactor,{url:mt}),zn.setFontSize(mo),zn.setTextColor("black"),zn.text(Fi,Ti+_o,ao),zn.save("Paid-Campaign-Tracker.pdf"),setTimeout(()=>{window.location.reload()},500)}).catch(Fn=>{console.log("paid campaign pdff errrror-->",Fn),window.location.reload()})}),capturePageCmoDrill:(Ct,mt,br)=>fn(void 0,null,function*(){try{document.body.style.margin="0 auto";const Pt=document.getElementById(Ct);if(!Pt)throw console.error('Element with id "pdfElementId-paid" not found.'),new Error("Element not found");const qr=qn((Pt==null?void 0:Pt.offsetHeight)<1293?1293:Pt==null?void 0:Pt.offsetHeight),mn=window.devicePixelRatio>=1?350:450,In=297,Vr=lr(In),Fn=qr<=In?1:Math.floor(qr/In)+1,zn=(yield zr()(Pt,{allowTaint:!0,useCORS:!0,dpi:300,letterRendering:!0,logging:!1,scale:1.5})).toDataURL("image/png");let bi,Si=un===5?250:qr;Jn<5&&(Si=180),qr>In?bi=new Ft.ZP("p","mm",[qr+16,mn]):bi=new Ft.ZP;const bo="Click here to download the CSV file*",Fi=16,mo="CSV available till 6 months",_o=10;bi.setFontSize(Fi),bi.setFont(bo,"italic");const Ti=bi.getStringUnitWidth(bo)*Fi/bi.internal.scaleFactor,ao=10,no=qr<350?qr-70:qr+10;qr<450?bi.addImage(zn,"PNG",0,0,mn,0):bi.addImage(zn,"PNG",0,0,mn,qr-16),bi.setTextColor("blue"),bi.text(bo,ao,no),bi.link(ao,no-4,Ti,Fi/bi.internal.scaleFactor,{url:br}),bi.setFontSize(_o),bi.setTextColor("black"),bi.text(mo,ao+Ti,no),bi.save(`${mt||Ct}.pdf`),setTimeout(()=>{window.location.reload()},500)}catch(Pt){throw console.error("Error generating PDF",Pt),window.location.reload(),Pt}}),applyModifications:Yn}},Wt=t(69033),Nt=t(2316),dt=t(58128),nr=Object.defineProperty,et=Object.getOwnPropertySymbols,Tt=Object.prototype.hasOwnProperty,Rt=Object.prototype.propertyIsEnumerable,or=(vr,Dr,_r)=>Dr in vr?nr(vr,Dr,{enumerable:!0,configurable:!0,writable:!0,value:_r}):vr[Dr]=_r,ir=(vr,Dr)=>{for(var _r in Dr||(Dr={}))Tt.call(Dr,_r)&&or(vr,_r,Dr[_r]);if(et)for(var _r of et(Dr))Rt.call(Dr,_r)&&or(vr,_r,Dr[_r]);return vr},Qr=(vr,Dr,_r)=>new Promise((Hr,Pr)=>{var un=Dn=>{try{Jn(_r.next(Dn))}catch(qn){Pr(qn)}},Zn=Dn=>{try{Jn(_r.throw(Dn))}catch(qn){Pr(qn)}},Jn=Dn=>Dn.done?Hr(Dn.value):Promise.resolve(Dn.value).then(un,Zn);Jn((_r=_r.apply(vr,Dr)).next())});function ft({dateRange:vr,filters:Dr,loader:_r,name:Hr,id:Pr,ref:un,shareReportsRequest:Zn,closePopup:Jn,downloadPDFClassName:Dn,csvDownloadFunc:qn,tabValue:lr}){var Yr;const Yn=["CMO","Performance","Channel Performance","Paid Campaign Tracker","Paid Media Tracker","SEO","Email Marketing","Total Spend"],ti=(0,Rr.TH)(),{setShowSidebar:Wi}=(0,vn.Ap)(),{pathname:_t,search:Ct}=ti,mt=(0,pr.I0)(),br=le.Z,Pt=(0,Gt.Z)(),qr=C.Z.getItem("pctSavedcolumns"),mn=C.Z.getItem("TablePayloadforCSV"),In=C.Z.getItem("count"),Vr=(0,U.Z)(),Fn=C.Z.getItem("userData"),[An,zn]=v.useState("CSV"),[bi,Si]=(0,v.useState)({hideSidebar:"digg_sidebar",backgroundColor:"#FFFFFF",topHeader:"commonPageHeading",tableHeightClass:"aNfTg",topNav:_t==="/insights/cmo/cohort"||_t===dt.wb?null:"top-div",cmoHeader:"Sidebar__appbar"}),{capturePage:bo,paidCampanpaignCapture:Fi,applyModifications:mo,capturePageCmoDrill:_o}=St(bi),Ti=(0,pr.v9)(Pi=>{var Ji;return(Ji=Pi==null?void 0:Pi.selectedColumnForPdf)==null?void 0:Ji.selectedArray}),ao=(0,pr.v9)(Pi=>{var Ji;return(Ji=Pi==null?void 0:Pi.selectedColumnForPdf)==null?void 0:Ji.key}),no=(0,pr.v9)(Pi=>Pi==null?void 0:Pi.pathSameDrillDown),Ir=(0,pr.v9)(Pi=>Pi==null?void 0:Pi.drillDownCsvHideValue),je=(0,pr.v9)(Pi=>Pi==null?void 0:Pi.isTableDataForPdf);let[Ke,ht]=(0,v.useState)(Ti||[]);const Bt=Pi=>{let Ji=document.createElement("a");Ji.href=Pi,Ji.click()},Dt=(Yr=window==null?void 0:window.location)==null?void 0:Yr.href,Yt=Dt==null?void 0:Dt.includes("total-spent"),yr=Dt==null?void 0:Dt.includes("paid-media-tracker"),zt=Dt==null?void 0:Dt.includes("paid-campaign-tracker"),rn={"/insights/channel/path-analysis":"user-path-analysis",[dt.o5]:"path-length",[dt.t0]:"top-conversion",[dt.kF]:"cmo-dashboard",[dt.Z_]:"cmo-drilldown",[dt.ai]:"megaphone-podcast",[dt.ie]:"email-marketing",[dt.wb]:"performace-report",[dt.O3]:"model-comparison"},On=()=>Qr(this,null,function*(){const Pi={"access-token":Fn["access-token"]},Ji={};Ji.linking_type=0,Ji.format_key=0,Ji.dashboard_id=Pr,Ji.report_name=Hr,Ji.payload=ir({},Zn);const Do={headers:Pi,request:Ji};_r.showLoader(),yield Vr.post(F.Z.downloadCSV(Do)).then(Ki=>{var fi;if(Hr=="Performance")(fi=Ki==null?void 0:Ki.data)==null||fi.forEach((oi,_i)=>{setTimeout(()=>{Bt(oi)},1e3*(_i+1))});else{const oi=document.createElement("a");oi.href=Ki.data,oi.click()}}).catch(Ki=>{Pt.addToast({type:"error",message:Ki.message,timeout:3e3})}).finally(()=>{_r.hideLoader()})}),xn=()=>Qr(this,null,function*(){let Pi=document.getElementsByClassName(`${Dn}`)[0];_r.showLoader(),Ue(Pi,{paperSize:"A4",scale:Hr=="Performance"||Hr=="Social Media"||Hr=="Sales Cycle"?.4:.3,title:`${Hr} Report`,repeatHeaders:!1,fileName:Hr,landscape:!1,margin:0,forcePageBreak:".page-break",keepTogether:".keep-together",pageTemplate:st}),setTimeout(()=>{_r.hideLoader()},2e3)}),Kn=()=>{};function jn(Pi,Ji){var Do=new Ft.ZP({unit:"px",format:[Ji,841]});const Ki=0;function fi(oi,_i){return new Promise((Jr,hi)=>{var yi=new Image;yi.onload=function(){const Ci=Ji-1*Ki,Oi=Do.internal.pageSize.getHeight()*Ki;Do.addImage(oi,"PNG",Ki,Ki,Ci,Oi),_i<Pi.length-1?Do.addPage():Do.save("screenshots.pdf"),Jr()},yi.onerror=function(){hi(new Error("Failed to load image."))},yi.src=oi})}Pi.forEach((oi,_i)=>{var Jr=new FileReader;Jr.readAsDataURL(oi),Jr.onloadend=function(){var hi=Jr.result;fi(hi,_i)}})}function to(Pi){return Pi.map(function(Ji){for(var Do=Ji.toDataURL(),Ki=atob(Do.split(",")[1]),fi=Do.split(",")[0].split(":")[1].split(";")[0],oi=new ArrayBuffer(Ki.length),_i=new Uint8Array(oi),Jr=0;Jr<Ki.length;Jr++)_i[Jr]=Ki.charCodeAt(Jr);var hi=new Blob([oi],{type:fi});return hi})}function ki(){let Pi=new Ft.ZP("p","pt","letter");var Ji=document.getElementsByClassName("marginForFixedHeading")[0];const Do={callback:function(Ki){Ki.save("Test.pdf")},margin:[1,1,1,1],autoPaging:"text",html2canvas:{allowTaint:!0,dpi:300,letterRendering:!0,logging:!1,scale:1,width:850,height:841}};Pi.html(Ji,Do)}function zo(Pi){var Ji=[Pi],Do=function(Ki){if(Ki=Ki||0,!(Ki>=Ji.length)){var fi=window.open(Ji[Ki],"print");fi.onload=function(){fi.print(),fi.close(),setTimeout(function(){Do(++Ki)},100)}}};Do()}function Ko(){Jn(),setTimeout(()=>{var Pi=document.body.innerHTML,Ji=document.getElementsByClassName("marginForFixedHeading")[0].innerHTML;document.body.innerHTML=Ji,window.print(),document.body.innerHTML=Pi},1e3)}const uo=()=>Qr(this,null,function*(){let Pi="";const Ji={payload:ir({},mn),component_id:Yt?"15":"13",total_count:In,pdf_true:1};return yield Vr.post(Lr.Z.getCSV(Ji),!0).then(Do=>{var Ki,fi,oi;return Pi=(Ki=Do==null?void 0:Do.data)==null?void 0:Ki.export_url,_t===dt.e3&&Fi(_t,(fi=Do==null?void 0:Do.data)==null?void 0:fi.export_url),C.Z.setItem("csvLink",(oi=Do==null?void 0:Do.data)==null?void 0:oi.export_url),Pi}).catch(Do=>{Pt.addToast({message:(Do==null?void 0:Do.message)||"Something went wrong",timeout:2e3,type:"error"})})});function ia(){return Qr(this,null,function*(){let Pi=window.location.href,Ji;Pi.includes("/channel/paid-campaign-tracker")?Pt.addToast({message:"Select Columns you want to see in PDF",timeout:2e3,type:"error"}):(Jn(),Pi.includes("/insights/mo/metrics/hub")&&(Ji=Pi.replace("/insights/mo/metrics/hub","/insights/mo/metrics/hub/pdf")),Ji?window.open(Ji):console.error("Unsupported URL:",Pi))})}function la(){var Pi=window.location.href;Pi.includes("/metrics/hub")?ia():_t===dt.wg||_t===dt.x9||_t===dt.e3||_t===dt.eY||_t===dt.o5||_t===dt.t0||_t===dt.kF||_t===dt.Z_||_t===dt.ai||_t===dt.ie||_t===dt.wb?Xi():_t===dt.O3?(Wi(!1),Jn(),mt((0,Wt.jG)(!0)),setTimeout(()=>Qr(this,null,function*(){yield bo(_t,rn[_t])}),1e3)):xn()}const so=Pi=>Qr(this,null,function*(){try{const Ji=Pi==null?void 0:Pi.split("/");let Do=Ji==null?void 0:Ji.filter((_i,Jr)=>Jr!==0).join("_");const fi={request:{report_name:ao,filters:Ti},headers:{}},oi=yield Vr.post(Lr.Z.postPdfColumns(fi),!0)}catch(Ji){console.log("post pdf api errorr",Ji)}}),zi=(Pi={})=>{var Ji;return((Ji=Object.keys(Pi))==null?void 0:Ji.length)!==0},Xi=()=>Qr(this,null,function*(){const Pi=qr==null?void 0:qr.map(Ki=>Ki==null?void 0:Ki.value),Ji=Ti==null?void 0:Ti.map(Ki=>Ki==null?void 0:Ki.value);var Do=window.location.href;if(Do.includes("/channel/paid-campaign-tracker")||_t===dt.Z_){if(!zi(je)){Pt.addToast({message:"Please wait the data is still loading",timeout:2e3,type:"error"});return}if(Do.includes("/channel/paid-campaign-tracker")||_t===dt.Z_){if(Ti==null){Pt.addToast({message:"Select Columns you want to see in PDF",timeout:2e3,type:"error"});return}else if((Ti==null?void 0:Ti.length)<5){Pt.addToast({message:"Please select atleast 5 columns",timeout:2e3,type:"error"});return}_r.showLoader(),Jn(),yield mt((0,Wt.jG)(!0)),(0,Nt.h)(Pi,Ji)||so(_t);var Do=window.location.href;if(Do.includes("/metrics/hub")||Do.includes("/channel/paid-campaign-tracker"))try{if(_r.showLoader(),_r.hideLoader(),Jn(),yield mt((0,Wt.jG)(!0)),Do.includes("/channel/paid-campaign-tracker")){yield uo();return}}catch(fi){console.error("Error:",fi)}else _t===dt.Z_&&(mo(),setTimeout(()=>Qr(this,null,function*(){const fi=yield uo();_o(_t,rn[_t],fi)}),12e3))}}else _t==="/insights/channel/path-analysis"?(yield mt((0,Wt.jG)(!0)),Jn(),mo(),setTimeout(()=>Qr(this,null,function*(){yield bo(_t,rn[_t])}),12e3)):(yield mt((0,Wt.jG)(!0)),Jn(),mo(),setTimeout(()=>Qr(this,null,function*(){yield bo(_t,rn[_t])}),12e3))}),ta=(Pi=>({closed_won:Vt.Xy,closed_marketing_influenced:Vt.Xy,closed_marketing_sourced:Vt.Xy,total_pipeline:Vt.Dk,current_pipeline:Vt.Dk,total_pipeline_marketing_influenced:Vt.Dk,total_pipeline_marketing_sourced:Vt.Dk,current_pipeline_marketing_sourced:Vt.Dk,current_pipeline_marketing_influenced:Vt.Dk,paidCampaignTracker:Vt.y5,"hubspot-report-accountPerformance":Vt.H7})[Pi])(ao);return(0,n.jsxs)(l.ZP,{xs:12,container:!0,className:"shareByDownload",children:[(0,n.jsx)("div",{id:"myMm",style:{height:"1mm"}}),(0,n.jsx)("iframe",{id:"printFrame",style:{display:"none"}}),(0,n.jsxs)("form",{style:{width:"100%"},className:"shareByEmail",children:[(0,n.jsxs)(l.ZP,{xs:10,display:zt||_t===dt.Z_||_t===dt.ie&&no?"none":"flex",gap:"20px",className:"first_grid",children:[(0,n.jsxs)("div",{className:"downloadButton",style:{border:"1px solid #bebebe",cursor:"pointer"},onClick:la,children:[(0,n.jsx)(Z,{color:"primary"}),(0,n.jsx)("div",{children:"PDF"})]}),Yn.includes(Hr)&&(0,n.jsxs)("div",{className:"downloadButton",style:{border:"1px solid #bebebe",cursor:"pointer",width:"150px",display:yr||_t===dt.ie&&lr===0||Ir?"none":""},onClick:()=>{_t===dt.ie?qn():On(),Jn()},children:[(0,n.jsx)(Z,{color:"primary"}),(0,n.jsxs)("div",{style:{whiteSpace:"nowrap"},children:["CSV"," ",_t===dt.ie?"/ EXCEL":""]})]})]}),(0,n.jsxs)(l.ZP,{xs:10,display:zt||_t===dt.Z_||_t===dt.ie&&no?"contents":"none",gap:"20px",children:[(0,n.jsxs)("div",{style:{display:"flex",gap:"2rem"},children:[(0,n.jsxs)("div",{className:"downloadButton",style:{border:"1px solid #bebebe",cursor:"pointer"},onClick:la,children:[(0,n.jsx)(Z,{color:"primary"}),(0,n.jsx)("div",{children:"PDF"})]}),(0,n.jsx)("div",{className:"PDFColumns",style:{display:zt||_t===dt.Z_||_t===dt.ie&&no?"flex":"none",alignItems:"center",maxWidth:"10rem"},children:(zt||_t===dt.Z_||_t===dt.ie&&no)&&(0,n.jsx)(Qt.Z,{placeholderText:"Select the Columns",itemList:ta,valueSelector:"value",onChange:Pi=>{const Ji=[];Pi.map(Ki=>{(Ji==null?void 0:Ji.length)<7&&Ji.push(Ki)});const Do={key:ao,selectedArray:Ji};mt((0,Wt.qN)(Do)),ht(Ji),(Pi==null?void 0:Pi.length)>7&&Pt.addToast({message:"You can view maximum 7 Columns at a time.",timeout:2e3,type:"error"})},width:"10rem",hasSelectAll:!1,selected:Ke})}),(0,n.jsx)("div",{style:{position:"absolute",right:"10rem",top:"6.5rem"},children:(0,n.jsx)(M.Z,{title:"You can select min. 5 and max. 7 columns at a time when exporting the PDF",children:(0,n.jsx)(Jt.Z,{fontSize:"small",color:"info"})})})]}),(0,n.jsx)("div",{children:Yn.includes(Hr)&&(0,n.jsxs)("div",{className:"downloadButton",style:{border:"1px solid #bebebe",cursor:"pointer",width:"150px",display:yr||_t===dt.ie&&lr===0||Ir?"none":""},onClick:()=>{_t===dt.ie?qn():On()},children:[(0,n.jsx)(Z,{color:"primary"}),(0,n.jsxs)("div",{style:{whiteSpace:"nowrap"},children:["CSV"," ",_t===dt.ie?"/ EXCEL":""]})]})})]}),(0,n.jsx)(l.ZP,{xs:12,textAlign:"center",display:"flex",alignItems:"end",justifyContent:"center",children:(0,n.jsx)(ee.Z,{variant:zt?"contained":"outlined",type:"button",btnText:"Cancel",style:{width:"30%"},onClick:()=>{Jn()}})})]})]})}var tr=ft,gr=t(94715),ar=t(5729),rt=Object.defineProperty,kt=Object.getOwnPropertySymbols,At=Object.prototype.hasOwnProperty,qt=Object.prototype.propertyIsEnumerable,sr=(vr,Dr,_r)=>Dr in vr?rt(vr,Dr,{enumerable:!0,configurable:!0,writable:!0,value:_r}):vr[Dr]=_r,Kr=(vr,Dr)=>{for(var _r in Dr||(Dr={}))At.call(Dr,_r)&&sr(vr,_r,Dr[_r]);if(kt)for(var _r of kt(Dr))qt.call(Dr,_r)&&sr(vr,_r,Dr[_r]);return vr},kr=(vr,Dr,_r)=>new Promise((Hr,Pr)=>{var un=Dn=>{try{Jn(_r.next(Dn))}catch(qn){Pr(qn)}},Zn=Dn=>{try{Jn(_r.throw(Dn))}catch(qn){Pr(qn)}},Jn=Dn=>Dn.done?Hr(Dn.value):Promise.resolve(Dn.value).then(un,Zn);Jn((_r=_r.apply(vr,Dr)).next())}),on=(0,v.forwardRef)(({name:vr,id:Dr,filters:_r,exportPDFWithComponent:Hr,shareReportsRequest:Pr,ref:un,downloadPDFClassName:Zn,csvDownloadFunc:Jn,tabValue:Dn})=>{const qn=(0,f.Z)(),lr=(0,Gt.Z)(),Yr=(0,U.Z)(),Yn=(0,gr.Z)();let ti=q._2.getDefaultRange();const[Wi,_t]=(0,v.useState)(),[Ct,mt]=(0,v.useState)(),[br,Pt]=(0,v.useState)(!1),[qr,mn]=(0,v.useState)(0),In=(Dt,Yt)=>{mn(Yt)},Vr=(0,pr.v9)(Dt=>Dt==null?void 0:Dt.isTableDataForPdf),Fn=(0,v.useRef)(),An=(0,v.useRef)(),zn=(0,v.useRef)(),bi=(0,Rr.TH)(),{pathname:Si,search:bo}=bi,Fi=C.Z.getItem("logo"),mo="",_o=[],Ti=()=>{const Dt=(yr={})=>Object.keys(yr).length!==0,Yt=()=>Si===dt.eY||Si===dt.t0?Dt(Vr)?"block":"none":"block";return(0,n.jsx)(l.ZP,{xs:12,container:!0,children:(0,n.jsxs)(l.ZP,{sx:{minWidth:600,position:"relative"},children:[(0,n.jsx)("div",{className:"add-client-logo",onClick:()=>An.current.handleClickOpen(),style:{color:Fi?qn.palette.text.tertiary:""},children:"Add Client Logo"}),(0,n.jsxs)(p.Z,{value:qr,onChange:In,textColor:"primary",indicatorColor:"primary","aria-label":"secondary tabs example",sx:{borderBottom:1,borderColor:"divider"},children:[(0,n.jsx)(O.Z,{style:{textTransform:"none",fontSize:"18px"},value:0,label:"Email"}),(0,n.jsx)(O.Z,{style:{textTransform:"none",fontSize:"18px"},value:1,label:"Link"}),(0,n.jsx)(O.Z,{style:{textTransform:"none",fontSize:"18px",display:Yt()},value:2,label:"Download"})]}),(0,n.jsx)(l.ZP,{container:!0,padding:"0px 20px",children:qr==0?(0,n.jsx)(I.Z,{shareReportsRequest:Pr,id:Dr,dateRange:ti,filters:_r,toaster:lr,loader:Yn,name:vr,downloadPDFClassName:Zn,exportPDFWithComponent:()=>{Hr(!0)},getTableExportNamesArray:_o,getTableExportEmailValue:mo,isTableExport:!1,closePopup:yr=>{Fn.current.handleClose()}}):qr==1?(0,n.jsx)(ue,{shareReportsRequest:Pr,id:Dr,dateRange:ti,filters:_r,downloadPDFClassName:Zn,toaster:lr,loader:Yn,name:vr,closePopup:yr=>{Fn.current.handleClose()},exportPDFWithComponent:()=>{Hr(!0)}}):(0,n.jsx)(tr,{shareReportsRequest:Pr,id:Dr,downloadPDFClassName:Zn,dateRange:ti,filters:_r,toaster:lr,loader:Yn,name:vr,ref:un,closePopup:()=>{Fn.current.handleClose()},csvDownloadFunc:Jn,tabValue:Dn})})]})})},ao=Dt=>kr(void 0,null,function*(){const Yt={reqBody:{base64:Dt},headers:{}};return Yn.showLoader(),yield Yr.post(F.Z.uploadImage(Yt),!0).then(yr=>{Yn.hideLoader(),lr.addToast({message:"Logo uploaded successfully",timeout:3e3,type:"success"}),no(),Pt(!1),An.current.handleClose()}).catch(yr=>{Yn.hideLoader(),lr.addToast({message:"Error while uploading Logo",timeout:5e3,type:"error"})})}),no=()=>kr(void 0,null,function*(){const Dt={};return yield Yr.get(F.Z.getLogoUrl(Dt),!0).then(Yt=>kr(void 0,null,function*(){C.Z.setItem("logo",Yt==null?void 0:Yt.data)})).catch(Yt=>[])}),Ir=()=>kr(void 0,null,function*(){const Dt={};return Yn.showLoader(),yield Yr.get(F.Z.deleteLogo(Dt),!0).then(Yt=>kr(void 0,null,function*(){C.Z.setItem("logo",null),_t(null),Yn.hideLoader(),Pt(!1)})).catch(Yt=>[])}),je=()=>(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{style:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center"},children:[(0,n.jsx)("div",{style:{width:"370px",height:"300px",backgroundColor:qn.palette.mode==="dark"?"rgb(36, 40, 47)":"whiteSmoke",borderRadius:"25px",display:"flex",justifyContent:"center",alignItems:"center",overflow:"hidden",position:"relative",cursor:Wi?"auto":"pointer"},onClick:()=>!Wi&&!Fi?Ke():"",children:Wi?(0,n.jsx)("img",{src:Wi,className:"clientLogo",style:{maxWidth:"100%",maxHeight:"100%",padding:"5px"}}):Fi?(0,n.jsx)("img",{src:Fi,className:"clientLogo",style:{maxWidth:"100%",maxHeight:"100%",padding:"15px"}}):(0,n.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column"},children:[(0,n.jsx)(W.Z,{sx:{fontSize:"100px"}}),(0,n.jsx)("h1",{children:"Browse Logo"})]})}),(0,n.jsxs)("div",{style:{display:"flex",flexDirection:"column",width:"15rem",alignItems:"center",justifyContent:"center"},children:[(0,n.jsx)(ee.Z,{type:"button",btnText:"Update Logo",onClick:Ke,className:"fullWidthButton",disable:!Wi&&!Fi}),(0,n.jsx)(ee.Z,{type:"button",btnText:"Delete Logo",color:"error",onClick:()=>{Ir()},style:{marginTop:"10px"},className:"fullWidthButton",disable:!Wi&&!Fi}),(0,n.jsx)(ee.Z,{type:"button",btnText:"Save",onClick:()=>ao(Ct),className:"submitButton",style:{width:"8rem"},disable:!br})]})]}),(0,n.jsxs)(u.Z,{variant:"h6",mt:2,children:[(0,n.jsxs)("li",{className:"logoInstructions",children:[" ",(0,n.jsx)("i",{children:"Logo format should be PNG "})]}),(0,n.jsxs)("li",{className:"logoInstructions",children:[" ",(0,n.jsx)("i",{children:"Logo size should be less than 50KB"})]}),(0,n.jsxs)("li",{className:"logoInstructions",children:[" ",(0,n.jsx)("i",{children:"Recommended size for Logo would be 370x140 px"})]})]})]}),Ke=()=>{var Dt;zn.current.value=null,(Dt=zn==null?void 0:zn.current)==null||Dt.click()},ht=()=>(0,n.jsx)(m.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"center"},children:(0,n.jsx)(u.Z,{variant:"h4",style:{color:qn.palette.mode==="dark"?"white":"black"},children:"Upload Logo"})}),Bt={fill:qn.palette.text.tertiary,width:"20px",height:"20px"};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(M.Z,{title:" Share Reports",children:(0,n.jsx)(ee.Z,{className:"pinIcon bookmarkButtons",type:"button",btnText:"",variant:"outlined",style:{padding:"0px 20px 0px 10px",minWidth:"0px"},onClick:()=>{Fn.current.handleClickOpen(),mn(0)},startIcon:(0,n.jsx)(X,Kr({},Bt))})}),(0,n.jsx)(v.Suspense,{fallback:(0,n.jsx)("h3",{children:"Loading\u2026"}),children:(0,n.jsx)(ar.Z,{ref:Fn,maxWidth:"xl",sx:{"& .MuiDialog-container":{"& .MuiPaper-root":{height:"390px",width:"100%",maxWidth:"660px"}}},title:"Share Reports",customHTMLContent:Ti,onConfirm:()=>{},onDiscard:()=>{Fn.current.handleClose()},dialogTitleRootClass:"shareReportroot",hideCloseButton:!0})}),(0,n.jsx)(v.Suspense,{fallback:(0,n.jsx)("h3",{children:"Loading\u2026"}),children:(0,n.jsx)(ar.Z,{ref:An,sx:{"& .MuiDialog-container":{"& .MuiPaper-root":{height:"510px",width:"100%",maxWidth:"700px"}}},title:ht(),customHTMLContent:je,onConfirm:()=>{},onDiscard:()=>{Pt(!1),An.current.handleClose(),Fi&&_t(Fi),Fi||_t(null)},dialogTitleRootClass:"addLogoRoot",hideCloseButton:!0})}),(0,n.jsx)("input",{hidden:!0,type:"file",accept:"image/*",ref:zn,onChange:Dt=>{const Yt=Dt.target.files[0];if(!Yt)return;if(Yt.size>5e4){lr.addToast({message:"Logo size should be less than 50KB",timeout:3e3,type:"error"}),_t("");return}if(!["image/png"].includes(Yt.type)){lr.addToast({message:"Logo format should be PNG ",timeout:3e3,type:"error"}),_t("");return}const zt=new FileReader;zt.onloadend=function(rn){var On;const Kn=((On=rn==null?void 0:rn.target)==null?void 0:On.result).split(";base64,")[1];mt(Kn),_t(URL.createObjectURL(Yt)),Pt(!0)},zt.readAsDataURL(Yt)}})]})})},65337:function(_e,$){"use strict";const t={shareReports(n){return{url:"sharedfeature/shared_file",data:n.request,headers:n.headers}},shareReportsForPerformance(n){return{url:"sharedfeature/download_file",data:n.request,headers:n.headers}},scheduleToggle(n){return{url:"sharedfeature/schedule_toggle",data:n.request,headers:n.headers}},saveSchedule(n){return{url:"sharedfeature/schedule_save",data:n.request,headers:n.headers}},getSchedule(n){return{url:"sharedfeature/get_schedule",data:n.request,headers:n.headers}},updateSchedule(n){return{url:"sharedfeature/update_schedule",data:n.request,headers:n.headers}},deleteSchedule(n){return{url:"sharedfeature/disabled_schedule",data:n.request,headers:n.headers}},downloadCSV(n){return{url:"sharedfeature/download_file",data:n.request,headers:n.headers}},uploadPDFtoServer(n){return{url:"sharedfeature/pdf_file_email",data:n.request,headers:n.headers}},getChildAccounts(n){return{url:"sharedfeature/linking_account",data:n.request,headers:n.headers}},uploadImage(n){return{url:"sharedfeature/upload_logo",data:n.reqBody,headers:n.headers}},getLogoUrl(n){return{url:"sharedfeature/get_logo",data:n.reqBody,headers:n.headers}},deleteLogo(n){return{url:"sharedfeature/delete_logo",data:n.reqBody,headers:n.headers}}};$.Z=t},53933:function(_e,$,t){"use strict";var n=t(67557),f=t(50871),l=t(73622),u=t(9717),m=t(94049),v=t(75e3),M=t(70907),ee=t(19855),W=t(89526),re=t(372),se=t(60666),S=t(48650),J=t(65337),T=t(97827),V=t(19476),L=t(70235),c=t(49291),R=t(47486),B=t(60090),X=t(21081),g=t(58128),p=Object.defineProperty,O=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,K=(A,w,C)=>w in A?p(A,w,{enumerable:!0,configurable:!0,writable:!0,value:C}):A[w]=C,d=(A,w)=>{for(var C in w||(w={}))I.call(w,C)&&K(A,C,w[C]);if(O)for(var C of O(w))E.call(w,C)&&K(A,C,w[C]);return A},i=(A,w,C)=>new Promise((U,F)=>{var Y=j=>{try{ie(C.next(j))}catch(ue){F(ue)}},le=j=>{try{ie(C.throw(j))}catch(ue){F(ue)}},ie=j=>j.done?U(j.value):Promise.resolve(j.value).then(Y,le);ie((C=C.apply(A,w)).next())});const x=({flag:A,identifier:w,isSEOTableExport:C,isEmailAlert:U,defaultValue:F,isTableExport:Y,dateRange:le,filters:ie,toaster:j,loader:ue,name:P,id:Z,shareReportsRequest:ae,exportPDFWithComponent:ce,closePopup:be,getEmail:pe,downloadPDFClassName:h,getTableExportEmailValue:te,getTableExportNamesArray:Q})=>{const we=["CMO","Performance","Channel Performance","Paid Campaign Tracker","Paid Media Tracker","SEO","Email Marketing","Total Spend"],Se=(0,T.Z)(),Ne=S.Z.getItem("userData"),{control:ze,handleSubmit:Je,setValue:qe}=(0,c.cI)(),[Me,Fe]=W.useState("CSV"),[Ue,he]=(0,W.useState)(!1),xe=kr=>{Fe(kr.target.value)},[q,me]=(0,W.useState)(),De=(0,W.useRef)([]),Te=(0,W.useRef)([]),Oe=(0,X.TH)(),{pathname:st,search:Ft}=Oe,[Qt,Vt]=(0,W.useState)(-1),[Gt,Jt]=(0,W.useState)([]),[Lr,Rr]=(0,W.useState)("");let[Gr,zr]=(0,W.useState)([]);const[pr,vn]=(0,W.useState)(),[fn,Zt]=(0,W.useState)([]),[St,Wt]=(0,W.useState)(!1),[Nt,dt]=(0,W.useState)([]),[nr,et]=(0,W.useState)(0);(0,W.useEffect)(()=>{St&&C&&(Q(Nt,A),te(St)),St&&Y&&(Q(Nt,A),te(St))},[St,Nt,nr,pe]);const Rt=(0,B.Z)(kr=>({inputLabel:{color:`${kr.palette.primary.main} !important`},focused:{color:`${kr.palette.primary.main} !important`}}))(),or=(kr,nn)=>{if(nn)if(Kr.test(nn)==!1)j.addToast({message:"Please check the format of email",type:"error",timeout:2e3}),Wt(!1);else{let on=kr.map(vr=>vr.name);nn&&nn.trim()!==""&&on.push(nn.trim()),dt(on),Wt(!0)}else{let on=kr.map(vr=>vr.name);nn&&nn.trim()!==""&&on.push(nn.trim()),dt(on),Wt(!0)}},ir=kr=>{let nn=[];return kr==null||kr.map(on=>{nn.push(on.name)}),nn},[Qr,ft]=(0,W.useState)(!0),tr=()=>i(void 0,null,function*(){var kr;if(((kr=q==null?void 0:q.trim())==null?void 0:kr.length)==0&&(Gt==null?void 0:Gt.length)==0)j.addToast({type:"error",message:"Please enter email to continue",timeout:3e3});else if(!q&&(Gt==null?void 0:Gt.length)==0)j.addToast({type:"error",message:"Please enter email to continue",timeout:3e3});else if(Me=="CSV"){(Y||C)&&or(Gt,q);const nn={"access-token":Ne["access-token"]},on={};on.linking_type=0,on.format_key=Me=="CSV"?0:1,on.email=Gt.length&&q.length?[...ir(Gt),q]:Gt.length&&!q.length?[...ir(Gt)]:[q],on.dashboard_id=Z,on.report_name=P,on.payload=d({},ae);const vr={headers:nn,request:on};ue.showLoader(),yield Se.post(J.Z.shareReports(vr)).then(Dr=>{j.addToast({type:"success",message:"Check your email",timeout:3e3})}).catch(Dr=>{j.addToast({type:"error",message:Dr.message,timeout:3e3})}).finally(()=>{ue.hideLoader()})}else At(Gt.length&&q.length?[...ir(Gt),q]:Gt.length&&!q.length?[...ir(Gt)]:[q])}),gr=()=>i(void 0,null,function*(){var kr;if(((kr=q==null?void 0:q.trim())==null?void 0:kr.length)==0&&(Gt==null?void 0:Gt.length)==0)j.addToast({type:"error",message:"Please enter email to continue",timeout:3e3});else if(!q&&(Gt==null?void 0:Gt.length)==0)j.addToast({type:"error",message:"Please enter email to continue",timeout:3e3});else if(Me=="CSV"){(Y||C)&&or(Gt,q);const nn={"access-token":Ne["access-token"]},on={};on.email_list=Gt.length&&q.length?[...ir(Gt),q]:Gt.length&&!q.length?[...ir(Gt)]:[q],on.report_name=P,on.request_body=d({},ae);const vr={headers:nn,request:on};ue.showLoader(),delete on.request_body.relational_operator,delete on.request_body.excludes,yield Se.post(J.Z.shareReportsForPerformance(vr)).then(Dr=>{j.addToast({type:"success",message:"Check your email",timeout:3e3})}).catch(Dr=>{j.addToast({type:"error",message:Dr.message,timeout:3e3})}).finally(()=>{ue.hideLoader()})}else At(Gt.length&&q.length?[...ir(Gt),q]:Gt.length&&!q.length?[...ir(Gt)]:[q])}),ar=(kr,nn)=>{qe(kr,nn)},rt=()=>i(void 0,null,function*(){const on={headers:{"access-token":Ne["access-token"]},request:{dashboard_id:Z}};ue.showLoader(),yield Se.post(J.Z.getSchedule(on)).then(vr=>{vr.data.id&&he(!0),vn(vr.data)}).catch(vr=>{}).finally(()=>{ue.hideLoader()})}),kt=kr=>i(void 0,null,function*(){const vr={headers:{"access-token":Ne["access-token"]},request:{is_enabled:kr?1:0}};ue.showLoader(),yield Se.post(J.Z.scheduleToggle(vr)).then(Dr=>{}).catch(Dr=>{}).finally(()=>{ue.hideLoader()})}),At=kr=>i(void 0,null,function*(){let nn=document.getElementsByClassName(`${h}`)[0];ue.showLoader(),(0,V.Vg)(nn,{paperSize:"A4",scale:.3,repeatHeaders:!1,forcePageBreak:".page-break"}).then(on=>(0,L.F_)(on)).then(on=>{const vr={headers:{"access-token":Ne["access-token"]},request:{base64_string:on.split(";base64,")[1],report_name:P,email:[...kr],linking_type:0}};Se.post(J.Z.uploadPDFtoServer(vr)).then(Dr=>{j.addToast({message:"Email sent Successfully",type:"success",timeout:3e3})}).catch(Dr=>{j.addToast({type:"error",message:Dr.message,timeout:3e3})}).finally(()=>{ue.hideLoader()})})}),qt=(kr,nn)=>{var on;Gt.splice(kr,1),(Me===nn||Lr===nn)&&(me(""),Rr("")),((on=De.current)==null?void 0:on.findIndex((Dr,_r)=>Dr===nn))===-1&&De.current.push(nn),Jt([...Gt]),Vt(-1)},sr=kr=>kr!=null&&kr.trim()?Gt.find(nn=>nn.name===kr):!1,Kr=/^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i;return(0,n.jsxs)(f.ZP,{xs:12,container:!0,className:"shareByEmail",children:[(0,n.jsx)(f.ZP,{xs:12,container:!0,display:"flex",alignItems:"center",justifyContent:"space-between",children:!Y&&!C&&(0,n.jsx)(f.ZP,{xs:12,className:"shareByEmail__radio",children:(0,n.jsxs)(l.Z,{"aria-labelledby":"demo-controlled-radio-buttons-group",name:"controlled-radio-buttons-group",value:Me,style:{display:"flex",flexDirection:"row",width:"30%"},onChange:xe,children:[we.includes(P)&&(0,n.jsxs)(f.ZP,{xs:6,children:[" ",(0,n.jsx)(u.Z,{value:"CSV",control:(0,n.jsx)(m.Z,{size:"small",sx:{"& .MuiSvgIcon-root":{fontSize:28}}}),label:"CSV",labelPlacement:"start"})]}),(0,n.jsx)(f.ZP,{xs:6,children:(0,n.jsx)(u.Z,{className:'className="k-button k-button-md k-rounded-md k-button-solid k-button-solid-base"',value:"PDF",control:(0,n.jsx)(m.Z,{size:"small",sx:{"& .MuiSvgIcon-root":{fontSize:28}}}),label:"PDF",labelPlacement:"start"})})]})})}),(0,n.jsx)(f.ZP,{item:!0,xs:12,className:"chip_Container",mb:1,children:Gt.length?(0,n.jsxs)("div",{children:[Gt.map((kr,nn)=>(0,n.jsx)(v.Z,{color:"primary",style:{display:nn>1&&Qr==!1?"none":""},label:kr.name,onClick:kr.isDefault?void 0:on=>{Vt(nn),me(on.target.textContent),Rr(on.target.textContent)},variant:nn===Qt?"outlined":"filled",className:"textarea_chips",onDelete:on=>qt(nn,kr.name)})),Qr==!1&&Gt.length>2?(0,n.jsx)(M.Z,{onClick:()=>{ft(!0)},children:"See more"}):Qr==!0&&Gt.length>2?(0,n.jsx)(M.Z,{onClick:()=>{ft(!1)},children:"See less"}):null]}):(0,n.jsx)(f.ZP,{xs:6,position:"absolute",children:(0,n.jsx)(ee.Z,{children:"Enter one or more email"})})}),(0,n.jsxs)(f.ZP,{container:!0,position:"relative",marginTop:"1rem",children:[(0,n.jsx)(M.Z,{style:{cursor:"pointer",position:"absolute",right:"1rem",top:"-2rem"},onClick:()=>{me(""),Jt([]),qe("email",null),zr([])},children:"Clear all"}),(0,n.jsx)(f.ZP,{xs:12,style:{borderRadius:"40px"},children:(0,n.jsx)(R.Z,{id:"email",name:"email",autoFocus:Lr.length,label:Gt.length>0?"Enter one or more email":"",placeholder:"Press Enter to add multiple emails",value:q,onChange:kr=>{kr.target.value.trim()!==""&&kr.nativeEvent.inputType!=="insertFromPaste"&&Rr(kr.target.value),kr.nativeEvent.inputType!=="insertFromPaste"&&(kr.target.value.includes(`
`)||me(kr.target.value)),kr.target.value.includes(`
`)&&(me(""),Rr(""))},onKeyPress:kr=>{var nn,on;kr.target.value.trim()!==""&&Rr(kr.target.value);let vr=kr.target.value;const Dr=kr.keyCode,_r=kr.code;if(kr.code=="Enter"){if(Rr(""),vr.trim()=="")return;if(Kr.test(vr)==!1){j.addToast({message:"Please check the format of email",type:"error",timeout:2e3});return}if(Qt>-1)De.current.push(Gt[Qt].name),Gt.map(Hr=>Hr.name.trim().toLowerCase()).includes(vr.trim().toLowerCase())||(Gt[Qt].name=vr,Jt(Gt),Vt(-1));else{if(sr(vr)){me(""),Rr(""),kr.preventDefault();return}let Hr=(nn=Te.current)==null?void 0:nn.findIndex((un,Zn)=>un===vr);const Pr=(on=De.current)==null?void 0:on.findIndex((un,Zn)=>un===vr);if(Pr!==-1){Hr!==-1&&Te.current.splice(Hr,1);const un=De.current;un.splice(Pr,1),De.current=un,Hr=0}Hr===-1&&Te.current.push(vr),Gt.map(un=>un.name.trim().toLowerCase()).includes(vr.trim().toLowerCase())||(Gt.push({name:vr,isDefault:0,isEnabled:1}),Jt([...Gt]))}me(""),Rr(""),kr.preventDefault()}},defaultValue:"",InputLabelProps:{classes:{root:Rt.inputLabel,focused:Rt.focused}}})},Math.random())]}),(0,n.jsxs)(f.ZP,{xs:12,textAlign:"center",style:{marginTop:Y||C?"30px":"0px"},children:[(0,n.jsx)(se.Z,{type:"submit",onClick:()=>{be(),st!==g.wb?tr():gr()},btnText:"Send Report",style:{width:"30%"}}),(0,n.jsx)(se.Z,{variant:"outlined",type:"button",btnText:"Cancel",style:{width:"30%"},onClick:()=>{be()}})]})]})};$.Z=x},9012:function(_e,$,t){"use strict";t.d($,{Z:function(){return R}});var n=t(67557),f={},l=t(18051),u=t(48322),m=Object.defineProperty,v=Object.defineProperties,M=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,W=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,se=(B,X,g)=>X in B?m(B,X,{enumerable:!0,configurable:!0,writable:!0,value:g}):B[X]=g,S=(B,X)=>{for(var g in X||(X={}))W.call(X,g)&&se(B,g,X[g]);if(ee)for(var g of ee(X))re.call(X,g)&&se(B,g,X[g]);return B},J=(B,X)=>v(B,M(X)),V=B=>(0,n.jsx)("div",{children:(0,n.jsxs)("svg",J(S({width:"25",height:"25",viewBox:"0 0 25 25",fill:B.data.fill,xmlns:"http://www.w3.org/2000/svg"},B.data),{children:[(0,n.jsxs)("g",{"clip-path":"url(#clip0_1126_1074)",children:[(0,n.jsx)("path",{d:"M19.3287 8.46397L20.8908 7.87283L21.5168 6.30792C21.6045 6.08877 21.8187 6 21.9969 6C22.1751 6 22.3891 6.08873 22.4772 6.30744L23.1056 7.8775L24.6751 8.50567C24.8718 8.58435 25 8.77476 25 8.98566C25 9.19713 24.8708 9.38698 24.6755 9.46549L23.1056 10.0938L22.4774 11.6634C22.3987 11.8601 22.2083 11.9883 21.9974 11.9883C21.7859 11.9883 21.5961 11.859 21.5176 11.6638L20.8872 10.0881L19.3106 9.42371C19.1175 9.34154 18.9901 9.14968 18.9942 8.93738C18.9984 8.72657 19.1306 8.53864 19.3287 8.46397Z",fill:B.data.fill}),(0,n.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.67525 0C8.22345 0 7.00263 0.917704 6.57123 2.32654L0.0486311 23.6045C-0.12529 24.1669 0.181544 24.7716 0.741502 24.9496C1.30125 25.1304 1.89482 24.8085 2.069 24.2437L3.9909 17.9718H15.3579L17.2798 24.2438C17.4207 24.7026 17.8367 24.9995 18.29 24.9995C18.3927 24.9995 18.5013 24.9847 18.6075 24.9495C19.1672 24.7715 19.4738 24.1665 19.3001 23.6042L12.7776 2.3266C12.3462 0.917923 11.129 0 9.67525 0ZM8.58994 2.96724C8.77447 2.36521 9.26563 2.15239 9.67352 2.15239C10.0819 2.15239 10.5727 2.36384 10.7571 2.96549L14.6978 15.8212H4.64925L8.58994 2.96724ZM21.9728 13.9219C21.3849 13.9219 20.9143 14.4072 20.9143 14.9973V23.9225C20.9143 24.5125 21.3849 24.9978 21.9728 24.9978C22.5608 24.9978 23.0313 24.5125 23.0313 23.9225V14.9973C23.0313 14.4072 22.5608 13.9219 21.9728 13.9219Z",fill:B.data.fill})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_1126_1074",children:(0,n.jsx)("rect",{width:"25",height:"25",fill:B.data.fill})})})]}))}),L=t(82525),R=B=>{const X=(0,l.Z)(),p=location.href.includes("beta"),O=window.location.origin,I=()=>{let K=O.replace(".com",".ai")+"/login";window.location.href="https://auth.digg.ai/realms/login_test/protocol/openid-connect/auth?response_type=code&client_id=login&redirect_uri="+K},E={fill:X.palette.text.tertiary,width:"20px",height:"20px"};return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{style:{left:B.left||"3rem",height:"48px",width:"48px"},className:"switchAccount",children:(0,n.jsx)("div",{style:{height:"40px",width:"40px",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,n.jsx)(u.Z,{title:"Switch to Digg AI",children:(0,n.jsx)(L.Z,{onClick:()=>{I()},children:(0,n.jsx)(V,{data:E})})})})})})}},5581:function(_e,$,t){"use strict";t.d($,{O:function(){return f}});var n=t(89526);const f=(l,u)=>{(0,n.useEffect)(()=>{const m=v=>{!l.current||l.current.contains(v.target)||u(v)};return document.addEventListener("mousedown",m),()=>{document.removeEventListener("mousedown",m)}},[l,u])}},94715:function(_e,$,t){"use strict";var n=t(30451),f=t(39910);const l=()=>{const[,u]=(0,n.bp)();return{showLoader:()=>{u(f.gK({showLoader:!0}))},hideLoader:()=>{u(f.gK({showLoader:!1}))},sidebarToggle:m=>{u(f.xZ({sidebarToggle:m}))}}};$.Z=l},63686:function(_e,$,t){"use strict";t.d($,{Z:function(){return l}});var n=t(89526);function f(){const{innerWidth:u,innerHeight:m}=window;return{width:u,height:m}}function l(){const[u,m]=(0,n.useState)(f());return(0,n.useEffect)(()=>{function v(){m(f())}return window.addEventListener("resize",v),()=>window.removeEventListener("resize",v)},[]),u}},97827:function(_e,$,t){"use strict";t.d($,{Z:function(){return L}});var n=t(30451),f=t(52868),l=t.n(f),u=t(77760),m=t(87773),v=(c,R,B)=>new Promise((X,g)=>{var p=E=>{try{I(B.next(E))}catch(K){g(K)}},O=E=>{try{I(B.throw(E))}catch(K){g(K)}},I=E=>E.done?X(E.value):Promise.resolve(E.value).then(p,O);I((B=B.apply(c,R)).next())}),ee=()=>{const c=(0,u.Z)(),[R,B]=(0,n.bp)(),{userData:X,theme:g}=R,p=l().create({validateStatus:I=>I>=200&&I<300}),O=I=>v(void 0,null,function*(){if(X){const E=X["refresh-token"];if(E){const K=`https://test-api.digg.ai/kcauth/refreshToken?refresh_token=${E}`;try{const d=yield fetch(K,{method:"GET"});if(d.status===440){c.addToast({message:"Session Expired",timeout:2e3,type:"error"}),localStorage.clear();const x=localStorage.getItem("Client_data")||"";localStorage.setItem("Client_data",x),m.L.logoutSessionFromKeyCloak(),window.location.href="/login"}const i=yield d.json();if(i.data)return X["refresh-token"]=i.data.refresh_token,X["access-token"]=i.data.access_token,localStorage.setItem("userData",JSON.stringify(X)),I.headers["access-token"]=i.data.access_token,p(I)}catch(d){c.addToast({message:"Session Expired",timeout:2e3,type:"error"}),localStorage.clear();const i=localStorage.getItem("Client_data")||"";localStorage.setItem("Client_data",i),m.L.logoutSessionFromKeyCloak(),window.location.href="/login"}}}return Promise.reject("Session Expired.")});return p.interceptors.response.use(I=>I.data,I=>v(void 0,null,function*(){const E=I.config;if(I.response&&I.response.status===440&&!E._retry){E._retry=!0;try{return yield O(E)}catch(K){return Promise.reject(K)}}return I.response&&(I.response.status===500||I.response.status===404),Promise.reject(I.response.data)})),p},W=Object.defineProperty,re=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,J=(c,R,B)=>R in c?W(c,R,{enumerable:!0,configurable:!0,writable:!0,value:B}):c[R]=B,T=(c,R)=>{for(var B in R||(R={}))se.call(R,B)&&J(c,B,R[B]);if(re)for(var B of re(R))S.call(R,B)&&J(c,B,R[B]);return c},L=()=>{const[c]=(0,n.bp)(),{userData:R}=c;let B="https://test-api.digg.ai/";const X="https://warehouse-docs.diggrowth.com/",g={}.REACT_APP_API_URL_DOMAIN,p=ee(),O=R["access-token"];return{get(I,E,K){return I.API_BASE_URL&&(B=I.API_BASE_URL),E?p.get(K?X+I.url:B+I.url,{params:T({},I.data),headers:T({"access-token":O},I.headers)}):p.get(K?X+I.url:B+I.url,{params:T({},I.data),headers:T({},I.headers)})},post(I,E,K){return I.API_BASE_URL&&(B=I.API_BASE_URL),E?p.post(K?X+I.url:B+I.url,T({},I.data),{headers:T({"access-token":O},I.headers)}):p.post(K?X+I.url:B+I.url,T({},I.data),{headers:T({},I.headers)})},put(I,E,K){return I.API_BASE_URL&&(B=I.API_BASE_URL),E?p.put(K?X+I.url:B+I.url,T({},I.data),{headers:T({"access-token":O},I.headers)}):p.put(K?X+I.url:B+I.url,T({},I.data),{headers:T({},I.headers)})},delete(I,E,K){return I.API_BASE_URL&&(B=I.API_BASE_URL),E?p.delete(K?X+I.url:B+I.url,{headers:T({"access-token":O},I.headers),data:T({},I.data)}):p.delete(K?X+I.url:B+I.url,{headers:T({},I.headers),data:T({},I.data)})},getDomain(I){return p.get(g+I.url,{params:T({},I.data)})},postDomain(I){return p.post(g+I.url,T({},I.data))},postFormData(I,E){return E?p.post(B+I.url,I.data,{headers:T({"Content-Type":"multipart/form-data","access-token":O},I.headers)}):p.post(B+I.url,I.data,{headers:T({"Content-Type":"multipart/form-data"},I.headers)})},putFormData(I,E){return E?p.put(B+I.url,I.data,{headers:T({"Content-Type":"multipart/form-data","access-token":O},I.headers)}):p.put(B+I.url,I.data,{headers:T({"Content-Type":"multipart/form-data"},I.headers)})}}}},94157:function(_e,$){"use strict";const t={getViewList(n){return{url:"uam/view_access",data:n.reqBody,headers:n.headers}},resetPassword(n){return{url:"uam/reset_password",data:n}},changePassword(n){return{url:"governance/change_password",data:n}},getGlobalSettings(n){return{url:"marketingnode/globalSettings",data:n.reqBody,headers:n.headers}},getLogoUrl(n){return{url:"sharedfeature/get_logo",data:n.reqBody,headers:n.headers}},getConnectedCRM(n){return{url:"auditsalesforce/crm_connected",data:n==null?void 0:n.reqBody,headers:n==null?void 0:n.headers}},getSavedFilters(n){return{url:"hubspotreports/metrics_hub_filters",data:n==null?void 0:n.reqBody,headers:n==null?void 0:n.headers}}};$.Z=t},91933:function(_e,$,t){"use strict";t.d($,{Z:function(){return Ue}});/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var n=function(he,xe){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(q,me){q.__proto__=me}||function(q,me){for(var De in me)me.hasOwnProperty(De)&&(q[De]=me[De])},n(he,xe)};function f(he,xe){n(he,xe);function q(){this.constructor=he}he.prototype=xe===null?Object.create(xe):(q.prototype=xe.prototype,new q)}var l=function(){return l=Object.assign||function(xe){for(var q,me=1,De=arguments.length;me<De;me++){q=arguments[me];for(var Te in q)Object.prototype.hasOwnProperty.call(q,Te)&&(xe[Te]=q[Te])}return xe},l.apply(this,arguments)};function u(he,xe){var q={};for(var me in he)Object.prototype.hasOwnProperty.call(he,me)&&xe.indexOf(me)<0&&(q[me]=he[me]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,me=Object.getOwnPropertySymbols(he);De<me.length;De++)xe.indexOf(me[De])<0&&Object.prototype.propertyIsEnumerable.call(he,me[De])&&(q[me[De]]=he[me[De]]);return q}function m(he,xe,q,me){var De=arguments.length,Te=De<3?xe:me===null?me=Object.getOwnPropertyDescriptor(xe,q):me,Oe;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Te=Reflect.decorate(he,xe,q,me);else for(var st=he.length-1;st>=0;st--)(Oe=he[st])&&(Te=(De<3?Oe(Te):De>3?Oe(xe,q,Te):Oe(xe,q))||Te);return De>3&&Te&&Object.defineProperty(xe,q,Te),Te}function v(he,xe){return function(q,me){xe(q,me,he)}}function M(he,xe){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(he,xe)}function ee(he,xe,q,me){function De(Te){return Te instanceof q?Te:new q(function(Oe){Oe(Te)})}return new(q||(q=Promise))(function(Te,Oe){function st(Vt){try{Qt(me.next(Vt))}catch(Gt){Oe(Gt)}}function Ft(Vt){try{Qt(me.throw(Vt))}catch(Gt){Oe(Gt)}}function Qt(Vt){Vt.done?Te(Vt.value):De(Vt.value).then(st,Ft)}Qt((me=me.apply(he,xe||[])).next())})}function W(he,xe){var q={label:0,sent:function(){if(Te[0]&1)throw Te[1];return Te[1]},trys:[],ops:[]},me,De,Te,Oe;return Oe={next:st(0),throw:st(1),return:st(2)},typeof Symbol=="function"&&(Oe[Symbol.iterator]=function(){return this}),Oe;function st(Qt){return function(Vt){return Ft([Qt,Vt])}}function Ft(Qt){if(me)throw new TypeError("Generator is already executing.");for(;q;)try{if(me=1,De&&(Te=Qt[0]&2?De.return:Qt[0]?De.throw||((Te=De.return)&&Te.call(De),0):De.next)&&!(Te=Te.call(De,Qt[1])).done)return Te;switch(De=0,Te&&(Qt=[Qt[0]&2,Te.value]),Qt[0]){case 0:case 1:Te=Qt;break;case 4:return q.label++,{value:Qt[1],done:!1};case 5:q.label++,De=Qt[1],Qt=[0];continue;case 7:Qt=q.ops.pop(),q.trys.pop();continue;default:if(Te=q.trys,!(Te=Te.length>0&&Te[Te.length-1])&&(Qt[0]===6||Qt[0]===2)){q=0;continue}if(Qt[0]===3&&(!Te||Qt[1]>Te[0]&&Qt[1]<Te[3])){q.label=Qt[1];break}if(Qt[0]===6&&q.label<Te[1]){q.label=Te[1],Te=Qt;break}if(Te&&q.label<Te[2]){q.label=Te[2],q.ops.push(Qt);break}Te[2]&&q.ops.pop(),q.trys.pop();continue}Qt=xe.call(he,q)}catch(Vt){Qt=[6,Vt],De=0}finally{me=Te=0}if(Qt[0]&5)throw Qt[1];return{value:Qt[0]?Qt[1]:void 0,done:!0}}}function re(he,xe,q,me){me===void 0&&(me=q),he[me]=xe[q]}function se(he,xe){for(var q in he)q!=="default"&&!xe.hasOwnProperty(q)&&(xe[q]=he[q])}function S(he){var xe=typeof Symbol=="function"&&Symbol.iterator,q=xe&&he[xe],me=0;if(q)return q.call(he);if(he&&typeof he.length=="number")return{next:function(){return he&&me>=he.length&&(he=void 0),{value:he&&he[me++],done:!he}}};throw new TypeError(xe?"Object is not iterable.":"Symbol.iterator is not defined.")}function J(he,xe){var q=typeof Symbol=="function"&&he[Symbol.iterator];if(!q)return he;var me=q.call(he),De,Te=[],Oe;try{for(;(xe===void 0||xe-- >0)&&!(De=me.next()).done;)Te.push(De.value)}catch(st){Oe={error:st}}finally{try{De&&!De.done&&(q=me.return)&&q.call(me)}finally{if(Oe)throw Oe.error}}return Te}function T(){for(var he=[],xe=0;xe<arguments.length;xe++)he=he.concat(J(arguments[xe]));return he}function V(){for(var he=0,xe=0,q=arguments.length;xe<q;xe++)he+=arguments[xe].length;for(var me=Array(he),De=0,xe=0;xe<q;xe++)for(var Te=arguments[xe],Oe=0,st=Te.length;Oe<st;Oe++,De++)me[De]=Te[Oe];return me}function L(he){return this instanceof L?(this.v=he,this):new L(he)}function c(he,xe,q){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var me=q.apply(he,xe||[]),De,Te=[];return De={},Oe("next"),Oe("throw"),Oe("return"),De[Symbol.asyncIterator]=function(){return this},De;function Oe(Jt){me[Jt]&&(De[Jt]=function(Lr){return new Promise(function(Rr,Gr){Te.push([Jt,Lr,Rr,Gr])>1||st(Jt,Lr)})})}function st(Jt,Lr){try{Ft(me[Jt](Lr))}catch(Rr){Gt(Te[0][3],Rr)}}function Ft(Jt){Jt.value instanceof L?Promise.resolve(Jt.value.v).then(Qt,Vt):Gt(Te[0][2],Jt)}function Qt(Jt){st("next",Jt)}function Vt(Jt){st("throw",Jt)}function Gt(Jt,Lr){Jt(Lr),Te.shift(),Te.length&&st(Te[0][0],Te[0][1])}}function R(he){var xe,q;return xe={},me("next"),me("throw",function(De){throw De}),me("return"),xe[Symbol.iterator]=function(){return this},xe;function me(De,Te){xe[De]=he[De]?function(Oe){return(q=!q)?{value:L(he[De](Oe)),done:De==="return"}:Te?Te(Oe):Oe}:Te}}function B(he){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var xe=he[Symbol.asyncIterator],q;return xe?xe.call(he):(he=typeof S=="function"?S(he):he[Symbol.iterator](),q={},me("next"),me("throw"),me("return"),q[Symbol.asyncIterator]=function(){return this},q);function me(Te){q[Te]=he[Te]&&function(Oe){return new Promise(function(st,Ft){Oe=he[Te](Oe),De(st,Ft,Oe.done,Oe.value)})}}function De(Te,Oe,st,Ft){Promise.resolve(Ft).then(function(Qt){Te({value:Qt,done:st})},Oe)}}function X(he,xe){return Object.defineProperty?Object.defineProperty(he,"raw",{value:xe}):he.raw=xe,he}function g(he){if(he&&he.__esModule)return he;var xe={};if(he!=null)for(var q in he)Object.hasOwnProperty.call(he,q)&&(xe[q]=he[q]);return xe.default=he,xe}function p(he){return he&&he.__esModule?he:{default:he}}function O(he,xe){if(!xe.has(he))throw new TypeError("attempted to get private field on non-instance");return xe.get(he)}function I(he,xe,q){if(!xe.has(he))throw new TypeError("attempted to set private field on non-instance");return xe.set(he,q),q}function E(he){return typeof he=="function"}var K=!1,d={Promise:void 0,set useDeprecatedSynchronousErrorHandling(he){if(he){var xe=new Error;""+xe.stack}K=he},get useDeprecatedSynchronousErrorHandling(){return K}};function i(he){setTimeout(function(){throw he},0)}var x={closed:!0,next:function(he){},error:function(he){if(d.useDeprecatedSynchronousErrorHandling)throw he;i(he)},complete:function(){}},A=function(){return Array.isArray||function(he){return he&&typeof he.length=="number"}}();function w(he){return he!==null&&typeof he=="object"}var C=function(){function he(xe){return Error.call(this),this.message=xe?xe.length+` errors occurred during unsubscription:
`+xe.map(function(q,me){return me+1+") "+q.toString()}).join(`
  `):"",this.name="UnsubscriptionError",this.errors=xe,this}return he.prototype=Object.create(Error.prototype),he}(),U=C,F=function(){function he(xe){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,xe&&(this._ctorUnsubscribe=!0,this._unsubscribe=xe)}return he.prototype.unsubscribe=function(){var xe;if(!this.closed){var q=this,me=q._parentOrParents,De=q._ctorUnsubscribe,Te=q._unsubscribe,Oe=q._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,me instanceof he)me.remove(this);else if(me!==null)for(var st=0;st<me.length;++st){var Ft=me[st];Ft.remove(this)}if(E(Te)){De&&(this._unsubscribe=void 0);try{Te.call(this)}catch(Gt){xe=Gt instanceof U?Y(Gt.errors):[Gt]}}if(A(Oe))for(var st=-1,Qt=Oe.length;++st<Qt;){var Vt=Oe[st];if(w(Vt))try{Vt.unsubscribe()}catch(Jt){xe=xe||[],Jt instanceof U?xe=xe.concat(Y(Jt.errors)):xe.push(Jt)}}if(xe)throw new U(xe)}},he.prototype.add=function(xe){var q=xe;if(!xe)return he.EMPTY;switch(typeof xe){case"function":q=new he(xe);case"object":if(q===this||q.closed||typeof q.unsubscribe!="function")return q;if(this.closed)return q.unsubscribe(),q;if(!(q instanceof he)){var me=q;q=new he,q._subscriptions=[me]}break;default:throw new Error("unrecognized teardown "+xe+" added to Subscription.")}var De=q._parentOrParents;if(De===null)q._parentOrParents=this;else if(De instanceof he){if(De===this)return q;q._parentOrParents=[De,this]}else if(De.indexOf(this)===-1)De.push(this);else return q;var Te=this._subscriptions;return Te===null?this._subscriptions=[q]:Te.push(q),q},he.prototype.remove=function(xe){var q=this._subscriptions;if(q){var me=q.indexOf(xe);me!==-1&&q.splice(me,1)}},he.EMPTY=function(xe){return xe.closed=!0,xe}(new he),he}();function Y(he){return he.reduce(function(xe,q){return xe.concat(q instanceof U?q.errors:q)},[])}var le=function(){return typeof Symbol=="function"?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}(),ie=null,j=function(he){f(xe,he);function xe(q,me,De){var Te=he.call(this)||this;switch(Te.syncErrorValue=null,Te.syncErrorThrown=!1,Te.syncErrorThrowable=!1,Te.isStopped=!1,arguments.length){case 0:Te.destination=x;break;case 1:if(!q){Te.destination=x;break}if(typeof q=="object"){q instanceof xe?(Te.syncErrorThrowable=q.syncErrorThrowable,Te.destination=q,q.add(Te)):(Te.syncErrorThrowable=!0,Te.destination=new ue(Te,q));break}default:Te.syncErrorThrowable=!0,Te.destination=new ue(Te,q,me,De);break}return Te}return xe.prototype[le]=function(){return this},xe.create=function(q,me,De){var Te=new xe(q,me,De);return Te.syncErrorThrowable=!1,Te},xe.prototype.next=function(q){this.isStopped||this._next(q)},xe.prototype.error=function(q){this.isStopped||(this.isStopped=!0,this._error(q))},xe.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},xe.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,he.prototype.unsubscribe.call(this))},xe.prototype._next=function(q){this.destination.next(q)},xe.prototype._error=function(q){this.destination.error(q),this.unsubscribe()},xe.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},xe.prototype._unsubscribeAndRecycle=function(){var q=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=q,this},xe}(F),ue=function(he){f(xe,he);function xe(q,me,De,Te){var Oe=he.call(this)||this;Oe._parentSubscriber=q;var st,Ft=Oe;return E(me)?st=me:me&&(st=me.next,De=me.error,Te=me.complete,me!==x&&(Ft=Object.create(me),E(Ft.unsubscribe)&&Oe.add(Ft.unsubscribe.bind(Ft)),Ft.unsubscribe=Oe.unsubscribe.bind(Oe))),Oe._context=Ft,Oe._next=st,Oe._error=De,Oe._complete=Te,Oe}return xe.prototype.next=function(q){if(!this.isStopped&&this._next){var me=this._parentSubscriber;!d.useDeprecatedSynchronousErrorHandling||!me.syncErrorThrowable?this.__tryOrUnsub(this._next,q):this.__tryOrSetError(me,this._next,q)&&this.unsubscribe()}},xe.prototype.error=function(q){if(!this.isStopped){var me=this._parentSubscriber,De=d.useDeprecatedSynchronousErrorHandling;if(this._error)!De||!me.syncErrorThrowable?(this.__tryOrUnsub(this._error,q),this.unsubscribe()):(this.__tryOrSetError(me,this._error,q),this.unsubscribe());else if(me.syncErrorThrowable)De?(me.syncErrorValue=q,me.syncErrorThrown=!0):i(q),this.unsubscribe();else{if(this.unsubscribe(),De)throw q;i(q)}}},xe.prototype.complete=function(){var q=this;if(!this.isStopped){var me=this._parentSubscriber;if(this._complete){var De=function(){return q._complete.call(q._context)};!d.useDeprecatedSynchronousErrorHandling||!me.syncErrorThrowable?(this.__tryOrUnsub(De),this.unsubscribe()):(this.__tryOrSetError(me,De),this.unsubscribe())}else this.unsubscribe()}},xe.prototype.__tryOrUnsub=function(q,me){try{q.call(this._context,me)}catch(De){if(this.unsubscribe(),d.useDeprecatedSynchronousErrorHandling)throw De;i(De)}},xe.prototype.__tryOrSetError=function(q,me,De){if(!d.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{me.call(this._context,De)}catch(Te){return d.useDeprecatedSynchronousErrorHandling?(q.syncErrorValue=Te,q.syncErrorThrown=!0,!0):(i(Te),!0)}return!1},xe.prototype._unsubscribe=function(){var q=this._parentSubscriber;this._context=null,this._parentSubscriber=null,q.unsubscribe()},xe}(j);function P(he){for(;he;){var xe=he,q=xe.closed,me=xe.destination,De=xe.isStopped;if(q||De)return!1;me&&me instanceof j?he=me:he=null}return!0}function Z(he,xe,q){if(he){if(he instanceof j)return he;if(he[le])return he[le]()}return!he&&!xe&&!q?new j(x):new j(he,xe,q)}var ae=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function ce(he){return he}function be(){for(var he=[],xe=0;xe<arguments.length;xe++)he[xe]=arguments[xe];return pe(he)}function pe(he){return he.length===0?ce:he.length===1?he[0]:function(q){return he.reduce(function(me,De){return De(me)},q)}}var h=function(){function he(xe){this._isScalar=!1,xe&&(this._subscribe=xe)}return he.prototype.lift=function(xe){var q=new he;return q.source=this,q.operator=xe,q},he.prototype.subscribe=function(xe,q,me){var De=this.operator,Te=Z(xe,q,me);if(De?Te.add(De.call(Te,this.source)):Te.add(this.source||d.useDeprecatedSynchronousErrorHandling&&!Te.syncErrorThrowable?this._subscribe(Te):this._trySubscribe(Te)),d.useDeprecatedSynchronousErrorHandling&&Te.syncErrorThrowable&&(Te.syncErrorThrowable=!1,Te.syncErrorThrown))throw Te.syncErrorValue;return Te},he.prototype._trySubscribe=function(xe){try{return this._subscribe(xe)}catch(q){d.useDeprecatedSynchronousErrorHandling&&(xe.syncErrorThrown=!0,xe.syncErrorValue=q),P(xe)?xe.error(q):console.warn(q)}},he.prototype.forEach=function(xe,q){var me=this;return q=te(q),new q(function(De,Te){var Oe;Oe=me.subscribe(function(st){try{xe(st)}catch(Ft){Te(Ft),Oe&&Oe.unsubscribe()}},Te,De)})},he.prototype._subscribe=function(xe){var q=this.source;return q&&q.subscribe(xe)},he.prototype[ae]=function(){return this},he.prototype.pipe=function(){for(var xe=[],q=0;q<arguments.length;q++)xe[q]=arguments[q];return xe.length===0?this:pe(xe)(this)},he.prototype.toPromise=function(xe){var q=this;return xe=te(xe),new xe(function(me,De){var Te;q.subscribe(function(Oe){return Te=Oe},function(Oe){return De(Oe)},function(){return me(Te)})})},he.create=function(xe){return new he(xe)},he}();function te(he){if(he||(he=d.Promise||Promise),!he)throw new Error("no Promise impl found");return he}var Q=function(){function he(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return he.prototype=Object.create(Error.prototype),he}(),we=Q,Se=function(he){f(xe,he);function xe(q,me){var De=he.call(this)||this;return De.subject=q,De.subscriber=me,De.closed=!1,De}return xe.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var q=this.subject,me=q.observers;if(this.subject=null,!(!me||me.length===0||q.isStopped||q.closed)){var De=me.indexOf(this.subscriber);De!==-1&&me.splice(De,1)}}},xe}(F),Ne=function(he){f(xe,he);function xe(q){var me=he.call(this,q)||this;return me.destination=q,me}return xe}(j),ze=function(he){f(xe,he);function xe(){var q=he.call(this)||this;return q.observers=[],q.closed=!1,q.isStopped=!1,q.hasError=!1,q.thrownError=null,q}return xe.prototype[le]=function(){return new Ne(this)},xe.prototype.lift=function(q){var me=new Je(this,this);return me.operator=q,me},xe.prototype.next=function(q){if(this.closed)throw new we;if(!this.isStopped)for(var me=this.observers,De=me.length,Te=me.slice(),Oe=0;Oe<De;Oe++)Te[Oe].next(q)},xe.prototype.error=function(q){if(this.closed)throw new we;this.hasError=!0,this.thrownError=q,this.isStopped=!0;for(var me=this.observers,De=me.length,Te=me.slice(),Oe=0;Oe<De;Oe++)Te[Oe].error(q);this.observers.length=0},xe.prototype.complete=function(){if(this.closed)throw new we;this.isStopped=!0;for(var q=this.observers,me=q.length,De=q.slice(),Te=0;Te<me;Te++)De[Te].complete();this.observers.length=0},xe.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},xe.prototype._trySubscribe=function(q){if(this.closed)throw new we;return he.prototype._trySubscribe.call(this,q)},xe.prototype._subscribe=function(q){if(this.closed)throw new we;return this.hasError?(q.error(this.thrownError),F.EMPTY):this.isStopped?(q.complete(),F.EMPTY):(this.observers.push(q),new Se(this,q))},xe.prototype.asObservable=function(){var q=new h;return q.source=this,q},xe.create=function(q,me){return new Je(q,me)},xe}(h),Je=function(he){f(xe,he);function xe(q,me){var De=he.call(this)||this;return De.destination=q,De.source=me,De}return xe.prototype.next=function(q){var me=this.destination;me&&me.next&&me.next(q)},xe.prototype.error=function(q){var me=this.destination;me&&me.error&&this.destination.error(q)},xe.prototype.complete=function(){var q=this.destination;q&&q.complete&&this.destination.complete()},xe.prototype._subscribe=function(q){var me=this.source;return me?this.source.subscribe(q):F.EMPTY},xe}(ze);let qe={};const Me=new ze;var Ue={subscribe:he=>Me.subscribe(he),unsubscribe:()=>Me.unsubscribe(),emit:he=>{qe=he,Me.next(qe)},setData:he=>Me.next(he),clearData:()=>Me.next(),getData:()=>Me.asObservable(),state:qe}},54893:function(_e,$,t){"use strict";t.d($,{b:function(){return u}});var n=t(36105),f=t.n(n);const l="YYYY-MM-DD",u={getPastValueFromToday(m,v=l){return f()().subtract(m,"M").format(v)},getCurrentDate(m=l){return f()().format(m)},getNDaysBeforeDateFromToday(m,v=l){return f()().subtract(m,"d").format(v)},getTimeDifference(m,v){let M=Math.abs(f().duration(f()(m).diff(f()(v))).asHours());return M>=1&&M<23?`${+M.toFixed(0)}h`:M<1?M<.0166667?(M=Math.abs(f().duration(f()(m).diff(f()(v))).asSeconds()),`${+M.toFixed(0)}s`):(M=Math.abs(f().duration(f()(m).diff(f()(v))).asMinutes()),`${+M.toFixed(0)}m`):(M=Math.abs(f().duration(f()(m).diff(f()(v))).asDays()),`${+M.toFixed(0)}d`)},getDateInFormat(m,v=l){return f()(m).format(v)},checkIfDateBefore(m,v){return new Date(m).getFullYear()<new Date(v).getFullYear()&&new Date(m).getMonth()<new Date(v).getMonth()&&new Date(m).getDate()<new Date(v).getDate()},getDaysDifference(m,v,M=l){let ee=f()(m,M);return f()(v,M).diff(ee,"days")}}},23466:function(_e,$,t){"use strict";t.d($,{P8:function(){return v},Sy:function(){return m}});var n=t(67557),f=t(89526),l=t(54893);const u=(0,f.createContext)(),m=()=>(0,f.useContext)(u),v=({children:ee})=>{const re=(()=>{const J=localStorage.getItem("dateRanges");return J?JSON.parse(J):null})()||{start_date:l.b.getPastValueFromToday(6),end_date:l.b.getCurrentDate(),pre_end_date:l.b.getPastValueFromToday(1),pre_start_date:l.b.getPastValueFromToday(2)},[se,S]=(0,f.useState)(re);return(0,f.useEffect)(()=>{localStorage.setItem("dateRanges",JSON.stringify(se))},[se]),(0,n.jsx)(u.Provider,{value:{dateRange:se,setDateRange:S},children:ee})};var M=null},91871:function(_e,$,t){"use strict";t.d($,{Ap:function(){return u},Hn:function(){return m}});var n=t(67557),f=t(89526);const l=(0,f.createContext)(),u=()=>(0,f.useContext)(l),m=({children:M})=>{const[ee,W]=(0,f.useState)(!0);return(0,n.jsx)(l.Provider,{value:{showSidebar:ee,setShowSidebar:W},children:M})};var v=null},19842:function(_e,$,t){"use strict";t.d($,{m:function(){return n}});const n={getRedirectUrl(){return window.location.origin+"/login"},getDataTableColumns(f){if(f.length>0){const l=Object.values(f).map(u=>({selector:u,name:u.replace(/_/g," ")}));return console.log(l,"without underscore --------------------------"),l}},calculateTimeDifferenceInSeconds(f,l){const u=f-l;return Math.floor(u/1e3)},truncateText(f,l){return typeof f!="string"||typeof l!="number"?"":f.length>l?f.substring(0,l)+"...":f},convertPercentageStringToNumber(f){const l=f?f.replace("%",""):"0",u=parseFloat(l);return isNaN(u)?0:u},getCurrentDateTimeWithAddedMinutes(f){const l=new Date;return new Date(l.getTime()+f*60*1e3)},removeSpacesAndAddUnderscores(f){const l=f,u=" ",m="_";return l.replace(u,m)},parseDateStringToDate(f){return new Date(f)}}},60928:function(_e,$){"use strict";function t(n){return n?Math.round((n+Number.EPSILON)*100)/100:0}$.Z=t},48650:function(_e,$){"use strict";const t={getItem:n=>{const f=localStorage.getItem(n);try{return JSON.parse(f)}catch(l){return f}},setItem:(n,f)=>localStorage.setItem(n,JSON.stringify(f)),removeItem:n=>{try{return localStorage.removeItem(n)}catch(f){return!1}},clear:()=>localStorage.clear(),key:n=>localStorage.key(n)};$.Z=t},87773:function(_e,$,t){"use strict";t.d($,{L:function(){return l}});var n=t(1704),f=(u,m,v)=>new Promise((M,ee)=>{var W=S=>{try{se(v.next(S))}catch(J){ee(J)}},re=S=>{try{se(v.throw(S))}catch(J){ee(J)}},se=S=>S.done?M(S.value):Promise.resolve(S.value).then(W,re);se((v=v.apply(u,m)).next())});const l={logoutSessionFromKeyCloak(){return f(this,null,function*(){try{let u=localStorage.getItem("userData"),m,v;try{m=JSON.parse(u),v=m["refresh-token"]}catch(M){console.error("Error parsing userData:",M)}if(v){let M="https://test-api.digg.ai/"+n.Z.logoutUser().url+`?refresh_token=${v}`;yield fetch(M,{method:"GET",headers:{"Content-Type":"application/json"}}),window.location.href="/login"}}catch(u){console.error("Error:",u)}})}}},5157:function(_e,$){"use strict";let t=[{divider:1e18,suffix:"E"},{divider:1e15,suffix:"P"},{divider:1e12,suffix:"T"},{divider:1e9,suffix:"G"},{divider:1e6,suffix:"M"},{divider:1e3,suffix:"K"},{divider:1,suffix:""},{divider:0,suffix:""}];function n(l){if(!l||l==="NA")return l;if(l<0)return"-"+n(-l);for(let u=0;u<t.length;u++){if(l<1)return f(l/t[6].divider);if(l>=t[u].divider){let m=l/t[u].divider;return f(m)+t[u].suffix}}return l.toString()}function f(l){return l?Math.round((l+Number.EPSILON)*100)/100:0}$.Z=n},23965:function(){"use strict";var _e={}},49353:function(){"use strict";var _e={}},90019:function(){"use strict";var _e={}},16465:function(){"use strict";var _e={}},86151:function(){"use strict";var _e={}},37598:function(){"use strict";var _e={}},59432:function(){"use strict";var _e={}},2480:function(){"use strict";var _e={}},42776:function(){"use strict";var _e={}},14560:function(){"use strict";var _e={}},372:function(){"use strict";var _e={}},87992:function(_e,$,t){"use strict";t.d($,{Z:function(){return Qr}});function n(ft){if(ft.sheet)return ft.sheet;for(var tr=0;tr<document.styleSheets.length;tr++)if(document.styleSheets[tr].ownerNode===ft)return document.styleSheets[tr]}function f(ft){var tr=document.createElement("style");return tr.setAttribute("data-emotion",ft.key),ft.nonce!==void 0&&tr.setAttribute("nonce",ft.nonce),tr.appendChild(document.createTextNode("")),tr.setAttribute("data-s",""),tr}var l=function(){function ft(gr){var ar=this;this._insertTag=function(rt){var kt;ar.tags.length===0?ar.insertionPoint?kt=ar.insertionPoint.nextSibling:ar.prepend?kt=ar.container.firstChild:kt=ar.before:kt=ar.tags[ar.tags.length-1].nextSibling,ar.container.insertBefore(rt,kt),ar.tags.push(rt)},this.isSpeedy=gr.speedy===void 0?!0:gr.speedy,this.tags=[],this.ctr=0,this.nonce=gr.nonce,this.key=gr.key,this.container=gr.container,this.prepend=gr.prepend,this.insertionPoint=gr.insertionPoint,this.before=null}var tr=ft.prototype;return tr.hydrate=function(ar){ar.forEach(this._insertTag)},tr.insert=function(ar){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(f(this));var rt=this.tags[this.tags.length-1];if(!1)var kt;if(this.isSpeedy){var At=n(rt);try{At.insertRule(ar,At.cssRules.length)}catch(qt){}}else rt.appendChild(document.createTextNode(ar));this.ctr++},tr.flush=function(){this.tags.forEach(function(ar){return ar.parentNode&&ar.parentNode.removeChild(ar)}),this.tags=[],this.ctr=0},ft}(),u=Math.abs,m=String.fromCharCode,v=Object.assign;function M(ft,tr){return S(ft,0)^45?(((tr<<2^S(ft,0))<<2^S(ft,1))<<2^S(ft,2))<<2^S(ft,3):0}function ee(ft){return ft.trim()}function W(ft,tr){return(ft=tr.exec(ft))?ft[0]:ft}function re(ft,tr,gr){return ft.replace(tr,gr)}function se(ft,tr){return ft.indexOf(tr)}function S(ft,tr){return ft.charCodeAt(tr)|0}function J(ft,tr,gr){return ft.slice(tr,gr)}function T(ft){return ft.length}function V(ft){return ft.length}function L(ft,tr){return tr.push(ft),ft}function c(ft,tr){return ft.map(tr).join("")}var R=1,B=1,X=0,g=0,p=0,O="";function I(ft,tr,gr,ar,rt,kt,At){return{value:ft,root:tr,parent:gr,type:ar,props:rt,children:kt,line:R,column:B,length:At,return:""}}function E(ft,tr){return v(I("",null,null,"",null,null,0),ft,{length:-ft.length},tr)}function K(){return p}function d(){return p=g>0?S(O,--g):0,B--,p===10&&(B=1,R--),p}function i(){return p=g<X?S(O,g++):0,B++,p===10&&(B=1,R++),p}function x(){return S(O,g)}function A(){return g}function w(ft,tr){return J(O,ft,tr)}function C(ft){switch(ft){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function U(ft){return R=B=1,X=T(O=ft),g=0,[]}function F(ft){return O="",ft}function Y(ft){return ee(w(g-1,P(ft===91?ft+2:ft===40?ft+1:ft)))}function le(ft){return F(j(U(ft)))}function ie(ft){for(;(p=x())&&p<33;)i();return C(ft)>2||C(p)>3?"":" "}function j(ft){for(;i();)switch(C(p)){case 0:append(ae(g-1),ft);break;case 2:append(Y(p),ft);break;default:append(from(p),ft)}return ft}function ue(ft,tr){for(;--tr&&i()&&!(p<48||p>102||p>57&&p<65||p>70&&p<97););return w(ft,A()+(tr<6&&x()==32&&i()==32))}function P(ft){for(;i();)switch(p){case ft:return g;case 34:case 39:ft!==34&&ft!==39&&P(p);break;case 40:ft===41&&P(ft);break;case 92:i();break}return g}function Z(ft,tr){for(;i()&&ft+p!==57;)if(ft+p===84&&x()===47)break;return"/*"+w(tr,g-1)+"*"+m(ft===47?ft:i())}function ae(ft){for(;!C(x());)i();return w(ft,g)}var ce="-ms-",be="-moz-",pe="-webkit-",h="comm",te="rule",Q="decl",we="@page",Se="@media",Ne="@import",ze="@charset",Je="@viewport",qe="@supports",Me="@document",Fe="@namespace",Ue="@keyframes",he="@font-face",xe="@counter-style",q="@font-feature-values";function me(ft,tr){for(var gr="",ar=V(ft),rt=0;rt<ar;rt++)gr+=tr(ft[rt],rt,ft,tr)||"";return gr}function De(ft,tr,gr,ar){switch(ft.type){case Ne:case Q:return ft.return=ft.return||ft.value;case h:return"";case Ue:return ft.return=ft.value+"{"+me(ft.children,ar)+"}";case te:ft.value=ft.props.join(",")}return T(gr=me(ft.children,ar))?ft.return=ft.value+"{"+gr+"}":""}function Te(ft){var tr=V(ft);return function(gr,ar,rt,kt){for(var At="",qt=0;qt<tr;qt++)At+=ft[qt](gr,ar,rt,kt)||"";return At}}function Oe(ft){return function(tr){tr.root||(tr=tr.return)&&ft(tr)}}function st(ft,tr,gr,ar){if(ft.length>-1&&!ft.return)switch(ft.type){case DECLARATION:ft.return=prefix(ft.value,ft.length,gr);return;case KEYFRAMES:return serialize([copy(ft,{value:replace(ft.value,"@","@"+WEBKIT)})],ar);case RULESET:if(ft.length)return combine(ft.props,function(rt){switch(match(rt,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return serialize([copy(ft,{props:[replace(rt,/:(read-\w+)/,":"+MOZ+"$1")]})],ar);case"::placeholder":return serialize([copy(ft,{props:[replace(rt,/:(plac\w+)/,":"+WEBKIT+"input-$1")]}),copy(ft,{props:[replace(rt,/:(plac\w+)/,":"+MOZ+"$1")]}),copy(ft,{props:[replace(rt,/:(plac\w+)/,MS+"input-$1")]})],ar)}return""})}}function Ft(ft){switch(ft.type){case RULESET:ft.props=ft.props.map(function(tr){return combine(tokenize(tr),function(gr,ar,rt){switch(charat(gr,0)){case 12:return substr(gr,1,strlen(gr));case 0:case 40:case 43:case 62:case 126:return gr;case 58:rt[++ar]==="global"&&(rt[ar]="",rt[++ar]="\f"+substr(rt[ar],ar=1,-1));case 32:return ar===1?"":gr;default:switch(ar){case 0:return ft=gr,sizeof(rt)>1?"":gr;case(ar=sizeof(rt)-1):case 2:return ar===2?gr+ft+ft:gr+ft;default:return gr}}})})}}function Qt(ft){return F(Vt("",null,null,null,[""],ft=U(ft),0,[0],ft))}function Vt(ft,tr,gr,ar,rt,kt,At,qt,sr){for(var Kr=0,kr=0,nn=At,on=0,vr=0,Dr=0,_r=1,Hr=1,Pr=1,un=0,Zn="",Jn=rt,Dn=kt,qn=ar,lr=Zn;Hr;)switch(Dr=un,un=i()){case 40:if(Dr!=108&&S(lr,nn-1)==58){se(lr+=re(Y(un),"&","&\f"),"&\f")!=-1&&(Pr=-1);break}case 34:case 39:case 91:lr+=Y(un);break;case 9:case 10:case 13:case 32:lr+=ie(Dr);break;case 92:lr+=ue(A()-1,7);continue;case 47:switch(x()){case 42:case 47:L(Jt(Z(i(),A()),tr,gr),sr);break;default:lr+="/"}break;case 123*_r:qt[Kr++]=T(lr)*Pr;case 125*_r:case 59:case 0:switch(un){case 0:case 125:Hr=0;case 59+kr:vr>0&&T(lr)-nn&&L(vr>32?Lr(lr+";",ar,gr,nn-1):Lr(re(lr," ","")+";",ar,gr,nn-2),sr);break;case 59:lr+=";";default:if(L(qn=Gt(lr,tr,gr,Kr,kr,rt,qt,Zn,Jn=[],Dn=[],nn),kt),un===123)if(kr===0)Vt(lr,tr,qn,qn,Jn,kt,nn,qt,Dn);else switch(on===99&&S(lr,3)===110?100:on){case 100:case 109:case 115:Vt(ft,qn,qn,ar&&L(Gt(ft,qn,qn,0,0,rt,qt,Zn,rt,Jn=[],nn),Dn),rt,Dn,nn,qt,ar?Jn:Dn);break;default:Vt(lr,qn,qn,qn,[""],Dn,0,qt,Dn)}}Kr=kr=vr=0,_r=Pr=1,Zn=lr="",nn=At;break;case 58:nn=1+T(lr),vr=Dr;default:if(_r<1){if(un==123)--_r;else if(un==125&&_r++==0&&d()==125)continue}switch(lr+=m(un),un*_r){case 38:Pr=kr>0?1:(lr+="\f",-1);break;case 44:qt[Kr++]=(T(lr)-1)*Pr,Pr=1;break;case 64:x()===45&&(lr+=Y(i())),on=x(),kr=nn=T(Zn=lr+=ae(A())),un++;break;case 45:Dr===45&&T(lr)==2&&(_r=0)}}return kt}function Gt(ft,tr,gr,ar,rt,kt,At,qt,sr,Kr,kr){for(var nn=rt-1,on=rt===0?kt:[""],vr=V(on),Dr=0,_r=0,Hr=0;Dr<ar;++Dr)for(var Pr=0,un=J(ft,nn+1,nn=u(_r=At[Dr])),Zn=ft;Pr<vr;++Pr)(Zn=ee(_r>0?on[Pr]+" "+un:re(un,/&\f/g,on[Pr])))&&(sr[Hr++]=Zn);return I(ft,tr,gr,rt===0?te:qt,sr,Kr,kr)}function Jt(ft,tr,gr){return I(ft,tr,gr,h,m(K()),J(ft,2,-2),0)}function Lr(ft,tr,gr,ar){return I(ft,tr,gr,Q,J(ft,0,ar),J(ft,ar+1,-1),ar)}var Rr=function(tr,gr,ar){for(var rt=0,kt=0;rt=kt,kt=x(),rt===38&&kt===12&&(gr[ar]=1),!C(kt);)i();return w(tr,g)},Gr=function(tr,gr){var ar=-1,rt=44;do switch(C(rt)){case 0:rt===38&&x()===12&&(gr[ar]=1),tr[ar]+=Rr(g-1,gr,ar);break;case 2:tr[ar]+=Y(rt);break;case 4:if(rt===44){tr[++ar]=x()===58?"&\f":"",gr[ar]=tr[ar].length;break}default:tr[ar]+=m(rt)}while(rt=i());return tr},zr=function(tr,gr){return F(Gr(U(tr),gr))},pr=new WeakMap,vn=function(tr){if(!(tr.type!=="rule"||!tr.parent||tr.length<1)){for(var gr=tr.value,ar=tr.parent,rt=tr.column===ar.column&&tr.line===ar.line;ar.type!=="rule";)if(ar=ar.parent,!ar)return;if(!(tr.props.length===1&&gr.charCodeAt(0)!==58&&!pr.get(ar))&&!rt){pr.set(tr,!0);for(var kt=[],At=zr(gr,kt),qt=ar.props,sr=0,Kr=0;sr<At.length;sr++)for(var kr=0;kr<qt.length;kr++,Kr++)tr.props[Kr]=kt[sr]?At[sr].replace(/&\f/g,qt[kr]):qt[kr]+" "+At[sr]}}},fn=function(tr){if(tr.type==="decl"){var gr=tr.value;gr.charCodeAt(0)===108&&gr.charCodeAt(2)===98&&(tr.return="",tr.value="")}},Zt="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",St=function(tr){return tr.type==="comm"&&tr.children.indexOf(Zt)>-1},Wt=function(tr){return function(gr,ar,rt){if(!(gr.type!=="rule"||tr.compat)){var kt=gr.value.match(/(:first|:nth|:nth-last)-child/g);if(kt){for(var At=gr.parent===rt[0],qt=At?rt[0].children:rt,sr=qt.length-1;sr>=0;sr--){var Kr=qt[sr];if(Kr.line<gr.line)break;if(Kr.column<gr.column){if(St(Kr))return;break}}kt.forEach(function(kr){console.error('The pseudo class "'+kr+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+kr.split("-child")[0]+'-of-type".')})}}}},Nt=function(tr){return tr.type.charCodeAt(1)===105&&tr.type.charCodeAt(0)===64},dt=function(tr,gr){for(var ar=tr-1;ar>=0;ar--)if(!Nt(gr[ar]))return!0;return!1},nr=function(tr){tr.type="",tr.value="",tr.return="",tr.children="",tr.props=""},et=function(tr,gr,ar){Nt(tr)&&(tr.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),nr(tr)):dt(gr,ar)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),nr(tr)))};function Tt(ft,tr){switch(M(ft,tr)){case 5103:return pe+"print-"+ft+ft;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return pe+ft+ft;case 5349:case 4246:case 4810:case 6968:case 2756:return pe+ft+be+ft+ce+ft+ft;case 6828:case 4268:return pe+ft+ce+ft+ft;case 6165:return pe+ft+ce+"flex-"+ft+ft;case 5187:return pe+ft+re(ft,/(\w+).+(:[^]+)/,pe+"box-$1$2"+ce+"flex-$1$2")+ft;case 5443:return pe+ft+ce+"flex-item-"+re(ft,/flex-|-self/,"")+ft;case 4675:return pe+ft+ce+"flex-line-pack"+re(ft,/align-content|flex-|-self/,"")+ft;case 5548:return pe+ft+ce+re(ft,"shrink","negative")+ft;case 5292:return pe+ft+ce+re(ft,"basis","preferred-size")+ft;case 6060:return pe+"box-"+re(ft,"-grow","")+pe+ft+ce+re(ft,"grow","positive")+ft;case 4554:return pe+re(ft,/([^-])(transform)/g,"$1"+pe+"$2")+ft;case 6187:return re(re(re(ft,/(zoom-|grab)/,pe+"$1"),/(image-set)/,pe+"$1"),ft,"")+ft;case 5495:case 3959:return re(ft,/(image-set\([^]*)/,pe+"$1$`$1");case 4968:return re(re(ft,/(.+:)(flex-)?(.*)/,pe+"box-pack:$3"+ce+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+pe+ft+ft;case 4095:case 3583:case 4068:case 2532:return re(ft,/(.+)-inline(.+)/,pe+"$1$2")+ft;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(T(ft)-1-tr>6)switch(S(ft,tr+1)){case 109:if(S(ft,tr+4)!==45)break;case 102:return re(ft,/(.+:)(.+)-([^]+)/,"$1"+pe+"$2-$3$1"+be+(S(ft,tr+3)==108?"$3":"$2-$3"))+ft;case 115:return~se(ft,"stretch")?Tt(re(ft,"stretch","fill-available"),tr)+ft:ft}break;case 4949:if(S(ft,tr+1)!==115)break;case 6444:switch(S(ft,T(ft)-3-(~se(ft,"!important")&&10))){case 107:return re(ft,":",":"+pe)+ft;case 101:return re(ft,/(.+:)([^;!]+)(;|!.+)?/,"$1"+pe+(S(ft,14)===45?"inline-":"")+"box$3$1"+pe+"$2$3$1"+ce+"$2box$3")+ft}break;case 5936:switch(S(ft,tr+11)){case 114:return pe+ft+ce+re(ft,/[svh]\w+-[tblr]{2}/,"tb")+ft;case 108:return pe+ft+ce+re(ft,/[svh]\w+-[tblr]{2}/,"tb-rl")+ft;case 45:return pe+ft+ce+re(ft,/[svh]\w+-[tblr]{2}/,"lr")+ft}return pe+ft+ce+ft+ft}return ft}var Rt=function(tr,gr,ar,rt){if(tr.length>-1&&!tr.return)switch(tr.type){case Q:tr.return=Tt(tr.value,tr.length);break;case Ue:return me([E(tr,{value:re(tr.value,"@","@"+pe)})],rt);case te:if(tr.length)return c(tr.props,function(kt){switch(W(kt,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return me([E(tr,{props:[re(kt,/:(read-\w+)/,":"+be+"$1")]})],rt);case"::placeholder":return me([E(tr,{props:[re(kt,/:(plac\w+)/,":"+pe+"input-$1")]}),E(tr,{props:[re(kt,/:(plac\w+)/,":"+be+"$1")]}),E(tr,{props:[re(kt,/:(plac\w+)/,ce+"input-$1")]})],rt)}return""})}},or=[Rt],ir=function(tr){var gr=tr.key;if(gr==="css"){var ar=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(ar,function(_r){var Hr=_r.getAttribute("data-emotion");Hr.indexOf(" ")!==-1&&(document.head.appendChild(_r),_r.setAttribute("data-s",""))})}var rt=tr.stylisPlugins||or,kt={},At,qt=[];At=tr.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+gr+' "]'),function(_r){for(var Hr=_r.getAttribute("data-emotion").split(" "),Pr=1;Pr<Hr.length;Pr++)kt[Hr[Pr]]=!0;qt.push(_r)});var sr,Kr=[vn,fn];{var kr,nn=[De,Oe(function(_r){kr.insert(_r)})],on=Te(Kr.concat(rt,nn)),vr=function(Hr){return me(Qt(Hr),on)};sr=function(Hr,Pr,un,Zn){kr=un,vr(Hr?Hr+"{"+Pr.styles+"}":Pr.styles),Zn&&(Dr.inserted[Pr.name]=!0)}}var Dr={key:gr,sheet:new l({key:gr,container:At,nonce:tr.nonce,speedy:tr.speedy,prepend:tr.prepend,insertionPoint:tr.insertionPoint}),nonce:tr.nonce,inserted:kt,registered:{},insert:sr};return Dr.sheet.hydrate(qt),Dr},Qr=ir},44494:function(_e,$){"use strict";function t(n){var f=Object.create(null);return function(l){return f[l]===void 0&&(f[l]=n(l)),f[l]}}$.Z=t},90769:function(_e,$,t){"use strict";t.d($,{T:function(){return re},u:function(){return se},w:function(){return W}});var n=t(89526),f=t(87992),l=t(73751),u=t(9745),m={}.hasOwnProperty,v=(0,n.createContext)(typeof HTMLElement!="undefined"?(0,f.Z)({key:"css"}):null),M=v.Provider,ee=function(){return useContext(v)},W=function(d){return(0,n.forwardRef)(function(i,x){var A=(0,n.useContext)(v);return d(i,A,x)})},re=(0,n.createContext)({}),se=function(){return(0,n.useContext)(re)},S=function(d,i){if(typeof i=="function"){var x=i(d);return x}return _extends({},d,i)},J=null,T=function(d){var i=useContext(re);return d.theme!==i&&(i=J(i)(d.theme)),createElement(re.Provider,{value:i},d.children)};function V(K){var d=K.displayName||K.name||"Component",i=function(w,C){var U=useContext(re);return createElement(K,_extends({theme:U,ref:C},w))},x=forwardRef(i);return x.displayName="WithTheme("+d+")",hoistNonReactStatics(x,K)}var L=function(d){var i=d.split(".");return i[i.length-1]},c=function(d){var i=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(d);if(i||(i=/^([A-Za-z0-9$.]+)@/.exec(d),i))return L(i[1])},R=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),B=function(d){return d.replace(/\$/g,"-")},X=function(d){if(d)for(var i=d.split(`
`),x=0;x<i.length;x++){var A=c(i[x]);if(A){if(R.has(A))break;if(/^[A-Z]/.test(A))return B(A)}}},g="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",p="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",O=function(d,i){var x={};for(var A in i)m.call(i,A)&&(x[A]=i[A]);if(x[g]=d,!1)var w;return x},I=function(d){var i=d.cache,x=d.serialized,A=d.isStringTag;registerStyles(i,x,A);var w=useInsertionEffectAlwaysWithSyncFallback(function(){return insertStyles(i,x,A)});return null},E=null},21127:function(_e,$,t){"use strict";t.d($,{F4:function(){return T},iv:function(){return J},xB:function(){return S}});var n=t(89526),f=t(87992),l=t(90769),u=t(41281),m=t.n(u),v=t(38662),M=t(73751),ee=t(9745),W={name:"@emotion/react",version:"11.10.5",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":"./macro.js"},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.js","macro.d.ts","macro.js.flow"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.10.5","@emotion/cache":"^11.10.5","@emotion/serialize":"^1.1.1","@emotion/use-insertion-effect-with-fallbacks":"^1.0.0","@emotion/utils":"^1.2.0","@emotion/weak-memoize":"^0.3.0","hoist-non-react-statics":"^3.3.1"},peerDependencies:{"@babel/core":"^7.0.0",react:">=16.8.0"},peerDependenciesMeta:{"@babel/core":{optional:!0},"@types/react":{optional:!0}},devDependencies:{"@babel/core":"^7.18.5","@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.10.5","@emotion/css-prettifier":"1.1.1","@emotion/server":"11.10.0","@emotion/styled":"11.10.5","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":"./macro.js"}}}},re=function(I,E){var K=arguments;if(E==null||!hasOwnProperty.call(E,"css"))return createElement.apply(void 0,K);var d=K.length,i=new Array(d);i[0]=Emotion,i[1]=createEmotionProps(I,E);for(var x=2;x<d;x++)i[x]=K[x];return createElement.apply(null,i)},se=!1,S=(0,l.w)(function(O,I){var E=O.styles,K=(0,M.O)([E],void 0,(0,n.useContext)(l.T)),d=(0,n.useRef)();return(0,ee.j)(function(){var i=I.key+"-global",x=new I.sheet.constructor({key:i,nonce:I.sheet.nonce,container:I.sheet.container,speedy:I.sheet.isSpeedy}),A=!1,w=document.querySelector('style[data-emotion="'+i+" "+K.name+'"]');return I.sheet.tags.length&&(x.before=I.sheet.tags[0]),w!==null&&(A=!0,w.setAttribute("data-emotion",i),x.hydrate([w])),d.current=[x,A],function(){x.flush()}},[I]),(0,ee.j)(function(){var i=d.current,x=i[0],A=i[1];if(A){i[1]=!1;return}if(K.next!==void 0&&(0,v.My)(I,K.next,!0),x.tags.length){var w=x.tags[x.tags.length-1].nextElementSibling;x.before=w,x.flush()}I.insert("",K,x,!1)},[I,K.name]),null});function J(){for(var O=arguments.length,I=new Array(O),E=0;E<O;E++)I[E]=arguments[E];return(0,M.O)(I)}var T=function(){var I=J.apply(void 0,arguments),E="animation-"+I.name;return{name:E,styles:"@keyframes "+E+"{"+I.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},V=function O(I){for(var E=I.length,K=0,d="";K<E;K++){var i=I[K];if(i!=null){var x=void 0;switch(typeof i){case"boolean":break;case"object":{if(Array.isArray(i))x=O(i);else{x="";for(var A in i)i[A]&&A&&(x&&(x+=" "),x+=A)}break}default:x=i}x&&(d&&(d+=" "),d+=x)}}return d};function L(O,I,E){var K=[],d=getRegisteredStyles(O,K,E);return K.length<2?E:d+I(K)}var c=function(I){var E=I.cache,K=I.serializedArr,d=useInsertionEffectAlwaysWithSyncFallback(function(){for(var i=0;i<K.length;i++)var x=insertStyles(E,K[i],!1)});return null},R=null;if(!1)var B,X,g,p},73751:function(_e,$,t){"use strict";t.d($,{O:function(){return K}});function n(d){for(var i=0,x,A=0,w=d.length;w>=4;++A,w-=4)x=d.charCodeAt(A)&255|(d.charCodeAt(++A)&255)<<8|(d.charCodeAt(++A)&255)<<16|(d.charCodeAt(++A)&255)<<24,x=(x&65535)*1540483477+((x>>>16)*59797<<16),x^=x>>>24,i=(x&65535)*1540483477+((x>>>16)*59797<<16)^(i&65535)*1540483477+((i>>>16)*59797<<16);switch(w){case 3:i^=(d.charCodeAt(A+2)&255)<<16;case 2:i^=(d.charCodeAt(A+1)&255)<<8;case 1:i^=d.charCodeAt(A)&255,i=(i&65535)*1540483477+((i>>>16)*59797<<16)}return i^=i>>>13,i=(i&65535)*1540483477+((i>>>16)*59797<<16),((i^i>>>15)>>>0).toString(36)}var f=n,l={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},u=l,m=t(44494),v=`You have illegal escape sequence in your template literal, most likely inside content's property value.
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
You can read more about this here:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,M="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",ee=/[A-Z]|^ms/g,W=/_EMO_([^_]+?)_([^]*?)_EMO_/g,re=function(i){return i.charCodeAt(1)===45},se=function(i){return i!=null&&typeof i!="boolean"},S=(0,m.Z)(function(d){return re(d)?d:d.replace(ee,"-$&").toLowerCase()}),J=function(i,x){switch(i){case"animation":case"animationName":if(typeof x=="string")return x.replace(W,function(A,w,C){return E={name:w,styles:C,next:E},w})}return u[i]!==1&&!re(i)&&typeof x=="number"&&x!==0?x+"px":x};if(!1)var T,V,L,c,R,B;var X=null;function g(d,i,x){if(x==null)return"";if(x.__emotion_styles!==void 0)return x;switch(typeof x){case"boolean":return"";case"object":{if(x.anim===1)return E={name:x.name,styles:x.styles,next:E},x.name;if(x.styles!==void 0){var A=x.next;if(A!==void 0)for(;A!==void 0;)E={name:A.name,styles:A.styles,next:E},A=A.next;var w=x.styles+";";return w}return p(d,i,x)}case"function":{if(d!==void 0){var C=E,U=x(d);return E=C,g(d,i,U)}break}case"string":if(!1)var F,Y;break}if(i==null)return x;var le=i[x];return le!==void 0?le:x}function p(d,i,x){var A="";if(Array.isArray(x))for(var w=0;w<x.length;w++)A+=g(d,i,x[w])+";";else for(var C in x){var U=x[C];if(typeof U!="object")i!=null&&i[U]!==void 0?A+=C+"{"+i[U]+"}":se(U)&&(A+=S(C)+":"+J(C,U)+";");else if(Array.isArray(U)&&typeof U[0]=="string"&&(i==null||i[U[0]]===void 0))for(var F=0;F<U.length;F++)se(U[F])&&(A+=S(C)+":"+J(C,U[F])+";");else{var Y=g(d,i,U);switch(C){case"animation":case"animationName":{A+=S(C)+":"+Y+";";break}default:A+=C+"{"+Y+"}"}}}return A}var O=/label:\s*([^\s;\n{]+)\s*(;|$)/g,I,E,K=function(i,x,A){if(i.length===1&&typeof i[0]=="object"&&i[0]!==null&&i[0].styles!==void 0)return i[0];var w=!0,C="";E=void 0;var U=i[0];U==null||U.raw===void 0?(w=!1,C+=g(A,x,U)):C+=U[0];for(var F=1;F<i.length;F++)C+=g(A,x,i[F]),w&&(C+=U[F]);var Y;O.lastIndex=0;for(var le="",ie;(ie=O.exec(C))!==null;)le+="-"+ie[1];var j=f(C)+le;return{name:j,styles:C,next:E}}},40470:function(_e,$,t){"use strict";t.d($,{Z:function(){return X}});var n=t(89526),f=t(87462),l=t(44494),u=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,m=(0,l.Z)(function(g){return u.test(g)||g.charCodeAt(0)===111&&g.charCodeAt(1)===110&&g.charCodeAt(2)<91}),v=m,M=t(90769),ee=t(38662),W=t(73751),re=v,se=function(p){return p!=="theme"},S=function(p){return typeof p=="string"&&p.charCodeAt(0)>96?re:se},J=function(p,O,I){var E;if(O){var K=O.shouldForwardProp;E=p.__emotion_forwardProp&&K?function(d){return p.__emotion_forwardProp(d)&&K(d)}:K}return typeof E!="function"&&I&&(E=p.__emotion_forwardProp),E},T=`You have illegal escape sequence in your template literal, most likely inside content's property value.
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
You can read more about this here:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,V=function(){return null},L=function g(p,O){var I=p.__emotion_real===p,E=I&&p.__emotion_base||p,K,d;O!==void 0&&(K=O.label,d=O.target);var i=J(p,O,I),x=i||S(E),A=!x("as");return function(){var w=arguments,C=I&&p.__emotion_styles!==void 0?p.__emotion_styles.slice(0):[];if(K!==void 0&&C.push("label:"+K+";"),w[0]==null||w[0].raw===void 0)C.push.apply(C,w);else{C.push(w[0][0]);for(var U=w.length,F=1;F<U;F++)C.push(w[F],w[0][F])}var Y=(0,M.w)(function(le,ie,j){var ue=A&&le.as||E,P="",Z=[],ae=le;if(le.theme==null){ae={};for(var ce in le)ae[ce]=le[ce];ae.theme=(0,n.useContext)(M.T)}typeof le.className=="string"?P=(0,ee.fp)(ie.registered,Z,le.className):le.className!=null&&(P=le.className+" ");var be=(0,W.O)(C.concat(Z),ie.registered,ae),pe=(0,ee.My)(ie,be,typeof ue=="string");P+=ie.key+"-"+be.name,d!==void 0&&(P+=" "+d);var h=A&&i===void 0?S(ue):x,te={};for(var Q in le)A&&Q==="as"||h(Q)&&(te[Q]=le[Q]);te.className=P,te.ref=j;var we=(0,n.createElement)(ue,te),Se=(0,n.createElement)(V,null);return(0,n.createElement)(n.Fragment,null,Se,we)});return Y.displayName=K!==void 0?K:"Styled("+(typeof E=="string"?E:E.displayName||E.name||"Component")+")",Y.defaultProps=p.defaultProps,Y.__emotion_real=Y,Y.__emotion_base=E,Y.__emotion_styles=C,Y.__emotion_forwardProp=i,Object.defineProperty(Y,"toString",{value:function(){return"."+d}}),Y.withComponent=function(le,ie){return g(le,(0,f.Z)({},O,ie,{shouldForwardProp:J(Y,ie,!0)})).apply(void 0,C)},Y}},c=L,R=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],B=c.bind();R.forEach(function(g){B[g]=B(g)});var X=B},9745:function(_e,$,t){"use strict";var n;t.d($,{j:function(){return v}});var f=t(89526),l=function(ee){return ee()},u=(n||(n=t.t(f,2)))["useInsertionEffect"]?(n||(n=t.t(f,2)))["useInsertionEffect"]:!1,m=u||l,v=u||f.useLayoutEffect},38662:function(_e,$,t){"use strict";t.d($,{My:function(){return u},fp:function(){return f}});var n=!0;function f(m,v,M){var ee="";return M.split(" ").forEach(function(W){m[W]!==void 0?v.push(m[W]+";"):ee+=W+" "}),ee}var l=function(v,M,ee){var W=v.key+"-"+M.name;(ee===!1||n===!1)&&v.registered[W]===void 0&&(v.registered[W]=M.styles)},u=function(v,M,ee){l(v,M,ee);var W=v.key+"-"+M.name;if(v.inserted[M.name]===void 0){var re=M;do{var se=v.insert(M===re?"."+W:"",re,v.sheet,!0);re=re.next}while(re!==void 0)}}},64028:function(_e,$,t){"use strict";var n=t(89526),f=t(73961),l=t(61199),u=t(36341),m=t(72536),v=t(67557);function M(W){return typeof W=="function"?W():W}const ee=n.forwardRef(function(re,se){const{children:S,container:J,disablePortal:T=!1}=re,[V,L]=n.useState(null),c=(0,l.Z)(n.isValidElement(S)?S.ref:null,se);if((0,u.Z)(()=>{T||L(M(J)||document.body)},[J,T]),(0,u.Z)(()=>{if(V&&!T)return(0,m.Z)(se,V),()=>{(0,m.Z)(se,null)}},[se,V,T]),T){if(n.isValidElement(S)){const R={ref:c};return n.cloneElement(S,R)}return(0,v.jsx)(n.Fragment,{children:S})}return(0,v.jsx)(n.Fragment,{children:V&&f.createPortal(S,V)})});$.Z=ee},78620:function(_e,$,t){"use strict";t.d($,{Z:function(){return E}});var n=t(87462),f=t(63366),l=t(89526),u=t(13957),m=t(88011),v=t(85111),M=t(67402);function ee(K){return(0,v.Z)("MuiTabsList",K)}const W=(0,M.Z)("MuiTabsList",["root","horizontal","vertical"]);var re=null,se=t(61199),S=t(25156),J=t(15564),T=t(80157),V=t(4599);const L=(K,d)=>K?K===d?K.firstChild:d&&d.nextElementSibling?d.nextElementSibling:K.firstChild:null,c=(K,d)=>K?K===d?K.lastChild:d&&d.previousElementSibling?d.previousElementSibling:K.lastChild:null,R=(K,d,i)=>{let x=!1,A=i(K,d);for(;K&&A;){if(A===K.firstChild){if(x)return;x=!0}const w=A.disabled||A.getAttribute("aria-disabled")==="true";if(!A.hasAttribute("tabindex")||w)A=i(K,A);else{A.focus();return}}};function B(K){const{"aria-label":d,"aria-labelledby":i,children:x,ref:A}=K,w=l.createRef(),C=(0,se.Z)(w,A),U=(0,T._i)();if(U===null)throw new Error("No TabContext provided");const{value:F,orientation:Y="horizontal",direction:le="ltr"}=U,ie=le==="rtl",j=ae=>{const ce=w.current,be=(0,S.Z)(ce).activeElement;if((be==null?void 0:be.getAttribute("role"))!=="tab")return;let h=Y==="horizontal"?"ArrowLeft":"ArrowUp",te=Y==="horizontal"?"ArrowRight":"ArrowDown";switch(Y==="horizontal"&&ie&&(h="ArrowRight",te="ArrowLeft"),ae.key){case h:ae.preventDefault(),R(ce,be,c);break;case te:ae.preventDefault(),R(ce,be,L);break;case"Home":ae.preventDefault(),R(ce,null,L);break;case"End":ae.preventDefault(),R(ce,null,c);break;default:break}},ue=ae=>ce=>{var be;j(ce),(be=ae.onKeyDown)==null||be.call(ae,ce)},P=(ae={})=>{const ce=(0,V.Z)(K),be=(0,n.Z)({},ce,ae),pe={onKeyDown:ue(be)},h=(0,n.Z)({},be,pe);return(0,n.Z)({"aria-label":d,"aria-labelledby":i,"aria-orientation":Y==="vertical"?"vertical":void 0,role:"tablist",ref:C},h)},Z=l.useCallback(()=>{const ae=new Map;let ce=0;return l.Children.map(x,pe=>{if(!l.isValidElement(pe))return null;const h=pe.props.value===void 0?ce:pe.props.value;return ae.set(h,ce),ce+=1,l.cloneElement(pe,(0,n.Z)({value:h},ce===1&&F===!1&&!pe.props.tabIndex||F===h?{tabIndex:0}:{tabIndex:-1}))})},[x,F]);return{isRtl:ie,orientation:Y,value:F,processChildren:Z,getRootProps:P}}var X=B,g=t(67557);const p=["children","component","slotProps","slots"],O=K=>{const{orientation:d}=K,i={root:["root",d]};return(0,u.Z)(i,ee,{})};var E=l.forwardRef((K,d)=>{var i;const{component:x,slotProps:A={},slots:w={}}=K,C=(0,f.Z)(K,p),{isRtl:U,orientation:F,getRootProps:Y,processChildren:le}=X((0,n.Z)({},K,{ref:d})),ie=(0,n.Z)({},K,{isRtl:U,orientation:F}),j=O(ie),ue=(i=x!=null?x:w.root)!=null?i:"div",P=(0,m.Z)({elementType:ue,getSlotProps:Y,externalSlotProps:A.root,externalForwardedProps:C,ownerState:ie,className:j.root}),Z=le();return(0,g.jsx)(ue,(0,n.Z)({},P,{children:Z}))})},80157:function(_e,$,t){"use strict";t.d($,{_i:function(){return l},pQ:function(){return m},uU:function(){return u}});var n=t(89526);const f=n.createContext(null);function l(){return n.useContext(f)}function u(v,M){const{idPrefix:ee}=v;return ee===null?null:`${v.idPrefix}-P-${M}`}function m(v,M){const{idPrefix:ee}=v;return ee===null?null:`${v.idPrefix}-T-${M}`}$.ZP=f},75763:function(_e,$){"use strict";var t;/**
 * @license React
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var n=Symbol.for("react.element"),f=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),v=Symbol.for("react.provider"),M=Symbol.for("react.context"),ee=Symbol.for("react.server_context"),W=Symbol.for("react.forward_ref"),re=Symbol.for("react.suspense"),se=Symbol.for("react.suspense_list"),S=Symbol.for("react.memo"),J=Symbol.for("react.lazy"),T=Symbol.for("react.offscreen"),V;V=Symbol.for("react.module.reference");function L(c){if(typeof c=="object"&&c!==null){var R=c.$$typeof;switch(R){case n:switch(c=c.type,c){case l:case m:case u:case re:case se:return c;default:switch(c=c&&c.$$typeof,c){case ee:case M:case W:case J:case S:case v:return c;default:return R}}case f:return R}}}t=M,t=v,t=n,t=W,t=l,t=J,t=S,t=f,t=m,t=u,t=re,t=se,t=function(){return!1},t=function(){return!1},t=function(c){return L(c)===M},t=function(c){return L(c)===v},t=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===n},t=function(c){return L(c)===W},t=function(c){return L(c)===l},t=function(c){return L(c)===J},t=function(c){return L(c)===S},t=function(c){return L(c)===f},t=function(c){return L(c)===m},t=function(c){return L(c)===u},t=function(c){return L(c)===re},t=function(c){return L(c)===se},t=function(c){return typeof c=="string"||typeof c=="function"||c===l||c===m||c===u||c===re||c===se||c===T||typeof c=="object"&&c!==null&&(c.$$typeof===J||c.$$typeof===S||c.$$typeof===v||c.$$typeof===M||c.$$typeof===W||c.$$typeof===V||c.getModuleId!==void 0)},t=L},15564:function(_e,$,t){"use strict";t(75763)},33941:function(_e,$,t){"use strict";t.d($,{Z:function(){return l}});var n=t(87462),f=t(14823);function l(u,m,v){return u===void 0||(0,f.Z)(u)?m:(0,n.Z)({},m,{ownerState:(0,n.Z)({},m.ownerState,v)})}},4599:function(_e,$,t){"use strict";t.d($,{Z:function(){return n}});function n(f,l=[]){if(f===void 0)return{};const u={};return Object.keys(f).filter(m=>m.match(/^on[A-Z]/)&&typeof f[m]=="function"&&!l.includes(m)).forEach(m=>{u[m]=f[m]}),u}},14823:function(_e,$){"use strict";function t(n){return typeof n=="string"}$.Z=t},64081:function(_e,$,t){"use strict";t.d($,{Z:function(){return n}});function n(f,l){return typeof f=="function"?f(l):f}},88011:function(_e,$,t){"use strict";t.d($,{Z:function(){return se}});var n=t(87462),f=t(63366),l=t(61199),u=t(33941),m=t(23060),v=t(4599);function M(S){if(S===void 0)return{};const J={};return Object.keys(S).filter(T=>!(T.match(/^on[A-Z]/)&&typeof S[T]=="function")).forEach(T=>{J[T]=S[T]}),J}function ee(S){const{getSlotProps:J,additionalProps:T,externalSlotProps:V,externalForwardedProps:L,className:c}=S;if(!J){const E=(0,m.default)(L==null?void 0:L.className,V==null?void 0:V.className,c,T==null?void 0:T.className),K=(0,n.Z)({},T==null?void 0:T.style,L==null?void 0:L.style,V==null?void 0:V.style),d=(0,n.Z)({},T,L,V);return E.length>0&&(d.className=E),Object.keys(K).length>0&&(d.style=K),{props:d,internalRef:void 0}}const R=(0,v.Z)((0,n.Z)({},L,V)),B=M(V),X=M(L),g=J(R),p=(0,m.default)(g==null?void 0:g.className,T==null?void 0:T.className,c,L==null?void 0:L.className,V==null?void 0:V.className),O=(0,n.Z)({},g==null?void 0:g.style,T==null?void 0:T.style,L==null?void 0:L.style,V==null?void 0:V.style),I=(0,n.Z)({},g,T,X,B);return p.length>0&&(I.className=p),Object.keys(O).length>0&&(I.style=O),{props:I,internalRef:g.ref}}var W=t(64081);const re=["elementType","externalSlotProps","ownerState"];function se(S){var J;const{elementType:T,externalSlotProps:V,ownerState:L}=S,c=(0,f.Z)(S,re),R=(0,W.Z)(V,L),{props:B,internalRef:X}=ee((0,n.Z)({},c,{externalSlotProps:R})),g=(0,l.Z)(X,R==null?void 0:R.ref,(J=S.additionalProps)==null?void 0:J.ref);return(0,u.Z)(T,(0,n.Z)({},B,{ref:g}),L)}},17773:function(_e,$,t){"use strict";var n,f=t(64836);n={value:!0},$.Z=void 0;var l=f(t(36128)),u=t(67557),m=(0,l.default)((0,u.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");$.Z=m},51511:function(_e,$,t){"use strict";var n,f=t(64836);n={value:!0},$.Z=void 0;var l=f(t(36128)),u=t(67557),m=(0,l.default)((0,u.jsx)("path",{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}),"AddCircleOutlineOutlined");$.Z=m},28364:function(_e,$,t){"use strict";var n,f=t(64836);n={value:!0},$.Z=void 0;var l=f(t(36128)),u=t(67557),m=(0,l.default)((0,u.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}),"ArrowBack");$.Z=m},72977:function(_e,$,t){"use strict";var n,f=t(64836);n={value:!0},$.Z=void 0;var l=f(t(36128)),u=t(67557),m=(0,l.default)((0,u.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");$.Z=m},36020:function(_e,$,t){"use strict";var n,f=t(64836);n={value:!0},$.Z=void 0;var l=f(t(36128)),u=t(67557),m=(0,l.default)((0,u.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft");$.Z=m},93402:function(_e,$,t){"use strict";var n,f=t(64836);n={value:!0},$.Z=void 0;var l=f(t(36128)),u=t(67557),m=(0,l.default)((0,u.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight");$.Z=m},78276:function(_e,$,t){"use strict";var n,f=t(64836);n={value:!0},$.Z=void 0;var l=f(t(36128)),u=t(67557),m=(0,l.default)((0,u.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear");$.Z=m},62976:function(_e,$,t){"use strict";var n,f=t(64836);n={value:!0},$.Z=void 0;var l=f(t(36128)),u=t(67557),m=(0,l.default)((0,u.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");$.Z=m},64494:function(_e,$,t){"use strict";var n,f=t(64836);n={value:!0},$.Z=void 0;var l=f(t(36128)),u=t(67557),m=(0,l.default)((0,u.jsx)("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"}),"CloudUpload");$.Z=m},77523:function(_e,$,t){"use strict";var n,f=t(64836);n={value:!0},$.Z=void 0;var l=f(t(36128)),u=t(67557),m=(0,l.default)((0,u.jsx)("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}),"InfoOutlined");$.Z=m},39933:function(_e,$,t){"use strict";var n,f=t(64836);n={value:!0},$.Z=void 0;var l=f(t(36128)),u=t(67557),m=(0,l.default)((0,u.jsx)("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"}),"KeyboardArrowDown");$.Z=m},39849:function(_e,$,t){"use strict";var n,f=t(64836);n={value:!0},$.Z=void 0;var l=f(t(36128)),u=t(67557),m=(0,l.default)((0,u.jsx)("path",{d:"M21 11H6.83l3.58-3.59L9 6l-6 6 6 6 1.41-1.41L6.83 13H21z"}),"KeyboardBackspace");$.Z=m},42488:function(_e,$,t){"use strict";var n=t(85233),f=t(67557);$.Z=(0,n.Z)((0,f.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore")},36128:function(_e,$,t){"use strict";Object.defineProperty($,"__esModule",{value:!0}),Object.defineProperty($,"default",{enumerable:!0,get:function(){return n.createSvgIcon}});var n=t(9636)},14931:function(_e,$,t){"use strict";t.d($,{Z:function(){return C}});var n=t(63366),f=t(87462),l=t(89526),u=t(23060),m=t(13957),v=t(72945),M=t(82500),ee=t(87260),W=t(88623),re=t(77290),se=t(67402),S=t(85111);function J(U){return(0,S.Z)("MuiAlert",U)}var V=(0,se.Z)("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),L=t(82525),c=t(85233),R=t(67557),B=(0,c.Z)((0,R.jsx)("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),X=(0,c.Z)((0,R.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),g=(0,c.Z)((0,R.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),p=(0,c.Z)((0,R.jsx)("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),O=t(84641);const I=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],E=U=>{const{variant:F,color:Y,severity:le,classes:ie}=U,j={root:["root",`${F}${(0,W.Z)(Y||le)}`,`${F}`],icon:["icon"],message:["message"],action:["action"]};return(0,m.Z)(j,J,ie)},K=(0,M.ZP)(re.Z,{name:"MuiAlert",slot:"Root",overridesResolver:(U,F)=>{const{ownerState:Y}=U;return[F.root,F[Y.variant],F[`${Y.variant}${(0,W.Z)(Y.color||Y.severity)}`]]}})(({theme:U,ownerState:F})=>{const Y=U.palette.mode==="light"?v._j:v.$n,le=U.palette.mode==="light"?v.$n:v._j,ie=F.color||F.severity;return(0,f.Z)({},U.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px"},ie&&F.variant==="standard"&&{color:U.vars?U.vars.palette.Alert[`${ie}Color`]:Y(U.palette[ie].light,.6),backgroundColor:U.vars?U.vars.palette.Alert[`${ie}StandardBg`]:le(U.palette[ie].light,.9),[`& .${V.icon}`]:U.vars?{color:U.vars.palette.Alert[`${ie}IconColor`]}:{color:U.palette[ie].main}},ie&&F.variant==="outlined"&&{color:U.vars?U.vars.palette.Alert[`${ie}Color`]:Y(U.palette[ie].light,.6),border:`1px solid ${(U.vars||U).palette[ie].light}`,[`& .${V.icon}`]:U.vars?{color:U.vars.palette.Alert[`${ie}IconColor`]}:{color:U.palette[ie].main}},ie&&F.variant==="filled"&&(0,f.Z)({fontWeight:U.typography.fontWeightMedium},U.vars?{color:U.vars.palette.Alert[`${ie}FilledColor`],backgroundColor:U.vars.palette.Alert[`${ie}FilledBg`]}:{backgroundColor:U.palette.mode==="dark"?U.palette[ie].dark:U.palette[ie].main,color:U.palette.getContrastText(U.palette[ie].main)}))}),d=(0,M.ZP)("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(U,F)=>F.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),i=(0,M.ZP)("div",{name:"MuiAlert",slot:"Message",overridesResolver:(U,F)=>F.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),x=(0,M.ZP)("div",{name:"MuiAlert",slot:"Action",overridesResolver:(U,F)=>F.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),A={success:(0,R.jsx)(B,{fontSize:"inherit"}),warning:(0,R.jsx)(X,{fontSize:"inherit"}),error:(0,R.jsx)(g,{fontSize:"inherit"}),info:(0,R.jsx)(p,{fontSize:"inherit"})};var C=l.forwardRef(function(F,Y){var le,ie,j,ue,P,Z;const ae=(0,ee.Z)({props:F,name:"MuiAlert"}),{action:ce,children:be,className:pe,closeText:h="Close",color:te,components:Q={},componentsProps:we={},icon:Se,iconMapping:Ne=A,onClose:ze,role:Je="alert",severity:qe="success",slotProps:Me={},slots:Fe={},variant:Ue="standard"}=ae,he=(0,n.Z)(ae,I),xe=(0,f.Z)({},ae,{color:te,severity:qe,variant:Ue}),q=E(xe),me=(le=(ie=Fe.closeButton)!=null?ie:Q.CloseButton)!=null?le:L.Z,De=(j=(ue=Fe.closeIcon)!=null?ue:Q.CloseIcon)!=null?j:O.Z,Te=(P=Me.closeButton)!=null?P:we.closeButton,Oe=(Z=Me.closeIcon)!=null?Z:we.closeIcon;return(0,R.jsxs)(K,(0,f.Z)({role:Je,elevation:0,ownerState:xe,className:(0,u.default)(q.root,pe),ref:Y},he,{children:[Se!==!1?(0,R.jsx)(d,{ownerState:xe,className:q.icon,children:Se||Ne[qe]||A[qe]}):null,(0,R.jsx)(i,{ownerState:xe,className:q.message,children:be}),ce!=null?(0,R.jsx)(x,{ownerState:xe,className:q.action,children:ce}):null,ce==null&&ze?(0,R.jsx)(x,{ownerState:xe,className:q.action,children:(0,R.jsx)(me,(0,f.Z)({size:"small","aria-label":h,title:h,color:"inherit",onClick:ze},Te,{children:(0,R.jsx)(De,(0,f.Z)({fontSize:"small"},Oe))}))}):null]}))})},63049:function(_e,$,t){"use strict";t.d($,{Z:function(){return B}});var n=t(63366),f=t(87462),l=t(89526),u=t(23060),m=t(13957),v=t(82500),M=t(87260),ee=t(92339),W=t(67402),re=t(85111);function se(X){return(0,re.Z)("MuiBackdrop",X)}const S=(0,W.Z)("MuiBackdrop",["root","invisible"]);var J=null,T=t(67557);const V=["children","component","components","componentsProps","className","invisible","open","slotProps","slots","transitionDuration","TransitionComponent"],L=X=>{const{classes:g,invisible:p}=X,O={root:["root",p&&"invisible"]};return(0,m.Z)(O,se,g)},c=(0,v.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(X,g)=>{const{ownerState:p}=X;return[g.root,p.invisible&&g.invisible]}})(({ownerState:X})=>(0,f.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},X.invisible&&{backgroundColor:"transparent"}));var B=l.forwardRef(function(g,p){var O,I,E;const K=(0,M.Z)({props:g,name:"MuiBackdrop"}),{children:d,component:i="div",components:x={},componentsProps:A={},className:w,invisible:C=!1,open:U,slotProps:F={},slots:Y={},transitionDuration:le,TransitionComponent:ie=ee.Z}=K,j=(0,n.Z)(K,V),ue=(0,f.Z)({},K,{component:i,invisible:C}),P=L(ue),Z=(O=F.root)!=null?O:A.root;return(0,T.jsx)(ie,(0,f.Z)({in:U,timeout:le},j,{children:(0,T.jsx)(c,(0,f.Z)({"aria-hidden":!0},Z,{as:(I=(E=Y.root)!=null?E:x.Root)!=null?I:i,className:(0,u.default)(P.root,w,Z==null?void 0:Z.className),ownerState:(0,f.Z)({},ue,Z==null?void 0:Z.ownerState),classes:P,ref:p,children:d}))}))})},13825:function(_e,$,t){"use strict";var n=t(90536),f=t(10297),l=t(63541);const u=(0,l.Z)(),m=(0,n.Z)({defaultTheme:u,defaultClassName:"MuiBox-root",generateClassName:f.Z.generate});$.Z=m},98592:function(_e,$,t){"use strict";t.d($,{Z:function(){return qe}});var n=t(87462),f=t(63366),l=t(89526),u=t(23060),m=t(13957),v=t(82500),M=t(87260),ee=t(89428),W=t(85923),re=t(69790),se=t(97326),S=t(51721),J=t(8821);function T(Me,Fe){var Ue=function(q){return Fe&&(0,l.isValidElement)(q)?Fe(q):q},he=Object.create(null);return Me&&l.Children.map(Me,function(xe){return xe}).forEach(function(xe){he[xe.key]=Ue(xe)}),he}function V(Me,Fe){Me=Me||{},Fe=Fe||{};function Ue(st){return st in Fe?Fe[st]:Me[st]}var he=Object.create(null),xe=[];for(var q in Me)q in Fe?xe.length&&(he[q]=xe,xe=[]):xe.push(q);var me,De={};for(var Te in Fe){if(he[Te])for(me=0;me<he[Te].length;me++){var Oe=he[Te][me];De[he[Te][me]]=Ue(Oe)}De[Te]=Ue(Te)}for(me=0;me<xe.length;me++)De[xe[me]]=Ue(xe[me]);return De}function L(Me,Fe,Ue){return Ue[Fe]!=null?Ue[Fe]:Me.props[Fe]}function c(Me,Fe){return T(Me.children,function(Ue){return(0,l.cloneElement)(Ue,{onExited:Fe.bind(null,Ue),in:!0,appear:L(Ue,"appear",Me),enter:L(Ue,"enter",Me),exit:L(Ue,"exit",Me)})})}function R(Me,Fe,Ue){var he=T(Me.children),xe=V(Fe,he);return Object.keys(xe).forEach(function(q){var me=xe[q];if((0,l.isValidElement)(me)){var De=q in Fe,Te=q in he,Oe=Fe[q],st=(0,l.isValidElement)(Oe)&&!Oe.props.in;Te&&(!De||st)?xe[q]=(0,l.cloneElement)(me,{onExited:Ue.bind(null,me),in:!0,exit:L(me,"exit",Me),enter:L(me,"enter",Me)}):!Te&&De&&!st?xe[q]=(0,l.cloneElement)(me,{in:!1}):Te&&De&&(0,l.isValidElement)(Oe)&&(xe[q]=(0,l.cloneElement)(me,{onExited:Ue.bind(null,me),in:Oe.props.in,exit:L(me,"exit",Me),enter:L(me,"enter",Me)}))}}),xe}var B=Object.values||function(Me){return Object.keys(Me).map(function(Fe){return Me[Fe]})},X={component:"div",childFactory:function(Fe){return Fe}},g=function(Me){(0,S.Z)(Fe,Me);function Fe(he,xe){var q;q=Me.call(this,he,xe)||this;var me=q.handleExited.bind((0,se.Z)(q));return q.state={contextValue:{isMounting:!0},handleExited:me,firstRender:!0},q}var Ue=Fe.prototype;return Ue.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},Ue.componentWillUnmount=function(){this.mounted=!1},Fe.getDerivedStateFromProps=function(xe,q){var me=q.children,De=q.handleExited,Te=q.firstRender;return{children:Te?c(xe,De):R(xe,me,De),firstRender:!1}},Ue.handleExited=function(xe,q){var me=T(this.props.children);xe.key in me||(xe.props.onExited&&xe.props.onExited(q),this.mounted&&this.setState(function(De){var Te=(0,n.Z)({},De.children);return delete Te[xe.key],{children:Te}}))},Ue.render=function(){var xe=this.props,q=xe.component,me=xe.childFactory,De=(0,f.Z)(xe,["component","childFactory"]),Te=this.state.contextValue,Oe=B(this.state.children).map(me);return delete De.appear,delete De.enter,delete De.exit,q===null?l.createElement(J.Z.Provider,{value:Te},Oe):l.createElement(J.Z.Provider,{value:Te},l.createElement(q,De,Oe))},Fe}(l.Component);g.propTypes={},g.defaultProps=X;var p=g,O=t(21127),I=t(67557);function E(Me){const{className:Fe,classes:Ue,pulsate:he=!1,rippleX:xe,rippleY:q,rippleSize:me,in:De,onExited:Te,timeout:Oe}=Me,[st,Ft]=l.useState(!1),Qt=(0,u.default)(Fe,Ue.ripple,Ue.rippleVisible,he&&Ue.ripplePulsate),Vt={width:me,height:me,top:-(me/2)+q,left:-(me/2)+xe},Gt=(0,u.default)(Ue.child,st&&Ue.childLeaving,he&&Ue.childPulsate);return!De&&!st&&Ft(!0),l.useEffect(()=>{if(!De&&Te!=null){const Jt=setTimeout(Te,Oe);return()=>{clearTimeout(Jt)}}},[Te,De,Oe]),(0,I.jsx)("span",{className:Qt,style:Vt,children:(0,I.jsx)("span",{className:Gt})})}var K=E,d=t(67402);function i(Me){return generateUtilityClass("MuiTouchRipple",Me)}var A=(0,d.Z)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);const w=["center","classes","className"];let C=Me=>Me,U,F,Y,le;const ie=550,j=80,ue=(0,O.F4)(U||(U=C`
  0% {
    transform: scale(0);
    opacity: 0.1;
  }

  100% {
    transform: scale(1);
    opacity: 0.3;
  }
`)),P=(0,O.F4)(F||(F=C`
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
`)),Z=(0,O.F4)(Y||(Y=C`
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.92);
  }

  100% {
    transform: scale(1);
  }
`)),ae=(0,v.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),ce=(0,v.ZP)(K,{name:"MuiTouchRipple",slot:"Ripple"})(le||(le=C`
  opacity: 0;
  position: absolute;

  &.${0} {
    opacity: 0.3;
    transform: scale(1);
    animation-name: ${0};
    animation-duration: ${0}ms;
    animation-timing-function: ${0};
  }

  &.${0} {
    animation-duration: ${0}ms;
  }

  & .${0} {
    opacity: 1;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: currentColor;
  }

  & .${0} {
    opacity: 0;
    animation-name: ${0};
    animation-duration: ${0}ms;
    animation-timing-function: ${0};
  }

  & .${0} {
    position: absolute;
    /* @noflip */
    left: 0px;
    top: 0;
    animation-name: ${0};
    animation-duration: 2500ms;
    animation-timing-function: ${0};
    animation-iteration-count: infinite;
    animation-delay: 200ms;
  }
`),A.rippleVisible,ue,ie,({theme:Me})=>Me.transitions.easing.easeInOut,A.ripplePulsate,({theme:Me})=>Me.transitions.duration.shorter,A.child,A.childLeaving,P,ie,({theme:Me})=>Me.transitions.easing.easeInOut,A.childPulsate,Z,({theme:Me})=>Me.transitions.easing.easeInOut);var pe=l.forwardRef(function(Fe,Ue){const he=(0,M.Z)({props:Fe,name:"MuiTouchRipple"}),{center:xe=!1,classes:q={},className:me}=he,De=(0,f.Z)(he,w),[Te,Oe]=l.useState([]),st=l.useRef(0),Ft=l.useRef(null);l.useEffect(()=>{Ft.current&&(Ft.current(),Ft.current=null)},[Te]);const Qt=l.useRef(!1),Vt=l.useRef(null),Gt=l.useRef(null),Jt=l.useRef(null);l.useEffect(()=>()=>{clearTimeout(Vt.current)},[]);const Lr=l.useCallback(pr=>{const{pulsate:vn,rippleX:fn,rippleY:Zt,rippleSize:St,cb:Wt}=pr;Oe(Nt=>[...Nt,(0,I.jsx)(ce,{classes:{ripple:(0,u.default)(q.ripple,A.ripple),rippleVisible:(0,u.default)(q.rippleVisible,A.rippleVisible),ripplePulsate:(0,u.default)(q.ripplePulsate,A.ripplePulsate),child:(0,u.default)(q.child,A.child),childLeaving:(0,u.default)(q.childLeaving,A.childLeaving),childPulsate:(0,u.default)(q.childPulsate,A.childPulsate)},timeout:ie,pulsate:vn,rippleX:fn,rippleY:Zt,rippleSize:St},st.current)]),st.current+=1,Ft.current=Wt},[q]),Rr=l.useCallback((pr={},vn={},fn=()=>{})=>{const{pulsate:Zt=!1,center:St=xe||vn.pulsate,fakeElement:Wt=!1}=vn;if((pr==null?void 0:pr.type)==="mousedown"&&Qt.current){Qt.current=!1;return}(pr==null?void 0:pr.type)==="touchstart"&&(Qt.current=!0);const Nt=Wt?null:Jt.current,dt=Nt?Nt.getBoundingClientRect():{width:0,height:0,left:0,top:0};let nr,et,Tt;if(St||pr===void 0||pr.clientX===0&&pr.clientY===0||!pr.clientX&&!pr.touches)nr=Math.round(dt.width/2),et=Math.round(dt.height/2);else{const{clientX:Rt,clientY:or}=pr.touches&&pr.touches.length>0?pr.touches[0]:pr;nr=Math.round(Rt-dt.left),et=Math.round(or-dt.top)}if(St)Tt=Math.sqrt((2*hc(dt.width,2)+hc(dt.height,2))/3),Tt%2===0&&(Tt+=1);else{const Rt=Math.max(Math.abs((Nt?Nt.clientWidth:0)-nr),nr)*2+2,or=Math.max(Math.abs((Nt?Nt.clientHeight:0)-et),et)*2+2;Tt=Math.sqrt(hc(Rt,2)+hc(or,2))}pr!=null&&pr.touches?Gt.current===null&&(Gt.current=()=>{Lr({pulsate:Zt,rippleX:nr,rippleY:et,rippleSize:Tt,cb:fn})},Vt.current=setTimeout(()=>{Gt.current&&(Gt.current(),Gt.current=null)},j)):Lr({pulsate:Zt,rippleX:nr,rippleY:et,rippleSize:Tt,cb:fn})},[xe,Lr]),Gr=l.useCallback(()=>{Rr({},{pulsate:!0})},[Rr]),zr=l.useCallback((pr,vn)=>{if(clearTimeout(Vt.current),(pr==null?void 0:pr.type)==="touchend"&&Gt.current){Gt.current(),Gt.current=null,Vt.current=setTimeout(()=>{zr(pr,vn)});return}Gt.current=null,Oe(fn=>fn.length>0?fn.slice(1):fn),Ft.current=vn},[]);return l.useImperativeHandle(Ue,()=>({pulsate:Gr,start:Rr,stop:zr}),[Gr,Rr,zr]),(0,I.jsx)(ae,(0,n.Z)({className:(0,u.default)(A.root,q.root,me),ref:Jt},De,{children:(0,I.jsx)(p,{component:null,exit:!0,children:Te})}))}),h=t(85111);function te(Me){return(0,h.Z)("MuiButtonBase",Me)}var we=(0,d.Z)("MuiButtonBase",["root","disabled","focusVisible"]);const Se=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Ne=Me=>{const{disabled:Fe,focusVisible:Ue,focusVisibleClassName:he,classes:xe}=Me,q={root:["root",Fe&&"disabled",Ue&&"focusVisible"]},me=(0,m.Z)(q,te,xe);return Ue&&he&&(me.root+=` ${he}`),me},ze=(0,v.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(Me,Fe)=>Fe.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${we.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}});var qe=l.forwardRef(function(Fe,Ue){const he=(0,M.Z)({props:Fe,name:"MuiButtonBase"}),{action:xe,centerRipple:q=!1,children:me,className:De,component:Te="button",disabled:Oe=!1,disableRipple:st=!1,disableTouchRipple:Ft=!1,focusRipple:Qt=!1,LinkComponent:Vt="a",onBlur:Gt,onClick:Jt,onContextMenu:Lr,onDragLeave:Rr,onFocus:Gr,onFocusVisible:zr,onKeyDown:pr,onKeyUp:vn,onMouseDown:fn,onMouseLeave:Zt,onMouseUp:St,onTouchEnd:Wt,onTouchMove:Nt,onTouchStart:dt,tabIndex:nr=0,TouchRippleProps:et,touchRippleRef:Tt,type:Rt}=he,or=(0,f.Z)(he,Se),ir=l.useRef(null),Qr=l.useRef(null),ft=(0,ee.Z)(Qr,Tt),{isFocusVisibleRef:tr,onFocus:gr,onBlur:ar,ref:rt}=(0,re.Z)(),[kt,At]=l.useState(!1);Oe&&kt&&At(!1),l.useImperativeHandle(xe,()=>({focusVisible:()=>{At(!0),ir.current.focus()}}),[]);const[qt,sr]=l.useState(!1);l.useEffect(()=>{sr(!0)},[]);const Kr=qt&&!st&&!Oe;l.useEffect(()=>{kt&&Qt&&!st&&qt&&Qr.current.pulsate()},[st,Qt,kt,qt]);function kr(mt,br,Pt=Ft){return(0,W.Z)(qr=>(br&&br(qr),!Pt&&Qr.current&&Qr.current[mt](qr),!0))}const nn=kr("start",fn),on=kr("stop",Lr),vr=kr("stop",Rr),Dr=kr("stop",St),_r=kr("stop",mt=>{kt&&mt.preventDefault(),Zt&&Zt(mt)}),Hr=kr("start",dt),Pr=kr("stop",Wt),un=kr("stop",Nt),Zn=kr("stop",mt=>{ar(mt),tr.current===!1&&At(!1),Gt&&Gt(mt)},!1),Jn=(0,W.Z)(mt=>{ir.current||(ir.current=mt.currentTarget),gr(mt),tr.current===!0&&(At(!0),zr&&zr(mt)),Gr&&Gr(mt)}),Dn=()=>{const mt=ir.current;return Te&&Te!=="button"&&!(mt.tagName==="A"&&mt.href)},qn=l.useRef(!1),lr=(0,W.Z)(mt=>{Qt&&!qn.current&&kt&&Qr.current&&mt.key===" "&&(qn.current=!0,Qr.current.stop(mt,()=>{Qr.current.start(mt)})),mt.target===mt.currentTarget&&Dn()&&mt.key===" "&&mt.preventDefault(),pr&&pr(mt),mt.target===mt.currentTarget&&Dn()&&mt.key==="Enter"&&!Oe&&(mt.preventDefault(),Jt&&Jt(mt))}),Yr=(0,W.Z)(mt=>{Qt&&mt.key===" "&&Qr.current&&kt&&!mt.defaultPrevented&&(qn.current=!1,Qr.current.stop(mt,()=>{Qr.current.pulsate(mt)})),vn&&vn(mt),Jt&&mt.target===mt.currentTarget&&Dn()&&mt.key===" "&&!mt.defaultPrevented&&Jt(mt)});let Yn=Te;Yn==="button"&&(or.href||or.to)&&(Yn=Vt);const ti={};Yn==="button"?(ti.type=Rt===void 0?"button":Rt,ti.disabled=Oe):(!or.href&&!or.to&&(ti.role="button"),Oe&&(ti["aria-disabled"]=Oe));const Wi=(0,ee.Z)(Ue,rt,ir),_t=(0,n.Z)({},he,{centerRipple:q,component:Te,disabled:Oe,disableRipple:st,disableTouchRipple:Ft,focusRipple:Qt,tabIndex:nr,focusVisible:kt}),Ct=Ne(_t);return(0,I.jsxs)(ze,(0,n.Z)({as:Yn,className:(0,u.default)(Ct.root,De),ownerState:_t,onBlur:Zn,onClick:Jt,onContextMenu:on,onFocus:Jn,onKeyDown:lr,onKeyUp:Yr,onMouseDown:nn,onMouseLeave:_r,onMouseUp:Dr,onDragLeave:vr,onTouchEnd:Pr,onTouchMove:un,onTouchStart:Hr,ref:Wi,tabIndex:Oe?-1:nr,type:Rt},ti,or,{children:[me,Kr?(0,I.jsx)(pe,(0,n.Z)({ref:ft,center:q},et)):null]}))})},32706:function(_e,$,t){"use strict";var n=t(89526);const f=n.createContext({});$.Z=f},60514:function(_e,$,t){"use strict";t.d($,{Z:function(){return K}});var n=t(63366),f=t(87462),l=t(89526),u=t(23060),m=t(77382),v=t(13957),M=t(72945),ee=t(82500),W=t(87260),re=t(98592),se=t(88623),S=t(67402),J=t(85111);function T(d){return(0,J.Z)("MuiButton",d)}var L=(0,S.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),c=t(32706),R=t(67557);const B=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],X=d=>{const{color:i,disableElevation:x,fullWidth:A,size:w,variant:C,classes:U}=d,F={root:["root",C,`${C}${(0,se.Z)(i)}`,`size${(0,se.Z)(w)}`,`${C}Size${(0,se.Z)(w)}`,i==="inherit"&&"colorInherit",x&&"disableElevation",A&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,se.Z)(w)}`],endIcon:["endIcon",`iconSize${(0,se.Z)(w)}`]},Y=(0,v.Z)(F,T,U);return(0,f.Z)({},U,Y)},g=d=>(0,f.Z)({},d.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},d.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},d.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),p=(0,ee.ZP)(re.Z,{shouldForwardProp:d=>(0,ee.FO)(d)||d==="classes",name:"MuiButton",slot:"Root",overridesResolver:(d,i)=>{const{ownerState:x}=d;return[i.root,i[x.variant],i[`${x.variant}${(0,se.Z)(x.color)}`],i[`size${(0,se.Z)(x.size)}`],i[`${x.variant}Size${(0,se.Z)(x.size)}`],x.color==="inherit"&&i.colorInherit,x.disableElevation&&i.disableElevation,x.fullWidth&&i.fullWidth]}})(({theme:d,ownerState:i})=>{var x,A;return(0,f.Z)({},d.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(d.vars||d).shape.borderRadius,transition:d.transitions.create(["background-color","box-shadow","border-color","color"],{duration:d.transitions.duration.short}),"&:hover":(0,f.Z)({textDecoration:"none",backgroundColor:d.vars?`rgba(${d.vars.palette.text.primaryChannel} / ${d.vars.palette.action.hoverOpacity})`:(0,M.Fq)(d.palette.text.primary,d.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},i.variant==="text"&&i.color!=="inherit"&&{backgroundColor:d.vars?`rgba(${d.vars.palette[i.color].mainChannel} / ${d.vars.palette.action.hoverOpacity})`:(0,M.Fq)(d.palette[i.color].main,d.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},i.variant==="outlined"&&i.color!=="inherit"&&{border:`1px solid ${(d.vars||d).palette[i.color].main}`,backgroundColor:d.vars?`rgba(${d.vars.palette[i.color].mainChannel} / ${d.vars.palette.action.hoverOpacity})`:(0,M.Fq)(d.palette[i.color].main,d.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},i.variant==="contained"&&{backgroundColor:(d.vars||d).palette.grey.A100,boxShadow:(d.vars||d).shadows[4],"@media (hover: none)":{boxShadow:(d.vars||d).shadows[2],backgroundColor:(d.vars||d).palette.grey[300]}},i.variant==="contained"&&i.color!=="inherit"&&{backgroundColor:(d.vars||d).palette[i.color].dark,"@media (hover: none)":{backgroundColor:(d.vars||d).palette[i.color].main}}),"&:active":(0,f.Z)({},i.variant==="contained"&&{boxShadow:(d.vars||d).shadows[8]}),[`&.${L.focusVisible}`]:(0,f.Z)({},i.variant==="contained"&&{boxShadow:(d.vars||d).shadows[6]}),[`&.${L.disabled}`]:(0,f.Z)({color:(d.vars||d).palette.action.disabled},i.variant==="outlined"&&{border:`1px solid ${(d.vars||d).palette.action.disabledBackground}`},i.variant==="contained"&&{color:(d.vars||d).palette.action.disabled,boxShadow:(d.vars||d).shadows[0],backgroundColor:(d.vars||d).palette.action.disabledBackground})},i.variant==="text"&&{padding:"6px 8px"},i.variant==="text"&&i.color!=="inherit"&&{color:(d.vars||d).palette[i.color].main},i.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},i.variant==="outlined"&&i.color!=="inherit"&&{color:(d.vars||d).palette[i.color].main,border:d.vars?`1px solid rgba(${d.vars.palette[i.color].mainChannel} / 0.5)`:`1px solid ${(0,M.Fq)(d.palette[i.color].main,.5)}`},i.variant==="contained"&&{color:d.vars?d.vars.palette.text.primary:(x=(A=d.palette).getContrastText)==null?void 0:x.call(A,d.palette.grey[300]),backgroundColor:(d.vars||d).palette.grey[300],boxShadow:(d.vars||d).shadows[2]},i.variant==="contained"&&i.color!=="inherit"&&{color:(d.vars||d).palette[i.color].contrastText,backgroundColor:(d.vars||d).palette[i.color].main},i.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},i.size==="small"&&i.variant==="text"&&{padding:"4px 5px",fontSize:d.typography.pxToRem(13)},i.size==="large"&&i.variant==="text"&&{padding:"8px 11px",fontSize:d.typography.pxToRem(15)},i.size==="small"&&i.variant==="outlined"&&{padding:"3px 9px",fontSize:d.typography.pxToRem(13)},i.size==="large"&&i.variant==="outlined"&&{padding:"7px 21px",fontSize:d.typography.pxToRem(15)},i.size==="small"&&i.variant==="contained"&&{padding:"4px 10px",fontSize:d.typography.pxToRem(13)},i.size==="large"&&i.variant==="contained"&&{padding:"8px 22px",fontSize:d.typography.pxToRem(15)},i.fullWidth&&{width:"100%"})},({ownerState:d})=>d.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${L.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${L.disabled}`]:{boxShadow:"none"}}),O=(0,ee.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(d,i)=>{const{ownerState:x}=d;return[i.startIcon,i[`iconSize${(0,se.Z)(x.size)}`]]}})(({ownerState:d})=>(0,f.Z)({display:"inherit",marginRight:8,marginLeft:-4},d.size==="small"&&{marginLeft:-2},g(d))),I=(0,ee.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(d,i)=>{const{ownerState:x}=d;return[i.endIcon,i[`iconSize${(0,se.Z)(x.size)}`]]}})(({ownerState:d})=>(0,f.Z)({display:"inherit",marginRight:-4,marginLeft:8},d.size==="small"&&{marginRight:-2},g(d)));var K=l.forwardRef(function(i,x){const A=l.useContext(c.Z),w=(0,m.Z)(A,i),C=(0,W.Z)({props:w,name:"MuiButton"}),{children:U,color:F="primary",component:Y="button",className:le,disabled:ie=!1,disableElevation:j=!1,disableFocusRipple:ue=!1,endIcon:P,focusVisibleClassName:Z,fullWidth:ae=!1,size:ce="medium",startIcon:be,type:pe,variant:h="text"}=C,te=(0,n.Z)(C,B),Q=(0,f.Z)({},C,{color:F,component:Y,disabled:ie,disableElevation:j,disableFocusRipple:ue,fullWidth:ae,size:ce,type:pe,variant:h}),we=X(Q),Se=be&&(0,R.jsx)(O,{className:we.startIcon,ownerState:Q,children:be}),Ne=P&&(0,R.jsx)(I,{className:we.endIcon,ownerState:Q,children:P});return(0,R.jsxs)(p,(0,f.Z)({ownerState:Q,className:(0,u.default)(A.className,we.root,le),component:Y,disabled:ie,focusRipple:!ue,focusVisibleClassName:(0,u.default)(we.focusVisible,Z),ref:x,type:pe},te,{classes:we,children:[Se,U,Ne]}))})},12370:function(_e,$,t){"use strict";t.d($,{Z:function(){return i}});var n=t(63366),f=t(87462),l=t(89526),u=t(23060),m=t(13957),v=t(72945),M=t(42242),ee=t(85233),W=t(67557),re=(0,ee.Z)((0,W.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),se=(0,ee.Z)((0,W.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),S=(0,ee.Z)((0,W.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox"),J=t(88623),T=t(87260),V=t(82500),L=t(67402),c=t(85111);function R(x){return(0,c.Z)("MuiCheckbox",x)}var X=(0,L.Z)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]);const g=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],p=x=>{const{classes:A,indeterminate:w,color:C}=x,U={root:["root",w&&"indeterminate",`color${(0,J.Z)(C)}`]},F=(0,m.Z)(U,R,A);return(0,f.Z)({},A,F)},O=(0,V.ZP)(M.Z,{shouldForwardProp:x=>(0,V.FO)(x)||x==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(x,A)=>{const{ownerState:w}=x;return[A.root,w.indeterminate&&A.indeterminate,w.color!=="default"&&A[`color${(0,J.Z)(w.color)}`]]}})(({theme:x,ownerState:A})=>(0,f.Z)({color:(x.vars||x).palette.text.secondary},!A.disableRipple&&{"&:hover":{backgroundColor:x.vars?`rgba(${A.color==="default"?x.vars.palette.action.activeChannel:x.vars.palette.primary.mainChannel} / ${x.vars.palette.action.hoverOpacity})`:(0,v.Fq)(A.color==="default"?x.palette.action.active:x.palette[A.color].main,x.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},A.color!=="default"&&{[`&.${X.checked}, &.${X.indeterminate}`]:{color:(x.vars||x).palette[A.color].main},[`&.${X.disabled}`]:{color:(x.vars||x).palette.action.disabled}})),I=(0,W.jsx)(se,{}),E=(0,W.jsx)(re,{}),K=(0,W.jsx)(S,{});var i=l.forwardRef(function(A,w){var C,U;const F=(0,T.Z)({props:A,name:"MuiCheckbox"}),{checkedIcon:Y=I,color:le="primary",icon:ie=E,indeterminate:j=!1,indeterminateIcon:ue=K,inputProps:P,size:Z="medium",className:ae}=F,ce=(0,n.Z)(F,g),be=j?ue:ie,pe=j?ue:Y,h=(0,f.Z)({},F,{color:le,indeterminate:j,size:Z}),te=p(h);return(0,W.jsx)(O,(0,f.Z)({type:"checkbox",inputProps:(0,f.Z)({"data-indeterminate":j},P),icon:l.cloneElement(be,{fontSize:(C=be.props.fontSize)!=null?C:Z}),checkedIcon:l.cloneElement(pe,{fontSize:(U=pe.props.fontSize)!=null?U:Z}),ownerState:h,ref:w,className:(0,u.default)(te.root,ae)},ce,{classes:te}))})},75e3:function(_e,$,t){"use strict";t.d($,{Z:function(){return K}});var n=t(63366),f=t(87462),l=t(89526),u=t(23060),m=t(13957),v=t(72945),M=t(85233),ee=t(67557),W=(0,M.Z)((0,ee.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel"),re=t(89428),se=t(88623),S=t(98592),J=t(87260),T=t(82500),V=t(67402),L=t(85111);function c(d){return(0,L.Z)("MuiChip",d)}var B=(0,V.Z)("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]);const X=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],g=d=>{const{classes:i,disabled:x,size:A,color:w,iconColor:C,onDelete:U,clickable:F,variant:Y}=d,le={root:["root",Y,x&&"disabled",`size${(0,se.Z)(A)}`,`color${(0,se.Z)(w)}`,F&&"clickable",F&&`clickableColor${(0,se.Z)(w)}`,U&&"deletable",U&&`deletableColor${(0,se.Z)(w)}`,`${Y}${(0,se.Z)(w)}`],label:["label",`label${(0,se.Z)(A)}`],avatar:["avatar",`avatar${(0,se.Z)(A)}`,`avatarColor${(0,se.Z)(w)}`],icon:["icon",`icon${(0,se.Z)(A)}`,`iconColor${(0,se.Z)(C)}`],deleteIcon:["deleteIcon",`deleteIcon${(0,se.Z)(A)}`,`deleteIconColor${(0,se.Z)(w)}`,`deleteIcon${(0,se.Z)(Y)}Color${(0,se.Z)(w)}`]};return(0,m.Z)(le,c,i)},p=(0,T.ZP)("div",{name:"MuiChip",slot:"Root",overridesResolver:(d,i)=>{const{ownerState:x}=d,{color:A,iconColor:w,clickable:C,onDelete:U,size:F,variant:Y}=x;return[{[`& .${B.avatar}`]:i.avatar},{[`& .${B.avatar}`]:i[`avatar${(0,se.Z)(F)}`]},{[`& .${B.avatar}`]:i[`avatarColor${(0,se.Z)(A)}`]},{[`& .${B.icon}`]:i.icon},{[`& .${B.icon}`]:i[`icon${(0,se.Z)(F)}`]},{[`& .${B.icon}`]:i[`iconColor${(0,se.Z)(w)}`]},{[`& .${B.deleteIcon}`]:i.deleteIcon},{[`& .${B.deleteIcon}`]:i[`deleteIcon${(0,se.Z)(F)}`]},{[`& .${B.deleteIcon}`]:i[`deleteIconColor${(0,se.Z)(A)}`]},{[`& .${B.deleteIcon}`]:i[`deleteIcon${(0,se.Z)(Y)}Color${(0,se.Z)(A)}`]},i.root,i[`size${(0,se.Z)(F)}`],i[`color${(0,se.Z)(A)}`],C&&i.clickable,C&&A!=="default"&&i[`clickableColor${(0,se.Z)(A)})`],U&&i.deletable,U&&A!=="default"&&i[`deletableColor${(0,se.Z)(A)}`],i[Y],i[`${Y}${(0,se.Z)(A)}`]]}})(({theme:d,ownerState:i})=>{const x=(0,v.Fq)(d.palette.text.primary,.26),A=d.palette.mode==="light"?d.palette.grey[700]:d.palette.grey[300];return(0,f.Z)({maxWidth:"100%",fontFamily:d.typography.fontFamily,fontSize:d.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(d.vars||d).palette.text.primary,backgroundColor:(d.vars||d).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:d.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${B.disabled}`]:{opacity:(d.vars||d).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${B.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:d.vars?d.vars.palette.Chip.defaultAvatarColor:A,fontSize:d.typography.pxToRem(12)},[`& .${B.avatarColorPrimary}`]:{color:(d.vars||d).palette.primary.contrastText,backgroundColor:(d.vars||d).palette.primary.dark},[`& .${B.avatarColorSecondary}`]:{color:(d.vars||d).palette.secondary.contrastText,backgroundColor:(d.vars||d).palette.secondary.dark},[`& .${B.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:d.typography.pxToRem(10)},[`& .${B.icon}`]:(0,f.Z)({marginLeft:5,marginRight:-6},i.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},i.iconColor===i.color&&(0,f.Z)({color:d.vars?d.vars.palette.Chip.defaultIconColor:A},i.color!=="default"&&{color:"inherit"})),[`& .${B.deleteIcon}`]:(0,f.Z)({WebkitTapHighlightColor:"transparent",color:d.vars?`rgba(${d.vars.palette.text.primaryChannel} / 0.26)`:x,fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:d.vars?`rgba(${d.vars.palette.text.primaryChannel} / 0.4)`:(0,v.Fq)(x,.4)}},i.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},i.color!=="default"&&{color:d.vars?`rgba(${d.vars.palette[i.color].contrastTextChannel} / 0.7)`:(0,v.Fq)(d.palette[i.color].contrastText,.7),"&:hover, &:active":{color:(d.vars||d).palette[i.color].contrastText}})},i.size==="small"&&{height:24},i.color!=="default"&&{backgroundColor:(d.vars||d).palette[i.color].main,color:(d.vars||d).palette[i.color].contrastText},i.onDelete&&{[`&.${B.focusVisible}`]:{backgroundColor:d.vars?`rgba(${d.vars.palette.action.selectedChannel} / calc(${d.vars.palette.action.selectedOpacity} + ${d.vars.palette.action.focusOpacity}))`:(0,v.Fq)(d.palette.action.selected,d.palette.action.selectedOpacity+d.palette.action.focusOpacity)}},i.onDelete&&i.color!=="default"&&{[`&.${B.focusVisible}`]:{backgroundColor:(d.vars||d).palette[i.color].dark}})},({theme:d,ownerState:i})=>(0,f.Z)({},i.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:d.vars?`rgba(${d.vars.palette.action.selectedChannel} / calc(${d.vars.palette.action.selectedOpacity} + ${d.vars.palette.action.hoverOpacity}))`:(0,v.Fq)(d.palette.action.selected,d.palette.action.selectedOpacity+d.palette.action.hoverOpacity)},[`&.${B.focusVisible}`]:{backgroundColor:d.vars?`rgba(${d.vars.palette.action.selectedChannel} / calc(${d.vars.palette.action.selectedOpacity} + ${d.vars.palette.action.focusOpacity}))`:(0,v.Fq)(d.palette.action.selected,d.palette.action.selectedOpacity+d.palette.action.focusOpacity)},"&:active":{boxShadow:(d.vars||d).shadows[1]}},i.clickable&&i.color!=="default"&&{[`&:hover, &.${B.focusVisible}`]:{backgroundColor:(d.vars||d).palette[i.color].dark}}),({theme:d,ownerState:i})=>(0,f.Z)({},i.variant==="outlined"&&{backgroundColor:"transparent",border:d.vars?`1px solid ${d.vars.palette.Chip.defaultBorder}`:`1px solid ${d.palette.mode==="light"?d.palette.grey[400]:d.palette.grey[700]}`,[`&.${B.clickable}:hover`]:{backgroundColor:(d.vars||d).palette.action.hover},[`&.${B.focusVisible}`]:{backgroundColor:(d.vars||d).palette.action.focus},[`& .${B.avatar}`]:{marginLeft:4},[`& .${B.avatarSmall}`]:{marginLeft:2},[`& .${B.icon}`]:{marginLeft:4},[`& .${B.iconSmall}`]:{marginLeft:2},[`& .${B.deleteIcon}`]:{marginRight:5},[`& .${B.deleteIconSmall}`]:{marginRight:3}},i.variant==="outlined"&&i.color!=="default"&&{color:(d.vars||d).palette[i.color].main,border:`1px solid ${d.vars?`rgba(${d.vars.palette[i.color].mainChannel} / 0.7)`:(0,v.Fq)(d.palette[i.color].main,.7)}`,[`&.${B.clickable}:hover`]:{backgroundColor:d.vars?`rgba(${d.vars.palette[i.color].mainChannel} / ${d.vars.palette.action.hoverOpacity})`:(0,v.Fq)(d.palette[i.color].main,d.palette.action.hoverOpacity)},[`&.${B.focusVisible}`]:{backgroundColor:d.vars?`rgba(${d.vars.palette[i.color].mainChannel} / ${d.vars.palette.action.focusOpacity})`:(0,v.Fq)(d.palette[i.color].main,d.palette.action.focusOpacity)},[`& .${B.deleteIcon}`]:{color:d.vars?`rgba(${d.vars.palette[i.color].mainChannel} / 0.7)`:(0,v.Fq)(d.palette[i.color].main,.7),"&:hover, &:active":{color:(d.vars||d).palette[i.color].main}}})),O=(0,T.ZP)("span",{name:"MuiChip",slot:"Label",overridesResolver:(d,i)=>{const{ownerState:x}=d,{size:A}=x;return[i.label,i[`label${(0,se.Z)(A)}`]]}})(({ownerState:d})=>(0,f.Z)({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},d.size==="small"&&{paddingLeft:8,paddingRight:8}));function I(d){return d.key==="Backspace"||d.key==="Delete"}var K=l.forwardRef(function(i,x){const A=(0,J.Z)({props:i,name:"MuiChip"}),{avatar:w,className:C,clickable:U,color:F="default",component:Y,deleteIcon:le,disabled:ie=!1,icon:j,label:ue,onClick:P,onDelete:Z,onKeyDown:ae,onKeyUp:ce,size:be="medium",variant:pe="filled",tabIndex:h,skipFocusWhenDisabled:te=!1}=A,Q=(0,n.Z)(A,X),we=l.useRef(null),Se=(0,re.Z)(we,x),Ne=De=>{De.stopPropagation(),Z&&Z(De)},ze=De=>{De.currentTarget===De.target&&I(De)&&De.preventDefault(),ae&&ae(De)},Je=De=>{De.currentTarget===De.target&&(Z&&I(De)?Z(De):De.key==="Escape"&&we.current&&we.current.blur()),ce&&ce(De)},qe=U!==!1&&P?!0:U,Me=qe||Z?S.Z:Y||"div",Fe=(0,f.Z)({},A,{component:Me,disabled:ie,size:be,color:F,iconColor:l.isValidElement(j)&&j.props.color||F,onDelete:!!Z,clickable:qe,variant:pe}),Ue=g(Fe),he=Me===S.Z?(0,f.Z)({component:Y||"div",focusVisibleClassName:Ue.focusVisible},Z&&{disableRipple:!0}):{};let xe=null;Z&&(xe=le&&l.isValidElement(le)?l.cloneElement(le,{className:(0,u.default)(le.props.className,Ue.deleteIcon),onClick:Ne}):(0,ee.jsx)(W,{className:(0,u.default)(Ue.deleteIcon),onClick:Ne}));let q=null;w&&l.isValidElement(w)&&(q=l.cloneElement(w,{className:(0,u.default)(Ue.avatar,w.props.className)}));let me=null;return j&&l.isValidElement(j)&&(me=l.cloneElement(j,{className:(0,u.default)(Ue.icon,j.props.className)})),(0,ee.jsxs)(p,(0,f.Z)({as:Me,className:(0,u.default)(Ue.root,C),disabled:qe&&ie?!0:void 0,onClick:P,onKeyDown:ze,onKeyUp:Je,ref:Se,tabIndex:te&&ie?-1:h,ownerState:Fe},he,Q,{children:[q||me,(0,ee.jsx)(O,{className:(0,u.default)(Ue.label),ownerState:Fe,children:ue}),xe]}))})},13120:function(_e,$,t){"use strict";t.d($,{Z:function(){return A}});var n=t(63366),f=t(87462),l=t(89526),u=t(23060),m=t(13957),v=t(21127),M=t(88623),ee=t(87260),W=t(82500),re=t(67402),se=t(85111);function S(w){return(0,se.Z)("MuiCircularProgress",w)}const J=(0,re.Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var T=null,V=t(67557);const L=["className","color","disableShrink","size","style","thickness","value","variant"];let c=w=>w,R,B,X,g;const p=44,O=(0,v.F4)(R||(R=c`
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
`)),I=(0,v.F4)(B||(B=c`
  0% {
    stroke-dasharray: 1px, 200px;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 100px, 200px;
    stroke-dashoffset: -15px;
  }

  100% {
    stroke-dasharray: 100px, 200px;
    stroke-dashoffset: -125px;
  }
`)),E=w=>{const{classes:C,variant:U,color:F,disableShrink:Y}=w,le={root:["root",U,`color${(0,M.Z)(F)}`],svg:["svg"],circle:["circle",`circle${(0,M.Z)(U)}`,Y&&"circleDisableShrink"]};return(0,m.Z)(le,S,C)},K=(0,W.ZP)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(w,C)=>{const{ownerState:U}=w;return[C.root,C[U.variant],C[`color${(0,M.Z)(U.color)}`]]}})(({ownerState:w,theme:C})=>(0,f.Z)({display:"inline-block"},w.variant==="determinate"&&{transition:C.transitions.create("transform")},w.color!=="inherit"&&{color:(C.vars||C).palette[w.color].main}),({ownerState:w})=>w.variant==="indeterminate"&&(0,v.iv)(X||(X=c`
      animation: ${0} 1.4s linear infinite;
    `),O)),d=(0,W.ZP)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(w,C)=>C.svg})({display:"block"}),i=(0,W.ZP)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(w,C)=>{const{ownerState:U}=w;return[C.circle,C[`circle${(0,M.Z)(U.variant)}`],U.disableShrink&&C.circleDisableShrink]}})(({ownerState:w,theme:C})=>(0,f.Z)({stroke:"currentColor"},w.variant==="determinate"&&{transition:C.transitions.create("stroke-dashoffset")},w.variant==="indeterminate"&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:w})=>w.variant==="indeterminate"&&!w.disableShrink&&(0,v.iv)(g||(g=c`
      animation: ${0} 1.4s ease-in-out infinite;
    `),I));var A=l.forwardRef(function(C,U){const F=(0,ee.Z)({props:C,name:"MuiCircularProgress"}),{className:Y,color:le="primary",disableShrink:ie=!1,size:j=40,style:ue,thickness:P=3.6,value:Z=0,variant:ae="indeterminate"}=F,ce=(0,n.Z)(F,L),be=(0,f.Z)({},F,{color:le,disableShrink:ie,size:j,thickness:P,value:Z,variant:ae}),pe=E(be),h={},te={},Q={};if(ae==="determinate"){const we=2*Math.PI*((p-P)/2);h.strokeDasharray=we.toFixed(3),Q["aria-valuenow"]=Math.round(Z),h.strokeDashoffset=`${((100-Z)/100*we).toFixed(3)}px`,te.transform="rotate(-90deg)"}return(0,V.jsx)(K,(0,f.Z)({className:(0,u.default)(pe.root,Y),style:(0,f.Z)({width:j,height:j},te,ue),ownerState:be,ref:U,role:"progressbar"},Q,ce,{children:(0,V.jsx)(d,{className:pe.svg,ownerState:be,viewBox:`${p/2} ${p/2} ${p} ${p}`,children:(0,V.jsx)(i,{className:pe.circle,style:h,ownerState:be,cx:p,cy:p,r:(p-P)/2,fill:"none",strokeWidth:P})})}))})},98463:function(_e,$,t){"use strict";t.d($,{Z:function(){return R}});var n=t(63366),f=t(87462),l=t(89526),u=t(23060),m=t(13957),v=t(82500),M=t(87260),ee=t(67402),W=t(85111);function re(B){return(0,W.Z)("MuiDialogActions",B)}const se=(0,ee.Z)("MuiDialogActions",["root","spacing"]);var S=null,J=t(67557);const T=["className","disableSpacing"],V=B=>{const{classes:X,disableSpacing:g}=B,p={root:["root",!g&&"spacing"]};return(0,m.Z)(p,re,X)},L=(0,v.ZP)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(B,X)=>{const{ownerState:g}=B;return[X.root,!g.disableSpacing&&X.spacing]}})(({ownerState:B})=>(0,f.Z)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!B.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}}));var R=l.forwardRef(function(X,g){const p=(0,M.Z)({props:X,name:"MuiDialogActions"}),{className:O,disableSpacing:I=!1}=p,E=(0,n.Z)(p,T),K=(0,f.Z)({},p,{disableSpacing:I}),d=V(K);return(0,J.jsx)(L,(0,f.Z)({className:(0,u.default)(d.root,O),ownerState:K,ref:g},E))})},53965:function(_e,$,t){"use strict";t.d($,{Z:function(){return B}});var n=t(63366),f=t(87462),l=t(89526),u=t(23060),m=t(13957),v=t(82500),M=t(87260),ee=t(19855),W=t(67402),re=t(85111);function se(X){return(0,re.Z)("MuiDialogContentText",X)}const S=(0,W.Z)("MuiDialogContentText",["root"]);var J=null,T=t(67557);const V=["children","className"],L=X=>{const{classes:g}=X,p={root:["root"]},O=(0,m.Z)(p,se,g);return(0,f.Z)({},g,O)},c=(0,v.ZP)(ee.Z,{shouldForwardProp:X=>(0,v.FO)(X)||X==="classes",name:"MuiDialogContentText",slot:"Root",overridesResolver:(X,g)=>g.root})({});var B=l.forwardRef(function(g,p){const O=(0,M.Z)({props:g,name:"MuiDialogContentText"}),{className:I}=O,E=(0,n.Z)(O,V),K=L(E);return(0,T.jsx)(c,(0,f.Z)({component:"p",variant:"body1",color:"text.secondary",ref:p,ownerState:E,className:(0,u.default)(K.root,I)},O,{classes:K}))})},38894:function(_e,$,t){"use strict";t.d($,{Z:function(){return B}});var n=t(63366),f=t(87462),l=t(89526),u=t(23060),m=t(13957),v=t(82500),M=t(87260),ee=t(67402),W=t(85111);function re(X){return(0,W.Z)("MuiDialogContent",X)}const se=(0,ee.Z)("MuiDialogContent",["root","dividers"]);var S=null,J=t(8528),T=t(67557);const V=["className","dividers"],L=X=>{const{classes:g,dividers:p}=X,O={root:["root",p&&"dividers"]};return(0,m.Z)(O,re,g)},c=(0,v.ZP)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(X,g)=>{const{ownerState:p}=X;return[g.root,p.dividers&&g.dividers]}})(({theme:X,ownerState:g})=>(0,f.Z)({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},g.dividers?{padding:"16px 24px",borderTop:`1px solid ${(X.vars||X).palette.divider}`,borderBottom:`1px solid ${(X.vars||X).palette.divider}`}:{[`.${J.Z.root} + &`]:{paddingTop:0}}));var B=l.forwardRef(function(g,p){const O=(0,M.Z)({props:g,name:"MuiDialogContent"}),{className:I,dividers:E=!1}=O,K=(0,n.Z)(O,V),d=(0,f.Z)({},O,{dividers:E}),i=L(d);return(0,T.jsx)(c,(0,f.Z)({className:(0,u.default)(i.root,I),ownerState:d,ref:p},K))})},29480:function(_e,$,t){"use strict";var n=t(87462),f=t(63366),l=t(89526),u=t(23060),m=t(13957),v=t(19855),M=t(82500),ee=t(87260),W=t(8528),re=t(31399),se=t(67557);const S=["className","id"],J=L=>{const{classes:c}=L,R={root:["root"]};return(0,m.Z)(R,W.a,c)},T=(0,M.ZP)(v.Z,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(L,c)=>c.root})({padding:"16px 24px",flex:"0 0 auto"}),V=l.forwardRef(function(c,R){const B=(0,ee.Z)({props:c,name:"MuiDialogTitle"}),{className:X,id:g}=B,p=(0,f.Z)(B,S),O=B,I=J(O),{titleId:E=g}=l.useContext(re.Z);return(0,se.jsx)(T,(0,n.Z)({component:"h2",className:(0,u.default)(I.root,X),ownerState:O,ref:R,variant:"h6",id:E},p))});$.Z=V},8528:function(_e,$,t){"use strict";t.d($,{a:function(){return l}});var n=t(67402),f=t(85111);function l(m){return(0,f.Z)("MuiDialogTitle",m)}const u=(0,n.Z)("MuiDialogTitle",["root"]);$.Z=u},25:function(_e,$,t){"use strict";t.d($,{Z:function(){return x}});var n=t(63366),f=t(87462),l=t(89526),u=t(23060),m=t(13957),v=t(53068),M=t(88623),ee=t(64765),W=t(92339),re=t(77290),se=t(87260),S=t(82500),J=t(67402),T=t(85111);function V(A){return(0,T.Z)("MuiDialog",A)}var c=(0,J.Z)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),R=t(31399),B=t(63049),X=t(18051),g=t(67557);const p=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],O=(0,S.ZP)(B.Z,{name:"MuiDialog",slot:"Backdrop",overrides:(A,w)=>w.backdrop})({zIndex:-1}),I=A=>{const{classes:w,scroll:C,maxWidth:U,fullWidth:F,fullScreen:Y}=A,le={root:["root"],container:["container",`scroll${(0,M.Z)(C)}`],paper:["paper",`paperScroll${(0,M.Z)(C)}`,`paperWidth${(0,M.Z)(String(U))}`,F&&"paperFullWidth",Y&&"paperFullScreen"]};return(0,m.Z)(le,V,w)},E=(0,S.ZP)(ee.Z,{name:"MuiDialog",slot:"Root",overridesResolver:(A,w)=>w.root})({"@media print":{position:"absolute !important"}}),K=(0,S.ZP)("div",{name:"MuiDialog",slot:"Container",overridesResolver:(A,w)=>{const{ownerState:C}=A;return[w.container,w[`scroll${(0,M.Z)(C.scroll)}`]]}})(({ownerState:A})=>(0,f.Z)({height:"100%","@media print":{height:"auto"},outline:0},A.scroll==="paper"&&{display:"flex",justifyContent:"center",alignItems:"center"},A.scroll==="body"&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),d=(0,S.ZP)(re.Z,{name:"MuiDialog",slot:"Paper",overridesResolver:(A,w)=>{const{ownerState:C}=A;return[w.paper,w[`scrollPaper${(0,M.Z)(C.scroll)}`],w[`paperWidth${(0,M.Z)(String(C.maxWidth))}`],C.fullWidth&&w.paperFullWidth,C.fullScreen&&w.paperFullScreen]}})(({theme:A,ownerState:w})=>(0,f.Z)({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},w.scroll==="paper"&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},w.scroll==="body"&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!w.maxWidth&&{maxWidth:"calc(100% - 64px)"},w.maxWidth==="xs"&&{maxWidth:A.breakpoints.unit==="px"?Math.max(A.breakpoints.values.xs,444):`${A.breakpoints.values.xs}${A.breakpoints.unit}`,[`&.${c.paperScrollBody}`]:{[A.breakpoints.down(Math.max(A.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}},w.maxWidth&&w.maxWidth!=="xs"&&{maxWidth:`${A.breakpoints.values[w.maxWidth]}${A.breakpoints.unit}`,[`&.${c.paperScrollBody}`]:{[A.breakpoints.down(A.breakpoints.values[w.maxWidth]+32*2)]:{maxWidth:"calc(100% - 64px)"}}},w.fullWidth&&{width:"calc(100% - 64px)"},w.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${c.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}));var x=l.forwardRef(function(w,C){const U=(0,se.Z)({props:w,name:"MuiDialog"}),F=(0,X.Z)(),Y={enter:F.transitions.duration.enteringScreen,exit:F.transitions.duration.leavingScreen},{"aria-describedby":le,"aria-labelledby":ie,BackdropComponent:j,BackdropProps:ue,children:P,className:Z,disableEscapeKeyDown:ae=!1,fullScreen:ce=!1,fullWidth:be=!1,maxWidth:pe="sm",onBackdropClick:h,onClose:te,open:Q,PaperComponent:we=re.Z,PaperProps:Se={},scroll:Ne="paper",TransitionComponent:ze=W.Z,transitionDuration:Je=Y,TransitionProps:qe}=U,Me=(0,n.Z)(U,p),Fe=(0,f.Z)({},U,{disableEscapeKeyDown:ae,fullScreen:ce,fullWidth:be,maxWidth:pe,scroll:Ne}),Ue=I(Fe),he=l.useRef(),xe=Te=>{he.current=Te.target===Te.currentTarget},q=Te=>{he.current&&(he.current=null,h&&h(Te),te&&te(Te,"backdropClick"))},me=(0,v.Z)(ie),De=l.useMemo(()=>({titleId:me}),[me]);return(0,g.jsx)(E,(0,f.Z)({className:(0,u.default)(Ue.root,Z),closeAfterTransition:!0,components:{Backdrop:O},componentsProps:{backdrop:(0,f.Z)({transitionDuration:Je,as:j},ue)},disableEscapeKeyDown:ae,onClose:te,open:Q,ref:C,onClick:q,ownerState:Fe},Me,{children:(0,g.jsx)(ze,(0,f.Z)({appear:!0,in:Q,timeout:Je,role:"presentation"},qe,{children:(0,g.jsx)(K,{className:(0,u.default)(Ue.container),onMouseDown:xe,ownerState:Fe,children:(0,g.jsx)(d,(0,f.Z)({as:we,elevation:24,role:"dialog","aria-describedby":le,"aria-labelledby":me},Se,{className:(0,u.default)(Ue.paper,Se.className),ownerState:Fe,children:(0,g.jsx)(R.Z.Provider,{value:De,children:P})}))})}))}))})},31399:function(_e,$,t){"use strict";var n=t(89526);const f=(0,n.createContext)({});$.Z=f},13272:function(_e,$,t){"use strict";t.d($,{V:function(){return l}});var n=t(67402),f=t(85111);function l(m){return(0,f.Z)("MuiDivider",m)}const u=(0,n.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);$.Z=u},92339:function(_e,$,t){"use strict";var n=t(87462),f=t(63366),l=t(89526),u=t(67958),m=t(18051),v=t(45942),M=t(89428),ee=t(67557);const W=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],re={entering:{opacity:1},entered:{opacity:1}},se=l.forwardRef(function(J,T){const V=(0,m.Z)(),L={enter:V.transitions.duration.enteringScreen,exit:V.transitions.duration.leavingScreen},{addEndListener:c,appear:R=!0,children:B,easing:X,in:g,onEnter:p,onEntered:O,onEntering:I,onExit:E,onExited:K,onExiting:d,style:i,timeout:x=L,TransitionComponent:A=u.ZP}=J,w=(0,f.Z)(J,W),C=!0,U=l.useRef(null),F=(0,M.Z)(U,B.ref,T),Y=ce=>be=>{if(ce){const pe=U.current;be===void 0?ce(pe):ce(pe,be)}},le=Y(I),ie=Y((ce,be)=>{(0,v.n)(ce);const pe=(0,v.C)({style:i,timeout:x,easing:X},{mode:"enter"});ce.style.webkitTransition=V.transitions.create("opacity",pe),ce.style.transition=V.transitions.create("opacity",pe),p&&p(ce,be)}),j=Y(O),ue=Y(d),P=Y(ce=>{const be=(0,v.C)({style:i,timeout:x,easing:X},{mode:"exit"});ce.style.webkitTransition=V.transitions.create("opacity",be),ce.style.transition=V.transitions.create("opacity",be),E&&E(ce)}),Z=Y(K),ae=ce=>{c&&c(U.current,ce)};return(0,ee.jsx)(A,(0,n.Z)({appear:R,in:g,nodeRef:C?U:void 0,onEnter:ie,onEntered:j,onEntering:le,onExit:P,onExited:Z,onExiting:ue,addEndListener:ae,timeout:x},w,{children:(ce,be)=>l.cloneElement(B,(0,n.Z)({style:(0,n.Z)({opacity:0,visibility:ce==="exited"&&!g?"hidden":void 0},re[ce],i,B.props.style),ref:F},be))}))});$.Z=se},49789:function(_e,$,t){"use strict";var n=t(63366),f=t(87462),l=t(89526),u=t(83643),m=t(13957),v=t(36074),M=t(82500),ee=t(87260),W=t(42906),re=t(67557);const se=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],S=L=>{const{classes:c,disableUnderline:R}=L,B={root:["root",!R&&"underline"],input:["input"]},X=(0,m.Z)(B,W._,c);return(0,f.Z)({},c,X)},J=(0,M.ZP)(v.Ej,{shouldForwardProp:L=>(0,M.FO)(L)||L==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(L,c)=>{const{ownerState:R}=L;return[...(0,v.Gx)(L,c),!R.disableUnderline&&c.underline]}})(({theme:L,ownerState:c})=>{var R;const B=L.palette.mode==="light",X=B?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",g=B?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",p=B?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",O=B?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return(0,f.Z)({position:"relative",backgroundColor:L.vars?L.vars.palette.FilledInput.bg:g,borderTopLeftRadius:(L.vars||L).shape.borderRadius,borderTopRightRadius:(L.vars||L).shape.borderRadius,transition:L.transitions.create("background-color",{duration:L.transitions.duration.shorter,easing:L.transitions.easing.easeOut}),"&:hover":{backgroundColor:L.vars?L.vars.palette.FilledInput.hoverBg:p,"@media (hover: none)":{backgroundColor:L.vars?L.vars.palette.FilledInput.bg:g}},[`&.${W.Z.focused}`]:{backgroundColor:L.vars?L.vars.palette.FilledInput.bg:g},[`&.${W.Z.disabled}`]:{backgroundColor:L.vars?L.vars.palette.FilledInput.disabledBg:O}},!c.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(R=(L.vars||L).palette[c.color||"primary"])==null?void 0:R.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:L.transitions.create("transform",{duration:L.transitions.duration.shorter,easing:L.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${W.Z.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${W.Z.error}`]:{"&:before, &:after":{borderBottomColor:(L.vars||L).palette.error.main}},"&:before":{borderBottom:`1px solid ${L.vars?`rgba(${L.vars.palette.common.onBackgroundChannel} / ${L.vars.opacity.inputUnderline})`:X}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:L.transitions.create("border-bottom-color",{duration:L.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${W.Z.disabled}, .${W.Z.error}):before`]:{borderBottom:`1px solid ${(L.vars||L).palette.text.primary}`},[`&.${W.Z.disabled}:before`]:{borderBottomStyle:"dotted"}},c.startAdornment&&{paddingLeft:12},c.endAdornment&&{paddingRight:12},c.multiline&&(0,f.Z)({padding:"25px 12px 8px"},c.size==="small"&&{paddingTop:21,paddingBottom:4},c.hiddenLabel&&{paddingTop:16,paddingBottom:17}))}),T=(0,M.ZP)(v.rA,{name:"MuiFilledInput",slot:"Input",overridesResolver:v._o})(({theme:L,ownerState:c})=>(0,f.Z)({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!L.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:L.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:L.palette.mode==="light"?null:"#fff",caretColor:L.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},L.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[L.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},c.size==="small"&&{paddingTop:21,paddingBottom:4},c.hiddenLabel&&{paddingTop:16,paddingBottom:17},c.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},c.startAdornment&&{paddingLeft:0},c.endAdornment&&{paddingRight:0},c.hiddenLabel&&c.size==="small"&&{paddingTop:8,paddingBottom:9})),V=l.forwardRef(function(c,R){var B,X,g,p;const O=(0,ee.Z)({props:c,name:"MuiFilledInput"}),{components:I={},componentsProps:E,fullWidth:K=!1,inputComponent:d="input",multiline:i=!1,slotProps:x,slots:A={},type:w="text"}=O,C=(0,n.Z)(O,se),U=(0,f.Z)({},O,{fullWidth:K,inputComponent:d,multiline:i,type:w}),F=S(O),Y={root:{ownerState:U},input:{ownerState:U}},le=(x!=null?x:E)?(0,u.Z)(x!=null?x:E,Y):Y,ie=(B=(X=A.root)!=null?X:I.Root)!=null?B:J,j=(g=(p=A.input)!=null?p:I.Input)!=null?g:T;return(0,re.jsx)(v.ZP,(0,f.Z)({slots:{root:ie,input:j},componentsProps:le,fullWidth:K,inputComponent:d,multiline:i,ref:R,type:w},C,{classes:F}))});V.muiName="Input",$.Z=V},42906:function(_e,$,t){"use strict";t.d($,{_:function(){return m}});var n=t(87462),f=t(67402),l=t(85111),u=t(38282);function m(M){return(0,l.Z)("MuiFilledInput",M)}const v=(0,n.Z)({},u.Z,(0,f.Z)("MuiFilledInput",["root","underline","input"]));$.Z=v},9717:function(_e,$,t){"use strict";t.d($,{Z:function(){return p}});var n=t(63366),f=t(87462),l=t(89526),u=t(23060),m=t(13957),v=t(21704),M=t(19855),ee=t(88623),W=t(82500),re=t(87260),se=t(67402),S=t(85111);function J(O){return(0,S.Z)("MuiFormControlLabel",O)}var V=(0,se.Z)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error"]),L=t(82742),c=t(67557);const R=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","slotProps","value"],B=O=>{const{classes:I,disabled:E,labelPlacement:K,error:d}=O,i={root:["root",E&&"disabled",`labelPlacement${(0,ee.Z)(K)}`,d&&"error"],label:["label",E&&"disabled"]};return(0,m.Z)(i,J,I)},X=(0,W.ZP)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(O,I)=>{const{ownerState:E}=O;return[{[`& .${V.label}`]:I.label},I.root,I[`labelPlacement${(0,ee.Z)(E.labelPlacement)}`]]}})(({theme:O,ownerState:I})=>(0,f.Z)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${V.disabled}`]:{cursor:"default"}},I.labelPlacement==="start"&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},I.labelPlacement==="top"&&{flexDirection:"column-reverse",marginLeft:16},I.labelPlacement==="bottom"&&{flexDirection:"column",marginLeft:16},{[`& .${V.label}`]:{[`&.${V.disabled}`]:{color:(O.vars||O).palette.text.disabled}}}));var p=l.forwardRef(function(I,E){var K;const d=(0,re.Z)({props:I,name:"MuiFormControlLabel"}),{className:i,componentsProps:x={},control:A,disabled:w,disableTypography:C,label:U,labelPlacement:F="end",slotProps:Y={}}=d,le=(0,n.Z)(d,R),ie=(0,v.Z)();let j=w;typeof j=="undefined"&&typeof A.props.disabled!="undefined"&&(j=A.props.disabled),typeof j=="undefined"&&ie&&(j=ie.disabled);const ue={disabled:j};["checked","name","onChange","value","inputRef"].forEach(pe=>{typeof A.props[pe]=="undefined"&&typeof d[pe]!="undefined"&&(ue[pe]=d[pe])});const P=(0,L.Z)({props:d,muiFormControl:ie,states:["error"]}),Z=(0,f.Z)({},d,{disabled:j,labelPlacement:F,error:P.error}),ae=B(Z),ce=(K=Y.typography)!=null?K:x.typography;let be=U;return be!=null&&be.type!==M.Z&&!C&&(be=(0,c.jsx)(M.Z,(0,f.Z)({component:"span"},ce,{className:(0,u.default)(ae.label,ce==null?void 0:ce.className),children:be}))),(0,c.jsxs)(X,(0,f.Z)({className:(0,u.default)(ae.root,i),ownerState:Z,ref:E},le,{children:[l.cloneElement(A,ue),be]}))})},42489:function(_e,$,t){"use strict";t.d($,{Z:function(){return p}});var n=t(63366),f=t(87462),l=t(89526),u=t(23060),m=t(13957),v=t(87260),M=t(82500),ee=t(44357),W=t(88623),re=t(49572),se=t(88246),S=t(67402),J=t(85111);function T(O){return(0,J.Z)("MuiFormControl",O)}const V=(0,S.Z)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var L=null,c=t(67557);const R=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],B=O=>{const{classes:I,margin:E,fullWidth:K}=O,d={root:["root",E!=="none"&&`margin${(0,W.Z)(E)}`,K&&"fullWidth"]};return(0,m.Z)(d,T,I)},X=(0,M.ZP)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:O},I)=>(0,f.Z)({},I.root,I[`margin${(0,W.Z)(O.margin)}`],O.fullWidth&&I.fullWidth)})(({ownerState:O})=>(0,f.Z)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},O.margin==="normal"&&{marginTop:16,marginBottom:8},O.margin==="dense"&&{marginTop:8,marginBottom:4},O.fullWidth&&{width:"100%"}));var p=l.forwardRef(function(I,E){const K=(0,v.Z)({props:I,name:"MuiFormControl"}),{children:d,className:i,color:x="primary",component:A="div",disabled:w=!1,error:C=!1,focused:U,fullWidth:F=!1,hiddenLabel:Y=!1,margin:le="none",required:ie=!1,size:j="medium",variant:ue="outlined"}=K,P=(0,n.Z)(K,R),Z=(0,f.Z)({},K,{color:x,component:A,disabled:w,error:C,fullWidth:F,hiddenLabel:Y,margin:le,required:ie,size:j,variant:ue}),ae=B(Z),[ce,be]=l.useState(()=>{let ze=!1;return d&&l.Children.forEach(d,Je=>{if(!(0,re.Z)(Je,["Input","Select"]))return;const qe=(0,re.Z)(Je,["Select"])?Je.props.input:Je;qe&&(0,ee.B7)(qe.props)&&(ze=!0)}),ze}),[pe,h]=l.useState(()=>{let ze=!1;return d&&l.Children.forEach(d,Je=>{(0,re.Z)(Je,["Input","Select"])&&(0,ee.vd)(Je.props,!0)&&(ze=!0)}),ze}),[te,Q]=l.useState(!1);w&&te&&Q(!1);const we=U!==void 0&&!w?U:te;let Se;const Ne=l.useMemo(()=>({adornedStart:ce,setAdornedStart:be,color:x,disabled:w,error:C,filled:pe,focused:we,fullWidth:F,hiddenLabel:Y,size:j,onBlur:()=>{Q(!1)},onEmpty:()=>{h(!1)},onFilled:()=>{h(!0)},onFocus:()=>{Q(!0)},registerEffect:Se,required:ie,variant:ue}),[ce,x,w,C,pe,we,F,Y,Se,ie,j,ue]);return(0,c.jsx)(se.Z.Provider,{value:Ne,children:(0,c.jsx)(X,(0,f.Z)({as:A,ownerState:Z,className:(0,u.default)(ae.root,i),ref:E},P,{children:d}))})})},88246:function(_e,$,t){"use strict";var n=t(89526);const f=n.createContext(void 0);$.Z=f},82742:function(_e,$,t){"use strict";t.d($,{Z:function(){return n}});function n({props:f,states:l,muiFormControl:u}){return l.reduce((m,v)=>(m[v]=f[v],u&&typeof f[v]=="undefined"&&(m[v]=u[v]),m),{})}},21704:function(_e,$,t){"use strict";t.d($,{Z:function(){return l}});var n=t(89526),f=t(88246);function l(){return n.useContext(f.Z)}},79412:function(_e,$,t){"use strict";t.d($,{Z:function(){return X}});var n=t(63366),f=t(87462),l=t(89526),u=t(23060),m=t(13957),v=t(82500),M=t(87260),ee=t(67402),W=t(85111);function re(g){return(0,W.Z)("MuiFormGroup",g)}const se=(0,ee.Z)("MuiFormGroup",["root","row","error"]);var S=null,J=t(21704),T=t(82742),V=t(67557);const L=["className","row"],c=g=>{const{classes:p,row:O,error:I}=g,E={root:["root",O&&"row",I&&"error"]};return(0,m.Z)(E,re,p)},R=(0,v.ZP)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(g,p)=>{const{ownerState:O}=g;return[p.root,O.row&&p.row]}})(({ownerState:g})=>(0,f.Z)({display:"flex",flexDirection:"column",flexWrap:"wrap"},g.row&&{flexDirection:"row"}));var X=l.forwardRef(function(p,O){const I=(0,M.Z)({props:p,name:"MuiFormGroup"}),{className:E,row:K=!1}=I,d=(0,n.Z)(I,L),i=(0,J.Z)(),x=(0,T.Z)({props:I,muiFormControl:i,states:["error"]}),A=(0,f.Z)({},I,{row:K,error:x.error}),w=c(A);return(0,V.jsx)(R,(0,f.Z)({className:(0,u.default)(w.root,E),ownerState:A,ref:O},d))})},87674:function(_e,$,t){"use strict";t.d($,{Z:function(){return p}});var n=t(63366),f=t(87462),l=t(89526),u=t(23060),m=t(13957),v=t(82742),M=t(21704),ee=t(82500),W=t(88623),re=t(67402),se=t(85111);function S(O){return(0,se.Z)("MuiFormHelperText",O)}var T=(0,re.Z)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),V=t(87260),L=t(67557),c;const R=["children","className","component","disabled","error","filled","focused","margin","required","variant"],B=O=>{const{classes:I,contained:E,size:K,disabled:d,error:i,filled:x,focused:A,required:w}=O,C={root:["root",d&&"disabled",i&&"error",K&&`size${(0,W.Z)(K)}`,E&&"contained",A&&"focused",x&&"filled",w&&"required"]};return(0,m.Z)(C,S,I)},X=(0,ee.ZP)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(O,I)=>{const{ownerState:E}=O;return[I.root,E.size&&I[`size${(0,W.Z)(E.size)}`],E.contained&&I.contained,E.filled&&I.filled]}})(({theme:O,ownerState:I})=>(0,f.Z)({color:(O.vars||O).palette.text.secondary},O.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${T.disabled}`]:{color:(O.vars||O).palette.text.disabled},[`&.${T.error}`]:{color:(O.vars||O).palette.error.main}},I.size==="small"&&{marginTop:4},I.contained&&{marginLeft:14,marginRight:14}));var p=l.forwardRef(function(I,E){const K=(0,V.Z)({props:I,name:"MuiFormHelperText"}),{children:d,className:i,component:x="p"}=K,A=(0,n.Z)(K,R),w=(0,M.Z)(),C=(0,v.Z)({props:K,muiFormControl:w,states:["variant","size","disabled","error","filled","focused","required"]}),U=(0,f.Z)({},K,{component:x,contained:C.variant==="filled"||C.variant==="outlined",variant:C.variant,size:C.size,disabled:C.disabled,error:C.error,filled:C.filled,focused:C.focused,required:C.required}),F=B(U);return(0,L.jsx)(X,(0,f.Z)({as:x,ownerState:U,className:(0,u.default)(F.root,i),ref:E},A,{children:d===" "?c||(c=(0,L.jsx)("span",{className:"notranslate",children:"\u200B"})):d}))})},96355:function(_e,$,t){"use strict";t.d($,{Z:function(){return W}});var n=t(87462),f=t(89526),l=t(21127),u=t(67557);function m(re){return re==null||Object.keys(re).length===0}function v(re){const{styles:se,defaultTheme:S={}}=re,J=typeof se=="function"?T=>se(m(T)?S:T):se;return(0,u.jsx)(l.xB,{styles:J})}var M=t(35891);function ee(re){return(0,u.jsx)(v,(0,n.Z)({},re,{defaultTheme:M.Z}))}var W=ee},50871:function(_e,$,t){"use strict";t.d($,{ZP:function(){return Y}});var n=t(63366),f=t(87462),l=t(89526),u=t(23060),m=t(36006),v=t(38368),M=t(13957),ee=t(82500),W=t(87260),re=t(18051),S=l.createContext(),J=t(67402),T=t(85111);function V(le){return(0,T.Z)("MuiGrid",le)}const L=[0,1,2,3,4,5,6,7,8,9,10],c=["column-reverse","column","row-reverse","row"],R=["nowrap","wrap-reverse","wrap"],B=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];var g=(0,J.Z)("MuiGrid",["root","container","item","zeroMinWidth",...L.map(le=>`spacing-xs-${le}`),...c.map(le=>`direction-xs-${le}`),...R.map(le=>`wrap-xs-${le}`),...B.map(le=>`grid-xs-${le}`),...B.map(le=>`grid-sm-${le}`),...B.map(le=>`grid-md-${le}`),...B.map(le=>`grid-lg-${le}`),...B.map(le=>`grid-xl-${le}`)]),p=t(67557);const O=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function I(le){const ie=parseFloat(le);return`${ie}${String(le).replace(String(ie),"")||"px"}`}function E({theme:le,ownerState:ie}){let j;return le.breakpoints.keys.reduce((ue,P)=>{let Z={};if(ie[P]&&(j=ie[P]),!j)return ue;if(j===!0)Z={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(j==="auto")Z={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const ae=(0,m.P$)({values:ie.columns,breakpoints:le.breakpoints.values}),ce=typeof ae=="object"?ae[P]:ae;if(ce==null)return ue;const be=`${Math.round(j/ce*1e8)/1e6}%`;let pe={};if(ie.container&&ie.item&&ie.columnSpacing!==0){const h=le.spacing(ie.columnSpacing);if(h!=="0px"){const te=`calc(${be} + ${I(h)})`;pe={flexBasis:te,maxWidth:te}}}Z=(0,f.Z)({flexBasis:be,flexGrow:0,maxWidth:be},pe)}return le.breakpoints.values[P]===0?Object.assign(ue,Z):ue[le.breakpoints.up(P)]=Z,ue},{})}function K({theme:le,ownerState:ie}){const j=(0,m.P$)({values:ie.direction,breakpoints:le.breakpoints.values});return(0,m.k9)({theme:le},j,ue=>{const P={flexDirection:ue};return ue.indexOf("column")===0&&(P[`& > .${g.item}`]={maxWidth:"none"}),P})}function d({breakpoints:le,values:ie}){let j="";Object.keys(ie).forEach(P=>{j===""&&ie[P]!==0&&(j=P)});const ue=Object.keys(le).sort((P,Z)=>le[P]-le[Z]);return ue.slice(0,ue.indexOf(j))}function i({theme:le,ownerState:ie}){const{container:j,rowSpacing:ue}=ie;let P={};if(j&&ue!==0){const Z=(0,m.P$)({values:ue,breakpoints:le.breakpoints.values});let ae;typeof Z=="object"&&(ae=d({breakpoints:le.breakpoints.values,values:Z})),P=(0,m.k9)({theme:le},Z,(ce,be)=>{var pe;const h=le.spacing(ce);return h!=="0px"?{marginTop:`-${I(h)}`,[`& > .${g.item}`]:{paddingTop:I(h)}}:(pe=ae)!=null&&pe.includes(be)?{}:{marginTop:0,[`& > .${g.item}`]:{paddingTop:0}}})}return P}function x({theme:le,ownerState:ie}){const{container:j,columnSpacing:ue}=ie;let P={};if(j&&ue!==0){const Z=(0,m.P$)({values:ue,breakpoints:le.breakpoints.values});let ae;typeof Z=="object"&&(ae=d({breakpoints:le.breakpoints.values,values:Z})),P=(0,m.k9)({theme:le},Z,(ce,be)=>{var pe;const h=le.spacing(ce);return h!=="0px"?{width:`calc(100% + ${I(h)})`,marginLeft:`-${I(h)}`,[`& > .${g.item}`]:{paddingLeft:I(h)}}:(pe=ae)!=null&&pe.includes(be)?{}:{width:"100%",marginLeft:0,[`& > .${g.item}`]:{paddingLeft:0}}})}return P}function A(le,ie,j={}){if(!le||le<=0)return[];if(typeof le=="string"&&!Number.isNaN(Number(le))||typeof le=="number")return[j[`spacing-xs-${String(le)}`]];const ue=[];return ie.forEach(P=>{const Z=le[P];Number(Z)>0&&ue.push(j[`spacing-${P}-${String(Z)}`])}),ue}const w=(0,ee.ZP)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(le,ie)=>{const{ownerState:j}=le,{container:ue,direction:P,item:Z,spacing:ae,wrap:ce,zeroMinWidth:be,breakpoints:pe}=j;let h=[];ue&&(h=A(ae,pe,ie));const te=[];return pe.forEach(Q=>{const we=j[Q];we&&te.push(ie[`grid-${Q}-${String(we)}`])}),[ie.root,ue&&ie.container,Z&&ie.item,be&&ie.zeroMinWidth,...h,P!=="row"&&ie[`direction-xs-${String(P)}`],ce!=="wrap"&&ie[`wrap-xs-${String(ce)}`],...te]}})(({ownerState:le})=>(0,f.Z)({boxSizing:"border-box"},le.container&&{display:"flex",flexWrap:"wrap",width:"100%"},le.item&&{margin:0},le.zeroMinWidth&&{minWidth:0},le.wrap!=="wrap"&&{flexWrap:le.wrap}),K,i,x,E);function C(le,ie){if(!le||le<=0)return[];if(typeof le=="string"&&!Number.isNaN(Number(le))||typeof le=="number")return[`spacing-xs-${String(le)}`];const j=[];return ie.forEach(ue=>{const P=le[ue];if(Number(P)>0){const Z=`spacing-${ue}-${String(P)}`;j.push(Z)}}),j}const U=le=>{const{classes:ie,container:j,direction:ue,item:P,spacing:Z,wrap:ae,zeroMinWidth:ce,breakpoints:be}=le;let pe=[];j&&(pe=C(Z,be));const h=[];be.forEach(Q=>{const we=le[Q];we&&h.push(`grid-${Q}-${String(we)}`)});const te={root:["root",j&&"container",P&&"item",ce&&"zeroMinWidth",...pe,ue!=="row"&&`direction-xs-${String(ue)}`,ae!=="wrap"&&`wrap-xs-${String(ae)}`,...h]};return(0,M.Z)(te,V,ie)};var Y=l.forwardRef(function(ie,j){const ue=(0,W.Z)({props:ie,name:"MuiGrid"}),{breakpoints:P}=(0,re.Z)(),Z=(0,v.Z)(ue),{className:ae,columns:ce,columnSpacing:be,component:pe="div",container:h=!1,direction:te="row",item:Q=!1,rowSpacing:we,spacing:Se=0,wrap:Ne="wrap",zeroMinWidth:ze=!1}=Z,Je=(0,n.Z)(Z,O),qe=we||Se,Me=be||Se,Fe=l.useContext(S),Ue=h?ce||12:Fe,he={},xe=(0,f.Z)({},Je);P.keys.forEach(De=>{Je[De]!=null&&(he[De]=Je[De],delete xe[De])});const q=(0,f.Z)({},Z,{columns:Ue,container:h,direction:te,item:Q,rowSpacing:qe,columnSpacing:Me,wrap:Ne,zeroMinWidth:ze,spacing:Se},he,{breakpoints:P.keys}),me=U(q);return(0,p.jsx)(S.Provider,{value:Ue,children:(0,p.jsx)(w,(0,f.Z)({ownerState:q,className:(0,u.default)(me.root,ae),as:pe,ref:j},xe))})})},70354:function(_e,$,t){"use strict";var n=t(87462),f=t(63366),l=t(89526),u=t(67958),m=t(18051),v=t(45942),M=t(89428),ee=t(67557);const W=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function re(T){return`scale(${T}, ${hc(T,2)})`}const se={entering:{opacity:1,transform:re(1)},entered:{opacity:1,transform:"none"}},S=typeof navigator!="undefined"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),J=l.forwardRef(function(V,L){const{addEndListener:c,appear:R=!0,children:B,easing:X,in:g,onEnter:p,onEntered:O,onEntering:I,onExit:E,onExited:K,onExiting:d,style:i,timeout:x="auto",TransitionComponent:A=u.ZP}=V,w=(0,f.Z)(V,W),C=l.useRef(),U=l.useRef(),F=(0,m.Z)(),Y=l.useRef(null),le=(0,M.Z)(Y,B.ref,L),ie=pe=>h=>{if(pe){const te=Y.current;h===void 0?pe(te):pe(te,h)}},j=ie(I),ue=ie((pe,h)=>{(0,v.n)(pe);const{duration:te,delay:Q,easing:we}=(0,v.C)({style:i,timeout:x,easing:X},{mode:"enter"});let Se;x==="auto"?(Se=F.transitions.getAutoHeightDuration(pe.clientHeight),U.current=Se):Se=te,pe.style.transition=[F.transitions.create("opacity",{duration:Se,delay:Q}),F.transitions.create("transform",{duration:S?Se:Se*.666,delay:Q,easing:we})].join(","),p&&p(pe,h)}),P=ie(O),Z=ie(d),ae=ie(pe=>{const{duration:h,delay:te,easing:Q}=(0,v.C)({style:i,timeout:x,easing:X},{mode:"exit"});let we;x==="auto"?(we=F.transitions.getAutoHeightDuration(pe.clientHeight),U.current=we):we=h,pe.style.transition=[F.transitions.create("opacity",{duration:we,delay:te}),F.transitions.create("transform",{duration:S?we:we*.666,delay:S?te:te||we*.333,easing:Q})].join(","),pe.style.opacity=0,pe.style.transform=re(.75),E&&E(pe)}),ce=ie(K),be=pe=>{x==="auto"&&(C.current=setTimeout(pe,U.current||0)),c&&c(Y.current,pe)};return l.useEffect(()=>()=>{clearTimeout(C.current)},[]),(0,ee.jsx)(A,(0,n.Z)({appear:R,in:g,nodeRef:Y,onEnter:ue,onEntered:P,onEntering:j,onExit:ae,onExited:ce,onExiting:Z,addEndListener:be,timeout:x==="auto"?null:x},w,{children:(pe,h)=>l.cloneElement(B,(0,n.Z)({style:(0,n.Z)({opacity:0,transform:re(.75),visibility:pe==="exited"&&!g?"hidden":void 0},se[pe],i,B.props.style),ref:le},h))}))});J.muiSupportAuto=!0,$.Z=J},82525:function(_e,$,t){"use strict";t.d($,{Z:function(){return g}});var n=t(63366),f=t(87462),l=t(89526),u=t(23060),m=t(13957),v=t(72945),M=t(82500),ee=t(87260),W=t(98592),re=t(88623),se=t(67402),S=t(85111);function J(p){return(0,S.Z)("MuiIconButton",p)}var V=(0,se.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),L=t(67557);const c=["edge","children","className","color","disabled","disableFocusRipple","size"],R=p=>{const{classes:O,disabled:I,color:E,edge:K,size:d}=p,i={root:["root",I&&"disabled",E!=="default"&&`color${(0,re.Z)(E)}`,K&&`edge${(0,re.Z)(K)}`,`size${(0,re.Z)(d)}`]};return(0,m.Z)(i,J,O)},B=(0,M.ZP)(W.Z,{name:"MuiIconButton",slot:"Root",overridesResolver:(p,O)=>{const{ownerState:I}=p;return[O.root,I.color!=="default"&&O[`color${(0,re.Z)(I.color)}`],I.edge&&O[`edge${(0,re.Z)(I.edge)}`],O[`size${(0,re.Z)(I.size)}`]]}})(({theme:p,ownerState:O})=>(0,f.Z)({textAlign:"center",flex:"0 0 auto",fontSize:p.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(p.vars||p).palette.action.active,transition:p.transitions.create("background-color",{duration:p.transitions.duration.shortest})},!O.disableRipple&&{"&:hover":{backgroundColor:p.vars?`rgba(${p.vars.palette.action.activeChannel} / ${p.vars.palette.action.hoverOpacity})`:(0,v.Fq)(p.palette.action.active,p.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},O.edge==="start"&&{marginLeft:O.size==="small"?-3:-12},O.edge==="end"&&{marginRight:O.size==="small"?-3:-12}),({theme:p,ownerState:O})=>{var I;const E=(I=(p.vars||p).palette)==null?void 0:I[O.color];return(0,f.Z)({},O.color==="inherit"&&{color:"inherit"},O.color!=="inherit"&&O.color!=="default"&&(0,f.Z)({color:E==null?void 0:E.main},!O.disableRipple&&{"&:hover":(0,f.Z)({},E&&{backgroundColor:p.vars?`rgba(${E.mainChannel} / ${p.vars.palette.action.hoverOpacity})`:(0,v.Fq)(E.main,p.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),O.size==="small"&&{padding:5,fontSize:p.typography.pxToRem(18)},O.size==="large"&&{padding:12,fontSize:p.typography.pxToRem(28)},{[`&.${V.disabled}`]:{backgroundColor:"transparent",color:(p.vars||p).palette.action.disabled}})});var g=l.forwardRef(function(O,I){const E=(0,ee.Z)({props:O,name:"MuiIconButton"}),{edge:K=!1,children:d,className:i,color:x="default",disabled:A=!1,disableFocusRipple:w=!1,size:C="medium"}=E,U=(0,n.Z)(E,c),F=(0,f.Z)({},E,{edge:K,color:x,disabled:A,disableFocusRipple:w,size:C}),Y=R(F);return(0,L.jsx)(B,(0,f.Z)({className:(0,u.default)(Y.root,i),centerRipple:!0,focusRipple:!w,disabled:A,ref:I,ownerState:F},U,{children:d}))})},36074:function(_e,$,t){"use strict";t.d($,{rA:function(){return le},Ej:function(){return Y},ZP:function(){return ue},_o:function(){return U},Gx:function(){return C}});var n=t(63366),f=t(87462),l=t(23563),u=t(89526),m=t(23060),v=t(13957),M=t(73961),ee=t(61199),W=t(69923),re=t(25788),se=t(36341),S=t(67557);const J=["onChange","maxRows","minRows","style","value"];function T(P,Z){return parseInt(P[Z],10)||0}const V={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function L(P){return P==null||Object.keys(P).length===0}var R=u.forwardRef(function(Z,ae){const{onChange:ce,maxRows:be,minRows:pe=1,style:h,value:te}=Z,Q=(0,n.Z)(Z,J),{current:we}=u.useRef(te!=null),Se=u.useRef(null),Ne=(0,ee.Z)(ae,Se),ze=u.useRef(null),Je=u.useRef(0),[qe,Me]=u.useState({}),Fe=u.useCallback(()=>{const me=Se.current,Te=(0,W.Z)(me).getComputedStyle(me);if(Te.width==="0px")return{};const Oe=ze.current;Oe.style.width=Te.width,Oe.value=me.value||Z.placeholder||"x",Oe.value.slice(-1)===`
`&&(Oe.value+=" ");const st=Te["box-sizing"],Ft=T(Te,"padding-bottom")+T(Te,"padding-top"),Qt=T(Te,"border-bottom-width")+T(Te,"border-top-width"),Vt=Oe.scrollHeight;Oe.value="x";const Gt=Oe.scrollHeight;let Jt=Vt;pe&&(Jt=Math.max(Number(pe)*Gt,Jt)),be&&(Jt=Math.min(Number(be)*Gt,Jt)),Jt=Math.max(Jt,Gt);const Lr=Jt+(st==="border-box"?Ft+Qt:0),Rr=Math.abs(Jt-Vt)<=1;return{outerHeightStyle:Lr,overflow:Rr}},[be,pe,Z.placeholder]),Ue=(me,De)=>{const{outerHeightStyle:Te,overflow:Oe}=De;return Je.current<20&&(Te>0&&Math.abs((me.outerHeightStyle||0)-Te)>1||me.overflow!==Oe)?(Je.current+=1,{overflow:Oe,outerHeightStyle:Te}):me},he=u.useCallback(()=>{const me=Fe();L(me)||Me(De=>Ue(De,me))},[Fe]),xe=()=>{const me=Fe();L(me)||(0,M.flushSync)(()=>{Me(De=>Ue(De,me))})};u.useEffect(()=>{const me=(0,re.Z)(()=>{Je.current=0,Se.current&&xe()}),De=(0,W.Z)(Se.current);De.addEventListener("resize",me);let Te;return typeof ResizeObserver!="undefined"&&(Te=new ResizeObserver(me),Te.observe(Se.current)),()=>{me.clear(),De.removeEventListener("resize",me),Te&&Te.disconnect()}}),(0,se.Z)(()=>{he()}),u.useEffect(()=>{Je.current=0},[te]);const q=me=>{Je.current=0,we||he(),ce&&ce(me)};return(0,S.jsxs)(u.Fragment,{children:[(0,S.jsx)("textarea",(0,f.Z)({value:te,onChange:q,ref:Ne,rows:pe,style:(0,f.Z)({height:qe.outerHeightStyle,overflow:qe.overflow?"hidden":null},h)},Q)),(0,S.jsx)("textarea",{"aria-hidden":!0,className:Z.className,readOnly:!0,ref:ze,tabIndex:-1,style:(0,f.Z)({},V.shadow,h,{padding:0})})]})}),B=t(14823),X=t(82742),g=t(88246),p=t(21704),O=t(82500),I=t(87260),E=t(88623),K=t(89428),d=t(63830),i=t(96355),x=t(44357),A=t(38282);const w=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],C=(P,Z)=>{const{ownerState:ae}=P;return[Z.root,ae.formControl&&Z.formControl,ae.startAdornment&&Z.adornedStart,ae.endAdornment&&Z.adornedEnd,ae.error&&Z.error,ae.size==="small"&&Z.sizeSmall,ae.multiline&&Z.multiline,ae.color&&Z[`color${(0,E.Z)(ae.color)}`],ae.fullWidth&&Z.fullWidth,ae.hiddenLabel&&Z.hiddenLabel]},U=(P,Z)=>{const{ownerState:ae}=P;return[Z.input,ae.size==="small"&&Z.inputSizeSmall,ae.multiline&&Z.inputMultiline,ae.type==="search"&&Z.inputTypeSearch,ae.startAdornment&&Z.inputAdornedStart,ae.endAdornment&&Z.inputAdornedEnd,ae.hiddenLabel&&Z.inputHiddenLabel]},F=P=>{const{classes:Z,color:ae,disabled:ce,error:be,endAdornment:pe,focused:h,formControl:te,fullWidth:Q,hiddenLabel:we,multiline:Se,readOnly:Ne,size:ze,startAdornment:Je,type:qe}=P,Me={root:["root",`color${(0,E.Z)(ae)}`,ce&&"disabled",be&&"error",Q&&"fullWidth",h&&"focused",te&&"formControl",ze==="small"&&"sizeSmall",Se&&"multiline",Je&&"adornedStart",pe&&"adornedEnd",we&&"hiddenLabel",Ne&&"readOnly"],input:["input",ce&&"disabled",qe==="search"&&"inputTypeSearch",Se&&"inputMultiline",ze==="small"&&"inputSizeSmall",we&&"inputHiddenLabel",Je&&"inputAdornedStart",pe&&"inputAdornedEnd",Ne&&"readOnly"]};return(0,v.Z)(Me,A.u,Z)},Y=(0,O.ZP)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:C})(({theme:P,ownerState:Z})=>(0,f.Z)({},P.typography.body1,{color:(P.vars||P).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${A.Z.disabled}`]:{color:(P.vars||P).palette.text.disabled,cursor:"default"}},Z.multiline&&(0,f.Z)({padding:"4px 0 5px"},Z.size==="small"&&{paddingTop:1}),Z.fullWidth&&{width:"100%"})),le=(0,O.ZP)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:U})(({theme:P,ownerState:Z})=>{const ae=P.palette.mode==="light",ce=(0,f.Z)({color:"currentColor"},P.vars?{opacity:P.vars.opacity.inputPlaceholder}:{opacity:ae?.42:.5},{transition:P.transitions.create("opacity",{duration:P.transitions.duration.shorter})}),be={opacity:"0 !important"},pe=P.vars?{opacity:P.vars.opacity.inputPlaceholder}:{opacity:ae?.42:.5};return(0,f.Z)({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":ce,"&::-moz-placeholder":ce,"&:-ms-input-placeholder":ce,"&::-ms-input-placeholder":ce,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${A.Z.formControl} &`]:{"&::-webkit-input-placeholder":be,"&::-moz-placeholder":be,"&:-ms-input-placeholder":be,"&::-ms-input-placeholder":be,"&:focus::-webkit-input-placeholder":pe,"&:focus::-moz-placeholder":pe,"&:focus:-ms-input-placeholder":pe,"&:focus::-ms-input-placeholder":pe},[`&.${A.Z.disabled}`]:{opacity:1,WebkitTextFillColor:(P.vars||P).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},Z.size==="small"&&{paddingTop:1},Z.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},Z.type==="search"&&{MozAppearance:"textfield"})}),ie=(0,S.jsx)(i.Z,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}});var ue=u.forwardRef(function(Z,ae){var ce;const be=(0,I.Z)({props:Z,name:"MuiInputBase"}),{"aria-describedby":pe,autoComplete:h,autoFocus:te,className:Q,components:we={},componentsProps:Se={},defaultValue:Ne,disabled:ze,disableInjectingGlobalStyles:Je,endAdornment:qe,fullWidth:Me=!1,id:Fe,inputComponent:Ue="input",inputProps:he={},inputRef:xe,maxRows:q,minRows:me,multiline:De=!1,name:Te,onBlur:Oe,onChange:st,onClick:Ft,onFocus:Qt,onKeyDown:Vt,onKeyUp:Gt,placeholder:Jt,readOnly:Lr,renderSuffix:Rr,rows:Gr,slotProps:zr={},slots:pr={},startAdornment:vn,type:fn="text",value:Zt}=be,St=(0,n.Z)(be,w),Wt=he.value!=null?he.value:Zt,{current:Nt}=u.useRef(Wt!=null),dt=u.useRef(),nr=u.useCallback(Dr=>{},[]),et=(0,K.Z)(dt,xe,he.ref,nr),[Tt,Rt]=u.useState(!1),or=(0,p.Z)(),ir=(0,X.Z)({props:be,muiFormControl:or,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ir.focused=or?or.focused:Tt,u.useEffect(()=>{!or&&ze&&Tt&&(Rt(!1),Oe&&Oe())},[or,ze,Tt,Oe]);const Qr=or&&or.onFilled,ft=or&&or.onEmpty,tr=u.useCallback(Dr=>{(0,x.vd)(Dr)?Qr&&Qr():ft&&ft()},[Qr,ft]);(0,d.Z)(()=>{Nt&&tr({value:Wt})},[Wt,tr,Nt]);const gr=Dr=>{if(ir.disabled){Dr.stopPropagation();return}Qt&&Qt(Dr),he.onFocus&&he.onFocus(Dr),or&&or.onFocus?or.onFocus(Dr):Rt(!0)},ar=Dr=>{Oe&&Oe(Dr),he.onBlur&&he.onBlur(Dr),or&&or.onBlur?or.onBlur(Dr):Rt(!1)},rt=(Dr,..._r)=>{if(!Nt){const Hr=Dr.target||dt.current;if(Hr==null)throw new Error((0,l.Z)(1));tr({value:Hr.value})}he.onChange&&he.onChange(Dr,..._r),st&&st(Dr,..._r)};u.useEffect(()=>{tr(dt.current)},[]);const kt=Dr=>{dt.current&&Dr.currentTarget===Dr.target&&dt.current.focus(),Ft&&Ft(Dr)};let At=Ue,qt=he;De&&At==="input"&&(Gr?qt=(0,f.Z)({type:void 0,minRows:Gr,maxRows:Gr},qt):qt=(0,f.Z)({type:void 0,maxRows:q,minRows:me},qt),At=R);const sr=Dr=>{tr(Dr.animationName==="mui-auto-fill-cancel"?dt.current:{value:"x"})};u.useEffect(()=>{or&&or.setAdornedStart(Boolean(vn))},[or,vn]);const Kr=(0,f.Z)({},be,{color:ir.color||"primary",disabled:ir.disabled,endAdornment:qe,error:ir.error,focused:ir.focused,formControl:or,fullWidth:Me,hiddenLabel:ir.hiddenLabel,multiline:De,size:ir.size,startAdornment:vn,type:fn}),kr=F(Kr),nn=pr.root||we.Root||Y,on=zr.root||Se.root||{},vr=pr.input||we.Input||le;return qt=(0,f.Z)({},qt,(ce=zr.input)!=null?ce:Se.input),(0,S.jsxs)(u.Fragment,{children:[!Je&&ie,(0,S.jsxs)(nn,(0,f.Z)({},on,!(0,B.Z)(nn)&&{ownerState:(0,f.Z)({},Kr,on.ownerState)},{ref:ae,onClick:kt},St,{className:(0,m.default)(kr.root,on.className,Q),children:[vn,(0,S.jsx)(g.Z.Provider,{value:null,children:(0,S.jsx)(vr,(0,f.Z)({ownerState:Kr,"aria-invalid":ir.error,"aria-describedby":pe,autoComplete:h,autoFocus:te,defaultValue:Ne,disabled:ir.disabled,id:Fe,onAnimationStart:sr,name:Te,placeholder:Jt,readOnly:Lr,required:ir.required,rows:Gr,value:Wt,onKeyDown:Vt,onKeyUp:Gt,type:fn},qt,!(0,B.Z)(vr)&&{as:At,ownerState:(0,f.Z)({},Kr,qt.ownerState)},{ref:et,className:(0,m.default)(kr.input,qt.className),onBlur:ar,onChange:rt,onFocus:gr}))}),qe,Rr?Rr((0,f.Z)({},ir,{startAdornment:vn})):null]}))]})})},38282:function(_e,$,t){"use strict";t.d($,{u:function(){return l}});var n=t(67402),f=t(85111);function l(m){return(0,f.Z)("MuiInputBase",m)}const u=(0,n.Z)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);$.Z=u},44357:function(_e,$,t){"use strict";t.d($,{B7:function(){return l},vd:function(){return f}});function n(u){return u!=null&&!(Array.isArray(u)&&u.length===0)}function f(u,m=!1){return u&&(n(u.value)&&u.value!==""||m&&n(u.defaultValue)&&u.defaultValue!=="")}function l(u){return u.startAdornment}},10870:function(_e,$,t){"use strict";t.d($,{Z:function(){return A}});var n=t(63366),f=t(87462),l=t(89526),u=t(13957),m=t(23060),v=t(82742),M=t(21704),ee=t(88623),W=t(87260),re=t(82500),se=t(67402),S=t(85111);function J(w){return(0,S.Z)("MuiFormLabel",w)}var V=(0,se.Z)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),L=t(67557);const c=["children","className","color","component","disabled","error","filled","focused","required"],R=w=>{const{classes:C,color:U,focused:F,disabled:Y,error:le,filled:ie,required:j}=w,ue={root:["root",`color${(0,ee.Z)(U)}`,Y&&"disabled",le&&"error",ie&&"filled",F&&"focused",j&&"required"],asterisk:["asterisk",le&&"error"]};return(0,u.Z)(ue,J,C)},B=(0,re.ZP)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:w},C)=>(0,f.Z)({},C.root,w.color==="secondary"&&C.colorSecondary,w.filled&&C.filled)})(({theme:w,ownerState:C})=>(0,f.Z)({color:(w.vars||w).palette.text.secondary},w.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${V.focused}`]:{color:(w.vars||w).palette[C.color].main},[`&.${V.disabled}`]:{color:(w.vars||w).palette.text.disabled},[`&.${V.error}`]:{color:(w.vars||w).palette.error.main}})),X=(0,re.ZP)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(w,C)=>C.asterisk})(({theme:w})=>({[`&.${V.error}`]:{color:(w.vars||w).palette.error.main}}));var p=l.forwardRef(function(C,U){const F=(0,W.Z)({props:C,name:"MuiFormLabel"}),{children:Y,className:le,component:ie="label"}=F,j=(0,n.Z)(F,c),ue=(0,M.Z)(),P=(0,v.Z)({props:F,muiFormControl:ue,states:["color","required","focused","disabled","error","filled"]}),Z=(0,f.Z)({},F,{color:P.color||"primary",component:ie,disabled:P.disabled,error:P.error,filled:P.filled,focused:P.focused,required:P.required}),ae=R(Z);return(0,L.jsxs)(B,(0,f.Z)({as:ie,ownerState:Z,className:(0,m.default)(ae.root,le),ref:U},j,{children:[Y,P.required&&(0,L.jsxs)(X,{ownerState:Z,"aria-hidden":!0,className:ae.asterisk,children:["\u2009","*"]})]}))});function O(w){return(0,S.Z)("MuiInputLabel",w)}const I=(0,se.Z)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);var E=null;const K=["disableAnimation","margin","shrink","variant","className"],d=w=>{const{classes:C,formControl:U,size:F,shrink:Y,disableAnimation:le,variant:ie,required:j}=w,ue={root:["root",U&&"formControl",!le&&"animated",Y&&"shrink",F==="small"&&"sizeSmall",ie],asterisk:[j&&"asterisk"]},P=(0,u.Z)(ue,O,C);return(0,f.Z)({},C,P)},i=(0,re.ZP)(p,{shouldForwardProp:w=>(0,re.FO)(w)||w==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(w,C)=>{const{ownerState:U}=w;return[{[`& .${V.asterisk}`]:C.asterisk},C.root,U.formControl&&C.formControl,U.size==="small"&&C.sizeSmall,U.shrink&&C.shrink,!U.disableAnimation&&C.animated,C[U.variant]]}})(({theme:w,ownerState:C})=>(0,f.Z)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},C.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},C.size==="small"&&{transform:"translate(0, 17px) scale(1)"},C.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!C.disableAnimation&&{transition:w.transitions.create(["color","transform","max-width"],{duration:w.transitions.duration.shorter,easing:w.transitions.easing.easeOut})},C.variant==="filled"&&(0,f.Z)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},C.size==="small"&&{transform:"translate(12px, 13px) scale(1)"},C.shrink&&(0,f.Z)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},C.size==="small"&&{transform:"translate(12px, 4px) scale(0.75)"})),C.variant==="outlined"&&(0,f.Z)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},C.size==="small"&&{transform:"translate(14px, 9px) scale(1)"},C.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 24px)",transform:"translate(14px, -9px) scale(0.75)"})));var A=l.forwardRef(function(C,U){const F=(0,W.Z)({name:"MuiInputLabel",props:C}),{disableAnimation:Y=!1,shrink:le,className:ie}=F,j=(0,n.Z)(F,K),ue=(0,M.Z)();let P=le;typeof P=="undefined"&&ue&&(P=ue.filled||ue.focused||ue.adornedStart);const Z=(0,v.Z)({props:F,muiFormControl:ue,states:["size","variant","required"]}),ae=(0,f.Z)({},F,{disableAnimation:Y,formControl:ue,shrink:P,size:Z.size,variant:Z.variant,required:Z.required}),ce=d(ae);return(0,L.jsx)(i,(0,f.Z)({"data-shrink":P,ownerState:ae,ref:U,className:(0,m.default)(ce.root,ie)},j,{classes:ce}))})},69073:function(_e,$,t){"use strict";var n=t(63366),f=t(87462),l=t(89526),u=t(13957),m=t(83643),v=t(36074),M=t(82500),ee=t(87260),W=t(87419),re=t(67557);const se=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],S=L=>{const{classes:c,disableUnderline:R}=L,B={root:["root",!R&&"underline"],input:["input"]},X=(0,u.Z)(B,W.l,c);return(0,f.Z)({},c,X)},J=(0,M.ZP)(v.Ej,{shouldForwardProp:L=>(0,M.FO)(L)||L==="classes",name:"MuiInput",slot:"Root",overridesResolver:(L,c)=>{const{ownerState:R}=L;return[...(0,v.Gx)(L,c),!R.disableUnderline&&c.underline]}})(({theme:L,ownerState:c})=>{let B=L.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return L.vars&&(B=`rgba(${L.vars.palette.common.onBackgroundChannel} / ${L.vars.opacity.inputUnderline})`),(0,f.Z)({position:"relative"},c.formControl&&{"label + &":{marginTop:16}},!c.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(L.vars||L).palette[c.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:L.transitions.create("transform",{duration:L.transitions.duration.shorter,easing:L.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${W.Z.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${W.Z.error}`]:{"&:before, &:after":{borderBottomColor:(L.vars||L).palette.error.main}},"&:before":{borderBottom:`1px solid ${B}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:L.transitions.create("border-bottom-color",{duration:L.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${W.Z.disabled}, .${W.Z.error}):before`]:{borderBottom:`2px solid ${(L.vars||L).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${B}`}},[`&.${W.Z.disabled}:before`]:{borderBottomStyle:"dotted"}})}),T=(0,M.ZP)(v.rA,{name:"MuiInput",slot:"Input",overridesResolver:v._o})({}),V=l.forwardRef(function(c,R){var B,X,g,p;const O=(0,ee.Z)({props:c,name:"MuiInput"}),{disableUnderline:I,components:E={},componentsProps:K,fullWidth:d=!1,inputComponent:i="input",multiline:x=!1,slotProps:A,slots:w={},type:C="text"}=O,U=(0,n.Z)(O,se),F=S(O),le={root:{ownerState:{disableUnderline:I}}},ie=(A!=null?A:K)?(0,m.Z)(A!=null?A:K,le):le,j=(B=(X=w.root)!=null?X:E.Root)!=null?B:J,ue=(g=(p=w.input)!=null?p:E.Input)!=null?g:T;return(0,re.jsx)(v.ZP,(0,f.Z)({slots:{root:j,input:ue},slotProps:ie,fullWidth:d,inputComponent:i,multiline:x,ref:R,type:C},U,{classes:F}))});V.muiName="Input",$.Z=V},87419:function(_e,$,t){"use strict";t.d($,{l:function(){return m}});var n=t(87462),f=t(67402),l=t(85111),u=t(38282);function m(M){return(0,l.Z)("MuiInput",M)}const v=(0,n.Z)({},u.Z,(0,f.Z)("MuiInput",["root","underline","input"]));$.Z=v},70907:function(_e,$,t){"use strict";t.d($,{Z:function(){return i}});var n=t(63366),f=t(87462),l=t(89526),u=t(23060),m=t(13957),v=t(88623),M=t(82500),ee=t(87260),W=t(69790),re=t(89428),se=t(19855),S=t(67402),J=t(85111);function T(x){return(0,J.Z)("MuiLink",x)}var L=(0,S.Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),c=t(13713),R=t(72945);const B={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},X=x=>B[x]||x;var p=({theme:x,ownerState:A})=>{const w=X(A.color),C=(0,c.DW)(x,`palette.${w}`,!1)||A.color,U=(0,c.DW)(x,`palette.${w}Channel`);return"vars"in x&&U?`rgba(${U} / 0.4)`:(0,R.Fq)(C,.4)},O=t(67557);const I=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],E=x=>{const{classes:A,component:w,focusVisible:C,underline:U}=x,F={root:["root",`underline${(0,v.Z)(U)}`,w==="button"&&"button",C&&"focusVisible"]};return(0,m.Z)(F,T,A)},K=(0,M.ZP)(se.Z,{name:"MuiLink",slot:"Root",overridesResolver:(x,A)=>{const{ownerState:w}=x;return[A.root,A[`underline${(0,v.Z)(w.underline)}`],w.component==="button"&&A.button]}})(({theme:x,ownerState:A})=>(0,f.Z)({},A.underline==="none"&&{textDecoration:"none"},A.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},A.underline==="always"&&(0,f.Z)({textDecoration:"underline"},A.color!=="inherit"&&{textDecorationColor:p({theme:x,ownerState:A})},{"&:hover":{textDecorationColor:"inherit"}}),A.component==="button"&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${L.focusVisible}`]:{outline:"auto"}}));var i=l.forwardRef(function(A,w){const C=(0,ee.Z)({props:A,name:"MuiLink"}),{className:U,color:F="primary",component:Y="a",onBlur:le,onFocus:ie,TypographyClasses:j,underline:ue="always",variant:P="inherit",sx:Z}=C,ae=(0,n.Z)(C,I),{isFocusVisibleRef:ce,onBlur:be,onFocus:pe,ref:h}=(0,W.Z)(),[te,Q]=l.useState(!1),we=(0,re.Z)(w,h),Se=qe=>{be(qe),ce.current===!1&&Q(!1),le&&le(qe)},Ne=qe=>{pe(qe),ce.current===!0&&Q(!0),ie&&ie(qe)},ze=(0,f.Z)({},C,{color:F,component:Y,focusVisible:te,underline:ue,variant:P}),Je=E(ze);return(0,O.jsx)(K,(0,f.Z)({color:F,className:(0,u.default)(Je.root,U),classes:j,component:Y,onBlur:Se,onFocus:Ne,ref:we,ownerState:ze,variant:P,sx:[...Object.keys(B).includes(F)?[]:[{color:F}],...Array.isArray(Z)?Z:[Z]]},ae))})},79882:function(_e,$,t){"use strict";var n=t(63366),f=t(87462),l=t(89526),u=t(23060),m=t(13957),v=t(82500),M=t(87260),ee=t(74534),W=t(27511),re=t(67557);const se=["className"],S=V=>{const{alignItems:L,classes:c}=V,R={root:["root",L==="flex-start"&&"alignItemsFlexStart"]};return(0,m.Z)(R,ee.f,c)},J=(0,v.ZP)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(V,L)=>{const{ownerState:c}=V;return[L.root,c.alignItems==="flex-start"&&L.alignItemsFlexStart]}})(({theme:V,ownerState:L})=>(0,f.Z)({minWidth:56,color:(V.vars||V).palette.action.active,flexShrink:0,display:"inline-flex"},L.alignItems==="flex-start"&&{marginTop:8})),T=l.forwardRef(function(L,c){const R=(0,M.Z)({props:L,name:"MuiListItemIcon"}),{className:B}=R,X=(0,n.Z)(R,se),g=l.useContext(W.Z),p=(0,f.Z)({},R,{alignItems:g.alignItems}),O=S(p);return(0,re.jsx)(J,(0,f.Z)({className:(0,u.default)(O.root,B),ownerState:p,ref:c},X))});$.Z=T},74534:function(_e,$,t){"use strict";t.d($,{f:function(){return l}});var n=t(67402),f=t(85111);function l(m){return(0,f.Z)("MuiListItemIcon",m)}const u=(0,n.Z)("MuiListItemIcon",["root","alignItemsFlexStart"]);$.Z=u},57931:function(_e,$,t){"use strict";var n=t(63366),f=t(87462),l=t(89526),u=t(23060),m=t(13957),v=t(19855),M=t(27511),ee=t(87260),W=t(82500),re=t(37148),se=t(67557);const S=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],J=L=>{const{classes:c,inset:R,primary:B,secondary:X,dense:g}=L,p={root:["root",R&&"inset",g&&"dense",B&&X&&"multiline"],primary:["primary"],secondary:["secondary"]};return(0,m.Z)(p,re.L,c)},T=(0,W.ZP)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(L,c)=>{const{ownerState:R}=L;return[{[`& .${re.Z.primary}`]:c.primary},{[`& .${re.Z.secondary}`]:c.secondary},c.root,R.inset&&c.inset,R.primary&&R.secondary&&c.multiline,R.dense&&c.dense]}})(({ownerState:L})=>(0,f.Z)({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},L.primary&&L.secondary&&{marginTop:6,marginBottom:6},L.inset&&{paddingLeft:56})),V=l.forwardRef(function(c,R){const B=(0,ee.Z)({props:c,name:"MuiListItemText"}),{children:X,className:g,disableTypography:p=!1,inset:O=!1,primary:I,primaryTypographyProps:E,secondary:K,secondaryTypographyProps:d}=B,i=(0,n.Z)(B,S),{dense:x}=l.useContext(M.Z);let A=I!=null?I:X,w=K;const C=(0,f.Z)({},B,{disableTypography:p,inset:O,primary:!!A,secondary:!!w,dense:x}),U=J(C);return A!=null&&A.type!==v.Z&&!p&&(A=(0,se.jsx)(v.Z,(0,f.Z)({variant:x?"body2":"body1",className:U.primary,component:E!=null&&E.variant?void 0:"span",display:"block"},E,{children:A}))),w!=null&&w.type!==v.Z&&!p&&(w=(0,se.jsx)(v.Z,(0,f.Z)({variant:"body2",className:U.secondary,color:"text.secondary",display:"block"},d,{children:w}))),(0,se.jsxs)(T,(0,f.Z)({className:(0,u.default)(U.root,g),ownerState:C,ref:R},i,{children:[A,w]}))});$.Z=V},37148:function(_e,$,t){"use strict";t.d($,{L:function(){return l}});var n=t(67402),f=t(85111);function l(m){return(0,f.Z)("MuiListItemText",m)}const u=(0,n.Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);$.Z=u},86041:function(_e,$,t){"use strict";t.d($,{ZP:function(){return ue}});var n=t(63366),f=t(87462),l=t(89526),u=t(23060),m=t(13957),v=t(14823),M=t(72945),ee=t(82500),W=t(87260),re=t(98592),se=t(49572),S=t(63830),J=t(89428),T=t(27511),V=t(67402),L=t(85111);function c(P){return(0,L.Z)("MuiListItem",P)}var B=(0,V.Z)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);function X(P){return generateUtilityClass("MuiListItemButton",P)}var p=(0,V.Z)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function O(P){return(0,L.Z)("MuiListItemSecondaryAction",P)}const I=(0,V.Z)("MuiListItemSecondaryAction",["root","disableGutters"]);var E=null,K=t(67557);const d=["className"],i=P=>{const{disableGutters:Z,classes:ae}=P,ce={root:["root",Z&&"disableGutters"]};return(0,m.Z)(ce,O,ae)},x=(0,ee.ZP)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(P,Z)=>{const{ownerState:ae}=P;return[Z.root,ae.disableGutters&&Z.disableGutters]}})(({ownerState:P})=>(0,f.Z)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},P.disableGutters&&{right:0})),A=l.forwardRef(function(Z,ae){const ce=(0,W.Z)({props:Z,name:"MuiListItemSecondaryAction"}),{className:be}=ce,pe=(0,n.Z)(ce,d),h=l.useContext(T.Z),te=(0,f.Z)({},ce,{disableGutters:h.disableGutters}),Q=i(te);return(0,K.jsx)(x,(0,f.Z)({className:(0,u.default)(Q.root,be),ownerState:te,ref:ae},pe))});A.muiName="ListItemSecondaryAction";var w=A;const C=["className"],U=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],F=(P,Z)=>{const{ownerState:ae}=P;return[Z.root,ae.dense&&Z.dense,ae.alignItems==="flex-start"&&Z.alignItemsFlexStart,ae.divider&&Z.divider,!ae.disableGutters&&Z.gutters,!ae.disablePadding&&Z.padding,ae.button&&Z.button,ae.hasSecondaryAction&&Z.secondaryAction]},Y=P=>{const{alignItems:Z,button:ae,classes:ce,dense:be,disabled:pe,disableGutters:h,disablePadding:te,divider:Q,hasSecondaryAction:we,selected:Se}=P,Ne={root:["root",be&&"dense",!h&&"gutters",!te&&"padding",Q&&"divider",pe&&"disabled",ae&&"button",Z==="flex-start"&&"alignItemsFlexStart",we&&"secondaryAction",Se&&"selected"],container:["container"]};return(0,m.Z)(Ne,c,ce)},le=(0,ee.ZP)("div",{name:"MuiListItem",slot:"Root",overridesResolver:F})(({theme:P,ownerState:Z})=>(0,f.Z)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!Z.disablePadding&&(0,f.Z)({paddingTop:8,paddingBottom:8},Z.dense&&{paddingTop:4,paddingBottom:4},!Z.disableGutters&&{paddingLeft:16,paddingRight:16},!!Z.secondaryAction&&{paddingRight:48}),!!Z.secondaryAction&&{[`& > .${p.root}`]:{paddingRight:48}},{[`&.${B.focusVisible}`]:{backgroundColor:(P.vars||P).palette.action.focus},[`&.${B.selected}`]:{backgroundColor:P.vars?`rgba(${P.vars.palette.primary.mainChannel} / ${P.vars.palette.action.selectedOpacity})`:(0,M.Fq)(P.palette.primary.main,P.palette.action.selectedOpacity),[`&.${B.focusVisible}`]:{backgroundColor:P.vars?`rgba(${P.vars.palette.primary.mainChannel} / calc(${P.vars.palette.action.selectedOpacity} + ${P.vars.palette.action.focusOpacity}))`:(0,M.Fq)(P.palette.primary.main,P.palette.action.selectedOpacity+P.palette.action.focusOpacity)}},[`&.${B.disabled}`]:{opacity:(P.vars||P).palette.action.disabledOpacity}},Z.alignItems==="flex-start"&&{alignItems:"flex-start"},Z.divider&&{borderBottom:`1px solid ${(P.vars||P).palette.divider}`,backgroundClip:"padding-box"},Z.button&&{transition:P.transitions.create("background-color",{duration:P.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(P.vars||P).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${B.selected}:hover`]:{backgroundColor:P.vars?`rgba(${P.vars.palette.primary.mainChannel} / calc(${P.vars.palette.action.selectedOpacity} + ${P.vars.palette.action.hoverOpacity}))`:(0,M.Fq)(P.palette.primary.main,P.palette.action.selectedOpacity+P.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:P.vars?`rgba(${P.vars.palette.primary.mainChannel} / ${P.vars.palette.action.selectedOpacity})`:(0,M.Fq)(P.palette.primary.main,P.palette.action.selectedOpacity)}}},Z.hasSecondaryAction&&{paddingRight:48})),ie=(0,ee.ZP)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(P,Z)=>Z.container})({position:"relative"});var ue=l.forwardRef(function(Z,ae){const ce=(0,W.Z)({props:Z,name:"MuiListItem"}),{alignItems:be="center",autoFocus:pe=!1,button:h=!1,children:te,className:Q,component:we,components:Se={},componentsProps:Ne={},ContainerComponent:ze="li",ContainerProps:{className:Je}={},dense:qe=!1,disabled:Me=!1,disableGutters:Fe=!1,disablePadding:Ue=!1,divider:he=!1,focusVisibleClassName:xe,secondaryAction:q,selected:me=!1,slotProps:De={},slots:Te={}}=ce,Oe=(0,n.Z)(ce.ContainerProps,C),st=(0,n.Z)(ce,U),Ft=l.useContext(T.Z),Qt=l.useMemo(()=>({dense:qe||Ft.dense||!1,alignItems:be,disableGutters:Fe}),[be,Ft.dense,qe,Fe]),Vt=l.useRef(null);(0,S.Z)(()=>{pe&&Vt.current&&Vt.current.focus()},[pe]);const Gt=l.Children.toArray(te),Jt=Gt.length&&(0,se.Z)(Gt[Gt.length-1],["ListItemSecondaryAction"]),Lr=(0,f.Z)({},ce,{alignItems:be,autoFocus:pe,button:h,dense:Qt.dense,disabled:Me,disableGutters:Fe,disablePadding:Ue,divider:he,hasSecondaryAction:Jt,selected:me}),Rr=Y(Lr),Gr=(0,J.Z)(Vt,ae),zr=Te.root||Se.Root||le,pr=De.root||Ne.root||{},vn=(0,f.Z)({className:(0,u.default)(Rr.root,pr.className,Q),disabled:Me},st);let fn=we||"li";return h&&(vn.component=we||"div",vn.focusVisibleClassName=(0,u.default)(B.focusVisible,xe),fn=re.Z),Jt?(fn=!vn.component&&!we?"div":fn,ze==="li"&&(fn==="li"?fn="div":vn.component==="li"&&(vn.component="div")),(0,K.jsx)(T.Z.Provider,{value:Qt,children:(0,K.jsxs)(ie,(0,f.Z)({as:ze,className:(0,u.default)(Rr.container,Je),ref:Gr,ownerState:Lr},Oe,{children:[(0,K.jsx)(zr,(0,f.Z)({},pr,!(0,v.Z)(zr)&&{as:fn,ownerState:(0,f.Z)({},Lr,pr.ownerState)},vn,{children:Gt})),Gt.pop()]}))})):(0,K.jsx)(T.Z.Provider,{value:Qt,children:(0,K.jsxs)(zr,(0,f.Z)({},pr,{as:fn,ref:Gr},!(0,v.Z)(zr)&&{ownerState:(0,f.Z)({},Lr,pr.ownerState)},vn,{children:[Gt,q&&(0,K.jsx)(w,{children:q})]}))})})},81445:function(_e,$,t){"use strict";t.d($,{Z:function(){return B}});var n=t(63366),f=t(87462),l=t(89526),u=t(23060),m=t(13957),v=t(82500),M=t(87260),ee=t(27511),W=t(67402),re=t(85111);function se(X){return(0,re.Z)("MuiList",X)}const S=(0,W.Z)("MuiList",["root","padding","dense","subheader"]);var J=null,T=t(67557);const V=["children","className","component","dense","disablePadding","subheader"],L=X=>{const{classes:g,disablePadding:p,dense:O,subheader:I}=X,E={root:["root",!p&&"padding",O&&"dense",I&&"subheader"]};return(0,m.Z)(E,se,g)},c=(0,v.ZP)("ul",{name:"MuiList",slot:"Root",overridesResolver:(X,g)=>{const{ownerState:p}=X;return[g.root,!p.disablePadding&&g.padding,p.dense&&g.dense,p.subheader&&g.subheader]}})(({ownerState:X})=>(0,f.Z)({listStyle:"none",margin:0,padding:0,position:"relative"},!X.disablePadding&&{paddingTop:8,paddingBottom:8},X.subheader&&{paddingTop:0}));var B=l.forwardRef(function(g,p){const O=(0,M.Z)({props:g,name:"MuiList"}),{children:I,className:E,component:K="ul",dense:d=!1,disablePadding:i=!1,subheader:x}=O,A=(0,n.Z)(O,V),w=l.useMemo(()=>({dense:d}),[d]),C=(0,f.Z)({},O,{component:K,dense:d,disablePadding:i}),U=L(C);return(0,T.jsx)(ee.Z.Provider,{value:w,children:(0,T.jsxs)(c,(0,f.Z)({as:K,className:(0,u.default)(U.root,E),ref:p,ownerState:C},A,{children:[x,I]}))})})},27511:function(_e,$,t){"use strict";var n=t(89526);const f=n.createContext({});$.Z=f},90897:function(_e,$,t){"use strict";t.d($,{Z:function(){return d}});var n=t(63366),f=t(87462),l=t(89526),u=t(23060),m=t(13957),v=t(72945),M=t(82500),ee=t(87260),W=t(27511),re=t(98592),se=t(63830),S=t(89428),J=t(13272),T=t(74534),V=t(37148),L=t(67402),c=t(85111);function R(i){return(0,c.Z)("MuiMenuItem",i)}var X=(0,L.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),g=t(67557);const p=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],O=(i,x)=>{const{ownerState:A}=i;return[x.root,A.dense&&x.dense,A.divider&&x.divider,!A.disableGutters&&x.gutters]},I=i=>{const{disabled:x,dense:A,divider:w,disableGutters:C,selected:U,classes:F}=i,Y={root:["root",A&&"dense",x&&"disabled",!C&&"gutters",w&&"divider",U&&"selected"]},le=(0,m.Z)(Y,R,F);return(0,f.Z)({},F,le)},E=(0,M.ZP)(re.Z,{shouldForwardProp:i=>(0,M.FO)(i)||i==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:O})(({theme:i,ownerState:x})=>(0,f.Z)({},i.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!x.disableGutters&&{paddingLeft:16,paddingRight:16},x.divider&&{borderBottom:`1px solid ${(i.vars||i).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(i.vars||i).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${X.selected}`]:{backgroundColor:i.vars?`rgba(${i.vars.palette.primary.mainChannel} / ${i.vars.palette.action.selectedOpacity})`:(0,v.Fq)(i.palette.primary.main,i.palette.action.selectedOpacity),[`&.${X.focusVisible}`]:{backgroundColor:i.vars?`rgba(${i.vars.palette.primary.mainChannel} / calc(${i.vars.palette.action.selectedOpacity} + ${i.vars.palette.action.focusOpacity}))`:(0,v.Fq)(i.palette.primary.main,i.palette.action.selectedOpacity+i.palette.action.focusOpacity)}},[`&.${X.selected}:hover`]:{backgroundColor:i.vars?`rgba(${i.vars.palette.primary.mainChannel} / calc(${i.vars.palette.action.selectedOpacity} + ${i.vars.palette.action.hoverOpacity}))`:(0,v.Fq)(i.palette.primary.main,i.palette.action.selectedOpacity+i.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:i.vars?`rgba(${i.vars.palette.primary.mainChannel} / ${i.vars.palette.action.selectedOpacity})`:(0,v.Fq)(i.palette.primary.main,i.palette.action.selectedOpacity)}},[`&.${X.focusVisible}`]:{backgroundColor:(i.vars||i).palette.action.focus},[`&.${X.disabled}`]:{opacity:(i.vars||i).palette.action.disabledOpacity},[`& + .${J.Z.root}`]:{marginTop:i.spacing(1),marginBottom:i.spacing(1)},[`& + .${J.Z.inset}`]:{marginLeft:52},[`& .${V.Z.root}`]:{marginTop:0,marginBottom:0},[`& .${V.Z.inset}`]:{paddingLeft:36},[`& .${T.Z.root}`]:{minWidth:36}},!x.dense&&{[i.breakpoints.up("sm")]:{minHeight:"auto"}},x.dense&&(0,f.Z)({minHeight:32,paddingTop:4,paddingBottom:4},i.typography.body2,{[`& .${T.Z.root} svg`]:{fontSize:"1.25rem"}})));var d=l.forwardRef(function(x,A){const w=(0,ee.Z)({props:x,name:"MuiMenuItem"}),{autoFocus:C=!1,component:U="li",dense:F=!1,divider:Y=!1,disableGutters:le=!1,focusVisibleClassName:ie,role:j="menuitem",tabIndex:ue,className:P}=w,Z=(0,n.Z)(w,p),ae=l.useContext(W.Z),ce=l.useMemo(()=>({dense:F||ae.dense||!1,disableGutters:le}),[ae.dense,F,le]),be=l.useRef(null);(0,se.Z)(()=>{C&&be.current&&be.current.focus()},[C]);const pe=(0,f.Z)({},w,{dense:ce.dense,divider:Y,disableGutters:le}),h=I(w),te=(0,S.Z)(be,A);let Q;return w.disabled||(Q=ue!==void 0?ue:-1),(0,g.jsx)(W.Z.Provider,{value:ce,children:(0,g.jsx)(E,(0,f.Z)({ref:te,role:j,tabIndex:Q,component:U,focusVisibleClassName:(0,u.default)(h.focusVisible,ie),className:(0,u.default)(h.root,P)},Z,{ownerState:pe,classes:h}))})})},42617:function(_e,$,t){"use strict";t.d($,{Z:function(){return P}});var n=t(87462),f=t(63366),l=t(89526),u=t(21536),m=t(23060),v=t(13957),M=t(72022),ee=t(81445),W=t(89770),re=W.Z,se=t(89428),S=t(63830),J=t(67557);const T=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function V(Z,ae,ce){return Z===ae?Z.firstChild:ae&&ae.nextElementSibling?ae.nextElementSibling:ce?null:Z.firstChild}function L(Z,ae,ce){return Z===ae?ce?Z.firstChild:Z.lastChild:ae&&ae.previousElementSibling?ae.previousElementSibling:ce?null:Z.lastChild}function c(Z,ae){if(ae===void 0)return!0;let ce=Z.innerText;return ce===void 0&&(ce=Z.textContent),ce=ce.trim().toLowerCase(),ce.length===0?!1:ae.repeating?ce[0]===ae.keys[0]:ce.indexOf(ae.keys.join(""))===0}function R(Z,ae,ce,be,pe,h){let te=!1,Q=pe(Z,ae,ae?ce:!1);for(;Q;){if(Q===Z.firstChild){if(te)return!1;te=!0}const we=be?!1:Q.disabled||Q.getAttribute("aria-disabled")==="true";if(!Q.hasAttribute("tabindex")||!c(Q,h)||we)Q=pe(Z,Q,ce);else return Q.focus(),!0}return!1}var X=l.forwardRef(function(ae,ce){const{actions:be,autoFocus:pe=!1,autoFocusItem:h=!1,children:te,className:Q,disabledItemsFocusable:we=!1,disableListWrap:Se=!1,onKeyDown:Ne,variant:ze="selectedMenu"}=ae,Je=(0,f.Z)(ae,T),qe=l.useRef(null),Me=l.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,S.Z)(()=>{pe&&qe.current.focus()},[pe]),l.useImperativeHandle(be,()=>({adjustStyleForScrollbar:(q,me)=>{const De=!qe.current.style.width;if(q.clientHeight<qe.current.clientHeight&&De){const Te=`${re((0,M.Z)(q))}px`;qe.current.style[me.direction==="rtl"?"paddingLeft":"paddingRight"]=Te,qe.current.style.width=`calc(100% + ${Te})`}return qe.current}}),[]);const Fe=q=>{const me=qe.current,De=q.key,Te=(0,M.Z)(me).activeElement;if(De==="ArrowDown")q.preventDefault(),R(me,Te,Se,we,V);else if(De==="ArrowUp")q.preventDefault(),R(me,Te,Se,we,L);else if(De==="Home")q.preventDefault(),R(me,null,Se,we,V);else if(De==="End")q.preventDefault(),R(me,null,Se,we,L);else if(De.length===1){const Oe=Me.current,st=De.toLowerCase(),Ft=performance.now();Oe.keys.length>0&&(Ft-Oe.lastTime>500?(Oe.keys=[],Oe.repeating=!0,Oe.previousKeyMatched=!0):Oe.repeating&&st!==Oe.keys[0]&&(Oe.repeating=!1)),Oe.lastTime=Ft,Oe.keys.push(st);const Qt=Te&&!Oe.repeating&&c(Te,Oe);Oe.previousKeyMatched&&(Qt||R(me,Te,!1,we,V,Oe))?q.preventDefault():Oe.previousKeyMatched=!1}Ne&&Ne(q)},Ue=(0,se.Z)(qe,ce);let he=-1;l.Children.forEach(te,(q,me)=>{l.isValidElement(q)&&(q.props.disabled||(ze==="selectedMenu"&&q.props.selected||he===-1)&&(he=me))});const xe=l.Children.map(te,(q,me)=>{if(me===he){const De={};return h&&(De.autoFocus=!0),q.props.tabIndex===void 0&&ze==="selectedMenu"&&(De.tabIndex=0),l.cloneElement(q,De)}return q});return(0,J.jsx)(ee.Z,(0,n.Z)({role:"menu",ref:Ue,className:Q,onKeyDown:Fe,tabIndex:pe?0:-1},Je,{children:xe}))}),g=t(77290),p=t(85265),O=t(82500),I=t(18051),E=t(87260),K=t(67402),d=t(85111);function i(Z){return(0,d.Z)("MuiMenu",Z)}const x=(0,K.Z)("MuiMenu",["root","paper","list"]);var A=null;const w=["onEntering"],C=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],U={vertical:"top",horizontal:"right"},F={vertical:"top",horizontal:"left"},Y=Z=>{const{classes:ae}=Z,ce={root:["root"],paper:["paper"],list:["list"]};return(0,v.Z)(ce,i,ae)},le=(0,O.ZP)(p.ZP,{shouldForwardProp:Z=>(0,O.FO)(Z)||Z==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(Z,ae)=>ae.root})({}),ie=(0,O.ZP)(g.Z,{name:"MuiMenu",slot:"Paper",overridesResolver:(Z,ae)=>ae.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),j=(0,O.ZP)(X,{name:"MuiMenu",slot:"List",overridesResolver:(Z,ae)=>ae.list})({outline:0});var P=l.forwardRef(function(ae,ce){const be=(0,E.Z)({props:ae,name:"MuiMenu"}),{autoFocus:pe=!0,children:h,disableAutoFocusItem:te=!1,MenuListProps:Q={},onClose:we,open:Se,PaperProps:Ne={},PopoverClasses:ze,transitionDuration:Je="auto",TransitionProps:{onEntering:qe}={},variant:Me="selectedMenu"}=be,Fe=(0,f.Z)(be.TransitionProps,w),Ue=(0,f.Z)(be,C),he=(0,I.Z)(),xe=he.direction==="rtl",q=(0,n.Z)({},be,{autoFocus:pe,disableAutoFocusItem:te,MenuListProps:Q,onEntering:qe,PaperProps:Ne,transitionDuration:Je,TransitionProps:Fe,variant:Me}),me=Y(q),De=pe&&!te&&Se,Te=l.useRef(null),Oe=(Qt,Vt)=>{Te.current&&Te.current.adjustStyleForScrollbar(Qt,he),qe&&qe(Qt,Vt)},st=Qt=>{Qt.key==="Tab"&&(Qt.preventDefault(),we&&we(Qt,"tabKeyDown"))};let Ft=-1;return l.Children.map(h,(Qt,Vt)=>{l.isValidElement(Qt)&&(Qt.props.disabled||(Me==="selectedMenu"&&Qt.props.selected||Ft===-1)&&(Ft=Vt))}),(0,J.jsx)(le,(0,n.Z)({onClose:we,anchorOrigin:{vertical:"bottom",horizontal:xe?"right":"left"},transformOrigin:xe?U:F,PaperProps:(0,n.Z)({component:ie},Ne,{classes:(0,n.Z)({},Ne.classes,{root:me.paper})}),className:me.root,open:Se,ref:ce,transitionDuration:Je,TransitionProps:(0,n.Z)({onEntering:Oe},Fe),ownerState:q},Ue,{classes:ze,children:(0,J.jsx)(j,(0,n.Z)({onKeyDown:st,actions:Te,autoFocus:pe&&(Ft===-1||te),autoFocusItem:De,variant:Me},Q,{className:(0,m.default)(me.list,Q.className),children:h}))}))})},64765:function(_e,$,t){"use strict";t.d($,{Z:function(){return qe}});var n=t(63366),f=t(87462),l=t(89526),u=t(61199),m=t(25156),v=t(58426),M=t(32733),ee=t(13957),W=t(64028),re=t(69923),se=t(89770);function S(Me){const Fe=(0,m.Z)(Me);return Fe.body===Me?(0,re.Z)(Me).innerWidth>Fe.documentElement.clientWidth:Me.scrollHeight>Me.clientHeight}function J(Me,Fe){Fe?Me.setAttribute("aria-hidden","true"):Me.removeAttribute("aria-hidden")}function T(Me){return parseInt((0,re.Z)(Me).getComputedStyle(Me).paddingRight,10)||0}function V(Me){const Ue=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(Me.tagName)!==-1,he=Me.tagName==="INPUT"&&Me.getAttribute("type")==="hidden";return Ue||he}function L(Me,Fe,Ue,he,xe){const q=[Fe,Ue,...he];[].forEach.call(Me.children,me=>{const De=q.indexOf(me)===-1,Te=!V(me);De&&Te&&J(me,xe)})}function c(Me,Fe){let Ue=-1;return Me.some((he,xe)=>Fe(he)?(Ue=xe,!0):!1),Ue}function R(Me,Fe){const Ue=[],he=Me.container;if(!Fe.disableScrollLock){if(S(he)){const me=(0,se.Z)((0,m.Z)(he));Ue.push({value:he.style.paddingRight,property:"padding-right",el:he}),he.style.paddingRight=`${T(he)+me}px`;const De=(0,m.Z)(he).querySelectorAll(".mui-fixed");[].forEach.call(De,Te=>{Ue.push({value:Te.style.paddingRight,property:"padding-right",el:Te}),Te.style.paddingRight=`${T(Te)+me}px`})}let q;if(he.parentNode instanceof DocumentFragment)q=(0,m.Z)(he).body;else{const me=he.parentElement,De=(0,re.Z)(he);q=(me==null?void 0:me.nodeName)==="HTML"&&De.getComputedStyle(me).overflowY==="scroll"?me:he}Ue.push({value:q.style.overflow,property:"overflow",el:q},{value:q.style.overflowX,property:"overflow-x",el:q},{value:q.style.overflowY,property:"overflow-y",el:q}),q.style.overflow="hidden"}return()=>{Ue.forEach(({value:q,el:me,property:De})=>{q?me.style.setProperty(De,q):me.style.removeProperty(De)})}}function B(Me){const Fe=[];return[].forEach.call(Me.children,Ue=>{Ue.getAttribute("aria-hidden")==="true"&&Fe.push(Ue)}),Fe}class X{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(Fe,Ue){let he=this.modals.indexOf(Fe);if(he!==-1)return he;he=this.modals.length,this.modals.push(Fe),Fe.modalRef&&J(Fe.modalRef,!1);const xe=B(Ue);L(Ue,Fe.mount,Fe.modalRef,xe,!0);const q=c(this.containers,me=>me.container===Ue);return q!==-1?(this.containers[q].modals.push(Fe),he):(this.containers.push({modals:[Fe],container:Ue,restore:null,hiddenSiblings:xe}),he)}mount(Fe,Ue){const he=c(this.containers,q=>q.modals.indexOf(Fe)!==-1),xe=this.containers[he];xe.restore||(xe.restore=R(xe,Ue))}remove(Fe,Ue=!0){const he=this.modals.indexOf(Fe);if(he===-1)return he;const xe=c(this.containers,me=>me.modals.indexOf(Fe)!==-1),q=this.containers[xe];if(q.modals.splice(q.modals.indexOf(Fe),1),this.modals.splice(he,1),q.modals.length===0)q.restore&&q.restore(),Fe.modalRef&&J(Fe.modalRef,Ue),L(q.container,Fe.mount,Fe.modalRef,q.hiddenSiblings,!1),this.containers.splice(xe,1);else{const me=q.modals[q.modals.length-1];me.modalRef&&J(me.modalRef,!1)}return he}isTopModal(Fe){return this.modals.length>0&&this.modals[this.modals.length-1]===Fe}}var g=t(67557);const p=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function O(Me){const Fe=parseInt(Me.getAttribute("tabindex")||"",10);return Number.isNaN(Fe)?Me.contentEditable==="true"||(Me.nodeName==="AUDIO"||Me.nodeName==="VIDEO"||Me.nodeName==="DETAILS")&&Me.getAttribute("tabindex")===null?0:Me.tabIndex:Fe}function I(Me){if(Me.tagName!=="INPUT"||Me.type!=="radio"||!Me.name)return!1;const Fe=he=>Me.ownerDocument.querySelector(`input[type="radio"]${he}`);let Ue=Fe(`[name="${Me.name}"]:checked`);return Ue||(Ue=Fe(`[name="${Me.name}"]`)),Ue!==Me}function E(Me){return!(Me.disabled||Me.tagName==="INPUT"&&Me.type==="hidden"||I(Me))}function K(Me){const Fe=[],Ue=[];return Array.from(Me.querySelectorAll(p)).forEach((he,xe)=>{const q=O(he);q===-1||!E(he)||(q===0?Fe.push(he):Ue.push({documentOrder:xe,tabIndex:q,node:he}))}),Ue.sort((he,xe)=>he.tabIndex===xe.tabIndex?he.documentOrder-xe.documentOrder:he.tabIndex-xe.tabIndex).map(he=>he.node).concat(Fe)}function d(){return!0}function i(Me){const{children:Fe,disableAutoFocus:Ue=!1,disableEnforceFocus:he=!1,disableRestoreFocus:xe=!1,getTabbable:q=K,isEnabled:me=d,open:De}=Me,Te=l.useRef(!1),Oe=l.useRef(null),st=l.useRef(null),Ft=l.useRef(null),Qt=l.useRef(null),Vt=l.useRef(!1),Gt=l.useRef(null),Jt=(0,u.Z)(Fe.ref,Gt),Lr=l.useRef(null);l.useEffect(()=>{!De||!Gt.current||(Vt.current=!Ue)},[Ue,De]),l.useEffect(()=>{if(!De||!Gt.current)return;const zr=(0,m.Z)(Gt.current);return Gt.current.contains(zr.activeElement)||(Gt.current.hasAttribute("tabIndex")||Gt.current.setAttribute("tabIndex","-1"),Vt.current&&Gt.current.focus()),()=>{xe||(Ft.current&&Ft.current.focus&&(Te.current=!0,Ft.current.focus()),Ft.current=null)}},[De]),l.useEffect(()=>{if(!De||!Gt.current)return;const zr=(0,m.Z)(Gt.current),pr=Zt=>{const{current:St}=Gt;if(St!==null){if(!zr.hasFocus()||he||!me()||Te.current){Te.current=!1;return}if(!St.contains(zr.activeElement)){if(Zt&&Qt.current!==Zt.target||zr.activeElement!==Qt.current)Qt.current=null;else if(Qt.current!==null)return;if(!Vt.current)return;let dt=[];if((zr.activeElement===Oe.current||zr.activeElement===st.current)&&(dt=q(Gt.current)),dt.length>0){var Wt,Nt;const nr=Boolean(((Wt=Lr.current)==null?void 0:Wt.shiftKey)&&((Nt=Lr.current)==null?void 0:Nt.key)==="Tab"),et=dt[0],Tt=dt[dt.length-1];typeof et!="string"&&typeof Tt!="string"&&(nr?Tt.focus():et.focus())}else St.focus()}}},vn=Zt=>{Lr.current=Zt,!(he||!me()||Zt.key!=="Tab")&&zr.activeElement===Gt.current&&Zt.shiftKey&&(Te.current=!0,st.current&&st.current.focus())};zr.addEventListener("focusin",pr),zr.addEventListener("keydown",vn,!0);const fn=setInterval(()=>{zr.activeElement&&zr.activeElement.tagName==="BODY"&&pr(null)},50);return()=>{clearInterval(fn),zr.removeEventListener("focusin",pr),zr.removeEventListener("keydown",vn,!0)}},[Ue,he,xe,me,De,q]);const Rr=zr=>{Ft.current===null&&(Ft.current=zr.relatedTarget),Vt.current=!0,Qt.current=zr.target;const pr=Fe.props.onFocus;pr&&pr(zr)},Gr=zr=>{Ft.current===null&&(Ft.current=zr.relatedTarget),Vt.current=!0};return(0,g.jsxs)(l.Fragment,{children:[(0,g.jsx)("div",{tabIndex:De?0:-1,onFocus:Gr,ref:Oe,"data-testid":"sentinelStart"}),l.cloneElement(Fe,{ref:Jt,onFocus:Rr}),(0,g.jsx)("div",{tabIndex:De?0:-1,onFocus:Gr,ref:st,"data-testid":"sentinelEnd"})]})}var x=i,A=t(67402),w=t(85111);function C(Me){return(0,w.Z)("MuiModal",Me)}const U=(0,A.Z)("MuiModal",["root","hidden"]);var F=null,Y=t(88011);const le=["children","classes","closeAfterTransition","component","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"],ie=Me=>{const{open:Fe,exited:Ue,classes:he}=Me,xe={root:["root",!Fe&&Ue&&"hidden"],backdrop:["backdrop"]};return(0,ee.Z)(xe,C,he)};function j(Me){return typeof Me=="function"?Me():Me}function ue(Me){return Me?Me.props.hasOwnProperty("in"):!1}const P=new X;var ae=l.forwardRef(function(Fe,Ue){var he,xe;const{children:q,classes:me,closeAfterTransition:De=!1,component:Te,container:Oe,disableAutoFocus:st=!1,disableEnforceFocus:Ft=!1,disableEscapeKeyDown:Qt=!1,disablePortal:Vt=!1,disableRestoreFocus:Gt=!1,disableScrollLock:Jt=!1,hideBackdrop:Lr=!1,keepMounted:Rr=!1,manager:Gr=P,onBackdropClick:zr,onClose:pr,onKeyDown:vn,open:fn,onTransitionEnter:Zt,onTransitionExited:St,slotProps:Wt={},slots:Nt={}}=Fe,dt=(0,n.Z)(Fe,le),[nr,et]=l.useState(!fn),Tt=l.useRef({}),Rt=l.useRef(null),or=l.useRef(null),ir=(0,u.Z)(or,Ue),Qr=ue(q),ft=(he=Fe["aria-hidden"])!=null?he:!0,tr=()=>(0,m.Z)(Rt.current),gr=()=>(Tt.current.modalRef=or.current,Tt.current.mountNode=Rt.current,Tt.current),ar=()=>{Gr.mount(gr(),{disableScrollLock:Jt}),or.current&&(or.current.scrollTop=0)},rt=(0,v.Z)(()=>{const Zn=j(Oe)||tr().body;Gr.add(gr(),Zn),or.current&&ar()}),kt=l.useCallback(()=>Gr.isTopModal(gr()),[Gr]),At=(0,v.Z)(Zn=>{Rt.current=Zn,!(!Zn||!or.current)&&(fn&&kt()?ar():J(or.current,ft))}),qt=l.useCallback(()=>{Gr.remove(gr(),ft)},[Gr,ft]);l.useEffect(()=>()=>{qt()},[qt]),l.useEffect(()=>{fn?rt():(!Qr||!De)&&qt()},[fn,qt,Qr,De,rt]);const sr=(0,f.Z)({},Fe,{classes:me,closeAfterTransition:De,disableAutoFocus:st,disableEnforceFocus:Ft,disableEscapeKeyDown:Qt,disablePortal:Vt,disableRestoreFocus:Gt,disableScrollLock:Jt,exited:nr,hideBackdrop:Lr,keepMounted:Rr}),Kr=ie(sr),kr=()=>{et(!1),Zt&&Zt()},nn=()=>{et(!0),St&&St(),De&&qt()},on=Zn=>{Zn.target===Zn.currentTarget&&(zr&&zr(Zn),pr&&pr(Zn,"backdropClick"))},vr=Zn=>{vn&&vn(Zn),!(Zn.key!=="Escape"||!kt())&&(Qt||(Zn.stopPropagation(),pr&&pr(Zn,"escapeKeyDown")))},Dr={};q.props.tabIndex===void 0&&(Dr.tabIndex="-1"),Qr&&(Dr.onEnter=(0,M.Z)(kr,q.props.onEnter),Dr.onExited=(0,M.Z)(nn,q.props.onExited));const _r=(xe=Te!=null?Te:Nt.root)!=null?xe:"div",Hr=(0,Y.Z)({elementType:_r,externalSlotProps:Wt.root,externalForwardedProps:dt,additionalProps:{ref:ir,role:"presentation",onKeyDown:vr},className:Kr.root,ownerState:sr}),Pr=Nt.backdrop,un=(0,Y.Z)({elementType:Pr,externalSlotProps:Wt.backdrop,additionalProps:{"aria-hidden":!0,onClick:on,open:fn},className:Kr.backdrop,ownerState:sr});return!Rr&&!fn&&(!Qr||nr)?null:(0,g.jsx)(W.Z,{ref:At,container:Oe,disablePortal:Vt,children:(0,g.jsxs)(_r,(0,f.Z)({},Hr,{children:[!Lr&&Pr?(0,g.jsx)(Pr,(0,f.Z)({},un)):null,(0,g.jsx)(x,{disableEnforceFocus:Ft,disableAutoFocus:st,disableRestoreFocus:Gt,isEnabled:kt,open:fn,children:l.cloneElement(q,Dr)})]}))})}),ce=t(64081),be=t(14823),pe=t(82500),h=t(87260),te=t(63049);const Q=["BackdropComponent","BackdropProps","closeAfterTransition","children","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","slotProps","slots","theme"],we=null,Se=Me=>Me.classes,Ne=(0,pe.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:(Me,Fe)=>{const{ownerState:Ue}=Me;return[Fe.root,!Ue.open&&Ue.exited&&Fe.hidden]}})(({theme:Me,ownerState:Fe})=>(0,f.Z)({position:"fixed",zIndex:(Me.vars||Me).zIndex.modal,right:0,bottom:0,top:0,left:0},!Fe.open&&Fe.exited&&{visibility:"hidden"})),ze=(0,pe.ZP)(te.Z,{name:"MuiModal",slot:"Backdrop",overridesResolver:(Me,Fe)=>Fe.backdrop})({zIndex:-1});var qe=l.forwardRef(function(Fe,Ue){var he,xe,q,me,De,Te;const Oe=(0,h.Z)({name:"MuiModal",props:Fe}),{BackdropComponent:st=ze,BackdropProps:Ft,closeAfterTransition:Qt=!1,children:Vt,component:Gt,components:Jt={},componentsProps:Lr={},disableAutoFocus:Rr=!1,disableEnforceFocus:Gr=!1,disableEscapeKeyDown:zr=!1,disablePortal:pr=!1,disableRestoreFocus:vn=!1,disableScrollLock:fn=!1,hideBackdrop:Zt=!1,keepMounted:St=!1,slotProps:Wt,slots:Nt,theme:dt}=Oe,nr=(0,n.Z)(Oe,Q),[et,Tt]=l.useState(!0),Rt={closeAfterTransition:Qt,disableAutoFocus:Rr,disableEnforceFocus:Gr,disableEscapeKeyDown:zr,disablePortal:pr,disableRestoreFocus:vn,disableScrollLock:fn,hideBackdrop:Zt,keepMounted:St},or=(0,f.Z)({},Oe,Rt,{exited:et}),ir=Se(or),Qr=(he=(xe=Nt==null?void 0:Nt.root)!=null?xe:Jt.Root)!=null?he:Ne,ft=(q=(me=Nt==null?void 0:Nt.backdrop)!=null?me:Jt.Backdrop)!=null?q:st,tr=(De=Wt==null?void 0:Wt.root)!=null?De:Lr.root,gr=(Te=Wt==null?void 0:Wt.backdrop)!=null?Te:Lr.backdrop;return(0,g.jsx)(ae,(0,f.Z)({slots:{root:Qr,backdrop:ft},slotProps:{root:()=>(0,f.Z)({},(0,ce.Z)(tr,or),!(0,be.Z)(Qr)&&{as:Gt,theme:dt}),backdrop:()=>(0,f.Z)({},Ft,(0,ce.Z)(gr,or))},onTransitionEnter:()=>Tt(!1),onTransitionExited:()=>Tt(!0),ref:Ue},nr,{classes:ir},Rt,{children:Vt}))})},2039:function(_e,$,t){"use strict";t.d($,{Z:function(){return O}});var n=t(63366),f=t(87462),l=t(89526),u=t(13957),m=t(82500),v=t(67557),M;const ee=["children","classes","className","label","notched"],W=(0,m.ZP)("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),re=(0,m.ZP)("legend")(({ownerState:I,theme:E})=>(0,f.Z)({float:"unset",width:"auto",overflow:"hidden"},!I.withLabel&&{padding:0,lineHeight:"11px",transition:E.transitions.create("width",{duration:150,easing:E.transitions.easing.easeOut})},I.withLabel&&(0,f.Z)({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:E.transitions.create("max-width",{duration:50,easing:E.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},I.notched&&{maxWidth:"100%",transition:E.transitions.create("max-width",{duration:100,easing:E.transitions.easing.easeOut,delay:50})})));function se(I){const{className:E,label:K,notched:d}=I,i=(0,n.Z)(I,ee),x=K!=null&&K!=="",A=(0,f.Z)({},I,{notched:d,withLabel:x});return(0,v.jsx)(W,(0,f.Z)({"aria-hidden":!0,className:E,ownerState:A},i,{children:(0,v.jsx)(re,{ownerState:A,children:x?(0,v.jsx)("span",{children:K}):M||(M=(0,v.jsx)("span",{className:"notranslate",children:"\u200B"}))})}))}var S=t(21704),J=t(82742),T=t(62818),V=t(36074),L=t(87260);const c=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],R=I=>{const{classes:E}=I,K={root:["root"],notchedOutline:["notchedOutline"],input:["input"]},d=(0,u.Z)(K,T.e,E);return(0,f.Z)({},E,d)},B=(0,m.ZP)(V.Ej,{shouldForwardProp:I=>(0,m.FO)(I)||I==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:V.Gx})(({theme:I,ownerState:E})=>{const K=I.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,f.Z)({position:"relative",borderRadius:(I.vars||I).shape.borderRadius,[`&:hover .${T.Z.notchedOutline}`]:{borderColor:(I.vars||I).palette.text.primary},"@media (hover: none)":{[`&:hover .${T.Z.notchedOutline}`]:{borderColor:I.vars?`rgba(${I.vars.palette.common.onBackgroundChannel} / 0.23)`:K}},[`&.${T.Z.focused} .${T.Z.notchedOutline}`]:{borderColor:(I.vars||I).palette[E.color].main,borderWidth:2},[`&.${T.Z.error} .${T.Z.notchedOutline}`]:{borderColor:(I.vars||I).palette.error.main},[`&.${T.Z.disabled} .${T.Z.notchedOutline}`]:{borderColor:(I.vars||I).palette.action.disabled}},E.startAdornment&&{paddingLeft:14},E.endAdornment&&{paddingRight:14},E.multiline&&(0,f.Z)({padding:"16.5px 14px"},E.size==="small"&&{padding:"8.5px 14px"}))}),X=(0,m.ZP)(se,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(I,E)=>E.notchedOutline})(({theme:I})=>{const E=I.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:I.vars?`rgba(${I.vars.palette.common.onBackgroundChannel} / 0.23)`:E}}),g=(0,m.ZP)(V.rA,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:V._o})(({theme:I,ownerState:E})=>(0,f.Z)({padding:"16.5px 14px"},!I.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:I.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:I.palette.mode==="light"?null:"#fff",caretColor:I.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},I.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[I.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},E.size==="small"&&{padding:"8.5px 14px"},E.multiline&&{padding:0},E.startAdornment&&{paddingLeft:0},E.endAdornment&&{paddingRight:0})),p=l.forwardRef(function(E,K){var d,i,x,A,w;const C=(0,L.Z)({props:E,name:"MuiOutlinedInput"}),{components:U={},fullWidth:F=!1,inputComponent:Y="input",label:le,multiline:ie=!1,notched:j,slots:ue={},type:P="text"}=C,Z=(0,n.Z)(C,c),ae=R(C),ce=(0,S.Z)(),be=(0,J.Z)({props:C,muiFormControl:ce,states:["required"]}),pe=(0,f.Z)({},C,{color:be.color||"primary",disabled:be.disabled,error:be.error,focused:be.focused,formControl:ce,fullWidth:F,hiddenLabel:be.hiddenLabel,multiline:ie,size:be.size,type:P}),h=(d=(i=ue.root)!=null?i:U.Root)!=null?d:B,te=(x=(A=ue.input)!=null?A:U.Input)!=null?x:g;return(0,v.jsx)(V.ZP,(0,f.Z)({slots:{root:h,input:te},renderSuffix:Q=>(0,v.jsx)(X,{ownerState:pe,className:ae.notchedOutline,label:le!=null&&le!==""&&be.required?w||(w=(0,v.jsxs)(l.Fragment,{children:[le,"\xA0","*"]})):le,notched:typeof j!="undefined"?j:Boolean(Q.startAdornment||Q.filled||Q.focused)}),fullWidth:F,inputComponent:Y,multiline:ie,ref:K,type:P},Z,{classes:(0,f.Z)({},ae,{notchedOutline:null})}))});p.muiName="Input";var O=p},62818:function(_e,$,t){"use strict";t.d($,{e:function(){return m}});var n=t(87462),f=t(67402),l=t(85111),u=t(38282);function m(M){return(0,l.Z)("MuiOutlinedInput",M)}const v=(0,n.Z)({},u.Z,(0,f.Z)("MuiOutlinedInput",["root","notchedOutline","input"]));$.Z=v},77290:function(_e,$,t){"use strict";t.d($,{Z:function(){return g}});var n=t(63366),f=t(87462),l=t(89526),u=t(23060),m=t(13957),v=t(72945),M=t(82500),W=p=>{let O;return p<1?O=5.11916*hc(p,2):O=4.5*Math.log(p+1)+2,(O/100).toFixed(2)},re=t(87260),se=t(67402),S=t(85111);function J(p){return(0,S.Z)("MuiPaper",p)}const T=(0,se.Z)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var V=null,L=t(67557);const c=["className","component","elevation","square","variant"],R=p=>{const{square:O,elevation:I,variant:E,classes:K}=p,d={root:["root",E,!O&&"rounded",E==="elevation"&&`elevation${I}`]};return(0,m.Z)(d,J,K)},B=(0,M.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(p,O)=>{const{ownerState:I}=p;return[O.root,O[I.variant],!I.square&&O.rounded,I.variant==="elevation"&&O[`elevation${I.elevation}`]]}})(({theme:p,ownerState:O})=>{var I;return(0,f.Z)({backgroundColor:(p.vars||p).palette.background.paper,color:(p.vars||p).palette.text.primary,transition:p.transitions.create("box-shadow")},!O.square&&{borderRadius:p.shape.borderRadius},O.variant==="outlined"&&{border:`1px solid ${(p.vars||p).palette.divider}`},O.variant==="elevation"&&(0,f.Z)({boxShadow:(p.vars||p).shadows[O.elevation]},!p.vars&&p.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${(0,v.Fq)("#fff",W(O.elevation))}, ${(0,v.Fq)("#fff",W(O.elevation))})`},p.vars&&{backgroundImage:(I=p.vars.overlays)==null?void 0:I[O.elevation]}))});var g=l.forwardRef(function(O,I){const E=(0,re.Z)({props:O,name:"MuiPaper"}),{className:K,component:d="div",elevation:i=1,square:x=!1,variant:A="elevation"}=E,w=(0,n.Z)(E,c),C=(0,f.Z)({},E,{component:d,elevation:i,square:x,variant:A}),U=R(C);return(0,L.jsx)(B,(0,f.Z)({as:d,ownerState:C,className:(0,u.default)(U.root,K),ref:I},w))})},85265:function(_e,$,t){"use strict";t.d($,{ZP:function(){return w}});var n=t(87462),f=t(63366),l=t(89526),u=t(23060),m=t(13957),v=t(82500),M=t(87260),ee=t(22949),W=t(72022),re=t(58132),se=t(89428),S=t(70354),J=t(64765),T=t(77290),V=t(67402),L=t(85111);function c(C){return(0,L.Z)("MuiPopover",C)}const R=(0,V.Z)("MuiPopover",["root","paper"]);var B=null,X=t(67557);const g=["onEntering"],p=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function O(C,U){let F=0;return typeof U=="number"?F=U:U==="center"?F=C.height/2:U==="bottom"&&(F=C.height),F}function I(C,U){let F=0;return typeof U=="number"?F=U:U==="center"?F=C.width/2:U==="right"&&(F=C.width),F}function E(C){return[C.horizontal,C.vertical].map(U=>typeof U=="number"?`${U}px`:U).join(" ")}function K(C){return typeof C=="function"?C():C}const d=C=>{const{classes:U}=C,F={root:["root"],paper:["paper"]};return(0,m.Z)(F,c,U)},i=(0,v.ZP)(J.Z,{name:"MuiPopover",slot:"Root",overridesResolver:(C,U)=>U.root})({}),x=(0,v.ZP)(T.Z,{name:"MuiPopover",slot:"Paper",overridesResolver:(C,U)=>U.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0});var w=l.forwardRef(function(U,F){const Y=(0,M.Z)({props:U,name:"MuiPopover"}),{action:le,anchorEl:ie,anchorOrigin:j={vertical:"top",horizontal:"left"},anchorPosition:ue,anchorReference:P="anchorEl",children:Z,className:ae,container:ce,elevation:be=8,marginThreshold:pe=16,open:h,PaperProps:te={},transformOrigin:Q={vertical:"top",horizontal:"left"},TransitionComponent:we=S.Z,transitionDuration:Se="auto",TransitionProps:{onEntering:Ne}={}}=Y,ze=(0,f.Z)(Y.TransitionProps,g),Je=(0,f.Z)(Y,p),qe=l.useRef(),Me=(0,se.Z)(qe,te.ref),Fe=(0,n.Z)({},Y,{anchorOrigin:j,anchorReference:P,elevation:be,marginThreshold:pe,PaperProps:te,transformOrigin:Q,TransitionComponent:we,transitionDuration:Se,TransitionProps:ze}),Ue=d(Fe),he=l.useCallback(()=>{if(P==="anchorPosition")return ue;const Vt=K(ie),Jt=(Vt&&Vt.nodeType===1?Vt:(0,W.Z)(qe.current).body).getBoundingClientRect();return{top:Jt.top+O(Jt,j.vertical),left:Jt.left+I(Jt,j.horizontal)}},[ie,j.horizontal,j.vertical,ue,P]),xe=l.useCallback(Vt=>({vertical:O(Vt,Q.vertical),horizontal:I(Vt,Q.horizontal)}),[Q.horizontal,Q.vertical]),q=l.useCallback(Vt=>{const Gt={width:Vt.offsetWidth,height:Vt.offsetHeight},Jt=xe(Gt);if(P==="none")return{top:null,left:null,transformOrigin:E(Jt)};const Lr=he();let Rr=Lr.top-Jt.vertical,Gr=Lr.left-Jt.horizontal;const zr=Rr+Gt.height,pr=Gr+Gt.width,vn=(0,re.Z)(K(ie)),fn=vn.innerHeight-pe,Zt=vn.innerWidth-pe;if(Rr<pe){const St=Rr-pe;Rr-=St,Jt.vertical+=St}else if(zr>fn){const St=zr-fn;Rr-=St,Jt.vertical+=St}if(Gr<pe){const St=Gr-pe;Gr-=St,Jt.horizontal+=St}else if(pr>Zt){const St=pr-Zt;Gr-=St,Jt.horizontal+=St}return{top:`${Math.round(Rr)}px`,left:`${Math.round(Gr)}px`,transformOrigin:E(Jt)}},[ie,P,he,xe,pe]),[me,De]=l.useState(h),Te=l.useCallback(()=>{const Vt=qe.current;if(!Vt)return;const Gt=q(Vt);Gt.top!==null&&(Vt.style.top=Gt.top),Gt.left!==null&&(Vt.style.left=Gt.left),Vt.style.transformOrigin=Gt.transformOrigin,De(!0)},[q]),Oe=(Vt,Gt)=>{Ne&&Ne(Vt,Gt),Te()},st=()=>{De(!1)};l.useEffect(()=>{h&&Te()}),l.useImperativeHandle(le,()=>h?{updatePosition:()=>{Te()}}:null,[h,Te]),l.useEffect(()=>{if(!h)return;const Vt=(0,ee.Z)(()=>{Te()}),Gt=(0,re.Z)(ie);return Gt.addEventListener("resize",Vt),()=>{Vt.clear(),Gt.removeEventListener("resize",Vt)}},[ie,h,Te]);let Ft=Se;Se==="auto"&&!we.muiSupportAuto&&(Ft=void 0);const Qt=ce||(ie?(0,W.Z)(K(ie)).body:void 0);return(0,X.jsx)(i,(0,n.Z)({BackdropProps:{invisible:!0},className:(0,u.default)(Ue.root,ae),container:Qt,open:h,ref:F,ownerState:Fe},Je,{children:(0,X.jsx)(we,(0,n.Z)({appear:!0,in:h,onEntering:Oe,onExited:st,timeout:Ft},ze,{children:(0,X.jsx)(x,(0,n.Z)({elevation:be},te,{ref:Me,className:(0,u.default)(Ue.paper,te.className)},me?void 0:{style:(0,n.Z)({},te.style,{opacity:0})},{ownerState:Fe,children:Z}))}))}))})},12965:function(_e,$,t){"use strict";t.d($,{Z:function(){return F}});var n=t(87462),f=t(63366),l=t(89526),u=t(61199),m=t(36341),v=t(25156),M=t(46818),ee=t(13957),W=t(64028),re=t(85111),se=t(67402);function S(Y){return(0,re.Z)("MuiPopperUnstyled",Y)}const J=(0,se.Z)("MuiPopperUnstyled",["root"]);var T=null,V=t(88011),L=t(67557);const c=["anchorEl","children","component","direction","disablePortal","modifiers","open","ownerState","placement","popperOptions","popperRef","slotProps","slots","TransitionProps"],R=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function B(Y,le){if(le==="ltr")return Y;switch(Y){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return Y}}function X(Y){return typeof Y=="function"?Y():Y}function g(Y){return Y.nodeType!==void 0}function p(Y){return!g(Y)}const O=()=>{const Y={root:["root"]};return(0,ee.Z)(Y,S,{})},I={},E=l.forwardRef(function(le,ie){var j;const{anchorEl:ue,children:P,component:Z,direction:ae,disablePortal:ce,modifiers:be,open:pe,ownerState:h,placement:te,popperOptions:Q,popperRef:we,slotProps:Se={},slots:Ne={},TransitionProps:ze}=le,Je=(0,f.Z)(le,c),qe=l.useRef(null),Me=(0,u.Z)(qe,ie),Fe=l.useRef(null),Ue=(0,u.Z)(Fe,we),he=l.useRef(Ue);(0,m.Z)(()=>{he.current=Ue},[Ue]),l.useImperativeHandle(we,()=>Fe.current,[]);const xe=B(te,ae),[q,me]=l.useState(xe),[De,Te]=l.useState(X(ue));l.useEffect(()=>{Fe.current&&Fe.current.forceUpdate()}),l.useEffect(()=>{ue&&Te(X(ue))},[ue]),(0,m.Z)(()=>{if(!De||!pe)return;const Vt=Lr=>{me(Lr.placement)};let Gt=[{name:"preventOverflow",options:{altBoundary:ce}},{name:"flip",options:{altBoundary:ce}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:Lr})=>{Vt(Lr)}}];be!=null&&(Gt=Gt.concat(be)),Q&&Q.modifiers!=null&&(Gt=Gt.concat(Q.modifiers));const Jt=(0,M.fi)(De,qe.current,(0,n.Z)({placement:xe},Q,{modifiers:Gt}));return he.current(Jt),()=>{Jt.destroy(),he.current(null)}},[De,ce,be,pe,Q,xe]);const Oe={placement:q};ze!==null&&(Oe.TransitionProps=ze);const st=O(),Ft=(j=Z!=null?Z:Ne.root)!=null?j:"div",Qt=(0,V.Z)({elementType:Ft,externalSlotProps:Se.root,externalForwardedProps:Je,additionalProps:{role:"tooltip",ref:Me},ownerState:(0,n.Z)({},le,h),className:st.root});return(0,L.jsx)(Ft,(0,n.Z)({},Qt,{children:typeof P=="function"?P(Oe):P}))});var d=l.forwardRef(function(le,ie){const{anchorEl:j,children:ue,container:P,direction:Z="ltr",disablePortal:ae=!1,keepMounted:ce=!1,modifiers:be,open:pe,placement:h="bottom",popperOptions:te=I,popperRef:Q,style:we,transition:Se=!1,slotProps:Ne={},slots:ze={}}=le,Je=(0,f.Z)(le,R),[qe,Me]=l.useState(!0),Fe=()=>{Me(!1)},Ue=()=>{Me(!0)};if(!ce&&!pe&&(!Se||qe))return null;let he;if(P)he=P;else if(j){const me=X(j);he=me&&g(me)?(0,v.Z)(me).body:(0,v.Z)(null).body}const xe=!pe&&ce&&(!Se||qe)?"none":void 0,q=Se?{in:pe,onEnter:Fe,onExited:Ue}:void 0;return(0,L.jsx)(W.Z,{disablePortal:ae,container:he,children:(0,L.jsx)(E,(0,n.Z)({anchorEl:j,direction:Z,disablePortal:ae,modifiers:be,ref:ie,open:Se?!qe:pe,placement:h,popperOptions:te,popperRef:Q,slotProps:Ne,slots:ze},Je,{style:(0,n.Z)({position:"fixed",top:0,left:0,display:xe},we),TransitionProps:q,children:ue}))})}),i=t(50384),x=t(82500),A=t(87260);const w=["components","componentsProps","slots","slotProps"],C=(0,x.ZP)(d,{name:"MuiPopper",slot:"Root",overridesResolver:(Y,le)=>le.root})({});var F=l.forwardRef(function(le,ie){var j;const ue=(0,i.Z)(),P=(0,A.Z)({props:le,name:"MuiPopper"}),{components:Z,componentsProps:ae,slots:ce,slotProps:be}=P,pe=(0,f.Z)(P,w),h=(j=ce==null?void 0:ce.root)!=null?j:Z==null?void 0:Z.Root;return(0,L.jsx)(C,(0,n.Z)({direction:ue==null?void 0:ue.direction,slots:{root:h},slotProps:be!=null?be:ae},pe,{ref:ie}))})},73622:function(_e,$,t){"use strict";var n=t(87462),f=t(63366),l=t(89526),u=t(79412),m=t(89428),v=t(50770),M=t(9854),ee=t(80641),W=t(67557);const re=["actions","children","defaultValue","name","onChange","value"],se=l.forwardRef(function(J,T){const{actions:V,children:L,defaultValue:c,name:R,onChange:B,value:X}=J,g=(0,f.Z)(J,re),p=l.useRef(null),[O,I]=(0,v.Z)({controlled:X,default:c,name:"RadioGroup"});l.useImperativeHandle(V,()=>({focus:()=>{let i=p.current.querySelector("input:not(:disabled):checked");i||(i=p.current.querySelector("input:not(:disabled)")),i&&i.focus()}}),[]);const E=(0,m.Z)(T,p),K=(0,ee.Z)(R),d=l.useMemo(()=>({name:K,onChange(i){I(i.target.value),B&&B(i,i.target.value)},value:O}),[K,B,I,O]);return(0,W.jsx)(M.Z.Provider,{value:d,children:(0,W.jsx)(u.Z,(0,n.Z)({role:"radiogroup",ref:E},g,{children:L}))})});$.Z=se},9854:function(_e,$,t){"use strict";var n=t(89526);const f=n.createContext(void 0);$.Z=f},94049:function(_e,$,t){"use strict";t.d($,{Z:function(){return Y}});var n=t(63366),f=t(87462),l=t(89526),u=t(23060),m=t(13957),v=t(72945),M=t(42242),ee=t(87260),W=t(85233),re=t(67557),se=(0,W.Z)((0,re.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),S=(0,W.Z)((0,re.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),J=t(82500);const T=(0,J.ZP)("span")({position:"relative",display:"flex"}),V=(0,J.ZP)(se)({transform:"scale(1)"}),L=(0,J.ZP)(S)(({theme:le,ownerState:ie})=>(0,f.Z)({left:0,position:"absolute",transform:"scale(0)",transition:le.transitions.create("transform",{easing:le.transitions.easing.easeIn,duration:le.transitions.duration.shortest})},ie.checked&&{transform:"scale(1)",transition:le.transitions.create("transform",{easing:le.transitions.easing.easeOut,duration:le.transitions.duration.shortest})}));function c(le){const{checked:ie=!1,classes:j={},fontSize:ue}=le,P=(0,f.Z)({},le,{checked:ie});return(0,re.jsxs)(T,{className:j.root,ownerState:P,children:[(0,re.jsx)(V,{fontSize:ue,className:j.background,ownerState:P}),(0,re.jsx)(L,{fontSize:ue,className:j.dot,ownerState:P})]})}var R=c,B=t(88623),X=t(56377),g=t(9854);function p(){return l.useContext(g.Z)}var O=t(67402),I=t(85111);function E(le){return(0,I.Z)("MuiRadio",le)}var d=(0,O.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary"]);const i=["checked","checkedIcon","color","icon","name","onChange","size","className"],x=le=>{const{classes:ie,color:j}=le,ue={root:["root",`color${(0,B.Z)(j)}`]};return(0,f.Z)({},ie,(0,m.Z)(ue,E,ie))},A=(0,J.ZP)(M.Z,{shouldForwardProp:le=>(0,J.FO)(le)||le==="classes",name:"MuiRadio",slot:"Root",overridesResolver:(le,ie)=>{const{ownerState:j}=le;return[ie.root,ie[`color${(0,B.Z)(j.color)}`]]}})(({theme:le,ownerState:ie})=>(0,f.Z)({color:(le.vars||le).palette.text.secondary},!ie.disableRipple&&{"&:hover":{backgroundColor:le.vars?`rgba(${ie.color==="default"?le.vars.palette.action.activeChannel:le.vars.palette[ie.color].mainChannel} / ${le.vars.palette.action.hoverOpacity})`:(0,v.Fq)(ie.color==="default"?le.palette.action.active:le.palette[ie.color].main,le.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},ie.color!=="default"&&{[`&.${d.checked}`]:{color:(le.vars||le).palette[ie.color].main}},{[`&.${d.disabled}`]:{color:(le.vars||le).palette.action.disabled}}));function w(le,ie){return typeof ie=="object"&&ie!==null?le===ie:String(le)===String(ie)}const C=(0,re.jsx)(R,{checked:!0}),U=(0,re.jsx)(R,{});var Y=l.forwardRef(function(ie,j){var ue,P;const Z=(0,ee.Z)({props:ie,name:"MuiRadio"}),{checked:ae,checkedIcon:ce=C,color:be="primary",icon:pe=U,name:h,onChange:te,size:Q="medium",className:we}=Z,Se=(0,n.Z)(Z,i),Ne=(0,f.Z)({},Z,{color:be,size:Q}),ze=x(Ne),Je=p();let qe=ae;const Me=(0,X.Z)(te,Je&&Je.onChange);let Fe=h;return Je&&(typeof qe=="undefined"&&(qe=w(Je.value,Z.value)),typeof Fe=="undefined"&&(Fe=Je.name)),(0,re.jsx)(A,(0,f.Z)({type:"radio",icon:l.cloneElement(pe,{fontSize:(ue=U.props.fontSize)!=null?ue:Q}),checkedIcon:l.cloneElement(ce,{fontSize:(P=C.props.fontSize)!=null?P:Q}),ownerState:Ne,classes:ze,name:Fe,checked:qe,onChange:Me,ref:j,className:(0,u.default)(ze.root,we)},Se))})},50882:function(_e,$,t){"use strict";t.d($,{Z:function(){return xe}});var n=t(87462),f=t(63366),l=t(89526),u=t(23060),m=t(83643),v=t(23563),M=t(21536),ee=t(13957),W=t(72022),re=t(88623),se=t(42617),S=t(67402),J=t(85111);function T(q){return(0,J.Z)("MuiNativeSelect",q)}var L=(0,S.Z)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]),c=t(82500),R=t(67557);const B=["className","disabled","IconComponent","inputRef","variant"],X=q=>{const{classes:me,variant:De,disabled:Te,multiple:Oe,open:st}=q,Ft={select:["select",De,Te&&"disabled",Oe&&"multiple"],icon:["icon",`icon${(0,re.Z)(De)}`,st&&"iconOpen",Te&&"disabled"]};return(0,ee.Z)(Ft,T,me)},g=({ownerState:q,theme:me})=>(0,n.Z)({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":(0,n.Z)({},me.vars?{backgroundColor:`rgba(${me.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:me.palette.mode==="light"?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${L.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(me.vars||me).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},q.variant==="filled"&&{"&&&":{paddingRight:32}},q.variant==="outlined"&&{borderRadius:(me.vars||me).shape.borderRadius,"&:focus":{borderRadius:(me.vars||me).shape.borderRadius},"&&&":{paddingRight:32}}),p=(0,c.ZP)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:c.FO,overridesResolver:(q,me)=>{const{ownerState:De}=q;return[me.select,me[De.variant],{[`&.${L.multiple}`]:me.multiple}]}})(g),O=({ownerState:q,theme:me})=>(0,n.Z)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(me.vars||me).palette.action.active,[`&.${L.disabled}`]:{color:(me.vars||me).palette.action.disabled}},q.open&&{transform:"rotate(180deg)"},q.variant==="filled"&&{right:7},q.variant==="outlined"&&{right:7}),I=(0,c.ZP)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(q,me)=>{const{ownerState:De}=q;return[me.icon,De.variant&&me[`icon${(0,re.Z)(De.variant)}`],De.open&&me.iconOpen]}})(O);var K=l.forwardRef(function(me,De){const{className:Te,disabled:Oe,IconComponent:st,inputRef:Ft,variant:Qt="standard"}=me,Vt=(0,f.Z)(me,B),Gt=(0,n.Z)({},me,{disabled:Oe,variant:Qt}),Jt=X(Gt);return(0,R.jsxs)(l.Fragment,{children:[(0,R.jsx)(p,(0,n.Z)({ownerState:Gt,className:(0,u.default)(Jt.select,Te),disabled:Oe,ref:Ft||De},Vt)),me.multiple?null:(0,R.jsx)(I,{as:st,ownerState:Gt,className:Jt.icon})]})}),d=t(44357),i=t(89428),x=t(50770);function A(q){return(0,J.Z)("MuiSelect",q)}var C=(0,S.Z)("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]),U;const F=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],Y=(0,c.ZP)("div",{name:"MuiSelect",slot:"Select",overridesResolver:(q,me)=>{const{ownerState:De}=q;return[{[`&.${C.select}`]:me.select},{[`&.${C.select}`]:me[De.variant]},{[`&.${C.multiple}`]:me.multiple}]}})(g,{[`&.${C.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),le=(0,c.ZP)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(q,me)=>{const{ownerState:De}=q;return[me.icon,De.variant&&me[`icon${(0,re.Z)(De.variant)}`],De.open&&me.iconOpen]}})(O),ie=(0,c.ZP)("input",{shouldForwardProp:q=>(0,c.Dz)(q)&&q!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(q,me)=>me.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function j(q,me){return typeof me=="object"&&me!==null?q===me:String(q)===String(me)}function ue(q){return q==null||typeof q=="string"&&!q.trim()}const P=q=>{const{classes:me,variant:De,disabled:Te,multiple:Oe,open:st}=q,Ft={select:["select",De,Te&&"disabled",Oe&&"multiple"],icon:["icon",`icon${(0,re.Z)(De)}`,st&&"iconOpen",Te&&"disabled"],nativeInput:["nativeInput"]};return(0,ee.Z)(Ft,A,me)};var ae=l.forwardRef(function(me,De){const{"aria-describedby":Te,"aria-label":Oe,autoFocus:st,autoWidth:Ft,children:Qt,className:Vt,defaultOpen:Gt,defaultValue:Jt,disabled:Lr,displayEmpty:Rr,IconComponent:Gr,inputRef:zr,labelId:pr,MenuProps:vn={},multiple:fn,name:Zt,onBlur:St,onChange:Wt,onClose:Nt,onFocus:dt,onOpen:nr,open:et,readOnly:Tt,renderValue:Rt,SelectDisplayProps:or={},tabIndex:ir,value:Qr,variant:ft="standard"}=me,tr=(0,f.Z)(me,F),[gr,ar]=(0,x.Z)({controlled:Qr,default:Jt,name:"Select"}),[rt,kt]=(0,x.Z)({controlled:et,default:Gt,name:"Select"}),At=l.useRef(null),qt=l.useRef(null),[sr,Kr]=l.useState(null),{current:kr}=l.useRef(et!=null),[nn,on]=l.useState(),vr=(0,i.Z)(De,zr),Dr=l.useCallback(Vr=>{qt.current=Vr,Vr&&Kr(Vr)},[]),_r=sr==null?void 0:sr.parentNode;l.useImperativeHandle(vr,()=>({focus:()=>{qt.current.focus()},node:At.current,value:gr}),[gr]),l.useEffect(()=>{Gt&&rt&&sr&&!kr&&(on(Ft?null:_r.clientWidth),qt.current.focus())},[sr,Ft]),l.useEffect(()=>{st&&qt.current.focus()},[st]),l.useEffect(()=>{if(!pr)return;const Vr=(0,W.Z)(qt.current).getElementById(pr);if(Vr){const Fn=()=>{getSelection().isCollapsed&&qt.current.focus()};return Vr.addEventListener("click",Fn),()=>{Vr.removeEventListener("click",Fn)}}},[pr]);const Hr=(Vr,Fn)=>{Vr?nr&&nr(Fn):Nt&&Nt(Fn),kr||(on(Ft?null:_r.clientWidth),kt(Vr))},Pr=Vr=>{Vr.button===0&&(Vr.preventDefault(),qt.current.focus(),Hr(!0,Vr))},un=Vr=>{Hr(!1,Vr)},Zn=l.Children.toArray(Qt),Jn=Vr=>{const Fn=Zn.map(zn=>zn.props.value).indexOf(Vr.target.value);if(Fn===-1)return;const An=Zn[Fn];ar(An.props.value),Wt&&Wt(Vr,An)},Dn=Vr=>Fn=>{let An;if(Fn.currentTarget.hasAttribute("tabindex")){if(fn){An=Array.isArray(gr)?gr.slice():[];const zn=gr.indexOf(Vr.props.value);zn===-1?An.push(Vr.props.value):An.splice(zn,1)}else An=Vr.props.value;if(Vr.props.onClick&&Vr.props.onClick(Fn),gr!==An&&(ar(An),Wt)){const zn=Fn.nativeEvent||Fn,bi=new zn.constructor(zn.type,zn);Object.defineProperty(bi,"target",{writable:!0,value:{value:An,name:Zt}}),Wt(bi,Vr)}fn||Hr(!1,Fn)}},qn=Vr=>{Tt||[" ","ArrowUp","ArrowDown","Enter"].indexOf(Vr.key)!==-1&&(Vr.preventDefault(),Hr(!0,Vr))},lr=sr!==null&&rt,Yr=Vr=>{!lr&&St&&(Object.defineProperty(Vr,"target",{writable:!0,value:{value:gr,name:Zt}}),St(Vr))};delete tr["aria-invalid"];let Yn,ti;const Wi=[];let _t=!1,Ct=!1;((0,d.vd)({value:gr})||Rr)&&(Rt?Yn=Rt(gr):_t=!0);const mt=Zn.map((Vr,Fn,An)=>{var zn,bi,Si,bo;if(!l.isValidElement(Vr))return null;let Fi;if(fn){if(!Array.isArray(gr))throw new Error((0,v.Z)(2));Fi=gr.some(_o=>j(_o,Vr.props.value)),Fi&&_t&&Wi.push(Vr.props.children)}else Fi=j(gr,Vr.props.value),Fi&&_t&&(ti=Vr.props.children);if(Fi&&(Ct=!0),Vr.props.value===void 0)return l.cloneElement(Vr,{"aria-readonly":!0,role:"option"});const mo=()=>{if(gr)return Fi;const _o=An.find(Ti=>{var ao;return(Ti==null||(ao=Ti.props)==null?void 0:ao.value)!==void 0&&Ti.props.disabled!==!0});return Vr===_o?!0:Fi};return l.cloneElement(Vr,{"aria-selected":Fi?"true":"false",onClick:Dn(Vr),onKeyUp:_o=>{_o.key===" "&&_o.preventDefault(),Vr.props.onKeyUp&&Vr.props.onKeyUp(_o)},role:"option",selected:((zn=An[0])==null||(bi=zn.props)==null?void 0:bi.value)===void 0||((Si=An[0])==null||(bo=Si.props)==null?void 0:bo.disabled)===!0?mo():Fi,value:void 0,"data-value":Vr.props.value})});_t&&(fn?Wi.length===0?Yn=null:Yn=Wi.reduce((Vr,Fn,An)=>(Vr.push(Fn),An<Wi.length-1&&Vr.push(", "),Vr),[]):Yn=ti);let br=nn;!Ft&&kr&&sr&&(br=_r.clientWidth);let Pt;typeof ir!="undefined"?Pt=ir:Pt=Lr?null:0;const qr=or.id||(Zt?`mui-component-select-${Zt}`:void 0),mn=(0,n.Z)({},me,{variant:ft,value:gr,open:lr}),In=P(mn);return(0,R.jsxs)(l.Fragment,{children:[(0,R.jsx)(Y,(0,n.Z)({ref:Dr,tabIndex:Pt,role:"button","aria-disabled":Lr?"true":void 0,"aria-expanded":lr?"true":"false","aria-haspopup":"listbox","aria-label":Oe,"aria-labelledby":[pr,qr].filter(Boolean).join(" ")||void 0,"aria-describedby":Te,onKeyDown:qn,onMouseDown:Lr||Tt?null:Pr,onBlur:Yr,onFocus:dt},or,{ownerState:mn,className:(0,u.default)(or.className,In.select,Vt),id:qr,children:ue(Yn)?U||(U=(0,R.jsx)("span",{className:"notranslate",children:"\u200B"})):Yn})),(0,R.jsx)(ie,(0,n.Z)({value:Array.isArray(gr)?gr.join(","):gr,name:Zt,ref:At,"aria-hidden":!0,onChange:Jn,tabIndex:-1,disabled:Lr,className:In.nativeInput,autoFocus:st,ownerState:mn},tr)),(0,R.jsx)(le,{as:Gr,className:In.icon,ownerState:mn}),(0,R.jsx)(se.Z,(0,n.Z)({id:`menu-${Zt||""}`,anchorEl:_r,open:lr,onClose:un,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},vn,{MenuListProps:(0,n.Z)({"aria-labelledby":pr,role:"listbox",disableListWrap:!0},vn.MenuListProps),PaperProps:(0,n.Z)({},vn.PaperProps,{style:(0,n.Z)({minWidth:br},vn.PaperProps!=null?vn.PaperProps.style:null)}),children:mt}))]})}),ce=t(82742),be=t(21704),pe=t(86162),h=t(69073),te=t(49789),Q=t(2039),we=t(87260),Se,Ne;const ze=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],Je=q=>{const{classes:me}=q;return me},qe={name:"MuiSelect",overridesResolver:(q,me)=>me.root,shouldForwardProp:q=>(0,c.FO)(q)&&q!=="variant",slot:"Root"},Me=(0,c.ZP)(h.Z,qe)(""),Fe=(0,c.ZP)(Q.Z,qe)(""),Ue=(0,c.ZP)(te.Z,qe)(""),he=l.forwardRef(function(me,De){const Te=(0,we.Z)({name:"MuiSelect",props:me}),{autoWidth:Oe=!1,children:st,classes:Ft={},className:Qt,defaultOpen:Vt=!1,displayEmpty:Gt=!1,IconComponent:Jt=pe.Z,id:Lr,input:Rr,inputProps:Gr,label:zr,labelId:pr,MenuProps:vn,multiple:fn=!1,native:Zt=!1,onClose:St,onOpen:Wt,open:Nt,renderValue:dt,SelectDisplayProps:nr,variant:et="outlined"}=Te,Tt=(0,f.Z)(Te,ze),Rt=Zt?K:ae,or=(0,be.Z)(),Qr=(0,ce.Z)({props:Te,muiFormControl:or,states:["variant"]}).variant||et,ft=Rr||{standard:Se||(Se=(0,R.jsx)(Me,{})),outlined:(0,R.jsx)(Fe,{label:zr}),filled:Ne||(Ne=(0,R.jsx)(Ue,{}))}[Qr],tr=(0,n.Z)({},Te,{variant:Qr,classes:Ft}),gr=Je(tr),ar=(0,i.Z)(De,ft.ref);return(0,R.jsx)(l.Fragment,{children:l.cloneElement(ft,(0,n.Z)({inputComponent:Rt,inputProps:(0,n.Z)({children:st,IconComponent:Jt,variant:Qr,type:void 0,multiple:fn},Zt?{id:Lr}:{autoWidth:Oe,defaultOpen:Vt,displayEmpty:Gt,labelId:pr,MenuProps:vn,onClose:St,onOpen:Wt,open:Nt,renderValue:dt,SelectDisplayProps:(0,n.Z)({id:Lr},nr)},Gr,{classes:Gr?(0,m.Z)(gr,Gr.classes):gr},Rr?Rr.props.inputProps:{})},fn&&Zt&&Qr==="outlined"?{notched:!0}:{},{ref:ar,className:(0,u.default)(ft.props.className,Qt)},!Rr&&{variant:Qr},Tt))})});he.muiName="Select";var xe=he},30260:function(_e,$,t){"use strict";var n=t(87462),f=t(63366),l=t(89526),u=t(67958),m=t(22949),v=t(89428),M=t(18051),ee=t(45942),W=t(58132),re=t(67557);const se=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function S(L,c,R){const B=c.getBoundingClientRect(),X=R&&R.getBoundingClientRect(),g=(0,W.Z)(c);let p;if(c.fakeTransform)p=c.fakeTransform;else{const E=g.getComputedStyle(c);p=E.getPropertyValue("-webkit-transform")||E.getPropertyValue("transform")}let O=0,I=0;if(p&&p!=="none"&&typeof p=="string"){const E=p.split("(")[1].split(")")[0].split(",");O=parseInt(E[4],10),I=parseInt(E[5],10)}return L==="left"?X?`translateX(${X.right+O-B.left}px)`:`translateX(${g.innerWidth+O-B.left}px)`:L==="right"?X?`translateX(-${B.right-X.left-O}px)`:`translateX(-${B.left+B.width-O}px)`:L==="up"?X?`translateY(${X.bottom+I-B.top}px)`:`translateY(${g.innerHeight+I-B.top}px)`:X?`translateY(-${B.top-X.top+B.height-I}px)`:`translateY(-${B.top+B.height-I}px)`}function J(L){return typeof L=="function"?L():L}function T(L,c,R){const B=J(R),X=S(L,c,B);X&&(c.style.webkitTransform=X,c.style.transform=X)}const V=l.forwardRef(function(c,R){const B=(0,M.Z)(),X={enter:B.transitions.easing.easeOut,exit:B.transitions.easing.sharp},g={enter:B.transitions.duration.enteringScreen,exit:B.transitions.duration.leavingScreen},{addEndListener:p,appear:O=!0,children:I,container:E,direction:K="down",easing:d=X,in:i,onEnter:x,onEntered:A,onEntering:w,onExit:C,onExited:U,onExiting:F,style:Y,timeout:le=g,TransitionComponent:ie=u.ZP}=c,j=(0,f.Z)(c,se),ue=l.useRef(null),P=(0,v.Z)(I.ref,ue,R),Z=Se=>Ne=>{Se&&(Ne===void 0?Se(ue.current):Se(ue.current,Ne))},ae=Z((Se,Ne)=>{T(K,Se,E),(0,ee.n)(Se),x&&x(Se,Ne)}),ce=Z((Se,Ne)=>{const ze=(0,ee.C)({timeout:le,style:Y,easing:d},{mode:"enter"});Se.style.webkitTransition=B.transitions.create("-webkit-transform",(0,n.Z)({},ze)),Se.style.transition=B.transitions.create("transform",(0,n.Z)({},ze)),Se.style.webkitTransform="none",Se.style.transform="none",w&&w(Se,Ne)}),be=Z(A),pe=Z(F),h=Z(Se=>{const Ne=(0,ee.C)({timeout:le,style:Y,easing:d},{mode:"exit"});Se.style.webkitTransition=B.transitions.create("-webkit-transform",Ne),Se.style.transition=B.transitions.create("transform",Ne),T(K,Se,E),C&&C(Se)}),te=Z(Se=>{Se.style.webkitTransition="",Se.style.transition="",U&&U(Se)}),Q=Se=>{p&&p(ue.current,Se)},we=l.useCallback(()=>{ue.current&&T(K,ue.current,E)},[K,E]);return l.useEffect(()=>{if(i||K==="down"||K==="right")return;const Se=(0,m.Z)(()=>{ue.current&&T(K,ue.current,E)}),Ne=(0,W.Z)(ue.current);return Ne.addEventListener("resize",Se),()=>{Se.clear(),Ne.removeEventListener("resize",Se)}},[K,i,E]),l.useEffect(()=>{i||we()},[i,we]),(0,re.jsx)(ie,(0,n.Z)({nodeRef:ue,onEnter:ae,onEntered:be,onEntering:ce,onExit:h,onExited:te,onExiting:pe,addEndListener:Q,appear:O,in:i,timeout:le},j,{children:(Se,Ne)=>l.cloneElement(I,(0,n.Z)({ref:P,style:(0,n.Z)({visibility:Se==="exited"&&!i?"hidden":void 0},Y,I.props.style)},Ne))}))});$.Z=V},32983:function(_e,$,t){"use strict";var n=t(63366),f=t(87462),l=t(89526),u=t(36006),m=t(4019),v=t(38368),M=t(83643),ee=t(82500),W=t(87260),re=t(67557);const se=["component","direction","spacing","divider","children"];function S(c,R){const B=l.Children.toArray(c).filter(Boolean);return B.reduce((X,g,p)=>(X.push(g),p<B.length-1&&X.push(l.cloneElement(R,{key:`separator-${p}`})),X),[])}const J=c=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[c],T=({ownerState:c,theme:R})=>{let B=(0,f.Z)({display:"flex",flexDirection:"column"},(0,u.k9)({theme:R},(0,u.P$)({values:c.direction,breakpoints:R.breakpoints.values}),X=>({flexDirection:X})));if(c.spacing){const X=(0,m.hB)(R),g=Object.keys(R.breakpoints.values).reduce((E,K)=>((typeof c.spacing=="object"&&c.spacing[K]!=null||typeof c.direction=="object"&&c.direction[K]!=null)&&(E[K]=!0),E),{}),p=(0,u.P$)({values:c.direction,base:g}),O=(0,u.P$)({values:c.spacing,base:g});typeof p=="object"&&Object.keys(p).forEach((E,K,d)=>{if(!p[E]){const x=K>0?p[d[K-1]]:"column";p[E]=x}});const I=(E,K)=>({"& > :not(style) + :not(style)":{margin:0,[`margin${J(K?p[K]:c.direction)}`]:(0,m.NA)(X,E)}});B=(0,M.Z)(B,(0,u.k9)({theme:R},O,I))}return B=(0,u.dt)(R.breakpoints,B),B},V=(0,ee.ZP)("div",{name:"MuiStack",slot:"Root",overridesResolver:(c,R)=>[R.root]})(T),L=l.forwardRef(function(R,B){const X=(0,W.Z)({props:R,name:"MuiStack"}),g=(0,v.Z)(X),{component:p="div",direction:O="column",spacing:I=0,divider:E,children:K}=g,d=(0,n.Z)(g,se),i={direction:O,spacing:I};return(0,re.jsx)(V,(0,f.Z)({as:p,ownerState:i,ref:B},d,{children:E?S(K,E):K}))});$.Z=L},37799:function(_e,$,t){"use strict";t.d($,{Z:function(){return B}});var n=t(87462),f=t(63366),l=t(89526),u=t(23060),m=t(13957),v=t(88623),M=t(87260),ee=t(82500),W=t(67402),re=t(85111);function se(X){return(0,re.Z)("MuiSvgIcon",X)}const S=(0,W.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var J=null,T=t(67557);const V=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],L=X=>{const{color:g,fontSize:p,classes:O}=X,I={root:["root",g!=="inherit"&&`color${(0,v.Z)(g)}`,`fontSize${(0,v.Z)(p)}`]};return(0,m.Z)(I,se,O)},c=(0,ee.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(X,g)=>{const{ownerState:p}=X;return[g.root,p.color!=="inherit"&&g[`color${(0,v.Z)(p.color)}`],g[`fontSize${(0,v.Z)(p.fontSize)}`]]}})(({theme:X,ownerState:g})=>{var p,O,I,E,K,d,i,x,A,w,C,U,F,Y,le,ie,j;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:(p=X.transitions)==null||(O=p.create)==null?void 0:O.call(p,"fill",{duration:(I=X.transitions)==null||(E=I.duration)==null?void 0:E.shorter}),fontSize:{inherit:"inherit",small:((K=X.typography)==null||(d=K.pxToRem)==null?void 0:d.call(K,20))||"1.25rem",medium:((i=X.typography)==null||(x=i.pxToRem)==null?void 0:x.call(i,24))||"1.5rem",large:((A=X.typography)==null||(w=A.pxToRem)==null?void 0:w.call(A,35))||"2.1875rem"}[g.fontSize],color:(C=(U=(X.vars||X).palette)==null||(F=U[g.color])==null?void 0:F.main)!=null?C:{action:(Y=(X.vars||X).palette)==null||(le=Y.action)==null?void 0:le.active,disabled:(ie=(X.vars||X).palette)==null||(j=ie.action)==null?void 0:j.disabled,inherit:void 0}[g.color]}}),R=l.forwardRef(function(g,p){const O=(0,M.Z)({props:g,name:"MuiSvgIcon"}),{children:I,className:E,color:K="inherit",component:d="svg",fontSize:i="medium",htmlColor:x,inheritViewBox:A=!1,titleAccess:w,viewBox:C="0 0 24 24"}=O,U=(0,f.Z)(O,V),F=(0,n.Z)({},O,{color:K,component:d,fontSize:i,instanceFontSize:g.fontSize,inheritViewBox:A,viewBox:C}),Y={};A||(Y.viewBox=C);const le=L(F);return(0,T.jsxs)(c,(0,n.Z)({as:d,className:(0,u.default)(le.root,E),focusable:"false",color:x,"aria-hidden":w?void 0:!0,role:w?"img":void 0,ref:p},Y,U,{ownerState:F,children:[I,w?(0,T.jsx)("title",{children:w}):null]}))});R.muiName="SvgIcon";var B=R},37240:function(_e,$,t){"use strict";t.d($,{Z:function(){return X}});var n=t(63366),f=t(87462),l=t(89526),u=t(23060),m=t(13957),v=t(98592),M=t(88623),ee=t(87260),W=t(82500),re=t(67402),se=t(85111);function S(g){return(0,se.Z)("MuiTab",g)}var T=(0,re.Z)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),V=t(67557);const L=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],c=g=>{const{classes:p,textColor:O,fullWidth:I,wrapped:E,icon:K,label:d,selected:i,disabled:x}=g,A={root:["root",K&&d&&"labelIcon",`textColor${(0,M.Z)(O)}`,I&&"fullWidth",E&&"wrapped",i&&"selected",x&&"disabled"],iconWrapper:["iconWrapper"]};return(0,m.Z)(A,S,p)},R=(0,W.ZP)(v.Z,{name:"MuiTab",slot:"Root",overridesResolver:(g,p)=>{const{ownerState:O}=g;return[p.root,O.label&&O.icon&&p.labelIcon,p[`textColor${(0,M.Z)(O.textColor)}`],O.fullWidth&&p.fullWidth,O.wrapped&&p.wrapped]}})(({theme:g,ownerState:p})=>(0,f.Z)({},g.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},p.label&&{flexDirection:p.iconPosition==="top"||p.iconPosition==="bottom"?"column":"row"},{lineHeight:1.25},p.icon&&p.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${T.iconWrapper}`]:(0,f.Z)({},p.iconPosition==="top"&&{marginBottom:6},p.iconPosition==="bottom"&&{marginTop:6},p.iconPosition==="start"&&{marginRight:g.spacing(1)},p.iconPosition==="end"&&{marginLeft:g.spacing(1)})},p.textColor==="inherit"&&{color:"inherit",opacity:.6,[`&.${T.selected}`]:{opacity:1},[`&.${T.disabled}`]:{opacity:(g.vars||g).palette.action.disabledOpacity}},p.textColor==="primary"&&{color:(g.vars||g).palette.text.secondary,[`&.${T.selected}`]:{color:(g.vars||g).palette.primary.main},[`&.${T.disabled}`]:{color:(g.vars||g).palette.text.disabled}},p.textColor==="secondary"&&{color:(g.vars||g).palette.text.secondary,[`&.${T.selected}`]:{color:(g.vars||g).palette.secondary.main},[`&.${T.disabled}`]:{color:(g.vars||g).palette.text.disabled}},p.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},p.wrapped&&{fontSize:g.typography.pxToRem(12)}));var X=l.forwardRef(function(p,O){const I=(0,ee.Z)({props:p,name:"MuiTab"}),{className:E,disabled:K=!1,disableFocusRipple:d=!1,fullWidth:i,icon:x,iconPosition:A="top",indicator:w,label:C,onChange:U,onClick:F,onFocus:Y,selected:le,selectionFollowsFocus:ie,textColor:j="inherit",value:ue,wrapped:P=!1}=I,Z=(0,n.Z)(I,L),ae=(0,f.Z)({},I,{disabled:K,disableFocusRipple:d,selected:le,icon:!!x,iconPosition:A,label:!!C,fullWidth:i,textColor:j,wrapped:P}),ce=c(ae),be=x&&C&&l.isValidElement(x)?l.cloneElement(x,{className:(0,u.default)(ce.iconWrapper,x.props.className)}):x,pe=te=>{!le&&U&&U(te,ue),F&&F(te)},h=te=>{ie&&!le&&U&&U(te,ue),Y&&Y(te)};return(0,V.jsxs)(R,(0,f.Z)({focusRipple:!d,className:(0,u.default)(ce.root,E),ref:O,role:"tab","aria-selected":le,disabled:K,onClick:pe,onFocus:h,ownerState:ae,tabIndex:le?0:-1},Z,{children:[A==="top"||A==="start"?(0,V.jsxs)(l.Fragment,{children:[be,C]}):(0,V.jsxs)(l.Fragment,{children:[C,be]}),w]}))})},42221:function(_e,$,t){"use strict";t.d($,{Z:function(){return qe}});var n=t(63366),f=t(87462),l=t(89526),u=t(21536),m=t(23060),v=t(13957),M=t(82500),ee=t(87260),W=t(18051),re=t(22949);let se;function S(){if(se)return se;const Me=document.createElement("div"),Fe=document.createElement("div");return Fe.style.width="10px",Fe.style.height="1px",Me.appendChild(Fe),Me.dir="rtl",Me.style.fontSize="14px",Me.style.width="4px",Me.style.height="1px",Me.style.position="absolute",Me.style.top="-1000px",Me.style.overflow="scroll",document.body.appendChild(Me),se="reverse",Me.scrollLeft>0?se="default":(Me.scrollLeft=1,Me.scrollLeft===0&&(se="negative")),document.body.removeChild(Me),se}function J(Me,Fe){const Ue=Me.scrollLeft;if(Fe!=="rtl")return Ue;switch(S()){case"negative":return Me.scrollWidth-Me.clientWidth+Ue;case"reverse":return Me.scrollWidth-Me.clientWidth-Ue;default:return Ue}}function T(Me){return(1+Math.sin(Math.PI*Me-Math.PI/2))/2}function V(Me,Fe,Ue,he={},xe=()=>{}){const{ease:q=T,duration:me=300}=he;let De=null;const Te=Fe[Me];let Oe=!1;const st=()=>{Oe=!0},Ft=Qt=>{if(Oe){xe(new Error("Animation cancelled"));return}De===null&&(De=Qt);const Vt=Math.min(1,(Qt-De)/me);if(Fe[Me]=q(Vt)*(Ue-Te)+Te,Vt>=1){requestAnimationFrame(()=>{xe(null)});return}requestAnimationFrame(Ft)};return Te===Ue?(xe(new Error("Element already at target position")),st):(requestAnimationFrame(Ft),st)}var L=t(58132),c=t(67557);const R=["onChange"],B={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function X(Me){const{onChange:Fe}=Me,Ue=(0,n.Z)(Me,R),he=l.useRef(),xe=l.useRef(null),q=()=>{he.current=xe.current.offsetHeight-xe.current.clientHeight};return l.useEffect(()=>{const me=(0,re.Z)(()=>{const Te=he.current;q(),Te!==he.current&&Fe(he.current)}),De=(0,L.Z)(xe.current);return De.addEventListener("resize",me),()=>{me.clear(),De.removeEventListener("resize",me)}},[Fe]),l.useEffect(()=>{q(),Fe(he.current)},[Fe]),(0,c.jsx)("div",(0,f.Z)({style:B,ref:xe},Ue))}var g=t(953),p=t(65550),O=t(98592),I=t(67402),E=t(85111);function K(Me){return(0,E.Z)("MuiTabScrollButton",Me)}var i=(0,I.Z)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),x,A;const w=["className","direction","orientation","disabled"],C=Me=>{const{classes:Fe,orientation:Ue,disabled:he}=Me,xe={root:["root",Ue,he&&"disabled"]};return(0,v.Z)(xe,K,Fe)},U=(0,M.ZP)(O.Z,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(Me,Fe)=>{const{ownerState:Ue}=Me;return[Fe.root,Ue.orientation&&Fe[Ue.orientation]]}})(({ownerState:Me})=>(0,f.Z)({width:40,flexShrink:0,opacity:.8,[`&.${i.disabled}`]:{opacity:0}},Me.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${Me.isRtl?-90:90}deg)`}}));var Y=l.forwardRef(function(Fe,Ue){const he=(0,ee.Z)({props:Fe,name:"MuiTabScrollButton"}),{className:xe,direction:q}=he,me=(0,n.Z)(he,w),Te=(0,W.Z)().direction==="rtl",Oe=(0,f.Z)({isRtl:Te},he),st=C(Oe);return(0,c.jsx)(U,(0,f.Z)({component:"div",className:(0,m.default)(st.root,xe),ref:Ue,role:null,ownerState:Oe,tabIndex:null},me,{children:q==="left"?x||(x=(0,c.jsx)(g.Z,{fontSize:"small"})):A||(A=(0,c.jsx)(p.Z,{fontSize:"small"}))}))}),le=t(85923);function ie(Me){return(0,E.Z)("MuiTabs",Me)}var ue=(0,I.Z)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),P=t(72022);const Z=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],ae=(Me,Fe)=>Me===Fe?Me.firstChild:Fe&&Fe.nextElementSibling?Fe.nextElementSibling:Me.firstChild,ce=(Me,Fe)=>Me===Fe?Me.lastChild:Fe&&Fe.previousElementSibling?Fe.previousElementSibling:Me.lastChild,be=(Me,Fe,Ue)=>{let he=!1,xe=Ue(Me,Fe);for(;xe;){if(xe===Me.firstChild){if(he)return;he=!0}const q=xe.disabled||xe.getAttribute("aria-disabled")==="true";if(!xe.hasAttribute("tabindex")||q)xe=Ue(Me,xe);else{xe.focus();return}}},pe=Me=>{const{vertical:Fe,fixed:Ue,hideScrollbar:he,scrollableX:xe,scrollableY:q,centered:me,scrollButtonsHideMobile:De,classes:Te}=Me,Oe={root:["root",Fe&&"vertical"],scroller:["scroller",Ue&&"fixed",he&&"hideScrollbar",xe&&"scrollableX",q&&"scrollableY"],flexContainer:["flexContainer",Fe&&"flexContainerVertical",me&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",De&&"scrollButtonsHideMobile"],scrollableX:[xe&&"scrollableX"],hideScrollbar:[he&&"hideScrollbar"]};return(0,v.Z)(Oe,ie,Te)},h=(0,M.ZP)("div",{name:"MuiTabs",slot:"Root",overridesResolver:(Me,Fe)=>{const{ownerState:Ue}=Me;return[{[`& .${ue.scrollButtons}`]:Fe.scrollButtons},{[`& .${ue.scrollButtons}`]:Ue.scrollButtonsHideMobile&&Fe.scrollButtonsHideMobile},Fe.root,Ue.vertical&&Fe.vertical]}})(({ownerState:Me,theme:Fe})=>(0,f.Z)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},Me.vertical&&{flexDirection:"column"},Me.scrollButtonsHideMobile&&{[`& .${ue.scrollButtons}`]:{[Fe.breakpoints.down("sm")]:{display:"none"}}})),te=(0,M.ZP)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(Me,Fe)=>{const{ownerState:Ue}=Me;return[Fe.scroller,Ue.fixed&&Fe.fixed,Ue.hideScrollbar&&Fe.hideScrollbar,Ue.scrollableX&&Fe.scrollableX,Ue.scrollableY&&Fe.scrollableY]}})(({ownerState:Me})=>(0,f.Z)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},Me.fixed&&{overflowX:"hidden",width:"100%"},Me.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},Me.scrollableX&&{overflowX:"auto",overflowY:"hidden"},Me.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),Q=(0,M.ZP)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(Me,Fe)=>{const{ownerState:Ue}=Me;return[Fe.flexContainer,Ue.vertical&&Fe.flexContainerVertical,Ue.centered&&Fe.centered]}})(({ownerState:Me})=>(0,f.Z)({display:"flex"},Me.vertical&&{flexDirection:"column"},Me.centered&&{justifyContent:"center"})),we=(0,M.ZP)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(Me,Fe)=>Fe.indicator})(({ownerState:Me,theme:Fe})=>(0,f.Z)({position:"absolute",height:2,bottom:0,width:"100%",transition:Fe.transitions.create()},Me.indicatorColor==="primary"&&{backgroundColor:(Fe.vars||Fe).palette.primary.main},Me.indicatorColor==="secondary"&&{backgroundColor:(Fe.vars||Fe).palette.secondary.main},Me.vertical&&{height:"100%",width:2,right:0})),Se=(0,M.ZP)(X,{name:"MuiTabs",slot:"ScrollbarSize"})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),Ne={};let ze=!1;var qe=l.forwardRef(function(Fe,Ue){const he=(0,ee.Z)({props:Fe,name:"MuiTabs"}),xe=(0,W.Z)(),q=xe.direction==="rtl",{"aria-label":me,"aria-labelledby":De,action:Te,centered:Oe=!1,children:st,className:Ft,component:Qt="div",allowScrollButtonsMobile:Vt=!1,indicatorColor:Gt="primary",onChange:Jt,orientation:Lr="horizontal",ScrollButtonComponent:Rr=Y,scrollButtons:Gr="auto",selectionFollowsFocus:zr,TabIndicatorProps:pr={},TabScrollButtonProps:vn={},textColor:fn="primary",value:Zt,variant:St="standard",visibleScrollbar:Wt=!1}=he,Nt=(0,n.Z)(he,Z),dt=St==="scrollable",nr=Lr==="vertical",et=nr?"scrollTop":"scrollLeft",Tt=nr?"top":"left",Rt=nr?"bottom":"right",or=nr?"clientHeight":"clientWidth",ir=nr?"height":"width",Qr=(0,f.Z)({},he,{component:Qt,allowScrollButtonsMobile:Vt,indicatorColor:Gt,orientation:Lr,vertical:nr,scrollButtons:Gr,textColor:fn,variant:St,visibleScrollbar:Wt,fixed:!dt,hideScrollbar:dt&&!Wt,scrollableX:dt&&!nr,scrollableY:dt&&nr,centered:Oe&&!dt,scrollButtonsHideMobile:!Vt}),ft=pe(Qr),[tr,gr]=l.useState(!1),[ar,rt]=l.useState(Ne),[kt,At]=l.useState({start:!1,end:!1}),[qt,sr]=l.useState({overflow:"hidden",scrollbarWidth:0}),Kr=new Map,kr=l.useRef(null),nn=l.useRef(null),on=()=>{const Ct=kr.current;let mt;if(Ct){const Pt=Ct.getBoundingClientRect();mt={clientWidth:Ct.clientWidth,scrollLeft:Ct.scrollLeft,scrollTop:Ct.scrollTop,scrollLeftNormalized:J(Ct,xe.direction),scrollWidth:Ct.scrollWidth,top:Pt.top,bottom:Pt.bottom,left:Pt.left,right:Pt.right}}let br;if(Ct&&Zt!==!1){const Pt=nn.current.children;if(Pt.length>0){const qr=Pt[Kr.get(Zt)];br=qr?qr.getBoundingClientRect():null}}return{tabsMeta:mt,tabMeta:br}},vr=(0,le.Z)(()=>{const{tabsMeta:Ct,tabMeta:mt}=on();let br=0,Pt;if(nr)Pt="top",mt&&Ct&&(br=mt.top-Ct.top+Ct.scrollTop);else if(Pt=q?"right":"left",mt&&Ct){const mn=q?Ct.scrollLeftNormalized+Ct.clientWidth-Ct.scrollWidth:Ct.scrollLeft;br=(q?-1:1)*(mt[Pt]-Ct[Pt]+mn)}const qr={[Pt]:br,[ir]:mt?mt[ir]:0};if(isNaN(ar[Pt])||isNaN(ar[ir]))rt(qr);else{const mn=Math.abs(ar[Pt]-qr[Pt]),In=Math.abs(ar[ir]-qr[ir]);(mn>=1||In>=1)&&rt(qr)}}),Dr=(Ct,{animation:mt=!0}={})=>{mt?V(et,kr.current,Ct,{duration:xe.transitions.duration.standard}):kr.current[et]=Ct},_r=Ct=>{let mt=kr.current[et];nr?mt+=Ct:(mt+=Ct*(q?-1:1),mt*=q&&S()==="reverse"?-1:1),Dr(mt)},Hr=()=>{const Ct=kr.current[or];let mt=0;const br=Array.from(nn.current.children);for(let Pt=0;Pt<br.length;Pt+=1){const qr=br[Pt];if(mt+qr[or]>Ct){Pt===0&&(mt=Ct);break}mt+=qr[or]}return mt},Pr=()=>{_r(-1*Hr())},un=()=>{_r(Hr())},Zn=l.useCallback(Ct=>{sr({overflow:null,scrollbarWidth:Ct})},[]),Jn=()=>{const Ct={};Ct.scrollbarSizeListener=dt?(0,c.jsx)(Se,{onChange:Zn,className:(0,m.default)(ft.scrollableX,ft.hideScrollbar)}):null;const mt=kt.start||kt.end,br=dt&&(Gr==="auto"&&mt||Gr===!0);return Ct.scrollButtonStart=br?(0,c.jsx)(Rr,(0,f.Z)({orientation:Lr,direction:q?"right":"left",onClick:Pr,disabled:!kt.start},vn,{className:(0,m.default)(ft.scrollButtons,vn.className)})):null,Ct.scrollButtonEnd=br?(0,c.jsx)(Rr,(0,f.Z)({orientation:Lr,direction:q?"left":"right",onClick:un,disabled:!kt.end},vn,{className:(0,m.default)(ft.scrollButtons,vn.className)})):null,Ct},Dn=(0,le.Z)(Ct=>{const{tabsMeta:mt,tabMeta:br}=on();if(!(!br||!mt)){if(br[Tt]<mt[Tt]){const Pt=mt[et]+(br[Tt]-mt[Tt]);Dr(Pt,{animation:Ct})}else if(br[Rt]>mt[Rt]){const Pt=mt[et]+(br[Rt]-mt[Rt]);Dr(Pt,{animation:Ct})}}}),qn=(0,le.Z)(()=>{if(dt&&Gr!==!1){const{scrollTop:Ct,scrollHeight:mt,clientHeight:br,scrollWidth:Pt,clientWidth:qr}=kr.current;let mn,In;if(nr)mn=Ct>1,In=Ct<mt-br-1;else{const Vr=J(kr.current,xe.direction);mn=q?Vr<Pt-qr-1:Vr>1,In=q?Vr>1:Vr<Pt-qr-1}(mn!==kt.start||In!==kt.end)&&At({start:mn,end:In})}});l.useEffect(()=>{const Ct=(0,re.Z)(()=>{kr.current&&(vr(),qn())}),mt=(0,L.Z)(kr.current);mt.addEventListener("resize",Ct);let br;return typeof ResizeObserver!="undefined"&&(br=new ResizeObserver(Ct),Array.from(nn.current.children).forEach(Pt=>{br.observe(Pt)})),()=>{Ct.clear(),mt.removeEventListener("resize",Ct),br&&br.disconnect()}},[vr,qn]);const lr=l.useMemo(()=>(0,re.Z)(()=>{qn()}),[qn]);l.useEffect(()=>()=>{lr.clear()},[lr]),l.useEffect(()=>{gr(!0)},[]),l.useEffect(()=>{vr(),qn()}),l.useEffect(()=>{Dn(Ne!==ar)},[Dn,ar]),l.useImperativeHandle(Te,()=>({updateIndicator:vr,updateScrollButtons:qn}),[vr,qn]);const Yr=(0,c.jsx)(we,(0,f.Z)({},pr,{className:(0,m.default)(ft.indicator,pr.className),ownerState:Qr,style:(0,f.Z)({},ar,pr.style)}));let Yn=0;const ti=l.Children.map(st,Ct=>{if(!l.isValidElement(Ct))return null;const mt=Ct.props.value===void 0?Yn:Ct.props.value;Kr.set(mt,Yn);const br=mt===Zt;return Yn+=1,l.cloneElement(Ct,(0,f.Z)({fullWidth:St==="fullWidth",indicator:br&&!tr&&Yr,selected:br,selectionFollowsFocus:zr,onChange:Jt,textColor:fn,value:mt},Yn===1&&Zt===!1&&!Ct.props.tabIndex?{tabIndex:0}:{}))}),Wi=Ct=>{const mt=nn.current,br=(0,P.Z)(mt).activeElement;if(br.getAttribute("role")!=="tab")return;let qr=Lr==="horizontal"?"ArrowLeft":"ArrowUp",mn=Lr==="horizontal"?"ArrowRight":"ArrowDown";switch(Lr==="horizontal"&&q&&(qr="ArrowRight",mn="ArrowLeft"),Ct.key){case qr:Ct.preventDefault(),be(mt,br,ce);break;case mn:Ct.preventDefault(),be(mt,br,ae);break;case"Home":Ct.preventDefault(),be(mt,null,ae);break;case"End":Ct.preventDefault(),be(mt,null,ce);break;default:break}},_t=Jn();return(0,c.jsxs)(h,(0,f.Z)({className:(0,m.default)(ft.root,Ft),ownerState:Qr,ref:Ue,as:Qt},Nt,{children:[_t.scrollButtonStart,_t.scrollbarSizeListener,(0,c.jsxs)(te,{className:ft.scroller,ownerState:Qr,style:{overflow:qt.overflow,[nr?`margin${q?"Left":"Right"}`:"marginBottom"]:Wt?void 0:-qt.scrollbarWidth},ref:kr,onScroll:lr,children:[(0,c.jsx)(Q,{"aria-label":me,"aria-labelledby":De,"aria-orientation":Lr==="vertical"?"vertical":null,className:ft.flexContainer,ownerState:Qr,onKeyDown:Wi,ref:nn,role:"tablist",children:ti}),tr&&Yr]}),_t.scrollButtonEnd]}))})},23597:function(_e,$,t){"use strict";t.d($,{Z:function(){return d}});var n=t(87462),f=t(63366),l=t(89526),u=t(23060),m=t(13957),v=t(53068),M=t(82500),ee=t(87260),W=t(69073),re=t(49789),se=t(2039),S=t(10870),J=t(42489),T=t(87674),V=t(50882),L=t(67402),c=t(85111);function R(i){return(0,c.Z)("MuiTextField",i)}const B=(0,L.Z)("MuiTextField",["root"]);var X=null,g=t(67557);const p=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],O={standard:W.Z,filled:re.Z,outlined:se.Z},I=i=>{const{classes:x}=i,A={root:["root"]};return(0,m.Z)(A,R,x)},E=(0,M.ZP)(J.Z,{name:"MuiTextField",slot:"Root",overridesResolver:(i,x)=>x.root})({});var d=l.forwardRef(function(x,A){const w=(0,ee.Z)({props:x,name:"MuiTextField"}),{autoComplete:C,autoFocus:U=!1,children:F,className:Y,color:le="primary",defaultValue:ie,disabled:j=!1,error:ue=!1,FormHelperTextProps:P,fullWidth:Z=!1,helperText:ae,id:ce,InputLabelProps:be,inputProps:pe,InputProps:h,inputRef:te,label:Q,maxRows:we,minRows:Se,multiline:Ne=!1,name:ze,onBlur:Je,onChange:qe,onFocus:Me,placeholder:Fe,required:Ue=!1,rows:he,select:xe=!1,SelectProps:q,type:me,value:De,variant:Te="outlined"}=w,Oe=(0,f.Z)(w,p),st=(0,n.Z)({},w,{autoFocus:U,color:le,disabled:j,error:ue,fullWidth:Z,multiline:Ne,required:Ue,select:xe,variant:Te}),Ft=I(st),Qt={};Te==="outlined"&&(be&&typeof be.shrink!="undefined"&&(Qt.notched=be.shrink),Qt.label=Q),xe&&((!q||!q.native)&&(Qt.id=void 0),Qt["aria-describedby"]=void 0);const Vt=(0,v.Z)(ce),Gt=ae&&Vt?`${Vt}-helper-text`:void 0,Jt=Q&&Vt?`${Vt}-label`:void 0,Lr=O[Te],Rr=(0,g.jsx)(Lr,(0,n.Z)({"aria-describedby":Gt,autoComplete:C,autoFocus:U,defaultValue:ie,fullWidth:Z,multiline:Ne,name:ze,rows:he,maxRows:we,minRows:Se,type:me,value:De,id:Vt,inputRef:te,onBlur:Je,onChange:qe,onFocus:Me,placeholder:Fe,inputProps:pe},Qt,h));return(0,g.jsxs)(E,(0,n.Z)({className:(0,u.default)(Ft.root,Y),disabled:j,error:ue,fullWidth:Z,ref:A,required:Ue,color:le,variant:Te,ownerState:st},Oe,{children:[Q!=null&&Q!==""&&(0,g.jsx)(S.Z,(0,n.Z)({htmlFor:Vt,id:Jt},be,{children:Q})),xe?(0,g.jsx)(V.Z,(0,n.Z)({"aria-describedby":Gt,id:Vt,labelId:Jt,value:De,input:Rr},q,{children:F})):Rr,ae&&(0,g.jsx)(T.Z,(0,n.Z)({id:Gt},P,{children:ae}))]}))})},50472:function(_e,$,t){"use strict";t.d($,{Z:function(){return ie}});var n=t(63366),f=t(87462),l=t(89526),u=t(23060),m=t(13957),v=t(33941),M=t(72945),ee=t(82500),W=t(18051),re=t(87260),se=t(88623),S=t(70354),J=t(12965),T=t(85923),V=t(89428),L=t(80641),c=t(69790),R=t(50770),B=t(67402),X=t(85111);function g(j){return(0,X.Z)("MuiTooltip",j)}var O=(0,B.Z)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),I=t(67557);const E=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function K(j){return Math.round(j*1e5)/1e5}const d=j=>{const{classes:ue,disableInteractive:P,arrow:Z,touch:ae,placement:ce}=j,be={popper:["popper",!P&&"popperInteractive",Z&&"popperArrow"],tooltip:["tooltip",Z&&"tooltipArrow",ae&&"touch",`tooltipPlacement${(0,se.Z)(ce.split("-")[0])}`],arrow:["arrow"]};return(0,m.Z)(be,g,ue)},i=(0,ee.ZP)(J.Z,{name:"MuiTooltip",slot:"Popper",overridesResolver:(j,ue)=>{const{ownerState:P}=j;return[ue.popper,!P.disableInteractive&&ue.popperInteractive,P.arrow&&ue.popperArrow,!P.open&&ue.popperClose]}})(({theme:j,ownerState:ue,open:P})=>(0,f.Z)({zIndex:(j.vars||j).zIndex.tooltip,pointerEvents:"none"},!ue.disableInteractive&&{pointerEvents:"auto"},!P&&{pointerEvents:"none"},ue.arrow&&{[`&[data-popper-placement*="bottom"] .${O.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${O.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${O.arrow}`]:(0,f.Z)({},ue.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${O.arrow}`]:(0,f.Z)({},ue.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),x=(0,ee.ZP)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(j,ue)=>{const{ownerState:P}=j;return[ue.tooltip,P.touch&&ue.touch,P.arrow&&ue.tooltipArrow,ue[`tooltipPlacement${(0,se.Z)(P.placement.split("-")[0])}`]]}})(({theme:j,ownerState:ue})=>(0,f.Z)({backgroundColor:j.vars?j.vars.palette.Tooltip.bg:(0,M.Fq)(j.palette.grey[700],.92),borderRadius:(j.vars||j).shape.borderRadius,color:(j.vars||j).palette.common.white,fontFamily:j.typography.fontFamily,padding:"4px 8px",fontSize:j.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:j.typography.fontWeightMedium},ue.arrow&&{position:"relative",margin:0},ue.touch&&{padding:"8px 16px",fontSize:j.typography.pxToRem(14),lineHeight:`${K(16/14)}em`,fontWeight:j.typography.fontWeightRegular},{[`.${O.popper}[data-popper-placement*="left"] &`]:(0,f.Z)({transformOrigin:"right center"},ue.isRtl?(0,f.Z)({marginLeft:"14px"},ue.touch&&{marginLeft:"24px"}):(0,f.Z)({marginRight:"14px"},ue.touch&&{marginRight:"24px"})),[`.${O.popper}[data-popper-placement*="right"] &`]:(0,f.Z)({transformOrigin:"left center"},ue.isRtl?(0,f.Z)({marginRight:"14px"},ue.touch&&{marginRight:"24px"}):(0,f.Z)({marginLeft:"14px"},ue.touch&&{marginLeft:"24px"})),[`.${O.popper}[data-popper-placement*="top"] &`]:(0,f.Z)({transformOrigin:"center bottom",marginBottom:"14px"},ue.touch&&{marginBottom:"24px"}),[`.${O.popper}[data-popper-placement*="bottom"] &`]:(0,f.Z)({transformOrigin:"center top",marginTop:"14px"},ue.touch&&{marginTop:"24px"})})),A=(0,ee.ZP)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(j,ue)=>ue.arrow})(({theme:j})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:j.vars?j.vars.palette.Tooltip.bg:(0,M.Fq)(j.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let w=!1,C=null,U={x:0,y:0};function F(){w=!1,clearTimeout(C)}function Y(j,ue){return P=>{ue&&ue(P),j(P)}}var ie=l.forwardRef(function(ue,P){var Z,ae,ce,be,pe,h,te,Q,we,Se,Ne,ze,Je,qe,Me,Fe,Ue,he,xe;const q=(0,re.Z)({props:ue,name:"MuiTooltip"}),{arrow:me=!1,children:De,components:Te={},componentsProps:Oe={},describeChild:st=!1,disableFocusListener:Ft=!1,disableHoverListener:Qt=!1,disableInteractive:Vt=!1,disableTouchListener:Gt=!1,enterDelay:Jt=100,enterNextDelay:Lr=0,enterTouchDelay:Rr=700,followCursor:Gr=!1,id:zr,leaveDelay:pr=0,leaveTouchDelay:vn=1500,onClose:fn,onOpen:Zt,open:St,placement:Wt="bottom",PopperComponent:Nt,PopperProps:dt={},slotProps:nr={},slots:et={},title:Tt,TransitionComponent:Rt=S.Z,TransitionProps:or}=q,ir=(0,n.Z)(q,E),Qr=(0,W.Z)(),ft=Qr.direction==="rtl",[tr,gr]=l.useState(),[ar,rt]=l.useState(null),kt=l.useRef(!1),At=Vt||Gr,qt=l.useRef(),sr=l.useRef(),Kr=l.useRef(),kr=l.useRef(),[nn,on]=(0,R.Z)({controlled:St,default:!1,name:"Tooltip",state:"open"});let vr=nn;const Dr=(0,L.Z)(zr),_r=l.useRef(),Hr=l.useCallback(()=>{_r.current!==void 0&&(document.body.style.WebkitUserSelect=_r.current,_r.current=void 0),clearTimeout(kr.current)},[]);l.useEffect(()=>()=>{clearTimeout(qt.current),clearTimeout(sr.current),clearTimeout(Kr.current),Hr()},[Hr]);const Pr=Ke=>{clearTimeout(C),w=!0,on(!0),Zt&&!vr&&Zt(Ke)},un=(0,T.Z)(Ke=>{clearTimeout(C),C=setTimeout(()=>{w=!1},800+pr),on(!1),fn&&vr&&fn(Ke),clearTimeout(qt.current),qt.current=setTimeout(()=>{kt.current=!1},Qr.transitions.duration.shortest)}),Zn=Ke=>{kt.current&&Ke.type!=="touchstart"||(tr&&tr.removeAttribute("title"),clearTimeout(sr.current),clearTimeout(Kr.current),Jt||w&&Lr?sr.current=setTimeout(()=>{Pr(Ke)},w?Lr:Jt):Pr(Ke))},Jn=Ke=>{clearTimeout(sr.current),clearTimeout(Kr.current),Kr.current=setTimeout(()=>{un(Ke)},pr)},{isFocusVisibleRef:Dn,onBlur:qn,onFocus:lr,ref:Yr}=(0,c.Z)(),[,Yn]=l.useState(!1),ti=Ke=>{qn(Ke),Dn.current===!1&&(Yn(!1),Jn(Ke))},Wi=Ke=>{tr||gr(Ke.currentTarget),lr(Ke),Dn.current===!0&&(Yn(!0),Zn(Ke))},_t=Ke=>{kt.current=!0;const ht=De.props;ht.onTouchStart&&ht.onTouchStart(Ke)},Ct=Zn,mt=Jn,br=Ke=>{_t(Ke),clearTimeout(Kr.current),clearTimeout(qt.current),Hr(),_r.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",kr.current=setTimeout(()=>{document.body.style.WebkitUserSelect=_r.current,Zn(Ke)},Rr)},Pt=Ke=>{De.props.onTouchEnd&&De.props.onTouchEnd(Ke),Hr(),clearTimeout(Kr.current),Kr.current=setTimeout(()=>{un(Ke)},vn)};l.useEffect(()=>{if(!vr)return;function Ke(ht){(ht.key==="Escape"||ht.key==="Esc")&&un(ht)}return document.addEventListener("keydown",Ke),()=>{document.removeEventListener("keydown",Ke)}},[un,vr]);const qr=(0,V.Z)(De.ref,Yr,gr,P);!Tt&&Tt!==0&&(vr=!1);const mn=l.useRef(),In=Ke=>{const ht=De.props;ht.onMouseMove&&ht.onMouseMove(Ke),U={x:Ke.clientX,y:Ke.clientY},mn.current&&mn.current.update()},Vr={},Fn=typeof Tt=="string";st?(Vr.title=!vr&&Fn&&!Qt?Tt:null,Vr["aria-describedby"]=vr?Dr:null):(Vr["aria-label"]=Fn?Tt:null,Vr["aria-labelledby"]=vr&&!Fn?Dr:null);const An=(0,f.Z)({},Vr,ir,De.props,{className:(0,u.default)(ir.className,De.props.className),onTouchStart:_t,ref:qr},Gr?{onMouseMove:In}:{}),zn={};Gt||(An.onTouchStart=br,An.onTouchEnd=Pt),Qt||(An.onMouseOver=Y(Ct,An.onMouseOver),An.onMouseLeave=Y(mt,An.onMouseLeave),At||(zn.onMouseOver=Ct,zn.onMouseLeave=mt)),Ft||(An.onFocus=Y(Wi,An.onFocus),An.onBlur=Y(ti,An.onBlur),At||(zn.onFocus=Wi,zn.onBlur=ti));const bi=l.useMemo(()=>{var Ke;let ht=[{name:"arrow",enabled:Boolean(ar),options:{element:ar,padding:4}}];return(Ke=dt.popperOptions)!=null&&Ke.modifiers&&(ht=ht.concat(dt.popperOptions.modifiers)),(0,f.Z)({},dt.popperOptions,{modifiers:ht})},[ar,dt]),Si=(0,f.Z)({},q,{isRtl:ft,arrow:me,disableInteractive:At,placement:Wt,PopperComponentProp:Nt,touch:kt.current}),bo=d(Si),Fi=(Z=(ae=et.popper)!=null?ae:Te.Popper)!=null?Z:i,mo=(ce=(be=(pe=et.transition)!=null?pe:Te.Transition)!=null?be:Rt)!=null?ce:S.Z,_o=(h=(te=et.tooltip)!=null?te:Te.Tooltip)!=null?h:x,Ti=(Q=(we=et.arrow)!=null?we:Te.Arrow)!=null?Q:A,ao=(0,v.Z)(Fi,(0,f.Z)({},dt,(Se=nr.popper)!=null?Se:Oe.popper,{className:(0,u.default)(bo.popper,dt==null?void 0:dt.className,(Ne=(ze=nr.popper)!=null?ze:Oe.popper)==null?void 0:Ne.className)}),Si),no=(0,v.Z)(mo,(0,f.Z)({},or,(Je=nr.transition)!=null?Je:Oe.transition),Si),Ir=(0,v.Z)(_o,(0,f.Z)({},(qe=nr.tooltip)!=null?qe:Oe.tooltip,{className:(0,u.default)(bo.tooltip,(Me=(Fe=nr.tooltip)!=null?Fe:Oe.tooltip)==null?void 0:Me.className)}),Si),je=(0,v.Z)(Ti,(0,f.Z)({},(Ue=nr.arrow)!=null?Ue:Oe.arrow,{className:(0,u.default)(bo.arrow,(he=(xe=nr.arrow)!=null?xe:Oe.arrow)==null?void 0:he.className)}),Si);return(0,I.jsxs)(l.Fragment,{children:[l.cloneElement(De,An),(0,I.jsx)(Fi,(0,f.Z)({as:Nt!=null?Nt:J.Z,placement:Wt,anchorEl:Gr?{getBoundingClientRect:()=>({top:U.y,left:U.x,right:U.x,bottom:U.y,width:0,height:0})}:tr,popperRef:mn,open:tr?vr:!1,id:Dr,transition:!0},zn,ao,{popperOptions:bi,children:({TransitionProps:Ke})=>(0,I.jsx)(mo,(0,f.Z)({timeout:Qr.transitions.duration.shorter},Ke,no,{children:(0,I.jsxs)(_o,(0,f.Z)({},Ir,{children:[Tt,me?(0,I.jsx)(Ti,(0,f.Z)({},je,{ref:rt})):null]}))}))}))]})})},19855:function(_e,$,t){"use strict";t.d($,{Z:function(){return O}});var n=t(63366),f=t(87462),l=t(89526),u=t(23060),m=t(38368),v=t(13957),M=t(82500),ee=t(87260),W=t(88623),re=t(67402),se=t(85111);function S(I){return(0,se.Z)("MuiTypography",I)}const J=(0,re.Z)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var T=null,V=t(67557);const L=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],c=I=>{const{align:E,gutterBottom:K,noWrap:d,paragraph:i,variant:x,classes:A}=I,w={root:["root",x,I.align!=="inherit"&&`align${(0,W.Z)(E)}`,K&&"gutterBottom",d&&"noWrap",i&&"paragraph"]};return(0,v.Z)(w,S,A)},R=(0,M.ZP)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(I,E)=>{const{ownerState:K}=I;return[E.root,K.variant&&E[K.variant],K.align!=="inherit"&&E[`align${(0,W.Z)(K.align)}`],K.noWrap&&E.noWrap,K.gutterBottom&&E.gutterBottom,K.paragraph&&E.paragraph]}})(({theme:I,ownerState:E})=>(0,f.Z)({margin:0},E.variant&&I.typography[E.variant],E.align!=="inherit"&&{textAlign:E.align},E.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},E.gutterBottom&&{marginBottom:"0.35em"},E.paragraph&&{marginBottom:16})),B={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},X={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},g=I=>X[I]||I;var O=l.forwardRef(function(E,K){const d=(0,ee.Z)({props:E,name:"MuiTypography"}),i=g(d.color),x=(0,m.Z)((0,f.Z)({},d,{color:i})),{align:A="inherit",className:w,component:C,gutterBottom:U=!1,noWrap:F=!1,paragraph:Y=!1,variant:le="body1",variantMapping:ie=B}=x,j=(0,n.Z)(x,L),ue=(0,f.Z)({},x,{align:A,color:i,className:w,component:C,gutterBottom:U,noWrap:F,paragraph:Y,variant:le,variantMapping:ie}),P=C||(Y?"p":ie[le]||B[le])||"span",Z=c(ue);return(0,V.jsx)(R,(0,f.Z)({as:P,ref:K,ownerState:ue,className:(0,u.default)(Z.root,w)},j))})},71429:function(_e,$){"use strict";const t={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};$.Z=t},42242:function(_e,$,t){"use strict";t.d($,{Z:function(){return p}});var n=t(63366),f=t(87462),l=t(89526),u=t(23060),m=t(13957),v=t(88623),M=t(82500),ee=t(50770),W=t(21704),re=t(98592),se=t(67402),S=t(85111);function J(O){return(0,S.Z)("PrivateSwitchBase",O)}const T=(0,se.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var V=null,L=t(67557);const c=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],R=O=>{const{classes:I,checked:E,disabled:K,edge:d}=O,i={root:["root",E&&"checked",K&&"disabled",d&&`edge${(0,v.Z)(d)}`],input:["input"]};return(0,m.Z)(i,J,I)},B=(0,M.ZP)(re.Z)(({ownerState:O})=>(0,f.Z)({padding:9,borderRadius:"50%"},O.edge==="start"&&{marginLeft:O.size==="small"?-3:-12},O.edge==="end"&&{marginRight:O.size==="small"?-3:-12})),X=(0,M.ZP)("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1});var p=l.forwardRef(function(I,E){const{autoFocus:K,checked:d,checkedIcon:i,className:x,defaultChecked:A,disabled:w,disableFocusRipple:C=!1,edge:U=!1,icon:F,id:Y,inputProps:le,inputRef:ie,name:j,onBlur:ue,onChange:P,onFocus:Z,readOnly:ae,required:ce=!1,tabIndex:be,type:pe,value:h}=I,te=(0,n.Z)(I,c),[Q,we]=(0,ee.Z)({controlled:d,default:Boolean(A),name:"SwitchBase",state:"checked"}),Se=(0,W.Z)(),Ne=he=>{Z&&Z(he),Se&&Se.onFocus&&Se.onFocus(he)},ze=he=>{ue&&ue(he),Se&&Se.onBlur&&Se.onBlur(he)},Je=he=>{if(he.nativeEvent.defaultPrevented)return;const xe=he.target.checked;we(xe),P&&P(he,xe)};let qe=w;Se&&typeof qe=="undefined"&&(qe=Se.disabled);const Me=pe==="checkbox"||pe==="radio",Fe=(0,f.Z)({},I,{checked:Q,disabled:qe,disableFocusRipple:C,edge:U}),Ue=R(Fe);return(0,L.jsxs)(B,(0,f.Z)({component:"span",className:(0,u.default)(Ue.root,x),centerRipple:!0,focusRipple:!C,disabled:qe,tabIndex:null,role:void 0,onFocus:Ne,onBlur:ze,ownerState:Fe,ref:E},te,{children:[(0,L.jsx)(X,(0,f.Z)({autoFocus:K,checked:d,defaultChecked:A,className:Ue.input,disabled:qe,id:Me&&Y,name:j,onChange:Je,readOnly:ae,ref:ie,required:ce,ownerState:Fe,tabIndex:be,type:pe},pe==="checkbox"&&h===void 0?{}:{value:h},le)),Q?i:F]}))})},86162:function(_e,$,t){"use strict";var n=t(89526),f=t(85233),l=t(67557);$.Z=(0,f.Z)((0,l.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown")},84641:function(_e,$,t){"use strict";var n=t(89526),f=t(85233),l=t(67557);$.Z=(0,f.Z)((0,l.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close")},953:function(_e,$,t){"use strict";var n=t(89526),f=t(85233),l=t(67557);$.Z=(0,f.Z)((0,l.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft")},65550:function(_e,$,t){"use strict";var n=t(89526),f=t(85233),l=t(67557);$.Z=(0,f.Z)((0,l.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight")},62494:function(_e,$){"use strict";var t;/**
 * @license React
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var n=Symbol.for("react.element"),f=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),v=Symbol.for("react.provider"),M=Symbol.for("react.context"),ee=Symbol.for("react.server_context"),W=Symbol.for("react.forward_ref"),re=Symbol.for("react.suspense"),se=Symbol.for("react.suspense_list"),S=Symbol.for("react.memo"),J=Symbol.for("react.lazy"),T=Symbol.for("react.offscreen"),V;V=Symbol.for("react.module.reference");function L(c){if(typeof c=="object"&&c!==null){var R=c.$$typeof;switch(R){case n:switch(c=c.type,c){case l:case m:case u:case re:case se:return c;default:switch(c=c&&c.$$typeof,c){case ee:case M:case W:case J:case S:case v:return c;default:return R}}case f:return R}}}t=M,t=v,t=n,t=W,t=l,t=J,t=S,t=f,t=m,t=u,t=re,t=se,t=function(){return!1},t=function(){return!1},t=function(c){return L(c)===M},t=function(c){return L(c)===v},t=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===n},t=function(c){return L(c)===W},t=function(c){return L(c)===l},t=function(c){return L(c)===J},t=function(c){return L(c)===S},t=function(c){return L(c)===f},t=function(c){return L(c)===m},t=function(c){return L(c)===u},t=function(c){return L(c)===re},t=function(c){return L(c)===se},t=function(c){return typeof c=="string"||typeof c=="function"||c===l||c===m||c===u||c===re||c===se||c===T||typeof c=="object"&&c!==null&&(c.$$typeof===J||c.$$typeof===S||c.$$typeof===v||c.$$typeof===M||c.$$typeof===W||c.$$typeof===V||c.getModuleId!==void 0)},t=L},21536:function(_e,$,t){"use strict";t(62494)},63541:function(_e,$,t){"use strict";t.d($,{Z:function(){return qe}});var n=t(87462),f=t(63366),l=t(23563),u=t(83643),m=t(75392),v=t(94522),M=t(92112);function ee(Me,Fe){return(0,n.Z)({toolbar:{minHeight:56,[Me.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[Me.up("sm")]:{minHeight:64}}},Fe)}var W=t(72945),se={black:"#000",white:"#fff"},S=t(71429),T={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},L={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},R={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},X={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},p={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},I={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};const E=["mode","contrastThreshold","tonalOffset"],K={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:se.white,default:se.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},d={text:{primary:se.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:se.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function i(Me,Fe,Ue,he){const xe=he.light||he,q=he.dark||he*1.5;Me[Fe]||(Me.hasOwnProperty(Ue)?Me[Fe]=Me[Ue]:Fe==="light"?Me.light=(0,W.$n)(Me.main,xe):Fe==="dark"&&(Me.dark=(0,W._j)(Me.main,q)))}function x(Me="light"){return Me==="dark"?{main:X[200],light:X[50],dark:X[400]}:{main:X[700],light:X[400],dark:X[800]}}function A(Me="light"){return Me==="dark"?{main:T[200],light:T[50],dark:T[400]}:{main:T[500],light:T[300],dark:T[700]}}function w(Me="light"){return Me==="dark"?{main:L[500],light:L[300],dark:L[700]}:{main:L[700],light:L[400],dark:L[800]}}function C(Me="light"){return Me==="dark"?{main:p[400],light:p[300],dark:p[700]}:{main:p[700],light:p[500],dark:p[900]}}function U(Me="light"){return Me==="dark"?{main:I[400],light:I[300],dark:I[700]}:{main:I[800],light:I[500],dark:I[900]}}function F(Me="light"){return Me==="dark"?{main:R[400],light:R[300],dark:R[700]}:{main:"#ed6c02",light:R[500],dark:R[900]}}function Y(Me){const{mode:Fe="light",contrastThreshold:Ue=3,tonalOffset:he=.2}=Me,xe=(0,f.Z)(Me,E),q=Me.primary||x(Fe),me=Me.secondary||A(Fe),De=Me.error||w(Fe),Te=Me.info||C(Fe),Oe=Me.success||U(Fe),st=Me.warning||F(Fe);function Ft(Jt){return(0,W.mi)(Jt,d.text.primary)>=Ue?d.text.primary:K.text.primary}const Qt=({color:Jt,name:Lr,mainShade:Rr=500,lightShade:Gr=300,darkShade:zr=700})=>{if(Jt=(0,n.Z)({},Jt),!Jt.main&&Jt[Rr]&&(Jt.main=Jt[Rr]),!Jt.hasOwnProperty("main"))throw new Error((0,l.Z)(11,Lr?` (${Lr})`:"",Rr));if(typeof Jt.main!="string")throw new Error((0,l.Z)(12,Lr?` (${Lr})`:"",JSON.stringify(Jt.main)));return i(Jt,"light",Gr,he),i(Jt,"dark",zr,he),Jt.contrastText||(Jt.contrastText=Ft(Jt.main)),Jt},Vt={dark:d,light:K};return(0,u.Z)((0,n.Z)({common:(0,n.Z)({},se),mode:Fe,primary:Qt({color:q,name:"primary"}),secondary:Qt({color:me,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:Qt({color:De,name:"error"}),warning:Qt({color:st,name:"warning"}),info:Qt({color:Te,name:"info"}),success:Qt({color:Oe,name:"success"}),grey:S.Z,contrastThreshold:Ue,getContrastText:Ft,augmentColor:Qt,tonalOffset:he},Vt[Fe]),xe)}const le=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function ie(Me){return Math.round(Me*1e5)/1e5}const j={textTransform:"uppercase"},ue='"Roboto", "Helvetica", "Arial", sans-serif';function P(Me,Fe){const Ue=typeof Fe=="function"?Fe(Me):Fe,{fontFamily:he=ue,fontSize:xe=14,fontWeightLight:q=300,fontWeightRegular:me=400,fontWeightMedium:De=500,fontWeightBold:Te=700,htmlFontSize:Oe=16,allVariants:st,pxToRem:Ft}=Ue,Qt=(0,f.Z)(Ue,le),Vt=xe/14,Gt=Ft||(Rr=>`${Rr/Oe*Vt}rem`),Jt=(Rr,Gr,zr,pr,vn)=>(0,n.Z)({fontFamily:he,fontWeight:Rr,fontSize:Gt(Gr),lineHeight:zr},he===ue?{letterSpacing:`${ie(pr/Gr)}em`}:{},vn,st),Lr={h1:Jt(q,96,1.167,-1.5),h2:Jt(q,60,1.2,-.5),h3:Jt(me,48,1.167,0),h4:Jt(me,34,1.235,.25),h5:Jt(me,24,1.334,0),h6:Jt(De,20,1.6,.15),subtitle1:Jt(me,16,1.75,.15),subtitle2:Jt(De,14,1.57,.1),body1:Jt(me,16,1.5,.15),body2:Jt(me,14,1.43,.15),button:Jt(De,14,1.75,.4,j),caption:Jt(me,12,1.66,.4),overline:Jt(me,12,2.66,1,j)};return(0,u.Z)((0,n.Z)({htmlFontSize:Oe,pxToRem:Gt,fontFamily:he,fontSize:xe,fontWeightLight:q,fontWeightRegular:me,fontWeightMedium:De,fontWeightBold:Te},Lr),Qt,{clone:!1})}const Z=.2,ae=.14,ce=.12;function be(...Me){return[`${Me[0]}px ${Me[1]}px ${Me[2]}px ${Me[3]}px rgba(0,0,0,${Z})`,`${Me[4]}px ${Me[5]}px ${Me[6]}px ${Me[7]}px rgba(0,0,0,${ae})`,`${Me[8]}px ${Me[9]}px ${Me[10]}px ${Me[11]}px rgba(0,0,0,${ce})`].join(",")}var h=["none",be(0,2,1,-1,0,1,1,0,0,1,3,0),be(0,3,1,-2,0,2,2,0,0,1,5,0),be(0,3,3,-2,0,3,4,0,0,1,8,0),be(0,2,4,-1,0,4,5,0,0,1,10,0),be(0,3,5,-1,0,5,8,0,0,1,14,0),be(0,3,5,-1,0,6,10,0,0,1,18,0),be(0,4,5,-2,0,7,10,1,0,2,16,1),be(0,5,5,-3,0,8,10,1,0,3,14,2),be(0,5,6,-3,0,9,12,1,0,3,16,2),be(0,6,6,-3,0,10,14,1,0,4,18,3),be(0,6,7,-4,0,11,15,1,0,4,20,3),be(0,7,8,-4,0,12,17,2,0,5,22,4),be(0,7,8,-4,0,13,19,2,0,5,24,4),be(0,7,9,-4,0,14,21,2,0,5,26,4),be(0,8,9,-5,0,15,22,2,0,6,28,5),be(0,8,10,-5,0,16,24,2,0,6,30,5),be(0,8,11,-5,0,17,26,2,0,6,32,5),be(0,9,11,-5,0,18,28,2,0,7,34,6),be(0,9,12,-6,0,19,29,2,0,7,36,6),be(0,10,13,-6,0,20,31,3,0,8,38,7),be(0,10,13,-6,0,21,33,3,0,8,40,7),be(0,10,14,-6,0,22,35,3,0,8,42,7),be(0,11,14,-7,0,23,36,3,0,9,44,8),be(0,11,15,-7,0,24,38,3,0,9,46,8)],te=t(30263),we={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const Se=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Ne(Me={},...Fe){const{mixins:Ue={},palette:he={},transitions:xe={},typography:q={}}=Me,me=(0,f.Z)(Me,Se);if(Me.vars)throw new Error((0,l.Z)(18));const De=Y(he),Te=(0,m.Z)(Me);let Oe=(0,u.Z)(Te,{mixins:ee(Te.breakpoints,Ue),palette:De,shadows:h.slice(),typography:P(De,q),transitions:(0,te.ZP)(xe),zIndex:(0,n.Z)({},we)});return Oe=(0,u.Z)(Oe,me),Oe=Fe.reduce((st,Ft)=>(0,u.Z)(st,Ft),Oe),Oe.unstable_sxConfig=(0,n.Z)({},v.Z,me==null?void 0:me.unstable_sxConfig),Oe.unstable_sx=function(Ft){return(0,M.Z)({sx:Ft,theme:this})},Oe}let ze=!1;function Je(...Me){return Ne(...Me)}var qe=Ne},30263:function(_e,$,t){"use strict";t.d($,{ZP:function(){return ee},x9:function(){return m}});var n=t(63366),f=t(87462);const l=["duration","easing","delay"],u={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},m={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function v(W){return`${Math.round(W)}ms`}function M(W){if(!W)return 0;const re=W/36;return Math.round((4+15*hc(re,.25)+re/5)*10)}function ee(W){const re=(0,f.Z)({},u,W.easing),se=(0,f.Z)({},m,W.duration),S=(J=["all"],T={})=>{const{duration:V=se.standard,easing:L=re.easeInOut,delay:c=0}=T,R=(0,n.Z)(T,l);return(Array.isArray(J)?J:[J]).map(B=>`${B} ${typeof V=="string"?V:v(V)} ${L} ${typeof c=="string"?c:v(c)}`).join(",")};return(0,f.Z)({getAutoHeightDuration:M,create:S},W,{easing:re,duration:se})}},35891:function(_e,$,t){"use strict";var n=t(63541);const f=(0,n.Z)();$.Z=f},82500:function(_e,$,t){"use strict";t.d($,{Dz:function(){return u},FO:function(){return l}});var n=t(34228),f=t(35891);const l=v=>(0,n.x9)(v)&&v!=="classes",u=n.x9,m=(0,n.ZP)({defaultTheme:f.Z,rootShouldForwardProp:l});$.ZP=m},18051:function(_e,$,t){"use strict";t.d($,{Z:function(){return u}});var n=t(89526),f=t(57468),l=t(35891);function u(){return(0,f.Z)(l.Z)}},87260:function(_e,$,t){"use strict";t.d($,{Z:function(){return m}});var n=t(10643),f=t(57468);function l({props:v,name:M,defaultTheme:ee}){const W=(0,f.Z)(ee);return(0,n.Z)({theme:W,name:M,props:v})}var u=t(35891);function m({props:v,name:M}){return l({props:v,name:M,defaultTheme:u.Z})}},45942:function(_e,$,t){"use strict";t.d($,{C:function(){return f},n:function(){return n}});const n=l=>l.scrollTop;function f(l,u){var m,v;const{timeout:M,easing:ee,style:W={}}=l;return{duration:(m=W.transitionDuration)!=null?m:typeof M=="number"?M:M[u.mode]||0,easing:(v=W.transitionTimingFunction)!=null?v:typeof ee=="object"?ee[u.mode]:ee,delay:W.transitionDelay}}},88623:function(_e,$,t){"use strict";var n=t(83686);$.Z=n.Z},56377:function(_e,$,t){"use strict";var n=t(32733);$.Z=n.Z},85233:function(_e,$,t){"use strict";t.d($,{Z:function(){return m}});var n=t(87462),f=t(89526),l=t(37799),u=t(67557);function m(v,M){function ee(W,re){return(0,u.jsx)(l.Z,(0,n.Z)({"data-testid":`${M}Icon`,ref:re},W,{children:v}))}return ee.muiName=l.Z.muiName,f.memo(f.forwardRef(ee))}},22949:function(_e,$,t){"use strict";var n=t(25788);$.Z=n.Z},9636:function(_e,$,t){"use strict";t.r($),t.d($,{capitalize:function(){return f.Z},createChainedFunction:function(){return l.Z},createSvgIcon:function(){return u.Z},debounce:function(){return m.Z},deprecatedPropType:function(){return M},isMuiElement:function(){return ee.Z},ownerDocument:function(){return W.Z},ownerWindow:function(){return re.Z},requirePropFactory:function(){return J},setRef:function(){return V},unstable_ClassNameGenerator:function(){return I},unstable_useEnhancedEffect:function(){return L.Z},unstable_useId:function(){return c.Z},unsupportedProp:function(){return B},useControlled:function(){return X.Z},useEventCallback:function(){return g.Z},useForkRef:function(){return p.Z},useIsFocusVisible:function(){return O.Z}});var n=t(10297),f=t(88623),l=t(56377),u=t(85233),m=t(22949);function v(E,K){return()=>null}var M=v,ee=t(49572),W=t(72022),re=t(58132),se=t(87462);function S(E,K){return()=>null}var J=S,T=t(72536),V=T.Z,L=t(63830),c=t(80641);function R(E,K,d,i,x){return null}var B=R,X=t(50770),g=t(85923),p=t(89428),O=t(69790);const I={configure:E=>{n.Z.configure(E)}}},49572:function(_e,$,t){"use strict";t.d($,{Z:function(){return l}});var n=t(89526);function f(u,m){return n.isValidElement(u)&&m.indexOf(u.type.muiName)!==-1}var l=f},72022:function(_e,$,t){"use strict";var n=t(25156);$.Z=n.Z},58132:function(_e,$,t){"use strict";var n=t(69923);$.Z=n.Z},50770:function(_e,$,t){"use strict";var n=t(90904);$.Z=n.Z},63830:function(_e,$,t){"use strict";var n=t(36341);$.Z=n.Z},85923:function(_e,$,t){"use strict";var n=t(58426);$.Z=n.Z},89428:function(_e,$,t){"use strict";var n=t(61199);$.Z=n.Z},80641:function(_e,$,t){"use strict";var n=t(53068);$.Z=n.Z},69790:function(_e,$,t){"use strict";var n=t(49665);$.Z=n.Z},14666:function(_e,$,t){"use strict";var n=t(87462),f=t(89526),l=t(5457),u=t(66005),m=t(77593),v=t(67557);function M(W,re){return typeof re=="function"?re(W):(0,n.Z)({},W,re)}function ee(W){const{children:re,theme:se}=W,S=(0,u.Z)(),J=f.useMemo(()=>{const T=S===null?se:M(S,se);return T!=null&&(T[m.Z]=S!==null),T},[se,S]);return(0,v.jsx)(l.Z.Provider,{value:J,children:re})}$.Z=ee},77593:function(_e,$){"use strict";const t=typeof Symbol=="function"&&Symbol.for;$.Z=t?Symbol.for("mui.nested"):"__THEME_NESTED__"},5457:function(_e,$,t){"use strict";var n=t(89526);const f=n.createContext(null);$.Z=f},66005:function(_e,$,t){"use strict";t.d($,{Z:function(){return l}});var n=t(89526),f=t(5457);function l(){return n.useContext(f.Z)}},31119:function(_e,$,t){"use strict";t.d($,{Co:function(){return l},ZP:function(){return f}});var n=t(40470);/**
 * @mui/styled-engine v5.11.8
 *
 * @license MIT
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */function f(u,m){return(0,n.Z)(u,m)}const l=(u,m)=>{Array.isArray(u.__emotion_styles)&&(u.__emotion_styles=m(u.__emotion_styles))}},60090:function(_e,$,t){"use strict";t.d($,{Z:function(){return Cl}});var n=t(63366),f=t(87462),l=t(89526),u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(jt){return typeof jt}:function(jt){return jt&&typeof Symbol=="function"&&jt.constructor===Symbol&&jt!==Symbol.prototype?"symbol":typeof jt},m=(typeof window=="undefined"?"undefined":u(window))==="object"&&(typeof document=="undefined"?"undefined":u(document))==="object"&&document.nodeType===9,v=m,M=t(49142);function ee(jt,pt){for(var wt=0;wt<pt.length;wt++){var Ye=pt[wt];Ye.enumerable=Ye.enumerable||!1,Ye.configurable=!0,"value"in Ye&&(Ye.writable=!0),Object.defineProperty(jt,(0,M.Z)(Ye.key),Ye)}}function W(jt,pt,wt){return pt&&ee(jt.prototype,pt),wt&&ee(jt,wt),Object.defineProperty(jt,"prototype",{writable:!1}),jt}var re=t(51721),se=t(97326),S={}.constructor;function J(jt){if(jt==null||typeof jt!="object")return jt;if(Array.isArray(jt))return jt.map(J);if(jt.constructor!==S)return jt;var pt={};for(var wt in jt)pt[wt]=J(jt[wt]);return pt}function T(jt,pt,wt){jt===void 0&&(jt="unnamed");var Ye=wt.jss,Ut=J(pt),fr=Ye.plugins.onCreateRule(jt,Ut,wt);return fr||(jt[0],null)}var V=function(pt,wt){for(var Ye="",Ut=0;Ut<pt.length&&pt[Ut]!=="!important";Ut++)Ye&&(Ye+=wt),Ye+=pt[Ut];return Ye},L=function(pt,wt){if(wt===void 0&&(wt=!1),!Array.isArray(pt))return pt;var Ye="";if(Array.isArray(pt[0]))for(var Ut=0;Ut<pt.length&&pt[Ut]!=="!important";Ut++)Ye&&(Ye+=", "),Ye+=V(pt[Ut]," ");else Ye=V(pt,", ");return!wt&&pt[pt.length-1]==="!important"&&(Ye+=" !important"),Ye};function c(jt){return jt&&jt.format===!1?{linebreak:"",space:""}:{linebreak:`
`,space:" "}}function R(jt,pt){for(var wt="",Ye=0;Ye<pt;Ye++)wt+="  ";return wt+jt}function B(jt,pt,wt){wt===void 0&&(wt={});var Ye="";if(!pt)return Ye;var Ut=wt,fr=Ut.indent,Tr=fr===void 0?0:fr,ln=pt.fallbacks;wt.format===!1&&(Tr=-1/0);var pi=c(wt),Di=pi.linebreak,Mo=pi.space;if(jt&&Tr++,ln)if(Array.isArray(ln))for(var Vo=0;Vo<ln.length;Vo++){var Bs=ln[Vo];for(var is in Bs){var cs=Bs[is];cs!=null&&(Ye&&(Ye+=Di),Ye+=R(is+":"+Mo+L(cs)+";",Tr))}}else for(var Us in ln){var Uo=ln[Us];Uo!=null&&(Ye&&(Ye+=Di),Ye+=R(Us+":"+Mo+L(Uo)+";",Tr))}for(var Vs in pt){var Ns=pt[Vs];Ns!=null&&Vs!=="fallbacks"&&(Ye&&(Ye+=Di),Ye+=R(Vs+":"+Mo+L(Ns)+";",Tr))}return!Ye&&!wt.allowEmpty||!jt?Ye:(Tr--,Ye&&(Ye=""+Di+Ye+Di),R(""+jt+Mo+"{"+Ye,Tr)+R("}",Tr))}var X=/([[\].#*$><+~=|^:(),"'`\s])/g,g=typeof CSS!="undefined"&&CSS.escape,p=function(jt){return g?g(jt):jt.replace(X,"\\$1")},O=function(){function jt(wt,Ye,Ut){this.type="style",this.isProcessed=!1;var fr=Ut.sheet,Tr=Ut.Renderer;this.key=wt,this.options=Ut,this.style=Ye,fr?this.renderer=fr.renderer:Tr&&(this.renderer=new Tr)}var pt=jt.prototype;return pt.prop=function(Ye,Ut,fr){if(Ut===void 0)return this.style[Ye];var Tr=fr?fr.force:!1;if(!Tr&&this.style[Ye]===Ut)return this;var ln=Ut;(!fr||fr.process!==!1)&&(ln=this.options.jss.plugins.onChangeValue(Ut,Ye,this));var pi=ln==null||ln===!1,Di=Ye in this.style;if(pi&&!Di&&!Tr)return this;var Mo=pi&&Di;if(Mo?delete this.style[Ye]:this.style[Ye]=ln,this.renderable&&this.renderer)return Mo?this.renderer.removeProperty(this.renderable,Ye):this.renderer.setProperty(this.renderable,Ye,ln),this;var Vo=this.options.sheet;return Vo&&Vo.attached,this},jt}(),I=function(jt){(0,re.Z)(pt,jt);function pt(Ye,Ut,fr){var Tr;Tr=jt.call(this,Ye,Ut,fr)||this;var ln=fr.selector,pi=fr.scoped,Di=fr.sheet,Mo=fr.generateId;return ln?Tr.selectorText=ln:pi!==!1&&(Tr.id=Mo((0,se.Z)((0,se.Z)(Tr)),Di),Tr.selectorText="."+p(Tr.id)),Tr}var wt=pt.prototype;return wt.applyTo=function(Ut){var fr=this.renderer;if(fr){var Tr=this.toJSON();for(var ln in Tr)fr.setProperty(Ut,ln,Tr[ln])}return this},wt.toJSON=function(){var Ut={};for(var fr in this.style){var Tr=this.style[fr];typeof Tr!="object"?Ut[fr]=Tr:Array.isArray(Tr)&&(Ut[fr]=L(Tr))}return Ut},wt.toString=function(Ut){var fr=this.options.sheet,Tr=fr?fr.options.link:!1,ln=Tr?(0,f.Z)({},Ut,{allowEmpty:!0}):Ut;return B(this.selectorText,this.style,ln)},W(pt,[{key:"selector",set:function(Ut){if(Ut!==this.selectorText){this.selectorText=Ut;var fr=this.renderer,Tr=this.renderable;if(!(!Tr||!fr)){var ln=fr.setSelector(Tr,Ut);ln||fr.replaceRule(Tr,this)}}},get:function(){return this.selectorText}}]),pt}(O),E={onCreateRule:function(pt,wt,Ye){return pt[0]==="@"||Ye.parent&&Ye.parent.type==="keyframes"?null:new I(pt,wt,Ye)}},K={indent:1,children:!0},d=/@([\w-]+)/,i=function(){function jt(wt,Ye,Ut){this.type="conditional",this.isProcessed=!1,this.key=wt;var fr=wt.match(d);this.at=fr?fr[1]:"unknown",this.query=Ut.name||"@"+this.at,this.options=Ut,this.rules=new ze((0,f.Z)({},Ut,{parent:this}));for(var Tr in Ye)this.rules.add(Tr,Ye[Tr]);this.rules.process()}var pt=jt.prototype;return pt.getRule=function(Ye){return this.rules.get(Ye)},pt.indexOf=function(Ye){return this.rules.indexOf(Ye)},pt.addRule=function(Ye,Ut,fr){var Tr=this.rules.add(Ye,Ut,fr);return Tr?(this.options.jss.plugins.onProcessRule(Tr),Tr):null},pt.toString=function(Ye){Ye===void 0&&(Ye=K);var Ut=c(Ye),fr=Ut.linebreak;if(Ye.indent==null&&(Ye.indent=K.indent),Ye.children==null&&(Ye.children=K.children),Ye.children===!1)return this.query+" {}";var Tr=this.rules.toString(Ye);return Tr?this.query+" {"+fr+Tr+fr+"}":""},jt}(),x=/@media|@supports\s+/,A={onCreateRule:function(pt,wt,Ye){return x.test(pt)?new i(pt,wt,Ye):null}},w={indent:1,children:!0},C=/@keyframes\s+([\w-]+)/,U=function(){function jt(wt,Ye,Ut){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var fr=wt.match(C);fr&&fr[1]?this.name=fr[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=Ut;var Tr=Ut.scoped,ln=Ut.sheet,pi=Ut.generateId;this.id=Tr===!1?this.name:p(pi(this,ln)),this.rules=new ze((0,f.Z)({},Ut,{parent:this}));for(var Di in Ye)this.rules.add(Di,Ye[Di],(0,f.Z)({},Ut,{parent:this}));this.rules.process()}var pt=jt.prototype;return pt.toString=function(Ye){Ye===void 0&&(Ye=w);var Ut=c(Ye),fr=Ut.linebreak;if(Ye.indent==null&&(Ye.indent=w.indent),Ye.children==null&&(Ye.children=w.children),Ye.children===!1)return this.at+" "+this.id+" {}";var Tr=this.rules.toString(Ye);return Tr&&(Tr=""+fr+Tr+fr),this.at+" "+this.id+" {"+Tr+"}"},jt}(),F=/@keyframes\s+/,Y=/\$([\w-]+)/g,le=function(pt,wt){return typeof pt=="string"?pt.replace(Y,function(Ye,Ut){return Ut in wt?wt[Ut]:Ye}):pt},ie=function(pt,wt,Ye){var Ut=pt[wt],fr=le(Ut,Ye);fr!==Ut&&(pt[wt]=fr)},j={onCreateRule:function(pt,wt,Ye){return typeof pt=="string"&&F.test(pt)?new U(pt,wt,Ye):null},onProcessStyle:function(pt,wt,Ye){return wt.type!=="style"||!Ye||("animation-name"in pt&&ie(pt,"animation-name",Ye.keyframes),"animation"in pt&&ie(pt,"animation",Ye.keyframes)),pt},onChangeValue:function(pt,wt,Ye){var Ut=Ye.options.sheet;if(!Ut)return pt;switch(wt){case"animation":return le(pt,Ut.keyframes);case"animation-name":return le(pt,Ut.keyframes);default:return pt}}},ue=function(jt){(0,re.Z)(pt,jt);function pt(){return jt.apply(this,arguments)||this}var wt=pt.prototype;return wt.toString=function(Ut){var fr=this.options.sheet,Tr=fr?fr.options.link:!1,ln=Tr?(0,f.Z)({},Ut,{allowEmpty:!0}):Ut;return B(this.key,this.style,ln)},pt}(O),P={onCreateRule:function(pt,wt,Ye){return Ye.parent&&Ye.parent.type==="keyframes"?new ue(pt,wt,Ye):null}},Z=function(){function jt(wt,Ye,Ut){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=wt,this.style=Ye,this.options=Ut}var pt=jt.prototype;return pt.toString=function(Ye){var Ut=c(Ye),fr=Ut.linebreak;if(Array.isArray(this.style)){for(var Tr="",ln=0;ln<this.style.length;ln++)Tr+=B(this.at,this.style[ln]),this.style[ln+1]&&(Tr+=fr);return Tr}return B(this.at,this.style,Ye)},jt}(),ae=/@font-face/,ce={onCreateRule:function(pt,wt,Ye){return ae.test(pt)?new Z(pt,wt,Ye):null}},be=function(){function jt(wt,Ye,Ut){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=wt,this.style=Ye,this.options=Ut}var pt=jt.prototype;return pt.toString=function(Ye){return B(this.key,this.style,Ye)},jt}(),pe={onCreateRule:function(pt,wt,Ye){return pt==="@viewport"||pt==="@-ms-viewport"?new be(pt,wt,Ye):null}},h=function(){function jt(wt,Ye,Ut){this.type="simple",this.isProcessed=!1,this.key=wt,this.value=Ye,this.options=Ut}var pt=jt.prototype;return pt.toString=function(Ye){if(Array.isArray(this.value)){for(var Ut="",fr=0;fr<this.value.length;fr++)Ut+=this.key+" "+this.value[fr]+";",this.value[fr+1]&&(Ut+=`
`);return Ut}return this.key+" "+this.value+";"},jt}(),te={"@charset":!0,"@import":!0,"@namespace":!0},Q={onCreateRule:function(pt,wt,Ye){return pt in te?new h(pt,wt,Ye):null}},we=[E,A,j,P,ce,pe,Q],Se={process:!0},Ne={force:!0,process:!0},ze=function(){function jt(wt){this.map={},this.raw={},this.index=[],this.counter=0,this.options=wt,this.classes=wt.classes,this.keyframes=wt.keyframes}var pt=jt.prototype;return pt.add=function(Ye,Ut,fr){var Tr=this.options,ln=Tr.parent,pi=Tr.sheet,Di=Tr.jss,Mo=Tr.Renderer,Vo=Tr.generateId,Bs=Tr.scoped,is=(0,f.Z)({classes:this.classes,parent:ln,sheet:pi,jss:Di,Renderer:Mo,generateId:Vo,scoped:Bs,name:Ye,keyframes:this.keyframes,selector:void 0},fr),cs=Ye;Ye in this.raw&&(cs=Ye+"-d"+this.counter++),this.raw[cs]=Ut,cs in this.classes&&(is.selector="."+p(this.classes[cs]));var Us=T(cs,Ut,is);if(!Us)return null;this.register(Us);var Uo=is.index===void 0?this.index.length:is.index;return this.index.splice(Uo,0,Us),Us},pt.get=function(Ye){return this.map[Ye]},pt.remove=function(Ye){this.unregister(Ye),delete this.raw[Ye.key],this.index.splice(this.index.indexOf(Ye),1)},pt.indexOf=function(Ye){return this.index.indexOf(Ye)},pt.process=function(){var Ye=this.options.jss.plugins;this.index.slice(0).forEach(Ye.onProcessRule,Ye)},pt.register=function(Ye){this.map[Ye.key]=Ye,Ye instanceof I?(this.map[Ye.selector]=Ye,Ye.id&&(this.classes[Ye.key]=Ye.id)):Ye instanceof U&&this.keyframes&&(this.keyframes[Ye.name]=Ye.id)},pt.unregister=function(Ye){delete this.map[Ye.key],Ye instanceof I?(delete this.map[Ye.selector],delete this.classes[Ye.key]):Ye instanceof U&&delete this.keyframes[Ye.name]},pt.update=function(){var Ye,Ut,fr;if(typeof(arguments.length<=0?void 0:arguments[0])=="string"?(Ye=arguments.length<=0?void 0:arguments[0],Ut=arguments.length<=1?void 0:arguments[1],fr=arguments.length<=2?void 0:arguments[2]):(Ut=arguments.length<=0?void 0:arguments[0],fr=arguments.length<=1?void 0:arguments[1],Ye=null),Ye)this.updateOne(this.map[Ye],Ut,fr);else for(var Tr=0;Tr<this.index.length;Tr++)this.updateOne(this.index[Tr],Ut,fr)},pt.updateOne=function(Ye,Ut,fr){fr===void 0&&(fr=Se);var Tr=this.options,ln=Tr.jss.plugins,pi=Tr.sheet;if(Ye.rules instanceof jt){Ye.rules.update(Ut,fr);return}var Di=Ye.style;if(ln.onUpdate(Ut,Ye,pi,fr),fr.process&&Di&&Di!==Ye.style){ln.onProcessStyle(Ye.style,Ye,pi);for(var Mo in Ye.style){var Vo=Ye.style[Mo],Bs=Di[Mo];Vo!==Bs&&Ye.prop(Mo,Vo,Ne)}for(var is in Di){var cs=Ye.style[is],Us=Di[is];cs==null&&cs!==Us&&Ye.prop(is,null,Ne)}}},pt.toString=function(Ye){for(var Ut="",fr=this.options.sheet,Tr=fr?fr.options.link:!1,ln=c(Ye),pi=ln.linebreak,Di=0;Di<this.index.length;Di++){var Mo=this.index[Di],Vo=Mo.toString(Ye);!Vo&&!Tr||(Ut&&(Ut+=pi),Ut+=Vo)}return Ut},jt}(),Je=function(){function jt(wt,Ye){this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=(0,f.Z)({},Ye,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),Ye.Renderer&&(this.renderer=new Ye.Renderer(this)),this.rules=new ze(this.options);for(var Ut in wt)this.rules.add(Ut,wt[Ut]);this.rules.process()}var pt=jt.prototype;return pt.attach=function(){return this.attached?this:(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy(),this)},pt.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},pt.addRule=function(Ye,Ut,fr){var Tr=this.queue;this.attached&&!Tr&&(this.queue=[]);var ln=this.rules.add(Ye,Ut,fr);return ln?(this.options.jss.plugins.onProcessRule(ln),this.attached?(this.deployed&&(Tr?Tr.push(ln):(this.insertRule(ln),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0))),ln):(this.deployed=!1,ln)):null},pt.insertRule=function(Ye){this.renderer&&this.renderer.insertRule(Ye)},pt.addRules=function(Ye,Ut){var fr=[];for(var Tr in Ye){var ln=this.addRule(Tr,Ye[Tr],Ut);ln&&fr.push(ln)}return fr},pt.getRule=function(Ye){return this.rules.get(Ye)},pt.deleteRule=function(Ye){var Ut=typeof Ye=="object"?Ye:this.rules.get(Ye);return!Ut||this.attached&&!Ut.renderable?!1:(this.rules.remove(Ut),this.attached&&Ut.renderable&&this.renderer?this.renderer.deleteRule(Ut.renderable):!0)},pt.indexOf=function(Ye){return this.rules.indexOf(Ye)},pt.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},pt.update=function(){var Ye;return(Ye=this.rules).update.apply(Ye,arguments),this},pt.updateOne=function(Ye,Ut,fr){return this.rules.updateOne(Ye,Ut,fr),this},pt.toString=function(Ye){return this.rules.toString(Ye)},jt}(),qe=function(){function jt(){this.plugins={internal:[],external:[]},this.registry={}}var pt=jt.prototype;return pt.onCreateRule=function(Ye,Ut,fr){for(var Tr=0;Tr<this.registry.onCreateRule.length;Tr++){var ln=this.registry.onCreateRule[Tr](Ye,Ut,fr);if(ln)return ln}return null},pt.onProcessRule=function(Ye){if(!Ye.isProcessed){for(var Ut=Ye.options.sheet,fr=0;fr<this.registry.onProcessRule.length;fr++)this.registry.onProcessRule[fr](Ye,Ut);Ye.style&&this.onProcessStyle(Ye.style,Ye,Ut),Ye.isProcessed=!0}},pt.onProcessStyle=function(Ye,Ut,fr){for(var Tr=0;Tr<this.registry.onProcessStyle.length;Tr++)Ut.style=this.registry.onProcessStyle[Tr](Ut.style,Ut,fr)},pt.onProcessSheet=function(Ye){for(var Ut=0;Ut<this.registry.onProcessSheet.length;Ut++)this.registry.onProcessSheet[Ut](Ye)},pt.onUpdate=function(Ye,Ut,fr,Tr){for(var ln=0;ln<this.registry.onUpdate.length;ln++)this.registry.onUpdate[ln](Ye,Ut,fr,Tr)},pt.onChangeValue=function(Ye,Ut,fr){for(var Tr=Ye,ln=0;ln<this.registry.onChangeValue.length;ln++)Tr=this.registry.onChangeValue[ln](Tr,Ut,fr);return Tr},pt.use=function(Ye,Ut){Ut===void 0&&(Ut={queue:"external"});var fr=this.plugins[Ut.queue];fr.indexOf(Ye)===-1&&(fr.push(Ye),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce(function(Tr,ln){for(var pi in ln)pi in Tr&&Tr[pi].push(ln[pi]);return Tr},{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},jt}(),Me=function(){function jt(){this.registry=[]}var pt=jt.prototype;return pt.add=function(Ye){var Ut=this.registry,fr=Ye.options.index;if(Ut.indexOf(Ye)===-1){if(Ut.length===0||fr>=this.index){Ut.push(Ye);return}for(var Tr=0;Tr<Ut.length;Tr++)if(Ut[Tr].options.index>fr){Ut.splice(Tr,0,Ye);return}}},pt.reset=function(){this.registry=[]},pt.remove=function(Ye){var Ut=this.registry.indexOf(Ye);this.registry.splice(Ut,1)},pt.toString=function(Ye){for(var Ut=Ye===void 0?{}:Ye,fr=Ut.attached,Tr=(0,n.Z)(Ut,["attached"]),ln=c(Tr),pi=ln.linebreak,Di="",Mo=0;Mo<this.registry.length;Mo++){var Vo=this.registry[Mo];fr!=null&&Vo.attached!==fr||(Di&&(Di+=pi),Di+=Vo.toString(Tr))}return Di},W(jt,[{key:"index",get:function(){return this.registry.length===0?0:this.registry[this.registry.length-1].options.index}}]),jt}(),Fe=new Me,Ue=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"&&window.Math===Math?window:typeof self!="undefined"&&self.Math===Math?self:Function("return this")(),he="2f1acc6c3a606b082e5eef5e54414ffb";Ue[he]==null&&(Ue[he]=0);var xe=Ue[he]++,q=1e10,me=function(pt){pt===void 0&&(pt={});var wt=0,Ye=function(fr,Tr){wt+=1,wt>q;var ln="",pi="";return Tr&&(Tr.options.classNamePrefix&&(pi=Tr.options.classNamePrefix),Tr.options.jss.id!=null&&(ln=String(Tr.options.jss.id))),pt.minify?""+(pi||"c")+xe+ln+wt:pi+fr.key+"-"+xe+(ln?"-"+ln:"")+"-"+wt};return Ye},De=function(pt){var wt;return function(){return wt||(wt=pt()),wt}},Te=function(pt,wt){try{return pt.attributeStyleMap?pt.attributeStyleMap.get(wt):pt.style.getPropertyValue(wt)}catch(Ye){return""}},Oe=function(pt,wt,Ye){try{var Ut=Ye;if(Array.isArray(Ye)&&(Ut=L(Ye,!0),Ye[Ye.length-1]==="!important"))return pt.style.setProperty(wt,Ut,"important"),!0;pt.attributeStyleMap?pt.attributeStyleMap.set(wt,Ut):pt.style.setProperty(wt,Ut)}catch(fr){return!1}return!0},st=function(pt,wt){try{pt.attributeStyleMap?pt.attributeStyleMap.delete(wt):pt.style.removeProperty(wt)}catch(Ye){}},Ft=function(pt,wt){return pt.selectorText=wt,pt.selectorText===wt},Qt=De(function(){return document.querySelector("head")});function Vt(jt,pt){for(var wt=0;wt<jt.length;wt++){var Ye=jt[wt];if(Ye.attached&&Ye.options.index>pt.index&&Ye.options.insertionPoint===pt.insertionPoint)return Ye}return null}function Gt(jt,pt){for(var wt=jt.length-1;wt>=0;wt--){var Ye=jt[wt];if(Ye.attached&&Ye.options.insertionPoint===pt.insertionPoint)return Ye}return null}function Jt(jt){for(var pt=Qt(),wt=0;wt<pt.childNodes.length;wt++){var Ye=pt.childNodes[wt];if(Ye.nodeType===8&&Ye.nodeValue.trim()===jt)return Ye}return null}function Lr(jt){var pt=Fe.registry;if(pt.length>0){var wt=Vt(pt,jt);if(wt&&wt.renderer)return{parent:wt.renderer.element.parentNode,node:wt.renderer.element};if(wt=Gt(pt,jt),wt&&wt.renderer)return{parent:wt.renderer.element.parentNode,node:wt.renderer.element.nextSibling}}var Ye=jt.insertionPoint;if(Ye&&typeof Ye=="string"){var Ut=Jt(Ye);if(Ut)return{parent:Ut.parentNode,node:Ut.nextSibling}}return!1}function Rr(jt,pt){var wt=pt.insertionPoint,Ye=Lr(pt);if(Ye!==!1&&Ye.parent){Ye.parent.insertBefore(jt,Ye.node);return}if(wt&&typeof wt.nodeType=="number"){var Ut=wt,fr=Ut.parentNode;fr&&fr.insertBefore(jt,Ut.nextSibling);return}Qt().appendChild(jt)}var Gr=De(function(){var jt=document.querySelector('meta[property="csp-nonce"]');return jt?jt.getAttribute("content"):null}),zr=function(pt,wt,Ye){try{"insertRule"in pt?pt.insertRule(wt,Ye):"appendRule"in pt&&pt.appendRule(wt)}catch(Ut){return!1}return pt.cssRules[Ye]},pr=function(pt,wt){var Ye=pt.cssRules.length;return wt===void 0||wt>Ye?Ye:wt},vn=function(){var pt=document.createElement("style");return pt.textContent=`
`,pt},fn=function(){function jt(wt){this.getPropertyValue=Te,this.setProperty=Oe,this.removeProperty=st,this.setSelector=Ft,this.hasInsertedRules=!1,this.cssRules=[],wt&&Fe.add(wt),this.sheet=wt;var Ye=this.sheet?this.sheet.options:{},Ut=Ye.media,fr=Ye.meta,Tr=Ye.element;this.element=Tr||vn(),this.element.setAttribute("data-jss",""),Ut&&this.element.setAttribute("media",Ut),fr&&this.element.setAttribute("data-meta",fr);var ln=Gr();ln&&this.element.setAttribute("nonce",ln)}var pt=jt.prototype;return pt.attach=function(){if(!(this.element.parentNode||!this.sheet)){Rr(this.element,this.sheet.options);var Ye=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&Ye&&(this.hasInsertedRules=!1,this.deploy())}},pt.detach=function(){if(this.sheet){var Ye=this.element.parentNode;Ye&&Ye.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent=`
`)}},pt.deploy=function(){var Ye=this.sheet;if(Ye){if(Ye.options.link){this.insertRules(Ye.rules);return}this.element.textContent=`
`+Ye.toString()+`
`}},pt.insertRules=function(Ye,Ut){for(var fr=0;fr<Ye.index.length;fr++)this.insertRule(Ye.index[fr],fr,Ut)},pt.insertRule=function(Ye,Ut,fr){if(fr===void 0&&(fr=this.element.sheet),Ye.rules){var Tr=Ye,ln=fr;if(Ye.type==="conditional"||Ye.type==="keyframes"){var pi=pr(fr,Ut);if(ln=zr(fr,Tr.toString({children:!1}),pi),ln===!1)return!1;this.refCssRule(Ye,pi,ln)}return this.insertRules(Tr.rules,ln),ln}var Di=Ye.toString();if(!Di)return!1;var Mo=pr(fr,Ut),Vo=zr(fr,Di,Mo);return Vo===!1?!1:(this.hasInsertedRules=!0,this.refCssRule(Ye,Mo,Vo),Vo)},pt.refCssRule=function(Ye,Ut,fr){Ye.renderable=fr,Ye.options.parent instanceof Je&&(this.cssRules[Ut]=fr)},pt.deleteRule=function(Ye){var Ut=this.element.sheet,fr=this.indexOf(Ye);return fr===-1?!1:(Ut.deleteRule(fr),this.cssRules.splice(fr,1),!0)},pt.indexOf=function(Ye){return this.cssRules.indexOf(Ye)},pt.replaceRule=function(Ye,Ut){var fr=this.indexOf(Ye);return fr===-1?!1:(this.element.sheet.deleteRule(fr),this.cssRules.splice(fr,1),this.insertRule(Ut,fr))},pt.getRules=function(){return this.element.sheet.cssRules},jt}(),Zt=0,St=function(){function jt(wt){this.id=Zt++,this.version="10.8.2",this.plugins=new qe,this.options={id:{minify:!1},createGenerateId:me,Renderer:v?fn:null,plugins:[]},this.generateId=me({minify:!1});for(var Ye=0;Ye<we.length;Ye++)this.plugins.use(we[Ye],{queue:"internal"});this.setup(wt)}var pt=jt.prototype;return pt.setup=function(Ye){return Ye===void 0&&(Ye={}),Ye.createGenerateId&&(this.options.createGenerateId=Ye.createGenerateId),Ye.id&&(this.options.id=(0,f.Z)({},this.options.id,Ye.id)),(Ye.createGenerateId||Ye.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),Ye.insertionPoint!=null&&(this.options.insertionPoint=Ye.insertionPoint),"Renderer"in Ye&&(this.options.Renderer=Ye.Renderer),Ye.plugins&&this.use.apply(this,Ye.plugins),this},pt.createStyleSheet=function(Ye,Ut){Ut===void 0&&(Ut={});var fr=Ut,Tr=fr.index;typeof Tr!="number"&&(Tr=Fe.index===0?0:Fe.index+1);var ln=new Je(Ye,(0,f.Z)({},Ut,{jss:this,generateId:Ut.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:Tr}));return this.plugins.onProcessSheet(ln),ln},pt.removeStyleSheet=function(Ye){return Ye.detach(),Fe.remove(Ye),this},pt.createRule=function(Ye,Ut,fr){if(Ut===void 0&&(Ut={}),fr===void 0&&(fr={}),typeof Ye=="object")return this.createRule(void 0,Ye,Ut);var Tr=(0,f.Z)({},fr,{name:Ye,jss:this,Renderer:this.options.Renderer});Tr.generateId||(Tr.generateId=this.generateId),Tr.classes||(Tr.classes={}),Tr.keyframes||(Tr.keyframes={});var ln=T(Ye,Ut,Tr);return ln&&this.plugins.onProcessRule(ln),ln},pt.use=function(){for(var Ye=this,Ut=arguments.length,fr=new Array(Ut),Tr=0;Tr<Ut;Tr++)fr[Tr]=arguments[Tr];return fr.forEach(function(ln){Ye.plugins.use(ln)}),this},jt}(),Wt=function(pt){return new St(pt)},Nt=null,dt=typeof CSS=="object"&&CSS!=null&&"number"in CSS;function nr(jt){var pt=null;for(var wt in jt){var Ye=jt[wt],Ut=typeof Ye;if(Ut==="function")pt||(pt={}),pt[wt]=Ye;else if(Ut==="object"&&Ye!==null&&!Array.isArray(Ye)){var fr=nr(Ye);fr&&(pt||(pt={}),pt[wt]=fr)}}return pt}/**
 * A better abstraction over CSS.
 *
 * @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
 * @website https://github.com/cssinjs/jss
 * @license MIT
 */var et=Wt(),Tt=null;function Rt(jt={}){const{baseClasses:pt,newClasses:wt,Component:Ye}=jt;if(!wt)return pt;const Ut=(0,f.Z)({},pt);return Object.keys(wt).forEach(fr=>{wt[fr]&&(Ut[fr]=`${pt[fr]} ${wt[fr]}`)}),Ut}var ir={set:(jt,pt,wt,Ye)=>{let Ut=jt.get(pt);Ut||(Ut=new Map,jt.set(pt,Ut)),Ut.set(wt,Ye)},get:(jt,pt,wt)=>{const Ye=jt.get(pt);return Ye?Ye.get(wt):void 0},delete:(jt,pt,wt)=>{jt.get(pt).delete(wt)}},Qr=t(66005),ft=t(77593);const tr=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function gr(jt={}){const{disableGlobal:pt=!1,productionPrefix:wt="jss",seed:Ye=""}=jt,Ut=Ye===""?"":`${Ye}-`;let fr=0;const Tr=()=>(fr+=1,fr);return(ln,pi)=>{const Di=pi.options.name;if(Di&&Di.indexOf("Mui")===0&&!pi.options.link&&!pt){if(tr.indexOf(ln.key)!==-1)return`Mui-${ln.key}`;const Vo=`${Ut}${Di}-${ln.key}`;return!pi.options.theme[ft.Z]||Ye!==""?Vo:`${Vo}-${Tr()}`}return`${Ut}${wt}${Tr()}`}}var ar=Date.now(),rt="fnValues"+ar,kt="fnStyle"+ ++ar,At=function(){return{onCreateRule:function(wt,Ye,Ut){if(typeof Ye!="function")return null;var fr=T(wt,{},Ut);return fr[kt]=Ye,fr},onProcessStyle:function(wt,Ye){if(rt in Ye||kt in Ye)return wt;var Ut={};for(var fr in wt){var Tr=wt[fr];typeof Tr=="function"&&(delete wt[fr],Ut[fr]=Tr)}return Ye[rt]=Ut,wt},onUpdate:function(wt,Ye,Ut,fr){var Tr=Ye,ln=Tr[kt];if(ln&&(Tr.style=ln(wt)||{},!1))var pi;var Di=Tr[rt];if(Di)for(var Mo in Di)Tr.prop(Mo,Di[Mo](wt),fr)}}},qt=At,sr="@global",Kr="@global ",kr=function(){function jt(wt,Ye,Ut){this.type="global",this.at=sr,this.isProcessed=!1,this.key=wt,this.options=Ut,this.rules=new ze((0,f.Z)({},Ut,{parent:this}));for(var fr in Ye)this.rules.add(fr,Ye[fr]);this.rules.process()}var pt=jt.prototype;return pt.getRule=function(Ye){return this.rules.get(Ye)},pt.addRule=function(Ye,Ut,fr){var Tr=this.rules.add(Ye,Ut,fr);return Tr&&this.options.jss.plugins.onProcessRule(Tr),Tr},pt.indexOf=function(Ye){return this.rules.indexOf(Ye)},pt.toString=function(){return this.rules.toString()},jt}(),nn=function(){function jt(wt,Ye,Ut){this.type="global",this.at=sr,this.isProcessed=!1,this.key=wt,this.options=Ut;var fr=wt.substr(Kr.length);this.rule=Ut.jss.createRule(fr,Ye,(0,f.Z)({},Ut,{parent:this}))}var pt=jt.prototype;return pt.toString=function(Ye){return this.rule?this.rule.toString(Ye):""},jt}(),on=/\s*,\s*/g;function vr(jt,pt){for(var wt=jt.split(on),Ye="",Ut=0;Ut<wt.length;Ut++)Ye+=pt+" "+wt[Ut].trim(),wt[Ut+1]&&(Ye+=", ");return Ye}function Dr(jt,pt){var wt=jt.options,Ye=jt.style,Ut=Ye?Ye[sr]:null;if(Ut){for(var fr in Ut)pt.addRule(fr,Ut[fr],(0,f.Z)({},wt,{selector:vr(fr,jt.selector)}));delete Ye[sr]}}function _r(jt,pt){var wt=jt.options,Ye=jt.style;for(var Ut in Ye)if(!(Ut[0]!=="@"||Ut.substr(0,sr.length)!==sr)){var fr=vr(Ut.substr(sr.length),jt.selector);pt.addRule(fr,Ye[Ut],(0,f.Z)({},wt,{selector:fr})),delete Ye[Ut]}}function Hr(){function jt(wt,Ye,Ut){if(!wt)return null;if(wt===sr)return new kr(wt,Ye,Ut);if(wt[0]==="@"&&wt.substr(0,Kr.length)===Kr)return new nn(wt,Ye,Ut);var fr=Ut.parent;return fr&&(fr.type==="global"||fr.options.parent&&fr.options.parent.type==="global")&&(Ut.scoped=!1),Ut.scoped===!1&&(Ut.selector=wt),null}function pt(wt,Ye){wt.type!=="style"||!Ye||(Dr(wt,Ye),_r(wt,Ye))}return{onCreateRule:jt,onProcessRule:pt}}var Pr=Hr,un=/\s*,\s*/g,Zn=/&/g,Jn=/\$([\w-]+)/g;function Dn(){function jt(Ut,fr){return function(Tr,ln){var pi=Ut.getRule(ln)||fr&&fr.getRule(ln);return pi?pi.selector:ln}}function pt(Ut,fr){for(var Tr=fr.split(un),ln=Ut.split(un),pi="",Di=0;Di<Tr.length;Di++)for(var Mo=Tr[Di],Vo=0;Vo<ln.length;Vo++){var Bs=ln[Vo];pi&&(pi+=", "),pi+=Bs.indexOf("&")!==-1?Bs.replace(Zn,Mo):Mo+" "+Bs}return pi}function wt(Ut,fr,Tr){if(Tr)return(0,f.Z)({},Tr,{index:Tr.index+1});var ln=Ut.options.nestingLevel;ln=ln===void 0?1:ln+1;var pi=(0,f.Z)({},Ut.options,{nestingLevel:ln,index:fr.indexOf(Ut)+1});return delete pi.name,pi}function Ye(Ut,fr,Tr){if(fr.type!=="style")return Ut;var ln=fr,pi=ln.options.parent,Di,Mo;for(var Vo in Ut){var Bs=Vo.indexOf("&")!==-1,is=Vo[0]==="@";if(!(!Bs&&!is)){if(Di=wt(ln,pi,Di),Bs){var cs=pt(Vo,ln.selector);Mo||(Mo=jt(pi,Tr)),cs=cs.replace(Jn,Mo),pi.addRule(cs,Ut[Vo],(0,f.Z)({},Di,{selector:cs}))}else is&&pi.addRule(Vo,{},Di).addRule(ln.key,Ut[Vo],{selector:ln.selector});delete Ut[Vo]}}return Ut}return{onProcessStyle:Ye}}var qn=Dn,lr=/[A-Z]/g,Yr=/^ms-/,Yn={};function ti(jt){return"-"+jt.toLowerCase()}function Wi(jt){if(Yn.hasOwnProperty(jt))return Yn[jt];var pt=jt.replace(lr,ti);return Yn[jt]=Yr.test(pt)?"-"+pt:pt}var _t=Wi;function Ct(jt){var pt={};for(var wt in jt){var Ye=wt.indexOf("--")===0?wt:_t(wt);pt[Ye]=jt[wt]}return jt.fallbacks&&(Array.isArray(jt.fallbacks)?pt.fallbacks=jt.fallbacks.map(Ct):pt.fallbacks=Ct(jt.fallbacks)),pt}function mt(){function jt(wt){if(Array.isArray(wt)){for(var Ye=0;Ye<wt.length;Ye++)wt[Ye]=Ct(wt[Ye]);return wt}return Ct(wt)}function pt(wt,Ye,Ut){if(Ye.indexOf("--")===0)return wt;var fr=_t(Ye);return Ye===fr?wt:(Ut.prop(fr,wt),null)}return{onProcessStyle:jt,onChangeValue:pt}}var br=mt,Pt=dt&&CSS?CSS.px:"px",qr=dt&&CSS?CSS.ms:"ms",mn=dt&&CSS?CSS.percent:"%",In={"animation-delay":qr,"animation-duration":qr,"background-position":Pt,"background-position-x":Pt,"background-position-y":Pt,"background-size":Pt,border:Pt,"border-bottom":Pt,"border-bottom-left-radius":Pt,"border-bottom-right-radius":Pt,"border-bottom-width":Pt,"border-left":Pt,"border-left-width":Pt,"border-radius":Pt,"border-right":Pt,"border-right-width":Pt,"border-top":Pt,"border-top-left-radius":Pt,"border-top-right-radius":Pt,"border-top-width":Pt,"border-width":Pt,"border-block":Pt,"border-block-end":Pt,"border-block-end-width":Pt,"border-block-start":Pt,"border-block-start-width":Pt,"border-block-width":Pt,"border-inline":Pt,"border-inline-end":Pt,"border-inline-end-width":Pt,"border-inline-start":Pt,"border-inline-start-width":Pt,"border-inline-width":Pt,"border-start-start-radius":Pt,"border-start-end-radius":Pt,"border-end-start-radius":Pt,"border-end-end-radius":Pt,margin:Pt,"margin-bottom":Pt,"margin-left":Pt,"margin-right":Pt,"margin-top":Pt,"margin-block":Pt,"margin-block-end":Pt,"margin-block-start":Pt,"margin-inline":Pt,"margin-inline-end":Pt,"margin-inline-start":Pt,padding:Pt,"padding-bottom":Pt,"padding-left":Pt,"padding-right":Pt,"padding-top":Pt,"padding-block":Pt,"padding-block-end":Pt,"padding-block-start":Pt,"padding-inline":Pt,"padding-inline-end":Pt,"padding-inline-start":Pt,"mask-position-x":Pt,"mask-position-y":Pt,"mask-size":Pt,height:Pt,width:Pt,"min-height":Pt,"max-height":Pt,"min-width":Pt,"max-width":Pt,bottom:Pt,left:Pt,top:Pt,right:Pt,inset:Pt,"inset-block":Pt,"inset-block-end":Pt,"inset-block-start":Pt,"inset-inline":Pt,"inset-inline-end":Pt,"inset-inline-start":Pt,"box-shadow":Pt,"text-shadow":Pt,"column-gap":Pt,"column-rule":Pt,"column-rule-width":Pt,"column-width":Pt,"font-size":Pt,"font-size-delta":Pt,"letter-spacing":Pt,"text-decoration-thickness":Pt,"text-indent":Pt,"text-stroke":Pt,"text-stroke-width":Pt,"word-spacing":Pt,motion:Pt,"motion-offset":Pt,outline:Pt,"outline-offset":Pt,"outline-width":Pt,perspective:Pt,"perspective-origin-x":mn,"perspective-origin-y":mn,"transform-origin":mn,"transform-origin-x":mn,"transform-origin-y":mn,"transform-origin-z":mn,"transition-delay":qr,"transition-duration":qr,"vertical-align":Pt,"flex-basis":Pt,"shape-margin":Pt,size:Pt,gap:Pt,grid:Pt,"grid-gap":Pt,"row-gap":Pt,"grid-row-gap":Pt,"grid-column-gap":Pt,"grid-template-rows":Pt,"grid-template-columns":Pt,"grid-auto-rows":Pt,"grid-auto-columns":Pt,"box-shadow-x":Pt,"box-shadow-y":Pt,"box-shadow-blur":Pt,"box-shadow-spread":Pt,"font-line-height":Pt,"text-shadow-x":Pt,"text-shadow-y":Pt,"text-shadow-blur":Pt};function Vr(jt){var pt=/(-[a-z])/g,wt=function(Tr){return Tr[1].toUpperCase()},Ye={};for(var Ut in jt)Ye[Ut]=jt[Ut],Ye[Ut.replace(pt,wt)]=jt[Ut];return Ye}var Fn=Vr(In);function An(jt,pt,wt){if(pt==null)return pt;if(Array.isArray(pt))for(var Ye=0;Ye<pt.length;Ye++)pt[Ye]=An(jt,pt[Ye],wt);else if(typeof pt=="object")if(jt==="fallbacks")for(var Ut in pt)pt[Ut]=An(Ut,pt[Ut],wt);else for(var fr in pt)pt[fr]=An(jt+"-"+fr,pt[fr],wt);else if(typeof pt=="number"&&isNaN(pt)===!1){var Tr=wt[jt]||Fn[jt];return Tr&&!(pt===0&&Tr===Pt)?typeof Tr=="function"?Tr(pt).toString():""+pt+Tr:pt.toString()}return pt}function zn(jt){jt===void 0&&(jt={});var pt=Vr(jt);function wt(Ut,fr){if(fr.type!=="style")return Ut;for(var Tr in Ut)Ut[Tr]=An(Tr,Ut[Tr],pt);return Ut}function Ye(Ut,fr){return An(fr,Ut,pt)}return{onProcessStyle:wt,onChangeValue:Ye}}var bi=zn;function Si(jt,pt){(pt==null||pt>jt.length)&&(pt=jt.length);for(var wt=0,Ye=new Array(pt);wt<pt;wt++)Ye[wt]=jt[wt];return Ye}function bo(jt){if(Array.isArray(jt))return Si(jt)}function Fi(jt){if(typeof Symbol!="undefined"&&jt[Symbol.iterator]!=null||jt["@@iterator"]!=null)return Array.from(jt)}function mo(jt,pt){if(jt){if(typeof jt=="string")return Si(jt,pt);var wt=Object.prototype.toString.call(jt).slice(8,-1);if(wt==="Object"&&jt.constructor&&(wt=jt.constructor.name),wt==="Map"||wt==="Set")return Array.from(jt);if(wt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(wt))return Si(jt,pt)}}function _o(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ti(jt){return bo(jt)||Fi(jt)||mo(jt)||_o()}var ao="",no="",Ir="",je="",Ke=v&&"ontouchstart"in document.documentElement;if(v){var ht={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},Bt=document.createElement("p"),Dt=Bt.style,Yt="Transform";for(var yr in ht)if(yr+Yt in Dt){ao=yr,no=ht[yr];break}ao==="Webkit"&&"msHyphens"in Dt&&(ao="ms",no=ht.ms,je="edge"),ao==="Webkit"&&"-apple-trailing-word"in Dt&&(Ir="apple")}var zt={js:ao,css:no,vendor:Ir,browser:je,isTouch:Ke};function rn(jt){return jt[1]==="-"||zt.js==="ms"?jt:"@"+zt.css+"keyframes"+jt.substr(10)}var On={noPrefill:["appearance"],supportedProperty:function(pt){return pt!=="appearance"?!1:zt.js==="ms"?"-webkit-"+pt:zt.css+pt}},xn={noPrefill:["color-adjust"],supportedProperty:function(pt){return pt!=="color-adjust"?!1:zt.js==="Webkit"?zt.css+"print-"+pt:pt}},Kn=/[-\s]+(.)?/g;function jn(jt,pt){return pt?pt.toUpperCase():""}function to(jt){return jt.replace(Kn,jn)}function ki(jt){return to("-"+jt)}var zo={noPrefill:["mask"],supportedProperty:function(pt,wt){if(!/^mask/.test(pt))return!1;if(zt.js==="Webkit"){var Ye="mask-image";if(to(Ye)in wt)return pt;if(zt.js+ki(Ye)in wt)return zt.css+pt}return pt}},Ko={noPrefill:["text-orientation"],supportedProperty:function(pt){return pt!=="text-orientation"?!1:zt.vendor==="apple"&&!zt.isTouch?zt.css+pt:pt}},uo={noPrefill:["transform"],supportedProperty:function(pt,wt,Ye){return pt!=="transform"?!1:Ye.transform?pt:zt.css+pt}},ia={noPrefill:["transition"],supportedProperty:function(pt,wt,Ye){return pt!=="transition"?!1:Ye.transition?pt:zt.css+pt}},la={noPrefill:["writing-mode"],supportedProperty:function(pt){return pt!=="writing-mode"?!1:zt.js==="Webkit"||zt.js==="ms"&&zt.browser!=="edge"?zt.css+pt:pt}},so={noPrefill:["user-select"],supportedProperty:function(pt){return pt!=="user-select"?!1:zt.js==="Moz"||zt.js==="ms"||zt.vendor==="apple"?zt.css+pt:pt}},zi={supportedProperty:function(pt,wt){if(!/^break-/.test(pt))return!1;if(zt.js==="Webkit"){var Ye="WebkitColumn"+ki(pt);return Ye in wt?zt.css+"column-"+pt:!1}if(zt.js==="Moz"){var Ut="page"+ki(pt);return Ut in wt?"page-"+pt:!1}return!1}},Xi={supportedProperty:function(pt,wt){if(!/^(border|margin|padding)-inline/.test(pt))return!1;if(zt.js==="Moz")return pt;var Ye=pt.replace("-inline","");return zt.js+ki(Ye)in wt?zt.css+Ye:!1}},ua={supportedProperty:function(pt,wt){return to(pt)in wt?pt:!1}},ta={supportedProperty:function(pt,wt){var Ye=ki(pt);return pt[0]==="-"||pt[0]==="-"&&pt[1]==="-"?pt:zt.js+Ye in wt?zt.css+pt:zt.js!=="Webkit"&&"Webkit"+Ye in wt?"-webkit-"+pt:!1}},Pi={supportedProperty:function(pt){return pt.substring(0,11)!=="scroll-snap"?!1:zt.js==="ms"?""+zt.css+pt:pt}},Ji={supportedProperty:function(pt){return pt!=="overscroll-behavior"?!1:zt.js==="ms"?zt.css+"scroll-chaining":pt}},Do={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},Ki={supportedProperty:function(pt,wt){var Ye=Do[pt];return Ye&&zt.js+ki(Ye)in wt?zt.css+Ye:!1}},fi={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},oi=Object.keys(fi),_i=function(pt){return zt.css+pt},Jr={supportedProperty:function(pt,wt,Ye){var Ut=Ye.multiple;if(oi.indexOf(pt)>-1){var fr=fi[pt];if(!Array.isArray(fr))return zt.js+ki(fr)in wt?zt.css+fr:!1;if(!Ut)return!1;for(var Tr=0;Tr<fr.length;Tr++)if(!(zt.js+ki(fr[0])in wt))return!1;return fr.map(_i)}return!1}},hi=[On,xn,zo,Ko,uo,ia,la,so,zi,Xi,ua,ta,Pi,Ji,Ki,Jr],yi=hi.filter(function(jt){return jt.supportedProperty}).map(function(jt){return jt.supportedProperty}),Ci=hi.filter(function(jt){return jt.noPrefill}).reduce(function(jt,pt){return jt.push.apply(jt,Ti(pt.noPrefill)),jt},[]),Oi,Mn={};if(v){Oi=document.createElement("p");var wo=window.getComputedStyle(document.documentElement,"");for(var xo in wo)isNaN(xo)||(Mn[wo[xo]]=wo[xo]);Ci.forEach(function(jt){return delete Mn[jt]})}function Ba(jt,pt){if(pt===void 0&&(pt={}),!Oi)return jt;if(Mn[jt]!=null)return Mn[jt];(jt==="transition"||jt==="transform")&&(pt[jt]=jt in Oi.style);for(var wt=0;wt<yi.length&&(Mn[jt]=yi[wt](jt,Oi.style,pt),!Mn[jt]);wt++);try{Oi.style[jt]=""}catch(Ye){return!1}return Mn[jt]}var Eo={},pa={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},va=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g,oa;function xs(jt,pt,wt){if(pt==="var")return"var";if(pt==="all")return"all";if(wt==="all")return", all";var Ye=pt?Ba(pt):", "+Ba(wt);return Ye||pt||wt}v&&(oa=document.createElement("p"));function ls(jt,pt){var wt=pt;if(!oa||jt==="content")return pt;if(typeof wt!="string"||!isNaN(parseInt(wt,10)))return wt;var Ye=jt+wt;if(Eo[Ye]!=null)return Eo[Ye];try{oa.style[jt]=wt}catch(Ut){return Eo[Ye]=!1,!1}if(pa[jt])wt=wt.replace(va,xs);else if(oa.style[jt]===""&&(wt=zt.css+wt,wt==="-ms-flex"&&(oa.style[jt]="-ms-flexbox"),oa.style[jt]=wt,oa.style[jt]===""))return Eo[Ye]=!1,!1;return oa.style[jt]="",Eo[Ye]=wt,Eo[Ye]}function Wa(){function jt(Ut){if(Ut.type==="keyframes"){var fr=Ut;fr.at=rn(fr.at)}}function pt(Ut){for(var fr in Ut){var Tr=Ut[fr];if(fr==="fallbacks"&&Array.isArray(Tr)){Ut[fr]=Tr.map(pt);continue}var ln=!1,pi=Ba(fr);pi&&pi!==fr&&(ln=!0);var Di=!1,Mo=ls(pi,L(Tr));Mo&&Mo!==Tr&&(Di=!0),(ln||Di)&&(ln&&delete Ut[fr],Ut[pi||fr]=Mo||Tr)}return Ut}function wt(Ut,fr){return fr.type!=="style"?Ut:pt(Ut)}function Ye(Ut,fr){return ls(fr,L(Ut))||Ut}return{onProcessRule:jt,onProcessStyle:wt,onChangeValue:Ye}}var si=Wa;function Rs(){var jt=function(wt,Ye){return wt.length===Ye.length?wt>Ye?1:-1:wt.length-Ye.length};return{onProcessStyle:function(wt,Ye){if(Ye.type!=="style")return wt;for(var Ut={},fr=Object.keys(wt).sort(jt),Tr=0;Tr<fr.length;Tr++)Ut[fr[Tr]]=wt[fr[Tr]];return Ut}}}var Ta=Rs;function Ka(){return{plugins:[qt(),Pr(),qn(),br(),bi(),typeof window=="undefined"?null:si(),Ta()]}}var Fl=t(67557);const wl=null,El=Wt(Ka()),Ql={disableGeneration:!1,generateClassName:gr(),jss:El,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},rl=l.createContext(Ql);let hl;function Ks(jt){const{children:pt,injectFirst:wt=!1,disableGeneration:Ye=!1}=jt,Ut=_objectWithoutPropertiesLoose(jt,wl),fr=React.useContext(rl),Tr=_extends({},fr,{disableGeneration:Ye},Ut);if(!Tr.jss.options.insertionPoint&&wt&&typeof window!="undefined"){if(!hl){const ln=document.head;hl=document.createComment("mui-inject-first"),ln.insertBefore(hl,ln.firstChild)}Tr.jss=create({plugins:jssPreset().plugins,insertionPoint:hl})}return _jsx(rl.Provider,{value:Tr,children:pt})}let qo=-1e9;function qs(){return qo+=1,qo}var jl=t(83643),Hl=t(83686);const ks=["variant"];function bs(jt){return jt.length===0}function Au(jt){const{variant:pt}=jt,wt=(0,n.Z)(jt,ks);let Ye=pt||"";return Object.keys(wt).sort().forEach(Ut=>{Ut==="color"?Ye+=bs(Ye)?jt[Ut]:(0,Hl.Z)(jt[Ut]):Ye+=`${bs(Ye)?Ut:(0,Hl.Z)(Ut)}${(0,Hl.Z)(jt[Ut].toString())}`}),Ye}function pl(jt){const pt=typeof jt=="function";return{create:(wt,Ye)=>{let Ut;try{Ut=pt?jt(wt):jt}catch(pi){throw pi}if(!Ye||!wt.components||!wt.components[Ye]||!wt.components[Ye].styleOverrides&&!wt.components[Ye].variants)return Ut;const fr=wt.components[Ye].styleOverrides||{},Tr=wt.components[Ye].variants||[],ln=(0,f.Z)({},Ut);return Object.keys(fr).forEach(pi=>{ln[pi]=(0,jl.Z)(ln[pi]||{},fr[pi])}),Tr.forEach(pi=>{const Di=Au(pi.props);ln[Di]=(0,jl.Z)(ln[Di]||{},pi.style)}),ln},options:{}}}var Pa={};const ns=["name","classNamePrefix","Component","defaultTheme"];function Zl({state:jt,stylesOptions:pt},wt,Ye){if(pt.disableGeneration)return wt||{};jt.cacheClasses||(jt.cacheClasses={value:null,lastProp:null,lastJSS:{}});let Ut=!1;return jt.classes!==jt.cacheClasses.lastJSS&&(jt.cacheClasses.lastJSS=jt.classes,Ut=!0),wt!==jt.cacheClasses.lastProp&&(jt.cacheClasses.lastProp=wt,Ut=!0),Ut&&(jt.cacheClasses.value=Rt({baseClasses:jt.cacheClasses.lastJSS,newClasses:wt,Component:Ye})),jt.cacheClasses.value}function ll({state:jt,theme:pt,stylesOptions:wt,stylesCreator:Ye,name:Ut},fr){if(wt.disableGeneration)return;let Tr=ir.get(wt.sheetsManager,Ye,pt);Tr||(Tr={refs:0,staticSheet:null,dynamicStyles:null},ir.set(wt.sheetsManager,Ye,pt,Tr));const ln=(0,f.Z)({},Ye.options,wt,{theme:pt,flip:typeof wt.flip=="boolean"?wt.flip:pt.direction==="rtl"});ln.generateId=ln.serverGenerateClassName||ln.generateClassName;const pi=wt.sheetsRegistry;if(Tr.refs===0){let Di;wt.sheetsCache&&(Di=ir.get(wt.sheetsCache,Ye,pt));const Mo=Ye.create(pt,Ut);Di||(Di=wt.jss.createStyleSheet(Mo,(0,f.Z)({link:!1},ln)),Di.attach(),wt.sheetsCache&&ir.set(wt.sheetsCache,Ye,pt,Di)),pi&&pi.add(Di),Tr.staticSheet=Di,Tr.dynamicStyles=nr(Mo)}if(Tr.dynamicStyles){const Di=wt.jss.createStyleSheet(Tr.dynamicStyles,(0,f.Z)({link:!0},ln));Di.update(fr),Di.attach(),jt.dynamicSheet=Di,jt.classes=Rt({baseClasses:Tr.staticSheet.classes,newClasses:Di.classes}),pi&&pi.add(Di)}else jt.classes=Tr.staticSheet.classes;Tr.refs+=1}function ul({state:jt},pt){jt.dynamicSheet&&jt.dynamicSheet.update(pt)}function Po({state:jt,theme:pt,stylesOptions:wt,stylesCreator:Ye}){if(wt.disableGeneration)return;const Ut=ir.get(wt.sheetsManager,Ye,pt);Ut.refs-=1;const fr=wt.sheetsRegistry;Ut.refs===0&&(ir.delete(wt.sheetsManager,Ye,pt),wt.jss.removeStyleSheet(Ut.staticSheet),fr&&fr.remove(Ut.staticSheet)),jt.dynamicSheet&&(wt.jss.removeStyleSheet(jt.dynamicSheet),fr&&fr.remove(jt.dynamicSheet))}function Ds(jt,pt){const wt=l.useRef([]);let Ye;const Ut=l.useMemo(()=>({}),pt);wt.current!==Ut&&(wt.current=Ut,Ye=jt()),l.useEffect(()=>()=>{Ye&&Ye()},[Ut])}function Cl(jt,pt={}){const{name:wt,classNamePrefix:Ye,Component:Ut,defaultTheme:fr=Pa}=pt,Tr=(0,n.Z)(pt,ns),ln=pl(jt),pi=wt||Ye||"makeStyles";return ln.options={index:qs(),name:wt,meta:pi,classNamePrefix:pi},(Mo={})=>{const Vo=(0,Qr.Z)()||fr,Bs=(0,f.Z)({},l.useContext(rl),Tr),is=l.useRef(),cs=l.useRef();return Ds(()=>{const Uo={name:wt,state:{},stylesCreator:ln,stylesOptions:Bs,theme:Vo};return ll(Uo,Mo),cs.current=!1,is.current=Uo,()=>{Po(Uo)}},[Vo,ln]),l.useEffect(()=>{cs.current&&ul(is.current,Mo),cs.current=!0}),Zl(is.current,Mo.classes,Ut)}}},36006:function(_e,$,t){"use strict";t.d($,{L7:function(){return M},P$:function(){return re},VO:function(){return f},W8:function(){return v},dt:function(){return ee},k9:function(){return u}});var n=t(83643);const f={xs:0,sm:600,md:900,lg:1200,xl:1536},l={keys:["xs","sm","md","lg","xl"],up:S=>`@media (min-width:${f[S]}px)`};function u(S,J,T){const V=S.theme||{};if(Array.isArray(J)){const c=V.breakpoints||l;return J.reduce((R,B,X)=>(R[c.up(c.keys[X])]=T(J[X]),R),{})}if(typeof J=="object"){const c=V.breakpoints||l;return Object.keys(J).reduce((R,B)=>{if(Object.keys(c.values||f).indexOf(B)!==-1){const X=c.up(B);R[X]=T(J[B],B)}else{const X=B;R[X]=J[X]}return R},{})}return T(J)}function m(S){const J=T=>{const V=T.theme||{},L=S(T),c=V.breakpoints||l,R=c.keys.reduce((B,X)=>(T[X]&&(B=B||{},B[c.up(X)]=S(_extends({theme:V},T[X]))),B),null);return merge(L,R)};return J.propTypes={},J.filterProps=["xs","sm","md","lg","xl",...S.filterProps],J}function v(S={}){var J;return((J=S.keys)==null?void 0:J.reduce((V,L)=>{const c=S.up(L);return V[c]={},V},{}))||{}}function M(S,J){return S.reduce((T,V)=>{const L=T[V];return(!L||Object.keys(L).length===0)&&delete T[V],T},J)}function ee(S,...J){const T=v(S),V=[T,...J].reduce((L,c)=>(0,n.Z)(L,c),{});return M(Object.keys(T),V)}function W(S,J){if(typeof S!="object")return{};const T={},V=Object.keys(J);return Array.isArray(S)?V.forEach((L,c)=>{c<S.length&&(T[L]=!0)}):V.forEach(L=>{S[L]!=null&&(T[L]=!0)}),T}function re({values:S,breakpoints:J,base:T}){const V=T||W(S,J),L=Object.keys(V);if(L.length===0)return S;let c;return L.reduce((R,B,X)=>(Array.isArray(S)?(R[B]=S[X]!=null?S[X]:S[c],c=X):typeof S=="object"?(R[B]=S[B]!=null?S[B]:S[c],c=B):R[B]=S,R),{})}var se=null},72945:function(_e,$,t){"use strict";t.d($,{$n:function(){return c},Fq:function(){return J},_4:function(){return B},_j:function(){return V},mi:function(){return S}});var n=t(23563);function f(g,p=0,O=1){return Math.min(Math.max(p,g),O)}function l(g){g=g.slice(1);const p=new RegExp(`.{1,${g.length>=6?2:1}}`,"g");let O=g.match(p);return O&&O[0].length===1&&(O=O.map(I=>I+I)),O?`rgb${O.length===4?"a":""}(${O.map((I,E)=>E<3?parseInt(I,16):Math.round(parseInt(I,16)/255*1e3)/1e3).join(", ")})`:""}function u(g){const p=g.toString(16);return p.length===1?`0${p}`:p}function m(g){if(g.type)return g;if(g.charAt(0)==="#")return m(l(g));const p=g.indexOf("("),O=g.substring(0,p);if(["rgb","rgba","hsl","hsla","color"].indexOf(O)===-1)throw new Error((0,n.Z)(9,g));let I=g.substring(p+1,g.length-1),E;if(O==="color"){if(I=I.split(" "),E=I.shift(),I.length===4&&I[3].charAt(0)==="/"&&(I[3]=I[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(E)===-1)throw new Error((0,n.Z)(10,E))}else I=I.split(",");return I=I.map(K=>parseFloat(K)),{type:O,values:I,colorSpace:E}}const v=g=>{const p=m(g);return p.values.slice(0,3).map((O,I)=>p.type.indexOf("hsl")!==-1&&I!==0?`${O}%`:O).join(" ")},M=(g,p)=>{try{return v(g)}catch(O){return g}};function ee(g){const{type:p,colorSpace:O}=g;let{values:I}=g;return p.indexOf("rgb")!==-1?I=I.map((E,K)=>K<3?parseInt(E,10):E):p.indexOf("hsl")!==-1&&(I[1]=`${I[1]}%`,I[2]=`${I[2]}%`),p.indexOf("color")!==-1?I=`${O} ${I.join(" ")}`:I=`${I.join(", ")}`,`${p}(${I})`}function W(g){if(g.indexOf("#")===0)return g;const{values:p}=m(g);return`#${p.map((O,I)=>u(I===3?Math.round(255*O):O)).join("")}`}function re(g){g=m(g);const{values:p}=g,O=p[0],I=p[1]/100,E=p[2]/100,K=I*Math.min(E,1-E),d=(A,w=(A+O/30)%12)=>E-K*Math.max(Math.min(w-3,9-w,1),-1);let i="rgb";const x=[Math.round(d(0)*255),Math.round(d(8)*255),Math.round(d(4)*255)];return g.type==="hsla"&&(i+="a",x.push(p[3])),ee({type:i,values:x})}function se(g){g=m(g);let p=g.type==="hsl"||g.type==="hsla"?m(re(g)).values:g.values;return p=p.map(O=>(g.type!=="color"&&(O/=255),O<=.03928?O/12.92:hc((O+.055)/1.055,2.4))),Number((.2126*p[0]+.7152*p[1]+.0722*p[2]).toFixed(3))}function S(g,p){const O=se(g),I=se(p);return(Math.max(O,I)+.05)/(Math.min(O,I)+.05)}function J(g,p){return g=m(g),p=f(p),(g.type==="rgb"||g.type==="hsl")&&(g.type+="a"),g.type==="color"?g.values[3]=`/${p}`:g.values[3]=p,ee(g)}function T(g,p,O){try{return J(g,p)}catch(I){return g}}function V(g,p){if(g=m(g),p=f(p),g.type.indexOf("hsl")!==-1)g.values[2]*=1-p;else if(g.type.indexOf("rgb")!==-1||g.type.indexOf("color")!==-1)for(let O=0;O<3;O+=1)g.values[O]*=1-p;return ee(g)}function L(g,p,O){try{return V(g,p)}catch(I){return g}}function c(g,p){if(g=m(g),p=f(p),g.type.indexOf("hsl")!==-1)g.values[2]+=(100-g.values[2])*p;else if(g.type.indexOf("rgb")!==-1)for(let O=0;O<3;O+=1)g.values[O]+=(255-g.values[O])*p;else if(g.type.indexOf("color")!==-1)for(let O=0;O<3;O+=1)g.values[O]+=(1-g.values[O])*p;return ee(g)}function R(g,p,O){try{return c(g,p)}catch(I){return g}}function B(g,p=.15){return se(g)>.5?V(g,p):c(g,p)}function X(g,p,O){try{return X(g,p)}catch(I){return g}}},90536:function(_e,$,t){"use strict";t.d($,{Z:function(){return se}});var n=t(87462),f=t(63366),l=t(89526),u=t(23060),m=t(31119),v=t(92112),M=t(38368),ee=t(57468),W=t(67557);const re=["className","component"];function se(S={}){const{defaultTheme:J,defaultClassName:T="MuiBox-root",generateClassName:V}=S,L=(0,m.ZP)("div",{shouldForwardProp:R=>R!=="theme"&&R!=="sx"&&R!=="as"})(v.Z);return l.forwardRef(function(B,X){const g=(0,ee.Z)(J),p=(0,M.Z)(B),{className:O,component:I="div"}=p,E=(0,f.Z)(p,re);return(0,W.jsx)(L,(0,n.Z)({as:I,ref:X,className:(0,u.default)(O,V?V(T):T),theme:g},E))})}},34228:function(_e,$,t){"use strict";t.d($,{ZP:function(){return g},x9:function(){return R}});var n=t(63366),f=t(87462),l=t(31119),u=t(75392),m=t(83686);const v=["variant"];function M(p){return p.length===0}function ee(p){const{variant:O}=p,I=(0,n.Z)(p,v);let E=O||"";return Object.keys(I).sort().forEach(K=>{K==="color"?E+=M(E)?p[K]:(0,m.Z)(p[K]):E+=`${M(E)?K:(0,m.Z)(K)}${(0,m.Z)(p[K].toString())}`}),E}var W=t(92112);const re=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],se=["theme"],S=["theme"];function J(p){return Object.keys(p).length===0}function T(p){return typeof p=="string"&&p.charCodeAt(0)>96}const V=(p,O)=>O.components&&O.components[p]&&O.components[p].styleOverrides?O.components[p].styleOverrides:null,L=(p,O)=>{let I=[];O&&O.components&&O.components[p]&&O.components[p].variants&&(I=O.components[p].variants);const E={};return I.forEach(K=>{const d=ee(K.props);E[d]=K.style}),E},c=(p,O,I,E)=>{var K,d;const{ownerState:i={}}=p,x=[],A=I==null||(K=I.components)==null||(d=K[E])==null?void 0:d.variants;return A&&A.forEach(w=>{let C=!0;Object.keys(w.props).forEach(U=>{i[U]!==w.props[U]&&p[U]!==w.props[U]&&(C=!1)}),C&&x.push(O[ee(w.props)])}),x};function R(p){return p!=="ownerState"&&p!=="theme"&&p!=="sx"&&p!=="as"}const B=(0,u.Z)(),X=p=>p.charAt(0).toLowerCase()+p.slice(1);function g(p={}){const{defaultTheme:O=B,rootShouldForwardProp:I=R,slotShouldForwardProp:E=R}=p,K=d=>{const i=J(d.theme)?O:d.theme;return(0,W.Z)((0,f.Z)({},d,{theme:i}))};return K.__mui_systemSx=!0,(d,i={})=>{(0,l.Co)(d,Z=>Z.filter(ae=>!(ae!=null&&ae.__mui_systemSx)));const{name:x,slot:A,skipVariantsResolver:w,skipSx:C,overridesResolver:U}=i,F=(0,n.Z)(i,re),Y=w!==void 0?w:A&&A!=="Root"||!1,le=C||!1;let ie,j=R;A==="Root"?j=I:A?j=E:T(d)&&(j=void 0);const ue=(0,l.ZP)(d,(0,f.Z)({shouldForwardProp:j,label:ie},F)),P=(Z,...ae)=>{const ce=ae?ae.map(te=>typeof te=="function"&&te.__emotion_real!==te?Q=>{let{theme:we}=Q,Se=(0,n.Z)(Q,se);return te((0,f.Z)({theme:J(we)?O:we},Se))}:te):[];let be=Z;x&&U&&ce.push(te=>{const Q=J(te.theme)?O:te.theme,we=V(x,Q);if(we){const Se={};return Object.entries(we).forEach(([Ne,ze])=>{Se[Ne]=typeof ze=="function"?ze((0,f.Z)({},te,{theme:Q})):ze}),U(te,Se)}return null}),x&&!Y&&ce.push(te=>{const Q=J(te.theme)?O:te.theme;return c(te,L(x,Q),Q,x)}),le||ce.push(K);const pe=ce.length-ae.length;if(Array.isArray(Z)&&pe>0){const te=new Array(pe).fill("");be=[...Z,...te],be.raw=[...Z.raw,...te]}else typeof Z=="function"&&Z.__emotion_real!==Z&&(be=te=>{let{theme:Q}=te,we=(0,n.Z)(te,S);return Z((0,f.Z)({theme:J(Q)?O:Q},we))});return ue(be,...ce)};return ue.withConfig&&(P.withConfig=ue.withConfig),P}}},75392:function(_e,$,t){"use strict";t.d($,{Z:function(){return L}});var n=t(87462),f=t(63366),l=t(83643);const u=["values","unit","step"],m=null,v=c=>{const R=Object.keys(c).map(B=>({key:B,val:c[B]}))||[];return R.sort((B,X)=>B.val-X.val),R.reduce((B,X)=>(0,n.Z)({},B,{[X.key]:X.val}),{})};function M(c){const{values:R={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:B="px",step:X=5}=c,g=(0,f.Z)(c,u),p=v(R),O=Object.keys(p);function I(x){return`@media (min-width:${typeof R[x]=="number"?R[x]:x}${B})`}function E(x){return`@media (max-width:${(typeof R[x]=="number"?R[x]:x)-X/100}${B})`}function K(x,A){const w=O.indexOf(A);return`@media (min-width:${typeof R[x]=="number"?R[x]:x}${B}) and (max-width:${(w!==-1&&typeof R[O[w]]=="number"?R[O[w]]:A)-X/100}${B})`}function d(x){return O.indexOf(x)+1<O.length?K(x,O[O.indexOf(x)+1]):I(x)}function i(x){const A=O.indexOf(x);return A===0?I(O[1]):A===O.length-1?E(O[A]):K(x,O[O.indexOf(x)+1]).replace("@media","@media not all and")}return(0,n.Z)({keys:O,values:p,up:I,down:E,between:K,only:d,not:i,unit:B},g)}var W={borderRadius:4},re=t(4019);function se(c=8){if(c.mui)return c;const R=(0,re.hB)({spacing:c}),B=(...X)=>(X.length===0?[1]:X).map(p=>{const O=R(p);return typeof O=="number"?`${O}px`:O}).join(" ");return B.mui=!0,B}var S=t(92112),J=t(94522);const T=["breakpoints","palette","spacing","shape"];function V(c={},...R){const{breakpoints:B={},palette:X={},spacing:g,shape:p={}}=c,O=(0,f.Z)(c,T),I=M(B),E=se(g);let K=(0,l.Z)({breakpoints:I,direction:"ltr",components:{},palette:(0,n.Z)({mode:"light"},X),spacing:E,shape:(0,n.Z)({},W,p)},O);return K=R.reduce((d,i)=>(0,l.Z)(d,i),K),K.unstable_sxConfig=(0,n.Z)({},J.Z,O==null?void 0:O.unstable_sxConfig),K.unstable_sx=function(i){return(0,S.Z)({sx:i,theme:this})},K}var L=V},11837:function(_e,$,t){"use strict";var n=t(83643);function f(l,u){return u?(0,n.Z)(l,u,{clone:!1}):l}$.Z=f},4019:function(_e,$,t){"use strict";t.d($,{hB:function(){return J},eI:function(){return S},NA:function(){return T},e6:function(){return R},o3:function(){return B}});var n=t(36006),f=t(13713),l=t(11837);function u(p){const O={};return I=>(O[I]===void 0&&(O[I]=p(I)),O[I])}const m={m:"margin",p:"padding"},v={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},M={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},ee=u(p=>{if(p.length>2)if(M[p])p=M[p];else return[p];const[O,I]=p.split(""),E=m[O],K=v[I]||"";return Array.isArray(K)?K.map(d=>E+d):[E+K]}),W=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],re=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],se=[...W,...re];function S(p,O,I,E){var K;const d=(K=(0,f.DW)(p,O,!1))!=null?K:I;return typeof d=="number"?i=>typeof i=="string"?i:d*i:Array.isArray(d)?i=>typeof i=="string"?i:d[i]:typeof d=="function"?d:()=>{}}function J(p){return S(p,"spacing",8,"spacing")}function T(p,O){if(typeof O=="string"||O==null)return O;const I=Math.abs(O),E=p(I);return O>=0?E:typeof E=="number"?-E:`-${E}`}function V(p,O){return I=>p.reduce((E,K)=>(E[K]=T(O,I),E),{})}function L(p,O,I,E){if(O.indexOf(I)===-1)return null;const K=ee(I),d=V(K,E),i=p[I];return(0,n.k9)(p,i,d)}function c(p,O){const I=J(p.theme);return Object.keys(p).map(E=>L(p,O,E,I)).reduce(l.Z,{})}function R(p){return c(p,W)}R.propTypes={},R.filterProps=W;function B(p){return c(p,re)}B.propTypes={},B.filterProps=re;function X(p){return c(p,se)}X.propTypes={},X.filterProps=se;var g=null},13713:function(_e,$,t){"use strict";t.d($,{DW:function(){return l},Jq:function(){return u}});var n=t(83686),f=t(36006);function l(v,M,ee=!0){if(!M||typeof M!="string")return null;if(v&&v.vars&&ee){const W=`vars.${M}`.split(".").reduce((re,se)=>re&&re[se]?re[se]:null,v);if(W!=null)return W}return M.split(".").reduce((W,re)=>W&&W[re]!=null?W[re]:null,v)}function u(v,M,ee,W=ee){let re;return typeof v=="function"?re=v(ee):Array.isArray(v)?re=v[ee]||W:re=l(v,ee)||W,M&&(re=M(re,W,v)),re}function m(v){const{prop:M,cssProperty:ee=v.prop,themeKey:W,transform:re}=v,se=S=>{if(S[M]==null)return null;const J=S[M],T=S.theme,V=l(T,W)||{},L=c=>{let R=u(V,re,c);return c===R&&typeof c=="string"&&(R=u(V,re,`${M}${c==="default"?"":(0,n.Z)(c)}`,c)),ee===!1?R:{[ee]:R}};return(0,f.k9)(S,J,L)};return se.propTypes={},se.filterProps=[M],se}$.ZP=m},94522:function(_e,$,t){"use strict";t.d($,{Z:function(){return qe}});var n=t(4019),f=t(13713),l=t(11837);function u(...Me){const Fe=Me.reduce((he,xe)=>(xe.filterProps.forEach(q=>{he[q]=xe}),he),{}),Ue=he=>Object.keys(he).reduce((xe,q)=>Fe[q]?(0,l.Z)(xe,Fe[q](he)):xe,{});return Ue.propTypes={},Ue.filterProps=Me.reduce((he,xe)=>he.concat(xe.filterProps),[]),Ue}var m=u,v=t(36006);function M(Me){return typeof Me!="number"?Me:`${Me}px solid`}const ee=(0,f.ZP)({prop:"border",themeKey:"borders",transform:M}),W=(0,f.ZP)({prop:"borderTop",themeKey:"borders",transform:M}),re=(0,f.ZP)({prop:"borderRight",themeKey:"borders",transform:M}),se=(0,f.ZP)({prop:"borderBottom",themeKey:"borders",transform:M}),S=(0,f.ZP)({prop:"borderLeft",themeKey:"borders",transform:M}),J=(0,f.ZP)({prop:"borderColor",themeKey:"palette"}),T=(0,f.ZP)({prop:"borderTopColor",themeKey:"palette"}),V=(0,f.ZP)({prop:"borderRightColor",themeKey:"palette"}),L=(0,f.ZP)({prop:"borderBottomColor",themeKey:"palette"}),c=(0,f.ZP)({prop:"borderLeftColor",themeKey:"palette"}),R=Me=>{if(Me.borderRadius!==void 0&&Me.borderRadius!==null){const Fe=(0,n.eI)(Me.theme,"shape.borderRadius",4,"borderRadius"),Ue=he=>({borderRadius:(0,n.NA)(Fe,he)});return(0,v.k9)(Me,Me.borderRadius,Ue)}return null};R.propTypes={},R.filterProps=["borderRadius"];const B=m(ee,W,re,se,S,J,T,V,L,c,R);var X=null;const g=Me=>{if(Me.gap!==void 0&&Me.gap!==null){const Fe=(0,n.eI)(Me.theme,"spacing",8,"gap"),Ue=he=>({gap:(0,n.NA)(Fe,he)});return(0,v.k9)(Me,Me.gap,Ue)}return null};g.propTypes={},g.filterProps=["gap"];const p=Me=>{if(Me.columnGap!==void 0&&Me.columnGap!==null){const Fe=(0,n.eI)(Me.theme,"spacing",8,"columnGap"),Ue=he=>({columnGap:(0,n.NA)(Fe,he)});return(0,v.k9)(Me,Me.columnGap,Ue)}return null};p.propTypes={},p.filterProps=["columnGap"];const O=Me=>{if(Me.rowGap!==void 0&&Me.rowGap!==null){const Fe=(0,n.eI)(Me.theme,"spacing",8,"rowGap"),Ue=he=>({rowGap:(0,n.NA)(Fe,he)});return(0,v.k9)(Me,Me.rowGap,Ue)}return null};O.propTypes={},O.filterProps=["rowGap"];const I=(0,f.ZP)({prop:"gridColumn"}),E=(0,f.ZP)({prop:"gridRow"}),K=(0,f.ZP)({prop:"gridAutoFlow"}),d=(0,f.ZP)({prop:"gridAutoColumns"}),i=(0,f.ZP)({prop:"gridAutoRows"}),x=(0,f.ZP)({prop:"gridTemplateColumns"}),A=(0,f.ZP)({prop:"gridTemplateRows"}),w=(0,f.ZP)({prop:"gridTemplateAreas"}),C=(0,f.ZP)({prop:"gridArea"}),U=m(g,p,O,I,E,K,d,i,x,A,w,C);var F=null;function Y(Me,Fe){return Fe==="grey"?Fe:Me}const le=(0,f.ZP)({prop:"color",themeKey:"palette",transform:Y}),ie=(0,f.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Y}),j=(0,f.ZP)({prop:"backgroundColor",themeKey:"palette",transform:Y}),ue=m(le,ie,j);var P=null;function Z(Me){return Me<=1&&Me!==0?`${Me*100}%`:Me}const ae=(0,f.ZP)({prop:"width",transform:Z}),ce=Me=>{if(Me.maxWidth!==void 0&&Me.maxWidth!==null){const Fe=Ue=>{var he,xe,q;return{maxWidth:((he=Me.theme)==null||(xe=he.breakpoints)==null||(q=xe.values)==null?void 0:q[Ue])||v.VO[Ue]||Z(Ue)}};return(0,v.k9)(Me,Me.maxWidth,Fe)}return null};ce.filterProps=["maxWidth"];const be=(0,f.ZP)({prop:"minWidth",transform:Z}),pe=(0,f.ZP)({prop:"height",transform:Z}),h=(0,f.ZP)({prop:"maxHeight",transform:Z}),te=(0,f.ZP)({prop:"minHeight",transform:Z}),Q=(0,f.ZP)({prop:"size",cssProperty:"width",transform:Z}),we=(0,f.ZP)({prop:"size",cssProperty:"height",transform:Z}),Se=(0,f.ZP)({prop:"boxSizing"}),Ne=m(ae,ce,be,pe,h,te,Se);var ze=null,qe={border:{themeKey:"borders",transform:M},borderTop:{themeKey:"borders",transform:M},borderRight:{themeKey:"borders",transform:M},borderBottom:{themeKey:"borders",transform:M},borderLeft:{themeKey:"borders",transform:M},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:R},color:{themeKey:"palette",transform:Y},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Y},backgroundColor:{themeKey:"palette",transform:Y},p:{style:n.o3},pt:{style:n.o3},pr:{style:n.o3},pb:{style:n.o3},pl:{style:n.o3},px:{style:n.o3},py:{style:n.o3},padding:{style:n.o3},paddingTop:{style:n.o3},paddingRight:{style:n.o3},paddingBottom:{style:n.o3},paddingLeft:{style:n.o3},paddingX:{style:n.o3},paddingY:{style:n.o3},paddingInline:{style:n.o3},paddingInlineStart:{style:n.o3},paddingInlineEnd:{style:n.o3},paddingBlock:{style:n.o3},paddingBlockStart:{style:n.o3},paddingBlockEnd:{style:n.o3},m:{style:n.e6},mt:{style:n.e6},mr:{style:n.e6},mb:{style:n.e6},ml:{style:n.e6},mx:{style:n.e6},my:{style:n.e6},margin:{style:n.e6},marginTop:{style:n.e6},marginRight:{style:n.e6},marginBottom:{style:n.e6},marginLeft:{style:n.e6},marginX:{style:n.e6},marginY:{style:n.e6},marginInline:{style:n.e6},marginInlineStart:{style:n.e6},marginInlineEnd:{style:n.e6},marginBlock:{style:n.e6},marginBlockStart:{style:n.e6},marginBlockEnd:{style:n.e6},displayPrint:{cssProperty:!1,transform:Me=>({"@media print":{display:Me}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:g},rowGap:{style:O},columnGap:{style:p},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Z},maxWidth:{style:ce},minWidth:{transform:Z},height:{transform:Z},maxHeight:{transform:Z},minHeight:{transform:Z},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}},38368:function(_e,$,t){"use strict";t.d($,{Z:function(){return M}});var n=t(87462),f=t(63366),l=t(83643),u=t(94522);const m=["sx"],v=ee=>{var W,re;const se={systemProps:{},otherProps:{}},S=(W=ee==null||(re=ee.theme)==null?void 0:re.unstable_sxConfig)!=null?W:u.Z;return Object.keys(ee).forEach(J=>{S[J]?se.systemProps[J]=ee[J]:se.otherProps[J]=ee[J]}),se};function M(ee){const{sx:W}=ee,re=(0,f.Z)(ee,m),{systemProps:se,otherProps:S}=v(re);let J;return Array.isArray(W)?J=[se,...W]:typeof W=="function"?J=(...T)=>{const V=W(...T);return(0,l.P)(V)?(0,n.Z)({},se,V):se}:J=(0,n.Z)({},se,W),(0,n.Z)({},S,{sx:J})}},92112:function(_e,$,t){"use strict";var n=t(83686),f=t(11837),l=t(13713),u=t(36006),m=t(94522);function v(...re){const se=re.reduce((J,T)=>J.concat(Object.keys(T)),[]),S=new Set(se);return re.every(J=>S.size===Object.keys(J).length)}function M(re,se){return typeof re=="function"?re(se):re}function ee(){function re(S,J,T,V){const L={[S]:J,theme:T},c=V[S];if(!c)return{[S]:J};const{cssProperty:R=S,themeKey:B,transform:X,style:g}=c;if(J==null)return null;const p=(0,l.DW)(T,B)||{};if(g)return g(L);const O=I=>{let E=(0,l.Jq)(p,X,I);return I===E&&typeof I=="string"&&(E=(0,l.Jq)(p,X,`${S}${I==="default"?"":(0,n.Z)(I)}`,I)),R===!1?E:{[R]:E}};return(0,u.k9)(L,J,O)}function se(S){var J;const{sx:T,theme:V={}}=S||{};if(!T)return null;const L=(J=V.unstable_sxConfig)!=null?J:m.Z;function c(R){let B=R;if(typeof R=="function")B=R(V);else if(typeof R!="object")return R;if(!B)return null;const X=(0,u.W8)(V.breakpoints),g=Object.keys(X);let p=X;return Object.keys(B).forEach(O=>{const I=M(B[O],V);if(I!=null)if(typeof I=="object")if(L[O])p=(0,f.Z)(p,re(O,I,V,L));else{const E=(0,u.k9)({theme:V},I,K=>({[O]:K}));v(E,I)?p[O]=se({sx:I,theme:V}):p=(0,f.Z)(p,E)}else p=(0,f.Z)(p,re(O,I,V,L))}),(0,u.L7)(g,p)}return Array.isArray(T)?T.map(c):c(T)}return se}const W=ee();W.filterProps=["sx"],$.Z=W},43102:function(_e,$,t){"use strict";var n=t(34228);const f=(0,n.ZP)();$.Z=f},57468:function(_e,$,t){"use strict";var n=t(75392),f=t(50384);const l=(0,n.Z)();function u(m=l){return(0,f.Z)(m)}$.Z=u},10643:function(_e,$,t){"use strict";t.d($,{Z:function(){return f}});var n=t(77382);function f(l){const{theme:u,name:m,props:v}=l;return!u||!u.components||!u.components[m]||!u.components[m].defaultProps?v:(0,n.Z)(u.components[m].defaultProps,v)}},50384:function(_e,$,t){"use strict";var n=t(66005);function f(u){return Object.keys(u).length===0}function l(u=null){const m=(0,n.Z)();return!m||f(m)?u:m}$.Z=l},10297:function(_e,$){"use strict";const t=l=>l,f=(()=>{let l=t;return{configure(u){l=u},generate(u){return l(u)},reset(){l=t}}})();$.Z=f},83686:function(_e,$,t){"use strict";t.d($,{Z:function(){return f}});var n=t(23563);function f(l){if(typeof l!="string")throw new Error((0,n.Z)(7));return l.charAt(0).toUpperCase()+l.slice(1)}},13957:function(_e,$,t){"use strict";t.d($,{Z:function(){return n}});function n(f,l,u){const m={};return Object.keys(f).forEach(v=>{m[v]=f[v].reduce((M,ee)=>(ee&&(M.push(l(ee)),u&&u[ee]&&M.push(u[ee])),M),[]).join(" ")}),m}},32733:function(_e,$,t){"use strict";t.d($,{Z:function(){return n}});function n(...f){return f.reduce((l,u)=>u==null?l:function(...v){l.apply(this,v),u.apply(this,v)},()=>{})}},25788:function(_e,$,t){"use strict";t.d($,{Z:function(){return n}});function n(f,l=166){let u;function m(...v){const M=()=>{f.apply(this,v)};clearTimeout(u),u=setTimeout(M,l)}return m.clear=()=>{clearTimeout(u)},m}},83643:function(_e,$,t){"use strict";t.d($,{P:function(){return f},Z:function(){return u}});var n=t(87462);function f(m){return m!==null&&typeof m=="object"&&m.constructor===Object}function l(m){if(!f(m))return m;const v={};return Object.keys(m).forEach(M=>{v[M]=l(m[M])}),v}function u(m,v,M={clone:!0}){const ee=M.clone?(0,n.Z)({},m):m;return f(m)&&f(v)&&Object.keys(v).forEach(W=>{W!=="__proto__"&&(f(v[W])&&W in m&&f(m[W])?ee[W]=u(m[W],v[W],M):M.clone?ee[W]=f(v[W])?l(v[W]):v[W]:ee[W]=v[W])}),ee}},23563:function(_e,$,t){"use strict";t.d($,{Z:function(){return n}});function n(f){let l="https://mui.com/production-error/?code="+f;for(let u=1;u<arguments.length;u+=1)l+="&args[]="+encodeURIComponent(arguments[u]);return"Minified MUI error #"+f+"; visit "+l+" for the full message."}},85111:function(_e,$,t){"use strict";t.d($,{Z:function(){return l}});var n=t(10297);const f={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function l(u,m,v="Mui"){const M=f[m];return M?`${v}-${M}`:`${n.Z.generate(u)}-${m}`}},67402:function(_e,$,t){"use strict";t.d($,{Z:function(){return f}});var n=t(85111);function f(l,u,m="Mui"){const v={};return u.forEach(M=>{v[M]=(0,n.Z)(l,M,m)}),v}},89770:function(_e,$,t){"use strict";t.d($,{Z:function(){return n}});function n(f){const l=f.documentElement.clientWidth;return Math.abs(window.innerWidth-l)}},25156:function(_e,$,t){"use strict";t.d($,{Z:function(){return n}});function n(f){return f&&f.ownerDocument||document}},69923:function(_e,$,t){"use strict";t.d($,{Z:function(){return f}});var n=t(25156);function f(l){return(0,n.Z)(l).defaultView||window}},77382:function(_e,$,t){"use strict";t.d($,{Z:function(){return f}});var n=t(87462);function f(l,u){const m=(0,n.Z)({},u);return Object.keys(l).forEach(v=>{if(v.toString().match(/^(components|slots)$/))m[v]=(0,n.Z)({},l[v],m[v]);else if(v.toString().match(/^(componentsProps|slotProps)$/)){const M=l[v]||{},ee=u[v];m[v]={},!ee||!Object.keys(ee)?m[v]=M:!M||!Object.keys(M)?m[v]=ee:(m[v]=(0,n.Z)({},ee),Object.keys(M).forEach(W=>{m[v][W]=f(M[W],ee[W])}))}else m[v]===void 0&&(m[v]=l[v])}),m}},72536:function(_e,$,t){"use strict";t.d($,{Z:function(){return n}});function n(f,l){typeof f=="function"?f(l):f&&(f.current=l)}},90904:function(_e,$,t){"use strict";t.d($,{Z:function(){return f}});var n=t(89526);function f({controlled:l,default:u,name:m,state:v="value"}){const{current:M}=n.useRef(l!==void 0),[ee,W]=n.useState(u),re=M?l:ee,se=n.useCallback(S=>{M||W(S)},[]);return[re,se]}},36341:function(_e,$,t){"use strict";var n=t(89526);const f=typeof window!="undefined"?n.useLayoutEffect:n.useEffect;$.Z=f},58426:function(_e,$,t){"use strict";t.d($,{Z:function(){return l}});var n=t(89526),f=t(36341);function l(u){const m=n.useRef(u);return(0,f.Z)(()=>{m.current=u}),n.useCallback((...v)=>(0,m.current)(...v),[])}},61199:function(_e,$,t){"use strict";t.d($,{Z:function(){return l}});var n=t(89526),f=t(72536);function l(...u){return n.useMemo(()=>u.every(m=>m==null)?null:m=>{u.forEach(v=>{(0,f.Z)(v,m)})},u)}},53068:function(_e,$,t){"use strict";var n;t.d($,{Z:function(){return v}});var f=t(89526);let l=0;function u(M){const[ee,W]=f.useState(M),re=M||ee;return f.useEffect(()=>{ee==null&&(l+=1,W(`mui-${l}`))},[ee]),re}const m=(n||(n=t.t(f,2)))["useId"];function v(M){if(m!==void 0){const ee=m();return M!=null?M:ee}return u(M)}},49665:function(_e,$,t){"use strict";t.d($,{Z:function(){return J}});var n=t(89526);let f=!0,l=!1,u;const m={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};function v(T){const{type:V,tagName:L}=T;return!!(L==="INPUT"&&m[V]&&!T.readOnly||L==="TEXTAREA"&&!T.readOnly||T.isContentEditable)}function M(T){T.metaKey||T.altKey||T.ctrlKey||(f=!0)}function ee(){f=!1}function W(){this.visibilityState==="hidden"&&l&&(f=!0)}function re(T){T.addEventListener("keydown",M,!0),T.addEventListener("mousedown",ee,!0),T.addEventListener("pointerdown",ee,!0),T.addEventListener("touchstart",ee,!0),T.addEventListener("visibilitychange",W,!0)}function se(T){T.removeEventListener("keydown",M,!0),T.removeEventListener("mousedown",ee,!0),T.removeEventListener("pointerdown",ee,!0),T.removeEventListener("touchstart",ee,!0),T.removeEventListener("visibilitychange",W,!0)}function S(T){const{target:V}=T;try{return V.matches(":focus-visible")}catch(L){}return f||v(V)}function J(){const T=n.useCallback(R=>{R!=null&&re(R.ownerDocument)},[]),V=n.useRef(!1);function L(){return V.current?(l=!0,window.clearTimeout(u),u=window.setTimeout(()=>{l=!1},100),V.current=!1,!0):!1}function c(R){return S(R)?(V.current=!0,!0):!1}return{isFocusVisibleRef:V,onFocus:c,onBlur:L,ref:T}}},46818:function(_e,$,t){"use strict";t.d($,{fi:function(){return Wi}});function n(_t){if(_t==null)return window;if(_t.toString()!=="[object Window]"){var Ct=_t.ownerDocument;return Ct&&Ct.defaultView||window}return _t}function f(_t){var Ct=n(_t).Element;return _t instanceof Ct||_t instanceof Element}function l(_t){var Ct=n(_t).HTMLElement;return _t instanceof Ct||_t instanceof HTMLElement}function u(_t){if(typeof ShadowRoot=="undefined")return!1;var Ct=n(_t).ShadowRoot;return _t instanceof Ct||_t instanceof ShadowRoot}var m=Math.max,v=Math.min,M=Math.round;function ee(){var _t=navigator.userAgentData;return _t!=null&&_t.brands?_t.brands.map(function(Ct){return Ct.brand+"/"+Ct.version}).join(" "):navigator.userAgent}function W(){return!/^((?!chrome|android).)*safari/i.test(ee())}function re(_t,Ct,mt){Ct===void 0&&(Ct=!1),mt===void 0&&(mt=!1);var br=_t.getBoundingClientRect(),Pt=1,qr=1;Ct&&l(_t)&&(Pt=_t.offsetWidth>0&&M(br.width)/_t.offsetWidth||1,qr=_t.offsetHeight>0&&M(br.height)/_t.offsetHeight||1);var mn=f(_t)?n(_t):window,In=mn.visualViewport,Vr=!W()&&mt,Fn=(br.left+(Vr&&In?In.offsetLeft:0))/Pt,An=(br.top+(Vr&&In?In.offsetTop:0))/qr,zn=br.width/Pt,bi=br.height/qr;return{width:zn,height:bi,top:An,right:Fn+zn,bottom:An+bi,left:Fn,x:Fn,y:An}}function se(_t){var Ct=n(_t),mt=Ct.pageXOffset,br=Ct.pageYOffset;return{scrollLeft:mt,scrollTop:br}}function S(_t){return{scrollLeft:_t.scrollLeft,scrollTop:_t.scrollTop}}function J(_t){return _t===n(_t)||!l(_t)?se(_t):S(_t)}function T(_t){return _t?(_t.nodeName||"").toLowerCase():null}function V(_t){return((f(_t)?_t.ownerDocument:_t.document)||window.document).documentElement}function L(_t){return re(V(_t)).left+se(_t).scrollLeft}function c(_t){return n(_t).getComputedStyle(_t)}function R(_t){var Ct=c(_t),mt=Ct.overflow,br=Ct.overflowX,Pt=Ct.overflowY;return/auto|scroll|overlay|hidden/.test(mt+Pt+br)}function B(_t){var Ct=_t.getBoundingClientRect(),mt=M(Ct.width)/_t.offsetWidth||1,br=M(Ct.height)/_t.offsetHeight||1;return mt!==1||br!==1}function X(_t,Ct,mt){mt===void 0&&(mt=!1);var br=l(Ct),Pt=l(Ct)&&B(Ct),qr=V(Ct),mn=re(_t,Pt,mt),In={scrollLeft:0,scrollTop:0},Vr={x:0,y:0};return(br||!br&&!mt)&&((T(Ct)!=="body"||R(qr))&&(In=J(Ct)),l(Ct)?(Vr=re(Ct,!0),Vr.x+=Ct.clientLeft,Vr.y+=Ct.clientTop):qr&&(Vr.x=L(qr))),{x:mn.left+In.scrollLeft-Vr.x,y:mn.top+In.scrollTop-Vr.y,width:mn.width,height:mn.height}}function g(_t){var Ct=re(_t),mt=_t.offsetWidth,br=_t.offsetHeight;return Math.abs(Ct.width-mt)<=1&&(mt=Ct.width),Math.abs(Ct.height-br)<=1&&(br=Ct.height),{x:_t.offsetLeft,y:_t.offsetTop,width:mt,height:br}}function p(_t){return T(_t)==="html"?_t:_t.assignedSlot||_t.parentNode||(u(_t)?_t.host:null)||V(_t)}function O(_t){return["html","body","#document"].indexOf(T(_t))>=0?_t.ownerDocument.body:l(_t)&&R(_t)?_t:O(p(_t))}function I(_t,Ct){var mt;Ct===void 0&&(Ct=[]);var br=O(_t),Pt=br===((mt=_t.ownerDocument)==null?void 0:mt.body),qr=n(br),mn=Pt?[qr].concat(qr.visualViewport||[],R(br)?br:[]):br,In=Ct.concat(mn);return Pt?In:In.concat(I(p(mn)))}function E(_t){return["table","td","th"].indexOf(T(_t))>=0}function K(_t){return!l(_t)||c(_t).position==="fixed"?null:_t.offsetParent}function d(_t){var Ct=/firefox/i.test(ee()),mt=/Trident/i.test(ee());if(mt&&l(_t)){var br=c(_t);if(br.position==="fixed")return null}var Pt=p(_t);for(u(Pt)&&(Pt=Pt.host);l(Pt)&&["html","body"].indexOf(T(Pt))<0;){var qr=c(Pt);if(qr.transform!=="none"||qr.perspective!=="none"||qr.contain==="paint"||["transform","perspective"].indexOf(qr.willChange)!==-1||Ct&&qr.willChange==="filter"||Ct&&qr.filter&&qr.filter!=="none")return Pt;Pt=Pt.parentNode}return null}function i(_t){for(var Ct=n(_t),mt=K(_t);mt&&E(mt)&&c(mt).position==="static";)mt=K(mt);return mt&&(T(mt)==="html"||T(mt)==="body"&&c(mt).position==="static")?Ct:mt||d(_t)||Ct}var x="top",A="bottom",w="right",C="left",U="auto",F=[x,A,w,C],Y="start",le="end",ie="clippingParents",j="viewport",ue="popper",P="reference",Z=F.reduce(function(_t,Ct){return _t.concat([Ct+"-"+Y,Ct+"-"+le])},[]),ae=[].concat(F,[U]).reduce(function(_t,Ct){return _t.concat([Ct,Ct+"-"+Y,Ct+"-"+le])},[]),ce="beforeRead",be="read",pe="afterRead",h="beforeMain",te="main",Q="afterMain",we="beforeWrite",Se="write",Ne="afterWrite",ze=[ce,be,pe,h,te,Q,we,Se,Ne];function Je(_t){var Ct=new Map,mt=new Set,br=[];_t.forEach(function(qr){Ct.set(qr.name,qr)});function Pt(qr){mt.add(qr.name);var mn=[].concat(qr.requires||[],qr.requiresIfExists||[]);mn.forEach(function(In){if(!mt.has(In)){var Vr=Ct.get(In);Vr&&Pt(Vr)}}),br.push(qr)}return _t.forEach(function(qr){mt.has(qr.name)||Pt(qr)}),br}function qe(_t){var Ct=Je(_t);return ze.reduce(function(mt,br){return mt.concat(Ct.filter(function(Pt){return Pt.phase===br}))},[])}function Me(_t){var Ct;return function(){return Ct||(Ct=new Promise(function(mt){Promise.resolve().then(function(){Ct=void 0,mt(_t())})})),Ct}}function Fe(_t){var Ct=_t.reduce(function(mt,br){var Pt=mt[br.name];return mt[br.name]=Pt?Object.assign({},Pt,br,{options:Object.assign({},Pt.options,br.options),data:Object.assign({},Pt.data,br.data)}):br,mt},{});return Object.keys(Ct).map(function(mt){return Ct[mt]})}var Ue="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",he="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",xe={placement:"bottom",modifiers:[],strategy:"absolute"};function q(){for(var _t=arguments.length,Ct=new Array(_t),mt=0;mt<_t;mt++)Ct[mt]=arguments[mt];return!Ct.some(function(br){return!(br&&typeof br.getBoundingClientRect=="function")})}function me(_t){_t===void 0&&(_t={});var Ct=_t,mt=Ct.defaultModifiers,br=mt===void 0?[]:mt,Pt=Ct.defaultOptions,qr=Pt===void 0?xe:Pt;return function(In,Vr,Fn){Fn===void 0&&(Fn=qr);var An={placement:"bottom",orderedModifiers:[],options:Object.assign({},xe,qr),modifiersData:{},elements:{reference:In,popper:Vr},attributes:{},styles:{}},zn=[],bi=!1,Si={state:An,setOptions:function(_o){var Ti=typeof _o=="function"?_o(An.options):_o;Fi(),An.options=Object.assign({},qr,An.options,Ti),An.scrollParents={reference:f(In)?I(In):In.contextElement?I(In.contextElement):[],popper:I(Vr)};var ao=qe(Fe([].concat(br,An.options.modifiers)));if(An.orderedModifiers=ao.filter(function(Yt){return Yt.enabled}),!1)var no,Ir,je,Ke,ht,Bt,Dt;return bo(),Si.update()},forceUpdate:function(){if(!bi){var _o=An.elements,Ti=_o.reference,ao=_o.popper;if(q(Ti,ao)){An.rects={reference:X(Ti,i(ao),An.options.strategy==="fixed"),popper:g(ao)},An.reset=!1,An.placement=An.options.placement,An.orderedModifiers.forEach(function(Yt){return An.modifiersData[Yt.name]=Object.assign({},Yt.data)});for(var no=0,Ir=0;Ir<An.orderedModifiers.length;Ir++){if(An.reset===!0){An.reset=!1,Ir=-1;continue}var je=An.orderedModifiers[Ir],Ke=je.fn,ht=je.options,Bt=ht===void 0?{}:ht,Dt=je.name;typeof Ke=="function"&&(An=Ke({state:An,options:Bt,name:Dt,instance:Si})||An)}}}},update:Me(function(){return new Promise(function(mo){Si.forceUpdate(),mo(An)})}),destroy:function(){Fi(),bi=!0}};if(!q(In,Vr))return Si;Si.setOptions(Fn).then(function(mo){!bi&&Fn.onFirstUpdate&&Fn.onFirstUpdate(mo)});function bo(){An.orderedModifiers.forEach(function(mo){var _o=mo.name,Ti=mo.options,ao=Ti===void 0?{}:Ti,no=mo.effect;if(typeof no=="function"){var Ir=no({state:An,name:_o,instance:Si,options:ao}),je=function(){};zn.push(Ir||je)}})}function Fi(){zn.forEach(function(mo){return mo()}),zn=[]}return Si}}var De=null,Te={passive:!0};function Oe(_t){var Ct=_t.state,mt=_t.instance,br=_t.options,Pt=br.scroll,qr=Pt===void 0?!0:Pt,mn=br.resize,In=mn===void 0?!0:mn,Vr=n(Ct.elements.popper),Fn=[].concat(Ct.scrollParents.reference,Ct.scrollParents.popper);return qr&&Fn.forEach(function(An){An.addEventListener("scroll",mt.update,Te)}),In&&Vr.addEventListener("resize",mt.update,Te),function(){qr&&Fn.forEach(function(An){An.removeEventListener("scroll",mt.update,Te)}),In&&Vr.removeEventListener("resize",mt.update,Te)}}var st={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Oe,data:{}};function Ft(_t){return _t.split("-")[0]}function Qt(_t){return _t.split("-")[1]}function Vt(_t){return["top","bottom"].indexOf(_t)>=0?"x":"y"}function Gt(_t){var Ct=_t.reference,mt=_t.element,br=_t.placement,Pt=br?Ft(br):null,qr=br?Qt(br):null,mn=Ct.x+Ct.width/2-mt.width/2,In=Ct.y+Ct.height/2-mt.height/2,Vr;switch(Pt){case x:Vr={x:mn,y:Ct.y-mt.height};break;case A:Vr={x:mn,y:Ct.y+Ct.height};break;case w:Vr={x:Ct.x+Ct.width,y:In};break;case C:Vr={x:Ct.x-mt.width,y:In};break;default:Vr={x:Ct.x,y:Ct.y}}var Fn=Pt?Vt(Pt):null;if(Fn!=null){var An=Fn==="y"?"height":"width";switch(qr){case Y:Vr[Fn]=Vr[Fn]-(Ct[An]/2-mt[An]/2);break;case le:Vr[Fn]=Vr[Fn]+(Ct[An]/2-mt[An]/2);break;default:}}return Vr}function Jt(_t){var Ct=_t.state,mt=_t.name;Ct.modifiersData[mt]=Gt({reference:Ct.rects.reference,element:Ct.rects.popper,strategy:"absolute",placement:Ct.placement})}var Lr={name:"popperOffsets",enabled:!0,phase:"read",fn:Jt,data:{}},Rr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Gr(_t){var Ct=_t.x,mt=_t.y,br=window,Pt=br.devicePixelRatio||1;return{x:M(Ct*Pt)/Pt||0,y:M(mt*Pt)/Pt||0}}function zr(_t){var Ct,mt=_t.popper,br=_t.popperRect,Pt=_t.placement,qr=_t.variation,mn=_t.offsets,In=_t.position,Vr=_t.gpuAcceleration,Fn=_t.adaptive,An=_t.roundOffsets,zn=_t.isFixed,bi=mn.x,Si=bi===void 0?0:bi,bo=mn.y,Fi=bo===void 0?0:bo,mo=typeof An=="function"?An({x:Si,y:Fi}):{x:Si,y:Fi};Si=mo.x,Fi=mo.y;var _o=mn.hasOwnProperty("x"),Ti=mn.hasOwnProperty("y"),ao=C,no=x,Ir=window;if(Fn){var je=i(mt),Ke="clientHeight",ht="clientWidth";if(je===n(mt)&&(je=V(mt),c(je).position!=="static"&&In==="absolute"&&(Ke="scrollHeight",ht="scrollWidth")),je=je,Pt===x||(Pt===C||Pt===w)&&qr===le){no=A;var Bt=zn&&je===Ir&&Ir.visualViewport?Ir.visualViewport.height:je[Ke];Fi-=Bt-br.height,Fi*=Vr?1:-1}if(Pt===C||(Pt===x||Pt===A)&&qr===le){ao=w;var Dt=zn&&je===Ir&&Ir.visualViewport?Ir.visualViewport.width:je[ht];Si-=Dt-br.width,Si*=Vr?1:-1}}var Yt=Object.assign({position:In},Fn&&Rr),yr=An===!0?Gr({x:Si,y:Fi}):{x:Si,y:Fi};if(Si=yr.x,Fi=yr.y,Vr){var zt;return Object.assign({},Yt,(zt={},zt[no]=Ti?"0":"",zt[ao]=_o?"0":"",zt.transform=(Ir.devicePixelRatio||1)<=1?"translate("+Si+"px, "+Fi+"px)":"translate3d("+Si+"px, "+Fi+"px, 0)",zt))}return Object.assign({},Yt,(Ct={},Ct[no]=Ti?Fi+"px":"",Ct[ao]=_o?Si+"px":"",Ct.transform="",Ct))}function pr(_t){var Ct=_t.state,mt=_t.options,br=mt.gpuAcceleration,Pt=br===void 0?!0:br,qr=mt.adaptive,mn=qr===void 0?!0:qr,In=mt.roundOffsets,Vr=In===void 0?!0:In;if(!1)var Fn;var An={placement:Ft(Ct.placement),variation:Qt(Ct.placement),popper:Ct.elements.popper,popperRect:Ct.rects.popper,gpuAcceleration:Pt,isFixed:Ct.options.strategy==="fixed"};Ct.modifiersData.popperOffsets!=null&&(Ct.styles.popper=Object.assign({},Ct.styles.popper,zr(Object.assign({},An,{offsets:Ct.modifiersData.popperOffsets,position:Ct.options.strategy,adaptive:mn,roundOffsets:Vr})))),Ct.modifiersData.arrow!=null&&(Ct.styles.arrow=Object.assign({},Ct.styles.arrow,zr(Object.assign({},An,{offsets:Ct.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:Vr})))),Ct.attributes.popper=Object.assign({},Ct.attributes.popper,{"data-popper-placement":Ct.placement})}var vn={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:pr,data:{}};function fn(_t){var Ct=_t.state;Object.keys(Ct.elements).forEach(function(mt){var br=Ct.styles[mt]||{},Pt=Ct.attributes[mt]||{},qr=Ct.elements[mt];!l(qr)||!T(qr)||(Object.assign(qr.style,br),Object.keys(Pt).forEach(function(mn){var In=Pt[mn];In===!1?qr.removeAttribute(mn):qr.setAttribute(mn,In===!0?"":In)}))})}function Zt(_t){var Ct=_t.state,mt={popper:{position:Ct.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(Ct.elements.popper.style,mt.popper),Ct.styles=mt,Ct.elements.arrow&&Object.assign(Ct.elements.arrow.style,mt.arrow),function(){Object.keys(Ct.elements).forEach(function(br){var Pt=Ct.elements[br],qr=Ct.attributes[br]||{},mn=Object.keys(Ct.styles.hasOwnProperty(br)?Ct.styles[br]:mt[br]),In=mn.reduce(function(Vr,Fn){return Vr[Fn]="",Vr},{});!l(Pt)||!T(Pt)||(Object.assign(Pt.style,In),Object.keys(qr).forEach(function(Vr){Pt.removeAttribute(Vr)}))})}}var St={name:"applyStyles",enabled:!0,phase:"write",fn,effect:Zt,requires:["computeStyles"]};function Wt(_t,Ct,mt){var br=Ft(_t),Pt=[C,x].indexOf(br)>=0?-1:1,qr=typeof mt=="function"?mt(Object.assign({},Ct,{placement:_t})):mt,mn=qr[0],In=qr[1];return mn=mn||0,In=(In||0)*Pt,[C,w].indexOf(br)>=0?{x:In,y:mn}:{x:mn,y:In}}function Nt(_t){var Ct=_t.state,mt=_t.options,br=_t.name,Pt=mt.offset,qr=Pt===void 0?[0,0]:Pt,mn=ae.reduce(function(An,zn){return An[zn]=Wt(zn,Ct.rects,qr),An},{}),In=mn[Ct.placement],Vr=In.x,Fn=In.y;Ct.modifiersData.popperOffsets!=null&&(Ct.modifiersData.popperOffsets.x+=Vr,Ct.modifiersData.popperOffsets.y+=Fn),Ct.modifiersData[br]=mn}var dt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Nt},nr={left:"right",right:"left",bottom:"top",top:"bottom"};function et(_t){return _t.replace(/left|right|bottom|top/g,function(Ct){return nr[Ct]})}var Tt={start:"end",end:"start"};function Rt(_t){return _t.replace(/start|end/g,function(Ct){return Tt[Ct]})}function or(_t,Ct){var mt=n(_t),br=V(_t),Pt=mt.visualViewport,qr=br.clientWidth,mn=br.clientHeight,In=0,Vr=0;if(Pt){qr=Pt.width,mn=Pt.height;var Fn=W();(Fn||!Fn&&Ct==="fixed")&&(In=Pt.offsetLeft,Vr=Pt.offsetTop)}return{width:qr,height:mn,x:In+L(_t),y:Vr}}function ir(_t){var Ct,mt=V(_t),br=se(_t),Pt=(Ct=_t.ownerDocument)==null?void 0:Ct.body,qr=m(mt.scrollWidth,mt.clientWidth,Pt?Pt.scrollWidth:0,Pt?Pt.clientWidth:0),mn=m(mt.scrollHeight,mt.clientHeight,Pt?Pt.scrollHeight:0,Pt?Pt.clientHeight:0),In=-br.scrollLeft+L(_t),Vr=-br.scrollTop;return c(Pt||mt).direction==="rtl"&&(In+=m(mt.clientWidth,Pt?Pt.clientWidth:0)-qr),{width:qr,height:mn,x:In,y:Vr}}function Qr(_t,Ct){var mt=Ct.getRootNode&&Ct.getRootNode();if(_t.contains(Ct))return!0;if(mt&&u(mt)){var br=Ct;do{if(br&&_t.isSameNode(br))return!0;br=br.parentNode||br.host}while(br)}return!1}function ft(_t){return Object.assign({},_t,{left:_t.x,top:_t.y,right:_t.x+_t.width,bottom:_t.y+_t.height})}function tr(_t,Ct){var mt=re(_t,!1,Ct==="fixed");return mt.top=mt.top+_t.clientTop,mt.left=mt.left+_t.clientLeft,mt.bottom=mt.top+_t.clientHeight,mt.right=mt.left+_t.clientWidth,mt.width=_t.clientWidth,mt.height=_t.clientHeight,mt.x=mt.left,mt.y=mt.top,mt}function gr(_t,Ct,mt){return Ct===j?ft(or(_t,mt)):f(Ct)?tr(Ct,mt):ft(ir(V(_t)))}function ar(_t){var Ct=I(p(_t)),mt=["absolute","fixed"].indexOf(c(_t).position)>=0,br=mt&&l(_t)?i(_t):_t;return f(br)?Ct.filter(function(Pt){return f(Pt)&&Qr(Pt,br)&&T(Pt)!=="body"}):[]}function rt(_t,Ct,mt,br){var Pt=Ct==="clippingParents"?ar(_t):[].concat(Ct),qr=[].concat(Pt,[mt]),mn=qr[0],In=qr.reduce(function(Vr,Fn){var An=gr(_t,Fn,br);return Vr.top=m(An.top,Vr.top),Vr.right=v(An.right,Vr.right),Vr.bottom=v(An.bottom,Vr.bottom),Vr.left=m(An.left,Vr.left),Vr},gr(_t,mn,br));return In.width=In.right-In.left,In.height=In.bottom-In.top,In.x=In.left,In.y=In.top,In}function kt(){return{top:0,right:0,bottom:0,left:0}}function At(_t){return Object.assign({},kt(),_t)}function qt(_t,Ct){return Ct.reduce(function(mt,br){return mt[br]=_t,mt},{})}function sr(_t,Ct){Ct===void 0&&(Ct={});var mt=Ct,br=mt.placement,Pt=br===void 0?_t.placement:br,qr=mt.strategy,mn=qr===void 0?_t.strategy:qr,In=mt.boundary,Vr=In===void 0?ie:In,Fn=mt.rootBoundary,An=Fn===void 0?j:Fn,zn=mt.elementContext,bi=zn===void 0?ue:zn,Si=mt.altBoundary,bo=Si===void 0?!1:Si,Fi=mt.padding,mo=Fi===void 0?0:Fi,_o=At(typeof mo!="number"?mo:qt(mo,F)),Ti=bi===ue?P:ue,ao=_t.rects.popper,no=_t.elements[bo?Ti:bi],Ir=rt(f(no)?no:no.contextElement||V(_t.elements.popper),Vr,An,mn),je=re(_t.elements.reference),Ke=Gt({reference:je,element:ao,strategy:"absolute",placement:Pt}),ht=ft(Object.assign({},ao,Ke)),Bt=bi===ue?ht:je,Dt={top:Ir.top-Bt.top+_o.top,bottom:Bt.bottom-Ir.bottom+_o.bottom,left:Ir.left-Bt.left+_o.left,right:Bt.right-Ir.right+_o.right},Yt=_t.modifiersData.offset;if(bi===ue&&Yt){var yr=Yt[Pt];Object.keys(Dt).forEach(function(zt){var rn=[w,A].indexOf(zt)>=0?1:-1,On=[x,A].indexOf(zt)>=0?"y":"x";Dt[zt]+=yr[On]*rn})}return Dt}function Kr(_t,Ct){Ct===void 0&&(Ct={});var mt=Ct,br=mt.placement,Pt=mt.boundary,qr=mt.rootBoundary,mn=mt.padding,In=mt.flipVariations,Vr=mt.allowedAutoPlacements,Fn=Vr===void 0?ae:Vr,An=Qt(br),zn=An?In?Z:Z.filter(function(bo){return Qt(bo)===An}):F,bi=zn.filter(function(bo){return Fn.indexOf(bo)>=0});bi.length===0&&(bi=zn);var Si=bi.reduce(function(bo,Fi){return bo[Fi]=sr(_t,{placement:Fi,boundary:Pt,rootBoundary:qr,padding:mn})[Ft(Fi)],bo},{});return Object.keys(Si).sort(function(bo,Fi){return Si[bo]-Si[Fi]})}function kr(_t){if(Ft(_t)===U)return[];var Ct=et(_t);return[Rt(_t),Ct,Rt(Ct)]}function nn(_t){var Ct=_t.state,mt=_t.options,br=_t.name;if(!Ct.modifiersData[br]._skip){for(var Pt=mt.mainAxis,qr=Pt===void 0?!0:Pt,mn=mt.altAxis,In=mn===void 0?!0:mn,Vr=mt.fallbackPlacements,Fn=mt.padding,An=mt.boundary,zn=mt.rootBoundary,bi=mt.altBoundary,Si=mt.flipVariations,bo=Si===void 0?!0:Si,Fi=mt.allowedAutoPlacements,mo=Ct.options.placement,_o=Ft(mo),Ti=_o===mo,ao=Vr||(Ti||!bo?[et(mo)]:kr(mo)),no=[mo].concat(ao).reduce(function(ia,la){return ia.concat(Ft(la)===U?Kr(Ct,{placement:la,boundary:An,rootBoundary:zn,padding:Fn,flipVariations:bo,allowedAutoPlacements:Fi}):la)},[]),Ir=Ct.rects.reference,je=Ct.rects.popper,Ke=new Map,ht=!0,Bt=no[0],Dt=0;Dt<no.length;Dt++){var Yt=no[Dt],yr=Ft(Yt),zt=Qt(Yt)===Y,rn=[x,A].indexOf(yr)>=0,On=rn?"width":"height",xn=sr(Ct,{placement:Yt,boundary:An,rootBoundary:zn,altBoundary:bi,padding:Fn}),Kn=rn?zt?w:C:zt?A:x;Ir[On]>je[On]&&(Kn=et(Kn));var jn=et(Kn),to=[];if(qr&&to.push(xn[yr]<=0),In&&to.push(xn[Kn]<=0,xn[jn]<=0),to.every(function(ia){return ia})){Bt=Yt,ht=!1;break}Ke.set(Yt,to)}if(ht)for(var ki=bo?3:1,zo=function(la){var so=no.find(function(zi){var Xi=Ke.get(zi);if(Xi)return Xi.slice(0,la).every(function(ua){return ua})});if(so)return Bt=so,"break"},Ko=ki;Ko>0;Ko--){var uo=zo(Ko);if(uo==="break")break}Ct.placement!==Bt&&(Ct.modifiersData[br]._skip=!0,Ct.placement=Bt,Ct.reset=!0)}}var on={name:"flip",enabled:!0,phase:"main",fn:nn,requiresIfExists:["offset"],data:{_skip:!1}};function vr(_t){return _t==="x"?"y":"x"}function Dr(_t,Ct,mt){return m(_t,v(Ct,mt))}function _r(_t,Ct,mt){var br=Dr(_t,Ct,mt);return br>mt?mt:br}function Hr(_t){var Ct=_t.state,mt=_t.options,br=_t.name,Pt=mt.mainAxis,qr=Pt===void 0?!0:Pt,mn=mt.altAxis,In=mn===void 0?!1:mn,Vr=mt.boundary,Fn=mt.rootBoundary,An=mt.altBoundary,zn=mt.padding,bi=mt.tether,Si=bi===void 0?!0:bi,bo=mt.tetherOffset,Fi=bo===void 0?0:bo,mo=sr(Ct,{boundary:Vr,rootBoundary:Fn,padding:zn,altBoundary:An}),_o=Ft(Ct.placement),Ti=Qt(Ct.placement),ao=!Ti,no=Vt(_o),Ir=vr(no),je=Ct.modifiersData.popperOffsets,Ke=Ct.rects.reference,ht=Ct.rects.popper,Bt=typeof Fi=="function"?Fi(Object.assign({},Ct.rects,{placement:Ct.placement})):Fi,Dt=typeof Bt=="number"?{mainAxis:Bt,altAxis:Bt}:Object.assign({mainAxis:0,altAxis:0},Bt),Yt=Ct.modifiersData.offset?Ct.modifiersData.offset[Ct.placement]:null,yr={x:0,y:0};if(je){if(qr){var zt,rn=no==="y"?x:C,On=no==="y"?A:w,xn=no==="y"?"height":"width",Kn=je[no],jn=Kn+mo[rn],to=Kn-mo[On],ki=Si?-ht[xn]/2:0,zo=Ti===Y?Ke[xn]:ht[xn],Ko=Ti===Y?-ht[xn]:-Ke[xn],uo=Ct.elements.arrow,ia=Si&&uo?g(uo):{width:0,height:0},la=Ct.modifiersData["arrow#persistent"]?Ct.modifiersData["arrow#persistent"].padding:kt(),so=la[rn],zi=la[On],Xi=Dr(0,Ke[xn],ia[xn]),ua=ao?Ke[xn]/2-ki-Xi-so-Dt.mainAxis:zo-Xi-so-Dt.mainAxis,ta=ao?-Ke[xn]/2+ki+Xi+zi+Dt.mainAxis:Ko+Xi+zi+Dt.mainAxis,Pi=Ct.elements.arrow&&i(Ct.elements.arrow),Ji=Pi?no==="y"?Pi.clientTop||0:Pi.clientLeft||0:0,Do=(zt=Yt==null?void 0:Yt[no])!=null?zt:0,Ki=Kn+ua-Do-Ji,fi=Kn+ta-Do,oi=Dr(Si?v(jn,Ki):jn,Kn,Si?m(to,fi):to);je[no]=oi,yr[no]=oi-Kn}if(In){var _i,Jr=no==="x"?x:C,hi=no==="x"?A:w,yi=je[Ir],Ci=Ir==="y"?"height":"width",Oi=yi+mo[Jr],Mn=yi-mo[hi],wo=[x,C].indexOf(_o)!==-1,xo=(_i=Yt==null?void 0:Yt[Ir])!=null?_i:0,Ba=wo?Oi:yi-Ke[Ci]-ht[Ci]-xo+Dt.altAxis,Eo=wo?yi+Ke[Ci]+ht[Ci]-xo-Dt.altAxis:Mn,pa=Si&&wo?_r(Ba,yi,Eo):Dr(Si?Ba:Oi,yi,Si?Eo:Mn);je[Ir]=pa,yr[Ir]=pa-yi}Ct.modifiersData[br]=yr}}var Pr={name:"preventOverflow",enabled:!0,phase:"main",fn:Hr,requiresIfExists:["offset"]},un=function(Ct,mt){return Ct=typeof Ct=="function"?Ct(Object.assign({},mt.rects,{placement:mt.placement})):Ct,At(typeof Ct!="number"?Ct:qt(Ct,F))};function Zn(_t){var Ct,mt=_t.state,br=_t.name,Pt=_t.options,qr=mt.elements.arrow,mn=mt.modifiersData.popperOffsets,In=Ft(mt.placement),Vr=Vt(In),Fn=[C,w].indexOf(In)>=0,An=Fn?"height":"width";if(!(!qr||!mn)){var zn=un(Pt.padding,mt),bi=g(qr),Si=Vr==="y"?x:C,bo=Vr==="y"?A:w,Fi=mt.rects.reference[An]+mt.rects.reference[Vr]-mn[Vr]-mt.rects.popper[An],mo=mn[Vr]-mt.rects.reference[Vr],_o=i(qr),Ti=_o?Vr==="y"?_o.clientHeight||0:_o.clientWidth||0:0,ao=Fi/2-mo/2,no=zn[Si],Ir=Ti-bi[An]-zn[bo],je=Ti/2-bi[An]/2+ao,Ke=Dr(no,je,Ir),ht=Vr;mt.modifiersData[br]=(Ct={},Ct[ht]=Ke,Ct.centerOffset=Ke-je,Ct)}}function Jn(_t){var Ct=_t.state,mt=_t.options,br=mt.element,Pt=br===void 0?"[data-popper-arrow]":br;Pt!=null&&(typeof Pt=="string"&&(Pt=Ct.elements.popper.querySelector(Pt),!Pt)||Qr(Ct.elements.popper,Pt)&&(Ct.elements.arrow=Pt))}var Dn={name:"arrow",enabled:!0,phase:"main",fn:Zn,effect:Jn,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function qn(_t,Ct,mt){return mt===void 0&&(mt={x:0,y:0}),{top:_t.top-Ct.height-mt.y,right:_t.right-Ct.width+mt.x,bottom:_t.bottom-Ct.height+mt.y,left:_t.left-Ct.width-mt.x}}function lr(_t){return[x,w,A,C].some(function(Ct){return _t[Ct]>=0})}function Yr(_t){var Ct=_t.state,mt=_t.name,br=Ct.rects.reference,Pt=Ct.rects.popper,qr=Ct.modifiersData.preventOverflow,mn=sr(Ct,{elementContext:"reference"}),In=sr(Ct,{altBoundary:!0}),Vr=qn(mn,br),Fn=qn(In,Pt,qr),An=lr(Vr),zn=lr(Fn);Ct.modifiersData[mt]={referenceClippingOffsets:Vr,popperEscapeOffsets:Fn,isReferenceHidden:An,hasPopperEscaped:zn},Ct.attributes.popper=Object.assign({},Ct.attributes.popper,{"data-popper-reference-hidden":An,"data-popper-escaped":zn})}var Yn={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Yr},ti=[st,Lr,vn,St,dt,on,Pr,Dn,Yn],Wi=me({defaultModifiers:ti})},36908:function(_e,$){"use strict";var t=function(){};$.Z=t},15487:function(_e,$,t){"use strict";t.d($,{ZP:function(){return V}});var n=t(36908),f=t(60307),l={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgrey:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",grey:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"778899",lightslategrey:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"},u=l,m=f.Z.browser,v=function(L){var c=Object.keys(u);c.push("transparent");var R=new RegExp("^("+c.join("|")+")(\\W|$)","i");return v=function(B){return R.exec(B)},R.exec(L)},M=function(L){function c(){L.call(this)}return L&&(c.__proto__=L),c.prototype=Object.create(L&&L.prototype),c.prototype.constructor=c,c.prototype.toHSV=function(){return this},c.prototype.toRGB=function(){return this},c.prototype.toHex=function(B){return this.toBytes().toHex(B)},c.prototype.toBytes=function(){return this},c.prototype.toCss=function(B){return"#"+this.toHex(B)},c.prototype.toCssRgba=function(){var B=this.toBytes();return"rgba("+B.r+", "+B.g+", "+B.b+", "+parseFloat(Number(this.a).toFixed(3))+")"},c.prototype.toDisplay=function(){return m.msie&&m.version<9?this.toCss():this.toCssRgba()},c.prototype.equals=function(B){return B===this||B!=null&&this.toCssRgba()===V(B).toCssRgba()},c.prototype.diff=function(B){if(B===null)return NaN;var X=this.toBytes(),g=B.toBytes();return Math.sqrt(Math.pow((X.r-g.r)*.3,2)+Math.pow((X.g-g.g)*.59,2)+Math.pow((X.b-g.b)*.11,2))},c.prototype.clone=function(){var B=this.toBytes();return B===this&&(B=new W(B.r,B.g,B.b,B.a)),B},c}(n.Z),ee=function(L){function c(R,B,X,g){L.call(this),this.r=R,this.g=B,this.b=X,this.a=g}return L&&(c.__proto__=L),c.prototype=Object.create(L&&L.prototype),c.prototype.constructor=c,c.prototype.toHSV=function(){var B=this,X=B.r,g=B.g,p=B.b,O=Math.min(X,g,p),I=Math.max(X,g,p),E=I-O,K=I,d,i;return E===0?new se(0,0,K,this.a):(I!==0?(i=E/I,X===I?d=(g-p)/E:g===I?d=2+(p-X)/E:d=4+(X-g)/E,d*=60,d<0&&(d+=360)):(i=0,d=-1),new se(d,i,K,this.a))},c.prototype.toHSL=function(){var B=this,X=B.r,g=B.g,p=B.b,O=Math.max(X,g,p),I=Math.min(X,g,p),E,K,d=(O+I)/2;if(O===I)E=K=0;else{var i=O-I;switch(K=d>.5?i/(2-O-I):i/(O+I),O){case X:E=(g-p)/i+(g<p?6:0);break;case g:E=(p-X)/i+2;break;case p:E=(X-g)/i+4;break;default:break}}return new S(E*60,K*100,d*100,this.a)},c.prototype.toBytes=function(){return new W(this.r*255,this.g*255,this.b*255,this.a)},c}(M),W=function(L){function c(R,B,X,g){L.call(this,Math.round(R),Math.round(B),Math.round(X),g)}return L&&(c.__proto__=L),c.prototype=Object.create(L&&L.prototype),c.prototype.constructor=c,c.prototype.toRGB=function(){return new L(this.r/255,this.g/255,this.b/255,this.a)},c.prototype.toHSV=function(){return this.toRGB().toHSV()},c.prototype.toHSL=function(){return this.toRGB().toHSL()},c.prototype.toHex=function(B){var X=re(this.r,2)+re(this.g,2)+re(this.b,2);return B&&B.alpha&&(X+=re(Math.round(this.a*255),2)),X},c.prototype.toBytes=function(){return this},c}(ee);function re(L,c,R){R===void 0&&(R="0");for(var B=L.toString(16);c>B.length;)B=R+B;return B}var se=function(L){function c(R,B,X,g){L.call(this),this.h=R,this.s=B,this.v=X,this.a=g}return L&&(c.__proto__=L),c.prototype=Object.create(L&&L.prototype),c.prototype.constructor=c,c.prototype.toRGB=function(){var B=this,X=B.h,g=B.s,p=B.v,O,I,E;if(g===0)O=I=E=p;else{X/=60;var K=Math.floor(X),d=X-K,i=p*(1-g),x=p*(1-g*d),A=p*(1-g*(1-d));switch(K){case 0:O=p,I=A,E=i;break;case 1:O=x,I=p,E=i;break;case 2:O=i,I=p,E=A;break;case 3:O=i,I=x,E=p;break;case 4:O=A,I=i,E=p;break;default:O=p,I=i,E=x;break}}return new ee(O,I,E,this.a)},c.prototype.toHSL=function(){return this.toRGB().toHSL()},c.prototype.toBytes=function(){return this.toRGB().toBytes()},c}(M),S=function(L){function c(R,B,X,g){L.call(this),this.h=R,this.s=B,this.l=X,this.a=g}return L&&(c.__proto__=L),c.prototype=Object.create(L&&L.prototype),c.prototype.constructor=c,c.prototype.toRGB=function(){var B=this.h/360,X=this.s/100,g=this.l/100,p,O,I;if(X===0)p=O=I=g;else{var E=g<.5?g*(1+X):g+X-g*X,K=2*g-E;p=J(K,E,B+1/3),O=J(K,E,B),I=J(K,E,B-1/3)}return new ee(p,O,I,this.a)},c.prototype.toHSV=function(){return this.toRGB().toHSV()},c.prototype.toBytes=function(){return this.toRGB().toBytes()},c}(M);function J(L,c,R){var B=R;return B<0&&(B+=1),B>1&&(B-=1),B<.16666666666666666?L+(c-L)*6*B:B<.5?c:B<.6666666666666666?L+(c-L)*(.6666666666666666-B)*6:L}function T(L){return parseFloat(parseFloat(parseInt(L,16)/255).toFixed(3))}function V(L,c){var R,B;if(L==null||L==="none")return null;if(L instanceof M)return L;var X=L.toLowerCase();if(R=v(X))return R[1]==="transparent"?X=new ee(1,1,1,0):X=V(u[R[1]],c),X.match=[R[1]],X;if((R=/^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})\b/i.exec(X))?B=new W(parseInt(R[1],16),parseInt(R[2],16),parseInt(R[3],16),1):(R=/^#?([0-9a-f])([0-9a-f])([0-9a-f])\b/i.exec(X))?B=new W(parseInt(R[1]+R[1],16),parseInt(R[2]+R[2],16),parseInt(R[3]+R[3],16),1):(R=/^#?([0-9a-f])([0-9a-f])([0-9a-f])([0-9a-f])\b/i.exec(X))?B=new W(parseInt(R[1]+R[1],16),parseInt(R[2]+R[2],16),parseInt(R[3]+R[3],16),T(R[4]+R[4])):(R=/^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})\b/i.exec(X))?B=new W(parseInt(R[1],16),parseInt(R[2],16),parseInt(R[3],16),T(R[4])):(R=/^rgb\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/.exec(X))?B=new W(parseInt(R[1],10),parseInt(R[2],10),parseInt(R[3],10),1):(R=/^rgba\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9.]+)\s*\)/.exec(X))?B=new W(parseInt(R[1],10),parseInt(R[2],10),parseInt(R[3],10),parseFloat(R[4])):(R=/^rgb\(\s*([0-9]*\.?[0-9]+)%\s*,\s*([0-9]*\.?[0-9]+)%\s*,\s*([0-9]*\.?[0-9]+)%\s*\)/.exec(X))?B=new ee(parseFloat(R[1])/100,parseFloat(R[2])/100,parseFloat(R[3])/100,1):(R=/^rgba\(\s*([0-9]*\.?[0-9]+)%\s*,\s*([0-9]*\.?[0-9]+)%\s*,\s*([0-9]*\.?[0-9]+)%\s*,\s*([0-9.]+)\s*\)/.exec(X))&&(B=new ee(parseFloat(R[1])/100,parseFloat(R[2])/100,parseFloat(R[3])/100,parseFloat(R[4]))),B)B.match=R;else if(!c)throw new Error("Cannot parse color: "+X);return B}},60307:function(_e,$){"use strict";function t(l){var u={edge:/(edge)[ \/]([\w.]+)/i,webkit:/(chrome)[ \/]([\w.]+)/i,safari:/(webkit)[ \/]([\w.]+)/i,opera:/(opera)(?:.*version|)[ \/]([\w.]+)/i,msie:/(msie\s|trident.*? rv:)([\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\w.]+))/i},m={};for(var v in u)if(u.hasOwnProperty(v)){var M=l.match(u[v]);if(M){m[v]=!0,m[M[1].toLowerCase().split(" ")[0].split("/")[0]]=!0,m.version=parseInt(document.documentMode||M[2],10);break}}return m}var n=null,f={get browser(){return typeof window=="undefined"||n||(n=t(window.navigator.userAgent)),n}};$.Z=f},35099:function(_e,$,t){"use strict";var n=t(36908),f=function(l){function u(){l.apply(this,arguments)}return l&&(u.__proto__=l),u.prototype=Object.create(l&&l.prototype),u.prototype.constructor=u,u.prototype.observers=function(){return this._observers=this._observers||[],this._observers},u.prototype.addObserver=function(v){return this._observers?this._observers.push(v):this._observers=[v],this},u.prototype.removeObserver=function(v){var M=this.observers(),ee=M.indexOf(v);return ee!==-1&&M.splice(ee,1),this},u.prototype.trigger=function(v,M){var ee=this._observers;if(ee&&!this._suspended)for(var W=0;W<ee.length;W++){var re=ee[W];re[v]&&re[v](M)}return this},u.prototype.optionsChange=function(v){v===void 0&&(v={}),v.element=this,this.trigger("optionsChange",v)},u.prototype.geometryChange=function(){this.trigger("geometryChange",{element:this})},u.prototype.suspend=function(){return this._suspended=(this._suspended||0)+1,this},u.prototype.resume=function(){return this._suspended=Math.max((this._suspended||0)-1,0),this},u.prototype._observerField=function(v,M){this[v]&&this[v].removeObserver(this),this[v]=M,M.addObserver(this)},u}(n.Z);$.Z=f},11948:function(_e,$,t){"use strict";var n=t(36908),f=t(35099),l=t(23087),u={}.toString,m=function(v){function M(ee,W){var re=this;W===void 0&&(W=""),v.call(this),this.prefix=W;for(var se in ee){var S=ee[se];S=re._wrap(S,se),re[se]=S}}return v&&(M.__proto__=v),M.prototype=Object.create(v&&v.prototype),M.prototype.constructor=M,M.prototype.get=function(W){for(var re=W.split("."),se=this;re.length&&se;){var S=re.shift();se=se[S]}return se},M.prototype.set=function(W,re){var se=this.get(W);se!==re&&(this._set(W,this._wrap(re,W)),this.optionsChange({field:this.prefix+W,value:re}))},M.prototype._set=function(W,re){var se=this,S=W.indexOf(".")>=0,J=this,T=W;if(S){for(var V=T.split("."),L=this.prefix;V.length>1;){T=V.shift(),L+=T+".";var c=J[T];c||(c=new M({},L),c.addObserver(se),J[T]=c),J=c}T=V[0]}J._clear(T),J[T]=re},M.prototype._clear=function(W){var re=this[W];re&&re.removeObserver&&re.removeObserver(this)},M.prototype._wrap=function(W,re){var se=u.call(W),S=W;return S!==null&&(0,l.Z)(S)&&se==="[object Object]"&&(!(W instanceof M)&&!(W instanceof n.Z)&&(S=new M(S,this.prefix+re+".")),S.addObserver(this)),S},M}(f.Z);$.Z=m},34754:function(_e,$,t){"use strict";t.d($,{Z:function(){return g}});var n=t(35099),f=t(30989),l=t(93043),u=t(22861),m=t(21121),v=t(26269);function M(p,O,I){return p<O||(0,v.Z)(p,O,I)}var ee=t(51004);function W(p,O,I,E){var K=O.x-p.x,d=E.x-I.x,i=O.y-p.y,x=E.y-I.y,A=p.x-I.x,w=p.y-I.y,C=K*x-d*i,U=(K*w-i*A)/C,F=(d*w-x*A)/C;if(U>=0&&U<=1&&F>=0&&F<=1)return new ee.Z(p.x+F*K,p.y+F*i)}var re=t(50093),se=t(72714),S=t(44350),J=t(36391),T=45,V=Math.pow,L=["radiusX","radiusY","startAngle","endAngle","anticlockwise"],c=function(p){function O(I,E){I===void 0&&(I=new ee.Z),E===void 0&&(E={}),p.call(this),this.setCenter(I),this.radiusX=E.radiusX,this.radiusY=E.radiusY||E.radiusX,this.startAngle=E.startAngle,this.endAngle=E.endAngle,this.anticlockwise=E.anticlockwise||!1,this.xRotation=E.xRotation}return p&&(O.__proto__=p),O.prototype=Object.create(p&&p.prototype),O.prototype.constructor=O,O.prototype.clone=function(){return new O(this.center,{radiusX:this.radiusX,radiusY:this.radiusY,startAngle:this.startAngle,endAngle:this.endAngle,anticlockwise:this.anticlockwise})},O.prototype.setCenter=function(E){return this._observerField("center",ee.Z.create(E)),this.geometryChange(),this},O.prototype.getCenter=function(){return this.center},O.prototype.pointAt=function(E){var K=this.center,d=(0,f.Z)(E);return new ee.Z(K.x+this.radiusX*Math.cos(d),K.y+this.radiusY*Math.sin(d))},O.prototype.curvePoints=function(){var E=this,K=this.startAngle,d=this.anticlockwise?-1:1,i=[this.pointAt(K)],x=this._arcInterval(),A=x.endAngle-x.startAngle,w=Math.ceil(A/T),C=A/w,U=K,F;this.xRotation&&(F=(0,J.Z)().rotate(this.xRotation,this.center));for(var Y=1;Y<=w;Y++){var le=U+d*C,ie=E._intervalCurvePoints(U,le,F);i.push(ie.cp1,ie.cp2,ie.p2),U=le}return i},O.prototype.bbox=function(E){for(var K=this,d=this._arcInterval(),i=d.startAngle,x=d.endAngle,A=(0,re.Z)(this.center,this.radiusX,this.radiusY,E),w=(0,l.Z)(A.x),C=(0,l.Z)(A.y),U=this.pointAt(x).transformCopy(E),F=X(w,i),Y=X(C,i),le=this.pointAt(i).transformCopy(E),ie=ee.Z.min(le,U),j=ee.Z.max(le,U);F<x||Y<x;){var ue=void 0;F<x&&(ue=K.pointAt(F).transformCopy(E),F+=90);var P=void 0;Y<x&&(P=K.pointAt(Y).transformCopy(E),Y+=90),le=new ee.Z(ue.x,P.y),ie=ee.Z.min(ie,le),j=ee.Z.max(j,le)}return S.Z.fromPoints(ie,j)},O.prototype._arcInterval=function(){var E=this,K=E.startAngle,d=E.endAngle,i=E.anticlockwise;if(i){var x=K;K=d,d=x}return(K>d||i&&K===d)&&(d+=360),{startAngle:K,endAngle:d}},O.prototype._intervalCurvePoints=function(E,K,d){var i=this.pointAt(E),x=this.pointAt(K),A=this._derivativeAt(E),w=this._derivativeAt(K),C=((0,f.Z)(K)-(0,f.Z)(E))/3,U=new ee.Z(i.x+C*A.x,i.y+C*A.y),F=new ee.Z(x.x-C*w.x,x.y-C*w.y);return d&&(i.transform(d),x.transform(d),U.transform(d),F.transform(d)),{p1:i,cp1:U,cp2:F,p2:x}},O.prototype._derivativeAt=function(E){var K=(0,f.Z)(E);return new ee.Z(-this.radiusX*Math.sin(K),this.radiusY*Math.cos(K))},O.prototype.containsPoint=function(E){var K=this._arcInterval(),d=K.endAngle-K.startAngle,i=this,x=i.center,A=i.radiusX,w=i.radiusY,C=x.distanceTo(E),U=Math.atan2(E.y-x.y,E.x-x.x),F=A*w/Math.sqrt(V(A,2)*V(Math.sin(U),2)+V(w,2)*V(Math.cos(U),2)),Y=this.pointAt(this.startAngle).round(se.c),le=this.pointAt(this.endAngle).round(se.c),ie=W(x,E.round(se.c),Y,le),j;if(d<180)j=ie&&M(x.distanceTo(ie),C)&&M(C,F);else{var ue=R(x.x,x.y,A,w,E.x,E.y);ue!==360&&(ue=(360+ue)%360);var P=K.startAngle<=ue&&ue<=K.endAngle;j=P&&M(C,F)||!P&&(!ie||ie.equals(E))}return j},O.prototype._isOnPath=function(E,K){var d=this._arcInterval(),i=this.center,x=R(i.x,i.y,this.radiusX,this.radiusY,E.x,E.y);x!==360&&(x=(360+x)%360);var A=d.startAngle<=x&&x<=d.endAngle;return A&&this.pointAt(x).distanceTo(E)<=K},O.fromPoints=function(E,K,d,i,x,A,w){var C=B({x1:E.x,y1:E.y,x2:K.x,y2:K.y,rx:d,ry:i,largeArc:x,swipe:A,rotation:w});return new O(C.center,{startAngle:C.startAngle,endAngle:C.endAngle,radiusX:C.radiusX,radiusY:C.radiusY,xRotation:C.xRotation,anticlockwise:A===0})},O}((0,m.Z)(n.Z,L));function R(p,O,I,E,K,d){var i=(0,u.Z)((K-p)/I,3),x=(0,u.Z)((d-O)/E,3);return(0,u.Z)((0,l.Z)(Math.atan2(x,i)))}function B(p){var O=p.x1,I=p.y1,E=p.x2,K=p.y2,d=p.rx,i=p.ry,x=p.largeArc,A=p.swipe,w=p.rotation;w===void 0&&(w=0);var C=(0,f.Z)(w),U=Math.cos(C),F=Math.sin(C),Y=U*(O-E)/2+F*(I-K)/2,le=-F*(O-E)/2+U*(I-K)/2,ie=x!==A?1:-1,j=Math.pow(Y,2),ue=Math.pow(le,2),P=Math.pow(d,2),Z=Math.pow(i,2),ae=j/P+ue/Z;ae>1&&(ae=Math.sqrt(j/P+ue/Z),d=ae*d,P=Math.pow(d,2),i=ae*i,Z=Math.pow(i,2));var ce=ie*Math.sqrt((P*Z-P*ue-Z*j)/(P*ue+Z*j));isNaN(ce)&&(ce=0);var be=ce*(d*le)/i,pe=-ce*(i*Y)/d,h=U*be-F*pe+(O+E)/2,te=F*be+U*pe+(I+K)/2,Q=(Y-be)/d,we=(le-pe)/i,Se=-(Y+be)/d,Ne=-(le+pe)/i,ze=(we>=0?1:-1)*(0,l.Z)(Math.acos(Q/Math.sqrt(Q*Q+we*we))),Je=(0,u.Z)((Q*Se+we*Ne)/(Math.sqrt(Q*Q+we*we)*Math.sqrt(Se*Se+Ne*Ne)),10),qe=(Q*Ne-we*Se>=0?1:-1)*(0,l.Z)(Math.acos(Je));!A&&qe>0&&(qe-=360),A&&qe<0&&(qe+=360);var Me=ze+qe,Fe=Me>=0?1:-1;return Me=Math.abs(Me)%360*Fe,{center:new ee.Z(h,te),startAngle:ze,endAngle:Me,radiusX:d,radiusY:i,xRotation:w}}function X(p,O){for(var I=p;I<O;)I+=90;return I}var g=c},72714:function(_e,$,t){"use strict";t.d($,{c:function(){return n}});var n=10},26269:function(_e,$,t){"use strict";t.d($,{Z:function(){return l}});var n=t(72714),f=t(22861);function l(u,m,v){return v===void 0&&(v=n.c),(0,f.Z)(Math.abs(u-m),v)===0}},50093:function(_e,$,t){"use strict";t.d($,{Z:function(){return n}});function n(f,l,u,m){var v=0,M=0;return m&&(v=Math.atan2(m.c*u,m.a*l),m.b!==0&&(M=Math.atan2(m.d*u,m.b*l))),{x:v,y:M}}},18258:function(_e,$,t){"use strict";var n=t(36908),f=t(23087),l=t(30989),u=t(22861),m=function(v){function M(ee,W,re,se,S,J){ee===void 0&&(ee=0),W===void 0&&(W=0),re===void 0&&(re=0),se===void 0&&(se=0),S===void 0&&(S=0),J===void 0&&(J=0),v.call(this),this.a=ee,this.b=W,this.c=re,this.d=se,this.e=S,this.f=J}return v&&(M.__proto__=v),M.prototype=Object.create(v&&v.prototype),M.prototype.constructor=M,M.prototype.multiplyCopy=function(W){return new M(this.a*W.a+this.c*W.b,this.b*W.a+this.d*W.b,this.a*W.c+this.c*W.d,this.b*W.c+this.d*W.d,this.a*W.e+this.c*W.f+this.e,this.b*W.e+this.d*W.f+this.f)},M.prototype.invert=function(){var W=this,re=W.a,se=W.b,S=W.c,J=W.d,T=W.e,V=W.f,L=re*J-se*S;return L===0?null:new M(J/L,-se/L,-S/L,re/L,(S*V-J*T)/L,(se*T-re*V)/L)},M.prototype.clone=function(){return new M(this.a,this.b,this.c,this.d,this.e,this.f)},M.prototype.equals=function(W){return W?this.a===W.a&&this.b===W.b&&this.c===W.c&&this.d===W.d&&this.e===W.e&&this.f===W.f:!1},M.prototype.round=function(W){return this.a=(0,u.Z)(this.a,W),this.b=(0,u.Z)(this.b,W),this.c=(0,u.Z)(this.c,W),this.d=(0,u.Z)(this.d,W),this.e=(0,u.Z)(this.e,W),this.f=(0,u.Z)(this.f,W),this},M.prototype.toArray=function(W){var re=[this.a,this.b,this.c,this.d,this.e,this.f];if((0,f.Z)(W))for(var se=0;se<re.length;se++)re[se]=(0,u.Z)(re[se],W);return re},M.prototype.toString=function(W,re){return re===void 0&&(re=","),this.toArray(W).join(re)},M.translate=function(W,re){return new M(1,0,0,1,W,re)},M.unit=function(){return new M(1,0,0,1,0,0)},M.rotate=function(W,re,se){var S=new M;return S.a=Math.cos((0,l.Z)(W)),S.b=Math.sin((0,l.Z)(W)),S.c=-S.b,S.d=S.a,S.e=re-re*S.a+se*S.b||0,S.f=se-se*S.a-re*S.b||0,S},M.scale=function(W,re){return new M(W,0,0,re,0,0)},M}(n.Z);m.IDENTITY=m.unit(),$.Z=m},51004:function(_e,$,t){"use strict";var n=t(21121),f=t(35099),l=t(22861),u=t(23087),m=t(83182),v=t(18258),M=t(67812),ee=function(W){function re(S,J){W.call(this),this.x=S||0,this.y=J||0}W&&(re.__proto__=W),re.prototype=Object.create(W&&W.prototype),re.prototype.constructor=re;var se={ZERO:{configurable:!0}};return re.prototype.equals=function(J){return J&&J.x===this.x&&J.y===this.y},re.prototype.clone=function(){return new re(this.x,this.y)},re.prototype.rotate=function(J,T){var V=re.create(T)||re.ZERO;return this.transform(v.Z.rotate(J,V.x,V.y))},re.prototype.translate=function(J,T){return this.x+=J,this.y+=T,this.geometryChange(),this},re.prototype.translateWith=function(J){return this.translate(J.x,J.y)},re.prototype.move=function(J,T){return this.x=this.y=0,this.translate(J,T)},re.prototype.scale=function(J,T){return T===void 0&&(T=J),this.x*=J,this.y*=T,this.geometryChange(),this},re.prototype.scaleCopy=function(J,T){return this.clone().scale(J,T)},re.prototype.transform=function(J){var T=(0,M.Z)(J),V=this,L=V.x,c=V.y;return this.x=T.a*L+T.c*c+T.e,this.y=T.b*L+T.d*c+T.f,this.geometryChange(),this},re.prototype.transformCopy=function(J){var T=this.clone();return J&&T.transform(J),T},re.prototype.distanceTo=function(J){var T=this.x-J.x,V=this.y-J.y;return Math.sqrt(T*T+V*V)},re.prototype.round=function(J){return this.x=(0,l.Z)(this.x,J),this.y=(0,l.Z)(this.y,J),this.geometryChange(),this},re.prototype.toArray=function(J){var T=(0,u.Z)(J),V=T?(0,l.Z)(this.x,J):this.x,L=T?(0,l.Z)(this.y,J):this.y;return[V,L]},re.prototype.toString=function(J,T){T===void 0&&(T=" ");var V=this,L=V.x,c=V.y;return(0,u.Z)(J)&&(L=(0,l.Z)(L,J),c=(0,l.Z)(c,J)),L+T+c},re.create=function(J,T){if((0,u.Z)(J))return J instanceof re?J:arguments.length===1&&J.length===2?new re(J[0],J[1]):new re(J,T)},re.min=function(){for(var J=arguments,T=m.lA,V=m.lA,L=0;L<arguments.length;L++){var c=J[L];T=Math.min(c.x,T),V=Math.min(c.y,V)}return new re(T,V)},re.max=function(){for(var J=arguments,T=m.fO,V=m.fO,L=0;L<arguments.length;L++){var c=J[L];T=Math.max(c.x,T),V=Math.max(c.y,V)}return new re(T,V)},re.minPoint=function(){return new re(m.fO,m.fO)},re.maxPoint=function(){return new re(m.lA,m.lA)},se.ZERO.get=function(){return new re(0,0)},Object.defineProperties(re,se),re}((0,n.Z)(f.Z,["x","y"]));$.Z=ee},44350:function(_e,$,t){"use strict";var n=t(35099),f=t(51004),l=t(87598),u=function(m){function v(M,ee,W){M===void 0&&(M=new f.Z),ee===void 0&&(ee=new l.Z),W===void 0&&(W=0),m.call(this),this.setOrigin(M),this.setSize(ee),this.setCornerRadius(W)}return m&&(v.__proto__=m),v.prototype=Object.create(m&&m.prototype),v.prototype.constructor=v,v.prototype.clone=function(){return new v(this.origin.clone(),this.size.clone())},v.prototype.equals=function(ee){return ee&&ee.origin.equals(this.origin)&&ee.size.equals(this.size)},v.prototype.setOrigin=function(ee){return this._observerField("origin",f.Z.create(ee)),this.geometryChange(),this},v.prototype.getOrigin=function(){return this.origin},v.prototype.setCornerRadius=function(ee){return this.cornerRadius=Array.isArray(ee)?ee:[ee,ee],this.geometryChange(),this},v.prototype.getCornerRadius=function(){return this.cornerRadius},v.prototype.setSize=function(ee){return this._observerField("size",l.Z.create(ee)),this.geometryChange(),this},v.prototype.getSize=function(){return this.size},v.prototype.width=function(){return this.size.width},v.prototype.height=function(){return this.size.height},v.prototype.topLeft=function(){return this.origin.clone()},v.prototype.bottomRight=function(){return this.origin.clone().translate(this.width(),this.height())},v.prototype.topRight=function(){return this.origin.clone().translate(this.width(),0)},v.prototype.bottomLeft=function(){return this.origin.clone().translate(0,this.height())},v.prototype.center=function(){return this.origin.clone().translate(this.width()/2,this.height()/2)},v.prototype.bbox=function(ee){var W=this.topLeft().transformCopy(ee),re=this.topRight().transformCopy(ee),se=this.bottomRight().transformCopy(ee),S=this.bottomLeft().transformCopy(ee);return v.fromPoints(W,re,se,S)},v.prototype.transformCopy=function(ee){return v.fromPoints(this.topLeft().transform(ee),this.bottomRight().transform(ee))},v.prototype.expand=function(ee,W){return W===void 0&&(W=ee),this.size.width+=2*ee,this.size.height+=2*W,this.origin.translate(-ee,-W),this},v.prototype.expandCopy=function(ee,W){return this.clone().expand(ee,W)},v.prototype.containsPoint=function(ee){var W=this.origin,re=this.bottomRight();return!(ee.x<W.x||ee.y<W.y||re.x<ee.x||re.y<ee.y)},v.prototype._isOnPath=function(ee,W){var re=this.expandCopy(W,W),se=this.expandCopy(-W,-W);return re.containsPoint(ee)&&!se.containsPoint(ee)},v.fromPoints=function(){var ee=f.Z.min.apply(null,arguments),W=f.Z.max.apply(null,arguments),re=new l.Z(W.x-ee.x,W.y-ee.y);return new v(ee,re)},v.union=function(ee,W){return v.fromPoints(f.Z.min(ee.topLeft(),W.topLeft()),f.Z.max(ee.bottomRight(),W.bottomRight()))},v.intersect=function(ee,W){var re={left:ee.topLeft().x,top:ee.topLeft().y,right:ee.bottomRight().x,bottom:ee.bottomRight().y},se={left:W.topLeft().x,top:W.topLeft().y,right:W.bottomRight().x,bottom:W.bottomRight().y};if(re.left<=se.right&&se.left<=re.right&&re.top<=se.bottom&&se.top<=re.bottom)return v.fromPoints(new f.Z(Math.max(re.left,se.left),Math.max(re.top,se.top)),new f.Z(Math.min(re.right,se.right),Math.min(re.bottom,se.bottom)))},v}(n.Z);$.Z=u},87598:function(_e,$,t){"use strict";var n=t(35099),f=t(21121),l=t(23087),u=t(22861),m=function(v){function M(W,re){v.call(this),this.width=W||0,this.height=re||0}v&&(M.__proto__=v),M.prototype=Object.create(v&&v.prototype),M.prototype.constructor=M;var ee={ZERO:{configurable:!0}};return M.prototype.equals=function(re){return re&&re.width===this.width&&re.height===this.height},M.prototype.clone=function(){return new M(this.width,this.height)},M.prototype.toArray=function(re){var se=(0,l.Z)(re),S=se?(0,u.Z)(this.width,re):this.width,J=se?(0,u.Z)(this.height,re):this.height;return[S,J]},M.create=function(re,se){if((0,l.Z)(re))return re instanceof M?re:arguments.length===1&&re.length===2?new M(re[0],re[1]):new M(re,se)},ee.ZERO.get=function(){return new M(0,0)},Object.defineProperties(M,ee),M}((0,f.Z)(n.Z,["width","height"]));$.Z=m},67812:function(_e,$,t){"use strict";t.d($,{Z:function(){return n}});function n(f){return f&&typeof f.matrix=="function"?f.matrix():f}},36391:function(_e,$,t){"use strict";t.d($,{Z:function(){return M}});var n=t(35099),f=t(67812),l=t(18258),u=t(51004),m=function(ee){function W(re){re===void 0&&(re=l.Z.unit()),ee.call(this),this._matrix=re}return ee&&(W.__proto__=ee),W.prototype=Object.create(ee&&ee.prototype),W.prototype.constructor=W,W.prototype.clone=function(){return new W(this._matrix.clone())},W.prototype.equals=function(se){return se&&se._matrix.equals(this._matrix)},W.prototype.translate=function(se,S){return this._matrix=this._matrix.multiplyCopy(l.Z.translate(se,S)),this._optionsChange(),this},W.prototype.scale=function(se,S,J){S===void 0&&(S=se),J===void 0&&(J=null);var T=J;return T&&(T=u.Z.create(T),this._matrix=this._matrix.multiplyCopy(l.Z.translate(T.x,T.y))),this._matrix=this._matrix.multiplyCopy(l.Z.scale(se,S)),T&&(this._matrix=this._matrix.multiplyCopy(l.Z.translate(-T.x,-T.y))),this._optionsChange(),this},W.prototype.rotate=function(se,S){var J=u.Z.create(S)||u.Z.ZERO;return this._matrix=this._matrix.multiplyCopy(l.Z.rotate(se,J.x,J.y)),this._optionsChange(),this},W.prototype.multiply=function(se){var S=(0,f.Z)(se);return this._matrix=this._matrix.multiplyCopy(S),this._optionsChange(),this},W.prototype.matrix=function(se){return se?(this._matrix=se,this._optionsChange(),this):this._matrix},W.prototype._optionsChange=function(){this.optionsChange({field:"transform",value:this})},W}(n.Z),v=m;function M(ee){return ee===null?null:ee instanceof v?ee:new v(ee)}},66790:function(_e,$,t){"use strict";t.d($,{Z:function(){return L}});var n=t(52005),f=function(c){function R(){c.apply(this,arguments)}return c&&(R.__proto__=c),R.prototype=Object.create(c&&c.prototype),R.prototype.constructor=R,R.prototype._change=function(){this.optionsChange({field:"stops"})},R}(n.Z),l=f,u=t(11948),m=t(23087);function v(c){return function(R){return(0,m.Z)(R)?(this.options.set(c,R),this):this.options.get(c)}}function M(c,R){for(var B=0;B<R.length;B++)c[R[B]]=v(R[B])}var ee=function(c,R){var B=function(X){function g(){X.apply(this,arguments)}return X&&(g.__proto__=X),g.prototype=Object.create(X&&X.prototype),g.prototype.constructor=g,g}(c);return M(B.prototype,R),B},W=ee,re=t(35099),se=["offset","color","opacity"],S=function(c){function R(B,X,g){c.call(this),this.options=new u.Z({offset:B,color:X,opacity:(0,m.Z)(g)?g:1}),this.options.addObserver(this)}return c&&(R.__proto__=c),R.prototype=Object.create(c&&c.prototype),R.prototype.constructor=R,R.create=function(X){if((0,m.Z)(X)){var g;return X instanceof R?g=X:X.length>1?g=new R(X[0],X[1],X[2]):g=new R(X.offset,X.color,X.opacity),g}},R}(W(re.Z,se)),J=S,T=t(28403),V=function(c){function R(X){X===void 0&&(X={}),c.call(this),this.stops=new l(this._createStops(X.stops)),this.stops.addObserver(this),this._userSpace=X.userSpace,this.id=(0,T.Z)()}c&&(R.__proto__=c),R.prototype=Object.create(c&&c.prototype),R.prototype.constructor=R;var B={nodeType:{configurable:!0}};return B.nodeType.get=function(){return"Gradient"},R.prototype.userSpace=function(g){return(0,m.Z)(g)?(this._userSpace=g,this.optionsChange(),this):this._userSpace},R.prototype._createStops=function(g){g===void 0&&(g=[]);for(var p=[],O=0;O<g.length;O++)p.push(J.create(g[O]));return p},R.prototype.addStop=function(g,p,O){this.stops.push(new J(g,p,O))},R.prototype.removeStop=function(g){var p=this.stops.indexOf(g);p>=0&&this.stops.splice(p,1)},R.prototype.optionsChange=function(g){this.trigger("optionsChange",{field:"gradient"+(g?"."+g.field:""),value:this})},R.prototype.geometryChange=function(){this.optionsChange()},Object.defineProperties(R.prototype,B),R}(re.Z),L=V},19476:function(_e,$,t){"use strict";t.d($,{Vg:function(){return St}});var n=t(18258),f=t(44350),l=t(34754),u=t(36391),m=t(21121),v=t(51004),M=t(50093),ee=t(35099),W=t(30989),re=Math.PI/2,se=function(je){function Ke(ht,Bt){ht===void 0&&(ht=new v.Z),Bt===void 0&&(Bt=0),je.call(this),this.setCenter(ht),this.setRadius(Bt)}return je&&(Ke.__proto__=je),Ke.prototype=Object.create(je&&je.prototype),Ke.prototype.constructor=Ke,Ke.prototype.setCenter=function(Bt){return this._observerField("center",v.Z.create(Bt)),this.geometryChange(),this},Ke.prototype.getCenter=function(){return this.center},Ke.prototype.equals=function(Bt){return Bt&&Bt.center.equals(this.center)&&Bt.radius===this.radius},Ke.prototype.clone=function(){return new Ke(this.center.clone(),this.radius)},Ke.prototype.pointAt=function(Bt){return this._pointAt((0,W.Z)(Bt))},Ke.prototype.bbox=function(Bt){for(var Dt=this,Yt=(0,M.Z)(this.center,this.radius,this.radius,Bt),yr=v.Z.maxPoint(),zt=v.Z.minPoint(),rn=0;rn<4;rn++){var On=Dt._pointAt(Yt.x+rn*re).transformCopy(Bt),xn=Dt._pointAt(Yt.y+rn*re).transformCopy(Bt),Kn=new v.Z(On.x,xn.y);yr=v.Z.min(yr,Kn),zt=v.Z.max(zt,Kn)}return f.Z.fromPoints(yr,zt)},Ke.prototype._pointAt=function(Bt){var Dt=this,Yt=Dt.center,yr=Dt.radius;return new v.Z(Yt.x+yr*Math.cos(Bt),Yt.y+yr*Math.sin(Bt))},Ke.prototype.containsPoint=function(Bt){var Dt=this,Yt=Dt.center,yr=Dt.radius,zt=Math.pow(Bt.x-Yt.x,2)+Math.pow(Bt.y-Yt.y,2)<=Math.pow(yr,2);return zt},Ke.prototype._isOnPath=function(Bt,Dt){var Yt=this,yr=Yt.center,zt=Yt.radius,rn=yr.distanceTo(Bt);return zt-Dt<=rn&&rn<=zt+Dt},Ke}((0,m.Z)(ee.Z,["radius"])),S=se,J=t(38572),T=t(15637),V=t(36908),L=function(je){function Ke(ht){je.call(this),this._size=ht,this._length=0,this._map={}}return je&&(Ke.__proto__=je),Ke.prototype=Object.create(je&&je.prototype),Ke.prototype.constructor=Ke,Ke.prototype.put=function(Bt,Dt){var Yt=this._map,yr={key:Bt,value:Dt};Yt[Bt]=yr,this._head?(this._tail.newer=yr,yr.older=this._tail,this._tail=yr):this._head=this._tail=yr,this._length>=this._size?(Yt[this._head.key]=null,this._head=this._head.newer,this._head.older=null):this._length++},Ke.prototype.get=function(Bt){var Dt=this._map[Bt];if(Dt)return Dt===this._head&&Dt!==this._tail&&(this._head=Dt.newer,this._head.older=null),Dt!==this._tail&&(Dt.older&&(Dt.older.newer=Dt.newer,Dt.newer.older=Dt.older),Dt.older=this._tail,Dt.newer=null,this._tail.newer=Dt,this._tail=Dt),Dt.value},Ke}(V.Z),c=L,R=/\r?\n|\r|\t/g,B=" ";function X(je){return String(je).replace(R,B)}function g(je){var Ke=[];for(var ht in je)Ke.push(ht+je[ht]);return Ke.sort().join("")}function p(je){for(var Ke=2166136261,ht=0;ht<je.length;++ht)Ke+=(Ke<<1)+(Ke<<4)+(Ke<<7)+(Ke<<8)+(Ke<<24),Ke^=je.charCodeAt(ht);return Ke>>>0}function O(){return{width:0,height:0,baseline:0}}var I={baselineMarkerSize:1},E;typeof document!="undefined"&&(E=document.createElement("div"),E.style.cssText="position: absolute !important; top: -4000px !important; width: auto !important; height: auto !important;padding: 0 !important; margin: 0 !important; border: 0 !important;line-height: normal !important; visibility: hidden !important; white-space: pre!important;");var K=function(je){function Ke(ht){je.call(this),this._cache=new c(1e3),this.options=Object.assign({},I,ht)}return je&&(Ke.__proto__=je),Ke.prototype=Object.create(je&&je.prototype),Ke.prototype.constructor=Ke,Ke.prototype.measure=function(Bt,Dt,Yt){if(Yt===void 0&&(Yt={}),typeof Bt=="undefined"||Bt===null)return O();var yr=g(Dt),zt=p(Bt+yr),rn=this._cache.get(zt);if(rn)return rn;var On=O(),xn=Yt.box||E,Kn=this._baselineMarker().cloneNode(!1);for(var jn in Dt){var to=Dt[jn];typeof to!="undefined"&&(xn.style[jn]=to)}var ki=Yt.normalizeText!==!1?X(Bt):String(Bt);return xn.textContent=ki,xn.appendChild(Kn),document.body.appendChild(xn),ki.length&&(On.width=xn.offsetWidth-this.options.baselineMarkerSize,On.height=xn.offsetHeight,On.baseline=Kn.offsetTop+this.options.baselineMarkerSize),On.width>0&&On.height>0&&this._cache.put(zt,On),xn.parentNode.removeChild(xn),On},Ke.prototype._baselineMarker=function(){var Bt=document.createElement("div");return Bt.style.cssText="display: inline-block; vertical-align: baseline;width: "+this.options.baselineMarkerSize+"px; height: "+this.options.baselineMarkerSize+"px;overflow: hidden;",Bt},Ke}(V.Z);K.current=new K;var d=K;function i(je,Ke,ht){return d.current.measure(je,Ke,ht)}var x={1:"i",10:"x",100:"c",2:"ii",20:"xx",200:"cc",3:"iii",30:"xxx",300:"ccc",4:"iv",40:"xl",400:"cd",5:"v",50:"l",500:"d",6:"vi",60:"lx",600:"dc",7:"vii",70:"lxx",700:"dcc",8:"viii",80:"lxxx",800:"dccc",9:"ix",90:"xc",900:"cm",1e3:"m"};function A(je){for(var Ke=[1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],ht="";je>0;)je<Ke[0]?Ke.shift():(ht+=x[Ke[0]],je-=Ke[0]);return ht}function w(je,Ke){if(je.length<2)return je.slice();function ht(Bt,Dt){for(var Yt=[],yr=0,zt=0,rn=0;yr<Bt.length&&zt<Dt.length;)Ke(Bt[yr],Dt[zt])<=0?Yt[rn++]=Bt[yr++]:Yt[rn++]=Dt[zt++];return yr<Bt.length&&Yt.push.apply(Yt,Bt.slice(yr)),zt<Dt.length&&Yt.push.apply(Yt,Dt.slice(zt)),Yt}return function Bt(Dt){if(Dt.length<=1)return Dt;var Yt=Math.floor(Dt.length/2),yr=Dt.slice(0,Yt),zt=Dt.slice(Yt);return yr=Bt(yr),zt=Bt(zt),ht(yr,zt)}(je)}var C=t(60307);function U(){throw new Error("Template implementation missing.")}var F=t(15487),Y=t(3400),le=t(67812),ie=t(30553),j=t(43805),ue=t(23087),P="12px sans-serif",Z="#000",ae=function(je){function Ke(Bt,Dt,Yt){Dt===void 0&&(Dt=new v.Z),Yt===void 0&&(Yt={}),je.call(this,Yt),this.content(Bt),this.position(Dt),this.options.font||(this.options.font=P),(0,ue.Z)(this.options.fill)||this.fill(Z)}je&&(Ke.__proto__=je),Ke.prototype=Object.create(je&&je.prototype),Ke.prototype.constructor=Ke;var ht={nodeType:{configurable:!0}};return ht.nodeType.get=function(){return"Text"},Ke.prototype.content=function(Dt){return(0,ue.Z)(Dt)?(this.options.set("content",Dt),this):this.options.get("content")},Ke.prototype.measure=function(){var Dt=i(this.content(),{font:this.options.get("font")});return Dt},Ke.prototype.rect=function(){var Dt=this.measure(),Yt=this.position().clone();return new f.Z(Yt,[Dt.width,Dt.height])},Ke.prototype.bbox=function(Dt){var Yt=(0,le.Z)(this.currentTransform(Dt));return this.rect().bbox(Yt)},Ke.prototype.rawBBox=function(){return this.rect().bbox()},Ke.prototype._containsPoint=function(Dt){return this.rect().containsPoint(Dt)},Object.defineProperties(Ke.prototype,ht),Ke}((0,ie.Z)((0,j.Z)(Y.Z,["position"]))),ce=ae,be=t(14881),pe=t(92575);function h(je){var Ke="_"+je;return function(ht){return(0,ue.Z)(ht)?(this._observerField(Ke,ht),this.geometryChange(),this):this[Ke]}}function te(je,Ke){for(var ht=0;ht<Ke.length;ht++)je[Ke[ht]]=h(Ke[ht])}var Q=function(je,Ke){Ke===void 0&&(Ke=["geometry"]);var ht=function(Bt){function Dt(){Bt.apply(this,arguments)}return Bt&&(Dt.__proto__=Bt),Dt.prototype=Object.create(Bt&&Bt.prototype),Dt.prototype.constructor=Dt,Dt}(je);return te(ht.prototype,Ke),ht},we=Q,Se=function(je){function Ke(Bt,Dt,Yt){Dt===void 0&&(Dt=new f.Z),Yt===void 0&&(Yt={}),je.call(this,Yt),this.src(Bt),this.rect(Dt)}je&&(Ke.__proto__=je),Ke.prototype=Object.create(je&&je.prototype),Ke.prototype.constructor=Ke;var ht={nodeType:{configurable:!0}};return ht.nodeType.get=function(){return"Image"},Ke.prototype.src=function(Dt){return(0,ue.Z)(Dt)?(this.options.set("src",Dt),this):this.options.get("src")},Ke.prototype.bbox=function(Dt){var Yt=(0,le.Z)(this.currentTransform(Dt));return this._rect.bbox(Yt)},Ke.prototype.rawBBox=function(){return this._rect.bbox()},Ke.prototype._containsPoint=function(Dt){return this._rect.containsPoint(Dt)},Ke.prototype._hasFill=function(){return this.src()},Object.defineProperties(Ke.prototype,ht),Ke}(we(Y.Z,["rect"])),Ne=Se,ze=t(66790),Je=["start","end"],qe=function(je){function Ke(ht){ht===void 0&&(ht={}),je.call(this,ht),this.start(ht.start||new v.Z),this.end(ht.end||new v.Z(1,0))}return je&&(Ke.__proto__=je),Ke.prototype=Object.create(je&&je.prototype),Ke.prototype.constructor=Ke,Ke}((0,j.Z)(ze.Z,Je)),Me=qe,Fe=t(99307),Ue=function(je){function Ke(Bt,Dt){Bt===void 0&&(Bt=new f.Z),Dt===void 0&&(Dt={}),je.call(this,Dt),this.geometry(Bt),(0,ue.Z)(this.options.stroke)||this.stroke("#000")}je&&(Ke.__proto__=je),Ke.prototype=Object.create(je&&je.prototype),Ke.prototype.constructor=Ke;var ht={nodeType:{configurable:!0}};return ht.nodeType.get=function(){return"Rect"},Ke.prototype._bbox=function(Dt){return this._geometry.bbox(Dt)},Ke.prototype.rawBBox=function(){return this._geometry.bbox()},Ke.prototype._containsPoint=function(Dt){return this._geometry.containsPoint(Dt)},Ke.prototype._isOnPath=function(Dt){return this.geometry()._isOnPath(Dt,this.options.stroke.width/2)},Object.defineProperties(Ke.prototype,ht),Ke}((0,ie.Z)((0,Fe.Z)(we(Y.Z)))),he=Ue,xe="#000",q=function(je){function Ke(Bt,Dt){Bt===void 0&&(Bt=new S),Dt===void 0&&(Dt={}),je.call(this,Dt),this.geometry(Bt),(0,ue.Z)(this.options.stroke)||this.stroke(xe)}je&&(Ke.__proto__=je),Ke.prototype=Object.create(je&&je.prototype),Ke.prototype.constructor=Ke;var ht={nodeType:{configurable:!0}};return ht.nodeType.get=function(){return"Circle"},Ke.prototype.rawBBox=function(){return this._geometry.bbox()},Ke.prototype._bbox=function(Dt){return this._geometry.bbox(Dt)},Ke.prototype._containsPoint=function(Dt){return this.geometry().containsPoint(Dt)},Ke.prototype._isOnPath=function(Dt){return this.geometry()._isOnPath(Dt,this.options.stroke.width/2)},Object.defineProperties(Ke.prototype,ht),Ke}((0,ie.Z)((0,Fe.Z)(we(Y.Z)))),me=q,De=t(75896),Te=C.Z.browser||{};function Oe(je){return Array.prototype.slice.call(je)}var st="KENDO-PSEUDO-ELEMENT",Ft="data-kendo-bullet-type",Qt={},Vt={};Vt._root=Vt;var Gt=typeof window!="undefined",Jt=Gt?Te.msie||Te.edge:!1,Lr=function(je){function Ke(ht,Bt,Dt){je.call(this,ht,Bt.getOrigin(),Dt),this._pdfRect=Bt}return je&&(Ke.__proto__=je),Ke.prototype=Object.create(je&&je.prototype),Ke.prototype.constructor=Ke,Ke.prototype.rect=function(){return this._pdfRect},Ke.prototype.rawBBox=function(){return this._pdfRect},Ke}(ce);function Rr(je,Ke){je.classList?je.classList.add(Ke):je.className+=" "+Ke}function Gr(je,Ke){je.classList?je.classList.remove(Ke):je.className=je.className.split(/\s+/).reduce(function(ht,Bt){return Bt!=Ke&&ht.push(Bt),ht},[]).join(" ")}function zr(je,Ke){Object.keys(Ke).forEach(function(ht){je.style[ht]=Ke[ht]})}var pr=typeof Element!="undefined"&&Element.prototype&&function(je){return je.matches?function(Ke,ht){return Ke.matches(ht)}:je.webkitMatchesSelector?function(Ke,ht){return Ke.webkitMatchesSelector(ht)}:je.mozMatchesSelector?function(Ke,ht){return Ke.mozMatchesSelector(ht)}:je.msMatchesSelector?function(Ke,ht){return Ke.msMatchesSelector(ht)}:function(Ke){return[].indexOf.call(document.querySelectorAll(Ke),this)!==-1}}(Element.prototype);function vn(je,Ke){if(je.closest)return je.closest(Ke);for(;je&&!/^\[object (?:HTML)?Document\]$/.test(String(je));){if(je.nodeType==1&&pr(je,Ke))return je;je=je.parentNode}}var fn=function(je){return je?function Ke(ht){var Bt=ht.cloneNode(!1);if(ht.nodeType==1){var Dt=je(ht),Yt=je(Bt),yr,zt=Dt.data();for(yr in zt)Yt.data(yr,zt[yr]);for(/^canvas$/i.test(ht.tagName)?Bt.getContext("2d").drawImage(ht,0,0):/^(?:input|select|textarea|option)$/i.test(ht.tagName)&&(Bt.removeAttribute("id"),Bt.removeAttribute("name"),/^textarea$/i.test(ht.tagName)||(Bt.value=ht.value),Bt.checked=ht.checked,Bt.selected=ht.selected),yr=ht.firstChild;yr;yr=yr.nextSibling)Bt.appendChild(Ke(yr))}return Bt}:function(ht){var Bt=function yr(zt){var rn=zt.cloneNode(!1);zt._kendoExportVisual&&(rn._kendoExportVisual=zt._kendoExportVisual);for(var On=zt.firstChild;On;On=On.nextSibling)rn.appendChild(yr(On));return rn}(ht),Dt=ht.querySelectorAll("canvas");Dt.length&&Oe(Bt.querySelectorAll("canvas")).forEach(function(yr,zt){yr.getContext("2d").drawImage(Dt[zt],0,0)});var Yt=ht.querySelectorAll("input, select, textarea, option");return Oe(Bt.querySelectorAll("input, select, textarea, option")).forEach(function(yr,zt){yr.removeAttribute("id"),yr.removeAttribute("name"),/^textarea$/i.test(yr.tagName)||(yr.value=Yt[zt].value),yr.checked=Yt[zt].checked,yr.selected=Yt[zt].selected}),Bt}}(typeof window!="undefined"&&window.kendo&&window.kendo.jQuery);function Zt(je){return typeof je=="number"?{x:je,y:je}:Array.isArray(je)?{x:je[0],y:je[1]}:{x:je.x,y:je.y}}function St(je,Ke){Ke||(Ke={});var ht=(0,T.Z)();if(!je)return ht.reject("No element to export");if(typeof window.getComputedStyle!="function")throw new Error("window.getComputedStyle is missing.  You are using an unsupported browser, or running in IE8 compatibility mode.  Drawing HTML is supported in Chrome, Firefox, Safari and IE9+.");J.pl(Tt(je.ownerDocument));var Bt=Zt(Ke.scale||1);function Dt(zt){var rn=new be.Z,On=zt.getBoundingClientRect();return lr(rn,[Bt.x,0,0,Bt.y,-On.left*Bt.x,-On.top*Bt.y]),Vt._clipbox=!1,Vt._matrix=n.Z.unit(),Vt._stackingContext={element:zt,group:rn},Ke.avoidLinks===!0?Vt._avoidLinks="a":Vt._avoidLinks=Ke.avoidLinks,Rr(zt,"k-pdf-export"),no(zt,rn),Gr(zt,"k-pdf-export"),rn}kt([je],function(){var zt=Ke&&Ke.forcePageBreak,rn=Ke&&Ke.paperSize&&Ke.paperSize!="auto",On=J.M(function(zo,Ko){return zo=="paperSize"?rn?Ke[zo]:"A4":zo in Ke?Ke[zo]:Ko}),xn=rn&&On.paperSize[0],Kn=rn&&On.paperSize[1],jn=Ke.margin&&On.margin,to=Boolean(jn);if(zt||Kn){jn||(jn={left:0,top:0,right:0,bottom:0}),xn&&(xn/=Bt.x),Kn&&(Kn/=Bt.y),jn.left/=Bt.x,jn.right/=Bt.x,jn.top/=Bt.y,jn.bottom/=Bt.y;var ki=new be.Z({pdf:{multiPage:!0,paperSize:rn?On.paperSize:"auto",_ignoreMargin:to}});yr(function(zo){if(Ke.progress){var Ko=!1,uo=0;(function ia(){if(uo<zo.pages.length){var la=Dt(zo.pages[uo]);ki.append(la),Ke.progress({page:la,pageNum:++uo,totalPages:zo.pages.length,cancel:function(){Ko=!0}}),Ko?zo.container.parentNode.removeChild(zo.container):setTimeout(ia)}else zo.container.parentNode.removeChild(zo.container),ht.resolve(ki)})()}else zo.pages.forEach(function(ia){ki.append(Dt(ia))}),zo.container.parentNode.removeChild(zo.container),ht.resolve(ki)},je,zt,xn?xn-jn.left-jn.right:null,Kn?Kn-jn.top-jn.bottom:null,jn,Ke)}else ht.resolve(Dt(je))});function Yt(zt){if(zt!=null)return typeof zt=="string"&&(zt=U(zt.replace(/^\s+|\s+$/g,""))),typeof zt=="function"?function(rn){var On=zt(rn);if(On&&typeof On=="string"){var xn=document.createElement("div");xn.innerHTML=On,On=xn.firstElementChild}return On}:function(){return zt.cloneNode(!0)}}function yr(zt,rn,On,xn,Kn,jn,to){var ki=Yt(to.template),zo=rn.ownerDocument,Ko=[],uo=to._destructive?rn:fn(rn),ia=zo.createElement("KENDO-PDF-DOCUMENT"),la=0;Oe(uo.querySelectorAll("tfoot")).forEach(function(fi){fi.parentNode.appendChild(fi)}),Oe(uo.querySelectorAll("ol")).forEach(function(fi){Oe(fi.children).forEach(function(oi,_i){oi.setAttribute("kendo-split-index",_i)})}),zr(ia,{display:"block",position:"absolute",boxSizing:"content-box",left:"-10000px",top:"-10000px"}),xn&&(zr(ia,{width:xn+"px",paddingLeft:jn.left+"px",paddingRight:jn.right+"px"}),zr(uo,{overflow:"hidden"})),rn.parentNode.insertBefore(ia,rn),ia.appendChild(uo),to.beforePageBreak?rt([ia],function(){to.beforePageBreak(ia,so)}):rt([ia],so);function so(){(On!="-"||Kn)&&Xi(uo);{var fi=Pi();uo.parentNode.insertBefore(fi,uo),fi.appendChild(uo)}ki&&Ko.forEach(function(oi,_i){var Jr=ki({element:oi,pageNum:_i+1,totalPages:Ko.length});Jr&&oi.appendChild(Jr)}),kt(Ko,zt.bind(null,{pages:Ko,container:ia}))}function zi(fi){if(to.keepTogether&&pr(fi,to.keepTogether)&&fi.offsetHeight<=Kn-la)return!0;var oi=fi.tagName;return/^h[1-6]$/i.test(oi)&&fi.offsetHeight>=Kn-la?!1:fi.getAttribute("data-kendo-chart")||/^(?:img|tr|thead|th|tfoot|iframe|svg|object|canvas|input|textarea|select|video|h[1-6])/i.test(fi.tagName)}function Xi(fi){if(fi.tagName=="TABLE"&&zr(fi,{tableLayout:"fixed"}),!zi(fi)){var oi=on(fi),_i=parseFloat(vr(oi,"padding-bottom")),Jr=parseFloat(vr(oi,"border-bottom-width")),hi=la;la+=_i+Jr;for(var yi=!0,Ci=fi.firstChild;Ci;Ci=Ci.nextSibling)if(Ci.nodeType==1){if(yi=!1,pr(Ci,On)){ta(Ci);continue}if(!Kn){Xi(Ci);continue}if(!/^(?:static|relative)$/.test(vr(on(Ci),"position")))continue;var Oi=Ji(Ci);Oi==1||Oi&&zi(Ci)?ta(Ci):Xi(Ci)}else Ci.nodeType==3&&Kn&&(Do(Ci,yi),yi=!1);la=hi}}function ua(fi){var oi=fi.parentNode,_i=oi.firstChild;if(fi===_i)return!0;if(fi===oi.children[0]){if(_i.nodeType==7||_i.nodeType==8)return!0;if(_i.nodeType==3)return!/\S/.test(_i.data)}return!1}function ta(fi){if(fi.nodeType==1&&fi!==uo&&ua(fi))return ta(fi.parentNode);var oi,_i,Jr,hi,yi;oi=vn(fi,"table"),_i=oi&&oi.querySelector("colgroup"),to.repeatHeaders&&(Jr=oi&&oi.querySelector("thead"),hi=vn(fi,".k-grid"),hi&&hi.querySelector(".k-auto-scrollable")&&(yi=hi.querySelector(".k-grid-header")));var Ci=Pi(),Oi=zo.createRange();Oi.setStartBefore(uo),Oi.setEndBefore(fi),Ci.appendChild(Oi.extractContents()),uo.parentNode.insertBefore(Ci,uo),Ki(fi.parentNode),oi&&(oi=vn(fi,"table"),to.repeatHeaders&&Jr&&oi.insertBefore(Jr.cloneNode(!0),oi.firstChild),_i&&oi.insertBefore(_i.cloneNode(!0),oi.firstChild)),to.repeatHeaders&&yi&&(hi=vn(fi,".k-grid"),hi.insertBefore(yi.cloneNode(!0),hi.firstChild))}function Pi(){var fi=zo.createElement("KENDO-PDF-PAGE");return zr(fi,{display:"block",boxSizing:"content-box",width:xn?xn+"px":"auto",padding:jn.top+"px "+jn.right+"px "+jn.bottom+"px "+jn.left+"px",position:"relative",height:Kn?Kn+"px":"auto",overflow:Kn||xn?"hidden":"visible",clear:"both"}),to&&to.pageClassName&&(fi.className=to.pageClassName),Ko.push(fi),fi}function Ji(fi){var oi=fi.getBoundingClientRect();if(oi.width===0||oi.height===0)return 0;var _i=uo.getBoundingClientRect().top,Jr=Kn-la;return oi.height>Jr?3:oi.top-_i>Jr?1:oi.bottom-_i>Jr?2:0}function Do(fi,oi){if(/\S/.test(fi.data)){var _i=fi.data.length,Jr=zo.createRange();Jr.selectNodeContents(fi);var hi=Ji(Jr);if(hi){var yi=fi;if(hi==1)ta(oi?fi.parentNode:fi);else if(function Oi(Mn,wo,xo){return Jr.setEnd(fi,wo),Mn==wo||wo==xo?wo:Ji(Jr)?Oi(Mn,Mn+wo>>1,wo):Oi(wo,wo+xo>>1,xo)}(0,_i>>1,_i),!/\S/.test(Jr.toString())&&oi)ta(fi.parentNode);else{yi=fi.splitText(Jr.endOffset);var Ci=Pi();Jr.setStartBefore(uo),Ci.appendChild(Jr.extractContents()),uo.parentNode.insertBefore(Ci,uo),Ki(yi.parentNode)}Do(yi)}}}function Ki(fi){var oi=vn(fi,"li");oi&&(oi.setAttribute("kendo-no-bullet","1"),Ki(oi.parentNode))}}return ht}function Wt(je){var Ke=new Group;return Vt._clipbox=!1,Vt._matrix=geo.Matrix.unit(),Vt._stackingContext={element:je,group:Ke},qt(je,on(je),Ke),je.firstChild.nodeType==3?Ti(je,je.firstChild,Ke):mn(je,Ke),sr(),Ke}var Nt=function(){var je=/^((-webkit-|-moz-|-o-|-ms-)?linear-gradient\s*)\(/,Ke=/^([-0-9.]+%)/,ht=/^([-0-9.]+px)/,Bt=/^(left|right|top|bottom|to|center)\W/,Dt=/^([-0-9.]+(deg|grad|rad|turn)|0)/,Yt=/^(\s+)/,yr=/^(\()/,zt=/^(\))/,rn=/^(,)/,On=/^(url)\(/,xn=/^(.*?)\)/,Kn={},jn={};function to(ki){var zo=ki;if(Rt(Kn,zo))return Kn[zo];function Ko(){var Xi=Yt.exec(ki);Xi&&(ki=ki.substr(Xi[1].length))}function uo(Xi){Ko();var ua=Xi.exec(ki);if(ua)return ki=ki.substr(ua[1].length),ua[1]}function ia(){var Xi=(0,F.ZP)(ki,!0),ua,ta;if(Xi){var Pi=/^#[0-9a-f]+/i.exec(ki)||/^rgba?\(.*?\)/i.exec(ki)||/^..*?\b/.exec(ki);return ki=ki.substr(Pi[0].length),Xi=Xi.toRGB(),(ua=uo(ht))||(ta=uo(Ke)),{color:Xi,length:ua,percent:ta}}}function la(Xi){var ua,ta,Pi,Ji=[],Do=!1;if(uo(yr)){if(ua=uo(Dt),ua=="0"&&(ua="0deg"),ua?(ua=qn(ua),uo(rn)):(ta=uo(Bt),ta=="to"?ta=uo(Bt):ta&&/^-/.test(Xi)&&(Do=!0),Pi=uo(Bt),uo(rn)),/-moz-/.test(Xi)&&ua==null&&ta==null){var Ki=uo(Ke),fi=uo(Ke);Do=!0,Ki=="0%"?ta="left":Ki=="100%"&&(ta="right"),fi=="0%"?Pi="top":fi=="100%"&&(Pi="bottom"),uo(rn)}for(;ki&&!uo(zt);){var oi=ia();if(!oi)break;Ji.push(oi),uo(rn)}return{type:"linear",angle:ua,to:ta&&Pi?ta+" "+Pi:ta||Pi||null,stops:Ji,reverse:Do}}}function so(){if(uo(yr)){var Xi=uo(xn);return Xi=Xi.replace(/^['"]+|["']+$/g,""),uo(zt),{type:"url",url:Xi}}}var zi;return(zi=uo(je))?zi=la(zi):(zi=uo(On))&&(zi=so()),Kn[zo]=zi||{type:"none"}}return function(ki){return Rt(jn,ki)?jn[ki]:jn[ki]=dt(ki).map(to)}}(),dt=function(){var je={};return function(Ke,ht){ht||(ht=/^\s*,\s*/);var Bt=Ke+ht;if(Rt(je,Bt))return je[Bt];var Dt=[],Yt=0,yr=0,zt=0,rn=!1,On;function xn(jn){return On=jn.exec(Ke.substr(yr))}function Kn(jn){return jn.replace(/^\s+|\s+$/g,"")}for(;yr<Ke.length;)!rn&&xn(/^[\(\[\{]/)?(zt++,yr++):!rn&&xn(/^[\)\]\}]/)?(zt--,yr++):!rn&&xn(/^[\"\']/)?(rn=On[0],yr++):rn=="'"&&xn(/^\\\'/)||rn=='"'&&xn(/^\\\"/)?yr+=2:rn=="'"&&xn(/^\'/)||rn=='"'&&xn(/^\"/)?(rn=!1,yr++):xn(ht)?(!rn&&!zt&&yr>Yt&&(Dt.push(Kn(Ke.substring(Yt,yr))),Yt=yr+On[0].length),yr+=On[0].length):yr++;return Yt<yr&&Dt.push(Kn(Ke.substring(Yt,yr))),je[Bt]=Dt}}(),nr=function(je){return function(Ke){var ht=je[Ke];if(!ht){var Bt;((Bt=/url\((['"]?)([^'")]*?)\1\)\s+format\((['"]?)truetype\3\)/.exec(Ke))||(Bt=/url\((['"]?)([^'")]*?\.ttf)\1\)/.exec(Ke)))&&(ht=je[Ke]=Bt[2])}return ht}}(Object.create(null)),et=function(je){return function(Ke){var ht=je[Ke];return ht==null&&(ht=je[Ke]=i("Mapq",{font:Ke}).height),ht}}(Object.create(null));function Tt(je){je==null&&(je=document);for(var Ke={},ht=0;ht<je.styleSheets.length;++ht)Bt(je.styleSheets[ht]);return Ke;function Bt(zt){if(zt){var rn=null;try{rn=zt.cssRules}catch(On){}rn&&Yt(zt,rn)}}function Dt(zt){var rn=vr(zt.style,"src");if(rn)return dt(rn).reduce(function(xn,Kn){var jn=nr(Kn);return jn&&xn.push(jn),xn},[]);var On=nr(zt.cssText);return On?[On]:[]}function Yt(zt,rn){for(var On=0;On<rn.length;++On){var xn=rn[On];switch(xn.type){case 3:Bt(xn.styleSheet);break;case 5:var Kn=xn.style,jn=dt(vr(Kn,"font-family")),to=/^([56789]00|bold)$/i.test(vr(Kn,"font-weight")),ki=vr(Kn,"font-style")=="italic",zo=Dt(xn);zo.length>0&&yr(zt,jn,to,ki,zo[0])}}}function yr(zt,rn,On,xn,Kn){/^data:/i.test(Kn)||/^[^\/:]+:\/\//.test(Kn)||/^\//.test(Kn)||(Kn=String(zt.href).replace(/[^\/]*$/,"")+Kn),rn.forEach(function(jn){jn=jn.replace(/^(['"]?)(.*?)\1$/,"$2"),On&&(jn+="|bold"),xn&&(jn+="|italic"),Ke[jn]=Kn})}}function Rt(je,Ke){return Object.prototype.hasOwnProperty.call(je,Ke)}function or(je){return je="_counter_"+je,Vt[je]}function ir(je){var Ke=[],ht=Vt;for(je="_counter_"+je;ht;)Rt(ht,je)&&Ke.push(ht[je]),ht=Object.getPrototypeOf(ht);return Ke.reverse()}function Qr(je,Ke){var ht=Vt;for(je="_counter_"+je;ht&&!Rt(ht,je);)ht=Object.getPrototypeOf(ht);ht||(ht=Vt._root),ht[je]=(ht[je]||0)+(Ke==null?1:Ke)}function ft(je,Ke){je="_counter_"+je,Vt[je]=Ke==null?0:Ke}function tr(je,Ke,ht){for(var Bt=0;Bt<je.length;){var Dt=je[Bt++],Yt=parseFloat(je[Bt]);isNaN(Yt)?Ke(Dt,ht):(Ke(Dt,Yt),++Bt)}}function gr(je){var Ke=vr(je,"counter-reset");Ke&&tr(dt(Ke,/^\s+/),ft,0);var ht=vr(je,"counter-increment");ht&&tr(dt(ht,/^\s+/),Qr,1)}function ar(je,Ke){var ht=(0,F.ZP)(je,!0);return ht&&(ht=ht.toRGB(),Ke?ht=ht.toCssRgba():ht.a===0&&(ht=null)),ht}function rt(je,Ke){var ht=0,Bt=!1;je.forEach(function(Yt){for(var yr=Yt.querySelectorAll("img"),zt=0;zt<yr.length;++zt){var rn=yr[zt];rn.complete||(ht++,rn.onload=rn.onerror=Dt)}}),ht||Dt();function Dt(){!Bt&&--ht<=0&&(Ke(),Bt=!0)}}function kt(je,Ke){var ht=[];function Bt(yr){Qt[yr]||(Qt[yr]=!0,ht.push(yr))}je.forEach(function yr(zt){/^img$/i.test(zt.tagName)&&Bt(zt.src),Nt(vr(on(zt),"background-image")).forEach(function(rn){rn.type=="url"&&Bt(rn.url)}),zt.children&&Oe(zt.children).forEach(yr)});var Dt=ht.length;function Yt(){--Dt<=0&&rt(je,Ke)}Dt===0&&Yt(),ht.forEach(function(yr){var zt=Qt[yr]=new window.Image;/^data:/i.test(yr)||(zt.crossOrigin="Anonymous"),zt.src=yr,zt.complete?Yt():(zt.onload=Yt,zt.onerror=function(){Qt[yr]=null,Yt()})})}function At(je){var Ke="";do{var ht=je%26;Ke=String.fromCharCode(97+ht)+Ke,je=Math.floor(je/26)}while(je>0);return Ke}function qt(je,Ke,ht){Vt=Object.create(Vt),Vt[je.tagName.toLowerCase()]={element:je,style:Ke};var Bt=vr(Ke,"text-decoration");if(Bt&&Bt!="none"){var Dt=vr(Ke,"text-decoration-color");Bt.split(/\s+/g).forEach(function(Yt){if(!Vt[Yt]&&(Vt[Yt]=Dt,Yt=="underline")){var yr=vr(Ke,"text-underline-offset");yr!="auto"&&(Vt["underline-offset"]=parseFloat(yr))}})}nn(Ke)&&(Vt._stackingContext={element:je,group:ht})}function sr(){Vt=Object.getPrototypeOf(Vt)}function Kr(je){if(Vt._clipbox!=null){var Ke=je.bbox(Vt._matrix);Vt._clipbox?Vt._clipbox=f.Z.intersect(Vt._clipbox,Ke):Vt._clipbox=Ke}}function kr(){var je=Vt._clipbox;if(je==null)return!0;if(je)return je.width()===0||je.height()===0}function nn(je){function Ke(ht){return vr(je,ht)}if(Ke("transform")!="none"||Ke("position")!="static"||Ke("z-index")!="auto"||Ke("opacity")<1)return!0}function on(je,Ke){return window.getComputedStyle(je,Ke||null)}function vr(je,Ke,ht){var Bt=je.getPropertyValue(Ke);return(Bt==null||Bt==="")&&(Te.webkit?Bt=je.getPropertyValue("-webkit-"+Ke):Te.mozilla?Bt=je.getPropertyValue("-moz-"+Ke):Te.opera?Bt=je.getPropertyValue("-o-"+Ke):Jt&&(Bt=je.getPropertyValue("-ms-"+Ke))),arguments.length>2&&(Bt==null||Bt==="")?ht:Bt}function Dr(je,Ke,ht,Bt){je.setProperty(Ke,ht,Bt),Te.webkit?je.setProperty("-webkit-"+Ke,ht,Bt):Te.mozilla?je.setProperty("-moz-"+Ke,ht,Bt):Te.opera?je.setProperty("-o-"+Ke,ht,Bt):Jt&&(je.setProperty("-ms-"+Ke,ht,Bt),Ke="ms"+Ke.replace(/(^|-)([a-z])/g,function(Dt,Yt,yr){return Yt+yr.toUpperCase()}),je[Ke]=ht)}function _r(je,Ke){return Ke="border-"+Ke,{width:parseFloat(vr(je,Ke+"-width")),style:vr(je,Ke+"-style"),color:ar(vr(je,Ke+"-color"),!0)}}function Hr(je,Ke){var ht=je.style.cssText,Bt=Ke();return je.style.cssText=ht,Bt}function Pr(je,Ke){var ht=vr(je,"border-"+Ke+"-radius").split(/\s+/g).map(parseFloat);return ht.length==1&&ht.push(ht[0]),ti({x:ht[0],y:ht[1]})}function un(je){var Ke=je.getBoundingClientRect();return Ke=Zn(Ke,"border-*-width",je),Ke=Zn(Ke,"padding-*",je),Ke}function Zn(je,Ke,ht){var Bt,Dt,Yt,yr,zt;return typeof Ke=="string"?(Bt=on(ht),Dt=parseFloat(vr(Bt,Ke.replace("*","top"))),Yt=parseFloat(vr(Bt,Ke.replace("*","right"))),yr=parseFloat(vr(Bt,Ke.replace("*","bottom"))),zt=parseFloat(vr(Bt,Ke.replace("*","left")))):typeof Ke=="number"&&(Dt=Yt=yr=zt=Ke),{top:je.top+Dt,right:je.right-Yt,bottom:je.bottom-yr,left:je.left+zt,width:je.right-je.left-Yt-zt,height:je.bottom-je.top-yr-Dt}}function Jn(je){var Ke=vr(je,"transform");if(Ke=="none")return null;var ht=/^\s*matrix\(\s*(.*?)\s*\)\s*$/.exec(Ke);if(ht){var Bt=vr(je,"transform-origin");return ht=ht[1].split(/\s*,\s*/g).map(parseFloat),Bt=Bt.split(/\s+/g).map(parseFloat),{matrix:ht,origin:Bt}}}function Dn(je){return 180*je/Math.PI%360}function qn(je){var Ke=parseFloat(je);if(/grad$/.test(je))return Math.PI*Ke/200;if(/rad$/.test(je))return Ke;if(/turn$/.test(je))return Math.PI*Ke*2;if(/deg$/.test(je))return Math.PI*Ke/180}function lr(je,Ke){return Ke=new n.Z(Ke[0],Ke[1],Ke[2],Ke[3],Ke[4],Ke[5]),je.transform(Ke),Ke}function Yr(je,Ke){je.clip(Ke)}function Yn(je,Ke,ht,Bt){for(var Dt=new l.Z([Ke,ht],Bt).curvePoints(),Yt=1;Yt<Dt.length;)je.curveTo(Dt[Yt++],Dt[Yt++],Dt[Yt++])}function ti(je){return(je.x<=0||je.y<=0)&&(je.x=je.y=0),je}function Wi(je,Ke,ht,Bt,Dt){var Yt=Math.max(0,Ke.x),yr=Math.max(0,Ke.y),zt=Math.max(0,ht.x),rn=Math.max(0,ht.y),On=Math.max(0,Bt.x),xn=Math.max(0,Bt.y),Kn=Math.max(0,Dt.x),jn=Math.max(0,Dt.y),to=Math.min(je.width/(Yt+zt),je.height/(rn+xn),je.width/(On+Kn),je.height/(jn+yr));return to<1&&(Yt*=to,yr*=to,zt*=to,rn*=to,On*=to,xn*=to,Kn*=to,jn*=to),{tl:{x:Yt,y:yr},tr:{x:zt,y:rn},br:{x:On,y:xn},bl:{x:Kn,y:jn}}}function _t(je,Ke,ht){var Bt=on(je),Dt=Pr(Bt,"top-left"),Yt=Pr(Bt,"top-right"),yr=Pr(Bt,"bottom-left"),zt=Pr(Bt,"bottom-right");if(ht=="padding"||ht=="content"){var rn=_r(Bt,"top"),On=_r(Bt,"right"),xn=_r(Bt,"bottom"),Kn=_r(Bt,"left");if(Dt.x-=Kn.width,Dt.y-=rn.width,Yt.x-=On.width,Yt.y-=rn.width,zt.x-=On.width,zt.y-=xn.width,yr.x-=Kn.width,yr.y-=xn.width,ht=="content"){var jn=parseFloat(vr(Bt,"padding-top")),to=parseFloat(vr(Bt,"padding-right")),ki=parseFloat(vr(Bt,"padding-bottom")),zo=parseFloat(vr(Bt,"padding-left"));Dt.x-=zo,Dt.y-=jn,Yt.x-=to,Yt.y-=jn,zt.x-=to,zt.y-=ki,yr.x-=zo,yr.y-=ki}}return typeof ht=="number"&&(Dt.x-=ht,Dt.y-=ht,Yt.x-=ht,Yt.y-=ht,zt.x-=ht,zt.y-=ht,yr.x-=ht,yr.y-=ht),Ct(Ke,Dt,Yt,zt,yr)}function Ct(je,Ke,ht,Bt,Dt){var Yt=Wi(je,Ke,ht,Bt,Dt),yr=Yt.tl,zt=Yt.tr,rn=Yt.br,On=Yt.bl,xn=new pe.y({fill:null,stroke:null});return xn.moveTo(je.left,je.top+yr.y),yr.x&&Yn(xn,je.left+yr.x,je.top+yr.y,{startAngle:-180,endAngle:-90,radiusX:yr.x,radiusY:yr.y}),xn.lineTo(je.right-zt.x,je.top),zt.x&&Yn(xn,je.right-zt.x,je.top+zt.y,{startAngle:-90,endAngle:0,radiusX:zt.x,radiusY:zt.y}),xn.lineTo(je.right,je.bottom-rn.y),rn.x&&Yn(xn,je.right-rn.x,je.bottom-rn.y,{startAngle:0,endAngle:90,radiusX:rn.x,radiusY:rn.y}),xn.lineTo(je.left+On.x,je.bottom),On.x&&Yn(xn,je.left+On.x,je.bottom-On.y,{startAngle:90,endAngle:180,radiusX:On.x,radiusY:On.y}),xn.close()}function mt(je,Ke){var ht=String(parseFloat(je));switch(Ke){case"decimal-leading-zero":return ht.length<2&&(ht="0"+ht),ht;case"lower-roman":return A(je).toLowerCase();case"upper-roman":return A(je).toUpperCase();case"lower-latin":case"lower-alpha":return At(je-1);case"upper-latin":case"upper-alpha":return At(je-1).toUpperCase();default:return ht}}function br(je,Ke){function ht(yr,zt,rn){return rn?(rn=rn.replace(/^\s*(["'])(.*)\1\s*$/,"$2"),ir(yr).map(function(On){return mt(On,zt)}).join(rn)):mt(or(yr)||0,zt)}var Bt=dt(Ke,/^\s+/),Dt=[],Yt;return Bt.forEach(function(yr){var zt;(Yt=/^\s*(["'])(.*)\1\s*$/.exec(yr))?Dt.push(Yt[2].replace(/\\([0-9a-f]{4})/gi,function(rn,On){return String.fromCharCode(parseInt(On,16))})):(Yt=/^\s*counter\((.*?)\)\s*$/.exec(yr))?(zt=dt(Yt[1]),Dt.push(ht(zt[0],zt[1]))):(Yt=/^\s*counters\((.*?)\)\s*$/.exec(yr))?(zt=dt(Yt[1]),Dt.push(ht(zt[0],zt[2],zt[1]))):(Yt=/^\s*attr\((.*?)\)\s*$/.exec(yr))?Dt.push(je.getAttribute(Yt[1])||""):Dt.push(yr)}),Dt.join("")}function Pt(je){if(je.cssText)return je.cssText;for(var Ke=[],ht=0;ht<je.length;++ht)Ke.push(je[ht]+": "+vr(je,je[ht]));return Ke.join(`;
`)}function qr(je,Ke){if(je.tagName==st){mn(je,Ke);return}var ht=[];function Bt(Yt,yr){var zt=on(je,Yt),rn=zt.content;if(gr(zt),rn&&rn!="normal"&&rn!="none"&&zt.width!="0px"){var On=je.ownerDocument.createElement(st);On.style.cssText=Pt(zt),On.textContent=br(je,rn),je.insertBefore(On,yr),ht.push(On)}}if(Bt(":before",je.firstChild),Bt(":after",null),ht.length>0){var Dt=je.className;je.className+=" kendo-pdf-hide-pseudo-elements",mn(je,Ke),je.className=Dt,ht.forEach(function(Yt){je.removeChild(Yt)})}else mn(je,Ke)}function mn(je,Ke){var ht=on(je),Bt=_r(ht,"top"),Dt=_r(ht,"right"),Yt=_r(ht,"bottom"),yr=_r(ht,"left"),zt=Pr(ht,"top-left"),rn=Pr(ht,"top-right"),On=Pr(ht,"bottom-left"),xn=Pr(ht,"bottom-right"),Kn=vr(ht,"direction"),jn=vr(ht,"background-color");jn=ar(jn);var to=Nt(vr(ht,"background-image")),ki=dt(vr(ht,"background-repeat")),zo=dt(vr(ht,"background-position")),Ko=dt(vr(ht,"background-origin")),uo=dt(vr(ht,"background-size")),ia,la;Jt&&(ia=ht.textOverflow,ia=="ellipsis"&&(la=je.style.textOverflow,je.style.textOverflow="clip")),Te.msie&&Te.version<10&&(zo=dt(je.currentStyle.backgroundPosition));var so=Zn(je.getBoundingClientRect(),"border-*-width",je);(function(){var Jr=vr(ht,"clip"),hi=/^\s*rect\((.*)\)\s*$/.exec(Jr);if(hi){var yi=hi[1].split(/[ ,]+/g),Ci=yi[0]=="auto"?so.top:parseFloat(yi[0])+so.top,Oi=yi[1]=="auto"?so.right:parseFloat(yi[1])+so.left,Mn=yi[2]=="auto"?so.bottom:parseFloat(yi[2])+so.top,wo=yi[3]=="auto"?so.left:parseFloat(yi[3])+so.left,xo=new be.Z,Ba=new pe.y().moveTo(wo,Ci).lineTo(Oi,Ci).lineTo(Oi,Mn).lineTo(wo,Mn).close();Yr(xo,Ba),Ke.append(xo),Ke=xo,Kr(Ba)}})();var zi,Xi,ua,ta=vr(ht,"display");if(ta=="table-row")for(zi=[],Xi=0,ua=je.children;Xi<ua.length;++Xi)zi.push(ua[Xi].getBoundingClientRect());else zi=je.getClientRects(),zi.length==1&&(zi=[je.getBoundingClientRect()]);for(zi=Ji(zi),Xi=0;Xi<zi.length;++Xi)_i(zi[Xi],Xi===0,Xi==zi.length-1);if(je.tagName=="A"&&je.href&&!/^#?$/.test(je.getAttribute("href"))&&(!Vt._avoidLinks||!pr(je,Vt._avoidLinks))){var Pi=document.createRange();Pi.selectNodeContents(je),Oe(Pi.getClientRects()).forEach(function(Jr){var hi=new be.Z;hi._pdfLink={url:je.href,top:Jr.top,right:Jr.right,bottom:Jr.bottom,left:Jr.left},Ke.append(hi)})}return zi.length>0&&ta=="list-item"&&!je.getAttribute("kendo-no-bullet")&&oi(zi[0]),function(){function Jr(){var hi=_t(je,so,"padding"),yi=new be.Z;Yr(yi,hi),Ke.append(yi),Ke=yi,Kr(hi)}(bi(je)||/^(hidden|auto|scroll)/.test(vr(ht,"overflow"))||/^(hidden|auto|scroll)/.test(vr(ht,"overflow-x"))||/^(hidden|auto|scroll)/.test(vr(ht,"overflow-y")))&&Jr()}(),!Vr(je,Ke)&&!Fn(je,Ke)&&_o(je,Ke),Jt&&ia=="ellipsis"&&(je.style.textOverflow=la),Ke;function Ji(Jr){if(/^td$/i.test(je.tagName)){var hi=Vt.table;if(hi&&vr(hi.style,"border-collapse")=="collapse"){var yi=_r(hi.style,"left").width,Ci=_r(hi.style,"top").width;if(yi===0&&Ci===0)return Jr;var Oi=hi.element.getBoundingClientRect(),Mn=hi.element.rows[0].cells[0],wo=Mn.getBoundingClientRect();if(wo.top==Oi.top||wo.left==Oi.left)return Oe(Jr).map(function(xo){return{left:xo.left+yi,top:xo.top+Ci,right:xo.right+yi,bottom:xo.bottom+Ci,height:xo.height,width:xo.width}})}}return Jr}function Do(Jr,hi,yi,Ci,Oi,Mn,wo,xo){if(yi<=0)return;var Ba,Eo=new be.Z;lr(Eo,xo),Ke.append(Eo),ti(Mn),ti(wo),Ba=new pe.y({fill:{color:Jr},stroke:null}),Eo.append(Ba),Ba.moveTo(Mn.x?Math.max(Mn.x,Ci):0,0).lineTo(hi-(wo.x?Math.max(wo.x,Oi):0),0).lineTo(hi-Math.max(wo.x,Oi),yi).lineTo(Math.max(Mn.x,Ci),yi).close(),Mn.x&&pa(Ci,Mn,[-1,0,0,1,Mn.x,0]),wo.x&&pa(Oi,wo,[1,0,0,1,hi-wo.x,0]);function pa(va,oa,xs){var ls=Math.PI/2*va/(va+yi),Wa={x:oa.x-va,y:oa.y-yi},si=new pe.y({fill:{color:Jr},stroke:null}).moveTo(0,0);lr(si,xs),Yn(si,0,oa.y,{startAngle:-90,endAngle:-Dn(ls),radiusX:oa.x,radiusY:oa.y}),Wa.x>0&&Wa.y>0?(si.lineTo(Wa.x*Math.cos(ls),oa.y-Wa.y*Math.sin(ls)),Yn(si,0,oa.y,{startAngle:-Dn(ls),endAngle:-90,radiusX:Wa.x,radiusY:Wa.y,anticlockwise:!0})):Wa.x>0?si.lineTo(Wa.x,yi).lineTo(0,yi):si.lineTo(Wa.x,yi).lineTo(Wa.x,0),Eo.append(si.close())}}function Ki(Jr){var hi=new be.Z;if(Yr(hi,Ct(Jr,zt,rn,xn,On)),Ke.append(hi),jn){var yi=new pe.y({fill:{color:jn.toCssRgba()},stroke:null});yi.moveTo(Jr.left,Jr.top).lineTo(Jr.right,Jr.top).lineTo(Jr.right,Jr.bottom).lineTo(Jr.left,Jr.bottom).close(),hi.append(yi)}for(var Ci=to.length;--Ci>=0;)fi(hi,Jr,to[Ci],ki[Ci%ki.length],zo[Ci%zo.length],Ko[Ci%Ko.length],uo[Ci%uo.length])}function fi(Jr,hi,yi,Ci,Oi,Mn,wo){if(!yi||yi=="none")return;if(yi.type=="url"){var xo=Qt[yi.url];xo&&xo.width>0&&xo.height>0&&Ba(Jr,hi,xo.width,xo.height,function(Eo,pa){Eo.append(new Ne(yi.url,pa))})}else if(yi.type=="linear")Ba(Jr,hi,hi.width,hi.height,In(yi));else return;function Ba(Eo,pa,va,oa,xs){var ls=va/oa,Wa,si=pa;if(Mn=="content-box"?(si=Zn(si,"border-*-width",je),si=Zn(si,"padding-*",je)):Mn=="padding-box"&&(si=Zn(si,"border-*-width",je)),!/^\s*auto(\s+auto)?\s*$/.test(wo))if(wo=="contain")Wa=Math.min(si.width/va,si.height/oa),va*=Wa,oa*=Wa;else if(wo=="cover")Wa=Math.max(si.width/va,si.height/oa),va*=Wa,oa*=Wa;else{var Rs=wo.split(/\s+/g);/%$/.test(Rs[0])?va=si.width*parseFloat(Rs[0])/100:va=parseFloat(Rs[0]),Rs.length==1||Rs[1]=="auto"?oa=va/ls:/%$/.test(Rs[1])?oa=si.height*parseFloat(Rs[1])/100:oa=parseFloat(Rs[1])}var Ta=String(Oi);switch(Ta){case"bottom":Ta="50% 100%";break;case"top":Ta="50% 0";break;case"left":Ta="0 50%";break;case"right":Ta="100% 50%";break;case"center":Ta="50% 50%";break}Ta=Ta.split(/\s+/),Ta.length==1&&(Ta[1]="50%"),/%$/.test(Ta[0])?Ta[0]=parseFloat(Ta[0])/100*(si.width-va):Ta[0]=parseFloat(Ta[0]),/%$/.test(Ta[1])?Ta[1]=parseFloat(Ta[1])/100*(si.height-oa):Ta[1]=parseFloat(Ta[1]);var Ka=new f.Z([si.left+Ta[0],si.top+Ta[1]],[va,oa]);function Fl(){for(;Ka.origin.x>pa.left;)Ka.origin.x-=va}function wl(){for(;Ka.origin.y>pa.top;)Ka.origin.y-=oa}function El(){for(;Ka.origin.x<pa.right;)xs(Eo,Ka.clone()),Ka.origin.x+=va}if(Ci=="no-repeat")xs(Eo,Ka);else if(Ci=="repeat-x")Fl(),El();else if(Ci=="repeat-y")for(wl();Ka.origin.y<pa.bottom;)xs(Eo,Ka.clone()),Ka.origin.y+=oa;else if(Ci=="repeat"){Fl(),wl();for(var tu=Ka.origin.clone();Ka.origin.y<pa.bottom;)Ka.origin.x=tu.x,El(),Ka.origin.y+=oa}}}function oi(){var Jr=vr(ht,"list-style-type");if(Jr=="none")return;var hi=vr(ht,"list-style-position");function yi(Oi){Hr(je,function(){je.style.position="relative";var Mn=je.ownerDocument.createElement(st);Mn.style.position="absolute",Mn.style.boxSizing="border-box",hi=="outside"?(Mn.style.width="6em",Mn.style.left="-6.8em",Mn.style.textAlign="right"):Mn.style.left="0px",Oi(Mn),je.insertBefore(Mn,je.firstChild),no(Mn,Ke),je.removeChild(Mn)})}function Ci(Oi){var Mn=je.parentNode.children,wo=je.getAttribute("kendo-split-index");if(wo!=null)return Oi(wo|0,Mn.length);for(var xo=0;xo<Mn.length;++xo)if(Mn[xo]===je)return Oi(xo,Mn.length)}switch(Jr){case"circle":case"disc":case"square":yi(function(Oi){Oi.innerHTML="&nbsp;",Oi.setAttribute(Ft,Jr)});break;case"decimal":case"decimal-leading-zero":yi(function(Oi){Ci(function(Mn){++Mn,Jr=="decimal-leading-zero"&&Mn<10&&(Mn="0"+Mn),Oi.innerHTML=Mn+"."})});break;case"lower-roman":case"upper-roman":yi(function(Oi){Ci(function(Mn){Mn=A(Mn+1),Jr=="upper-roman"&&(Mn=Mn.toUpperCase()),Oi.innerHTML=Mn+"."})});break;case"lower-latin":case"lower-alpha":case"upper-latin":case"upper-alpha":yi(function(Oi){Ci(function(Mn){Mn=At(Mn),/^upper/i.test(Jr)&&(Mn=Mn.toUpperCase()),Oi.innerHTML=Mn+"."})});break}}function _i(Jr,hi,yi){if(Jr.width===0||Jr.height===0)return;Ki(Jr);var Ci=yr.width>0&&(hi&&Kn=="ltr"||yi&&Kn=="rtl"),Oi=Dt.width>0&&(yi&&Kn=="ltr"||hi&&Kn=="rtl");if(Bt.width===0&&yr.width===0&&Dt.width===0&&Yt.width===0)return;if(Bt.color==Dt.color&&Bt.color==Yt.color&&Bt.color==yr.color&&Bt.width==Dt.width&&Bt.width==Yt.width&&Bt.width==yr.width&&Ci&&Oi){Jr=Zn(Jr,Bt.width/2);var Mn=_t(je,Jr,Bt.width/2);Mn.options.stroke={color:Bt.color,width:Bt.width},Ke.append(Mn);return}if(zt.x===0&&rn.x===0&&xn.x===0&&On.x===0&&Bt.width<2&&yr.width<2&&Dt.width<2&&Yt.width<2){Bt.width>0&&Ke.append(new pe.y({stroke:{width:Bt.width,color:Bt.color}}).moveTo(Jr.left,Jr.top+Bt.width/2).lineTo(Jr.right,Jr.top+Bt.width/2)),Yt.width>0&&Ke.append(new pe.y({stroke:{width:Yt.width,color:Yt.color}}).moveTo(Jr.left,Jr.bottom-Yt.width/2).lineTo(Jr.right,Jr.bottom-Yt.width/2)),Ci&&Ke.append(new pe.y({stroke:{width:yr.width,color:yr.color}}).moveTo(Jr.left+yr.width/2,Jr.top).lineTo(Jr.left+yr.width/2,Jr.bottom)),Oi&&Ke.append(new pe.y({stroke:{width:Dt.width,color:Dt.color}}).moveTo(Jr.right-Dt.width/2,Jr.top).lineTo(Jr.right-Dt.width/2,Jr.bottom));return}var wo=Wi(Jr,zt,rn,xn,On),xo=wo.tl,Ba=wo.tr,Eo=wo.br,pa=wo.bl;Do(Bt.color,Jr.width,Bt.width,yr.width,Dt.width,xo,Ba,[1,0,0,1,Jr.left,Jr.top]),Do(Yt.color,Jr.width,Yt.width,Dt.width,yr.width,Eo,pa,[-1,0,0,-1,Jr.right,Jr.bottom]);function va(oa){return{x:oa.y,y:oa.x}}Do(yr.color,Jr.height,yr.width,Yt.width,Bt.width,va(pa),va(xo),[0,-1,1,0,Jr.left,Jr.bottom]),Do(Dt.color,Jr.height,Dt.width,Bt.width,Yt.width,va(Ba),va(Eo),[0,1,-1,0,Jr.right,Jr.top])}}function In(je){return function(Ke,ht){var Bt=ht.width(),Dt=ht.height();switch(je.type){case"linear":var Yt=je.angle!=null?je.angle:Math.PI;switch(je.to){case"top":Yt=0;break;case"left":Yt=-Math.PI/2;break;case"bottom":Yt=Math.PI;break;case"right":Yt=Math.PI/2;break;case"top left":case"left top":Yt=-Math.atan2(Dt,Bt);break;case"top right":case"right top":Yt=Math.atan2(Dt,Bt);break;case"bottom left":case"left bottom":Yt=Math.PI+Math.atan2(Dt,Bt);break;case"bottom right":case"right bottom":Yt=Math.PI-Math.atan2(Dt,Bt);break}je.reverse&&(Yt-=Math.PI),Yt%=2*Math.PI,Yt<0&&(Yt+=2*Math.PI);var yr=Math.abs(Bt*Math.sin(Yt))+Math.abs(Dt*Math.cos(Yt)),zt=Math.atan(Bt*Math.tan(Yt)/Dt),rn=Math.sin(zt),On=Math.cos(zt),xn=Math.abs(rn)+Math.abs(On),Kn=xn/2*rn,jn=xn/2*On;Yt>Math.PI/2&&Yt<=3*Math.PI/2&&(Kn=-Kn,jn=-jn);var to=[],ki=0,zo=je.stops.map(function(ia,la){var so=ia.percent;so?so=parseFloat(so)/100:ia.length?so=parseFloat(ia.length)/yr:la===0?so=0:la==je.stops.length-1&&(so=1);var zi={color:ia.color.toCssRgba(),offset:so};return so!=null?(ki=so,to.forEach(function(Xi,ua){var ta=Xi.stop;ta.offset=Xi.left+(ki-Xi.left)*(ua+1)/(to.length+1)}),to=[]):to.push({left:ki,stop:zi}),zi}),Ko=[.5-Kn,.5+jn],uo=[.5+Kn,.5-jn];Ke.append(pe.y.fromRect(ht).stroke(null).fill(new Me({start:Ko,end:uo,stops:zo,userSpace:!1})));break;case"radial":window.console&&window.console.log&&window.console.log("Radial gradients are not yet supported in HTML renderer");break}}}function Vr(je,Ke){var ht;if(je._kendoExportVisual)ht=je._kendoExportVisual();else if(window.kendo&&window.kendo.jQuery&&je.getAttribute(window.kendo.attr("role"))){var Bt=window.kendo.widgetInstance(window.kendo.jQuery(je));Bt&&(Bt.exportDOMVisual||Bt.exportVisual)&&(Bt.exportDOMVisual?ht=Bt.exportDOMVisual():ht=Bt.exportVisual())}if(!ht)return!1;var Dt=new be.Z;Dt.children.push(ht);var Yt=je.getBoundingClientRect();return Dt.transform(u.Z().translate(Yt.left,Yt.top)),Ke.append(Dt),!0}function Fn(je,Ke){var ht=je.getAttribute(Ft);if(!ht)return!1;var Bt=je.getBoundingClientRect(),Dt=on(je).color;if(ht==="square"){var Yt=Bt.height/5;Ke.append(new he(new f.Z([Bt.right-Yt,Bt.top+Bt.height/2.1],[Yt,Yt])).fill(Dt).stroke(Dt))}else{var yr=Bt.height/7,zt=[Bt.right-yr,Bt.top+(Bt.height+yr)/2],rn=new me(new S(zt,yr));ht==="circle"?rn.stroke(Dt,.5):rn.fill(Dt).stroke(null),Ke.append(rn)}return!0}function An(je,Ke,ht){var Bt=un(je),Dt=new f.Z([Bt.left,Bt.top],[Bt.width,Bt.height]),Yt=new Ne(Ke,Dt);Yr(Yt,_t(je,Bt,"content")),ht.append(Yt)}function zn(je,Ke){var ht=on(je),Bt=on(Ke),Dt=parseFloat(vr(ht,"z-index")),Yt=parseFloat(vr(Bt,"z-index")),yr=vr(ht,"position"),zt=vr(Bt,"position");return isNaN(Dt)&&isNaN(Yt)?/static|absolute/.test(yr)&&/static|absolute/.test(zt)?0:yr=="static"?-1:zt=="static"?1:0:isNaN(Dt)?Yt===0?0:Yt>0?-1:1:isNaN(Yt)?Dt===0?0:Dt>0?1:-1:parseFloat(Dt)-parseFloat(Yt)}function bi(je){return/^(?:textarea|select|input)$/i.test(je.tagName)}function Si(je){return je.selectedOptions&&je.selectedOptions.length>0?je.selectedOptions[0]:je.options[je.selectedIndex]}function bo(je,Ke){var ht=on(je),Bt=vr(ht,"color"),Dt=je.getBoundingClientRect();je.type=="checkbox"?(Ke.append(pe.y.fromRect(new f.Z([Dt.left+1,Dt.top+1],[Dt.width-2,Dt.height-2])).stroke(Bt,1)),je.checked&&Ke.append(new pe.y().stroke(Bt,1.2).moveTo(Dt.left+.22*Dt.width,Dt.top+.55*Dt.height).lineTo(Dt.left+.45*Dt.width,Dt.top+.75*Dt.height).lineTo(Dt.left+.78*Dt.width,Dt.top+.22*Dt.width))):(Ke.append(new me(new S([(Dt.left+Dt.right)/2,(Dt.top+Dt.bottom)/2],Math.min(Dt.width-2,Dt.height-2)/2)).stroke(Bt,1)),je.checked&&Ke.append(new me(new S([(Dt.left+Dt.right)/2,(Dt.top+Dt.bottom)/2],Math.min(Dt.width-8,Dt.height-8)/2)).fill(Bt).stroke(null)))}function Fi(je,Ke){var ht=je.tagName.toLowerCase();if(ht=="input"&&(je.type=="checkbox"||je.type=="radio"))return bo(je,Ke);var Bt=je.parentNode,Dt=je.ownerDocument,Yt=Dt.createElement(st),yr;if(Yt.style.cssText=Pt(on(je)),ht=="input"&&(Yt.style.whiteSpace="pre"),(ht=="select"||ht=="textarea")&&(Yt.style.overflow="auto"),ht=="select")if(je.multiple)for(var zt=0;zt<je.options.length;++zt)yr=Dt.createElement(st),yr.style.cssText=Pt(on(je.options[zt])),yr.style.display="block",yr.textContent=je.options[zt].textContent,Yt.appendChild(yr);else yr=Si(je),yr&&(Yt.textContent=yr.textContent);else Yt.textContent=je.value;Bt.insertBefore(Yt,je),Yt.scrollLeft=je.scrollLeft,Yt.scrollTop=je.scrollTop,je.style.display="none",_o(Yt,Ke),je.style.display="",Bt.removeChild(Yt)}function mo(je){var Ke=new window.XMLSerializer,ht=Ke.serializeToString(je);if(Te.mozilla&&!(je.getAttribute("width")&&je.getAttribute("height"))){var Bt=new window.DOMParser().parseFromString(ht,"image/svg+xml"),Dt=Bt.documentElement,Yt=un(je);Dt.setAttribute("width",Yt.width),Dt.setAttribute("height",Yt.height),ht=Ke.serializeToString(Dt)}return ht}function _o(je,Ke){switch(Vt._stackingContext.element===je&&(Vt._stackingContext.group=Ke),je.tagName.toLowerCase()){case"img":An(je,je.src,Ke);break;case"svg":var ht=mo(je),Bt="data:image/svg+xml;base64,"+(0,De.Z)(ht);An(je,Bt,Ke);break;case"canvas":try{An(je,je.toDataURL("image/png"),Ke)}catch(Kn){}break;case"textarea":case"input":case"select":Fi(je,Ke);break;default:for(var Dt=[],Yt=[],yr=[],zt=je.firstChild;zt;zt=zt.nextSibling)switch(zt.nodeType){case 3:/\S/.test(zt.data)&&Ti(je,zt,Ke);break;case 1:var rn=on(zt),On=vr(rn,"float"),xn=vr(rn,"position");xn!="static"?yr.push(zt):On!="none"?Yt.push(zt):Dt.push(zt);break}w(Dt,zn).forEach(function(Kn){no(Kn,Ke)}),w(Yt,zn).forEach(function(Kn){no(Kn,Ke)}),w(yr,zn).forEach(function(Kn){no(Kn,Ke)})}}function Ti(je,Ke,ht){if(kr())return;var Bt=on(je);if(parseFloat(vr(Bt,"text-indent"))<-500)return;var Dt=Ke.data,Yt=0,yr=Dt.search(/\S\s*$/)+1;if(!yr)return;var zt=vr(Bt,"font-size"),rn=vr(Bt,"line-height"),On=[vr(Bt,"font-style"),vr(Bt,"font-variant"),vr(Bt,"font-weight"),zt,vr(Bt,"font-family")].join(" ");if(zt=parseFloat(zt),rn=parseFloat(rn),zt===0||isNaN(zt))return;var xn=vr(Bt,"color"),Kn=je.ownerDocument.createRange(),jn=vr(Bt,"text-align"),to=jn=="justify",ki=vr(Bt,"column-count",1),zo=vr(Bt,"white-space"),Ko=vr(Bt,"text-transform"),uo=je.getBoundingClientRect().width/zt*5;uo===0&&(uo=500);var ia=null,la=Vt.underline,so=Vt["line-through"],zi=Vt.overline,Xi=Vt["underline-offset"];for(la&&ua(fi);!Pi(););(so||zi)&&ua(Ki);return;function ua(oi){Kn.selectNode(Ke);var _i=Oe(Kn.getClientRects());ua=function(Jr){return _i.forEach(Jr)},ua(oi)}function ta(oi){if(Jt||Te.chrome||Te.safari){for(var _i=oi.getClientRects(),Jr={top:1/0,right:-1/0,bottom:-1/0,left:1/0},hi=!1,yi=0;yi<_i.length;++yi){var Ci=_i[yi];Ci.width<=1||Ci.bottom===ia||(Jr.left=Math.min(Ci.left,Jr.left),Jr.top=Math.min(Ci.top,Jr.top),Jr.right=Math.max(Ci.right,Jr.right),Jr.bottom=Math.max(Ci.bottom,Jr.bottom),hi=!0)}return hi?(Jr.width=Jr.right-Jr.left,Jr.height=Jr.bottom-Jr.top,Jr):oi.getBoundingClientRect()}return oi.getBoundingClientRect()}function Pi(){var oi=Yt,_i,Jr=Dt.substr(Yt).search(/\S/);if(Yt+=Jr,Jr<0||Yt>=yr)return!0;Kn.setStart(Ke,Yt),Kn.setEnd(Ke,Yt+1),_i=ta(Kn);var hi=!1;if((to||ki>1)&&(Jr=Dt.substr(Yt).search(/\s/),Jr>=0)){Kn.setEnd(Ke,Yt+Jr);var yi=ta(Kn);yi.bottom==_i.bottom&&(_i=yi,hi=!0,Yt+=Jr)}if(!hi){if(Jr=function xo(Ba,Eo,pa){Kn.setEnd(Ke,Eo);var va=ta(Kn);return va.bottom!=_i.bottom&&Ba<Eo?xo(Ba,Ba+Eo>>1,Eo):va.right!=_i.right?(_i=va,Eo<pa?xo(Eo,Eo+pa>>1,pa):Eo):Eo}(Yt,Math.min(yr,Yt+uo),yr),Jr==Yt)return!0;if(Yt=Jr,Jr=Kn.toString().search(/\s+$/),Jr===0)return!1;Jr>0&&(Kn.setEnd(Ke,Kn.startOffset+Jr),_i=ta(Kn))}Jt&&(_i=Kn.getClientRects()[0]);var Ci=Kn.toString();if(!/^(?:pre|pre-wrap)$/i.test(zo))Ci=Ci.replace(/\s+/g," ");else if(/\t/.test(Ci)){var Oi=0;for(Jr=oi;Jr<Kn.startOffset;++Jr){var Mn=Dt.charCodeAt(Jr);Mn==9?Oi+=8-Oi%8:Mn==10||Mn==13?Oi=0:Oi++}for(;(Jr=Ci.search("	"))>=0;){var wo="        ".substr(0,8-(Oi+Jr)%8);Ci=Ci.substr(0,Jr)+wo+Ci.substr(Jr+1)}}hi||(ia=_i.bottom),Ji(Ci,_i)}function Ji(oi,_i){if(Jt&&!isNaN(rn)){var Jr=et(On),hi=(_i.top+_i.bottom-Jr)/2;_i={top:hi,right:_i.right,bottom:hi+Jr,left:_i.left,height:Jr,width:_i.right-_i.left}}switch(Ko){case"uppercase":oi=oi.toUpperCase();break;case"lowercase":oi=oi.toLowerCase();break;case"capitalize":oi=oi.replace(/(?:^|\s)\S/g,function(Ci){return Ci.toUpperCase()});break}var yi=new Lr(oi,new f.Z([_i.left,_i.top],[_i.width,_i.height]),{font:On,fill:{color:xn}});ht.append(yi)}function Do(oi,_i,Jr,hi){if(Jr){var yi=new pe.y({stroke:{width:oi,color:Jr}});hi-=oi,yi.moveTo(_i.left,hi).lineTo(_i.right,hi),ht.append(yi)}}function Ki(oi){var _i=zt/12;Do(_i,oi,so,oi.bottom-oi.height/2.7),Do(_i,oi,zi,oi.top)}function fi(oi){var _i=zt/12,Jr=oi.bottom;Xi!=null?Jr+=Xi:Jr+=_i,Do(_i,oi,la,Jr)}}function ao(je,Ke,ht){var Bt;ht!="auto"?(Bt=Vt._stackingContext.group,ht=parseFloat(ht)):(Bt=Ke,ht=0);for(var Dt=Bt.children,Yt=0;Yt<Dt.length&&!(Dt[Yt]._dom_zIndex!=null&&Dt[Yt]._dom_zIndex>ht);++Yt);var yr=new be.Z;if(Bt.insert(Yt,yr),yr._dom_zIndex=ht,Bt!==Ke&&Vt._clipbox){var zt=Vt._matrix.invert(),rn=Vt._clipbox.transformCopy(zt);Yr(yr,pe.y.fromRect(rn))}return yr}function no(je,Ke){var ht=on(je);if(gr(ht),!/^(style|script|link|meta|iframe|col|colgroup)$/i.test(je.tagName)&&Vt._clipbox!=null){var Bt=parseFloat(vr(ht,"opacity")),Dt=vr(ht,"visibility"),Yt=vr(ht,"display");if(!(Bt===0||Dt=="hidden"||Yt=="none")){var yr=Jn(ht),zt,rn=vr(ht,"z-index");(yr||Bt<1)&&rn=="auto"&&(rn=0),zt=ao(je,Ke,rn),Bt<1&&zt.opacity(Bt*zt.opacity()),qt(je,ht,zt),yr?Hr(je,function(){Dr(je.style,"transform","none","important"),Dr(je.style,"transition","none","important"),vr(ht,"position")=="static"&&Dr(je.style,"position","relative","important");var On=je.getBoundingClientRect(),xn=On.left+yr.origin[0],Kn=On.top+yr.origin[1],jn=[1,0,0,1,-xn,-Kn];jn=Ir(jn,yr.matrix),jn=Ir(jn,[1,0,0,1,xn,Kn]),jn=lr(zt,jn),Vt._matrix=Vt._matrix.multiplyCopy(jn),qr(je,zt)}):qr(je,zt),sr()}}}function Ir(je,Ke){var ht=je[0],Bt=je[1],Dt=je[2],Yt=je[3],yr=je[4],zt=je[5],rn=Ke[0],On=Ke[1],xn=Ke[2],Kn=Ke[3],jn=Ke[4],to=Ke[5];return[ht*rn+Bt*xn,ht*On+Bt*Kn,Dt*rn+Yt*xn,Dt*On+Yt*Kn,yr*rn+zt*xn+jn,yr*On+zt*Kn+to]}},99307:function(_e,$,t){"use strict";var n=t(18258),f=t(67812),l=n.Z.IDENTITY.toString(),u=function(m){return function(v){function M(){v.apply(this,arguments)}return v&&(M.__proto__=v),M.prototype=Object.create(v&&v.prototype),M.prototype.constructor=M,M.prototype.bbox=function(W){var re=(0,f.Z)(this.currentTransform(W)),se=re?re.toString():l,S;this._bboxCache&&this._matrixHash===se?S=this._bboxCache.clone():(S=this._bbox(re),this._bboxCache=S?S.clone():null,this._matrixHash=se);var J=this.options.get("stroke.width");return J&&S&&S.expand(J/2),S},M.prototype.geometryChange=function(){delete this._bboxCache,this.trigger("geometryChange",{element:this})},M}(m)};$.Z=u},30553:function(_e,$,t){"use strict";var n=t(23087),f="Gradient",l=function(u){return function(m){function v(){m.apply(this,arguments)}return m&&(v.__proto__=m),v.prototype=Object.create(m&&m.prototype),v.prototype.constructor=v,v.prototype.fill=function(ee,W){var re=this.options;if((0,n.Z)(ee)){if(ee&&ee.nodeType!==f){var se={color:ee};(0,n.Z)(W)&&(se.opacity=W),re.set("fill",se)}else re.set("fill",ee);return this}return re.get("fill")},v.prototype.stroke=function(ee,W,re){return(0,n.Z)(ee)?(this.options.set("stroke.color",ee),(0,n.Z)(W)&&this.options.set("stroke.width",W),(0,n.Z)(re)&&this.options.set("stroke.opacity",re),this):this.options.get("stroke")},v}(u)};$.Z=l},21121:function(_e,$){"use strict";function t(u){return function(m){return this[u]!==m&&(this[u]=m,this.geometryChange()),this}}function n(u){return function(){return this[u]}}function f(u,m){for(var v=0;v<m.length;v++){var M=m[v],ee=M.charAt(0).toUpperCase()+M.substring(1,M.length);u["set"+ee]=t(M),u["get"+ee]=n(M)}}var l=function(u,m){var v=function(M){function ee(){M.apply(this,arguments)}return M&&(ee.__proto__=M),ee.prototype=Object.create(M&&M.prototype),ee.prototype.constructor=ee,ee}(u);return f(v.prototype,m),v};$.Z=l},43805:function(_e,$,t){"use strict";var n=t(23087),f=t(51004);function l(v){var M="_"+v;return function(ee){return(0,n.Z)(ee)?(this._observerField(M,f.Z.create(ee)),this.geometryChange(),this):this[M]}}function u(v,M){for(var ee=0;ee<M.length;ee++)v[M[ee]]=l(M[ee])}var m=function(v,M){var ee=function(W){function re(){W.apply(this,arguments)}return W&&(re.__proto__=W),re.prototype=Object.create(W&&W.prototype),re.prototype.constructor=re,re}(v);return u(ee.prototype,M),ee};$.Z=m},38572:function(_e,$,t){"use strict";t.d($,{BB:function(){return Bi},Q$:function(){return Rl},qL:function(){return Ei},pl:function(){return Gs},VI:function(){return Na},M:function(){return Ni},hR:function(){return ri},lL:function(){return gi},$h:function(){return ol}});var n=t(60307),f=typeof Uint8Array!="undefined"&&n.Z.browser&&(!n.Z.browser.msie||n.Z.browser.version>9),l=function(){var y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return{decode:function(ye){for(var oe=ye.replace(/[^A-Za-z0-9\+\/\=]/g,""),ne=0,He=oe.length,nt=[];ne<He;){var bt=y.indexOf(oe.charAt(ne++)),vt=y.indexOf(oe.charAt(ne++)),jr=y.indexOf(oe.charAt(ne++)),Ht=y.indexOf(oe.charAt(ne++)),hr=bt<<2|vt>>>4,Tn=(vt&15)<<4|jr>>>2,Sn=(jr&3)<<6|Ht;nt.push(hr),jr!=64&&nt.push(Tn),Ht!=64&&nt.push(Sn)}return nt},encode:function(ye){for(var oe=0,ne=ye.length,He="";oe<ne;){var nt=ye[oe++],bt=ye[oe++],vt=ye[oe++],jr=nt>>>2,Ht=(nt&3)<<4|bt>>>4,hr=(bt&15)<<2|vt>>>6,Tn=vt&63;oe-ne==2?hr=Tn=64:oe-ne==1&&(Tn=64),He+=y.charAt(jr)+y.charAt(Ht)+y.charAt(hr)+y.charAt(Tn)}return He}}}();function u(y){var ye=0,oe=0;y==null?y=f?new Uint8Array(256):[]:oe=y.length;var ne=f?function(Pn){if(Pn>=y.length){var vi=new Uint8Array(Math.max(Pn+256,y.length*2));vi.set(y,0),y=vi}}:function(){},He=f?function(){return new Uint8Array(y.buffer,0,oe)}:function(){return y},nt=f?function(Pn){if(typeof Pn=="string")return Wn(Pn);var vi=Pn.length;ne(ye+vi),y.set(Pn,ye),ye+=vi,ye>oe&&(oe=ye)}:function(Pn){if(typeof Pn=="string")return Wn(Pn);for(var vi=0;vi<Pn.length;++vi)Ht(Pn[vi])},bt=f?function(Pn,vi){if(y.buffer.slice)return new Uint8Array(y.buffer.slice(Pn,Pn+vi));var wa=new Uint8Array(vi);return wa.set(new Uint8Array(y.buffer,Pn,vi)),wa}:function(Pn,vi){return y.slice(Pn,Pn+vi)};function vt(){return ye>=oe}function jr(){return ye<oe?y[ye++]:0}function Ht(Pn){ne(ye),y[ye++]=Pn&255,ye>oe&&(oe=ye)}function hr(){return jr()<<8|jr()}function Tn(Pn){Ht(Pn>>8),Ht(Pn)}function Sn(){var Pn=hr();return Pn>=32768?Pn-65536:Pn}function an(Pn){Tn(Pn<0?Pn+65536:Pn)}function ni(){return hr()*65536+hr()}function Li(Pn){Tn(Pn>>>16&65535),Tn(Pn&65535)}function tt(){var Pn=ni();return Pn>=2147483648?Pn-4294967296:Pn}function at(Pn){Li(Pn<0?Pn+4294967296:Pn)}function $t(){return ni()/65536}function Fr(Pn){Li(Math.round(Pn*65536))}function Xr(){return tt()/65536}function Ln(Pn){at(Math.round(Pn*65536))}function xi(Pn){return ai(Pn,jr)}function Cn(Pn){return String.fromCharCode.apply(String,xi(Pn))}function Wn(Pn){for(var vi=0;vi<Pn.length;++vi)Ht(Pn.charCodeAt(vi))}function ai(Pn,vi){for(var wa=new Array(Pn),Qo=0;Qo<Pn;++Qo)wa[Qo]=vi();return wa}var ci={eof:vt,readByte:jr,writeByte:Ht,readShort:hr,writeShort:Tn,readLong:ni,writeLong:Li,readFixed:$t,writeFixed:Fr,readShort_:Sn,writeShort_:an,readLong_:tt,writeLong_:at,readFixed_:Xr,writeFixed_:Ln,read:xi,write:nt,readString:Cn,writeString:Wn,times:ai,get:He,slice:bt,offset:function(Pn){return Pn!=null?(ye=Pn,ci):ye},skip:function(Pn){ye+=Pn},toString:function(){throw new Error("FIX CALLER.  BinaryStream is no longer convertible to string!")},length:function(){return oe},saveExcursion:function(Pn){var vi=ye;try{return Pn()}finally{ye=vi}},writeBase64:function(Pn){window.atob?Wn(window.atob(Pn)):nt(l.decode(Pn))},base64:function(){return l.encode(He())}};return ci}function m(y){for(var ye=[],oe=0,ne=y.length,He,nt;oe<ne;)He=y.charCodeAt(oe++),He>=55296&&He<=56319&&oe<ne?(nt=y.charCodeAt(oe++),(nt&64512)==56320?ye.push(((He&1023)<<10)+(nt&1023)+65536):(ye.push(He),oe--)):ye.push(He);return ye}function v(y){return y.map(function(ye){var oe="";return ye>65535&&(ye-=65536,oe+=String.fromCharCode(ye>>>10&1023|55296),ye=56320|ye&1023),oe+=String.fromCharCode(ye),oe}).join("")}function M(y){for(var ye=window.atob(y),oe=new Uint8Array(ye.length),ne=0;ne<ye.length;ne++)oe[ne]=ye.charCodeAt(ne);return oe}function ee(y){for(var ye=new Uint8Array(y.length),oe=0;oe<y.length;oe++)ye[oe]=y[oe];return ye}function W(y){return window.atob?M(y):ee(l.decode(y))}function re(y,ye){return Object.prototype.hasOwnProperty.call(y,ye)}function se(y){return Object.keys(y).sort(function(ye,oe){return ye-oe}).map(parseFloat)}var S=function(ye){this.raw=ye,this.scalerType=ye.readLong(),this.tableCount=ye.readShort(),this.searchRange=ye.readShort(),this.entrySelector=ye.readShort(),this.rangeShift=ye.readShort();for(var oe=this.tables={},ne=0;ne<this.tableCount;++ne){var He={tag:ye.readString(4),checksum:ye.readLong(),offset:ye.readLong(),length:ye.readLong()};oe[He.tag]=He}};S.prototype.readTable=function(ye,oe){var ne=this.tables[ye];if(!ne)throw new Error("Table "+ye+" not found in directory");return this[ye]=ne.table=new oe(this,ne)},S.prototype.render=function(ye){var oe=this,ne=Object.keys(ye).length,He=Math.pow(2,Math.floor(Math.log(ne)/Math.LN2)),nt=He*16,bt=Math.floor(Math.log(He)/Math.LN2),vt=ne*16-nt,jr=u();jr.writeLong(this.scalerType),jr.writeShort(ne),jr.writeShort(nt),jr.writeShort(bt),jr.writeShort(vt);var Ht=ne*16,hr=jr.offset()+Ht,Tn=null,Sn=u();for(var an in ye)if(re(ye,an)){var ni=ye[an];for(jr.writeString(an),jr.writeLong(oe.checksum(ni)),jr.writeLong(hr),jr.writeLong(ni.length),Sn.write(ni),an=="head"&&(Tn=hr),hr+=ni.length;hr%4;)Sn.writeByte(0),hr++}jr.write(Sn.get());var Li=this.checksum(jr.get()),tt=2981146554-Li;return jr.offset(Tn+8),jr.writeLong(tt),jr.get()},S.prototype.checksum=function(ye){ye=u(ye);for(var oe=0;!ye.eof();)oe+=ye.readLong();return oe&4294967295};var J=function(ye,oe){this.definition=oe,this.length=oe.length,this.offset=oe.offset,this.file=ye,this.rawData=ye.raw,this.parse(ye.raw)};J.prototype.raw=function(){return this.rawData.slice(this.offset,this.length)},J.prototype.parse=function(){};var T=function(y){function ye(){y.apply(this,arguments)}return y&&(ye.__proto__=y),ye.prototype=Object.create(y&&y.prototype),ye.prototype.constructor=ye,ye.prototype.parse=function(ne){ne.offset(this.offset),this.version=ne.readLong(),this.revision=ne.readLong(),this.checkSumAdjustment=ne.readLong(),this.magicNumber=ne.readLong(),this.flags=ne.readShort(),this.unitsPerEm=ne.readShort(),this.created=ne.read(8),this.modified=ne.read(8),this.xMin=ne.readShort_(),this.yMin=ne.readShort_(),this.xMax=ne.readShort_(),this.yMax=ne.readShort_(),this.macStyle=ne.readShort(),this.lowestRecPPEM=ne.readShort(),this.fontDirectionHint=ne.readShort_(),this.indexToLocFormat=ne.readShort_(),this.glyphDataFormat=ne.readShort_()},ye.prototype.render=function(ne){var He=u();return He.writeLong(this.version),He.writeLong(this.revision),He.writeLong(0),He.writeLong(this.magicNumber),He.writeShort(this.flags),He.writeShort(this.unitsPerEm),He.write(this.created),He.write(this.modified),He.writeShort_(this.xMin),He.writeShort_(this.yMin),He.writeShort_(this.xMax),He.writeShort_(this.yMax),He.writeShort(this.macStyle),He.writeShort(this.lowestRecPPEM),He.writeShort_(this.fontDirectionHint),He.writeShort_(ne),He.writeShort_(this.glyphDataFormat),He.get()},ye}(J),V=function(y){function ye(){y.apply(this,arguments)}return y&&(ye.__proto__=y),ye.prototype=Object.create(y&&y.prototype),ye.prototype.constructor=ye,ye.prototype.parse=function(ne){ne.offset(this.offset);var He=this.file.head.indexToLocFormat;He===0?this.offsets=ne.times(this.length/2,function(){return 2*ne.readShort()}):this.offsets=ne.times(this.length/4,ne.readLong)},ye.prototype.offsetOf=function(ne){return this.offsets[ne]},ye.prototype.lengthOf=function(ne){return this.offsets[ne+1]-this.offsets[ne]},ye.prototype.render=function(ne){for(var He=u(),nt=ne[ne.length-1]>65535,bt=0;bt<ne.length;++bt)nt?He.writeLong(ne[bt]):He.writeShort(ne[bt]/2);return{format:nt?1:0,table:He.get()}},ye}(J),L=function(y){function ye(){y.apply(this,arguments)}return y&&(ye.__proto__=y),ye.prototype=Object.create(y&&y.prototype),ye.prototype.constructor=ye,ye.prototype.parse=function(ne){ne.offset(this.offset),this.version=ne.readLong(),this.ascent=ne.readShort_(),this.descent=ne.readShort_(),this.lineGap=ne.readShort_(),this.advanceWidthMax=ne.readShort(),this.minLeftSideBearing=ne.readShort_(),this.minRightSideBearing=ne.readShort_(),this.xMaxExtent=ne.readShort_(),this.caretSlopeRise=ne.readShort_(),this.caretSlopeRun=ne.readShort_(),this.caretOffset=ne.readShort_(),ne.skip(4*2),this.metricDataFormat=ne.readShort_(),this.numOfLongHorMetrics=ne.readShort()},ye.prototype.render=function(ne){var He=u();return He.writeLong(this.version),He.writeShort_(this.ascent),He.writeShort_(this.descent),He.writeShort_(this.lineGap),He.writeShort(this.advanceWidthMax),He.writeShort_(this.minLeftSideBearing),He.writeShort_(this.minRightSideBearing),He.writeShort_(this.xMaxExtent),He.writeShort_(this.caretSlopeRise),He.writeShort_(this.caretSlopeRun),He.writeShort_(this.caretOffset),He.write([0,0,0,0,0,0,0,0]),He.writeShort_(this.metricDataFormat),He.writeShort(ne.length),He.get()},ye}(J),c=function(y){function ye(){y.apply(this,arguments)}return y&&(ye.__proto__=y),ye.prototype=Object.create(y&&y.prototype),ye.prototype.constructor=ye,ye.prototype.parse=function(ne){ne.offset(this.offset),this.version=ne.readLong(),this.numGlyphs=ne.readShort(),this.maxPoints=ne.readShort(),this.maxContours=ne.readShort(),this.maxComponentPoints=ne.readShort(),this.maxComponentContours=ne.readShort(),this.maxZones=ne.readShort(),this.maxTwilightPoints=ne.readShort(),this.maxStorage=ne.readShort(),this.maxFunctionDefs=ne.readShort(),this.maxInstructionDefs=ne.readShort(),this.maxStackElements=ne.readShort(),this.maxSizeOfInstructions=ne.readShort(),this.maxComponentElements=ne.readShort(),this.maxComponentDepth=ne.readShort()},ye.prototype.render=function(ne){var He=u();return He.writeLong(this.version),He.writeShort(ne.length),He.writeShort(this.maxPoints),He.writeShort(this.maxContours),He.writeShort(this.maxComponentPoints),He.writeShort(this.maxComponentContours),He.writeShort(this.maxZones),He.writeShort(this.maxTwilightPoints),He.writeShort(this.maxStorage),He.writeShort(this.maxFunctionDefs),He.writeShort(this.maxInstructionDefs),He.writeShort(this.maxStackElements),He.writeShort(this.maxSizeOfInstructions),He.writeShort(this.maxComponentElements),He.writeShort(this.maxComponentDepth),He.get()},ye}(J),R=function(y){function ye(){y.apply(this,arguments)}return y&&(ye.__proto__=y),ye.prototype=Object.create(y&&y.prototype),ye.prototype.constructor=ye,ye.prototype.parse=function(ne){ne.offset(this.offset);var He=this.file,nt=He.hhea;this.metrics=ne.times(nt.numOfLongHorMetrics,function(){return{advance:ne.readShort(),lsb:ne.readShort_()}});var bt=He.maxp.numGlyphs-He.hhea.numOfLongHorMetrics;this.leftSideBearings=ne.times(bt,ne.readShort_)},ye.prototype.forGlyph=function(ne){var He=this.metrics,nt=He.length;return ne<nt?He[ne]:{advance:He[nt-1].advance,lsb:this.leftSideBearings[ne-nt]}},ye.prototype.render=function(ne){for(var He=this,nt=u(),bt=0;bt<ne.length;++bt){var vt=He.forGlyph(ne[bt]);nt.writeShort(vt.advance),nt.writeShort_(vt.lsb)}return nt.get()},ye}(J),B=function(){var y=function(hr){this.raw=hr},ye={compound:{configurable:!0}};ye.compound.get=function(){return!1},y.prototype.render=function(){return this.raw.get()},Object.defineProperties(y.prototype,ye);var oe=1,ne=8,He=32,nt=64,bt=128,vt=function(hr){this.raw=hr;for(var Tn=this.glyphIds=[],Sn=this.idOffsets=[];;){var an=hr.readShort();if(Sn.push(hr.offset()),Tn.push(hr.readShort()),!(an&He))break;hr.skip(an&oe?4:2),an&bt?hr.skip(8):an&nt?hr.skip(4):an&ne&&hr.skip(2)}},jr={compound:{configurable:!0}};return jr.compound.get=function(){return!0},vt.prototype.render=function(hr){for(var Tn=this,Sn=u(this.raw.get()),an=0;an<this.glyphIds.length;++an){var ni=Tn.glyphIds[an];Sn.offset(Tn.idOffsets[an]),Sn.writeShort(hr[ni])}return Sn.get()},Object.defineProperties(vt.prototype,jr),function(Ht){function hr(){Ht.apply(this,arguments)}return Ht&&(hr.__proto__=Ht),hr.prototype=Object.create(Ht&&Ht.prototype),hr.prototype.constructor=hr,hr.prototype.parse=function(){this.cache={}},hr.prototype.glyphFor=function(Sn){var an=this.cache;if(re(an,Sn))return an[Sn];var ni=this.file.loca,Li=ni.lengthOf(Sn);if(Li===0)return an[Sn]=null;var tt=this.rawData,at=this.offset+ni.offsetOf(Sn),$t=u(tt.slice(at,Li)),Fr=$t.readShort_(),Xr=$t.readShort_(),Ln=$t.readShort_(),xi=$t.readShort_(),Cn=$t.readShort_(),Wn=an[Sn]=Fr<0?new vt($t):new y($t);return Wn.numberOfContours=Fr,Wn.xMin=Xr,Wn.yMin=Ln,Wn.xMax=xi,Wn.yMax=Cn,Wn},hr.prototype.render=function(Sn,an,ni){for(var Li=u(),tt=[],at=0;at<an.length;++at){var $t=an[at],Fr=Sn[$t];Li.offset()%2&&Li.writeByte(0),tt.push(Li.offset()),Fr&&Li.write(Fr.render(ni))}return Li.offset()%2&&Li.writeByte(0),tt.push(Li.offset()),{table:Li.get(),offsets:tt}},hr}(J)}(),X=function(){var y=function(oe,ne){this.text=oe,this.length=oe.length,this.platformID=ne.platformID,this.platformSpecificID=ne.platformSpecificID,this.languageID=ne.languageID,this.nameID=ne.nameID};return function(ye){function oe(){ye.apply(this,arguments)}return ye&&(oe.__proto__=ye),oe.prototype=Object.create(ye&&ye.prototype),oe.prototype.constructor=oe,oe.prototype.parse=function(He){He.offset(this.offset),He.readShort();for(var nt=He.readShort(),bt=this.offset+He.readShort(),vt=He.times(nt,function(){return{platformID:He.readShort(),platformSpecificID:He.readShort(),languageID:He.readShort(),nameID:He.readShort(),length:He.readShort(),offset:He.readShort()+bt}}),jr=this.strings={},Ht=0;Ht<vt.length;++Ht){var hr=vt[Ht];He.offset(hr.offset);var Tn=He.readString(hr.length);jr[hr.nameID]||(jr[hr.nameID]=[]),jr[hr.nameID].push(new y(Tn,hr))}this.postscriptEntry=jr[6][0],this.postscriptName=this.postscriptEntry.text.replace(/[^\x20-\x7F]/g,"")},oe.prototype.render=function(He){var nt=this,bt=this.strings,vt=0;for(var jr in bt)re(bt,jr)&&(vt+=bt[jr].length);var Ht=u(),hr=u();Ht.writeShort(0),Ht.writeShort(vt),Ht.writeShort(6+12*vt);for(jr in bt)if(re(bt,jr))for(var Tn=jr==6?[new y(He,nt.postscriptEntry)]:bt[jr],Sn=0;Sn<Tn.length;++Sn){var an=Tn[Sn];Ht.writeShort(an.platformID),Ht.writeShort(an.platformSpecificID),Ht.writeShort(an.languageID),Ht.writeShort(an.nameID),Ht.writeShort(an.length),Ht.writeShort(hr.offset()),hr.writeString(an.text)}return Ht.write(hr.get()),Ht.get()},oe}(J)}(),g=function(){var y=".notdef .null nonmarkingreturn space exclam quotedbl numbersign dollar percent ampersand quotesingle parenleft parenright asterisk plus comma hyphen period slash zero one two three four five six seven eight nine colon semicolon less equal greater question at 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 bracketleft backslash bracketright asciicircum underscore grave 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 braceleft bar braceright asciitilde Adieresis Aring Ccedilla Eacute Ntilde Odieresis Udieresis aacute agrave acircumflex adieresis atilde aring ccedilla eacute egrave ecircumflex edieresis iacute igrave icircumflex idieresis ntilde oacute ograve ocircumflex odieresis otilde uacute ugrave ucircumflex udieresis dagger degree cent sterling section bullet paragraph germandbls registered copyright trademark acute dieresis notequal AE Oslash infinity plusminus lessequal greaterequal yen mu partialdiff summation product pi integral ordfeminine ordmasculine Omega ae oslash questiondown exclamdown logicalnot radical florin approxequal Delta guillemotleft guillemotright ellipsis nonbreakingspace Agrave Atilde Otilde OE oe endash emdash quotedblleft quotedblright quoteleft quoteright divide lozenge ydieresis Ydieresis fraction currency guilsinglleft guilsinglright fi fl daggerdbl periodcentered quotesinglbase quotedblbase perthousand Acircumflex Ecircumflex Aacute Edieresis Egrave Iacute Icircumflex Idieresis Igrave Oacute Ocircumflex apple Ograve Uacute Ucircumflex Ugrave dotlessi circumflex tilde macron breve dotaccent ring cedilla hungarumlaut ogonek caron Lslash lslash Scaron scaron Zcaron zcaron brokenbar Eth eth Yacute yacute Thorn thorn minus multiply onesuperior twosuperior threesuperior onehalf onequarter threequarters franc Gbreve gbreve Idotaccent Scedilla scedilla Cacute cacute Ccaron ccaron dcroat".split(/\s+/g);return function(ye){function oe(){ye.apply(this,arguments)}return ye&&(oe.__proto__=ye),oe.prototype=Object.create(ye&&ye.prototype),oe.prototype.constructor=oe,oe.prototype.parse=function(He){var nt=this;He.offset(this.offset),this.format=He.readLong(),this.italicAngle=He.readFixed_(),this.underlinePosition=He.readShort_(),this.underlineThickness=He.readShort_(),this.isFixedPitch=He.readLong(),this.minMemType42=He.readLong(),this.maxMemType42=He.readLong(),this.minMemType1=He.readLong(),this.maxMemType1=He.readLong();var bt;switch(this.format){case 65536:case 196608:break;case 131072:bt=He.readShort(),this.glyphNameIndex=He.times(bt,He.readShort),this.names=[];for(var vt=this.offset+this.length;He.offset()<vt;)nt.names.push(He.readString(He.readByte()));break;case 151552:bt=He.readShort(),this.offsets=He.read(bt);break;case 262144:this.map=He.times(this.file.maxp.numGlyphs,He.readShort);break}},oe.prototype.glyphFor=function(He){switch(this.format){case 65536:return y[He]||".notdef";case 131072:var nt=this.glyphNameIndex[He];return nt<y.length?y[nt]:this.names[nt-y.length]||".notdef";case 151552:case 196608:return".notdef";case 262144:return this.map[He]||65535}},oe.prototype.render=function(He){var nt=this;if(this.format==196608)return this.raw();var bt=u(this.rawData.slice(this.offset,32));bt.writeLong(131072),bt.offset(32);for(var vt=[],jr=[],Ht=0;Ht<He.length;++Ht){var hr=He[Ht],Tn=nt.glyphFor(hr),Sn=y.indexOf(Tn);Sn>=0?vt.push(Sn):(vt.push(y.length+jr.length),jr.push(Tn))}for(bt.writeShort(He.length),Ht=0;Ht<vt.length;++Ht)bt.writeShort(vt[Ht]);for(Ht=0;Ht<jr.length;++Ht)bt.writeByte(jr[Ht].length),bt.writeString(jr[Ht]);return bt.get()},oe}(J)}(),p=function(){var y=function(ne,He,nt){var bt=this;bt.platformID=ne.readShort(),bt.platformSpecificID=ne.readShort(),bt.offset=He+ne.readLong(),ne.saveExcursion(function(){var vt;switch(ne.offset(bt.offset),bt.format=ne.readShort(),bt.format){case 0:bt.length=ne.readShort(),bt.language=ne.readShort();for(var jr=0;jr<256;++jr)nt[jr]=ne.readByte();break;case 4:bt.length=ne.readShort(),bt.language=ne.readShort();var Ht=ne.readShort()/2;ne.skip(6);var hr=ne.times(Ht,ne.readShort);ne.skip(2);var Tn=ne.times(Ht,ne.readShort),Sn=ne.times(Ht,ne.readShort_),an=ne.times(Ht,ne.readShort),ni=(bt.length+bt.offset-ne.offset())/2,Li=ne.times(ni,ne.readShort);for(jr=0;jr<Ht;++jr){var tt=Tn[jr],at=hr[jr];for(vt=tt;vt<=at;++vt){var $t;if(an[jr]===0)$t=vt+Sn[jr];else{var Fr=an[jr]/2-(Ht-jr)+(vt-tt);$t=Li[Fr]||0,$t!==0&&($t+=Sn[jr])}nt[vt]=$t&65535}}break;case 6:bt.length=ne.readShort(),bt.language=ne.readShort(),vt=ne.readShort();for(var Xr=ne.readShort();Xr-- >0;)nt[vt++]=ne.readShort();break;case 12:ne.readShort(),bt.length=ne.readLong(),bt.language=ne.readLong();for(var Ln=ne.readLong();Ln-- >0;){vt=ne.readLong();for(var xi=ne.readLong(),Cn=ne.readLong();vt<=xi;)nt[vt++]=Cn++}break;default:window.console&&window.console.error("Unhandled CMAP format: "+bt.format)}})};function ye(oe,ne){var He=se(oe),nt=[],bt=[],vt=null,jr=null;function Ht(Pn){return ne[oe[Pn]]}for(var hr=0;hr<He.length;++hr){var Tn=He[hr],Sn=Ht(Tn),an=Sn-Tn;(vt==null||an!==jr)&&(vt&&bt.push(vt),nt.push(Tn),jr=an),vt=Tn}vt&&bt.push(vt),bt.push(65535),nt.push(65535);var ni=nt.length,Li=ni*2,tt=2*Math.pow(2,Math.floor(Math.log(ni)/Math.LN2)),at=Math.log(tt/2)/Math.LN2,$t=Li-tt,Fr=[],Xr=[],Ln=[];for(hr=0;hr<ni;++hr){var xi=nt[hr],Cn=bt[hr];if(xi==65535){Fr.push(0),Xr.push(0);break}var Wn=Ht(xi);if(xi-Wn>=32768){Fr.push(0),Xr.push(2*(Ln.length+ni-hr));for(var ai=xi;ai<=Cn;++ai)Ln.push(Ht(ai))}else Fr.push(Wn-xi),Xr.push(0)}var ci=u();return ci.writeShort(3),ci.writeShort(1),ci.writeLong(12),ci.writeShort(4),ci.writeShort(16+ni*8+Ln.length*2),ci.writeShort(0),ci.writeShort(Li),ci.writeShort(tt),ci.writeShort(at),ci.writeShort($t),bt.forEach(ci.writeShort),ci.writeShort(0),nt.forEach(ci.writeShort),Fr.forEach(ci.writeShort_),Xr.forEach(ci.writeShort),Ln.forEach(ci.writeShort),ci.get()}return function(oe){function ne(){oe.apply(this,arguments)}return oe&&(ne.__proto__=oe),ne.prototype=Object.create(oe&&oe.prototype),ne.prototype.constructor=ne,ne.prototype.parse=function(nt){var bt=this,vt=bt.offset;nt.offset(vt),bt.codeMap={},bt.version=nt.readShort();var jr=nt.readShort();bt.tables=nt.times(jr,function(){return new y(nt,vt,bt.codeMap)})},ne.render=function(nt,bt){var vt=u();return vt.writeShort(0),vt.writeShort(1),vt.write(ye(nt,bt)),vt.get()},ne}(J)}(),O=function(y){function ye(){y.apply(this,arguments)}return y&&(ye.__proto__=y),ye.prototype=Object.create(y&&y.prototype),ye.prototype.constructor=ye,ye.prototype.parse=function(ne){ne.offset(this.offset),this.version=ne.readShort(),this.averageCharWidth=ne.readShort_(),this.weightClass=ne.readShort(),this.widthClass=ne.readShort(),this.type=ne.readShort(),this.ySubscriptXSize=ne.readShort_(),this.ySubscriptYSize=ne.readShort_(),this.ySubscriptXOffset=ne.readShort_(),this.ySubscriptYOffset=ne.readShort_(),this.ySuperscriptXSize=ne.readShort_(),this.ySuperscriptYSize=ne.readShort_(),this.ySuperscriptXOffset=ne.readShort_(),this.ySuperscriptYOffset=ne.readShort_(),this.yStrikeoutSize=ne.readShort_(),this.yStrikeoutPosition=ne.readShort_(),this.familyClass=ne.readShort_(),this.panose=ne.times(10,ne.readByte),this.charRange=ne.times(4,ne.readLong),this.vendorID=ne.readString(4),this.selection=ne.readShort(),this.firstCharIndex=ne.readShort(),this.lastCharIndex=ne.readShort(),this.version>0&&(this.ascent=ne.readShort_(),this.descent=ne.readShort_(),this.lineGap=ne.readShort_(),this.winAscent=ne.readShort(),this.winDescent=ne.readShort(),this.codePageRange=ne.times(2,ne.readLong),this.version>1&&(this.xHeight=ne.readShort(),this.capHeight=ne.readShort(),this.defaultChar=ne.readShort(),this.breakChar=ne.readShort(),this.maxContext=ne.readShort()))},ye.prototype.render=function(){return this.raw()},ye}(J),I=1e5;function E(){for(var y="",ye=String(I),oe=0;oe<ye.length;++oe)y+=String.fromCharCode(ye.charCodeAt(oe)-48+65);return++I,y}var K=function(ye){this.font=ye,this.subset={},this.unicodes={},this.ogid2ngid={0:0},this.ngid2ogid={0:0},this.ncid2ogid={},this.next=this.firstChar=1,this.nextGid=1,this.psName=E()+"+"+this.font.psName};K.prototype.use=function(ye){var oe=this;if(typeof ye=="string")return m(ye).reduce(function(bt,vt){return bt+String.fromCharCode(oe.use(vt))},"");var ne=oe.unicodes[ye];if(!ne){ne=oe.next++,oe.subset[ne]=ye,oe.unicodes[ye]=ne;var He=oe.font.cmap.codeMap[ye];if(He&&(oe.ncid2ogid[ne]=He,oe.ogid2ngid[He]==null)){var nt=oe.nextGid++;oe.ogid2ngid[He]=nt,oe.ngid2ogid[nt]=He}}return ne},K.prototype.encodeText=function(ye){return this.use(ye)},K.prototype.glyphIds=function(){return se(this.ogid2ngid)},K.prototype.glyphsFor=function(ye,oe){var ne=this;oe||(oe={});for(var He=0;He<ye.length;++He){var nt=ye[He];if(!oe[nt]){var bt=oe[nt]=ne.font.glyf.glyphFor(nt);bt&&bt.compound&&ne.glyphsFor(bt.glyphIds,oe)}}return oe},K.prototype.render=function(){var ye=this,oe=this.glyphsFor(this.glyphIds());for(var ne in oe)if(re(oe,ne)&&(ne=parseInt(ne,10),ye.ogid2ngid[ne]==null)){var He=ye.nextGid++;ye.ogid2ngid[ne]=He,ye.ngid2ogid[He]=ne}var nt=se(this.ngid2ogid),bt=nt.map(function(Tn){return this.ngid2ogid[Tn]},this),vt=this.font,jr=vt.glyf.render(oe,bt,this.ogid2ngid),Ht=vt.loca.render(jr.offsets);this.lastChar=this.next-1;var hr={cmap:p.render(this.ncid2ogid,this.ogid2ngid),glyf:jr.table,loca:Ht.table,hmtx:vt.hmtx.render(bt),hhea:vt.hhea.render(bt),maxp:vt.maxp.render(bt),post:vt.post.render(bt),name:vt.name.render(this.psName),head:vt.head.render(Ht.format),"OS/2":vt.os2.render()};return this.font.directory.render(hr)},K.prototype.cidToGidMap=function(){for(var ye=this,oe=u(),ne=0,He=this.firstChar;He<this.next;++He){for(;ne<He;)oe.writeShort(0),ne++;var nt=ye.ncid2ogid[He];if(nt){var bt=ye.ogid2ngid[nt];oe.writeShort(bt)}else oe.writeShort(0);ne++}return oe.get()};var d=function(ye,oe){var ne=this,He=ne.contents=u(ye);if(He.readString(4)=="ttcf"){var nt,bt=function(){He.offset(nt),ne.parse()};if(!oe)throw new Error("Must specify a name for TTC files");He.readLong();for(var vt=He.readLong(),jr=0;jr<vt;++jr)if(nt=He.readLong(),He.saveExcursion(bt),ne.psName==oe)return;throw new Error("Font "+oe+" not found in collection")}else He.offset(0),ne.parse()};d.prototype.parse=function(){var ye=this.directory=new S(this.contents);this.head=ye.readTable("head",T),this.loca=ye.readTable("loca",V),this.hhea=ye.readTable("hhea",L),this.maxp=ye.readTable("maxp",c),this.hmtx=ye.readTable("hmtx",R),this.glyf=ye.readTable("glyf",B),this.name=ye.readTable("name",X),this.post=ye.readTable("post",g),this.cmap=ye.readTable("cmap",p),this.os2=ye.readTable("OS/2",O),this.psName=this.name.postscriptName,this.ascent=this.os2.ascent||this.hhea.ascent,this.descent=this.os2.descent||this.hhea.descent,this.lineGap=this.os2.lineGap||this.hhea.lineGap,this.scale=1e3/this.head.unitsPerEm},d.prototype.widthOfGlyph=function(ye){return this.hmtx.forGlyph(ye).advance*this.scale},d.prototype.makeSubset=function(){return new K(this)};var i=0,x=1,A=2,w=3,C=4,U=5,F=6,Y=0,le=1,ie=2,j=null,ue=-2,P=-3,Z=-5,ae=0,ce=1,be=9,pe=-1,h=1,te=2,Q=3,we=4,Se=0,Ne=0,ze=1,Je=2,qe=8;function Me(y,ye){return Object.prototype.hasOwnProperty.call(y,ye)}function Fe(y){for(var ye=Array.prototype.slice.call(arguments,1);ye.length;){var oe=ye.shift();if(oe){if(typeof oe!="object")throw new TypeError(oe+"must be non-object");for(var ne in oe)Me(oe,ne)&&(y[ne]=oe[ne])}}return y}function Ue(y,ye){return y.length===ye?y:y.subarray?y.subarray(0,ye):(y.length=ye,y)}var he={arraySet:function(y,ye,oe,ne,He){if(ye.subarray&&y.subarray){y.set(ye.subarray(oe,oe+ne),He);return}for(var nt=0;nt<ne;nt++)y[He+nt]=ye[oe+nt]},flattenChunks:function(y){var ye,oe,ne,He,nt,bt;for(ne=0,ye=0,oe=y.length;ye<oe;ye++)ne+=y[ye].length;for(bt=new Uint8Array(ne),He=0,ye=0,oe=y.length;ye<oe;ye++)nt=y[ye],bt.set(nt,He),He+=nt.length;return bt},Buf8:function(y){return new Uint8Array(y)},Buf16:function(y){return new Uint16Array(y)},Buf32:function(y){return new Int32Array(y)}},xe={arraySet:function(y,ye,oe,ne,He){for(var nt=0;nt<ne;nt++)y[He+nt]=ye[oe+nt]},flattenChunks:function(y){return[].concat.apply([],y)},Buf8:function(y){return new Array(y)},Buf16:function(y){return new Array(y)},Buf32:function(y){return new Array(y)}},q=function(){var y=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";return q=function(){return y},y},me=function(y,ye,oe,ne,He){return me=q()?he.arraySet:xe.arraySet,me(y,ye,oe,ne,He)},De=function(y){return De=q()?he.flattenChunks:xe.flattenChunks,De(y)},Te=function(y){return Te=q()?he.Buf8:xe.Buf8,Te(y)},Oe=function(y){return Oe=q()?he.Buf16:xe.Buf16,Oe(y)},st=function(y){return st=q()?he.Buf32:xe.Buf32,st(y)},Ft=function(){var y=!0;try{String.fromCharCode.apply(null,[0])}catch(ye){y=!1}return Ft=function(){return y},y},Qt=function(){var y=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(ye){y=!1}return Qt=function(){return y},y},Vt=function(y){for(var ye=Te(256),oe=0;oe<256;oe++)ye[oe]=oe>=252?6:oe>=248?5:oe>=240?4:oe>=224?3:oe>=192?2:1;return ye[254]=ye[254]=1,Vt=function(ne){return ye[ne]},ye[y]};function Gt(y){var ye,oe,ne,He,nt,bt=y.length,vt=0;for(He=0;He<bt;He++)oe=y.charCodeAt(He),(oe&64512)===55296&&He+1<bt&&(ne=y.charCodeAt(He+1),(ne&64512)===56320&&(oe=65536+(oe-55296<<10)+(ne-56320),He++)),vt+=oe<128?1:oe<2048?2:oe<65536?3:4;for(ye=new Uint8Array(vt),nt=0,He=0;nt<vt;He++)oe=y.charCodeAt(He),(oe&64512)===55296&&He+1<bt&&(ne=y.charCodeAt(He+1),(ne&64512)===56320&&(oe=65536+(oe-55296<<10)+(ne-56320),He++)),oe<128?ye[nt++]=oe:oe<2048?(ye[nt++]=192|oe>>>6,ye[nt++]=128|oe&63):oe<65536?(ye[nt++]=224|oe>>>12,ye[nt++]=128|oe>>>6&63,ye[nt++]=128|oe&63):(ye[nt++]=240|oe>>>18,ye[nt++]=128|oe>>>12&63,ye[nt++]=128|oe>>>6&63,ye[nt++]=128|oe&63);return ye}function Jt(y,ye){if(ye<65534&&(y.subarray&&Qt()||!y.subarray&&Ft()))return String.fromCharCode.apply(null,Ue(y,ye));for(var oe="",ne=0;ne<ye;ne++)oe+=String.fromCharCode(y[ne]);return oe}function Lr(y){return Jt(y,y.length)}function Rr(y){for(var ye=new Uint8Array(y.length),oe=0,ne=ye.length;oe<ne;oe++)ye[oe]=y.charCodeAt(oe);return ye}function Gr(y,ye){var oe,ne,He,nt,bt=ye||y.length,vt=new Array(bt*2);for(ne=0,oe=0;oe<bt;){if(He=y[oe++],He<128){vt[ne++]=He;continue}if(nt=Vt(He),nt>4){vt[ne++]=65533,oe+=nt-1;continue}for(He&=nt===2?31:nt===3?15:7;nt>1&&oe<bt;)He=He<<6|y[oe++]&63,nt--;if(nt>1){vt[ne++]=65533;continue}He<65536?vt[ne++]=He:(He-=65536,vt[ne++]=55296|He>>10&1023,vt[ne++]=56320|He&1023)}return Jt(vt,ne)}function zr(y,ye){var oe;for(ye=ye||y.length,ye>y.length&&(ye=y.length),oe=ye-1;oe>=0&&(y[oe]&192)===128;)oe--;return oe<0||oe===0?ye:oe+Vt(y[oe])>ye?oe:ye}function pr(y,ye,oe,ne){for(var He=y&65535|0,nt=y>>>16&65535|0,bt=0;oe!==0;){bt=oe>2e3?2e3:oe,oe-=bt;do He=He+ye[ne++]|0,nt=nt+He|0;while(--bt);He%=65521,nt%=65521}return He|nt<<16|0}function vn(){for(var y,ye=[],oe=0;oe<256;oe++){y=oe;for(var ne=0;ne<8;ne++)y=y&1?3988292384^y>>>1:y>>>1;ye[oe]=y}return ye}var fn=function(){var y=vn();return fn=function(){return y},y};function Zt(y,ye,oe,ne){var He=fn(),nt=ne+oe;y^=-1;for(var bt=ne;bt<nt;bt++)y=y>>>8^He[(y^ye[bt])&255];return y^-1}var St=30,Wt=12;function Nt(y,ye){var oe,ne,He,nt,bt,vt,jr,Ht,hr,Tn,Sn,an,ni,Li,tt,at,$t,Fr,Xr,Ln,xi,Cn,Wn,ai,ci;oe=y.state,ne=y.next_in,ai=y.input,He=ne+(y.avail_in-5),nt=y.next_out,ci=y.output,bt=nt-(ye-y.avail_out),vt=nt+(y.avail_out-257),jr=oe.dmax,Ht=oe.wsize,hr=oe.whave,Tn=oe.wnext,Sn=oe.window,an=oe.hold,ni=oe.bits,Li=oe.lencode,tt=oe.distcode,at=(1<<oe.lenbits)-1,$t=(1<<oe.distbits)-1;e:do{ni<15&&(an+=ai[ne++]<<ni,ni+=8,an+=ai[ne++]<<ni,ni+=8),Fr=Li[an&at];t:for(;;){if(Xr=Fr>>>24,an>>>=Xr,ni-=Xr,Xr=Fr>>>16&255,Xr===0)ci[nt++]=Fr&65535;else if(Xr&16){Ln=Fr&65535,Xr&=15,Xr&&(ni<Xr&&(an+=ai[ne++]<<ni,ni+=8),Ln+=an&(1<<Xr)-1,an>>>=Xr,ni-=Xr),ni<15&&(an+=ai[ne++]<<ni,ni+=8,an+=ai[ne++]<<ni,ni+=8),Fr=tt[an&$t];r:for(;;){if(Xr=Fr>>>24,an>>>=Xr,ni-=Xr,Xr=Fr>>>16&255,Xr&16){if(xi=Fr&65535,Xr&=15,ni<Xr&&(an+=ai[ne++]<<ni,ni+=8,ni<Xr&&(an+=ai[ne++]<<ni,ni+=8)),xi+=an&(1<<Xr)-1,xi>jr){y.msg="invalid distance too far back",oe.mode=St;break e}if(an>>>=Xr,ni-=Xr,Xr=nt-bt,xi>Xr){if(Xr=xi-Xr,Xr>hr&&oe.sane){y.msg="invalid distance too far back",oe.mode=St;break e}if(Cn=0,Wn=Sn,Tn===0){if(Cn+=Ht-Xr,Xr<Ln){Ln-=Xr;do ci[nt++]=Sn[Cn++];while(--Xr);Cn=nt-xi,Wn=ci}}else if(Tn<Xr){if(Cn+=Ht+Tn-Xr,Xr-=Tn,Xr<Ln){Ln-=Xr;do ci[nt++]=Sn[Cn++];while(--Xr);if(Cn=0,Tn<Ln){Xr=Tn,Ln-=Xr;do ci[nt++]=Sn[Cn++];while(--Xr);Cn=nt-xi,Wn=ci}}}else if(Cn+=Tn-Xr,Xr<Ln){Ln-=Xr;do ci[nt++]=Sn[Cn++];while(--Xr);Cn=nt-xi,Wn=ci}for(;Ln>2;)ci[nt++]=Wn[Cn++],ci[nt++]=Wn[Cn++],ci[nt++]=Wn[Cn++],Ln-=3;Ln&&(ci[nt++]=Wn[Cn++],Ln>1&&(ci[nt++]=Wn[Cn++]))}else{Cn=nt-xi;do ci[nt++]=ci[Cn++],ci[nt++]=ci[Cn++],ci[nt++]=ci[Cn++],Ln-=3;while(Ln>2);Ln&&(ci[nt++]=ci[Cn++],Ln>1&&(ci[nt++]=ci[Cn++]))}}else if(Xr&64){y.msg="invalid distance code",oe.mode=St;break e}else{Fr=tt[(Fr&65535)+(an&(1<<Xr)-1)];continue r}break}}else if(Xr&64)if(Xr&32){oe.mode=Wt;break e}else{y.msg="invalid literal/length code",oe.mode=St;break e}else{Fr=Li[(Fr&65535)+(an&(1<<Xr)-1)];continue t}break}}while(ne<He&&nt<vt);Ln=ni>>3,ne-=Ln,ni-=Ln<<3,an&=(1<<ni)-1,y.next_in=ne,y.next_out=nt,y.avail_in=ne<He?5+(He-ne):5-(ne-He),y.avail_out=nt<vt?257+(vt-nt):257-(nt-vt),oe.hold=an,oe.bits=ni}var dt=15,nr=852,et=592,Tt=0,Rt=1,or=2,ir=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],Qr=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],ft=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],tr=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];function gr(y,ye,oe,ne,He,nt,bt,vt){var jr=vt.bits,Ht=0,hr=0,Tn=0,Sn=0,an=0,ni=0,Li=0,tt=0,at=0,$t=0,Fr,Xr,Ln,xi,Cn,Wn=null,ai=0,ci,Pn=Oe(dt+1),vi=Oe(dt+1),wa=null,Qo=0,yt,Xn,Vi;for(Ht=0;Ht<=dt;Ht++)Pn[Ht]=0;for(hr=0;hr<ne;hr++)Pn[ye[oe+hr]]++;for(an=jr,Sn=dt;Sn>=1&&Pn[Sn]===0;Sn--);if(an>Sn&&(an=Sn),Sn===0)return He[nt++]=20971520,He[nt++]=20971520,vt.bits=1,0;for(Tn=1;Tn<Sn&&Pn[Tn]===0;Tn++);for(an<Tn&&(an=Tn),tt=1,Ht=1;Ht<=dt;Ht++)if(tt<<=1,tt-=Pn[Ht],tt<0)return-1;if(tt>0&&(y===Tt||Sn!==1))return-1;for(vi[1]=0,Ht=1;Ht<dt;Ht++)vi[Ht+1]=vi[Ht]+Pn[Ht];for(hr=0;hr<ne;hr++)ye[oe+hr]!==0&&(bt[vi[ye[oe+hr]]++]=hr);if(y===Tt?(Wn=wa=bt,ci=19):y===Rt?(Wn=ir,ai-=257,wa=Qr,Qo-=257,ci=256):(Wn=ft,wa=tr,ci=-1),$t=0,hr=0,Ht=Tn,Cn=nt,ni=an,Li=0,Ln=-1,at=1<<an,xi=at-1,y===Rt&&at>nr||y===or&&at>et)return 1;for(;;){yt=Ht-Li,bt[hr]<ci?(Xn=0,Vi=bt[hr]):bt[hr]>ci?(Xn=wa[Qo+bt[hr]],Vi=Wn[ai+bt[hr]]):(Xn=96,Vi=0),Fr=1<<Ht-Li,Xr=1<<ni,Tn=Xr;do Xr-=Fr,He[Cn+($t>>Li)+Xr]=yt<<24|Xn<<16|Vi|0;while(Xr!==0);for(Fr=1<<Ht-1;$t&Fr;)Fr>>=1;if(Fr!==0?($t&=Fr-1,$t+=Fr):$t=0,hr++,--Pn[Ht]===0){if(Ht===Sn)break;Ht=ye[oe+bt[hr]]}if(Ht>an&&($t&xi)!==Ln){for(Li===0&&(Li=an),Cn+=Tn,ni=Ht-Li,tt=1<<ni;ni+Li<Sn&&(tt-=Pn[ni+Li],!(tt<=0));)ni++,tt<<=1;if(at+=1<<ni,y===Rt&&at>nr||y===or&&at>et)return 1;Ln=$t&xi,He[Ln]=an<<24|ni<<16|Cn-nt|0}}return $t!==0&&(He[Cn+$t]=Ht-Li<<24|4194304|0),vt.bits=an,0}var ar=0,rt=1,kt=2,At=4,qt=5,sr=6,Kr=0,kr=1,nn=2,on=-2,vr=-3,Dr=-4,_r=-5,Hr=8,Pr=1,un=2,Zn=3,Jn=4,Dn=5,qn=6,lr=7,Yr=8,Yn=9,ti=10,Wi=11,_t=12,Ct=13,mt=14,br=15,Pt=16,qr=17,mn=18,In=19,Vr=20,Fn=21,An=22,zn=23,bi=24,Si=25,bo=26,Fi=27,mo=28,_o=29,Ti=30,ao=31,no=32,Ir=852,je=592;function Ke(y){return(y>>>24&255)+(y>>>8&65280)+((y&65280)<<8)+((y&255)<<24)}function ht(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=Oe(320),this.work=Oe(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Bt(y){var ye;return!y||!y.state?on:(ye=y.state,y.total_in=y.total_out=ye.total=0,y.msg="",ye.wrap&&(y.adler=ye.wrap&1),ye.mode=Pr,ye.last=0,ye.havedict=0,ye.dmax=32768,ye.head=null,ye.hold=0,ye.bits=0,ye.lencode=ye.lendyn=st(Ir),ye.distcode=ye.distdyn=st(je),ye.sane=1,ye.back=-1,Kr)}function Dt(y){var ye;return!y||!y.state?on:(ye=y.state,ye.wsize=0,ye.whave=0,ye.wnext=0,Bt(y))}function Yt(y,ye){var oe,ne;return!y||!y.state||(ne=y.state,ye<0?(oe=0,ye=-ye):(oe=(ye>>4)+1,ye<48&&(ye&=15)),ye&&(ye<8||ye>15))?on:(ne.window!==null&&ne.wbits!==ye&&(ne.window=null),ne.wrap=oe,ne.wbits=ye,Dt(y))}function yr(y,ye){var oe,ne;return y?(ne=new ht,y.state=ne,ne.window=null,oe=Yt(y,ye),oe!==Kr&&(y.state=null),oe):on}var zt=!0,rn,On;function xn(y){if(zt){var ye;for(rn=st(512),On=st(32),ye=0;ye<144;)y.lens[ye++]=8;for(;ye<256;)y.lens[ye++]=9;for(;ye<280;)y.lens[ye++]=7;for(;ye<288;)y.lens[ye++]=8;for(gr(rt,y.lens,0,288,rn,0,y.work,{bits:9}),ye=0;ye<32;)y.lens[ye++]=5;gr(kt,y.lens,0,32,On,0,y.work,{bits:5}),zt=!1}y.lencode=rn,y.lenbits=9,y.distcode=On,y.distbits=5}function Kn(y,ye,oe,ne){var He,nt=y.state;return nt.window===null&&(nt.wsize=1<<nt.wbits,nt.wnext=0,nt.whave=0,nt.window=Te(nt.wsize)),ne>=nt.wsize?(me(nt.window,ye,oe-nt.wsize,nt.wsize,0),nt.wnext=0,nt.whave=nt.wsize):(He=nt.wsize-nt.wnext,He>ne&&(He=ne),me(nt.window,ye,oe-ne,He,nt.wnext),ne-=He,ne?(me(nt.window,ye,oe-ne,ne,0),nt.wnext=ne,nt.whave=nt.wsize):(nt.wnext+=He,nt.wnext===nt.wsize&&(nt.wnext=0),nt.whave<nt.wsize&&(nt.whave+=He))),0}function jn(y,ye){var oe,ne,He,nt,bt,vt,jr,Ht,hr,Tn,Sn,an,ni,Li,tt=0,at,$t,Fr,Xr,Ln,xi,Cn,Wn,ai=Te(4),ci,Pn,vi=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!y||!y.state||!y.output||!y.input&&y.avail_in!==0)return on;oe=y.state,oe.mode===_t&&(oe.mode=Ct),bt=y.next_out,He=y.output,jr=y.avail_out,nt=y.next_in,ne=y.input,vt=y.avail_in,Ht=oe.hold,hr=oe.bits,Tn=vt,Sn=jr,Wn=Kr;e:for(;;)switch(oe.mode){case Pr:if(oe.wrap===0){oe.mode=Ct;break}for(;hr<16;){if(vt===0)break e;vt--,Ht+=ne[nt++]<<hr,hr+=8}if(oe.wrap&2&&Ht===35615){oe.check=0,ai[0]=Ht&255,ai[1]=Ht>>>8&255,oe.check=Zt(oe.check,ai,2,0),Ht=0,hr=0,oe.mode=un;break}if(oe.flags=0,oe.head&&(oe.head.done=!1),!(oe.wrap&1)||(((Ht&255)<<8)+(Ht>>8))%31){y.msg="incorrect header check",oe.mode=Ti;break}if((Ht&15)!==Hr){y.msg="unknown compression method",oe.mode=Ti;break}if(Ht>>>=4,hr-=4,Cn=(Ht&15)+8,oe.wbits===0)oe.wbits=Cn;else if(Cn>oe.wbits){y.msg="invalid window size",oe.mode=Ti;break}oe.dmax=1<<Cn,y.adler=oe.check=1,oe.mode=Ht&512?ti:_t,Ht=0,hr=0;break;case un:for(;hr<16;){if(vt===0)break e;vt--,Ht+=ne[nt++]<<hr,hr+=8}if(oe.flags=Ht,(oe.flags&255)!==Hr){y.msg="unknown compression method",oe.mode=Ti;break}if(oe.flags&57344){y.msg="unknown header flags set",oe.mode=Ti;break}oe.head&&(oe.head.text=Ht>>8&1),oe.flags&512&&(ai[0]=Ht&255,ai[1]=Ht>>>8&255,oe.check=Zt(oe.check,ai,2,0)),Ht=0,hr=0,oe.mode=Zn;case Zn:for(;hr<32;){if(vt===0)break e;vt--,Ht+=ne[nt++]<<hr,hr+=8}oe.head&&(oe.head.time=Ht),oe.flags&512&&(ai[0]=Ht&255,ai[1]=Ht>>>8&255,ai[2]=Ht>>>16&255,ai[3]=Ht>>>24&255,oe.check=Zt(oe.check,ai,4,0)),Ht=0,hr=0,oe.mode=Jn;case Jn:for(;hr<16;){if(vt===0)break e;vt--,Ht+=ne[nt++]<<hr,hr+=8}oe.head&&(oe.head.xflags=Ht&255,oe.head.os=Ht>>8),oe.flags&512&&(ai[0]=Ht&255,ai[1]=Ht>>>8&255,oe.check=Zt(oe.check,ai,2,0)),Ht=0,hr=0,oe.mode=Dn;case Dn:if(oe.flags&1024){for(;hr<16;){if(vt===0)break e;vt--,Ht+=ne[nt++]<<hr,hr+=8}oe.length=Ht,oe.head&&(oe.head.extra_len=Ht),oe.flags&512&&(ai[0]=Ht&255,ai[1]=Ht>>>8&255,oe.check=Zt(oe.check,ai,2,0)),Ht=0,hr=0}else oe.head&&(oe.head.extra=null);oe.mode=qn;case qn:if(oe.flags&1024&&(an=oe.length,an>vt&&(an=vt),an&&(oe.head&&(Cn=oe.head.extra_len-oe.length,oe.head.extra||(oe.head.extra=new Array(oe.head.extra_len)),me(oe.head.extra,ne,nt,an,Cn)),oe.flags&512&&(oe.check=Zt(oe.check,ne,an,nt)),vt-=an,nt+=an,oe.length-=an),oe.length))break e;oe.length=0,oe.mode=lr;case lr:if(oe.flags&2048){if(vt===0)break e;an=0;do Cn=ne[nt+an++],oe.head&&Cn&&oe.length<65536&&(oe.head.name+=String.fromCharCode(Cn));while(Cn&&an<vt);if(oe.flags&512&&(oe.check=Zt(oe.check,ne,an,nt)),vt-=an,nt+=an,Cn)break e}else oe.head&&(oe.head.name=null);oe.length=0,oe.mode=Yr;case Yr:if(oe.flags&4096){if(vt===0)break e;an=0;do Cn=ne[nt+an++],oe.head&&Cn&&oe.length<65536&&(oe.head.comment+=String.fromCharCode(Cn));while(Cn&&an<vt);if(oe.flags&512&&(oe.check=Zt(oe.check,ne,an,nt)),vt-=an,nt+=an,Cn)break e}else oe.head&&(oe.head.comment=null);oe.mode=Yn;case Yn:if(oe.flags&512){for(;hr<16;){if(vt===0)break e;vt--,Ht+=ne[nt++]<<hr,hr+=8}if(Ht!==(oe.check&65535)){y.msg="header crc mismatch",oe.mode=Ti;break}Ht=0,hr=0}oe.head&&(oe.head.hcrc=oe.flags>>9&1,oe.head.done=!0),y.adler=oe.check=0,oe.mode=_t;break;case ti:for(;hr<32;){if(vt===0)break e;vt--,Ht+=ne[nt++]<<hr,hr+=8}y.adler=oe.check=Ke(Ht),Ht=0,hr=0,oe.mode=Wi;case Wi:if(oe.havedict===0)return y.next_out=bt,y.avail_out=jr,y.next_in=nt,y.avail_in=vt,oe.hold=Ht,oe.bits=hr,nn;y.adler=oe.check=1,oe.mode=_t;case _t:if(ye===qt||ye===sr)break e;case Ct:if(oe.last){Ht>>>=hr&7,hr-=hr&7,oe.mode=Fi;break}for(;hr<3;){if(vt===0)break e;vt--,Ht+=ne[nt++]<<hr,hr+=8}switch(oe.last=Ht&1,Ht>>>=1,hr-=1,Ht&3){case 0:oe.mode=mt;break;case 1:if(xn(oe),oe.mode=Vr,ye===sr){Ht>>>=2,hr-=2;break e}break;case 2:oe.mode=qr;break;case 3:y.msg="invalid block type",oe.mode=Ti}Ht>>>=2,hr-=2;break;case mt:for(Ht>>>=hr&7,hr-=hr&7;hr<32;){if(vt===0)break e;vt--,Ht+=ne[nt++]<<hr,hr+=8}if((Ht&65535)!==(Ht>>>16^65535)){y.msg="invalid stored block lengths",oe.mode=Ti;break}if(oe.length=Ht&65535,Ht=0,hr=0,oe.mode=br,ye===sr)break e;case br:oe.mode=Pt;case Pt:if(an=oe.length,an){if(an>vt&&(an=vt),an>jr&&(an=jr),an===0)break e;me(He,ne,nt,an,bt),vt-=an,nt+=an,jr-=an,bt+=an,oe.length-=an;break}oe.mode=_t;break;case qr:for(;hr<14;){if(vt===0)break e;vt--,Ht+=ne[nt++]<<hr,hr+=8}if(oe.nlen=(Ht&31)+257,Ht>>>=5,hr-=5,oe.ndist=(Ht&31)+1,Ht>>>=5,hr-=5,oe.ncode=(Ht&15)+4,Ht>>>=4,hr-=4,oe.nlen>286||oe.ndist>30){y.msg="too many length or distance symbols",oe.mode=Ti;break}oe.have=0,oe.mode=mn;case mn:for(;oe.have<oe.ncode;){for(;hr<3;){if(vt===0)break e;vt--,Ht+=ne[nt++]<<hr,hr+=8}oe.lens[vi[oe.have++]]=Ht&7,Ht>>>=3,hr-=3}for(;oe.have<19;)oe.lens[vi[oe.have++]]=0;if(oe.lencode=oe.lendyn,oe.lenbits=7,ci={bits:oe.lenbits},Wn=gr(ar,oe.lens,0,19,oe.lencode,0,oe.work,ci),oe.lenbits=ci.bits,Wn){y.msg="invalid code lengths set",oe.mode=Ti;break}oe.have=0,oe.mode=In;case In:for(;oe.have<oe.nlen+oe.ndist;){for(;tt=oe.lencode[Ht&(1<<oe.lenbits)-1],at=tt>>>24,$t=tt>>>16&255,Fr=tt&65535,!(at<=hr);){if(vt===0)break e;vt--,Ht+=ne[nt++]<<hr,hr+=8}if(Fr<16)Ht>>>=at,hr-=at,oe.lens[oe.have++]=Fr;else{if(Fr===16){for(Pn=at+2;hr<Pn;){if(vt===0)break e;vt--,Ht+=ne[nt++]<<hr,hr+=8}if(Ht>>>=at,hr-=at,oe.have===0){y.msg="invalid bit length repeat",oe.mode=Ti;break}Cn=oe.lens[oe.have-1],an=3+(Ht&3),Ht>>>=2,hr-=2}else if(Fr===17){for(Pn=at+3;hr<Pn;){if(vt===0)break e;vt--,Ht+=ne[nt++]<<hr,hr+=8}Ht>>>=at,hr-=at,Cn=0,an=3+(Ht&7),Ht>>>=3,hr-=3}else{for(Pn=at+7;hr<Pn;){if(vt===0)break e;vt--,Ht+=ne[nt++]<<hr,hr+=8}Ht>>>=at,hr-=at,Cn=0,an=11+(Ht&127),Ht>>>=7,hr-=7}if(oe.have+an>oe.nlen+oe.ndist){y.msg="invalid bit length repeat",oe.mode=Ti;break}for(;an--;)oe.lens[oe.have++]=Cn}}if(oe.mode===Ti)break;if(oe.lens[256]===0){y.msg="invalid code -- missing end-of-block",oe.mode=Ti;break}if(oe.lenbits=9,ci={bits:oe.lenbits},Wn=gr(rt,oe.lens,0,oe.nlen,oe.lencode,0,oe.work,ci),oe.lenbits=ci.bits,Wn){y.msg="invalid literal/lengths set",oe.mode=Ti;break}if(oe.distbits=6,oe.distcode=oe.distdyn,ci={bits:oe.distbits},Wn=gr(kt,oe.lens,oe.nlen,oe.ndist,oe.distcode,0,oe.work,ci),oe.distbits=ci.bits,Wn){y.msg="invalid distances set",oe.mode=Ti;break}if(oe.mode=Vr,ye===sr)break e;case Vr:oe.mode=Fn;case Fn:if(vt>=6&&jr>=258){y.next_out=bt,y.avail_out=jr,y.next_in=nt,y.avail_in=vt,oe.hold=Ht,oe.bits=hr,Nt(y,Sn),bt=y.next_out,He=y.output,jr=y.avail_out,nt=y.next_in,ne=y.input,vt=y.avail_in,Ht=oe.hold,hr=oe.bits,oe.mode===_t&&(oe.back=-1);break}for(oe.back=0;tt=oe.lencode[Ht&(1<<oe.lenbits)-1],at=tt>>>24,$t=tt>>>16&255,Fr=tt&65535,!(at<=hr);){if(vt===0)break e;vt--,Ht+=ne[nt++]<<hr,hr+=8}if($t&&!($t&240)){for(Xr=at,Ln=$t,xi=Fr;tt=oe.lencode[xi+((Ht&(1<<Xr+Ln)-1)>>Xr)],at=tt>>>24,$t=tt>>>16&255,Fr=tt&65535,!(Xr+at<=hr);){if(vt===0)break e;vt--,Ht+=ne[nt++]<<hr,hr+=8}Ht>>>=Xr,hr-=Xr,oe.back+=Xr}if(Ht>>>=at,hr-=at,oe.back+=at,oe.length=Fr,$t===0){oe.mode=bo;break}if($t&32){oe.back=-1,oe.mode=_t;break}if($t&64){y.msg="invalid literal/length code",oe.mode=Ti;break}oe.extra=$t&15,oe.mode=An;case An:if(oe.extra){for(Pn=oe.extra;hr<Pn;){if(vt===0)break e;vt--,Ht+=ne[nt++]<<hr,hr+=8}oe.length+=Ht&(1<<oe.extra)-1,Ht>>>=oe.extra,hr-=oe.extra,oe.back+=oe.extra}oe.was=oe.length,oe.mode=zn;case zn:for(;tt=oe.distcode[Ht&(1<<oe.distbits)-1],at=tt>>>24,$t=tt>>>16&255,Fr=tt&65535,!(at<=hr);){if(vt===0)break e;vt--,Ht+=ne[nt++]<<hr,hr+=8}if(!($t&240)){for(Xr=at,Ln=$t,xi=Fr;tt=oe.distcode[xi+((Ht&(1<<Xr+Ln)-1)>>Xr)],at=tt>>>24,$t=tt>>>16&255,Fr=tt&65535,!(Xr+at<=hr);){if(vt===0)break e;vt--,Ht+=ne[nt++]<<hr,hr+=8}Ht>>>=Xr,hr-=Xr,oe.back+=Xr}if(Ht>>>=at,hr-=at,oe.back+=at,$t&64){y.msg="invalid distance code",oe.mode=Ti;break}oe.offset=Fr,oe.extra=$t&15,oe.mode=bi;case bi:if(oe.extra){for(Pn=oe.extra;hr<Pn;){if(vt===0)break e;vt--,Ht+=ne[nt++]<<hr,hr+=8}oe.offset+=Ht&(1<<oe.extra)-1,Ht>>>=oe.extra,hr-=oe.extra,oe.back+=oe.extra}if(oe.offset>oe.dmax){y.msg="invalid distance too far back",oe.mode=Ti;break}oe.mode=Si;case Si:if(jr===0)break e;if(an=Sn-jr,oe.offset>an){if(an=oe.offset-an,an>oe.whave&&oe.sane){y.msg="invalid distance too far back",oe.mode=Ti;break}an>oe.wnext?(an-=oe.wnext,ni=oe.wsize-an):ni=oe.wnext-an,an>oe.length&&(an=oe.length),Li=oe.window}else Li=He,ni=bt-oe.offset,an=oe.length;an>jr&&(an=jr),jr-=an,oe.length-=an;do He[bt++]=Li[ni++];while(--an);oe.length===0&&(oe.mode=Fn);break;case bo:if(jr===0)break e;He[bt++]=oe.length,jr--,oe.mode=Fn;break;case Fi:if(oe.wrap){for(;hr<32;){if(vt===0)break e;vt--,Ht|=ne[nt++]<<hr,hr+=8}if(Sn-=jr,y.total_out+=Sn,oe.total+=Sn,Sn&&(y.adler=oe.check=oe.flags?Zt(oe.check,He,Sn,bt-Sn):pr(oe.check,He,Sn,bt-Sn)),Sn=jr,(oe.flags?Ht:Ke(Ht))!==oe.check){y.msg="incorrect data check",oe.mode=Ti;break}Ht=0,hr=0}oe.mode=mo;case mo:if(oe.wrap&&oe.flags){for(;hr<32;){if(vt===0)break e;vt--,Ht+=ne[nt++]<<hr,hr+=8}if(Ht!==(oe.total&4294967295)){y.msg="incorrect length check",oe.mode=Ti;break}Ht=0,hr=0}oe.mode=_o;case _o:Wn=kr;break e;case Ti:Wn=vr;break e;case ao:return Dr;case no:default:return on}return y.next_out=bt,y.avail_out=jr,y.next_in=nt,y.avail_in=vt,oe.hold=Ht,oe.bits=hr,(oe.wsize||Sn!==y.avail_out&&oe.mode<Ti&&(oe.mode<Fi||ye!==At))&&Kn(y,y.output,y.next_out,Sn-y.avail_out),Tn-=y.avail_in,Sn-=y.avail_out,y.total_in+=Tn,y.total_out+=Sn,oe.total+=Sn,oe.wrap&&Sn&&(y.adler=oe.check=oe.flags?Zt(oe.check,He,Sn,y.next_out-Sn):pr(oe.check,He,Sn,y.next_out-Sn)),y.data_type=oe.bits+(oe.last?64:0)+(oe.mode===_t?128:0)+(oe.mode===Vr||oe.mode===br?256:0),(Tn===0&&Sn===0||ye===At)&&Wn===Kr&&(Wn=_r),Wn}function to(y){if(!y||!y.state)return on;var ye=y.state;return ye.window&&(ye.window=null),y.state=null,Kr}function ki(y,ye){var oe;return!y||!y.state||(oe=y.state,!(oe.wrap&2))?on:(oe.head=ye,ye.done=!1,Kr)}function zo(y,ye){var oe=ye.length,ne,He,nt;return!y||!y.state||(ne=y.state,ne.wrap!==0&&ne.mode!==Wi)?on:ne.mode===Wi&&(He=1,He=pr(He,ye,oe,0),He!==ne.check)?vr:(nt=Kn(y,ye,oe,oe),nt?(ne.mode=ao,Dr):(ne.havedict=1,Kr))}var Ko={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"};function uo(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}function ia(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var la=Object.prototype.toString,so=function y(ye){if(!(this instanceof y))return new y(ye);this.options=Fe({chunkSize:16384,windowBits:0,to:""},ye||{});var oe=this.options;oe.raw&&oe.windowBits>=0&&oe.windowBits<16&&(oe.windowBits=-oe.windowBits,oe.windowBits===0&&(oe.windowBits=-15)),oe.windowBits>=0&&oe.windowBits<16&&!(ye&&ye.windowBits)&&(oe.windowBits+=32),oe.windowBits>15&&oe.windowBits<48&&(oe.windowBits&15||(oe.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new uo,this.strm.avail_out=0;var ne=yr(this.strm,oe.windowBits);if(ne!==Y)throw new Error(Ko[ne]);if(this.header=new ia,ki(this.strm,this.header),oe.dictionary&&(typeof oe.dictionary=="string"?oe.dictionary=Gt(oe.dictionary):la.call(oe.dictionary)==="[object ArrayBuffer]"&&(oe.dictionary=new Uint8Array(oe.dictionary)),oe.raw&&(ne=zo(this.strm,oe.dictionary),ne!==Y)))throw new Error(Ko[ne])};so.prototype.push=function(ye,oe){var ne=this.strm,He=this.options.chunkSize,nt=this.options.dictionary,bt,vt,jr,Ht,hr,Tn,Sn=!1;if(this.ended)return!1;vt=oe===~~oe?oe:oe===!0?C:i,typeof ye=="string"?ne.input=Rr(ye):la.call(ye)==="[object ArrayBuffer]"?ne.input=new Uint8Array(ye):ne.input=ye,ne.next_in=0,ne.avail_in=ne.input.length;do{if(ne.avail_out===0&&(ne.output=Te(He),ne.next_out=0,ne.avail_out=He),bt=jn(ne,i),bt===ie&&nt&&(typeof nt=="string"?Tn=Gt(nt):la.call(nt)==="[object ArrayBuffer]"?Tn=new Uint8Array(nt):Tn=nt,bt=zo(this.strm,Tn)),bt===Z&&Sn===!0&&(bt=Y,Sn=!1),bt!==le&&bt!==Y)return this.onEnd(bt),this.ended=!0,!1;ne.next_out&&(ne.avail_out===0||bt===le||ne.avail_in===0&&(vt===C||vt===A))&&(this.options.to==="string"?(jr=zr(ne.output,ne.next_out),Ht=ne.next_out-jr,hr=Gr(ne.output,jr),ne.next_out=Ht,ne.avail_out=He-Ht,Ht&&me(ne.output,ne.output,jr,Ht,0),this.onData(hr)):this.onData(Ue(ne.output,ne.next_out))),ne.avail_in===0&&ne.avail_out===0&&(Sn=!0)}while((ne.avail_in>0||ne.avail_out===0)&&bt!==le);return bt===le&&(vt=C),vt===C?(bt=to(this.strm),this.onEnd(bt),this.ended=!0,bt===Y):(vt===A&&(this.onEnd(Y),ne.avail_out=0),!0)},so.prototype.onData=function(ye){this.chunks.push(ye)},so.prototype.onEnd=function(ye){ye===Y&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=De(this.chunks)),this.chunks=[],this.err=ye,this.msg=this.strm.msg};function zi(y,ye){var oe=new so(ye);if(oe.push(y,!0),oe.err)throw oe.msg||Ko[oe.err];return oe.result}function Xi(y,ye){return ye=ye||{},ye.raw=!0,zi(y,ye)}var ua=null;function ta(y){for(var ye=y.length;--ye>=0;)y[ye]=0}var Pi=0,Ji=1,Do=2,Ki=3,fi=258,oi=29,_i=256,Jr=_i+1+oi,hi=30,yi=19,Ci=2*Jr+1,Oi=15,Mn=16,wo=7,xo=256,Ba=16,Eo=17,pa=18,va=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],oa=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],xs=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],ls=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Wa=512,si,Rs,Ta,Ka,Fl,wl;function El(y,ye,oe,ne,He){this.static_tree=y,this.extra_bits=ye,this.extra_base=oe,this.elems=ne,this.max_length=He,this.has_stree=y&&y.length}var tu,Xl,Ql;function rl(y,ye){this.dyn_tree=y,this.max_code=0,this.stat_desc=ye}function hl(y){return y<256?Ta[y]:Ta[256+(y>>>7)]}function Ks(y,ye){y.pending_buf[y.pending++]=ye&255,y.pending_buf[y.pending++]=ye>>>8&255}function qo(y,ye,oe){y.bi_valid>Mn-oe?(y.bi_buf|=ye<<y.bi_valid&65535,Ks(y,y.bi_buf),y.bi_buf=ye>>Mn-y.bi_valid,y.bi_valid+=oe-Mn):(y.bi_buf|=ye<<y.bi_valid&65535,y.bi_valid+=oe)}function qs(y,ye,oe){qo(y,oe[ye*2],oe[ye*2+1])}function jl(y,ye){var oe=0;do oe|=y&1,y>>>=1,oe<<=1;while(--ye>0);return oe>>>1}function Hl(y){y.bi_valid===16?(Ks(y,y.bi_buf),y.bi_buf=0,y.bi_valid=0):y.bi_valid>=8&&(y.pending_buf[y.pending++]=y.bi_buf&255,y.bi_buf>>=8,y.bi_valid-=8)}function ks(y,ye){var oe=ye.dyn_tree,ne=ye.max_code,He=ye.stat_desc.static_tree,nt=ye.stat_desc.has_stree,bt=ye.stat_desc.extra_bits,vt=ye.stat_desc.extra_base,jr=ye.stat_desc.max_length,Ht,hr,Tn,Sn,an,ni,Li=0;for(Sn=0;Sn<=Oi;Sn++)y.bl_count[Sn]=0;for(oe[y.heap[y.heap_max]*2+1]=0,Ht=y.heap_max+1;Ht<Ci;Ht++)hr=y.heap[Ht],Sn=oe[oe[hr*2+1]*2+1]+1,Sn>jr&&(Sn=jr,Li++),oe[hr*2+1]=Sn,!(hr>ne)&&(y.bl_count[Sn]++,an=0,hr>=vt&&(an=bt[hr-vt]),ni=oe[hr*2],y.opt_len+=ni*(Sn+an),nt&&(y.static_len+=ni*(He[hr*2+1]+an)));if(Li!==0){do{for(Sn=jr-1;y.bl_count[Sn]===0;)Sn--;y.bl_count[Sn]--,y.bl_count[Sn+1]+=2,y.bl_count[jr]--,Li-=2}while(Li>0);for(Sn=jr;Sn!==0;Sn--)for(hr=y.bl_count[Sn];hr!==0;)Tn=y.heap[--Ht],!(Tn>ne)&&(oe[Tn*2+1]!==Sn&&(y.opt_len+=(Sn-oe[Tn*2+1])*oe[Tn*2],oe[Tn*2+1]=Sn),hr--)}}function bs(y,ye,oe){var ne=new Array(Oi+1),He=0,nt,bt;for(nt=1;nt<=Oi;nt++)ne[nt]=He=He+oe[nt-1]<<1;for(bt=0;bt<=ye;bt++){var vt=y[bt*2+1];vt!==0&&(y[bt*2]=jl(ne[vt]++,vt))}}function Au(){var y,ye,oe,ne,He,nt=new Array(Oi+1);for(si=new Array((Jr+2)*2),ta(si),Rs=new Array(hi*2),ta(Rs),Ta=new Array(Wa),ta(Ta),Ka=new Array(fi-Ki+1),ta(Ka),Fl=new Array(oi),ta(Fl),wl=new Array(hi),ta(wl),oe=0,ne=0;ne<oi-1;ne++)for(Fl[ne]=oe,y=0;y<1<<va[ne];y++)Ka[oe++]=ne;for(Ka[oe-1]=ne,He=0,ne=0;ne<16;ne++)for(wl[ne]=He,y=0;y<1<<oa[ne];y++)Ta[He++]=ne;for(He>>=7;ne<hi;ne++)for(wl[ne]=He<<7,y=0;y<1<<oa[ne]-7;y++)Ta[256+He++]=ne;for(ye=0;ye<=Oi;ye++)nt[ye]=0;for(y=0;y<=143;)si[y*2+1]=8,y++,nt[8]++;for(;y<=255;)si[y*2+1]=9,y++,nt[9]++;for(;y<=279;)si[y*2+1]=7,y++,nt[7]++;for(;y<=287;)si[y*2+1]=8,y++,nt[8]++;for(bs(si,Jr+1,nt),y=0;y<hi;y++)Rs[y*2+1]=5,Rs[y*2]=jl(y,5);tu=new El(si,va,_i+1,Jr,Oi),Xl=new El(Rs,oa,0,hi,Oi),Ql=new El(new Array(0),xs,0,yi,wo)}function pl(y){var ye;for(ye=0;ye<Jr;ye++)y.dyn_ltree[ye*2]=0;for(ye=0;ye<hi;ye++)y.dyn_dtree[ye*2]=0;for(ye=0;ye<yi;ye++)y.bl_tree[ye*2]=0;y.dyn_ltree[xo*2]=1,y.opt_len=y.static_len=0,y.last_lit=y.matches=0}function Ja(y){y.bi_valid>8?Ks(y,y.bi_buf):y.bi_valid>0&&(y.pending_buf[y.pending++]=y.bi_buf),y.bi_buf=0,y.bi_valid=0}function Pa(y,ye,oe,ne){Ja(y),ne&&(Ks(y,oe),Ks(y,~oe)),me(y.pending_buf,y.window,ye,oe,y.pending),y.pending+=oe}function ns(y,ye,oe,ne){var He=ye*2,nt=oe*2;return y[He]<y[nt]||y[He]===y[nt]&&ne[ye]<=ne[oe]}function Zl(y,ye,oe){for(var ne=y.heap[oe],He=oe<<1;He<=y.heap_len&&(He<y.heap_len&&ns(ye,y.heap[He+1],y.heap[He],y.depth)&&He++,!ns(ye,ne,y.heap[He],y.depth));)y.heap[oe]=y.heap[He],oe=He,He<<=1;y.heap[oe]=ne}function ll(y,ye,oe){var ne,He,nt=0,bt,vt;if(y.last_lit!==0)do ne=y.pending_buf[y.d_buf+nt*2]<<8|y.pending_buf[y.d_buf+nt*2+1],He=y.pending_buf[y.l_buf+nt],nt++,ne===0?qs(y,He,ye):(bt=Ka[He],qs(y,bt+_i+1,ye),vt=va[bt],vt!==0&&(He-=Fl[bt],qo(y,He,vt)),ne--,bt=hl(ne),qs(y,bt,oe),vt=oa[bt],vt!==0&&(ne-=wl[bt],qo(y,ne,vt)));while(nt<y.last_lit);qs(y,xo,ye)}function ul(y,ye){var oe=ye.dyn_tree,ne=ye.stat_desc.static_tree,He=ye.stat_desc.has_stree,nt=ye.stat_desc.elems,bt,vt,jr=-1,Ht;for(y.heap_len=0,y.heap_max=Ci,bt=0;bt<nt;bt++)oe[bt*2]!==0?(y.heap[++y.heap_len]=jr=bt,y.depth[bt]=0):oe[bt*2+1]=0;for(;y.heap_len<2;)Ht=y.heap[++y.heap_len]=jr<2?++jr:0,oe[Ht*2]=1,y.depth[Ht]=0,y.opt_len--,He&&(y.static_len-=ne[Ht*2+1]);for(ye.max_code=jr,bt=y.heap_len>>1;bt>=1;bt--)Zl(y,oe,bt);Ht=nt;do bt=y.heap[1],y.heap[1]=y.heap[y.heap_len--],Zl(y,oe,1),vt=y.heap[1],y.heap[--y.heap_max]=bt,y.heap[--y.heap_max]=vt,oe[Ht*2]=oe[bt*2]+oe[vt*2],y.depth[Ht]=(y.depth[bt]>=y.depth[vt]?y.depth[bt]:y.depth[vt])+1,oe[bt*2+1]=oe[vt*2+1]=Ht,y.heap[1]=Ht++,Zl(y,oe,1);while(y.heap_len>=2);y.heap[--y.heap_max]=y.heap[1],ks(y,ye),bs(oe,jr,y.bl_count)}function Po(y,ye,oe){var ne,He=-1,nt,bt=ye[0*2+1],vt=0,jr=7,Ht=4;for(bt===0&&(jr=138,Ht=3),ye[(oe+1)*2+1]=65535,ne=0;ne<=oe;ne++)nt=bt,bt=ye[(ne+1)*2+1],!(++vt<jr&&nt===bt)&&(vt<Ht?y.bl_tree[nt*2]+=vt:nt!==0?(nt!==He&&y.bl_tree[nt*2]++,y.bl_tree[Ba*2]++):vt<=10?y.bl_tree[Eo*2]++:y.bl_tree[pa*2]++,vt=0,He=nt,bt===0?(jr=138,Ht=3):nt===bt?(jr=6,Ht=3):(jr=7,Ht=4))}function Ds(y,ye,oe){var ne,He=-1,nt,bt=ye[0*2+1],vt=0,jr=7,Ht=4;for(bt===0&&(jr=138,Ht=3),ne=0;ne<=oe;ne++)if(nt=bt,bt=ye[(ne+1)*2+1],!(++vt<jr&&nt===bt)){if(vt<Ht)do qs(y,nt,y.bl_tree);while(--vt!==0);else nt!==0?(nt!==He&&(qs(y,nt,y.bl_tree),vt--),qs(y,Ba,y.bl_tree),qo(y,vt-3,2)):vt<=10?(qs(y,Eo,y.bl_tree),qo(y,vt-3,3)):(qs(y,pa,y.bl_tree),qo(y,vt-11,7));vt=0,He=nt,bt===0?(jr=138,Ht=3):nt===bt?(jr=6,Ht=3):(jr=7,Ht=4)}}function Cl(y){var ye;for(Po(y,y.dyn_ltree,y.l_desc.max_code),Po(y,y.dyn_dtree,y.d_desc.max_code),ul(y,y.bl_desc),ye=yi-1;ye>=3&&y.bl_tree[ls[ye]*2+1]===0;ye--);return y.opt_len+=3*(ye+1)+5+5+4,ye}function jt(y,ye,oe,ne){var He;for(qo(y,ye-257,5),qo(y,oe-1,5),qo(y,ne-4,4),He=0;He<ne;He++)qo(y,y.bl_tree[ls[He]*2+1],3);Ds(y,y.dyn_ltree,ye-1),Ds(y,y.dyn_dtree,oe-1)}function pt(y){var ye=4093624447,oe;for(oe=0;oe<=31;oe++,ye>>>=1)if(ye&1&&y.dyn_ltree[oe*2]!==0)return Ne;if(y.dyn_ltree[18]!==0||y.dyn_ltree[20]!==0||y.dyn_ltree[26]!==0)return ze;for(oe=32;oe<_i;oe++)if(y.dyn_ltree[oe*2]!==0)return ze;return Ne}var wt=!1;function Ye(y){wt||(Au(),wt=!0),y.l_desc=new rl(y.dyn_ltree,tu),y.d_desc=new rl(y.dyn_dtree,Xl),y.bl_desc=new rl(y.bl_tree,Ql),y.bi_buf=0,y.bi_valid=0,pl(y)}function Ut(y,ye,oe,ne){qo(y,(Pi<<1)+(ne?1:0),3),Pa(y,ye,oe,!0)}function fr(y){qo(y,Ji<<1,3),qs(y,xo,si),Hl(y)}function Tr(y,ye,oe,ne){var He,nt,bt=0;y.level>0?(y.strm.data_type===Je&&(y.strm.data_type=pt(y)),ul(y,y.l_desc),ul(y,y.d_desc),bt=Cl(y),He=y.opt_len+3+7>>>3,nt=y.static_len+3+7>>>3,nt<=He&&(He=nt)):He=nt=oe+5,oe+4<=He&&ye!==-1?Ut(y,ye,oe,ne):y.strategy===we||nt===He?(qo(y,(Ji<<1)+(ne?1:0),3),ll(y,si,Rs)):(qo(y,(Do<<1)+(ne?1:0),3),jt(y,y.l_desc.max_code+1,y.d_desc.max_code+1,bt+1),ll(y,y.dyn_ltree,y.dyn_dtree)),pl(y),ne&&Ja(y)}function ln(y,ye,oe){return y.pending_buf[y.d_buf+y.last_lit*2]=ye>>>8&255,y.pending_buf[y.d_buf+y.last_lit*2+1]=ye&255,y.pending_buf[y.l_buf+y.last_lit]=oe&255,y.last_lit++,ye===0?y.dyn_ltree[oe*2]++:(y.matches++,ye--,y.dyn_ltree[(Ka[oe]+_i+1)*2]++,y.dyn_dtree[hl(ye)*2]++),y.last_lit===y.lit_bufsize-1}var pi=9,Di=29,Mo=256,Vo=Mo+1+Di,Bs=30,is=19,cs=2*Vo+1,Us=15,Uo=3,Vs=258,Ns=Vs+Uo+1,du=32,ru=42,Ou=69,nu=73,nl=91,fu=103,z=113,_=666,H=1,Ae=2,Be=3,ve=4,Le=3;function Re(y,ye){return y.msg=Ko[ye],ye}function ke(y){return(y<<1)-(y>4?9:0)}function it(y){for(var ye=y.length;--ye>=0;)y[ye]=0}function gt(y){var ye=y.state,oe=ye.pending;oe>y.avail_out&&(oe=y.avail_out),oe!==0&&(me(y.output,ye.pending_buf,ye.pending_out,oe,y.next_out),y.next_out+=oe,ye.pending_out+=oe,y.total_out+=oe,y.avail_out-=oe,ye.pending-=oe,ye.pending===0&&(ye.pending_out=0))}function Et(y,ye){Tr(y,y.block_start>=0?y.block_start:-1,y.strstart-y.block_start,ye),y.block_start=y.strstart,gt(y.strm)}function Mt(y,ye){y.pending_buf[y.pending++]=ye}function Ge(y,ye){y.pending_buf[y.pending++]=ye>>>8&255,y.pending_buf[y.pending++]=ye&255}function cr(y,ye,oe,ne){var He=y.avail_in;return He>ne&&(He=ne),He===0?0:(y.avail_in-=He,me(ye,y.input,y.next_in,He,oe),y.state.wrap===1?y.adler=pr(y.adler,ye,He,oe):y.state.wrap===2&&(y.adler=Zt(y.adler,ye,He,oe)),y.next_in+=He,y.total_in+=He,He)}function er(y,ye){var oe=y.max_chain_length,ne=y.strstart,He,nt,bt=y.prev_length,vt=y.nice_match,jr=y.strstart>y.w_size-Ns?y.strstart-(y.w_size-Ns):0,Ht=y.window,hr=y.w_mask,Tn=y.prev,Sn=y.strstart+Vs,an=Ht[ne+bt-1],ni=Ht[ne+bt];y.prev_length>=y.good_match&&(oe>>=2),vt>y.lookahead&&(vt=y.lookahead);do if(He=ye,!(Ht[He+bt]!==ni||Ht[He+bt-1]!==an||Ht[He]!==Ht[ne]||Ht[++He]!==Ht[ne+1])){ne+=2,He++;do;while(Ht[++ne]===Ht[++He]&&Ht[++ne]===Ht[++He]&&Ht[++ne]===Ht[++He]&&Ht[++ne]===Ht[++He]&&Ht[++ne]===Ht[++He]&&Ht[++ne]===Ht[++He]&&Ht[++ne]===Ht[++He]&&Ht[++ne]===Ht[++He]&&ne<Sn);if(nt=Vs-(Sn-ne),ne=Sn-Vs,nt>bt){if(y.match_start=ye,bt=nt,nt>=vt)break;an=Ht[ne+bt-1],ni=Ht[ne+bt]}}while((ye=Tn[ye&hr])>jr&&--oe!==0);return bt<=y.lookahead?bt:y.lookahead}function mr(y){var ye=y.w_size,oe,ne,He,nt,bt;do{if(nt=y.window_size-y.lookahead-y.strstart,y.strstart>=ye+(ye-Ns)){me(y.window,y.window,ye,ye,0),y.match_start-=ye,y.strstart-=ye,y.block_start-=ye,ne=y.hash_size,oe=ne;do He=y.head[--oe],y.head[oe]=He>=ye?He-ye:0;while(--ne);ne=ye,oe=ne;do He=y.prev[--oe],y.prev[oe]=He>=ye?He-ye:0;while(--ne);nt+=ye}if(y.strm.avail_in===0)break;if(ne=cr(y.strm,y.window,y.strstart+y.lookahead,nt),y.lookahead+=ne,y.lookahead+y.insert>=Uo)for(bt=y.strstart-y.insert,y.ins_h=y.window[bt],y.ins_h=(y.ins_h<<y.hash_shift^y.window[bt+1])&y.hash_mask;y.insert&&(y.ins_h=(y.ins_h<<y.hash_shift^y.window[bt+Uo-1])&y.hash_mask,y.prev[bt&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=bt,bt++,y.insert--,!(y.lookahead+y.insert<Uo)););}while(y.lookahead<Ns&&y.strm.avail_in!==0)}function Kt(y,ye){var oe=65535;for(oe>y.pending_buf_size-5&&(oe=y.pending_buf_size-5);;){if(y.lookahead<=1){if(mr(y),y.lookahead===0&&ye===i)return H;if(y.lookahead===0)break}y.strstart+=y.lookahead,y.lookahead=0;var ne=y.block_start+oe;if((y.strstart===0||y.strstart>=ne)&&(y.lookahead=y.strstart-ne,y.strstart=ne,Et(y,!1),y.strm.avail_out===0)||y.strstart-y.block_start>=y.w_size-Ns&&(Et(y,!1),y.strm.avail_out===0))return H}return y.insert=0,ye===C?(Et(y,!0),y.strm.avail_out===0?Be:ve):(y.strstart>y.block_start&&(Et(y,!1),y.strm.avail_out===0),H)}function dr(y,ye){for(var oe,ne;;){if(y.lookahead<Ns){if(mr(y),y.lookahead<Ns&&ye===i)return H;if(y.lookahead===0)break}if(oe=0,y.lookahead>=Uo&&(y.ins_h=(y.ins_h<<y.hash_shift^y.window[y.strstart+Uo-1])&y.hash_mask,oe=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart),oe!==0&&y.strstart-oe<=y.w_size-Ns&&(y.match_length=er(y,oe)),y.match_length>=Uo)if(ne=ln(y,y.strstart-y.match_start,y.match_length-Uo),y.lookahead-=y.match_length,y.match_length<=y.max_lazy_match&&y.lookahead>=Uo){y.match_length--;do y.strstart++,y.ins_h=(y.ins_h<<y.hash_shift^y.window[y.strstart+Uo-1])&y.hash_mask,oe=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart;while(--y.match_length!==0);y.strstart++}else y.strstart+=y.match_length,y.match_length=0,y.ins_h=y.window[y.strstart],y.ins_h=(y.ins_h<<y.hash_shift^y.window[y.strstart+1])&y.hash_mask;else ne=ln(y,0,y.window[y.strstart]),y.lookahead--,y.strstart++;if(ne&&(Et(y,!1),y.strm.avail_out===0))return H}return y.insert=y.strstart<Uo-1?y.strstart:Uo-1,ye===C?(Et(y,!0),y.strm.avail_out===0?Be:ve):y.last_lit&&(Et(y,!1),y.strm.avail_out===0)?H:Ae}function Zr(y,ye){for(var oe,ne,He;;){if(y.lookahead<Ns){if(mr(y),y.lookahead<Ns&&ye===i)return H;if(y.lookahead===0)break}if(oe=0,y.lookahead>=Uo&&(y.ins_h=(y.ins_h<<y.hash_shift^y.window[y.strstart+Uo-1])&y.hash_mask,oe=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart),y.prev_length=y.match_length,y.prev_match=y.match_start,y.match_length=Uo-1,oe!==0&&y.prev_length<y.max_lazy_match&&y.strstart-oe<=y.w_size-Ns&&(y.match_length=er(y,oe),y.match_length<=5&&(y.strategy===h||y.match_length===Uo&&y.strstart-y.match_start>4096)&&(y.match_length=Uo-1)),y.prev_length>=Uo&&y.match_length<=y.prev_length){He=y.strstart+y.lookahead-Uo,ne=ln(y,y.strstart-1-y.prev_match,y.prev_length-Uo),y.lookahead-=y.prev_length-1,y.prev_length-=2;do++y.strstart<=He&&(y.ins_h=(y.ins_h<<y.hash_shift^y.window[y.strstart+Uo-1])&y.hash_mask,oe=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart);while(--y.prev_length!==0);if(y.match_available=0,y.match_length=Uo-1,y.strstart++,ne&&(Et(y,!1),y.strm.avail_out===0))return H}else if(y.match_available){if(ne=ln(y,0,y.window[y.strstart-1]),ne&&Et(y,!1),y.strstart++,y.lookahead--,y.strm.avail_out===0)return H}else y.match_available=1,y.strstart++,y.lookahead--}return y.match_available&&(ne=ln(y,0,y.window[y.strstart-1]),y.match_available=0),y.insert=y.strstart<Uo-1?y.strstart:Uo-1,ye===C?(Et(y,!0),y.strm.avail_out===0?Be:ve):y.last_lit&&(Et(y,!1),y.strm.avail_out===0)?H:Ae}function dn(y,ye){for(var oe,ne,He,nt,bt=y.window;;){if(y.lookahead<=Vs){if(mr(y),y.lookahead<=Vs&&ye===i)return H;if(y.lookahead===0)break}if(y.match_length=0,y.lookahead>=Uo&&y.strstart>0&&(He=y.strstart-1,ne=bt[He],ne===bt[++He]&&ne===bt[++He]&&ne===bt[++He])){nt=y.strstart+Vs;do;while(ne===bt[++He]&&ne===bt[++He]&&ne===bt[++He]&&ne===bt[++He]&&ne===bt[++He]&&ne===bt[++He]&&ne===bt[++He]&&ne===bt[++He]&&He<nt);y.match_length=Vs-(nt-He),y.match_length>y.lookahead&&(y.match_length=y.lookahead)}if(y.match_length>=Uo?(oe=ln(y,1,y.match_length-Uo),y.lookahead-=y.match_length,y.strstart+=y.match_length,y.match_length=0):(oe=ln(y,0,y.window[y.strstart]),y.lookahead--,y.strstart++),oe&&(Et(y,!1),y.strm.avail_out===0))return H}return y.insert=0,ye===C?(Et(y,!0),y.strm.avail_out===0?Be:ve):y.last_lit&&(Et(y,!1),y.strm.avail_out===0)?H:Ae}function hn(y,ye){for(var oe;;){if(y.lookahead===0&&(mr(y),y.lookahead===0)){if(ye===i)return H;break}if(y.match_length=0,oe=ln(y,0,y.window[y.strstart]),y.lookahead--,y.strstart++,oe&&(Et(y,!1),y.strm.avail_out===0))return H}return y.insert=0,ye===C?(Et(y,!0),y.strm.avail_out===0?Be:ve):y.last_lit&&(Et(y,!1),y.strm.avail_out===0)?H:Ae}function $n(y,ye,oe,ne,He){this.good_length=y,this.max_lazy=ye,this.nice_length=oe,this.max_chain=ne,this.func=He}var cn=function(){var y=[new $n(0,0,0,0,Kt),new $n(4,4,8,4,dr),new $n(4,5,16,8,dr),new $n(4,6,32,32,dr),new $n(4,4,16,16,Zr),new $n(8,16,32,32,Zr),new $n(8,16,128,128,Zr),new $n(8,32,128,256,Zr),new $n(32,128,258,1024,Zr),new $n(32,258,258,4096,Zr)];return cn=function(){return y},y};function Er(y){y.window_size=2*y.w_size,it(y.head);var ye=cn();y.max_lazy_match=ye[y.level].max_lazy,y.good_match=ye[y.level].good_length,y.nice_match=ye[y.level].nice_length,y.max_chain_length=ye[y.level].max_chain,y.strstart=0,y.block_start=0,y.lookahead=0,y.insert=0,y.match_length=y.prev_length=Uo-1,y.match_available=0,y.ins_h=0}function Gn(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=qe,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=Oe(cs*2),this.dyn_dtree=Oe((2*Bs+1)*2),this.bl_tree=Oe((2*is+1)*2),it(this.dyn_ltree),it(this.dyn_dtree),it(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=Oe(Us+1),this.heap=Oe(2*Vo+1),it(this.heap),this.heap_len=0,this.heap_max=0,this.depth=Oe(2*Vo+1),it(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Vn(y){var ye;return!y||!y.state?Re(y,ue):(y.total_in=y.total_out=0,y.data_type=Je,ye=y.state,ye.pending=0,ye.pending_out=0,ye.wrap<0&&(ye.wrap=-ye.wrap),ye.status=ye.wrap?ru:z,y.adler=ye.wrap===2?0:1,ye.last_flush=i,Ye(ye),Y)}function Xt(y){var ye=Vn(y);return ye===Y&&Er(y.state),ye}function rr(y,ye){return!y||!y.state||y.state.wrap!==2?ue:(y.state.gzhead=ye,Y)}function Ur(y,ye,oe,ne,He,nt){if(!y)return ue;var bt=1;if(ye===pe&&(ye=6),ne<0?(bt=0,ne=-ne):ne>15&&(bt=2,ne-=16),He<1||He>pi||oe!==qe||ne<8||ne>15||ye<0||ye>9||nt<0||nt>we)return Re(y,ue);ne===8&&(ne=9);var vt=new Gn;return y.state=vt,vt.strm=y,vt.wrap=bt,vt.gzhead=null,vt.w_bits=ne,vt.w_size=1<<vt.w_bits,vt.w_mask=vt.w_size-1,vt.hash_bits=He+7,vt.hash_size=1<<vt.hash_bits,vt.hash_mask=vt.hash_size-1,vt.hash_shift=~~((vt.hash_bits+Uo-1)/Uo),vt.window=Te(vt.w_size*2),vt.head=Oe(vt.hash_size),vt.prev=Oe(vt.w_size),vt.lit_bufsize=1<<He+6,vt.pending_buf_size=vt.lit_bufsize*4,vt.pending_buf=Te(vt.pending_buf_size),vt.d_buf=1*vt.lit_bufsize,vt.l_buf=3*vt.lit_bufsize,vt.level=ye,vt.strategy=nt,vt.method=oe,Xt(y)}function Or(y,ye){var oe,ne,He,nt;if(!y||!y.state||ye>U||ye<0)return y?Re(y,ue):ue;if(ne=y.state,!y.output||!y.input&&y.avail_in!==0||ne.status===_&&ye!==C)return Re(y,y.avail_out===0?Z:ue);if(ne.strm=y,oe=ne.last_flush,ne.last_flush=ye,ne.status===ru)if(ne.wrap===2)y.adler=0,Mt(ne,31),Mt(ne,139),Mt(ne,8),ne.gzhead?(Mt(ne,(ne.gzhead.text?1:0)+(ne.gzhead.hcrc?2:0)+(ne.gzhead.extra?4:0)+(ne.gzhead.name?8:0)+(ne.gzhead.comment?16:0)),Mt(ne,ne.gzhead.time&255),Mt(ne,ne.gzhead.time>>8&255),Mt(ne,ne.gzhead.time>>16&255),Mt(ne,ne.gzhead.time>>24&255),Mt(ne,ne.level===9?2:ne.strategy>=te||ne.level<2?4:0),Mt(ne,ne.gzhead.os&255),ne.gzhead.extra&&ne.gzhead.extra.length&&(Mt(ne,ne.gzhead.extra.length&255),Mt(ne,ne.gzhead.extra.length>>8&255)),ne.gzhead.hcrc&&(y.adler=Zt(y.adler,ne.pending_buf,ne.pending,0)),ne.gzindex=0,ne.status=Ou):(Mt(ne,0),Mt(ne,0),Mt(ne,0),Mt(ne,0),Mt(ne,0),Mt(ne,ne.level===9?2:ne.strategy>=te||ne.level<2?4:0),Mt(ne,Le),ne.status=z);else{var bt=qe+(ne.w_bits-8<<4)<<8,vt=-1;ne.strategy>=te||ne.level<2?vt=0:ne.level<6?vt=1:ne.level===6?vt=2:vt=3,bt|=vt<<6,ne.strstart!==0&&(bt|=du),bt+=31-bt%31,ne.status=z,Ge(ne,bt),ne.strstart!==0&&(Ge(ne,y.adler>>>16),Ge(ne,y.adler&65535)),y.adler=1}if(ne.status===Ou)if(ne.gzhead.extra){for(He=ne.pending;ne.gzindex<(ne.gzhead.extra.length&65535)&&!(ne.pending===ne.pending_buf_size&&(ne.gzhead.hcrc&&ne.pending>He&&(y.adler=Zt(y.adler,ne.pending_buf,ne.pending-He,He)),gt(y),He=ne.pending,ne.pending===ne.pending_buf_size));)Mt(ne,ne.gzhead.extra[ne.gzindex]&255),ne.gzindex++;ne.gzhead.hcrc&&ne.pending>He&&(y.adler=Zt(y.adler,ne.pending_buf,ne.pending-He,He)),ne.gzindex===ne.gzhead.extra.length&&(ne.gzindex=0,ne.status=nu)}else ne.status=nu;if(ne.status===nu)if(ne.gzhead.name){He=ne.pending;do{if(ne.pending===ne.pending_buf_size&&(ne.gzhead.hcrc&&ne.pending>He&&(y.adler=Zt(y.adler,ne.pending_buf,ne.pending-He,He)),gt(y),He=ne.pending,ne.pending===ne.pending_buf_size)){nt=1;break}ne.gzindex<ne.gzhead.name.length?nt=ne.gzhead.name.charCodeAt(ne.gzindex++)&255:nt=0,Mt(ne,nt)}while(nt!==0);ne.gzhead.hcrc&&ne.pending>He&&(y.adler=Zt(y.adler,ne.pending_buf,ne.pending-He,He)),nt===0&&(ne.gzindex=0,ne.status=nl)}else ne.status=nl;if(ne.status===nl)if(ne.gzhead.comment){He=ne.pending;do{if(ne.pending===ne.pending_buf_size&&(ne.gzhead.hcrc&&ne.pending>He&&(y.adler=Zt(y.adler,ne.pending_buf,ne.pending-He,He)),gt(y),He=ne.pending,ne.pending===ne.pending_buf_size)){nt=1;break}ne.gzindex<ne.gzhead.comment.length?nt=ne.gzhead.comment.charCodeAt(ne.gzindex++)&255:nt=0,Mt(ne,nt)}while(nt!==0);ne.gzhead.hcrc&&ne.pending>He&&(y.adler=Zt(y.adler,ne.pending_buf,ne.pending-He,He)),nt===0&&(ne.status=fu)}else ne.status=fu;if(ne.status===fu&&(ne.gzhead.hcrc?(ne.pending+2>ne.pending_buf_size&&gt(y),ne.pending+2<=ne.pending_buf_size&&(Mt(ne,y.adler&255),Mt(ne,y.adler>>8&255),y.adler=0,ne.status=z)):ne.status=z),ne.pending!==0){if(gt(y),y.avail_out===0)return ne.last_flush=-1,Y}else if(y.avail_in===0&&ke(ye)<=ke(oe)&&ye!==C)return Re(y,Z);if(ne.status===_&&y.avail_in!==0)return Re(y,Z);if(y.avail_in!==0||ne.lookahead!==0||ye!==i&&ne.status!==_){var jr=ne.strategy===te?hn(ne,ye):ne.strategy===Q?dn(ne,ye):cn()[ne.level].func(ne,ye);if((jr===Be||jr===ve)&&(ne.status=_),jr===H||jr===Be)return y.avail_out===0&&(ne.last_flush=-1),Y;if(jr===Ae&&(ye===x?fr(ne):ye!==U&&(Ut(ne,0,0,!1),ye===w&&(it(ne.head),ne.lookahead===0&&(ne.strstart=0,ne.block_start=0,ne.insert=0))),gt(y),y.avail_out===0))return ne.last_flush=-1,Y}return ye!==C?Y:ne.wrap<=0?le:(ne.wrap===2?(Mt(ne,y.adler&255),Mt(ne,y.adler>>8&255),Mt(ne,y.adler>>16&255),Mt(ne,y.adler>>24&255),Mt(ne,y.total_in&255),Mt(ne,y.total_in>>8&255),Mt(ne,y.total_in>>16&255),Mt(ne,y.total_in>>24&255)):(Ge(ne,y.adler>>>16),Ge(ne,y.adler&65535)),gt(y),ne.wrap>0&&(ne.wrap=-ne.wrap),ne.pending!==0?Y:le)}function En(y){var ye;return!y||!y.state?ue:(ye=y.state.status,ye!==ru&&ye!==Ou&&ye!==nu&&ye!==nl&&ye!==fu&&ye!==z&&ye!==_?Re(y,ue):(y.state=null,ye===z?Re(y,P):Y))}function yn(y,ye){var oe=ye.length,ne,He,nt,bt,vt,jr,Ht,hr;if(!y||!y.state||(ne=y.state,bt=ne.wrap,bt===2||bt===1&&ne.status!==ru||ne.lookahead))return ue;for(bt===1&&(y.adler=pr(y.adler,ye,oe,0)),ne.wrap=0,oe>=ne.w_size&&(bt===0&&(it(ne.head),ne.strstart=0,ne.block_start=0,ne.insert=0),hr=Te(ne.w_size),me(hr,ye,oe-ne.w_size,ne.w_size,0),ye=hr,oe=ne.w_size),vt=y.avail_in,jr=y.next_in,Ht=y.input,y.avail_in=oe,y.next_in=0,y.input=ye,mr(ne);ne.lookahead>=Uo;){He=ne.strstart,nt=ne.lookahead-(Uo-1);do ne.ins_h=(ne.ins_h<<ne.hash_shift^ne.window[He+Uo-1])&ne.hash_mask,ne.prev[He&ne.w_mask]=ne.head[ne.ins_h],ne.head[ne.ins_h]=He,He++;while(--nt);ne.strstart=He,ne.lookahead=Uo-1,mr(ne)}return ne.strstart+=ne.lookahead,ne.block_start=ne.strstart,ne.insert=ne.lookahead,ne.lookahead=0,ne.match_length=ne.prev_length=Uo-1,ne.match_available=0,y.next_in=jr,y.input=Ht,y.avail_in=vt,ne.wrap=bt,Y}var Rn=Object.prototype.toString,pn=function(ye){this.options=Fe({level:pe,method:qe,chunkSize:16384,windowBits:15,memLevel:8,strategy:Se,to:""},ye||{});var oe=this.options;oe.raw&&oe.windowBits>0?oe.windowBits=-oe.windowBits:oe.gzip&&oe.windowBits>0&&oe.windowBits<16&&(oe.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new uo,this.strm.avail_out=0;var ne=Ur(this.strm,oe.level,oe.method,oe.windowBits,oe.memLevel,oe.strategy);if(ne!==Y)throw new Error(Ko[ne]);if(oe.header&&rr(this.strm,oe.header),oe.dictionary){var He;if(typeof oe.dictionary=="string"?He=Gt(oe.dictionary):Rn.call(oe.dictionary)==="[object ArrayBuffer]"?He=new Uint8Array(oe.dictionary):He=oe.dictionary,ne=yn(this.strm,He),ne!==Y)throw new Error(Ko[ne]);this._dict_set=!0}};pn.prototype.push=function(ye,oe){var ne=this.strm,He=this.options.chunkSize,nt,bt;if(this.ended)return!1;bt=oe===~~oe?oe:oe===!0?C:i,typeof ye=="string"?ne.input=Gt(ye):Rn.call(ye)==="[object ArrayBuffer]"?ne.input=new Uint8Array(ye):ne.input=ye,ne.next_in=0,ne.avail_in=ne.input.length;do{if(ne.avail_out===0&&(ne.output=Te(He),ne.next_out=0,ne.avail_out=He),nt=Or(ne,bt),nt!==le&&nt!==Y)return this.onEnd(nt),this.ended=!0,!1;(ne.avail_out===0||ne.avail_in===0&&(bt===C||bt===A))&&(this.options.to==="string"?this.onData(Lr(Ue(ne.output,ne.next_out))):this.onData(Ue(ne.output,ne.next_out)))}while((ne.avail_in>0||ne.avail_out===0)&&nt!==le);return bt===C?(nt=En(this.strm),this.onEnd(nt),this.ended=!0,nt===Y):(bt===A&&(this.onEnd(Y),ne.avail_out=0),!0)},pn.prototype.onData=function(ye){this.chunks.push(ye)},pn.prototype.onEnd=function(ye){ye===Y&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=De(this.chunks)),this.chunks=[],this.err=ye,this.msg=this.strm.msg};function Un(y,ye){var oe=new pn(ye);if(oe.push(y,!0),oe.err)throw oe.msg||Ko[oe.err];return oe.result}function kn(y,ye){return ye=ye||{},ye.raw=!0,Un(y,ye)}function Ui(y,ye){return ye=ye||{},ye.gzip=!0,Un(y,ye)}var Ot=Un;function Ar(){return!0}var Br=t(8011),Wr=t(75896),tn=n.Z.browser,Nr=`
`,gn=0,wn={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],executive:[521.86,756],folio:[612,936],legal:[612,1008],letter:[612,792],tabloid:[792,1224]};function mi(){var y=0,ye=u();function oe(){for(var ne=arguments,He=0;He<arguments.length;++He){var nt=ne[He];if(nt===void 0)throw new Error("Cannot output undefined to PDF");if(nt instanceof os)nt.beforeRender(oe),nt.render(oe);else if(Co(nt))Oa(nt,oe);else if(No(nt))Xo(nt,oe);else if(typeof nt=="number"){if(isNaN(nt))throw new Error("Cannot output NaN to PDF");var bt=nt.toFixed(7);bt.indexOf(".")>=0&&(bt=bt.replace(/\.?0+$/,"")),bt=="-0"&&(bt="0"),ye.writeString(bt)}else/string|boolean/.test(typeof nt)?ye.writeString(String(nt)):typeof nt.get=="function"?ye.write(nt.get()):typeof nt=="object"&&(nt?oe(new Aa(nt)):ye.writeString("null"))}}return oe.writeData=function(ne){ye.write(ne)},oe.withIndent=function(ne){++y,ne(oe),--y},oe.indent=function(){oe(Nr,eo("",y*2,"  ")),oe.apply(null,arguments)},oe.offset=function(){return ye.offset()},oe.toString=function(){throw new Error("FIX CALLER")},oe.get=function(){return ye.get()},oe.stream=function(){return ye},oe}function wi(y,ye){var oe=y.beforeRender,ne=y.render;y.beforeRender=function(){},y.render=function(He){He(ye," 0 R")},y.renderFull=function(He){y._offset=He.offset(),He(ye," 0 obj "),oe.call(y,He),ne.call(y,He),He(" endobj")}}function Ni(y){if(typeof y!="function"){var ye=y;y=function(He,nt){return He in ye?ye[He]:nt}}var oe=y("paperSize",wn.a4);if(!oe)return{};if(typeof oe=="string"&&(oe=wn[oe.toLowerCase()],oe==null))throw new Error("Unknown paper size");oe[0]=Jo(oe[0]),oe[1]=Jo(oe[1]),y("landscape",!1)&&(oe=[Math.max(oe[0],oe[1]),Math.min(oe[0],oe[1])]);var ne=y("margin");return ne&&(typeof ne=="string"||typeof ne=="number"?(ne=Jo(ne,0),ne={left:ne,top:ne,right:ne,bottom:ne}):ne={left:Jo(ne.left,0),top:Jo(ne.top,0),right:Jo(ne.right,0),bottom:Jo(ne.bottom,0)},y("addMargin")&&(oe[0]+=ne.left+ne.right,oe[1]+=ne.top+ne.bottom)),{paperSize:oe,margin:ne}}var Gi={"Times-Roman":!0,"Times-Bold":!0,"Times-Italic":!0,"Times-BoldItalic":!0,Helvetica:!0,"Helvetica-Bold":!0,"Helvetica-Oblique":!0,"Helvetica-BoldOblique":!0,Courier:!0,"Courier-Bold":!0,"Courier-Oblique":!0,"Courier-BoldOblique":!0,Symbol:!0,ZapfDingbats:!0};function lo(y,ye){var oe;if(tn.msie&&(oe=/^data:.*?;base64,/i.exec(y))){ye(W(y.substr(oe[0].length)));return}function ne(){window.console&&(window.console.error?window.console.error("Cannot load URL: %s",y):window.console.log("Cannot load URL: %s",y)),ye(null)}var He=new XMLHttpRequest;He.open("GET",y,!0),f&&(He.responseType="arraybuffer"),He.onload=function(){He.status==200||He.status==304?ye(f?new Uint8Array(He.response):new window.VBArray(He.responseBody).toArray()):ne()},He.onerror=ne,He.send(null)}function _n(y,ye){var oe=Gi[y];oe?ye(oe):lo(y,function(ne){if(ne==null)throw new Error("Cannot load font from "+y);var He=new d(ne);Gi[y]=He,ye(He)})}var Cr={};function Ei(){Cr={}}function vo(y,ye,oe,ne){var He=Cr[y],nt,bt;if(He)oe(He);else if(He=new Image,/^data:/i.test(y)||(He.crossOrigin="Anonymous"),f&&!/^data:/i.test(y)){var vt=new XMLHttpRequest;vt.onload=function(){if(bt=vt.response,tn.mozilla&&bt.type=="image/svg+xml"){var Sn=new FileReader;Sn.onload=function(){var an=new window.DOMParser().parseFromString(this.result,"image/svg+xml"),ni=an.documentElement;if(ni.getAttribute("width")&&ni.getAttribute("height"))nt=URL.createObjectURL(bt),jr(nt);else{ni.setAttribute("width",ye.width),ni.setAttribute("height",ye.height);var Li=new window.XMLSerializer().serializeToString(ni),tt="data:image/svg+xml;base64,"+(0,Wr.Z)(Li);jr(tt)}},Sn.readAsText(bt)}else nt=URL.createObjectURL(bt),jr(nt)},vt.onerror=hr,vt.open("GET",y,!0),vt.responseType="blob",vt.send()}else jr(y);function jr(Sn){He.src=Sn,He.complete&&!tn.msie?Tn.call(He):(He.onload=Tn,He.onerror=hr)}function Ht(){ye||(ye={width:He.width,height:He.height});var Sn=document.createElement("canvas");Sn.width=ye.width,Sn.height=ye.height;var an=Sn.getContext("2d");an.drawImage(He,0,0,ye.width,ye.height);var ni;try{ni=an.getImageData(0,0,ye.width,ye.height)}catch(Cn){hr();return}finally{nt&&URL.revokeObjectURL(nt)}for(var Li=!1,tt=u(),at=u(),$t=ni.data,Fr=0;Fr<$t.length;){tt.writeByte($t[Fr++]),tt.writeByte($t[Fr++]),tt.writeByte($t[Fr++]);var Xr=$t[Fr++];Xr<255&&(Li=!0),at.writeByte(Xr)}if(Li||ne.keepPNG)He=new ds(ye.width,ye.height,tt,at);else{var Ln=Sn.toDataURL("image/jpeg",ne.jpegQuality);Ln=Ln.substr(Ln.indexOf(";base64,")+8);var xi=u();xi.writeBase64(Ln),He=new La(xi)}oe(Cr[y]=He)}function hr(){oe(Cr[y]="ERROR")}function Tn(){if(ye){var Sn=bt&&bt.type==="image/svg+xml"||/^data:image\/svg\+xml;/i.test(this.src.substring(0,19)),an=ye.width>=He.width||ye.height>=He.height;!Sn&&an&&(ye=null)}if(!ye&&bt&&/^image\/jpe?g$/i.test(bt.type)){var ni=new FileReader;ni.onload=function(){try{var Li=new La(u(new Uint8Array(this.result)));URL.revokeObjectURL(nt),oe(Cr[y]=Li)}catch(tt){Ht()}},ni.readAsArrayBuffer(bt)}else Ht()}}function di(y){return function(ye,oe){var ne=ye.length,He=ne;if(ne===0)return oe();function nt(){--ne===0&&oe()}for(;He-- >0;)y(ye[He],nt)}}var ri=di(_n),gi=function(y,ye,oe){oe=Object.assign({jpegQuality:.92,keepPNG:!1},oe);var ne=Object.keys(y),He=ne.length;if(He===0)return ye();function nt(){--He===0&&ye()}ne.forEach(function(bt){vo(bt,y[bt],nt,oe)})},Bi=function(ye){var oe=this,ne=mi(),He=0,nt=[];function bt(Tn,Sn){return ye&&ye[Tn]!=null?ye[Tn]:Sn}oe.getOption=bt,oe.attach=function(Tn){return nt.indexOf(Tn)<0&&(wi(Tn,++He),nt.push(Tn)),Tn},oe.pages=[],oe.FONTS={},oe.IMAGES={},oe.GRAD_COL_FUNCTIONS={},oe.GRAD_OPC_FUNCTIONS={},oe.GRAD_COL={},oe.GRAD_OPC={};var vt=oe.attach(new ml),jr=oe.attach(new us);if(bt("autoPrint")){var Ht={};Ht.JavaScript=new Aa({Names:[new ca("JS"),oe.attach(new Aa({S:Ri("JavaScript"),JS:new ca("print(true);")}))]}),vt.props.Names=new Aa(Ht)}vt.setPages(jr);var hr=oe.attach(new Aa({Producer:new ca(bt("producer","Kendo UI PDF Generator"),!0),Title:new ca(bt("title",""),!0),Author:new ca(bt("author",""),!0),Subject:new ca(bt("subject",""),!0),Keywords:new ca(bt("keywords",""),!0),Creator:new ca(bt("creator","Kendo UI PDF Generator"),!0),CreationDate:bt("date",new Date)}));oe.addPage=function(Tn){var Sn=Ni(function(Xr,Ln){return Tn&&Tn[Xr]!=null?Tn[Xr]:Ln}),an=Sn.paperSize,ni=Sn.margin,Li=an[0],tt=an[1];ni&&(Li-=ni.left+ni.right,tt-=ni.top+ni.bottom);var at=new ms(mi(),null,!0),$t={Contents:oe.attach(at),Parent:jr,MediaBox:[0,0,an[0],an[1]]},Fr=new _s(oe,$t);return Fr._content=at,jr.addPage(oe.attach(Fr)),Fr.transform(1,0,0,-1,0,an[1]),ni&&(Fr.translate(ni.left,ni.top),Fr.rect(0,0,Li,tt),Fr.clip()),oe.pages.push(Fr),Fr},oe.render=function(){var Tn;for(ne("%PDF-1.4",Nr,"%\xC2\xC1\xDA\xCF\xCE",Nr,Nr),Tn=0;Tn<nt.length;++Tn)nt[Tn].renderFull(ne),ne(Nr,Nr);var Sn=ne.offset();for(ne("xref",Nr,0," ",nt.length+1,Nr),ne("0000000000 65535 f ",Nr),Tn=0;Tn<nt.length;++Tn)ne(io(nt[Tn]._offset,10)," 00000 n ",Nr);return ne(Nr),ne("trailer",Nr),ne(new Aa({Size:nt.length+1,Root:vt,Info:hr}),Nr,Nr),ne("startxref",Nr,Sn,Nr),ne("%%EOF",Nr),ne.stream().offset(0)},oe.loadFonts=ri,oe.loadImages=gi};Bi.prototype.getFont=function(ye){var oe=this.FONTS[ye];if(!oe){if(oe=Gi[ye],!oe)throw new Error("Font "+ye+" has not been loaded");oe===!0?oe=this.attach(new Ya(ye)):oe=this.attach(new Qs(this,oe)),this.FONTS[ye]=oe}return oe},Bi.prototype.getImage=function(ye){var oe=this.IMAGES[ye];if(!oe){if(oe=Cr[ye],!oe)throw new Error("Image "+ye+" has not been loaded");if(oe==="ERROR")return null;oe=this.IMAGES[ye]=this.attach(oe.asStream(this))}return oe},Bi.prototype.getOpacityGS=function(ye,oe){var ne=parseFloat(ye).toFixed(3);ye=parseFloat(ne),ne+=oe?"S":"F";var He=this._opacityGSCache||(this._opacityGSCache={}),nt=He[ne];if(!nt){var bt={Type:Ri("ExtGState")};oe?bt.CA=ye:bt.ca=ye,nt=this.attach(new Aa(bt)),nt._resourceName=Ri("GS"+ ++gn),He[ne]=nt}return nt},Bi.prototype.dict=function(ye){return new Aa(ye)},Bi.prototype.name=function(ye){return Ri(ye)},Bi.prototype.stream=function(ye,oe){return new ms(oe,ye)};function eo(y,ye,oe){for(;y.length<ye;)y=oe+y;return y}function io(y,ye){return eo(String(y),ye,"0")}function Go(y,ye){return Object.prototype.hasOwnProperty.call(y,ye)}var Co=Array.isArray||function(y){return y instanceof Array};function No(y){return y instanceof Date}function Oa(y,ye){ye("["),y.length>0&&ye.withIndent(function(){for(var oe=0;oe<y.length;++oe)oe>0&&oe%8===0?ye.indent(y[oe]):ye(" ",y[oe])}),ye(" ]")}function Xo(y,ye){ye("(D:",io(y.getUTCFullYear(),4),io(y.getUTCMonth()+1,2),io(y.getUTCDate(),2),io(y.getUTCHours(),2),io(y.getUTCMinutes(),2),io(y.getUTCSeconds(),2),"Z)")}function ya(y){return y*2.834645669291339}function Hi(y){return ya(y*10)}function Ss(y){return y*72}function Jo(y,ye){if(typeof y=="number")return y;if(typeof y=="string"){var oe;if(oe=/^\s*([0-9.]+)\s*(mm|cm|in|pt)\s*$/.exec(y),oe){var ne=parseFloat(oe[1]);if(!isNaN(ne))return oe[2]=="pt"?ne:{mm:ya,cm:Hi,in:Ss}[oe[2]](ne)}}if(ye!=null)return ye;throw new Error("Can't parse unit: "+y)}var os=function(){};os.prototype.beforeRender=function(){};var ca=function(y){function ye(oe,ne){y.call(this),this.value=oe,this.utf16be=Boolean(ne)}return y&&(ye.__proto__=y),ye.prototype=Object.create(y&&y.prototype),ye.prototype.constructor=ye,ye.prototype.render=function(ne){var He=this.value;if(this.utf16be)He=Br.aA+(0,Br.FC)(He),He=He.replace(/([\(\)\\])/g,"\\$1"),ne("(",He,")");else{for(var nt=[40],bt=0;bt<He.length;++bt){var vt=He.charCodeAt(bt)&255;(vt==40||vt==41||vt==92)&&nt.push(92),nt.push(vt)}nt.push(41),ne.writeData(nt)}},ye.prototype.toString=function(){return this.value},ye}(os),Ga=function(y){function ye(oe){y.call(this,oe),this.value=oe}return y&&(ye.__proto__=y),ye.prototype=Object.create(y&&y.prototype),ye.prototype.constructor=ye,ye.prototype.render=function(ne){var He=this;ne("<");for(var nt=0;nt<this.value.length;++nt)ne(io(He.value.charCodeAt(nt).toString(16),4));ne(">")},ye}(ca),gl=function(y){function ye(oe){y.call(this),this.name=oe}return y&&(ye.__proto__=y),ye.prototype=Object.create(y&&y.prototype),ye.prototype.constructor=ye,ye.get=function(ne){return Ri(ne)},ye.prototype.render=function(ne){ne("/"+this.escape())},ye.prototype.escape=function(){return this.name.replace(/[^\x21-\x7E]/g,function(ne){return"#"+io(ne.charCodeAt(0).toString(16),2)})},ye.prototype.toString=function(){return this.name},ye}(os),Da={};function Ri(y){return Go(Da,y)?Da[y]:Da[y]=new gl(y)}var Aa=function(y){function ye(oe){y.call(this),this.props=oe}return y&&(ye.__proto__=y),ye.prototype=Object.create(y&&y.prototype),ye.prototype.constructor=ye,ye.prototype.render=function(ne){var He=this.props,nt=!0;ne("<<"),ne.withIndent(function(){for(var bt in He)Go(He,bt)&&!/^_/.test(bt)&&(nt=!1,ne.indent(Ri(bt)," ",He[bt]))}),nt||ne.indent(),ne(">>")},ye}(os),ms=function(y){function ye(oe,ne,He){if(y.call(this),typeof oe=="string"){var nt=u();nt.write(oe),oe=nt}this.data=oe,this.props=ne||{},this.compress=He}return y&&(ye.__proto__=y),ye.prototype=Object.create(y&&y.prototype),ye.prototype.constructor=ye,ye.prototype.render=function(ne){var He=this.data.get(),nt=this.props;this.compress&&Ar()&&(nt.Filter?nt.Filter instanceof Array||(nt.Filter=[nt.Filter]):nt.Filter=[],nt.Filter.unshift(Ri("FlateDecode")),He=Ot(He)),nt.Length=He.length,ne(new Aa(nt)," stream",Nr),ne.writeData(He),ne(Nr,"endstream")},ye}(os),ml=function(y){function ye(){y.call(this,{Type:Ri("Catalog")})}return y&&(ye.__proto__=y),ye.prototype=Object.create(y&&y.prototype),ye.prototype.constructor=ye,ye.prototype.setPages=function(ne){this.props.Pages=ne},ye}(Aa),us=function(y){function ye(){y.call(this,{Type:Ri("Pages"),Kids:[],Count:0})}return y&&(ye.__proto__=y),ye.prototype=Object.create(y&&y.prototype),ye.prototype.constructor=ye,ye.prototype.addPage=function(ne){this.props.Kids.push(ne),this.props.Count++},ye}(Aa),ea=[192,193,194,195,197,198,199,201,202,203,205,206,207],La=function(ye){ye.offset(0);var oe,ne,He,nt,bt=ye.readShort();if(bt!=65496)throw new Error("Invalid JPEG image");for(;!ye.eof();){var vt=ye.readByte();if(vt!=255)throw new Error("Invalid JPEG image");var jr=ye.readByte(),Ht=ye.readShort();if(ea.indexOf(jr)>=0){nt=ye.readByte(),ne=ye.readShort(),oe=ye.readShort(),He=ye.readByte();break}ye.skip(Ht-2)}if(He==null)throw new Error("Invalid JPEG image");var hr={Type:Ri("XObject"),Subtype:Ri("Image"),Width:oe,Height:ne,BitsPerComponent:nt,Filter:Ri("DCTDecode")};switch(He){case 1:hr.ColorSpace=Ri("DeviceGray");break;case 3:hr.ColorSpace=Ri("DeviceRGB");break;case 4:hr.ColorSpace=Ri("DeviceCMYK"),hr.Decode=[1,0,1,0,1,0,1,0];break}this.asStream=function(){ye.offset(0);var Tn=new ms(ye,hr);return Tn._resourceName=Ri("I"+ ++gn),Tn}},ds=function(ye,oe,ne,He){this.asStream=function(nt){var bt=new ms(He,{Type:Ri("XObject"),Subtype:Ri("Image"),Width:ye,Height:oe,BitsPerComponent:8,ColorSpace:Ri("DeviceGray")},!0),vt=new ms(ne,{Type:Ri("XObject"),Subtype:Ri("Image"),Width:ye,Height:oe,BitsPerComponent:8,ColorSpace:Ri("DeviceRGB"),SMask:nt.attach(bt)},!0);return vt._resourceName=Ri("I"+ ++gn),vt}},Ya=function(y){function ye(oe){y.call(this,{Type:Ri("Font"),Subtype:Ri("Type1"),BaseFont:Ri(oe)}),this._resourceName=Ri("F"+ ++gn)}return y&&(ye.__proto__=y),ye.prototype=Object.create(y&&y.prototype),ye.prototype.constructor=ye,ye.prototype.encodeText=function(ne){return new ca(String(ne))},ye}(Aa),Qs=function(y){function ye(oe,ne,He){y.call(this,{}),He=this.props,He.Type=Ri("Font"),He.Subtype=Ri("Type0"),He.Encoding=Ri("Identity-H"),this._pdf=oe,this._font=ne,this._sub=ne.makeSubset(),this._resourceName=Ri("F"+ ++gn);var nt=ne.head;this.name=ne.psName;var bt=this.scale=ne.scale;this.bbox=[nt.xMin*bt,nt.yMin*bt,nt.xMax*bt,nt.yMax*bt],this.italicAngle=ne.post.italicAngle,this.ascent=ne.ascent*bt,this.descent=ne.descent*bt,this.lineGap=ne.lineGap*bt,this.capHeight=ne.os2.capHeight||this.ascent,this.xHeight=ne.os2.xHeight||0,this.stemV=0,this.familyClass=(ne.os2.familyClass||0)>>8,this.isSerif=this.familyClass>=1&&this.familyClass<=7,this.isScript=this.familyClass==10,this.flags=(ne.post.isFixedPitch?1:0)|(this.isSerif?1<<1:0)|(this.isScript?1<<3:0)|(this.italicAngle!==0?1<<6:0)|1<<5}return y&&(ye.__proto__=y),ye.prototype=Object.create(y&&y.prototype),ye.prototype.constructor=ye,ye.prototype.encodeText=function(ne){return new Ga(this._sub.encodeText(String(ne)))},ye.prototype.getTextWidth=function(ne,He){for(var nt=this,bt=0,vt=this._font.cmap.codeMap,jr=0;jr<He.length;++jr){var Ht=vt[He.charCodeAt(jr)];bt+=nt._font.widthOfGlyph(Ht||0)}return bt*ne/1e3},ye.prototype.beforeRender=function(){var ne=this,He=ne._sub,nt=He.render(),bt=new ms(u(nt),{Length1:nt.length},!0),vt=ne._pdf.attach(new y({Type:Ri("FontDescriptor"),FontName:Ri(ne._sub.psName),FontBBox:ne.bbox,Flags:ne.flags,StemV:ne.stemV,ItalicAngle:ne.italicAngle,Ascent:ne.ascent,Descent:ne.descent,CapHeight:ne.capHeight,XHeight:ne.xHeight,FontFile2:ne._pdf.attach(bt)})),jr=He.ncid2ogid,Ht=He.firstChar,hr=He.lastChar,Tn=[];(function tt(at,$t){if(at<=hr){var Fr=jr[at];Fr==null?tt(at+1):($t||Tn.push(at,$t=[]),$t.push(ne._font.widthOfGlyph(Fr)),tt(at+1,$t))}})(Ht);var Sn=new y({Type:Ri("Font"),Subtype:Ri("CIDFontType2"),BaseFont:Ri(ne._sub.psName),CIDSystemInfo:new y({Registry:new ca("Adobe"),Ordering:new ca("Identity"),Supplement:0}),FontDescriptor:vt,FirstChar:Ht,LastChar:hr,DW:Math.round(ne._font.widthOfGlyph(0)),W:Tn,CIDToGIDMap:ne._pdf.attach(ne._makeCidToGidMap())}),an=ne.props;an.BaseFont=Ri(ne._sub.psName),an.DescendantFonts=[ne._pdf.attach(Sn)];var ni=new Ms(Ht,hr,He.subset),Li=new ms(mi(),null,!0);Li.data(ni),an.ToUnicode=ne._pdf.attach(Li)},ye.prototype._makeCidToGidMap=function(){return new ms(u(this._sub.cidToGidMap()),null,!0)},ye}(Aa),Ms=function(y){function ye(oe,ne,He){y.call(this),this.firstChar=oe,this.lastChar=ne,this.map=He}return y&&(ye.__proto__=y),ye.prototype=Object.create(y&&y.prototype),ye.prototype.constructor=ye,ye.prototype.render=function(ne){ne.indent("/CIDInit /ProcSet findresource begin"),ne.indent("12 dict begin"),ne.indent("begincmap"),ne.indent("/CIDSystemInfo <<"),ne.indent("  /Registry (Adobe)"),ne.indent("  /Ordering (UCS)"),ne.indent("  /Supplement 0"),ne.indent(">> def"),ne.indent("/CMapName /Adobe-Identity-UCS def"),ne.indent("/CMapType 2 def"),ne.indent("1 begincodespacerange"),ne.indent("  <0000><ffff>"),ne.indent("endcodespacerange");var He=this;ne.indent(He.lastChar-He.firstChar+1," beginbfchar"),ne.withIndent(function(){for(var nt=He.firstChar;nt<=He.lastChar;++nt){var bt=He.map[nt],vt=v([bt]);ne.indent("<",io(nt.toString(16),4),">","<");for(var jr=0;jr<vt.length;++jr)ne(io(vt.charCodeAt(jr).toString(16),4));ne(">")}}),ne.indent("endbfchar"),ne.indent("endcmap"),ne.indent("CMapName currentdict /CMap defineresource pop"),ne.indent("end"),ne.indent("end")},ye}(os);function To(y){return y.map(function(ye){return Co(ye)?To(ye):typeof ye=="number"?(Math.round(ye*1e3)/1e3).toFixed(3):ye}).join(" ")}function il(y,ye,oe,ne,He,nt,bt){var vt=To([ye,oe,ne,He,nt,bt]),jr=y.GRAD_COL_FUNCTIONS[vt];return jr||(jr=y.GRAD_COL_FUNCTIONS[vt]=y.attach(new Aa({FunctionType:2,Domain:[0,1],Range:[0,1,0,1,0,1],N:1,C0:[ye,oe,ne],C1:[He,nt,bt]}))),jr}function li(y,ye,oe){var ne=To([ye,oe]),He=y.GRAD_OPC_FUNCTIONS[ne];return He||(He=y.GRAD_OPC_FUNCTIONS[ne]=y.attach(new Aa({FunctionType:2,Domain:[0,1],Range:[0,1],N:1,C0:[ye],C1:[oe]}))),He}function ka(y,ye){var oe=!1,ne=[],He=[],nt=[],bt=[],vt,jr,Ht,hr,Tn;for(vt=1;vt<ye.length;++vt)jr=ye[vt-1],Ht=ye[vt],hr=jr.color,Tn=Ht.color,He.push(il(y,hr.r,hr.g,hr.b,Tn.r,Tn.g,Tn.b)),(hr.a<1||Tn.a<1)&&(oe=!0),nt.push(Ht.offset),bt.push(0,1);if(oe)for(vt=1;vt<ye.length;++vt)jr=ye[vt-1],Ht=ye[vt],hr=jr.color,Tn=Ht.color,ne.push(li(y,hr.a,Tn.a));return nt.pop(),{hasAlpha:oe,colors:Sn(He),opacities:oe?Sn(ne):null};function Sn(an){return an.length==1?an[0]:{FunctionType:3,Functions:an,Domain:[0,1],Bounds:nt,Encode:bt}}}function ga(y,ye,oe,ne,He,nt){var bt,vt;if(!nt){var jr=[ye].concat(ne);oe.forEach(function(Ht){jr.push(Ht.offset,Ht.color.r,Ht.color.g,Ht.color.b)}),vt=To(jr),bt=y.GRAD_COL[vt]}return bt||(bt=new Aa({Type:Ri("Shading"),ShadingType:ye?3:2,ColorSpace:Ri("DeviceRGB"),Coords:ne,Domain:[0,1],Function:He,Extend:[!0,!0]}),y.attach(bt),bt._resourceName="S"+ ++gn,vt&&(y.GRAD_COL[vt]=bt)),bt}function Sa(y,ye,oe,ne,He,nt){var bt,vt;if(!nt){var jr=[ye].concat(ne);oe.forEach(function(Ht){jr.push(Ht.offset,Ht.color.a)}),vt=To(jr),bt=y.GRAD_OPC[vt]}return bt||(bt=new Aa({Type:Ri("ExtGState"),AIS:!1,CA:1,ca:1,SMask:{Type:Ri("Mask"),S:Ri("Luminosity"),G:y.attach(new ms("/a0 gs /s0 sh",{Type:Ri("XObject"),Subtype:Ri("Form"),FormType:1,BBox:nt?[nt.left,nt.top+nt.height,nt.left+nt.width,nt.top]:[0,1,1,0],Group:{Type:Ri("Group"),S:Ri("Transparency"),CS:Ri("DeviceGray"),I:!0},Resources:{ExtGState:{a0:{CA:1,ca:1}},Shading:{s0:{ColorSpace:Ri("DeviceGray"),Coords:ne,Domain:[0,1],ShadingType:ye?3:2,Function:He,Extend:[!0,!0]}}}}))}}),y.attach(bt),bt._resourceName="O"+ ++gn,vt&&(y.GRAD_OPC[vt]=bt)),bt}function Yo(y,ye,oe){var ne=ye.type=="radial",He=ka(y,ye.stops),nt=ne?[ye.start.x,ye.start.y,ye.start.r,ye.end.x,ye.end.y,ye.end.r]:[ye.start.x,ye.start.y,ye.end.x,ye.end.y],bt=ga(y,ne,ye.stops,nt,He.colors,ye.userSpace&&oe),vt=He.hasAlpha?Sa(y,ne,ye.stops,nt,He.opacities,ye.userSpace&&oe):null;return{hasAlpha:He.hasAlpha,shading:bt,opacity:vt}}var _s=function(y){function ye(oe,ne){y.call(this,ne),this._pdf=oe,this._rcount=0,this._textMode=!1,this._fontResources={},this._gsResources={},this._xResources={},this._patResources={},this._shResources={},this._opacity=1,this._matrix=[1,0,0,1,0,0],this._annotations=[],this._font=null,this._fontSize=null,this._contextStack=[],ne=this.props,ne.Type=Ri("Page"),ne.ProcSet=[Ri("PDF"),Ri("Text"),Ri("ImageB"),Ri("ImageC"),Ri("ImageI")],ne.Resources=new y({Font:new y(this._fontResources),ExtGState:new y(this._gsResources),XObject:new y(this._xResources),Pattern:new y(this._patResources),Shading:new y(this._shResources)}),ne.Annots=this._annotations}return y&&(ye.__proto__=y),ye.prototype=Object.create(y&&y.prototype),ye.prototype.constructor=ye,ye.prototype._out=function(){this._content.data.apply(null,arguments)},ye.prototype.transform=function(ne,He,nt,bt,vt,jr){Ts(arguments)||(this._matrix=el(arguments,this._matrix),this._out(ne," ",He," ",nt," ",bt," ",vt," ",jr," cm"),this._out(Nr))},ye.prototype.translate=function(ne,He){this.transform(1,0,0,1,ne,He)},ye.prototype.scale=function(ne,He){this.transform(ne,0,0,He,0,0)},ye.prototype.rotate=function(ne){var He=Math.cos(ne),nt=Math.sin(ne);this.transform(He,nt,-nt,He,0,0)},ye.prototype.beginText=function(){this._textMode=!0,this._out("BT",Nr)},ye.prototype.endText=function(){this._textMode=!1,this._out("ET",Nr)},ye.prototype._requireTextMode=function(){if(!this._textMode)throw new Error("Text mode required; call page.beginText() first")},ye.prototype._requireFont=function(){if(!this._font)throw new Error("No font selected; call page.setFont() first")},ye.prototype.setFont=function(ne,He){this._requireTextMode(),ne==null?ne=this._font:ne instanceof Qs||(ne=this._pdf.getFont(ne)),He==null&&(He=this._fontSize),this._fontResources[ne._resourceName]=ne,this._font=ne,this._fontSize=He,this._out(ne._resourceName," ",He," Tf",Nr)},ye.prototype.setTextLeading=function(ne){this._requireTextMode(),this._out(ne," TL",Nr)},ye.prototype.setTextRenderingMode=function(ne){this._requireTextMode(),this._out(ne," Tr",Nr)},ye.prototype.showText=function(ne,He){if(this._requireFont(),ne.length>1&&He&&this._font instanceof Qs){var nt=this._font.getTextWidth(this._fontSize,ne),bt=He/nt*100;this._out(bt," Tz ")}this._out(this._font.encodeText(ne)," Tj",Nr)},ye.prototype.showTextNL=function(ne){this._requireFont(),this._out(this._font.encodeText(ne)," '",Nr)},ye.prototype.addLink=function(ne,He){var nt=this._toPage({x:He.left,y:He.bottom}),bt=this._toPage({x:He.right,y:He.top});this._annotations.push(new y({Type:Ri("Annot"),Subtype:Ri("Link"),Rect:[nt.x,nt.y,bt.x,bt.y],Border:[0,0,0],A:new y({Type:Ri("Action"),S:Ri("URI"),URI:new ca(ne)})}))},ye.prototype.setStrokeColor=function(ne,He,nt){this._out(ne," ",He," ",nt," RG",Nr)},ye.prototype.setOpacity=function(ne){this.setFillOpacity(ne),this.setStrokeOpacity(ne),this._opacity*=ne},ye.prototype.setStrokeOpacity=function(ne){if(ne<1){var He=this._pdf.getOpacityGS(this._opacity*ne,!0);this._gsResources[He._resourceName]=He,this._out(He._resourceName," gs",Nr)}},ye.prototype.setFillColor=function(ne,He,nt){this._out(ne," ",He," ",nt," rg",Nr)},ye.prototype.setFillOpacity=function(ne){if(ne<1){var He=this._pdf.getOpacityGS(this._opacity*ne,!1);this._gsResources[He._resourceName]=He,this._out(He._resourceName," gs",Nr)}},ye.prototype.gradient=function(ne,He){this.save(),this.rect(He.left,He.top,He.width,He.height),this.clip(),ne.userSpace||this.transform(He.width,0,0,He.height,He.left,He.top);var nt=Yo(this._pdf,ne,He),bt=nt.shading._resourceName,vt;this._shResources[bt]=nt.shading,nt.hasAlpha&&(vt=nt.opacity._resourceName,this._gsResources[vt]=nt.opacity,this._out("/"+vt+" gs ")),this._out("/"+bt+" sh",Nr),this.restore()},ye.prototype.setDashPattern=function(ne,He){this._out(ne," ",He," d",Nr)},ye.prototype.setLineWidth=function(ne){this._out(ne," w",Nr)},ye.prototype.setLineCap=function(ne){this._out(ne," J",Nr)},ye.prototype.setLineJoin=function(ne){this._out(ne," j",Nr)},ye.prototype.setMitterLimit=function(ne){this._out(ne," M",Nr)},ye.prototype.save=function(){this._contextStack.push(this._context()),this._out("q",Nr)},ye.prototype.restore=function(){this._out("Q",Nr),this._context(this._contextStack.pop())},ye.prototype.moveTo=function(ne,He){this._out(ne," ",He," m",Nr)},ye.prototype.lineTo=function(ne,He){this._out(ne," ",He," l",Nr)},ye.prototype.bezier=function(ne,He,nt,bt,vt,jr){this._out(ne," ",He," ",nt," ",bt," ",vt," ",jr," c",Nr)},ye.prototype.bezier1=function(ne,He,nt,bt){this._out(ne," ",He," ",nt," ",bt," y",Nr)},ye.prototype.bezier2=function(ne,He,nt,bt){this._out(ne," ",He," ",nt," ",bt," v",Nr)},ye.prototype.close=function(){this._out("h",Nr)},ye.prototype.rect=function(ne,He,nt,bt){this._out(ne," ",He," ",nt," ",bt," re",Nr)},ye.prototype.ellipse=function(ne,He,nt,bt){function vt(hr){return ne+hr}function jr(hr){return He+hr}var Ht=.5522847498307936;this.moveTo(vt(0),jr(bt)),this.bezier(vt(nt*Ht),jr(bt),vt(nt),jr(bt*Ht),vt(nt),jr(0)),this.bezier(vt(nt),jr(-bt*Ht),vt(nt*Ht),jr(-bt),vt(0),jr(-bt)),this.bezier(vt(-nt*Ht),jr(-bt),vt(-nt),jr(-bt*Ht),vt(-nt),jr(0)),this.bezier(vt(-nt),jr(bt*Ht),vt(-nt*Ht),jr(bt),vt(0),jr(bt))},ye.prototype.circle=function(ne,He,nt){this.ellipse(ne,He,nt,nt)},ye.prototype.stroke=function(){this._out("S",Nr)},ye.prototype.nop=function(){this._out("n",Nr)},ye.prototype.clip=function(){this._out("W n",Nr)},ye.prototype.clipStroke=function(){this._out("W S",Nr)},ye.prototype.closeStroke=function(){this._out("s",Nr)},ye.prototype.fill=function(){this._out("f",Nr)},ye.prototype.fillStroke=function(){this._out("B",Nr)},ye.prototype.drawImage=function(ne){var He=this._pdf.getImage(ne);He&&(this._xResources[He._resourceName]=He,this._out(He._resourceName," Do",Nr))},ye.prototype.comment=function(ne){var He=this;ne.split(/\r?\n/g).forEach(function(nt){He._out("% ",nt,Nr)})},ye.prototype._context=function(ne){if(ne!=null)this._opacity=ne.opacity,this._matrix=ne.matrix;else return{opacity:this._opacity,matrix:this._matrix}},ye.prototype._toPage=function(ne){var He=this._matrix,nt=He[0],bt=He[1],vt=He[2],jr=He[3],Ht=He[4],hr=He[5];return{x:nt*ne.x+vt*ne.y+Ht,y:bt*ne.x+jr*ne.y+hr}},ye}(Aa);function Es(y){return y.replace(/^\s*(['"])(.*)\1\s*$/,"$2")}function ol(y){var ye=/^\s*((normal|italic)\s+)?((normal|small-caps)\s+)?((normal|bold|\d+)\s+)?(([0-9.]+)(px|pt))(\/(([0-9.]+)(px|pt)|normal))?\s+(.*?)\s*$/i,oe=ye.exec(y);if(!oe)return{fontSize:12,fontFamily:"sans-serif"};var ne=oe[8]?parseInt(oe[8],10):12;return{italic:oe[2]&&oe[2].toLowerCase()=="italic",variant:oe[4],bold:oe[6]&&/bold|700/i.test(oe[6]),fontSize:ne,lineHeight:oe[12]?oe[12]=="normal"?ne:parseInt(oe[12],10):null,fontFamily:oe[14].split(/\s*,\s*/g).map(Es)}}function Na(y){function ye(bt){return y.bold&&(bt+="|bold"),y.italic&&(bt+="|italic"),bt.toLowerCase()}var oe=y.fontFamily,ne,He;if(oe instanceof Array)for(var nt=0;nt<oe.length&&(ne=ye(oe[nt]),He=aa[ne],!He);++nt);else He=aa[oe.toLowerCase()];for(;typeof He=="function";)He=He();return He||(He="Times-Roman"),He}var aa={serif:"Times-Roman","serif|bold":"Times-Bold","serif|italic":"Times-Italic","serif|bold|italic":"Times-BoldItalic","sans-serif":"Helvetica","sans-serif|bold":"Helvetica-Bold","sans-serif|italic":"Helvetica-Oblique","sans-serif|bold|italic":"Helvetica-BoldOblique",monospace:"Courier","monospace|bold":"Courier-Bold","monospace|italic":"Courier-Oblique","monospace|bold|italic":"Courier-BoldOblique",zapfdingbats:"ZapfDingbats","zapfdingbats|bold":"ZapfDingbats","zapfdingbats|italic":"ZapfDingbats","zapfdingbats|bold|italic":"ZapfDingbats"};function fs(y,ye){y=y.toLowerCase(),aa[y]=function(){return aa[ye]},aa[y+"|bold"]=function(){return aa[ye+"|bold"]},aa[y+"|italic"]=function(){return aa[ye+"|italic"]},aa[y+"|bold|italic"]=function(){return aa[ye+"|bold|italic"]}}fs("Times New Roman","serif"),fs("Courier New","monospace"),fs("Arial","sans-serif"),fs("Helvetica","sans-serif"),fs("Verdana","sans-serif"),fs("Tahoma","sans-serif"),fs("Georgia","sans-serif"),fs("Monaco","monospace"),fs("Andale Mono","monospace");function Gs(y,ye){if(arguments.length==1)for(var oe in y)Go(y,oe)&&Gs(oe,y[oe]);else switch(y=y.toLowerCase(),aa[y]=ye,y){case"dejavu sans":aa["sans-serif"]=ye;break;case"dejavu sans|bold":aa["sans-serif|bold"]=ye;break;case"dejavu sans|italic":aa["sans-serif|italic"]=ye;break;case"dejavu sans|bold|italic":aa["sans-serif|bold|italic"]=ye;break;case"dejavu serif":aa.serif=ye;break;case"dejavu serif|bold":aa["serif|bold"]=ye;break;case"dejavu serif|italic":aa["serif|italic"]=ye;break;case"dejavu serif|bold|italic":aa["serif|bold|italic"]=ye;break;case"dejavu mono":aa.monospace=ye;break;case"dejavu mono|bold":aa["monospace|bold"]=ye;break;case"dejavu mono|italic":aa["monospace|italic"]=ye;break;case"dejavu mono|bold|italic":aa["monospace|bold|italic"]=ye;break}}function el(y,ye){var oe=y[0],ne=y[1],He=y[2],nt=y[3],bt=y[4],vt=y[5],jr=ye[0],Ht=ye[1],hr=ye[2],Tn=ye[3],Sn=ye[4],an=ye[5];return[oe*jr+ne*hr,oe*Ht+ne*Tn,He*jr+nt*hr,He*Ht+nt*Tn,bt*jr+vt*hr+Sn,bt*Ht+vt*Tn+an]}function Ts(y){return y[0]===1&&y[1]===0&&y[2]===0&&y[3]===1&&y[4]===0&&y[5]===0}var Rl={fill:0,stroke:1,fillAndStroke:2,invisible:3,fillAndClip:4,strokeAndClip:5,fillStrokeClip:6,clip:7}},70235:function(_e,$,t){"use strict";t.d($,{F_:function(){return ce}});var n=t(15637),f=t(15487),l=t(38572),u=t(14881),m=t(66790),v=t(43805),M=t(51004),ee=t(23087),W=function(pe){function h(te){te===void 0&&(te={}),pe.call(this,te),this.center(te.center||new M.Z),this._radius=(0,ee.Z)(te.radius)?te.radius:1,this._fallbackFill=te.fallbackFill}return pe&&(h.__proto__=pe),h.prototype=Object.create(pe&&pe.prototype),h.prototype.constructor=h,h.prototype.radius=function(Q){return(0,ee.Z)(Q)?(this._radius=Q,this.geometryChange(),this):this._radius},h.prototype.fallbackFill=function(Q){return(0,ee.Z)(Q)?(this._fallbackFill=Q,this.optionsChange(),this):this._fallbackFill},h}((0,v.Z)(m.Z,["center"])),re=W,se=t(92575),S=t(18258),J=t(44350),T=300,V=l.Q$,L={dash:[4],dashDot:[4,2,1,2],dot:[1,2],longDash:[8,2],longDashDot:[8,2,1,2],longDashDotDot:[8,2,1,2,1,2],solid:[]},c={butt:0,round:1,square:2},R={miter:0,round:1,bevel:2};function B(pe,h){var te=[],Q={},we=pe.options;function Se(Me,Fe,Ue){return Ue||(Ue=we),Ue.pdf&&Ue.pdf[Me]!=null?Ue.pdf[Me]:Fe}var Ne=Se("multiPage"),ze=Se("imgDPI",T);l.qL(),pe.traverse(function(Me){O({Image:function(Fe){var Ue=Fe.src(),he=Fe.bbox().size;if(ze){var xe=Q[Ue];he={width:Math.ceil(he.width*ze/72),height:Math.ceil(he.height*ze/72)},xe&&(he.width=Math.max(xe.width,he.width),he.height=Math.max(xe.height,he.height))}Q[Ue]=he},Text:function(Fe){var Ue=l.$h(Fe.options.font),he=l.VI(Ue);te.indexOf(he)<0&&te.push(he)}},Me)});function Je(){if(--qe>0)return;var Me=new l.BB({producer:Se("producer"),title:Se("title"),author:Se("author"),subject:Se("subject"),keywords:Se("keywords"),creator:Se("creator"),date:Se("date"),autoPrint:Se("autoPrint")});function Fe(Ue){var he=Ue.options,xe=ae(Ue),q=xe.bbox;Ue=xe.root;var me=Se("paperSize",Se("paperSize","auto"),he),De=!1;if(me=="auto")if(q){var Te=q.getSize();me=[Te.width,Te.height],De=!0;var Oe=q.getOrigin();xe=new u.Z,xe.transform(new S.Z(1,0,0,1,-Oe.x,-Oe.y)),xe.append(Ue),Ue=xe}else me="A4";var st;st=Me.addPage({paperSize:me,margin:Se("margin",Se("margin"),he),addMargin:De,landscape:Se("landscape",Se("landscape",!1),he)}),I(Ue,st,Me)}Ne?pe.children.forEach(Fe):Fe(pe),h(Me.render(),Me)}var qe=2;l.hR(te,Je),l.lL(Q,Je,{jpegQuality:Se("jpegQuality",.92),keepPNG:Se("keepPNG",!1)})}function X(pe,h){B(pe,function(te){h("data:application/pdf;base64,"+te.base64())})}function g(pe,h){B(pe,function(te){h(new window.Blob([te.get()],{type:"application/pdf"}))})}function p(pe,h,te,Q){window.Blob&&!support.browser.safari?g(pe,function(we){util_saveAs({dataURI:we,fileName:h}),Q&&Q(we)}):X(pe,function(we){util_saveAs({dataURI:we,fileName:h,proxyURL:te}),Q&&Q(we)})}function O(pe,h){var te=pe[h.nodeType];return te?te.call.apply(te,arguments):h}function I(pe,h,te){pe.options._pdfDebug&&h.comment("BEGIN: "+pe.options._pdfDebug);var Q=pe.transform(),we=pe.opacity();if(h.save(),we!=null&&we<1&&h.setOpacity(we),E(pe,h,te),K(pe,h,te),Q){var Se=Q.matrix();h.transform(Se.a,Se.b,Se.c,Se.d,Se.e,Se.f)}d(pe,h,te),O({Path:U,MultiPath:F,Circle:Y,Arc:le,Text:ie,Image:ue,Group:j,Rect:P},pe,h,te),h.restore(),pe.options._pdfDebug&&h.comment("END: "+pe.options._pdfDebug)}function E(pe,h){var te=pe.stroke&&pe.stroke();if(te){var Q=te.color;if(Q){if(Q=Z(Q),Q==null)return;h.setStrokeColor(Q.r,Q.g,Q.b),Q.a!=1&&h.setStrokeOpacity(Q.a)}var we=te.width;if(we!=null){if(we===0)return;h.setLineWidth(we)}var Se=te.dashType;Se&&h.setDashPattern(L[Se],0);var Ne=te.lineCap;Ne&&h.setLineCap(c[Ne]);var ze=te.lineJoin;ze&&h.setLineJoin(R[ze]);var Je=te.opacity;Je!=null&&h.setStrokeOpacity(Je)}}function K(pe,h){var te=pe.fill&&pe.fill();if(te&&!(te instanceof m.Z)){var Q=te.color;if(Q){if(Q=Z(Q),Q==null)return;h.setFillColor(Q.r,Q.g,Q.b),Q.a!=1&&h.setFillOpacity(Q.a)}var we=te.opacity;we!=null&&h.setFillOpacity(we)}}function d(pe,h,te){var Q=pe.clip();Q&&(C(Q,h,te),h.clip())}function i(pe){return pe&&(pe instanceof m.Z||pe.color&&!/^(none|transparent)$/i.test(pe.color)&&(pe.width==null||pe.width>0)&&(pe.opacity==null||pe.opacity>0))}function x(pe,h,te,Q){var we=pe.fill();if(we instanceof m.Z){Q?h.clipStroke():h.clip();var Se=we instanceof re,Ne,ze;Se?(Ne={x:we.center().x,y:we.center().y,r:0},ze={x:we.center().x,y:we.center().y,r:we.radius()}):(Ne={x:we.start().x,y:we.start().y},ze={x:we.end().x,y:we.end().y});var Je=we.stops.elements().map(function(he){var xe=he.offset();/%$/.test(xe)?xe=parseFloat(xe)/100:xe=parseFloat(xe);var q=Z(he.color());return q.a*=he.opacity(),{offset:xe,color:q}});Je.unshift(Je[0]),Je.push(Je[Je.length-1]);var qe={userSpace:we.userSpace(),type:Se?"radial":"linear",start:Ne,end:ze,stops:Je},Me=pe.rawBBox(),Fe=Me.topLeft(),Ue=Me.getSize();return Me={left:Fe.x,top:Fe.y,width:Ue.width,height:Ue.height},h.gradient(qe,Me),!0}}function A(pe,h,te){i(pe.fill())&&i(pe.stroke())?x(pe,h,te,!0)||h.fillStroke():i(pe.fill())?x(pe,h,te,!1)||h.fill():i(pe.stroke())?h.stroke():h.nop()}function w(pe,h){var te=pe.segments;if(te.length==4&&pe.options.closed){for(var Q=[],we=0;we<te.length;++we){if(te[we].controlIn())return!1;Q[we]=te[we].anchor()}var Se=Q[0].y==Q[1].y&&Q[1].x==Q[2].x&&Q[2].y==Q[3].y&&Q[3].x==Q[0].x||Q[0].x==Q[1].x&&Q[1].y==Q[2].y&&Q[2].x==Q[3].x&&Q[3].y==Q[0].y;if(Se)return h.rect(Q[0].x,Q[0].y,Q[2].x-Q[0].x,Q[2].y-Q[0].y),!0}}function C(pe,h,te){var Q=pe.segments;if(Q.length!==0&&!w(pe,h,te)){for(var we,Se=0;Se<Q.length;++Se){var Ne=Q[Se],ze=Ne.anchor();if(!we)h.moveTo(ze.x,ze.y);else{var Je=we.controlOut(),qe=Ne.controlIn();Je&&qe?h.bezier(Je.x,Je.y,qe.x,qe.y,ze.x,ze.y):h.lineTo(ze.x,ze.y)}we=Ne}pe.options.closed&&h.close()}}function U(pe,h,te){C(pe,h,te),A(pe,h,te)}function F(pe,h,te){for(var Q=pe.paths,we=0;we<Q.length;++we)C(Q[we],h,te);A(pe,h,te)}function Y(pe,h,te){var Q=pe.geometry();h.circle(Q.center.x,Q.center.y,Q.radius),A(pe,h,te)}function le(pe,h,te){var Q=pe.geometry().curvePoints();h.moveTo(Q[0].x,Q[0].y);for(var we=1;we<Q.length;)h.bezier(Q[we].x,Q[we++].y,Q[we].x,Q[we++].y,Q[we].x,Q[we++].y);A(pe,h,te)}function ie(pe,h){var te=l.$h(pe.options.font),Q=pe._position,we;pe.fill()&&pe.stroke()?we=V.fillAndStroke:pe.fill()?we=V.fill:pe.stroke()&&(we=V.stroke),h.transform(1,0,0,-1,Q.x,Q.y+te.fontSize),h.beginText(),h.setFont(l.VI(te),te.fontSize),h.setTextRenderingMode(we),h.showText(pe.content(),pe._pdfRect?pe._pdfRect.width():null),h.endText()}function j(pe,h,te){pe._pdfLink&&h.addLink(pe._pdfLink.url,pe._pdfLink);for(var Q=pe.children,we=0;we<Q.length;++we)I(Q[we],h,te)}function ue(pe,h){var te=pe.src();if(te){var Q=pe.rect(),we=Q.getOrigin(),Se=Q.getSize();h.transform(Se.width,0,0,-Se.height,we.x,we.y+Se.height),h.drawImage(te)}}function P(pe,h,te){var Q=pe.geometry(),we=Q.cornerRadius,Se=we[0],Ne=we[1];Se===0&&Ne===0?(h.rect(Q.origin.x,Q.origin.y,Q.size.width,Q.size.height),A(pe,h,te)):U(se.y.fromRect(Q,pe.options),h,te)}function Z(pe){var h=(0,f.ZP)(pe,!0);return h?h.toRGB():null}function ae(pe){var h=!1,te=S.Z.unit(),Q=null,we;do we=!1,pe=Me(pe);while(pe&&we);return{root:pe,bbox:Q};function Se(Fe){return we=!0,Fe}function Ne(Fe){return Fe.visible()&&Fe.opacity()>0&&(i(Fe.fill())||i(Fe.stroke()))}function ze(Fe){for(var Ue=[],he=0;he<Fe.length;++he){var xe=Me(Fe[he]);xe!=null&&Ue.push(xe)}return Ue}function Je(Fe,Ue){var he=h,xe=te;Fe.transform()&&(te=te.multiplyCopy(Fe.transform().matrix()));var q=Fe.clip();q&&(q=q.bbox(),q&&(q=q.bbox(te),h=h?J.Z.intersect(h,q):q));try{return Ue()}finally{h=he,te=xe}}function qe(Fe){if(h==null)return!1;var Ue=Fe.rawBBox().bbox(te);return h&&Ue&&(Ue=J.Z.intersect(Ue,h)),Ue}function Me(Fe){return Je(Fe,function(){if(!(Fe instanceof u.Z||Fe instanceof se.w)){var Ue=qe(Fe);if(!Ue)return Se(null);Q=Q?J.Z.union(Q,Ue):Ue}return O({Path:function(he){return he.segments.length===0||!Ne(he)?Se(null):he},MultiPath:function(he){if(!Ne(he))return Se(null);var xe=new se.w(he.options);return xe.paths=ze(he.paths),xe.paths.length===0?Se(null):xe},Circle:function(he){return Ne(he)?he:Se(null)},Arc:function(he){return Ne(he)?he:Se(null)},Text:function(he){return!/\S/.test(he.content())||!Ne(he)?Se(null):he},Image:function(he){return he.visible()&&he.opacity()>0?he:Se(null)},Group:function(he){if(!(he.visible()&&he.opacity()>0))return Se(null);var xe=new u.Z(he.options);return xe.children=ze(he.children),xe._pdfLink=he._pdfLink,he!==pe&&xe.children.length===0&&!he._pdfLink?Se(null):xe},Rect:function(he){return Ne(he)?he:Se(null)}},Fe)})}}function ce(pe,h){var te=(0,n.Z)();for(var Q in h)Q=="margin"&&pe.options.pdf&&pe.options.pdf._ignoreMargin||pe.options.set("pdf."+Q,h[Q]);return X(pe,te.resolve),te}function be(pe,h){var te=createPromise();for(var Q in h)Q=="margin"&&pe.options.pdf&&pe.options.pdf._ignoreMargin||pe.options.set("pdf."+Q,h[Q]);return window.Blob&&!support.browser.safari?g(pe,te.resolve):X(pe,te.resolve),te}},3400:function(_e,$,t){"use strict";t.d($,{Z:function(){return S}});var n=t(11948),f=t(44350),l=t(18258),u=t(36391),m=t(67812),v=t(35099),M=t(28403),ee=t(23087);function W(J,T){return(0,ee.Z)(J)?J:T}function re(J){return J===""||J===null||J==="none"||J==="transparent"||!(0,ee.Z)(J)}var se=function(J){function T(L){J.call(this),this._initOptions(L)}J&&(T.__proto__=J),T.prototype=Object.create(J&&J.prototype),T.prototype.constructor=T;var V={nodeType:{configurable:!0}};return V.nodeType.get=function(){return"Rect"},T.prototype._initOptions=function(c){c===void 0&&(c={});var R=c.clip,B=c.transform;B&&(c.transform=(0,u.Z)(B)),R&&!R.id&&(R.id=(0,M.Z)()),this.options=new n.Z(c),this.options.addObserver(this)},T.prototype.transform=function(c){if((0,ee.Z)(c))this.options.set("transform",(0,u.Z)(c));else return this.options.get("transform")},T.prototype.parentTransform=function(){for(var c=this,R;c.parent;){c=c.parent;var B=c.transform();B&&(R=B.matrix().multiplyCopy(R||l.Z.unit()))}if(R)return(0,u.Z)(R)},T.prototype.currentTransform=function(c){c===void 0&&(c=this.parentTransform());var R=this.transform(),B=(0,m.Z)(R),X=(0,m.Z)(c),g;if(B&&X?g=X.multiplyCopy(B):g=B||X,g)return(0,u.Z)(g)},T.prototype.visible=function(c){return(0,ee.Z)(c)?(this.options.set("visible",c),this):this.options.get("visible")!==!1},T.prototype.clip=function(c){var R=this.options;return(0,ee.Z)(c)?(c&&!c.id&&(c.id=(0,M.Z)()),R.set("clip",c),this):R.get("clip")},T.prototype.opacity=function(c){return(0,ee.Z)(c)?(this.options.set("opacity",c),this):W(this.options.get("opacity"),1)},T.prototype.className=function(c){return(0,ee.Z)(c)?(this.options.set("className",c),this):this.options.get("className")},T.prototype.clippedBBox=function(c){var R=this._clippedBBox(c);if(R){var B=this.clip();return B?f.Z.intersect(R,B.bbox(c)):R}},T.prototype.containsPoint=function(c,R){if(this.visible()){var B=this.currentTransform(R),X=c;return B&&(X=c.transformCopy(B.matrix().invert())),this._hasFill()&&this._containsPoint(X)||this._isOnPath&&this._hasStroke()&&this._isOnPath(X)}return!1},T.prototype._hasFill=function(){var c=this.options.fill;return c&&!re(c.color)},T.prototype._hasStroke=function(){var c=this.options.stroke;return c&&c.width>0&&!re(c.color)},T.prototype._clippedBBox=function(c){return this.bbox(c)},Object.defineProperties(T.prototype,V),T}(v.Z),S=se},52005:function(_e,$,t){"use strict";var n=t(35099),f=[].push,l=[].pop,u=[].splice,m=[].shift,v=[].slice,M=[].unshift,ee=function(W){function re(se){se===void 0&&(se=[]),W.call(this),this.length=0,this._splice(0,se.length,se)}return W&&(re.__proto__=W),re.prototype=Object.create(W&&W.prototype),re.prototype.constructor=re,re.prototype.elements=function(S){return S?(this._splice(0,this.length,S),this._change(),this):this.slice(0)},re.prototype.push=function(){var S=arguments,J=f.apply(this,S);return this._add(S),J},re.prototype.slice=function(){return v.call(this)},re.prototype.pop=function(){var S=this.length,J=l.apply(this);return S&&this._remove([J]),J},re.prototype.splice=function(S,J){var T=v.call(arguments,2),V=this._splice(S,J,T);return this._change(),V},re.prototype.shift=function(){var S=this.length,J=m.apply(this);return S&&this._remove([J]),J},re.prototype.unshift=function(){var S=arguments,J=M.apply(this,S);return this._add(S),J},re.prototype.indexOf=function(S){for(var J=this,T=this.length,V=0;V<T;V++)if(J[V]===S)return V;return-1},re.prototype._splice=function(S,J,T){var V=u.apply(this,[S,J].concat(T));return this._clearObserver(V),this._setObserver(T),V},re.prototype._add=function(S){this._setObserver(S),this._change()},re.prototype._remove=function(S){this._clearObserver(S),this._change()},re.prototype._setObserver=function(S){for(var J=this,T=0;T<S.length;T++)S[T].addObserver(J)},re.prototype._clearObserver=function(S){for(var J=this,T=0;T<S.length;T++)S[T].removeObserver(J)},re.prototype._change=function(){},re}(n.Z);$.Z=ee},14881:function(_e,$,t){"use strict";t.d($,{Z:function(){return ee}});var n=t(3400),f=function(W,re){return function(se){function S(){se.apply(this,arguments)}return se&&(S.__proto__=se),S.prototype=Object.create(se&&se.prototype),S.prototype.constructor=S,S.prototype.traverse=function(T){for(var V=this[re],L=0;L<V.length;L++){var c=V[L];c.traverse?c.traverse(T):T(c)}return this},S}(W)},l=f;function u(W,re){return W.push.apply(W,re),W}var m=t(11343),v=t(23374),M=function(W){function re(S){W.call(this,S),this.children=[]}W&&(re.__proto__=W),re.prototype=Object.create(W&&W.prototype),re.prototype.constructor=re;var se={nodeType:{configurable:!0}};return se.nodeType.get=function(){return"Group"},re.prototype.childrenChange=function(J,T,V){this.trigger("childrenChange",{action:J,items:T,index:V})},re.prototype.append=function(){return u(this.children,arguments),this._reparent(arguments,this),this.childrenChange("add",arguments),this},re.prototype.insert=function(J,T){return this.children.splice(J,0,T),T.parent=this,this.childrenChange("add",[T],J),this},re.prototype.insertAt=function(J,T){return this.insert(T,J)},re.prototype.remove=function(J){var T=this.children.indexOf(J);return T>=0&&(this.children.splice(T,1),J.parent=null,this.childrenChange("remove",[J],T)),this},re.prototype.removeAt=function(J){if(0<=J&&J<this.children.length){var T=this.children[J];this.children.splice(J,1),T.parent=null,this.childrenChange("remove",[T],J)}return this},re.prototype.clear=function(){var J=this.children;return this.children=[],this._reparent(J,null),this.childrenChange("remove",J,0),this},re.prototype.bbox=function(J){return(0,m.Z)(this.children,!0,this.currentTransform(J))},re.prototype.rawBBox=function(){return(0,m.Z)(this.children,!1)},re.prototype._clippedBBox=function(J){return(0,v.Z)(this.children,this.currentTransform(J))},re.prototype.currentTransform=function(J){return n.Z.prototype.currentTransform.call(this,J)||null},re.prototype.containsPoint=function(J,T){if(this.visible()){for(var V=this.children,L=this.currentTransform(T),c=0;c<V.length;c++)if(V[c].containsPoint(J,L))return!0}return!1},re.prototype._reparent=function(J,T){for(var V=this,L=0;L<J.length;L++){var c=J[L],R=c.parent;R&&R!==V&&R.remove&&R.remove(c),c.parent=T}},Object.defineProperties(re.prototype,se),re}(l(n.Z,"children")),ee=M},92575:function(_e,$,t){"use strict";t.d($,{w:function(){return fn},y:function(){return vn}});var n=t(52005),f=function(Zt){function St(){Zt.apply(this,arguments)}return Zt&&(St.__proto__=Zt),St.prototype=Object.create(Zt&&Zt.prototype),St.prototype.constructor=St,St.prototype._change=function(){this.geometryChange()},St}(n.Z),l=f,u=t(3400),m=t(35099),v=t(44350),M=t(51004),ee=t(36391),W=t(93043),re=t(83182);function se(Zt,St,Wt){var Nt=(0,W.Z)(Math.atan2(St.y-Zt.y,St.x-Zt.x)),dt=Wt.transformCopy((0,ee.Z)().rotate(-Nt,Zt));return dt.x<Zt.x}function S(Zt,St,Wt){var Nt=1-Zt;return Math.pow(Nt,3)*Wt[0][St]+3*Math.pow(Nt,2)*Zt*Wt[1][St]+3*Math.pow(Zt,2)*Nt*Wt[2][St]+Math.pow(Zt,3)*Wt[3][St]}function J(Zt,St){return[-Zt[0][St]+3*Zt[1][St]-3*Zt[2][St]+Zt[3][St],3*(Zt[0][St]-2*Zt[1][St]+Zt[2][St]),3*(-Zt[0][St]+Zt[1][St]),Zt[0][St]]}var T=t(72714),V=t(36908),L=t(22861),c=function(Zt){function St(Wt,Nt){Wt===void 0&&(Wt=0),Nt===void 0&&(Nt=0),Zt.call(this),this.real=Wt,this.img=Nt}return Zt&&(St.__proto__=Zt),St.prototype=Object.create(Zt&&Zt.prototype),St.prototype.constructor=St,St.prototype.add=function(Nt){return new St((0,L.Z)(this.real+Nt.real,T.c),(0,L.Z)(this.img+Nt.img,T.c))},St.prototype.addConstant=function(Nt){return new St(this.real+Nt,this.img)},St.prototype.negate=function(){return new St(-this.real,-this.img)},St.prototype.multiply=function(Nt){return new St(this.real*Nt.real-this.img*Nt.img,this.real*Nt.img+this.img*Nt.real)},St.prototype.multiplyConstant=function(Nt){return new St(this.real*Nt,this.img*Nt)},St.prototype.nthRoot=function(Nt){var dt=Math.atan2(this.img,this.real),nr=Math.sqrt(Math.pow(this.img,2)+Math.pow(this.real,2)),et=Math.pow(nr,1/Nt);return new St(et*Math.cos(dt/Nt),et*Math.sin(dt/Nt))},St.prototype.equals=function(Nt){return this.real===Nt.real&&this.img===Nt.img},St.prototype.isReal=function(){return this.img===0},St}(V.Z),R=c;function B(Zt){return Zt<0?-1:1}function X(Zt,St,Wt){var Nt=Math.sqrt(Math.pow(St,2)-4*Zt*Wt);return[(-St+Nt)/(2*Zt),(-St-Nt)/(2*Zt)]}function g(Zt,St,Wt,Nt){if(Zt===0)return X(St,Wt,Nt);var dt=(3*Zt*Wt-Math.pow(St,2))/(3*Math.pow(Zt,2)),nr=(2*Math.pow(St,3)-9*Zt*St*Wt+27*Math.pow(Zt,2)*Nt)/(27*Math.pow(Zt,3)),et=Math.pow(dt/3,3)+Math.pow(nr/2,2),Tt=new R(0,1),Rt=-St/(3*Zt),or,ir,Qr,ft,tr,gr,ar;et<0?(or=new R(-nr/2,Math.sqrt(-et)).nthRoot(3),ir=new R(-nr/2,-Math.sqrt(-et)).nthRoot(3)):(or=-nr/2+Math.sqrt(et),or=new R(B(or)*Math.pow(Math.abs(or),.3333333333333333)),ir=-nr/2-Math.sqrt(et),ir=new R(B(ir)*Math.pow(Math.abs(ir),.3333333333333333))),Qr=or.add(ir),gr=or.add(ir).multiplyConstant(-.5),ar=or.add(ir.negate()).multiplyConstant(Math.sqrt(3)/2),ft=gr.add(Tt.multiply(ar)),tr=gr.add(Tt.negate().multiply(ar));var rt=[];return Qr.isReal()&&rt.push((0,L.Z)(Qr.real+Rt,T.c)),ft.isReal()&&rt.push((0,L.Z)(ft.real+Rt,T.c)),tr.isReal()&&rt.push((0,L.Z)(tr.real+Rt,T.c)),rt}function p(Zt,St,Wt,Nt,dt){for(var nr=J(Zt,Nt),et=g(nr[0],nr[1],nr[2],nr[3]-St[Nt]),Tt,Rt=0;Rt<et.length;Rt++)if(0<=et[Rt]&&et[Rt]<=1&&(Tt=S(et[Rt],Wt,Zt),Math.abs(Tt-St[Wt])<=dt))return!0}var O=t(26269);function I(Zt,St,Wt){for(var Nt=J(Zt,"x"),dt=g(Nt[0],Nt[1],Nt[2],Nt[3]-St.x),nr,et,Tt=0,Rt=0;Rt<dt.length;Rt++)nr=S(dt[Rt],"y",Zt),et=(0,O.Z)(nr,St.y)||nr>St.y,et&&((dt[Rt]===0||dt[Rt]===1)&&Wt.bottomRight().x>St.x||0<dt[Rt]&&dt[Rt]<1)&&Tt++;return Tt}function E(Zt,St,Wt){var Nt;if(Zt.x!==St.x){var dt=Math.min(Zt.x,St.x),nr=Math.max(Zt.x,St.x),et=Math.min(Zt.y,St.y),Tt=Math.max(Zt.y,St.y),Rt=dt<=Wt.x&&Wt.x<nr;et===Tt?Nt=Wt.y<=et&&Rt:Nt=Rt&&(Tt-et)*((Zt.x-St.x)*(Zt.y-St.y)>0?Wt.x-dt:nr-Wt.x)/(nr-dt)+et-Wt.y>=0}return Nt?1:0}var K=t(43805),d=["anchor","controlIn","controlOut"],i=function(Zt){function St(Wt,Nt,dt){Zt.call(this),this.anchor(Wt||new M.Z),this.controlIn(Nt),this.controlOut(dt)}return Zt&&(St.__proto__=Zt),St.prototype=Object.create(Zt&&Zt.prototype),St.prototype.constructor=St,St.prototype.bboxTo=function(Nt,dt){var nr=this.anchor().transformCopy(dt),et=Nt.anchor().transformCopy(dt),Tt;return this.controlOut()&&Nt.controlIn()?Tt=this._curveBoundingBox(nr,this.controlOut().transformCopy(dt),Nt.controlIn().transformCopy(dt),et):Tt=this._lineBoundingBox(nr,et),Tt},St.prototype._lineBoundingBox=function(Nt,dt){return v.Z.fromPoints(Nt,dt)},St.prototype._curveBoundingBox=function(Nt,dt,nr,et){var Tt=[Nt,dt,nr,et],Rt=this._curveExtremesFor(Tt,"x"),or=this._curveExtremesFor(Tt,"y"),ir=x([Rt.min,Rt.max,Nt.x,et.x]),Qr=x([or.min,or.max,Nt.y,et.y]);return v.Z.fromPoints(new M.Z(ir.min,Qr.min),new M.Z(ir.max,Qr.max))},St.prototype._curveExtremesFor=function(Nt,dt){var nr=this._curveExtremes(Nt[0][dt],Nt[1][dt],Nt[2][dt],Nt[3][dt]);return{min:S(nr.min,dt,Nt),max:S(nr.max,dt,Nt)}},St.prototype._curveExtremes=function(Nt,dt,nr,et){var Tt=Nt-3*dt+3*nr-et,Rt=-2*(Nt-2*dt+nr),or=Nt-dt,ir=Math.sqrt(Rt*Rt-4*Tt*or),Qr=0,ft=1;Tt===0?Rt!==0&&(Qr=ft=-or/Rt):isNaN(ir)||(Qr=(-Rt+ir)/(2*Tt),ft=(-Rt-ir)/(2*Tt));var tr=Math.max(Math.min(Qr,ft),0);(tr<0||tr>1)&&(tr=0);var gr=Math.min(Math.max(Qr,ft),1);return(gr>1||gr<0)&&(gr=1),{min:tr,max:gr}},St.prototype._intersectionsTo=function(Nt,dt){var nr;return this.controlOut()&&Nt.controlIn()?nr=I([this.anchor(),this.controlOut(),Nt.controlIn(),Nt.anchor()],dt,this.bboxTo(Nt)):nr=E(this.anchor(),Nt.anchor(),dt),nr},St.prototype._isOnCurveTo=function(Nt,dt,nr,et){var Tt=this.bboxTo(Nt).expand(nr,nr);if(Tt.containsPoint(dt)){var Rt=this.anchor(),or=this.controlOut(),ir=Nt.controlIn(),Qr=Nt.anchor();if(et==="start"&&Rt.distanceTo(dt)<=nr)return!se(Rt,or,dt);if(et==="end"&&Qr.distanceTo(dt)<=nr)return!se(Qr,ir,dt);var ft=[Rt,or,ir,Qr];if(p(ft,dt,"x","y",nr)||p(ft,dt,"y","x",nr))return!0;var tr=(0,ee.Z)().rotate(45,dt),gr=[Rt.transformCopy(tr),or.transformCopy(tr),ir.transformCopy(tr),Qr.transformCopy(tr)];return p(gr,dt,"x","y",nr)||p(gr,dt,"y","x",nr)}},St.prototype._isOnLineTo=function(Nt,dt,nr){var et=this.anchor(),Tt=Nt.anchor(),Rt=(0,W.Z)(Math.atan2(Tt.y-et.y,Tt.x-et.x)),or=new v.Z([et.x,et.y-nr/2],[et.distanceTo(Tt),nr]);return or.containsPoint(dt.transformCopy((0,ee.Z)().rotate(-Rt,et)))},St.prototype._isOnPathTo=function(Nt,dt,nr,et){var Tt;return this.controlOut()&&Nt.controlIn()?Tt=this._isOnCurveTo(Nt,dt,nr/2,et):Tt=this._isOnLineTo(Nt,dt,nr),Tt},St}((0,K.Z)(m.Z,d));function x(Zt){for(var St=Zt.length,Wt=re.lA,Nt=re.fO,dt=0;dt<St;dt++)Nt=Math.max(Nt,Zt[dt]),Wt=Math.min(Wt,Zt[dt]);return{min:Wt,max:Nt}}var A=i;function w(Zt){if(Zt)return Zt[Zt.length-1]}var C=.333,U=.01,F="x",Y="y";function le(Zt,St){var Wt=Zt.slice(0),Nt=[],dt=Wt.length;if(dt>2&&(j(0,Wt),dt=Wt.length),dt<2||dt===2&&Wt[0].equals(Wt[1]))return Nt;var nr=Wt[0],et=Wt[1],Tt=Wt[2];for(Nt.push(new A(nr));nr.equals(Wt[dt-1]);)St=!0,Wt.pop(),dt--;if(dt===2){var Rt=be(nr,et,F,Y);return w(Nt).controlOut(h(Rt,nr,et,F,Y)),Nt.push(new A(et,te(Rt,nr,et,F,Y))),Nt}var or,ir;if(St){nr=Wt[dt-1],et=Wt[0],Tt=Wt[1];var Qr=ae(nr,et,Tt);or=Qr[1],ir=Qr[0]}else{var ft=be(nr,et,F,Y);or=h(ft,nr,et,F,Y)}for(var tr=or,gr=0;gr<=dt-3;gr++)if(j(gr,Wt),dt=Wt.length,gr+3<=dt){nr=Wt[gr],et=Wt[gr+1],Tt=Wt[gr+2];var ar=ae(nr,et,Tt);w(Nt).controlOut(tr),tr=ar[1];var rt=ar[0];Nt.push(new A(et,rt))}if(St){nr=Wt[dt-2],et=Wt[dt-1],Tt=Wt[0];var kt=ae(nr,et,Tt);w(Nt).controlOut(tr),Nt.push(new A(et,kt[0])),w(Nt).controlOut(kt[1]),Nt.push(new A(Tt,ir))}else{var At=be(et,Tt,F,Y);w(Nt).controlOut(tr),Nt.push(new A(Tt,te(At,et,Tt,F,Y)))}return Nt}function ie(Zt){return le(Zt,!0)}function j(Zt,St){for(;St[Zt+1]&&(St[Zt].equals(St[Zt+1])||St[Zt+1].equals(St[Zt+2]));)St.splice(Zt+1,1)}function ue(Zt,St,Wt){var Nt=!1;if(Zt.x===St.x)Nt=!0;else if(St.x===Wt.x)(St.y<Wt.y&&Zt.y<=St.y||Wt.y<St.y&&St.y<=Zt.y)&&(Nt=!0);else{var dt=Z(Zt,St),nr=we(dt,Wt.x);!(Zt.y<=St.y&&Wt.y<=nr)&&!(St.y<=Zt.y&&Wt.y>=nr)&&(Nt=!0)}return Nt}function P(Zt,St,Wt){var Nt=Z(Zt,St),dt=we(Nt,Wt.x);return Zt.x===St.x&&St.x===Wt.x||(0,L.Z)(dt,1)===(0,L.Z)(Wt.y,1)}function Z(Zt,St){var Wt=(St.y-Zt.y)/(St.x-Zt.x),Nt=Zt.y-Wt*Zt.x;return[Nt,Wt]}function ae(Zt,St,Wt){var Nt=F,dt=Y,nr=!1,et=!1,Tt;if(P(Zt,St,Wt))Tt=be(Zt,St,F,Y);else{var Rt={x:pe(Zt,St,Wt,F),y:pe(Zt,St,Wt,Y)};if(Rt.x&&Rt.y)Tt=be(Zt,Wt,F,Y),nr=!0;else if(ue(Zt,St,Wt)&&(Nt=Y,dt=F),Rt[Nt])Tt=0;else{var or;Wt[dt]<Zt[dt]&&Zt[dt]<=St[dt]||Zt[dt]<Wt[dt]&&St[dt]<=Zt[dt]?or=Se((Wt[dt]-Zt[dt])*(St[Nt]-Zt[Nt])):or=-Se((Wt[Nt]-Zt[Nt])*(St[dt]-Zt[dt])),Tt=U*or,et=!0}}var ir=te(Tt,Zt,St,Nt,dt);if(et){var Qr=Nt;Nt=dt,dt=Qr}var ft=h(Tt,St,Wt,Nt,dt);return nr&&(ce(Zt,St,ir,Tt),ce(St,Wt,ft,Tt)),[ir,ft]}function ce(Zt,St,Wt,Nt){Zt.y<St.y?St.y<Wt.y?(Wt.x=Zt.x+(St.y-Zt.y)/Nt,Wt.y=St.y):Wt.y<Zt.y&&(Wt.x=St.x-(St.y-Zt.y)/Nt,Wt.y=Zt.y):Wt.y<St.y?(Wt.x=Zt.x-(Zt.y-St.y)/Nt,Wt.y=St.y):Zt.y<Wt.y&&(Wt.x=St.x+(Zt.y-St.y)/Nt,Wt.y=Zt.y)}function be(Zt,St,Wt,Nt){var dt=St[Wt]-Zt[Wt],nr=St[Nt]-Zt[Nt],et;return dt===0?et=0:et=nr/dt,et}function pe(Zt,St,Wt,Nt){return Wt[Nt]>St[Nt]&&St[Nt]>Zt[Nt]||Wt[Nt]<St[Nt]&&St[Nt]<Zt[Nt]}function h(Zt,St,Wt,Nt,dt){var nr=St[Nt],et=Wt[Nt],Tt=(et-nr)*C;return Q(nr+Tt,St[dt]+Tt*Zt,Nt,dt)}function te(Zt,St,Wt,Nt,dt){var nr=St[Nt],et=Wt[Nt],Tt=(et-nr)*C;return Q(et-Tt,Wt[dt]-Tt*Zt,Nt,dt)}function Q(Zt,St,Wt,Nt){var dt=new M.Z;return dt[Wt]=Zt,dt[Nt]=St,dt}function we(Zt,St){for(var Wt=Zt.length,Nt=0,dt=0;dt<Wt;dt++)Nt+=Math.pow(St,dt)*Zt[dt];return Nt}function Se(Zt){return Zt<=0?-1:1}var Ne=t(30553),ze=t(99307),Je=t(34754),qe=t(87598),Me=t(23087),Fe=t(30989),Ue={l:function(Zt,St){for(var Wt=St.parameters,Nt=St.position,dt=0;dt<Wt.length;dt+=2){var nr=new M.Z(Wt[dt],Wt[dt+1]);St.isRelative&&nr.translateWith(Nt),Zt.lineTo(nr.x,nr.y),Nt.x=nr.x,Nt.y=nr.y}},c:function(Zt,St){for(var Wt=St.parameters,Nt=St.position,dt=0;dt<Wt.length;dt+=6){var nr=new M.Z(Wt[dt],Wt[dt+1]),et=new M.Z(Wt[dt+2],Wt[dt+3]),Tt=new M.Z(Wt[dt+4],Wt[dt+5]);St.isRelative&&(et.translateWith(Nt),nr.translateWith(Nt),Tt.translateWith(Nt)),Zt.curveTo(nr,et,Tt),Nt.x=Tt.x,Nt.y=Tt.y}},v:function(Zt,St){var Wt=St.isRelative?0:St.position.x;he(St.parameters,!0,Wt),this.l(Zt,St)},h:function(Zt,St){var Wt=St.isRelative?0:St.position.y;he(St.parameters,!1,Wt),this.l(Zt,St)},a:function(Zt,St){for(var Wt=St.parameters,Nt=St.position,dt=0;dt<Wt.length;dt+=7){var nr=Wt[dt],et=Wt[dt+1],Tt=Wt[dt+2],Rt=Wt[dt+3],or=Wt[dt+4],ir=new M.Z(Wt[dt+5],Wt[dt+6]);St.isRelative&&ir.translateWith(Nt),(Nt.x!==ir.x||Nt.y!==ir.y)&&(Zt.arcTo(ir,nr,et,Rt,or,Tt),Nt.x=ir.x,Nt.y=ir.y)}},s:function(Zt,St){var Wt=St.parameters,Nt=St.position,dt=St.previousCommand,nr;(dt==="s"||dt==="c")&&(nr=w(w(Zt.paths).segments).controlIn());for(var et=0;et<Wt.length;et+=4){var Tt=new M.Z(Wt[et],Wt[et+1]),Rt=new M.Z(Wt[et+2],Wt[et+3]),or=void 0;St.isRelative&&(Tt.translateWith(Nt),Rt.translateWith(Nt)),nr?or=xe(nr,Nt):or=Nt.clone(),nr=Tt,Zt.curveTo(or,Tt,Rt),Nt.x=Rt.x,Nt.y=Rt.y}},q:function(Zt,St){for(var Wt=St.parameters,Nt=St.position,dt=0;dt<Wt.length;dt+=4){var nr=new M.Z(Wt[dt],Wt[dt+1]),et=new M.Z(Wt[dt+2],Wt[dt+3]);St.isRelative&&(nr.translateWith(Nt),et.translateWith(Nt));var Tt=me(Nt,nr,et);Zt.curveTo(Tt.controlOut,Tt.controlIn,et),Nt.x=et.x,Nt.y=et.y}},t:function(Zt,St){var Wt=St.parameters,Nt=St.position,dt=St.previousCommand,nr;if(dt==="q"||dt==="t"){var et=w(w(Zt.paths).segments);nr=et.controlIn().clone().translateWith(Nt.scaleCopy(-1/3)).scale(3/2)}for(var Tt=0;Tt<Wt.length;Tt+=2){var Rt=new M.Z(Wt[Tt],Wt[Tt+1]);St.isRelative&&Rt.translateWith(Nt),nr?nr=xe(nr,Nt):nr=Nt.clone();var or=me(Nt,nr,Rt);Zt.curveTo(or.controlOut,or.controlIn,Rt),Nt.x=Rt.x,Nt.y=Rt.y}}};function he(Zt,St,Wt){for(var Nt=St?0:1,dt=0;dt<Zt.length;dt+=2)Zt.splice(dt+Nt,0,Wt)}function xe(Zt,St){if(Zt&&St)return St.scaleCopy(2).translate(-Zt.x,-Zt.y)}var q=1/3;function me(Zt,St,Wt){var Nt=St.clone().scale(.6666666666666666);return{controlOut:Nt.clone().translateWith(Zt.scaleCopy(q)),controlIn:Nt.translateWith(Wt.scaleCopy(q))}}var De=Ue,Te=/([a-df-z]{1})([^a-df-z]*)(z)?/gi,Oe=/[,\s]?([+\-]?(?:\d*\.\d+|\d+)(?:[eE][+\-]?\d+)?)/g,st="m",Ft="z";function Qt(Zt){var St=[];return Zt.replace(Oe,function(Wt,Nt){St.push(parseFloat(Nt))}),St}function Vt(Zt,St){var Wt=new M.Z,Nt;return St.replace(Te,function(dt,nr,et,Tt){var Rt=nr.toLowerCase(),or=Rt===nr,ir=Qt(et.trim());if(Rt===st&&(or?(Wt.x+=ir[0],Wt.y+=ir[1]):(Wt.x=ir[0],Wt.y=ir[1]),Zt.moveTo(Wt.x,Wt.y),ir.length>2&&(Rt="l",ir.splice(0,2))),De[Rt])De[Rt](Zt,{parameters:ir,position:Wt,isRelative:or,previousCommand:Nt}),Tt&&Tt.toLowerCase()===Ft&&Zt.close();else if(Rt!==st)throw new Error("Error while parsing SVG path. Unsupported command: "+Rt);Nt=Rt}),Zt}var Gt=Vt,Jt=t(11343),Lr=t(23374);function Rr(Zt,St,Wt){return Math.max(Math.min(Zt,Wt),St)}var Gr=" ",zr=function(Zt){return function(){for(var St=[],Wt=arguments.length;Wt--;)St[Wt]=arguments[Wt];return St.map(function(Nt){return Nt.toString(Zt)}).join(Gr)}},pr=function(Zt,St){return Zt.controlOut()&&St.controlIn()?"C":"L"},vn=function(Zt){function St(Nt){Zt.call(this,Nt),this.segments=new l,this.segments.addObserver(this),(0,Me.Z)(this.options.stroke)||(this.stroke("#000"),(0,Me.Z)(this.options.stroke.lineJoin)||this.options.set("stroke.lineJoin","miter"))}Zt&&(St.__proto__=Zt),St.prototype=Object.create(Zt&&Zt.prototype),St.prototype.constructor=St;var Wt={nodeType:{configurable:!0}};return Wt.nodeType.get=function(){return"Path"},St.prototype.moveTo=function(dt,nr){return this.suspend(),this.segments.elements([]),this.resume(),this.lineTo(dt,nr),this},St.prototype.lineTo=function(dt,nr){var et=(0,Me.Z)(nr)?new M.Z(dt,nr):dt,Tt=new A(et);return this.segments.push(Tt),this},St.prototype.curveTo=function(dt,nr,et){if(this.segments.length>0){var Tt=w(this.segments),Rt=new A(et,nr);this.suspend(),Tt.controlOut(dt),this.resume(),this.segments.push(Rt)}return this},St.prototype.arc=function(dt,nr,et,Tt,Rt){if(this.segments.length>0){var or=w(this.segments),ir=or.anchor(),Qr=(0,Fe.Z)(dt),ft=new M.Z(ir.x-et*Math.cos(Qr),ir.y-Tt*Math.sin(Qr)),tr=new Je.Z(ft,{startAngle:dt,endAngle:nr,radiusX:et,radiusY:Tt,anticlockwise:Rt});this._addArcSegments(tr)}return this},St.prototype.arcTo=function(dt,nr,et,Tt,Rt,or){if(this.segments.length>0){var ir=w(this.segments),Qr=ir.anchor(),ft=Je.Z.fromPoints(Qr,M.Z.create(dt),nr,et,Tt,Rt,or);this._addArcSegments(ft)}return this},St.prototype._addArcSegments=function(dt){var nr=this;this.suspend();for(var et=dt.curvePoints(),Tt=1;Tt<et.length;Tt+=3)nr.curveTo(et[Tt],et[Tt+1],et[Tt+2]);this.resume(),this.geometryChange()},St.prototype.close=function(){return this.options.closed=!0,this.geometryChange(),this},St.prototype.rawBBox=function(){return this._bbox()},St.prototype.toString=function(dt){var nr="",et=this.segments,Tt=et.length;if(Tt>0){for(var Rt=[],or=zr(dt),ir,Qr=1;Qr<Tt;Qr++){var ft=pr(et[Qr-1],et[Qr]);ft!==ir&&(ir=ft,Rt.push(ft)),ft==="L"?Rt.push(or(et[Qr].anchor())):Rt.push(or(et[Qr-1].controlOut(),et[Qr].controlIn(),et[Qr].anchor()))}nr="M"+or(et[0].anchor())+Gr+Rt.join(Gr),this.options.closed&&(nr+="Z")}return nr},St.prototype._containsPoint=function(dt){for(var nr=this.segments,et=nr.length,Tt=0,Rt,or,ir=1;ir<et;ir++)Rt=nr[ir-1],or=nr[ir],Tt+=Rt._intersectionsTo(or,dt);return(this.options.closed||!nr[0].anchor().equals(nr[et-1].anchor()))&&(Tt+=E(nr[0].anchor(),nr[et-1].anchor(),dt)),Tt%2!==0},St.prototype._isOnPath=function(dt,nr){var et=this.segments,Tt=et.length,Rt=nr||this.options.stroke.width;if(Tt>1){if(et[0]._isOnPathTo(et[1],dt,Rt,"start"))return!0;for(var or=2;or<=Tt-2;or++)if(et[or-1]._isOnPathTo(et[or],dt,Rt))return!0;if(et[Tt-2]._isOnPathTo(et[Tt-1],dt,Rt,"end"))return!0}return!1},St.prototype._bbox=function(dt){var nr=this.segments,et=nr.length,Tt;if(et===1){var Rt=nr[0].anchor().transformCopy(dt);Tt=new v.Z(Rt,qe.Z.ZERO)}else if(et>0)for(var or=1;or<et;or++){var ir=nr[or-1].bboxTo(nr[or],dt);Tt?Tt=v.Z.union(Tt,ir):Tt=ir}return Tt},St.parse=function(dt,nr){return fn.parse(dt,nr)},St.fromRect=function(dt,nr){var et=new St(nr),Tt=dt.cornerRadius,Rt=Tt[0],or=Tt[1];if(Rt===0&&or===0)et.moveTo(dt.topLeft()).lineTo(dt.topRight()).lineTo(dt.bottomRight()).lineTo(dt.bottomLeft()).close();else{var ir=dt.origin,Qr=ir.x,ft=ir.y,tr=dt.width(),gr=dt.height();Rt=Rr(Rt,0,tr/2),or=Rr(or,0,gr/2),et.moveTo(Qr+Rt,ft).lineTo(Qr+tr-Rt,ft).arcTo([Qr+tr,ft+or],Rt,or,!1).lineTo(Qr+tr,ft+gr-or).arcTo([Qr+tr-Rt,ft+gr],Rt,or,!1).lineTo(Qr+Rt,ft+gr).arcTo([Qr,ft+gr-or],Rt,or,!1).lineTo(Qr,ft+or).arcTo([Qr+Rt,ft],Rt,or,!1)}return et},St.fromPoints=function(dt,nr){if(dt){for(var et=new St(nr),Tt=0;Tt<dt.length;Tt++){var Rt=M.Z.create(dt[Tt]);Rt&&(Tt===0?et.moveTo(Rt):et.lineTo(Rt))}return et}},St.curveFromPoints=function(dt,nr){if(dt){var et=le(dt),Tt=new St(nr);return Tt.segments.push.apply(Tt.segments,et),Tt}},St.fromArc=function(dt,nr){var et=new St(nr),Tt=dt.startAngle,Rt=dt.pointAt(Tt);return et.moveTo(Rt.x,Rt.y),et.arc(Tt,dt.endAngle,dt.radiusX,dt.radiusY,dt.anticlockwise),et},Object.defineProperties(St.prototype,Wt),St}((0,Ne.Z)((0,ze.Z)(u.Z))),fn=function(Zt){function St(Nt){Zt.call(this,Nt),this.paths=new l,this.paths.addObserver(this),(0,Me.Z)(this.options.stroke)||this.stroke("#000")}Zt&&(St.__proto__=Zt),St.prototype=Object.create(Zt&&Zt.prototype),St.prototype.constructor=St;var Wt={nodeType:{configurable:!0}};return St.parse=function(dt,nr){var et=new St(nr);return Gt(et,dt)},St.prototype.toString=function(dt){var nr=this.paths,et="";if(nr.length>0){for(var Tt=[],Rt=0;Rt<nr.length;Rt++)Tt.push(nr[Rt].toString(dt));et=Tt.join(Gr)}return et},Wt.nodeType.get=function(){return"MultiPath"},St.prototype.moveTo=function(dt,nr){var et=new vn;return et.moveTo(dt,nr),this.paths.push(et),this},St.prototype.lineTo=function(dt,nr){return this.paths.length>0&&w(this.paths).lineTo(dt,nr),this},St.prototype.curveTo=function(dt,nr,et){return this.paths.length>0&&w(this.paths).curveTo(dt,nr,et),this},St.prototype.arc=function(dt,nr,et,Tt,Rt){return this.paths.length>0&&w(this.paths).arc(dt,nr,et,Tt,Rt),this},St.prototype.arcTo=function(dt,nr,et,Tt,Rt,or){return this.paths.length>0&&w(this.paths).arcTo(dt,nr,et,Tt,Rt,or),this},St.prototype.close=function(){return this.paths.length>0&&w(this.paths).close(),this},St.prototype._bbox=function(dt){return(0,Jt.Z)(this.paths,!0,dt)},St.prototype.rawBBox=function(){return(0,Jt.Z)(this.paths,!1)},St.prototype._containsPoint=function(dt){for(var nr=this.paths,et=0;et<nr.length;et++)if(nr[et]._containsPoint(dt))return!0;return!1},St.prototype._isOnPath=function(dt){for(var nr=this.paths,et=this.options.stroke.width,Tt=0;Tt<nr.length;Tt++)if(nr[Tt]._isOnPath(dt,et))return!0;return!1},St.prototype._clippedBBox=function(dt){return(0,Lr.Z)(this.paths,this.currentTransform(dt))},Object.defineProperties(St.prototype,Wt),St}((0,Ne.Z)((0,ze.Z)(u.Z)))},11343:function(_e,$,t){"use strict";t.d($,{Z:function(){return f}});var n=t(44350);function f(l,u,m){for(var v,M=0;M<l.length;M++){var ee=l[M];if(ee.visible()){var W=u?ee.bbox(m):ee.rawBBox();W&&(v?v=n.Z.union(v,W):v=W)}}return v}},23374:function(_e,$,t){"use strict";t.d($,{Z:function(){return f}});var n=t(44350);function f(l,u){for(var m,v=0;v<l.length;v++){var M=l[v];if(M.visible()){var ee=M.clippedBBox(u);ee&&(m?m=n.Z.union(m,ee):m=ee)}}return m}},83182:function(_e,$,t){"use strict";t.d($,{ZX:function(){return n},fO:function(){return l},lA:function(){return f}});var n=Math.PI/180,f=Number.MAX_VALUE,l=-Number.MAX_VALUE},15637:function(_e,$,t){"use strict";t.d($,{Z:function(){return n}});function n(){var f,l,u=new Promise(function(m,v){f=function(M){return u._state="resolved",m(M),u},l=function(M){return u._state="rejected",v(M),u}});return u._state="pending",u.resolve=f,u.reject=l,u.state=function(){return u._state},u}},23087:function(_e,$,t){"use strict";t.d($,{Z:function(){return f}});var n="undefined";function f(l){return typeof l!==n}},28403:function(_e,$,t){"use strict";t.d($,{Z:function(){return f}});var n=1;function f(){return"kdef"+n++}},93043:function(_e,$,t){"use strict";t.d($,{Z:function(){return f}});var n=t(83182);function f(l){return l/n.ZX}},75896:function(_e,$,t){"use strict";t.d($,{Z:function(){return l}});var n=t(8011),f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function l(u){for(var m="",v=0,M=(0,n.Wj)(u);v<M.length;){var ee=M.charCodeAt(v++),W=M.charCodeAt(v++),re=M.charCodeAt(v++),se=ee>>2,S=(ee&3)<<4|W>>4,J=(W&15)<<2|re>>6,T=re&63;isNaN(W)?J=T=64:isNaN(re)&&(T=64),m=m+f.charAt(se)+f.charAt(S)+f.charAt(J)+f.charAt(T)}return m}},8011:function(_e,$,t){"use strict";t.d($,{FC:function(){return m},Wj:function(){return l},aA:function(){return f}});var n=String.fromCharCode,f="\xFE\xFF";function l(v){for(var M="",ee=0;ee<v.length;ee++){var W=v.charCodeAt(ee);if(55296<=W&&W<=56319){var re=W,se=v.charCodeAt(++ee);isNaN(se)||(W=(re-55296)*1024+(se-56320)+65536)}W<128?M+=n(W):W<2048?(M+=n(192|W>>>6),M+=n(128|W&63)):W<65536?(M+=n(224|W>>>12),M+=n(128|W>>>6&63),M+=n(128|W&63)):W<1114111&&(M+=n(240|W>>>18),M+=n(128|W>>>12&63),M+=n(128|W>>>6&63),M+=n(128|W&63))}return M}function u(v){return n(v>>8)+n(v&255)}function m(v){for(var M="",ee=0;ee<v.length;ee++){var W=v.charCodeAt(ee);if(W<65535)M+=u(W);else{var re=(W-65536>>10)+55296,se=(W-65536&1023)+56320;M+=u(re),M+=u(se)}}return M}},30989:function(_e,$,t){"use strict";t.d($,{Z:function(){return f}});var n=t(83182);function f(l){return l*n.ZX}},22861:function(_e,$,t){"use strict";t.d($,{Z:function(){return f}});function n(l){return l?Math.pow(10,l):1}function f(l,u){var m=n(u);return Math.round(l*m)/m}},52868:function(_e,$,t){_e.exports=t(61867)},43155:function(_e,$,t){"use strict";var n=t(4030),f=t(18079),l=t(64687),u=t(27512),m=t(29791),v=t(50924),M=t(5903),ee=t(15971),W=t(90457),re=t(26266);_e.exports=function(S){return new Promise(function(T,V){var L=S.data,c=S.headers,R=S.responseType,B;function X(){S.cancelToken&&S.cancelToken.unsubscribe(B),S.signal&&S.signal.removeEventListener("abort",B)}n.isFormData(L)&&delete c["Content-Type"];var g=new XMLHttpRequest;if(S.auth){var p=S.auth.username||"",O=S.auth.password?unescape(encodeURIComponent(S.auth.password)):"";c.Authorization="Basic "+btoa(p+":"+O)}var I=m(S.baseURL,S.url);g.open(S.method.toUpperCase(),u(I,S.params,S.paramsSerializer),!0),g.timeout=S.timeout;function E(){if(g){var d="getAllResponseHeaders"in g?v(g.getAllResponseHeaders()):null,i=!R||R==="text"||R==="json"?g.responseText:g.response,x={data:i,status:g.status,statusText:g.statusText,headers:d,config:S,request:g};f(function(w){T(w),X()},function(w){V(w),X()},x),g=null}}if("onloadend"in g?g.onloadend=E:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(E)},g.onabort=function(){g&&(V(ee("Request aborted",S,"ECONNABORTED",g)),g=null)},g.onerror=function(){V(ee("Network Error",S,null,g)),g=null},g.ontimeout=function(){var i=S.timeout?"timeout of "+S.timeout+"ms exceeded":"timeout exceeded",x=S.transitional||W.transitional;S.timeoutErrorMessage&&(i=S.timeoutErrorMessage),V(ee(i,S,x.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",g)),g=null},n.isStandardBrowserEnv()){var K=(S.withCredentials||M(I))&&S.xsrfCookieName?l.read(S.xsrfCookieName):void 0;K&&(c[S.xsrfHeaderName]=K)}"setRequestHeader"in g&&n.forEach(c,function(i,x){typeof L=="undefined"&&x.toLowerCase()==="content-type"?delete c[x]:g.setRequestHeader(x,i)}),n.isUndefined(S.withCredentials)||(g.withCredentials=!!S.withCredentials),R&&R!=="json"&&(g.responseType=S.responseType),typeof S.onDownloadProgress=="function"&&g.addEventListener("progress",S.onDownloadProgress),typeof S.onUploadProgress=="function"&&g.upload&&g.upload.addEventListener("progress",S.onUploadProgress),(S.cancelToken||S.signal)&&(B=function(d){g&&(V(!d||d&&d.type?new re("canceled"):d),g.abort(),g=null)},S.cancelToken&&S.cancelToken.subscribe(B),S.signal&&(S.signal.aborted?B():S.signal.addEventListener("abort",B))),L||(L=null),g.send(L)})}},61867:function(_e,$,t){"use strict";var n=t(4030),f=t(93843),l=t(85891),u=t(93316),m=t(90457);function v(ee){var W=new l(ee),re=f(l.prototype.request,W);return n.extend(re,l.prototype,W),n.extend(re,W),re.create=function(S){return v(u(ee,S))},re}var M=v(m);M.Axios=l,M.Cancel=t(26266),M.CancelToken=t(9747),M.isCancel=t(59416),M.VERSION=t(6578).version,M.all=function(W){return Promise.all(W)},M.spread=t(11545),M.isAxiosError=t(70232),_e.exports=M,_e.exports.default=M},26266:function(_e){"use strict";function $(t){this.message=t}$.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},$.prototype.__CANCEL__=!0,_e.exports=$},9747:function(_e,$,t){"use strict";var n=t(26266);function f(l){if(typeof l!="function")throw new TypeError("executor must be a function.");var u;this.promise=new Promise(function(M){u=M});var m=this;this.promise.then(function(v){if(m._listeners){var M,ee=m._listeners.length;for(M=0;M<ee;M++)m._listeners[M](v);m._listeners=null}}),this.promise.then=function(v){var M,ee=new Promise(function(W){m.subscribe(W),M=W}).then(v);return ee.cancel=function(){m.unsubscribe(M)},ee},l(function(M){m.reason||(m.reason=new n(M),u(m.reason))})}f.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},f.prototype.subscribe=function(u){if(this.reason){u(this.reason);return}this._listeners?this._listeners.push(u):this._listeners=[u]},f.prototype.unsubscribe=function(u){if(this._listeners){var m=this._listeners.indexOf(u);m!==-1&&this._listeners.splice(m,1)}},f.source=function(){var u,m=new f(function(M){u=M});return{token:m,cancel:u}},_e.exports=f},59416:function(_e){"use strict";_e.exports=function(t){return!!(t&&t.__CANCEL__)}},85891:function(_e,$,t){"use strict";var n=t(4030),f=t(27512),l=t(58036),u=t(40884),m=t(93316),v=t(29084),M=v.validators;function ee(W){this.defaults=W,this.interceptors={request:new l,response:new l}}ee.prototype.request=function(re){typeof re=="string"?(re=arguments[1]||{},re.url=arguments[0]):re=re||{},re=m(this.defaults,re),re.method?re.method=re.method.toLowerCase():this.defaults.method?re.method=this.defaults.method.toLowerCase():re.method="get";var se=re.transitional;se!==void 0&&v.assertOptions(se,{silentJSONParsing:M.transitional(M.boolean),forcedJSONParsing:M.transitional(M.boolean),clarifyTimeoutError:M.transitional(M.boolean)},!1);var S=[],J=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(re)===!1||(J=J&&g.synchronous,S.unshift(g.fulfilled,g.rejected))});var T=[];this.interceptors.response.forEach(function(g){T.push(g.fulfilled,g.rejected)});var V;if(!J){var L=[u,void 0];for(Array.prototype.unshift.apply(L,S),L=L.concat(T),V=Promise.resolve(re);L.length;)V=V.then(L.shift(),L.shift());return V}for(var c=re;S.length;){var R=S.shift(),B=S.shift();try{c=R(c)}catch(X){B(X);break}}try{V=u(c)}catch(X){return Promise.reject(X)}for(;T.length;)V=V.then(T.shift(),T.shift());return V},ee.prototype.getUri=function(re){return re=m(this.defaults,re),f(re.url,re.params,re.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],function(re){ee.prototype[re]=function(se,S){return this.request(m(S||{},{method:re,url:se,data:(S||{}).data}))}}),n.forEach(["post","put","patch"],function(re){ee.prototype[re]=function(se,S,J){return this.request(m(J||{},{method:re,url:se,data:S}))}}),_e.exports=ee},58036:function(_e,$,t){"use strict";var n=t(4030);function f(){this.handlers=[]}f.prototype.use=function(u,m,v){return this.handlers.push({fulfilled:u,rejected:m,synchronous:v?v.synchronous:!1,runWhen:v?v.runWhen:null}),this.handlers.length-1},f.prototype.eject=function(u){this.handlers[u]&&(this.handlers[u]=null)},f.prototype.forEach=function(u){n.forEach(this.handlers,function(v){v!==null&&u(v)})},_e.exports=f},29791:function(_e,$,t){"use strict";var n=t(50957),f=t(97050);_e.exports=function(u,m){return u&&!n(m)?f(u,m):m}},15971:function(_e,$,t){"use strict";var n=t(73136);_e.exports=function(l,u,m,v,M){var ee=new Error(l);return n(ee,u,m,v,M)}},40884:function(_e,$,t){"use strict";var n=t(4030),f=t(88630),l=t(59416),u=t(90457),m=t(26266);function v(M){if(M.cancelToken&&M.cancelToken.throwIfRequested(),M.signal&&M.signal.aborted)throw new m("canceled")}_e.exports=function(ee){v(ee),ee.headers=ee.headers||{},ee.data=f.call(ee,ee.data,ee.headers,ee.transformRequest),ee.headers=n.merge(ee.headers.common||{},ee.headers[ee.method]||{},ee.headers),n.forEach(["delete","get","head","post","put","patch","common"],function(se){delete ee.headers[se]});var W=ee.adapter||u.adapter;return W(ee).then(function(se){return v(ee),se.data=f.call(ee,se.data,se.headers,ee.transformResponse),se},function(se){return l(se)||(v(ee),se&&se.response&&(se.response.data=f.call(ee,se.response.data,se.response.headers,ee.transformResponse))),Promise.reject(se)})}},73136:function(_e){"use strict";_e.exports=function(t,n,f,l,u){return t.config=n,f&&(t.code=f),t.request=l,t.response=u,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t}},93316:function(_e,$,t){"use strict";var n=t(4030);_e.exports=function(l,u){u=u||{};var m={};function v(S,J){return n.isPlainObject(S)&&n.isPlainObject(J)?n.merge(S,J):n.isPlainObject(J)?n.merge({},J):n.isArray(J)?J.slice():J}function M(S){if(n.isUndefined(u[S])){if(!n.isUndefined(l[S]))return v(void 0,l[S])}else return v(l[S],u[S])}function ee(S){if(!n.isUndefined(u[S]))return v(void 0,u[S])}function W(S){if(n.isUndefined(u[S])){if(!n.isUndefined(l[S]))return v(void 0,l[S])}else return v(void 0,u[S])}function re(S){if(S in u)return v(l[S],u[S]);if(S in l)return v(void 0,l[S])}var se={url:ee,method:ee,data:ee,baseURL:W,transformRequest:W,transformResponse:W,paramsSerializer:W,timeout:W,timeoutMessage:W,withCredentials:W,adapter:W,responseType:W,xsrfCookieName:W,xsrfHeaderName:W,onUploadProgress:W,onDownloadProgress:W,decompress:W,maxContentLength:W,maxBodyLength:W,transport:W,httpAgent:W,httpsAgent:W,cancelToken:W,socketPath:W,responseEncoding:W,validateStatus:re};return n.forEach(Object.keys(l).concat(Object.keys(u)),function(J){var T=se[J]||M,V=T(J);n.isUndefined(V)&&T!==re||(m[J]=V)}),m}},18079:function(_e,$,t){"use strict";var n=t(15971);_e.exports=function(l,u,m){var v=m.config.validateStatus;!m.status||!v||v(m.status)?l(m):u(n("Request failed with status code "+m.status,m.config,null,m.request,m))}},88630:function(_e,$,t){"use strict";var n=t(4030),f=t(90457);_e.exports=function(u,m,v){var M=this||f;return n.forEach(v,function(W){u=W.call(M,u,m)}),u}},90457:function(_e,$,t){"use strict";var n=t(4030),f=t(37122),l=t(73136),u={"Content-Type":"application/x-www-form-urlencoded"};function m(W,re){!n.isUndefined(W)&&n.isUndefined(W["Content-Type"])&&(W["Content-Type"]=re)}function v(){var W;return(typeof XMLHttpRequest!="undefined"||Object.prototype.toString.call({env:{},browser:{}})==="[object process]")&&(W=t(43155)),W}function M(W,re,se){if(n.isString(W))try{return(re||JSON.parse)(W),n.trim(W)}catch(S){if(S.name!=="SyntaxError")throw S}return(se||JSON.stringify)(W)}var ee={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:v(),transformRequest:[function(re,se){return f(se,"Accept"),f(se,"Content-Type"),n.isFormData(re)||n.isArrayBuffer(re)||n.isBuffer(re)||n.isStream(re)||n.isFile(re)||n.isBlob(re)?re:n.isArrayBufferView(re)?re.buffer:n.isURLSearchParams(re)?(m(se,"application/x-www-form-urlencoded;charset=utf-8"),re.toString()):n.isObject(re)||se&&se["Content-Type"]==="application/json"?(m(se,"application/json"),M(re)):re}],transformResponse:[function(re){var se=this.transitional||ee.transitional,S=se&&se.silentJSONParsing,J=se&&se.forcedJSONParsing,T=!S&&this.responseType==="json";if(T||J&&n.isString(re)&&re.length)try{return JSON.parse(re)}catch(V){if(T)throw V.name==="SyntaxError"?l(V,this,"E_JSON_PARSE"):V}return re}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(re){return re>=200&&re<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],function(re){ee.headers[re]={}}),n.forEach(["post","put","patch"],function(re){ee.headers[re]=n.merge(u)}),_e.exports=ee},6578:function(_e){_e.exports={version:"0.24.0"}},93843:function(_e){"use strict";_e.exports=function(t,n){return function(){for(var l=new Array(arguments.length),u=0;u<l.length;u++)l[u]=arguments[u];return t.apply(n,l)}}},27512:function(_e,$,t){"use strict";var n=t(4030);function f(l){return encodeURIComponent(l).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}_e.exports=function(u,m,v){if(!m)return u;var M;if(v)M=v(m);else if(n.isURLSearchParams(m))M=m.toString();else{var ee=[];n.forEach(m,function(se,S){se===null||typeof se=="undefined"||(n.isArray(se)?S=S+"[]":se=[se],n.forEach(se,function(T){n.isDate(T)?T=T.toISOString():n.isObject(T)&&(T=JSON.stringify(T)),ee.push(f(S)+"="+f(T))}))}),M=ee.join("&")}if(M){var W=u.indexOf("#");W!==-1&&(u=u.slice(0,W)),u+=(u.indexOf("?")===-1?"?":"&")+M}return u}},97050:function(_e){"use strict";_e.exports=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t}},64687:function(_e,$,t){"use strict";var n=t(4030);_e.exports=n.isStandardBrowserEnv()?function(){return{write:function(u,m,v,M,ee,W){var re=[];re.push(u+"="+encodeURIComponent(m)),n.isNumber(v)&&re.push("expires="+new Date(v).toGMTString()),n.isString(M)&&re.push("path="+M),n.isString(ee)&&re.push("domain="+ee),W===!0&&re.push("secure"),document.cookie=re.join("; ")},read:function(u){var m=document.cookie.match(new RegExp("(^|;\\s*)("+u+")=([^;]*)"));return m?decodeURIComponent(m[3]):null},remove:function(u){this.write(u,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},50957:function(_e){"use strict";_e.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},70232:function(_e){"use strict";_e.exports=function(t){return typeof t=="object"&&t.isAxiosError===!0}},5903:function(_e,$,t){"use strict";var n=t(4030);_e.exports=n.isStandardBrowserEnv()?function(){var l=/(msie|trident)/i.test(navigator.userAgent),u=document.createElement("a"),m;function v(M){var ee=M;return l&&(u.setAttribute("href",ee),ee=u.href),u.setAttribute("href",ee),{href:u.href,protocol:u.protocol?u.protocol.replace(/:$/,""):"",host:u.host,search:u.search?u.search.replace(/^\?/,""):"",hash:u.hash?u.hash.replace(/^#/,""):"",hostname:u.hostname,port:u.port,pathname:u.pathname.charAt(0)==="/"?u.pathname:"/"+u.pathname}}return m=v(window.location.href),function(ee){var W=n.isString(ee)?v(ee):ee;return W.protocol===m.protocol&&W.host===m.host}}():function(){return function(){return!0}}()},37122:function(_e,$,t){"use strict";var n=t(4030);_e.exports=function(l,u){n.forEach(l,function(v,M){M!==u&&M.toUpperCase()===u.toUpperCase()&&(l[u]=v,delete l[M])})}},50924:function(_e,$,t){"use strict";var n=t(4030),f=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];_e.exports=function(u){var m={},v,M,ee;return u&&n.forEach(u.split(`
`),function(re){if(ee=re.indexOf(":"),v=n.trim(re.substr(0,ee)).toLowerCase(),M=n.trim(re.substr(ee+1)),v){if(m[v]&&f.indexOf(v)>=0)return;v==="set-cookie"?m[v]=(m[v]?m[v]:[]).concat([M]):m[v]=m[v]?m[v]+", "+M:M}}),m}},11545:function(_e){"use strict";_e.exports=function(t){return function(f){return t.apply(null,f)}}},29084:function(_e,$,t){"use strict";var n=t(6578).version,f={};["object","boolean","number","function","string","symbol"].forEach(function(m,v){f[m]=function(ee){return typeof ee===m||"a"+(v<1?"n ":" ")+m}});var l={};f.transitional=function(v,M,ee){function W(re,se){return"[Axios v"+n+"] Transitional option '"+re+"'"+se+(ee?". "+ee:"")}return function(re,se,S){if(v===!1)throw new Error(W(se," has been removed"+(M?" in "+M:"")));return M&&!l[se]&&(l[se]=!0,console.warn(W(se," has been deprecated since v"+M+" and will be removed in the near future"))),v?v(re,se,S):!0}};function u(m,v,M){if(typeof m!="object")throw new TypeError("options must be an object");for(var ee=Object.keys(m),W=ee.length;W-- >0;){var re=ee[W],se=v[re];if(se){var S=m[re],J=S===void 0||se(S,re,m);if(J!==!0)throw new TypeError("option "+re+" must be "+J);continue}if(M!==!0)throw Error("Unknown option "+re)}}_e.exports={assertOptions:u,validators:f}},4030:function(_e,$,t){"use strict";var n=t(93843),f=Object.prototype.toString;function l(E){return f.call(E)==="[object Array]"}function u(E){return typeof E=="undefined"}function m(E){return E!==null&&!u(E)&&E.constructor!==null&&!u(E.constructor)&&typeof E.constructor.isBuffer=="function"&&E.constructor.isBuffer(E)}function v(E){return f.call(E)==="[object ArrayBuffer]"}function M(E){return typeof FormData!="undefined"&&E instanceof FormData}function ee(E){var K;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?K=ArrayBuffer.isView(E):K=E&&E.buffer&&E.buffer instanceof ArrayBuffer,K}function W(E){return typeof E=="string"}function re(E){return typeof E=="number"}function se(E){return E!==null&&typeof E=="object"}function S(E){if(f.call(E)!=="[object Object]")return!1;var K=Object.getPrototypeOf(E);return K===null||K===Object.prototype}function J(E){return f.call(E)==="[object Date]"}function T(E){return f.call(E)==="[object File]"}function V(E){return f.call(E)==="[object Blob]"}function L(E){return f.call(E)==="[object Function]"}function c(E){return se(E)&&L(E.pipe)}function R(E){return typeof URLSearchParams!="undefined"&&E instanceof URLSearchParams}function B(E){return E.trim?E.trim():E.replace(/^\s+|\s+$/g,"")}function X(){return typeof navigator!="undefined"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window!="undefined"&&typeof document!="undefined"}function g(E,K){if(!(E===null||typeof E=="undefined"))if(typeof E!="object"&&(E=[E]),l(E))for(var d=0,i=E.length;d<i;d++)K.call(null,E[d],d,E);else for(var x in E)Object.prototype.hasOwnProperty.call(E,x)&&K.call(null,E[x],x,E)}function p(){var E={};function K(x,A){S(E[A])&&S(x)?E[A]=p(E[A],x):S(x)?E[A]=p({},x):l(x)?E[A]=x.slice():E[A]=x}for(var d=0,i=arguments.length;d<i;d++)g(arguments[d],K);return E}function O(E,K,d){return g(K,function(x,A){d&&typeof x=="function"?E[A]=n(x,d):E[A]=x}),E}function I(E){return E.charCodeAt(0)===65279&&(E=E.slice(1)),E}_e.exports={isArray:l,isArrayBuffer:v,isBuffer:m,isFormData:M,isArrayBufferView:ee,isString:W,isNumber:re,isObject:se,isPlainObject:S,isUndefined:u,isDate:J,isFile:T,isBlob:V,isFunction:L,isStream:c,isURLSearchParams:R,isStandardBrowserEnv:X,forEach:g,merge:p,extend:O,trim:B,stripBOM:I}},64403:function(_e,$){var t,n;/*!
  Copyright (c) 2018 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/(function(){"use strict";var f={}.hasOwnProperty;function l(){for(var u=[],m=0;m<arguments.length;m++){var v=arguments[m];if(v){var M=typeof v;if(M==="string"||M==="number")u.push(v);else if(Array.isArray(v)){if(v.length){var ee=l.apply(null,v);ee&&u.push(ee)}}else if(M==="object")if(v.toString===Object.prototype.toString)for(var W in v)f.call(v,W)&&v[W]&&u.push(W);else u.push(v.toString())}}return u.join(" ")}_e.exports?(l.default=l,_e.exports=l):(t=[],n=function(){return l}.apply($,t),n!==void 0&&(_e.exports=n))})()},23060:function(_e,$,t){"use strict";t.r($),t.d($,{clsx:function(){return f}});function n(l){var u,m,v="";if(typeof l=="string"||typeof l=="number")v+=l;else if(typeof l=="object")if(Array.isArray(l))for(u=0;u<l.length;u++)l[u]&&(m=n(l[u]))&&(v&&(v+=" "),v+=m);else for(u in l)l[u]&&(v&&(v+=" "),v+=u);return v}function f(){for(var l,u,m=0,v="";m<arguments.length;)(l=arguments[m++])&&(u=n(l))&&(v&&(v+=" "),v+=u);return v}$.default=f},50827:function(_e,$){"use strict";function t(u,m){switch(u){case"P":return m.date({width:"short"});case"PP":return m.date({width:"medium"});case"PPP":return m.date({width:"long"});case"PPPP":default:return m.date({width:"full"})}}function n(u,m){switch(u){case"p":return m.time({width:"short"});case"pp":return m.time({width:"medium"});case"ppp":return m.time({width:"long"});case"pppp":default:return m.time({width:"full"})}}function f(u,m){var v=u.match(/(P+)(p+)?/)||[],M=v[1],ee=v[2];if(!ee)return t(u,m);var W;switch(M){case"P":W=m.dateTime({width:"short"});break;case"PP":W=m.dateTime({width:"medium"});break;case"PPP":W=m.dateTime({width:"long"});break;case"PPPP":default:W=m.dateTime({width:"full"});break}return W.replace("{{date}}",t(M,m)).replace("{{time}}",n(ee,m))}var l={p:n,P:f};$.Z=l},70051:function(_e,$,t){"use strict";t.d($,{Z:function(){return n}});function n(f){var l=new Date(Date.UTC(f.getFullYear(),f.getMonth(),f.getDate(),f.getHours(),f.getMinutes(),f.getSeconds(),f.getMilliseconds()));return l.setUTCFullYear(f.getFullYear()),f.getTime()-l.getTime()}},53940:function(_e,$,t){"use strict";t.d($,{Z:function(){return u}});var n=t(24487),f=t(21310),l=t(62090);function u(m){(0,f.Z)(1,arguments);var v=(0,n.default)(m),M=v.getUTCFullYear(),ee=new Date(0);ee.setUTCFullYear(M+1,0,4),ee.setUTCHours(0,0,0,0);var W=(0,l.Z)(ee),re=new Date(0);re.setUTCFullYear(M,0,4),re.setUTCHours(0,0,0,0);var se=(0,l.Z)(re);return v.getTime()>=W.getTime()?M+1:v.getTime()>=se.getTime()?M:M-1}},55058:function(_e,$,t){"use strict";t.d($,{Z:function(){return M}});var n=t(24487),f=t(62090),l=t(53940),u=t(21310);function m(ee){(0,u.Z)(1,arguments);var W=(0,l.Z)(ee),re=new Date(0);re.setUTCFullYear(W,0,4),re.setUTCHours(0,0,0,0);var se=(0,f.Z)(re);return se}var v=6048e5;function M(ee){(0,u.Z)(1,arguments);var W=(0,n.default)(ee),re=(0,f.Z)(W).getTime()-m(W).getTime();return Math.round(re/v)+1}},12125:function(_e,$,t){"use strict";t.d($,{Z:function(){return m}});var n=t(24487),f=t(21310),l=t(18337),u=t(72848);function m(v,M){(0,f.Z)(1,arguments);var ee=(0,n.default)(v),W=ee.getUTCFullYear(),re=M||{},se=re.locale,S=se&&se.options&&se.options.firstWeekContainsDate,J=S==null?1:(0,u.Z)(S),T=re.firstWeekContainsDate==null?J:(0,u.Z)(re.firstWeekContainsDate);if(!(T>=1&&T<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var V=new Date(0);V.setUTCFullYear(W+1,0,T),V.setUTCHours(0,0,0,0);var L=(0,l.Z)(V,M),c=new Date(0);c.setUTCFullYear(W,0,T),c.setUTCHours(0,0,0,0);var R=(0,l.Z)(c,M);return ee.getTime()>=L.getTime()?W+1:ee.getTime()>=R.getTime()?W:W-1}},24774:function(_e,$,t){"use strict";t.d($,{Z:function(){return ee}});var n=t(24487),f=t(18337),l=t(12125),u=t(21310),m=t(72848);function v(W,re){(0,u.Z)(1,arguments);var se=re||{},S=se.locale,J=S&&S.options&&S.options.firstWeekContainsDate,T=J==null?1:(0,m.Z)(J),V=se.firstWeekContainsDate==null?T:(0,m.Z)(se.firstWeekContainsDate),L=(0,l.Z)(W,re),c=new Date(0);c.setUTCFullYear(L,0,V),c.setUTCHours(0,0,0,0);var R=(0,f.Z)(c,re);return R}var M=6048e5;function ee(W,re){(0,u.Z)(1,arguments);var se=(0,n.default)(W),S=(0,f.Z)(se,re).getTime()-v(se,re).getTime();return Math.round(S/M)+1}},82944:function(_e,$,t){"use strict";t.d($,{Do:function(){return u},Iu:function(){return l},qp:function(){return m}});var n=["D","DD"],f=["YY","YYYY"];function l(v){return n.indexOf(v)!==-1}function u(v){return f.indexOf(v)!==-1}function m(v,M,ee){if(v==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(M,"`) for formatting years to the input `").concat(ee,"`; see: https://git.io/fxCyr"));if(v==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(M,"`) for formatting years to the input `").concat(ee,"`; see: https://git.io/fxCyr"));if(v==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(M,"`) for formatting days of the month to the input `").concat(ee,"`; see: https://git.io/fxCyr"));if(v==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(M,"`) for formatting days of the month to the input `").concat(ee,"`; see: https://git.io/fxCyr"))}},21310:function(_e,$,t){"use strict";t.d($,{Z:function(){return n}});function n(f,l){if(l.length<f)throw new TypeError(f+" argument"+(f>1?"s":"")+" required, but only "+l.length+" present")}},62090:function(_e,$,t){"use strict";t.d($,{Z:function(){return l}});var n=t(24487),f=t(21310);function l(u){(0,f.Z)(1,arguments);var m=1,v=(0,n.default)(u),M=v.getUTCDay(),ee=(M<m?7:0)+M-m;return v.setUTCDate(v.getUTCDate()-ee),v.setUTCHours(0,0,0,0),v}},18337:function(_e,$,t){"use strict";t.d($,{Z:function(){return u}});var n=t(24487),f=t(21310),l=t(72848);function u(m,v){(0,f.Z)(1,arguments);var M=v||{},ee=M.locale,W=ee&&ee.options&&ee.options.weekStartsOn,re=W==null?0:(0,l.Z)(W),se=M.weekStartsOn==null?re:(0,l.Z)(M.weekStartsOn);if(!(se>=0&&se<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var S=(0,n.default)(m),J=S.getUTCDay(),T=(J<se?7:0)+J-se;return S.setUTCDate(S.getUTCDate()-T),S.setUTCHours(0,0,0,0),S}},72848:function(_e,$,t){"use strict";t.d($,{Z:function(){return n}});function n(f){if(f===null||f===!0||f===!1)return NaN;var l=Number(f);return isNaN(l)?l:l<0?Math.ceil(l):Math.floor(l)}},9586:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return u}});var n=t(72848),f=t(24487),l=t(21310);function u(m,v){(0,l.Z)(2,arguments);var M=(0,f.default)(m),ee=(0,n.Z)(v);return isNaN(ee)?new Date(NaN):(ee&&M.setDate(M.getDate()+ee),M)}},68138:function(_e,$,t){"use strict";t.d($,{Z:function(){return u}});var n=t(72848),f=t(24487),l=t(21310);function u(m,v){(0,l.Z)(2,arguments);var M=(0,f.default)(m).getTime(),ee=(0,n.Z)(v);return new Date(M+ee)}},11831:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return u}});var n=t(72848),f=t(24487),l=t(21310);function u(m,v){(0,l.Z)(2,arguments);var M=(0,f.default)(m),ee=(0,n.Z)(v);if(isNaN(ee))return new Date(NaN);if(!ee)return M;var W=M.getDate(),re=new Date(M.getTime());re.setMonth(M.getMonth()+ee+1,0);var se=re.getDate();return W>=se?re:(M.setFullYear(re.getFullYear(),re.getMonth(),W),M)}},11105:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return u}});var n=t(72848),f=t(11831),l=t(21310);function u(m,v){(0,l.Z)(2,arguments);var M=(0,n.Z)(v);return(0,f.default)(m,M*12)}},32756:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return m}});var n=t(70051),f=t(23585),l=t(21310),u=864e5;function m(v,M){(0,l.Z)(2,arguments);var ee=(0,f.default)(v),W=(0,f.default)(M),re=ee.getTime()-(0,n.Z)(ee),se=W.getTime()-(0,n.Z)(W);return Math.round((re-se)/u)}},53833:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return l}});var n=t(24487),f=t(21310);function l(u,m){(0,f.Z)(2,arguments);var v=(0,n.default)(u),M=(0,n.default)(m),ee=v.getFullYear()-M.getFullYear(),W=v.getMonth()-M.getMonth();return ee*12+W}},81364:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return m}});var n=t(24487),f=t(32756),l=t(21310);function u(v,M){var ee=v.getFullYear()-M.getFullYear()||v.getMonth()-M.getMonth()||v.getDate()-M.getDate()||v.getHours()-M.getHours()||v.getMinutes()-M.getMinutes()||v.getSeconds()-M.getSeconds()||v.getMilliseconds()-M.getMilliseconds();return ee<0?-1:ee>0?1:ee}function m(v,M){(0,l.Z)(2,arguments);var ee=(0,n.default)(v),W=(0,n.default)(M),re=u(ee,W),se=Math.abs((0,f.default)(ee,W));ee.setDate(ee.getDate()-re*se);var S=Number(u(ee,W)===-re),J=re*(se-S);return J===0?0:J}},88077:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return l}});var n=t(24487),f=t(21310);function l(u,m){(0,f.Z)(1,arguments);var v=u||{},M=(0,n.default)(v.start),ee=(0,n.default)(v.end),W=ee.getTime();if(!(M.getTime()<=W))throw new RangeError("Invalid interval");var re=[],se=M;se.setHours(0,0,0,0);var S=m&&"step"in m?Number(m.step):1;if(S<1||isNaN(S))throw new RangeError("`options.step` must be a number greater than 1");for(;se.getTime()<=W;)re.push((0,n.default)(se)),se.setDate(se.getDate()+S),se.setHours(0,0,0,0);return re}},82915:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return l}});var n=t(24487),f=t(21310);function l(u){(0,f.Z)(1,arguments);var m=(0,n.default)(u);return m.setHours(23,59,59,999),m}},9018:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return l}});var n=t(24487),f=t(21310);function l(u){(0,f.Z)(1,arguments);var m=(0,n.default)(u),v=m.getMonth();return m.setFullYear(m.getFullYear(),v+1,0),m.setHours(23,59,59,999),m}},38169:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return u}});var n=t(24487),f=t(72848),l=t(21310);function u(m,v){(0,l.Z)(1,arguments);var M=v||{},ee=M.locale,W=ee&&ee.options&&ee.options.weekStartsOn,re=W==null?0:(0,f.Z)(W),se=M.weekStartsOn==null?re:(0,f.Z)(M.weekStartsOn);if(!(se>=0&&se<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var S=(0,n.default)(m),J=S.getDay(),T=(J<se?-7:0)+6-(J-se);return S.setDate(S.getDate()+T),S.setHours(23,59,59,999),S}},76015:function(_e,$,t){"use strict";t.d($,{Z:function(){return l}});var n=t(24487),f=t(21310);function l(u){(0,f.Z)(1,arguments);var m=(0,n.default)(u),v=m.getFullYear();return m.setFullYear(v+1,0,0),m.setHours(23,59,59,999),m}},36629:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return A}});var n=t(50169),f=t(33621),l=t(71392),u=t(24487),m=t(21310),v=864e5;function M(C){(0,m.Z)(1,arguments);var U=(0,u.default)(C),F=U.getTime();U.setUTCMonth(0,1),U.setUTCHours(0,0,0,0);var Y=U.getTime(),le=F-Y;return Math.floor(le/v)+1}var ee=t(55058),W=t(53940),re=t(24774),se=t(12125);function S(C,U){for(var F=C<0?"-":"",Y=Math.abs(C).toString();Y.length<U;)Y="0"+Y;return F+Y}var J={y:function(C,U){var F=C.getUTCFullYear(),Y=F>0?F:1-F;return S(U==="yy"?Y%100:Y,U.length)},M:function(C,U){var F=C.getUTCMonth();return U==="M"?String(F+1):S(F+1,2)},d:function(C,U){return S(C.getUTCDate(),U.length)},a:function(C,U){var F=C.getUTCHours()/12>=1?"pm":"am";switch(U){case"a":case"aa":return F.toUpperCase();case"aaa":return F;case"aaaaa":return F[0];case"aaaa":default:return F==="am"?"a.m.":"p.m."}},h:function(C,U){return S(C.getUTCHours()%12||12,U.length)},H:function(C,U){return S(C.getUTCHours(),U.length)},m:function(C,U){return S(C.getUTCMinutes(),U.length)},s:function(C,U){return S(C.getUTCSeconds(),U.length)},S:function(C,U){var F=U.length,Y=C.getUTCMilliseconds(),le=Math.floor(Y*Math.pow(10,F-3));return S(le,U.length)}},T=J,V={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},L={G:function(C,U,F){var Y=C.getUTCFullYear()>0?1:0;switch(U){case"G":case"GG":case"GGG":return F.era(Y,{width:"abbreviated"});case"GGGGG":return F.era(Y,{width:"narrow"});case"GGGG":default:return F.era(Y,{width:"wide"})}},y:function(C,U,F){if(U==="yo"){var Y=C.getUTCFullYear(),le=Y>0?Y:1-Y;return F.ordinalNumber(le,{unit:"year"})}return T.y(C,U)},Y:function(C,U,F,Y){var le=(0,se.Z)(C,Y),ie=le>0?le:1-le;if(U==="YY"){var j=ie%100;return S(j,2)}return U==="Yo"?F.ordinalNumber(ie,{unit:"year"}):S(ie,U.length)},R:function(C,U){var F=(0,W.Z)(C);return S(F,U.length)},u:function(C,U){var F=C.getUTCFullYear();return S(F,U.length)},Q:function(C,U,F){var Y=Math.ceil((C.getUTCMonth()+1)/3);switch(U){case"Q":return String(Y);case"QQ":return S(Y,2);case"Qo":return F.ordinalNumber(Y,{unit:"quarter"});case"QQQ":return F.quarter(Y,{width:"abbreviated",context:"formatting"});case"QQQQQ":return F.quarter(Y,{width:"narrow",context:"formatting"});case"QQQQ":default:return F.quarter(Y,{width:"wide",context:"formatting"})}},q:function(C,U,F){var Y=Math.ceil((C.getUTCMonth()+1)/3);switch(U){case"q":return String(Y);case"qq":return S(Y,2);case"qo":return F.ordinalNumber(Y,{unit:"quarter"});case"qqq":return F.quarter(Y,{width:"abbreviated",context:"standalone"});case"qqqqq":return F.quarter(Y,{width:"narrow",context:"standalone"});case"qqqq":default:return F.quarter(Y,{width:"wide",context:"standalone"})}},M:function(C,U,F){var Y=C.getUTCMonth();switch(U){case"M":case"MM":return T.M(C,U);case"Mo":return F.ordinalNumber(Y+1,{unit:"month"});case"MMM":return F.month(Y,{width:"abbreviated",context:"formatting"});case"MMMMM":return F.month(Y,{width:"narrow",context:"formatting"});case"MMMM":default:return F.month(Y,{width:"wide",context:"formatting"})}},L:function(C,U,F){var Y=C.getUTCMonth();switch(U){case"L":return String(Y+1);case"LL":return S(Y+1,2);case"Lo":return F.ordinalNumber(Y+1,{unit:"month"});case"LLL":return F.month(Y,{width:"abbreviated",context:"standalone"});case"LLLLL":return F.month(Y,{width:"narrow",context:"standalone"});case"LLLL":default:return F.month(Y,{width:"wide",context:"standalone"})}},w:function(C,U,F,Y){var le=(0,re.Z)(C,Y);return U==="wo"?F.ordinalNumber(le,{unit:"week"}):S(le,U.length)},I:function(C,U,F){var Y=(0,ee.Z)(C);return U==="Io"?F.ordinalNumber(Y,{unit:"week"}):S(Y,U.length)},d:function(C,U,F){return U==="do"?F.ordinalNumber(C.getUTCDate(),{unit:"date"}):T.d(C,U)},D:function(C,U,F){var Y=M(C);return U==="Do"?F.ordinalNumber(Y,{unit:"dayOfYear"}):S(Y,U.length)},E:function(C,U,F){var Y=C.getUTCDay();switch(U){case"E":case"EE":case"EEE":return F.day(Y,{width:"abbreviated",context:"formatting"});case"EEEEE":return F.day(Y,{width:"narrow",context:"formatting"});case"EEEEEE":return F.day(Y,{width:"short",context:"formatting"});case"EEEE":default:return F.day(Y,{width:"wide",context:"formatting"})}},e:function(C,U,F,Y){var le=C.getUTCDay(),ie=(le-Y.weekStartsOn+8)%7||7;switch(U){case"e":return String(ie);case"ee":return S(ie,2);case"eo":return F.ordinalNumber(ie,{unit:"day"});case"eee":return F.day(le,{width:"abbreviated",context:"formatting"});case"eeeee":return F.day(le,{width:"narrow",context:"formatting"});case"eeeeee":return F.day(le,{width:"short",context:"formatting"});case"eeee":default:return F.day(le,{width:"wide",context:"formatting"})}},c:function(C,U,F,Y){var le=C.getUTCDay(),ie=(le-Y.weekStartsOn+8)%7||7;switch(U){case"c":return String(ie);case"cc":return S(ie,U.length);case"co":return F.ordinalNumber(ie,{unit:"day"});case"ccc":return F.day(le,{width:"abbreviated",context:"standalone"});case"ccccc":return F.day(le,{width:"narrow",context:"standalone"});case"cccccc":return F.day(le,{width:"short",context:"standalone"});case"cccc":default:return F.day(le,{width:"wide",context:"standalone"})}},i:function(C,U,F){var Y=C.getUTCDay(),le=Y===0?7:Y;switch(U){case"i":return String(le);case"ii":return S(le,U.length);case"io":return F.ordinalNumber(le,{unit:"day"});case"iii":return F.day(Y,{width:"abbreviated",context:"formatting"});case"iiiii":return F.day(Y,{width:"narrow",context:"formatting"});case"iiiiii":return F.day(Y,{width:"short",context:"formatting"});case"iiii":default:return F.day(Y,{width:"wide",context:"formatting"})}},a:function(C,U,F){var Y=C.getUTCHours(),le=Y/12>=1?"pm":"am";switch(U){case"a":case"aa":return F.dayPeriod(le,{width:"abbreviated",context:"formatting"});case"aaa":return F.dayPeriod(le,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return F.dayPeriod(le,{width:"narrow",context:"formatting"});case"aaaa":default:return F.dayPeriod(le,{width:"wide",context:"formatting"})}},b:function(C,U,F){var Y=C.getUTCHours(),le;switch(Y===12?le=V.noon:Y===0?le=V.midnight:le=Y/12>=1?"pm":"am",U){case"b":case"bb":return F.dayPeriod(le,{width:"abbreviated",context:"formatting"});case"bbb":return F.dayPeriod(le,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return F.dayPeriod(le,{width:"narrow",context:"formatting"});case"bbbb":default:return F.dayPeriod(le,{width:"wide",context:"formatting"})}},B:function(C,U,F){var Y=C.getUTCHours(),le;switch(Y>=17?le=V.evening:Y>=12?le=V.afternoon:Y>=4?le=V.morning:le=V.night,U){case"B":case"BB":case"BBB":return F.dayPeriod(le,{width:"abbreviated",context:"formatting"});case"BBBBB":return F.dayPeriod(le,{width:"narrow",context:"formatting"});case"BBBB":default:return F.dayPeriod(le,{width:"wide",context:"formatting"})}},h:function(C,U,F){if(U==="ho"){var Y=C.getUTCHours()%12;return Y===0&&(Y=12),F.ordinalNumber(Y,{unit:"hour"})}return T.h(C,U)},H:function(C,U,F){return U==="Ho"?F.ordinalNumber(C.getUTCHours(),{unit:"hour"}):T.H(C,U)},K:function(C,U,F){var Y=C.getUTCHours()%12;return U==="Ko"?F.ordinalNumber(Y,{unit:"hour"}):S(Y,U.length)},k:function(C,U,F){var Y=C.getUTCHours();return Y===0&&(Y=24),U==="ko"?F.ordinalNumber(Y,{unit:"hour"}):S(Y,U.length)},m:function(C,U,F){return U==="mo"?F.ordinalNumber(C.getUTCMinutes(),{unit:"minute"}):T.m(C,U)},s:function(C,U,F){return U==="so"?F.ordinalNumber(C.getUTCSeconds(),{unit:"second"}):T.s(C,U)},S:function(C,U){return T.S(C,U)},X:function(C,U,F,Y){var le=Y._originalDate||C,ie=le.getTimezoneOffset();if(ie===0)return"Z";switch(U){case"X":return R(ie);case"XXXX":case"XX":return B(ie);case"XXXXX":case"XXX":default:return B(ie,":")}},x:function(C,U,F,Y){var le=Y._originalDate||C,ie=le.getTimezoneOffset();switch(U){case"x":return R(ie);case"xxxx":case"xx":return B(ie);case"xxxxx":case"xxx":default:return B(ie,":")}},O:function(C,U,F,Y){var le=Y._originalDate||C,ie=le.getTimezoneOffset();switch(U){case"O":case"OO":case"OOO":return"GMT"+c(ie,":");case"OOOO":default:return"GMT"+B(ie,":")}},z:function(C,U,F,Y){var le=Y._originalDate||C,ie=le.getTimezoneOffset();switch(U){case"z":case"zz":case"zzz":return"GMT"+c(ie,":");case"zzzz":default:return"GMT"+B(ie,":")}},t:function(C,U,F,Y){var le=Y._originalDate||C,ie=Math.floor(le.getTime()/1e3);return S(ie,U.length)},T:function(C,U,F,Y){var le=Y._originalDate||C,ie=le.getTime();return S(ie,U.length)}};function c(C,U){var F=C>0?"-":"+",Y=Math.abs(C),le=Math.floor(Y/60),ie=Y%60;if(ie===0)return F+String(le);var j=U||"";return F+String(le)+j+S(ie,2)}function R(C,U){if(C%60===0){var F=C>0?"-":"+";return F+S(Math.abs(C)/60,2)}return B(C,U)}function B(C,U){var F=U||"",Y=C>0?"-":"+",le=Math.abs(C),ie=S(Math.floor(le/60),2),j=S(le%60,2);return Y+ie+F+j}var X=L,g=t(50827),p=t(70051),O=t(82944),I=t(72848),E=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,K=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,d=/^'([^]*?)'?$/,i=/''/g,x=/[a-zA-Z]/;function A(C,U,F){(0,m.Z)(2,arguments);var Y=String(U),le=F||{},ie=le.locale||f.default,j=ie.options&&ie.options.firstWeekContainsDate,ue=j==null?1:(0,I.Z)(j),P=le.firstWeekContainsDate==null?ue:(0,I.Z)(le.firstWeekContainsDate);if(!(P>=1&&P<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var Z=ie.options&&ie.options.weekStartsOn,ae=Z==null?0:(0,I.Z)(Z),ce=le.weekStartsOn==null?ae:(0,I.Z)(le.weekStartsOn);if(!(ce>=0&&ce<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!ie.localize)throw new RangeError("locale must contain localize property");if(!ie.formatLong)throw new RangeError("locale must contain formatLong property");var be=(0,u.default)(C);if(!(0,n.default)(be))throw new RangeError("Invalid time value");var pe=(0,p.Z)(be),h=(0,l.Z)(be,pe),te={firstWeekContainsDate:P,weekStartsOn:ce,locale:ie,_originalDate:be},Q=Y.match(K).map(function(we){var Se=we[0];if(Se==="p"||Se==="P"){var Ne=g.Z[Se];return Ne(we,ie.formatLong,te)}return we}).join("").match(E).map(function(we){if(we==="''")return"'";var Se=we[0];if(Se==="'")return w(we);var Ne=X[Se];if(Ne)return!le.useAdditionalWeekYearTokens&&(0,O.Do)(we)&&(0,O.qp)(we,U,C),!le.useAdditionalDayOfYearTokens&&(0,O.Iu)(we)&&(0,O.qp)(we,U,C),Ne(h,we,ie.localize,te);if(Se.match(x))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Se+"`");return we}).join("");return Q}function w(C){return C.match(d)[1].replace(i,"'")}},56470:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return l}});var n=t(24487),f=t(21310);function l(u,m){(0,f.Z)(2,arguments);var v=(0,n.default)(u),M=(0,n.default)(m);return v.getTime()>M.getTime()}},57234:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return l}});var n=t(24487),f=t(21310);function l(u,m){(0,f.Z)(2,arguments);var v=(0,n.default)(u),M=(0,n.default)(m);return v.getTime()<M.getTime()}},54621:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return f}});var n=t(21310);function f(l){return(0,n.Z)(1,arguments),l instanceof Date||typeof l=="object"&&Object.prototype.toString.call(l)==="[object Date]"}},75013:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return l}});var n=t(24487),f=t(21310);function l(u,m){(0,f.Z)(2,arguments);var v=(0,n.default)(u),M=(0,n.default)(m);return v.getTime()===M.getTime()}},44993:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return l}});var n=t(23585),f=t(21310);function l(u,m){(0,f.Z)(2,arguments);var v=(0,n.default)(u),M=(0,n.default)(m);return v.getTime()===M.getTime()}},51449:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return l}});var n=t(24487),f=t(21310);function l(u,m){(0,f.Z)(2,arguments);var v=(0,n.default)(u),M=(0,n.default)(m);return v.getFullYear()===M.getFullYear()&&v.getMonth()===M.getMonth()}},50169:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return u}});var n=t(54621),f=t(24487),l=t(21310);function u(m){if((0,l.Z)(1,arguments),!(0,n.default)(m)&&typeof m!="number")return!1;var v=(0,f.default)(m);return!isNaN(Number(v))}},9179:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return l}});var n=t(24487),f=t(21310);function l(u){(0,f.Z)(1,arguments);var m=(0,n.default)(u),v=m.getDay();return v===0||v===6}},90762:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return l}});var n=t(24487),f=t(21310);function l(u,m){(0,f.Z)(2,arguments);var v=(0,n.default)(u).getTime(),M=(0,n.default)(m.start).getTime(),ee=(0,n.default)(m.end).getTime();if(!(M<=ee))throw new RangeError("Invalid interval");return v>=M&&v<=ee}},75754:function(_e,$,t){"use strict";t.d($,{Z:function(){return n}});function n(f){return function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=l.width?String(l.width):f.defaultWidth,m=f.formats[u]||f.formats[f.defaultWidth];return m}}},55697:function(_e,$,t){"use strict";t.d($,{Z:function(){return n}});function n(f){return function(l,u){var m=u||{},v=m.context?String(m.context):"standalone",M;if(v==="formatting"&&f.formattingValues){var ee=f.defaultFormattingWidth||f.defaultWidth,W=m.width?String(m.width):ee;M=f.formattingValues[W]||f.formattingValues[ee]}else{var re=f.defaultWidth,se=m.width?String(m.width):f.defaultWidth;M=f.values[se]||f.values[re]}var S=f.argumentCallback?f.argumentCallback(l):l;return M[S]}}},9786:function(_e,$,t){"use strict";t.d($,{Z:function(){return n}});function n(u){return function(m){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=v.width,ee=M&&u.matchPatterns[M]||u.matchPatterns[u.defaultMatchWidth],W=m.match(ee);if(!W)return null;var re=W[0],se=M&&u.parsePatterns[M]||u.parsePatterns[u.defaultParseWidth],S=Array.isArray(se)?l(se,function(V){return V.test(re)}):f(se,function(V){return V.test(re)}),J;J=u.valueCallback?u.valueCallback(S):S,J=v.valueCallback?v.valueCallback(J):J;var T=m.slice(re.length);return{value:J,rest:T}}}function f(u,m){for(var v in u)if(u.hasOwnProperty(v)&&m(u[v]))return v}function l(u,m){for(var v=0;v<u.length;v++)if(m(u[v]))return v}},61837:function(_e,$,t){"use strict";t.d($,{Z:function(){return n}});function n(f){return function(l){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},m=l.match(f.matchPattern);if(!m)return null;var v=m[0],M=l.match(f.parsePattern);if(!M)return null;var ee=f.valueCallback?f.valueCallback(M[0]):M[0];ee=u.valueCallback?u.valueCallback(ee):ee;var W=l.slice(v.length);return{value:ee,rest:W}}}},33621:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return P}});var n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},f=function(Z,ae,ce){var be,pe=n[Z];return typeof pe=="string"?be=pe:ae===1?be=pe.one:be=pe.other.replace("{{count}}",ae.toString()),ce!=null&&ce.addSuffix?ce.comparison&&ce.comparison>0?"in "+be:be+" ago":be},l=f,u=t(75754),m={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},v={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},M={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ee={date:(0,u.Z)({formats:m,defaultWidth:"full"}),time:(0,u.Z)({formats:v,defaultWidth:"full"}),dateTime:(0,u.Z)({formats:M,defaultWidth:"full"})},W=ee,re={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},se=function(Z,ae,ce,be){return re[Z]},S=se,J=t(55697),T={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},V={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},L={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},c={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},R={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},B={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},X=function(Z,ae){var ce=Number(Z),be=ce%100;if(be>20||be<10)switch(be%10){case 1:return ce+"st";case 2:return ce+"nd";case 3:return ce+"rd"}return ce+"th"},g={ordinalNumber:X,era:(0,J.Z)({values:T,defaultWidth:"wide"}),quarter:(0,J.Z)({values:V,defaultWidth:"wide",argumentCallback:function(Z){return Z-1}}),month:(0,J.Z)({values:L,defaultWidth:"wide"}),day:(0,J.Z)({values:c,defaultWidth:"wide"}),dayPeriod:(0,J.Z)({values:R,defaultWidth:"wide",formattingValues:B,defaultFormattingWidth:"wide"})},p=g,O=t(9786),I=t(61837),E=/^(\d+)(th|st|nd|rd)?/i,K=/\d+/i,d={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},i={any:[/^b/i,/^(a|c)/i]},x={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},A={any:[/1/i,/2/i,/3/i,/4/i]},w={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},C={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},U={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},F={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Y={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},le={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},ie={ordinalNumber:(0,I.Z)({matchPattern:E,parsePattern:K,valueCallback:function(Z){return parseInt(Z,10)}}),era:(0,O.Z)({matchPatterns:d,defaultMatchWidth:"wide",parsePatterns:i,defaultParseWidth:"any"}),quarter:(0,O.Z)({matchPatterns:x,defaultMatchWidth:"wide",parsePatterns:A,defaultParseWidth:"any",valueCallback:function(Z){return Z+1}}),month:(0,O.Z)({matchPatterns:w,defaultMatchWidth:"wide",parsePatterns:C,defaultParseWidth:"any"}),day:(0,O.Z)({matchPatterns:U,defaultMatchWidth:"wide",parsePatterns:F,defaultParseWidth:"any"}),dayPeriod:(0,O.Z)({matchPatterns:Y,defaultMatchWidth:"any",parsePatterns:le,defaultParseWidth:"any"})},j=ie,ue={code:"en-US",formatDistance:l,formatLong:W,formatRelative:S,localize:p,match:j,options:{weekStartsOn:0,firstWeekContainsDate:1}},P=ue},65759:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return l}});var n=t(24487),f=t(21310);function l(u){(0,f.Z)(1,arguments);var m;if(u&&typeof u.forEach=="function")m=u;else if(typeof u=="object"&&u!==null)m=Array.prototype.slice.call(u);else return new Date(NaN);var v;return m.forEach(function(M){var ee=(0,n.default)(M);(v===void 0||v<ee||isNaN(Number(ee)))&&(v=ee)}),v||new Date(NaN)}},45:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return l}});var n=t(24487),f=t(21310);function l(u){(0,f.Z)(1,arguments);var m;if(u&&typeof u.forEach=="function")m=u;else if(typeof u=="object"&&u!==null)m=Array.prototype.slice.call(u);else return new Date(NaN);var v;return m.forEach(function(M){var ee=(0,n.default)(M);(v===void 0||v>ee||isNaN(ee.getDate()))&&(v=ee)}),v||new Date(NaN)}},59778:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return ce}});var n=t(33621),f=t(71392),l=t(24487);function u(h,te){if(h==null)throw new TypeError("assign requires that input parameter not be null or undefined");te=te||{};for(var Q in te)Object.prototype.hasOwnProperty.call(te,Q)&&(h[Q]=te[Q]);return h}var m=t(50827),v=t(70051),M=t(82944),ee=t(72848),W=t(12125),re=t(21310);function se(h,te,Q){(0,re.Z)(2,arguments);var we=Q||{},Se=we.locale,Ne=Se&&Se.options&&Se.options.weekStartsOn,ze=Ne==null?0:(0,ee.Z)(Ne),Je=we.weekStartsOn==null?ze:(0,ee.Z)(we.weekStartsOn);if(!(Je>=0&&Je<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var qe=(0,l.default)(h),Me=(0,ee.Z)(te),Fe=qe.getUTCDay(),Ue=Me%7,he=(Ue+7)%7,xe=(he<Je?7:0)+Me-Fe;return qe.setUTCDate(qe.getUTCDate()+xe),qe}function S(h,te){(0,re.Z)(2,arguments);var Q=(0,ee.Z)(te);Q%7===0&&(Q=Q-7);var we=1,Se=(0,l.default)(h),Ne=Se.getUTCDay(),ze=Q%7,Je=(ze+7)%7,qe=(Je<we?7:0)+Q-Ne;return Se.setUTCDate(Se.getUTCDate()+qe),Se}var J=t(55058);function T(h,te){(0,re.Z)(2,arguments);var Q=(0,l.default)(h),we=(0,ee.Z)(te),Se=(0,J.Z)(Q)-we;return Q.setUTCDate(Q.getUTCDate()-Se*7),Q}var V=t(24774);function L(h,te,Q){(0,re.Z)(2,arguments);var we=(0,l.default)(h),Se=(0,ee.Z)(te),Ne=(0,V.Z)(we,Q)-Se;return we.setUTCDate(we.getUTCDate()-Ne*7),we}var c=t(62090),R=t(18337),B=36e5,X=6e4,g=1e3,p={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},O={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function I(h,te,Q){var we=te.match(h);if(!we)return null;var Se=parseInt(we[0],10);return{value:Q?Q(Se):Se,rest:te.slice(we[0].length)}}function E(h,te){var Q=te.match(h);if(!Q)return null;if(Q[0]==="Z")return{value:0,rest:te.slice(1)};var we=Q[1]==="+"?1:-1,Se=Q[2]?parseInt(Q[2],10):0,Ne=Q[3]?parseInt(Q[3],10):0,ze=Q[5]?parseInt(Q[5],10):0;return{value:we*(Se*B+Ne*X+ze*g),rest:te.slice(Q[0].length)}}function K(h,te){return I(p.anyDigitsSigned,h,te)}function d(h,te,Q){switch(h){case 1:return I(p.singleDigit,te,Q);case 2:return I(p.twoDigits,te,Q);case 3:return I(p.threeDigits,te,Q);case 4:return I(p.fourDigits,te,Q);default:return I(new RegExp("^\\d{1,"+h+"}"),te,Q)}}function i(h,te,Q){switch(h){case 1:return I(p.singleDigitSigned,te,Q);case 2:return I(p.twoDigitsSigned,te,Q);case 3:return I(p.threeDigitsSigned,te,Q);case 4:return I(p.fourDigitsSigned,te,Q);default:return I(new RegExp("^-?\\d{1,"+h+"}"),te,Q)}}function x(h){switch(h){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function A(h,te){var Q=te>0,we=Q?te:1-te,Se;if(we<=50)Se=h||100;else{var Ne=we+50,ze=Math.floor(Ne/100)*100,Je=h>=Ne%100;Se=h+ze-(Je?100:0)}return Q?Se:1-Se}var w=[31,28,31,30,31,30,31,31,30,31,30,31],C=[31,29,31,30,31,30,31,31,30,31,30,31];function U(h){return h%400===0||h%4===0&&h%100!==0}var F={G:{priority:140,parse:function(h,te,Q,we){switch(te){case"G":case"GG":case"GGG":return Q.era(h,{width:"abbreviated"})||Q.era(h,{width:"narrow"});case"GGGGG":return Q.era(h,{width:"narrow"});case"GGGG":default:return Q.era(h,{width:"wide"})||Q.era(h,{width:"abbreviated"})||Q.era(h,{width:"narrow"})}},set:function(h,te,Q,we){return te.era=Q,h.setUTCFullYear(Q,0,1),h.setUTCHours(0,0,0,0),h},incompatibleTokens:["R","u","t","T"]},y:{priority:130,parse:function(h,te,Q,we){var Se=function(Ne){return{year:Ne,isTwoDigitYear:te==="yy"}};switch(te){case"y":return d(4,h,Se);case"yo":return Q.ordinalNumber(h,{unit:"year",valueCallback:Se});default:return d(te.length,h,Se)}},validate:function(h,te,Q){return te.isTwoDigitYear||te.year>0},set:function(h,te,Q,we){var Se=h.getUTCFullYear();if(Q.isTwoDigitYear){var Ne=A(Q.year,Se);return h.setUTCFullYear(Ne,0,1),h.setUTCHours(0,0,0,0),h}var ze=!("era"in te)||te.era===1?Q.year:1-Q.year;return h.setUTCFullYear(ze,0,1),h.setUTCHours(0,0,0,0),h},incompatibleTokens:["Y","R","u","w","I","i","e","c","t","T"]},Y:{priority:130,parse:function(h,te,Q,we){var Se=function(Ne){return{year:Ne,isTwoDigitYear:te==="YY"}};switch(te){case"Y":return d(4,h,Se);case"Yo":return Q.ordinalNumber(h,{unit:"year",valueCallback:Se});default:return d(te.length,h,Se)}},validate:function(h,te,Q){return te.isTwoDigitYear||te.year>0},set:function(h,te,Q,we){var Se=(0,W.Z)(h,we);if(Q.isTwoDigitYear){var Ne=A(Q.year,Se);return h.setUTCFullYear(Ne,0,we.firstWeekContainsDate),h.setUTCHours(0,0,0,0),(0,R.Z)(h,we)}var ze=!("era"in te)||te.era===1?Q.year:1-Q.year;return h.setUTCFullYear(ze,0,we.firstWeekContainsDate),h.setUTCHours(0,0,0,0),(0,R.Z)(h,we)},incompatibleTokens:["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:{priority:130,parse:function(h,te,Q,we){return i(te==="R"?4:te.length,h)},set:function(h,te,Q,we){var Se=new Date(0);return Se.setUTCFullYear(Q,0,4),Se.setUTCHours(0,0,0,0),(0,c.Z)(Se)},incompatibleTokens:["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:{priority:130,parse:function(h,te,Q,we){return i(te==="u"?4:te.length,h)},set:function(h,te,Q,we){return h.setUTCFullYear(Q,0,1),h.setUTCHours(0,0,0,0),h},incompatibleTokens:["G","y","Y","R","w","I","i","e","c","t","T"]},Q:{priority:120,parse:function(h,te,Q,we){switch(te){case"Q":case"QQ":return d(te.length,h);case"Qo":return Q.ordinalNumber(h,{unit:"quarter"});case"QQQ":return Q.quarter(h,{width:"abbreviated",context:"formatting"})||Q.quarter(h,{width:"narrow",context:"formatting"});case"QQQQQ":return Q.quarter(h,{width:"narrow",context:"formatting"});case"QQQQ":default:return Q.quarter(h,{width:"wide",context:"formatting"})||Q.quarter(h,{width:"abbreviated",context:"formatting"})||Q.quarter(h,{width:"narrow",context:"formatting"})}},validate:function(h,te,Q){return te>=1&&te<=4},set:function(h,te,Q,we){return h.setUTCMonth((Q-1)*3,1),h.setUTCHours(0,0,0,0),h},incompatibleTokens:["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:{priority:120,parse:function(h,te,Q,we){switch(te){case"q":case"qq":return d(te.length,h);case"qo":return Q.ordinalNumber(h,{unit:"quarter"});case"qqq":return Q.quarter(h,{width:"abbreviated",context:"standalone"})||Q.quarter(h,{width:"narrow",context:"standalone"});case"qqqqq":return Q.quarter(h,{width:"narrow",context:"standalone"});case"qqqq":default:return Q.quarter(h,{width:"wide",context:"standalone"})||Q.quarter(h,{width:"abbreviated",context:"standalone"})||Q.quarter(h,{width:"narrow",context:"standalone"})}},validate:function(h,te,Q){return te>=1&&te<=4},set:function(h,te,Q,we){return h.setUTCMonth((Q-1)*3,1),h.setUTCHours(0,0,0,0),h},incompatibleTokens:["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:{priority:110,parse:function(h,te,Q,we){var Se=function(Ne){return Ne-1};switch(te){case"M":return I(p.month,h,Se);case"MM":return d(2,h,Se);case"Mo":return Q.ordinalNumber(h,{unit:"month",valueCallback:Se});case"MMM":return Q.month(h,{width:"abbreviated",context:"formatting"})||Q.month(h,{width:"narrow",context:"formatting"});case"MMMMM":return Q.month(h,{width:"narrow",context:"formatting"});case"MMMM":default:return Q.month(h,{width:"wide",context:"formatting"})||Q.month(h,{width:"abbreviated",context:"formatting"})||Q.month(h,{width:"narrow",context:"formatting"})}},validate:function(h,te,Q){return te>=0&&te<=11},set:function(h,te,Q,we){return h.setUTCMonth(Q,1),h.setUTCHours(0,0,0,0),h},incompatibleTokens:["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]},L:{priority:110,parse:function(h,te,Q,we){var Se=function(Ne){return Ne-1};switch(te){case"L":return I(p.month,h,Se);case"LL":return d(2,h,Se);case"Lo":return Q.ordinalNumber(h,{unit:"month",valueCallback:Se});case"LLL":return Q.month(h,{width:"abbreviated",context:"standalone"})||Q.month(h,{width:"narrow",context:"standalone"});case"LLLLL":return Q.month(h,{width:"narrow",context:"standalone"});case"LLLL":default:return Q.month(h,{width:"wide",context:"standalone"})||Q.month(h,{width:"abbreviated",context:"standalone"})||Q.month(h,{width:"narrow",context:"standalone"})}},validate:function(h,te,Q){return te>=0&&te<=11},set:function(h,te,Q,we){return h.setUTCMonth(Q,1),h.setUTCHours(0,0,0,0),h},incompatibleTokens:["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:{priority:100,parse:function(h,te,Q,we){switch(te){case"w":return I(p.week,h);case"wo":return Q.ordinalNumber(h,{unit:"week"});default:return d(te.length,h)}},validate:function(h,te,Q){return te>=1&&te<=53},set:function(h,te,Q,we){return(0,R.Z)(L(h,Q,we),we)},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:{priority:100,parse:function(h,te,Q,we){switch(te){case"I":return I(p.week,h);case"Io":return Q.ordinalNumber(h,{unit:"week"});default:return d(te.length,h)}},validate:function(h,te,Q){return te>=1&&te<=53},set:function(h,te,Q,we){return(0,c.Z)(T(h,Q,we),we)},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:{priority:90,subPriority:1,parse:function(h,te,Q,we){switch(te){case"d":return I(p.date,h);case"do":return Q.ordinalNumber(h,{unit:"date"});default:return d(te.length,h)}},validate:function(h,te,Q){var we=h.getUTCFullYear(),Se=U(we),Ne=h.getUTCMonth();return Se?te>=1&&te<=C[Ne]:te>=1&&te<=w[Ne]},set:function(h,te,Q,we){return h.setUTCDate(Q),h.setUTCHours(0,0,0,0),h},incompatibleTokens:["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:{priority:90,subPriority:1,parse:function(h,te,Q,we){switch(te){case"D":case"DD":return I(p.dayOfYear,h);case"Do":return Q.ordinalNumber(h,{unit:"date"});default:return d(te.length,h)}},validate:function(h,te,Q){var we=h.getUTCFullYear(),Se=U(we);return Se?te>=1&&te<=366:te>=1&&te<=365},set:function(h,te,Q,we){return h.setUTCMonth(0,Q),h.setUTCHours(0,0,0,0),h},incompatibleTokens:["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:{priority:90,parse:function(h,te,Q,we){switch(te){case"E":case"EE":case"EEE":return Q.day(h,{width:"abbreviated",context:"formatting"})||Q.day(h,{width:"short",context:"formatting"})||Q.day(h,{width:"narrow",context:"formatting"});case"EEEEE":return Q.day(h,{width:"narrow",context:"formatting"});case"EEEEEE":return Q.day(h,{width:"short",context:"formatting"})||Q.day(h,{width:"narrow",context:"formatting"});case"EEEE":default:return Q.day(h,{width:"wide",context:"formatting"})||Q.day(h,{width:"abbreviated",context:"formatting"})||Q.day(h,{width:"short",context:"formatting"})||Q.day(h,{width:"narrow",context:"formatting"})}},validate:function(h,te,Q){return te>=0&&te<=6},set:function(h,te,Q,we){return h=se(h,Q,we),h.setUTCHours(0,0,0,0),h},incompatibleTokens:["D","i","e","c","t","T"]},e:{priority:90,parse:function(h,te,Q,we){var Se=function(Ne){var ze=Math.floor((Ne-1)/7)*7;return(Ne+we.weekStartsOn+6)%7+ze};switch(te){case"e":case"ee":return d(te.length,h,Se);case"eo":return Q.ordinalNumber(h,{unit:"day",valueCallback:Se});case"eee":return Q.day(h,{width:"abbreviated",context:"formatting"})||Q.day(h,{width:"short",context:"formatting"})||Q.day(h,{width:"narrow",context:"formatting"});case"eeeee":return Q.day(h,{width:"narrow",context:"formatting"});case"eeeeee":return Q.day(h,{width:"short",context:"formatting"})||Q.day(h,{width:"narrow",context:"formatting"});case"eeee":default:return Q.day(h,{width:"wide",context:"formatting"})||Q.day(h,{width:"abbreviated",context:"formatting"})||Q.day(h,{width:"short",context:"formatting"})||Q.day(h,{width:"narrow",context:"formatting"})}},validate:function(h,te,Q){return te>=0&&te<=6},set:function(h,te,Q,we){return h=se(h,Q,we),h.setUTCHours(0,0,0,0),h},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:{priority:90,parse:function(h,te,Q,we){var Se=function(Ne){var ze=Math.floor((Ne-1)/7)*7;return(Ne+we.weekStartsOn+6)%7+ze};switch(te){case"c":case"cc":return d(te.length,h,Se);case"co":return Q.ordinalNumber(h,{unit:"day",valueCallback:Se});case"ccc":return Q.day(h,{width:"abbreviated",context:"standalone"})||Q.day(h,{width:"short",context:"standalone"})||Q.day(h,{width:"narrow",context:"standalone"});case"ccccc":return Q.day(h,{width:"narrow",context:"standalone"});case"cccccc":return Q.day(h,{width:"short",context:"standalone"})||Q.day(h,{width:"narrow",context:"standalone"});case"cccc":default:return Q.day(h,{width:"wide",context:"standalone"})||Q.day(h,{width:"abbreviated",context:"standalone"})||Q.day(h,{width:"short",context:"standalone"})||Q.day(h,{width:"narrow",context:"standalone"})}},validate:function(h,te,Q){return te>=0&&te<=6},set:function(h,te,Q,we){return h=se(h,Q,we),h.setUTCHours(0,0,0,0),h},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:{priority:90,parse:function(h,te,Q,we){var Se=function(Ne){return Ne===0?7:Ne};switch(te){case"i":case"ii":return d(te.length,h);case"io":return Q.ordinalNumber(h,{unit:"day"});case"iii":return Q.day(h,{width:"abbreviated",context:"formatting",valueCallback:Se})||Q.day(h,{width:"short",context:"formatting",valueCallback:Se})||Q.day(h,{width:"narrow",context:"formatting",valueCallback:Se});case"iiiii":return Q.day(h,{width:"narrow",context:"formatting",valueCallback:Se});case"iiiiii":return Q.day(h,{width:"short",context:"formatting",valueCallback:Se})||Q.day(h,{width:"narrow",context:"formatting",valueCallback:Se});case"iiii":default:return Q.day(h,{width:"wide",context:"formatting",valueCallback:Se})||Q.day(h,{width:"abbreviated",context:"formatting",valueCallback:Se})||Q.day(h,{width:"short",context:"formatting",valueCallback:Se})||Q.day(h,{width:"narrow",context:"formatting",valueCallback:Se})}},validate:function(h,te,Q){return te>=1&&te<=7},set:function(h,te,Q,we){return h=S(h,Q,we),h.setUTCHours(0,0,0,0),h},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:{priority:80,parse:function(h,te,Q,we){switch(te){case"a":case"aa":case"aaa":return Q.dayPeriod(h,{width:"abbreviated",context:"formatting"})||Q.dayPeriod(h,{width:"narrow",context:"formatting"});case"aaaaa":return Q.dayPeriod(h,{width:"narrow",context:"formatting"});case"aaaa":default:return Q.dayPeriod(h,{width:"wide",context:"formatting"})||Q.dayPeriod(h,{width:"abbreviated",context:"formatting"})||Q.dayPeriod(h,{width:"narrow",context:"formatting"})}},set:function(h,te,Q,we){return h.setUTCHours(x(Q),0,0,0),h},incompatibleTokens:["b","B","H","k","t","T"]},b:{priority:80,parse:function(h,te,Q,we){switch(te){case"b":case"bb":case"bbb":return Q.dayPeriod(h,{width:"abbreviated",context:"formatting"})||Q.dayPeriod(h,{width:"narrow",context:"formatting"});case"bbbbb":return Q.dayPeriod(h,{width:"narrow",context:"formatting"});case"bbbb":default:return Q.dayPeriod(h,{width:"wide",context:"formatting"})||Q.dayPeriod(h,{width:"abbreviated",context:"formatting"})||Q.dayPeriod(h,{width:"narrow",context:"formatting"})}},set:function(h,te,Q,we){return h.setUTCHours(x(Q),0,0,0),h},incompatibleTokens:["a","B","H","k","t","T"]},B:{priority:80,parse:function(h,te,Q,we){switch(te){case"B":case"BB":case"BBB":return Q.dayPeriod(h,{width:"abbreviated",context:"formatting"})||Q.dayPeriod(h,{width:"narrow",context:"formatting"});case"BBBBB":return Q.dayPeriod(h,{width:"narrow",context:"formatting"});case"BBBB":default:return Q.dayPeriod(h,{width:"wide",context:"formatting"})||Q.dayPeriod(h,{width:"abbreviated",context:"formatting"})||Q.dayPeriod(h,{width:"narrow",context:"formatting"})}},set:function(h,te,Q,we){return h.setUTCHours(x(Q),0,0,0),h},incompatibleTokens:["a","b","t","T"]},h:{priority:70,parse:function(h,te,Q,we){switch(te){case"h":return I(p.hour12h,h);case"ho":return Q.ordinalNumber(h,{unit:"hour"});default:return d(te.length,h)}},validate:function(h,te,Q){return te>=1&&te<=12},set:function(h,te,Q,we){var Se=h.getUTCHours()>=12;return Se&&Q<12?h.setUTCHours(Q+12,0,0,0):!Se&&Q===12?h.setUTCHours(0,0,0,0):h.setUTCHours(Q,0,0,0),h},incompatibleTokens:["H","K","k","t","T"]},H:{priority:70,parse:function(h,te,Q,we){switch(te){case"H":return I(p.hour23h,h);case"Ho":return Q.ordinalNumber(h,{unit:"hour"});default:return d(te.length,h)}},validate:function(h,te,Q){return te>=0&&te<=23},set:function(h,te,Q,we){return h.setUTCHours(Q,0,0,0),h},incompatibleTokens:["a","b","h","K","k","t","T"]},K:{priority:70,parse:function(h,te,Q,we){switch(te){case"K":return I(p.hour11h,h);case"Ko":return Q.ordinalNumber(h,{unit:"hour"});default:return d(te.length,h)}},validate:function(h,te,Q){return te>=0&&te<=11},set:function(h,te,Q,we){var Se=h.getUTCHours()>=12;return Se&&Q<12?h.setUTCHours(Q+12,0,0,0):h.setUTCHours(Q,0,0,0),h},incompatibleTokens:["h","H","k","t","T"]},k:{priority:70,parse:function(h,te,Q,we){switch(te){case"k":return I(p.hour24h,h);case"ko":return Q.ordinalNumber(h,{unit:"hour"});default:return d(te.length,h)}},validate:function(h,te,Q){return te>=1&&te<=24},set:function(h,te,Q,we){var Se=Q<=24?Q%24:Q;return h.setUTCHours(Se,0,0,0),h},incompatibleTokens:["a","b","h","H","K","t","T"]},m:{priority:60,parse:function(h,te,Q,we){switch(te){case"m":return I(p.minute,h);case"mo":return Q.ordinalNumber(h,{unit:"minute"});default:return d(te.length,h)}},validate:function(h,te,Q){return te>=0&&te<=59},set:function(h,te,Q,we){return h.setUTCMinutes(Q,0,0),h},incompatibleTokens:["t","T"]},s:{priority:50,parse:function(h,te,Q,we){switch(te){case"s":return I(p.second,h);case"so":return Q.ordinalNumber(h,{unit:"second"});default:return d(te.length,h)}},validate:function(h,te,Q){return te>=0&&te<=59},set:function(h,te,Q,we){return h.setUTCSeconds(Q,0),h},incompatibleTokens:["t","T"]},S:{priority:30,parse:function(h,te,Q,we){var Se=function(Ne){return Math.floor(Ne*Math.pow(10,-te.length+3))};return d(te.length,h,Se)},set:function(h,te,Q,we){return h.setUTCMilliseconds(Q),h},incompatibleTokens:["t","T"]},X:{priority:10,parse:function(h,te,Q,we){switch(te){case"X":return E(O.basicOptionalMinutes,h);case"XX":return E(O.basic,h);case"XXXX":return E(O.basicOptionalSeconds,h);case"XXXXX":return E(O.extendedOptionalSeconds,h);case"XXX":default:return E(O.extended,h)}},set:function(h,te,Q,we){return te.timestampIsSet?h:new Date(h.getTime()-Q)},incompatibleTokens:["t","T","x"]},x:{priority:10,parse:function(h,te,Q,we){switch(te){case"x":return E(O.basicOptionalMinutes,h);case"xx":return E(O.basic,h);case"xxxx":return E(O.basicOptionalSeconds,h);case"xxxxx":return E(O.extendedOptionalSeconds,h);case"xxx":default:return E(O.extended,h)}},set:function(h,te,Q,we){return te.timestampIsSet?h:new Date(h.getTime()-Q)},incompatibleTokens:["t","T","X"]},t:{priority:40,parse:function(h,te,Q,we){return K(h)},set:function(h,te,Q,we){return[new Date(Q*1e3),{timestampIsSet:!0}]},incompatibleTokens:"*"},T:{priority:20,parse:function(h,te,Q,we){return K(h)},set:function(h,te,Q,we){return[new Date(Q),{timestampIsSet:!0}]},incompatibleTokens:"*"}},Y=F,le=10,ie=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,j=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ue=/^'([^]*?)'?$/,P=/''/g,Z=/\S/,ae=/[a-zA-Z]/;function ce(h,te,Q,we){(0,re.Z)(3,arguments);var Se=String(h),Ne=String(te),ze=we||{},Je=ze.locale||n.default;if(!Je.match)throw new RangeError("locale must contain match property");var qe=Je.options&&Je.options.firstWeekContainsDate,Me=qe==null?1:(0,ee.Z)(qe),Fe=ze.firstWeekContainsDate==null?Me:(0,ee.Z)(ze.firstWeekContainsDate);if(!(Fe>=1&&Fe<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var Ue=Je.options&&Je.options.weekStartsOn,he=Ue==null?0:(0,ee.Z)(Ue),xe=ze.weekStartsOn==null?he:(0,ee.Z)(ze.weekStartsOn);if(!(xe>=0&&xe<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(Ne==="")return Se===""?(0,l.default)(Q):new Date(NaN);var q={firstWeekContainsDate:Fe,weekStartsOn:xe,locale:Je},me=[{priority:le,subPriority:-1,set:be,index:0}],De,Te=Ne.match(j).map(function(St){var Wt=St[0];if(Wt==="p"||Wt==="P"){var Nt=m.Z[Wt];return Nt(St,Je.formatLong,q)}return St}).join("").match(ie),Oe=[];for(De=0;De<Te.length;De++){var st=Te[De];!ze.useAdditionalWeekYearTokens&&(0,M.Do)(st)&&(0,M.qp)(st,Ne,h),!ze.useAdditionalDayOfYearTokens&&(0,M.Iu)(st)&&(0,M.qp)(st,Ne,h);var Ft=st[0],Qt=Y[Ft];if(Qt){var Vt=Qt.incompatibleTokens;if(Array.isArray(Vt)){for(var Gt=void 0,Jt=0;Jt<Oe.length;Jt++){var Lr=Oe[Jt].token;if(Vt.indexOf(Lr)!==-1||Lr===Ft){Gt=Oe[Jt];break}}if(Gt)throw new RangeError("The format string mustn't contain `".concat(Gt.fullToken,"` and `").concat(st,"` at the same time"))}else if(Qt.incompatibleTokens==="*"&&Oe.length)throw new RangeError("The format string mustn't contain `".concat(st,"` and any other token at the same time"));Oe.push({token:Ft,fullToken:st});var Rr=Qt.parse(Se,st,Je.match,q);if(!Rr)return new Date(NaN);me.push({priority:Qt.priority,subPriority:Qt.subPriority||0,set:Qt.set,validate:Qt.validate,value:Rr.value,index:me.length}),Se=Rr.rest}else{if(Ft.match(ae))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Ft+"`");if(st==="''"?st="'":Ft==="'"&&(st=pe(st)),Se.indexOf(st)===0)Se=Se.slice(st.length);else return new Date(NaN)}}if(Se.length>0&&Z.test(Se))return new Date(NaN);var Gr=me.map(function(St){return St.priority}).sort(function(St,Wt){return Wt-St}).filter(function(St,Wt,Nt){return Nt.indexOf(St)===Wt}).map(function(St){return me.filter(function(Wt){return Wt.priority===St}).sort(function(Wt,Nt){return Nt.subPriority-Wt.subPriority})}).map(function(St){return St[0]}),zr=(0,l.default)(Q);if(isNaN(zr))return new Date(NaN);var pr=(0,f.Z)(zr,(0,v.Z)(zr)),vn={};for(De=0;De<Gr.length;De++){var fn=Gr[De];if(fn.validate&&!fn.validate(pr,fn.value,q))return new Date(NaN);var Zt=fn.set(pr,vn,fn.value,q);Zt[0]?(pr=Zt[0],u(vn,Zt[1])):pr=Zt}return pr}function be(h,te){if(te.timestampIsSet)return h;var Q=new Date(0);return Q.setFullYear(h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()),Q.setHours(h.getUTCHours(),h.getUTCMinutes(),h.getUTCSeconds(),h.getUTCMilliseconds()),Q}function pe(h){return h.match(ue)[1].replace(P,"'")}},35138:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return m}});var n=t(72848),f=t(24487),l=t(21310);function u(v){(0,l.Z)(1,arguments);var M=(0,f.default)(v),ee=M.getFullYear(),W=M.getMonth(),re=new Date(0);return re.setFullYear(ee,W+1,0),re.setHours(0,0,0,0),re.getDate()}function m(v,M){(0,l.Z)(2,arguments);var ee=(0,f.default)(v),W=(0,n.Z)(M),re=ee.getFullYear(),se=ee.getDate(),S=new Date(0);S.setFullYear(re,W,15),S.setHours(0,0,0,0);var J=u(S);return ee.setMonth(W,Math.min(se,J)),ee}},38431:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return u}});var n=t(72848),f=t(24487),l=t(21310);function u(m,v){(0,l.Z)(2,arguments);var M=(0,f.default)(m),ee=(0,n.Z)(v);return isNaN(M.getTime())?new Date(NaN):(M.setFullYear(ee),M)}},23585:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return l}});var n=t(24487),f=t(21310);function l(u){(0,f.Z)(1,arguments);var m=(0,n.default)(u);return m.setHours(0,0,0,0),m}},55798:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return l}});var n=t(24487),f=t(21310);function l(u){(0,f.Z)(1,arguments);var m=(0,n.default)(u);return m.setDate(1),m.setHours(0,0,0,0),m}},55053:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return u}});var n=t(24487),f=t(72848),l=t(21310);function u(m,v){(0,l.Z)(1,arguments);var M=v||{},ee=M.locale,W=ee&&ee.options&&ee.options.weekStartsOn,re=W==null?0:(0,f.Z)(W),se=M.weekStartsOn==null?re:(0,f.Z)(M.weekStartsOn);if(!(se>=0&&se<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var S=(0,n.default)(m),J=S.getDay(),T=(J<se?7:0)+J-se;return S.setDate(S.getDate()-T),S.setHours(0,0,0,0),S}},85950:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return l}});var n=t(24487),f=t(21310);function l(u){(0,f.Z)(1,arguments);var m=(0,n.default)(u),v=new Date(0);return v.setFullYear(m.getFullYear(),0,1),v.setHours(0,0,0,0),v}},71392:function(_e,$,t){"use strict";t.d($,{Z:function(){return u}});var n=t(72848),f=t(68138),l=t(21310);function u(m,v){(0,l.Z)(2,arguments);var M=(0,n.Z)(v);return(0,f.Z)(m,-M)}},75059:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return u}});var n=t(72848),f=t(11831),l=t(21310);function u(m,v){(0,l.Z)(2,arguments);var M=(0,n.Z)(v);return(0,f.default)(m,-M)}},24487:function(_e,$,t){"use strict";t.r($),t.d($,{default:function(){return f}});var n=t(21310);function f(l){(0,n.Z)(1,arguments);var u=Object.prototype.toString.call(l);return l instanceof Date||typeof l=="object"&&u==="[object Date]"?new Date(l.getTime()):typeof l=="number"||u==="[object Number]"?new Date(l):((typeof l=="string"||u==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn(new Error().stack)),new Date(NaN))}},4488:function(_e,$,t){(function(n,f){_e.exports=f(t(89526))})(typeof self!="undefined"?self:this,function(n){return function(f){function l(m){if(u[m])return u[m].exports;var v=u[m]={i:m,l:!1,exports:{}};return f[m].call(v.exports,v,v.exports,l),v.l=!0,v.exports}var u={};return l.m=f,l.c=u,l.d=function(m,v,M){l.o(m,v)||Object.defineProperty(m,v,{configurable:!1,enumerable:!0,get:M})},l.n=function(m){var v=m&&m.__esModule?function(){return m.default}:function(){return m};return l.d(v,"a",v),v},l.o=function(m,v){return Object.prototype.hasOwnProperty.call(m,v)},l.p="",l(l.s=0)}([function(f,l,u){"use strict";function m(){return m=Object.assign||function(c){for(var R=1;R<arguments.length;R++){var B=arguments[R];for(var X in B)Object.prototype.hasOwnProperty.call(B,X)&&(c[X]=B[X])}return c},m.apply(this,arguments)}function v(c){return re(c)||W(c)||ee(c)||M()}function M(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ee(c,R){if(c){if(typeof c=="string")return se(c,R);var B=Object.prototype.toString.call(c).slice(8,-1);return B==="Object"&&c.constructor&&(B=c.constructor.name),B==="Map"||B==="Set"?Array.from(c):B==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B)?se(c,R):void 0}}function W(c){if(typeof Symbol!="undefined"&&c[Symbol.iterator]!=null||c["@@iterator"]!=null)return Array.from(c)}function re(c){if(Array.isArray(c))return se(c)}function se(c,R){(R==null||R>c.length)&&(R=c.length);for(var B=0,X=new Array(R);B<R;B++)X[B]=c[B];return X}function S(c){return(S=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(c)}Object.defineProperty(l,"__esModule",{value:!0});var J=u(1),T=u.n(J),V=typeof window!="undefined"?J.useLayoutEffect:J.useEffect,L=Object(J.forwardRef)(function(c,R){var B=Object(J.useRef)(),X=Object(J.useRef)();return V(function(){function g(){var O=c.highcharts||(typeof window=="undefined"?"undefined":S(window))==="object"&&window.Highcharts,I=c.constructorType||"chart";O?O[I]?c.options?X.current=O[I](B.current,c.options,c.callback?c.callback:void 0):console.warn('The "options" property was not passed.'):console.warn('The "constructorType" property is incorrect or some required module is not imported.'):console.warn('The "highcharts" property was not passed.')}if(X.current){if(c.allowChartUpdate!==!1)if(!c.immutable&&X.current){var p;(p=X.current).update.apply(p,[c.options].concat(v(c.updateArgs||[!0,!0])))}else g()}else g()}),V(function(){return function(){X.current&&(X.current.destroy(),X.current=null)}},[]),Object(J.useImperativeHandle)(R,function(){return{get chart(){return X.current},container:B}},[]),T.a.createElement("div",m({},c.containerProps,{ref:B}))});l.default=Object(J.memo)(L)},function(f,l){f.exports=n}])})},35864:function(_e,$,t){"use strict";var n;(function(f,l){_e.exports?(l.default=l,_e.exports=f.document?l(f):l):(n=function(){return l(f)}.call($,t,$,_e),n!==void 0&&(_e.exports=n))})(typeof window!="undefined"?window:this,function(f){function l(m,v,M,ee){m.hasOwnProperty(v)||(m[v]=ee.apply(null,M))}var u={};return l(u,"Core/Globals.js",[],function(){var m=typeof f!="undefined"?f:typeof window!="undefined"?window:{},v;return function(M){M.SVG_NS="http://www.w3.org/2000/svg",M.product="Highcharts",M.version="9.3.3",M.win=m,M.doc=M.win.document,M.svg=M.doc&&M.doc.createElementNS&&!!M.doc.createElementNS(M.SVG_NS,"svg").createSVGRect,M.userAgent=M.win.navigator&&M.win.navigator.userAgent||"",M.isChrome=M.userAgent.indexOf("Chrome")!==-1,M.isFirefox=M.userAgent.indexOf("Firefox")!==-1,M.isMS=/(edge|msie|trident)/i.test(M.userAgent)&&!M.win.opera,M.isSafari=!M.isChrome&&M.userAgent.indexOf("Safari")!==-1,M.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(M.userAgent),M.isWebKit=M.userAgent.indexOf("AppleWebKit")!==-1,M.deg2rad=2*Math.PI/360,M.hasBidiBug=M.isFirefox&&4>parseInt(M.userAgent.split("Firefox/")[1],10),M.hasTouch=!!M.win.TouchEvent,M.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],M.noop=function(){},M.supportsPassiveEvents=function(){var ee=!1;if(!M.isMS){var W=Object.defineProperty({},"passive",{get:function(){ee=!0}});M.win.addEventListener&&M.win.removeEventListener&&(M.win.addEventListener("testPassive",M.noop,W),M.win.removeEventListener("testPassive",M.noop,W))}return ee}(),M.charts=[],M.dateFormats={},M.seriesTypes={},M.symbolSizes={},M.chartCount=0}(v||(v={})),v}),l(u,"Core/Utilities.js",[u["Core/Globals.js"]],function(m){function v(w,C,U,F){var Y=C?"Highcharts error":"Highcharts warning";w===32&&(w=Y+": Deprecated member");var le=T(w),ie=le?Y+" #"+w+": www.highcharts.com/errors/"+w+"/":w.toString();if(typeof F!="undefined"){var j="";le&&(ie+="?"),p(F,function(ue,P){j+=`
 - `+P+": "+ue,le&&(ie+=encodeURI(P)+"="+encodeURI(ue))}),ie+=j}I(m,"displayError",{chart:U,code:w,message:ie,params:F},function(){if(C)throw Error(ie);d.console&&v.messages.indexOf(ie)===-1&&console.warn(ie)}),v.messages.push(ie)}function M(w,C){var U={};return p(w,function(F,Y){se(w[Y],!0)&&!w.nodeType&&C[Y]?(F=M(w[Y],C[Y]),Object.keys(F).length&&(U[Y]=F)):(se(w[Y])||w[Y]!==C[Y])&&(U[Y]=w[Y])}),U}function ee(w,C){return parseInt(w,C||10)}function W(w){return typeof w=="string"}function re(w){return w=Object.prototype.toString.call(w),w==="[object Array]"||w==="[object Array Iterator]"}function se(w,C){return!!w&&typeof w=="object"&&(!C||!re(w))}function S(w){return se(w)&&typeof w.nodeType=="number"}function J(w){var C=w&&w.constructor;return!(!se(w,!0)||S(w)||!C||!C.name||C.name==="Object")}function T(w){return typeof w=="number"&&!isNaN(w)&&1/0>w&&-1/0<w}function V(w){return typeof w!="undefined"&&w!==null}function L(w,C,U){var F;return W(C)?V(U)?w.setAttribute(C,U):w&&w.getAttribute&&((F=w.getAttribute(C))||C!=="class"||(F=w.getAttribute(C+"Name"))):p(C,function(Y,le){V(Y)?w.setAttribute(le,Y):w.removeAttribute(le)}),F}function c(w,C){var U;w||(w={});for(U in C)w[U]=C[U];return w}function R(){for(var w=arguments,C=w.length,U=0;U<C;U++){var F=w[U];if(typeof F!="undefined"&&F!==null)return F}}function B(w,C){m.isMS&&!m.svg&&C&&typeof C.opacity!="undefined"&&(C.filter="alpha(opacity="+100*C.opacity+")"),c(w.style,C)}function X(w,C){return 1e14<w?w:parseFloat(w.toPrecision(C||14))}function g(w,C,U){var F=m.getStyle||g;if(C==="width")return C=Math.min(w.offsetWidth,w.scrollWidth),U=w.getBoundingClientRect&&w.getBoundingClientRect().width,U<C&&U>=C-1&&(C=Math.floor(U)),Math.max(0,C-(F(w,"padding-left",!0)||0)-(F(w,"padding-right",!0)||0));if(C==="height")return Math.max(0,Math.min(w.offsetHeight,w.scrollHeight)-(F(w,"padding-top",!0)||0)-(F(w,"padding-bottom",!0)||0));if(d.getComputedStyle||v(27,!0),w=d.getComputedStyle(w,void 0)){var Y=w.getPropertyValue(C);R(U,C!=="opacity")&&(Y=ee(Y))}return Y}function p(w,C,U){for(var F in w)Object.hasOwnProperty.call(w,F)&&C.call(U||w[F],w[F],F,w)}function O(w,C,U){function F(j,ue){var P=w.removeEventListener||m.removeEventListenerPolyfill;P&&P.call(w,j,ue,!1)}function Y(j){var ue;if(w.nodeName){if(C){var P={};P[C]=!0}else P=j;p(P,function(Z,ae){if(j[ae])for(ue=j[ae].length;ue--;)F(ae,j[ae][ue].fn)})}}var le=typeof w=="function"&&w.prototype||w;if(Object.hasOwnProperty.call(le,"hcEvents")){var ie=le.hcEvents;C?(le=ie[C]||[],U?(ie[C]=le.filter(function(j){return U!==j.fn}),F(C,U)):(Y(ie),ie[C]=[])):(Y(ie),delete le.hcEvents)}}function I(w,C,U,F){if(U=U||{},K.createEvent&&(w.dispatchEvent||w.fireEvent&&w!==m)){var Y=K.createEvent("Events");Y.initEvent(C,!0,!0),U=c(Y,U),w.dispatchEvent?w.dispatchEvent(U):w.fireEvent(C,U)}else if(w.hcEvents){U.target||c(U,{preventDefault:function(){U.defaultPrevented=!0},target:w,type:C}),Y=[];for(var le=w,ie=!1;le.hcEvents;)Object.hasOwnProperty.call(le,"hcEvents")&&le.hcEvents[C]&&(Y.length&&(ie=!0),Y.unshift.apply(Y,le.hcEvents[C])),le=Object.getPrototypeOf(le);ie&&Y.sort(function(j,ue){return j.order-ue.order}),Y.forEach(function(j){j.fn.call(w,U)===!1&&U.preventDefault()})}F&&!U.defaultPrevented&&F.call(w,U)}var E=m.charts,K=m.doc,d=m.win;(v||(v={})).messages=[],Math.easeInOutSine=function(w){return-.5*(Math.cos(Math.PI*w)-1)};var i=Array.prototype.find?function(w,C){return w.find(C)}:function(w,C){var U,F=w.length;for(U=0;U<F;U++)if(C(w[U],U))return w[U]};p({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},function(w,C){m[C]=function(U){var F;return v(32,!1,void 0,(F={},F["Highcharts."+C]="use Array."+w,F)),Array.prototype[w].apply(U,[].slice.call(arguments,1))}});var x,A=function(){var w=Math.random().toString(36).substring(2,9)+"-",C=0;return function(){return"highcharts-"+(x?"":w)+C++}}();return d.jQuery&&(d.jQuery.fn.highcharts=function(){var w=[].slice.call(arguments);if(this[0])return w[0]?(new m[W(w[0])?w.shift():"Chart"](this[0],w[0],w[1]),this):E[L(this[0],"data-highcharts-chart")]}),i={addEvent:function(w,C,U,F){F===void 0&&(F={});var Y=typeof w=="function"&&w.prototype||w;Object.hasOwnProperty.call(Y,"hcEvents")||(Y.hcEvents={}),Y=Y.hcEvents,m.Point&&w instanceof m.Point&&w.series&&w.series.chart&&(w.series.chart.runTrackerClick=!0);var le=w.addEventListener||m.addEventListenerPolyfill;return le&&le.call(w,C,U,m.supportsPassiveEvents?{passive:F.passive===void 0?C.indexOf("touch")!==-1:F.passive,capture:!1}:!1),Y[C]||(Y[C]=[]),Y[C].push({fn:U,order:typeof F.order=="number"?F.order:1/0}),Y[C].sort(function(ie,j){return ie.order-j.order}),function(){O(w,C,U)}},arrayMax:function(w){for(var C=w.length,U=w[0];C--;)w[C]>U&&(U=w[C]);return U},arrayMin:function(w){for(var C=w.length,U=w[0];C--;)w[C]<U&&(U=w[C]);return U},attr:L,clamp:function(w,C,U){return w>C?w<U?w:U:C},cleanRecursively:M,clearTimeout:function(w){V(w)&&clearTimeout(w)},correctFloat:X,createElement:function(w,C,U,F,Y){return w=K.createElement(w),C&&c(w,C),Y&&B(w,{padding:"0",border:"none",margin:"0"}),U&&B(w,U),F&&F.appendChild(w),w},css:B,defined:V,destroyObjectProperties:function(w,C){p(w,function(U,F){U&&U!==C&&U.destroy&&U.destroy(),delete w[F]})},discardElement:function(w){w&&w.parentElement&&w.parentElement.removeChild(w)},erase:function(w,C){for(var U=w.length;U--;)if(w[U]===C){w.splice(U,1);break}},error:v,extend:c,extendClass:function(w,C){var U=function(){};return U.prototype=new w,c(U.prototype,C),U},find:i,fireEvent:I,getMagnitude:function(w){return Math.pow(10,Math.floor(Math.log(w)/Math.LN10))},getNestedProperty:function(w,C){for(w=w.split(".");w.length&&V(C);){var U=w.shift();if(typeof U=="undefined"||U==="__proto__"||(C=C[U],!V(C)||typeof C=="function"||typeof C.nodeType=="number"||C===d))return}return C},getStyle:g,inArray:function(w,C,U){return v(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),C.indexOf(w,U)},isArray:re,isClass:J,isDOMElement:S,isFunction:function(w){return typeof w=="function"},isNumber:T,isObject:se,isString:W,keys:function(w){return v(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(w)},merge:function(){var w,C=arguments,U={},F=function(le,ie){return typeof le!="object"&&(le={}),p(ie,function(j,ue){ue!=="__proto__"&&ue!=="constructor"&&(!se(j,!0)||J(j)||S(j)?le[ue]=ie[ue]:le[ue]=F(le[ue]||{},j))}),le};C[0]===!0&&(U=C[1],C=Array.prototype.slice.call(C,2));var Y=C.length;for(w=0;w<Y;w++)U=F(U,C[w]);return U},normalizeTickInterval:function(w,C,U,F,Y){var le=w;U=R(U,1);var ie=w/U;for(C||(C=Y?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],F===!1&&(U===1?C=C.filter(function(j){return j%1===0}):.1>=U&&(C=[1/U]))),F=0;F<C.length&&(le=C[F],!(Y&&le*U>=w||!Y&&ie<=(C[F]+(C[F+1]||C[F]))/2));F++);return le=X(le*U,-Math.round(Math.log(.001)/Math.LN10))},objectEach:p,offset:function(w){var C=K.documentElement;return w=w.parentElement||w.parentNode?w.getBoundingClientRect():{top:0,left:0,width:0,height:0},{top:w.top+(d.pageYOffset||C.scrollTop)-(C.clientTop||0),left:w.left+(d.pageXOffset||C.scrollLeft)-(C.clientLeft||0),width:w.width,height:w.height}},pad:function(w,C,U){return Array((C||2)+1-String(w).replace("-","").length).join(U||"0")+w},pick:R,pInt:ee,relativeLength:function(w,C,U){return/%$/.test(w)?C*parseFloat(w)/100+(U||0):parseFloat(w)},removeEvent:O,splat:function(w){return re(w)?w:[w]},stableSort:function(w,C){var U=w.length,F,Y;for(Y=0;Y<U;Y++)w[Y].safeI=Y;for(w.sort(function(le,ie){return F=C(le,ie),F===0?le.safeI-ie.safeI:F}),Y=0;Y<U;Y++)delete w[Y].safeI},syncTimeout:function(w,C,U){return 0<C?setTimeout(w,C,U):(w.call(0,U),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:A,useSerialIds:function(w){return x=R(w,x)},wrap:function(w,C,U){var F=w[C];w[C]=function(){var Y=Array.prototype.slice.call(arguments),le=arguments,ie=this;return ie.proceed=function(){F.apply(ie,arguments.length?arguments:le)},Y.unshift(F),Y=U.apply(this,Y),ie.proceed=null,Y}}},i}),l(u,"Core/Chart/ChartDefaults.js",[],function(){return{panning:{enabled:!1,type:"x"},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}},zoomBySingleTouch:!1,width:null,height:null,borderColor:"#335cad",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}}),l(u,"Core/Color/Color.js",[u["Core/Globals.js"],u["Core/Utilities.js"]],function(m,v){var M=v.isNumber,ee=v.merge,W=v.pInt;return v=function(){function re(se){this.rgba=[NaN,NaN,NaN,NaN],this.input=se;var S=m.Color;if(S&&S!==re)return new S(se);if(!(this instanceof re))return new re(se);this.init(se)}return re.parse=function(se){return se?new re(se):re.None},re.prototype.init=function(se){var S;if(typeof se=="object"&&typeof se.stops!="undefined")this.stops=se.stops.map(function(L){return new re(L[1])});else if(typeof se=="string"){if(this.input=se=re.names[se.toLowerCase()]||se,se.charAt(0)==="#"){var J=se.length,T=parseInt(se.substr(1),16);J===7?S=[(T&16711680)>>16,(T&65280)>>8,T&255,1]:J===4&&(S=[(T&3840)>>4|(T&3840)>>8,(T&240)>>4|T&240,(T&15)<<4|T&15,1])}if(!S)for(T=re.parsers.length;T--&&!S;){var V=re.parsers[T];(J=V.regex.exec(se))&&(S=V.parse(J))}}S&&(this.rgba=S)},re.prototype.get=function(se){var S=this.input,J=this.rgba;if(typeof S=="object"&&typeof this.stops!="undefined"){var T=ee(S);return T.stops=[].slice.call(T.stops),this.stops.forEach(function(V,L){T.stops[L]=[T.stops[L][0],V.get(se)]}),T}return J&&M(J[0])?se==="rgb"||!se&&J[3]===1?"rgb("+J[0]+","+J[1]+","+J[2]+")":se==="a"?""+J[3]:"rgba("+J.join(",")+")":S},re.prototype.brighten=function(se){var S=this.rgba;if(this.stops)this.stops.forEach(function(T){T.brighten(se)});else if(M(se)&&se!==0)for(var J=0;3>J;J++)S[J]+=W(255*se),0>S[J]&&(S[J]=0),255<S[J]&&(S[J]=255);return this},re.prototype.setOpacity=function(se){return this.rgba[3]=se,this},re.prototype.tweenTo=function(se,S){var J=this.rgba,T=se.rgba;return!M(J[0])||!M(T[0])?se.input||"none":(se=T[3]!==1||J[3]!==1,(se?"rgba(":"rgb(")+Math.round(T[0]+(J[0]-T[0])*(1-S))+","+Math.round(T[1]+(J[1]-T[1])*(1-S))+","+Math.round(T[2]+(J[2]-T[2])*(1-S))+(se?","+(T[3]+(J[3]-T[3])*(1-S)):"")+")")},re.names={white:"#ffffff",black:"#000000"},re.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(se){return[W(se[1]),W(se[2]),W(se[3]),parseFloat(se[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(se){return[W(se[1]),W(se[2]),W(se[3]),1]}}],re.None=new re(""),re}(),v}),l(u,"Core/Color/Palettes.js",[],function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" ")}}),l(u,"Core/Time.js",[u["Core/Globals.js"],u["Core/Utilities.js"]],function(m,v){var M=m.win,ee=v.defined,W=v.error,re=v.extend,se=v.isObject,S=v.merge,J=v.objectEach,T=v.pad,V=v.pick,L=v.splat,c=v.timeUnits,R=m.isSafari&&M.Intl&&M.Intl.DateTimeFormat.prototype.formatRange,B=m.isSafari&&M.Intl&&!M.Intl.DateTimeFormat.prototype.formatRange;return v=function(){function X(g){this.options={},this.variableTimezone=this.useUTC=!1,this.Date=M.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(g)}return X.prototype.get=function(g,p){if(this.variableTimezone||this.timezoneOffset){var O=p.getTime(),I=O-this.getTimezoneOffset(p);return p.setTime(I),g=p["getUTC"+g](),p.setTime(O),g}return this.useUTC?p["getUTC"+g]():p["get"+g]()},X.prototype.set=function(g,p,O){if(this.variableTimezone||this.timezoneOffset){if(g==="Milliseconds"||g==="Seconds"||g==="Minutes"&&this.getTimezoneOffset(p)%36e5===0)return p["setUTC"+g](O);var I=this.getTimezoneOffset(p);return I=p.getTime()-I,p.setTime(I),p["setUTC"+g](O),g=this.getTimezoneOffset(p),I=p.getTime()+g,p.setTime(I)}return this.useUTC||R&&g==="FullYear"?p["setUTC"+g](O):p["set"+g](O)},X.prototype.update=function(g){var p=V(g&&g.useUTC,!0);this.options=g=S(!0,this.options||{},g),this.Date=g.Date||M.Date||Date,this.timezoneOffset=(this.useUTC=p)&&g.timezoneOffset,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=p&&!(!g.getTimezoneOffset&&!g.timezone)},X.prototype.makeTime=function(g,p,O,I,E,K){if(this.useUTC){var d=this.Date.UTC.apply(0,arguments),i=this.getTimezoneOffset(d);d+=i;var x=this.getTimezoneOffset(d);i!==x?d+=x-i:i-36e5!==this.getTimezoneOffset(d-36e5)||B||(d-=36e5)}else d=new this.Date(g,p,V(O,1),V(I,0),V(E,0),V(K,0)).getTime();return d},X.prototype.timezoneOffsetFunction=function(){var g=this,p=this.options,O=p.getTimezoneOffset,I=p.moment||M.moment;if(!this.useUTC)return function(E){return 6e4*new Date(E.toString()).getTimezoneOffset()};if(p.timezone){if(I)return function(E){return 6e4*-I.tz(E,p.timezone).utcOffset()};W(25)}return this.useUTC&&O?function(E){return 6e4*O(E.valueOf())}:function(){return 6e4*(g.timezoneOffset||0)}},X.prototype.dateFormat=function(g,p,O){if(!ee(p)||isNaN(p))return m.defaultOptions.lang&&m.defaultOptions.lang.invalidDate||"";g=V(g,"%Y-%m-%d %H:%M:%S");var I=this,E=new this.Date(p),K=this.get("Hours",E),d=this.get("Day",E),i=this.get("Date",E),x=this.get("Month",E),A=this.get("FullYear",E),w=m.defaultOptions.lang,C=w&&w.weekdays,U=w&&w.shortWeekdays;return E=re({a:U?U[d]:C[d].substr(0,3),A:C[d],d:T(i),e:T(i,2," "),w:d,b:w.shortMonths[x],B:w.months[x],m:T(x+1),o:x+1,y:A.toString().substr(2,2),Y:A,H:T(K),k:K,I:T(K%12||12),l:K%12||12,M:T(this.get("Minutes",E)),p:12>K?"AM":"PM",P:12>K?"am":"pm",S:T(E.getSeconds()),L:T(Math.floor(p%1e3),3)},m.dateFormats),J(E,function(F,Y){for(;g.indexOf("%"+Y)!==-1;)g=g.replace("%"+Y,typeof F=="function"?F.call(I,p):F)}),O?g.substr(0,1).toUpperCase()+g.substr(1):g},X.prototype.resolveDTLFormat=function(g){return se(g,!0)?g:(g=L(g),{main:g[0],from:g[1],to:g[2]})},X.prototype.getTimeTicks=function(g,p,O,I){var E=this,K=[],d={},i=new E.Date(p),x=g.unitRange,A=g.count||1,w;if(I=V(I,1),ee(p)){if(E.set("Milliseconds",i,x>=c.second?0:A*Math.floor(E.get("Milliseconds",i)/A)),x>=c.second&&E.set("Seconds",i,x>=c.minute?0:A*Math.floor(E.get("Seconds",i)/A)),x>=c.minute&&E.set("Minutes",i,x>=c.hour?0:A*Math.floor(E.get("Minutes",i)/A)),x>=c.hour&&E.set("Hours",i,x>=c.day?0:A*Math.floor(E.get("Hours",i)/A)),x>=c.day&&E.set("Date",i,x>=c.month?1:Math.max(1,A*Math.floor(E.get("Date",i)/A))),x>=c.month){E.set("Month",i,x>=c.year?0:A*Math.floor(E.get("Month",i)/A));var C=E.get("FullYear",i)}x>=c.year&&E.set("FullYear",i,C-C%A),x===c.week&&(C=E.get("Day",i),E.set("Date",i,E.get("Date",i)-C+I+(C<I?-7:0))),C=E.get("FullYear",i),I=E.get("Month",i);var U=E.get("Date",i),F=E.get("Hours",i);for(p=i.getTime(),!E.variableTimezone&&E.useUTC||!ee(O)||(w=O-p>4*c.month||E.getTimezoneOffset(p)!==E.getTimezoneOffset(O)),p=i.getTime(),i=1;p<O;)K.push(p),p=x===c.year?E.makeTime(C+i*A,0):x===c.month?E.makeTime(C,I+i*A):!w||x!==c.day&&x!==c.week?w&&x===c.hour&&1<A?E.makeTime(C,I,U,F+i*A):p+x*A:E.makeTime(C,I,U+i*A*(x===c.day?1:7)),i++;K.push(p),x<=c.hour&&1e4>K.length&&K.forEach(function(Y){Y%18e5===0&&E.dateFormat("%H%M%S%L",Y)==="000000000"&&(d[Y]="day")})}return K.info=re(g,{higherRanks:d,totalRange:x*A}),K},X.prototype.getDateFormat=function(g,p,O,I){var E=this.dateFormat("%m-%d %H:%M:%S.%L",p),K={millisecond:15,second:12,minute:9,hour:6,day:3},d="millisecond";for(i in c){if(g===c.week&&+this.dateFormat("%w",p)===O&&E.substr(6)==="00:00:00.000"){var i="week";break}if(c[i]>g){i=d;break}if(K[i]&&E.substr(K[i])!=="01-01 00:00:00.000".substr(K[i]))break;i!=="week"&&(d=i)}if(i)var x=this.resolveDTLFormat(I[i]).main;return x},X}(),v}),l(u,"Core/DefaultOptions.js",[u["Core/Chart/ChartDefaults.js"],u["Core/Color/Color.js"],u["Core/Globals.js"],u["Core/Color/Palettes.js"],u["Core/Time.js"],u["Core/Utilities.js"]],function(m,v,M,ee,W,re){v=v.parse;var se=re.merge,S={colors:ee.colors,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:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:m,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,className:"highcharts-no-tooltip",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:M.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:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:M.isTouchDevice?25:10,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">\u25CF</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:v("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},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"}};S.chart.styledMode=!1;var J=new W(se(S.global,S.time));return m={defaultOptions:S,defaultTime:J,getOptions:function(){return S},setOptions:function(T){return se(!0,S,T),(T.time||T.global)&&(M.time?M.time.update(se(S.global,S.time,T.global,T.time)):M.time=J),S}},m}),l(u,"Core/Animation/Fx.js",[u["Core/Color/Color.js"],u["Core/Globals.js"],u["Core/Utilities.js"]],function(m,v,M){var ee=m.parse,W=v.win,re=M.isNumber,se=M.objectEach;return function(){function S(J,T,V){this.pos=NaN,this.options=T,this.elem=J,this.prop=V}return S.prototype.dSetter=function(){var J=this.paths,T=J&&J[0];J=J&&J[1];var V=this.now||0,L=[];if(V!==1&&T&&J)if(T.length===J.length&&1>V)for(var c=0;c<J.length;c++){for(var R=T[c],B=J[c],X=[],g=0;g<B.length;g++){var p=R[g],O=B[g];re(p)&&re(O)&&(B[0]!=="A"||g!==4&&g!==5)?X[g]=p+V*(O-p):X[g]=O}L.push(X)}else L=J;else L=this.toD||[];this.elem.attr("d",L,void 0,!0)},S.prototype.update=function(){var J=this.elem,T=this.prop,V=this.now,L=this.options.step;this[T+"Setter"]?this[T+"Setter"]():J.attr?J.element&&J.attr(T,V,null,!0):J.style[T]=V+this.unit,L&&L.call(J,V,this)},S.prototype.run=function(J,T,V){var L=this,c=L.options,R=function(g){return R.stopped?!1:L.step(g)},B=W.requestAnimationFrame||function(g){setTimeout(g,13)},X=function(){for(var g=0;g<S.timers.length;g++)S.timers[g]()||S.timers.splice(g--,1);S.timers.length&&B(X)};J!==T||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=J,this.end=T,this.unit=V,this.now=this.start,this.pos=0,R.elem=this.elem,R.prop=this.prop,R()&&S.timers.push(R)===1&&B(X)):(delete c.curAnim[this.prop],c.complete&&Object.keys(c.curAnim).length===0&&c.complete.call(this.elem))},S.prototype.step=function(J){var T=+new Date,V=this.options,L=this.elem,c=V.complete,R=V.duration,B=V.curAnim;if(L.attr&&!L.element)J=!1;else if(J||T>=R+this.startTime){this.now=this.end,this.pos=1,this.update();var X=B[this.prop]=!0;se(B,function(g){g!==!0&&(X=!1)}),X&&c&&c.call(L),J=!1}else this.pos=V.easing((T-this.startTime)/R),this.now=this.start+(this.end-this.start)*this.pos,this.update(),J=!0;return J},S.prototype.initPath=function(J,T,V){function L(E,K){for(;E.length<I;){var d=E[0],i=K[I-E.length];i&&d[0]==="M"&&(E[0]=i[0]==="C"?["C",d[1],d[2],d[1],d[2],d[1],d[2]]:["L",d[1],d[2]]),E.unshift(d),X&&(d=E.pop(),E.push(E[E.length-1],d))}}function c(E,K){for(;E.length<I;)if(K=E[Math.floor(E.length/g)-1].slice(),K[0]==="C"&&(K[1]=K[5],K[2]=K[6]),X){var d=E[Math.floor(E.length/g)].slice();E.splice(E.length/2,0,K,d)}else E.push(K)}var R=J.startX,B=J.endX;V=V.slice();var X=J.isArea,g=X?2:1;if(T=T&&T.slice(),!T)return[V,V];if(R&&B&&B.length){for(J=0;J<R.length;J++)if(R[J]===B[0]){var p=J;break}else if(R[0]===B[B.length-R.length+J]){p=J;var O=!0;break}else if(R[R.length-1]===B[B.length-R.length+J]){p=R.length-J;break}typeof p=="undefined"&&(T=[])}if(T.length&&re(p)){var I=V.length+p*g;O?(L(T,V),c(V,T)):(L(V,T),c(T,V))}return[T,V]},S.prototype.fillSetter=function(){S.prototype.strokeSetter.apply(this,arguments)},S.prototype.strokeSetter=function(){this.elem.attr(this.prop,ee(this.start).tweenTo(ee(this.end),this.pos),void 0,!0)},S.timers=[],S}()}),l(u,"Core/Animation/AnimationUtilities.js",[u["Core/Animation/Fx.js"],u["Core/Utilities.js"]],function(m,v){function M(c){return J(c)?T({duration:500,defer:0},c):{duration:c?500:0,defer:0}}function ee(c,R){for(var B=m.timers.length;B--;)m.timers[B].elem!==c||R&&R!==m.timers[B].prop||(m.timers[B].stopped=!0)}var W=v.defined,re=v.getStyle,se=v.isArray,S=v.isNumber,J=v.isObject,T=v.merge,V=v.objectEach,L=v.pick;return{animate:function(c,R,B){var X,g="",p,O;if(!J(B)){var I=arguments;B={duration:I[2],easing:I[3],complete:I[4]}}S(B.duration)||(B.duration=400),B.easing=typeof B.easing=="function"?B.easing:Math[B.easing]||Math.easeInOutSine,B.curAnim=T(R),V(R,function(E,K){ee(c,K),O=new m(c,B,K),p=void 0,K==="d"&&se(R.d)?(O.paths=O.initPath(c,c.pathArray,R.d),O.toD=R.d,X=0,p=1):c.attr?X=c.attr(K):(X=parseFloat(re(c,K))||0,K!=="opacity"&&(g="px")),p||(p=E),typeof p=="string"&&p.match("px")&&(p=p.replace(/px/g,"")),O.run(X,p,g)})},animObject:M,getDeferredAnimation:function(c,R,B){var X=M(R),g=0,p=0;return(B?[B]:c.series).forEach(function(O){O=M(O.options.animation),g=R&&W(R.defer)?X.defer:Math.max(g,O.duration+O.defer),p=Math.min(X.duration,O.duration)}),c.renderer.forExport&&(g=0),{defer:Math.max(0,g-p),duration:Math.min(g,p)}},setAnimation:function(c,R){R.renderer.globalAnimation=L(c,R.options.chart.animation,!0)},stop:ee}}),l(u,"Core/Renderer/HTML/AST.js",[u["Core/Globals.js"],u["Core/Utilities.js"]],function(m,v){var M=m.SVG_NS,ee=v.attr,W=v.createElement,re=v.error,se=v.isFunction,S=v.isString,J=v.objectEach,T=v.splat,V=(v=m.win.trustedTypes)&&se(v.createPolicy)&&v.createPolicy("highcharts",{createHTML:function(R){return R}}),L=V?V.createHTML(""):"";try{var c=!!new DOMParser().parseFromString(L,"text/html")}catch(R){c=!1}return se=function(){function R(B){this.nodes=typeof B=="string"?this.parseMarkup(B):B}return R.filterUserAttributes=function(B){return J(B,function(X,g){var p=!0;R.allowedAttributes.indexOf(g)===-1&&(p=!1),["background","dynsrc","href","lowsrc","src"].indexOf(g)!==-1&&(p=S(X)&&R.allowedReferences.some(function(O){return X.indexOf(O)===0})),p||(re("Highcharts warning: Invalid attribute '"+g+"' in config"),delete B[g])}),B},R.setElementHTML=function(B,X){B.innerHTML=R.emptyHTML,X&&new R(X).addToDOM(B)},R.prototype.addToDOM=function(B){function X(g,p){var O;return T(g).forEach(function(I){var E=I.tagName,K=I.textContent?m.doc.createTextNode(I.textContent):void 0;if(E)if(E==="#text")var d=K;else if(R.allowedTags.indexOf(E)!==-1){E=m.doc.createElementNS(E==="svg"?M:p.namespaceURI||M,E);var i=I.attributes||{};J(I,function(x,A){A!=="tagName"&&A!=="attributes"&&A!=="children"&&A!=="textContent"&&(i[A]=x)}),ee(E,R.filterUserAttributes(i)),K&&E.appendChild(K),X(I.children||[],E),d=E}else re("Highcharts warning: Invalid tagName "+E+" in config");d&&p.appendChild(d),O=d}),O}return X(this.nodes,B)},R.prototype.parseMarkup=function(B){var X=[];if(B=B.trim(),c)B=new DOMParser().parseFromString(V?V.createHTML(B):B,"text/html");else{var g=W("div");g.innerHTML=B,B={body:g}}var p=function(O,I){var E=O.nodeName.toLowerCase(),K={tagName:E};if(E==="#text"&&(K.textContent=O.textContent||""),E=O.attributes){var d={};[].forEach.call(E,function(x){d[x.name]=x.value}),K.attributes=d}if(O.childNodes.length){var i=[];[].forEach.call(O.childNodes,function(x){p(x,i)}),i.length&&(K.children=i)}I.push(K)};return[].forEach.call(B.body.childNodes,function(O){return p(O,X)}),X},R.allowedAttributes="aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-pressed aria-readonly aria-roledescription aria-selected class clip-path color colspan cx cy d dx dy disabled fill height href id in markerHeight markerWidth offset opacity orient padding paddingLeft paddingRight patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style tableValues result rowspan summary target tabindex text-align textAnchor textLength title type valign width x x1 x2 y y1 y2 zIndex".split(" "),R.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" "),R.allowedTags="a abbr b br button caption circle clipPath code dd defs div dl dt em feComponentTransfer feFuncA feFuncB feFuncG feFuncR feGaussianBlur feOffset feMerge feMergeNode filter h1 h2 h3 h4 h5 h6 hr i img li linearGradient marker ol p path pattern pre rect small span stop strong style sub sup svg table text thead tbody tspan td th tr u ul #text".split(" "),R.emptyHTML=L,R}(),se}),l(u,"Core/FormatUtilities.js",[u["Core/DefaultOptions.js"],u["Core/Utilities.js"]],function(m,v){function M(T,V,L,c){T=+T||0,V=+V;var R=ee.lang,B=(T.toString().split(".")[1]||"").split("e")[0].length,X=T.toString().split("e"),g=V;if(V===-1)V=Math.min(B,20);else if(!se(V))V=2;else if(V&&X[1]&&0>X[1]){var p=V+ +X[1];0<=p?(X[0]=(+X[0]).toExponential(p).split("e")[0],V=p):(X[0]=X[0].split(".")[0]||0,T=20>V?(X[0]*Math.pow(10,X[1])).toFixed(V):0,X[1]=0)}p=(Math.abs(X[1]?X[0]:T)+Math.pow(10,-Math.max(V,B)-1)).toFixed(V),B=String(J(p));var O=3<B.length?B.length%3:0;return L=S(L,R.decimalPoint),c=S(c,R.thousandsSep),T=(0>T?"-":"")+(O?B.substr(0,O)+c:""),T=0>+X[1]&&!g?"0":T+B.substr(O).replace(/(\d{3})(?=\d)/g,"$1"+c),V&&(T+=L+p.slice(-V)),X[1]&&+T!=0&&(T+="e"+X[1]),T}var ee=m.defaultOptions,W=m.defaultTime,re=v.getNestedProperty,se=v.isNumber,S=v.pick,J=v.pInt;return{dateFormat:function(T,V,L){return W.dateFormat(T,V,L)},format:function(T,V,L){var c="{",R=!1,B=/f$/,X=/\.([0-9])/,g=ee.lang,p=L&&L.time||W;L=L&&L.numberFormatter||M;for(var O=[];T;){var I=T.indexOf(c);if(I===-1)break;var E=T.slice(0,I);if(R){if(E=E.split(":"),c=re(E.shift()||"",V),E.length&&typeof c=="number")if(E=E.join(":"),B.test(E)){var K=parseInt((E.match(X)||["","-1"])[1],10);c!==null&&(c=L(c,K,g.decimalPoint,-1<E.indexOf(",")?g.thousandsSep:""))}else c=p.dateFormat(E,c);O.push(c)}else O.push(E);T=T.slice(I+1),c=(R=!R)?"}":"{"}return O.push(T),O.join("")},numberFormat:M}}),l(u,"Core/Renderer/RendererUtilities.js",[u["Core/Utilities.js"]],function(m){var v=m.clamp,M=m.pick,ee=m.stableSort,W;return function(re){function se(S,J,T){var V=S,L=V.reducedLen||J,c=function(O,I){return(I.rank||0)-(O.rank||0)},R=function(O,I){return O.target-I.target},B,X=!0,g=[],p=0;for(B=S.length;B--;)p+=S[B].size;if(p>L){for(ee(S,c),p=B=0;p<=L;)p+=S[B].size,B++;g=S.splice(B-1,S.length)}for(ee(S,R),S=S.map(function(O){return{size:O.size,targets:[O.target],align:M(O.align,.5)}});X;){for(B=S.length;B--;)L=S[B],c=(Math.min.apply(0,L.targets)+Math.max.apply(0,L.targets))/2,L.pos=v(c-L.size*L.align,0,J-L.size);for(B=S.length,X=!1;B--;)0<B&&S[B-1].pos+S[B-1].size>S[B].pos&&(S[B-1].size+=S[B].size,S[B-1].targets=S[B-1].targets.concat(S[B].targets),S[B-1].align=.5,S[B-1].pos+S[B-1].size>J&&(S[B-1].pos=J-S[B-1].size),S.splice(B,1),X=!0)}return V.push.apply(V,g),B=0,S.some(function(O){var I=0;return(O.targets||[]).some(function(){return V[B].pos=O.pos+I,typeof T!="undefined"&&Math.abs(V[B].pos-V[B].target)>T?(V.slice(0,B+1).forEach(function(E){return delete E.pos}),V.reducedLen=(V.reducedLen||J)-.1*J,V.reducedLen>.1*J&&se(V,J,T),!0):(I+=V[B].size,B++,!1)})}),ee(V,R),V}re.distribute=se}(W||(W={})),W}),l(u,"Core/Renderer/SVG/SVGElement.js",[u["Core/Animation/AnimationUtilities.js"],u["Core/Renderer/HTML/AST.js"],u["Core/Color/Color.js"],u["Core/Globals.js"],u["Core/Utilities.js"]],function(m,v,M,ee,W){var re=m.animate,se=m.animObject,S=m.stop,J=ee.deg2rad,T=ee.doc,V=ee.noop,L=ee.svg,c=ee.SVG_NS,R=ee.win,B=W.addEvent,X=W.attr,g=W.createElement,p=W.css,O=W.defined,I=W.erase,E=W.extend,K=W.fireEvent,d=W.isArray,i=W.isFunction,x=W.isNumber,A=W.isString,w=W.merge,C=W.objectEach,U=W.pick,F=W.pInt,Y=W.syncTimeout,le=W.uniqueKey;return m=function(){function ie(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=c,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return ie.prototype._defaultGetter=function(j){return j=U(this[j+"Value"],this[j],this.element?this.element.getAttribute(j):null,0),/^[\-0-9\.]+$/.test(j)&&(j=parseFloat(j)),j},ie.prototype._defaultSetter=function(j,ue,P){P.setAttribute(ue,j)},ie.prototype.add=function(j){var ue=this.renderer,P=this.element;if(j&&(this.parentGroup=j),this.parentInverted=j&&j.inverted,typeof this.textStr!="undefined"&&this.element.nodeName==="text"&&ue.buildText(this),this.added=!0,!j||j.handleZ||this.zIndex)var Z=this.zIndexSetter();return Z||(j?j.element:ue.box).appendChild(P),this.onAdd&&this.onAdd(),this},ie.prototype.addClass=function(j,ue){var P=ue?"":this.attr("class")||"";return j=(j||"").split(/ /g).reduce(function(Z,ae){return P.indexOf(ae)===-1&&Z.push(ae),Z},P?[P]:[]).join(" "),j!==P&&this.attr("class",j),this},ie.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},ie.prototype.align=function(j,ue,P){var Z={},ae=this.renderer,ce=ae.alignedObjects,be,pe,h;j?(this.alignOptions=j,this.alignByTranslate=ue,(!P||A(P))&&(this.alignTo=be=P||"renderer",I(ce,this),ce.push(this),P=void 0)):(j=this.alignOptions,ue=this.alignByTranslate,be=this.alignTo),P=U(P,ae[be],be==="scrollablePlotBox"?ae.plotBox:void 0,ae),be=j.align;var te=j.verticalAlign;return ae=(P.x||0)+(j.x||0),ce=(P.y||0)+(j.y||0),be==="right"?pe=1:be==="center"&&(pe=2),pe&&(ae+=(P.width-(j.width||0))/pe),Z[ue?"translateX":"x"]=Math.round(ae),te==="bottom"?h=1:te==="middle"&&(h=2),h&&(ce+=(P.height-(j.height||0))/h),Z[ue?"translateY":"y"]=Math.round(ce),this[this.placed?"animate":"attr"](Z),this.placed=!0,this.alignAttr=Z,this},ie.prototype.alignSetter=function(j){var ue={left:"start",center:"middle",right:"end"};ue[j]&&(this.alignValue=j,this.element.setAttribute("text-anchor",ue[j]))},ie.prototype.animate=function(j,ue,P){var Z=this,ae=se(U(ue,this.renderer.globalAnimation,!0));return ue=ae.defer,U(T.hidden,T.msHidden,T.webkitHidden,!1)&&(ae.duration=0),ae.duration!==0?(P&&(ae.complete=P),Y(function(){Z.element&&re(Z,j,ae)},ue)):(this.attr(j,void 0,P),C(j,function(ce,be){ae.step&&ae.step.call(this,ce,{prop:be,pos:1,elem:this})},this)),this},ie.prototype.applyTextOutline=function(j){var ue=this.element;j.indexOf("contrast")!==-1&&(j=j.replace(/contrast/g,this.renderer.getContrast(ue.style.fill)));var P=j.split(" ");if(j=P[P.length-1],(P=P[0])&&P!=="none"&&ee.svg){this.fakeTS=!0,this.ySetter=this.xSetter,P=P.replace(/(^[\d\.]+)(.*?)$/g,function(ce,be,pe){return 2*Number(be)+pe}),this.removeTextOutline();var Z=T.createElementNS(c,"tspan");X(Z,{class:"highcharts-text-outline",fill:j,stroke:j,"stroke-width":P,"stroke-linejoin":"round"}),[].forEach.call(ue.childNodes,function(ce){var be=ce.cloneNode(!0);be.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(pe){return be.removeAttribute(pe)}),Z.appendChild(be)});var ae=T.createElementNS(c,"tspan");ae.textContent="\u200B",["x","y"].forEach(function(ce){var be=ue.getAttribute(ce);be&&ae.setAttribute(ce,be)}),Z.appendChild(ae),ue.insertBefore(Z,ue.firstChild)}},ie.prototype.attr=function(j,ue,P,Z){var ae=this.element,ce=this.symbolCustomAttribs,be,pe=this,h,te;if(typeof j=="string"&&typeof ue!="undefined"){var Q=j;j={},j[Q]=ue}return typeof j=="string"?pe=(this[j+"Getter"]||this._defaultGetter).call(this,j,ae):(C(j,function(we,Se){h=!1,Z||S(this,Se),this.symbolName&&ce.indexOf(Se)!==-1&&(be||(this.symbolAttr(j),be=!0),h=!0),!this.rotation||Se!=="x"&&Se!=="y"||(this.doTransform=!0),h||(te=this[Se+"Setter"]||this._defaultSetter,te.call(this,we,Se,ae),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(Se)&&this.updateShadows(Se,we,te))},this),this.afterSetters()),P&&P.call(this),pe},ie.prototype.clip=function(j){return this.attr("clip-path",j?"url("+this.renderer.url+"#"+j.id+")":"none")},ie.prototype.crisp=function(j,ue){ue=ue||j.strokeWidth||0;var P=Math.round(ue)%2/2;return j.x=Math.floor(j.x||this.x||0)+P,j.y=Math.floor(j.y||this.y||0)+P,j.width=Math.floor((j.width||this.width||0)-2*P),j.height=Math.floor((j.height||this.height||0)-2*P),O(j.strokeWidth)&&(j.strokeWidth=ue),j},ie.prototype.complexColor=function(j,ue,P){var Z=this.renderer,ae,ce,be,pe,h,te,Q,we,Se,Ne,ze=[],Je;K(this.renderer,"complexColor",{args:arguments},function(){if(j.radialGradient?ce="radialGradient":j.linearGradient&&(ce="linearGradient"),ce){if(be=j[ce],h=Z.gradients,te=j.stops,Se=P.radialReference,d(be)&&(j[ce]=be={x1:be[0],y1:be[1],x2:be[2],y2:be[3],gradientUnits:"userSpaceOnUse"}),ce==="radialGradient"&&Se&&!O(be.gradientUnits)&&(pe=be,be=w(be,Z.getRadialAttr(Se,pe),{gradientUnits:"userSpaceOnUse"})),C(be,function(Me,Fe){Fe!=="id"&&ze.push(Fe,Me)}),C(te,function(Me){ze.push(Me)}),ze=ze.join(","),h[ze])Ne=h[ze].attr("id");else{be.id=Ne=le();var qe=h[ze]=Z.createElement(ce).attr(be).add(Z.defs);qe.radAttr=pe,qe.stops=[],te.forEach(function(Me){Me[1].indexOf("rgba")===0?(ae=M.parse(Me[1]),Q=ae.get("rgb"),we=ae.get("a")):(Q=Me[1],we=1),Me=Z.createElement("stop").attr({offset:Me[0],"stop-color":Q,"stop-opacity":we}).add(qe),qe.stops.push(Me)})}Je="url("+Z.url+"#"+Ne+")",P.setAttribute(ue,Je),P.gradient=ze,j.toString=function(){return Je}}})},ie.prototype.css=function(j){var ue=this.styles,P={},Z=this.element,ae=["textOutline","textOverflow","width"],ce="",be=!ue;if(j&&j.color&&(j.fill=j.color),ue&&C(j,function(te,Q){ue&&ue[Q]!==te&&(P[Q]=te,be=!0)}),be){if(ue&&(j=E(ue,P)),j){if(j.width===null||j.width==="auto")delete this.textWidth;else if(Z.nodeName.toLowerCase()==="text"&&j.width)var pe=this.textWidth=F(j.width)}if(this.styles=j,pe&&!L&&this.renderer.forExport&&delete j.width,Z.namespaceURI===this.SVG_NS){var h=function(te,Q){return"-"+Q.toLowerCase()};C(j,function(te,Q){ae.indexOf(Q)===-1&&(ce+=Q.replace(/([A-Z])/g,h)+":"+te+";")}),ce&&X(Z,"style",ce)}else p(Z,j);this.added&&(this.element.nodeName==="text"&&this.renderer.buildText(this),j&&j.textOutline&&this.applyTextOutline(j.textOutline))}return this},ie.prototype.dashstyleSetter=function(j){var ue=this["stroke-width"];if(ue==="inherit"&&(ue=1),j=j&&j.toLowerCase()){var P=j.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(",");for(j=P.length;j--;)P[j]=""+F(P[j])*U(ue,NaN);j=P.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",j)}},ie.prototype.destroy=function(){var j=this,ue=j.element||{},P=j.renderer,Z=ue.ownerSVGElement,ae=P.isSVG&&ue.nodeName==="SPAN"&&j.parentGroup||void 0;if(ue.onclick=ue.onmouseout=ue.onmouseover=ue.onmousemove=ue.point=null,S(j),j.clipPath&&Z){var ce=j.clipPath;[].forEach.call(Z.querySelectorAll("[clip-path],[CLIP-PATH]"),function(be){-1<be.getAttribute("clip-path").indexOf(ce.element.id)&&be.removeAttribute("clip-path")}),j.clipPath=ce.destroy()}if(j.stops){for(Z=0;Z<j.stops.length;Z++)j.stops[Z].destroy();j.stops.length=0,j.stops=void 0}for(j.safeRemoveChild(ue),P.styledMode||j.destroyShadows();ae&&ae.div&&ae.div.childNodes.length===0;)ue=ae.parentGroup,j.safeRemoveChild(ae.div),delete ae.div,ae=ue;j.alignTo&&I(P.alignedObjects,j),C(j,function(be,pe){j[pe]&&j[pe].parentGroup===j&&j[pe].destroy&&j[pe].destroy(),delete j[pe]})},ie.prototype.destroyShadows=function(){(this.shadows||[]).forEach(function(j){this.safeRemoveChild(j)},this),this.shadows=void 0},ie.prototype.destroyTextPath=function(j,ue){var P=j.getElementsByTagName("text")[0];if(P){if(P.removeAttribute("dx"),P.removeAttribute("dy"),ue.element.setAttribute("id",""),this.textPathWrapper&&P.getElementsByTagName("textPath").length){for(j=this.textPathWrapper.element.childNodes;j.length;)P.appendChild(j[0]);P.removeChild(this.textPathWrapper.element)}}else(j.getAttribute("dx")||j.getAttribute("dy"))&&(j.removeAttribute("dx"),j.removeAttribute("dy"));this.textPathWrapper&&(this.textPathWrapper=this.textPathWrapper.destroy())},ie.prototype.dSetter=function(j,ue,P){d(j)&&(typeof j[0]=="string"&&(j=this.renderer.pathToSegments(j)),this.pathArray=j,j=j.reduce(function(Z,ae,ce){return ae&&ae.join?(ce?Z+" ":"")+ae.join(" "):(ae||"").toString()},"")),/(NaN| {2}|^$)/.test(j)&&(j="M 0 0"),this[ue]!==j&&(P.setAttribute(ue,j),this[ue]=j)},ie.prototype.fadeOut=function(j){var ue=this;ue.animate({opacity:0},{duration:U(j,150),complete:function(){ue.attr({y:-9999}).hide()}})},ie.prototype.fillSetter=function(j,ue,P){typeof j=="string"?P.setAttribute(ue,j):j&&this.complexColor(j,ue,P)},ie.prototype.getBBox=function(j,ue){var P=this.renderer,Z=this.element,ae=this.styles,ce=this.textStr,be=P.cache,pe=P.cacheKeys,h=Z.namespaceURI===this.SVG_NS;ue=U(ue,this.rotation,0);var te=P.styledMode?Z&&ie.prototype.getStyle.call(Z,"font-size"):ae&&ae.fontSize,Q;if(O(ce)){var we=ce.toString();we.indexOf("<")===-1&&(we=we.replace(/[0-9]/g,"0")),we+=["",ue,te,this.textWidth,ae&&ae.textOverflow,ae&&ae.fontWeight].join()}if(we&&!j&&(Q=be[we]),!Q){if(h||P.forExport){try{var Se=this.fakeTS&&function(Ne){var ze=Z.querySelector(".highcharts-text-outline");ze&&p(ze,{display:Ne})};i(Se)&&Se("none"),Q=Z.getBBox?E({},Z.getBBox()):{width:Z.offsetWidth,height:Z.offsetHeight},i(Se)&&Se("")}catch(Ne){}(!Q||0>Q.width)&&(Q={width:0,height:0})}else Q=this.htmlGetBBox();if(P.isSVG&&(j=Q.width,P=Q.height,h&&(Q.height=P={"11px,17":14,"13px,20":16}[(te||"")+","+Math.round(P)]||P),ue&&(h=ue*J,Q.width=Math.abs(P*Math.sin(h))+Math.abs(j*Math.cos(h)),Q.height=Math.abs(P*Math.cos(h))+Math.abs(j*Math.sin(h)))),we&&(ce===""||0<Q.height)){for(;250<pe.length;)delete be[pe.shift()];be[we]||pe.push(we),be[we]=Q}}return Q},ie.prototype.getStyle=function(j){return R.getComputedStyle(this.element||this,"").getPropertyValue(j)},ie.prototype.hasClass=function(j){return(""+this.attr("class")).split(" ").indexOf(j)!==-1},ie.prototype.hide=function(j){return j?this.attr({y:-9999}):this.attr({visibility:"hidden"}),this},ie.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}},ie.prototype.init=function(j,ue){this.element=ue==="span"?g(ue):T.createElementNS(this.SVG_NS,ue),this.renderer=j,K(this,"afterInit")},ie.prototype.invert=function(j){return this.inverted=j,this.updateTransform(),this},ie.prototype.on=function(j,ue){var P=this.onEvents;return P[j]&&P[j](),P[j]=B(this.element,j,ue),this},ie.prototype.opacitySetter=function(j,ue,P){this.opacity=j=Number(Number(j).toFixed(3)),P.setAttribute(ue,j)},ie.prototype.removeClass=function(j){return this.attr("class",(""+this.attr("class")).replace(A(j)?new RegExp("(^| )"+j+"( |$)"):j," ").replace(/ +/g," ").trim())},ie.prototype.removeTextOutline=function(){var j=this.element.querySelector("tspan.highcharts-text-outline");j&&this.safeRemoveChild(j)},ie.prototype.safeRemoveChild=function(j){var ue=j.parentNode;ue&&ue.removeChild(j)},ie.prototype.setRadialReference=function(j){var ue=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=j,ue&&ue.radAttr&&ue.animate(this.renderer.getRadialAttr(j,ue.radAttr)),this},ie.prototype.setTextPath=function(j,ue){var P=this.element,Z=this.text?this.text.element:P,ae={textAnchor:"text-anchor"},ce=!1,be=this.textPathWrapper,pe=!be;ue=w(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},ue);var h=v.filterUserAttributes(ue.attributes);if(j&&ue&&ue.enabled){be&&be.element.parentNode===null?(pe=!0,be=be.destroy()):be&&this.removeTextOutline.call(be.parentGroup),this.options&&this.options.padding&&(h.dx=-this.options.padding),be||(this.textPathWrapper=be=this.renderer.createElement("textPath"),ce=!0);var te=be.element;if((ue=j.element.getAttribute("id"))||j.element.setAttribute("id",ue=le()),pe)for(Z.setAttribute("y",0),x(h.dx)&&Z.setAttribute("x",-h.dx),j=[].slice.call(Z.childNodes),pe=0;pe<j.length;pe++){var Q=j[pe];Q.nodeType!==R.Node.TEXT_NODE&&Q.nodeName!=="tspan"||te.appendChild(Q)}ce&&be&&be.add({element:Z}),te.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+ue),O(h.dy)&&(te.parentNode.setAttribute("dy",h.dy),delete h.dy),O(h.dx)&&(te.parentNode.setAttribute("dx",h.dx),delete h.dx),C(h,function(we,Se){te.setAttribute(ae[Se]||Se,we)}),P.removeAttribute("transform"),this.removeTextOutline.call(be),this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0}),this.applyTextOutline=this.updateTransform=V}else be&&(delete this.updateTransform,delete this.applyTextOutline,this.destroyTextPath(P,j),this.updateTransform(),this.options&&this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this},ie.prototype.shadow=function(j,ue,P){var Z=[],ae=this.element,ce=this.oldShadowOptions,be={color:"#000000",offsetX:this.parentInverted?-1:1,offsetY:this.parentInverted?-1:1,opacity:.15,width:3},pe=!1,h;if(j===!0?h=be:typeof j=="object"&&(h=E(be,j)),h&&(h&&ce&&C(h,function(Ne,ze){Ne!==ce[ze]&&(pe=!0)}),pe&&this.destroyShadows(),this.oldShadowOptions=h),!h)this.destroyShadows();else if(!this.shadows){var te=h.opacity/h.width,Q=this.parentInverted?"translate("+h.offsetY+", "+h.offsetX+")":"translate("+h.offsetX+", "+h.offsetY+")";for(be=1;be<=h.width;be++){var we=ae.cloneNode(!1),Se=2*h.width+1-2*be;X(we,{stroke:j.color||"#000000","stroke-opacity":te*be,"stroke-width":Se,transform:Q,fill:"none"}),we.setAttribute("class",(we.getAttribute("class")||"")+" highcharts-shadow"),P&&(X(we,"height",Math.max(X(we,"height")-Se,0)),we.cutHeight=Se),ue?ue.element.appendChild(we):ae.parentNode&&ae.parentNode.insertBefore(we,ae),Z.push(we)}this.shadows=Z}return this},ie.prototype.show=function(j){return this.attr({visibility:j?"inherit":"visible"})},ie.prototype.strokeSetter=function(j,ue,P){this[ue]=j,this.stroke&&this["stroke-width"]?(ie.prototype.fillSetter.call(this,this.stroke,"stroke",P),P.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):ue==="stroke-width"&&j===0&&this.hasStroke?(P.removeAttribute("stroke"),this.hasStroke=!1):this.renderer.styledMode&&this["stroke-width"]&&(P.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0)},ie.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var j=this.getStyle("stroke-width"),ue=0;if(j.indexOf("px")===j.length-2)ue=F(j);else if(j!==""){var P=T.createElementNS(c,"rect");X(P,{width:j,"stroke-width":0}),this.element.parentNode.appendChild(P),ue=P.getBBox().width,P.parentNode.removeChild(P)}return ue},ie.prototype.symbolAttr=function(j){var ue=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach(function(P){ue[P]=U(j[P],ue[P])}),ue.attr({d:ue.renderer.symbols[ue.symbolName](ue.x,ue.y,ue.width,ue.height,ue)})},ie.prototype.textSetter=function(j){j!==this.textStr&&(delete this.textPxLength,this.textStr=j,this.added&&this.renderer.buildText(this))},ie.prototype.titleSetter=function(j){var ue=this.element,P=ue.getElementsByTagName("title")[0]||T.createElementNS(this.SVG_NS,"title");ue.insertBefore?ue.insertBefore(P,ue.firstChild):ue.appendChild(P),P.textContent=String(U(j,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,">")},ie.prototype.toFront=function(){var j=this.element;return j.parentNode.appendChild(j),this},ie.prototype.translate=function(j,ue){return this.attr({translateX:j,translateY:ue})},ie.prototype.updateShadows=function(j,ue,P){var Z=this.shadows;if(Z)for(var ae=Z.length;ae--;)P.call(Z[ae],j==="height"?Math.max(ue-(Z[ae].cutHeight||0),0):j==="d"?this.d:ue,j,Z[ae])},ie.prototype.updateTransform=function(){var j=this.scaleX,ue=this.scaleY,P=this.inverted,Z=this.rotation,ae=this.matrix,ce=this.element,be=this.translateX||0,pe=this.translateY||0;P&&(be+=this.width,pe+=this.height),be=["translate("+be+","+pe+")"],O(ae)&&be.push("matrix("+ae.join(",")+")"),P?be.push("rotate(90) scale(-1,1)"):Z&&be.push("rotate("+Z+" "+U(this.rotationOriginX,ce.getAttribute("x"),0)+" "+U(this.rotationOriginY,ce.getAttribute("y")||0)+")"),(O(j)||O(ue))&&be.push("scale("+U(j,1)+" "+U(ue,1)+")"),be.length&&ce.setAttribute("transform",be.join(" "))},ie.prototype.visibilitySetter=function(j,ue,P){j==="inherit"?P.removeAttribute(ue):this[ue]!==j&&P.setAttribute(ue,j),this[ue]=j},ie.prototype.xGetter=function(j){return this.element.nodeName==="circle"&&(j==="x"?j="cx":j==="y"&&(j="cy")),this._defaultGetter(j)},ie.prototype.zIndexSetter=function(j,ue){var P=this.renderer,Z=this.parentGroup,ae=(Z||P).element||P.box,ce=this.element;P=ae===P.box;var be=!1,pe=this.added,h;if(O(j)?(ce.setAttribute("data-z-index",j),j=+j,this[ue]===j&&(pe=!1)):O(this[ue])&&ce.removeAttribute("data-z-index"),this[ue]=j,pe){for((j=this.zIndex)&&Z&&(Z.handleZ=!0),ue=ae.childNodes,h=ue.length-1;0<=h&&!be;h--){Z=ue[h],pe=Z.getAttribute("data-z-index");var te=!O(pe);Z!==ce&&(0>j&&te&&!P&&!h?(ae.insertBefore(ce,ue[h]),be=!0):(F(pe)<=j||te&&(!O(j)||0<=j))&&(ae.insertBefore(ce,ue[h+1]||null),be=!0))}be||(ae.insertBefore(ce,ue[P?3:0]||null),be=!0)}return be},ie}(),m.prototype["stroke-widthSetter"]=m.prototype.strokeSetter,m.prototype.yGetter=m.prototype.xGetter,m.prototype.matrixSetter=m.prototype.rotationOriginXSetter=m.prototype.rotationOriginYSetter=m.prototype.rotationSetter=m.prototype.scaleXSetter=m.prototype.scaleYSetter=m.prototype.translateXSetter=m.prototype.translateYSetter=m.prototype.verticalAlignSetter=function(ie,j){this[j]=ie,this.doTransform=!0},m}),l(u,"Core/Renderer/RendererRegistry.js",[u["Core/Globals.js"]],function(m){var v;return function(M){M.rendererTypes={};var ee;M.getRendererType=function(W){return W===void 0&&(W=ee),M.rendererTypes[W]||M.rendererTypes[ee]},M.registerRendererType=function(W,re,se){M.rendererTypes[W]=re,(!ee||se)&&(ee=W,m.Renderer=re)}}(v||(v={})),v}),l(u,"Core/Renderer/SVG/SVGLabel.js",[u["Core/Renderer/SVG/SVGElement.js"],u["Core/Utilities.js"]],function(m,v){var M=this&&this.__extends||function(){var T=function(V,L){return T=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,R){c.__proto__=R}||function(c,R){for(var B in R)R.hasOwnProperty(B)&&(c[B]=R[B])},T(V,L)};return function(V,L){function c(){this.constructor=V}T(V,L),V.prototype=L===null?Object.create(L):(c.prototype=L.prototype,new c)}}(),ee=v.defined,W=v.extend,re=v.isNumber,se=v.merge,S=v.pick,J=v.removeEvent;return function(T){function V(L,c,R,B,X,g,p,O,I,E){var K=T.call(this)||this;K.paddingLeftSetter=K.paddingSetter,K.paddingRightSetter=K.paddingSetter,K.init(L,"g"),K.textStr=c,K.x=R,K.y=B,K.anchorX=g,K.anchorY=p,K.baseline=I,K.className=E,K.addClass(E==="button"?"highcharts-no-tooltip":"highcharts-label"),E&&K.addClass("highcharts-"+E),K.text=L.text(void 0,0,0,O).attr({zIndex:1});var d;return typeof X=="string"&&((d=/^url\((.*?)\)$/.test(X))||K.renderer.symbols[X])&&(K.symbolKey=X),K.bBox=V.emptyBBox,K.padding=3,K.baselineOffset=0,K.needsBox=L.styledMode||d,K.deferredAttr={},K.alignFactor=0,K}return M(V,T),V.prototype.alignSetter=function(L){L={left:0,center:.5,right:1}[L],L!==this.alignFactor&&(this.alignFactor=L,this.bBox&&re(this.xSetting)&&this.attr({x:this.xSetting}))},V.prototype.anchorXSetter=function(L,c){this.anchorX=L,this.boxAttr(c,Math.round(L)-this.getCrispAdjust()-this.xSetting)},V.prototype.anchorYSetter=function(L,c){this.anchorY=L,this.boxAttr(c,L-this.ySetting)},V.prototype.boxAttr=function(L,c){this.box?this.box.attr(L,c):this.deferredAttr[L]=c},V.prototype.css=function(L){if(L){var c={};L=se(L),V.textProps.forEach(function(B){typeof L[B]!="undefined"&&(c[B]=L[B],delete L[B])}),this.text.css(c);var R="width"in c;"fontSize"in c||"fontWeight"in c?this.updateTextPadding():R&&this.updateBoxSize()}return m.prototype.css.call(this,L)},V.prototype.destroy=function(){J(this.element,"mouseenter"),J(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),m.prototype.destroy.call(this)},V.prototype.fillSetter=function(L,c){L&&(this.needsBox=!0),this.fill=L,this.boxAttr(c,L)},V.prototype.getBBox=function(){this.textStr&&this.bBox.width===0&&this.bBox.height===0&&this.updateBoxSize();var L=this.padding,c=S(this.paddingLeft,L);return{width:this.width,height:this.height,x:this.bBox.x-c,y:this.bBox.y-L}},V.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},V.prototype.heightSetter=function(L){this.heightSetting=L},V.prototype.onAdd=function(){var L=this.textStr;this.text.add(this),this.attr({text:ee(L)?L:"",x:this.x,y:this.y}),this.box&&ee(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},V.prototype.paddingSetter=function(L,c){re(L)?L!==this[c]&&(this[c]=L,this.updateTextPadding()):this[c]=void 0},V.prototype.rSetter=function(L,c){this.boxAttr(c,L)},V.prototype.shadow=function(L){return L&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(L)),this},V.prototype.strokeSetter=function(L,c){this.stroke=L,this.boxAttr(c,L)},V.prototype["stroke-widthSetter"]=function(L,c){L&&(this.needsBox=!0),this["stroke-width"]=L,this.boxAttr(c,L)},V.prototype["text-alignSetter"]=function(L){this.textAlign=L},V.prototype.textSetter=function(L){typeof L!="undefined"&&this.text.attr({text:L}),this.updateTextPadding()},V.prototype.updateBoxSize=function(){var L=this.text.element.style,c={},R=this.padding,B=this.bBox=re(this.widthSetting)&&re(this.heightSetting)&&!this.textAlign||!ee(this.text.textStr)?V.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||B.height||0)+2*R,L=this.renderer.fontMetrics(L&&L.fontSize,this.text),this.baselineOffset=R+Math.min((this.text.firstLineMetrics||L).b,B.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-L.h)/2),this.needsBox&&(this.box||(R=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect(),R.addClass((this.className==="button"?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),R.add(this)),R=this.getCrispAdjust(),c.x=R,c.y=(this.baseline?-this.baselineOffset:0)+R,c.width=Math.round(this.width),c.height=Math.round(this.height),this.box.attr(W(c,this.deferredAttr)),this.deferredAttr={})},V.prototype.updateTextPadding=function(){var L=this.text;this.updateBoxSize();var c=this.baseline?0:this.baselineOffset,R=S(this.paddingLeft,this.padding);ee(this.widthSetting)&&this.bBox&&(this.textAlign==="center"||this.textAlign==="right")&&(R+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),(R!==L.x||c!==L.y)&&(L.attr("x",R),L.hasBoxWidthChanged&&(this.bBox=L.getBBox(!0)),typeof c!="undefined"&&L.attr("y",c)),L.x=R,L.y=c},V.prototype.widthSetter=function(L){this.widthSetting=re(L)?L:void 0},V.prototype.getPaddedWidth=function(){var L=this.padding,c=S(this.paddingLeft,L);return L=S(this.paddingRight,L),(this.widthSetting||this.bBox.width||0)+c+L},V.prototype.xSetter=function(L){this.x=L,this.alignFactor&&(L-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(L),this.attr("translateX",this.xSetting)},V.prototype.ySetter=function(L){this.ySetting=this.y=Math.round(L),this.attr("translateY",this.ySetting)},V.emptyBBox={width:0,height:0,x:0,y:0},V.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),V}(m)}),l(u,"Core/Renderer/SVG/Symbols.js",[u["Core/Utilities.js"]],function(m){function v(S,J,T,V,L){var c=[];if(L){var R=L.start||0,B=se(L.r,T);T=se(L.r,V||T);var X=(L.end||0)-.001;V=L.innerR;var g=se(L.open,.001>Math.abs((L.end||0)-R-2*Math.PI)),p=Math.cos(R),O=Math.sin(R),I=Math.cos(X),E=Math.sin(X);R=se(L.longArc,.001>X-R-Math.PI?0:1),c.push(["M",S+B*p,J+T*O],["A",B,T,0,R,se(L.clockwise,1),S+B*I,J+T*E]),W(V)&&c.push(g?["M",S+V*I,J+V*E]:["L",S+V*I,J+V*E],["A",V,V,0,R,W(L.clockwise)?1-L.clockwise:0,S+V*p,J+V*O]),g||c.push(["Z"])}return c}function M(S,J,T,V,L){return L&&L.r?ee(S,J,T,V,L):[["M",S,J],["L",S+T,J],["L",S+T,J+V],["L",S,J+V],["Z"]]}function ee(S,J,T,V,L){return L=L&&L.r||0,[["M",S+L,J],["L",S+T-L,J],["C",S+T,J,S+T,J,S+T,J+L],["L",S+T,J+V-L],["C",S+T,J+V,S+T,J+V,S+T-L,J+V],["L",S+L,J+V],["C",S,J+V,S,J+V,S,J+V-L],["L",S,J+L],["C",S,J,S,J,S+L,J]]}var W=m.defined,re=m.isNumber,se=m.pick;return{arc:v,callout:function(S,J,T,V,L){var c=Math.min(L&&L.r||0,T,V),R=c+6,B=L&&L.anchorX;L=L&&L.anchorY||0;var X=ee(S,J,T,V,{r:c});return re(B)&&(S+B>=T?L>J+R&&L<J+V-R?X.splice(3,1,["L",S+T,L-6],["L",S+T+6,L],["L",S+T,L+6],["L",S+T,J+V-c]):X.splice(3,1,["L",S+T,V/2],["L",B,L],["L",S+T,V/2],["L",S+T,J+V-c]):0>=S+B?L>J+R&&L<J+V-R?X.splice(7,1,["L",S,L+6],["L",S-6,L],["L",S,L-6],["L",S,J+c]):X.splice(7,1,["L",S,V/2],["L",B,L],["L",S,V/2],["L",S,J+c]):L&&L>V&&B>S+R&&B<S+T-R?X.splice(5,1,["L",B+6,J+V],["L",B,J+V+6],["L",B-6,J+V],["L",S+c,J+V]):L&&0>L&&B>S+R&&B<S+T-R&&X.splice(1,1,["L",B-6,J],["L",B,J-6],["L",B+6,J],["L",T-c,J])),X},circle:function(S,J,T,V){return v(S+T/2,J+V/2,T/2,V/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(S,J,T,V){return[["M",S+T/2,J],["L",S+T,J+V/2],["L",S+T/2,J+V],["L",S,J+V/2],["Z"]]},rect:M,roundedRect:ee,square:M,triangle:function(S,J,T,V){return[["M",S+T/2,J],["L",S+T,J+V],["L",S,J+V],["Z"]]},"triangle-down":function(S,J,T,V){return[["M",S,J],["L",S+T,J],["L",S+T/2,J+V],["Z"]]}}}),l(u,"Core/Renderer/SVG/TextBuilder.js",[u["Core/Renderer/HTML/AST.js"],u["Core/Globals.js"],u["Core/Utilities.js"]],function(m,v,M){var ee=v.doc,W=v.SVG_NS,re=v.win,se=M.attr,S=M.isString,J=M.objectEach,T=M.pick;return function(){function V(L){var c=L.styles;this.renderer=L.renderer,this.svgElement=L,this.width=L.textWidth,this.textLineHeight=c&&c.lineHeight,this.textOutline=c&&c.textOutline,this.ellipsis=!(!c||c.textOverflow!=="ellipsis"),this.noWrap=!(!c||c.whiteSpace!=="nowrap"),this.fontSize=c&&c.fontSize}return V.prototype.buildSVG=function(){var L=this.svgElement,c=L.element,R=L.renderer,B=T(L.textStr,"").toString(),X=B.indexOf("<")!==-1,g=c.childNodes;R=this.width&&!L.added&&R.box;var p=/<br.*?>/g,O=[B,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(O!==L.textCache){for(L.textCache=O,delete L.actualWidth,O=g.length;O--;)c.removeChild(g[O]);X||this.ellipsis||this.width||B.indexOf(" ")!==-1&&(!this.noWrap||p.test(B))?B!==""&&(R&&R.appendChild(c),B=new m(B),this.modifyTree(B.nodes),B.addToDOM(L.element),this.modifyDOM(),this.ellipsis&&(c.textContent||"").indexOf("\u2026")!==-1&&L.attr("title",this.unescapeEntities(L.textStr||"",["&lt;","&gt;"])),R&&R.removeChild(c)):c.appendChild(ee.createTextNode(this.unescapeEntities(B))),S(this.textOutline)&&L.applyTextOutline&&L.applyTextOutline(this.textOutline)}},V.prototype.modifyDOM=function(){var L=this,c=this.svgElement,R=se(c.element,"x");c.firstLineMetrics=void 0;for(var B;(B=c.element.firstChild)&&/^[\s\u200B]*$/.test(B.textContent||" ");)c.element.removeChild(B);[].forEach.call(c.element.querySelectorAll("tspan.highcharts-br"),function(O,I){O.nextSibling&&O.previousSibling&&(I===0&&O.previousSibling.nodeType===1&&(c.firstLineMetrics=c.renderer.fontMetrics(void 0,O.previousSibling)),se(O,{dy:L.getLineHeight(O.nextSibling),x:R}))});var X=this.width||0;if(X){var g=function(O,I){var E=O.textContent||"",K=E.replace(/([^\^])-/g,"$1- ").split(" "),d=!L.noWrap&&(1<K.length||1<c.element.childNodes.length),i=L.getLineHeight(I),x=0,A=c.actualWidth;if(L.ellipsis)E&&L.truncate(O,E,void 0,0,Math.max(0,X-parseInt(L.fontSize||12,10)),function(w,C){return w.substring(0,C)+"\u2026"});else if(d){for(E=[],d=[];I.firstChild&&I.firstChild!==O;)d.push(I.firstChild),I.removeChild(I.firstChild);for(;K.length;)K.length&&!L.noWrap&&0<x&&(E.push(O.textContent||""),O.textContent=K.join(" ").replace(/- /g,"-")),L.truncate(O,void 0,K,x===0&&A||0,X,function(w,C){return K.slice(0,C).join(" ").replace(/- /g,"-")}),A=c.actualWidth,x++;d.forEach(function(w){I.insertBefore(w,O)}),E.forEach(function(w){I.insertBefore(ee.createTextNode(w),O),w=ee.createElementNS(W,"tspan"),w.textContent="\u200B",se(w,{dy:i,x:R}),I.insertBefore(w,O)})}},p=function(O){[].slice.call(O.childNodes).forEach(function(I){I.nodeType===re.Node.TEXT_NODE?g(I,O):(I.className.baseVal.indexOf("highcharts-br")!==-1&&(c.actualWidth=0),p(I))})};p(c.element)}},V.prototype.getLineHeight=function(L){var c;return L=L.nodeType===re.Node.TEXT_NODE?L.parentElement:L,this.renderer.styledMode||(c=L&&/(px|em)$/.test(L.style.fontSize)?L.style.fontSize:this.fontSize||this.renderer.style.fontSize||12),this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(c,L||this.svgElement.element).h},V.prototype.modifyTree=function(L){var c=this,R=function(B,X){var g=B.attributes;g=g===void 0?{}:g;var p=B.children,O=B.tagName,I=c.renderer.styledMode;O==="b"||O==="strong"?I?g.class="highcharts-strong":g.style="font-weight:bold;"+(g.style||""):(O==="i"||O==="em")&&(I?g.class="highcharts-emphasized":g.style="font-style:italic;"+(g.style||"")),S(g.style)&&(g.style=g.style.replace(/(;| |^)color([ :])/,"$1fill$2")),O==="br"?(g.class="highcharts-br",B.textContent="\u200B",(X=L[X+1])&&X.textContent&&(X.textContent=X.textContent.replace(/^ +/gm,""))):O==="a"&&p&&p.some(function(E){return E.tagName==="#text"})&&(B.children=[{children:p,tagName:"tspan"}]),O!=="#text"&&O!=="a"&&(B.tagName="tspan"),B.attributes=g,p&&p.filter(function(E){return E.tagName!=="#text"}).forEach(R)};L.forEach(R)},V.prototype.truncate=function(L,c,R,B,X,g){var p=this.svgElement,O=p.renderer,I=p.rotation,E=[],K=R?1:0,d=(c||R||"").length,i=d,x,A=function(C,U){U=U||C;var F=L.parentNode;if(F&&typeof E[U]=="undefined")if(F.getSubStringLength)try{E[U]=B+F.getSubStringLength(0,R?U+1:U)}catch(Y){}else O.getSpanWidth&&(L.textContent=g(c||R,C),E[U]=B+O.getSpanWidth(p,L));return E[U]};p.rotation=0;var w=A(L.textContent.length);if(B+w>X){for(;K<=d;)i=Math.ceil((K+d)/2),R&&(x=g(R,i)),w=A(i,x&&x.length-1),K===d?K=d+1:w>X?d=i-1:K=i;d===0?L.textContent="":c&&d===c.length-1||(L.textContent=x||g(c||R,i))}R&&R.splice(0,i),p.actualWidth=w,p.rotation=I},V.prototype.unescapeEntities=function(L,c){return J(this.renderer.escapes,function(R,B){c&&c.indexOf(R)!==-1||(L=L.toString().replace(new RegExp(R,"g"),B))}),L},V}()}),l(u,"Core/Renderer/SVG/SVGRenderer.js",[u["Core/Renderer/HTML/AST.js"],u["Core/Color/Color.js"],u["Core/Globals.js"],u["Core/Renderer/RendererRegistry.js"],u["Core/Renderer/SVG/SVGElement.js"],u["Core/Renderer/SVG/SVGLabel.js"],u["Core/Renderer/SVG/Symbols.js"],u["Core/Renderer/SVG/TextBuilder.js"],u["Core/Utilities.js"]],function(m,v,M,ee,W,re,se,S,J){var T=M.charts,V=M.deg2rad,L=M.doc,c=M.isFirefox,R=M.isMS,B=M.isWebKit,X=M.noop,g=M.SVG_NS,p=M.symbolSizes,O=M.win,I=J.addEvent,E=J.attr,K=J.createElement,d=J.css,i=J.defined,x=J.destroyObjectProperties,A=J.extend,w=J.isArray,C=J.isNumber,U=J.isObject,F=J.isString,Y=J.merge,le=J.pick,ie=J.pInt,j=J.uniqueKey,ue;return M=function(){function P(Z,ae,ce,be,pe,h,te){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0,this.init(Z,ae,ce,be,pe,h,te)}return P.prototype.init=function(Z,ae,ce,be,pe,h,te){var Q=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),we=Q.element;te||Q.css(this.getStyle(be)),Z.appendChild(we),E(Z,"dir","ltr"),Z.innerHTML.indexOf("xmlns")===-1&&E(we,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=we,this.boxWrapper=Q,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(L.createTextNode("Created with Highcharts 9.3.3")),this.defs=this.createElement("defs").add(),this.allowHTML=h,this.forExport=pe,this.styledMode=te,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(ae,ce,!1);var Se;c&&Z.getBoundingClientRect&&(ae=function(){d(Z,{left:0,top:0}),Se=Z.getBoundingClientRect(),d(Z,{left:Math.ceil(Se.left)-Se.left+"px",top:Math.ceil(Se.top)-Se.top+"px"})},ae(),this.unSubPixelFix=I(O,"resize",ae))},P.prototype.definition=function(Z){return new m([Z]).addToDOM(this.defs.element)},P.prototype.getReferenceURL=function(){if((c||B)&&L.getElementsByTagName("base").length){if(!i(ue)){var Z=j();Z=new m([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:Z},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+Z+")",fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(L.body),d(Z,{position:"fixed",top:0,left:0,zIndex:9e5});var ae=L.elementFromPoint(6,6);ue=(ae&&ae.id)==="hitme",L.body.removeChild(Z)}if(ue)return O.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},P.prototype.getStyle=function(Z){return this.style=A({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},Z)},P.prototype.setStyle=function(Z){this.boxWrapper.css(this.getStyle(Z))},P.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},P.prototype.destroy=function(){var Z=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),x(this.gradients||{}),this.gradients=null,Z&&(this.defs=Z.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},P.prototype.createElement=function(Z){var ae=new this.Element;return ae.init(this,Z),ae},P.prototype.getRadialAttr=function(Z,ae){return{cx:Z[0]-Z[2]/2+(ae.cx||0)*Z[2],cy:Z[1]-Z[2]/2+(ae.cy||0)*Z[2],r:(ae.r||0)*Z[2]}},P.prototype.buildText=function(Z){new S(Z).buildSVG()},P.prototype.getContrast=function(Z){return Z=v.parse(Z).rgba,Z[0]*=1,Z[1]*=1.2,Z[2]*=.5,459<Z[0]+Z[1]+Z[2]?"#000000":"#FFFFFF"},P.prototype.button=function(Z,ae,ce,be,pe,h,te,Q,we,Se){var Ne=this.label(Z,ae,ce,we,void 0,void 0,Se,void 0,"button"),ze=this.styledMode,Je=0,qe=pe?Y(pe):{};if(Z=qe&&qe.style||{},qe=m.filterUserAttributes(qe),Ne.attr(Y({padding:8,r:2},qe)),!ze){qe=Y({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontWeight:"normal"}},{style:Z},qe);var Me=qe.style;delete qe.style,h=Y(qe,{fill:"#e6e6e6"},m.filterUserAttributes(h||{}));var Fe=h.style;delete h.style,te=Y(qe,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},m.filterUserAttributes(te||{}));var Ue=te.style;delete te.style,Q=Y(qe,{style:{color:"#cccccc"}},m.filterUserAttributes(Q||{}));var he=Q.style;delete Q.style}return I(Ne.element,R?"mouseover":"mouseenter",function(){Je!==3&&Ne.setState(1)}),I(Ne.element,R?"mouseout":"mouseleave",function(){Je!==3&&Ne.setState(Je)}),Ne.setState=function(xe){xe!==1&&(Ne.state=Je=xe),Ne.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][xe||0]),ze||Ne.attr([qe,h,te,Q][xe||0]).css([Me,Fe,Ue,he][xe||0])},ze||Ne.attr(qe).css(A({cursor:"default"},Me)),Ne.on("touchstart",function(xe){return xe.stopPropagation()}).on("click",function(xe){Je!==3&&be.call(Ne,xe)})},P.prototype.crispLine=function(Z,ae,ce){ce===void 0&&(ce="round");var be=Z[0],pe=Z[1];return i(be[1])&&be[1]===pe[1]&&(be[1]=pe[1]=Math[ce](be[1])-ae%2/2),i(be[2])&&be[2]===pe[2]&&(be[2]=pe[2]=Math[ce](be[2])+ae%2/2),Z},P.prototype.path=function(Z){var ae=this.styledMode?{}:{fill:"none"};return w(Z)?ae.d=Z:U(Z)&&A(ae,Z),this.createElement("path").attr(ae)},P.prototype.circle=function(Z,ae,ce){return Z=U(Z)?Z:typeof Z=="undefined"?{}:{x:Z,y:ae,r:ce},ae=this.createElement("circle"),ae.xSetter=ae.ySetter=function(be,pe,h){h.setAttribute("c"+pe,be)},ae.attr(Z)},P.prototype.arc=function(Z,ae,ce,be,pe,h){return U(Z)?(be=Z,ae=be.y,ce=be.r,Z=be.x):be={innerR:be,start:pe,end:h},Z=this.symbol("arc",Z,ae,ce,ce,be),Z.r=ce,Z},P.prototype.rect=function(Z,ae,ce,be,pe,h){pe=U(Z)?Z.r:pe;var te=this.createElement("rect");return Z=U(Z)?Z:typeof Z=="undefined"?{}:{x:Z,y:ae,width:Math.max(ce,0),height:Math.max(be,0)},this.styledMode||(typeof h!="undefined"&&(Z["stroke-width"]=h,Z=te.crisp(Z)),Z.fill="none"),pe&&(Z.r=pe),te.rSetter=function(Q,we,Se){te.r=Q,E(Se,{rx:Q,ry:Q})},te.rGetter=function(){return te.r||0},te.attr(Z)},P.prototype.setSize=function(Z,ae,ce){this.width=Z,this.height=ae,this.boxWrapper.animate({width:Z,height:ae},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:le(ce,!0)?void 0:0}),this.alignElements()},P.prototype.g=function(Z){var ae=this.createElement("g");return Z?ae.attr({class:"highcharts-"+Z}):ae},P.prototype.image=function(Z,ae,ce,be,pe,h){var te={preserveAspectRatio:"none"},Q=function(Se,Ne){Se.setAttributeNS?Se.setAttributeNS("http://www.w3.org/1999/xlink","href",Ne):Se.setAttribute("hc-svg-href",Ne)};C(ae)&&(te.x=ae),C(ce)&&(te.y=ce),C(be)&&(te.width=be),C(pe)&&(te.height=pe);var we=this.createElement("image").attr(te);return ae=function(Se){Q(we.element,Z),h.call(we,Se)},h?(Q(we.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),ce=new O.Image,I(ce,"load",ae),ce.src=Z,ce.complete&&ae({})):Q(we.element,Z),we},P.prototype.symbol=function(Z,ae,ce,be,pe,h){var te=this,Q=/^url\((.*?)\)$/,we=Q.test(Z),Se=!we&&(this.symbols[Z]?Z:"circle"),Ne=Se&&this.symbols[Se],ze;if(Ne){typeof ae=="number"&&(ze=Ne.call(this.symbols,Math.round(ae||0),Math.round(ce||0),be||0,pe||0,h));var Je=this.path(ze);te.styledMode||Je.attr("fill","none"),A(Je,{symbolName:Se||void 0,x:ae,y:ce,width:be,height:pe}),h&&A(Je,h)}else if(we){var qe=Z.match(Q)[1],Me=Je=this.image(qe);Me.imgwidth=le(p[qe]&&p[qe].width,h&&h.width),Me.imgheight=le(p[qe]&&p[qe].height,h&&h.height);var Fe=function(Ue){return Ue.attr({width:Ue.width,height:Ue.height})};["width","height"].forEach(function(Ue){Me[Ue+"Setter"]=function(he,xe){var q=this["img"+xe];this[xe]=he,i(q)&&(h&&h.backgroundSize==="within"&&this.width&&this.height&&(q=Math.round(q*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(xe,q),this.alignByTranslate||(he=((this[xe]||0)-q)/2,this.attr(xe==="width"?{translateX:he}:{translateY:he})))}}),i(ae)&&Me.attr({x:ae,y:ce}),Me.isImg=!0,i(Me.imgwidth)&&i(Me.imgheight)?Fe(Me):(Me.attr({width:0,height:0}),K("img",{onload:function(){var Ue=T[te.chartIndex];this.width===0&&(d(this,{position:"absolute",top:"-999em"}),L.body.appendChild(this)),p[qe]={width:this.width,height:this.height},Me.imgwidth=this.width,Me.imgheight=this.height,Me.element&&Fe(Me),this.parentNode&&this.parentNode.removeChild(this),te.imgCount--,!te.imgCount&&Ue&&!Ue.hasLoaded&&Ue.onload()},src:qe}),this.imgCount++)}return Je},P.prototype.clipRect=function(Z,ae,ce,be){var pe=j()+"-",h=this.createElement("clipPath").attr({id:pe}).add(this.defs);return Z=this.rect(Z,ae,ce,be,0).add(h),Z.id=pe,Z.clipPath=h,Z.count=0,Z},P.prototype.text=function(Z,ae,ce,be){var pe={};return be&&(this.allowHTML||!this.forExport)?this.html(Z,ae,ce):(pe.x=Math.round(ae||0),ce&&(pe.y=Math.round(ce)),i(Z)&&(pe.text=Z),Z=this.createElement("text").attr(pe),(!be||this.forExport&&!this.allowHTML)&&(Z.xSetter=function(h,te,Q){for(var we=Q.getElementsByTagName("tspan"),Se=Q.getAttribute(te),Ne=0,ze;Ne<we.length;Ne++)ze=we[Ne],ze.getAttribute(te)===Se&&ze.setAttribute(te,h);Q.setAttribute(te,h)}),Z)},P.prototype.fontMetrics=function(Z,ae){return Z=!this.styledMode&&/px/.test(Z)||!O.getComputedStyle?Z||ae&&ae.style&&ae.style.fontSize||this.style&&this.style.fontSize:ae&&W.prototype.getStyle.call(ae,"font-size"),Z=/px/.test(Z)?ie(Z):12,ae=24>Z?Z+3:Math.round(1.2*Z),{h:ae,b:Math.round(.8*ae),f:Z}},P.prototype.rotCorr=function(Z,ae,ce){var be=Z;return ae&&ce&&(be=Math.max(be*Math.cos(ae*V),4)),{x:-Z/3*Math.sin(ae*V),y:be}},P.prototype.pathToSegments=function(Z){for(var ae=[],ce=[],be={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},pe=0;pe<Z.length;pe++)F(ce[0])&&C(Z[pe])&&ce.length===be[ce[0].toUpperCase()]&&Z.splice(pe,0,ce[0].replace("M","L").replace("m","l")),typeof Z[pe]=="string"&&(ce.length&&ae.push(ce.slice(0)),ce.length=0),ce.push(Z[pe]);return ae.push(ce.slice(0)),ae},P.prototype.label=function(Z,ae,ce,be,pe,h,te,Q,we){return new re(this,Z,ae,ce,be,pe,h,te,Q,we)},P.prototype.alignElements=function(){this.alignedObjects.forEach(function(Z){return Z.align()})},P}(),A(M.prototype,{Element:W,SVG_NS:g,escapes:{"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},symbols:se,draw:X}),ee.registerRendererType("svg",M,!0),M}),l(u,"Core/Renderer/HTML/HTMLElement.js",[u["Core/Globals.js"],u["Core/Renderer/SVG/SVGElement.js"],u["Core/Utilities.js"]],function(m,v,M){var ee=this&&this.__extends||function(){var R=function(B,X){return R=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,p){g.__proto__=p}||function(g,p){for(var O in p)p.hasOwnProperty(O)&&(g[O]=p[O])},R(B,X)};return function(B,X){function g(){this.constructor=B}R(B,X),B.prototype=X===null?Object.create(X):(g.prototype=X.prototype,new g)}}(),W=m.isFirefox,re=m.isMS,se=m.isWebKit,S=m.win,J=M.css,T=M.defined,V=M.extend,L=M.pick,c=M.pInt;return function(R){function B(){return R!==null&&R.apply(this,arguments)||this}return ee(B,R),B.compose=function(X){if(B.composedClasses.indexOf(X)===-1){B.composedClasses.push(X);var g=B.prototype,p=X.prototype;p.getSpanCorrection=g.getSpanCorrection,p.htmlCss=g.htmlCss,p.htmlGetBBox=g.htmlGetBBox,p.htmlUpdateTransform=g.htmlUpdateTransform,p.setSpanRotation=g.setSpanRotation}return X},B.prototype.getSpanCorrection=function(X,g,p){this.xCorr=-X*p,this.yCorr=-g},B.prototype.htmlCss=function(X){var g=this.element.tagName==="SPAN"&&X&&"width"in X,p=L(g&&X.width,void 0);if(g){delete X.width,this.textWidth=p;var O=!0}return X&&X.textOverflow==="ellipsis"&&(X.whiteSpace="nowrap",X.overflow="hidden"),this.styles=V(this.styles,X),J(this.element,X),O&&this.htmlUpdateTransform(),this},B.prototype.htmlGetBBox=function(){var X=this.element;return{x:X.offsetLeft,y:X.offsetTop,width:X.offsetWidth,height:X.offsetHeight}},B.prototype.htmlUpdateTransform=function(){if(this.added){var X=this.renderer,g=this.element,p=this.translateX||0,O=this.translateY||0,I=this.x||0,E=this.y||0,K=this.textAlign||"left",d={left:0,center:.5,right:1}[K],i=this.styles;if(i=i&&i.whiteSpace,J(g,{marginLeft:p,marginTop:O}),!X.styledMode&&this.shadows&&this.shadows.forEach(function(F){J(F,{marginLeft:p+1,marginTop:O+1})}),this.inverted&&[].forEach.call(g.childNodes,function(F){X.invertChild(F,g)}),g.tagName==="SPAN"){var x=this.rotation,A=this.textWidth&&c(this.textWidth),w=[x,K,g.innerHTML,this.textWidth,this.textAlign].join(),C=void 0;if(C=!1,A!==this.oldTextWidth){if(this.textPxLength)var U=this.textPxLength;else J(g,{width:"",whiteSpace:i||"nowrap"}),U=g.offsetWidth;(A>this.oldTextWidth||U>A)&&(/[ \-]/.test(g.textContent||g.innerText)||g.style.textOverflow==="ellipsis")&&(J(g,{width:U>A||x?A+"px":"auto",display:"block",whiteSpace:i||"normal"}),this.oldTextWidth=A,C=!0)}this.hasBoxWidthChanged=C,w!==this.cTT&&(C=X.fontMetrics(g.style.fontSize,g).b,!T(x)||x===(this.oldRotation||0)&&K===this.oldAlign||this.setSpanRotation(x,d,C),this.getSpanCorrection(!T(x)&&this.textPxLength||g.offsetWidth,C,d,x,K)),J(g,{left:I+(this.xCorr||0)+"px",top:E+(this.yCorr||0)+"px"}),this.cTT=w,this.oldRotation=x,this.oldAlign=K}}else this.alignOnAdd=!0},B.prototype.setSpanRotation=function(X,g,p){var O={},I=re&&!/Edge/.test(S.navigator.userAgent)?"-ms-transform":se?"-webkit-transform":W?"MozTransform":S.opera?"-o-transform":void 0;I&&(O[I]=O.transform="rotate("+X+"deg)",O[I+(W?"Origin":"-origin")]=O.transformOrigin=100*g+"% "+p+"px",J(this.element,O))},B.composedClasses=[],B}(v)}),l(u,"Core/Renderer/HTML/HTMLRenderer.js",[u["Core/Renderer/HTML/AST.js"],u["Core/Renderer/SVG/SVGElement.js"],u["Core/Renderer/SVG/SVGRenderer.js"],u["Core/Utilities.js"]],function(m,v,M,ee){var W=this&&this.__extends||function(){var T=function(V,L){return T=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,R){c.__proto__=R}||function(c,R){for(var B in R)R.hasOwnProperty(B)&&(c[B]=R[B])},T(V,L)};return function(V,L){function c(){this.constructor=V}T(V,L),V.prototype=L===null?Object.create(L):(c.prototype=L.prototype,new c)}}(),re=ee.attr,se=ee.createElement,S=ee.extend,J=ee.pick;return function(T){function V(){return T!==null&&T.apply(this,arguments)||this}return W(V,T),V.compose=function(L){return V.composedClasses.indexOf(L)===-1&&(V.composedClasses.push(L),L.prototype.html=V.prototype.html),L},V.prototype.html=function(L,c,R){var B=this.createElement("span"),X=B.element,g=B.renderer,p=g.isSVG,O=function(I,E){["opacity","visibility"].forEach(function(K){I[K+"Setter"]=function(d,i,x){var A=I.div?I.div.style:E;v.prototype[K+"Setter"].call(this,d,i,x),A&&(A[i]=d)}}),I.addedSetters=!0};return B.textSetter=function(I){I!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,m.setElementHTML(this.element,J(I,"")),this.textStr=I,B.doTransform=!0)},p&&O(B,B.element.style),B.xSetter=B.ySetter=B.alignSetter=B.rotationSetter=function(I,E){E==="align"?B.alignValue=B.textAlign=I:B[E]=I,B.doTransform=!0},B.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},B.attr({text:L,x:Math.round(c),y:Math.round(R)}).css({position:"absolute"}),g.styledMode||B.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),X.style.whiteSpace="nowrap",B.css=B.htmlCss,p&&(B.add=function(I){var E=g.box.parentNode,K=[];if(this.parentGroup=I){var d=I.div;if(!d){for(;I;)K.push(I),I=I.parentGroup;K.reverse().forEach(function(i){function x(U,F){i[F]=U,F==="translateX"?C.left=U+"px":C.top=U+"px",i.doTransform=!0}var A=re(i.element,"class"),w=i.styles||{};d=i.div=i.div||se("div",A?{className:A}:void 0,{position:"absolute",left:(i.translateX||0)+"px",top:(i.translateY||0)+"px",display:i.display,opacity:i.opacity,cursor:w.cursor,pointerEvents:w.pointerEvents,visibility:i.visibility},d||E);var C=d.style;S(i,{classSetter:function(U){return function(F){this.element.setAttribute("class",F),U.className=F}}(d),on:function(){return K[0].div&&B.on.apply({element:K[0].div,onEvents:i.onEvents},arguments),i},translateXSetter:x,translateYSetter:x}),i.addedSetters||O(i)})}}else d=E;return d.appendChild(X),B.added=!0,B.alignOnAdd&&B.htmlUpdateTransform(),B}),B},V.composedClasses=[],V}(M)}),l(u,"Core/Axis/AxisDefaults.js",[],function(){var m;return function(v){v.defaultXAxisOptions={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,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,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:"#666666",cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:"#666666"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#ccd6eb"},v.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){var M=this.axis.chart.numberFormatter;return M(this.total,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},v.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},v.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},v.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},v.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}}(m||(m={})),m}),l(u,"Core/Foundation.js",[u["Core/Utilities.js"]],function(m){var v=m.addEvent,M=m.isFunction,ee=m.objectEach,W=m.removeEvent,re;return function(se){se.registerEventOptions=function(S,J){S.eventOptions=S.eventOptions||{},ee(J.events,function(T,V){S.eventOptions[V]!==T&&(S.eventOptions[V]&&(W(S,V,S.eventOptions[V]),delete S.eventOptions[V]),M(T)&&(S.eventOptions[V]=T,v(S,V,T)))})}}(re||(re={})),re}),l(u,"Core/Axis/Tick.js",[u["Core/FormatUtilities.js"],u["Core/Globals.js"],u["Core/Utilities.js"]],function(m,v,M){var ee=v.deg2rad,W=M.clamp,re=M.correctFloat,se=M.defined,S=M.destroyObjectProperties,J=M.extend,T=M.fireEvent,V=M.isNumber,L=M.merge,c=M.objectEach,R=M.pick;return v=function(){function B(X,g,p,O,I){this.isNewLabel=this.isNew=!0,this.axis=X,this.pos=g,this.type=p||"",this.parameters=I||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,T(this,"init"),p||O||this.addLabel()}return B.prototype.addLabel=function(){var X=this,g=X.axis,p=g.options,O=g.chart,I=g.categories,E=g.logarithmic,K=g.names,d=X.pos,i=R(X.options&&X.options.labels,p.labels),x=g.tickPositions,A=d===x[0],w=d===x[x.length-1],C=(!i.step||i.step===1)&&g.tickInterval===1;x=x.info;var U=X.label,F;if(I=this.parameters.category||(I?R(I[d],K[d],d):d),E&&V(I)&&(I=re(E.lin2log(I))),g.dateTime)if(x)var Y=O.time.resolveDTLFormat(p.dateTimeLabelFormats[!p.grid&&x.higherRanks[d]||x.unitName]),le=Y.main;else V(I)&&(le=g.dateTime.getXDateFormat(I,p.dateTimeLabelFormats||{}));X.isFirst=A,X.isLast=w;var ie={axis:g,chart:O,dateTimeLabelFormat:le,isFirst:A,isLast:w,pos:d,tick:X,tickPositionInfo:x,value:I};T(this,"labelFormat",ie);var j=function(P){return i.formatter?i.formatter.call(P,P):i.format?(P.text=g.defaultLabelFormatter.call(P),m.format(i.format,P,O)):g.defaultLabelFormatter.call(P,P)};p=j.call(ie,ie);var ue=Y&&Y.list;X.shortenLabel=ue?function(){for(F=0;F<ue.length;F++)if(J(ie,{dateTimeLabelFormat:ue[F]}),U.attr({text:j.call(ie,ie)}),U.getBBox().width<g.getSlotWidth(X)-2*i.padding)return;U.attr({text:""})}:void 0,C&&g._addedPlotLB&&X.moveLabel(p,i),se(U)||X.movedLabel?U&&U.textStr!==p&&!C&&(!U.textWidth||i.style.width||U.styles.width||U.css({width:null}),U.attr({text:p}),U.textPxLength=U.getBBox().width):(X.label=U=X.createLabel({x:0,y:0},p,i),X.rotation=0)},B.prototype.createLabel=function(X,g,p){var O=this.axis,I=O.chart;return(X=se(g)&&p.enabled?I.renderer.text(g,X.x,X.y,p.useHTML).add(O.labelGroup):null)&&(I.styledMode||X.css(L(p.style)),X.textPxLength=X.getBBox().width),X},B.prototype.destroy=function(){S(this,this.axis)},B.prototype.getPosition=function(X,g,p,O){var I=this.axis,E=I.chart,K=O&&E.oldChartHeight||E.chartHeight;return X={x:X?re(I.translate(g+p,null,null,O)+I.transB):I.left+I.offset+(I.opposite?(O&&E.oldChartWidth||E.chartWidth)-I.right-I.left:0),y:X?K-I.bottom+I.offset-(I.opposite?I.height:0):re(K-I.translate(g+p,null,null,O)-I.transB)},X.y=W(X.y,-1e5,1e5),T(this,"afterGetPosition",{pos:X}),X},B.prototype.getLabelPosition=function(X,g,p,O,I,E,K,d){var i=this.axis,x=i.transA,A=i.isLinked&&i.linkedParent?i.linkedParent.reversed:i.reversed,w=i.staggerLines,C=i.tickRotCorr||{x:0,y:0},U=O||i.reserveSpaceDefault?0:-i.labelOffset*(i.labelAlign==="center"?.5:1),F={},Y=I.y;return se(Y)||(Y=i.side===0?p.rotation?-8:-p.getBBox().height:i.side===2?C.y+8:Math.cos(p.rotation*ee)*(C.y-p.getBBox(!1,0).height/2)),X=X+I.x+U+C.x-(E&&O?E*x*(A?-1:1):0),g=g+Y-(E&&!O?E*x*(A?1:-1):0),w&&(p=K/(d||1)%w,i.opposite&&(p=w-p-1),g+=i.labelOffset/w*p),F.x=X,F.y=Math.round(g),T(this,"afterGetLabelPosition",{pos:F,tickmarkOffset:E,index:K}),F},B.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},B.prototype.getMarkPath=function(X,g,p,O,I,E){return E.crispLine([["M",X,g],["L",X+(I?0:-p),g+(I?p:0)]],O)},B.prototype.handleOverflow=function(X){var g=this.axis,p=g.options.labels,O=X.x,I=g.chart.chartWidth,E=g.chart.spacing,K=R(g.labelLeft,Math.min(g.pos,E[3]));E=R(g.labelRight,Math.max(g.isRadial?0:g.pos+g.len,I-E[1]));var d=this.label,i=this.rotation,x={left:0,center:.5,right:1}[g.labelAlign||d.attr("align")],A=d.getBBox().width,w=g.getSlotWidth(this),C={},U=w,F=1,Y;i||p.overflow!=="justify"?0>i&&O-x*A<K?Y=Math.round(O/Math.cos(i*ee)-K):0<i&&O+x*A>E&&(Y=Math.round((I-O)/Math.cos(i*ee))):(I=O+(1-x)*A,O-x*A<K?U=X.x+U*(1-x)-K:I>E&&(U=E-X.x+U*x,F=-1),U=Math.min(w,U),U<w&&g.labelAlign==="center"&&(X.x+=F*(w-U-x*(w-Math.min(A,U)))),(A>U||g.autoRotation&&(d.styles||{}).width)&&(Y=U)),Y&&(this.shortenLabel?this.shortenLabel():(C.width=Math.floor(Y)+"px",(p.style||{}).textOverflow||(C.textOverflow="ellipsis"),d.css(C)))},B.prototype.moveLabel=function(X,g){var p=this,O=p.label,I=p.axis,E=I.reversed,K=!1;if(O&&O.textStr===X?(p.movedLabel=O,K=!0,delete p.label):c(I.ticks,function(i){K||i.isNew||i===p||!i.label||i.label.textStr!==X||(p.movedLabel=i.label,K=!0,i.labelPos=p.movedLabel.xy,delete i.label)}),!K&&(p.labelPos||O)){var d=p.labelPos||O.xy;O=I.horiz?E?0:I.width+I.left:d.x,I=I.horiz?d.y:E?I.width+I.left:0,p.movedLabel=p.createLabel({x:O,y:I},X,g),p.movedLabel&&p.movedLabel.attr({opacity:0})}},B.prototype.render=function(X,g,p){var O=this.axis,I=O.horiz,E=this.pos,K=R(this.tickmarkOffset,O.tickmarkOffset);E=this.getPosition(I,E,K,g),K=E.x;var d=E.y;O=I&&K===O.pos+O.len||!I&&d===O.pos?-1:1,I=R(p,this.label&&this.label.newOpacity,1),p=R(p,1),this.isActive=!0,this.renderGridLine(g,p,O),this.renderMark(E,p,O),this.renderLabel(E,g,I,X),this.isNew=!1,T(this,"afterRender")},B.prototype.renderGridLine=function(X,g,p){var O=this.axis,I=O.options,E={},K=this.pos,d=this.type,i=R(this.tickmarkOffset,O.tickmarkOffset),x=O.chart.renderer,A=this.gridLine,w=I.gridLineWidth,C=I.gridLineColor,U=I.gridLineDashStyle;this.type==="minor"&&(w=I.minorGridLineWidth,C=I.minorGridLineColor,U=I.minorGridLineDashStyle),A||(O.chart.styledMode||(E.stroke=C,E["stroke-width"]=w||0,E.dashstyle=U),d||(E.zIndex=1),X&&(g=0),this.gridLine=A=x.path().attr(E).addClass("highcharts-"+(d?d+"-":"")+"grid-line").add(O.gridGroup)),A&&(p=O.getPlotLinePath({value:K+i,lineWidth:A.strokeWidth()*p,force:"pass",old:X}))&&A[X||this.isNew?"attr":"animate"]({d:p,opacity:g})},B.prototype.renderMark=function(X,g,p){var O=this.axis,I=O.options,E=O.chart.renderer,K=this.type,d=O.tickSize(K?K+"Tick":"tick"),i=X.x;X=X.y;var x=R(I[K!=="minor"?"tickWidth":"minorTickWidth"],!K&&O.isXAxis?1:0);I=I[K!=="minor"?"tickColor":"minorTickColor"];var A=this.mark,w=!A;d&&(O.opposite&&(d[0]=-d[0]),A||(this.mark=A=E.path().addClass("highcharts-"+(K?K+"-":"")+"tick").add(O.axisGroup),O.chart.styledMode||A.attr({stroke:I,"stroke-width":x})),A[w?"attr":"animate"]({d:this.getMarkPath(i,X,d[0],A.strokeWidth()*p,O.horiz,E),opacity:g}))},B.prototype.renderLabel=function(X,g,p,O){var I=this.axis,E=I.horiz,K=I.options,d=this.label,i=K.labels,x=i.step;I=R(this.tickmarkOffset,I.tickmarkOffset);var A=X.x;X=X.y;var w=!0;d&&V(A)&&(d.xy=X=this.getLabelPosition(A,X,d,E,i,I,O,x),this.isFirst&&!this.isLast&&!K.showFirstLabel||this.isLast&&!this.isFirst&&!K.showLastLabel?w=!1:!E||i.step||i.rotation||g||p===0||this.handleOverflow(X),x&&O%x&&(w=!1),w&&V(X.y)?(X.opacity=p,d[this.isNewLabel?"attr":"animate"](X),this.isNewLabel=!1):(d.attr("y",-9999),this.isNewLabel=!0))},B.prototype.replaceMovedLabel=function(){var X=this.label,g=this.axis,p=g.reversed;if(X&&!this.isNew){var O=g.horiz?p?g.left:g.width+g.left:X.xy.x;p=g.horiz?X.xy.y:p?g.width+g.top:g.top,X.animate({x:O,y:p,opacity:0},void 0,X.destroy),delete this.label}g.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},B}(),v}),l(u,"Core/Axis/Axis.js",[u["Core/Animation/AnimationUtilities.js"],u["Core/Axis/AxisDefaults.js"],u["Core/Color/Color.js"],u["Core/DefaultOptions.js"],u["Core/Foundation.js"],u["Core/Globals.js"],u["Core/Axis/Tick.js"],u["Core/Utilities.js"]],function(m,v,M,ee,W,re,se,S){var J=m.animObject,T=ee.defaultOptions,V=W.registerEventOptions,L=re.deg2rad,c=S.arrayMax,R=S.arrayMin,B=S.clamp,X=S.correctFloat,g=S.defined,p=S.destroyObjectProperties,O=S.erase,I=S.error,E=S.extend,K=S.fireEvent,d=S.getMagnitude,i=S.isArray,x=S.isNumber,A=S.isString,w=S.merge,C=S.normalizeTickInterval,U=S.objectEach,F=S.pick,Y=S.relativeLength,le=S.removeEvent,ie=S.splat,j=S.syncTimeout;return m=function(){function ue(P,Z){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0,this.init(P,Z)}return ue.prototype.init=function(P,Z){var ae=Z.isX;this.chart=P,this.horiz=P.inverted&&!this.isZAxis?!ae:ae,this.isXAxis=ae,this.coll=this.coll||(ae?"xAxis":"yAxis"),K(this,"init",{userOptions:Z}),this.opposite=F(Z.opposite,this.opposite),this.side=F(Z.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(Z);var ce=this.options,be=ce.labels,pe=ce.type;this.userOptions=Z,this.minPixelPadding=0,this.reversed=F(ce.reversed,this.reversed),this.visible=ce.visible,this.zoomEnabled=ce.zoomEnabled,this.hasNames=pe==="category"||ce.categories===!0,this.categories=ce.categories||this.hasNames,this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=g(ce.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=ce.minRange||ce.maxZoom,this.range=ce.range,this.offset=ce.offset||0,this.min=this.max=null,Z=F(ce.crosshair,ie(P.options.tooltip.crosshairs)[ae?0:1]),this.crosshair=Z===!0?{}:Z,P.axes.indexOf(this)===-1&&(ae?P.axes.splice(P.xAxis.length,0,this):P.axes.push(this),P[this.coll].push(this)),this.series=this.series||[],P.inverted&&!this.isZAxis&&ae&&typeof this.reversed=="undefined"&&(this.reversed=!0),this.labelRotation=x(be.rotation)?be.rotation:void 0,V(this,ce),K(this,"afterInit")},ue.prototype.setOptions=function(P){this.options=w(v.defaultXAxisOptions,this.coll==="yAxis"&&v.defaultYAxisOptions,[v.defaultTopAxisOptions,v.defaultRightAxisOptions,v.defaultBottomAxisOptions,v.defaultLeftAxisOptions][this.side],w(T[this.coll],P)),K(this,"afterSetOptions",{userOptions:P})},ue.prototype.defaultLabelFormatter=function(P){var Z=this.axis;P=this.chart.numberFormatter;var ae=x(this.value)?this.value:NaN,ce=Z.chart.time,be=this.dateTimeLabelFormat,pe=T.lang,h=pe.numericSymbols;pe=pe.numericSymbolMagnitude||1e3;var te=Z.logarithmic?Math.abs(ae):Z.tickInterval,Q=h&&h.length;if(Z.categories)var we=""+this.value;else if(be)we=ce.dateFormat(be,ae);else if(Q&&1e3<=te)for(;Q--&&typeof we=="undefined";)Z=Math.pow(pe,Q+1),te>=Z&&10*ae%Z===0&&h[Q]!==null&&ae!==0&&(we=P(ae/Z,-1)+h[Q]);return typeof we=="undefined"&&(we=1e4<=Math.abs(ae)?P(ae,-1):P(ae,-1,void 0,"")),we},ue.prototype.getSeriesExtremes=function(){var P=this,Z=P.chart,ae;K(this,"getSeriesExtremes",null,function(){P.hasVisibleSeries=!1,P.dataMin=P.dataMax=P.threshold=null,P.softThreshold=!P.isXAxis,P.stacking&&P.stacking.buildStacks(),P.series.forEach(function(ce){if(ce.visible||!Z.options.chart.ignoreHiddenSeries){var be=ce.options,pe=be.threshold;if(P.hasVisibleSeries=!0,P.positiveValuesOnly&&0>=pe&&(pe=null),P.isXAxis){if(be=ce.xData,be.length){be=P.logarithmic?be.filter(P.validatePositiveValue):be,ae=ce.getXExtremes(be);var h=ae.min,te=ae.max;x(h)||h instanceof Date||(be=be.filter(x),ae=ce.getXExtremes(be),h=ae.min,te=ae.max),be.length&&(P.dataMin=Math.min(F(P.dataMin,h),h),P.dataMax=Math.max(F(P.dataMax,te),te))}}else ce=ce.applyExtremes(),x(ce.dataMin)&&(h=ce.dataMin,P.dataMin=Math.min(F(P.dataMin,h),h)),x(ce.dataMax)&&(te=ce.dataMax,P.dataMax=Math.max(F(P.dataMax,te),te)),g(pe)&&(P.threshold=pe),(!be.softThreshold||P.positiveValuesOnly)&&(P.softThreshold=!1)}})}),K(this,"afterGetSeriesExtremes")},ue.prototype.translate=function(P,Z,ae,ce,be,pe){var h=this.linkedParent||this,te=ce&&h.old?h.old.min:h.min,Q=h.minPixelPadding;be=(h.isOrdinal||h.brokenAxis&&h.brokenAxis.hasBreaks||h.logarithmic&&be)&&h.lin2val;var we=1,Se=0;return ce=ce&&h.old?h.old.transA:h.transA,ce||(ce=h.transA),ae&&(we*=-1,Se=h.len),h.reversed&&(we*=-1,Se-=we*(h.sector||h.len)),Z?(P=(P*we+Se-Q)/ce+te,be&&(P=h.lin2val(P))):(be&&(P=h.val2lin(P)),P=x(te)?we*(P-te)*ce+Se+we*Q+(x(pe)?ce*pe:0):void 0),P},ue.prototype.toPixels=function(P,Z){return this.translate(P,!1,!this.horiz,null,!0)+(Z?0:this.pos)},ue.prototype.toValue=function(P,Z){return this.translate(P-(Z?0:this.pos),!0,!this.horiz,null,!0)},ue.prototype.getPlotLinePath=function(P){function Z(xe,q,me){return(Je!=="pass"&&xe<q||xe>me)&&(Je?xe=B(xe,q,me):he=!0),xe}var ae=this,ce=ae.chart,be=ae.left,pe=ae.top,h=P.old,te=P.value,Q=P.lineWidth,we=h&&ce.oldChartHeight||ce.chartHeight,Se=h&&ce.oldChartWidth||ce.chartWidth,Ne=ae.transB,ze=P.translatedValue,Je=P.force,qe,Me,Fe,Ue,he;return P={value:te,lineWidth:Q,old:h,force:Je,acrossPanes:P.acrossPanes,translatedValue:ze},K(this,"getPlotLinePath",P,function(xe){ze=F(ze,ae.translate(te,null,null,h)),ze=B(ze,-1e5,1e5),qe=Fe=Math.round(ze+Ne),Me=Ue=Math.round(we-ze-Ne),x(ze)?ae.horiz?(Me=pe,Ue=we-ae.bottom,qe=Fe=Z(qe,be,be+ae.width)):(qe=be,Fe=Se-ae.right,Me=Ue=Z(Me,pe,pe+ae.height)):(he=!0,Je=!1),xe.path=he&&!Je?null:ce.renderer.crispLine([["M",qe,Me],["L",Fe,Ue]],Q||1)}),P.path},ue.prototype.getLinearTickPositions=function(P,Z,ae){var ce=X(Math.floor(Z/P)*P);ae=X(Math.ceil(ae/P)*P);var be=[],pe;if(X(ce+P)===ce&&(pe=20),this.single)return[Z];for(Z=ce;Z<=ae&&(be.push(Z),Z=X(Z+P,pe),Z!==h);)var h=Z;return be},ue.prototype.getMinorTickInterval=function(){var P=this.options;return P.minorTicks===!0?F(P.minorTickInterval,"auto"):P.minorTicks===!1?null:P.minorTickInterval},ue.prototype.getMinorTickPositions=function(){var P=this.options,Z=this.tickPositions,ae=this.minorTickInterval,ce=this.pointRangePadding||0,be=this.min-ce;ce=this.max+ce;var pe=ce-be,h=[];if(pe&&pe/ae<this.len/3){var te=this.logarithmic;if(te)this.paddedTicks.forEach(function(Q,we,Se){we&&h.push.apply(h,te.getLogTickPositions(ae,Se[we-1],Se[we],!0))});else if(this.dateTime&&this.getMinorTickInterval()==="auto")h=h.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(ae),be,ce,P.startOfWeek));else for(P=be+(Z[0]-be)%ae;P<=ce&&P!==h[0];P+=ae)h.push(P)}return h.length!==0&&this.trimTicks(h),h},ue.prototype.adjustForMinRange=function(){var P=this.options,Z=this.logarithmic,ae=this.min,ce=this.max,be=0,pe,h,te,Q;if(this.isXAxis&&typeof this.minRange=="undefined"&&!Z&&(g(P.min)||g(P.max)||g(P.floor)||g(P.ceiling)?this.minRange=null:(this.series.forEach(function(ze){if(te=ze.xData,Q=ze.xIncrement?1:te.length-1,1<te.length)for(pe=Q;0<pe;pe--)h=te[pe]-te[pe-1],(!be||h<be)&&(be=h)}),this.minRange=Math.min(5*be,this.dataMax-this.dataMin))),ce-ae<this.minRange){var we=this.dataMax-this.dataMin>=this.minRange,Se=this.minRange,Ne=(Se-ce+ae)/2;Ne=[ae-Ne,F(P.min,ae-Ne)],we&&(Ne[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),ae=c(Ne),ce=[ae+Se,F(P.max,ae+Se)],we&&(ce[2]=Z?Z.log2lin(this.dataMax):this.dataMax),ce=R(ce),ce-ae<Se&&(Ne[0]=ce-Se,Ne[1]=F(P.min,ce-Se),ae=c(Ne))}this.min=ae,this.max=ce},ue.prototype.getClosest=function(){var P;return this.categories?P=1:this.series.forEach(function(Z){var ae=Z.closestPointRange,ce=Z.visible||!Z.chart.options.chart.ignoreHiddenSeries;!Z.noSharedTooltip&&g(ae)&&ce&&(P=g(P)?Math.min(P,ae):ae)}),P},ue.prototype.nameToX=function(P){var Z=i(this.categories),ae=Z?this.categories:this.names,ce=P.options.x;if(P.series.requireSorting=!1,g(ce)||(ce=this.options.uniqueNames?Z?ae.indexOf(P.name):F(ae.keys[P.name],-1):P.series.autoIncrement()),ce===-1){if(!Z)var be=ae.length}else be=ce;return typeof be!="undefined"&&(this.names[be]=P.name,this.names.keys[P.name]=be),be},ue.prototype.updateNames=function(){var P=this,Z=this.names;0<Z.length&&(Object.keys(Z.keys).forEach(function(ae){delete Z.keys[ae]}),Z.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(function(ae){ae.xIncrement=null,(!ae.points||ae.isDirtyData)&&(P.max=Math.max(P.max,ae.xData.length-1),ae.processData(),ae.generatePoints()),ae.data.forEach(function(ce,be){if(ce&&ce.options&&typeof ce.name!="undefined"){var pe=P.nameToX(ce);typeof pe!="undefined"&&pe!==ce.x&&(ce.x=pe,ae.xData[be]=pe)}})}))},ue.prototype.setAxisTranslation=function(){var P=this,Z=P.max-P.min,ae=P.linkedParent,ce=!!P.categories,be=P.isXAxis,pe=P.axisPointRange||0,h=0,te=0,Q=P.transA;if(be||ce||pe){var we=P.getClosest();ae?(h=ae.minPointOffset,te=ae.pointRangePadding):P.series.forEach(function(Se){var Ne=ce?1:be?F(Se.options.pointRange,we,0):P.axisPointRange||0,ze=Se.options.pointPlacement;pe=Math.max(pe,Ne),(!P.single||ce)&&(Se=Se.is("xrange")?!be:be,h=Math.max(h,Se&&A(ze)?0:Ne/2),te=Math.max(te,Se&&ze==="on"?0:Ne))}),ae=P.ordinal&&P.ordinal.slope&&we?P.ordinal.slope/we:1,P.minPointOffset=h*=ae,P.pointRangePadding=te*=ae,P.pointRange=Math.min(pe,P.single&&ce?1:Z),be&&(P.closestPointRange=we)}P.translationSlope=P.transA=Q=P.staticScale||P.len/(Z+te||1),P.transB=P.horiz?P.left:P.bottom,P.minPixelPadding=Q*h,K(this,"afterSetAxisTranslation")},ue.prototype.minFromRange=function(){return this.max-this.range},ue.prototype.setTickInterval=function(P){var Z=this.chart,ae=this.logarithmic,ce=this.options,be=this.isXAxis,pe=this.isLinked,h=ce.tickPixelInterval,te=this.categories,Q=this.softThreshold,we=ce.maxPadding,Se=ce.minPadding,Ne=x(ce.tickInterval)&&0<=ce.tickInterval?ce.tickInterval:void 0,ze=x(this.threshold)?this.threshold:null;this.dateTime||te||pe||this.getTickAmount();var Je=F(this.userMin,ce.min),qe=F(this.userMax,ce.max);if(pe){this.linkedParent=Z[this.coll][ce.linkedTo];var Me=this.linkedParent.getExtremes();this.min=F(Me.min,Me.dataMin),this.max=F(Me.max,Me.dataMax),ce.type!==this.linkedParent.options.type&&I(11,1,Z)}else{if(Q&&g(ze)){if(this.dataMin>=ze)Me=ze,Se=0;else if(this.dataMax<=ze){var Fe=ze;we=0}}this.min=F(Je,Me,this.dataMin),this.max=F(qe,Fe,this.dataMax)}if(ae&&(this.positiveValuesOnly&&!P&&0>=Math.min(this.min,F(this.dataMin,this.min))&&I(10,1,Z),this.min=X(ae.log2lin(this.min),16),this.max=X(ae.log2lin(this.max),16)),this.range&&g(this.max)&&(this.userMin=this.min=Je=Math.max(this.dataMin,this.minFromRange()),this.userMax=qe=this.max,this.range=null),K(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(te||this.axisPointRange||this.stacking&&this.stacking.usePercentage||pe)&&g(this.min)&&g(this.max)&&(Z=this.max-this.min)&&(!g(Je)&&Se&&(this.min-=Z*Se),!g(qe)&&we&&(this.max+=Z*we)),x(this.userMin)||(x(ce.softMin)&&ce.softMin<this.min&&(this.min=Je=ce.softMin),x(ce.floor)&&(this.min=Math.max(this.min,ce.floor))),x(this.userMax)||(x(ce.softMax)&&ce.softMax>this.max&&(this.max=qe=ce.softMax),x(ce.ceiling)&&(this.max=Math.min(this.max,ce.ceiling))),Q&&g(this.dataMin)&&(ze=ze||0,!g(Je)&&this.min<ze&&this.dataMin>=ze?this.min=this.options.minRange?Math.min(ze,this.max-this.minRange):ze:!g(qe)&&this.max>ze&&this.dataMax<=ze&&(this.max=this.options.minRange?Math.max(ze,this.min+this.minRange):ze)),x(this.min)&&x(this.max)&&!this.chart.polar&&this.min>this.max&&(g(this.options.min)?this.max=this.min:g(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||typeof this.min=="undefined"||typeof this.max=="undefined"?1:pe&&this.linkedParent&&!Ne&&h===this.linkedParent.options.tickPixelInterval?Ne=this.linkedParent.tickInterval:F(Ne,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,te?1:(this.max-this.min)*h/Math.max(this.len,h)),be&&!P){var Ue=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);this.series.forEach(function(he){he.forceCrop=he.forceCropping&&he.forceCropping(),he.processData(Ue)}),K(this,"postProcessData",{hasExtemesChanged:Ue})}this.setAxisTranslation(),K(this,"initialAxisTranslation"),this.pointRange&&!Ne&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),P=F(ce.minTickInterval,this.dateTime&&!this.series.some(function(he){return he.noSharedTooltip})?this.closestPointRange:0),!Ne&&this.tickInterval<P&&(this.tickInterval=P),this.dateTime||this.logarithmic||Ne||(this.tickInterval=C(this.tickInterval,void 0,d(this.tickInterval),F(ce.allowDecimals,.5>this.tickInterval||this.tickAmount!==void 0),!!this.tickAmount)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()},ue.prototype.setTickPositions=function(){var P=this.options,Z=P.tickPositions,ae=this.getMinorTickInterval(),ce=this.hasVerticalPanning(),be=this.coll==="colorAxis",pe=(be||!ce)&&P.startOnTick;ce=(be||!ce)&&P.endOnTick,be=P.tickPositioner,this.tickmarkOffset=this.categories&&P.tickmarkPlacement==="between"&&this.tickInterval===1?.5:0,this.minorTickInterval=ae==="auto"&&this.tickInterval?this.tickInterval/5:ae,this.single=this.min===this.max&&g(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||P.allowDecimals!==!1),this.tickPositions=ae=Z&&Z.slice(),!ae&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?ae=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,P.units),this.min,this.max,P.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max):(ae=[this.min,this.max],I(19,!1,this.chart)),ae.length>this.len&&(ae=[ae[0],ae.pop()],ae[0]===ae[1]&&(ae.length=1)),this.tickPositions=ae,be&&(be=be.apply(this,[this.min,this.max])))&&(this.tickPositions=ae=be),this.paddedTicks=ae.slice(0),this.trimTicks(ae,pe,ce),this.isLinked||(this.single&&2>ae.length&&!this.categories&&!this.series.some(function(h){return h.is("heatmap")&&h.options.pointPlacement==="between"})&&(this.min-=.5,this.max+=.5),Z||be||this.adjustTickAmount()),K(this,"afterSetTickPositions")},ue.prototype.trimTicks=function(P,Z,ae){var ce=P[0],be=P[P.length-1],pe=!this.isOrdinal&&this.minPointOffset||0;if(K(this,"trimTicks"),!this.isLinked){if(Z&&ce!==-1/0)this.min=ce;else for(;this.min-pe>P[0];)P.shift();if(ae)this.max=be;else for(;this.max+pe<P[P.length-1];)P.pop();P.length===0&&g(ce)&&!this.options.tickPositions&&P.push((be+ce)/2)}},ue.prototype.alignToOthers=function(){var P={},Z=this.options,ae;return this.chart.options.chart.alignTicks!==!1&&Z.alignTicks&&Z.startOnTick!==!1&&Z.endOnTick!==!1&&!this.logarithmic&&this.chart[this.coll].forEach(function(ce){var be=ce.options;be=[ce.horiz?be.left:be.top,be.width,be.height,be.pane].join(),ce.series.length&&(P[be]?ae=!0:P[be]=1)}),ae},ue.prototype.getTickAmount=function(){var P=this.options,Z=P.tickPixelInterval,ae=P.tickAmount;!g(P.tickInterval)&&!ae&&this.len<Z&&!this.isRadial&&!this.logarithmic&&P.startOnTick&&P.endOnTick&&(ae=2),!ae&&this.alignToOthers()&&(ae=Math.ceil(this.len/Z)+1),4>ae&&(this.finalTickAmt=ae,ae=5),this.tickAmount=ae},ue.prototype.adjustTickAmount=function(){var P=this.options,Z=this.tickInterval,ae=this.tickPositions,ce=this.tickAmount,be=this.finalTickAmt,pe=ae&&ae.length,h=F(this.threshold,this.softThreshold?0:null);if(this.hasData()&&x(this.min)&&x(this.max)){if(pe<ce){for(;ae.length<ce;)ae.length%2||this.min===h?ae.push(X(ae[ae.length-1]+Z)):ae.unshift(X(ae[0]-Z));this.transA*=(pe-1)/(ce-1),this.min=P.startOnTick?ae[0]:Math.min(this.min,ae[0]),this.max=P.endOnTick?ae[ae.length-1]:Math.max(this.max,ae[ae.length-1])}else pe>ce&&(this.tickInterval*=2,this.setTickPositions());if(g(be)){for(Z=P=ae.length;Z--;)(be===3&&Z%2===1||2>=be&&0<Z&&Z<P-1)&&ae.splice(Z,1);this.finalTickAmt=void 0}}},ue.prototype.setScale=function(){var P=!1,Z=!1;this.series.forEach(function(ce){P=P||ce.isDirtyData||ce.isDirty,Z=Z||ce.xAxis&&ce.xAxis.isDirty||!1}),this.setAxisSize();var ae=this.len!==(this.old&&this.old.len);ae||P||Z||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(this.stacking&&this.stacking.resetStacks(),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=ae||this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max))):this.stacking&&this.stacking.cleanStacks(),P&&this.panningState&&(this.panningState.isDirty=!0),K(this,"afterSetScale")},ue.prototype.setExtremes=function(P,Z,ae,ce,be){var pe=this,h=pe.chart;ae=F(ae,!0),pe.series.forEach(function(te){delete te.kdTree}),be=E(be,{min:P,max:Z}),K(pe,"setExtremes",be,function(){pe.userMin=P,pe.userMax=Z,pe.eventArgs=be,ae&&h.redraw(ce)})},ue.prototype.zoom=function(P,Z){var ae=this,ce=this.dataMin,be=this.dataMax,pe=this.options,h=Math.min(ce,F(pe.min,ce)),te=Math.max(be,F(pe.max,be));return P={newMin:P,newMax:Z},K(this,"zoom",P,function(Q){var we=Q.newMin,Se=Q.newMax;(we!==ae.min||Se!==ae.max)&&(ae.allowZoomOutside||(g(ce)&&(we<h&&(we=h),we>te&&(we=te)),g(be)&&(Se<h&&(Se=h),Se>te&&(Se=te))),ae.displayBtn=typeof we!="undefined"||typeof Se!="undefined",ae.setExtremes(we,Se,!1,void 0,{trigger:"zoom"})),Q.zoomed=!0}),P.zoomed},ue.prototype.setAxisSize=function(){var P=this.chart,Z=this.options,ae=Z.offsets||[0,0,0,0],ce=this.horiz,be=this.width=Math.round(Y(F(Z.width,P.plotWidth-ae[3]+ae[1]),P.plotWidth)),pe=this.height=Math.round(Y(F(Z.height,P.plotHeight-ae[0]+ae[2]),P.plotHeight)),h=this.top=Math.round(Y(F(Z.top,P.plotTop+ae[0]),P.plotHeight,P.plotTop));Z=this.left=Math.round(Y(F(Z.left,P.plotLeft+ae[3]),P.plotWidth,P.plotLeft)),this.bottom=P.chartHeight-pe-h,this.right=P.chartWidth-be-Z,this.len=Math.max(ce?be:pe,0),this.pos=ce?Z:h},ue.prototype.getExtremes=function(){var P=this.logarithmic;return{min:P?X(P.lin2log(this.min)):this.min,max:P?X(P.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},ue.prototype.getThreshold=function(P){var Z=this.logarithmic,ae=Z?Z.lin2log(this.min):this.min;return Z=Z?Z.lin2log(this.max):this.max,P===null||P===-1/0?P=ae:P===1/0?P=Z:ae>P?P=ae:Z<P&&(P=Z),this.translate(P,0,1,0,1)},ue.prototype.autoLabelAlign=function(P){var Z=(F(P,0)-90*this.side+720)%360;return P={align:"center"},K(this,"autoLabelAlign",P,function(ae){15<Z&&165>Z?ae.align="right":195<Z&&345>Z&&(ae.align="left")}),P.align},ue.prototype.tickSize=function(P){var Z=this.options,ae=F(Z[P==="tick"?"tickWidth":"minorTickWidth"],P==="tick"&&this.isXAxis&&!this.categories?1:0),ce=Z[P==="tick"?"tickLength":"minorTickLength"];if(ae&&ce){Z[P+"Position"]==="inside"&&(ce=-ce);var be=[ce,ae]}return P={tickSize:be},K(this,"afterTickSize",P),P.tickSize},ue.prototype.labelMetrics=function(){var P=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[P]&&this.ticks[P].label)},ue.prototype.unsquish=function(){var P=this.options.labels,Z=this.horiz,ae=this.tickInterval,ce=this.len/(((this.categories?1:0)+this.max-this.min)/ae),be=P.rotation,pe=this.labelMetrics(),h=Math.max(this.max-this.min,0),te=function(Je){var qe=Je/(ce||1);return qe=1<qe?Math.ceil(qe):1,qe*ae>h&&Je!==1/0&&ce!==1/0&&h&&(qe=Math.ceil(h/ae)),X(qe*ae)},Q=ae,we,Se,Ne=Number.MAX_VALUE;if(Z){if(!P.staggerLines&&!P.step)if(x(be))var ze=[be];else ce<P.autoRotationLimit&&(ze=P.autoRotation);ze&&ze.forEach(function(Je){if(Je===be||Je&&-90<=Je&&90>=Je){Se=te(Math.abs(pe.h/Math.sin(L*Je)));var qe=Se+Math.abs(Je/360);qe<Ne&&(Ne=qe,we=Je,Q=Se)}})}else P.step||(Q=te(pe.h));return this.autoRotation=ze,this.labelRotation=F(we,x(be)?be:0),Q},ue.prototype.getSlotWidth=function(P){var Z=this.chart,ae=this.horiz,ce=this.options.labels,be=Math.max(this.tickPositions.length-(this.categories?0:1),1),pe=Z.margin[3];if(P&&x(P.slotWidth))return P.slotWidth;if(ae&&2>ce.step)return ce.rotation?0:(this.staggerLines||1)*this.len/be;if(!ae){if(P=ce.style.width,P!==void 0)return parseInt(String(P),10);if(pe)return pe-Z.spacing[3]}return .33*Z.chartWidth},ue.prototype.renderUnsquish=function(){var P=this.chart,Z=P.renderer,ae=this.tickPositions,ce=this.ticks,be=this.options.labels,pe=be.style,h=this.horiz,te=this.getSlotWidth(),Q=Math.max(1,Math.round(te-2*be.padding)),we={},Se=this.labelMetrics(),Ne=pe.textOverflow,ze=0;if(A(be.rotation)||(we.rotation=be.rotation||0),ae.forEach(function(Fe){Fe=ce[Fe],Fe.movedLabel&&Fe.replaceMovedLabel(),Fe&&Fe.label&&Fe.label.textPxLength>ze&&(ze=Fe.label.textPxLength)}),this.maxLabelLength=ze,this.autoRotation)ze>Q&&ze>Se.h?we.rotation=this.labelRotation:this.labelRotation=0;else if(te){var Je=Q;if(!Ne){var qe="clip";for(Q=ae.length;!h&&Q--;){var Me=ae[Q];(Me=ce[Me].label)&&(Me.styles&&Me.styles.textOverflow==="ellipsis"?Me.css({textOverflow:"clip"}):Me.textPxLength>te&&Me.css({width:te+"px"}),Me.getBBox().height>this.len/ae.length-(Se.h-Se.f)&&(Me.specificTextOverflow="ellipsis"))}}}we.rotation&&(Je=ze>.5*P.chartHeight?.33*P.chartHeight:ze,Ne||(qe="ellipsis")),(this.labelAlign=be.align||this.autoLabelAlign(this.labelRotation))&&(we.align=this.labelAlign),ae.forEach(function(Fe){var Ue=(Fe=ce[Fe])&&Fe.label,he=pe.width,xe={};Ue&&(Ue.attr(we),Fe.shortenLabel?Fe.shortenLabel():Je&&!he&&pe.whiteSpace!=="nowrap"&&(Je<Ue.textPxLength||Ue.element.tagName==="SPAN")?(xe.width=Je+"px",Ne||(xe.textOverflow=Ue.specificTextOverflow||qe),Ue.css(xe)):Ue.styles&&Ue.styles.width&&!xe.width&&!he&&Ue.css({width:null}),delete Ue.specificTextOverflow,Fe.rotation=we.rotation)},this),this.tickRotCorr=Z.rotCorr(Se.b,this.labelRotation||0,this.side!==0)},ue.prototype.hasData=function(){return this.series.some(function(P){return P.hasData()})||this.options.showEmpty&&g(this.min)&&g(this.max)},ue.prototype.addTitle=function(P){var Z=this.chart.renderer,ae=this.horiz,ce=this.opposite,be=this.options.title,pe=this.chart.styledMode,h;this.axisTitle||((h=be.textAlign)||(h=(ae?{low:"left",middle:"center",high:"right"}:{low:ce?"right":"left",middle:"center",high:ce?"left":"right"})[be.align]),this.axisTitle=Z.text(be.text||"",0,0,be.useHTML).attr({zIndex:7,rotation:be.rotation,align:h}).addClass("highcharts-axis-title"),pe||this.axisTitle.css(w(be.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),pe||be.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[P?"show":"hide"](P)},ue.prototype.generateTick=function(P){var Z=this.ticks;Z[P]?Z[P].addLabel():Z[P]=new se(this,P)},ue.prototype.getOffset=function(){var P=this,Z=this,ae=Z.chart,ce=Z.horiz,be=Z.options,pe=Z.side,h=Z.ticks,te=Z.tickPositions,Q=Z.coll,we=Z.axisParent,Se=ae.renderer,Ne=ae.inverted&&!Z.isZAxis?[1,0,3,2][pe]:pe,ze=Z.hasData(),Je=be.title,qe=be.labels,Me=ae.axisOffset;ae=ae.clipOffset;var Fe=[-1,1,1,-1][pe],Ue=be.className,he,xe=0,q=0,me=0;if(Z.showAxis=he=ze||be.showEmpty,Z.staggerLines=Z.horiz&&qe.staggerLines||void 0,!Z.axisGroup){var De=function(Oe,st,Ft){return Se.g(Oe).attr({zIndex:Ft}).addClass("highcharts-"+Q.toLowerCase()+st+" "+(P.isRadial?"highcharts-radial-axis"+st+" ":"")+(Ue||"")).add(we)};Z.gridGroup=De("grid","-grid",be.gridZIndex),Z.axisGroup=De("axis","",be.zIndex),Z.labelGroup=De("axis-labels","-labels",qe.zIndex)}if(ze||Z.isLinked?(te.forEach(function(Oe){Z.generateTick(Oe)}),Z.renderUnsquish(),Z.reserveSpaceDefault=pe===0||pe===2||{1:"left",3:"right"}[pe]===Z.labelAlign,F(qe.reserveSpace,Z.labelAlign==="center"?!0:null,Z.reserveSpaceDefault)&&te.forEach(function(Oe){me=Math.max(h[Oe].getLabelSize(),me)}),Z.staggerLines&&(me*=Z.staggerLines),Z.labelOffset=me*(Z.opposite?-1:1)):U(h,function(Oe,st){Oe.destroy(),delete h[st]}),Je&&Je.text&&Je.enabled!==!1&&(Z.addTitle(he),he&&Je.reserveSpace!==!1)){Z.titleOffset=xe=Z.axisTitle.getBBox()[ce?"height":"width"];var Te=Je.offset;q=g(Te)?0:F(Je.margin,ce?5:10)}Z.renderLine(),Z.offset=Fe*F(be.offset,Me[pe]?Me[pe]+(be.margin||0):0),Z.tickRotCorr=Z.tickRotCorr||{x:0,y:0},Je=pe===0?-Z.labelMetrics().h:pe===2?Z.tickRotCorr.y:0,ze=Math.abs(me)+q,me&&(ze=ze-Je+Fe*(ce?F(qe.y,Z.tickRotCorr.y+8*Fe):qe.x)),Z.axisTitleMargin=F(Te,ze),Z.getMaxLabelDimensions&&(Z.maxLabelDimensions=Z.getMaxLabelDimensions(h,te)),Q!=="colorAxis"&&(ce=this.tickSize("tick"),Me[pe]=Math.max(Me[pe],(Z.axisTitleMargin||0)+xe+Fe*Z.offset,ze,te&&te.length&&ce?ce[0]+Fe*Z.offset:0),be=!Z.axisLine||be.offset?0:2*Math.floor(Z.axisLine.strokeWidth()/2),ae[Ne]=Math.max(ae[Ne],be)),K(this,"afterGetOffset")},ue.prototype.getLinePath=function(P){var Z=this.chart,ae=this.opposite,ce=this.offset,be=this.horiz,pe=this.left+(ae?this.width:0)+ce;return ce=Z.chartHeight-this.bottom-(ae?this.height:0)+ce,ae&&(P*=-1),Z.renderer.crispLine([["M",be?this.left:pe,be?ce:this.top],["L",be?Z.chartWidth-this.right:pe,be?ce:Z.chartHeight-this.bottom]],P)},ue.prototype.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}))},ue.prototype.getTitlePosition=function(){var P=this.horiz,Z=this.left,ae=this.top,ce=this.len,be=this.options.title,pe=P?Z:ae,h=this.opposite,te=this.offset,Q=be.x,we=be.y,Se=this.axisTitle,Ne=this.chart.renderer.fontMetrics(be.style.fontSize,Se);return Se=Math.max(Se.getBBox(null,0).height-Ne.h-1,0),ce={low:pe+(P?0:ce),middle:pe+ce/2,high:pe+(P?ce:0)}[be.align],Z=(P?ae+this.height:Z)+(P?1:-1)*(h?-1:1)*this.axisTitleMargin+[-Se,Se,Ne.f,-Se][this.side],P={x:P?ce+Q:Z+(h?this.width:0)+te+Q,y:P?Z+we-(h?this.height:0)+te:ce+we},K(this,"afterGetTitlePosition",{titlePosition:P}),P},ue.prototype.renderMinorTick=function(P,Z){var ae=this.minorTicks;ae[P]||(ae[P]=new se(this,P,"minor")),Z&&ae[P].isNew&&ae[P].render(null,!0),ae[P].render(null,!1,1)},ue.prototype.renderTick=function(P,Z,ae){var ce=this.ticks;(!this.isLinked||P>=this.min&&P<=this.max||this.grid&&this.grid.isColumn)&&(ce[P]||(ce[P]=new se(this,P)),ae&&ce[P].isNew&&ce[P].render(Z,!0,-1),ce[P].render(Z))},ue.prototype.render=function(){var P=this,Z=P.chart,ae=P.logarithmic,ce=P.options,be=P.isLinked,pe=P.tickPositions,h=P.axisTitle,te=P.ticks,Q=P.minorTicks,we=P.alternateBands,Se=ce.stackLabels,Ne=ce.alternateGridColor,ze=P.tickmarkOffset,Je=P.axisLine,qe=P.showAxis,Me=J(Z.renderer.globalAnimation),Fe,Ue;if(P.labelEdge.length=0,P.overlap=!1,[te,Q,we].forEach(function(xe){U(xe,function(q){q.isActive=!1})}),P.hasData()||be){var he=P.chart.hasRendered&&P.old&&x(P.old.min);P.minorTickInterval&&!P.categories&&P.getMinorTickPositions().forEach(function(xe){P.renderMinorTick(xe,he)}),pe.length&&(pe.forEach(function(xe,q){P.renderTick(xe,q,he)}),ze&&(P.min===0||P.single)&&(te[-1]||(te[-1]=new se(P,-1,null,!0)),te[-1].render(-1))),Ne&&pe.forEach(function(xe,q){Ue=typeof pe[q+1]!="undefined"?pe[q+1]+ze:P.max-ze,q%2===0&&xe<P.max&&Ue<=P.max+(Z.polar?-ze:ze)&&(we[xe]||(we[xe]=new re.PlotLineOrBand(P)),Fe=xe+ze,we[xe].options={from:ae?ae.lin2log(Fe):Fe,to:ae?ae.lin2log(Ue):Ue,color:Ne,className:"highcharts-alternate-grid"},we[xe].render(),we[xe].isActive=!0)}),P._addedPlotLB||(P._addedPlotLB=!0,(ce.plotLines||[]).concat(ce.plotBands||[]).forEach(function(xe){P.addPlotBandOrLine(xe)}))}[te,Q,we].forEach(function(xe){var q=[],me=Me.duration;U(xe,function(De,Te){De.isActive||(De.render(Te,!1,0),De.isActive=!1,q.push(Te))}),j(function(){for(var De=q.length;De--;)xe[q[De]]&&!xe[q[De]].isActive&&(xe[q[De]].destroy(),delete xe[q[De]])},xe!==we&&Z.hasRendered&&me?me:0)}),Je&&(Je[Je.isPlaced?"animate":"attr"]({d:this.getLinePath(Je.strokeWidth())}),Je.isPlaced=!0,Je[qe?"show":"hide"](qe)),h&&qe&&(ce=P.getTitlePosition(),x(ce.y)?(h[h.isNew?"attr":"animate"](ce),h.isNew=!1):(h.attr("y",-9999),h.isNew=!0)),Se&&Se.enabled&&P.stacking&&P.stacking.renderStackTotals(),P.old={len:P.len,max:P.max,min:P.min,transA:P.transA,userMax:P.userMax,userMin:P.userMin},P.isDirty=!1,K(this,"afterRender")},ue.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(P){P.render()})),this.series.forEach(function(P){P.isDirty=!0})},ue.prototype.getKeepProps=function(){return this.keepProps||ue.keepProps},ue.prototype.destroy=function(P){var Z=this,ae=Z.plotLinesAndBands,ce=this.eventOptions;if(K(this,"destroy",{keepEvents:P}),P||le(Z),[Z.ticks,Z.minorTicks,Z.alternateBands].forEach(function(pe){p(pe)}),ae)for(P=ae.length;P--;)ae[P].destroy();"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach(function(pe){Z[pe]&&(Z[pe]=Z[pe].destroy())});for(var be in Z.plotLinesAndBandsGroups)Z.plotLinesAndBandsGroups[be]=Z.plotLinesAndBandsGroups[be].destroy();U(Z,function(pe,h){Z.getKeepProps().indexOf(h)===-1&&delete Z[h]}),this.eventOptions=ce},ue.prototype.drawCrosshair=function(P,Z){var ae=this.crosshair,ce=F(ae&&ae.snap,!0),be=this.chart,pe,h=this.cross;if(K(this,"drawCrosshair",{e:P,point:Z}),P||(P=this.cross&&this.cross.e),ae&&(g(Z)||!ce)!==!1){if(ce?g(Z)&&(pe=F(this.coll!=="colorAxis"?Z.crosshairPos:null,this.isXAxis?Z.plotX:this.len-Z.plotY)):pe=P&&(this.horiz?P.chartX-this.pos:this.len-P.chartY+this.pos),g(pe)){var te={value:Z&&(this.isXAxis?Z.x:F(Z.stackY,Z.y)),translatedValue:pe};be.polar&&E(te,{isCrosshair:!0,chartX:P&&P.chartX,chartY:P&&P.chartY,point:Z}),te=this.getPlotLinePath(te)||null}if(!g(te)){this.hideCrosshair();return}ce=this.categories&&!this.isRadial,h||(this.cross=h=be.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(ce?"category ":"thin ")+(ae.className||"")).attr({zIndex:F(ae.zIndex,2)}).add(),be.styledMode||(h.attr({stroke:ae.color||(ce?M.parse("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":F(ae.width,1)}).css({"pointer-events":"none"}),ae.dashStyle&&h.attr({dashstyle:ae.dashStyle}))),h.show().attr({d:te}),ce&&!ae.width&&h.attr({"stroke-width":this.transA}),this.cross.e=P}else this.hideCrosshair();K(this,"afterDrawCrosshair",{e:P,point:Z})},ue.prototype.hideCrosshair=function(){this.cross&&this.cross.hide(),K(this,"afterHideCrosshair")},ue.prototype.hasVerticalPanning=function(){var P=this.chart.options.chart.panning;return!!(P&&P.enabled&&/y/.test(P.type))},ue.prototype.validatePositiveValue=function(P){return x(P)&&0<P},ue.prototype.update=function(P,Z){var ae=this.chart;P=w(this.userOptions,P),this.destroy(!0),this.init(ae,P),ae.isDirtyBox=!0,F(Z,!0)&&ae.redraw()},ue.prototype.remove=function(P){for(var Z=this.chart,ae=this.coll,ce=this.series,be=ce.length;be--;)ce[be]&&ce[be].remove(!1);O(Z.axes,this),O(Z[ae],this),Z[ae].forEach(function(pe,h){pe.options.index=pe.userOptions.index=h}),this.destroy(),Z.isDirtyBox=!0,F(P,!0)&&Z.redraw()},ue.prototype.setTitle=function(P,Z){this.update({title:P},Z)},ue.prototype.setCategories=function(P,Z){this.update({categories:P},Z)},ue.defaultOptions=v.defaultXAxisOptions,ue.keepProps="extKey hcEvents names series userMax userMin".split(" "),ue}(),m}),l(u,"Core/Axis/DateTimeAxis.js",[u["Core/Utilities.js"]],function(m){var v=m.addEvent,M=m.getMagnitude,ee=m.normalizeTickInterval,W=m.timeUnits,re;return function(se){function S(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function J(L){L.userOptions.type!=="datetime"?this.dateTime=void 0:this.dateTime||(this.dateTime=new V(this))}var T=[];se.compose=function(L){return T.indexOf(L)===-1&&(T.push(L),L.keepProps.push("dateTime"),L.prototype.getTimeTicks=S,v(L,"init",J)),L};var V=function(){function L(c){this.axis=c}return L.prototype.normalizeTimeTickInterval=function(c,R){var B=R||[["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]];R=B[B.length-1];var X=W[R[0]],g=R[1],p;for(p=0;p<B.length&&(R=B[p],X=W[R[0]],g=R[1],!(B[p+1]&&c<=(X*g[g.length-1]+W[B[p+1][0]])/2));p++);return X===W.year&&c<5*X&&(g=[1,2,5]),c=ee(c/X,g,R[0]==="year"?Math.max(M(c/X),1):1),{unitRange:X,count:c,unitName:R[0]}},L.prototype.getXDateFormat=function(c,R){var B=this.axis;return B.closestPointRange?B.chart.time.getDateFormat(B.closestPointRange,c,B.options.startOfWeek,R)||R.year:R.day},L}();se.Additions=V}(re||(re={})),re}),l(u,"Core/Axis/LogarithmicAxis.js",[u["Core/Utilities.js"]],function(m){var v=m.addEvent,M=m.getMagnitude,ee=m.normalizeTickInterval,W=m.pick,re;return function(se){function S(L){var c=this.logarithmic;L.userOptions.type!=="logarithmic"?this.logarithmic=void 0:c||(this.logarithmic=new V(this))}function J(){var L=this.logarithmic;L&&(this.lin2val=function(c){return L.lin2log(c)},this.val2lin=function(c){return L.log2lin(c)})}var T=[];se.compose=function(L){return T.indexOf(L)===-1&&(T.push(L),L.keepProps.push("logarithmic"),v(L,"init",S),v(L,"afterInit",J)),L};var V=function(){function L(c){this.axis=c}return L.prototype.getLogTickPositions=function(c,R,B,X){var g=this.axis,p=g.len,O=g.options,I=[];if(X||(this.minorAutoInterval=void 0),.5<=c)c=Math.round(c),I=g.getLinearTickPositions(c,R,B);else if(.08<=c){var E=Math.floor(R),K,d=O=void 0;for(p=.3<c?[1,2,4]:.15<c?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];E<B+1&&!d;E++){var i=p.length;for(K=0;K<i&&!d;K++){var x=this.log2lin(this.lin2log(E)*p[K]);x>R&&(!X||O<=B)&&typeof O!="undefined"&&I.push(O),O>B&&(d=!0),O=x}}}else R=this.lin2log(R),B=this.lin2log(B),c=X?g.getMinorTickInterval():O.tickInterval,c=W(c==="auto"?null:c,this.minorAutoInterval,O.tickPixelInterval/(X?5:1)*(B-R)/((X?p/g.tickPositions.length:p)||1)),c=ee(c,void 0,M(c)),I=g.getLinearTickPositions(c,R,B).map(this.log2lin),X||(this.minorAutoInterval=c/5);return X||(g.tickInterval=c),I},L.prototype.lin2log=function(c){return Math.pow(10,c)},L.prototype.log2lin=function(c){return Math.log(c)/Math.LN10},L}();se.Additions=V}(re||(re={})),re}),l(u,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[u["Core/Utilities.js"]],function(m){var v=m.erase,M=m.extend,ee=m.isNumber,W;return function(re){var se=[],S;re.compose=function(T,V){return S||(S=T),se.indexOf(V)===-1&&(se.push(V),M(V.prototype,J.prototype)),V};var J=function(){function T(){}return T.prototype.getPlotBandPath=function(V,L,c){c===void 0&&(c=this.options);var R=this.getPlotLinePath({value:L,force:!0,acrossPanes:c.acrossPanes}),B=[],X=this.horiz;if(L=!ee(this.min)||!ee(this.max)||V<this.min&&L<this.min||V>this.max&&L>this.max,V=this.getPlotLinePath({value:V,force:!0,acrossPanes:c.acrossPanes}),c=1,V&&R){if(L){var g=V.toString()===R.toString();c=0}for(L=0;L<V.length;L+=2){var p=V[L],O=V[L+1],I=R[L],E=R[L+1];p[0]!=="M"&&p[0]!=="L"||O[0]!=="M"&&O[0]!=="L"||I[0]!=="M"&&I[0]!=="L"||E[0]!=="M"&&E[0]!=="L"||(X&&I[1]===p[1]?(I[1]+=c,E[1]+=c):X||I[2]!==p[2]||(I[2]+=c,E[2]+=c),B.push(["M",p[1],p[2]],["L",O[1],O[2]],["L",E[1],E[2]],["L",I[1],I[2]],["Z"])),B.isFlat=g}}return B},T.prototype.addPlotBand=function(V){return this.addPlotBandOrLine(V,"plotBands")},T.prototype.addPlotLine=function(V){return this.addPlotBandOrLine(V,"plotLines")},T.prototype.addPlotBandOrLine=function(V,L){var c=this,R=this.userOptions,B=new S(this,V);if(this.visible&&(B=B.render()),B){if(this._addedPlotLB||(this._addedPlotLB=!0,(R.plotLines||[]).concat(R.plotBands||[]).forEach(function(g){c.addPlotBandOrLine(g)})),L){var X=R[L]||[];X.push(V),R[L]=X}this.plotLinesAndBands.push(B)}return B},T.prototype.removePlotBandOrLine=function(V){var L=this.plotLinesAndBands,c=this.options,R=this.userOptions;if(L){for(var B=L.length;B--;)L[B].id===V&&L[B].destroy();[c.plotLines||[],R.plotLines||[],c.plotBands||[],R.plotBands||[]].forEach(function(X){for(B=X.length;B--;)(X[B]||{}).id===V&&v(X,X[B])})}},T.prototype.removePlotBand=function(V){this.removePlotBandOrLine(V)},T.prototype.removePlotLine=function(V){this.removePlotBandOrLine(V)},T}()}(W||(W={})),W}),l(u,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[u["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],u["Core/Utilities.js"]],function(m,v){var M=v.arrayMax,ee=v.arrayMin,W=v.defined,re=v.destroyObjectProperties,se=v.erase,S=v.fireEvent,J=v.merge,T=v.objectEach,V=v.pick;return v=function(){function L(c,R){this.axis=c,R&&(this.options=R,this.id=R.id)}return L.compose=function(c){return m.compose(L,c)},L.prototype.render=function(){S(this,"render");var c=this,R=c.axis,B=R.horiz,X=R.logarithmic,g=c.options,p=g.color,O=V(g.zIndex,0),I=g.events,E={},K=R.chart.renderer,d=g.label,i=c.label,x=g.to,A=g.from,w=g.value,C=c.svgElem,U=[],F=W(A)&&W(x);U=W(w);var Y=!C,le={class:"highcharts-plot-"+(F?"band ":"line ")+(g.className||"")},ie=F?"bands":"lines";if(X&&(A=X.log2lin(A),x=X.log2lin(x),w=X.log2lin(w)),R.chart.styledMode||(U?(le.stroke=p||"#999999",le["stroke-width"]=V(g.width,1),g.dashStyle&&(le.dashstyle=g.dashStyle)):F&&(le.fill=p||"#e6ebf5",g.borderWidth&&(le.stroke=g.borderColor,le["stroke-width"]=g.borderWidth))),E.zIndex=O,ie+="-"+O,(X=R.plotLinesAndBandsGroups[ie])||(R.plotLinesAndBandsGroups[ie]=X=K.g("plot-"+ie).attr(E).add()),Y&&(c.svgElem=C=K.path().attr(le).add(X)),U)U=R.getPlotLinePath({value:w,lineWidth:C.strokeWidth(),acrossPanes:g.acrossPanes});else if(F)U=R.getPlotBandPath(A,x,g);else return;return!c.eventsAdded&&I&&(T(I,function(j,ue){C.on(ue,function(P){I[ue].apply(c,[P])})}),c.eventsAdded=!0),(Y||!C.d)&&U&&U.length?C.attr({d:U}):C&&(U?(C.show(!0),C.animate({d:U})):C.d&&(C.hide(),i&&(c.label=i=i.destroy()))),d&&(W(d.text)||W(d.formatter))&&U&&U.length&&0<R.width&&0<R.height&&!U.isFlat?(d=J({align:B&&F&&"center",x:B?!F&&4:10,verticalAlign:!B&&F&&"middle",y:B?F?16:10:F?6:-4,rotation:B&&!F&&90},d),this.renderLabel(d,U,F,O)):i&&i.hide(),c},L.prototype.renderLabel=function(c,R,B,X){var g=this.axis,p=g.chart.renderer,O=this.label;O||(this.label=O=p.text(this.getLabelText(c),0,0,c.useHTML).attr({align:c.textAlign||c.align,rotation:c.rotation,class:"highcharts-plot-"+(B?"band":"line")+"-label "+(c.className||""),zIndex:X}).add(),g.chart.styledMode||O.css(J({textOverflow:"ellipsis"},c.style))),X=R.xBounds||[R[0][1],R[1][1],B?R[2][1]:R[0][1]],R=R.yBounds||[R[0][2],R[1][2],B?R[2][2]:R[0][2]],B=ee(X),p=ee(R),O.align(c,!1,{x:B,y:p,width:M(X)-B,height:M(R)-p}),O.alignValue&&O.alignValue!=="left"||O.css({width:(O.rotation===90?g.height-(O.alignAttr.y-g.top):g.width-(O.alignAttr.x-g.left))+"px"}),O.show(!0)},L.prototype.getLabelText=function(c){return W(c.formatter)?c.formatter.call(this):c.text},L.prototype.destroy=function(){se(this.axis.plotLinesAndBands,this),delete this.axis,re(this)},L}(),v}),l(u,"Core/Tooltip.js",[u["Core/FormatUtilities.js"],u["Core/Globals.js"],u["Core/Renderer/RendererUtilities.js"],u["Core/Renderer/RendererRegistry.js"],u["Core/Utilities.js"]],function(m,v,M,ee,W){var re=m.format,se=v.doc,S=M.distribute,J=W.addEvent,T=W.clamp,V=W.css,L=W.defined,c=W.discardElement,R=W.extend,B=W.fireEvent,X=W.isArray,g=W.isNumber,p=W.isString,O=W.merge,I=W.pick,E=W.splat,K=W.syncTimeout;return m=function(){function d(i,x){this.allowShared=!0,this.container=void 0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.now={},this.options={},this.outside=!1,this.chart=i,this.init(i,x)}return d.prototype.applyFilter=function(){var i=this.chart;i.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+i.index,opacity:.5},children:[{tagName:"feGaussianBlur",attributes:{in:"SourceAlpha",stdDeviation:1}},{tagName:"feOffset",attributes:{dx:1,dy:1}},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"linear",slope:.3}}]},{tagName:"feMerge",children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",attributes:{in:"SourceGraphic"}}]}]})},d.prototype.bodyFormatter=function(i){return i.map(function(x){var A=x.series.tooltipOptions;return(A[(x.point.formatPrefix||"point")+"Formatter"]||x.point.tooltipFormatter).call(x.point,A[(x.point.formatPrefix||"point")+"Format"]||"")})},d.prototype.cleanSplit=function(i){this.chart.series.forEach(function(x){var A=x&&x.tt;A&&(!A.isActive||i?x.tt=A.destroy():A.isActive=!1)})},d.prototype.defaultFormatter=function(i){var x=this.points||E(this),A=[i.tooltipFooterHeaderFormatter(x[0])];return A=A.concat(i.bodyFormatter(x)),A.push(i.tooltipFooterHeaderFormatter(x[0],!0)),A},d.prototype.destroy=function(){this.label&&(this.label=this.label.destroy()),this.split&&this.tt&&(this.cleanSplit(!0),this.tt=this.tt.destroy()),this.renderer&&(this.renderer=this.renderer.destroy(),c(this.container)),W.clearTimeout(this.hideTimer),W.clearTimeout(this.tooltipTimeout)},d.prototype.getAnchor=function(i,x){var A=this.chart,w=A.pointer,C=A.inverted,U=A.plotTop,F=A.plotLeft,Y,le,ie=0,j=0;return i=E(i),this.followPointer&&x?(typeof x.chartX=="undefined"&&(x=w.normalize(x)),w=[x.chartX-F,x.chartY-U]):i[0].tooltipPos?w=i[0].tooltipPos:(i.forEach(function(ue){Y=ue.series.yAxis,le=ue.series.xAxis,ie+=ue.plotX||0,j+=ue.plotLow?(ue.plotLow+(ue.plotHigh||0))/2:ue.plotY||0,le&&Y&&(C?(ie+=U+A.plotHeight-le.len-le.pos,j+=F+A.plotWidth-Y.len-Y.pos):(ie+=le.pos-F,j+=Y.pos-U))}),ie/=i.length,j/=i.length,w=[C?A.plotWidth-j:ie,C?A.plotHeight-ie:j],this.shared&&1<i.length&&x&&(C?w[0]=x.chartX-F:w[1]=x.chartY-U)),w.map(Math.round)},d.prototype.getLabel=function(){var i=this,x=this.chart.styledMode,A=this.options,w=this.split&&this.allowShared,C="tooltip"+(L(A.className)?" "+A.className:""),U=A.style.pointerEvents||(!this.followPointer&&A.stickOnContact?"auto":"none"),F=function(){i.inContact=!0},Y=function(ce){var be=i.chart.hoverSeries;i.inContact=i.shouldStickOnContact()&&i.chart.pointer.inClass(ce.relatedTarget,"highcharts-tooltip"),!i.inContact&&be&&be.onMouseOut&&be.onMouseOut()},le,ie=this.chart.renderer;if(i.label){var j=!i.label.hasClass("highcharts-label");(w&&!j||!w&&j)&&i.destroy()}if(!this.label){if(this.outside){j=this.chart.options.chart.style;var ue=ee.getRendererType();this.container=le=v.doc.createElement("div"),le.className="highcharts-tooltip-container",V(le,{position:"absolute",top:"1px",pointerEvents:U,zIndex:Math.max(this.options.style.zIndex||0,(j&&j.zIndex||0)+3)}),J(le,"mouseenter",F),J(le,"mouseleave",Y),v.doc.body.appendChild(le),this.renderer=ie=new ue(le,0,0,j,void 0,void 0,ie.styledMode)}if(w?this.label=ie.g(C):(this.label=ie.label("",0,0,A.shape,void 0,void 0,A.useHTML,void 0,C).attr({padding:A.padding,r:A.borderRadius}),x||this.label.attr({fill:A.backgroundColor,"stroke-width":A.borderWidth}).css(A.style).css({pointerEvents:U}).shadow(A.shadow)),x&&A.shadow&&(this.applyFilter(),this.label.attr({filter:"url(#drop-shadow-"+this.chart.index+")"})),i.outside&&!i.split){var P=this.label,Z=P.xSetter,ae=P.ySetter;P.xSetter=function(ce){Z.call(P,i.distance),le.style.left=ce+"px"},P.ySetter=function(ce){ae.call(P,i.distance),le.style.top=ce+"px"}}this.label.on("mouseenter",F).on("mouseleave",Y).attr({zIndex:8}).add()}return this.label},d.prototype.getPosition=function(i,x,A){var w=this.chart,C=this.distance,U={},F=w.inverted&&A.h||0,Y=this.outside,le=Y?se.documentElement.clientWidth-2*C:w.chartWidth,ie=Y?Math.max(se.body.scrollHeight,se.documentElement.scrollHeight,se.body.offsetHeight,se.documentElement.offsetHeight,se.documentElement.clientHeight):w.chartHeight,j=w.pointer.getChartPosition(),ue=function(Q){var we=Q==="x";return[Q,we?le:ie,we?i:x].concat(Y?[we?i*j.scaleX:x*j.scaleY,we?j.left-C+(A.plotX+w.plotLeft)*j.scaleX:j.top-C+(A.plotY+w.plotTop)*j.scaleY,0,we?le:ie]:[we?i:x,we?A.plotX+w.plotLeft:A.plotY+w.plotTop,we?w.plotLeft:w.plotTop,we?w.plotLeft+w.plotWidth:w.plotTop+w.plotHeight])},P=ue("y"),Z=ue("x"),ae;ue=!!A.negative,!w.polar&&w.hoverSeries&&w.hoverSeries.yAxis&&w.hoverSeries.yAxis.reversed&&(ue=!ue);var ce=!this.followPointer&&I(A.ttBelow,!w.inverted===ue),be=function(Q,we,Se,Ne,ze,Je,qe){var Me=Y?Q==="y"?C*j.scaleY:C*j.scaleX:C,Fe=(Se-Ne)/2,Ue=Ne<ze-C,he=ze+C+Ne<we,xe=ze-Me-Se+Fe;if(ze=ze+Me-Fe,ce&&he)U[Q]=ze;else if(!ce&&Ue)U[Q]=xe;else if(Ue)U[Q]=Math.min(qe-Ne,0>xe-F?xe:xe-F);else if(he)U[Q]=Math.max(Je,ze+F+Se>we?ze:ze+F);else return!1},pe=function(Q,we,Se,Ne,ze){var Je;return ze<C||ze>we-C?Je=!1:U[Q]=ze<Se/2?1:ze>we-Ne/2?we-Ne-2:ze-Se/2,Je},h=function(Q){var we=P;P=Z,Z=we,ae=Q},te=function(){be.apply(0,P)!==!1?pe.apply(0,Z)!==!1||ae||(h(!0),te()):ae?U.x=U.y=0:(h(!0),te())};return(w.inverted||1<this.len)&&h(),te(),U},d.prototype.hide=function(i){var x=this;W.clearTimeout(this.hideTimer),i=I(i,this.options.hideDelay),this.isHidden||(this.hideTimer=K(function(){x.getLabel().fadeOut(i&&void 0),x.isHidden=!0},i))},d.prototype.init=function(i,x){this.chart=i,this.options=x,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.split=x.split&&!i.inverted&&!i.polar,this.shared=x.shared||this.split,this.outside=I(x.outside,!(!i.scrollablePixelsX&&!i.scrollablePixelsY))},d.prototype.shouldStickOnContact=function(){return!(this.followPointer||!this.options.stickOnContact)},d.prototype.isStickyOnContact=function(){return!(!this.shouldStickOnContact()||!this.inContact)},d.prototype.move=function(i,x,A,w){var C=this,U=C.now,F=C.options.animation!==!1&&!C.isHidden&&(1<Math.abs(i-U.x)||1<Math.abs(x-U.y)),Y=C.followPointer||1<C.len;R(U,{x:F?(2*U.x+i)/3:i,y:F?(U.y+x)/2:x,anchorX:Y?void 0:F?(2*U.anchorX+A)/3:A,anchorY:Y?void 0:F?(U.anchorY+w)/2:w}),C.getLabel().attr(U),C.drawTracker(),F&&(W.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){C&&C.move(i,x,A,w)},32))},d.prototype.refresh=function(i,x){var A=this.chart,w=this.options,C=E(i),U=C[0],F=[],Y=w.formatter||this.defaultFormatter,le=this.shared,ie=A.styledMode,j={};if(w.enabled){W.clearTimeout(this.hideTimer),this.allowShared=!(!X(i)&&i.series&&i.series.noSharedTooltip),this.followPointer=!this.split&&U.series.tooltipOptions.followPointer,i=this.getAnchor(i,x);var ue=i[0],P=i[1];if(le&&this.allowShared?(A.pointer.applyInactiveState(C),C.forEach(function(ce){ce.setState("hover"),F.push(ce.getLabelConfig())}),j={x:U.category,y:U.y},j.points=F):j=U.getLabelConfig(),this.len=F.length,Y=Y.call(j,this),le=U.series,this.distance=I(le.tooltipOptions.distance,16),Y===!1)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(Y,C);else{var Z=ue,ae=P;if(x&&A.pointer.isDirectTouch&&(Z=x.chartX-A.plotLeft,ae=x.chartY-A.plotTop),A.polar||le.options.clip===!1||C.some(function(ce){return ce.series.shouldShowTooltip(Z,ae)}))x=this.getLabel(),w.style.width&&!ie||x.css({width:this.chart.spacingBox.width+"px"}),x.attr({text:Y&&Y.join?Y.join(""):Y}),x.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+I(U.colorIndex,le.colorIndex)),ie||x.attr({stroke:w.borderColor||U.color||le.color||"#666666"}),this.updatePosition({plotX:ue,plotY:P,negative:U.negative,ttBelow:U.ttBelow,h:i[2]||0});else{this.hide();return}}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}B(this,"refresh")}},d.prototype.renderSplit=function(i,x){function A(he,xe,q,me,De){return De===void 0&&(De=!0),q?(xe=Ne?0:Me,he=T(he-me/2,Q.left,Q.right-me-(w.outside?ze:0))):(xe-=Je,he=De?he-me-pe:he+pe,he=T(he,De?he:Q.left,Q.right)),{x:he,y:xe}}var w=this,C=w.chart,U=w.chart,F=U.chartWidth,Y=U.chartHeight,le=U.plotHeight,ie=U.plotLeft,j=U.plotTop,ue=U.pointer,P=U.scrollablePixelsY;P=P===void 0?0:P;var Z=U.scrollablePixelsX,ae=U.scrollingContainer;ae=ae===void 0?{scrollLeft:0,scrollTop:0}:ae;var ce=ae.scrollLeft;ae=ae.scrollTop;var be=U.styledMode,pe=w.distance,h=w.options,te=w.options.positioner,Q=w.outside&&typeof Z!="number"?se.documentElement.getBoundingClientRect():{left:ce,right:ce+F,top:ae,bottom:ae+Y},we=w.getLabel(),Se=this.renderer||C.renderer,Ne=!(!C.xAxis[0]||!C.xAxis[0].opposite);C=ue.getChartPosition();var ze=C.left;C=C.top;var Je=j+ae,qe=0,Me=le-P;p(i)&&(i=[!1,i]),i=i.slice(0,x.length+1).reduce(function(he,xe,q){if(xe!==!1&&xe!==""){q=x[q-1]||{isHeader:!0,plotX:x[0].plotX,plotY:le,series:{}};var me=q.isHeader,De=me?w:q.series;xe=xe.toString();var Te=De.tt,Oe=q.isHeader,st=q.series,Ft="highcharts-color-"+I(q.colorIndex,st.colorIndex,"none");if(Te||(Te={padding:h.padding,r:h.borderRadius},be||(Te.fill=h.backgroundColor,Te["stroke-width"]=h.borderWidth),Te=Se.label("",0,0,h[Oe?"headerShape":"shape"],void 0,void 0,h.useHTML).addClass((Oe?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+Ft).attr(Te).add(we)),Te.isActive=!0,Te.attr({text:xe}),be||Te.css(h.style).shadow(h.shadow).attr({stroke:h.borderColor||q.color||st.color||"#333333"}),De=De.tt=Te,Oe=De.getBBox(),xe=Oe.width+De.strokeWidth(),me&&(qe=Oe.height,Me+=qe,Ne&&(Je-=qe)),st=q.plotX,st=st===void 0?0:st,Ft=q.plotY,Ft=Ft===void 0?0:Ft,Te=q.series,q.isHeader){st=ie+st;var Qt=j+le/2}else{var Vt=Te.xAxis,Gt=Te.yAxis;st=Vt.pos+T(st,-pe,Vt.len+pe),Te.shouldShowTooltip(0,Gt.pos-j+Ft,{ignoreX:!0})&&(Qt=Gt.pos+Ft)}st=T(st,Q.left-pe,Q.right+pe),typeof Qt=="number"?(Oe=Oe.height+1,Ft=te?te.call(w,xe,Oe,q):A(st,Qt,me,xe),he.push({align:te?0:void 0,anchorX:st,anchorY:Qt,boxWidth:xe,point:q,rank:I(Ft.rank,me?1:0),size:Oe,target:Ft.y,tt:De,x:Ft.x})):De.isActive=!1}return he},[]),!te&&i.some(function(he){var xe=(w.outside?ze:0)+he.anchorX;return xe<Q.left&&xe+he.boxWidth<Q.right?!0:xe<ze-Q.left+he.boxWidth&&Q.right-xe>xe})&&(i=i.map(function(he){var xe=A(he.anchorX,he.anchorY,he.point.isHeader,he.boxWidth,!1);return R(he,{target:xe.y,x:xe.x})})),w.cleanSplit(),S(i,Me);var Fe=ze,Ue=ze;i.forEach(function(he){var xe=he.x,q=he.boxWidth;he=he.isHeader,he||(w.outside&&ze+xe<Fe&&(Fe=ze+xe),!he&&w.outside&&Fe+q>Ue&&(Ue=ze+xe))}),i.forEach(function(he){var xe=he.x,q=he.anchorX,me=he.pos,De=he.point.isHeader;if(me={visibility:typeof me=="undefined"?"hidden":"inherit",x:xe,y:me+Je,anchorX:q,anchorY:he.anchorY},w.outside&&xe<q){var Te=ze-Fe;0<Te&&(De||(me.x=xe+Te,me.anchorX=q+Te),De&&(me.x=(Ue-Fe)/2,me.anchorX=q+Te))}he.tt.attr(me)}),i=w.container,P=w.renderer,w.outside&&i&&P&&(U=we.getBBox(),P.setSize(U.width+U.x,U.height+U.y,!1),i.style.left=Fe+"px",i.style.top=C+"px")},d.prototype.drawTracker=function(){if(this.followPointer||!this.options.stickOnContact)this.tracker&&this.tracker.destroy();else{var i=this.chart,x=this.label,A=this.shared?i.hoverPoints:i.hoverPoint;if(x&&A){var w={x:0,y:0,width:0,height:0};A=this.getAnchor(A);var C=x.getBBox();A[0]+=i.plotLeft-x.translateX,A[1]+=i.plotTop-x.translateY,w.x=Math.min(0,A[0]),w.y=Math.min(0,A[1]),w.width=0>A[0]?Math.max(Math.abs(A[0]),C.width-A[0]):Math.max(Math.abs(A[0]),C.width),w.height=0>A[1]?Math.max(Math.abs(A[1]),C.height-Math.abs(A[1])):Math.max(Math.abs(A[1]),C.height),this.tracker?this.tracker.attr(w):(this.tracker=x.renderer.rect(w).addClass("highcharts-tracker").add(x),i.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}},d.prototype.styledModeFormat=function(i){return i.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},d.prototype.tooltipFooterHeaderFormatter=function(i,x){var A=i.series,w=A.tooltipOptions,C=A.xAxis,U=C&&C.dateTime;C={isFooter:x,labelConfig:i};var F=w.xDateFormat,Y=w[x?"footerFormat":"headerFormat"];return B(this,"headerFormatter",C,function(le){U&&!F&&g(i.key)&&(F=U.getXDateFormat(i.key,w.dateTimeLabelFormats)),U&&F&&(i.point&&i.point.tooltipDateKeys||["key"]).forEach(function(ie){Y=Y.replace("{point."+ie+"}","{point."+ie+":"+F+"}")}),A.chart.styledMode&&(Y=this.styledModeFormat(Y)),le.text=re(Y,{point:i,series:A},this.chart)}),C.text},d.prototype.update=function(i){this.destroy(),O(!0,this.chart.options.tooltip.userOptions,i),this.init(this.chart,O(!0,this.options,i))},d.prototype.updatePosition=function(i){var x=this.chart,A=this.options,w=x.pointer,C=this.getLabel();w=w.getChartPosition();var U=(A.positioner||this.getPosition).call(this,C.width,C.height,i),F=i.plotX+x.plotLeft;i=i.plotY+x.plotTop,this.outside&&(A=A.borderWidth+2*this.distance,this.renderer.setSize(C.width+A,C.height+A,!1),(w.scaleX!==1||w.scaleY!==1)&&(V(this.container,{transform:"scale("+w.scaleX+", "+w.scaleY+")"}),F*=w.scaleX,i*=w.scaleY),F+=w.left-U.x,i+=w.top-U.y),this.move(Math.round(U.x),Math.round(U.y||0),F,i)},d}(),m}),l(u,"Core/Series/Point.js",[u["Core/Renderer/HTML/AST.js"],u["Core/Animation/AnimationUtilities.js"],u["Core/DefaultOptions.js"],u["Core/FormatUtilities.js"],u["Core/Utilities.js"]],function(m,v,M,ee,W){var re=v.animObject,se=M.defaultOptions,S=ee.format,J=W.addEvent,T=W.defined,V=W.erase,L=W.extend,c=W.fireEvent,R=W.getNestedProperty,B=W.isArray,X=W.isFunction,g=W.isNumber,p=W.isObject,O=W.merge,I=W.objectEach,E=W.pick,K=W.syncTimeout,d=W.removeEvent,i=W.uniqueKey;return v=function(){function x(){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 x.prototype.animateBeforeDestroy=function(){var A=this,w={x:A.startXPos,opacity:0},C=A.getGraphicalProps();C.singular.forEach(function(U){A[U]=A[U].animate(U==="dataLabel"?{x:A[U].startXPos,y:A[U].startYPos,opacity:0}:w)}),C.plural.forEach(function(U){A[U].forEach(function(F){F.element&&F.animate(L({x:A.startXPos},F.startYPos?{x:F.startXPos,y:F.startYPos}:{}))})})},x.prototype.applyOptions=function(A,w){var C=this.series,U=C.options.pointValKey||C.pointValKey;return A=x.prototype.optionsToObject.call(this,A),L(this,A),this.options=this.options?L(this.options,A):A,A.group&&delete this.group,A.dataLabels&&delete this.dataLabels,U&&(this.y=x.prototype.getNestedProperty.call(this,U)),this.formatPrefix=(this.isNull=E(this.isValid&&!this.isValid(),this.x===null||!g(this.y)))?"null":"point",this.selected&&(this.state="select"),"name"in this&&typeof w=="undefined"&&C.xAxis&&C.xAxis.hasNames&&(this.x=C.xAxis.nameToX(this)),typeof this.x=="undefined"&&C?this.x=typeof w=="undefined"?C.autoIncrement():w:g(A.x)&&C.options.relativeXValue&&(this.x=C.autoIncrement(A.x)),this},x.prototype.destroy=function(){function A(){(w.graphic||w.dataLabel||w.dataLabels)&&(d(w),w.destroyElements());for(le in w)w[le]=null}var w=this,C=w.series,U=C.chart;C=C.options.dataSorting;var F=U.hoverPoints,Y=re(w.series.chart.renderer.globalAnimation),le;w.legendItem&&U.legend.destroyItem(w),F&&(w.setState(),V(F,w),F.length||(U.hoverPoints=null)),w===U.hoverPoint&&w.onMouseOut(),C&&C.enabled?(this.animateBeforeDestroy(),K(A,Y.duration)):A(),U.pointCount--},x.prototype.destroyElements=function(A){var w=this;A=w.getGraphicalProps(A),A.singular.forEach(function(C){w[C]=w[C].destroy()}),A.plural.forEach(function(C){w[C].forEach(function(U){U.element&&U.destroy()}),delete w[C]})},x.prototype.firePointEvent=function(A,w,C){var U=this,F=this.series.options;(F.point.events[A]||U.options&&U.options.events&&U.options.events[A])&&U.importEvents(),A==="click"&&F.allowPointSelect&&(C=function(Y){U.select&&U.select(null,Y.ctrlKey||Y.metaKey||Y.shiftKey)}),c(U,A,w,C)},x.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(typeof this.colorIndex!="undefined"?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},x.prototype.getGraphicalProps=function(A){var w=this,C=[],U={singular:[],plural:[]},F;for(A=A||{graphic:1,dataLabel:1},A.graphic&&C.push("graphic","upperGraphic","shadowGroup"),A.dataLabel&&C.push("dataLabel","dataLabelUpper","connector"),F=C.length;F--;){var Y=C[F];w[Y]&&U.singular.push(Y)}return["dataLabel","connector"].forEach(function(le){var ie=le+"s";A[le]&&w[ie]&&U.plural.push(ie)}),U},x.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}},x.prototype.getNestedProperty=function(A){if(A)return A.indexOf("custom.")===0?R(A,this.options):this[A]},x.prototype.getZone=function(){var A=this.series,w=A.zones;A=A.zoneAxis||"y";var C,U=0;for(C=w[U];this[A]>=C.value;)C=w[++U];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=C&&C.color&&!this.options.color?C.color:this.nonZonedColor,C},x.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},x.prototype.init=function(A,w,C){return this.series=A,this.applyOptions(w,C),this.id=T(this.id)?this.id:i(),this.resolveColor(),A.chart.pointCount++,c(this,"afterInit"),this},x.prototype.optionsToObject=function(A){var w=this.series,C=w.options.keys,U=C||w.pointArrayMap||["y"],F=U.length,Y={},le=0,ie=0;if(g(A)||A===null)Y[U[0]]=A;else if(B(A))for(!C&&A.length>F&&(w=typeof A[0],w==="string"?Y.name=A[0]:w==="number"&&(Y.x=A[0]),le++);ie<F;)C&&typeof A[le]=="undefined"||(0<U[ie].indexOf(".")?x.prototype.setNestedProperty(Y,A[le],U[ie]):Y[U[ie]]=A[le]),le++,ie++;else typeof A=="object"&&(Y=A,A.dataLabels&&(w._hasPointLabels=!0),A.marker&&(w._hasPointMarkers=!0));return Y},x.prototype.resolveColor=function(){var A=this.series,w=A.chart.styledMode,C=A.chart.options.chart.colorCount;if(delete this.nonZonedColor,A.options.colorByPoint){if(!w){C=A.options.colors||A.chart.options.colors;var U=C[A.colorCounter];C=C.length}w=A.colorCounter,A.colorCounter++,A.colorCounter===C&&(A.colorCounter=0)}else w||(U=A.color),w=A.colorIndex;this.colorIndex=E(this.options.colorIndex,w),this.color=E(this.options.color,U)},x.prototype.setNestedProperty=function(A,w,C){return C.split(".").reduce(function(U,F,Y,le){return U[F]=le.length-1===Y?w:p(U[F],!0)?U[F]:{},U[F]},A),A},x.prototype.tooltipFormatter=function(A){var w=this.series,C=w.tooltipOptions,U=E(C.valueDecimals,""),F=C.valuePrefix||"",Y=C.valueSuffix||"";return w.chart.styledMode&&(A=w.chart.tooltip.styledModeFormat(A)),(w.pointArrayMap||["y"]).forEach(function(le){le="{point."+le,(F||Y)&&(A=A.replace(RegExp(le+"}","g"),F+le+"}"+Y)),A=A.replace(RegExp(le+"}","g"),le+":,."+U+"f}")}),S(A,{point:this,series:this.series},w.chart)},x.prototype.update=function(A,w,C,U){function F(){Y.applyOptions(A);var Z=ie&&Y.hasDummyGraphic;Z=Y.y===null?!Z:Z,ie&&Z&&(Y.graphic=ie.destroy(),delete Y.hasDummyGraphic),p(A,!0)&&(ie&&ie.element&&A&&A.marker&&typeof A.marker.symbol!="undefined"&&(Y.graphic=ie.destroy()),A&&A.dataLabels&&Y.dataLabel&&(Y.dataLabel=Y.dataLabel.destroy()),Y.connector&&(Y.connector=Y.connector.destroy())),P=Y.index,le.updateParallelArrays(Y,P),ue.data[P]=p(ue.data[P],!0)||p(A,!0)?Y.options:E(A,ue.data[P]),le.isDirty=le.isDirtyData=!0,!le.fixedBox&&le.hasCartesianSeries&&(j.isDirtyBox=!0),ue.legendType==="point"&&(j.isDirtyLegend=!0),w&&j.redraw(C)}var Y=this,le=Y.series,ie=Y.graphic,j=le.chart,ue=le.options,P;w=E(w,!0),U===!1?F():Y.firePointEvent("update",{options:A},F)},x.prototype.remove=function(A,w){this.series.removePoint(this.series.data.indexOf(this),A,w)},x.prototype.select=function(A,w){var C=this,U=C.series,F=U.chart;this.selectedStaging=A=E(A,!C.selected),C.firePointEvent(A?"select":"unselect",{accumulate:w},function(){C.selected=C.options.selected=A,U.options.data[U.data.indexOf(C)]=C.options,C.setState(A&&"select"),w||F.getSelectedPoints().forEach(function(Y){var le=Y.series;Y.selected&&Y!==C&&(Y.selected=Y.options.selected=!1,le.options.data[le.data.indexOf(Y)]=Y.options,Y.setState(F.hoverPoints&&le.options.inactiveOtherPoints?"inactive":""),Y.firePointEvent("unselect"))})}),delete this.selectedStaging},x.prototype.onMouseOver=function(A){var w=this.series.chart,C=w.pointer;A=A?C.normalize(A):C.getChartCoordinatesFromPoint(this,w.inverted),C.runPointActions(A,this)},x.prototype.onMouseOut=function(){var A=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(A.hoverPoints||[]).forEach(function(w){w.setState()}),A.hoverPoints=A.hoverPoint=null},x.prototype.importEvents=function(){if(!this.hasImportedEvents){var A=this,w=O(A.series.options.point,A.options).events;A.events=w,I(w,function(C,U){X(C)&&J(A,U,C)}),this.hasImportedEvents=!0}},x.prototype.setState=function(A,w){var C=this.series,U=this.state,F=C.options.states[A||"normal"]||{},Y=se.plotOptions[C.type].marker&&C.options.marker,le=Y&&Y.enabled===!1,ie=Y&&Y.states&&Y.states[A||"normal"]||{},j=ie.enabled===!1,ue=this.marker||{},P=C.chart,Z=Y&&C.markerAttribs,ae=C.halo,ce,be=C.stateMarkerGraphic;if(A=A||"",!(A===this.state&&!w||this.selected&&A!=="select"||F.enabled===!1||A&&(j||le&&ie.enabled===!1)||A&&ue.states&&ue.states[A]&&ue.states[A].enabled===!1)){if(this.state=A,Z&&(ce=C.markerAttribs(this,A)),this.graphic&&!this.hasDummyGraphic){if(U&&this.graphic.removeClass("highcharts-point-"+U),A&&this.graphic.addClass("highcharts-point-"+A),!P.styledMode){var pe=C.pointAttribs(this,A),h=E(P.options.chart.animation,F.animation);C.options.inactiveOtherPoints&&g(pe.opacity)&&((this.dataLabels||[]).forEach(function(te){te&&te.animate({opacity:pe.opacity},h)}),this.connector&&this.connector.animate({opacity:pe.opacity},h)),this.graphic.animate(pe,h)}ce&&this.graphic.animate(ce,E(P.options.chart.animation,ie.animation,Y.animation)),be&&be.hide()}else A&&ie&&(U=ue.symbol||C.symbol,be&&be.currentSymbol!==U&&(be=be.destroy()),ce&&(be?be[w?"animate":"attr"]({x:ce.x,y:ce.y}):U&&(C.stateMarkerGraphic=be=P.renderer.symbol(U,ce.x,ce.y,ce.width,ce.height).add(C.markerGroup),be.currentSymbol=U)),!P.styledMode&&be&&this.state!=="inactive"&&be.attr(C.pointAttribs(this,A))),be&&(be[A&&this.isInside?"show":"hide"](),be.element.point=this,be.addClass(this.getClassName(),!0));F=F.halo,ce=(be=this.graphic||be)&&be.visibility||"inherit",F&&F.size&&be&&ce!=="hidden"&&!this.isCluster?(ae||(C.halo=ae=P.renderer.path().add(be.parentGroup)),ae.show()[w?"animate":"attr"]({d:this.haloPath(F.size)}),ae.attr({class:"highcharts-halo highcharts-color-"+E(this.colorIndex,C.colorIndex)+(this.className?" "+this.className:""),visibility:ce,zIndex:-1}),ae.point=this,P.styledMode||ae.attr(L({fill:this.color||C.color,"fill-opacity":F.opacity},m.filterUserAttributes(F.attributes||{})))):ae&&ae.point&&ae.point.haloPath&&ae.animate({d:ae.point.haloPath(0)},null,ae.hide),c(this,"afterSetState",{state:A})}},x.prototype.haloPath=function(A){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-A,this.plotY-A,2*A,2*A)},x}(),v}),l(u,"Core/Pointer.js",[u["Core/Color/Color.js"],u["Core/Globals.js"],u["Core/Tooltip.js"],u["Core/Utilities.js"]],function(m,v,M,ee){var W=m.parse,re=v.charts,se=v.noop,S=ee.addEvent,J=ee.attr,T=ee.css,V=ee.defined,L=ee.extend,c=ee.find,R=ee.fireEvent,B=ee.isNumber,X=ee.isObject,g=ee.objectEach,p=ee.offset,O=ee.pick,I=ee.splat;return m=function(){function E(K,d){this.lastValidTouch={},this.pinchDown=[],this.runChartClick=!1,this.eventsToUnbind=[],this.chart=K,this.hasDragged=!1,this.options=d,this.init(K,d)}return E.prototype.applyInactiveState=function(K){var d=[],i;(K||[]).forEach(function(x){i=x.series,d.push(i),i.linkedParent&&d.push(i.linkedParent),i.linkedSeries&&(d=d.concat(i.linkedSeries)),i.navigatorSeries&&d.push(i.navigatorSeries)}),this.chart.series.forEach(function(x){d.indexOf(x)===-1?x.setState("inactive",!0):x.options.inactiveOtherPoints&&x.setAllPointsToState("inactive")})},E.prototype.destroy=function(){var K=this;this.eventsToUnbind.forEach(function(d){return d()}),this.eventsToUnbind=[],v.chartCount||(E.unbindDocumentMouseUp&&(E.unbindDocumentMouseUp=E.unbindDocumentMouseUp()),E.unbindDocumentTouchEnd&&(E.unbindDocumentTouchEnd=E.unbindDocumentTouchEnd())),clearInterval(K.tooltipTimeout),g(K,function(d,i){K[i]=void 0})},E.prototype.drag=function(K){var d=this.chart,i=d.options.chart,x=this.zoomHor,A=this.zoomVert,w=d.plotLeft,C=d.plotTop,U=d.plotWidth,F=d.plotHeight,Y=this.mouseDownX||0,le=this.mouseDownY||0,ie=X(i.panning)?i.panning&&i.panning.enabled:i.panning,j=i.panKey&&K[i.panKey+"Key"],ue=K.chartX,P=K.chartY,Z=this.selectionMarker;if((!Z||!Z.touch)&&(ue<w?ue=w:ue>w+U&&(ue=w+U),P<C?P=C:P>C+F&&(P=C+F),this.hasDragged=Math.sqrt(Math.pow(Y-ue,2)+Math.pow(le-P,2)),10<this.hasDragged)){var ae=d.isInsidePlot(Y-w,le-C,{visiblePlotOnly:!0});!d.hasCartesianSeries&&!d.mapView||!this.zoomX&&!this.zoomY||!ae||j||Z||(this.selectionMarker=Z=d.renderer.rect(w,C,x?1:U,A?1:F,0).attr({class:"highcharts-selection-marker",zIndex:7}).add(),d.styledMode||Z.attr({fill:i.selectionMarkerFill||W("#335cad").setOpacity(.25).get()})),Z&&x&&(x=ue-Y,Z.attr({width:Math.abs(x),x:(0<x?0:x)+Y})),Z&&A&&(x=P-le,Z.attr({height:Math.abs(x),y:(0<x?0:x)+le})),ae&&!Z&&ie&&d.pan(K,i.panning)}},E.prototype.dragStart=function(K){var d=this.chart;d.mouseIsDown=K.type,d.cancelClick=!1,d.mouseDownX=this.mouseDownX=K.chartX,d.mouseDownY=this.mouseDownY=K.chartY},E.prototype.drop=function(K){var d=this,i=this.chart,x=this.hasPinched;if(this.selectionMarker){var A=this.selectionMarker,w=A.attr?A.attr("x"):A.x,C=A.attr?A.attr("y"):A.y,U=A.attr?A.attr("width"):A.width,F=A.attr?A.attr("height"):A.height,Y={originalEvent:K,xAxis:[],yAxis:[],x:w,y:C,width:U,height:F},le=!!i.mapView;(this.hasDragged||x)&&(i.axes.forEach(function(ie){if(ie.zoomEnabled&&V(ie.min)&&(x||d[{xAxis:"zoomX",yAxis:"zoomY"}[ie.coll]])&&B(w)&&B(C)){var j=ie.horiz,ue=K.type==="touchend"?ie.minPixelPadding:0,P=ie.toValue((j?w:C)+ue);j=ie.toValue((j?w+U:C+F)-ue),Y[ie.coll].push({axis:ie,min:Math.min(P,j),max:Math.max(P,j)}),le=!0}}),le&&R(i,"selection",Y,function(ie){i.zoom(L(ie,x?{animation:!1}:null))})),B(i.index)&&(this.selectionMarker=this.selectionMarker.destroy()),x&&this.scaleGroups()}i&&B(i.index)&&(T(i.container,{cursor:i._cursor}),i.cancelClick=10<this.hasDragged,i.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},E.prototype.findNearestKDPoint=function(K,d,i){var x=this.chart,A=x.hoverPoint;if(x=x.tooltip,A&&x&&x.isStickyOnContact())return A;var w;return K.forEach(function(C){var U=!(C.noSharedTooltip&&d)&&0>C.options.findNearestPointBy.indexOf("y");if(C=C.searchPoint(i,U),(U=X(C,!0)&&C.series)&&!(U=!X(w,!0))){U=w.distX-C.distX;var F=w.dist-C.dist,Y=(C.series.group&&C.series.group.zIndex)-(w.series.group&&w.series.group.zIndex);U=0<(U!==0&&d?U:F!==0?F:Y!==0?Y:w.series.index>C.series.index?-1:1)}U&&(w=C)}),w},E.prototype.getChartCoordinatesFromPoint=function(K,d){var i=K.series,x=i.xAxis;i=i.yAxis;var A=K.shapeArgs;if(x&&i){var w=O(K.clientX,K.plotX),C=K.plotY||0;return K.isNode&&A&&B(A.x)&&B(A.y)&&(w=A.x,C=A.y),d?{chartX:i.len+i.pos-C,chartY:x.len+x.pos-w}:{chartX:w+x.pos,chartY:C+i.pos}}if(A&&A.x&&A.y)return{chartX:A.x,chartY:A.y}},E.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var K=this.chart.container,d=p(K);this.chartPosition={left:d.left,top:d.top,scaleX:1,scaleY:1};var i=K.offsetWidth;return K=K.offsetHeight,2<i&&2<K&&(this.chartPosition.scaleX=d.width/i,this.chartPosition.scaleY=d.height/K),this.chartPosition},E.prototype.getCoordinates=function(K){var d={xAxis:[],yAxis:[]};return this.chart.axes.forEach(function(i){d[i.isXAxis?"xAxis":"yAxis"].push({axis:i,value:i.toValue(K[i.horiz?"chartX":"chartY"])})}),d},E.prototype.getHoverData=function(K,d,i,x,A,w){var C=[];x=!(!x||!K);var U={chartX:w?w.chartX:void 0,chartY:w?w.chartY:void 0,shared:A};R(this,"beforeGetHoverData",U);var F=d&&!d.stickyTracking?[d]:i.filter(function(le){return U.filter?U.filter(le):le.visible&&!(!A&&le.directTouch)&&O(le.options.enableMouseTracking,!0)&&le.stickyTracking}),Y=x||!w?K:this.findNearestKDPoint(F,A,w);return d=Y&&Y.series,Y&&(A&&!d.noSharedTooltip?(F=i.filter(function(le){return U.filter?U.filter(le):le.visible&&!(!A&&le.directTouch)&&O(le.options.enableMouseTracking,!0)&&!le.noSharedTooltip}),F.forEach(function(le){var ie=c(le.points,function(j){return j.x===Y.x&&!j.isNull});X(ie)&&(le.chart.isBoosting&&(ie=le.getPoint(ie)),C.push(ie))})):C.push(Y)),U={hoverPoint:Y},R(this,"afterGetHoverData",U),{hoverPoint:U.hoverPoint,hoverSeries:d,hoverPoints:C}},E.prototype.getPointFromEvent=function(K){K=K.target;for(var d;K&&!d;)d=K.point,K=K.parentNode;return d},E.prototype.onTrackerMouseOut=function(K){K=K.relatedTarget||K.toElement;var d=this.chart.hoverSeries;this.isDirectTouch=!1,!d||!K||d.stickyTracking||this.inClass(K,"highcharts-tooltip")||this.inClass(K,"highcharts-series-"+d.index)&&this.inClass(K,"highcharts-tracker")||d.onMouseOut()},E.prototype.inClass=function(K,d){for(var i;K;){if(i=J(K,"class")){if(i.indexOf(d)!==-1)return!0;if(i.indexOf("highcharts-container")!==-1)return!1}K=K.parentNode}},E.prototype.init=function(K,d){this.options=d,this.chart=K,this.runChartClick=!(!d.chart.events||!d.chart.events.click),this.pinchDown=[],this.lastValidTouch={},M&&(K.tooltip=new M(K,d.tooltip),this.followTouchMove=O(d.tooltip.followTouchMove,!0)),this.setDOMEvents()},E.prototype.normalize=function(K,d){var i=K.touches,x=i?i.length?i.item(0):O(i.changedTouches,K.changedTouches)[0]:K;return d||(d=this.getChartPosition()),i=x.pageX-d.left,x=x.pageY-d.top,i/=d.scaleX,x/=d.scaleY,L(K,{chartX:Math.round(i),chartY:Math.round(x)})},E.prototype.onContainerClick=function(K){var d=this.chart,i=d.hoverPoint;K=this.normalize(K);var x=d.plotLeft,A=d.plotTop;d.cancelClick||(i&&this.inClass(K.target,"highcharts-tracker")?(R(i.series,"click",L(K,{point:i})),d.hoverPoint&&i.firePointEvent("click",K)):(L(K,this.getCoordinates(K)),d.isInsidePlot(K.chartX-x,K.chartY-A,{visiblePlotOnly:!0})&&R(d,"click",K)))},E.prototype.onContainerMouseDown=function(K){var d=((K.buttons||K.button)&1)===1;K=this.normalize(K),v.isFirefox&&K.button!==0&&this.onContainerMouseMove(K),(typeof K.button=="undefined"||d)&&(this.zoomOption(K),d&&K.preventDefault&&K.preventDefault(),this.dragStart(K))},E.prototype.onContainerMouseLeave=function(K){var d=re[O(E.hoverChartIndex,-1)],i=this.chart.tooltip;i&&i.shouldStickOnContact()&&this.inClass(K.relatedTarget,"highcharts-tooltip-container")||(K=this.normalize(K),d&&(K.relatedTarget||K.toElement)&&(d.pointer.reset(),d.pointer.chartPosition=void 0),i&&!i.isHidden&&this.reset())},E.prototype.onContainerMouseEnter=function(K){delete this.chartPosition},E.prototype.onContainerMouseMove=function(K){var d=this.chart;K=this.normalize(K),this.setHoverChartIndex(),K.preventDefault||(K.returnValue=!1),(d.mouseIsDown==="mousedown"||this.touchSelect(K))&&this.drag(K),d.openMenu||!this.inClass(K.target,"highcharts-tracker")&&!d.isInsidePlot(K.chartX-d.plotLeft,K.chartY-d.plotTop,{visiblePlotOnly:!0})||(this.inClass(K.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(K))},E.prototype.onDocumentTouchEnd=function(K){var d=re[O(E.hoverChartIndex,-1)];d&&d.pointer.drop(K)},E.prototype.onContainerTouchMove=function(K){this.touchSelect(K)?this.onContainerMouseMove(K):this.touch(K)},E.prototype.onContainerTouchStart=function(K){this.touchSelect(K)?this.onContainerMouseDown(K):(this.zoomOption(K),this.touch(K,!0))},E.prototype.onDocumentMouseMove=function(K){var d=this.chart,i=this.chartPosition;K=this.normalize(K,i);var x=d.tooltip;!i||x&&x.isStickyOnContact()||d.isInsidePlot(K.chartX-d.plotLeft,K.chartY-d.plotTop,{visiblePlotOnly:!0})||this.inClass(K.target,"highcharts-tracker")||this.reset()},E.prototype.onDocumentMouseUp=function(K){var d=re[O(E.hoverChartIndex,-1)];d&&d.pointer.drop(K)},E.prototype.pinch=function(K){var d=this,i=d.chart,x=d.pinchDown,A=K.touches||[],w=A.length,C=d.lastValidTouch,U=d.hasZoom,F={},Y=w===1&&(d.inClass(K.target,"highcharts-tracker")&&i.runTrackerClick||d.runChartClick),le={},ie=d.selectionMarker;1<w?d.initiated=!0:w===1&&this.followTouchMove&&(d.initiated=!1),U&&d.initiated&&!Y&&K.cancelable!==!1&&K.preventDefault(),[].map.call(A,function(j){return d.normalize(j)}),K.type==="touchstart"?([].forEach.call(A,function(j,ue){x[ue]={chartX:j.chartX,chartY:j.chartY}}),C.x=[x[0].chartX,x[1]&&x[1].chartX],C.y=[x[0].chartY,x[1]&&x[1].chartY],i.axes.forEach(function(j){if(j.zoomEnabled){var ue=i.bounds[j.horiz?"h":"v"],P=j.minPixelPadding,Z=j.toPixels(Math.min(O(j.options.min,j.dataMin),j.dataMin)),ae=j.toPixels(Math.max(O(j.options.max,j.dataMax),j.dataMax)),ce=Math.max(Z,ae);ue.min=Math.min(j.pos,Math.min(Z,ae)-P),ue.max=Math.max(j.pos+j.len,ce+P)}}),d.res=!0):d.followTouchMove&&w===1?this.runPointActions(d.normalize(K)):x.length&&(R(i,"touchpan",{originalEvent:K},function(){ie||(d.selectionMarker=ie=L({destroy:se,touch:!0},i.plotBox)),d.pinchTranslate(x,A,F,ie,le,C),d.hasPinched=U,d.scaleGroups(F,le)}),d.res&&(d.res=!1,this.reset(!1,0)))},E.prototype.pinchTranslate=function(K,d,i,x,A,w){this.zoomHor&&this.pinchTranslateDirection(!0,K,d,i,x,A,w),this.zoomVert&&this.pinchTranslateDirection(!1,K,d,i,x,A,w)},E.prototype.pinchTranslateDirection=function(K,d,i,x,A,w,C,U){var F=this.chart,Y=K?"x":"y",le=K?"X":"Y",ie="chart"+le,j=K?"width":"height",ue=F["plot"+(K?"Left":"Top")],P=F.inverted,Z=F.bounds[K?"h":"v"],ae=d.length===1,ce=d[0][ie],be=!ae&&d[1][ie];d=function(){typeof we=="number"&&20<Math.abs(ce-be)&&(te=U||Math.abs(Q-we)/Math.abs(ce-be)),h=(ue-Q)/te+ce,pe=F["plot"+(K?"Width":"Height")]/te};var pe,h,te=U||1,Q=i[0][ie],we=!ae&&i[1][ie];if(d(),i=h,i<Z.min){i=Z.min;var Se=!0}else i+pe>Z.max&&(i=Z.max-pe,Se=!0);Se?(Q-=.8*(Q-C[Y][0]),typeof we=="number"&&(we-=.8*(we-C[Y][1])),d()):C[Y]=[Q,we],P||(w[Y]=h-ue,w[j]=pe),w=P?1/te:te,A[j]=pe,A[Y]=i,x[P?K?"scaleY":"scaleX":"scale"+le]=te,x["translate"+le]=w*ue+(Q-w*ce)},E.prototype.reset=function(K,d){var i=this.chart,x=i.hoverSeries,A=i.hoverPoint,w=i.hoverPoints,C=i.tooltip,U=C&&C.shared?w:A;K&&U&&I(U).forEach(function(F){F.series.isCartesian&&typeof F.plotX=="undefined"&&(K=!1)}),K?C&&U&&I(U).length&&(C.refresh(U),C.shared&&w?w.forEach(function(F){F.setState(F.state,!0),F.series.isCartesian&&(F.series.xAxis.crosshair&&F.series.xAxis.drawCrosshair(null,F),F.series.yAxis.crosshair&&F.series.yAxis.drawCrosshair(null,F))}):A&&(A.setState(A.state,!0),i.axes.forEach(function(F){F.crosshair&&A.series[F.coll]===F&&F.drawCrosshair(null,A)}))):(A&&A.onMouseOut(),w&&w.forEach(function(F){F.setState()}),x&&x.onMouseOut(),C&&C.hide(d),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),i.axes.forEach(function(F){F.hideCrosshair()}),this.hoverX=i.hoverPoints=i.hoverPoint=null)},E.prototype.runPointActions=function(K,d){var i=this.chart,x=i.tooltip&&i.tooltip.options.enabled?i.tooltip:void 0,A=x?x.shared:!1,w=d||i.hoverPoint,C=w&&w.series||i.hoverSeries;d=this.getHoverData(w,C,i.series,(!K||K.type!=="touchmove")&&(!!d||C&&C.directTouch&&this.isDirectTouch),A,K),w=d.hoverPoint,C=d.hoverSeries;var U=d.hoverPoints;if(d=C&&C.tooltipOptions.followPointer&&!C.tooltipOptions.split,A=A&&C&&!C.noSharedTooltip,w&&(w!==i.hoverPoint||x&&x.isHidden)){if((i.hoverPoints||[]).forEach(function(F){U.indexOf(F)===-1&&F.setState()}),i.hoverSeries!==C&&C.onMouseOver(),this.applyInactiveState(U),(U||[]).forEach(function(F){F.setState("hover")}),i.hoverPoint&&i.hoverPoint.firePointEvent("mouseOut"),!w.series)return;i.hoverPoints=U,i.hoverPoint=w,w.firePointEvent("mouseOver"),x&&x.refresh(A?U:w,K)}else d&&x&&!x.isHidden&&(w=x.getAnchor([{}],K),i.isInsidePlot(w[0],w[1],{visiblePlotOnly:!0})&&x.updatePosition({plotX:w[0],plotY:w[1]}));this.unDocMouseMove||(this.unDocMouseMove=S(i.container.ownerDocument,"mousemove",function(F){var Y=re[E.hoverChartIndex];Y&&Y.pointer.onDocumentMouseMove(F)}),this.eventsToUnbind.push(this.unDocMouseMove)),i.axes.forEach(function(F){var Y=O((F.crosshair||{}).snap,!0),le;Y&&((le=i.hoverPoint)&&le.series[F.coll]===F||(le=c(U,function(ie){return ie.series[F.coll]===F}))),le||!Y?F.drawCrosshair(K,le):F.hideCrosshair()})},E.prototype.scaleGroups=function(K,d){var i=this.chart;i.series.forEach(function(x){var A=K||x.getPlotBox();x.group&&(x.xAxis&&x.xAxis.zoomEnabled||i.mapView)&&(x.group.attr(A),x.markerGroup&&(x.markerGroup.attr(A),x.markerGroup.clip(d?i.clipRect:null)),x.dataLabelsGroup&&x.dataLabelsGroup.attr(A))}),i.clipRect.attr(d||i.clipBox)},E.prototype.setDOMEvents=function(){var K=this,d=this.chart.container,i=d.ownerDocument;d.onmousedown=this.onContainerMouseDown.bind(this),d.onmousemove=this.onContainerMouseMove.bind(this),d.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(S(d,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(S(d,"mouseleave",this.onContainerMouseLeave.bind(this))),E.unbindDocumentMouseUp||(E.unbindDocumentMouseUp=S(i,"mouseup",this.onDocumentMouseUp.bind(this)));for(var x=this.chart.renderTo.parentElement;x&&x.tagName!=="BODY";)this.eventsToUnbind.push(S(x,"scroll",function(){delete K.chartPosition})),x=x.parentElement;v.hasTouch&&(this.eventsToUnbind.push(S(d,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(S(d,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),E.unbindDocumentTouchEnd||(E.unbindDocumentTouchEnd=S(i,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},E.prototype.setHoverChartIndex=function(){var K=this.chart,d=v.charts[O(E.hoverChartIndex,-1)];d&&d!==K&&d.pointer.onContainerMouseLeave({relatedTarget:!0}),d&&d.mouseIsDown||(E.hoverChartIndex=K.index)},E.prototype.touch=function(K,d){var i=this.chart,x;if(this.setHoverChartIndex(),K.touches.length===1)if(K=this.normalize(K),(x=i.isInsidePlot(K.chartX-i.plotLeft,K.chartY-i.plotTop,{visiblePlotOnly:!0}))&&!i.openMenu){if(d&&this.runPointActions(K),K.type==="touchmove"){d=this.pinchDown;var A=d[0]?4<=Math.sqrt(Math.pow(d[0].chartX-K.chartX,2)+Math.pow(d[0].chartY-K.chartY,2)):!1}O(A,!0)&&this.pinch(K)}else d&&this.reset();else K.touches.length===2&&this.pinch(K)},E.prototype.touchSelect=function(K){return!(!this.chart.options.chart.zoomBySingleTouch||!K.touches||K.touches.length!==1)},E.prototype.zoomOption=function(K){var d=this.chart,i=d.options.chart;d=d.inverted;var x=i.zoomType||"";/touch/.test(K.type)&&(x=O(i.pinchType,x)),this.zoomX=K=/x/.test(x),this.zoomY=i=/y/.test(x),this.zoomHor=K&&!d||i&&d,this.zoomVert=i&&!d||K&&d,this.hasZoom=K||i},E}(),m}),l(u,"Core/MSPointer.js",[u["Core/Globals.js"],u["Core/Pointer.js"],u["Core/Utilities.js"]],function(m,v,M){function ee(){var g=[];return g.item=function(p){return this[p]},c(B,function(p){g.push({pageX:p.pageX,pageY:p.pageY,target:p.target})}),g}function W(g,p,O,I){var E=se[v.hoverChartIndex||NaN];g.pointerType!=="touch"&&g.pointerType!==g.MSPOINTER_TYPE_TOUCH||!E||(E=E.pointer,I(g),E[p]({type:O,target:g.currentTarget,preventDefault:J,touches:ee()}))}var re=this&&this.__extends||function(){var g=function(p,O){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(I,E){I.__proto__=E}||function(I,E){for(var K in E)E.hasOwnProperty(K)&&(I[K]=E[K])},g(p,O)};return function(p,O){function I(){this.constructor=p}g(p,O),p.prototype=O===null?Object.create(O):(I.prototype=O.prototype,new I)}}(),se=m.charts,S=m.doc,J=m.noop,T=m.win,V=M.addEvent,L=M.css,c=M.objectEach,R=M.removeEvent,B={},X=!!T.PointerEvent;return function(g){function p(){return g!==null&&g.apply(this,arguments)||this}return re(p,g),p.isRequired=function(){return!(m.hasTouch||!T.PointerEvent&&!T.MSPointerEvent)},p.prototype.batchMSEvents=function(O){O(this.chart.container,X?"pointerdown":"MSPointerDown",this.onContainerPointerDown),O(this.chart.container,X?"pointermove":"MSPointerMove",this.onContainerPointerMove),O(S,X?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},p.prototype.destroy=function(){this.batchMSEvents(R),g.prototype.destroy.call(this)},p.prototype.init=function(O,I){g.prototype.init.call(this,O,I),this.hasZoom&&L(O.container,{"-ms-touch-action":"none","touch-action":"none"})},p.prototype.onContainerPointerDown=function(O){W(O,"onContainerTouchStart","touchstart",function(I){B[I.pointerId]={pageX:I.pageX,pageY:I.pageY,target:I.currentTarget}})},p.prototype.onContainerPointerMove=function(O){W(O,"onContainerTouchMove","touchmove",function(I){B[I.pointerId]={pageX:I.pageX,pageY:I.pageY},B[I.pointerId].target||(B[I.pointerId].target=I.currentTarget)})},p.prototype.onDocumentPointerUp=function(O){W(O,"onDocumentTouchEnd","touchend",function(I){delete B[I.pointerId]})},p.prototype.setDOMEvents=function(){g.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(V)},p}(v)}),l(u,"Core/Legend/Legend.js",[u["Core/Animation/AnimationUtilities.js"],u["Core/FormatUtilities.js"],u["Core/Globals.js"],u["Core/Series/Point.js"],u["Core/Renderer/RendererUtilities.js"],u["Core/Utilities.js"]],function(m,v,M,ee,W,re){var se=m.animObject,S=m.setAnimation,J=v.format;m=M.isFirefox;var T=M.marginNames;M=M.win;var V=W.distribute,L=re.addEvent,c=re.createElement,R=re.css,B=re.defined,X=re.discardElement,g=re.find,p=re.fireEvent,O=re.isNumber,I=re.merge,E=re.pick,K=re.relativeLength,d=re.stableSort,i=re.syncTimeout;return W=re.wrap,re=function(){function x(A,w){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=A,this.init(A,w)}return x.prototype.init=function(A,w){this.chart=A,this.setOptions(w),w.enabled&&(this.render(),L(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=L(this.chart,"render",function(){this.legend.proximatePositions(),this.legend.positionItems()}):this.unchartrender&&this.unchartrender())},x.prototype.setOptions=function(A){var w=E(A.padding,8);this.options=A,this.chart.styledMode||(this.itemStyle=A.itemStyle,this.itemHiddenStyle=I(this.itemStyle,A.itemHiddenStyle)),this.itemMarginTop=A.itemMarginTop||0,this.itemMarginBottom=A.itemMarginBottom||0,this.padding=w,this.initialItemY=w-5,this.symbolWidth=E(A.symbolWidth,16),this.pages=[],this.proximate=A.layout==="proximate"&&!this.chart.inverted,this.baseline=void 0},x.prototype.update=function(A,w){var C=this.chart;this.setOptions(I(!0,this.options,A)),this.destroy(),C.isDirtyLegend=C.isDirtyBox=!0,E(w,!0)&&C.redraw(),p(this,"afterUpdate")},x.prototype.colorizeItem=function(A,w){if(A.legendGroup[w?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var C=this.options,U=A.legendItem,F=A.legendLine,Y=A.legendSymbol,le=this.itemHiddenStyle.color;C=w?C.itemStyle.color:le;var ie=w&&A.color||le,j=A.options&&A.options.marker,ue={fill:ie};U&&U.css({fill:C,color:C}),F&&F.attr({stroke:ie}),Y&&(j&&Y.isMarker&&(ue=A.pointAttribs(),w||(ue.stroke=ue.fill=le)),Y.attr(ue))}p(this,"afterColorizeItem",{item:A,visible:w})},x.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},x.prototype.positionItem=function(A){var w=this,C=this.options,U=C.symbolPadding,F=!C.rtl,Y=A._legendItemPos;C=Y[0],Y=Y[1];var le=A.checkbox,ie=A.legendGroup;ie&&ie.element&&(U={translateX:F?C:this.legendWidth-C-2*U-4,translateY:Y},F=function(){p(w,"afterPositionItem",{item:A})},B(ie.translateY)?ie.animate(U,void 0,F):(ie.attr(U),F())),le&&(le.x=C,le.y=Y)},x.prototype.destroyItem=function(A){var w=A.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach(function(C){A[C]&&(A[C]=A[C].destroy())}),w&&X(A.checkbox)},x.prototype.destroy=function(){function A(w){this[w]&&(this[w]=this[w].destroy())}this.getAllItems().forEach(function(w){["legendItem","legendGroup"].forEach(A,w)}),"clipRect up down pager nav box title group".split(" ").forEach(A,this),this.display=null},x.prototype.positionCheckboxes=function(){var A=this.group&&this.group.alignAttr,w=this.clipHeight||this.legendHeight,C=this.titleHeight;if(A){var U=A.translateY;this.allItems.forEach(function(F){var Y=F.checkbox;if(Y){var le=U+C+Y.y+(this.scrollOffset||0)+3;R(Y,{left:A.translateX+F.checkboxOffset+Y.x-20+"px",top:le+"px",display:this.proximate||le>U-6&&le<U+w-6?"":"none"})}},this)}},x.prototype.renderTitle=function(){var A=this.options,w=this.padding,C=A.title,U=0;C.text&&(this.title||(this.title=this.chart.renderer.label(C.text,w-3,w-4,null,null,null,A.useHTML,null,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(C.style),this.title.add(this.group)),C.width||this.title.css({width:this.maxLegendWidth+"px"}),A=this.title.getBBox(),U=A.height,this.offsetWidth=A.width,this.contentGroup.attr({translateY:U})),this.titleHeight=U},x.prototype.setText=function(A){var w=this.options;A.legendItem.attr({text:w.labelFormat?J(w.labelFormat,A,this.chart):w.labelFormatter.call(A)})},x.prototype.renderItem=function(A){var w=this.chart,C=w.renderer,U=this.options,F=this.symbolWidth,Y=U.symbolPadding||0,le=this.itemStyle,ie=this.itemHiddenStyle,j=U.layout==="horizontal"?E(U.itemDistance,20):0,ue=!U.rtl,P=!A.series,Z=!P&&A.series.drawLegendSymbol?A.series:A,ae=Z.options,ce=this.createCheckboxForItem&&ae&&ae.showCheckbox,be=U.useHTML,pe=A.options.className,h=A.legendItem;ae=F+Y+j+(ce?20:0),h||(A.legendGroup=C.g("legend-item").addClass("highcharts-"+Z.type+"-series highcharts-color-"+A.colorIndex+(pe?" "+pe:"")+(P?" highcharts-series-"+A.index:"")).attr({zIndex:1}).add(this.scrollGroup),A.legendItem=h=C.text("",ue?F+Y:-Y,this.baseline||0,be),w.styledMode||h.css(I(A.visible?le:ie)),h.attr({align:ue?"left":"right",zIndex:2}).add(A.legendGroup),this.baseline||(this.fontMetrics=C.fontMetrics(w.styledMode?12:le.fontSize,h),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,h.attr("y",this.baseline),this.symbolHeight=U.symbolHeight||this.fontMetrics.f,U.squareSymbol&&(this.symbolWidth=E(U.symbolWidth,Math.max(this.symbolHeight,16)),ae=this.symbolWidth+Y+j+(ce?20:0),ue&&h.attr("x",this.symbolWidth+Y))),Z.drawLegendSymbol(this,A),this.setItemEvents&&this.setItemEvents(A,h,be)),ce&&!A.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(A),this.colorizeItem(A,A.visible),!w.styledMode&&le.width||h.css({width:(U.itemWidth||this.widthOption||w.spacingBox.width)-ae+"px"}),this.setText(A),w=h.getBBox(),C=this.fontMetrics&&this.fontMetrics.h||0,A.itemWidth=A.checkboxOffset=U.itemWidth||A.legendItemWidth||w.width+ae,this.maxItemWidth=Math.max(this.maxItemWidth,A.itemWidth),this.totalItemWidth+=A.itemWidth,this.itemHeight=A.itemHeight=Math.round(A.legendItemHeight||(w.height>1.5*C?w.height:C))},x.prototype.layoutItem=function(A){var w=this.options,C=this.padding,U=w.layout==="horizontal",F=A.itemHeight,Y=this.itemMarginBottom,le=this.itemMarginTop,ie=U?E(w.itemDistance,20):0,j=this.maxLegendWidth;w=w.alignColumns&&this.totalItemWidth>j?this.maxItemWidth:A.itemWidth,U&&this.itemX-C+w>j&&(this.itemX=C,this.lastLineHeight&&(this.itemY+=le+this.lastLineHeight+Y),this.lastLineHeight=0),this.lastItemY=le+this.itemY+Y,this.lastLineHeight=Math.max(F,this.lastLineHeight),A._legendItemPos=[this.itemX,this.itemY],U?this.itemX+=w:(this.itemY+=le+F+Y,this.lastLineHeight=F),this.offsetWidth=this.widthOption||Math.max((U?this.itemX-C-(A.checkbox?0:ie):w)+C,this.offsetWidth)},x.prototype.getAllItems=function(){var A=[];return this.chart.series.forEach(function(w){var C=w&&w.options;w&&E(C.showInLegend,B(C.linkedTo)?!1:void 0,!0)&&(A=A.concat(w.legendItems||(C.legendType==="point"?w.data:w)))}),p(this,"afterGetAllItems",{allItems:A}),A},x.prototype.getAlignment=function(){var A=this.options;return this.proximate?A.align.charAt(0)+"tv":A.floating?"":A.align.charAt(0)+A.verticalAlign.charAt(0)+A.layout.charAt(0)},x.prototype.adjustMargins=function(A,w){var C=this.chart,U=this.options,F=this.getAlignment();F&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(Y,le){Y.test(F)&&!B(A[le])&&(C[T[le]]=Math.max(C[T[le]],C.legend[(le+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][le]*U[le%2?"x":"y"]+E(U.margin,12)+w[le]+(C.titleOffset[le]||0)))})},x.prototype.proximatePositions=function(){var A=this.chart,w=[],C=this.options.align==="left";this.allItems.forEach(function(U){var F,Y=C;if(U.yAxis){U.xAxis.options.reversed&&(Y=!Y),U.points&&(F=g(Y?U.points:U.points.slice(0).reverse(),function(ie){return O(ie.plotY)})),Y=this.itemMarginTop+U.legendItem.getBBox().height+this.itemMarginBottom;var le=U.yAxis.top-A.plotTop;U.visible?(F=F?F.plotY:U.yAxis.height,F+=le-.3*Y):F=le+U.yAxis.height,w.push({target:F,size:Y,item:U})}},this),V(w,A.plotHeight).forEach(function(U){U.item._legendItemPos&&(U.item._legendItemPos[1]=A.plotTop-A.spacing[0]+U.pos)})},x.prototype.render=function(){var A=this.chart,w=A.renderer,C=this.options,U=this.padding,F=this.getAllItems(),Y=this.group,le=this.box;this.itemX=U,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=K(C.width,A.spacingBox.width-U);var ie=A.spacingBox.width-2*U-C.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(ie/=2),this.maxLegendWidth=this.widthOption||ie,Y||(this.group=Y=w.g("legend").addClass(C.className||"").attr({zIndex:7}).add(),this.contentGroup=w.g().attr({zIndex:1}).add(Y),this.scrollGroup=w.g().add(this.contentGroup)),this.renderTitle(),d(F,function(ue,P){return(ue.options&&ue.options.legendIndex||0)-(P.options&&P.options.legendIndex||0)}),C.reversed&&F.reverse(),this.allItems=F,this.display=ie=!!F.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,F.forEach(this.renderItem,this),F.forEach(this.layoutItem,this),F=(this.widthOption||this.offsetWidth)+U;var j=this.lastItemY+this.lastLineHeight+this.titleHeight;j=this.handleOverflow(j),j+=U,le||(this.box=le=w.rect().addClass("highcharts-legend-box").attr({r:C.borderRadius}).add(Y),le.isNew=!0),A.styledMode||le.attr({stroke:C.borderColor,"stroke-width":C.borderWidth||0,fill:C.backgroundColor||"none"}).shadow(C.shadow),0<F&&0<j&&(le[le.isNew?"attr":"animate"](le.crisp.call({},{x:0,y:0,width:F,height:j},le.strokeWidth())),le.isNew=!1),le[ie?"show":"hide"](),A.styledMode&&Y.getStyle("display")==="none"&&(F=j=0),this.legendWidth=F,this.legendHeight=j,ie&&this.align(),this.proximate||this.positionItems(),p(this,"afterRender")},x.prototype.align=function(A){A===void 0&&(A=this.chart.spacingBox);var w=this.chart,C=this.options,U=A.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<w.titleOffset[0]?U+=w.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<w.titleOffset[2]&&(U-=w.titleOffset[2]),U!==A.y&&(A=I(A,{y:U})),this.group.align(I(C,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":C.verticalAlign}),!0,A)},x.prototype.handleOverflow=function(A){var w=this,C=this.chart,U=C.renderer,F=this.options,Y=F.y,le=F.verticalAlign==="top",ie=this.padding,j=F.maxHeight,ue=F.navigation,P=E(ue.animation,!0),Z=ue.arrowSize||12,ae=this.pages,ce=this.allItems,be=function(Se){typeof Se=="number"?we.attr({height:Se}):we&&(w.clipRect=we.destroy(),w.contentGroup.clip()),w.contentGroup.div&&(w.contentGroup.div.style.clip=Se?"rect("+ie+"px,9999px,"+(ie+Se)+"px,0)":"auto")},pe=function(Se){return w[Se]=U.circle(0,0,1.3*Z).translate(Z/2,Z/2).add(Q),C.styledMode||w[Se].attr("fill","rgba(0,0,0,0.0001)"),w[Se]},h,te;Y=C.spacingBox.height+(le?-Y:Y)-ie;var Q=this.nav,we=this.clipRect;return F.layout!=="horizontal"||F.verticalAlign==="middle"||F.floating||(Y/=2),j&&(Y=Math.min(Y,j)),ae.length=0,A&&0<Y&&A>Y&&ue.enabled!==!1?(this.clipHeight=h=Math.max(Y-20-this.titleHeight-ie,0),this.currentPage=E(this.currentPage,1),this.fullHeight=A,ce.forEach(function(Se,Ne){var ze=Se._legendItemPos[1],Je=Math.round(Se.legendItem.getBBox().height),qe=ae.length;(!qe||ze-ae[qe-1]>h&&(te||ze)!==ae[qe-1])&&(ae.push(te||ze),qe++),Se.pageIx=qe-1,te&&(ce[Ne-1].pageIx=qe-1),Ne===ce.length-1&&ze+Je-ae[qe-1]>h&&Je<=h&&(ae.push(ze),Se.pageIx=qe),ze!==te&&(te=ze)}),we||(we=w.clipRect=U.clipRect(0,ie,9999,0),w.contentGroup.clip(we)),be(h),Q||(this.nav=Q=U.g().attr({zIndex:1}).add(this.group),this.up=U.symbol("triangle",0,0,Z,Z).add(Q),pe("upTracker").on("click",function(){w.scroll(-1,P)}),this.pager=U.text("",15,10).addClass("highcharts-legend-navigation"),C.styledMode||this.pager.css(ue.style),this.pager.add(Q),this.down=U.symbol("triangle-down",0,0,Z,Z).add(Q),pe("downTracker").on("click",function(){w.scroll(1,P)})),w.scroll(0),A=Y):Q&&(be(),this.nav=Q.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),A},x.prototype.scroll=function(A,w){var C=this,U=this.chart,F=this.pages,Y=F.length,le=this.clipHeight,ie=this.options.navigation,j=this.pager,ue=this.padding,P=this.currentPage+A;P>Y&&(P=Y),0<P&&(typeof w!="undefined"&&S(w,U),this.nav.attr({translateX:ue,translateY:le+this.padding+7+this.titleHeight,visibility:"visible"}),[this.up,this.upTracker].forEach(function(Z){Z.attr({class:P===1?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),j.attr({text:P+"/"+Y}),[this.down,this.downTracker].forEach(function(Z){Z.attr({x:18+this.pager.getBBox().width,class:P===Y?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),U.styledMode||(this.up.attr({fill:P===1?ie.inactiveColor:ie.activeColor}),this.upTracker.css({cursor:P===1?"default":"pointer"}),this.down.attr({fill:P===Y?ie.inactiveColor:ie.activeColor}),this.downTracker.css({cursor:P===Y?"default":"pointer"})),this.scrollOffset=-F[P-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=P,this.positionCheckboxes(),A=se(E(w,U.renderer.globalAnimation,!0)),i(function(){p(C,"afterScroll",{currentPage:P})},A.duration))},x.prototype.setItemEvents=function(A,w,C){var U=this,F=U.chart.renderer.boxWrapper,Y=A instanceof ee,le="highcharts-legend-"+(Y?"point":"series")+"-active",ie=U.chart.styledMode,j=function(ue){U.allItems.forEach(function(P){A!==P&&[P].concat(P.linkedSeries||[]).forEach(function(Z){Z.setState(ue,!Y)})})};(C?[w,A.legendSymbol]:[A.legendGroup]).forEach(function(ue){ue&&ue.on("mouseover",function(){A.visible&&j("inactive"),A.setState("hover"),A.visible&&F.addClass(le),ie||w.css(U.options.itemHoverStyle)}).on("mouseout",function(){U.chart.styledMode||w.css(I(A.visible?U.itemStyle:U.itemHiddenStyle)),j(""),F.removeClass(le),A.setState()}).on("click",function(P){var Z=function(){A.setVisible&&A.setVisible(),j(A.visible?"inactive":"")};F.removeClass(le),P={browserEvent:P},A.firePointEvent?A.firePointEvent("legendItemClick",P,Z):p(A,"legendItemClick",P,Z)})})},x.prototype.createCheckboxForItem=function(A){A.checkbox=c("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:A.selected,defaultChecked:A.selected},this.options.itemCheckboxStyle,this.chart.container),L(A.checkbox,"click",function(w){p(A.series||A,"checkboxClick",{checked:w.target.checked,item:A},function(){A.select()})})},x}(),(/Trident\/7\.0/.test(M.navigator&&M.navigator.userAgent)||m)&&W(re.prototype,"positionItem",function(x,A){var w=this,C=function(){A._legendItemPos&&x.call(w,A)};C(),w.bubbleLegend||setTimeout(C)}),re}),l(u,"Core/Series/SeriesRegistry.js",[u["Core/Globals.js"],u["Core/DefaultOptions.js"],u["Core/Series/Point.js"],u["Core/Utilities.js"]],function(m,v,M,ee){var W=v.defaultOptions,re=ee.error,se=ee.extendClass,S=ee.merge,J;return function(T){function V(L,c){var R=W.plotOptions||{},B=c.defaultOptions;c.prototype.pointClass||(c.prototype.pointClass=M),c.prototype.type=L,B&&(R[L]=B),T.seriesTypes[L]=c}T.seriesTypes=m.seriesTypes,T.getSeries=function(L,c){c===void 0&&(c={});var R=L.options.chart;R=c.type||R.type||R.defaultSeriesType||"";var B=T.seriesTypes[R];return T||re(17,!0,L,{missingModuleFor:R}),R=new B,typeof R.init=="function"&&R.init(L,c),R},T.registerSeriesType=V,T.seriesType=function(L,c,R,B,X){var g=W.plotOptions||{};return c=c||"",g[L]=S(g[c],R),V(L,se(T.seriesTypes[c]||function(){},B)),T.seriesTypes[L].prototype.type=L,X&&(T.seriesTypes[L].prototype.pointClass=se(M,X)),T.seriesTypes[L]}}(J||(J={})),J}),l(u,"Core/Chart/Chart.js",[u["Core/Animation/AnimationUtilities.js"],u["Core/Axis/Axis.js"],u["Core/FormatUtilities.js"],u["Core/Foundation.js"],u["Core/Globals.js"],u["Core/Legend/Legend.js"],u["Core/MSPointer.js"],u["Core/DefaultOptions.js"],u["Core/Pointer.js"],u["Core/Renderer/RendererRegistry.js"],u["Core/Series/SeriesRegistry.js"],u["Core/Renderer/SVG/SVGRenderer.js"],u["Core/Time.js"],u["Core/Utilities.js"],u["Core/Renderer/HTML/AST.js"]],function(m,v,M,ee,W,re,se,S,J,T,V,L,c,R,B){var X=m.animate,g=m.animObject,p=m.setAnimation,O=M.numberFormat,I=ee.registerEventOptions,E=W.charts,K=W.doc,d=W.marginNames,i=W.svg,x=W.win,A=S.defaultOptions,w=S.defaultTime,C=V.seriesTypes,U=R.addEvent,F=R.attr,Y=R.cleanRecursively,le=R.createElement,ie=R.css,j=R.defined,ue=R.discardElement,P=R.erase,Z=R.error,ae=R.extend,ce=R.find,be=R.fireEvent,pe=R.getStyle,h=R.isArray,te=R.isNumber,Q=R.isObject,we=R.isString,Se=R.merge,Ne=R.objectEach,ze=R.pick,Je=R.pInt,qe=R.relativeLength,Me=R.removeEvent,Fe=R.splat,Ue=R.syncTimeout,he=R.uniqueKey;return m=function(){function xe(q,me,De){this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.legend=this.labelCollectors=this.isResizing=this.index=this.eventOptions=this.container=this.colorCounter=this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0,this.sharedClips={},this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=this.spacing=void 0,this.getArgs(q,me,De)}return xe.chart=function(q,me,De){return new xe(q,me,De)},xe.prototype.getArgs=function(q,me,De){we(q)||q.nodeName?(this.renderTo=q,this.init(me,De)):this.init(q,me)},xe.prototype.init=function(q,me){var De=q.plotOptions||{};be(this,"init",{args:arguments},function(){var Te=Se(A,q),Oe=Te.chart;Ne(Te.plotOptions,function(st,Ft){Q(st)&&(st.tooltip=De[Ft]&&Se(De[Ft].tooltip)||void 0)}),Te.tooltip.userOptions=q.chart&&q.chart.forExport&&q.tooltip.userOptions||q.tooltip,this.userOptions=q,this.margin=[],this.spacing=[],this.bounds={h:{},v:{}},this.labelCollectors=[],this.callback=me,this.isResizing=0,this.options=Te,this.axes=[],this.series=[],this.time=q.time&&Object.keys(q.time).length?new c(q.time):W.time,this.numberFormatter=Oe.numberFormatter||O,this.styledMode=Oe.styledMode,this.hasCartesianSeries=Oe.showAxes,this.index=E.length,E.push(this),W.chartCount++,I(this,Oe),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,be(this,"afterInit"),this.firstRender()})},xe.prototype.initSeries=function(q){var me=this.options.chart;me=q.type||me.type||me.defaultSeriesType;var De=C[me];return De||Z(17,!0,this,{missingModuleFor:me}),me=new De,typeof me.init=="function"&&me.init(this,q),me},xe.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach(function(q){q.points||q.data||!q.enabledDataSorting||q.setData(q.options.data,!1)})},xe.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort(function(q,me){return q.linkedSeries.length||me.linkedSeries.length?me.linkedSeries.length-q.linkedSeries.length:0})},xe.prototype.orderSeries=function(q){var me=this.series;q=q||0;for(var De=me.length;q<De;++q)me[q]&&(me[q].index=q,me[q].name=me[q].getName())},xe.prototype.isInsidePlot=function(q,me,De){De===void 0&&(De={});var Te=this.inverted,Oe=this.plotBox,st=this.plotLeft,Ft=this.plotTop,Qt=this.scrollablePlotBox,Vt=0,Gt=0;De.visiblePlotOnly&&this.scrollingContainer&&(Gt=this.scrollingContainer,Vt=Gt.scrollLeft,Gt=Gt.scrollTop);var Jt=De.series;if(Oe=De.visiblePlotOnly&&Qt||Oe,Qt=De.inverted?me:q,me=De.inverted?q:me,q={x:Qt,y:me,isInsidePlot:!0},!De.ignoreX){var Lr=Jt&&(Te?Jt.yAxis:Jt.xAxis)||{pos:st,len:1/0};Qt=De.paneCoordinates?Lr.pos+Qt:st+Qt,Qt>=Math.max(Vt+st,Lr.pos)&&Qt<=Math.min(Vt+st+Oe.width,Lr.pos+Lr.len)||(q.isInsidePlot=!1)}return!De.ignoreY&&q.isInsidePlot&&(Te=Jt&&(Te?Jt.xAxis:Jt.yAxis)||{pos:Ft,len:1/0},De=De.paneCoordinates?Te.pos+me:Ft+me,De>=Math.max(Gt+Ft,Te.pos)&&De<=Math.min(Gt+Ft+Oe.height,Te.pos+Te.len)||(q.isInsidePlot=!1)),be(this,"afterIsInsidePlot",q),q.isInsidePlot},xe.prototype.redraw=function(q){be(this,"beforeRedraw");var me=this.hasCartesianSeries?this.axes:this.colorAxis||[],De=this.series,Te=this.pointer,Oe=this.legend,st=this.userOptions.legend,Ft=this.renderer,Qt=Ft.isHidden(),Vt=[],Gt=this.isDirtyBox,Jt=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),p(this.hasRendered?q:!1,this),Qt&&this.temporaryDisplay(),this.layOutTitles(),q=De.length;q--;){var Lr=De[q];if(Lr.options.stacking||Lr.options.centerInCategory){var Rr=!0;if(Lr.isDirty){var Gr=!0;break}}}if(Gr)for(q=De.length;q--;)Lr=De[q],Lr.options.stacking&&(Lr.isDirty=!0);De.forEach(function(zr){zr.isDirty&&(zr.options.legendType==="point"?(typeof zr.updateTotals=="function"&&zr.updateTotals(),Jt=!0):st&&(st.labelFormatter||st.labelFormat)&&(Jt=!0)),zr.isDirtyData&&be(zr,"updatedData")}),Jt&&Oe&&Oe.options.enabled&&(Oe.render(),this.isDirtyLegend=!1),Rr&&this.getStacks(),me.forEach(function(zr){zr.updateNames(),zr.setScale()}),this.getMargins(),me.forEach(function(zr){zr.isDirty&&(Gt=!0)}),me.forEach(function(zr){var pr=zr.min+","+zr.max;zr.extKey!==pr&&(zr.extKey=pr,Vt.push(function(){be(zr,"afterSetExtremes",ae(zr.eventArgs,zr.getExtremes())),delete zr.eventArgs})),(Gt||Rr)&&zr.redraw()}),Gt&&this.drawChartBox(),be(this,"predraw"),De.forEach(function(zr){(Gt||zr.isDirty)&&zr.visible&&zr.redraw(),zr.isDirtyData=!1}),Te&&Te.reset(!0),Ft.draw(),be(this,"redraw"),be(this,"render"),Qt&&this.temporaryDisplay(!0),Vt.forEach(function(zr){zr.call()})},xe.prototype.get=function(q){function me(st){return st.id===q||st.options&&st.options.id===q}for(var De=this.series,Te=ce(this.axes,me)||ce(this.series,me),Oe=0;!Te&&Oe<De.length;Oe++)Te=ce(De[Oe].points||[],me);return Te},xe.prototype.getAxes=function(){var q=this,me=this.options,De=me.xAxis=Fe(me.xAxis||{});me=me.yAxis=Fe(me.yAxis||{}),be(this,"getAxes"),De.forEach(function(Te,Oe){Te.index=Oe,Te.isX=!0}),me.forEach(function(Te,Oe){Te.index=Oe}),De.concat(me).forEach(function(Te){new v(q,Te)}),be(this,"afterGetAxes")},xe.prototype.getSelectedPoints=function(){return this.series.reduce(function(q,me){return me.getPointsCollection().forEach(function(De){ze(De.selectedStaging,De.selected)&&q.push(De)}),q},[])},xe.prototype.getSelectedSeries=function(){return this.series.filter(function(q){return q.selected})},xe.prototype.setTitle=function(q,me,De){this.applyDescription("title",q),this.applyDescription("subtitle",me),this.applyDescription("caption",void 0),this.layOutTitles(De)},xe.prototype.applyDescription=function(q,me){var De=this,Te=q==="title"?{color:"#333333",fontSize:this.options.isStock?"16px":"18px"}:{color:"#666666"};Te=this.options[q]=Se(!this.styledMode&&{style:Te},this.options[q],me);var Oe=this[q];Oe&&me&&(this[q]=Oe=Oe.destroy()),Te&&!Oe&&(Oe=this.renderer.text(Te.text,0,0,Te.useHTML).attr({align:Te.align,class:"highcharts-"+q,zIndex:Te.zIndex||4}).add(),Oe.update=function(st){De[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[q]](st)},this.styledMode||Oe.css(Te.style),this[q]=Oe)},xe.prototype.layOutTitles=function(q){var me=[0,0,0],De=this.renderer,Te=this.spacingBox;["title","subtitle","caption"].forEach(function(st){var Ft=this[st],Qt=this.options[st],Vt=Qt.verticalAlign||"top";st=st==="title"?Vt==="top"?-3:0:Vt==="top"?me[0]+2:0;var Gt;if(Ft){this.styledMode||(Gt=Qt.style&&Qt.style.fontSize),Gt=De.fontMetrics(Gt,Ft).b,Ft.css({width:(Qt.width||Te.width+(Qt.widthAdjust||0))+"px"});var Jt=Math.round(Ft.getBBox(Qt.useHTML).height);Ft.align(ae({y:Vt==="bottom"?Gt:st+Gt,height:Jt},Qt),!1,"spacingBox"),Qt.floating||(Vt==="top"?me[0]=Math.ceil(me[0]+Jt):Vt==="bottom"&&(me[2]=Math.ceil(me[2]+Jt)))}},this),me[0]&&(this.options.title.verticalAlign||"top")==="top"&&(me[0]+=this.options.title.margin),me[2]&&this.options.caption.verticalAlign==="bottom"&&(me[2]+=this.options.caption.margin);var Oe=!this.titleOffset||this.titleOffset.join(",")!==me.join(",");this.titleOffset=me,be(this,"afterLayOutTitles"),!this.isDirtyBox&&Oe&&(this.isDirtyBox=this.isDirtyLegend=Oe,this.hasRendered&&ze(q,!0)&&this.isDirtyBox&&this.redraw())},xe.prototype.getChartSize=function(){var q=this.options.chart,me=q.width;q=q.height;var De=this.renderTo;j(me)||(this.containerWidth=pe(De,"width")),j(q)||(this.containerHeight=pe(De,"height")),this.chartWidth=Math.max(0,me||this.containerWidth||600),this.chartHeight=Math.max(0,qe(q,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))},xe.prototype.temporaryDisplay=function(q){var me=this.renderTo;if(q)for(;me&&me.style;)me.hcOrigStyle&&(ie(me,me.hcOrigStyle),delete me.hcOrigStyle),me.hcOrigDetached&&(K.body.removeChild(me),me.hcOrigDetached=!1),me=me.parentNode;else for(;me&&me.style&&(K.body.contains(me)||me.parentNode||(me.hcOrigDetached=!0,K.body.appendChild(me)),(pe(me,"display",!1)==="none"||me.hcOricDetached)&&(me.hcOrigStyle={display:me.style.display,height:me.style.height,overflow:me.style.overflow},q={display:"block",overflow:"hidden"},me!==this.renderTo&&(q.height=0),ie(me,q),me.offsetWidth||me.style.setProperty("display","block","important")),me=me.parentNode,me!==K.body););},xe.prototype.setClassName=function(q){this.container.className="highcharts-container "+(q||"")},xe.prototype.getContainer=function(){var q=this.options,me=q.chart,De=he(),Te,Oe=this.renderTo;Oe||(this.renderTo=Oe=me.renderTo),we(Oe)&&(this.renderTo=Oe=K.getElementById(Oe)),Oe||Z(13,!0,this);var st=Je(F(Oe,"data-highcharts-chart"));te(st)&&E[st]&&E[st].hasRendered&&E[st].destroy(),F(Oe,"data-highcharts-chart",this.index),Oe.innerHTML=B.emptyHTML,me.skipClone||Oe.offsetWidth||this.temporaryDisplay(),this.getChartSize(),st=this.chartWidth;var Ft=this.chartHeight;if(ie(Oe,{overflow:"hidden"}),this.styledMode||(Te=ae({position:"relative",overflow:"hidden",width:st+"px",height:Ft+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},me.style||{})),this.container=De=le("div",{id:De},Te,Oe),this._cursor=De.style.cursor,this.renderer=new(me.renderer||!i?T.getRendererType(me.renderer):L)(De,st,Ft,void 0,me.forExport,q.exporting&&q.exporting.allowHTML,this.styledMode),p(void 0,this),this.setClassName(me.className),this.styledMode)for(var Qt in q.defs)this.renderer.definition(q.defs[Qt]);else this.renderer.setStyle(me.style);this.renderer.chartIndex=this.index,be(this,"afterGetContainer")},xe.prototype.getMargins=function(q){var me=this.spacing,De=this.margin,Te=this.titleOffset;this.resetMargins(),Te[0]&&!j(De[0])&&(this.plotTop=Math.max(this.plotTop,Te[0]+me[0])),Te[2]&&!j(De[2])&&(this.marginBottom=Math.max(this.marginBottom,Te[2]+me[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(De,me),be(this,"getMargins"),q||this.getAxisMargins()},xe.prototype.getAxisMargins=function(){var q=this,me=q.axisOffset=[0,0,0,0],De=q.colorAxis,Te=q.margin,Oe=function(st){st.forEach(function(Ft){Ft.visible&&Ft.getOffset()})};q.hasCartesianSeries?Oe(q.axes):De&&De.length&&Oe(De),d.forEach(function(st,Ft){j(Te[Ft])||(q[st]+=me[Ft])}),q.setChartSize()},xe.prototype.reflow=function(q){var me=this,De=me.options.chart,Te=me.renderTo,Oe=j(De.width)&&j(De.height),st=De.width||pe(Te,"width");De=De.height||pe(Te,"height"),Te=q?q.target:x,delete me.pointer.chartPosition,!Oe&&!me.isPrinting&&st&&De&&(Te===x||Te===K)&&((st!==me.containerWidth||De!==me.containerHeight)&&(R.clearTimeout(me.reflowTimeout),me.reflowTimeout=Ue(function(){me.container&&me.setSize(void 0,void 0,!1)},q?100:0)),me.containerWidth=st,me.containerHeight=De)},xe.prototype.setReflow=function(q){var me=this;q===!1||this.unbindReflow?q===!1&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=U(x,"resize",function(De){me.options&&me.reflow(De)}),U(this,"destroy",this.unbindReflow))},xe.prototype.setSize=function(q,me,De){var Te=this,Oe=Te.renderer;Te.isResizing+=1,p(De,Te),De=Oe.globalAnimation,Te.oldChartHeight=Te.chartHeight,Te.oldChartWidth=Te.chartWidth,typeof q!="undefined"&&(Te.options.chart.width=q),typeof me!="undefined"&&(Te.options.chart.height=me),Te.getChartSize(),Te.styledMode||(De?X:ie)(Te.container,{width:Te.chartWidth+"px",height:Te.chartHeight+"px"},De),Te.setChartSize(!0),Oe.setSize(Te.chartWidth,Te.chartHeight,De),Te.axes.forEach(function(st){st.isDirty=!0,st.setScale()}),Te.isDirtyLegend=!0,Te.isDirtyBox=!0,Te.layOutTitles(),Te.getMargins(),Te.redraw(De),Te.oldChartHeight=null,be(Te,"resize"),Ue(function(){Te&&be(Te,"endResize",null,function(){--Te.isResizing})},g(De).duration)},xe.prototype.setChartSize=function(q){var me=this.inverted,De=this.renderer,Te=this.chartWidth,Oe=this.chartHeight,st=this.options.chart,Ft=this.spacing,Qt=this.clipOffset,Vt,Gt,Jt,Lr;this.plotLeft=Vt=Math.round(this.plotLeft),this.plotTop=Gt=Math.round(this.plotTop),this.plotWidth=Jt=Math.max(0,Math.round(Te-Vt-this.marginRight)),this.plotHeight=Lr=Math.max(0,Math.round(Oe-Gt-this.marginBottom)),this.plotSizeX=me?Lr:Jt,this.plotSizeY=me?Jt:Lr,this.plotBorderWidth=st.plotBorderWidth||0,this.spacingBox=De.spacingBox={x:Ft[3],y:Ft[0],width:Te-Ft[3]-Ft[1],height:Oe-Ft[0]-Ft[2]},this.plotBox=De.plotBox={x:Vt,y:Gt,width:Jt,height:Lr},me=2*Math.floor(this.plotBorderWidth/2),Te=Math.ceil(Math.max(me,Qt[3])/2),Oe=Math.ceil(Math.max(me,Qt[0])/2),this.clipBox={x:Te,y:Oe,width:Math.floor(this.plotSizeX-Math.max(me,Qt[1])/2-Te),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(me,Qt[2])/2-Oe))},q||(this.axes.forEach(function(Rr){Rr.setAxisSize(),Rr.setAxisTranslation()}),De.alignElements()),be(this,"afterSetChartSize",{skipAxes:q})},xe.prototype.resetMargins=function(){be(this,"resetMargins");var q=this,me=q.options.chart;["margin","spacing"].forEach(function(De){var Te=me[De],Oe=Q(Te)?Te:[Te,Te,Te,Te];["Top","Right","Bottom","Left"].forEach(function(st,Ft){q[De][Ft]=ze(me[De+st],Oe[Ft])})}),d.forEach(function(De,Te){q[De]=ze(q.margin[Te],q.spacing[Te])}),q.axisOffset=[0,0,0,0],q.clipOffset=[0,0,0,0]},xe.prototype.drawChartBox=function(){var q=this.options.chart,me=this.renderer,De=this.chartWidth,Te=this.chartHeight,Oe=this.styledMode,st=this.plotBGImage,Ft=q.backgroundColor,Qt=q.plotBackgroundColor,Vt=q.plotBackgroundImage,Gt=this.plotLeft,Jt=this.plotTop,Lr=this.plotWidth,Rr=this.plotHeight,Gr=this.plotBox,zr=this.clipRect,pr=this.clipBox,vn=this.chartBackground,fn=this.plotBackground,Zt=this.plotBorder,St,Wt="animate";if(vn||(this.chartBackground=vn=me.rect().addClass("highcharts-background").add(),Wt="attr"),Oe)var Nt=St=vn.strokeWidth();else Nt=q.borderWidth||0,St=Nt+(q.shadow?8:0),Ft={fill:Ft||"none"},(Nt||vn["stroke-width"])&&(Ft.stroke=q.borderColor,Ft["stroke-width"]=Nt),vn.attr(Ft).shadow(q.shadow);vn[Wt]({x:St/2,y:St/2,width:De-St-Nt%2,height:Te-St-Nt%2,r:q.borderRadius}),Wt="animate",fn||(Wt="attr",this.plotBackground=fn=me.rect().addClass("highcharts-plot-background").add()),fn[Wt](Gr),Oe||(fn.attr({fill:Qt||"none"}).shadow(q.plotShadow),Vt&&(st?(Vt!==st.attr("href")&&st.attr("href",Vt),st.animate(Gr)):this.plotBGImage=me.image(Vt,Gt,Jt,Lr,Rr).add())),zr?zr.animate({width:pr.width,height:pr.height}):this.clipRect=me.clipRect(pr),Wt="animate",Zt||(Wt="attr",this.plotBorder=Zt=me.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),Oe||Zt.attr({stroke:q.plotBorderColor,"stroke-width":q.plotBorderWidth||0,fill:"none"}),Zt[Wt](Zt.crisp({x:Gt,y:Jt,width:Lr,height:Rr},-Zt.strokeWidth())),this.isDirtyBox=!1,be(this,"afterDrawChartBox")},xe.prototype.propFromSeries=function(){var q=this,me=q.options.chart,De=q.options.series,Te,Oe,st;["inverted","angular","polar"].forEach(function(Ft){for(Oe=C[me.type||me.defaultSeriesType],st=me[Ft]||Oe&&Oe.prototype[Ft],Te=De&&De.length;!st&&Te--;)(Oe=C[De[Te].type])&&Oe.prototype[Ft]&&(st=!0);q[Ft]=st})},xe.prototype.linkSeries=function(){var q=this,me=q.series;me.forEach(function(De){De.linkedSeries.length=0}),me.forEach(function(De){var Te=De.options.linkedTo;we(Te)&&(Te=Te===":previous"?q.series[De.index-1]:q.get(Te))&&Te.linkedParent!==De&&(Te.linkedSeries.push(De),De.linkedParent=Te,Te.enabledDataSorting&&De.setDataSortingOptions(),De.visible=ze(De.options.visible,Te.options.visible,De.visible))}),be(this,"afterLinkSeries")},xe.prototype.renderSeries=function(){this.series.forEach(function(q){q.translate(),q.render()})},xe.prototype.renderLabels=function(){var q=this,me=q.options.labels;me.items&&me.items.forEach(function(De){var Te=ae(me.style,De.style),Oe=Je(Te.left)+q.plotLeft,st=Je(Te.top)+q.plotTop+12;delete Te.left,delete Te.top,q.renderer.text(De.html,Oe,st).attr({zIndex:2}).css(Te).add()})},xe.prototype.render=function(){var q=this.axes,me=this.colorAxis,De=this.renderer,Te=this.options,Oe=function(Gt){Gt.forEach(function(Jt){Jt.visible&&Jt.render()})},st=0;this.setTitle(),this.legend=new re(this,Te.legend),this.getStacks&&this.getStacks(),this.getMargins(!0),this.setChartSize(),Te=this.plotWidth,q.some(function(Gt){if(Gt.horiz&&Gt.visible&&Gt.options.labels.enabled&&Gt.series.length)return st=21,!0});var Ft=this.plotHeight=Math.max(this.plotHeight-st,0);q.forEach(function(Gt){Gt.setScale()}),this.getAxisMargins();var Qt=1.1<Te/this.plotWidth,Vt=1.05<Ft/this.plotHeight;(Qt||Vt)&&(q.forEach(function(Gt){(Gt.horiz&&Qt||!Gt.horiz&&Vt)&&Gt.setTickInterval(!0)}),this.getMargins()),this.drawChartBox(),this.hasCartesianSeries?Oe(q):me&&me.length&&Oe(me),this.seriesGroup||(this.seriesGroup=De.g("series-group").attr({zIndex:3}).add()),this.renderSeries(),this.renderLabels(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0},xe.prototype.addCredits=function(q){var me=this,De=Se(!0,this.options.credits,q);De.enabled&&!this.credits&&(this.credits=this.renderer.text(De.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){De.href&&(x.location.href=De.href)}).attr({align:De.position.align,zIndex:8}),me.styledMode||this.credits.css(De.style),this.credits.add().align(De.position),this.credits.update=function(Te){me.credits=me.credits.destroy(),me.addCredits(Te)})},xe.prototype.destroy=function(){var q=this,me=q.axes,De=q.series,Te=q.container,Oe=Te&&Te.parentNode,st;for(be(q,"destroy"),q.renderer.forExport?P(E,q):E[q.index]=void 0,W.chartCount--,q.renderTo.removeAttribute("data-highcharts-chart"),Me(q),st=me.length;st--;)me[st]=me[st].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),st=De.length;st--;)De[st]=De[st].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach(function(Ft){var Qt=q[Ft];Qt&&Qt.destroy&&(q[Ft]=Qt.destroy())}),Te&&(Te.innerHTML=B.emptyHTML,Me(Te),Oe&&ue(Te)),Ne(q,function(Ft,Qt){delete q[Qt]})},xe.prototype.firstRender=function(){var q=this,me=q.options;(!q.isReadyToRender||q.isReadyToRender())&&(q.getContainer(),q.resetMargins(),q.setChartSize(),q.propFromSeries(),q.getAxes(),(h(me.series)?me.series:[]).forEach(function(De){q.initSeries(De)}),q.linkSeries(),q.setSeriesData(),be(q,"beforeRender"),J&&(se.isRequired()?q.pointer=new se(q,me):q.pointer=new J(q,me)),q.render(),q.pointer.getChartPosition(),!q.renderer.imgCount&&!q.hasLoaded&&q.onload(),q.temporaryDisplay(!0))},xe.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach(function(q){q&&typeof this.index!="undefined"&&q.apply(this,[this])},this),be(this,"load"),be(this,"render"),j(this.index)&&this.setReflow(this.options.chart.reflow),this.hasLoaded=!0},xe.prototype.addSeries=function(q,me,De){var Te=this,Oe;return q&&(me=ze(me,!0),be(Te,"addSeries",{options:q},function(){Oe=Te.initSeries(q),Te.isDirtyLegend=!0,Te.linkSeries(),Oe.enabledDataSorting&&Oe.setData(q.data,!1),be(Te,"afterAddSeries",{series:Oe}),me&&Te.redraw(De)})),Oe},xe.prototype.addAxis=function(q,me,De,Te){return this.createAxis(me?"xAxis":"yAxis",{axis:q,redraw:De,animation:Te})},xe.prototype.addColorAxis=function(q,me,De){return this.createAxis("colorAxis",{axis:q,redraw:me,animation:De})},xe.prototype.createAxis=function(q,me){return q=new v(this,Se(me.axis,{index:this[q].length,isX:q==="xAxis"})),ze(me.redraw,!0)&&this.redraw(me.animation),q},xe.prototype.showLoading=function(q){var me=this,De=me.options,Te=De.loading,Oe=function(){st&&ie(st,{left:me.plotLeft+"px",top:me.plotTop+"px",width:me.plotWidth+"px",height:me.plotHeight+"px"})},st=me.loadingDiv,Ft=me.loadingSpan;st||(me.loadingDiv=st=le("div",{className:"highcharts-loading highcharts-loading-hidden"},null,me.container)),Ft||(me.loadingSpan=Ft=le("span",{className:"highcharts-loading-inner"},null,st),U(me,"redraw",Oe)),st.className="highcharts-loading",B.setElementHTML(Ft,ze(q,De.lang.loading,"")),me.styledMode||(ie(st,ae(Te.style,{zIndex:10})),ie(Ft,Te.labelStyle),me.loadingShown||(ie(st,{opacity:0,display:""}),X(st,{opacity:Te.style.opacity||.5},{duration:Te.showDuration||0}))),me.loadingShown=!0,Oe()},xe.prototype.hideLoading=function(){var q=this.options,me=this.loadingDiv;me&&(me.className="highcharts-loading highcharts-loading-hidden",this.styledMode||X(me,{opacity:0},{duration:q.loading.hideDuration||100,complete:function(){ie(me,{display:"none"})}})),this.loadingShown=!1},xe.prototype.update=function(q,me,De,Te){var Oe=this,st={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},Ft=q.isResponsiveOptions,Qt=[],Vt,Gt;be(Oe,"update",{options:q}),Ft||Oe.setResponsive(!1,!0),q=Y(q,Oe.options),Oe.userOptions=Se(Oe.userOptions,q);var Jt=q.chart;if(Jt){if(Se(!0,Oe.options.chart,Jt),"className"in Jt&&Oe.setClassName(Jt.className),"reflow"in Jt&&Oe.setReflow(Jt.reflow),"inverted"in Jt||"polar"in Jt||"type"in Jt){Oe.propFromSeries();var Lr=!0}"alignTicks"in Jt&&(Lr=!0),"events"in Jt&&I(this,Jt),Ne(Jt,function(Rr,Gr){Oe.propsRequireUpdateSeries.indexOf("chart."+Gr)!==-1&&(Vt=!0),Oe.propsRequireDirtyBox.indexOf(Gr)!==-1&&(Oe.isDirtyBox=!0),Oe.propsRequireReflow.indexOf(Gr)!==-1&&(Ft?Oe.isDirtyBox=!0:Gt=!0)}),!Oe.styledMode&&Jt.style&&Oe.renderer.setStyle(Oe.options.chart.style||{})}!Oe.styledMode&&q.colors&&(this.options.colors=q.colors),q.time&&(this.time===w&&(this.time=new c(q.time)),Se(!0,Oe.options.time,q.time)),Ne(q,function(Rr,Gr){Oe[Gr]&&typeof Oe[Gr].update=="function"?Oe[Gr].update(Rr,!1):typeof Oe[st[Gr]]=="function"?Oe[st[Gr]](Rr):Gr!=="colors"&&Oe.collectionsWithUpdate.indexOf(Gr)===-1&&Se(!0,Oe.options[Gr],q[Gr]),Gr!=="chart"&&Oe.propsRequireUpdateSeries.indexOf(Gr)!==-1&&(Vt=!0)}),this.collectionsWithUpdate.forEach(function(Rr){if(q[Rr]){var Gr=[];Oe[Rr].forEach(function(zr,pr){zr.options.isInternal||Gr.push(ze(zr.options.index,pr))}),Fe(q[Rr]).forEach(function(zr,pr){var vn=j(zr.id),fn;vn&&(fn=Oe.get(zr.id)),!fn&&Oe[Rr]&&(fn=Oe[Rr][Gr?Gr[pr]:pr])&&vn&&j(fn.options.id)&&(fn=void 0),fn&&fn.coll===Rr&&(fn.update(zr,!1),De&&(fn.touched=!0)),!fn&&De&&Oe.collectionsWithInit[Rr]&&(Oe.collectionsWithInit[Rr][0].apply(Oe,[zr].concat(Oe.collectionsWithInit[Rr][1]||[]).concat([!1])).touched=!0)}),De&&Oe[Rr].forEach(function(zr){zr.touched||zr.options.isInternal?delete zr.touched:Qt.push(zr)})}}),Qt.forEach(function(Rr){Rr.chart&&Rr.remove&&Rr.remove(!1)}),Lr&&Oe.axes.forEach(function(Rr){Rr.update({},!1)}),Vt&&Oe.getSeriesOrderByLinks().forEach(function(Rr){Rr.chart&&Rr.update({},!1)},this),Lr=Jt&&Jt.width,Jt=Jt&&(we(Jt.height)?qe(Jt.height,Lr||Oe.chartWidth):Jt.height),Gt||te(Lr)&&Lr!==Oe.chartWidth||te(Jt)&&Jt!==Oe.chartHeight?Oe.setSize(Lr,Jt,Te):ze(me,!0)&&Oe.redraw(Te),be(Oe,"afterUpdate",{options:q,redraw:me,animation:Te})},xe.prototype.setSubtitle=function(q,me){this.applyDescription("subtitle",q),this.layOutTitles(me)},xe.prototype.setCaption=function(q,me){this.applyDescription("caption",q),this.layOutTitles(me)},xe.prototype.showResetZoom=function(){function q(){me.zoomOut()}var me=this,De=A.lang,Te=me.options.chart.resetZoomButton,Oe=Te.theme,st=Oe.states,Ft=Te.relativeTo==="chart"||Te.relativeTo==="spacingBox"?null:"scrollablePlotBox";be(this,"beforeShowResetZoom",null,function(){me.resetZoomButton=me.renderer.button(De.resetZoom,null,null,q,Oe,st&&st.hover).attr({align:Te.position.align,title:De.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(Te.position,!1,Ft)}),be(this,"afterShowResetZoom")},xe.prototype.zoomOut=function(){be(this,"selection",{resetSelection:!0},this.zoom)},xe.prototype.zoom=function(q){var me=this,De=me.pointer,Te=me.inverted?De.mouseDownX:De.mouseDownY,Oe=!1,st;!q||q.resetSelection?(me.axes.forEach(function(Qt){st=Qt.zoom()}),De.initiated=!1):q.xAxis.concat(q.yAxis).forEach(function(Qt){var Vt=Qt.axis,Gt=me.inverted?Vt.left:Vt.top,Jt=me.inverted?Gt+Vt.width:Gt+Vt.height,Lr=Vt.isXAxis,Rr=!1;(!Lr&&Te>=Gt&&Te<=Jt||Lr||!j(Te))&&(Rr=!0),De[Lr?"zoomX":"zoomY"]&&Rr&&(st=Vt.zoom(Qt.min,Qt.max),Vt.displayBtn&&(Oe=!0))});var Ft=me.resetZoomButton;Oe&&!Ft?me.showResetZoom():!Oe&&Q(Ft)&&(me.resetZoomButton=Ft.destroy()),st&&me.redraw(ze(me.options.chart.animation,q&&q.animation,100>me.pointCount))},xe.prototype.pan=function(q,me){var De=this,Te=De.hoverPoints;me=typeof me=="object"?me:{enabled:me,type:"x"};var Oe=De.options.chart,st=De.options.mapNavigation&&De.options.mapNavigation.enabled;Oe&&Oe.panning&&(Oe.panning=me);var Ft=me.type,Qt;be(this,"pan",{originalEvent:q},function(){Te&&Te.forEach(function(Jt){Jt.setState()});var Vt=De.xAxis;Ft==="xy"?Vt=Vt.concat(De.yAxis):Ft==="y"&&(Vt=De.yAxis);var Gt={};Vt.forEach(function(Jt){if(Jt.options.panningEnabled&&!Jt.options.isInternal){var Lr=Jt.horiz,Rr=q[Lr?"chartX":"chartY"];Lr=Lr?"mouseDownX":"mouseDownY";var Gr=De[Lr],zr=Jt.minPointOffset||0,pr=Jt.reversed&&!De.inverted||!Jt.reversed&&De.inverted?-1:1,vn=Jt.getExtremes(),fn=Jt.toValue(Gr-Rr,!0)+zr*pr,Zt=Jt.toValue(Gr+Jt.len-Rr,!0)-(zr*pr||Jt.isXAxis&&Jt.pointRangePadding||0),St=Zt<fn;pr=Jt.hasVerticalPanning(),Gr=St?Zt:fn,fn=St?fn:Zt;var Wt=Jt.panningState;!pr||Jt.isXAxis||Wt&&!Wt.isDirty||Jt.series.forEach(function(Nt){var dt=Nt.getProcessedData(!0);dt=Nt.getExtremes(dt.yData,!0),Wt||(Wt={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE}),te(dt.dataMin)&&te(dt.dataMax)&&(Wt.startMin=Math.min(ze(Nt.options.threshold,1/0),dt.dataMin,Wt.startMin),Wt.startMax=Math.max(ze(Nt.options.threshold,-1/0),dt.dataMax,Wt.startMax))}),pr=Math.min(ze(Wt&&Wt.startMin,vn.dataMin),zr?vn.min:Jt.toValue(Jt.toPixels(vn.min)-Jt.minPixelPadding)),Zt=Math.max(ze(Wt&&Wt.startMax,vn.dataMax),zr?vn.max:Jt.toValue(Jt.toPixels(vn.max)+Jt.minPixelPadding)),Jt.panningState=Wt,Jt.isOrdinal||(zr=pr-Gr,0<zr&&(fn+=zr,Gr=pr),zr=fn-Zt,0<zr&&(fn=Zt,Gr-=zr),Jt.series.length&&Gr!==vn.min&&fn!==vn.max&&Gr>=pr&&fn<=Zt&&(Jt.setExtremes(Gr,fn,!1,!1,{trigger:"pan"}),De.resetZoomButton||st||Gr===pr||fn===Zt||!Ft.match("y")||(De.showResetZoom(),Jt.displayBtn=!1),Qt=!0),Gt[Lr]=Rr)}}),Ne(Gt,function(Jt,Lr){De[Lr]=Jt}),Qt&&De.redraw(!1),ie(De.container,{cursor:"move"})})},xe}(),ae(m.prototype,{callbacks:[],collectionsWithInit:{xAxis:[m.prototype.addAxis,[!0]],yAxis:[m.prototype.addAxis,[!1]],series:[m.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],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(" ")}),m}),l(u,"Core/Legend/LegendSymbol.js",[u["Core/Utilities.js"]],function(m){var v=m.merge,M=m.pick,ee;return function(W){W.drawLineMarker=function(re){var se=this.options,S=re.symbolWidth,J=re.symbolHeight,T=J/2,V=this.chart.renderer,L=this.legendGroup;re=re.baseline-Math.round(.3*re.fontMetrics.b);var c={},R=se.marker;this.chart.styledMode||(c={"stroke-width":se.lineWidth||0},se.dashStyle&&(c.dashstyle=se.dashStyle)),this.legendLine=V.path([["M",0,re],["L",S,re]]).addClass("highcharts-graph").attr(c).add(L),R&&R.enabled!==!1&&S&&(se=Math.min(M(R.radius,T),T),this.symbol.indexOf("url")===0&&(R=v(R,{width:J,height:J}),se=0),this.legendSymbol=S=V.symbol(this.symbol,S/2-se,re-se,2*se,2*se,R).addClass("highcharts-point").add(L),S.isMarker=!0)},W.drawRectangle=function(re,se){var S=re.symbolHeight,J=re.options.squareSymbol;se.legendSymbol=this.chart.renderer.rect(J?(re.symbolWidth-S)/2:0,re.baseline-S+1,J?S:re.symbolWidth,S,M(re.options.symbolRadius,S/2)).addClass("highcharts-point").attr({zIndex:3}).add(se.legendGroup)}}(ee||(ee={})),ee}),l(u,"Core/Series/SeriesDefaults.js",[],function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,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:{animation:{},align:"center",defer:!0,formatter:function(){var m=this.series.chart.numberFormatter;return typeof this.y!="number"?"":m(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"}}),l(u,"Core/Series/Series.js",[u["Core/Animation/AnimationUtilities.js"],u["Core/DefaultOptions.js"],u["Core/Foundation.js"],u["Core/Globals.js"],u["Core/Legend/LegendSymbol.js"],u["Core/Series/Point.js"],u["Core/Series/SeriesDefaults.js"],u["Core/Series/SeriesRegistry.js"],u["Core/Renderer/SVG/SVGElement.js"],u["Core/Utilities.js"]],function(m,v,M,ee,W,re,se,S,J,T){var V=m.animObject,L=m.setAnimation,c=v.defaultOptions,R=M.registerEventOptions,B=ee.hasTouch,X=ee.svg,g=ee.win,p=S.seriesTypes,O=T.addEvent,I=T.arrayMax,E=T.arrayMin,K=T.clamp,d=T.cleanRecursively,i=T.correctFloat,x=T.defined,A=T.erase,w=T.error,C=T.extend,U=T.find,F=T.fireEvent,Y=T.getNestedProperty,le=T.isArray,ie=T.isNumber,j=T.isString,ue=T.merge,P=T.objectEach,Z=T.pick,ae=T.removeEvent,ce=T.splat,be=T.syncTimeout;return m=function(){function pe(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}return pe.prototype.init=function(h,te){F(this,"init",{options:te});var Q=this,we=h.series;this.eventsToUnbind=[],Q.chart=h,Q.options=Q.setOptions(te),te=Q.options,Q.linkedSeries=[],Q.bindAxes(),C(Q,{name:te.name,state:"",visible:te.visible!==!1,selected:te.selected===!0}),R(this,te);var Se=te.events;(Se&&Se.click||te.point&&te.point.events&&te.point.events.click||te.allowPointSelect)&&(h.runTrackerClick=!0),Q.getColor(),Q.getSymbol(),Q.parallelArrays.forEach(function(ze){Q[ze+"Data"]||(Q[ze+"Data"]=[])}),Q.isCartesian&&(h.hasCartesianSeries=!0);var Ne;we.length&&(Ne=we[we.length-1]),Q._i=Z(Ne&&Ne._i,-1)+1,Q.opacity=Q.options.opacity,h.orderSeries(this.insert(we)),te.dataSorting&&te.dataSorting.enabled?Q.setDataSortingOptions():Q.points||Q.data||Q.setData(te.data,!1),F(this,"afterInit")},pe.prototype.is=function(h){return p[h]&&this instanceof p[h]},pe.prototype.insert=function(h){var te=this.options.index,Q;if(ie(te)){for(Q=h.length;Q--;)if(te>=Z(h[Q].options.index,h[Q]._i)){h.splice(Q+1,0,this);break}Q===-1&&h.unshift(this),Q+=1}else h.push(this);return Z(Q,h.length-1)},pe.prototype.bindAxes=function(){var h=this,te=h.options,Q=h.chart,we;F(this,"bindAxes",null,function(){(h.axisTypes||[]).forEach(function(Se){var Ne=0;Q[Se].forEach(function(ze){we=ze.options,(te[Se]===Ne&&!we.isInternal||typeof te[Se]!="undefined"&&te[Se]===we.id||typeof te[Se]=="undefined"&&we.index===0)&&(h.insert(ze.series),h[Se]=ze,ze.isDirty=!0),we.isInternal||Ne++}),h[Se]||h.optionalAxis===Se||w(18,!0,Q)})}),F(this,"afterBindAxes")},pe.prototype.updateParallelArrays=function(h,te){var Q=h.series,we=arguments,Se=ie(te)?function(Ne){var ze=Ne==="y"&&Q.toYData?Q.toYData(h):h[Ne];Q[Ne+"Data"][te]=ze}:function(Ne){Array.prototype[te].apply(Q[Ne+"Data"],Array.prototype.slice.call(we,2))};Q.parallelArrays.forEach(Se)},pe.prototype.hasData=function(){return this.visible&&typeof this.dataMax!="undefined"&&typeof this.dataMin!="undefined"||this.visible&&this.yData&&0<this.yData.length},pe.prototype.autoIncrement=function(h){var te=this.options,Q=te.pointIntervalUnit,we=te.relativeXValue,Se=this.chart.time,Ne=this.xIncrement,ze;return Ne=Z(Ne,te.pointStart,0),this.pointInterval=ze=Z(this.pointInterval,te.pointInterval,1),we&&ie(h)&&(ze*=h),Q&&(te=new Se.Date(Ne),Q==="day"?Se.set("Date",te,Se.get("Date",te)+ze):Q==="month"?Se.set("Month",te,Se.get("Month",te)+ze):Q==="year"&&Se.set("FullYear",te,Se.get("FullYear",te)+ze),ze=te.getTime()-Ne),we&&ie(h)?Ne+ze:(this.xIncrement=Ne+ze,Ne)},pe.prototype.setDataSortingOptions=function(){var h=this.options;C(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),x(h.pointRange)||(h.pointRange=1)},pe.prototype.setOptions=function(h){var te=this.chart,Q=te.options,we=Q.plotOptions,Se=te.userOptions||{};h=ue(h),te=te.styledMode;var Ne={plotOptions:we,userOptions:h};F(this,"setOptions",Ne);var ze=Ne.plotOptions[this.type],Je=Se.plotOptions||{};return this.userOptions=Ne.userOptions,Se=ue(ze,we.series,Se.plotOptions&&Se.plotOptions[this.type],h),this.tooltipOptions=ue(c.tooltip,c.plotOptions.series&&c.plotOptions.series.tooltip,c.plotOptions[this.type].tooltip,Q.tooltip.userOptions,we.series&&we.series.tooltip,we[this.type].tooltip,h.tooltip),this.stickyTracking=Z(h.stickyTracking,Je[this.type]&&Je[this.type].stickyTracking,Je.series&&Je.series.stickyTracking,this.tooltipOptions.shared&&!this.noSharedTooltip?!0:Se.stickyTracking),ze.marker===null&&delete Se.marker,this.zoneAxis=Se.zoneAxis,we=this.zones=(Se.zones||[]).slice(),!Se.negativeColor&&!Se.negativeFillColor||Se.zones||(Q={value:Se[this.zoneAxis+"Threshold"]||Se.threshold||0,className:"highcharts-negative"},te||(Q.color=Se.negativeColor,Q.fillColor=Se.negativeFillColor),we.push(Q)),we.length&&x(we[we.length-1].value)&&we.push(te?{}:{color:this.color,fillColor:this.fillColor}),F(this,"afterSetOptions",{options:Se}),Se},pe.prototype.getName=function(){return Z(this.options.name,"Series "+(this.index+1))},pe.prototype.getCyclic=function(h,te,Q){var we=this.chart,Se=this.userOptions,Ne=h+"Index",ze=h+"Counter",Je=Q?Q.length:Z(we.options.chart[h+"Count"],we[h+"Count"]);if(!te){var qe=Z(Se[Ne],Se["_"+Ne]);x(qe)||(we.series.length||(we[ze]=0),Se["_"+Ne]=qe=we[ze]%Je,we[ze]+=1),Q&&(te=Q[qe])}typeof qe!="undefined"&&(this[Ne]=qe),this[h]=te},pe.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||c.plotOptions[this.type].color,this.chart.options.colors)},pe.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]},pe.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},pe.prototype.findPointIndex=function(h,te){var Q=h.id,we=h.x,Se=this.points,Ne=this.options.dataSorting,ze,Je;if(Q)Ne=this.chart.get(Q),Ne instanceof re&&(ze=Ne);else if((this.linkedParent||this.enabledDataSorting||this.options.relativeXValue)&&(ze=function(Me){return!Me.touched&&Me.index===h.index},Ne&&Ne.matchByName?ze=function(Me){return!Me.touched&&Me.name===h.name}:this.options.relativeXValue&&(ze=function(Me){return!Me.touched&&Me.options.x===h.x}),ze=U(Se,ze),!ze))return;if(ze){var qe=ze&&ze.index;typeof qe!="undefined"&&(Je=!0)}return typeof qe=="undefined"&&ie(we)&&(qe=this.xData.indexOf(we,te)),qe!==-1&&typeof qe!="undefined"&&this.cropped&&(qe=qe>=this.cropStart?qe-this.cropStart:qe),!Je&&ie(qe)&&Se[qe]&&Se[qe].touched&&(qe=void 0),qe},pe.prototype.updateData=function(h,te){var Q=this.options,we=Q.dataSorting,Se=this.points,Ne=[],ze=this.requireSorting,Je=h.length===Se.length,qe,Me,Fe,Ue=!0;if(this.xIncrement=null,h.forEach(function(he,xe){var q=x(he)&&this.pointClass.prototype.optionsToObject.call({series:this},he)||{},me=q.x;q.id||ie(me)?(q=this.findPointIndex(q,Fe),q===-1||typeof q=="undefined"?Ne.push(he):Se[q]&&he!==Q.data[q]?(Se[q].update(he,!1,null,!1),Se[q].touched=!0,ze&&(Fe=q+1)):Se[q]&&(Se[q].touched=!0),(!Je||xe!==q||we&&we.enabled||this.hasDerivedData)&&(qe=!0)):Ne.push(he)},this),qe)for(h=Se.length;h--;)(Me=Se[h])&&!Me.touched&&Me.remove&&Me.remove(!1,te);else!Je||we&&we.enabled?Ue=!1:(h.forEach(function(he,xe){he!==Se[xe].y&&Se[xe].update&&Se[xe].update(he,!1,null,!1)}),Ne.length=0);return Se.forEach(function(he){he&&(he.touched=!1)}),Ue?(Ne.forEach(function(he){this.addPoint(he,!1,null,null,!1)},this),this.xIncrement===null&&this.xData&&this.xData.length&&(this.xIncrement=I(this.xData),this.autoIncrement()),!0):!1},pe.prototype.setData=function(h,te,Q,we){var Se=this,Ne=Se.points,ze=Ne&&Ne.length||0,Je=Se.options,qe=Se.chart,Me=Je.dataSorting,Fe=Se.xAxis,Ue=Je.turboThreshold,he=this.xData,xe=this.yData,q=Se.pointArrayMap;q=q&&q.length;var me=Je.keys,De,Te=0,Oe=1,st=null;h=h||[];var Ft=h.length;if(te=Z(te,!0),Me&&Me.enabled&&(h=this.sortData(h)),we!==!1&&Ft&&ze&&!Se.cropped&&!Se.hasGroupedData&&Se.visible&&!Se.isSeriesBoosting&&(De=this.updateData(h,Q)),!De){if(Se.xIncrement=null,Se.colorCounter=0,this.parallelArrays.forEach(function(Qt){Se[Qt+"Data"].length=0}),Ue&&Ft>Ue)if(st=Se.getFirstValidPoint(h),ie(st))for(Q=0;Q<Ft;Q++)he[Q]=this.autoIncrement(),xe[Q]=h[Q];else if(le(st))if(q)if(st.length===q)for(Q=0;Q<Ft;Q++)he[Q]=this.autoIncrement(),xe[Q]=h[Q];else for(Q=0;Q<Ft;Q++)we=h[Q],he[Q]=we[0],xe[Q]=we.slice(1,q+1);else if(me&&(Te=me.indexOf("x"),Oe=me.indexOf("y"),Te=0<=Te?Te:0,Oe=0<=Oe?Oe:1),st.length===1&&(Oe=0),Te===Oe)for(Q=0;Q<Ft;Q++)he[Q]=this.autoIncrement(),xe[Q]=h[Q][Oe];else for(Q=0;Q<Ft;Q++)we=h[Q],he[Q]=we[Te],xe[Q]=we[Oe];else w(12,!1,qe);else for(Q=0;Q<Ft;Q++)typeof h[Q]!="undefined"&&(we={series:Se},Se.pointClass.prototype.applyOptions.apply(we,[h[Q]]),Se.updateParallelArrays(we,Q));for(xe&&j(xe[0])&&w(14,!0,qe),Se.data=[],Se.options.data=Se.userOptions.data=h,Q=ze;Q--;)Ne[Q]&&Ne[Q].destroy&&Ne[Q].destroy();Fe&&(Fe.minRange=Fe.userMinRange),Se.isDirty=qe.isDirtyBox=!0,Se.isDirtyData=!!Ne,Q=!1}Je.legendType==="point"&&(this.processData(),this.generatePoints()),te&&qe.redraw(Q)},pe.prototype.sortData=function(h){var te=this,Q=te.options.dataSorting.sortKey||"y",we=function(Se,Ne){return x(Ne)&&Se.pointClass.prototype.optionsToObject.call({series:Se},Ne)||{}};return h.forEach(function(Se,Ne){h[Ne]=we(te,Se),h[Ne].index=Ne},this),h.concat().sort(function(Se,Ne){return Se=Y(Q,Se),Ne=Y(Q,Ne),Ne<Se?-1:Ne>Se?1:0}).forEach(function(Se,Ne){Se.x=Ne},this),te.linkedSeries&&te.linkedSeries.forEach(function(Se){var Ne=Se.options,ze=Ne.data;Ne.dataSorting&&Ne.dataSorting.enabled||!ze||(ze.forEach(function(Je,qe){ze[qe]=we(Se,Je),h[qe]&&(ze[qe].x=h[qe].x,ze[qe].index=qe)}),Se.setData(ze,!1))}),h},pe.prototype.getProcessedData=function(h){var te=this.xAxis,Q=this.options,we=Q.cropThreshold,Se=h||this.getExtremesFromAll||Q.getExtremesFromAll,Ne=this.isCartesian;h=te&&te.val2lin,Q=!(!te||!te.logarithmic);var ze=0,Je=this.xData,qe=this.yData,Me=this.requireSorting,Fe=!1,Ue=Je.length;if(te){Fe=te.getExtremes();var he=Fe.min,xe=Fe.max;Fe=te.categories&&!te.names.length}if(Ne&&this.sorted&&!Se&&(!we||Ue>we||this.forceCrop)){if(Je[Ue-1]<he||Je[0]>xe)Je=[],qe=[];else if(this.yData&&(Je[0]<he||Je[Ue-1]>xe)){var q=this.cropData(this.xData,this.yData,he,xe);Je=q.xData,qe=q.yData,ze=q.start,q=!0}}for(we=Je.length||1;--we;)if(te=Q?h(Je[we])-h(Je[we-1]):Je[we]-Je[we-1],0<te&&(typeof me=="undefined"||te<me))var me=te;else 0>te&&Me&&!Fe&&(w(15,!1,this.chart),Me=!1);return{xData:Je,yData:qe,cropped:q,cropStart:ze,closestPointRange:me}},pe.prototype.processData=function(h){var te=this.xAxis;if(this.isCartesian&&!this.isDirty&&!te.isDirty&&!this.yAxis.isDirty&&!h)return!1;h=this.getProcessedData(),this.cropped=h.cropped,this.cropStart=h.cropStart,this.processedXData=h.xData,this.processedYData=h.yData,this.closestPointRange=this.basePointRange=h.closestPointRange,F(this,"afterProcessData")},pe.prototype.cropData=function(h,te,Q,we,Se){var Ne=h.length,ze,Je=0,qe=Ne;for(Se=Z(Se,this.cropShoulder),ze=0;ze<Ne;ze++)if(h[ze]>=Q){Je=Math.max(0,ze-Se);break}for(Q=ze;Q<Ne;Q++)if(h[Q]>we){qe=Q+Se;break}return{xData:h.slice(Je,qe),yData:te.slice(Je,qe),start:Je,end:qe}},pe.prototype.generatePoints=function(){var h=this.options,te=h.data,Q=this.processedXData,we=this.processedYData,Se=this.pointClass,Ne=Q.length,ze=this.cropStart||0,Je=this.hasGroupedData,qe=h.keys,Me=[];h=h.dataGrouping&&h.dataGrouping.groupAll?ze:0;var Fe,Ue,he=this.data;if(!he&&!Je){var xe=[];xe.length=te.length,he=this.data=xe}for(qe&&Je&&(this.options.keys=!1),Ue=0;Ue<Ne;Ue++){if(xe=ze+Ue,Je){var q=new Se().init(this,[Q[Ue]].concat(ce(we[Ue])));q.dataGroup=this.groupMap[h+Ue],q.dataGroup.options&&(q.options=q.dataGroup.options,C(q,q.dataGroup.options),delete q.dataLabels)}else(q=he[xe])||typeof te[xe]=="undefined"||(he[xe]=q=new Se().init(this,te[xe],Q[Ue]));q&&(q.index=Je?h+Ue:xe,Me[Ue]=q)}if(this.options.keys=qe,he&&(Ne!==(Fe=he.length)||Je))for(Ue=0;Ue<Fe;Ue++)Ue!==ze||Je||(Ue+=Ne),he[Ue]&&(he[Ue].destroyElements(),he[Ue].plotX=void 0);this.data=he,this.points=Me,F(this,"afterGeneratePoints")},pe.prototype.getXExtremes=function(h){return{min:E(h),max:I(h)}},pe.prototype.getExtremes=function(h,te){var Q=this.xAxis,we=this.yAxis,Se=this.processedXData||this.xData,Ne=[],ze=this.requireSorting?this.cropShoulder:0;we=we?we.positiveValuesOnly:!1;var Je,qe=0,Me=0,Fe=0;h=h||this.stackedYData||this.processedYData||[];var Ue=h.length;if(Q){var he=Q.getExtremes();qe=he.min,Me=he.max}for(Je=0;Je<Ue;Je++){var xe=Se[Je];he=h[Je];var q=(ie(he)||le(he))&&(he.length||0<he||!we);if(xe=te||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!Q||(Se[Je+ze]||xe)>=qe&&(Se[Je-ze]||xe)<=Me,q&&xe)if(q=he.length)for(;q--;)ie(he[q])&&(Ne[Fe++]=he[q]);else Ne[Fe++]=he}return h={activeYData:Ne,dataMin:E(Ne),dataMax:I(Ne)},F(this,"afterGetExtremes",{dataExtremes:h}),h},pe.prototype.applyExtremes=function(){var h=this.getExtremes();return this.dataMin=h.dataMin,this.dataMax=h.dataMax,h},pe.prototype.getFirstValidPoint=function(h){for(var te=h.length,Q=0,we=null;we===null&&Q<te;)we=h[Q],Q++;return we},pe.prototype.translate=function(){this.processedXData||this.processData(),this.generatePoints();var h=this.options,te=h.stacking,Q=this.xAxis,we=Q.categories,Se=this.enabledDataSorting,Ne=this.yAxis,ze=this.points,Je=ze.length,qe=this.pointPlacementToXValue(),Me=!!qe,Fe=h.threshold,Ue=h.startFromThreshold?Fe:0,he=this.zoneAxis||"y",xe,q,me=Number.MAX_VALUE;for(xe=0;xe<Je;xe++){var De=ze[xe],Te=De.x,Oe=void 0,st=void 0,Ft=De.y,Qt=De.low,Vt=te&&Ne.stacking&&Ne.stacking.stacks[(this.negStacks&&Ft<(Ue?0:Fe)?"-":"")+this.stackKey];if((Ne.positiveValuesOnly&&!Ne.validatePositiveValue(Ft)||Q.positiveValuesOnly&&!Q.validatePositiveValue(Te))&&(De.isNull=!0),De.plotX=q=i(K(Q.translate(Te,0,0,0,1,qe,this.type==="flags"),-1e5,1e5)),te&&this.visible&&Vt&&Vt[Te]){var Gt=this.getStackIndicator(Gt,Te,this.index);De.isNull||(Oe=Vt[Te],st=Oe.points[Gt.key])}if(le(st)&&(Qt=st[0],Ft=st[1],Qt===Ue&&Gt.key===Vt[Te].base&&(Qt=Z(ie(Fe)&&Fe,Ne.min)),Ne.positiveValuesOnly&&0>=Qt&&(Qt=null),De.total=De.stackTotal=Oe.total,De.percentage=Oe.total&&De.y/Oe.total*100,De.stackY=Ft,this.irregularWidths||Oe.setOffset(this.pointXOffset||0,this.barW||0)),De.yBottom=x(Qt)?K(Ne.translate(Qt,0,1,0,1),-1e5,1e5):null,this.dataModify&&(Ft=this.dataModify.modifyValue(Ft,xe)),De.plotY=void 0,ie(Ft)&&(Oe=Ne.translate(Ft,!1,!0,!1,!0),typeof Oe!="undefined"&&(De.plotY=K(Oe,-1e5,1e5))),De.isInside=this.isPointInside(De),De.clientX=Me?i(Q.translate(Te,0,0,0,1,qe)):q,De.negative=De[he]<(h[he+"Threshold"]||Fe||0),De.category=we&&typeof we[De.x]!="undefined"?we[De.x]:De.x,!De.isNull&&De.visible!==!1){typeof Jt!="undefined"&&(me=Math.min(me,Math.abs(q-Jt)));var Jt=q}De.zone=this.zones.length?De.getZone():void 0,!De.graphic&&this.group&&Se&&(De.isNew=!0)}this.closestPointRangePx=me,F(this,"afterTranslate")},pe.prototype.getValidPoints=function(h,te,Q){var we=this.chart;return(h||this.points||[]).filter(function(Se){return te&&!we.isInsidePlot(Se.plotX,Se.plotY,{inverted:we.inverted})?!1:Se.visible!==!1&&(Q||!Se.isNull)})},pe.prototype.getClipBox=function(){var h=this.chart,te=this.xAxis,Q=this.yAxis,we=ue(h.clipBox);return te&&te.len!==h.plotSizeX&&(we.width=te.len),Q&&Q.len!==h.plotSizeY&&(we.height=Q.len),we},pe.prototype.getSharedClipKey=function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0)},pe.prototype.setClip=function(){var h=this.chart,te=this.group,Q=this.markerGroup,we=h.sharedClips;h=h.renderer;var Se=this.getClipBox(),Ne=this.getSharedClipKey(),ze=we[Ne];ze?ze.animate(Se):we[Ne]=ze=h.clipRect(Se),te&&te.clip(this.options.clip===!1?void 0:ze),Q&&Q.clip()},pe.prototype.animate=function(h){var te=this.chart,Q=this.group,we=this.markerGroup,Se=te.inverted,Ne=V(this.options.animation),ze=[this.getSharedClipKey(),Ne.duration,Ne.easing,Ne.defer].join(),Je=te.sharedClips[ze],qe=te.sharedClips[ze+"m"];if(h&&Q)Ne=this.getClipBox(),Je?Je.attr("height",Ne.height):(Ne.width=0,Se&&(Ne.x=te.plotHeight),Je=te.renderer.clipRect(Ne),te.sharedClips[ze]=Je,qe=te.renderer.clipRect({x:Se?(te.plotSizeX||0)+99:-99,y:Se?-te.plotLeft:-te.plotTop,width:99,height:Se?te.chartWidth:te.chartHeight}),te.sharedClips[ze+"m"]=qe),Q.clip(Je),we&&we.clip(qe);else if(Je&&!Je.hasClass("highcharts-animating")){te=this.getClipBox();var Me=Ne.step;we&&we.element.childNodes.length&&(Ne.step=function(Fe,Ue){Me&&Me.apply(Ue,arguments),qe&&qe.element&&qe.attr(Ue.prop,Ue.prop==="width"?Fe+99:Fe)}),Je.addClass("highcharts-animating").animate(te,Ne)}},pe.prototype.afterAnimate=function(){var h=this;this.setClip(),P(this.chart.sharedClips,function(te,Q,we){te&&!h.chart.container.querySelector('[clip-path="url(#'+te.id+')"]')&&(te.destroy(),delete we[Q])}),this.finishedAnimating=!0,F(this,"afterAnimate")},pe.prototype.drawPoints=function(){var h=this.points,te=this.chart,Q=this.options.marker,we=this[this.specialGroup]||this.markerGroup,Se=this.xAxis,Ne=Z(Q.enabled,!Se||Se.isRadial?!0:null,this.closestPointRangePx>=Q.enabledThreshold*Q.radius),ze,Je;if(Q.enabled!==!1||this._hasPointMarkers)for(ze=0;ze<h.length;ze++){var qe=h[ze],Me=(Je=qe.graphic)?"animate":"attr",Fe=qe.marker||{},Ue=!!qe.marker;if((Ne&&typeof Fe.enabled=="undefined"||Fe.enabled)&&!qe.isNull&&qe.visible!==!1){var he=Z(Fe.symbol,this.symbol,"rect"),xe=this.markerAttribs(qe,qe.selected&&"select");this.enabledDataSorting&&(qe.startXPos=Se.reversed?-(xe.width||0):Se.width);var q=qe.isInside!==!1;Je?Je[q?"show":"hide"](q).animate(xe):q&&(0<(xe.width||0)||qe.hasImage)&&(qe.graphic=Je=te.renderer.symbol(he,xe.x,xe.y,xe.width,xe.height,Ue?Fe:Q).add(we),this.enabledDataSorting&&te.hasRendered&&(Je.attr({x:qe.startXPos}),Me="animate")),Je&&Me==="animate"&&Je[q?"show":"hide"](q).animate(xe),Je&&!te.styledMode&&Je[Me](this.pointAttribs(qe,qe.selected&&"select")),Je&&Je.addClass(qe.getClassName(),!0)}else Je&&(qe.graphic=Je.destroy())}},pe.prototype.markerAttribs=function(h,te){var Q=this.options,we=Q.marker,Se=h.marker||{},Ne=Se.symbol||we.symbol,ze=Z(Se.radius,we.radius);return te&&(we=we.states[te],te=Se.states&&Se.states[te],ze=Z(te&&te.radius,we&&we.radius,ze+(we&&we.radiusPlus||0))),h.hasImage=Ne&&Ne.indexOf("url")===0,h.hasImage&&(ze=0),h={x:Q.crisp?Math.floor(h.plotX-ze):h.plotX-ze,y:h.plotY-ze},ze&&(h.width=h.height=2*ze),h},pe.prototype.pointAttribs=function(h,te){var Q=this.options.marker,we=h&&h.options,Se=we&&we.marker||{},Ne=we&&we.color,ze=h&&h.color,Je=h&&h.zone&&h.zone.color,qe=this.color;return h=Z(Se.lineWidth,Q.lineWidth),we=1,qe=Ne||Je||ze||qe,Ne=Se.fillColor||Q.fillColor||qe,ze=Se.lineColor||Q.lineColor||qe,te=te||"normal",Q=Q.states[te]||{},te=Se.states&&Se.states[te]||{},h=Z(te.lineWidth,Q.lineWidth,h+Z(te.lineWidthPlus,Q.lineWidthPlus,0)),Ne=te.fillColor||Q.fillColor||Ne,ze=te.lineColor||Q.lineColor||ze,we=Z(te.opacity,Q.opacity,we),{stroke:ze,"stroke-width":h,fill:Ne,opacity:we}},pe.prototype.destroy=function(h){var te=this,Q=te.chart,we=/AppleWebKit\/533/.test(g.navigator.userAgent),Se=te.data||[],Ne,ze,Je,qe;for(F(te,"destroy"),this.removeEvents(h),(te.axisTypes||[]).forEach(function(Me){(qe=te[Me])&&qe.series&&(A(qe.series,te),qe.isDirty=qe.forceRedraw=!0)}),te.legendItem&&te.chart.legend.destroyItem(te),ze=Se.length;ze--;)(Je=Se[ze])&&Je.destroy&&Je.destroy();te.clips&&te.clips.forEach(function(Me){return Me.destroy()}),T.clearTimeout(te.animationTimeout),P(te,function(Me,Fe){Me instanceof J&&!Me.survive&&(Ne=we&&Fe==="group"?"hide":"destroy",Me[Ne]())}),Q.hoverSeries===te&&(Q.hoverSeries=void 0),A(Q.series,te),Q.orderSeries(),P(te,function(Me,Fe){h&&Fe==="hcEvents"||delete te[Fe]})},pe.prototype.applyZones=function(){var h=this,te=this.chart,Q=te.renderer,we=this.zones,Se=this.clips||[],Ne=this.graph,ze=this.area,Je=Math.max(te.chartWidth,te.chartHeight),qe=this[(this.zoneAxis||"y")+"Axis"],Me=te.inverted,Fe,Ue,he,xe,q,me,De,Te,Oe=!1;if(we.length&&(Ne||ze)&&qe&&typeof qe.min!="undefined"){var st=qe.reversed,Ft=qe.horiz;Ne&&!this.showLine&&Ne.hide(),ze&&ze.hide();var Qt=qe.getExtremes();we.forEach(function(Vt,Gt){Fe=st?Ft?te.plotWidth:0:Ft?0:qe.toPixels(Qt.min)||0,Fe=K(Z(Ue,Fe),0,Je),Ue=K(Math.round(qe.toPixels(Z(Vt.value,Qt.max),!0)||0),0,Je),Oe&&(Fe=Ue=qe.toPixels(Qt.max)),xe=Math.abs(Fe-Ue),q=Math.min(Fe,Ue),me=Math.max(Fe,Ue),qe.isXAxis?(he={x:Me?me:q,y:0,width:xe,height:Je},Ft||(he.x=te.plotHeight-he.x)):(he={x:0,y:Me?me:q,width:Je,height:xe},Ft&&(he.y=te.plotWidth-he.y)),Me&&Q.isVML&&(he=qe.isXAxis?{x:0,y:st?q:me,height:he.width,width:te.chartWidth}:{x:he.y-te.plotLeft-te.spacingBox.x,y:0,width:he.height,height:te.chartHeight}),Se[Gt]?Se[Gt].animate(he):Se[Gt]=Q.clipRect(he),De=h["zone-area-"+Gt],Te=h["zone-graph-"+Gt],Ne&&Te&&Te.clip(Se[Gt]),ze&&De&&De.clip(Se[Gt]),Oe=Vt.value>Qt.max,h.resetZones&&Ue===0&&(Ue=void 0)}),this.clips=Se}else h.visible&&(Ne&&Ne.show(!0),ze&&ze.show(!0))},pe.prototype.invertGroups=function(h){function te(){["group","markerGroup"].forEach(function(Se){Q[Se]&&(we.renderer.isVML&&Q[Se].attr({width:Q.yAxis.len,height:Q.xAxis.len}),Q[Se].width=Q.yAxis.len,Q[Se].height=Q.xAxis.len,Q[Se].invert(Q.isRadialSeries?!1:h))})}var Q=this,we=Q.chart;Q.xAxis&&(Q.eventsToUnbind.push(O(we,"resize",te)),te(),Q.invertGroups=te)},pe.prototype.plotGroup=function(h,te,Q,we,Se){var Ne=this[h],ze=!Ne;return Q={visibility:Q,zIndex:we||.1},typeof this.opacity=="undefined"||this.chart.styledMode||this.state==="inactive"||(Q.opacity=this.opacity),ze&&(this[h]=Ne=this.chart.renderer.g().add(Se)),Ne.addClass("highcharts-"+te+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(x(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(Ne.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),Ne.attr(Q)[ze?"attr":"animate"](this.getPlotBox()),Ne},pe.prototype.getPlotBox=function(){var h=this.chart,te=this.xAxis,Q=this.yAxis;return h.inverted&&(te=Q,Q=this.xAxis),{translateX:te?te.left:h.plotLeft,translateY:Q?Q.top:h.plotTop,scaleX:1,scaleY:1}},pe.prototype.removeEvents=function(h){h||ae(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(te){te()}),this.eventsToUnbind.length=0)},pe.prototype.render=function(){var h=this,te=h.chart,Q=h.options,we=V(Q.animation),Se=h.visible?"inherit":"hidden",Ne=Q.zIndex,ze=h.hasRendered,Je=te.seriesGroup,qe=te.inverted;te=!h.finishedAnimating&&te.renderer.isSVG?we.duration:0,F(this,"render");var Me=h.plotGroup("group","series",Se,Ne,Je);h.markerGroup=h.plotGroup("markerGroup","markers",Se,Ne,Je),Q.clip!==!1&&h.setClip(),h.animate&&te&&h.animate(!0),Me.inverted=Z(h.invertible,h.isCartesian)?qe:!1,h.drawGraph&&(h.drawGraph(),h.applyZones()),h.visible&&h.drawPoints(),h.drawDataLabels&&h.drawDataLabels(),h.redrawPoints&&h.redrawPoints(),h.drawTracker&&h.options.enableMouseTracking!==!1&&h.drawTracker(),h.invertGroups(qe),h.animate&&te&&h.animate(),ze||(te&&we.defer&&(te+=we.defer),h.animationTimeout=be(function(){h.afterAnimate()},te||0)),h.isDirty=!1,h.hasRendered=!0,F(h,"afterRender")},pe.prototype.redraw=function(){var h=this.chart,te=this.isDirty||this.isDirtyData,Q=this.group,we=this.xAxis,Se=this.yAxis;Q&&(h.inverted&&Q.attr({width:h.plotWidth,height:h.plotHeight}),Q.animate({translateX:Z(we&&we.left,h.plotLeft),translateY:Z(Se&&Se.top,h.plotTop)})),this.translate(),this.render(),te&&delete this.kdTree},pe.prototype.searchPoint=function(h,te){var Q=this.xAxis,we=this.yAxis,Se=this.chart.inverted;return this.searchKDTree({clientX:Se?Q.len-h.chartY+Q.pos:h.chartX-Q.pos,plotY:Se?we.len-h.chartX+we.pos:h.chartY-we.pos},te,h)},pe.prototype.buildKDTree=function(h){function te(Se,Ne,ze){var Je=Se&&Se.length;if(Je){var qe=Q.kdAxisArray[Ne%ze];return Se.sort(function(Me,Fe){return Me[qe]-Fe[qe]}),Je=Math.floor(Je/2),{point:Se[Je],left:te(Se.slice(0,Je),Ne+1,ze),right:te(Se.slice(Je+1),Ne+1,ze)}}}this.buildingKdTree=!0;var Q=this,we=-1<Q.options.findNearestPointBy.indexOf("y")?2:1;delete Q.kdTree,be(function(){Q.kdTree=te(Q.getValidPoints(null,!Q.directTouch),we,we),Q.buildingKdTree=!1},Q.options.kdNow||h&&h.type==="touchstart"?0:1)},pe.prototype.searchKDTree=function(h,te,Q){function we(qe,Me,Fe,Ue){var he=Me.point,xe=Se.kdAxisArray[Fe%Ue],q=he,me=x(qe[Ne])&&x(he[Ne])?Math.pow(qe[Ne]-he[Ne],2):null,De=x(qe[ze])&&x(he[ze])?Math.pow(qe[ze]-he[ze],2):null;return De=(me||0)+(De||0),he.dist=x(De)?Math.sqrt(De):Number.MAX_VALUE,he.distX=x(me)?Math.sqrt(me):Number.MAX_VALUE,xe=qe[xe]-he[xe],De=0>xe?"left":"right",me=0>xe?"right":"left",Me[De]&&(De=we(qe,Me[De],Fe+1,Ue),q=De[Je]<q[Je]?De:he),Me[me]&&Math.sqrt(xe*xe)<q[Je]&&(qe=we(qe,Me[me],Fe+1,Ue),q=qe[Je]<q[Je]?qe:q),q}var Se=this,Ne=this.kdAxisArray[0],ze=this.kdAxisArray[1],Je=te?"distX":"dist";if(te=-1<Se.options.findNearestPointBy.indexOf("y")?2:1,this.kdTree||this.buildingKdTree||this.buildKDTree(Q),this.kdTree)return we(h,this.kdTree,te,te)},pe.prototype.pointPlacementToXValue=function(){var h=this.options,te=h.pointRange,Q=this.xAxis;return h=h.pointPlacement,h==="between"&&(h=Q.reversed?-.5:.5),ie(h)?h*(te||Q.pointRange):0},pe.prototype.isPointInside=function(h){var te=this.chart,Q=this.xAxis,we=this.yAxis;return typeof h.plotY!="undefined"&&typeof h.plotX!="undefined"&&0<=h.plotY&&h.plotY<=(we?we.len:te.plotHeight)&&0<=h.plotX&&h.plotX<=(Q?Q.len:te.plotWidth)},pe.prototype.drawTracker=function(){var h=this,te=h.options,Q=te.trackByArea,we=[].concat(Q?h.areaPath:h.graphPath),Se=h.chart,Ne=Se.pointer,ze=Se.renderer,Je=Se.options.tooltip.snap,qe=h.tracker,Me=function(Ue){Se.hoverSeries!==h&&h.onMouseOver()},Fe="rgba(192,192,192,"+(X?1e-4:.002)+")";qe?qe.attr({d:we}):h.graph&&(h.tracker=ze.path(we).attr({visibility:h.visible?"visible":"hidden",zIndex:2}).addClass(Q?"highcharts-tracker-area":"highcharts-tracker-line").add(h.group),Se.styledMode||h.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:Fe,fill:Q?Fe:"none","stroke-width":h.graph.strokeWidth()+(Q?0:2*Je)}),[h.tracker,h.markerGroup,h.dataLabelsGroup].forEach(function(Ue){Ue&&(Ue.addClass("highcharts-tracker").on("mouseover",Me).on("mouseout",function(he){Ne.onTrackerMouseOut(he)}),te.cursor&&!Se.styledMode&&Ue.css({cursor:te.cursor}),B)&&Ue.on("touchstart",Me)})),F(this,"afterDrawTracker")},pe.prototype.addPoint=function(h,te,Q,we,Se){var Ne=this.options,ze=this.data,Je=this.chart,qe=this.xAxis;qe=qe&&qe.hasNames&&qe.names;var Me=Ne.data,Fe=this.xData,Ue;te=Z(te,!0);var he={series:this};this.pointClass.prototype.applyOptions.apply(he,[h]);var xe=he.x,q=Fe.length;if(this.requireSorting&&xe<Fe[q-1])for(Ue=!0;q&&Fe[q-1]>xe;)q--;this.updateParallelArrays(he,"splice",q,0,0),this.updateParallelArrays(he,q),qe&&he.name&&(qe[xe]=he.name),Me.splice(q,0,h),Ue&&(this.data.splice(q,0,null),this.processData()),Ne.legendType==="point"&&this.generatePoints(),Q&&(ze[0]&&ze[0].remove?ze[0].remove(!1):(ze.shift(),this.updateParallelArrays(he,"shift"),Me.shift())),Se!==!1&&F(this,"addPoint",{point:he}),this.isDirtyData=this.isDirty=!0,te&&Je.redraw(we)},pe.prototype.removePoint=function(h,te,Q){var we=this,Se=we.data,Ne=Se[h],ze=we.points,Je=we.chart,qe=function(){ze&&ze.length===Se.length&&ze.splice(h,1),Se.splice(h,1),we.options.data.splice(h,1),we.updateParallelArrays(Ne||{series:we},"splice",h,1),Ne&&Ne.destroy(),we.isDirty=!0,we.isDirtyData=!0,te&&Je.redraw()};L(Q,Je),te=Z(te,!0),Ne?Ne.firePointEvent("remove",null,qe):qe()},pe.prototype.remove=function(h,te,Q,we){function Se(){Ne.destroy(we),ze.isDirtyLegend=ze.isDirtyBox=!0,ze.linkSeries(),Z(h,!0)&&ze.redraw(te)}var Ne=this,ze=Ne.chart;Q!==!1?F(Ne,"remove",null,Se):Se()},pe.prototype.update=function(h,te){h=d(h,this.userOptions),F(this,"update",{options:h});var Q=this,we=Q.chart,Se=Q.userOptions,Ne=Q.initialType||Q.type,ze=we.options.plotOptions,Je=p[Ne].prototype,qe=Q.finishedAnimating&&{animation:!1},Me={},Fe,Ue=["eventOptions","navigatorSeries","baseSeries"],he=h.type||Se.type||we.options.chart.type,xe=!(this.hasDerivedData||he&&he!==this.type||typeof h.pointStart!="undefined"||typeof h.pointInterval!="undefined"||typeof h.relativeXValue!="undefined"||Q.hasOptionChanged("dataGrouping")||Q.hasOptionChanged("pointStart")||Q.hasOptionChanged("pointInterval")||Q.hasOptionChanged("pointIntervalUnit")||Q.hasOptionChanged("keys"));if(he=he||Ne,xe&&(Ue.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),h.visible!==!1&&Ue.push("area","graph"),Q.parallelArrays.forEach(function(me){Ue.push(me+"Data")}),h.data&&(h.dataSorting&&C(Q.options.dataSorting,h.dataSorting),this.setData(h.data,!1))),h=ue(Se,qe,{index:typeof Se.index=="undefined"?Q.index:Se.index,pointStart:Z(ze&&ze.series&&ze.series.pointStart,Se.pointStart,Q.xData[0])},!xe&&{data:Q.options.data},h),xe&&h.data&&(h.data=Q.options.data),Ue=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(Ue),Ue.forEach(function(me){Ue[me]=Q[me],delete Q[me]}),ze=!1,p[he]){if(ze=he!==Q.type,Q.remove(!1,!1,!1,!0),ze)if(Object.setPrototypeOf)Object.setPrototypeOf(Q,p[he].prototype);else{qe=Object.hasOwnProperty.call(Q,"hcEvents")&&Q.hcEvents;for(Fe in Je)Q[Fe]=void 0;C(Q,p[he].prototype),qe?Q.hcEvents=qe:delete Q.hcEvents}}else w(17,!0,we,{missingModuleFor:he});if(Ue.forEach(function(me){Q[me]=Ue[me]}),Q.init(we,h),xe&&this.points){var q=Q.options;q.visible===!1?(Me.graphic=1,Me.dataLabel=1):Q._hasPointLabels||(h=q.marker,Je=q.dataLabels,!h||h.enabled!==!1&&(Se.marker&&Se.marker.symbol)===h.symbol||(Me.graphic=1),Je&&Je.enabled===!1&&(Me.dataLabel=1)),this.points.forEach(function(me){me&&me.series&&(me.resolveColor(),Object.keys(Me).length&&me.destroyElements(Me),q.showInLegend===!1&&me.legendItem&&we.legend.destroyItem(me))},this)}Q.initialType=Ne,we.linkSeries(),ze&&Q.linkedSeries.length&&(Q.isDirtyData=!0),F(this,"afterUpdate"),Z(te,!0)&&we.redraw(xe?void 0:!1)},pe.prototype.setName=function(h){this.name=this.options.name=this.userOptions.name=h,this.chart.isDirtyLegend=!0},pe.prototype.hasOptionChanged=function(h){var te=this.options[h],Q=this.chart.options.plotOptions,we=this.userOptions[h];return we?te!==we:te!==Z(Q&&Q[this.type]&&Q[this.type][h],Q&&Q.series&&Q.series[h],te)},pe.prototype.onMouseOver=function(){var h=this.chart,te=h.hoverSeries;h.pointer.setHoverChartIndex(),te&&te!==this&&te.onMouseOut(),this.options.events.mouseOver&&F(this,"mouseOver"),this.setState("hover"),h.hoverSeries=this},pe.prototype.onMouseOut=function(){var h=this.options,te=this.chart,Q=te.tooltip,we=te.hoverPoint;te.hoverSeries=null,we&&we.onMouseOut(),this&&h.events.mouseOut&&F(this,"mouseOut"),!Q||this.stickyTracking||Q.shared&&!this.noSharedTooltip||Q.hide(),te.series.forEach(function(Se){Se.setState("",!0)})},pe.prototype.setState=function(h,te){var Q=this,we=Q.options,Se=Q.graph,Ne=we.inactiveOtherPoints,ze=we.states,Je=Z(ze[h||"normal"]&&ze[h||"normal"].animation,Q.chart.options.chart.animation),qe=we.lineWidth,Me=0,Fe=we.opacity;if(h=h||"",Q.state!==h&&([Q.group,Q.markerGroup,Q.dataLabelsGroup].forEach(function(Ue){Ue&&(Q.state&&Ue.removeClass("highcharts-series-"+Q.state),h&&Ue.addClass("highcharts-series-"+h))}),Q.state=h,!Q.chart.styledMode)){if(ze[h]&&ze[h].enabled===!1)return;if(h&&(qe=ze[h].lineWidth||qe+(ze[h].lineWidthPlus||0),Fe=Z(ze[h].opacity,Fe)),Se&&!Se.dashstyle)for(we={"stroke-width":qe},Se.animate(we,Je);Q["zone-graph-"+Me];)Q["zone-graph-"+Me].animate(we,Je),Me+=1;Ne||[Q.group,Q.markerGroup,Q.dataLabelsGroup,Q.labelBySeries].forEach(function(Ue){Ue&&Ue.animate({opacity:Fe},Je)})}te&&Ne&&Q.points&&Q.setAllPointsToState(h||void 0)},pe.prototype.setAllPointsToState=function(h){this.points.forEach(function(te){te.setState&&te.setState(h)})},pe.prototype.setVisible=function(h,te){var Q=this,we=Q.chart,Se=Q.legendItem,Ne=we.options.chart.ignoreHiddenSeries,ze=Q.visible,Je=(Q.visible=h=Q.options.visible=Q.userOptions.visible=typeof h=="undefined"?!ze:h)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(function(qe){Q[qe]&&Q[qe][Je]()}),(we.hoverSeries===Q||(we.hoverPoint&&we.hoverPoint.series)===Q)&&Q.onMouseOut(),Se&&we.legend.colorizeItem(Q,h),Q.isDirty=!0,Q.options.stacking&&we.series.forEach(function(qe){qe.options.stacking&&qe.visible&&(qe.isDirty=!0)}),Q.linkedSeries.forEach(function(qe){qe.setVisible(h,!1)}),Ne&&(we.isDirtyBox=!0),F(Q,Je),te!==!1&&we.redraw()},pe.prototype.show=function(){this.setVisible(!0)},pe.prototype.hide=function(){this.setVisible(!1)},pe.prototype.select=function(h){this.selected=h=this.options.selected=typeof h=="undefined"?!this.selected:h,this.checkbox&&(this.checkbox.checked=h),F(this,h?"select":"unselect")},pe.prototype.shouldShowTooltip=function(h,te,Q){return Q===void 0&&(Q={}),Q.series=this,Q.visiblePlotOnly=!0,this.chart.isInsidePlot(h,te,Q)},pe.defaultOptions=se,pe}(),C(m.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:W.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:re,requireSorting:!0,sorted:!0}),S.series=m,m}),l(u,"Extensions/ScrollablePlotArea.js",[u["Core/Animation/AnimationUtilities.js"],u["Core/Axis/Axis.js"],u["Core/Chart/Chart.js"],u["Core/Series/Series.js"],u["Core/Renderer/RendererRegistry.js"],u["Core/Utilities.js"]],function(m,v,M,ee,W,re){var se=m.stop,S=re.addEvent,J=re.createElement,T=re.merge,V=re.pick;S(M,"afterSetChartSize",function(L){var c=this.options.chart.scrollablePlotArea,R=c&&c.minWidth;if(c=c&&c.minHeight,!this.renderer.forExport){if(R){if(this.scrollablePixelsX=R=Math.max(0,R-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=T(this.plotBox),this.plotBox.width=this.plotWidth+=R,this.inverted?this.clipBox.height+=R:this.clipBox.width+=R;var B={1:{name:"right",value:R}}}}else c&&(this.scrollablePixelsY=R=Math.max(0,c-this.chartHeight))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=T(this.plotBox),this.plotBox.height=this.plotHeight+=R,this.inverted?this.clipBox.width+=R:this.clipBox.height+=R,B={2:{name:"bottom",value:R}});B&&!L.skipAxes&&this.axes.forEach(function(X){B[X.side]?X.getPlotLinePath=function(){var g=B[X.side].name,p=this[g];this[g]=p-B[X.side].value;var O=v.prototype.getPlotLinePath.apply(this,arguments);return this[g]=p,O}:(X.setAxisSize(),X.setAxisTranslation())})}}),S(M,"render",function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()}),M.prototype.setUpScrolling=function(){var L=this,c={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(c.overflowX="auto"),this.scrollablePixelsY&&(c.overflowY="auto"),this.scrollingParent=J("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=J("div",{className:"highcharts-scrolling"},c,this.scrollingParent),S(this.scrollingContainer,"scroll",function(){L.pointer&&delete L.pointer.chartPosition}),this.innerContainer=J("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},M.prototype.moveFixedElements=function(){var L=this.container,c=this.fixedRenderer,R=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" "),B;this.scrollablePixelsX&&!this.inverted?B=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?B=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(B=".highcharts-yaxis"),B&&R.push(B+":not(.highcharts-radial-axis)",B+"-labels:not(.highcharts-radial-axis-labels)"),R.forEach(function(X){[].forEach.call(L.querySelectorAll(X),function(g){(g.namespaceURI===c.SVG_NS?c.box:c.box.parentNode).appendChild(g),g.style.pointerEvents="auto"})})},M.prototype.applyFixed=function(){var L=!this.fixedDiv,c=this.options.chart,R=c.scrollablePlotArea,B=W.getRendererType();L?(this.fixedDiv=J("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(c.style&&c.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=c=new B(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=c.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":V(R.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),S(this,"afterShowResetZoom",this.moveFixedElements),S(this,"afterDrilldown",this.moveFixedElements),S(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||L)&&(this.scrollableDirty=!1,this.moveFixedElements()),c=this.chartWidth+(this.scrollablePixelsX||0),B=this.chartHeight+(this.scrollablePixelsY||0),se(this.container),this.container.style.width=c+"px",this.container.style.height=B+"px",this.renderer.boxWrapper.attr({width:c,height:B,viewBox:[0,0,c,B].join(" ")}),this.chartBackground.attr({width:c,height:B}),this.scrollingContainer.style.height=this.chartHeight+"px",L&&(R.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*R.scrollPositionX),R.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*R.scrollPositionY)),B=this.axisOffset,L=this.plotTop-B[0]-1,R=this.plotLeft-B[3]-1,c=this.plotTop+this.plotHeight+B[2]+1,B=this.plotLeft+this.plotWidth+B[1]+1;var X=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),g=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);L=this.scrollablePixelsX?[["M",0,L],["L",this.plotLeft-1,L],["L",this.plotLeft-1,c],["L",0,c],["Z"],["M",X,L],["L",this.chartWidth,L],["L",this.chartWidth,c],["L",X,c],["Z"]]:this.scrollablePixelsY?[["M",R,0],["L",R,this.plotTop-1],["L",B,this.plotTop-1],["L",B,0],["Z"],["M",R,g],["L",R,this.chartHeight],["L",B,this.chartHeight],["L",B,g],["Z"]]:[["M",0,0]],this.redrawTrigger!=="adjustHeight"&&this.scrollableMask.attr({d:L})},S(v,"afterInit",function(){this.chart.scrollableDirty=!0}),S(ee,"show",function(){this.chart.scrollableDirty=!0})}),l(u,"Core/Axis/StackingAxis.js",[u["Core/Animation/AnimationUtilities.js"],u["Core/Axis/Axis.js"],u["Core/Utilities.js"]],function(m,v,M){var ee=m.getDeferredAnimation,W=M.addEvent,re=M.destroyObjectProperties,se=M.fireEvent,S=M.isNumber,J=M.objectEach,T;return function(V){function L(){var X=this.stacking;if(X){var g=X.stacks;J(g,function(p,O){re(p),g[O]=null}),X&&X.stackTotalGroup&&X.stackTotalGroup.destroy()}}function c(){this.stacking||(this.stacking=new B(this))}var R=[];V.compose=function(X){return R.indexOf(X)===-1&&(R.push(X),W(X,"init",c),W(X,"destroy",L)),X};var B=function(){function X(g){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=g}return X.prototype.buildStacks=function(){var g=this.axis,p=g.series,O=g.options.reversedStacks,I=p.length,E;if(!g.isXAxis){for(this.usePercentage=!1,E=I;E--;){var K=p[O?E:I-E-1];K.setStackedPoints(),K.setGroupedPoints()}for(E=0;E<I;E++)p[E].modifyStacks();se(g,"afterBuildStacks")}},X.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var g=this.stacks=this.oldStacks;J(g,function(p){J(p,function(O){O.cumulative=O.total})})}},X.prototype.resetStacks=function(){var g=this,p=g.stacks;g.axis.isXAxis||J(p,function(O){J(O,function(I,E){S(I.touched)&&I.touched<g.stacksTouched?(I.destroy(),delete O[E]):(I.total=null,I.cumulative=null)})})},X.prototype.renderStackTotals=function(){var g=this.axis,p=g.chart,O=p.renderer,I=this.stacks;g=ee(p,g.options.stackLabels&&g.options.stackLabels.animation||!1);var E=this.stackTotalGroup=this.stackTotalGroup||O.g("stack-labels").attr({visibility:"visible",zIndex:6,opacity:0}).add();E.translate(p.plotLeft,p.plotTop),J(I,function(K){J(K,function(d){d.render(E)})}),E.animate({opacity:1},g)},X}();V.Additions=B}(T||(T={})),T}),l(u,"Extensions/Stacking.js",[u["Core/Axis/Axis.js"],u["Core/Chart/Chart.js"],u["Core/FormatUtilities.js"],u["Core/Globals.js"],u["Core/Series/Series.js"],u["Core/Axis/StackingAxis.js"],u["Core/Utilities.js"]],function(m,v,M,ee,W,re,se){var S=M.format,J=se.correctFloat,T=se.defined,V=se.destroyObjectProperties,L=se.isArray,c=se.isNumber,R=se.objectEach,B=se.pick,X=function(){function g(p,O,I,E,K){var d=p.chart.inverted;this.axis=p,this.isNegative=I,this.options=O=O||{},this.x=E,this.total=null,this.points={},this.hasValidPoints=!1,this.stack=K,this.rightCliff=this.leftCliff=0,this.alignOptions={align:O.align||(d?I?"left":"right":"center"),verticalAlign:O.verticalAlign||(d?"middle":I?"bottom":"top"),y:O.y,x:O.x},this.textAlign=O.textAlign||(d?I?"right":"left":"center")}return g.prototype.destroy=function(){V(this,this.axis)},g.prototype.render=function(p){var O=this.axis.chart,I=this.options,E=I.format;E=E?S(E,this,O):I.formatter.call(this),this.label?this.label.attr({text:E,visibility:"hidden"}):(this.label=O.renderer.label(E,null,null,I.shape,null,null,I.useHTML,!1,"stack-labels"),E={r:I.borderRadius||0,text:E,rotation:I.rotation,padding:B(I.padding,5),visibility:"hidden"},O.styledMode||(E.fill=I.backgroundColor,E.stroke=I.borderColor,E["stroke-width"]=I.borderWidth,this.label.css(I.style)),this.label.attr(E),this.label.added||this.label.add(p)),this.label.labelrank=O.plotSizeY},g.prototype.setOffset=function(p,O,I,E,K){var d=this.axis,i=d.chart;E=d.translate(d.stacking.usePercentage?100:E||this.total,0,0,0,1),I=d.translate(I||0),I=T(E)&&Math.abs(E-I),p=B(K,i.xAxis[0].translate(this.x))+p,d=T(E)&&this.getStackBox(i,this,p,E,O,I,d),O=this.label,I=this.isNegative,p=B(this.options.overflow,"justify")==="justify";var x=this.textAlign;O&&d&&(K=O.getBBox(),E=O.padding,x=x==="left"?i.inverted?-E:E:x==="right"?K.width:i.inverted&&x==="center"?K.width/2:i.inverted?I?K.width+E:-E:K.width/2,I=i.inverted?K.height/2:I?-E:K.height,this.alignOptions.x=B(this.options.x,0),this.alignOptions.y=B(this.options.y,0),d.x-=x,d.y-=I,O.align(this.alignOptions,null,d),i.isInsidePlot(O.alignAttr.x+x-this.alignOptions.x,O.alignAttr.y+I-this.alignOptions.y)?O.show():(O.alignAttr.y=-9999,p=!1),p&&W.prototype.justifyDataLabel.call(this.axis,O,this.alignOptions,O.alignAttr,K,d),O.attr({x:O.alignAttr.x,y:O.alignAttr.y}),B(!p&&this.options.crop,!0)&&((i=c(O.x)&&c(O.y)&&i.isInsidePlot(O.x-E+O.width,O.y)&&i.isInsidePlot(O.x+E,O.y))||O.hide()))},g.prototype.getStackBox=function(p,O,I,E,K,d,i){var x=O.axis.reversed,A=p.inverted,w=i.height+i.pos-(A?p.plotLeft:p.plotTop);return O=O.isNegative&&!x||!O.isNegative&&x,{x:A?O?E-i.right:E-d+i.pos-p.plotLeft:I+p.xAxis[0].transB-p.plotLeft,y:A?i.height-I-K:O?w-E-d:w-E,width:A?d:K,height:A?K:d}},g}();return v.prototype.getStacks=function(){var g=this,p=g.inverted;g.yAxis.forEach(function(O){O.stacking&&O.stacking.stacks&&O.hasVisibleSeries&&(O.stacking.oldStacks=O.stacking.stacks)}),g.series.forEach(function(O){var I=O.xAxis&&O.xAxis.options||{};!O.options.stacking||O.visible!==!0&&g.options.chart.ignoreHiddenSeries!==!1||(O.stackKey=[O.type,B(O.options.stack,""),p?I.top:I.left,p?I.height:I.width].join())})},re.compose(m),W.prototype.setGroupedPoints=function(){var g=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?W.prototype.setStackedPoints.call(this,"group"):g&&R(g.stacks,function(p,O){O.slice(-5)==="group"&&(R(p,function(I){return I.destroy()}),delete g.stacks[O])})},W.prototype.setStackedPoints=function(g){var p=g||this.options.stacking;if(p&&(this.visible===!0||this.chart.options.chart.ignoreHiddenSeries===!1)){var O=this.processedXData,I=this.processedYData,E=[],K=I.length,d=this.options,i=d.threshold,x=B(d.startFromThreshold&&i,0);d=d.stack,g=g?this.type+","+p:this.stackKey;var A="-"+g,w=this.negStacks,C=this.yAxis,U=C.stacking.stacks,F=C.stacking.oldStacks,Y,le;for(C.stacking.stacksTouched+=1,le=0;le<K;le++){var ie=O[le],j=I[le],ue=this.getStackIndicator(ue,ie,this.index),P=ue.key,Z=(Y=w&&j<(x?0:i))?A:g;U[Z]||(U[Z]={}),U[Z][ie]||(F[Z]&&F[Z][ie]?(U[Z][ie]=F[Z][ie],U[Z][ie].total=null):U[Z][ie]=new X(C,C.options.stackLabels,Y,ie,d)),Z=U[Z][ie],j!==null?(Z.points[P]=Z.points[this.index]=[B(Z.cumulative,x)],T(Z.cumulative)||(Z.base=P),Z.touched=C.stacking.stacksTouched,0<ue.index&&this.singleStacks===!1&&(Z.points[P][0]=Z.points[this.index+","+ie+",0"][0])):Z.points[P]=Z.points[this.index]=null,p==="percent"?(Y=Y?g:A,w&&U[Y]&&U[Y][ie]?(Y=U[Y][ie],Z.total=Y.total=Math.max(Y.total,Z.total)+Math.abs(j)||0):Z.total=J(Z.total+(Math.abs(j)||0))):p==="group"?(L(j)&&(j=j[0]),j!==null&&(Z.total=(Z.total||0)+1)):Z.total=J(Z.total+(j||0)),Z.cumulative=p==="group"?(Z.total||1)-1:B(Z.cumulative,x)+(j||0),j!==null&&(Z.points[P].push(Z.cumulative),E[le]=Z.cumulative,Z.hasValidPoints=!0)}p==="percent"&&(C.stacking.usePercentage=!0),p!=="group"&&(this.stackedYData=E),C.stacking.oldStacks={}}},W.prototype.modifyStacks=function(){var g=this,p=g.stackKey,O=g.yAxis.stacking.stacks,I=g.processedXData,E,K=g.options.stacking;g[K+"Stacker"]&&[p,"-"+p].forEach(function(d){for(var i=I.length,x,A;i--;)x=I[i],E=g.getStackIndicator(E,x,g.index,d),(A=(x=O[d]&&O[d][x])&&x.points[E.key])&&g[K+"Stacker"](A,x,i)})},W.prototype.percentStacker=function(g,p,O){p=p.total?100/p.total:0,g[0]=J(g[0]*p),g[1]=J(g[1]*p),this.stackedYData[O]=g[1]},W.prototype.getStackIndicator=function(g,p,O,I){return!T(g)||g.x!==p||I&&g.key!==I?g={x:p,index:0,key:I}:g.index++,g.key=[O,p,g.index].join(),g},ee.StackItem=X,ee.StackItem}),l(u,"Series/Line/LineSeries.js",[u["Core/Series/Series.js"],u["Core/Series/SeriesRegistry.js"],u["Core/Utilities.js"]],function(m,v,M){var ee=this&&this.__extends||function(){var se=function(S,J){return se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,V){T.__proto__=V}||function(T,V){for(var L in V)V.hasOwnProperty(L)&&(T[L]=V[L])},se(S,J)};return function(S,J){function T(){this.constructor=S}se(S,J),S.prototype=J===null?Object.create(J):(T.prototype=J.prototype,new T)}}(),W=M.defined,re=M.merge;return M=function(se){function S(){var J=se!==null&&se.apply(this,arguments)||this;return J.data=void 0,J.options=void 0,J.points=void 0,J}return ee(S,se),S.prototype.drawGraph=function(){var J=this,T=this.options,V=(this.gappedPath||this.getGraphPath).call(this),L=this.chart.styledMode,c=[["graph","highcharts-graph"]];L||c[0].push(T.lineColor||this.color||"#cccccc",T.dashStyle),c=J.getZonesGraphs(c),c.forEach(function(R,B){var X=R[0],g=J[X],p=g?"animate":"attr";g?(g.endX=J.preventGraphAnimation?null:V.xMap,g.animate({d:V})):V.length&&(J[X]=g=J.chart.renderer.path(V).addClass(R[1]).attr({zIndex:1}).add(J.group)),g&&!L&&(X={stroke:R[2],"stroke-width":T.lineWidth,fill:J.fillGraph&&J.color||"none"},R[3]?X.dashstyle=R[3]:T.linecap!=="square"&&(X["stroke-linecap"]=X["stroke-linejoin"]="round"),g[p](X).shadow(2>B&&T.shadow)),g&&(g.startX=V.xMap,g.isArea=V.isArea)})},S.prototype.getGraphPath=function(J,T,V){var L=this,c=L.options,R=[],B=[],X,g=c.step;J=J||L.points;var p=J.reversed;return p&&J.reverse(),(g={right:1,center:2}[g]||g&&3)&&p&&(g=4-g),J=this.getValidPoints(J,!1,!(c.connectNulls&&!T&&!V)),J.forEach(function(O,I){var E=O.plotX,K=O.plotY,d=J[I-1];(O.leftCliff||d&&d.rightCliff)&&!V&&(X=!0),O.isNull&&!W(T)&&0<I?X=!c.connectNulls:O.isNull&&!T?X=!0:(I===0||X?I=[["M",O.plotX,O.plotY]]:L.getPointSpline?I=[L.getPointSpline(J,O,I)]:g?(I=g===1?[["L",d.plotX,K]]:g===2?[["L",(d.plotX+E)/2,d.plotY],["L",(d.plotX+E)/2,K]]:[["L",E,d.plotY]],I.push(["L",E,K])):I=[["L",E,K]],B.push(O.x),g&&(B.push(O.x),g===2&&B.push(O.x)),R.push.apply(R,I),X=!1)}),R.xMap=B,L.graphPath=R},S.prototype.getZonesGraphs=function(J){return this.zones.forEach(function(T,V){V=["zone-graph-"+V,"highcharts-graph highcharts-zone-graph-"+V+" "+(T.className||"")],this.chart.styledMode||V.push(T.color||this.color,T.dashStyle||this.options.dashStyle),J.push(V)},this),J},S.defaultOptions=re(m.defaultOptions,{}),S}(m),v.registerSeriesType("line",M),M}),l(u,"Series/Area/AreaSeries.js",[u["Core/Color/Color.js"],u["Core/Legend/LegendSymbol.js"],u["Core/Series/SeriesRegistry.js"],u["Core/Utilities.js"]],function(m,v,M,ee){var W=this&&this.__extends||function(){var V=function(L,c){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,B){R.__proto__=B}||function(R,B){for(var X in B)B.hasOwnProperty(X)&&(R[X]=B[X])},V(L,c)};return function(L,c){function R(){this.constructor=L}V(L,c),L.prototype=c===null?Object.create(c):(R.prototype=c.prototype,new R)}}(),re=m.parse,se=M.seriesTypes.line;m=ee.extend;var S=ee.merge,J=ee.objectEach,T=ee.pick;return ee=function(V){function L(){var c=V!==null&&V.apply(this,arguments)||this;return c.data=void 0,c.options=void 0,c.points=void 0,c}return W(L,V),L.prototype.drawGraph=function(){this.areaPath=[],V.prototype.drawGraph.apply(this);var c=this,R=this.areaPath,B=this.options,X=[["area","highcharts-area",this.color,B.fillColor]];this.zones.forEach(function(g,p){X.push(["zone-area-"+p,"highcharts-area highcharts-zone-area-"+p+" "+g.className,g.color||c.color,g.fillColor||B.fillColor])}),X.forEach(function(g){var p=g[0],O=c[p],I=O?"animate":"attr",E={};O?(O.endX=c.preventGraphAnimation?null:R.xMap,O.animate({d:R})):(E.zIndex=0,O=c[p]=c.chart.renderer.path(R).addClass(g[1]).add(c.group),O.isArea=!0),c.chart.styledMode||(E.fill=T(g[3],re(g[2]).setOpacity(T(B.fillOpacity,.75)).get())),O[I](E),O.startX=R.xMap,O.shiftUnit=B.step?2:1})},L.prototype.getGraphPath=function(c){var R=se.prototype.getGraphPath,B=this.options,X=B.stacking,g=this.yAxis,p,O=[],I=[],E=this.index,K=g.stacking.stacks[this.stackKey],d=B.threshold,i=Math.round(g.getThreshold(B.threshold));B=T(B.connectNulls,X==="percent");var x=function(U,F,Y){var le=c[U];U=X&&K[le.x].points[E];var ie=le[Y+"Null"]||0;if(Y=le[Y+"Cliff"]||0,le=!0,Y||ie){var j=(ie?U[0]:U[1])+Y,ue=U[0]+Y;le=!!ie}else!X&&c[F]&&c[F].isNull&&(j=ue=d);typeof j!="undefined"&&(I.push({plotX:w,plotY:j===null?i:g.getThreshold(j),isNull:le,isCliff:!0}),O.push({plotX:w,plotY:ue===null?i:g.getThreshold(ue),doCurve:!1}))};for(c=c||this.points,X&&(c=this.getStackPoints(c)),p=0;p<c.length;p++){X||(c[p].leftCliff=c[p].rightCliff=c[p].leftNull=c[p].rightNull=void 0);var A=c[p].isNull,w=T(c[p].rectPlotX,c[p].plotX),C=X?T(c[p].yBottom,i):i;(!A||B)&&(B||x(p,p-1,"left"),A&&!X&&B||(I.push(c[p]),O.push({x:p,plotX:w,plotY:C})),B||x(p,p+1,"right"))}return p=R.call(this,I,!0,!0),O.reversed=!0,A=R.call(this,O,!0,!0),(C=A[0])&&C[0]==="M"&&(A[0]=["L",C[1],C[2]]),A=p.concat(A),A.length&&A.push(["Z"]),R=R.call(this,I,!1,B),A.xMap=p.xMap,this.areaPath=A,R},L.prototype.getStackPoints=function(c){var R=this,B=[],X=[],g=this.xAxis,p=this.yAxis,O=p.stacking.stacks[this.stackKey],I={},E=p.series,K=E.length,d=p.options.reversedStacks?1:-1,i=E.indexOf(R);if(c=c||this.points,this.options.stacking){for(var x=0;x<c.length;x++)c[x].leftNull=c[x].rightNull=void 0,I[c[x].x]=c[x];J(O,function(w,C){w.total!==null&&X.push(C)}),X.sort(function(w,C){return w-C});var A=E.map(function(w){return w.visible});X.forEach(function(w,C){var U=0,F,Y;if(I[w]&&!I[w].isNull)B.push(I[w]),[-1,1].forEach(function(ie){var j=ie===1?"rightNull":"leftNull",ue=0,P=O[X[C+ie]];if(P)for(var Z=i;0<=Z&&Z<K;){var ae=E[Z].index;F=P.points[ae],F||(ae===R.index?I[w][j]=!0:A[Z]&&(Y=O[w].points[ae])&&(ue-=Y[1]-Y[0])),Z+=d}I[w][ie===1?"rightCliff":"leftCliff"]=ue});else{for(var le=i;0<=le&&le<K;){if(F=O[w].points[E[le].index]){U=F[1];break}le+=d}U=T(U,0),U=p.translate(U,0,1,0,1),B.push({isNull:!0,plotX:g.translate(w,0,0,0,1),x:w,plotY:U,yBottom:U})}})}return B},L.defaultOptions=S(se.defaultOptions,{threshold:0}),L}(se),m(ee.prototype,{singleStacks:!1,drawLegendSymbol:v.drawRectangle}),M.registerSeriesType("area",ee),ee}),l(u,"Series/Spline/SplineSeries.js",[u["Core/Series/SeriesRegistry.js"],u["Core/Utilities.js"]],function(m,v){var M=this&&this.__extends||function(){var se=function(S,J){return se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,V){T.__proto__=V}||function(T,V){for(var L in V)V.hasOwnProperty(L)&&(T[L]=V[L])},se(S,J)};return function(S,J){function T(){this.constructor=S}se(S,J),S.prototype=J===null?Object.create(J):(T.prototype=J.prototype,new T)}}(),ee=m.seriesTypes.line,W=v.merge,re=v.pick;return v=function(se){function S(){var J=se!==null&&se.apply(this,arguments)||this;return J.data=void 0,J.options=void 0,J.points=void 0,J}return M(S,se),S.prototype.getPointSpline=function(J,T,V){var L=T.plotX||0,c=T.plotY||0,R=J[V-1];if(V=J[V+1],R&&!R.isNull&&R.doCurve!==!1&&!T.isCliff&&V&&!V.isNull&&V.doCurve!==!1&&!T.isCliff){J=R.plotY||0;var B=V.plotX||0;V=V.plotY||0;var X=0,g=(1.5*L+(R.plotX||0))/2.5,p=(1.5*c+J)/2.5;B=(1.5*L+B)/2.5;var O=(1.5*c+V)/2.5;B!==g&&(X=(O-p)*(B-L)/(B-g)+c-O),p+=X,O+=X,p>J&&p>c?(p=Math.max(J,c),O=2*c-p):p<J&&p<c&&(p=Math.min(J,c),O=2*c-p),O>V&&O>c?(O=Math.max(V,c),p=2*c-O):O<V&&O<c&&(O=Math.min(V,c),p=2*c-O),T.rightContX=B,T.rightContY=O}return T=["C",re(R.rightContX,R.plotX,0),re(R.rightContY,R.plotY,0),re(g,L,0),re(p,c,0),L,c],R.rightContX=R.rightContY=void 0,T},S.defaultOptions=W(ee.defaultOptions),S}(ee),m.registerSeriesType("spline",v),v}),l(u,"Series/AreaSpline/AreaSplineSeries.js",[u["Series/Area/AreaSeries.js"],u["Series/Spline/SplineSeries.js"],u["Core/Legend/LegendSymbol.js"],u["Core/Series/SeriesRegistry.js"],u["Core/Utilities.js"]],function(m,v,M,ee,W){var re=this&&this.__extends||function(){var T=function(V,L){return T=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,R){c.__proto__=R}||function(c,R){for(var B in R)R.hasOwnProperty(B)&&(c[B]=R[B])},T(V,L)};return function(V,L){function c(){this.constructor=V}T(V,L),V.prototype=L===null?Object.create(L):(c.prototype=L.prototype,new c)}}(),se=m.prototype,S=W.extend,J=W.merge;return W=function(T){function V(){var L=T!==null&&T.apply(this,arguments)||this;return L.data=void 0,L.points=void 0,L.options=void 0,L}return re(V,T),V.defaultOptions=J(v.defaultOptions,m.defaultOptions),V}(v),S(W.prototype,{getGraphPath:se.getGraphPath,getStackPoints:se.getStackPoints,drawGraph:se.drawGraph,drawLegendSymbol:M.drawRectangle}),ee.registerSeriesType("areaspline",W),W}),l(u,"Series/Column/ColumnSeries.js",[u["Core/Animation/AnimationUtilities.js"],u["Core/Color/Color.js"],u["Core/Globals.js"],u["Core/Legend/LegendSymbol.js"],u["Core/Series/Series.js"],u["Core/Series/SeriesRegistry.js"],u["Core/Utilities.js"]],function(m,v,M,ee,W,re,se){var S=this&&this.__extends||function(){var K=function(d,i){return K=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,A){x.__proto__=A}||function(x,A){for(var w in A)A.hasOwnProperty(w)&&(x[w]=A[w])},K(d,i)};return function(d,i){function x(){this.constructor=d}K(d,i),d.prototype=i===null?Object.create(i):(x.prototype=i.prototype,new x)}}(),J=m.animObject,T=v.parse,V=M.hasTouch;m=M.noop;var L=se.clamp,c=se.css,R=se.defined,B=se.extend,X=se.fireEvent,g=se.isArray,p=se.isNumber,O=se.merge,I=se.pick,E=se.objectEach;return se=function(K){function d(){var i=K!==null&&K.apply(this,arguments)||this;return i.borderWidth=void 0,i.data=void 0,i.group=void 0,i.options=void 0,i.points=void 0,i}return S(d,K),d.prototype.animate=function(i){var x=this,A=this.yAxis,w=x.options,C=this.chart.inverted,U={},F=C?"translateX":"translateY";if(i)U.scaleY=.001,i=L(A.toPixels(w.threshold),A.pos,A.pos+A.len),C?U.translateX=i-A.len:U.translateY=i,x.clipBox&&x.setClip(),x.group.attr(U);else{var Y=Number(x.group.attr(F));x.group.animate({scaleY:1},B(J(x.options.animation),{step:function(le,ie){x.group&&(U[F]=Y+ie.pos*(A.pos-Y),x.group.attr(U))}}))}},d.prototype.init=function(i,x){K.prototype.init.apply(this,arguments);var A=this;i=A.chart,i.hasRendered&&i.series.forEach(function(w){w.type===A.type&&(w.isDirty=!0)})},d.prototype.getColumnMetrics=function(){var i=this,x=i.options,A=i.xAxis,w=i.yAxis,C=A.options.reversedStacks;C=A.reversed&&!C||!A.reversed&&C;var U={},F,Y=0;x.grouping===!1?Y=1:i.chart.series.forEach(function(ue){var P=ue.yAxis,Z=ue.options;if(ue.type===i.type&&(ue.visible||!i.chart.options.chart.ignoreHiddenSeries)&&w.len===P.len&&w.pos===P.pos){if(Z.stacking&&Z.stacking!=="group"){F=ue.stackKey,typeof U[F]=="undefined"&&(U[F]=Y++);var ae=U[F]}else Z.grouping!==!1&&(ae=Y++);ue.columnIndex=ae}});var le=Math.min(Math.abs(A.transA)*(A.ordinal&&A.ordinal.slope||x.pointRange||A.closestPointRange||A.tickInterval||1),A.len),ie=le*x.groupPadding,j=(le-2*ie)/(Y||1);return x=Math.min(x.maxPointWidth||A.len,I(x.pointWidth,j*(1-2*x.pointPadding))),i.columnMetrics={width:x,offset:(j-x)/2+(ie+((i.columnIndex||0)+(C?1:0))*j-le/2)*(C?-1:1),paddedWidth:j,columnCount:Y},i.columnMetrics},d.prototype.crispCol=function(i,x,A,w){var C=this.chart,U=this.borderWidth,F=-(U%2?.5:0);return U=U%2?.5:1,C.inverted&&C.renderer.isVML&&(U+=1),this.options.crisp&&(A=Math.round(i+A)+F,i=Math.round(i)+F,A-=i),w=Math.round(x+w)+U,F=.5>=Math.abs(x)&&.5<w,x=Math.round(x)+U,w-=x,F&&w&&(--x,w+=1),{x:i,y:x,width:A,height:w}},d.prototype.adjustForMissingColumns=function(i,x,A,w){var C=this,U=this.options.stacking;if(!A.isNull&&1<w.columnCount){var F=0,Y=0;E(this.yAxis.stacking&&this.yAxis.stacking.stacks,function(le){if(typeof A.x=="number"&&(le=le[A.x.toString()])){var ie=le.points[C.index],j=le.total;U?(ie&&(F=Y),le.hasValidPoints&&Y++):g(ie)&&(F=ie[1],Y=j||0)}}),i=(A.plotX||0)+((Y-1)*w.paddedWidth+x)/2-x-F*w.paddedWidth}return i},d.prototype.translate=function(){var i=this,x=i.chart,A=i.options,w=i.dense=2>i.closestPointRange*i.xAxis.transA;w=i.borderWidth=I(A.borderWidth,w?0:1);var C=i.xAxis,U=i.yAxis,F=A.threshold,Y=i.translatedThreshold=U.getThreshold(F),le=I(A.minPointLength,5),ie=i.getColumnMetrics(),j=ie.width,ue=i.pointXOffset=ie.offset,P=i.dataMin,Z=i.dataMax,ae=i.barW=Math.max(j,1+2*w);x.inverted&&(Y-=.5),A.pointPadding&&(ae=Math.ceil(ae)),W.prototype.translate.apply(i),i.points.forEach(function(ce){var be=I(ce.yBottom,Y),pe=999+Math.abs(be),h=ce.plotX||0;pe=L(ce.plotY,-pe,U.len+pe);var te=Math.min(pe,be),Q=Math.max(pe,be)-te,we=j,Se=h+ue,Ne=ae;le&&Math.abs(Q)<le&&(Q=le,h=!U.reversed&&!ce.negative||U.reversed&&ce.negative,p(F)&&p(Z)&&ce.y===F&&Z<=F&&(U.min||0)<F&&(P!==Z||(U.max||0)<=F)&&(h=!h),te=Math.abs(te-Y)>le?be-le:Y-(h?le:0)),R(ce.options.pointWidth)&&(we=Ne=Math.ceil(ce.options.pointWidth),Se-=Math.round((we-j)/2)),A.centerInCategory&&(Se=i.adjustForMissingColumns(Se,we,ce,ie)),ce.barX=Se,ce.pointWidth=we,ce.tooltipPos=x.inverted?[L(U.len+U.pos-x.plotLeft-pe,U.pos-x.plotLeft,U.len+U.pos-x.plotLeft),C.len+C.pos-x.plotTop-Se-Ne/2,Q]:[C.left-x.plotLeft+Se+Ne/2,L(pe+U.pos-x.plotTop,U.pos-x.plotTop,U.len+U.pos-x.plotTop),Q],ce.shapeType=i.pointClass.prototype.shapeType||"rect",ce.shapeArgs=i.crispCol.apply(i,ce.isNull?[Se,Y,Ne,0]:[Se,te,Ne,Q])})},d.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},d.prototype.pointAttribs=function(i,x){var A=this.options,w=this.pointAttrToOptions||{},C=w.stroke||"borderColor",U=w["stroke-width"]||"borderWidth",F=i&&i.color||this.color,Y=i&&i[C]||A[C]||F;w=i&&i.options.dashStyle||A.dashStyle;var le=i&&i[U]||A[U]||this[U]||0,ie=I(i&&i.opacity,A.opacity,1);if(i&&this.zones.length){var j=i.getZone();F=i.options.color||j&&(j.color||i.nonZonedColor)||this.color,j&&(Y=j.borderColor||Y,w=j.dashStyle||w,le=j.borderWidth||le)}return x&&i&&(i=O(A.states[x],i.options.states&&i.options.states[x]||{}),x=i.brightness,F=i.color||typeof x!="undefined"&&T(F).brighten(i.brightness).get()||F,Y=i[C]||Y,le=i[U]||le,w=i.dashStyle||w,ie=I(i.opacity,ie)),C={fill:F,stroke:Y,"stroke-width":le,opacity:ie},w&&(C.dashstyle=w),C},d.prototype.drawPoints=function(){var i=this,x=this.chart,A=i.options,w=x.renderer,C=A.animationLimit||250,U;i.points.forEach(function(F){var Y=F.graphic,le=!!Y,ie=Y&&x.pointCount<C?"animate":"attr";p(F.plotY)&&F.y!==null?(U=F.shapeArgs,Y&&F.hasNewShapeType()&&(Y=Y.destroy()),i.enabledDataSorting&&(F.startXPos=i.xAxis.reversed?-(U&&U.width||0):i.xAxis.width),Y||(F.graphic=Y=w[F.shapeType](U).add(F.group||i.group))&&i.enabledDataSorting&&x.hasRendered&&x.pointCount<C&&(Y.attr({x:F.startXPos}),le=!0,ie="animate"),Y&&le&&Y[ie](O(U)),A.borderRadius&&Y[ie]({r:A.borderRadius}),x.styledMode||Y[ie](i.pointAttribs(F,F.selected&&"select")).shadow(F.allowShadow!==!1&&A.shadow,null,A.stacking&&!A.borderRadius),Y&&(Y.addClass(F.getClassName(),!0),Y.attr({visibility:F.visible?"inherit":"hidden"}))):Y&&(F.graphic=Y.destroy())})},d.prototype.drawTracker=function(){var i=this,x=i.chart,A=x.pointer,w=function(U){var F=A.getPointFromEvent(U);typeof F!="undefined"&&(A.isDirectTouch=!0,F.onMouseOver(U))},C;i.points.forEach(function(U){C=g(U.dataLabels)?U.dataLabels:U.dataLabel?[U.dataLabel]:[],U.graphic&&(U.graphic.element.point=U),C.forEach(function(F){F.div?F.div.point=U:F.element.point=U})}),i._hasTracking||(i.trackerGroups.forEach(function(U){i[U]&&(i[U].addClass("highcharts-tracker").on("mouseover",w).on("mouseout",function(F){A.onTrackerMouseOut(F)}),V&&i[U].on("touchstart",w),!x.styledMode&&i.options.cursor&&i[U].css(c).css({cursor:i.options.cursor}))}),i._hasTracking=!0),X(this,"afterDrawTracker")},d.prototype.remove=function(){var i=this,x=i.chart;x.hasRendered&&x.series.forEach(function(A){A.type===i.type&&(A.isDirty=!0)}),W.prototype.remove.apply(i,arguments)},d.defaultOptions=O(W.defaultOptions,{borderRadius:0,centerInCategory:!1,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:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}),d}(W),B(se.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:ee.drawRectangle,getSymbol:m,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),re.registerSeriesType("column",se),se}),l(u,"Core/Series/DataLabel.js",[u["Core/Animation/AnimationUtilities.js"],u["Core/FormatUtilities.js"],u["Core/Utilities.js"]],function(m,v,M){var ee=m.getDeferredAnimation,W=v.format,re=M.defined,se=M.extend,S=M.fireEvent,J=M.isArray,T=M.merge,V=M.objectEach,L=M.pick,c=M.splat,R;return function(B){function X(d,i,x,A,w){var C=this,U=this.chart,F=this.isCartesian&&U.inverted,Y=this.enabledDataSorting,le=L(d.dlBox&&d.dlBox.centerX,d.plotX,-9999),ie=L(d.plotY,-9999),j=i.getBBox(),ue=x.rotation,P=x.align,Z=U.isInsidePlot(le,Math.round(ie),{inverted:F,paneCoordinates:!0,series:C}),ae=function(h){Y&&C.xAxis&&!ce&&C.setDataLabelStartPos(d,i,w,Z,h)},ce=L(x.overflow,Y?"none":"justify")==="justify",be=this.visible&&d.visible!==!1&&(d.series.forceDL||Y&&!ce||Z||L(x.inside,!!this.options.stacking)&&A&&U.isInsidePlot(le,F?A.x+1:A.y+A.height-1,{inverted:F,paneCoordinates:!0,series:C}));if(be){var pe=U.renderer.fontMetrics(U.styledMode?void 0:x.style.fontSize,i).b;A=se({x:F?this.yAxis.len-ie:le,y:Math.round(F?this.xAxis.len-le:ie),width:0,height:0},A),se(x,{width:j.width,height:j.height}),ue?(ce=!1,le=U.renderer.rotCorr(pe,ue),le={x:A.x+(x.x||0)+A.width/2+le.x,y:A.y+(x.y||0)+{top:0,middle:.5,bottom:1}[x.verticalAlign]*A.height},ae(le),i[w?"attr":"animate"](le).attr({align:P}),ae=(ue+720)%360,ae=180<ae&&360>ae,P==="left"?le.y-=ae?j.height:0:P==="center"?(le.x-=j.width/2,le.y-=j.height/2):P==="right"&&(le.x-=j.width,le.y-=ae?0:j.height),i.placed=!0,i.alignAttr=le):(ae(A),i.align(x,void 0,A),le=i.alignAttr),ce&&0<=A.height?this.justifyDataLabel(i,x,le,j,A,w):L(x.crop,!0)&&(be=U.isInsidePlot(le.x,le.y,{paneCoordinates:!0,series:C})&&U.isInsidePlot(le.x+j.width,le.y+j.height,{paneCoordinates:!0,series:C})),x.shape&&!ue&&i[w?"attr":"animate"]({anchorX:F?U.plotWidth-d.plotY:d.plotX,anchorY:F?U.plotHeight-d.plotX:d.plotY})}w&&Y&&(i.placed=!1),be||Y&&!ce||(i.hide(!0),i.placed=!1)}function g(d,i){var x=i.filter;return x?(i=x.operator,d=d[x.property],x=x.value,i===">"&&d>x||i==="<"&&d<x||i===">="&&d>=x||i==="<="&&d<=x||i==="=="&&d==x||i==="==="&&d===x):!0}function p(){var d=this,i=d.chart,x=d.options,A=d.points,w=d.hasRendered||0,C=i.renderer,U=x.dataLabels,F,Y=U.animation;if(Y=U.defer?ee(i,Y,d):{defer:0,duration:0},U=I(I(i.options.plotOptions&&i.options.plotOptions.series&&i.options.plotOptions.series.dataLabels,i.options.plotOptions&&i.options.plotOptions[d.type]&&i.options.plotOptions[d.type].dataLabels),U),S(this,"drawDataLabels"),J(U)||U.enabled||d._hasPointLabels){var le=d.plotGroup("dataLabelsGroup","data-labels",w?"inherit":"hidden",U.zIndex||6);le.attr({opacity:+w}),!w&&(w=d.dataLabelsGroup)&&(d.visible&&le.show(!0),w[x.animation?"animate":"attr"]({opacity:1},Y)),A.forEach(function(ie){F=c(I(U,ie.dlOptions||ie.options&&ie.options.dataLabels)),F.forEach(function(j,ue){var P=j.enabled&&(!ie.isNull||ie.dataLabelOnNull)&&g(ie,j),Z=ie.connectors?ie.connectors[ue]:ie.connector,ae=ie.dataLabels?ie.dataLabels[ue]:ie.dataLabel,ce=L(j.distance,ie.labelDistance),be=!ae;if(P){var pe=ie.getLabelConfig(),h=L(j[ie.formatPrefix+"Format"],j.format);pe=re(h)?W(h,pe,i):(j[ie.formatPrefix+"Formatter"]||j.formatter).call(pe,j),h=j.style;var te=j.rotation;i.styledMode||(h.color=L(j.color,h.color,d.color,"#000000"),h.color==="contrast"?(ie.contrastColor=C.getContrast(ie.color||d.color),h.color=!re(ce)&&j.inside||0>ce||x.stacking?ie.contrastColor:"#000000"):delete ie.contrastColor,x.cursor&&(h.cursor=x.cursor));var Q={r:j.borderRadius||0,rotation:te,padding:j.padding,zIndex:1};i.styledMode||(Q.fill=j.backgroundColor,Q.stroke=j.borderColor,Q["stroke-width"]=j.borderWidth),V(Q,function(we,Se){typeof we=="undefined"&&delete Q[Se]})}!ae||P&&re(pe)&&!!ae.div==!!j.useHTML||(ie.dataLabel=ae=ie.dataLabel&&ie.dataLabel.destroy(),ie.dataLabels&&(ie.dataLabels.length===1?delete ie.dataLabels:delete ie.dataLabels[ue]),ue||delete ie.dataLabel,Z&&(ie.connector=ie.connector.destroy(),ie.connectors&&(ie.connectors.length===1?delete ie.connectors:delete ie.connectors[ue]))),P&&re(pe)&&(ae?Q.text=pe:(ie.dataLabels=ie.dataLabels||[],ae=ie.dataLabels[ue]=te?C.text(pe,0,-9999,j.useHTML).addClass("highcharts-data-label"):C.label(pe,0,-9999,j.shape,null,null,j.useHTML,null,"data-label"),ue||(ie.dataLabel=ae),ae.addClass(" highcharts-data-label-color-"+ie.colorIndex+" "+(j.className||"")+(j.useHTML?" highcharts-tracker":""))),ae.options=j,ae.attr(Q),i.styledMode||ae.css(h).shadow(j.shadow),ae.added||ae.add(le),j.textPath&&!j.useHTML&&(ae.setTextPath(ie.getDataLabelPath&&ie.getDataLabelPath(ae)||ie.graphic,j.textPath),ie.dataLabelPath&&!j.textPath.enabled&&(ie.dataLabelPath=ie.dataLabelPath.destroy())),d.alignDataLabel(ie,ae,j,null,be))})})}S(this,"afterDrawDataLabels")}function O(d,i,x,A,w,C){var U=this.chart,F=i.align,Y=i.verticalAlign,le=d.box?0:d.padding||0,ie=i.x;ie=ie===void 0?0:ie;var j=i.y;j=j===void 0?0:j;var ue=(x.x||0)+le;if(0>ue){F==="right"&&0<=ie?(i.align="left",i.inside=!0):ie-=ue;var P=!0}return ue=(x.x||0)+A.width-le,ue>U.plotWidth&&(F==="left"&&0>=ie?(i.align="right",i.inside=!0):ie+=U.plotWidth-ue,P=!0),ue=x.y+le,0>ue&&(Y==="bottom"&&0<=j?(i.verticalAlign="top",i.inside=!0):j-=ue,P=!0),ue=(x.y||0)+A.height-le,ue>U.plotHeight&&(Y==="top"&&0>=j?(i.verticalAlign="bottom",i.inside=!0):j+=U.plotHeight-ue,P=!0),P&&(i.x=ie,i.y=j,d.placed=!C,d.align(i,void 0,w)),P}function I(d,i){var x=[],A;if(J(d)&&!J(i))x=d.map(function(w){return T(w,i)});else if(J(i)&&!J(d))x=i.map(function(w){return T(d,w)});else if(J(d)||J(i))for(A=Math.max(d.length,i.length);A--;)x[A]=T(d[A],i[A]);else x=T(d,i);return x}function E(d,i,x,A,w){var C=this.chart,U=C.inverted,F=this.xAxis,Y=F.reversed,le=U?i.height/2:i.width/2;d=(d=d.pointWidth)?d/2:0,i.startXPos=U?w.x:Y?-le-d:F.width-le+d,i.startYPos=U?Y?this.yAxis.height-le+d:-le-d:w.y,A?i.visibility==="hidden"&&(i.show(),i.attr({opacity:0}).animate({opacity:1})):i.attr({opacity:1}).animate({opacity:0},void 0,i.hide),C.hasRendered&&(x&&i.attr({x:i.startXPos,y:i.startYPos}),i.placed=!0)}var K=[];B.compose=function(d){if(K.indexOf(d)===-1){var i=d.prototype;K.push(d),i.alignDataLabel=X,i.drawDataLabels=p,i.justifyDataLabel=O,i.setDataLabelStartPos=E}}}(R||(R={})),R}),l(u,"Series/Column/ColumnDataLabel.js",[u["Core/Series/DataLabel.js"],u["Core/Series/SeriesRegistry.js"],u["Core/Utilities.js"]],function(m,v,M){var ee=v.series,W=M.merge,re=M.pick,se;return function(S){function J(V,L,c,R,B){var X=this.chart.inverted,g=V.series,p=(g.xAxis?g.xAxis.len:this.chart.plotSizeX)||0;g=(g.yAxis?g.yAxis.len:this.chart.plotSizeY)||0;var O=V.dlBox||V.shapeArgs,I=re(V.below,V.plotY>re(this.translatedThreshold,g)),E=re(c.inside,!!this.options.stacking);O&&(R=W(O),0>R.y&&(R.height+=R.y,R.y=0),O=R.y+R.height-g,0<O&&O<R.height&&(R.height-=O),X&&(R={x:g-R.y-R.height,y:p-R.x-R.width,width:R.height,height:R.width}),E||(X?(R.x+=I?0:R.width,R.width=0):(R.y+=I?R.height:0,R.height=0))),c.align=re(c.align,!X||E?"center":I?"right":"left"),c.verticalAlign=re(c.verticalAlign,X||E?"middle":I?"top":"bottom"),ee.prototype.alignDataLabel.call(this,V,L,c,R,B),c.inside&&V.contrastColor&&L.css({color:V.contrastColor})}var T=[];S.compose=function(V){m.compose(ee),T.indexOf(V)===-1&&(T.push(V),V.prototype.alignDataLabel=J)}}(se||(se={})),se}),l(u,"Series/Bar/BarSeries.js",[u["Series/Column/ColumnSeries.js"],u["Core/Series/SeriesRegistry.js"],u["Core/Utilities.js"]],function(m,v,M){var ee=this&&this.__extends||function(){var se=function(S,J){return se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,V){T.__proto__=V}||function(T,V){for(var L in V)V.hasOwnProperty(L)&&(T[L]=V[L])},se(S,J)};return function(S,J){function T(){this.constructor=S}se(S,J),S.prototype=J===null?Object.create(J):(T.prototype=J.prototype,new T)}}(),W=M.extend,re=M.merge;return M=function(se){function S(){var J=se!==null&&se.apply(this,arguments)||this;return J.data=void 0,J.options=void 0,J.points=void 0,J}return ee(S,se),S.defaultOptions=re(m.defaultOptions,{}),S}(m),W(M.prototype,{inverted:!0}),v.registerSeriesType("bar",M),M}),l(u,"Series/Scatter/ScatterSeries.js",[u["Series/Column/ColumnSeries.js"],u["Series/Line/LineSeries.js"],u["Core/Series/SeriesRegistry.js"],u["Core/Utilities.js"]],function(m,v,M,ee){var W=this&&this.__extends||function(){var J=function(T,V){return J=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L,c){L.__proto__=c}||function(L,c){for(var R in c)c.hasOwnProperty(R)&&(L[R]=c[R])},J(T,V)};return function(T,V){function L(){this.constructor=T}J(T,V),T.prototype=V===null?Object.create(V):(L.prototype=V.prototype,new L)}}(),re=ee.addEvent,se=ee.extend,S=ee.merge;return ee=function(J){function T(){var V=J!==null&&J.apply(this,arguments)||this;return V.data=void 0,V.options=void 0,V.points=void 0,V}return W(T,J),T.prototype.applyJitter=function(){var V=this,L=this.options.jitter,c=this.points.length;L&&this.points.forEach(function(R,B){["x","y"].forEach(function(X,g){var p="plot"+X.toUpperCase();if(L[X]&&!R.isNull){var O=V[X+"Axis"],I=L[X]*O.transA;if(O&&!O.isLog){var E=Math.max(0,R[p]-I);O=Math.min(O.len,R[p]+I),g=1e4*Math.sin(B+g*c),R[p]=E+(O-E)*(g-Math.floor(g)),X==="x"&&(R.clientX=R.plotX)}}})})},T.prototype.drawGraph=function(){this.options.lineWidth?J.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())},T.defaultOptions=S(v.defaultOptions,{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">\u25CF</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}),T}(v),se(ee.prototype,{drawTracker:m.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),re(ee,"afterTranslate",function(){this.applyJitter()}),M.registerSeriesType("scatter",ee),ee}),l(u,"Series/CenteredUtilities.js",[u["Core/Globals.js"],u["Core/Series/Series.js"],u["Core/Utilities.js"]],function(m,v,M){var ee=m.deg2rad,W=M.isNumber,re=M.pick,se=M.relativeLength,S;return function(J){J.getCenter=function(){var T=this.options,V=this.chart,L=2*(T.slicedOffset||0),c=V.plotWidth-2*L,R=V.plotHeight-2*L,B=T.center,X=Math.min(c,R),g=T.size,p=T.innerSize||0;for(typeof g=="string"&&(g=parseFloat(g)),typeof p=="string"&&(p=parseFloat(p)),T=[re(B[0],"50%"),re(B[1],"50%"),re(g&&0>g?void 0:T.size,"100%"),re(p&&0>p?void 0:T.innerSize||0,"0%")],!V.angular||this instanceof v||(T[3]=0),B=0;4>B;++B)g=T[B],V=2>B||B===2&&/%$/.test(g),T[B]=se(g,[c,R,X,T[2]][B])+(V?L:0);return T[3]>T[2]&&(T[3]=T[2]),T},J.getStartAndEndRadians=function(T,V){return T=W(T)?T:0,V=W(V)&&V>T&&360>V-T?V:T+360,{start:ee*(T+-90),end:ee*(V+-90)}}}(S||(S={})),S}),l(u,"Series/Pie/PiePoint.js",[u["Core/Animation/AnimationUtilities.js"],u["Core/Series/Point.js"],u["Core/Utilities.js"]],function(m,v,M){var ee=this&&this.__extends||function(){var V=function(L,c){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,B){R.__proto__=B}||function(R,B){for(var X in B)B.hasOwnProperty(X)&&(R[X]=B[X])},V(L,c)};return function(L,c){function R(){this.constructor=L}V(L,c),L.prototype=c===null?Object.create(c):(R.prototype=c.prototype,new R)}}(),W=m.setAnimation,re=M.addEvent,se=M.defined;m=M.extend;var S=M.isNumber,J=M.pick,T=M.relativeLength;return v=function(V){function L(){var c=V!==null&&V.apply(this,arguments)||this;return c.labelDistance=void 0,c.options=void 0,c.series=void 0,c}return ee(L,V),L.prototype.getConnectorPath=function(){var c=this.labelPosition,R=this.series.options.dataLabels,B=this.connectorShapes,X=R.connectorShape;return B[X]&&(X=B[X]),X.call(this,{x:c.final.x,y:c.final.y,alignment:c.alignment},c.connectorPosition,R)},L.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},L.prototype.haloPath=function(c){var R=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(R.x,R.y,R.r+c,R.r+c,{innerR:R.r-1,start:R.start,end:R.end})},L.prototype.init=function(){var c=this;V.prototype.init.apply(this,arguments),this.name=J(this.name,"Slice");var R=function(B){c.slice(B.type==="select")};return re(this,"select",R),re(this,"unselect",R),this},L.prototype.isValid=function(){return S(this.y)&&0<=this.y},L.prototype.setVisible=function(c,R){var B=this,X=this.series,g=X.chart,p=X.options.ignoreHiddenPoint;R=J(R,p),c!==this.visible&&(this.visible=this.options.visible=c=typeof c=="undefined"?!this.visible:c,X.options.data[X.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach(function(O){B[O]&&B[O][c?"show":"hide"](c)}),this.legendItem&&g.legend.colorizeItem(this,c),c||this.state!=="hover"||this.setState(""),p&&(X.isDirty=!0),R&&g.redraw())},L.prototype.slice=function(c,R,B){var X=this.series;W(B,X.chart),J(R,!0),this.sliced=this.options.sliced=se(c)?c:!this.sliced,X.options.data[X.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},L}(v),m(v.prototype,{connectorShapes:{fixedOffset:function(V,L,c){var R=L.breakAt;return L=L.touchingSliceAt,[["M",V.x,V.y],c.softConnector?["C",V.x+(V.alignment==="left"?-5:5),V.y,2*R.x-L.x,2*R.y-L.y,R.x,R.y]:["L",R.x,R.y],["L",L.x,L.y]]},straight:function(V,L){return L=L.touchingSliceAt,[["M",V.x,V.y],["L",L.x,L.y]]},crookedLine:function(V,L,c){L=L.touchingSliceAt;var R=this.series,B=R.center[0],X=R.chart.plotWidth,g=R.chart.plotLeft;R=V.alignment;var p=this.shapeArgs.r;return c=T(c.crookDistance,1),X=R==="left"?B+p+(X+g-B-p)*(1-c):g+(B-p)*c,c=["L",X,V.y],B=!0,(R==="left"?X>V.x||X<L.x:X<V.x||X>L.x)&&(B=!1),V=[["M",V.x,V.y]],B&&V.push(c),V.push(["L",L.x,L.y]),V}}}),v}),l(u,"Series/Pie/PieSeries.js",[u["Series/CenteredUtilities.js"],u["Series/Column/ColumnSeries.js"],u["Core/Globals.js"],u["Core/Legend/LegendSymbol.js"],u["Series/Pie/PiePoint.js"],u["Core/Series/Series.js"],u["Core/Series/SeriesRegistry.js"],u["Core/Renderer/SVG/Symbols.js"],u["Core/Utilities.js"]],function(m,v,M,ee,W,re,se,S,J){var T=this&&this.__extends||function(){var p=function(O,I){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,K){E.__proto__=K}||function(E,K){for(var d in K)K.hasOwnProperty(d)&&(E[d]=K[d])},p(O,I)};return function(O,I){function E(){this.constructor=O}p(O,I),O.prototype=I===null?Object.create(I):(E.prototype=I.prototype,new E)}}(),V=m.getStartAndEndRadians;M=M.noop;var L=J.clamp,c=J.extend,R=J.fireEvent,B=J.merge,X=J.pick,g=J.relativeLength;return J=function(p){function O(){var I=p!==null&&p.apply(this,arguments)||this;return I.center=void 0,I.data=void 0,I.maxLabelDistance=void 0,I.options=void 0,I.points=void 0,I}return T(O,p),O.prototype.animate=function(I){var E=this,K=E.points,d=E.startAngleRad;I||K.forEach(function(i){var x=i.graphic,A=i.shapeArgs;x&&A&&(x.attr({r:X(i.startR,E.center&&E.center[3]/2),start:d,end:d}),x.animate({r:A.r,start:A.start,end:A.end},E.options.animation))})},O.prototype.drawEmpty=function(){var I=this.startAngleRad,E=this.endAngleRad,K=this.options;if(this.total===0&&this.center){var d=this.center[0],i=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(d,i,this.center[1]/2,0,I,E).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:S.arc(d,i,this.center[2]/2,0,{start:I,end:E,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":K.borderWidth,fill:K.fillColor||"none",stroke:K.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())},O.prototype.drawPoints=function(){var I=this.chart.renderer;this.points.forEach(function(E){E.graphic&&E.hasNewShapeType()&&(E.graphic=E.graphic.destroy()),E.graphic||(E.graphic=I[E.shapeType](E.shapeArgs).add(E.series.group),E.delayedRendering=!0)})},O.prototype.generatePoints=function(){p.prototype.generatePoints.call(this),this.updateTotals()},O.prototype.getX=function(I,E,K){var d=this.center,i=this.radii?this.radii[K.index]||0:d[2]/2;return I=Math.asin(L((I-d[1])/(i+K.labelDistance),-1,1)),d[0]+(E?-1:1)*Math.cos(I)*(i+K.labelDistance)+(0<K.labelDistance?(E?-1:1)*this.options.dataLabels.padding:0)},O.prototype.hasData=function(){return!!this.processedXData.length},O.prototype.redrawPoints=function(){var I=this,E=I.chart,K=E.renderer,d=I.options.shadow,i,x,A,w;this.drawEmpty(),!d||I.shadowGroup||E.styledMode||(I.shadowGroup=K.g("shadow").attr({zIndex:-1}).add(I.group)),I.points.forEach(function(C){var U={};if(x=C.graphic,!C.isNull&&x){var F=void 0;w=C.shapeArgs,i=C.getTranslate(),E.styledMode||(F=C.shadowGroup,d&&!F&&(F=C.shadowGroup=K.g("shadow").add(I.shadowGroup)),F&&F.attr(i),A=I.pointAttribs(C,C.selected&&"select")),C.delayedRendering?(x.setRadialReference(I.center).attr(w).attr(i),E.styledMode||x.attr(A).attr({"stroke-linejoin":"round"}).shadow(d,F),C.delayedRendering=!1):(x.setRadialReference(I.center),E.styledMode||B(!0,U,A),B(!0,U,w,i),x.animate(U)),x.attr({visibility:C.visible?"inherit":"hidden"}),x.addClass(C.getClassName(),!0)}else x&&(C.graphic=x.destroy())})},O.prototype.sortByAngle=function(I,E){I.sort(function(K,d){return typeof K.angle!="undefined"&&(d.angle-K.angle)*E})},O.prototype.translate=function(I){this.generatePoints();var E=this.options,K=E.slicedOffset,d=K+(E.borderWidth||0),i=V(E.startAngle,E.endAngle),x=this.startAngleRad=i.start;i=(this.endAngleRad=i.end)-x;var A=this.points,w=E.dataLabels.distance;E=E.ignoreHiddenPoint;var C=A.length,U,F=0;for(I||(this.center=I=this.getCenter()),U=0;U<C;U++){var Y=A[U],le=x+F*i;!Y.isValid()||E&&!Y.visible||(F+=Y.percentage/100);var ie=x+F*i,j={x:I[0],y:I[1],r:I[2]/2,innerR:I[3]/2,start:Math.round(1e3*le)/1e3,end:Math.round(1e3*ie)/1e3};Y.shapeType="arc",Y.shapeArgs=j,Y.labelDistance=X(Y.options.dataLabels&&Y.options.dataLabels.distance,w),Y.labelDistance=g(Y.labelDistance,j.r),this.maxLabelDistance=Math.max(this.maxLabelDistance||0,Y.labelDistance),ie=(ie+le)/2,ie>1.5*Math.PI?ie-=2*Math.PI:ie<-Math.PI/2&&(ie+=2*Math.PI),Y.slicedTranslation={translateX:Math.round(Math.cos(ie)*K),translateY:Math.round(Math.sin(ie)*K)},j=Math.cos(ie)*I[2]/2;var ue=Math.sin(ie)*I[2]/2;Y.tooltipPos=[I[0]+.7*j,I[1]+.7*ue],Y.half=ie<-Math.PI/2||ie>Math.PI/2?1:0,Y.angle=ie,le=Math.min(d,Y.labelDistance/5),Y.labelPosition={natural:{x:I[0]+j+Math.cos(ie)*Y.labelDistance,y:I[1]+ue+Math.sin(ie)*Y.labelDistance},final:{},alignment:0>Y.labelDistance?"center":Y.half?"right":"left",connectorPosition:{breakAt:{x:I[0]+j+Math.cos(ie)*le,y:I[1]+ue+Math.sin(ie)*le},touchingSliceAt:{x:I[0]+j,y:I[1]+ue}}}}R(this,"afterTranslate")},O.prototype.updateTotals=function(){var I=this.points,E=I.length,K=this.options.ignoreHiddenPoint,d,i=0;for(d=0;d<E;d++){var x=I[d];!x.isValid()||K&&!x.visible||(i+=x.y)}for(this.total=i,d=0;d<E;d++)x=I[d],x.percentage=0<i&&(x.visible||!K)?x.y/i*100:0,x.total=i},O.defaultOptions=B(re.defaultOptions,{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0: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}}}),O}(re),c(J.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawLegendSymbol:ee.drawRectangle,drawTracker:v.prototype.drawTracker,getCenter:m.getCenter,getSymbol:M,isCartesian:!1,noSharedTooltip:!0,pointAttribs:v.prototype.pointAttribs,pointClass:W,requireSorting:!1,searchPoint:M,trackerGroups:["group","dataLabelsGroup"]}),se.registerSeriesType("pie",J),J}),l(u,"Series/Pie/PieDataLabel.js",[u["Core/Series/DataLabel.js"],u["Core/Globals.js"],u["Core/Renderer/RendererUtilities.js"],u["Core/Series/SeriesRegistry.js"],u["Core/Utilities.js"]],function(m,v,M,ee,W){var re=v.noop,se=M.distribute,S=ee.series,J=W.arrayMax,T=W.clamp,V=W.defined,L=W.merge,c=W.pick,R=W.relativeLength,B;return function(X){function g(){var K=this,d=K.data,i=K.chart,x=K.options.dataLabels||{},A=x.connectorPadding,w=i.plotWidth,C=i.plotHeight,U=i.plotLeft,F=Math.round(i.chartWidth/3),Y=K.center,le=Y[2]/2,ie=Y[1],j=[[],[]],ue=[0,0,0,0],P=K.dataLabelPositioners,Z,ae,ce,be,pe,h,te,Q,we,Se,Ne,ze;K.visible&&(x.enabled||K._hasPointLabels)&&(d.forEach(function(Je){Je.dataLabel&&Je.visible&&Je.dataLabel.shortened&&(Je.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),Je.dataLabel.shortened=!1)}),S.prototype.drawDataLabels.apply(K),d.forEach(function(Je){Je.dataLabel&&(Je.visible?(j[Je.half].push(Je),Je.dataLabel._pos=null,!V(x.style.width)&&!V(Je.options.dataLabels&&Je.options.dataLabels.style&&Je.options.dataLabels.style.width)&&Je.dataLabel.getBBox().width>F&&(Je.dataLabel.css({width:Math.round(.7*F)+"px"}),Je.dataLabel.shortened=!0)):(Je.dataLabel=Je.dataLabel.destroy(),Je.dataLabels&&Je.dataLabels.length===1&&delete Je.dataLabels))}),j.forEach(function(Je,qe){var Me=Je.length,Fe=[],Ue;if(Me){if(K.sortByAngle(Je,qe-.5),0<K.maxLabelDistance){var he=Math.max(0,ie-le-K.maxLabelDistance),xe=Math.min(ie+le+K.maxLabelDistance,i.plotHeight);Je.forEach(function(q){0<q.labelDistance&&q.dataLabel&&(q.top=Math.max(0,ie-le-q.labelDistance),q.bottom=Math.min(ie+le+q.labelDistance,i.plotHeight),Ue=q.dataLabel.getBBox().height||21,q.distributeBox={target:q.labelPosition.natural.y-q.top+Ue/2,size:Ue,rank:q.y},Fe.push(q.distributeBox))}),he=xe+Ue-he,se(Fe,he,he/5)}for(Ne=0;Ne<Me;Ne++){if(Z=Je[Ne],h=Z.labelPosition,be=Z.dataLabel,Se=Z.visible===!1?"hidden":"inherit",we=he=h.natural.y,Fe&&V(Z.distributeBox)&&(typeof Z.distributeBox.pos=="undefined"?Se="hidden":(te=Z.distributeBox.size,we=P.radialDistributionY(Z))),delete Z.positionIndex,x.justify)Q=P.justify(Z,le,Y);else switch(x.alignTo){case"connectors":Q=P.alignToConnectors(Je,qe,w,U);break;case"plotEdges":Q=P.alignToPlotEdges(be,qe,w,U);break;default:Q=P.radialDistributionX(K,Z,we,he)}be._attr={visibility:Se,align:h.alignment},ze=Z.options.dataLabels||{},be._pos={x:Q+c(ze.x,x.x)+({left:A,right:-A}[h.alignment]||0),y:we+c(ze.y,x.y)-10},h.final.x=Q,h.final.y=we,c(x.crop,!0)&&(pe=be.getBBox().width,he=null,Q-pe<A&&qe===1?(he=Math.round(pe-Q+A),ue[3]=Math.max(he,ue[3])):Q+pe>w-A&&qe===0&&(he=Math.round(Q+pe-w+A),ue[1]=Math.max(he,ue[1])),0>we-te/2?ue[0]=Math.max(Math.round(-we+te/2),ue[0]):we+te/2>C&&(ue[2]=Math.max(Math.round(we+te/2-C),ue[2])),be.sideOverflow=he)}}}),J(ue)===0||this.verifyDataLabelOverflow(ue))&&(this.placeDataLabels(),this.points.forEach(function(Je){if(ze=L(x,Je.options.dataLabels),ae=c(ze.connectorWidth,1)){var qe;ce=Je.connector,(be=Je.dataLabel)&&be._pos&&Je.visible&&0<Je.labelDistance?(Se=be._attr.visibility,(qe=!ce)&&(Je.connector=ce=i.renderer.path().addClass("highcharts-data-label-connector  highcharts-color-"+Je.colorIndex+(Je.className?" "+Je.className:"")).add(K.dataLabelsGroup),i.styledMode||ce.attr({"stroke-width":ae,stroke:ze.connectorColor||Je.color||"#666666"})),ce[qe?"attr":"animate"]({d:Je.getConnectorPath()}),ce.attr("visibility",Se)):ce&&(Je.connector=ce.destroy())}}))}function p(){this.points.forEach(function(K){var d=K.dataLabel,i;d&&K.visible&&((i=d._pos)?(d.sideOverflow&&(d._attr.width=Math.max(d.getBBox().width-d.sideOverflow,0),d.css({width:d._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),d.shortened=!0),d.attr(d._attr),d[d.moved?"animate":"attr"](i),d.moved=!0):d&&d.attr({y:-9999})),delete K.distributeBox},this)}function O(K){var d=this.center,i=this.options,x=i.center,A=i.minSize||80,w=i.size!==null;if(!w){if(x[0]!==null)var C=Math.max(d[2]-Math.max(K[1],K[3]),A);else C=Math.max(d[2]-K[1]-K[3],A),d[0]+=(K[3]-K[1])/2;x[1]!==null?C=T(C,A,d[2]-Math.max(K[0],K[2])):(C=T(C,A,d[2]-K[0]-K[2]),d[1]+=(K[0]-K[2])/2),C<d[2]?(d[2]=C,d[3]=Math.min(R(i.innerSize||0,C),C),this.translate(d),this.drawDataLabels&&this.drawDataLabels()):w=!0}return w}var I=[],E={radialDistributionY:function(K){return K.top+K.distributeBox.pos},radialDistributionX:function(K,d,i,x){return K.getX(i<d.top+2||i>d.bottom-2?x:i,d.half,d)},justify:function(K,d,i){return i[0]+(K.half?-1:1)*(d+K.labelDistance)},alignToPlotEdges:function(K,d,i,x){return K=K.getBBox().width,d?K+x:i-K-x},alignToConnectors:function(K,d,i,x){var A=0,w;return K.forEach(function(C){w=C.dataLabel.getBBox().width,w>A&&(A=w)}),d?A+x:i-A-x}};X.compose=function(K){m.compose(S),I.indexOf(K)===-1&&(I.push(K),K=K.prototype,K.dataLabelPositioners=E,K.alignDataLabel=re,K.drawDataLabels=g,K.placeDataLabels=p,K.verifyDataLabelOverflow=O)}}(B||(B={})),B}),l(u,"Extensions/OverlappingDataLabels.js",[u["Core/Chart/Chart.js"],u["Core/Utilities.js"]],function(m,v){function M(T,V){var L=!1;if(T){var c=T.newOpacity;T.oldOpacity!==c&&(T.alignAttr&&T.placed?(T[c?"removeClass":"addClass"]("highcharts-data-label-hidden"),L=!0,T.alignAttr.opacity=c,T[T.isOld?"animate":"attr"](T.alignAttr,null,function(){V.styledMode||T.css({pointerEvents:c?"auto":"none"})}),W(V,"afterHideOverlappingLabel")):T.attr({opacity:c})),T.isOld=!0}return L}var ee=v.addEvent,W=v.fireEvent,re=v.isArray,se=v.isNumber,S=v.objectEach,J=v.pick;ee(m,"render",function(){var T=this,V=[];(this.labelCollectors||[]).forEach(function(L){V=V.concat(L())}),(this.yAxis||[]).forEach(function(L){L.stacking&&L.options.stackLabels&&!L.options.stackLabels.allowOverlap&&S(L.stacking.stacks,function(c){S(c,function(R){R.label&&R.label.visibility!=="hidden"&&V.push(R.label)})})}),(this.series||[]).forEach(function(L){var c=L.options.dataLabels;L.visible&&(c.enabled!==!1||L._hasPointLabels)&&(c=function(R){return R.forEach(function(B){B.visible&&(re(B.dataLabels)?B.dataLabels:B.dataLabel?[B.dataLabel]:[]).forEach(function(X){var g=X.options;X.labelrank=J(g.labelrank,B.labelrank,B.shapeArgs&&B.shapeArgs.height),g.allowOverlap?(X.oldOpacity=X.opacity,X.newOpacity=1,M(X,T)):V.push(X)})})},c(L.nodes||[]),c(L.points))}),this.hideOverlappingLabels(V)}),m.prototype.hideOverlappingLabels=function(T){var V=this,L=T.length,c=V.renderer,R,B,X,g=!1,p=function(E){var K,d=E.box?0:E.padding||0,i=K=0,x;if(E&&(!E.alignAttr||E.placed)){var A=E.alignAttr||{x:E.attr("x"),y:E.attr("y")},w=E.parentGroup;E.width||(K=E.getBBox(),E.width=K.width,E.height=K.height,K=c.fontMetrics(null,E.element).h);var C=E.width-2*d;return(x={left:"0",center:"0.5",right:"1"}[E.alignValue])?i=+x*C:se(E.x)&&Math.round(E.x)!==E.translateX&&(i=E.x-E.translateX),{x:A.x+(w.translateX||0)+d-(i||0),y:A.y+(w.translateY||0)+d-K,width:E.width-2*d,height:E.height-2*d}}};for(B=0;B<L;B++)(R=T[B])&&(R.oldOpacity=R.opacity,R.newOpacity=1,R.absoluteBox=p(R));for(T.sort(function(E,K){return(K.labelrank||0)-(E.labelrank||0)}),B=0;B<L;B++){var O=(p=T[B])&&p.absoluteBox;for(R=B+1;R<L;++R){var I=(X=T[R])&&X.absoluteBox;!O||!I||p===X||p.newOpacity===0||X.newOpacity===0||I.x>=O.x+O.width||I.x+I.width<=O.x||I.y>=O.y+O.height||I.y+I.height<=O.y||((p.labelrank<X.labelrank?p:X).newOpacity=0)}}T.forEach(function(E){M(E,V)&&(g=!0)}),g&&W(V,"afterHideAllOverlappingLabels")}}),l(u,"Core/Responsive.js",[u["Core/Utilities.js"]],function(m){var v=m.extend,M=m.find,ee=m.isArray,W=m.isObject,re=m.merge,se=m.objectEach,S=m.pick,J=m.splat,T=m.uniqueKey,V;return function(L){var c=[];L.compose=function(B){return c.indexOf(B)===-1&&(c.push(B),v(B.prototype,R.prototype)),B};var R=function(){function B(){}return B.prototype.currentOptions=function(X){function g(I,E,K,d){var i;se(I,function(x,A){if(!d&&-1<p.collectionsWithUpdate.indexOf(A)&&E[A])for(x=J(x),K[A]=[],i=0;i<Math.max(x.length,E[A].length);i++)E[A][i]&&(x[i]===void 0?K[A][i]=E[A][i]:(K[A][i]={},g(x[i],E[A][i],K[A][i],d+1)));else W(x)?(K[A]=ee(x)?[]:{},g(x,E[A]||{},K[A],d+1)):K[A]=typeof E[A]=="undefined"?null:E[A]})}var p=this,O={};return g(X,this.options,O,0),O},B.prototype.matchResponsiveRule=function(X,g){var p=X.condition;(p.callback||function(){return this.chartWidth<=S(p.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=S(p.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=S(p.minWidth,0)&&this.chartHeight>=S(p.minHeight,0)}).call(this)&&g.push(X._id)},B.prototype.setResponsive=function(X,g){var p=this,O=this.options.responsive,I=this.currentResponsive,E=[];!g&&O&&O.rules&&O.rules.forEach(function(K){typeof K._id=="undefined"&&(K._id=T()),p.matchResponsiveRule(K,E)},this),g=re.apply(void 0,E.map(function(K){return M((O||{}).rules||[],function(d){return d._id===K})}).map(function(K){return K&&K.chartOptions})),g.isResponsiveOptions=!0,E=E.toString()||void 0,E!==(I&&I.ruleIds)&&(I&&this.update(I.undoOptions,X,!0),E?(I=this.currentOptions(g),I.isResponsiveOptions=!0,this.currentResponsive={ruleIds:E,mergedOptions:g,undoOptions:I},this.update(g,X,!0)):this.currentResponsive=void 0)},B}()}(V||(V={})),V}),l(u,"masters/highcharts.src.js",[u["Core/Globals.js"],u["Core/Utilities.js"],u["Core/DefaultOptions.js"],u["Core/Animation/Fx.js"],u["Core/Animation/AnimationUtilities.js"],u["Core/Renderer/HTML/AST.js"],u["Core/FormatUtilities.js"],u["Core/Renderer/RendererUtilities.js"],u["Core/Renderer/SVG/SVGElement.js"],u["Core/Renderer/SVG/SVGRenderer.js"],u["Core/Renderer/HTML/HTMLElement.js"],u["Core/Renderer/HTML/HTMLRenderer.js"],u["Core/Axis/Axis.js"],u["Core/Axis/DateTimeAxis.js"],u["Core/Axis/LogarithmicAxis.js"],u["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],u["Core/Axis/Tick.js"],u["Core/Tooltip.js"],u["Core/Series/Point.js"],u["Core/Pointer.js"],u["Core/MSPointer.js"],u["Core/Legend/Legend.js"],u["Core/Chart/Chart.js"],u["Core/Series/Series.js"],u["Core/Series/SeriesRegistry.js"],u["Series/Column/ColumnSeries.js"],u["Series/Column/ColumnDataLabel.js"],u["Series/Pie/PieSeries.js"],u["Series/Pie/PieDataLabel.js"],u["Core/Series/DataLabel.js"],u["Core/Responsive.js"],u["Core/Color/Color.js"],u["Core/Time.js"]],function(m,v,M,ee,W,re,se,S,J,T,V,L,c,R,B,X,g,p,O,I,E,K,d,i,x,A,w,C,U,F,Y,le,ie){return m.animate=W.animate,m.animObject=W.animObject,m.getDeferredAnimation=W.getDeferredAnimation,m.setAnimation=W.setAnimation,m.stop=W.stop,m.timers=ee.timers,m.AST=re,m.Axis=c,m.Chart=d,m.chart=d.chart,m.Fx=ee,m.Legend=K,m.PlotLineOrBand=X,m.Point=O,m.Pointer=E.isRequired()?E:I,m.Series=i,m.SVGElement=J,m.SVGRenderer=T,m.Tick=g,m.Time=ie,m.Tooltip=p,m.Color=le,m.color=le.parse,L.compose(T),V.compose(J),m.defaultOptions=M.defaultOptions,m.getOptions=M.getOptions,m.time=M.defaultTime,m.setOptions=M.setOptions,m.dateFormat=se.dateFormat,m.format=se.format,m.numberFormat=se.numberFormat,m.addEvent=v.addEvent,m.arrayMax=v.arrayMax,m.arrayMin=v.arrayMin,m.attr=v.attr,m.clearTimeout=v.clearTimeout,m.correctFloat=v.correctFloat,m.createElement=v.createElement,m.css=v.css,m.defined=v.defined,m.destroyObjectProperties=v.destroyObjectProperties,m.discardElement=v.discardElement,m.distribute=S.distribute,m.erase=v.erase,m.error=v.error,m.extend=v.extend,m.extendClass=v.extendClass,m.find=v.find,m.fireEvent=v.fireEvent,m.getMagnitude=v.getMagnitude,m.getStyle=v.getStyle,m.inArray=v.inArray,m.isArray=v.isArray,m.isClass=v.isClass,m.isDOMElement=v.isDOMElement,m.isFunction=v.isFunction,m.isNumber=v.isNumber,m.isObject=v.isObject,m.isString=v.isString,m.keys=v.keys,m.merge=v.merge,m.normalizeTickInterval=v.normalizeTickInterval,m.objectEach=v.objectEach,m.offset=v.offset,m.pad=v.pad,m.pick=v.pick,m.pInt=v.pInt,m.relativeLength=v.relativeLength,m.removeEvent=v.removeEvent,m.seriesType=x.seriesType,m.splat=v.splat,m.stableSort=v.stableSort,m.syncTimeout=v.syncTimeout,m.timeUnits=v.timeUnits,m.uniqueKey=v.uniqueKey,m.useSerialIds=v.useSerialIds,m.wrap=v.wrap,w.compose(A),F.compose(i),R.compose(c),B.compose(c),U.compose(C),X.compose(c),Y.compose(d),m}),u["masters/highcharts.src.js"]._modules=u,u["masters/highcharts.src.js"]})},81887:function(_e,$,t){"use strict";var n,f;(function(l){_e.exports?(l.default=l,_e.exports=l):(n=[t(35864)],f=function(u){return l(u),l.Highcharts=u,l}.apply($,n),f!==void 0&&(_e.exports=f))})(function(l){function u(m,v,M,ee){m.hasOwnProperty(v)||(m[v]=ee.apply(null,M))}l=l?l._modules:{},u(l,"Extensions/NoDataToDisplay.js",[l["Core/Renderer/HTML/AST.js"],l["Core/Chart/Chart.js"],l["Core/DefaultOptions.js"],l["Core/Utilities.js"]],function(m,v,M,ee){var W=M.getOptions;M=ee.addEvent;var re=ee.extend;ee=v.prototype,W=W(),re(W.lang,{noData:"No data to display"}),W.noData={attr:{zIndex:1},position:{x:0,y:0,align:"center",verticalAlign:"middle"},style:{fontWeight:"bold",fontSize:"12px",color:"#666666"}},ee.showNoData=function(se){var S=this.options;se=se||S&&S.lang.noData||"",S=S&&(S.noData||{}),this.renderer&&(this.noDataLabel||(this.noDataLabel=this.renderer.label(se,0,0,void 0,void 0,void 0,S.useHTML,void 0,"no-data").add()),this.styledMode||this.noDataLabel.attr(m.filterUserAttributes(S.attr||{})).css(S.style||{}),this.noDataLabel.align(re(this.noDataLabel.getBBox(),S.position||{}),!1,"plotBox"))},ee.hideNoData=function(){this.noDataLabel&&(this.noDataLabel=this.noDataLabel.destroy())},ee.hasData=function(){for(var se=this.series||[],S=se.length;S--;)if(se[S].hasData()&&!se[S].options.isInternal)return!0;return this.loadingShown},M(v,"render",function(){this.hasData()?this.hideNoData():this.showNoData()})}),u(l,"masters/modules/no-data-to-display.src.js",[],function(){})})},52585:function(_e,$,t){"use strict";t.d($,{Ep:function(){return W},aU:function(){return f},cP:function(){return re},lX:function(){return se}});var n=t(87462),f,l=f||(f={});l.Pop="POP",l.Push="PUSH",l.Replace="REPLACE";var u=function(T){return T};function m(T,V){if(!T){typeof console!="undefined"&&console.warn(V);try{throw Error(V)}catch(L){}}}function v(T){T.preventDefault(),T.returnValue=""}function M(){var T=[];return{get length(){return T.length},push:function(V){return T.push(V),function(){T=T.filter(function(L){return L!==V})}},call:function(V){T.forEach(function(L){return L&&L(V)})}}}function ee(){return Math.random().toString(36).substr(2,8)}function W(T){var V=T.pathname,L=T.search;return T=T.hash,(V===void 0?"/":V)+(L===void 0?"":L)+(T===void 0?"":T)}function re(T){var V={};if(T){var L=T.indexOf("#");0<=L&&(V.hash=T.substr(L),T=T.substr(0,L)),L=T.indexOf("?"),0<=L&&(V.search=T.substr(L),T=T.substr(0,L)),T&&(V.pathname=T)}return V}function se(T){function V(){var A=p.location,w=O.state||{};return[w.idx,u({pathname:A.pathname,search:A.search,hash:A.hash,state:w.usr||null,key:w.key||"default"})]}function L(A){return typeof A=="string"?A:W(A)}function c(A,w){return w===void 0&&(w=null),u((0,n.Z)({pathname:d.pathname,hash:"",search:""},typeof A=="string"?re(A):A,{state:w,key:ee()}))}function R(A){E=A,A=V(),K=A[0],d=A[1],i.call({action:E,location:d})}function B(A,w){function C(){B(A,w)}var U=f.Push,F=c(A,w);if(!x.length||(x.call({action:U,location:F,retry:C}),!1)){var Y=[{usr:F.state,key:F.key,idx:K+1},L(F)];F=Y[0],Y=Y[1];try{O.pushState(F,"",Y)}catch(le){p.location.assign(Y)}R(U)}}function X(A,w){function C(){X(A,w)}var U=f.Replace,F=c(A,w);x.length&&(x.call({action:U,location:F,retry:C}),1)||(F=[{usr:F.state,key:F.key,idx:K},L(F)],O.replaceState(F[0],"",F[1]),R(U))}function g(A){O.go(A)}T===void 0&&(T={}),T=T.window;var p=T===void 0?document.defaultView:T,O=p.history,I=null;p.addEventListener("popstate",function(){if(I)x.call(I),I=null;else{var A=f.Pop,w=V(),C=w[0];if(w=w[1],x.length){if(C!=null){var U=K-C;U&&(I={action:A,location:w,retry:function(){g(-1*U)}},g(U))}}else R(A)}});var E=f.Pop;T=V();var K=T[0],d=T[1],i=M(),x=M();return K==null&&(K=0,O.replaceState((0,n.Z)({},O.state,{idx:K}),"")),{get action(){return E},get location(){return d},createHref:L,push:B,replace:X,go:g,back:function(){g(-1)},forward:function(){g(1)},listen:function(A){return i.push(A)},block:function(A){var w=x.push(A);return x.length===1&&p.addEventListener("beforeunload",v),function(){w(),x.length||p.removeEventListener("beforeunload",v)}}}}function S(T){function V(){var w=re(O.location.hash.substr(1)),C=w.pathname,U=w.search;w=w.hash;var F=I.state||{};return[F.idx,u({pathname:C===void 0?"/":C,search:U===void 0?"":U,hash:w===void 0?"":w,state:F.usr||null,key:F.key||"default"})]}function L(){if(E)A.call(E),E=null;else{var w=f.Pop,C=V(),U=C[0];if(C=C[1],A.length){if(U!=null){var F=d-U;F&&(E={action:w,location:C,retry:function(){p(-1*F)}},p(F))}}else B(w)}}function c(w){var C=document.querySelector("base"),U="";return C&&C.getAttribute("href")&&(C=O.location.href,U=C.indexOf("#"),U=U===-1?C:C.slice(0,U)),U+"#"+(typeof w=="string"?w:W(w))}function R(w,C){return C===void 0&&(C=null),u(_extends({pathname:i.pathname,hash:"",search:""},typeof w=="string"?re(w):w,{state:C,key:ee()}))}function B(w){K=w,w=V(),d=w[0],i=w[1],x.call({action:K,location:i})}function X(w,C){function U(){X(w,C)}var F=f.Push,Y=R(w,C);if(!A.length||(A.call({action:F,location:Y,retry:U}),!1)){var le=[{usr:Y.state,key:Y.key,idx:d+1},c(Y)];Y=le[0],le=le[1];try{I.pushState(Y,"",le)}catch(ie){O.location.assign(le)}B(F)}}function g(w,C){function U(){g(w,C)}var F=f.Replace,Y=R(w,C);A.length&&(A.call({action:F,location:Y,retry:U}),1)||(Y=[{usr:Y.state,key:Y.key,idx:d},c(Y)],I.replaceState(Y[0],"",Y[1]),B(F))}function p(w){I.go(w)}T===void 0&&(T={}),T=T.window;var O=T===void 0?document.defaultView:T,I=O.history,E=null;O.addEventListener("popstate",L),O.addEventListener("hashchange",function(){var w=V()[1];W(w)!==W(i)&&L()});var K=f.Pop;T=V();var d=T[0],i=T[1],x=M(),A=M();return d==null&&(d=0,I.replaceState(_extends({},I.state,{idx:d}),"")),{get action(){return K},get location(){return i},createHref:c,push:X,replace:g,go:p,back:function(){p(-1)},forward:function(){p(1)},listen:function(w){return x.push(w)},block:function(w){var C=A.push(w);return A.length===1&&O.addEventListener("beforeunload",v),function(){C(),A.length||O.removeEventListener("beforeunload",v)}}}}function J(T){function V(i,x){return x===void 0&&(x=null),u(_extends({pathname:E.pathname,search:"",hash:""},typeof i=="string"?re(i):i,{state:x,key:ee()}))}function L(i,x,A){return!d.length||(d.call({action:i,location:x,retry:A}),!1)}function c(i,x){I=i,E=x,K.call({action:I,location:E})}function R(i,x){var A=f.Push,w=V(i,x);L(A,w,function(){R(i,x)})&&(O+=1,p.splice(O,p.length,w),c(A,w))}function B(i,x){var A=f.Replace,w=V(i,x);L(A,w,function(){B(i,x)})&&(p[O]=w,c(A,w))}function X(i){var x=Math.min(Math.max(O+i,0),p.length-1),A=f.Pop,w=p[x];L(A,w,function(){X(i)})&&(O=x,c(A,w))}T===void 0&&(T={});var g=T;T=g.initialEntries,g=g.initialIndex;var p=(T===void 0?["/"]:T).map(function(i){var x=u(_extends({pathname:"/",search:"",hash:"",state:null,key:ee()},typeof i=="string"?re(i):i));return x}),O=Math.min(Math.max(g==null?p.length-1:g,0),p.length-1),I=f.Pop,E=p[O],K=M(),d=M();return{get index(){return O},get action(){return I},get location(){return E},createHref:function(i){return typeof i=="string"?i:W(i)},push:R,replace:B,go:X,back:function(){X(-1)},forward:function(){X(1)},listen:function(i){return K.push(i)},block:function(i){return d.push(i)}}}},41281:function(_e,$,t){"use strict";var n=t(1892),f={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},u={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},m={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},v={};v[n.ForwardRef]=u,v[n.Memo]=m;function M(V){return n.isMemo(V)?m:v[V.$$typeof]||f}var ee=Object.defineProperty,W=Object.getOwnPropertyNames,re=Object.getOwnPropertySymbols,se=Object.getOwnPropertyDescriptor,S=Object.getPrototypeOf,J=Object.prototype;function T(V,L,c){if(typeof L!="string"){if(J){var R=S(L);R&&R!==J&&T(V,R,c)}var B=W(L);re&&(B=B.concat(re(L)));for(var X=M(V),g=M(L),p=0;p<B.length;++p){var O=B[p];if(!l[O]&&!(c&&c[O])&&!(g&&g[O])&&!(X&&X[O])){var I=se(L,O);try{ee(V,O,I)}catch(E){}}}}return V}_e.exports=T},57651:function(_e,$){"use strict";/** @license React v16.13.1
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var t=typeof Symbol=="function"&&Symbol.for,n=t?Symbol.for("react.element"):60103,f=t?Symbol.for("react.portal"):60106,l=t?Symbol.for("react.fragment"):60107,u=t?Symbol.for("react.strict_mode"):60108,m=t?Symbol.for("react.profiler"):60114,v=t?Symbol.for("react.provider"):60109,M=t?Symbol.for("react.context"):60110,ee=t?Symbol.for("react.async_mode"):60111,W=t?Symbol.for("react.concurrent_mode"):60111,re=t?Symbol.for("react.forward_ref"):60112,se=t?Symbol.for("react.suspense"):60113,S=t?Symbol.for("react.suspense_list"):60120,J=t?Symbol.for("react.memo"):60115,T=t?Symbol.for("react.lazy"):60116,V=t?Symbol.for("react.block"):60121,L=t?Symbol.for("react.fundamental"):60117,c=t?Symbol.for("react.responder"):60118,R=t?Symbol.for("react.scope"):60119;function B(g){if(typeof g=="object"&&g!==null){var p=g.$$typeof;switch(p){case n:switch(g=g.type,g){case ee:case W:case l:case m:case u:case se:return g;default:switch(g=g&&g.$$typeof,g){case M:case re:case T:case J:case v:return g;default:return p}}case f:return p}}}function X(g){return B(g)===W}$.AsyncMode=ee,$.ConcurrentMode=W,$.ContextConsumer=M,$.ContextProvider=v,$.Element=n,$.ForwardRef=re,$.Fragment=l,$.Lazy=T,$.Memo=J,$.Portal=f,$.Profiler=m,$.StrictMode=u,$.Suspense=se,$.isAsyncMode=function(g){return X(g)||B(g)===ee},$.isConcurrentMode=X,$.isContextConsumer=function(g){return B(g)===M},$.isContextProvider=function(g){return B(g)===v},$.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===n},$.isForwardRef=function(g){return B(g)===re},$.isFragment=function(g){return B(g)===l},$.isLazy=function(g){return B(g)===T},$.isMemo=function(g){return B(g)===J},$.isPortal=function(g){return B(g)===f},$.isProfiler=function(g){return B(g)===m},$.isStrictMode=function(g){return B(g)===u},$.isSuspense=function(g){return B(g)===se},$.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===l||g===W||g===m||g===u||g===se||g===S||typeof g=="object"&&g!==null&&(g.$$typeof===T||g.$$typeof===J||g.$$typeof===v||g.$$typeof===M||g.$$typeof===re||g.$$typeof===L||g.$$typeof===c||g.$$typeof===R||g.$$typeof===V)},$.typeOf=B},1892:function(_e,$,t){"use strict";_e.exports=t(57651)},900:function(_e){/*!
 * html2canvas 1.4.1 <https://html2canvas.hertzen.com>
 * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
 * Released under MIT License
 */(function($,t){_e.exports=t()})(this,function(){"use strict";/*! *****************************************************************************
    Copyright (c) Microsoft Corporation.

    Permission to use, copy, modify, and/or distribute this software for any
    purpose with or without fee is hereby granted.

    THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
    REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
    AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
    INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
    LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
    OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
    PERFORMANCE OF THIS SOFTWARE.
    ***************************************************************************** */var $=function(a,s){return $=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,D){b.__proto__=D}||function(b,D){for(var Ce in D)Object.prototype.hasOwnProperty.call(D,Ce)&&(b[Ce]=D[Ce])},$(a,s)};function t(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");$(a,s);function b(){this.constructor=a}a.prototype=s===null?Object.create(s):(b.prototype=s.prototype,new b)}var n=function(){return n=Object.assign||function(s){for(var b,D=1,Ce=arguments.length;D<Ce;D++){b=arguments[D];for(var Qe in b)Object.prototype.hasOwnProperty.call(b,Qe)&&(s[Qe]=b[Qe])}return s},n.apply(this,arguments)};function f(a,s,b,D){function Ce(Qe){return Qe instanceof b?Qe:new b(function(We){We(Qe)})}return new(b||(b=Promise))(function(Qe,We){function Ve(ut){try{It(D.next(ut))}catch(lt){We(lt)}}function $e(ut){try{It(D.throw(ut))}catch(lt){We(lt)}}function It(ut){ut.done?Qe(ut.value):Ce(ut.value).then(Ve,$e)}It((D=D.apply(a,s||[])).next())})}function l(a,s){var b={label:0,sent:function(){if(Qe[0]&1)throw Qe[1];return Qe[1]},trys:[],ops:[]},D,Ce,Qe,We;return We={next:Ve(0),throw:Ve(1),return:Ve(2)},typeof Symbol=="function"&&(We[Symbol.iterator]=function(){return this}),We;function Ve(It){return function(ut){return $e([It,ut])}}function $e(It){if(D)throw new TypeError("Generator is already executing.");for(;b;)try{if(D=1,Ce&&(Qe=It[0]&2?Ce.return:It[0]?Ce.throw||((Qe=Ce.return)&&Qe.call(Ce),0):Ce.next)&&!(Qe=Qe.call(Ce,It[1])).done)return Qe;switch(Ce=0,Qe&&(It=[It[0]&2,Qe.value]),It[0]){case 0:case 1:Qe=It;break;case 4:return b.label++,{value:It[1],done:!1};case 5:b.label++,Ce=It[1],It=[0];continue;case 7:It=b.ops.pop(),b.trys.pop();continue;default:if(Qe=b.trys,!(Qe=Qe.length>0&&Qe[Qe.length-1])&&(It[0]===6||It[0]===2)){b=0;continue}if(It[0]===3&&(!Qe||It[1]>Qe[0]&&It[1]<Qe[3])){b.label=It[1];break}if(It[0]===6&&b.label<Qe[1]){b.label=Qe[1],Qe=It;break}if(Qe&&b.label<Qe[2]){b.label=Qe[2],b.ops.push(It);break}Qe[2]&&b.ops.pop(),b.trys.pop();continue}It=s.call(a,b)}catch(ut){It=[6,ut],Ce=0}finally{D=Qe=0}if(It[0]&5)throw It[1];return{value:It[0]?It[1]:void 0,done:!0}}}function u(a,s,b){if(b||arguments.length===2)for(var D=0,Ce=s.length,Qe;D<Ce;D++)(Qe||!(D in s))&&(Qe||(Qe=Array.prototype.slice.call(s,0,D)),Qe[D]=s[D]);return a.concat(Qe||s)}for(var m=function(){function a(s,b,D,Ce){this.left=s,this.top=b,this.width=D,this.height=Ce}return a.prototype.add=function(s,b,D,Ce){return new a(this.left+s,this.top+b,this.width+D,this.height+Ce)},a.fromClientRect=function(s,b){return new a(b.left+s.windowBounds.left,b.top+s.windowBounds.top,b.width,b.height)},a.fromDOMRectList=function(s,b){var D=Array.from(b).find(function(Ce){return Ce.width!==0});return D?new a(D.left+s.windowBounds.left,D.top+s.windowBounds.top,D.width,D.height):a.EMPTY},a.EMPTY=new a(0,0,0,0),a}(),v=function(a,s){return m.fromClientRect(a,s.getBoundingClientRect())},M=function(a){var s=a.body,b=a.documentElement;if(!s||!b)throw new Error("Unable to get document size");var D=Math.max(Math.max(s.scrollWidth,b.scrollWidth),Math.max(s.offsetWidth,b.offsetWidth),Math.max(s.clientWidth,b.clientWidth)),Ce=Math.max(Math.max(s.scrollHeight,b.scrollHeight),Math.max(s.offsetHeight,b.offsetHeight),Math.max(s.clientHeight,b.clientHeight));return new m(0,0,D,Ce)},ee=function(a){for(var s=[],b=0,D=a.length;b<D;){var Ce=a.charCodeAt(b++);if(Ce>=55296&&Ce<=56319&&b<D){var Qe=a.charCodeAt(b++);(Qe&64512)===56320?s.push(((Ce&1023)<<10)+(Qe&1023)+65536):(s.push(Ce),b--)}else s.push(Ce)}return s},W=function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];if(String.fromCodePoint)return String.fromCodePoint.apply(String,a);var b=a.length;if(!b)return"";for(var D=[],Ce=-1,Qe="";++Ce<b;){var We=a[Ce];We<=65535?D.push(We):(We-=65536,D.push((We>>10)+55296,We%1024+56320)),(Ce+1===b||D.length>16384)&&(Qe+=String.fromCharCode.apply(String,D),D.length=0)}return Qe},re="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",se=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),S=0;S<re.length;S++)se[re.charCodeAt(S)]=S;for(var J="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",T=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),V=0;V<J.length;V++)T[J.charCodeAt(V)]=V;for(var L=function(a){var s=a.length*.75,b=a.length,D,Ce=0,Qe,We,Ve,$e;a[a.length-1]==="="&&(s--,a[a.length-2]==="="&&s--);var It=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(s):new Array(s),ut=Array.isArray(It)?It:new Uint8Array(It);for(D=0;D<b;D+=4)Qe=T[a.charCodeAt(D)],We=T[a.charCodeAt(D+1)],Ve=T[a.charCodeAt(D+2)],$e=T[a.charCodeAt(D+3)],ut[Ce++]=Qe<<2|We>>4,ut[Ce++]=(We&15)<<4|Ve>>2,ut[Ce++]=(Ve&3)<<6|$e&63;return It},c=function(a){for(var s=a.length,b=[],D=0;D<s;D+=2)b.push(a[D+1]<<8|a[D]);return b},R=function(a){for(var s=a.length,b=[],D=0;D<s;D+=4)b.push(a[D+3]<<24|a[D+2]<<16|a[D+1]<<8|a[D]);return b},B=5,X=6+5,g=2,p=X-B,O=65536>>B,I=1<<B,E=I-1,K=1024>>B,d=O+K,i=d,x=32,A=i+x,w=65536>>X,C=1<<p,U=C-1,F=function(a,s,b){return a.slice?a.slice(s,b):new Uint16Array(Array.prototype.slice.call(a,s,b))},Y=function(a,s,b){return a.slice?a.slice(s,b):new Uint32Array(Array.prototype.slice.call(a,s,b))},le=function(a,s){var b=L(a),D=Array.isArray(b)?R(b):new Uint32Array(b),Ce=Array.isArray(b)?c(b):new Uint16Array(b),Qe=24,We=F(Ce,Qe/2,D[4]/2),Ve=D[5]===2?F(Ce,(Qe+D[4])/2):Y(D,Math.ceil((Qe+D[4])/4));return new ie(D[0],D[1],D[2],D[3],We,Ve)},ie=function(){function a(s,b,D,Ce,Qe,We){this.initialValue=s,this.errorValue=b,this.highStart=D,this.highValueIndex=Ce,this.index=Qe,this.data=We}return a.prototype.get=function(s){var b;if(s>=0){if(s<55296||s>56319&&s<=65535)return b=this.index[s>>B],b=(b<<g)+(s&E),this.data[b];if(s<=65535)return b=this.index[O+(s-55296>>B)],b=(b<<g)+(s&E),this.data[b];if(s<this.highStart)return b=A-w+(s>>X),b=this.index[b],b+=s>>B&U,b=this.index[b],b=(b<<g)+(s&E),this.data[b];if(s<=1114111)return this.data[this.highValueIndex]}return this.errorValue},a}(),j="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ue=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),P=0;P<j.length;P++)ue[j.charCodeAt(P)]=P;var Z="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",ae=50,ce=1,be=2,pe=3,h=4,te=5,Q=7,we=8,Se=9,Ne=10,ze=11,Je=12,qe=13,Me=14,Fe=15,Ue=16,he=17,xe=18,q=19,me=20,De=21,Te=22,Oe=23,st=24,Ft=25,Qt=26,Vt=27,Gt=28,Jt=29,Lr=30,Rr=31,Gr=32,zr=33,pr=34,vn=35,fn=36,Zt=37,St=38,Wt=39,Nt=40,dt=41,nr=42,et=43,Tt=[9001,65288],Rt="!",or="\xD7",ir="\xF7",Qr=le(Z),ft=[Lr,fn],tr=[ce,be,pe,te],gr=[Ne,we],ar=[Vt,Qt],rt=tr.concat(gr),kt=[St,Wt,Nt,pr,vn],At=[Fe,qe],qt=function(a,s){s===void 0&&(s="strict");var b=[],D=[],Ce=[];return a.forEach(function(Qe,We){var Ve=Qr.get(Qe);if(Ve>ae?(Ce.push(!0),Ve-=ae):Ce.push(!1),["normal","auto","loose"].indexOf(s)!==-1&&[8208,8211,12316,12448].indexOf(Qe)!==-1)return D.push(We),b.push(Ue);if(Ve===h||Ve===ze){if(We===0)return D.push(We),b.push(Lr);var $e=b[We-1];return rt.indexOf($e)===-1?(D.push(D[We-1]),b.push($e)):(D.push(We),b.push(Lr))}if(D.push(We),Ve===Rr)return b.push(s==="strict"?De:Zt);if(Ve===nr||Ve===Jt)return b.push(Lr);if(Ve===et)return Qe>=131072&&Qe<=196605||Qe>=196608&&Qe<=262141?b.push(Zt):b.push(Lr);b.push(Ve)}),[D,b,Ce]},sr=function(a,s,b,D){var Ce=D[b];if(Array.isArray(a)?a.indexOf(Ce)!==-1:a===Ce)for(var Qe=b;Qe<=D.length;){Qe++;var We=D[Qe];if(We===s)return!0;if(We!==Ne)break}if(Ce===Ne)for(var Qe=b;Qe>0;){Qe--;var Ve=D[Qe];if(Array.isArray(a)?a.indexOf(Ve)!==-1:a===Ve)for(var $e=b;$e<=D.length;){$e++;var We=D[$e];if(We===s)return!0;if(We!==Ne)break}if(Ve!==Ne)break}return!1},Kr=function(a,s){for(var b=a;b>=0;){var D=s[b];if(D===Ne)b--;else return D}return 0},kr=function(a,s,b,D,Ce){if(b[D]===0)return or;var Qe=D-1;if(Array.isArray(Ce)&&Ce[Qe]===!0)return or;var We=Qe-1,Ve=Qe+1,$e=s[Qe],It=We>=0?s[We]:0,ut=s[Ve];if($e===be&&ut===pe)return or;if(tr.indexOf($e)!==-1)return Rt;if(tr.indexOf(ut)!==-1||gr.indexOf(ut)!==-1)return or;if(Kr(Qe,s)===we)return ir;if(Qr.get(a[Qe])===ze||($e===Gr||$e===zr)&&Qr.get(a[Ve])===ze||$e===Q||ut===Q||$e===Se||[Ne,qe,Fe].indexOf($e)===-1&&ut===Se||[he,xe,q,st,Gt].indexOf(ut)!==-1||Kr(Qe,s)===Te||sr(Oe,Te,Qe,s)||sr([he,xe],De,Qe,s)||sr(Je,Je,Qe,s))return or;if($e===Ne)return ir;if($e===Oe||ut===Oe)return or;if(ut===Ue||$e===Ue)return ir;if([qe,Fe,De].indexOf(ut)!==-1||$e===Me||It===fn&&At.indexOf($e)!==-1||$e===Gt&&ut===fn||ut===me||ft.indexOf(ut)!==-1&&$e===Ft||ft.indexOf($e)!==-1&&ut===Ft||$e===Vt&&[Zt,Gr,zr].indexOf(ut)!==-1||[Zt,Gr,zr].indexOf($e)!==-1&&ut===Qt||ft.indexOf($e)!==-1&&ar.indexOf(ut)!==-1||ar.indexOf($e)!==-1&&ft.indexOf(ut)!==-1||[Vt,Qt].indexOf($e)!==-1&&(ut===Ft||[Te,Fe].indexOf(ut)!==-1&&s[Ve+1]===Ft)||[Te,Fe].indexOf($e)!==-1&&ut===Ft||$e===Ft&&[Ft,Gt,st].indexOf(ut)!==-1)return or;if([Ft,Gt,st,he,xe].indexOf(ut)!==-1)for(var lt=Qe;lt>=0;){var Lt=s[lt];if(Lt===Ft)return or;if([Gt,st].indexOf(Lt)!==-1)lt--;else break}if([Vt,Qt].indexOf(ut)!==-1)for(var lt=[he,xe].indexOf($e)!==-1?We:Qe;lt>=0;){var Lt=s[lt];if(Lt===Ft)return or;if([Gt,st].indexOf(Lt)!==-1)lt--;else break}if(St===$e&&[St,Wt,pr,vn].indexOf(ut)!==-1||[Wt,pr].indexOf($e)!==-1&&[Wt,Nt].indexOf(ut)!==-1||[Nt,vn].indexOf($e)!==-1&&ut===Nt||kt.indexOf($e)!==-1&&[me,Qt].indexOf(ut)!==-1||kt.indexOf(ut)!==-1&&$e===Vt||ft.indexOf($e)!==-1&&ft.indexOf(ut)!==-1||$e===st&&ft.indexOf(ut)!==-1||ft.concat(Ft).indexOf($e)!==-1&&ut===Te&&Tt.indexOf(a[Ve])===-1||ft.concat(Ft).indexOf(ut)!==-1&&$e===xe)return or;if($e===dt&&ut===dt){for(var wr=b[Qe],Sr=1;wr>0&&(wr--,s[wr]===dt);)Sr++;if(Sr%2!==0)return or}return $e===Gr&&ut===zr?or:ir},nn=function(a,s){s||(s={lineBreak:"normal",wordBreak:"normal"});var b=qt(a,s.lineBreak),D=b[0],Ce=b[1],Qe=b[2];(s.wordBreak==="break-all"||s.wordBreak==="break-word")&&(Ce=Ce.map(function(Ve){return[Ft,Lr,nr].indexOf(Ve)!==-1?Zt:Ve}));var We=s.wordBreak==="keep-all"?Qe.map(function(Ve,$e){return Ve&&a[$e]>=19968&&a[$e]<=40959}):void 0;return[D,Ce,We]},on=function(){function a(s,b,D,Ce){this.codePoints=s,this.required=b===Rt,this.start=D,this.end=Ce}return a.prototype.slice=function(){return W.apply(void 0,this.codePoints.slice(this.start,this.end))},a}(),vr=function(a,s){var b=ee(a),D=nn(b,s),Ce=D[0],Qe=D[1],We=D[2],Ve=b.length,$e=0,It=0;return{next:function(){if(It>=Ve)return{done:!0,value:null};for(var ut=or;It<Ve&&(ut=kr(b,Qe,Ce,++It,We))===or;);if(ut!==or||It===Ve){var lt=new on(b,ut,$e,It);return $e=It,{value:lt,done:!1}}return{done:!0,value:null}}}},Dr=1<<0,_r=1<<1,Hr=1<<2,Pr=1<<3,un=10,Zn=47,Jn=92,Dn=9,qn=32,lr=34,Yr=61,Yn=35,ti=36,Wi=37,_t=39,Ct=40,mt=41,br=95,Pt=45,qr=33,mn=60,In=62,Vr=64,Fn=91,An=93,zn=61,bi=123,Si=63,bo=125,Fi=124,mo=126,_o=128,Ti=65533,ao=42,no=43,Ir=44,je=58,Ke=59,ht=46,Bt=0,Dt=8,Yt=11,yr=14,zt=31,rn=127,On=-1,xn=48,Kn=97,jn=101,to=102,ki=117,zo=122,Ko=65,uo=69,ia=70,la=85,so=90,zi=function(a){return a>=xn&&a<=57},Xi=function(a){return a>=55296&&a<=57343},ua=function(a){return zi(a)||a>=Ko&&a<=ia||a>=Kn&&a<=to},ta=function(a){return a>=Kn&&a<=zo},Pi=function(a){return a>=Ko&&a<=so},Ji=function(a){return ta(a)||Pi(a)},Do=function(a){return a>=_o},Ki=function(a){return a===un||a===Dn||a===qn},fi=function(a){return Ji(a)||Do(a)||a===br},oi=function(a){return fi(a)||zi(a)||a===Pt},_i=function(a){return a>=Bt&&a<=Dt||a===Yt||a>=yr&&a<=zt||a===rn},Jr=function(a,s){return a!==Jn?!1:s!==un},hi=function(a,s,b){return a===Pt?fi(s)||Jr(s,b):fi(a)?!0:!!(a===Jn&&Jr(a,s))},yi=function(a,s,b){return a===no||a===Pt?zi(s)?!0:s===ht&&zi(b):zi(a===ht?s:a)},Ci=function(a){var s=0,b=1;(a[s]===no||a[s]===Pt)&&(a[s]===Pt&&(b=-1),s++);for(var D=[];zi(a[s]);)D.push(a[s++]);var Ce=D.length?parseInt(W.apply(void 0,D),10):0;a[s]===ht&&s++;for(var Qe=[];zi(a[s]);)Qe.push(a[s++]);var We=Qe.length,Ve=We?parseInt(W.apply(void 0,Qe),10):0;(a[s]===uo||a[s]===jn)&&s++;var $e=1;(a[s]===no||a[s]===Pt)&&(a[s]===Pt&&($e=-1),s++);for(var It=[];zi(a[s]);)It.push(a[s++]);var ut=It.length?parseInt(W.apply(void 0,It),10):0;return b*(Ce+Ve*Math.pow(10,-We))*Math.pow(10,$e*ut)},Oi={type:2},Mn={type:3},wo={type:4},xo={type:13},Ba={type:8},Eo={type:21},pa={type:9},va={type:10},oa={type:11},xs={type:12},ls={type:14},Wa={type:23},si={type:1},Rs={type:25},Ta={type:24},Ka={type:26},Fl={type:27},wl={type:28},El={type:29},tu={type:31},Xl={type:32},Ql=function(){function a(){this._value=[]}return a.prototype.write=function(s){this._value=this._value.concat(ee(s))},a.prototype.read=function(){for(var s=[],b=this.consumeToken();b!==Xl;)s.push(b),b=this.consumeToken();return s},a.prototype.consumeToken=function(){var s=this.consumeCodePoint();switch(s){case lr:return this.consumeStringToken(lr);case Yn:var b=this.peekCodePoint(0),D=this.peekCodePoint(1),Ce=this.peekCodePoint(2);if(oi(b)||Jr(D,Ce)){var Qe=hi(b,D,Ce)?_r:Dr,We=this.consumeName();return{type:5,value:We,flags:Qe}}break;case ti:if(this.peekCodePoint(0)===Yr)return this.consumeCodePoint(),xo;break;case _t:return this.consumeStringToken(_t);case Ct:return Oi;case mt:return Mn;case ao:if(this.peekCodePoint(0)===Yr)return this.consumeCodePoint(),ls;break;case no:if(yi(s,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(s),this.consumeNumericToken();break;case Ir:return wo;case Pt:var Ve=s,$e=this.peekCodePoint(0),It=this.peekCodePoint(1);if(yi(Ve,$e,It))return this.reconsumeCodePoint(s),this.consumeNumericToken();if(hi(Ve,$e,It))return this.reconsumeCodePoint(s),this.consumeIdentLikeToken();if($e===Pt&&It===In)return this.consumeCodePoint(),this.consumeCodePoint(),Ta;break;case ht:if(yi(s,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(s),this.consumeNumericToken();break;case Zn:if(this.peekCodePoint(0)===ao)for(this.consumeCodePoint();;){var ut=this.consumeCodePoint();if(ut===ao&&(ut=this.consumeCodePoint(),ut===Zn))return this.consumeToken();if(ut===On)return this.consumeToken()}break;case je:return Ka;case Ke:return Fl;case mn:if(this.peekCodePoint(0)===qr&&this.peekCodePoint(1)===Pt&&this.peekCodePoint(2)===Pt)return this.consumeCodePoint(),this.consumeCodePoint(),Rs;break;case Vr:var lt=this.peekCodePoint(0),Lt=this.peekCodePoint(1),wr=this.peekCodePoint(2);if(hi(lt,Lt,wr)){var We=this.consumeName();return{type:7,value:We}}break;case Fn:return wl;case Jn:if(Jr(s,this.peekCodePoint(0)))return this.reconsumeCodePoint(s),this.consumeIdentLikeToken();break;case An:return El;case zn:if(this.peekCodePoint(0)===Yr)return this.consumeCodePoint(),Ba;break;case bi:return oa;case bo:return xs;case ki:case la:var Sr=this.peekCodePoint(0),$r=this.peekCodePoint(1);return Sr===no&&(ua($r)||$r===Si)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(s),this.consumeIdentLikeToken();case Fi:if(this.peekCodePoint(0)===Yr)return this.consumeCodePoint(),pa;if(this.peekCodePoint(0)===Fi)return this.consumeCodePoint(),Eo;break;case mo:if(this.peekCodePoint(0)===Yr)return this.consumeCodePoint(),va;break;case On:return Xl}return Ki(s)?(this.consumeWhiteSpace(),tu):zi(s)?(this.reconsumeCodePoint(s),this.consumeNumericToken()):fi(s)?(this.reconsumeCodePoint(s),this.consumeIdentLikeToken()):{type:6,value:W(s)}},a.prototype.consumeCodePoint=function(){var s=this._value.shift();return typeof s=="undefined"?-1:s},a.prototype.reconsumeCodePoint=function(s){this._value.unshift(s)},a.prototype.peekCodePoint=function(s){return s>=this._value.length?-1:this._value[s]},a.prototype.consumeUnicodeRangeToken=function(){for(var s=[],b=this.consumeCodePoint();ua(b)&&s.length<6;)s.push(b),b=this.consumeCodePoint();for(var D=!1;b===Si&&s.length<6;)s.push(b),b=this.consumeCodePoint(),D=!0;if(D){var Ce=parseInt(W.apply(void 0,s.map(function($e){return $e===Si?xn:$e})),16),Qe=parseInt(W.apply(void 0,s.map(function($e){return $e===Si?ia:$e})),16);return{type:30,start:Ce,end:Qe}}var We=parseInt(W.apply(void 0,s),16);if(this.peekCodePoint(0)===Pt&&ua(this.peekCodePoint(1))){this.consumeCodePoint(),b=this.consumeCodePoint();for(var Ve=[];ua(b)&&Ve.length<6;)Ve.push(b),b=this.consumeCodePoint();var Qe=parseInt(W.apply(void 0,Ve),16);return{type:30,start:We,end:Qe}}else return{type:30,start:We,end:We}},a.prototype.consumeIdentLikeToken=function(){var s=this.consumeName();return s.toLowerCase()==="url"&&this.peekCodePoint(0)===Ct?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Ct?(this.consumeCodePoint(),{type:19,value:s}):{type:20,value:s}},a.prototype.consumeUrlToken=function(){var s=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===On)return{type:22,value:""};var b=this.peekCodePoint(0);if(b===_t||b===lr){var D=this.consumeStringToken(this.consumeCodePoint());return D.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===On||this.peekCodePoint(0)===mt)?(this.consumeCodePoint(),{type:22,value:D.value}):(this.consumeBadUrlRemnants(),Wa)}for(;;){var Ce=this.consumeCodePoint();if(Ce===On||Ce===mt)return{type:22,value:W.apply(void 0,s)};if(Ki(Ce))return this.consumeWhiteSpace(),this.peekCodePoint(0)===On||this.peekCodePoint(0)===mt?(this.consumeCodePoint(),{type:22,value:W.apply(void 0,s)}):(this.consumeBadUrlRemnants(),Wa);if(Ce===lr||Ce===_t||Ce===Ct||_i(Ce))return this.consumeBadUrlRemnants(),Wa;if(Ce===Jn)if(Jr(Ce,this.peekCodePoint(0)))s.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Wa;else s.push(Ce)}},a.prototype.consumeWhiteSpace=function(){for(;Ki(this.peekCodePoint(0));)this.consumeCodePoint()},a.prototype.consumeBadUrlRemnants=function(){for(;;){var s=this.consumeCodePoint();if(s===mt||s===On)return;Jr(s,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},a.prototype.consumeStringSlice=function(s){for(var b=5e4,D="";s>0;){var Ce=Math.min(b,s);D+=W.apply(void 0,this._value.splice(0,Ce)),s-=Ce}return this._value.shift(),D},a.prototype.consumeStringToken=function(s){var b="",D=0;do{var Ce=this._value[D];if(Ce===On||Ce===void 0||Ce===s)return b+=this.consumeStringSlice(D),{type:0,value:b};if(Ce===un)return this._value.splice(0,D),si;if(Ce===Jn){var Qe=this._value[D+1];Qe!==On&&Qe!==void 0&&(Qe===un?(b+=this.consumeStringSlice(D),D=-1,this._value.shift()):Jr(Ce,Qe)&&(b+=this.consumeStringSlice(D),b+=W(this.consumeEscapedCodePoint()),D=-1))}D++}while(!0)},a.prototype.consumeNumber=function(){var s=[],b=Hr,D=this.peekCodePoint(0);for((D===no||D===Pt)&&s.push(this.consumeCodePoint());zi(this.peekCodePoint(0));)s.push(this.consumeCodePoint());D=this.peekCodePoint(0);var Ce=this.peekCodePoint(1);if(D===ht&&zi(Ce))for(s.push(this.consumeCodePoint(),this.consumeCodePoint()),b=Pr;zi(this.peekCodePoint(0));)s.push(this.consumeCodePoint());D=this.peekCodePoint(0),Ce=this.peekCodePoint(1);var Qe=this.peekCodePoint(2);if((D===uo||D===jn)&&((Ce===no||Ce===Pt)&&zi(Qe)||zi(Ce)))for(s.push(this.consumeCodePoint(),this.consumeCodePoint()),b=Pr;zi(this.peekCodePoint(0));)s.push(this.consumeCodePoint());return[Ci(s),b]},a.prototype.consumeNumericToken=function(){var s=this.consumeNumber(),b=s[0],D=s[1],Ce=this.peekCodePoint(0),Qe=this.peekCodePoint(1),We=this.peekCodePoint(2);if(hi(Ce,Qe,We)){var Ve=this.consumeName();return{type:15,number:b,flags:D,unit:Ve}}return Ce===Wi?(this.consumeCodePoint(),{type:16,number:b,flags:D}):{type:17,number:b,flags:D}},a.prototype.consumeEscapedCodePoint=function(){var s=this.consumeCodePoint();if(ua(s)){for(var b=W(s);ua(this.peekCodePoint(0))&&b.length<6;)b+=W(this.consumeCodePoint());Ki(this.peekCodePoint(0))&&this.consumeCodePoint();var D=parseInt(b,16);return D===0||Xi(D)||D>1114111?Ti:D}return s===On?Ti:s},a.prototype.consumeName=function(){for(var s="";;){var b=this.consumeCodePoint();if(oi(b))s+=W(b);else if(Jr(b,this.peekCodePoint(0)))s+=W(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(b),s}},a}(),rl=function(){function a(s){this._tokens=s}return a.create=function(s){var b=new Ql;return b.write(s),new a(b.read())},a.parseValue=function(s){return a.create(s).parseComponentValue()},a.parseValues=function(s){return a.create(s).parseComponentValues()},a.prototype.parseComponentValue=function(){for(var s=this.consumeToken();s.type===31;)s=this.consumeToken();if(s.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(s);var b=this.consumeComponentValue();do s=this.consumeToken();while(s.type===31);if(s.type===32)return b;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},a.prototype.parseComponentValues=function(){for(var s=[];;){var b=this.consumeComponentValue();if(b.type===32)return s;s.push(b),s.push()}},a.prototype.consumeComponentValue=function(){var s=this.consumeToken();switch(s.type){case 11:case 28:case 2:return this.consumeSimpleBlock(s.type);case 19:return this.consumeFunction(s)}return s},a.prototype.consumeSimpleBlock=function(s){for(var b={type:s,values:[]},D=this.consumeToken();;){if(D.type===32||Au(D,s))return b;this.reconsumeToken(D),b.values.push(this.consumeComponentValue()),D=this.consumeToken()}},a.prototype.consumeFunction=function(s){for(var b={name:s.value,values:[],type:18};;){var D=this.consumeToken();if(D.type===32||D.type===3)return b;this.reconsumeToken(D),b.values.push(this.consumeComponentValue())}},a.prototype.consumeToken=function(){var s=this._tokens.shift();return typeof s=="undefined"?Xl:s},a.prototype.reconsumeToken=function(s){this._tokens.unshift(s)},a}(),hl=function(a){return a.type===15},Ks=function(a){return a.type===17},qo=function(a){return a.type===20},qs=function(a){return a.type===0},jl=function(a,s){return qo(a)&&a.value===s},Hl=function(a){return a.type!==31},ks=function(a){return a.type!==31&&a.type!==4},bs=function(a){var s=[],b=[];return a.forEach(function(D){if(D.type===4){if(b.length===0)throw new Error("Error parsing function args, zero tokens for arg");s.push(b),b=[];return}D.type!==31&&b.push(D)}),b.length&&s.push(b),s},Au=function(a,s){return s===11&&a.type===12||s===28&&a.type===29?!0:s===2&&a.type===3},pl=function(a){return a.type===17||a.type===15},Ja=function(a){return a.type===16||pl(a)},Pa=function(a){return a.length>1?[a[0],a[1]]:[a[0]]},ns={type:17,number:0,flags:Hr},Zl={type:16,number:50,flags:Hr},ll={type:16,number:100,flags:Hr},ul=function(a,s,b){var D=a[0],Ce=a[1];return[Po(D,s),Po(typeof Ce!="undefined"?Ce:D,b)]},Po=function(a,s){if(a.type===16)return a.number/100*s;if(hl(a))switch(a.unit){case"rem":case"em":return 16*a.number;case"px":default:return a.number}return a.number},Ds="deg",Cl="grad",jt="rad",pt="turn",wt={name:"angle",parse:function(a,s){if(s.type===15)switch(s.unit){case Ds:return Math.PI*s.number/180;case Cl:return Math.PI/200*s.number;case jt:return s.number;case pt:return Math.PI*2*s.number}throw new Error("Unsupported angle type")}},Ye=function(a){return a.type===15&&(a.unit===Ds||a.unit===Cl||a.unit===jt||a.unit===pt)},Ut=function(a){var s=a.filter(qo).map(function(b){return b.value}).join(" ");switch(s){case"to bottom right":case"to right bottom":case"left top":case"top left":return[ns,ns];case"to top":case"bottom":return fr(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[ns,ll];case"to right":case"left":return fr(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[ll,ll];case"to bottom":case"top":return fr(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[ll,ns];case"to left":case"right":return fr(270)}return 0},fr=function(a){return Math.PI*a/180},Tr={name:"color",parse:function(a,s){if(s.type===18){var b=cs[s.name];if(typeof b=="undefined")throw new Error('Attempting to parse an unsupported color function "'+s.name+'"');return b(a,s.values)}if(s.type===5){if(s.value.length===3){var D=s.value.substring(0,1),Ce=s.value.substring(1,2),Qe=s.value.substring(2,3);return Di(parseInt(D+D,16),parseInt(Ce+Ce,16),parseInt(Qe+Qe,16),1)}if(s.value.length===4){var D=s.value.substring(0,1),Ce=s.value.substring(1,2),Qe=s.value.substring(2,3),We=s.value.substring(3,4);return Di(parseInt(D+D,16),parseInt(Ce+Ce,16),parseInt(Qe+Qe,16),parseInt(We+We,16)/255)}if(s.value.length===6){var D=s.value.substring(0,2),Ce=s.value.substring(2,4),Qe=s.value.substring(4,6);return Di(parseInt(D,16),parseInt(Ce,16),parseInt(Qe,16),1)}if(s.value.length===8){var D=s.value.substring(0,2),Ce=s.value.substring(2,4),Qe=s.value.substring(4,6),We=s.value.substring(6,8);return Di(parseInt(D,16),parseInt(Ce,16),parseInt(Qe,16),parseInt(We,16)/255)}}if(s.type===20){var Ve=Uo[s.value.toUpperCase()];if(typeof Ve!="undefined")return Ve}return Uo.TRANSPARENT}},ln=function(a){return(255&a)===0},pi=function(a){var s=255&a,b=255&a>>8,D=255&a>>16,Ce=255&a>>24;return s<255?"rgba("+Ce+","+D+","+b+","+s/255+")":"rgb("+Ce+","+D+","+b+")"},Di=function(a,s,b,D){return(a<<24|s<<16|b<<8|Math.round(D*255)<<0)>>>0},Mo=function(a,s){if(a.type===17)return a.number;if(a.type===16){var b=s===3?1:255;return s===3?a.number/100*b:Math.round(a.number/100*b)}return 0},Vo=function(a,s){var b=s.filter(ks);if(b.length===3){var D=b.map(Mo),Ce=D[0],Qe=D[1],We=D[2];return Di(Ce,Qe,We,1)}if(b.length===4){var Ve=b.map(Mo),Ce=Ve[0],Qe=Ve[1],We=Ve[2],$e=Ve[3];return Di(Ce,Qe,We,$e)}return 0};function Bs(a,s,b){return b<0&&(b+=1),b>=1&&(b-=1),b<.16666666666666666?(s-a)*b*6+a:b<.5?s:b<.6666666666666666?(s-a)*6*(.6666666666666666-b)+a:a}var is=function(a,s){var b=s.filter(ks),D=b[0],Ce=b[1],Qe=b[2],We=b[3],Ve=(D.type===17?fr(D.number):wt.parse(a,D))/(Math.PI*2),$e=Ja(Ce)?Ce.number/100:0,It=Ja(Qe)?Qe.number/100:0,ut=typeof We!="undefined"&&Ja(We)?Po(We,1):1;if($e===0)return Di(It*255,It*255,It*255,1);var lt=It<=.5?It*($e+1):It+$e-It*$e,Lt=It*2-lt,wr=Bs(Lt,lt,Ve+1/3),Sr=Bs(Lt,lt,Ve),$r=Bs(Lt,lt,Ve-1/3);return Di(wr*255,Sr*255,$r*255,ut)},cs={hsl:is,hsla:is,rgb:Vo,rgba:Vo},Us=function(a,s){return Tr.parse(a,rl.create(s).parseComponentValue())},Uo={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},Vs={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(a,s){return s.map(function(b){if(qo(b))switch(b.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Ns={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},du=function(a,s){var b=Tr.parse(a,s[0]),D=s[1];return D&&Ja(D)?{color:b,stop:D}:{color:b,stop:null}},ru=function(a,s){var b=a[0],D=a[a.length-1];b.stop===null&&(b.stop=ns),D.stop===null&&(D.stop=ll);for(var Ce=[],Qe=0,We=0;We<a.length;We++){var Ve=a[We].stop;if(Ve!==null){var $e=Po(Ve,s);$e>Qe?Ce.push($e):Ce.push(Qe),Qe=$e}else Ce.push(null)}for(var It=null,We=0;We<Ce.length;We++){var ut=Ce[We];if(ut===null)It===null&&(It=We);else if(It!==null){for(var lt=We-It,Lt=Ce[It-1],wr=(ut-Lt)/(lt+1),Sr=1;Sr<=lt;Sr++)Ce[It+Sr-1]=wr*Sr;It=null}}return a.map(function($r,Nn){var Hn=$r.color;return{color:Hn,stop:Math.max(Math.min(1,Ce[Nn]/s),0)}})},Ou=function(a,s,b){var D=s/2,Ce=b/2,Qe=Po(a[0],s)-D,We=Ce-Po(a[1],b);return(Math.atan2(We,Qe)+Math.PI*2)%(Math.PI*2)},nu=function(a,s,b){var D=typeof a=="number"?a:Ou(a,s,b),Ce=Math.abs(s*Math.sin(D))+Math.abs(b*Math.cos(D)),Qe=s/2,We=b/2,Ve=Ce/2,$e=Math.sin(D-Math.PI/2)*Ve,It=Math.cos(D-Math.PI/2)*Ve;return[Ce,Qe-It,Qe+It,We-$e,We+$e]},nl=function(a,s){return Math.sqrt(a*a+s*s)},fu=function(a,s,b,D,Ce){var Qe=[[0,0],[0,s],[a,0],[a,s]];return Qe.reduce(function(We,Ve){var $e=Ve[0],It=Ve[1],ut=nl(b-$e,D-It);return(Ce?ut<We.optimumDistance:ut>We.optimumDistance)?{optimumCorner:Ve,optimumDistance:ut}:We},{optimumDistance:Ce?1/0:-1/0,optimumCorner:null}).optimumCorner},z=function(a,s,b,D,Ce){var Qe=0,We=0;switch(a.size){case 0:a.shape===0?Qe=We=Math.min(Math.abs(s),Math.abs(s-D),Math.abs(b),Math.abs(b-Ce)):a.shape===1&&(Qe=Math.min(Math.abs(s),Math.abs(s-D)),We=Math.min(Math.abs(b),Math.abs(b-Ce)));break;case 2:if(a.shape===0)Qe=We=Math.min(nl(s,b),nl(s,b-Ce),nl(s-D,b),nl(s-D,b-Ce));else if(a.shape===1){var Ve=Math.min(Math.abs(b),Math.abs(b-Ce))/Math.min(Math.abs(s),Math.abs(s-D)),$e=fu(D,Ce,s,b,!0),It=$e[0],ut=$e[1];Qe=nl(It-s,(ut-b)/Ve),We=Ve*Qe}break;case 1:a.shape===0?Qe=We=Math.max(Math.abs(s),Math.abs(s-D),Math.abs(b),Math.abs(b-Ce)):a.shape===1&&(Qe=Math.max(Math.abs(s),Math.abs(s-D)),We=Math.max(Math.abs(b),Math.abs(b-Ce)));break;case 3:if(a.shape===0)Qe=We=Math.max(nl(s,b),nl(s,b-Ce),nl(s-D,b),nl(s-D,b-Ce));else if(a.shape===1){var Ve=Math.max(Math.abs(b),Math.abs(b-Ce))/Math.max(Math.abs(s),Math.abs(s-D)),lt=fu(D,Ce,s,b,!1),It=lt[0],ut=lt[1];Qe=nl(It-s,(ut-b)/Ve),We=Ve*Qe}break}return Array.isArray(a.size)&&(Qe=Po(a.size[0],D),We=a.size.length===2?Po(a.size[1],Ce):Qe),[Qe,We]},_=function(a,s){var b=fr(180),D=[];return bs(s).forEach(function(Ce,Qe){if(Qe===0){var We=Ce[0];if(We.type===20&&We.value==="to"){b=Ut(Ce);return}else if(Ye(We)){b=wt.parse(a,We);return}}var Ve=du(a,Ce);D.push(Ve)}),{angle:b,stops:D,type:1}},H=function(a,s){var b=fr(180),D=[];return bs(s).forEach(function(Ce,Qe){if(Qe===0){var We=Ce[0];if(We.type===20&&["top","left","right","bottom"].indexOf(We.value)!==-1){b=Ut(Ce);return}else if(Ye(We)){b=(wt.parse(a,We)+fr(270))%fr(360);return}}var Ve=du(a,Ce);D.push(Ve)}),{angle:b,stops:D,type:1}},Ae=function(a,s){var b=fr(180),D=[],Ce=1,Qe=0,We=3,Ve=[];return bs(s).forEach(function($e,It){var ut=$e[0];if(It===0){if(qo(ut)&&ut.value==="linear"){Ce=1;return}else if(qo(ut)&&ut.value==="radial"){Ce=2;return}}if(ut.type===18){if(ut.name==="from"){var lt=Tr.parse(a,ut.values[0]);D.push({stop:ns,color:lt})}else if(ut.name==="to"){var lt=Tr.parse(a,ut.values[0]);D.push({stop:ll,color:lt})}else if(ut.name==="color-stop"){var Lt=ut.values.filter(ks);if(Lt.length===2){var lt=Tr.parse(a,Lt[1]),wr=Lt[0];Ks(wr)&&D.push({stop:{type:16,number:wr.number*100,flags:wr.flags},color:lt})}}}}),Ce===1?{angle:(b+fr(180))%fr(360),stops:D,type:Ce}:{size:We,shape:Qe,stops:D,position:Ve,type:Ce}},Be="closest-side",ve="farthest-side",Le="closest-corner",Re="farthest-corner",ke="circle",it="ellipse",gt="cover",Et="contain",Mt=function(a,s){var b=0,D=3,Ce=[],Qe=[];return bs(s).forEach(function(We,Ve){var $e=!0;if(Ve===0){var It=!1;$e=We.reduce(function(lt,Lt){if(It)if(qo(Lt))switch(Lt.value){case"center":return Qe.push(Zl),lt;case"top":case"left":return Qe.push(ns),lt;case"right":case"bottom":return Qe.push(ll),lt}else(Ja(Lt)||pl(Lt))&&Qe.push(Lt);else if(qo(Lt))switch(Lt.value){case ke:return b=0,!1;case it:return b=1,!1;case"at":return It=!0,!1;case Be:return D=0,!1;case gt:case ve:return D=1,!1;case Et:case Le:return D=2,!1;case Re:return D=3,!1}else if(pl(Lt)||Ja(Lt))return Array.isArray(D)||(D=[]),D.push(Lt),!1;return lt},$e)}if($e){var ut=du(a,We);Ce.push(ut)}}),{size:D,shape:b,stops:Ce,position:Qe,type:2}},Ge=function(a,s){var b=0,D=3,Ce=[],Qe=[];return bs(s).forEach(function(We,Ve){var $e=!0;if(Ve===0?$e=We.reduce(function(ut,lt){if(qo(lt))switch(lt.value){case"center":return Qe.push(Zl),!1;case"top":case"left":return Qe.push(ns),!1;case"right":case"bottom":return Qe.push(ll),!1}else if(Ja(lt)||pl(lt))return Qe.push(lt),!1;return ut},$e):Ve===1&&($e=We.reduce(function(ut,lt){if(qo(lt))switch(lt.value){case ke:return b=0,!1;case it:return b=1,!1;case Et:case Be:return D=0,!1;case ve:return D=1,!1;case Le:return D=2,!1;case gt:case Re:return D=3,!1}else if(pl(lt)||Ja(lt))return Array.isArray(D)||(D=[]),D.push(lt),!1;return ut},$e)),$e){var It=du(a,We);Ce.push(It)}}),{size:D,shape:b,stops:Ce,position:Qe,type:2}},cr=function(a){return a.type===1},er=function(a){return a.type===2},mr={name:"image",parse:function(a,s){if(s.type===22){var b={url:s.value,type:0};return a.cache.addImage(s.value),b}if(s.type===18){var D=dr[s.name];if(typeof D=="undefined")throw new Error('Attempting to parse an unsupported image function "'+s.name+'"');return D(a,s.values)}throw new Error("Unsupported image type "+s.type)}};function Kt(a){return!(a.type===20&&a.value==="none")&&(a.type!==18||!!dr[a.name])}var dr={"linear-gradient":_,"-moz-linear-gradient":H,"-ms-linear-gradient":H,"-o-linear-gradient":H,"-webkit-linear-gradient":H,"radial-gradient":Mt,"-moz-radial-gradient":Ge,"-ms-radial-gradient":Ge,"-o-radial-gradient":Ge,"-webkit-radial-gradient":Ge,"-webkit-gradient":Ae},Zr={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(a,s){if(s.length===0)return[];var b=s[0];return b.type===20&&b.value==="none"?[]:s.filter(function(D){return ks(D)&&Kt(D)}).map(function(D){return mr.parse(a,D)})}},dn={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(a,s){return s.map(function(b){if(qo(b))switch(b.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},hn={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(a,s){return bs(s).map(function(b){return b.filter(Ja)}).map(Pa)}},$n={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(a,s){return bs(s).map(function(b){return b.filter(qo).map(function(D){return D.value}).join(" ")}).map(cn)}},cn=function(a){switch(a){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},Er;(function(a){a.AUTO="auto",a.CONTAIN="contain",a.COVER="cover"})(Er||(Er={}));var Gn={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(a,s){return bs(s).map(function(b){return b.filter(Vn)})}},Vn=function(a){return qo(a)||Ja(a)},Xt=function(a){return{name:"border-"+a+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},rr=Xt("top"),Ur=Xt("right"),Or=Xt("bottom"),En=Xt("left"),yn=function(a){return{name:"border-radius-"+a,initialValue:"0 0",prefix:!1,type:1,parse:function(s,b){return Pa(b.filter(Ja))}}},Rn=yn("top-left"),pn=yn("top-right"),Un=yn("bottom-right"),kn=yn("bottom-left"),Ui=function(a){return{name:"border-"+a+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(s,b){switch(b){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},Ot=Ui("top"),Ar=Ui("right"),Br=Ui("bottom"),Wr=Ui("left"),tn=function(a){return{name:"border-"+a+"-width",initialValue:"0",type:0,prefix:!1,parse:function(s,b){return hl(b)?b.number:0}}},Nr=tn("top"),gn=tn("right"),wn=tn("bottom"),mi=tn("left"),wi={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Ni={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(a,s){switch(s){case"rtl":return 1;case"ltr":default:return 0}}},Gi={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(a,s){return s.filter(qo).reduce(function(b,D){return b|lo(D.value)},0)}},lo=function(a){switch(a){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},_n={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(a,s){switch(s){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Cr={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(a,s){return s.type===20&&s.value==="normal"?0:s.type===17||s.type===15?s.number:0}},Ei;(function(a){a.NORMAL="normal",a.STRICT="strict"})(Ei||(Ei={}));var vo={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(a,s){switch(s){case"strict":return Ei.STRICT;case"normal":default:return Ei.NORMAL}}},di={name:"line-height",initialValue:"normal",prefix:!1,type:4},ri=function(a,s){return qo(a)&&a.value==="normal"?1.2*s:a.type===17?s*a.number:Ja(a)?Po(a,s):s},gi={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(a,s){return s.type===20&&s.value==="none"?null:mr.parse(a,s)}},Bi={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(a,s){switch(s){case"inside":return 0;case"outside":default:return 1}}},eo={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(a,s){switch(s){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},io=function(a){return{name:"margin-"+a,initialValue:"0",prefix:!1,type:4}},Go=io("top"),Co=io("right"),No=io("bottom"),Oa=io("left"),Xo={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(a,s){return s.filter(qo).map(function(b){switch(b.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},ya={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(a,s){switch(s){case"break-word":return"break-word";case"normal":default:return"normal"}}},Hi=function(a){return{name:"padding-"+a,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Ss=Hi("top"),Jo=Hi("right"),os=Hi("bottom"),ca=Hi("left"),Ga={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(a,s){switch(s){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},gl={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(a,s){switch(s){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Da={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(a,s){return s.length===1&&jl(s[0],"none")?[]:bs(s).map(function(b){for(var D={color:Uo.TRANSPARENT,offsetX:ns,offsetY:ns,blur:ns},Ce=0,Qe=0;Qe<b.length;Qe++){var We=b[Qe];pl(We)?(Ce===0?D.offsetX=We:Ce===1?D.offsetY=We:D.blur=We,Ce++):D.color=Tr.parse(a,We)}return D})}},Ri={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(a,s){switch(s){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Aa={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(a,s){if(s.type===20&&s.value==="none")return null;if(s.type===18){var b=us[s.name];if(typeof b=="undefined")throw new Error('Attempting to parse an unsupported transform function "'+s.name+'"');return b(s.values)}return null}},ms=function(a){var s=a.filter(function(b){return b.type===17}).map(function(b){return b.number});return s.length===6?s:null},ml=function(a){var s=a.filter(function($e){return $e.type===17}).map(function($e){return $e.number}),b=s[0],D=s[1];s[2],s[3];var Ce=s[4],Qe=s[5];s[6],s[7],s[8],s[9],s[10],s[11];var We=s[12],Ve=s[13];return s[14],s[15],s.length===16?[b,D,Ce,Qe,We,Ve]:null},us={matrix:ms,matrix3d:ml},ea={type:16,number:50,flags:Hr},La=[ea,ea],ds={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(a,s){var b=s.filter(Ja);return b.length!==2?La:[b[0],b[1]]}},Ya={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(a,s){switch(s){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},Qs;(function(a){a.NORMAL="normal",a.BREAK_ALL="break-all",a.KEEP_ALL="keep-all"})(Qs||(Qs={}));for(var Ms={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(a,s){switch(s){case"break-all":return Qs.BREAK_ALL;case"keep-all":return Qs.KEEP_ALL;case"normal":default:return Qs.NORMAL}}},To={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(a,s){if(s.type===20)return{auto:!0,order:0};if(Ks(s))return{auto:!1,order:s.number};throw new Error("Invalid z-index number parsed")}},il={name:"time",parse:function(a,s){if(s.type===15)switch(s.unit.toLowerCase()){case"s":return 1e3*s.number;case"ms":return s.number}throw new Error("Unsupported time type")}},li={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(a,s){return Ks(s)?s.number:1}},ka={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ga={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(a,s){return s.filter(qo).map(function(b){switch(b.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(b){return b!==0})}},Sa={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(a,s){var b=[],D=[];return s.forEach(function(Ce){switch(Ce.type){case 20:case 0:b.push(Ce.value);break;case 17:b.push(Ce.number.toString());break;case 4:D.push(b.join(" ")),b.length=0;break}}),b.length&&D.push(b.join(" ")),D.map(function(Ce){return Ce.indexOf(" ")===-1?Ce:"'"+Ce+"'"})}},Yo={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},_s={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(a,s){if(Ks(s))return s.number;if(qo(s))switch(s.value){case"bold":return 700;case"normal":default:return 400}return 400}},Es={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(a,s){return s.filter(qo).map(function(b){return b.value})}},ol={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(a,s){switch(s){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},Na=function(a,s){return(a&s)!==0},aa={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(a,s){if(s.length===0)return[];var b=s[0];return b.type===20&&b.value==="none"?[]:s}},fs={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(a,s){if(s.length===0)return null;var b=s[0];if(b.type===20&&b.value==="none")return null;for(var D=[],Ce=s.filter(Hl),Qe=0;Qe<Ce.length;Qe++){var We=Ce[Qe],Ve=Ce[Qe+1];if(We.type===20){var $e=Ve&&Ks(Ve)?Ve.number:1;D.push({counter:We.value,increment:$e})}}return D}},Gs={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(a,s){if(s.length===0)return[];for(var b=[],D=s.filter(Hl),Ce=0;Ce<D.length;Ce++){var Qe=D[Ce],We=D[Ce+1];if(qo(Qe)&&Qe.value!=="none"){var Ve=We&&Ks(We)?We.number:0;b.push({counter:Qe.value,reset:Ve})}}return b}},el={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(a,s){return s.filter(hl).map(function(b){return il.parse(a,b)})}},Ts={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(a,s){if(s.length===0)return null;var b=s[0];if(b.type===20&&b.value==="none")return null;var D=[],Ce=s.filter(qs);if(Ce.length%2!==0)return null;for(var Qe=0;Qe<Ce.length;Qe+=2){var We=Ce[Qe].value,Ve=Ce[Qe+1].value;D.push({open:We,close:Ve})}return D}},Rl=function(a,s,b){if(!a)return"";var D=a[Math.min(s,a.length-1)];return D?b?D.open:D.close:""},y={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(a,s){return s.length===1&&jl(s[0],"none")?[]:bs(s).map(function(b){for(var D={color:255,offsetX:ns,offsetY:ns,blur:ns,spread:ns,inset:!1},Ce=0,Qe=0;Qe<b.length;Qe++){var We=b[Qe];jl(We,"inset")?D.inset=!0:pl(We)?(Ce===0?D.offsetX=We:Ce===1?D.offsetY=We:Ce===2?D.blur=We:D.spread=We,Ce++):D.color=Tr.parse(a,We)}return D})}},ye={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(a,s){var b=[0,1,2],D=[];return s.filter(qo).forEach(function(Ce){switch(Ce.value){case"stroke":D.push(1);break;case"fill":D.push(0);break;case"markers":D.push(2);break}}),b.forEach(function(Ce){D.indexOf(Ce)===-1&&D.push(Ce)}),D}},oe={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},ne={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(a,s){return hl(s)?s.number:0}},He=function(){function a(s,b){var D,Ce;this.animationDuration=vt(s,el,b.animationDuration),this.backgroundClip=vt(s,Vs,b.backgroundClip),this.backgroundColor=vt(s,Ns,b.backgroundColor),this.backgroundImage=vt(s,Zr,b.backgroundImage),this.backgroundOrigin=vt(s,dn,b.backgroundOrigin),this.backgroundPosition=vt(s,hn,b.backgroundPosition),this.backgroundRepeat=vt(s,$n,b.backgroundRepeat),this.backgroundSize=vt(s,Gn,b.backgroundSize),this.borderTopColor=vt(s,rr,b.borderTopColor),this.borderRightColor=vt(s,Ur,b.borderRightColor),this.borderBottomColor=vt(s,Or,b.borderBottomColor),this.borderLeftColor=vt(s,En,b.borderLeftColor),this.borderTopLeftRadius=vt(s,Rn,b.borderTopLeftRadius),this.borderTopRightRadius=vt(s,pn,b.borderTopRightRadius),this.borderBottomRightRadius=vt(s,Un,b.borderBottomRightRadius),this.borderBottomLeftRadius=vt(s,kn,b.borderBottomLeftRadius),this.borderTopStyle=vt(s,Ot,b.borderTopStyle),this.borderRightStyle=vt(s,Ar,b.borderRightStyle),this.borderBottomStyle=vt(s,Br,b.borderBottomStyle),this.borderLeftStyle=vt(s,Wr,b.borderLeftStyle),this.borderTopWidth=vt(s,Nr,b.borderTopWidth),this.borderRightWidth=vt(s,gn,b.borderRightWidth),this.borderBottomWidth=vt(s,wn,b.borderBottomWidth),this.borderLeftWidth=vt(s,mi,b.borderLeftWidth),this.boxShadow=vt(s,y,b.boxShadow),this.color=vt(s,wi,b.color),this.direction=vt(s,Ni,b.direction),this.display=vt(s,Gi,b.display),this.float=vt(s,_n,b.cssFloat),this.fontFamily=vt(s,Sa,b.fontFamily),this.fontSize=vt(s,Yo,b.fontSize),this.fontStyle=vt(s,ol,b.fontStyle),this.fontVariant=vt(s,Es,b.fontVariant),this.fontWeight=vt(s,_s,b.fontWeight),this.letterSpacing=vt(s,Cr,b.letterSpacing),this.lineBreak=vt(s,vo,b.lineBreak),this.lineHeight=vt(s,di,b.lineHeight),this.listStyleImage=vt(s,gi,b.listStyleImage),this.listStylePosition=vt(s,Bi,b.listStylePosition),this.listStyleType=vt(s,eo,b.listStyleType),this.marginTop=vt(s,Go,b.marginTop),this.marginRight=vt(s,Co,b.marginRight),this.marginBottom=vt(s,No,b.marginBottom),this.marginLeft=vt(s,Oa,b.marginLeft),this.opacity=vt(s,li,b.opacity);var Qe=vt(s,Xo,b.overflow);this.overflowX=Qe[0],this.overflowY=Qe[Qe.length>1?1:0],this.overflowWrap=vt(s,ya,b.overflowWrap),this.paddingTop=vt(s,Ss,b.paddingTop),this.paddingRight=vt(s,Jo,b.paddingRight),this.paddingBottom=vt(s,os,b.paddingBottom),this.paddingLeft=vt(s,ca,b.paddingLeft),this.paintOrder=vt(s,ye,b.paintOrder),this.position=vt(s,gl,b.position),this.textAlign=vt(s,Ga,b.textAlign),this.textDecorationColor=vt(s,ka,(D=b.textDecorationColor)!==null&&D!==void 0?D:b.color),this.textDecorationLine=vt(s,ga,(Ce=b.textDecorationLine)!==null&&Ce!==void 0?Ce:b.textDecoration),this.textShadow=vt(s,Da,b.textShadow),this.textTransform=vt(s,Ri,b.textTransform),this.transform=vt(s,Aa,b.transform),this.transformOrigin=vt(s,ds,b.transformOrigin),this.visibility=vt(s,Ya,b.visibility),this.webkitTextStrokeColor=vt(s,oe,b.webkitTextStrokeColor),this.webkitTextStrokeWidth=vt(s,ne,b.webkitTextStrokeWidth),this.wordBreak=vt(s,Ms,b.wordBreak),this.zIndex=vt(s,To,b.zIndex)}return a.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},a.prototype.isTransparent=function(){return ln(this.backgroundColor)},a.prototype.isTransformed=function(){return this.transform!==null},a.prototype.isPositioned=function(){return this.position!==0},a.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},a.prototype.isFloating=function(){return this.float!==0},a.prototype.isInlineLevel=function(){return Na(this.display,4)||Na(this.display,33554432)||Na(this.display,268435456)||Na(this.display,536870912)||Na(this.display,67108864)||Na(this.display,134217728)},a}(),nt=function(){function a(s,b){this.content=vt(s,aa,b.content),this.quotes=vt(s,Ts,b.quotes)}return a}(),bt=function(){function a(s,b){this.counterIncrement=vt(s,fs,b.counterIncrement),this.counterReset=vt(s,Gs,b.counterReset)}return a}(),vt=function(a,s,b){var D=new Ql,Ce=b!==null&&typeof b!="undefined"?b.toString():s.initialValue;D.write(Ce);var Qe=new rl(D.read());switch(s.type){case 2:var We=Qe.parseComponentValue();return s.parse(a,qo(We)?We.value:s.initialValue);case 0:return s.parse(a,Qe.parseComponentValue());case 1:return s.parse(a,Qe.parseComponentValues());case 4:return Qe.parseComponentValue();case 3:switch(s.format){case"angle":return wt.parse(a,Qe.parseComponentValue());case"color":return Tr.parse(a,Qe.parseComponentValue());case"image":return mr.parse(a,Qe.parseComponentValue());case"length":var Ve=Qe.parseComponentValue();return pl(Ve)?Ve:ns;case"length-percentage":var $e=Qe.parseComponentValue();return Ja($e)?$e:ns;case"time":return il.parse(a,Qe.parseComponentValue())}break}},jr="data-html2canvas-debug",Ht=function(a){var s=a.getAttribute(jr);switch(s){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},hr=function(a,s){var b=Ht(a);return b===1||s===b},Tn=function(){function a(s,b){if(this.context=s,this.textNodes=[],this.elements=[],this.flags=0,hr(b,3))debugger;this.styles=new He(s,window.getComputedStyle(b,null)),wu(b)&&(this.styles.animationDuration.some(function(D){return D>0})&&(b.style.animationDuration="0s"),this.styles.transform!==null&&(b.style.transform="none")),this.bounds=v(this.context,b),hr(b,4)&&(this.flags|=16)}return a}(),Sn="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",an="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ni=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Li=0;Li<an.length;Li++)ni[an.charCodeAt(Li)]=Li;for(var tt=function(a){var s=a.length*.75,b=a.length,D,Ce=0,Qe,We,Ve,$e;a[a.length-1]==="="&&(s--,a[a.length-2]==="="&&s--);var It=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(s):new Array(s),ut=Array.isArray(It)?It:new Uint8Array(It);for(D=0;D<b;D+=4)Qe=ni[a.charCodeAt(D)],We=ni[a.charCodeAt(D+1)],Ve=ni[a.charCodeAt(D+2)],$e=ni[a.charCodeAt(D+3)],ut[Ce++]=Qe<<2|We>>4,ut[Ce++]=(We&15)<<4|Ve>>2,ut[Ce++]=(Ve&3)<<6|$e&63;return It},at=function(a){for(var s=a.length,b=[],D=0;D<s;D+=2)b.push(a[D+1]<<8|a[D]);return b},$t=function(a){for(var s=a.length,b=[],D=0;D<s;D+=4)b.push(a[D+3]<<24|a[D+2]<<16|a[D+1]<<8|a[D]);return b},Fr=5,Xr=6+5,Ln=2,xi=Xr-Fr,Cn=65536>>Fr,Wn=1<<Fr,ai=Wn-1,ci=1024>>Fr,Pn=Cn+ci,vi=Pn,wa=32,Qo=vi+wa,yt=65536>>Xr,Xn=1<<xi,Vi=Xn-1,Qi=function(a,s,b){return a.slice?a.slice(s,b):new Uint16Array(Array.prototype.slice.call(a,s,b))},Bo=function(a,s,b){return a.slice?a.slice(s,b):new Uint32Array(Array.prototype.slice.call(a,s,b))},Oo=function(a,s){var b=tt(a),D=Array.isArray(b)?$t(b):new Uint32Array(b),Ce=Array.isArray(b)?at(b):new Uint16Array(b),Qe=24,We=Qi(Ce,Qe/2,D[4]/2),Ve=D[5]===2?Qi(Ce,(Qe+D[4])/2):Bo(D,Math.ceil((Qe+D[4])/4));return new Ro(D[0],D[1],D[2],D[3],We,Ve)},Ro=function(){function a(s,b,D,Ce,Qe,We){this.initialValue=s,this.errorValue=b,this.highStart=D,this.highValueIndex=Ce,this.index=Qe,this.data=We}return a.prototype.get=function(s){var b;if(s>=0){if(s<55296||s>56319&&s<=65535)return b=this.index[s>>Fr],b=(b<<Ln)+(s&ai),this.data[b];if(s<=65535)return b=this.index[Cn+(s-55296>>Fr)],b=(b<<Ln)+(s&ai),this.data[b];if(s<this.highStart)return b=Qo-yt+(s>>Xr),b=this.index[b],b+=s>>Fr&Vi,b=this.index[b],b=(b<<Ln)+(s&ai),this.data[b];if(s<=1114111)return this.data[this.highValueIndex]}return this.errorValue},a}(),So="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",$o=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Yi=0;Yi<So.length;Yi++)$o[So.charCodeAt(Yi)]=Yi;var k=1,ge=2,Ze=3,Xe=4,xt=5,xr=7,sn=8,Ai=9,Zi=10,$i=11,Lo=12,Zo=13,da=14,Ia=15,fa=function(a){for(var s=[],b=0,D=a.length;b<D;){var Ce=a.charCodeAt(b++);if(Ce>=55296&&Ce<=56319&&b<D){var Qe=a.charCodeAt(b++);(Qe&64512)===56320?s.push(((Ce&1023)<<10)+(Qe&1023)+65536):(s.push(Ce),b--)}else s.push(Ce)}return s},as=function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];if(String.fromCodePoint)return String.fromCodePoint.apply(String,a);var b=a.length;if(!b)return"";for(var D=[],Ce=-1,Qe="";++Ce<b;){var We=a[Ce];We<=65535?D.push(We):(We-=65536,D.push((We>>10)+55296,We%1024+56320)),(Ce+1===b||D.length>16384)&&(Qe+=String.fromCharCode.apply(String,D),D.length=0)}return Qe},Va=Oo(Sn),ha="\xD7",xa="\xF7",ko=function(a){return Va.get(a)},Mi=function(a,s,b){var D=b-2,Ce=s[D],Qe=s[b-1],We=s[b];if(Qe===ge&&We===Ze)return ha;if(Qe===ge||Qe===Ze||Qe===Xe||We===ge||We===Ze||We===Xe)return xa;if(Qe===sn&&[sn,Ai,$i,Lo].indexOf(We)!==-1||(Qe===$i||Qe===Ai)&&(We===Ai||We===Zi)||(Qe===Lo||Qe===Zi)&&We===Zi||We===Zo||We===xt||We===xr||Qe===k)return ha;if(Qe===Zo&&We===da){for(;Ce===xt;)Ce=s[--D];if(Ce===da)return ha}if(Qe===Ia&&We===Ia){for(var Ve=0;Ce===Ia;)Ve++,Ce=s[--D];if(Ve%2===0)return ha}return xa},co=function(a){var s=fa(a),b=s.length,D=0,Ce=0,Qe=s.map(ko);return{next:function(){if(D>=b)return{done:!0,value:null};for(var We=ha;D<b&&(We=Mi(s,Qe,++D))===ha;);if(We!==ha||D===b){var Ve=as.apply(null,s.slice(Ce,D));return Ce=D,{value:Ve,done:!1}}return{done:!0,value:null}}}},go=function(a){for(var s=co(a),b=[],D;!(D=s.next()).done;)D.value&&b.push(D.value.slice());return b},qi=function(a){var s=123;if(a.createRange){var b=a.createRange();if(b.getBoundingClientRect){var D=a.createElement("boundtest");D.style.height=s+"px",D.style.display="block",a.body.appendChild(D),b.selectNode(D);var Ce=b.getBoundingClientRect(),Qe=Math.round(Ce.height);if(a.body.removeChild(D),Qe===s)return!0}}return!1},ji=function(a){var s=a.createElement("boundtest");s.style.width="50px",s.style.display="block",s.style.fontSize="12px",s.style.letterSpacing="0px",s.style.wordSpacing="0px",a.body.appendChild(s);var b=a.createRange();s.innerHTML=typeof"".repeat=="function"?"&#128104;".repeat(10):"";var D=s.firstChild,Ce=ee(D.data).map(function($e){return W($e)}),Qe=0,We={},Ve=Ce.every(function($e,It){b.setStart(D,Qe),b.setEnd(D,Qe+$e.length);var ut=b.getBoundingClientRect();Qe+=$e.length;var lt=ut.x>We.x||ut.y>We.y;return We=ut,It===0?!0:lt});return a.body.removeChild(s),Ve},ra=function(){return typeof new Image().crossOrigin!="undefined"},jo=function(){return typeof new XMLHttpRequest().responseType=="string"},Ca=function(a){var s=new Image,b=a.createElement("canvas"),D=b.getContext("2d");if(!D)return!1;s.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{D.drawImage(s,0,0),b.toDataURL()}catch(Ce){return!1}return!0},Ra=function(a){return a[0]===0&&a[1]===255&&a[2]===0&&a[3]===255},ro=function(a){var s=a.createElement("canvas"),b=100;s.width=b,s.height=b;var D=s.getContext("2d");if(!D)return Promise.reject(!1);D.fillStyle="rgb(0, 255, 0)",D.fillRect(0,0,b,b);var Ce=new Image,Qe=s.toDataURL();Ce.src=Qe;var We=_a(b,b,0,0,Ce);return D.fillStyle="red",D.fillRect(0,0,b,b),Ma(We).then(function(Ve){D.drawImage(Ve,0,0);var $e=D.getImageData(0,0,b,b).data;D.fillStyle="red",D.fillRect(0,0,b,b);var It=a.createElement("div");return It.style.backgroundImage="url("+Qe+")",It.style.height=b+"px",Ra($e)?Ma(_a(b,b,0,0,It)):Promise.reject(!1)}).then(function(Ve){return D.drawImage(Ve,0,0),Ra(D.getImageData(0,0,b,b).data)}).catch(function(){return!1})},_a=function(a,s,b,D,Ce){var Qe="http://www.w3.org/2000/svg",We=document.createElementNS(Qe,"svg"),Ve=document.createElementNS(Qe,"foreignObject");return We.setAttributeNS(null,"width",a.toString()),We.setAttributeNS(null,"height",s.toString()),Ve.setAttributeNS(null,"width","100%"),Ve.setAttributeNS(null,"height","100%"),Ve.setAttributeNS(null,"x",b.toString()),Ve.setAttributeNS(null,"y",D.toString()),Ve.setAttributeNS(null,"externalResourcesRequired","true"),We.appendChild(Ve),Ve.appendChild(Ce),We},Ma=function(a){return new Promise(function(s,b){var D=new Image;D.onload=function(){return s(D)},D.onerror=b,D.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(a))})},Bn={get SUPPORT_RANGE_BOUNDS(){var a=qi(document);return Object.defineProperty(Bn,"SUPPORT_RANGE_BOUNDS",{value:a}),a},get SUPPORT_WORD_BREAKING(){var a=Bn.SUPPORT_RANGE_BOUNDS&&ji(document);return Object.defineProperty(Bn,"SUPPORT_WORD_BREAKING",{value:a}),a},get SUPPORT_SVG_DRAWING(){var a=Ca(document);return Object.defineProperty(Bn,"SUPPORT_SVG_DRAWING",{value:a}),a},get SUPPORT_FOREIGNOBJECT_DRAWING(){var a=typeof Array.from=="function"&&typeof window.fetch=="function"?ro(document):Promise.resolve(!1);return Object.defineProperty(Bn,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:a}),a},get SUPPORT_CORS_IMAGES(){var a=ra();return Object.defineProperty(Bn,"SUPPORT_CORS_IMAGES",{value:a}),a},get SUPPORT_RESPONSE_TYPE(){var a=jo();return Object.defineProperty(Bn,"SUPPORT_RESPONSE_TYPE",{value:a}),a},get SUPPORT_CORS_XHR(){var a="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Bn,"SUPPORT_CORS_XHR",{value:a}),a},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var a=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(Bn,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:a}),a}},Wo=function(){function a(s,b){this.text=s,this.bounds=b}return a}(),ba=function(a,s,b,D){var Ce=Ys(s,b),Qe=[],We=0;return Ce.forEach(function(Ve){if(b.textDecorationLine.length||Ve.trim().length>0)if(Bn.SUPPORT_RANGE_BOUNDS){var $e=qa(D,We,Ve.length).getClientRects();if($e.length>1){var It=vs(Ve),ut=0;It.forEach(function(Lt){Qe.push(new Wo(Lt,m.fromDOMRectList(a,qa(D,ut+We,Lt.length).getClientRects()))),ut+=Lt.length})}else Qe.push(new Wo(Ve,m.fromDOMRectList(a,$e)))}else{var lt=D.splitText(Ve.length);Qe.push(new Wo(Ve,ss(a,D))),D=lt}else Bn.SUPPORT_RANGE_BOUNDS||(D=D.splitText(Ve.length));We+=Ve.length}),Qe},ss=function(a,s){var b=s.ownerDocument;if(b){var D=b.createElement("html2canvaswrapper");D.appendChild(s.cloneNode(!0));var Ce=s.parentNode;if(Ce){Ce.replaceChild(D,s);var Qe=v(a,D);return D.firstChild&&Ce.replaceChild(D.firstChild,D),Qe}}return m.EMPTY},qa=function(a,s,b){var D=a.ownerDocument;if(!D)throw new Error("Node has no owner document");var Ce=D.createRange();return Ce.setStart(a,s),Ce.setEnd(a,s+b),Ce},vs=function(a){if(Bn.SUPPORT_NATIVE_TEXT_SEGMENTATION){var s=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(s.segment(a)).map(function(b){return b.segment})}return go(a)},Ls=function(a,s){if(Bn.SUPPORT_NATIVE_TEXT_SEGMENTATION){var b=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(b.segment(a)).map(function(D){return D.segment})}return hs(a,s)},Ys=function(a,s){return s.letterSpacing!==0?vs(a):Ls(a,s)},js=[32,160,4961,65792,65793,4153,4241],hs=function(a,s){for(var b=vr(a,{lineBreak:s.lineBreak,wordBreak:s.overflowWrap==="break-word"?"break-word":s.wordBreak}),D=[],Ce,Qe=function(){if(Ce.value){var We=Ce.value.slice(),Ve=ee(We),$e="";Ve.forEach(function(It){js.indexOf(It)===-1?$e+=W(It):($e.length&&D.push($e),D.push(W(It)),$e="")}),$e.length&&D.push($e)}};!(Ce=b.next()).done;)Qe();return D},$s=function(){function a(s,b,D){this.text=al(b.data,D.textTransform),this.textBounds=ba(s,this.text,D,b)}return a}(),al=function(a,s){switch(s){case 1:return a.toLowerCase();case 3:return a.replace(Hs,sl);case 2:return a.toUpperCase();default:return a}},Hs=/(^|\s|:|-|\(|\))([a-z])/g,sl=function(a,s,b){return a.length>0?s+b.toUpperCase():a},Ee=function(a){t(s,a);function s(b,D){var Ce=a.call(this,b,D)||this;return Ce.src=D.currentSrc||D.src,Ce.intrinsicWidth=D.naturalWidth,Ce.intrinsicHeight=D.naturalHeight,Ce.context.cache.addImage(Ce.src),Ce}return s}(Tn),ct=function(a){t(s,a);function s(b,D){var Ce=a.call(this,b,D)||this;return Ce.canvas=D,Ce.intrinsicWidth=D.width,Ce.intrinsicHeight=D.height,Ce}return s}(Tn),ur=function(a){t(s,a);function s(b,D){var Ce=a.call(this,b,D)||this,Qe=new XMLSerializer,We=v(b,D);return D.setAttribute("width",We.width+"px"),D.setAttribute("height",We.height+"px"),Ce.svg="data:image/svg+xml,"+encodeURIComponent(Qe.serializeToString(D)),Ce.intrinsicWidth=D.width.baseVal.value,Ce.intrinsicHeight=D.height.baseVal.value,Ce.context.cache.addImage(Ce.svg),Ce}return s}(Tn),Mr=function(a){t(s,a);function s(b,D){var Ce=a.call(this,b,D)||this;return Ce.value=D.value,Ce}return s}(Tn),en=function(a){t(s,a);function s(b,D){var Ce=a.call(this,b,D)||this;return Ce.start=D.start,Ce.reversed=typeof D.reversed=="boolean"&&D.reversed===!0,Ce}return s}(Tn),bn=[{type:15,flags:0,unit:"px",number:3}],ei=[{type:16,flags:0,number:50}],Ii=function(a){return a.width>a.height?new m(a.left+(a.width-a.height)/2,a.top,a.height,a.height):a.width<a.height?new m(a.left,a.top+(a.height-a.width)/2,a.width,a.width):a},yo=function(a){var s=a.type===sa?new Array(a.value.length+1).join("\u2022"):a.value;return s.length===0?a.placeholder||"":s},Io="checkbox",Ho="radio",sa="password",es=707406591,ts=function(a){t(s,a);function s(b,D){var Ce=a.call(this,b,D)||this;switch(Ce.type=D.type.toLowerCase(),Ce.checked=D.checked,Ce.value=yo(D),(Ce.type===Io||Ce.type===Ho)&&(Ce.styles.backgroundColor=3739148031,Ce.styles.borderTopColor=Ce.styles.borderRightColor=Ce.styles.borderBottomColor=Ce.styles.borderLeftColor=2779096575,Ce.styles.borderTopWidth=Ce.styles.borderRightWidth=Ce.styles.borderBottomWidth=Ce.styles.borderLeftWidth=1,Ce.styles.borderTopStyle=Ce.styles.borderRightStyle=Ce.styles.borderBottomStyle=Ce.styles.borderLeftStyle=1,Ce.styles.backgroundClip=[0],Ce.styles.backgroundOrigin=[0],Ce.bounds=Ii(Ce.bounds)),Ce.type){case Io:Ce.styles.borderTopRightRadius=Ce.styles.borderTopLeftRadius=Ce.styles.borderBottomRightRadius=Ce.styles.borderBottomLeftRadius=bn;break;case Ho:Ce.styles.borderTopRightRadius=Ce.styles.borderTopLeftRadius=Ce.styles.borderBottomRightRadius=Ce.styles.borderBottomLeftRadius=ei;break}return Ce}return s}(Tn),As=function(a){t(s,a);function s(b,D){var Ce=a.call(this,b,D)||this,Qe=D.options[D.selectedIndex||0];return Ce.value=Qe&&Qe.text||"",Ce}return s}(Tn),Is=function(a){t(s,a);function s(b,D){var Ce=a.call(this,b,D)||this;return Ce.value=D.value,Ce}return s}(Tn),ys=function(a){t(s,a);function s(b,D){var Ce=a.call(this,b,D)||this;Ce.src=D.src,Ce.width=parseInt(D.width,10)||0,Ce.height=parseInt(D.height,10)||0,Ce.backgroundColor=Ce.styles.backgroundColor;try{if(D.contentWindow&&D.contentWindow.document&&D.contentWindow.document.documentElement){Ce.tree=iu(b,D.contentWindow.document.documentElement);var Qe=D.contentWindow.document.documentElement?Us(b,getComputedStyle(D.contentWindow.document.documentElement).backgroundColor):Uo.TRANSPARENT,We=D.contentWindow.document.body?Us(b,getComputedStyle(D.contentWindow.document.body).backgroundColor):Uo.TRANSPARENT;Ce.backgroundColor=ln(Qe)?ln(We)?Ce.styles.backgroundColor:We:Qe}}catch(Ve){}return Ce}return s}(Tn),cl=["OL","UL","MENU"],Zs=function(a,s,b,D){for(var Ce=s.firstChild,Qe=void 0;Ce;Ce=Qe)if(Qe=Ce.nextSibling,hu(Ce)&&Ce.data.trim().length>0)b.textNodes.push(new $s(a,Ce,b.styles));else if(xl(Ce))if(vl(Ce)&&Ce.assignedNodes)Ce.assignedNodes().forEach(function(Ve){return Zs(a,Ve,b,D)});else{var We=Fs(a,Ce);We.styles.isVisible()&&(Jl(Ce,We,D)?We.flags|=4:Du(We.styles)&&(We.flags|=2),cl.indexOf(Ce.tagName)!==-1&&(We.flags|=8),b.elements.push(We),Ce.slot,Ce.shadowRoot?Zs(a,Ce.shadowRoot,We,D):!Bu(Ce)&&!xu(Ce)&&!kl(Ce)&&Zs(a,Ce,We,D))}},Fs=function(a,s){return Lu(s)?new Ee(a,s):Wu(s)?new ct(a,s):xu(s)?new ur(a,s):Al(s)?new Mr(a,s):pu(s)?new en(a,s):Mu(s)?new ts(a,s):kl(s)?new As(a,s):Bu(s)?new Is(a,s):Pl(s)?new ys(a,s):new Tn(a,s)},iu=function(a,s){var b=Fs(a,s);return b.flags|=4,Zs(a,s,b,b),b},Jl=function(a,s,b){return s.styles.isPositionedWithZIndex()||s.styles.opacity<1||s.styles.isTransformed()||dl(a)&&b.styles.isTransparent()},Du=function(a){return a.isPositioned()||a.isFloating()},hu=function(a){return a.nodeType===Node.TEXT_NODE},xl=function(a){return a.nodeType===Node.ELEMENT_NODE},wu=function(a){return xl(a)&&typeof a.style!="undefined"&&!ou(a)},ou=function(a){return typeof a.className=="object"},Al=function(a){return a.tagName==="LI"},pu=function(a){return a.tagName==="OL"},Mu=function(a){return a.tagName==="INPUT"},Cu=function(a){return a.tagName==="HTML"},xu=function(a){return a.tagName==="svg"},dl=function(a){return a.tagName==="BODY"},Wu=function(a){return a.tagName==="CANVAS"},Tu=function(a){return a.tagName==="VIDEO"},Lu=function(a){return a.tagName==="IMG"},Pl=function(a){return a.tagName==="IFRAME"},bu=function(a){return a.tagName==="STYLE"},Vu=function(a){return a.tagName==="SCRIPT"},Bu=function(a){return a.tagName==="TEXTAREA"},kl=function(a){return a.tagName==="SELECT"},vl=function(a){return a.tagName==="SLOT"},bl=function(a){return a.tagName.indexOf("-")>0},au=function(){function a(){this.counters={}}return a.prototype.getCounterValue=function(s){var b=this.counters[s];return b&&b.length?b[b.length-1]:1},a.prototype.getCounterValues=function(s){var b=this.counters[s];return b||[]},a.prototype.pop=function(s){var b=this;s.forEach(function(D){return b.counters[D].pop()})},a.prototype.parse=function(s){var b=this,D=s.counterIncrement,Ce=s.counterReset,Qe=!0;D!==null&&D.forEach(function(Ve){var $e=b.counters[Ve.counter];$e&&Ve.increment!==0&&(Qe=!1,$e.length||$e.push(1),$e[Math.max(0,$e.length-1)]+=Ve.increment)});var We=[];return Qe&&Ce.forEach(function(Ve){var $e=b.counters[Ve.counter];We.push(Ve.counter),$e||($e=b.counters[Ve.counter]=[]),$e.push(Ve.reset)}),We},a}(),Ol={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Wl={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},Iu={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},zl={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},Bl=function(a,s,b,D,Ce,Qe){return a<s||a>b?Ha(a,Ce,Qe.length>0):D.integers.reduce(function(We,Ve,$e){for(;a>=Ve;)a-=Ve,We+=D.values[$e];return We},"")+Qe},gu=function(a,s,b,D){var Ce="";do b||a--,Ce=D(a)+Ce,a/=s;while(a*s>=s);return Ce},oo=function(a,s,b,D,Ce){var Qe=b-s+1;return(a<0?"-":"")+(gu(Math.abs(a),Qe,D,function(We){return W(Math.floor(We%Qe)+s)})+Ce)},za=function(a,s,b){b===void 0&&(b=". ");var D=s.length;return gu(Math.abs(a),D,!1,function(Ce){return s[Math.floor(Ce%D)]})+b},Qa=1<<0,$a=1<<1,Xs=1<<2,Dl=1<<3,ja=function(a,s,b,D,Ce,Qe){if(a<-9999||a>9999)return Ha(a,4,Ce.length>0);var We=Math.abs(a),Ve=Ce;if(We===0)return s[0]+Ve;for(var $e=0;We>0&&$e<=4;$e++){var It=We%10;It===0&&Na(Qe,Qa)&&Ve!==""?Ve=s[It]+Ve:It>1||It===1&&$e===0||It===1&&$e===1&&Na(Qe,$a)||It===1&&$e===1&&Na(Qe,Xs)&&a>100||It===1&&$e>1&&Na(Qe,Dl)?Ve=s[It]+($e>0?b[$e-1]:"")+Ve:It===1&&$e>0&&(Ve=b[$e-1]+Ve),We=Math.floor(We/10)}return(a<0?D:"")+Ve},su="\u5341\u767E\u5343\u842C",tl="\u62FE\u4F70\u4EDF\u842C",Sl="\u30DE\u30A4\u30CA\u30B9",Ua="\uB9C8\uC774\uB108\uC2A4",Ha=function(a,s,b){var D=b?". ":"",Ce=b?"\u3001":"",Qe=b?", ":"",We=b?" ":"";switch(s){case 0:return"\u2022"+We;case 1:return"\u25E6"+We;case 2:return"\u25FE"+We;case 5:var Ve=oo(a,48,57,!0,D);return Ve.length<4?"0"+Ve:Ve;case 4:return za(a,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Ce);case 6:return Bl(a,1,3999,Ol,3,D).toLowerCase();case 7:return Bl(a,1,3999,Ol,3,D);case 8:return oo(a,945,969,!1,D);case 9:return oo(a,97,122,!1,D);case 10:return oo(a,65,90,!1,D);case 11:return oo(a,1632,1641,!0,D);case 12:case 49:return Bl(a,1,9999,Wl,3,D);case 35:return Bl(a,1,9999,Wl,3,D).toLowerCase();case 13:return oo(a,2534,2543,!0,D);case 14:case 30:return oo(a,6112,6121,!0,D);case 15:return za(a,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",Ce);case 16:return za(a,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",Ce);case 17:case 48:return ja(a,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",su,"\u8CA0",Ce,$a|Xs|Dl);case 47:return ja(a,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",tl,"\u8CA0",Ce,Qa|$a|Xs|Dl);case 42:return ja(a,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",su,"\u8D1F",Ce,$a|Xs|Dl);case 41:return ja(a,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",tl,"\u8D1F",Ce,Qa|$a|Xs|Dl);case 26:return ja(a,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",Sl,Ce,0);case 25:return ja(a,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",Sl,Ce,Qa|$a|Xs);case 31:return ja(a,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",Ua,Qe,Qa|$a|Xs);case 33:return ja(a,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",Ua,Qe,0);case 32:return ja(a,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",Ua,Qe,Qa|$a|Xs);case 18:return oo(a,2406,2415,!0,D);case 20:return Bl(a,1,19999,zl,3,D);case 21:return oo(a,2790,2799,!0,D);case 22:return oo(a,2662,2671,!0,D);case 22:return Bl(a,1,10999,Iu,3,D);case 23:return za(a,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return za(a,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return oo(a,3302,3311,!0,D);case 28:return za(a,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",Ce);case 29:return za(a,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",Ce);case 34:return oo(a,3792,3801,!0,D);case 37:return oo(a,6160,6169,!0,D);case 38:return oo(a,4160,4169,!0,D);case 39:return oo(a,2918,2927,!0,D);case 40:return oo(a,1776,1785,!0,D);case 43:return oo(a,3046,3055,!0,D);case 44:return oo(a,3174,3183,!0,D);case 45:return oo(a,3664,3673,!0,D);case 46:return oo(a,3872,3881,!0,D);case 3:default:return oo(a,48,57,!0,D)}},ps="data-html2canvas-ignore",Ps=function(){function a(s,b,D){if(this.context=s,this.options=D,this.scrolledElements=[],this.referenceElement=b,this.counters=new au,this.quoteDepth=0,!b.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(b.ownerDocument.documentElement,!1)}return a.prototype.toIFrame=function(s,b){var D=this,Ce=Ml(s,b);if(!Ce.contentWindow)return Promise.reject("Unable to find iframe window");var Qe=s.defaultView.pageXOffset,We=s.defaultView.pageYOffset,Ve=Ce.contentWindow,$e=Ve.document,It=Gu(Ce).then(function(){return f(D,void 0,void 0,function(){var ut,lt;return l(this,function(Lt){switch(Lt.label){case 0:return this.scrolledElements.forEach(pc),Ve&&(Ve.scrollTo(b.left,b.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(Ve.scrollY!==b.top||Ve.scrollX!==b.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(Ve.scrollX-b.left,Ve.scrollY-b.top,0,0))),ut=this.options.onclone,lt=this.clonedReferenceElement,typeof lt=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:$e.fonts&&$e.fonts.ready?[4,$e.fonts.ready]:[3,2];case 1:Lt.sent(),Lt.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Su($e)]:[3,4];case 3:Lt.sent(),Lt.label=4;case 4:return typeof ut=="function"?[2,Promise.resolve().then(function(){return ut($e,lt)}).then(function(){return Ce})]:[2,Ce]}})})});return $e.open(),$e.write(nc(document.doctype)+"<html></html>"),ic(this.referenceElement.ownerDocument,Qe,We),$e.replaceChild($e.adoptNode(this.documentElement),$e.documentElement),$e.close(),It},a.prototype.createElementClone=function(s){if(hr(s,2))debugger;if(Wu(s))return this.createCanvasClone(s);if(Tu(s))return this.createVideoClone(s);if(bu(s))return this.createStyleClone(s);var b=s.cloneNode(!1);return Lu(b)&&(Lu(s)&&s.currentSrc&&s.currentSrc!==s.src&&(b.src=s.currentSrc,b.srcset=""),b.loading==="lazy"&&(b.loading="eager")),bl(b)?this.createCustomElementClone(b):b},a.prototype.createCustomElementClone=function(s){var b=document.createElement("html2canvascustomelement");return Vl(s.style,b),b},a.prototype.createStyleClone=function(s){try{var b=s.sheet;if(b&&b.cssRules){var D=[].slice.call(b.cssRules,0).reduce(function(Qe,We){return We&&typeof We.cssText=="string"?Qe+We.cssText:Qe},""),Ce=s.cloneNode(!1);return Ce.textContent=D,Ce}}catch(Qe){if(this.context.logger.error("Unable to access cssRules property",Qe),Qe.name!=="SecurityError")throw Qe}return s.cloneNode(!1)},a.prototype.createCanvasClone=function(s){var b;if(this.options.inlineImages&&s.ownerDocument){var D=s.ownerDocument.createElement("img");try{return D.src=s.toDataURL(),D}catch(It){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",s)}}var Ce=s.cloneNode(!1);try{Ce.width=s.width,Ce.height=s.height;var Qe=s.getContext("2d"),We=Ce.getContext("2d");if(We)if(!this.options.allowTaint&&Qe)We.putImageData(Qe.getImageData(0,0,s.width,s.height),0,0);else{var Ve=(b=s.getContext("webgl2"))!==null&&b!==void 0?b:s.getContext("webgl");if(Ve){var $e=Ve.getContextAttributes();($e==null?void 0:$e.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",s)}We.drawImage(s,0,0)}return Ce}catch(It){this.context.logger.info("Unable to clone canvas as it is tainted",s)}return Ce},a.prototype.createVideoClone=function(s){var b=s.ownerDocument.createElement("canvas");b.width=s.offsetWidth,b.height=s.offsetHeight;var D=b.getContext("2d");try{return D&&(D.drawImage(s,0,0,b.width,b.height),this.options.allowTaint||D.getImageData(0,0,b.width,b.height)),b}catch(Qe){this.context.logger.info("Unable to clone video as it is tainted",s)}var Ce=s.ownerDocument.createElement("canvas");return Ce.width=s.offsetWidth,Ce.height=s.offsetHeight,Ce},a.prototype.appendChildNode=function(s,b,D){(!xl(b)||!Vu(b)&&!b.hasAttribute(ps)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(b)))&&(!this.options.copyStyles||!xl(b)||!bu(b))&&s.appendChild(this.cloneNode(b,D))},a.prototype.cloneChildNodes=function(s,b,D){for(var Ce=this,Qe=s.shadowRoot?s.shadowRoot.firstChild:s.firstChild;Qe;Qe=Qe.nextSibling)if(xl(Qe)&&vl(Qe)&&typeof Qe.assignedNodes=="function"){var We=Qe.assignedNodes();We.length&&We.forEach(function(Ve){return Ce.appendChildNode(b,Ve,D)})}else this.appendChildNode(b,Qe,D)},a.prototype.cloneNode=function(s,b){if(hu(s))return document.createTextNode(s.data);if(!s.ownerDocument)return s.cloneNode(!1);var D=s.ownerDocument.defaultView;if(D&&xl(s)&&(wu(s)||ou(s))){var Ce=this.createElementClone(s);Ce.style.transitionProperty="none";var Qe=D.getComputedStyle(s),We=D.getComputedStyle(s,":before"),Ve=D.getComputedStyle(s,":after");this.referenceElement===s&&wu(Ce)&&(this.clonedReferenceElement=Ce),dl(Ce)&&uu(Ce);var $e=this.counters.parse(new bt(this.context,Qe)),It=this.resolvePseudoContent(s,Ce,We,yl.BEFORE);bl(s)&&(b=!0),Tu(s)||this.cloneChildNodes(s,Ce,b),It&&Ce.insertBefore(It,Ce.firstChild);var ut=this.resolvePseudoContent(s,Ce,Ve,yl.AFTER);return ut&&Ce.appendChild(ut),this.counters.pop($e),(Qe&&(this.options.copyStyles||ou(s))&&!Pl(s)||b)&&Vl(Qe,Ce),(s.scrollTop!==0||s.scrollLeft!==0)&&this.scrolledElements.push([Ce,s.scrollLeft,s.scrollTop]),(Bu(s)||kl(s))&&(Bu(Ce)||kl(Ce))&&(Ce.value=s.value),Ce}return s.cloneNode(!1)},a.prototype.resolvePseudoContent=function(s,b,D,Ce){var Qe=this;if(D){var We=D.content,Ve=b.ownerDocument;if(!(!Ve||!We||We==="none"||We==="-moz-alt-content"||D.display==="none")){this.counters.parse(new bt(this.context,D));var $e=new nt(this.context,D),It=Ve.createElement("html2canvaspseudoelement");Vl(D,It),$e.content.forEach(function(lt){if(lt.type===0)It.appendChild(Ve.createTextNode(lt.value));else if(lt.type===22){var Lt=Ve.createElement("img");Lt.src=lt.value,Lt.style.opacity="1",It.appendChild(Lt)}else if(lt.type===18){if(lt.name==="attr"){var wr=lt.values.filter(qo);wr.length&&It.appendChild(Ve.createTextNode(s.getAttribute(wr[0].value)||""))}else if(lt.name==="counter"){var Sr=lt.values.filter(ks),$r=Sr[0],Nn=Sr[1];if($r&&qo($r)){var Hn=Qe.counters.getCounterValue($r.value),Qn=Nn&&qo(Nn)?eo.parse(Qe.context,Nn.value):3;It.appendChild(Ve.createTextNode(Ha(Hn,Qn,!1)))}}else if(lt.name==="counters"){var ui=lt.values.filter(ks),$r=ui[0],po=ui[1],Nn=ui[2];if($r&&qo($r)){var Ao=Qe.counters.getCounterValues($r.value),ii=Nn&&qo(Nn)?eo.parse(Qe.context,Nn.value):3,na=po&&po.type===0?po.value:"",ma=Ao.map(function(Ea){return Ha(Ea,ii,!1)}).join(na);It.appendChild(Ve.createTextNode(ma))}}}else if(lt.type===20)switch(lt.value){case"open-quote":It.appendChild(Ve.createTextNode(Rl($e.quotes,Qe.quoteDepth++,!0)));break;case"close-quote":It.appendChild(Ve.createTextNode(Rl($e.quotes,--Qe.quoteDepth,!1)));break;default:It.appendChild(Ve.createTextNode(lt.value))}}),It.className=fl+" "+Tl;var ut=Ce===yl.BEFORE?" "+fl:" "+Tl;return ou(b)?b.className.baseValue+=ut:b.className+=ut,It}}},a.destroy=function(s){return s.parentNode?(s.parentNode.removeChild(s),!0):!1},a}(),yl;(function(a){a[a.BEFORE=0]="BEFORE",a[a.AFTER=1]="AFTER"})(yl||(yl={}));var Ml=function(a,s){var b=a.createElement("iframe");return b.className="html2canvas-container",b.style.visibility="hidden",b.style.position="fixed",b.style.left="-10000px",b.style.top="0px",b.style.border="0",b.width=s.width.toString(),b.height=s.height.toString(),b.scrolling="no",b.setAttribute(ps,"true"),a.body.appendChild(b),b},fo=function(a){return new Promise(function(s){if(a.complete){s();return}if(!a.src){s();return}a.onload=s,a.onerror=s})},Su=function(a){return Promise.all([].slice.call(a.images,0).map(fo))},Gu=function(a){return new Promise(function(s,b){var D=a.contentWindow;if(!D)return b("No window assigned for iframe");var Ce=D.document;D.onload=a.onload=function(){D.onload=a.onload=null;var Qe=setInterval(function(){Ce.body.childNodes.length>0&&Ce.readyState==="complete"&&(clearInterval(Qe),s(a))},50)}})},Kl=["all","d","content"],Vl=function(a,s){for(var b=a.length-1;b>=0;b--){var D=a.item(b);Kl.indexOf(D)===-1&&s.style.setProperty(D,a.getPropertyValue(D))}return s},nc=function(a){var s="";return a&&(s+="<!DOCTYPE ",a.name&&(s+=a.name),a.internalSubset&&(s+=a.internalSubset),a.publicId&&(s+='"'+a.publicId+'"'),a.systemId&&(s+='"'+a.systemId+'"'),s+=">"),s},ic=function(a,s,b){a&&a.defaultView&&(s!==a.defaultView.pageXOffset||b!==a.defaultView.pageYOffset)&&a.defaultView.scrollTo(s,b)},pc=function(a){var s=a[0],b=a[1],D=a[2];s.scrollLeft=b,s.scrollTop=D},lc=":before",lu=":after",fl="___html2canvas___pseudoelement_before",Tl="___html2canvas___pseudoelement_after",zu=`{
    content: "" !important;
    display: none !important;
}`,uu=function(a){uc(a,"."+fl+lc+zu+`
         .`+Tl+lu+zu)},uc=function(a,s){var b=a.ownerDocument;if(b){var D=b.createElement("style");D.textContent=s,a.appendChild(D)}},Fu=function(){function a(){}return a.getOrigin=function(s){var b=a._link;return b?(b.href=s,b.href=b.href,b.protocol+b.hostname+b.port):"about:blank"},a.isSameOrigin=function(s){return a.getOrigin(s)===a._origin},a.setContext=function(s){a._link=s.document.createElement("a"),a._origin=a.getOrigin(s.location.href)},a._origin="about:blank",a}(),Yu=function(){function a(s,b){this.context=s,this._options=b,this._cache={}}return a.prototype.addImage=function(s){var b=Promise.resolve();return this.has(s)||(Ku(s)||oc(s))&&(this._cache[s]=this.loadImage(s)).catch(function(){}),b},a.prototype.match=function(s){return this._cache[s]},a.prototype.loadImage=function(s){return f(this,void 0,void 0,function(){var b,D,Ce,Qe,We=this;return l(this,function(Ve){switch(Ve.label){case 0:return b=Fu.isSameOrigin(s),D=!_l(s)&&this._options.useCORS===!0&&Bn.SUPPORT_CORS_IMAGES&&!b,Ce=!_l(s)&&!b&&!Ku(s)&&typeof this._options.proxy=="string"&&Bn.SUPPORT_CORS_XHR&&!D,!b&&this._options.allowTaint===!1&&!_l(s)&&!Ku(s)&&!Ce&&!D?[2]:(Qe=s,Ce?[4,this.proxy(Qe)]:[3,2]);case 1:Qe=Ve.sent(),Ve.label=2;case 2:return this.context.logger.debug("Added image "+s.substring(0,256)),[4,new Promise(function($e,It){var ut=new Image;ut.onload=function(){return $e(ut)},ut.onerror=It,(gc(Qe)||D)&&(ut.crossOrigin="anonymous"),ut.src=Qe,ut.complete===!0&&setTimeout(function(){return $e(ut)},500),We._options.imageTimeout>0&&setTimeout(function(){return It("Timed out ("+We._options.imageTimeout+"ms) loading image")},We._options.imageTimeout)})];case 3:return[2,Ve.sent()]}})})},a.prototype.has=function(s){return typeof this._cache[s]!="undefined"},a.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},a.prototype.proxy=function(s){var b=this,D=this._options.proxy;if(!D)throw new Error("No proxy defined");var Ce=s.substring(0,256);return new Promise(function(Qe,We){var Ve=Bn.SUPPORT_RESPONSE_TYPE?"blob":"text",$e=new XMLHttpRequest;$e.onload=function(){if($e.status===200)if(Ve==="text")Qe($e.response);else{var lt=new FileReader;lt.addEventListener("load",function(){return Qe(lt.result)},!1),lt.addEventListener("error",function(Lt){return We(Lt)},!1),lt.readAsDataURL($e.response)}else We("Failed to proxy resource "+Ce+" with status code "+$e.status)},$e.onerror=We;var It=D.indexOf("?")>-1?"&":"?";if($e.open("GET",""+D+It+"url="+encodeURIComponent(s)+"&responseType="+Ve),Ve!=="text"&&$e instanceof XMLHttpRequest&&($e.responseType=Ve),b._options.imageTimeout){var ut=b._options.imageTimeout;$e.timeout=ut,$e.ontimeout=function(){return We("Timed out ("+ut+"ms) proxying "+Ce)}}$e.send()})},a}(),Ul=/^data:image\/svg\+xml/i,Ru=/^data:image\/.*;base64,/i,_u=/^data:image\/.*/i,oc=function(a){return Bn.SUPPORT_SVG_DRAWING||!Pc(a)},_l=function(a){return _u.test(a)},gc=function(a){return Ru.test(a)},Ku=function(a){return a.substr(0,4)==="blob"},Pc=function(a){return a.substr(-3).toLowerCase()==="svg"||Ul.test(a)},ho=function(){function a(s,b){this.type=0,this.x=s,this.y=b}return a.prototype.add=function(s,b){return new a(this.x+s,this.y+b)},a}(),$u=function(a,s,b){return new ho(a.x+(s.x-a.x)*b,a.y+(s.y-a.y)*b)},cc=function(){function a(s,b,D,Ce){this.type=1,this.start=s,this.startControl=b,this.endControl=D,this.end=Ce}return a.prototype.subdivide=function(s,b){var D=$u(this.start,this.startControl,s),Ce=$u(this.startControl,this.endControl,s),Qe=$u(this.endControl,this.end,s),We=$u(D,Ce,s),Ve=$u(Ce,Qe,s),$e=$u(We,Ve,s);return b?new a(this.start,D,We,$e):new a($e,Ve,Qe,this.end)},a.prototype.add=function(s,b){return new a(this.start.add(s,b),this.startControl.add(s,b),this.endControl.add(s,b),this.end.add(s,b))},a.prototype.reverse=function(){return new a(this.end,this.endControl,this.startControl,this.start)},a}(),Nl=function(a){return a.type===1},Oc=function(){function a(s){var b=s.styles,D=s.bounds,Ce=ul(b.borderTopLeftRadius,D.width,D.height),Qe=Ce[0],We=Ce[1],Ve=ul(b.borderTopRightRadius,D.width,D.height),$e=Ve[0],It=Ve[1],ut=ul(b.borderBottomRightRadius,D.width,D.height),lt=ut[0],Lt=ut[1],wr=ul(b.borderBottomLeftRadius,D.width,D.height),Sr=wr[0],$r=wr[1],Nn=[];Nn.push((Qe+$e)/D.width),Nn.push((Sr+lt)/D.width),Nn.push((We+$r)/D.height),Nn.push((It+Lt)/D.height);var Hn=Math.max.apply(Math,Nn);Hn>1&&(Qe/=Hn,We/=Hn,$e/=Hn,It/=Hn,lt/=Hn,Lt/=Hn,Sr/=Hn,$r/=Hn);var Qn=D.width-$e,ui=D.height-Lt,po=D.width-lt,Ao=D.height-$r,ii=b.borderTopWidth,na=b.borderRightWidth,ma=b.borderBottomWidth,Fo=b.borderLeftWidth,rs=Po(b.paddingTop,s.bounds.width),Ea=Po(b.paddingRight,s.bounds.width),Ws=Po(b.paddingBottom,s.bounds.width),Fa=Po(b.paddingLeft,s.bounds.width);this.topLeftBorderDoubleOuterBox=Qe>0||We>0?gs(D.left+Fo/3,D.top+ii/3,Qe-Fo/3,We-ii/3,Za.TOP_LEFT):new ho(D.left+Fo/3,D.top+ii/3),this.topRightBorderDoubleOuterBox=Qe>0||We>0?gs(D.left+Qn,D.top+ii/3,$e-na/3,It-ii/3,Za.TOP_RIGHT):new ho(D.left+D.width-na/3,D.top+ii/3),this.bottomRightBorderDoubleOuterBox=lt>0||Lt>0?gs(D.left+po,D.top+ui,lt-na/3,Lt-ma/3,Za.BOTTOM_RIGHT):new ho(D.left+D.width-na/3,D.top+D.height-ma/3),this.bottomLeftBorderDoubleOuterBox=Sr>0||$r>0?gs(D.left+Fo/3,D.top+Ao,Sr-Fo/3,$r-ma/3,Za.BOTTOM_LEFT):new ho(D.left+Fo/3,D.top+D.height-ma/3),this.topLeftBorderDoubleInnerBox=Qe>0||We>0?gs(D.left+Fo*2/3,D.top+ii*2/3,Qe-Fo*2/3,We-ii*2/3,Za.TOP_LEFT):new ho(D.left+Fo*2/3,D.top+ii*2/3),this.topRightBorderDoubleInnerBox=Qe>0||We>0?gs(D.left+Qn,D.top+ii*2/3,$e-na*2/3,It-ii*2/3,Za.TOP_RIGHT):new ho(D.left+D.width-na*2/3,D.top+ii*2/3),this.bottomRightBorderDoubleInnerBox=lt>0||Lt>0?gs(D.left+po,D.top+ui,lt-na*2/3,Lt-ma*2/3,Za.BOTTOM_RIGHT):new ho(D.left+D.width-na*2/3,D.top+D.height-ma*2/3),this.bottomLeftBorderDoubleInnerBox=Sr>0||$r>0?gs(D.left+Fo*2/3,D.top+Ao,Sr-Fo*2/3,$r-ma*2/3,Za.BOTTOM_LEFT):new ho(D.left+Fo*2/3,D.top+D.height-ma*2/3),this.topLeftBorderStroke=Qe>0||We>0?gs(D.left+Fo/2,D.top+ii/2,Qe-Fo/2,We-ii/2,Za.TOP_LEFT):new ho(D.left+Fo/2,D.top+ii/2),this.topRightBorderStroke=Qe>0||We>0?gs(D.left+Qn,D.top+ii/2,$e-na/2,It-ii/2,Za.TOP_RIGHT):new ho(D.left+D.width-na/2,D.top+ii/2),this.bottomRightBorderStroke=lt>0||Lt>0?gs(D.left+po,D.top+ui,lt-na/2,Lt-ma/2,Za.BOTTOM_RIGHT):new ho(D.left+D.width-na/2,D.top+D.height-ma/2),this.bottomLeftBorderStroke=Sr>0||$r>0?gs(D.left+Fo/2,D.top+Ao,Sr-Fo/2,$r-ma/2,Za.BOTTOM_LEFT):new ho(D.left+Fo/2,D.top+D.height-ma/2),this.topLeftBorderBox=Qe>0||We>0?gs(D.left,D.top,Qe,We,Za.TOP_LEFT):new ho(D.left,D.top),this.topRightBorderBox=$e>0||It>0?gs(D.left+Qn,D.top,$e,It,Za.TOP_RIGHT):new ho(D.left+D.width,D.top),this.bottomRightBorderBox=lt>0||Lt>0?gs(D.left+po,D.top+ui,lt,Lt,Za.BOTTOM_RIGHT):new ho(D.left+D.width,D.top+D.height),this.bottomLeftBorderBox=Sr>0||$r>0?gs(D.left,D.top+Ao,Sr,$r,Za.BOTTOM_LEFT):new ho(D.left,D.top+D.height),this.topLeftPaddingBox=Qe>0||We>0?gs(D.left+Fo,D.top+ii,Math.max(0,Qe-Fo),Math.max(0,We-ii),Za.TOP_LEFT):new ho(D.left+Fo,D.top+ii),this.topRightPaddingBox=$e>0||It>0?gs(D.left+Math.min(Qn,D.width-na),D.top+ii,Qn>D.width+na?0:Math.max(0,$e-na),Math.max(0,It-ii),Za.TOP_RIGHT):new ho(D.left+D.width-na,D.top+ii),this.bottomRightPaddingBox=lt>0||Lt>0?gs(D.left+Math.min(po,D.width-Fo),D.top+Math.min(ui,D.height-ma),Math.max(0,lt-na),Math.max(0,Lt-ma),Za.BOTTOM_RIGHT):new ho(D.left+D.width-na,D.top+D.height-ma),this.bottomLeftPaddingBox=Sr>0||$r>0?gs(D.left+Fo,D.top+Math.min(Ao,D.height-ma),Math.max(0,Sr-Fo),Math.max(0,$r-ma),Za.BOTTOM_LEFT):new ho(D.left+Fo,D.top+D.height-ma),this.topLeftContentBox=Qe>0||We>0?gs(D.left+Fo+Fa,D.top+ii+rs,Math.max(0,Qe-(Fo+Fa)),Math.max(0,We-(ii+rs)),Za.TOP_LEFT):new ho(D.left+Fo+Fa,D.top+ii+rs),this.topRightContentBox=$e>0||It>0?gs(D.left+Math.min(Qn,D.width+Fo+Fa),D.top+ii+rs,Qn>D.width+Fo+Fa?0:$e-Fo+Fa,It-(ii+rs),Za.TOP_RIGHT):new ho(D.left+D.width-(na+Ea),D.top+ii+rs),this.bottomRightContentBox=lt>0||Lt>0?gs(D.left+Math.min(po,D.width-(Fo+Fa)),D.top+Math.min(ui,D.height+ii+rs),Math.max(0,lt-(na+Ea)),Lt-(ma+Ws),Za.BOTTOM_RIGHT):new ho(D.left+D.width-(na+Ea),D.top+D.height-(ma+Ws)),this.bottomLeftContentBox=Sr>0||$r>0?gs(D.left+Fo+Fa,D.top+Ao,Math.max(0,Sr-(Fo+Fa)),$r-(ma+Ws),Za.BOTTOM_LEFT):new ho(D.left+Fo+Fa,D.top+D.height-(ma+Ws))}return a}(),Za;(function(a){a[a.TOP_LEFT=0]="TOP_LEFT",a[a.TOP_RIGHT=1]="TOP_RIGHT",a[a.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",a[a.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Za||(Za={}));var gs=function(a,s,b,D,Ce){var Qe=4*((Math.sqrt(2)-1)/3),We=b*Qe,Ve=D*Qe,$e=a+b,It=s+D;switch(Ce){case Za.TOP_LEFT:return new cc(new ho(a,It),new ho(a,It-Ve),new ho($e-We,s),new ho($e,s));case Za.TOP_RIGHT:return new cc(new ho(a,s),new ho(a+We,s),new ho($e,It-Ve),new ho($e,It));case Za.BOTTOM_RIGHT:return new cc(new ho($e,s),new ho($e,s+Ve),new ho(a+We,It),new ho(a,It));case Za.BOTTOM_LEFT:default:return new cc(new ho($e,It),new ho($e-We,It),new ho(a,s+Ve),new ho(a,s))}},Xu=function(a){return[a.topLeftBorderBox,a.topRightBorderBox,a.bottomRightBorderBox,a.bottomLeftBorderBox]},ku=function(a){return[a.topLeftContentBox,a.topRightContentBox,a.bottomRightContentBox,a.bottomLeftContentBox]},mc=function(a){return[a.topLeftPaddingBox,a.topRightPaddingBox,a.bottomRightPaddingBox,a.bottomLeftPaddingBox]},Wc=function(){function a(s,b,D){this.offsetX=s,this.offsetY=b,this.matrix=D,this.type=0,this.target=6}return a}(),ac=function(){function a(s,b){this.path=s,this.target=b,this.type=1}return a}(),Mc=function(){function a(s){this.opacity=s,this.type=2,this.target=6}return a}(),Ju=function(a){return a.type===0},Tc=function(a){return a.type===1},zc=function(a){return a.type===2},Ll=function(a,s){return a.length===s.length?a.some(function(b,D){return b===s[D]}):!1},mu=function(a,s,b,D,Ce){return a.map(function(Qe,We){switch(We){case 0:return Qe.add(s,b);case 1:return Qe.add(s+D,b);case 2:return Qe.add(s+D,b+Ce);case 3:return Qe.add(s,b+Ce)}return Qe})},vu=function(){function a(s){this.element=s,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return a}(),Lc=function(){function a(s,b){if(this.container=s,this.parent=b,this.effects=[],this.curves=new Oc(this.container),this.container.styles.opacity<1&&this.effects.push(new Mc(this.container.styles.opacity)),this.container.styles.transform!==null){var D=this.container.bounds.left+this.container.styles.transformOrigin[0].number,Ce=this.container.bounds.top+this.container.styles.transformOrigin[1].number,Qe=this.container.styles.transform;this.effects.push(new Wc(D,Ce,Qe))}if(this.container.styles.overflowX!==0){var We=Xu(this.curves),Ve=mc(this.curves);Ll(We,Ve)?this.effects.push(new ac(We,6)):(this.effects.push(new ac(We,2)),this.effects.push(new ac(Ve,4)))}}return a.prototype.getEffects=function(s){for(var b=[2,3].indexOf(this.container.styles.position)===-1,D=this.parent,Ce=this.effects.slice(0);D;){var Qe=D.effects.filter(function($e){return!Tc($e)});if(b||D.container.styles.position!==0||!D.parent){if(Ce.unshift.apply(Ce,Qe),b=[2,3].indexOf(D.container.styles.position)===-1,D.container.styles.overflowX!==0){var We=Xu(D.curves),Ve=mc(D.curves);Ll(We,Ve)||Ce.unshift(new ac(Ve,6))}}else Ce.unshift.apply(Ce,Qe);D=D.parent}return Ce.filter(function($e){return Na($e.target,s)})},a}(),Ac=function(a,s,b,D){a.container.elements.forEach(function(Ce){var Qe=Na(Ce.flags,4),We=Na(Ce.flags,2),Ve=new Lc(Ce,a);Na(Ce.styles.display,2048)&&D.push(Ve);var $e=Na(Ce.flags,8)?[]:D;if(Qe||We){var It=Qe||Ce.styles.isPositioned()?b:s,ut=new vu(Ve);if(Ce.styles.isPositioned()||Ce.styles.opacity<1||Ce.styles.isTransformed()){var lt=Ce.styles.zIndex.order;if(lt<0){var Lt=0;It.negativeZIndex.some(function(Sr,$r){return lt>Sr.element.container.styles.zIndex.order?(Lt=$r,!1):Lt>0}),It.negativeZIndex.splice(Lt,0,ut)}else if(lt>0){var wr=0;It.positiveZIndex.some(function(Sr,$r){return lt>=Sr.element.container.styles.zIndex.order?(wr=$r+1,!1):wr>0}),It.positiveZIndex.splice(wr,0,ut)}else It.zeroOrAutoZIndexOrTransformedOrOpacity.push(ut)}else Ce.styles.isFloating()?It.nonPositionedFloats.push(ut):It.nonPositionedInlineLevel.push(ut);Ac(Ve,ut,Qe?ut:b,$e)}else Ce.styles.isInlineLevel()?s.inlineLevel.push(Ve):s.nonInlineLevel.push(Ve),Ac(Ve,s,b,$e);Na(Ce.flags,8)&&Il(Ce,$e)})},Il=function(a,s){for(var b=a instanceof en?a.start:1,D=a instanceof en?a.reversed:!1,Ce=0;Ce<s.length;Ce++){var Qe=s[Ce];Qe.container instanceof Mr&&typeof Qe.container.value=="number"&&Qe.container.value!==0&&(b=Qe.container.value),Qe.listValue=Ha(b,Qe.container.styles.listStyleType,!0),b+=D?-1:1}},cu=function(a){var s=new Lc(a,null),b=new vu(s),D=[];return Ac(s,b,b,D),Il(s.container,D),b},Ic=function(a,s){switch(s){case 0:return eu(a.topLeftBorderBox,a.topLeftPaddingBox,a.topRightBorderBox,a.topRightPaddingBox);case 1:return eu(a.topRightBorderBox,a.topRightPaddingBox,a.bottomRightBorderBox,a.bottomRightPaddingBox);case 2:return eu(a.bottomRightBorderBox,a.bottomRightPaddingBox,a.bottomLeftBorderBox,a.bottomLeftPaddingBox);case 3:default:return eu(a.bottomLeftBorderBox,a.bottomLeftPaddingBox,a.topLeftBorderBox,a.topLeftPaddingBox)}},Fc=function(a,s){switch(s){case 0:return eu(a.topLeftBorderBox,a.topLeftBorderDoubleOuterBox,a.topRightBorderBox,a.topRightBorderDoubleOuterBox);case 1:return eu(a.topRightBorderBox,a.topRightBorderDoubleOuterBox,a.bottomRightBorderBox,a.bottomRightBorderDoubleOuterBox);case 2:return eu(a.bottomRightBorderBox,a.bottomRightBorderDoubleOuterBox,a.bottomLeftBorderBox,a.bottomLeftBorderDoubleOuterBox);case 3:default:return eu(a.bottomLeftBorderBox,a.bottomLeftBorderDoubleOuterBox,a.topLeftBorderBox,a.topLeftBorderDoubleOuterBox)}},Rc=function(a,s){switch(s){case 0:return eu(a.topLeftBorderDoubleInnerBox,a.topLeftPaddingBox,a.topRightBorderDoubleInnerBox,a.topRightPaddingBox);case 1:return eu(a.topRightBorderDoubleInnerBox,a.topRightPaddingBox,a.bottomRightBorderDoubleInnerBox,a.bottomRightPaddingBox);case 2:return eu(a.bottomRightBorderDoubleInnerBox,a.bottomRightPaddingBox,a.bottomLeftBorderDoubleInnerBox,a.bottomLeftPaddingBox);case 3:default:return eu(a.bottomLeftBorderDoubleInnerBox,a.bottomLeftPaddingBox,a.topLeftBorderDoubleInnerBox,a.topLeftPaddingBox)}},ql=function(a,s){switch(s){case 0:return qu(a.topLeftBorderStroke,a.topRightBorderStroke);case 1:return qu(a.topRightBorderStroke,a.bottomRightBorderStroke);case 2:return qu(a.bottomRightBorderStroke,a.bottomLeftBorderStroke);case 3:default:return qu(a.bottomLeftBorderStroke,a.topLeftBorderStroke)}},qu=function(a,s){var b=[];return Nl(a)?b.push(a.subdivide(.5,!1)):b.push(a),Nl(s)?b.push(s.subdivide(.5,!0)):b.push(s),b},eu=function(a,s,b,D){var Ce=[];return Nl(a)?Ce.push(a.subdivide(.5,!1)):Ce.push(a),Nl(b)?Ce.push(b.subdivide(.5,!0)):Ce.push(b),Nl(D)?Ce.push(D.subdivide(.5,!0).reverse()):Ce.push(D),Nl(s)?Ce.push(s.subdivide(.5,!1).reverse()):Ce.push(s),Ce},Uu=function(a){var s=a.bounds,b=a.styles;return s.add(b.borderLeftWidth,b.borderTopWidth,-(b.borderRightWidth+b.borderLeftWidth),-(b.borderTopWidth+b.borderBottomWidth))},Eu=function(a){var s=a.styles,b=a.bounds,D=Po(s.paddingLeft,b.width),Ce=Po(s.paddingRight,b.width),Qe=Po(s.paddingTop,b.width),We=Po(s.paddingBottom,b.width);return b.add(D+s.borderLeftWidth,Qe+s.borderTopWidth,-(s.borderRightWidth+s.borderLeftWidth+D+Ce),-(s.borderTopWidth+s.borderBottomWidth+Qe+We))},Nu=function(a,s){return a===0?s.bounds:a===2?Eu(s):Uu(s)},ec=function(a,s){return a===0?s.bounds:a===2?Eu(s):Uu(s)},tc=function(a,s,b){var D=Nu(ju(a.styles.backgroundOrigin,s),a),Ce=ec(ju(a.styles.backgroundClip,s),a),Qe=kc(ju(a.styles.backgroundSize,s),b,D),We=Qe[0],Ve=Qe[1],$e=ul(ju(a.styles.backgroundPosition,s),D.width-We,D.height-Ve),It=Dc(ju(a.styles.backgroundRepeat,s),$e,Qe,D,Ce),ut=Math.round(D.left+$e[0]),lt=Math.round(D.top+$e[1]);return[It,ut,lt,We,Ve]},Qu=function(a){return qo(a)&&a.value===Er.AUTO},vc=function(a){return typeof a=="number"},kc=function(a,s,b){var D=s[0],Ce=s[1],Qe=s[2],We=a[0],Ve=a[1];if(!We)return[0,0];if(Ja(We)&&Ve&&Ja(Ve))return[Po(We,b.width),Po(Ve,b.height)];var $e=vc(Qe);if(qo(We)&&(We.value===Er.CONTAIN||We.value===Er.COVER)){if(vc(Qe)){var It=b.width/b.height;return It<Qe!=(We.value===Er.COVER)?[b.width,b.width/Qe]:[b.height*Qe,b.height]}return[b.width,b.height]}var ut=vc(D),lt=vc(Ce),Lt=ut||lt;if(Qu(We)&&(!Ve||Qu(Ve))){if(ut&&lt)return[D,Ce];if(!$e&&!Lt)return[b.width,b.height];if(Lt&&$e){var wr=ut?D:Ce*Qe,Sr=lt?Ce:D/Qe;return[wr,Sr]}var $r=ut?D:b.width,Nn=lt?Ce:b.height;return[$r,Nn]}if($e){var Hn=0,Qn=0;return Ja(We)?Hn=Po(We,b.width):Ja(Ve)&&(Qn=Po(Ve,b.height)),Qu(We)?Hn=Qn*Qe:(!Ve||Qu(Ve))&&(Qn=Hn/Qe),[Hn,Qn]}var ui=null,po=null;if(Ja(We)?ui=Po(We,b.width):Ve&&Ja(Ve)&&(po=Po(Ve,b.height)),ui!==null&&(!Ve||Qu(Ve))&&(po=ut&&lt?ui/D*Ce:b.height),po!==null&&Qu(We)&&(ui=ut&&lt?po/Ce*D:b.width),ui!==null&&po!==null)return[ui,po];throw new Error("Unable to calculate background-size for element")},ju=function(a,s){var b=a[s];return typeof b=="undefined"?a[0]:b},Dc=function(a,s,b,D,Ce){var Qe=s[0],We=s[1],Ve=b[0],$e=b[1];switch(a){case 2:return[new ho(Math.round(D.left),Math.round(D.top+We)),new ho(Math.round(D.left+D.width),Math.round(D.top+We)),new ho(Math.round(D.left+D.width),Math.round($e+D.top+We)),new ho(Math.round(D.left),Math.round($e+D.top+We))];case 3:return[new ho(Math.round(D.left+Qe),Math.round(D.top)),new ho(Math.round(D.left+Qe+Ve),Math.round(D.top)),new ho(Math.round(D.left+Qe+Ve),Math.round(D.height+D.top)),new ho(Math.round(D.left+Qe),Math.round(D.height+D.top))];case 1:return[new ho(Math.round(D.left+Qe),Math.round(D.top+We)),new ho(Math.round(D.left+Qe+Ve),Math.round(D.top+We)),new ho(Math.round(D.left+Qe+Ve),Math.round(D.top+We+$e)),new ho(Math.round(D.left+Qe),Math.round(D.top+We+$e))];default:return[new ho(Math.round(Ce.left),Math.round(Ce.top)),new ho(Math.round(Ce.left+Ce.width),Math.round(Ce.top)),new ho(Math.round(Ce.left+Ce.width),Math.round(Ce.height+Ce.top)),new ho(Math.round(Ce.left),Math.round(Ce.height+Ce.top))]}},Uc="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",yc="Hidden Text",Kc=function(){function a(s){this._data={},this._document=s}return a.prototype.parseMetrics=function(s,b){var D=this._document.createElement("div"),Ce=this._document.createElement("img"),Qe=this._document.createElement("span"),We=this._document.body;D.style.visibility="hidden",D.style.fontFamily=s,D.style.fontSize=b,D.style.margin="0",D.style.padding="0",D.style.whiteSpace="nowrap",We.appendChild(D),Ce.src=Uc,Ce.width=1,Ce.height=1,Ce.style.margin="0",Ce.style.padding="0",Ce.style.verticalAlign="baseline",Qe.style.fontFamily=s,Qe.style.fontSize=b,Qe.style.margin="0",Qe.style.padding="0",Qe.appendChild(this._document.createTextNode(yc)),D.appendChild(Qe),D.appendChild(Ce);var Ve=Ce.offsetTop-Qe.offsetTop+2;D.removeChild(Qe),D.appendChild(this._document.createTextNode(yc)),D.style.lineHeight="normal",Ce.style.verticalAlign="super";var $e=Ce.offsetTop-D.offsetTop+2;return We.removeChild(D),{baseline:Ve,middle:$e}},a.prototype.getMetrics=function(s,b){var D=s+" "+b;return typeof this._data[D]=="undefined"&&(this._data[D]=this.parseMetrics(s,b)),this._data[D]},a}(),wc=function(){function a(s,b){this.context=s,this.options=b}return a}(),sc=1e4,Cc=function(a){t(s,a);function s(b,D){var Ce=a.call(this,b,D)||this;return Ce._activeEffects=[],Ce.canvas=D.canvas?D.canvas:document.createElement("canvas"),Ce.ctx=Ce.canvas.getContext("2d"),D.canvas||(Ce.canvas.width=Math.floor(D.width*D.scale),Ce.canvas.height=Math.floor(D.height*D.scale),Ce.canvas.style.width=D.width+"px",Ce.canvas.style.height=D.height+"px"),Ce.fontMetrics=new Kc(document),Ce.ctx.scale(Ce.options.scale,Ce.options.scale),Ce.ctx.translate(-D.x,-D.y),Ce.ctx.textBaseline="bottom",Ce._activeEffects=[],Ce.context.logger.debug("Canvas renderer initialized ("+D.width+"x"+D.height+") with scale "+D.scale),Ce}return s.prototype.applyEffects=function(b){for(var D=this;this._activeEffects.length;)this.popEffect();b.forEach(function(Ce){return D.applyEffect(Ce)})},s.prototype.applyEffect=function(b){this.ctx.save(),zc(b)&&(this.ctx.globalAlpha=b.opacity),Ju(b)&&(this.ctx.translate(b.offsetX,b.offsetY),this.ctx.transform(b.matrix[0],b.matrix[1],b.matrix[2],b.matrix[3],b.matrix[4],b.matrix[5]),this.ctx.translate(-b.offsetX,-b.offsetY)),Tc(b)&&(this.path(b.path),this.ctx.clip()),this._activeEffects.push(b)},s.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},s.prototype.renderStack=function(b){return f(this,void 0,void 0,function(){var D;return l(this,function(Ce){switch(Ce.label){case 0:return D=b.element.container.styles,D.isVisible()?[4,this.renderStackContent(b)]:[3,2];case 1:Ce.sent(),Ce.label=2;case 2:return[2]}})})},s.prototype.renderNode=function(b){return f(this,void 0,void 0,function(){return l(this,function(D){switch(D.label){case 0:if(Na(b.container.flags,16))debugger;return b.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(b)]:[3,3];case 1:return D.sent(),[4,this.renderNodeContent(b)];case 2:D.sent(),D.label=3;case 3:return[2]}})})},s.prototype.renderTextWithLetterSpacing=function(b,D,Ce){var Qe=this;if(D===0)this.ctx.fillText(b.text,b.bounds.left,b.bounds.top+Ce);else{var We=vs(b.text);We.reduce(function(Ve,$e){return Qe.ctx.fillText($e,Ve,b.bounds.top+Ce),Ve+Qe.ctx.measureText($e).width},b.bounds.left)}},s.prototype.createFontStyle=function(b){var D=b.fontVariant.filter(function(We){return We==="normal"||We==="small-caps"}).join(""),Ce=de(b.fontFamily).join(", "),Qe=hl(b.fontSize)?""+b.fontSize.number+b.fontSize.unit:b.fontSize.number+"px";return[[b.fontStyle,D,b.fontWeight,Qe,Ce].join(" "),Ce,Qe]},s.prototype.renderTextNode=function(b,D){return f(this,void 0,void 0,function(){var Ce,Qe,We,Ve,$e,It,ut,lt,Lt=this;return l(this,function(wr){return Ce=this.createFontStyle(D),Qe=Ce[0],We=Ce[1],Ve=Ce[2],this.ctx.font=Qe,this.ctx.direction=D.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",$e=this.fontMetrics.getMetrics(We,Ve),It=$e.baseline,ut=$e.middle,lt=D.paintOrder,b.textBounds.forEach(function(Sr){lt.forEach(function($r){switch($r){case 0:Lt.ctx.fillStyle=pi(D.color),Lt.renderTextWithLetterSpacing(Sr,D.letterSpacing,It);var Nn=D.textShadow;Nn.length&&Sr.text.trim().length&&(Nn.slice(0).reverse().forEach(function(Hn){Lt.ctx.shadowColor=pi(Hn.color),Lt.ctx.shadowOffsetX=Hn.offsetX.number*Lt.options.scale,Lt.ctx.shadowOffsetY=Hn.offsetY.number*Lt.options.scale,Lt.ctx.shadowBlur=Hn.blur.number,Lt.renderTextWithLetterSpacing(Sr,D.letterSpacing,It)}),Lt.ctx.shadowColor="",Lt.ctx.shadowOffsetX=0,Lt.ctx.shadowOffsetY=0,Lt.ctx.shadowBlur=0),D.textDecorationLine.length&&(Lt.ctx.fillStyle=pi(D.textDecorationColor||D.color),D.textDecorationLine.forEach(function(Hn){switch(Hn){case 1:Lt.ctx.fillRect(Sr.bounds.left,Math.round(Sr.bounds.top+It),Sr.bounds.width,1);break;case 2:Lt.ctx.fillRect(Sr.bounds.left,Math.round(Sr.bounds.top),Sr.bounds.width,1);break;case 3:Lt.ctx.fillRect(Sr.bounds.left,Math.ceil(Sr.bounds.top+ut),Sr.bounds.width,1);break}}));break;case 1:D.webkitTextStrokeWidth&&Sr.text.trim().length&&(Lt.ctx.strokeStyle=pi(D.webkitTextStrokeColor),Lt.ctx.lineWidth=D.webkitTextStrokeWidth,Lt.ctx.lineJoin=window.chrome?"miter":"round",Lt.ctx.strokeText(Sr.text,Sr.bounds.left,Sr.bounds.top+It)),Lt.ctx.strokeStyle="",Lt.ctx.lineWidth=0,Lt.ctx.lineJoin="miter";break}})}),[2]})})},s.prototype.renderReplacedElement=function(b,D,Ce){if(Ce&&b.intrinsicWidth>0&&b.intrinsicHeight>0){var Qe=Eu(b),We=mc(D);this.path(We),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(Ce,0,0,b.intrinsicWidth,b.intrinsicHeight,Qe.left,Qe.top,Qe.width,Qe.height),this.ctx.restore()}},s.prototype.renderNodeContent=function(b){return f(this,void 0,void 0,function(){var D,Ce,Qe,We,Ve,$e,Qn,Qn,It,ut,lt,Lt,po,wr,Sr,Ao,$r,Nn,Hn,Qn,ui,po,Ao;return l(this,function(ii){switch(ii.label){case 0:this.applyEffects(b.getEffects(4)),D=b.container,Ce=b.curves,Qe=D.styles,We=0,Ve=D.textNodes,ii.label=1;case 1:return We<Ve.length?($e=Ve[We],[4,this.renderTextNode($e,Qe)]):[3,4];case 2:ii.sent(),ii.label=3;case 3:return We++,[3,1];case 4:if(!(D instanceof Ee))return[3,8];ii.label=5;case 5:return ii.trys.push([5,7,,8]),[4,this.context.cache.match(D.src)];case 6:return Qn=ii.sent(),this.renderReplacedElement(D,Ce,Qn),[3,8];case 7:return ii.sent(),this.context.logger.error("Error loading image "+D.src),[3,8];case 8:if(D instanceof ct&&this.renderReplacedElement(D,Ce,D.canvas),!(D instanceof ur))return[3,12];ii.label=9;case 9:return ii.trys.push([9,11,,12]),[4,this.context.cache.match(D.svg)];case 10:return Qn=ii.sent(),this.renderReplacedElement(D,Ce,Qn),[3,12];case 11:return ii.sent(),this.context.logger.error("Error loading svg "+D.svg.substring(0,255)),[3,12];case 12:return D instanceof ys&&D.tree?(It=new s(this.context,{scale:this.options.scale,backgroundColor:D.backgroundColor,x:0,y:0,width:D.width,height:D.height}),[4,It.render(D.tree)]):[3,14];case 13:ut=ii.sent(),D.width&&D.height&&this.ctx.drawImage(ut,0,0,D.width,D.height,D.bounds.left,D.bounds.top,D.bounds.width,D.bounds.height),ii.label=14;case 14:if(D instanceof ts&&(lt=Math.min(D.bounds.width,D.bounds.height),D.type===Io?D.checked&&(this.ctx.save(),this.path([new ho(D.bounds.left+lt*.39363,D.bounds.top+lt*.79),new ho(D.bounds.left+lt*.16,D.bounds.top+lt*.5549),new ho(D.bounds.left+lt*.27347,D.bounds.top+lt*.44071),new ho(D.bounds.left+lt*.39694,D.bounds.top+lt*.5649),new ho(D.bounds.left+lt*.72983,D.bounds.top+lt*.23),new ho(D.bounds.left+lt*.84,D.bounds.top+lt*.34085),new ho(D.bounds.left+lt*.39363,D.bounds.top+lt*.79)]),this.ctx.fillStyle=pi(es),this.ctx.fill(),this.ctx.restore()):D.type===Ho&&D.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(D.bounds.left+lt/2,D.bounds.top+lt/2,lt/4,0,Math.PI*2,!0),this.ctx.fillStyle=pi(es),this.ctx.fill(),this.ctx.restore())),xc(D)&&D.value.length){switch(Lt=this.createFontStyle(Qe),po=Lt[0],wr=Lt[1],Sr=this.fontMetrics.getMetrics(po,wr).baseline,this.ctx.font=po,this.ctx.fillStyle=pi(Qe.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=Qc(D.styles.textAlign),Ao=Eu(D),$r=0,D.styles.textAlign){case 1:$r+=Ao.width/2;break;case 2:$r+=Ao.width;break}Nn=Ao.add($r,0,0,-Ao.height/2+1),this.ctx.save(),this.path([new ho(Ao.left,Ao.top),new ho(Ao.left+Ao.width,Ao.top),new ho(Ao.left+Ao.width,Ao.top+Ao.height),new ho(Ao.left,Ao.top+Ao.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Wo(D.value,Nn),Qe.letterSpacing,Sr),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Na(D.styles.display,2048))return[3,20];if(D.styles.listStyleImage===null)return[3,19];if(Hn=D.styles.listStyleImage,Hn.type!==0)return[3,18];Qn=void 0,ui=Hn.url,ii.label=15;case 15:return ii.trys.push([15,17,,18]),[4,this.context.cache.match(ui)];case 16:return Qn=ii.sent(),this.ctx.drawImage(Qn,D.bounds.left-(Qn.width+10),D.bounds.top),[3,18];case 17:return ii.sent(),this.context.logger.error("Error loading list-style-image "+ui),[3,18];case 18:return[3,20];case 19:b.listValue&&D.styles.listStyleType!==-1&&(po=this.createFontStyle(Qe)[0],this.ctx.font=po,this.ctx.fillStyle=pi(Qe.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",Ao=new m(D.bounds.left,D.bounds.top+Po(D.styles.paddingTop,D.bounds.width),D.bounds.width,ri(Qe.lineHeight,Qe.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Wo(b.listValue,Ao),Qe.letterSpacing,ri(Qe.lineHeight,Qe.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),ii.label=20;case 20:return[2]}})})},s.prototype.renderStackContent=function(b){return f(this,void 0,void 0,function(){var D,Ce,Hn,Qe,We,Hn,Ve,$e,Hn,It,ut,Hn,lt,Lt,Hn,wr,Sr,Hn,$r,Nn,Hn;return l(this,function(Qn){switch(Qn.label){case 0:if(Na(b.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(b.element)];case 1:Qn.sent(),D=0,Ce=b.negativeZIndex,Qn.label=2;case 2:return D<Ce.length?(Hn=Ce[D],[4,this.renderStack(Hn)]):[3,5];case 3:Qn.sent(),Qn.label=4;case 4:return D++,[3,2];case 5:return[4,this.renderNodeContent(b.element)];case 6:Qn.sent(),Qe=0,We=b.nonInlineLevel,Qn.label=7;case 7:return Qe<We.length?(Hn=We[Qe],[4,this.renderNode(Hn)]):[3,10];case 8:Qn.sent(),Qn.label=9;case 9:return Qe++,[3,7];case 10:Ve=0,$e=b.nonPositionedFloats,Qn.label=11;case 11:return Ve<$e.length?(Hn=$e[Ve],[4,this.renderStack(Hn)]):[3,14];case 12:Qn.sent(),Qn.label=13;case 13:return Ve++,[3,11];case 14:It=0,ut=b.nonPositionedInlineLevel,Qn.label=15;case 15:return It<ut.length?(Hn=ut[It],[4,this.renderStack(Hn)]):[3,18];case 16:Qn.sent(),Qn.label=17;case 17:return It++,[3,15];case 18:lt=0,Lt=b.inlineLevel,Qn.label=19;case 19:return lt<Lt.length?(Hn=Lt[lt],[4,this.renderNode(Hn)]):[3,22];case 20:Qn.sent(),Qn.label=21;case 21:return lt++,[3,19];case 22:wr=0,Sr=b.zeroOrAutoZIndexOrTransformedOrOpacity,Qn.label=23;case 23:return wr<Sr.length?(Hn=Sr[wr],[4,this.renderStack(Hn)]):[3,26];case 24:Qn.sent(),Qn.label=25;case 25:return wr++,[3,23];case 26:$r=0,Nn=b.positiveZIndex,Qn.label=27;case 27:return $r<Nn.length?(Hn=Nn[$r],[4,this.renderStack(Hn)]):[3,30];case 28:Qn.sent(),Qn.label=29;case 29:return $r++,[3,27];case 30:return[2]}})})},s.prototype.mask=function(b){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(b.slice(0).reverse()),this.ctx.closePath()},s.prototype.path=function(b){this.ctx.beginPath(),this.formatPath(b),this.ctx.closePath()},s.prototype.formatPath=function(b){var D=this;b.forEach(function(Ce,Qe){var We=Nl(Ce)?Ce.start:Ce;Qe===0?D.ctx.moveTo(We.x,We.y):D.ctx.lineTo(We.x,We.y),Nl(Ce)&&D.ctx.bezierCurveTo(Ce.startControl.x,Ce.startControl.y,Ce.endControl.x,Ce.endControl.y,Ce.end.x,Ce.end.y)})},s.prototype.renderRepeat=function(b,D,Ce,Qe){this.path(b),this.ctx.fillStyle=D,this.ctx.translate(Ce,Qe),this.ctx.fill(),this.ctx.translate(-Ce,-Qe)},s.prototype.resizeImage=function(b,D,Ce){var Qe;if(b.width===D&&b.height===Ce)return b;var We=(Qe=this.canvas.ownerDocument)!==null&&Qe!==void 0?Qe:document,Ve=We.createElement("canvas");Ve.width=Math.max(1,D),Ve.height=Math.max(1,Ce);var $e=Ve.getContext("2d");return $e.drawImage(b,0,0,b.width,b.height,0,0,D,Ce),Ve},s.prototype.renderBackgroundImage=function(b){return f(this,void 0,void 0,function(){var D,Ce,Qe,We,Ve,$e;return l(this,function(It){switch(It.label){case 0:D=b.styles.backgroundImage.length-1,Ce=function(ut){var lt,Lt,wr,rs,ws,zs,Fa,Xa,ma,Sr,rs,ws,zs,Fa,Xa,$r,Nn,Hn,Qn,ui,po,Ao,ii,na,ma,Fo,rs,Ea,Ws,Fa,Xa,Js,ws,zs,Gl,Os,Yl,yu,Pu,$l,Cs,Hu;return l(this,function(dc){switch(dc.label){case 0:if(ut.type!==0)return[3,5];lt=void 0,Lt=ut.url,dc.label=1;case 1:return dc.trys.push([1,3,,4]),[4,Qe.context.cache.match(Lt)];case 2:return lt=dc.sent(),[3,4];case 3:return dc.sent(),Qe.context.logger.error("Error loading background-image "+Lt),[3,4];case 4:return lt&&(wr=tc(b,D,[lt.width,lt.height,lt.width/lt.height]),rs=wr[0],ws=wr[1],zs=wr[2],Fa=wr[3],Xa=wr[4],ma=Qe.ctx.createPattern(Qe.resizeImage(lt,Fa,Xa),"repeat"),Qe.renderRepeat(rs,ma,ws,zs)),[3,6];case 5:cr(ut)?(Sr=tc(b,D,[null,null,null]),rs=Sr[0],ws=Sr[1],zs=Sr[2],Fa=Sr[3],Xa=Sr[4],$r=nu(ut.angle,Fa,Xa),Nn=$r[0],Hn=$r[1],Qn=$r[2],ui=$r[3],po=$r[4],Ao=document.createElement("canvas"),Ao.width=Fa,Ao.height=Xa,ii=Ao.getContext("2d"),na=ii.createLinearGradient(Hn,ui,Qn,po),ru(ut.stops,Nn).forEach(function(bc){return na.addColorStop(bc.stop,pi(bc.color))}),ii.fillStyle=na,ii.fillRect(0,0,Fa,Xa),Fa>0&&Xa>0&&(ma=Qe.ctx.createPattern(Ao,"repeat"),Qe.renderRepeat(rs,ma,ws,zs))):er(ut)&&(Fo=tc(b,D,[null,null,null]),rs=Fo[0],Ea=Fo[1],Ws=Fo[2],Fa=Fo[3],Xa=Fo[4],Js=ut.position.length===0?[Zl]:ut.position,ws=Po(Js[0],Fa),zs=Po(Js[Js.length-1],Xa),Gl=z(ut,ws,zs,Fa,Xa),Os=Gl[0],Yl=Gl[1],Os>0&&Yl>0&&(yu=Qe.ctx.createRadialGradient(Ea+ws,Ws+zs,0,Ea+ws,Ws+zs,Os),ru(ut.stops,Os*2).forEach(function(bc){return yu.addColorStop(bc.stop,pi(bc.color))}),Qe.path(rs),Qe.ctx.fillStyle=yu,Os!==Yl?(Pu=b.bounds.left+.5*b.bounds.width,$l=b.bounds.top+.5*b.bounds.height,Cs=Yl/Os,Hu=1/Cs,Qe.ctx.save(),Qe.ctx.translate(Pu,$l),Qe.ctx.transform(1,0,0,Cs,0,0),Qe.ctx.translate(-Pu,-$l),Qe.ctx.fillRect(Ea,Hu*(Ws-$l)+$l,Fa,Xa*Hu),Qe.ctx.restore()):Qe.ctx.fill())),dc.label=6;case 6:return D--,[2]}})},Qe=this,We=0,Ve=b.styles.backgroundImage.slice(0).reverse(),It.label=1;case 1:return We<Ve.length?($e=Ve[We],[5,Ce($e)]):[3,4];case 2:It.sent(),It.label=3;case 3:return We++,[3,1];case 4:return[2]}})})},s.prototype.renderSolidBorder=function(b,D,Ce){return f(this,void 0,void 0,function(){return l(this,function(Qe){return this.path(Ic(Ce,D)),this.ctx.fillStyle=pi(b),this.ctx.fill(),[2]})})},s.prototype.renderDoubleBorder=function(b,D,Ce,Qe){return f(this,void 0,void 0,function(){var We,Ve;return l(this,function($e){switch($e.label){case 0:return D<3?[4,this.renderSolidBorder(b,Ce,Qe)]:[3,2];case 1:return $e.sent(),[2];case 2:return We=Fc(Qe,Ce),this.path(We),this.ctx.fillStyle=pi(b),this.ctx.fill(),Ve=Rc(Qe,Ce),this.path(Ve),this.ctx.fill(),[2]}})})},s.prototype.renderNodeBackgroundAndBorders=function(b){return f(this,void 0,void 0,function(){var D,Ce,Qe,We,Ve,$e,It,ut,lt=this;return l(this,function(Lt){switch(Lt.label){case 0:return this.applyEffects(b.getEffects(2)),D=b.container.styles,Ce=!ln(D.backgroundColor)||D.backgroundImage.length,Qe=[{style:D.borderTopStyle,color:D.borderTopColor,width:D.borderTopWidth},{style:D.borderRightStyle,color:D.borderRightColor,width:D.borderRightWidth},{style:D.borderBottomStyle,color:D.borderBottomColor,width:D.borderBottomWidth},{style:D.borderLeftStyle,color:D.borderLeftColor,width:D.borderLeftWidth}],We=Nc(ju(D.backgroundClip,0),b.curves),Ce||D.boxShadow.length?(this.ctx.save(),this.path(We),this.ctx.clip(),ln(D.backgroundColor)||(this.ctx.fillStyle=pi(D.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(b.container)]):[3,2];case 1:Lt.sent(),this.ctx.restore(),D.boxShadow.slice(0).reverse().forEach(function(wr){lt.ctx.save();var Sr=Xu(b.curves),$r=wr.inset?0:sc,Nn=mu(Sr,-$r+(wr.inset?1:-1)*wr.spread.number,(wr.inset?1:-1)*wr.spread.number,wr.spread.number*(wr.inset?-2:2),wr.spread.number*(wr.inset?-2:2));wr.inset?(lt.path(Sr),lt.ctx.clip(),lt.mask(Nn)):(lt.mask(Sr),lt.ctx.clip(),lt.path(Nn)),lt.ctx.shadowOffsetX=wr.offsetX.number+$r,lt.ctx.shadowOffsetY=wr.offsetY.number,lt.ctx.shadowColor=pi(wr.color),lt.ctx.shadowBlur=wr.blur.number,lt.ctx.fillStyle=wr.inset?pi(wr.color):"rgba(0,0,0,1)",lt.ctx.fill(),lt.ctx.restore()}),Lt.label=2;case 2:Ve=0,$e=0,It=Qe,Lt.label=3;case 3:return $e<It.length?(ut=It[$e],ut.style!==0&&!ln(ut.color)&&ut.width>0?ut.style!==2?[3,5]:[4,this.renderDashedDottedBorder(ut.color,ut.width,Ve,b.curves,2)]:[3,11]):[3,13];case 4:return Lt.sent(),[3,11];case 5:return ut.style!==3?[3,7]:[4,this.renderDashedDottedBorder(ut.color,ut.width,Ve,b.curves,3)];case 6:return Lt.sent(),[3,11];case 7:return ut.style!==4?[3,9]:[4,this.renderDoubleBorder(ut.color,ut.width,Ve,b.curves)];case 8:return Lt.sent(),[3,11];case 9:return[4,this.renderSolidBorder(ut.color,Ve,b.curves)];case 10:Lt.sent(),Lt.label=11;case 11:Ve++,Lt.label=12;case 12:return $e++,[3,3];case 13:return[2]}})})},s.prototype.renderDashedDottedBorder=function(b,D,Ce,Qe,We){return f(this,void 0,void 0,function(){var Ve,$e,It,ut,lt,Lt,wr,Sr,$r,Nn,Hn,Qn,ui,po,Ao,ii,Ao,ii;return l(this,function(na){return this.ctx.save(),Ve=ql(Qe,Ce),$e=Ic(Qe,Ce),We===2&&(this.path($e),this.ctx.clip()),Nl($e[0])?(It=$e[0].start.x,ut=$e[0].start.y):(It=$e[0].x,ut=$e[0].y),Nl($e[1])?(lt=$e[1].end.x,Lt=$e[1].end.y):(lt=$e[1].x,Lt=$e[1].y),Ce===0||Ce===2?wr=Math.abs(It-lt):wr=Math.abs(ut-Lt),this.ctx.beginPath(),We===3?this.formatPath(Ve):this.formatPath($e.slice(0,2)),Sr=D<3?D*3:D*2,$r=D<3?D*2:D,We===3&&(Sr=D,$r=D),Nn=!0,wr<=Sr*2?Nn=!1:wr<=Sr*2+$r?(Hn=wr/(2*Sr+$r),Sr*=Hn,$r*=Hn):(Qn=Math.floor((wr+$r)/(Sr+$r)),ui=(wr-Qn*Sr)/(Qn-1),po=(wr-(Qn+1)*Sr)/Qn,$r=po<=0||Math.abs($r-ui)<Math.abs($r-po)?ui:po),Nn&&(We===3?this.ctx.setLineDash([0,Sr+$r]):this.ctx.setLineDash([Sr,$r])),We===3?(this.ctx.lineCap="round",this.ctx.lineWidth=D):this.ctx.lineWidth=D*2+1.1,this.ctx.strokeStyle=pi(b),this.ctx.stroke(),this.ctx.setLineDash([]),We===2&&(Nl($e[0])&&(Ao=$e[3],ii=$e[0],this.ctx.beginPath(),this.formatPath([new ho(Ao.end.x,Ao.end.y),new ho(ii.start.x,ii.start.y)]),this.ctx.stroke()),Nl($e[1])&&(Ao=$e[1],ii=$e[2],this.ctx.beginPath(),this.formatPath([new ho(Ao.end.x,Ao.end.y),new ho(ii.start.x,ii.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},s.prototype.render=function(b){return f(this,void 0,void 0,function(){var D;return l(this,function(Ce){switch(Ce.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=pi(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),D=cu(b),[4,this.renderStack(D)];case 1:return Ce.sent(),this.applyEffects([]),[2,this.canvas]}})})},s}(wc),xc=function(a){return a instanceof Is||a instanceof As?!0:a instanceof ts&&a.type!==Ho&&a.type!==Io},Nc=function(a,s){switch(a){case 0:return Xu(s);case 2:return ku(s);case 1:default:return mc(s)}},Qc=function(a){switch(a){case 1:return"center";case 2:return"right";case 0:default:return"left"}},N=["-apple-system","system-ui"],de=function(a){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?a.filter(function(s){return N.indexOf(s)===-1}):a},Ie=function(a){t(s,a);function s(b,D){var Ce=a.call(this,b,D)||this;return Ce.canvas=D.canvas?D.canvas:document.createElement("canvas"),Ce.ctx=Ce.canvas.getContext("2d"),Ce.options=D,Ce.canvas.width=Math.floor(D.width*D.scale),Ce.canvas.height=Math.floor(D.height*D.scale),Ce.canvas.style.width=D.width+"px",Ce.canvas.style.height=D.height+"px",Ce.ctx.scale(Ce.options.scale,Ce.options.scale),Ce.ctx.translate(-D.x,-D.y),Ce.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+D.width+"x"+D.height+" at "+D.x+","+D.y+") with scale "+D.scale),Ce}return s.prototype.render=function(b){return f(this,void 0,void 0,function(){var D,Ce;return l(this,function(Qe){switch(Qe.label){case 0:return D=_a(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,b),[4,e(D)];case 1:return Ce=Qe.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=pi(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(Ce,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},s}(wc),e=function(a){return new Promise(function(s,b){var D=new Image;D.onload=function(){s(D)},D.onerror=b,D.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(a))})},r=function(){function a(s){var b=s.id,D=s.enabled;this.id=b,this.enabled=D,this.start=Date.now()}return a.prototype.debug=function(){for(var s=[],b=0;b<arguments.length;b++)s[b]=arguments[b];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,u([this.id,this.getTime()+"ms"],s)):this.info.apply(this,s))},a.prototype.getTime=function(){return Date.now()-this.start},a.prototype.info=function(){for(var s=[],b=0;b<arguments.length;b++)s[b]=arguments[b];this.enabled&&typeof window!="undefined"&&window.console&&typeof console.info=="function"&&console.info.apply(console,u([this.id,this.getTime()+"ms"],s))},a.prototype.warn=function(){for(var s=[],b=0;b<arguments.length;b++)s[b]=arguments[b];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,u([this.id,this.getTime()+"ms"],s)):this.info.apply(this,s))},a.prototype.error=function(){for(var s=[],b=0;b<arguments.length;b++)s[b]=arguments[b];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.error=="function"?console.error.apply(console,u([this.id,this.getTime()+"ms"],s)):this.info.apply(this,s))},a.instances={},a}(),o=function(){function a(s,b){var D;this.windowBounds=b,this.instanceName="#"+a.instanceCount++,this.logger=new r({id:this.instanceName,enabled:s.logging}),this.cache=(D=s.cache)!==null&&D!==void 0?D:new Yu(this,s)}return a.instanceCount=1,a}(),G=function(a,s){return s===void 0&&(s={}),fe(a,s)};typeof window!="undefined"&&Fu.setContext(window);var fe=function(a,s){return f(void 0,void 0,void 0,function(){var b,D,Ce,Qe,We,Ve,$e,It,ut,lt,Lt,wr,Sr,$r,Nn,Hn,Qn,ui,po,Ao,na,ii,na,ma,Fo,rs,Ea,Ws,Fa,Xa,Js,ws,zs,Gl,Os,Yl,yu,Pu,$l,Cs;return l(this,function(Hu){switch(Hu.label){case 0:if(!a||typeof a!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(b=a.ownerDocument,!b)throw new Error("Element is not attached to a Document");if(D=b.defaultView,!D)throw new Error("Document is not attached to a Window");return Ce={allowTaint:(ma=s.allowTaint)!==null&&ma!==void 0?ma:!1,imageTimeout:(Fo=s.imageTimeout)!==null&&Fo!==void 0?Fo:15e3,proxy:s.proxy,useCORS:(rs=s.useCORS)!==null&&rs!==void 0?rs:!1},Qe=n({logging:(Ea=s.logging)!==null&&Ea!==void 0?Ea:!0,cache:s.cache},Ce),We={windowWidth:(Ws=s.windowWidth)!==null&&Ws!==void 0?Ws:D.innerWidth,windowHeight:(Fa=s.windowHeight)!==null&&Fa!==void 0?Fa:D.innerHeight,scrollX:(Xa=s.scrollX)!==null&&Xa!==void 0?Xa:D.pageXOffset,scrollY:(Js=s.scrollY)!==null&&Js!==void 0?Js:D.pageYOffset},Ve=new m(We.scrollX,We.scrollY,We.windowWidth,We.windowHeight),$e=new o(Qe,Ve),It=(ws=s.foreignObjectRendering)!==null&&ws!==void 0?ws:!1,ut={allowTaint:(zs=s.allowTaint)!==null&&zs!==void 0?zs:!1,onclone:s.onclone,ignoreElements:s.ignoreElements,inlineImages:It,copyStyles:It},$e.logger.debug("Starting document clone with size "+Ve.width+"x"+Ve.height+" scrolled to "+-Ve.left+","+-Ve.top),lt=new Ps($e,a,ut),Lt=lt.clonedReferenceElement,Lt?[4,lt.toIFrame(b,Ve)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return wr=Hu.sent(),Sr=dl(Lt)||Cu(Lt)?M(Lt.ownerDocument):v($e,Lt),$r=Sr.width,Nn=Sr.height,Hn=Sr.left,Qn=Sr.top,ui=Pe($e,Lt,s.backgroundColor),po={canvas:s.canvas,backgroundColor:ui,scale:(Os=(Gl=s.scale)!==null&&Gl!==void 0?Gl:D.devicePixelRatio)!==null&&Os!==void 0?Os:1,x:((Yl=s.x)!==null&&Yl!==void 0?Yl:0)+Hn,y:((yu=s.y)!==null&&yu!==void 0?yu:0)+Qn,width:(Pu=s.width)!==null&&Pu!==void 0?Pu:Math.ceil($r),height:($l=s.height)!==null&&$l!==void 0?$l:Math.ceil(Nn)},It?($e.logger.debug("Document cloned, using foreign object rendering"),na=new Ie($e,po),[4,na.render(Lt)]):[3,3];case 2:return Ao=Hu.sent(),[3,5];case 3:return $e.logger.debug("Document cloned, element located at "+Hn+","+Qn+" with size "+$r+"x"+Nn+" using computed rendering"),$e.logger.debug("Starting DOM parsing"),ii=iu($e,Lt),ui===ii.styles.backgroundColor&&(ii.styles.backgroundColor=Uo.TRANSPARENT),$e.logger.debug("Starting renderer for element at "+po.x+","+po.y+" with size "+po.width+"x"+po.height),na=new Cc($e,po),[4,na.render(ii)];case 4:Ao=Hu.sent(),Hu.label=5;case 5:return(!((Cs=s.removeContainer)!==null&&Cs!==void 0)||Cs)&&(Ps.destroy(wr)||$e.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),$e.logger.debug("Finished rendering"),[2,Ao]}})})},Pe=function(a,s,b){var D=s.ownerDocument,Ce=D.documentElement?Us(a,getComputedStyle(D.documentElement).backgroundColor):Uo.TRANSPARENT,Qe=D.body?Us(a,getComputedStyle(D.body).backgroundColor):Uo.TRANSPARENT,We=typeof b=="string"?Us(a,b):b===null?Uo.TRANSPARENT:4294967295;return s===D.documentElement?ln(Ce)?ln(Qe)?We:Qe:Ce:We};return G})},7484:function(_e,$,t){"use strict";t.d($,{ZP:function(){return fu}});var n=t(71002),f={},l=function(z,_,H,Ae,Be){var ve=f[_]||(f[_]=URL.createObjectURL(new Blob([z],{type:"text/javascript"}))),Le=new Worker(ve);return Le.onerror=function(Re){return Be(Re.error,null)},Le.onmessage=function(Re){return Be(null,Re.data)},Le.postMessage(H,Ae),Le},u=Uint8Array,m=Uint16Array,v=Uint32Array,M=new u([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),ee=new u([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),W=new u([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),re=function(z,_){for(var H=new m(31),Ae=0;Ae<31;++Ae)H[Ae]=_+=1<<z[Ae-1];for(var Be=new v(H[30]),Ae=1;Ae<30;++Ae)for(var ve=H[Ae];ve<H[Ae+1];++ve)Be[ve]=ve-H[Ae]<<5|Ae;return[H,Be]},se=re(M,2),S=se[0],J=se[1];S[28]=258,J[258]=28;for(var T=re(ee,0),V=T[0],L=T[1],c=new m(32768),R=0;R<32768;++R){var B=(R&43690)>>>1|(R&21845)<<1;B=(B&52428)>>>2|(B&13107)<<2,B=(B&61680)>>>4|(B&3855)<<4,c[R]=((B&65280)>>>8|(B&255)<<8)>>>1}for(var X=function(z,_,H){for(var Ae=z.length,Be=0,ve=new m(_);Be<Ae;++Be)++ve[z[Be]-1];var Le=new m(_);for(Be=0;Be<_;++Be)Le[Be]=Le[Be-1]+ve[Be-1]<<1;var Re;if(H){Re=new m(1<<_);var ke=15-_;for(Be=0;Be<Ae;++Be)if(z[Be])for(var it=Be<<4|z[Be],gt=_-z[Be],Et=Le[z[Be]-1]++<<gt,Mt=Et|(1<<gt)-1;Et<=Mt;++Et)Re[c[Et]>>>ke]=it}else for(Re=new m(Ae),Be=0;Be<Ae;++Be)Re[Be]=c[Le[z[Be]-1]++]>>>15-z[Be];return Re},g=new u(288),R=0;R<144;++R)g[R]=8;for(var R=144;R<256;++R)g[R]=9;for(var R=256;R<280;++R)g[R]=7;for(var R=280;R<288;++R)g[R]=8;for(var p=new u(32),R=0;R<32;++R)p[R]=5;var O=X(g,9,0),I=X(g,9,1),E=X(p,5,0),K=X(p,5,1),d=function(z){for(var _=z[0],H=1;H<z.length;++H)z[H]>_&&(_=z[H]);return _},i=function(z,_,H){var Ae=_/8>>0;return(z[Ae]|z[Ae+1]<<8)>>>(_&7)&H},x=function(z,_){var H=_/8>>0;return(z[H]|z[H+1]<<8|z[H+2]<<16)>>>(_&7)},A=function(z){return(z/8>>0)+(z&7&&1)},w=function(z,_,H){(_==null||_<0)&&(_=0),(H==null||H>z.length)&&(H=z.length);var Ae=new(z instanceof m?m:z instanceof v?v:u)(H-_);return Ae.set(z.subarray(_,H)),Ae},C=function(z,_,H){var Ae=z.length,Be=!_||H,ve=!H||H.i;H||(H={}),_||(_=new u(Ae*3));var Le=function(tn){var Nr=_.length;if(tn>Nr){var gn=new u(Math.max(Nr*2,tn));gn.set(_),_=gn}},Re=H.f||0,ke=H.p||0,it=H.b||0,gt=H.l,Et=H.d,Mt=H.m,Ge=H.n,cr=Ae*8;do{if(!gt){H.f=Re=i(z,ke,1);var er=i(z,ke+1,3);if(ke+=3,er)if(er==1)gt=I,Et=K,Mt=9,Ge=5;else if(er==2){var Zr=i(z,ke,31)+257,dn=i(z,ke+10,15)+4,hn=Zr+i(z,ke+5,31)+1;ke+=14;for(var $n=new u(hn),cn=new u(19),Er=0;Er<dn;++Er)cn[W[Er]]=i(z,ke+Er*3,7);ke+=dn*3;var Gn=d(cn),Vn=(1<<Gn)-1;if(!ve&&ke+hn*(Gn+7)>cr)break;for(var Xt=X(cn,Gn,1),Er=0;Er<hn;){var rr=Xt[i(z,ke,Vn)];ke+=rr&15;var mr=rr>>>4;if(mr<16)$n[Er++]=mr;else{var Ur=0,Or=0;for(mr==16?(Or=3+i(z,ke,3),ke+=2,Ur=$n[Er-1]):mr==17?(Or=3+i(z,ke,7),ke+=3):mr==18&&(Or=11+i(z,ke,127),ke+=7);Or--;)$n[Er++]=Ur}}var En=$n.subarray(0,Zr),yn=$n.subarray(Zr);Mt=d(En),Ge=d(yn),gt=X(En,Mt,1),Et=X(yn,Ge,1)}else throw"invalid block type";else{var mr=A(ke)+4,Kt=z[mr-4]|z[mr-3]<<8,dr=mr+Kt;if(dr>Ae){if(ve)throw"unexpected EOF";break}Be&&Le(it+Kt),_.set(z.subarray(mr,dr),it),H.b=it+=Kt,H.p=ke=dr*8;continue}if(ke>cr)throw"unexpected EOF"}Be&&Le(it+131072);for(var Rn=(1<<Mt)-1,pn=(1<<Ge)-1,Un=Mt+Ge+18;ve||ke+Un<cr;){var Ur=gt[x(z,ke)&Rn],kn=Ur>>>4;if(ke+=Ur&15,ke>cr)throw"unexpected EOF";if(!Ur)throw"invalid length/literal";if(kn<256)_[it++]=kn;else if(kn==256){gt=null;break}else{var Ui=kn-254;if(kn>264){var Er=kn-257,Ot=M[Er];Ui=i(z,ke,(1<<Ot)-1)+S[Er],ke+=Ot}var Ar=Et[x(z,ke)&pn],Br=Ar>>>4;if(!Ar)throw"invalid distance";ke+=Ar&15;var yn=V[Br];if(Br>3){var Ot=ee[Br];yn+=x(z,ke)&(1<<Ot)-1,ke+=Ot}if(ke>cr)throw"unexpected EOF";Be&&Le(it+131072);for(var Wr=it+Ui;it<Wr;it+=4)_[it]=_[it-yn],_[it+1]=_[it+1-yn],_[it+2]=_[it+2-yn],_[it+3]=_[it+3-yn];it=Wr}}H.l=gt,H.p=ke,H.b=it,gt&&(Re=1,H.m=Mt,H.d=Et,H.n=Ge)}while(!Re);return it==_.length?_:w(_,0,it)},U=function(z,_,H){H<<=_&7;var Ae=_/8>>0;z[Ae]|=H,z[Ae+1]|=H>>>8},F=function(z,_,H){H<<=_&7;var Ae=_/8>>0;z[Ae]|=H,z[Ae+1]|=H>>>8,z[Ae+2]|=H>>>16},Y=function(z,_){for(var H=[],Ae=0;Ae<z.length;++Ae)z[Ae]&&H.push({s:Ae,f:z[Ae]});var Be=H.length,ve=H.slice();if(!Be)return[new u(0),0];if(Be==1){var Le=new u(H[0].s+1);return Le[H[0].s]=1,[Le,1]}H.sort(function(hn,$n){return hn.f-$n.f}),H.push({s:-1,f:25001});var Re=H[0],ke=H[1],it=0,gt=1,Et=2;for(H[0]={s:-1,f:Re.f+ke.f,l:Re,r:ke};gt!=Be-1;)Re=H[H[it].f<H[Et].f?it++:Et++],ke=H[it!=gt&&H[it].f<H[Et].f?it++:Et++],H[gt++]={s:-1,f:Re.f+ke.f,l:Re,r:ke};for(var Mt=ve[0].s,Ae=1;Ae<Be;++Ae)ve[Ae].s>Mt&&(Mt=ve[Ae].s);var Ge=new m(Mt+1),cr=le(H[gt-1],Ge,0);if(cr>_){var Ae=0,er=0,mr=cr-_,Kt=1<<mr;for(ve.sort(function($n,cn){return Ge[cn.s]-Ge[$n.s]||$n.f-cn.f});Ae<Be;++Ae){var dr=ve[Ae].s;if(Ge[dr]>_)er+=Kt-(1<<cr-Ge[dr]),Ge[dr]=_;else break}for(er>>>=mr;er>0;){var Zr=ve[Ae].s;Ge[Zr]<_?er-=1<<_-Ge[Zr]++-1:++Ae}for(;Ae>=0&&er;--Ae){var dn=ve[Ae].s;Ge[dn]==_&&(--Ge[dn],++er)}cr=_}return[new u(Ge),cr]},le=function(z,_,H){return z.s==-1?Math.max(le(z.l,_,H+1),le(z.r,_,H+1)):_[z.s]=H},ie=function(z){for(var _=z.length;_&&!z[--_];);for(var H=new m(++_),Ae=0,Be=z[0],ve=1,Le=function(ke){H[Ae++]=ke},Re=1;Re<=_;++Re)if(z[Re]==Be&&Re!=_)++ve;else{if(!Be&&ve>2){for(;ve>138;ve-=138)Le(32754);ve>2&&(Le(ve>10?ve-11<<5|28690:ve-3<<5|12305),ve=0)}else if(ve>3){for(Le(Be),--ve;ve>6;ve-=6)Le(8304);ve>2&&(Le(ve-3<<5|8208),ve=0)}for(;ve--;)Le(Be);ve=1,Be=z[Re]}return[H.subarray(0,Ae),_]},j=function(z,_){for(var H=0,Ae=0;Ae<_.length;++Ae)H+=z[Ae]*_[Ae];return H},ue=function(z,_,H){var Ae=H.length,Be=A(_+2);z[Be]=Ae&255,z[Be+1]=Ae>>>8,z[Be+2]=z[Be]^255,z[Be+3]=z[Be+1]^255;for(var ve=0;ve<Ae;++ve)z[Be+ve+4]=H[ve];return(Be+4+Ae)*8},P=function(z,_,H,Ae,Be,ve,Le,Re,ke,it,gt){U(_,gt++,H),++Be[256];for(var Et=Y(Be,15),Mt=Et[0],Ge=Et[1],cr=Y(ve,15),er=cr[0],mr=cr[1],Kt=ie(Mt),dr=Kt[0],Zr=Kt[1],dn=ie(er),hn=dn[0],$n=dn[1],cn=new m(19),Er=0;Er<dr.length;++Er)cn[dr[Er]&31]++;for(var Er=0;Er<hn.length;++Er)cn[hn[Er]&31]++;for(var Gn=Y(cn,7),Vn=Gn[0],Xt=Gn[1],rr=19;rr>4&&!Vn[W[rr-1]];--rr);var Ur=it+5<<3,Or=j(Be,g)+j(ve,p)+Le,En=j(Be,Mt)+j(ve,er)+Le+14+3*rr+j(cn,Vn)+(2*cn[16]+3*cn[17]+7*cn[18]);if(Ur<=Or&&Ur<=En)return ue(_,gt,z.subarray(ke,ke+it));var yn,Rn,pn,Un;if(U(_,gt,1+(En<Or)),gt+=2,En<Or){yn=X(Mt,Ge,0),Rn=Mt,pn=X(er,mr,0),Un=er;var kn=X(Vn,Xt,0);U(_,gt,Zr-257),U(_,gt+5,$n-1),U(_,gt+10,rr-4),gt+=14;for(var Er=0;Er<rr;++Er)U(_,gt+3*Er,Vn[W[Er]]);gt+=3*rr;for(var Ui=[dr,hn],Ot=0;Ot<2;++Ot)for(var Ar=Ui[Ot],Er=0;Er<Ar.length;++Er){var Br=Ar[Er]&31;U(_,gt,kn[Br]),gt+=Vn[Br],Br>15&&(U(_,gt,Ar[Er]>>>5&127),gt+=Ar[Er]>>>12)}}else yn=O,Rn=g,pn=E,Un=p;for(var Er=0;Er<Re;++Er)if(Ae[Er]>255){var Br=Ae[Er]>>>18&31;F(_,gt,yn[Br+257]),gt+=Rn[Br+257],Br>7&&(U(_,gt,Ae[Er]>>>23&31),gt+=M[Br]);var Wr=Ae[Er]&31;F(_,gt,pn[Wr]),gt+=Un[Wr],Wr>3&&(F(_,gt,Ae[Er]>>>5&8191),gt+=ee[Wr])}else F(_,gt,yn[Ae[Er]]),gt+=Rn[Ae[Er]];return F(_,gt,yn[256]),gt+Rn[256]},Z=new v([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),ae=new u(0),ce=function(z,_,H,Ae,Be,ve){var Le=z.length,Re=new u(Ae+Le+5*(1+Math.floor(Le/7e3))+Be),ke=Re.subarray(Ae,Re.length-Be),it=0;if(!_||Le<8)for(var gt=0;gt<=Le;gt+=65535){var Et=gt+65535;Et<Le?it=ue(ke,it,z.subarray(gt,Et)):(ke[gt]=ve,it=ue(ke,it,z.subarray(gt,Le)))}else{for(var Mt=Z[_-1],Ge=Mt>>>13,cr=Mt&8191,er=(1<<H)-1,mr=new m(32768),Kt=new m(er+1),dr=Math.ceil(H/3),Zr=2*dr,dn=function(lo){return(z[lo]^z[lo+1]<<dr^z[lo+2]<<Zr)&er},hn=new v(25e3),$n=new m(288),cn=new m(32),Er=0,Gn=0,gt=0,Vn=0,Xt=0,rr=0;gt<Le;++gt){var Ur=dn(gt),Or=gt&32767,En=Kt[Ur];if(mr[Or]=En,Kt[Ur]=Or,Xt<=gt){var yn=Le-gt;if((Er>7e3||Vn>24576)&&yn>423){it=P(z,ke,0,hn,$n,cn,Gn,Vn,rr,gt-rr,it),Vn=Er=Gn=0,rr=gt;for(var Rn=0;Rn<286;++Rn)$n[Rn]=0;for(var Rn=0;Rn<30;++Rn)cn[Rn]=0}var pn=2,Un=0,kn=cr,Ui=Or-En&32767;if(yn>2&&Ur==dn(gt-Ui))for(var Ot=Math.min(Ge,yn)-1,Ar=Math.min(32767,gt),Br=Math.min(258,yn);Ui<=Ar&&--kn&&Or!=En;){if(z[gt+pn]==z[gt+pn-Ui]){for(var Wr=0;Wr<Br&&z[gt+Wr]==z[gt+Wr-Ui];++Wr);if(Wr>pn){if(pn=Wr,Un=Ui,Wr>Ot)break;for(var tn=Math.min(Ui,Wr-2),Nr=0,Rn=0;Rn<tn;++Rn){var gn=gt-Ui+Rn+32768&32767,wn=mr[gn],mi=gn-wn+32768&32767;mi>Nr&&(Nr=mi,En=gn)}}}Or=En,En=mr[Or],Ui+=Or-En+32768&32767}if(Un){hn[Vn++]=268435456|J[pn]<<18|L[Un];var wi=J[pn]&31,Ni=L[Un]&31;Gn+=M[wi]+ee[Ni],++$n[257+wi],++cn[Ni],Xt=gt+pn,++Er}else hn[Vn++]=z[gt],++$n[z[gt]]}}it=P(z,ke,ve,hn,$n,cn,Gn,Vn,rr,gt-rr,it),ve||(it=ue(ke,it,ae))}return w(Re,0,Ae+A(it)+Be)},be=null,pe=function(){var z=4294967295;return{p:function(_){for(var H=z,Ae=0;Ae<_.length;++Ae)H=be[H&255^_[Ae]]^H>>>8;z=H},d:function(){return z^4294967295}}},h=function(){var z=1,_=0;return{p:function(H){for(var Ae=z,Be=_,ve=H.length,Le=0;Le!=ve;){for(var Re=Math.min(Le+5552,ve);Le<Re;++Le)Ae+=H[Le],Be+=Ae;Ae%=65521,Be%=65521}z=Ae,_=Be},d:function(){return(z>>>8<<16|(_&255)<<8|_>>>8)+((z&255)<<23)*2}}},te=function(z,_,H,Ae,Be){return ce(z,_.level==null?6:_.level,_.mem==null?Math.ceil(Math.max(8,Math.min(13,Math.log(z.length)))*1.5):12+_.mem,H,Ae,!Be)},Q=function(z,_){var H={};for(var Ae in z)H[Ae]=z[Ae];for(var Ae in _)H[Ae]=_[Ae];return H},we=function(z,_,H){for(var Ae=z(),Be=z.toString(),ve=Be.slice(Be.indexOf("[")+1,Be.lastIndexOf("]")).replace(/ /g,"").split(","),Le=0;Le<Ae.length;++Le){var Re=Ae[Le],ke=ve[Le];if(typeof Re=="function"){_+=";"+ke+"=";var it=Re.toString();if(Re.prototype)if(it.indexOf("[native code]")!=-1){var gt=it.indexOf(" ",8)+1;_+=it.slice(gt,it.indexOf("(",gt))}else{_+=it;for(var Et in Re.prototype)_+=";"+ke+".prototype."+Et+"="+Re.prototype[Et].toString()}else _+=it}else H[ke]=Re}return[_,H]},Se=null,Ne=function(z){var _=[];for(var H in z)(z[H]instanceof u||z[H]instanceof m||z[H]instanceof v)&&_.push((z[H]=new z[H].constructor(z[H])).buffer);return _},ze=function(z,_,H,Ae){var Be;if(!Se[H]){for(var ve="",Le={},Re=z.length-1,ke=0;ke<Re;++ke)Be=we(z[ke],ve,Le),ve=Be[0],Le=Be[1];Se[H]=we(z[Re],ve,Le)}var it=Q({},Se[H][1]);return l(Se[H][0]+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+_.toString()+"}",H,it,Ne(it),Ae)},Je=function(){return[u,m,v,M,ee,W,S,V,I,K,c,X,d,i,x,A,w,C,Nt,xe,q]},qe=function(){return[u,m,v,M,ee,W,J,L,O,g,E,p,c,Z,ae,X,U,F,Y,le,ie,j,ue,P,A,w,ce,te,fn,xe]},Me=function(){return[Qt,Jt,Ft,pe,be]},Fe=function(){return[Vt,Gt]},Ue=function(){return[Lr,Ft,h]},he=function(){return[Rr]},xe=function(z){return postMessage(z,[z.buffer])},q=function(z){return z&&z.size&&new u(z.size)},me=function(z,_,H,Ae,Be,ve){var Le=ze(H,Ae,Be,function(Re,ke){Le.terminate(),ve(Re,ke)});return _.consume||(z=new u(z)),Le.postMessage([z,_],[z.buffer]),function(){Le.terminate()}},De=function(z){return z.ondata=function(_,H){return postMessage([_,H],[_.buffer])},function(_){return z.push(_.data[0],_.data[1])}},Te=function(z,_,H,Ae,Be){var ve,Le=ze(z,Ae,Be,function(Re,ke){Re?(Le.terminate(),_.ondata.call(_,Re)):(ke[1]&&Le.terminate(),_.ondata.call(_,Re,ke[0],ke[1]))});Le.postMessage(H),_.push=function(Re,ke){if(ve)throw"stream finished";if(!_.ondata)throw"no stream handler";Le.postMessage([Re,ve=ke],[Re.buffer])},_.terminate=function(){Le.terminate()}},Oe=function(z,_){return z[_]|z[_+1]<<8},st=function(z,_){return(z[_]|z[_+1]<<8|z[_+2]<<16)+(z[_+3]<<23)*2},Ft=function(z,_,H){for(;H;++_)z[_]=H,H>>>=8},Qt=function(z,_){var H=_.filename;if(z[0]=31,z[1]=139,z[2]=8,z[8]=_.level<2?4:_.level==9?2:0,z[9]=3,_.mtime!=0&&Ft(z,4,Math.floor(new Date(_.mtime||Date.now())/1e3)),H){z[3]=8;for(var Ae=0;Ae<=H.length;++Ae)z[Ae+10]=H.charCodeAt(Ae)}},Vt=function(z){if(z[0]!=31||z[1]!=139||z[2]!=8)throw"invalid gzip data";var _=z[3],H=10;_&4&&(H+=z[10]|(z[11]<<8)+2);for(var Ae=(_>>3&1)+(_>>4&1);Ae>0;Ae-=!z[H++]);return H+(_&2)},Gt=function(z){var _=z.length;return(z[_-4]|z[_-3]<<8|z[_-2]<<16)+2*(z[_-1]<<23)},Jt=function(z){return 10+(z.filename&&z.filename.length+1||0)},Lr=function(z,_){var H=_.level,Ae=H==0?0:H<6?1:H==9?3:2;z[0]=120,z[1]=Ae<<6|(Ae?32-2*Ae:1)},Rr=function(z){if((z[0]&15)!=8||z[0]>>>4>7||(z[0]<<8|z[1])%31)throw"invalid zlib data";if(z[1]&32)throw"invalid zlib data: preset dictionaries not supported"};function Gr(z,_){return!_&&typeof z=="function"&&(_=z,z={}),this.ondata=_,z}var zr=null,pr=null;function vn(z,_,H){if(H||(H=_,_={}),typeof H!="function")throw"no callback";return me(z,_,[qe],function(Ae){return xe(fn(Ae.data[0],Ae.data[1]))},0,H)}function fn(z,_){return _===void 0&&(_={}),te(z,_,0,0)}var Zt=null,St=null;function Wt(z,_,H){if(H||(H=_,_={}),typeof H!="function")throw"no callback";return me(z,_,[Je],function(Ae){return xe(Nt(Ae.data[0],q(Ae.data[1])))},1,H)}function Nt(z,_){return C(z,_)}var dt=null,nr=null;function et(z,_,H){if(H||(H=_,_={}),typeof H!="function")throw"no callback";return me(z,_,[qe,Me,function(){return[Tt]}],function(Ae){return xe(Tt(Ae.data[0],Ae.data[1]))},2,H)}function Tt(z,_){_===void 0&&(_={});var H=pe(),Ae=z.length;H.p(z);var Be=te(z,_,Jt(_),8),ve=Be.length;return Qt(Be,_),Ft(Be,ve-8,H.d()),Ft(Be,ve-4,Ae),Be}var Rt=null,or=null;function ir(z,_,H){if(H||(H=_,_={}),typeof H!="function")throw"no callback";return me(z,_,[Je,Fe,function(){return[Qr]}],function(Ae){return xe(Qr(Ae.data[0]))},3,H)}function Qr(z,_){return C(z.subarray(Vt(z),-8),_||new u(Gt(z)))}var ft=null,tr=null;function gr(z,_,H){if(H||(H=_,_={}),typeof H!="function")throw"no callback";return me(z,_,[qe,Ue,function(){return[ar]}],function(Ae){return xe(ar(Ae.data[0],Ae.data[1]))},4,H)}function ar(z,_){_===void 0&&(_={});var H=h();H.p(z);var Ae=te(z,_,2,4);return Lr(Ae,_),Ft(Ae,Ae.length-4,H.d()),Ae}var rt=null,kt=null;function At(z,_,H){if(H||(H=_,_={}),typeof H!="function")throw"no callback";return me(z,_,[Je,he,function(){return[qt]}],function(Ae){return xe(qt(Ae.data[0],q(Ae.data[1])))},5,H)}function qt(z,_){return C((Rr(z),z.subarray(2,-4)),_)}var sr=null,Kr=null;function kr(z,_,H){if(H||(H=_,_={}),typeof H!="function")throw"no callback";return z[0]==31&&z[1]==139&&z[2]==8?ir(z,_,H):(z[0]&15)!=8||z[0]>>4>7||(z[0]<<8|z[1])%31?Wt(z,_,H):At(z,_,H)}function nn(z,_){return z[0]==31&&z[1]==139&&z[2]==8?Qr(z,_):(z[0]&15)!=8||z[0]>>4>7||(z[0]<<8|z[1])%31?Nt(z,_):qt(z,_)}var on=function(z,_,H,Ae){for(var Be in z){var ve=z[Be],Le=_+Be;ve instanceof u?H[Le]=[ve,Ae]:Array.isArray(ve)?H[Le]=[ve[0],Q(Ae,ve[1])]:on(ve,Le+"/",H,Ae)}};function vr(z,_){var H=z.length;if(!_&&typeof TextEncoder!="undefined")return new TextEncoder().encode(z);for(var Ae=new u(z.length+(z.length>>>1)),Be=0,ve=function(it){Ae[Be++]=it},Le=0;Le<H;++Le){if(Be+5>Ae.length){var Re=new u(Be+8+(H-Le<<1));Re.set(Ae),Ae=Re}var ke=z.charCodeAt(Le);ke<128||_?ve(ke):ke<2048?(ve(192|ke>>>6),ve(128|ke&63)):ke>55295&&ke<57344?(ke=65536+(ke&1047552)|z.charCodeAt(++Le)&1023,ve(240|ke>>>18),ve(128|ke>>>12&63),ve(128|ke>>>6&63),ve(128|ke&63)):(ve(224|ke>>>12),ve(128|ke>>>6&63),ve(128|ke&63))}return w(Ae,0,Be)}function Dr(z,_){var H="";if(!_&&typeof TextDecoder!="undefined")return new TextDecoder().decode(z);for(var Ae=0;Ae<z.length;){var Be=z[Ae++];Be<128||_?H+=String.fromCharCode(Be):Be<224?H+=String.fromCharCode((Be&31)<<6|z[Ae++]&63):Be<240?H+=String.fromCharCode((Be&15)<<12|(z[Ae++]&63)<<6|z[Ae++]&63):(Be=((Be&15)<<18|(z[Ae++]&63)<<12|(z[Ae++]&63)<<6|z[Ae++]&63)-65536,H+=String.fromCharCode(55296|Be>>10,56320|Be&1023))}return H}var _r=function(z,_){return _+30+Oe(z,_+26)+Oe(z,_+28)},Hr=function(z,_,H){var Ae=Oe(z,_+28),Be=Dr(z.subarray(_+46,_+46+Ae),!(Oe(z,_+8)&2048)),ve=_+46+Ae,Le=H?Pr(z,ve):[st(z,_+20),st(z,_+24),st(z,_+42)],Re=Le[0],ke=Le[1],it=Le[2];return[Oe(z,_+10),Re,ke,Be,ve+Oe(z,_+30)+Oe(z,_+32),it]},Pr=function(z,_){for(;Oe(z,_)!=1;_+=4+Oe(z,_+2));return[st(z,_+12),st(z,_+4),st(z,_+20)]},un=function(z,_,H,Ae,Be,ve,Le,Re,ke,it){var gt=ve.length,Et=Ae.length;Ft(z,_,ke!=null?33639248:67324752),_+=4,ke!=null&&(z[_]=20,_+=2),z[_]=20,_+=2,z[_++]=it==8&&(Re.level==1?6:Re.level<6?4:Re.level==9?2:0),z[_++]=Le&&8,z[_]=it,_+=2;var Mt=new Date(Re.mtime||Date.now()),Ge=Mt.getFullYear()-1980;if(Ge<0||Ge>119)throw"date not in range 1980-2099";Ft(z,_,(Ge<<24)*2|Mt.getMonth()+1<<21|Mt.getDate()<<16|Mt.getHours()<<11|Mt.getMinutes()<<5|Mt.getSeconds()>>>1),_+=4,Ft(z,_,H),Ft(z,_+4,Et),Ft(z,_+8,Be),Ft(z,_+12,gt),_+=16,ke!=null&&(Ft(z,_+=10,ke),_+=4),z.set(ve,_),_+=gt,ke==null&&z.set(Ae,_)},Zn=function(z,_,H,Ae,Be){Ft(z,_,101010256),Ft(z,_+8,H),Ft(z,_+10,H),Ft(z,_+12,Ae),Ft(z,_+16,Be)};function Jn(z,_,H){if(H||(H=_,_={}),typeof H!="function")throw"no callback";var Ae={};on(z,"",Ae,_);var Be=Object.keys(Ae),ve=Be.length,Le=0,Re=0,ke=ve,it=new Array(ve),gt=[],Et=function(){for(var er=0;er<gt.length;++er)gt[er]()},Mt=function(){var er=new u(Re+22),mr=Le,Kt=Re-Le;Re=0;for(var dr=0;dr<ke;++dr){var Zr=it[dr];try{un(er,Re,Zr.c,Zr.d,Zr.m,Zr.n,Zr.u,Zr.p,null,Zr.t),un(er,Le,Zr.c,Zr.d,Zr.m,Zr.n,Zr.u,Zr.p,Re,Zr.t),Le+=46+Zr.n.length,Re+=30+Zr.n.length+Zr.d.length}catch(dn){return H(dn,null)}}Zn(er,Le,it.length,Kt,mr),H(null,er)};ve||Mt();for(var Ge=function(er){var mr=Be[er],Kt=Ae[mr],dr=Kt[0],Zr=Kt[1],dn=pe(),hn=dr.length;dn.p(dr);var $n=vr(mr),cn=$n.length,Er=Zr.level==0?0:8,Gn=function(Vn,Xt){if(Vn)Et(),H(Vn,null);else{var rr=Xt.length;it[er]={t:Er,d:Xt,m:hn,c:dn.d(),u:mr.length!=rr,n:$n,p:Zr},Le+=30+cn+rr,Re+=76+2*cn+rr,--ve||Mt()}};if($n.length>65535&&Gn("filename too long",null),!Er)Gn(null,dr);else if(hn<16e4)try{Gn(null,fn(dr,Zr))}catch(Vn){Gn(Vn,null)}else gt.push(vn(dr,Zr,Gn))},cr=0;cr<ke;++cr)Ge(cr);return Et}function Dn(z,_){_===void 0&&(_={});var H={},Ae=[];on(z,"",H,_);var Be=0,ve=0;for(var Le in H){var Re=H[Le],ke=Re[0],it=Re[1],gt=it.level==0?0:8,Et=vr(Le),Mt=Et.length;if(Et.length>65535)throw"filename too long";var Ge=gt?fn(ke,it):ke,cr=Ge.length,er=pe();er.p(ke),Ae.push({t:gt,d:Ge,m:ke.length,c:er.d(),u:Le.length!=Mt,n:Et,o:Be,p:it}),Be+=30+Mt+cr,ve+=76+2*Mt+cr}for(var mr=new u(ve+22),Kt=Be,dr=ve-Be,Zr=0;Zr<Ae.length;++Zr){var dn=Ae[Zr];un(mr,dn.o,dn.c,dn.d,dn.m,dn.n,dn.u,dn.p,null,dn.t),un(mr,Be,dn.c,dn.d,dn.m,dn.n,dn.u,dn.p,dn.o,dn.t),Be+=46+dn.n.length}return Zn(mr,Be,Ae.length,dr,Kt),mr}function qn(z,_){if(typeof _!="function")throw"no callback";for(var H=[],Ae=function(){for(var Mt=0;Mt<H.length;++Mt)H[Mt]()},Be={},ve=z.length-22;st(z,ve)!=101010256;--ve)if(!ve||z.length-ve>65558){_("invalid zip file",null);return}var Le=Oe(z,ve+8);Le||_(null,{});var Re=Le,ke=st(z,ve+16),it=ke==4294967295;if(it){if(ve=st(z,ve-12),st(z,ve)!=101075792)throw"invalid zip file";Re=Le=st(z,ve+32),ke=st(z,ve+48)}for(var gt=function(Mt){var Ge=Hr(z,ke,it),cr=Ge[0],er=Ge[1],mr=Ge[2],Kt=Ge[3],dr=Ge[4],Zr=Ge[5],dn=_r(z,Zr);ke=dr;var hn=function(cn,Er){cn?(Ae(),_(cn,null)):(Be[Kt]=Er,--Le||_(null,Be))};if(!cr)hn(null,w(z,dn,dn+er));else if(cr==8){var $n=z.subarray(dn,dn+er);if(er<32e4)try{hn(null,Nt($n,new u(mr)))}catch(cn){hn(cn,null)}else H.push(Wt($n,{size:mr},hn))}else hn("unknown compression type "+cr,null)},Et=0;Et<Re;++Et)gt(Et);return Ae}function lr(z){for(var _={},H=z.length-22;st(z,H)!=101010256;--H)if(!H||z.length-H>65558)throw"invalid zip file";var Ae=Oe(z,H+8);if(!Ae)return{};var Be=st(z,H+16),ve=Be==4294967295;if(ve){if(H=st(z,H-12),st(z,H)!=101075792)throw"invalid zip file";Ae=st(z,H+32),Be=st(z,H+48)}for(var Le=0;Le<Ae;++Le){var Re=Hr(z,Be,ve),ke=Re[0],it=Re[1],gt=Re[2],Et=Re[3],Mt=Re[4],Ge=Re[5],cr=_r(z,Ge);if(Be=Mt,!ke)_[Et]=w(z,cr,cr+it);else if(ke==8)_[Et]=Nt(z.subarray(cr,cr+it),new u(gt));else throw"unknown compression type "+ke}return _}/** @license
 *
 * jsPDF - PDF Document creation from JavaScript
 * Version 2.5.1 Built on 2022-01-28T15:37:57.791Z
 *                      CommitID 00000000
 *
 * Copyright (c) 2010-2021 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
 *               2015-2021 yWorks GmbH, http://www.yworks.com
 *               2015-2021 Lukas Holländer <lukas.hollaender@yworks.com>, https://github.com/HackbrettXXX
 *               2016-2018 Aras Abbasi <aras.abbasi@gmail.com>
 *               2010 Aaron Spike, https://github.com/acspike
 *               2012 Willow Systems Corporation, https://github.com/willowsystems
 *               2012 Pablo Hess, https://github.com/pablohess
 *               2012 Florian Jenett, https://github.com/fjenett
 *               2013 Warren Weckesser, https://github.com/warrenweckesser
 *               2013 Youssef Beddad, https://github.com/lifof
 *               2013 Lee Driscoll, https://github.com/lsdriscoll
 *               2013 Stefan Slonevskiy, https://github.com/stefslon
 *               2013 Jeremy Morel, https://github.com/jmorel
 *               2013 Christoph Hartmann, https://github.com/chris-rock
 *               2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
 *               2014 James Makes, https://github.com/dollaruw
 *               2014 Diego Casorran, https://github.com/diegocr
 *               2014 Steven Spungin, https://github.com/Flamenco
 *               2014 Kenneth Glassey, https://github.com/Gavvers
 *
 * Permission is hereby granted, free of charge, to any person obtaining
 * a copy of this software and associated documentation files (the
 * "Software"), to deal in the Software without restriction, including
 * without limitation the rights to use, copy, modify, merge, publish,
 * distribute, sublicense, and/or sell copies of the Software, and to
 * permit persons to whom the Software is furnished to do so, subject to
 * the following conditions:
 *
 * The above copyright notice and this permission notice shall be
 * included in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 *
 * Contributor(s):
 *    siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango,
 *    kim3er, mfo, alnorth, Flamenco
 */var Yr=function(){return typeof window!="undefined"?window:typeof t.g!="undefined"?t.g:typeof self!="undefined"?self:this}();function Yn(){Yr.console&&typeof Yr.console.log=="function"&&Yr.console.log.apply(Yr.console,arguments)}var ti={log:Yn,warn:function(z){Yr.console&&(typeof Yr.console.warn=="function"?Yr.console.warn.apply(Yr.console,arguments):Yn.call(null,arguments))},error:function(z){Yr.console&&(typeof Yr.console.error=="function"?Yr.console.error.apply(Yr.console,arguments):Yn(z))}};function Wi(z,_,H){var Ae=new XMLHttpRequest;Ae.open("GET",z),Ae.responseType="blob",Ae.onload=function(){Pt(Ae.response,_,H)},Ae.onerror=function(){ti.error("could not download file")},Ae.send()}function _t(z){var _=new XMLHttpRequest;_.open("HEAD",z,!1);try{_.send()}catch(H){}return _.status>=200&&_.status<=299}function Ct(z){try{z.dispatchEvent(new MouseEvent("click"))}catch(H){var _=document.createEvent("MouseEvents");_.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),z.dispatchEvent(_)}}var mt,br,Pt=Yr.saveAs||((typeof window=="undefined"?"undefined":(0,n.Z)(window))!=="object"||window!==Yr?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(z,_,H){var Ae=Yr.URL||Yr.webkitURL,Be=document.createElement("a");_=_||z.name||"download",Be.download=_,Be.rel="noopener",typeof z=="string"?(Be.href=z,Be.origin!==location.origin?_t(Be.href)?Wi(z,_,H):Ct(Be,Be.target="_blank"):Ct(Be)):(Be.href=Ae.createObjectURL(z),setTimeout(function(){Ae.revokeObjectURL(Be.href)},4e4),setTimeout(function(){Ct(Be)},0))}:"msSaveOrOpenBlob"in navigator?function(z,_,H){if(_=_||z.name||"download",typeof z=="string")if(_t(z))Wi(z,_,H);else{var Ae=document.createElement("a");Ae.href=z,Ae.target="_blank",setTimeout(function(){Ct(Ae)})}else navigator.msSaveOrOpenBlob(function(Be,ve){return ve===void 0?ve={autoBom:!1}:(0,n.Z)(ve)!=="object"&&(ti.warn("Deprecated: Expected third argument to be a object"),ve={autoBom:!ve}),ve.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(Be.type)?new Blob([String.fromCharCode(65279),Be],{type:Be.type}):Be}(z,H),_)}:function(z,_,H,Ae){if((Ae=Ae||open("","_blank"))&&(Ae.document.title=Ae.document.body.innerText="downloading..."),typeof z=="string")return Wi(z,_,H);var Be=z.type==="application/octet-stream",ve=/constructor/i.test(Yr.HTMLElement)||Yr.safari,Le=/CriOS\/[\d]+/.test(navigator.userAgent);if((Le||Be&&ve)&&(typeof FileReader=="undefined"?"undefined":(0,n.Z)(FileReader))==="object"){var Re=new FileReader;Re.onloadend=function(){var gt=Re.result;gt=Le?gt:gt.replace(/^data:[^;]*;/,"data:attachment/file;"),Ae?Ae.location.href=gt:location=gt,Ae=null},Re.readAsDataURL(z)}else{var ke=Yr.URL||Yr.webkitURL,it=ke.createObjectURL(z);Ae?Ae.location=it:location.href=it,Ae=null,setTimeout(function(){ke.revokeObjectURL(it)},4e4)}});/**
 * A class to parse color values
 * @author Stoyan Stefanov <sstoo@gmail.com>
 * {@link   http://www.phpied.com/rgb-color-parser-in-javascript/}
 * @license Use it if you like it
 */function qr(z){var _;z=z||"",this.ok=!1,z.charAt(0)=="#"&&(z=z.substr(1,6)),z={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[z=(z=z.replace(/ /g,"")).toLowerCase()]||z;for(var H=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(Re){return[parseInt(Re[1]),parseInt(Re[2]),parseInt(Re[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(Re){return[parseInt(Re[1],16),parseInt(Re[2],16),parseInt(Re[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(Re){return[parseInt(Re[1]+Re[1],16),parseInt(Re[2]+Re[2],16),parseInt(Re[3]+Re[3],16)]}}],Ae=0;Ae<H.length;Ae++){var Be=H[Ae].re,ve=H[Ae].process,Le=Be.exec(z);Le&&(_=ve(Le),this.r=_[0],this.g=_[1],this.b=_[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var Re=this.r.toString(16),ke=this.g.toString(16),it=this.b.toString(16);return Re.length==1&&(Re="0"+Re),ke.length==1&&(ke="0"+ke),it.length==1&&(it="0"+it),"#"+Re+ke+it}}/**
 * @license
 * Joseph Myers does not specify a particular license for his work.
 *
 * Author: Joseph Myers
 * Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js
 *
 * Modified by: Owen Leong
 */function mn(z,_){var H=z[0],Ae=z[1],Be=z[2],ve=z[3];H=Vr(H,Ae,Be,ve,_[0],7,-680876936),ve=Vr(ve,H,Ae,Be,_[1],12,-389564586),Be=Vr(Be,ve,H,Ae,_[2],17,606105819),Ae=Vr(Ae,Be,ve,H,_[3],22,-1044525330),H=Vr(H,Ae,Be,ve,_[4],7,-176418897),ve=Vr(ve,H,Ae,Be,_[5],12,1200080426),Be=Vr(Be,ve,H,Ae,_[6],17,-1473231341),Ae=Vr(Ae,Be,ve,H,_[7],22,-45705983),H=Vr(H,Ae,Be,ve,_[8],7,1770035416),ve=Vr(ve,H,Ae,Be,_[9],12,-1958414417),Be=Vr(Be,ve,H,Ae,_[10],17,-42063),Ae=Vr(Ae,Be,ve,H,_[11],22,-1990404162),H=Vr(H,Ae,Be,ve,_[12],7,1804603682),ve=Vr(ve,H,Ae,Be,_[13],12,-40341101),Be=Vr(Be,ve,H,Ae,_[14],17,-1502002290),H=Fn(H,Ae=Vr(Ae,Be,ve,H,_[15],22,1236535329),Be,ve,_[1],5,-165796510),ve=Fn(ve,H,Ae,Be,_[6],9,-1069501632),Be=Fn(Be,ve,H,Ae,_[11],14,643717713),Ae=Fn(Ae,Be,ve,H,_[0],20,-373897302),H=Fn(H,Ae,Be,ve,_[5],5,-701558691),ve=Fn(ve,H,Ae,Be,_[10],9,38016083),Be=Fn(Be,ve,H,Ae,_[15],14,-660478335),Ae=Fn(Ae,Be,ve,H,_[4],20,-405537848),H=Fn(H,Ae,Be,ve,_[9],5,568446438),ve=Fn(ve,H,Ae,Be,_[14],9,-1019803690),Be=Fn(Be,ve,H,Ae,_[3],14,-187363961),Ae=Fn(Ae,Be,ve,H,_[8],20,1163531501),H=Fn(H,Ae,Be,ve,_[13],5,-1444681467),ve=Fn(ve,H,Ae,Be,_[2],9,-51403784),Be=Fn(Be,ve,H,Ae,_[7],14,1735328473),H=An(H,Ae=Fn(Ae,Be,ve,H,_[12],20,-1926607734),Be,ve,_[5],4,-378558),ve=An(ve,H,Ae,Be,_[8],11,-2022574463),Be=An(Be,ve,H,Ae,_[11],16,1839030562),Ae=An(Ae,Be,ve,H,_[14],23,-35309556),H=An(H,Ae,Be,ve,_[1],4,-1530992060),ve=An(ve,H,Ae,Be,_[4],11,1272893353),Be=An(Be,ve,H,Ae,_[7],16,-155497632),Ae=An(Ae,Be,ve,H,_[10],23,-1094730640),H=An(H,Ae,Be,ve,_[13],4,681279174),ve=An(ve,H,Ae,Be,_[0],11,-358537222),Be=An(Be,ve,H,Ae,_[3],16,-722521979),Ae=An(Ae,Be,ve,H,_[6],23,76029189),H=An(H,Ae,Be,ve,_[9],4,-640364487),ve=An(ve,H,Ae,Be,_[12],11,-421815835),Be=An(Be,ve,H,Ae,_[15],16,530742520),H=zn(H,Ae=An(Ae,Be,ve,H,_[2],23,-995338651),Be,ve,_[0],6,-198630844),ve=zn(ve,H,Ae,Be,_[7],10,1126891415),Be=zn(Be,ve,H,Ae,_[14],15,-1416354905),Ae=zn(Ae,Be,ve,H,_[5],21,-57434055),H=zn(H,Ae,Be,ve,_[12],6,1700485571),ve=zn(ve,H,Ae,Be,_[3],10,-1894986606),Be=zn(Be,ve,H,Ae,_[10],15,-1051523),Ae=zn(Ae,Be,ve,H,_[1],21,-2054922799),H=zn(H,Ae,Be,ve,_[8],6,1873313359),ve=zn(ve,H,Ae,Be,_[15],10,-30611744),Be=zn(Be,ve,H,Ae,_[6],15,-1560198380),Ae=zn(Ae,Be,ve,H,_[13],21,1309151649),H=zn(H,Ae,Be,ve,_[4],6,-145523070),ve=zn(ve,H,Ae,Be,_[11],10,-1120210379),Be=zn(Be,ve,H,Ae,_[2],15,718787259),Ae=zn(Ae,Be,ve,H,_[9],21,-343485551),z[0]=ao(H,z[0]),z[1]=ao(Ae,z[1]),z[2]=ao(Be,z[2]),z[3]=ao(ve,z[3])}function In(z,_,H,Ae,Be,ve){return _=ao(ao(_,z),ao(Ae,ve)),ao(_<<Be|_>>>32-Be,H)}function Vr(z,_,H,Ae,Be,ve,Le){return In(_&H|~_&Ae,z,_,Be,ve,Le)}function Fn(z,_,H,Ae,Be,ve,Le){return In(_&Ae|H&~Ae,z,_,Be,ve,Le)}function An(z,_,H,Ae,Be,ve,Le){return In(_^H^Ae,z,_,Be,ve,Le)}function zn(z,_,H,Ae,Be,ve,Le){return In(H^(_|~Ae),z,_,Be,ve,Le)}function bi(z){var _,H=z.length,Ae=[1732584193,-271733879,-1732584194,271733878];for(_=64;_<=z.length;_+=64)mn(Ae,Si(z.substring(_-64,_)));z=z.substring(_-64);var Be=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(_=0;_<z.length;_++)Be[_>>2]|=z.charCodeAt(_)<<(_%4<<3);if(Be[_>>2]|=128<<(_%4<<3),_>55)for(mn(Ae,Be),_=0;_<16;_++)Be[_]=0;return Be[14]=8*H,mn(Ae,Be),Ae}function Si(z){var _,H=[];for(_=0;_<64;_+=4)H[_>>2]=z.charCodeAt(_)+(z.charCodeAt(_+1)<<8)+(z.charCodeAt(_+2)<<16)+(z.charCodeAt(_+3)<<24);return H}mt=Yr.atob.bind(Yr),br=Yr.btoa.bind(Yr);var bo="0123456789abcdef".split("");function Fi(z){for(var _="",H=0;H<4;H++)_+=bo[z>>8*H+4&15]+bo[z>>8*H&15];return _}function mo(z){return String.fromCharCode((255&z)>>0,(65280&z)>>8,(16711680&z)>>16,(4278190080&z)>>24)}function _o(z){return bi(z).map(mo).join("")}var Ti=function(z){for(var _=0;_<z.length;_++)z[_]=Fi(z[_]);return z.join("")}(bi("hello"))!="5d41402abc4b2a76b9719d911017c592";function ao(z,_){if(Ti){var H=(65535&z)+(65535&_);return(z>>16)+(_>>16)+(H>>16)<<16|65535&H}return z+_&4294967295}/**
 * @license
 * FPDF is released under a permissive license: there is no usage restriction.
 * You may embed it freely in your application (commercial or not), with or
 * without modifications.
 *
 * Reference: http://www.fpdf.org/en/script/script37.php
 */function no(z,_){var H,Ae,Be,ve;if(z!==H){for(var Le=(Be=z,ve=1+(256/z.length>>0),new Array(ve+1).join(Be)),Re=[],ke=0;ke<256;ke++)Re[ke]=ke;var it=0;for(ke=0;ke<256;ke++){var gt=Re[ke];it=(it+gt+Le.charCodeAt(ke))%256,Re[ke]=Re[it],Re[it]=gt}H=z,Ae=Re}else Re=Ae;var Et=_.length,Mt=0,Ge=0,cr="";for(ke=0;ke<Et;ke++)Ge=(Ge+(gt=Re[Mt=(Mt+1)%256]))%256,Re[Mt]=Re[Ge],Re[Ge]=gt,Le=Re[(Re[Mt]+Re[Ge])%256],cr+=String.fromCharCode(_.charCodeAt(ke)^Le);return cr}/**
 * @license
 * Licensed under the MIT License.
 * http://opensource.org/licenses/mit-license
 * Author: Owen Leong (@owenl131)
 * Date: 15 Oct 2020
 * References:
 * https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
 * https://github.com/foliojs/pdfkit/blob/master/lib/security.js
 * http://www.fpdf.org/en/script/script37.php
 */var Ir={print:4,modify:8,copy:16,"annot-forms":32};function je(z,_,H,Ae){this.v=1,this.r=2;var Be=192;z.forEach(function(Re){if(Ir.perm!==void 0)throw new Error("Invalid permission: "+Re);Be+=Ir[Re]}),this.padding="(\xBFN^Nu\x8AAd\0NV\xFF\xFA\b..\0\xB6\xD0h>\x80/\f\xA9\xFEdSiz";var ve=(_+this.padding).substr(0,32),Le=(H+this.padding).substr(0,32);this.O=this.processOwnerPassword(ve,Le),this.P=-(1+(255^Be)),this.encryptionKey=_o(ve+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(Ae)).substr(0,5),this.U=no(this.encryptionKey,this.padding)}function Ke(z){if(/[^\u0000-\u00ff]/.test(z))throw new Error("Invalid PDF Name Object: "+z+", Only accept ASCII characters.");for(var _="",H=z.length,Ae=0;Ae<H;Ae++){var Be=z.charCodeAt(Ae);Be<33||Be===35||Be===37||Be===40||Be===41||Be===47||Be===60||Be===62||Be===91||Be===93||Be===123||Be===125||Be>126?_+="#"+("0"+Be.toString(16)).slice(-2):_+=z[Ae]}return _}function ht(z){if((0,n.Z)(z)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var _={};this.subscribe=function(H,Ae,Be){if(Be=Be||!1,typeof H!="string"||typeof Ae!="function"||typeof Be!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");_.hasOwnProperty(H)||(_[H]={});var ve=Math.random().toString(35);return _[H][ve]=[Ae,!!Be],ve},this.unsubscribe=function(H){for(var Ae in _)if(_[Ae][H])return delete _[Ae][H],Object.keys(_[Ae]).length===0&&delete _[Ae],!0;return!1},this.publish=function(H){if(_.hasOwnProperty(H)){var Ae=Array.prototype.slice.call(arguments,1),Be=[];for(var ve in _[H]){var Le=_[H][ve];try{Le[0].apply(z,Ae)}catch(Re){Yr.console&&ti.error("jsPDF PubSub Error",Re.message,Re)}Le[1]&&Be.push(ve)}Be.length&&Be.forEach(this.unsubscribe)}},this.getTopics=function(){return _}}function Bt(z){if(!(this instanceof Bt))return new Bt(z);var _="opacity,stroke-opacity".split(",");for(var H in z)z.hasOwnProperty(H)&&_.indexOf(H)>=0&&(this[H]=z[H]);this.id="",this.objectNumber=-1}function Dt(z,_){this.gState=z,this.matrix=_,this.id="",this.objectNumber=-1}function Yt(z,_,H,Ae,Be){if(!(this instanceof Yt))return new Yt(z,_,H,Ae,Be);this.type=z==="axial"?2:3,this.coords=_,this.colors=H,Dt.call(this,Ae,Be)}function yr(z,_,H,Ae,Be){if(!(this instanceof yr))return new yr(z,_,H,Ae,Be);this.boundingBox=z,this.xStep=_,this.yStep=H,this.stream="",this.cloneIndex=0,Dt.call(this,Ae,Be)}function zt(z){var _,H=typeof arguments[0]=="string"?arguments[0]:"p",Ae=arguments[1],Be=arguments[2],ve=arguments[3],Le=[],Re=1,ke=16,it="S",gt=null;(0,n.Z)(z=z||{})==="object"&&(H=z.orientation,Ae=z.unit||Ae,Be=z.format||Be,ve=z.compress||z.compressPdf||ve,(gt=z.encryption||null)!==null&&(gt.userPassword=gt.userPassword||"",gt.ownerPassword=gt.ownerPassword||"",gt.userPermissions=gt.userPermissions||[]),Re=typeof z.userUnit=="number"?Math.abs(z.userUnit):1,z.precision!==void 0&&(_=z.precision),z.floatPrecision!==void 0&&(ke=z.floatPrecision),it=z.defaultPathOperation||"S"),Le=z.filters||(ve===!0?["FlateEncode"]:Le),Ae=Ae||"mm",H=(""+(H||"P")).toLowerCase();var Et=z.putOnlyUsedFonts||!1,Mt={},Ge={internal:{},__private__:{}};Ge.__private__.PubSub=ht;var cr="1.3",er=Ge.__private__.getPdfVersion=function(){return cr};Ge.__private__.setPdfVersion=function(Ee){cr=Ee};var mr={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};Ge.__private__.getPageFormats=function(){return mr};var Kt=Ge.__private__.getPageFormat=function(Ee){return mr[Ee]};Be=Be||"a4";var dr={COMPAT:"compat",ADVANCED:"advanced"},Zr=dr.COMPAT;function dn(){this.saveGraphicsState(),Cr(new To(Hi,0,0,-Hi,0,Hs()*Hi).toString()+" cm"),this.setFontSize(this.getFontSize()/Hi),it="n",Zr=dr.ADVANCED}function hn(){this.restoreGraphicsState(),it="S",Zr=dr.COMPAT}var $n=Ge.__private__.combineFontStyleAndFontWeight=function(Ee,ct){if(Ee=="bold"&&ct=="normal"||Ee=="bold"&&ct==400||Ee=="normal"&&ct=="italic"||Ee=="bold"&&ct=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return ct&&(Ee=ct==400||ct==="normal"?Ee==="italic"?"italic":"normal":ct!=700&&ct!=="bold"||Ee!=="normal"?(ct==700?"bold":ct)+""+Ee:"bold"),Ee};Ge.advancedAPI=function(Ee){var ct=Zr===dr.COMPAT;return ct&&dn.call(this),typeof Ee!="function"||(Ee(this),ct&&hn.call(this)),this},Ge.compatAPI=function(Ee){var ct=Zr===dr.ADVANCED;return ct&&hn.call(this),typeof Ee!="function"||(Ee(this),ct&&dn.call(this)),this},Ge.isAdvancedAPI=function(){return Zr===dr.ADVANCED};var cn,Er=function(Ee){if(Zr!==dr.ADVANCED)throw new Error(Ee+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},Gn=Ge.roundToPrecision=Ge.__private__.roundToPrecision=function(Ee,ct){var ur=_||ct;if(isNaN(Ee)||isNaN(ur))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return Ee.toFixed(ur).replace(/0+$/,"")};cn=Ge.hpf=Ge.__private__.hpf=typeof ke=="number"?function(Ee){if(isNaN(Ee))throw new Error("Invalid argument passed to jsPDF.hpf");return Gn(Ee,ke)}:ke==="smart"?function(Ee){if(isNaN(Ee))throw new Error("Invalid argument passed to jsPDF.hpf");return Gn(Ee,Ee>-1&&Ee<1?16:5)}:function(Ee){if(isNaN(Ee))throw new Error("Invalid argument passed to jsPDF.hpf");return Gn(Ee,16)};var Vn=Ge.f2=Ge.__private__.f2=function(Ee){if(isNaN(Ee))throw new Error("Invalid argument passed to jsPDF.f2");return Gn(Ee,2)},Xt=Ge.__private__.f3=function(Ee){if(isNaN(Ee))throw new Error("Invalid argument passed to jsPDF.f3");return Gn(Ee,3)},rr=Ge.scale=Ge.__private__.scale=function(Ee){if(isNaN(Ee))throw new Error("Invalid argument passed to jsPDF.scale");return Zr===dr.COMPAT?Ee*Hi:Zr===dr.ADVANCED?Ee:void 0},Ur=function(Ee){return Zr===dr.COMPAT?Hs()-Ee:Zr===dr.ADVANCED?Ee:void 0},Or=function(Ee){return rr(Ur(Ee))};Ge.__private__.setPrecision=Ge.setPrecision=function(Ee){typeof parseInt(Ee,10)=="number"&&(_=parseInt(Ee,10))};var En,yn="00000000000000000000000000000000",Rn=Ge.__private__.getFileId=function(){return yn},pn=Ge.__private__.setFileId=function(Ee){return yn=Ee!==void 0&&/^[a-fA-F0-9]{32}$/.test(Ee)?Ee.toUpperCase():yn.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),gt!==null&&($o=new je(gt.userPermissions,gt.userPassword,gt.ownerPassword,yn)),yn};Ge.setFileId=function(Ee){return pn(Ee),this},Ge.getFileId=function(){return Rn()};var Un=Ge.__private__.convertDateToPDFDate=function(Ee){var ct=Ee.getTimezoneOffset(),ur=ct<0?"+":"-",Mr=Math.floor(Math.abs(ct/60)),en=Math.abs(ct%60),bn=[ur,Br(Mr),"'",Br(en),"'"].join("");return["D:",Ee.getFullYear(),Br(Ee.getMonth()+1),Br(Ee.getDate()),Br(Ee.getHours()),Br(Ee.getMinutes()),Br(Ee.getSeconds()),bn].join("")},kn=Ge.__private__.convertPDFDateToDate=function(Ee){var ct=parseInt(Ee.substr(2,4),10),ur=parseInt(Ee.substr(6,2),10)-1,Mr=parseInt(Ee.substr(8,2),10),en=parseInt(Ee.substr(10,2),10),bn=parseInt(Ee.substr(12,2),10),ei=parseInt(Ee.substr(14,2),10);return new Date(ct,ur,Mr,en,bn,ei,0)},Ui=Ge.__private__.setCreationDate=function(Ee){var ct;if(Ee===void 0&&(Ee=new Date),Ee instanceof Date)ct=Un(Ee);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(Ee))throw new Error("Invalid argument passed to jsPDF.setCreationDate");ct=Ee}return En=ct},Ot=Ge.__private__.getCreationDate=function(Ee){var ct=En;return Ee==="jsDate"&&(ct=kn(En)),ct};Ge.setCreationDate=function(Ee){return Ui(Ee),this},Ge.getCreationDate=function(Ee){return Ot(Ee)};var Ar,Br=Ge.__private__.padd2=function(Ee){return("0"+parseInt(Ee)).slice(-2)},Wr=Ge.__private__.padd2Hex=function(Ee){return("00"+(Ee=Ee.toString())).substr(Ee.length)},tn=0,Nr=[],gn=[],wn=0,mi=[],wi=[],Ni=!1,Gi=gn,lo=function(){tn=0,wn=0,gn=[],Nr=[],mi=[],Es=Sa(),ol=Sa()};Ge.__private__.setCustomOutputDestination=function(Ee){Ni=!0,Gi=Ee};var _n=function(Ee){Ni||(Gi=Ee)};Ge.__private__.resetCustomOutputDestination=function(){Ni=!1,Gi=gn};var Cr=Ge.__private__.out=function(Ee){return Ee=Ee.toString(),wn+=Ee.length+1,Gi.push(Ee),Gi},Ei=Ge.__private__.write=function(Ee){return Cr(arguments.length===1?Ee.toString():Array.prototype.join.call(arguments," "))},vo=Ge.__private__.getArrayBuffer=function(Ee){for(var ct=Ee.length,ur=new ArrayBuffer(ct),Mr=new Uint8Array(ur);ct--;)Mr[ct]=Ee.charCodeAt(ct);return ur},di=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];Ge.__private__.getStandardFonts=function(){return di};var ri=z.fontSize||16;Ge.__private__.setFontSize=Ge.setFontSize=function(Ee){return ri=Zr===dr.ADVANCED?Ee/Hi:Ee,this};var gi,Bi=Ge.__private__.getFontSize=Ge.getFontSize=function(){return Zr===dr.COMPAT?ri:ri*Hi},eo=z.R2L||!1;Ge.__private__.setR2L=Ge.setR2L=function(Ee){return eo=Ee,this},Ge.__private__.getR2L=Ge.getR2L=function(){return eo};var io,Go=Ge.__private__.setZoomMode=function(Ee){var ct=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(Ee))gi=Ee;else if(isNaN(Ee)){if(ct.indexOf(Ee)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+Ee+'" is not recognized.');gi=Ee}else gi=parseInt(Ee,10)};Ge.__private__.getZoomMode=function(){return gi};var Co,No=Ge.__private__.setPageMode=function(Ee){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(Ee)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+Ee+'" is not recognized.');io=Ee};Ge.__private__.getPageMode=function(){return io};var Oa=Ge.__private__.setLayoutMode=function(Ee){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(Ee)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+Ee+'" is not recognized.');Co=Ee};Ge.__private__.getLayoutMode=function(){return Co},Ge.__private__.setDisplayMode=Ge.setDisplayMode=function(Ee,ct,ur){return Go(Ee),Oa(ct),No(ur),this};var Xo={title:"",subject:"",author:"",keywords:"",creator:""};Ge.__private__.getDocumentProperty=function(Ee){if(Object.keys(Xo).indexOf(Ee)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Xo[Ee]},Ge.__private__.getDocumentProperties=function(){return Xo},Ge.__private__.setDocumentProperties=Ge.setProperties=Ge.setDocumentProperties=function(Ee){for(var ct in Xo)Xo.hasOwnProperty(ct)&&Ee[ct]&&(Xo[ct]=Ee[ct]);return this},Ge.__private__.setDocumentProperty=function(Ee,ct){if(Object.keys(Xo).indexOf(Ee)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Xo[Ee]=ct};var ya,Hi,Ss,Jo,os,ca={},Ga={},gl=[],Da={},Ri={},Aa={},ms={},ml=null,us=0,ea=[],La=new ht(Ge),ds=z.hotfixes||[],Ya={},Qs={},Ms=[],To=function Ee(ct,ur,Mr,en,bn,ei){if(!(this instanceof Ee))return new Ee(ct,ur,Mr,en,bn,ei);isNaN(ct)&&(ct=1),isNaN(ur)&&(ur=0),isNaN(Mr)&&(Mr=0),isNaN(en)&&(en=1),isNaN(bn)&&(bn=0),isNaN(ei)&&(ei=0),this._matrix=[ct,ur,Mr,en,bn,ei]};Object.defineProperty(To.prototype,"sx",{get:function(){return this._matrix[0]},set:function(Ee){this._matrix[0]=Ee}}),Object.defineProperty(To.prototype,"shy",{get:function(){return this._matrix[1]},set:function(Ee){this._matrix[1]=Ee}}),Object.defineProperty(To.prototype,"shx",{get:function(){return this._matrix[2]},set:function(Ee){this._matrix[2]=Ee}}),Object.defineProperty(To.prototype,"sy",{get:function(){return this._matrix[3]},set:function(Ee){this._matrix[3]=Ee}}),Object.defineProperty(To.prototype,"tx",{get:function(){return this._matrix[4]},set:function(Ee){this._matrix[4]=Ee}}),Object.defineProperty(To.prototype,"ty",{get:function(){return this._matrix[5]},set:function(Ee){this._matrix[5]=Ee}}),Object.defineProperty(To.prototype,"a",{get:function(){return this._matrix[0]},set:function(Ee){this._matrix[0]=Ee}}),Object.defineProperty(To.prototype,"b",{get:function(){return this._matrix[1]},set:function(Ee){this._matrix[1]=Ee}}),Object.defineProperty(To.prototype,"c",{get:function(){return this._matrix[2]},set:function(Ee){this._matrix[2]=Ee}}),Object.defineProperty(To.prototype,"d",{get:function(){return this._matrix[3]},set:function(Ee){this._matrix[3]=Ee}}),Object.defineProperty(To.prototype,"e",{get:function(){return this._matrix[4]},set:function(Ee){this._matrix[4]=Ee}}),Object.defineProperty(To.prototype,"f",{get:function(){return this._matrix[5]},set:function(Ee){this._matrix[5]=Ee}}),Object.defineProperty(To.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(To.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(To.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(To.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),To.prototype.join=function(Ee){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(cn).join(Ee)},To.prototype.multiply=function(Ee){var ct=Ee.sx*this.sx+Ee.shy*this.shx,ur=Ee.sx*this.shy+Ee.shy*this.sy,Mr=Ee.shx*this.sx+Ee.sy*this.shx,en=Ee.shx*this.shy+Ee.sy*this.sy,bn=Ee.tx*this.sx+Ee.ty*this.shx+this.tx,ei=Ee.tx*this.shy+Ee.ty*this.sy+this.ty;return new To(ct,ur,Mr,en,bn,ei)},To.prototype.decompose=function(){var Ee=this.sx,ct=this.shy,ur=this.shx,Mr=this.sy,en=this.tx,bn=this.ty,ei=Math.sqrt(Ee*Ee+ct*ct),Ii=(Ee/=ei)*ur+(ct/=ei)*Mr;ur-=Ee*Ii,Mr-=ct*Ii;var yo=Math.sqrt(ur*ur+Mr*Mr);return Ii/=yo,Ee*(Mr/=yo)<ct*(ur/=yo)&&(Ee=-Ee,ct=-ct,Ii=-Ii,ei=-ei),{scale:new To(ei,0,0,yo,0,0),translate:new To(1,0,0,1,en,bn),rotate:new To(Ee,ct,-ct,Ee,0,0),skew:new To(1,0,Ii,1,0,0)}},To.prototype.toString=function(Ee){return this.join(" ")},To.prototype.inversed=function(){var Ee=this.sx,ct=this.shy,ur=this.shx,Mr=this.sy,en=this.tx,bn=this.ty,ei=1/(Ee*Mr-ct*ur),Ii=Mr*ei,yo=-ct*ei,Io=-ur*ei,Ho=Ee*ei;return new To(Ii,yo,Io,Ho,-Ii*en-Io*bn,-yo*en-Ho*bn)},To.prototype.applyToPoint=function(Ee){var ct=Ee.x*this.sx+Ee.y*this.shx+this.tx,ur=Ee.x*this.shy+Ee.y*this.sy+this.ty;return new qa(ct,ur)},To.prototype.applyToRectangle=function(Ee){var ct=this.applyToPoint(Ee),ur=this.applyToPoint(new qa(Ee.x+Ee.w,Ee.y+Ee.h));return new vs(ct.x,ct.y,ur.x-ct.x,ur.y-ct.y)},To.prototype.clone=function(){var Ee=this.sx,ct=this.shy,ur=this.shx,Mr=this.sy,en=this.tx,bn=this.ty;return new To(Ee,ct,ur,Mr,en,bn)},Ge.Matrix=To;var il=Ge.matrixMult=function(Ee,ct){return ct.multiply(Ee)},li=new To(1,0,0,1,0,0);Ge.unitMatrix=Ge.identityMatrix=li;var ka=function(Ee,ct){if(!Ri[Ee]){var ur=(ct instanceof Yt?"Sh":"P")+(Object.keys(Da).length+1).toString(10);ct.id=ur,Ri[Ee]=ur,Da[ur]=ct,La.publish("addPattern",ct)}};Ge.ShadingPattern=Yt,Ge.TilingPattern=yr,Ge.addShadingPattern=function(Ee,ct){return Er("addShadingPattern()"),ka(Ee,ct),this},Ge.beginTilingPattern=function(Ee){Er("beginTilingPattern()"),Ys(Ee.boundingBox[0],Ee.boundingBox[1],Ee.boundingBox[2]-Ee.boundingBox[0],Ee.boundingBox[3]-Ee.boundingBox[1],Ee.matrix)},Ge.endTilingPattern=function(Ee,ct){Er("endTilingPattern()"),ct.stream=wi[Ar].join(`
`),ka(Ee,ct),La.publish("endTilingPattern",ct),Ms.pop().restore()};var ga=Ge.__private__.newObject=function(){var Ee=Sa();return Yo(Ee,!0),Ee},Sa=Ge.__private__.newObjectDeferred=function(){return tn++,Nr[tn]=function(){return wn},tn},Yo=function(Ee,ct){return ct=typeof ct=="boolean"&&ct,Nr[Ee]=wn,ct&&Cr(Ee+" 0 obj"),Ee},_s=Ge.__private__.newAdditionalObject=function(){var Ee={objId:Sa(),content:""};return mi.push(Ee),Ee},Es=Sa(),ol=Sa(),Na=Ge.__private__.decodeColorString=function(Ee){var ct=Ee.split(" ");if(ct.length!==2||ct[1]!=="g"&&ct[1]!=="G")ct.length===5&&(ct[4]==="k"||ct[4]==="K")&&(ct=[(1-ct[0])*(1-ct[3]),(1-ct[1])*(1-ct[3]),(1-ct[2])*(1-ct[3]),"r"]);else{var ur=parseFloat(ct[0]);ct=[ur,ur,ur,"r"]}for(var Mr="#",en=0;en<3;en++)Mr+=("0"+Math.floor(255*parseFloat(ct[en])).toString(16)).slice(-2);return Mr},aa=Ge.__private__.encodeColorString=function(Ee){var ct;typeof Ee=="string"&&(Ee={ch1:Ee});var ur=Ee.ch1,Mr=Ee.ch2,en=Ee.ch3,bn=Ee.ch4,ei=Ee.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof ur=="string"&&ur.charAt(0)!=="#"){var Ii=new qr(ur);if(Ii.ok)ur=Ii.toHex();else if(!/^\d*\.?\d*$/.test(ur))throw new Error('Invalid color "'+ur+'" passed to jsPDF.encodeColorString.')}if(typeof ur=="string"&&/^#[0-9A-Fa-f]{3}$/.test(ur)&&(ur="#"+ur[1]+ur[1]+ur[2]+ur[2]+ur[3]+ur[3]),typeof ur=="string"&&/^#[0-9A-Fa-f]{6}$/.test(ur)){var yo=parseInt(ur.substr(1),16);ur=yo>>16&255,Mr=yo>>8&255,en=255&yo}if(Mr===void 0||bn===void 0&&ur===Mr&&Mr===en)if(typeof ur=="string")ct=ur+" "+ei[0];else switch(Ee.precision){case 2:ct=Vn(ur/255)+" "+ei[0];break;case 3:default:ct=Xt(ur/255)+" "+ei[0]}else if(bn===void 0||(0,n.Z)(bn)==="object"){if(bn&&!isNaN(bn.a)&&bn.a===0)return ct=["1.","1.","1.",ei[1]].join(" ");if(typeof ur=="string")ct=[ur,Mr,en,ei[1]].join(" ");else switch(Ee.precision){case 2:ct=[Vn(ur/255),Vn(Mr/255),Vn(en/255),ei[1]].join(" ");break;default:case 3:ct=[Xt(ur/255),Xt(Mr/255),Xt(en/255),ei[1]].join(" ")}}else if(typeof ur=="string")ct=[ur,Mr,en,bn,ei[2]].join(" ");else switch(Ee.precision){case 2:ct=[Vn(ur),Vn(Mr),Vn(en),Vn(bn),ei[2]].join(" ");break;case 3:default:ct=[Xt(ur),Xt(Mr),Xt(en),Xt(bn),ei[2]].join(" ")}return ct},fs=Ge.__private__.getFilters=function(){return Le},Gs=Ge.__private__.putStream=function(Ee){var ct=(Ee=Ee||{}).data||"",ur=Ee.filters||fs(),Mr=Ee.alreadyAppliedFilters||[],en=Ee.addLength1||!1,bn=ct.length,ei=Ee.objectId,Ii=function(Is){return Is};if(gt!==null&&ei===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");gt!==null&&(Ii=$o.encryptor(ei,0));var yo={};ur===!0&&(ur=["FlateEncode"]);var Io=Ee.additionalKeyValues||[],Ho=(yo=zt.API.processDataByFilters!==void 0?zt.API.processDataByFilters(ct,ur):{data:ct,reverseChain:[]}).reverseChain+(Array.isArray(Mr)?Mr.join(" "):Mr.toString());if(yo.data.length!==0&&(Io.push({key:"Length",value:yo.data.length}),en===!0&&Io.push({key:"Length1",value:bn})),Ho.length!=0)if(Ho.split("/").length-1==1)Io.push({key:"Filter",value:Ho});else{Io.push({key:"Filter",value:"["+Ho+"]"});for(var sa=0;sa<Io.length;sa+=1)if(Io[sa].key==="DecodeParms"){for(var es=[],ts=0;ts<yo.reverseChain.split("/").length-1;ts+=1)es.push("null");es.push(Io[sa].value),Io[sa].value="["+es.join(" ")+"]"}}Cr("<<");for(var As=0;As<Io.length;As++)Cr("/"+Io[As].key+" "+Io[As].value);Cr(">>"),yo.data.length!==0&&(Cr("stream"),Cr(Ii(yo.data)),Cr("endstream"))},el=Ge.__private__.putPage=function(Ee){var ct=Ee.number,ur=Ee.data,Mr=Ee.objId,en=Ee.contentsObjId;Yo(Mr,!0),Cr("<</Type /Page"),Cr("/Parent "+Ee.rootDictionaryObjId+" 0 R"),Cr("/Resources "+Ee.resourceDictionaryObjId+" 0 R"),Cr("/MediaBox ["+parseFloat(cn(Ee.mediaBox.bottomLeftX))+" "+parseFloat(cn(Ee.mediaBox.bottomLeftY))+" "+cn(Ee.mediaBox.topRightX)+" "+cn(Ee.mediaBox.topRightY)+"]"),Ee.cropBox!==null&&Cr("/CropBox ["+cn(Ee.cropBox.bottomLeftX)+" "+cn(Ee.cropBox.bottomLeftY)+" "+cn(Ee.cropBox.topRightX)+" "+cn(Ee.cropBox.topRightY)+"]"),Ee.bleedBox!==null&&Cr("/BleedBox ["+cn(Ee.bleedBox.bottomLeftX)+" "+cn(Ee.bleedBox.bottomLeftY)+" "+cn(Ee.bleedBox.topRightX)+" "+cn(Ee.bleedBox.topRightY)+"]"),Ee.trimBox!==null&&Cr("/TrimBox ["+cn(Ee.trimBox.bottomLeftX)+" "+cn(Ee.trimBox.bottomLeftY)+" "+cn(Ee.trimBox.topRightX)+" "+cn(Ee.trimBox.topRightY)+"]"),Ee.artBox!==null&&Cr("/ArtBox ["+cn(Ee.artBox.bottomLeftX)+" "+cn(Ee.artBox.bottomLeftY)+" "+cn(Ee.artBox.topRightX)+" "+cn(Ee.artBox.topRightY)+"]"),typeof Ee.userUnit=="number"&&Ee.userUnit!==1&&Cr("/UserUnit "+Ee.userUnit),La.publish("putPage",{objId:Mr,pageContext:ea[ct],pageNumber:ct,page:ur}),Cr("/Contents "+en+" 0 R"),Cr(">>"),Cr("endobj");var bn=ur.join(`
`);return Zr===dr.ADVANCED&&(bn+=`
Q`),Yo(en,!0),Gs({data:bn,filters:fs(),objectId:en}),Cr("endobj"),Mr},Ts=Ge.__private__.putPages=function(){var Ee,ct,ur=[];for(Ee=1;Ee<=us;Ee++)ea[Ee].objId=Sa(),ea[Ee].contentsObjId=Sa();for(Ee=1;Ee<=us;Ee++)ur.push(el({number:Ee,data:wi[Ee],objId:ea[Ee].objId,contentsObjId:ea[Ee].contentsObjId,mediaBox:ea[Ee].mediaBox,cropBox:ea[Ee].cropBox,bleedBox:ea[Ee].bleedBox,trimBox:ea[Ee].trimBox,artBox:ea[Ee].artBox,userUnit:ea[Ee].userUnit,rootDictionaryObjId:Es,resourceDictionaryObjId:ol}));Yo(Es,!0),Cr("<</Type /Pages");var Mr="/Kids [";for(ct=0;ct<us;ct++)Mr+=ur[ct]+" 0 R ";Cr(Mr+"]"),Cr("/Count "+us),Cr(">>"),Cr("endobj"),La.publish("postPutPages")},Rl=function(Ee){La.publish("putFont",{font:Ee,out:Cr,newObject:ga,putStream:Gs}),Ee.isAlreadyPutted!==!0&&(Ee.objectNumber=ga(),Cr("<<"),Cr("/Type /Font"),Cr("/BaseFont /"+Ke(Ee.postScriptName)),Cr("/Subtype /Type1"),typeof Ee.encoding=="string"&&Cr("/Encoding /"+Ee.encoding),Cr("/FirstChar 32"),Cr("/LastChar 255"),Cr(">>"),Cr("endobj"))},y=function(){for(var Ee in ca)ca.hasOwnProperty(Ee)&&(Et===!1||Et===!0&&Mt.hasOwnProperty(Ee))&&Rl(ca[Ee])},ye=function(Ee){Ee.objectNumber=ga();var ct=[];ct.push({key:"Type",value:"/XObject"}),ct.push({key:"Subtype",value:"/Form"}),ct.push({key:"BBox",value:"["+[cn(Ee.x),cn(Ee.y),cn(Ee.x+Ee.width),cn(Ee.y+Ee.height)].join(" ")+"]"}),ct.push({key:"Matrix",value:"["+Ee.matrix.toString()+"]"});var ur=Ee.pages[1].join(`
`);Gs({data:ur,additionalKeyValues:ct,objectId:Ee.objectNumber}),Cr("endobj")},oe=function(){for(var Ee in Ya)Ya.hasOwnProperty(Ee)&&ye(Ya[Ee])},ne=function(Ee,ct){var ur,Mr=[],en=1/(ct-1);for(ur=0;ur<1;ur+=en)Mr.push(ur);if(Mr.push(1),Ee[0].offset!=0){var bn={offset:0,color:Ee[0].color};Ee.unshift(bn)}if(Ee[Ee.length-1].offset!=1){var ei={offset:1,color:Ee[Ee.length-1].color};Ee.push(ei)}for(var Ii="",yo=0,Io=0;Io<Mr.length;Io++){for(ur=Mr[Io];ur>Ee[yo+1].offset;)yo++;var Ho=Ee[yo].offset,sa=(ur-Ho)/(Ee[yo+1].offset-Ho),es=Ee[yo].color,ts=Ee[yo+1].color;Ii+=Wr(Math.round((1-sa)*es[0]+sa*ts[0]).toString(16))+Wr(Math.round((1-sa)*es[1]+sa*ts[1]).toString(16))+Wr(Math.round((1-sa)*es[2]+sa*ts[2]).toString(16))}return Ii.trim()},He=function(Ee,ct){ct||(ct=21);var ur=ga(),Mr=ne(Ee.colors,ct),en=[];en.push({key:"FunctionType",value:"0"}),en.push({key:"Domain",value:"[0.0 1.0]"}),en.push({key:"Size",value:"["+ct+"]"}),en.push({key:"BitsPerSample",value:"8"}),en.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),en.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Gs({data:Mr,additionalKeyValues:en,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:ur}),Cr("endobj"),Ee.objectNumber=ga(),Cr("<< /ShadingType "+Ee.type),Cr("/ColorSpace /DeviceRGB");var bn="/Coords ["+cn(parseFloat(Ee.coords[0]))+" "+cn(parseFloat(Ee.coords[1]))+" ";Ee.type===2?bn+=cn(parseFloat(Ee.coords[2]))+" "+cn(parseFloat(Ee.coords[3])):bn+=cn(parseFloat(Ee.coords[2]))+" "+cn(parseFloat(Ee.coords[3]))+" "+cn(parseFloat(Ee.coords[4]))+" "+cn(parseFloat(Ee.coords[5])),Cr(bn+="]"),Ee.matrix&&Cr("/Matrix ["+Ee.matrix.toString()+"]"),Cr("/Function "+ur+" 0 R"),Cr("/Extend [true true]"),Cr(">>"),Cr("endobj")},nt=function(Ee,ct){var ur=Sa(),Mr=ga();ct.push({resourcesOid:ur,objectOid:Mr}),Ee.objectNumber=Mr;var en=[];en.push({key:"Type",value:"/Pattern"}),en.push({key:"PatternType",value:"1"}),en.push({key:"PaintType",value:"1"}),en.push({key:"TilingType",value:"1"}),en.push({key:"BBox",value:"["+Ee.boundingBox.map(cn).join(" ")+"]"}),en.push({key:"XStep",value:cn(Ee.xStep)}),en.push({key:"YStep",value:cn(Ee.yStep)}),en.push({key:"Resources",value:ur+" 0 R"}),Ee.matrix&&en.push({key:"Matrix",value:"["+Ee.matrix.toString()+"]"}),Gs({data:Ee.stream,additionalKeyValues:en,objectId:Ee.objectNumber}),Cr("endobj")},bt=function(Ee){var ct;for(ct in Da)Da.hasOwnProperty(ct)&&(Da[ct]instanceof Yt?He(Da[ct]):Da[ct]instanceof yr&&nt(Da[ct],Ee))},vt=function(Ee){for(var ct in Ee.objectNumber=ga(),Cr("<<"),Ee)switch(ct){case"opacity":Cr("/ca "+Vn(Ee[ct]));break;case"stroke-opacity":Cr("/CA "+Vn(Ee[ct]))}Cr(">>"),Cr("endobj")},jr=function(){var Ee;for(Ee in Aa)Aa.hasOwnProperty(Ee)&&vt(Aa[Ee])},Ht=function(){for(var Ee in Cr("/XObject <<"),Ya)Ya.hasOwnProperty(Ee)&&Ya[Ee].objectNumber>=0&&Cr("/"+Ee+" "+Ya[Ee].objectNumber+" 0 R");La.publish("putXobjectDict"),Cr(">>")},hr=function(){$o.oid=ga(),Cr("<<"),Cr("/Filter /Standard"),Cr("/V "+$o.v),Cr("/R "+$o.r),Cr("/U <"+$o.toHexString($o.U)+">"),Cr("/O <"+$o.toHexString($o.O)+">"),Cr("/P "+$o.P),Cr(">>"),Cr("endobj")},Tn=function(){for(var Ee in Cr("/Font <<"),ca)ca.hasOwnProperty(Ee)&&(Et===!1||Et===!0&&Mt.hasOwnProperty(Ee))&&Cr("/"+Ee+" "+ca[Ee].objectNumber+" 0 R");Cr(">>")},Sn=function(){if(Object.keys(Da).length>0){for(var Ee in Cr("/Shading <<"),Da)Da.hasOwnProperty(Ee)&&Da[Ee]instanceof Yt&&Da[Ee].objectNumber>=0&&Cr("/"+Ee+" "+Da[Ee].objectNumber+" 0 R");La.publish("putShadingPatternDict"),Cr(">>")}},an=function(Ee){if(Object.keys(Da).length>0){for(var ct in Cr("/Pattern <<"),Da)Da.hasOwnProperty(ct)&&Da[ct]instanceof Ge.TilingPattern&&Da[ct].objectNumber>=0&&Da[ct].objectNumber<Ee&&Cr("/"+ct+" "+Da[ct].objectNumber+" 0 R");La.publish("putTilingPatternDict"),Cr(">>")}},ni=function(){if(Object.keys(Aa).length>0){var Ee;for(Ee in Cr("/ExtGState <<"),Aa)Aa.hasOwnProperty(Ee)&&Aa[Ee].objectNumber>=0&&Cr("/"+Ee+" "+Aa[Ee].objectNumber+" 0 R");La.publish("putGStateDict"),Cr(">>")}},Li=function(Ee){Yo(Ee.resourcesOid,!0),Cr("<<"),Cr("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),Tn(),Sn(),an(Ee.objectOid),ni(),Ht(),Cr(">>"),Cr("endobj")},tt=function(){var Ee=[];y(),jr(),oe(),bt(Ee),La.publish("putResources"),Ee.forEach(Li),Li({resourcesOid:ol,objectOid:Number.MAX_SAFE_INTEGER}),La.publish("postPutResources")},at=function(){La.publish("putAdditionalObjects");for(var Ee=0;Ee<mi.length;Ee++){var ct=mi[Ee];Yo(ct.objId,!0),Cr(ct.content),Cr("endobj")}La.publish("postPutAdditionalObjects")},$t=function(Ee){Ga[Ee.fontName]=Ga[Ee.fontName]||{},Ga[Ee.fontName][Ee.fontStyle]=Ee.id},Fr=function(Ee,ct,ur,Mr,en){var bn={id:"F"+(Object.keys(ca).length+1).toString(10),postScriptName:Ee,fontName:ct,fontStyle:ur,encoding:Mr,isStandardFont:en||!1,metadata:{}};return La.publish("addFont",{font:bn,instance:this}),ca[bn.id]=bn,$t(bn),bn.id},Xr=function(Ee){for(var ct=0,ur=di.length;ct<ur;ct++){var Mr=Fr.call(this,Ee[ct][0],Ee[ct][1],Ee[ct][2],di[ct][3],!0);Et===!1&&(Mt[Mr]=!0);var en=Ee[ct][0].split("-");$t({id:Mr,fontName:en[0],fontStyle:en[1]||""})}La.publish("addFonts",{fonts:ca,dictionary:Ga})},Ln=function(Ee){return Ee.foo=function(){try{return Ee.apply(this,arguments)}catch(Mr){var ct=Mr.stack||"";~ct.indexOf(" at ")&&(ct=ct.split(" at ")[1]);var ur="Error in function "+ct.split(`
`)[0].split("<")[0]+": "+Mr.message;if(!Yr.console)throw new Error(ur);Yr.console.error(ur,Mr),Yr.alert&&alert(ur)}},Ee.foo.bar=Ee,Ee.foo},xi=function(Ee,ct){var ur,Mr,en,bn,ei,Ii,yo,Io,Ho;if(en=(ct=ct||{}).sourceEncoding||"Unicode",ei=ct.outputEncoding,(ct.autoencode||ei)&&ca[ya].metadata&&ca[ya].metadata[en]&&ca[ya].metadata[en].encoding&&(bn=ca[ya].metadata[en].encoding,!ei&&ca[ya].encoding&&(ei=ca[ya].encoding),!ei&&bn.codePages&&(ei=bn.codePages[0]),typeof ei=="string"&&(ei=bn[ei]),ei)){for(yo=!1,Ii=[],ur=0,Mr=Ee.length;ur<Mr;ur++)(Io=ei[Ee.charCodeAt(ur)])?Ii.push(String.fromCharCode(Io)):Ii.push(Ee[ur]),Ii[ur].charCodeAt(0)>>8&&(yo=!0);Ee=Ii.join("")}for(ur=Ee.length;yo===void 0&&ur!==0;)Ee.charCodeAt(ur-1)>>8&&(yo=!0),ur--;if(!yo)return Ee;for(Ii=ct.noBOM?[]:[254,255],ur=0,Mr=Ee.length;ur<Mr;ur++){if((Ho=(Io=Ee.charCodeAt(ur))>>8)>>8)throw new Error("Character at position "+ur+" of string '"+Ee+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Ii.push(Ho),Ii.push(Io-(Ho<<8))}return String.fromCharCode.apply(void 0,Ii)},Cn=Ge.__private__.pdfEscape=Ge.pdfEscape=function(Ee,ct){return xi(Ee,ct).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Wn=Ge.__private__.beginPage=function(Ee){wi[++us]=[],ea[us]={objId:0,contentsObjId:0,userUnit:Number(Re),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(Ee[0]),topRightY:Number(Ee[1])}},Pn(us),_n(wi[Ar])},ai=function(Ee,ct){var ur,Mr,en;switch(H=ct||H,typeof Ee=="string"&&(ur=Kt(Ee.toLowerCase()),Array.isArray(ur)&&(Mr=ur[0],en=ur[1])),Array.isArray(Ee)&&(Mr=Ee[0]*Hi,en=Ee[1]*Hi),isNaN(Mr)&&(Mr=Be[0],en=Be[1]),(Mr>14400||en>14400)&&(ti.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),Mr=Math.min(14400,Mr),en=Math.min(14400,en)),Be=[Mr,en],H.substr(0,1)){case"l":en>Mr&&(Be=[en,Mr]);break;case"p":Mr>en&&(Be=[en,Mr])}Wn(Be),ko(ha),Cr(Ca),Wo!==0&&Cr(Wo+" J"),ba!==0&&Cr(ba+" j"),La.publish("addPage",{pageNumber:us})},ci=function(Ee){Ee>0&&Ee<=us&&(wi.splice(Ee,1),ea.splice(Ee,1),us--,Ar>us&&(Ar=us),this.setPage(Ar))},Pn=function(Ee){Ee>0&&Ee<=us&&(Ar=Ee)},vi=Ge.__private__.getNumberOfPages=Ge.getNumberOfPages=function(){return wi.length-1},wa=function(Ee,ct,ur){var Mr,en=void 0;return ur=ur||{},Ee=Ee!==void 0?Ee:ca[ya].fontName,ct=ct!==void 0?ct:ca[ya].fontStyle,Mr=Ee.toLowerCase(),Ga[Mr]!==void 0&&Ga[Mr][ct]!==void 0?en=Ga[Mr][ct]:Ga[Ee]!==void 0&&Ga[Ee][ct]!==void 0?en=Ga[Ee][ct]:ur.disableWarning===!1&&ti.warn("Unable to look up font label for font '"+Ee+"', '"+ct+"'. Refer to getFontList() for available fonts."),en||ur.noFallback||(en=Ga.times[ct])==null&&(en=Ga.times.normal),en},Qo=Ge.__private__.putInfo=function(){var Ee=ga(),ct=function(Mr){return Mr};for(var ur in gt!==null&&(ct=$o.encryptor(Ee,0)),Cr("<<"),Cr("/Producer ("+Cn(ct("jsPDF "+zt.version))+")"),Xo)Xo.hasOwnProperty(ur)&&Xo[ur]&&Cr("/"+ur.substr(0,1).toUpperCase()+ur.substr(1)+" ("+Cn(ct(Xo[ur]))+")");Cr("/CreationDate ("+Cn(ct(En))+")"),Cr(">>"),Cr("endobj")},yt=Ge.__private__.putCatalog=function(Ee){var ct=(Ee=Ee||{}).rootDictionaryObjId||Es;switch(ga(),Cr("<<"),Cr("/Type /Catalog"),Cr("/Pages "+ct+" 0 R"),gi||(gi="fullwidth"),gi){case"fullwidth":Cr("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Cr("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Cr("/OpenAction [3 0 R /Fit]");break;case"original":Cr("/OpenAction [3 0 R /XYZ null null 1]");break;default:var ur=""+gi;ur.substr(ur.length-1)==="%"&&(gi=parseInt(gi)/100),typeof gi=="number"&&Cr("/OpenAction [3 0 R /XYZ null null "+Vn(gi)+"]")}switch(Co||(Co="continuous"),Co){case"continuous":Cr("/PageLayout /OneColumn");break;case"single":Cr("/PageLayout /SinglePage");break;case"two":case"twoleft":Cr("/PageLayout /TwoColumnLeft");break;case"tworight":Cr("/PageLayout /TwoColumnRight")}io&&Cr("/PageMode /"+io),La.publish("putCatalog"),Cr(">>"),Cr("endobj")},Xn=Ge.__private__.putTrailer=function(){Cr("trailer"),Cr("<<"),Cr("/Size "+(tn+1)),Cr("/Root "+tn+" 0 R"),Cr("/Info "+(tn-1)+" 0 R"),gt!==null&&Cr("/Encrypt "+$o.oid+" 0 R"),Cr("/ID [ <"+yn+"> <"+yn+"> ]"),Cr(">>")},Vi=Ge.__private__.putHeader=function(){Cr("%PDF-"+cr),Cr("%\xBA\xDF\xAC\xE0")},Qi=Ge.__private__.putXRef=function(){var Ee="0000000000";Cr("xref"),Cr("0 "+(tn+1)),Cr("0000000000 65535 f ");for(var ct=1;ct<=tn;ct++)typeof Nr[ct]=="function"?Cr((Ee+Nr[ct]()).slice(-10)+" 00000 n "):Nr[ct]!==void 0?Cr((Ee+Nr[ct]).slice(-10)+" 00000 n "):Cr("0000000000 00000 n ")},Bo=Ge.__private__.buildDocument=function(){lo(),_n(gn),La.publish("buildDocument"),Vi(),Ts(),at(),tt(),gt!==null&&hr(),Qo(),yt();var Ee=wn;return Qi(),Xn(),Cr("startxref"),Cr(""+Ee),Cr("%%EOF"),_n(wi[Ar]),gn.join(`
`)},Oo=Ge.__private__.getBlob=function(Ee){return new Blob([vo(Ee)],{type:"application/pdf"})},Ro=Ge.output=Ge.__private__.output=Ln(function(Ee,ct){switch(typeof(ct=ct||{})=="string"?ct={filename:ct}:ct.filename=ct.filename||"generated.pdf",Ee){case void 0:return Bo();case"save":Ge.save(ct.filename);break;case"arraybuffer":return vo(Bo());case"blob":return Oo(Bo());case"bloburi":case"bloburl":if(Yr.URL!==void 0&&typeof Yr.URL.createObjectURL=="function")return Yr.URL&&Yr.URL.createObjectURL(Oo(Bo()))||void 0;ti.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var ur="",Mr=Bo();try{ur=br(Mr)}catch(ts){ur=br(unescape(encodeURIComponent(Mr)))}return"data:application/pdf;filename="+ct.filename+";base64,"+ur;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Yr)==="[object Window]"){var en="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",bn=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';ct.pdfObjectUrl&&(en=ct.pdfObjectUrl,bn="");var ei='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><script src="'+en+'"'+bn+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(ct)+");<\/script></body></html>",Ii=Yr.open();return Ii!==null&&Ii.document.write(ei),Ii}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(Yr)==="[object Window]"){var yo='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><iframe id="pdfViewer" src="'+(ct.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+ct.filename+'" width="500px" height="400px" /></body></html>',Io=Yr.open();if(Io!==null){Io.document.write(yo);var Ho=this;Io.document.documentElement.querySelector("#pdfViewer").onload=function(){Io.document.title=ct.filename,Io.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(Ho.output("bloburl"))}}return Io}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(Yr)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var sa='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><iframe src="'+this.output("datauristring",ct)+'"></iframe></body></html>',es=Yr.open();if(es!==null&&(es.document.write(sa),es.document.title=ct.filename),es||typeof safari=="undefined")return es;break;case"datauri":case"dataurl":return Yr.document.location.href=this.output("datauristring",ct);default:return null}}),So=function(Ee){return Array.isArray(ds)===!0&&ds.indexOf(Ee)>-1};switch(Ae){case"pt":Hi=1;break;case"mm":Hi=2.834645669291339;break;case"cm":Hi=28.346456692913385;break;case"in":Hi=72;break;case"px":Hi=So("px_scaling")==1?.75:1.3333333333333333;break;case"pc":case"em":Hi=12;break;case"ex":Hi=6;break;default:if(typeof Ae!="number")throw new Error("Invalid unit: "+Ae);Hi=Ae}var $o=null;Ui(),pn();var Yi=function(Ee){return gt!==null?$o.encryptor(Ee,0):function(ct){return ct}},k=Ge.__private__.getPageInfo=Ge.getPageInfo=function(Ee){if(isNaN(Ee)||Ee%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:ea[Ee].objId,pageNumber:Ee,pageContext:ea[Ee]}},ge=Ge.__private__.getPageInfoByObjId=function(Ee){if(isNaN(Ee)||Ee%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var ct in ea)if(ea[ct].objId===Ee)break;return k(ct)},Ze=Ge.__private__.getCurrentPageInfo=Ge.getCurrentPageInfo=function(){return{objId:ea[Ar].objId,pageNumber:Ar,pageContext:ea[Ar]}};Ge.addPage=function(){return ai.apply(this,arguments),this},Ge.setPage=function(){return Pn.apply(this,arguments),_n.call(this,wi[Ar]),this},Ge.insertPage=function(Ee){return this.addPage(),this.movePage(Ar,Ee),this},Ge.movePage=function(Ee,ct){var ur,Mr;if(Ee>ct){ur=wi[Ee],Mr=ea[Ee];for(var en=Ee;en>ct;en--)wi[en]=wi[en-1],ea[en]=ea[en-1];wi[ct]=ur,ea[ct]=Mr,this.setPage(ct)}else if(Ee<ct){ur=wi[Ee],Mr=ea[Ee];for(var bn=Ee;bn<ct;bn++)wi[bn]=wi[bn+1],ea[bn]=ea[bn+1];wi[ct]=ur,ea[ct]=Mr,this.setPage(ct)}return this},Ge.deletePage=function(){return ci.apply(this,arguments),this},Ge.__private__.text=Ge.text=function(Ee,ct,ur,Mr,en){var bn,ei,Ii,yo,Io,Ho,sa,es,ts,As=(Mr=Mr||{}).scope||this;if(typeof Ee=="number"&&typeof ct=="number"&&(typeof ur=="string"||Array.isArray(ur))){var Is=ur;ur=ct,ct=Ee,Ee=Is}if(arguments[3]instanceof To?(Er("The transform parameter of text() with a Matrix value"),ts=en):(Ii=arguments[4],yo=arguments[5],(0,n.Z)(sa=arguments[3])==="object"&&sa!==null||(typeof Ii=="string"&&(yo=Ii,Ii=null),typeof sa=="string"&&(yo=sa,sa=null),typeof sa=="number"&&(Ii=sa,sa=null),Mr={flags:sa,angle:Ii,align:yo})),isNaN(ct)||isNaN(ur)||Ee==null)throw new Error("Invalid arguments passed to jsPDF.text");if(Ee.length===0)return As;var ys="",cl=!1,Zs=typeof Mr.lineHeightFactor=="number"?Mr.lineHeightFactor:Va,Fs=As.internal.scaleFactor;function iu(Ua){return Ua=Ua.split("	").join(Array(Mr.TabLen||9).join(" ")),Cn(Ua,sa)}function Jl(Ua){for(var Ha,ps=Ua.concat(),Ps=[],yl=ps.length;yl--;)typeof(Ha=ps.shift())=="string"?Ps.push(Ha):Array.isArray(Ua)&&(Ha.length===1||Ha[1]===void 0&&Ha[2]===void 0)?Ps.push(Ha[0]):Ps.push([Ha[0],Ha[1],Ha[2]]);return Ps}function Du(Ua,Ha){var ps;if(typeof Ua=="string")ps=Ha(Ua)[0];else if(Array.isArray(Ua)){for(var Ps,yl,Ml=Ua.concat(),fo=[],Su=Ml.length;Su--;)typeof(Ps=Ml.shift())=="string"?fo.push(Ha(Ps)[0]):Array.isArray(Ps)&&typeof Ps[0]=="string"&&(yl=Ha(Ps[0],Ps[1],Ps[2]),fo.push([yl[0],yl[1],yl[2]]));ps=fo}return ps}var hu=!1,xl=!0;if(typeof Ee=="string")hu=!0;else if(Array.isArray(Ee)){var wu=Ee.concat();ei=[];for(var ou,Al=wu.length;Al--;)(typeof(ou=wu.shift())!="string"||Array.isArray(ou)&&typeof ou[0]!="string")&&(xl=!1);hu=xl}if(hu===!1)throw new Error('Type of text must be string or Array. "'+Ee+'" is not recognized.');typeof Ee=="string"&&(Ee=Ee.match(/[\r?\n]/)?Ee.split(/\r\n|\r|\n/g):[Ee]);var pu=ri/As.internal.scaleFactor,Mu=pu*(Zs-1);switch(Mr.baseline){case"bottom":ur-=Mu;break;case"top":ur+=pu-Mu;break;case"hanging":ur+=pu-2*Mu;break;case"middle":ur+=pu/2-Mu}if((Ho=Mr.maxWidth||0)>0&&(typeof Ee=="string"?Ee=As.splitTextToSize(Ee,Ho):Object.prototype.toString.call(Ee)==="[object Array]"&&(Ee=Ee.reduce(function(Ua,Ha){return Ua.concat(As.splitTextToSize(Ha,Ho))},[]))),bn={text:Ee,x:ct,y:ur,options:Mr,mutex:{pdfEscape:Cn,activeFontKey:ya,fonts:ca,activeFontSize:ri}},La.publish("preProcessText",bn),Ee=bn.text,Ii=(Mr=bn.options).angle,!(ts instanceof To)&&Ii&&typeof Ii=="number"){Ii*=Math.PI/180,Mr.rotationDirection===0&&(Ii=-Ii),Zr===dr.ADVANCED&&(Ii=-Ii);var Cu=Math.cos(Ii),xu=Math.sin(Ii);ts=new To(Cu,xu,-xu,Cu,0,0)}else Ii&&Ii instanceof To&&(ts=Ii);Zr!==dr.ADVANCED||ts||(ts=li),(Io=Mr.charSpace||Ma)!==void 0&&(ys+=cn(rr(Io))+` Tc
`,this.setCharSpace(this.getCharSpace()||0)),(es=Mr.horizontalScale)!==void 0&&(ys+=cn(100*es)+` Tz
`),Mr.lang;var dl=-1,Wu=Mr.renderingMode!==void 0?Mr.renderingMode:Mr.stroke,Tu=As.internal.getCurrentPageInfo().pageContext;switch(Wu){case 0:case!1:case"fill":dl=0;break;case 1:case!0:case"stroke":dl=1;break;case 2:case"fillThenStroke":dl=2;break;case 3:case"invisible":dl=3;break;case 4:case"fillAndAddForClipping":dl=4;break;case 5:case"strokeAndAddPathForClipping":dl=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":dl=6;break;case 7:case"addToPathForClipping":dl=7}var Lu=Tu.usedRenderingMode!==void 0?Tu.usedRenderingMode:-1;dl!==-1?ys+=dl+` Tr
`:Lu!==-1&&(ys+=`0 Tr
`),dl!==-1&&(Tu.usedRenderingMode=dl),yo=Mr.align||"left";var Pl,bu=ri*Zs,Vu=As.internal.pageSize.getWidth(),Bu=ca[ya];Io=Mr.charSpace||Ma,Ho=Mr.maxWidth||0,sa=Object.assign({autoencode:!0,noBOM:!0},Mr.flags);var kl=[];if(Object.prototype.toString.call(Ee)==="[object Array]"){var vl;ei=Jl(Ee),yo!=="left"&&(Pl=ei.map(function(Ua){return As.getStringUnitWidth(Ua,{font:Bu,charSpace:Io,fontSize:ri,doKerning:!1})*ri/Fs}));var bl,au=0;if(yo==="right"){ct-=Pl[0],Ee=[],Al=ei.length;for(var Ol=0;Ol<Al;Ol++)Ol===0?(bl=qi(ct),vl=ji(ur)):(bl=rr(au-Pl[Ol]),vl=-bu),Ee.push([ei[Ol],bl,vl]),au=Pl[Ol]}else if(yo==="center"){ct-=Pl[0]/2,Ee=[],Al=ei.length;for(var Wl=0;Wl<Al;Wl++)Wl===0?(bl=qi(ct),vl=ji(ur)):(bl=rr((au-Pl[Wl])/2),vl=-bu),Ee.push([ei[Wl],bl,vl]),au=Pl[Wl]}else if(yo==="left"){Ee=[],Al=ei.length;for(var Iu=0;Iu<Al;Iu++)Ee.push(ei[Iu])}else{if(yo!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');Ee=[],Al=ei.length,Ho=Ho!==0?Ho:Vu;for(var zl=0;zl<Al;zl++)vl=zl===0?ji(ur):-bu,bl=zl===0?qi(ct):0,zl<Al-1?kl.push(cn(rr((Ho-Pl[zl])/(ei[zl].split(" ").length-1)))):kl.push(0),Ee.push([ei[zl],bl,vl])}}var Bl=typeof Mr.R2L=="boolean"?Mr.R2L:eo;Bl===!0&&(Ee=Du(Ee,function(Ua,Ha,ps){return[Ua.split("").reverse().join(""),Ha,ps]})),bn={text:Ee,x:ct,y:ur,options:Mr,mutex:{pdfEscape:Cn,activeFontKey:ya,fonts:ca,activeFontSize:ri}},La.publish("postProcessText",bn),Ee=bn.text,cl=bn.mutex.isHex||!1;var gu=ca[ya].encoding;gu!=="WinAnsiEncoding"&&gu!=="StandardEncoding"||(Ee=Du(Ee,function(Ua,Ha,ps){return[iu(Ua),Ha,ps]})),ei=Jl(Ee),Ee=[];for(var oo,za,Qa,$a=0,Xs=1,Dl=Array.isArray(ei[0])?Xs:$a,ja="",su=function(Ua,Ha,ps){var Ps="";return ps instanceof To?(ps=typeof Mr.angle=="number"?il(ps,new To(1,0,0,1,Ua,Ha)):il(new To(1,0,0,1,Ua,Ha),ps),Zr===dr.ADVANCED&&(ps=il(new To(1,0,0,-1,0,0),ps)),Ps=ps.join(" ")+` Tm
`):Ps=cn(Ua)+" "+cn(Ha)+` Td
`,Ps},tl=0;tl<ei.length;tl++){switch(ja="",Dl){case Xs:Qa=(cl?"<":"(")+ei[tl][0]+(cl?">":")"),oo=parseFloat(ei[tl][1]),za=parseFloat(ei[tl][2]);break;case $a:Qa=(cl?"<":"(")+ei[tl]+(cl?">":")"),oo=qi(ct),za=ji(ur)}kl!==void 0&&kl[tl]!==void 0&&(ja=kl[tl]+` Tw
`),tl===0?Ee.push(ja+su(oo,za,ts)+Qa):Dl===$a?Ee.push(ja+Qa):Dl===Xs&&Ee.push(ja+su(oo,za,ts)+Qa)}Ee=Dl===$a?Ee.join(` Tj
T* `):Ee.join(` Tj
`),Ee+=` Tj
`;var Sl=`BT
/`;return Sl+=ya+" "+ri+` Tf
`,Sl+=cn(ri*Zs)+` TL
`,Sl+=ro+`
`,Sl+=ys,Sl+=Ee,Cr(Sl+="ET"),Mt[ya]=!0,As};var Xe=Ge.__private__.clip=Ge.clip=function(Ee){return Cr(Ee==="evenodd"?"W*":"W"),this};Ge.clipEvenOdd=function(){return Xe("evenodd")},Ge.__private__.discardPath=Ge.discardPath=function(){return Cr("n"),this};var xt=Ge.__private__.isValidStyle=function(Ee){var ct=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(Ee)!==-1&&(ct=!0),ct};Ge.__private__.setDefaultPathOperation=Ge.setDefaultPathOperation=function(Ee){return xt(Ee)&&(it=Ee),this};var xr=Ge.__private__.getStyle=Ge.getStyle=function(Ee){var ct=it;switch(Ee){case"D":case"S":ct="S";break;case"F":ct="f";break;case"FD":case"DF":ct="B";break;case"f":case"f*":case"B":case"B*":ct=Ee}return ct},sn=Ge.close=function(){return Cr("h"),this};Ge.stroke=function(){return Cr("S"),this},Ge.fill=function(Ee){return Ai("f",Ee),this},Ge.fillEvenOdd=function(Ee){return Ai("f*",Ee),this},Ge.fillStroke=function(Ee){return Ai("B",Ee),this},Ge.fillStrokeEvenOdd=function(Ee){return Ai("B*",Ee),this};var Ai=function(Ee,ct){(0,n.Z)(ct)==="object"?Lo(ct,Ee):Cr(Ee)},Zi=function(Ee){Ee===null||Zr===dr.ADVANCED&&Ee===void 0||(Ee=xr(Ee),Cr(Ee))};function $i(Ee,ct,ur,Mr,en){var bn=new yr(ct||this.boundingBox,ur||this.xStep,Mr||this.yStep,this.gState,en||this.matrix);bn.stream=this.stream;var ei=Ee+"$$"+this.cloneIndex+++"$$";return ka(ei,bn),bn}var Lo=function(Ee,ct){var ur=Ri[Ee.key],Mr=Da[ur];if(Mr instanceof Yt)Cr("q"),Cr(Zo(ct)),Mr.gState&&Ge.setGState(Mr.gState),Cr(Ee.matrix.toString()+" cm"),Cr("/"+ur+" sh"),Cr("Q");else if(Mr instanceof yr){var en=new To(1,0,0,-1,0,Hs());Ee.matrix&&(en=en.multiply(Ee.matrix||li),ur=$i.call(Mr,Ee.key,Ee.boundingBox,Ee.xStep,Ee.yStep,en).id),Cr("q"),Cr("/Pattern cs"),Cr("/"+ur+" scn"),Mr.gState&&Ge.setGState(Mr.gState),Cr(ct),Cr("Q")}},Zo=function(Ee){switch(Ee){case"f":case"F":return"W n";case"f*":return"W* n";case"B":return"W S";case"B*":return"W* S";case"S":return"W S";case"n":return"W n"}},da=Ge.moveTo=function(Ee,ct){return Cr(cn(rr(Ee))+" "+cn(Or(ct))+" m"),this},Ia=Ge.lineTo=function(Ee,ct){return Cr(cn(rr(Ee))+" "+cn(Or(ct))+" l"),this},fa=Ge.curveTo=function(Ee,ct,ur,Mr,en,bn){return Cr([cn(rr(Ee)),cn(Or(ct)),cn(rr(ur)),cn(Or(Mr)),cn(rr(en)),cn(Or(bn)),"c"].join(" ")),this};Ge.__private__.line=Ge.line=function(Ee,ct,ur,Mr,en){if(isNaN(Ee)||isNaN(ct)||isNaN(ur)||isNaN(Mr)||!xt(en))throw new Error("Invalid arguments passed to jsPDF.line");return Zr===dr.COMPAT?this.lines([[ur-Ee,Mr-ct]],Ee,ct,[1,1],en||"S"):this.lines([[ur-Ee,Mr-ct]],Ee,ct,[1,1]).stroke()},Ge.__private__.lines=Ge.lines=function(Ee,ct,ur,Mr,en,bn){var ei,Ii,yo,Io,Ho,sa,es,ts,As,Is,ys,cl;if(typeof Ee=="number"&&(cl=ur,ur=ct,ct=Ee,Ee=cl),Mr=Mr||[1,1],bn=bn||!1,isNaN(ct)||isNaN(ur)||!Array.isArray(Ee)||!Array.isArray(Mr)||!xt(en)||typeof bn!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(da(ct,ur),ei=Mr[0],Ii=Mr[1],Io=Ee.length,Is=ct,ys=ur,yo=0;yo<Io;yo++)(Ho=Ee[yo]).length===2?(Is=Ho[0]*ei+Is,ys=Ho[1]*Ii+ys,Ia(Is,ys)):(sa=Ho[0]*ei+Is,es=Ho[1]*Ii+ys,ts=Ho[2]*ei+Is,As=Ho[3]*Ii+ys,Is=Ho[4]*ei+Is,ys=Ho[5]*Ii+ys,fa(sa,es,ts,As,Is,ys));return bn&&sn(),Zi(en),this},Ge.path=function(Ee){for(var ct=0;ct<Ee.length;ct++){var ur=Ee[ct],Mr=ur.c;switch(ur.op){case"m":da(Mr[0],Mr[1]);break;case"l":Ia(Mr[0],Mr[1]);break;case"c":fa.apply(this,Mr);break;case"h":sn()}}return this},Ge.__private__.rect=Ge.rect=function(Ee,ct,ur,Mr,en){if(isNaN(Ee)||isNaN(ct)||isNaN(ur)||isNaN(Mr)||!xt(en))throw new Error("Invalid arguments passed to jsPDF.rect");return Zr===dr.COMPAT&&(Mr=-Mr),Cr([cn(rr(Ee)),cn(Or(ct)),cn(rr(ur)),cn(rr(Mr)),"re"].join(" ")),Zi(en),this},Ge.__private__.triangle=Ge.triangle=function(Ee,ct,ur,Mr,en,bn,ei){if(isNaN(Ee)||isNaN(ct)||isNaN(ur)||isNaN(Mr)||isNaN(en)||isNaN(bn)||!xt(ei))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[ur-Ee,Mr-ct],[en-ur,bn-Mr],[Ee-en,ct-bn]],Ee,ct,[1,1],ei,!0),this},Ge.__private__.roundedRect=Ge.roundedRect=function(Ee,ct,ur,Mr,en,bn,ei){if(isNaN(Ee)||isNaN(ct)||isNaN(ur)||isNaN(Mr)||isNaN(en)||isNaN(bn)||!xt(ei))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var Ii=4/3*(Math.SQRT2-1);return en=Math.min(en,.5*ur),bn=Math.min(bn,.5*Mr),this.lines([[ur-2*en,0],[en*Ii,0,en,bn-bn*Ii,en,bn],[0,Mr-2*bn],[0,bn*Ii,-en*Ii,bn,-en,bn],[2*en-ur,0],[-en*Ii,0,-en,-bn*Ii,-en,-bn],[0,2*bn-Mr],[0,-bn*Ii,en*Ii,-bn,en,-bn]],Ee+en,ct,[1,1],ei,!0),this},Ge.__private__.ellipse=Ge.ellipse=function(Ee,ct,ur,Mr,en){if(isNaN(Ee)||isNaN(ct)||isNaN(ur)||isNaN(Mr)||!xt(en))throw new Error("Invalid arguments passed to jsPDF.ellipse");var bn=4/3*(Math.SQRT2-1)*ur,ei=4/3*(Math.SQRT2-1)*Mr;return da(Ee+ur,ct),fa(Ee+ur,ct-ei,Ee+bn,ct-Mr,Ee,ct-Mr),fa(Ee-bn,ct-Mr,Ee-ur,ct-ei,Ee-ur,ct),fa(Ee-ur,ct+ei,Ee-bn,ct+Mr,Ee,ct+Mr),fa(Ee+bn,ct+Mr,Ee+ur,ct+ei,Ee+ur,ct),Zi(en),this},Ge.__private__.circle=Ge.circle=function(Ee,ct,ur,Mr){if(isNaN(Ee)||isNaN(ct)||isNaN(ur)||!xt(Mr))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(Ee,ct,ur,ur,Mr)},Ge.setFont=function(Ee,ct,ur){return ur&&(ct=$n(ct,ur)),ya=wa(Ee,ct,{disableWarning:!1}),this};var as=Ge.__private__.getFont=Ge.getFont=function(){return ca[wa.apply(Ge,arguments)]};Ge.__private__.getFontList=Ge.getFontList=function(){var Ee,ct,ur={};for(Ee in Ga)if(Ga.hasOwnProperty(Ee))for(ct in ur[Ee]=[],Ga[Ee])Ga[Ee].hasOwnProperty(ct)&&ur[Ee].push(ct);return ur},Ge.addFont=function(Ee,ct,ur,Mr,en){var bn=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&bn.indexOf(arguments[3])!==-1?en=arguments[3]:arguments[3]&&bn.indexOf(arguments[3])==-1&&(ur=$n(ur,Mr)),en=en||"Identity-H",Fr.call(this,Ee,ct,ur,en)};var Va,ha=z.lineWidth||.200025,xa=Ge.__private__.getLineWidth=Ge.getLineWidth=function(){return ha},ko=Ge.__private__.setLineWidth=Ge.setLineWidth=function(Ee){return ha=Ee,Cr(cn(rr(Ee))+" w"),this};Ge.__private__.setLineDash=zt.API.setLineDash=zt.API.setLineDashPattern=function(Ee,ct){if(Ee=Ee||[],ct=ct||0,isNaN(ct)||!Array.isArray(Ee))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return Ee=Ee.map(function(ur){return cn(rr(ur))}).join(" "),ct=cn(rr(ct)),Cr("["+Ee+"] "+ct+" d"),this};var Mi=Ge.__private__.getLineHeight=Ge.getLineHeight=function(){return ri*Va};Ge.__private__.getLineHeight=Ge.getLineHeight=function(){return ri*Va};var co=Ge.__private__.setLineHeightFactor=Ge.setLineHeightFactor=function(Ee){return typeof(Ee=Ee||1.15)=="number"&&(Va=Ee),this},go=Ge.__private__.getLineHeightFactor=Ge.getLineHeightFactor=function(){return Va};co(z.lineHeight);var qi=Ge.__private__.getHorizontalCoordinate=function(Ee){return rr(Ee)},ji=Ge.__private__.getVerticalCoordinate=function(Ee){return Zr===dr.ADVANCED?Ee:ea[Ar].mediaBox.topRightY-ea[Ar].mediaBox.bottomLeftY-rr(Ee)},ra=Ge.__private__.getHorizontalCoordinateString=Ge.getHorizontalCoordinateString=function(Ee){return cn(qi(Ee))},jo=Ge.__private__.getVerticalCoordinateString=Ge.getVerticalCoordinateString=function(Ee){return cn(ji(Ee))},Ca=z.strokeColor||"0 G";Ge.__private__.getStrokeColor=Ge.getDrawColor=function(){return Na(Ca)},Ge.__private__.setStrokeColor=Ge.setDrawColor=function(Ee,ct,ur,Mr){return Ca=aa({ch1:Ee,ch2:ct,ch3:ur,ch4:Mr,pdfColorType:"draw",precision:2}),Cr(Ca),this};var Ra=z.fillColor||"0 g";Ge.__private__.getFillColor=Ge.getFillColor=function(){return Na(Ra)},Ge.__private__.setFillColor=Ge.setFillColor=function(Ee,ct,ur,Mr){return Ra=aa({ch1:Ee,ch2:ct,ch3:ur,ch4:Mr,pdfColorType:"fill",precision:2}),Cr(Ra),this};var ro=z.textColor||"0 g",_a=Ge.__private__.getTextColor=Ge.getTextColor=function(){return Na(ro)};Ge.__private__.setTextColor=Ge.setTextColor=function(Ee,ct,ur,Mr){return ro=aa({ch1:Ee,ch2:ct,ch3:ur,ch4:Mr,pdfColorType:"text",precision:3}),this};var Ma=z.charSpace,Bn=Ge.__private__.getCharSpace=Ge.getCharSpace=function(){return parseFloat(Ma||0)};Ge.__private__.setCharSpace=Ge.setCharSpace=function(Ee){if(isNaN(Ee))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Ma=Ee,this};var Wo=0;Ge.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},Ge.__private__.setLineCap=Ge.setLineCap=function(Ee){var ct=Ge.CapJoinStyles[Ee];if(ct===void 0)throw new Error("Line cap style of '"+Ee+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Wo=ct,Cr(ct+" J"),this};var ba=0;Ge.__private__.setLineJoin=Ge.setLineJoin=function(Ee){var ct=Ge.CapJoinStyles[Ee];if(ct===void 0)throw new Error("Line join style of '"+Ee+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return ba=ct,Cr(ct+" j"),this},Ge.__private__.setLineMiterLimit=Ge.__private__.setMiterLimit=Ge.setLineMiterLimit=Ge.setMiterLimit=function(Ee){if(Ee=Ee||0,isNaN(Ee))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return Cr(cn(rr(Ee))+" M"),this},Ge.GState=Bt,Ge.setGState=function(Ee){(Ee=typeof Ee=="string"?Aa[ms[Ee]]:ss(null,Ee)).equals(ml)||(Cr("/"+Ee.id+" gs"),ml=Ee)};var ss=function(Ee,ct){if(!Ee||!ms[Ee]){var ur=!1;for(var Mr in Aa)if(Aa.hasOwnProperty(Mr)&&Aa[Mr].equals(ct)){ur=!0;break}if(ur)ct=Aa[Mr];else{var en="GS"+(Object.keys(Aa).length+1).toString(10);Aa[en]=ct,ct.id=en}return Ee&&(ms[Ee]=ct.id),La.publish("addGState",ct),ct}};Ge.addGState=function(Ee,ct){return ss(Ee,ct),this},Ge.saveGraphicsState=function(){return Cr("q"),gl.push({key:ya,size:ri,color:ro}),this},Ge.restoreGraphicsState=function(){Cr("Q");var Ee=gl.pop();return ya=Ee.key,ri=Ee.size,ro=Ee.color,ml=null,this},Ge.setCurrentTransformationMatrix=function(Ee){return Cr(Ee.toString()+" cm"),this},Ge.comment=function(Ee){return Cr("#"+Ee),this};var qa=function(Ee,ct){var ur=Ee||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return ur},set:function(bn){isNaN(bn)||(ur=parseFloat(bn))}});var Mr=ct||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Mr},set:function(bn){isNaN(bn)||(Mr=parseFloat(bn))}});var en="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return en},set:function(bn){en=bn.toString()}}),this},vs=function(Ee,ct,ur,Mr){qa.call(this,Ee,ct),this.type="rect";var en=ur||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return en},set:function(ei){isNaN(ei)||(en=parseFloat(ei))}});var bn=Mr||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return bn},set:function(ei){isNaN(ei)||(bn=parseFloat(ei))}}),this},Ls=function(){this.page=us,this.currentPage=Ar,this.pages=wi.slice(0),this.pagesContext=ea.slice(0),this.x=Ss,this.y=Jo,this.matrix=os,this.width=$s(Ar),this.height=Hs(Ar),this.outputDestination=Gi,this.id="",this.objectNumber=-1};Ls.prototype.restore=function(){us=this.page,Ar=this.currentPage,ea=this.pagesContext,wi=this.pages,Ss=this.x,Jo=this.y,os=this.matrix,al(Ar,this.width),sl(Ar,this.height),Gi=this.outputDestination};var Ys=function(Ee,ct,ur,Mr,en){Ms.push(new Ls),us=Ar=0,wi=[],Ss=Ee,Jo=ct,os=en,Wn([ur,Mr])},js=function(Ee){if(Qs[Ee])Ms.pop().restore();else{var ct=new Ls,ur="Xo"+(Object.keys(Ya).length+1).toString(10);ct.id=ur,Qs[Ee]=ur,Ya[ur]=ct,La.publish("addFormObject",ct),Ms.pop().restore()}};for(var hs in Ge.beginFormObject=function(Ee,ct,ur,Mr,en){return Ys(Ee,ct,ur,Mr,en),this},Ge.endFormObject=function(Ee){return js(Ee),this},Ge.doFormObject=function(Ee,ct){var ur=Ya[Qs[Ee]];return Cr("q"),Cr(ct.toString()+" cm"),Cr("/"+ur.id+" Do"),Cr("Q"),this},Ge.getFormObject=function(Ee){var ct=Ya[Qs[Ee]];return{x:ct.x,y:ct.y,width:ct.width,height:ct.height,matrix:ct.matrix}},Ge.save=function(Ee,ct){return Ee=Ee||"generated.pdf",(ct=ct||{}).returnPromise=ct.returnPromise||!1,ct.returnPromise===!1?(Pt(Oo(Bo()),Ee),typeof Pt.unload=="function"&&Yr.setTimeout&&setTimeout(Pt.unload,911),this):new Promise(function(ur,Mr){try{var en=Pt(Oo(Bo()),Ee);typeof Pt.unload=="function"&&Yr.setTimeout&&setTimeout(Pt.unload,911),ur(en)}catch(bn){Mr(bn.message)}})},zt.API)zt.API.hasOwnProperty(hs)&&(hs==="events"&&zt.API.events.length?function(Ee,ct){var ur,Mr,en;for(en=ct.length-1;en!==-1;en--)ur=ct[en][0],Mr=ct[en][1],Ee.subscribe.apply(Ee,[ur].concat(typeof Mr=="function"?[Mr]:Mr))}(La,zt.API.events):Ge[hs]=zt.API[hs]);var $s=Ge.getPageWidth=function(Ee){return(ea[Ee=Ee||Ar].mediaBox.topRightX-ea[Ee].mediaBox.bottomLeftX)/Hi},al=Ge.setPageWidth=function(Ee,ct){ea[Ee].mediaBox.topRightX=ct*Hi+ea[Ee].mediaBox.bottomLeftX},Hs=Ge.getPageHeight=function(Ee){return(ea[Ee=Ee||Ar].mediaBox.topRightY-ea[Ee].mediaBox.bottomLeftY)/Hi},sl=Ge.setPageHeight=function(Ee,ct){ea[Ee].mediaBox.topRightY=ct*Hi+ea[Ee].mediaBox.bottomLeftY};return Ge.internal={pdfEscape:Cn,getStyle:xr,getFont:as,getFontSize:Bi,getCharSpace:Bn,getTextColor:_a,getLineHeight:Mi,getLineHeightFactor:go,getLineWidth:xa,write:Ei,getHorizontalCoordinate:qi,getVerticalCoordinate:ji,getCoordinateString:ra,getVerticalCoordinateString:jo,collections:{},newObject:ga,newAdditionalObject:_s,newObjectDeferred:Sa,newObjectDeferredBegin:Yo,getFilters:fs,putStream:Gs,events:La,scaleFactor:Hi,pageSize:{getWidth:function(){return $s(Ar)},setWidth:function(Ee){al(Ar,Ee)},getHeight:function(){return Hs(Ar)},setHeight:function(Ee){sl(Ar,Ee)}},encryptionOptions:gt,encryption:$o,getEncryptor:Yi,output:Ro,getNumberOfPages:vi,pages:wi,out:Cr,f2:Vn,f3:Xt,getPageInfo:k,getPageInfoByObjId:ge,getCurrentPageInfo:Ze,getPDFVersion:er,Point:qa,Rectangle:vs,Matrix:To,hasHotfix:So},Object.defineProperty(Ge.internal.pageSize,"width",{get:function(){return $s(Ar)},set:function(Ee){al(Ar,Ee)},enumerable:!0,configurable:!0}),Object.defineProperty(Ge.internal.pageSize,"height",{get:function(){return Hs(Ar)},set:function(Ee){sl(Ar,Ee)},enumerable:!0,configurable:!0}),Xr.call(Ge,di),ya="F1",ai(Be,H),La.publish("initialized"),Ge}je.prototype.lsbFirstWord=function(z){return String.fromCharCode(z>>0&255,z>>8&255,z>>16&255,z>>24&255)},je.prototype.toHexString=function(z){return z.split("").map(function(_){return("0"+(255&_.charCodeAt(0)).toString(16)).slice(-2)}).join("")},je.prototype.hexToBytes=function(z){for(var _=[],H=0;H<z.length;H+=2)_.push(String.fromCharCode(parseInt(z.substr(H,2),16)));return _.join("")},je.prototype.processOwnerPassword=function(z,_){return no(_o(_).substr(0,5),z)},je.prototype.encryptor=function(z,_){var H=_o(this.encryptionKey+String.fromCharCode(255&z,z>>8&255,z>>16&255,255&_,_>>8&255)).substr(0,10);return function(Ae){return no(H,Ae)}},Bt.prototype.equals=function(z){var _,H="id,objectNumber,equals";if(!z||(0,n.Z)(z)!==(0,n.Z)(this))return!1;var Ae=0;for(_ in this)if(!(H.indexOf(_)>=0)){if(this.hasOwnProperty(_)&&!z.hasOwnProperty(_)||this[_]!==z[_])return!1;Ae++}for(_ in z)z.hasOwnProperty(_)&&H.indexOf(_)<0&&Ae--;return Ae===0},zt.API={events:[]},zt.version="2.5.1";var rn=zt.API,On=1,xn=function(z){return z.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Kn=function(z){return z.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},jn=function(z){return z.toFixed(2)},to=function(z){return z.toFixed(5)};rn.__acroform__={};var ki=function(z,_){z.prototype=Object.create(_.prototype),z.prototype.constructor=z},zo=function(z){return z*On},Ko=function(z){var _=new yi,H=si.internal.getHeight(z)||0,Ae=si.internal.getWidth(z)||0;return _.BBox=[0,0,Number(jn(Ae)),Number(jn(H))],_},uo=rn.__acroform__.setBit=function(z,_){if(z=z||0,_=_||0,isNaN(z)||isNaN(_))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return z|=1<<_},ia=rn.__acroform__.clearBit=function(z,_){if(z=z||0,_=_||0,isNaN(z)||isNaN(_))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return z&=~(1<<_)},la=rn.__acroform__.getBit=function(z,_){if(isNaN(z)||isNaN(_))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return z&1<<_?1:0},so=rn.__acroform__.getBitForPdf=function(z,_){if(isNaN(z)||isNaN(_))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return la(z,_-1)},zi=rn.__acroform__.setBitForPdf=function(z,_){if(isNaN(z)||isNaN(_))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return uo(z,_-1)},Xi=rn.__acroform__.clearBitForPdf=function(z,_){if(isNaN(z)||isNaN(_))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return ia(z,_-1)},ua=rn.__acroform__.calculateCoordinates=function(z,_){var H=_.internal.getHorizontalCoordinate,Ae=_.internal.getVerticalCoordinate,Be=z[0],ve=z[1],Le=z[2],Re=z[3],ke={};return ke.lowerLeft_X=H(Be)||0,ke.lowerLeft_Y=Ae(ve+Re)||0,ke.upperRight_X=H(Be+Le)||0,ke.upperRight_Y=Ae(ve)||0,[Number(jn(ke.lowerLeft_X)),Number(jn(ke.lowerLeft_Y)),Number(jn(ke.upperRight_X)),Number(jn(ke.upperRight_Y))]},ta=function(z){if(z.appearanceStreamContent)return z.appearanceStreamContent;if(z.V||z.DV){var _=[],H=z._V||z.DV,Ae=Pi(z,H),Be=z.scope.internal.getFont(z.fontName,z.fontStyle).id;_.push("/Tx BMC"),_.push("q"),_.push("BT"),_.push(z.scope.__private__.encodeColorString(z.color)),_.push("/"+Be+" "+jn(Ae.fontSize)+" Tf"),_.push("1 0 0 1 0 0 Tm"),_.push(Ae.text),_.push("ET"),_.push("Q"),_.push("EMC");var ve=Ko(z);return ve.scope=z.scope,ve.stream=_.join(`
`),ve}},Pi=function(z,_){var H=z.fontSize===0?z.maxFontSize:z.fontSize,Ae={text:"",fontSize:""},Be=(_=(_=_.substr(0,1)=="("?_.substr(1):_).substr(_.length-1)==")"?_.substr(0,_.length-1):_).split(" ");Be=z.multiline?Be.map(function(Xt){return Xt.split(`
`)}):Be.map(function(Xt){return[Xt]});var ve=H,Le=si.internal.getHeight(z)||0;Le=Le<0?-Le:Le;var Re=si.internal.getWidth(z)||0;Re=Re<0?-Re:Re;var ke=function(Xt,rr,Ur){if(Xt+1<Be.length){var Or=rr+" "+Be[Xt+1][0];return Ji(Or,z,Ur).width<=Re-4}return!1};ve++;e:for(;ve>0;){_="",ve--;var it,gt,Et=Ji("3",z,ve).height,Mt=z.multiline?Le-ve:(Le-Et)/2,Ge=Mt+=2,cr=0,er=0,mr=0;if(ve<=0){_=`(...) Tj
`,_+="% Width of Text: "+Ji(_,z,ve=12).width+", FieldWidth:"+Re+`
`;break}for(var Kt="",dr=0,Zr=0;Zr<Be.length;Zr++)if(Be.hasOwnProperty(Zr)){var dn=!1;if(Be[Zr].length!==1&&mr!==Be[Zr].length-1){if((Et+2)*(dr+2)+2>Le)continue e;Kt+=Be[Zr][mr],dn=!0,er=Zr,Zr--}else{Kt=(Kt+=Be[Zr][mr]+" ").substr(Kt.length-1)==" "?Kt.substr(0,Kt.length-1):Kt;var hn=parseInt(Zr),$n=ke(hn,Kt,ve),cn=Zr>=Be.length-1;if($n&&!cn){Kt+=" ",mr=0;continue}if($n||cn){if(cn)er=hn;else if(z.multiline&&(Et+2)*(dr+2)+2>Le)continue e}else{if(!z.multiline||(Et+2)*(dr+2)+2>Le)continue e;er=hn}}for(var Er="",Gn=cr;Gn<=er;Gn++){var Vn=Be[Gn];if(z.multiline){if(Gn===er){Er+=Vn[mr]+" ",mr=(mr+1)%Vn.length;continue}if(Gn===cr){Er+=Vn[Vn.length-1]+" ";continue}}Er+=Vn[0]+" "}switch(Er=Er.substr(Er.length-1)==" "?Er.substr(0,Er.length-1):Er,gt=Ji(Er,z,ve).width,z.textAlign){case"right":it=Re-gt-2;break;case"center":it=(Re-gt)/2;break;case"left":default:it=2}_+=jn(it)+" "+jn(Ge)+` Td
`,_+="("+xn(Er)+`) Tj
`,_+=-jn(it)+` 0 Td
`,Ge=-(ve+2),gt=0,cr=dn?er:er+1,dr++,Kt=""}break}return Ae.text=_,Ae.fontSize=ve,Ae},Ji=function(z,_,H){var Ae=_.scope.internal.getFont(_.fontName,_.fontStyle),Be=_.scope.getStringUnitWidth(z,{font:Ae,fontSize:parseFloat(H),charSpace:0})*parseFloat(H);return{height:_.scope.getStringUnitWidth("3",{font:Ae,fontSize:parseFloat(H),charSpace:0})*parseFloat(H)*1.5,width:Be}},Do={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Ki=function(z,_){var H={type:"reference",object:z};_.internal.getPageInfo(z.page).pageContext.annotations.find(function(Ae){return Ae.type===H.type&&Ae.object===H.object})===void 0&&_.internal.getPageInfo(z.page).pageContext.annotations.push(H)},fi=function(z,_){for(var H in z)if(z.hasOwnProperty(H)){var Ae=H,Be=z[H];_.internal.newObjectDeferredBegin(Be.objId,!0),(0,n.Z)(Be)==="object"&&typeof Be.putStream=="function"&&Be.putStream(),delete z[Ae]}},oi=function(z,_){if(_.scope=z,z.internal!==void 0&&(z.internal.acroformPlugin===void 0||z.internal.acroformPlugin.isInitialized===!1)){if(Oi.FieldNum=0,z.internal.acroformPlugin=JSON.parse(JSON.stringify(Do)),z.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");On=z.internal.scaleFactor,z.internal.acroformPlugin.acroFormDictionaryRoot=new Ci,z.internal.acroformPlugin.acroFormDictionaryRoot.scope=z,z.internal.acroformPlugin.acroFormDictionaryRoot._eventID=z.internal.events.subscribe("postPutResources",function(){(function(H){H.internal.events.unsubscribe(H.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete H.internal.acroformPlugin.acroFormDictionaryRoot._eventID,H.internal.acroformPlugin.printedOut=!0})(z)}),z.internal.events.subscribe("buildDocument",function(){(function(H){H.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var Ae=H.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var Be in Ae)if(Ae.hasOwnProperty(Be)){var ve=Ae[Be];ve.objId=void 0,ve.hasAnnotation&&Ki(ve,H)}})(z)}),z.internal.events.subscribe("putCatalog",function(){(function(H){if(H.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");H.internal.write("/AcroForm "+H.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")})(z)}),z.internal.events.subscribe("postPutPages",function(H){(function(Ae,Be){var ve=!Ae;for(var Le in Ae||(Be.internal.newObjectDeferredBegin(Be.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),Be.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),Ae=Ae||Be.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(Ae.hasOwnProperty(Le)){var Re=Ae[Le],ke=[],it=Re.Rect;if(Re.Rect&&(Re.Rect=ua(Re.Rect,Be)),Be.internal.newObjectDeferredBegin(Re.objId,!0),Re.DA=si.createDefaultAppearanceStream(Re),(0,n.Z)(Re)==="object"&&typeof Re.getKeyValueListForStream=="function"&&(ke=Re.getKeyValueListForStream()),Re.Rect=it,Re.hasAppearanceStream&&!Re.appearanceStreamContent){var gt=ta(Re);ke.push({key:"AP",value:"<</N "+gt+">>"}),Be.internal.acroformPlugin.xForms.push(gt)}if(Re.appearanceStreamContent){var Et="";for(var Mt in Re.appearanceStreamContent)if(Re.appearanceStreamContent.hasOwnProperty(Mt)){var Ge=Re.appearanceStreamContent[Mt];if(Et+="/"+Mt+" ",Et+="<<",Object.keys(Ge).length>=1||Array.isArray(Ge)){for(var Le in Ge)if(Ge.hasOwnProperty(Le)){var cr=Ge[Le];typeof cr=="function"&&(cr=cr.call(Be,Re)),Et+="/"+Le+" "+cr+" ",Be.internal.acroformPlugin.xForms.indexOf(cr)>=0||Be.internal.acroformPlugin.xForms.push(cr)}}else typeof(cr=Ge)=="function"&&(cr=cr.call(Be,Re)),Et+="/"+Le+" "+cr,Be.internal.acroformPlugin.xForms.indexOf(cr)>=0||Be.internal.acroformPlugin.xForms.push(cr);Et+=">>"}ke.push({key:"AP",value:`<<
`+Et+">>"})}Be.internal.putStream({additionalKeyValues:ke,objectId:Re.objId}),Be.internal.out("endobj")}ve&&fi(Be.internal.acroformPlugin.xForms,Be)})(H,z)}),z.internal.acroformPlugin.isInitialized=!0}},_i=rn.__acroform__.arrayToPdfArray=function(z,_,H){var Ae=function(Le){return Le};if(Array.isArray(z)){for(var Be="[",ve=0;ve<z.length;ve++)switch(ve!==0&&(Be+=" "),(0,n.Z)(z[ve])){case"boolean":case"number":case"object":Be+=z[ve].toString();break;case"string":z[ve].substr(0,1)!=="/"?(_!==void 0&&H&&(Ae=H.internal.getEncryptor(_)),Be+="("+xn(Ae(z[ve].toString()))+")"):Be+=z[ve].toString()}return Be+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},Jr=function(z,_,H){var Ae=function(Be){return Be};return _!==void 0&&H&&(Ae=H.internal.getEncryptor(_)),(z=z||"").toString(),z="("+xn(Ae(z))+")"},hi=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(this._objId===void 0){if(this.scope===void 0)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(z){this._objId=z}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};hi.prototype.toString=function(){return this.objId+" 0 R"},hi.prototype.putStream=function(){var z=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:z,objectId:this.objId}),this.scope.internal.out("endobj")},hi.prototype.getKeyValueListForStream=function(){var z=[],_=Object.getOwnPropertyNames(this).filter(function(ve){return ve!="content"&&ve!="appearanceStreamContent"&&ve!="scope"&&ve!="objId"&&ve.substring(0,1)!="_"});for(var H in _)if(Object.getOwnPropertyDescriptor(this,_[H]).configurable===!1){var Ae=_[H],Be=this[Ae];Be&&(Array.isArray(Be)?z.push({key:Ae,value:_i(Be,this.objId,this.scope)}):Be instanceof hi?(Be.scope=this.scope,z.push({key:Ae,value:Be.objId+" 0 R"})):typeof Be!="function"&&z.push({key:Ae,value:Be}))}return z};var yi=function(){hi.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var z,_=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return _},set:function(H){_=H}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(H){z=H.trim()},get:function(){return z||null}})};ki(yi,hi);var Ci=function(){hi.call(this);var z,_=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return _.length>0?_:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return _}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(z){var H=function(Ae){return Ae};return this.scope&&(H=this.scope.internal.getEncryptor(this.objId)),"("+xn(H(z))+")"}},set:function(H){z=H}})};ki(Ci,hi);var Oi=function z(){hi.call(this);var _=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return _},set:function(Kt){if(isNaN(Kt))throw new Error('Invalid value "'+Kt+'" for attribute F supplied.');_=Kt}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(so(_,3))},set:function(Kt){Boolean(Kt)===!0?this.F=zi(_,3):this.F=Xi(_,3)}});var H=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return H},set:function(Kt){if(isNaN(Kt))throw new Error('Invalid value "'+Kt+'" for attribute Ff supplied.');H=Kt}});var Ae=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(Ae.length!==0)return Ae},set:function(Kt){Ae=Kt!==void 0?Kt:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!Ae||isNaN(Ae[0])?0:Ae[0]},set:function(Kt){Ae[0]=Kt}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!Ae||isNaN(Ae[1])?0:Ae[1]},set:function(Kt){Ae[1]=Kt}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!Ae||isNaN(Ae[2])?0:Ae[2]},set:function(Kt){Ae[2]=Kt}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!Ae||isNaN(Ae[3])?0:Ae[3]},set:function(Kt){Ae[3]=Kt}});var Be="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return Be},set:function(Kt){switch(Kt){case"/Btn":case"/Tx":case"/Ch":case"/Sig":Be=Kt;break;default:throw new Error('Invalid value "'+Kt+'" for attribute FT supplied.')}}});var ve=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!ve||ve.length<1){if(this instanceof oa)return;ve="FieldObject"+z.FieldNum++}var Kt=function(dr){return dr};return this.scope&&(Kt=this.scope.internal.getEncryptor(this.objId)),"("+xn(Kt(ve))+")"},set:function(Kt){ve=Kt.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return ve},set:function(Kt){ve=Kt}});var Le="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return Le},set:function(Kt){Le=Kt}});var Re="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return Re},set:function(Kt){Re=Kt}});var ke=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return ke},set:function(Kt){ke=Kt}});var it=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return it===void 0?50/On:it},set:function(Kt){it=Kt}});var gt="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return gt},set:function(Kt){gt=Kt}});var Et="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!Et||this instanceof oa||this instanceof ls))return Jr(Et,this.objId,this.scope)},set:function(Kt){Kt=Kt.toString(),Et=Kt}});var Mt=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(Mt)return this instanceof Eo?Mt:Jr(Mt,this.objId,this.scope)},set:function(Kt){Kt=Kt.toString(),Mt=this instanceof Eo?Kt:Kt.substr(0,1)==="("?Kn(Kt.substr(1,Kt.length-2)):Kn(Kt)}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof Eo?Kn(Mt.substr(1,Mt.length-1)):Mt},set:function(Kt){Kt=Kt.toString(),Mt=this instanceof Eo?"/"+Kt:Kt}});var Ge=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(Ge)return Ge},set:function(Kt){this.V=Kt}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(Ge)return this instanceof Eo?Ge:Jr(Ge,this.objId,this.scope)},set:function(Kt){Kt=Kt.toString(),Ge=this instanceof Eo?Kt:Kt.substr(0,1)==="("?Kn(Kt.substr(1,Kt.length-2)):Kn(Kt)}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof Eo?Kn(Ge.substr(1,Ge.length-1)):Ge},set:function(Kt){Kt=Kt.toString(),Ge=this instanceof Eo?"/"+Kt:Kt}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var cr,er=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return er},set:function(Kt){Kt=Boolean(Kt),er=Kt}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(cr)return cr},set:function(Kt){cr=Kt}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(so(this.Ff,1))},set:function(Kt){Boolean(Kt)===!0?this.Ff=zi(this.Ff,1):this.Ff=Xi(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(so(this.Ff,2))},set:function(Kt){Boolean(Kt)===!0?this.Ff=zi(this.Ff,2):this.Ff=Xi(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(so(this.Ff,3))},set:function(Kt){Boolean(Kt)===!0?this.Ff=zi(this.Ff,3):this.Ff=Xi(this.Ff,3)}});var mr=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(mr!==null)return mr},set:function(Kt){if([0,1,2].indexOf(Kt)===-1)throw new Error('Invalid value "'+Kt+'" for attribute Q supplied.');mr=Kt}}),Object.defineProperty(this,"textAlign",{get:function(){var Kt;switch(mr){case 0:default:Kt="left";break;case 1:Kt="center";break;case 2:Kt="right"}return Kt},configurable:!0,enumerable:!0,set:function(Kt){switch(Kt){case"right":case 2:mr=2;break;case"center":case 1:mr=1;break;case"left":case 0:default:mr=0}}})};ki(Oi,hi);var Mn=function(){Oi.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var z=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return z},set:function(H){z=H}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return z},set:function(H){z=H}});var _=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return _i(_,this.objId,this.scope)},set:function(H){var Ae,Be;Be=[],typeof(Ae=H)=="string"&&(Be=function(ve,Le,Re){Re||(Re=1);for(var ke,it=[];ke=Le.exec(ve);)it.push(ke[Re]);return it}(Ae,/\((.*?)\)/g)),_=Be}}),this.getOptions=function(){return _},this.setOptions=function(H){_=H,this.sort&&_.sort()},this.addOption=function(H){H=(H=H||"").toString(),_.push(H),this.sort&&_.sort()},this.removeOption=function(H,Ae){for(Ae=Ae||!1,H=(H=H||"").toString();_.indexOf(H)!==-1&&(_.splice(_.indexOf(H),1),Ae!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(so(this.Ff,18))},set:function(H){Boolean(H)===!0?this.Ff=zi(this.Ff,18):this.Ff=Xi(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(so(this.Ff,19))},set:function(H){this.combo===!0&&(Boolean(H)===!0?this.Ff=zi(this.Ff,19):this.Ff=Xi(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(so(this.Ff,20))},set:function(H){Boolean(H)===!0?(this.Ff=zi(this.Ff,20),_.sort()):this.Ff=Xi(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(so(this.Ff,22))},set:function(H){Boolean(H)===!0?this.Ff=zi(this.Ff,22):this.Ff=Xi(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(so(this.Ff,23))},set:function(H){Boolean(H)===!0?this.Ff=zi(this.Ff,23):this.Ff=Xi(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(so(this.Ff,27))},set:function(H){Boolean(H)===!0?this.Ff=zi(this.Ff,27):this.Ff=Xi(this.Ff,27)}}),this.hasAppearanceStream=!1};ki(Mn,Oi);var wo=function(){Mn.call(this),this.fontName="helvetica",this.combo=!1};ki(wo,Mn);var xo=function(){wo.call(this),this.combo=!0};ki(xo,wo);var Ba=function(){xo.call(this),this.edit=!0};ki(Ba,xo);var Eo=function(){Oi.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(so(this.Ff,15))},set:function(H){Boolean(H)===!0?this.Ff=zi(this.Ff,15):this.Ff=Xi(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(so(this.Ff,16))},set:function(H){Boolean(H)===!0?this.Ff=zi(this.Ff,16):this.Ff=Xi(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(so(this.Ff,17))},set:function(H){Boolean(H)===!0?this.Ff=zi(this.Ff,17):this.Ff=Xi(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(so(this.Ff,26))},set:function(H){Boolean(H)===!0?this.Ff=zi(this.Ff,26):this.Ff=Xi(this.Ff,26)}});var z,_={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var H=function(ve){return ve};if(this.scope&&(H=this.scope.internal.getEncryptor(this.objId)),Object.keys(_).length!==0){var Ae,Be=[];for(Ae in Be.push("<<"),_)Be.push("/"+Ae+" ("+xn(H(_[Ae]))+")");return Be.push(">>"),Be.join(`
`)}},set:function(H){(0,n.Z)(H)==="object"&&(_=H)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return _.CA||""},set:function(H){typeof H=="string"&&(_.CA=H)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return z},set:function(H){z=H}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return z.substr(1,z.length-1)},set:function(H){z="/"+H}})};ki(Eo,Oi);var pa=function(){Eo.call(this),this.pushButton=!0};ki(pa,Eo);var va=function(){Eo.call(this),this.radio=!0,this.pushButton=!1;var z=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return z},set:function(_){z=_!==void 0?_:[]}})};ki(va,Eo);var oa=function(){var z,_;Oi.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return z},set:function(Be){z=Be}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return _},set:function(Be){_=Be}});var H,Ae={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var Be=function(Re){return Re};this.scope&&(Be=this.scope.internal.getEncryptor(this.objId));var ve,Le=[];for(ve in Le.push("<<"),Ae)Le.push("/"+ve+" ("+xn(Be(Ae[ve]))+")");return Le.push(">>"),Le.join(`
`)},set:function(Be){(0,n.Z)(Be)==="object"&&(Ae=Be)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return Ae.CA||""},set:function(Be){typeof Be=="string"&&(Ae.CA=Be)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return H},set:function(Be){H=Be}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return H.substr(1,H.length-1)},set:function(Be){H="/"+Be}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=si.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};ki(oa,Oi),va.prototype.setAppearance=function(z){if(!("createAppearanceStream"in z)||!("getCA"in z))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var _ in this.Kids)if(this.Kids.hasOwnProperty(_)){var H=this.Kids[_];H.appearanceStreamContent=z.createAppearanceStream(H.optionName),H.caption=z.getCA()}},va.prototype.createOption=function(z){var _=new oa;return _.Parent=this,_.optionName=z,this.Kids.push(_),Rs.call(this.scope,_),_};var xs=function(){Eo.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=si.CheckBox.createAppearanceStream()};ki(xs,Eo);var ls=function(){Oi.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(so(this.Ff,13))},set:function(_){Boolean(_)===!0?this.Ff=zi(this.Ff,13):this.Ff=Xi(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(so(this.Ff,21))},set:function(_){Boolean(_)===!0?this.Ff=zi(this.Ff,21):this.Ff=Xi(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(so(this.Ff,23))},set:function(_){Boolean(_)===!0?this.Ff=zi(this.Ff,23):this.Ff=Xi(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(so(this.Ff,24))},set:function(_){Boolean(_)===!0?this.Ff=zi(this.Ff,24):this.Ff=Xi(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(so(this.Ff,25))},set:function(_){Boolean(_)===!0?this.Ff=zi(this.Ff,25):this.Ff=Xi(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(so(this.Ff,26))},set:function(_){Boolean(_)===!0?this.Ff=zi(this.Ff,26):this.Ff=Xi(this.Ff,26)}});var z=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return z},set:function(_){z=_}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return z},set:function(_){Number.isInteger(_)&&(z=_)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};ki(ls,Oi);var Wa=function(){ls.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(so(this.Ff,14))},set:function(z){Boolean(z)===!0?this.Ff=zi(this.Ff,14):this.Ff=Xi(this.Ff,14)}}),this.password=!0};ki(Wa,ls);var si={CheckBox:{createAppearanceStream:function(){return{N:{On:si.CheckBox.YesNormal},D:{On:si.CheckBox.YesPushDown,Off:si.CheckBox.OffPushDown}}},YesPushDown:function(z){var _=Ko(z);_.scope=z.scope;var H=[],Ae=z.scope.internal.getFont(z.fontName,z.fontStyle).id,Be=z.scope.__private__.encodeColorString(z.color),ve=Pi(z,z.caption);return H.push("0.749023 g"),H.push("0 0 "+jn(si.internal.getWidth(z))+" "+jn(si.internal.getHeight(z))+" re"),H.push("f"),H.push("BMC"),H.push("q"),H.push("0 0 1 rg"),H.push("/"+Ae+" "+jn(ve.fontSize)+" Tf "+Be),H.push("BT"),H.push(ve.text),H.push("ET"),H.push("Q"),H.push("EMC"),_.stream=H.join(`
`),_},YesNormal:function(z){var _=Ko(z);_.scope=z.scope;var H=z.scope.internal.getFont(z.fontName,z.fontStyle).id,Ae=z.scope.__private__.encodeColorString(z.color),Be=[],ve=si.internal.getHeight(z),Le=si.internal.getWidth(z),Re=Pi(z,z.caption);return Be.push("1 g"),Be.push("0 0 "+jn(Le)+" "+jn(ve)+" re"),Be.push("f"),Be.push("q"),Be.push("0 0 1 rg"),Be.push("0 0 "+jn(Le-1)+" "+jn(ve-1)+" re"),Be.push("W"),Be.push("n"),Be.push("0 g"),Be.push("BT"),Be.push("/"+H+" "+jn(Re.fontSize)+" Tf "+Ae),Be.push(Re.text),Be.push("ET"),Be.push("Q"),_.stream=Be.join(`
`),_},OffPushDown:function(z){var _=Ko(z);_.scope=z.scope;var H=[];return H.push("0.749023 g"),H.push("0 0 "+jn(si.internal.getWidth(z))+" "+jn(si.internal.getHeight(z))+" re"),H.push("f"),_.stream=H.join(`
`),_}},RadioButton:{Circle:{createAppearanceStream:function(z){var _={D:{Off:si.RadioButton.Circle.OffPushDown},N:{}};return _.N[z]=si.RadioButton.Circle.YesNormal,_.D[z]=si.RadioButton.Circle.YesPushDown,_},getCA:function(){return"l"},YesNormal:function(z){var _=Ko(z);_.scope=z.scope;var H=[],Ae=si.internal.getWidth(z)<=si.internal.getHeight(z)?si.internal.getWidth(z)/4:si.internal.getHeight(z)/4;Ae=Number((.9*Ae).toFixed(5));var Be=si.internal.Bezier_C,ve=Number((Ae*Be).toFixed(5));return H.push("q"),H.push("1 0 0 1 "+to(si.internal.getWidth(z)/2)+" "+to(si.internal.getHeight(z)/2)+" cm"),H.push(Ae+" 0 m"),H.push(Ae+" "+ve+" "+ve+" "+Ae+" 0 "+Ae+" c"),H.push("-"+ve+" "+Ae+" -"+Ae+" "+ve+" -"+Ae+" 0 c"),H.push("-"+Ae+" -"+ve+" -"+ve+" -"+Ae+" 0 -"+Ae+" c"),H.push(ve+" -"+Ae+" "+Ae+" -"+ve+" "+Ae+" 0 c"),H.push("f"),H.push("Q"),_.stream=H.join(`
`),_},YesPushDown:function(z){var _=Ko(z);_.scope=z.scope;var H=[],Ae=si.internal.getWidth(z)<=si.internal.getHeight(z)?si.internal.getWidth(z)/4:si.internal.getHeight(z)/4;Ae=Number((.9*Ae).toFixed(5));var Be=Number((2*Ae).toFixed(5)),ve=Number((Be*si.internal.Bezier_C).toFixed(5)),Le=Number((Ae*si.internal.Bezier_C).toFixed(5));return H.push("0.749023 g"),H.push("q"),H.push("1 0 0 1 "+to(si.internal.getWidth(z)/2)+" "+to(si.internal.getHeight(z)/2)+" cm"),H.push(Be+" 0 m"),H.push(Be+" "+ve+" "+ve+" "+Be+" 0 "+Be+" c"),H.push("-"+ve+" "+Be+" -"+Be+" "+ve+" -"+Be+" 0 c"),H.push("-"+Be+" -"+ve+" -"+ve+" -"+Be+" 0 -"+Be+" c"),H.push(ve+" -"+Be+" "+Be+" -"+ve+" "+Be+" 0 c"),H.push("f"),H.push("Q"),H.push("0 g"),H.push("q"),H.push("1 0 0 1 "+to(si.internal.getWidth(z)/2)+" "+to(si.internal.getHeight(z)/2)+" cm"),H.push(Ae+" 0 m"),H.push(Ae+" "+Le+" "+Le+" "+Ae+" 0 "+Ae+" c"),H.push("-"+Le+" "+Ae+" -"+Ae+" "+Le+" -"+Ae+" 0 c"),H.push("-"+Ae+" -"+Le+" -"+Le+" -"+Ae+" 0 -"+Ae+" c"),H.push(Le+" -"+Ae+" "+Ae+" -"+Le+" "+Ae+" 0 c"),H.push("f"),H.push("Q"),_.stream=H.join(`
`),_},OffPushDown:function(z){var _=Ko(z);_.scope=z.scope;var H=[],Ae=si.internal.getWidth(z)<=si.internal.getHeight(z)?si.internal.getWidth(z)/4:si.internal.getHeight(z)/4;Ae=Number((.9*Ae).toFixed(5));var Be=Number((2*Ae).toFixed(5)),ve=Number((Be*si.internal.Bezier_C).toFixed(5));return H.push("0.749023 g"),H.push("q"),H.push("1 0 0 1 "+to(si.internal.getWidth(z)/2)+" "+to(si.internal.getHeight(z)/2)+" cm"),H.push(Be+" 0 m"),H.push(Be+" "+ve+" "+ve+" "+Be+" 0 "+Be+" c"),H.push("-"+ve+" "+Be+" -"+Be+" "+ve+" -"+Be+" 0 c"),H.push("-"+Be+" -"+ve+" -"+ve+" -"+Be+" 0 -"+Be+" c"),H.push(ve+" -"+Be+" "+Be+" -"+ve+" "+Be+" 0 c"),H.push("f"),H.push("Q"),_.stream=H.join(`
`),_}},Cross:{createAppearanceStream:function(z){var _={D:{Off:si.RadioButton.Cross.OffPushDown},N:{}};return _.N[z]=si.RadioButton.Cross.YesNormal,_.D[z]=si.RadioButton.Cross.YesPushDown,_},getCA:function(){return"8"},YesNormal:function(z){var _=Ko(z);_.scope=z.scope;var H=[],Ae=si.internal.calculateCross(z);return H.push("q"),H.push("1 1 "+jn(si.internal.getWidth(z)-2)+" "+jn(si.internal.getHeight(z)-2)+" re"),H.push("W"),H.push("n"),H.push(jn(Ae.x1.x)+" "+jn(Ae.x1.y)+" m"),H.push(jn(Ae.x2.x)+" "+jn(Ae.x2.y)+" l"),H.push(jn(Ae.x4.x)+" "+jn(Ae.x4.y)+" m"),H.push(jn(Ae.x3.x)+" "+jn(Ae.x3.y)+" l"),H.push("s"),H.push("Q"),_.stream=H.join(`
`),_},YesPushDown:function(z){var _=Ko(z);_.scope=z.scope;var H=si.internal.calculateCross(z),Ae=[];return Ae.push("0.749023 g"),Ae.push("0 0 "+jn(si.internal.getWidth(z))+" "+jn(si.internal.getHeight(z))+" re"),Ae.push("f"),Ae.push("q"),Ae.push("1 1 "+jn(si.internal.getWidth(z)-2)+" "+jn(si.internal.getHeight(z)-2)+" re"),Ae.push("W"),Ae.push("n"),Ae.push(jn(H.x1.x)+" "+jn(H.x1.y)+" m"),Ae.push(jn(H.x2.x)+" "+jn(H.x2.y)+" l"),Ae.push(jn(H.x4.x)+" "+jn(H.x4.y)+" m"),Ae.push(jn(H.x3.x)+" "+jn(H.x3.y)+" l"),Ae.push("s"),Ae.push("Q"),_.stream=Ae.join(`
`),_},OffPushDown:function(z){var _=Ko(z);_.scope=z.scope;var H=[];return H.push("0.749023 g"),H.push("0 0 "+jn(si.internal.getWidth(z))+" "+jn(si.internal.getHeight(z))+" re"),H.push("f"),_.stream=H.join(`
`),_}}},createDefaultAppearanceStream:function(z){var _=z.scope.internal.getFont(z.fontName,z.fontStyle).id,H=z.scope.__private__.encodeColorString(z.color);return"/"+_+" "+z.fontSize+" Tf "+H}};si.internal={Bezier_C:.551915024494,calculateCross:function(z){var _=si.internal.getWidth(z),H=si.internal.getHeight(z),Ae=Math.min(_,H);return{x1:{x:(_-Ae)/2,y:(H-Ae)/2+Ae},x2:{x:(_-Ae)/2+Ae,y:(H-Ae)/2},x3:{x:(_-Ae)/2,y:(H-Ae)/2},x4:{x:(_-Ae)/2+Ae,y:(H-Ae)/2+Ae}}}},si.internal.getWidth=function(z){var _=0;return(0,n.Z)(z)==="object"&&(_=zo(z.Rect[2])),_},si.internal.getHeight=function(z){var _=0;return(0,n.Z)(z)==="object"&&(_=zo(z.Rect[3])),_};var Rs=rn.addField=function(z){if(oi(this,z),!(z instanceof Oi))throw new Error("Invalid argument passed to jsPDF.addField.");var _;return(_=z).scope.internal.acroformPlugin.printedOut&&(_.scope.internal.acroformPlugin.printedOut=!1,_.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),_.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(_),z.page=z.scope.internal.getCurrentPageInfo().pageNumber,this};rn.AcroFormChoiceField=Mn,rn.AcroFormListBox=wo,rn.AcroFormComboBox=xo,rn.AcroFormEditBox=Ba,rn.AcroFormButton=Eo,rn.AcroFormPushButton=pa,rn.AcroFormRadioButton=va,rn.AcroFormCheckBox=xs,rn.AcroFormTextField=ls,rn.AcroFormPasswordField=Wa,rn.AcroFormAppearance=si,rn.AcroForm={ChoiceField:Mn,ListBox:wo,ComboBox:xo,EditBox:Ba,Button:Eo,PushButton:pa,RadioButton:va,CheckBox:xs,TextField:ls,PasswordField:Wa,Appearance:si},zt.AcroForm={ChoiceField:Mn,ListBox:wo,ComboBox:xo,EditBox:Ba,Button:Eo,PushButton:pa,RadioButton:va,CheckBox:xs,TextField:ls,PasswordField:Wa,Appearance:si};var Ta=zt.AcroForm;function Ka(z){return z.reduce(function(_,H,Ae){return _[H]=Ae,_},{})}(function(z){z.__addimage__={};var _="UNKNOWN",H={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},Ae=z.__addimage__.getImageFileTypeByImageData=function(Xt,rr){var Ur,Or,En,yn,Rn,pn=_;if((rr=rr||_)==="RGBA"||Xt.data!==void 0&&Xt.data instanceof Uint8ClampedArray&&"height"in Xt&&"width"in Xt)return"RGBA";if($n(Xt))for(Rn in H)for(En=H[Rn],Ur=0;Ur<En.length;Ur+=1){for(yn=!0,Or=0;Or<En[Ur].length;Or+=1)if(En[Ur][Or]!==void 0&&En[Ur][Or]!==Xt[Or]){yn=!1;break}if(yn===!0){pn=Rn;break}}else for(Rn in H)for(En=H[Rn],Ur=0;Ur<En.length;Ur+=1){for(yn=!0,Or=0;Or<En[Ur].length;Or+=1)if(En[Ur][Or]!==void 0&&En[Ur][Or]!==Xt.charCodeAt(Or)){yn=!1;break}if(yn===!0){pn=Rn;break}}return pn===_&&rr!==_&&(pn=rr),pn},Be=function Xt(rr){for(var Ur=this.internal.write,Or=this.internal.putStream,En=(0,this.internal.getFilters)();En.indexOf("FlateEncode")!==-1;)En.splice(En.indexOf("FlateEncode"),1);rr.objectId=this.internal.newObject();var yn=[];if(yn.push({key:"Type",value:"/XObject"}),yn.push({key:"Subtype",value:"/Image"}),yn.push({key:"Width",value:rr.width}),yn.push({key:"Height",value:rr.height}),rr.colorSpace===mr.INDEXED?yn.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(rr.palette.length/3-1)+" "+("sMask"in rr&&rr.sMask!==void 0?rr.objectId+2:rr.objectId+1)+" 0 R]"}):(yn.push({key:"ColorSpace",value:"/"+rr.colorSpace}),rr.colorSpace===mr.DEVICE_CMYK&&yn.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),yn.push({key:"BitsPerComponent",value:rr.bitsPerComponent}),"decodeParameters"in rr&&rr.decodeParameters!==void 0&&yn.push({key:"DecodeParms",value:"<<"+rr.decodeParameters+">>"}),"transparency"in rr&&Array.isArray(rr.transparency)){for(var Rn="",pn=0,Un=rr.transparency.length;pn<Un;pn++)Rn+=rr.transparency[pn]+" "+rr.transparency[pn]+" ";yn.push({key:"Mask",value:"["+Rn+"]"})}rr.sMask!==void 0&&yn.push({key:"SMask",value:rr.objectId+1+" 0 R"});var kn=rr.filter!==void 0?["/"+rr.filter]:void 0;if(Or({data:rr.data,additionalKeyValues:yn,alreadyAppliedFilters:kn,objectId:rr.objectId}),Ur("endobj"),"sMask"in rr&&rr.sMask!==void 0){var Ui="/Predictor "+rr.predictor+" /Colors 1 /BitsPerComponent "+rr.bitsPerComponent+" /Columns "+rr.width,Ot={width:rr.width,height:rr.height,colorSpace:"DeviceGray",bitsPerComponent:rr.bitsPerComponent,decodeParameters:Ui,data:rr.sMask};"filter"in rr&&(Ot.filter=rr.filter),Xt.call(this,Ot)}if(rr.colorSpace===mr.INDEXED){var Ar=this.internal.newObject();Or({data:Er(new Uint8Array(rr.palette)),objectId:Ar}),Ur("endobj")}},ve=function(){var Xt=this.internal.collections.addImage_images;for(var rr in Xt)Be.call(this,Xt[rr])},Le=function(){var Xt,rr=this.internal.collections.addImage_images,Ur=this.internal.write;for(var Or in rr)Ur("/I"+(Xt=rr[Or]).index,Xt.objectId,"0","R")},Re=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",ve),this.internal.events.subscribe("putXobjectDict",Le))},ke=function(){var Xt=this.internal.collections.addImage_images;return Re.call(this),Xt},it=function(){return Object.keys(this.internal.collections.addImage_images).length},gt=function(Xt){return typeof z["process"+Xt.toUpperCase()]=="function"},Et=function(Xt){return(0,n.Z)(Xt)==="object"&&Xt.nodeType===1},Mt=function(Xt,rr){if(Xt.nodeName==="IMG"&&Xt.hasAttribute("src")){var Ur=""+Xt.getAttribute("src");if(Ur.indexOf("data:image/")===0)return mt(unescape(Ur).split("base64,").pop());var Or=z.loadFile(Ur,!0);if(Or!==void 0)return Or}if(Xt.nodeName==="CANVAS"){if(Xt.width===0||Xt.height===0)throw new Error("Given canvas must have data. Canvas width: "+Xt.width+", height: "+Xt.height);var En;switch(rr){case"PNG":En="image/png";break;case"WEBP":En="image/webp";break;case"JPEG":case"JPG":default:En="image/jpeg"}return mt(Xt.toDataURL(En,1).split("base64,").pop())}},Ge=function(Xt){var rr=this.internal.collections.addImage_images;if(rr){for(var Ur in rr)if(Xt===rr[Ur].alias)return rr[Ur]}},cr=function(Xt,rr,Ur){return Xt||rr||(Xt=-96,rr=-96),Xt<0&&(Xt=-1*Ur.width*72/Xt/this.internal.scaleFactor),rr<0&&(rr=-1*Ur.height*72/rr/this.internal.scaleFactor),Xt===0&&(Xt=rr*Ur.width/Ur.height),rr===0&&(rr=Xt*Ur.height/Ur.width),[Xt,rr]},er=function(Xt,rr,Ur,Or,En,yn){var Rn=cr.call(this,Ur,Or,En),pn=this.internal.getCoordinateString,Un=this.internal.getVerticalCoordinateString,kn=ke.call(this);if(Ur=Rn[0],Or=Rn[1],kn[En.index]=En,yn){yn*=Math.PI/180;var Ui=Math.cos(yn),Ot=Math.sin(yn),Ar=function(Wr){return Wr.toFixed(4)},Br=[Ar(Ui),Ar(Ot),Ar(-1*Ot),Ar(Ui),0,0,"cm"]}this.internal.write("q"),yn?(this.internal.write([1,"0","0",1,pn(Xt),Un(rr+Or),"cm"].join(" ")),this.internal.write(Br.join(" ")),this.internal.write([pn(Ur),"0","0",pn(Or),"0","0","cm"].join(" "))):this.internal.write([pn(Ur),"0","0",pn(Or),pn(Xt),Un(rr+Or),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+En.index+" Do"),this.internal.write("Q")},mr=z.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};z.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var Kt=z.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},dr=z.__addimage__.sHashCode=function(Xt){var rr,Ur,Or=0;if(typeof Xt=="string")for(Ur=Xt.length,rr=0;rr<Ur;rr++)Or=(Or<<5)-Or+Xt.charCodeAt(rr),Or|=0;else if($n(Xt))for(Ur=Xt.byteLength/2,rr=0;rr<Ur;rr++)Or=(Or<<5)-Or+Xt[rr],Or|=0;return Or},Zr=z.__addimage__.validateStringAsBase64=function(Xt){(Xt=Xt||"").toString().trim();var rr=!0;return Xt.length===0&&(rr=!1),Xt.length%4!=0&&(rr=!1),/^[A-Za-z0-9+/]+$/.test(Xt.substr(0,Xt.length-2))===!1&&(rr=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(Xt.substr(-2))===!1&&(rr=!1),rr},dn=z.__addimage__.extractImageFromDataUrl=function(Xt){var rr=(Xt=Xt||"").split("base64,"),Ur=null;if(rr.length===2){var Or=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(rr[0]);Array.isArray(Or)&&(Ur={mimeType:Or[1],charset:Or[2],data:rr[1]})}return Ur},hn=z.__addimage__.supportsArrayBuffer=function(){return typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"};z.__addimage__.isArrayBuffer=function(Xt){return hn()&&Xt instanceof ArrayBuffer};var $n=z.__addimage__.isArrayBufferView=function(Xt){return hn()&&typeof Uint32Array!="undefined"&&(Xt instanceof Int8Array||Xt instanceof Uint8Array||typeof Uint8ClampedArray!="undefined"&&Xt instanceof Uint8ClampedArray||Xt instanceof Int16Array||Xt instanceof Uint16Array||Xt instanceof Int32Array||Xt instanceof Uint32Array||Xt instanceof Float32Array||Xt instanceof Float64Array)},cn=z.__addimage__.binaryStringToUint8Array=function(Xt){for(var rr=Xt.length,Ur=new Uint8Array(rr),Or=0;Or<rr;Or++)Ur[Or]=Xt.charCodeAt(Or);return Ur},Er=z.__addimage__.arrayBufferToBinaryString=function(Xt){for(var rr="",Ur=$n(Xt)?Xt:new Uint8Array(Xt),Or=0;Or<Ur.length;Or+=8192)rr+=String.fromCharCode.apply(null,Ur.subarray(Or,Or+8192));return rr};z.addImage=function(){var Xt,rr,Ur,Or,En,yn,Rn,pn,Un;if(typeof arguments[1]=="number"?(rr=_,Ur=arguments[1],Or=arguments[2],En=arguments[3],yn=arguments[4],Rn=arguments[5],pn=arguments[6],Un=arguments[7]):(rr=arguments[1],Ur=arguments[2],Or=arguments[3],En=arguments[4],yn=arguments[5],Rn=arguments[6],pn=arguments[7],Un=arguments[8]),(0,n.Z)(Xt=arguments[0])==="object"&&!Et(Xt)&&"imageData"in Xt){var kn=Xt;Xt=kn.imageData,rr=kn.format||rr||_,Ur=kn.x||Ur||0,Or=kn.y||Or||0,En=kn.w||kn.width||En,yn=kn.h||kn.height||yn,Rn=kn.alias||Rn,pn=kn.compression||pn,Un=kn.rotation||kn.angle||Un}var Ui=this.internal.getFilters();if(pn===void 0&&Ui.indexOf("FlateEncode")!==-1&&(pn="SLOW"),isNaN(Ur)||isNaN(Or))throw new Error("Invalid coordinates passed to jsPDF.addImage");Re.call(this);var Ot=Gn.call(this,Xt,rr,Rn,pn);return er.call(this,Ur,Or,En,yn,Ot,Un),this};var Gn=function(Xt,rr,Ur,Or){var En,yn,Rn;if(typeof Xt=="string"&&Ae(Xt)===_){Xt=unescape(Xt);var pn=Vn(Xt,!1);(pn!==""||(pn=z.loadFile(Xt,!0))!==void 0)&&(Xt=pn)}if(Et(Xt)&&(Xt=Mt(Xt,rr)),rr=Ae(Xt,rr),!gt(rr))throw new Error("addImage does not support files of type '"+rr+"', please ensure that a plugin for '"+rr+"' support is added.");if(((Rn=Ur)==null||Rn.length===0)&&(Ur=function(Un){return typeof Un=="string"||$n(Un)?dr(Un):$n(Un.data)?dr(Un.data):null}(Xt)),(En=Ge.call(this,Ur))||(hn()&&(Xt instanceof Uint8Array||rr==="RGBA"||(yn=Xt,Xt=cn(Xt))),En=this["process"+rr.toUpperCase()](Xt,it.call(this),Ur,function(Un){return Un&&typeof Un=="string"&&(Un=Un.toUpperCase()),Un in z.image_compression?Un:Kt.NONE}(Or),yn)),!En)throw new Error("An unknown error occurred whilst processing the image.");return En},Vn=z.__addimage__.convertBase64ToBinaryString=function(Xt,rr){var Ur;rr=typeof rr!="boolean"||rr;var Or,En="";if(typeof Xt=="string"){Or=(Ur=dn(Xt))!==null?Ur.data:Xt;try{En=mt(Or)}catch(yn){if(rr)throw Zr(Or)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+yn.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return En};z.getImageProperties=function(Xt){var rr,Ur,Or="";if(Et(Xt)&&(Xt=Mt(Xt)),typeof Xt=="string"&&Ae(Xt)===_&&((Or=Vn(Xt,!1))===""&&(Or=z.loadFile(Xt)||""),Xt=Or),Ur=Ae(Xt),!gt(Ur))throw new Error("addImage does not support files of type '"+Ur+"', please ensure that a plugin for '"+Ur+"' support is added.");if(!hn()||Xt instanceof Uint8Array||(Xt=cn(Xt)),!(rr=this["process"+Ur.toUpperCase()](Xt)))throw new Error("An unknown error occurred whilst processing the image");return rr.fileType=Ur,rr}})(zt.API),function(z){var _=function(H){if(H!==void 0&&H!="")return!0};zt.API.events.push(["addPage",function(H){this.internal.getPageInfo(H.pageNumber).pageContext.annotations=[]}]),z.events.push(["putPage",function(H){for(var Ae,Be,ve,Le=this.internal.getCoordinateString,Re=this.internal.getVerticalCoordinateString,ke=this.internal.getPageInfoByObjId(H.objId),it=H.pageContext.annotations,gt=!1,Et=0;Et<it.length&&!gt;Et++)switch((Ae=it[Et]).type){case"link":(_(Ae.options.url)||_(Ae.options.pageNumber))&&(gt=!0);break;case"reference":case"text":case"freetext":gt=!0}if(gt!=0){this.internal.write("/Annots [");for(var Mt=0;Mt<it.length;Mt++){Ae=it[Mt];var Ge=this.internal.pdfEscape,cr=this.internal.getEncryptor(H.objId);switch(Ae.type){case"reference":this.internal.write(" "+Ae.object.objId+" 0 R ");break;case"text":var er=this.internal.newAdditionalObject(),mr=this.internal.newAdditionalObject(),Kt=this.internal.getEncryptor(er.objId),dr=Ae.title||"Note";ve="<</Type /Annot /Subtype /Text "+(Be="/Rect ["+Le(Ae.bounds.x)+" "+Re(Ae.bounds.y+Ae.bounds.h)+" "+Le(Ae.bounds.x+Ae.bounds.w)+" "+Re(Ae.bounds.y)+"] ")+"/Contents ("+Ge(Kt(Ae.contents))+")",ve+=" /Popup "+mr.objId+" 0 R",ve+=" /P "+ke.objId+" 0 R",ve+=" /T ("+Ge(Kt(dr))+") >>",er.content=ve;var Zr=er.objId+" 0 R";ve="<</Type /Annot /Subtype /Popup "+(Be="/Rect ["+Le(Ae.bounds.x+30)+" "+Re(Ae.bounds.y+Ae.bounds.h)+" "+Le(Ae.bounds.x+Ae.bounds.w+30)+" "+Re(Ae.bounds.y)+"] ")+" /Parent "+Zr,Ae.open&&(ve+=" /Open true"),ve+=" >>",mr.content=ve,this.internal.write(er.objId,"0 R",mr.objId,"0 R");break;case"freetext":Be="/Rect ["+Le(Ae.bounds.x)+" "+Re(Ae.bounds.y)+" "+Le(Ae.bounds.x+Ae.bounds.w)+" "+Re(Ae.bounds.y+Ae.bounds.h)+"] ";var dn=Ae.color||"#000000";ve="<</Type /Annot /Subtype /FreeText "+Be+"/Contents ("+Ge(cr(Ae.contents))+")",ve+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+dn+")",ve+=" /Border [0 0 0]",ve+=" >>",this.internal.write(ve);break;case"link":if(Ae.options.name){var hn=this.annotations._nameMap[Ae.options.name];Ae.options.pageNumber=hn.page,Ae.options.top=hn.y}else Ae.options.top||(Ae.options.top=0);if(Be="/Rect ["+Ae.finalBounds.x+" "+Ae.finalBounds.y+" "+Ae.finalBounds.w+" "+Ae.finalBounds.h+"] ",ve="",Ae.options.url)ve="<</Type /Annot /Subtype /Link "+Be+"/Border [0 0 0] /A <</S /URI /URI ("+Ge(cr(Ae.options.url))+") >>";else if(Ae.options.pageNumber)switch(ve="<</Type /Annot /Subtype /Link "+Be+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(Ae.options.pageNumber).objId+" 0 R",Ae.options.magFactor=Ae.options.magFactor||"XYZ",Ae.options.magFactor){case"Fit":ve+=" /Fit]";break;case"FitH":ve+=" /FitH "+Ae.options.top+"]";break;case"FitV":Ae.options.left=Ae.options.left||0,ve+=" /FitV "+Ae.options.left+"]";break;case"XYZ":default:var $n=Re(Ae.options.top);Ae.options.left=Ae.options.left||0,Ae.options.zoom===void 0&&(Ae.options.zoom=0),ve+=" /XYZ "+Ae.options.left+" "+$n+" "+Ae.options.zoom+"]"}ve!=""&&(ve+=" >>",this.internal.write(ve))}}this.internal.write("]")}}]),z.createAnnotation=function(H){var Ae=this.internal.getCurrentPageInfo();switch(H.type){case"link":this.link(H.bounds.x,H.bounds.y,H.bounds.w,H.bounds.h,H);break;case"text":case"freetext":Ae.pageContext.annotations.push(H)}},z.link=function(H,Ae,Be,ve,Le){var Re=this.internal.getCurrentPageInfo(),ke=this.internal.getCoordinateString,it=this.internal.getVerticalCoordinateString;Re.pageContext.annotations.push({finalBounds:{x:ke(H),y:it(Ae),w:ke(H+Be),h:it(Ae+ve)},options:Le,type:"link"})},z.textWithLink=function(H,Ae,Be,ve){var Le,Re,ke=this.getTextWidth(H),it=this.internal.getLineHeight()/this.internal.scaleFactor;if(ve.maxWidth!==void 0){Re=ve.maxWidth;var gt=this.splitTextToSize(H,Re).length;Le=Math.ceil(it*gt)}else Re=ke,Le=it;return this.text(H,Ae,Be,ve),Be+=.2*it,ve.align==="center"&&(Ae-=ke/2),ve.align==="right"&&(Ae-=ke),this.link(Ae,Be-it,Re,Le,ve),ke},z.getTextWidth=function(H){var Ae=this.internal.getFontSize();return this.getStringUnitWidth(H)*Ae/this.internal.scaleFactor}}(zt.API),function(z){var _={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},H={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},Ae={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},Be=[1570,1571,1573,1575];z.__arabicParser__={};var ve=z.__arabicParser__.isInArabicSubstitutionA=function(er){return _[er.charCodeAt(0)]!==void 0},Le=z.__arabicParser__.isArabicLetter=function(er){return typeof er=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(er)},Re=z.__arabicParser__.isArabicEndLetter=function(er){return Le(er)&&ve(er)&&_[er.charCodeAt(0)].length<=2},ke=z.__arabicParser__.isArabicAlfLetter=function(er){return Le(er)&&Be.indexOf(er.charCodeAt(0))>=0};z.__arabicParser__.arabicLetterHasIsolatedForm=function(er){return Le(er)&&ve(er)&&_[er.charCodeAt(0)].length>=1};var it=z.__arabicParser__.arabicLetterHasFinalForm=function(er){return Le(er)&&ve(er)&&_[er.charCodeAt(0)].length>=2};z.__arabicParser__.arabicLetterHasInitialForm=function(er){return Le(er)&&ve(er)&&_[er.charCodeAt(0)].length>=3};var gt=z.__arabicParser__.arabicLetterHasMedialForm=function(er){return Le(er)&&ve(er)&&_[er.charCodeAt(0)].length==4},Et=z.__arabicParser__.resolveLigatures=function(er){var mr=0,Kt=H,dr="",Zr=0;for(mr=0;mr<er.length;mr+=1)Kt[er.charCodeAt(mr)]!==void 0?(Zr++,typeof(Kt=Kt[er.charCodeAt(mr)])=="number"&&(dr+=String.fromCharCode(Kt),Kt=H,Zr=0),mr===er.length-1&&(Kt=H,dr+=er.charAt(mr-(Zr-1)),mr-=Zr-1,Zr=0)):(Kt=H,dr+=er.charAt(mr-Zr),mr-=Zr,Zr=0);return dr};z.__arabicParser__.isArabicDiacritic=function(er){return er!==void 0&&Ae[er.charCodeAt(0)]!==void 0};var Mt=z.__arabicParser__.getCorrectForm=function(er,mr,Kt){return Le(er)?ve(er)===!1?-1:!it(er)||!Le(mr)&&!Le(Kt)||!Le(Kt)&&Re(mr)||Re(er)&&!Le(mr)||Re(er)&&ke(mr)||Re(er)&&Re(mr)?0:gt(er)&&Le(mr)&&!Re(mr)&&Le(Kt)&&it(Kt)?3:Re(er)||!Le(Kt)?1:2:-1},Ge=function(er){var mr=0,Kt=0,dr=0,Zr="",dn="",hn="",$n=(er=er||"").split("\\s+"),cn=[];for(mr=0;mr<$n.length;mr+=1){for(cn.push(""),Kt=0;Kt<$n[mr].length;Kt+=1)Zr=$n[mr][Kt],dn=$n[mr][Kt-1],hn=$n[mr][Kt+1],Le(Zr)?(dr=Mt(Zr,dn,hn),cn[mr]+=dr!==-1?String.fromCharCode(_[Zr.charCodeAt(0)][dr]):Zr):cn[mr]+=Zr;cn[mr]=Et(cn[mr])}return cn.join(" ")},cr=z.__arabicParser__.processArabic=z.processArabic=function(){var er,mr=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,Kt=[];if(Array.isArray(mr)){var dr=0;for(Kt=[],dr=0;dr<mr.length;dr+=1)Array.isArray(mr[dr])?Kt.push([Ge(mr[dr][0]),mr[dr][1],mr[dr][2]]):Kt.push([Ge(mr[dr])]);er=Kt}else er=Ge(mr);return typeof arguments[0]=="string"?er:(arguments[0].text=er,arguments[0])};z.events.push(["preProcessText",cr])}(zt.API),zt.API.autoPrint=function(z){var _;switch((z=z||{}).variant=z.variant||"non-conform",z.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){_=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+_+" 0 R")})}return this},function(z){var _=function(){var H=void 0;Object.defineProperty(this,"pdf",{get:function(){return H},set:function(Re){H=Re}});var Ae=150;Object.defineProperty(this,"width",{get:function(){return Ae},set:function(Re){Ae=isNaN(Re)||Number.isInteger(Re)===!1||Re<0?150:Re,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=Ae+1)}});var Be=300;Object.defineProperty(this,"height",{get:function(){return Be},set:function(Re){Be=isNaN(Re)||Number.isInteger(Re)===!1||Re<0?300:Re,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=Be+1)}});var ve=[];Object.defineProperty(this,"childNodes",{get:function(){return ve},set:function(Re){ve=Re}});var Le={};Object.defineProperty(this,"style",{get:function(){return Le},set:function(Re){Le=Re}}),Object.defineProperty(this,"parentNode",{})};_.prototype.getContext=function(H,Ae){var Be;if((H=H||"2d")!=="2d")return null;for(Be in Ae)this.pdf.context2d.hasOwnProperty(Be)&&(this.pdf.context2d[Be]=Ae[Be]);return this.pdf.context2d._canvas=this,this.pdf.context2d},_.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},z.events.push(["initialized",function(){this.canvas=new _,this.canvas.pdf=this}])}(zt.API),function(z){var _={left:0,top:0,bottom:0,right:0},H=!1,Ae=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},_),this.internal.__cell__.margins.width=this.getPageWidth(),Be.call(this))},Be=function(){this.internal.__cell__.lastCell=new ve,this.internal.__cell__.pages=1},ve=function(){var ke=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return ke},set:function(er){ke=er}});var it=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return it},set:function(er){it=er}});var gt=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return gt},set:function(er){gt=er}});var Et=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Et},set:function(er){Et=er}});var Mt=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Mt},set:function(er){Mt=er}});var Ge=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return Ge},set:function(er){Ge=er}});var cr=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return cr},set:function(er){cr=er}}),this};ve.prototype.clone=function(){return new ve(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},ve.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},z.setHeaderFunction=function(ke){return Ae.call(this),this.internal.__cell__.headerFunction=typeof ke=="function"?ke:void 0,this},z.getTextDimensions=function(ke,it){Ae.call(this);var gt=(it=it||{}).fontSize||this.getFontSize(),Et=it.font||this.getFont(),Mt=it.scaleFactor||this.internal.scaleFactor,Ge=0,cr=0,er=0,mr=this;if(!Array.isArray(ke)&&typeof ke!="string"){if(typeof ke!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");ke=String(ke)}var Kt=it.maxWidth;Kt>0?typeof ke=="string"?ke=this.splitTextToSize(ke,Kt):Object.prototype.toString.call(ke)==="[object Array]"&&(ke=ke.reduce(function(Zr,dn){return Zr.concat(mr.splitTextToSize(dn,Kt))},[])):ke=Array.isArray(ke)?ke:[ke];for(var dr=0;dr<ke.length;dr++)Ge<(er=this.getStringUnitWidth(ke[dr],{font:Et})*gt)&&(Ge=er);return Ge!==0&&(cr=ke.length),{w:Ge/=Mt,h:Math.max((cr*gt*this.getLineHeightFactor()-gt*(this.getLineHeightFactor()-1))/Mt,0)}},z.cellAddPage=function(){Ae.call(this),this.addPage();var ke=this.internal.__cell__.margins||_;return this.internal.__cell__.lastCell=new ve(ke.left,ke.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var Le=z.cell=function(){var ke;ke=arguments[0]instanceof ve?arguments[0]:new ve(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),Ae.call(this);var it=this.internal.__cell__.lastCell,gt=this.internal.__cell__.padding,Et=this.internal.__cell__.margins||_,Mt=this.internal.__cell__.tableHeaderRow,Ge=this.internal.__cell__.printHeaders;return it.lineNumber!==void 0&&(it.lineNumber===ke.lineNumber?(ke.x=(it.x||0)+(it.width||0),ke.y=it.y||0):it.y+it.height+ke.height+Et.bottom>this.getPageHeight()?(this.cellAddPage(),ke.y=Et.top,Ge&&Mt&&(this.printHeaderRow(ke.lineNumber,!0),ke.y+=Mt[0].height)):ke.y=it.y+it.height||ke.y),ke.text[0]!==void 0&&(this.rect(ke.x,ke.y,ke.width,ke.height,H===!0?"FD":void 0),ke.align==="right"?this.text(ke.text,ke.x+ke.width-gt,ke.y+gt,{align:"right",baseline:"top"}):ke.align==="center"?this.text(ke.text,ke.x+ke.width/2,ke.y+gt,{align:"center",baseline:"top",maxWidth:ke.width-gt-gt}):this.text(ke.text,ke.x+gt,ke.y+gt,{align:"left",baseline:"top",maxWidth:ke.width-gt-gt})),this.internal.__cell__.lastCell=ke,this};z.table=function(ke,it,gt,Et,Mt){if(Ae.call(this),!gt)throw new Error("No data for PDF table.");var Ge,cr,er,mr,Kt=[],dr=[],Zr=[],dn={},hn={},$n=[],cn=[],Er=(Mt=Mt||{}).autoSize||!1,Gn=Mt.printHeaders!==!1,Vn=Mt.css&&Mt.css["font-size"]!==void 0?16*Mt.css["font-size"]:Mt.fontSize||12,Xt=Mt.margins||Object.assign({width:this.getPageWidth()},_),rr=typeof Mt.padding=="number"?Mt.padding:3,Ur=Mt.headerBackgroundColor||"#c8c8c8",Or=Mt.headerTextColor||"#000";if(Be.call(this),this.internal.__cell__.printHeaders=Gn,this.internal.__cell__.margins=Xt,this.internal.__cell__.table_font_size=Vn,this.internal.__cell__.padding=rr,this.internal.__cell__.headerBackgroundColor=Ur,this.internal.__cell__.headerTextColor=Or,this.setFontSize(Vn),Et==null)dr=Kt=Object.keys(gt[0]),Zr=Kt.map(function(){return"left"});else if(Array.isArray(Et)&&(0,n.Z)(Et[0])==="object")for(Kt=Et.map(function(kn){return kn.name}),dr=Et.map(function(kn){return kn.prompt||kn.name||""}),Zr=Et.map(function(kn){return kn.align||"left"}),Ge=0;Ge<Et.length;Ge+=1)hn[Et[Ge].name]=Et[Ge].width*.7499990551181103;else Array.isArray(Et)&&typeof Et[0]=="string"&&(dr=Kt=Et,Zr=Kt.map(function(){return"left"}));if(Er||Array.isArray(Et)&&typeof Et[0]=="string")for(Ge=0;Ge<Kt.length;Ge+=1){for(dn[mr=Kt[Ge]]=gt.map(function(kn){return kn[mr]}),this.setFont(void 0,"bold"),$n.push(this.getTextDimensions(dr[Ge],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),cr=dn[mr],this.setFont(void 0,"normal"),er=0;er<cr.length;er+=1)$n.push(this.getTextDimensions(cr[er],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);hn[mr]=Math.max.apply(null,$n)+rr+rr,$n=[]}if(Gn){var En={};for(Ge=0;Ge<Kt.length;Ge+=1)En[Kt[Ge]]={},En[Kt[Ge]].text=dr[Ge],En[Kt[Ge]].align=Zr[Ge];var yn=Re.call(this,En,hn);cn=Kt.map(function(kn){return new ve(ke,it,hn[kn],yn,En[kn].text,void 0,En[kn].align)}),this.setTableHeaderRow(cn),this.printHeaderRow(1,!1)}var Rn=Et.reduce(function(kn,Ui){return kn[Ui.name]=Ui.align,kn},{});for(Ge=0;Ge<gt.length;Ge+=1){"rowStart"in Mt&&Mt.rowStart instanceof Function&&Mt.rowStart({row:Ge,data:gt[Ge]},this);var pn=Re.call(this,gt[Ge],hn);for(er=0;er<Kt.length;er+=1){var Un=gt[Ge][Kt[er]];"cellStart"in Mt&&Mt.cellStart instanceof Function&&Mt.cellStart({row:Ge,col:er,data:Un},this),Le.call(this,new ve(ke,it,hn[Kt[er]],pn,Un,Ge+2,Rn[Kt[er]]))}}return this.internal.__cell__.table_x=ke,this.internal.__cell__.table_y=it,this};var Re=function(ke,it){var gt=this.internal.__cell__.padding,Et=this.internal.__cell__.table_font_size,Mt=this.internal.scaleFactor;return Object.keys(ke).map(function(Ge){var cr=ke[Ge];return this.splitTextToSize(cr.hasOwnProperty("text")?cr.text:cr,it[Ge]-gt-gt)},this).map(function(Ge){return this.getLineHeightFactor()*Ge.length*Et/Mt+gt+gt},this).reduce(function(Ge,cr){return Math.max(Ge,cr)},0)};z.setTableHeaderRow=function(ke){Ae.call(this),this.internal.__cell__.tableHeaderRow=ke},z.printHeaderRow=function(ke,it){if(Ae.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var gt;if(H=!0,typeof this.internal.__cell__.headerFunction=="function"){var Et=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new ve(Et[0],Et[1],Et[2],Et[3],void 0,-1)}this.setFont(void 0,"bold");for(var Mt=[],Ge=0;Ge<this.internal.__cell__.tableHeaderRow.length;Ge+=1){gt=this.internal.__cell__.tableHeaderRow[Ge].clone(),it&&(gt.y=this.internal.__cell__.margins.top||0,Mt.push(gt)),gt.lineNumber=ke;var cr=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),Le.call(this,gt),this.setTextColor(cr)}Mt.length>0&&this.setTableHeaderRow(Mt),this.setFont(void 0,"normal"),H=!1}}(zt.API);var Fl={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},wl=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],El=Ka(wl),tu=[100,200,300,400,500,600,700,800,900],Xl=Ka(tu);function Ql(z){var _=z.family.replace(/"|'/g,"").toLowerCase(),H=function(ve){return Fl[ve=ve||"normal"]?ve:"normal"}(z.style),Ae=function(ve){if(!ve)return 400;if(typeof ve=="number")return ve>=100&&ve<=900&&ve%100==0?ve:400;if(/^\d00$/.test(ve))return parseInt(ve);switch(ve){case"bold":return 700;case"normal":default:return 400}}(z.weight),Be=function(ve){return typeof El[ve=ve||"normal"]=="number"?ve:"normal"}(z.stretch);return{family:_,style:H,weight:Ae,stretch:Be,src:z.src||[],ref:z.ref||{name:_,style:[Be,H,Ae].join(" ")}}}function rl(z,_,H,Ae){var Be;for(Be=H;Be>=0&&Be<_.length;Be+=Ae)if(z[_[Be]])return z[_[Be]];for(Be=H;Be>=0&&Be<_.length;Be-=Ae)if(z[_[Be]])return z[_[Be]]}var hl={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Ks={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function qo(z){return[z.stretch,z.style,z.weight,z.family].join(" ")}function qs(z,_,H){for(var Ae=(H=H||{}).defaultFontFamily||"times",Be=Object.assign({},hl,H.genericFontFamilies||{}),ve=null,Le=null,Re=0;Re<_.length;++Re)if(Be[(ve=Ql(_[Re])).family]&&(ve.family=Be[ve.family]),z.hasOwnProperty(ve.family)){Le=z[ve.family];break}if(!(Le=Le||z[Ae]))throw new Error("Could not find a font-family for the rule '"+qo(ve)+"' and default family '"+Ae+"'.");if(Le=function(ke,it){if(it[ke])return it[ke];var gt=El[ke],Et=gt<=El.normal?-1:1,Mt=rl(it,wl,gt,Et);if(!Mt)throw new Error("Could not find a matching font-stretch value for "+ke);return Mt}(ve.stretch,Le),Le=function(ke,it){if(it[ke])return it[ke];for(var gt=Fl[ke],Et=0;Et<gt.length;++Et)if(it[gt[Et]])return it[gt[Et]];throw new Error("Could not find a matching font-style for "+ke)}(ve.style,Le),!(Le=function(ke,it){if(it[ke])return it[ke];if(ke===400&&it[500])return it[500];if(ke===500&&it[400])return it[400];var gt=Xl[ke],Et=rl(it,tu,gt,ke<400?-1:1);if(!Et)throw new Error("Could not find a matching font-weight for value "+ke);return Et}(ve.weight,Le)))throw new Error("Failed to resolve a font for the rule '"+qo(ve)+"'.");return Le}function jl(z){return z.trimLeft()}function Hl(z,_){for(var H=0;H<z.length;){if(z.charAt(H)===_)return[z.substring(0,H),z.substring(H+1)];H+=1}return null}function ks(z){var _=z.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return _===null?null:[_[0],z.substring(_[0].length)]}var bs,Au,pl,Ja=["times"];(function(z){var _,H,Ae,Be,ve,Le,Re,ke,it,gt=function(Ot){return Ot=Ot||{},this.isStrokeTransparent=Ot.isStrokeTransparent||!1,this.strokeOpacity=Ot.strokeOpacity||1,this.strokeStyle=Ot.strokeStyle||"#000000",this.fillStyle=Ot.fillStyle||"#000000",this.isFillTransparent=Ot.isFillTransparent||!1,this.fillOpacity=Ot.fillOpacity||1,this.font=Ot.font||"10px sans-serif",this.textBaseline=Ot.textBaseline||"alphabetic",this.textAlign=Ot.textAlign||"left",this.lineWidth=Ot.lineWidth||1,this.lineJoin=Ot.lineJoin||"miter",this.lineCap=Ot.lineCap||"butt",this.path=Ot.path||[],this.transform=Ot.transform!==void 0?Ot.transform.clone():new ke,this.globalCompositeOperation=Ot.globalCompositeOperation||"normal",this.globalAlpha=Ot.globalAlpha||1,this.clip_path=Ot.clip_path||[],this.currentPoint=Ot.currentPoint||new Le,this.miterLimit=Ot.miterLimit||10,this.lastPoint=Ot.lastPoint||new Le,this.lineDashOffset=Ot.lineDashOffset||0,this.lineDash=Ot.lineDash||[],this.margin=Ot.margin||[0,0,0,0],this.prevPageLastElemOffset=Ot.prevPageLastElemOffset||0,this.ignoreClearRect=typeof Ot.ignoreClearRect!="boolean"||Ot.ignoreClearRect,this};z.events.push(["initialized",function(){this.context2d=new Et(this),_=this.internal.f2,H=this.internal.getCoordinateString,Ae=this.internal.getVerticalCoordinateString,Be=this.internal.getHorizontalCoordinate,ve=this.internal.getVerticalCoordinate,Le=this.internal.Point,Re=this.internal.Rectangle,ke=this.internal.Matrix,it=new gt}]);var Et=function(Ot){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var Ar=Ot;Object.defineProperty(this,"pdf",{get:function(){return Ar}});var Br=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return Br},set:function(_n){Br=Boolean(_n)}});var Wr=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return Wr},set:function(_n){Wr=Boolean(_n)}});var tn=0;Object.defineProperty(this,"posX",{get:function(){return tn},set:function(_n){isNaN(_n)||(tn=_n)}});var Nr=0;Object.defineProperty(this,"posY",{get:function(){return Nr},set:function(_n){isNaN(_n)||(Nr=_n)}}),Object.defineProperty(this,"margin",{get:function(){return it.margin},set:function(_n){var Cr;typeof _n=="number"?Cr=[_n,_n,_n,_n]:((Cr=new Array(4))[0]=_n[0],Cr[1]=_n.length>=2?_n[1]:Cr[0],Cr[2]=_n.length>=3?_n[2]:Cr[0],Cr[3]=_n.length>=4?_n[3]:Cr[1]),it.margin=Cr}});var gn=!1;Object.defineProperty(this,"autoPaging",{get:function(){return gn},set:function(_n){gn=_n}});var wn=0;Object.defineProperty(this,"lastBreak",{get:function(){return wn},set:function(_n){wn=_n}});var mi=[];Object.defineProperty(this,"pageBreaks",{get:function(){return mi},set:function(_n){mi=_n}}),Object.defineProperty(this,"ctx",{get:function(){return it},set:function(_n){_n instanceof gt&&(it=_n)}}),Object.defineProperty(this,"path",{get:function(){return it.path},set:function(_n){it.path=_n}});var wi=[];Object.defineProperty(this,"ctxStack",{get:function(){return wi},set:function(_n){wi=_n}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(_n){var Cr;Cr=Mt(_n),this.ctx.fillStyle=Cr.style,this.ctx.isFillTransparent=Cr.a===0,this.ctx.fillOpacity=Cr.a,this.pdf.setFillColor(Cr.r,Cr.g,Cr.b,{a:Cr.a}),this.pdf.setTextColor(Cr.r,Cr.g,Cr.b,{a:Cr.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(_n){var Cr=Mt(_n);this.ctx.strokeStyle=Cr.style,this.ctx.isStrokeTransparent=Cr.a===0,this.ctx.strokeOpacity=Cr.a,Cr.a===0?this.pdf.setDrawColor(255,255,255):(Cr.a,this.pdf.setDrawColor(Cr.r,Cr.g,Cr.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(_n){["butt","round","square"].indexOf(_n)!==-1&&(this.ctx.lineCap=_n,this.pdf.setLineCap(_n))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(_n){isNaN(_n)||(this.ctx.lineWidth=_n,this.pdf.setLineWidth(_n))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(_n){["bevel","round","miter"].indexOf(_n)!==-1&&(this.ctx.lineJoin=_n,this.pdf.setLineJoin(_n))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(_n){isNaN(_n)||(this.ctx.miterLimit=_n,this.pdf.setMiterLimit(_n))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(_n){this.ctx.textBaseline=_n}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(_n){["right","end","center","left","start"].indexOf(_n)!==-1&&(this.ctx.textAlign=_n)}});var Ni=null;function Gi(_n,Cr){if(Ni===null){var Ei=function(vo){var di=[];return Object.keys(vo).forEach(function(ri){vo[ri].forEach(function(gi){var Bi=null;switch(gi){case"bold":Bi={family:ri,weight:"bold"};break;case"italic":Bi={family:ri,style:"italic"};break;case"bolditalic":Bi={family:ri,weight:"bold",style:"italic"};break;case"":case"normal":Bi={family:ri}}Bi!==null&&(Bi.ref={name:ri,style:gi},di.push(Bi))})}),di}(_n.getFontList());Ni=function(vo){for(var di={},ri=0;ri<vo.length;++ri){var gi=Ql(vo[ri]),Bi=gi.family,eo=gi.stretch,io=gi.style,Go=gi.weight;di[Bi]=di[Bi]||{},di[Bi][eo]=di[Bi][eo]||{},di[Bi][eo][io]=di[Bi][eo][io]||{},di[Bi][eo][io][Go]=gi}return di}(Ei.concat(Cr))}return Ni}var lo=null;Object.defineProperty(this,"fontFaces",{get:function(){return lo},set:function(_n){Ni=null,lo=_n}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(_n){var Cr;if(this.ctx.font=_n,(Cr=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(_n))!==null){var Ei=Cr[1],vo=(Cr[2],Cr[3]),di=Cr[4],ri=(Cr[5],Cr[6]),gi=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(di)[2];di=Math.floor(gi==="px"?parseFloat(di)*this.pdf.internal.scaleFactor:gi==="em"?parseFloat(di)*this.pdf.getFontSize():parseFloat(di)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(di);var Bi=function(Xo){var ya,Hi,Ss=[],Jo=Xo.trim();if(Jo==="")return Ja;if(Jo in Ks)return[Ks[Jo]];for(;Jo!=="";){switch(Hi=null,ya=(Jo=jl(Jo)).charAt(0)){case'"':case"'":Hi=Hl(Jo.substring(1),ya);break;default:Hi=ks(Jo)}if(Hi===null||(Ss.push(Hi[0]),(Jo=jl(Hi[1]))!==""&&Jo.charAt(0)!==","))return Ja;Jo=Jo.replace(/^,/,"")}return Ss}(ri);if(this.fontFaces){var eo=qs(Gi(this.pdf,this.fontFaces),Bi.map(function(Xo){return{family:Xo,stretch:"normal",weight:vo,style:Ei}}));this.pdf.setFont(eo.ref.name,eo.ref.style)}else{var io="";(vo==="bold"||parseInt(vo,10)>=700||Ei==="bold")&&(io="bold"),Ei==="italic"&&(io+="italic"),io.length===0&&(io="normal");for(var Go="",Co={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},No=0;No<Bi.length;No++){if(this.pdf.internal.getFont(Bi[No],io,{noFallback:!0,disableWarning:!0})!==void 0){Go=Bi[No];break}if(io==="bolditalic"&&this.pdf.internal.getFont(Bi[No],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Go=Bi[No],io="bold";else if(this.pdf.internal.getFont(Bi[No],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Go=Bi[No],io="normal";break}}if(Go===""){for(var Oa=0;Oa<Bi.length;Oa++)if(Co[Bi[Oa]]){Go=Co[Bi[Oa]];break}}Go=Go===""?"Times":Go,this.pdf.setFont(Go,io)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(_n){this.ctx.globalCompositeOperation=_n}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(_n){this.ctx.globalAlpha=_n}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(_n){this.ctx.lineDashOffset=_n,Ui.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(_n){this.ctx.lineDash=_n,Ui.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(_n){this.ctx.ignoreClearRect=Boolean(_n)}})};Et.prototype.setLineDash=function(Ot){this.lineDash=Ot},Et.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},Et.prototype.fill=function(){dn.call(this,"fill",!1)},Et.prototype.stroke=function(){dn.call(this,"stroke",!1)},Et.prototype.beginPath=function(){this.path=[{type:"begin"}]},Et.prototype.moveTo=function(Ot,Ar){if(isNaN(Ot)||isNaN(Ar))throw ti.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var Br=this.ctx.transform.applyToPoint(new Le(Ot,Ar));this.path.push({type:"mt",x:Br.x,y:Br.y}),this.ctx.lastPoint=new Le(Ot,Ar)},Et.prototype.closePath=function(){var Ot=new Le(0,0),Ar=0;for(Ar=this.path.length-1;Ar!==-1;Ar--)if(this.path[Ar].type==="begin"&&(0,n.Z)(this.path[Ar+1])==="object"&&typeof this.path[Ar+1].x=="number"){Ot=new Le(this.path[Ar+1].x,this.path[Ar+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new Le(Ot.x,Ot.y)},Et.prototype.lineTo=function(Ot,Ar){if(isNaN(Ot)||isNaN(Ar))throw ti.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var Br=this.ctx.transform.applyToPoint(new Le(Ot,Ar));this.path.push({type:"lt",x:Br.x,y:Br.y}),this.ctx.lastPoint=new Le(Br.x,Br.y)},Et.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),dn.call(this,null,!0)},Et.prototype.quadraticCurveTo=function(Ot,Ar,Br,Wr){if(isNaN(Br)||isNaN(Wr)||isNaN(Ot)||isNaN(Ar))throw ti.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var tn=this.ctx.transform.applyToPoint(new Le(Br,Wr)),Nr=this.ctx.transform.applyToPoint(new Le(Ot,Ar));this.path.push({type:"qct",x1:Nr.x,y1:Nr.y,x:tn.x,y:tn.y}),this.ctx.lastPoint=new Le(tn.x,tn.y)},Et.prototype.bezierCurveTo=function(Ot,Ar,Br,Wr,tn,Nr){if(isNaN(tn)||isNaN(Nr)||isNaN(Ot)||isNaN(Ar)||isNaN(Br)||isNaN(Wr))throw ti.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var gn=this.ctx.transform.applyToPoint(new Le(tn,Nr)),wn=this.ctx.transform.applyToPoint(new Le(Ot,Ar)),mi=this.ctx.transform.applyToPoint(new Le(Br,Wr));this.path.push({type:"bct",x1:wn.x,y1:wn.y,x2:mi.x,y2:mi.y,x:gn.x,y:gn.y}),this.ctx.lastPoint=new Le(gn.x,gn.y)},Et.prototype.arc=function(Ot,Ar,Br,Wr,tn,Nr){if(isNaN(Ot)||isNaN(Ar)||isNaN(Br)||isNaN(Wr)||isNaN(tn))throw ti.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(Nr=Boolean(Nr),!this.ctx.transform.isIdentity){var gn=this.ctx.transform.applyToPoint(new Le(Ot,Ar));Ot=gn.x,Ar=gn.y;var wn=this.ctx.transform.applyToPoint(new Le(0,Br)),mi=this.ctx.transform.applyToPoint(new Le(0,0));Br=Math.sqrt(Math.pow(wn.x-mi.x,2)+Math.pow(wn.y-mi.y,2))}Math.abs(tn-Wr)>=2*Math.PI&&(Wr=0,tn=2*Math.PI),this.path.push({type:"arc",x:Ot,y:Ar,radius:Br,startAngle:Wr,endAngle:tn,counterclockwise:Nr})},Et.prototype.arcTo=function(Ot,Ar,Br,Wr,tn){throw new Error("arcTo not implemented.")},Et.prototype.rect=function(Ot,Ar,Br,Wr){if(isNaN(Ot)||isNaN(Ar)||isNaN(Br)||isNaN(Wr))throw ti.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Ot,Ar),this.lineTo(Ot+Br,Ar),this.lineTo(Ot+Br,Ar+Wr),this.lineTo(Ot,Ar+Wr),this.lineTo(Ot,Ar),this.lineTo(Ot+Br,Ar),this.lineTo(Ot,Ar)},Et.prototype.fillRect=function(Ot,Ar,Br,Wr){if(isNaN(Ot)||isNaN(Ar)||isNaN(Br)||isNaN(Wr))throw ti.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!Ge.call(this)){var tn={};this.lineCap!=="butt"&&(tn.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(tn.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Ot,Ar,Br,Wr),this.fill(),tn.hasOwnProperty("lineCap")&&(this.lineCap=tn.lineCap),tn.hasOwnProperty("lineJoin")&&(this.lineJoin=tn.lineJoin)}},Et.prototype.strokeRect=function(Ot,Ar,Br,Wr){if(isNaN(Ot)||isNaN(Ar)||isNaN(Br)||isNaN(Wr))throw ti.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");cr.call(this)||(this.beginPath(),this.rect(Ot,Ar,Br,Wr),this.stroke())},Et.prototype.clearRect=function(Ot,Ar,Br,Wr){if(isNaN(Ot)||isNaN(Ar)||isNaN(Br)||isNaN(Wr))throw ti.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Ot,Ar,Br,Wr))},Et.prototype.save=function(Ot){Ot=typeof Ot!="boolean"||Ot;for(var Ar=this.pdf.internal.getCurrentPageInfo().pageNumber,Br=0;Br<this.pdf.internal.getNumberOfPages();Br++)this.pdf.setPage(Br+1),this.pdf.internal.out("q");if(this.pdf.setPage(Ar),Ot){this.ctx.fontSize=this.pdf.internal.getFontSize();var Wr=new gt(this.ctx);this.ctxStack.push(this.ctx),this.ctx=Wr}},Et.prototype.restore=function(Ot){Ot=typeof Ot!="boolean"||Ot;for(var Ar=this.pdf.internal.getCurrentPageInfo().pageNumber,Br=0;Br<this.pdf.internal.getNumberOfPages();Br++)this.pdf.setPage(Br+1),this.pdf.internal.out("Q");this.pdf.setPage(Ar),Ot&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},Et.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var Mt=function(Ot){var Ar,Br,Wr,tn;if(Ot.isCanvasGradient===!0&&(Ot=Ot.getColor()),!Ot)return{r:0,g:0,b:0,a:0,style:Ot};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(Ot))Ar=0,Br=0,Wr=0,tn=0;else{var Nr=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(Ot);if(Nr!==null)Ar=parseInt(Nr[1]),Br=parseInt(Nr[2]),Wr=parseInt(Nr[3]),tn=1;else if((Nr=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(Ot))!==null)Ar=parseInt(Nr[1]),Br=parseInt(Nr[2]),Wr=parseInt(Nr[3]),tn=parseFloat(Nr[4]);else{if(tn=1,typeof Ot=="string"&&Ot.charAt(0)!=="#"){var gn=new qr(Ot);Ot=gn.ok?gn.toHex():"#000000"}Ot.length===4?(Ar=Ot.substring(1,2),Ar+=Ar,Br=Ot.substring(2,3),Br+=Br,Wr=Ot.substring(3,4),Wr+=Wr):(Ar=Ot.substring(1,3),Br=Ot.substring(3,5),Wr=Ot.substring(5,7)),Ar=parseInt(Ar,16),Br=parseInt(Br,16),Wr=parseInt(Wr,16)}}return{r:Ar,g:Br,b:Wr,a:tn,style:Ot}},Ge=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},cr=function(){return Boolean(this.ctx.isStrokeTransparent||this.globalAlpha==0)};Et.prototype.fillText=function(Ot,Ar,Br,Wr){if(isNaN(Ar)||isNaN(Br)||typeof Ot!="string")throw ti.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(Wr=isNaN(Wr)?void 0:Wr,!Ge.call(this)){var tn=pn(this.ctx.transform.rotation),Nr=this.ctx.transform.scaleX;rr.call(this,{text:Ot,x:Ar,y:Br,scale:Nr,angle:tn,align:this.textAlign,maxWidth:Wr})}},Et.prototype.strokeText=function(Ot,Ar,Br,Wr){if(isNaN(Ar)||isNaN(Br)||typeof Ot!="string")throw ti.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!cr.call(this)){Wr=isNaN(Wr)?void 0:Wr;var tn=pn(this.ctx.transform.rotation),Nr=this.ctx.transform.scaleX;rr.call(this,{text:Ot,x:Ar,y:Br,scale:Nr,renderingMode:"stroke",angle:tn,align:this.textAlign,maxWidth:Wr})}},Et.prototype.measureText=function(Ot){if(typeof Ot!="string")throw ti.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var Ar=this.pdf,Br=this.pdf.internal.scaleFactor,Wr=Ar.internal.getFontSize(),tn=Ar.getStringUnitWidth(Ot)*Wr/Ar.internal.scaleFactor,Nr=function(gn){var wn=(gn=gn||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return wn}}),this};return new Nr({width:tn*=Math.round(96*Br/72*1e4)/1e4})},Et.prototype.scale=function(Ot,Ar){if(isNaN(Ot)||isNaN(Ar))throw ti.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var Br=new ke(Ot,0,0,Ar,0,0);this.ctx.transform=this.ctx.transform.multiply(Br)},Et.prototype.rotate=function(Ot){if(isNaN(Ot))throw ti.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var Ar=new ke(Math.cos(Ot),Math.sin(Ot),-Math.sin(Ot),Math.cos(Ot),0,0);this.ctx.transform=this.ctx.transform.multiply(Ar)},Et.prototype.translate=function(Ot,Ar){if(isNaN(Ot)||isNaN(Ar))throw ti.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var Br=new ke(1,0,0,1,Ot,Ar);this.ctx.transform=this.ctx.transform.multiply(Br)},Et.prototype.transform=function(Ot,Ar,Br,Wr,tn,Nr){if(isNaN(Ot)||isNaN(Ar)||isNaN(Br)||isNaN(Wr)||isNaN(tn)||isNaN(Nr))throw ti.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var gn=new ke(Ot,Ar,Br,Wr,tn,Nr);this.ctx.transform=this.ctx.transform.multiply(gn)},Et.prototype.setTransform=function(Ot,Ar,Br,Wr,tn,Nr){Ot=isNaN(Ot)?1:Ot,Ar=isNaN(Ar)?0:Ar,Br=isNaN(Br)?0:Br,Wr=isNaN(Wr)?1:Wr,tn=isNaN(tn)?0:tn,Nr=isNaN(Nr)?0:Nr,this.ctx.transform=new ke(Ot,Ar,Br,Wr,tn,Nr)};var er=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Et.prototype.drawImage=function(Ot,Ar,Br,Wr,tn,Nr,gn,wn,mi){var wi=this.pdf.getImageProperties(Ot),Ni=1,Gi=1,lo=1,_n=1;Wr!==void 0&&wn!==void 0&&(lo=wn/Wr,_n=mi/tn,Ni=wi.width/Wr*wn/Wr,Gi=wi.height/tn*mi/tn),Nr===void 0&&(Nr=Ar,gn=Br,Ar=0,Br=0),Wr!==void 0&&wn===void 0&&(wn=Wr,mi=tn),Wr===void 0&&wn===void 0&&(wn=wi.width,mi=wi.height);for(var Cr,Ei=this.ctx.transform.decompose(),vo=pn(Ei.rotate.shx),di=new ke,ri=(di=(di=(di=di.multiply(Ei.translate)).multiply(Ei.skew)).multiply(Ei.scale)).applyToRectangle(new Re(Nr-Ar*lo,gn-Br*_n,Wr*Ni,tn*Gi)),gi=mr.call(this,ri),Bi=[],eo=0;eo<gi.length;eo+=1)Bi.indexOf(gi[eo])===-1&&Bi.push(gi[eo]);if(Zr(Bi),this.autoPaging)for(var io=Bi[0],Go=Bi[Bi.length-1],Co=io;Co<Go+1;Co++){this.pdf.setPage(Co);var No=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],Oa=Co===1?this.posY+this.margin[0]:this.margin[0],Xo=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],ya=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Hi=Co===1?0:Xo+(Co-2)*ya;if(this.ctx.clip_path.length!==0){var Ss=this.path;Cr=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=dr(Cr,this.posX+this.margin[3],-Hi+Oa+this.ctx.prevPageLastElemOffset),hn.call(this,"fill",!0),this.path=Ss}var Jo=JSON.parse(JSON.stringify(ri));Jo=dr([Jo],this.posX+this.margin[3],-Hi+Oa+this.ctx.prevPageLastElemOffset)[0];var os=(Co>io||Co<Go)&&er.call(this);os&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],No,ya,null).clip().discardPath()),this.pdf.addImage(Ot,"JPEG",Jo.x,Jo.y,Jo.w,Jo.h,null,null,vo),os&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(Ot,"JPEG",ri.x,ri.y,ri.w,ri.h,null,null,vo)};var mr=function(Ot,Ar,Br){var Wr=[];Ar=Ar||this.pdf.internal.pageSize.width,Br=Br||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var tn=this.posY+this.ctx.prevPageLastElemOffset;switch(Ot.type){default:case"mt":case"lt":Wr.push(Math.floor((Ot.y+tn)/Br)+1);break;case"arc":Wr.push(Math.floor((Ot.y+tn-Ot.radius)/Br)+1),Wr.push(Math.floor((Ot.y+tn+Ot.radius)/Br)+1);break;case"qct":var Nr=Un(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Ot.x1,Ot.y1,Ot.x,Ot.y);Wr.push(Math.floor((Nr.y+tn)/Br)+1),Wr.push(Math.floor((Nr.y+Nr.h+tn)/Br)+1);break;case"bct":var gn=kn(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Ot.x1,Ot.y1,Ot.x2,Ot.y2,Ot.x,Ot.y);Wr.push(Math.floor((gn.y+tn)/Br)+1),Wr.push(Math.floor((gn.y+gn.h+tn)/Br)+1);break;case"rect":Wr.push(Math.floor((Ot.y+tn)/Br)+1),Wr.push(Math.floor((Ot.y+Ot.h+tn)/Br)+1)}for(var wn=0;wn<Wr.length;wn+=1)for(;this.pdf.internal.getNumberOfPages()<Wr[wn];)Kt.call(this);return Wr},Kt=function(){var Ot=this.fillStyle,Ar=this.strokeStyle,Br=this.font,Wr=this.lineCap,tn=this.lineWidth,Nr=this.lineJoin;this.pdf.addPage(),this.fillStyle=Ot,this.strokeStyle=Ar,this.font=Br,this.lineCap=Wr,this.lineWidth=tn,this.lineJoin=Nr},dr=function(Ot,Ar,Br){for(var Wr=0;Wr<Ot.length;Wr++)switch(Ot[Wr].type){case"bct":Ot[Wr].x2+=Ar,Ot[Wr].y2+=Br;case"qct":Ot[Wr].x1+=Ar,Ot[Wr].y1+=Br;case"mt":case"lt":case"arc":default:Ot[Wr].x+=Ar,Ot[Wr].y+=Br}return Ot},Zr=function(Ot){return Ot.sort(function(Ar,Br){return Ar-Br})},dn=function(Ot,Ar){for(var Br,Wr,tn=this.fillStyle,Nr=this.strokeStyle,gn=this.lineCap,wn=this.lineWidth,mi=Math.abs(wn*this.ctx.transform.scaleX),wi=this.lineJoin,Ni=JSON.parse(JSON.stringify(this.path)),Gi=JSON.parse(JSON.stringify(this.path)),lo=[],_n=0;_n<Gi.length;_n++)if(Gi[_n].x!==void 0)for(var Cr=mr.call(this,Gi[_n]),Ei=0;Ei<Cr.length;Ei+=1)lo.indexOf(Cr[Ei])===-1&&lo.push(Cr[Ei]);for(var vo=0;vo<lo.length;vo++)for(;this.pdf.internal.getNumberOfPages()<lo[vo];)Kt.call(this);if(Zr(lo),this.autoPaging)for(var di=lo[0],ri=lo[lo.length-1],gi=di;gi<ri+1;gi++){this.pdf.setPage(gi),this.fillStyle=tn,this.strokeStyle=Nr,this.lineCap=gn,this.lineWidth=mi,this.lineJoin=wi;var Bi=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],eo=gi===1?this.posY+this.margin[0]:this.margin[0],io=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Go=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Co=gi===1?0:io+(gi-2)*Go;if(this.ctx.clip_path.length!==0){var No=this.path;Br=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=dr(Br,this.posX+this.margin[3],-Co+eo+this.ctx.prevPageLastElemOffset),hn.call(this,Ot,!0),this.path=No}if(Wr=JSON.parse(JSON.stringify(Ni)),this.path=dr(Wr,this.posX+this.margin[3],-Co+eo+this.ctx.prevPageLastElemOffset),Ar===!1||gi===0){var Oa=(gi>di||gi<ri)&&er.call(this);Oa&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Bi,Go,null).clip().discardPath()),hn.call(this,Ot,Ar),Oa&&this.pdf.restoreGraphicsState()}this.lineWidth=wn}else this.lineWidth=mi,hn.call(this,Ot,Ar),this.lineWidth=wn;this.path=Ni},hn=function(Ot,Ar){if((Ot!=="stroke"||Ar||!cr.call(this))&&(Ot==="stroke"||Ar||!Ge.call(this))){for(var Br,Wr,tn=[],Nr=this.path,gn=0;gn<Nr.length;gn++){var wn=Nr[gn];switch(wn.type){case"begin":tn.push({begin:!0});break;case"close":tn.push({close:!0});break;case"mt":tn.push({start:wn,deltas:[],abs:[]});break;case"lt":var mi=tn.length;if(Nr[gn-1]&&!isNaN(Nr[gn-1].x)&&(Br=[wn.x-Nr[gn-1].x,wn.y-Nr[gn-1].y],mi>0)){for(;mi>=0;mi--)if(tn[mi-1].close!==!0&&tn[mi-1].begin!==!0){tn[mi-1].deltas.push(Br),tn[mi-1].abs.push(wn);break}}break;case"bct":Br=[wn.x1-Nr[gn-1].x,wn.y1-Nr[gn-1].y,wn.x2-Nr[gn-1].x,wn.y2-Nr[gn-1].y,wn.x-Nr[gn-1].x,wn.y-Nr[gn-1].y],tn[tn.length-1].deltas.push(Br);break;case"qct":var wi=Nr[gn-1].x+2/3*(wn.x1-Nr[gn-1].x),Ni=Nr[gn-1].y+2/3*(wn.y1-Nr[gn-1].y),Gi=wn.x+2/3*(wn.x1-wn.x),lo=wn.y+2/3*(wn.y1-wn.y),_n=wn.x,Cr=wn.y;Br=[wi-Nr[gn-1].x,Ni-Nr[gn-1].y,Gi-Nr[gn-1].x,lo-Nr[gn-1].y,_n-Nr[gn-1].x,Cr-Nr[gn-1].y],tn[tn.length-1].deltas.push(Br);break;case"arc":tn.push({deltas:[],abs:[],arc:!0}),Array.isArray(tn[tn.length-1].abs)&&tn[tn.length-1].abs.push(wn)}}Wr=Ar?null:Ot==="stroke"?"stroke":"fill";for(var Ei=!1,vo=0;vo<tn.length;vo++)if(tn[vo].arc)for(var di=tn[vo].abs,ri=0;ri<di.length;ri++){var gi=di[ri];gi.type==="arc"?Er.call(this,gi.x,gi.y,gi.radius,gi.startAngle,gi.endAngle,gi.counterclockwise,void 0,Ar,!Ei):Ur.call(this,gi.x,gi.y),Ei=!0}else if(tn[vo].close===!0)this.pdf.internal.out("h"),Ei=!1;else if(tn[vo].begin!==!0){var Bi=tn[vo].start.x,eo=tn[vo].start.y;Or.call(this,tn[vo].deltas,Bi,eo),Ei=!0}Wr&&Gn.call(this,Wr),Ar&&Vn.call(this)}},$n=function(Ot){var Ar=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,Br=Ar*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return Ot-Br;case"top":return Ot+Ar-Br;case"hanging":return Ot+Ar-2*Br;case"middle":return Ot+Ar/2-Br;case"ideographic":return Ot;case"alphabetic":default:return Ot}},cn=function(Ot){return Ot+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};Et.prototype.createLinearGradient=function(){var Ot=function(){};return Ot.colorStops=[],Ot.addColorStop=function(Ar,Br){this.colorStops.push([Ar,Br])},Ot.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},Ot.isCanvasGradient=!0,Ot},Et.prototype.createPattern=function(){return this.createLinearGradient()},Et.prototype.createRadialGradient=function(){return this.createLinearGradient()};var Er=function(Ot,Ar,Br,Wr,tn,Nr,gn,wn,mi){for(var wi=yn.call(this,Br,Wr,tn,Nr),Ni=0;Ni<wi.length;Ni++){var Gi=wi[Ni];Ni===0&&(mi?Xt.call(this,Gi.x1+Ot,Gi.y1+Ar):Ur.call(this,Gi.x1+Ot,Gi.y1+Ar)),En.call(this,Ot,Ar,Gi.x2,Gi.y2,Gi.x3,Gi.y3,Gi.x4,Gi.y4)}wn?Vn.call(this):Gn.call(this,gn)},Gn=function(Ot){switch(Ot){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},Vn=function(){this.pdf.clip(),this.pdf.discardPath()},Xt=function(Ot,Ar){this.pdf.internal.out(H(Ot)+" "+Ae(Ar)+" m")},rr=function(Ot){var Ar;switch(Ot.align){case"right":case"end":Ar="right";break;case"center":Ar="center";break;case"left":case"start":default:Ar="left"}var Br=this.pdf.getTextDimensions(Ot.text),Wr=$n.call(this,Ot.y),tn=cn.call(this,Wr)-Br.h,Nr=this.ctx.transform.applyToPoint(new Le(Ot.x,Wr)),gn=this.ctx.transform.decompose(),wn=new ke;wn=(wn=(wn=wn.multiply(gn.translate)).multiply(gn.skew)).multiply(gn.scale);for(var mi,wi,Ni,Gi=this.ctx.transform.applyToRectangle(new Re(Ot.x,Wr,Br.w,Br.h)),lo=wn.applyToRectangle(new Re(Ot.x,tn,Br.w,Br.h)),_n=mr.call(this,lo),Cr=[],Ei=0;Ei<_n.length;Ei+=1)Cr.indexOf(_n[Ei])===-1&&Cr.push(_n[Ei]);if(Zr(Cr),this.autoPaging)for(var vo=Cr[0],di=Cr[Cr.length-1],ri=vo;ri<di+1;ri++){this.pdf.setPage(ri);var gi=ri===1?this.posY+this.margin[0]:this.margin[0],Bi=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],eo=this.pdf.internal.pageSize.height-this.margin[2],io=eo-this.margin[0],Go=this.pdf.internal.pageSize.width-this.margin[1],Co=Go-this.margin[3],No=ri===1?0:Bi+(ri-2)*io;if(this.ctx.clip_path.length!==0){var Oa=this.path;mi=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=dr(mi,this.posX+this.margin[3],-1*No+gi),hn.call(this,"fill",!0),this.path=Oa}var Xo=dr([JSON.parse(JSON.stringify(lo))],this.posX+this.margin[3],-No+gi+this.ctx.prevPageLastElemOffset)[0];Ot.scale>=.01&&(wi=this.pdf.internal.getFontSize(),this.pdf.setFontSize(wi*Ot.scale),Ni=this.lineWidth,this.lineWidth=Ni*Ot.scale);var ya=this.autoPaging!=="text";if(ya||Xo.y+Xo.h<=eo){if(ya||Xo.y>=gi&&Xo.x<=Go){var Hi=ya?Ot.text:this.pdf.splitTextToSize(Ot.text,Ot.maxWidth||Go-Xo.x)[0],Ss=dr([JSON.parse(JSON.stringify(Gi))],this.posX+this.margin[3],-No+gi+this.ctx.prevPageLastElemOffset)[0],Jo=ya&&(ri>vo||ri<di)&&er.call(this);Jo&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Co,io,null).clip().discardPath()),this.pdf.text(Hi,Ss.x,Ss.y,{angle:Ot.angle,align:Ar,renderingMode:Ot.renderingMode}),Jo&&this.pdf.restoreGraphicsState()}}else Xo.y<eo&&(this.ctx.prevPageLastElemOffset+=eo-Xo.y);Ot.scale>=.01&&(this.pdf.setFontSize(wi),this.lineWidth=Ni)}else Ot.scale>=.01&&(wi=this.pdf.internal.getFontSize(),this.pdf.setFontSize(wi*Ot.scale),Ni=this.lineWidth,this.lineWidth=Ni*Ot.scale),this.pdf.text(Ot.text,Nr.x+this.posX,Nr.y+this.posY,{angle:Ot.angle,align:Ar,renderingMode:Ot.renderingMode,maxWidth:Ot.maxWidth}),Ot.scale>=.01&&(this.pdf.setFontSize(wi),this.lineWidth=Ni)},Ur=function(Ot,Ar,Br,Wr){Br=Br||0,Wr=Wr||0,this.pdf.internal.out(H(Ot+Br)+" "+Ae(Ar+Wr)+" l")},Or=function(Ot,Ar,Br){return this.pdf.lines(Ot,Ar,Br,null,null)},En=function(Ot,Ar,Br,Wr,tn,Nr,gn,wn){this.pdf.internal.out([_(Be(Br+Ot)),_(ve(Wr+Ar)),_(Be(tn+Ot)),_(ve(Nr+Ar)),_(Be(gn+Ot)),_(ve(wn+Ar)),"c"].join(" "))},yn=function(Ot,Ar,Br,Wr){for(var tn=2*Math.PI,Nr=Math.PI/2;Ar>Br;)Ar-=tn;var gn=Math.abs(Br-Ar);gn<tn&&Wr&&(gn=tn-gn);for(var wn=[],mi=Wr?-1:1,wi=Ar;gn>1e-5;){var Ni=wi+mi*Math.min(gn,Nr);wn.push(Rn.call(this,Ot,wi,Ni)),gn-=Math.abs(Ni-wi),wi=Ni}return wn},Rn=function(Ot,Ar,Br){var Wr=(Br-Ar)/2,tn=Ot*Math.cos(Wr),Nr=Ot*Math.sin(Wr),gn=tn,wn=-Nr,mi=gn*gn+wn*wn,wi=mi+gn*tn+wn*Nr,Ni=4/3*(Math.sqrt(2*mi*wi)-wi)/(gn*Nr-wn*tn),Gi=gn-Ni*wn,lo=wn+Ni*gn,_n=Gi,Cr=-lo,Ei=Wr+Ar,vo=Math.cos(Ei),di=Math.sin(Ei);return{x1:Ot*Math.cos(Ar),y1:Ot*Math.sin(Ar),x2:Gi*vo-lo*di,y2:Gi*di+lo*vo,x3:_n*vo-Cr*di,y3:_n*di+Cr*vo,x4:Ot*Math.cos(Br),y4:Ot*Math.sin(Br)}},pn=function(Ot){return 180*Ot/Math.PI},Un=function(Ot,Ar,Br,Wr,tn,Nr){var gn=Ot+.5*(Br-Ot),wn=Ar+.5*(Wr-Ar),mi=tn+.5*(Br-tn),wi=Nr+.5*(Wr-Nr),Ni=Math.min(Ot,tn,gn,mi),Gi=Math.max(Ot,tn,gn,mi),lo=Math.min(Ar,Nr,wn,wi),_n=Math.max(Ar,Nr,wn,wi);return new Re(Ni,lo,Gi-Ni,_n-lo)},kn=function(Ot,Ar,Br,Wr,tn,Nr,gn,wn){var mi,wi,Ni,Gi,lo,_n,Cr,Ei,vo,di,ri,gi,Bi,eo,io=Br-Ot,Go=Wr-Ar,Co=tn-Br,No=Nr-Wr,Oa=gn-tn,Xo=wn-Nr;for(wi=0;wi<41;wi++)vo=(Cr=(Ni=Ot+(mi=wi/40)*io)+mi*((lo=Br+mi*Co)-Ni))+mi*(lo+mi*(tn+mi*Oa-lo)-Cr),di=(Ei=(Gi=Ar+mi*Go)+mi*((_n=Wr+mi*No)-Gi))+mi*(_n+mi*(Nr+mi*Xo-_n)-Ei),wi==0?(ri=vo,gi=di,Bi=vo,eo=di):(ri=Math.min(ri,vo),gi=Math.min(gi,di),Bi=Math.max(Bi,vo),eo=Math.max(eo,di));return new Re(Math.round(ri),Math.round(gi),Math.round(Bi-ri),Math.round(eo-gi))},Ui=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Ot,Ar,Br=(Ot=this.ctx.lineDash,Ar=this.ctx.lineDashOffset,JSON.stringify({lineDash:Ot,lineDashOffset:Ar}));this.prevLineDash!==Br&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Br)}}})(zt.API),function(z){var _=function(ve){var Le,Re,ke,it,gt,Et,Mt,Ge,cr,er;for(/[^\x00-\xFF]/.test(ve),Re=[],ke=0,it=(ve+=Le="\0\0\0\0".slice(ve.length%4||4)).length;it>ke;ke+=4)(gt=(ve.charCodeAt(ke)<<24)+(ve.charCodeAt(ke+1)<<16)+(ve.charCodeAt(ke+2)<<8)+ve.charCodeAt(ke+3))!==0?(Et=(gt=((gt=((gt=((gt=(gt-(er=gt%85))/85)-(cr=gt%85))/85)-(Ge=gt%85))/85)-(Mt=gt%85))/85)%85,Re.push(Et+33,Mt+33,Ge+33,cr+33,er+33)):Re.push(122);return function(mr,Kt){for(var dr=Kt;dr>0;dr--)mr.pop()}(Re,Le.length),String.fromCharCode.apply(String,Re)+"~>"},H=function(ve){var Le,Re,ke,it,gt,Et=String,Mt="length",Ge=255,cr="charCodeAt",er="slice",mr="replace";for(ve[er](-2),ve=ve[er](0,-2)[mr](/\s/g,"")[mr]("z","!!!!!"),ke=[],it=0,gt=(ve+=Le="uuuuu"[er](ve[Mt]%5||5))[Mt];gt>it;it+=5)Re=52200625*(ve[cr](it)-33)+614125*(ve[cr](it+1)-33)+7225*(ve[cr](it+2)-33)+85*(ve[cr](it+3)-33)+(ve[cr](it+4)-33),ke.push(Ge&Re>>24,Ge&Re>>16,Ge&Re>>8,Ge&Re);return function(Kt,dr){for(var Zr=dr;Zr>0;Zr--)Kt.pop()}(ke,Le[Mt]),Et.fromCharCode.apply(Et,ke)},Ae=function(ve){var Le=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((ve=ve.replace(/\s/g,"")).indexOf(">")!==-1&&(ve=ve.substr(0,ve.indexOf(">"))),ve.length%2&&(ve+="0"),Le.test(ve)===!1)return"";for(var Re="",ke=0;ke<ve.length;ke+=2)Re+=String.fromCharCode("0x"+(ve[ke]+ve[ke+1]));return Re},Be=function(ve){for(var Le=new Uint8Array(ve.length),Re=ve.length;Re--;)Le[Re]=ve.charCodeAt(Re);return ve=(Le=ar(Le)).reduce(function(ke,it){return ke+String.fromCharCode(it)},"")};z.processDataByFilters=function(ve,Le){var Re=0,ke=ve||"",it=[];for(typeof(Le=Le||[])=="string"&&(Le=[Le]),Re=0;Re<Le.length;Re+=1)switch(Le[Re]){case"ASCII85Decode":case"/ASCII85Decode":ke=H(ke),it.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":ke=_(ke),it.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":ke=Ae(ke),it.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":ke=ke.split("").map(function(gt){return("0"+gt.charCodeAt().toString(16)).slice(-2)}).join("")+">",it.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":ke=Be(ke),it.push("/FlateDecode");break;default:throw new Error('The filter: "'+Le[Re]+'" is not implemented')}return{data:ke,reverseChain:it.reverse().join(" ")}}}(zt.API),function(z){z.loadFile=function(_,H,Ae){return function(Be,ve,Le){ve=ve!==!1,Le=typeof Le=="function"?Le:function(){};var Re=void 0;try{Re=function(ke,it,gt){var Et=new XMLHttpRequest,Mt=0,Ge=function(cr){var er=cr.length,mr=[],Kt=String.fromCharCode;for(Mt=0;Mt<er;Mt+=1)mr.push(Kt(255&cr.charCodeAt(Mt)));return mr.join("")};if(Et.open("GET",ke,!it),Et.overrideMimeType("text/plain; charset=x-user-defined"),it===!1&&(Et.onload=function(){Et.status===200?gt(Ge(this.responseText)):gt(void 0)}),Et.send(null),it&&Et.status===200)return Ge(Et.responseText)}(Be,ve,Le)}catch(ke){}return Re}(_,H,Ae)},z.loadImageFile=z.loadFile}(zt.API),function(z){function _(){return(Yr.html2canvas?Promise.resolve(Yr.html2canvas):Promise.resolve().then(t.t.bind(t,900,23))).catch(function(Le){return Promise.reject(new Error("Could not load html2canvas: "+Le))}).then(function(Le){return Le.default?Le.default:Le})}function H(){return(Yr.DOMPurify?Promise.resolve(Yr.DOMPurify):t.e(3245).then(t.t.bind(t,83245,23))).catch(function(Le){return Promise.reject(new Error("Could not load dompurify: "+Le))}).then(function(Le){return Le.default?Le.default:Le})}var Ae=function(Le){var Re=(0,n.Z)(Le);return Re==="undefined"?"undefined":Re==="string"||Le instanceof String?"string":Re==="number"||Le instanceof Number?"number":Re==="function"||Le instanceof Function?"function":Le&&Le.constructor===Array?"array":Le&&Le.nodeType===1?"element":Re==="object"?"object":"unknown"},Be=function(Le,Re){var ke=document.createElement(Le);for(var it in Re.className&&(ke.className=Re.className),Re.innerHTML&&Re.dompurify&&(ke.innerHTML=Re.dompurify.sanitize(Re.innerHTML)),Re.style)ke.style[it]=Re.style[it];return ke},ve=function Le(Re){var ke=Object.assign(Le.convert(Promise.resolve()),JSON.parse(JSON.stringify(Le.template))),it=Le.convert(Promise.resolve(),ke);return it=(it=it.setProgress(1,Le,1,[Le])).set(Re)};(ve.prototype=Object.create(Promise.prototype)).constructor=ve,ve.convert=function(Le,Re){return Le.__proto__=Re||ve.prototype,Le},ve.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},ve.prototype.from=function(Le,Re){return this.then(function(){switch(Re=Re||function(ke){switch(Ae(ke)){case"string":return"string";case"element":return ke.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(Le)){case"string":return this.then(H).then(function(ke){return this.set({src:Be("div",{innerHTML:Le,dompurify:ke})})});case"element":return this.set({src:Le});case"canvas":return this.set({canvas:Le});case"img":return this.set({img:Le});default:return this.error("Unknown source type.")}})},ve.prototype.to=function(Le){switch(Le){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},ve.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var Le={position:"relative",display:"inline-block",width:(typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},Re=function ke(it,gt){for(var Et=it.nodeType===3?document.createTextNode(it.nodeValue):it.cloneNode(!1),Mt=it.firstChild;Mt;Mt=Mt.nextSibling)gt!==!0&&Mt.nodeType===1&&Mt.nodeName==="SCRIPT"||Et.appendChild(ke(Mt,gt));return it.nodeType===1&&(it.nodeName==="CANVAS"?(Et.width=it.width,Et.height=it.height,Et.getContext("2d").drawImage(it,0,0)):it.nodeName!=="TEXTAREA"&&it.nodeName!=="SELECT"||(Et.value=it.value),Et.addEventListener("load",function(){Et.scrollTop=it.scrollTop,Et.scrollLeft=it.scrollLeft},!0)),Et}(this.prop.src,this.opt.html2canvas.javascriptEnabled);Re.tagName==="BODY"&&(Le.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=Be("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=Be("div",{className:"html2pdf__container",style:Le}),this.prop.container.appendChild(Re),this.prop.container.firstChild.appendChild(Be("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},ve.prototype.toCanvas=function(){var Le=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Le).then(_).then(function(Re){var ke=Object.assign({},this.opt.html2canvas);return delete ke.onrendered,Re(this.prop.container,ke)}).then(function(Re){(this.opt.html2canvas.onrendered||function(){})(Re),this.prop.canvas=Re,document.body.removeChild(this.prop.overlay)})},ve.prototype.toContext2d=function(){var Le=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Le).then(_).then(function(Re){var ke=this.opt.jsPDF,it=this.opt.fontFaces,gt=typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,Et=Object.assign({async:!0,allowTaint:!0,scale:gt,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete Et.onrendered,ke.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,ke.context2d.posX=this.opt.x,ke.context2d.posY=this.opt.y,ke.context2d.margin=this.opt.margin,ke.context2d.fontFaces=it,it)for(var Mt=0;Mt<it.length;++Mt){var Ge=it[Mt],cr=Ge.src.find(function(er){return er.format==="truetype"});cr&&ke.addFont(cr.url,Ge.ref.name,Ge.ref.style)}return Et.windowHeight=Et.windowHeight||0,Et.windowHeight=Et.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):Et.windowHeight,ke.context2d.save(!0),Re(this.prop.container,Et)}).then(function(Re){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(Re),this.prop.canvas=Re,document.body.removeChild(this.prop.overlay)})},ve.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var Le=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=Le})},ve.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},ve.prototype.output=function(Le,Re,ke){return(ke=ke||"pdf").toLowerCase()==="img"||ke.toLowerCase()==="image"?this.outputImg(Le,Re):this.outputPdf(Le,Re)},ve.prototype.outputPdf=function(Le,Re){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(Le,Re)})},ve.prototype.outputImg=function(Le){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(Le){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+Le+'" is not supported.'}})},ve.prototype.save=function(Le){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(Le?{filename:Le}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},ve.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},ve.prototype.set=function(Le){if(Ae(Le)!=="object")return this;var Re=Object.keys(Le||{}).map(function(ke){if(ke in ve.template.prop)return function(){this.prop[ke]=Le[ke]};switch(ke){case"margin":return this.setMargin.bind(this,Le.margin);case"jsPDF":return function(){return this.opt.jsPDF=Le.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,Le.pageSize);default:return function(){this.opt[ke]=Le[ke]}}},this);return this.then(function(){return this.thenList(Re)})},ve.prototype.get=function(Le,Re){return this.then(function(){var ke=Le in ve.template.prop?this.prop[Le]:this.opt[Le];return Re?Re(ke):ke})},ve.prototype.setMargin=function(Le){return this.then(function(){switch(Ae(Le)){case"number":Le=[Le,Le,Le,Le];case"array":if(Le.length===2&&(Le=[Le[0],Le[1],Le[0],Le[1]]),Le.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=Le}).then(this.setPageSize)},ve.prototype.setPageSize=function(Le){function Re(ke,it){return Math.floor(ke*it/72*96)}return this.then(function(){(Le=Le||zt.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(Le.inner={width:Le.width-this.opt.margin[1]-this.opt.margin[3],height:Le.height-this.opt.margin[0]-this.opt.margin[2]},Le.inner.px={width:Re(Le.inner.width,Le.k),height:Re(Le.inner.height,Le.k)},Le.inner.ratio=Le.inner.height/Le.inner.width),this.prop.pageSize=Le})},ve.prototype.setProgress=function(Le,Re,ke,it){return Le!=null&&(this.progress.val=Le),Re!=null&&(this.progress.state=Re),ke!=null&&(this.progress.n=ke),it!=null&&(this.progress.stack=it),this.progress.ratio=this.progress.val/this.progress.state,this},ve.prototype.updateProgress=function(Le,Re,ke,it){return this.setProgress(Le?this.progress.val+Le:null,Re||null,ke?this.progress.n+ke:null,it?this.progress.stack.concat(it):null)},ve.prototype.then=function(Le,Re){var ke=this;return this.thenCore(Le,Re,function(it,gt){return ke.updateProgress(null,null,1,[it]),Promise.prototype.then.call(this,function(Et){return ke.updateProgress(null,it),Et}).then(it,gt).then(function(Et){return ke.updateProgress(1),Et})})},ve.prototype.thenCore=function(Le,Re,ke){ke=ke||Promise.prototype.then,Le&&(Le=Le.bind(this)),Re&&(Re=Re.bind(this));var it=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?this:ve.convert(Object.assign({},this),Promise.prototype),gt=ke.call(it,Le,Re);return ve.convert(gt,this.__proto__)},ve.prototype.thenExternal=function(Le,Re){return Promise.prototype.then.call(this,Le,Re)},ve.prototype.thenList=function(Le){var Re=this;return Le.forEach(function(ke){Re=Re.thenCore(ke)}),Re},ve.prototype.catch=function(Le){Le&&(Le=Le.bind(this));var Re=Promise.prototype.catch.call(this,Le);return ve.convert(Re,this)},ve.prototype.catchExternal=function(Le){return Promise.prototype.catch.call(this,Le)},ve.prototype.error=function(Le){return this.then(function(){throw new Error(Le)})},ve.prototype.using=ve.prototype.set,ve.prototype.saveAs=ve.prototype.save,ve.prototype.export=ve.prototype.output,ve.prototype.run=ve.prototype.then,zt.getPageSize=function(Le,Re,ke){if((0,n.Z)(Le)==="object"){var it=Le;Le=it.orientation,Re=it.unit||Re,ke=it.format||ke}Re=Re||"mm",ke=ke||"a4",Le=(""+(Le||"P")).toLowerCase();var gt,Et=(""+ke).toLowerCase(),Mt={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(Re){case"pt":gt=1;break;case"mm":gt=2.834645669291339;break;case"cm":gt=28.346456692913385;break;case"in":gt=72;break;case"px":gt=.75;break;case"pc":case"em":gt=12;break;case"ex":gt=6;break;default:throw"Invalid unit: "+Re}var Ge,cr=0,er=0;if(Mt.hasOwnProperty(Et))cr=Mt[Et][1]/gt,er=Mt[Et][0]/gt;else try{cr=ke[1],er=ke[0]}catch(mr){throw new Error("Invalid format: "+ke)}if(Le==="p"||Le==="portrait")Le="p",er>cr&&(Ge=er,er=cr,cr=Ge);else{if(Le!=="l"&&Le!=="landscape")throw"Invalid orientation: "+Le;Le="l",cr>er&&(Ge=er,er=cr,cr=Ge)}return{width:er,height:cr,unit:Re,k:gt,orientation:Le}},z.html=function(Le,Re){(Re=Re||{}).callback=Re.callback||function(){},Re.html2canvas=Re.html2canvas||{},Re.html2canvas.canvas=Re.html2canvas.canvas||this.canvas,Re.jsPDF=Re.jsPDF||this,Re.fontFaces=Re.fontFaces?Re.fontFaces.map(Ql):null;var ke=new ve(Re);return Re.worker?ke:ke.from(Le).doCallback()}}(zt.API),zt.API.addJS=function(z){return pl=z,this.internal.events.subscribe("postPutResources",function(){bs=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(bs+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Au=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+pl+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){bs!==void 0&&Au!==void 0&&this.internal.out("/Names <</JavaScript "+bs+" 0 R>>")}),this},function(z){var _;z.events.push(["postPutResources",function(){var H=this,Ae=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var Be=H.outline.render().split(/\r\n/),ve=0;ve<Be.length;ve++){var Le=Be[ve],Re=Ae.exec(Le);if(Re!=null){var ke=Re[1];H.internal.newObjectDeferredBegin(ke,!1)}H.internal.write(Le)}if(this.outline.createNamedDestinations){var it=this.internal.pages.length,gt=[];for(ve=0;ve<it;ve++){var Et=H.internal.newObject();gt.push(Et);var Mt=H.internal.getPageInfo(ve+1);H.internal.write("<< /D["+Mt.objId+" 0 R /XYZ null null null]>> endobj")}var Ge=H.internal.newObject();for(H.internal.write("<< /Names [ "),ve=0;ve<gt.length;ve++)H.internal.write("(page_"+(ve+1)+")"+gt[ve]+" 0 R");H.internal.write(" ] >>","endobj"),_=H.internal.newObject(),H.internal.write("<< /Dests "+Ge+" 0 R"),H.internal.write(">>","endobj")}}]),z.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+_+" 0 R"))}]),z.events.push(["initialized",function(){var H=this;H.outline={createNamedDestinations:!1,root:{children:[]}},H.outline.add=function(Ae,Be,ve){var Le={title:Be,options:ve,children:[]};return Ae==null&&(Ae=this.root),Ae.children.push(Le),Le},H.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=H,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},H.outline.genIds_r=function(Ae){Ae.id=H.internal.newObjectDeferred();for(var Be=0;Be<Ae.children.length;Be++)this.genIds_r(Ae.children[Be])},H.outline.renderRoot=function(Ae){this.objStart(Ae),this.line("/Type /Outlines"),Ae.children.length>0&&(this.line("/First "+this.makeRef(Ae.children[0])),this.line("/Last "+this.makeRef(Ae.children[Ae.children.length-1]))),this.line("/Count "+this.count_r({count:0},Ae)),this.objEnd()},H.outline.renderItems=function(Ae){for(var Be=this.ctx.pdf.internal.getVerticalCoordinateString,ve=0;ve<Ae.children.length;ve++){var Le=Ae.children[ve];this.objStart(Le),this.line("/Title "+this.makeString(Le.title)),this.line("/Parent "+this.makeRef(Ae)),ve>0&&this.line("/Prev "+this.makeRef(Ae.children[ve-1])),ve<Ae.children.length-1&&this.line("/Next "+this.makeRef(Ae.children[ve+1])),Le.children.length>0&&(this.line("/First "+this.makeRef(Le.children[0])),this.line("/Last "+this.makeRef(Le.children[Le.children.length-1])));var Re=this.count=this.count_r({count:0},Le);if(Re>0&&this.line("/Count "+Re),Le.options&&Le.options.pageNumber){var ke=H.internal.getPageInfo(Le.options.pageNumber);this.line("/Dest ["+ke.objId+" 0 R /XYZ 0 "+Be(0)+" 0]")}this.objEnd()}for(var it=0;it<Ae.children.length;it++)this.renderItems(Ae.children[it])},H.outline.line=function(Ae){this.ctx.val+=Ae+`\r
`},H.outline.makeRef=function(Ae){return Ae.id+" 0 R"},H.outline.makeString=function(Ae){return"("+H.internal.pdfEscape(Ae)+")"},H.outline.objStart=function(Ae){this.ctx.val+=`\r
`+Ae.id+` 0 obj\r
<<\r
`},H.outline.objEnd=function(){this.ctx.val+=`>> \r
endobj\r
`},H.outline.count_r=function(Ae,Be){for(var ve=0;ve<Be.children.length;ve++)Ae.count++,this.count_r(Ae,Be.children[ve]);return Ae.count}}])}(zt.API),function(z){var _=[192,193,194,195,196,197,198,199];z.processJPEG=function(H,Ae,Be,ve,Le,Re){var ke,it=this.decode.DCT_DECODE,gt=null;if(typeof H=="string"||this.__addimage__.isArrayBuffer(H)||this.__addimage__.isArrayBufferView(H)){switch(H=Le||H,H=this.__addimage__.isArrayBuffer(H)?new Uint8Array(H):H,(ke=function(Et){for(var Mt,Ge=256*Et.charCodeAt(4)+Et.charCodeAt(5),cr=Et.length,er={width:0,height:0,numcomponents:1},mr=4;mr<cr;mr+=2){if(mr+=Ge,_.indexOf(Et.charCodeAt(mr+1))!==-1){Mt=256*Et.charCodeAt(mr+5)+Et.charCodeAt(mr+6),er={width:256*Et.charCodeAt(mr+7)+Et.charCodeAt(mr+8),height:Mt,numcomponents:Et.charCodeAt(mr+9)};break}Ge=256*Et.charCodeAt(mr+2)+Et.charCodeAt(mr+3)}return er}(H=this.__addimage__.isArrayBufferView(H)?this.__addimage__.arrayBufferToBinaryString(H):H)).numcomponents){case 1:Re=this.color_spaces.DEVICE_GRAY;break;case 4:Re=this.color_spaces.DEVICE_CMYK;break;case 3:Re=this.color_spaces.DEVICE_RGB}gt={data:H,width:ke.width,height:ke.height,colorSpace:Re,bitsPerComponent:8,filter:it,index:Ae,alias:Be}}return gt}}(zt.API);var Pa,ns,Zl,ll,ul,Po=function(){var z,_,H;function Ae(ve){var Le,Re,ke,it,gt,Et,Mt,Ge,cr,er,mr,Kt,dr,Zr;for(this.data=ve,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},Et=null;;){switch(Le=this.readUInt32(),cr=function(){var dn,hn;for(hn=[],dn=0;dn<4;++dn)hn.push(String.fromCharCode(this.data[this.pos++]));return hn}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(Le);break;case"fcTL":Et&&this.animation.frames.push(Et),this.pos+=4,Et={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},gt=this.readUInt16(),it=this.readUInt16()||100,Et.delay=1e3*gt/it,Et.disposeOp=this.data[this.pos++],Et.blendOp=this.data[this.pos++],Et.data=[];break;case"IDAT":case"fdAT":for(cr==="fdAT"&&(this.pos+=4,Le-=4),ve=(Et!=null?Et.data:void 0)||this.imgData,Kt=0;0<=Le?Kt<Le:Kt>Le;0<=Le?++Kt:--Kt)ve.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(ke=this.palette.length/3,this.transparency.indexed=this.read(Le),this.transparency.indexed.length>ke)throw new Error("More transparent colors than palette size");if((er=ke-this.transparency.indexed.length)>0)for(dr=0;0<=er?dr<er:dr>er;0<=er?++dr:--dr)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(Le)[0];break;case 2:this.transparency.rgb=this.read(Le)}break;case"tEXt":Mt=(mr=this.read(Le)).indexOf(0),Ge=String.fromCharCode.apply(String,mr.slice(0,Mt)),this.text[Ge]=String.fromCharCode.apply(String,mr.slice(Mt+1));break;case"IEND":return Et&&this.animation.frames.push(Et),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(Zr=this.colorType)===4||Zr===6,Re=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*Re,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=Le}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}Ae.prototype.read=function(ve){var Le,Re;for(Re=[],Le=0;0<=ve?Le<ve:Le>ve;0<=ve?++Le:--Le)Re.push(this.data[this.pos++]);return Re},Ae.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},Ae.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},Ae.prototype.decodePixels=function(ve){var Le=this.pixelBitlength/8,Re=new Uint8Array(this.width*this.height*Le),ke=0,it=this;if(ve==null&&(ve=this.imgData),ve.length===0)return new Uint8Array(0);function gt(Et,Mt,Ge,cr){var er,mr,Kt,dr,Zr,dn,hn,$n,cn,Er,Gn,Vn,Xt,rr,Ur,Or,En,yn,Rn,pn,Un,kn=Math.ceil((it.width-Et)/Ge),Ui=Math.ceil((it.height-Mt)/cr),Ot=it.width==kn&&it.height==Ui;for(rr=Le*kn,Vn=Ot?Re:new Uint8Array(rr*Ui),dn=ve.length,Xt=0,mr=0;Xt<Ui&&ke<dn;){switch(ve[ke++]){case 0:for(dr=En=0;En<rr;dr=En+=1)Vn[mr++]=ve[ke++];break;case 1:for(dr=yn=0;yn<rr;dr=yn+=1)er=ve[ke++],Zr=dr<Le?0:Vn[mr-Le],Vn[mr++]=(er+Zr)%256;break;case 2:for(dr=Rn=0;Rn<rr;dr=Rn+=1)er=ve[ke++],Kt=(dr-dr%Le)/Le,Ur=Xt&&Vn[(Xt-1)*rr+Kt*Le+dr%Le],Vn[mr++]=(Ur+er)%256;break;case 3:for(dr=pn=0;pn<rr;dr=pn+=1)er=ve[ke++],Kt=(dr-dr%Le)/Le,Zr=dr<Le?0:Vn[mr-Le],Ur=Xt&&Vn[(Xt-1)*rr+Kt*Le+dr%Le],Vn[mr++]=(er+Math.floor((Zr+Ur)/2))%256;break;case 4:for(dr=Un=0;Un<rr;dr=Un+=1)er=ve[ke++],Kt=(dr-dr%Le)/Le,Zr=dr<Le?0:Vn[mr-Le],Xt===0?Ur=Or=0:(Ur=Vn[(Xt-1)*rr+Kt*Le+dr%Le],Or=Kt&&Vn[(Xt-1)*rr+(Kt-1)*Le+dr%Le]),hn=Zr+Ur-Or,$n=Math.abs(hn-Zr),Er=Math.abs(hn-Ur),Gn=Math.abs(hn-Or),cn=$n<=Er&&$n<=Gn?Zr:Er<=Gn?Ur:Or,Vn[mr++]=(er+cn)%256;break;default:throw new Error("Invalid filter algorithm: "+ve[ke-1])}if(!Ot){var Ar=((Mt+Xt*cr)*it.width+Et)*Le,Br=Xt*rr;for(dr=0;dr<kn;dr+=1){for(var Wr=0;Wr<Le;Wr+=1)Re[Ar++]=Vn[Br++];Ar+=(Ge-1)*Le}}Xt++}}return ve=qt(ve),it.interlaceMethod==1?(gt(0,0,8,8),gt(4,0,8,8),gt(0,4,4,8),gt(2,0,4,4),gt(0,2,2,4),gt(1,0,2,2),gt(0,1,1,2)):gt(0,0,1,1),Re},Ae.prototype.decodePalette=function(){var ve,Le,Re,ke,it,gt,Et,Mt,Ge;for(Re=this.palette,gt=this.transparency.indexed||[],it=new Uint8Array((gt.length||0)+Re.length),ke=0,ve=0,Le=Et=0,Mt=Re.length;Et<Mt;Le=Et+=3)it[ke++]=Re[Le],it[ke++]=Re[Le+1],it[ke++]=Re[Le+2],it[ke++]=(Ge=gt[ve++])!=null?Ge:255;return it},Ae.prototype.copyToImageData=function(ve,Le){var Re,ke,it,gt,Et,Mt,Ge,cr,er,mr,Kt;if(ke=this.colors,er=null,Re=this.hasAlphaChannel,this.palette.length&&(er=(Kt=this._decodedPalette)!=null?Kt:this._decodedPalette=this.decodePalette(),ke=4,Re=!0),cr=(it=ve.data||ve).length,Et=er||Le,gt=Mt=0,ke===1)for(;gt<cr;)Ge=er?4*Le[gt/4]:Mt,mr=Et[Ge++],it[gt++]=mr,it[gt++]=mr,it[gt++]=mr,it[gt++]=Re?Et[Ge++]:255,Mt=Ge;else for(;gt<cr;)Ge=er?4*Le[gt/4]:Mt,it[gt++]=Et[Ge++],it[gt++]=Et[Ge++],it[gt++]=Et[Ge++],it[gt++]=Re?Et[Ge++]:255,Mt=Ge},Ae.prototype.decode=function(){var ve;return ve=new Uint8Array(this.width*this.height*4),this.copyToImageData(ve,this.decodePixels()),ve};var Be=function(){if(Object.prototype.toString.call(Yr)==="[object Window]"){try{_=Yr.document.createElement("canvas"),H=_.getContext("2d")}catch(ve){return!1}return!0}return!1};return Be(),z=function(ve){var Le;if(Be()===!0)return H.width=ve.width,H.height=ve.height,H.clearRect(0,0,ve.width,ve.height),H.putImageData(ve,0,0),(Le=new Image).src=_.toDataURL(),Le;throw new Error("This method requires a Browser with Canvas-capability.")},Ae.prototype.decodeFrames=function(ve){var Le,Re,ke,it,gt,Et,Mt,Ge;if(this.animation){for(Ge=[],Re=gt=0,Et=(Mt=this.animation.frames).length;gt<Et;Re=++gt)Le=Mt[Re],ke=ve.createImageData(Le.width,Le.height),it=this.decodePixels(new Uint8Array(Le.data)),this.copyToImageData(ke,it),Le.imageData=ke,Ge.push(Le.image=z(ke));return Ge}},Ae.prototype.renderFrame=function(ve,Le){var Re,ke,it;return Re=(ke=this.animation.frames)[Le],it=ke[Le-1],Le===0&&ve.clearRect(0,0,this.width,this.height),(it!=null?it.disposeOp:void 0)===1?ve.clearRect(it.xOffset,it.yOffset,it.width,it.height):(it!=null?it.disposeOp:void 0)===2&&ve.putImageData(it.imageData,it.xOffset,it.yOffset),Re.blendOp===0&&ve.clearRect(Re.xOffset,Re.yOffset,Re.width,Re.height),ve.drawImage(Re.image,Re.xOffset,Re.yOffset)},Ae.prototype.animate=function(ve){var Le,Re,ke,it,gt,Et,Mt=this;return Re=0,Et=this.animation,it=Et.numFrames,ke=Et.frames,gt=Et.numPlays,(Le=function(){var Ge,cr;if(Ge=Re++%it,cr=ke[Ge],Mt.renderFrame(ve,Ge),it>1&&Re/it<gt)return Mt.animation._timeout=setTimeout(Le,cr.delay)})()},Ae.prototype.stopAnimation=function(){var ve;return clearTimeout((ve=this.animation)!=null?ve._timeout:void 0)},Ae.prototype.render=function(ve){var Le,Re;return ve._png&&ve._png.stopAnimation(),ve._png=this,ve.width=this.width,ve.height=this.height,Le=ve.getContext("2d"),this.animation?(this.decodeFrames(Le),this.animate(Le)):(Re=Le.createImageData(this.width,this.height),this.copyToImageData(Re,this.decodePixels()),Le.putImageData(Re,0,0))},Ae}();/**
 * @license
 *
 * Copyright (c) 2014 James Robb, https://github.com/jamesbrobb
 *
 * Permission is hereby granted, free of charge, to any person obtaining
 * a copy of this software and associated documentation files (the
 * "Software"), to deal in the Software without restriction, including
 * without limitation the rights to use, copy, modify, merge, publish,
 * distribute, sublicense, and/or sell copies of the Software, and to
 * permit persons to whom the Software is furnished to do so, subject to
 * the following conditions:
 *
 * The above copyright notice and this permission notice shall be
 * included in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 * ====================================================================
 *//**
 * @license
 * (c) Dean McNamee <dean@gmail.com>, 2013.
 *
 * https://github.com/deanm/omggif
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to
 * deal in the Software without restriction, including without limitation the
 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
 * sell copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
 * IN THE SOFTWARE.
 *
 * omggif is a JavaScript implementation of a GIF 89a encoder and decoder,
 * including animation and compression.  It does not rely on any specific
 * underlying system, so should run in the browser, Node, or Plask.
 */function Ds(z){var _=0;if(z[_++]!==71||z[_++]!==73||z[_++]!==70||z[_++]!==56||(z[_++]+1&253)!=56||z[_++]!==97)throw new Error("Invalid GIF 87a/89a header.");var H=z[_++]|z[_++]<<8,Ae=z[_++]|z[_++]<<8,Be=z[_++],ve=Be>>7,Le=1<<(7&Be)+1;z[_++],z[_++];var Re=null,ke=null;ve&&(Re=_,ke=Le,_+=3*Le);var it=!0,gt=[],Et=0,Mt=null,Ge=0,cr=null;for(this.width=H,this.height=Ae;it&&_<z.length;)switch(z[_++]){case 33:switch(z[_++]){case 255:if(z[_]!==11||z[_+1]==78&&z[_+2]==69&&z[_+3]==84&&z[_+4]==83&&z[_+5]==67&&z[_+6]==65&&z[_+7]==80&&z[_+8]==69&&z[_+9]==50&&z[_+10]==46&&z[_+11]==48&&z[_+12]==3&&z[_+13]==1&&z[_+16]==0)_+=14,cr=z[_++]|z[_++]<<8,_++;else for(_+=12;;){if(!((Xt=z[_++])>=0))throw Error("Invalid block size");if(Xt===0)break;_+=Xt}break;case 249:if(z[_++]!==4||z[_+4]!==0)throw new Error("Invalid graphics extension block.");var er=z[_++];Et=z[_++]|z[_++]<<8,Mt=z[_++],!(1&er)&&(Mt=null),Ge=er>>2&7,_++;break;case 254:for(;;){if(!((Xt=z[_++])>=0))throw Error("Invalid block size");if(Xt===0)break;_+=Xt}break;default:throw new Error("Unknown graphic control label: 0x"+z[_-1].toString(16))}break;case 44:var mr=z[_++]|z[_++]<<8,Kt=z[_++]|z[_++]<<8,dr=z[_++]|z[_++]<<8,Zr=z[_++]|z[_++]<<8,dn=z[_++],hn=dn>>6&1,$n=1<<(7&dn)+1,cn=Re,Er=ke,Gn=!1;dn>>7&&(Gn=!0,cn=_,Er=$n,_+=3*$n);var Vn=_;for(_++;;){var Xt;if(!((Xt=z[_++])>=0))throw Error("Invalid block size");if(Xt===0)break;_+=Xt}gt.push({x:mr,y:Kt,width:dr,height:Zr,has_local_palette:Gn,palette_offset:cn,palette_size:Er,data_offset:Vn,data_length:_-Vn,transparent_index:Mt,interlaced:!!hn,delay:Et,disposal:Ge});break;case 59:it=!1;break;default:throw new Error("Unknown gif block: 0x"+z[_-1].toString(16))}this.numFrames=function(){return gt.length},this.loopCount=function(){return cr},this.frameInfo=function(rr){if(rr<0||rr>=gt.length)throw new Error("Frame index out of range.");return gt[rr]},this.decodeAndBlitFrameBGRA=function(rr,Ur){var Or=this.frameInfo(rr),En=Or.width*Or.height,yn=new Uint8Array(En);Cl(z,Or.data_offset,yn,En);var Rn=Or.palette_offset,pn=Or.transparent_index;pn===null&&(pn=256);var Un=Or.width,kn=H-Un,Ui=Un,Ot=4*(Or.y*H+Or.x),Ar=4*((Or.y+Or.height)*H+Or.x),Br=Ot,Wr=4*kn;Or.interlaced===!0&&(Wr+=4*H*7);for(var tn=8,Nr=0,gn=yn.length;Nr<gn;++Nr){var wn=yn[Nr];if(Ui===0&&(Ui=Un,(Br+=Wr)>=Ar&&(Wr=4*kn+4*H*(tn-1),Br=Ot+(Un+kn)*(tn<<1),tn>>=1)),wn===pn)Br+=4;else{var mi=z[Rn+3*wn],wi=z[Rn+3*wn+1],Ni=z[Rn+3*wn+2];Ur[Br++]=Ni,Ur[Br++]=wi,Ur[Br++]=mi,Ur[Br++]=255}--Ui}},this.decodeAndBlitFrameRGBA=function(rr,Ur){var Or=this.frameInfo(rr),En=Or.width*Or.height,yn=new Uint8Array(En);Cl(z,Or.data_offset,yn,En);var Rn=Or.palette_offset,pn=Or.transparent_index;pn===null&&(pn=256);var Un=Or.width,kn=H-Un,Ui=Un,Ot=4*(Or.y*H+Or.x),Ar=4*((Or.y+Or.height)*H+Or.x),Br=Ot,Wr=4*kn;Or.interlaced===!0&&(Wr+=4*H*7);for(var tn=8,Nr=0,gn=yn.length;Nr<gn;++Nr){var wn=yn[Nr];if(Ui===0&&(Ui=Un,(Br+=Wr)>=Ar&&(Wr=4*kn+4*H*(tn-1),Br=Ot+(Un+kn)*(tn<<1),tn>>=1)),wn===pn)Br+=4;else{var mi=z[Rn+3*wn],wi=z[Rn+3*wn+1],Ni=z[Rn+3*wn+2];Ur[Br++]=mi,Ur[Br++]=wi,Ur[Br++]=Ni,Ur[Br++]=255}--Ui}}}function Cl(z,_,H,Ae){for(var Be=z[_++],ve=1<<Be,Le=ve+1,Re=Le+1,ke=Be+1,it=(1<<ke)-1,gt=0,Et=0,Mt=0,Ge=z[_++],cr=new Int32Array(4096),er=null;;){for(;gt<16&&Ge!==0;)Et|=z[_++]<<gt,gt+=8,Ge===1?Ge=z[_++]:--Ge;if(gt<ke)break;var mr=Et&it;if(Et>>=ke,gt-=ke,mr!==ve){if(mr===Le)break;for(var Kt=mr<Re?mr:er,dr=0,Zr=Kt;Zr>ve;)Zr=cr[Zr]>>8,++dr;var dn=Zr;if(Mt+dr+(Kt!==mr?1:0)>Ae)return void ti.log("Warning, gif stream longer than expected.");H[Mt++]=dn;var hn=Mt+=dr;for(Kt!==mr&&(H[Mt++]=dn),Zr=Kt;dr--;)Zr=cr[Zr],H[--hn]=255&Zr,Zr>>=8;er!==null&&Re<4096&&(cr[Re++]=er<<8|dn,Re>=it+1&&ke<12&&(++ke,it=it<<1|1)),er=mr}else Re=Le+1,it=(1<<(ke=Be+1))-1,er=null}return Mt!==Ae&&ti.log("Warning, gif stream shorter than expected."),H}/**
 * @license
  Copyright (c) 2008, Adobe Systems Incorporated
  All rights reserved.

  Redistribution and use in source and binary forms, with or without 
  modification, are permitted provided that the following conditions are
  met:

  * Redistributions of source code must retain the above copyright notice, 
    this list of conditions and the following disclaimer.
  
  * Redistributions in binary form must reproduce the above copyright
    notice, this list of conditions and the following disclaimer in the 
    documentation and/or other materials provided with the distribution.
  
  * Neither the name of Adobe Systems Incorporated nor the names of its 
    contributors may be used to endorse or promote products derived from 
    this software without specific prior written permission.

  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
  IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 
  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
  LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/function jt(z){var _,H,Ae,Be,ve,Le=Math.floor,Re=new Array(64),ke=new Array(64),it=new Array(64),gt=new Array(64),Et=new Array(65535),Mt=new Array(65535),Ge=new Array(64),cr=new Array(64),er=[],mr=0,Kt=7,dr=new Array(64),Zr=new Array(64),dn=new Array(64),hn=new Array(256),$n=new Array(2048),cn=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Er=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Gn=[0,1,2,3,4,5,6,7,8,9,10,11],Vn=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],Xt=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],rr=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Ur=[0,1,2,3,4,5,6,7,8,9,10,11],Or=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],En=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function yn(Ot,Ar){for(var Br=0,Wr=0,tn=new Array,Nr=1;Nr<=16;Nr++){for(var gn=1;gn<=Ot[Nr];gn++)tn[Ar[Wr]]=[],tn[Ar[Wr]][0]=Br,tn[Ar[Wr]][1]=Nr,Wr++,Br++;Br*=2}return tn}function Rn(Ot){for(var Ar=Ot[0],Br=Ot[1]-1;Br>=0;)Ar&1<<Br&&(mr|=1<<Kt),Br--,--Kt<0&&(mr==255?(pn(255),pn(0)):pn(mr),Kt=7,mr=0)}function pn(Ot){er.push(Ot)}function Un(Ot){pn(Ot>>8&255),pn(255&Ot)}function kn(Ot,Ar,Br,Wr,tn){for(var Nr,gn=tn[0],wn=tn[240],mi=function(di,ri){var gi,Bi,eo,io,Go,Co,No,Oa,Xo,ya,Hi=0;for(Xo=0;Xo<8;++Xo){gi=di[Hi],Bi=di[Hi+1],eo=di[Hi+2],io=di[Hi+3],Go=di[Hi+4],Co=di[Hi+5],No=di[Hi+6];var Ss=gi+(Oa=di[Hi+7]),Jo=gi-Oa,os=Bi+No,ca=Bi-No,Ga=eo+Co,gl=eo-Co,Da=io+Go,Ri=io-Go,Aa=Ss+Da,ms=Ss-Da,ml=os+Ga,us=os-Ga;di[Hi]=Aa+ml,di[Hi+4]=Aa-ml;var ea=.707106781*(us+ms);di[Hi+2]=ms+ea,di[Hi+6]=ms-ea;var La=.382683433*((Aa=Ri+gl)-(us=ca+Jo)),ds=.5411961*Aa+La,Ya=1.306562965*us+La,Qs=.707106781*(ml=gl+ca),Ms=Jo+Qs,To=Jo-Qs;di[Hi+5]=To+ds,di[Hi+3]=To-ds,di[Hi+1]=Ms+Ya,di[Hi+7]=Ms-Ya,Hi+=8}for(Hi=0,Xo=0;Xo<8;++Xo){gi=di[Hi],Bi=di[Hi+8],eo=di[Hi+16],io=di[Hi+24],Go=di[Hi+32],Co=di[Hi+40],No=di[Hi+48];var il=gi+(Oa=di[Hi+56]),li=gi-Oa,ka=Bi+No,ga=Bi-No,Sa=eo+Co,Yo=eo-Co,_s=io+Go,Es=io-Go,ol=il+_s,Na=il-_s,aa=ka+Sa,fs=ka-Sa;di[Hi]=ol+aa,di[Hi+32]=ol-aa;var Gs=.707106781*(fs+Na);di[Hi+16]=Na+Gs,di[Hi+48]=Na-Gs;var el=.382683433*((ol=Es+Yo)-(fs=ga+li)),Ts=.5411961*ol+el,Rl=1.306562965*fs+el,y=.707106781*(aa=Yo+ga),ye=li+y,oe=li-y;di[Hi+40]=oe+Ts,di[Hi+24]=oe-Ts,di[Hi+8]=ye+Rl,di[Hi+56]=ye-Rl,Hi++}for(Xo=0;Xo<64;++Xo)ya=di[Xo]*ri[Xo],Ge[Xo]=ya>0?ya+.5|0:ya-.5|0;return Ge}(Ot,Ar),wi=0;wi<64;++wi)cr[cn[wi]]=mi[wi];var Ni=cr[0]-Br;Br=cr[0],Ni==0?Rn(Wr[0]):(Rn(Wr[Mt[Nr=32767+Ni]]),Rn(Et[Nr]));for(var Gi=63;Gi>0&&cr[Gi]==0;)Gi--;if(Gi==0)return Rn(gn),Br;for(var lo,_n=1;_n<=Gi;){for(var Cr=_n;cr[_n]==0&&_n<=Gi;)++_n;var Ei=_n-Cr;if(Ei>=16){lo=Ei>>4;for(var vo=1;vo<=lo;++vo)Rn(wn);Ei&=15}Nr=32767+cr[_n],Rn(tn[(Ei<<4)+Mt[Nr]]),Rn(Et[Nr]),_n++}return Gi!=63&&Rn(gn),Br}function Ui(Ot){Ot=Math.min(Math.max(Ot,1),100),ve!=Ot&&(function(Ar){for(var Br=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],Wr=0;Wr<64;Wr++){var tn=Le((Br[Wr]*Ar+50)/100);tn=Math.min(Math.max(tn,1),255),Re[cn[Wr]]=tn}for(var Nr=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],gn=0;gn<64;gn++){var wn=Le((Nr[gn]*Ar+50)/100);wn=Math.min(Math.max(wn,1),255),ke[cn[gn]]=wn}for(var mi=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],wi=0,Ni=0;Ni<8;Ni++)for(var Gi=0;Gi<8;Gi++)it[wi]=1/(Re[cn[wi]]*mi[Ni]*mi[Gi]*8),gt[wi]=1/(ke[cn[wi]]*mi[Ni]*mi[Gi]*8),wi++}(Ot<50?Math.floor(5e3/Ot):Math.floor(200-2*Ot)),ve=Ot)}this.encode=function(Ot,Ar){Ar&&Ui(Ar),er=new Array,mr=0,Kt=7,Un(65496),Un(65504),Un(16),pn(74),pn(70),pn(73),pn(70),pn(0),pn(1),pn(1),pn(0),Un(1),Un(1),pn(0),pn(0),function(){Un(65499),Un(132),pn(0);for(var Bi=0;Bi<64;Bi++)pn(Re[Bi]);pn(1);for(var eo=0;eo<64;eo++)pn(ke[eo])}(),function(Bi,eo){Un(65472),Un(17),pn(8),Un(eo),Un(Bi),pn(3),pn(1),pn(17),pn(0),pn(2),pn(17),pn(1),pn(3),pn(17),pn(1)}(Ot.width,Ot.height),function(){Un(65476),Un(418),pn(0);for(var Bi=0;Bi<16;Bi++)pn(Er[Bi+1]);for(var eo=0;eo<=11;eo++)pn(Gn[eo]);pn(16);for(var io=0;io<16;io++)pn(Vn[io+1]);for(var Go=0;Go<=161;Go++)pn(Xt[Go]);pn(1);for(var Co=0;Co<16;Co++)pn(rr[Co+1]);for(var No=0;No<=11;No++)pn(Ur[No]);pn(17);for(var Oa=0;Oa<16;Oa++)pn(Or[Oa+1]);for(var Xo=0;Xo<=161;Xo++)pn(En[Xo])}(),Un(65498),Un(12),pn(3),pn(1),pn(0),pn(2),pn(17),pn(3),pn(17),pn(0),pn(63),pn(0);var Br=0,Wr=0,tn=0;mr=0,Kt=7,this.encode.displayName="_encode_";for(var Nr,gn,wn,mi,wi,Ni,Gi,lo,_n,Cr=Ot.data,Ei=Ot.width,vo=Ot.height,di=4*Ei,ri=0;ri<vo;){for(Nr=0;Nr<di;){for(wi=di*ri+Nr,Gi=-1,lo=0,_n=0;_n<64;_n++)Ni=wi+(lo=_n>>3)*di+(Gi=4*(7&_n)),ri+lo>=vo&&(Ni-=di*(ri+1+lo-vo)),Nr+Gi>=di&&(Ni-=Nr+Gi-di+4),gn=Cr[Ni++],wn=Cr[Ni++],mi=Cr[Ni++],dr[_n]=($n[gn]+$n[wn+256>>0]+$n[mi+512>>0]>>16)-128,Zr[_n]=($n[gn+768>>0]+$n[wn+1024>>0]+$n[mi+1280>>0]>>16)-128,dn[_n]=($n[gn+1280>>0]+$n[wn+1536>>0]+$n[mi+1792>>0]>>16)-128;Br=kn(dr,it,Br,_,Ae),Wr=kn(Zr,gt,Wr,H,Be),tn=kn(dn,gt,tn,H,Be),Nr+=32}ri+=8}if(Kt>=0){var gi=[];gi[1]=Kt+1,gi[0]=(1<<Kt+1)-1,Rn(gi)}return Un(65497),new Uint8Array(er)},z=z||50,function(){for(var Ot=String.fromCharCode,Ar=0;Ar<256;Ar++)hn[Ar]=Ot(Ar)}(),_=yn(Er,Gn),H=yn(rr,Ur),Ae=yn(Vn,Xt),Be=yn(Or,En),function(){for(var Ot=1,Ar=2,Br=1;Br<=15;Br++){for(var Wr=Ot;Wr<Ar;Wr++)Mt[32767+Wr]=Br,Et[32767+Wr]=[],Et[32767+Wr][1]=Br,Et[32767+Wr][0]=Wr;for(var tn=-(Ar-1);tn<=-Ot;tn++)Mt[32767+tn]=Br,Et[32767+tn]=[],Et[32767+tn][1]=Br,Et[32767+tn][0]=Ar-1+tn;Ot<<=1,Ar<<=1}}(),function(){for(var Ot=0;Ot<256;Ot++)$n[Ot]=19595*Ot,$n[Ot+256>>0]=38470*Ot,$n[Ot+512>>0]=7471*Ot+32768,$n[Ot+768>>0]=-11059*Ot,$n[Ot+1024>>0]=-21709*Ot,$n[Ot+1280>>0]=32768*Ot+8421375,$n[Ot+1536>>0]=-27439*Ot,$n[Ot+1792>>0]=-5329*Ot}(),Ui(z)}/**
 * @license
 * Copyright (c) 2017 Aras Abbasi
 *
 * Licensed under the MIT License.
 * http://opensource.org/licenses/mit-license
 */function pt(z,_){if(this.pos=0,this.buffer=z,this.datav=new DataView(z.buffer),this.is_with_alpha=!!_,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function wt(z){function _(Er){if(!Er)throw Error("assert :P")}function H(Er,Gn,Vn){for(var Xt=0;4>Xt;Xt++)if(Er[Gn+Xt]!=Vn.charCodeAt(Xt))return!0;return!1}function Ae(Er,Gn,Vn,Xt,rr){for(var Ur=0;Ur<rr;Ur++)Er[Gn+Ur]=Vn[Xt+Ur]}function Be(Er,Gn,Vn,Xt){for(var rr=0;rr<Xt;rr++)Er[Gn+rr]=Vn}function ve(Er){return new Int32Array(Er)}function Le(Er,Gn){for(var Vn=[],Xt=0;Xt<Er;Xt++)Vn.push(new Gn);return Vn}function Re(Er,Gn){var Vn=[];return function Xt(rr,Ur,Or){for(var En=Or[Ur],yn=0;yn<En&&(rr.push(Or.length>Ur+1?[]:new Gn),!(Or.length<Ur+1));yn++)Xt(rr[yn],Ur+1,Or)}(Vn,0,Er),Vn}var ke=function(){var Er=this;function Gn(N,de){for(var Ie=1<<de-1>>>0;N&Ie;)Ie>>>=1;return Ie?(N&Ie-1)+Ie:N}function Vn(N,de,Ie,e,r){_(!(e%Ie));do N[de+(e-=Ie)]=r;while(0<e)}function Xt(N,de,Ie,e,r){if(_(2328>=r),512>=r)var o=ve(512);else if((o=ve(r))==null)return 0;return function(G,fe,Pe,a,s,b){var D,Ce,Qe=fe,We=1<<Pe,Ve=ve(16),$e=ve(16);for(_(s!=0),_(a!=null),_(G!=null),_(0<Pe),Ce=0;Ce<s;++Ce){if(15<a[Ce])return 0;++Ve[a[Ce]]}if(Ve[0]==s)return 0;for($e[1]=0,D=1;15>D;++D){if(Ve[D]>1<<D)return 0;$e[D+1]=$e[D]+Ve[D]}for(Ce=0;Ce<s;++Ce)D=a[Ce],0<a[Ce]&&(b[$e[D]++]=Ce);if($e[15]==1)return(a=new rr).g=0,a.value=b[0],Vn(G,Qe,1,We,a),We;var It,ut=-1,lt=We-1,Lt=0,wr=1,Sr=1,$r=1<<Pe;for(Ce=0,D=1,s=2;D<=Pe;++D,s<<=1){if(wr+=Sr<<=1,0>(Sr-=Ve[D]))return 0;for(;0<Ve[D];--Ve[D])(a=new rr).g=D,a.value=b[Ce++],Vn(G,Qe+Lt,s,$r,a),Lt=Gn(Lt,D)}for(D=Pe+1,s=2;15>=D;++D,s<<=1){if(wr+=Sr<<=1,0>(Sr-=Ve[D]))return 0;for(;0<Ve[D];--Ve[D]){if(a=new rr,(Lt&lt)!=ut){for(Qe+=$r,It=1<<(ut=D)-Pe;15>ut&&!(0>=(It-=Ve[ut]));)++ut,It<<=1;We+=$r=1<<(It=ut-Pe),G[fe+(ut=Lt&lt)].g=It+Pe,G[fe+ut].value=Qe-fe-ut}a.g=D-Pe,a.value=b[Ce++],Vn(G,Qe+(Lt>>Pe),s,$r,a),Lt=Gn(Lt,D)}}return wr!=2*$e[15]-1?0:We}(N,de,Ie,e,r,o)}function rr(){this.value=this.g=0}function Ur(){this.value=this.g=0}function Or(){this.G=Le(5,rr),this.H=ve(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=Le(Al,Ur)}function En(N,de,Ie,e){_(N!=null),_(de!=null),_(2147483648>e),N.Ca=254,N.I=0,N.b=-8,N.Ka=0,N.oa=de,N.pa=Ie,N.Jd=de,N.Yc=Ie+e,N.Zc=4<=e?Ie+e-4+1:Ie,Nr(N)}function yn(N,de){for(var Ie=0;0<de--;)Ie|=wn(N,128)<<de;return Ie}function Rn(N,de){var Ie=yn(N,de);return gn(N)?-Ie:Ie}function pn(N,de,Ie,e){var r,o=0;for(_(N!=null),_(de!=null),_(4294967288>e),N.Sb=e,N.Ra=0,N.u=0,N.h=0,4<e&&(e=4),r=0;r<e;++r)o+=de[Ie+r]<<8*r;N.Ra=o,N.bb=e,N.oa=de,N.pa=Ie}function Un(N){for(;8<=N.u&&N.bb<N.Sb;)N.Ra>>>=8,N.Ra+=N.oa[N.pa+N.bb]<<Cu-8>>>0,++N.bb,N.u-=8;Br(N)&&(N.h=1,N.u=0)}function kn(N,de){if(_(0<=de),!N.h&&de<=Mu){var Ie=Ar(N)&pu[de];return N.u+=de,Un(N),Ie}return N.h=1,N.u=0}function Ui(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Ot(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Ar(N){return N.Ra>>>(N.u&Cu-1)>>>0}function Br(N){return _(N.bb<=N.Sb),N.h||N.bb==N.Sb&&N.u>Cu}function Wr(N,de){N.u=de,N.h=Br(N)}function tn(N){N.u>=xu&&(_(N.u>=xu),Un(N))}function Nr(N){_(N!=null&&N.oa!=null),N.pa<N.Zc?(N.I=(N.oa[N.pa++]|N.I<<8)>>>0,N.b+=8):(_(N!=null&&N.oa!=null),N.pa<N.Yc?(N.b+=8,N.I=N.oa[N.pa++]|N.I<<8):N.Ka?N.b=0:(N.I<<=8,N.b+=8,N.Ka=1))}function gn(N){return yn(N,1)}function wn(N,de){var Ie=N.Ca;0>N.b&&Nr(N);var e=N.b,r=Ie*de>>>8,o=(N.I>>>e>r)+0;for(o?(Ie-=r,N.I-=r+1<<e>>>0):Ie=r+1,e=Ie,r=0;256<=e;)r+=8,e>>=8;return e=7^r+dl[e],N.b-=e,N.Ca=(Ie<<e)-1,o}function mi(N,de,Ie){N[de+0]=Ie>>24&255,N[de+1]=Ie>>16&255,N[de+2]=Ie>>8&255,N[de+3]=Ie>>0&255}function wi(N,de){return N[de+0]<<0|N[de+1]<<8}function Ni(N,de){return wi(N,de)|N[de+2]<<16}function Gi(N,de){return wi(N,de)|wi(N,de+2)<<16}function lo(N,de){var Ie=1<<de;return _(N!=null),_(0<de),N.X=ve(Ie),N.X==null?0:(N.Mb=32-de,N.Xa=de,1)}function _n(N,de){_(N!=null),_(de!=null),_(N.Xa==de.Xa),Ae(de.X,0,N.X,0,1<<de.Xa)}function Cr(){this.X=[],this.Xa=this.Mb=0}function Ei(N,de,Ie,e){_(Ie!=null),_(e!=null);var r=Ie[0],o=e[0];return r==0&&(r=(N*o+de/2)/de),o==0&&(o=(de*r+N/2)/N),0>=r||0>=o?0:(Ie[0]=r,e[0]=o,1)}function vo(N,de){return N+(1<<de)-1>>>de}function di(N,de){return((4278255360&N)+(4278255360&de)>>>0&4278255360)+((16711935&N)+(16711935&de)>>>0&16711935)>>>0}function ri(N,de){Er[de]=function(Ie,e,r,o,G,fe,Pe){var a;for(a=0;a<G;++a){var s=Er[N](fe[Pe+a-1],r,o+a);fe[Pe+a]=di(Ie[e+a],s)}}}function gi(){this.ud=this.hd=this.jd=0}function Bi(N,de){return((4278124286&(N^de))>>>1)+(N&de)>>>0}function eo(N){return 0<=N&&256>N?N:0>N?0:255<N?255:void 0}function io(N,de){return eo(N+(N-de+.5>>1))}function Go(N,de,Ie){return Math.abs(de-Ie)-Math.abs(N-Ie)}function Co(N,de,Ie,e,r,o,G){for(e=o[G-1],Ie=0;Ie<r;++Ie)o[G+Ie]=e=di(N[de+Ie],e)}function No(N,de,Ie,e,r){var o;for(o=0;o<Ie;++o){var G=N[de+o],fe=G>>8&255,Pe=16711935&(Pe=(Pe=16711935&G)+((fe<<16)+fe));e[r+o]=(4278255360&G)+Pe>>>0}}function Oa(N,de){de.jd=N>>0&255,de.hd=N>>8&255,de.ud=N>>16&255}function Xo(N,de,Ie,e,r,o){var G;for(G=0;G<e;++G){var fe=de[Ie+G],Pe=fe>>>8,a=fe,s=255&(s=(s=fe>>>16)+((N.jd<<24>>24)*(Pe<<24>>24)>>>5));a=255&(a=(a=a+((N.hd<<24>>24)*(Pe<<24>>24)>>>5))+((N.ud<<24>>24)*(s<<24>>24)>>>5)),r[o+G]=(4278255360&fe)+(s<<16)+a}}function ya(N,de,Ie,e,r){Er[de]=function(o,G,fe,Pe,a,s,b,D,Ce){for(Pe=b;Pe<D;++Pe)for(b=0;b<Ce;++b)a[s++]=r(fe[e(o[G++])])},Er[N]=function(o,G,fe,Pe,a,s,b){var D=8>>o.b,Ce=o.Ea,Qe=o.K[0],We=o.w;if(8>D)for(o=(1<<o.b)-1,We=(1<<D)-1;G<fe;++G){var Ve,$e=0;for(Ve=0;Ve<Ce;++Ve)Ve&o||($e=e(Pe[a++])),s[b++]=r(Qe[$e&We]),$e>>=D}else Er["VP8LMapColor"+Ie](Pe,a,Qe,We,s,b,G,fe,Ce)}}function Hi(N,de,Ie,e,r){for(Ie=de+Ie;de<Ie;){var o=N[de++];e[r++]=o>>16&255,e[r++]=o>>8&255,e[r++]=o>>0&255}}function Ss(N,de,Ie,e,r){for(Ie=de+Ie;de<Ie;){var o=N[de++];e[r++]=o>>16&255,e[r++]=o>>8&255,e[r++]=o>>0&255,e[r++]=o>>24&255}}function Jo(N,de,Ie,e,r){for(Ie=de+Ie;de<Ie;){var o=(G=N[de++])>>16&240|G>>12&15,G=G>>0&240|G>>28&15;e[r++]=o,e[r++]=G}}function os(N,de,Ie,e,r){for(Ie=de+Ie;de<Ie;){var o=(G=N[de++])>>16&248|G>>13&7,G=G>>5&224|G>>3&31;e[r++]=o,e[r++]=G}}function ca(N,de,Ie,e,r){for(Ie=de+Ie;de<Ie;){var o=N[de++];e[r++]=o>>0&255,e[r++]=o>>8&255,e[r++]=o>>16&255}}function Ga(N,de,Ie,e,r,o){if(o==0)for(Ie=de+Ie;de<Ie;)mi(e,((o=N[de++])[0]>>24|o[1]>>8&65280|o[2]<<8&16711680|o[3]<<24)>>>0),r+=32;else Ae(e,r,N,de,Ie)}function gl(N,de){Er[de][0]=Er[N+"0"],Er[de][1]=Er[N+"1"],Er[de][2]=Er[N+"2"],Er[de][3]=Er[N+"3"],Er[de][4]=Er[N+"4"],Er[de][5]=Er[N+"5"],Er[de][6]=Er[N+"6"],Er[de][7]=Er[N+"7"],Er[de][8]=Er[N+"8"],Er[de][9]=Er[N+"9"],Er[de][10]=Er[N+"10"],Er[de][11]=Er[N+"11"],Er[de][12]=Er[N+"12"],Er[de][13]=Er[N+"13"],Er[de][14]=Er[N+"0"],Er[de][15]=Er[N+"0"]}function Da(N){return N==_u||N==oc||N==_l||N==gc}function Ri(){this.eb=[],this.size=this.A=this.fb=0}function Aa(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ms(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Ri,this.f.kb=new Aa,this.sd=null}function ml(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function us(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function ea(N){return alert("todo:WebPSamplerProcessPlane"),N.T}function La(N,de){var Ie=N.T,e=de.ba.f.RGBA,r=e.eb,o=e.fb+N.ka*e.A,G=cu[de.ba.S],fe=N.y,Pe=N.O,a=N.f,s=N.N,b=N.ea,D=N.W,Ce=de.cc,Qe=de.dc,We=de.Mc,Ve=de.Nc,$e=N.ka,It=N.ka+N.T,ut=N.U,lt=ut+1>>1;for($e==0?G(fe,Pe,null,null,a,s,b,D,a,s,b,D,r,o,null,null,ut):(G(de.ec,de.fc,fe,Pe,Ce,Qe,We,Ve,a,s,b,D,r,o-e.A,r,o,ut),++Ie);$e+2<It;$e+=2)Ce=a,Qe=s,We=b,Ve=D,s+=N.Rc,D+=N.Rc,o+=2*e.A,G(fe,(Pe+=2*N.fa)-N.fa,fe,Pe,Ce,Qe,We,Ve,a,s,b,D,r,o-e.A,r,o,ut);return Pe+=N.fa,N.j+It<N.o?(Ae(de.ec,de.fc,fe,Pe,ut),Ae(de.cc,de.dc,a,s,lt),Ae(de.Mc,de.Nc,b,D,lt),Ie--):1&It||G(fe,Pe,null,null,a,s,b,D,a,s,b,D,r,o+e.A,null,null,ut),Ie}function ds(N,de,Ie){var e=N.F,r=[N.J];if(e!=null){var o=N.U,G=de.ba.S,fe=G==Yu||G==_l;de=de.ba.f.RGBA;var Pe=[0],a=N.ka;Pe[0]=N.T,N.Kb&&(a==0?--Pe[0]:(--a,r[0]-=N.width),N.j+N.ka+N.T==N.o&&(Pe[0]=N.o-N.j-a));var s=de.eb;a=de.fb+a*de.A,N=Su(e,r[0],N.width,o,Pe,s,a+(fe?0:3),de.A),_(Ie==Pe),N&&Da(G)&&Ml(s,a,fe,o,Pe,de.A)}return 0}function Ya(N){var de=N.ma,Ie=de.ba.S,e=11>Ie,r=Ie==uu||Ie==Fu||Ie==Yu||Ie==Ul||Ie==12||Da(Ie);if(de.memory=null,de.Ib=null,de.Jb=null,de.Nd=null,!xl(de.Oa,N,r?11:12))return 0;if(r&&Da(Ie)&&ei(),N.da)alert("todo:use_scaling");else{if(e){if(de.Ib=ea,N.Kb){if(Ie=N.U+1>>1,de.memory=ve(N.U+2*Ie),de.memory==null)return 0;de.ec=de.memory,de.fc=0,de.cc=de.ec,de.dc=de.fc+N.U,de.Mc=de.cc,de.Nc=de.dc+Ie,de.Ib=La,ei()}}else alert("todo:EmitYUV");r&&(de.Jb=ds,e&&en())}if(e&&!kc){for(N=0;256>N;++N)ju[N]=89858*(N-128)+Nu>>Eu,yc[N]=-22014*(N-128)+Nu,Uc[N]=-45773*(N-128),Dc[N]=113618*(N-128)+Nu>>Eu;for(N=ec;N<tc;++N)de=76283*(N-16)+Nu>>Eu,Kc[N-ec]=Zs(de,255),wc[N-ec]=Zs(de+8>>4,15);kc=1}return 1}function Qs(N){var de=N.ma,Ie=N.U,e=N.T;return _(!(1&N.ka)),0>=Ie||0>=e?0:(Ie=de.Ib(N,de),de.Jb!=null&&de.Jb(N,de,Ie),de.Dc+=Ie,1)}function Ms(N){N.ma.memory=null}function To(N,de,Ie,e){return kn(N,8)!=47?0:(de[0]=kn(N,14)+1,Ie[0]=kn(N,14)+1,e[0]=kn(N,1),kn(N,3)!=0?0:!N.h)}function il(N,de){if(4>N)return N+1;var Ie=N-2>>1;return(2+(1&N)<<Ie)+kn(de,Ie)+1}function li(N,de){return 120<de?de-120:1<=(Ie=((Ie=Nl[de-1])>>4)*N+(8-(15&Ie)))?Ie:1;var Ie}function ka(N,de,Ie){var e=Ar(Ie),r=N[de+=255&e].g-8;return 0<r&&(Wr(Ie,Ie.u+8),e=Ar(Ie),de+=N[de].value,de+=e&(1<<r)-1),Wr(Ie,Ie.u+N[de].g),N[de].value}function ga(N,de,Ie){return Ie.g+=N.g,Ie.value+=N.value<<de>>>0,_(8>=Ie.g),N.g}function Sa(N,de,Ie){var e=N.xc;return _((de=e==0?0:N.vc[N.md*(Ie>>e)+(de>>e)])<N.Wb),N.Ya[de]}function Yo(N,de,Ie,e){var r=N.ab,o=N.c*de,G=N.C;de=G+de;var fe=Ie,Pe=e;for(e=N.Ta,Ie=N.Ua;0<r--;){var a=N.gc[r],s=G,b=de,D=fe,Ce=Pe,Qe=(Pe=e,fe=Ie,a.Ea);switch(_(s<b),_(b<=a.nc),a.hc){case 2:Lu(D,Ce,(b-s)*Qe,Pe,fe);break;case 0:var We=s,Ve=b,$e=Pe,It=fe,ut=($r=a).Ea;We==0&&(Wu(D,Ce,null,null,1,$e,It),Co(D,Ce+1,0,0,ut-1,$e,It+1),Ce+=ut,It+=ut,++We);for(var lt=1<<$r.b,Lt=lt-1,wr=vo(ut,$r.b),Sr=$r.K,$r=$r.w+(We>>$r.b)*wr;We<Ve;){var Nn=Sr,Hn=$r,Qn=1;for(Tu(D,Ce,$e,It-ut,1,$e,It);Qn<ut;){var ui=(Qn&~Lt)+lt;ui>ut&&(ui=ut),(0,kl[Nn[Hn++]>>8&15])(D,Ce+ +Qn,$e,It+Qn-ut,ui-Qn,$e,It+Qn),Qn=ui}Ce+=ut,It+=ut,++We&Lt||($r+=wr)}b!=a.nc&&Ae(Pe,fe-Qe,Pe,fe+(b-s-1)*Qe,Qe);break;case 1:for(Qe=D,Ve=Ce,ut=(D=a.Ea)-(It=D&~($e=(Ce=1<<a.b)-1)),We=vo(D,a.b),lt=a.K,a=a.w+(s>>a.b)*We;s<b;){for(Lt=lt,wr=a,Sr=new gi,$r=Ve+It,Nn=Ve+D;Ve<$r;)Oa(Lt[wr++],Sr),vl(Sr,Qe,Ve,Ce,Pe,fe),Ve+=Ce,fe+=Ce;Ve<Nn&&(Oa(Lt[wr++],Sr),vl(Sr,Qe,Ve,ut,Pe,fe),Ve+=ut,fe+=ut),++s&$e||(a+=We)}break;case 3:if(D==Pe&&Ce==fe&&0<a.b){for(Ve=Pe,D=Qe=fe+(b-s)*Qe-(It=(b-s)*vo(a.Ea,a.b)),Ce=Pe,$e=fe,We=[],It=(ut=It)-1;0<=It;--It)We[It]=Ce[$e+It];for(It=ut-1;0<=It;--It)Ve[D+It]=We[It];Pl(a,s,b,Pe,Qe,Pe,fe)}else Pl(a,s,b,D,Ce,Pe,fe)}fe=e,Pe=Ie}Pe!=Ie&&Ae(e,Ie,fe,Pe,o)}function _s(N,de){var Ie=N.V,e=N.Ba+N.c*N.C,r=de-N.C;if(_(de<=N.l.o),_(16>=r),0<r){var o=N.l,G=N.Ta,fe=N.Ua,Pe=o.width;if(Yo(N,r,Ie,e),r=fe=[fe],_((Ie=N.C)<(e=de)),_(o.v<o.va),e>o.o&&(e=o.o),Ie<o.j){var a=o.j-Ie;Ie=o.j,r[0]+=a*Pe}if(Ie>=e?Ie=0:(r[0]+=4*o.v,o.ka=Ie-o.j,o.U=o.va-o.v,o.T=e-Ie,Ie=1),Ie){if(fe=fe[0],11>(Ie=N.ca).S){var s=Ie.f.RGBA,b=(e=Ie.S,r=o.U,o=o.T,a=s.eb,s.A),D=o;for(s=s.fb+N.Ma*s.A;0<D--;){var Ce=G,Qe=fe,We=r,Ve=a,$e=s;switch(e){case zu:bl(Ce,Qe,We,Ve,$e);break;case uu:au(Ce,Qe,We,Ve,$e);break;case _u:au(Ce,Qe,We,Ve,$e),Ml(Ve,$e,0,We,1,0);break;case uc:Iu(Ce,Qe,We,Ve,$e);break;case Fu:Ga(Ce,Qe,We,Ve,$e,1);break;case oc:Ga(Ce,Qe,We,Ve,$e,1),Ml(Ve,$e,0,We,1,0);break;case Yu:Ga(Ce,Qe,We,Ve,$e,0);break;case _l:Ga(Ce,Qe,We,Ve,$e,0),Ml(Ve,$e,1,We,1,0);break;case Ul:Ol(Ce,Qe,We,Ve,$e);break;case gc:Ol(Ce,Qe,We,Ve,$e),fo(Ve,$e,We,1,0);break;case Ru:Wl(Ce,Qe,We,Ve,$e);break;default:_(0)}fe+=Pe,s+=b}N.Ma+=o}else alert("todo:EmitRescaledRowsYUVA");_(N.Ma<=Ie.height)}}N.C=de,_(N.C<=N.i)}function Es(N){var de;if(0<N.ua)return 0;for(de=0;de<N.Wb;++de){var Ie=N.Ya[de].G,e=N.Ya[de].H;if(0<Ie[1][e[1]+0].g||0<Ie[2][e[2]+0].g||0<Ie[3][e[3]+0].g)return 0}return 1}function ol(N,de,Ie,e,r,o){if(N.Z!=0){var G=N.qd,fe=N.rd;for(_(Il[N.Z]!=null);de<Ie;++de)Il[N.Z](G,fe,e,r,e,r,o),G=e,fe=r,r+=o;N.qd=G,N.rd=fe}}function Na(N,de){var Ie=N.l.ma,e=Ie.Z==0||Ie.Z==1?N.l.j:N.C;if(e=N.C<e?e:N.C,_(de<=N.l.o),de>e){var r=N.l.width,o=Ie.ca,G=Ie.tb+r*e,fe=N.V,Pe=N.Ba+N.c*e,a=N.gc;_(N.ab==1),_(a[0].hc==3),Vu(a[0],e,de,fe,Pe,o,G),ol(Ie,e,de,o,G,r)}N.C=N.Ma=de}function aa(N,de,Ie,e,r,o,G){var fe=N.$/e,Pe=N.$%e,a=N.m,s=N.s,b=Ie+N.$,D=b;r=Ie+e*r;var Ce=Ie+e*o,Qe=280+s.ua,We=N.Pb?fe:16777216,Ve=0<s.ua?s.Wa:null,$e=s.wc,It=b<Ce?Sa(s,Pe,fe):null;_(N.C<o),_(Ce<=r);var ut=!1;e:for(;;){for(;ut||b<Ce;){var lt=0;if(fe>=We){var Lt=b-Ie;_((We=N).Pb),We.wd=We.m,We.xd=Lt,0<We.s.ua&&_n(We.s.Wa,We.s.vb),We=fe+Za}if(Pe&$e||(It=Sa(s,Pe,fe)),_(It!=null),It.Qb&&(de[b]=It.qb,ut=!0),!ut)if(tn(a),It.jc){lt=a,Lt=de;var wr=b,Sr=It.pd[Ar(lt)&Al-1];_(It.jc),256>Sr.g?(Wr(lt,lt.u+Sr.g),Lt[wr]=Sr.value,lt=0):(Wr(lt,lt.u+Sr.g-256),_(256<=Sr.value),lt=Sr.value),lt==0&&(ut=!0)}else lt=ka(It.G[0],It.H[0],a);if(a.h)break;if(ut||256>lt){if(!ut)if(It.nd)de[b]=(It.qb|lt<<8)>>>0;else{if(tn(a),ut=ka(It.G[1],It.H[1],a),tn(a),Lt=ka(It.G[2],It.H[2],a),wr=ka(It.G[3],It.H[3],a),a.h)break;de[b]=(wr<<24|ut<<16|lt<<8|Lt)>>>0}if(ut=!1,++b,++Pe>=e&&(Pe=0,++fe,G!=null&&fe<=o&&!(fe%16)&&G(N,fe),Ve!=null))for(;D<b;)lt=de[D++],Ve.X[(506832829*lt&4294967295)>>>Ve.Mb]=lt}else if(280>lt){if(lt=il(lt-256,a),Lt=ka(It.G[4],It.H[4],a),tn(a),Lt=li(e,Lt=il(Lt,a)),a.h)break;if(b-Ie<Lt||r-b<lt)break e;for(wr=0;wr<lt;++wr)de[b+wr]=de[b+wr-Lt];for(b+=lt,Pe+=lt;Pe>=e;)Pe-=e,++fe,G!=null&&fe<=o&&!(fe%16)&&G(N,fe);if(_(b<=r),Pe&$e&&(It=Sa(s,Pe,fe)),Ve!=null)for(;D<b;)lt=de[D++],Ve.X[(506832829*lt&4294967295)>>>Ve.Mb]=lt}else{if(!(lt<Qe))break e;for(ut=lt-280,_(Ve!=null);D<b;)lt=de[D++],Ve.X[(506832829*lt&4294967295)>>>Ve.Mb]=lt;lt=b,_(!(ut>>>(Lt=Ve).Xa)),de[lt]=Lt.X[ut],ut=!0}ut||_(a.h==Br(a))}if(N.Pb&&a.h&&b<r)_(N.m.h),N.a=5,N.m=N.wd,N.$=N.xd,0<N.s.ua&&_n(N.s.vb,N.s.Wa);else{if(a.h)break e;G!=null&&G(N,fe>o?o:fe),N.a=0,N.$=b-Ie}return 1}return N.a=3,0}function fs(N){_(N!=null),N.vc=null,N.yc=null,N.Ya=null;var de=N.Wa;de!=null&&(de.X=null),N.vb=null,_(N!=null)}function Gs(){var N=new js;return N==null?null:(N.a=0,N.xb=Ac,gl("Predictor","VP8LPredictors"),gl("Predictor","VP8LPredictors_C"),gl("PredictorAdd","VP8LPredictorsAdd"),gl("PredictorAdd","VP8LPredictorsAdd_C"),Lu=No,vl=Xo,bl=Hi,au=Ss,Ol=Jo,Wl=os,Iu=ca,Er.VP8LMapColor32b=bu,Er.VP8LMapColor8b=Bu,N)}function el(N,de,Ie,e,r){var o=1,G=[N],fe=[de],Pe=e.m,a=e.s,s=null,b=0;e:for(;;){if(Ie)for(;o&&kn(Pe,1);){var D=G,Ce=fe,Qe=e,We=1,Ve=Qe.m,$e=Qe.gc[Qe.ab],It=kn(Ve,2);if(Qe.Oc&1<<It)o=0;else{switch(Qe.Oc|=1<<It,$e.hc=It,$e.Ea=D[0],$e.nc=Ce[0],$e.K=[null],++Qe.ab,_(4>=Qe.ab),It){case 0:case 1:$e.b=kn(Ve,3)+2,We=el(vo($e.Ea,$e.b),vo($e.nc,$e.b),0,Qe,$e.K),$e.K=$e.K[0];break;case 3:var ut,lt=kn(Ve,8)+1,Lt=16<lt?0:4<lt?1:2<lt?2:3;if(D[0]=vo($e.Ea,Lt),$e.b=Lt,ut=We=el(lt,1,0,Qe,$e.K)){var wr,Sr=lt,$r=$e,Nn=1<<(8>>$r.b),Hn=ve(Nn);if(Hn==null)ut=0;else{var Qn=$r.K[0],ui=$r.w;for(Hn[0]=$r.K[0][0],wr=1;wr<1*Sr;++wr)Hn[wr]=di(Qn[ui+wr],Hn[wr-1]);for(;wr<4*Nn;++wr)Hn[wr]=0;$r.K[0]=null,$r.K[0]=Hn,ut=1}}We=ut;break;case 2:break;default:_(0)}o=We}}if(G=G[0],fe=fe[0],o&&kn(Pe,1)&&!(o=1<=(b=kn(Pe,4))&&11>=b)){e.a=3;break e}var po;if(po=o)t:{var Ao,ii,na,ma=e,Fo=G,rs=fe,Ea=b,Ws=Ie,Fa=ma.m,Xa=ma.s,Js=[null],ws=1,zs=0,Gl=Oc[Ea];r:for(;;){if(Ws&&kn(Fa,1)){var Os=kn(Fa,3)+2,Yl=vo(Fo,Os),yu=vo(rs,Os),Pu=Yl*yu;if(!el(Yl,yu,0,ma,Js))break r;for(Js=Js[0],Xa.xc=Os,Ao=0;Ao<Pu;++Ao){var $l=Js[Ao]>>8&65535;Js[Ao]=$l,$l>=ws&&(ws=$l+1)}}if(Fa.h)break r;for(ii=0;5>ii;++ii){var Cs=ho[ii];!ii&&0<Ea&&(Cs+=1<<Ea),zs<Cs&&(zs=Cs)}var Hu=Le(ws*Gl,rr),dc=ws,bc=Le(dc,Or);if(bc==null)var qc=null;else _(65536>=dc),qc=bc;var Vc=ve(zs);if(qc==null||Vc==null||Hu==null){ma.a=1;break r}var eA=Hu;for(Ao=na=0;Ao<ws;++Ao){var rc=qc[Ao],jc=rc.G,Hc=rc.H,vA=0,tA=1,yA=0;for(ii=0;5>ii;++ii){Cs=ho[ii],jc[ii]=eA,Hc[ii]=na,!ii&&0<Ea&&(Cs+=1<<Ea);i:{var rA,uA=Cs,nA=ma,Gc=Vc,MA=eA,TA=na,cA=0,Bc=nA.m,LA=kn(Bc,1);if(Be(Gc,0,0,uA),LA){var IA=kn(Bc,1)+1,FA=kn(Bc,1),wA=kn(Bc,FA==0?1:8);Gc[wA]=1,IA==2&&(Gc[wA=kn(Bc,8)]=1);var iA=1}else{var CA=ve(19),xA=kn(Bc,4)+4;if(19<xA){nA.a=3;var oA=0;break i}for(rA=0;rA<xA;++rA)CA[cc[rA]]=kn(Bc,3);var AA=void 0,Yc=void 0,bA=nA,RA=CA,aA=uA,BA=Gc,dA=0,Sc=bA.m,SA=8,_A=Le(128,rr);n:for(;Xt(_A,0,7,RA,19);){if(kn(Sc,1)){var kA=2+2*kn(Sc,3);if((AA=2+kn(Sc,kA))>aA)break n}else AA=aA;for(Yc=0;Yc<aA&&AA--;){tn(Sc);var EA=_A[0+(127&Ar(Sc))];Wr(Sc,Sc.u+EA.g);var Zc=EA.value;if(16>Zc)BA[Yc++]=Zc,Zc!=0&&(SA=Zc);else{var UA=Zc==16,PA=Zc-16,NA=Pc[PA],OA=kn(Sc,Ku[PA])+NA;if(Yc+OA>aA)break n;for(var QA=UA?SA:0;0<OA--;)BA[Yc++]=QA}}dA=1;break n}dA||(bA.a=3),iA=dA}(iA=iA&&!Bc.h)&&(cA=Xt(MA,TA,8,Gc,uA)),iA&&cA!=0?oA=cA:(nA.a=3,oA=0)}if(oA==0)break r;if(tA&&$u[ii]==1&&(tA=eA[na].g==0),vA+=eA[na].g,na+=oA,3>=ii){var $c,fA=Vc[0];for($c=1;$c<Cs;++$c)Vc[$c]>fA&&(fA=Vc[$c]);yA+=fA}}if(rc.nd=tA,rc.Qb=0,tA&&(rc.qb=(jc[3][Hc[3]+0].value<<24|jc[1][Hc[1]+0].value<<16|jc[2][Hc[2]+0].value)>>>0,vA==0&&256>jc[0][Hc[0]+0].value&&(rc.Qb=1,rc.qb+=jc[0][Hc[0]+0].value<<8)),rc.jc=!rc.Qb&&6>yA,rc.jc){var sA,fc=rc;for(sA=0;sA<Al;++sA){var _c=sA,Ec=fc.pd[_c],lA=fc.G[0][fc.H[0]+_c];256<=lA.value?(Ec.g=lA.g+256,Ec.value=lA.value):(Ec.g=0,Ec.value=0,_c>>=ga(lA,8,Ec),_c>>=ga(fc.G[1][fc.H[1]+_c],16,Ec),_c>>=ga(fc.G[2][fc.H[2]+_c],0,Ec),ga(fc.G[3][fc.H[3]+_c],24,Ec))}}}Xa.vc=Js,Xa.Wb=ws,Xa.Ya=qc,Xa.yc=Hu,po=1;break t}po=0}if(!(o=po)){e.a=3;break e}if(0<b){if(a.ua=1<<b,!lo(a.Wa,b)){e.a=1,o=0;break e}}else a.ua=0;var hA=e,DA=G,jA=fe,pA=hA.s,gA=pA.xc;if(hA.c=DA,hA.i=jA,pA.md=vo(DA,gA),pA.wc=gA==0?-1:(1<<gA)-1,Ie){e.xb=Lc;break e}if((s=ve(G*fe))==null){e.a=1,o=0;break e}o=(o=aa(e,s,0,G,fe,fe,null))&&!Pe.h;break e}return o?(r!=null?r[0]=s:(_(s==null),_(Ie)),e.$=0,Ie||fs(a)):fs(a),o}function Ts(N,de){var Ie=N.c*N.i,e=Ie+de+16*de;return _(N.c<=de),N.V=ve(e),N.V==null?(N.Ta=null,N.Ua=0,N.a=1,0):(N.Ta=N.V,N.Ua=N.Ba+Ie+de,1)}function Rl(N,de){var Ie=N.C,e=de-Ie,r=N.V,o=N.Ba+N.c*Ie;for(_(de<=N.l.o);0<e;){var G=16<e?16:e,fe=N.l.ma,Pe=N.l.width,a=Pe*G,s=fe.ca,b=fe.tb+Pe*Ie,D=N.Ta,Ce=N.Ua;Yo(N,G,r,o),Gu(D,Ce,s,b,a),ol(fe,Ie,Ie+G,s,b,Pe),e-=G,r+=G*N.c,Ie+=G}_(Ie==de),N.C=N.Ma=de}function y(){this.ub=this.yd=this.td=this.Rb=0}function ye(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function oe(){this.Fb=this.Bb=this.Cb=0,this.Zb=ve(4),this.Lb=ve(4)}function ne(){this.Yb=function(){var N=[];return function de(Ie,e,r){for(var o=r[e],G=0;G<o&&(Ie.push(r.length>e+1?[]:0),!(r.length<e+1));G++)de(Ie[G],e+1,r)}(N,0,[3,11]),N}()}function He(){this.jb=ve(3),this.Wc=Re([4,8],ne),this.Xc=Re([4,17],ne)}function nt(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new ve(4),this.od=new ve(4)}function bt(){this.ld=this.La=this.dd=this.tc=0}function vt(){this.Na=this.la=0}function jr(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Ht(){this.ad=ve(384),this.Za=0,this.Ob=ve(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function hr(){this.uc=this.M=this.Nb=0,this.wa=Array(new bt),this.Y=0,this.ya=Array(new Ht),this.aa=0,this.l=new an}function Tn(){this.y=ve(16),this.f=ve(8),this.ea=ve(8)}function Sn(){this.cb=this.a=0,this.sc="",this.m=new Ui,this.Od=new y,this.Kc=new ye,this.ed=new nt,this.Qa=new oe,this.Ic=this.$c=this.Aa=0,this.D=new hr,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=Le(8,Ui),this.ia=0,this.pb=Le(4,jr),this.Pa=new He,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Tn),this.Hd=0,this.rb=Array(new vt),this.sb=0,this.wa=Array(new bt),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new Ht),this.L=this.aa=0,this.gd=Re([4,2],bt),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function an(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function ni(){var N=new Sn;return N!=null&&(N.a=0,N.sc="OK",N.cb=0,N.Xb=0,ku||(ku=$t)),N}function Li(N,de,Ie){return N.a==0&&(N.a=de,N.sc=Ie,N.cb=0),0}function tt(N,de,Ie){return 3<=Ie&&N[de+0]==157&&N[de+1]==1&&N[de+2]==42}function at(N,de){if(N==null)return 0;if(N.a=0,N.sc="OK",de==null)return Li(N,2,"null VP8Io passed to VP8GetHeaders()");var Ie=de.data,e=de.w,r=de.ha;if(4>r)return Li(N,7,"Truncated header.");var o=Ie[e+0]|Ie[e+1]<<8|Ie[e+2]<<16,G=N.Od;if(G.Rb=!(1&o),G.td=o>>1&7,G.yd=o>>4&1,G.ub=o>>5,3<G.td)return Li(N,3,"Incorrect keyframe parameters.");if(!G.yd)return Li(N,4,"Frame not displayable.");e+=3,r-=3;var fe=N.Kc;if(G.Rb){if(7>r)return Li(N,7,"cannot parse picture header");if(!tt(Ie,e,r))return Li(N,3,"Bad code word");fe.c=16383&(Ie[e+4]<<8|Ie[e+3]),fe.Td=Ie[e+4]>>6,fe.i=16383&(Ie[e+6]<<8|Ie[e+5]),fe.Ud=Ie[e+6]>>6,e+=7,r-=7,N.za=fe.c+15>>4,N.Ub=fe.i+15>>4,de.width=fe.c,de.height=fe.i,de.Da=0,de.j=0,de.v=0,de.va=de.width,de.o=de.height,de.da=0,de.ib=de.width,de.hb=de.height,de.U=de.width,de.T=de.height,Be((o=N.Pa).jb,0,255,o.jb.length),_((o=N.Qa)!=null),o.Cb=0,o.Bb=0,o.Fb=1,Be(o.Zb,0,0,o.Zb.length),Be(o.Lb,0,0,o.Lb)}if(G.ub>r)return Li(N,7,"bad partition length");En(o=N.m,Ie,e,G.ub),e+=G.ub,r-=G.ub,G.Rb&&(fe.Ld=gn(o),fe.Kd=gn(o)),fe=N.Qa;var Pe,a=N.Pa;if(_(o!=null),_(fe!=null),fe.Cb=gn(o),fe.Cb){if(fe.Bb=gn(o),gn(o)){for(fe.Fb=gn(o),Pe=0;4>Pe;++Pe)fe.Zb[Pe]=gn(o)?Rn(o,7):0;for(Pe=0;4>Pe;++Pe)fe.Lb[Pe]=gn(o)?Rn(o,6):0}if(fe.Bb)for(Pe=0;3>Pe;++Pe)a.jb[Pe]=gn(o)?yn(o,8):255}else fe.Bb=0;if(o.Ka)return Li(N,3,"cannot parse segment header");if((fe=N.ed).zd=gn(o),fe.Tb=yn(o,6),fe.wb=yn(o,3),fe.Pc=gn(o),fe.Pc&&gn(o)){for(a=0;4>a;++a)gn(o)&&(fe.vd[a]=Rn(o,6));for(a=0;4>a;++a)gn(o)&&(fe.od[a]=Rn(o,6))}if(N.L=fe.Tb==0?0:fe.zd?1:2,o.Ka)return Li(N,3,"cannot parse filter header");var s=r;if(r=Pe=e,e=Pe+s,fe=s,N.Xb=(1<<yn(N.m,2))-1,s<3*(a=N.Xb))Ie=7;else{for(Pe+=3*a,fe-=3*a,s=0;s<a;++s){var b=Ie[r+0]|Ie[r+1]<<8|Ie[r+2]<<16;b>fe&&(b=fe),En(N.Jc[+s],Ie,Pe,b),Pe+=b,fe-=b,r+=3}En(N.Jc[+a],Ie,Pe,fe),Ie=Pe<e?0:5}if(Ie!=0)return Li(N,Ie,"cannot parse partitions");for(Ie=yn(Pe=N.m,7),r=gn(Pe)?Rn(Pe,4):0,e=gn(Pe)?Rn(Pe,4):0,fe=gn(Pe)?Rn(Pe,4):0,a=gn(Pe)?Rn(Pe,4):0,Pe=gn(Pe)?Rn(Pe,4):0,s=N.Qa,b=0;4>b;++b){if(s.Cb){var D=s.Zb[b];s.Fb||(D+=Ie)}else{if(0<b){N.pb[b]=N.pb[0];continue}D=Ie}var Ce=N.pb[b];Ce.Sc[0]=gs[Zs(D+r,127)],Ce.Sc[1]=Xu[Zs(D+0,127)],Ce.Eb[0]=2*gs[Zs(D+e,127)],Ce.Eb[1]=101581*Xu[Zs(D+fe,127)]>>16,8>Ce.Eb[1]&&(Ce.Eb[1]=8),Ce.Qc[0]=gs[Zs(D+a,117)],Ce.Qc[1]=Xu[Zs(D+Pe,127)],Ce.lc=D+Pe}if(!G.Rb)return Li(N,4,"Not a key frame.");for(gn(o),G=N.Pa,Ie=0;4>Ie;++Ie){for(r=0;8>r;++r)for(e=0;3>e;++e)for(fe=0;11>fe;++fe)a=wn(o,Tc[Ie][r][e][fe])?yn(o,8):Mc[Ie][r][e][fe],G.Wc[Ie][r].Yb[e][fe]=a;for(r=0;17>r;++r)G.Xc[Ie][r]=G.Wc[Ie][zc[r]]}return N.kc=gn(o),N.kc&&(N.Bd=yn(o,8)),N.cb=1}function $t(N,de,Ie,e,r,o,G){var fe=de[r].Yb[Ie];for(Ie=0;16>r;++r){if(!wn(N,fe[Ie+0]))return r;for(;!wn(N,fe[Ie+1]);)if(fe=de[++r].Yb[0],Ie=0,r==16)return 16;var Pe=de[r+1].Yb;if(wn(N,fe[Ie+2])){var a=N,s=0;if(wn(a,(D=fe)[(b=Ie)+3]))if(wn(a,D[b+6])){for(fe=0,b=2*(s=wn(a,D[b+8]))+(D=wn(a,D[b+9+s])),s=0,D=mc[b];D[fe];++fe)s+=s+wn(a,D[fe]);s+=3+(8<<b)}else wn(a,D[b+7])?(s=7+2*wn(a,165),s+=wn(a,145)):s=5+wn(a,159);else s=wn(a,D[b+4])?3+wn(a,D[b+5]):2;fe=Pe[2]}else s=1,fe=Pe[1];Pe=G+Wc[r],0>(a=N).b&&Nr(a);var b,D=a.b,Ce=(b=a.Ca>>1)-(a.I>>D)>>31;--a.b,a.Ca+=Ce,a.Ca|=1,a.I-=(b+1&Ce)<<D,o[Pe]=((s^Ce)-Ce)*e[(0<r)+0]}return 16}function Fr(N){var de=N.rb[N.sb-1];de.la=0,de.Na=0,Be(N.zc,0,0,N.zc.length),N.ja=0}function Xr(N,de){if(N==null)return 0;if(de==null)return Li(N,2,"NULL VP8Io parameter in VP8Decode().");if(!N.cb&&!at(N,de))return 0;if(_(N.cb),de.ac==null||de.ac(de)){de.ob&&(N.L=0);var Ie=Cc[N.L];if(N.L==2?(N.yb=0,N.zb=0):(N.yb=de.v-Ie>>4,N.zb=de.j-Ie>>4,0>N.yb&&(N.yb=0),0>N.zb&&(N.zb=0)),N.Va=de.o+15+Ie>>4,N.Hb=de.va+15+Ie>>4,N.Hb>N.za&&(N.Hb=N.za),N.Va>N.Ub&&(N.Va=N.Ub),0<N.L){var e=N.ed;for(Ie=0;4>Ie;++Ie){var r;if(N.Qa.Cb){var o=N.Qa.Lb[Ie];N.Qa.Fb||(o+=e.Tb)}else o=e.Tb;for(r=0;1>=r;++r){var G=N.gd[Ie][r],fe=o;if(e.Pc&&(fe+=e.vd[0],r&&(fe+=e.od[0])),0<(fe=0>fe?0:63<fe?63:fe)){var Pe=fe;0<e.wb&&(Pe=4<e.wb?Pe>>2:Pe>>1)>9-e.wb&&(Pe=9-e.wb),1>Pe&&(Pe=1),G.dd=Pe,G.tc=2*fe+Pe,G.ld=40<=fe?2:15<=fe?1:0}else G.tc=0;G.La=r}}}Ie=0}else Li(N,6,"Frame setup failed"),Ie=N.a;if(Ie=Ie==0){if(Ie){N.$c=0,0<N.Aa||(N.Ic=Nc);e:{Ie=N.Ic,e=4*(Pe=N.za);var a=32*Pe,s=Pe+1,b=0<N.L?Pe*(0<N.Aa?2:1):0,D=(N.Aa==2?2:1)*Pe;if((G=e+832+(r=3*(16*Ie+Cc[N.L])/2*a)+(o=N.Fa!=null&&0<N.Fa.length?N.Kc.c*N.Kc.i:0))!=G)Ie=0;else{if(G>N.Vb){if(N.Vb=0,N.Ec=ve(G),N.Fc=0,N.Ec==null){Ie=Li(N,1,"no memory during frame initialization.");break e}N.Vb=G}G=N.Ec,fe=N.Fc,N.Ac=G,N.Bc=fe,fe+=e,N.Gd=Le(a,Tn),N.Hd=0,N.rb=Le(s+1,vt),N.sb=1,N.wa=b?Le(b,bt):null,N.Y=0,N.D.Nb=0,N.D.wa=N.wa,N.D.Y=N.Y,0<N.Aa&&(N.D.Y+=Pe),_(!0),N.oc=G,N.pc=fe,fe+=832,N.ya=Le(D,Ht),N.aa=0,N.D.ya=N.ya,N.D.aa=N.aa,N.Aa==2&&(N.D.aa+=Pe),N.R=16*Pe,N.B=8*Pe,Pe=(a=Cc[N.L])*N.R,a=a/2*N.B,N.sa=G,N.ta=fe+Pe,N.qa=N.sa,N.ra=N.ta+16*Ie*N.R+a,N.Ha=N.qa,N.Ia=N.ra+8*Ie*N.B+a,N.$c=0,fe+=r,N.mb=o?G:null,N.nb=o?fe:null,_(fe+o<=N.Fc+N.Vb),Fr(N),Be(N.Ac,N.Bc,0,e),Ie=1}}if(Ie){if(de.ka=0,de.y=N.sa,de.O=N.ta,de.f=N.qa,de.N=N.ra,de.ea=N.Ha,de.Vd=N.Ia,de.fa=N.R,de.Rc=N.B,de.F=null,de.J=0,!pc){for(Ie=-255;255>=Ie;++Ie)Kl[255+Ie]=0>Ie?-Ie:Ie;for(Ie=-1020;1020>=Ie;++Ie)Vl[1020+Ie]=-128>Ie?-128:127<Ie?127:Ie;for(Ie=-112;112>=Ie;++Ie)nc[112+Ie]=-16>Ie?-16:15<Ie?15:Ie;for(Ie=-255;510>=Ie;++Ie)ic[255+Ie]=0>Ie?0:255<Ie?255:Ie;pc=1}zl=Qo,Bl=ci,oo=Pn,za=vi,Qa=wa,gu=ai,$a=Ra,Xs=ro,Dl=Bn,ja=Wo,su=_a,tl=Ma,Sl=ba,Ua=ss,Ha=go,ps=qi,Ps=ji,yl=ra,mu[0]=xt,mu[1]=Xn,mu[2]=Ze,mu[3]=Xe,mu[4]=xr,mu[5]=Ai,mu[6]=sn,mu[7]=Zi,mu[8]=Lo,mu[9]=$i,Ll[0]=So,Ll[1]=Qi,Ll[2]=Bo,Ll[3]=Oo,Ll[4]=$o,Ll[5]=Yi,Ll[6]=k,vu[0]=fa,vu[1]=Vi,vu[2]=Zo,vu[3]=da,vu[4]=Va,vu[5]=as,vu[6]=ha,Ie=1}else Ie=0}Ie&&(Ie=function(Ce,Qe){for(Ce.M=0;Ce.M<Ce.Va;++Ce.M){var We,Ve=Ce.Jc[Ce.M&Ce.Xb],$e=Ce.m,It=Ce;for(We=0;We<It.za;++We){var ut=$e,lt=It,Lt=lt.Ac,wr=lt.Bc+4*We,Sr=lt.zc,$r=lt.ya[lt.aa+We];if(lt.Qa.Bb?$r.$b=wn(ut,lt.Pa.jb[0])?2+wn(ut,lt.Pa.jb[2]):wn(ut,lt.Pa.jb[1]):$r.$b=0,lt.kc&&($r.Ad=wn(ut,lt.Bd)),$r.Za=!wn(ut,145)+0,$r.Za){var Nn=$r.Ob,Hn=0;for(lt=0;4>lt;++lt){var Qn,ui=Sr[0+lt];for(Qn=0;4>Qn;++Qn){ui=Ju[Lt[wr+Qn]][ui];for(var po=ac[wn(ut,ui[0])];0<po;)po=ac[2*po+wn(ut,ui[po])];ui=-po,Lt[wr+Qn]=ui}Ae(Nn,Hn,Lt,wr,4),Hn+=4,Sr[0+lt]=ui}}else ui=wn(ut,156)?wn(ut,128)?1:3:wn(ut,163)?2:0,$r.Ob[0]=ui,Be(Lt,wr,ui,4),Be(Sr,0,ui,4);$r.Dd=wn(ut,142)?wn(ut,114)?wn(ut,183)?1:3:2:0}if(It.m.Ka)return Li(Ce,7,"Premature end-of-partition0 encountered.");for(;Ce.ja<Ce.za;++Ce.ja){if(It=Ve,ut=($e=Ce).rb[$e.sb-1],Lt=$e.rb[$e.sb+$e.ja],We=$e.ya[$e.aa+$e.ja],wr=$e.kc?We.Ad:0)ut.la=Lt.la=0,We.Za||(ut.Na=Lt.Na=0),We.Hc=0,We.Gc=0,We.ia=0;else{var Ao,ii;if(ut=Lt,Lt=It,wr=$e.Pa.Xc,Sr=$e.ya[$e.aa+$e.ja],$r=$e.pb[Sr.$b],lt=Sr.ad,Nn=0,Hn=$e.rb[$e.sb-1],ui=Qn=0,Be(lt,Nn,0,384),Sr.Za)var na=0,ma=wr[3];else{po=ve(16);var Fo=ut.Na+Hn.Na;if(Fo=ku(Lt,wr[1],Fo,$r.Eb,0,po,0),ut.Na=Hn.Na=(0<Fo)+0,1<Fo)zl(po,0,lt,Nn);else{var rs=po[0]+3>>3;for(po=0;256>po;po+=16)lt[Nn+po]=rs}na=1,ma=wr[0]}var Ea=15&ut.la,Ws=15&Hn.la;for(po=0;4>po;++po){var Fa=1&Ws;for(rs=ii=0;4>rs;++rs)Ea=Ea>>1|(Fa=(Fo=ku(Lt,ma,Fo=Fa+(1&Ea),$r.Sc,na,lt,Nn))>na)<<7,ii=ii<<2|(3<Fo?3:1<Fo?2:lt[Nn+0]!=0),Nn+=16;Ea>>=4,Ws=Ws>>1|Fa<<7,Qn=(Qn<<8|ii)>>>0}for(ma=Ea,na=Ws>>4,Ao=0;4>Ao;Ao+=2){for(ii=0,Ea=ut.la>>4+Ao,Ws=Hn.la>>4+Ao,po=0;2>po;++po){for(Fa=1&Ws,rs=0;2>rs;++rs)Fo=Fa+(1&Ea),Ea=Ea>>1|(Fa=0<(Fo=ku(Lt,wr[2],Fo,$r.Qc,0,lt,Nn)))<<3,ii=ii<<2|(3<Fo?3:1<Fo?2:lt[Nn+0]!=0),Nn+=16;Ea>>=2,Ws=Ws>>1|Fa<<5}ui|=ii<<4*Ao,ma|=Ea<<4<<Ao,na|=(240&Ws)<<Ao}ut.la=ma,Hn.la=na,Sr.Hc=Qn,Sr.Gc=ui,Sr.ia=43690&ui?0:$r.ia,wr=!(Qn|ui)}if(0<$e.L&&($e.wa[$e.Y+$e.ja]=$e.gd[We.$b][We.Za],$e.wa[$e.Y+$e.ja].La|=!wr),It.Ka)return Li(Ce,7,"Premature end-of-file encountered.")}if(Fr(Ce),$e=Qe,It=1,We=(Ve=Ce).D,ut=0<Ve.L&&Ve.M>=Ve.zb&&Ve.M<=Ve.Va,Ve.Aa==0)e:{if(We.M=Ve.M,We.uc=ut,Du(Ve,We),It=1,We=(ii=Ve.D).Nb,ut=(ui=Cc[Ve.L])*Ve.R,Lt=ui/2*Ve.B,po=16*We*Ve.R,rs=8*We*Ve.B,wr=Ve.sa,Sr=Ve.ta-ut+po,$r=Ve.qa,lt=Ve.ra-Lt+rs,Nn=Ve.Ha,Hn=Ve.Ia-Lt+rs,Ws=(Ea=ii.M)==0,Qn=Ea>=Ve.Va-1,Ve.Aa==2&&Du(Ve,ii),ii.uc)for(Fa=(Fo=Ve).D.M,_(Fo.D.uc),ii=Fo.yb;ii<Fo.Hb;++ii){na=ii,ma=Fa;var Xa=(Js=(Cs=Fo).D).Nb;Ao=Cs.R;var Js=Js.wa[Js.Y+na],ws=Cs.sa,zs=Cs.ta+16*Xa*Ao+16*na,Gl=Js.dd,Os=Js.tc;if(Os!=0)if(_(3<=Os),Cs.L==1)0<na&&ps(ws,zs,Ao,Os+4),Js.La&&yl(ws,zs,Ao,Os),0<ma&&Ha(ws,zs,Ao,Os+4),Js.La&&Ps(ws,zs,Ao,Os);else{var Yl=Cs.B,yu=Cs.qa,Pu=Cs.ra+8*Xa*Yl+8*na,$l=Cs.Ha,Cs=Cs.Ia+8*Xa*Yl+8*na;Xa=Js.ld,0<na&&(Xs(ws,zs,Ao,Os+4,Gl,Xa),ja(yu,Pu,$l,Cs,Yl,Os+4,Gl,Xa)),Js.La&&(tl(ws,zs,Ao,Os,Gl,Xa),Ua(yu,Pu,$l,Cs,Yl,Os,Gl,Xa)),0<ma&&($a(ws,zs,Ao,Os+4,Gl,Xa),Dl(yu,Pu,$l,Cs,Yl,Os+4,Gl,Xa)),Js.La&&(su(ws,zs,Ao,Os,Gl,Xa),Sl(yu,Pu,$l,Cs,Yl,Os,Gl,Xa))}}if(Ve.ia&&alert("todo:DitherRow"),$e.put!=null){if(ii=16*Ea,Ea=16*(Ea+1),Ws?($e.y=Ve.sa,$e.O=Ve.ta+po,$e.f=Ve.qa,$e.N=Ve.ra+rs,$e.ea=Ve.Ha,$e.W=Ve.Ia+rs):(ii-=ui,$e.y=wr,$e.O=Sr,$e.f=$r,$e.N=lt,$e.ea=Nn,$e.W=Hn),Qn||(Ea-=ui),Ea>$e.o&&(Ea=$e.o),$e.F=null,$e.J=null,Ve.Fa!=null&&0<Ve.Fa.length&&ii<Ea&&($e.J=sl(Ve,$e,ii,Ea-ii),$e.F=Ve.mb,$e.F==null&&$e.F.length==0)){It=Li(Ve,3,"Could not decode alpha data.");break e}ii<$e.j&&(ui=$e.j-ii,ii=$e.j,_(!(1&ui)),$e.O+=Ve.R*ui,$e.N+=Ve.B*(ui>>1),$e.W+=Ve.B*(ui>>1),$e.F!=null&&($e.J+=$e.width*ui)),ii<Ea&&($e.O+=$e.v,$e.N+=$e.v>>1,$e.W+=$e.v>>1,$e.F!=null&&($e.J+=$e.v),$e.ka=ii-$e.j,$e.U=$e.va-$e.v,$e.T=Ea-ii,It=$e.put($e))}We+1!=Ve.Ic||Qn||(Ae(Ve.sa,Ve.ta-ut,wr,Sr+16*Ve.R,ut),Ae(Ve.qa,Ve.ra-Lt,$r,lt+8*Ve.B,Lt),Ae(Ve.Ha,Ve.Ia-Lt,Nn,Hn+8*Ve.B,Lt))}if(!It)return Li(Ce,6,"Output aborted.")}return 1}(N,de)),de.bc!=null&&de.bc(de),Ie&=1}return Ie?(N.cb=0,Ie):0}function Ln(N,de,Ie,e,r){r=N[de+Ie+32*e]+(r>>3),N[de+Ie+32*e]=-256&r?0>r?0:255:r}function xi(N,de,Ie,e,r,o){Ln(N,de,0,Ie,e+r),Ln(N,de,1,Ie,e+o),Ln(N,de,2,Ie,e-o),Ln(N,de,3,Ie,e-r)}function Cn(N){return(20091*N>>16)+N}function Wn(N,de,Ie,e){var r,o=0,G=ve(16);for(r=0;4>r;++r){var fe=N[de+0]+N[de+8],Pe=N[de+0]-N[de+8],a=(35468*N[de+4]>>16)-Cn(N[de+12]),s=Cn(N[de+4])+(35468*N[de+12]>>16);G[o+0]=fe+s,G[o+1]=Pe+a,G[o+2]=Pe-a,G[o+3]=fe-s,o+=4,de++}for(r=o=0;4>r;++r)fe=(N=G[o+0]+4)+G[o+8],Pe=N-G[o+8],a=(35468*G[o+4]>>16)-Cn(G[o+12]),Ln(Ie,e,0,0,fe+(s=Cn(G[o+4])+(35468*G[o+12]>>16))),Ln(Ie,e,1,0,Pe+a),Ln(Ie,e,2,0,Pe-a),Ln(Ie,e,3,0,fe-s),o++,e+=32}function ai(N,de,Ie,e){var r=N[de+0]+4,o=35468*N[de+4]>>16,G=Cn(N[de+4]),fe=35468*N[de+1]>>16;xi(Ie,e,0,r+G,N=Cn(N[de+1]),fe),xi(Ie,e,1,r+o,N,fe),xi(Ie,e,2,r-o,N,fe),xi(Ie,e,3,r-G,N,fe)}function ci(N,de,Ie,e,r){Wn(N,de,Ie,e),r&&Wn(N,de+16,Ie,e+4)}function Pn(N,de,Ie,e){Bl(N,de+0,Ie,e,1),Bl(N,de+32,Ie,e+128,1)}function vi(N,de,Ie,e){var r;for(N=N[de+0]+4,r=0;4>r;++r)for(de=0;4>de;++de)Ln(Ie,e,de,r,N)}function wa(N,de,Ie,e){N[de+0]&&za(N,de+0,Ie,e),N[de+16]&&za(N,de+16,Ie,e+4),N[de+32]&&za(N,de+32,Ie,e+128),N[de+48]&&za(N,de+48,Ie,e+128+4)}function Qo(N,de,Ie,e){var r,o=ve(16);for(r=0;4>r;++r){var G=N[de+0+r]+N[de+12+r],fe=N[de+4+r]+N[de+8+r],Pe=N[de+4+r]-N[de+8+r],a=N[de+0+r]-N[de+12+r];o[0+r]=G+fe,o[8+r]=G-fe,o[4+r]=a+Pe,o[12+r]=a-Pe}for(r=0;4>r;++r)G=(N=o[0+4*r]+3)+o[3+4*r],fe=o[1+4*r]+o[2+4*r],Pe=o[1+4*r]-o[2+4*r],a=N-o[3+4*r],Ie[e+0]=G+fe>>3,Ie[e+16]=a+Pe>>3,Ie[e+32]=G-fe>>3,Ie[e+48]=a-Pe>>3,e+=64}function yt(N,de,Ie){var e,r=de-32,o=fl,G=255-N[r-1];for(e=0;e<Ie;++e){var fe,Pe=o,a=G+N[de-1];for(fe=0;fe<Ie;++fe)N[de+fe]=Pe[a+N[r+fe]];de+=32}}function Xn(N,de){yt(N,de,4)}function Vi(N,de){yt(N,de,8)}function Qi(N,de){yt(N,de,16)}function Bo(N,de){var Ie;for(Ie=0;16>Ie;++Ie)Ae(N,de+32*Ie,N,de-32,16)}function Oo(N,de){var Ie;for(Ie=16;0<Ie;--Ie)Be(N,de,N[de-1],16),de+=32}function Ro(N,de,Ie){var e;for(e=0;16>e;++e)Be(de,Ie+32*e,N,16)}function So(N,de){var Ie,e=16;for(Ie=0;16>Ie;++Ie)e+=N[de-1+32*Ie]+N[de+Ie-32];Ro(e>>5,N,de)}function $o(N,de){var Ie,e=8;for(Ie=0;16>Ie;++Ie)e+=N[de-1+32*Ie];Ro(e>>4,N,de)}function Yi(N,de){var Ie,e=8;for(Ie=0;16>Ie;++Ie)e+=N[de+Ie-32];Ro(e>>4,N,de)}function k(N,de){Ro(128,N,de)}function ge(N,de,Ie){return N+2*de+Ie+2>>2}function Ze(N,de){var Ie,e=de-32;for(e=new Uint8Array([ge(N[e-1],N[e+0],N[e+1]),ge(N[e+0],N[e+1],N[e+2]),ge(N[e+1],N[e+2],N[e+3]),ge(N[e+2],N[e+3],N[e+4])]),Ie=0;4>Ie;++Ie)Ae(N,de+32*Ie,e,0,e.length)}function Xe(N,de){var Ie=N[de-1],e=N[de-1+32],r=N[de-1+64],o=N[de-1+96];mi(N,de+0,16843009*ge(N[de-1-32],Ie,e)),mi(N,de+32,16843009*ge(Ie,e,r)),mi(N,de+64,16843009*ge(e,r,o)),mi(N,de+96,16843009*ge(r,o,o))}function xt(N,de){var Ie,e=4;for(Ie=0;4>Ie;++Ie)e+=N[de+Ie-32]+N[de-1+32*Ie];for(e>>=3,Ie=0;4>Ie;++Ie)Be(N,de+32*Ie,e,4)}function xr(N,de){var Ie=N[de-1+0],e=N[de-1+32],r=N[de-1+64],o=N[de-1-32],G=N[de+0-32],fe=N[de+1-32],Pe=N[de+2-32],a=N[de+3-32];N[de+0+96]=ge(e,r,N[de-1+96]),N[de+1+96]=N[de+0+64]=ge(Ie,e,r),N[de+2+96]=N[de+1+64]=N[de+0+32]=ge(o,Ie,e),N[de+3+96]=N[de+2+64]=N[de+1+32]=N[de+0+0]=ge(G,o,Ie),N[de+3+64]=N[de+2+32]=N[de+1+0]=ge(fe,G,o),N[de+3+32]=N[de+2+0]=ge(Pe,fe,G),N[de+3+0]=ge(a,Pe,fe)}function sn(N,de){var Ie=N[de+1-32],e=N[de+2-32],r=N[de+3-32],o=N[de+4-32],G=N[de+5-32],fe=N[de+6-32],Pe=N[de+7-32];N[de+0+0]=ge(N[de+0-32],Ie,e),N[de+1+0]=N[de+0+32]=ge(Ie,e,r),N[de+2+0]=N[de+1+32]=N[de+0+64]=ge(e,r,o),N[de+3+0]=N[de+2+32]=N[de+1+64]=N[de+0+96]=ge(r,o,G),N[de+3+32]=N[de+2+64]=N[de+1+96]=ge(o,G,fe),N[de+3+64]=N[de+2+96]=ge(G,fe,Pe),N[de+3+96]=ge(fe,Pe,Pe)}function Ai(N,de){var Ie=N[de-1+0],e=N[de-1+32],r=N[de-1+64],o=N[de-1-32],G=N[de+0-32],fe=N[de+1-32],Pe=N[de+2-32],a=N[de+3-32];N[de+0+0]=N[de+1+64]=o+G+1>>1,N[de+1+0]=N[de+2+64]=G+fe+1>>1,N[de+2+0]=N[de+3+64]=fe+Pe+1>>1,N[de+3+0]=Pe+a+1>>1,N[de+0+96]=ge(r,e,Ie),N[de+0+64]=ge(e,Ie,o),N[de+0+32]=N[de+1+96]=ge(Ie,o,G),N[de+1+32]=N[de+2+96]=ge(o,G,fe),N[de+2+32]=N[de+3+96]=ge(G,fe,Pe),N[de+3+32]=ge(fe,Pe,a)}function Zi(N,de){var Ie=N[de+0-32],e=N[de+1-32],r=N[de+2-32],o=N[de+3-32],G=N[de+4-32],fe=N[de+5-32],Pe=N[de+6-32],a=N[de+7-32];N[de+0+0]=Ie+e+1>>1,N[de+1+0]=N[de+0+64]=e+r+1>>1,N[de+2+0]=N[de+1+64]=r+o+1>>1,N[de+3+0]=N[de+2+64]=o+G+1>>1,N[de+0+32]=ge(Ie,e,r),N[de+1+32]=N[de+0+96]=ge(e,r,o),N[de+2+32]=N[de+1+96]=ge(r,o,G),N[de+3+32]=N[de+2+96]=ge(o,G,fe),N[de+3+64]=ge(G,fe,Pe),N[de+3+96]=ge(fe,Pe,a)}function $i(N,de){var Ie=N[de-1+0],e=N[de-1+32],r=N[de-1+64],o=N[de-1+96];N[de+0+0]=Ie+e+1>>1,N[de+2+0]=N[de+0+32]=e+r+1>>1,N[de+2+32]=N[de+0+64]=r+o+1>>1,N[de+1+0]=ge(Ie,e,r),N[de+3+0]=N[de+1+32]=ge(e,r,o),N[de+3+32]=N[de+1+64]=ge(r,o,o),N[de+3+64]=N[de+2+64]=N[de+0+96]=N[de+1+96]=N[de+2+96]=N[de+3+96]=o}function Lo(N,de){var Ie=N[de-1+0],e=N[de-1+32],r=N[de-1+64],o=N[de-1+96],G=N[de-1-32],fe=N[de+0-32],Pe=N[de+1-32],a=N[de+2-32];N[de+0+0]=N[de+2+32]=Ie+G+1>>1,N[de+0+32]=N[de+2+64]=e+Ie+1>>1,N[de+0+64]=N[de+2+96]=r+e+1>>1,N[de+0+96]=o+r+1>>1,N[de+3+0]=ge(fe,Pe,a),N[de+2+0]=ge(G,fe,Pe),N[de+1+0]=N[de+3+32]=ge(Ie,G,fe),N[de+1+32]=N[de+3+64]=ge(e,Ie,G),N[de+1+64]=N[de+3+96]=ge(r,e,Ie),N[de+1+96]=ge(o,r,e)}function Zo(N,de){var Ie;for(Ie=0;8>Ie;++Ie)Ae(N,de+32*Ie,N,de-32,8)}function da(N,de){var Ie;for(Ie=0;8>Ie;++Ie)Be(N,de,N[de-1],8),de+=32}function Ia(N,de,Ie){var e;for(e=0;8>e;++e)Be(de,Ie+32*e,N,8)}function fa(N,de){var Ie,e=8;for(Ie=0;8>Ie;++Ie)e+=N[de+Ie-32]+N[de-1+32*Ie];Ia(e>>4,N,de)}function as(N,de){var Ie,e=4;for(Ie=0;8>Ie;++Ie)e+=N[de+Ie-32];Ia(e>>3,N,de)}function Va(N,de){var Ie,e=4;for(Ie=0;8>Ie;++Ie)e+=N[de-1+32*Ie];Ia(e>>3,N,de)}function ha(N,de){Ia(128,N,de)}function xa(N,de,Ie){var e=N[de-Ie],r=N[de+0],o=3*(r-e)+lc[1020+N[de-2*Ie]-N[de+Ie]],G=lu[112+(o+4>>3)];N[de-Ie]=fl[255+e+lu[112+(o+3>>3)]],N[de+0]=fl[255+r-G]}function ko(N,de,Ie,e){var r=N[de+0],o=N[de+Ie];return Tl[255+N[de-2*Ie]-N[de-Ie]]>e||Tl[255+o-r]>e}function Mi(N,de,Ie,e){return 4*Tl[255+N[de-Ie]-N[de+0]]+Tl[255+N[de-2*Ie]-N[de+Ie]]<=e}function co(N,de,Ie,e,r){var o=N[de-3*Ie],G=N[de-2*Ie],fe=N[de-Ie],Pe=N[de+0],a=N[de+Ie],s=N[de+2*Ie],b=N[de+3*Ie];return 4*Tl[255+fe-Pe]+Tl[255+G-a]>e?0:Tl[255+N[de-4*Ie]-o]<=r&&Tl[255+o-G]<=r&&Tl[255+G-fe]<=r&&Tl[255+b-s]<=r&&Tl[255+s-a]<=r&&Tl[255+a-Pe]<=r}function go(N,de,Ie,e){var r=2*e+1;for(e=0;16>e;++e)Mi(N,de+e,Ie,r)&&xa(N,de+e,Ie)}function qi(N,de,Ie,e){var r=2*e+1;for(e=0;16>e;++e)Mi(N,de+e*Ie,1,r)&&xa(N,de+e*Ie,1)}function ji(N,de,Ie,e){var r;for(r=3;0<r;--r)go(N,de+=4*Ie,Ie,e)}function ra(N,de,Ie,e){var r;for(r=3;0<r;--r)qi(N,de+=4,Ie,e)}function jo(N,de,Ie,e,r,o,G,fe){for(o=2*o+1;0<r--;){if(co(N,de,Ie,o,G))if(ko(N,de,Ie,fe))xa(N,de,Ie);else{var Pe=N,a=de,s=Ie,b=Pe[a-2*s],D=Pe[a-s],Ce=Pe[a+0],Qe=Pe[a+s],We=Pe[a+2*s],Ve=27*(It=lc[1020+3*(Ce-D)+lc[1020+b-Qe]])+63>>7,$e=18*It+63>>7,It=9*It+63>>7;Pe[a-3*s]=fl[255+Pe[a-3*s]+It],Pe[a-2*s]=fl[255+b+$e],Pe[a-s]=fl[255+D+Ve],Pe[a+0]=fl[255+Ce-Ve],Pe[a+s]=fl[255+Qe-$e],Pe[a+2*s]=fl[255+We-It]}de+=e}}function Ca(N,de,Ie,e,r,o,G,fe){for(o=2*o+1;0<r--;){if(co(N,de,Ie,o,G))if(ko(N,de,Ie,fe))xa(N,de,Ie);else{var Pe=N,a=de,s=Ie,b=Pe[a-s],D=Pe[a+0],Ce=Pe[a+s],Qe=lu[112+((We=3*(D-b))+4>>3)],We=lu[112+(We+3>>3)],Ve=Qe+1>>1;Pe[a-2*s]=fl[255+Pe[a-2*s]+Ve],Pe[a-s]=fl[255+b+We],Pe[a+0]=fl[255+D-Qe],Pe[a+s]=fl[255+Ce-Ve]}de+=e}}function Ra(N,de,Ie,e,r,o){jo(N,de,Ie,1,16,e,r,o)}function ro(N,de,Ie,e,r,o){jo(N,de,1,Ie,16,e,r,o)}function _a(N,de,Ie,e,r,o){var G;for(G=3;0<G;--G)Ca(N,de+=4*Ie,Ie,1,16,e,r,o)}function Ma(N,de,Ie,e,r,o){var G;for(G=3;0<G;--G)Ca(N,de+=4,1,Ie,16,e,r,o)}function Bn(N,de,Ie,e,r,o,G,fe){jo(N,de,r,1,8,o,G,fe),jo(Ie,e,r,1,8,o,G,fe)}function Wo(N,de,Ie,e,r,o,G,fe){jo(N,de,1,r,8,o,G,fe),jo(Ie,e,1,r,8,o,G,fe)}function ba(N,de,Ie,e,r,o,G,fe){Ca(N,de+4*r,r,1,8,o,G,fe),Ca(Ie,e+4*r,r,1,8,o,G,fe)}function ss(N,de,Ie,e,r,o,G,fe){Ca(N,de+4,1,r,8,o,G,fe),Ca(Ie,e+4,1,r,8,o,G,fe)}function qa(){this.ba=new ms,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new us,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function vs(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function Ls(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function Ys(){this.ua=0,this.Wa=new Cr,this.vb=new Cr,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new Or,this.yc=new rr}function js(){this.xb=this.a=0,this.l=new an,this.ca=new ms,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new Ot,this.Pb=0,this.wd=new Ot,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new Ys,this.ab=0,this.gc=Le(4,Ls),this.Oc=0}function hs(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new an,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function $s(N,de,Ie,e,r,o,G){for(N=N==null?0:N[de+0],de=0;de<G;++de)r[o+de]=N+Ie[e+de]&255,N=r[o+de]}function al(N,de,Ie,e,r,o,G){var fe;if(N==null)$s(null,null,Ie,e,r,o,G);else for(fe=0;fe<G;++fe)r[o+fe]=N[de+fe]+Ie[e+fe]&255}function Hs(N,de,Ie,e,r,o,G){if(N==null)$s(null,null,Ie,e,r,o,G);else{var fe,Pe=N[de+0],a=Pe,s=Pe;for(fe=0;fe<G;++fe)a=s+(Pe=N[de+fe])-a,s=Ie[e+fe]+(-256&a?0>a?0:255:a)&255,a=Pe,r[o+fe]=s}}function sl(N,de,Ie,e){var r=de.width,o=de.o;if(_(N!=null&&de!=null),0>Ie||0>=e||Ie+e>o)return null;if(!N.Cc){if(N.ga==null){var G;if(N.ga=new hs,(G=N.ga==null)||(G=de.width*de.o,_(N.Gb.length==0),N.Gb=ve(G),N.Uc=0,N.Gb==null?G=0:(N.mb=N.Gb,N.nb=N.Uc,N.rc=null,G=1),G=!G),!G){G=N.ga;var fe=N.Fa,Pe=N.P,a=N.qc,s=N.mb,b=N.nb,D=Pe+1,Ce=a-1,Qe=G.l;if(_(fe!=null&&s!=null&&de!=null),Il[0]=null,Il[1]=$s,Il[2]=al,Il[3]=Hs,G.ca=s,G.tb=b,G.c=de.width,G.i=de.height,_(0<G.c&&0<G.i),1>=a)de=0;else if(G.$a=fe[Pe+0]>>0&3,G.Z=fe[Pe+0]>>2&3,G.Lc=fe[Pe+0]>>4&3,Pe=fe[Pe+0]>>6&3,0>G.$a||1<G.$a||4<=G.Z||1<G.Lc||Pe)de=0;else if(Qe.put=Qs,Qe.ac=Ya,Qe.bc=Ms,Qe.ma=G,Qe.width=de.width,Qe.height=de.height,Qe.Da=de.Da,Qe.v=de.v,Qe.va=de.va,Qe.j=de.j,Qe.o=de.o,G.$a)e:{_(G.$a==1),de=Gs();t:for(;;){if(de==null){de=0;break e}if(_(G!=null),G.mc=de,de.c=G.c,de.i=G.i,de.l=G.l,de.l.ma=G,de.l.width=G.c,de.l.height=G.i,de.a=0,pn(de.m,fe,D,Ce),!el(G.c,G.i,1,de,null)||(de.ab==1&&de.gc[0].hc==3&&Es(de.s)?(G.ic=1,fe=de.c*de.i,de.Ta=null,de.Ua=0,de.V=ve(fe),de.Ba=0,de.V==null?(de.a=1,de=0):de=1):(G.ic=0,de=Ts(de,G.c)),!de))break t;de=1;break e}G.mc=null,de=0}else de=Ce>=G.c*G.i;G=!de}if(G)return null;N.ga.Lc!=1?N.Ga=0:e=o-Ie}_(N.ga!=null),_(Ie+e<=o);e:{if(de=(fe=N.ga).c,o=fe.l.o,fe.$a==0){if(D=N.rc,Ce=N.Vc,Qe=N.Fa,Pe=N.P+1+Ie*de,a=N.mb,s=N.nb+Ie*de,_(Pe<=N.P+N.qc),fe.Z!=0)for(_(Il[fe.Z]!=null),G=0;G<e;++G)Il[fe.Z](D,Ce,Qe,Pe,a,s,de),D=a,Ce=s,s+=de,Pe+=de;else for(G=0;G<e;++G)Ae(a,s,Qe,Pe,de),D=a,Ce=s,s+=de,Pe+=de;N.rc=D,N.Vc=Ce}else{if(_(fe.mc!=null),de=Ie+e,_((G=fe.mc)!=null),_(de<=G.i),G.C>=de)de=1;else if(fe.ic||en(),fe.ic){fe=G.V,D=G.Ba,Ce=G.c;var We=G.i,Ve=(Qe=1,Pe=G.$/Ce,a=G.$%Ce,s=G.m,b=G.s,G.$),$e=Ce*We,It=Ce*de,ut=b.wc,lt=Ve<It?Sa(b,a,Pe):null;_(Ve<=$e),_(de<=We),_(Es(b));t:for(;;){for(;!s.h&&Ve<It;){if(a&ut||(lt=Sa(b,a,Pe)),_(lt!=null),tn(s),256>(We=ka(lt.G[0],lt.H[0],s)))fe[D+Ve]=We,++Ve,++a>=Ce&&(a=0,++Pe<=de&&!(Pe%16)&&Na(G,Pe));else{if(!(280>We)){Qe=0;break t}We=il(We-256,s);var Lt,wr=ka(lt.G[4],lt.H[4],s);if(tn(s),!(Ve>=(wr=li(Ce,wr=il(wr,s)))&&$e-Ve>=We)){Qe=0;break t}for(Lt=0;Lt<We;++Lt)fe[D+Ve+Lt]=fe[D+Ve+Lt-wr];for(Ve+=We,a+=We;a>=Ce;)a-=Ce,++Pe<=de&&!(Pe%16)&&Na(G,Pe);Ve<It&&a&ut&&(lt=Sa(b,a,Pe))}_(s.h==Br(s))}Na(G,Pe>de?de:Pe);break t}!Qe||s.h&&Ve<$e?(Qe=0,G.a=s.h?5:3):G.$=Ve,de=Qe}else de=aa(G,G.V,G.Ba,G.c,G.i,de,Rl);if(!de){e=0;break e}}Ie+e>=o&&(N.Cc=1),e=1}if(!e)return null;if(N.Cc&&((e=N.ga)!=null&&(e.mc=null),N.ga=null,0<N.Ga))return alert("todo:WebPDequantizeLevels"),null}return N.nb+Ie*r}function Ee(N,de,Ie,e,r,o){for(;0<r--;){var G,fe=N,Pe=de+(Ie?1:0),a=N,s=de+(Ie?0:3);for(G=0;G<e;++G){var b=a[s+4*G];b!=255&&(b*=32897,fe[Pe+4*G+0]=fe[Pe+4*G+0]*b>>23,fe[Pe+4*G+1]=fe[Pe+4*G+1]*b>>23,fe[Pe+4*G+2]=fe[Pe+4*G+2]*b>>23)}de+=o}}function ct(N,de,Ie,e,r){for(;0<e--;){var o;for(o=0;o<Ie;++o){var G=N[de+2*o+0],fe=15&(a=N[de+2*o+1]),Pe=4369*fe,a=(240&a|a>>4)*Pe>>16;N[de+2*o+0]=(240&G|G>>4)*Pe>>16&240|(15&G|G<<4)*Pe>>16>>4&15,N[de+2*o+1]=240&a|fe}de+=r}}function ur(N,de,Ie,e,r,o,G,fe){var Pe,a,s=255;for(a=0;a<r;++a){for(Pe=0;Pe<e;++Pe){var b=N[de+Pe];o[G+4*Pe]=b,s&=b}de+=Ie,G+=fe}return s!=255}function Mr(N,de,Ie,e,r){var o;for(o=0;o<r;++o)Ie[e+o]=N[de+o]>>8}function en(){Ml=Ee,fo=ct,Su=ur,Gu=Mr}function bn(N,de,Ie){Er[N]=function(e,r,o,G,fe,Pe,a,s,b,D,Ce,Qe,We,Ve,$e,It,ut){var lt,Lt=ut-1>>1,wr=fe[Pe+0]|a[s+0]<<16,Sr=b[D+0]|Ce[Qe+0]<<16;_(e!=null);var $r=3*wr+Sr+131074>>2;for(de(e[r+0],255&$r,$r>>16,We,Ve),o!=null&&($r=3*Sr+wr+131074>>2,de(o[G+0],255&$r,$r>>16,$e,It)),lt=1;lt<=Lt;++lt){var Nn=fe[Pe+lt]|a[s+lt]<<16,Hn=b[D+lt]|Ce[Qe+lt]<<16,Qn=wr+Nn+Sr+Hn+524296,ui=Qn+2*(Nn+Sr)>>3;$r=ui+wr>>1,wr=(Qn=Qn+2*(wr+Hn)>>3)+Nn>>1,de(e[r+2*lt-1],255&$r,$r>>16,We,Ve+(2*lt-1)*Ie),de(e[r+2*lt-0],255&wr,wr>>16,We,Ve+(2*lt-0)*Ie),o!=null&&($r=Qn+Sr>>1,wr=ui+Hn>>1,de(o[G+2*lt-1],255&$r,$r>>16,$e,It+(2*lt-1)*Ie),de(o[G+2*lt+0],255&wr,wr>>16,$e,It+(2*lt+0)*Ie)),wr=Nn,Sr=Hn}1&ut||($r=3*wr+Sr+131074>>2,de(e[r+ut-1],255&$r,$r>>16,We,Ve+(ut-1)*Ie),o!=null&&($r=3*Sr+wr+131074>>2,de(o[G+ut-1],255&$r,$r>>16,$e,It+(ut-1)*Ie)))}}function ei(){cu[zu]=Ic,cu[uu]=Rc,cu[uc]=Fc,cu[Fu]=ql,cu[Yu]=qu,cu[Ul]=eu,cu[Ru]=Uu,cu[_u]=Rc,cu[oc]=ql,cu[_l]=qu,cu[gc]=eu}function Ii(N){return N&~vc?0>N?0:255:N>>Qu}function yo(N,de){return Ii((19077*N>>8)+(26149*de>>8)-14234)}function Io(N,de,Ie){return Ii((19077*N>>8)-(6419*de>>8)-(13320*Ie>>8)+8708)}function Ho(N,de){return Ii((19077*N>>8)+(33050*de>>8)-17685)}function sa(N,de,Ie,e,r){e[r+0]=yo(N,Ie),e[r+1]=Io(N,de,Ie),e[r+2]=Ho(N,de)}function es(N,de,Ie,e,r){e[r+0]=Ho(N,de),e[r+1]=Io(N,de,Ie),e[r+2]=yo(N,Ie)}function ts(N,de,Ie,e,r){var o=Io(N,de,Ie);de=o<<3&224|Ho(N,de)>>3,e[r+0]=248&yo(N,Ie)|o>>5,e[r+1]=de}function As(N,de,Ie,e,r){var o=240&Ho(N,de)|15;e[r+0]=240&yo(N,Ie)|Io(N,de,Ie)>>4,e[r+1]=o}function Is(N,de,Ie,e,r){e[r+0]=255,sa(N,de,Ie,e,r+1)}function ys(N,de,Ie,e,r){es(N,de,Ie,e,r),e[r+3]=255}function cl(N,de,Ie,e,r){sa(N,de,Ie,e,r),e[r+3]=255}function Zs(N,de){return 0>N?0:N>de?de:N}function Fs(N,de,Ie){Er[N]=function(e,r,o,G,fe,Pe,a,s,b){for(var D=s+(-2&b)*Ie;s!=D;)de(e[r+0],o[G+0],fe[Pe+0],a,s),de(e[r+1],o[G+0],fe[Pe+0],a,s+Ie),r+=2,++G,++Pe,s+=2*Ie;1&b&&de(e[r+0],o[G+0],fe[Pe+0],a,s)}}function iu(N,de,Ie){return Ie==0?N==0?de==0?6:5:de==0?4:0:Ie}function Jl(N,de,Ie,e,r){switch(N>>>30){case 3:Bl(de,Ie,e,r,0);break;case 2:gu(de,Ie,e,r);break;case 1:za(de,Ie,e,r)}}function Du(N,de){var Ie,e,r=de.M,o=de.Nb,G=N.oc,fe=N.pc+40,Pe=N.oc,a=N.pc+584,s=N.oc,b=N.pc+600;for(Ie=0;16>Ie;++Ie)G[fe+32*Ie-1]=129;for(Ie=0;8>Ie;++Ie)Pe[a+32*Ie-1]=129,s[b+32*Ie-1]=129;for(0<r?G[fe-1-32]=Pe[a-1-32]=s[b-1-32]=129:(Be(G,fe-32-1,127,21),Be(Pe,a-32-1,127,9),Be(s,b-32-1,127,9)),e=0;e<N.za;++e){var D=de.ya[de.aa+e];if(0<e){for(Ie=-1;16>Ie;++Ie)Ae(G,fe+32*Ie-4,G,fe+32*Ie+12,4);for(Ie=-1;8>Ie;++Ie)Ae(Pe,a+32*Ie-4,Pe,a+32*Ie+4,4),Ae(s,b+32*Ie-4,s,b+32*Ie+4,4)}var Ce=N.Gd,Qe=N.Hd+e,We=D.ad,Ve=D.Hc;if(0<r&&(Ae(G,fe-32,Ce[Qe].y,0,16),Ae(Pe,a-32,Ce[Qe].f,0,8),Ae(s,b-32,Ce[Qe].ea,0,8)),D.Za){var $e=G,It=fe-32+16;for(0<r&&(e>=N.za-1?Be($e,It,Ce[Qe].y[15],4):Ae($e,It,Ce[Qe+1].y,0,4)),Ie=0;4>Ie;Ie++)$e[It+128+Ie]=$e[It+256+Ie]=$e[It+384+Ie]=$e[It+0+Ie];for(Ie=0;16>Ie;++Ie,Ve<<=2)$e=G,It=fe+sc[Ie],mu[D.Ob[Ie]]($e,It),Jl(Ve,We,16*+Ie,$e,It)}else if($e=iu(e,r,D.Ob[0]),Ll[$e](G,fe),Ve!=0)for(Ie=0;16>Ie;++Ie,Ve<<=2)Jl(Ve,We,16*+Ie,G,fe+sc[Ie]);for(Ie=D.Gc,$e=iu(e,r,D.Dd),vu[$e](Pe,a),vu[$e](s,b),Ve=We,$e=Pe,It=a,255&(D=Ie>>0)&&(170&D?oo(Ve,256,$e,It):Qa(Ve,256,$e,It)),D=s,Ve=b,255&(Ie>>=8)&&(170&Ie?oo(We,320,D,Ve):Qa(We,320,D,Ve)),r<N.Ub-1&&(Ae(Ce[Qe].y,0,G,fe+480,16),Ae(Ce[Qe].f,0,Pe,a+224,8),Ae(Ce[Qe].ea,0,s,b+224,8)),Ie=8*o*N.B,Ce=N.sa,Qe=N.ta+16*e+16*o*N.R,We=N.qa,D=N.ra+8*e+Ie,Ve=N.Ha,$e=N.Ia+8*e+Ie,Ie=0;16>Ie;++Ie)Ae(Ce,Qe+Ie*N.R,G,fe+32*Ie,16);for(Ie=0;8>Ie;++Ie)Ae(We,D+Ie*N.B,Pe,a+32*Ie,8),Ae(Ve,$e+Ie*N.B,s,b+32*Ie,8)}}function hu(N,de,Ie,e,r,o,G,fe,Pe){var a=[0],s=[0],b=0,D=Pe!=null?Pe.kd:0,Ce=Pe!=null?Pe:new vs;if(N==null||12>Ie)return 7;Ce.data=N,Ce.w=de,Ce.ha=Ie,de=[de],Ie=[Ie],Ce.gb=[Ce.gb];e:{var Qe=de,We=Ie,Ve=Ce.gb;if(_(N!=null),_(We!=null),_(Ve!=null),Ve[0]=0,12<=We[0]&&!H(N,Qe[0],"RIFF")){if(H(N,Qe[0]+8,"WEBP")){Ve=3;break e}var $e=Gi(N,Qe[0]+4);if(12>$e||4294967286<$e){Ve=3;break e}if(D&&$e>We[0]-8){Ve=7;break e}Ve[0]=$e,Qe[0]+=12,We[0]-=12}Ve=0}if(Ve!=0)return Ve;for($e=0<Ce.gb[0],Ie=Ie[0];;){e:{var It=N;We=de,Ve=Ie;var ut=a,lt=s,Lt=Qe=[0];if(($r=b=[b])[0]=0,8>Ve[0])Ve=7;else{if(!H(It,We[0],"VP8X")){if(Gi(It,We[0]+4)!=10){Ve=3;break e}if(18>Ve[0]){Ve=7;break e}var wr=Gi(It,We[0]+8),Sr=1+Ni(It,We[0]+12);if(2147483648<=Sr*(It=1+Ni(It,We[0]+15))){Ve=3;break e}Lt!=null&&(Lt[0]=wr),ut!=null&&(ut[0]=Sr),lt!=null&&(lt[0]=It),We[0]+=18,Ve[0]-=18,$r[0]=1}Ve=0}}if(b=b[0],Qe=Qe[0],Ve!=0)return Ve;if(We=!!(2&Qe),!$e&&b)return 3;if(o!=null&&(o[0]=!!(16&Qe)),G!=null&&(G[0]=We),fe!=null&&(fe[0]=0),G=a[0],Qe=s[0],b&&We&&Pe==null){Ve=0;break}if(4>Ie){Ve=7;break}if($e&&b||!$e&&!b&&!H(N,de[0],"ALPH")){Ie=[Ie],Ce.na=[Ce.na],Ce.P=[Ce.P],Ce.Sa=[Ce.Sa];e:{wr=N,Ve=de,$e=Ie;var $r=Ce.gb;ut=Ce.na,lt=Ce.P,Lt=Ce.Sa,Sr=22,_(wr!=null),_($e!=null),It=Ve[0];var Nn=$e[0];for(_(ut!=null),_(Lt!=null),ut[0]=null,lt[0]=null,Lt[0]=0;;){if(Ve[0]=It,$e[0]=Nn,8>Nn){Ve=7;break e}var Hn=Gi(wr,It+4);if(4294967286<Hn){Ve=3;break e}var Qn=8+Hn+1&-2;if(Sr+=Qn,0<$r&&Sr>$r){Ve=3;break e}if(!H(wr,It,"VP8 ")||!H(wr,It,"VP8L")){Ve=0;break e}if(Nn[0]<Qn){Ve=7;break e}H(wr,It,"ALPH")||(ut[0]=wr,lt[0]=It+8,Lt[0]=Hn),It+=Qn,Nn-=Qn}}if(Ie=Ie[0],Ce.na=Ce.na[0],Ce.P=Ce.P[0],Ce.Sa=Ce.Sa[0],Ve!=0)break}Ie=[Ie],Ce.Ja=[Ce.Ja],Ce.xa=[Ce.xa];e:if($r=N,Ve=de,$e=Ie,ut=Ce.gb[0],lt=Ce.Ja,Lt=Ce.xa,wr=Ve[0],It=!H($r,wr,"VP8 "),Sr=!H($r,wr,"VP8L"),_($r!=null),_($e!=null),_(lt!=null),_(Lt!=null),8>$e[0])Ve=7;else{if(It||Sr){if($r=Gi($r,wr+4),12<=ut&&$r>ut-12){Ve=3;break e}if(D&&$r>$e[0]-8){Ve=7;break e}lt[0]=$r,Ve[0]+=8,$e[0]-=8,Lt[0]=Sr}else Lt[0]=5<=$e[0]&&$r[wr+0]==47&&!($r[wr+4]>>5),lt[0]=$e[0];Ve=0}if(Ie=Ie[0],Ce.Ja=Ce.Ja[0],Ce.xa=Ce.xa[0],de=de[0],Ve!=0)break;if(4294967286<Ce.Ja)return 3;if(fe==null||We||(fe[0]=Ce.xa?2:1),G=[G],Qe=[Qe],Ce.xa){if(5>Ie){Ve=7;break}fe=G,D=Qe,We=o,N==null||5>Ie?N=0:5<=Ie&&N[de+0]==47&&!(N[de+4]>>5)?($e=[0],$r=[0],ut=[0],pn(lt=new Ot,N,de,Ie),To(lt,$e,$r,ut)?(fe!=null&&(fe[0]=$e[0]),D!=null&&(D[0]=$r[0]),We!=null&&(We[0]=ut[0]),N=1):N=0):N=0}else{if(10>Ie){Ve=7;break}fe=Qe,N==null||10>Ie||!tt(N,de+3,Ie-3)?N=0:(D=N[de+0]|N[de+1]<<8|N[de+2]<<16,We=16383&(N[de+7]<<8|N[de+6]),N=16383&(N[de+9]<<8|N[de+8]),1&D||3<(D>>1&7)||!(D>>4&1)||D>>5>=Ce.Ja||!We||!N?N=0:(G&&(G[0]=We),fe&&(fe[0]=N),N=1))}if(!N||(G=G[0],Qe=Qe[0],b&&(a[0]!=G||s[0]!=Qe)))return 3;Pe!=null&&(Pe[0]=Ce,Pe.offset=de-Pe.w,_(4294967286>de-Pe.w),_(Pe.offset==Pe.ha-Ie));break}return Ve==0||Ve==7&&b&&Pe==null?(o!=null&&(o[0]|=Ce.na!=null&&0<Ce.na.length),e!=null&&(e[0]=G),r!=null&&(r[0]=Qe),0):Ve}function xl(N,de,Ie){var e=de.width,r=de.height,o=0,G=0,fe=e,Pe=r;if(de.Da=N!=null&&0<N.Da,de.Da&&(fe=N.cd,Pe=N.bd,o=N.v,G=N.j,11>Ie||(o&=-2,G&=-2),0>o||0>G||0>=fe||0>=Pe||o+fe>e||G+Pe>r))return 0;if(de.v=o,de.j=G,de.va=o+fe,de.o=G+Pe,de.U=fe,de.T=Pe,de.da=N!=null&&0<N.da,de.da){if(!Ei(fe,Pe,Ie=[N.ib],o=[N.hb]))return 0;de.ib=Ie[0],de.hb=o[0]}return de.ob=N!=null&&N.ob,de.Kb=N==null||!N.Sd,de.da&&(de.ob=de.ib<3*e/4&&de.hb<3*r/4,de.Kb=0),1}function wu(N){if(N==null)return 2;if(11>N.S){var de=N.f.RGBA;de.fb+=(N.height-1)*de.A,de.A=-de.A}else de=N.f.kb,N=N.height,de.O+=(N-1)*de.fa,de.fa=-de.fa,de.N+=(N-1>>1)*de.Ab,de.Ab=-de.Ab,de.W+=(N-1>>1)*de.Db,de.Db=-de.Db,de.F!=null&&(de.J+=(N-1)*de.lb,de.lb=-de.lb);return 0}function ou(N,de,Ie,e){if(e==null||0>=N||0>=de)return 2;if(Ie!=null){if(Ie.Da){var r=Ie.cd,o=Ie.bd,G=-2&Ie.v,fe=-2&Ie.j;if(0>G||0>fe||0>=r||0>=o||G+r>N||fe+o>de)return 2;N=r,de=o}if(Ie.da){if(!Ei(N,de,r=[Ie.ib],o=[Ie.hb]))return 2;N=r[0],de=o[0]}}e.width=N,e.height=de;e:{var Pe=e.width,a=e.height;if(N=e.S,0>=Pe||0>=a||!(N>=zu&&13>N))N=2;else{if(0>=e.Rd&&e.sd==null){G=o=r=de=0;var s=(fe=Pe*Qc[N])*a;if(11>N||(o=(a+1)/2*(de=(Pe+1)/2),N==12&&(G=(r=Pe)*a)),(a=ve(s+2*o+G))==null){N=1;break e}e.sd=a,11>N?((Pe=e.f.RGBA).eb=a,Pe.fb=0,Pe.A=fe,Pe.size=s):((Pe=e.f.kb).y=a,Pe.O=0,Pe.fa=fe,Pe.Fd=s,Pe.f=a,Pe.N=0+s,Pe.Ab=de,Pe.Cd=o,Pe.ea=a,Pe.W=0+s+o,Pe.Db=de,Pe.Ed=o,N==12&&(Pe.F=a,Pe.J=0+s+2*o),Pe.Tc=G,Pe.lb=r)}if(de=1,r=e.S,o=e.width,G=e.height,r>=zu&&13>r)if(11>r)N=e.f.RGBA,de&=(fe=Math.abs(N.A))*(G-1)+o<=N.size,de&=fe>=o*Qc[r],de&=N.eb!=null;else{N=e.f.kb,fe=(o+1)/2,s=(G+1)/2,Pe=Math.abs(N.fa),a=Math.abs(N.Ab);var b=Math.abs(N.Db),D=Math.abs(N.lb),Ce=D*(G-1)+o;de&=Pe*(G-1)+o<=N.Fd,de&=a*(s-1)+fe<=N.Cd,de=(de&=b*(s-1)+fe<=N.Ed)&Pe>=o&a>=fe&b>=fe,de&=N.y!=null,de&=N.f!=null,de&=N.ea!=null,r==12&&(de&=D>=o,de&=Ce<=N.Tc,de&=N.F!=null)}else de=0;N=de?0:2}}return N!=0||Ie!=null&&Ie.fd&&(N=wu(e)),N}var Al=64,pu=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Mu=24,Cu=32,xu=8,dl=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];ri("Predictor0","PredictorAdd0"),Er.Predictor0=function(){return 4278190080},Er.Predictor1=function(N){return N},Er.Predictor2=function(N,de,Ie){return de[Ie+0]},Er.Predictor3=function(N,de,Ie){return de[Ie+1]},Er.Predictor4=function(N,de,Ie){return de[Ie-1]},Er.Predictor5=function(N,de,Ie){return Bi(Bi(N,de[Ie+1]),de[Ie+0])},Er.Predictor6=function(N,de,Ie){return Bi(N,de[Ie-1])},Er.Predictor7=function(N,de,Ie){return Bi(N,de[Ie+0])},Er.Predictor8=function(N,de,Ie){return Bi(de[Ie-1],de[Ie+0])},Er.Predictor9=function(N,de,Ie){return Bi(de[Ie+0],de[Ie+1])},Er.Predictor10=function(N,de,Ie){return Bi(Bi(N,de[Ie-1]),Bi(de[Ie+0],de[Ie+1]))},Er.Predictor11=function(N,de,Ie){var e=de[Ie+0];return 0>=Go(e>>24&255,N>>24&255,(de=de[Ie-1])>>24&255)+Go(e>>16&255,N>>16&255,de>>16&255)+Go(e>>8&255,N>>8&255,de>>8&255)+Go(255&e,255&N,255&de)?e:N},Er.Predictor12=function(N,de,Ie){var e=de[Ie+0];return(eo((N>>24&255)+(e>>24&255)-((de=de[Ie-1])>>24&255))<<24|eo((N>>16&255)+(e>>16&255)-(de>>16&255))<<16|eo((N>>8&255)+(e>>8&255)-(de>>8&255))<<8|eo((255&N)+(255&e)-(255&de)))>>>0},Er.Predictor13=function(N,de,Ie){var e=de[Ie-1];return(io((N=Bi(N,de[Ie+0]))>>24&255,e>>24&255)<<24|io(N>>16&255,e>>16&255)<<16|io(N>>8&255,e>>8&255)<<8|io(N>>0&255,e>>0&255))>>>0};var Wu=Er.PredictorAdd0;Er.PredictorAdd1=Co,ri("Predictor2","PredictorAdd2"),ri("Predictor3","PredictorAdd3"),ri("Predictor4","PredictorAdd4"),ri("Predictor5","PredictorAdd5"),ri("Predictor6","PredictorAdd6"),ri("Predictor7","PredictorAdd7"),ri("Predictor8","PredictorAdd8"),ri("Predictor9","PredictorAdd9"),ri("Predictor10","PredictorAdd10"),ri("Predictor11","PredictorAdd11"),ri("Predictor12","PredictorAdd12"),ri("Predictor13","PredictorAdd13");var Tu=Er.PredictorAdd2;ya("ColorIndexInverseTransform","MapARGB","32b",function(N){return N>>8&255},function(N){return N}),ya("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(N){return N},function(N){return N>>8&255});var Lu,Pl=Er.ColorIndexInverseTransform,bu=Er.MapARGB,Vu=Er.VP8LColorIndexInverseTransformAlpha,Bu=Er.MapAlpha,kl=Er.VP8LPredictorsAdd=[];kl.length=16,(Er.VP8LPredictors=[]).length=16,(Er.VP8LPredictorsAdd_C=[]).length=16,(Er.VP8LPredictors_C=[]).length=16;var vl,bl,au,Ol,Wl,Iu,zl,Bl,gu,oo,za,Qa,$a,Xs,Dl,ja,su,tl,Sl,Ua,Ha,ps,Ps,yl,Ml,fo,Su,Gu,Kl=ve(511),Vl=ve(2041),nc=ve(225),ic=ve(767),pc=0,lc=Vl,lu=nc,fl=ic,Tl=Kl,zu=0,uu=1,uc=2,Fu=3,Yu=4,Ul=5,Ru=6,_u=7,oc=8,_l=9,gc=10,Ku=[2,3,7],Pc=[3,3,11],ho=[280,256,256,256,40],$u=[0,1,1,1,0],cc=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Nl=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Oc=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Za=8,gs=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],Xu=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],ku=null,mc=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],Wc=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],ac=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Mc=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],Ju=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],Tc=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],zc=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Ll=[],mu=[],vu=[],Lc=1,Ac=2,Il=[],cu=[];bn("UpsampleRgbLinePair",sa,3),bn("UpsampleBgrLinePair",es,3),bn("UpsampleRgbaLinePair",cl,4),bn("UpsampleBgraLinePair",ys,4),bn("UpsampleArgbLinePair",Is,4),bn("UpsampleRgba4444LinePair",As,2),bn("UpsampleRgb565LinePair",ts,2);var Ic=Er.UpsampleRgbLinePair,Fc=Er.UpsampleBgrLinePair,Rc=Er.UpsampleRgbaLinePair,ql=Er.UpsampleBgraLinePair,qu=Er.UpsampleArgbLinePair,eu=Er.UpsampleRgba4444LinePair,Uu=Er.UpsampleRgb565LinePair,Eu=16,Nu=1<<Eu-1,ec=-227,tc=482,Qu=6,vc=(256<<Qu)-1,kc=0,ju=ve(256),Dc=ve(256),Uc=ve(256),yc=ve(256),Kc=ve(tc-ec),wc=ve(tc-ec);Fs("YuvToRgbRow",sa,3),Fs("YuvToBgrRow",es,3),Fs("YuvToRgbaRow",cl,4),Fs("YuvToBgraRow",ys,4),Fs("YuvToArgbRow",Is,4),Fs("YuvToRgba4444Row",As,2),Fs("YuvToRgb565Row",ts,2);var sc=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Cc=[0,2,8],xc=[8,7,6,4,4,2,2,2,1,1,1,1],Nc=1;this.WebPDecodeRGBA=function(N,de,Ie,e,r){var o=uu,G=new qa,fe=new ms;G.ba=fe,fe.S=o,fe.width=[fe.width],fe.height=[fe.height];var Pe=fe.width,a=fe.height,s=new ml;if(s==null||N==null)var b=2;else _(s!=null),b=hu(N,de,Ie,s.width,s.height,s.Pd,s.Qd,s.format,null);if(b!=0?Pe=0:(Pe!=null&&(Pe[0]=s.width[0]),a!=null&&(a[0]=s.height[0]),Pe=1),Pe){fe.width=fe.width[0],fe.height=fe.height[0],e!=null&&(e[0]=fe.width),r!=null&&(r[0]=fe.height);e:{if(e=new an,(r=new vs).data=N,r.w=de,r.ha=Ie,r.kd=1,de=[0],_(r!=null),((N=hu(r.data,r.w,r.ha,null,null,null,de,null,r))==0||N==7)&&de[0]&&(N=4),(de=N)==0){if(_(G!=null),e.data=r.data,e.w=r.w+r.offset,e.ha=r.ha-r.offset,e.put=Qs,e.ac=Ya,e.bc=Ms,e.ma=G,r.xa){if((N=Gs())==null){G=1;break e}if(function(D,Ce){var Qe=[0],We=[0],Ve=[0];t:for(;;){if(D==null)return 0;if(Ce==null)return D.a=2,0;if(D.l=Ce,D.a=0,pn(D.m,Ce.data,Ce.w,Ce.ha),!To(D.m,Qe,We,Ve)){D.a=3;break t}if(D.xb=Ac,Ce.width=Qe[0],Ce.height=We[0],!el(Qe[0],We[0],1,D,null))break t;return 1}return _(D.a!=0),0}(N,e)){if(e=(de=ou(e.width,e.height,G.Oa,G.ba))==0){t:{e=N;r:for(;;){if(e==null){e=0;break t}if(_(e.s.yc!=null),_(e.s.Ya!=null),_(0<e.s.Wb),_((Ie=e.l)!=null),_((r=Ie.ma)!=null),e.xb!=0){if(e.ca=r.ba,e.tb=r.tb,_(e.ca!=null),!xl(r.Oa,Ie,Fu)){e.a=2;break r}if(!Ts(e,Ie.width)||Ie.da)break r;if((Ie.da||Da(e.ca.S))&&en(),11>e.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),e.ca.f.kb.F!=null&&en()),e.Pb&&0<e.s.ua&&e.s.vb.X==null&&!lo(e.s.vb,e.s.Wa.Xa)){e.a=1;break r}e.xb=0}if(!aa(e,e.V,e.Ba,e.c,e.i,Ie.o,_s))break r;r.Dc=e.Ma,e=1;break t}_(e.a!=0),e=0}e=!e}e&&(de=N.a)}else de=N.a}else{if((N=new ni)==null){G=1;break e}if(N.Fa=r.na,N.P=r.P,N.qc=r.Sa,at(N,e)){if((de=ou(e.width,e.height,G.Oa,G.ba))==0){if(N.Aa=0,Ie=G.Oa,_((r=N)!=null),Ie!=null){if(0<(Pe=0>(Pe=Ie.Md)?0:100<Pe?255:255*Pe/100)){for(a=s=0;4>a;++a)12>(b=r.pb[a]).lc&&(b.ia=Pe*xc[0>b.lc?0:b.lc]>>3),s|=b.ia;s&&(alert("todo:VP8InitRandom"),r.ia=1)}r.Ga=Ie.Id,100<r.Ga?r.Ga=100:0>r.Ga&&(r.Ga=0)}Xr(N,e)||(de=N.a)}}else de=N.a}de==0&&G.Oa!=null&&G.Oa.fd&&(de=wu(G.ba))}G=de}o=G!=0?null:11>o?fe.f.RGBA.eb:fe.f.kb.y}else o=null;return o};var Qc=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function it(Er,Gn){for(var Vn="",Xt=0;Xt<4;Xt++)Vn+=String.fromCharCode(Er[Gn++]);return Vn}function gt(Er,Gn){return(Er[Gn+0]<<0|Er[Gn+1]<<8|Er[Gn+2]<<16)>>>0}function Et(Er,Gn){return(Er[Gn+0]<<0|Er[Gn+1]<<8|Er[Gn+2]<<16|Er[Gn+3]<<24)>>>0}new ke;var Mt=[0],Ge=[0],cr=[],er=new ke,mr=z,Kt=function(Er,Gn){var Vn={},Xt=0,rr=!1,Ur=0,Or=0;if(Vn.frames=[],!function(Ar,Br,Wr,tn){for(var Nr=0;Nr<tn;Nr++)if(Ar[Br+Nr]!=Wr.charCodeAt(Nr))return!0;return!1}(Er,Gn,"RIFF",4)){var En,yn;for(Et(Er,Gn+=4),Gn+=8;Gn<Er.length;){var Rn=it(Er,Gn),pn=Et(Er,Gn+=4);Gn+=4;var Un=pn+(1&pn);switch(Rn){case"VP8 ":case"VP8L":Vn.frames[Xt]===void 0&&(Vn.frames[Xt]={}),(Ot=Vn.frames[Xt]).src_off=rr?Or:Gn-8,Ot.src_size=Ur+pn+8,Xt++,rr&&(rr=!1,Ur=0,Or=0);break;case"VP8X":(Ot=Vn.header={}).feature_flags=Er[Gn];var kn=Gn+4;Ot.canvas_width=1+gt(Er,kn),kn+=3,Ot.canvas_height=1+gt(Er,kn),kn+=3;break;case"ALPH":rr=!0,Ur=Un+8,Or=Gn-8;break;case"ANIM":(Ot=Vn.header).bgcolor=Et(Er,Gn),kn=Gn+4,Ot.loop_count=(En=Er)[(yn=kn)+0]<<0|En[yn+1]<<8,kn+=2;break;case"ANMF":var Ui,Ot;(Ot=Vn.frames[Xt]={}).offset_x=2*gt(Er,Gn),Gn+=3,Ot.offset_y=2*gt(Er,Gn),Gn+=3,Ot.width=1+gt(Er,Gn),Gn+=3,Ot.height=1+gt(Er,Gn),Gn+=3,Ot.duration=gt(Er,Gn),Gn+=3,Ui=Er[Gn++],Ot.dispose=1&Ui,Ot.blend=Ui>>1&1}Rn!="ANMF"&&(Gn+=Un)}return Vn}}(mr,0);Kt.response=mr,Kt.rgbaoutput=!0,Kt.dataurl=!1;var dr=Kt.header?Kt.header:null,Zr=Kt.frames?Kt.frames:null;if(dr){dr.loop_counter=dr.loop_count,Mt=[dr.canvas_height],Ge=[dr.canvas_width];for(var dn=0;dn<Zr.length&&Zr[dn].blend!=0;dn++);}var hn=Zr[0],$n=er.WebPDecodeRGBA(mr,hn.src_off,hn.src_size,Ge,Mt);hn.rgba=$n,hn.imgwidth=Ge[0],hn.imgheight=Mt[0];for(var cn=0;cn<Ge[0]*Mt[0]*4;cn++)cr[cn]=$n[cn];return this.width=Ge,this.height=Mt,this.data=cr,this}(function(z){var _=function(){return typeof ar=="function"},H=function(Mt,Ge,cr,er){var mr=4,Kt=Le;switch(er){case z.image_compression.FAST:mr=1,Kt=ve;break;case z.image_compression.MEDIUM:mr=6,Kt=Re;break;case z.image_compression.SLOW:mr=9,Kt=ke}Mt=Ae(Mt,Ge,cr,Kt);var dr=ar(Mt,{level:mr});return z.__addimage__.arrayBufferToBinaryString(dr)},Ae=function(Mt,Ge,cr,er){for(var mr,Kt,dr,Zr=Mt.length/Ge,dn=new Uint8Array(Mt.length+Zr),hn=gt(),$n=0;$n<Zr;$n+=1){if(dr=$n*Ge,mr=Mt.subarray(dr,dr+Ge),er)dn.set(er(mr,cr,Kt),dr+$n);else{for(var cn,Er=hn.length,Gn=[];cn<Er;cn+=1)Gn[cn]=hn[cn](mr,cr,Kt);var Vn=Et(Gn.concat());dn.set(Gn[Vn],dr+$n)}Kt=mr}return dn},Be=function(Mt){var Ge=Array.apply([],Mt);return Ge.unshift(0),Ge},ve=function(Mt,Ge){var cr,er=[],mr=Mt.length;er[0]=1;for(var Kt=0;Kt<mr;Kt+=1)cr=Mt[Kt-Ge]||0,er[Kt+1]=Mt[Kt]-cr+256&255;return er},Le=function(Mt,Ge,cr){var er,mr=[],Kt=Mt.length;mr[0]=2;for(var dr=0;dr<Kt;dr+=1)er=cr&&cr[dr]||0,mr[dr+1]=Mt[dr]-er+256&255;return mr},Re=function(Mt,Ge,cr){var er,mr,Kt=[],dr=Mt.length;Kt[0]=3;for(var Zr=0;Zr<dr;Zr+=1)er=Mt[Zr-Ge]||0,mr=cr&&cr[Zr]||0,Kt[Zr+1]=Mt[Zr]+256-(er+mr>>>1)&255;return Kt},ke=function(Mt,Ge,cr){var er,mr,Kt,dr,Zr=[],dn=Mt.length;Zr[0]=4;for(var hn=0;hn<dn;hn+=1)er=Mt[hn-Ge]||0,mr=cr&&cr[hn]||0,Kt=cr&&cr[hn-Ge]||0,dr=it(er,mr,Kt),Zr[hn+1]=Mt[hn]-dr+256&255;return Zr},it=function(Mt,Ge,cr){if(Mt===Ge&&Ge===cr)return Mt;var er=Math.abs(Ge-cr),mr=Math.abs(Mt-cr),Kt=Math.abs(Mt+Ge-cr-cr);return er<=mr&&er<=Kt?Mt:mr<=Kt?Ge:cr},gt=function(){return[Be,ve,Le,Re,ke]},Et=function(Mt){var Ge=Mt.map(function(cr){return cr.reduce(function(er,mr){return er+Math.abs(mr)},0)});return Ge.indexOf(Math.min.apply(null,Ge))};z.processPNG=function(Mt,Ge,cr,er){var mr,Kt,dr,Zr,dn,hn,$n,cn,Er,Gn,Vn,Xt,rr,Ur,Or,En=this.decode.FLATE_DECODE,yn="";if(this.__addimage__.isArrayBuffer(Mt)&&(Mt=new Uint8Array(Mt)),this.__addimage__.isArrayBufferView(Mt)){if(Mt=(dr=new Po(Mt)).imgData,Kt=dr.bits,mr=dr.colorSpace,dn=dr.colors,[4,6].indexOf(dr.colorType)!==-1){if(dr.bits===8){Er=(cn=dr.pixelBitlength==32?new Uint32Array(dr.decodePixels().buffer):dr.pixelBitlength==16?new Uint16Array(dr.decodePixels().buffer):new Uint8Array(dr.decodePixels().buffer)).length,Vn=new Uint8Array(Er*dr.colors),Gn=new Uint8Array(Er);var Rn,pn=dr.pixelBitlength-dr.bits;for(Ur=0,Or=0;Ur<Er;Ur++){for(rr=cn[Ur],Rn=0;Rn<pn;)Vn[Or++]=rr>>>Rn&255,Rn+=dr.bits;Gn[Ur]=rr>>>Rn&255}}if(dr.bits===16){Er=(cn=new Uint32Array(dr.decodePixels().buffer)).length,Vn=new Uint8Array(Er*(32/dr.pixelBitlength)*dr.colors),Gn=new Uint8Array(Er*(32/dr.pixelBitlength)),Xt=dr.colors>1,Ur=0,Or=0;for(var Un=0;Ur<Er;)rr=cn[Ur++],Vn[Or++]=rr>>>0&255,Xt&&(Vn[Or++]=rr>>>16&255,rr=cn[Ur++],Vn[Or++]=rr>>>0&255),Gn[Un++]=rr>>>16&255;Kt=8}er!==z.image_compression.NONE&&_()?(Mt=H(Vn,dr.width*dr.colors,dr.colors,er),$n=H(Gn,dr.width,1,er)):(Mt=Vn,$n=Gn,En=void 0)}if(dr.colorType===3&&(mr=this.color_spaces.INDEXED,hn=dr.palette,dr.transparency.indexed)){var kn=dr.transparency.indexed,Ui=0;for(Ur=0,Er=kn.length;Ur<Er;++Ur)Ui+=kn[Ur];if((Ui/=255)===Er-1&&kn.indexOf(0)!==-1)Zr=[kn.indexOf(0)];else if(Ui!==Er){for(cn=dr.decodePixels(),Gn=new Uint8Array(cn.length),Ur=0,Er=cn.length;Ur<Er;Ur++)Gn[Ur]=kn[cn[Ur]];$n=H(Gn,dr.width,1)}}var Ot=function(Ar){var Br;switch(Ar){case z.image_compression.FAST:Br=11;break;case z.image_compression.MEDIUM:Br=13;break;case z.image_compression.SLOW:Br=14;break;default:Br=12}return Br}(er);return En===this.decode.FLATE_DECODE&&(yn="/Predictor "+Ot+" "),yn+="/Colors "+dn+" /BitsPerComponent "+Kt+" /Columns "+dr.width,(this.__addimage__.isArrayBuffer(Mt)||this.__addimage__.isArrayBufferView(Mt))&&(Mt=this.__addimage__.arrayBufferToBinaryString(Mt)),($n&&this.__addimage__.isArrayBuffer($n)||this.__addimage__.isArrayBufferView($n))&&($n=this.__addimage__.arrayBufferToBinaryString($n)),{alias:cr,data:Mt,index:Ge,filter:En,decodeParameters:yn,transparency:Zr,palette:hn,sMask:$n,predictor:Ot,width:dr.width,height:dr.height,bitsPerComponent:Kt,colorSpace:mr}}}})(zt.API),function(z){z.processGIF89A=function(_,H,Ae,Be){var ve=new Ds(_),Le=ve.width,Re=ve.height,ke=[];ve.decodeAndBlitFrameRGBA(0,ke);var it={data:ke,width:Le,height:Re},gt=new jt(100).encode(it,100);return z.processJPEG.call(this,gt,H,Ae,Be)},z.processGIF87A=z.processGIF89A}(zt.API),pt.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var z=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(z);for(var _=0;_<z;_++){var H=this.datav.getUint8(this.pos++,!0),Ae=this.datav.getUint8(this.pos++,!0),Be=this.datav.getUint8(this.pos++,!0),ve=this.datav.getUint8(this.pos++,!0);this.palette[_]={red:Be,green:Ae,blue:H,quad:ve}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},pt.prototype.parseBGR=function(){this.pos=this.offset;try{var z="bit"+this.bitPP,_=this.width*this.height*4;this.data=new Uint8Array(_),this[z]()}catch(H){ti.log("bit decode error:"+H)}},pt.prototype.bit1=function(){var z,_=Math.ceil(this.width/8),H=_%4;for(z=this.height-1;z>=0;z--){for(var Ae=this.bottom_up?z:this.height-1-z,Be=0;Be<_;Be++)for(var ve=this.datav.getUint8(this.pos++,!0),Le=Ae*this.width*4+8*Be*4,Re=0;Re<8&&8*Be+Re<this.width;Re++){var ke=this.palette[ve>>7-Re&1];this.data[Le+4*Re]=ke.blue,this.data[Le+4*Re+1]=ke.green,this.data[Le+4*Re+2]=ke.red,this.data[Le+4*Re+3]=255}H!==0&&(this.pos+=4-H)}},pt.prototype.bit4=function(){for(var z=Math.ceil(this.width/2),_=z%4,H=this.height-1;H>=0;H--){for(var Ae=this.bottom_up?H:this.height-1-H,Be=0;Be<z;Be++){var ve=this.datav.getUint8(this.pos++,!0),Le=Ae*this.width*4+2*Be*4,Re=ve>>4,ke=15&ve,it=this.palette[Re];if(this.data[Le]=it.blue,this.data[Le+1]=it.green,this.data[Le+2]=it.red,this.data[Le+3]=255,2*Be+1>=this.width)break;it=this.palette[ke],this.data[Le+4]=it.blue,this.data[Le+4+1]=it.green,this.data[Le+4+2]=it.red,this.data[Le+4+3]=255}_!==0&&(this.pos+=4-_)}},pt.prototype.bit8=function(){for(var z=this.width%4,_=this.height-1;_>=0;_--){for(var H=this.bottom_up?_:this.height-1-_,Ae=0;Ae<this.width;Ae++){var Be=this.datav.getUint8(this.pos++,!0),ve=H*this.width*4+4*Ae;if(Be<this.palette.length){var Le=this.palette[Be];this.data[ve]=Le.red,this.data[ve+1]=Le.green,this.data[ve+2]=Le.blue,this.data[ve+3]=255}else this.data[ve]=255,this.data[ve+1]=255,this.data[ve+2]=255,this.data[ve+3]=255}z!==0&&(this.pos+=4-z)}},pt.prototype.bit15=function(){for(var z=this.width%3,_=parseInt("11111",2),H=this.height-1;H>=0;H--){for(var Ae=this.bottom_up?H:this.height-1-H,Be=0;Be<this.width;Be++){var ve=this.datav.getUint16(this.pos,!0);this.pos+=2;var Le=(ve&_)/_*255|0,Re=(ve>>5&_)/_*255|0,ke=(ve>>10&_)/_*255|0,it=ve>>15?255:0,gt=Ae*this.width*4+4*Be;this.data[gt]=ke,this.data[gt+1]=Re,this.data[gt+2]=Le,this.data[gt+3]=it}this.pos+=z}},pt.prototype.bit16=function(){for(var z=this.width%3,_=parseInt("11111",2),H=parseInt("111111",2),Ae=this.height-1;Ae>=0;Ae--){for(var Be=this.bottom_up?Ae:this.height-1-Ae,ve=0;ve<this.width;ve++){var Le=this.datav.getUint16(this.pos,!0);this.pos+=2;var Re=(Le&_)/_*255|0,ke=(Le>>5&H)/H*255|0,it=(Le>>11)/_*255|0,gt=Be*this.width*4+4*ve;this.data[gt]=it,this.data[gt+1]=ke,this.data[gt+2]=Re,this.data[gt+3]=255}this.pos+=z}},pt.prototype.bit24=function(){for(var z=this.height-1;z>=0;z--){for(var _=this.bottom_up?z:this.height-1-z,H=0;H<this.width;H++){var Ae=this.datav.getUint8(this.pos++,!0),Be=this.datav.getUint8(this.pos++,!0),ve=this.datav.getUint8(this.pos++,!0),Le=_*this.width*4+4*H;this.data[Le]=ve,this.data[Le+1]=Be,this.data[Le+2]=Ae,this.data[Le+3]=255}this.pos+=this.width%4}},pt.prototype.bit32=function(){for(var z=this.height-1;z>=0;z--)for(var _=this.bottom_up?z:this.height-1-z,H=0;H<this.width;H++){var Ae=this.datav.getUint8(this.pos++,!0),Be=this.datav.getUint8(this.pos++,!0),ve=this.datav.getUint8(this.pos++,!0),Le=this.datav.getUint8(this.pos++,!0),Re=_*this.width*4+4*H;this.data[Re]=ve,this.data[Re+1]=Be,this.data[Re+2]=Ae,this.data[Re+3]=Le}},pt.prototype.getData=function(){return this.data},function(z){z.processBMP=function(_,H,Ae,Be){var ve=new pt(_,!1),Le=ve.width,Re=ve.height,ke={data:ve.getData(),width:Le,height:Re},it=new jt(100).encode(ke,100);return z.processJPEG.call(this,it,H,Ae,Be)}}(zt.API),wt.prototype.getData=function(){return this.data},function(z){z.processWEBP=function(_,H,Ae,Be){var ve=new wt(_,!1),Le=ve.width,Re=ve.height,ke={data:ve.getData(),width:Le,height:Re},it=new jt(100).encode(ke,100);return z.processJPEG.call(this,it,H,Ae,Be)}}(zt.API),zt.API.processRGBA=function(z,_,H){for(var Ae=z.data,Be=Ae.length,ve=new Uint8Array(Be/4*3),Le=new Uint8Array(Be/4),Re=0,ke=0,it=0;it<Be;it+=4){var gt=Ae[it],Et=Ae[it+1],Mt=Ae[it+2],Ge=Ae[it+3];ve[Re++]=gt,ve[Re++]=Et,ve[Re++]=Mt,Le[ke++]=Ge}var cr=this.__addimage__.arrayBufferToBinaryString(ve);return{alpha:this.__addimage__.arrayBufferToBinaryString(Le),data:cr,index:_,alias:H,colorSpace:"DeviceRGB",bitsPerComponent:8,width:z.width,height:z.height}},zt.API.setLanguage=function(z){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[z]!==void 0&&(this.internal.languageSettings.languageCode=z,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},Pa=zt.API,ns=Pa.getCharWidthsArray=function(z,_){var H,Ae,Be=(_=_||{}).font||this.internal.getFont(),ve=_.fontSize||this.internal.getFontSize(),Le=_.charSpace||this.internal.getCharSpace(),Re=_.widths?_.widths:Be.metadata.Unicode.widths,ke=Re.fof?Re.fof:1,it=_.kerning?_.kerning:Be.metadata.Unicode.kerning,gt=it.fof?it.fof:1,Et=_.doKerning!==!1,Mt=0,Ge=z.length,cr=0,er=Re[0]||ke,mr=[];for(H=0;H<Ge;H++)Ae=z.charCodeAt(H),typeof Be.metadata.widthOfString=="function"?mr.push((Be.metadata.widthOfGlyph(Be.metadata.characterToGlyph(Ae))+Le*(1e3/ve)||0)/1e3):(Mt=Et&&(0,n.Z)(it[Ae])==="object"&&!isNaN(parseInt(it[Ae][cr],10))?it[Ae][cr]/gt:0,mr.push((Re[Ae]||er)/ke+Mt)),cr=Ae;return mr},Zl=Pa.getStringUnitWidth=function(z,_){var H=(_=_||{}).fontSize||this.internal.getFontSize(),Ae=_.font||this.internal.getFont(),Be=_.charSpace||this.internal.getCharSpace();return Pa.processArabic&&(z=Pa.processArabic(z)),typeof Ae.metadata.widthOfString=="function"?Ae.metadata.widthOfString(z,H,Be)/H:ns.apply(this,arguments).reduce(function(ve,Le){return ve+Le},0)},ll=function(z,_,H,Ae){for(var Be=[],ve=0,Le=z.length,Re=0;ve!==Le&&Re+_[ve]<H;)Re+=_[ve],ve++;Be.push(z.slice(0,ve));var ke=ve;for(Re=0;ve!==Le;)Re+_[ve]>Ae&&(Be.push(z.slice(ke,ve)),Re=0,ke=ve),Re+=_[ve],ve++;return ke!==ve&&Be.push(z.slice(ke,ve)),Be},ul=function(z,_,H){H||(H={});var Ae,Be,ve,Le,Re,ke,it,gt=[],Et=[gt],Mt=H.textIndent||0,Ge=0,cr=0,er=z.split(" "),mr=ns.apply(this,[" ",H])[0];if(ke=H.lineIndent===-1?er[0].length+2:H.lineIndent||0){var Kt=Array(ke).join(" "),dr=[];er.map(function(dn){(dn=dn.split(/\s*\n/)).length>1?dr=dr.concat(dn.map(function(hn,$n){return($n&&hn.length?`
`:"")+hn})):dr.push(dn[0])}),er=dr,ke=Zl.apply(this,[Kt,H])}for(ve=0,Le=er.length;ve<Le;ve++){var Zr=0;if(Ae=er[ve],ke&&Ae[0]==`
`&&(Ae=Ae.substr(1),Zr=1),Mt+Ge+(cr=(Be=ns.apply(this,[Ae,H])).reduce(function(dn,hn){return dn+hn},0))>_||Zr){if(cr>_){for(Re=ll.apply(this,[Ae,Be,_-(Mt+Ge),_]),gt.push(Re.shift()),gt=[Re.pop()];Re.length;)Et.push([Re.shift()]);cr=Be.slice(Ae.length-(gt[0]?gt[0].length:0)).reduce(function(dn,hn){return dn+hn},0)}else gt=[Ae];Et.push(gt),Mt=cr+ke,Ge=mr}else gt.push(Ae),Mt+=Ge+cr,Ge=mr}return it=ke?function(dn,hn){return(hn?Kt:"")+dn.join(" ")}:function(dn){return dn.join(" ")},Et.map(it)},Pa.splitTextToSize=function(z,_,H){var Ae,Be=(H=H||{}).fontSize||this.internal.getFontSize(),ve=function(gt){if(gt.widths&&gt.kerning)return{widths:gt.widths,kerning:gt.kerning};var Et=this.internal.getFont(gt.fontName,gt.fontStyle);return Et.metadata.Unicode?{widths:Et.metadata.Unicode.widths||{0:1},kerning:Et.metadata.Unicode.kerning||{}}:{font:Et.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,H);Ae=Array.isArray(z)?z:String(z).split(/\r?\n/);var Le=1*this.internal.scaleFactor*_/Be;ve.textIndent=H.textIndent?1*H.textIndent*this.internal.scaleFactor/Be:0,ve.lineIndent=H.lineIndent;var Re,ke,it=[];for(Re=0,ke=Ae.length;Re<ke;Re++)it=it.concat(ul.apply(this,[Ae[Re],Le,ve]));return it},function(z){z.__fontmetrics__=z.__fontmetrics__||{};for(var _="klmnopqrstuvwxyz",H={},Ae={},Be=0;Be<_.length;Be++)H[_[Be]]="0123456789abcdef"[Be],Ae["0123456789abcdef"[Be]]=_[Be];var ve=function(Et){return"0x"+parseInt(Et,10).toString(16)},Le=z.__fontmetrics__.compress=function(Et){var Mt,Ge,cr,er,mr=["{"];for(var Kt in Et){if(Mt=Et[Kt],isNaN(parseInt(Kt,10))?Ge="'"+Kt+"'":(Kt=parseInt(Kt,10),Ge=(Ge=ve(Kt).slice(2)).slice(0,-1)+Ae[Ge.slice(-1)]),typeof Mt=="number")Mt<0?(cr=ve(Mt).slice(3),er="-"):(cr=ve(Mt).slice(2),er=""),cr=er+cr.slice(0,-1)+Ae[cr.slice(-1)];else{if((0,n.Z)(Mt)!=="object")throw new Error("Don't know what to do with value type "+(0,n.Z)(Mt)+".");cr=Le(Mt)}mr.push(Ge+cr)}return mr.push("}"),mr.join("")},Re=z.__fontmetrics__.uncompress=function(Et){if(typeof Et!="string")throw new Error("Invalid argument passed to uncompress.");for(var Mt,Ge,cr,er,mr={},Kt=1,dr=mr,Zr=[],dn="",hn="",$n=Et.length-1,cn=1;cn<$n;cn+=1)(er=Et[cn])=="'"?Mt?(cr=Mt.join(""),Mt=void 0):Mt=[]:Mt?Mt.push(er):er=="{"?(Zr.push([dr,cr]),dr={},cr=void 0):er=="}"?((Ge=Zr.pop())[0][Ge[1]]=dr,cr=void 0,dr=Ge[0]):er=="-"?Kt=-1:cr===void 0?H.hasOwnProperty(er)?(dn+=H[er],cr=parseInt(dn,16)*Kt,Kt=1,dn=""):dn+=er:H.hasOwnProperty(er)?(hn+=H[er],dr[cr]=parseInt(hn,16)*Kt,Kt=1,cr=void 0,hn=""):hn+=er;return mr},ke={codePages:["WinAnsiEncoding"],WinAnsiEncoding:Re("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},it={Unicode:{Courier:ke,"Courier-Bold":ke,"Courier-BoldOblique":ke,"Courier-Oblique":ke,Helvetica:ke,"Helvetica-Bold":ke,"Helvetica-BoldOblique":ke,"Helvetica-Oblique":ke,"Times-Roman":ke,"Times-Bold":ke,"Times-BoldItalic":ke,"Times-Italic":ke}},gt={Unicode:{"Courier-Oblique":Re("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":Re("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":Re("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:Re("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":Re("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":Re("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:Re("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:Re("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":Re("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:Re("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":Re("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":Re("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":Re("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":Re("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};z.events.push(["addFont",function(Et){var Mt=Et.font,Ge=gt.Unicode[Mt.postScriptName];Ge&&(Mt.metadata.Unicode={},Mt.metadata.Unicode.widths=Ge.widths,Mt.metadata.Unicode.kerning=Ge.kerning);var cr=it.Unicode[Mt.postScriptName];cr&&(Mt.metadata.Unicode.encoding=cr,Mt.encoding=cr.codePages[0])}])}(zt.API),function(z){var _=function(H){for(var Ae=H.length,Be=new Uint8Array(Ae),ve=0;ve<Ae;ve++)Be[ve]=H.charCodeAt(ve);return Be};z.API.events.push(["addFont",function(H){var Ae=void 0,Be=H.font,ve=H.instance;if(!Be.isStandardFont){if(ve===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+Be.postScriptName+"').");if(typeof(Ae=ve.existsFileInVFS(Be.postScriptName)===!1?ve.loadFile(Be.postScriptName):ve.getFileFromVFS(Be.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+Be.postScriptName+"').");(function(Le,Re){Re=/^\x00\x01\x00\x00/.test(Re)?_(Re):_(mt(Re)),Le.metadata=z.API.TTFFont.open(Re),Le.metadata.Unicode=Le.metadata.Unicode||{encoding:{},kerning:{},widths:[]},Le.metadata.glyIdsUsed=[0]})(Be,Ae)}}])}(zt),function(z){function _(){return(Yr.canvg?Promise.resolve(Yr.canvg):t.e(6311).then(t.bind(t,66311))).catch(function(H){return Promise.reject(new Error("Could not load canvg: "+H))}).then(function(H){return H.default?H.default:H})}zt.API.addSvgAsImage=function(H,Ae,Be,ve,Le,Re,ke,it){if(isNaN(Ae)||isNaN(Be))throw ti.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(ve)||isNaN(Le))throw ti.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var gt=document.createElement("canvas");gt.width=ve,gt.height=Le;var Et=gt.getContext("2d");Et.fillStyle="#fff",Et.fillRect(0,0,gt.width,gt.height);var Mt={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},Ge=this;return _().then(function(cr){return cr.fromString(Et,H,Mt)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(cr){return cr.render(Mt)}).then(function(){Ge.addImage(gt.toDataURL("image/jpeg",1),Ae,Be,ve,Le,ke,it)})}}(),zt.API.putTotalPages=function(z){var _,H=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(_=new RegExp(z,"g"),H=this.internal.getNumberOfPages()):(_=new RegExp(this.pdfEscape16(z,this.internal.getFont()),"g"),H=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var Ae=1;Ae<=this.internal.getNumberOfPages();Ae++)for(var Be=0;Be<this.internal.pages[Ae].length;Be++)this.internal.pages[Ae][Be]=this.internal.pages[Ae][Be].replace(_,H);return this},zt.API.viewerPreferences=function(z,_){var H;z=z||{},_=_||!1;var Ae,Be,ve,Le={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},Re=Object.keys(Le),ke=[],it=0,gt=0,Et=0;function Mt(cr,er){var mr,Kt=!1;for(mr=0;mr<cr.length;mr+=1)cr[mr]===er&&(Kt=!0);return Kt}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(Le)),this.internal.viewerpreferences.isSubscribed=!1),H=this.internal.viewerpreferences.configuration,z==="reset"||_===!0){var Ge=Re.length;for(Et=0;Et<Ge;Et+=1)H[Re[Et]].value=H[Re[Et]].defaultValue,H[Re[Et]].explicitSet=!1}if((0,n.Z)(z)==="object"){for(Be in z)if(ve=z[Be],Mt(Re,Be)&&ve!==void 0){if(H[Be].type==="boolean"&&typeof ve=="boolean")H[Be].value=ve;else if(H[Be].type==="name"&&Mt(H[Be].valueSet,ve))H[Be].value=ve;else if(H[Be].type==="integer"&&Number.isInteger(ve))H[Be].value=ve;else if(H[Be].type==="array"){for(it=0;it<ve.length;it+=1)if(Ae=!0,ve[it].length===1&&typeof ve[it][0]=="number")ke.push(String(ve[it]-1));else if(ve[it].length>1){for(gt=0;gt<ve[it].length;gt+=1)typeof ve[it][gt]!="number"&&(Ae=!1);Ae===!0&&ke.push([ve[it][0]-1,ve[it][1]-1].join(" "))}H[Be].value="["+ke.join(" ")+"]"}else H[Be].value=H[Be].defaultValue;H[Be].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var cr,er=[];for(cr in H)H[cr].explicitSet===!0&&(H[cr].type==="name"?er.push("/"+cr+" /"+H[cr].value):er.push("/"+cr+" "+H[cr].value));er.length!==0&&this.internal.write(`/ViewerPreferences
<<
`+er.join(`
`)+`
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=H,this},function(z){var _=function(){var Ae='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',Be=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),ve=unescape(encodeURIComponent(Ae)),Le=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),Re=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),ke=unescape(encodeURIComponent("</x:xmpmeta>")),it=ve.length+Le.length+Re.length+Be.length+ke.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+it+" >>"),this.internal.write("stream"),this.internal.write(Be+ve+Le+Re+ke),this.internal.write("endstream"),this.internal.write("endobj")},H=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};z.addMetadata=function(Ae,Be){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:Ae,namespaceuri:Be||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",H),this.internal.events.subscribe("postPutResources",_)),this}}(zt.API),function(z){var _=z.API,H=_.pdfEscape16=function(ve,Le){for(var Re,ke=Le.metadata.Unicode.widths,it=["","0","00","000","0000"],gt=[""],Et=0,Mt=ve.length;Et<Mt;++Et){if(Re=Le.metadata.characterToGlyph(ve.charCodeAt(Et)),Le.metadata.glyIdsUsed.push(Re),Le.metadata.toUnicode[Re]=ve.charCodeAt(Et),ke.indexOf(Re)==-1&&(ke.push(Re),ke.push([parseInt(Le.metadata.widthOfGlyph(Re),10)])),Re=="0")return gt.join("");Re=Re.toString(16),gt.push(it[4-Re.length],Re)}return gt.join("")},Ae=function(ve){var Le,Re,ke,it,gt,Et,Mt;for(gt=`/CIDInit /ProcSet findresource begin
12 dict begin
begincmap
/CIDSystemInfo <<
  /Registry (Adobe)
  /Ordering (UCS)
  /Supplement 0
>> def
/CMapName /Adobe-Identity-UCS def
/CMapType 2 def
1 begincodespacerange
<0000><ffff>
endcodespacerange`,ke=[],Et=0,Mt=(Re=Object.keys(ve).sort(function(Ge,cr){return Ge-cr})).length;Et<Mt;Et++)Le=Re[Et],ke.length>=100&&(gt+=`
`+ke.length+` beginbfchar
`+ke.join(`
`)+`
endbfchar`,ke=[]),ve[Le]!==void 0&&ve[Le]!==null&&typeof ve[Le].toString=="function"&&(it=("0000"+ve[Le].toString(16)).slice(-4),Le=("0000"+(+Le).toString(16)).slice(-4),ke.push("<"+Le+"><"+it+">"));return ke.length&&(gt+=`
`+ke.length+` beginbfchar
`+ke.join(`
`)+`
endbfchar
`),gt+=`endcmap
CMapName currentdict /CMap defineresource pop
end
end`};_.events.push(["putFont",function(ve){(function(Le){var Re=Le.font,ke=Le.out,it=Le.newObject,gt=Le.putStream;if(Re.metadata instanceof z.API.TTFFont&&Re.encoding==="Identity-H"){for(var Et=Re.metadata.Unicode.widths,Mt=Re.metadata.subset.encode(Re.metadata.glyIdsUsed,1),Ge="",cr=0;cr<Mt.length;cr++)Ge+=String.fromCharCode(Mt[cr]);var er=it();gt({data:Ge,addLength1:!0,objectId:er}),ke("endobj");var mr=it();gt({data:Ae(Re.metadata.toUnicode),addLength1:!0,objectId:mr}),ke("endobj");var Kt=it();ke("<<"),ke("/Type /FontDescriptor"),ke("/FontName /"+Ke(Re.fontName)),ke("/FontFile2 "+er+" 0 R"),ke("/FontBBox "+z.API.PDFObject.convert(Re.metadata.bbox)),ke("/Flags "+Re.metadata.flags),ke("/StemV "+Re.metadata.stemV),ke("/ItalicAngle "+Re.metadata.italicAngle),ke("/Ascent "+Re.metadata.ascender),ke("/Descent "+Re.metadata.decender),ke("/CapHeight "+Re.metadata.capHeight),ke(">>"),ke("endobj");var dr=it();ke("<<"),ke("/Type /Font"),ke("/BaseFont /"+Ke(Re.fontName)),ke("/FontDescriptor "+Kt+" 0 R"),ke("/W "+z.API.PDFObject.convert(Et)),ke("/CIDToGIDMap /Identity"),ke("/DW 1000"),ke("/Subtype /CIDFontType2"),ke("/CIDSystemInfo"),ke("<<"),ke("/Supplement 0"),ke("/Registry (Adobe)"),ke("/Ordering ("+Re.encoding+")"),ke(">>"),ke(">>"),ke("endobj"),Re.objectNumber=it(),ke("<<"),ke("/Type /Font"),ke("/Subtype /Type0"),ke("/ToUnicode "+mr+" 0 R"),ke("/BaseFont /"+Ke(Re.fontName)),ke("/Encoding /"+Re.encoding),ke("/DescendantFonts ["+dr+" 0 R]"),ke(">>"),ke("endobj"),Re.isAlreadyPutted=!0}})(ve)}]),_.events.push(["putFont",function(ve){(function(Le){var Re=Le.font,ke=Le.out,it=Le.newObject,gt=Le.putStream;if(Re.metadata instanceof z.API.TTFFont&&Re.encoding==="WinAnsiEncoding"){for(var Et=Re.metadata.rawData,Mt="",Ge=0;Ge<Et.length;Ge++)Mt+=String.fromCharCode(Et[Ge]);var cr=it();gt({data:Mt,addLength1:!0,objectId:cr}),ke("endobj");var er=it();gt({data:Ae(Re.metadata.toUnicode),addLength1:!0,objectId:er}),ke("endobj");var mr=it();ke("<<"),ke("/Descent "+Re.metadata.decender),ke("/CapHeight "+Re.metadata.capHeight),ke("/StemV "+Re.metadata.stemV),ke("/Type /FontDescriptor"),ke("/FontFile2 "+cr+" 0 R"),ke("/Flags 96"),ke("/FontBBox "+z.API.PDFObject.convert(Re.metadata.bbox)),ke("/FontName /"+Ke(Re.fontName)),ke("/ItalicAngle "+Re.metadata.italicAngle),ke("/Ascent "+Re.metadata.ascender),ke(">>"),ke("endobj"),Re.objectNumber=it();for(var Kt=0;Kt<Re.metadata.hmtx.widths.length;Kt++)Re.metadata.hmtx.widths[Kt]=parseInt(Re.metadata.hmtx.widths[Kt]*(1e3/Re.metadata.head.unitsPerEm));ke("<</Subtype/TrueType/Type/Font/ToUnicode "+er+" 0 R/BaseFont/"+Ke(Re.fontName)+"/FontDescriptor "+mr+" 0 R/Encoding/"+Re.encoding+" /FirstChar 29 /LastChar 255 /Widths "+z.API.PDFObject.convert(Re.metadata.hmtx.widths)+">>"),ke("endobj"),Re.isAlreadyPutted=!0}})(ve)}]);var Be=function(ve){var Le,Re=ve.text||"",ke=ve.x,it=ve.y,gt=ve.options||{},Et=ve.mutex||{},Mt=Et.pdfEscape,Ge=Et.activeFontKey,cr=Et.fonts,er=Ge,mr="",Kt=0,dr="",Zr=cr[er].encoding;if(cr[er].encoding!=="Identity-H")return{text:Re,x:ke,y:it,options:gt,mutex:Et};for(dr=Re,er=Ge,Array.isArray(Re)&&(dr=Re[0]),Kt=0;Kt<dr.length;Kt+=1)cr[er].metadata.hasOwnProperty("cmap")&&(Le=cr[er].metadata.cmap.unicode.codeMap[dr[Kt].charCodeAt(0)]),Le||dr[Kt].charCodeAt(0)<256&&cr[er].metadata.hasOwnProperty("Unicode")?mr+=dr[Kt]:mr+="";var dn="";return parseInt(er.slice(1))<14||Zr==="WinAnsiEncoding"?dn=Mt(mr,er).split("").map(function(hn){return hn.charCodeAt(0).toString(16)}).join(""):Zr==="Identity-H"&&(dn=H(mr,cr[er])),Et.isHex=!0,{text:dn,x:ke,y:it,options:gt,mutex:Et}};_.events.push(["postProcessText",function(ve){var Le=ve.text||"",Re=[],ke={text:Le,x:ve.x,y:ve.y,options:ve.options,mutex:ve.mutex};if(Array.isArray(Le)){var it=0;for(it=0;it<Le.length;it+=1)Array.isArray(Le[it])&&Le[it].length===3?Re.push([Be(Object.assign({},ke,{text:Le[it][0]})).text,Le[it][1],Le[it][2]]):Re.push(Be(Object.assign({},ke,{text:Le[it]})).text);ve.text=Re}else ve.text=Be(Object.assign({},ke,{text:Le})).text}])}(zt),function(z){var _=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};z.existsFileInVFS=function(H){return _.call(this),this.internal.vFS[H]!==void 0},z.addFileToVFS=function(H,Ae){return _.call(this),this.internal.vFS[H]=Ae,this},z.getFileFromVFS=function(H){return _.call(this),this.internal.vFS[H]!==void 0?this.internal.vFS[H]:null}}(zt.API),function(z){z.__bidiEngine__=z.prototype.__bidiEngine__=function(Ae){var Be,ve,Le,Re,ke,it,gt,Et=_,Mt=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],Ge=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],cr={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},er={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},mr=["(",")","(","<",">","<","[","]","[","{","}","{","\xAB","\xBB","\xAB","\u2039","\u203A","\u2039","\u2045","\u2046","\u2045","\u207D","\u207E","\u207D","\u208D","\u208E","\u208D","\u2264","\u2265","\u2264","\u2329","\u232A","\u2329","\uFE59","\uFE5A","\uFE59","\uFE5B","\uFE5C","\uFE5B","\uFE5D","\uFE5E","\uFE5D","\uFE64","\uFE65","\uFE64"],Kt=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),dr=!1,Zr=0;this.__bidiEngine__={};var dn=function(Xt){var rr=Xt.charCodeAt(),Ur=rr>>8,Or=er[Ur];return Or!==void 0?Et[256*Or+(255&rr)]:Ur===252||Ur===253?"AL":Kt.test(Ur)?"L":Ur===8?"R":"N"},hn=function(Xt){for(var rr,Ur=0;Ur<Xt.length;Ur++){if((rr=dn(Xt.charAt(Ur)))==="L")return!1;if(rr==="R")return!0}return!1},$n=function(Xt,rr,Ur,Or){var En,yn,Rn,pn,Un=rr[Or];switch(Un){case"L":case"R":dr=!1;break;case"N":case"AN":break;case"EN":dr&&(Un="AN");break;case"AL":dr=!0,Un="R";break;case"WS":Un="N";break;case"CS":Or<1||Or+1>=rr.length||(En=Ur[Or-1])!=="EN"&&En!=="AN"||(yn=rr[Or+1])!=="EN"&&yn!=="AN"?Un="N":dr&&(yn="AN"),Un=yn===En?yn:"N";break;case"ES":Un=(En=Or>0?Ur[Or-1]:"B")==="EN"&&Or+1<rr.length&&rr[Or+1]==="EN"?"EN":"N";break;case"ET":if(Or>0&&Ur[Or-1]==="EN"){Un="EN";break}if(dr){Un="N";break}for(Rn=Or+1,pn=rr.length;Rn<pn&&rr[Rn]==="ET";)Rn++;Un=Rn<pn&&rr[Rn]==="EN"?"EN":"N";break;case"NSM":if(Le&&!Re){for(pn=rr.length,Rn=Or+1;Rn<pn&&rr[Rn]==="NSM";)Rn++;if(Rn<pn){var kn=Xt[Or],Ui=kn>=1425&&kn<=2303||kn===64286;if(En=rr[Rn],Ui&&(En==="R"||En==="AL")){Un="R";break}}}Un=Or<1||(En=rr[Or-1])==="B"?"N":Ur[Or-1];break;case"B":dr=!1,Be=!0,Un=Zr;break;case"S":ve=!0,Un="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":dr=!1;break;case"BN":Un="N"}return Un},cn=function(Xt,rr,Ur){var Or=Xt.split("");return Ur&&Er(Or,Ur,{hiLevel:Zr}),Or.reverse(),rr&&rr.reverse(),Or.join("")},Er=function(Xt,rr,Ur){var Or,En,yn,Rn,pn,Un=-1,kn=Xt.length,Ui=0,Ot=[],Ar=Zr?Ge:Mt,Br=[];for(dr=!1,Be=!1,ve=!1,En=0;En<kn;En++)Br[En]=dn(Xt[En]);for(yn=0;yn<kn;yn++){if(pn=Ui,Ot[yn]=$n(Xt,Br,Ot,yn),Or=240&(Ui=Ar[pn][cr[Ot[yn]]]),Ui&=15,rr[yn]=Rn=Ar[Ui][5],Or>0)if(Or===16){for(En=Un;En<yn;En++)rr[En]=1;Un=-1}else Un=-1;if(Ar[Ui][6])Un===-1&&(Un=yn);else if(Un>-1){for(En=Un;En<yn;En++)rr[En]=Rn;Un=-1}Br[yn]==="B"&&(rr[yn]=0),Ur.hiLevel|=Rn}ve&&function(Wr,tn,Nr){for(var gn=0;gn<Nr;gn++)if(Wr[gn]==="S"){tn[gn]=Zr;for(var wn=gn-1;wn>=0&&Wr[wn]==="WS";wn--)tn[wn]=Zr}}(Br,rr,kn)},Gn=function(Xt,rr,Ur,Or,En){if(!(En.hiLevel<Xt)){if(Xt===1&&Zr===1&&!Be)return rr.reverse(),void(Ur&&Ur.reverse());for(var yn,Rn,pn,Un,kn=rr.length,Ui=0;Ui<kn;){if(Or[Ui]>=Xt){for(pn=Ui+1;pn<kn&&Or[pn]>=Xt;)pn++;for(Un=Ui,Rn=pn-1;Un<Rn;Un++,Rn--)yn=rr[Un],rr[Un]=rr[Rn],rr[Rn]=yn,Ur&&(yn=Ur[Un],Ur[Un]=Ur[Rn],Ur[Rn]=yn);Ui=pn}Ui++}}},Vn=function(Xt,rr,Ur){var Or=Xt.split(""),En={hiLevel:Zr};return Ur||(Ur=[]),Er(Or,Ur,En),function(yn,Rn,pn){if(pn.hiLevel!==0&&gt)for(var Un,kn=0;kn<yn.length;kn++)Rn[kn]===1&&(Un=mr.indexOf(yn[kn]))>=0&&(yn[kn]=mr[Un+1])}(Or,Ur,En),Gn(2,Or,rr,Ur,En),Gn(1,Or,rr,Ur,En),Or.join("")};return this.__bidiEngine__.doBidiReorder=function(Xt,rr,Ur){if(function(En,yn){if(yn)for(var Rn=0;Rn<En.length;Rn++)yn[Rn]=Rn;Re===void 0&&(Re=hn(En)),it===void 0&&(it=hn(En))}(Xt,rr),Le||!ke||it)if(Le&&ke&&Re^it)Zr=Re?1:0,Xt=cn(Xt,rr,Ur);else if(!Le&&ke&&it)Zr=Re?1:0,Xt=Vn(Xt,rr,Ur),Xt=cn(Xt,rr);else if(!Le||Re||ke||it){if(Le&&!ke&&Re^it)Xt=cn(Xt,rr),Re?(Zr=0,Xt=Vn(Xt,rr,Ur)):(Zr=1,Xt=Vn(Xt,rr,Ur),Xt=cn(Xt,rr));else if(Le&&Re&&!ke&&it)Zr=1,Xt=Vn(Xt,rr,Ur),Xt=cn(Xt,rr);else if(!Le&&!ke&&Re^it){var Or=gt;Re?(Zr=1,Xt=Vn(Xt,rr,Ur),Zr=0,gt=!1,Xt=Vn(Xt,rr,Ur),gt=Or):(Zr=0,Xt=Vn(Xt,rr,Ur),Xt=cn(Xt,rr),Zr=1,gt=!1,Xt=Vn(Xt,rr,Ur),gt=Or,Xt=cn(Xt,rr))}}else Zr=0,Xt=Vn(Xt,rr,Ur);else Zr=Re?1:0,Xt=Vn(Xt,rr,Ur);return Xt},this.__bidiEngine__.setOptions=function(Xt){Xt&&(Le=Xt.isInputVisual,ke=Xt.isOutputVisual,Re=Xt.isInputRtl,it=Xt.isOutputRtl,gt=Xt.isSymmetricSwapping)},this.__bidiEngine__.setOptions(Ae),this.__bidiEngine__};var _=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],H=new z.__bidiEngine__({isInputVisual:!0});z.API.events.push(["postProcessText",function(Ae){var Be=Ae.text,ve=(Ae.x,Ae.y,Ae.options||{}),Le=(Ae.mutex,ve.lang,[]);if(ve.isInputVisual=typeof ve.isInputVisual!="boolean"||ve.isInputVisual,H.setOptions(ve),Object.prototype.toString.call(Be)==="[object Array]"){var Re=0;for(Le=[],Re=0;Re<Be.length;Re+=1)Object.prototype.toString.call(Be[Re])==="[object Array]"?Le.push([H.doBidiReorder(Be[Re][0]),Be[Re][1],Be[Re][2]]):Le.push([H.doBidiReorder(Be[Re])]);Ae.text=Le}else Ae.text=H.doBidiReorder(Be);H.setOptions({isInputVisual:!0})}])}(zt),zt.API.TTFFont=function(){function z(_){var H;if(this.rawData=_,H=this.contents=new Ut(_),this.contents.pos=4,H.readString(4)==="ttcf")throw new Error("TTCF not supported.");H.pos=0,this.parse(),this.subset=new nl(this),this.registerTTF()}return z.open=function(_){return new z(_)},z.prototype.parse=function(){return this.directory=new fr(this.contents),this.head=new pi(this),this.name=new Us(this),this.cmap=new Mo(this),this.toUnicode={},this.hhea=new Vo(this),this.maxp=new Uo(this),this.hmtx=new Vs(this),this.post=new is(this),this.os2=new Bs(this),this.loca=new nu(this),this.glyf=new du(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},z.prototype.registerTTF=function(){var _,H,Ae,Be,ve;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var Le,Re,ke,it;for(it=[],Le=0,Re=(ke=this.bbox).length;Le<Re;Le++)_=ke[Le],it.push(Math.round(_*this.scaleFactor));return it}.call(this),this.stemV=0,this.post.exists?(Ae=255&(Be=this.post.italic_angle),32768&(H=Be>>16)&&(H=-(1+(65535^H))),this.italicAngle=+(H+"."+Ae)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(ve=this.familyClass)===1||ve===2||ve===3||ve===4||ve===5||ve===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},z.prototype.characterToGlyph=function(_){var H;return((H=this.cmap.unicode)!=null?H.codeMap[_]:void 0)||0},z.prototype.widthOfGlyph=function(_){var H;return H=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(_).advance*H},z.prototype.widthOfString=function(_,H,Ae){var Be,ve,Le,Re;for(Le=0,ve=0,Re=(_=""+_).length;0<=Re?ve<Re:ve>Re;ve=0<=Re?++ve:--ve)Be=_.charCodeAt(ve),Le+=this.widthOfGlyph(this.characterToGlyph(Be))+Ae*(1e3/H)||0;return Le*(H/1e3)},z.prototype.lineHeight=function(_,H){var Ae;return H==null&&(H=!1),Ae=H?this.lineGap:0,(this.ascender+Ae-this.decender)/1e3*_},z}();var Ye,Ut=function(){function z(_){this.data=_!=null?_:[],this.pos=0,this.length=this.data.length}return z.prototype.readByte=function(){return this.data[this.pos++]},z.prototype.writeByte=function(_){return this.data[this.pos++]=_},z.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},z.prototype.writeUInt32=function(_){return this.writeByte(_>>>24&255),this.writeByte(_>>16&255),this.writeByte(_>>8&255),this.writeByte(255&_)},z.prototype.readInt32=function(){var _;return(_=this.readUInt32())>=2147483648?_-4294967296:_},z.prototype.writeInt32=function(_){return _<0&&(_+=4294967296),this.writeUInt32(_)},z.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},z.prototype.writeUInt16=function(_){return this.writeByte(_>>8&255),this.writeByte(255&_)},z.prototype.readInt16=function(){var _;return(_=this.readUInt16())>=32768?_-65536:_},z.prototype.writeInt16=function(_){return _<0&&(_+=65536),this.writeUInt16(_)},z.prototype.readString=function(_){var H,Ae;for(Ae=[],H=0;0<=_?H<_:H>_;H=0<=_?++H:--H)Ae[H]=String.fromCharCode(this.readByte());return Ae.join("")},z.prototype.writeString=function(_){var H,Ae,Be;for(Be=[],H=0,Ae=_.length;0<=Ae?H<Ae:H>Ae;H=0<=Ae?++H:--H)Be.push(this.writeByte(_.charCodeAt(H)));return Be},z.prototype.readShort=function(){return this.readInt16()},z.prototype.writeShort=function(_){return this.writeInt16(_)},z.prototype.readLongLong=function(){var _,H,Ae,Be,ve,Le,Re,ke;return _=this.readByte(),H=this.readByte(),Ae=this.readByte(),Be=this.readByte(),ve=this.readByte(),Le=this.readByte(),Re=this.readByte(),ke=this.readByte(),128&_?-1*(72057594037927940*(255^_)+281474976710656*(255^H)+1099511627776*(255^Ae)+4294967296*(255^Be)+16777216*(255^ve)+65536*(255^Le)+256*(255^Re)+(255^ke)+1):72057594037927940*_+281474976710656*H+1099511627776*Ae+4294967296*Be+16777216*ve+65536*Le+256*Re+ke},z.prototype.writeLongLong=function(_){var H,Ae;return H=Math.floor(_/4294967296),Ae=4294967295&_,this.writeByte(H>>24&255),this.writeByte(H>>16&255),this.writeByte(H>>8&255),this.writeByte(255&H),this.writeByte(Ae>>24&255),this.writeByte(Ae>>16&255),this.writeByte(Ae>>8&255),this.writeByte(255&Ae)},z.prototype.readInt=function(){return this.readInt32()},z.prototype.writeInt=function(_){return this.writeInt32(_)},z.prototype.read=function(_){var H,Ae;for(H=[],Ae=0;0<=_?Ae<_:Ae>_;Ae=0<=_?++Ae:--Ae)H.push(this.readByte());return H},z.prototype.write=function(_){var H,Ae,Be,ve;for(ve=[],Ae=0,Be=_.length;Ae<Be;Ae++)H=_[Ae],ve.push(this.writeByte(H));return ve},z}(),fr=function(){var z;function _(H){var Ae,Be,ve;for(this.scalarType=H.readInt(),this.tableCount=H.readShort(),this.searchRange=H.readShort(),this.entrySelector=H.readShort(),this.rangeShift=H.readShort(),this.tables={},Be=0,ve=this.tableCount;0<=ve?Be<ve:Be>ve;Be=0<=ve?++Be:--Be)Ae={tag:H.readString(4),checksum:H.readInt(),offset:H.readInt(),length:H.readInt()},this.tables[Ae.tag]=Ae}return _.prototype.encode=function(H){var Ae,Be,ve,Le,Re,ke,it,gt,Et,Mt,Ge,cr,er;for(er in Ge=Object.keys(H).length,ke=Math.log(2),Et=16*Math.floor(Math.log(Ge)/ke),Le=Math.floor(Et/ke),gt=16*Ge-Et,(Be=new Ut).writeInt(this.scalarType),Be.writeShort(Ge),Be.writeShort(Et),Be.writeShort(Le),Be.writeShort(gt),ve=16*Ge,it=Be.pos+ve,Re=null,cr=[],H)for(Mt=H[er],Be.writeString(er),Be.writeInt(z(Mt)),Be.writeInt(it),Be.writeInt(Mt.length),cr=cr.concat(Mt),er==="head"&&(Re=it),it+=Mt.length;it%4;)cr.push(0),it++;return Be.write(cr),Ae=2981146554-z(Be.data),Be.pos=Re+8,Be.writeUInt32(Ae),Be.data},z=function(H){var Ae,Be,ve,Le;for(H=Ns.call(H);H.length%4;)H.push(0);for(ve=new Ut(H),Be=0,Ae=0,Le=H.length;Ae<Le;Ae=Ae+=4)Be+=ve.readUInt32();return 4294967295&Be},_}(),Tr={}.hasOwnProperty,ln=function(z,_){for(var H in _)Tr.call(_,H)&&(z[H]=_[H]);function Ae(){this.constructor=z}return Ae.prototype=_.prototype,z.prototype=new Ae,z.__super__=_.prototype,z};Ye=function(){function z(_){var H;this.file=_,H=this.file.directory.tables[this.tag],this.exists=!!H,H&&(this.offset=H.offset,this.length=H.length,this.parse(this.file.contents))}return z.prototype.parse=function(){},z.prototype.encode=function(){},z.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},z}();var pi=function(z){function _(){return _.__super__.constructor.apply(this,arguments)}return ln(_,Ye),_.prototype.tag="head",_.prototype.parse=function(H){return H.pos=this.offset,this.version=H.readInt(),this.revision=H.readInt(),this.checkSumAdjustment=H.readInt(),this.magicNumber=H.readInt(),this.flags=H.readShort(),this.unitsPerEm=H.readShort(),this.created=H.readLongLong(),this.modified=H.readLongLong(),this.xMin=H.readShort(),this.yMin=H.readShort(),this.xMax=H.readShort(),this.yMax=H.readShort(),this.macStyle=H.readShort(),this.lowestRecPPEM=H.readShort(),this.fontDirectionHint=H.readShort(),this.indexToLocFormat=H.readShort(),this.glyphDataFormat=H.readShort()},_.prototype.encode=function(H){var Ae;return(Ae=new Ut).writeInt(this.version),Ae.writeInt(this.revision),Ae.writeInt(this.checkSumAdjustment),Ae.writeInt(this.magicNumber),Ae.writeShort(this.flags),Ae.writeShort(this.unitsPerEm),Ae.writeLongLong(this.created),Ae.writeLongLong(this.modified),Ae.writeShort(this.xMin),Ae.writeShort(this.yMin),Ae.writeShort(this.xMax),Ae.writeShort(this.yMax),Ae.writeShort(this.macStyle),Ae.writeShort(this.lowestRecPPEM),Ae.writeShort(this.fontDirectionHint),Ae.writeShort(H),Ae.writeShort(this.glyphDataFormat),Ae.data},_}(),Di=function(){function z(_,H){var Ae,Be,ve,Le,Re,ke,it,gt,Et,Mt,Ge,cr,er,mr,Kt,dr,Zr;switch(this.platformID=_.readUInt16(),this.encodingID=_.readShort(),this.offset=H+_.readInt(),Et=_.pos,_.pos=this.offset,this.format=_.readUInt16(),this.length=_.readUInt16(),this.language=_.readUInt16(),this.isUnicode=this.platformID===3&&this.encodingID===1&&this.format===4||this.platformID===0&&this.format===4,this.codeMap={},this.format){case 0:for(ke=0;ke<256;++ke)this.codeMap[ke]=_.readByte();break;case 4:for(Ge=_.readUInt16(),Mt=Ge/2,_.pos+=6,ve=function(){var dn,hn;for(hn=[],ke=dn=0;0<=Mt?dn<Mt:dn>Mt;ke=0<=Mt?++dn:--dn)hn.push(_.readUInt16());return hn}(),_.pos+=2,er=function(){var dn,hn;for(hn=[],ke=dn=0;0<=Mt?dn<Mt:dn>Mt;ke=0<=Mt?++dn:--dn)hn.push(_.readUInt16());return hn}(),it=function(){var dn,hn;for(hn=[],ke=dn=0;0<=Mt?dn<Mt:dn>Mt;ke=0<=Mt?++dn:--dn)hn.push(_.readUInt16());return hn}(),gt=function(){var dn,hn;for(hn=[],ke=dn=0;0<=Mt?dn<Mt:dn>Mt;ke=0<=Mt?++dn:--dn)hn.push(_.readUInt16());return hn}(),Be=(this.length-_.pos+this.offset)/2,Re=function(){var dn,hn;for(hn=[],ke=dn=0;0<=Be?dn<Be:dn>Be;ke=0<=Be?++dn:--dn)hn.push(_.readUInt16());return hn}(),ke=Kt=0,Zr=ve.length;Kt<Zr;ke=++Kt)for(mr=ve[ke],Ae=dr=cr=er[ke];cr<=mr?dr<=mr:dr>=mr;Ae=cr<=mr?++dr:--dr)gt[ke]===0?Le=Ae+it[ke]:(Le=Re[gt[ke]/2+(Ae-cr)-(Mt-ke)]||0)!==0&&(Le+=it[ke]),this.codeMap[Ae]=65535&Le}_.pos=Et}return z.encode=function(_,H){var Ae,Be,ve,Le,Re,ke,it,gt,Et,Mt,Ge,cr,er,mr,Kt,dr,Zr,dn,hn,$n,cn,Er,Gn,Vn,Xt,rr,Ur,Or,En,yn,Rn,pn,Un,kn,Ui,Ot,Ar,Br,Wr,tn,Nr,gn,wn,mi,wi,Ni;switch(Or=new Ut,Le=Object.keys(_).sort(function(Gi,lo){return Gi-lo}),H){case"macroman":for(er=0,mr=function(){var Gi=[];for(cr=0;cr<256;++cr)Gi.push(0);return Gi}(),dr={0:0},ve={},En=0,Un=Le.length;En<Un;En++)dr[wn=_[Be=Le[En]]]==null&&(dr[wn]=++er),ve[Be]={old:_[Be],new:dr[_[Be]]},mr[Be]=dr[_[Be]];return Or.writeUInt16(1),Or.writeUInt16(0),Or.writeUInt32(12),Or.writeUInt16(0),Or.writeUInt16(262),Or.writeUInt16(0),Or.write(mr),{charMap:ve,subtable:Or.data,maxGlyphID:er+1};case"unicode":for(rr=[],Et=[],Zr=0,dr={},Ae={},Kt=it=null,yn=0,kn=Le.length;yn<kn;yn++)dr[hn=_[Be=Le[yn]]]==null&&(dr[hn]=++Zr),Ae[Be]={old:hn,new:dr[hn]},Re=dr[hn]-Be,Kt!=null&&Re===it||(Kt&&Et.push(Kt),rr.push(Be),it=Re),Kt=Be;for(Kt&&Et.push(Kt),Et.push(65535),rr.push(65535),Vn=2*(Gn=rr.length),Er=2*Math.pow(Math.log(Gn)/Math.LN2,2),Mt=Math.log(Er/2)/Math.LN2,cn=2*Gn-Er,ke=[],$n=[],Ge=[],cr=Rn=0,Ui=rr.length;Rn<Ui;cr=++Rn){if(Xt=rr[cr],gt=Et[cr],Xt===65535){ke.push(0),$n.push(0);break}if(Xt-(Ur=Ae[Xt].new)>=32768)for(ke.push(0),$n.push(2*(Ge.length+Gn-cr)),Be=pn=Xt;Xt<=gt?pn<=gt:pn>=gt;Be=Xt<=gt?++pn:--pn)Ge.push(Ae[Be].new);else ke.push(Ur-Xt),$n.push(0)}for(Or.writeUInt16(3),Or.writeUInt16(1),Or.writeUInt32(12),Or.writeUInt16(4),Or.writeUInt16(16+8*Gn+2*Ge.length),Or.writeUInt16(0),Or.writeUInt16(Vn),Or.writeUInt16(Er),Or.writeUInt16(Mt),Or.writeUInt16(cn),Nr=0,Ot=Et.length;Nr<Ot;Nr++)Be=Et[Nr],Or.writeUInt16(Be);for(Or.writeUInt16(0),gn=0,Ar=rr.length;gn<Ar;gn++)Be=rr[gn],Or.writeUInt16(Be);for(mi=0,Br=ke.length;mi<Br;mi++)Re=ke[mi],Or.writeUInt16(Re);for(wi=0,Wr=$n.length;wi<Wr;wi++)dn=$n[wi],Or.writeUInt16(dn);for(Ni=0,tn=Ge.length;Ni<tn;Ni++)er=Ge[Ni],Or.writeUInt16(er);return{charMap:Ae,subtable:Or.data,maxGlyphID:Zr+1}}},z}(),Mo=function(z){function _(){return _.__super__.constructor.apply(this,arguments)}return ln(_,Ye),_.prototype.tag="cmap",_.prototype.parse=function(H){var Ae,Be,ve;for(H.pos=this.offset,this.version=H.readUInt16(),ve=H.readUInt16(),this.tables=[],this.unicode=null,Be=0;0<=ve?Be<ve:Be>ve;Be=0<=ve?++Be:--Be)Ae=new Di(H,this.offset),this.tables.push(Ae),Ae.isUnicode&&this.unicode==null&&(this.unicode=Ae);return!0},_.encode=function(H,Ae){var Be,ve;return Ae==null&&(Ae="macroman"),Be=Di.encode(H,Ae),(ve=new Ut).writeUInt16(0),ve.writeUInt16(1),Be.table=ve.data.concat(Be.subtable),Be},_}(),Vo=function(z){function _(){return _.__super__.constructor.apply(this,arguments)}return ln(_,Ye),_.prototype.tag="hhea",_.prototype.parse=function(H){return H.pos=this.offset,this.version=H.readInt(),this.ascender=H.readShort(),this.decender=H.readShort(),this.lineGap=H.readShort(),this.advanceWidthMax=H.readShort(),this.minLeftSideBearing=H.readShort(),this.minRightSideBearing=H.readShort(),this.xMaxExtent=H.readShort(),this.caretSlopeRise=H.readShort(),this.caretSlopeRun=H.readShort(),this.caretOffset=H.readShort(),H.pos+=8,this.metricDataFormat=H.readShort(),this.numberOfMetrics=H.readUInt16()},_}(),Bs=function(z){function _(){return _.__super__.constructor.apply(this,arguments)}return ln(_,Ye),_.prototype.tag="OS/2",_.prototype.parse=function(H){if(H.pos=this.offset,this.version=H.readUInt16(),this.averageCharWidth=H.readShort(),this.weightClass=H.readUInt16(),this.widthClass=H.readUInt16(),this.type=H.readShort(),this.ySubscriptXSize=H.readShort(),this.ySubscriptYSize=H.readShort(),this.ySubscriptXOffset=H.readShort(),this.ySubscriptYOffset=H.readShort(),this.ySuperscriptXSize=H.readShort(),this.ySuperscriptYSize=H.readShort(),this.ySuperscriptXOffset=H.readShort(),this.ySuperscriptYOffset=H.readShort(),this.yStrikeoutSize=H.readShort(),this.yStrikeoutPosition=H.readShort(),this.familyClass=H.readShort(),this.panose=function(){var Ae,Be;for(Be=[],Ae=0;Ae<10;++Ae)Be.push(H.readByte());return Be}(),this.charRange=function(){var Ae,Be;for(Be=[],Ae=0;Ae<4;++Ae)Be.push(H.readInt());return Be}(),this.vendorID=H.readString(4),this.selection=H.readShort(),this.firstCharIndex=H.readShort(),this.lastCharIndex=H.readShort(),this.version>0&&(this.ascent=H.readShort(),this.descent=H.readShort(),this.lineGap=H.readShort(),this.winAscent=H.readShort(),this.winDescent=H.readShort(),this.codePageRange=function(){var Ae,Be;for(Be=[],Ae=0;Ae<2;Ae=++Ae)Be.push(H.readInt());return Be}(),this.version>1))return this.xHeight=H.readShort(),this.capHeight=H.readShort(),this.defaultChar=H.readShort(),this.breakChar=H.readShort(),this.maxContext=H.readShort()},_}(),is=function(z){function _(){return _.__super__.constructor.apply(this,arguments)}return ln(_,Ye),_.prototype.tag="post",_.prototype.parse=function(H){var Ae,Be,ve;switch(H.pos=this.offset,this.format=H.readInt(),this.italicAngle=H.readInt(),this.underlinePosition=H.readShort(),this.underlineThickness=H.readShort(),this.isFixedPitch=H.readInt(),this.minMemType42=H.readInt(),this.maxMemType42=H.readInt(),this.minMemType1=H.readInt(),this.maxMemType1=H.readInt(),this.format){case 65536:break;case 131072:var Le;for(Be=H.readUInt16(),this.glyphNameIndex=[],Le=0;0<=Be?Le<Be:Le>Be;Le=0<=Be?++Le:--Le)this.glyphNameIndex.push(H.readUInt16());for(this.names=[],ve=[];H.pos<this.offset+this.length;)Ae=H.readByte(),ve.push(this.names.push(H.readString(Ae)));return ve;case 151552:return Be=H.readUInt16(),this.offsets=H.read(Be);case 196608:break;case 262144:return this.map=function(){var Re,ke,it;for(it=[],Le=Re=0,ke=this.file.maxp.numGlyphs;0<=ke?Re<ke:Re>ke;Le=0<=ke?++Re:--Re)it.push(H.readUInt32());return it}.call(this)}},_}(),cs=function(z,_){this.raw=z,this.length=z.length,this.platformID=_.platformID,this.encodingID=_.encodingID,this.languageID=_.languageID},Us=function(z){function _(){return _.__super__.constructor.apply(this,arguments)}return ln(_,Ye),_.prototype.tag="name",_.prototype.parse=function(H){var Ae,Be,ve,Le,Re,ke,it,gt,Et,Mt,Ge;for(H.pos=this.offset,H.readShort(),Ae=H.readShort(),ke=H.readShort(),Be=[],Le=0;0<=Ae?Le<Ae:Le>Ae;Le=0<=Ae?++Le:--Le)Be.push({platformID:H.readShort(),encodingID:H.readShort(),languageID:H.readShort(),nameID:H.readShort(),length:H.readShort(),offset:this.offset+ke+H.readShort()});for(it={},Le=Et=0,Mt=Be.length;Et<Mt;Le=++Et)ve=Be[Le],H.pos=ve.offset,gt=H.readString(ve.length),Re=new cs(gt,ve),it[Ge=ve.nameID]==null&&(it[Ge]=[]),it[ve.nameID].push(Re);this.strings=it,this.copyright=it[0],this.fontFamily=it[1],this.fontSubfamily=it[2],this.uniqueSubfamily=it[3],this.fontName=it[4],this.version=it[5];try{this.postscriptName=it[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(cr){this.postscriptName=it[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=it[7],this.manufacturer=it[8],this.designer=it[9],this.description=it[10],this.vendorUrl=it[11],this.designerUrl=it[12],this.license=it[13],this.licenseUrl=it[14],this.preferredFamily=it[15],this.preferredSubfamily=it[17],this.compatibleFull=it[18],this.sampleText=it[19]},_}(),Uo=function(z){function _(){return _.__super__.constructor.apply(this,arguments)}return ln(_,Ye),_.prototype.tag="maxp",_.prototype.parse=function(H){return H.pos=this.offset,this.version=H.readInt(),this.numGlyphs=H.readUInt16(),this.maxPoints=H.readUInt16(),this.maxContours=H.readUInt16(),this.maxCompositePoints=H.readUInt16(),this.maxComponentContours=H.readUInt16(),this.maxZones=H.readUInt16(),this.maxTwilightPoints=H.readUInt16(),this.maxStorage=H.readUInt16(),this.maxFunctionDefs=H.readUInt16(),this.maxInstructionDefs=H.readUInt16(),this.maxStackElements=H.readUInt16(),this.maxSizeOfInstructions=H.readUInt16(),this.maxComponentElements=H.readUInt16(),this.maxComponentDepth=H.readUInt16()},_}(),Vs=function(z){function _(){return _.__super__.constructor.apply(this,arguments)}return ln(_,Ye),_.prototype.tag="hmtx",_.prototype.parse=function(H){var Ae,Be,ve,Le,Re,ke,it;for(H.pos=this.offset,this.metrics=[],Ae=0,ke=this.file.hhea.numberOfMetrics;0<=ke?Ae<ke:Ae>ke;Ae=0<=ke?++Ae:--Ae)this.metrics.push({advance:H.readUInt16(),lsb:H.readInt16()});for(ve=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var gt,Et;for(Et=[],Ae=gt=0;0<=ve?gt<ve:gt>ve;Ae=0<=ve?++gt:--gt)Et.push(H.readInt16());return Et}(),this.widths=function(){var gt,Et,Mt,Ge;for(Ge=[],gt=0,Et=(Mt=this.metrics).length;gt<Et;gt++)Le=Mt[gt],Ge.push(Le.advance);return Ge}.call(this),Be=this.widths[this.widths.length-1],it=[],Ae=Re=0;0<=ve?Re<ve:Re>ve;Ae=0<=ve?++Re:--Re)it.push(this.widths.push(Be));return it},_.prototype.forGlyph=function(H){return H in this.metrics?this.metrics[H]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[H-this.metrics.length]}},_}(),Ns=[].slice,du=function(z){function _(){return _.__super__.constructor.apply(this,arguments)}return ln(_,Ye),_.prototype.tag="glyf",_.prototype.parse=function(){return this.cache={}},_.prototype.glyphFor=function(H){var Ae,Be,ve,Le,Re,ke,it,gt,Et,Mt;return H in this.cache?this.cache[H]:(Le=this.file.loca,Ae=this.file.contents,Be=Le.indexOf(H),(ve=Le.lengthOf(H))===0?this.cache[H]=null:(Ae.pos=this.offset+Be,Re=(ke=new Ut(Ae.read(ve))).readShort(),gt=ke.readShort(),Mt=ke.readShort(),it=ke.readShort(),Et=ke.readShort(),this.cache[H]=Re===-1?new Ou(ke,gt,Mt,it,Et):new ru(ke,Re,gt,Mt,it,Et),this.cache[H]))},_.prototype.encode=function(H,Ae,Be){var ve,Le,Re,ke,it;for(Re=[],Le=[],ke=0,it=Ae.length;ke<it;ke++)ve=H[Ae[ke]],Le.push(Re.length),ve&&(Re=Re.concat(ve.encode(Be)));return Le.push(Re.length),{table:Re,offsets:Le}},_}(),ru=function(){function z(_,H,Ae,Be,ve,Le){this.raw=_,this.numberOfContours=H,this.xMin=Ae,this.yMin=Be,this.xMax=ve,this.yMax=Le,this.compound=!1}return z.prototype.encode=function(){return this.raw.data},z}(),Ou=function(){function z(_,H,Ae,Be,ve){var Le,Re;for(this.raw=_,this.xMin=H,this.yMin=Ae,this.xMax=Be,this.yMax=ve,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],Le=this.raw;Re=Le.readShort(),this.glyphOffsets.push(Le.pos),this.glyphIDs.push(Le.readUInt16()),32&Re;)Le.pos+=1&Re?4:2,128&Re?Le.pos+=8:64&Re?Le.pos+=4:8&Re&&(Le.pos+=2)}return z.prototype.encode=function(){var _,H,Ae;for(H=new Ut(Ns.call(this.raw.data)),_=0,Ae=this.glyphIDs.length;_<Ae;++_)H.pos=this.glyphOffsets[_];return H.data},z}(),nu=function(z){function _(){return _.__super__.constructor.apply(this,arguments)}return ln(_,Ye),_.prototype.tag="loca",_.prototype.parse=function(H){var Ae,Be;return H.pos=this.offset,Ae=this.file.head.indexToLocFormat,this.offsets=Ae===0?function(){var ve,Le;for(Le=[],Be=0,ve=this.length;Be<ve;Be+=2)Le.push(2*H.readUInt16());return Le}.call(this):function(){var ve,Le;for(Le=[],Be=0,ve=this.length;Be<ve;Be+=4)Le.push(H.readUInt32());return Le}.call(this)},_.prototype.indexOf=function(H){return this.offsets[H]},_.prototype.lengthOf=function(H){return this.offsets[H+1]-this.offsets[H]},_.prototype.encode=function(H,Ae){for(var Be=new Uint32Array(this.offsets.length),ve=0,Le=0,Re=0;Re<Be.length;++Re)if(Be[Re]=ve,Le<Ae.length&&Ae[Le]==Re){++Le,Be[Re]=ve;var ke=this.offsets[Re],it=this.offsets[Re+1]-ke;it>0&&(ve+=it)}for(var gt=new Array(4*Be.length),Et=0;Et<Be.length;++Et)gt[4*Et+3]=255&Be[Et],gt[4*Et+2]=(65280&Be[Et])>>8,gt[4*Et+1]=(16711680&Be[Et])>>16,gt[4*Et]=(4278190080&Be[Et])>>24;return gt},_}(),nl=function(){function z(_){this.font=_,this.subset={},this.unicodes={},this.next=33}return z.prototype.generateCmap=function(){var _,H,Ae,Be,ve;for(H in Be=this.font.cmap.tables[0].codeMap,_={},ve=this.subset)Ae=ve[H],_[H]=Be[Ae];return _},z.prototype.glyphsFor=function(_){var H,Ae,Be,ve,Le,Re,ke;for(Be={},Le=0,Re=_.length;Le<Re;Le++)Be[ve=_[Le]]=this.font.glyf.glyphFor(ve);for(ve in H=[],Be)(Ae=Be[ve])!=null&&Ae.compound&&H.push.apply(H,Ae.glyphIDs);if(H.length>0)for(ve in ke=this.glyphsFor(H))Ae=ke[ve],Be[ve]=Ae;return Be},z.prototype.encode=function(_,H){var Ae,Be,ve,Le,Re,ke,it,gt,Et,Mt,Ge,cr,er,mr,Kt;for(Be in Ae=Mo.encode(this.generateCmap(),"unicode"),Le=this.glyphsFor(_),Ge={0:0},Kt=Ae.charMap)Ge[(ke=Kt[Be]).old]=ke.new;for(cr in Mt=Ae.maxGlyphID,Le)cr in Ge||(Ge[cr]=Mt++);return gt=function(dr){var Zr,dn;for(Zr in dn={},dr)dn[dr[Zr]]=Zr;return dn}(Ge),Et=Object.keys(gt).sort(function(dr,Zr){return dr-Zr}),er=function(){var dr,Zr,dn;for(dn=[],dr=0,Zr=Et.length;dr<Zr;dr++)Re=Et[dr],dn.push(gt[Re]);return dn}(),ve=this.font.glyf.encode(Le,er,Ge),it=this.font.loca.encode(ve.offsets,er),mr={cmap:this.font.cmap.raw(),glyf:ve.table,loca:it,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(H)},this.font.os2.exists&&(mr["OS/2"]=this.font.os2.raw()),this.font.directory.encode(mr)},z}();zt.API.PDFObject=function(){var z;function _(){}return z=function(H,Ae){return(Array(Ae+1).join("0")+H).slice(-Ae)},_.convert=function(H){var Ae,Be,ve,Le;if(Array.isArray(H))return"["+function(){var Re,ke,it;for(it=[],Re=0,ke=H.length;Re<ke;Re++)Ae=H[Re],it.push(_.convert(Ae));return it}().join(" ")+"]";if(typeof H=="string")return"/"+H;if(H!=null&&H.isString)return"("+H+")";if(H instanceof Date)return"(D:"+z(H.getUTCFullYear(),4)+z(H.getUTCMonth(),2)+z(H.getUTCDate(),2)+z(H.getUTCHours(),2)+z(H.getUTCMinutes(),2)+z(H.getUTCSeconds(),2)+"Z)";if({}.toString.call(H)==="[object Object]"){for(Be in ve=["<<"],H)Le=H[Be],ve.push("/"+Be+" "+_.convert(Le));return ve.push(">>"),ve.join(`
`)}return""+H},_}();var fu=zt},36105:function(_e,$,t){_e=t.nmd(_e);//! moment.js
//! version : 2.29.4
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
(function(n,f){_e.exports=f()})(this,function(){"use strict";var n;function f(){return n.apply(null,arguments)}function l(k){n=k}function u(k){return k instanceof Array||Object.prototype.toString.call(k)==="[object Array]"}function m(k){return k!=null&&Object.prototype.toString.call(k)==="[object Object]"}function v(k,ge){return Object.prototype.hasOwnProperty.call(k,ge)}function M(k){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(k).length===0;var ge;for(ge in k)if(v(k,ge))return!1;return!0}function ee(k){return k===void 0}function W(k){return typeof k=="number"||Object.prototype.toString.call(k)==="[object Number]"}function re(k){return k instanceof Date||Object.prototype.toString.call(k)==="[object Date]"}function se(k,ge){var Ze=[],Xe,xt=k.length;for(Xe=0;Xe<xt;++Xe)Ze.push(ge(k[Xe],Xe));return Ze}function S(k,ge){for(var Ze in ge)v(ge,Ze)&&(k[Ze]=ge[Ze]);return v(ge,"toString")&&(k.toString=ge.toString),v(ge,"valueOf")&&(k.valueOf=ge.valueOf),k}function J(k,ge,Ze,Xe){return Ja(k,ge,Ze,Xe,!0).utc()}function T(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function V(k){return k._pf==null&&(k._pf=T()),k._pf}var L;Array.prototype.some?L=Array.prototype.some:L=function(k){var ge=Object(this),Ze=ge.length>>>0,Xe;for(Xe=0;Xe<Ze;Xe++)if(Xe in ge&&k.call(this,ge[Xe],Xe,ge))return!0;return!1};function c(k){if(k._isValid==null){var ge=V(k),Ze=L.call(ge.parsedDateParts,function(xt){return xt!=null}),Xe=!isNaN(k._d.getTime())&&ge.overflow<0&&!ge.empty&&!ge.invalidEra&&!ge.invalidMonth&&!ge.invalidWeekday&&!ge.weekdayMismatch&&!ge.nullInput&&!ge.invalidFormat&&!ge.userInvalidated&&(!ge.meridiem||ge.meridiem&&Ze);if(k._strict&&(Xe=Xe&&ge.charsLeftOver===0&&ge.unusedTokens.length===0&&ge.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(k))k._isValid=Xe;else return Xe}return k._isValid}function R(k){var ge=J(NaN);return k!=null?S(V(ge),k):V(ge).userInvalidated=!0,ge}var B=f.momentProperties=[],X=!1;function g(k,ge){var Ze,Xe,xt,xr=B.length;if(ee(ge._isAMomentObject)||(k._isAMomentObject=ge._isAMomentObject),ee(ge._i)||(k._i=ge._i),ee(ge._f)||(k._f=ge._f),ee(ge._l)||(k._l=ge._l),ee(ge._strict)||(k._strict=ge._strict),ee(ge._tzm)||(k._tzm=ge._tzm),ee(ge._isUTC)||(k._isUTC=ge._isUTC),ee(ge._offset)||(k._offset=ge._offset),ee(ge._pf)||(k._pf=V(ge)),ee(ge._locale)||(k._locale=ge._locale),xr>0)for(Ze=0;Ze<xr;Ze++)Xe=B[Ze],xt=ge[Xe],ee(xt)||(k[Xe]=xt);return k}function p(k){g(this,k),this._d=new Date(k._d!=null?k._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),X===!1&&(X=!0,f.updateOffset(this),X=!1)}function O(k){return k instanceof p||k!=null&&k._isAMomentObject!=null}function I(k){f.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+k)}function E(k,ge){var Ze=!0;return S(function(){if(f.deprecationHandler!=null&&f.deprecationHandler(null,k),Ze){var Xe=[],xt,xr,sn,Ai=arguments.length;for(xr=0;xr<Ai;xr++){if(xt="",typeof arguments[xr]=="object"){xt+=`
[`+xr+"] ";for(sn in arguments[0])v(arguments[0],sn)&&(xt+=sn+": "+arguments[0][sn]+", ");xt=xt.slice(0,-2)}else xt=arguments[xr];Xe.push(xt)}I(k+`
Arguments: `+Array.prototype.slice.call(Xe).join("")+`
`+new Error().stack),Ze=!1}return ge.apply(this,arguments)},ge)}var K={};function d(k,ge){f.deprecationHandler!=null&&f.deprecationHandler(k,ge),K[k]||(I(ge),K[k]=!0)}f.suppressDeprecationWarnings=!1,f.deprecationHandler=null;function i(k){return typeof Function!="undefined"&&k instanceof Function||Object.prototype.toString.call(k)==="[object Function]"}function x(k){var ge,Ze;for(Ze in k)v(k,Ze)&&(ge=k[Ze],i(ge)?this[Ze]=ge:this["_"+Ze]=ge);this._config=k,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function A(k,ge){var Ze=S({},k),Xe;for(Xe in ge)v(ge,Xe)&&(m(k[Xe])&&m(ge[Xe])?(Ze[Xe]={},S(Ze[Xe],k[Xe]),S(Ze[Xe],ge[Xe])):ge[Xe]!=null?Ze[Xe]=ge[Xe]:delete Ze[Xe]);for(Xe in k)v(k,Xe)&&!v(ge,Xe)&&m(k[Xe])&&(Ze[Xe]=S({},Ze[Xe]));return Ze}function w(k){k!=null&&this.set(k)}var C;Object.keys?C=Object.keys:C=function(k){var ge,Ze=[];for(ge in k)v(k,ge)&&Ze.push(ge);return Ze};var U={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function F(k,ge,Ze){var Xe=this._calendar[k]||this._calendar.sameElse;return i(Xe)?Xe.call(ge,Ze):Xe}function Y(k,ge,Ze){var Xe=""+Math.abs(k),xt=ge-Xe.length,xr=k>=0;return(xr?Ze?"+":"":"-")+Math.pow(10,Math.max(0,xt)).toString().substr(1)+Xe}var le=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ie=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,j={},ue={};function P(k,ge,Ze,Xe){var xt=Xe;typeof Xe=="string"&&(xt=function(){return this[Xe]()}),k&&(ue[k]=xt),ge&&(ue[ge[0]]=function(){return Y(xt.apply(this,arguments),ge[1],ge[2])}),Ze&&(ue[Ze]=function(){return this.localeData().ordinal(xt.apply(this,arguments),k)})}function Z(k){return k.match(/\[[\s\S]/)?k.replace(/^\[|\]$/g,""):k.replace(/\\/g,"")}function ae(k){var ge=k.match(le),Ze,Xe;for(Ze=0,Xe=ge.length;Ze<Xe;Ze++)ue[ge[Ze]]?ge[Ze]=ue[ge[Ze]]:ge[Ze]=Z(ge[Ze]);return function(xt){var xr="",sn;for(sn=0;sn<Xe;sn++)xr+=i(ge[sn])?ge[sn].call(xt,k):ge[sn];return xr}}function ce(k,ge){return k.isValid()?(ge=be(ge,k.localeData()),j[ge]=j[ge]||ae(ge),j[ge](k)):k.localeData().invalidDate()}function be(k,ge){var Ze=5;function Xe(xt){return ge.longDateFormat(xt)||xt}for(ie.lastIndex=0;Ze>=0&&ie.test(k);)k=k.replace(ie,Xe),ie.lastIndex=0,Ze-=1;return k}var pe={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function h(k){var ge=this._longDateFormat[k],Ze=this._longDateFormat[k.toUpperCase()];return ge||!Ze?ge:(this._longDateFormat[k]=Ze.match(le).map(function(Xe){return Xe==="MMMM"||Xe==="MM"||Xe==="DD"||Xe==="dddd"?Xe.slice(1):Xe}).join(""),this._longDateFormat[k])}var te="Invalid date";function Q(){return this._invalidDate}var we="%d",Se=/\d{1,2}/;function Ne(k){return this._ordinal.replace("%d",k)}var ze={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Je(k,ge,Ze,Xe){var xt=this._relativeTime[Ze];return i(xt)?xt(k,ge,Ze,Xe):xt.replace(/%d/i,k)}function qe(k,ge){var Ze=this._relativeTime[k>0?"future":"past"];return i(Ze)?Ze(ge):Ze.replace(/%s/i,ge)}var Me={};function Fe(k,ge){var Ze=k.toLowerCase();Me[Ze]=Me[Ze+"s"]=Me[ge]=k}function Ue(k){return typeof k=="string"?Me[k]||Me[k.toLowerCase()]:void 0}function he(k){var ge={},Ze,Xe;for(Xe in k)v(k,Xe)&&(Ze=Ue(Xe),Ze&&(ge[Ze]=k[Xe]));return ge}var xe={};function q(k,ge){xe[k]=ge}function me(k){var ge=[],Ze;for(Ze in k)v(k,Ze)&&ge.push({unit:Ze,priority:xe[Ze]});return ge.sort(function(Xe,xt){return Xe.priority-xt.priority}),ge}function De(k){return k%4===0&&k%100!==0||k%400===0}function Te(k){return k<0?Math.ceil(k)||0:Math.floor(k)}function Oe(k){var ge=+k,Ze=0;return ge!==0&&isFinite(ge)&&(Ze=Te(ge)),Ze}function st(k,ge){return function(Ze){return Ze!=null?(Qt(this,k,Ze),f.updateOffset(this,ge),this):Ft(this,k)}}function Ft(k,ge){return k.isValid()?k._d["get"+(k._isUTC?"UTC":"")+ge]():NaN}function Qt(k,ge,Ze){k.isValid()&&!isNaN(Ze)&&(ge==="FullYear"&&De(k.year())&&k.month()===1&&k.date()===29?(Ze=Oe(Ze),k._d["set"+(k._isUTC?"UTC":"")+ge](Ze,k.month(),Pr(Ze,k.month()))):k._d["set"+(k._isUTC?"UTC":"")+ge](Ze))}function Vt(k){return k=Ue(k),i(this[k])?this[k]():this}function Gt(k,ge){if(typeof k=="object"){k=he(k);var Ze=me(k),Xe,xt=Ze.length;for(Xe=0;Xe<xt;Xe++)this[Ze[Xe].unit](k[Ze[Xe].unit])}else if(k=Ue(k),i(this[k]))return this[k](ge);return this}var Jt=/\d/,Lr=/\d\d/,Rr=/\d{3}/,Gr=/\d{4}/,zr=/[+-]?\d{6}/,pr=/\d\d?/,vn=/\d\d\d\d?/,fn=/\d\d\d\d\d\d?/,Zt=/\d{1,3}/,St=/\d{1,4}/,Wt=/[+-]?\d{1,6}/,Nt=/\d+/,dt=/[+-]?\d+/,nr=/Z|[+-]\d\d:?\d\d/gi,et=/Z|[+-]\d\d(?::?\d\d)?/gi,Tt=/[+-]?\d+(\.\d{1,3})?/,Rt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,or;or={};function ir(k,ge,Ze){or[k]=i(ge)?ge:function(Xe,xt){return Xe&&Ze?Ze:ge}}function Qr(k,ge){return v(or,k)?or[k](ge._strict,ge._locale):new RegExp(ft(k))}function ft(k){return tr(k.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(ge,Ze,Xe,xt,xr){return Ze||Xe||xt||xr}))}function tr(k){return k.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var gr={};function ar(k,ge){var Ze,Xe=ge,xt;for(typeof k=="string"&&(k=[k]),W(ge)&&(Xe=function(xr,sn){sn[ge]=Oe(xr)}),xt=k.length,Ze=0;Ze<xt;Ze++)gr[k[Ze]]=Xe}function rt(k,ge){ar(k,function(Ze,Xe,xt,xr){xt._w=xt._w||{},ge(Ze,xt._w,xt,xr)})}function kt(k,ge,Ze){ge!=null&&v(gr,k)&&gr[k](ge,Ze._a,Ze,k)}var At=0,qt=1,sr=2,Kr=3,kr=4,nn=5,on=6,vr=7,Dr=8;function _r(k,ge){return(k%ge+ge)%ge}var Hr;Array.prototype.indexOf?Hr=Array.prototype.indexOf:Hr=function(k){var ge;for(ge=0;ge<this.length;++ge)if(this[ge]===k)return ge;return-1};function Pr(k,ge){if(isNaN(k)||isNaN(ge))return NaN;var Ze=_r(ge,12);return k+=(ge-Ze)/12,Ze===1?De(k)?29:28:31-Ze%7%2}P("M",["MM",2],"Mo",function(){return this.month()+1}),P("MMM",0,0,function(k){return this.localeData().monthsShort(this,k)}),P("MMMM",0,0,function(k){return this.localeData().months(this,k)}),Fe("month","M"),q("month",8),ir("M",pr),ir("MM",pr,Lr),ir("MMM",function(k,ge){return ge.monthsShortRegex(k)}),ir("MMMM",function(k,ge){return ge.monthsRegex(k)}),ar(["M","MM"],function(k,ge){ge[qt]=Oe(k)-1}),ar(["MMM","MMMM"],function(k,ge,Ze,Xe){var xt=Ze._locale.monthsParse(k,Xe,Ze._strict);xt!=null?ge[qt]=xt:V(Ze).invalidMonth=k});var un="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Zn="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Jn=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Dn=Rt,qn=Rt;function lr(k,ge){return k?u(this._months)?this._months[k.month()]:this._months[(this._months.isFormat||Jn).test(ge)?"format":"standalone"][k.month()]:u(this._months)?this._months:this._months.standalone}function Yr(k,ge){return k?u(this._monthsShort)?this._monthsShort[k.month()]:this._monthsShort[Jn.test(ge)?"format":"standalone"][k.month()]:u(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Yn(k,ge,Ze){var Xe,xt,xr,sn=k.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],Xe=0;Xe<12;++Xe)xr=J([2e3,Xe]),this._shortMonthsParse[Xe]=this.monthsShort(xr,"").toLocaleLowerCase(),this._longMonthsParse[Xe]=this.months(xr,"").toLocaleLowerCase();return Ze?ge==="MMM"?(xt=Hr.call(this._shortMonthsParse,sn),xt!==-1?xt:null):(xt=Hr.call(this._longMonthsParse,sn),xt!==-1?xt:null):ge==="MMM"?(xt=Hr.call(this._shortMonthsParse,sn),xt!==-1?xt:(xt=Hr.call(this._longMonthsParse,sn),xt!==-1?xt:null)):(xt=Hr.call(this._longMonthsParse,sn),xt!==-1?xt:(xt=Hr.call(this._shortMonthsParse,sn),xt!==-1?xt:null))}function ti(k,ge,Ze){var Xe,xt,xr;if(this._monthsParseExact)return Yn.call(this,k,ge,Ze);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),Xe=0;Xe<12;Xe++){if(xt=J([2e3,Xe]),Ze&&!this._longMonthsParse[Xe]&&(this._longMonthsParse[Xe]=new RegExp("^"+this.months(xt,"").replace(".","")+"$","i"),this._shortMonthsParse[Xe]=new RegExp("^"+this.monthsShort(xt,"").replace(".","")+"$","i")),!Ze&&!this._monthsParse[Xe]&&(xr="^"+this.months(xt,"")+"|^"+this.monthsShort(xt,""),this._monthsParse[Xe]=new RegExp(xr.replace(".",""),"i")),Ze&&ge==="MMMM"&&this._longMonthsParse[Xe].test(k))return Xe;if(Ze&&ge==="MMM"&&this._shortMonthsParse[Xe].test(k))return Xe;if(!Ze&&this._monthsParse[Xe].test(k))return Xe}}function Wi(k,ge){var Ze;if(!k.isValid())return k;if(typeof ge=="string"){if(/^\d+$/.test(ge))ge=Oe(ge);else if(ge=k.localeData().monthsParse(ge),!W(ge))return k}return Ze=Math.min(k.date(),Pr(k.year(),ge)),k._d["set"+(k._isUTC?"UTC":"")+"Month"](ge,Ze),k}function _t(k){return k!=null?(Wi(this,k),f.updateOffset(this,!0),this):Ft(this,"Month")}function Ct(){return Pr(this.year(),this.month())}function mt(k){return this._monthsParseExact?(v(this,"_monthsRegex")||Pt.call(this),k?this._monthsShortStrictRegex:this._monthsShortRegex):(v(this,"_monthsShortRegex")||(this._monthsShortRegex=Dn),this._monthsShortStrictRegex&&k?this._monthsShortStrictRegex:this._monthsShortRegex)}function br(k){return this._monthsParseExact?(v(this,"_monthsRegex")||Pt.call(this),k?this._monthsStrictRegex:this._monthsRegex):(v(this,"_monthsRegex")||(this._monthsRegex=qn),this._monthsStrictRegex&&k?this._monthsStrictRegex:this._monthsRegex)}function Pt(){function k(sn,Ai){return Ai.length-sn.length}var ge=[],Ze=[],Xe=[],xt,xr;for(xt=0;xt<12;xt++)xr=J([2e3,xt]),ge.push(this.monthsShort(xr,"")),Ze.push(this.months(xr,"")),Xe.push(this.months(xr,"")),Xe.push(this.monthsShort(xr,""));for(ge.sort(k),Ze.sort(k),Xe.sort(k),xt=0;xt<12;xt++)ge[xt]=tr(ge[xt]),Ze[xt]=tr(Ze[xt]);for(xt=0;xt<24;xt++)Xe[xt]=tr(Xe[xt]);this._monthsRegex=new RegExp("^("+Xe.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+Ze.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+ge.join("|")+")","i")}P("Y",0,0,function(){var k=this.year();return k<=9999?Y(k,4):"+"+k}),P(0,["YY",2],0,function(){return this.year()%100}),P(0,["YYYY",4],0,"year"),P(0,["YYYYY",5],0,"year"),P(0,["YYYYYY",6,!0],0,"year"),Fe("year","y"),q("year",1),ir("Y",dt),ir("YY",pr,Lr),ir("YYYY",St,Gr),ir("YYYYY",Wt,zr),ir("YYYYYY",Wt,zr),ar(["YYYYY","YYYYYY"],At),ar("YYYY",function(k,ge){ge[At]=k.length===2?f.parseTwoDigitYear(k):Oe(k)}),ar("YY",function(k,ge){ge[At]=f.parseTwoDigitYear(k)}),ar("Y",function(k,ge){ge[At]=parseInt(k,10)});function qr(k){return De(k)?366:365}f.parseTwoDigitYear=function(k){return Oe(k)+(Oe(k)>68?1900:2e3)};var mn=st("FullYear",!0);function In(){return De(this.year())}function Vr(k,ge,Ze,Xe,xt,xr,sn){var Ai;return k<100&&k>=0?(Ai=new Date(k+400,ge,Ze,Xe,xt,xr,sn),isFinite(Ai.getFullYear())&&Ai.setFullYear(k)):Ai=new Date(k,ge,Ze,Xe,xt,xr,sn),Ai}function Fn(k){var ge,Ze;return k<100&&k>=0?(Ze=Array.prototype.slice.call(arguments),Ze[0]=k+400,ge=new Date(Date.UTC.apply(null,Ze)),isFinite(ge.getUTCFullYear())&&ge.setUTCFullYear(k)):ge=new Date(Date.UTC.apply(null,arguments)),ge}function An(k,ge,Ze){var Xe=7+ge-Ze,xt=(7+Fn(k,0,Xe).getUTCDay()-ge)%7;return-xt+Xe-1}function zn(k,ge,Ze,Xe,xt){var xr=(7+Ze-Xe)%7,sn=An(k,Xe,xt),Ai=1+7*(ge-1)+xr+sn,Zi,$i;return Ai<=0?(Zi=k-1,$i=qr(Zi)+Ai):Ai>qr(k)?(Zi=k+1,$i=Ai-qr(k)):(Zi=k,$i=Ai),{year:Zi,dayOfYear:$i}}function bi(k,ge,Ze){var Xe=An(k.year(),ge,Ze),xt=Math.floor((k.dayOfYear()-Xe-1)/7)+1,xr,sn;return xt<1?(sn=k.year()-1,xr=xt+Si(sn,ge,Ze)):xt>Si(k.year(),ge,Ze)?(xr=xt-Si(k.year(),ge,Ze),sn=k.year()+1):(sn=k.year(),xr=xt),{week:xr,year:sn}}function Si(k,ge,Ze){var Xe=An(k,ge,Ze),xt=An(k+1,ge,Ze);return(qr(k)-Xe+xt)/7}P("w",["ww",2],"wo","week"),P("W",["WW",2],"Wo","isoWeek"),Fe("week","w"),Fe("isoWeek","W"),q("week",5),q("isoWeek",5),ir("w",pr),ir("ww",pr,Lr),ir("W",pr),ir("WW",pr,Lr),rt(["w","ww","W","WW"],function(k,ge,Ze,Xe){ge[Xe.substr(0,1)]=Oe(k)});function bo(k){return bi(k,this._week.dow,this._week.doy).week}var Fi={dow:0,doy:6};function mo(){return this._week.dow}function _o(){return this._week.doy}function Ti(k){var ge=this.localeData().week(this);return k==null?ge:this.add((k-ge)*7,"d")}function ao(k){var ge=bi(this,1,4).week;return k==null?ge:this.add((k-ge)*7,"d")}P("d",0,"do","day"),P("dd",0,0,function(k){return this.localeData().weekdaysMin(this,k)}),P("ddd",0,0,function(k){return this.localeData().weekdaysShort(this,k)}),P("dddd",0,0,function(k){return this.localeData().weekdays(this,k)}),P("e",0,0,"weekday"),P("E",0,0,"isoWeekday"),Fe("day","d"),Fe("weekday","e"),Fe("isoWeekday","E"),q("day",11),q("weekday",11),q("isoWeekday",11),ir("d",pr),ir("e",pr),ir("E",pr),ir("dd",function(k,ge){return ge.weekdaysMinRegex(k)}),ir("ddd",function(k,ge){return ge.weekdaysShortRegex(k)}),ir("dddd",function(k,ge){return ge.weekdaysRegex(k)}),rt(["dd","ddd","dddd"],function(k,ge,Ze,Xe){var xt=Ze._locale.weekdaysParse(k,Xe,Ze._strict);xt!=null?ge.d=xt:V(Ze).invalidWeekday=k}),rt(["d","e","E"],function(k,ge,Ze,Xe){ge[Xe]=Oe(k)});function no(k,ge){return typeof k!="string"?k:isNaN(k)?(k=ge.weekdaysParse(k),typeof k=="number"?k:null):parseInt(k,10)}function Ir(k,ge){return typeof k=="string"?ge.weekdaysParse(k)%7||7:isNaN(k)?null:k}function je(k,ge){return k.slice(ge,7).concat(k.slice(0,ge))}var Ke="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ht="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Bt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Dt=Rt,Yt=Rt,yr=Rt;function zt(k,ge){var Ze=u(this._weekdays)?this._weekdays:this._weekdays[k&&k!==!0&&this._weekdays.isFormat.test(ge)?"format":"standalone"];return k===!0?je(Ze,this._week.dow):k?Ze[k.day()]:Ze}function rn(k){return k===!0?je(this._weekdaysShort,this._week.dow):k?this._weekdaysShort[k.day()]:this._weekdaysShort}function On(k){return k===!0?je(this._weekdaysMin,this._week.dow):k?this._weekdaysMin[k.day()]:this._weekdaysMin}function xn(k,ge,Ze){var Xe,xt,xr,sn=k.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],Xe=0;Xe<7;++Xe)xr=J([2e3,1]).day(Xe),this._minWeekdaysParse[Xe]=this.weekdaysMin(xr,"").toLocaleLowerCase(),this._shortWeekdaysParse[Xe]=this.weekdaysShort(xr,"").toLocaleLowerCase(),this._weekdaysParse[Xe]=this.weekdays(xr,"").toLocaleLowerCase();return Ze?ge==="dddd"?(xt=Hr.call(this._weekdaysParse,sn),xt!==-1?xt:null):ge==="ddd"?(xt=Hr.call(this._shortWeekdaysParse,sn),xt!==-1?xt:null):(xt=Hr.call(this._minWeekdaysParse,sn),xt!==-1?xt:null):ge==="dddd"?(xt=Hr.call(this._weekdaysParse,sn),xt!==-1||(xt=Hr.call(this._shortWeekdaysParse,sn),xt!==-1)?xt:(xt=Hr.call(this._minWeekdaysParse,sn),xt!==-1?xt:null)):ge==="ddd"?(xt=Hr.call(this._shortWeekdaysParse,sn),xt!==-1||(xt=Hr.call(this._weekdaysParse,sn),xt!==-1)?xt:(xt=Hr.call(this._minWeekdaysParse,sn),xt!==-1?xt:null)):(xt=Hr.call(this._minWeekdaysParse,sn),xt!==-1||(xt=Hr.call(this._weekdaysParse,sn),xt!==-1)?xt:(xt=Hr.call(this._shortWeekdaysParse,sn),xt!==-1?xt:null))}function Kn(k,ge,Ze){var Xe,xt,xr;if(this._weekdaysParseExact)return xn.call(this,k,ge,Ze);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),Xe=0;Xe<7;Xe++){if(xt=J([2e3,1]).day(Xe),Ze&&!this._fullWeekdaysParse[Xe]&&(this._fullWeekdaysParse[Xe]=new RegExp("^"+this.weekdays(xt,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[Xe]=new RegExp("^"+this.weekdaysShort(xt,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[Xe]=new RegExp("^"+this.weekdaysMin(xt,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[Xe]||(xr="^"+this.weekdays(xt,"")+"|^"+this.weekdaysShort(xt,"")+"|^"+this.weekdaysMin(xt,""),this._weekdaysParse[Xe]=new RegExp(xr.replace(".",""),"i")),Ze&&ge==="dddd"&&this._fullWeekdaysParse[Xe].test(k))return Xe;if(Ze&&ge==="ddd"&&this._shortWeekdaysParse[Xe].test(k))return Xe;if(Ze&&ge==="dd"&&this._minWeekdaysParse[Xe].test(k))return Xe;if(!Ze&&this._weekdaysParse[Xe].test(k))return Xe}}function jn(k){if(!this.isValid())return k!=null?this:NaN;var ge=this._isUTC?this._d.getUTCDay():this._d.getDay();return k!=null?(k=no(k,this.localeData()),this.add(k-ge,"d")):ge}function to(k){if(!this.isValid())return k!=null?this:NaN;var ge=(this.day()+7-this.localeData()._week.dow)%7;return k==null?ge:this.add(k-ge,"d")}function ki(k){if(!this.isValid())return k!=null?this:NaN;if(k!=null){var ge=Ir(k,this.localeData());return this.day(this.day()%7?ge:ge-7)}else return this.day()||7}function zo(k){return this._weekdaysParseExact?(v(this,"_weekdaysRegex")||ia.call(this),k?this._weekdaysStrictRegex:this._weekdaysRegex):(v(this,"_weekdaysRegex")||(this._weekdaysRegex=Dt),this._weekdaysStrictRegex&&k?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ko(k){return this._weekdaysParseExact?(v(this,"_weekdaysRegex")||ia.call(this),k?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(v(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Yt),this._weekdaysShortStrictRegex&&k?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function uo(k){return this._weekdaysParseExact?(v(this,"_weekdaysRegex")||ia.call(this),k?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(v(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=yr),this._weekdaysMinStrictRegex&&k?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ia(){function k(Lo,Zo){return Zo.length-Lo.length}var ge=[],Ze=[],Xe=[],xt=[],xr,sn,Ai,Zi,$i;for(xr=0;xr<7;xr++)sn=J([2e3,1]).day(xr),Ai=tr(this.weekdaysMin(sn,"")),Zi=tr(this.weekdaysShort(sn,"")),$i=tr(this.weekdays(sn,"")),ge.push(Ai),Ze.push(Zi),Xe.push($i),xt.push(Ai),xt.push(Zi),xt.push($i);ge.sort(k),Ze.sort(k),Xe.sort(k),xt.sort(k),this._weekdaysRegex=new RegExp("^("+xt.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+Xe.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+Ze.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+ge.join("|")+")","i")}function la(){return this.hours()%12||12}function so(){return this.hours()||24}P("H",["HH",2],0,"hour"),P("h",["hh",2],0,la),P("k",["kk",2],0,so),P("hmm",0,0,function(){return""+la.apply(this)+Y(this.minutes(),2)}),P("hmmss",0,0,function(){return""+la.apply(this)+Y(this.minutes(),2)+Y(this.seconds(),2)}),P("Hmm",0,0,function(){return""+this.hours()+Y(this.minutes(),2)}),P("Hmmss",0,0,function(){return""+this.hours()+Y(this.minutes(),2)+Y(this.seconds(),2)});function zi(k,ge){P(k,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),ge)})}zi("a",!0),zi("A",!1),Fe("hour","h"),q("hour",13);function Xi(k,ge){return ge._meridiemParse}ir("a",Xi),ir("A",Xi),ir("H",pr),ir("h",pr),ir("k",pr),ir("HH",pr,Lr),ir("hh",pr,Lr),ir("kk",pr,Lr),ir("hmm",vn),ir("hmmss",fn),ir("Hmm",vn),ir("Hmmss",fn),ar(["H","HH"],Kr),ar(["k","kk"],function(k,ge,Ze){var Xe=Oe(k);ge[Kr]=Xe===24?0:Xe}),ar(["a","A"],function(k,ge,Ze){Ze._isPm=Ze._locale.isPM(k),Ze._meridiem=k}),ar(["h","hh"],function(k,ge,Ze){ge[Kr]=Oe(k),V(Ze).bigHour=!0}),ar("hmm",function(k,ge,Ze){var Xe=k.length-2;ge[Kr]=Oe(k.substr(0,Xe)),ge[kr]=Oe(k.substr(Xe)),V(Ze).bigHour=!0}),ar("hmmss",function(k,ge,Ze){var Xe=k.length-4,xt=k.length-2;ge[Kr]=Oe(k.substr(0,Xe)),ge[kr]=Oe(k.substr(Xe,2)),ge[nn]=Oe(k.substr(xt)),V(Ze).bigHour=!0}),ar("Hmm",function(k,ge,Ze){var Xe=k.length-2;ge[Kr]=Oe(k.substr(0,Xe)),ge[kr]=Oe(k.substr(Xe))}),ar("Hmmss",function(k,ge,Ze){var Xe=k.length-4,xt=k.length-2;ge[Kr]=Oe(k.substr(0,Xe)),ge[kr]=Oe(k.substr(Xe,2)),ge[nn]=Oe(k.substr(xt))});function ua(k){return(k+"").toLowerCase().charAt(0)==="p"}var ta=/[ap]\.?m?\.?/i,Pi=st("Hours",!0);function Ji(k,ge,Ze){return k>11?Ze?"pm":"PM":Ze?"am":"AM"}var Do={calendar:U,longDateFormat:pe,invalidDate:te,ordinal:we,dayOfMonthOrdinalParse:Se,relativeTime:ze,months:un,monthsShort:Zn,week:Fi,weekdays:Ke,weekdaysMin:Bt,weekdaysShort:ht,meridiemParse:ta},Ki={},fi={},oi;function _i(k,ge){var Ze,Xe=Math.min(k.length,ge.length);for(Ze=0;Ze<Xe;Ze+=1)if(k[Ze]!==ge[Ze])return Ze;return Xe}function Jr(k){return k&&k.toLowerCase().replace("_","-")}function hi(k){for(var ge=0,Ze,Xe,xt,xr;ge<k.length;){for(xr=Jr(k[ge]).split("-"),Ze=xr.length,Xe=Jr(k[ge+1]),Xe=Xe?Xe.split("-"):null;Ze>0;){if(xt=Ci(xr.slice(0,Ze).join("-")),xt)return xt;if(Xe&&Xe.length>=Ze&&_i(xr,Xe)>=Ze-1)break;Ze--}ge++}return oi}function yi(k){return k.match("^[^/\\\\]*$")!=null}function Ci(k){var ge=null,Ze;if(Ki[k]===void 0&&_e&&_e.exports&&yi(k))try{ge=oi._abbr,Ze=void 0,Object(function(){var xt=new Error("Cannot find module 'undefined'");throw xt.code="MODULE_NOT_FOUND",xt}()),Oi(ge)}catch(Xe){Ki[k]=null}return Ki[k]}function Oi(k,ge){var Ze;return k&&(ee(ge)?Ze=xo(k):Ze=Mn(k,ge),Ze?oi=Ze:typeof console!="undefined"&&console.warn&&console.warn("Locale "+k+" not found. Did you forget to load it?")),oi._abbr}function Mn(k,ge){if(ge!==null){var Ze,Xe=Do;if(ge.abbr=k,Ki[k]!=null)d("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),Xe=Ki[k]._config;else if(ge.parentLocale!=null)if(Ki[ge.parentLocale]!=null)Xe=Ki[ge.parentLocale]._config;else if(Ze=Ci(ge.parentLocale),Ze!=null)Xe=Ze._config;else return fi[ge.parentLocale]||(fi[ge.parentLocale]=[]),fi[ge.parentLocale].push({name:k,config:ge}),null;return Ki[k]=new w(A(Xe,ge)),fi[k]&&fi[k].forEach(function(xt){Mn(xt.name,xt.config)}),Oi(k),Ki[k]}else return delete Ki[k],null}function wo(k,ge){if(ge!=null){var Ze,Xe,xt=Do;Ki[k]!=null&&Ki[k].parentLocale!=null?Ki[k].set(A(Ki[k]._config,ge)):(Xe=Ci(k),Xe!=null&&(xt=Xe._config),ge=A(xt,ge),Xe==null&&(ge.abbr=k),Ze=new w(ge),Ze.parentLocale=Ki[k],Ki[k]=Ze),Oi(k)}else Ki[k]!=null&&(Ki[k].parentLocale!=null?(Ki[k]=Ki[k].parentLocale,k===Oi()&&Oi(k)):Ki[k]!=null&&delete Ki[k]);return Ki[k]}function xo(k){var ge;if(k&&k._locale&&k._locale._abbr&&(k=k._locale._abbr),!k)return oi;if(!u(k)){if(ge=Ci(k),ge)return ge;k=[k]}return hi(k)}function Ba(){return C(Ki)}function Eo(k){var ge,Ze=k._a;return Ze&&V(k).overflow===-2&&(ge=Ze[qt]<0||Ze[qt]>11?qt:Ze[sr]<1||Ze[sr]>Pr(Ze[At],Ze[qt])?sr:Ze[Kr]<0||Ze[Kr]>24||Ze[Kr]===24&&(Ze[kr]!==0||Ze[nn]!==0||Ze[on]!==0)?Kr:Ze[kr]<0||Ze[kr]>59?kr:Ze[nn]<0||Ze[nn]>59?nn:Ze[on]<0||Ze[on]>999?on:-1,V(k)._overflowDayOfYear&&(ge<At||ge>sr)&&(ge=sr),V(k)._overflowWeeks&&ge===-1&&(ge=vr),V(k)._overflowWeekday&&ge===-1&&(ge=Dr),V(k).overflow=ge),k}var pa=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,va=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,oa=/Z|[+-]\d\d(?::?\d\d)?/,xs=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ls=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Wa=/^\/?Date\((-?\d+)/i,si=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Rs={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Ta(k){var ge,Ze,Xe=k._i,xt=pa.exec(Xe)||va.exec(Xe),xr,sn,Ai,Zi,$i=xs.length,Lo=ls.length;if(xt){for(V(k).iso=!0,ge=0,Ze=$i;ge<Ze;ge++)if(xs[ge][1].exec(xt[1])){sn=xs[ge][0],xr=xs[ge][2]!==!1;break}if(sn==null){k._isValid=!1;return}if(xt[3]){for(ge=0,Ze=Lo;ge<Ze;ge++)if(ls[ge][1].exec(xt[3])){Ai=(xt[2]||" ")+ls[ge][0];break}if(Ai==null){k._isValid=!1;return}}if(!xr&&Ai!=null){k._isValid=!1;return}if(xt[4])if(oa.exec(xt[4]))Zi="Z";else{k._isValid=!1;return}k._f=sn+(Ai||"")+(Zi||""),qs(k)}else k._isValid=!1}function Ka(k,ge,Ze,Xe,xt,xr){var sn=[Fl(k),Zn.indexOf(ge),parseInt(Ze,10),parseInt(Xe,10),parseInt(xt,10)];return xr&&sn.push(parseInt(xr,10)),sn}function Fl(k){var ge=parseInt(k,10);return ge<=49?2e3+ge:ge<=999?1900+ge:ge}function wl(k){return k.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function El(k,ge,Ze){if(k){var Xe=ht.indexOf(k),xt=new Date(ge[0],ge[1],ge[2]).getDay();if(Xe!==xt)return V(Ze).weekdayMismatch=!0,Ze._isValid=!1,!1}return!0}function tu(k,ge,Ze){if(k)return Rs[k];if(ge)return 0;var Xe=parseInt(Ze,10),xt=Xe%100,xr=(Xe-xt)/100;return xr*60+xt}function Xl(k){var ge=si.exec(wl(k._i)),Ze;if(ge){if(Ze=Ka(ge[4],ge[3],ge[2],ge[5],ge[6],ge[7]),!El(ge[1],Ze,k))return;k._a=Ze,k._tzm=tu(ge[8],ge[9],ge[10]),k._d=Fn.apply(null,k._a),k._d.setUTCMinutes(k._d.getUTCMinutes()-k._tzm),V(k).rfc2822=!0}else k._isValid=!1}function Ql(k){var ge=Wa.exec(k._i);if(ge!==null){k._d=new Date(+ge[1]);return}if(Ta(k),k._isValid===!1)delete k._isValid;else return;if(Xl(k),k._isValid===!1)delete k._isValid;else return;k._strict?k._isValid=!1:f.createFromInputFallback(k)}f.createFromInputFallback=E("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(k){k._d=new Date(k._i+(k._useUTC?" UTC":""))});function rl(k,ge,Ze){return k!=null?k:ge!=null?ge:Ze}function hl(k){var ge=new Date(f.now());return k._useUTC?[ge.getUTCFullYear(),ge.getUTCMonth(),ge.getUTCDate()]:[ge.getFullYear(),ge.getMonth(),ge.getDate()]}function Ks(k){var ge,Ze,Xe=[],xt,xr,sn;if(!k._d){for(xt=hl(k),k._w&&k._a[sr]==null&&k._a[qt]==null&&qo(k),k._dayOfYear!=null&&(sn=rl(k._a[At],xt[At]),(k._dayOfYear>qr(sn)||k._dayOfYear===0)&&(V(k)._overflowDayOfYear=!0),Ze=Fn(sn,0,k._dayOfYear),k._a[qt]=Ze.getUTCMonth(),k._a[sr]=Ze.getUTCDate()),ge=0;ge<3&&k._a[ge]==null;++ge)k._a[ge]=Xe[ge]=xt[ge];for(;ge<7;ge++)k._a[ge]=Xe[ge]=k._a[ge]==null?ge===2?1:0:k._a[ge];k._a[Kr]===24&&k._a[kr]===0&&k._a[nn]===0&&k._a[on]===0&&(k._nextDay=!0,k._a[Kr]=0),k._d=(k._useUTC?Fn:Vr).apply(null,Xe),xr=k._useUTC?k._d.getUTCDay():k._d.getDay(),k._tzm!=null&&k._d.setUTCMinutes(k._d.getUTCMinutes()-k._tzm),k._nextDay&&(k._a[Kr]=24),k._w&&typeof k._w.d!="undefined"&&k._w.d!==xr&&(V(k).weekdayMismatch=!0)}}function qo(k){var ge,Ze,Xe,xt,xr,sn,Ai,Zi,$i;ge=k._w,ge.GG!=null||ge.W!=null||ge.E!=null?(xr=1,sn=4,Ze=rl(ge.GG,k._a[At],bi(Pa(),1,4).year),Xe=rl(ge.W,1),xt=rl(ge.E,1),(xt<1||xt>7)&&(Zi=!0)):(xr=k._locale._week.dow,sn=k._locale._week.doy,$i=bi(Pa(),xr,sn),Ze=rl(ge.gg,k._a[At],$i.year),Xe=rl(ge.w,$i.week),ge.d!=null?(xt=ge.d,(xt<0||xt>6)&&(Zi=!0)):ge.e!=null?(xt=ge.e+xr,(ge.e<0||ge.e>6)&&(Zi=!0)):xt=xr),Xe<1||Xe>Si(Ze,xr,sn)?V(k)._overflowWeeks=!0:Zi!=null?V(k)._overflowWeekday=!0:(Ai=zn(Ze,Xe,xt,xr,sn),k._a[At]=Ai.year,k._dayOfYear=Ai.dayOfYear)}f.ISO_8601=function(){},f.RFC_2822=function(){};function qs(k){if(k._f===f.ISO_8601){Ta(k);return}if(k._f===f.RFC_2822){Xl(k);return}k._a=[],V(k).empty=!0;var ge=""+k._i,Ze,Xe,xt,xr,sn,Ai=ge.length,Zi=0,$i,Lo;for(xt=be(k._f,k._locale).match(le)||[],Lo=xt.length,Ze=0;Ze<Lo;Ze++)xr=xt[Ze],Xe=(ge.match(Qr(xr,k))||[])[0],Xe&&(sn=ge.substr(0,ge.indexOf(Xe)),sn.length>0&&V(k).unusedInput.push(sn),ge=ge.slice(ge.indexOf(Xe)+Xe.length),Zi+=Xe.length),ue[xr]?(Xe?V(k).empty=!1:V(k).unusedTokens.push(xr),kt(xr,Xe,k)):k._strict&&!Xe&&V(k).unusedTokens.push(xr);V(k).charsLeftOver=Ai-Zi,ge.length>0&&V(k).unusedInput.push(ge),k._a[Kr]<=12&&V(k).bigHour===!0&&k._a[Kr]>0&&(V(k).bigHour=void 0),V(k).parsedDateParts=k._a.slice(0),V(k).meridiem=k._meridiem,k._a[Kr]=jl(k._locale,k._a[Kr],k._meridiem),$i=V(k).era,$i!==null&&(k._a[At]=k._locale.erasConvertYear($i,k._a[At])),Ks(k),Eo(k)}function jl(k,ge,Ze){var Xe;return Ze==null?ge:k.meridiemHour!=null?k.meridiemHour(ge,Ze):(k.isPM!=null&&(Xe=k.isPM(Ze),Xe&&ge<12&&(ge+=12),!Xe&&ge===12&&(ge=0)),ge)}function Hl(k){var ge,Ze,Xe,xt,xr,sn,Ai=!1,Zi=k._f.length;if(Zi===0){V(k).invalidFormat=!0,k._d=new Date(NaN);return}for(xt=0;xt<Zi;xt++)xr=0,sn=!1,ge=g({},k),k._useUTC!=null&&(ge._useUTC=k._useUTC),ge._f=k._f[xt],qs(ge),c(ge)&&(sn=!0),xr+=V(ge).charsLeftOver,xr+=V(ge).unusedTokens.length*10,V(ge).score=xr,Ai?xr<Xe&&(Xe=xr,Ze=ge):(Xe==null||xr<Xe||sn)&&(Xe=xr,Ze=ge,sn&&(Ai=!0));S(k,Ze||ge)}function ks(k){if(!k._d){var ge=he(k._i),Ze=ge.day===void 0?ge.date:ge.day;k._a=se([ge.year,ge.month,Ze,ge.hour,ge.minute,ge.second,ge.millisecond],function(Xe){return Xe&&parseInt(Xe,10)}),Ks(k)}}function bs(k){var ge=new p(Eo(Au(k)));return ge._nextDay&&(ge.add(1,"d"),ge._nextDay=void 0),ge}function Au(k){var ge=k._i,Ze=k._f;return k._locale=k._locale||xo(k._l),ge===null||Ze===void 0&&ge===""?R({nullInput:!0}):(typeof ge=="string"&&(k._i=ge=k._locale.preparse(ge)),O(ge)?new p(Eo(ge)):(re(ge)?k._d=ge:u(Ze)?Hl(k):Ze?qs(k):pl(k),c(k)||(k._d=null),k))}function pl(k){var ge=k._i;ee(ge)?k._d=new Date(f.now()):re(ge)?k._d=new Date(ge.valueOf()):typeof ge=="string"?Ql(k):u(ge)?(k._a=se(ge.slice(0),function(Ze){return parseInt(Ze,10)}),Ks(k)):m(ge)?ks(k):W(ge)?k._d=new Date(ge):f.createFromInputFallback(k)}function Ja(k,ge,Ze,Xe,xt){var xr={};return(ge===!0||ge===!1)&&(Xe=ge,ge=void 0),(Ze===!0||Ze===!1)&&(Xe=Ze,Ze=void 0),(m(k)&&M(k)||u(k)&&k.length===0)&&(k=void 0),xr._isAMomentObject=!0,xr._useUTC=xr._isUTC=xt,xr._l=Ze,xr._i=k,xr._f=ge,xr._strict=Xe,bs(xr)}function Pa(k,ge,Ze,Xe){return Ja(k,ge,Ze,Xe,!1)}var ns=E("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var k=Pa.apply(null,arguments);return this.isValid()&&k.isValid()?k<this?this:k:R()}),Zl=E("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var k=Pa.apply(null,arguments);return this.isValid()&&k.isValid()?k>this?this:k:R()});function ll(k,ge){var Ze,Xe;if(ge.length===1&&u(ge[0])&&(ge=ge[0]),!ge.length)return Pa();for(Ze=ge[0],Xe=1;Xe<ge.length;++Xe)(!ge[Xe].isValid()||ge[Xe][k](Ze))&&(Ze=ge[Xe]);return Ze}function ul(){var k=[].slice.call(arguments,0);return ll("isBefore",k)}function Po(){var k=[].slice.call(arguments,0);return ll("isAfter",k)}var Ds=function(){return Date.now?Date.now():+new Date},Cl=["year","quarter","month","week","day","hour","minute","second","millisecond"];function jt(k){var ge,Ze=!1,Xe,xt=Cl.length;for(ge in k)if(v(k,ge)&&!(Hr.call(Cl,ge)!==-1&&(k[ge]==null||!isNaN(k[ge]))))return!1;for(Xe=0;Xe<xt;++Xe)if(k[Cl[Xe]]){if(Ze)return!1;parseFloat(k[Cl[Xe]])!==Oe(k[Cl[Xe]])&&(Ze=!0)}return!0}function pt(){return this._isValid}function wt(){return z(NaN)}function Ye(k){var ge=he(k),Ze=ge.year||0,Xe=ge.quarter||0,xt=ge.month||0,xr=ge.week||ge.isoWeek||0,sn=ge.day||0,Ai=ge.hour||0,Zi=ge.minute||0,$i=ge.second||0,Lo=ge.millisecond||0;this._isValid=jt(ge),this._milliseconds=+Lo+$i*1e3+Zi*6e4+Ai*1e3*60*60,this._days=+sn+xr*7,this._months=+xt+Xe*3+Ze*12,this._data={},this._locale=xo(),this._bubble()}function Ut(k){return k instanceof Ye}function fr(k){return k<0?Math.round(-1*k)*-1:Math.round(k)}function Tr(k,ge,Ze){var Xe=Math.min(k.length,ge.length),xt=Math.abs(k.length-ge.length),xr=0,sn;for(sn=0;sn<Xe;sn++)(Ze&&k[sn]!==ge[sn]||!Ze&&Oe(k[sn])!==Oe(ge[sn]))&&xr++;return xr+xt}function ln(k,ge){P(k,0,0,function(){var Ze=this.utcOffset(),Xe="+";return Ze<0&&(Ze=-Ze,Xe="-"),Xe+Y(~~(Ze/60),2)+ge+Y(~~Ze%60,2)})}ln("Z",":"),ln("ZZ",""),ir("Z",et),ir("ZZ",et),ar(["Z","ZZ"],function(k,ge,Ze){Ze._useUTC=!0,Ze._tzm=Di(et,k)});var pi=/([\+\-]|\d\d)/gi;function Di(k,ge){var Ze=(ge||"").match(k),Xe,xt,xr;return Ze===null?null:(Xe=Ze[Ze.length-1]||[],xt=(Xe+"").match(pi)||["-",0,0],xr=+(xt[1]*60)+Oe(xt[2]),xr===0?0:xt[0]==="+"?xr:-xr)}function Mo(k,ge){var Ze,Xe;return ge._isUTC?(Ze=ge.clone(),Xe=(O(k)||re(k)?k.valueOf():Pa(k).valueOf())-Ze.valueOf(),Ze._d.setTime(Ze._d.valueOf()+Xe),f.updateOffset(Ze,!1),Ze):Pa(k).local()}function Vo(k){return-Math.round(k._d.getTimezoneOffset())}f.updateOffset=function(){};function Bs(k,ge,Ze){var Xe=this._offset||0,xt;if(!this.isValid())return k!=null?this:NaN;if(k!=null){if(typeof k=="string"){if(k=Di(et,k),k===null)return this}else Math.abs(k)<16&&!Ze&&(k=k*60);return!this._isUTC&&ge&&(xt=Vo(this)),this._offset=k,this._isUTC=!0,xt!=null&&this.add(xt,"m"),Xe!==k&&(!ge||this._changeInProgress?ve(this,z(k-Xe,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,f.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?Xe:Vo(this)}function is(k,ge){return k!=null?(typeof k!="string"&&(k=-k),this.utcOffset(k,ge),this):-this.utcOffset()}function cs(k){return this.utcOffset(0,k)}function Us(k){return this._isUTC&&(this.utcOffset(0,k),this._isUTC=!1,k&&this.subtract(Vo(this),"m")),this}function Uo(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var k=Di(nr,this._i);k!=null?this.utcOffset(k):this.utcOffset(0,!0)}return this}function Vs(k){return this.isValid()?(k=k?Pa(k).utcOffset():0,(this.utcOffset()-k)%60===0):!1}function Ns(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function du(){if(!ee(this._isDSTShifted))return this._isDSTShifted;var k={},ge;return g(k,this),k=Au(k),k._a?(ge=k._isUTC?J(k._a):Pa(k._a),this._isDSTShifted=this.isValid()&&Tr(k._a,ge.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function ru(){return this.isValid()?!this._isUTC:!1}function Ou(){return this.isValid()?this._isUTC:!1}function nu(){return this.isValid()?this._isUTC&&this._offset===0:!1}var nl=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,fu=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function z(k,ge){var Ze=k,Xe=null,xt,xr,sn;return Ut(k)?Ze={ms:k._milliseconds,d:k._days,M:k._months}:W(k)||!isNaN(+k)?(Ze={},ge?Ze[ge]=+k:Ze.milliseconds=+k):(Xe=nl.exec(k))?(xt=Xe[1]==="-"?-1:1,Ze={y:0,d:Oe(Xe[sr])*xt,h:Oe(Xe[Kr])*xt,m:Oe(Xe[kr])*xt,s:Oe(Xe[nn])*xt,ms:Oe(fr(Xe[on]*1e3))*xt}):(Xe=fu.exec(k))?(xt=Xe[1]==="-"?-1:1,Ze={y:_(Xe[2],xt),M:_(Xe[3],xt),w:_(Xe[4],xt),d:_(Xe[5],xt),h:_(Xe[6],xt),m:_(Xe[7],xt),s:_(Xe[8],xt)}):Ze==null?Ze={}:typeof Ze=="object"&&("from"in Ze||"to"in Ze)&&(sn=Ae(Pa(Ze.from),Pa(Ze.to)),Ze={},Ze.ms=sn.milliseconds,Ze.M=sn.months),xr=new Ye(Ze),Ut(k)&&v(k,"_locale")&&(xr._locale=k._locale),Ut(k)&&v(k,"_isValid")&&(xr._isValid=k._isValid),xr}z.fn=Ye.prototype,z.invalid=wt;function _(k,ge){var Ze=k&&parseFloat(k.replace(",","."));return(isNaN(Ze)?0:Ze)*ge}function H(k,ge){var Ze={};return Ze.months=ge.month()-k.month()+(ge.year()-k.year())*12,k.clone().add(Ze.months,"M").isAfter(ge)&&--Ze.months,Ze.milliseconds=+ge-+k.clone().add(Ze.months,"M"),Ze}function Ae(k,ge){var Ze;return k.isValid()&&ge.isValid()?(ge=Mo(ge,k),k.isBefore(ge)?Ze=H(k,ge):(Ze=H(ge,k),Ze.milliseconds=-Ze.milliseconds,Ze.months=-Ze.months),Ze):{milliseconds:0,months:0}}function Be(k,ge){return function(Ze,Xe){var xt,xr;return Xe!==null&&!isNaN(+Xe)&&(d(ge,"moment()."+ge+"(period, number) is deprecated. Please use moment()."+ge+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),xr=Ze,Ze=Xe,Xe=xr),xt=z(Ze,Xe),ve(this,xt,k),this}}function ve(k,ge,Ze,Xe){var xt=ge._milliseconds,xr=fr(ge._days),sn=fr(ge._months);k.isValid()&&(Xe=Xe==null?!0:Xe,sn&&Wi(k,Ft(k,"Month")+sn*Ze),xr&&Qt(k,"Date",Ft(k,"Date")+xr*Ze),xt&&k._d.setTime(k._d.valueOf()+xt*Ze),Xe&&f.updateOffset(k,xr||sn))}var Le=Be(1,"add"),Re=Be(-1,"subtract");function ke(k){return typeof k=="string"||k instanceof String}function it(k){return O(k)||re(k)||ke(k)||W(k)||Et(k)||gt(k)||k===null||k===void 0}function gt(k){var ge=m(k)&&!M(k),Ze=!1,Xe=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],xt,xr,sn=Xe.length;for(xt=0;xt<sn;xt+=1)xr=Xe[xt],Ze=Ze||v(k,xr);return ge&&Ze}function Et(k){var ge=u(k),Ze=!1;return ge&&(Ze=k.filter(function(Xe){return!W(Xe)&&ke(k)}).length===0),ge&&Ze}function Mt(k){var ge=m(k)&&!M(k),Ze=!1,Xe=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],xt,xr;for(xt=0;xt<Xe.length;xt+=1)xr=Xe[xt],Ze=Ze||v(k,xr);return ge&&Ze}function Ge(k,ge){var Ze=k.diff(ge,"days",!0);return Ze<-6?"sameElse":Ze<-1?"lastWeek":Ze<0?"lastDay":Ze<1?"sameDay":Ze<2?"nextDay":Ze<7?"nextWeek":"sameElse"}function cr(k,ge){arguments.length===1&&(arguments[0]?it(arguments[0])?(k=arguments[0],ge=void 0):Mt(arguments[0])&&(ge=arguments[0],k=void 0):(k=void 0,ge=void 0));var Ze=k||Pa(),Xe=Mo(Ze,this).startOf("day"),xt=f.calendarFormat(this,Xe)||"sameElse",xr=ge&&(i(ge[xt])?ge[xt].call(this,Ze):ge[xt]);return this.format(xr||this.localeData().calendar(xt,this,Pa(Ze)))}function er(){return new p(this)}function mr(k,ge){var Ze=O(k)?k:Pa(k);return this.isValid()&&Ze.isValid()?(ge=Ue(ge)||"millisecond",ge==="millisecond"?this.valueOf()>Ze.valueOf():Ze.valueOf()<this.clone().startOf(ge).valueOf()):!1}function Kt(k,ge){var Ze=O(k)?k:Pa(k);return this.isValid()&&Ze.isValid()?(ge=Ue(ge)||"millisecond",ge==="millisecond"?this.valueOf()<Ze.valueOf():this.clone().endOf(ge).valueOf()<Ze.valueOf()):!1}function dr(k,ge,Ze,Xe){var xt=O(k)?k:Pa(k),xr=O(ge)?ge:Pa(ge);return this.isValid()&&xt.isValid()&&xr.isValid()?(Xe=Xe||"()",(Xe[0]==="("?this.isAfter(xt,Ze):!this.isBefore(xt,Ze))&&(Xe[1]===")"?this.isBefore(xr,Ze):!this.isAfter(xr,Ze))):!1}function Zr(k,ge){var Ze=O(k)?k:Pa(k),Xe;return this.isValid()&&Ze.isValid()?(ge=Ue(ge)||"millisecond",ge==="millisecond"?this.valueOf()===Ze.valueOf():(Xe=Ze.valueOf(),this.clone().startOf(ge).valueOf()<=Xe&&Xe<=this.clone().endOf(ge).valueOf())):!1}function dn(k,ge){return this.isSame(k,ge)||this.isAfter(k,ge)}function hn(k,ge){return this.isSame(k,ge)||this.isBefore(k,ge)}function $n(k,ge,Ze){var Xe,xt,xr;if(!this.isValid())return NaN;if(Xe=Mo(k,this),!Xe.isValid())return NaN;switch(xt=(Xe.utcOffset()-this.utcOffset())*6e4,ge=Ue(ge),ge){case"year":xr=cn(this,Xe)/12;break;case"month":xr=cn(this,Xe);break;case"quarter":xr=cn(this,Xe)/3;break;case"second":xr=(this-Xe)/1e3;break;case"minute":xr=(this-Xe)/6e4;break;case"hour":xr=(this-Xe)/36e5;break;case"day":xr=(this-Xe-xt)/864e5;break;case"week":xr=(this-Xe-xt)/6048e5;break;default:xr=this-Xe}return Ze?xr:Te(xr)}function cn(k,ge){if(k.date()<ge.date())return-cn(ge,k);var Ze=(ge.year()-k.year())*12+(ge.month()-k.month()),Xe=k.clone().add(Ze,"months"),xt,xr;return ge-Xe<0?(xt=k.clone().add(Ze-1,"months"),xr=(ge-Xe)/(Xe-xt)):(xt=k.clone().add(Ze+1,"months"),xr=(ge-Xe)/(xt-Xe)),-(Ze+xr)||0}f.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",f.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Er(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Gn(k){if(!this.isValid())return null;var ge=k!==!0,Ze=ge?this.clone().utc():this;return Ze.year()<0||Ze.year()>9999?ce(Ze,ge?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):i(Date.prototype.toISOString)?ge?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",ce(Ze,"Z")):ce(Ze,ge?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Vn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var k="moment",ge="",Ze,Xe,xt,xr;return this.isLocal()||(k=this.utcOffset()===0?"moment.utc":"moment.parseZone",ge="Z"),Ze="["+k+'("]',Xe=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",xt="-MM-DD[T]HH:mm:ss.SSS",xr=ge+'[")]',this.format(Ze+Xe+xt+xr)}function Xt(k){k||(k=this.isUtc()?f.defaultFormatUtc:f.defaultFormat);var ge=ce(this,k);return this.localeData().postformat(ge)}function rr(k,ge){return this.isValid()&&(O(k)&&k.isValid()||Pa(k).isValid())?z({to:this,from:k}).locale(this.locale()).humanize(!ge):this.localeData().invalidDate()}function Ur(k){return this.from(Pa(),k)}function Or(k,ge){return this.isValid()&&(O(k)&&k.isValid()||Pa(k).isValid())?z({from:this,to:k}).locale(this.locale()).humanize(!ge):this.localeData().invalidDate()}function En(k){return this.to(Pa(),k)}function yn(k){var ge;return k===void 0?this._locale._abbr:(ge=xo(k),ge!=null&&(this._locale=ge),this)}var Rn=E("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(k){return k===void 0?this.localeData():this.locale(k)});function pn(){return this._locale}var Un=1e3,kn=60*Un,Ui=60*kn,Ot=(365*400+97)*24*Ui;function Ar(k,ge){return(k%ge+ge)%ge}function Br(k,ge,Ze){return k<100&&k>=0?new Date(k+400,ge,Ze)-Ot:new Date(k,ge,Ze).valueOf()}function Wr(k,ge,Ze){return k<100&&k>=0?Date.UTC(k+400,ge,Ze)-Ot:Date.UTC(k,ge,Ze)}function tn(k){var ge,Ze;if(k=Ue(k),k===void 0||k==="millisecond"||!this.isValid())return this;switch(Ze=this._isUTC?Wr:Br,k){case"year":ge=Ze(this.year(),0,1);break;case"quarter":ge=Ze(this.year(),this.month()-this.month()%3,1);break;case"month":ge=Ze(this.year(),this.month(),1);break;case"week":ge=Ze(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":ge=Ze(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":ge=Ze(this.year(),this.month(),this.date());break;case"hour":ge=this._d.valueOf(),ge-=Ar(ge+(this._isUTC?0:this.utcOffset()*kn),Ui);break;case"minute":ge=this._d.valueOf(),ge-=Ar(ge,kn);break;case"second":ge=this._d.valueOf(),ge-=Ar(ge,Un);break}return this._d.setTime(ge),f.updateOffset(this,!0),this}function Nr(k){var ge,Ze;if(k=Ue(k),k===void 0||k==="millisecond"||!this.isValid())return this;switch(Ze=this._isUTC?Wr:Br,k){case"year":ge=Ze(this.year()+1,0,1)-1;break;case"quarter":ge=Ze(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":ge=Ze(this.year(),this.month()+1,1)-1;break;case"week":ge=Ze(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":ge=Ze(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":ge=Ze(this.year(),this.month(),this.date()+1)-1;break;case"hour":ge=this._d.valueOf(),ge+=Ui-Ar(ge+(this._isUTC?0:this.utcOffset()*kn),Ui)-1;break;case"minute":ge=this._d.valueOf(),ge+=kn-Ar(ge,kn)-1;break;case"second":ge=this._d.valueOf(),ge+=Un-Ar(ge,Un)-1;break}return this._d.setTime(ge),f.updateOffset(this,!0),this}function gn(){return this._d.valueOf()-(this._offset||0)*6e4}function wn(){return Math.floor(this.valueOf()/1e3)}function mi(){return new Date(this.valueOf())}function wi(){var k=this;return[k.year(),k.month(),k.date(),k.hour(),k.minute(),k.second(),k.millisecond()]}function Ni(){var k=this;return{years:k.year(),months:k.month(),date:k.date(),hours:k.hours(),minutes:k.minutes(),seconds:k.seconds(),milliseconds:k.milliseconds()}}function Gi(){return this.isValid()?this.toISOString():null}function lo(){return c(this)}function _n(){return S({},V(this))}function Cr(){return V(this).overflow}function Ei(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}P("N",0,0,"eraAbbr"),P("NN",0,0,"eraAbbr"),P("NNN",0,0,"eraAbbr"),P("NNNN",0,0,"eraName"),P("NNNNN",0,0,"eraNarrow"),P("y",["y",1],"yo","eraYear"),P("y",["yy",2],0,"eraYear"),P("y",["yyy",3],0,"eraYear"),P("y",["yyyy",4],0,"eraYear"),ir("N",Oa),ir("NN",Oa),ir("NNN",Oa),ir("NNNN",Xo),ir("NNNNN",ya),ar(["N","NN","NNN","NNNN","NNNNN"],function(k,ge,Ze,Xe){var xt=Ze._locale.erasParse(k,Xe,Ze._strict);xt?V(Ze).era=xt:V(Ze).invalidEra=k}),ir("y",Nt),ir("yy",Nt),ir("yyy",Nt),ir("yyyy",Nt),ir("yo",Hi),ar(["y","yy","yyy","yyyy"],At),ar(["yo"],function(k,ge,Ze,Xe){var xt;Ze._locale._eraYearOrdinalRegex&&(xt=k.match(Ze._locale._eraYearOrdinalRegex)),Ze._locale.eraYearOrdinalParse?ge[At]=Ze._locale.eraYearOrdinalParse(k,xt):ge[At]=parseInt(k,10)});function vo(k,ge){var Ze,Xe,xt,xr=this._eras||xo("en")._eras;for(Ze=0,Xe=xr.length;Ze<Xe;++Ze){switch(typeof xr[Ze].since){case"string":xt=f(xr[Ze].since).startOf("day"),xr[Ze].since=xt.valueOf();break}switch(typeof xr[Ze].until){case"undefined":xr[Ze].until=1/0;break;case"string":xt=f(xr[Ze].until).startOf("day").valueOf(),xr[Ze].until=xt.valueOf();break}}return xr}function di(k,ge,Ze){var Xe,xt,xr=this.eras(),sn,Ai,Zi;for(k=k.toUpperCase(),Xe=0,xt=xr.length;Xe<xt;++Xe)if(sn=xr[Xe].name.toUpperCase(),Ai=xr[Xe].abbr.toUpperCase(),Zi=xr[Xe].narrow.toUpperCase(),Ze)switch(ge){case"N":case"NN":case"NNN":if(Ai===k)return xr[Xe];break;case"NNNN":if(sn===k)return xr[Xe];break;case"NNNNN":if(Zi===k)return xr[Xe];break}else if([sn,Ai,Zi].indexOf(k)>=0)return xr[Xe]}function ri(k,ge){var Ze=k.since<=k.until?1:-1;return ge===void 0?f(k.since).year():f(k.since).year()+(ge-k.offset)*Ze}function gi(){var k,ge,Ze,Xe=this.localeData().eras();for(k=0,ge=Xe.length;k<ge;++k)if(Ze=this.clone().startOf("day").valueOf(),Xe[k].since<=Ze&&Ze<=Xe[k].until||Xe[k].until<=Ze&&Ze<=Xe[k].since)return Xe[k].name;return""}function Bi(){var k,ge,Ze,Xe=this.localeData().eras();for(k=0,ge=Xe.length;k<ge;++k)if(Ze=this.clone().startOf("day").valueOf(),Xe[k].since<=Ze&&Ze<=Xe[k].until||Xe[k].until<=Ze&&Ze<=Xe[k].since)return Xe[k].narrow;return""}function eo(){var k,ge,Ze,Xe=this.localeData().eras();for(k=0,ge=Xe.length;k<ge;++k)if(Ze=this.clone().startOf("day").valueOf(),Xe[k].since<=Ze&&Ze<=Xe[k].until||Xe[k].until<=Ze&&Ze<=Xe[k].since)return Xe[k].abbr;return""}function io(){var k,ge,Ze,Xe,xt=this.localeData().eras();for(k=0,ge=xt.length;k<ge;++k)if(Ze=xt[k].since<=xt[k].until?1:-1,Xe=this.clone().startOf("day").valueOf(),xt[k].since<=Xe&&Xe<=xt[k].until||xt[k].until<=Xe&&Xe<=xt[k].since)return(this.year()-f(xt[k].since).year())*Ze+xt[k].offset;return this.year()}function Go(k){return v(this,"_erasNameRegex")||Ss.call(this),k?this._erasNameRegex:this._erasRegex}function Co(k){return v(this,"_erasAbbrRegex")||Ss.call(this),k?this._erasAbbrRegex:this._erasRegex}function No(k){return v(this,"_erasNarrowRegex")||Ss.call(this),k?this._erasNarrowRegex:this._erasRegex}function Oa(k,ge){return ge.erasAbbrRegex(k)}function Xo(k,ge){return ge.erasNameRegex(k)}function ya(k,ge){return ge.erasNarrowRegex(k)}function Hi(k,ge){return ge._eraYearOrdinalRegex||Nt}function Ss(){var k=[],ge=[],Ze=[],Xe=[],xt,xr,sn=this.eras();for(xt=0,xr=sn.length;xt<xr;++xt)ge.push(tr(sn[xt].name)),k.push(tr(sn[xt].abbr)),Ze.push(tr(sn[xt].narrow)),Xe.push(tr(sn[xt].name)),Xe.push(tr(sn[xt].abbr)),Xe.push(tr(sn[xt].narrow));this._erasRegex=new RegExp("^("+Xe.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+ge.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+k.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+Ze.join("|")+")","i")}P(0,["gg",2],0,function(){return this.weekYear()%100}),P(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Jo(k,ge){P(0,[k,k.length],0,ge)}Jo("gggg","weekYear"),Jo("ggggg","weekYear"),Jo("GGGG","isoWeekYear"),Jo("GGGGG","isoWeekYear"),Fe("weekYear","gg"),Fe("isoWeekYear","GG"),q("weekYear",1),q("isoWeekYear",1),ir("G",dt),ir("g",dt),ir("GG",pr,Lr),ir("gg",pr,Lr),ir("GGGG",St,Gr),ir("gggg",St,Gr),ir("GGGGG",Wt,zr),ir("ggggg",Wt,zr),rt(["gggg","ggggg","GGGG","GGGGG"],function(k,ge,Ze,Xe){ge[Xe.substr(0,2)]=Oe(k)}),rt(["gg","GG"],function(k,ge,Ze,Xe){ge[Xe]=f.parseTwoDigitYear(k)});function os(k){return Aa.call(this,k,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function ca(k){return Aa.call(this,k,this.isoWeek(),this.isoWeekday(),1,4)}function Ga(){return Si(this.year(),1,4)}function gl(){return Si(this.isoWeekYear(),1,4)}function Da(){var k=this.localeData()._week;return Si(this.year(),k.dow,k.doy)}function Ri(){var k=this.localeData()._week;return Si(this.weekYear(),k.dow,k.doy)}function Aa(k,ge,Ze,Xe,xt){var xr;return k==null?bi(this,Xe,xt).year:(xr=Si(k,Xe,xt),ge>xr&&(ge=xr),ms.call(this,k,ge,Ze,Xe,xt))}function ms(k,ge,Ze,Xe,xt){var xr=zn(k,ge,Ze,Xe,xt),sn=Fn(xr.year,0,xr.dayOfYear);return this.year(sn.getUTCFullYear()),this.month(sn.getUTCMonth()),this.date(sn.getUTCDate()),this}P("Q",0,"Qo","quarter"),Fe("quarter","Q"),q("quarter",7),ir("Q",Jt),ar("Q",function(k,ge){ge[qt]=(Oe(k)-1)*3});function ml(k){return k==null?Math.ceil((this.month()+1)/3):this.month((k-1)*3+this.month()%3)}P("D",["DD",2],"Do","date"),Fe("date","D"),q("date",9),ir("D",pr),ir("DD",pr,Lr),ir("Do",function(k,ge){return k?ge._dayOfMonthOrdinalParse||ge._ordinalParse:ge._dayOfMonthOrdinalParseLenient}),ar(["D","DD"],sr),ar("Do",function(k,ge){ge[sr]=Oe(k.match(pr)[0])});var us=st("Date",!0);P("DDD",["DDDD",3],"DDDo","dayOfYear"),Fe("dayOfYear","DDD"),q("dayOfYear",4),ir("DDD",Zt),ir("DDDD",Rr),ar(["DDD","DDDD"],function(k,ge,Ze){Ze._dayOfYear=Oe(k)});function ea(k){var ge=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return k==null?ge:this.add(k-ge,"d")}P("m",["mm",2],0,"minute"),Fe("minute","m"),q("minute",14),ir("m",pr),ir("mm",pr,Lr),ar(["m","mm"],kr);var La=st("Minutes",!1);P("s",["ss",2],0,"second"),Fe("second","s"),q("second",15),ir("s",pr),ir("ss",pr,Lr),ar(["s","ss"],nn);var ds=st("Seconds",!1);P("S",0,0,function(){return~~(this.millisecond()/100)}),P(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),P(0,["SSS",3],0,"millisecond"),P(0,["SSSS",4],0,function(){return this.millisecond()*10}),P(0,["SSSSS",5],0,function(){return this.millisecond()*100}),P(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),P(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),P(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),P(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),Fe("millisecond","ms"),q("millisecond",16),ir("S",Zt,Jt),ir("SS",Zt,Lr),ir("SSS",Zt,Rr);var Ya,Qs;for(Ya="SSSS";Ya.length<=9;Ya+="S")ir(Ya,Nt);function Ms(k,ge){ge[on]=Oe(("0."+k)*1e3)}for(Ya="S";Ya.length<=9;Ya+="S")ar(Ya,Ms);Qs=st("Milliseconds",!1),P("z",0,0,"zoneAbbr"),P("zz",0,0,"zoneName");function To(){return this._isUTC?"UTC":""}function il(){return this._isUTC?"Coordinated Universal Time":""}var li=p.prototype;li.add=Le,li.calendar=cr,li.clone=er,li.diff=$n,li.endOf=Nr,li.format=Xt,li.from=rr,li.fromNow=Ur,li.to=Or,li.toNow=En,li.get=Vt,li.invalidAt=Cr,li.isAfter=mr,li.isBefore=Kt,li.isBetween=dr,li.isSame=Zr,li.isSameOrAfter=dn,li.isSameOrBefore=hn,li.isValid=lo,li.lang=Rn,li.locale=yn,li.localeData=pn,li.max=Zl,li.min=ns,li.parsingFlags=_n,li.set=Gt,li.startOf=tn,li.subtract=Re,li.toArray=wi,li.toObject=Ni,li.toDate=mi,li.toISOString=Gn,li.inspect=Vn,typeof Symbol!="undefined"&&Symbol.for!=null&&(li[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),li.toJSON=Gi,li.toString=Er,li.unix=wn,li.valueOf=gn,li.creationData=Ei,li.eraName=gi,li.eraNarrow=Bi,li.eraAbbr=eo,li.eraYear=io,li.year=mn,li.isLeapYear=In,li.weekYear=os,li.isoWeekYear=ca,li.quarter=li.quarters=ml,li.month=_t,li.daysInMonth=Ct,li.week=li.weeks=Ti,li.isoWeek=li.isoWeeks=ao,li.weeksInYear=Da,li.weeksInWeekYear=Ri,li.isoWeeksInYear=Ga,li.isoWeeksInISOWeekYear=gl,li.date=us,li.day=li.days=jn,li.weekday=to,li.isoWeekday=ki,li.dayOfYear=ea,li.hour=li.hours=Pi,li.minute=li.minutes=La,li.second=li.seconds=ds,li.millisecond=li.milliseconds=Qs,li.utcOffset=Bs,li.utc=cs,li.local=Us,li.parseZone=Uo,li.hasAlignedHourOffset=Vs,li.isDST=Ns,li.isLocal=ru,li.isUtcOffset=Ou,li.isUtc=nu,li.isUTC=nu,li.zoneAbbr=To,li.zoneName=il,li.dates=E("dates accessor is deprecated. Use date instead.",us),li.months=E("months accessor is deprecated. Use month instead",_t),li.years=E("years accessor is deprecated. Use year instead",mn),li.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",is),li.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",du);function ka(k){return Pa(k*1e3)}function ga(){return Pa.apply(null,arguments).parseZone()}function Sa(k){return k}var Yo=w.prototype;Yo.calendar=F,Yo.longDateFormat=h,Yo.invalidDate=Q,Yo.ordinal=Ne,Yo.preparse=Sa,Yo.postformat=Sa,Yo.relativeTime=Je,Yo.pastFuture=qe,Yo.set=x,Yo.eras=vo,Yo.erasParse=di,Yo.erasConvertYear=ri,Yo.erasAbbrRegex=Co,Yo.erasNameRegex=Go,Yo.erasNarrowRegex=No,Yo.months=lr,Yo.monthsShort=Yr,Yo.monthsParse=ti,Yo.monthsRegex=br,Yo.monthsShortRegex=mt,Yo.week=bo,Yo.firstDayOfYear=_o,Yo.firstDayOfWeek=mo,Yo.weekdays=zt,Yo.weekdaysMin=On,Yo.weekdaysShort=rn,Yo.weekdaysParse=Kn,Yo.weekdaysRegex=zo,Yo.weekdaysShortRegex=Ko,Yo.weekdaysMinRegex=uo,Yo.isPM=ua,Yo.meridiem=Ji;function _s(k,ge,Ze,Xe){var xt=xo(),xr=J().set(Xe,ge);return xt[Ze](xr,k)}function Es(k,ge,Ze){if(W(k)&&(ge=k,k=void 0),k=k||"",ge!=null)return _s(k,ge,Ze,"month");var Xe,xt=[];for(Xe=0;Xe<12;Xe++)xt[Xe]=_s(k,Xe,Ze,"month");return xt}function ol(k,ge,Ze,Xe){typeof k=="boolean"?(W(ge)&&(Ze=ge,ge=void 0),ge=ge||""):(ge=k,Ze=ge,k=!1,W(ge)&&(Ze=ge,ge=void 0),ge=ge||"");var xt=xo(),xr=k?xt._week.dow:0,sn,Ai=[];if(Ze!=null)return _s(ge,(Ze+xr)%7,Xe,"day");for(sn=0;sn<7;sn++)Ai[sn]=_s(ge,(sn+xr)%7,Xe,"day");return Ai}function Na(k,ge){return Es(k,ge,"months")}function aa(k,ge){return Es(k,ge,"monthsShort")}function fs(k,ge,Ze){return ol(k,ge,Ze,"weekdays")}function Gs(k,ge,Ze){return ol(k,ge,Ze,"weekdaysShort")}function el(k,ge,Ze){return ol(k,ge,Ze,"weekdaysMin")}Oi("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(k){var ge=k%10,Ze=Oe(k%100/10)===1?"th":ge===1?"st":ge===2?"nd":ge===3?"rd":"th";return k+Ze}}),f.lang=E("moment.lang is deprecated. Use moment.locale instead.",Oi),f.langData=E("moment.langData is deprecated. Use moment.localeData instead.",xo);var Ts=Math.abs;function Rl(){var k=this._data;return this._milliseconds=Ts(this._milliseconds),this._days=Ts(this._days),this._months=Ts(this._months),k.milliseconds=Ts(k.milliseconds),k.seconds=Ts(k.seconds),k.minutes=Ts(k.minutes),k.hours=Ts(k.hours),k.months=Ts(k.months),k.years=Ts(k.years),this}function y(k,ge,Ze,Xe){var xt=z(ge,Ze);return k._milliseconds+=Xe*xt._milliseconds,k._days+=Xe*xt._days,k._months+=Xe*xt._months,k._bubble()}function ye(k,ge){return y(this,k,ge,1)}function oe(k,ge){return y(this,k,ge,-1)}function ne(k){return k<0?Math.floor(k):Math.ceil(k)}function He(){var k=this._milliseconds,ge=this._days,Ze=this._months,Xe=this._data,xt,xr,sn,Ai,Zi;return k>=0&&ge>=0&&Ze>=0||k<=0&&ge<=0&&Ze<=0||(k+=ne(bt(Ze)+ge)*864e5,ge=0,Ze=0),Xe.milliseconds=k%1e3,xt=Te(k/1e3),Xe.seconds=xt%60,xr=Te(xt/60),Xe.minutes=xr%60,sn=Te(xr/60),Xe.hours=sn%24,ge+=Te(sn/24),Zi=Te(nt(ge)),Ze+=Zi,ge-=ne(bt(Zi)),Ai=Te(Ze/12),Ze%=12,Xe.days=ge,Xe.months=Ze,Xe.years=Ai,this}function nt(k){return k*4800/146097}function bt(k){return k*146097/4800}function vt(k){if(!this.isValid())return NaN;var ge,Ze,Xe=this._milliseconds;if(k=Ue(k),k==="month"||k==="quarter"||k==="year")switch(ge=this._days+Xe/864e5,Ze=this._months+nt(ge),k){case"month":return Ze;case"quarter":return Ze/3;case"year":return Ze/12}else switch(ge=this._days+Math.round(bt(this._months)),k){case"week":return ge/7+Xe/6048e5;case"day":return ge+Xe/864e5;case"hour":return ge*24+Xe/36e5;case"minute":return ge*1440+Xe/6e4;case"second":return ge*86400+Xe/1e3;case"millisecond":return Math.floor(ge*864e5)+Xe;default:throw new Error("Unknown unit "+k)}}function jr(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+Oe(this._months/12)*31536e6:NaN}function Ht(k){return function(){return this.as(k)}}var hr=Ht("ms"),Tn=Ht("s"),Sn=Ht("m"),an=Ht("h"),ni=Ht("d"),Li=Ht("w"),tt=Ht("M"),at=Ht("Q"),$t=Ht("y");function Fr(){return z(this)}function Xr(k){return k=Ue(k),this.isValid()?this[k+"s"]():NaN}function Ln(k){return function(){return this.isValid()?this._data[k]:NaN}}var xi=Ln("milliseconds"),Cn=Ln("seconds"),Wn=Ln("minutes"),ai=Ln("hours"),ci=Ln("days"),Pn=Ln("months"),vi=Ln("years");function wa(){return Te(this.days()/7)}var Qo=Math.round,yt={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Xn(k,ge,Ze,Xe,xt){return xt.relativeTime(ge||1,!!Ze,k,Xe)}function Vi(k,ge,Ze,Xe){var xt=z(k).abs(),xr=Qo(xt.as("s")),sn=Qo(xt.as("m")),Ai=Qo(xt.as("h")),Zi=Qo(xt.as("d")),$i=Qo(xt.as("M")),Lo=Qo(xt.as("w")),Zo=Qo(xt.as("y")),da=xr<=Ze.ss&&["s",xr]||xr<Ze.s&&["ss",xr]||sn<=1&&["m"]||sn<Ze.m&&["mm",sn]||Ai<=1&&["h"]||Ai<Ze.h&&["hh",Ai]||Zi<=1&&["d"]||Zi<Ze.d&&["dd",Zi];return Ze.w!=null&&(da=da||Lo<=1&&["w"]||Lo<Ze.w&&["ww",Lo]),da=da||$i<=1&&["M"]||$i<Ze.M&&["MM",$i]||Zo<=1&&["y"]||["yy",Zo],da[2]=ge,da[3]=+k>0,da[4]=Xe,Xn.apply(null,da)}function Qi(k){return k===void 0?Qo:typeof k=="function"?(Qo=k,!0):!1}function Bo(k,ge){return yt[k]===void 0?!1:ge===void 0?yt[k]:(yt[k]=ge,k==="s"&&(yt.ss=ge-1),!0)}function Oo(k,ge){if(!this.isValid())return this.localeData().invalidDate();var Ze=!1,Xe=yt,xt,xr;return typeof k=="object"&&(ge=k,k=!1),typeof k=="boolean"&&(Ze=k),typeof ge=="object"&&(Xe=Object.assign({},yt,ge),ge.s!=null&&ge.ss==null&&(Xe.ss=ge.s-1)),xt=this.localeData(),xr=Vi(this,!Ze,Xe,xt),Ze&&(xr=xt.pastFuture(+this,xr)),xt.postformat(xr)}var Ro=Math.abs;function So(k){return(k>0)-(k<0)||+k}function $o(){if(!this.isValid())return this.localeData().invalidDate();var k=Ro(this._milliseconds)/1e3,ge=Ro(this._days),Ze=Ro(this._months),Xe,xt,xr,sn,Ai=this.asSeconds(),Zi,$i,Lo,Zo;return Ai?(Xe=Te(k/60),xt=Te(Xe/60),k%=60,Xe%=60,xr=Te(Ze/12),Ze%=12,sn=k?k.toFixed(3).replace(/\.?0+$/,""):"",Zi=Ai<0?"-":"",$i=So(this._months)!==So(Ai)?"-":"",Lo=So(this._days)!==So(Ai)?"-":"",Zo=So(this._milliseconds)!==So(Ai)?"-":"",Zi+"P"+(xr?$i+xr+"Y":"")+(Ze?$i+Ze+"M":"")+(ge?Lo+ge+"D":"")+(xt||Xe||k?"T":"")+(xt?Zo+xt+"H":"")+(Xe?Zo+Xe+"M":"")+(k?Zo+sn+"S":"")):"P0D"}var Yi=Ye.prototype;Yi.isValid=pt,Yi.abs=Rl,Yi.add=ye,Yi.subtract=oe,Yi.as=vt,Yi.asMilliseconds=hr,Yi.asSeconds=Tn,Yi.asMinutes=Sn,Yi.asHours=an,Yi.asDays=ni,Yi.asWeeks=Li,Yi.asMonths=tt,Yi.asQuarters=at,Yi.asYears=$t,Yi.valueOf=jr,Yi._bubble=He,Yi.clone=Fr,Yi.get=Xr,Yi.milliseconds=xi,Yi.seconds=Cn,Yi.minutes=Wn,Yi.hours=ai,Yi.days=ci,Yi.weeks=wa,Yi.months=Pn,Yi.years=vi,Yi.humanize=Oo,Yi.toISOString=$o,Yi.toString=$o,Yi.toJSON=$o,Yi.locale=yn,Yi.localeData=pn,Yi.toIsoString=E("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",$o),Yi.lang=Rn,P("X",0,0,"unix"),P("x",0,0,"valueOf"),ir("x",dt),ir("X",Tt),ar("X",function(k,ge,Ze){Ze._d=new Date(parseFloat(k)*1e3)}),ar("x",function(k,ge,Ze){Ze._d=new Date(Oe(k))});//! moment.js
return f.version="2.29.4",l(Pa),f.fn=li,f.min=ul,f.max=Po,f.now=Ds,f.utc=J,f.unix=ka,f.months=Na,f.isDate=re,f.locale=Oi,f.invalid=R,f.duration=z,f.isMoment=O,f.weekdays=fs,f.parseZone=ga,f.localeData=xo,f.isDuration=Ut,f.monthsShort=aa,f.weekdaysMin=el,f.defineLocale=Mn,f.updateLocale=wo,f.locales=Ba,f.weekdaysShort=Gs,f.normalizeUnits=Ue,f.relativeTimeRounding=Qi,f.relativeTimeThreshold=Bo,f.calendarFormat=Ge,f.prototype=li,f.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},f})},99813:function(_e){"use strict";/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var $=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function f(u){if(u==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(u)}function l(){try{if(!Object.assign)return!1;var u=new String("abc");if(u[5]="de",Object.getOwnPropertyNames(u)[0]==="5")return!1;for(var m={},v=0;v<10;v++)m["_"+String.fromCharCode(v)]=v;var M=Object.getOwnPropertyNames(m).map(function(W){return m[W]});if(M.join("")!=="0123456789")return!1;var ee={};return"abcdefghijklmnopqrst".split("").forEach(function(W){ee[W]=W}),Object.keys(Object.assign({},ee)).join("")==="abcdefghijklmnopqrst"}catch(W){return!1}}_e.exports=l()?Object.assign:function(u,m){for(var v,M=f(u),ee,W=1;W<arguments.length;W++){v=Object(arguments[W]);for(var re in v)t.call(v,re)&&(M[re]=v[re]);if($){ee=$(v);for(var se=0;se<ee.length;se++)n.call(v,ee[se])&&(M[ee[se]]=v[ee[se]])}}return M}},5372:function(_e,$,t){"use strict";var n=t(49567);function f(){}function l(){}l.resetWarningCache=f,_e.exports=function(){function u(M,ee,W,re,se,S){if(S!==n){var J=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 J.name="Invariant Violation",J}}u.isRequired=u;function m(){return u}var v={array:u,bigint:u,bool:u,func:u,number:u,object:u,string:u,symbol:u,any:u,arrayOf:m,element:u,elementType:u,instanceOf:m,node:u,objectOf:m,oneOf:m,oneOfType:m,shape:m,exact:m,checkPropTypes:l,resetWarningCache:f};return v.PropTypes=v,v}},2652:function(_e,$,t){if(!1)var n,f;else _e.exports=t(5372)()},49567:function(_e){"use strict";var $="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";_e.exports=$},7493:function(_e,$,t){"use strict";Object.defineProperty($,"__esModule",{value:!0}),$.ariaLabelsShape=void 0;var n=f(t(2652));function f(u){return u&&u.__esModule?u:{default:u}}var l=n.default.shape({dateInput:n.default.objectOf(n.default.shape({startDate:n.default.string,endDate:n.default.string})),monthPicker:n.default.string,yearPicker:n.default.string,prevButton:n.default.string,nextButton:n.default.string});$.ariaLabelsShape=l},44124:function(_e,$,t){"use strict";function n(Ue){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n=function(xe){return typeof xe}:n=function(xe){return xe&&typeof Symbol=="function"&&xe.constructor===Symbol&&xe!==Symbol.prototype?"symbol":typeof xe},n(Ue)}Object.defineProperty($,"__esModule",{value:!0}),$.default=void 0;var f=F(t(89526)),l=C(t(2652)),u=t(96128),m=C(t(30370)),v=C(t(43932)),M=t(29265),ee=C(t(64403)),W=C(t(90847)),re=t(69987),se=C(t(65759)),S=C(t(45)),J=C(t(81364)),T=C(t(51449)),V=C(t(9586)),L=C(t(9018)),c=C(t(55798)),R=C(t(53833)),B=C(t(35138)),X=C(t(38431)),g=C(t(11105)),p=C(t(44993)),O=C(t(38169)),I=C(t(55053)),E=C(t(88077)),K=C(t(36629)),d=C(t(75059)),i=C(t(11831)),x=C(t(33621)),A=C(t(54038)),w=t(7493);function C(Ue){return Ue&&Ue.__esModule?Ue:{default:Ue}}function U(Ue){if(typeof WeakMap!="function")return null;var he=new WeakMap,xe=new WeakMap;return(U=function(me){return me?xe:he})(Ue)}function F(Ue,he){if(!he&&Ue&&Ue.__esModule)return Ue;if(Ue===null||n(Ue)!=="object"&&typeof Ue!="function")return{default:Ue};var xe=U(he);if(xe&&xe.has(Ue))return xe.get(Ue);var q={},me=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var De in Ue)if(De!=="default"&&Object.prototype.hasOwnProperty.call(Ue,De)){var Te=me?Object.getOwnPropertyDescriptor(Ue,De):null;Te&&(Te.get||Te.set)?Object.defineProperty(q,De,Te):q[De]=Ue[De]}return q.default=Ue,xe&&xe.set(Ue,q),q}function Y(){return Y=Object.assign||function(Ue){for(var he=1;he<arguments.length;he++){var xe=arguments[he];for(var q in xe)Object.prototype.hasOwnProperty.call(xe,q)&&(Ue[q]=xe[q])}return Ue},Y.apply(this,arguments)}function le(Ue){return P(Ue)||ue(Ue)||j(Ue)||ie()}function ie(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function j(Ue,he){if(Ue){if(typeof Ue=="string")return Z(Ue,he);var xe=Object.prototype.toString.call(Ue).slice(8,-1);if(xe==="Object"&&Ue.constructor&&(xe=Ue.constructor.name),xe==="Map"||xe==="Set")return Array.from(Ue);if(xe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(xe))return Z(Ue,he)}}function ue(Ue){if(typeof Symbol!="undefined"&&Ue[Symbol.iterator]!=null||Ue["@@iterator"]!=null)return Array.from(Ue)}function P(Ue){if(Array.isArray(Ue))return Z(Ue)}function Z(Ue,he){(he==null||he>Ue.length)&&(he=Ue.length);for(var xe=0,q=new Array(he);xe<he;xe++)q[xe]=Ue[xe];return q}function ae(Ue,he){var xe=Object.keys(Ue);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(Ue);he&&(q=q.filter(function(me){return Object.getOwnPropertyDescriptor(Ue,me).enumerable})),xe.push.apply(xe,q)}return xe}function ce(Ue){for(var he=1;he<arguments.length;he++){var xe=arguments[he]!=null?arguments[he]:{};he%2?ae(Object(xe),!0).forEach(function(q){qe(Ue,q,xe[q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ue,Object.getOwnPropertyDescriptors(xe)):ae(Object(xe)).forEach(function(q){Object.defineProperty(Ue,q,Object.getOwnPropertyDescriptor(xe,q))})}return Ue}function be(Ue,he){if(!(Ue instanceof he))throw new TypeError("Cannot call a class as a function")}function pe(Ue,he){for(var xe=0;xe<he.length;xe++){var q=he[xe];q.enumerable=q.enumerable||!1,q.configurable=!0,"value"in q&&(q.writable=!0),Object.defineProperty(Ue,q.key,q)}}function h(Ue,he,xe){return he&&pe(Ue.prototype,he),xe&&pe(Ue,xe),Ue}function te(Ue,he){if(typeof he!="function"&&he!==null)throw new TypeError("Super expression must either be null or a function");Ue.prototype=Object.create(he&&he.prototype,{constructor:{value:Ue,writable:!0,configurable:!0}}),he&&Q(Ue,he)}function Q(Ue,he){return Q=Object.setPrototypeOf||function(q,me){return q.__proto__=me,q},Q(Ue,he)}function we(Ue){var he=ze();return function(){var q=Je(Ue),me;if(he){var De=Je(this).constructor;me=Reflect.construct(q,arguments,De)}else me=q.apply(this,arguments);return Se(this,me)}}function Se(Ue,he){return he&&(n(he)==="object"||typeof he=="function")?he:Ne(Ue)}function Ne(Ue){if(Ue===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ue}function ze(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(Ue){return!1}}function Je(Ue){return Je=Object.setPrototypeOf?Object.getPrototypeOf:function(xe){return xe.__proto__||Object.getPrototypeOf(xe)},Je(Ue)}function qe(Ue,he,xe){return he in Ue?Object.defineProperty(Ue,he,{value:xe,enumerable:!0,configurable:!0,writable:!0}):Ue[he]=xe,Ue}var Me=function(Ue){te(xe,Ue);var he=we(xe);function xe(q,me){var De;return be(this,xe),De=he.call(this,q,me),qe(Ne(De),"focusToDate",function(Te){var Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:De.props,st=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!Oe.scroll.enabled){if(st&&Oe.preventSnapRefocus){var Ft=(0,R.default)(Te,De.state.focusedDate),Qt=Oe.calendarFocus==="forwards"&&Ft>=0,Vt=Oe.calendarFocus==="backwards"&&Ft<=0;if((Qt||Vt)&&Math.abs(Ft)<Oe.months)return}De.setState({focusedDate:Te});return}var Gt=(0,R.default)(Te,Oe.minDate,De.dateOptions),Jt=De.list.getVisibleRange();st&&Jt.includes(Gt)||(De.isFirstRender=!0,De.list.scrollTo(Gt),De.setState({focusedDate:Te}))}),qe(Ne(De),"updateShownDate",function(){var Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:De.props,Oe=Te.scroll.enabled?ce(ce({},Te),{},{months:De.list.getVisibleRange().length}):Te,st=(0,M.calcFocusDate)(De.state.focusedDate,Oe);De.focusToDate(st,Oe)}),qe(Ne(De),"updatePreview",function(Te){if(!Te){De.setState({preview:null});return}var Oe={startDate:Te,endDate:Te,color:De.props.color};De.setState({preview:Oe})}),qe(Ne(De),"changeShownDate",function(Te){var Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"set",st=De.state.focusedDate,Ft=De.props,Qt=Ft.onShownDateChange,Vt=Ft.minDate,Gt=Ft.maxDate,Jt={monthOffset:function(){return(0,i.default)(st,Te)},setMonth:function(Rr){function Gr(){return Rr.apply(this,arguments)}return Gr.toString=function(){return Rr.toString()},Gr}(function(){return(0,B.default)(st,Te)}),setYear:function(Rr){function Gr(){return Rr.apply(this,arguments)}return Gr.toString=function(){return Rr.toString()},Gr}(function(){return(0,X.default)(st,Te)}),set:function(){return Te}},Lr=(0,S.default)([(0,se.default)([Jt[Oe](),Vt]),Gt]);De.focusToDate(Lr,De.props,!1),Qt&&Qt(Lr)}),qe(Ne(De),"handleRangeFocusChange",function(Te,Oe){De.props.onRangeFocusChange&&De.props.onRangeFocusChange([Te,Oe])}),qe(Ne(De),"handleScroll",function(){var Te=De.props,Oe=Te.onShownDateChange,st=Te.minDate,Ft=De.state.focusedDate,Qt=Ne(De),Vt=Qt.isFirstRender,Gt=De.list.getVisibleRange();if(Gt[0]!==void 0){var Jt=(0,i.default)(st,Gt[0]||0),Lr=!(0,T.default)(Jt,Ft);Lr&&!Vt&&(De.setState({focusedDate:Jt}),Oe&&Oe(Jt)),De.isFirstRender=!1}}),qe(Ne(De),"renderMonthAndYear",function(Te,Oe,st){var Ft=st.showMonthArrow,Qt=st.minDate,Vt=st.maxDate,Gt=st.showMonthAndYearPickers,Jt=st.ariaLabels,Lr=(Vt||xe.defaultProps.maxDate).getFullYear(),Rr=(Qt||xe.defaultProps.minDate).getFullYear(),Gr=De.styles;return f.default.createElement("div",{onMouseUp:function(pr){return pr.stopPropagation()},className:Gr.monthAndYearWrapper},Ft?f.default.createElement("button",{type:"button",className:(0,ee.default)(Gr.nextPrevButton,Gr.prevButton),onClick:function(){return Oe(-1,"monthOffset")},"aria-label":Jt.prevButton},f.default.createElement("i",null)):null,Gt?f.default.createElement("span",{className:Gr.monthAndYearPickers},f.default.createElement("span",{className:Gr.monthPicker},f.default.createElement("select",{value:Te.getMonth(),onChange:function(pr){return Oe(pr.target.value,"setMonth")},"aria-label":Jt.monthPicker},De.state.monthNames.map(function(zr,pr){return f.default.createElement("option",{key:pr,value:pr},zr)}))),f.default.createElement("span",{className:Gr.monthAndYearDivider}),f.default.createElement("span",{className:Gr.yearPicker},f.default.createElement("select",{value:Te.getFullYear(),onChange:function(pr){return Oe(pr.target.value,"setYear")},"aria-label":Jt.yearPicker},new Array(Lr-Rr+1).fill(Lr).map(function(zr,pr){var vn=zr-pr;return f.default.createElement("option",{key:vn,value:vn},vn)})))):f.default.createElement("span",{className:Gr.monthAndYearPickers},De.state.monthNames[Te.getMonth()]," ",Te.getFullYear()),Ft?f.default.createElement("button",{type:"button",className:(0,ee.default)(Gr.nextPrevButton,Gr.nextButton),onClick:function(){return Oe(1,"monthOffset")},"aria-label":Jt.nextButton},f.default.createElement("i",null)):null)}),qe(Ne(De),"renderDateDisplay",function(){var Te=De.props,Oe=Te.focusedRange,st=Te.color,Ft=Te.ranges,Qt=Te.rangeColors,Vt=Te.dateDisplayFormat,Gt=Te.editableDateInputs,Jt=Te.startDatePlaceholder,Lr=Te.endDatePlaceholder,Rr=Te.ariaLabels,Gr=Qt[Oe[0]]||st,zr=De.styles;return f.default.createElement("div",{className:zr.dateDisplayWrapper},Ft.map(function(pr,vn){return pr.showDateDisplay===!1||pr.disabled&&!pr.showDateDisplay?null:f.default.createElement("div",{className:zr.dateDisplay,key:vn,style:{color:pr.color||Gr}},f.default.createElement(v.default,{className:(0,ee.default)(zr.dateDisplayItem,qe({},zr.dateDisplayItemActive,Oe[0]===vn&&Oe[1]===0)),readOnly:!Gt,disabled:pr.disabled,value:pr.startDate,placeholder:Jt,dateOptions:De.dateOptions,dateDisplayFormat:Vt,ariaLabel:Rr.dateInput&&Rr.dateInput[pr.key]&&Rr.dateInput[pr.key].startDate,onChange:De.onDragSelectionEnd,onFocus:function(){return De.handleRangeFocusChange(vn,0)}}),f.default.createElement(v.default,{className:(0,ee.default)(zr.dateDisplayItem,qe({},zr.dateDisplayItemActive,Oe[0]===vn&&Oe[1]===1)),readOnly:!Gt,disabled:pr.disabled,value:pr.endDate,placeholder:Lr,dateOptions:De.dateOptions,dateDisplayFormat:Vt,ariaLabel:Rr.dateInput&&Rr.dateInput[pr.key]&&Rr.dateInput[pr.key].endDate,onChange:De.onDragSelectionEnd,onFocus:function(){return De.handleRangeFocusChange(vn,1)}}))}))}),qe(Ne(De),"onDragSelectionStart",function(Te){var Oe=De.props,st=Oe.onChange,Ft=Oe.dragSelectionEnabled;Ft?De.setState({drag:{status:!0,range:{startDate:Te,endDate:Te},disablePreview:!0}}):st&&st(Te)}),qe(Ne(De),"onDragSelectionEnd",function(Te){var Oe=De.props,st=Oe.updateRange,Ft=Oe.displayMode,Qt=Oe.onChange,Vt=Oe.dragSelectionEnabled;if(Vt){if(Ft==="date"||!De.state.drag.status){Qt&&Qt(Te);return}var Gt={startDate:De.state.drag.range.startDate,endDate:Te};Ft!=="dateRange"||(0,p.default)(Gt.startDate,Te)?De.setState({drag:{status:!1,range:{}}},function(){return Qt&&Qt(Te)}):De.setState({drag:{status:!1,range:{}}},function(){st&&st(Gt)})}}),qe(Ne(De),"onDragSelectionMove",function(Te){var Oe=De.state.drag;!Oe.status||!De.props.dragSelectionEnabled||De.setState({drag:{status:Oe.status,range:{startDate:Oe.range.startDate,endDate:Te},disablePreview:!0}})}),qe(Ne(De),"estimateMonthSize",function(Te,Oe){var st=De.props,Ft=st.direction,Qt=st.minDate,Vt=De.state.scrollArea;if(Oe&&(De.listSizeCache=Oe,Oe[Te]))return Oe[Te];if(Ft==="horizontal")return Vt.monthWidth;var Gt=(0,i.default)(Qt,Te),Jt=(0,M.getMonthDisplayRange)(Gt,De.dateOptions),Lr=Jt.start,Rr=Jt.end,Gr=(0,J.default)(Rr,Lr,De.dateOptions)+1>7*5;return Gr?Vt.longMonthHeight:Vt.monthHeight}),De.dateOptions={locale:q.locale},q.weekStartsOn!==void 0&&(De.dateOptions.weekStartsOn=q.weekStartsOn),De.styles=(0,M.generateStyles)([A.default,q.classNames]),De.listSizeCache={},De.isFirstRender=!0,De.state={monthNames:De.getMonthNames(),focusedDate:(0,M.calcFocusDate)(null,q),drag:{status:!1,range:{startDate:null,endDate:null},disablePreview:!1},scrollArea:De.calcScrollArea(q)},De}return h(xe,[{key:"getMonthNames",value:function(){var me=this;return le(Array(12).keys()).map(function(De){return me.props.locale.localize.month(De)})}},{key:"calcScrollArea",value:function(me){var De=me.direction,Te=me.months,Oe=me.scroll;if(!Oe.enabled)return{enabled:!1};var st=Oe.longMonthHeight||Oe.monthHeight;return De==="vertical"?{enabled:!0,monthHeight:Oe.monthHeight||220,longMonthHeight:st||260,calendarWidth:"auto",calendarHeight:(Oe.calendarHeight||st||240)*Te}:{enabled:!0,monthWidth:Oe.monthWidth||332,calendarWidth:(Oe.calendarWidth||Oe.monthWidth||332)*Te,monthHeight:st||300,calendarHeight:st||300}}},{key:"componentDidMount",value:function(){var me=this;this.props.scroll.enabled&&setTimeout(function(){return me.focusToDate(me.state.focusedDate)})}},{key:"componentDidUpdate",value:function(me){var De={dateRange:"ranges",date:"date"},Te=De[this.props.displayMode];this.props[Te]!==me[Te]&&this.updateShownDate(this.props),(me.locale!==this.props.locale||me.weekStartsOn!==this.props.weekStartsOn)&&(this.dateOptions={locale:this.props.locale},this.props.weekStartsOn!==void 0&&(this.dateOptions.weekStartsOn=this.props.weekStartsOn),this.setState({monthNames:this.getMonthNames()})),(0,re.shallowEqualObjects)(me.scroll,this.props.scroll)||this.setState({scrollArea:this.calcScrollArea(this.props)})}},{key:"renderWeekdays",value:function(){var me=this,De=new Date;return f.default.createElement("div",{className:this.styles.weekDays},(0,E.default)({start:(0,I.default)(De,this.dateOptions),end:(0,O.default)(De,this.dateOptions)}).map(function(Te,Oe){return f.default.createElement("span",{className:me.styles.weekDay,key:Oe},(0,K.default)(Te,me.props.weekdayDisplayFormat,me.dateOptions))}))}},{key:"render",value:function(){var me=this,De=this.props,Te=De.showDateDisplay,Oe=De.onPreviewChange,st=De.scroll,Ft=De.direction,Qt=De.disabledDates,Vt=De.disabledDay,Gt=De.maxDate,Jt=De.minDate,Lr=De.rangeColors,Rr=De.color,Gr=De.navigatorRenderer,zr=De.className,pr=De.preview,vn=this.state,fn=vn.scrollArea,Zt=vn.focusedDate,St=Ft==="vertical",Wt=Gr||this.renderMonthAndYear,Nt=this.props.ranges.map(function(dt,nr){return ce(ce({},dt),{},{color:dt.color||Lr[nr]||Rr})});return f.default.createElement("div",{className:(0,ee.default)(this.styles.calendarWrapper,zr),onMouseUp:function(){return me.setState({drag:{status:!1,range:{}}})},onMouseLeave:function(){me.setState({drag:{status:!1,range:{}}})}},Te&&this.renderDateDisplay(),Wt(Zt,this.changeShownDate,this.props),st.enabled?f.default.createElement("div",null,St&&this.renderWeekdays(this.dateOptions),f.default.createElement("div",{className:(0,ee.default)(this.styles.infiniteMonths,St?this.styles.monthsVertical:this.styles.monthsHorizontal),onMouseLeave:function(){return Oe&&Oe()},style:{width:fn.calendarWidth+11,height:fn.calendarHeight+11},onScroll:this.handleScroll},f.default.createElement(W.default,{length:(0,R.default)((0,L.default)(Gt),(0,V.default)((0,c.default)(Jt),-1),this.dateOptions),treshold:500,type:"variable",ref:function(nr){return me.list=nr},itemSizeEstimator:this.estimateMonthSize,axis:St?"y":"x",itemRenderer:function(nr,et){var Tt=(0,i.default)(Jt,nr);return f.default.createElement(m.default,Y({},me.props,{onPreviewChange:Oe||me.updatePreview,preview:pr||me.state.preview,ranges:Nt,key:et,drag:me.state.drag,dateOptions:me.dateOptions,disabledDates:Qt,disabledDay:Vt,month:Tt,onDragSelectionStart:me.onDragSelectionStart,onDragSelectionEnd:me.onDragSelectionEnd,onDragSelectionMove:me.onDragSelectionMove,onMouseLeave:function(){return Oe&&Oe()},styles:me.styles,style:St?{height:me.estimateMonthSize(nr)}:{height:fn.monthHeight,width:me.estimateMonthSize(nr)},showMonthName:!0,showWeekDays:!St}))}}))):f.default.createElement("div",{className:(0,ee.default)(this.styles.months,St?this.styles.monthsVertical:this.styles.monthsHorizontal)},new Array(this.props.months).fill(null).map(function(dt,nr){var et=(0,i.default)(me.state.focusedDate,nr);return me.props.calendarFocus==="backwards"&&(et=(0,d.default)(me.state.focusedDate,me.props.months-1-nr)),f.default.createElement(m.default,Y({},me.props,{onPreviewChange:Oe||me.updatePreview,preview:pr||me.state.preview,ranges:Nt,key:nr,drag:me.state.drag,dateOptions:me.dateOptions,disabledDates:Qt,disabledDay:Vt,month:et,onDragSelectionStart:me.onDragSelectionStart,onDragSelectionEnd:me.onDragSelectionEnd,onDragSelectionMove:me.onDragSelectionMove,onMouseLeave:function(){return Oe&&Oe()},styles:me.styles,showWeekDays:!St||nr===0,showMonthName:!St||nr>0}))})))}}]),xe}(f.PureComponent);Me.defaultProps={showMonthArrow:!0,showMonthAndYearPickers:!0,disabledDates:[],disabledDay:function(){},classNames:{},locale:x.default,ranges:[],focusedRange:[0,0],dateDisplayFormat:"MMM d, yyyy",monthDisplayFormat:"MMM yyyy",weekdayDisplayFormat:"E",dayDisplayFormat:"d",showDateDisplay:!0,showPreview:!0,displayMode:"date",months:1,color:"#3d91ff",scroll:{enabled:!1},direction:"vertical",maxDate:(0,g.default)(new Date,20),minDate:(0,g.default)(new Date,-100),rangeColors:["#3d91ff","#3ecf8e","#fed14c"],startDatePlaceholder:"Early",endDatePlaceholder:"Continuous",editableDateInputs:!1,dragSelectionEnabled:!0,fixedHeight:!1,calendarFocus:"forwards",preventSnapRefocus:!1,ariaLabels:{}},Me.propTypes={showMonthArrow:l.default.bool,showMonthAndYearPickers:l.default.bool,disabledDates:l.default.array,disabledDay:l.default.func,minDate:l.default.object,maxDate:l.default.object,date:l.default.object,onChange:l.default.func,onPreviewChange:l.default.func,onRangeFocusChange:l.default.func,classNames:l.default.object,locale:l.default.object,shownDate:l.default.object,onShownDateChange:l.default.func,ranges:l.default.arrayOf(u.rangeShape),preview:l.default.shape({startDate:l.default.object,endDate:l.default.object,color:l.default.string}),dateDisplayFormat:l.default.string,monthDisplayFormat:l.default.string,weekdayDisplayFormat:l.default.string,weekStartsOn:l.default.number,dayDisplayFormat:l.default.string,focusedRange:l.default.arrayOf(l.default.number),initialFocusedRange:l.default.arrayOf(l.default.number),months:l.default.number,className:l.default.string,showDateDisplay:l.default.bool,showPreview:l.default.bool,displayMode:l.default.oneOf(["dateRange","date"]),color:l.default.string,updateRange:l.default.func,scroll:l.default.shape({enabled:l.default.bool,monthHeight:l.default.number,longMonthHeight:l.default.number,monthWidth:l.default.number,calendarWidth:l.default.number,calendarHeight:l.default.number}),direction:l.default.oneOf(["vertical","horizontal"]),startDatePlaceholder:l.default.string,endDatePlaceholder:l.default.string,navigatorRenderer:l.default.func,rangeColors:l.default.arrayOf(l.default.string),editableDateInputs:l.default.bool,dragSelectionEnabled:l.default.bool,fixedHeight:l.default.bool,calendarFocus:l.default.string,preventSnapRefocus:l.default.bool,ariaLabels:w.ariaLabelsShape};var Fe=Me;$.default=Fe},43932:function(_e,$,t){"use strict";function n(E){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n=function(d){return typeof d}:n=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},n(E)}Object.defineProperty($,"__esModule",{value:!0}),$.default=void 0;var f=se(t(89526)),l=W(t(2652)),u=W(t(64403)),m=W(t(75013)),v=W(t(50169)),M=W(t(59778)),ee=W(t(36629));function W(E){return E&&E.__esModule?E:{default:E}}function re(E){if(typeof WeakMap!="function")return null;var K=new WeakMap,d=new WeakMap;return(re=function(x){return x?d:K})(E)}function se(E,K){if(!K&&E&&E.__esModule)return E;if(E===null||n(E)!=="object"&&typeof E!="function")return{default:E};var d=re(K);if(d&&d.has(E))return d.get(E);var i={},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var A in E)if(A!=="default"&&Object.prototype.hasOwnProperty.call(E,A)){var w=x?Object.getOwnPropertyDescriptor(E,A):null;w&&(w.get||w.set)?Object.defineProperty(i,A,w):i[A]=E[A]}return i.default=E,d&&d.set(E,i),i}function S(E,K){if(!(E instanceof K))throw new TypeError("Cannot call a class as a function")}function J(E,K){for(var d=0;d<K.length;d++){var i=K[d];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(E,i.key,i)}}function T(E,K,d){return K&&J(E.prototype,K),d&&J(E,d),E}function V(E,K){if(typeof K!="function"&&K!==null)throw new TypeError("Super expression must either be null or a function");E.prototype=Object.create(K&&K.prototype,{constructor:{value:E,writable:!0,configurable:!0}}),K&&L(E,K)}function L(E,K){return L=Object.setPrototypeOf||function(i,x){return i.__proto__=x,i},L(E,K)}function c(E){var K=X();return function(){var i=g(E),x;if(K){var A=g(this).constructor;x=Reflect.construct(i,arguments,A)}else x=i.apply(this,arguments);return R(this,x)}}function R(E,K){return K&&(n(K)==="object"||typeof K=="function")?K:B(E)}function B(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}function X(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(E){return!1}}function g(E){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(d){return d.__proto__||Object.getPrototypeOf(d)},g(E)}function p(E,K,d){return K in E?Object.defineProperty(E,K,{value:d,enumerable:!0,configurable:!0,writable:!0}):E[K]=d,E}var O=function(E){V(d,E);var K=c(d);function d(i,x){var A;return S(this,d),A=K.call(this,i,x),p(B(A),"onKeyDown",function(w){var C=A.state.value;w.key==="Enter"&&A.update(C)}),p(B(A),"onChange",function(w){A.setState({value:w.target.value,changed:!0,invalid:!1})}),p(B(A),"onBlur",function(){var w=A.state.value;A.update(w)}),A.state={invalid:!1,changed:!1,value:A.formatDate(i)},A}return T(d,[{key:"componentDidUpdate",value:function(x){var A=x.value;(0,m.default)(A,this.props.value)||this.setState({value:this.formatDate(this.props)})}},{key:"formatDate",value:function(x){var A=x.value,w=x.dateDisplayFormat,C=x.dateOptions;return A&&(0,v.default)(A)?(0,ee.default)(A,w,C):""}},{key:"update",value:function(x){var A=this.state,w=A.invalid,C=A.changed;if(!(w||!C||!x)){var U=this.props,F=U.onChange,Y=U.dateDisplayFormat,le=U.dateOptions,ie=(0,M.default)(x,Y,new Date,le);(0,v.default)(ie)?this.setState({changed:!1},function(){return F(ie)}):this.setState({invalid:!0})}}},{key:"render",value:function(){var x=this.props,A=x.className,w=x.readOnly,C=x.placeholder,U=x.ariaLabel,F=x.disabled,Y=x.onFocus,le=this.state,ie=le.value,j=le.invalid;return f.default.createElement("span",{className:(0,u.default)("rdrDateInput",A)},f.default.createElement("input",{readOnly:w,disabled:F,value:ie,placeholder:C,"aria-label":U,onKeyDown:this.onKeyDown,onChange:this.onChange,onBlur:this.onBlur,onFocus:Y}),j&&f.default.createElement("span",{className:"rdrWarning"},"\u26A0"))}}]),d}(f.PureComponent);O.propTypes={value:l.default.object,placeholder:l.default.string,disabled:l.default.bool,readOnly:l.default.bool,dateOptions:l.default.object,dateDisplayFormat:l.default.string,ariaLabel:l.default.string,className:l.default.string,onFocus:l.default.func.isRequired,onChange:l.default.func.isRequired},O.defaultProps={readOnly:!0,disabled:!1,dateDisplayFormat:"MMM D, YYYY"};var I=O;$.default=I},66077:function(_e,$,t){"use strict";function n(i){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n=function(A){return typeof A}:n=function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},n(i)}Object.defineProperty($,"__esModule",{value:!0}),$.default=void 0;var f=se(t(89526)),l=W(t(2652)),u=W(t(70346)),m=W(t(46929)),v=t(29265),M=W(t(64403)),ee=W(t(54038));function W(i){return i&&i.__esModule?i:{default:i}}function re(i){if(typeof WeakMap!="function")return null;var x=new WeakMap,A=new WeakMap;return(re=function(C){return C?A:x})(i)}function se(i,x){if(!x&&i&&i.__esModule)return i;if(i===null||n(i)!=="object"&&typeof i!="function")return{default:i};var A=re(x);if(A&&A.has(i))return A.get(i);var w={},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var U in i)if(U!=="default"&&Object.prototype.hasOwnProperty.call(i,U)){var F=C?Object.getOwnPropertyDescriptor(i,U):null;F&&(F.get||F.set)?Object.defineProperty(w,U,F):w[U]=i[U]}return w.default=i,A&&A.set(i,w),w}function S(i,x){var A=Object.keys(i);if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(i);x&&(w=w.filter(function(C){return Object.getOwnPropertyDescriptor(i,C).enumerable})),A.push.apply(A,w)}return A}function J(i){for(var x=1;x<arguments.length;x++){var A=arguments[x]!=null?arguments[x]:{};x%2?S(Object(A),!0).forEach(function(w){T(i,w,A[w])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(A)):S(Object(A)).forEach(function(w){Object.defineProperty(i,w,Object.getOwnPropertyDescriptor(A,w))})}return i}function T(i,x,A){return x in i?Object.defineProperty(i,x,{value:A,enumerable:!0,configurable:!0,writable:!0}):i[x]=A,i}function V(){return V=Object.assign||function(i){for(var x=1;x<arguments.length;x++){var A=arguments[x];for(var w in A)Object.prototype.hasOwnProperty.call(A,w)&&(i[w]=A[w])}return i},V.apply(this,arguments)}function L(i,x){if(!(i instanceof x))throw new TypeError("Cannot call a class as a function")}function c(i,x){for(var A=0;A<x.length;A++){var w=x[A];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(i,w.key,w)}}function R(i,x,A){return x&&c(i.prototype,x),A&&c(i,A),i}function B(i,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(x&&x.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),x&&X(i,x)}function X(i,x){return X=Object.setPrototypeOf||function(w,C){return w.__proto__=C,w},X(i,x)}function g(i){var x=I();return function(){var w=E(i),C;if(x){var U=E(this).constructor;C=Reflect.construct(w,arguments,U)}else C=w.apply(this,arguments);return p(this,C)}}function p(i,x){return x&&(n(x)==="object"||typeof x=="function")?x:O(i)}function O(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function I(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(i){return!1}}function E(i){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(A){return A.__proto__||Object.getPrototypeOf(A)},E(i)}var K=function(i){B(A,i);var x=g(A);function A(w){var C;return L(this,A),C=x.call(this,w),C.state={focusedRange:[(0,v.findNextRangeIndex)(w.ranges),0]},C.styles=(0,v.generateStyles)([ee.default,w.classNames]),C}return R(A,[{key:"render",value:function(){var C=this,U=this.state.focusedRange;return f.default.createElement("div",{className:(0,M.default)(this.styles.dateRangePickerWrapper,this.props.className)},f.default.createElement(m.default,V({focusedRange:U,onPreviewChange:function(Y){return C.dateRange.updatePreview(Y?C.dateRange.calcNewSelection(Y,typeof Y=="string"):null)}},this.props,{range:this.props.ranges[U[0]],className:void 0})),f.default.createElement(u.default,V({onRangeFocusChange:function(Y){return C.setState({focusedRange:Y})},focusedRange:U},this.props,{ref:function(Y){return C.dateRange=Y},className:void 0})))}}]),A}(f.Component);K.defaultProps={},K.propTypes=J(J(J({},u.default.propTypes),m.default.propTypes),{},{className:l.default.string});var d=K;$.default=d},70346:function(_e,$,t){"use strict";function n(F){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n=function(le){return typeof le}:n=function(le){return le&&typeof Symbol=="function"&&le.constructor===Symbol&&le!==Symbol.prototype?"symbol":typeof le},n(F)}Object.defineProperty($,"__esModule",{value:!0}),$.default=void 0;var f=c(t(89526)),l=V(t(2652)),u=V(t(44124)),m=t(96128),v=t(29265),M=V(t(65759)),ee=V(t(90762)),W=V(t(45)),re=V(t(9586)),se=V(t(32756)),S=V(t(57234)),J=V(t(64403)),T=V(t(54038));function V(F){return F&&F.__esModule?F:{default:F}}function L(F){if(typeof WeakMap!="function")return null;var Y=new WeakMap,le=new WeakMap;return(L=function(j){return j?le:Y})(F)}function c(F,Y){if(!Y&&F&&F.__esModule)return F;if(F===null||n(F)!=="object"&&typeof F!="function")return{default:F};var le=L(Y);if(le&&le.has(F))return le.get(F);var ie={},j=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ue in F)if(ue!=="default"&&Object.prototype.hasOwnProperty.call(F,ue)){var P=j?Object.getOwnPropertyDescriptor(F,ue):null;P&&(P.get||P.set)?Object.defineProperty(ie,ue,P):ie[ue]=F[ue]}return ie.default=F,le&&le.set(F,ie),ie}function R(){return R=Object.assign||function(F){for(var Y=1;Y<arguments.length;Y++){var le=arguments[Y];for(var ie in le)Object.prototype.hasOwnProperty.call(le,ie)&&(F[ie]=le[ie])}return F},R.apply(this,arguments)}function B(F,Y){var le=Object.keys(F);if(Object.getOwnPropertySymbols){var ie=Object.getOwnPropertySymbols(F);Y&&(ie=ie.filter(function(j){return Object.getOwnPropertyDescriptor(F,j).enumerable})),le.push.apply(le,ie)}return le}function X(F){for(var Y=1;Y<arguments.length;Y++){var le=arguments[Y]!=null?arguments[Y]:{};Y%2?B(Object(le),!0).forEach(function(ie){w(F,ie,le[ie])}):Object.getOwnPropertyDescriptors?Object.defineProperties(F,Object.getOwnPropertyDescriptors(le)):B(Object(le)).forEach(function(ie){Object.defineProperty(F,ie,Object.getOwnPropertyDescriptor(le,ie))})}return F}function g(F,Y){if(!(F instanceof Y))throw new TypeError("Cannot call a class as a function")}function p(F,Y){for(var le=0;le<Y.length;le++){var ie=Y[le];ie.enumerable=ie.enumerable||!1,ie.configurable=!0,"value"in ie&&(ie.writable=!0),Object.defineProperty(F,ie.key,ie)}}function O(F,Y,le){return Y&&p(F.prototype,Y),le&&p(F,le),F}function I(F,Y){if(typeof Y!="function"&&Y!==null)throw new TypeError("Super expression must either be null or a function");F.prototype=Object.create(Y&&Y.prototype,{constructor:{value:F,writable:!0,configurable:!0}}),Y&&E(F,Y)}function E(F,Y){return E=Object.setPrototypeOf||function(ie,j){return ie.__proto__=j,ie},E(F,Y)}function K(F){var Y=x();return function(){var ie=A(F),j;if(Y){var ue=A(this).constructor;j=Reflect.construct(ie,arguments,ue)}else j=ie.apply(this,arguments);return d(this,j)}}function d(F,Y){return Y&&(n(Y)==="object"||typeof Y=="function")?Y:i(F)}function i(F){if(F===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return F}function x(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(F){return!1}}function A(F){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(le){return le.__proto__||Object.getPrototypeOf(le)},A(F)}function w(F,Y,le){return Y in F?Object.defineProperty(F,Y,{value:le,enumerable:!0,configurable:!0,writable:!0}):F[Y]=le,F}var C=function(F){I(le,F);var Y=K(le);function le(ie,j){var ue;return g(this,le),ue=Y.call(this,ie,j),w(i(ue),"calcNewSelection",function(P){var Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,ae=ue.props.focusedRange||ue.state.focusedRange,ce=ue.props,be=ce.ranges,pe=ce.onChange,h=ce.maxDate,te=ce.moveRangeOnFirstSelection,Q=ce.retainEndDateOnFirstSelection,we=ce.disabledDates,Se=ae[0],Ne=be[Se];if(!Ne||!pe)return{};var ze=Ne.startDate,Je=Ne.endDate,qe=new Date,Me;if(!Z)ze=P.startDate,Je=P.endDate;else if(ae[1]===0){var Fe=(0,se.default)(Je||qe,ze),Ue=function(){return te?(0,re.default)(P,Fe):Q?!Je||(0,S.default)(P,Je)?Je:P:P||qe};ze=P,Je=Ue(),h&&(Je=(0,W.default)([Je,h])),Me=[ae[0],1]}else Je=P;var he=ae[1]===0;if((0,S.default)(Je,ze)){he=!he;var xe=[Je,ze];ze=xe[0],Je=xe[1]}var q=we.filter(function(De){return(0,ee.default)(De,{start:ze,end:Je})});if(q.length>0&&(he?ze=(0,re.default)((0,M.default)(q),1):Je=(0,re.default)((0,W.default)(q),-1)),!Me){var me=(0,v.findNextRangeIndex)(ue.props.ranges,ae[0]);Me=[me,0]}return{wasValid:!(q.length>0),range:{startDate:ze,endDate:Je},nextFocusRange:Me}}),w(i(ue),"setSelection",function(P,Z){var ae=ue.props,ce=ae.onChange,be=ae.ranges,pe=ae.onRangeFocusChange,h=ue.props.focusedRange||ue.state.focusedRange,te=h[0],Q=be[te];if(Q){var we=ue.calcNewSelection(P,Z);ce(w({},Q.key||"range".concat(te+1),X(X({},Q),we.range))),ue.setState({focusedRange:we.nextFocusRange,preview:null}),pe&&pe(we.nextFocusRange)}}),w(i(ue),"handleRangeFocusChange",function(P){ue.setState({focusedRange:P}),ue.props.onRangeFocusChange&&ue.props.onRangeFocusChange(P)}),w(i(ue),"updatePreview",function(P){var Z;if(!P){ue.setState({preview:null});return}var ae=ue.props,ce=ae.rangeColors,be=ae.ranges,pe=ue.props.focusedRange||ue.state.focusedRange,h=((Z=be[pe[0]])===null||Z===void 0?void 0:Z.color)||ce[pe[0]]||h;ue.setState({preview:X(X({},P.range),{},{color:h})})}),ue.state={focusedRange:ie.initialFocusedRange||[(0,v.findNextRangeIndex)(ie.ranges),0],preview:null},ue.styles=(0,v.generateStyles)([T.default,ie.classNames]),ue}return O(le,[{key:"render",value:function(){var j=this;return f.default.createElement(u.default,R({focusedRange:this.state.focusedRange,onRangeFocusChange:this.handleRangeFocusChange,preview:this.state.preview,onPreviewChange:function(P){j.updatePreview(P?j.calcNewSelection(P):null)}},this.props,{displayMode:"dateRange",className:(0,J.default)(this.styles.dateRangeWrapper,this.props.className),onChange:this.setSelection,updateRange:function(P){return j.setSelection(P,!1)},ref:function(P){j.calendar=P}}))}}]),le}(f.Component);C.defaultProps={classNames:{},ranges:[],moveRangeOnFirstSelection:!1,retainEndDateOnFirstSelection:!1,rangeColors:["#3d91ff","#3ecf8e","#fed14c"],disabledDates:[]},C.propTypes=X(X({},u.default.propTypes),{},{onChange:l.default.func,onRangeFocusChange:l.default.func,className:l.default.string,ranges:l.default.arrayOf(m.rangeShape),moveRangeOnFirstSelection:l.default.bool,retainEndDateOnFirstSelection:l.default.bool});var U=C;$.default=U},96128:function(_e,$,t){"use strict";function n(ie){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n=function(ue){return typeof ue}:n=function(ue){return ue&&typeof Symbol=="function"&&ue.constructor===Symbol&&ue!==Symbol.prototype?"symbol":typeof ue},n(ie)}Object.defineProperty($,"__esModule",{value:!0}),$.default=$.rangeShape=void 0;var f=J(t(89526)),l=se(t(2652)),u=se(t(64403)),m=se(t(82915)),v=se(t(57234)),M=se(t(56470)),ee=se(t(44993)),W=se(t(36629)),re=se(t(23585));function se(ie){return ie&&ie.__esModule?ie:{default:ie}}function S(ie){if(typeof WeakMap!="function")return null;var j=new WeakMap,ue=new WeakMap;return(S=function(Z){return Z?ue:j})(ie)}function J(ie,j){if(!j&&ie&&ie.__esModule)return ie;if(ie===null||n(ie)!=="object"&&typeof ie!="function")return{default:ie};var ue=S(j);if(ue&&ue.has(ie))return ue.get(ie);var P={},Z=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ae in ie)if(ae!=="default"&&Object.prototype.hasOwnProperty.call(ie,ae)){var ce=Z?Object.getOwnPropertyDescriptor(ie,ae):null;ce&&(ce.get||ce.set)?Object.defineProperty(P,ae,ce):P[ae]=ie[ae]}return P.default=ie,ue&&ue.set(ie,P),P}function T(){return T=Object.assign||function(ie){for(var j=1;j<arguments.length;j++){var ue=arguments[j];for(var P in ue)Object.prototype.hasOwnProperty.call(ue,P)&&(ie[P]=ue[P])}return ie},T.apply(this,arguments)}function V(ie,j){var ue=Object.keys(ie);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(ie);j&&(P=P.filter(function(Z){return Object.getOwnPropertyDescriptor(ie,Z).enumerable})),ue.push.apply(ue,P)}return ue}function L(ie){for(var j=1;j<arguments.length;j++){var ue=arguments[j]!=null?arguments[j]:{};j%2?V(Object(ue),!0).forEach(function(P){U(ie,P,ue[P])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ie,Object.getOwnPropertyDescriptors(ue)):V(Object(ue)).forEach(function(P){Object.defineProperty(ie,P,Object.getOwnPropertyDescriptor(ue,P))})}return ie}function c(ie){return g(ie)||X(ie)||B(ie)||R()}function R(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function B(ie,j){if(ie){if(typeof ie=="string")return p(ie,j);var ue=Object.prototype.toString.call(ie).slice(8,-1);if(ue==="Object"&&ie.constructor&&(ue=ie.constructor.name),ue==="Map"||ue==="Set")return Array.from(ie);if(ue==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ue))return p(ie,j)}}function X(ie){if(typeof Symbol!="undefined"&&ie[Symbol.iterator]!=null||ie["@@iterator"]!=null)return Array.from(ie)}function g(ie){if(Array.isArray(ie))return p(ie)}function p(ie,j){(j==null||j>ie.length)&&(j=ie.length);for(var ue=0,P=new Array(j);ue<j;ue++)P[ue]=ie[ue];return P}function O(ie,j){if(!(ie instanceof j))throw new TypeError("Cannot call a class as a function")}function I(ie,j){for(var ue=0;ue<j.length;ue++){var P=j[ue];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(ie,P.key,P)}}function E(ie,j,ue){return j&&I(ie.prototype,j),ue&&I(ie,ue),ie}function K(ie,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");ie.prototype=Object.create(j&&j.prototype,{constructor:{value:ie,writable:!0,configurable:!0}}),j&&d(ie,j)}function d(ie,j){return d=Object.setPrototypeOf||function(P,Z){return P.__proto__=Z,P},d(ie,j)}function i(ie){var j=w();return function(){var P=C(ie),Z;if(j){var ae=C(this).constructor;Z=Reflect.construct(P,arguments,ae)}else Z=P.apply(this,arguments);return x(this,Z)}}function x(ie,j){return j&&(n(j)==="object"||typeof j=="function")?j:A(ie)}function A(ie){if(ie===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ie}function w(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(ie){return!1}}function C(ie){return C=Object.setPrototypeOf?Object.getPrototypeOf:function(ue){return ue.__proto__||Object.getPrototypeOf(ue)},C(ie)}function U(ie,j,ue){return j in ie?Object.defineProperty(ie,j,{value:ue,enumerable:!0,configurable:!0,writable:!0}):ie[j]=ue,ie}var F=function(ie){K(ue,ie);var j=i(ue);function ue(P,Z){var ae;return O(this,ue),ae=j.call(this,P,Z),U(A(ae),"handleKeyEvent",function(ce){var be=ae.props,pe=be.day,h=be.onMouseDown,te=be.onMouseUp;[13,32].includes(ce.keyCode)&&(ce.type==="keydown"?h(pe):te(pe))}),U(A(ae),"handleMouseEvent",function(ce){var be=ae.props,pe=be.day,h=be.disabled,te=be.onPreviewChange,Q=be.onMouseEnter,we=be.onMouseDown,Se=be.onMouseUp,Ne={};if(h){te();return}switch(ce.type){case"mouseenter":Q(pe),te(pe),Ne.hover=!0;break;case"blur":case"mouseleave":Ne.hover=!1;break;case"mousedown":Ne.active=!0,we(pe);break;case"mouseup":ce.stopPropagation(),Ne.active=!1,Se(pe);break;case"focus":te(pe);break}Object.keys(Ne).length&&ae.setState(Ne)}),U(A(ae),"getClassNames",function(){var ce,be=ae.props,pe=be.isPassive,h=be.isToday,te=be.isWeekend,Q=be.isStartOfWeek,we=be.isEndOfWeek,Se=be.isStartOfMonth,Ne=be.isEndOfMonth,ze=be.disabled,Je=be.styles;return(0,u.default)(Je.day,(ce={},U(ce,Je.dayPassive,pe),U(ce,Je.dayDisabled,ze),U(ce,Je.dayToday,h),U(ce,Je.dayWeekend,te),U(ce,Je.dayStartOfWeek,Q),U(ce,Je.dayEndOfWeek,we),U(ce,Je.dayStartOfMonth,Se),U(ce,Je.dayEndOfMonth,Ne),U(ce,Je.dayHovered,ae.state.hover),U(ce,Je.dayActive,ae.state.active),ce))}),U(A(ae),"renderPreviewPlaceholder",function(){var ce,be=ae.props,pe=be.preview,h=be.day,te=be.styles;if(!pe)return null;var Q=pe.startDate?(0,m.default)(pe.startDate):null,we=pe.endDate?(0,re.default)(pe.endDate):null,Se=(!Q||(0,M.default)(h,Q))&&(!we||(0,v.default)(h,we)),Ne=!Se&&(0,ee.default)(h,Q),ze=!Se&&(0,ee.default)(h,we);return f.default.createElement("span",{className:(0,u.default)((ce={},U(ce,te.dayStartPreview,Ne),U(ce,te.dayInPreview,Se),U(ce,te.dayEndPreview,ze),ce)),style:{color:pe.color}})}),U(A(ae),"renderSelectionPlaceholders",function(){var ce=ae.props,be=ce.styles,pe=ce.ranges,h=ce.day;if(ae.props.displayMode==="date"){var te=(0,ee.default)(ae.props.day,ae.props.date);return te?f.default.createElement("span",{className:be.selected,style:{color:ae.props.color}}):null}var Q=pe.reduce(function(we,Se){var Ne=Se.startDate,ze=Se.endDate;if(Ne&&ze&&(0,v.default)(ze,Ne)){var Je=[ze,Ne];Ne=Je[0],ze=Je[1]}Ne=Ne?(0,m.default)(Ne):null,ze=ze?(0,re.default)(ze):null;var qe=(!Ne||(0,M.default)(h,Ne))&&(!ze||(0,v.default)(h,ze)),Me=!qe&&(0,ee.default)(h,Ne),Fe=!qe&&(0,ee.default)(h,ze);return qe||Me||Fe?[].concat(c(we),[L({isStartEdge:Me,isEndEdge:Fe,isInRange:qe},Se)]):we},[]);return Q.map(function(we,Se){var Ne;return f.default.createElement("span",{key:Se,className:(0,u.default)((Ne={},U(Ne,be.startEdge,we.isStartEdge),U(Ne,be.endEdge,we.isEndEdge),U(Ne,be.inRange,we.isInRange),Ne)),style:{color:we.color||ae.props.color}})})}),ae.state={hover:!1,active:!1},ae}return E(ue,[{key:"render",value:function(){var Z=this.props.dayContentRenderer;return f.default.createElement("button",T({type:"button",onMouseEnter:this.handleMouseEvent,onMouseLeave:this.handleMouseEvent,onFocus:this.handleMouseEvent,onMouseDown:this.handleMouseEvent,onMouseUp:this.handleMouseEvent,onBlur:this.handleMouseEvent,onPauseCapture:this.handleMouseEvent,onKeyDown:this.handleKeyEvent,onKeyUp:this.handleKeyEvent,className:this.getClassNames(this.props.styles)},this.props.disabled||this.props.isPassive?{tabIndex:-1}:{},{style:{color:this.props.color}}),this.renderSelectionPlaceholders(),this.renderPreviewPlaceholder(),f.default.createElement("span",{className:this.props.styles.dayNumber},(Z==null?void 0:Z(this.props.day))||f.default.createElement("span",null,(0,W.default)(this.props.day,this.props.dayDisplayFormat))))}}]),ue}(f.Component);F.defaultProps={};var Y=l.default.shape({startDate:l.default.object,endDate:l.default.object,color:l.default.string,key:l.default.string,autoFocus:l.default.bool,disabled:l.default.bool,showDateDisplay:l.default.bool});$.rangeShape=Y,F.propTypes={day:l.default.object.isRequired,dayDisplayFormat:l.default.string,date:l.default.object,ranges:l.default.arrayOf(Y),preview:l.default.shape({startDate:l.default.object,endDate:l.default.object,color:l.default.string}),onPreviewChange:l.default.func,previewColor:l.default.string,disabled:l.default.bool,isPassive:l.default.bool,isToday:l.default.bool,isWeekend:l.default.bool,isStartOfWeek:l.default.bool,isEndOfWeek:l.default.bool,isStartOfMonth:l.default.bool,isEndOfMonth:l.default.bool,color:l.default.string,displayMode:l.default.oneOf(["dateRange","date"]),styles:l.default.object,onMouseDown:l.default.func,onMouseUp:l.default.func,onMouseEnter:l.default.func,dayContentRenderer:l.default.func};var le=F;$.default=le},46929:function(_e,$,t){"use strict";function n(d){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n=function(x){return typeof x}:n=function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x},n(d)}Object.defineProperty($,"__esModule",{value:!0}),$.default=void 0;var f=se(t(89526)),l=W(t(2652)),u=W(t(54038)),m=t(61098),v=t(96128),M=W(t(13879)),ee=W(t(64403));function W(d){return d&&d.__esModule?d:{default:d}}function re(d){if(typeof WeakMap!="function")return null;var i=new WeakMap,x=new WeakMap;return(re=function(w){return w?x:i})(d)}function se(d,i){if(!i&&d&&d.__esModule)return d;if(d===null||n(d)!=="object"&&typeof d!="function")return{default:d};var x=re(i);if(x&&x.has(d))return x.get(d);var A={},w=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in d)if(C!=="default"&&Object.prototype.hasOwnProperty.call(d,C)){var U=w?Object.getOwnPropertyDescriptor(d,C):null;U&&(U.get||U.set)?Object.defineProperty(A,C,U):A[C]=d[C]}return A.default=d,x&&x.set(d,A),A}function S(d,i){var x=Object.keys(d);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(d);i&&(A=A.filter(function(w){return Object.getOwnPropertyDescriptor(d,w).enumerable})),x.push.apply(x,A)}return x}function J(d){for(var i=1;i<arguments.length;i++){var x=arguments[i]!=null?arguments[i]:{};i%2?S(Object(x),!0).forEach(function(A){I(d,A,x[A])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(x)):S(Object(x)).forEach(function(A){Object.defineProperty(d,A,Object.getOwnPropertyDescriptor(x,A))})}return d}function T(d,i){if(!(d instanceof i))throw new TypeError("Cannot call a class as a function")}function V(d,i){for(var x=0;x<i.length;x++){var A=i[x];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(d,A.key,A)}}function L(d,i,x){return i&&V(d.prototype,i),x&&V(d,x),d}function c(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),i&&R(d,i)}function R(d,i){return R=Object.setPrototypeOf||function(A,w){return A.__proto__=w,A},R(d,i)}function B(d){var i=p();return function(){var A=O(d),w;if(i){var C=O(this).constructor;w=Reflect.construct(A,arguments,C)}else w=A.apply(this,arguments);return X(this,w)}}function X(d,i){return i&&(n(i)==="object"||typeof i=="function")?i:g(d)}function g(d){if(d===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d}function p(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(d){return!1}}function O(d){return O=Object.setPrototypeOf?Object.getPrototypeOf:function(x){return x.__proto__||Object.getPrototypeOf(x)},O(d)}function I(d,i,x){return i in d?Object.defineProperty(d,i,{value:x,enumerable:!0,configurable:!0,writable:!0}):d[i]=x,d}var E=function(d){c(x,d);var i=B(x);function x(A){var w;return T(this,x),w=i.call(this,A),I(g(w),"handleRangeChange",function(C){var U=w.props,F=U.onChange,Y=U.ranges,le=U.focusedRange,ie=Y[le[0]];!F||!ie||F(I({},ie.key||"range".concat(le[0]+1),J(J({},ie),C)))}),w.state={rangeOffset:0,focusedInput:-1},w}return L(x,[{key:"getRangeOptionValue",value:function(w){var C=this.props,U=C.ranges,F=U===void 0?[]:U,Y=C.focusedRange,le=Y===void 0?[]:Y;if(typeof w.getCurrentValue!="function")return"";var ie=F[le[0]]||{};return w.getCurrentValue(ie)||""}},{key:"getSelectedRange",value:function(w,C){var U=w.findIndex(function(Y){return!Y.startDate||!Y.endDate||Y.disabled?!1:C.isSelected(Y)}),F=w[U];return{selectedRange:F,focusedRangeIndex:U}}},{key:"render",value:function(){var w=this,C=this.props,U=C.headerContent,F=C.footerContent,Y=C.onPreviewChange,le=C.inputRanges,ie=C.staticRanges,j=C.ranges,ue=C.renderStaticRangeLabel,P=C.rangeColors,Z=C.className;return f.default.createElement("div",{className:(0,ee.default)(u.default.definedRangesWrapper,Z)},U,f.default.createElement("div",{className:u.default.staticRanges},ie.map(function(ae,ce){var be=w.getSelectedRange(j,ae),pe=be.selectedRange,h=be.focusedRangeIndex,te;return ae.hasCustomRendering?te=ue(ae):te=ae.label,f.default.createElement("button",{type:"button",className:(0,ee.default)(u.default.staticRange,I({},u.default.staticRangeSelected,Boolean(pe))),style:{color:pe?pe.color||P[h]:null},key:ce,onClick:function(){return w.handleRangeChange(ae.range(w.props))},onFocus:function(){return Y&&Y(ae.range(w.props))},onMouseOver:function(){return Y&&Y(ae.range(w.props))},onMouseLeave:function(){Y&&Y()}},f.default.createElement("span",{tabIndex:-1,className:u.default.staticRangeLabel},te))})),f.default.createElement("div",{className:u.default.inputRanges},le.map(function(ae,ce){return f.default.createElement(M.default,{key:ce,styles:u.default,label:ae.label,onFocus:function(){return w.setState({focusedInput:ce,rangeOffset:0})},onBlur:function(){return w.setState({rangeOffset:0})},onChange:function(pe){return w.handleRangeChange(ae.range(pe,w.props))},value:w.getRangeOptionValue(ae)})})),F)}}]),x}(f.Component);E.propTypes={inputRanges:l.default.array,staticRanges:l.default.array,ranges:l.default.arrayOf(v.rangeShape),focusedRange:l.default.arrayOf(l.default.number),onPreviewChange:l.default.func,onChange:l.default.func,footerContent:l.default.any,headerContent:l.default.any,rangeColors:l.default.arrayOf(l.default.string),className:l.default.string,renderStaticRangeLabel:l.default.func},E.defaultProps={inputRanges:m.defaultInputRanges,staticRanges:m.defaultStaticRanges,ranges:[],rangeColors:["#3d91ff","#3ecf8e","#fed14c"],focusedRange:[0,0]};var K=E;$.default=K},13879:function(_e,$,t){"use strict";function n(p){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n=function(I){return typeof I}:n=function(I){return I&&typeof Symbol=="function"&&I.constructor===Symbol&&I!==Symbol.prototype?"symbol":typeof I},n(p)}Object.defineProperty($,"__esModule",{value:!0}),$.default=void 0;var f=v(t(89526)),l=u(t(2652));function u(p){return p&&p.__esModule?p:{default:p}}function m(p){if(typeof WeakMap!="function")return null;var O=new WeakMap,I=new WeakMap;return(m=function(K){return K?I:O})(p)}function v(p,O){if(!O&&p&&p.__esModule)return p;if(p===null||n(p)!=="object"&&typeof p!="function")return{default:p};var I=m(O);if(I&&I.has(p))return I.get(p);var E={},K=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in p)if(d!=="default"&&Object.prototype.hasOwnProperty.call(p,d)){var i=K?Object.getOwnPropertyDescriptor(p,d):null;i&&(i.get||i.set)?Object.defineProperty(E,d,i):E[d]=p[d]}return E.default=p,I&&I.set(p,E),E}function M(p,O){if(!(p instanceof O))throw new TypeError("Cannot call a class as a function")}function ee(p,O){for(var I=0;I<O.length;I++){var E=O[I];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(p,E.key,E)}}function W(p,O,I){return O&&ee(p.prototype,O),I&&ee(p,I),p}function re(p,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function");p.prototype=Object.create(O&&O.prototype,{constructor:{value:p,writable:!0,configurable:!0}}),O&&se(p,O)}function se(p,O){return se=Object.setPrototypeOf||function(E,K){return E.__proto__=K,E},se(p,O)}function S(p){var O=V();return function(){var E=L(p),K;if(O){var d=L(this).constructor;K=Reflect.construct(E,arguments,d)}else K=E.apply(this,arguments);return J(this,K)}}function J(p,O){return O&&(n(O)==="object"||typeof O=="function")?O:T(p)}function T(p){if(p===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p}function V(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(p){return!1}}function L(p){return L=Object.setPrototypeOf?Object.getPrototypeOf:function(I){return I.__proto__||Object.getPrototypeOf(I)},L(p)}function c(p,O,I){return O in p?Object.defineProperty(p,O,{value:I,enumerable:!0,configurable:!0,writable:!0}):p[O]=I,p}var R=0,B=99999,X=function(p){re(I,p);var O=S(I);function I(E,K){var d;return M(this,I),d=O.call(this,E,K),c(T(d),"onChange",function(i){var x=d.props.onChange,A=parseInt(i.target.value,10);A=isNaN(A)?0:Math.max(Math.min(B,A),R),x(A)}),d}return W(I,[{key:"shouldComponentUpdate",value:function(K){var d=this.props,i=d.value,x=d.label,A=d.placeholder;return i!==K.value||x!==K.label||A!==K.placeholder}},{key:"render",value:function(){var K=this.props,d=K.label,i=K.placeholder,x=K.value,A=K.styles,w=K.onBlur,C=K.onFocus;return f.default.createElement("div",{className:A.inputRange},f.default.createElement("input",{className:A.inputRangeInput,placeholder:i,value:x,min:R,max:B,onChange:this.onChange,onFocus:C,onBlur:w}),f.default.createElement("span",{className:A.inputRangeLabel},d))}}]),I}(f.Component);X.propTypes={value:l.default.oneOfType([l.default.string,l.default.number]),label:l.default.oneOfType([l.default.element,l.default.node]).isRequired,placeholder:l.default.string,styles:l.default.shape({inputRange:l.default.string,inputRangeInput:l.default.string,inputRangeLabel:l.default.string}).isRequired,onBlur:l.default.func.isRequired,onFocus:l.default.func.isRequired,onChange:l.default.func.isRequired},X.defaultProps={value:"",placeholder:"-"};var g=X;$.default=g},30370:function(_e,$,t){"use strict";function n(ie){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n=function(ue){return typeof ue}:n=function(ue){return ue&&typeof Symbol=="function"&&ue.constructor===Symbol&&ue!==Symbol.prototype?"symbol":typeof ue},n(ie)}Object.defineProperty($,"__esModule",{value:!0}),$.default=void 0;var f=B(t(89526)),l=c(t(2652)),u=B(t(96128)),m=c(t(88077)),v=c(t(90762)),M=c(t(9179)),ee=c(t(56470)),W=c(t(44993)),re=c(t(57234)),se=c(t(38169)),S=c(t(55053)),J=c(t(82915)),T=c(t(23585)),V=c(t(36629)),L=t(29265);function c(ie){return ie&&ie.__esModule?ie:{default:ie}}function R(ie){if(typeof WeakMap!="function")return null;var j=new WeakMap,ue=new WeakMap;return(R=function(Z){return Z?ue:j})(ie)}function B(ie,j){if(!j&&ie&&ie.__esModule)return ie;if(ie===null||n(ie)!=="object"&&typeof ie!="function")return{default:ie};var ue=R(j);if(ue&&ue.has(ie))return ue.get(ie);var P={},Z=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ae in ie)if(ae!=="default"&&Object.prototype.hasOwnProperty.call(ie,ae)){var ce=Z?Object.getOwnPropertyDescriptor(ie,ae):null;ce&&(ce.get||ce.set)?Object.defineProperty(P,ae,ce):P[ae]=ie[ae]}return P.default=ie,ue&&ue.set(ie,P),P}function X(){return X=Object.assign||function(ie){for(var j=1;j<arguments.length;j++){var ue=arguments[j];for(var P in ue)Object.prototype.hasOwnProperty.call(ue,P)&&(ie[P]=ue[P])}return ie},X.apply(this,arguments)}function g(ie,j){var ue=Object.keys(ie);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(ie);j&&(P=P.filter(function(Z){return Object.getOwnPropertyDescriptor(ie,Z).enumerable})),ue.push.apply(ue,P)}return ue}function p(ie){for(var j=1;j<arguments.length;j++){var ue=arguments[j]!=null?arguments[j]:{};j%2?g(Object(ue),!0).forEach(function(P){O(ie,P,ue[P])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ie,Object.getOwnPropertyDescriptors(ue)):g(Object(ue)).forEach(function(P){Object.defineProperty(ie,P,Object.getOwnPropertyDescriptor(ue,P))})}return ie}function O(ie,j,ue){return j in ie?Object.defineProperty(ie,j,{value:ue,enumerable:!0,configurable:!0,writable:!0}):ie[j]=ue,ie}function I(ie,j){if(!(ie instanceof j))throw new TypeError("Cannot call a class as a function")}function E(ie,j){for(var ue=0;ue<j.length;ue++){var P=j[ue];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(ie,P.key,P)}}function K(ie,j,ue){return j&&E(ie.prototype,j),ue&&E(ie,ue),ie}function d(ie,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");ie.prototype=Object.create(j&&j.prototype,{constructor:{value:ie,writable:!0,configurable:!0}}),j&&i(ie,j)}function i(ie,j){return i=Object.setPrototypeOf||function(P,Z){return P.__proto__=Z,P},i(ie,j)}function x(ie){var j=C();return function(){var P=U(ie),Z;if(j){var ae=U(this).constructor;Z=Reflect.construct(P,arguments,ae)}else Z=P.apply(this,arguments);return A(this,Z)}}function A(ie,j){return j&&(n(j)==="object"||typeof j=="function")?j:w(ie)}function w(ie){if(ie===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ie}function C(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(ie){return!1}}function U(ie){return U=Object.setPrototypeOf?Object.getPrototypeOf:function(ue){return ue.__proto__||Object.getPrototypeOf(ue)},U(ie)}function F(ie,j,ue){var P=new Date;return f.default.createElement("div",{className:ie.weekDays},(0,m.default)({start:(0,S.default)(P,j),end:(0,se.default)(P,j)}).map(function(Z,ae){return f.default.createElement("span",{className:ie.weekDay,key:ae},(0,V.default)(Z,ue,j))}))}var Y=function(ie){d(ue,ie);var j=x(ue);function ue(){return I(this,ue),j.apply(this,arguments)}return K(ue,[{key:"render",value:function(){var Z=this,ae=new Date,ce=this.props,be=ce.displayMode,pe=ce.focusedRange,h=ce.drag,te=ce.styles,Q=ce.disabledDates,we=ce.disabledDay,Se=this.props.minDate&&(0,T.default)(this.props.minDate),Ne=this.props.maxDate&&(0,J.default)(this.props.maxDate),ze=(0,L.getMonthDisplayRange)(this.props.month,this.props.dateOptions,this.props.fixedHeight),Je=this.props.ranges;if(be==="dateRange"&&h.status){var qe=h.range,Me=qe.startDate,Fe=qe.endDate;Je=Je.map(function(he,xe){return xe!==pe[0]?he:p(p({},he),{},{startDate:Me,endDate:Fe})})}var Ue=this.props.showPreview&&!h.disablePreview;return f.default.createElement("div",{className:te.month,style:this.props.style},this.props.showMonthName?f.default.createElement("div",{className:te.monthName},(0,V.default)(this.props.month,this.props.monthDisplayFormat,this.props.dateOptions)):null,this.props.showWeekDays&&F(te,this.props.dateOptions,this.props.weekdayDisplayFormat),f.default.createElement("div",{className:te.days,onMouseLeave:this.props.onMouseLeave},(0,m.default)({start:ze.start,end:ze.end}).map(function(he,xe){var q=(0,W.default)(he,ze.startDateOfMonth),me=(0,W.default)(he,ze.endDateOfMonth),De=Se&&(0,re.default)(he,Se)||Ne&&(0,ee.default)(he,Ne),Te=Q.some(function(st){return(0,W.default)(st,he)}),Oe=we(he);return f.default.createElement(u.default,X({},Z.props,{ranges:Je,day:he,preview:Ue?Z.props.preview:null,isWeekend:(0,M.default)(he,Z.props.dateOptions),isToday:(0,W.default)(he,ae),isStartOfWeek:(0,W.default)(he,(0,S.default)(he,Z.props.dateOptions)),isEndOfWeek:(0,W.default)(he,(0,se.default)(he,Z.props.dateOptions)),isStartOfMonth:q,isEndOfMonth:me,key:xe,disabled:De||Te||Oe,isPassive:!(0,v.default)(he,{start:ze.startDateOfMonth,end:ze.endDateOfMonth}),styles:te,onMouseDown:Z.props.onDragSelectionStart,onMouseUp:Z.props.onDragSelectionEnd,onMouseEnter:Z.props.onDragSelectionMove,dragRange:h.range,drag:h.status}))})))}}]),ue}(f.PureComponent);Y.defaultProps={},Y.propTypes={style:l.default.object,styles:l.default.object,month:l.default.object,drag:l.default.object,dateOptions:l.default.object,disabledDates:l.default.array,disabledDay:l.default.func,preview:l.default.shape({startDate:l.default.object,endDate:l.default.object}),showPreview:l.default.bool,displayMode:l.default.oneOf(["dateRange","date"]),minDate:l.default.object,maxDate:l.default.object,ranges:l.default.arrayOf(u.rangeShape),focusedRange:l.default.arrayOf(l.default.number),onDragSelectionStart:l.default.func,onDragSelectionEnd:l.default.func,onDragSelectionMove:l.default.func,onMouseLeave:l.default.func,monthDisplayFormat:l.default.string,weekdayDisplayFormat:l.default.string,dayDisplayFormat:l.default.string,showWeekDays:l.default.bool,showMonthName:l.default.bool,fixedHeight:l.default.bool};var le=Y;$.default=le},61098:function(_e,$,t){"use strict";Object.defineProperty($,"__esModule",{value:!0}),$.createStaticRanges=c,$.defaultInputRanges=$.defaultStaticRanges=void 0;var n=se(t(32756)),f=se(t(44993)),l=se(t(38169)),u=se(t(55053)),m=se(t(11831)),v=se(t(9018)),M=se(t(55798)),ee=se(t(23585)),W=se(t(82915)),re=se(t(9586));function se(X){return X&&X.__esModule?X:{default:X}}function S(X,g){var p=Object.keys(X);if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(X);g&&(O=O.filter(function(I){return Object.getOwnPropertyDescriptor(X,I).enumerable})),p.push.apply(p,O)}return p}function J(X){for(var g=1;g<arguments.length;g++){var p=arguments[g]!=null?arguments[g]:{};g%2?S(Object(p),!0).forEach(function(O){T(X,O,p[O])}):Object.getOwnPropertyDescriptors?Object.defineProperties(X,Object.getOwnPropertyDescriptors(p)):S(Object(p)).forEach(function(O){Object.defineProperty(X,O,Object.getOwnPropertyDescriptor(p,O))})}return X}function T(X,g,p){return g in X?Object.defineProperty(X,g,{value:p,enumerable:!0,configurable:!0,writable:!0}):X[g]=p,X}var V={startOfWeek:(0,u.default)(new Date),endOfWeek:(0,l.default)(new Date),startOfLastWeek:(0,u.default)((0,re.default)(new Date,-7)),endOfLastWeek:(0,l.default)((0,re.default)(new Date,-7)),startOfToday:(0,ee.default)(new Date),endOfToday:(0,W.default)(new Date),startOfYesterday:(0,ee.default)((0,re.default)(new Date,-1)),endOfYesterday:(0,W.default)((0,re.default)(new Date,-1)),startOfMonth:(0,M.default)(new Date),endOfMonth:(0,v.default)(new Date),startOfLastMonth:(0,M.default)((0,m.default)(new Date,-1)),endOfLastMonth:(0,v.default)((0,m.default)(new Date,-1))},L={range:{},isSelected:function(g){var p=this.range();return(0,f.default)(g.startDate,p.startDate)&&(0,f.default)(g.endDate,p.endDate)}};function c(X){return X.map(function(g){return J(J({},L),g)})}var R=c([{label:"Today",range:function(){return{startDate:V.startOfToday,endDate:V.endOfToday}}},{label:"Yesterday",range:function(){return{startDate:V.startOfYesterday,endDate:V.endOfYesterday}}},{label:"This Week",range:function(){return{startDate:V.startOfWeek,endDate:V.endOfWeek}}},{label:"Last Week",range:function(){return{startDate:V.startOfLastWeek,endDate:V.endOfLastWeek}}},{label:"This Month",range:function(){return{startDate:V.startOfMonth,endDate:V.endOfMonth}}},{label:"Last Month",range:function(){return{startDate:V.startOfLastMonth,endDate:V.endOfLastMonth}}}]);$.defaultStaticRanges=R;var B=[{label:"days up to today",range:function(g){return{startDate:(0,re.default)(V.startOfToday,(Math.max(Number(g),1)-1)*-1),endDate:V.endOfToday}},getCurrentValue:function(g){return(0,f.default)(g.endDate,V.endOfToday)?g.startDate?(0,n.default)(V.endOfToday,g.startDate)+1:"\u221E":"-"}},{label:"days starting today",range:function(g){var p=new Date;return{startDate:p,endDate:(0,re.default)(p,Math.max(Number(g),1)-1)}},getCurrentValue:function(g){return(0,f.default)(g.startDate,V.startOfToday)?g.endDate?(0,n.default)(g.endDate,V.startOfToday)+1:"\u221E":"-"}}];$.defaultInputRanges=B},33422:function(_e,$,t){"use strict";var n;n={value:!0},n={enumerable:!0,get:function(){return f.default}},Object.defineProperty($,"f",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty($,"Dw",{enumerable:!0,get:function(){return u.default}}),n={enumerable:!0,get:function(){return m.default}},n={enumerable:!0,get:function(){return v.defaultInputRanges}},Object.defineProperty($,"Z1",{enumerable:!0,get:function(){return v.defaultStaticRanges}}),n={enumerable:!0,get:function(){return v.createStaticRanges}};var f=M(t(70346)),l=M(t(44124)),u=M(t(66077)),m=M(t(46929)),v=t(61098);function M(ee){return ee&&ee.__esModule?ee:{default:ee}}},54038:function(_e,$){"use strict";Object.defineProperty($,"__esModule",{value:!0}),$.default=void 0;var t={dateRangeWrapper:"rdrDateRangeWrapper",calendarWrapper:"rdrCalendarWrapper",dateDisplay:"rdrDateDisplay",dateDisplayItem:"rdrDateDisplayItem",dateDisplayItemActive:"rdrDateDisplayItemActive",monthAndYearWrapper:"rdrMonthAndYearWrapper",monthAndYearPickers:"rdrMonthAndYearPickers",nextPrevButton:"rdrNextPrevButton",month:"rdrMonth",weekDays:"rdrWeekDays",weekDay:"rdrWeekDay",days:"rdrDays",day:"rdrDay",dayNumber:"rdrDayNumber",dayPassive:"rdrDayPassive",dayToday:"rdrDayToday",dayStartOfWeek:"rdrDayStartOfWeek",dayEndOfWeek:"rdrDayEndOfWeek",daySelected:"rdrDaySelected",dayDisabled:"rdrDayDisabled",dayStartOfMonth:"rdrDayStartOfMonth",dayEndOfMonth:"rdrDayEndOfMonth",dayWeekend:"rdrDayWeekend",dayStartPreview:"rdrDayStartPreview",dayInPreview:"rdrDayInPreview",dayEndPreview:"rdrDayEndPreview",dayHovered:"rdrDayHovered",dayActive:"rdrDayActive",inRange:"rdrInRange",endEdge:"rdrEndEdge",startEdge:"rdrStartEdge",prevButton:"rdrPprevButton",nextButton:"rdrNextButton",selected:"rdrSelected",months:"rdrMonths",monthPicker:"rdrMonthPicker",yearPicker:"rdrYearPicker",dateDisplayWrapper:"rdrDateDisplayWrapper",definedRangesWrapper:"rdrDefinedRangesWrapper",staticRanges:"rdrStaticRanges",staticRange:"rdrStaticRange",inputRanges:"rdrInputRanges",inputRange:"rdrInputRange",inputRangeInput:"rdrInputRangeInput",dateRangePickerWrapper:"rdrDateRangePickerWrapper",staticRangeLabel:"rdrStaticRangeLabel",staticRangeSelected:"rdrStaticRangeSelected",monthName:"rdrMonthName",infiniteMonths:"rdrInfiniteMonths",monthsVertical:"rdrMonthsVertical",monthsHorizontal:"rdrMonthsHorizontal"};$.default=t},29265:function(_e,$,t){"use strict";Object.defineProperty($,"__esModule",{value:!0}),$.calcFocusDate=re,$.findNextRangeIndex=se,$.getMonthDisplayRange=S,$.generateStyles=J;var n=W(t(64403)),f=W(t(9586)),l=W(t(53833)),u=W(t(32756)),m=W(t(38169)),v=W(t(55053)),M=W(t(9018)),ee=W(t(55798));function W(T){return T&&T.__esModule?T:{default:T}}function re(T,V){var L=V.shownDate,c=V.date,R=V.months,B=V.ranges,X=V.focusedRange,g=V.displayMode,p;if(g==="dateRange"){var O=B[X[0]]||{};p={start:O.startDate,end:O.endDate}}else p={start:c,end:c};p.start=(0,ee.default)(p.start||new Date),p.end=(0,M.default)(p.end||p.start);var I=p.start||p.end||L||new Date;return T?(0,l.default)(p.start,p.end)>R?T:I:L||I}function se(T){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,L=T.findIndex(function(c,R){return R>V&&c.autoFocus!==!1&&!c.disabled});return L!==-1?L:T.findIndex(function(c){return c.autoFocus!==!1&&!c.disabled})}function S(T,V,L){var c=(0,ee.default)(T,V),R=(0,M.default)(T,V),B=(0,v.default)(c,V),X=(0,m.default)(R,V);return L&&(0,u.default)(X,B)<=34&&(X=(0,f.default)(X,7)),{start:B,end:X,startDateOfMonth:c,endDateOfMonth:R}}function J(T){if(!T.length)return{};var V=T.filter(function(L){return Boolean(L)}).reduce(function(L,c){return Object.keys(c).forEach(function(R){L[R]=(0,n.default)(L[R],c[R])}),L},{});return V}},8114:function(_e,$,t){"use strict";var n;/** @license React v17.0.2
 * react-dom-server.browser.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var f=t(99813),l=t(89526);function u(et){for(var Tt="https://reactjs.org/docs/error-decoder.html?invariant="+et,Rt=1;Rt<arguments.length;Rt++)Tt+="&args[]="+encodeURIComponent(arguments[Rt]);return"Minified React error #"+et+"; visit "+Tt+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var m=60106,v=60107,M=60108,ee=60114,W=60109,re=60110,se=60112,S=60113,J=60120,T=60115,V=60116,L=60121,c=60117,R=60119,B=60129,X=60131;if(typeof Symbol=="function"&&Symbol.for){var g=Symbol.for;m=g("react.portal"),v=g("react.fragment"),M=g("react.strict_mode"),ee=g("react.profiler"),W=g("react.provider"),re=g("react.context"),se=g("react.forward_ref"),S=g("react.suspense"),J=g("react.suspense_list"),T=g("react.memo"),V=g("react.lazy"),L=g("react.block"),c=g("react.fundamental"),R=g("react.scope"),B=g("react.debug_trace_mode"),X=g("react.legacy_hidden")}function p(et){if(et==null)return null;if(typeof et=="function")return et.displayName||et.name||null;if(typeof et=="string")return et;switch(et){case v:return"Fragment";case m:return"Portal";case ee:return"Profiler";case M:return"StrictMode";case S:return"Suspense";case J:return"SuspenseList"}if(typeof et=="object")switch(et.$$typeof){case re:return(et.displayName||"Context")+".Consumer";case W:return(et._context.displayName||"Context")+".Provider";case se:var Tt=et.render;return Tt=Tt.displayName||Tt.name||"",et.displayName||(Tt!==""?"ForwardRef("+Tt+")":"ForwardRef");case T:return p(et.type);case L:return p(et._render);case V:Tt=et._payload,et=et._init;try{return p(et(Tt))}catch(Rt){}}return null}var O=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,I={};function E(et,Tt){for(var Rt=et._threadCount|0;Rt<=Tt;Rt++)et[Rt]=et._currentValue2,et._threadCount=Rt+1}function K(et,Tt,Rt,or){if(or&&(or=et.contextType,typeof or=="object"&&or!==null))return E(or,Rt),or[Rt];if(et=et.contextTypes){Rt={};for(var ir in et)Rt[ir]=Tt[ir];Tt=Rt}else Tt=I;return Tt}for(var d=new Uint16Array(16),i=0;15>i;i++)d[i]=i+1;d[15]=0;var x=/^[: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]*$/,A=Object.prototype.hasOwnProperty,w={},C={};function U(et){return A.call(C,et)?!0:A.call(w,et)?!1:x.test(et)?C[et]=!0:(w[et]=!0,!1)}function F(et,Tt,Rt,or){if(Rt!==null&&Rt.type===0)return!1;switch(typeof Tt){case"function":case"symbol":return!0;case"boolean":return or?!1:Rt!==null?!Rt.acceptsBooleans:(et=et.toLowerCase().slice(0,5),et!=="data-"&&et!=="aria-");default:return!1}}function Y(et,Tt,Rt,or){if(Tt===null||typeof Tt=="undefined"||F(et,Tt,Rt,or))return!0;if(or)return!1;if(Rt!==null)switch(Rt.type){case 3:return!Tt;case 4:return Tt===!1;case 5:return isNaN(Tt);case 6:return isNaN(Tt)||1>Tt}return!1}function le(et,Tt,Rt,or,ir,Qr,ft){this.acceptsBooleans=Tt===2||Tt===3||Tt===4,this.attributeName=or,this.attributeNamespace=ir,this.mustUseProperty=Rt,this.propertyName=et,this.type=Tt,this.sanitizeURL=Qr,this.removeEmptyString=ft}var ie={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(et){ie[et]=new le(et,0,!1,et,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(et){var Tt=et[0];ie[Tt]=new le(Tt,1,!1,et[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(et){ie[et]=new le(et,2,!1,et.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(et){ie[et]=new le(et,2,!1,et,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(et){ie[et]=new le(et,3,!1,et.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(et){ie[et]=new le(et,3,!0,et,null,!1,!1)}),["capture","download"].forEach(function(et){ie[et]=new le(et,4,!1,et,null,!1,!1)}),["cols","rows","size","span"].forEach(function(et){ie[et]=new le(et,6,!1,et,null,!1,!1)}),["rowSpan","start"].forEach(function(et){ie[et]=new le(et,5,!1,et.toLowerCase(),null,!1,!1)});var j=/[\-:]([a-z])/g;function ue(et){return et[1].toUpperCase()}"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(et){var Tt=et.replace(j,ue);ie[Tt]=new le(Tt,1,!1,et,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(et){var Tt=et.replace(j,ue);ie[Tt]=new le(Tt,1,!1,et,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(et){var Tt=et.replace(j,ue);ie[Tt]=new le(Tt,1,!1,et,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(et){ie[et]=new le(et,1,!1,et.toLowerCase(),null,!1,!1)}),ie.xlinkHref=new le("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(et){ie[et]=new le(et,1,!1,et.toLowerCase(),null,!0,!0)});var P=/["'&<>]/;function Z(et){if(typeof et=="boolean"||typeof et=="number")return""+et;et=""+et;var Tt=P.exec(et);if(Tt){var Rt="",or,ir=0;for(or=Tt.index;or<et.length;or++){switch(et.charCodeAt(or)){case 34:Tt="&quot;";break;case 38:Tt="&amp;";break;case 39:Tt="&#x27;";break;case 60:Tt="&lt;";break;case 62:Tt="&gt;";break;default:continue}ir!==or&&(Rt+=et.substring(ir,or)),ir=or+1,Rt+=Tt}et=ir!==or?Rt+et.substring(ir,or):Rt}return et}function ae(et,Tt){var Rt=ie.hasOwnProperty(et)?ie[et]:null,or;return(or=et!=="style")&&(or=Rt!==null?Rt.type===0:!(!(2<et.length)||et[0]!=="o"&&et[0]!=="O"||et[1]!=="n"&&et[1]!=="N")),or||Y(et,Tt,Rt,!1)?"":Rt!==null?(et=Rt.attributeName,or=Rt.type,or===3||or===4&&Tt===!0?et+'=""':(Rt.sanitizeURL&&(Tt=""+Tt),et+'="'+(Z(Tt)+'"'))):U(et)?et+'="'+(Z(Tt)+'"'):""}function ce(et,Tt){return et===Tt&&(et!==0||1/et===1/Tt)||et!==et&&Tt!==Tt}var be=typeof Object.is=="function"?Object.is:ce,pe=null,h=null,te=null,Q=!1,we=!1,Se=null,Ne=0;function ze(){if(pe===null)throw Error(u(321));return pe}function Je(){if(0<Ne)throw Error(u(312));return{memoizedState:null,queue:null,next:null}}function qe(){return te===null?h===null?(Q=!1,h=te=Je()):(Q=!0,te=h):te.next===null?(Q=!1,te=te.next=Je()):(Q=!0,te=te.next),te}function Me(et,Tt,Rt,or){for(;we;)we=!1,Ne+=1,te=null,Rt=et(Tt,or);return Fe(),Rt}function Fe(){pe=null,we=!1,h=null,Ne=0,te=Se=null}function Ue(et,Tt){return typeof Tt=="function"?Tt(et):Tt}function he(et,Tt,Rt){if(pe=ze(),te=qe(),Q){var or=te.queue;if(Tt=or.dispatch,Se!==null&&(Rt=Se.get(or),Rt!==void 0)){Se.delete(or),or=te.memoizedState;do or=et(or,Rt.action),Rt=Rt.next;while(Rt!==null);return te.memoizedState=or,[or,Tt]}return[te.memoizedState,Tt]}return et=et===Ue?typeof Tt=="function"?Tt():Tt:Rt!==void 0?Rt(Tt):Tt,te.memoizedState=et,et=te.queue={last:null,dispatch:null},et=et.dispatch=q.bind(null,pe,et),[te.memoizedState,et]}function xe(et,Tt){if(pe=ze(),te=qe(),Tt=Tt===void 0?null:Tt,te!==null){var Rt=te.memoizedState;if(Rt!==null&&Tt!==null){var or=Rt[1];e:if(or===null)or=!1;else{for(var ir=0;ir<or.length&&ir<Tt.length;ir++)if(!be(Tt[ir],or[ir])){or=!1;break e}or=!0}if(or)return Rt[0]}}return et=et(),te.memoizedState=[et,Tt],et}function q(et,Tt,Rt){if(!(25>Ne))throw Error(u(301));if(et===pe)if(we=!0,et={action:Rt,next:null},Se===null&&(Se=new Map),Rt=Se.get(Tt),Rt===void 0)Se.set(Tt,et);else{for(Tt=Rt;Tt.next!==null;)Tt=Tt.next;Tt.next=et}}function me(){}var De=null,Te={readContext:function(et){var Tt=De.threadID;return E(et,Tt),et[Tt]},useContext:function(et){ze();var Tt=De.threadID;return E(et,Tt),et[Tt]},useMemo:xe,useReducer:he,useRef:function(et){pe=ze(),te=qe();var Tt=te.memoizedState;return Tt===null?(et={current:et},te.memoizedState=et):Tt},useState:function(et){return he(Ue,et)},useLayoutEffect:function(){},useCallback:function(et,Tt){return xe(function(){return et},Tt)},useImperativeHandle:me,useEffect:me,useDebugValue:me,useDeferredValue:function(et){return ze(),et},useTransition:function(){return ze(),[function(et){et()},!1]},useOpaqueIdentifier:function(){return(De.identifierPrefix||"")+"R:"+(De.uniqueID++).toString(36)},useMutableSource:function(et,Tt){return ze(),Tt(et._source)}},Oe={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function st(et){switch(et){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"}}var Ft={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},Qt=f({menuitem:!0},Ft),Vt={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},Gt=["Webkit","ms","Moz","O"];Object.keys(Vt).forEach(function(et){Gt.forEach(function(Tt){Tt=Tt+et.charAt(0).toUpperCase()+et.substring(1),Vt[Tt]=Vt[et]})});var Jt=/([A-Z])/g,Lr=/^ms-/,Rr=l.Children.toArray,Gr=O.ReactCurrentDispatcher,zr={listing:!0,pre:!0,textarea:!0},pr=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,vn={},fn={};function Zt(et){if(et==null)return et;var Tt="";return l.Children.forEach(et,function(Rt){Rt!=null&&(Tt+=Rt)}),Tt}var St=Object.prototype.hasOwnProperty,Wt={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function Nt(et,Tt){if(et===void 0)throw Error(u(152,p(Tt)||"Component"))}function dt(et,Tt,Rt){function or(ft,tr){var gr=tr.prototype&&tr.prototype.isReactComponent,ar=K(tr,Tt,Rt,gr),rt=[],kt=!1,At={isMounted:function(){return!1},enqueueForceUpdate:function(){if(rt===null)return null},enqueueReplaceState:function(vr,Dr){kt=!0,rt=[Dr]},enqueueSetState:function(vr,Dr){if(rt===null)return null;rt.push(Dr)}};if(gr){if(gr=new tr(ft.props,ar,At),typeof tr.getDerivedStateFromProps=="function"){var qt=tr.getDerivedStateFromProps.call(null,ft.props,gr.state);qt!=null&&(gr.state=f({},gr.state,qt))}}else if(pe={},gr=tr(ft.props,ar,At),gr=Me(tr,ft.props,gr,ar),gr==null||gr.render==null){et=gr,Nt(et,tr);return}if(gr.props=ft.props,gr.context=ar,gr.updater=At,At=gr.state,At===void 0&&(gr.state=At=null),typeof gr.UNSAFE_componentWillMount=="function"||typeof gr.componentWillMount=="function")if(typeof gr.componentWillMount=="function"&&typeof tr.getDerivedStateFromProps!="function"&&gr.componentWillMount(),typeof gr.UNSAFE_componentWillMount=="function"&&typeof tr.getDerivedStateFromProps!="function"&&gr.UNSAFE_componentWillMount(),rt.length){At=rt;var sr=kt;if(rt=null,kt=!1,sr&&At.length===1)gr.state=At[0];else{qt=sr?At[0]:gr.state;var Kr=!0;for(sr=sr?1:0;sr<At.length;sr++){var kr=At[sr];kr=typeof kr=="function"?kr.call(gr,qt,ft.props,ar):kr,kr!=null&&(Kr?(Kr=!1,qt=f({},qt,kr)):f(qt,kr))}gr.state=qt}}else rt=null;if(et=gr.render(),Nt(et,tr),typeof gr.getChildContext=="function"&&(ft=tr.childContextTypes,typeof ft=="object")){var nn=gr.getChildContext();for(var on in nn)if(!(on in ft))throw Error(u(108,p(tr)||"Unknown",on))}nn&&(Tt=f({},Tt,nn))}for(;l.isValidElement(et);){var ir=et,Qr=ir.type;if(typeof Qr!="function")break;or(ir,Qr)}return{child:et,context:Tt}}var nr=function(){function et(Rt,or,ir){l.isValidElement(Rt)?Rt.type!==v?Rt=[Rt]:(Rt=Rt.props.children,Rt=l.isValidElement(Rt)?[Rt]:Rr(Rt)):Rt=Rr(Rt),Rt={type:null,domNamespace:Oe.html,children:Rt,childIndex:0,context:I,footer:""};var Qr=d[0];if(Qr===0){var ft=d;Qr=ft.length;var tr=2*Qr;if(!(65536>=tr))throw Error(u(304));var gr=new Uint16Array(tr);for(gr.set(ft),d=gr,d[0]=Qr+1,ft=Qr;ft<tr-1;ft++)d[ft]=ft+1;d[tr-1]=0}else d[0]=d[Qr];this.threadID=Qr,this.stack=[Rt],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=or,this.suspenseDepth=0,this.contextIndex=-1,this.contextStack=[],this.contextValueStack=[],this.uniqueID=0,this.identifierPrefix=ir&&ir.identifierPrefix||""}var Tt=et.prototype;return Tt.destroy=function(){if(!this.exhausted){this.exhausted=!0,this.clearProviders();var Rt=this.threadID;d[Rt]=d[0],d[0]=Rt}},Tt.pushProvider=function(Rt){var or=++this.contextIndex,ir=Rt.type._context,Qr=this.threadID;E(ir,Qr);var ft=ir[Qr];this.contextStack[or]=ir,this.contextValueStack[or]=ft,ir[Qr]=Rt.props.value},Tt.popProvider=function(){var Rt=this.contextIndex,or=this.contextStack[Rt],ir=this.contextValueStack[Rt];this.contextStack[Rt]=null,this.contextValueStack[Rt]=null,this.contextIndex--,or[this.threadID]=ir},Tt.clearProviders=function(){for(var Rt=this.contextIndex;0<=Rt;Rt--)this.contextStack[Rt][this.threadID]=this.contextValueStack[Rt]},Tt.read=function(Rt){if(this.exhausted)return null;var or=De;De=this;var ir=Gr.current;Gr.current=Te;try{for(var Qr=[""],ft=!1;Qr[0].length<Rt;){if(this.stack.length===0){this.exhausted=!0;var tr=this.threadID;d[tr]=d[0],d[0]=tr;break}var gr=this.stack[this.stack.length-1];if(ft||gr.childIndex>=gr.children.length){var ar=gr.footer;if(ar!==""&&(this.previousWasTextNode=!1),this.stack.pop(),gr.type==="select")this.currentSelectValue=null;else if(gr.type!=null&&gr.type.type!=null&&gr.type.type.$$typeof===W)this.popProvider(gr.type);else if(gr.type===S){this.suspenseDepth--;var rt=Qr.pop();if(ft){ft=!1;var kt=gr.fallbackFrame;if(!kt)throw Error(u(303));this.stack.push(kt),Qr[this.suspenseDepth]+="<!--$!-->";continue}else Qr[this.suspenseDepth]+=rt}Qr[this.suspenseDepth]+=ar}else{var At=gr.children[gr.childIndex++],qt="";try{qt+=this.render(At,gr.context,gr.domNamespace)}catch(sr){throw sr!=null&&typeof sr.then=="function"?Error(u(294)):sr}finally{}Qr.length<=this.suspenseDepth&&Qr.push(""),Qr[this.suspenseDepth]+=qt}}return Qr[0]}finally{Gr.current=ir,De=or,Fe()}},Tt.render=function(Rt,or,ir){if(typeof Rt=="string"||typeof Rt=="number")return ir=""+Rt,ir===""?"":this.makeStaticMarkup?Z(ir):this.previousWasTextNode?"<!-- -->"+Z(ir):(this.previousWasTextNode=!0,Z(ir));if(or=dt(Rt,or,this.threadID),Rt=or.child,or=or.context,Rt===null||Rt===!1)return"";if(!l.isValidElement(Rt)){if(Rt!=null&&Rt.$$typeof!=null)throw ir=Rt.$$typeof,Error(ir===m?u(257):u(258,ir.toString()));return Rt=Rr(Rt),this.stack.push({type:null,domNamespace:ir,children:Rt,childIndex:0,context:or,footer:""}),""}var Qr=Rt.type;if(typeof Qr=="string")return this.renderDOM(Rt,or,ir);switch(Qr){case X:case B:case M:case ee:case J:case v:return Rt=Rr(Rt.props.children),this.stack.push({type:null,domNamespace:ir,children:Rt,childIndex:0,context:or,footer:""}),"";case S:throw Error(u(294));case R:throw Error(u(343))}if(typeof Qr=="object"&&Qr!==null)switch(Qr.$$typeof){case se:pe={};var ft=Qr.render(Rt.props,Rt.ref);return ft=Me(Qr.render,Rt.props,ft,Rt.ref),ft=Rr(ft),this.stack.push({type:null,domNamespace:ir,children:ft,childIndex:0,context:or,footer:""}),"";case T:return Rt=[l.createElement(Qr.type,f({ref:Rt.ref},Rt.props))],this.stack.push({type:null,domNamespace:ir,children:Rt,childIndex:0,context:or,footer:""}),"";case W:return Qr=Rr(Rt.props.children),ir={type:Rt,domNamespace:ir,children:Qr,childIndex:0,context:or,footer:""},this.pushProvider(Rt),this.stack.push(ir),"";case re:Qr=Rt.type,ft=Rt.props;var tr=this.threadID;return E(Qr,tr),Qr=Rr(ft.children(Qr[tr])),this.stack.push({type:Rt,domNamespace:ir,children:Qr,childIndex:0,context:or,footer:""}),"";case c:throw Error(u(338));case V:return Qr=Rt.type,ft=Qr._init,Qr=ft(Qr._payload),Rt=[l.createElement(Qr,f({ref:Rt.ref},Rt.props))],this.stack.push({type:null,domNamespace:ir,children:Rt,childIndex:0,context:or,footer:""}),""}throw Error(u(130,Qr==null?Qr:typeof Qr,""))},Tt.renderDOM=function(Rt,or,ir){var Qr=Rt.type.toLowerCase();if(ir===Oe.html&&st(Qr),!vn.hasOwnProperty(Qr)){if(!pr.test(Qr))throw Error(u(65,Qr));vn[Qr]=!0}var ft=Rt.props;if(Qr==="input")ft=f({type:void 0},ft,{defaultChecked:void 0,defaultValue:void 0,value:ft.value!=null?ft.value:ft.defaultValue,checked:ft.checked!=null?ft.checked:ft.defaultChecked});else if(Qr==="textarea"){var tr=ft.value;if(tr==null){tr=ft.defaultValue;var gr=ft.children;if(gr!=null){if(tr!=null)throw Error(u(92));if(Array.isArray(gr)){if(!(1>=gr.length))throw Error(u(93));gr=gr[0]}tr=""+gr}tr==null&&(tr="")}ft=f({},ft,{value:void 0,children:""+tr})}else if(Qr==="select")this.currentSelectValue=ft.value!=null?ft.value:ft.defaultValue,ft=f({},ft,{value:void 0});else if(Qr==="option"){gr=this.currentSelectValue;var ar=Zt(ft.children);if(gr!=null){var rt=ft.value!=null?ft.value+"":ar;if(tr=!1,Array.isArray(gr)){for(var kt=0;kt<gr.length;kt++)if(""+gr[kt]===rt){tr=!0;break}}else tr=""+gr===rt;ft=f({selected:void 0,children:void 0},ft,{selected:tr,children:ar})}}if(tr=ft){if(Qt[Qr]&&(tr.children!=null||tr.dangerouslySetInnerHTML!=null))throw Error(u(137,Qr));if(tr.dangerouslySetInnerHTML!=null){if(tr.children!=null)throw Error(u(60));if(!(typeof tr.dangerouslySetInnerHTML=="object"&&"__html"in tr.dangerouslySetInnerHTML))throw Error(u(61))}if(tr.style!=null&&typeof tr.style!="object")throw Error(u(62))}tr=ft,gr=this.makeStaticMarkup,ar=this.stack.length===1,rt="<"+Rt.type;e:if(Qr.indexOf("-")===-1)kt=typeof tr.is=="string";else switch(Qr){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":kt=!1;break e;default:kt=!0}for(Dr in tr)if(St.call(tr,Dr)){var At=tr[Dr];if(At!=null){if(Dr==="style"){var qt=void 0,sr="",Kr="";for(qt in At)if(At.hasOwnProperty(qt)){var kr=qt.indexOf("--")===0,nn=At[qt];if(nn!=null){if(kr)var on=qt;else if(on=qt,fn.hasOwnProperty(on))on=fn[on];else{var vr=on.replace(Jt,"-$1").toLowerCase().replace(Lr,"-ms-");on=fn[on]=vr}sr+=Kr+on+":",Kr=qt,kr=nn==null||typeof nn=="boolean"||nn===""?"":kr||typeof nn!="number"||nn===0||Vt.hasOwnProperty(Kr)&&Vt[Kr]?(""+nn).trim():nn+"px",sr+=kr,Kr=";"}}At=sr||null}qt=null,kt?Wt.hasOwnProperty(Dr)||(qt=Dr,qt=U(qt)&&At!=null?qt+'="'+(Z(At)+'"'):""):qt=ae(Dr,At),qt&&(rt+=" "+qt)}}gr||ar&&(rt+=' data-reactroot=""');var Dr=rt;tr="",Ft.hasOwnProperty(Qr)?Dr+="/>":(Dr+=">",tr="</"+Rt.type+">");e:{if(gr=ft.dangerouslySetInnerHTML,gr!=null){if(gr.__html!=null){gr=gr.__html;break e}}else if(gr=ft.children,typeof gr=="string"||typeof gr=="number"){gr=Z(gr);break e}gr=null}return gr!=null?(ft=[],zr.hasOwnProperty(Qr)&&gr.charAt(0)===`
`&&(Dr+=`
`),Dr+=gr):ft=Rr(ft.children),Rt=Rt.type,ir=ir==null||ir==="http://www.w3.org/1999/xhtml"?st(Rt):ir==="http://www.w3.org/2000/svg"&&Rt==="foreignObject"?"http://www.w3.org/1999/xhtml":ir,this.stack.push({domNamespace:ir,type:Qr,children:ft,childIndex:0,context:or,footer:tr}),this.previousWasTextNode=!1,Dr},et}();n=function(){throw Error(u(207))},$.renderToStaticMarkup=function(et,Tt){et=new nr(et,!0,Tt);try{return et.read(1/0)}finally{et.destroy()}},n=function(){throw Error(u(208))},$.renderToString=function(et,Tt){et=new nr(et,!1,Tt);try{return et.read(1/0)}finally{et.destroy()}},n="17.0.2"},57799:function(_e,$,t){"use strict";/** @license React v17.0.2
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var n=t(89526),f=t(99813),l=t(72851);function u(e){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+e,o=1;o<arguments.length;o++)r+="&args[]="+encodeURIComponent(arguments[o]);return"Minified React error #"+e+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!n)throw Error(u(227));var m=new Set,v={};function M(e,r){ee(e,r),ee(e+"Capture",r)}function ee(e,r){for(v[e]=r,e=0;e<r.length;e++)m.add(r[e])}var W=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),re=/^[: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]*$/,se=Object.prototype.hasOwnProperty,S={},J={};function T(e){return se.call(J,e)?!0:se.call(S,e)?!1:re.test(e)?J[e]=!0:(S[e]=!0,!1)}function V(e,r,o,G){if(o!==null&&o.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return G?!1:o!==null?!o.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function L(e,r,o,G){if(r===null||typeof r=="undefined"||V(e,r,o,G))return!0;if(G)return!1;if(o!==null)switch(o.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function c(e,r,o,G,fe,Pe,a){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=G,this.attributeNamespace=fe,this.mustUseProperty=o,this.propertyName=e,this.type=r,this.sanitizeURL=Pe,this.removeEmptyString=a}var R={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){R[e]=new c(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var r=e[0];R[r]=new c(r,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){R[e]=new c(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){R[e]=new c(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){R[e]=new c(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){R[e]=new c(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){R[e]=new c(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){R[e]=new c(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){R[e]=new c(e,5,!1,e.toLowerCase(),null,!1,!1)});var B=/[\-:]([a-z])/g;function X(e){return e[1].toUpperCase()}"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(e){var r=e.replace(B,X);R[r]=new c(r,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var r=e.replace(B,X);R[r]=new c(r,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var r=e.replace(B,X);R[r]=new c(r,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){R[e]=new c(e,1,!1,e.toLowerCase(),null,!1,!1)}),R.xlinkHref=new c("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){R[e]=new c(e,1,!1,e.toLowerCase(),null,!0,!0)});function g(e,r,o,G){var fe=R.hasOwnProperty(r)?R[r]:null,Pe=fe!==null?fe.type===0:G?!1:!(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N");Pe||(L(r,o,fe,G)&&(o=null),G||fe===null?T(r)&&(o===null?e.removeAttribute(r):e.setAttribute(r,""+o)):fe.mustUseProperty?e[fe.propertyName]=o===null?fe.type===3?!1:"":o:(r=fe.attributeName,G=fe.attributeNamespace,o===null?e.removeAttribute(r):(fe=fe.type,o=fe===3||fe===4&&o===!0?"":""+o,G?e.setAttributeNS(G,r,o):e.setAttribute(r,o))))}var p=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,O=60103,I=60106,E=60107,K=60108,d=60114,i=60109,x=60110,A=60112,w=60113,C=60120,U=60115,F=60116,Y=60121,le=60128,ie=60129,j=60130,ue=60131;if(typeof Symbol=="function"&&Symbol.for){var P=Symbol.for;O=P("react.element"),I=P("react.portal"),E=P("react.fragment"),K=P("react.strict_mode"),d=P("react.profiler"),i=P("react.provider"),x=P("react.context"),A=P("react.forward_ref"),w=P("react.suspense"),C=P("react.suspense_list"),U=P("react.memo"),F=P("react.lazy"),Y=P("react.block"),P("react.scope"),le=P("react.opaque.id"),ie=P("react.debug_trace_mode"),j=P("react.offscreen"),ue=P("react.legacy_hidden")}var Z=typeof Symbol=="function"&&Symbol.iterator;function ae(e){return e===null||typeof e!="object"?null:(e=Z&&e[Z]||e["@@iterator"],typeof e=="function"?e:null)}var ce;function be(e){if(ce===void 0)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);ce=r&&r[1]||""}return`
`+ce+e}var pe=!1;function h(e,r){if(!e||pe)return"";pe=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(r)if(r=function(){throw Error()},Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(r,[])}catch(b){var G=b}Reflect.construct(e,[],r)}else{try{r.call()}catch(b){G=b}e.call(r.prototype)}else{try{throw Error()}catch(b){G=b}e()}}catch(b){if(b&&G&&typeof b.stack=="string"){for(var fe=b.stack.split(`
`),Pe=G.stack.split(`
`),a=fe.length-1,s=Pe.length-1;1<=a&&0<=s&&fe[a]!==Pe[s];)s--;for(;1<=a&&0<=s;a--,s--)if(fe[a]!==Pe[s]){if(a!==1||s!==1)do if(a--,s--,0>s||fe[a]!==Pe[s])return`
`+fe[a].replace(" at new "," at ");while(1<=a&&0<=s);break}}}finally{pe=!1,Error.prepareStackTrace=o}return(e=e?e.displayName||e.name:"")?be(e):""}function te(e){switch(e.tag){case 5:return be(e.type);case 16:return be("Lazy");case 13:return be("Suspense");case 19:return be("SuspenseList");case 0:case 2:case 15:return e=h(e.type,!1),e;case 11:return e=h(e.type.render,!1),e;case 22:return e=h(e.type._render,!1),e;case 1:return e=h(e.type,!0),e;default:return""}}function Q(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case E:return"Fragment";case I:return"Portal";case d:return"Profiler";case K:return"StrictMode";case w:return"Suspense";case C:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case x:return(e.displayName||"Context")+".Consumer";case i:return(e._context.displayName||"Context")+".Provider";case A:var r=e.render;return r=r.displayName||r.name||"",e.displayName||(r!==""?"ForwardRef("+r+")":"ForwardRef");case U:return Q(e.type);case Y:return Q(e._render);case F:r=e._payload,e=e._init;try{return Q(e(r))}catch(o){}}return null}function we(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Se(e){var r=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function Ne(e){var r=Se(e)?"checked":"value",o=Object.getOwnPropertyDescriptor(e.constructor.prototype,r),G=""+e[r];if(!e.hasOwnProperty(r)&&typeof o!="undefined"&&typeof o.get=="function"&&typeof o.set=="function"){var fe=o.get,Pe=o.set;return Object.defineProperty(e,r,{configurable:!0,get:function(){return fe.call(this)},set:function(a){G=""+a,Pe.call(this,a)}}),Object.defineProperty(e,r,{enumerable:o.enumerable}),{getValue:function(){return G},setValue:function(a){G=""+a},stopTracking:function(){e._valueTracker=null,delete e[r]}}}}function ze(e){e._valueTracker||(e._valueTracker=Ne(e))}function Je(e){if(!e)return!1;var r=e._valueTracker;if(!r)return!0;var o=r.getValue(),G="";return e&&(G=Se(e)?e.checked?"true":"false":e.value),e=G,e!==o?(r.setValue(e),!0):!1}function qe(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch(r){return e.body}}function Me(e,r){var o=r.checked;return f({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:o!=null?o:e._wrapperState.initialChecked})}function Fe(e,r){var o=r.defaultValue==null?"":r.defaultValue,G=r.checked!=null?r.checked:r.defaultChecked;o=we(r.value!=null?r.value:o),e._wrapperState={initialChecked:G,initialValue:o,controlled:r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null}}function Ue(e,r){r=r.checked,r!=null&&g(e,"checked",r,!1)}function he(e,r){Ue(e,r);var o=we(r.value),G=r.type;if(o!=null)G==="number"?(o===0&&e.value===""||e.value!=o)&&(e.value=""+o):e.value!==""+o&&(e.value=""+o);else if(G==="submit"||G==="reset"){e.removeAttribute("value");return}r.hasOwnProperty("value")?q(e,r.type,o):r.hasOwnProperty("defaultValue")&&q(e,r.type,we(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(e.defaultChecked=!!r.defaultChecked)}function xe(e,r,o){if(r.hasOwnProperty("value")||r.hasOwnProperty("defaultValue")){var G=r.type;if(!(G!=="submit"&&G!=="reset"||r.value!==void 0&&r.value!==null))return;r=""+e._wrapperState.initialValue,o||r===e.value||(e.value=r),e.defaultValue=r}o=e.name,o!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,o!==""&&(e.name=o)}function q(e,r,o){(r!=="number"||qe(e.ownerDocument)!==e)&&(o==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+o&&(e.defaultValue=""+o))}function me(e){var r="";return n.Children.forEach(e,function(o){o!=null&&(r+=o)}),r}function De(e,r){return e=f({children:void 0},r),(r=me(r.children))&&(e.children=r),e}function Te(e,r,o,G){if(e=e.options,r){r={};for(var fe=0;fe<o.length;fe++)r["$"+o[fe]]=!0;for(o=0;o<e.length;o++)fe=r.hasOwnProperty("$"+e[o].value),e[o].selected!==fe&&(e[o].selected=fe),fe&&G&&(e[o].defaultSelected=!0)}else{for(o=""+we(o),r=null,fe=0;fe<e.length;fe++){if(e[fe].value===o){e[fe].selected=!0,G&&(e[fe].defaultSelected=!0);return}r!==null||e[fe].disabled||(r=e[fe])}r!==null&&(r.selected=!0)}}function Oe(e,r){if(r.dangerouslySetInnerHTML!=null)throw Error(u(91));return f({},r,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function st(e,r){var o=r.value;if(o==null){if(o=r.children,r=r.defaultValue,o!=null){if(r!=null)throw Error(u(92));if(Array.isArray(o)){if(!(1>=o.length))throw Error(u(93));o=o[0]}r=o}r==null&&(r=""),o=r}e._wrapperState={initialValue:we(o)}}function Ft(e,r){var o=we(r.value),G=we(r.defaultValue);o!=null&&(o=""+o,o!==e.value&&(e.value=o),r.defaultValue==null&&e.defaultValue!==o&&(e.defaultValue=o)),G!=null&&(e.defaultValue=""+G)}function Qt(e){var r=e.textContent;r===e._wrapperState.initialValue&&r!==""&&r!==null&&(e.value=r)}var Vt={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Gt(e){switch(e){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 Jt(e,r){return e==null||e==="http://www.w3.org/1999/xhtml"?Gt(r):e==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Lr,Rr=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(r,o,G,fe){MSApp.execUnsafeLocalFunction(function(){return e(r,o,G,fe)})}:e}(function(e,r){if(e.namespaceURI!==Vt.svg||"innerHTML"in e)e.innerHTML=r;else{for(Lr=Lr||document.createElement("div"),Lr.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=Lr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;r.firstChild;)e.appendChild(r.firstChild)}});function Gr(e,r){if(r){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=r;return}}e.textContent=r}var zr={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},pr=["Webkit","ms","Moz","O"];Object.keys(zr).forEach(function(e){pr.forEach(function(r){r=r+e.charAt(0).toUpperCase()+e.substring(1),zr[r]=zr[e]})});function vn(e,r,o){return r==null||typeof r=="boolean"||r===""?"":o||typeof r!="number"||r===0||zr.hasOwnProperty(e)&&zr[e]?(""+r).trim():r+"px"}function fn(e,r){e=e.style;for(var o in r)if(r.hasOwnProperty(o)){var G=o.indexOf("--")===0,fe=vn(o,r[o],G);o==="float"&&(o="cssFloat"),G?e.setProperty(o,fe):e[o]=fe}}var Zt=f({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});function St(e,r){if(r){if(Zt[e]&&(r.children!=null||r.dangerouslySetInnerHTML!=null))throw Error(u(137,e));if(r.dangerouslySetInnerHTML!=null){if(r.children!=null)throw Error(u(60));if(!(typeof r.dangerouslySetInnerHTML=="object"&&"__html"in r.dangerouslySetInnerHTML))throw Error(u(61))}if(r.style!=null&&typeof r.style!="object")throw Error(u(62))}}function Wt(e,r){if(e.indexOf("-")===-1)return typeof r.is=="string";switch(e){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 Nt(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var dt=null,nr=null,et=null;function Tt(e){if(e=Gi(e)){if(typeof dt!="function")throw Error(u(280));var r=e.stateNode;r&&(r=_n(r),dt(e.stateNode,e.type,r))}}function Rt(e){nr?et?et.push(e):et=[e]:nr=e}function or(){if(nr){var e=nr,r=et;if(et=nr=null,Tt(e),r)for(e=0;e<r.length;e++)Tt(r[e])}}function ir(e,r){return e(r)}function Qr(e,r,o,G,fe){return e(r,o,G,fe)}function ft(){}var tr=ir,gr=!1,ar=!1;function rt(){(nr!==null||et!==null)&&(ft(),or())}function kt(e,r,o){if(ar)return e(r,o);ar=!0;try{return tr(e,r,o)}finally{ar=!1,rt()}}function At(e,r){var o=e.stateNode;if(o===null)return null;var G=_n(o);if(G===null)return null;o=G[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(G=!G.disabled)||(e=e.type,G=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!G;break e;default:e=!1}if(e)return null;if(o&&typeof o!="function")throw Error(u(231,r,typeof o));return o}var qt=!1;if(W)try{var sr={};Object.defineProperty(sr,"passive",{get:function(){qt=!0}}),window.addEventListener("test",sr,sr),window.removeEventListener("test",sr,sr)}catch(e){qt=!1}function Kr(e,r,o,G,fe,Pe,a,s,b){var D=Array.prototype.slice.call(arguments,3);try{r.apply(o,D)}catch(Ce){this.onError(Ce)}}var kr=!1,nn=null,on=!1,vr=null,Dr={onError:function(e){kr=!0,nn=e}};function _r(e,r,o,G,fe,Pe,a,s,b){kr=!1,nn=null,Kr.apply(Dr,arguments)}function Hr(e,r,o,G,fe,Pe,a,s,b){if(_r.apply(this,arguments),kr){if(kr){var D=nn;kr=!1,nn=null}else throw Error(u(198));on||(on=!0,vr=D)}}function Pr(e){var r=e,o=e;if(e.alternate)for(;r.return;)r=r.return;else{e=r;do r=e,r.flags&1026&&(o=r.return),e=r.return;while(e)}return r.tag===3?o:null}function un(e){if(e.tag===13){var r=e.memoizedState;if(r===null&&(e=e.alternate,e!==null&&(r=e.memoizedState)),r!==null)return r.dehydrated}return null}function Zn(e){if(Pr(e)!==e)throw Error(u(188))}function Jn(e){var r=e.alternate;if(!r){if(r=Pr(e),r===null)throw Error(u(188));return r!==e?null:e}for(var o=e,G=r;;){var fe=o.return;if(fe===null)break;var Pe=fe.alternate;if(Pe===null){if(G=fe.return,G!==null){o=G;continue}break}if(fe.child===Pe.child){for(Pe=fe.child;Pe;){if(Pe===o)return Zn(fe),e;if(Pe===G)return Zn(fe),r;Pe=Pe.sibling}throw Error(u(188))}if(o.return!==G.return)o=fe,G=Pe;else{for(var a=!1,s=fe.child;s;){if(s===o){a=!0,o=fe,G=Pe;break}if(s===G){a=!0,G=fe,o=Pe;break}s=s.sibling}if(!a){for(s=Pe.child;s;){if(s===o){a=!0,o=Pe,G=fe;break}if(s===G){a=!0,G=Pe,o=fe;break}s=s.sibling}if(!a)throw Error(u(189))}}if(o.alternate!==G)throw Error(u(190))}if(o.tag!==3)throw Error(u(188));return o.stateNode.current===o?e:r}function Dn(e){if(e=Jn(e),!e)return null;for(var r=e;;){if(r.tag===5||r.tag===6)return r;if(r.child)r.child.return=r,r=r.child;else{if(r===e)break;for(;!r.sibling;){if(!r.return||r.return===e)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}}return null}function qn(e,r){for(var o=e.alternate;r!==null;){if(r===e||r===o)return!0;r=r.return}return!1}var lr,Yr,Yn,ti,Wi=!1,_t=[],Ct=null,mt=null,br=null,Pt=new Map,qr=new Map,mn=[],In="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Vr(e,r,o,G,fe){return{blockedOn:e,domEventName:r,eventSystemFlags:o|16,nativeEvent:fe,targetContainers:[G]}}function Fn(e,r){switch(e){case"focusin":case"focusout":Ct=null;break;case"dragenter":case"dragleave":mt=null;break;case"mouseover":case"mouseout":br=null;break;case"pointerover":case"pointerout":Pt.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":qr.delete(r.pointerId)}}function An(e,r,o,G,fe,Pe){return e===null||e.nativeEvent!==Pe?(e=Vr(r,o,G,fe,Pe),r!==null&&(r=Gi(r),r!==null&&Yr(r)),e):(e.eventSystemFlags|=G,r=e.targetContainers,fe!==null&&r.indexOf(fe)===-1&&r.push(fe),e)}function zn(e,r,o,G,fe){switch(r){case"focusin":return Ct=An(Ct,e,r,o,G,fe),!0;case"dragenter":return mt=An(mt,e,r,o,G,fe),!0;case"mouseover":return br=An(br,e,r,o,G,fe),!0;case"pointerover":var Pe=fe.pointerId;return Pt.set(Pe,An(Pt.get(Pe)||null,e,r,o,G,fe)),!0;case"gotpointercapture":return Pe=fe.pointerId,qr.set(Pe,An(qr.get(Pe)||null,e,r,o,G,fe)),!0}return!1}function bi(e){var r=Ni(e.target);if(r!==null){var o=Pr(r);if(o!==null){if(r=o.tag,r===13){if(r=un(o),r!==null){e.blockedOn=r,ti(e.lanePriority,function(){l.unstable_runWithPriority(e.priority,function(){Yn(o)})});return}}else if(r===3&&o.stateNode.hydrate){e.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Si(e){if(e.blockedOn!==null)return!1;for(var r=e.targetContainers;0<r.length;){var o=oi(e.domEventName,e.eventSystemFlags,r[0],e.nativeEvent);if(o!==null)return r=Gi(o),r!==null&&Yr(r),e.blockedOn=o,!1;r.shift()}return!0}function bo(e,r,o){Si(e)&&o.delete(r)}function Fi(){for(Wi=!1;0<_t.length;){var e=_t[0];if(e.blockedOn!==null){e=Gi(e.blockedOn),e!==null&&lr(e);break}for(var r=e.targetContainers;0<r.length;){var o=oi(e.domEventName,e.eventSystemFlags,r[0],e.nativeEvent);if(o!==null){e.blockedOn=o;break}r.shift()}e.blockedOn===null&&_t.shift()}Ct!==null&&Si(Ct)&&(Ct=null),mt!==null&&Si(mt)&&(mt=null),br!==null&&Si(br)&&(br=null),Pt.forEach(bo),qr.forEach(bo)}function mo(e,r){e.blockedOn===r&&(e.blockedOn=null,Wi||(Wi=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,Fi)))}function _o(e){function r(fe){return mo(fe,e)}if(0<_t.length){mo(_t[0],e);for(var o=1;o<_t.length;o++){var G=_t[o];G.blockedOn===e&&(G.blockedOn=null)}}for(Ct!==null&&mo(Ct,e),mt!==null&&mo(mt,e),br!==null&&mo(br,e),Pt.forEach(r),qr.forEach(r),o=0;o<mn.length;o++)G=mn[o],G.blockedOn===e&&(G.blockedOn=null);for(;0<mn.length&&(o=mn[0],o.blockedOn===null);)bi(o),o.blockedOn===null&&mn.shift()}function Ti(e,r){var o={};return o[e.toLowerCase()]=r.toLowerCase(),o["Webkit"+e]="webkit"+r,o["Moz"+e]="moz"+r,o}var ao={animationend:Ti("Animation","AnimationEnd"),animationiteration:Ti("Animation","AnimationIteration"),animationstart:Ti("Animation","AnimationStart"),transitionend:Ti("Transition","TransitionEnd")},no={},Ir={};W&&(Ir=document.createElement("div").style,"AnimationEvent"in window||(delete ao.animationend.animation,delete ao.animationiteration.animation,delete ao.animationstart.animation),"TransitionEvent"in window||delete ao.transitionend.transition);function je(e){if(no[e])return no[e];if(!ao[e])return e;var r=ao[e],o;for(o in r)if(r.hasOwnProperty(o)&&o in Ir)return no[e]=r[o];return e}var Ke=je("animationend"),ht=je("animationiteration"),Bt=je("animationstart"),Dt=je("transitionend"),Yt=new Map,yr=new Map,zt=["abort","abort",Ke,"animationEnd",ht,"animationIteration",Bt,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Dt,"transitionEnd","waiting","waiting"];function rn(e,r){for(var o=0;o<e.length;o+=2){var G=e[o],fe=e[o+1];fe="on"+(fe[0].toUpperCase()+fe.slice(1)),yr.set(G,r),Yt.set(G,fe),M(fe,[G])}}var On=l.unstable_now;On();var xn=8;function Kn(e){if(1&e)return xn=15,1;if(2&e)return xn=14,2;if(4&e)return xn=13,4;var r=24&e;return r!==0?(xn=12,r):e&32?(xn=11,32):(r=192&e,r!==0?(xn=10,r):e&256?(xn=9,256):(r=3584&e,r!==0?(xn=8,r):e&4096?(xn=7,4096):(r=4186112&e,r!==0?(xn=6,r):(r=62914560&e,r!==0?(xn=5,r):e&67108864?(xn=4,67108864):e&134217728?(xn=3,134217728):(r=805306368&e,r!==0?(xn=2,r):1073741824&e?(xn=1,1073741824):(xn=8,e))))))}function jn(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function to(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(u(358,e))}}function ki(e,r){var o=e.pendingLanes;if(o===0)return xn=0;var G=0,fe=0,Pe=e.expiredLanes,a=e.suspendedLanes,s=e.pingedLanes;if(Pe!==0)G=Pe,fe=xn=15;else if(Pe=o&134217727,Pe!==0){var b=Pe&~a;b!==0?(G=Kn(b),fe=xn):(s&=Pe,s!==0&&(G=Kn(s),fe=xn))}else Pe=o&~a,Pe!==0?(G=Kn(Pe),fe=xn):s!==0&&(G=Kn(s),fe=xn);if(G===0)return 0;if(G=31-so(G),G=o&((0>G?0:1<<G)<<1)-1,r!==0&&r!==G&&!(r&a)){if(Kn(r),fe<=xn)return r;xn=fe}if(r=e.entangledLanes,r!==0)for(e=e.entanglements,r&=G;0<r;)o=31-so(r),fe=1<<o,G|=e[o],r&=~fe;return G}function zo(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Ko(e,r){switch(e){case 15:return 1;case 14:return 2;case 12:return e=uo(24&~r),e===0?Ko(10,r):e;case 10:return e=uo(192&~r),e===0?Ko(8,r):e;case 8:return e=uo(3584&~r),e===0&&(e=uo(4186112&~r),e===0&&(e=512)),e;case 2:return r=uo(805306368&~r),r===0&&(r=268435456),r}throw Error(u(358,e))}function uo(e){return e&-e}function ia(e){for(var r=[],o=0;31>o;o++)r.push(e);return r}function la(e,r,o){e.pendingLanes|=r;var G=r-1;e.suspendedLanes&=G,e.pingedLanes&=G,e=e.eventTimes,r=31-so(r),e[r]=o}var so=Math.clz32?Math.clz32:ua,zi=Math.log,Xi=Math.LN2;function ua(e){return e===0?32:31-(zi(e)/Xi|0)|0}var ta=l.unstable_UserBlockingPriority,Pi=l.unstable_runWithPriority,Ji=!0;function Do(e,r,o,G){gr||ft();var fe=fi,Pe=gr;gr=!0;try{Qr(fe,e,r,o,G)}finally{(gr=Pe)||rt()}}function Ki(e,r,o,G){Pi(ta,fi.bind(null,e,r,o,G))}function fi(e,r,o,G){if(Ji){var fe;if((fe=(r&4)===0)&&0<_t.length&&-1<In.indexOf(e))e=Vr(null,e,r,o,G),_t.push(e);else{var Pe=oi(e,r,o,G);if(Pe===null)fe&&Fn(e,G);else{if(fe){if(-1<In.indexOf(e)){e=Vr(Pe,e,r,o,G),_t.push(e);return}if(zn(Pe,e,r,o,G))return;Fn(e,G)}Vn(e,r,G,null,o)}}}}function oi(e,r,o,G){var fe=Nt(G);if(fe=Ni(fe),fe!==null){var Pe=Pr(fe);if(Pe===null)fe=null;else{var a=Pe.tag;if(a===13){if(fe=un(Pe),fe!==null)return fe;fe=null}else if(a===3){if(Pe.stateNode.hydrate)return Pe.tag===3?Pe.stateNode.containerInfo:null;fe=null}else Pe!==fe&&(fe=null)}}return Vn(e,r,G,fe,o),null}var _i=null,Jr=null,hi=null;function yi(){if(hi)return hi;var e,r=Jr,o=r.length,G,fe="value"in _i?_i.value:_i.textContent,Pe=fe.length;for(e=0;e<o&&r[e]===fe[e];e++);var a=o-e;for(G=1;G<=a&&r[o-G]===fe[Pe-G];G++);return hi=fe.slice(e,1<G?1-G:void 0)}function Ci(e){var r=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&r===13&&(e=13)):e=r,e===10&&(e=13),32<=e||e===13?e:0}function Oi(){return!0}function Mn(){return!1}function wo(e){function r(o,G,fe,Pe,a){this._reactName=o,this._targetInst=fe,this.type=G,this.nativeEvent=Pe,this.target=a,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(o=e[s],this[s]=o?o(Pe):Pe[s]);return this.isDefaultPrevented=(Pe.defaultPrevented!=null?Pe.defaultPrevented:Pe.returnValue===!1)?Oi:Mn,this.isPropagationStopped=Mn,this}return f(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=Oi)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=Oi)},persist:function(){},isPersistent:Oi}),r}var xo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ba=wo(xo),Eo=f({},xo,{view:0,detail:0}),pa=wo(Eo),va,oa,xs,ls=f({},Eo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:qs,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==xs&&(xs&&e.type==="mousemove"?(va=e.screenX-xs.screenX,oa=e.screenY-xs.screenY):oa=va=0,xs=e),va)},movementY:function(e){return"movementY"in e?e.movementY:oa}}),Wa=wo(ls),si=f({},ls,{dataTransfer:0}),Rs=wo(si),Ta=f({},Eo,{relatedTarget:0}),Ka=wo(Ta),Fl=f({},xo,{animationName:0,elapsedTime:0,pseudoElement:0}),wl=wo(Fl),El=f({},xo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),tu=wo(El),Xl=f({},xo,{data:0}),Ql=wo(Xl),rl={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},hl={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"},Ks={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function qo(e){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(e):(e=Ks[e])?!!r[e]:!1}function qs(){return qo}var jl=f({},Eo,{key:function(e){if(e.key){var r=rl[e.key]||e.key;if(r!=="Unidentified")return r}return e.type==="keypress"?(e=Ci(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?hl[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:qs,charCode:function(e){return e.type==="keypress"?Ci(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ci(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Hl=wo(jl),ks=f({},ls,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),bs=wo(ks),Au=f({},Eo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:qs}),pl=wo(Au),Ja=f({},xo,{propertyName:0,elapsedTime:0,pseudoElement:0}),Pa=wo(Ja),ns=f({},ls,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Zl=wo(ns),ll=[9,13,27,32],ul=W&&"CompositionEvent"in window,Po=null;W&&"documentMode"in document&&(Po=document.documentMode);var Ds=W&&"TextEvent"in window&&!Po,Cl=W&&(!ul||Po&&8<Po&&11>=Po),jt=String.fromCharCode(32),pt=!1;function wt(e,r){switch(e){case"keyup":return ll.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ye(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ut=!1;function fr(e,r){switch(e){case"compositionend":return Ye(r);case"keypress":return r.which!==32?null:(pt=!0,jt);case"textInput":return e=r.data,e===jt&&pt?null:e;default:return null}}function Tr(e,r){if(Ut)return e==="compositionend"||!ul&&wt(e,r)?(e=yi(),hi=Jr=_i=null,Ut=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return Cl&&r.locale!=="ko"?null:r.data;default:return null}}var ln={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};function pi(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r==="input"?!!ln[e.type]:r==="textarea"}function Di(e,r,o,G){Rt(G),r=rr(r,"onChange"),0<r.length&&(o=new Ba("onChange","change",null,o,G),e.push({event:o,listeners:r}))}var Mo=null,Vo=null;function Bs(e){dn(e,0)}function is(e){var r=lo(e);if(Je(r))return e}function cs(e,r){if(e==="change")return r}var Us=!1;if(W){var Uo;if(W){var Vs="oninput"in document;if(!Vs){var Ns=document.createElement("div");Ns.setAttribute("oninput","return;"),Vs=typeof Ns.oninput=="function"}Uo=Vs}else Uo=!1;Us=Uo&&(!document.documentMode||9<document.documentMode)}function du(){Mo&&(Mo.detachEvent("onpropertychange",ru),Vo=Mo=null)}function ru(e){if(e.propertyName==="value"&&is(Vo)){var r=[];if(Di(r,Vo,e,Nt(e)),e=Bs,gr)e(r);else{gr=!0;try{ir(e,r)}finally{gr=!1,rt()}}}}function Ou(e,r,o){e==="focusin"?(du(),Mo=r,Vo=o,Mo.attachEvent("onpropertychange",ru)):e==="focusout"&&du()}function nu(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return is(Vo)}function nl(e,r){if(e==="click")return is(r)}function fu(e,r){if(e==="input"||e==="change")return is(r)}function z(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var _=typeof Object.is=="function"?Object.is:z,H=Object.prototype.hasOwnProperty;function Ae(e,r){if(_(e,r))return!0;if(typeof e!="object"||e===null||typeof r!="object"||r===null)return!1;var o=Object.keys(e),G=Object.keys(r);if(o.length!==G.length)return!1;for(G=0;G<o.length;G++)if(!H.call(r,o[G])||!_(e[o[G]],r[o[G]]))return!1;return!0}function Be(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ve(e,r){var o=Be(e);e=0;for(var G;o;){if(o.nodeType===3){if(G=e+o.textContent.length,e<=r&&G>=r)return{node:o,offset:r-e};e=G}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=Be(o)}}function Le(e,r){return e&&r?e===r?!0:e&&e.nodeType===3?!1:r&&r.nodeType===3?Le(e,r.parentNode):"contains"in e?e.contains(r):e.compareDocumentPosition?!!(e.compareDocumentPosition(r)&16):!1:!1}function Re(){for(var e=window,r=qe();r instanceof e.HTMLIFrameElement;){try{var o=typeof r.contentWindow.location.href=="string"}catch(G){o=!1}if(o)e=r.contentWindow;else break;r=qe(e.document)}return r}function ke(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r&&(r==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||r==="textarea"||e.contentEditable==="true")}var it=W&&"documentMode"in document&&11>=document.documentMode,gt=null,Et=null,Mt=null,Ge=!1;function cr(e,r,o){var G=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;Ge||gt==null||gt!==qe(G)||(G=gt,"selectionStart"in G&&ke(G)?G={start:G.selectionStart,end:G.selectionEnd}:(G=(G.ownerDocument&&G.ownerDocument.defaultView||window).getSelection(),G={anchorNode:G.anchorNode,anchorOffset:G.anchorOffset,focusNode:G.focusNode,focusOffset:G.focusOffset}),Mt&&Ae(Mt,G)||(Mt=G,G=rr(Et,"onSelect"),0<G.length&&(r=new Ba("onSelect","select",null,r,o),e.push({event:r,listeners:G}),r.target=gt)))}rn("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),rn("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),rn(zt,2);for(var er="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),mr=0;mr<er.length;mr++)yr.set(er[mr],0);ee("onMouseEnter",["mouseout","mouseover"]),ee("onMouseLeave",["mouseout","mouseover"]),ee("onPointerEnter",["pointerout","pointerover"]),ee("onPointerLeave",["pointerout","pointerover"]),M("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),M("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),M("onBeforeInput",["compositionend","keypress","textInput","paste"]),M("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),M("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),M("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Kt="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),dr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Kt));function Zr(e,r,o){var G=e.type||"unknown-event";e.currentTarget=o,Hr(G,r,void 0,e),e.currentTarget=null}function dn(e,r){r=(r&4)!==0;for(var o=0;o<e.length;o++){var G=e[o],fe=G.event;G=G.listeners;e:{var Pe=void 0;if(r)for(var a=G.length-1;0<=a;a--){var s=G[a],b=s.instance,D=s.currentTarget;if(s=s.listener,b!==Pe&&fe.isPropagationStopped())break e;Zr(fe,s,D),Pe=b}else for(a=0;a<G.length;a++){if(s=G[a],b=s.instance,D=s.currentTarget,s=s.listener,b!==Pe&&fe.isPropagationStopped())break e;Zr(fe,s,D),Pe=b}}}if(on)throw e=vr,on=!1,vr=null,e}function hn(e,r){var o=Cr(r),G=e+"__bubble";o.has(G)||(Gn(r,e,2,!1),o.add(G))}var $n="_reactListening"+Math.random().toString(36).slice(2);function cn(e){e[$n]||(e[$n]=!0,m.forEach(function(r){dr.has(r)||Er(r,!1,e,null),Er(r,!0,e,null)}))}function Er(e,r,o,G){var fe=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,Pe=o;if(e==="selectionchange"&&o.nodeType!==9&&(Pe=o.ownerDocument),G!==null&&!r&&dr.has(e)){if(e!=="scroll")return;fe|=2,Pe=G}var a=Cr(Pe),s=e+"__"+(r?"capture":"bubble");a.has(s)||(r&&(fe|=4),Gn(Pe,e,fe,r),a.add(s))}function Gn(e,r,o,G){var fe=yr.get(r);switch(fe===void 0?2:fe){case 0:fe=Do;break;case 1:fe=Ki;break;default:fe=fi}o=fe.bind(null,r,o,e),fe=void 0,!qt||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(fe=!0),G?fe!==void 0?e.addEventListener(r,o,{capture:!0,passive:fe}):e.addEventListener(r,o,!0):fe!==void 0?e.addEventListener(r,o,{passive:fe}):e.addEventListener(r,o,!1)}function Vn(e,r,o,G,fe){var Pe=G;if(!(r&1)&&!(r&2)&&G!==null)e:for(;;){if(G===null)return;var a=G.tag;if(a===3||a===4){var s=G.stateNode.containerInfo;if(s===fe||s.nodeType===8&&s.parentNode===fe)break;if(a===4)for(a=G.return;a!==null;){var b=a.tag;if((b===3||b===4)&&(b=a.stateNode.containerInfo,b===fe||b.nodeType===8&&b.parentNode===fe))return;a=a.return}for(;s!==null;){if(a=Ni(s),a===null)return;if(b=a.tag,b===5||b===6){G=Pe=a;continue e}s=s.parentNode}}G=G.return}kt(function(){var D=Pe,Ce=Nt(o),Qe=[];e:{var We=Yt.get(e);if(We!==void 0){var Ve=Ba,$e=e;switch(e){case"keypress":if(Ci(o)===0)break e;case"keydown":case"keyup":Ve=Hl;break;case"focusin":$e="focus",Ve=Ka;break;case"focusout":$e="blur",Ve=Ka;break;case"beforeblur":case"afterblur":Ve=Ka;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Ve=Wa;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Ve=Rs;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Ve=pl;break;case Ke:case ht:case Bt:Ve=wl;break;case Dt:Ve=Pa;break;case"scroll":Ve=pa;break;case"wheel":Ve=Zl;break;case"copy":case"cut":case"paste":Ve=tu;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Ve=bs}var It=(r&4)!==0,ut=!It&&e==="scroll",lt=It?We!==null?We+"Capture":null:We;It=[];for(var Lt=D,wr;Lt!==null;){wr=Lt;var Sr=wr.stateNode;if(wr.tag===5&&Sr!==null&&(wr=Sr,lt!==null&&(Sr=At(Lt,lt),Sr!=null&&It.push(Xt(Lt,Sr,wr)))),ut)break;Lt=Lt.return}0<It.length&&(We=new Ve(We,$e,null,o,Ce),Qe.push({event:We,listeners:It}))}}if(!(r&7)){e:{if(We=e==="mouseover"||e==="pointerover",Ve=e==="mouseout"||e==="pointerout",We&&!(r&16)&&($e=o.relatedTarget||o.fromElement)&&(Ni($e)||$e[mi]))break e;if((Ve||We)&&(We=Ce.window===Ce?Ce:(We=Ce.ownerDocument)?We.defaultView||We.parentWindow:window,Ve?($e=o.relatedTarget||o.toElement,Ve=D,$e=$e?Ni($e):null,$e!==null&&(ut=Pr($e),$e!==ut||$e.tag!==5&&$e.tag!==6)&&($e=null)):(Ve=null,$e=D),Ve!==$e)){if(It=Wa,Sr="onMouseLeave",lt="onMouseEnter",Lt="mouse",(e==="pointerout"||e==="pointerover")&&(It=bs,Sr="onPointerLeave",lt="onPointerEnter",Lt="pointer"),ut=Ve==null?We:lo(Ve),wr=$e==null?We:lo($e),We=new It(Sr,Lt+"leave",Ve,o,Ce),We.target=ut,We.relatedTarget=wr,Sr=null,Ni(Ce)===D&&(It=new It(lt,Lt+"enter",$e,o,Ce),It.target=wr,It.relatedTarget=ut,Sr=It),ut=Sr,Ve&&$e)t:{for(It=Ve,lt=$e,Lt=0,wr=It;wr;wr=Ur(wr))Lt++;for(wr=0,Sr=lt;Sr;Sr=Ur(Sr))wr++;for(;0<Lt-wr;)It=Ur(It),Lt--;for(;0<wr-Lt;)lt=Ur(lt),wr--;for(;Lt--;){if(It===lt||lt!==null&&It===lt.alternate)break t;It=Ur(It),lt=Ur(lt)}It=null}else It=null;Ve!==null&&Or(Qe,We,Ve,It,!1),$e!==null&&ut!==null&&Or(Qe,ut,$e,It,!0)}}e:{if(We=D?lo(D):window,Ve=We.nodeName&&We.nodeName.toLowerCase(),Ve==="select"||Ve==="input"&&We.type==="file")var $r=cs;else if(pi(We))if(Us)$r=fu;else{$r=nu;var Nn=Ou}else(Ve=We.nodeName)&&Ve.toLowerCase()==="input"&&(We.type==="checkbox"||We.type==="radio")&&($r=nl);if($r&&($r=$r(e,D))){Di(Qe,$r,o,Ce);break e}Nn&&Nn(e,We,D),e==="focusout"&&(Nn=We._wrapperState)&&Nn.controlled&&We.type==="number"&&q(We,"number",We.value)}switch(Nn=D?lo(D):window,e){case"focusin":(pi(Nn)||Nn.contentEditable==="true")&&(gt=Nn,Et=D,Mt=null);break;case"focusout":Mt=Et=gt=null;break;case"mousedown":Ge=!0;break;case"contextmenu":case"mouseup":case"dragend":Ge=!1,cr(Qe,o,Ce);break;case"selectionchange":if(it)break;case"keydown":case"keyup":cr(Qe,o,Ce)}var Hn;if(ul)e:{switch(e){case"compositionstart":var Qn="onCompositionStart";break e;case"compositionend":Qn="onCompositionEnd";break e;case"compositionupdate":Qn="onCompositionUpdate";break e}Qn=void 0}else Ut?wt(e,o)&&(Qn="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(Qn="onCompositionStart");Qn&&(Cl&&o.locale!=="ko"&&(Ut||Qn!=="onCompositionStart"?Qn==="onCompositionEnd"&&Ut&&(Hn=yi()):(_i=Ce,Jr="value"in _i?_i.value:_i.textContent,Ut=!0)),Nn=rr(D,Qn),0<Nn.length&&(Qn=new Ql(Qn,e,null,o,Ce),Qe.push({event:Qn,listeners:Nn}),Hn?Qn.data=Hn:(Hn=Ye(o),Hn!==null&&(Qn.data=Hn)))),(Hn=Ds?fr(e,o):Tr(e,o))&&(D=rr(D,"onBeforeInput"),0<D.length&&(Ce=new Ql("onBeforeInput","beforeinput",null,o,Ce),Qe.push({event:Ce,listeners:D}),Ce.data=Hn))}dn(Qe,r)})}function Xt(e,r,o){return{instance:e,listener:r,currentTarget:o}}function rr(e,r){for(var o=r+"Capture",G=[];e!==null;){var fe=e,Pe=fe.stateNode;fe.tag===5&&Pe!==null&&(fe=Pe,Pe=At(e,o),Pe!=null&&G.unshift(Xt(e,Pe,fe)),Pe=At(e,r),Pe!=null&&G.push(Xt(e,Pe,fe))),e=e.return}return G}function Ur(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Or(e,r,o,G,fe){for(var Pe=r._reactName,a=[];o!==null&&o!==G;){var s=o,b=s.alternate,D=s.stateNode;if(b!==null&&b===G)break;s.tag===5&&D!==null&&(s=D,fe?(b=At(o,Pe),b!=null&&a.unshift(Xt(o,b,s))):fe||(b=At(o,Pe),b!=null&&a.push(Xt(o,b,s)))),o=o.return}a.length!==0&&e.push({event:r,listeners:a})}function En(){}var yn=null,Rn=null;function pn(e,r){switch(e){case"button":case"input":case"select":case"textarea":return!!r.autoFocus}return!1}function Un(e,r){return e==="textarea"||e==="option"||e==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var kn=typeof setTimeout=="function"?setTimeout:void 0,Ui=typeof clearTimeout=="function"?clearTimeout:void 0;function Ot(e){e.nodeType===1?e.textContent="":e.nodeType===9&&(e=e.body,e!=null&&(e.textContent=""))}function Ar(e){for(;e!=null;e=e.nextSibling){var r=e.nodeType;if(r===1||r===3)break}return e}function Br(e){e=e.previousSibling;for(var r=0;e;){if(e.nodeType===8){var o=e.data;if(o==="$"||o==="$!"||o==="$?"){if(r===0)return e;r--}else o==="/$"&&r++}e=e.previousSibling}return null}var Wr=0;function tn(e){return{$$typeof:le,toString:e,valueOf:e}}var Nr=Math.random().toString(36).slice(2),gn="__reactFiber$"+Nr,wn="__reactProps$"+Nr,mi="__reactContainer$"+Nr,wi="__reactEvents$"+Nr;function Ni(e){var r=e[gn];if(r)return r;for(var o=e.parentNode;o;){if(r=o[mi]||o[gn]){if(o=r.alternate,r.child!==null||o!==null&&o.child!==null)for(e=Br(e);e!==null;){if(o=e[gn])return o;e=Br(e)}return r}e=o,o=e.parentNode}return null}function Gi(e){return e=e[gn]||e[mi],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function lo(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(u(33))}function _n(e){return e[wn]||null}function Cr(e){var r=e[wi];return r===void 0&&(r=e[wi]=new Set),r}var Ei=[],vo=-1;function di(e){return{current:e}}function ri(e){0>vo||(e.current=Ei[vo],Ei[vo]=null,vo--)}function gi(e,r){vo++,Ei[vo]=e.current,e.current=r}var Bi={},eo=di(Bi),io=di(!1),Go=Bi;function Co(e,r){var o=e.type.contextTypes;if(!o)return Bi;var G=e.stateNode;if(G&&G.__reactInternalMemoizedUnmaskedChildContext===r)return G.__reactInternalMemoizedMaskedChildContext;var fe={},Pe;for(Pe in o)fe[Pe]=r[Pe];return G&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=fe),fe}function No(e){return e=e.childContextTypes,e!=null}function Oa(){ri(io),ri(eo)}function Xo(e,r,o){if(eo.current!==Bi)throw Error(u(168));gi(eo,r),gi(io,o)}function ya(e,r,o){var G=e.stateNode;if(e=r.childContextTypes,typeof G.getChildContext!="function")return o;G=G.getChildContext();for(var fe in G)if(!(fe in e))throw Error(u(108,Q(r)||"Unknown",fe));return f({},o,G)}function Hi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Bi,Go=eo.current,gi(eo,e),gi(io,io.current),!0}function Ss(e,r,o){var G=e.stateNode;if(!G)throw Error(u(169));o?(e=ya(e,r,Go),G.__reactInternalMemoizedMergedChildContext=e,ri(io),ri(eo),gi(eo,e)):ri(io),gi(io,o)}var Jo=null,os=null,ca=l.unstable_runWithPriority,Ga=l.unstable_scheduleCallback,gl=l.unstable_cancelCallback,Da=l.unstable_shouldYield,Ri=l.unstable_requestPaint,Aa=l.unstable_now,ms=l.unstable_getCurrentPriorityLevel,ml=l.unstable_ImmediatePriority,us=l.unstable_UserBlockingPriority,ea=l.unstable_NormalPriority,La=l.unstable_LowPriority,ds=l.unstable_IdlePriority,Ya={},Qs=Ri!==void 0?Ri:function(){},Ms=null,To=null,il=!1,li=Aa(),ka=1e4>li?Aa:function(){return Aa()-li};function ga(){switch(ms()){case ml:return 99;case us:return 98;case ea:return 97;case La:return 96;case ds:return 95;default:throw Error(u(332))}}function Sa(e){switch(e){case 99:return ml;case 98:return us;case 97:return ea;case 96:return La;case 95:return ds;default:throw Error(u(332))}}function Yo(e,r){return e=Sa(e),ca(e,r)}function _s(e,r,o){return e=Sa(e),Ga(e,r,o)}function Es(){if(To!==null){var e=To;To=null,gl(e)}ol()}function ol(){if(!il&&Ms!==null){il=!0;var e=0;try{var r=Ms;Yo(99,function(){for(;e<r.length;e++){var o=r[e];do o=o(!0);while(o!==null)}}),Ms=null}catch(o){throw Ms!==null&&(Ms=Ms.slice(e+1)),Ga(ml,Es),o}finally{il=!1}}}var Na=p.ReactCurrentBatchConfig;function aa(e,r){if(e&&e.defaultProps){r=f({},r),e=e.defaultProps;for(var o in e)r[o]===void 0&&(r[o]=e[o]);return r}return r}var fs=di(null),Gs=null,el=null,Ts=null;function Rl(){Ts=el=Gs=null}function y(e){var r=fs.current;ri(fs),e.type._context._currentValue=r}function ye(e,r){for(;e!==null;){var o=e.alternate;if((e.childLanes&r)===r){if(o===null||(o.childLanes&r)===r)break;o.childLanes|=r}else e.childLanes|=r,o!==null&&(o.childLanes|=r);e=e.return}}function oe(e,r){Gs=e,Ts=el=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&r&&(Ee=!0),e.firstContext=null)}function ne(e,r){if(Ts!==e&&r!==!1&&r!==0)if((typeof r!="number"||r===1073741823)&&(Ts=e,r=1073741823),r={context:e,observedBits:r,next:null},el===null){if(Gs===null)throw Error(u(308));el=r,Gs.dependencies={lanes:0,firstContext:r,responders:null}}else el=el.next=r;return e._currentValue}var He=!1;function nt(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function bt(e,r){e=e.updateQueue,r.updateQueue===e&&(r.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function vt(e,r){return{eventTime:e,lane:r,tag:0,payload:null,callback:null,next:null}}function jr(e,r){if(e=e.updateQueue,e!==null){e=e.shared;var o=e.pending;o===null?r.next=r:(r.next=o.next,o.next=r),e.pending=r}}function Ht(e,r){var o=e.updateQueue,G=e.alternate;if(G!==null&&(G=G.updateQueue,o===G)){var fe=null,Pe=null;if(o=o.firstBaseUpdate,o!==null){do{var a={eventTime:o.eventTime,lane:o.lane,tag:o.tag,payload:o.payload,callback:o.callback,next:null};Pe===null?fe=Pe=a:Pe=Pe.next=a,o=o.next}while(o!==null);Pe===null?fe=Pe=r:Pe=Pe.next=r}else fe=Pe=r;o={baseState:G.baseState,firstBaseUpdate:fe,lastBaseUpdate:Pe,shared:G.shared,effects:G.effects},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=r:e.next=r,o.lastBaseUpdate=r}function hr(e,r,o,G){var fe=e.updateQueue;He=!1;var Pe=fe.firstBaseUpdate,a=fe.lastBaseUpdate,s=fe.shared.pending;if(s!==null){fe.shared.pending=null;var b=s,D=b.next;b.next=null,a===null?Pe=D:a.next=D,a=b;var Ce=e.alternate;if(Ce!==null){Ce=Ce.updateQueue;var Qe=Ce.lastBaseUpdate;Qe!==a&&(Qe===null?Ce.firstBaseUpdate=D:Qe.next=D,Ce.lastBaseUpdate=b)}}if(Pe!==null){Qe=fe.baseState,a=0,Ce=D=b=null;do{s=Pe.lane;var We=Pe.eventTime;if((G&s)===s){Ce!==null&&(Ce=Ce.next={eventTime:We,lane:0,tag:Pe.tag,payload:Pe.payload,callback:Pe.callback,next:null});e:{var Ve=e,$e=Pe;switch(s=r,We=o,$e.tag){case 1:if(Ve=$e.payload,typeof Ve=="function"){Qe=Ve.call(We,Qe,s);break e}Qe=Ve;break e;case 3:Ve.flags=Ve.flags&-4097|64;case 0:if(Ve=$e.payload,s=typeof Ve=="function"?Ve.call(We,Qe,s):Ve,s==null)break e;Qe=f({},Qe,s);break e;case 2:He=!0}}Pe.callback!==null&&(e.flags|=32,s=fe.effects,s===null?fe.effects=[Pe]:s.push(Pe))}else We={eventTime:We,lane:s,tag:Pe.tag,payload:Pe.payload,callback:Pe.callback,next:null},Ce===null?(D=Ce=We,b=Qe):Ce=Ce.next=We,a|=s;if(Pe=Pe.next,Pe===null){if(s=fe.shared.pending,s===null)break;Pe=s.next,s.next=null,fe.lastBaseUpdate=s,fe.shared.pending=null}}while(1);Ce===null&&(b=Qe),fe.baseState=b,fe.firstBaseUpdate=D,fe.lastBaseUpdate=Ce,Sl|=a,e.lanes=a,e.memoizedState=Qe}}function Tn(e,r,o){if(e=r.effects,r.effects=null,e!==null)for(r=0;r<e.length;r++){var G=e[r],fe=G.callback;if(fe!==null){if(G.callback=null,G=o,typeof fe!="function")throw Error(u(191,fe));fe.call(G)}}}var Sn=new n.Component().refs;function an(e,r,o,G){r=e.memoizedState,o=o(G,r),o=o==null?r:f({},r,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var ni={isMounted:function(e){return(e=e._reactInternals)?Pr(e)===e:!1},enqueueSetState:function(e,r,o){e=e._reactInternals;var G=Ul(),fe=Ru(e),Pe=vt(G,fe);Pe.payload=r,o!=null&&(Pe.callback=o),jr(e,Pe),_u(e,fe,G)},enqueueReplaceState:function(e,r,o){e=e._reactInternals;var G=Ul(),fe=Ru(e),Pe=vt(G,fe);Pe.tag=1,Pe.payload=r,o!=null&&(Pe.callback=o),jr(e,Pe),_u(e,fe,G)},enqueueForceUpdate:function(e,r){e=e._reactInternals;var o=Ul(),G=Ru(e),fe=vt(o,G);fe.tag=2,r!=null&&(fe.callback=r),jr(e,fe),_u(e,G,o)}};function Li(e,r,o,G,fe,Pe,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(G,Pe,a):r.prototype&&r.prototype.isPureReactComponent?!Ae(o,G)||!Ae(fe,Pe):!0}function tt(e,r,o){var G=!1,fe=Bi,Pe=r.contextType;return typeof Pe=="object"&&Pe!==null?Pe=ne(Pe):(fe=No(r)?Go:eo.current,G=r.contextTypes,Pe=(G=G!=null)?Co(e,fe):Bi),r=new r(o,Pe),e.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=ni,e.stateNode=r,r._reactInternals=e,G&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=fe,e.__reactInternalMemoizedMaskedChildContext=Pe),r}function at(e,r,o,G){e=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(o,G),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(o,G),r.state!==e&&ni.enqueueReplaceState(r,r.state,null)}function $t(e,r,o,G){var fe=e.stateNode;fe.props=o,fe.state=e.memoizedState,fe.refs=Sn,nt(e);var Pe=r.contextType;typeof Pe=="object"&&Pe!==null?fe.context=ne(Pe):(Pe=No(r)?Go:eo.current,fe.context=Co(e,Pe)),hr(e,o,fe,G),fe.state=e.memoizedState,Pe=r.getDerivedStateFromProps,typeof Pe=="function"&&(an(e,r,Pe,o),fe.state=e.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof fe.getSnapshotBeforeUpdate=="function"||typeof fe.UNSAFE_componentWillMount!="function"&&typeof fe.componentWillMount!="function"||(r=fe.state,typeof fe.componentWillMount=="function"&&fe.componentWillMount(),typeof fe.UNSAFE_componentWillMount=="function"&&fe.UNSAFE_componentWillMount(),r!==fe.state&&ni.enqueueReplaceState(fe,fe.state,null),hr(e,o,fe,G),fe.state=e.memoizedState),typeof fe.componentDidMount=="function"&&(e.flags|=4)}var Fr=Array.isArray;function Xr(e,r,o){if(e=o.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(o._owner){if(o=o._owner,o){if(o.tag!==1)throw Error(u(309));var G=o.stateNode}if(!G)throw Error(u(147,e));var fe=""+e;return r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===fe?r.ref:(r=function(Pe){var a=G.refs;a===Sn&&(a=G.refs={}),Pe===null?delete a[fe]:a[fe]=Pe},r._stringRef=fe,r)}if(typeof e!="string")throw Error(u(284));if(!o._owner)throw Error(u(290,e))}return e}function Ln(e,r){if(e.type!=="textarea")throw Error(u(31,Object.prototype.toString.call(r)==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":r))}function xi(e){function r(ut,lt){if(e){var Lt=ut.lastEffect;Lt!==null?(Lt.nextEffect=lt,ut.lastEffect=lt):ut.firstEffect=ut.lastEffect=lt,lt.nextEffect=null,lt.flags=8}}function o(ut,lt){if(!e)return null;for(;lt!==null;)r(ut,lt),lt=lt.sibling;return null}function G(ut,lt){for(ut=new Map;lt!==null;)lt.key!==null?ut.set(lt.key,lt):ut.set(lt.index,lt),lt=lt.sibling;return ut}function fe(ut,lt){return ut=Uu(ut,lt),ut.index=0,ut.sibling=null,ut}function Pe(ut,lt,Lt){return ut.index=Lt,e?(Lt=ut.alternate,Lt!==null?(Lt=Lt.index,Lt<lt?(ut.flags=2,lt):Lt):(ut.flags=2,lt)):lt}function a(ut){return e&&ut.alternate===null&&(ut.flags=2),ut}function s(ut,lt,Lt,wr){return lt===null||lt.tag!==6?(lt=tc(Lt,ut.mode,wr),lt.return=ut,lt):(lt=fe(lt,Lt),lt.return=ut,lt)}function b(ut,lt,Lt,wr){return lt!==null&&lt.elementType===Lt.type?(wr=fe(lt,Lt.props),wr.ref=Xr(ut,lt,Lt),wr.return=ut,wr):(wr=Eu(Lt.type,Lt.key,Lt.props,null,ut.mode,wr),wr.ref=Xr(ut,lt,Lt),wr.return=ut,wr)}function D(ut,lt,Lt,wr){return lt===null||lt.tag!==4||lt.stateNode.containerInfo!==Lt.containerInfo||lt.stateNode.implementation!==Lt.implementation?(lt=Qu(Lt,ut.mode,wr),lt.return=ut,lt):(lt=fe(lt,Lt.children||[]),lt.return=ut,lt)}function Ce(ut,lt,Lt,wr,Sr){return lt===null||lt.tag!==7?(lt=Nu(Lt,ut.mode,wr,Sr),lt.return=ut,lt):(lt=fe(lt,Lt),lt.return=ut,lt)}function Qe(ut,lt,Lt){if(typeof lt=="string"||typeof lt=="number")return lt=tc(""+lt,ut.mode,Lt),lt.return=ut,lt;if(typeof lt=="object"&&lt!==null){switch(lt.$$typeof){case O:return Lt=Eu(lt.type,lt.key,lt.props,null,ut.mode,Lt),Lt.ref=Xr(ut,null,lt),Lt.return=ut,Lt;case I:return lt=Qu(lt,ut.mode,Lt),lt.return=ut,lt}if(Fr(lt)||ae(lt))return lt=Nu(lt,ut.mode,Lt,null),lt.return=ut,lt;Ln(ut,lt)}return null}function We(ut,lt,Lt,wr){var Sr=lt!==null?lt.key:null;if(typeof Lt=="string"||typeof Lt=="number")return Sr!==null?null:s(ut,lt,""+Lt,wr);if(typeof Lt=="object"&&Lt!==null){switch(Lt.$$typeof){case O:return Lt.key===Sr?Lt.type===E?Ce(ut,lt,Lt.props.children,wr,Sr):b(ut,lt,Lt,wr):null;case I:return Lt.key===Sr?D(ut,lt,Lt,wr):null}if(Fr(Lt)||ae(Lt))return Sr!==null?null:Ce(ut,lt,Lt,wr,null);Ln(ut,Lt)}return null}function Ve(ut,lt,Lt,wr,Sr){if(typeof wr=="string"||typeof wr=="number")return ut=ut.get(Lt)||null,s(lt,ut,""+wr,Sr);if(typeof wr=="object"&&wr!==null){switch(wr.$$typeof){case O:return ut=ut.get(wr.key===null?Lt:wr.key)||null,wr.type===E?Ce(lt,ut,wr.props.children,Sr,wr.key):b(lt,ut,wr,Sr);case I:return ut=ut.get(wr.key===null?Lt:wr.key)||null,D(lt,ut,wr,Sr)}if(Fr(wr)||ae(wr))return ut=ut.get(Lt)||null,Ce(lt,ut,wr,Sr,null);Ln(lt,wr)}return null}function $e(ut,lt,Lt,wr){for(var Sr=null,$r=null,Nn=lt,Hn=lt=0,Qn=null;Nn!==null&&Hn<Lt.length;Hn++){Nn.index>Hn?(Qn=Nn,Nn=null):Qn=Nn.sibling;var ui=We(ut,Nn,Lt[Hn],wr);if(ui===null){Nn===null&&(Nn=Qn);break}e&&Nn&&ui.alternate===null&&r(ut,Nn),lt=Pe(ui,lt,Hn),$r===null?Sr=ui:$r.sibling=ui,$r=ui,Nn=Qn}if(Hn===Lt.length)return o(ut,Nn),Sr;if(Nn===null){for(;Hn<Lt.length;Hn++)Nn=Qe(ut,Lt[Hn],wr),Nn!==null&&(lt=Pe(Nn,lt,Hn),$r===null?Sr=Nn:$r.sibling=Nn,$r=Nn);return Sr}for(Nn=G(ut,Nn);Hn<Lt.length;Hn++)Qn=Ve(Nn,ut,Hn,Lt[Hn],wr),Qn!==null&&(e&&Qn.alternate!==null&&Nn.delete(Qn.key===null?Hn:Qn.key),lt=Pe(Qn,lt,Hn),$r===null?Sr=Qn:$r.sibling=Qn,$r=Qn);return e&&Nn.forEach(function(po){return r(ut,po)}),Sr}function It(ut,lt,Lt,wr){var Sr=ae(Lt);if(typeof Sr!="function")throw Error(u(150));if(Lt=Sr.call(Lt),Lt==null)throw Error(u(151));for(var $r=Sr=null,Nn=lt,Hn=lt=0,Qn=null,ui=Lt.next();Nn!==null&&!ui.done;Hn++,ui=Lt.next()){Nn.index>Hn?(Qn=Nn,Nn=null):Qn=Nn.sibling;var po=We(ut,Nn,ui.value,wr);if(po===null){Nn===null&&(Nn=Qn);break}e&&Nn&&po.alternate===null&&r(ut,Nn),lt=Pe(po,lt,Hn),$r===null?Sr=po:$r.sibling=po,$r=po,Nn=Qn}if(ui.done)return o(ut,Nn),Sr;if(Nn===null){for(;!ui.done;Hn++,ui=Lt.next())ui=Qe(ut,ui.value,wr),ui!==null&&(lt=Pe(ui,lt,Hn),$r===null?Sr=ui:$r.sibling=ui,$r=ui);return Sr}for(Nn=G(ut,Nn);!ui.done;Hn++,ui=Lt.next())ui=Ve(Nn,ut,Hn,ui.value,wr),ui!==null&&(e&&ui.alternate!==null&&Nn.delete(ui.key===null?Hn:ui.key),lt=Pe(ui,lt,Hn),$r===null?Sr=ui:$r.sibling=ui,$r=ui);return e&&Nn.forEach(function(Ao){return r(ut,Ao)}),Sr}return function(ut,lt,Lt,wr){var Sr=typeof Lt=="object"&&Lt!==null&&Lt.type===E&&Lt.key===null;Sr&&(Lt=Lt.props.children);var $r=typeof Lt=="object"&&Lt!==null;if($r)switch(Lt.$$typeof){case O:e:{for($r=Lt.key,Sr=lt;Sr!==null;){if(Sr.key===$r){switch(Sr.tag){case 7:if(Lt.type===E){o(ut,Sr.sibling),lt=fe(Sr,Lt.props.children),lt.return=ut,ut=lt;break e}break;default:if(Sr.elementType===Lt.type){o(ut,Sr.sibling),lt=fe(Sr,Lt.props),lt.ref=Xr(ut,Sr,Lt),lt.return=ut,ut=lt;break e}}o(ut,Sr);break}else r(ut,Sr);Sr=Sr.sibling}Lt.type===E?(lt=Nu(Lt.props.children,ut.mode,wr,Lt.key),lt.return=ut,ut=lt):(wr=Eu(Lt.type,Lt.key,Lt.props,null,ut.mode,wr),wr.ref=Xr(ut,lt,Lt),wr.return=ut,ut=wr)}return a(ut);case I:e:{for(Sr=Lt.key;lt!==null;){if(lt.key===Sr)if(lt.tag===4&&lt.stateNode.containerInfo===Lt.containerInfo&&lt.stateNode.implementation===Lt.implementation){o(ut,lt.sibling),lt=fe(lt,Lt.children||[]),lt.return=ut,ut=lt;break e}else{o(ut,lt);break}else r(ut,lt);lt=lt.sibling}lt=Qu(Lt,ut.mode,wr),lt.return=ut,ut=lt}return a(ut)}if(typeof Lt=="string"||typeof Lt=="number")return Lt=""+Lt,lt!==null&&lt.tag===6?(o(ut,lt.sibling),lt=fe(lt,Lt),lt.return=ut,ut=lt):(o(ut,lt),lt=tc(Lt,ut.mode,wr),lt.return=ut,ut=lt),a(ut);if(Fr(Lt))return $e(ut,lt,Lt,wr);if(ae(Lt))return It(ut,lt,Lt,wr);if($r&&Ln(ut,Lt),typeof Lt=="undefined"&&!Sr)switch(ut.tag){case 1:case 22:case 0:case 11:case 15:throw Error(u(152,Q(ut.type)||"Component"))}return o(ut,lt)}}var Cn=xi(!0),Wn=xi(!1),ai={},ci=di(ai),Pn=di(ai),vi=di(ai);function wa(e){if(e===ai)throw Error(u(174));return e}function Qo(e,r){switch(gi(vi,r),gi(Pn,e),gi(ci,ai),e=r.nodeType,e){case 9:case 11:r=(r=r.documentElement)?r.namespaceURI:Jt(null,"");break;default:e=e===8?r.parentNode:r,r=e.namespaceURI||null,e=e.tagName,r=Jt(r,e)}ri(ci),gi(ci,r)}function yt(){ri(ci),ri(Pn),ri(vi)}function Xn(e){wa(vi.current);var r=wa(ci.current),o=Jt(r,e.type);r!==o&&(gi(Pn,e),gi(ci,o))}function Vi(e){Pn.current===e&&(ri(ci),ri(Pn))}var Qi=di(0);function Bo(e){for(var r=e;r!==null;){if(r.tag===13){var o=r.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||o.data==="$!"))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){if(r.flags&64)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var Oo=null,Ro=null,So=!1;function $o(e,r){var o=ql(5,null,null,0);o.elementType="DELETED",o.type="DELETED",o.stateNode=r,o.return=e,o.flags=8,e.lastEffect!==null?(e.lastEffect.nextEffect=o,e.lastEffect=o):e.firstEffect=e.lastEffect=o}function Yi(e,r){switch(e.tag){case 5:var o=e.type;return r=r.nodeType!==1||o.toLowerCase()!==r.nodeName.toLowerCase()?null:r,r!==null?(e.stateNode=r,!0):!1;case 6:return r=e.pendingProps===""||r.nodeType!==3?null:r,r!==null?(e.stateNode=r,!0):!1;case 13:return!1;default:return!1}}function k(e){if(So){var r=Ro;if(r){var o=r;if(!Yi(e,r)){if(r=Ar(o.nextSibling),!r||!Yi(e,r)){e.flags=e.flags&-1025|2,So=!1,Oo=e;return}$o(Oo,o)}Oo=e,Ro=Ar(r.firstChild)}else e.flags=e.flags&-1025|2,So=!1,Oo=e}}function ge(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Oo=e}function Ze(e){if(e!==Oo)return!1;if(!So)return ge(e),So=!0,!1;var r=e.type;if(e.tag!==5||r!=="head"&&r!=="body"&&!Un(r,e.memoizedProps))for(r=Ro;r;)$o(e,r),r=Ar(r.nextSibling);if(ge(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(317));e:{for(e=e.nextSibling,r=0;e;){if(e.nodeType===8){var o=e.data;if(o==="/$"){if(r===0){Ro=Ar(e.nextSibling);break e}r--}else o!=="$"&&o!=="$!"&&o!=="$?"||r++}e=e.nextSibling}Ro=null}}else Ro=Oo?Ar(e.stateNode.nextSibling):null;return!0}function Xe(){Ro=Oo=null,So=!1}var xt=[];function xr(){for(var e=0;e<xt.length;e++)xt[e]._workInProgressVersionPrimary=null;xt.length=0}var sn=p.ReactCurrentDispatcher,Ai=p.ReactCurrentBatchConfig,Zi=0,$i=null,Lo=null,Zo=null,da=!1,Ia=!1;function fa(){throw Error(u(321))}function as(e,r){if(r===null)return!1;for(var o=0;o<r.length&&o<e.length;o++)if(!_(e[o],r[o]))return!1;return!0}function Va(e,r,o,G,fe,Pe){if(Zi=Pe,$i=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,sn.current=e===null||e.memoizedState===null?$s:al,e=o(G,fe),Ia){Pe=0;do{if(Ia=!1,!(25>Pe))throw Error(u(301));Pe+=1,Zo=Lo=null,r.updateQueue=null,sn.current=Hs,e=o(G,fe)}while(Ia)}if(sn.current=hs,r=Lo!==null&&Lo.next!==null,Zi=0,Zo=Lo=$i=null,da=!1,r)throw Error(u(300));return e}function ha(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Zo===null?$i.memoizedState=Zo=e:Zo=Zo.next=e,Zo}function xa(){if(Lo===null){var e=$i.alternate;e=e!==null?e.memoizedState:null}else e=Lo.next;var r=Zo===null?$i.memoizedState:Zo.next;if(r!==null)Zo=r,Lo=e;else{if(e===null)throw Error(u(310));Lo=e,e={memoizedState:Lo.memoizedState,baseState:Lo.baseState,baseQueue:Lo.baseQueue,queue:Lo.queue,next:null},Zo===null?$i.memoizedState=Zo=e:Zo=Zo.next=e}return Zo}function ko(e,r){return typeof r=="function"?r(e):r}function Mi(e){var r=xa(),o=r.queue;if(o===null)throw Error(u(311));o.lastRenderedReducer=e;var G=Lo,fe=G.baseQueue,Pe=o.pending;if(Pe!==null){if(fe!==null){var a=fe.next;fe.next=Pe.next,Pe.next=a}G.baseQueue=fe=Pe,o.pending=null}if(fe!==null){fe=fe.next,G=G.baseState;var s=a=Pe=null,b=fe;do{var D=b.lane;if((Zi&D)===D)s!==null&&(s=s.next={lane:0,action:b.action,eagerReducer:b.eagerReducer,eagerState:b.eagerState,next:null}),G=b.eagerReducer===e?b.eagerState:e(G,b.action);else{var Ce={lane:D,action:b.action,eagerReducer:b.eagerReducer,eagerState:b.eagerState,next:null};s===null?(a=s=Ce,Pe=G):s=s.next=Ce,$i.lanes|=D,Sl|=D}b=b.next}while(b!==null&&b!==fe);s===null?Pe=G:s.next=a,_(G,r.memoizedState)||(Ee=!0),r.memoizedState=G,r.baseState=Pe,r.baseQueue=s,o.lastRenderedState=G}return[r.memoizedState,o.dispatch]}function co(e){var r=xa(),o=r.queue;if(o===null)throw Error(u(311));o.lastRenderedReducer=e;var G=o.dispatch,fe=o.pending,Pe=r.memoizedState;if(fe!==null){o.pending=null;var a=fe=fe.next;do Pe=e(Pe,a.action),a=a.next;while(a!==fe);_(Pe,r.memoizedState)||(Ee=!0),r.memoizedState=Pe,r.baseQueue===null&&(r.baseState=Pe),o.lastRenderedState=Pe}return[Pe,G]}function go(e,r,o){var G=r._getVersion;G=G(r._source);var fe=r._workInProgressVersionPrimary;if(fe!==null?e=fe===G:(e=e.mutableReadLanes,(e=(Zi&e)===e)&&(r._workInProgressVersionPrimary=G,xt.push(r))),e)return o(r._source);throw xt.push(r),Error(u(350))}function qi(e,r,o,G){var fe=za;if(fe===null)throw Error(u(349));var Pe=r._getVersion,a=Pe(r._source),s=sn.current,b=s.useState(function(){return go(fe,r,o)}),D=b[1],Ce=b[0];b=Zo;var Qe=e.memoizedState,We=Qe.refs,Ve=We.getSnapshot,$e=Qe.source;Qe=Qe.subscribe;var It=$i;return e.memoizedState={refs:We,source:r,subscribe:G},s.useEffect(function(){We.getSnapshot=o,We.setSnapshot=D;var ut=Pe(r._source);if(!_(a,ut)){ut=o(r._source),_(Ce,ut)||(D(ut),ut=Ru(It),fe.mutableReadLanes|=ut&fe.pendingLanes),ut=fe.mutableReadLanes,fe.entangledLanes|=ut;for(var lt=fe.entanglements,Lt=ut;0<Lt;){var wr=31-so(Lt),Sr=1<<wr;lt[wr]|=ut,Lt&=~Sr}}},[o,r,G]),s.useEffect(function(){return G(r._source,function(){var ut=We.getSnapshot,lt=We.setSnapshot;try{lt(ut(r._source));var Lt=Ru(It);fe.mutableReadLanes|=Lt&fe.pendingLanes}catch(wr){lt(function(){throw wr})}})},[r,G]),_(Ve,o)&&_($e,r)&&_(Qe,G)||(e={pending:null,dispatch:null,lastRenderedReducer:ko,lastRenderedState:Ce},e.dispatch=D=js.bind(null,$i,e),b.queue=e,b.baseQueue=null,Ce=go(fe,r,o),b.memoizedState=b.baseState=Ce),Ce}function ji(e,r,o){var G=xa();return qi(G,e,r,o)}function ra(e){var r=ha();return typeof e=="function"&&(e=e()),r.memoizedState=r.baseState=e,e=r.queue={pending:null,dispatch:null,lastRenderedReducer:ko,lastRenderedState:e},e=e.dispatch=js.bind(null,$i,e),[r.memoizedState,e]}function jo(e,r,o,G){return e={tag:e,create:r,destroy:o,deps:G,next:null},r=$i.updateQueue,r===null?(r={lastEffect:null},$i.updateQueue=r,r.lastEffect=e.next=e):(o=r.lastEffect,o===null?r.lastEffect=e.next=e:(G=o.next,o.next=e,e.next=G,r.lastEffect=e)),e}function Ca(e){var r=ha();return e={current:e},r.memoizedState=e}function Ra(){return xa().memoizedState}function ro(e,r,o,G){var fe=ha();$i.flags|=e,fe.memoizedState=jo(1|r,o,void 0,G===void 0?null:G)}function _a(e,r,o,G){var fe=xa();G=G===void 0?null:G;var Pe=void 0;if(Lo!==null){var a=Lo.memoizedState;if(Pe=a.destroy,G!==null&&as(G,a.deps)){jo(r,o,Pe,G);return}}$i.flags|=e,fe.memoizedState=jo(1|r,o,Pe,G)}function Ma(e,r){return ro(516,4,e,r)}function Bn(e,r){return _a(516,4,e,r)}function Wo(e,r){return _a(4,2,e,r)}function ba(e,r){if(typeof r=="function")return e=e(),r(e),function(){r(null)};if(r!=null)return e=e(),r.current=e,function(){r.current=null}}function ss(e,r,o){return o=o!=null?o.concat([e]):null,_a(4,2,ba.bind(null,r,e),o)}function qa(){}function vs(e,r){var o=xa();r=r===void 0?null:r;var G=o.memoizedState;return G!==null&&r!==null&&as(r,G[1])?G[0]:(o.memoizedState=[e,r],e)}function Ls(e,r){var o=xa();r=r===void 0?null:r;var G=o.memoizedState;return G!==null&&r!==null&&as(r,G[1])?G[0]:(e=e(),o.memoizedState=[e,r],e)}function Ys(e,r){var o=ga();Yo(98>o?98:o,function(){e(!0)}),Yo(97<o?97:o,function(){var G=Ai.transition;Ai.transition=1;try{e(!1),r()}finally{Ai.transition=G}})}function js(e,r,o){var G=Ul(),fe=Ru(e),Pe={lane:fe,action:o,eagerReducer:null,eagerState:null,next:null},a=r.pending;if(a===null?Pe.next=Pe:(Pe.next=a.next,a.next=Pe),r.pending=Pe,a=e.alternate,e===$i||a!==null&&a===$i)Ia=da=!0;else{if(e.lanes===0&&(a===null||a.lanes===0)&&(a=r.lastRenderedReducer,a!==null))try{var s=r.lastRenderedState,b=a(s,o);if(Pe.eagerReducer=a,Pe.eagerState=b,_(b,s))return}catch(D){}finally{}_u(e,fe,G)}}var hs={readContext:ne,useCallback:fa,useContext:fa,useEffect:fa,useImperativeHandle:fa,useLayoutEffect:fa,useMemo:fa,useReducer:fa,useRef:fa,useState:fa,useDebugValue:fa,useDeferredValue:fa,useTransition:fa,useMutableSource:fa,useOpaqueIdentifier:fa,unstable_isNewReconciler:!1},$s={readContext:ne,useCallback:function(e,r){return ha().memoizedState=[e,r===void 0?null:r],e},useContext:ne,useEffect:Ma,useImperativeHandle:function(e,r,o){return o=o!=null?o.concat([e]):null,ro(4,2,ba.bind(null,r,e),o)},useLayoutEffect:function(e,r){return ro(4,2,e,r)},useMemo:function(e,r){var o=ha();return r=r===void 0?null:r,e=e(),o.memoizedState=[e,r],e},useReducer:function(e,r,o){var G=ha();return r=o!==void 0?o(r):r,G.memoizedState=G.baseState=r,e=G.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},e=e.dispatch=js.bind(null,$i,e),[G.memoizedState,e]},useRef:Ca,useState:ra,useDebugValue:qa,useDeferredValue:function(e){var r=ra(e),o=r[0],G=r[1];return Ma(function(){var fe=Ai.transition;Ai.transition=1;try{G(e)}finally{Ai.transition=fe}},[e]),o},useTransition:function(){var e=ra(!1),r=e[0];return e=Ys.bind(null,e[1]),Ca(e),[e,r]},useMutableSource:function(e,r,o){var G=ha();return G.memoizedState={refs:{getSnapshot:r,setSnapshot:null},source:e,subscribe:o},qi(G,e,r,o)},useOpaqueIdentifier:function(){if(So){var e=!1,r=tn(function(){throw e||(e=!0,o("r:"+(Wr++).toString(36))),Error(u(355))}),o=ra(r)[1];return!($i.mode&2)&&($i.flags|=516,jo(5,function(){o("r:"+(Wr++).toString(36))},void 0,null)),r}return r="r:"+(Wr++).toString(36),ra(r),r},unstable_isNewReconciler:!1},al={readContext:ne,useCallback:vs,useContext:ne,useEffect:Bn,useImperativeHandle:ss,useLayoutEffect:Wo,useMemo:Ls,useReducer:Mi,useRef:Ra,useState:function(){return Mi(ko)},useDebugValue:qa,useDeferredValue:function(e){var r=Mi(ko),o=r[0],G=r[1];return Bn(function(){var fe=Ai.transition;Ai.transition=1;try{G(e)}finally{Ai.transition=fe}},[e]),o},useTransition:function(){var e=Mi(ko)[0];return[Ra().current,e]},useMutableSource:ji,useOpaqueIdentifier:function(){return Mi(ko)[0]},unstable_isNewReconciler:!1},Hs={readContext:ne,useCallback:vs,useContext:ne,useEffect:Bn,useImperativeHandle:ss,useLayoutEffect:Wo,useMemo:Ls,useReducer:co,useRef:Ra,useState:function(){return co(ko)},useDebugValue:qa,useDeferredValue:function(e){var r=co(ko),o=r[0],G=r[1];return Bn(function(){var fe=Ai.transition;Ai.transition=1;try{G(e)}finally{Ai.transition=fe}},[e]),o},useTransition:function(){var e=co(ko)[0];return[Ra().current,e]},useMutableSource:ji,useOpaqueIdentifier:function(){return co(ko)[0]},unstable_isNewReconciler:!1},sl=p.ReactCurrentOwner,Ee=!1;function ct(e,r,o,G){r.child=e===null?Wn(r,null,o,G):Cn(r,e.child,o,G)}function ur(e,r,o,G,fe){o=o.render;var Pe=r.ref;return oe(r,fe),G=Va(e,r,o,G,Pe,fe),e!==null&&!Ee?(r.updateQueue=e.updateQueue,r.flags&=-517,e.lanes&=~fe,Fs(e,r,fe)):(r.flags|=1,ct(e,r,G,fe),r.child)}function Mr(e,r,o,G,fe,Pe){if(e===null){var a=o.type;return typeof a=="function"&&!qu(a)&&a.defaultProps===void 0&&o.compare===null&&o.defaultProps===void 0?(r.tag=15,r.type=a,en(e,r,a,G,fe,Pe)):(e=Eu(o.type,null,G,r,r.mode,Pe),e.ref=r.ref,e.return=r,r.child=e)}return a=e.child,!(fe&Pe)&&(fe=a.memoizedProps,o=o.compare,o=o!==null?o:Ae,o(fe,G)&&e.ref===r.ref)?Fs(e,r,Pe):(r.flags|=1,e=Uu(a,G),e.ref=r.ref,e.return=r,r.child=e)}function en(e,r,o,G,fe,Pe){if(e!==null&&Ae(e.memoizedProps,G)&&e.ref===r.ref)if(Ee=!1,(Pe&fe)!==0)e.flags&16384&&(Ee=!0);else return r.lanes=e.lanes,Fs(e,r,Pe);return Ii(e,r,o,G,Pe)}function bn(e,r,o){var G=r.pendingProps,fe=G.children,Pe=e!==null?e.memoizedState:null;if(G.mode==="hidden"||G.mode==="unstable-defer-without-hiding")if(!(r.mode&4))r.memoizedState={baseLanes:0},Nl(r,o);else if(o&1073741824)r.memoizedState={baseLanes:0},Nl(r,Pe!==null?Pe.baseLanes:o);else return e=Pe!==null?Pe.baseLanes|o:o,r.lanes=r.childLanes=1073741824,r.memoizedState={baseLanes:e},Nl(r,e),null;else Pe!==null?(G=Pe.baseLanes|o,r.memoizedState=null):G=o,Nl(r,G);return ct(e,r,fe,o),r.child}function ei(e,r){var o=r.ref;(e===null&&o!==null||e!==null&&e.ref!==o)&&(r.flags|=128)}function Ii(e,r,o,G,fe){var Pe=No(o)?Go:eo.current;return Pe=Co(r,Pe),oe(r,fe),o=Va(e,r,o,G,Pe,fe),e!==null&&!Ee?(r.updateQueue=e.updateQueue,r.flags&=-517,e.lanes&=~fe,Fs(e,r,fe)):(r.flags|=1,ct(e,r,o,fe),r.child)}function yo(e,r,o,G,fe){if(No(o)){var Pe=!0;Hi(r)}else Pe=!1;if(oe(r,fe),r.stateNode===null)e!==null&&(e.alternate=null,r.alternate=null,r.flags|=2),tt(r,o,G),$t(r,o,G,fe),G=!0;else if(e===null){var a=r.stateNode,s=r.memoizedProps;a.props=s;var b=a.context,D=o.contextType;typeof D=="object"&&D!==null?D=ne(D):(D=No(o)?Go:eo.current,D=Co(r,D));var Ce=o.getDerivedStateFromProps,Qe=typeof Ce=="function"||typeof a.getSnapshotBeforeUpdate=="function";Qe||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==G||b!==D)&&at(r,a,G,D),He=!1;var We=r.memoizedState;a.state=We,hr(r,G,a,fe),b=r.memoizedState,s!==G||We!==b||io.current||He?(typeof Ce=="function"&&(an(r,o,Ce,G),b=r.memoizedState),(s=He||Li(r,o,s,G,We,b,D))?(Qe||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(r.flags|=4)):(typeof a.componentDidMount=="function"&&(r.flags|=4),r.memoizedProps=G,r.memoizedState=b),a.props=G,a.state=b,a.context=D,G=s):(typeof a.componentDidMount=="function"&&(r.flags|=4),G=!1)}else{a=r.stateNode,bt(e,r),s=r.memoizedProps,D=r.type===r.elementType?s:aa(r.type,s),a.props=D,Qe=r.pendingProps,We=a.context,b=o.contextType,typeof b=="object"&&b!==null?b=ne(b):(b=No(o)?Go:eo.current,b=Co(r,b));var Ve=o.getDerivedStateFromProps;(Ce=typeof Ve=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==Qe||We!==b)&&at(r,a,G,b),He=!1,We=r.memoizedState,a.state=We,hr(r,G,a,fe);var $e=r.memoizedState;s!==Qe||We!==$e||io.current||He?(typeof Ve=="function"&&(an(r,o,Ve,G),$e=r.memoizedState),(D=He||Li(r,o,D,G,We,$e,b))?(Ce||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(G,$e,b),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(G,$e,b)),typeof a.componentDidUpdate=="function"&&(r.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(r.flags|=256)):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&We===e.memoizedState||(r.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&We===e.memoizedState||(r.flags|=256),r.memoizedProps=G,r.memoizedState=$e),a.props=G,a.state=$e,a.context=b,G=D):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&We===e.memoizedState||(r.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&We===e.memoizedState||(r.flags|=256),G=!1)}return Io(e,r,o,G,Pe,fe)}function Io(e,r,o,G,fe,Pe){ei(e,r);var a=(r.flags&64)!==0;if(!G&&!a)return fe&&Ss(r,o,!1),Fs(e,r,Pe);G=r.stateNode,sl.current=r;var s=a&&typeof o.getDerivedStateFromError!="function"?null:G.render();return r.flags|=1,e!==null&&a?(r.child=Cn(r,e.child,null,Pe),r.child=Cn(r,null,s,Pe)):ct(e,r,s,Pe),r.memoizedState=G.state,fe&&Ss(r,o,!0),r.child}function Ho(e){var r=e.stateNode;r.pendingContext?Xo(e,r.pendingContext,r.pendingContext!==r.context):r.context&&Xo(e,r.context,!1),Qo(e,r.containerInfo)}var sa={dehydrated:null,retryLane:0};function es(e,r,o){var G=r.pendingProps,fe=Qi.current,Pe=!1,a;return(a=(r.flags&64)!==0)||(a=e!==null&&e.memoizedState===null?!1:(fe&2)!==0),a?(Pe=!0,r.flags&=-65):e!==null&&e.memoizedState===null||G.fallback===void 0||G.unstable_avoidThisFallback===!0||(fe|=1),gi(Qi,fe&1),e===null?(G.fallback!==void 0&&k(r),e=G.children,fe=G.fallback,Pe?(e=ts(r,e,fe,o),r.child.memoizedState={baseLanes:o},r.memoizedState=sa,e):typeof G.unstable_expectedLoadTime=="number"?(e=ts(r,e,fe,o),r.child.memoizedState={baseLanes:o},r.memoizedState=sa,r.lanes=33554432,e):(o=ec({mode:"visible",children:e},r.mode,o,null),o.return=r,r.child=o)):e.memoizedState!==null?Pe?(G=Is(e,r,G.children,G.fallback,o),Pe=r.child,fe=e.child.memoizedState,Pe.memoizedState=fe===null?{baseLanes:o}:{baseLanes:fe.baseLanes|o},Pe.childLanes=e.childLanes&~o,r.memoizedState=sa,G):(o=As(e,r,G.children,o),r.memoizedState=null,o):Pe?(G=Is(e,r,G.children,G.fallback,o),Pe=r.child,fe=e.child.memoizedState,Pe.memoizedState=fe===null?{baseLanes:o}:{baseLanes:fe.baseLanes|o},Pe.childLanes=e.childLanes&~o,r.memoizedState=sa,G):(o=As(e,r,G.children,o),r.memoizedState=null,o)}function ts(e,r,o,G){var fe=e.mode,Pe=e.child;return r={mode:"hidden",children:r},!(fe&2)&&Pe!==null?(Pe.childLanes=0,Pe.pendingProps=r):Pe=ec(r,fe,0,null),o=Nu(o,fe,G,null),Pe.return=e,o.return=e,Pe.sibling=o,e.child=Pe,o}function As(e,r,o,G){var fe=e.child;return e=fe.sibling,o=Uu(fe,{mode:"visible",children:o}),!(r.mode&2)&&(o.lanes=G),o.return=r,o.sibling=null,e!==null&&(e.nextEffect=null,e.flags=8,r.firstEffect=r.lastEffect=e),r.child=o}function Is(e,r,o,G,fe){var Pe=r.mode,a=e.child;e=a.sibling;var s={mode:"hidden",children:o};return!(Pe&2)&&r.child!==a?(o=r.child,o.childLanes=0,o.pendingProps=s,a=o.lastEffect,a!==null?(r.firstEffect=o.firstEffect,r.lastEffect=a,a.nextEffect=null):r.firstEffect=r.lastEffect=null):o=Uu(a,s),e!==null?G=Uu(e,G):(G=Nu(G,Pe,fe,null),G.flags|=2),G.return=r,o.return=r,o.sibling=G,r.child=o,G}function ys(e,r){e.lanes|=r;var o=e.alternate;o!==null&&(o.lanes|=r),ye(e.return,r)}function cl(e,r,o,G,fe,Pe){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:G,tail:o,tailMode:fe,lastEffect:Pe}:(a.isBackwards=r,a.rendering=null,a.renderingStartTime=0,a.last=G,a.tail=o,a.tailMode=fe,a.lastEffect=Pe)}function Zs(e,r,o){var G=r.pendingProps,fe=G.revealOrder,Pe=G.tail;if(ct(e,r,G.children,o),G=Qi.current,G&2)G=G&1|2,r.flags|=64;else{if(e!==null&&e.flags&64)e:for(e=r.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&ys(e,o);else if(e.tag===19)ys(e,o);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===r)break e;for(;e.sibling===null;){if(e.return===null||e.return===r)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}G&=1}if(gi(Qi,G),!(r.mode&2))r.memoizedState=null;else switch(fe){case"forwards":for(o=r.child,fe=null;o!==null;)e=o.alternate,e!==null&&Bo(e)===null&&(fe=o),o=o.sibling;o=fe,o===null?(fe=r.child,r.child=null):(fe=o.sibling,o.sibling=null),cl(r,!1,fe,o,Pe,r.lastEffect);break;case"backwards":for(o=null,fe=r.child,r.child=null;fe!==null;){if(e=fe.alternate,e!==null&&Bo(e)===null){r.child=fe;break}e=fe.sibling,fe.sibling=o,o=fe,fe=e}cl(r,!0,o,null,Pe,r.lastEffect);break;case"together":cl(r,!1,null,null,void 0,r.lastEffect);break;default:r.memoizedState=null}return r.child}function Fs(e,r,o){if(e!==null&&(r.dependencies=e.dependencies),Sl|=r.lanes,o&r.childLanes){if(e!==null&&r.child!==e.child)throw Error(u(153));if(r.child!==null){for(e=r.child,o=Uu(e,e.pendingProps),r.child=o,o.return=r;e.sibling!==null;)e=e.sibling,o=o.sibling=Uu(e,e.pendingProps),o.return=r;o.sibling=null}return r.child}return null}var iu,Jl,Du,hu;iu=function(e,r){for(var o=r.child;o!==null;){if(o.tag===5||o.tag===6)e.appendChild(o.stateNode);else if(o.tag!==4&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===r)break;for(;o.sibling===null;){if(o.return===null||o.return===r)return;o=o.return}o.sibling.return=o.return,o=o.sibling}},Jl=function(){},Du=function(e,r,o,G){var fe=e.memoizedProps;if(fe!==G){e=r.stateNode,wa(ci.current);var Pe=null;switch(o){case"input":fe=Me(e,fe),G=Me(e,G),Pe=[];break;case"option":fe=De(e,fe),G=De(e,G),Pe=[];break;case"select":fe=f({},fe,{value:void 0}),G=f({},G,{value:void 0}),Pe=[];break;case"textarea":fe=Oe(e,fe),G=Oe(e,G),Pe=[];break;default:typeof fe.onClick!="function"&&typeof G.onClick=="function"&&(e.onclick=En)}St(o,G);var a;o=null;for(D in fe)if(!G.hasOwnProperty(D)&&fe.hasOwnProperty(D)&&fe[D]!=null)if(D==="style"){var s=fe[D];for(a in s)s.hasOwnProperty(a)&&(o||(o={}),o[a]="")}else D!=="dangerouslySetInnerHTML"&&D!=="children"&&D!=="suppressContentEditableWarning"&&D!=="suppressHydrationWarning"&&D!=="autoFocus"&&(v.hasOwnProperty(D)?Pe||(Pe=[]):(Pe=Pe||[]).push(D,null));for(D in G){var b=G[D];if(s=fe!=null?fe[D]:void 0,G.hasOwnProperty(D)&&b!==s&&(b!=null||s!=null))if(D==="style")if(s){for(a in s)!s.hasOwnProperty(a)||b&&b.hasOwnProperty(a)||(o||(o={}),o[a]="");for(a in b)b.hasOwnProperty(a)&&s[a]!==b[a]&&(o||(o={}),o[a]=b[a])}else o||(Pe||(Pe=[]),Pe.push(D,o)),o=b;else D==="dangerouslySetInnerHTML"?(b=b?b.__html:void 0,s=s?s.__html:void 0,b!=null&&s!==b&&(Pe=Pe||[]).push(D,b)):D==="children"?typeof b!="string"&&typeof b!="number"||(Pe=Pe||[]).push(D,""+b):D!=="suppressContentEditableWarning"&&D!=="suppressHydrationWarning"&&(v.hasOwnProperty(D)?(b!=null&&D==="onScroll"&&hn("scroll",e),Pe||s===b||(Pe=[])):typeof b=="object"&&b!==null&&b.$$typeof===le?b.toString():(Pe=Pe||[]).push(D,b))}o&&(Pe=Pe||[]).push("style",o);var D=Pe;(r.updateQueue=D)&&(r.flags|=4)}},hu=function(e,r,o,G){o!==G&&(r.flags|=4)};function xl(e,r){if(!So)switch(e.tailMode){case"hidden":r=e.tail;for(var o=null;r!==null;)r.alternate!==null&&(o=r),r=r.sibling;o===null?e.tail=null:o.sibling=null;break;case"collapsed":o=e.tail;for(var G=null;o!==null;)o.alternate!==null&&(G=o),o=o.sibling;G===null?r||e.tail===null?e.tail=null:e.tail.sibling=null:G.sibling=null}}function wu(e,r,o){var G=r.pendingProps;switch(r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return No(r.type)&&Oa(),null;case 3:return yt(),ri(io),ri(eo),xr(),G=r.stateNode,G.pendingContext&&(G.context=G.pendingContext,G.pendingContext=null),(e===null||e.child===null)&&(Ze(r)?r.flags|=4:G.hydrate||(r.flags|=256)),Jl(r),null;case 5:Vi(r);var fe=wa(vi.current);if(o=r.type,e!==null&&r.stateNode!=null)Du(e,r,o,G,fe),e.ref!==r.ref&&(r.flags|=128);else{if(!G){if(r.stateNode===null)throw Error(u(166));return null}if(e=wa(ci.current),Ze(r)){G=r.stateNode,o=r.type;var Pe=r.memoizedProps;switch(G[gn]=r,G[wn]=Pe,o){case"dialog":hn("cancel",G),hn("close",G);break;case"iframe":case"object":case"embed":hn("load",G);break;case"video":case"audio":for(e=0;e<Kt.length;e++)hn(Kt[e],G);break;case"source":hn("error",G);break;case"img":case"image":case"link":hn("error",G),hn("load",G);break;case"details":hn("toggle",G);break;case"input":Fe(G,Pe),hn("invalid",G);break;case"select":G._wrapperState={wasMultiple:!!Pe.multiple},hn("invalid",G);break;case"textarea":st(G,Pe),hn("invalid",G)}St(o,Pe),e=null;for(var a in Pe)Pe.hasOwnProperty(a)&&(fe=Pe[a],a==="children"?typeof fe=="string"?G.textContent!==fe&&(e=["children",fe]):typeof fe=="number"&&G.textContent!==""+fe&&(e=["children",""+fe]):v.hasOwnProperty(a)&&fe!=null&&a==="onScroll"&&hn("scroll",G));switch(o){case"input":ze(G),xe(G,Pe,!0);break;case"textarea":ze(G),Qt(G);break;case"select":case"option":break;default:typeof Pe.onClick=="function"&&(G.onclick=En)}G=e,r.updateQueue=G,G!==null&&(r.flags|=4)}else{switch(a=fe.nodeType===9?fe:fe.ownerDocument,e===Vt.html&&(e=Gt(o)),e===Vt.html?o==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof G.is=="string"?e=a.createElement(o,{is:G.is}):(e=a.createElement(o),o==="select"&&(a=e,G.multiple?a.multiple=!0:G.size&&(a.size=G.size))):e=a.createElementNS(e,o),e[gn]=r,e[wn]=G,iu(e,r,!1,!1),r.stateNode=e,a=Wt(o,G),o){case"dialog":hn("cancel",e),hn("close",e),fe=G;break;case"iframe":case"object":case"embed":hn("load",e),fe=G;break;case"video":case"audio":for(fe=0;fe<Kt.length;fe++)hn(Kt[fe],e);fe=G;break;case"source":hn("error",e),fe=G;break;case"img":case"image":case"link":hn("error",e),hn("load",e),fe=G;break;case"details":hn("toggle",e),fe=G;break;case"input":Fe(e,G),fe=Me(e,G),hn("invalid",e);break;case"option":fe=De(e,G);break;case"select":e._wrapperState={wasMultiple:!!G.multiple},fe=f({},G,{value:void 0}),hn("invalid",e);break;case"textarea":st(e,G),fe=Oe(e,G),hn("invalid",e);break;default:fe=G}St(o,fe);var s=fe;for(Pe in s)if(s.hasOwnProperty(Pe)){var b=s[Pe];Pe==="style"?fn(e,b):Pe==="dangerouslySetInnerHTML"?(b=b?b.__html:void 0,b!=null&&Rr(e,b)):Pe==="children"?typeof b=="string"?(o!=="textarea"||b!=="")&&Gr(e,b):typeof b=="number"&&Gr(e,""+b):Pe!=="suppressContentEditableWarning"&&Pe!=="suppressHydrationWarning"&&Pe!=="autoFocus"&&(v.hasOwnProperty(Pe)?b!=null&&Pe==="onScroll"&&hn("scroll",e):b!=null&&g(e,Pe,b,a))}switch(o){case"input":ze(e),xe(e,G,!1);break;case"textarea":ze(e),Qt(e);break;case"option":G.value!=null&&e.setAttribute("value",""+we(G.value));break;case"select":e.multiple=!!G.multiple,Pe=G.value,Pe!=null?Te(e,!!G.multiple,Pe,!1):G.defaultValue!=null&&Te(e,!!G.multiple,G.defaultValue,!0);break;default:typeof fe.onClick=="function"&&(e.onclick=En)}pn(o,G)&&(r.flags|=4)}r.ref!==null&&(r.flags|=128)}return null;case 6:if(e&&r.stateNode!=null)hu(e,r,e.memoizedProps,G);else{if(typeof G!="string"&&r.stateNode===null)throw Error(u(166));o=wa(vi.current),wa(ci.current),Ze(r)?(G=r.stateNode,o=r.memoizedProps,G[gn]=r,G.nodeValue!==o&&(r.flags|=4)):(G=(o.nodeType===9?o:o.ownerDocument).createTextNode(G),G[gn]=r,r.stateNode=G)}return null;case 13:return ri(Qi),G=r.memoizedState,r.flags&64?(r.lanes=o,r):(G=G!==null,o=!1,e===null?r.memoizedProps.fallback!==void 0&&Ze(r):o=e.memoizedState!==null,G&&!o&&r.mode&2&&(e===null&&r.memoizedProps.unstable_avoidThisFallback!==!0||Qi.current&1?ja===0&&(ja=3):((ja===0||ja===3)&&(ja=4),za===null||!(Sl&134217727)&&!(Ua&134217727)||Ku(za,$a))),(G||o)&&(r.flags|=4),null);case 4:return yt(),Jl(r),e===null&&cn(r.stateNode.containerInfo),null;case 10:return y(r),null;case 17:return No(r.type)&&Oa(),null;case 19:if(ri(Qi),G=r.memoizedState,G===null)return null;if(Pe=(r.flags&64)!==0,a=G.rendering,a===null)if(Pe)xl(G,!1);else{if(ja!==0||e!==null&&e.flags&64)for(e=r.child;e!==null;){if(a=Bo(e),a!==null){for(r.flags|=64,xl(G,!1),Pe=a.updateQueue,Pe!==null&&(r.updateQueue=Pe,r.flags|=4),G.lastEffect===null&&(r.firstEffect=null),r.lastEffect=G.lastEffect,G=o,o=r.child;o!==null;)Pe=o,e=G,Pe.flags&=2,Pe.nextEffect=null,Pe.firstEffect=null,Pe.lastEffect=null,a=Pe.alternate,a===null?(Pe.childLanes=0,Pe.lanes=e,Pe.child=null,Pe.memoizedProps=null,Pe.memoizedState=null,Pe.updateQueue=null,Pe.dependencies=null,Pe.stateNode=null):(Pe.childLanes=a.childLanes,Pe.lanes=a.lanes,Pe.child=a.child,Pe.memoizedProps=a.memoizedProps,Pe.memoizedState=a.memoizedState,Pe.updateQueue=a.updateQueue,Pe.type=a.type,e=a.dependencies,Pe.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),o=o.sibling;return gi(Qi,Qi.current&1|2),r.child}e=e.sibling}G.tail!==null&&ka()>yl&&(r.flags|=64,Pe=!0,xl(G,!1),r.lanes=33554432)}else{if(!Pe)if(e=Bo(a),e!==null){if(r.flags|=64,Pe=!0,o=e.updateQueue,o!==null&&(r.updateQueue=o,r.flags|=4),xl(G,!0),G.tail===null&&G.tailMode==="hidden"&&!a.alternate&&!So)return r=r.lastEffect=G.lastEffect,r!==null&&(r.nextEffect=null),null}else 2*ka()-G.renderingStartTime>yl&&o!==1073741824&&(r.flags|=64,Pe=!0,xl(G,!1),r.lanes=33554432);G.isBackwards?(a.sibling=r.child,r.child=a):(o=G.last,o!==null?o.sibling=a:r.child=a,G.last=a)}return G.tail!==null?(o=G.tail,G.rendering=o,G.tail=o.sibling,G.lastEffect=r.lastEffect,G.renderingStartTime=ka(),o.sibling=null,r=Qi.current,gi(Qi,Pe?r&1|2:r&1),o):null;case 23:case 24:return Oc(),e!==null&&e.memoizedState!==null!=(r.memoizedState!==null)&&G.mode!=="unstable-defer-without-hiding"&&(r.flags|=4),null}throw Error(u(156,r.tag))}function ou(e){switch(e.tag){case 1:No(e.type)&&Oa();var r=e.flags;return r&4096?(e.flags=r&-4097|64,e):null;case 3:if(yt(),ri(io),ri(eo),xr(),r=e.flags,r&64)throw Error(u(285));return e.flags=r&-4097|64,e;case 5:return Vi(e),null;case 13:return ri(Qi),r=e.flags,r&4096?(e.flags=r&-4097|64,e):null;case 19:return ri(Qi),null;case 4:return yt(),null;case 10:return y(e),null;case 23:case 24:return Oc(),null;default:return null}}function Al(e,r){try{var o="",G=r;do o+=te(G),G=G.return;while(G);var fe=o}catch(Pe){fe=`
Error generating stack: `+Pe.message+`
`+Pe.stack}return{value:e,source:r,stack:fe}}function pu(e,r){try{console.error(r.value)}catch(o){setTimeout(function(){throw o})}}var Mu=typeof WeakMap=="function"?WeakMap:Map;function Cu(e,r,o){o=vt(-1,o),o.tag=3,o.payload={element:null};var G=r.value;return o.callback=function(){Su||(Su=!0,Gu=G),pu(e,r)},o}function xu(e,r,o){o=vt(-1,o),o.tag=3;var G=e.type.getDerivedStateFromError;if(typeof G=="function"){var fe=r.value;o.payload=function(){return pu(e,r),G(fe)}}var Pe=e.stateNode;return Pe!==null&&typeof Pe.componentDidCatch=="function"&&(o.callback=function(){typeof G!="function"&&(Kl===null?Kl=new Set([this]):Kl.add(this),pu(e,r));var a=r.stack;this.componentDidCatch(r.value,{componentStack:a!==null?a:""})}),o}var dl=typeof WeakSet=="function"?WeakSet:Set;function Wu(e){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(o){Il(e,o)}else r.current=null}function Tu(e,r){switch(r.tag){case 0:case 11:case 15:case 22:return;case 1:if(r.flags&256&&e!==null){var o=e.memoizedProps,G=e.memoizedState;e=r.stateNode,r=e.getSnapshotBeforeUpdate(r.elementType===r.type?o:aa(r.type,o),G),e.__reactInternalSnapshotBeforeUpdate=r}return;case 3:r.flags&256&&Ot(r.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(u(163))}function Lu(e,r,o){switch(o.tag){case 0:case 11:case 15:case 22:if(r=o.updateQueue,r=r!==null?r.lastEffect:null,r!==null){e=r=r.next;do{if((e.tag&3)===3){var G=e.create;e.destroy=G()}e=e.next}while(e!==r)}if(r=o.updateQueue,r=r!==null?r.lastEffect:null,r!==null){e=r=r.next;do{var fe=e;G=fe.next,fe=fe.tag,fe&4&&fe&1&&(vu(o,e),mu(o,e)),e=G}while(e!==r)}return;case 1:e=o.stateNode,o.flags&4&&(r===null?e.componentDidMount():(G=o.elementType===o.type?r.memoizedProps:aa(o.type,r.memoizedProps),e.componentDidUpdate(G,r.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),r=o.updateQueue,r!==null&&Tn(o,r,e);return;case 3:if(r=o.updateQueue,r!==null){if(e=null,o.child!==null)switch(o.child.tag){case 5:e=o.child.stateNode;break;case 1:e=o.child.stateNode}Tn(o,r,e)}return;case 5:e=o.stateNode,r===null&&o.flags&4&&pn(o.type,o.memoizedProps)&&e.focus();return;case 6:return;case 4:return;case 12:return;case 13:o.memoizedState===null&&(o=o.alternate,o!==null&&(o=o.memoizedState,o!==null&&(o=o.dehydrated,o!==null&&_o(o))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(u(163))}function Pl(e,r){for(var o=e;;){if(o.tag===5){var G=o.stateNode;if(r)G=G.style,typeof G.setProperty=="function"?G.setProperty("display","none","important"):G.display="none";else{G=o.stateNode;var fe=o.memoizedProps.style;fe=fe!=null&&fe.hasOwnProperty("display")?fe.display:null,G.style.display=vn("display",fe)}}else if(o.tag===6)o.stateNode.nodeValue=r?"":o.memoizedProps;else if((o.tag!==23&&o.tag!==24||o.memoizedState===null||o===e)&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===e)break;for(;o.sibling===null;){if(o.return===null||o.return===e)return;o=o.return}o.sibling.return=o.return,o=o.sibling}}function bu(e,r){if(os&&typeof os.onCommitFiberUnmount=="function")try{os.onCommitFiberUnmount(Jo,r)}catch(Pe){}switch(r.tag){case 0:case 11:case 14:case 15:case 22:if(e=r.updateQueue,e!==null&&(e=e.lastEffect,e!==null)){var o=e=e.next;do{var G=o,fe=G.destroy;if(G=G.tag,fe!==void 0)if(G&4)vu(r,o);else{G=r;try{fe()}catch(Pe){Il(G,Pe)}}o=o.next}while(o!==e)}break;case 1:if(Wu(r),e=r.stateNode,typeof e.componentWillUnmount=="function")try{e.props=r.memoizedProps,e.state=r.memoizedState,e.componentWillUnmount()}catch(Pe){Il(r,Pe)}break;case 5:Wu(r);break;case 4:au(e,r)}}function Vu(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function Bu(e){return e.tag===5||e.tag===3||e.tag===4}function kl(e){e:{for(var r=e.return;r!==null;){if(Bu(r))break e;r=r.return}throw Error(u(160))}var o=r;switch(r=o.stateNode,o.tag){case 5:var G=!1;break;case 3:r=r.containerInfo,G=!0;break;case 4:r=r.containerInfo,G=!0;break;default:throw Error(u(161))}o.flags&16&&(Gr(r,""),o.flags&=-17);e:t:for(o=e;;){for(;o.sibling===null;){if(o.return===null||Bu(o.return)){o=null;break e}o=o.return}for(o.sibling.return=o.return,o=o.sibling;o.tag!==5&&o.tag!==6&&o.tag!==18;){if(o.flags&2||o.child===null||o.tag===4)continue t;o.child.return=o,o=o.child}if(!(o.flags&2)){o=o.stateNode;break e}}G?vl(e,o,r):bl(e,o,r)}function vl(e,r,o){var G=e.tag,fe=G===5||G===6;if(fe)e=fe?e.stateNode:e.stateNode.instance,r?o.nodeType===8?o.parentNode.insertBefore(e,r):o.insertBefore(e,r):(o.nodeType===8?(r=o.parentNode,r.insertBefore(e,o)):(r=o,r.appendChild(e)),o=o._reactRootContainer,o!=null||r.onclick!==null||(r.onclick=En));else if(G!==4&&(e=e.child,e!==null))for(vl(e,r,o),e=e.sibling;e!==null;)vl(e,r,o),e=e.sibling}function bl(e,r,o){var G=e.tag,fe=G===5||G===6;if(fe)e=fe?e.stateNode:e.stateNode.instance,r?o.insertBefore(e,r):o.appendChild(e);else if(G!==4&&(e=e.child,e!==null))for(bl(e,r,o),e=e.sibling;e!==null;)bl(e,r,o),e=e.sibling}function au(e,r){for(var o=r,G=!1,fe,Pe;;){if(!G){G=o.return;e:for(;;){if(G===null)throw Error(u(160));switch(fe=G.stateNode,G.tag){case 5:Pe=!1;break e;case 3:fe=fe.containerInfo,Pe=!0;break e;case 4:fe=fe.containerInfo,Pe=!0;break e}G=G.return}G=!0}if(o.tag===5||o.tag===6){e:for(var a=e,s=o,b=s;;)if(bu(a,b),b.child!==null&&b.tag!==4)b.child.return=b,b=b.child;else{if(b===s)break e;for(;b.sibling===null;){if(b.return===null||b.return===s)break e;b=b.return}b.sibling.return=b.return,b=b.sibling}Pe?(a=fe,s=o.stateNode,a.nodeType===8?a.parentNode.removeChild(s):a.removeChild(s)):fe.removeChild(o.stateNode)}else if(o.tag===4){if(o.child!==null){fe=o.stateNode.containerInfo,Pe=!0,o.child.return=o,o=o.child;continue}}else if(bu(e,o),o.child!==null){o.child.return=o,o=o.child;continue}if(o===r)break;for(;o.sibling===null;){if(o.return===null||o.return===r)return;o=o.return,o.tag===4&&(G=!1)}o.sibling.return=o.return,o=o.sibling}}function Ol(e,r){switch(r.tag){case 0:case 11:case 14:case 15:case 22:var o=r.updateQueue;if(o=o!==null?o.lastEffect:null,o!==null){var G=o=o.next;do(G.tag&3)===3&&(e=G.destroy,G.destroy=void 0,e!==void 0&&e()),G=G.next;while(G!==o)}return;case 1:return;case 5:if(o=r.stateNode,o!=null){G=r.memoizedProps;var fe=e!==null?e.memoizedProps:G;e=r.type;var Pe=r.updateQueue;if(r.updateQueue=null,Pe!==null){for(o[wn]=G,e==="input"&&G.type==="radio"&&G.name!=null&&Ue(o,G),Wt(e,fe),r=Wt(e,G),fe=0;fe<Pe.length;fe+=2){var a=Pe[fe],s=Pe[fe+1];a==="style"?fn(o,s):a==="dangerouslySetInnerHTML"?Rr(o,s):a==="children"?Gr(o,s):g(o,a,s,r)}switch(e){case"input":he(o,G);break;case"textarea":Ft(o,G);break;case"select":e=o._wrapperState.wasMultiple,o._wrapperState.wasMultiple=!!G.multiple,Pe=G.value,Pe!=null?Te(o,!!G.multiple,Pe,!1):e!==!!G.multiple&&(G.defaultValue!=null?Te(o,!!G.multiple,G.defaultValue,!0):Te(o,!!G.multiple,G.multiple?[]:"",!1))}}}return;case 6:if(r.stateNode===null)throw Error(u(162));r.stateNode.nodeValue=r.memoizedProps;return;case 3:o=r.stateNode,o.hydrate&&(o.hydrate=!1,_o(o.containerInfo));return;case 12:return;case 13:r.memoizedState!==null&&(Ps=ka(),Pl(r.child,!0)),Wl(r);return;case 19:Wl(r);return;case 17:return;case 23:case 24:Pl(r,r.memoizedState!==null);return}throw Error(u(163))}function Wl(e){var r=e.updateQueue;if(r!==null){e.updateQueue=null;var o=e.stateNode;o===null&&(o=e.stateNode=new dl),r.forEach(function(G){var fe=Ic.bind(null,e,G);o.has(G)||(o.add(G),G.then(fe,fe))})}}function Iu(e,r){return e!==null&&(e=e.memoizedState,e===null||e.dehydrated!==null)?(r=r.memoizedState,r!==null&&r.dehydrated===null):!1}var zl=Math.ceil,Bl=p.ReactCurrentDispatcher,gu=p.ReactCurrentOwner,oo=0,za=null,Qa=null,$a=0,Xs=0,Dl=di(0),ja=0,su=null,tl=0,Sl=0,Ua=0,Ha=0,ps=null,Ps=0,yl=1/0;function Ml(){yl=ka()+500}var fo=null,Su=!1,Gu=null,Kl=null,Vl=!1,nc=null,ic=90,pc=[],lc=[],lu=null,fl=0,Tl=null,zu=-1,uu=0,uc=0,Fu=null,Yu=!1;function Ul(){return oo&48?ka():zu!==-1?zu:zu=ka()}function Ru(e){if(e=e.mode,!(e&2))return 1;if(!(e&4))return ga()===99?1:2;if(uu===0&&(uu=tl),Na.transition!==0){uc!==0&&(uc=ps!==null?ps.pendingLanes:0),e=uu;var r=4186112&~uc;return r&=-r,r===0&&(e=4186112&~e,r=e&-e,r===0&&(r=8192)),r}return e=ga(),oo&4&&e===98?e=Ko(12,uu):(e=jn(e),e=Ko(e,uu)),e}function _u(e,r,o){if(50<fl)throw fl=0,Tl=null,Error(u(185));if(e=oc(e,r),e===null)return null;la(e,r,o),e===za&&(Ua|=r,ja===4&&Ku(e,$a));var G=ga();r===1?oo&8&&!(oo&48)?Pc(e):(_l(e,o),oo===0&&(Ml(),Es())):(!(oo&4)||G!==98&&G!==99||(lu===null?lu=new Set([e]):lu.add(e)),_l(e,o)),ps=e}function oc(e,r){e.lanes|=r;var o=e.alternate;for(o!==null&&(o.lanes|=r),o=e,e=e.return;e!==null;)e.childLanes|=r,o=e.alternate,o!==null&&(o.childLanes|=r),o=e,e=e.return;return o.tag===3?o.stateNode:null}function _l(e,r){for(var o=e.callbackNode,G=e.suspendedLanes,fe=e.pingedLanes,Pe=e.expirationTimes,a=e.pendingLanes;0<a;){var s=31-so(a),b=1<<s,D=Pe[s];if(D===-1){if(!(b&G)||b&fe){D=r,Kn(b);var Ce=xn;Pe[s]=10<=Ce?D+250:6<=Ce?D+5e3:-1}}else D<=r&&(e.expiredLanes|=b);a&=~b}if(G=ki(e,e===za?$a:0),r=xn,G===0)o!==null&&(o!==Ya&&gl(o),e.callbackNode=null,e.callbackPriority=0);else{if(o!==null){if(e.callbackPriority===r)return;o!==Ya&&gl(o)}r===15?(o=Pc.bind(null,e),Ms===null?(Ms=[o],To=Ga(ml,ol)):Ms.push(o),o=Ya):r===14?o=_s(99,Pc.bind(null,e)):(o=to(r),o=_s(o,gc.bind(null,e))),e.callbackPriority=r,e.callbackNode=o}}function gc(e){if(zu=-1,uc=uu=0,oo&48)throw Error(u(327));var r=e.callbackNode;if(Ll()&&e.callbackNode!==r)return null;var o=ki(e,e===za?$a:0);if(o===0)return null;var G=o,fe=oo;oo|=16;var Pe=Xu();(za!==e||$a!==G)&&(Ml(),Za(e,G));do try{Wc();break}catch(s){gs(e,s)}while(1);if(Rl(),Bl.current=Pe,oo=fe,Qa!==null?G=0:(za=null,$a=0,G=ja),tl&Ua)Za(e,0);else if(G!==0){if(G===2&&(oo|=64,e.hydrate&&(e.hydrate=!1,Ot(e.containerInfo)),o=zo(e),o!==0&&(G=ku(e,o))),G===1)throw r=su,Za(e,0),Ku(e,o),_l(e,ka()),r;switch(e.finishedWork=e.current.alternate,e.finishedLanes=o,G){case 0:case 1:throw Error(u(345));case 2:Ju(e);break;case 3:if(Ku(e,o),(o&62914560)===o&&(G=Ps+500-ka(),10<G)){if(ki(e,0)!==0)break;if(fe=e.suspendedLanes,(fe&o)!==o){Ul(),e.pingedLanes|=e.suspendedLanes&fe;break}e.timeoutHandle=kn(Ju.bind(null,e),G);break}Ju(e);break;case 4:if(Ku(e,o),(o&4186112)===o)break;for(G=e.eventTimes,fe=-1;0<o;){var a=31-so(o);Pe=1<<a,a=G[a],a>fe&&(fe=a),o&=~Pe}if(o=fe,o=ka()-o,o=(120>o?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*zl(o/1960))-o,10<o){e.timeoutHandle=kn(Ju.bind(null,e),o);break}Ju(e);break;case 5:Ju(e);break;default:throw Error(u(329))}}return _l(e,ka()),e.callbackNode===r?gc.bind(null,e):null}function Ku(e,r){for(r&=~Ha,r&=~Ua,e.suspendedLanes|=r,e.pingedLanes&=~r,e=e.expirationTimes;0<r;){var o=31-so(r),G=1<<o;e[o]=-1,r&=~G}}function Pc(e){if(oo&48)throw Error(u(327));if(Ll(),e===za&&e.expiredLanes&$a){var r=$a,o=ku(e,r);tl&Ua&&(r=ki(e,r),o=ku(e,r))}else r=ki(e,0),o=ku(e,r);if(e.tag!==0&&o===2&&(oo|=64,e.hydrate&&(e.hydrate=!1,Ot(e.containerInfo)),r=zo(e),r!==0&&(o=ku(e,r))),o===1)throw o=su,Za(e,0),Ku(e,r),_l(e,ka()),o;return e.finishedWork=e.current.alternate,e.finishedLanes=r,Ju(e),_l(e,ka()),null}function ho(){if(lu!==null){var e=lu;lu=null,e.forEach(function(r){r.expiredLanes|=24&r.pendingLanes,_l(r,ka())})}Es()}function $u(e,r){var o=oo;oo|=1;try{return e(r)}finally{oo=o,oo===0&&(Ml(),Es())}}function cc(e,r){var o=oo;oo&=-2,oo|=8;try{return e(r)}finally{oo=o,oo===0&&(Ml(),Es())}}function Nl(e,r){gi(Dl,Xs),Xs|=r,tl|=r}function Oc(){Xs=Dl.current,ri(Dl)}function Za(e,r){e.finishedWork=null,e.finishedLanes=0;var o=e.timeoutHandle;if(o!==-1&&(e.timeoutHandle=-1,Ui(o)),Qa!==null)for(o=Qa.return;o!==null;){var G=o;switch(G.tag){case 1:G=G.type.childContextTypes,G!=null&&Oa();break;case 3:yt(),ri(io),ri(eo),xr();break;case 5:Vi(G);break;case 4:yt();break;case 13:ri(Qi);break;case 19:ri(Qi);break;case 10:y(G);break;case 23:case 24:Oc()}o=o.return}za=e,Qa=Uu(e.current,null),$a=Xs=tl=r,ja=0,su=null,Ha=Ua=Sl=0}function gs(e,r){do{var o=Qa;try{if(Rl(),sn.current=hs,da){for(var G=$i.memoizedState;G!==null;){var fe=G.queue;fe!==null&&(fe.pending=null),G=G.next}da=!1}if(Zi=0,Zo=Lo=$i=null,Ia=!1,gu.current=null,o===null||o.return===null){ja=1,su=r,Qa=null;break}e:{var Pe=e,a=o.return,s=o,b=r;if(r=$a,s.flags|=2048,s.firstEffect=s.lastEffect=null,b!==null&&typeof b=="object"&&typeof b.then=="function"){var D=b;if(!(s.mode&2)){var Ce=s.alternate;Ce?(s.updateQueue=Ce.updateQueue,s.memoizedState=Ce.memoizedState,s.lanes=Ce.lanes):(s.updateQueue=null,s.memoizedState=null)}var Qe=(Qi.current&1)!==0,We=a;do{var Ve;if(Ve=We.tag===13){var $e=We.memoizedState;if($e!==null)Ve=$e.dehydrated!==null;else{var It=We.memoizedProps;Ve=It.fallback===void 0?!1:It.unstable_avoidThisFallback!==!0?!0:!Qe}}if(Ve){var ut=We.updateQueue;if(ut===null){var lt=new Set;lt.add(D),We.updateQueue=lt}else ut.add(D);if(!(We.mode&2)){if(We.flags|=64,s.flags|=16384,s.flags&=-2981,s.tag===1)if(s.alternate===null)s.tag=17;else{var Lt=vt(-1,1);Lt.tag=2,jr(s,Lt)}s.lanes|=1;break e}b=void 0,s=r;var wr=Pe.pingCache;if(wr===null?(wr=Pe.pingCache=new Mu,b=new Set,wr.set(D,b)):(b=wr.get(D),b===void 0&&(b=new Set,wr.set(D,b))),!b.has(s)){b.add(s);var Sr=cu.bind(null,Pe,D,s);D.then(Sr,Sr)}We.flags|=4096,We.lanes=r;break e}We=We.return}while(We!==null);b=Error((Q(s.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.

Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}ja!==5&&(ja=2),b=Al(b,s),We=a;do{switch(We.tag){case 3:Pe=b,We.flags|=4096,r&=-r,We.lanes|=r;var $r=Cu(We,Pe,r);Ht(We,$r);break e;case 1:Pe=b;var Nn=We.type,Hn=We.stateNode;if(!(We.flags&64)&&(typeof Nn.getDerivedStateFromError=="function"||Hn!==null&&typeof Hn.componentDidCatch=="function"&&(Kl===null||!Kl.has(Hn)))){We.flags|=4096,r&=-r,We.lanes|=r;var Qn=xu(We,Pe,r);Ht(We,Qn);break e}}We=We.return}while(We!==null)}Mc(o)}catch(ui){r=ui,Qa===o&&o!==null&&(Qa=o=o.return);continue}break}while(1)}function Xu(){var e=Bl.current;return Bl.current=hs,e===null?hs:e}function ku(e,r){var o=oo;oo|=16;var G=Xu();za===e&&$a===r||Za(e,r);do try{mc();break}catch(fe){gs(e,fe)}while(1);if(Rl(),oo=o,Bl.current=G,Qa!==null)throw Error(u(261));return za=null,$a=0,ja}function mc(){for(;Qa!==null;)ac(Qa)}function Wc(){for(;Qa!==null&&!Da();)ac(Qa)}function ac(e){var r=Fc(e.alternate,e,Xs);e.memoizedProps=e.pendingProps,r===null?Mc(e):Qa=r,gu.current=null}function Mc(e){var r=e;do{var o=r.alternate;if(e=r.return,r.flags&2048){if(o=ou(r),o!==null){o.flags&=2047,Qa=o;return}e!==null&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}else{if(o=wu(o,r,Xs),o!==null){Qa=o;return}if(o=r,o.tag!==24&&o.tag!==23||o.memoizedState===null||Xs&1073741824||!(o.mode&4)){for(var G=0,fe=o.child;fe!==null;)G|=fe.lanes|fe.childLanes,fe=fe.sibling;o.childLanes=G}e!==null&&!(e.flags&2048)&&(e.firstEffect===null&&(e.firstEffect=r.firstEffect),r.lastEffect!==null&&(e.lastEffect!==null&&(e.lastEffect.nextEffect=r.firstEffect),e.lastEffect=r.lastEffect),1<r.flags&&(e.lastEffect!==null?e.lastEffect.nextEffect=r:e.firstEffect=r,e.lastEffect=r))}if(r=r.sibling,r!==null){Qa=r;return}Qa=r=e}while(r!==null);ja===0&&(ja=5)}function Ju(e){var r=ga();return Yo(99,Tc.bind(null,e,r)),null}function Tc(e,r){do Ll();while(nc!==null);if(oo&48)throw Error(u(327));var o=e.finishedWork;if(o===null)return null;if(e.finishedWork=null,e.finishedLanes=0,o===e.current)throw Error(u(177));e.callbackNode=null;var G=o.lanes|o.childLanes,fe=G,Pe=e.pendingLanes&~fe;e.pendingLanes=fe,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=fe,e.mutableReadLanes&=fe,e.entangledLanes&=fe,fe=e.entanglements;for(var a=e.eventTimes,s=e.expirationTimes;0<Pe;){var b=31-so(Pe),D=1<<b;fe[b]=0,a[b]=-1,s[b]=-1,Pe&=~D}if(lu!==null&&!(G&24)&&lu.has(e)&&lu.delete(e),e===za&&(Qa=za=null,$a=0),1<o.flags?o.lastEffect!==null?(o.lastEffect.nextEffect=o,G=o.firstEffect):G=o:G=o.firstEffect,G!==null){if(fe=oo,oo|=32,gu.current=null,yn=Ji,a=Re(),ke(a)){if("selectionStart"in a)s={start:a.selectionStart,end:a.selectionEnd};else e:if(s=(s=a.ownerDocument)&&s.defaultView||window,(D=s.getSelection&&s.getSelection())&&D.rangeCount!==0){s=D.anchorNode,Pe=D.anchorOffset,b=D.focusNode,D=D.focusOffset;try{s.nodeType,b.nodeType}catch(ui){s=null;break e}var Ce=0,Qe=-1,We=-1,Ve=0,$e=0,It=a,ut=null;t:for(;;){for(var lt;It!==s||Pe!==0&&It.nodeType!==3||(Qe=Ce+Pe),It!==b||D!==0&&It.nodeType!==3||(We=Ce+D),It.nodeType===3&&(Ce+=It.nodeValue.length),(lt=It.firstChild)!==null;)ut=It,It=lt;for(;;){if(It===a)break t;if(ut===s&&++Ve===Pe&&(Qe=Ce),ut===b&&++$e===D&&(We=Ce),(lt=It.nextSibling)!==null)break;It=ut,ut=It.parentNode}It=lt}s=Qe===-1||We===-1?null:{start:Qe,end:We}}else s=null;s=s||{start:0,end:0}}else s=null;Rn={focusedElem:a,selectionRange:s},Ji=!1,Fu=null,Yu=!1,fo=G;do try{zc()}catch(ui){if(fo===null)throw Error(u(330));Il(fo,ui),fo=fo.nextEffect}while(fo!==null);Fu=null,fo=G;do try{for(a=e;fo!==null;){var Lt=fo.flags;if(Lt&16&&Gr(fo.stateNode,""),Lt&128){var wr=fo.alternate;if(wr!==null){var Sr=wr.ref;Sr!==null&&(typeof Sr=="function"?Sr(null):Sr.current=null)}}switch(Lt&1038){case 2:kl(fo),fo.flags&=-3;break;case 6:kl(fo),fo.flags&=-3,Ol(fo.alternate,fo);break;case 1024:fo.flags&=-1025;break;case 1028:fo.flags&=-1025,Ol(fo.alternate,fo);break;case 4:Ol(fo.alternate,fo);break;case 8:s=fo,au(a,s);var $r=s.alternate;Vu(s),$r!==null&&Vu($r)}fo=fo.nextEffect}}catch(ui){if(fo===null)throw Error(u(330));Il(fo,ui),fo=fo.nextEffect}while(fo!==null);if(Sr=Rn,wr=Re(),Lt=Sr.focusedElem,a=Sr.selectionRange,wr!==Lt&&Lt&&Lt.ownerDocument&&Le(Lt.ownerDocument.documentElement,Lt)){for(a!==null&&ke(Lt)&&(wr=a.start,Sr=a.end,Sr===void 0&&(Sr=wr),"selectionStart"in Lt?(Lt.selectionStart=wr,Lt.selectionEnd=Math.min(Sr,Lt.value.length)):(Sr=(wr=Lt.ownerDocument||document)&&wr.defaultView||window,Sr.getSelection&&(Sr=Sr.getSelection(),s=Lt.textContent.length,$r=Math.min(a.start,s),a=a.end===void 0?$r:Math.min(a.end,s),!Sr.extend&&$r>a&&(s=a,a=$r,$r=s),s=ve(Lt,$r),Pe=ve(Lt,a),s&&Pe&&(Sr.rangeCount!==1||Sr.anchorNode!==s.node||Sr.anchorOffset!==s.offset||Sr.focusNode!==Pe.node||Sr.focusOffset!==Pe.offset)&&(wr=wr.createRange(),wr.setStart(s.node,s.offset),Sr.removeAllRanges(),$r>a?(Sr.addRange(wr),Sr.extend(Pe.node,Pe.offset)):(wr.setEnd(Pe.node,Pe.offset),Sr.addRange(wr)))))),wr=[],Sr=Lt;Sr=Sr.parentNode;)Sr.nodeType===1&&wr.push({element:Sr,left:Sr.scrollLeft,top:Sr.scrollTop});for(typeof Lt.focus=="function"&&Lt.focus(),Lt=0;Lt<wr.length;Lt++)Sr=wr[Lt],Sr.element.scrollLeft=Sr.left,Sr.element.scrollTop=Sr.top}Ji=!!yn,Rn=yn=null,e.current=o,fo=G;do try{for(Lt=e;fo!==null;){var Nn=fo.flags;if(Nn&36&&Lu(Lt,fo.alternate,fo),Nn&128){wr=void 0;var Hn=fo.ref;if(Hn!==null){var Qn=fo.stateNode;switch(fo.tag){case 5:wr=Qn;break;default:wr=Qn}typeof Hn=="function"?Hn(wr):Hn.current=wr}}fo=fo.nextEffect}}catch(ui){if(fo===null)throw Error(u(330));Il(fo,ui),fo=fo.nextEffect}while(fo!==null);fo=null,Qs(),oo=fe}else e.current=o;if(Vl)Vl=!1,nc=e,ic=r;else for(fo=G;fo!==null;)r=fo.nextEffect,fo.nextEffect=null,fo.flags&8&&(Nn=fo,Nn.sibling=null,Nn.stateNode=null),fo=r;if(G=e.pendingLanes,G===0&&(Kl=null),G===1?e===Tl?fl++:(fl=0,Tl=e):fl=0,o=o.stateNode,os&&typeof os.onCommitFiberRoot=="function")try{os.onCommitFiberRoot(Jo,o,void 0,(o.current.flags&64)===64)}catch(ui){}if(_l(e,ka()),Su)throw Su=!1,e=Gu,Gu=null,e;return oo&8||Es(),null}function zc(){for(;fo!==null;){var e=fo.alternate;Yu||Fu===null||(fo.flags&8?qn(fo,Fu)&&(Yu=!0):fo.tag===13&&Iu(e,fo)&&qn(fo,Fu)&&(Yu=!0));var r=fo.flags;r&256&&Tu(e,fo),!(r&512)||Vl||(Vl=!0,_s(97,function(){return Ll(),null})),fo=fo.nextEffect}}function Ll(){if(ic!==90){var e=97<ic?97:ic;return ic=90,Yo(e,Lc)}return!1}function mu(e,r){pc.push(r,e),Vl||(Vl=!0,_s(97,function(){return Ll(),null}))}function vu(e,r){lc.push(r,e),Vl||(Vl=!0,_s(97,function(){return Ll(),null}))}function Lc(){if(nc===null)return!1;var e=nc;if(nc=null,oo&48)throw Error(u(331));var r=oo;oo|=32;var o=lc;lc=[];for(var G=0;G<o.length;G+=2){var fe=o[G],Pe=o[G+1],a=fe.destroy;if(fe.destroy=void 0,typeof a=="function")try{a()}catch(b){if(Pe===null)throw Error(u(330));Il(Pe,b)}}for(o=pc,pc=[],G=0;G<o.length;G+=2){fe=o[G],Pe=o[G+1];try{var s=fe.create;fe.destroy=s()}catch(b){if(Pe===null)throw Error(u(330));Il(Pe,b)}}for(s=e.current.firstEffect;s!==null;)e=s.nextEffect,s.nextEffect=null,s.flags&8&&(s.sibling=null,s.stateNode=null),s=e;return oo=r,Es(),!0}function Ac(e,r,o){r=Al(o,r),r=Cu(e,r,1),jr(e,r),r=Ul(),e=oc(e,1),e!==null&&(la(e,1,r),_l(e,r))}function Il(e,r){if(e.tag===3)Ac(e,e,r);else for(var o=e.return;o!==null;){if(o.tag===3){Ac(o,e,r);break}else if(o.tag===1){var G=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof G.componentDidCatch=="function"&&(Kl===null||!Kl.has(G))){e=Al(r,e);var fe=xu(o,e,1);if(jr(o,fe),fe=Ul(),o=oc(o,1),o!==null)la(o,1,fe),_l(o,fe);else if(typeof G.componentDidCatch=="function"&&(Kl===null||!Kl.has(G)))try{G.componentDidCatch(r,e)}catch(Pe){}break}}o=o.return}}function cu(e,r,o){var G=e.pingCache;G!==null&&G.delete(r),r=Ul(),e.pingedLanes|=e.suspendedLanes&o,za===e&&($a&o)===o&&(ja===4||ja===3&&($a&62914560)===$a&&500>ka()-Ps?Za(e,0):Ha|=o),_l(e,r)}function Ic(e,r){var o=e.stateNode;o!==null&&o.delete(r),r=0,r===0&&(r=e.mode,r&2?r&4?(uu===0&&(uu=tl),r=uo(62914560&~uu),r===0&&(r=4194304)):r=ga()===99?1:2:r=1),o=Ul(),e=oc(e,r),e!==null&&(la(e,r,o),_l(e,o))}var Fc;Fc=function(e,r,o){var G=r.lanes;if(e!==null)if(e.memoizedProps!==r.pendingProps||io.current)Ee=!0;else if(o&G)Ee=!!(e.flags&16384);else{switch(Ee=!1,r.tag){case 3:Ho(r),Xe();break;case 5:Xn(r);break;case 1:No(r.type)&&Hi(r);break;case 4:Qo(r,r.stateNode.containerInfo);break;case 10:G=r.memoizedProps.value;var fe=r.type._context;gi(fs,fe._currentValue),fe._currentValue=G;break;case 13:if(r.memoizedState!==null)return o&r.child.childLanes?es(e,r,o):(gi(Qi,Qi.current&1),r=Fs(e,r,o),r!==null?r.sibling:null);gi(Qi,Qi.current&1);break;case 19:if(G=(o&r.childLanes)!==0,e.flags&64){if(G)return Zs(e,r,o);r.flags|=64}if(fe=r.memoizedState,fe!==null&&(fe.rendering=null,fe.tail=null,fe.lastEffect=null),gi(Qi,Qi.current),G)break;return null;case 23:case 24:return r.lanes=0,bn(e,r,o)}return Fs(e,r,o)}else Ee=!1;switch(r.lanes=0,r.tag){case 2:if(G=r.type,e!==null&&(e.alternate=null,r.alternate=null,r.flags|=2),e=r.pendingProps,fe=Co(r,eo.current),oe(r,o),fe=Va(null,r,G,e,fe,o),r.flags|=1,typeof fe=="object"&&fe!==null&&typeof fe.render=="function"&&fe.$$typeof===void 0){if(r.tag=1,r.memoizedState=null,r.updateQueue=null,No(G)){var Pe=!0;Hi(r)}else Pe=!1;r.memoizedState=fe.state!==null&&fe.state!==void 0?fe.state:null,nt(r);var a=G.getDerivedStateFromProps;typeof a=="function"&&an(r,G,a,e),fe.updater=ni,r.stateNode=fe,fe._reactInternals=r,$t(r,G,e,o),r=Io(null,r,G,!0,Pe,o)}else r.tag=0,ct(null,r,fe,o),r=r.child;return r;case 16:fe=r.elementType;e:{switch(e!==null&&(e.alternate=null,r.alternate=null,r.flags|=2),e=r.pendingProps,Pe=fe._init,fe=Pe(fe._payload),r.type=fe,Pe=r.tag=eu(fe),e=aa(fe,e),Pe){case 0:r=Ii(null,r,fe,e,o);break e;case 1:r=yo(null,r,fe,e,o);break e;case 11:r=ur(null,r,fe,e,o);break e;case 14:r=Mr(null,r,fe,aa(fe.type,e),G,o);break e}throw Error(u(306,fe,""))}return r;case 0:return G=r.type,fe=r.pendingProps,fe=r.elementType===G?fe:aa(G,fe),Ii(e,r,G,fe,o);case 1:return G=r.type,fe=r.pendingProps,fe=r.elementType===G?fe:aa(G,fe),yo(e,r,G,fe,o);case 3:if(Ho(r),G=r.updateQueue,e===null||G===null)throw Error(u(282));if(G=r.pendingProps,fe=r.memoizedState,fe=fe!==null?fe.element:null,bt(e,r),hr(r,G,null,o),G=r.memoizedState.element,G===fe)Xe(),r=Fs(e,r,o);else{if(fe=r.stateNode,(Pe=fe.hydrate)&&(Ro=Ar(r.stateNode.containerInfo.firstChild),Oo=r,Pe=So=!0),Pe){if(e=fe.mutableSourceEagerHydrationData,e!=null)for(fe=0;fe<e.length;fe+=2)Pe=e[fe],Pe._workInProgressVersionPrimary=e[fe+1],xt.push(Pe);for(o=Wn(r,null,G,o),r.child=o;o;)o.flags=o.flags&-3|1024,o=o.sibling}else ct(e,r,G,o),Xe();r=r.child}return r;case 5:return Xn(r),e===null&&k(r),G=r.type,fe=r.pendingProps,Pe=e!==null?e.memoizedProps:null,a=fe.children,Un(G,fe)?a=null:Pe!==null&&Un(G,Pe)&&(r.flags|=16),ei(e,r),ct(e,r,a,o),r.child;case 6:return e===null&&k(r),null;case 13:return es(e,r,o);case 4:return Qo(r,r.stateNode.containerInfo),G=r.pendingProps,e===null?r.child=Cn(r,null,G,o):ct(e,r,G,o),r.child;case 11:return G=r.type,fe=r.pendingProps,fe=r.elementType===G?fe:aa(G,fe),ur(e,r,G,fe,o);case 7:return ct(e,r,r.pendingProps,o),r.child;case 8:return ct(e,r,r.pendingProps.children,o),r.child;case 12:return ct(e,r,r.pendingProps.children,o),r.child;case 10:e:{G=r.type._context,fe=r.pendingProps,a=r.memoizedProps,Pe=fe.value;var s=r.type._context;if(gi(fs,s._currentValue),s._currentValue=Pe,a!==null)if(s=a.value,Pe=_(s,Pe)?0:(typeof G._calculateChangedBits=="function"?G._calculateChangedBits(s,Pe):1073741823)|0,Pe===0){if(a.children===fe.children&&!io.current){r=Fs(e,r,o);break e}}else for(s=r.child,s!==null&&(s.return=r);s!==null;){var b=s.dependencies;if(b!==null){a=s.child;for(var D=b.firstContext;D!==null;){if(D.context===G&&D.observedBits&Pe){s.tag===1&&(D=vt(-1,o&-o),D.tag=2,jr(s,D)),s.lanes|=o,D=s.alternate,D!==null&&(D.lanes|=o),ye(s.return,o),b.lanes|=o;break}D=D.next}}else a=s.tag===10&&s.type===r.type?null:s.child;if(a!==null)a.return=s;else for(a=s;a!==null;){if(a===r){a=null;break}if(s=a.sibling,s!==null){s.return=a.return,a=s;break}a=a.return}s=a}ct(e,r,fe.children,o),r=r.child}return r;case 9:return fe=r.type,Pe=r.pendingProps,G=Pe.children,oe(r,o),fe=ne(fe,Pe.unstable_observedBits),G=G(fe),r.flags|=1,ct(e,r,G,o),r.child;case 14:return fe=r.type,Pe=aa(fe,r.pendingProps),Pe=aa(fe.type,Pe),Mr(e,r,fe,Pe,G,o);case 15:return en(e,r,r.type,r.pendingProps,G,o);case 17:return G=r.type,fe=r.pendingProps,fe=r.elementType===G?fe:aa(G,fe),e!==null&&(e.alternate=null,r.alternate=null,r.flags|=2),r.tag=1,No(G)?(e=!0,Hi(r)):e=!1,oe(r,o),tt(r,G,fe),$t(r,G,fe,o),Io(null,r,G,!0,e,o);case 19:return Zs(e,r,o);case 23:return bn(e,r,o);case 24:return bn(e,r,o)}throw Error(u(156,r.tag))};function Rc(e,r,o,G){this.tag=e,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=G,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function ql(e,r,o,G){return new Rc(e,r,o,G)}function qu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function eu(e){if(typeof e=="function")return qu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===A)return 11;if(e===U)return 14}return 2}function Uu(e,r){var o=e.alternate;return o===null?(o=ql(e.tag,r,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=r,o.type=e.type,o.flags=0,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null),o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,r=e.dependencies,o.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o}function Eu(e,r,o,G,fe,Pe){var a=2;if(G=e,typeof e=="function")qu(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case E:return Nu(o.children,fe,Pe,r);case ie:a=8,fe|=16;break;case K:a=8,fe|=1;break;case d:return e=ql(12,o,r,fe|8),e.elementType=d,e.type=d,e.lanes=Pe,e;case w:return e=ql(13,o,r,fe),e.type=w,e.elementType=w,e.lanes=Pe,e;case C:return e=ql(19,o,r,fe),e.elementType=C,e.lanes=Pe,e;case j:return ec(o,fe,Pe,r);case ue:return e=ql(24,o,r,fe),e.elementType=ue,e.lanes=Pe,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case i:a=10;break e;case x:a=9;break e;case A:a=11;break e;case U:a=14;break e;case F:a=16,G=null;break e;case Y:a=22;break e}throw Error(u(130,e==null?e:typeof e,""))}return r=ql(a,o,r,fe),r.elementType=e,r.type=G,r.lanes=Pe,r}function Nu(e,r,o,G){return e=ql(7,e,G,r),e.lanes=o,e}function ec(e,r,o,G){return e=ql(23,e,G,r),e.elementType=j,e.lanes=o,e}function tc(e,r,o){return e=ql(6,e,null,r),e.lanes=o,e}function Qu(e,r,o){return r=ql(4,e.children!==null?e.children:[],e.key,r),r.lanes=o,r.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},r}function vc(e,r,o){this.tag=r,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=o,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=ia(0),this.expirationTimes=ia(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ia(0),this.mutableSourceEagerHydrationData=null}function kc(e,r,o){var G=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:I,key:G==null?null:""+G,children:e,containerInfo:r,implementation:o}}function ju(e,r,o,G){var fe=r.current,Pe=Ul(),a=Ru(fe);e:if(o){o=o._reactInternals;t:{if(Pr(o)!==o||o.tag!==1)throw Error(u(170));var s=o;do{switch(s.tag){case 3:s=s.stateNode.context;break t;case 1:if(No(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break t}}s=s.return}while(s!==null);throw Error(u(171))}if(o.tag===1){var b=o.type;if(No(b)){o=ya(o,b,s);break e}}o=s}else o=Bi;return r.context===null?r.context=o:r.pendingContext=o,r=vt(Pe,a),r.payload={element:e},G=G===void 0?null:G,G!==null&&(r.callback=G),jr(fe,r),_u(fe,a,Pe),a}function Dc(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Uc(e,r){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<r?o:r}}function yc(e,r){Uc(e,r),(e=e.alternate)&&Uc(e,r)}function Kc(){return null}function wc(e,r,o){var G=o!=null&&o.hydrationOptions!=null&&o.hydrationOptions.mutableSources||null;if(o=new vc(e,r,o!=null&&o.hydrate===!0),r=ql(3,null,null,r===2?7:r===1?3:0),o.current=r,r.stateNode=o,nt(r),e[mi]=o.current,cn(e.nodeType===8?e.parentNode:e),G)for(e=0;e<G.length;e++){r=G[e];var fe=r._getVersion;fe=fe(r._source),o.mutableSourceEagerHydrationData==null?o.mutableSourceEagerHydrationData=[r,fe]:o.mutableSourceEagerHydrationData.push(r,fe)}this._internalRoot=o}wc.prototype.render=function(e){ju(e,this._internalRoot,null,null)},wc.prototype.unmount=function(){var e=this._internalRoot,r=e.containerInfo;ju(null,e,null,function(){r[mi]=null})};function sc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Cc(e,r){if(r||(r=e?e.nodeType===9?e.documentElement:e.firstChild:null,r=!(!r||r.nodeType!==1||!r.hasAttribute("data-reactroot"))),!r)for(var o;o=e.lastChild;)e.removeChild(o);return new wc(e,0,r?{hydrate:!0}:void 0)}function xc(e,r,o,G,fe){var Pe=o._reactRootContainer;if(Pe){var a=Pe._internalRoot;if(typeof fe=="function"){var s=fe;fe=function(){var D=Dc(a);s.call(D)}}ju(r,a,e,fe)}else{if(Pe=o._reactRootContainer=Cc(o,G),a=Pe._internalRoot,typeof fe=="function"){var b=fe;fe=function(){var D=Dc(a);b.call(D)}}cc(function(){ju(r,a,e,fe)})}return Dc(a)}lr=function(e){if(e.tag===13){var r=Ul();_u(e,4,r),yc(e,4)}},Yr=function(e){if(e.tag===13){var r=Ul();_u(e,67108864,r),yc(e,67108864)}},Yn=function(e){if(e.tag===13){var r=Ul(),o=Ru(e);_u(e,o,r),yc(e,o)}},ti=function(e,r){return r()},dt=function(e,r,o){switch(r){case"input":if(he(e,o),r=o.name,o.type==="radio"&&r!=null){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),r=0;r<o.length;r++){var G=o[r];if(G!==e&&G.form===e.form){var fe=_n(G);if(!fe)throw Error(u(90));Je(G),he(G,fe)}}}break;case"textarea":Ft(e,o);break;case"select":r=o.value,r!=null&&Te(e,!!o.multiple,r,!1)}},ir=$u,Qr=function(e,r,o,G,fe){var Pe=oo;oo|=4;try{return Yo(98,e.bind(null,r,o,G,fe))}finally{oo=Pe,oo===0&&(Ml(),Es())}},ft=function(){!(oo&49)&&(ho(),Ll())},tr=function(e,r){var o=oo;oo|=2;try{return e(r)}finally{oo=o,oo===0&&(Ml(),Es())}};function Nc(e,r){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!sc(r))throw Error(u(200));return kc(e,r,null,o)}var Qc={Events:[Gi,lo,_n,Rt,or,Ll,{current:!1}]},N={findFiberByHostInstance:Ni,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},de={bundleType:N.bundleType,version:N.version,rendererPackageName:N.rendererPackageName,rendererConfig:N.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:p.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Dn(e),e===null?null:e.stateNode},findFiberByHostInstance:N.findFiberByHostInstance||Kc,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var Ie=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ie.isDisabled&&Ie.supportsFiber)try{Jo=Ie.inject(de),os=Ie}catch(e){}}$.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Qc,$.createPortal=Nc,$.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var r=e._reactInternals;if(r===void 0)throw typeof e.render=="function"?Error(u(188)):Error(u(268,Object.keys(e)));return e=Dn(r),e=e===null?null:e.stateNode,e},$.flushSync=function(e,r){var o=oo;if(o&48)return e(r);oo|=1;try{if(e)return Yo(99,e.bind(null,r))}finally{oo=o,Es()}},$.hydrate=function(e,r,o){if(!sc(r))throw Error(u(200));return xc(null,e,r,!0,o)},$.render=function(e,r,o){if(!sc(r))throw Error(u(200));return xc(null,e,r,!1,o)},$.unmountComponentAtNode=function(e){if(!sc(e))throw Error(u(40));return e._reactRootContainer?(cc(function(){xc(null,null,e,!1,function(){e._reactRootContainer=null,e[mi]=null})}),!0):!1},$.unstable_batchedUpdates=$u,$.unstable_createPortal=function(e,r){return Nc(e,r,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)},$.unstable_renderSubtreeIntoContainer=function(e,r,o,G){if(!sc(o))throw Error(u(200));if(e==null||e._reactInternals===void 0)throw Error(u(38));return xc(e,r,o,!1,G)},$.version="17.0.2"},73961:function(_e,$,t){"use strict";function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(f){console.error(f)}}n(),_e.exports=t(57799)},82279:function(_e,$,t){"use strict";_e.exports=t(8114)},93028:function(_e,$,t){"use strict";function n(j){return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ue){return typeof ue}:function(ue){return ue&&typeof Symbol=="function"&&ue.constructor===Symbol&&ue!==Symbol.prototype?"symbol":typeof ue},n(j)}Object.defineProperty($,"__esModule",{value:!0}),Object.defineProperty($,"DraggableCore",{enumerable:!0,get:function(){return W.default}}),$.default=void 0;var f=T(t(89526)),l=S(t(2652)),u=S(t(73961)),m=S(t(23060)),v=t(25342),M=t(44768),ee=t(57569),W=S(t(98406)),re=S(t(50946)),se=["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"];function S(j){return j&&j.__esModule?j:{default:j}}function J(j){if(typeof WeakMap!="function")return null;var ue=new WeakMap,P=new WeakMap;return(J=function(ae){return ae?P:ue})(j)}function T(j,ue){if(!ue&&j&&j.__esModule)return j;if(j===null||n(j)!=="object"&&typeof j!="function")return{default:j};var P=J(ue);if(P&&P.has(j))return P.get(j);var Z={},ae=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ce in j)if(ce!=="default"&&Object.prototype.hasOwnProperty.call(j,ce)){var be=ae?Object.getOwnPropertyDescriptor(j,ce):null;be&&(be.get||be.set)?Object.defineProperty(Z,ce,be):Z[ce]=j[ce]}return Z.default=j,P&&P.set(j,Z),Z}function V(){return V=Object.assign||function(j){for(var ue=1;ue<arguments.length;ue++){var P=arguments[ue];for(var Z in P)Object.prototype.hasOwnProperty.call(P,Z)&&(j[Z]=P[Z])}return j},V.apply(this,arguments)}function L(j,ue){if(j==null)return{};var P=c(j,ue),Z,ae;if(Object.getOwnPropertySymbols){var ce=Object.getOwnPropertySymbols(j);for(ae=0;ae<ce.length;ae++)Z=ce[ae],!(ue.indexOf(Z)>=0)&&Object.prototype.propertyIsEnumerable.call(j,Z)&&(P[Z]=j[Z])}return P}function c(j,ue){if(j==null)return{};var P={},Z=Object.keys(j),ae,ce;for(ce=0;ce<Z.length;ce++)ae=Z[ce],!(ue.indexOf(ae)>=0)&&(P[ae]=j[ae]);return P}function R(j,ue){var P=Object.keys(j);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(j);ue&&(Z=Z.filter(function(ae){return Object.getOwnPropertyDescriptor(j,ae).enumerable})),P.push.apply(P,Z)}return P}function B(j){for(var ue=1;ue<arguments.length;ue++){var P=arguments[ue]!=null?arguments[ue]:{};ue%2?R(Object(P),!0).forEach(function(Z){le(j,Z,P[Z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(j,Object.getOwnPropertyDescriptors(P)):R(Object(P)).forEach(function(Z){Object.defineProperty(j,Z,Object.getOwnPropertyDescriptor(P,Z))})}return j}function X(j,ue){return E(j)||I(j,ue)||p(j,ue)||g()}function g(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function p(j,ue){if(j){if(typeof j=="string")return O(j,ue);var P=Object.prototype.toString.call(j).slice(8,-1);if(P==="Object"&&j.constructor&&(P=j.constructor.name),P==="Map"||P==="Set")return Array.from(j);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return O(j,ue)}}function O(j,ue){(ue==null||ue>j.length)&&(ue=j.length);for(var P=0,Z=new Array(ue);P<ue;P++)Z[P]=j[P];return Z}function I(j,ue){var P=j==null?null:typeof Symbol!="undefined"&&j[Symbol.iterator]||j["@@iterator"];if(P!=null){var Z=[],ae=!0,ce=!1,be,pe;try{for(P=P.call(j);!(ae=(be=P.next()).done)&&(Z.push(be.value),!(ue&&Z.length===ue));ae=!0);}catch(h){ce=!0,pe=h}finally{try{!ae&&P.return!=null&&P.return()}finally{if(ce)throw pe}}return Z}}function E(j){if(Array.isArray(j))return j}function K(j,ue){if(!(j instanceof ue))throw new TypeError("Cannot call a class as a function")}function d(j,ue){for(var P=0;P<ue.length;P++){var Z=ue[P];Z.enumerable=Z.enumerable||!1,Z.configurable=!0,"value"in Z&&(Z.writable=!0),Object.defineProperty(j,Z.key,Z)}}function i(j,ue,P){return ue&&d(j.prototype,ue),P&&d(j,P),Object.defineProperty(j,"prototype",{writable:!1}),j}function x(j,ue){if(typeof ue!="function"&&ue!==null)throw new TypeError("Super expression must either be null or a function");j.prototype=Object.create(ue&&ue.prototype,{constructor:{value:j,writable:!0,configurable:!0}}),Object.defineProperty(j,"prototype",{writable:!1}),ue&&A(j,ue)}function A(j,ue){return A=Object.setPrototypeOf||function(Z,ae){return Z.__proto__=ae,Z},A(j,ue)}function w(j){var ue=F();return function(){var Z=Y(j),ae;if(ue){var ce=Y(this).constructor;ae=Reflect.construct(Z,arguments,ce)}else ae=Z.apply(this,arguments);return C(this,ae)}}function C(j,ue){if(ue&&(n(ue)==="object"||typeof ue=="function"))return ue;if(ue!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return U(j)}function U(j){if(j===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return j}function F(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(j){return!1}}function Y(j){return Y=Object.setPrototypeOf?Object.getPrototypeOf:function(P){return P.__proto__||Object.getPrototypeOf(P)},Y(j)}function le(j,ue,P){return ue in j?Object.defineProperty(j,ue,{value:P,enumerable:!0,configurable:!0,writable:!0}):j[ue]=P,j}var ie=function(j){x(P,j);var ue=w(P);function P(Z){var ae;return K(this,P),ae=ue.call(this,Z),le(U(ae),"onDragStart",function(ce,be){(0,re.default)("Draggable: onDragStart: %j",be);var pe=ae.props.onStart(ce,(0,M.createDraggableData)(U(ae),be));if(pe===!1)return!1;ae.setState({dragging:!0,dragged:!0})}),le(U(ae),"onDrag",function(ce,be){if(!ae.state.dragging)return!1;(0,re.default)("Draggable: onDrag: %j",be);var pe=(0,M.createDraggableData)(U(ae),be),h={x:pe.x,y:pe.y};if(ae.props.bounds){var te=h.x,Q=h.y;h.x+=ae.state.slackX,h.y+=ae.state.slackY;var we=(0,M.getBoundPosition)(U(ae),h.x,h.y),Se=X(we,2),Ne=Se[0],ze=Se[1];h.x=Ne,h.y=ze,h.slackX=ae.state.slackX+(te-h.x),h.slackY=ae.state.slackY+(Q-h.y),pe.x=h.x,pe.y=h.y,pe.deltaX=h.x-ae.state.x,pe.deltaY=h.y-ae.state.y}var Je=ae.props.onDrag(ce,pe);if(Je===!1)return!1;ae.setState(h)}),le(U(ae),"onDragStop",function(ce,be){if(!ae.state.dragging)return!1;var pe=ae.props.onStop(ce,(0,M.createDraggableData)(U(ae),be));if(pe===!1)return!1;(0,re.default)("Draggable: onDragStop: %j",be);var h={dragging:!1,slackX:0,slackY:0},te=Boolean(ae.props.position);if(te){var Q=ae.props.position,we=Q.x,Se=Q.y;h.x=we,h.y=Se}ae.setState(h)}),ae.state={dragging:!1,dragged:!1,x:Z.position?Z.position.x:Z.defaultPosition.x,y:Z.position?Z.position.y:Z.defaultPosition.y,prevPropsPosition:B({},Z.position),slackX:0,slackY:0,isElementSVG:!1},Z.position&&!(Z.onDrag||Z.onStop)&&console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element."),ae}return i(P,[{key:"componentDidMount",value:function(){typeof window.SVGElement!="undefined"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}},{key:"componentWillUnmount",value:function(){this.setState({dragging:!1})}},{key:"findDOMNode",value:function(){var ae,ce,be;return(ae=(ce=this.props)===null||ce===void 0||(be=ce.nodeRef)===null||be===void 0?void 0:be.current)!==null&&ae!==void 0?ae:u.default.findDOMNode(this)}},{key:"render",value:function(){var ae,ce=this.props,be=ce.axis,pe=ce.bounds,h=ce.children,te=ce.defaultPosition,Q=ce.defaultClassName,we=ce.defaultClassNameDragging,Se=ce.defaultClassNameDragged,Ne=ce.position,ze=ce.positionOffset,Je=ce.scale,qe=L(ce,se),Me={},Fe=null,Ue=Boolean(Ne),he=!Ue||this.state.dragging,xe=Ne||te,q={x:(0,M.canDragX)(this)&&he?this.state.x:xe.x,y:(0,M.canDragY)(this)&&he?this.state.y:xe.y};this.state.isElementSVG?Fe=(0,v.createSVGTransform)(q,ze):Me=(0,v.createCSSTransform)(q,ze);var me=(0,m.default)(h.props.className||"",Q,(ae={},le(ae,we,this.state.dragging),le(ae,Se,this.state.dragged),ae));return f.createElement(W.default,V({},qe,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),f.cloneElement(f.Children.only(h),{className:me,style:B(B({},h.props.style),Me),transform:Fe}))}}],[{key:"getDerivedStateFromProps",value:function(ae,ce){var be=ae.position,pe=ce.prevPropsPosition;return be&&(!pe||be.x!==pe.x||be.y!==pe.y)?((0,re.default)("Draggable: getDerivedStateFromProps %j",{position:be,prevPropsPosition:pe}),{x:be.x,y:be.y,prevPropsPosition:B({},be)}):null}}]),P}(f.Component);$.default=ie,le(ie,"displayName","Draggable"),le(ie,"propTypes",B(B({},W.default.propTypes),{},{axis:l.default.oneOf(["both","x","y","none"]),bounds:l.default.oneOfType([l.default.shape({left:l.default.number,right:l.default.number,top:l.default.number,bottom:l.default.number}),l.default.string,l.default.oneOf([!1])]),defaultClassName:l.default.string,defaultClassNameDragging:l.default.string,defaultClassNameDragged:l.default.string,defaultPosition:l.default.shape({x:l.default.number,y:l.default.number}),positionOffset:l.default.shape({x:l.default.oneOfType([l.default.number,l.default.string]),y:l.default.oneOfType([l.default.number,l.default.string])}),position:l.default.shape({x:l.default.number,y:l.default.number}),className:ee.dontSetMe,style:ee.dontSetMe,transform:ee.dontSetMe})),le(ie,"defaultProps",B(B({},W.default.defaultProps),{},{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1}))},98406:function(_e,$,t){"use strict";function n(C){return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(U){return typeof U}:function(U){return U&&typeof Symbol=="function"&&U.constructor===Symbol&&U!==Symbol.prototype?"symbol":typeof U},n(C)}Object.defineProperty($,"__esModule",{value:!0}),$.default=void 0;var f=se(t(89526)),l=W(t(2652)),u=W(t(73961)),m=t(25342),v=t(44768),M=t(57569),ee=W(t(50946));function W(C){return C&&C.__esModule?C:{default:C}}function re(C){if(typeof WeakMap!="function")return null;var U=new WeakMap,F=new WeakMap;return(re=function(le){return le?F:U})(C)}function se(C,U){if(!U&&C&&C.__esModule)return C;if(C===null||n(C)!=="object"&&typeof C!="function")return{default:C};var F=re(U);if(F&&F.has(C))return F.get(C);var Y={},le=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ie in C)if(ie!=="default"&&Object.prototype.hasOwnProperty.call(C,ie)){var j=le?Object.getOwnPropertyDescriptor(C,ie):null;j&&(j.get||j.set)?Object.defineProperty(Y,ie,j):Y[ie]=C[ie]}return Y.default=C,F&&F.set(C,Y),Y}function S(C,U){return c(C)||L(C,U)||T(C,U)||J()}function J(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function T(C,U){if(C){if(typeof C=="string")return V(C,U);var F=Object.prototype.toString.call(C).slice(8,-1);if(F==="Object"&&C.constructor&&(F=C.constructor.name),F==="Map"||F==="Set")return Array.from(C);if(F==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(F))return V(C,U)}}function V(C,U){(U==null||U>C.length)&&(U=C.length);for(var F=0,Y=new Array(U);F<U;F++)Y[F]=C[F];return Y}function L(C,U){var F=C==null?null:typeof Symbol!="undefined"&&C[Symbol.iterator]||C["@@iterator"];if(F!=null){var Y=[],le=!0,ie=!1,j,ue;try{for(F=F.call(C);!(le=(j=F.next()).done)&&(Y.push(j.value),!(U&&Y.length===U));le=!0);}catch(P){ie=!0,ue=P}finally{try{!le&&F.return!=null&&F.return()}finally{if(ie)throw ue}}return Y}}function c(C){if(Array.isArray(C))return C}function R(C,U){if(!(C instanceof U))throw new TypeError("Cannot call a class as a function")}function B(C,U){for(var F=0;F<U.length;F++){var Y=U[F];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(C,Y.key,Y)}}function X(C,U,F){return U&&B(C.prototype,U),F&&B(C,F),Object.defineProperty(C,"prototype",{writable:!1}),C}function g(C,U){if(typeof U!="function"&&U!==null)throw new TypeError("Super expression must either be null or a function");C.prototype=Object.create(U&&U.prototype,{constructor:{value:C,writable:!0,configurable:!0}}),Object.defineProperty(C,"prototype",{writable:!1}),U&&p(C,U)}function p(C,U){return p=Object.setPrototypeOf||function(Y,le){return Y.__proto__=le,Y},p(C,U)}function O(C){var U=K();return function(){var Y=d(C),le;if(U){var ie=d(this).constructor;le=Reflect.construct(Y,arguments,ie)}else le=Y.apply(this,arguments);return I(this,le)}}function I(C,U){if(U&&(n(U)==="object"||typeof U=="function"))return U;if(U!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return E(C)}function E(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}function K(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(C){return!1}}function d(C){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(F){return F.__proto__||Object.getPrototypeOf(F)},d(C)}function i(C,U,F){return U in C?Object.defineProperty(C,U,{value:F,enumerable:!0,configurable:!0,writable:!0}):C[U]=F,C}var x={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}},A=x.mouse,w=function(C){g(F,C);var U=O(F);function F(){var Y;R(this,F);for(var le=arguments.length,ie=new Array(le),j=0;j<le;j++)ie[j]=arguments[j];return Y=U.call.apply(U,[this].concat(ie)),i(E(Y),"state",{dragging:!1,lastX:NaN,lastY:NaN,touchIdentifier:null}),i(E(Y),"mounted",!1),i(E(Y),"handleDragStart",function(ue){if(Y.props.onMouseDown(ue),!Y.props.allowAnyClick&&typeof ue.button=="number"&&ue.button!==0)return!1;var P=Y.findDOMNode();if(!P||!P.ownerDocument||!P.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");var Z=P.ownerDocument;if(!(Y.props.disabled||!(ue.target instanceof Z.defaultView.Node)||Y.props.handle&&!(0,m.matchesSelectorAndParentsTo)(ue.target,Y.props.handle,P)||Y.props.cancel&&(0,m.matchesSelectorAndParentsTo)(ue.target,Y.props.cancel,P))){ue.type==="touchstart"&&ue.preventDefault();var ae=(0,m.getTouchIdentifier)(ue);Y.setState({touchIdentifier:ae});var ce=(0,v.getControlPosition)(ue,ae,E(Y));if(ce!=null){var be=ce.x,pe=ce.y,h=(0,v.createCoreData)(E(Y),be,pe);(0,ee.default)("DraggableCore: handleDragStart: %j",h),(0,ee.default)("calling",Y.props.onStart);var te=Y.props.onStart(ue,h);te===!1||Y.mounted===!1||(Y.props.enableUserSelectHack&&(0,m.addUserSelectStyles)(Z),Y.setState({dragging:!0,lastX:be,lastY:pe}),(0,m.addEvent)(Z,A.move,Y.handleDrag),(0,m.addEvent)(Z,A.stop,Y.handleDragStop))}}}),i(E(Y),"handleDrag",function(ue){var P=(0,v.getControlPosition)(ue,Y.state.touchIdentifier,E(Y));if(P!=null){var Z=P.x,ae=P.y;if(Array.isArray(Y.props.grid)){var ce=Z-Y.state.lastX,be=ae-Y.state.lastY,pe=(0,v.snapToGrid)(Y.props.grid,ce,be),h=S(pe,2);if(ce=h[0],be=h[1],!ce&&!be)return;Z=Y.state.lastX+ce,ae=Y.state.lastY+be}var te=(0,v.createCoreData)(E(Y),Z,ae);(0,ee.default)("DraggableCore: handleDrag: %j",te);var Q=Y.props.onDrag(ue,te);if(Q===!1||Y.mounted===!1){try{Y.handleDragStop(new MouseEvent("mouseup"))}catch(Se){var we=document.createEvent("MouseEvents");we.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),Y.handleDragStop(we)}return}Y.setState({lastX:Z,lastY:ae})}}),i(E(Y),"handleDragStop",function(ue){if(Y.state.dragging){var P=(0,v.getControlPosition)(ue,Y.state.touchIdentifier,E(Y));if(P!=null){var Z=P.x,ae=P.y;if(Array.isArray(Y.props.grid)){var ce=Z-Y.state.lastX||0,be=ae-Y.state.lastY||0,pe=(0,v.snapToGrid)(Y.props.grid,ce,be),h=S(pe,2);ce=h[0],be=h[1],Z=Y.state.lastX+ce,ae=Y.state.lastY+be}var te=(0,v.createCoreData)(E(Y),Z,ae),Q=Y.props.onStop(ue,te);if(Q===!1||Y.mounted===!1)return!1;var we=Y.findDOMNode();we&&Y.props.enableUserSelectHack&&(0,m.removeUserSelectStyles)(we.ownerDocument),(0,ee.default)("DraggableCore: handleDragStop: %j",te),Y.setState({dragging:!1,lastX:NaN,lastY:NaN}),we&&((0,ee.default)("DraggableCore: Removing handlers"),(0,m.removeEvent)(we.ownerDocument,A.move,Y.handleDrag),(0,m.removeEvent)(we.ownerDocument,A.stop,Y.handleDragStop))}}}),i(E(Y),"onMouseDown",function(ue){return A=x.mouse,Y.handleDragStart(ue)}),i(E(Y),"onMouseUp",function(ue){return A=x.mouse,Y.handleDragStop(ue)}),i(E(Y),"onTouchStart",function(ue){return A=x.touch,Y.handleDragStart(ue)}),i(E(Y),"onTouchEnd",function(ue){return A=x.touch,Y.handleDragStop(ue)}),Y}return X(F,[{key:"componentDidMount",value:function(){this.mounted=!0;var le=this.findDOMNode();le&&(0,m.addEvent)(le,x.touch.start,this.onTouchStart,{passive:!1})}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var le=this.findDOMNode();if(le){var ie=le.ownerDocument;(0,m.removeEvent)(ie,x.mouse.move,this.handleDrag),(0,m.removeEvent)(ie,x.touch.move,this.handleDrag),(0,m.removeEvent)(ie,x.mouse.stop,this.handleDragStop),(0,m.removeEvent)(ie,x.touch.stop,this.handleDragStop),(0,m.removeEvent)(le,x.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,m.removeUserSelectStyles)(ie)}}},{key:"findDOMNode",value:function(){var le,ie,j;return(le=this.props)!==null&&le!==void 0&&le.nodeRef?(ie=this.props)===null||ie===void 0||(j=ie.nodeRef)===null||j===void 0?void 0:j.current:u.default.findDOMNode(this)}},{key:"render",value:function(){return f.cloneElement(f.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}]),F}(f.Component);$.default=w,i(w,"displayName","DraggableCore"),i(w,"propTypes",{allowAnyClick:l.default.bool,disabled:l.default.bool,enableUserSelectHack:l.default.bool,offsetParent:function(U,F){if(U[F]&&U[F].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:l.default.arrayOf(l.default.number),handle:l.default.string,cancel:l.default.string,nodeRef:l.default.object,onStart:l.default.func,onDrag:l.default.func,onStop:l.default.func,onMouseDown:l.default.func,scale:l.default.number,className:M.dontSetMe,style:M.dontSetMe,transform:M.dontSetMe}),i(w,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},31315:function(_e,$,t){"use strict";var n=t(93028),f=n.default,l=n.DraggableCore;_e.exports=f,_e.exports.default=f,_e.exports.DraggableCore=l},25342:function(_e,$,t){"use strict";function n(i){return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(x){return typeof x}:function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x},n(i)}Object.defineProperty($,"__esModule",{value:!0}),$.addClassName=K,$.addEvent=S,$.addUserSelectStyles=I,$.createCSSTransform=B,$.createSVGTransform=X,$.getTouch=p,$.getTouchIdentifier=O,$.getTranslation=g,$.innerHeight=L,$.innerWidth=c,$.matchesSelector=re,$.matchesSelectorAndParentsTo=se,$.offsetXYFromParent=R,$.outerHeight=T,$.outerWidth=V,$.removeClassName=d,$.removeEvent=J,$.removeUserSelectStyles=E;var f=t(57569),l=m(t(92427));function u(i){if(typeof WeakMap!="function")return null;var x=new WeakMap,A=new WeakMap;return(u=function(C){return C?A:x})(i)}function m(i,x){if(!x&&i&&i.__esModule)return i;if(i===null||n(i)!=="object"&&typeof i!="function")return{default:i};var A=u(x);if(A&&A.has(i))return A.get(i);var w={},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var U in i)if(U!=="default"&&Object.prototype.hasOwnProperty.call(i,U)){var F=C?Object.getOwnPropertyDescriptor(i,U):null;F&&(F.get||F.set)?Object.defineProperty(w,U,F):w[U]=i[U]}return w.default=i,A&&A.set(i,w),w}function v(i,x){var A=Object.keys(i);if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(i);x&&(w=w.filter(function(C){return Object.getOwnPropertyDescriptor(i,C).enumerable})),A.push.apply(A,w)}return A}function M(i){for(var x=1;x<arguments.length;x++){var A=arguments[x]!=null?arguments[x]:{};x%2?v(Object(A),!0).forEach(function(w){ee(i,w,A[w])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(A)):v(Object(A)).forEach(function(w){Object.defineProperty(i,w,Object.getOwnPropertyDescriptor(A,w))})}return i}function ee(i,x,A){return x in i?Object.defineProperty(i,x,{value:A,enumerable:!0,configurable:!0,writable:!0}):i[x]=A,i}var W="";function re(i,x){return W||(W=(0,f.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(A){return(0,f.isFunction)(i[A])})),(0,f.isFunction)(i[W])?i[W](x):!1}function se(i,x,A){var w=i;do{if(re(w,x))return!0;if(w===A)return!1;w=w.parentNode}while(w);return!1}function S(i,x,A,w){if(i){var C=M({capture:!0},w);i.addEventListener?i.addEventListener(x,A,C):i.attachEvent?i.attachEvent("on"+x,A):i["on"+x]=A}}function J(i,x,A,w){if(i){var C=M({capture:!0},w);i.removeEventListener?i.removeEventListener(x,A,C):i.detachEvent?i.detachEvent("on"+x,A):i["on"+x]=null}}function T(i){var x=i.clientHeight,A=i.ownerDocument.defaultView.getComputedStyle(i);return x+=(0,f.int)(A.borderTopWidth),x+=(0,f.int)(A.borderBottomWidth),x}function V(i){var x=i.clientWidth,A=i.ownerDocument.defaultView.getComputedStyle(i);return x+=(0,f.int)(A.borderLeftWidth),x+=(0,f.int)(A.borderRightWidth),x}function L(i){var x=i.clientHeight,A=i.ownerDocument.defaultView.getComputedStyle(i);return x-=(0,f.int)(A.paddingTop),x-=(0,f.int)(A.paddingBottom),x}function c(i){var x=i.clientWidth,A=i.ownerDocument.defaultView.getComputedStyle(i);return x-=(0,f.int)(A.paddingLeft),x-=(0,f.int)(A.paddingRight),x}function R(i,x,A){var w=x===x.ownerDocument.body,C=w?{left:0,top:0}:x.getBoundingClientRect(),U=(i.clientX+x.scrollLeft-C.left)/A,F=(i.clientY+x.scrollTop-C.top)/A;return{x:U,y:F}}function B(i,x){var A=g(i,x,"px");return ee({},(0,l.browserPrefixToKey)("transform",l.default),A)}function X(i,x){var A=g(i,x,"");return A}function g(i,x,A){var w=i.x,C=i.y,U="translate(".concat(w).concat(A,",").concat(C).concat(A,")");if(x){var F="".concat(typeof x.x=="string"?x.x:x.x+A),Y="".concat(typeof x.y=="string"?x.y:x.y+A);U="translate(".concat(F,", ").concat(Y,")")+U}return U}function p(i,x){return i.targetTouches&&(0,f.findInArray)(i.targetTouches,function(A){return x===A.identifier})||i.changedTouches&&(0,f.findInArray)(i.changedTouches,function(A){return x===A.identifier})}function O(i){if(i.targetTouches&&i.targetTouches[0])return i.targetTouches[0].identifier;if(i.changedTouches&&i.changedTouches[0])return i.changedTouches[0].identifier}function I(i){if(i){var x=i.getElementById("react-draggable-style-el");x||(x=i.createElement("style"),x.type="text/css",x.id="react-draggable-style-el",x.innerHTML=`.react-draggable-transparent-selection *::-moz-selection {all: inherit;}
`,x.innerHTML+=`.react-draggable-transparent-selection *::selection {all: inherit;}
`,i.getElementsByTagName("head")[0].appendChild(x)),i.body&&K(i.body,"react-draggable-transparent-selection")}}function E(i){if(i)try{if(i.body&&d(i.body,"react-draggable-transparent-selection"),i.selection)i.selection.empty();else{var x=(i.defaultView||window).getSelection();x&&x.type!=="Caret"&&x.removeAllRanges()}}catch(A){}}function K(i,x){i.classList?i.classList.add(x):i.className.match(new RegExp("(?:^|\\s)".concat(x,"(?!\\S)")))||(i.className+=" ".concat(x))}function d(i,x){i.classList?i.classList.remove(x):i.className=i.className.replace(new RegExp("(?:^|\\s)".concat(x,"(?!\\S)"),"g"),"")}},92427:function(_e,$){"use strict";Object.defineProperty($,"__esModule",{value:!0}),$.browserPrefixToKey=f,$.browserPrefixToStyle=l,$.default=void 0,$.getPrefix=n;var t=["Moz","Webkit","O","ms"];function n(){var v,M,ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window=="undefined")return"";var W=(v=window.document)===null||v===void 0||(M=v.documentElement)===null||M===void 0?void 0:M.style;if(!W||ee in W)return"";for(var re=0;re<t.length;re++)if(f(ee,t[re])in W)return t[re];return""}function f(v,M){return M?"".concat(M).concat(u(v)):v}function l(v,M){return M?"-".concat(M.toLowerCase(),"-").concat(v):v}function u(v){for(var M="",ee=!0,W=0;W<v.length;W++)ee?(M+=v[W].toUpperCase(),ee=!1):v[W]==="-"?ee=!0:M+=v[W];return M}var m=n();$.default=m},50946:function(_e,$){"use strict";Object.defineProperty($,"__esModule",{value:!0}),$.default=t;function t(){var n}},44768:function(_e,$,t){"use strict";Object.defineProperty($,"__esModule",{value:!0}),$.canDragX=m,$.canDragY=v,$.createCoreData=ee,$.createDraggableData=W,$.getBoundPosition=l,$.getControlPosition=M,$.snapToGrid=u;var n=t(57569),f=t(25342);function l(S,J,T){if(!S.props.bounds)return[J,T];var V=S.props.bounds;V=typeof V=="string"?V:re(V);var L=se(S);if(typeof V=="string"){var c=L.ownerDocument,R=c.defaultView,B;if(V==="parent"?B=L.parentNode:B=c.querySelector(V),!(B instanceof R.HTMLElement))throw new Error('Bounds selector "'+V+'" could not find an element.');var X=B,g=R.getComputedStyle(L),p=R.getComputedStyle(X);V={left:-L.offsetLeft+(0,n.int)(p.paddingLeft)+(0,n.int)(g.marginLeft),top:-L.offsetTop+(0,n.int)(p.paddingTop)+(0,n.int)(g.marginTop),right:(0,f.innerWidth)(X)-(0,f.outerWidth)(L)-L.offsetLeft+(0,n.int)(p.paddingRight)-(0,n.int)(g.marginRight),bottom:(0,f.innerHeight)(X)-(0,f.outerHeight)(L)-L.offsetTop+(0,n.int)(p.paddingBottom)-(0,n.int)(g.marginBottom)}}return(0,n.isNum)(V.right)&&(J=Math.min(J,V.right)),(0,n.isNum)(V.bottom)&&(T=Math.min(T,V.bottom)),(0,n.isNum)(V.left)&&(J=Math.max(J,V.left)),(0,n.isNum)(V.top)&&(T=Math.max(T,V.top)),[J,T]}function u(S,J,T){var V=Math.round(J/S[0])*S[0],L=Math.round(T/S[1])*S[1];return[V,L]}function m(S){return S.props.axis==="both"||S.props.axis==="x"}function v(S){return S.props.axis==="both"||S.props.axis==="y"}function M(S,J,T){var V=typeof J=="number"?(0,f.getTouch)(S,J):null;if(typeof J=="number"&&!V)return null;var L=se(T),c=T.props.offsetParent||L.offsetParent||L.ownerDocument.body;return(0,f.offsetXYFromParent)(V||S,c,T.props.scale)}function ee(S,J,T){var V=S.state,L=!(0,n.isNum)(V.lastX),c=se(S);return L?{node:c,deltaX:0,deltaY:0,lastX:J,lastY:T,x:J,y:T}:{node:c,deltaX:J-V.lastX,deltaY:T-V.lastY,lastX:V.lastX,lastY:V.lastY,x:J,y:T}}function W(S,J){var T=S.props.scale;return{node:J.node,x:S.state.x+J.deltaX/T,y:S.state.y+J.deltaY/T,deltaX:J.deltaX/T,deltaY:J.deltaY/T,lastX:S.state.x,lastY:S.state.y}}function re(S){return{left:S.left,top:S.top,right:S.right,bottom:S.bottom}}function se(S){var J=S.findDOMNode();if(!J)throw new Error("<DraggableCore>: Unmounted during event!");return J}},57569:function(_e,$){"use strict";Object.defineProperty($,"__esModule",{value:!0}),$.dontSetMe=u,$.findInArray=t,$.int=l,$.isFunction=n,$.isNum=f;function t(m,v){for(var M=0,ee=m.length;M<ee;M++)if(v.apply(v,[m[M],M,m]))return m[M]}function n(m){return typeof m=="function"||Object.prototype.toString.call(m)==="[object Function]"}function f(m){return typeof m=="number"&&!isNaN(m)}function l(m){return parseInt(m,10)}function u(m,v,M){if(m[v])return new Error("Invalid prop ".concat(v," passed to ").concat(M," - do not set this, set it on the child."))}},49291:function(_e,$,t){"use strict";t.d($,{Dq:function(){return qe},Qr:function(){return U},cI:function(){return ar}});var n=t(89526),f=rt=>rt.type==="checkbox",l=rt=>rt instanceof Date,u=rt=>rt==null;const m=rt=>typeof rt=="object";var v=rt=>!u(rt)&&!Array.isArray(rt)&&m(rt)&&!l(rt),M=rt=>v(rt)&&rt.target?f(rt.target)?rt.target.checked:rt.target.value:rt,ee=rt=>rt.substring(0,rt.search(/.\d/))||rt,W=(rt,kt)=>[...rt].some(At=>ee(kt)===At),re=rt=>rt.filter(Boolean),se=rt=>rt===void 0,S=(rt,kt,At)=>{if(v(rt)&&kt){const qt=re(kt.split(/[,[\].]+?/)).reduce((sr,Kr)=>u(sr)?sr:sr[Kr],rt);return se(qt)||qt===rt?se(rt[kt])?At:rt[kt]:qt}};const J={BLUR:"blur",CHANGE:"change"},T={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},V={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"};var L=(rt,kt)=>{const At=Object.assign({},rt);return delete At[kt],At};const c=n.createContext(null),R=()=>n.useContext(c),B=rt=>React.createElement(c.Provider,{value:L(rt,"children")},rt.children);var X=(rt,kt,At,qt=!0)=>{function sr(kr){return()=>{if(kr in rt)return kt[kr]!==T.all&&(kt[kr]=!qt||T.all),At&&(At[kr]=!0),rt[kr]}}const Kr={};for(const kr in rt)Object.defineProperty(Kr,kr,{get:sr(kr)});return Kr},g=rt=>v(rt)&&!Object.keys(rt).length,p=(rt,kt,At)=>{const qt=L(rt,"name");return g(qt)||Object.keys(qt).length>=Object.keys(kt).length||Object.keys(qt).find(sr=>kt[sr]===(!At||T.all))},O=rt=>Array.isArray(rt)?rt:[rt],I=(rt,kt,At)=>At&&kt?rt===kt:!rt||!kt||rt===kt||O(rt).some(qt=>qt&&(qt.startsWith(kt)||kt.startsWith(qt)));function E(rt){const kt=n.useRef(rt);kt.current=rt,n.useEffect(()=>{const At=sr=>{sr&&sr.unsubscribe()},qt=!rt.disabled&&kt.current.subject.subscribe({next:kt.current.callback});return()=>At(qt)},[rt.disabled])}function K(rt){const kt=R(),{control:At=kt.control,disabled:qt,name:sr,exact:Kr}=rt||{},[kr,nn]=n.useState(At._formState),on=n.useRef({isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1}),vr=n.useRef(sr);return vr.current=sr,E({disabled:qt,callback:Dr=>I(vr.current,Dr.name,Kr)&&p(Dr,on.current)&&nn(Object.assign(Object.assign({},At._formState),Dr)),subject:At._subjects.state}),X(kr,At._proxyFormState,on.current,!1)}var d=rt=>typeof rt=="string",i=(rt,kt,At,qt)=>{const sr=Array.isArray(rt);return d(rt)?(qt&&kt.watch.add(rt),S(At,rt)):sr?rt.map(Kr=>(qt&&kt.watch.add(Kr),S(At,Kr))):(qt&&(kt.watchAll=!0),At)},x=rt=>typeof rt=="function",A=rt=>{for(const kt in rt)if(x(rt[kt]))return!0;return!1};function w(rt){const kt=R(),{control:At=kt.control,name:qt,defaultValue:sr,disabled:Kr,exact:kr}=rt||{},nn=n.useRef(qt);nn.current=qt,E({disabled:Kr,subject:At._subjects.watch,callback:Dr=>{if(I(nn.current,Dr.name,kr)){const _r=i(nn.current,At._names,Dr.values||At._formValues);vr(se(nn.current)||v(_r)&&!A(_r)?Object.assign({},_r):Array.isArray(_r)?[..._r]:_r)}}});const[on,vr]=n.useState(se(sr)?At._getWatch(qt):sr);return n.useEffect(()=>{At._removeUnmounted()}),on}function C(rt){const kt=R(),{name:At,control:qt=kt.control,shouldUnregister:sr}=rt,Kr=W(qt._names.array,At),kr=w({control:qt,name:At,defaultValue:S(qt._formValues,At,S(qt._defaultValues,At,rt.defaultValue)),exact:!Kr}),nn=K({control:qt,name:At}),on=n.useRef(At);on.current=At;const vr=qt.register(At,Object.assign(Object.assign({},rt.rules),{value:kr}));return n.useEffect(()=>{const Dr=(_r,Hr)=>{const Pr=S(qt._fields,_r);Pr&&(Pr._f.mount=Hr)};return Dr(At,!0),()=>{const _r=qt._options.shouldUnregister||sr;(Kr?_r&&!qt._stateFlags.action:_r)?qt.unregister(At,{keepDefaultValue:!0}):Dr(At,!1)}},[At,qt,Kr,sr]),{field:{onChange:Dr=>{vr.onChange({target:{value:M(Dr),name:At},type:J.CHANGE})},onBlur:()=>{vr.onBlur({target:{value:S(qt._formValues,At),name:At},type:J.BLUR})},name:At,value:kr,ref:Dr=>{const _r=S(qt._fields,At);Dr&&_r&&Dr.focus&&(_r._f.ref={focus:()=>Dr.focus(),setCustomValidity:Hr=>Dr.setCustomValidity(Hr),reportValidity:()=>Dr.reportValidity()})}},formState:nn,fieldState:{invalid:!!S(nn.errors,At),isDirty:!!S(nn.dirtyFields,At),isTouched:!!S(nn.touchedFields,At),error:S(nn.errors,At)}}}const U=rt=>rt.render(C(rt));var F=(rt,kt,At,qt,sr)=>kt?Object.assign(Object.assign({},At[rt]),{types:Object.assign(Object.assign({},At[rt]&&At[rt].types?At[rt].types:{}),{[qt]:sr||!0})}):{},Y=rt=>/^\w*$/.test(rt),le=rt=>re(rt.replace(/["|']|\]/g,"").split(/\.|\[/));function ie(rt,kt,At){let qt=-1;const sr=Y(kt)?[kt]:le(kt),Kr=sr.length,kr=Kr-1;for(;++qt<Kr;){const nn=sr[qt];let on=At;if(qt!==kr){const vr=rt[nn];on=v(vr)||Array.isArray(vr)?vr:isNaN(+sr[qt+1])?{}:[]}rt[nn]=on,rt=rt[nn]}return rt}const j=(rt,kt,At)=>{for(const qt of At||Object.keys(rt)){const sr=S(rt,qt);if(sr){const Kr=sr._f,kr=L(sr,"_f");if(Kr&&kt(Kr.name)){if(Kr.ref.focus&&se(Kr.ref.focus()))break;if(Kr.refs){Kr.refs[0].focus();break}}else v(kr)&&j(kr,kt)}}};var ue=(rt,kt,At={})=>At.shouldFocus||se(At.shouldFocus)?At.focusName||`${rt}.${se(At.focusIndex)?kt:At.focusIndex}.`:"",P=(rt,kt,At)=>!At&&(kt.watchAll||kt.watch.has(rt)||[...kt.watch].some(qt=>rt.startsWith(qt)&&/^\.\w+/.test(rt.slice(qt.length)))),Z=(rt,kt,At)=>rt.map((qt,sr)=>{const Kr=kt.current[sr];return Object.assign(Object.assign({},qt),Kr?{[At]:Kr[At]}:{})}),ae=()=>{const rt=typeof performance=="undefined"?Date.now():performance.now()*1e3;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,kt=>{const At=(Math.random()*16+rt)%16|0;return(kt=="x"?At:At&3|8).toString(16)})},ce=(rt=[],kt)=>rt.map(At=>Object.assign(Object.assign({},At[kt]?{}:{[kt]:ae()}),At));function be(rt,kt){return[...O(rt),...O(kt)]}var pe=rt=>Array.isArray(rt)?rt.map(()=>{}):void 0;function h(rt,kt,At){return[...rt.slice(0,kt),...O(At),...rt.slice(kt)]}var te=(rt,kt,At)=>Array.isArray(rt)?(se(rt[At])&&(rt[At]=void 0),rt.splice(At,0,rt.splice(kt,1)[0]),rt):[],Q=(rt,kt)=>rt.map((At={})=>L(At,kt));function we(rt,kt){return[...O(kt),...O(rt)]}function Se(rt,kt){let At=0;const qt=[...rt];for(const sr of kt)qt.splice(sr-At,1),At++;return re(qt).length?qt:[]}var Ne=(rt,kt)=>se(kt)?[]:Se(rt,O(kt).sort((At,qt)=>At-qt)),ze=(rt,kt,At)=>{rt[kt]=[rt[At],rt[At]=rt[kt]][0]},Je=(rt,kt,At)=>(rt[kt]=At,rt);const qe=rt=>{const kt=R(),{control:At=kt.control,name:qt,keyName:sr="id",shouldUnregister:Kr}=rt,[kr,nn]=n.useState(ce(At._getFieldArray(qt),sr)),on=n.useRef(kr),vr=n.useRef(qt),Dr=n.useRef(!1);vr.current=qt,on.current=kr,At._names.array.add(qt),E({callback:({values:Yr,name:Yn})=>{(Yn===vr.current||!Yn)&&nn(ce(S(Yr,vr.current),sr))},subject:At._subjects.array});const _r=n.useCallback(Yr=>{const Yn=Q(Yr,sr);return Dr.current=!0,ie(At._formValues,qt,Yn),Yn},[At,qt,sr]),Hr=(Yr,Yn)=>{const ti=O(Yr),Wi=be(Z(At._getFieldArray(qt),on,sr),ce(ti,sr));nn(Wi),At._updateFieldArray(qt,be,{argA:pe(Yr)},_r(Wi)),At._names.focus=ue(qt,Wi.length-ti.length,Yn)},Pr=(Yr,Yn)=>{const ti=we(Z(At._getFieldArray(qt),on,sr),ce(O(Yr),sr));nn(ti),At._updateFieldArray(qt,we,{argA:pe(Yr)},_r(ti)),At._names.focus=ue(qt,0,Yn)},un=Yr=>{const Yn=Ne(Z(At._getFieldArray(qt),on,sr),Yr);nn(Yn),At._updateFieldArray(qt,Ne,{argA:Yr},_r(Yn))},Zn=(Yr,Yn,ti)=>{const Wi=h(Z(At._getFieldArray(qt),on,sr),Yr,ce(O(Yn),sr));nn(Wi),At._updateFieldArray(qt,h,{argA:Yr,argB:pe(Yn)},_r(Wi)),At._names.focus=ue(qt,Yr,ti)},Jn=(Yr,Yn)=>{const ti=Z(At._getFieldArray(qt),on,sr);ze(ti,Yr,Yn),nn(ti),At._updateFieldArray(qt,ze,{argA:Yr,argB:Yn},_r(ti),!1)},Dn=(Yr,Yn)=>{const ti=Z(At._getFieldArray(qt),on,sr);te(ti,Yr,Yn),At._updateFieldArray(qt,te,{argA:Yr,argB:Yn},_r(ti),!1),nn(ti)},qn=(Yr,Yn)=>{const ti=Z(At._getFieldArray(qt),on,sr),Wi=Je(ti,Yr,Yn);on.current=ce(Wi,sr),nn(on.current),At._updateFieldArray(qt,Je,{argA:Yr,argB:Yn},_r(on.current),!0,!1)},lr=Yr=>{const Yn=ce(O(Yr),sr);nn(Yn),At._updateFieldArray(qt,()=>Yn,{},_r(Yn),!0,!1)};return n.useEffect(()=>{At._stateFlags.action=!1,P(qt,At._names)&&At._subjects.state.next({}),Dr.current&&At._executeSchema([qt]).then(Yr=>{const Yn=S(Yr.errors,qt);Yn&&Yn.type&&!S(At._formState.errors,qt)&&(ie(At._formState.errors,qt,Yn),At._subjects.state.next({errors:At._formState.errors}))}),At._subjects.watch.next({name:qt,values:At._formValues}),At._names.focus&&j(At._fields,Yr=>Yr.startsWith(At._names.focus)),At._names.focus="",At._proxyFormState.isValid&&At._updateValid()},[kr,qt,At,sr]),n.useEffect(()=>(!S(At._formValues,qt)&&ie(At._formValues,qt,[]),()=>{(At._options.shouldUnregister||Kr)&&At.unregister(qt)}),[qt,At,sr,Kr]),{swap:n.useCallback(Jn,[_r,qt,At,sr]),move:n.useCallback(Dn,[_r,qt,At,sr]),prepend:n.useCallback(Pr,[_r,qt,At,sr]),append:n.useCallback(Hr,[_r,qt,At,sr]),remove:n.useCallback(un,[_r,qt,At,sr]),insert:n.useCallback(Zn,[_r,qt,At,sr]),update:n.useCallback(qn,[_r,qt,At,sr]),replace:n.useCallback(lr,[_r,qt,At,sr]),fields:kr}};function Me(rt){let kt;const At=Array.isArray(rt);if(rt instanceof Date)kt=new Date(rt);else if(rt instanceof Set)kt=new Set(rt);else if(At||v(rt)){kt=At?[]:{};for(const qt in rt){if(x(rt[qt])){kt=rt;break}kt[qt]=Me(rt[qt])}}else return rt;return kt}function Fe(){let rt=[];return{get observers(){return rt},next:sr=>{for(const Kr of rt)Kr.next(sr)},subscribe:sr=>(rt.push(sr),{unsubscribe:()=>{rt=rt.filter(Kr=>Kr!==sr)}}),unsubscribe:()=>{rt=[]}}}var Ue=rt=>u(rt)||!m(rt);function he(rt,kt){if(Ue(rt)||Ue(kt))return rt===kt;if(l(rt)&&l(kt))return rt.getTime()===kt.getTime();const At=Object.keys(rt),qt=Object.keys(kt);if(At.length!==qt.length)return!1;for(const sr of At){const Kr=rt[sr];if(!qt.includes(sr))return!1;if(sr!=="ref"){const kr=kt[sr];if(l(Kr)&&l(kr)||v(Kr)&&v(kr)||Array.isArray(Kr)&&Array.isArray(kr)?!he(Kr,kr):Kr!==kr)return!1}}return!0}var xe=rt=>({isOnSubmit:!rt||rt===T.onSubmit,isOnBlur:rt===T.onBlur,isOnChange:rt===T.onChange,isOnAll:rt===T.all,isOnTouch:rt===T.onTouched}),q=rt=>typeof rt=="boolean",me=rt=>rt.type==="file",De=rt=>rt instanceof HTMLElement,Te=rt=>rt.type==="select-multiple",Oe=rt=>rt.type==="radio",st=rt=>Oe(rt)||f(rt),Ft=typeof window!="undefined"&&typeof window.HTMLElement!="undefined"&&typeof document!="undefined",Qt=rt=>De(rt)&&document.contains(rt);function Vt(rt,kt){const At=kt.slice(0,-1).length;let qt=0;for(;qt<At;)rt=se(rt)?qt++:rt[kt[qt++]];return rt}function Gt(rt,kt){const At=Y(kt)?[kt]:le(kt),qt=At.length==1?rt:Vt(rt,At),sr=At[At.length-1];let Kr;qt&&delete qt[sr];for(let kr=0;kr<At.slice(0,-1).length;kr++){let nn=-1,on;const vr=At.slice(0,-(kr+1)),Dr=vr.length-1;for(kr>0&&(Kr=rt);++nn<vr.length;){const _r=vr[nn];on=on?on[_r]:rt[_r],Dr===nn&&(v(on)&&g(on)||Array.isArray(on)&&!on.filter(Hr=>v(Hr)&&!g(Hr)||q(Hr)).length)&&(Kr?delete Kr[_r]:delete rt[_r]),Kr=on}}return rt}function Jt(rt,kt={}){const At=Array.isArray(rt);if(v(rt)||At)for(const qt in rt)Array.isArray(rt[qt])||v(rt[qt])&&!A(rt[qt])?(kt[qt]=Array.isArray(rt[qt])?[]:{},Jt(rt[qt],kt[qt])):u(rt[qt])||(kt[qt]=!0);return kt}function Lr(rt,kt,At){const qt=Array.isArray(rt);if(v(rt)||qt)for(const sr in rt)Array.isArray(rt[sr])||v(rt[sr])&&!A(rt[sr])?se(kt)||Ue(At[sr])?At[sr]=Array.isArray(rt[sr])?Jt(rt[sr],[]):Object.assign({},Jt(rt[sr])):Lr(rt[sr],u(kt)?{}:kt[sr],At[sr]):At[sr]=!he(rt[sr],kt[sr]);return At}var Rr=(rt,kt)=>Lr(rt,kt,Jt(kt));const Gr={value:!1,isValid:!1},zr={value:!0,isValid:!0};var pr=rt=>{if(Array.isArray(rt)){if(rt.length>1){const kt=rt.filter(At=>At&&At.checked&&!At.disabled).map(At=>At.value);return{value:kt,isValid:!!kt.length}}return rt[0].checked&&!rt[0].disabled?rt[0].attributes&&!se(rt[0].attributes.value)?se(rt[0].value)||rt[0].value===""?zr:{value:rt[0].value,isValid:!0}:zr:Gr}return Gr},vn=(rt,{valueAsNumber:kt,valueAsDate:At,setValueAs:qt})=>se(rt)?rt:kt?rt===""?NaN:+rt:At?new Date(rt):qt?qt(rt):rt;const fn={isValid:!1,value:null};var Zt=rt=>Array.isArray(rt)?rt.reduce((kt,At)=>At&&At.checked&&!At.disabled?{isValid:!0,value:At.value}:kt,fn):fn;function St(rt){const kt=rt.ref;if(!(rt.refs?rt.refs.every(At=>At.disabled):kt.disabled))return me(kt)?kt.files:Oe(kt)?Zt(rt.refs).value:Te(kt)?[...kt.selectedOptions].map(({value:At})=>At):f(kt)?pr(rt.refs).value:vn(se(kt.value)?rt.ref.value:kt.value,rt)}var Wt=(rt,kt,At,qt)=>{const sr={};for(const Kr of rt){const kr=S(kt,Kr);kr&&ie(sr,Kr,kr._f)}return{criteriaMode:At,names:[...rt],fields:sr,shouldUseNativeValidation:qt}},Nt=rt=>rt.mount&&(rt.required||rt.min||rt.max||rt.maxLength||rt.minLength||rt.pattern||rt.validate);function dt(rt,kt,At){const qt=S(rt,At);if(qt||Y(At))return{error:qt,name:At};const sr=At.split(".");for(;sr.length;){const Kr=sr.join("."),kr=S(kt,Kr),nn=S(rt,Kr);if(kr&&!Array.isArray(kr)&&At!==Kr)return{name:At};if(nn&&nn.type)return{name:Kr,error:nn};sr.pop()}return{name:At}}var nr=(rt,kt,At,qt,sr)=>sr.isOnAll?!1:!At&&sr.isOnTouch?!(kt||rt):(At?qt.isOnBlur:sr.isOnBlur)?!rt:(At?qt.isOnChange:sr.isOnChange)?rt:!0,et=(rt,kt)=>!re(S(rt,kt,[])).length&&Gt(rt,kt),Tt=rt=>d(rt)||n.isValidElement(rt),Rt=rt=>rt instanceof RegExp;function or(rt,kt,At="validate"){if(Tt(rt)||Array.isArray(rt)&&rt.every(Tt)||q(rt)&&!rt)return{type:At,message:Tt(rt)?rt:"",ref:kt}}var ir=rt=>v(rt)&&!Rt(rt)?rt:{value:rt,message:""},Qr=(rt,kt,At,qt)=>Zu(this,null,function*(){const{ref:sr,refs:Kr,required:kr,maxLength:nn,minLength:on,min:vr,max:Dr,pattern:_r,validate:Hr,name:Pr,valueAsNumber:un,mount:Zn,disabled:Jn}=rt._f;if(!Zn||Jn)return{};const Dn=Kr?Kr[0]:sr,qn=mt=>{qt&&Dn.reportValidity&&(Dn.setCustomValidity(q(mt)?"":mt||" "),Dn.reportValidity())},lr={},Yr=Oe(sr),Yn=f(sr),ti=Yr||Yn,Wi=(un||me(sr))&&!sr.value||kt===""||Array.isArray(kt)&&!kt.length,_t=F.bind(null,Pr,At,lr),Ct=(mt,br,Pt,qr=V.maxLength,mn=V.minLength)=>{const In=mt?br:Pt;lr[Pr]=Object.assign({type:mt?qr:mn,message:In,ref:sr},_t(mt?qr:mn,In))};if(kr&&(!ti&&(Wi||u(kt))||q(kt)&&!kt||Yn&&!pr(Kr).isValid||Yr&&!Zt(Kr).isValid)){const{value:mt,message:br}=Tt(kr)?{value:!!kr,message:kr}:ir(kr);if(mt&&(lr[Pr]=Object.assign({type:V.required,message:br,ref:Dn},_t(V.required,br)),!At))return qn(br),lr}if(!Wi&&(!u(vr)||!u(Dr))){let mt,br;const Pt=ir(Dr),qr=ir(vr);if(isNaN(kt)){const mn=sr.valueAsDate||new Date(kt);d(Pt.value)&&(mt=mn>new Date(Pt.value)),d(qr.value)&&(br=mn<new Date(qr.value))}else{const mn=sr.valueAsNumber||parseFloat(kt);u(Pt.value)||(mt=mn>Pt.value),u(qr.value)||(br=mn<qr.value)}if((mt||br)&&(Ct(!!mt,Pt.message,qr.message,V.max,V.min),!At))return qn(lr[Pr].message),lr}if((nn||on)&&!Wi&&d(kt)){const mt=ir(nn),br=ir(on),Pt=!u(mt.value)&&kt.length>mt.value,qr=!u(br.value)&&kt.length<br.value;if((Pt||qr)&&(Ct(Pt,mt.message,br.message),!At))return qn(lr[Pr].message),lr}if(_r&&!Wi&&d(kt)){const{value:mt,message:br}=ir(_r);if(Rt(mt)&&!kt.match(mt)&&(lr[Pr]=Object.assign({type:V.pattern,message:br,ref:sr},_t(V.pattern,br)),!At))return qn(br),lr}if(Hr){if(x(Hr)){const mt=yield Hr(kt),br=or(mt,Dn);if(br&&(lr[Pr]=Object.assign(Object.assign({},br),_t(V.validate,br.message)),!At))return qn(br.message),lr}else if(v(Hr)){let mt={};for(const br in Hr){if(!g(mt)&&!At)break;const Pt=or(yield Hr[br](kt),Dn,br);Pt&&(mt=Object.assign(Object.assign({},Pt),_t(br,Pt.message)),qn(Pt.message),At&&(lr[Pr]=mt))}if(!g(mt)&&(lr[Pr]=Object.assign({ref:Dn},mt),!At))return lr}}return qn(!0),lr});const ft={mode:T.onSubmit,reValidateMode:T.onChange,shouldFocusError:!0},tr=typeof window=="undefined";function gr(rt={}){let kt=Object.assign(Object.assign({},ft),rt),At={isDirty:!1,isValidating:!1,dirtyFields:{},isSubmitted:!1,submitCount:0,touchedFields:{},isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,errors:{}},qt={},sr=kt.defaultValues||{},Kr=kt.shouldUnregister?{}:Me(sr),kr={action:!1,mount:!1,watch:!1},nn={mount:new Set,unMount:new Set,array:new Set,watch:new Set},on,vr=0,Dr={};const _r={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},Hr={watch:Fe(),array:Fe(),state:Fe()},Pr=xe(kt.mode),un=xe(kt.reValidateMode),Zn=kt.criteriaMode===T.all,Jn=(Ir,je)=>(...Ke)=>{clearTimeout(vr),vr=window.setTimeout(()=>Ir(...Ke),je)},Dn=Ir=>Zu(this,null,function*(){let je=!1;return _r.isValid&&(je=kt.resolver?g((yield Wi()).errors):yield Ct(qt,!0),!Ir&&je!==At.isValid&&(At.isValid=je,Hr.state.next({isValid:je}))),je}),qn=(Ir,je,Ke,ht=[],Bt=!0,Dt=!0)=>{if(kr.action=!0,Dt&&S(qt,Ir)){const Yt=je(S(qt,Ir),Ke.argA,Ke.argB);Bt&&ie(qt,Ir,Yt)}if(Array.isArray(S(At.errors,Ir))){const Yt=je(S(At.errors,Ir),Ke.argA,Ke.argB);Bt&&ie(At.errors,Ir,Yt),et(At.errors,Ir)}if(_r.touchedFields&&S(At.touchedFields,Ir)){const Yt=je(S(At.touchedFields,Ir),Ke.argA,Ke.argB);Bt&&ie(At.touchedFields,Ir,Yt),et(At.touchedFields,Ir)}(_r.dirtyFields||_r.isDirty)&&(At.dirtyFields=Rr(sr,Kr)),Hr.state.next({isDirty:br(Ir,ht),dirtyFields:At.dirtyFields,errors:At.errors,isValid:At.isValid})},lr=(Ir,je)=>(ie(At.errors,Ir,je),Hr.state.next({errors:At.errors})),Yr=(Ir,je,Ke)=>{const ht=S(qt,Ir);if(ht){const Bt=S(Kr,Ir,S(sr,Ir));se(Bt)||Ke&&Ke.defaultChecked||je?ie(Kr,Ir,je?Bt:St(ht._f)):mn(Ir,Bt)}kr.mount&&Dn()},Yn=(Ir,je,Ke,ht=!0)=>{let Bt=!1;const Dt={name:Ir},Yt=S(At.touchedFields,Ir);if(_r.isDirty){const yr=At.isDirty;At.isDirty=Dt.isDirty=br(),Bt=yr!==Dt.isDirty}if(_r.dirtyFields&&!Ke){const yr=S(At.dirtyFields,Ir);he(S(sr,Ir),je)?Gt(At.dirtyFields,Ir):ie(At.dirtyFields,Ir,!0),Dt.dirtyFields=At.dirtyFields,Bt=Bt||yr!==S(At.dirtyFields,Ir)}return Ke&&!Yt&&(ie(At.touchedFields,Ir,Ke),Dt.touchedFields=At.touchedFields,Bt=Bt||_r.touchedFields&&Yt!==Ke),Bt&&ht&&Hr.state.next(Dt),Bt?Dt:{}},ti=(Ir,je,Ke,ht,Bt)=>Zu(this,null,function*(){const Dt=S(At.errors,je),Yt=_r.isValid&&At.isValid!==Ke;if(rt.delayError&&ht?(on=on||Jn(lr,rt.delayError),on(je,ht)):(clearTimeout(vr),ht?ie(At.errors,je,ht):Gt(At.errors,je)),((ht?!he(Dt,ht):Dt)||!g(Bt)||Yt)&&!Ir){const yr=Object.assign(Object.assign(Object.assign({},Bt),Yt?{isValid:Ke}:{}),{errors:At.errors,name:je});At=Object.assign(Object.assign({},At),yr),Hr.state.next(yr)}Dr[je]--,_r.isValidating&&!Dr[je]&&(Hr.state.next({isValidating:!1}),Dr={})}),Wi=Ir=>Zu(this,null,function*(){return kt.resolver?yield kt.resolver(Object.assign({},Kr),kt.context,Wt(Ir||nn.mount,qt,kt.criteriaMode,kt.shouldUseNativeValidation)):{}}),_t=Ir=>Zu(this,null,function*(){const{errors:je}=yield Wi();if(Ir)for(const Ke of Ir){const ht=S(je,Ke);ht?ie(At.errors,Ke,ht):Gt(At.errors,Ke)}else At.errors=je;return je}),Ct=(ht,Bt,...Dt)=>Zu(this,[ht,Bt,...Dt],function*(Ir,je,Ke={valid:!0}){for(const Yt in Ir){const yr=Ir[Yt];if(yr){const zt=yr._f,rn=L(yr,"_f");if(zt){const On=yield Qr(yr,S(Kr,zt.name),Zn,kt.shouldUseNativeValidation);if(On[zt.name]&&(Ke.valid=!1,je))break;je||(On[zt.name]?ie(At.errors,zt.name,On[zt.name]):Gt(At.errors,zt.name))}rn&&(yield Ct(rn,je,Ke))}}return Ke.valid}),mt=()=>{for(const Ir of nn.unMount){const je=S(qt,Ir);je&&(je._f.refs?je._f.refs.every(Ke=>!Qt(Ke)):!Qt(je._f.ref))&&Fi(Ir)}nn.unMount=new Set},br=(Ir,je)=>(Ir&&je&&ie(Kr,Ir,je),!he(zn(),sr)),Pt=(Ir,je,Ke)=>{const ht=Object.assign({},kr.mount?Kr:se(je)?sr:d(Ir)?{[Ir]:je}:je);return i(Ir,nn,ht,Ke)},qr=Ir=>S(kr.mount?Kr:sr,Ir,rt.shouldUnregister?S(sr,Ir,[]):[]),mn=(Ir,je,Ke={})=>{const ht=S(qt,Ir);let Bt=je;if(ht){const Dt=ht._f;Dt&&(ie(Kr,Ir,vn(je,Dt)),Bt=Ft&&De(Dt.ref)&&u(je)?"":je,Te(Dt.ref)?[...Dt.ref.options].forEach(Yt=>Yt.selected=Bt.includes(Yt.value)):Dt.refs?f(Dt.ref)?Dt.refs.length>1?Dt.refs.forEach(Yt=>Yt.checked=Array.isArray(Bt)?!!Bt.find(yr=>yr===Yt.value):Bt===Yt.value):Dt.refs[0].checked=!!Bt:Dt.refs.forEach(Yt=>Yt.checked=Yt.value===Bt):me(Dt.ref)||(Dt.ref.value=Bt))}(Ke.shouldDirty||Ke.shouldTouch)&&Yn(Ir,Bt,Ke.shouldTouch),Ke.shouldValidate&&An(Ir)},In=(Ir,je,Ke)=>{for(const ht in je){const Bt=je[ht],Dt=`${Ir}.${ht}`,Yt=S(qt,Dt);(nn.array.has(Ir)||!Ue(Bt)||Yt&&!Yt._f)&&!l(Bt)?In(Dt,Bt,Ke):mn(Dt,Bt,Ke)}},Vr=(Ir,je,Ke={})=>{const ht=S(qt,Ir),Bt=nn.array.has(Ir);ie(Kr,Ir,je),Bt?(Hr.array.next({name:Ir,values:Kr}),(_r.isDirty||_r.dirtyFields)&&Ke.shouldDirty&&(At.dirtyFields=Rr(sr,Kr),Hr.state.next({name:Ir,dirtyFields:At.dirtyFields,isDirty:br(Ir,je)}))):ht&&!ht._f&&!u(je)?In(Ir,je,Ke):mn(Ir,je,Ke),P(Ir,nn)&&Hr.state.next({}),Hr.watch.next({name:Ir})},Fn=Ir=>Zu(this,null,function*(){const je=Ir.target;let Ke=je.name;const ht=S(qt,Ke);if(ht){let Bt,Dt;const Yt=je.type?St(ht._f):M(Ir),yr=Ir.type===J.BLUR,zt=!Nt(ht._f)&&!kt.resolver&&!S(At.errors,Ke)&&!ht._f.deps||nr(yr,S(At.touchedFields,Ke),At.isSubmitted,un,Pr),rn=P(Ke,nn,yr);yr?ht._f.onBlur&&ht._f.onBlur(Ir):ht._f.onChange&&ht._f.onChange(Ir),ie(Kr,Ke,Yt);const On=Yn(Ke,Yt,yr,!1),xn=!g(On)||rn;if(!yr&&Hr.watch.next({name:Ke,type:Ir.type}),zt)return xn&&Hr.state.next(Object.assign({name:Ke},rn?{}:On));if(!yr&&rn&&Hr.state.next({}),Dr[Ke]=(Dr[Ke],1),_r.isValidating&&Hr.state.next({isValidating:!0}),kt.resolver){const{errors:Kn}=yield Wi([Ke]),jn=dt(At.errors,qt,Ke),to=dt(Kn,qt,jn.name||Ke);Bt=to.error,Ke=to.name,Dt=g(Kn)}else Bt=(yield Qr(ht,S(Kr,Ke),Zn,kt.shouldUseNativeValidation))[Ke],Dt=yield Dn(!0);ht._f.deps&&An(ht._f.deps),ti(!1,Ke,Dt,Bt,On)}}),An=(Ke,...ht)=>Zu(this,[Ke,...ht],function*(Ir,je={}){let Bt,Dt;const Yt=O(Ir);if(Hr.state.next({isValidating:!0}),kt.resolver){const yr=yield _t(se(Ir)?Ir:Yt);Bt=g(yr),Dt=Ir?!Yt.some(zt=>S(yr,zt)):Bt}else Ir?(Dt=(yield Promise.all(Yt.map(yr=>Zu(this,null,function*(){const zt=S(qt,yr);return yield Ct(zt&&zt._f?{[yr]:zt}:zt)})))).every(Boolean),!(!Dt&&!At.isValid)&&Dn()):Dt=Bt=yield Ct(qt);return Hr.state.next(Object.assign(Object.assign(Object.assign({},!d(Ir)||_r.isValid&&Bt!==At.isValid?{}:{name:Ir}),kt.resolver?{isValid:Bt}:{}),{errors:At.errors,isValidating:!1})),je.shouldFocus&&!Dt&&j(qt,yr=>S(At.errors,yr),Ir?Yt:nn.mount),Dt}),zn=Ir=>{const je=Object.assign(Object.assign({},sr),kr.mount?Kr:{});return se(Ir)?je:d(Ir)?S(je,Ir):Ir.map(Ke=>S(je,Ke))},bi=Ir=>{Ir?O(Ir).forEach(je=>Gt(At.errors,je)):At.errors={},Hr.state.next({errors:At.errors,isValid:!0})},Si=(Ir,je,Ke)=>{const ht=(S(qt,Ir,{_f:{}})._f||{}).ref;ie(At.errors,Ir,Object.assign(Object.assign({},je),{ref:ht})),Hr.state.next({name:Ir,errors:At.errors,isValid:!1}),Ke&&Ke.shouldFocus&&ht&&ht.focus&&ht.focus()},bo=(Ir,je)=>x(Ir)?Hr.watch.subscribe({next:Ke=>Ir(Pt(void 0,je),Ke)}):Pt(Ir,je,!0),Fi=(Ir,je={})=>{for(const Ke of Ir?O(Ir):nn.mount)nn.mount.delete(Ke),nn.array.delete(Ke),S(qt,Ke)&&(je.keepValue||(Gt(qt,Ke),Gt(Kr,Ke)),!je.keepError&&Gt(At.errors,Ke),!je.keepDirty&&Gt(At.dirtyFields,Ke),!je.keepTouched&&Gt(At.touchedFields,Ke),!kt.shouldUnregister&&!je.keepDefaultValue&&Gt(sr,Ke));Hr.watch.next({}),Hr.state.next(Object.assign(Object.assign({},At),je.keepDirty?{isDirty:br()}:{})),!je.keepIsValid&&Dn()},mo=(Ir,je={})=>{const Ke=S(qt,Ir);return ie(qt,Ir,{_f:Object.assign(Object.assign(Object.assign({},Ke&&Ke._f?Ke._f:{ref:{name:Ir}}),{name:Ir,mount:!0}),je)}),nn.mount.add(Ir),!se(je.value)&&!je.disabled&&ie(Kr,Ir,S(Kr,Ir,je.value)),Ke?q(je.disabled)&&ie(Kr,Ir,je.disabled?void 0:S(Kr,Ir,St(Ke._f))):Yr(Ir,!0),tr?{name:Ir}:Object.assign(Object.assign({name:Ir},q(je.disabled)?{disabled:je.disabled}:{}),{onChange:Fn,onBlur:Fn,ref:ht=>{if(ht){mo(Ir,je);let Bt=S(qt,Ir);const Dt=se(ht.value)&&ht.querySelectorAll&&ht.querySelectorAll("input,select,textarea")[0]||ht,Yt=st(Dt);if(Dt===Bt._f.ref||Yt&&re(Bt._f.refs||[]).find(yr=>yr===Dt))return;Bt={_f:Yt?Object.assign(Object.assign({},Bt._f),{refs:[...re(Bt._f.refs||[]).filter(Qt),Dt],ref:{type:Dt.type,name:Ir}}):Object.assign(Object.assign({},Bt._f),{ref:Dt})},ie(qt,Ir,Bt),(!je||!je.disabled)&&Yr(Ir,!1,Dt)}else{const Bt=S(qt,Ir,{}),Dt=kt.shouldUnregister||je.shouldUnregister;Bt._f&&(Bt._f.mount=!1),Dt&&!(W(nn.array,Ir)&&kr.action)&&nn.unMount.add(Ir)}}})};return{control:{register:mo,unregister:Fi,_executeSchema:Wi,_getWatch:Pt,_getDirty:br,_updateValid:Dn,_removeUnmounted:mt,_updateFieldArray:qn,_getFieldArray:qr,_subjects:Hr,_proxyFormState:_r,get _fields(){return qt},set _fields(Ir){qt=Ir},get _formValues(){return Kr},set _formValues(Ir){Kr=Ir},get _stateFlags(){return kr},set _stateFlags(Ir){kr=Ir},get _defaultValues(){return sr},set _defaultValues(Ir){sr=Ir},get _names(){return nn},set _names(Ir){nn=Ir},get _formState(){return At},set _formState(Ir){At=Ir},get _options(){return kt},set _options(Ir){kt=Object.assign(Object.assign({},kt),Ir)}},trigger:An,register:mo,handleSubmit:(Ir,je)=>Ke=>Zu(this,null,function*(){Ke&&(Ke.preventDefault&&Ke.preventDefault(),Ke.persist&&Ke.persist());let ht=!0,Bt=kt.shouldUnregister?Me(Kr):Object.assign({},Kr);Hr.state.next({isSubmitting:!0});try{if(kt.resolver){const{errors:Dt,values:Yt}=yield Wi();At.errors=Dt,Bt=Yt}else yield Ct(qt);g(At.errors)&&Object.keys(At.errors).every(Dt=>S(Bt,Dt))?(Hr.state.next({errors:{},isSubmitting:!0}),yield Ir(Bt,Ke)):(je&&(yield je(At.errors,Ke)),kt.shouldFocusError&&j(qt,Dt=>S(At.errors,Dt),nn.mount))}catch(Dt){throw ht=!1,Dt}finally{At.isSubmitted=!0,Hr.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:g(At.errors)&&ht,submitCount:At.submitCount+1,errors:At.errors})}}),watch:bo,setValue:Vr,getValues:zn,reset:(Ir,je={})=>{const Ke=Ir||sr,ht=Me(Ke),Bt=g(Ir)?sr:ht;if(je.keepDefaultValues||(sr=Ke),!je.keepValues){if(Ft)for(const Dt of nn.mount){const Yt=S(qt,Dt);if(Yt&&Yt._f){const yr=Array.isArray(Yt._f.refs)?Yt._f.refs[0]:Yt._f.ref;try{De(yr)&&yr.closest("form").reset();break}catch(zt){}}}Kr=rt.shouldUnregister?je.keepDefaultValues?Me(sr):{}:ht,qt={},Hr.watch.next({values:Bt}),Hr.array.next({values:Bt})}nn={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},Hr.state.next({submitCount:je.keepSubmitCount?At.submitCount:0,isDirty:je.keepDirty?At.isDirty:je.keepDefaultValues?!he(Ir,sr):!1,isSubmitted:je.keepIsSubmitted?At.isSubmitted:!1,dirtyFields:je.keepDirty?At.dirtyFields:je.keepDefaultValues&&Ir?Object.entries(Ir).reduce((Dt,[Yt,yr])=>Object.assign(Object.assign({},Dt),{[Yt]:yr!==S(sr,Yt)}),{}):{},touchedFields:je.keepTouched?At.touchedFields:{},errors:je.keepErrors?At.errors:{},isSubmitting:!1,isSubmitSuccessful:!1}),kr.mount=!_r.isValid||!!je.keepIsValid,kr.watch=!!rt.shouldUnregister},resetField:(Ir,je={})=>{se(je.defaultValue)?Vr(Ir,S(sr,Ir)):(Vr(Ir,je.defaultValue),ie(sr,Ir,je.defaultValue)),je.keepTouched||Gt(At.touchedFields,Ir),je.keepDirty||(Gt(At.dirtyFields,Ir),At.isDirty=je.defaultValue?br(Ir,S(sr,Ir)):br()),je.keepError||(Gt(At.errors,Ir),_r.isValid&&Dn()),Hr.state.next(Object.assign({},At))},clearErrors:bi,unregister:Fi,setError:Si,setFocus:Ir=>{const je=S(qt,Ir)._f;(je.ref.focus?je.ref:je.refs[0]).focus()}}}function ar(rt={}){const kt=n.useRef(),[At,qt]=n.useState({isDirty:!1,isValidating:!1,dirtyFields:{},isSubmitted:!1,submitCount:0,touchedFields:{},isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,errors:{}});kt.current?kt.current.control._options=rt:kt.current=Object.assign(Object.assign({},gr(rt)),{formState:At});const sr=kt.current.control;return E({subject:sr._subjects.state,callback:Kr=>{p(Kr,sr._proxyFormState,!0)&&(sr._formState=Object.assign(Object.assign({},sr._formState),Kr),qt(Object.assign({},sr._formState)))}}),n.useEffect(()=>{sr._stateFlags.mount||(sr._proxyFormState.isValid&&sr._updateValid(),sr._stateFlags.mount=!0),sr._stateFlags.watch&&(sr._stateFlags.watch=!1,sr._subjects.state.next({})),sr._removeUnmounted()}),kt.current.formState=X(At,sr._proxyFormState),kt.current}},90847:function(_e,$,t){var n,f,l;(function(u,m){if(!0)f=[t(2652),t(89526)],n=m,l=typeof n=="function"?n.apply($,f):n,l!==void 0&&(_e.exports=l);else var v})(typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:this,function(u,m){"use strict";u=re(u),m=W(m);var v,M;function ee(){if(typeof WeakMap!="function")return null;var ae=new WeakMap;return ee=function(){return ae},ae}function W(ae){if(ae&&ae.__esModule)return ae;if(ae===null||se(ae)!=="object"&&typeof ae!="function")return{default:ae};var ce=ee();if(ce&&ce.has(ae))return ce.get(ae);var be={},pe=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in ae)if(Object.prototype.hasOwnProperty.call(ae,h)){var te=pe?Object.getOwnPropertyDescriptor(ae,h):null;te&&(te.get||te.set)?Object.defineProperty(be,h,te):be[h]=ae[h]}return be.default=ae,ce&&ce.set(ae,be),be}function re(ae){return ae&&ae.__esModule?ae:{default:ae}}function se(ae){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?se=function(be){return typeof be}:se=function(be){return be&&typeof Symbol=="function"&&be.constructor===Symbol&&be!==Symbol.prototype?"symbol":typeof be},se(ae)}function S(ae,ce){if(!(ae instanceof ce))throw new TypeError("Cannot call a class as a function")}function J(ae,ce){for(var be=0;be<ce.length;be++){var pe=ce[be];pe.enumerable=pe.enumerable||!1,pe.configurable=!0,"value"in pe&&(pe.writable=!0),Object.defineProperty(ae,pe.key,pe)}}function T(ae,ce,be){return ce&&J(ae.prototype,ce),be&&J(ae,be),ae}function V(ae,ce){if(typeof ce!="function"&&ce!==null)throw new TypeError("Super expression must either be null or a function");ae.prototype=Object.create(ce&&ce.prototype,{constructor:{value:ae,writable:!0,configurable:!0}}),ce&&L(ae,ce)}function L(ae,ce){return L=Object.setPrototypeOf||function(pe,h){return pe.__proto__=h,pe},L(ae,ce)}function c(ae){var ce=X();return function(){var pe=g(ae),h;if(ce){var te=g(this).constructor;h=Reflect.construct(pe,arguments,te)}else h=pe.apply(this,arguments);return R(this,h)}}function R(ae,ce){return ce&&(se(ce)==="object"||typeof ce=="function")?ce:B(ae)}function B(ae){if(ae===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ae}function X(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(ae){return!1}}function g(ae){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(be){return be.__proto__||Object.getPrototypeOf(be)},g(ae)}function p(ae,ce){var be=Object.keys(ae);if(Object.getOwnPropertySymbols){var pe=Object.getOwnPropertySymbols(ae);ce&&(pe=pe.filter(function(h){return Object.getOwnPropertyDescriptor(ae,h).enumerable})),be.push.apply(be,pe)}return be}function O(ae){for(var ce=1;ce<arguments.length;ce++){var be=arguments[ce]!=null?arguments[ce]:{};ce%2?p(Object(be),!0).forEach(function(pe){I(ae,pe,be[pe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ae,Object.getOwnPropertyDescriptors(be)):p(Object(be)).forEach(function(pe){Object.defineProperty(ae,pe,Object.getOwnPropertyDescriptor(be,pe))})}return ae}function I(ae,ce,be){return ce in ae?Object.defineProperty(ae,ce,{value:be,enumerable:!0,configurable:!0,writable:!0}):ae[ce]=be,ae}var E={x:"clientWidth",y:"clientHeight"},K={x:"clientTop",y:"clientLeft"},d={x:"innerWidth",y:"innerHeight"},i={x:"offsetWidth",y:"offsetHeight"},x={x:"offsetLeft",y:"offsetTop"},A={x:"overflowX",y:"overflowY"},w={x:"scrollWidth",y:"scrollHeight"},C={x:"scrollLeft",y:"scrollTop"},U={x:"width",y:"height"},F=function(){},Y=function(){if(typeof window=="undefined")return!1;var ae=!1;try{document.createElement("div").addEventListener("test",F,{get passive(){return ae=!0,!1}})}catch(ce){}return ae}()?{passive:!0}:!1,le="ReactList failed to reach a stable state.",ie=40,j=function(ce,be){for(var pe in be)if(ce[pe]!==be[pe])return!1;return!0},ue=function(ce){for(var be=ce.props.axis,pe=ce.getEl(),h=A[be];pe=pe.parentElement;)switch(window.getComputedStyle(pe)[h]){case"auto":case"scroll":case"overlay":return pe}return window},P=function(ce){var be=ce.props.axis,pe=ce.scrollParent;return pe===window?window[d[be]]:pe[E[be]]},Z=function(ce,be){var pe=ce.length,h=ce.minSize,te=ce.type,Q=be.from,we=be.size,Se=be.itemsPerRow;we=Math.max(we,h);var Ne=we%Se;return Ne&&(we+=Se-Ne),we>pe&&(we=pe),Q=te==="simple"||!Q?0:Math.max(Math.min(Q,pe-we),0),(Ne=Q%Se)&&(Q-=Ne,we+=Ne),Q===be.from&&we==be.size?be:O(O({},be),{},{from:Q,size:we})};_e.exports=(M=v=function(ae){V(be,ae);var ce=c(be);T(be,null,[{key:"getDerivedStateFromProps",value:function(h,te){var Q=Z(h,te);return Q===te?null:Q}}]);function be(pe){var h;return S(this,be),h=ce.call(this,pe),h.state=Z(pe,{itemsPerRow:1,from:pe.initialIndex,size:0}),h.cache={},h.cachedScrollPosition=null,h.prevPrevState={},h.unstable=!1,h.updateCounter=0,h}return T(be,[{key:"componentDidMount",value:function(){this.updateFrameAndClearCache=this.updateFrameAndClearCache.bind(this),window.addEventListener("resize",this.updateFrameAndClearCache),this.updateFrame(this.scrollTo.bind(this,this.props.initialIndex))}},{key:"componentDidUpdate",value:function(h){var te=this;if(this.props.axis!==h.axis&&this.clearSizeCache(),!this.unstable){if(++this.updateCounter>ie)return this.unstable=!0,console.error(le);this.updateCounterTimeoutId||(this.updateCounterTimeoutId=setTimeout(function(){te.updateCounter=0,delete te.updateCounterTimeoutId},0)),this.updateFrame()}}},{key:"maybeSetState",value:function(h,te){if(j(this.state,h))return te();this.setState(h,te)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.updateFrameAndClearCache),this.scrollParent.removeEventListener("scroll",this.updateFrameAndClearCache,Y),this.scrollParent.removeEventListener("mousewheel",F,Y)}},{key:"getOffset",value:function(h){var te=this.props.axis,Q=h[K[te]]||0,we=x[te];do Q+=h[we]||0;while(h=h.offsetParent);return Q}},{key:"getEl",value:function(){return this.el||this.items}},{key:"getScrollPosition",value:function(){if(typeof this.cachedScrollPosition=="number")return this.cachedScrollPosition;var h=this.scrollParent,te=this.props.axis,Q=C[te],we=h===window?document.body[Q]||document.documentElement[Q]:h[Q],Se=this.getScrollSize()-this.props.scrollParentViewportSizeGetter(this),Ne=Math.max(0,Math.min(we,Se)),ze=this.getEl();return this.cachedScrollPosition=this.getOffset(h)+Ne-this.getOffset(ze),this.cachedScrollPosition}},{key:"setScroll",value:function(h){var te=this.scrollParent,Q=this.props.axis;if(h+=this.getOffset(this.getEl()),te===window)return window.scrollTo(0,h);h-=this.getOffset(this.scrollParent),te[C[Q]]=h}},{key:"getScrollSize",value:function(){var h=this.scrollParent,te=document,Q=te.body,we=te.documentElement,Se=w[this.props.axis];return h===window?Math.max(Q[Se],we[Se]):h[Se]}},{key:"hasDeterminateSize",value:function(){var h=this.props,te=h.itemSizeGetter,Q=h.type;return Q==="uniform"||te}},{key:"getStartAndEnd",value:function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.threshold,te=this.getScrollPosition(),Q=Math.max(0,te-h),we=te+this.props.scrollParentViewportSizeGetter(this)+h;return this.hasDeterminateSize()&&(we=Math.min(we,this.getSpaceBefore(this.props.length))),{start:Q,end:we}}},{key:"getItemSizeAndItemsPerRow",value:function(){var h=this.props,te=h.axis,Q=h.useStaticSize,we=this.state,Se=we.itemSize,Ne=we.itemsPerRow;if(Q&&Se&&Ne)return{itemSize:Se,itemsPerRow:Ne};var ze=this.items.children;if(!ze.length)return{};var Je=ze[0],qe=Je[i[te]],Me=Math.abs(qe-Se);if((isNaN(Me)||Me>=1)&&(Se=qe),!Se)return{};var Fe=x[te],Ue=Je[Fe];Ne=1;for(var he=ze[Ne];he&&he[Fe]===Ue;he=ze[Ne])++Ne;return{itemSize:Se,itemsPerRow:Ne}}},{key:"clearSizeCache",value:function(){this.cachedScrollPosition=null}},{key:"updateFrameAndClearCache",value:function(h){return this.clearSizeCache(),this.updateFrame(h)}},{key:"updateFrame",value:function(h){switch(this.updateScrollParent(),typeof h!="function"&&(h=F),this.props.type){case"simple":return this.updateSimpleFrame(h);case"variable":return this.updateVariableFrame(h);case"uniform":return this.updateUniformFrame(h)}}},{key:"updateScrollParent",value:function(){var h=this.scrollParent;this.scrollParent=this.props.scrollParentGetter(this),h!==this.scrollParent&&(h&&(h.removeEventListener("scroll",this.updateFrameAndClearCache),h.removeEventListener("mousewheel",F)),this.clearSizeCache(),this.scrollParent.addEventListener("scroll",this.updateFrameAndClearCache,Y),this.scrollParent.addEventListener("mousewheel",F,Y))}},{key:"updateSimpleFrame",value:function(h){var te=this.getStartAndEnd(),Q=te.end,we=this.items.children,Se=0;if(we.length){var Ne=this.props.axis,ze=we[0],Je=we[we.length-1];Se=this.getOffset(Je)+Je[i[Ne]]-this.getOffset(ze)}if(Se>Q)return h();var qe=this.props,Me=qe.pageSize,Fe=qe.length,Ue=Math.min(this.state.size+Me,Fe);this.maybeSetState({size:Ue},h)}},{key:"updateVariableFrame",value:function(h){this.props.itemSizeGetter||this.cacheSizes();for(var te=this.getStartAndEnd(),Q=te.start,we=te.end,Se=this.props,Ne=Se.length,ze=Se.pageSize,Je=0,qe=0,Me=0,Fe=Ne-1;qe<Fe;){var Ue=this.getSizeOfItem(qe);if(Ue==null||Je+Ue>Q)break;Je+=Ue,++qe}for(var he=Ne-qe;Me<he&&Je<we;){var xe=this.getSizeOfItem(qe+Me);if(xe==null){Me=Math.min(Me+ze,he);break}Je+=xe,++Me}this.maybeSetState(Z(this.props,{from:qe,itemsPerRow:1,size:Me}),h)}},{key:"updateUniformFrame",value:function(h){var te=this.getItemSizeAndItemsPerRow(),Q=te.itemSize,we=te.itemsPerRow;if(!Q||!we)return h();var Se=this.getStartAndEnd(),Ne=Se.start,ze=Se.end,Je=Z(this.props,{from:Math.floor(Ne/Q)*we,size:(Math.ceil((ze-Ne)/Q)+1)*we,itemsPerRow:we}),qe=Je.from,Me=Je.size;return this.maybeSetState({itemsPerRow:we,from:qe,itemSize:Q,size:Me},h)}},{key:"getSpaceBefore",value:function(h){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(te[h]!=null)return te[h];var Q=this.state,we=Q.itemSize,Se=Q.itemsPerRow;if(we)return te[h]=Math.floor(h/Se)*we;for(var Ne=h;Ne>0&&te[--Ne]==null;);for(var ze=te[Ne]||0,Je=Ne;Je<h;++Je){te[Je]=ze;var qe=this.getSizeOfItem(Je);if(qe==null)break;ze+=qe}return te[h]=ze}},{key:"cacheSizes",value:function(){for(var h=this.cache,te=this.state.from,Q=this.items.children,we=i[this.props.axis],Se=0,Ne=Q.length;Se<Ne;++Se)h[te+Se]=Q[Se][we]}},{key:"getSizeOfItem",value:function(h){var te=this.cache,Q=this.items,we=this.props,Se=we.axis,Ne=we.itemSizeGetter,ze=we.itemSizeEstimator,Je=we.type,qe=this.state,Me=qe.from,Fe=qe.itemSize,Ue=qe.size;if(Fe)return Fe;if(Ne)return Ne(h);if(h in te)return te[h];if(Je==="simple"&&h>=Me&&h<Me+Ue&&Q){var he=Q.children[h-Me];if(he)return he[i[Se]]}if(ze)return ze(h,te)}},{key:"scrollTo",value:function(h){h!=null&&this.setScroll(this.getSpaceBefore(h))}},{key:"scrollAround",value:function(h){var te=this.getScrollPosition(),Q=this.getSpaceBefore(h),we=Q-this.props.scrollParentViewportSizeGetter(this)+this.getSizeOfItem(h),Se=Math.min(we,Q),Ne=Math.max(we,Q);if(te<=Se)return this.setScroll(Se);if(te>Ne)return this.setScroll(Ne)}},{key:"getVisibleRange",value:function(){for(var h=this.state,te=h.from,Q=h.size,we=this.getStartAndEnd(0),Se=we.start,Ne=we.end,ze={},Je,qe,Me=te;Me<te+Q;++Me){var Fe=this.getSpaceBefore(Me,ze),Ue=Fe+this.getSizeOfItem(Me);Je==null&&Ue>Se&&(Je=Me),Je!=null&&Fe<Ne&&(qe=Me)}return[Je,qe]}},{key:"renderItems",value:function(){for(var h=this,te=this.props,Q=te.itemRenderer,we=te.itemsRenderer,Se=this.state,Ne=Se.from,ze=Se.size,Je=[],qe=0;qe<ze;++qe)Je.push(Q(Ne+qe,qe));return we(Je,function(Me){return h.items=Me})}},{key:"render",value:function(){var h=this,te=this.props,Q=te.axis,we=te.length,Se=te.type,Ne=te.useTranslate3d,ze=this.state,Je=ze.from,qe=ze.itemsPerRow,Me=this.renderItems();if(Se==="simple")return Me;var Fe={position:"relative"},Ue={},he=Math.ceil(we/qe)*qe,xe=this.getSpaceBefore(he,Ue);xe&&(Fe[U[Q]]=xe,Q==="x"&&(Fe.overflowX="hidden"));var q=this.getSpaceBefore(Je,Ue),me=Q==="x"?q:0,De=Q==="y"?q:0,Te=Ne?"translate3d(".concat(me,"px, ").concat(De,"px, 0)"):"translate(".concat(me,"px, ").concat(De,"px)"),Oe={msTransform:Te,WebkitTransform:Te,transform:Te};return m.default.createElement("div",{style:Fe,ref:function(Ft){return h.el=Ft}},m.default.createElement("div",{style:Oe},Me))}}]),be}(m.Component),I(v,"displayName","ReactList"),I(v,"propTypes",{axis:u.default.oneOf(["x","y"]),initialIndex:u.default.number,itemRenderer:u.default.func,itemSizeEstimator:u.default.func,itemSizeGetter:u.default.func,itemsRenderer:u.default.func,length:u.default.number,minSize:u.default.number,pageSize:u.default.number,scrollParentGetter:u.default.func,scrollParentViewportSizeGetter:u.default.func,threshold:u.default.number,type:u.default.oneOf(["simple","variable","uniform"]),useStaticSize:u.default.bool,useTranslate3d:u.default.bool}),I(v,"defaultProps",{axis:"y",itemRenderer:function(ce,be){return m.default.createElement("div",{key:be},ce)},itemsRenderer:function(ce,be){return m.default.createElement("div",{ref:be},ce)},length:0,minSize:1,pageSize:10,scrollParentGetter:ue,scrollParentViewportSizeGetter:P,threshold:100,type:"simple",useStaticSize:!1,useTranslate3d:!1}),M)})},12384:function(_e,$,t){"use strict";t.d($,{zt:function(){return be},I0:function(){return Q},v9:function(){return g}});var n=t(50635),f=t(49654),l=t(73961);function u(we){we()}let m=u;const v=we=>m=we,M=()=>m;var ee=t(89526);const W=Symbol.for("react-redux-context"),re=typeof globalThis!="undefined"?globalThis:{};function se(){var we;if(!ee.createContext)return{};const Se=(we=re[W])!=null?we:re[W]=new Map;let Ne=Se.get(ee.createContext);return Ne||(Ne=ee.createContext(null),Se.set(ee.createContext,Ne)),Ne}const S=se();var J=null;function T(we=S){return function(){return(0,ee.useContext)(we)}}const V=T();let c=()=>{throw new Error("uSES not initialized!")};const R=we=>{c=we},B=(we,Se)=>we===Se;function X(we=S){const Se=we===S?V:T(we);return function(ze,Je={}){const{equalityFn:qe=B,stabilityCheck:Me=void 0,noopCheck:Fe=void 0}=typeof Je=="function"?{equalityFn:Je}:Je,{store:Ue,subscription:he,getServerState:xe,stabilityCheck:q,noopCheck:me}=Se(),De=(0,ee.useRef)(!0),Te=(0,ee.useCallback)({[ze.name](st){return ze(st)}}[ze.name],[ze,q,Me]),Oe=c(he.addNestedSub,Ue.getState,xe||Ue.getState,Te,qe);return(0,ee.useDebugValue)(Oe),Oe}}const g=X();var p=t(41281),O=t(8206);function I(){const we=M();let Se=null,Ne=null;return{clear(){Se=null,Ne=null},notify(){we(()=>{let ze=Se;for(;ze;)ze.callback(),ze=ze.next})},get(){let ze=[],Je=Se;for(;Je;)ze.push(Je),Je=Je.next;return ze},subscribe(ze){let Je=!0,qe=Ne={callback:ze,next:null,prev:Ne};return qe.prev?qe.prev.next=qe:Se=qe,function(){!Je||Se===null||(Je=!1,qe.next?qe.next.prev=qe.prev:Ne=qe.prev,qe.prev?qe.prev.next=qe.next:Se=qe.next)}}}}const E={notify(){},get:()=>[]};function K(we,Se){let Ne,ze=E;function Je(q){return Ue(),ze.subscribe(q)}function qe(){ze.notify()}function Me(){xe.onStateChange&&xe.onStateChange()}function Fe(){return Boolean(Ne)}function Ue(){Ne||(Ne=Se?Se.addNestedSub(Me):we.subscribe(Me),ze=I())}function he(){Ne&&(Ne(),Ne=void 0,ze.clear(),ze=E)}const xe={addNestedSub:Je,notifyNestedSubs:qe,handleChangeWrapper:Me,isSubscribed:Fe,trySubscribe:Ue,tryUnsubscribe:he,getListeners:()=>ze};return xe}const i=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?ee.useLayoutEffect:ee.useEffect,x=null;let A=null;const w=we=>{A=we},C=null,U=null,F=we=>{try{return JSON.stringify(we)}catch(Se){return String(we)}};function Y(we,Se,Ne){useIsomorphicLayoutEffect(()=>we(...Se),Ne)}function le(we,Se,Ne,ze,Je,qe){we.current=ze,Ne.current=!1,Je.current&&(Je.current=null,qe())}function ie(we,Se,Ne,ze,Je,qe,Me,Fe,Ue,he,xe){if(!we)return()=>{};let q=!1,me=null;const De=()=>{if(q||!Fe.current)return;const Oe=Se.getState();let st,Ft;try{st=ze(Oe,Je.current)}catch(Qt){Ft=Qt,me=Qt}Ft||(me=null),st===qe.current?Me.current||he():(qe.current=st,Ue.current=st,Me.current=!0,xe())};return Ne.onStateChange=De,Ne.trySubscribe(),De(),()=>{if(q=!0,Ne.tryUnsubscribe(),Ne.onStateChange=null,me)throw me}}const j=()=>C;function ue(we,Se){return we===Se}let P=!1;function Z(we,Se,Ne,{pure:ze,areStatesEqual:Je=ue,areOwnPropsEqual:qe=shallowEqual,areStatePropsEqual:Me=shallowEqual,areMergedPropsEqual:Fe=shallowEqual,forwardRef:Ue=!1,context:he=ReactReduxContext}={}){const xe=he,q=mapStateToPropsFactory(we),me=mapDispatchToPropsFactory(Se),De=mergePropsFactory(Ne),Te=Boolean(we);return st=>{const Ft=st.displayName||st.name||"Component",Qt=`Connect(${Ft})`,Vt={shouldHandleStateChanges:Te,displayName:Qt,wrappedComponentName:Ft,WrappedComponent:st,initMapStateToProps:q,initMapDispatchToProps:me,initMergeProps:De,areStatesEqual:Je,areStatePropsEqual:Me,areOwnPropsEqual:qe,areMergedPropsEqual:Fe};function Gt(Rr){const[Gr,zr,pr]=React.useMemo(()=>{const{reactReduxForwardedRef:sr}=Rr,Kr=_objectWithoutPropertiesLoose(Rr,x);return[Rr.context,sr,Kr]},[Rr]),vn=React.useMemo(()=>Gr&&Gr.Consumer&&isContextConsumer(React.createElement(Gr.Consumer,null))?Gr:xe,[Gr,xe]),fn=React.useContext(vn),Zt=Boolean(Rr.store)&&Boolean(Rr.store.getState)&&Boolean(Rr.store.dispatch),St=Boolean(fn)&&Boolean(fn.store),Wt=Zt?Rr.store:fn.store,Nt=St?fn.getServerState:Wt.getState,dt=React.useMemo(()=>defaultSelectorFactory(Wt.dispatch,Vt),[Wt]),[nr,et]=React.useMemo(()=>{if(!Te)return U;const sr=createSubscription(Wt,Zt?void 0:fn.subscription),Kr=sr.notifyNestedSubs.bind(sr);return[sr,Kr]},[Wt,Zt,fn]),Tt=React.useMemo(()=>Zt?fn:_extends({},fn,{subscription:nr}),[Zt,fn,nr]),Rt=React.useRef(),or=React.useRef(pr),ir=React.useRef(),Qr=React.useRef(!1),ft=React.useRef(!1),tr=React.useRef(!1),gr=React.useRef();useIsomorphicLayoutEffect(()=>(tr.current=!0,()=>{tr.current=!1}),[]);const ar=React.useMemo(()=>()=>ir.current&&pr===or.current?ir.current:dt(Wt.getState(),pr),[Wt,pr]),rt=React.useMemo(()=>Kr=>nr?ie(Te,Wt,nr,dt,or,Rt,Qr,tr,ir,et,Kr):()=>{},[nr]);Y(le,[or,Rt,Qr,pr,ir,et]);let kt;try{kt=A(rt,ar,Nt?()=>dt(Nt(),pr):ar)}catch(sr){throw gr.current&&(sr.message+=`
The error may be correlated with this previous error:
${gr.current.stack}

`),sr}useIsomorphicLayoutEffect(()=>{gr.current=void 0,ir.current=void 0,Rt.current=kt});const At=React.useMemo(()=>React.createElement(st,_extends({},kt,{ref:zr})),[zr,st,kt]);return React.useMemo(()=>Te?React.createElement(vn.Provider,{value:Tt},At):At,[vn,At,Tt])}const Lr=React.memo(Gt);if(Lr.WrappedComponent=st,Lr.displayName=Gt.displayName=Qt,Ue){const Gr=React.forwardRef(function(pr,vn){return React.createElement(Lr,_extends({},pr,{reactReduxForwardedRef:vn}))});return Gr.displayName=Qt,Gr.WrappedComponent=st,hoistStatics(Gr,st)}return hoistStatics(Lr,st)}}var ae=null;function ce({store:we,context:Se,children:Ne,serverState:ze,stabilityCheck:Je="once",noopCheck:qe="once"}){const Me=ee.useMemo(()=>{const he=K(we);return{store:we,subscription:he,getServerState:ze?()=>ze:void 0,stabilityCheck:Je,noopCheck:qe}},[we,ze,Je,qe]),Fe=ee.useMemo(()=>we.getState(),[we]);i(()=>{const{subscription:he}=Me;return he.onStateChange=he.notifyNestedSubs,he.trySubscribe(),Fe!==we.getState()&&he.notifyNestedSubs(),()=>{he.tryUnsubscribe(),he.onStateChange=void 0}},[Me,Fe]);const Ue=Se||S;return ee.createElement(Ue.Provider,{value:Me},Ne)}var be=ce;function pe(we=S){const Se=we===S?V:T(we);return function(){const{store:ze}=Se();return ze}}const h=pe();function te(we=S){const Se=we===S?h:pe(we);return function(){return Se().dispatch}}const Q=te();R(f.useSyncExternalStoreWithSelector),w(n.useSyncExternalStore),v(l.unstable_batchedUpdates)},7913:function(_e,$){"use strict";var t;/**
 * @license React
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var n=Symbol.for("react.element"),f=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),v=Symbol.for("react.provider"),M=Symbol.for("react.context"),ee=Symbol.for("react.server_context"),W=Symbol.for("react.forward_ref"),re=Symbol.for("react.suspense"),se=Symbol.for("react.suspense_list"),S=Symbol.for("react.memo"),J=Symbol.for("react.lazy"),T=Symbol.for("react.offscreen"),V;V=Symbol.for("react.module.reference");function L(c){if(typeof c=="object"&&c!==null){var R=c.$$typeof;switch(R){case n:switch(c=c.type,c){case l:case m:case u:case re:case se:return c;default:switch(c=c&&c.$$typeof,c){case ee:case M:case W:case J:case S:case v:return c;default:return R}}case f:return R}}}t=M,t=v,t=n,t=W,t=l,t=J,t=S,t=f,t=m,t=u,t=re,t=se,t=function(){return!1},t=function(){return!1},t=function(c){return L(c)===M},t=function(c){return L(c)===v},t=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===n},t=function(c){return L(c)===W},t=function(c){return L(c)===l},t=function(c){return L(c)===J},t=function(c){return L(c)===S},t=function(c){return L(c)===f},t=function(c){return L(c)===m},t=function(c){return L(c)===u},t=function(c){return L(c)===re},t=function(c){return L(c)===se},t=function(c){return typeof c=="string"||typeof c=="function"||c===l||c===m||c===u||c===re||c===se||c===T||typeof c=="object"&&c!==null&&(c.$$typeof===J||c.$$typeof===S||c.$$typeof===v||c.$$typeof===M||c.$$typeof===W||c.$$typeof===V||c.getModuleId!==void 0)},t=L},8206:function(_e,$,t){"use strict";t(7913)},49902:function(_e,$,t){"use strict";t.d($,{VK:function(){return W},rU:function(){return S}});var n=t(89526),f=t(52585),l=t(21081);/**
 * React Router DOM v6.0.2
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function u(){return u=Object.assign||function(c){for(var R=1;R<arguments.length;R++){var B=arguments[R];for(var X in B)Object.prototype.hasOwnProperty.call(B,X)&&(c[X]=B[X])}return c},u.apply(this,arguments)}function m(c,R){if(c==null)return{};var B={},X=Object.keys(c),g,p;for(p=0;p<X.length;p++)g=X[p],!(R.indexOf(g)>=0)&&(B[g]=c[g]);return B}const v=["onClick","reloadDocument","replace","state","target","to"],M=null;function ee(c,R){if(!c){typeof console!="undefined"&&console.warn(R);try{throw new Error(R)}catch(B){}}}function W(c){let{basename:R,children:B,window:X}=c,g=(0,n.useRef)();g.current==null&&(g.current=(0,f.lX)({window:X}));let p=g.current,[O,I]=(0,n.useState)({action:p.action,location:p.location});return(0,n.useLayoutEffect)(()=>p.listen(I),[p]),(0,n.createElement)(l.F0,{basename:R,children:B,location:O.location,navigationType:O.action,navigator:p})}function re(c){let{basename:R,children:B,window:X}=c,g=useRef();g.current==null&&(g.current=createHashHistory({window:X}));let p=g.current,[O,I]=useState({action:p.action,location:p.location});return useLayoutEffect(()=>p.listen(I),[p]),createElement(Router,{basename:R,children:B,location:O.location,navigationType:O.action,navigator:p})}function se(c){return!!(c.metaKey||c.altKey||c.ctrlKey||c.shiftKey)}const S=(0,n.forwardRef)(function(R,B){let{onClick:X,reloadDocument:g,replace:p=!1,state:O,target:I,to:E}=R,K=m(R,v),d=(0,l.oQ)(E),i=T(E,{replace:p,state:O,target:I});function x(A){X&&X(A),!A.defaultPrevented&&!g&&i(A)}return(0,n.createElement)("a",u({},K,{href:d,onClick:x,ref:B,target:I}))}),J=null;function T(c,R){let{target:B,replace:X,state:g}=R===void 0?{}:R,p=(0,l.s0)(),O=(0,l.TH)(),I=(0,l.WU)(c);return(0,n.useCallback)(E=>{if(E.button===0&&(!B||B==="_self")&&!se(E)){E.preventDefault();let K=!!X||(0,f.Ep)(O)===(0,f.Ep)(I);p(c,{replace:K,state:g})}},[O,p,I,X,g,B,c])}function V(c){let R=useRef(L(c)),B=useLocation(),X=useMemo(()=>{let O=L(B.search);for(let I of R.current.keys())O.has(I)||R.current.getAll(I).forEach(E=>{O.append(I,E)});return O},[B.search]),g=useNavigate(),p=useCallback((O,I)=>{g("?"+L(O),I)},[g]);return[X,p]}function L(c){return c===void 0&&(c=""),new URLSearchParams(typeof c=="string"||Array.isArray(c)||c instanceof URLSearchParams?c:Object.keys(c).reduce((R,B)=>{let X=c[B];return R.concat(Array.isArray(X)?X.map(g=>[B,g]):[[B,X]])},[]))}},21081:function(_e,$,t){"use strict";t.d($,{AW:function(){return J},F0:function(){return T},Fg:function(){return se},TH:function(){return R},UO:function(){return O},WU:function(){return I},Z5:function(){return V},oQ:function(){return L},s0:function(){return g}});var n=t(89526),f=t(52585);/**
 * React Router v6.0.2
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function l(Me,Fe){if(!Me)throw new Error(Fe)}function u(Me,Fe){if(!Me){typeof console!="undefined"&&console.warn(Fe);try{throw new Error(Fe)}catch(Ue){}}}const m={};function v(Me,Fe,Ue){!Fe&&!m[Me]&&(m[Me]=!0)}const M=(0,n.createContext)(null),ee=(0,n.createContext)(null),W=(0,n.createContext)({outlet:null,matches:[]});function re(Me){let{basename:Fe,children:Ue,initialEntries:he,initialIndex:xe}=Me,q=useRef();q.current==null&&(q.current=createMemoryHistory({initialEntries:he,initialIndex:xe}));let me=q.current,[De,Te]=useState({action:me.action,location:me.location});return useLayoutEffect(()=>me.listen(Te),[me]),createElement(T,{basename:Fe,children:Ue,location:De.location,navigationType:De.action,navigator:me})}function se(Me){let{to:Fe,replace:Ue,state:he}=Me;c()||l(!1);let xe=g();return(0,n.useEffect)(()=>{xe(Fe,{replace:Ue,state:he})}),null}function S(Me){return p()}function J(Me){l(!1)}function T(Me){let{basename:Fe="/",children:Ue=null,location:he,navigationType:xe=f.aU.Pop,navigator:q,static:me=!1}=Me;c()&&l(!1);let De=ze(Fe),Te=(0,n.useMemo)(()=>({basename:De,navigator:q,static:me}),[De,q,me]);typeof he=="string"&&(he=(0,f.cP)(he));let{pathname:Oe="/",search:st="",hash:Ft="",state:Qt=null,key:Vt="default"}=he,Gt=(0,n.useMemo)(()=>{let Jt=Se(Oe,De);return Jt==null?null:{pathname:Jt,search:st,hash:Ft,state:Qt,key:Vt}},[De,Oe,st,Ft,Qt,Vt]);return Gt==null?null:(0,n.createElement)(M.Provider,{value:Te},(0,n.createElement)(ee.Provider,{children:Ue,value:{location:Gt,navigationType:xe}}))}function V(Me){let{children:Fe,location:Ue}=Me;return E(K(Fe),Ue)}function L(Me){c()||l(!1);let{basename:Fe,navigator:Ue}=(0,n.useContext)(M),{hash:he,pathname:xe,search:q}=I(Me),me=xe;if(Fe!=="/"){let De=we(Me),Te=De!=null&&De.endsWith("/");me=xe==="/"?Fe+(Te?"/":""):Ne([Fe,xe])}return Ue.createHref({pathname:me,search:q,hash:he})}function c(){return(0,n.useContext)(ee)!=null}function R(){return c()||l(!1),(0,n.useContext)(ee).location}function B(){return useContext(ee).navigationType}function X(Me){return c()||l(!1),ce(Me,R().pathname)}function g(){c()||l(!1);let{basename:Me,navigator:Fe}=(0,n.useContext)(M),{matches:Ue}=(0,n.useContext)(W),{pathname:he}=R(),xe=JSON.stringify(Ue.map(De=>De.pathnameBase)),q=(0,n.useRef)(!1);return(0,n.useEffect)(()=>{q.current=!0}),(0,n.useCallback)(function(De,Te){if(Te===void 0&&(Te={}),!q.current)return;if(typeof De=="number"){Fe.go(De);return}let Oe=Q(De,JSON.parse(xe),he);Me!=="/"&&(Oe.pathname=Ne([Me,Oe.pathname])),(Te.replace?Fe.replace:Fe.push)(Oe,Te.state)},[Me,Fe,xe,he])}function p(){return(0,n.useContext)(W).outlet}function O(){let{matches:Me}=(0,n.useContext)(W),Fe=Me[Me.length-1];return Fe?Fe.params:{}}function I(Me){let{matches:Fe}=(0,n.useContext)(W),{pathname:Ue}=R(),he=JSON.stringify(Fe.map(xe=>xe.pathnameBase));return(0,n.useMemo)(()=>Q(Me,JSON.parse(he),Ue),[Me,he,Ue])}function E(Me,Fe){c()||l(!1);let{matches:Ue}=(0,n.useContext)(W),he=Ue[Ue.length-1],xe=he?he.params:{},q=he?he.pathname:"/",me=he?he.pathnameBase:"/",De=he&&he.route,Te=R(),Oe;if(Fe){var st;let Gt=typeof Fe=="string"?(0,f.cP)(Fe):Fe;me==="/"||(st=Gt.pathname)!=null&&st.startsWith(me)||l(!1),Oe=Gt}else Oe=Te;let Ft=Oe.pathname||"/",Qt=me==="/"?Ft:Ft.slice(me.length)||"/",Vt=i(Me,{pathname:Qt});return ae(Vt&&Vt.map(Gt=>Object.assign({},Gt,{params:Object.assign({},xe,Gt.params),pathname:Ne([me,Gt.pathname]),pathnameBase:Gt.pathnameBase==="/"?me:Ne([me,Gt.pathnameBase])})),Ue)}function K(Me){let Fe=[];return n.Children.forEach(Me,Ue=>{if(!(0,n.isValidElement)(Ue))return;if(Ue.type===n.Fragment){Fe.push.apply(Fe,K(Ue.props.children));return}Ue.type!==J&&l(!1);let he={caseSensitive:Ue.props.caseSensitive,element:Ue.props.element,index:Ue.props.index,path:Ue.props.path};Ue.props.children&&(he.children=K(Ue.props.children)),Fe.push(he)}),Fe}function d(Me,Fe){return Fe===void 0&&(Fe={}),Me.replace(/:(\w+)/g,(Ue,he)=>(Fe[he]==null&&l(!1),Fe[he])).replace(/\/*\*$/,Ue=>Fe["*"]==null?"":Fe["*"].replace(/^\/*/,"/"))}function i(Me,Fe,Ue){Ue===void 0&&(Ue="/");let he=typeof Fe=="string"?(0,f.cP)(Fe):Fe,xe=Se(he.pathname||"/",Ue);if(xe==null)return null;let q=x(Me);A(q);let me=null;for(let De=0;me==null&&De<q.length;++De)me=P(q[De],Me,xe);return me}function x(Me,Fe,Ue,he){return Fe===void 0&&(Fe=[]),Ue===void 0&&(Ue=[]),he===void 0&&(he=""),Me.forEach((xe,q)=>{let me={relativePath:xe.path||"",caseSensitive:xe.caseSensitive===!0,childrenIndex:q};me.relativePath.startsWith("/")&&(me.relativePath.startsWith(he)||l(!1),me.relativePath=me.relativePath.slice(he.length));let De=Ne([he,me.relativePath]),Te=Ue.concat(me);xe.children&&xe.children.length>0&&(xe.index===!0&&l(!1),x(xe.children,Fe,Te,De)),!(xe.path==null&&!xe.index)&&Fe.push({path:De,score:j(De,xe.index),routesMeta:Te})}),Fe}function A(Me){Me.sort((Fe,Ue)=>Fe.score!==Ue.score?Ue.score-Fe.score:ue(Fe.routesMeta.map(he=>he.childrenIndex),Ue.routesMeta.map(he=>he.childrenIndex)))}const w=/^:\w+$/,C=3,U=2,F=1,Y=10,le=-2,ie=Me=>Me==="*";function j(Me,Fe){let Ue=Me.split("/"),he=Ue.length;return Ue.some(ie)&&(he+=le),Fe&&(he+=U),Ue.filter(xe=>!ie(xe)).reduce((xe,q)=>xe+(w.test(q)?C:q===""?F:Y),he)}function ue(Me,Fe){return Me.length===Fe.length&&Me.slice(0,-1).every((he,xe)=>he===Fe[xe])?Me[Me.length-1]-Fe[Fe.length-1]:0}function P(Me,Fe,Ue){let he=Fe,{routesMeta:xe}=Me,q={},me="/",De=[];for(let Te=0;Te<xe.length;++Te){let Oe=xe[Te],st=Te===xe.length-1,Ft=me==="/"?Ue:Ue.slice(me.length)||"/",Qt=ce({path:Oe.relativePath,caseSensitive:Oe.caseSensitive,end:st},Ft);if(!Qt)return null;Object.assign(q,Qt.params);let Vt=he[Oe.childrenIndex];De.push({params:q,pathname:Ne([me,Qt.pathname]),pathnameBase:Ne([me,Qt.pathnameBase]),route:Vt}),Qt.pathnameBase!=="/"&&(me=Ne([me,Qt.pathnameBase])),he=Vt.children}return De}function Z(Me){return ae(Me)}function ae(Me,Fe){return Fe===void 0&&(Fe=[]),Me==null?null:Me.reduceRight((Ue,he,xe)=>(0,n.createElement)(W.Provider,{children:he.route.element!==void 0?he.route.element:(0,n.createElement)(S,null),value:{outlet:Ue,matches:Fe.concat(Me.slice(0,xe+1))}}),null)}function ce(Me,Fe){typeof Me=="string"&&(Me={path:Me,caseSensitive:!1,end:!0});let[Ue,he]=be(Me.path,Me.caseSensitive,Me.end),xe=Fe.match(Ue);if(!xe)return null;let q=xe[0],me=q.replace(/(.)\/+$/,"$1"),De=xe.slice(1);return{params:he.reduce((Oe,st,Ft)=>{if(st==="*"){let Qt=De[Ft]||"";me=q.slice(0,q.length-Qt.length).replace(/(.)\/+$/,"$1")}return Oe[st]=pe(De[Ft]||"",st),Oe},{}),pathname:q,pathnameBase:me,pattern:Me}}function be(Me,Fe,Ue){Fe===void 0&&(Fe=!1),Ue===void 0&&(Ue=!0);let he=[],xe="^"+Me.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(me,De)=>(he.push(De),"([^\\/]+)"));return Me.endsWith("*")?(he.push("*"),xe+=Me==="*"||Me==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):xe+=Ue?"\\/*$":"(?:\\b|$)",[new RegExp(xe,Fe?void 0:"i"),he]}function pe(Me,Fe){try{return decodeURIComponent(Me)}catch(Ue){return Me}}function h(Me,Fe){Fe===void 0&&(Fe="/");let{pathname:Ue,search:he="",hash:xe=""}=typeof Me=="string"?(0,f.cP)(Me):Me;return{pathname:Ue?Ue.startsWith("/")?Ue:te(Ue,Fe):Fe,search:Je(he),hash:qe(xe)}}function te(Me,Fe){let Ue=Fe.replace(/\/+$/,"").split("/");return Me.split("/").forEach(xe=>{xe===".."?Ue.length>1&&Ue.pop():xe!=="."&&Ue.push(xe)}),Ue.length>1?Ue.join("/"):"/"}function Q(Me,Fe,Ue){let he=typeof Me=="string"?(0,f.cP)(Me):Me,xe=Me===""||he.pathname===""?"/":he.pathname,q;if(xe==null)q=Ue;else{let De=Fe.length-1;if(xe.startsWith("..")){let Te=xe.split("/");for(;Te[0]==="..";)Te.shift(),De-=1;he.pathname=Te.join("/")}q=De>=0?Fe[De]:"/"}let me=h(he,q);return xe&&xe!=="/"&&xe.endsWith("/")&&!me.pathname.endsWith("/")&&(me.pathname+="/"),me}function we(Me){return Me===""||Me.pathname===""?"/":typeof Me=="string"?(0,f.cP)(Me).pathname:Me.pathname}function Se(Me,Fe){if(Fe==="/")return Me;if(!Me.toLowerCase().startsWith(Fe.toLowerCase()))return null;let Ue=Me.charAt(Fe.length);return Ue&&Ue!=="/"?null:Me.slice(Fe.length)||"/"}const Ne=Me=>Me.join("/").replace(/\/\/+/g,"/"),ze=Me=>Me.replace(/\/+$/,"").replace(/^\/*/,"/"),Je=Me=>!Me||Me==="?"?"":Me.startsWith("?")?Me:"?"+Me,qe=Me=>!Me||Me==="#"?"":Me.startsWith("#")?Me:"#"+Me},67958:function(_e,$,t){"use strict";t.d($,{ZP:function(){return V}});var n=t(63366),f=t(51721),l=t(89526),u=t(73961),m={disabled:!1},v=t(8821),M=function(c){return c.scrollTop},ee="unmounted",W="exited",re="entering",se="entered",S="exiting",J=function(L){(0,f.Z)(c,L);function c(B,X){var g;g=L.call(this,B,X)||this;var p=X,O=p&&!p.isMounting?B.enter:B.appear,I;return g.appearStatus=null,B.in?O?(I=W,g.appearStatus=re):I=se:B.unmountOnExit||B.mountOnEnter?I=ee:I=W,g.state={status:I},g.nextCallback=null,g}c.getDerivedStateFromProps=function(X,g){var p=X.in;return p&&g.status===ee?{status:W}:null};var R=c.prototype;return R.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},R.componentDidUpdate=function(X){var g=null;if(X!==this.props){var p=this.state.status;this.props.in?p!==re&&p!==se&&(g=re):(p===re||p===se)&&(g=S)}this.updateStatus(!1,g)},R.componentWillUnmount=function(){this.cancelNextCallback()},R.getTimeouts=function(){var X=this.props.timeout,g,p,O;return g=p=O=X,X!=null&&typeof X!="number"&&(g=X.exit,p=X.enter,O=X.appear!==void 0?X.appear:p),{exit:g,enter:p,appear:O}},R.updateStatus=function(X,g){if(X===void 0&&(X=!1),g!==null)if(this.cancelNextCallback(),g===re){if(this.props.unmountOnExit||this.props.mountOnEnter){var p=this.props.nodeRef?this.props.nodeRef.current:u.findDOMNode(this);p&&M(p)}this.performEnter(X)}else this.performExit();else this.props.unmountOnExit&&this.state.status===W&&this.setState({status:ee})},R.performEnter=function(X){var g=this,p=this.props.enter,O=this.context?this.context.isMounting:X,I=this.props.nodeRef?[O]:[u.findDOMNode(this),O],E=I[0],K=I[1],d=this.getTimeouts(),i=O?d.appear:d.enter;if(!X&&!p||m.disabled){this.safeSetState({status:se},function(){g.props.onEntered(E)});return}this.props.onEnter(E,K),this.safeSetState({status:re},function(){g.props.onEntering(E,K),g.onTransitionEnd(i,function(){g.safeSetState({status:se},function(){g.props.onEntered(E,K)})})})},R.performExit=function(){var X=this,g=this.props.exit,p=this.getTimeouts(),O=this.props.nodeRef?void 0:u.findDOMNode(this);if(!g||m.disabled){this.safeSetState({status:W},function(){X.props.onExited(O)});return}this.props.onExit(O),this.safeSetState({status:S},function(){X.props.onExiting(O),X.onTransitionEnd(p.exit,function(){X.safeSetState({status:W},function(){X.props.onExited(O)})})})},R.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},R.safeSetState=function(X,g){g=this.setNextCallback(g),this.setState(X,g)},R.setNextCallback=function(X){var g=this,p=!0;return this.nextCallback=function(O){p&&(p=!1,g.nextCallback=null,X(O))},this.nextCallback.cancel=function(){p=!1},this.nextCallback},R.onTransitionEnd=function(X,g){this.setNextCallback(g);var p=this.props.nodeRef?this.props.nodeRef.current:u.findDOMNode(this),O=X==null&&!this.props.addEndListener;if(!p||O){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var I=this.props.nodeRef?[this.nextCallback]:[p,this.nextCallback],E=I[0],K=I[1];this.props.addEndListener(E,K)}X!=null&&setTimeout(this.nextCallback,X)},R.render=function(){var X=this.state.status;if(X===ee)return null;var g=this.props,p=g.children,O=g.in,I=g.mountOnEnter,E=g.unmountOnExit,K=g.appear,d=g.enter,i=g.exit,x=g.timeout,A=g.addEndListener,w=g.onEnter,C=g.onEntering,U=g.onEntered,F=g.onExit,Y=g.onExiting,le=g.onExited,ie=g.nodeRef,j=(0,n.Z)(g,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return l.createElement(v.Z.Provider,{value:null},typeof p=="function"?p(X,j):l.cloneElement(l.Children.only(p),j))},c}(l.Component);J.contextType=v.Z,J.propTypes={};function T(){}J.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:T,onEntering:T,onEntered:T,onExit:T,onExiting:T,onExited:T},J.UNMOUNTED=ee,J.EXITED=W,J.ENTERING=re,J.ENTERED=se,J.EXITING=S;var V=J},8821:function(_e,$,t){"use strict";var n=t(89526);$.Z=n.createContext(null)},52455:function(_e,$,t){"use strict";/** @license React v17.0.2
 * react-jsx-runtime.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */t(99813);var n=t(89526),f=60103;if($.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var l=Symbol.for;f=l("react.element"),$.Fragment=l("react.fragment")}var u=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,m=Object.prototype.hasOwnProperty,v={key:!0,ref:!0,__self:!0,__source:!0};function M(ee,W,re){var se,S={},J=null,T=null;re!==void 0&&(J=""+re),W.key!==void 0&&(J=""+W.key),W.ref!==void 0&&(T=W.ref);for(se in W)m.call(W,se)&&!v.hasOwnProperty(se)&&(S[se]=W[se]);if(ee&&ee.defaultProps)for(se in W=ee.defaultProps,W)S[se]===void 0&&(S[se]=W[se]);return{$$typeof:f,type:ee,key:J,ref:T,props:S,_owner:u.current}}$.jsx=M,$.jsxs=M},13218:function(_e,$,t){"use strict";/** @license React v17.0.2
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var n=t(99813),f=60103,l=60106;$.Fragment=60107,$.StrictMode=60108,$.Profiler=60114;var u=60109,m=60110,v=60112;$.Suspense=60113;var M=60115,ee=60116;if(typeof Symbol=="function"&&Symbol.for){var W=Symbol.for;f=W("react.element"),l=W("react.portal"),$.Fragment=W("react.fragment"),$.StrictMode=W("react.strict_mode"),$.Profiler=W("react.profiler"),u=W("react.provider"),m=W("react.context"),v=W("react.forward_ref"),$.Suspense=W("react.suspense"),M=W("react.memo"),ee=W("react.lazy")}var re=typeof Symbol=="function"&&Symbol.iterator;function se(F){return F===null||typeof F!="object"?null:(F=re&&F[re]||F["@@iterator"],typeof F=="function"?F:null)}function S(F){for(var Y="https://reactjs.org/docs/error-decoder.html?invariant="+F,le=1;le<arguments.length;le++)Y+="&args[]="+encodeURIComponent(arguments[le]);return"Minified React error #"+F+"; visit "+Y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var J={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},T={};function V(F,Y,le){this.props=F,this.context=Y,this.refs=T,this.updater=le||J}V.prototype.isReactComponent={},V.prototype.setState=function(F,Y){if(typeof F!="object"&&typeof F!="function"&&F!=null)throw Error(S(85));this.updater.enqueueSetState(this,F,Y,"setState")},V.prototype.forceUpdate=function(F){this.updater.enqueueForceUpdate(this,F,"forceUpdate")};function L(){}L.prototype=V.prototype;function c(F,Y,le){this.props=F,this.context=Y,this.refs=T,this.updater=le||J}var R=c.prototype=new L;R.constructor=c,n(R,V.prototype),R.isPureReactComponent=!0;var B={current:null},X=Object.prototype.hasOwnProperty,g={key:!0,ref:!0,__self:!0,__source:!0};function p(F,Y,le){var ie,j={},ue=null,P=null;if(Y!=null)for(ie in Y.ref!==void 0&&(P=Y.ref),Y.key!==void 0&&(ue=""+Y.key),Y)X.call(Y,ie)&&!g.hasOwnProperty(ie)&&(j[ie]=Y[ie]);var Z=arguments.length-2;if(Z===1)j.children=le;else if(1<Z){for(var ae=Array(Z),ce=0;ce<Z;ce++)ae[ce]=arguments[ce+2];j.children=ae}if(F&&F.defaultProps)for(ie in Z=F.defaultProps,Z)j[ie]===void 0&&(j[ie]=Z[ie]);return{$$typeof:f,type:F,key:ue,ref:P,props:j,_owner:B.current}}function O(F,Y){return{$$typeof:f,type:F.type,key:Y,ref:F.ref,props:F.props,_owner:F._owner}}function I(F){return typeof F=="object"&&F!==null&&F.$$typeof===f}function E(F){var Y={"=":"=0",":":"=2"};return"$"+F.replace(/[=:]/g,function(le){return Y[le]})}var K=/\/+/g;function d(F,Y){return typeof F=="object"&&F!==null&&F.key!=null?E(""+F.key):Y.toString(36)}function i(F,Y,le,ie,j){var ue=typeof F;(ue==="undefined"||ue==="boolean")&&(F=null);var P=!1;if(F===null)P=!0;else switch(ue){case"string":case"number":P=!0;break;case"object":switch(F.$$typeof){case f:case l:P=!0}}if(P)return P=F,j=j(P),F=ie===""?"."+d(P,0):ie,Array.isArray(j)?(le="",F!=null&&(le=F.replace(K,"$&/")+"/"),i(j,Y,le,"",function(ce){return ce})):j!=null&&(I(j)&&(j=O(j,le+(!j.key||P&&P.key===j.key?"":(""+j.key).replace(K,"$&/")+"/")+F)),Y.push(j)),1;if(P=0,ie=ie===""?".":ie+":",Array.isArray(F))for(var Z=0;Z<F.length;Z++){ue=F[Z];var ae=ie+d(ue,Z);P+=i(ue,Y,le,ae,j)}else if(ae=se(F),typeof ae=="function")for(F=ae.call(F),Z=0;!(ue=F.next()).done;)ue=ue.value,ae=ie+d(ue,Z++),P+=i(ue,Y,le,ae,j);else if(ue==="object")throw Y=""+F,Error(S(31,Y==="[object Object]"?"object with keys {"+Object.keys(F).join(", ")+"}":Y));return P}function x(F,Y,le){if(F==null)return F;var ie=[],j=0;return i(F,ie,"","",function(ue){return Y.call(le,ue,j++)}),ie}function A(F){if(F._status===-1){var Y=F._result;Y=Y(),F._status=0,F._result=Y,Y.then(function(le){F._status===0&&(le=le.default,F._status=1,F._result=le)},function(le){F._status===0&&(F._status=2,F._result=le)})}if(F._status===1)return F._result;throw F._result}var w={current:null};function C(){var F=w.current;if(F===null)throw Error(S(321));return F}var U={ReactCurrentDispatcher:w,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:B,IsSomeRendererActing:{current:!1},assign:n};$.Children={map:x,forEach:function(F,Y,le){x(F,function(){Y.apply(this,arguments)},le)},count:function(F){var Y=0;return x(F,function(){Y++}),Y},toArray:function(F){return x(F,function(Y){return Y})||[]},only:function(F){if(!I(F))throw Error(S(143));return F}},$.Component=V,$.PureComponent=c,$.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=U,$.cloneElement=function(F,Y,le){if(F==null)throw Error(S(267,F));var ie=n({},F.props),j=F.key,ue=F.ref,P=F._owner;if(Y!=null){if(Y.ref!==void 0&&(ue=Y.ref,P=B.current),Y.key!==void 0&&(j=""+Y.key),F.type&&F.type.defaultProps)var Z=F.type.defaultProps;for(ae in Y)X.call(Y,ae)&&!g.hasOwnProperty(ae)&&(ie[ae]=Y[ae]===void 0&&Z!==void 0?Z[ae]:Y[ae])}var ae=arguments.length-2;if(ae===1)ie.children=le;else if(1<ae){Z=Array(ae);for(var ce=0;ce<ae;ce++)Z[ce]=arguments[ce+2];ie.children=Z}return{$$typeof:f,type:F.type,key:j,ref:ue,props:ie,_owner:P}},$.createContext=function(F,Y){return Y===void 0&&(Y=null),F={$$typeof:m,_calculateChangedBits:Y,_currentValue:F,_currentValue2:F,_threadCount:0,Provider:null,Consumer:null},F.Provider={$$typeof:u,_context:F},F.Consumer=F},$.createElement=p,$.createFactory=function(F){var Y=p.bind(null,F);return Y.type=F,Y},$.createRef=function(){return{current:null}},$.forwardRef=function(F){return{$$typeof:v,render:F}},$.isValidElement=I,$.lazy=function(F){return{$$typeof:ee,_payload:{_status:-1,_result:F},_init:A}},$.memo=function(F,Y){return{$$typeof:M,type:F,compare:Y===void 0?null:Y}},$.useCallback=function(F,Y){return C().useCallback(F,Y)},$.useContext=function(F,Y){return C().useContext(F,Y)},$.useDebugValue=function(){},$.useEffect=function(F,Y){return C().useEffect(F,Y)},$.useImperativeHandle=function(F,Y,le){return C().useImperativeHandle(F,Y,le)},$.useLayoutEffect=function(F,Y){return C().useLayoutEffect(F,Y)},$.useMemo=function(F,Y){return C().useMemo(F,Y)},$.useReducer=function(F,Y,le){return C().useReducer(F,Y,le)},$.useRef=function(F){return C().useRef(F)},$.useState=function(F){return C().useState(F)},$.version="17.0.2"},89526:function(_e,$,t){"use strict";_e.exports=t(13218)},67557:function(_e,$,t){"use strict";_e.exports=t(52455)},41196:function(_e,$){"use strict";/** @license React v0.20.2
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var t,n,f,l;if(typeof performance=="object"&&typeof performance.now=="function"){var u=performance;$.unstable_now=function(){return u.now()}}else{var m=Date,v=m.now();$.unstable_now=function(){return m.now()-v}}if(typeof window=="undefined"||typeof MessageChannel!="function"){var M=null,ee=null,W=function(){if(M!==null)try{var le=$.unstable_now();M(!0,le),M=null}catch(ie){throw setTimeout(W,0),ie}};t=function(le){M!==null?setTimeout(t,0,le):(M=le,setTimeout(W,0))},n=function(le,ie){ee=setTimeout(le,ie)},f=function(){clearTimeout(ee)},$.unstable_shouldYield=function(){return!1},l=$.unstable_forceFrameRate=function(){}}else{var re=window.setTimeout,se=window.clearTimeout;if(typeof console!="undefined"){var S=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof S!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var J=!1,T=null,V=-1,L=5,c=0;$.unstable_shouldYield=function(){return $.unstable_now()>=c},l=function(){},$.unstable_forceFrameRate=function(le){0>le||125<le?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):L=0<le?Math.floor(1e3/le):5};var R=new MessageChannel,B=R.port2;R.port1.onmessage=function(){if(T!==null){var le=$.unstable_now();c=le+L;try{T(!0,le)?B.postMessage(null):(J=!1,T=null)}catch(ie){throw B.postMessage(null),ie}}else J=!1},t=function(le){T=le,J||(J=!0,B.postMessage(null))},n=function(le,ie){V=re(function(){le($.unstable_now())},ie)},f=function(){se(V),V=-1}}function X(le,ie){var j=le.length;le.push(ie);e:for(;;){var ue=j-1>>>1,P=le[ue];if(P!==void 0&&0<O(P,ie))le[ue]=ie,le[j]=P,j=ue;else break e}}function g(le){return le=le[0],le===void 0?null:le}function p(le){var ie=le[0];if(ie!==void 0){var j=le.pop();if(j!==ie){le[0]=j;e:for(var ue=0,P=le.length;ue<P;){var Z=2*(ue+1)-1,ae=le[Z],ce=Z+1,be=le[ce];if(ae!==void 0&&0>O(ae,j))be!==void 0&&0>O(be,ae)?(le[ue]=be,le[ce]=j,ue=ce):(le[ue]=ae,le[Z]=j,ue=Z);else if(be!==void 0&&0>O(be,j))le[ue]=be,le[ce]=j,ue=ce;else break e}}return ie}return null}function O(le,ie){var j=le.sortIndex-ie.sortIndex;return j!==0?j:le.id-ie.id}var I=[],E=[],K=1,d=null,i=3,x=!1,A=!1,w=!1;function C(le){for(var ie=g(E);ie!==null;){if(ie.callback===null)p(E);else if(ie.startTime<=le)p(E),ie.sortIndex=ie.expirationTime,X(I,ie);else break;ie=g(E)}}function U(le){if(w=!1,C(le),!A)if(g(I)!==null)A=!0,t(F);else{var ie=g(E);ie!==null&&n(U,ie.startTime-le)}}function F(le,ie){A=!1,w&&(w=!1,f()),x=!0;var j=i;try{for(C(ie),d=g(I);d!==null&&(!(d.expirationTime>ie)||le&&!$.unstable_shouldYield());){var ue=d.callback;if(typeof ue=="function"){d.callback=null,i=d.priorityLevel;var P=ue(d.expirationTime<=ie);ie=$.unstable_now(),typeof P=="function"?d.callback=P:d===g(I)&&p(I),C(ie)}else p(I);d=g(I)}if(d!==null)var Z=!0;else{var ae=g(E);ae!==null&&n(U,ae.startTime-ie),Z=!1}return Z}finally{d=null,i=j,x=!1}}var Y=l;$.unstable_IdlePriority=5,$.unstable_ImmediatePriority=1,$.unstable_LowPriority=4,$.unstable_NormalPriority=3,$.unstable_Profiling=null,$.unstable_UserBlockingPriority=2,$.unstable_cancelCallback=function(le){le.callback=null},$.unstable_continueExecution=function(){A||x||(A=!0,t(F))},$.unstable_getCurrentPriorityLevel=function(){return i},$.unstable_getFirstCallbackNode=function(){return g(I)},$.unstable_next=function(le){switch(i){case 1:case 2:case 3:var ie=3;break;default:ie=i}var j=i;i=ie;try{return le()}finally{i=j}},$.unstable_pauseExecution=function(){},$.unstable_requestPaint=Y,$.unstable_runWithPriority=function(le,ie){switch(le){case 1:case 2:case 3:case 4:case 5:break;default:le=3}var j=i;i=le;try{return ie()}finally{i=j}},$.unstable_scheduleCallback=function(le,ie,j){var ue=$.unstable_now();switch(typeof j=="object"&&j!==null?(j=j.delay,j=typeof j=="number"&&0<j?ue+j:ue):j=ue,le){case 1:var P=-1;break;case 2:P=250;break;case 5:P=1073741823;break;case 4:P=1e4;break;default:P=5e3}return P=j+P,le={id:K++,callback:ie,priorityLevel:le,startTime:j,expirationTime:P,sortIndex:-1},j>ue?(le.sortIndex=j,X(E,le),g(I)===null&&le===g(E)&&(w?f():w=!0,n(U,j-ue))):(le.sortIndex=P,X(I,le),A||x||(A=!0,t(F))),le},$.unstable_wrapCallback=function(le){var ie=i;return function(){var j=i;i=ie;try{return le.apply(this,arguments)}finally{i=j}}}},72851:function(_e,$,t){"use strict";_e.exports=t(41196)},69987:function(_e,$,t){"use strict";t.r($),t.d($,{shallowEqualArrays:function(){return f},shallowEqualObjects:function(){return n}});function n(l,u){if(l===u)return!0;if(!l||!u)return!1;var m=Object.keys(l),v=Object.keys(u),M=m.length;if(v.length!==M)return!1;for(var ee=0;ee<M;ee++){var W=m[ee];if(l[W]!==u[W]||!Object.prototype.hasOwnProperty.call(u,W))return!1}return!0}function f(l,u){if(l===u)return!0;if(!l||!u)return!1;var m=l.length;if(u.length!==m)return!1;for(var v=0;v<m;v++)if(l[v]!==u[v])return!1;return!0}},57755:function(_e,$,t){"use strict";/**
 * @license React
 * use-sync-external-store-shim.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var n=t(89526);function f(S,J){return S===J&&(S!==0||1/S===1/J)||S!==S&&J!==J}var l=typeof Object.is=="function"?Object.is:f,u=n.useState,m=n.useEffect,v=n.useLayoutEffect,M=n.useDebugValue;function ee(S,J){var T=J(),V=u({inst:{value:T,getSnapshot:J}}),L=V[0].inst,c=V[1];return v(function(){L.value=T,L.getSnapshot=J,W(L)&&c({inst:L})},[S,T,J]),m(function(){return W(L)&&c({inst:L}),S(function(){W(L)&&c({inst:L})})},[S]),M(T),T}function W(S){var J=S.getSnapshot;S=S.value;try{var T=J();return!l(S,T)}catch(V){return!0}}function re(S,J){return J()}var se=typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"?re:ee;$.useSyncExternalStore=n.useSyncExternalStore!==void 0?n.useSyncExternalStore:se},96603:function(_e,$,t){"use strict";/**
 * @license React
 * use-sync-external-store-shim/with-selector.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var n=t(89526),f=t(50635);function l(re,se){return re===se&&(re!==0||1/re===1/se)||re!==re&&se!==se}var u=typeof Object.is=="function"?Object.is:l,m=f.useSyncExternalStore,v=n.useRef,M=n.useEffect,ee=n.useMemo,W=n.useDebugValue;$.useSyncExternalStoreWithSelector=function(re,se,S,J,T){var V=v(null);if(V.current===null){var L={hasValue:!1,value:null};V.current=L}else L=V.current;V=ee(function(){function R(O){if(!B){if(B=!0,X=O,O=J(O),T!==void 0&&L.hasValue){var I=L.value;if(T(I,O))return g=I}return g=O}if(I=g,u(X,O))return I;var E=J(O);return T!==void 0&&T(I,E)?I:(X=O,g=E)}var B=!1,X,g,p=S===void 0?null:S;return[function(){return R(se())},p===null?void 0:function(){return R(p())}]},[se,S,J,T]);var c=m(re,V[0],V[1]);return M(function(){L.hasValue=!0,L.value=c},[c]),W(c),c}},50635:function(_e,$,t){"use strict";_e.exports=t(57755)},49654:function(_e,$,t){"use strict";_e.exports=t(96603)},64836:function(_e){function $(t){return t&&t.__esModule?t:{default:t}}_e.exports=$,_e.exports.__esModule=!0,_e.exports.default=_e.exports},97326:function(_e,$,t){"use strict";t.d($,{Z:function(){return n}});function n(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}},4942:function(_e,$,t){"use strict";t.d($,{Z:function(){return f}});var n=t(49142);function f(l,u,m){return u=(0,n.Z)(u),u in l?Object.defineProperty(l,u,{value:m,enumerable:!0,configurable:!0,writable:!0}):l[u]=m,l}},87462:function(_e,$,t){"use strict";t.d($,{Z:function(){return n}});function n(){return n=Object.assign?Object.assign.bind():function(f){for(var l=1;l<arguments.length;l++){var u=arguments[l];for(var m in u)Object.prototype.hasOwnProperty.call(u,m)&&(f[m]=u[m])}return f},n.apply(this,arguments)}},51721:function(_e,$,t){"use strict";t.d($,{Z:function(){return f}});function n(l,u){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(v,M){return v.__proto__=M,v},n(l,u)}function f(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,n(l,u)}},63366:function(_e,$,t){"use strict";t.d($,{Z:function(){return n}});function n(f,l){if(f==null)return{};var u={},m=Object.keys(f),v,M;for(M=0;M<m.length;M++)v=m[M],!(l.indexOf(v)>=0)&&(u[v]=f[v]);return u}},49142:function(_e,$,t){"use strict";t.d($,{Z:function(){return l}});var n=t(71002);function f(u,m){if((0,n.Z)(u)!=="object"||u===null)return u;var v=u[Symbol.toPrimitive];if(v!==void 0){var M=v.call(u,m||"default");if((0,n.Z)(M)!=="object")return M;throw new TypeError("@@toPrimitive must return a primitive value.")}return(m==="string"?String:Number)(u)}function l(u){var m=f(u,"string");return(0,n.Z)(m)==="symbol"?m:String(m)}},71002:function(_e,$,t){"use strict";t.d($,{Z:function(){return n}});function n(f){return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},n(f)}}},Jc={};function ot(_e){var $=Jc[_e];if($!==void 0)return $.exports;var t=Jc[_e]={id:_e,loaded:!1,exports:{}};return Xc[_e].call(t.exports,t,t.exports,ot),t.loaded=!0,t.exports}ot.m=Xc,function(){ot.n=function(_e){var $=_e&&_e.__esModule?function(){return _e.default}:function(){return _e};return ot.d($,{a:$}),$}}(),function(){var _e=Object.getPrototypeOf?function(t){return Object.getPrototypeOf(t)}:function(t){return t.__proto__},$;ot.t=function(t,n){if(n&1&&(t=this(t)),n&8||typeof t=="object"&&t&&(n&4&&t.__esModule||n&16&&typeof t.then=="function"))return t;var f=Object.create(null);ot.r(f);var l={};$=$||[null,_e({}),_e([]),_e(_e)];for(var u=n&2&&t;typeof u=="object"&&!~$.indexOf(u);u=_e(u))Object.getOwnPropertyNames(u).forEach(function(m){l[m]=function(){return t[m]}});return l.default=function(){return t},ot.d(f,l),f}}(),function(){ot.d=function(_e,$){for(var t in $)ot.o($,t)&&!ot.o(_e,t)&&Object.defineProperty(_e,t,{enumerable:!0,get:$[t]})}}(),function(){ot.f={},ot.e=function(_e){return Promise.all(Object.keys(ot.f).reduce(function($,t){return ot.f[t](_e,$),$},[]))}}(),function(){ot.u=function(_e){return"static/js/"+_e+"."+{29:"d9a9f4d2",229:"dad93f08",309:"3131070b",383:"65f97410",579:"267f2839",585:"00679ed8",711:"4b2a1547",801:"6cfaf519",994:"3562ba19",1110:"caad9de3",1202:"8355dfbc",1242:"114478e5",1371:"b4879c7b",1373:"0c38601c",1648:"daf229cd",1724:"5513e876",1753:"a9f4e7c4",1897:"ec045dee",1950:"4137eccc",2077:"71847be2",2099:"3f9dac21",2177:"52990af2",2241:"69796c71",2291:"01211751",2440:"993dd3a4",2463:"e56db252",2505:"d75de165",2611:"30412fb0",2689:"2b4325e5",2729:"124cc5f0",2731:"8e563918",3045:"71cf59ea",3069:"aa5df145",3174:"09854130",3245:"babf7f41",3291:"e18dcfc6",3316:"cb4edf77",3673:"76fe9aae",3676:"56362483",3714:"a15afc9b",3791:"4050360a",3831:"9d05e366",3844:"0d946f02",3936:"ab07ac4a",3953:"ecfda952",4114:"ec56fab1",4241:"0fba112e",4516:"c3341512",4553:"27783101",4563:"8cf228dd",4598:"a7e0a925",4657:"a5125128",4809:"a2016cbf",5178:"7c513231",5310:"211abe8b",5399:"d87f3884",5411:"877795fb",5586:"0d0032d4",5718:"714e065e",5804:"94afb03a",5875:"768402d7",5917:"7d30b508",5961:"7429fd5c",6008:"089344eb",6012:"17515707",6090:"abb5bfff",6191:"0cde83b1",6228:"a84cd2a1",6294:"1702fab1",6311:"adbf3d6a",6366:"88dd0343",6476:"b39b3173",6489:"af4291c5",6565:"7ad827eb",6689:"add0cce0",6722:"65230ed8",6774:"409283ea",6844:"b6dde9b6",7166:"c2988c0c",7169:"729e6028",7326:"6d2184b0",7370:"4bd88176",7450:"319ab69c",7551:"74b89cf3",7709:"28d6bcb8",7723:"b0a11856",7743:"8ac5fd91",7825:"3f7645e6",7878:"2eac8c4e",7958:"5e7d2b54",7964:"2e43cbd0",8034:"86ff20e9",8110:"9b4dadfd",8128:"7194b5b0",8132:"a07e968f",8148:"e7303d3c",8351:"46f6fc59",8371:"ce1027e9",8493:"89a40137",8581:"432e5994",8601:"01543d0c",8833:"a5156010",8884:"57141084",9193:"0d790f02",9206:"9b8289ba",9210:"fa8d4594",9298:"6b9549e2",9316:"bb324510",9362:"31f9cf6a",9421:"bdc1c5d6",9439:"56d4e198",9461:"6ea42abc",9590:"05c449e0",9617:"bf786c92",9698:"97a69f5d",9735:"1d1a390e",9740:"eb8aa195",9828:"d98b2223",9851:"f2fb564b"}[_e]+".chunk.js"}}(),function(){ot.miniCssF=function(_e){return"static/css/"+_e+"."+{29:"719489fe",711:"18c22923",801:"e0953ad9",994:"e9dd1215",1110:"b9cd91da",1242:"93fdc3a6",1648:"53dd6b59",1724:"005baa06",1897:"0b996ead",2077:"65840c1f",2099:"9270cafb",2291:"63f1f1d5",2463:"53dd6b59",2505:"42d49dab",2611:"63f1f1d5",2689:"8d8d1aca",2729:"1410414a",2731:"07eb6c1c",3291:"4481dfd8",3316:"71a5b104",3673:"4f68061c",3676:"2d2eb8d6",3831:"cf859d19",3844:"42d49dab",3936:"53dd6b59",4241:"180b189d",4553:"6a92c155",4563:"2594f2eb",4598:"9ed644f8",5178:"331f5828",5310:"53dd6b59",5399:"0ca960a6",5718:"dd10673b",5875:"27ca553a",5917:"9f5ff2d1",5961:"a3f00bbe",6008:"d3486265",6012:"5ffa4a04",6090:"b1d46e5c",6294:"53dd6b59",6366:"a49ef53a",6489:"a7eb7d50",6722:"181b4535",7166:"cade1096",7169:"4dbbaf3f",7326:"5800f323",7370:"895b1c4c",7450:"0751e9c3",7551:"5be4fce1",7709:"030a6a1c",7723:"5dc43ed9",7743:"1642fdad",7958:"2e39ab24",8034:"65529535",8110:"a2a7e691",8148:"f9327088",8351:"265faa92",8581:"87e3b301",8601:"1be8873e",9193:"d5680d06",9206:"53dd6b59",9210:"53dd6b59",9298:"bffd4c1c",9316:"c8c50c13",9362:"8083bb97",9461:"4f8e5922",9590:"71546197",9617:"a6fda1da",9698:"d3a31d2d",9740:"53dd6b59",9828:"7a90be3d",9851:"1410414a"}[_e]+".chunk.css"}}(),function(){ot.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(_e){if(typeof window=="object")return window}}()}(),function(){ot.o=function(_e,$){return Object.prototype.hasOwnProperty.call(_e,$)}}(),function(){var _e={},$="app:";ot.l=function(t,n,f,l){if(_e[t]){_e[t].push(n);return}var u,m;if(f!==void 0)for(var v=document.getElementsByTagName("script"),M=0;M<v.length;M++){var ee=v[M];if(ee.getAttribute("src")==t||ee.getAttribute("data-webpack")==$+f){u=ee;break}}u||(m=!0,u=document.createElement("script"),u.charset="utf-8",u.timeout=120,ot.nc&&u.setAttribute("nonce",ot.nc),u.setAttribute("data-webpack",$+f),u.src=t),_e[t]=[n];var W=function(se,S){u.onerror=u.onload=null,clearTimeout(re);var J=_e[t];if(delete _e[t],u.parentNode&&u.parentNode.removeChild(u),J&&J.forEach(function(T){return T(S)}),se)return se(S)},re=setTimeout(W.bind(null,void 0,{type:"timeout",target:u}),12e4);u.onerror=W.bind(null,u.onerror),u.onload=W.bind(null,u.onload),m&&document.head.appendChild(u)}}(),function(){ot.r=function(_e){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(_e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(_e,"__esModule",{value:!0})}}(),function(){ot.nmd=function(_e){return _e.paths=[],_e.children||(_e.children=[]),_e}}(),function(){ot.p="/"}(),function(){if(typeof document!="undefined"){var _e=function(f,l,u,m,v){var M=document.createElement("link");M.rel="stylesheet",M.type="text/css";var ee=function(W){if(M.onerror=M.onload=null,W.type==="load")m();else{var re=W&&(W.type==="load"?"missing":W.type),se=W&&W.target&&W.target.href||l,S=new Error("Loading CSS chunk "+f+` failed.
(`+se+")");S.code="CSS_CHUNK_LOAD_FAILED",S.type=re,S.request=se,M.parentNode&&M.parentNode.removeChild(M),v(S)}};return M.onerror=M.onload=ee,M.href=l,u?u.parentNode.insertBefore(M,u.nextSibling):document.head.appendChild(M),M},$=function(f,l){for(var u=document.getElementsByTagName("link"),m=0;m<u.length;m++){var v=u[m],M=v.getAttribute("data-href")||v.getAttribute("href");if(v.rel==="stylesheet"&&(M===f||M===l))return v}for(var ee=document.getElementsByTagName("style"),m=0;m<ee.length;m++){var v=ee[m],M=v.getAttribute("data-href");if(M===f||M===l)return v}},t=function(f){return new Promise(function(l,u){var m=ot.miniCssF(f),v=ot.p+m;if($(m,v))return l();_e(f,v,null,l,u)})},n={179:0};ot.f.miniCss=function(f,l){var u={29:1,711:1,801:1,994:1,1110:1,1242:1,1648:1,1724:1,1897:1,2077:1,2099:1,2291:1,2463:1,2505:1,2611:1,2689:1,2729:1,2731:1,3291:1,3316:1,3673:1,3676:1,3831:1,3844:1,3936:1,4241:1,4553:1,4563:1,4598:1,5178:1,5310:1,5399:1,5718:1,5875:1,5917:1,5961:1,6008:1,6012:1,6090:1,6294:1,6366:1,6489:1,6722:1,7166:1,7169:1,7326:1,7370:1,7450:1,7551:1,7709:1,7723:1,7743:1,7958:1,8034:1,8110:1,8148:1,8351:1,8581:1,8601:1,9193:1,9206:1,9210:1,9298:1,9316:1,9362:1,9461:1,9590:1,9617:1,9698:1,9740:1,9828:1,9851:1};n[f]?l.push(n[f]):n[f]!==0&&u[f]&&l.push(n[f]=t(f).then(function(){n[f]=0},function(m){throw delete n[f],m}))}}}(),function(){var _e={179:0};ot.f.j=function(n,f){var l=ot.o(_e,n)?_e[n]:void 0;if(l!==0)if(l)f.push(l[2]);else if(/^(4553|8034|9828)$/.test(n))_e[n]=0;else{var u=new Promise(function(ee,W){l=_e[n]=[ee,W]});f.push(l[2]=u);var m=ot.p+ot.u(n),v=new Error,M=function(ee){if(ot.o(_e,n)&&(l=_e[n],l!==0&&(_e[n]=void 0),l)){var W=ee&&(ee.type==="load"?"missing":ee.type),re=ee&&ee.target&&ee.target.src;v.message="Loading chunk "+n+` failed.
(`+W+": "+re+")",v.name="ChunkLoadError",v.type=W,v.request=re,l[1](v)}};ot.l(m,M,"chunk-"+n,n)}};var $=function(n,f){var l=f[0],u=f[1],m=f[2],v,M,ee=0;if(l.some(function(re){return _e[re]!==0})){for(v in u)ot.o(u,v)&&(ot.m[v]=u[v]);if(m)var W=m(ot)}for(n&&n(f);ee<l.length;ee++)M=l[ee],ot.o(_e,M)&&_e[M]&&_e[M][0](),_e[M]=0},t=self.webpackChunkapp=self.webpackChunkapp||[];t.forEach($.bind(null,0)),t.push=$.bind(null,t.push.bind(t))}();var mA={};(function(){"use strict";var _e=ot(67557),$=ot(89526),t=ot(73961),n={},f=ot(36215),l=ot(97943);const u=[],m=(tt,at)=>{const $t=[...tt];return $t.push(at.data),$t},v=(tt,at)=>tt.filter(Fr=>Fr.id!==at.id);var ee=(tt=u,at)=>{switch(at.type){case l.Du:return m(tt,at);case l.K7:return v(tt,at);default:return tt}},W=ot(50871),re=ot(13120),se=ot(87462),S=ot(87260),J=ot(96355);const T=(tt,at)=>(0,se.Z)({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},at&&!tt.vars&&{colorScheme:tt.palette.mode}),V=tt=>(0,se.Z)({color:(tt.vars||tt).palette.text.primary},tt.typography.body1,{backgroundColor:(tt.vars||tt).palette.background.default,"@media print":{backgroundColor:(tt.vars||tt).palette.common.white}}),L=(tt,at=!1)=>{var $t,Fr;const Xr={};at&&tt.colorSchemes&&Object.entries(tt.colorSchemes).forEach(([Cn,Wn])=>{var ai;Xr[tt.getColorSchemeSelector(Cn).replace(/\s*&/,"")]={colorScheme:(ai=Wn.palette)==null?void 0:ai.mode}});let Ln=(0,se.Z)({html:T(tt,at),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:tt.typography.fontWeightBold},body:(0,se.Z)({margin:0},V(tt),{"&::backdrop":{backgroundColor:(tt.vars||tt).palette.background.default}})},Xr);const xi=($t=tt.components)==null||(Fr=$t.MuiCssBaseline)==null?void 0:Fr.styleOverrides;return xi&&(Ln=[Ln,xi]),Ln};function c(tt){const at=(0,S.Z)({props:tt,name:"MuiCssBaseline"}),{children:$t,enableColorScheme:Fr=!1}=at;return(0,_e.jsxs)($.Fragment,{children:[(0,_e.jsx)(J.Z,{styles:Xr=>L(Xr,Fr)}),$t]})}var R=c,B=ot(63541),X=ot(14666),g=ot(90769),p=ot(57468);const O={};function I(tt){const at=(0,p.Z)();return(0,_e.jsx)(g.T.Provider,{value:typeof at=="object"?at:O,children:tt.children})}function E(tt){const{children:at,theme:$t}=tt;return(0,_e.jsx)(X.Z,{theme:$t,children:(0,_e.jsx)(I,{children:at})})}var K=E,d=ot(21081),i=ot(2769),x=(tt,at,$t)=>new Promise((Fr,Xr)=>{var Ln=Wn=>{try{Cn($t.next(Wn))}catch(ai){Xr(ai)}},xi=Wn=>{try{Cn($t.throw(Wn))}catch(ai){Xr(ai)}},Cn=Wn=>Wn.done?Fr(Wn.value):Promise.resolve(Wn.value).then(Ln,xi);Cn(($t=$t.apply(tt,at)).next())});const A=(tt,at)=>()=>x(void 0,null,function*(){const $t=JSON.parse(window.sessionStorage.getItem(`retry-${at}-refreshed`)||"false");try{const Fr=yield tt();return window.sessionStorage.setItem(`retry-${at}-refreshed`,"false"),Fr}catch(Fr){if(!$t)return window.sessionStorage.setItem(`retry-${at}-refreshed`,"true"),window.location.reload();throw Fr}}),w=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(5411),ot.e(29),ot.e(6774),ot.e(2241),ot.e(7166)]).then(ot.bind(ot,78868)),"GA4SingleUserReporting")),C=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(29),ot.e(1242)]).then(ot.bind(ot,68467)),"GA4SingleUserReportingPDF")),U=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(3673)]).then(ot.bind(ot,83673)),"paidCampaignTrackerPDF")),F=(0,$.lazy)(A(()=>ot.e(9210).then(ot.bind(ot,9210)),"youtubeInsta")),Y=(0,$.lazy)(A(()=>Promise.all([ot.e(585),ot.e(9735),ot.e(8601)]).then(ot.bind(ot,25338)),"hsScoring")),le=(0,$.lazy)(A(()=>Promise.all([ot.e(585),ot.e(9735),ot.e(9590)]).then(ot.bind(ot,25938)),"sfScoring")),ie=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(1202),ot.e(6228),ot.e(5411),ot.e(2077)]).then(ot.bind(ot,82169)),"paidCampaignTracker")),j=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(4516),ot.e(1724)]).then(ot.bind(ot,51724)),"channelPerformance")),ue=(0,$.lazy)(A(()=>Promise.all([ot.e(1202),ot.e(2177),ot.e(8581)]).then(ot.bind(ot,88581)),"campaignMapping")),P=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(9439),ot.e(7825),ot.e(5411),ot.e(2177),ot.e(309),ot.e(7878),ot.e(711)]).then(ot.bind(ot,82485)),"marketingDashboard1")),Z=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(5411),ot.e(5586),ot.e(2729)]).then(ot.bind(ot,30939)),"paidMediaTrackerNode")),ae=(0,$.lazy)(A(()=>ot.e(5917).then(ot.bind(ot,95917)),"chooseAccount")),ce=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(9439),ot.e(7825),ot.e(2177),ot.e(309),ot.e(7878),ot.e(1371),ot.e(7370)]).then(ot.bind(ot,4917)),"cmoDashboard")),be=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(9439),ot.e(7825),ot.e(2177),ot.e(309),ot.e(7878),ot.e(1371),ot.e(3831)]).then(ot.bind(ot,9423)),"customDashboard")),pe=(0,$.lazy)(A(()=>ot.e(3844).then(ot.bind(ot,29679)),"login")),h=(0,$.lazy)(A(()=>Promise.all([ot.e(4114),ot.e(8884),ot.e(9828)]).then(ot.bind(ot,58884)),"iframe")),te=(0,$.lazy)(A(()=>ot.e(1950).then(ot.bind(ot,31950)),"invitedUser")),Q=(0,$.lazy)(A(()=>Promise.all([ot.e(6689),ot.e(5961)]).then(ot.bind(ot,45961)),"editProfile")),we=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(3045),ot.e(309),ot.e(6844),ot.e(9617)]).then(ot.bind(ot,10519)),"performanceReport")),Se=(0,$.lazy)(A(()=>ot.e(6722).then(ot.bind(ot,66722)),"selectPlatform")),Ne=(0,$.lazy)(A(()=>Promise.all([ot.e(3953),ot.e(4241)]).then(ot.bind(ot,72645)),"channelList")),ze=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(585),ot.e(5411),ot.e(6008)]).then(ot.bind(ot,30138)),"totalSpent")),Je=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(5411),ot.e(9193)]).then(ot.bind(ot,64651)),"marketingSpent")),qe=(0,$.lazy)(A(()=>Promise.all([ot.e(3953),ot.e(7709)]).then(ot.bind(ot,923)),"manageChannel")),Me=(0,$.lazy)(A(()=>Promise.all([ot.e(4657),ot.e(1897)]).then(ot.bind(ot,74158)),"manageAttribute")),Fe=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(5411),ot.e(9298)]).then(ot.bind(ot,65683)),"cohortReport")),Ue=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(6689),ot.e(801)]).then(ot.bind(ot,10801)),"pathAnalysis")),he=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(5411),ot.e(9362)]).then(ot.bind(ot,78107)),"topConversion")),xe=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(6191),ot.e(8110)]).then(ot.bind(ot,62959)),"campaignList")),q=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(6191),ot.e(4553)]).then(ot.bind(ot,86191)),"templateList")),me=(0,$.lazy)(A(()=>Promise.all([ot.e(8132),ot.e(1753),ot.e(7169)]).then(ot.bind(ot,40988)),"addCampaign")),De=(0,$.lazy)(A(()=>ot.e(2291).then(ot.bind(ot,72291)),"viewCampaign")),Te=(0,$.lazy)(A(()=>ot.e(2611).then(ot.bind(ot,62611)),"viewTemplate")),Oe=(0,$.lazy)(A(()=>Promise.all([ot.e(3174),ot.e(6565),ot.e(8034),ot.e(9316)]).then(ot.bind(ot,99316)),"comparisonReport")),st=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(6689),ot.e(3174),ot.e(2440),ot.e(3316)]).then(ot.bind(ot,46315)),"hubspotReports")),Ft=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(5411),ot.e(9461)]).then(ot.bind(ot,67735)),"seoDashboard")),Qt=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(8371),ot.e(6366)]).then(ot.bind(ot,76366)),"salesCycle")),Vt=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(4516),ot.e(2440),ot.e(8034),ot.e(994)]).then(ot.bind(ot,38918)),"campaignPath")),Gt=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(3069),ot.e(4657),ot.e(6489)]).then(ot.bind(ot,36894)),"Connectors")),Jt=(0,$.lazy)(A(()=>ot.e(9740).then(ot.bind(ot,59740)),"ConfigureLinkedIn")),Lr=(0,$.lazy)(A(()=>ot.e(6294).then(ot.bind(ot,96294)),"ConfigureGoogle")),Rr=(0,$.lazy)(A(()=>ot.e(8128).then(ot.bind(ot,68128)),"ConfigGA4")),Gr=(0,$.lazy)(A(()=>ot.e(2731).then(ot.bind(ot,72731)),"ConfigGA4Reporting")),zr=(0,$.lazy)(A(()=>Promise.all([ot.e(4114),ot.e(2689)]).then(ot.bind(ot,72689)),"customReportList")),pr=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(3174),ot.e(4114),ot.e(6476),ot.e(6012)]).then(ot.bind(ot,15556)),"customReportingGraph")),vn=(0,$.lazy)(A(()=>ot.e(3936).then(ot.bind(ot,93936)),"ConfigureFacebook")),fn=(0,$.lazy)(A(()=>ot.e(5310).then(ot.bind(ot,85310)),"ConfigureAdRoll")),Zt=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(6689),ot.e(8132),ot.e(579),ot.e(3676)]).then(ot.bind(ot,76852)),"ConfigSalesforce")),St=(0,$.lazy)(A(()=>Promise.all([ot.e(6689),ot.e(8132),ot.e(579),ot.e(5178)]).then(ot.bind(ot,54351)),"CRMConfigHubspot")),Wt=(0,$.lazy)(A(()=>ot.e(2463).then(ot.bind(ot,82463)),"BingAds")),Nt=(0,$.lazy)(A(()=>ot.e(9206).then(ot.bind(ot,19206)),"configGSC")),dt=(0,$.lazy)(A(()=>ot.e(7958).then(ot.bind(ot,27958)),"marketoConfig")),nr=(0,$.lazy)(A(()=>ot.e(4598).then(ot.bind(ot,74598)),"configHubspotMA")),et=(0,$.lazy)(A(()=>Promise.all([ot.e(3174),ot.e(7723)]).then(ot.bind(ot,77723)),"ConfigurationReportConfig")),Tt=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(5718)]).then(ot.bind(ot,75718)),"ChannelPerformanceDrillDown")),Rt=(0,$.lazy)(A(()=>ot.e(1648).then(ot.bind(ot,91648)),"GoogleAds")),or=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(8493),ot.e(4809),ot.e(7743)]).then(ot.bind(ot,56633)),"UserAccessManagement")),ir=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(4809),ot.e(5875)]).then(ot.bind(ot,18743)),"AddUserSettings")),Qr=(0,$.lazy)(A(()=>ot.e(2505).then(ot.bind(ot,12505)),"ResetPassword")),ft=(0,$.lazy)(A(()=>ot.e(383).then(ot.bind(ot,17226)),"ComingSoon")),tr=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(5411),ot.e(2177),ot.e(5586),ot.e(9851)]).then(ot.bind(ot,46230)),"PaidMediaTracker")),gr=(0,$.lazy)(()=>Promise.all([ot.e(6689),ot.e(9439),ot.e(585),ot.e(5804),ot.e(4563)]).then(ot.bind(ot,84563))),ar=(0,$.lazy)(A(()=>Promise.all([ot.e(6689),ot.e(5804),ot.e(3069),ot.e(7551)]).then(ot.bind(ot,77551)),"SegmentManager")),rt=(0,$.lazy)(A(()=>Promise.all([ot.e(6689),ot.e(5804),ot.e(7450)]).then(ot.bind(ot,37450)),"ContentGrouping")),kt=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(3174),ot.e(4114),ot.e(6476),ot.e(8884),ot.e(3291)]).then(ot.bind(ot,16439)),"addCustomReport")),At=(0,$.lazy)(A(()=>Promise.all([ot.e(6689),ot.e(8148)]).then(ot.bind(ot,98148)),"GlobalSettings")),qt=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(3045),ot.e(5411),ot.e(29),ot.e(6774),ot.e(6844),ot.e(6090)]).then(ot.bind(ot,97410)),"SocialMediaReports")),sr=(0,$.lazy)(A(()=>Promise.all([ot.e(6689),ot.e(7326)]).then(ot.bind(ot,67326)),"ABMConfig")),Kr=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(5399)]).then(ot.bind(ot,35399)),"ABMAccounts")),kr=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(1110)]).then(ot.bind(ot,81110)),"ABMAccountDashboard")),nn=(0,$.lazy)(A(()=>Promise.all([ot.e(3714),ot.e(8351)]).then(ot.bind(ot,48351)),"ABMComparisonDashboard")),on=(0,$.lazy)(A(()=>Promise.all([ot.e(8833),ot.e(2241),ot.e(2099)]).then(ot.bind(ot,86244)),"PodcastInsightsPage"));var Dr=tt=>(0,_e.jsx)($.Suspense,{fallback:"",children:(0,_e.jsxs)(d.Z5,{children:[(0,_e.jsx)(d.AW,{path:"/account",element:(0,_e.jsx)(ae,{})}),(0,_e.jsx)(d.AW,{path:"/podcast-insights",element:(0,_e.jsx)(on,{})}),(0,_e.jsx)(d.AW,{path:"invited/login",element:(0,_e.jsx)(te,{})}),(0,_e.jsx)(d.AW,{path:"/login",element:(0,_e.jsx)(pe,{})}),(0,_e.jsx)(d.AW,{path:"/editProfile",element:(0,_e.jsx)(Q,{})}),(0,_e.jsx)(d.AW,{path:"/reset-password",element:(0,_e.jsx)(Qr,{})}),(0,_e.jsx)(d.AW,{path:"",element:(0,_e.jsx)(d.Fg,{to:"/login"})}),(0,_e.jsx)(d.AW,{path:"/insights/cmo/dashboard",element:(0,_e.jsx)(ce,{})}),(0,_e.jsx)(d.AW,{path:"/custom/dashboard",element:(0,_e.jsx)(be,{})}),(0,_e.jsx)(d.AW,{path:"/ga4/reporting",element:(0,_e.jsx)(w,{})}),(0,_e.jsx)(d.AW,{path:"/insights/mo/metrics/hub",element:(0,_e.jsx)(w,{})}),(0,_e.jsx)(d.AW,{path:"/insights/mo/metrics/hub/pdf",element:(0,_e.jsx)(C,{})}),(0,_e.jsx)(d.AW,{path:"/insights/channel/paid-campaign-tracker/pdf",element:(0,_e.jsx)(U,{})}),(0,_e.jsx)(d.AW,{path:"/insights/cmo/dashboard1",element:(0,_e.jsx)(P,{})}),(0,_e.jsx)(d.AW,{path:"/configuration/report",element:(0,_e.jsx)(et,{})}),(0,_e.jsx)(d.AW,{path:"/custom/reporting/",element:(0,_e.jsx)(pr,{})}),(0,_e.jsx)(d.AW,{path:"/custom/report",element:(0,_e.jsx)(zr,{})}),(0,_e.jsx)(d.AW,{path:"/custom/report/module",element:(0,_e.jsx)(zr,{})}),(0,_e.jsx)(d.AW,{path:"/custom/report/module",element:(0,_e.jsx)(zr,{})}),(0,_e.jsx)(d.AW,{path:"/custom/report/add",element:(0,_e.jsx)(kt,{})}),(0,_e.jsx)(d.AW,{path:"/insights/cmo/performance-report",element:(0,_e.jsx)(we,{})}),(0,_e.jsx)(d.AW,{path:"/insights/cmo/channel-performance",element:(0,_e.jsx)(j,{})}),(0,_e.jsx)(d.AW,{path:"/insights/cmo/cohort",element:(0,_e.jsx)(Fe,{})}),(0,_e.jsx)(d.AW,{path:"/data-quality/sf-scoring",element:(0,_e.jsx)(le,{})}),(0,_e.jsx)(d.AW,{path:"/data-quality/hubspot-scoring",element:(0,_e.jsx)(Y,{})}),(0,_e.jsx)(d.AW,{path:"/insights/cmo/sales-cycle",element:(0,_e.jsx)(Qt,{})}),(0,_e.jsx)(d.AW,{path:"/insights/mo/path-length",element:(0,_e.jsx)(Vt,{})}),(0,_e.jsx)(d.AW,{path:"/insights/mo/model-comparison",element:(0,_e.jsx)(Oe,{})}),(0,_e.jsx)(d.AW,{path:"/insights/channel/hubspot-report",element:(0,_e.jsx)(st,{})}),(0,_e.jsx)(d.AW,{path:"/insights/channel/search-console-report",element:(0,_e.jsx)(Ft,{})}),(0,_e.jsx)(d.AW,{path:"/insights/channel/paid-campaign-tracker",element:(0,_e.jsx)(ie,{})}),(0,_e.jsx)(d.AW,{path:"/insights/channel/paid-media-tracker",element:(0,_e.jsx)(tr,{})}),(0,_e.jsx)(d.AW,{path:"/insights/channel/node/paid-media-tracker",element:(0,_e.jsx)(Z,{})}),(0,_e.jsx)(d.AW,{path:"/insights/channel/path-analysis",element:(0,_e.jsx)(Ue,{})}),(0,_e.jsx)(d.AW,{path:"/insights/channel/top-conversion",element:(0,_e.jsx)(he,{})}),(0,_e.jsx)(d.AW,{path:"/governance/parameter",element:(0,_e.jsx)(Se,{})}),(0,_e.jsx)(d.AW,{path:"/iframe-testing",element:(0,_e.jsx)(h,{})}),(0,_e.jsx)(d.AW,{path:"/governance/channels/list",element:(0,_e.jsx)(Ne,{})}),(0,_e.jsx)(d.AW,{path:"/governance/channels/manage",element:(0,_e.jsx)(qe,{})}),(0,_e.jsx)(d.AW,{path:"/governance/attributes/list",element:(0,_e.jsx)(Me,{})}),(0,_e.jsx)(d.AW,{path:"/governance/campaigns/list",element:(0,_e.jsx)(xe,{})}),(0,_e.jsx)(d.AW,{path:"/governance/campaigns/templates",element:(0,_e.jsx)(q,{})}),(0,_e.jsx)(d.AW,{path:"/governance/campaigns/add",element:(0,_e.jsx)(me,{})}),(0,_e.jsx)(d.AW,{path:"/governance/campaigns/view",element:(0,_e.jsx)(De,{})}),(0,_e.jsx)(d.AW,{path:"/governance/campaigns/template/view",element:(0,_e.jsx)(Te,{})}),(0,_e.jsx)(d.AW,{path:"/governance/campaigns/edit",element:(0,_e.jsx)(me,{})}),(0,_e.jsx)(d.AW,{path:"/governance/template/edit",element:(0,_e.jsx)(me,{})}),(0,_e.jsx)(d.AW,{path:"/governance/campaigns/clone",element:(0,_e.jsx)(me,{})}),(0,_e.jsx)(d.AW,{path:"/settings/global",element:(0,_e.jsx)(At,{})}),(0,_e.jsx)(d.AW,{path:"/settings/connectors",element:(0,_e.jsx)(Gt,{})}),(0,_e.jsx)(d.AW,{path:"/settings/connectors/:type/:configure",element:(0,_e.jsx)(F,{})}),(0,_e.jsx)(d.AW,{path:"/account/:id/:token",element:(0,_e.jsx)(ae,{})}),(0,_e.jsx)(d.AW,{path:"/settings/user-access-management",element:(0,_e.jsx)(ir,{})}),(0,_e.jsx)(d.AW,{path:"/settings/connectors/adroll/configure",element:(0,_e.jsx)(fn,{})}),(0,_e.jsx)(d.AW,{path:"/settings/connectors/crm/configure",element:(0,_e.jsx)(Zt,{})}),(0,_e.jsx)(d.AW,{path:"/settings/connectors/crm/hubspot/configure",element:(0,_e.jsx)(St,{})}),(0,_e.jsx)(d.AW,{path:"/settings/connectors/googleconsole/configure",element:(0,_e.jsx)(Nt,{})}),(0,_e.jsx)(d.AW,{path:"/settings/connectors/bing-ads/configure",element:(0,_e.jsx)(Wt,{})}),(0,_e.jsx)(d.AW,{path:"/settings/connectors/google-ads/configure",element:(0,_e.jsx)(Rt,{})}),(0,_e.jsx)(d.AW,{path:"/settings/connectors/google/configure",element:(0,_e.jsx)(Lr,{})}),(0,_e.jsx)(d.AW,{path:"/settings/connectors/google/configure",element:(0,_e.jsx)(Lr,{})}),(0,_e.jsx)(d.AW,{path:"/settings/connectors/googleanalytics/configure",element:(0,_e.jsx)(Rr,{})}),(0,_e.jsx)(d.AW,{path:"/settings/connectors/googleanalytics/configure/reporting",element:(0,_e.jsx)(Gr,{})}),(0,_e.jsx)(d.AW,{path:"/settings/connectors/ma/marketo/configure",element:(0,_e.jsx)(dt,{})}),(0,_e.jsx)(d.AW,{path:"/settings/connectors/hubspot-ma/configure",element:(0,_e.jsx)(nr,{})}),(0,_e.jsx)(d.AW,{path:"/settings/user-access-management/list",element:(0,_e.jsx)(or,{})}),(0,_e.jsx)(d.AW,{path:"/settings/channel-manager",element:(0,_e.jsx)(gr,{})}),(0,_e.jsx)(d.AW,{path:"/settings/segment-manager",element:(0,_e.jsx)(ar,{})}),(0,_e.jsx)(d.AW,{path:"/insights/total-spent",element:(0,_e.jsx)(ze,{})}),(0,_e.jsx)(d.AW,{path:"/insights/marketing-spent",element:(0,_e.jsx)(Je,{})}),(0,_e.jsx)(d.AW,{path:"/insights/channel-performance-report",element:(0,_e.jsx)(Tt,{})}),(0,_e.jsx)(d.AW,{path:"/settings/content-grouping",element:(0,_e.jsx)(rt,{})}),(0,_e.jsx)(d.AW,{path:"/insights/abm/configuration",element:(0,_e.jsx)(sr,{})}),(0,_e.jsx)(d.AW,{path:"/insights/abm/accounts",element:(0,_e.jsx)(Kr,{})}),(0,_e.jsx)(d.AW,{path:"/insights/abm/account-dashboard/:accountId",element:(0,_e.jsx)(kr,{})}),(0,_e.jsx)(d.AW,{path:"/insights/abm/comparison-dashboard",element:(0,_e.jsx)(nn,{})}),(0,_e.jsx)(d.AW,{path:"/settings/campaign-mapping",element:(0,_e.jsx)(ue,{})}),(0,_e.jsx)(d.AW,{path:"/coming-soon",element:(0,_e.jsx)(ft,{})}),(0,_e.jsx)(d.AW,{path:"/insights/channel/smd",element:(0,_e.jsx)(qt,{})})]})}),_r=ot(39910),Hr=ot(30451),Pr=Object.defineProperty,un=Object.getOwnPropertySymbols,Zn=Object.prototype.hasOwnProperty,Jn=Object.prototype.propertyIsEnumerable,Dn=(tt,at,$t)=>at in tt?Pr(tt,at,{enumerable:!0,configurable:!0,writable:!0,value:$t}):tt[at]=$t,qn=(tt,at)=>{for(var $t in at||(at={}))Zn.call(at,$t)&&Dn(tt,$t,at[$t]);if(un)for(var $t of un(at))Jn.call(at,$t)&&Dn(tt,$t,at[$t]);return tt};const lr={grey:{0:"#FFFFFF",10:"#F4F7FC",50:"#F0F0F0",100:"#E0E0E0",110:"#dadada",200:"#C2C2C2",300:"#A3A3A3",400:"#858585",500:"#666666",600:"#4D4D4D",650:"#2f2f2f",700:"#24282F",750:"#0000001a",800:"#161B22",900:"#0D1116",950:"#060F1D",1e3:"#000000"},primary:{50:"#E6FBFF",100:"#f9f7fc",200:"#F2E9FF",300:"#a45cffbd",400:"#D412FF",500:"#9149ff",600:"#00A0BC",700:"#006B7D",800:"#00353F",900:"#001519"},others:{10:"#00A0BC"}};let Yr=(tt,at,$t,Fr,Xr,Ln,xi,Cn,Wn,ai)=>{const ci=(Pn="medium")=>{switch(Pn){case"small":return{fontFamily:"Lato",tablefont:{rowFontSize:".875rem",headFontSize:".813rem",cellFontSize:".75rem"},tabPerformance:{fontSize:".688rem"},sidebarfont:{headingFontSize:".813rem",subHeadingFontSize:".75rem"},breadCrum:{breadCrumFontSize:".563rem"},barGraph:{titleFont:"1.1875rem",pieFont:".6875rem",legendFont:".625rem",noDataFont:".75rem"},sourceCard:".6563rem",dashboardFont:"1.0625rem",dialogTitle:"1.4375rem",comparisonDashboard:"2.3125rem",funnelText:"1.3125rem",globalAttributes:".9375rem",numPercentage:"1.6875rem",titleDialog:"1.5625rem",loginFont:"7px",channelFont:".7125rem",socialMedia:"2.1875rem",calendarFont:".5625rem",h6:{fontSize:"15px","@media (max-width:1500px)":{fontSize:".813rem"},"@media (max-width:1366px)":{fontSize:".838rem"}},h5:{fontSize:"19px",fontWeight:600,"@media (max-width:1500px)":{fontSize:"17px"},"@media (max-width:1366px)":{fontSize:".813rem"}},h4:{fontSize:"25px",fontWeight:600,"@media (max-width:1500px)":{fontSize:"21px"},"@media (max-width:1366px)":{fontSize:"17px"}},h3:{fontSize:"1.813rem",fontWeight:600,"@media (max-width:1500px)":{fontSize:"1.413rem"},"@media (max-width:1366px)":{fontSize:"1.225rem"}},h2:{fontSize:"42px","@media (max-width:1500px)":{fontSize:"2.613rem"},"@media (max-width:1366px)":{fontSize:"2.213rem"}},h1:{fontSize:"65px","@media (max-width:1500px)":{fontSize:"3.813rem"},"@media (max-width:1366px)":{fontSize:"3.213rem"}}};case"medium":return;case"large":return{fontFamily:"Lato",tablefont:{rowFontSize:"1.25rem",headFontSize:"18px",cellFontSize:"1.125rem"},tabPerformance:{fontSize:"1.125rem"},sidebarfont:{headingFontSize:"1.188rem",subHeadingFontSize:"1.125rem"},breadCrum:".938rem",barGraph:{titleFont:"1.5625rem",pieFont:"1.063rem",legendFont:"2rem",noDataFont:"1.125rem"},sourceCard:"1.0313rem",dashboardFont:"1.4375rem",dialogTitle:"1.75rem",comparisonDashboard:"2.6875rem",funnelText:"1.6875rem",globalAttributes:"1.3125rem",numPercentage:"2.0625rem",titleDialog:"1.9375rem",loginFont:"13px",channelFont:"1.0875rem",socialMedia:"2.5625rem",calendarFont:".9375rem",h6:{fontSize:"21px","@media (max-width:1500px)":{fontSize:"1.188rem"},"@media (max-width:1366px)":{fontSize:"1.088rem"}},h5:{fontSize:"25px",fontWeight:600,"@media (max-width:1500px)":{fontSize:"23px"},"@media (max-width:1366px)":{fontSize:"1.188rem"}},h4:{fontSize:"31px",fontWeight:600,"@media (max-width:1500px)":{fontSize:"27px"},"@media (max-width:1366px)":{fontSize:"23px"}},h3:{fontSize:"2.188rem",fontWeight:600,"@media (max-width:1500px)":{fontSize:"1.788rem"},"@media (max-width:1366px)":{fontSize:"1.588rem"}},h2:{fontSize:"48px","@media (max-width:1500px)":{fontSize:"2.988rem"},"@media (max-width:1366px)":{fontSize:"2.588rem"}},h1:{fontSize:"71px","@media (max-width:1500px)":{fontSize:"4.188rem"},"@media (max-width:1366px)":{fontSize:"3.588rem"}}};default:break}};return{palette:qn({mode:tt},tt==="dark"?{graph:Fr,primary:{dark:$t,main:at,light:lr.primary[800]},secondary:{dark:lr.grey[400],main:lr.grey[100],light:lr.primary[800]},info:{dark:$t,main:lr.grey[200],light:lr.primary[800]},neutral:{dark:lr.grey[950],main:lr.grey[650],mediumMain:lr.grey[300],medium:lr.grey[400],light:lr.grey[700]},background:{default:lr.grey[900],alt:lr.grey[800],main:lr.grey[950],mediumMain:lr.grey[650],light:lr.grey[700],dark:lr.grey[1e3]},text:{primary:lr.grey[0],tertiary:at,fourth:$t},outerAppStyle:{backgroundColor:lr.grey[950]},dashboardRedBoxStyle:{color:"#cf14o8"},dashboardGreenBoxStyle:{color:"#1ba150"},reactDateTimePickerStyle:{backgroundColor:lr.grey[950],color:lr.grey[0]},channelAndAttributeBoxesStyle:{backgroundColor:lr.grey[800],color:lr.grey[0],borderBottom:`1px solid ${lr.grey[650]} `},configurationPinkBoxStyle:{backgroundColor:"inherit",color:lr.grey[1e3]},ruleBoxStyle:{backgroundColor:"inherit"},reactFilterCalenderStyle:{backgroundColor:lr.grey[800],color:lr.grey[0],border:`1px solid ${at}`},commonPageHeadingNavbarStyle:{backgroundColor:lr.grey[800],borderBottom:`1px solid ${lr.grey[650]}`,boxShadow:"none"},customWaterfallColors:{defaultChannelsDot:{backgroundColor:lr.others[10]}}}:{graph:Fr,primary:{dark:$t,main:at,light:lr.primary[50]},secondary:{dark:lr.grey[400],main:at,light:lr.primary[800]},info:{dark:$t,main:lr.grey[500],light:lr.primary[800]},neutral:{dark:lr.grey[0],main:lr.grey[750],mediumMain:lr.grey[400],medium:lr.grey[300],light:lr.grey[50]},background:{default:lr.grey[10],alt:lr.grey[0],main:lr.grey[0],mediumMain:lr.grey[110],light:lr.grey[0],dark:lr.grey[0]},text:{primary:lr.grey[1e3],tertiary:at,fourth:$t},outerAppStyle:{backgroundColor:lr.grey[10]},dashboardRedBoxStyle:{color:"#cf1408"},dashboardGreenBoxStyle:{color:"#2a8063"},reactDateTimePickerStyle:{backgroundColor:lr.grey[0],color:lr.grey[950]},channelAndAttributeBoxesStyle:{backgroundColor:$t,color:lr.grey[1e3],borderBottom:"solid .4px #eeeded"},configurationPinkBoxStyle:{backgroundColor:lr.primary[100],color:lr.grey[1e3]},ruleBoxStyle:{backgroundColor:lr.primary[100]},reactFilterCalenderStyle:{backgroundColor:lr.grey[0],color:lr.grey[1e3]},commonPageHeadingNavbarStyle:{backgroundColor:lr.grey[0],borderBottom:"none",boxShadow:"rgb(100 100 111 / 20%) 0px 7px 10px 0px"},customWaterfallColors:{defaultChannelsDot:{backgroundColor:lr.others[10]}}}),typography:{fontFamily:"Lato",tablefont:{rowFontSize:"1.063rem",headFontSize:"1.2rem",cellFontSize:".938rem"},tabPerformance:{fontSize:".875rem"},sidebarfont:{headingFontSize:"1rem",subHeadingFontSize:".938rem"},breadCrum:".95rem",barGraph:{titleFont:"1.375rem",pieFont:".875rem",legendFont:"1rem",noDataFont:".9375rem"},sourceCard:".8438rem",dashboardFont:"1.25rem",dialogTitle:"1.5625rem",comparisonDashboard:"2.5rem",funnelText:"1.5rem",globalAttributes:"1.125rem",numPercentage:"1.875rem",titleDialog:"1.75rem",loginFont:"10px",channelFont:".9rem",socialMedia:"2.375rem",calenderFont:{font:"0.9rem",compareFont:".76rem"},h6:{fontSize:"18px","@media (max-width:1500px)":{fontSize:"1rem"},"@media (max-width:1366px)":{fontSize:".9rem"}},h5:{fontSize:"24px",fontWeight:600,"@media (max-width:1500px)":{fontSize:"20px"},"@media (max-width:1366px)":{fontSize:"1rem"}},h4:{fontSize:"28px",fontWeight:600,"@media (max-width:1500px)":{fontSize:"24px"},"@media (max-width:1366px)":{fontSize:"20px"}},h3:{fontSize:"2rem",fontWeight:600,"@media (max-width:1500px)":{fontSize:"1.6rem"},"@media (max-width:1366px)":{fontSize:"1.4rem"}},h2:{fontSize:"45px","@media (max-width:1500px)":{fontSize:"2.8rem"},"@media (max-width:1366px)":{fontSize:"2.4rem"}},h1:{fontSize:"68px","@media (max-width:1500px)":{fontSize:"4rem"},"@media (max-width:1366px)":{fontSize:"3.4rem"}}}}};var Yn=ot(97826),ti=ot(77760),Wi=ot(48322),_t=ot(42488),Ct=ot(93402),mt=ot(36020),br=ot(50472),Pt=ot(86041),qr=ot(79882),mn=ot(57931),In=ot(81445),Vr=ot(63366),Fn=ot(23060),An=ot(13957),zn=ot(82500),bi=ot(88623),Si=ot(77290),bo=ot(67402),Fi=ot(85111);function mo(tt){return(0,Fi.Z)("MuiAppBar",tt)}const _o=(0,bo.Z)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);var Ti=null;const ao=["className","color","enableColorOnDark","position"],no=tt=>{const{color:at,position:$t,classes:Fr}=tt,Xr={root:["root",`color${(0,bi.Z)(at)}`,`position${(0,bi.Z)($t)}`]};return(0,An.Z)(Xr,mo,Fr)},Ir=(tt,at)=>`${tt==null?void 0:tt.replace(")","")}, ${at})`,je=(0,zn.ZP)(Si.Z,{name:"MuiAppBar",slot:"Root",overridesResolver:(tt,at)=>{const{ownerState:$t}=tt;return[at.root,at[`position${(0,bi.Z)($t.position)}`],at[`color${(0,bi.Z)($t.color)}`]]}})(({theme:tt,ownerState:at})=>{const $t=tt.palette.mode==="light"?tt.palette.grey[100]:tt.palette.grey[900];return(0,se.Z)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},at.position==="fixed"&&{position:"fixed",zIndex:(tt.vars||tt).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},at.position==="absolute"&&{position:"absolute",zIndex:(tt.vars||tt).zIndex.appBar,top:0,left:"auto",right:0},at.position==="sticky"&&{position:"sticky",zIndex:(tt.vars||tt).zIndex.appBar,top:0,left:"auto",right:0},at.position==="static"&&{position:"static"},at.position==="relative"&&{position:"relative"},!tt.vars&&(0,se.Z)({},at.color==="default"&&{backgroundColor:$t,color:tt.palette.getContrastText($t)},at.color&&at.color!=="default"&&at.color!=="inherit"&&at.color!=="transparent"&&{backgroundColor:tt.palette[at.color].main,color:tt.palette[at.color].contrastText},at.color==="inherit"&&{color:"inherit"},tt.palette.mode==="dark"&&!at.enableColorOnDark&&{backgroundColor:null,color:null},at.color==="transparent"&&(0,se.Z)({backgroundColor:"transparent",color:"inherit"},tt.palette.mode==="dark"&&{backgroundImage:"none"})),tt.vars&&(0,se.Z)({},at.color==="default"&&{"--AppBar-background":at.enableColorOnDark?tt.vars.palette.AppBar.defaultBg:Ir(tt.vars.palette.AppBar.darkBg,tt.vars.palette.AppBar.defaultBg),"--AppBar-color":at.enableColorOnDark?tt.vars.palette.text.primary:Ir(tt.vars.palette.AppBar.darkColor,tt.vars.palette.text.primary)},at.color&&!at.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":at.enableColorOnDark?tt.vars.palette[at.color].main:Ir(tt.vars.palette.AppBar.darkBg,tt.vars.palette[at.color].main),"--AppBar-color":at.enableColorOnDark?tt.vars.palette[at.color].contrastText:Ir(tt.vars.palette.AppBar.darkColor,tt.vars.palette[at.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:at.color==="inherit"?"inherit":"var(--AppBar-color)"},at.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))});var ht=$.forwardRef(function(at,$t){const Fr=(0,S.Z)({props:at,name:"MuiAppBar"}),{className:Xr,color:Ln="primary",enableColorOnDark:xi=!1,position:Cn="fixed"}=Fr,Wn=(0,Vr.Z)(Fr,ao),ai=(0,se.Z)({},Fr,{color:Ln,position:Cn,enableColorOnDark:xi}),ci=no(ai);return(0,_e.jsx)(je,(0,se.Z)({square:!0,component:"header",ownerState:ai,elevation:4,className:(0,Fn.default)(ci.root,Xr,Cn==="fixed"&&"mui-fixed"),ref:$t},Wn))}),Bt=ot(64765),Dt=ot(30260),Yt=ot(18051);function yr(tt){return(0,Fi.Z)("MuiDrawer",tt)}const zt=(0,bo.Z)("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);var rn=null;const On=["BackdropProps"],xn=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],Kn=(tt,at)=>{const{ownerState:$t}=tt;return[at.root,($t.variant==="permanent"||$t.variant==="persistent")&&at.docked,at.modal]},jn=tt=>{const{classes:at,anchor:$t,variant:Fr}=tt,Xr={root:["root"],docked:[(Fr==="permanent"||Fr==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${(0,bi.Z)($t)}`,Fr!=="temporary"&&`paperAnchorDocked${(0,bi.Z)($t)}`]};return(0,An.Z)(Xr,yr,at)},to=(0,zn.ZP)(Bt.Z,{name:"MuiDrawer",slot:"Root",overridesResolver:Kn})(({theme:tt})=>({zIndex:(tt.vars||tt).zIndex.drawer})),ki=(0,zn.ZP)("div",{shouldForwardProp:zn.FO,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:Kn})({flex:"0 0 auto"}),zo=(0,zn.ZP)(Si.Z,{name:"MuiDrawer",slot:"Paper",overridesResolver:(tt,at)=>{const{ownerState:$t}=tt;return[at.paper,at[`paperAnchor${(0,bi.Z)($t.anchor)}`],$t.variant!=="temporary"&&at[`paperAnchorDocked${(0,bi.Z)($t.anchor)}`]]}})(({theme:tt,ownerState:at})=>(0,se.Z)({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(tt.vars||tt).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},at.anchor==="left"&&{left:0},at.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},at.anchor==="right"&&{right:0},at.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},at.anchor==="left"&&at.variant!=="temporary"&&{borderRight:`1px solid ${(tt.vars||tt).palette.divider}`},at.anchor==="top"&&at.variant!=="temporary"&&{borderBottom:`1px solid ${(tt.vars||tt).palette.divider}`},at.anchor==="right"&&at.variant!=="temporary"&&{borderLeft:`1px solid ${(tt.vars||tt).palette.divider}`},at.anchor==="bottom"&&at.variant!=="temporary"&&{borderTop:`1px solid ${(tt.vars||tt).palette.divider}`})),Ko={left:"right",right:"left",top:"down",bottom:"up"};function uo(tt){return["left","right"].indexOf(tt)!==-1}function ia(tt,at){return tt.direction==="rtl"&&uo(at)?Ko[at]:at}var so=$.forwardRef(function(at,$t){const Fr=(0,S.Z)({props:at,name:"MuiDrawer"}),Xr=(0,Yt.Z)(),Ln={enter:Xr.transitions.duration.enteringScreen,exit:Xr.transitions.duration.leavingScreen},{anchor:xi="left",BackdropProps:Cn,children:Wn,className:ai,elevation:ci=16,hideBackdrop:Pn=!1,ModalProps:{BackdropProps:vi}={},onClose:wa,open:Qo=!1,PaperProps:yt={},SlideProps:Xn,TransitionComponent:Vi=Dt.Z,transitionDuration:Qi=Ln,variant:Bo="temporary"}=Fr,Oo=(0,Vr.Z)(Fr.ModalProps,On),Ro=(0,Vr.Z)(Fr,xn),So=$.useRef(!1);$.useEffect(()=>{So.current=!0},[]);const $o=ia(Xr,xi),Yi=xi,k=(0,se.Z)({},Fr,{anchor:Yi,elevation:ci,open:Qo,variant:Bo},Ro),ge=jn(k),Ze=(0,_e.jsx)(zo,(0,se.Z)({elevation:Bo==="temporary"?ci:0,square:!0},yt,{className:(0,Fn.default)(ge.paper,yt.className),ownerState:k,children:Wn}));if(Bo==="permanent")return(0,_e.jsx)(ki,(0,se.Z)({className:(0,Fn.default)(ge.root,ge.docked,ai),ownerState:k,ref:$t},Ro,{children:Ze}));const Xe=(0,_e.jsx)(Vi,(0,se.Z)({in:Qo,direction:Ko[$o],timeout:Qi,appear:So.current},Xn,{children:Ze}));return Bo==="persistent"?(0,_e.jsx)(ki,(0,se.Z)({className:(0,Fn.default)(ge.root,ge.docked,ai),ownerState:k,ref:$t},Ro,{children:Xe})):(0,_e.jsx)(to,(0,se.Z)({BackdropProps:(0,se.Z)({},Cn,vi,{transitionDuration:Qi}),className:(0,Fn.default)(ge.root,ge.modal,ai),open:Qo,ownerState:k,onClose:wa,hideBackdrop:Pn,ref:$t},Ro,Oo,{children:Xe}))}),zi=ot(70354),Xi,ua,ta=null;function Pi(){return Pi=Object.assign?Object.assign.bind():function(tt){for(var at=1;at<arguments.length;at++){var $t=arguments[at];for(var Fr in $t)Object.prototype.hasOwnProperty.call($t,Fr)&&(tt[Fr]=$t[Fr])}return tt},Pi.apply(this,arguments)}function Ji(tt,at){if(tt==null)return{};var $t=Do(tt,at),Fr,Xr;if(Object.getOwnPropertySymbols){var Ln=Object.getOwnPropertySymbols(tt);for(Xr=0;Xr<Ln.length;Xr++)Fr=Ln[Xr],!(at.indexOf(Fr)>=0)&&Object.prototype.propertyIsEnumerable.call(tt,Fr)&&($t[Fr]=tt[Fr])}return $t}function Do(tt,at){if(tt==null)return{};var $t={},Fr=Object.keys(tt),Xr,Ln;for(Ln=0;Ln<Fr.length;Ln++)Xr=Fr[Ln],!(at.indexOf(Xr)>=0)&&($t[Xr]=tt[Xr]);return $t}function Ki(tt,at){var $t=tt.title,Fr=tt.titleId,Xr=Ji(tt,ta);return React.createElement("svg",Pi({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:55.868,height:55.868,viewBox:"0 0 55.868 55.868",ref:at,"aria-labelledby":Fr},Xr),$t?React.createElement("title",{id:Fr},$t):null,Xi||(Xi=React.createElement("defs",null,React.createElement("linearGradient",{id:"linear-gradient",x1:.106,y1:.937,x2:.931,y2:.107,gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#9149ff"}),React.createElement("stop",{offset:1,stopColor:"#e600ff"})))),ua||(ua=React.createElement("g",{id:"Group_3939","data-name":"Group 3939",transform:"translate(13036 -8627)"},React.createElement("path",{id:"Path_2425","data-name":"Path 2425",d:"M48.38,27.243,40.066,38.9l-8.191-5.149a3.1,3.1,0,0,0-4.336.609L16.98,47.644l0,0a3.116,3.116,0,0,0,.5,4.38,3.05,3.05,0,0,0,1.932.686,3.18,3.18,0,0,0,2.474-1.289L30.2,40.867s8.29,5.272,8.443,5.379a3.1,3.1,0,0,0,4.312-.755l10.5-14.55V30.88a3.121,3.121,0,1,0-5.072-3.637",transform:"translate(-13043.303 8615.452)",fill:"url(#linear-gradient)"}),React.createElement("path",{id:"Path_2426","data-name":"Path 2426",d:"M35.552,2.813a17.522,17.522,0,0,1,17.5,17.5V35.552a17.522,17.522,0,0,1-17.5,17.5H20.316a17.522,17.522,0,0,1-17.5-17.5V20.316a17.522,17.522,0,0,1,17.5-17.5Zm0-2.813H20.316A20.316,20.316,0,0,0,0,20.316V35.552A20.316,20.316,0,0,0,20.316,55.868H35.552A20.316,20.316,0,0,0,55.868,35.552V20.316A20.316,20.316,0,0,0,35.552,0",transform:"translate(-13036 8627)",fill:"#4d4d4d"}))))}var fi=null,oi=ot.p+"static/media/DiggLogo.e113f050aae4d3dc5c38677d85168e42.svg",_i=ot(61241),Jr=ot(25588),hi=ot(53624),yi=ot(5581),Ci=ot(97827),Oi=ot(94157),Mn=ot(48650),wo=ot(2480),xo=ot(63425),Ba=ot(91933),Eo=ot(66005),pa=ot(93780),va=ot(19855),oa=ot(68342),xs=ot(68474),ls=ot(88131),Wa=ot(18900),si=ot(12384),Rs=ot(36105),Ta=ot.n(Rs),Ka=ot(9012),Fl=ot(96376),wl=Object.defineProperty,El=Object.defineProperties,tu=Object.getOwnPropertyDescriptors,Xl=Object.getOwnPropertySymbols,Ql=Object.prototype.hasOwnProperty,rl=Object.prototype.propertyIsEnumerable,hl=(tt,at,$t)=>at in tt?wl(tt,at,{enumerable:!0,configurable:!0,writable:!0,value:$t}):tt[at]=$t,Ks=(tt,at)=>{for(var $t in at||(at={}))Ql.call(at,$t)&&hl(tt,$t,at[$t]);if(Xl)for(var $t of Xl(at))rl.call(at,$t)&&hl(tt,$t,at[$t]);return tt},qo=(tt,at)=>El(tt,tu(at)),jl=()=>{var tt,at;let[$t,Fr]=(0,$.useState)(pa._2.getDefaultRange());const[Xr,Ln]=(0,$.useState)(Mn.Z.getItem("date_comparison")),[xi,Cn]=(0,$.useState)(((tt=Mn.Z.getItem("filters"))==null?void 0:tt.insights)||pa._2.getDefaultCMOFilters()),[Wn,ai]=(0,$.useState)(!1),ci=(0,Eo.Z)(),Pn=(0,si.v9)(Xn=>Xn),vi=Xn=>{const Vi={type:"dateRange",data:Xn};Ba.Z.emit(Vi),Fr(Xn)},wa=Xn=>{const Vi={type:"onCompareChange",data:Mn.Z.getItem("date_comparison")};Ba.Z.emit(Vi),Ln(Mn.Z.getItem("date_comparison"))};(0,$.useEffect)(()=>{const Xn=Mn.Z.getItem("dateRange");Xn&&($t=Xn,Fr(Ks({},$t)))},[]);const Qo=()=>({date_type:"",attribution_model:1,relational_operator:1,excludes:[],conditions:[],segment_id:null,start_date:pa._2.getDefaultFilters().start_date,end_date:pa._2.getDefaultFilters().end_date}),yt=Xn=>{const Qi={condition:Xn==null?void 0:Xn.conditions.map(Oo=>(delete Oo.relational_operator,Oo))},Bo={type:"submitFilter",data:qo(Ks({},Xn),{conditions:Qi==null?void 0:Qi.condition})};Ba.Z.emit(Bo),Cn(Xn)};return(0,_e.jsxs)("div",{style:{display:"flex",width:"100%",padding:"10px",alignItems:"center"},className:"helo",children:[(0,_e.jsxs)("div",{style:{width:"35em"},children:[(0,_e.jsx)(va.Z,{variant:"h5",component:"span",color:ci.palette.text.primary,children:location.pathname=="/custom/dashboard"?(0,_e.jsx)("span",{style:{fontSize:"20px"},children:"Custom Dashboard"}):"CMO Dashboard"}),(0,_e.jsx)(oa.Z,{breadCrumbsList:location.pathname=="/custom/dashboard"?null:pa.yr})]}),(0,_e.jsxs)("div",{style:{float:"right",display:"flex",alignSelf:"center",justifyContent:"right",alignItems:"center",width:"100%"},children:[(0,_e.jsx)(Ka.Z,{left:location.pathname=="/custom/dashboard"?"0rem":""}),(0,_e.jsx)(W.ZP,{display:"flex",justifyContent:"start",style:{left:location.pathname=="/custom/dashboard"?"0":"2.5rem",position:"relative"},children:(0,_e.jsx)(Wa.Z,{name:"CMO",id:1,filters:xi,shareReportsRequest:qo(Ks({},(at=Pn==null?void 0:Pn.cmo_request_body)==null?void 0:at.filter_data),{start_date:Ta()($t.start_date).format("YYYY-MM-DD"),end_date:Ta()($t.end_date).format("YYYY-MM-DD"),dimension:Pn==null?void 0:Pn.cmo_dimension_value,matrices:Pn==null?void 0:Pn.cmo_metric_value}),downloadPDFClassName:"dashboard"})}),(0,_e.jsx)(W.ZP,{display:"flex",justifyContent:"start",style:{left:location.pathname=="/custom/dashboard"?"0":"1.5rem",position:"relative"},children:(0,_e.jsx)(xs.Z,{})}),location.pathname!="/custom/dashboard"?(0,_e.jsx)(ls.Z,{payload:(Pn==null?void 0:Pn.cmo_bookmark_request_body)||[],bookmarkName:"CMO Dashboard Report"}):null,location.pathname=="/insights/cmo/dashboard"||location.pathname=="/custom/dashboard"?(0,_e.jsx)(Fl.Z,{filters:pa._2.getFiltersforCMO(),onSubmit:yt,selectedFilters:xi,onReset:()=>Qo(),showSegments:!0}):null,location.pathname=="/insights/cmo/dashboard"||location.pathname=="/custom/dashboard"?(0,_e.jsx)(xo.Z,{onChange:vi,onCompareChange:Xn=>wa(Xn),defaultMonths:1,start_date:$t==null?void 0:$t.start_date,end_date:$t==null?void 0:$t.end_date,pre_start_date:$t==null?void 0:$t.pre_start_date,pre_end_date:$t==null?void 0:$t.pre_end_date,showComparison:!0,showPercentageChange:Xr,minLastYear:2,isMultipleRanges:!0}):null]})]})},Hl=ot(83242),ks=(tt=>(tt.CUSTOM_DASHBOARD="Custom Dashboard",tt.CUSTOM_REPORTING="Custom Reporting",tt))(ks||{}),bs=ot(28353),Au=ot(16216),pl=Object.defineProperty,Ja=Object.defineProperties,Pa=Object.getOwnPropertyDescriptors,ns=Object.getOwnPropertySymbols,Zl=Object.prototype.hasOwnProperty,ll=Object.prototype.propertyIsEnumerable,ul=(tt,at,$t)=>at in tt?pl(tt,at,{enumerable:!0,configurable:!0,writable:!0,value:$t}):tt[at]=$t,Po=(tt,at)=>{for(var $t in at||(at={}))Zl.call(at,$t)&&ul(tt,$t,at[$t]);if(ns)for(var $t of ns(at))ll.call(at,$t)&&ul(tt,$t,at[$t]);return tt},Ds=(tt,at)=>Ja(tt,Pa(at)),Cl=(tt,at,$t)=>new Promise((Fr,Xr)=>{var Ln=Wn=>{try{Cn($t.next(Wn))}catch(ai){Xr(ai)}},xi=Wn=>{try{Cn($t.throw(Wn))}catch(ai){Xr(ai)}},Cn=Wn=>Wn.done?Fr(Wn.value):Promise.resolve(Wn.value).then(Ln,xi);Cn(($t=$t.apply(tt,at)).next())});const jt=(0,$.lazy)(()=>ot.e(9698).then(ot.bind(ot,19698))),pt=(0,$.lazy)(()=>ot.e(229).then(ot.bind(ot,30229))),wt=(0,$.lazy)(()=>ot.e(1373).then(ot.bind(ot,41373))),Ye=(0,$.lazy)(()=>ot.e(9421).then(ot.bind(ot,29421))),Ut=(0,$.lazy)(()=>ot.e(7964).then(ot.bind(ot,87964))),fr=Mn.Z.getItem("isClient"),Tr=224,ln=tt=>({width:Tr,overflowX:"hidden"}),pi=tt=>({transition:tt.transitions.create("width",{easing:tt.transitions.easing.sharp,duration:tt.transitions.duration.leavingScreen}),overflowX:"hidden",width:"55px",display:"flex",alignItems:"start"}),Di=(0,zn.ZP)(so,{shouldForwardProp:tt=>tt!=="open"})(({theme:tt,open:at})=>Po(Po({width:Tr,flexShrink:0,whiteSpace:"nowrap",boxSizing:"border-box"},at&&Ds(Po({},ln(tt)),{"& .MuiDrawer-paper":ln(tt)})),!at&&Ds(Po({},pi(tt)),{"& .MuiDrawer-paper":pi(tt)}))),Mo=(0,zn.ZP)("div")(({theme:tt})=>Po({display:"flex",alignItems:"center",justifyContent:"flex-end",padding:tt.spacing(0,1)},tt.mixins.toolbar)),Vo=(0,zn.ZP)(ht,{shouldForwardProp:tt=>tt!=="open"})(({theme:tt,open:at})=>Po({zIndex:tt.zIndex.drawer+1,transition:tt.transitions.create(["width","margin"],{easing:tt.transitions.easing.sharp,duration:tt.transitions.duration.leavingScreen})},at&&{marginLeft:Tr,width:`calc(100% - ${Tr}px)`,transition:tt.transitions.create(["width","margin"],{easing:tt.transitions.easing.sharp,duration:tt.transitions.duration.enteringScreen})}));function Bs(tt){const at=(0,Yt.Z)(),$t=(0,ti.Z)(),Fr=(0,d.s0)(),Xr=(0,Ci.Z)(),[Ln,xi]=(0,Hr.bp)(),{showSidebar:Cn}=Ln,Wn=Mn.Z.getItem("embeded")||!1,ai=Mn.Z.getItem("customReportName")||ks.CUSTOM_REPORTING,ci=Mn.Z.getItem("userData");let Pn=[...Au.X];const[vi,wa]=(0,$.useState)(Cn),[Qo,yt]=(0,$.useState)({isHovered:!1,iconHover:!1,isSidebarHovered:!1,isCustomDashboard:!1,isCustomReporting:!1}),{isHovered:Xn,iconHover:Vi,isSidebarHovered:Qi}=Qo,[Bo,Oo]=(0,$.useState)({backgroundColor:"#F5F5F5",bgColorDark:"#121212",color:"#333",darkModeColor:"#fff"});let Ro=Mn.Z.getItem("connectedCRM")||[];const[So,$o]=(0,$.useState)(Mn.Z.getItem("isCustomDashboardEnable")||!1),Yi=(Bn,Wo)=>Wo!==0&&window.location.pathname.includes(Bn),k=(0,$.useRef)(),ge=(0,si.v9)(Bn=>Bn==null?void 0:Bn.isPdfClicked),Ze={backgroundColor:`${at.palette.text.tertiary}`,bgColorDark:`${at.palette.text.tertiary}`,color:"white",darkModeColor:"#fff"},Xe={backgroundColor:"#F5F5F5",bgColorDark:"121212",color:"#333",darkModeColor:"#fff"},xt={height:"20px",width:"20px",backgroundColor:at.palette.mode==="dark"?Bo.bgColorDark:Bo.backgroundColor,borderRadius:"50%",border:at.palette.mode==="dark"?"2px solid rgb(47, 47, 47)":"",color:at.palette.mode==="dark"?Bo.darkModeColor:Bo.color,backdropFilter:"blur(5px)",transition:"all 0.2s ease-in-out"},xr=()=>{Oo(Po({},Xe)),yt(Bn=>Ds(Po({},Bn),{isHovered:!1,iconHover:!1,isCustomDashboard:!1,isCustomReporting:!1})),wa(!vi)},sn=Bn=>{switch(Bn){case ks.CUSTOM_REPORTING:return Qo.isCustomReporting&&!vi?at.palette.mode==="dark"?"Sidebar__item__svg__darkModehover":"Sidebar__item__svg__lightModeHover":"";case ks.CUSTOM_DASHBOARD:return Qo.isCustomDashboard&&!vi?at.palette.mode==="dark"?"Sidebar__item__svg__darkModehover":"Sidebar__item__svg__lightModeHover":"";default:return"Sidebar__item__svg__lightModeHover"}},Ai=Bn=>{switch(Bn){case ks.CUSTOM_REPORTING:yt(Wo=>Ds(Po({},Wo),{isCustomReporting:!0,isCustomDashboard:!1}));break;case ks.CUSTOM_DASHBOARD:yt(Wo=>Ds(Po({},Wo),{isCustomDashboard:!0,isCustomReporting:!1}));break}},Zi=Bn=>{switch(Bn){case ks.CUSTOM_REPORTING:yt(Wo=>Ds(Po({},Wo),{isCustomReporting:!1}));break;case ks.CUSTOM_DASHBOARD:yt(Wo=>Ds(Po({},Wo),{isCustomDashboard:!1}));break}},$i=()=>{yt(Bn=>Ds(Po({},Bn),{iconHover:!0})),Oo(Po({},Ze))},Lo=()=>{yt(Bn=>Ds(Po({},Bn),{iconHover:!1,isSidebarHovered:!1})),Oo(Po({},Xe))},Zo=()=>{yt(Bn=>Ds(Po({},Bn),{isSidebarHovered:!1})),Oo(Po({},Xe))},da=Mn.Z.getItem("embeded")?"54px":"0px",Ia=()=>{const Bn={headers:{}};return Xr.get(Oi.Z.getConnectedCRM(Bn),!0).then(Wo=>Cl(this,null,function*(){var ba;let ss=[];if(((ba=Wo==null?void 0:Wo.data)==null?void 0:ba.length)>0)for(let qa=0;qa<Wo.data.length;qa++)ss.push(Wo.data[qa].platform_id);Mn.Z.setItem("connectedCRM",ss)})).catch(Wo=>{$t.addToast({message:Wo.message||"Something went wrong",timeout:2e3,type:"error"})})},fa=Bn=>{switch(Bn.type){case"isCustomDashboard":$o(Bn.data);break;case"isCustomNavigationBarEnable":Bn.data==!1&&(ji(Pn),Mn.Z.removeItem("sideBarSectionData"));break;case"dataFromCustomNavigationBarToHeader":if(Bn.data){const Wo=localStorage.getItem("sideBarSectionData"),ba=JSON.parse(Wo);ji(ba)}break;default:break}},as=()=>{const Bn={type:"hidePopupEffect",data:!0};Ba.Z.emit(Bn)},Va=()=>Cl(this,null,function*(){(Ro==null?void 0:Ro.length)==0&&ci&&(yield Ia())});(0,$.useEffect)(()=>{Va()},[]),(0,$.useEffect)(()=>{let Bn=Ba.Z.subscribe(fa);return()=>{Bn.unsubscribe()}},[]);function ha(Bn){return(0,_e.jsx)(_e.Fragment,{children:Bn.hidden!==!0?(0,_e.jsxs)(Pt.ZP,{onMouseEnter:Bn.onMouseEnter,style:Bn.heading?{pointerEvents:"none",fontWeight:700,display:"flex",alignItems:"end"}:{},className:!Bn.isSubCategory||Bn.isListItem?"Sidebar__item":"Sidebar__subItem",onClick:Bn.onClick?Bn.onClick:()=>{Bn.navigatePath&&(as(),Fr(Bn.navigatePath))},sx:{mr:vi?3:"auto",justifyContent:"center"},button:!0,disabled:Bn.disabled,children:[Bn.showBorderSelector&&Yi(Bn.path)?(0,_e.jsx)("div",{className:"Sidebar__lineSelector"}):(0,_e.jsx)(_e.Fragment,{}),(0,_e.jsx)(qr.Z,{className:`${Yi(Bn.path)?"Sidebar__item__svg__selected sidebar_svg":"sidebar_svg"} ${sn(Bn.title)}
              `,style:Bn.icon?{display:"inline"}:{display:"none"},onMouseEnter:()=>{Ai(Bn.title)},onMouseLeave:()=>{Zi(Bn.title)},sx:{mr:vi?3:"auto",justifyContent:"center"},children:(0,_e.jsx)("span",{children:Bn.icon})}),(Bn==null?void 0:Bn.path)=="/editProfile"&&Bn.title.length>15?(0,_e.jsx)(Wi.Z,{title:Bn.title,ellipsisOnOverflow:!((Bn==null?void 0:Bn.path)=="/editProfile"&&Bn.title.length>15),avoidOverflow:!1,style:{overflow:"inherit",width:"80%"},disableInteraction:!1,children:(0,_e.jsx)(mn.Z,{sx:{opacity:vi||Bn.heading||Bn.isListItem||Bn.isSubCategory?1:0},style:{color:`${Yi(Bn.path)?hi.E.primary.main:at.palette.mode==="dark"?"white":"black"}`,fontWeight:`${Bn.heading?700:Bn.isSubCategory||!Bn.onClick?"normal":"600"}`},className:!Bn.isSubCategory||Bn.isListItem?"Sidebar__item__text":"Sidebar__item__SubText",primary:(0,_e.jsx)("div",{className:(Bn==null?void 0:Bn.path)=="/editProfile"?"Sidebar__item__textOverflow":"",children:Bn.title}),primaryTypographyProps:{component:"div"}})}):(0,_e.jsx)(mn.Z,{sx:{opacity:vi||Bn.heading||Bn.isListItem||Bn.isSubCategory?1:0},style:{color:`${Yi(Bn.path)?hi.E.primary.main:at.palette.mode==="dark"?"white":"black"}`,fontWeight:`${Bn.heading?700:Bn.isSubCategory||!Bn.onClick?"normal":"600"}`},className:!Bn.isSubCategory||Bn.isListItem?"Sidebar__item__text":"Sidebar__item__SubText",primary:(0,_e.jsx)("div",{className:(Bn==null?void 0:Bn.path)=="/editProfile"?"Sidebar__item__textOverflow":"",children:Bn.title}),primaryTypographyProps:{component:"div"}}),Bn.stateChange!==void 0?Bn.stateChange?(0,_e.jsx)(Ct.Z,{color:"primary"}):(0,_e.jsx)(_t.Z,{style:{color:"#BFBFBF"}}):null]},Bn.title):null})}(0,$.useEffect)(()=>{var Bn,Wo;const ba=Mn.Z.getItem("userData");if((Bn=ba==null?void 0:ba.connected_crms)!=null&&Bn.includes("Salesforce")){xi(_r.Nj(ba.connected_crms));return}if((Wo=ba==null?void 0:ba.connected_crms)!=null&&Wo.includes("Hubspot_Crm")){xi(_r.Nj(ba.connected_crms));return}xi(_r.Nj([]))},[]),(0,yi.O)(k,()=>{as()});const xa=Bn=>{switch(Bn){case"sidebar":if(vi)return at.palette.mode==="light"?"Sidebar__list":"Sidebar__listDark";if(!vi)return at.palette.mode==="light"?"Sidebar__listClosed":"Sidebar__listClosedDark";break;case"sidebarSubCategory":if(vi)return at.palette.mode==="light"?"Sidebar__subCategoryList":"Sidebar__subCategoryListDark";if(!vi)return at.palette.mode==="light"?"Sidebar__subCategoryListClosed":"Sidebar__subCategoryListClosedDark";break;default:break}};let ko=location.pathname=="/insights/cmo/dashboard"||location.pathname=="/custom/dashboard"?"headerBorderRadius":"";const Mi=Mn.Z.getItem("sideBarSectionData");let co=Mi?[...Mi]:[];const go=Mn.Z.getItem("isCustomizedSideBar")||0,[qi,ji]=(0,$.useState)();(0,$.useEffect)(()=>{ji(go==0?Pn:(0,bs.g)(co,Pn))},[]);const ra=Bn=>{let Wo=go==0?Pn:(0,bs.g)([...co],Pn),ba=Wo.findIndex(ss=>ss.unique_id==Bn);return Wo[ba]},jo=Mn.Z.getItem("Client_data"),Ca=jo==null?void 0:jo.DSLogo,Ra=jo==null?void 0:jo.LSLogo,ro=jo==null?void 0:jo.DOSLogo,_a=jo==null?void 0:jo.LOSLogo,Ma={fill:at.palette.text.tertiary,width:"20px",height:"20px"};return(0,_e.jsxs)(_e.Fragment,{children:[(0,_e.jsx)("div",{children:(0,_e.jsx)(Vo,{position:"fixed",open:vi,style:{height:location.pathname.includes("/dash")&&window.innerWidth<=1370?"5.5rem":location.pathname.includes("/dash")&&window.innerWidth>=1526?"4.5rem":"",borderRadius:"0px !important",placeContent:"center",backgroundImage:"none",backgroundColor:at.palette.mode==="light"?"white":"rgb(22, 27, 34)",display:ge?"none":""},className:vi?"Sidebar__appbar "+ko:"Sidebar__appbarClosed headerBorderRadius",children:location.pathname=="/insights/cmo/dashboard"||location.pathname=="/custom/dashboard"?(0,_e.jsx)(jl,{}):null})}),(0,_e.jsx)("div",{className:"Sidebar",id:"digg_sidebar",ref:k,onMouseEnter:()=>{yt(Bn=>Ds(Po({},Bn),{isSidebarHovered:!0}))},onMouseLeave:()=>{yt(Bn=>Ds(Po({},Bn),{iconHover:!1,isSidebarHovered:!1}))},children:(0,_e.jsxs)(Di,{onMouseEnter:()=>{yt(Bn=>Ds(Po({},Bn),{isSidebarHovered:!0}))},onMouseLeave:Zo,sx:{flexShrink:0,"& .MuiPaper-root":{backgroundColor:at.palette.background.alt,borderRight:at.palette.mode==="light"?"none":""}},className:"Sidebar__drawer",variant:"persistent",anchor:"left",open:vi,children:[(0,_e.jsx)(Mo,{children:(0,_e.jsx)("div",{className:vi?"Sidebar__logoContainer":"Sidebar__logoContainer Sidebar__logoContainerClosed",children:fr?vi?(0,_e.jsx)("img",{src:at.palette.mode==="dark"?Ca:Ra,alt:"Logo",height:70}):(0,_e.jsx)("img",{src:at.palette.mode==="dark"?ro:_a,alt:"logo",style:da==="0px"?{width:"50px"}:{width:"50px"}}):vi?(0,_e.jsx)("img",{src:at.palette.mode==="dark"?Jr.Z:_i.Z,alt:"Company Logo",style:{height:"55px",width:"90%"}}):(0,_e.jsx)("img",{src:oi,alt:"digg logo",style:da==="0px"?{height:"65px",width:"65%"}:{height:"55px",width:"70%"}})})}),(0,_e.jsx)("div",{className:"Sidebar__divider",style:{backgroundColor:at.palette.background.mediumMain},children:(0,_e.jsx)("div",{style:{marginTop:vi?"":"-10px"},children:(0,_e.jsx)(br.Z,{open:(vi||!vi)&&Vi&&Qi,className:"Sidebar__tooltip",style:Po(Po(Po(Po({marginTop:vi?"-5%":"",marginLeft:vi?"50%":"30%",position:"absolute",zIndex:"999"},xt),vi&&{right:"105px"}),vi),vi||{marginTop:""}),title:vi?"Collapse Side Bar":"Open Side Bar",onMouseLeave:()=>{yt(Bn=>Ds(Po({},Bn),{iconHover:!1})),Oo(Po({},Xe))},children:(0,_e.jsx)(zi.Z,{in:Qi,timeout:1e3,children:vi?(0,_e.jsx)(mt.Z,{fontSize:"small",className:"Sidebar__collapsebutton",onClick:xr,onMouseEnter:$i,onMouseLeave:Lo}):(0,_e.jsx)(Ct.Z,{fontSize:"small",className:"Sidebar__collapsebutton",onClick:xr,onMouseEnter:$i,onMouseLeave:Lo})})})})}),(0,_e.jsxs)(In.Z,{className:vi?"Sidebar__list icon":"Sidebar__listClosed icon",children:[(0,_e.jsx)("div",{className:"Sidebar__divider",style:{backgroundColor:at.palette.background.mediumMain}}),Wn?null:(0,_e.jsx)(jt,{isSidebarOpen:vi})]}),(0,_e.jsxs)(In.Z,{className:xa("sidebar"),children:[qi?(0,_e.jsx)(Ye,{data:ra("insights"),isSidebarOpen:vi,isHovered:Xn}):null,(0,_e.jsx)(_e.Fragment,{children:!Wn&&qi?(0,_e.jsx)(pt,{data:ra("data_quality"),isSidebarOpen:vi,isHovered:Xn}):null}),Wn?null:(0,_e.jsxs)(_e.Fragment,{children:[(0,_e.jsx)(ha,{title:ai||ks.CUSTOM_REPORTING,path:"/custom/report",navigatePath:"/custom/reporting",icon:Hl.Z.getCustomReportingIcon(Ma),onClick:()=>{Fr("/custom/report/add")},showBorderSelector:!0,hidden:Wn}),(0,_e.jsx)("div",{hidden:Wn,className:"Sidebar__divider",style:{backgroundColor:at.palette.background.mediumMain}})]}),So&&!Wn?(0,_e.jsxs)(_e.Fragment,{children:[(0,_e.jsx)(ha,{title:ks.CUSTOM_DASHBOARD,path:"/custom/dashboard",navigatePath:"/custom/dashboard",icon:at.palette.mode==="dark"?Hl.Z.getDarkModeCustomDashboardIcon(Ma):Hl.Z.getCustomDashboardIcon(Ma),onClick:()=>{Fr("/custom/dashboard")},showBorderSelector:!0,hidden:Wn}),(0,_e.jsx)("div",{hidden:Wn,className:"Sidebar__divider",style:{backgroundColor:at.palette.background.mediumMain}})]}):null,(0,_e.jsx)("div",{hidden:Wn,className:"Sidebar__divider"}),qi&&!Wn?(0,_e.jsx)(Ut,{data:ra("settings"),isSidebarOpen:vi,isHovered:Xn}):null,(0,_e.jsx)("div",{hidden:Wn,className:"Sidebar__divider",style:{backgroundColor:at.palette.background.mediumMain}})," "]})]})})]})}var is=Bs,cs=ot(14931),Us=ot(61199),Uo=ot(58426),Vs=ot(25156);function Ns(tt){return tt.substring(2).toLowerCase()}function du(tt,at){return at.documentElement.clientWidth<tt.clientX||at.documentElement.clientHeight<tt.clientY}function ru(tt){const{children:at,disableReactTree:$t=!1,mouseEvent:Fr="onClick",onClickAway:Xr,touchEvent:Ln="onTouchEnd"}=tt,xi=$.useRef(!1),Cn=$.useRef(null),Wn=$.useRef(!1),ai=$.useRef(!1);$.useEffect(()=>(setTimeout(()=>{Wn.current=!0},0),()=>{Wn.current=!1}),[]);const ci=(0,Us.Z)(at.ref,Cn),Pn=(0,Uo.Z)(Qo=>{const yt=ai.current;ai.current=!1;const Xn=(0,Vs.Z)(Cn.current);if(!Wn.current||!Cn.current||"clientX"in Qo&&du(Qo,Xn))return;if(xi.current){xi.current=!1;return}let Vi;Qo.composedPath?Vi=Qo.composedPath().indexOf(Cn.current)>-1:Vi=!Xn.documentElement.contains(Qo.target)||Cn.current.contains(Qo.target),!Vi&&($t||!yt)&&Xr(Qo)}),vi=Qo=>yt=>{ai.current=!0;const Xn=at.props[Qo];Xn&&Xn(yt)},wa={ref:ci};return Ln!==!1&&(wa[Ln]=vi(Ln)),$.useEffect(()=>{if(Ln!==!1){const Qo=Ns(Ln),yt=(0,Vs.Z)(Cn.current),Xn=()=>{xi.current=!0};return yt.addEventListener(Qo,Pn),yt.addEventListener("touchmove",Xn),()=>{yt.removeEventListener(Qo,Pn),yt.removeEventListener("touchmove",Xn)}}},[Pn,Ln]),Fr!==!1&&(wa[Fr]=vi(Fr)),$.useEffect(()=>{if(Fr!==!1){const Qo=Ns(Fr),yt=(0,Vs.Z)(Cn.current);return yt.addEventListener(Qo,Pn),()=>{yt.removeEventListener(Qo,Pn)}}},[Pn,Fr]),(0,_e.jsx)($.Fragment,{children:$.cloneElement(at,wa)})}var Ou=ru,nu=ot(85923),nl=ot(72945);function fu(tt){return(0,Fi.Z)("MuiSnackbarContent",tt)}const z=(0,bo.Z)("MuiSnackbarContent",["root","message","action"]);var _=null;const H=["action","className","message","role"],Ae=tt=>{const{classes:at}=tt,$t={root:["root"],action:["action"],message:["message"]};return(0,An.Z)($t,fu,at)},Be=(0,zn.ZP)(Si.Z,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(tt,at)=>at.root})(({theme:tt})=>{const at=tt.palette.mode==="light"?.8:.98,$t=(0,nl._4)(tt.palette.background.default,at);return(0,se.Z)({},tt.typography.body2,{color:tt.vars?tt.vars.palette.SnackbarContent.color:tt.palette.getContrastText($t),backgroundColor:tt.vars?tt.vars.palette.SnackbarContent.bg:$t,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(tt.vars||tt).shape.borderRadius,flexGrow:1,[tt.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})}),ve=(0,zn.ZP)("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(tt,at)=>at.message})({padding:"8px 0"}),Le=(0,zn.ZP)("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(tt,at)=>at.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8});var ke=$.forwardRef(function(at,$t){const Fr=(0,S.Z)({props:at,name:"MuiSnackbarContent"}),{action:Xr,className:Ln,message:xi,role:Cn="alert"}=Fr,Wn=(0,Vr.Z)(Fr,H),ai=Fr,ci=Ae(ai);return(0,_e.jsxs)(Be,(0,se.Z)({role:Cn,square:!0,elevation:6,className:(0,Fn.default)(ci.root,Ln),ownerState:ai,ref:$t},Wn,{children:[(0,_e.jsx)(ve,{className:ci.message,ownerState:ai,children:xi}),Xr?(0,_e.jsx)(Le,{className:ci.action,ownerState:ai,children:Xr}):null]}))});function it(tt){return(0,Fi.Z)("MuiSnackbar",tt)}const gt=(0,bo.Z)("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);var Et=null;const Mt=["onEnter","onExited"],Ge=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],cr=tt=>{const{classes:at,anchorOrigin:$t}=tt,Fr={root:["root",`anchorOrigin${(0,bi.Z)($t.vertical)}${(0,bi.Z)($t.horizontal)}`]};return(0,An.Z)(Fr,it,at)},er=(0,zn.ZP)("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(tt,at)=>{const{ownerState:$t}=tt;return[at.root,at[`anchorOrigin${(0,bi.Z)($t.anchorOrigin.vertical)}${(0,bi.Z)($t.anchorOrigin.horizontal)}`]]}})(({theme:tt,ownerState:at})=>{const $t={left:"50%",right:"auto",transform:"translateX(-50%)"};return(0,se.Z)({zIndex:(tt.vars||tt).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},at.anchorOrigin.vertical==="top"?{top:8}:{bottom:8},at.anchorOrigin.horizontal==="left"&&{justifyContent:"flex-start"},at.anchorOrigin.horizontal==="right"&&{justifyContent:"flex-end"},{[tt.breakpoints.up("sm")]:(0,se.Z)({},at.anchorOrigin.vertical==="top"?{top:24}:{bottom:24},at.anchorOrigin.horizontal==="center"&&$t,at.anchorOrigin.horizontal==="left"&&{left:24,right:"auto"},at.anchorOrigin.horizontal==="right"&&{right:24,left:"auto"})})});var Kt=$.forwardRef(function(at,$t){const Fr=(0,S.Z)({props:at,name:"MuiSnackbar"}),Xr=(0,Yt.Z)(),Ln={enter:Xr.transitions.duration.enteringScreen,exit:Xr.transitions.duration.leavingScreen},{action:xi,anchorOrigin:{vertical:Cn,horizontal:Wn}={vertical:"bottom",horizontal:"left"},autoHideDuration:ai=null,children:ci,className:Pn,ClickAwayListenerProps:vi,ContentProps:wa,disableWindowBlurListener:Qo=!1,message:yt,onBlur:Xn,onClose:Vi,onFocus:Qi,onMouseEnter:Bo,onMouseLeave:Oo,open:Ro,resumeHideDuration:So,TransitionComponent:$o=zi.Z,transitionDuration:Yi=Ln,TransitionProps:{onEnter:k,onExited:ge}={}}=Fr,Ze=(0,Vr.Z)(Fr.TransitionProps,Mt),Xe=(0,Vr.Z)(Fr,Ge),xt=(0,se.Z)({},Fr,{anchorOrigin:{vertical:Cn,horizontal:Wn}}),xr=cr(xt),sn=$.useRef(),[Ai,Zi]=$.useState(!0),$i=(0,nu.Z)((...Mi)=>{Vi&&Vi(...Mi)}),Lo=(0,nu.Z)(Mi=>{!Vi||Mi==null||(clearTimeout(sn.current),sn.current=setTimeout(()=>{$i(null,"timeout")},Mi))});$.useEffect(()=>(Ro&&Lo(ai),()=>{clearTimeout(sn.current)}),[Ro,ai,Lo]);const Zo=()=>{clearTimeout(sn.current)},da=$.useCallback(()=>{ai!=null&&Lo(So!=null?So:ai*.5)},[ai,So,Lo]),Ia=Mi=>{Qi&&Qi(Mi),Zo()},fa=Mi=>{Bo&&Bo(Mi),Zo()},as=Mi=>{Xn&&Xn(Mi),da()},Va=Mi=>{Oo&&Oo(Mi),da()},ha=Mi=>{Vi&&Vi(Mi,"clickaway")},xa=Mi=>{Zi(!0),ge&&ge(Mi)},ko=(Mi,co)=>{Zi(!1),k&&k(Mi,co)};return $.useEffect(()=>{if(!Qo&&Ro)return window.addEventListener("focus",da),window.addEventListener("blur",Zo),()=>{window.removeEventListener("focus",da),window.removeEventListener("blur",Zo)}},[Qo,da,Ro]),$.useEffect(()=>{if(!Ro)return;function Mi(co){co.defaultPrevented||(co.key==="Escape"||co.key==="Esc")&&Vi&&Vi(co,"escapeKeyDown")}return document.addEventListener("keydown",Mi),()=>{document.removeEventListener("keydown",Mi)}},[Ai,Ro,Vi]),!Ro&&Ai?null:(0,_e.jsx)(Ou,(0,se.Z)({onClickAway:ha},vi,{children:(0,_e.jsx)(er,(0,se.Z)({className:(0,Fn.default)(xr.root,Pn),onBlur:as,onFocus:Ia,onMouseEnter:fa,onMouseLeave:Va,ownerState:xt,ref:$t,role:"presentation"},Xe,{children:(0,_e.jsx)($o,(0,se.Z)({appear:!0,in:Ro,timeout:Yi,direction:Cn==="top"?"down":"up",onEnter:ko,onExited:xa},Ze,{children:ci||(0,_e.jsx)(ke,(0,se.Z)({message:yt,action:xi},wa))}))}))}))}),dr=ot(32983),Zr={"toast-container":"Toast_toast-container__CfrfM","toast-container__toast":"Toast_toast-container__toast__iMKrB","toast-container__text":"Toast_toast-container__text__OUVdK","toast-container__success":"Toast_toast-container__success__rALmb","toast-container__success-toast":"Toast_toast-container__success-toast__qHzml","toast-container__success-text":"Toast_toast-container__success-text__6T9h6","toast-container-right":"Toast_toast-container-right__yhly8","toast-container-right__toast":"Toast_toast-container-right__toast__0tzlH","toast-container-right__text":"Toast_toast-container-right__text__pmHl4","toast-container__success-right":"Toast_toast-container__success-right__GNVZJ","toast-container__success-right-toast":"Toast_toast-container__success-right-toast__SoJkM","toast-container__success-right-text":"Toast_toast-container__success-right-text__f-wGD"};const dn=()=>{const[tt]=(0,f.V6)(),at=(0,$.useRef)();function $t(Fr,Xr){return(0,_e.jsx)(cs.Z,{severity:Fr,children:Xr})}return(0,_e.jsx)("div",{className:Zr["toast-container"],style:at.current,children:(0,_e.jsx)(dr.Z,{sx:{width:"100%"},spacing:8,children:tt.map((Fr,Xr)=>(at.current=Fr.pos,(0,_e.jsx)($.Fragment,{children:(0,_e.jsx)(Kt,{anchorOrigin:{vertical:"top",horizontal:"center"},open:!0,children:Xr===0?$t(Fr.type,Fr.message):(0,_e.jsx)("div",{})},"topcenter")},Math.random())))})})};var hn=$.memo(dn),$n=ot(94715),cn={},Er=ot(4942);function Gn(tt,at){var $t=Object.keys(tt);if(Object.getOwnPropertySymbols){var Fr=Object.getOwnPropertySymbols(tt);at&&(Fr=Fr.filter(function(Xr){return Object.getOwnPropertyDescriptor(tt,Xr).enumerable})),$t.push.apply($t,Fr)}return $t}function Vn(tt){for(var at=1;at<arguments.length;at++){var $t=arguments[at]!=null?arguments[at]:{};at%2?Gn(Object($t),!0).forEach(function(Fr){(0,Er.Z)(tt,Fr,$t[Fr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(tt,Object.getOwnPropertyDescriptors($t)):Gn(Object($t)).forEach(function(Fr){Object.defineProperty(tt,Fr,Object.getOwnPropertyDescriptor($t,Fr))})}return tt}function Xt(tt){return"Minified Redux error #"+tt+"; visit https://redux.js.org/Errors?code="+tt+" for the full message or use the non-minified dev environment for full errors. "}var rr=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ur=function(){return Math.random().toString(36).substring(7).split("").join(".")},Or={INIT:"@@redux/INIT"+Ur(),REPLACE:"@@redux/REPLACE"+Ur(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ur()}};function En(tt){if(typeof tt!="object"||tt===null)return!1;for(var at=tt;Object.getPrototypeOf(at)!==null;)at=Object.getPrototypeOf(at);return Object.getPrototypeOf(tt)===at}function yn(tt){if(tt===void 0)return"undefined";if(tt===null)return"null";var at=typeof tt;switch(at){case"boolean":case"string":case"number":case"symbol":case"function":return at}if(Array.isArray(tt))return"array";if(Un(tt))return"date";if(pn(tt))return"error";var $t=Rn(tt);switch($t){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return $t}return at.slice(8,-1).toLowerCase().replace(/\s/g,"")}function Rn(tt){return typeof tt.constructor=="function"?tt.constructor.name:null}function pn(tt){return tt instanceof Error||typeof tt.message=="string"&&tt.constructor&&typeof tt.constructor.stackTraceLimit=="number"}function Un(tt){return tt instanceof Date?!0:typeof tt.toDateString=="function"&&typeof tt.getDate=="function"&&typeof tt.setDate=="function"}function kn(tt){var at=typeof tt;return at}function Ui(tt,at,$t){var Fr;if(typeof at=="function"&&typeof $t=="function"||typeof $t=="function"&&typeof arguments[3]=="function")throw new Error(Xt(0));if(typeof at=="function"&&typeof $t=="undefined"&&($t=at,at=void 0),typeof $t!="undefined"){if(typeof $t!="function")throw new Error(Xt(1));return $t(Ui)(tt,at)}if(typeof tt!="function")throw new Error(Xt(2));var Xr=tt,Ln=at,xi=[],Cn=xi,Wn=!1;function ai(){Cn===xi&&(Cn=xi.slice())}function ci(){if(Wn)throw new Error(Xt(3));return Ln}function Pn(yt){if(typeof yt!="function")throw new Error(Xt(4));if(Wn)throw new Error(Xt(5));var Xn=!0;return ai(),Cn.push(yt),function(){if(Xn){if(Wn)throw new Error(Xt(6));Xn=!1,ai();var Qi=Cn.indexOf(yt);Cn.splice(Qi,1),xi=null}}}function vi(yt){if(!En(yt))throw new Error(Xt(7));if(typeof yt.type=="undefined")throw new Error(Xt(8));if(Wn)throw new Error(Xt(9));try{Wn=!0,Ln=Xr(Ln,yt)}finally{Wn=!1}for(var Xn=xi=Cn,Vi=0;Vi<Xn.length;Vi++){var Qi=Xn[Vi];Qi()}return yt}function wa(yt){if(typeof yt!="function")throw new Error(Xt(10));Xr=yt,vi({type:Or.REPLACE})}function Qo(){var yt,Xn=Pn;return yt={subscribe:function(Qi){if(typeof Qi!="object"||Qi===null)throw new Error(Xt(11));function Bo(){Qi.next&&Qi.next(ci())}Bo();var Oo=Xn(Bo);return{unsubscribe:Oo}}},yt[rr]=function(){return this},yt}return vi({type:Or.INIT}),Fr={dispatch:vi,subscribe:Pn,getState:ci,replaceReducer:wa},Fr[rr]=Qo,Fr}var Ot=null;function Ar(tt){typeof console!="undefined"&&typeof console.error=="function"&&console.error(tt);try{throw new Error(tt)}catch(at){}}function Br(tt,at,$t,Fr){var Xr=Object.keys(at),Ln=$t&&$t.type===Or.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(Xr.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!En(tt))return"The "+Ln+' has unexpected type of "'+kn(tt)+'". Expected argument to be an object with the following '+('keys: "'+Xr.join('", "')+'"');var xi=Object.keys(tt).filter(function(Cn){return!at.hasOwnProperty(Cn)&&!Fr[Cn]});if(xi.forEach(function(Cn){Fr[Cn]=!0}),!($t&&$t.type===Or.REPLACE)&&xi.length>0)return"Unexpected "+(xi.length>1?"keys":"key")+" "+('"'+xi.join('", "')+'" found in '+Ln+". ")+"Expected to find one of the known reducer keys instead: "+('"'+Xr.join('", "')+'". Unexpected keys will be ignored.')}function Wr(tt){Object.keys(tt).forEach(function(at){var $t=tt[at],Fr=$t(void 0,{type:Or.INIT});if(typeof Fr=="undefined")throw new Error(Xt(12));if(typeof $t(void 0,{type:Or.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(Xt(13))})}function tn(tt){for(var at=Object.keys(tt),$t={},Fr=0;Fr<at.length;Fr++){var Xr=at[Fr];typeof tt[Xr]=="function"&&($t[Xr]=tt[Xr])}var Ln=Object.keys($t),xi,Cn;try{Wr($t)}catch(Wn){Cn=Wn}return function(ai,ci){if(ai===void 0&&(ai={}),Cn)throw Cn;if(!1)var Pn;for(var vi=!1,wa={},Qo=0;Qo<Ln.length;Qo++){var yt=Ln[Qo],Xn=$t[yt],Vi=ai[yt],Qi=Xn(Vi,ci);if(typeof Qi=="undefined"){var Bo=ci&&ci.type;throw new Error(Xt(14))}wa[yt]=Qi,vi=vi||Qi!==Vi}return vi=vi||Ln.length!==Object.keys(ai).length,vi?wa:ai}}function Nr(tt,at){return function(){return at(tt.apply(this,arguments))}}function gn(tt,at){if(typeof tt=="function")return Nr(tt,at);if(typeof tt!="object"||tt===null)throw new Error(Xt(16));var $t={};for(var Fr in tt){var Xr=tt[Fr];typeof Xr=="function"&&($t[Fr]=Nr(Xr,at))}return $t}function wn(){for(var tt=arguments.length,at=new Array(tt),$t=0;$t<tt;$t++)at[$t]=arguments[$t];return at.length===0?function(Fr){return Fr}:at.length===1?at[0]:at.reduce(function(Fr,Xr){return function(){return Fr(Xr.apply(void 0,arguments))}})}function mi(){for(var tt=arguments.length,at=new Array(tt),$t=0;$t<tt;$t++)at[$t]=arguments[$t];return function(Fr){return function(){var Xr=Fr.apply(void 0,arguments),Ln=function(){throw new Error(Xt(15))},xi={getState:Xr.getState,dispatch:function(){return Ln.apply(void 0,arguments)}},Cn=at.map(function(Wn){return Wn(xi)});return Ln=wn.apply(void 0,Cn)(Xr.dispatch),Vn(Vn({},Xr),{},{dispatch:Ln})}}}function wi(tt){var at=function(Fr){var Xr=Fr.dispatch,Ln=Fr.getState;return function(xi){return function(Cn){return typeof Cn=="function"?Cn(Xr,Ln,tt):xi(Cn)}}};return at}var Ni=wi();Ni.withExtraArgument=wi;var Gi=Ni,lo=ot(38177),_n=ot(5157);const Cr=["#FF9C7F","#E600FF","#00ABD8"];var Ei=ot(60928),vo=ot(22767),di=Object.defineProperty,ri=Object.defineProperties,gi=Object.getOwnPropertyDescriptors,Bi=Object.getOwnPropertySymbols,eo=Object.prototype.hasOwnProperty,io=Object.prototype.propertyIsEnumerable,Go=(tt,at,$t)=>at in tt?di(tt,at,{enumerable:!0,configurable:!0,writable:!0,value:$t}):tt[at]=$t,Co=(tt,at)=>{for(var $t in at||(at={}))eo.call(at,$t)&&Go(tt,$t,at[$t]);if(Bi)for(var $t of Bi(at))io.call(at,$t)&&Go(tt,$t,at[$t]);return tt},No=(tt,at)=>ri(tt,gi(at));const Oa={cmo_closed_won:{roi_cards_data:null,cards_data:null,closed_won_card_data:null},average_sale_cycle_data:null,average_deal_cycle_data:null,cmo_pipeline_data:{roi_cards_data:null,donut_data:null,box_data:null},cmo_insights_table_data:null,cmo_request_body:{date_range:pa._2.getDefaultRange(),filter_data:pa._2.getDefaultCMOFilters()},cmo_bookmark_request_body:null,cmo_metric_value:"spend",cmo_dimension_value:"channel",isPdfClicked:!1,selectedColumnForPdf:{key:"",selectedArray:[]},pathSameDrillDown:!1,isTableDataForPdf:{},rowsCountForPdf:5,drillDownCsvHideValue:!1};let Xo={};var Ss=Ui((tt=Oa,at)=>{var $t,Fr;function Xr(yt){var Xn,Vi,Qi,Bo,Oo,Ro,So,$o,Yi,k,ge,Ze,Xe,xt,xr,sn,Ai,Zi,$i,Lo,Zo,da,Ia,fa,as,Va,ha,xa,ko,Mi,co,go,qi;return{closed_won:{ROI:[...(Vi=(Xn=yt==null?void 0:yt.closed_won)==null?void 0:Xn.Marketing_ROI)==null?void 0:Vi.graph_data],CPO:[...(Bo=(Qi=yt==null?void 0:yt.closed_won)==null?void 0:Qi.CPO)==null?void 0:Bo.graph_data],value:[`${((So=(Ro=(Oo=yt==null?void 0:yt.closed_won)==null?void 0:Oo.Marketing_ROI)==null?void 0:Ro.block_data[0])==null?void 0:So.value).toFixed(2)}x`,`$${(0,_n.Z)((k=(Yi=($o=yt==null?void 0:yt.closed_won)==null?void 0:$o.CPO)==null?void 0:Yi.block_data[0])==null?void 0:k.value)}`],change:[(Xe=(Ze=(ge=yt==null?void 0:yt.closed_won)==null?void 0:ge.Marketing_ROI)==null?void 0:Ze.block_data[0])==null?void 0:Xe.Comparison_data,(sn=(xr=(xt=yt==null?void 0:yt.closed_won)==null?void 0:xt.CPO)==null?void 0:xr.block_data[0])==null?void 0:sn.Comparison_data],change2:[($i=(Zi=(Ai=yt==null?void 0:yt.closed_won)==null?void 0:Ai.Marketing_ROAS)==null?void 0:Zi.block_data[0])==null?void 0:$i.Comparison_data,(da=(Zo=(Lo=yt==null?void 0:yt.closed_won)==null?void 0:Lo.CPO)==null?void 0:Zo.block_data[0])==null?void 0:da.Comparison_data],ROAS_change:(as=(fa=(Ia=yt==null?void 0:yt.closed_won)==null?void 0:Ia.Marketing_ROAS)==null?void 0:fa.block_data[0])==null?void 0:as.Comparison_data,ROAS:[...(ha=(Va=yt==null?void 0:yt.closed_won)==null?void 0:Va.Marketing_ROAS)==null?void 0:ha.graph_data],ROAS_value:[`${((Mi=(ko=(xa=yt==null?void 0:yt.closed_won)==null?void 0:xa.Marketing_ROAS)==null?void 0:ko.block_data[0])==null?void 0:Mi.value).toFixed(2)}x`,`$${(0,_n.Z)((qi=(go=(co=yt==null?void 0:yt.closed_won)==null?void 0:co.CPO)==null?void 0:go.block_data[0])==null?void 0:qi.value)}`]}}}function Ln(yt){var Xn,Vi,Qi,Bo,Oo,Ro,So,$o,Yi,k;const ge=[];let Ze={donutData:null,cardList:[]};return yt!=null&&yt.closed_won&&(Object.keys(yt.closed_won).forEach((Xe,xt)=>{var xr,sn,Ai,Zi,$i,Lo,Zo,da,Ia,fa,as,Va,ha,xa,ko,Mi,co,go,qi,ji,ra,jo,Ca,Ra,ro,_a,Ma,Bn,Wo,ba,ss,qa,vs,Ls,Ys,js;if(Xe=="Sales"||Xe=="Others"){const hs=yt.closed_won[Xe];hs!=null&&hs.block_data&&Ze.cardList.push({name:Xe=="Sales"?"Sales":"Others",total:Xe=="Sales"?(Ai=(sn=(xr=yt.closed_won)==null?void 0:xr.Sales)==null?void 0:sn.block_data[2])==null?void 0:Ai.value:(Lo=($i=(Zi=yt.closed_won)==null?void 0:Zi.Others)==null?void 0:$i.block_data[2])==null?void 0:Lo.value,total_change:Xe=="Sales"?(Ia=(da=(Zo=yt.closed_won)==null?void 0:Zo.Sales)==null?void 0:da.block_data[2])==null?void 0:Ia.Comparison_data:(Va=(as=(fa=yt.closed_won)==null?void 0:fa.Others)==null?void 0:as.block_data[2])==null?void 0:Va.Comparison_data,oppts:Xe=="Sales"?(ko=(xa=(ha=yt.closed_won)==null?void 0:ha.Sales)==null?void 0:xa.block_data[0])==null?void 0:ko.value:(go=(co=(Mi=yt.closed_won)==null?void 0:Mi.Others)==null?void 0:co.block_data[0])==null?void 0:go.value,oppts_change:Xe=="Sales"?(ra=(ji=(qi=yt.closed_won)==null?void 0:qi.Sales)==null?void 0:ji.block_data[0])==null?void 0:ra.Comparison_data:(Ra=(Ca=(jo=yt.closed_won)==null?void 0:jo.Others)==null?void 0:Ca.block_data[0])==null?void 0:Ra.Comparison_data,color:Xe=="Sales"?Cr[1]:Cr[2],revenue:Xe=="Sales"?(Ma=(_a=(ro=yt.closed_won)==null?void 0:ro.Sales)==null?void 0:_a.block_data[1])==null?void 0:Ma.Comparison_data:(ba=(Wo=(Bn=yt.closed_won)==null?void 0:Bn.Others)==null?void 0:Wo.block_data[1])==null?void 0:ba.Comparison_data,revenue_value:Xe=="Sales"?(vs=(qa=(ss=yt.closed_won)==null?void 0:ss.Sales)==null?void 0:qa.block_data[1])==null?void 0:vs.value:(js=(Ys=(Ls=yt.closed_won)==null?void 0:Ls.Others)==null?void 0:Ys.block_data[1])==null?void 0:js.value})}}),Ze.donutData=[{name:"Marketing Influenced",y:(Vi=(Xn=yt==null?void 0:yt.closed_won)==null?void 0:Xn.donut_graph_data.graph_data[0])==null?void 0:Vi.values[2],color:"#9149FF"},{name:"Marketing Sourced",y:(Bo=(Qi=yt==null?void 0:yt.closed_won)==null?void 0:Qi.donut_graph_data.graph_data[0])==null?void 0:Bo.values[1],color:"#133463"},{name:"Sales",y:(So=(Ro=(Oo=yt.closed_won)==null?void 0:Oo.Sales)==null?void 0:Ro.block_data[1])==null?void 0:So.value,color:Cr[1]},{name:"Others",y:(k=(Yi=($o=yt.closed_won)==null?void 0:$o.Others)==null?void 0:Yi.block_data[1])==null?void 0:k.value,color:Cr[2]},...ge]),Ze}function xi(yt){var Xn,Vi,Qi,Bo,Oo,Ro,So,$o,Yi,k,ge,Ze,Xe,xt,xr,sn,Ai,Zi;return{overall:{value:(Vi=(Xn=yt==null?void 0:yt.Avg_Sales_Cycle)==null?void 0:Xn.block_data[0])!=null&&Vi.value?(Bo=(Qi=yt==null?void 0:yt.Avg_Sales_Cycle)==null?void 0:Qi.block_data[0])==null?void 0:Bo.value:0,change:(0,Ei.Z)((Ro=(Oo=yt==null?void 0:yt.Avg_Sales_Cycle)==null?void 0:Oo.block_data[0])==null?void 0:Ro.Comparison_data)||0},influenced:{value:($o=(So=yt==null?void 0:yt.Avg_Sales_Cycle)==null?void 0:So.block_data[1])!=null&&$o.value?(k=(Yi=yt==null?void 0:yt.Avg_Sales_Cycle)==null?void 0:Yi.block_data[1])==null?void 0:k.value:0,change:(0,Ei.Z)((Ze=(ge=yt==null?void 0:yt.Avg_Sales_Cycle)==null?void 0:ge.block_data[1])==null?void 0:Ze.Comparison_data)||0},sourced:{value:(xt=(Xe=yt==null?void 0:yt.Avg_Sales_Cycle)==null?void 0:Xe.block_data[2])!=null&&xt.value?(sn=(xr=yt==null?void 0:yt.Avg_Sales_Cycle)==null?void 0:xr.block_data[2])==null?void 0:sn.value:0,change:(0,Ei.Z)((Zi=(Ai=yt==null?void 0:yt.Avg_Sales_Cycle)==null?void 0:Ai.block_data[2])==null?void 0:Zi.Comparison_data)||0}}}function Cn(yt){var Xn,Vi,Qi,Bo,Oo,Ro,So,$o,Yi,k,ge,Ze,Xe,xt,xr,sn,Ai,Zi;return{overall:{value:(Vi=(Xn=yt==null?void 0:yt.Avg_Deal_Size)==null?void 0:Xn.block_data[0])!=null&&Vi.value?(0,_n.Z)((Bo=(Qi=yt==null?void 0:yt.Avg_Deal_Size)==null?void 0:Qi.block_data[0])==null?void 0:Bo.value):0,change:(0,Ei.Z)((Ro=(Oo=yt==null?void 0:yt.Avg_Deal_Size)==null?void 0:Oo.block_data[0])==null?void 0:Ro.Comparison_data)||0},influenced:{value:($o=(So=yt==null?void 0:yt.Avg_Deal_Size)==null?void 0:So.block_data[1])!=null&&$o.value?(0,_n.Z)((k=(Yi=yt==null?void 0:yt.Avg_Deal_Size)==null?void 0:Yi.block_data[1])==null?void 0:k.value):0,change:(0,Ei.Z)((Ze=(ge=yt==null?void 0:yt.Avg_Deal_Size)==null?void 0:ge.block_data[1])==null?void 0:Ze.Comparison_data)||0},sourced:{value:(xt=(Xe=yt==null?void 0:yt.Avg_Deal_Size)==null?void 0:Xe.block_data[2])!=null&&xt.value?(0,_n.Z)((sn=(xr=yt==null?void 0:yt.Avg_Deal_Size)==null?void 0:xr.block_data[2])==null?void 0:sn.value):0,change:(0,Ei.Z)((Zi=(Ai=yt==null?void 0:yt.Avg_Deal_Size)==null?void 0:Ai.block_data[2])==null?void 0:Zi.Comparison_data)||0}}}function Wn(yt){var Xn,Vi,Qi,Bo,Oo,Ro,So,$o,Yi,k,ge,Ze,Xe,xt,xr,sn,Ai,Zi,$i,Lo,Zo,da,Ia,fa,as,Va,ha,xa,ko,Mi,co,go,qi,ji,ra,jo,Ca,Ra,ro,_a,Ma,Bn,Wo,ba,ss,qa,vs,Ls,Ys,js,hs,$s,al,Hs,sl,Ee,ct,ur,Mr,en,bn,ei,Ii,yo,Io,Ho,sa,es,ts,As,Is,ys,cl,Zs,Fs,iu,Jl;return{box_values:[{name:"Total Closed Won",value:((Qi=(Vi=(Xn=yt==null?void 0:yt.closed_won)==null?void 0:Xn.total_closed_won_block_data)==null?void 0:Vi.block_data[0])==null?void 0:Qi.value)||0,change:(0,Ei.Z)((Ro=(Oo=(Bo=yt==null?void 0:yt.closed_won)==null?void 0:Bo.total_closed_won_block_data)==null?void 0:Oo.block_data[0])==null?void 0:Ro.Comparison_data)||0},{name:"Avg. Size (Overall)",value:((Yi=($o=(So=yt==null?void 0:yt.closed_won)==null?void 0:So.total_closed_won_block_data)==null?void 0:$o.block_data[1])==null?void 0:Yi.value)||0,change:(0,Ei.Z)((Ze=(ge=(k=yt==null?void 0:yt.closed_won)==null?void 0:k.total_closed_won_block_data)==null?void 0:ge.block_data[1])==null?void 0:Ze.Comparison_data)||0},{name:"Marketing Spent",value:((xr=(xt=(Xe=yt==null?void 0:yt.closed_won)==null?void 0:Xe.total_closed_won_block_data)==null?void 0:xt.block_data[2])==null?void 0:xr.value)||0,change:(0,Ei.Z)((Zi=(Ai=(sn=yt==null?void 0:yt.closed_won)==null?void 0:sn.total_closed_won_block_data)==null?void 0:Ai.block_data[2])==null?void 0:Zi.Comparison_data)||0}],venn_data:[{name:"Total Revenue",value:((Zo=(Lo=($i=yt==null?void 0:yt.closed_won)==null?void 0:$i.donut_graph_data)==null?void 0:Lo.graph_data[0])==null?void 0:Zo.values[0])||0,change:(0,Ei.Z)((da=yt==null?void 0:yt.closed_won)==null?void 0:da.total_revenue_comp)||0},{name:"Marketing Influenced",value:((as=(fa=(Ia=yt==null?void 0:yt.closed_won)==null?void 0:Ia.donut_graph_data)==null?void 0:fa.graph_data[0])==null?void 0:as.values[2])||0,change:(0,Ei.Z)((Va=yt==null?void 0:yt.closed_won)==null?void 0:Va.mrkt_influenced_comp)||0},{name:"Marketing Sourced",value:yt.closed_won&&((ko=(xa=(ha=yt==null?void 0:yt.closed_won)==null?void 0:ha.donut_graph_data)==null?void 0:xa.graph_data[0])==null?void 0:ko.values[2])!==0?`${(go=(co=(Mi=yt==null?void 0:yt.closed_won)==null?void 0:Mi.donut_graph_data)==null?void 0:co.graph_data[0])==null?void 0:go.values[2]}`:0,change:(0,Ei.Z)((qi=yt==null?void 0:yt.closed_won)==null?void 0:qi.mrkt_sourced_comp)||0}],summary:[{total:{value:(jo=(ra=(ji=yt==null?void 0:yt.closed_won)==null?void 0:ji.Marketing_Influenced)==null?void 0:ra.block_data[2])==null?void 0:jo.value,change:(0,Ei.Z)((ro=(Ra=(Ca=yt==null?void 0:yt.closed_won)==null?void 0:Ca.Marketing_Influenced)==null?void 0:Ra.block_data[2])==null?void 0:ro.Comparison_data)||0},roi:{value:(Bn=(Ma=(_a=yt==null?void 0:yt.closed_won)==null?void 0:_a.Marketing_Influenced)==null?void 0:Ma.block_data[1])==null?void 0:Bn.value,change:(0,Ei.Z)((ss=(ba=(Wo=yt==null?void 0:yt.closed_won)==null?void 0:Wo.Marketing_Influenced)==null?void 0:ba.block_data[1])==null?void 0:ss.Comparison_data)||0},oppts:{value:(Ls=(vs=(qa=yt==null?void 0:yt.closed_won)==null?void 0:qa.Marketing_Influenced)==null?void 0:vs.block_data[0])==null?void 0:Ls.value,change:(0,Ei.Z)((hs=(js=(Ys=yt==null?void 0:yt.closed_won)==null?void 0:Ys.Marketing_Influenced)==null?void 0:js.block_data[0])==null?void 0:hs.Comparison_data)||0},cpo:{value:(Hs=(al=($s=yt==null?void 0:yt.closed_won)==null?void 0:$s.CPO)==null?void 0:al.block_data[0])==null?void 0:Hs.value,change:(0,Ei.Z)((sl=yt==null?void 0:yt.closed_won)==null?void 0:sl.mi_cpo_comp)||0},options:{label:"Marketing Influenced",color:"#9149FF"}},{total:{value:(ur=(ct=(Ee=yt==null?void 0:yt.closed_won)==null?void 0:Ee.Marketing_Sourced)==null?void 0:ct.block_data[2])==null?void 0:ur.value,change:(0,Ei.Z)((bn=(en=(Mr=yt==null?void 0:yt.closed_won)==null?void 0:Mr.Marketing_Sourced)==null?void 0:en.block_data[2])==null?void 0:bn.Comparison_data)||0},roi:{value:(yo=(Ii=(ei=yt==null?void 0:yt.closed_won)==null?void 0:ei.Marketing_Sourced)==null?void 0:Ii.block_data[1])==null?void 0:yo.value,change:(0,Ei.Z)((sa=(Ho=(Io=yt==null?void 0:yt.closed_won)==null?void 0:Io.Marketing_Sourced)==null?void 0:Ho.block_data[1])==null?void 0:sa.Comparison_data)||0},oppts:{value:(As=(ts=(es=yt==null?void 0:yt.closed_won)==null?void 0:es.Marketing_Sourced)==null?void 0:ts.block_data[0])==null?void 0:As.value,change:(0,Ei.Z)((cl=(ys=(Is=yt==null?void 0:yt.closed_won)==null?void 0:Is.Marketing_Sourced)==null?void 0:ys.block_data[0])==null?void 0:cl.Comparison_data)||0},cpo:{value:(iu=(Fs=(Zs=yt==null?void 0:yt.closed_won)==null?void 0:Zs.CPO)==null?void 0:Fs.block_data[0])==null?void 0:iu.value,change:((Jl=yt==null?void 0:yt.closed_won)==null?void 0:Jl.ms_cpo_comp)||0},options:{label:"Marketing Sourced",color:"#133463"}}]}}function ai(yt,Xn){switch(yt){case 1:return Xn==null?void 0:Xn.spend;case 2:return Xn==null?void 0:Xn.total_leads;case 3:return Xn==null?void 0:Xn.total_pipeline;case 4:return Xn==null?void 0:Xn.current_pipeline;case 5:return Xn==null?void 0:Xn.total_closed_won;case 6:return Xn==null?void 0:Xn.revenue;case 7:return Xn==null?void 0:Xn.current_opportunity;case 8:return Xn==null?void 0:Xn.total_opportunity;case 9:return Xn==null?void 0:Xn.total_contacts;case 10:return Xn==null?void 0:Xn.sessions;case 11:return Xn==null?void 0:Xn.unique_visitors;case 12:return Xn==null?void 0:Xn.form_filled;default:break}}function ci(yt){const Xn=["channel","source","ad_group","campaign","keyword"];for(const Vi of Xn)if(yt[Vi])return yt[Vi];return"Unknown"}function Pn(yt,Xn,Vi,Qi){if(yt.length==0)return null;let Bo=[],Oo=[];const Ro=(0,vo.Xn)(new Date(Xn),new Date(Vi))+1;return yt.map(So=>{Bo.includes(So.monthYear)||Bo.push(So.monthYear)}),Bo.length==0&&(Bo=pa.kE),yt.map(So=>{const $o=new Array(Ro).fill(0),Yi=Bo.findIndex(ge=>So.monthYear===ge);$o[Yi]+=ai(Qi,So);let k=!1;Oo.find((ge,Ze)=>{(ge==null?void 0:ge.name)===ci(So)&&(Oo[Ze].data[Yi]+=ai(Qi,So),k=!0)}),!k&&ci(So)&&Oo.push({name:ci(So),data:[...$o]})}),{seriesLabels:Bo,seriesData:Oo}}function vi(yt){var Xn,Vi,Qi,Bo,Oo,Ro,So,$o,Yi,k,ge,Ze,Xe,xt,xr,sn,Ai,Zi,$i,Lo,Zo,da,Ia,fa,as,Va,ha,xa,ko,Mi,co,go,qi,ji,ra,jo,Ca,Ra,ro,_a,Ma,Bn,Wo,ba,ss,qa,vs,Ls,Ys,js,hs,$s,al,Hs,sl,Ee,ct,ur,Mr,en,bn,ei,Ii,yo,Io,Ho;return{total_pipeline:{ROI:[...(Vi=(Xn=yt==null?void 0:yt.total_pipeline)==null?void 0:Xn.Marketing_ROI)==null?void 0:Vi.graph_data],CPO:[...(Bo=(Qi=yt==null?void 0:yt.total_pipeline)==null?void 0:Qi.CPO)==null?void 0:Bo.graph_data],ROAS_change:(So=(Ro=(Oo=yt==null?void 0:yt.total_pipeline)==null?void 0:Oo.Marketing_ROAS)==null?void 0:Ro.block_data[0])==null?void 0:So.Comparison_data,value:[`${((k=(Yi=($o=yt==null?void 0:yt.total_pipeline)==null?void 0:$o.Marketing_ROI)==null?void 0:Yi.block_data[0])==null?void 0:k.value).toFixed(2)}x`,`$${(0,_n.Z)((Xe=(Ze=(ge=yt==null?void 0:yt.total_pipeline)==null?void 0:ge.CPO)==null?void 0:Ze.block_data[0])==null?void 0:Xe.value)}`],change:[(sn=(xr=(xt=yt==null?void 0:yt.total_pipeline)==null?void 0:xt.Marketing_ROI)==null?void 0:xr.block_data[0])==null?void 0:sn.Comparison_data,($i=(Zi=(Ai=yt==null?void 0:yt.total_pipeline)==null?void 0:Ai.CPO)==null?void 0:Zi.block_data[0])==null?void 0:$i.Comparison_data],change2:[(da=(Zo=(Lo=yt==null?void 0:yt.total_pipeline)==null?void 0:Lo.Marketing_ROAS)==null?void 0:Zo.block_data[0])==null?void 0:da.Comparison_data,(as=(fa=(Ia=yt==null?void 0:yt.total_pipeline)==null?void 0:Ia.CPO)==null?void 0:fa.block_data[0])==null?void 0:as.Comparison_data],ROAS:[...(ha=(Va=yt==null?void 0:yt.total_pipeline)==null?void 0:Va.Marketing_ROAS)==null?void 0:ha.graph_data],ROAS_value:[`${((Mi=(ko=(xa=yt==null?void 0:yt.total_pipeline)==null?void 0:xa.Marketing_ROAS)==null?void 0:ko.block_data[0])==null?void 0:Mi.value).toFixed(2)}x`,`$${(0,_n.Z)((qi=(go=(co=yt==null?void 0:yt.total_pipeline)==null?void 0:co.CPO)==null?void 0:go.block_data[0])==null?void 0:qi.value)}`]},current_pipeline:{ROI:[...(ra=(ji=yt==null?void 0:yt.current_pipeline)==null?void 0:ji.Marketing_ROI)==null?void 0:ra.graph_data],CPO:[...(Ca=(jo=yt==null?void 0:yt.current_pipeline)==null?void 0:jo.CPO)==null?void 0:Ca.graph_data],ROAS_change:(_a=(ro=(Ra=yt==null?void 0:yt.current_pipeline)==null?void 0:Ra.Marketing_ROAS)==null?void 0:ro.block_data[0])==null?void 0:_a.Comparison_data,value:[`${((Wo=(Bn=(Ma=yt==null?void 0:yt.current_pipeline)==null?void 0:Ma.Marketing_ROI)==null?void 0:Bn.block_data[0])==null?void 0:Wo.value).toFixed(2)}x`,`$${(0,_n.Z)((qa=(ss=(ba=yt==null?void 0:yt.current_pipeline)==null?void 0:ba.CPO)==null?void 0:ss.block_data[0])==null?void 0:qa.value)}`],change:[(Ys=(Ls=(vs=yt==null?void 0:yt.current_pipeline)==null?void 0:vs.Marketing_ROI)==null?void 0:Ls.block_data[0])==null?void 0:Ys.Comparison_data,($s=(hs=(js=yt==null?void 0:yt.current_pipeline)==null?void 0:js.CPO)==null?void 0:hs.block_data[0])==null?void 0:$s.Comparison_data],change2:[(sl=(Hs=(al=yt==null?void 0:yt.current_pipeline)==null?void 0:al.Marketing_ROAS)==null?void 0:Hs.block_data[0])==null?void 0:sl.Comparison_data,(ur=(ct=(Ee=yt==null?void 0:yt.current_pipeline)==null?void 0:Ee.CPO)==null?void 0:ct.block_data[0])==null?void 0:ur.Comparison_data],ROAS:[...(en=(Mr=yt==null?void 0:yt.current_pipeline)==null?void 0:Mr.Marketing_ROAS)==null?void 0:en.graph_data],ROAS_value:[`${((Ii=(ei=(bn=yt==null?void 0:yt.current_pipeline)==null?void 0:bn.Marketing_ROAS)==null?void 0:ei.block_data[0])==null?void 0:Ii.value).toFixed(2)}x`,`$${(0,_n.Z)((Ho=(Io=(yo=yt==null?void 0:yt.current_pipeline)==null?void 0:yo.CPO)==null?void 0:Io.block_data[0])==null?void 0:Ho.value)}`]}}}function wa(yt){var Xn,Vi,Qi,Bo,Oo,Ro,So,$o,Yi,k,ge,Ze,Xe,xt,xr,sn,Ai,Zi,$i,Lo,Zo,da,Ia;const fa=[],as=[],Va=[],ha=[];let xa={configCards:null,totalPipelineDonutData:null,currentPipelineDonutData:null};return Object.keys(yt.total_pipeline).forEach((ko,Mi)=>{var co,go,qi,ji,ra,jo,Ca,Ra,ro,_a,Ma,Bn,Wo,ba,ss,qa,vs,Ls,Ys,js,hs,$s,al,Hs,sl,Ee,ct,ur,Mr,en,bn,ei,Ii,yo,Io,Ho;if(ko=="Sales"||ko=="Others"){const sa=yt.total_pipeline[ko];sa!=null&&sa.block_data&&fa.push({name:ko=="Sales"?"Sales":"Others",total:ko=="Sales"?(qi=(go=(co=yt.total_pipeline)==null?void 0:co.Sales)==null?void 0:go.block_data[2])==null?void 0:qi.value:(jo=(ra=(ji=yt.total_pipeline)==null?void 0:ji.Others)==null?void 0:ra.block_data[2])==null?void 0:jo.value,total_change:ko=="Sales"?(ro=(Ra=(Ca=yt.total_pipeline)==null?void 0:Ca.Sales)==null?void 0:Ra.block_data[2])==null?void 0:ro.Comparison_data:(Bn=(Ma=(_a=yt.total_pipeline)==null?void 0:_a.Others)==null?void 0:Ma.block_data[2])==null?void 0:Bn.Comparison_data,oppts:ko=="Sales"?(ss=(ba=(Wo=yt.total_pipeline)==null?void 0:Wo.Sales)==null?void 0:ba.block_data[0])==null?void 0:ss.value:(Ls=(vs=(qa=yt.total_pipeline)==null?void 0:qa.Others)==null?void 0:vs.block_data[0])==null?void 0:Ls.value,oppts_change:ko=="Sales"?(hs=(js=(Ys=yt.total_pipeline)==null?void 0:Ys.Sales)==null?void 0:js.block_data[0])==null?void 0:hs.Comparison_data:(Hs=(al=($s=yt.total_pipeline)==null?void 0:$s.Others)==null?void 0:al.block_data[0])==null?void 0:Hs.Comparison_data,color:ko=="Sales"?Cr[1]:Cr[2],revenue:ko=="Sales"?(ct=(Ee=(sl=yt.total_pipeline)==null?void 0:sl.Sales)==null?void 0:Ee.block_data[1])==null?void 0:ct.Comparison_data:(en=(Mr=(ur=yt.total_pipeline)==null?void 0:ur.Others)==null?void 0:Mr.block_data[1])==null?void 0:en.Comparison_data,revenue_value:ko=="Sales"?(Ii=(ei=(bn=yt.total_pipeline)==null?void 0:bn.Sales)==null?void 0:ei.block_data[1])==null?void 0:Ii.value:(Ho=(Io=(yo=yt.total_pipeline)==null?void 0:yo.Others)==null?void 0:Io.block_data[1])==null?void 0:Ho.value})}}),xa.configCards={total_pipeline:fa},xa.totalPipelineDonutData=[{name:"Marketing Influenced",y:(Qi=(Vi=(Xn=yt.total_pipeline)==null?void 0:Xn.donut_graph_data)==null?void 0:Vi.graph_data[0])==null?void 0:Qi.values[2],color:"#9149FF"},{name:"Marketing Sourced",y:(Oo=(Bo=yt.total_pipeline)==null?void 0:Bo.donut_graph_data.graph_data[0])==null?void 0:Oo.values[1],color:"#133463"},{name:"Sales",y:($o=(So=(Ro=yt.total_pipeline)==null?void 0:Ro.Sales)==null?void 0:So.block_data[1])==null?void 0:$o.value,color:Cr[1]},{name:"Others",y:(ge=(k=(Yi=yt.total_pipeline)==null?void 0:Yi.Others)==null?void 0:k.block_data[1])==null?void 0:ge.value,color:Cr[2]},...Va],Object.keys(yt==null?void 0:yt.current_pipeline).forEach((ko,Mi)=>{var co,go,qi,ji,ra,jo,Ca,Ra,ro,_a,Ma,Bn,Wo,ba,ss,qa,vs,Ls,Ys,js,hs,$s,al,Hs,sl,Ee,ct,ur,Mr,en,bn,ei,Ii,yo,Io,Ho;if(ko=="Sales"||ko=="Others"){const sa=yt.current_pipeline[ko];sa!=null&&sa.block_data&&as.push({name:ko=="Sales"?"Sales":"Others",total:ko=="Sales"?(qi=(go=(co=yt.current_pipeline)==null?void 0:co.Sales)==null?void 0:go.block_data[2])==null?void 0:qi.value:(jo=(ra=(ji=yt.current_pipeline)==null?void 0:ji.Others)==null?void 0:ra.block_data[2])==null?void 0:jo.value,total_change:ko=="Sales"?(ro=(Ra=(Ca=yt.current_pipeline)==null?void 0:Ca.Sales)==null?void 0:Ra.block_data[2])==null?void 0:ro.Comparison_data:(Bn=(Ma=(_a=yt.current_pipeline)==null?void 0:_a.Others)==null?void 0:Ma.block_data[2])==null?void 0:Bn.Comparison_data,oppts:ko=="Sales"?(ss=(ba=(Wo=yt.current_pipeline)==null?void 0:Wo.Sales)==null?void 0:ba.block_data[0])==null?void 0:ss.value:(Ls=(vs=(qa=yt.current_pipeline)==null?void 0:qa.Others)==null?void 0:vs.block_data[0])==null?void 0:Ls.value,oppts_change:ko=="Sales"?(hs=(js=(Ys=yt.current_pipeline)==null?void 0:Ys.Sales)==null?void 0:js.block_data[0])==null?void 0:hs.Comparison_data:(Hs=(al=($s=yt.current_pipeline)==null?void 0:$s.Others)==null?void 0:al.block_data[0])==null?void 0:Hs.Comparison_data,color:ko=="Sales"?Cr[1]:Cr[2],revenue:ko=="Sales"?(ct=(Ee=(sl=yt.current_pipeline)==null?void 0:sl.Sales)==null?void 0:Ee.block_data[1])==null?void 0:ct.Comparison_data:(en=(Mr=(ur=yt.current_pipeline)==null?void 0:ur.Others)==null?void 0:Mr.block_data[1])==null?void 0:en.Comparison_data,revenue_value:ko=="Sales"?(Ii=(ei=(bn=yt.current_pipeline)==null?void 0:bn.Sales)==null?void 0:ei.block_data[1])==null?void 0:Ii.value:(Ho=(Io=(yo=yt.current_pipeline)==null?void 0:yo.Others)==null?void 0:Io.block_data[1])==null?void 0:Ho.value})}}),xa.configCards=No(Co({},xa.configCards),{current_pipeline:as}),xa.currentPipelineDonutData=[{name:"Marketing Influenced",y:(xt=(Xe=(Ze=yt.current_pipeline)==null?void 0:Ze.donut_graph_data)==null?void 0:Xe.graph_data[0])==null?void 0:xt.values[2],color:"#9149FF"},{name:"Marketing Sourced",y:(Ai=(sn=(xr=yt.current_pipeline)==null?void 0:xr.donut_graph_data)==null?void 0:sn.graph_data[0])==null?void 0:Ai.values[1],color:"#133463"},{name:"Sales",y:(Lo=($i=(Zi=yt.current_pipeline)==null?void 0:Zi.Sales)==null?void 0:$i.block_data[1])==null?void 0:Lo.value,color:Cr[1]},{name:"Others",y:(Ia=(da=(Zo=yt.current_pipeline)==null?void 0:Zo.Others)==null?void 0:da.block_data[1])==null?void 0:Ia.value,color:Cr[2]},...ha],xa}function Qo(yt){var Xn,Vi,Qi,Bo,Oo,Ro,So,$o,Yi,k,ge,Ze,Xe,xt,xr,sn,Ai,Zi,$i,Lo,Zo,da,Ia,fa,as,Va,ha,xa,ko,Mi,co,go,qi,ji,ra,jo,Ca,Ra,ro,_a,Ma,Bn,Wo,ba,ss,qa,vs,Ls,Ys,js,hs,$s,al,Hs,sl,Ee,ct,ur,Mr,en,bn,ei,Ii,yo,Io,Ho,sa,es,ts,As,Is,ys,cl,Zs,Fs,iu,Jl,Du,hu,xl,wu,ou,Al,pu,Mu,Cu,xu,dl,Wu,Tu,Lu,Pl,bu,Vu,Bu,kl,vl,bl,au,Ol,Wl,Iu,zl,Bl,gu,oo,za,Qa,$a,Xs,Dl,ja,su,tl,Sl,Ua,Ha,ps,Ps,yl,Ml,fo,Su,Gu,Kl,Vl;return{currentPipelineData:{box_values:[{name:"Total Opportunities",value:((Qi=(Vi=(Xn=yt==null?void 0:yt.current_pipeline)==null?void 0:Xn.current_pipeline_block_data)==null?void 0:Vi.block_data[0])==null?void 0:Qi.value)||0,change:(0,Ei.Z)((Ro=(Oo=(Bo=yt==null?void 0:yt.current_pipeline)==null?void 0:Bo.current_pipeline_block_data)==null?void 0:Oo.block_data[0])==null?void 0:Ro.Comparison_data)||0},{name:"Avg. Size (Overall)",value:((Yi=($o=(So=yt==null?void 0:yt.current_pipeline)==null?void 0:So.current_pipeline_block_data)==null?void 0:$o.block_data[1])==null?void 0:Yi.value)||0,change:(0,Ei.Z)((Ze=(ge=(k=yt==null?void 0:yt.current_pipeline)==null?void 0:k.current_pipeline_block_data)==null?void 0:ge.block_data[1])==null?void 0:Ze.Comparison_data)||0}],venn_data:[{name:"Total Pipeline",value:((xr=(xt=(Xe=yt==null?void 0:yt.current_pipeline)==null?void 0:Xe.donut_graph_data)==null?void 0:xt.graph_data[0])==null?void 0:xr.values[0])||0,change:(0,Ei.Z)((sn=yt==null?void 0:yt.current_pipeline)==null?void 0:sn.total_pipeline_comp)||0},{name:"Marketing Influenced",value:(($i=(Zi=(Ai=yt==null?void 0:yt.current_pipeline)==null?void 0:Ai.donut_graph_data)==null?void 0:Zi.graph_data[0])==null?void 0:$i.values[2])||0,change:(0,Ei.Z)((Lo=yt==null?void 0:yt.current_pipeline)==null?void 0:Lo.mrkt_influenced_comp)||0},{name:"Marketing Sourced",value:((Ia=(da=(Zo=yt==null?void 0:yt.current_pipeline)==null?void 0:Zo.donut_graph_data)==null?void 0:da.graph_data[0])==null?void 0:Ia.values[1])||0,change:(0,Ei.Z)((fa=yt==null?void 0:yt.current_pipeline)==null?void 0:fa.mrkt_sourced_comp)||0}],summary:[{total:{value:((ha=(Va=(as=yt==null?void 0:yt.current_pipeline)==null?void 0:as.Marketing_Influenced)==null?void 0:Va.block_data[2])==null?void 0:ha.value)||0,change:(0,Ei.Z)((Mi=(ko=(xa=yt==null?void 0:yt.current_pipeline)==null?void 0:xa.Marketing_Influenced)==null?void 0:ko.block_data[2])==null?void 0:Mi.Comparison_data)||0},roi:{value:(qi=(go=(co=yt==null?void 0:yt.current_pipeline)==null?void 0:co.Marketing_Influenced)==null?void 0:go.block_data[1])==null?void 0:qi.value,change:(0,Ei.Z)((jo=(ra=(ji=yt==null?void 0:yt.current_pipeline)==null?void 0:ji.Marketing_Influenced)==null?void 0:ra.block_data[1])==null?void 0:jo.Comparison_data)||0},oppts:{value:((ro=(Ra=(Ca=yt==null?void 0:yt.current_pipeline)==null?void 0:Ca.Marketing_Influenced)==null?void 0:Ra.block_data[0])==null?void 0:ro.value)||0,change:(0,Ei.Z)((Bn=(Ma=(_a=yt==null?void 0:yt.current_pipeline)==null?void 0:_a.Marketing_Influenced)==null?void 0:Ma.block_data[0])==null?void 0:Bn.Comparison_data)||0},options:{label:"Marketing Influenced",color:"#9149FF"}},{total:{value:((ss=(ba=(Wo=yt==null?void 0:yt.current_pipeline)==null?void 0:Wo.Marketing_Sourced)==null?void 0:ba.block_data[2])==null?void 0:ss.value)||0,change:(0,Ei.Z)((Ls=(vs=(qa=yt==null?void 0:yt.current_pipeline)==null?void 0:qa.Marketing_Sourced)==null?void 0:vs.block_data[2])==null?void 0:Ls.Comparison_data)||0},roi:{value:(hs=(js=(Ys=yt==null?void 0:yt.current_pipeline)==null?void 0:Ys.Marketing_Sourced)==null?void 0:js.block_data[1])==null?void 0:hs.value,change:(0,Ei.Z)((Hs=(al=($s=yt==null?void 0:yt.current_pipeline)==null?void 0:$s.Marketing_Sourced)==null?void 0:al.block_data[1])==null?void 0:Hs.Comparison_data)||0},oppts:{value:((ct=(Ee=(sl=yt==null?void 0:yt.current_pipeline)==null?void 0:sl.Marketing_Sourced)==null?void 0:Ee.block_data[0])==null?void 0:ct.value)||0,change:(0,Ei.Z)((en=(Mr=(ur=yt==null?void 0:yt.current_pipeline)==null?void 0:ur.Marketing_Sourced)==null?void 0:Mr.block_data[0])==null?void 0:en.Comparison_data)||0},options:{label:"Marketing Sourced",color:"#133463"}}]},totalPipelineData:{box_values:[{name:"Total Opportunities",value:((Ii=(ei=(bn=yt==null?void 0:yt.total_pipeline)==null?void 0:bn.total_pipeline_block_data)==null?void 0:ei.block_data[0])==null?void 0:Ii.value)||0,change:(0,Ei.Z)((Ho=(Io=(yo=yt==null?void 0:yt.total_pipeline)==null?void 0:yo.total_pipeline_block_data)==null?void 0:Io.block_data[0])==null?void 0:Ho.Comparison_data)||0},{name:"Avg. Size (Overall)",value:((ts=(es=(sa=yt==null?void 0:yt.total_pipeline)==null?void 0:sa.total_pipeline_block_data)==null?void 0:es.block_data[1])==null?void 0:ts.value)||0,change:(0,Ei.Z)((ys=(Is=(As=yt==null?void 0:yt.total_pipeline)==null?void 0:As.total_pipeline_block_data)==null?void 0:Is.block_data[1])==null?void 0:ys.Comparison_data)||0}],venn_data:[{name:"Total Pipeline",value:((Fs=(Zs=(cl=yt==null?void 0:yt.total_pipeline)==null?void 0:cl.donut_graph_data)==null?void 0:Zs.graph_data[0])==null?void 0:Fs.values[0])||0,change:(0,Ei.Z)((iu=yt==null?void 0:yt.total_pipeline)==null?void 0:iu.total_pipeline_comp)||0},{name:"Marketing Influenced",value:((hu=(Du=(Jl=yt==null?void 0:yt.total_pipeline)==null?void 0:Jl.donut_graph_data)==null?void 0:Du.graph_data[0])==null?void 0:hu.values[2])||0,change:(0,Ei.Z)((xl=yt==null?void 0:yt.total_pipeline)==null?void 0:xl.mrkt_influenced_comp)||0},{name:"Marketing Sourced",value:((Al=(ou=(wu=yt==null?void 0:yt.total_pipeline)==null?void 0:wu.donut_graph_data)==null?void 0:ou.graph_data[0])==null?void 0:Al.values[1])||0,change:(0,Ei.Z)((pu=yt==null?void 0:yt.total_pipeline)==null?void 0:pu.mrkt_sourced_comp)||0}],summary:[{total:{value:(xu=(Cu=(Mu=yt==null?void 0:yt.total_pipeline)==null?void 0:Mu.Marketing_Influenced)==null?void 0:Cu.block_data[2])==null?void 0:xu.value,change:(0,Ei.Z)((Tu=(Wu=(dl=yt==null?void 0:yt.total_pipeline)==null?void 0:dl.Marketing_Influenced)==null?void 0:Wu.block_data[2])==null?void 0:Tu.Comparison_data)||0},roi:{value:(bu=(Pl=(Lu=yt==null?void 0:yt.total_pipeline)==null?void 0:Lu.Marketing_Influenced)==null?void 0:Pl.block_data[1])==null?void 0:bu.value,change:(0,Ei.Z)((kl=(Bu=(Vu=yt==null?void 0:yt.total_pipeline)==null?void 0:Vu.Marketing_Influenced)==null?void 0:Bu.block_data[1])==null?void 0:kl.Comparison_data)||0},oppts:{value:(au=(bl=(vl=yt==null?void 0:yt.total_pipeline)==null?void 0:vl.Marketing_Influenced)==null?void 0:bl.block_data[0])==null?void 0:au.value,change:(0,Ei.Z)((Iu=(Wl=(Ol=yt==null?void 0:yt.total_pipeline)==null?void 0:Ol.Marketing_Influenced)==null?void 0:Wl.block_data[0])==null?void 0:Iu.Comparison_data)||0},cpo:{value:(gu=(Bl=(zl=yt==null?void 0:yt.total_pipeline)==null?void 0:zl.CPO)==null?void 0:Bl.block_data[0])==null?void 0:gu.value,change:((oo=yt==null?void 0:yt.total_pipeline)==null?void 0:oo.mi_cpo_comp)||0},options:{label:"Marketing Influenced",color:"#9149FF"}},{total:{value:($a=(Qa=(za=yt==null?void 0:yt.total_pipeline)==null?void 0:za.Marketing_Sourced)==null?void 0:Qa.block_data[2])==null?void 0:$a.value,change:(0,Ei.Z)((ja=(Dl=(Xs=yt==null?void 0:yt.total_pipeline)==null?void 0:Xs.Marketing_Sourced)==null?void 0:Dl.block_data[2])==null?void 0:ja.Comparison_data)||0},roi:{value:(Sl=(tl=(su=yt==null?void 0:yt.total_pipeline)==null?void 0:su.Marketing_Sourced)==null?void 0:tl.block_data[1])==null?void 0:Sl.value,change:(0,Ei.Z)((ps=(Ha=(Ua=yt==null?void 0:yt.total_pipeline)==null?void 0:Ua.Marketing_Sourced)==null?void 0:Ha.block_data[1])==null?void 0:ps.Comparison_data)||0},oppts:{value:(Ml=(yl=(Ps=yt==null?void 0:yt.total_pipeline)==null?void 0:Ps.Marketing_Sourced)==null?void 0:yl.block_data[0])==null?void 0:Ml.value,change:(0,Ei.Z)((Gu=(Su=(fo=yt==null?void 0:yt.total_pipeline)==null?void 0:fo.Marketing_Sourced)==null?void 0:Su.block_data[0])==null?void 0:Gu.Comparison_data)||0},cpo:{value:(Kl=yt==null?void 0:yt.total_pipeline)==null?void 0:Kl.ms_cpo,change:((Vl=yt==null?void 0:yt.total_pipeline)==null?void 0:Vl.ms_cpo_comp)||0},options:{label:"Marketing Sourced",color:"#133463"}}]}}}switch(at.type){case lo.Y7:return Xo=at.data,Co({},Xo);case lo.Ho:return tt.cmo_closed_won.roi_cards_data=Xr(at==null?void 0:at.data),tt.cmo_closed_won.cards_data=Ln(at==null?void 0:at.data),tt.average_sale_cycle_data=xi(at==null?void 0:at.data),tt.average_deal_cycle_data=Cn(at==null?void 0:at.data),tt.cmo_closed_won.closed_won_card_data=Wn(at==null?void 0:at.data),Co({},tt);case lo.yR:return No(Co({},tt),{cmo_pipeline_data:No(Co({},tt.cmo_pipeline_data),{roi_cards_data:vi(at.data),donut_data:wa(at.data),box_data:Qo(at.data)})});case lo.cQ:return tt.cmo_insights_table_data=at.data,Co({},tt);case lo.zO:return No(Co({},tt),{isPdfClicked:at==null?void 0:at.data});case lo.MJ:return No(Co({},tt),{pathSameDrillDown:at==null?void 0:at.data});case lo.W0:return No(Co({},tt),{drillDownCsvHideValue:at==null?void 0:at.data});case lo.N6:return No(Co({},tt),{selectedColumnForPdf:{key:($t=at==null?void 0:at.data)==null?void 0:$t.key,selectedArray:(Fr=at==null?void 0:at.data)==null?void 0:Fr.selectedArray}});case lo.HP:return No(Co({},tt),{rowsCountForPdf:at==null?void 0:at.data});case lo.CT:return No(Co({},tt),{isTableDataForPdf:at==null?void 0:at.data});case lo.XF:return tt.cmo_graph_data=Pn(at.data.response,at.data.startDate,at.data.endDate,at.data.matrices),Co({},tt);case lo.AR:switch(at==null?void 0:at.type){case"date_range":return tt.cmo_request_body.date_range=at.data,Co({},tt);default:return Co({},tt)}return Co({},tt);case lo.hV:return tt.cmo_bookmark_request_body=at.data,Co({},tt);case lo.sD:return tt.cmo_metric_value=at.data,Co({},tt);case lo.ng:return tt.cmo_dimension_value=at.data,Co({},tt);case lo.F$:return tt={cmo_closed_won:{roi_cards_data:null,cards_data:null,closed_won_card_data:null},average_sale_cycle_data:null,average_deal_cycle_data:null,cmo_pipeline_data:{roi_cards_data:null,donut_data:null,box_data:null},cmo_insights_table_data:null,cmo_request_body:{date_range:pa._2.getDefaultRange(),filter_data:pa._2.getDefaultCMOFilters()},cmo_bookmark_request_body:null},Co({},tt)}},mi(Gi)),Jo=ot(19842),os=ot(752),ca=ot(87773),Ga=ot(1704),gl=ot(91067),Da=ot(91871),Ri=(tt,at,$t)=>new Promise((Fr,Xr)=>{var Ln=Wn=>{try{Cn($t.next(Wn))}catch(ai){Xr(ai)}},xi=Wn=>{try{Cn($t.throw(Wn))}catch(ai){Xr(ai)}},Cn=Wn=>Wn.done?Fr(Wn.value):Promise.resolve(Wn.value).then(Ln,xi);Cn(($t=$t.apply(tt,at)).next())});const Aa=["/login","/chooseAccount","/reset-password","/register","","/account/","/account"],ms=()=>{var tt;const{primaryColorApp:at,handlePrimaryColorChange:$t,secondaryColorApp:Fr,graphColorsApp:Xr,handleSecondaryColorChange:Ln,handleGraphColorChange:xi}=(0,os.T)(),{showSidebar:Cn}=(0,Da.Ap)(),Wn=Aa.indexOf(window.location.pathname)<0,[ai,ci]=(0,Hr.bp)(),{userData:Pn,theme:vi}=ai,[wa,Qo]=(0,$.useState)(!1),yt=(0,d.s0)(),Xn=(0,$n.Z)(),Vi=(0,Ci.Z)(),Qi=(0,ti.Z)();let[Bo,Oo]=(0,$.useState)(!1);const[Ro,So]=(0,$.useState)(!1),Yi=!["dev.digg.ai","test.digg.ai","beta.diggrowth.com","app.diggrowth.com","localhost:3000","localhost:3001"].some(Mi=>window.location.host.includes(Mi));Mn.Z.setItem("isClient",Yi);const k=Mi=>Ri(void 0,null,function*(){Xn.showLoader();let co={refresh_token:Mi};return yield Vi.get(Ga.Z.logoutUser(co)).then(go=>(Xn.hideLoader(),!0)).catch(go=>(Xn.hideLoader(),Qi.addToast({message:go.message||"Something went wrong",timeout:2e3,type:"error"}),!1))}),ge=(Mi,co)=>{const go={code:Mi,redirect_uri:Jo.m.getRedirectUrl()},qi={request:{},headers:go};return Xn.showLoader(),Vi.get(i.Z.keyCloakAuth(qi)).then(ji=>Ri(void 0,null,function*(){if(yield fa(ji.data.expires_in),ji!=null&&ji.data.access_token){let ra=yield as(ji==null?void 0:ji.data.access_token,ji==null?void 0:ji.data.refresh_token);if(ra.status==200){let jo={access_token:ji==null?void 0:ji.data.access_token,refresh_token:ji==null?void 0:ji.data.refresh_token};yield Va(jo,ra==null?void 0:ra.data.user_type,co)}}Xn.hideLoader()})).catch(ji=>{ca.L.logoutSessionFromKeyCloak(),window.location.href="/login",Qi.addToast({message:ji.message||"Something went wrong",timeout:2e3,type:"error"}),Xn.hideLoader()})};(0,$.useEffect)(()=>{const co=new URL(window.location.href).searchParams.get("hubspot_redirect");co&&Mn.Z.setItem("hubspotRedirectionUrl",co)});const Ze=()=>Ri(void 0,null,function*(){const Mi=window.location.hostname,go={url:(ji=>{const jo=/^(?:https?:\/\/)?(?:[^@\n]+@)?(?:www\.)?([^:/\n?]+)/g.exec(ji);return jo&&jo.length>1?jo[1]:null})(Mi)},qi={request:{},headers:go};return yield Vi.get(i.Z.getLogos(qi)).then(ji=>Ri(void 0,null,function*(){const ra={Favicon:ji.data.FavLogo,LBLogo:ji.data.LBLogo,LSLogo:ji.data.LSLogo,DBLogo:ji.data.DBLogo,DSLogo:ji.data.DSLogo,DOSLogo:ji.data.DOSLogo,LOSLogo:ji.data.LOSLogo,title:ji.data.org_name,url:ji.data.redirect_uri,email:ji.data.email};Mn.Z.setItem("Client_data",ra),Ia()})).catch(ji=>{So(!0)})}),Xe=()=>Ri(void 0,null,function*(){const Mi=window.location.hostname,go={url:(ji=>{const jo=/^(?:https?:\/\/)?(?:[^@\n]+@)?(?:www\.)?([^:/\n?]+)/g.exec(ji);return jo&&jo.length>1?jo[1]:null})(Mi)},qi={request:{},headers:go};return yield Vi.get(i.Z.getShareReportLogos(qi)).then(ji=>Ri(void 0,null,function*(){const ra={LBLogo:ji.data.LBLogo,DBLogo:ji.data.DBLogo};Mn.Z.setItem("ShareReports_data",ra)})).catch(ji=>{So(!0)})}),xt=()=>Ri(void 0,null,function*(){const{search:Mi}=window.location,co=new URLSearchParams(Mi),go=co.get("code"),qi=co.get("hubspot_redirect"),ji=co.get("agencyToken"),ra=co.get("user_type"),jo=co.get("refresh_token");qi&&Mn.Z.setItem("hubspotRedirectionUrl",qi),ji&&window.location.pathname.includes("/account")&&(yield Va({access_token:ji,refresh_token:jo},ra,jo),yield sn(ji),yield xr(ji),yield Ai(ji));const Ca=co.get("embeded")||Mn.Z.getItem("embeded")||!1;Mn.Z.getItem("isAuthenticated")||Mn.Z.setItem("saveToRedirect",window.location.pathname),Mn.Z.setItem("embeded",Ca===!0||Ca==="true"),Mn.Z.getItem("appTheme")||Mn.Z.setItem("appTheme","dark");const Ra=Mn.Z.getItem("appTheme")||"dark";if(ci(_r.xQ(Ra==="dark"?Hr.hc.DARK:Hr.hc.LIGHT)),go&&window.location.pathname.includes("/login"))ge(go,jo);else if(!Mn.Z.getItem("isAuthenticated")&&window.location.pathname!=="/reset-password"){Oo(!0);const{search:ro}=window.location,_a=new URLSearchParams(ro);let Ma="";_a.get("redirect_url")&&(Ma=_a.get("redirect_url")),yt({pathname:"/login",search:Ma?`?redirect_url=${Ma}`:""})}else{let ro="";const _a=Pn.access_token;if(co.get("redirect_url")&&(ro=co.get("redirect_url")),ro.trim()&&_a){window.location.href=`${ro}?access_token=${_a}`;return}Oo(!0)}localStorage.setItem("isInsightsOpened","false")});(0,$.useEffect)(()=>{Yi&&window.location.pathname!=="/login"&&(Ze(),Xe());function Mi(go){document.documentElement.style.setProperty("--primary-theme",go)}function co(go){document.documentElement.style.setProperty("--funnel-color-1",`90px solid ${go[0]}`),document.documentElement.style.setProperty("--funnel-color-2",`90px solid ${go[1]}`),document.documentElement.style.setProperty("--funnel-color-3",`90px solid ${go[2]}`),document.documentElement.style.setProperty("--funnel-color-4",`90px solid ${go[3]}`),document.documentElement.style.setProperty("--funnel-color-5",`90px solid ${go[4]}`),document.documentElement.style.setProperty("--funnel-color-6",`90px solid ${go[5]}`),document.documentElement.style.setProperty("--funnel-color-7",`90px solid ${go[6]}`)}Mi(localStorage.getItem("primaryColor")),co(Xr),xt()},[]);const xr=Mi=>Ri(void 0,null,function*(){const go={request:{},headers:{"access-token":Mi}};return yield Vi.get(i.Z.getColorTheme(go),!0).then(qi=>Ri(void 0,null,function*(){var ji,ra,jo,Ca,Ra,ro,_a,Ma;const Bn=(ra=(ji=qi==null?void 0:qi.data)==null?void 0:ji.color_setting)==null?void 0:ra.primaryTheme,Wo=(Ca=(jo=qi==null?void 0:qi.data)==null?void 0:jo.color_setting)==null?void 0:Ca.secondaryTheme,ba=(ro=(Ra=qi==null?void 0:qi.data)==null?void 0:Ra.color_setting)==null?void 0:ro.graphTheme,ss=(Ma=(_a=qi==null?void 0:qi.data)==null?void 0:_a.color_setting)==null?void 0:Ma.Custom;localStorage.setItem("themeOption",ss),$t(Bn),Ln(Wo),xi(ba)})).catch(qi=>[])}),sn=Mi=>Ri(void 0,null,function*(){const go={request:{},headers:{"access-token":Mi}};return yield Vi.get(Oi.Z.getGlobalSettings(go),!0).then(qi=>Ri(void 0,null,function*(){Mn.Z.setItem("global_settings",qi==null?void 0:qi.data)})).catch(qi=>[])}),Ai=Mi=>Ri(void 0,null,function*(){const go={request:{},headers:{"access-token":Mi}};return yield Vi.get(Oi.Z.getLogoUrl(go),!0).then(qi=>Ri(void 0,null,function*(){Mn.Z.setItem("logo",qi==null?void 0:qi.data)})).catch(qi=>[])}),Zi=()=>Ri(void 0,null,function*(){if(Pn){let Mi=Pn["refresh-token"];if(Mi){let co=`https://test-api.digg.ai/kcauth/refreshToken?refresh_token=${Mi}`;try{const go=yield fetch(co,{method:"GET"});if(go.status===440){ca.L.logoutSessionFromKeyCloak,window.location.href="/login";const qi=localStorage.getItem("Client_data")||"";localStorage.clear(),localStorage.setItem("Client_data",qi)}else{const qi=yield go.json();if(Pn&&qi)Pn["refresh-token"]=qi.data.refresh_token,Pn["access-token"]=qi.data.access_token,localStorage.setItem("userData",JSON.stringify(Pn)),fa(qi.data.expires_in);else{ca.L.logoutSessionFromKeyCloak,window.location.href="/login";const ji=localStorage.getItem("Client_data")||"";localStorage.clear(),localStorage.setItem("Client_data",ji)}}}catch(go){const qi=localStorage.getItem("Client_data")||"";localStorage.clear(),localStorage.setItem("Client_data",qi),ca.L.logoutSessionFromKeyCloak,window.location.href="/login",console.error("Fetch error:",go)}}}}),$i=Mn.Z.getItem("Client_data"),Lo=$i==null?void 0:$i.title,Zo=$i==null?void 0:$i.Favicon,da=Mn.Z.getItem("isClient"),Ia=()=>{let Mi=Lo==null?void 0:Lo.replace(/"/g,"");document.title=da?Mi:"Diggrowth";const co=document.getElementById("favicon");let go=Zo==null?void 0:Zo.replace(/"/g,"");co.href=da?go:"https://digg-gn.s3.us-west-2.amazonaws.com/white_label_logo/DefaultFavicon.png"};(0,$.useEffect)(()=>{Mn.Z.getItem("isAuthenticated")&&Ia();let Mi=Mn.Z.getItem("tokenExp");if(Mi){let co=Jo.m.parseDateStringToDate(Mi),go=new Date,qi=Jo.m.calculateTimeDifferenceInSeconds(co,go);qi&&fa(qi)}},[]);const fa=Mi=>{let co=Mi/60,go=Jo.m.getCurrentDateTimeWithAddedMinutes(co);localStorage.setItem("tokenExp",go);let qi=Jo.m.parseDateStringToDate(go),ji=new Date,ra=qi-ji,jo=ra*10/100,Ca=ra-jo;Ca&&setTimeout(()=>{Zi()},Ca)},as=(Mi,co)=>{const qi={request:{},headers:{"access-token":Mi}};return Xn.showLoader(),Vi.get(i.Z.validateAccessToken(qi)).then(ji=>Ri(void 0,null,function*(){return ji})).catch(ji=>(Qi.addToast({message:ji.message||"Something went wrong",timeout:2e3,type:"error"}),k(co),Xn.hideLoader(),!1))},Va=(Mi,co,go)=>{const qi={"access-token":Mi.access_token},ji={request:{},headers:qi};return Vi.get(i.Z.getLoginDetails(ji)).then(ra=>Ri(void 0,null,function*(){var jo,Ca,Ra;const ro=ra.data,_a={email:ro.email,name:`${`${ro.first_name} ${ro.last_name}`}`||"Digg User",platform:"",attribute:"",parent_id:ro.parent_id||0,"refresh-token":Mi.refresh_token||"","access-token":Mi.access_token,user_id:ro.user_id||"",selected_platform:ro.selected_platform,connector_count:ro.connector_count,login_count:ro==null?void 0:ro.login_count,reportName:ro==null?void 0:ro.hb_report_name,user_type:co||0};Mn.Z.setItem("isCustomizedSideBar",ro.is_custom_side_bar_enable);const Ma={fb_minimize:ro.fb_minimize,inst_minimize:ro.inst_minimize,youtube_minimize:ro.youtube_minimize,linkedin_minimize:ro.linkedin_minimize};Mn.Z.setItem("minimizeSettings",Ma),Mn.Z.setItem("Deleted_User",ro.deleted_user),Mn.Z.setItem("isCustomDashboardEnable",(ro==null?void 0:ro.toggle_custom_dashboard)||!1);let Bn=[];(jo=ro==null?void 0:ro.connected_crms)!=null&&jo.includes("Hubspot_Crm")&&Bn.push(19),(Ca=ro==null?void 0:ro.connected_crms)!=null&&Ca.includes("Google Analytics")&&Bn.push(5),(Ra=ro==null?void 0:ro.connected_crms)!=null&&Ra.includes("Salesforce")&&Bn.push(4),Mn.Z.setItem("connectedCRM",Bn),(ro==null?void 0:ro.is_custom_side_bar_enable)==1&&Mn.Z.setItem("sideBarSectionData",ro==null?void 0:ro.custom_nav_bar),Mn.Z.setItem("isAuthenticated",!0);let Wo="dark";ro.dark_theme==0&&(Wo="light"),Mn.Z.setItem("appTheme",Wo),(ro==null?void 0:ro.response)!=="parameter"&&(_a.platform=ro.parameter,_a.attribute=ro.attribute),Mn.Z.setItem("userData",_a),yield sn(Mi.access_token),yield xr(Mi.access_token),yield Ai(Mi.access_token);let ba=ro.is_custom_side_bar_enable==1?ro==null?void 0:ro.default_route:"/insights/cmo/dashboard";Mn.Z.setItem("defaultRoute",ba),_a.user_type==1&&!go?window.location.href="/account":window.location.href=ba,Bo=!0,Oo(!0),Xn.hideLoader()})).catch(ra=>{Qi.addToast({message:ra.message||"Something went wrong",timeout:2e3,type:"error"}),Xn.hideLoader()})},ha=Mn.Z.getItem("embeded")||!1,xa=vi||"dark";let ko=(0,$.useMemo)(()=>(0,B.Z)(Yr(xa,at,Fr,Xr)),[xa,at,Fr,Xr]);return(0,_e.jsx)(gl.G3,{children:(0,_e.jsx)(si.zt,{store:Ss,children:(0,_e.jsxs)(K,{theme:ko,children:[wa?(0,_e.jsxs)(W.ZP,{item:!0,style:{width:"100%",height:"50vh",display:"flex",justifyContent:"center",alignItems:"center"},children:[(0,_e.jsx)(re.Z,{size:50,style:{color:ko.palette.text.tertiary,zIndex:9999}})," "]}):(0,_e.jsxs)("div",{className:Wn?"app":"",style:{backgroundColor:ko.palette.background.main},children:[Wn&&Cn?(0,_e.jsx)(is,{}):null,(0,_e.jsxs)("div",{className:Wn?ha?"app__outer app__embeded":"app__outer":"",style:ko.palette.outerAppStyle,children:[(tt=ai.onLoaded)!=null&&tt.showLoader?(0,_e.jsx)(Yn.Z,{fullWidth:!0}):null,Bo?(0,_e.jsx)(Dr,{}):null]})]}),(0,_e.jsx)(hn,{}),(0,_e.jsx)(R,{})]})})})};ms.whyDidYouRender=!0;var ml=ms,ea=tt=>{tt&&tt instanceof Function&&ot.e(3791).then(ot.bind(ot,43791)).then(({getCLS:at,getFID:$t,getFCP:Fr,getLCP:Xr,getTTFB:Ln})=>{at(tt),$t(tt),Fr(tt),Xr(tt),Ln(tt)})},La=ot(49902),ds=ot(63536),Ya=Object.defineProperty,Qs=Object.defineProperties,Ms=Object.getOwnPropertyDescriptors,To=Object.getOwnPropertySymbols,il=Object.prototype.hasOwnProperty,li=Object.prototype.propertyIsEnumerable,ka=(tt,at,$t)=>at in tt?Ya(tt,at,{enumerable:!0,configurable:!0,writable:!0,value:$t}):tt[at]=$t,ga=(tt,at)=>{for(var $t in at||(at={}))il.call(at,$t)&&ka(tt,$t,at[$t]);if(To)for(var $t of To(at))li.call(at,$t)&&ka(tt,$t,at[$t]);return tt},Sa=(tt,at)=>Qs(tt,Ms(at)),Yo=(tt,at,$t)=>new Promise((Fr,Xr)=>{var Ln=Wn=>{try{Cn($t.next(Wn))}catch(ai){Xr(ai)}},xi=Wn=>{try{Cn($t.throw(Wn))}catch(ai){Xr(ai)}},Cn=Wn=>Wn.done?Fr(Wn.value):Promise.resolve(Wn.value).then(Ln,xi);Cn(($t=$t.apply(tt,at)).next())});const _s=Mn.Z,Es=(tt,at)=>Yo(void 0,null,function*(){return Sa(ga({},tt),{isAuthenticated:!0,loginData:ga({},at.data)})}),ol=(tt,at)=>{const $t=_s.getItem("embeded")||!1,Fr=_s.getItem("appTheme")||"light";return _s.clear(),_s.setItem("embeded",$t),_s.setItem("appTheme",Fr),Sa(ga({},tt),{isAuthenticated:!1,loginData:{}})},Na=(tt,at)=>Sa(ga({},tt),{"access-token":at.data.access_token,"refresh-token":at.data.refresh_token}),aa=(tt,at)=>Sa(ga({},tt),{onLoaded:ga({},at.data)}),fs=(tt,at)=>Sa(ga({},tt),{onSidebarToggle:at.data}),Gs=(tt,at)=>Sa(ga({},tt),{showSidebar:at.data}),el=(tt,at)=>Sa(ga({},tt),{editProfile:at.data}),Ts=(tt,at)=>Sa(ga({},tt),{segmentsList:at.data}),Rl=(tt,at)=>Sa(ga({},tt),{insightFilters:at.data}),y=(tt,at)=>Sa(ga({},tt),{connected_crm:at.data}),ye=(tt,at)=>{const $t=_s.getItem("appTheme")||"light";return _s.setItem("appTheme",$t),Sa(ga({},tt),{theme:at.data})},oe=(tt,at)=>Sa(ga({},tt),{isQuestionsVisible:at.data}),ne=(tt,at)=>Sa(ga({},tt),{isAnswersVisible:at.data}),He=(tt,at)=>Sa(ga({},tt),{insightsQuestions:at.data});var bt=(tt,at)=>{switch(at.type){case ds.KG:return Es(tt,at);case ds.Nv:return ol(tt,at);case ds.gI:return aa(tt,at);case ds.jy:return fs(tt,at);case ds.et:return el(tt,at);case ds.nz:return Rl(tt,at);case ds.Wr:return Gs(tt,at);case ds.hA:return Ts(tt,at);case ds.j5:return y(tt,at);case ds.E4:return Na(tt,at);case ds.KX:return ye(tt,at);case ds.Hv:return oe(tt,at);case ds.GJ:return ne(tt,at);case ds.S3:return He(tt,at);default:return tt}};const vt=new URL("",window.location.href);let jr=window;const Ht=["./","./js/app.min.js","./manifest.json",{url:"/index.html",revision:"383676"}],hr=Boolean(window.location.hostname==="localhost"||window.location.hostname==="[::1]"||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));function Tn(tt){if("serviceWorker"in navigator){if(vt.origin!==window.location.origin)return;jr.addEventListener("install",at=>{console.log("Attempting to install service worker and cache static assets"),at.waitUntil(caches.open("staticCacheName").then($t=>$t.addAll(Ht)))}),jr.addEventListener("activate",function(at){at.waitUntil(caches.keys().then(function($t){return Promise.all($t.filter(function(Fr){}).map(function(Fr){return caches.delete(Fr)}))}))}),jr.addEventListener("fetch",function(at){at.respondWith(caches.match(at.request).then(function($t){return $t||fetch(at.request)}))}),window.addEventListener("load",()=>{const at="/service-worker.js";hr?(an(at,tt),navigator.serviceWorker.ready.then(()=>{console.log("This web app is being served cache-first by a service worker. To learn more, visit https://bit.ly/CRA-PWA")})):Sn(at,tt)})}}function Sn(tt,at){navigator.serviceWorker.register(tt).then($t=>{$t.onupdatefound=()=>{const Fr=$t.installing;Fr!=null&&(Fr.onstatechange=()=>{Fr.state==="installed"&&(navigator.serviceWorker.controller?(console.log("New content is available and will be used when all tabs for this page are closed. See https://bit.ly/CRA-PWA."),at&&at.onUpdate&&at.onUpdate($t)):(console.log("Content is cached for offline use."),at&&at.onSuccess&&at.onSuccess($t)))})}}).catch($t=>{console.error("Error during service worker registration:",$t)})}function an(tt,at){fetch(tt,{headers:{"Service-Worker":"script"}}).then($t=>{const Fr=$t.headers.get("content-type");$t.status===404||Fr!=null&&Fr.indexOf("javascript")===-1?navigator.serviceWorker.ready.then(Xr=>{Xr.unregister().then(()=>{window.location.reload()})}):Sn(tt,at)}).catch(()=>{console.log("No internet connection found. App is running in offline mode.")})}function ni(){"serviceWorker"in navigator&&navigator.serviceWorker.ready.then(tt=>{tt.unregister()}).catch(tt=>{console.error(tt.message)})}var Li=ot(23466);t.render((0,_e.jsx)($.Suspense,{fallback:"",children:(0,_e.jsx)(La.VK,{children:(0,_e.jsx)(Li.P8,{children:(0,_e.jsx)(Da.Hn,{children:(0,_e.jsx)(os.d,{children:(0,_e.jsx)(Hr.iz,{reducer:bt,children:(0,_e.jsx)(f.sS,{reducer:ee,children:(0,_e.jsx)(ml,{})})})})})})})}),document.getElementById("root")),ea(),Tn({onSuccess:tt=>{},onUpdate:tt=>{const at=tt.waiting;at&&(at.postMessage({type:"SKIP_WAITING"}),at.addEventListener("statechange",$t=>{$t.target.state==="activated"&&window.location.reload()}))}})})()})();

//# sourceMappingURL=main.77e3d084.js.map