vuchat 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +5 -2
- package/.github/workflows/publish.yaml +0 -23
- package/.yarnrc.yml +0 -2
- package/custom.d.ts +0 -6
- package/postcss.config.ts +0 -6
- package/rollup.config.ts +0 -74
- package/src/assets/icons/add.svg +0 -1
- package/src/assets/icons/arrow-left.svg +0 -1
- package/src/assets/icons/bot.svg +0 -35
- package/src/assets/icons/bot1.svg +0 -1
- package/src/assets/icons/close.svg +0 -1
- package/src/assets/icons/copy.svg +0 -1
- package/src/assets/icons/delete.svg +0 -1
- package/src/assets/icons/download.svg +0 -1
- package/src/assets/icons/error.svg +0 -12
- package/src/assets/icons/load.svg +0 -5
- package/src/assets/icons/message.svg +0 -4
- package/src/assets/icons/search.svg +0 -1
- package/src/assets/icons/send.svg +0 -14
- package/src/assets/icons/thumbs-down.svg +0 -1
- package/src/assets/icons/thumbs-up.svg +0 -1
- package/src/assets/icons/user.svg +0 -12
- package/src/assets/icons/ved.svg +0 -26
- package/src/components/Buttons/VuButton.tsx +0 -26
- package/src/components/Buttons/VuIconButton.tsx +0 -31
- package/src/components/Buttons/index.ts +0 -2
- package/src/components/Buttons/styled.ts +0 -87
- package/src/components/Buttons/types.ts +0 -17
- package/src/components/Charts/BarChart.tsx +0 -157
- package/src/components/Charts/LineChart.tsx +0 -103
- package/src/components/Charts/PieChart.tsx +0 -117
- package/src/components/Charts/theme.ts +0 -218
- package/src/components/ErrorComponent/index.tsx +0 -23
- package/src/components/ErrorComponent/styled.ts +0 -28
- package/src/components/Header/index.tsx +0 -52
- package/src/components/Header/styled.ts +0 -16
- package/src/components/Icons/VuIcon.tsx +0 -30
- package/src/components/Icons/index.ts +0 -1
- package/src/components/SearchInput/SearchInput.tsx +0 -23
- package/src/components/SearchInput/index.ts +0 -1
- package/src/components/SearchInput/styled.ts +0 -27
- package/src/components/TextArea/VuTextArea.tsx +0 -39
- package/src/components/TextArea/index.ts +0 -1
- package/src/components/TextArea/styled.ts +0 -41
- package/src/components/api/api.ts +0 -51
- package/src/components/api/axiosInstance.ts +0 -5
- package/src/components/api/types.ts +0 -31
- package/src/components/index.ts +0 -8
- package/src/index.css +0 -247
- package/src/index.ts +0 -2
- package/src/pages/VuChat.tsx +0 -45
- package/src/pages/VuIconComponent.tsx +0 -45
- package/src/pages/chatbot/Chatbot.tsx +0 -206
- package/src/pages/chatbot/components/ChatSection/ChatSection.tsx +0 -201
- package/src/pages/chatbot/components/ChatSection/components/ActionButtons/ActionButtons.tsx +0 -30
- package/src/pages/chatbot/components/ChatSection/components/ActionButtons/styled.ts +0 -10
- package/src/pages/chatbot/components/ChatSection/components/Charts/Charts.tsx +0 -39
- package/src/pages/chatbot/components/ChatSection/components/Charts/styled.ts +0 -27
- package/src/pages/chatbot/components/ChatSection/components/Charts/type.ts +0 -18
- package/src/pages/chatbot/components/ChatSection/components/EmptyState/EmptyState.tsx +0 -26
- package/src/pages/chatbot/components/ChatSection/components/EmptyState/styled.ts +0 -29
- package/src/pages/chatbot/components/ChatSection/components/QuestionCard/QuestionCard.tsx +0 -21
- package/src/pages/chatbot/components/ChatSection/components/QuestionCard/styled.ts +0 -22
- package/src/pages/chatbot/components/ChatSection/components/ResponseCard/ResponseCard.tsx +0 -181
- package/src/pages/chatbot/components/ChatSection/components/ResponseCard/styled.ts +0 -53
- package/src/pages/chatbot/components/ChatSection/components/ResponseLoader/ResponseLoader.tsx +0 -38
- package/src/pages/chatbot/components/ChatSection/components/ResponseLoader/styled.ts +0 -24
- package/src/pages/chatbot/components/ChatSection/components/SuggestedQuestions/SuggestedQuestions.tsx +0 -18
- package/src/pages/chatbot/components/ChatSection/components/SuggestedQuestions/styled.ts +0 -12
- package/src/pages/chatbot/components/ChatSection/styled.ts +0 -30
- package/src/pages/chatbot/components/RecentConversations/RecentConversations.tsx +0 -128
- package/src/pages/chatbot/components/RecentConversations/questions.ts +0 -24
- package/src/pages/chatbot/components/RecentConversations/styled.ts +0 -55
- package/src/pages/chatbot/index.ts +0 -1
- package/src/pages/chatbot/styled.ts +0 -100
- package/src/pages/index.ts +0 -2
- package/src/pages/styled.ts +0 -27
- package/src/utils/helper.ts +0 -8
- package/src/utils/icons.ts +0 -3
- package/src/utils/iconsList.tsx +0 -14
- package/src/utils/index.ts +0 -2
- package/tailwind.config.ts +0 -36
- package/tsconfig.json +0 -20
package/dist/index.js
CHANGED
|
@@ -326,7 +326,7 @@ function(e){var t=function(){return void 0===this.internal.vFS&&(this.internal.v
|
|
|
326
326
|
* Unicode Bidi Engine based on the work of Alex Shensis (@asthensis)
|
|
327
327
|
* MIT License
|
|
328
328
|
*/
|
|
329
|
-
function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(e){var n,r,i,A,o,a,s,c=t,u=[[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]],l=[[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]],f={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},d={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},h=['(',')','(','<','>','<','[',']','[','{','}','{','«','»','«','‹','›','‹','⁅','⁆','⁅','⁽','⁾','⁽','₍','₎','₍','≤','≥','≤','〈','〉','〈','﹙','﹚','﹙','﹛','﹜','﹛','﹝','﹞','﹝','﹤','﹥','﹤'],p=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)$/),g=!1,m=0;this.__bidiEngine__={};var v=function(e){var t=e.charCodeAt(),n=t>>8,r=d[n];return void 0!==r?c[256*r+(255&t)]:252===n||253===n?'AL':p.test(n)?'L':8===n?'R':'N'},b=function(e){for(var t,n=0;n<e.length;n++){if('L'===(t=v(e.charAt(n))))return!1;if('R'===t)return!0}return!1},y=function(e,t,o,a){var s,c,u,l,f=t[a];switch(f){case'L':case'R':case'LRE':case'RLE':case'LRO':case'RLO':case'PDF':g=!1;break;case'N':case'AN':break;case'EN':g&&(f='AN');break;case'AL':g=!0,f='R';break;case'WS':case'BN':f='N';break;case'CS':a<1||a+1>=t.length||'EN'!==(s=o[a-1])&&'AN'!==s||'EN'!==(c=t[a+1])&&'AN'!==c?f='N':g&&(c='AN'),f=c===s?c:'N';break;case'ES':f='EN'===(s=a>0?o[a-1]:'B')&&a+1<t.length&&'EN'===t[a+1]?'EN':'N';break;case'ET':if(a>0&&'EN'===o[a-1]){f='EN';break}if(g){f='N';break}for(u=a+1,l=t.length;u<l&&'ET'===t[u];)u++;f=u<l&&'EN'===t[u]?'EN':'N';break;case'NSM':if(i&&!A){for(l=t.length,u=a+1;u<l&&'NSM'===t[u];)u++;if(u<l){var d=e[a],h=d>=1425&&d<=2303||64286===d;if(s=t[u],h&&('R'===s||'AL'===s)){f='R';break}}}f=a<1||'B'===(s=t[a-1])?'N':o[a-1];break;case'B':g=!1,n=!0,f=m;break;case'S':r=!0,f='N'}return f},w=function(e,t,n){var r=e.split('');return n&&B(r,n,{hiLevel:m}),r.reverse(),t&&t.reverse(),r.join('')},B=function(e,t,i){var A,o,a,s,c,d=-1,h=e.length,p=0,b=[],w=m?l:u,B=[];for(g=!1,n=!1,r=!1,o=0;o<h;o++)B[o]=v(e[o]);for(a=0;a<h;a++){if(c=p,b[a]=y(e,B,b,a),A=240&(p=w[c][f[b[a]]]),p&=15,t[a]=s=w[p][5],A>0)if(16===A){for(o=d;o<a;o++)t[o]=1;d=-1}else d=-1;if(w[p][6])-1===d&&(d=a);else if(d>-1){for(o=d;o<a;o++)t[o]=s;d=-1}'B'===B[a]&&(t[a]=0),i.hiLevel|=s}r&&function(e,t,n){for(var r=0;r<n;r++)if('S'===e[r]){t[r]=m;for(var i=r-1;i>=0&&'WS'===e[i];i--)t[i]=m}}(B,t,h)},C=function(e,t,r,i,A){if(!(A.hiLevel<e)){if(1===e&&1===m&&!n)return t.reverse(),void(r&&r.reverse());for(var o,a,s,c,u=t.length,l=0;l<u;){if(i[l]>=e){for(s=l+1;s<u&&i[s]>=e;)s++;for(c=l,a=s-1;c<a;c++,a--)o=t[c],t[c]=t[a],t[a]=o,r&&(o=r[c],r[c]=r[a],r[a]=o);l=s}l++}}},x=function(e,t,n){var r=e.split(''),i={hiLevel:m};return n||(n=[]),B(r,n,i),function(e,t,n){if(0!==n.hiLevel&&s)for(var r,i=0;i<e.length;i++)1===t[i]&&(r=h.indexOf(e[i]))>=0&&(e[i]=h[r+1])}(r,n,i),C(2,r,t,n,i),C(1,r,t,n,i),r.join('')};return this.__bidiEngine__.doBidiReorder=function(e,t,n){if(function(e,t){if(t)for(var n=0;n<e.length;n++)t[n]=n;void 0===A&&(A=b(e)),void 0===a&&(a=b(e))}(e,t),i||!o||a)if(i&&o&&A^a)m=A?1:0,e=w(e,t,n);else if(!i&&o&&a)m=A?1:0,e=x(e,t,n),e=w(e,t);else if(!i||A||o||a){if(i&&!o&&A^a)e=w(e,t),A?(m=0,e=x(e,t,n)):(m=1,e=x(e,t,n),e=w(e,t));else if(i&&A&&!o&&a)m=1,e=x(e,t,n),e=w(e,t);else if(!i&&!o&&A^a){var r=s;A?(m=1,e=x(e,t,n),m=0,s=!1,e=x(e,t,n),s=r):(m=0,e=x(e,t,n),e=w(e,t),m=1,s=!1,e=x(e,t,n),s=r,e=w(e,t))}}else m=0,e=x(e,t,n);else m=A?1:0,e=x(e,t,n);return e},this.__bidiEngine__.setOptions=function(e){e&&(i=e.isInputVisual,o=e.isOutputVisual,A=e.isInputRtl,a=e.isOutputRtl,s=e.isSymmetricSwapping)},this.__bidiEngine__.setOptions(e),this.__bidiEngine__};var t=['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'],n=new e.__bidiEngine__({isInputVisual:!0});e.API.events.push(['postProcessText',function(e){var t=e.text,r=(e.x,e.y,e.options||{}),i=(e.mutex,r.lang,[]);if(r.isInputVisual='boolean'!=typeof r.isInputVisual||r.isInputVisual,n.setOptions(r),'[object Array]'===Object.prototype.toString.call(t)){var A=0;for(i=[],A=0;A<t.length;A+=1)'[object Array]'===Object.prototype.toString.call(t[A])?i.push([n.doBidiReorder(t[A][0]),t[A][1],t[A][2]]):i.push([n.doBidiReorder(t[A])]);e.text=i}else e.text=n.doBidiReorder(t);n.setOptions({isInputVisual:!0})}])}(gK),gK.API.TTFFont=function(){function e(e){var t;if(this.rawData=e,t=this.contents=new Nq(e),this.contents.pos=4,'ttcf'===t.readString(4))throw new Error('TTCF not supported.');t.pos=0,this.parse(),this.subset=new $q(this),this.registerTTF()}return e.open=function(t){return new e(t)},e.prototype.parse=function(){return this.directory=new Oq(this.contents),this.head=new Pq(this),this.name=new Wq(this),this.cmap=new Rq(this),this.toUnicode={},this.hhea=new Dq(this),this.maxp=new zq(this),this.hmtx=new Xq(this),this.post=new Gq(this),this.os2=new Vq(this),this.loca=new Jq(this),this.glyf=new qq(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]},e.prototype.registerTTF=function(){var e,t,n,r,i;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var t,n,r,i;for(i=[],t=0,n=(r=this.bbox).length;t<n;t++)e=r[t],i.push(Math.round(e*this.scaleFactor));return i}.call(this),this.stemV=0,this.post.exists?(n=255&(r=this.post.italic_angle),0!=(32768&(t=r>>16))&&(t=-(1+(65535^t))),this.italicAngle=+(t+'.'+n)):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=1===(i=this.familyClass)||2===i||3===i||4===i||5===i||7===i,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error('No unicode cmap for font')},e.prototype.characterToGlyph=function(e){var t;return(null!=(t=this.cmap.unicode)?t.codeMap[e]:void 0)||0},e.prototype.widthOfGlyph=function(e){var t;return t=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(e).advance*t},e.prototype.widthOfString=function(e,t,n){var r,i,A,o;for(A=0,i=0,o=(e=''+e).length;0<=o?i<o:i>o;i=0<=o?++i:--i)r=e.charCodeAt(i),A+=this.widthOfGlyph(this.characterToGlyph(r))+n*(1e3/t)||0;return A*(t/1e3)},e.prototype.lineHeight=function(e,t){var n;return null==t&&(t=!1),n=t?this.lineGap:0,(this.ascender+n-this.decender)/1e3*e},e}();var _q,Nq=function(){function e(e){this.data=null!=e?e:[],this.pos=0,this.length=this.data.length}return e.prototype.readByte=function(){return this.data[this.pos++]},e.prototype.writeByte=function(e){return this.data[this.pos++]=e},e.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},e.prototype.writeUInt32=function(e){return this.writeByte(e>>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt32=function(){var e;return(e=this.readUInt32())>=2147483648?e-4294967296:e},e.prototype.writeInt32=function(e){return e<0&&(e+=4294967296),this.writeUInt32(e)},e.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},e.prototype.writeUInt16=function(e){return this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt16=function(){var e;return(e=this.readUInt16())>=32768?e-65536:e},e.prototype.writeInt16=function(e){return e<0&&(e+=65536),this.writeUInt16(e)},e.prototype.readString=function(e){var t,n;for(n=[],t=0;0<=e?t<e:t>e;t=0<=e?++t:--t)n[t]=String.fromCharCode(this.readByte());return n.join('')},e.prototype.writeString=function(e){var t,n,r;for(r=[],t=0,n=e.length;0<=n?t<n:t>n;t=0<=n?++t:--t)r.push(this.writeByte(e.charCodeAt(t)));return r},e.prototype.readShort=function(){return this.readInt16()},e.prototype.writeShort=function(e){return this.writeInt16(e)},e.prototype.readLongLong=function(){var e,t,n,r,i,A,o,a;return e=this.readByte(),t=this.readByte(),n=this.readByte(),r=this.readByte(),i=this.readByte(),A=this.readByte(),o=this.readByte(),a=this.readByte(),128&e?-1*(72057594037927940*(255^e)+281474976710656*(255^t)+1099511627776*(255^n)+4294967296*(255^r)+16777216*(255^i)+65536*(255^A)+256*(255^o)+(255^a)+1):72057594037927940*e+281474976710656*t+1099511627776*n+4294967296*r+16777216*i+65536*A+256*o+a},e.prototype.writeLongLong=function(e){var t,n;return t=Math.floor(e/4294967296),n=4294967295&e,this.writeByte(t>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t),this.writeByte(n>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n)},e.prototype.readInt=function(){return this.readInt32()},e.prototype.writeInt=function(e){return this.writeInt32(e)},e.prototype.read=function(e){var t,n;for(t=[],n=0;0<=e?n<e:n>e;n=0<=e?++n:--n)t.push(this.readByte());return t},e.prototype.write=function(e){var t,n,r,i;for(i=[],n=0,r=e.length;n<r;n++)t=e[n],i.push(this.writeByte(t));return i},e}(),Oq=function(){var e;function t(e){var t,n,r;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},n=0,r=this.tableCount;0<=r?n<r:n>r;n=0<=r?++n:--n)t={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[t.tag]=t}return t.prototype.encode=function(t){var n,r,i,A,o,a,s,c,u,l,f,d,h;for(h in f=Object.keys(t).length,a=Math.log(2),u=16*Math.floor(Math.log(f)/a),A=Math.floor(u/a),c=16*f-u,(r=new Nq).writeInt(this.scalarType),r.writeShort(f),r.writeShort(u),r.writeShort(A),r.writeShort(c),i=16*f,s=r.pos+i,o=null,d=[],t)for(l=t[h],r.writeString(h),r.writeInt(e(l)),r.writeInt(s),r.writeInt(l.length),d=d.concat(l),'head'===h&&(o=s),s+=l.length;s%4;)d.push(0),s++;return r.write(d),n=2981146554-e(r.data),r.pos=o+8,r.writeUInt32(n),r.data},e=function(e){var t,n,r,i;for(e=Kq.call(e);e.length%4;)e.push(0);for(r=new Nq(e),n=0,t=0,i=e.length;t<i;t=t+=4)n+=r.readUInt32();return 4294967295&n},t}(),Tq={}.hasOwnProperty,Mq=function(e,t){for(var n in t)Tq.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e};_q=function(){function e(e){var t;this.file=e,t=this.file.directory.tables[this.tag],this.exists=!!t,t&&(this.offset=t.offset,this.length=t.length,this.parse(this.file.contents))}return e.prototype.parse=function(){},e.prototype.encode=function(){},e.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},e}();var Pq=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Mq(t,_q),t.prototype.tag='head',t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.revision=e.readInt(),this.checkSumAdjustment=e.readInt(),this.magicNumber=e.readInt(),this.flags=e.readShort(),this.unitsPerEm=e.readShort(),this.created=e.readLongLong(),this.modified=e.readLongLong(),this.xMin=e.readShort(),this.yMin=e.readShort(),this.xMax=e.readShort(),this.yMax=e.readShort(),this.macStyle=e.readShort(),this.lowestRecPPEM=e.readShort(),this.fontDirectionHint=e.readShort(),this.indexToLocFormat=e.readShort(),this.glyphDataFormat=e.readShort()},t.prototype.encode=function(e){var t;return(t=new Nq).writeInt(this.version),t.writeInt(this.revision),t.writeInt(this.checkSumAdjustment),t.writeInt(this.magicNumber),t.writeShort(this.flags),t.writeShort(this.unitsPerEm),t.writeLongLong(this.created),t.writeLongLong(this.modified),t.writeShort(this.xMin),t.writeShort(this.yMin),t.writeShort(this.xMax),t.writeShort(this.yMax),t.writeShort(this.macStyle),t.writeShort(this.lowestRecPPEM),t.writeShort(this.fontDirectionHint),t.writeShort(e),t.writeShort(this.glyphDataFormat),t.data},t}(),Hq=function(){function e(e,t){var n,r,i,A,o,a,s,c,u,l,f,d,h,p,g,m,v;switch(this.platformID=e.readUInt16(),this.encodingID=e.readShort(),this.offset=t+e.readInt(),u=e.pos,e.pos=this.offset,this.format=e.readUInt16(),this.length=e.readUInt16(),this.language=e.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(a=0;a<256;++a)this.codeMap[a]=e.readByte();break;case 4:for(f=e.readUInt16(),l=f/2,e.pos+=6,i=function(){var t,n;for(n=[],a=t=0;0<=l?t<l:t>l;a=0<=l?++t:--t)n.push(e.readUInt16());return n}(),e.pos+=2,h=function(){var t,n;for(n=[],a=t=0;0<=l?t<l:t>l;a=0<=l?++t:--t)n.push(e.readUInt16());return n}(),s=function(){var t,n;for(n=[],a=t=0;0<=l?t<l:t>l;a=0<=l?++t:--t)n.push(e.readUInt16());return n}(),c=function(){var t,n;for(n=[],a=t=0;0<=l?t<l:t>l;a=0<=l?++t:--t)n.push(e.readUInt16());return n}(),r=(this.length-e.pos+this.offset)/2,o=function(){var t,n;for(n=[],a=t=0;0<=r?t<r:t>r;a=0<=r?++t:--t)n.push(e.readUInt16());return n}(),a=g=0,v=i.length;g<v;a=++g)for(p=i[a],n=m=d=h[a];d<=p?m<=p:m>=p;n=d<=p?++m:--m)0===c[a]?A=n+s[a]:0!==(A=o[c[a]/2+(n-d)-(l-a)]||0)&&(A+=s[a]),this.codeMap[n]=65535&A}e.pos=u}return e.encode=function(e,t){var n,r,i,A,o,a,s,c,u,l,f,d,h,p,g,m,v,b,y,w,B,C,x,F,I,E,S,Q,U,L,k,_,N,O,T,M,P,H,R,D,V,G,j,W,z,X;switch(Q=new Nq,A=Object.keys(e).sort((function(e,t){return e-t})),t){case'macroman':for(h=0,p=function(){var e=[];for(d=0;d<256;++d)e.push(0);return e}(),m={0:0},i={},U=0,N=A.length;U<N;U++)null==m[j=e[r=A[U]]]&&(m[j]=++h),i[r]={old:e[r],new:m[e[r]]},p[r]=m[e[r]];return Q.writeUInt16(1),Q.writeUInt16(0),Q.writeUInt32(12),Q.writeUInt16(0),Q.writeUInt16(262),Q.writeUInt16(0),Q.write(p),{charMap:i,subtable:Q.data,maxGlyphID:h+1};case'unicode':for(E=[],u=[],v=0,m={},n={},g=s=null,L=0,O=A.length;L<O;L++)null==m[y=e[r=A[L]]]&&(m[y]=++v),n[r]={old:y,new:m[y]},o=m[y]-r,null!=g&&o===s||(g&&u.push(g),E.push(r),s=o),g=r;for(g&&u.push(g),u.push(65535),E.push(65535),F=2*(x=E.length),C=2*Math.pow(Math.log(x)/Math.LN2,2),l=Math.log(C/2)/Math.LN2,B=2*x-C,a=[],w=[],f=[],d=k=0,T=E.length;k<T;d=++k){if(I=E[d],c=u[d],65535===I){a.push(0),w.push(0);break}if(I-(S=n[I].new)>=32768)for(a.push(0),w.push(2*(f.length+x-d)),r=_=I;I<=c?_<=c:_>=c;r=I<=c?++_:--_)f.push(n[r].new);else a.push(S-I),w.push(0)}for(Q.writeUInt16(3),Q.writeUInt16(1),Q.writeUInt32(12),Q.writeUInt16(4),Q.writeUInt16(16+8*x+2*f.length),Q.writeUInt16(0),Q.writeUInt16(F),Q.writeUInt16(C),Q.writeUInt16(l),Q.writeUInt16(B),V=0,M=u.length;V<M;V++)r=u[V],Q.writeUInt16(r);for(Q.writeUInt16(0),G=0,P=E.length;G<P;G++)r=E[G],Q.writeUInt16(r);for(W=0,H=a.length;W<H;W++)o=a[W],Q.writeUInt16(o);for(z=0,R=w.length;z<R;z++)b=w[z],Q.writeUInt16(b);for(X=0,D=f.length;X<D;X++)h=f[X],Q.writeUInt16(h);return{charMap:n,subtable:Q.data,maxGlyphID:v+1}}},e}(),Rq=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Mq(t,_q),t.prototype.tag='cmap',t.prototype.parse=function(e){var t,n,r;for(e.pos=this.offset,this.version=e.readUInt16(),r=e.readUInt16(),this.tables=[],this.unicode=null,n=0;0<=r?n<r:n>r;n=0<=r?++n:--n)t=new Hq(e,this.offset),this.tables.push(t),t.isUnicode&&null==this.unicode&&(this.unicode=t);return!0},t.encode=function(e,t){var n,r;return null==t&&(t='macroman'),n=Hq.encode(e,t),(r=new Nq).writeUInt16(0),r.writeUInt16(1),n.table=r.data.concat(n.subtable),n},t}(),Dq=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Mq(t,_q),t.prototype.tag='hhea',t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.ascender=e.readShort(),this.decender=e.readShort(),this.lineGap=e.readShort(),this.advanceWidthMax=e.readShort(),this.minLeftSideBearing=e.readShort(),this.minRightSideBearing=e.readShort(),this.xMaxExtent=e.readShort(),this.caretSlopeRise=e.readShort(),this.caretSlopeRun=e.readShort(),this.caretOffset=e.readShort(),e.pos+=8,this.metricDataFormat=e.readShort(),this.numberOfMetrics=e.readUInt16()},t}(),Vq=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Mq(t,_q),t.prototype.tag='OS/2',t.prototype.parse=function(e){if(e.pos=this.offset,this.version=e.readUInt16(),this.averageCharWidth=e.readShort(),this.weightClass=e.readUInt16(),this.widthClass=e.readUInt16(),this.type=e.readShort(),this.ySubscriptXSize=e.readShort(),this.ySubscriptYSize=e.readShort(),this.ySubscriptXOffset=e.readShort(),this.ySubscriptYOffset=e.readShort(),this.ySuperscriptXSize=e.readShort(),this.ySuperscriptYSize=e.readShort(),this.ySuperscriptXOffset=e.readShort(),this.ySuperscriptYOffset=e.readShort(),this.yStrikeoutSize=e.readShort(),this.yStrikeoutPosition=e.readShort(),this.familyClass=e.readShort(),this.panose=function(){var t,n;for(n=[],t=0;t<10;++t)n.push(e.readByte());return n}(),this.charRange=function(){var t,n;for(n=[],t=0;t<4;++t)n.push(e.readInt());return n}(),this.vendorID=e.readString(4),this.selection=e.readShort(),this.firstCharIndex=e.readShort(),this.lastCharIndex=e.readShort(),this.version>0&&(this.ascent=e.readShort(),this.descent=e.readShort(),this.lineGap=e.readShort(),this.winAscent=e.readShort(),this.winDescent=e.readShort(),this.codePageRange=function(){var t,n;for(n=[],t=0;t<2;t=++t)n.push(e.readInt());return n}(),this.version>1))return this.xHeight=e.readShort(),this.capHeight=e.readShort(),this.defaultChar=e.readShort(),this.breakChar=e.readShort(),this.maxContext=e.readShort()},t}(),Gq=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Mq(t,_q),t.prototype.tag='post',t.prototype.parse=function(e){var t,n,r;switch(e.pos=this.offset,this.format=e.readInt(),this.italicAngle=e.readInt(),this.underlinePosition=e.readShort(),this.underlineThickness=e.readShort(),this.isFixedPitch=e.readInt(),this.minMemType42=e.readInt(),this.maxMemType42=e.readInt(),this.minMemType1=e.readInt(),this.maxMemType1=e.readInt(),this.format){case 65536:case 196608:break;case 131072:var i;for(n=e.readUInt16(),this.glyphNameIndex=[],i=0;0<=n?i<n:i>n;i=0<=n?++i:--i)this.glyphNameIndex.push(e.readUInt16());for(this.names=[],r=[];e.pos<this.offset+this.length;)t=e.readByte(),r.push(this.names.push(e.readString(t)));return r;case 151552:return n=e.readUInt16(),this.offsets=e.read(n);case 262144:return this.map=function(){var t,n,r;for(r=[],i=t=0,n=this.file.maxp.numGlyphs;0<=n?t<n:t>n;i=0<=n?++t:--t)r.push(e.readUInt32());return r}.call(this)}},t}(),jq=function(e,t){this.raw=e,this.length=e.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},Wq=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Mq(t,_q),t.prototype.tag='name',t.prototype.parse=function(e){var t,n,r,i,A,o,a,s,c,u,l;for(e.pos=this.offset,e.readShort(),t=e.readShort(),o=e.readShort(),n=[],i=0;0<=t?i<t:i>t;i=0<=t?++i:--i)n.push({platformID:e.readShort(),encodingID:e.readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:this.offset+o+e.readShort()});for(a={},i=c=0,u=n.length;c<u;i=++c)r=n[i],e.pos=r.offset,s=e.readString(r.length),A=new jq(s,r),null==a[l=r.nameID]&&(a[l]=[]),a[r.nameID].push(A);this.strings=a,this.copyright=a[0],this.fontFamily=a[1],this.fontSubfamily=a[2],this.uniqueSubfamily=a[3],this.fontName=a[4],this.version=a[5];try{this.postscriptName=a[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,'')}catch(e){this.postscriptName=a[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,'')}return this.trademark=a[7],this.manufacturer=a[8],this.designer=a[9],this.description=a[10],this.vendorUrl=a[11],this.designerUrl=a[12],this.license=a[13],this.licenseUrl=a[14],this.preferredFamily=a[15],this.preferredSubfamily=a[17],this.compatibleFull=a[18],this.sampleText=a[19]},t}(),zq=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Mq(t,_q),t.prototype.tag='maxp',t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.numGlyphs=e.readUInt16(),this.maxPoints=e.readUInt16(),this.maxContours=e.readUInt16(),this.maxCompositePoints=e.readUInt16(),this.maxComponentContours=e.readUInt16(),this.maxZones=e.readUInt16(),this.maxTwilightPoints=e.readUInt16(),this.maxStorage=e.readUInt16(),this.maxFunctionDefs=e.readUInt16(),this.maxInstructionDefs=e.readUInt16(),this.maxStackElements=e.readUInt16(),this.maxSizeOfInstructions=e.readUInt16(),this.maxComponentElements=e.readUInt16(),this.maxComponentDepth=e.readUInt16()},t}(),Xq=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Mq(t,_q),t.prototype.tag='hmtx',t.prototype.parse=function(e){var t,n,r,i,A,o,a;for(e.pos=this.offset,this.metrics=[],t=0,o=this.file.hhea.numberOfMetrics;0<=o?t<o:t>o;t=0<=o?++t:--t)this.metrics.push({advance:e.readUInt16(),lsb:e.readInt16()});for(r=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var n,i;for(i=[],t=n=0;0<=r?n<r:n>r;t=0<=r?++n:--n)i.push(e.readInt16());return i}(),this.widths=function(){var e,t,n,r;for(r=[],e=0,t=(n=this.metrics).length;e<t;e++)i=n[e],r.push(i.advance);return r}.call(this),n=this.widths[this.widths.length-1],a=[],t=A=0;0<=r?A<r:A>r;t=0<=r?++A:--A)a.push(this.widths.push(n));return a},t.prototype.forGlyph=function(e){return e in this.metrics?this.metrics[e]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[e-this.metrics.length]}},t}(),Kq=[].slice,qq=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Mq(t,_q),t.prototype.tag='glyf',t.prototype.parse=function(){return this.cache={}},t.prototype.glyphFor=function(e){var t,n,r,i,A,o,a,s,c,u;return e in this.cache?this.cache[e]:(i=this.file.loca,t=this.file.contents,n=i.indexOf(e),0===(r=i.lengthOf(e))?this.cache[e]=null:(t.pos=this.offset+n,A=(o=new Nq(t.read(r))).readShort(),s=o.readShort(),u=o.readShort(),a=o.readShort(),c=o.readShort(),this.cache[e]=-1===A?new Zq(o,s,u,a,c):new Yq(o,A,s,u,a,c),this.cache[e]))},t.prototype.encode=function(e,t,n){var r,i,A,o,a;for(A=[],i=[],o=0,a=t.length;o<a;o++)r=e[t[o]],i.push(A.length),r&&(A=A.concat(r.encode(n)));return i.push(A.length),{table:A,offsets:i}},t}(),Yq=function(){function e(e,t,n,r,i,A){this.raw=e,this.numberOfContours=t,this.xMin=n,this.yMin=r,this.xMax=i,this.yMax=A,this.compound=!1}return e.prototype.encode=function(){return this.raw.data},e}(),Zq=function(){function e(e,t,n,r,i){var A,o;for(this.raw=e,this.xMin=t,this.yMin=n,this.xMax=r,this.yMax=i,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],A=this.raw;o=A.readShort(),this.glyphOffsets.push(A.pos),this.glyphIDs.push(A.readUInt16()),32&o;)A.pos+=1&o?4:2,128&o?A.pos+=8:64&o?A.pos+=4:8&o&&(A.pos+=2)}return e.prototype.encode=function(){var e,t,n;for(t=new Nq(Kq.call(this.raw.data)),e=0,n=this.glyphIDs.length;e<n;++e)t.pos=this.glyphOffsets[e];return t.data},e}(),Jq=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Mq(t,_q),t.prototype.tag='loca',t.prototype.parse=function(e){var t,n;return e.pos=this.offset,t=this.file.head.indexToLocFormat,this.offsets=0===t?function(){var t,r;for(r=[],n=0,t=this.length;n<t;n+=2)r.push(2*e.readUInt16());return r}.call(this):function(){var t,r;for(r=[],n=0,t=this.length;n<t;n+=4)r.push(e.readUInt32());return r}.call(this)},t.prototype.indexOf=function(e){return this.offsets[e]},t.prototype.lengthOf=function(e){return this.offsets[e+1]-this.offsets[e]},t.prototype.encode=function(e,t){for(var n=new Uint32Array(this.offsets.length),r=0,i=0,A=0;A<n.length;++A)if(n[A]=r,i<t.length&&t[i]==A){++i,n[A]=r;var o=this.offsets[A],a=this.offsets[A+1]-o;a>0&&(r+=a)}for(var s=new Array(4*n.length),c=0;c<n.length;++c)s[4*c+3]=255&n[c],s[4*c+2]=(65280&n[c])>>8,s[4*c+1]=(16711680&n[c])>>16,s[4*c]=(4278190080&n[c])>>24;return s},t}(),$q=function(){function e(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return e.prototype.generateCmap=function(){var e,t,n,r,i;for(t in r=this.font.cmap.tables[0].codeMap,e={},i=this.subset)n=i[t],e[t]=r[n];return e},e.prototype.glyphsFor=function(e){var t,n,r,i,A,o,a;for(r={},A=0,o=e.length;A<o;A++)r[i=e[A]]=this.font.glyf.glyphFor(i);for(i in t=[],r)(null!=(n=r[i])?n.compound:void 0)&&t.push.apply(t,n.glyphIDs);if(t.length>0)for(i in a=this.glyphsFor(t))n=a[i],r[i]=n;return r},e.prototype.encode=function(e,t){var n,r,i,A,o,a,s,c,u,l,f,d,h,p,g;for(r in n=Rq.encode(this.generateCmap(),'unicode'),A=this.glyphsFor(e),f={0:0},g=n.charMap)f[(a=g[r]).old]=a.new;for(d in l=n.maxGlyphID,A)d in f||(f[d]=l++);return c=function(e){var t,n;for(t in n={},e)n[e[t]]=t;return n}(f),u=Object.keys(c).sort((function(e,t){return e-t})),h=function(){var e,t,n;for(n=[],e=0,t=u.length;e<t;e++)o=u[e],n.push(c[o]);return n}(),i=this.font.glyf.encode(A,h,f),s=this.font.loca.encode(i.offsets,h),p={cmap:this.font.cmap.raw(),glyf:i.table,loca:s,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(t)},this.font.os2.exists&&(p['OS/2']=this.font.os2.raw()),this.font.directory.encode(p)},e}();gK.API.PDFObject=function(){var e;function t(){}return e=function(e,t){return(Array(t+1).join('0')+e).slice(-t)},t.convert=function(n){var r,i,A,o;if(Array.isArray(n))return'['+function(){var e,i,A;for(A=[],e=0,i=n.length;e<i;e++)r=n[e],A.push(t.convert(r));return A}().join(' ')+']';if('string'==typeof n)return'/'+n;if(null!=n?n.isString:void 0)return'('+n+')';if(n instanceof Date)return'(D:'+e(n.getUTCFullYear(),4)+e(n.getUTCMonth(),2)+e(n.getUTCDate(),2)+e(n.getUTCHours(),2)+e(n.getUTCMinutes(),2)+e(n.getUTCSeconds(),2)+'Z)';if('[object Object]'==={}.toString.call(n)){for(i in A=['<<'],n)o=n[i],A.push('/'+i+' '+t.convert(o));return A.push('>>'),A.join('\n')}return''+n},t}();const eY=3.77952755906;let tY;var nY;let rY;var iY;(nY=tY||(tY={}))[nY.LOW=1]='LOW',nY[nY.NORMAL=2]='NORMAL',nY[nY.MEDIUM=3]='MEDIUM',nY[nY.HIGH=7]='HIGH',nY[nY.EXTREME=12]='EXTREME',(iY=rY||(rY={}))[iY.NONE=0]='NONE',iY[iY.SMALL=5]='SMALL',iY[iY.MEDIUM=10]='MEDIUM',iY[iY.LARGE=25]='LARGE';const AY={method:'save',resolution:tY.MEDIUM,page:{margin:rY.NONE,format:'A4',orientation:'portrait'},canvas:{mimeType:'image/jpeg',qualityRatio:1,useCORS:!0,logging:!1},overrides:{}};class oY{constructor(e,t){this.canvas=e,this.options=t,this.pdf=new gK({format:this.options.page.format,orientation:this.options.page.orientation,...this.options.overrides?.pdf,unit:'mm'})}getMarginTopMM(){const e='object'==typeof this.options.page.margin?this.options.page.margin.top:this.options.page.margin;return Number(e)}getMarginLeftMM(){const e='object'==typeof this.options.page.margin?this.options.page.margin.left:this.options.page.margin;return Number(e)}getMarginRightMM(){const e='object'==typeof this.options.page.margin?this.options.page.margin.right:this.options.page.margin;return Number(e)}getMarginBottomMM(){const e='object'==typeof this.options.page.margin?this.options.page.margin.bottom:this.options.page.margin;return Number(e)}getMarginTop(){return this.getMarginTopMM()*eY}getMarginBottom(){return this.getMarginBottomMM()*eY}getMarginLeft(){return this.getMarginLeftMM()*eY}getMarginRight(){return this.getMarginRightMM()*eY}getScale(){return this.options.resolution}getPageHeight(){return this.getPageHeightMM()*eY}getPageHeightMM(){return this.pdf.internal.pageSize.height}getPageWidthMM(){return this.pdf.internal.pageSize.width}getPageWidth(){return this.getPageWidthMM()*eY}getOriginalCanvasWidth(){return this.canvas.width/this.getScale()}getOriginalCanvasHeight(){return this.canvas.height/this.getScale()}getCanvasPageAvailableHeight(){return this.getPageAvailableHeight()*this.getScale()*this.getHorizontalFitFactor()}getPageAvailableWidth(){return this.getPageWidth()-(this.getMarginLeft()+this.getMarginRight())}getPageAvailableHeight(){return this.getPageHeight()-(this.getMarginTop()+this.getMarginBottom())}getPageAvailableWidthMM(){return this.getPageAvailableWidth()/eY}getPageAvailableHeightMM(){return this.getPageAvailableHeight()/eY}getNumberPages(){return Math.ceil(this.canvas.height/this.getCanvasPageAvailableHeight())}getHorizontalFitFactor(){return this.getPageAvailableWidth()<this.getOriginalCanvasWidth()?this.getOriginalCanvasWidth()/this.getPageAvailableWidth():1}getCanvasOffsetY(e){return this.getCanvasPageAvailableHeight()*(e-1)}getCanvasHeightLeft(e){return this.canvas.height-this.getCanvasOffsetY(e)}getCanvasPageHeight(e){if(this.canvas.height<this.getCanvasPageAvailableHeight())return this.canvas.height;const t=this.getCanvasHeightLeft(e);return t<this.getCanvasPageAvailableHeight()?t:this.getCanvasPageAvailableHeight()}getCanvasPageWidth(){return this.canvas.width}createCanvasPage(e){const t=this.getCanvasPageWidth(),n=this.getCanvasPageHeight(e),r=document.createElement('canvas');r.setAttribute('width',String(t)),r.setAttribute('height',String(n));return r.getContext('2d').drawImage(this.canvas,0,this.getCanvasOffsetY(e),this.canvas.width,n,0,0,this.canvas.width,n),r}convert(){let e=1;const t=this.getNumberPages();for(;e<=t;){e>1&&this.pdf.addPage(this.options.page.format,this.options.page.orientation);const t=this.createCanvasPage(e),n=t.toDataURL(this.options.canvas.mimeType,this.options.canvas.qualityRatio);this.pdf.setPage(e),this.pdf.addImage({imageData:n,width:t.width/(this.getScale()*eY*this.getHorizontalFitFactor()),height:t.height/(this.getScale()*eY*this.getHorizontalFitFactor()),x:this.getMarginLeftMM(),y:this.getMarginTopMM()}),e+=1}return this.pdf}}var aY,sY,cY,uY,lY,fY,dY,hY=async(e,t)=>{const n=(e=>e?{...AY,...e,canvas:{...AY.canvas,...e.canvas},page:{...AY.page,...e.page}}:AY)(t),r=(e=>'function'==typeof e?e():e?.current)(e);if(!r)return;const i=await Wz(r,{useCORS:n.canvas.useCORS,logging:n.canvas.logging,scale:n.resolution,...n.overrides?.canvas}),A=new oY(i,n).convert();switch(n.method){case'build':return A;case'open':return window.open(A.output('bloburl'),'_blank'),A;default:{const e=n.filename??`${(new Date).getTime()}.pdf`;return await A.save(e,{returnPromise:!0}),A}}},pY=function(e){var A=e.conversationID,o=e.isNew,a=e.handleSetConversationInfo,s=e.category,c=xe(),u=r(''),l=u[0],f=u[1],d=r([]),h=d[0],p=d[1],g=n(null),m=n(null),v=Le({queryKey:['conversations',A],queryFn:function(){return function(e){return Ne(void 0,void 0,void 0,(function(){return Oe(this,(function(t){switch(t.label){case 0:return[4,XT.get('/chat/conversation/'.concat(e,'/history/'))];case 1:return[2,t.sent().data]}}))}))}(A)},enabled:!1,onSuccess:function(e){e.map((function(e){p((function(t){var n;return Te(Te([],t,!0),[{from:'user',text:e.question},{from:'bot',text:e.response.result,chartData:null===(n=e.response)||void 0===n?void 0:n.chart_metadata,chatID:e.id,like:e.like,dislike:e.dislike}],!1)}))}))},onError:function(e){}}),b=v.isLoading,y=v.status,w=v.error,B=v.refetch;i((function(){p([]),B()}),[A]),i((function(){C()}),[h]);var C=function(){g.current&&(g.current.scrollTop=g.current.scrollHeight)},x=Ue({mutationFn:qT,onSuccess:function(e){c.invalidateQueries('conversations'),!e.error&&e.result&&0!==Object.keys(e.result).length?(p((function(t){return Te(Te([],t,!0),[{from:'bot',text:e.result,chartData:null==e?void 0:e.chart_metadata,chatID:null==e?void 0:e.id}],!1)})),o&&a({conversationID:A,isNew:!1})):p((function(t){return Te(Te([],t,!0),[{from:'error',text:e.error}],!1)}))}});if('loading'===y)return t.createElement('div',{className:'vu-flex vu-h-full vu-justify-center vu-items-center'},t.createElement(wH,{color:'#000',loading:b,size:75,'aria-label':'Loading Spinner','data-testid':'loader'}));if('error'===y)return t.createElement('h1',null,JSON.stringify(w));return t.createElement(t.Fragment,null,t.createElement(mP,{ref:g},t.createElement(gP,null,0===h.length?t.createElement(FH,null):t.createElement(t.Fragment,null,t.createElement(bP,{ref:m},h.map((function(e,n){return'user'===e.from?t.createElement(CP,{key:n,question:e.text}):t.createElement(pP,{key:n,answer:e.text,chartData:null==e?void 0:e.chartData,chatID:null==e?void 0:e.chatID,onError:'error'===e.from,like:e.like,dislike:e.dislike})}))),x.isLoading?t.createElement(sH,null):t.createElement(RP,{handleClickDownloadConversation:function(){hY(m,{filename:'conversation.pdf'})}})))),t.createElement(vP,null,t.createElement(SP,{value:l,placeholder:'Enter Question Here',onChange:function(e){return f(e.target.value)},onClickTextAreaButton:function(){0!==l.length&&(x.mutate({category:s,question:l,conversationID:A}),p((function(e){return Te(Te([],e,!0),[{from:'user',text:l}],!1)})),f(''))},disableTextAreaButton:x.isLoading||0===l.length})))},gY=Tt.div(aY||(aY=Me(['\n vu-flex\n vu-flex-col\n vu-text-left\n vu-grow\n'],['\n vu-flex\n vu-flex-col\n vu-text-left\n vu-grow\n']))),mY=Tt.div(sY||(sY=Me(['\n vu-my-2\n vu-grow\n vu-overflow-y-auto\n vu-h-32\n'],['\n vu-my-2\n vu-grow\n vu-overflow-y-auto\n vu-h-32\n']))),vY=Tt.div(cY||(cY=Me(['\n vu-flex\n vu-justify-between\n vu-items-center\n vu-p-1.5\n ','\n'],['\n vu-flex\n vu-justify-between\n vu-items-center\n vu-p-1.5\n ','\n'])),(function(e){return e.isSelected?'\n vu-bg-gainsboro\n dark:vu-bg-dark_mode-500\n ':'vu-bg-white dark:vu-bg-dark_mode-600'})),bY=Tt.div(uY||(uY=Me(['\n vu-flex\n vu-items-center\n vu-overflow-x-hidden\n'],['\n vu-flex\n vu-items-center\n vu-overflow-x-hidden\n']))),yY=Tt.span(lY||(lY=Me(['\n vu-mr-2\n'],['\n vu-mr-2\n']))),wY=Tt.div(fY||(fY=Me(['\n vu-truncate\n vu-text-sm\n vu-text-center\n vu-cursor-pointer\n'],['\n vu-truncate\n vu-text-sm\n vu-text-center\n vu-cursor-pointer\n']))),BY=Tt(WT)(dY||(dY=Me(['\n vu-z-10\n'],['\n vu-z-10\n']))),CY=Tt.div(FY||(FY=Me(['\n vu-flex\n'],['\n vu-flex\n']))),xY=Tt.div(IY||(IY=Me(['\n vu-flex\n vu-flex-col\n vu-gap-4\n vu-grow\n'],['\n vu-flex\n vu-flex-col\n vu-gap-4\n vu-grow\n'])));Tt.div(EY||(EY=Me(['\n vu-flex\n vu-justify-between\n vu-mb-10\n'],['\n vu-flex\n vu-justify-between\n vu-mb-10\n']))),Tt.div(SY||(SY=Me(['\n vu-flex\n vu-items-center\n'],['\n vu-flex\n vu-items-center\n'])));var FY,IY,EY,SY,QY,UY,LY,kY,_Y,NY,OY,TY,MY,PY,HY=Tt.div(QY||(QY=Me(['\n vu-flex\n vu-h-full\n'],['\n vu-flex\n vu-h-full\n']))),RY=Tt.div(UY||(UY=Me(['\n vu-flex-col\n lg:vu-flex\n lg:vu-relative\n vu-absolute\n vu-inset-0\n vu-h-full\n vu-z-10\n vu-bg-white\n dark:vu-bg-dark_mode-600\n lg:vu-p-0\n vu-p-6\n vu-gap-2\n ','\n'],['\n vu-flex-col\n lg:vu-flex\n lg:vu-relative\n vu-absolute\n vu-inset-0\n vu-h-full\n vu-z-10\n vu-bg-white\n dark:vu-bg-dark_mode-600\n lg:vu-p-0\n vu-p-6\n vu-gap-2\n ','\n'])),(function(e){return e.$isOpen?'vu-flex':'vu-hidden'})),DY=Tt.div(LY||(LY=Me(['\n vu-flex\n lg:vu-hidden\n vu-justify-end\n'],['\n vu-flex\n lg:vu-hidden\n vu-justify-end\n']))),VY=Tt.div(kY||(kY=Me(['\n vu-grow\n lg:vu-w-80\n vu-w-full\n lg:vu-pr-6\n vu-min-w-[20rem]\n'],['\n vu-grow\n lg:vu-w-80\n vu-w-full\n lg:vu-pr-6\n vu-min-w-[20rem]\n']))),GY=Tt.div(_Y||(_Y=Me(['\n vu-h-full\n vu-flex\n vu-flex-col\n'],['\n vu-h-full\n vu-flex\n vu-flex-col\n']))),jY=Tt.div(NY||(NY=Me(['\n vu-flex\n vu-flex-col\n vu-bg-alice_blue\n dark:vu-bg-dark_mode-500\n vu-relative\n vu-py-10\n vu-grow\n'],['\n vu-flex\n vu-flex-col\n vu-bg-alice_blue\n dark:vu-bg-dark_mode-500\n vu-relative\n vu-py-10\n vu-grow\n']))),WY=Tt.div(OY||(OY=Me(['\n vu-flex\n vu-justify-center\n vu-items-center\n vu-h-full\n'],['\n vu-flex\n vu-justify-center\n vu-items-center\n vu-h-full\n']))),zY=Tt.div(TY||(TY=Me(['\n vu-flex\n vu-items-center\n vu-mb-2\n lg:vu-pr-6\n'],['\n vu-flex\n vu-items-center\n vu-mb-2\n lg:vu-pr-6\n']))),XY=Tt.div(MY||(MY=Me(['\n vu-grow\n'],['\n vu-grow\n']))),KY=Tt.div(PY||(PY=Me(['\n vu-mr-2\n'],['\n vu-mr-2\n'])));var qY=function(e){var n=e.handleSetConversationInfo,A=e.searchQuery,o=e.currentConversationInfo,a=r([]),s=a[0],c=a[1],u=xe(),l=Le({queryKey:'conversations',queryFn:function(){return Ne(void 0,void 0,void 0,(function(){return Oe(this,(function(e){switch(e.label){case 0:return[4,XT.get('/chat/conversation/')];case 1:return[2,e.sent().data]}}))}))},enabled:!1}),f=l.isLoading,d=l.status,h=l.data,p=l.refetch;i((function(){var e=function(e,t){return e.filter((function(e){return e.chat_info[0].question.toLowerCase().includes(t.toLowerCase())}))}(null!=h?h:[],A);c(e)}),[h,A]),i((function(){p()}),[o]);var g=Ue({mutationFn:YT,onSuccess:function(e,t){u.invalidateQueries(['conversations',t]),n(),u.invalidateQueries('conversations')}});return'loading'===d?t.createElement(WY,null,t.createElement(wH,{color:'#000',loading:f,size:25,'aria-label':'Loading Spinner','data-testid':'loader'})):'error'===d?t.createElement('h1',null,'Error in Loading Recent Conversations'):t.createElement(gY,null,t.createElement('div',null,'Recent Conversations'),t.createElement(mY,null,null==s?void 0:s.map((function(e,r){return t.createElement(vY,{key:r,isSelected:(null==o?void 0:o.conversationID)===e.id,onClick:function(){return n({conversationID:e.id,isNew:!1})},'data-tooltip-id':'question-tooltip','data-tooltip-content':e.chat_info[0].question},t.createElement(bY,null,t.createElement(yY,null,t.createElement(hn,{svg:_P})),t.createElement(wY,null,e.chat_info[0].question)),(null==o?void 0:o.conversationID)===e.id&&t.createElement(yY,null,t.createElement(gn,{name:'delete',icon:'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M20.1%2C5.6h-3.5v-.8c0-1.54-1.26-2.8-2.8-2.8h-3.6c-1.54%2C0-2.8%2C1.26-2.8%2C2.8v.8H3.9c-.55%2C0-1%2C.45-1%2C1s.45%2C1%2C1%2C1h.8v11.6c0%2C1.54%2C1.26%2C2.8%2C2.8%2C2.8h9c1.54%2C0%2C2.8-1.26%2C2.8-2.8V7.6h.8c.55%2C0%2C1-.45%2C1-1s-.45-1-1-1Zm-10.7-.8c0-.44%2C.36-.8%2C.8-.8h3.6c.44%2C0%2C.8%2C.36%2C.8%2C.8v.8h-5.2v-.8Zm7.9%2C14.4c0%2C.44-.36%2C.8-.8%2C.8H7.5c-.44%2C0-.8-.36-.8-.8V7.6h10.6v11.6Z%22%2F%3E%3Cpath%20d%3D%22M10.2%2C10.1c-.55%2C0-1%2C.45-1%2C1v5.4c0%2C.55%2C.45%2C1%2C1%2C1s1-.45%2C1-1v-5.4c0-.55-.45-1-1-1Z%22%2F%3E%3Cpath%20d%3D%22M13.8%2C10.1c-.55%2C0-1%2C.45-1%2C1v5.4c0%2C.55%2C.45%2C1%2C1%2C1s1-.45%2C1-1v-5.4c0-.55-.45-1-1-1Z%22%2F%3E%3C%2Fsvg%3E',disabled:g.isLoading,onClick:function(t){t.stopPropagation(),g.mutate(e.id)}})))}))),t.createElement(BY,{id:'question-tooltip'}))};function YY(e){var t=function(e,t){if('object'!==qz(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||'default');if('object'!==qz(r))return r;throw new TypeError('@@toPrimitive must return a primitive value.')}return('string'===t?String:Number)(e)}(e,'string');return'symbol'===qz(t)?t:String(t)}function ZY(e,t,n){return(t=YY(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function JY(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $Y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?JY(Object(n),!0).forEach((function(t){ZY(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):JY(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function eZ(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function tZ(e,t){if(e){if('string'==typeof e)return eZ(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return'Object'===n&&e.constructor&&(n=e.constructor.name),'Map'===n||'Set'===n?Array.from(e):'Arguments'===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?eZ(e,t):void 0}}function nZ(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:'undefined'!=typeof Symbol&&e[Symbol.iterator]||e['@@iterator'];if(null!=n){var r,i,A,o,a=[],s=!0,c=!1;try{if(A=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=A.call(n)).done)&&(a.push(r.value),a.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return a}}(e,t)||tZ(e,t)||function(){throw new TypeError('Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.')}()}function rZ(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},A=Object.keys(e);for(r=0;r<A.length;r++)n=A[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(e);for(r=0;r<A.length;r++)n=A[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var iZ=['defaultInputValue','defaultMenuIsOpen','defaultValue','inputValue','menuIsOpen','onChange','onInputChange','onMenuClose','onMenuOpen','value'];function AZ(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,'value'in r&&(r.writable=!0),Object.defineProperty(e,YY(r.key),r)}}function oZ(e){return oZ=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},oZ(e)}function aZ(e,t){if(t&&('object'===qz(t)||'function'==typeof t))return t;if(void 0!==t)throw new TypeError('Derived constructors may only return object or undefined');return function(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}(e)}function sZ(e){var t=function(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=oZ(e);if(t){var i=oZ(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return aZ(this,n)}}function cZ(e){return function(e){if(Array.isArray(e))return eZ(e)}(e)||function(e){if('undefined'!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e['@@iterator'])return Array.from(e)}(e)||tZ(e)||function(){throw new TypeError('Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.')}()}var uZ=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy?'production'===process.env.NODE_ENV:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement('style');return t.setAttribute('data-emotion',e.key),void 0!==e.nonce&&t.setAttribute('nonce',e.nonce),t.appendChild(document.createTextNode('')),t.setAttribute('data-s',''),t}(this));var t=this.tags[this.tags.length-1];if('production'!==process.env.NODE_ENV){var n=64===e.charCodeAt(0)&&105===e.charCodeAt(1);n&&this._alreadyInsertedOrderInsensitiveRule,this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!n}if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(t){'production'!==process.env.NODE_ENV&&/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(e)}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0,'production'!==process.env.NODE_ENV&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),lZ='-ms-',fZ='-moz-',dZ='-webkit-',hZ='comm',pZ='rule',gZ='decl',mZ='@keyframes',vZ=Math.abs,bZ=String.fromCharCode,yZ=Object.assign;function wZ(e){return e.trim()}function BZ(e,t,n){return e.replace(t,n)}function CZ(e,t){return e.indexOf(t)}function xZ(e,t){return 0|e.charCodeAt(t)}function FZ(e,t,n){return e.slice(t,n)}function IZ(e){return e.length}function EZ(e){return e.length}function SZ(e,t){return t.push(e),e}var QZ=1,UZ=1,LZ=0,kZ=0,_Z=0,NZ='';function OZ(e,t,n,r,i,A,o){return{value:e,root:t,parent:n,type:r,props:i,children:A,line:QZ,column:UZ,length:o,return:''}}function TZ(e,t){return yZ(OZ('',null,null,'',null,null,0),e,{length:-e.length},t)}function MZ(){return _Z=kZ>0?xZ(NZ,--kZ):0,UZ--,10===_Z&&(UZ=1,QZ--),_Z}function PZ(){return _Z=kZ<LZ?xZ(NZ,kZ++):0,UZ++,10===_Z&&(UZ=1,QZ++),_Z}function HZ(){return xZ(NZ,kZ)}function RZ(){return kZ}function DZ(e,t){return FZ(NZ,e,t)}function VZ(e){switch(e){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 GZ(e){return QZ=UZ=1,LZ=IZ(NZ=e),kZ=0,[]}function jZ(e){return NZ='',e}function WZ(e){return wZ(DZ(kZ-1,KZ(91===e?e+2:40===e?e+1:e)))}function zZ(e){for(;(_Z=HZ())&&_Z<33;)PZ();return VZ(e)>2||VZ(_Z)>3?'':' '}function XZ(e,t){for(;--t&&PZ()&&!(_Z<48||_Z>102||_Z>57&&_Z<65||_Z>70&&_Z<97););return DZ(e,RZ()+(t<6&&32==HZ()&&32==PZ()))}function KZ(e){for(;PZ();)switch(_Z){case e:return kZ;case 34:case 39:34!==e&&39!==e&&KZ(_Z);break;case 40:41===e&&KZ(e);break;case 92:PZ()}return kZ}function qZ(e,t){for(;PZ()&&e+_Z!==57&&(e+_Z!==84||47!==HZ()););return'/*'+DZ(t,kZ-1)+'*'+bZ(47===e?e:PZ())}function YZ(e){for(;!VZ(HZ());)PZ();return DZ(e,kZ)}function ZZ(e){return jZ(JZ('',null,null,null,[''],e=GZ(e),0,[0],e))}function JZ(e,t,n,r,i,A,o,a,s){for(var c=0,u=0,l=o,f=0,d=0,h=0,p=1,g=1,m=1,v=0,b='',y=i,w=A,B=r,C=b;g;)switch(h=v,v=PZ()){case 40:if(108!=h&&58==xZ(C,l-1)){-1!=CZ(C+=BZ(WZ(v),'&','&\f'),'&\f')&&(m=-1);break}case 34:case 39:case 91:C+=WZ(v);break;case 9:case 10:case 13:case 32:C+=zZ(h);break;case 92:C+=XZ(RZ()-1,7);continue;case 47:switch(HZ()){case 42:case 47:SZ(eJ(qZ(PZ(),RZ()),t,n),s);break;default:C+='/'}break;case 123*p:a[c++]=IZ(C)*m;case 125*p:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==m&&(C=BZ(C,/\f/g,'')),d>0&&IZ(C)-l&&SZ(d>32?tJ(C+';',r,n,l-1):tJ(BZ(C,' ','')+';',r,n,l-2),s);break;case 59:C+=';';default:if(SZ(B=$Z(C,t,n,c,u,i,a,b,y=[],w=[],l),A),123===v)if(0===u)JZ(C,t,B,B,y,A,l,a,w);else switch(99===f&&110===xZ(C,3)?100:f){case 100:case 108:case 109:case 115:JZ(e,B,B,r&&SZ($Z(e,B,B,0,0,i,a,b,i,y=[],l),w),i,w,l,a,r?y:w);break;default:JZ(C,B,B,B,[''],w,0,a,w)}}c=u=d=0,p=m=1,b=C='',l=o;break;case 58:l=1+IZ(C),d=h;default:if(p<1)if(123==v)--p;else if(125==v&&0==p++&&125==MZ())continue;switch(C+=bZ(v),v*p){case 38:m=u>0?1:(C+='\f',-1);break;case 44:a[c++]=(IZ(C)-1)*m,m=1;break;case 64:45===HZ()&&(C+=WZ(PZ())),f=HZ(),u=l=IZ(b=C+=YZ(RZ())),v++;break;case 45:45===h&&2==IZ(C)&&(p=0)}}return A}function $Z(e,t,n,r,i,A,o,a,s,c,u){for(var l=i-1,f=0===i?A:[''],d=EZ(f),h=0,p=0,g=0;h<r;++h)for(var m=0,v=FZ(e,l+1,l=vZ(p=o[h])),b=e;m<d;++m)(b=wZ(p>0?f[m]+' '+v:BZ(v,/&\f/g,f[m])))&&(s[g++]=b);return OZ(e,t,n,0===i?pZ:a,s,c,u)}function eJ(e,t,n){return OZ(e,t,n,hZ,bZ(_Z),FZ(e,2,-2),0)}function tJ(e,t,n,r){return OZ(e,t,n,gZ,FZ(e,0,r),FZ(e,r+1,-1),r)}function nJ(e,t){for(var n='',r=EZ(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||'';return n}function rJ(e,t,n,r){switch(e.type){case'@layer':if(e.children.length)break;case'@import':case gZ:return e.return=e.return||e.value;case hZ:return'';case mZ:return e.return=e.value+'{'+nJ(e.children,r)+'}';case pZ:e.value=e.props.join(',')}return IZ(n=nJ(e.children,r))?e.return=e.value+'{'+n+'}':''}function iJ(e){var t=EZ(e);return function(n,r,i,A){for(var o='',a=0;a<t;a++)o+=e[a](n,r,i,A)||'';return o}}function AJ(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var oJ=function(e,t,n){for(var r=0,i=0;r=i,i=HZ(),38===r&&12===i&&(t[n]=1),!VZ(i);)PZ();return DZ(e,kZ)},aJ=function(e,t){return jZ(function(e,t){var n=-1,r=44;do{switch(VZ(r)){case 0:38===r&&12===HZ()&&(t[n]=1),e[n]+=oJ(kZ-1,t,n);break;case 2:e[n]+=WZ(r);break;case 4:if(44===r){e[++n]=58===HZ()?'&\f':'',t[n]=e[n].length;break}default:e[n]+=bZ(r)}}while(r=PZ());return e}(GZ(e),t))},sJ=new WeakMap,cJ=function(e){if('rule'===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;'rule'!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||sJ.get(n))&&!r){sJ.set(e,!0);for(var i=[],A=aJ(t,i),o=n.props,a=0,s=0;a<A.length;a++)for(var c=0;c<o.length;c++,s++)e.props[s]=i[a]?A[a].replace(/&\f/g,o[c]):o[c]+' '+A[a]}}},uJ=function(e){if('decl'===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return='',e.value='')}},lJ=function(e){return'comm'===e.type&&e.children.indexOf('emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason')>-1},fJ=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},dJ=function(e){e.type='',e.value='',e.return='',e.children='',e.props=''},hJ=function(e,t,n){fJ(e)&&(e.parent||function(e,t){for(var n=e-1;n>=0;n--)if(!fJ(t[n]))return!0;return!1}(t,n))&&dJ(e)};function pJ(e,t){switch(function(e,t){return 45^xZ(e,0)?(((t<<2^xZ(e,0))<<2^xZ(e,1))<<2^xZ(e,2))<<2^xZ(e,3):0}(e,t)){case 5103:return dZ+'print-'+e+e;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 dZ+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return dZ+e+fZ+e+lZ+e+e;case 6828:case 4268:return dZ+e+lZ+e+e;case 6165:return dZ+e+lZ+'flex-'+e+e;case 5187:return dZ+e+BZ(e,/(\w+).+(:[^]+)/,dZ+'box-$1$2'+lZ+'flex-$1$2')+e;case 5443:return dZ+e+lZ+'flex-item-'+BZ(e,/flex-|-self/,'')+e;case 4675:return dZ+e+lZ+'flex-line-pack'+BZ(e,/align-content|flex-|-self/,'')+e;case 5548:return dZ+e+lZ+BZ(e,'shrink','negative')+e;case 5292:return dZ+e+lZ+BZ(e,'basis','preferred-size')+e;case 6060:return dZ+'box-'+BZ(e,'-grow','')+dZ+e+lZ+BZ(e,'grow','positive')+e;case 4554:return dZ+BZ(e,/([^-])(transform)/g,'$1'+dZ+'$2')+e;case 6187:return BZ(BZ(BZ(e,/(zoom-|grab)/,dZ+'$1'),/(image-set)/,dZ+'$1'),e,'')+e;case 5495:case 3959:return BZ(e,/(image-set\([^]*)/,dZ+'$1$`$1');case 4968:return BZ(BZ(e,/(.+:)(flex-)?(.*)/,dZ+'box-pack:$3'+lZ+'flex-pack:$3'),/s.+-b[^;]+/,'justify')+dZ+e+e;case 4095:case 3583:case 4068:case 2532:return BZ(e,/(.+)-inline(.+)/,dZ+'$1$2')+e;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(IZ(e)-1-t>6)switch(xZ(e,t+1)){case 109:if(45!==xZ(e,t+4))break;case 102:return BZ(e,/(.+:)(.+)-([^]+)/,'$1'+dZ+'$2-$3$1'+fZ+(108==xZ(e,t+3)?'$3':'$2-$3'))+e;case 115:return~CZ(e,'stretch')?pJ(BZ(e,'stretch','fill-available'),t)+e:e}break;case 4949:if(115!==xZ(e,t+1))break;case 6444:switch(xZ(e,IZ(e)-3-(~CZ(e,'!important')&&10))){case 107:return BZ(e,':',':'+dZ)+e;case 101:return BZ(e,/(.+:)([^;!]+)(;|!.+)?/,'$1'+dZ+(45===xZ(e,14)?'inline-':'')+'box$3$1'+dZ+'$2$3$1'+lZ+'$2box$3')+e}break;case 5936:switch(xZ(e,t+11)){case 114:return dZ+e+lZ+BZ(e,/[svh]\w+-[tblr]{2}/,'tb')+e;case 108:return dZ+e+lZ+BZ(e,/[svh]\w+-[tblr]{2}/,'tb-rl')+e;case 45:return dZ+e+lZ+BZ(e,/[svh]\w+-[tblr]{2}/,'lr')+e}return dZ+e+lZ+e+e}return e}var gJ='undefined'!=typeof document,mJ=gJ?void 0:function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}}((function(){return AJ((function(){var e={};return function(t){return e[t]}}))})),vJ=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case gZ:e.return=pJ(e.value,e.length);break;case mZ:return nJ([TZ(e,{value:BZ(e.value,'@','@'+dZ)})],r);case pZ:if(e.length)return function(e,t){return e.map(t).join('')}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case':read-only':case':read-write':return nJ([TZ(e,{props:[BZ(t,/:(read-\w+)/,':-moz-$1')]})],r);case'::placeholder':return nJ([TZ(e,{props:[BZ(t,/:(plac\w+)/,':'+dZ+'input-$1')]}),TZ(e,{props:[BZ(t,/:(plac\w+)/,':-moz-$1')]}),TZ(e,{props:[BZ(t,/:(plac\w+)/,lZ+'input-$1')]})],r)}return''}))}}],bJ=function(e){var t=e.key;if('production'!==process.env.NODE_ENV&&!t)throw new Error('You have to configure `key` for your cache. Please make sure it\'s unique (and not equal to \'css\') as it\'s used for linking styles to your cache.\nIf multiple caches share the same key they might "fight" for each other\'s style elements.');if(gJ&&'css'===t){var n=document.querySelectorAll('style[data-emotion]:not([data-s])');Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute('data-emotion').indexOf(' ')&&(document.head.appendChild(e),e.setAttribute('data-s',''))}))}var r=e.stylisPlugins||vJ;if('production'!==process.env.NODE_ENV&&/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var i,A,o={},a=[];gJ&&(i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute('data-emotion').split(' '),n=1;n<t.length;n++)o[t[n]]=!0;a.push(e)})));var s,c=[cJ,uJ];if('production'!==process.env.NODE_ENV&&c.push(function(e){return function(t,n,r){if('rule'===t.type&&!e.compat){var i=t.value.match(/(:first|:nth|:nth-last)-child/g);if(i){for(var A=t.parent?t.parent.children:r,o=A.length-1;o>=0;o--){var a=A[o];if(a.line<t.line)break;if(a.column<t.column){if(lJ(a))return;break}}i.forEach((function(e){}))}}}}({get compat(){return m.compat}}),hJ),gJ){var u,l=[rJ,'production'!==process.env.NODE_ENV?function(e){e.root||(e.return?u.insert(e.return):e.value&&e.type!==hZ&&u.insert(e.value+'{}'))}:(s=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&s(e)})],f=iJ(c.concat(r,l));A=function(e,t,n,r){u=n,'production'!==process.env.NODE_ENV&&void 0!==t.map&&(u={insert:function(e){n.insert(e+t.map)}}),nJ(ZZ(e?e+'{'+t.styles+'}':t.styles),f),r&&(m.inserted[t.name]=!0)}}else{var d=[rJ],h=iJ(c.concat(r,d)),p=mJ(r)(t),g=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=nJ(ZZ(e?e+'{'+t.styles+'}':t.styles),h)),p[n]};A=function(e,t,n,r){var i=t.name,A=g(e,t);return void 0===m.compat?(r&&(m.inserted[i]=!0),'development'===process.env.NODE_ENV&&void 0!==t.map?A+t.map:A):r?void(m.inserted[i]=A):A}}var m={key:t,sheet:new uZ({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:o,registered:{},insert:A};return m.sheet.hydrate(a),m},yJ=or,wJ={};wJ[yJ.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},wJ[yJ.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var BJ='undefined'!=typeof document;function CJ(e,t,n){var r='';return n.split(' ').forEach((function(n){void 0!==e[n]?t.push(e[n]+';'):r+=n+' '})),r}var xJ=function(e,t,n){var r=e.key+'-'+t.name;(!1===n||!1===BJ&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},FJ=function(e,t,n){xJ(e,t,n);var r=e.key+'-'+t.name;if(void 0===e.inserted[t.name]){var i='',A=t;do{var o=e.insert(t===A?'.'+r:'',A,e.sheet,!0);BJ||void 0===o||(i+=o),A=A.next}while(void 0!==A);if(!BJ&&0!==i.length)return i}};var IJ={animationIterationCount:1,aspectRatio: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},EJ=/[A-Z]|^ms/g,SJ=/_EMO_([^_]+?)_([^]*?)_EMO_/g,QJ=function(e){return 45===e.charCodeAt(1)},UJ=function(e){return null!=e&&'boolean'!=typeof e},LJ=AJ((function(e){return QJ(e)?e:e.replace(EJ,'-$&').toLowerCase()})),kJ=function(e,t){switch(e){case'animation':case'animationName':if('string'==typeof t)return t.replace(SJ,(function(e,t,n){return RJ={name:t,styles:n,next:RJ},t}))}return 1===IJ[e]||QJ(e)||'number'!=typeof t||0===t?t:t+'px'};if('production'!==process.env.NODE_ENV){var _J=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,NJ=['normal','none','initial','inherit','unset'],OJ=kJ,TJ={};kJ=function(e,t){if('content'===e&&('string'!=typeof t||-1===NJ.indexOf(t)&&!_J.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&'\''!==t.charAt(0))))throw new Error('You seem to be using a value for \'content\' without quotes, try replacing it with `content: \'"'+t+'"\'`');var n=OJ(e,t);return''===n||QJ(e)||-1===e.indexOf('-')||void 0!==TJ[e]||(TJ[e]=!0),n}}var MJ='Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.';function PJ(e,t,n){if(null==n)return'';if(void 0!==n.__emotion_styles){if('production'!==process.env.NODE_ENV&&'NO_COMPONENT_SELECTOR'===n.toString())throw new Error(MJ);return n}switch(typeof n){case'boolean':return'';case'object':if(1===n.anim)return RJ={name:n.name,styles:n.styles,next:RJ},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)RJ={name:r.name,styles:r.styles,next:RJ},r=r.next;var i=n.styles+';';return'production'!==process.env.NODE_ENV&&void 0!==n.map&&(i+=n.map),i}return function(e,t,n){var r='';if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=PJ(e,t,n[i])+';';else for(var A in n){var o=n[A];if('object'!=typeof o)null!=t&&void 0!==t[o]?r+=A+'{'+t[o]+'}':UJ(o)&&(r+=LJ(A)+':'+kJ(A,o)+';');else{if('NO_COMPONENT_SELECTOR'===A&&'production'!==process.env.NODE_ENV)throw new Error(MJ);if(!Array.isArray(o)||'string'!=typeof o[0]||null!=t&&void 0!==t[o[0]]){var a=PJ(e,t,o);switch(A){case'animation':case'animationName':r+=LJ(A)+':'+a+';';break;default:process.env.NODE_ENV,r+=A+'{'+a+'}'}}else for(var s=0;s<o.length;s++)UJ(o[s])&&(r+=LJ(A)+':'+kJ(A,o[s])+';')}}return r}(e,t,n);case'function':if(void 0!==e){var A=RJ,o=n(e);return RJ=A,PJ(e,t,o)}process.env.NODE_ENV;break;case'string':if('production'!==process.env.NODE_ENV){var a=[];n.replace(SJ,(function(e,t,n){var r='animation'+a.length;return a.push('const '+r+' = keyframes`'+n.replace(/^@keyframes animation-\w+/,'')+'`'),'${'+r+'}'}));a.length}}if(null==t)return n;var s=t[n];return void 0!==s?s:n}var HJ,RJ,DJ=/label:\s*([^\s;\n{]+)\s*(;|$)/g;'production'!==process.env.NODE_ENV&&(HJ=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var VJ=function(e,t,n){if(1===e.length&&'object'==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i='';RJ=void 0;var A,o=e[0];null==o||void 0===o.raw?(r=!1,i+=PJ(n,t,o)):('production'!==process.env.NODE_ENV&&o[0],i+=o[0]);for(var a=1;a<e.length;a++)i+=PJ(n,t,e[a]),r&&('production'!==process.env.NODE_ENV&&o[a],i+=o[a]);'production'!==process.env.NODE_ENV&&(i=i.replace(HJ,(function(e){return A=e,''}))),DJ.lastIndex=0;for(var s,c='';null!==(s=DJ.exec(i));)c+='-'+s[1];var u=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+c;return'production'!==process.env.NODE_ENV?{name:u,styles:i,map:A,next:RJ,toString:function(){return'You have tried to stringify object returned from `css` function. It isn\'t supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).'}}:{name:u,styles:i,next:RJ}},GJ='undefined'!=typeof document,jJ=function(e){return e()},WJ=!!e.useInsertionEffect&&e.useInsertionEffect,zJ=GJ&&WJ||jJ,XJ=WJ||e.useLayoutEffect,KJ='undefined'!=typeof document,qJ={}.hasOwnProperty,YJ=e.createContext('undefined'!=typeof HTMLElement?bJ({key:'css'}):null);'production'!==process.env.NODE_ENV&&(YJ.displayName='EmotionCacheContext'),YJ.Provider;var ZJ=function(e){return u((function(t,n){var r=l(YJ);return e(t,r,n)}))};KJ||(ZJ=function(t){return function(n){var r=l(YJ);return null===r?(r=bJ({key:'css'}),e.createElement(YJ.Provider,{value:r},t(n,r))):t(n,r)}});var JJ=e.createContext({});'production'!==process.env.NODE_ENV&&(JJ.displayName='EmotionThemeContext');var $J=function(e){var t=e.split('.');return t[t.length-1]},e$=function(e){var t=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(e);return t||(t=/^([A-Za-z0-9$.]+)@/.exec(e))?$J(t[1]):void 0},t$=new Set(['renderWithHooks','processChild','finishClassComponent','renderToString']),n$=function(e){return e.replace(/\$/g,'-')},r$='__EMOTION_TYPE_PLEASE_DO_NOT_USE__',i$='__EMOTION_LABEL_PLEASE_DO_NOT_USE__',A$=function(e,t){if('production'!==process.env.NODE_ENV&&'string'==typeof t.css&&-1!==t.css.indexOf(':'))throw new Error('Strings are not allowed as css prop values, please wrap it in a css template literal from \'@emotion/react\' like this: css`'+t.css+'`');var n={};for(var r in t)qJ.call(t,r)&&(n[r]=t[r]);if(n[r$]=e,'production'!==process.env.NODE_ENV&&t.css&&('object'!=typeof t.css||'string'!=typeof t.css.name||-1===t.css.name.indexOf('-'))){var i=function(e){if(e)for(var t=e.split('\n'),n=0;n<t.length;n++){var r=e$(t[n]);if(r){if(t$.has(r))break;if(/^[A-Z]/.test(r))return n$(r)}}}((new Error).stack);i&&(n[i$]=i)}return n},o$=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;xJ(n,r,i);var A=zJ((function(){return FJ(n,r,i)}));if(!KJ&&void 0!==A){for(var o,a=r.name,s=r.next;void 0!==s;)a+=' '+s.name,s=s.next;return e.createElement('style',((o={})['data-emotion']=n.key+' '+a,o.dangerouslySetInnerHTML={__html:A},o.nonce=n.sheet.nonce,o))}return null},a$=ZJ((function(t,n,r){var i=t.css;'string'==typeof i&&void 0!==n.registered[i]&&(i=n.registered[i]);var A=t[r$],o=[i],a='';'string'==typeof t.className?a=CJ(n.registered,o,t.className):null!=t.className&&(a=t.className+' ');var s=VJ(o,void 0,e.useContext(JJ));if('production'!==process.env.NODE_ENV&&-1===s.name.indexOf('-')){var c=t[i$];c&&(s=VJ([s,'label:'+c+';']))}a+=n.key+'-'+s.name;var u={};for(var l in t)!qJ.call(t,l)||'css'===l||l===r$||'production'!==process.env.NODE_ENV&&l===i$||(u[l]=t[l]);return u.ref=r,u.className=a,e.createElement(e.Fragment,null,e.createElement(o$,{cache:n,serialized:s,isStringTag:'string'==typeof A}),e.createElement(A,u))}));'production'!==process.env.NODE_ENV&&(a$.displayName='EmotionCssPropInternal');var s$=a$,c$=function(t,n){var r=arguments;if(null==n||!qJ.call(n,'css'))return e.createElement.apply(void 0,r);var i=r.length,A=new Array(i);A[0]=s$,A[1]=A$(t,n);for(var o=2;o<i;o++)A[o]=r[o];return e.createElement.apply(null,A)},u$=!1,l$=ZJ((function(t,n){'production'===process.env.NODE_ENV||u$||!t.className&&!t.css||(u$=!0);var r=t.styles,i=VJ([r],void 0,e.useContext(JJ));if(!KJ){for(var A,o=i.name,a=i.styles,s=i.next;void 0!==s;)o+=' '+s.name,a+=s.styles,s=s.next;var c=!0===n.compat,u=n.insert('',{name:o,styles:a},n.sheet,c);return c?null:e.createElement('style',((A={})['data-emotion']=n.key+'-global '+o,A.dangerouslySetInnerHTML={__html:u},A.nonce=n.sheet.nonce,A))}var l=e.useRef();return XJ((function(){var e=n.key+'-global',t=new n.sheet.constructor({key:e,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy}),r=!1,A=document.querySelector('style[data-emotion="'+e+' '+i.name+'"]');return n.sheet.tags.length&&(t.before=n.sheet.tags[0]),null!==A&&(r=!0,A.setAttribute('data-emotion',e),t.hydrate([A])),l.current=[t,r],function(){t.flush()}}),[n]),XJ((function(){var e=l.current,t=e[0];if(e[1])e[1]=!1;else{if(void 0!==i.next&&FJ(n,i.next,!0),t.tags.length){var r=t.tags[t.tags.length-1].nextElementSibling;t.before=r,t.flush()}n.insert('',i,t,!1)}}),[n,i.name]),null}));function f$(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return VJ(t)}'production'!==process.env.NODE_ENV&&(l$.displayName='EmotionGlobal');var d$=function e(t){for(var n=t.length,r=0,i='';r<n;r++){var A=t[r];if(null!=A){var o=void 0;switch(typeof A){case'boolean':break;case'object':if(Array.isArray(A))o=e(A);else for(var a in'production'!==process.env.NODE_ENV&&void 0!==A.styles&&A.name,o='',A)A[a]&&a&&(o&&(o+=' '),o+=a);break;default:o=A}o&&(i&&(i+=' '),i+=o)}}return i};var h$=function(t){var n,r=t.cache,i=t.serializedArr,A=zJ((function(){for(var e='',t=0;t<i.length;t++){var n=FJ(r,i[t],!1);KJ||void 0===n||(e+=n)}if(!KJ)return e}));return KJ||0===A.length?null:e.createElement('style',((n={})['data-emotion']=r.key+' '+i.map((function(e){return e.name})).join(' '),n.dangerouslySetInnerHTML={__html:A},n.nonce=r.sheet.nonce,n))},p$=ZJ((function(t,n){var r=!1,i=[],A=function(){if(r&&'production'!==process.env.NODE_ENV)throw new Error('css can only be used during render');for(var e=arguments.length,t=new Array(e),A=0;A<e;A++)t[A]=arguments[A];var o=VJ(t,n.registered);return i.push(o),xJ(n,o,!1),n.key+'-'+o.name},o={css:A,cx:function(){if(r&&'production'!==process.env.NODE_ENV)throw new Error('cx can only be used during render');for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return function(e,t,n){var r=[],i=CJ(e,r,n);return r.length<2?n:i+t(r)}(n.registered,A,d$(t))},theme:e.useContext(JJ)},a=t.children(o);return r=!0,e.createElement(e.Fragment,null,e.createElement(h$,{cache:n,serializedArr:i}),a)}));if('production'!==process.env.NODE_ENV&&(p$.displayName='EmotionClassNames'),'production'!==process.env.NODE_ENV){var g$='undefined'!=typeof document,m$='undefined'!=typeof jest||'undefined'!=typeof vi;if(g$&&!m$){var v$='undefined'!=typeof globalThis?globalThis:g$?window:global,b$='__EMOTION_REACT_'+'11.11.1'.split('.')[0]+'__';v$[b$],v$[b$]=!0}}var y$='undefined'!=typeof document?c:i,w$=['className','clearValue','cx','getStyles','getClassNames','getValue','hasValue','isMulti','isRtl','options','selectOption','selectProps','setValue','theme'],B$=function(){};function C$(e,t){return t?'-'===t[0]?e+t:e+'__'+t:e}function x$(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var A=[].concat(r);if(t&&e)for(var o in t)t.hasOwnProperty(o)&&t[o]&&A.push(''.concat(C$(e,o)));return A.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(' ')}var F$=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):'object'===qz(e)&&null!==e?[e]:[];var t},I$=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,$Y({},rZ(e,w$))},E$=function(e,t,n){var r=e.cx,i=e.getStyles,A=e.getClassNames,o=e.className;return{css:i(t,e),className:r(null!=n?n:{},A(t,e),o)}};function S$(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Q$(e){return S$(e)?window.pageYOffset:e.scrollTop}function U$(e,t){S$(e)?window.scrollTo(0,t):e.scrollTop=t}function L$(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:B$,i=Q$(e),A=t-i,o=0;!function t(){var a=function(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}(o+=10,i,A,n);U$(e,a),o<n?window.requestAnimationFrame(t):r(e)}()}function k$(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?U$(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&U$(e,Math.max(t.offsetTop-i,0))}function _$(){try{return document.createEvent('TouchEvent'),!0}catch(e){return!1}}var N$=!1,O$={get passive(){return N$=!0}},T$='undefined'!=typeof window?window:{};T$.addEventListener&&T$.removeEventListener&&(T$.addEventListener('p',B$,O$),T$.removeEventListener('p',B$,!1));var M$=N$;function P$(e){return null!=e}function H$(e,t,n){return e?t:n}var R$=['children','innerProps'],D$=['children','innerProps'];function V$(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,A=e.shouldScroll,o=e.isFixedPosition,a=e.controlHeight,s=function(e){var t=getComputedStyle(e),n='absolute'===t.position,r=/(auto|scroll)/;if('fixed'===t.position)return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||'static'!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}(n),c={placement:'bottom',maxHeight:t};if(!n||!n.offsetParent)return c;var u,l=s.getBoundingClientRect().height,f=n.getBoundingClientRect(),d=f.bottom,h=f.height,p=f.top,g=n.offsetParent.getBoundingClientRect().top,m=o?window.innerHeight:S$(u=s)?window.innerHeight:u.clientHeight,v=Q$(s),b=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),w=g-y,B=m-p,C=w+v,x=l-v-p,F=d-m+v+b,I=v+p-y,E=160;switch(i){case'auto':case'bottom':if(B>=h)return{placement:'bottom',maxHeight:t};if(x>=h&&!o)return A&&L$(s,F,E),{placement:'bottom',maxHeight:t};if(!o&&x>=r||o&&B>=r)return A&&L$(s,F,E),{placement:'bottom',maxHeight:o?B-b:x-b};if('auto'===i||o){var S=t,Q=o?w:C;return Q>=r&&(S=Math.min(Q-b-a,t)),{placement:'top',maxHeight:S}}if('bottom'===i)return A&&U$(s,F),{placement:'bottom',maxHeight:t};break;case'top':if(w>=h)return{placement:'top',maxHeight:t};if(C>=h&&!o)return A&&L$(s,I,E),{placement:'top',maxHeight:t};if(!o&&C>=r||o&&w>=r){var U=t;return(!o&&C>=r||o&&w>=r)&&(U=o?w-y:C-y),A&&L$(s,I,E),{placement:'top',maxHeight:U}}return{placement:'bottom',maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}var G$,j$=function(e){return'auto'===e?'bottom':e},W$=h(null),z$=function(e){var t=e.children,i=e.minMenuHeight,A=e.maxMenuHeight,o=e.menuPlacement,a=e.menuPosition,s=e.menuShouldScrollIntoView,c=e.theme,u=(l(W$)||{}).setPortalPlacement,f=n(null),d=nZ(r(A),2),h=d[0],p=d[1],g=nZ(r(null),2),m=g[0],v=g[1],b=c.spacing.controlHeight;return y$((function(){var e=f.current;if(e){var t='fixed'===a,n=V$({maxHeight:A,menuEl:e,minHeight:i,placement:o,shouldScroll:s&&!t,isFixedPosition:t,controlHeight:b});p(n.maxHeight),v(n.placement),null==u||u(n.placement)}}),[A,o,a,s,i,u,b]),t({ref:f,placerProps:$Y($Y({},e),{},{placement:m||j$(o),maxHeight:h})})},X$=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return c$('div',Q({},E$(e,'menu',{menu:!0}),{ref:n},r),t)},K$=function(e,t){var n=e.theme,r=n.spacing.baseUnit,i=n.colors;return $Y({textAlign:'center'},t?{}:{color:i.neutral40,padding:''.concat(2*r,'px ').concat(3*r,'px')})},q$=K$,Y$=K$,Z$=['size'],J$=['innerProps','isRtl','size'];var $$,e0,t0='production'===process.env.NODE_ENV?{name:'8mmkcg',styles:'display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0'}:{name:'tj5bde-Svg',styles:'display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;',map:'/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3Jz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heT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */',toString:function(){return'You have tried to stringify object returned from `css` function. It isn\'t supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).'}},n0=function(e){var t=e.size,n=rZ(e,Z$);return c$('svg',Q({height:t,width:t,viewBox:'0 0 20 20','aria-hidden':'true',focusable:'false',css:t0},n))},r0=function(e){return c$(n0,Q({size:20},e),c$('path',{d:'M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z'}))},i0=function(e){return c$(n0,Q({size:20},e),c$('path',{d:'M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z'}))},A0=function(e,t){var n=e.isFocused,r=e.theme,i=r.spacing.baseUnit,A=r.colors;return $Y({label:'indicatorContainer',display:'flex',transition:'color 150ms'},t?{}:{color:n?A.neutral60:A.neutral20,padding:2*i,':hover':{color:n?A.neutral80:A.neutral40}})},o0=A0,a0=A0,s0=function(){var e=f$.apply(void 0,arguments),t='animation-'+e.name;return{name:t,styles:'@keyframes '+t+'{'+e.styles+'}',anim:1,toString:function(){return'_EMO_'+this.name+'_'+this.styles+'_EMO_'}}}(G$||($$=['\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n'],e0||(e0=$$.slice(0)),G$=Object.freeze(Object.defineProperties($$,{raw:{value:Object.freeze(e0)}})))),c0=function(e){var t=e.delay,n=e.offset;return c$('span',{css:f$({animation:''.concat(s0,' 1s ease-in-out ').concat(t,'ms infinite;'),backgroundColor:'currentColor',borderRadius:'1em',display:'inline-block',marginLeft:n?'1em':void 0,height:'1em',verticalAlign:'top',width:'1em'},'production'===process.env.NODE_ENV?'':';label:LoadingDot;','production'===process.env.NODE_ENV?'':'/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06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ICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */')})},u0=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.innerRef,A=e.innerProps,o=e.menuIsOpen;return c$('div',Q({ref:i},E$(e,'control',{control:!0,'control--is-disabled':n,'control--is-focused':r,'control--menu-is-open':o}),A,{'aria-disabled':n||void 0}),t)},l0=['data'],f0=function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.getClassNames,A=e.Heading,o=e.headingProps,a=e.innerProps,s=e.label,c=e.theme,u=e.selectProps;return c$('div',Q({},E$(e,'group',{group:!0}),a),c$(A,Q({},o,{selectProps:u,theme:c,getStyles:r,getClassNames:i,cx:n}),s),c$('div',null,t))},d0=['innerRef','isDisabled','isHidden','inputClassName'],h0={gridArea:'1 / 2',font:'inherit',minWidth:'2px',border:0,margin:0,outline:0,padding:0},p0={flex:'1 1 auto',display:'inline-grid',gridArea:'1 / 1 / 2 / 3',gridTemplateColumns:'0 min-content','&:after':$Y({content:'attr(data-value) " "',visibility:'hidden',whiteSpace:'pre'},h0)},g0=function(e){return $Y({label:'input',color:'inherit',background:0,opacity:e?0:1,width:'100%'},h0)},m0=function(e){var t=e.children,n=e.innerProps;return c$('div',n,t)};var v0=function(e){var t=e.children,n=e.components,r=e.data,i=e.innerProps,A=e.isDisabled,o=e.removeProps,a=e.selectProps,s=n.Container,c=n.Label,u=n.Remove;return c$(s,{data:r,innerProps:$Y($Y({},E$(e,'multiValue',{'multi-value':!0,'multi-value--is-disabled':A})),i),selectProps:a},c$(c,{data:r,innerProps:$Y({},E$(e,'multiValueLabel',{'multi-value__label':!0})),selectProps:a},t),c$(u,{data:r,innerProps:$Y($Y({},E$(e,'multiValueRemove',{'multi-value__remove':!0})),{},{'aria-label':'Remove '.concat(t||'option')},o),selectProps:a}))},b0={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return c$('div',Q({},E$(e,'clearIndicator',{indicator:!0,'clear-indicator':!0}),n),t||c$(r0,null))},Control:u0,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return c$('div',Q({},E$(e,'dropdownIndicator',{indicator:!0,'dropdown-indicator':!0}),n),t||c$(i0,null))},DownChevron:i0,CrossIcon:r0,Group:f0,GroupHeading:function(e){var t=I$(e);t.data;var n=rZ(t,l0);return c$('div',Q({},E$(e,'groupHeading',{'group-heading':!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return c$('div',Q({},E$(e,'indicatorsContainer',{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return c$('span',Q({},t,E$(e,'indicatorSeparator',{'indicator-separator':!0})))},Input:function(e){var t=e.cx,n=e.value,r=I$(e),i=r.innerRef,A=r.isDisabled,o=r.isHidden,a=r.inputClassName,s=rZ(r,d0);return c$('div',Q({},E$(e,'input',{'input-container':!0}),{'data-value':n||''}),c$('input',Q({className:t({input:!0},a),ref:i,style:g0(o),disabled:A},s)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,i=void 0===r?4:r,A=rZ(e,J$);return c$('div',Q({},E$($Y($Y({},A),{},{innerProps:t,isRtl:n,size:i}),'loadingIndicator',{indicator:!0,'loading-indicator':!0}),t),c$(c0,{delay:0,offset:n}),c$(c0,{delay:160,offset:!0}),c$(c0,{delay:320,offset:!n}))},Menu:X$,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,i=e.isMulti;return c$('div',Q({},E$(e,'menuList',{'menu-list':!0,'menu-list--is-multi':i}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,i=e.children,A=e.controlElement,a=e.innerProps,s=e.menuPlacement,c=e.menuPosition,u=n(null),l=n(null),d=nZ(r(j$(s)),2),h=d[0],p=d[1],g=f((function(){return{setPortalPlacement:p}}),[]),m=nZ(r(null),2),v=m[0],b=m[1],y=o((function(){if(A){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(A),t='fixed'===c?0:window.pageYOffset,n=e[h]+t;n===(null==v?void 0:v.offset)&&e.left===(null==v?void 0:v.rect.left)&&e.width===(null==v?void 0:v.rect.width)||b({offset:n,rect:e})}}),[A,c,h,null==v?void 0:v.offset,null==v?void 0:v.rect.left,null==v?void 0:v.rect.width]);y$((function(){y()}),[y]);var B=o((function(){'function'==typeof l.current&&(l.current(),l.current=null),A&&u.current&&(l.current=FT(A,u.current,y,{elementResize:'ResizeObserver'in window}))}),[A,y]);y$((function(){B()}),[B]);var C=o((function(e){u.current=e,B()}),[B]);if(!t&&'fixed'!==c||!v)return null;var x=c$('div',Q({ref:C},E$($Y($Y({},e),{},{offset:v.offset,position:c,rect:v.rect}),'menuPortal',{'menu-portal':!0}),a),i);return c$(W$.Provider,{value:g},t?w(x,t):x)},LoadingMessage:function(e){var t=e.children,n=void 0===t?'Loading...':t,r=e.innerProps,i=rZ(e,D$);return c$('div',Q({},E$($Y($Y({},i),{},{children:n,innerProps:r}),'loadingMessage',{'menu-notice':!0,'menu-notice--loading':!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?'No options':t,r=e.innerProps,i=rZ(e,R$);return c$('div',Q({},E$($Y($Y({},i),{},{children:n,innerProps:r}),'noOptionsMessage',{'menu-notice':!0,'menu-notice--no-options':!0}),r),n)},MultiValue:v0,MultiValueContainer:m0,MultiValueLabel:m0,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return c$('div',Q({role:'button'},n),t||c$(r0,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.isSelected,A=e.innerRef,o=e.innerProps;return c$('div',Q({},E$(e,'option',{option:!0,'option--is-disabled':n,'option--is-focused':r,'option--is-selected':i}),{ref:A,'aria-disabled':n},o),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return c$('div',Q({},E$(e,'placeholder',{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,i=e.isRtl;return c$('div',Q({},E$(e,'container',{'--is-disabled':r,'--is-rtl':i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return c$('div',Q({},E$(e,'singleValue',{'single-value':!0,'single-value--is-disabled':n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,i=e.hasValue;return c$('div',Q({},E$(e,'valueContainer',{'value-container':!0,'value-container--is-multi':r,'value-container--has-value':i}),n),t)}},y0=Number.isNaN||function(e){return'number'==typeof e&&e!=e};function w0(e,t){return e===t||!(!y0(e)||!y0(t))}function B0(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!w0(e[n],t[n]))return!1;return!0}for(var C0='production'===process.env.NODE_ENV?{name:'7pg0cj-a11yText',styles:'label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap'}:{name:'1f43avz-a11yText-A11yText',styles:'label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;',map:'/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */',toString:function(){return'You have tried to stringify object returned from `css` function. It isn\'t supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).'}},x0=function(e){return c$('span',Q({css:C0},e))},F0={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,i=e.context,A=e.isInitialFocus;switch(i){case'menu':return'Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu'.concat(r?', press Tab to select the option and exit the menu':'','.');case'input':return A?''.concat(e['aria-label']||'Select',' is focused ').concat(t?',type to refine list':'',', press Down to open the menu, ').concat(n?' press left to focus selected values':''):'';case'value':return'Use left and right to toggle between focused values, press Backspace to remove the currently focused value';default:return''}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?'':n,i=e.labels,A=e.isDisabled;switch(t){case'deselect-option':case'pop-value':case'remove-value':return'option '.concat(r,', deselected.');case'clear':return'All selected options have been cleared.';case'initial-input-focus':return'option'.concat(i.length>1?'s':'',' ').concat(i.join(','),', selected.');case'select-option':return'option '.concat(r,A?' is disabled. Select another option.':', selected.');default:return''}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,i=e.label,A=void 0===i?'':i,o=e.selectValue,a=e.isDisabled,s=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?''.concat(e.indexOf(t)+1,' of ').concat(e.length):''};if('value'===t&&o)return'value '.concat(A,' focused, ').concat(u(o,n),'.');if('menu'===t&&c){var l=a?' disabled':'',f=''.concat(s?' selected':'').concat(l);return''.concat(A).concat(f,', ').concat(u(r,n),'.')}return''},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return''.concat(n).concat(t?' for search term '+t:'','.')}},I0=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,i=e.focusableOptions,A=e.isFocused,o=e.selectValue,a=e.selectProps,s=e.id,c=e.isAppleDevice,u=a.ariaLiveMessages,l=a.getOptionLabel,d=a.inputValue,h=a.isMulti,p=a.isOptionDisabled,g=a.isSearchable,v=a.menuIsOpen,b=a.options,y=a.screenReaderStatus,w=a.tabSelectsValue,B=a.isLoading,C=a['aria-label'],x=a['aria-live'],F=f((function(){return $Y($Y({},F0),u||{})}),[u]),I=f((function(){var e,n='';if(t&&F.onChange){var r=t.option,i=t.options,A=t.removedValue,a=t.removedValues,s=t.value,c=A||r||(e=s,Array.isArray(e)?null:e),u=c?l(c):'',f=i||a||void 0,d=f?f.map(l):[],h=$Y({isDisabled:c&&p(c,o),label:u,labels:d},t);n=F.onChange(h)}return n}),[t,F,p,o,l]),E=f((function(){var e='',t=n||r,A=!!(n&&o&&o.includes(n));if(t&&F.onFocus){var a={focused:t,label:l(t),isDisabled:p(t,o),isSelected:A,options:i,context:t===n?'menu':'value',selectValue:o,isAppleDevice:c};e=F.onFocus(a)}return e}),[n,r,l,p,F,i,o,c]),S=f((function(){var e='';if(v&&b.length&&!B&&F.onFilter){var t=y({count:i.length});e=F.onFilter({inputValue:d,resultsMessage:t})}return e}),[i,d,v,F,b,y,B]),Q='initial-input-focus'===(null==t?void 0:t.action),U=f((function(){var e='';if(F.guidance){var t=r?'value':v?'menu':'input';e=F.guidance({'aria-label':C,context:t,isDisabled:n&&p(n,o),isMulti:h,isSearchable:g,tabSelectsValue:w,isInitialFocus:Q})}return e}),[C,n,r,h,p,g,v,F,o,w,Q]),L=c$(m,null,c$('span',{id:'aria-selection'},I),c$('span',{id:'aria-focused'},E),c$('span',{id:'aria-results'},S),c$('span',{id:'aria-guidance'},U));return c$(m,null,c$(x0,{id:s},Q&&L),c$(x0,{'aria-live':x,'aria-atomic':'false','aria-relevant':'additions text',role:'log'},A&&!Q&&L))},E0=[{base:'A',letters:'AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ'},{base:'AA',letters:'Ꜳ'},{base:'AE',letters:'ÆǼǢ'},{base:'AO',letters:'Ꜵ'},{base:'AU',letters:'Ꜷ'},{base:'AV',letters:'ꜸꜺ'},{base:'AY',letters:'Ꜽ'},{base:'B',letters:'BⒷBḂḄḆɃƂƁ'},{base:'C',letters:'CⒸCĆĈĊČÇḈƇȻꜾ'},{base:'D',letters:'DⒹDḊĎḌḐḒḎĐƋƊƉꝹ'},{base:'DZ',letters:'DZDŽ'},{base:'Dz',letters:'DzDž'},{base:'E',letters:'EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ'},{base:'F',letters:'FⒻFḞƑꝻ'},{base:'G',letters:'GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ'},{base:'H',letters:'HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ'},{base:'I',letters:'IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ'},{base:'J',letters:'JⒿJĴɈ'},{base:'K',letters:'KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ'},{base:'L',letters:'LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ'},{base:'LJ',letters:'LJ'},{base:'Lj',letters:'Lj'},{base:'M',letters:'MⓂMḾṀṂⱮƜ'},{base:'N',letters:'NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ'},{base:'NJ',letters:'NJ'},{base:'Nj',letters:'Nj'},{base:'O',letters:'OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ'},{base:'OI',letters:'Ƣ'},{base:'OO',letters:'Ꝏ'},{base:'OU',letters:'Ȣ'},{base:'P',letters:'PⓅPṔṖƤⱣꝐꝒꝔ'},{base:'Q',letters:'QⓆQꝖꝘɊ'},{base:'R',letters:'RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ'},{base:'S',letters:'SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ'},{base:'T',letters:'TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ'},{base:'TZ',letters:'Ꜩ'},{base:'U',letters:'UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ'},{base:'V',letters:'VⓋVṼṾƲꝞɅ'},{base:'VY',letters:'Ꝡ'},{base:'W',letters:'WⓌWẀẂŴẆẄẈⱲ'},{base:'X',letters:'XⓍXẊẌ'},{base:'Y',letters:'YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ'},{base:'Z',letters:'ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ'},{base:'a',letters:'aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ'},{base:'aa',letters:'ꜳ'},{base:'ae',letters:'æǽǣ'},{base:'ao',letters:'ꜵ'},{base:'au',letters:'ꜷ'},{base:'av',letters:'ꜹꜻ'},{base:'ay',letters:'ꜽ'},{base:'b',letters:'bⓑbḃḅḇƀƃɓ'},{base:'c',letters:'cⓒcćĉċčçḉƈȼꜿↄ'},{base:'d',letters:'dⓓdḋďḍḑḓḏđƌɖɗꝺ'},{base:'dz',letters:'dzdž'},{base:'e',letters:'eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ'},{base:'f',letters:'fⓕfḟƒꝼ'},{base:'g',letters:'gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ'},{base:'h',letters:'hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ'},{base:'hv',letters:'ƕ'},{base:'i',letters:'iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı'},{base:'j',letters:'jⓙjĵǰɉ'},{base:'k',letters:'kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ'},{base:'l',letters:'lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ'},{base:'lj',letters:'lj'},{base:'m',letters:'mⓜmḿṁṃɱɯ'},{base:'n',letters:'nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ'},{base:'nj',letters:'nj'},{base:'o',letters:'oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ'},{base:'oi',letters:'ƣ'},{base:'ou',letters:'ȣ'},{base:'oo',letters:'ꝏ'},{base:'p',letters:'pⓟpṕṗƥᵽꝑꝓꝕ'},{base:'q',letters:'qⓠqɋꝗꝙ'},{base:'r',letters:'rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ'},{base:'s',letters:'sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ'},{base:'t',letters:'tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ'},{base:'tz',letters:'ꜩ'},{base:'u',letters:'uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ'},{base:'v',letters:'vⓥvṽṿʋꝟʌ'},{base:'vy',letters:'ꝡ'},{base:'w',letters:'wⓦwẁẃŵẇẅẘẉⱳ'},{base:'x',letters:'xⓧxẋẍ'},{base:'y',letters:'yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ'},{base:'z',letters:'zⓩzźẑżžẓẕƶȥɀⱬꝣ'}],S0=new RegExp('['+E0.map((function(e){return e.letters})).join('')+']','g'),Q0={},U0=0;U0<E0.length;U0++)for(var L0=E0[U0],k0=0;k0<L0.letters.length;k0++)Q0[L0.letters[k0]]=L0.base;var _0=function(e){return e.replace(S0,(function(e){return Q0[e]}))},N0=function(e,t){void 0===t&&(t=B0);var n=null;function r(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var A=e.apply(this,r);return n={lastResult:A,lastArgs:r,lastThis:this},A}return r.clear=function(){n=null},r}(_0),O0=function(e){return e.replace(/^\s+|\s+$/g,'')},T0=function(e){return''.concat(e.label,' ').concat(e.value)},M0=['innerRef'];function P0(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=Object.entries(e).filter((function(e){var t=nZ(e,1)[0];return!n.includes(t)}));return i.reduce((function(e,t){var n=nZ(t,2),r=n[0],i=n[1];return e[r]=i,e}),{})}(rZ(e,M0),'onExited','in','enter','exit','appear');return c$('input',Q({ref:t},n,{css:f$({label:'dummyInput',background:0,border:0,caretColor:'transparent',fontSize:'inherit',gridArea:'1 / 1 / 2 / 3',outline:0,padding:0,width:1,color:'transparent',left:-100,opacity:0,position:'relative',transform:'scale(.01)'},'production'===process.env.NODE_ENV?'':';label:DummyInput;','production'===process.env.NODE_ENV?'':'/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG9ubHkgaW5uZXJSZWY6IFJlZjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0pIHtcbiAgLy8gUmVtb3ZlIGFuaW1hdGlvbiBwcm9wcyBub3QgbWVhbnQgZm9yIEhUTUwgZWxlbWVudHNcbiAgY29uc3QgZmlsdGVyZWRQcm9wcyA9IHJlbW92ZVByb3BzKFxuICAgIHByb3BzLFxuICAgICdvbkV4aXRlZCcsXG4gICAgJ2luJyxcbiAgICAnZW50ZXInLFxuICAgICdleGl0JyxcbiAgICAnYXBwZWFyJ1xuICApO1xuXG4gIHJldHVybiAoXG4gICAgPGlucHV0XG4gICAgICByZWY9e2lubmVyUmVmfVxuICAgICAgey4uLmZpbHRlcmVkUHJvcHN9XG4gICAgICBjc3M9e3tcbiAgICAgICAgbGFiZWw6ICdkdW1teUlucHV0JyxcbiAgICAgICAgLy8gZ2V0IHJpZCBvZiBhbnkgZGVmYXVsdCBzdHlsZXNcbiAgICAgICAgYmFja2dyb3VuZDogMCxcbiAgICAgICAgYm9yZGVyOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHRoaXMgaGlkZXMgdGhlIGZsYXNoaW5nIGN1cnNvclxuICAgICAgICBjYXJldENvbG9yOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */')}))}var H0=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};var R0=['boxSizing','height','overflow','paddingRight','position'],D0={boxSizing:'border-box',overflow:'hidden',position:'relative',height:'100%'};function V0(e){e.preventDefault()}function G0(e){e.stopPropagation()}function j0(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function W0(){return'ontouchstart'in window||navigator.maxTouchPoints}var z0=!('undefined'==typeof window||!window.document||!window.document.createElement),X0=0,K0={capture:!1,passive:!1};var q0=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Y0='production'===process.env.NODE_ENV?{name:'1kfdb0e',styles:'position:fixed;left:0;bottom:0;right:0;top:0'}:{name:'bp8cua-ScrollManager',styles:'position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;',map:'/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT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sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */',toString:function(){return'You have tried to stringify object returned from `css` function. It isn\'t supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).'}};function Z0(e){var t=e.children,r=e.lockEnabled,A=e.captureEnabled,a=function(e){var t=e.isEnabled,r=e.onBottomArrive,A=e.onBottomLeave,a=e.onTopArrive,s=e.onTopLeave,c=n(!1),u=n(!1),l=n(0),f=n(null),d=o((function(e,t){if(null!==f.current){var n=f.current,i=n.scrollTop,o=n.scrollHeight,l=n.clientHeight,d=f.current,h=t>0,p=o-l-i,g=!1;p>t&&c.current&&(A&&A(e),c.current=!1),h&&u.current&&(s&&s(e),u.current=!1),h&&t>p?(r&&!c.current&&r(e),d.scrollTop=o,g=!0,c.current=!0):!h&&-t>i&&(a&&!u.current&&a(e),d.scrollTop=0,g=!0,u.current=!0),g&&H0(e)}}),[r,A,a,s]),h=o((function(e){d(e,e.deltaY)}),[d]),p=o((function(e){l.current=e.changedTouches[0].clientY}),[]),g=o((function(e){var t=l.current-e.changedTouches[0].clientY;d(e,t)}),[d]),m=o((function(e){if(e){var t=!!M$&&{passive:!1};e.addEventListener('wheel',h,t),e.addEventListener('touchstart',p,t),e.addEventListener('touchmove',g,t)}}),[g,p,h]),v=o((function(e){e&&(e.removeEventListener('wheel',h,!1),e.removeEventListener('touchstart',p,!1),e.removeEventListener('touchmove',g,!1))}),[g,p,h]);return i((function(){if(t){var e=f.current;return m(e),function(){v(e)}}}),[t,m,v]),function(e){f.current=e}}({isEnabled:void 0===A||A,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),s=function(e){var t=e.isEnabled,r=e.accountForScrollbars,A=void 0===r||r,a=n({}),s=n(null),c=o((function(e){if(z0){var t=document.body,n=t&&t.style;if(A&&R0.forEach((function(e){var t=n&&n[e];a.current[e]=t})),A&&X0<1){var r=parseInt(a.current.paddingRight,10)||0,i=document.body?document.body.clientWidth:0,o=window.innerWidth-i+r||0;Object.keys(D0).forEach((function(e){var t=D0[e];n&&(n[e]=t)})),n&&(n.paddingRight=''.concat(o,'px'))}t&&W0()&&(t.addEventListener('touchmove',V0,K0),e&&(e.addEventListener('touchstart',j0,K0),e.addEventListener('touchmove',G0,K0))),X0+=1}}),[A]),u=o((function(e){if(z0){var t=document.body,n=t&&t.style;X0=Math.max(X0-1,0),A&&X0<1&&R0.forEach((function(e){var t=a.current[e];n&&(n[e]=t)})),t&&W0()&&(t.removeEventListener('touchmove',V0,K0),e&&(e.removeEventListener('touchstart',j0,K0),e.removeEventListener('touchmove',G0,K0)))}}),[A]);return i((function(){if(t){var e=s.current;return c(e),function(){u(e)}}}),[t,c,u]),function(e){s.current=e}}({isEnabled:r});return c$(m,null,r&&c$('div',{onClick:q0,css:Y0}),t((function(e){a(e),s(e)})))}var J0='production'===process.env.NODE_ENV?{name:'1a0ro4n-requiredInput',styles:'label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%'}:{name:'5kkxb2-requiredInput-RequiredInput',styles:'label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;',map:'/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */',toString:function(){return'You have tried to stringify object returned from `css` function. It isn\'t supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).'}},$0=function(e){var t=e.name,n=e.onFocus;return c$('input',{required:!0,name:t,tabIndex:-1,'aria-hidden':'true',onFocus:n,css:J0,value:'',onChange:function(){}})};function e2(e){var t;return'undefined'!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function t2(){return e2(/^Mac/i)}function n2(){return e2(/^iPhone/i)||e2(/^iPad/i)||t2()&&navigator.maxTouchPoints>1}var r2={clearIndicator:a0,container:function(e){var t=e.isDisabled;return{label:'container',direction:e.isRtl?'rtl':void 0,pointerEvents:t?'none':void 0,position:'relative'}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.theme,A=i.colors,o=i.borderRadius;return $Y({label:'control',alignItems:'center',cursor:'default',display:'flex',flexWrap:'wrap',justifyContent:'space-between',minHeight:i.spacing.controlHeight,outline:'0 !important',position:'relative',transition:'all 100ms'},t?{}:{backgroundColor:n?A.neutral5:A.neutral0,borderColor:n?A.neutral10:r?A.primary:A.neutral20,borderRadius:o,borderStyle:'solid',borderWidth:1,boxShadow:r?'0 0 0 1px '.concat(A.primary):void 0,'&:hover':{borderColor:r?A.primary:A.neutral30}})},dropdownIndicator:o0,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,i=n.spacing;return $Y({label:'group',cursor:'default',display:'block'},t?{}:{color:r.neutral40,fontSize:'75%',fontWeight:500,marginBottom:'0.25em',paddingLeft:3*i.baseUnit,paddingRight:3*i.baseUnit,textTransform:'uppercase'})},indicatorsContainer:function(){return{alignItems:'center',alignSelf:'stretch',display:'flex',flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing.baseUnit,A=r.colors;return $Y({label:'indicatorSeparator',alignSelf:'stretch',width:1},t?{}:{backgroundColor:n?A.neutral10:A.neutral20,marginBottom:2*i,marginTop:2*i})},input:function(e,t){var n=e.isDisabled,r=e.value,i=e.theme,A=i.spacing,o=i.colors;return $Y($Y({visibility:n?'hidden':'visible',transform:r?'translateZ(0)':''},p0),t?{}:{margin:A.baseUnit/2,paddingBottom:A.baseUnit/2,paddingTop:A.baseUnit/2,color:o.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,i=e.theme,A=i.colors,o=i.spacing.baseUnit;return $Y({label:'loadingIndicator',display:'flex',transition:'color 150ms',alignSelf:'center',fontSize:r,lineHeight:1,marginRight:r,textAlign:'center',verticalAlign:'middle'},t?{}:{color:n?A.neutral60:A.neutral20,padding:2*o})},loadingMessage:Y$,menu:function(e,t){var n,r=e.placement,i=e.theme,A=i.borderRadius,o=i.spacing,a=i.colors;return $Y((ZY(n={label:'menu'},function(e){return e?{bottom:'top',top:'bottom'}[e]:'bottom'}(r),'100%'),ZY(n,'position','absolute'),ZY(n,'width','100%'),ZY(n,'zIndex',1),n),t?{}:{backgroundColor:a.neutral0,borderRadius:A,boxShadow:'0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)',marginBottom:o.menuGutter,marginTop:o.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return $Y({maxHeight:n,overflowY:'auto',position:'relative',WebkitOverflowScrolling:'touch'},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,A=n.colors;return $Y({label:'multiValue',display:'flex',minWidth:0},t?{}:{backgroundColor:A.neutral10,borderRadius:i/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,i=n.colors,A=e.cropWithEllipsis;return $Y({overflow:'hidden',textOverflow:A||void 0===A?'ellipsis':void 0,whiteSpace:'nowrap'},t?{}:{borderRadius:r/2,color:i.neutral80,fontSize:'85%',padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,A=n.colors,o=e.isFocused;return $Y({alignItems:'center',display:'flex'},t?{}:{borderRadius:i/2,backgroundColor:o?A.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,':hover':{backgroundColor:A.dangerLight,color:A.danger}})},noOptionsMessage:q$,option:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.isSelected,A=e.theme,o=A.spacing,a=A.colors;return $Y({label:'option',cursor:'default',display:'block',fontSize:'inherit',width:'100%',userSelect:'none',WebkitTapHighlightColor:'rgba(0, 0, 0, 0)'},t?{}:{backgroundColor:i?a.primary:r?a.primary25:'transparent',color:n?a.neutral20:i?a.neutral0:'inherit',padding:''.concat(2*o.baseUnit,'px ').concat(3*o.baseUnit,'px'),':active':{backgroundColor:n?void 0:i?a.primary:a.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,i=n.colors;return $Y({label:'placeholder',gridArea:'1 / 1 / 2 / 3'},t?{}:{color:i.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing,A=r.colors;return $Y({label:'singleValue',gridArea:'1 / 1 / 2 / 3',maxWidth:'100%',overflow:'hidden',textOverflow:'ellipsis',whiteSpace:'nowrap'},t?{}:{color:n?A.neutral40:A.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,i=e.hasValue,A=e.selectProps.controlShouldRenderValue;return $Y({alignItems:'center',display:r&&i&&A?'flex':'grid',flex:1,flexWrap:'wrap',WebkitOverflowScrolling:'touch',position:'relative',overflow:'hidden'},t?{}:{padding:''.concat(n.baseUnit/2,'px ').concat(2*n.baseUnit,'px')})}},i2={borderRadius:4,colors:{primary:'#2684FF',primary75:'#4C9AFF',primary50:'#B2D4FF',primary25:'#DEEBFF',danger:'#DE350B',dangerLight:'#FFBDAD',neutral0:'hsl(0, 0%, 100%)',neutral5:'hsl(0, 0%, 95%)',neutral10:'hsl(0, 0%, 90%)',neutral20:'hsl(0, 0%, 80%)',neutral30:'hsl(0, 0%, 70%)',neutral40:'hsl(0, 0%, 60%)',neutral50:'hsl(0, 0%, 50%)',neutral60:'hsl(0, 0%, 40%)',neutral70:'hsl(0, 0%, 30%)',neutral80:'hsl(0, 0%, 20%)',neutral90:'hsl(0, 0%, 10%)'},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},A2={'aria-live':'polite',backspaceRemovesValue:!0,blurInputOnSelect:_$(),captureMenuScroll:!_$(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=$Y({ignoreCase:!0,ignoreAccents:!0,stringify:T0,trim:!0,matchFrom:'any'},e),i=r.ignoreCase,A=r.ignoreAccents,o=r.stringify,a=r.trim,s=r.matchFrom,c=a?O0(n):n,u=a?O0(o(t)):o(t);return i&&(c=c.toLowerCase(),u=u.toLowerCase()),A&&(c=N0(c),u=_0(u)),'start'===s?u.substr(0,c.length)===c:u.indexOf(c)>-1}}(),formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return'Loading...'},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:'bottom',menuPosition:'absolute',menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return'No options'},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:'Select...',screenReaderStatus:function(e){var t=e.count;return''.concat(t,' result').concat(1!==t?'s':'',' available')},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function o2(e,t,n,r){return{type:'option',data:t,isDisabled:h2(e,t,n),isSelected:p2(e,t,n),label:f2(e,t),value:d2(e,t),index:r}}function a2(e,t){return e.options.map((function(n,r){if('options'in n){var i=n.options.map((function(n,r){return o2(e,n,t,r)})).filter((function(t){return u2(e,t)}));return i.length>0?{type:'group',data:n,options:i,index:r}:void 0}var A=o2(e,n,t,r);return u2(e,A)?A:void 0})).filter(P$)}function s2(e){return e.reduce((function(e,t){return'group'===t.type?e.push.apply(e,cZ(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function c2(e,t){return e.reduce((function(e,n){return'group'===n.type?e.push.apply(e,cZ(n.options.map((function(e){return{data:e.data,id:''.concat(t,'-').concat(n.index,'-').concat(e.index)}})))):e.push({data:n.data,id:''.concat(t,'-').concat(n.index)}),e}),[])}function u2(e,t){var n=e.inputValue,r=void 0===n?'':n,i=t.data,A=t.isSelected,o=t.label,a=t.value;return(!m2(e)||!A)&&g2(e,{label:o,value:a,data:i},r)}var l2=function(e,t){var n;return(null===(n=e.find((function(e){return e.data===t})))||void 0===n?void 0:n.id)||null},f2=function(e,t){return e.getOptionLabel(t)},d2=function(e,t){return e.getOptionValue(t)};function h2(e,t,n){return'function'==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function p2(e,t,n){if(n.indexOf(t)>-1)return!0;if('function'==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=d2(e,t);return n.some((function(t){return d2(e,t)===r}))}function g2(e,t,n){return!e.filterOption||e.filterOption(t,n)}var m2=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},v2=1,b2=function(t){!function(e,t){if('function'!=typeof t&&null!==t)throw new TypeError('Super expression must either be null or a function');e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,'prototype',{writable:!1}),t&&I(e,t)}(o,g);var n,r,i,A=sZ(o);function o(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}(this,o),(t=A.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:''},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.isAppleDevice=t2()||n2(),t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,n){var r=t.props,i=r.onChange,A=r.name;n.name=A,t.ariaOnChange(e,n),i(e,n)},t.setValue=function(e,n,r){var i=t.props,A=i.closeMenuOnSelect,o=i.isMulti,a=i.inputValue;t.onInputChange('',{action:'set-value',prevInputValue:a}),A&&(t.setState({inputIsHiddenAfterUpdate:!o}),t.onMenuClose()),t.setState({clearFocusValueOnUpdate:!0}),t.onChange(e,{action:n,option:r})},t.selectOption=function(e){var n=t.props,r=n.blurInputOnSelect,i=n.isMulti,A=n.name,o=t.state.selectValue,a=i&&t.isOptionSelected(e,o),s=t.isOptionDisabled(e,o);if(a){var c=t.getOptionValue(e);t.setValue(o.filter((function(e){return t.getOptionValue(e)!==c})),'deselect-option',e)}else{if(s)return void t.ariaOnChange(e,{action:'select-option',option:e,name:A});i?t.setValue([].concat(cZ(o),[e]),'select-option',e):t.setValue(e,'select-option')}r&&t.blurInput()},t.removeValue=function(e){var n=t.props.isMulti,r=t.state.selectValue,i=t.getOptionValue(e),A=r.filter((function(e){return t.getOptionValue(e)!==i})),o=H$(n,A,A[0]||null);t.onChange(o,{action:'remove-value',removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange(H$(t.props.isMulti,[],null),{action:'clear',removedValues:e})},t.popValue=function(){var e=t.props.isMulti,n=t.state.selectValue,r=n[n.length-1],i=n.slice(0,n.length-1),A=H$(e,i,i[0]||null);t.onChange(A,{action:'pop-value',removedValue:r})},t.getFocusedOptionId=function(e){return l2(t.state.focusableOptionsWithIds,e)},t.getFocusableOptionsWithIds=function(){return c2(a2(t.props,t.state.selectValue),t.getElementId('option'))},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return x$.apply(void 0,[t.props.classNamePrefix].concat(n))},t.getOptionLabel=function(e){return f2(t.props,e)},t.getOptionValue=function(e){return d2(t.props,e)},t.getStyles=function(e,n){var r=t.props.unstyled,i=r2[e](n,r);i.boxSizing='border-box';var A=t.props.styles[e];return A?A(i,n):i},t.getClassNames=function(e,n){var r,i;return null===(r=(i=t.props.classNames)[e])||void 0===r?void 0:r.call(i,n)},t.getElementId=function(e){return''.concat(t.state.instancePrefix,'-').concat(e)},t.getComponents=function(){return e=t.props,$Y($Y({},b0),e.components);var e},t.buildCategorizedOptions=function(){return a2(t.props,t.state.selectValue)},t.getCategorizedOptions=function(){return t.props.menuIsOpen?t.buildCategorizedOptions():[]},t.buildFocusableOptions=function(){return s2(t.buildCategorizedOptions())},t.getFocusableOptions=function(){return t.props.menuIsOpen?t.buildFocusableOptions():[]},t.ariaOnChange=function(e,n){t.setState({ariaSelection:$Y({value:e},n)})},t.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),t.focusInput())},t.onMenuMouseMove=function(e){t.blockOptionHover=!1},t.onControlMouseDown=function(e){if(!e.defaultPrevented){var n=t.props.openMenuOnClick;t.state.isFocused?t.props.menuIsOpen?'INPUT'!==e.target.tagName&&'TEXTAREA'!==e.target.tagName&&t.onMenuClose():n&&t.openMenu('first'):(n&&(t.openAfterFocus=!0),t.focusInput()),'INPUT'!==e.target.tagName&&'TEXTAREA'!==e.target.tagName&&e.preventDefault()}},t.onDropdownIndicatorMouseDown=function(e){if(!(e&&'mousedown'===e.type&&0!==e.button||t.props.isDisabled)){var n=t.props,r=n.isMulti,i=n.menuIsOpen;t.focusInput(),i?(t.setState({inputIsHiddenAfterUpdate:!r}),t.onMenuClose()):t.openMenu('first'),e.preventDefault()}},t.onClearIndicatorMouseDown=function(e){e&&'mousedown'===e.type&&0!==e.button||(t.clearValue(),e.preventDefault(),t.openAfterFocus=!1,'touchend'===e.type?t.focusInput():setTimeout((function(){return t.focusInput()})))},t.onScroll=function(e){'boolean'==typeof t.props.closeMenuOnScroll?e.target instanceof HTMLElement&&S$(e.target)&&t.props.onMenuClose():'function'==typeof t.props.closeMenuOnScroll&&t.props.closeMenuOnScroll(e)&&t.props.onMenuClose()},t.onCompositionStart=function(){t.isComposing=!0},t.onCompositionEnd=function(){t.isComposing=!1},t.onTouchStart=function(e){var n=e.touches,r=n&&n.item(0);r&&(t.initialTouchX=r.clientX,t.initialTouchY=r.clientY,t.userIsDragging=!1)},t.onTouchMove=function(e){var n=e.touches,r=n&&n.item(0);if(r){var i=Math.abs(r.clientX-t.initialTouchX),A=Math.abs(r.clientY-t.initialTouchY);t.userIsDragging=i>5||A>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var n=t.props.inputValue,r=e.currentTarget.value;t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(r,{action:'input-change',prevInputValue:n}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){t.props.onFocus&&t.props.onFocus(e),t.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu('first'),t.openAfterFocus=!1},t.onInputBlur=function(e){var n=t.props.inputValue;t.menuListRef&&t.menuListRef.contains(document.activeElement)?t.inputRef.focus():(t.props.onBlur&&t.props.onBlur(e),t.onInputChange('',{action:'input-blur',prevInputValue:n}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1}))},t.onOptionHover=function(e){if(!t.blockOptionHover&&t.state.focusedOption!==e){var n=t.getFocusableOptions().indexOf(e);t.setState({focusedOption:e,focusedOptionId:n>-1?t.getFocusedOptionId(e):null})}},t.shouldHideSelectedOptions=function(){return m2(t.props)},t.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),t.focus()},t.onKeyDown=function(e){var n=t.props,r=n.isMulti,i=n.backspaceRemovesValue,A=n.escapeClearsValue,o=n.inputValue,a=n.isClearable,s=n.isDisabled,c=n.menuIsOpen,u=n.onKeyDown,l=n.tabSelectsValue,f=n.openMenuOnFocus,d=t.state,h=d.focusedOption,p=d.focusedValue,g=d.selectValue;if(!(s||'function'==typeof u&&(u(e),e.defaultPrevented))){switch(t.blockOptionHover=!0,e.key){case'ArrowLeft':if(!r||o)return;t.focusValue('previous');break;case'ArrowRight':if(!r||o)return;t.focusValue('next');break;case'Delete':case'Backspace':if(o)return;if(p)t.removeValue(p);else{if(!i)return;r?t.popValue():a&&t.clearValue()}break;case'Tab':if(t.isComposing)return;if(e.shiftKey||!c||!l||!h||f&&t.isOptionSelected(h,g))return;t.selectOption(h);break;case'Enter':if(229===e.keyCode)break;if(c){if(!h)return;if(t.isComposing)return;t.selectOption(h);break}return;case'Escape':c?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange('',{action:'menu-close',prevInputValue:o}),t.onMenuClose()):a&&A&&t.clearValue();break;case' ':if(o)return;if(!c){t.openMenu('first');break}if(!h)return;t.selectOption(h);break;case'ArrowUp':c?t.focusOption('up'):t.openMenu('last');break;case'ArrowDown':c?t.focusOption('down'):t.openMenu('first');break;case'PageUp':if(!c)return;t.focusOption('pageup');break;case'PageDown':if(!c)return;t.focusOption('pagedown');break;case'Home':if(!c)return;t.focusOption('first');break;case'End':if(!c)return;t.focusOption('last');break;default:return}e.preventDefault()}},t.state.instancePrefix='react-select-'+(t.props.instanceId||++v2),t.state.selectValue=F$(e.value),e.menuIsOpen&&t.state.selectValue.length){var n=t.getFocusableOptionsWithIds(),r=t.buildFocusableOptions(),i=r.indexOf(t.state.selectValue[0]);t.state.focusableOptionsWithIds=n,t.state.focusedOption=r[i],t.state.focusedOptionId=l2(n,r[i])}return t}return n=o,r=[{key:'componentDidMount',value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener('scroll',this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&k$(this.menuListRef,this.focusedOptionRef)}},{key:'componentDidUpdate',value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,i=this.state.isFocused;(i&&!n&&e.isDisabled||i&&r&&!e.menuIsOpen)&&this.focusInput(),i&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):i||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(k$(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:'componentWillUnmount',value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener('scroll',this.onScroll,!0)}},{key:'onMenuOpen',value:function(){this.props.onMenuOpen()}},{key:'onMenuClose',value:function(){this.onInputChange('',{action:'menu-close',prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:'onInputChange',value:function(e,t){this.props.onInputChange(e,t)}},{key:'focusInput',value:function(){this.inputRef&&this.inputRef.focus()}},{key:'blurInput',value:function(){this.inputRef&&this.inputRef.blur()}},{key:'openMenu',value:function(e){var t=this,n=this.state,r=n.selectValue,i=n.isFocused,A=this.buildFocusableOptions(),o='first'===e?0:A.length-1;if(!this.props.isMulti){var a=A.indexOf(r[0]);a>-1&&(o=a)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:A[o],focusedOptionId:this.getFocusedOptionId(A[o])},(function(){return t.onMenuOpen()}))}},{key:'focusValue',value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=n.indexOf(r);r||(i=-1);var A=n.length-1,o=-1;if(n.length){switch(e){case'previous':o=0===i?0:-1===i?A:i-1;break;case'next':i>-1&&i<A&&(o=i+1)}this.setState({inputIsHidden:-1!==o,focusedValue:n[o]})}}}},{key:'focusOption',value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:'first',t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var i=0,A=r.indexOf(n);n||(A=-1),'up'===e?i=A>0?A-1:r.length-1:'down'===e?i=(A+1)%r.length:'pageup'===e?(i=A-t)<0&&(i=0):'pagedown'===e?(i=A+t)>r.length-1&&(i=r.length-1):'last'===e&&(i=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[i])})}}},{key:'getTheme',value:function(){return this.props.theme?'function'==typeof this.props.theme?this.props.theme(i2):$Y($Y({},i2),this.props.theme):i2}},{key:'getCommonProps',value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,i=this.getValue,A=this.selectOption,o=this.setValue,a=this.props,s=a.isMulti,c=a.isRtl,u=a.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:i,hasValue:this.hasValue(),isMulti:s,isRtl:c,options:u,selectOption:A,selectProps:a,setValue:o,theme:this.getTheme()}}},{key:'hasValue',value:function(){return this.state.selectValue.length>0}},{key:'hasOptions',value:function(){return!!this.getFocusableOptions().length}},{key:'isClearable',value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:'isOptionDisabled',value:function(e,t){return h2(this.props,e,t)}},{key:'isOptionSelected',value:function(e,t){return p2(this.props,e,t)}},{key:'filterOption',value:function(e,t){return g2(this.props,e,t)}},{key:'formatOptionLabel',value:function(e,t){if('function'==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:'formatGroupLabel',value:function(e){return this.props.formatGroupLabel(e)}},{key:'startListeningComposition',value:function(){document&&document.addEventListener&&(document.addEventListener('compositionstart',this.onCompositionStart,!1),document.addEventListener('compositionend',this.onCompositionEnd,!1))}},{key:'stopListeningComposition',value:function(){document&&document.removeEventListener&&(document.removeEventListener('compositionstart',this.onCompositionStart),document.removeEventListener('compositionend',this.onCompositionEnd))}},{key:'startListeningToTouch',value:function(){document&&document.addEventListener&&(document.addEventListener('touchstart',this.onTouchStart,!1),document.addEventListener('touchmove',this.onTouchMove,!1),document.addEventListener('touchend',this.onTouchEnd,!1))}},{key:'stopListeningToTouch',value:function(){document&&document.removeEventListener&&(document.removeEventListener('touchstart',this.onTouchStart),document.removeEventListener('touchmove',this.onTouchMove),document.removeEventListener('touchend',this.onTouchEnd))}},{key:'renderInput',value:function(){var t=this.props,n=t.isDisabled,r=t.isSearchable,i=t.inputId,A=t.inputValue,o=t.tabIndex,a=t.form,s=t.menuIsOpen,c=t.required,u=this.getComponents().Input,l=this.state,f=l.inputIsHidden,d=l.ariaSelection,h=this.commonProps,p=i||this.getElementId('input'),g=$Y($Y($Y({'aria-autocomplete':'list','aria-expanded':s,'aria-haspopup':!0,'aria-errormessage':this.props['aria-errormessage'],'aria-invalid':this.props['aria-invalid'],'aria-label':this.props['aria-label'],'aria-labelledby':this.props['aria-labelledby'],'aria-required':c,role:'combobox','aria-activedescendant':this.isAppleDevice?void 0:this.state.focusedOptionId||''},s&&{'aria-controls':this.getElementId('listbox')}),!r&&{'aria-readonly':!0}),this.hasValue()?'initial-input-focus'===(null==d?void 0:d.action)&&{'aria-describedby':this.getElementId('live-region')}:{'aria-describedby':this.getElementId('placeholder')});return r?e.createElement(u,Q({},h,{autoCapitalize:'none',autoComplete:'off',autoCorrect:'off',id:p,innerRef:this.getInputRef,isDisabled:n,isHidden:f,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:'false',tabIndex:o,form:a,type:'text',value:A},g)):e.createElement(P0,Q({id:p,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:B$,onFocus:this.onInputFocus,disabled:n,tabIndex:o,inputMode:'none',form:a,value:''},g))}},{key:'renderPlaceholderOrValue',value:function(){var t=this,n=this.getComponents(),r=n.MultiValue,i=n.MultiValueContainer,A=n.MultiValueLabel,o=n.MultiValueRemove,a=n.SingleValue,s=n.Placeholder,c=this.commonProps,u=this.props,l=u.controlShouldRenderValue,f=u.isDisabled,d=u.isMulti,h=u.inputValue,p=u.placeholder,g=this.state,m=g.selectValue,v=g.focusedValue,b=g.isFocused;if(!this.hasValue()||!l)return h?null:e.createElement(s,Q({},c,{key:'placeholder',isDisabled:f,isFocused:b,innerProps:{id:this.getElementId('placeholder')}}),p);if(d)return m.map((function(n,a){var s=n===v,u=''.concat(t.getOptionLabel(n),'-').concat(t.getOptionValue(n));return e.createElement(r,Q({},c,{components:{Container:i,Label:A,Remove:o},isFocused:s,isDisabled:f,key:u,index:a,removeProps:{onClick:function(){return t.removeValue(n)},onTouchEnd:function(){return t.removeValue(n)},onMouseDown:function(e){e.preventDefault()}},data:n}),t.formatOptionLabel(n,'value'))}));if(h)return null;var y=m[0];return e.createElement(a,Q({},c,{data:y,isDisabled:f}),this.formatOptionLabel(y,'value'))}},{key:'renderClearIndicator',value:function(){var t=this.getComponents().ClearIndicator,n=this.commonProps,r=this.props,i=r.isDisabled,A=r.isLoading,o=this.state.isFocused;if(!this.isClearable()||!t||i||!this.hasValue()||A)return null;var a={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,'aria-hidden':'true'};return e.createElement(t,Q({},n,{innerProps:a,isFocused:o}))}},{key:'renderLoadingIndicator',value:function(){var t=this.getComponents().LoadingIndicator,n=this.commonProps,r=this.props,i=r.isDisabled,A=r.isLoading,o=this.state.isFocused;return t&&A?e.createElement(t,Q({},n,{innerProps:{'aria-hidden':'true'},isDisabled:i,isFocused:o})):null}},{key:'renderIndicatorSeparator',value:function(){var t=this.getComponents(),n=t.DropdownIndicator,r=t.IndicatorSeparator;if(!n||!r)return null;var i=this.commonProps,A=this.props.isDisabled,o=this.state.isFocused;return e.createElement(r,Q({},i,{isDisabled:A,isFocused:o}))}},{key:'renderDropdownIndicator',value:function(){var t=this.getComponents().DropdownIndicator;if(!t)return null;var n=this.commonProps,r=this.props.isDisabled,i=this.state.isFocused,A={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,'aria-hidden':'true'};return e.createElement(t,Q({},n,{innerProps:A,isDisabled:r,isFocused:i}))}},{key:'renderMenu',value:function(){var t=this,n=this.getComponents(),r=n.Group,i=n.GroupHeading,A=n.Menu,o=n.MenuList,a=n.MenuPortal,s=n.LoadingMessage,c=n.NoOptionsMessage,u=n.Option,l=this.commonProps,f=this.state.focusedOption,d=this.props,h=d.captureMenuScroll,p=d.inputValue,g=d.isLoading,m=d.loadingMessage,v=d.minMenuHeight,b=d.maxMenuHeight,y=d.menuIsOpen,w=d.menuPlacement,B=d.menuPosition,C=d.menuPortalTarget,x=d.menuShouldBlockScroll,F=d.menuShouldScrollIntoView,I=d.noOptionsMessage,E=d.onMenuScrollToTop,S=d.onMenuScrollToBottom;if(!y)return null;var U,L=function(n,r){var i=n.type,A=n.data,o=n.isDisabled,a=n.isSelected,s=n.label,c=n.value,d=f===A,h=o?void 0:function(){return t.onOptionHover(A)},p=o?void 0:function(){return t.selectOption(A)},g=''.concat(t.getElementId('option'),'-').concat(r),m={id:g,onClick:p,onMouseMove:h,onMouseOver:h,tabIndex:-1,role:'option','aria-selected':t.isAppleDevice?void 0:a};return e.createElement(u,Q({},l,{innerProps:m,data:A,isDisabled:o,isSelected:a,key:g,label:s,type:i,value:c,isFocused:d,innerRef:d?t.getFocusedOptionRef:void 0}),t.formatOptionLabel(n.data,'menu'))};if(this.hasOptions())U=this.getCategorizedOptions().map((function(n){if('group'===n.type){var A=n.data,o=n.options,a=n.index,s=''.concat(t.getElementId('group'),'-').concat(a),c=''.concat(s,'-heading');return e.createElement(r,Q({},l,{key:s,data:A,options:o,Heading:i,headingProps:{id:c,data:n.data},label:t.formatGroupLabel(n.data)}),n.options.map((function(e){return L(e,''.concat(a,'-').concat(e.index))})))}if('option'===n.type)return L(n,''.concat(n.index))}));else if(g){var k=m({inputValue:p});if(null===k)return null;U=e.createElement(s,l,k)}else{var _=I({inputValue:p});if(null===_)return null;U=e.createElement(c,l,_)}var N={minMenuHeight:v,maxMenuHeight:b,menuPlacement:w,menuPosition:B,menuShouldScrollIntoView:F},O=e.createElement(z$,Q({},l,N),(function(n){var r=n.ref,i=n.placerProps,a=i.placement,s=i.maxHeight;return e.createElement(A,Q({},l,N,{innerRef:r,innerProps:{onMouseDown:t.onMenuMouseDown,onMouseMove:t.onMenuMouseMove},isLoading:g,placement:a}),e.createElement(Z0,{captureEnabled:h,onTopArrive:E,onBottomArrive:S,lockEnabled:x},(function(n){return e.createElement(o,Q({},l,{innerRef:function(e){t.getMenuListRef(e),n(e)},innerProps:{role:'listbox','aria-multiselectable':l.isMulti,id:t.getElementId('listbox')},isLoading:g,maxHeight:s,focusedOption:f}),U)})))}));return C||'fixed'===B?e.createElement(a,Q({},l,{appendTo:C,controlElement:this.controlRef,menuPlacement:w,menuPosition:B}),O):O}},{key:'renderFormField',value:function(){var t=this,n=this.props,r=n.delimiter,i=n.isDisabled,A=n.isMulti,o=n.name,a=n.required,s=this.state.selectValue;if(a&&!this.hasValue()&&!i)return e.createElement($0,{name:o,onFocus:this.onValueInputFocus});if(o&&!i){if(A){if(r){var c=s.map((function(e){return t.getOptionValue(e)})).join(r);return e.createElement('input',{name:o,type:'hidden',value:c})}var u=s.length>0?s.map((function(n,r){return e.createElement('input',{key:'i-'.concat(r),name:o,type:'hidden',value:t.getOptionValue(n)})})):e.createElement('input',{name:o,type:'hidden',value:''});return e.createElement('div',null,u)}var l=s[0]?this.getOptionValue(s[0]):'';return e.createElement('input',{name:o,type:'hidden',value:l})}}},{key:'renderLiveRegion',value:function(){var t=this.commonProps,n=this.state,r=n.ariaSelection,i=n.focusedOption,A=n.focusedValue,o=n.isFocused,a=n.selectValue,s=this.getFocusableOptions();return e.createElement(I0,Q({},t,{id:this.getElementId('live-region'),ariaSelection:r,focusedOption:i,focusedValue:A,isFocused:o,selectValue:a,focusableOptions:s,isAppleDevice:this.isAppleDevice}))}},{key:'render',value:function(){var t=this.getComponents(),n=t.Control,r=t.IndicatorsContainer,i=t.SelectContainer,A=t.ValueContainer,o=this.props,a=o.className,s=o.id,c=o.isDisabled,u=o.menuIsOpen,l=this.state.isFocused,f=this.commonProps=this.getCommonProps();return e.createElement(i,Q({},f,{className:a,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:l}),this.renderLiveRegion(),e.createElement(n,Q({},f,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:l,menuIsOpen:u}),e.createElement(A,Q({},f,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),e.createElement(r,Q({},f,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],i=[{key:'getDerivedStateFromProps',value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,A=t.ariaSelection,o=t.isFocused,a=t.prevWasFocused,s=t.instancePrefix,c=e.options,u=e.value,l=e.menuIsOpen,f=e.inputValue,d=e.isMulti,h=F$(u),p={};if(n&&(u!==n.value||c!==n.options||l!==n.menuIsOpen||f!==n.inputValue)){var g=l?function(e,t){return s2(a2(e,t))}(e,h):[],m=l?c2(a2(e,h),''.concat(s,'-option')):[],v=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,h):null,b=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);p={selectValue:h,focusedOption:b,focusedOptionId:l2(m,b),focusableOptionsWithIds:m,focusedValue:v,clearFocusValueOnUpdate:!1}}var y=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},w=A,B=o&&a;return o&&!B&&(w={value:H$(d,h,h[0]||null),options:h,action:'initial-input-focus'},B=!a),'initial-input-focus'===(null==A?void 0:A.action)&&(w=null),$Y($Y($Y({},p),y),{},{prevProps:e,ariaSelection:w,prevWasFocused:B})}}],r&&AZ(n.prototype,r),i&&AZ(n,i),Object.defineProperty(n,'prototype',{writable:!1}),o}();b2.defaultProps=A2;var y2,w2,B2=u((function(t,n){var i=function(e){var t=e.defaultInputValue,n=void 0===t?'':t,i=e.defaultMenuIsOpen,A=void 0!==i&&i,a=e.defaultValue,s=void 0===a?null:a,c=e.inputValue,u=e.menuIsOpen,l=e.onChange,f=e.onInputChange,d=e.onMenuClose,h=e.onMenuOpen,p=e.value,g=rZ(e,iZ),m=nZ(r(void 0!==c?c:n),2),v=m[0],b=m[1],y=nZ(r(void 0!==u?u:A),2),w=y[0],B=y[1],C=nZ(r(void 0!==p?p:s),2),x=C[0],F=C[1],I=o((function(e,t){'function'==typeof l&&l(e,t),F(e)}),[l]),E=o((function(e,t){var n;'function'==typeof f&&(n=f(e,t)),b(void 0!==n?n:e)}),[f]),S=o((function(){'function'==typeof h&&h(),B(!0)}),[h]),Q=o((function(){'function'==typeof d&&d(),B(!1)}),[d]),U=void 0!==c?c:v,L=void 0!==u?u:w,k=void 0!==p?p:x;return $Y($Y({},g),{},{inputValue:U,menuIsOpen:L,onChange:I,onInputChange:E,onMenuClose:Q,onMenuOpen:S,value:k})}(t);return e.createElement(b2,Q({ref:n},i))})),C2=B2,x2=[{value:'kb',label:'Knowledge Base'},{value:'docs',label:'Documentation'},{value:'alerts',label:'Alerts'},{value:'upi',label:'UPI'},{value:'ibmb',label:'IBMB'}],F2=function(e){var n=e.handleClickBackBtn,i=r(),A=i[0],o=i[1],a=r(!1),s=a[0],c=a[1],u=r(''),f=u[0],d=u[1],h=r(x2[0]),p=h[0],g=h[1],m=l(Q2).isDarkMode,v=Le({queryKey:'conversationID',queryFn:KT,enabled:!A,onSuccess:function(e){o({conversationID:e.conversation_id,isNew:!0})}}),b=function(e){o(e||void 0)};return t.createElement(t.Fragment,null,t.createElement(NP,{getNewChatId:v.refetch,handleClickBackBtn:n,openSideBar:c}),v.isLoading||v.isError?t.createElement(t.Fragment,null,v.isError?t.createElement(HP,{errorHeading:'Wait a moment',errorInfo:'Ved is not yet configured in this environment. Please contact your system administrator.'}):t.createElement(WY,null,t.createElement(wH,{color:'#000',loading:v.isLoading,size:75,'aria-label':'Loading Spinner','data-testid':'loader'}))):t.createElement(HY,{style:{height:'calc(100% - 5rem)'}},t.createElement(RY,{$isOpen:s},t.createElement(DY,null,t.createElement(gn,{icon:'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M13.41%2C12l6.29-6.29c.39-.39%2C.39-1.02%2C0-1.41s-1.02-.39-1.41%2C0l-6.29%2C6.29L5.71%2C4.29c-.39-.39-1.02-.39-1.41%2C0s-.39%2C1.02%2C0%2C1.41l6.29%2C6.29-6.29%2C6.29c-.39%2C.39-.39%2C1.02%2C0%2C1.41%2C.2%2C.2%2C.45%2C.29%2C.71%2C.29s.51-.1%2C.71-.29l6.29-6.29%2C6.29%2C6.29c.2%2C.2%2C.45%2C.29%2C.71%2C.29s.51-.1%2C.71-.29c.39-.39%2C.39-1.02%2C0-1.41l-6.29-6.29Z%22%2F%3E%3C%2Fsvg%3E',iconColor:'vu-fill-slate-350',onClick:function(){return c(!1)}})),t.createElement(zY,null,t.createElement(KY,null,'Choose Topic'),t.createElement(XY,null,t.createElement(C2,{options:x2,defaultValue:x2[0],onChange:function(e){return g(null!=e?e:x2[0])},styles:{control:function(e,t){return ke(ke({},e),{borderColor:t.isFocused?'grey':m?'#32384E':'#D8DEE4',borderWidth:'2px',borderRadius:'6px',backgroundColor:m?'#121B37':'#FFFFFF'})},singleValue:function(e){return ke(ke({},e),{color:m?'#7B7E92':'#000000'})},indicatorSeparator:function(e){return ke(ke({},e),{display:'none'})},menu:function(e){return ke(ke({},e),{backgroundColor:m?'#121B37':'#FFFFFF'})}}}))),t.createElement(VY,null,t.createElement(GY,null,t.createElement(xY,null,t.createElement(bn,{$fullWidth:!0,placeholder:'Search Conversations',onChange:function(e){return d(e.target.value)}}),t.createElement(qY,{currentConversationInfo:A,handleSetConversationInfo:b,searchQuery:f})),t.createElement(CY,null,t.createElement(pn,{$fullWidth:!0,icon:kP,iconColor:'vu-fill-white',onClick:function(){o(void 0),v.refetch()},disabled:v.isLoading},'New Chat'))))),t.createElement(jY,null,(null==A?void 0:A.conversationID)?t.createElement(t.Fragment,null,t.createElement(pY,{handleSetConversationInfo:b,conversationID:A.conversationID,isNew:A.isNew,category:p.value})):t.createElement(WY,null,t.createElement(wH,{color:'#000',loading:v.isLoading,size:75,'aria-label':'Loading Spinner','data-testid':'loader'})))))},I2=Tt.div(y2||(y2=Me(['\n vu-fixed\n vu-inset-0\n vu-p-8\n vu-isolate\n vu-z-[1001]\n vu-bg-black/75\n'],['\n vu-fixed\n vu-inset-0\n vu-p-8\n vu-isolate\n vu-z-[1001]\n vu-bg-black/75\n']))),E2=Tt.div(w2||(w2=Me(['\n vu-css-ls\n vu-p-6\n vu-h-full\n vu-bg-white\n dark:vu-bg-dark_mode-600\n vu-flex\n vu-flex-col\n vu-rounded-lg\n vu-relative\n dark:vu-text=slate-250\n'],['\n vu-css-ls\n vu-p-6\n vu-h-full\n vu-bg-white\n dark:vu-bg-dark_mode-600\n vu-flex\n vu-flex-col\n vu-rounded-lg\n vu-relative\n dark:vu-text=slate-250\n']))),S2=new fe,Q2=h({isDarkMode:!1}),U2=function(e){var n=e.token,i=e.baseURL,A=e.darkMode,o=void 0===A||A,a=e.handleClickBackBtn,s=r(o)[0];return n&&i?(XT.defaults.baseURL=i,XT.defaults.auth='Bearer '.concat(n),t.createElement(Q2.Provider,{value:{isDarkMode:s}},t.createElement(Fe,{client:S2},t.createElement(I2,{className:s?'vu-dark':''},t.createElement(E2,null,t.createElement(F2,{handleClickBackBtn:function(){return a(!1)}})))))):t.createElement('h1',null,'JWT Token or Base URL missing.')},L2=function(e){var n=e.token,A=e.baseURL,o=e.darkMode,a=void 0===o||o,s=r(!1),c=s[0],u=s[1];return i((function(){var e=function(e){'Escape'===e.key&&u(!1)};return document.addEventListener('keydown',e),function(){document.removeEventListener('keydown',e)}}),[u]),t.createElement('div',null,t.createElement(gn,{icon:'data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M11.5489%202.01825C11.2622%202.06212%2010.9973%202.19726%2010.7935%202.40359C10.5669%202.62817%2010.4272%202.92589%2010.3992%203.24372C10.3713%203.56156%2010.4569%203.87904%2010.641%204.13969C10.8175%204.37969%2011.0599%204.5631%2011.339%204.66755L11.4563%204.69454V6.06054L8.01515%206.06816L4.56994%206.07989L4.35234%206.18253C4.06307%206.32206%203.83028%206.55638%203.69251%206.84647C3.59485%207.04806%203.55139%207.27164%203.56641%207.49516L3.55116%207.92273L3.1623%207.93798C2.94716%207.91564%202.73027%207.95904%202.54029%208.0625C2.35038%208.16596%202.19624%208.32456%202.09835%208.51746L2.01448%208.67406L2.00275%2012.0694C1.99513%2014.4307%202.00275%2015.5223%202.03325%2015.6554C2.06662%2015.7924%202.12838%2015.9209%202.21442%2016.0326C2.30052%2016.1443%202.40897%2016.2368%202.53296%2016.3041C2.71895%2016.4071%202.93191%2016.4511%203.14353%2016.4302L3.55409%2016.4454L3.56934%2016.873C3.55614%2017.0917%203.59638%2017.3103%203.68664%2017.51C3.8104%2017.7894%204.02577%2018.0182%204.29721%2018.1587L4.53768%2018.2883L5.54122%2018.3L6.5383%2018.3111V19.639C6.5383%2020.9247%206.5424%2020.9704%206.61865%2021.0695C6.78288%2021.2754%206.76352%2021.283%209.44156%2019.7381L11.9173%2018.3076L15.454%2018.3L18.9942%2018.2883L19.2347%2018.1587C19.5062%2018.0167%2019.7214%2017.7867%2019.8452%2017.5064C19.9364%2017.3086%2019.9767%2017.091%2019.9625%2016.8736L19.9778%2016.446L20.3883%2016.4308C20.6016%2016.4541%2020.8167%2016.4087%2021.0024%2016.3011C21.2373%2016.1603%2021.4103%2015.9359%2021.4869%2015.673C21.5139%2015.5739%2021.525%2014.3721%2021.5174%2012.0987L21.5057%208.67289L21.4218%208.51629C21.3239%208.32321%2021.1698%208.16438%2020.9797%208.0608C20.7896%207.95722%2020.5725%207.91376%2020.3573%207.93622L19.9684%207.92097L19.9532%207.4934C19.9681%207.26988%2019.9246%207.0463%2019.827%206.84471C19.6893%206.55462%2019.4564%206.32036%2019.1672%206.18077L18.9496%206.07813L15.5085%206.0664L12.0633%206.05878V4.69278L12.1806%204.6658C12.4617%204.56233%2012.7064%204.37887%2012.8844%204.13793C13.0349%203.90068%2013.1216%203.62854%2013.136%203.34789C13.1131%203.04964%2013.0088%202.76342%2012.8346%202.52031C12.6853%202.32864%2012.4871%202.18078%2012.2608%202.09239C12.0345%202.00406%2011.7886%201.97843%2011.5489%202.01825ZM18.5%207.5C18.4326%207.4346%2018.5873%207.53455%2018.5%207.5C18.4628%207.41372%2018.5674%207.56546%2018.5%207.5C18.5686%207.64487%2018%207.30375%2018%2012C18%2016.3567%2018.551%2016.3721%2018.5%2016.5C18.4267%2016.6628%2018.6486%2016.3319%2018.5%2016.4308C17.7622%2015.1029%2018.4027%2016.2865%2015.7745%2016.3011L10.5%2016.5L9%2018.5C7.7601%2019.2173%208.51114%2019%208.5%2019C8.48886%2019%207.67361%2019.5088%207.67361%2018.849L8%2018V17.7129H7.67361L8%2016C6.77945%2015.9806%206.80575%2016.0728%206.61865%2015.8751C6.38404%2015.6311%205%2017.3713%205%2012C5%207.65976%205.44897%207.62551%205.5%207.5C5.53455%207.41261%205.93454%207.56745%206%207.5C6.0654%207.43255%205.41372%207.53719%205.5%207.5C5.64487%207.43138%205.19927%207.4934%2011.9173%207.4934C18.139%207.4934%2018.3745%207.45073%2018.5%207.5Z%22%20fill%3D%22url%28%23paint0_linear_710_997%29%22%2F%3E%3Cpath%20d%3D%22M7.5%2020V16L12%2017L7.5%2020Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M5%208C5%207.44772%205.44772%207%206%207H18C18.5523%207%2019%207.44772%2019%208V16C19%2016.5523%2018.5523%2017%2018%2017H6C5.44772%2017%205%2016.5523%205%2016V8Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M7.85164%209.34328C7.6036%209.39759%207.37051%209.50563%207.16887%209.65988C6.96717%209.81414%206.80183%2010.0108%206.68446%2010.236C6.58698%2010.4326%206.53027%2010.6468%206.51777%2010.8659C6.50528%2011.0849%206.53725%2011.3043%206.61179%2011.5106C6.68634%2011.717%206.80188%2011.9062%206.95145%2012.0667C7.10101%2012.2273%207.28154%2012.3559%207.48213%2012.4448C7.68876%2012.5515%207.92313%2012.5925%208.15369%2012.5621C8.38431%2012.5925%208.61863%2012.5515%208.82526%2012.4448C9.11406%2012.3174%209.35875%2012.1074%209.52843%2011.8413C9.69811%2011.5752%209.78533%2011.2648%209.77893%2010.9492C9.78586%2010.7265%209.74357%2010.5051%209.65518%2010.3006C9.56679%2010.0961%209.43441%209.91367%209.26749%209.76616C9.05347%209.55243%208.77927%209.40921%208.48156%209.3556C8.27604%209.29806%208.05926%209.29384%207.85164%209.34328Z%22%20fill%3D%22url%28%23paint1_linear_710_997%29%22%2F%3E%3Cpath%20d%3D%22M15.0129%209.36029C14.6898%209.4332%2014.3962%209.60182%2014.1703%209.84417C13.9444%2010.0865%2013.7968%2010.3912%2013.7467%2010.7187C13.6929%2011.0706%2013.7563%2011.4305%2013.9273%2011.7427C14.0983%2012.055%2014.3672%2012.3023%2014.6927%2012.4466C14.8994%2012.5532%2015.1337%2012.5942%2015.3643%2012.5639C15.5949%2012.5942%2015.8292%2012.5532%2016.0359%2012.4466C16.2794%2012.3384%2016.4924%2012.1719%2016.6563%2011.9619C16.8202%2011.7518%2016.9297%2011.5047%2016.9754%2011.2422C17.021%2010.9797%2017.0013%2010.71%2016.918%2010.457C16.8346%2010.2039%2016.6902%209.97531%2016.4974%209.79138C16.2825%209.56422%2016.0005%209.41173%2015.6927%209.35619C15.4701%209.29448%2015.2348%209.29589%2015.0129%209.36029Z%22%20fill%3D%22url%28%23paint2_linear_710_997%29%22%2F%3E%3Cpath%20d%3D%22M9.50396%2014.524C9.47252%2014.5469%209.4466%2014.5765%209.42813%2014.6107C9.40965%2014.6449%209.39915%2014.6829%209.39727%2014.7217C9.3954%2014.7605%209.40232%2014.7993%209.41739%2014.8351C9.43252%2014.8709%209.45552%2014.9029%209.48461%2014.9287C9.98673%2015.2552%2010.5525%2015.4711%2011.1445%2015.5621C11.6927%2015.6219%2012.2469%2015.5948%2012.7867%2015.4818C13.1872%2015.3711%2013.5728%2015.2123%2013.9351%2015.0091C13.989%2014.985%2014.0346%2014.9455%2014.0662%2014.8957C14.0978%2014.8459%2014.1141%2014.7878%2014.1129%2014.7288C14.1117%2014.6698%2014.0931%2014.6124%2014.0595%2014.5639C14.026%2014.5154%2013.9788%2014.4778%2013.924%2014.456C13.8284%2014.4026%2013.802%2014.4102%2013.4049%2014.5973C12.9017%2014.8742%2012.3298%2015.0011%2011.7568%2014.9633C11.1894%2015.0021%2010.6229%2014.8778%2010.1239%2014.6049C9.97857%2014.528%209.82661%2014.4643%209.66995%2014.4143C9.6059%2014.4356%209.54865%2014.4734%209.50396%2014.524Z%22%20fill%3D%22url%28%23paint3_linear_710_997%29%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_710_997%22%20x1%3D%226%22%20y1%3D%223.5%22%20x2%3D%2216.5%22%20y2%3D%2220%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%220.108902%22%20stop-color%3D%22%23C12366%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23EF6844%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint1_linear_710_997%22%20x1%3D%228.1474%22%20y1%3D%229.30908%22%20x2%3D%228.1474%22%20y2%3D%2212.5718%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23BB246D%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F06F44%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint2_linear_710_997%22%20x1%3D%2215.3637%22%20y1%3D%229.31093%22%20x2%3D%2215.3637%22%20y2%3D%2212.5736%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23BB246D%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F06F44%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint3_linear_710_997%22%20x1%3D%2211.755%22%20y1%3D%2214.4143%22%20x2%3D%2211.755%22%20y2%3D%2215.593%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23BB246D%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F06F44%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E',onClick:function(){return u(!0)}}),c&&t.createElement(U2,{token:n,baseURL:A,handleClickBackBtn:u,darkMode:a}))};
|
|
329
|
+
function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(e){var n,r,i,A,o,a,s,c=t,u=[[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]],l=[[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]],f={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},d={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},h=['(',')','(','<','>','<','[',']','[','{','}','{','«','»','«','‹','›','‹','⁅','⁆','⁅','⁽','⁾','⁽','₍','₎','₍','≤','≥','≤','〈','〉','〈','﹙','﹚','﹙','﹛','﹜','﹛','﹝','﹞','﹝','﹤','﹥','﹤'],p=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)$/),g=!1,m=0;this.__bidiEngine__={};var v=function(e){var t=e.charCodeAt(),n=t>>8,r=d[n];return void 0!==r?c[256*r+(255&t)]:252===n||253===n?'AL':p.test(n)?'L':8===n?'R':'N'},b=function(e){for(var t,n=0;n<e.length;n++){if('L'===(t=v(e.charAt(n))))return!1;if('R'===t)return!0}return!1},y=function(e,t,o,a){var s,c,u,l,f=t[a];switch(f){case'L':case'R':case'LRE':case'RLE':case'LRO':case'RLO':case'PDF':g=!1;break;case'N':case'AN':break;case'EN':g&&(f='AN');break;case'AL':g=!0,f='R';break;case'WS':case'BN':f='N';break;case'CS':a<1||a+1>=t.length||'EN'!==(s=o[a-1])&&'AN'!==s||'EN'!==(c=t[a+1])&&'AN'!==c?f='N':g&&(c='AN'),f=c===s?c:'N';break;case'ES':f='EN'===(s=a>0?o[a-1]:'B')&&a+1<t.length&&'EN'===t[a+1]?'EN':'N';break;case'ET':if(a>0&&'EN'===o[a-1]){f='EN';break}if(g){f='N';break}for(u=a+1,l=t.length;u<l&&'ET'===t[u];)u++;f=u<l&&'EN'===t[u]?'EN':'N';break;case'NSM':if(i&&!A){for(l=t.length,u=a+1;u<l&&'NSM'===t[u];)u++;if(u<l){var d=e[a],h=d>=1425&&d<=2303||64286===d;if(s=t[u],h&&('R'===s||'AL'===s)){f='R';break}}}f=a<1||'B'===(s=t[a-1])?'N':o[a-1];break;case'B':g=!1,n=!0,f=m;break;case'S':r=!0,f='N'}return f},w=function(e,t,n){var r=e.split('');return n&&B(r,n,{hiLevel:m}),r.reverse(),t&&t.reverse(),r.join('')},B=function(e,t,i){var A,o,a,s,c,d=-1,h=e.length,p=0,b=[],w=m?l:u,B=[];for(g=!1,n=!1,r=!1,o=0;o<h;o++)B[o]=v(e[o]);for(a=0;a<h;a++){if(c=p,b[a]=y(e,B,b,a),A=240&(p=w[c][f[b[a]]]),p&=15,t[a]=s=w[p][5],A>0)if(16===A){for(o=d;o<a;o++)t[o]=1;d=-1}else d=-1;if(w[p][6])-1===d&&(d=a);else if(d>-1){for(o=d;o<a;o++)t[o]=s;d=-1}'B'===B[a]&&(t[a]=0),i.hiLevel|=s}r&&function(e,t,n){for(var r=0;r<n;r++)if('S'===e[r]){t[r]=m;for(var i=r-1;i>=0&&'WS'===e[i];i--)t[i]=m}}(B,t,h)},C=function(e,t,r,i,A){if(!(A.hiLevel<e)){if(1===e&&1===m&&!n)return t.reverse(),void(r&&r.reverse());for(var o,a,s,c,u=t.length,l=0;l<u;){if(i[l]>=e){for(s=l+1;s<u&&i[s]>=e;)s++;for(c=l,a=s-1;c<a;c++,a--)o=t[c],t[c]=t[a],t[a]=o,r&&(o=r[c],r[c]=r[a],r[a]=o);l=s}l++}}},x=function(e,t,n){var r=e.split(''),i={hiLevel:m};return n||(n=[]),B(r,n,i),function(e,t,n){if(0!==n.hiLevel&&s)for(var r,i=0;i<e.length;i++)1===t[i]&&(r=h.indexOf(e[i]))>=0&&(e[i]=h[r+1])}(r,n,i),C(2,r,t,n,i),C(1,r,t,n,i),r.join('')};return this.__bidiEngine__.doBidiReorder=function(e,t,n){if(function(e,t){if(t)for(var n=0;n<e.length;n++)t[n]=n;void 0===A&&(A=b(e)),void 0===a&&(a=b(e))}(e,t),i||!o||a)if(i&&o&&A^a)m=A?1:0,e=w(e,t,n);else if(!i&&o&&a)m=A?1:0,e=x(e,t,n),e=w(e,t);else if(!i||A||o||a){if(i&&!o&&A^a)e=w(e,t),A?(m=0,e=x(e,t,n)):(m=1,e=x(e,t,n),e=w(e,t));else if(i&&A&&!o&&a)m=1,e=x(e,t,n),e=w(e,t);else if(!i&&!o&&A^a){var r=s;A?(m=1,e=x(e,t,n),m=0,s=!1,e=x(e,t,n),s=r):(m=0,e=x(e,t,n),e=w(e,t),m=1,s=!1,e=x(e,t,n),s=r,e=w(e,t))}}else m=0,e=x(e,t,n);else m=A?1:0,e=x(e,t,n);return e},this.__bidiEngine__.setOptions=function(e){e&&(i=e.isInputVisual,o=e.isOutputVisual,A=e.isInputRtl,a=e.isOutputRtl,s=e.isSymmetricSwapping)},this.__bidiEngine__.setOptions(e),this.__bidiEngine__};var t=['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'],n=new e.__bidiEngine__({isInputVisual:!0});e.API.events.push(['postProcessText',function(e){var t=e.text,r=(e.x,e.y,e.options||{}),i=(e.mutex,r.lang,[]);if(r.isInputVisual='boolean'!=typeof r.isInputVisual||r.isInputVisual,n.setOptions(r),'[object Array]'===Object.prototype.toString.call(t)){var A=0;for(i=[],A=0;A<t.length;A+=1)'[object Array]'===Object.prototype.toString.call(t[A])?i.push([n.doBidiReorder(t[A][0]),t[A][1],t[A][2]]):i.push([n.doBidiReorder(t[A])]);e.text=i}else e.text=n.doBidiReorder(t);n.setOptions({isInputVisual:!0})}])}(gK),gK.API.TTFFont=function(){function e(e){var t;if(this.rawData=e,t=this.contents=new Nq(e),this.contents.pos=4,'ttcf'===t.readString(4))throw new Error('TTCF not supported.');t.pos=0,this.parse(),this.subset=new $q(this),this.registerTTF()}return e.open=function(t){return new e(t)},e.prototype.parse=function(){return this.directory=new Oq(this.contents),this.head=new Pq(this),this.name=new Wq(this),this.cmap=new Rq(this),this.toUnicode={},this.hhea=new Dq(this),this.maxp=new zq(this),this.hmtx=new Xq(this),this.post=new Gq(this),this.os2=new Vq(this),this.loca=new Jq(this),this.glyf=new qq(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]},e.prototype.registerTTF=function(){var e,t,n,r,i;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var t,n,r,i;for(i=[],t=0,n=(r=this.bbox).length;t<n;t++)e=r[t],i.push(Math.round(e*this.scaleFactor));return i}.call(this),this.stemV=0,this.post.exists?(n=255&(r=this.post.italic_angle),0!=(32768&(t=r>>16))&&(t=-(1+(65535^t))),this.italicAngle=+(t+'.'+n)):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=1===(i=this.familyClass)||2===i||3===i||4===i||5===i||7===i,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error('No unicode cmap for font')},e.prototype.characterToGlyph=function(e){var t;return(null!=(t=this.cmap.unicode)?t.codeMap[e]:void 0)||0},e.prototype.widthOfGlyph=function(e){var t;return t=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(e).advance*t},e.prototype.widthOfString=function(e,t,n){var r,i,A,o;for(A=0,i=0,o=(e=''+e).length;0<=o?i<o:i>o;i=0<=o?++i:--i)r=e.charCodeAt(i),A+=this.widthOfGlyph(this.characterToGlyph(r))+n*(1e3/t)||0;return A*(t/1e3)},e.prototype.lineHeight=function(e,t){var n;return null==t&&(t=!1),n=t?this.lineGap:0,(this.ascender+n-this.decender)/1e3*e},e}();var _q,Nq=function(){function e(e){this.data=null!=e?e:[],this.pos=0,this.length=this.data.length}return e.prototype.readByte=function(){return this.data[this.pos++]},e.prototype.writeByte=function(e){return this.data[this.pos++]=e},e.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},e.prototype.writeUInt32=function(e){return this.writeByte(e>>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt32=function(){var e;return(e=this.readUInt32())>=2147483648?e-4294967296:e},e.prototype.writeInt32=function(e){return e<0&&(e+=4294967296),this.writeUInt32(e)},e.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},e.prototype.writeUInt16=function(e){return this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt16=function(){var e;return(e=this.readUInt16())>=32768?e-65536:e},e.prototype.writeInt16=function(e){return e<0&&(e+=65536),this.writeUInt16(e)},e.prototype.readString=function(e){var t,n;for(n=[],t=0;0<=e?t<e:t>e;t=0<=e?++t:--t)n[t]=String.fromCharCode(this.readByte());return n.join('')},e.prototype.writeString=function(e){var t,n,r;for(r=[],t=0,n=e.length;0<=n?t<n:t>n;t=0<=n?++t:--t)r.push(this.writeByte(e.charCodeAt(t)));return r},e.prototype.readShort=function(){return this.readInt16()},e.prototype.writeShort=function(e){return this.writeInt16(e)},e.prototype.readLongLong=function(){var e,t,n,r,i,A,o,a;return e=this.readByte(),t=this.readByte(),n=this.readByte(),r=this.readByte(),i=this.readByte(),A=this.readByte(),o=this.readByte(),a=this.readByte(),128&e?-1*(72057594037927940*(255^e)+281474976710656*(255^t)+1099511627776*(255^n)+4294967296*(255^r)+16777216*(255^i)+65536*(255^A)+256*(255^o)+(255^a)+1):72057594037927940*e+281474976710656*t+1099511627776*n+4294967296*r+16777216*i+65536*A+256*o+a},e.prototype.writeLongLong=function(e){var t,n;return t=Math.floor(e/4294967296),n=4294967295&e,this.writeByte(t>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t),this.writeByte(n>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n)},e.prototype.readInt=function(){return this.readInt32()},e.prototype.writeInt=function(e){return this.writeInt32(e)},e.prototype.read=function(e){var t,n;for(t=[],n=0;0<=e?n<e:n>e;n=0<=e?++n:--n)t.push(this.readByte());return t},e.prototype.write=function(e){var t,n,r,i;for(i=[],n=0,r=e.length;n<r;n++)t=e[n],i.push(this.writeByte(t));return i},e}(),Oq=function(){var e;function t(e){var t,n,r;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},n=0,r=this.tableCount;0<=r?n<r:n>r;n=0<=r?++n:--n)t={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[t.tag]=t}return t.prototype.encode=function(t){var n,r,i,A,o,a,s,c,u,l,f,d,h;for(h in f=Object.keys(t).length,a=Math.log(2),u=16*Math.floor(Math.log(f)/a),A=Math.floor(u/a),c=16*f-u,(r=new Nq).writeInt(this.scalarType),r.writeShort(f),r.writeShort(u),r.writeShort(A),r.writeShort(c),i=16*f,s=r.pos+i,o=null,d=[],t)for(l=t[h],r.writeString(h),r.writeInt(e(l)),r.writeInt(s),r.writeInt(l.length),d=d.concat(l),'head'===h&&(o=s),s+=l.length;s%4;)d.push(0),s++;return r.write(d),n=2981146554-e(r.data),r.pos=o+8,r.writeUInt32(n),r.data},e=function(e){var t,n,r,i;for(e=Kq.call(e);e.length%4;)e.push(0);for(r=new Nq(e),n=0,t=0,i=e.length;t<i;t=t+=4)n+=r.readUInt32();return 4294967295&n},t}(),Tq={}.hasOwnProperty,Mq=function(e,t){for(var n in t)Tq.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e};_q=function(){function e(e){var t;this.file=e,t=this.file.directory.tables[this.tag],this.exists=!!t,t&&(this.offset=t.offset,this.length=t.length,this.parse(this.file.contents))}return e.prototype.parse=function(){},e.prototype.encode=function(){},e.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},e}();var Pq=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Mq(t,_q),t.prototype.tag='head',t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.revision=e.readInt(),this.checkSumAdjustment=e.readInt(),this.magicNumber=e.readInt(),this.flags=e.readShort(),this.unitsPerEm=e.readShort(),this.created=e.readLongLong(),this.modified=e.readLongLong(),this.xMin=e.readShort(),this.yMin=e.readShort(),this.xMax=e.readShort(),this.yMax=e.readShort(),this.macStyle=e.readShort(),this.lowestRecPPEM=e.readShort(),this.fontDirectionHint=e.readShort(),this.indexToLocFormat=e.readShort(),this.glyphDataFormat=e.readShort()},t.prototype.encode=function(e){var t;return(t=new Nq).writeInt(this.version),t.writeInt(this.revision),t.writeInt(this.checkSumAdjustment),t.writeInt(this.magicNumber),t.writeShort(this.flags),t.writeShort(this.unitsPerEm),t.writeLongLong(this.created),t.writeLongLong(this.modified),t.writeShort(this.xMin),t.writeShort(this.yMin),t.writeShort(this.xMax),t.writeShort(this.yMax),t.writeShort(this.macStyle),t.writeShort(this.lowestRecPPEM),t.writeShort(this.fontDirectionHint),t.writeShort(e),t.writeShort(this.glyphDataFormat),t.data},t}(),Hq=function(){function e(e,t){var n,r,i,A,o,a,s,c,u,l,f,d,h,p,g,m,v;switch(this.platformID=e.readUInt16(),this.encodingID=e.readShort(),this.offset=t+e.readInt(),u=e.pos,e.pos=this.offset,this.format=e.readUInt16(),this.length=e.readUInt16(),this.language=e.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(a=0;a<256;++a)this.codeMap[a]=e.readByte();break;case 4:for(f=e.readUInt16(),l=f/2,e.pos+=6,i=function(){var t,n;for(n=[],a=t=0;0<=l?t<l:t>l;a=0<=l?++t:--t)n.push(e.readUInt16());return n}(),e.pos+=2,h=function(){var t,n;for(n=[],a=t=0;0<=l?t<l:t>l;a=0<=l?++t:--t)n.push(e.readUInt16());return n}(),s=function(){var t,n;for(n=[],a=t=0;0<=l?t<l:t>l;a=0<=l?++t:--t)n.push(e.readUInt16());return n}(),c=function(){var t,n;for(n=[],a=t=0;0<=l?t<l:t>l;a=0<=l?++t:--t)n.push(e.readUInt16());return n}(),r=(this.length-e.pos+this.offset)/2,o=function(){var t,n;for(n=[],a=t=0;0<=r?t<r:t>r;a=0<=r?++t:--t)n.push(e.readUInt16());return n}(),a=g=0,v=i.length;g<v;a=++g)for(p=i[a],n=m=d=h[a];d<=p?m<=p:m>=p;n=d<=p?++m:--m)0===c[a]?A=n+s[a]:0!==(A=o[c[a]/2+(n-d)-(l-a)]||0)&&(A+=s[a]),this.codeMap[n]=65535&A}e.pos=u}return e.encode=function(e,t){var n,r,i,A,o,a,s,c,u,l,f,d,h,p,g,m,v,b,y,w,B,C,x,F,I,E,S,Q,U,L,k,_,N,O,T,M,P,H,R,D,V,G,j,W,z,X;switch(Q=new Nq,A=Object.keys(e).sort((function(e,t){return e-t})),t){case'macroman':for(h=0,p=function(){var e=[];for(d=0;d<256;++d)e.push(0);return e}(),m={0:0},i={},U=0,N=A.length;U<N;U++)null==m[j=e[r=A[U]]]&&(m[j]=++h),i[r]={old:e[r],new:m[e[r]]},p[r]=m[e[r]];return Q.writeUInt16(1),Q.writeUInt16(0),Q.writeUInt32(12),Q.writeUInt16(0),Q.writeUInt16(262),Q.writeUInt16(0),Q.write(p),{charMap:i,subtable:Q.data,maxGlyphID:h+1};case'unicode':for(E=[],u=[],v=0,m={},n={},g=s=null,L=0,O=A.length;L<O;L++)null==m[y=e[r=A[L]]]&&(m[y]=++v),n[r]={old:y,new:m[y]},o=m[y]-r,null!=g&&o===s||(g&&u.push(g),E.push(r),s=o),g=r;for(g&&u.push(g),u.push(65535),E.push(65535),F=2*(x=E.length),C=2*Math.pow(Math.log(x)/Math.LN2,2),l=Math.log(C/2)/Math.LN2,B=2*x-C,a=[],w=[],f=[],d=k=0,T=E.length;k<T;d=++k){if(I=E[d],c=u[d],65535===I){a.push(0),w.push(0);break}if(I-(S=n[I].new)>=32768)for(a.push(0),w.push(2*(f.length+x-d)),r=_=I;I<=c?_<=c:_>=c;r=I<=c?++_:--_)f.push(n[r].new);else a.push(S-I),w.push(0)}for(Q.writeUInt16(3),Q.writeUInt16(1),Q.writeUInt32(12),Q.writeUInt16(4),Q.writeUInt16(16+8*x+2*f.length),Q.writeUInt16(0),Q.writeUInt16(F),Q.writeUInt16(C),Q.writeUInt16(l),Q.writeUInt16(B),V=0,M=u.length;V<M;V++)r=u[V],Q.writeUInt16(r);for(Q.writeUInt16(0),G=0,P=E.length;G<P;G++)r=E[G],Q.writeUInt16(r);for(W=0,H=a.length;W<H;W++)o=a[W],Q.writeUInt16(o);for(z=0,R=w.length;z<R;z++)b=w[z],Q.writeUInt16(b);for(X=0,D=f.length;X<D;X++)h=f[X],Q.writeUInt16(h);return{charMap:n,subtable:Q.data,maxGlyphID:v+1}}},e}(),Rq=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Mq(t,_q),t.prototype.tag='cmap',t.prototype.parse=function(e){var t,n,r;for(e.pos=this.offset,this.version=e.readUInt16(),r=e.readUInt16(),this.tables=[],this.unicode=null,n=0;0<=r?n<r:n>r;n=0<=r?++n:--n)t=new Hq(e,this.offset),this.tables.push(t),t.isUnicode&&null==this.unicode&&(this.unicode=t);return!0},t.encode=function(e,t){var n,r;return null==t&&(t='macroman'),n=Hq.encode(e,t),(r=new Nq).writeUInt16(0),r.writeUInt16(1),n.table=r.data.concat(n.subtable),n},t}(),Dq=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Mq(t,_q),t.prototype.tag='hhea',t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.ascender=e.readShort(),this.decender=e.readShort(),this.lineGap=e.readShort(),this.advanceWidthMax=e.readShort(),this.minLeftSideBearing=e.readShort(),this.minRightSideBearing=e.readShort(),this.xMaxExtent=e.readShort(),this.caretSlopeRise=e.readShort(),this.caretSlopeRun=e.readShort(),this.caretOffset=e.readShort(),e.pos+=8,this.metricDataFormat=e.readShort(),this.numberOfMetrics=e.readUInt16()},t}(),Vq=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Mq(t,_q),t.prototype.tag='OS/2',t.prototype.parse=function(e){if(e.pos=this.offset,this.version=e.readUInt16(),this.averageCharWidth=e.readShort(),this.weightClass=e.readUInt16(),this.widthClass=e.readUInt16(),this.type=e.readShort(),this.ySubscriptXSize=e.readShort(),this.ySubscriptYSize=e.readShort(),this.ySubscriptXOffset=e.readShort(),this.ySubscriptYOffset=e.readShort(),this.ySuperscriptXSize=e.readShort(),this.ySuperscriptYSize=e.readShort(),this.ySuperscriptXOffset=e.readShort(),this.ySuperscriptYOffset=e.readShort(),this.yStrikeoutSize=e.readShort(),this.yStrikeoutPosition=e.readShort(),this.familyClass=e.readShort(),this.panose=function(){var t,n;for(n=[],t=0;t<10;++t)n.push(e.readByte());return n}(),this.charRange=function(){var t,n;for(n=[],t=0;t<4;++t)n.push(e.readInt());return n}(),this.vendorID=e.readString(4),this.selection=e.readShort(),this.firstCharIndex=e.readShort(),this.lastCharIndex=e.readShort(),this.version>0&&(this.ascent=e.readShort(),this.descent=e.readShort(),this.lineGap=e.readShort(),this.winAscent=e.readShort(),this.winDescent=e.readShort(),this.codePageRange=function(){var t,n;for(n=[],t=0;t<2;t=++t)n.push(e.readInt());return n}(),this.version>1))return this.xHeight=e.readShort(),this.capHeight=e.readShort(),this.defaultChar=e.readShort(),this.breakChar=e.readShort(),this.maxContext=e.readShort()},t}(),Gq=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Mq(t,_q),t.prototype.tag='post',t.prototype.parse=function(e){var t,n,r;switch(e.pos=this.offset,this.format=e.readInt(),this.italicAngle=e.readInt(),this.underlinePosition=e.readShort(),this.underlineThickness=e.readShort(),this.isFixedPitch=e.readInt(),this.minMemType42=e.readInt(),this.maxMemType42=e.readInt(),this.minMemType1=e.readInt(),this.maxMemType1=e.readInt(),this.format){case 65536:case 196608:break;case 131072:var i;for(n=e.readUInt16(),this.glyphNameIndex=[],i=0;0<=n?i<n:i>n;i=0<=n?++i:--i)this.glyphNameIndex.push(e.readUInt16());for(this.names=[],r=[];e.pos<this.offset+this.length;)t=e.readByte(),r.push(this.names.push(e.readString(t)));return r;case 151552:return n=e.readUInt16(),this.offsets=e.read(n);case 262144:return this.map=function(){var t,n,r;for(r=[],i=t=0,n=this.file.maxp.numGlyphs;0<=n?t<n:t>n;i=0<=n?++t:--t)r.push(e.readUInt32());return r}.call(this)}},t}(),jq=function(e,t){this.raw=e,this.length=e.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},Wq=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Mq(t,_q),t.prototype.tag='name',t.prototype.parse=function(e){var t,n,r,i,A,o,a,s,c,u,l;for(e.pos=this.offset,e.readShort(),t=e.readShort(),o=e.readShort(),n=[],i=0;0<=t?i<t:i>t;i=0<=t?++i:--i)n.push({platformID:e.readShort(),encodingID:e.readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:this.offset+o+e.readShort()});for(a={},i=c=0,u=n.length;c<u;i=++c)r=n[i],e.pos=r.offset,s=e.readString(r.length),A=new jq(s,r),null==a[l=r.nameID]&&(a[l]=[]),a[r.nameID].push(A);this.strings=a,this.copyright=a[0],this.fontFamily=a[1],this.fontSubfamily=a[2],this.uniqueSubfamily=a[3],this.fontName=a[4],this.version=a[5];try{this.postscriptName=a[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,'')}catch(e){this.postscriptName=a[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,'')}return this.trademark=a[7],this.manufacturer=a[8],this.designer=a[9],this.description=a[10],this.vendorUrl=a[11],this.designerUrl=a[12],this.license=a[13],this.licenseUrl=a[14],this.preferredFamily=a[15],this.preferredSubfamily=a[17],this.compatibleFull=a[18],this.sampleText=a[19]},t}(),zq=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Mq(t,_q),t.prototype.tag='maxp',t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.numGlyphs=e.readUInt16(),this.maxPoints=e.readUInt16(),this.maxContours=e.readUInt16(),this.maxCompositePoints=e.readUInt16(),this.maxComponentContours=e.readUInt16(),this.maxZones=e.readUInt16(),this.maxTwilightPoints=e.readUInt16(),this.maxStorage=e.readUInt16(),this.maxFunctionDefs=e.readUInt16(),this.maxInstructionDefs=e.readUInt16(),this.maxStackElements=e.readUInt16(),this.maxSizeOfInstructions=e.readUInt16(),this.maxComponentElements=e.readUInt16(),this.maxComponentDepth=e.readUInt16()},t}(),Xq=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Mq(t,_q),t.prototype.tag='hmtx',t.prototype.parse=function(e){var t,n,r,i,A,o,a;for(e.pos=this.offset,this.metrics=[],t=0,o=this.file.hhea.numberOfMetrics;0<=o?t<o:t>o;t=0<=o?++t:--t)this.metrics.push({advance:e.readUInt16(),lsb:e.readInt16()});for(r=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var n,i;for(i=[],t=n=0;0<=r?n<r:n>r;t=0<=r?++n:--n)i.push(e.readInt16());return i}(),this.widths=function(){var e,t,n,r;for(r=[],e=0,t=(n=this.metrics).length;e<t;e++)i=n[e],r.push(i.advance);return r}.call(this),n=this.widths[this.widths.length-1],a=[],t=A=0;0<=r?A<r:A>r;t=0<=r?++A:--A)a.push(this.widths.push(n));return a},t.prototype.forGlyph=function(e){return e in this.metrics?this.metrics[e]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[e-this.metrics.length]}},t}(),Kq=[].slice,qq=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Mq(t,_q),t.prototype.tag='glyf',t.prototype.parse=function(){return this.cache={}},t.prototype.glyphFor=function(e){var t,n,r,i,A,o,a,s,c,u;return e in this.cache?this.cache[e]:(i=this.file.loca,t=this.file.contents,n=i.indexOf(e),0===(r=i.lengthOf(e))?this.cache[e]=null:(t.pos=this.offset+n,A=(o=new Nq(t.read(r))).readShort(),s=o.readShort(),u=o.readShort(),a=o.readShort(),c=o.readShort(),this.cache[e]=-1===A?new Zq(o,s,u,a,c):new Yq(o,A,s,u,a,c),this.cache[e]))},t.prototype.encode=function(e,t,n){var r,i,A,o,a;for(A=[],i=[],o=0,a=t.length;o<a;o++)r=e[t[o]],i.push(A.length),r&&(A=A.concat(r.encode(n)));return i.push(A.length),{table:A,offsets:i}},t}(),Yq=function(){function e(e,t,n,r,i,A){this.raw=e,this.numberOfContours=t,this.xMin=n,this.yMin=r,this.xMax=i,this.yMax=A,this.compound=!1}return e.prototype.encode=function(){return this.raw.data},e}(),Zq=function(){function e(e,t,n,r,i){var A,o;for(this.raw=e,this.xMin=t,this.yMin=n,this.xMax=r,this.yMax=i,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],A=this.raw;o=A.readShort(),this.glyphOffsets.push(A.pos),this.glyphIDs.push(A.readUInt16()),32&o;)A.pos+=1&o?4:2,128&o?A.pos+=8:64&o?A.pos+=4:8&o&&(A.pos+=2)}return e.prototype.encode=function(){var e,t,n;for(t=new Nq(Kq.call(this.raw.data)),e=0,n=this.glyphIDs.length;e<n;++e)t.pos=this.glyphOffsets[e];return t.data},e}(),Jq=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Mq(t,_q),t.prototype.tag='loca',t.prototype.parse=function(e){var t,n;return e.pos=this.offset,t=this.file.head.indexToLocFormat,this.offsets=0===t?function(){var t,r;for(r=[],n=0,t=this.length;n<t;n+=2)r.push(2*e.readUInt16());return r}.call(this):function(){var t,r;for(r=[],n=0,t=this.length;n<t;n+=4)r.push(e.readUInt32());return r}.call(this)},t.prototype.indexOf=function(e){return this.offsets[e]},t.prototype.lengthOf=function(e){return this.offsets[e+1]-this.offsets[e]},t.prototype.encode=function(e,t){for(var n=new Uint32Array(this.offsets.length),r=0,i=0,A=0;A<n.length;++A)if(n[A]=r,i<t.length&&t[i]==A){++i,n[A]=r;var o=this.offsets[A],a=this.offsets[A+1]-o;a>0&&(r+=a)}for(var s=new Array(4*n.length),c=0;c<n.length;++c)s[4*c+3]=255&n[c],s[4*c+2]=(65280&n[c])>>8,s[4*c+1]=(16711680&n[c])>>16,s[4*c]=(4278190080&n[c])>>24;return s},t}(),$q=function(){function e(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return e.prototype.generateCmap=function(){var e,t,n,r,i;for(t in r=this.font.cmap.tables[0].codeMap,e={},i=this.subset)n=i[t],e[t]=r[n];return e},e.prototype.glyphsFor=function(e){var t,n,r,i,A,o,a;for(r={},A=0,o=e.length;A<o;A++)r[i=e[A]]=this.font.glyf.glyphFor(i);for(i in t=[],r)(null!=(n=r[i])?n.compound:void 0)&&t.push.apply(t,n.glyphIDs);if(t.length>0)for(i in a=this.glyphsFor(t))n=a[i],r[i]=n;return r},e.prototype.encode=function(e,t){var n,r,i,A,o,a,s,c,u,l,f,d,h,p,g;for(r in n=Rq.encode(this.generateCmap(),'unicode'),A=this.glyphsFor(e),f={0:0},g=n.charMap)f[(a=g[r]).old]=a.new;for(d in l=n.maxGlyphID,A)d in f||(f[d]=l++);return c=function(e){var t,n;for(t in n={},e)n[e[t]]=t;return n}(f),u=Object.keys(c).sort((function(e,t){return e-t})),h=function(){var e,t,n;for(n=[],e=0,t=u.length;e<t;e++)o=u[e],n.push(c[o]);return n}(),i=this.font.glyf.encode(A,h,f),s=this.font.loca.encode(i.offsets,h),p={cmap:this.font.cmap.raw(),glyf:i.table,loca:s,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(t)},this.font.os2.exists&&(p['OS/2']=this.font.os2.raw()),this.font.directory.encode(p)},e}();gK.API.PDFObject=function(){var e;function t(){}return e=function(e,t){return(Array(t+1).join('0')+e).slice(-t)},t.convert=function(n){var r,i,A,o;if(Array.isArray(n))return'['+function(){var e,i,A;for(A=[],e=0,i=n.length;e<i;e++)r=n[e],A.push(t.convert(r));return A}().join(' ')+']';if('string'==typeof n)return'/'+n;if(null!=n?n.isString:void 0)return'('+n+')';if(n instanceof Date)return'(D:'+e(n.getUTCFullYear(),4)+e(n.getUTCMonth(),2)+e(n.getUTCDate(),2)+e(n.getUTCHours(),2)+e(n.getUTCMinutes(),2)+e(n.getUTCSeconds(),2)+'Z)';if('[object Object]'==={}.toString.call(n)){for(i in A=['<<'],n)o=n[i],A.push('/'+i+' '+t.convert(o));return A.push('>>'),A.join('\n')}return''+n},t}();const eY=3.77952755906;let tY;var nY;let rY;var iY;(nY=tY||(tY={}))[nY.LOW=1]='LOW',nY[nY.NORMAL=2]='NORMAL',nY[nY.MEDIUM=3]='MEDIUM',nY[nY.HIGH=7]='HIGH',nY[nY.EXTREME=12]='EXTREME',(iY=rY||(rY={}))[iY.NONE=0]='NONE',iY[iY.SMALL=5]='SMALL',iY[iY.MEDIUM=10]='MEDIUM',iY[iY.LARGE=25]='LARGE';const AY={method:'save',resolution:tY.MEDIUM,page:{margin:rY.NONE,format:'A4',orientation:'portrait'},canvas:{mimeType:'image/jpeg',qualityRatio:1,useCORS:!0,logging:!1},overrides:{}};class oY{constructor(e,t){this.canvas=e,this.options=t,this.pdf=new gK({format:this.options.page.format,orientation:this.options.page.orientation,...this.options.overrides?.pdf,unit:'mm'})}getMarginTopMM(){const e='object'==typeof this.options.page.margin?this.options.page.margin.top:this.options.page.margin;return Number(e)}getMarginLeftMM(){const e='object'==typeof this.options.page.margin?this.options.page.margin.left:this.options.page.margin;return Number(e)}getMarginRightMM(){const e='object'==typeof this.options.page.margin?this.options.page.margin.right:this.options.page.margin;return Number(e)}getMarginBottomMM(){const e='object'==typeof this.options.page.margin?this.options.page.margin.bottom:this.options.page.margin;return Number(e)}getMarginTop(){return this.getMarginTopMM()*eY}getMarginBottom(){return this.getMarginBottomMM()*eY}getMarginLeft(){return this.getMarginLeftMM()*eY}getMarginRight(){return this.getMarginRightMM()*eY}getScale(){return this.options.resolution}getPageHeight(){return this.getPageHeightMM()*eY}getPageHeightMM(){return this.pdf.internal.pageSize.height}getPageWidthMM(){return this.pdf.internal.pageSize.width}getPageWidth(){return this.getPageWidthMM()*eY}getOriginalCanvasWidth(){return this.canvas.width/this.getScale()}getOriginalCanvasHeight(){return this.canvas.height/this.getScale()}getCanvasPageAvailableHeight(){return this.getPageAvailableHeight()*this.getScale()*this.getHorizontalFitFactor()}getPageAvailableWidth(){return this.getPageWidth()-(this.getMarginLeft()+this.getMarginRight())}getPageAvailableHeight(){return this.getPageHeight()-(this.getMarginTop()+this.getMarginBottom())}getPageAvailableWidthMM(){return this.getPageAvailableWidth()/eY}getPageAvailableHeightMM(){return this.getPageAvailableHeight()/eY}getNumberPages(){return Math.ceil(this.canvas.height/this.getCanvasPageAvailableHeight())}getHorizontalFitFactor(){return this.getPageAvailableWidth()<this.getOriginalCanvasWidth()?this.getOriginalCanvasWidth()/this.getPageAvailableWidth():1}getCanvasOffsetY(e){return this.getCanvasPageAvailableHeight()*(e-1)}getCanvasHeightLeft(e){return this.canvas.height-this.getCanvasOffsetY(e)}getCanvasPageHeight(e){if(this.canvas.height<this.getCanvasPageAvailableHeight())return this.canvas.height;const t=this.getCanvasHeightLeft(e);return t<this.getCanvasPageAvailableHeight()?t:this.getCanvasPageAvailableHeight()}getCanvasPageWidth(){return this.canvas.width}createCanvasPage(e){const t=this.getCanvasPageWidth(),n=this.getCanvasPageHeight(e),r=document.createElement('canvas');r.setAttribute('width',String(t)),r.setAttribute('height',String(n));return r.getContext('2d').drawImage(this.canvas,0,this.getCanvasOffsetY(e),this.canvas.width,n,0,0,this.canvas.width,n),r}convert(){let e=1;const t=this.getNumberPages();for(;e<=t;){e>1&&this.pdf.addPage(this.options.page.format,this.options.page.orientation);const t=this.createCanvasPage(e),n=t.toDataURL(this.options.canvas.mimeType,this.options.canvas.qualityRatio);this.pdf.setPage(e),this.pdf.addImage({imageData:n,width:t.width/(this.getScale()*eY*this.getHorizontalFitFactor()),height:t.height/(this.getScale()*eY*this.getHorizontalFitFactor()),x:this.getMarginLeftMM(),y:this.getMarginTopMM()}),e+=1}return this.pdf}}var aY,sY,cY,uY,lY,fY,dY,hY=async(e,t)=>{const n=(e=>e?{...AY,...e,canvas:{...AY.canvas,...e.canvas},page:{...AY.page,...e.page}}:AY)(t),r=(e=>'function'==typeof e?e():e?.current)(e);if(!r)return;const i=await Wz(r,{useCORS:n.canvas.useCORS,logging:n.canvas.logging,scale:n.resolution,...n.overrides?.canvas}),A=new oY(i,n).convert();switch(n.method){case'build':return A;case'open':return window.open(A.output('bloburl'),'_blank'),A;default:{const e=n.filename??`${(new Date).getTime()}.pdf`;return await A.save(e,{returnPromise:!0}),A}}},pY=function(e){var A=e.conversationID,o=e.isNew,a=e.handleSetConversationInfo,s=e.category,c=xe(),u=r(''),l=u[0],f=u[1],d=r([]),h=d[0],p=d[1],g=n(null),m=n(null),v=Le({queryKey:['conversations',A],queryFn:function(){return function(e){return Ne(void 0,void 0,void 0,(function(){return Oe(this,(function(t){switch(t.label){case 0:return[4,XT.get('/chat/conversation/'.concat(e,'/history/'))];case 1:return[2,t.sent().data]}}))}))}(A)},enabled:!1,onSuccess:function(e){e.map((function(e){p((function(t){var n;return Te(Te([],t,!0),[{from:'user',text:e.question},{from:'bot',text:e.response.result,chartData:null===(n=e.response)||void 0===n?void 0:n.chart_metadata,chatID:e.id,like:e.like,dislike:e.dislike}],!1)}))}))},onError:function(e){}}),b=v.isLoading,y=v.status,w=v.error,B=v.refetch;i((function(){p([]),B()}),[A]),i((function(){C()}),[h]);var C=function(){g.current&&(g.current.scrollTop=g.current.scrollHeight)},x=Ue({mutationFn:qT,onSuccess:function(e){c.invalidateQueries('conversations'),!e.error&&e.result&&0!==Object.keys(e.result).length?(p((function(t){return Te(Te([],t,!0),[{from:'bot',text:e.result,chartData:null==e?void 0:e.chart_metadata,chatID:null==e?void 0:e.id}],!1)})),o&&a({conversationID:A,isNew:!1})):p((function(t){return Te(Te([],t,!0),[{from:'error',text:e.error}],!1)}))}});if('loading'===y)return t.createElement('div',{className:'vu-flex vu-h-full vu-justify-center vu-items-center'},t.createElement(wH,{color:'#000',loading:b,size:75,'aria-label':'Loading Spinner','data-testid':'loader'}));if('error'===y)return t.createElement('h1',null,JSON.stringify(w));return t.createElement(t.Fragment,null,t.createElement(mP,{ref:g},t.createElement(gP,null,0===h.length?t.createElement(FH,null):t.createElement(t.Fragment,null,t.createElement(bP,{ref:m},h.map((function(e,n){return'user'===e.from?t.createElement(CP,{key:n,question:e.text}):t.createElement(pP,{key:n,answer:e.text,chartData:null==e?void 0:e.chartData,chatID:null==e?void 0:e.chatID,onError:'error'===e.from,like:e.like,dislike:e.dislike})}))),x.isLoading?t.createElement(sH,null):t.createElement(RP,{handleClickDownloadConversation:function(){hY(m,{filename:'conversation.pdf'})}})))),t.createElement(vP,null,t.createElement(SP,{value:l,placeholder:'Enter Question Here',onChange:function(e){return f(e.target.value)},onClickTextAreaButton:function(){0!==l.length&&(x.mutate({category:s,question:l,conversationID:A}),p((function(e){return Te(Te([],e,!0),[{from:'user',text:l}],!1)})),f(''))},disableTextAreaButton:x.isLoading||0===l.length})))},gY=Tt.div(aY||(aY=Me(['\n vu-flex\n vu-flex-col\n vu-text-left\n vu-grow\n'],['\n vu-flex\n vu-flex-col\n vu-text-left\n vu-grow\n']))),mY=Tt.div(sY||(sY=Me(['\n vu-my-2\n vu-grow\n vu-overflow-y-auto\n vu-h-32\n'],['\n vu-my-2\n vu-grow\n vu-overflow-y-auto\n vu-h-32\n']))),vY=Tt.div(cY||(cY=Me(['\n vu-flex\n vu-justify-between\n vu-items-center\n vu-p-1.5\n ','\n'],['\n vu-flex\n vu-justify-between\n vu-items-center\n vu-p-1.5\n ','\n'])),(function(e){return e.isSelected?'\n vu-bg-gainsboro\n dark:vu-bg-dark_mode-500\n ':'vu-bg-white dark:vu-bg-dark_mode-600'})),bY=Tt.div(uY||(uY=Me(['\n vu-flex\n vu-items-center\n vu-overflow-x-hidden\n'],['\n vu-flex\n vu-items-center\n vu-overflow-x-hidden\n']))),yY=Tt.span(lY||(lY=Me(['\n vu-mr-2\n'],['\n vu-mr-2\n']))),wY=Tt.div(fY||(fY=Me(['\n vu-truncate\n vu-text-sm\n vu-text-center\n vu-cursor-pointer\n'],['\n vu-truncate\n vu-text-sm\n vu-text-center\n vu-cursor-pointer\n']))),BY=Tt(WT)(dY||(dY=Me(['\n vu-z-10\n'],['\n vu-z-10\n']))),CY=Tt.div(FY||(FY=Me(['\n vu-flex\n'],['\n vu-flex\n']))),xY=Tt.div(IY||(IY=Me(['\n vu-flex\n vu-flex-col\n vu-gap-4\n vu-grow\n'],['\n vu-flex\n vu-flex-col\n vu-gap-4\n vu-grow\n'])));Tt.div(EY||(EY=Me(['\n vu-flex\n vu-justify-between\n vu-mb-10\n'],['\n vu-flex\n vu-justify-between\n vu-mb-10\n']))),Tt.div(SY||(SY=Me(['\n vu-flex\n vu-items-center\n'],['\n vu-flex\n vu-items-center\n'])));var FY,IY,EY,SY,QY,UY,LY,kY,_Y,NY,OY,TY,MY,PY,HY=Tt.div(QY||(QY=Me(['\n vu-flex\n vu-h-full\n'],['\n vu-flex\n vu-h-full\n']))),RY=Tt.div(UY||(UY=Me(['\n vu-flex-col\n lg:vu-flex\n lg:vu-relative\n vu-absolute\n vu-inset-0\n vu-h-full\n vu-z-10\n vu-bg-white\n dark:vu-bg-dark_mode-600\n lg:vu-p-0\n vu-p-6\n vu-gap-2\n ','\n'],['\n vu-flex-col\n lg:vu-flex\n lg:vu-relative\n vu-absolute\n vu-inset-0\n vu-h-full\n vu-z-10\n vu-bg-white\n dark:vu-bg-dark_mode-600\n lg:vu-p-0\n vu-p-6\n vu-gap-2\n ','\n'])),(function(e){return e.$isOpen?'vu-flex':'vu-hidden'})),DY=Tt.div(LY||(LY=Me(['\n vu-flex\n lg:vu-hidden\n vu-justify-end\n'],['\n vu-flex\n lg:vu-hidden\n vu-justify-end\n']))),VY=Tt.div(kY||(kY=Me(['\n vu-grow\n lg:vu-w-80\n vu-w-full\n lg:vu-pr-6\n vu-min-w-[20rem]\n'],['\n vu-grow\n lg:vu-w-80\n vu-w-full\n lg:vu-pr-6\n vu-min-w-[20rem]\n']))),GY=Tt.div(_Y||(_Y=Me(['\n vu-h-full\n vu-flex\n vu-flex-col\n'],['\n vu-h-full\n vu-flex\n vu-flex-col\n']))),jY=Tt.div(NY||(NY=Me(['\n vu-flex\n vu-flex-col\n vu-bg-alice_blue\n dark:vu-bg-dark_mode-500\n vu-relative\n vu-py-10\n vu-grow\n'],['\n vu-flex\n vu-flex-col\n vu-bg-alice_blue\n dark:vu-bg-dark_mode-500\n vu-relative\n vu-py-10\n vu-grow\n']))),WY=Tt.div(OY||(OY=Me(['\n vu-flex\n vu-justify-center\n vu-items-center\n vu-h-full\n'],['\n vu-flex\n vu-justify-center\n vu-items-center\n vu-h-full\n']))),zY=Tt.div(TY||(TY=Me(['\n vu-flex\n vu-items-center\n vu-mb-2\n lg:vu-pr-6\n'],['\n vu-flex\n vu-items-center\n vu-mb-2\n lg:vu-pr-6\n']))),XY=Tt.div(MY||(MY=Me(['\n vu-grow\n'],['\n vu-grow\n']))),KY=Tt.div(PY||(PY=Me(['\n vu-mr-2\n'],['\n vu-mr-2\n'])));var qY=function(e){var n=e.handleSetConversationInfo,A=e.searchQuery,o=e.currentConversationInfo,a=r([]),s=a[0],c=a[1],u=xe(),l=Le({queryKey:'conversations',queryFn:function(){return Ne(void 0,void 0,void 0,(function(){return Oe(this,(function(e){switch(e.label){case 0:return[4,XT.get('/chat/conversation/')];case 1:return[2,e.sent().data]}}))}))},enabled:!1}),f=l.isLoading,d=l.status,h=l.data,p=l.refetch;i((function(){var e=function(e,t){return e.filter((function(e){return e.chat_info[0].question.toLowerCase().includes(t.toLowerCase())}))}(null!=h?h:[],A);c(e)}),[h,A]),i((function(){p()}),[o]);var g=Ue({mutationFn:YT,onSuccess:function(e,t){u.invalidateQueries(['conversations',t]),n(),u.invalidateQueries('conversations')}});return'loading'===d?t.createElement(WY,null,t.createElement(wH,{color:'#000',loading:f,size:25,'aria-label':'Loading Spinner','data-testid':'loader'})):'error'===d?t.createElement('h1',null,'Error in Loading Recent Conversations'):t.createElement(gY,null,t.createElement('div',null,'Recent Conversations'),t.createElement(mY,null,null==s?void 0:s.map((function(e,r){return t.createElement(vY,{key:r,isSelected:(null==o?void 0:o.conversationID)===e.id,onClick:function(){return n({conversationID:e.id,isNew:!1})},'data-tooltip-id':'question-tooltip','data-tooltip-content':e.chat_info[0].question},t.createElement(bY,null,t.createElement(yY,null,t.createElement(hn,{svg:_P})),t.createElement(wY,null,e.chat_info[0].question)),(null==o?void 0:o.conversationID)===e.id&&t.createElement(yY,null,t.createElement(gn,{name:'delete',icon:'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M20.1%2C5.6h-3.5v-.8c0-1.54-1.26-2.8-2.8-2.8h-3.6c-1.54%2C0-2.8%2C1.26-2.8%2C2.8v.8H3.9c-.55%2C0-1%2C.45-1%2C1s.45%2C1%2C1%2C1h.8v11.6c0%2C1.54%2C1.26%2C2.8%2C2.8%2C2.8h9c1.54%2C0%2C2.8-1.26%2C2.8-2.8V7.6h.8c.55%2C0%2C1-.45%2C1-1s-.45-1-1-1Zm-10.7-.8c0-.44%2C.36-.8%2C.8-.8h3.6c.44%2C0%2C.8%2C.36%2C.8%2C.8v.8h-5.2v-.8Zm7.9%2C14.4c0%2C.44-.36%2C.8-.8%2C.8H7.5c-.44%2C0-.8-.36-.8-.8V7.6h10.6v11.6Z%22%2F%3E%3Cpath%20d%3D%22M10.2%2C10.1c-.55%2C0-1%2C.45-1%2C1v5.4c0%2C.55%2C.45%2C1%2C1%2C1s1-.45%2C1-1v-5.4c0-.55-.45-1-1-1Z%22%2F%3E%3Cpath%20d%3D%22M13.8%2C10.1c-.55%2C0-1%2C.45-1%2C1v5.4c0%2C.55%2C.45%2C1%2C1%2C1s1-.45%2C1-1v-5.4c0-.55-.45-1-1-1Z%22%2F%3E%3C%2Fsvg%3E',disabled:g.isLoading,onClick:function(t){t.stopPropagation(),g.mutate(e.id)}})))}))),t.createElement(BY,{id:'question-tooltip'}))};function YY(e){var t=function(e,t){if('object'!=qz(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||'default');if('object'!=qz(r))return r;throw new TypeError('@@toPrimitive must return a primitive value.')}return('string'===t?String:Number)(e)}(e,'string');return'symbol'==qz(t)?t:String(t)}function ZY(e,t,n){return(t=YY(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function JY(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $Y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?JY(Object(n),!0).forEach((function(t){ZY(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):JY(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function eZ(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function tZ(e,t){if(e){if('string'==typeof e)return eZ(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return'Object'===n&&e.constructor&&(n=e.constructor.name),'Map'===n||'Set'===n?Array.from(e):'Arguments'===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?eZ(e,t):void 0}}function nZ(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:'undefined'!=typeof Symbol&&e[Symbol.iterator]||e['@@iterator'];if(null!=n){var r,i,A,o,a=[],s=!0,c=!1;try{if(A=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=A.call(n)).done)&&(a.push(r.value),a.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return a}}(e,t)||tZ(e,t)||function(){throw new TypeError('Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.')}()}function rZ(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},A=Object.keys(e);for(r=0;r<A.length;r++)n=A[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(e);for(r=0;r<A.length;r++)n=A[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var iZ=['defaultInputValue','defaultMenuIsOpen','defaultValue','inputValue','menuIsOpen','onChange','onInputChange','onMenuClose','onMenuOpen','value'];function AZ(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,'value'in r&&(r.writable=!0),Object.defineProperty(e,YY(r.key),r)}}function oZ(e){return oZ=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},oZ(e)}function aZ(e,t){if(t&&('object'===qz(t)||'function'==typeof t))return t;if(void 0!==t)throw new TypeError('Derived constructors may only return object or undefined');return function(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}(e)}function sZ(e){var t=function(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=oZ(e);if(t){var i=oZ(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return aZ(this,n)}}function cZ(e){return function(e){if(Array.isArray(e))return eZ(e)}(e)||function(e){if('undefined'!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e['@@iterator'])return Array.from(e)}(e)||tZ(e)||function(){throw new TypeError('Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.')}()}var uZ=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy?'production'===process.env.NODE_ENV:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement('style');return t.setAttribute('data-emotion',e.key),void 0!==e.nonce&&t.setAttribute('nonce',e.nonce),t.appendChild(document.createTextNode('')),t.setAttribute('data-s',''),t}(this));var t=this.tags[this.tags.length-1];if('production'!==process.env.NODE_ENV){var n=64===e.charCodeAt(0)&&105===e.charCodeAt(1);n&&this._alreadyInsertedOrderInsensitiveRule,this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!n}if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(t){'production'!==process.env.NODE_ENV&&/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(e)}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0,'production'!==process.env.NODE_ENV&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),lZ='-ms-',fZ='-moz-',dZ='-webkit-',hZ='comm',pZ='rule',gZ='decl',mZ='@keyframes',vZ=Math.abs,bZ=String.fromCharCode,yZ=Object.assign;function wZ(e){return e.trim()}function BZ(e,t,n){return e.replace(t,n)}function CZ(e,t){return e.indexOf(t)}function xZ(e,t){return 0|e.charCodeAt(t)}function FZ(e,t,n){return e.slice(t,n)}function IZ(e){return e.length}function EZ(e){return e.length}function SZ(e,t){return t.push(e),e}var QZ=1,UZ=1,LZ=0,kZ=0,_Z=0,NZ='';function OZ(e,t,n,r,i,A,o){return{value:e,root:t,parent:n,type:r,props:i,children:A,line:QZ,column:UZ,length:o,return:''}}function TZ(e,t){return yZ(OZ('',null,null,'',null,null,0),e,{length:-e.length},t)}function MZ(){return _Z=kZ>0?xZ(NZ,--kZ):0,UZ--,10===_Z&&(UZ=1,QZ--),_Z}function PZ(){return _Z=kZ<LZ?xZ(NZ,kZ++):0,UZ++,10===_Z&&(UZ=1,QZ++),_Z}function HZ(){return xZ(NZ,kZ)}function RZ(){return kZ}function DZ(e,t){return FZ(NZ,e,t)}function VZ(e){switch(e){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 GZ(e){return QZ=UZ=1,LZ=IZ(NZ=e),kZ=0,[]}function jZ(e){return NZ='',e}function WZ(e){return wZ(DZ(kZ-1,KZ(91===e?e+2:40===e?e+1:e)))}function zZ(e){for(;(_Z=HZ())&&_Z<33;)PZ();return VZ(e)>2||VZ(_Z)>3?'':' '}function XZ(e,t){for(;--t&&PZ()&&!(_Z<48||_Z>102||_Z>57&&_Z<65||_Z>70&&_Z<97););return DZ(e,RZ()+(t<6&&32==HZ()&&32==PZ()))}function KZ(e){for(;PZ();)switch(_Z){case e:return kZ;case 34:case 39:34!==e&&39!==e&&KZ(_Z);break;case 40:41===e&&KZ(e);break;case 92:PZ()}return kZ}function qZ(e,t){for(;PZ()&&e+_Z!==57&&(e+_Z!==84||47!==HZ()););return'/*'+DZ(t,kZ-1)+'*'+bZ(47===e?e:PZ())}function YZ(e){for(;!VZ(HZ());)PZ();return DZ(e,kZ)}function ZZ(e){return jZ(JZ('',null,null,null,[''],e=GZ(e),0,[0],e))}function JZ(e,t,n,r,i,A,o,a,s){for(var c=0,u=0,l=o,f=0,d=0,h=0,p=1,g=1,m=1,v=0,b='',y=i,w=A,B=r,C=b;g;)switch(h=v,v=PZ()){case 40:if(108!=h&&58==xZ(C,l-1)){-1!=CZ(C+=BZ(WZ(v),'&','&\f'),'&\f')&&(m=-1);break}case 34:case 39:case 91:C+=WZ(v);break;case 9:case 10:case 13:case 32:C+=zZ(h);break;case 92:C+=XZ(RZ()-1,7);continue;case 47:switch(HZ()){case 42:case 47:SZ(eJ(qZ(PZ(),RZ()),t,n),s);break;default:C+='/'}break;case 123*p:a[c++]=IZ(C)*m;case 125*p:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==m&&(C=BZ(C,/\f/g,'')),d>0&&IZ(C)-l&&SZ(d>32?tJ(C+';',r,n,l-1):tJ(BZ(C,' ','')+';',r,n,l-2),s);break;case 59:C+=';';default:if(SZ(B=$Z(C,t,n,c,u,i,a,b,y=[],w=[],l),A),123===v)if(0===u)JZ(C,t,B,B,y,A,l,a,w);else switch(99===f&&110===xZ(C,3)?100:f){case 100:case 108:case 109:case 115:JZ(e,B,B,r&&SZ($Z(e,B,B,0,0,i,a,b,i,y=[],l),w),i,w,l,a,r?y:w);break;default:JZ(C,B,B,B,[''],w,0,a,w)}}c=u=d=0,p=m=1,b=C='',l=o;break;case 58:l=1+IZ(C),d=h;default:if(p<1)if(123==v)--p;else if(125==v&&0==p++&&125==MZ())continue;switch(C+=bZ(v),v*p){case 38:m=u>0?1:(C+='\f',-1);break;case 44:a[c++]=(IZ(C)-1)*m,m=1;break;case 64:45===HZ()&&(C+=WZ(PZ())),f=HZ(),u=l=IZ(b=C+=YZ(RZ())),v++;break;case 45:45===h&&2==IZ(C)&&(p=0)}}return A}function $Z(e,t,n,r,i,A,o,a,s,c,u){for(var l=i-1,f=0===i?A:[''],d=EZ(f),h=0,p=0,g=0;h<r;++h)for(var m=0,v=FZ(e,l+1,l=vZ(p=o[h])),b=e;m<d;++m)(b=wZ(p>0?f[m]+' '+v:BZ(v,/&\f/g,f[m])))&&(s[g++]=b);return OZ(e,t,n,0===i?pZ:a,s,c,u)}function eJ(e,t,n){return OZ(e,t,n,hZ,bZ(_Z),FZ(e,2,-2),0)}function tJ(e,t,n,r){return OZ(e,t,n,gZ,FZ(e,0,r),FZ(e,r+1,-1),r)}function nJ(e,t){for(var n='',r=EZ(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||'';return n}function rJ(e,t,n,r){switch(e.type){case'@layer':if(e.children.length)break;case'@import':case gZ:return e.return=e.return||e.value;case hZ:return'';case mZ:return e.return=e.value+'{'+nJ(e.children,r)+'}';case pZ:e.value=e.props.join(',')}return IZ(n=nJ(e.children,r))?e.return=e.value+'{'+n+'}':''}function iJ(e){var t=EZ(e);return function(n,r,i,A){for(var o='',a=0;a<t;a++)o+=e[a](n,r,i,A)||'';return o}}function AJ(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var oJ=function(e,t,n){for(var r=0,i=0;r=i,i=HZ(),38===r&&12===i&&(t[n]=1),!VZ(i);)PZ();return DZ(e,kZ)},aJ=function(e,t){return jZ(function(e,t){var n=-1,r=44;do{switch(VZ(r)){case 0:38===r&&12===HZ()&&(t[n]=1),e[n]+=oJ(kZ-1,t,n);break;case 2:e[n]+=WZ(r);break;case 4:if(44===r){e[++n]=58===HZ()?'&\f':'',t[n]=e[n].length;break}default:e[n]+=bZ(r)}}while(r=PZ());return e}(GZ(e),t))},sJ=new WeakMap,cJ=function(e){if('rule'===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;'rule'!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||sJ.get(n))&&!r){sJ.set(e,!0);for(var i=[],A=aJ(t,i),o=n.props,a=0,s=0;a<A.length;a++)for(var c=0;c<o.length;c++,s++)e.props[s]=i[a]?A[a].replace(/&\f/g,o[c]):o[c]+' '+A[a]}}},uJ=function(e){if('decl'===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return='',e.value='')}},lJ=function(e){return'comm'===e.type&&e.children.indexOf('emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason')>-1},fJ=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},dJ=function(e){e.type='',e.value='',e.return='',e.children='',e.props=''},hJ=function(e,t,n){fJ(e)&&(e.parent||function(e,t){for(var n=e-1;n>=0;n--)if(!fJ(t[n]))return!0;return!1}(t,n))&&dJ(e)};function pJ(e,t){switch(function(e,t){return 45^xZ(e,0)?(((t<<2^xZ(e,0))<<2^xZ(e,1))<<2^xZ(e,2))<<2^xZ(e,3):0}(e,t)){case 5103:return dZ+'print-'+e+e;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 dZ+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return dZ+e+fZ+e+lZ+e+e;case 6828:case 4268:return dZ+e+lZ+e+e;case 6165:return dZ+e+lZ+'flex-'+e+e;case 5187:return dZ+e+BZ(e,/(\w+).+(:[^]+)/,dZ+'box-$1$2'+lZ+'flex-$1$2')+e;case 5443:return dZ+e+lZ+'flex-item-'+BZ(e,/flex-|-self/,'')+e;case 4675:return dZ+e+lZ+'flex-line-pack'+BZ(e,/align-content|flex-|-self/,'')+e;case 5548:return dZ+e+lZ+BZ(e,'shrink','negative')+e;case 5292:return dZ+e+lZ+BZ(e,'basis','preferred-size')+e;case 6060:return dZ+'box-'+BZ(e,'-grow','')+dZ+e+lZ+BZ(e,'grow','positive')+e;case 4554:return dZ+BZ(e,/([^-])(transform)/g,'$1'+dZ+'$2')+e;case 6187:return BZ(BZ(BZ(e,/(zoom-|grab)/,dZ+'$1'),/(image-set)/,dZ+'$1'),e,'')+e;case 5495:case 3959:return BZ(e,/(image-set\([^]*)/,dZ+'$1$`$1');case 4968:return BZ(BZ(e,/(.+:)(flex-)?(.*)/,dZ+'box-pack:$3'+lZ+'flex-pack:$3'),/s.+-b[^;]+/,'justify')+dZ+e+e;case 4095:case 3583:case 4068:case 2532:return BZ(e,/(.+)-inline(.+)/,dZ+'$1$2')+e;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(IZ(e)-1-t>6)switch(xZ(e,t+1)){case 109:if(45!==xZ(e,t+4))break;case 102:return BZ(e,/(.+:)(.+)-([^]+)/,'$1'+dZ+'$2-$3$1'+fZ+(108==xZ(e,t+3)?'$3':'$2-$3'))+e;case 115:return~CZ(e,'stretch')?pJ(BZ(e,'stretch','fill-available'),t)+e:e}break;case 4949:if(115!==xZ(e,t+1))break;case 6444:switch(xZ(e,IZ(e)-3-(~CZ(e,'!important')&&10))){case 107:return BZ(e,':',':'+dZ)+e;case 101:return BZ(e,/(.+:)([^;!]+)(;|!.+)?/,'$1'+dZ+(45===xZ(e,14)?'inline-':'')+'box$3$1'+dZ+'$2$3$1'+lZ+'$2box$3')+e}break;case 5936:switch(xZ(e,t+11)){case 114:return dZ+e+lZ+BZ(e,/[svh]\w+-[tblr]{2}/,'tb')+e;case 108:return dZ+e+lZ+BZ(e,/[svh]\w+-[tblr]{2}/,'tb-rl')+e;case 45:return dZ+e+lZ+BZ(e,/[svh]\w+-[tblr]{2}/,'lr')+e}return dZ+e+lZ+e+e}return e}var gJ='undefined'!=typeof document,mJ=gJ?void 0:function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}}((function(){return AJ((function(){var e={};return function(t){return e[t]}}))})),vJ=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case gZ:e.return=pJ(e.value,e.length);break;case mZ:return nJ([TZ(e,{value:BZ(e.value,'@','@'+dZ)})],r);case pZ:if(e.length)return function(e,t){return e.map(t).join('')}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case':read-only':case':read-write':return nJ([TZ(e,{props:[BZ(t,/:(read-\w+)/,':-moz-$1')]})],r);case'::placeholder':return nJ([TZ(e,{props:[BZ(t,/:(plac\w+)/,':'+dZ+'input-$1')]}),TZ(e,{props:[BZ(t,/:(plac\w+)/,':-moz-$1')]}),TZ(e,{props:[BZ(t,/:(plac\w+)/,lZ+'input-$1')]})],r)}return''}))}}],bJ=function(e){var t=e.key;if('production'!==process.env.NODE_ENV&&!t)throw new Error('You have to configure `key` for your cache. Please make sure it\'s unique (and not equal to \'css\') as it\'s used for linking styles to your cache.\nIf multiple caches share the same key they might "fight" for each other\'s style elements.');if(gJ&&'css'===t){var n=document.querySelectorAll('style[data-emotion]:not([data-s])');Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute('data-emotion').indexOf(' ')&&(document.head.appendChild(e),e.setAttribute('data-s',''))}))}var r=e.stylisPlugins||vJ;if('production'!==process.env.NODE_ENV&&/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var i,A,o={},a=[];gJ&&(i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute('data-emotion').split(' '),n=1;n<t.length;n++)o[t[n]]=!0;a.push(e)})));var s,c=[cJ,uJ];if('production'!==process.env.NODE_ENV&&c.push(function(e){return function(t,n,r){if('rule'===t.type&&!e.compat){var i=t.value.match(/(:first|:nth|:nth-last)-child/g);if(i){for(var A=t.parent?t.parent.children:r,o=A.length-1;o>=0;o--){var a=A[o];if(a.line<t.line)break;if(a.column<t.column){if(lJ(a))return;break}}i.forEach((function(e){}))}}}}({get compat(){return m.compat}}),hJ),gJ){var u,l=[rJ,'production'!==process.env.NODE_ENV?function(e){e.root||(e.return?u.insert(e.return):e.value&&e.type!==hZ&&u.insert(e.value+'{}'))}:(s=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&s(e)})],f=iJ(c.concat(r,l));A=function(e,t,n,r){u=n,'production'!==process.env.NODE_ENV&&void 0!==t.map&&(u={insert:function(e){n.insert(e+t.map)}}),nJ(ZZ(e?e+'{'+t.styles+'}':t.styles),f),r&&(m.inserted[t.name]=!0)}}else{var d=[rJ],h=iJ(c.concat(r,d)),p=mJ(r)(t),g=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=nJ(ZZ(e?e+'{'+t.styles+'}':t.styles),h)),p[n]};A=function(e,t,n,r){var i=t.name,A=g(e,t);return void 0===m.compat?(r&&(m.inserted[i]=!0),'development'===process.env.NODE_ENV&&void 0!==t.map?A+t.map:A):r?void(m.inserted[i]=A):A}}var m={key:t,sheet:new uZ({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:o,registered:{},insert:A};return m.sheet.hydrate(a),m},yJ=or,wJ={};wJ[yJ.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},wJ[yJ.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var BJ='undefined'!=typeof document;function CJ(e,t,n){var r='';return n.split(' ').forEach((function(n){void 0!==e[n]?t.push(e[n]+';'):r+=n+' '})),r}var xJ=function(e,t,n){var r=e.key+'-'+t.name;(!1===n||!1===BJ&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},FJ=function(e,t,n){xJ(e,t,n);var r=e.key+'-'+t.name;if(void 0===e.inserted[t.name]){var i='',A=t;do{var o=e.insert(t===A?'.'+r:'',A,e.sheet,!0);BJ||void 0===o||(i+=o),A=A.next}while(void 0!==A);if(!BJ&&0!==i.length)return i}};var IJ={animationIterationCount:1,aspectRatio: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},EJ=/[A-Z]|^ms/g,SJ=/_EMO_([^_]+?)_([^]*?)_EMO_/g,QJ=function(e){return 45===e.charCodeAt(1)},UJ=function(e){return null!=e&&'boolean'!=typeof e},LJ=AJ((function(e){return QJ(e)?e:e.replace(EJ,'-$&').toLowerCase()})),kJ=function(e,t){switch(e){case'animation':case'animationName':if('string'==typeof t)return t.replace(SJ,(function(e,t,n){return RJ={name:t,styles:n,next:RJ},t}))}return 1===IJ[e]||QJ(e)||'number'!=typeof t||0===t?t:t+'px'};if('production'!==process.env.NODE_ENV){var _J=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,NJ=['normal','none','initial','inherit','unset'],OJ=kJ,TJ={};kJ=function(e,t){if('content'===e&&('string'!=typeof t||-1===NJ.indexOf(t)&&!_J.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&'\''!==t.charAt(0))))throw new Error('You seem to be using a value for \'content\' without quotes, try replacing it with `content: \'"'+t+'"\'`');var n=OJ(e,t);return''===n||QJ(e)||-1===e.indexOf('-')||void 0!==TJ[e]||(TJ[e]=!0),n}}var MJ='Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.';function PJ(e,t,n){if(null==n)return'';if(void 0!==n.__emotion_styles){if('production'!==process.env.NODE_ENV&&'NO_COMPONENT_SELECTOR'===n.toString())throw new Error(MJ);return n}switch(typeof n){case'boolean':return'';case'object':if(1===n.anim)return RJ={name:n.name,styles:n.styles,next:RJ},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)RJ={name:r.name,styles:r.styles,next:RJ},r=r.next;var i=n.styles+';';return'production'!==process.env.NODE_ENV&&void 0!==n.map&&(i+=n.map),i}return function(e,t,n){var r='';if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=PJ(e,t,n[i])+';';else for(var A in n){var o=n[A];if('object'!=typeof o)null!=t&&void 0!==t[o]?r+=A+'{'+t[o]+'}':UJ(o)&&(r+=LJ(A)+':'+kJ(A,o)+';');else{if('NO_COMPONENT_SELECTOR'===A&&'production'!==process.env.NODE_ENV)throw new Error(MJ);if(!Array.isArray(o)||'string'!=typeof o[0]||null!=t&&void 0!==t[o[0]]){var a=PJ(e,t,o);switch(A){case'animation':case'animationName':r+=LJ(A)+':'+a+';';break;default:process.env.NODE_ENV,r+=A+'{'+a+'}'}}else for(var s=0;s<o.length;s++)UJ(o[s])&&(r+=LJ(A)+':'+kJ(A,o[s])+';')}}return r}(e,t,n);case'function':if(void 0!==e){var A=RJ,o=n(e);return RJ=A,PJ(e,t,o)}process.env.NODE_ENV;break;case'string':if('production'!==process.env.NODE_ENV){var a=[];n.replace(SJ,(function(e,t,n){var r='animation'+a.length;return a.push('const '+r+' = keyframes`'+n.replace(/^@keyframes animation-\w+/,'')+'`'),'${'+r+'}'}));a.length}}if(null==t)return n;var s=t[n];return void 0!==s?s:n}var HJ,RJ,DJ=/label:\s*([^\s;\n{]+)\s*(;|$)/g;'production'!==process.env.NODE_ENV&&(HJ=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var VJ=function(e,t,n){if(1===e.length&&'object'==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i='';RJ=void 0;var A,o=e[0];null==o||void 0===o.raw?(r=!1,i+=PJ(n,t,o)):('production'!==process.env.NODE_ENV&&o[0],i+=o[0]);for(var a=1;a<e.length;a++)i+=PJ(n,t,e[a]),r&&('production'!==process.env.NODE_ENV&&o[a],i+=o[a]);'production'!==process.env.NODE_ENV&&(i=i.replace(HJ,(function(e){return A=e,''}))),DJ.lastIndex=0;for(var s,c='';null!==(s=DJ.exec(i));)c+='-'+s[1];var u=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+c;return'production'!==process.env.NODE_ENV?{name:u,styles:i,map:A,next:RJ,toString:function(){return'You have tried to stringify object returned from `css` function. It isn\'t supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).'}}:{name:u,styles:i,next:RJ}},GJ='undefined'!=typeof document,jJ=function(e){return e()},WJ=!!e.useInsertionEffect&&e.useInsertionEffect,zJ=GJ&&WJ||jJ,XJ=WJ||e.useLayoutEffect,KJ='undefined'!=typeof document,qJ={}.hasOwnProperty,YJ=e.createContext('undefined'!=typeof HTMLElement?bJ({key:'css'}):null);'production'!==process.env.NODE_ENV&&(YJ.displayName='EmotionCacheContext'),YJ.Provider;var ZJ=function(e){return u((function(t,n){var r=l(YJ);return e(t,r,n)}))};KJ||(ZJ=function(t){return function(n){var r=l(YJ);return null===r?(r=bJ({key:'css'}),e.createElement(YJ.Provider,{value:r},t(n,r))):t(n,r)}});var JJ=e.createContext({});'production'!==process.env.NODE_ENV&&(JJ.displayName='EmotionThemeContext');var $J=function(e){var t=e.split('.');return t[t.length-1]},e$=function(e){var t=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(e);return t||(t=/^([A-Za-z0-9$.]+)@/.exec(e))?$J(t[1]):void 0},t$=new Set(['renderWithHooks','processChild','finishClassComponent','renderToString']),n$=function(e){return e.replace(/\$/g,'-')},r$='__EMOTION_TYPE_PLEASE_DO_NOT_USE__',i$='__EMOTION_LABEL_PLEASE_DO_NOT_USE__',A$=function(e,t){if('production'!==process.env.NODE_ENV&&'string'==typeof t.css&&-1!==t.css.indexOf(':'))throw new Error('Strings are not allowed as css prop values, please wrap it in a css template literal from \'@emotion/react\' like this: css`'+t.css+'`');var n={};for(var r in t)qJ.call(t,r)&&(n[r]=t[r]);if(n[r$]=e,'production'!==process.env.NODE_ENV&&t.css&&('object'!=typeof t.css||'string'!=typeof t.css.name||-1===t.css.name.indexOf('-'))){var i=function(e){if(e)for(var t=e.split('\n'),n=0;n<t.length;n++){var r=e$(t[n]);if(r){if(t$.has(r))break;if(/^[A-Z]/.test(r))return n$(r)}}}((new Error).stack);i&&(n[i$]=i)}return n},o$=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;xJ(n,r,i);var A=zJ((function(){return FJ(n,r,i)}));if(!KJ&&void 0!==A){for(var o,a=r.name,s=r.next;void 0!==s;)a+=' '+s.name,s=s.next;return e.createElement('style',((o={})['data-emotion']=n.key+' '+a,o.dangerouslySetInnerHTML={__html:A},o.nonce=n.sheet.nonce,o))}return null},a$=ZJ((function(t,n,r){var i=t.css;'string'==typeof i&&void 0!==n.registered[i]&&(i=n.registered[i]);var A=t[r$],o=[i],a='';'string'==typeof t.className?a=CJ(n.registered,o,t.className):null!=t.className&&(a=t.className+' ');var s=VJ(o,void 0,e.useContext(JJ));if('production'!==process.env.NODE_ENV&&-1===s.name.indexOf('-')){var c=t[i$];c&&(s=VJ([s,'label:'+c+';']))}a+=n.key+'-'+s.name;var u={};for(var l in t)!qJ.call(t,l)||'css'===l||l===r$||'production'!==process.env.NODE_ENV&&l===i$||(u[l]=t[l]);return u.ref=r,u.className=a,e.createElement(e.Fragment,null,e.createElement(o$,{cache:n,serialized:s,isStringTag:'string'==typeof A}),e.createElement(A,u))}));'production'!==process.env.NODE_ENV&&(a$.displayName='EmotionCssPropInternal');var s$=a$,c$=function(t,n){var r=arguments;if(null==n||!qJ.call(n,'css'))return e.createElement.apply(void 0,r);var i=r.length,A=new Array(i);A[0]=s$,A[1]=A$(t,n);for(var o=2;o<i;o++)A[o]=r[o];return e.createElement.apply(null,A)},u$=!1,l$=ZJ((function(t,n){'production'===process.env.NODE_ENV||u$||!t.className&&!t.css||(u$=!0);var r=t.styles,i=VJ([r],void 0,e.useContext(JJ));if(!KJ){for(var A,o=i.name,a=i.styles,s=i.next;void 0!==s;)o+=' '+s.name,a+=s.styles,s=s.next;var c=!0===n.compat,u=n.insert('',{name:o,styles:a},n.sheet,c);return c?null:e.createElement('style',((A={})['data-emotion']=n.key+'-global '+o,A.dangerouslySetInnerHTML={__html:u},A.nonce=n.sheet.nonce,A))}var l=e.useRef();return XJ((function(){var e=n.key+'-global',t=new n.sheet.constructor({key:e,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy}),r=!1,A=document.querySelector('style[data-emotion="'+e+' '+i.name+'"]');return n.sheet.tags.length&&(t.before=n.sheet.tags[0]),null!==A&&(r=!0,A.setAttribute('data-emotion',e),t.hydrate([A])),l.current=[t,r],function(){t.flush()}}),[n]),XJ((function(){var e=l.current,t=e[0];if(e[1])e[1]=!1;else{if(void 0!==i.next&&FJ(n,i.next,!0),t.tags.length){var r=t.tags[t.tags.length-1].nextElementSibling;t.before=r,t.flush()}n.insert('',i,t,!1)}}),[n,i.name]),null}));function f$(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return VJ(t)}'production'!==process.env.NODE_ENV&&(l$.displayName='EmotionGlobal');var d$=function e(t){for(var n=t.length,r=0,i='';r<n;r++){var A=t[r];if(null!=A){var o=void 0;switch(typeof A){case'boolean':break;case'object':if(Array.isArray(A))o=e(A);else for(var a in'production'!==process.env.NODE_ENV&&void 0!==A.styles&&A.name,o='',A)A[a]&&a&&(o&&(o+=' '),o+=a);break;default:o=A}o&&(i&&(i+=' '),i+=o)}}return i};var h$=function(t){var n,r=t.cache,i=t.serializedArr,A=zJ((function(){for(var e='',t=0;t<i.length;t++){var n=FJ(r,i[t],!1);KJ||void 0===n||(e+=n)}if(!KJ)return e}));return KJ||0===A.length?null:e.createElement('style',((n={})['data-emotion']=r.key+' '+i.map((function(e){return e.name})).join(' '),n.dangerouslySetInnerHTML={__html:A},n.nonce=r.sheet.nonce,n))},p$=ZJ((function(t,n){var r=!1,i=[],A=function(){if(r&&'production'!==process.env.NODE_ENV)throw new Error('css can only be used during render');for(var e=arguments.length,t=new Array(e),A=0;A<e;A++)t[A]=arguments[A];var o=VJ(t,n.registered);return i.push(o),xJ(n,o,!1),n.key+'-'+o.name},o={css:A,cx:function(){if(r&&'production'!==process.env.NODE_ENV)throw new Error('cx can only be used during render');for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return function(e,t,n){var r=[],i=CJ(e,r,n);return r.length<2?n:i+t(r)}(n.registered,A,d$(t))},theme:e.useContext(JJ)},a=t.children(o);return r=!0,e.createElement(e.Fragment,null,e.createElement(h$,{cache:n,serializedArr:i}),a)}));if('production'!==process.env.NODE_ENV&&(p$.displayName='EmotionClassNames'),'production'!==process.env.NODE_ENV){var g$='undefined'!=typeof document,m$='undefined'!=typeof jest||'undefined'!=typeof vi;if(g$&&!m$){var v$='undefined'!=typeof globalThis?globalThis:g$?window:global,b$='__EMOTION_REACT_'+'11.11.1'.split('.')[0]+'__';v$[b$],v$[b$]=!0}}var y$='undefined'!=typeof document?c:i,w$=['className','clearValue','cx','getStyles','getClassNames','getValue','hasValue','isMulti','isRtl','options','selectOption','selectProps','setValue','theme'],B$=function(){};function C$(e,t){return t?'-'===t[0]?e+t:e+'__'+t:e}function x$(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var A=[].concat(r);if(t&&e)for(var o in t)t.hasOwnProperty(o)&&t[o]&&A.push(''.concat(C$(e,o)));return A.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(' ')}var F$=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):'object'===qz(e)&&null!==e?[e]:[];var t},I$=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,$Y({},rZ(e,w$))},E$=function(e,t,n){var r=e.cx,i=e.getStyles,A=e.getClassNames,o=e.className;return{css:i(t,e),className:r(null!=n?n:{},A(t,e),o)}};function S$(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Q$(e){return S$(e)?window.pageYOffset:e.scrollTop}function U$(e,t){S$(e)?window.scrollTo(0,t):e.scrollTop=t}function L$(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:B$,i=Q$(e),A=t-i,o=0;!function t(){var a=function(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}(o+=10,i,A,n);U$(e,a),o<n?window.requestAnimationFrame(t):r(e)}()}function k$(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?U$(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&U$(e,Math.max(t.offsetTop-i,0))}function _$(){try{return document.createEvent('TouchEvent'),!0}catch(e){return!1}}var N$=!1,O$={get passive(){return N$=!0}},T$='undefined'!=typeof window?window:{};T$.addEventListener&&T$.removeEventListener&&(T$.addEventListener('p',B$,O$),T$.removeEventListener('p',B$,!1));var M$=N$;function P$(e){return null!=e}function H$(e,t,n){return e?t:n}var R$=['children','innerProps'],D$=['children','innerProps'];function V$(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,A=e.shouldScroll,o=e.isFixedPosition,a=e.controlHeight,s=function(e){var t=getComputedStyle(e),n='absolute'===t.position,r=/(auto|scroll)/;if('fixed'===t.position)return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||'static'!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}(n),c={placement:'bottom',maxHeight:t};if(!n||!n.offsetParent)return c;var u,l=s.getBoundingClientRect().height,f=n.getBoundingClientRect(),d=f.bottom,h=f.height,p=f.top,g=n.offsetParent.getBoundingClientRect().top,m=o?window.innerHeight:S$(u=s)?window.innerHeight:u.clientHeight,v=Q$(s),b=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),w=g-y,B=m-p,C=w+v,x=l-v-p,F=d-m+v+b,I=v+p-y,E=160;switch(i){case'auto':case'bottom':if(B>=h)return{placement:'bottom',maxHeight:t};if(x>=h&&!o)return A&&L$(s,F,E),{placement:'bottom',maxHeight:t};if(!o&&x>=r||o&&B>=r)return A&&L$(s,F,E),{placement:'bottom',maxHeight:o?B-b:x-b};if('auto'===i||o){var S=t,Q=o?w:C;return Q>=r&&(S=Math.min(Q-b-a,t)),{placement:'top',maxHeight:S}}if('bottom'===i)return A&&U$(s,F),{placement:'bottom',maxHeight:t};break;case'top':if(w>=h)return{placement:'top',maxHeight:t};if(C>=h&&!o)return A&&L$(s,I,E),{placement:'top',maxHeight:t};if(!o&&C>=r||o&&w>=r){var U=t;return(!o&&C>=r||o&&w>=r)&&(U=o?w-y:C-y),A&&L$(s,I,E),{placement:'top',maxHeight:U}}return{placement:'bottom',maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}var G$,j$=function(e){return'auto'===e?'bottom':e},W$=h(null),z$=function(e){var t=e.children,i=e.minMenuHeight,A=e.maxMenuHeight,o=e.menuPlacement,a=e.menuPosition,s=e.menuShouldScrollIntoView,c=e.theme,u=(l(W$)||{}).setPortalPlacement,f=n(null),d=nZ(r(A),2),h=d[0],p=d[1],g=nZ(r(null),2),m=g[0],v=g[1],b=c.spacing.controlHeight;return y$((function(){var e=f.current;if(e){var t='fixed'===a,n=V$({maxHeight:A,menuEl:e,minHeight:i,placement:o,shouldScroll:s&&!t,isFixedPosition:t,controlHeight:b});p(n.maxHeight),v(n.placement),null==u||u(n.placement)}}),[A,o,a,s,i,u,b]),t({ref:f,placerProps:$Y($Y({},e),{},{placement:m||j$(o),maxHeight:h})})},X$=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return c$('div',Q({},E$(e,'menu',{menu:!0}),{ref:n},r),t)},K$=function(e,t){var n=e.theme,r=n.spacing.baseUnit,i=n.colors;return $Y({textAlign:'center'},t?{}:{color:i.neutral40,padding:''.concat(2*r,'px ').concat(3*r,'px')})},q$=K$,Y$=K$,Z$=['size'],J$=['innerProps','isRtl','size'];var $$,e0,t0='production'===process.env.NODE_ENV?{name:'8mmkcg',styles:'display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0'}:{name:'tj5bde-Svg',styles:'display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;',map:'/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3Z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HRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */',toString:function(){return'You have tried to stringify object returned from `css` function. It isn\'t supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).'}},n0=function(e){var t=e.size,n=rZ(e,Z$);return c$('svg',Q({height:t,width:t,viewBox:'0 0 20 20','aria-hidden':'true',focusable:'false',css:t0},n))},r0=function(e){return c$(n0,Q({size:20},e),c$('path',{d:'M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z'}))},i0=function(e){return c$(n0,Q({size:20},e),c$('path',{d:'M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z'}))},A0=function(e,t){var n=e.isFocused,r=e.theme,i=r.spacing.baseUnit,A=r.colors;return $Y({label:'indicatorContainer',display:'flex',transition:'color 150ms'},t?{}:{color:n?A.neutral60:A.neutral20,padding:2*i,':hover':{color:n?A.neutral80:A.neutral40}})},o0=A0,a0=A0,s0=function(){var e=f$.apply(void 0,arguments),t='animation-'+e.name;return{name:t,styles:'@keyframes '+t+'{'+e.styles+'}',anim:1,toString:function(){return'_EMO_'+this.name+'_'+this.styles+'_EMO_'}}}(G$||($$=['\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n'],e0||(e0=$$.slice(0)),G$=Object.freeze(Object.defineProperties($$,{raw:{value:Object.freeze(e0)}})))),c0=function(e){var t=e.delay,n=e.offset;return c$('span',{css:f$({animation:''.concat(s0,' 1s ease-in-out ').concat(t,'ms infinite;'),backgroundColor:'currentColor',borderRadius:'1em',display:'inline-block',marginLeft:n?'1em':void 0,height:'1em',verticalAlign:'top',width:'1em'},'production'===process.env.NODE_ENV?'':';label:LoadingDot;','production'===process.env.NODE_ENV?'':'/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZ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PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */')})},u0=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.innerRef,A=e.innerProps,o=e.menuIsOpen;return c$('div',Q({ref:i},E$(e,'control',{control:!0,'control--is-disabled':n,'control--is-focused':r,'control--menu-is-open':o}),A,{'aria-disabled':n||void 0}),t)},l0=['data'],f0=function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.getClassNames,A=e.Heading,o=e.headingProps,a=e.innerProps,s=e.label,c=e.theme,u=e.selectProps;return c$('div',Q({},E$(e,'group',{group:!0}),a),c$(A,Q({},o,{selectProps:u,theme:c,getStyles:r,getClassNames:i,cx:n}),s),c$('div',null,t))},d0=['innerRef','isDisabled','isHidden','inputClassName'],h0={gridArea:'1 / 2',font:'inherit',minWidth:'2px',border:0,margin:0,outline:0,padding:0},p0={flex:'1 1 auto',display:'inline-grid',gridArea:'1 / 1 / 2 / 3',gridTemplateColumns:'0 min-content','&:after':$Y({content:'attr(data-value) " "',visibility:'hidden',whiteSpace:'pre'},h0)},g0=function(e){return $Y({label:'input',color:'inherit',background:0,opacity:e?0:1,width:'100%'},h0)},m0=function(e){var t=e.children,n=e.innerProps;return c$('div',n,t)};var v0=function(e){var t=e.children,n=e.components,r=e.data,i=e.innerProps,A=e.isDisabled,o=e.removeProps,a=e.selectProps,s=n.Container,c=n.Label,u=n.Remove;return c$(s,{data:r,innerProps:$Y($Y({},E$(e,'multiValue',{'multi-value':!0,'multi-value--is-disabled':A})),i),selectProps:a},c$(c,{data:r,innerProps:$Y({},E$(e,'multiValueLabel',{'multi-value__label':!0})),selectProps:a},t),c$(u,{data:r,innerProps:$Y($Y({},E$(e,'multiValueRemove',{'multi-value__remove':!0})),{},{'aria-label':'Remove '.concat(t||'option')},o),selectProps:a}))},b0={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return c$('div',Q({},E$(e,'clearIndicator',{indicator:!0,'clear-indicator':!0}),n),t||c$(r0,null))},Control:u0,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return c$('div',Q({},E$(e,'dropdownIndicator',{indicator:!0,'dropdown-indicator':!0}),n),t||c$(i0,null))},DownChevron:i0,CrossIcon:r0,Group:f0,GroupHeading:function(e){var t=I$(e);t.data;var n=rZ(t,l0);return c$('div',Q({},E$(e,'groupHeading',{'group-heading':!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return c$('div',Q({},E$(e,'indicatorsContainer',{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return c$('span',Q({},t,E$(e,'indicatorSeparator',{'indicator-separator':!0})))},Input:function(e){var t=e.cx,n=e.value,r=I$(e),i=r.innerRef,A=r.isDisabled,o=r.isHidden,a=r.inputClassName,s=rZ(r,d0);return c$('div',Q({},E$(e,'input',{'input-container':!0}),{'data-value':n||''}),c$('input',Q({className:t({input:!0},a),ref:i,style:g0(o),disabled:A},s)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,i=void 0===r?4:r,A=rZ(e,J$);return c$('div',Q({},E$($Y($Y({},A),{},{innerProps:t,isRtl:n,size:i}),'loadingIndicator',{indicator:!0,'loading-indicator':!0}),t),c$(c0,{delay:0,offset:n}),c$(c0,{delay:160,offset:!0}),c$(c0,{delay:320,offset:!n}))},Menu:X$,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,i=e.isMulti;return c$('div',Q({},E$(e,'menuList',{'menu-list':!0,'menu-list--is-multi':i}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,i=e.children,A=e.controlElement,a=e.innerProps,s=e.menuPlacement,c=e.menuPosition,u=n(null),l=n(null),d=nZ(r(j$(s)),2),h=d[0],p=d[1],g=f((function(){return{setPortalPlacement:p}}),[]),m=nZ(r(null),2),v=m[0],b=m[1],y=o((function(){if(A){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(A),t='fixed'===c?0:window.pageYOffset,n=e[h]+t;n===(null==v?void 0:v.offset)&&e.left===(null==v?void 0:v.rect.left)&&e.width===(null==v?void 0:v.rect.width)||b({offset:n,rect:e})}}),[A,c,h,null==v?void 0:v.offset,null==v?void 0:v.rect.left,null==v?void 0:v.rect.width]);y$((function(){y()}),[y]);var B=o((function(){'function'==typeof l.current&&(l.current(),l.current=null),A&&u.current&&(l.current=FT(A,u.current,y,{elementResize:'ResizeObserver'in window}))}),[A,y]);y$((function(){B()}),[B]);var C=o((function(e){u.current=e,B()}),[B]);if(!t&&'fixed'!==c||!v)return null;var x=c$('div',Q({ref:C},E$($Y($Y({},e),{},{offset:v.offset,position:c,rect:v.rect}),'menuPortal',{'menu-portal':!0}),a),i);return c$(W$.Provider,{value:g},t?w(x,t):x)},LoadingMessage:function(e){var t=e.children,n=void 0===t?'Loading...':t,r=e.innerProps,i=rZ(e,D$);return c$('div',Q({},E$($Y($Y({},i),{},{children:n,innerProps:r}),'loadingMessage',{'menu-notice':!0,'menu-notice--loading':!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?'No options':t,r=e.innerProps,i=rZ(e,R$);return c$('div',Q({},E$($Y($Y({},i),{},{children:n,innerProps:r}),'noOptionsMessage',{'menu-notice':!0,'menu-notice--no-options':!0}),r),n)},MultiValue:v0,MultiValueContainer:m0,MultiValueLabel:m0,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return c$('div',Q({role:'button'},n),t||c$(r0,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.isSelected,A=e.innerRef,o=e.innerProps;return c$('div',Q({},E$(e,'option',{option:!0,'option--is-disabled':n,'option--is-focused':r,'option--is-selected':i}),{ref:A,'aria-disabled':n},o),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return c$('div',Q({},E$(e,'placeholder',{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,i=e.isRtl;return c$('div',Q({},E$(e,'container',{'--is-disabled':r,'--is-rtl':i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return c$('div',Q({},E$(e,'singleValue',{'single-value':!0,'single-value--is-disabled':n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,i=e.hasValue;return c$('div',Q({},E$(e,'valueContainer',{'value-container':!0,'value-container--is-multi':r,'value-container--has-value':i}),n),t)}},y0=Number.isNaN||function(e){return'number'==typeof e&&e!=e};function w0(e,t){return e===t||!(!y0(e)||!y0(t))}function B0(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!w0(e[n],t[n]))return!1;return!0}for(var C0='production'===process.env.NODE_ENV?{name:'7pg0cj-a11yText',styles:'label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap'}:{name:'1f43avz-a11yText-A11yText',styles:'label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;',map:'/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */',toString:function(){return'You have tried to stringify object returned from `css` function. It isn\'t supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).'}},x0=function(e){return c$('span',Q({css:C0},e))},F0={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,i=e.context,A=e.isInitialFocus;switch(i){case'menu':return'Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu'.concat(r?', press Tab to select the option and exit the menu':'','.');case'input':return A?''.concat(e['aria-label']||'Select',' is focused ').concat(t?',type to refine list':'',', press Down to open the menu, ').concat(n?' press left to focus selected values':''):'';case'value':return'Use left and right to toggle between focused values, press Backspace to remove the currently focused value';default:return''}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?'':n,i=e.labels,A=e.isDisabled;switch(t){case'deselect-option':case'pop-value':case'remove-value':return'option '.concat(r,', deselected.');case'clear':return'All selected options have been cleared.';case'initial-input-focus':return'option'.concat(i.length>1?'s':'',' ').concat(i.join(','),', selected.');case'select-option':return'option '.concat(r,A?' is disabled. Select another option.':', selected.');default:return''}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,i=e.label,A=void 0===i?'':i,o=e.selectValue,a=e.isDisabled,s=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?''.concat(e.indexOf(t)+1,' of ').concat(e.length):''};if('value'===t&&o)return'value '.concat(A,' focused, ').concat(u(o,n),'.');if('menu'===t&&c){var l=a?' disabled':'',f=''.concat(s?' selected':'').concat(l);return''.concat(A).concat(f,', ').concat(u(r,n),'.')}return''},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return''.concat(n).concat(t?' for search term '+t:'','.')}},I0=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,i=e.focusableOptions,A=e.isFocused,o=e.selectValue,a=e.selectProps,s=e.id,c=e.isAppleDevice,u=a.ariaLiveMessages,l=a.getOptionLabel,d=a.inputValue,h=a.isMulti,p=a.isOptionDisabled,g=a.isSearchable,v=a.menuIsOpen,b=a.options,y=a.screenReaderStatus,w=a.tabSelectsValue,B=a.isLoading,C=a['aria-label'],x=a['aria-live'],F=f((function(){return $Y($Y({},F0),u||{})}),[u]),I=f((function(){var e,n='';if(t&&F.onChange){var r=t.option,i=t.options,A=t.removedValue,a=t.removedValues,s=t.value,c=A||r||(e=s,Array.isArray(e)?null:e),u=c?l(c):'',f=i||a||void 0,d=f?f.map(l):[],h=$Y({isDisabled:c&&p(c,o),label:u,labels:d},t);n=F.onChange(h)}return n}),[t,F,p,o,l]),E=f((function(){var e='',t=n||r,A=!!(n&&o&&o.includes(n));if(t&&F.onFocus){var a={focused:t,label:l(t),isDisabled:p(t,o),isSelected:A,options:i,context:t===n?'menu':'value',selectValue:o,isAppleDevice:c};e=F.onFocus(a)}return e}),[n,r,l,p,F,i,o,c]),S=f((function(){var e='';if(v&&b.length&&!B&&F.onFilter){var t=y({count:i.length});e=F.onFilter({inputValue:d,resultsMessage:t})}return e}),[i,d,v,F,b,y,B]),Q='initial-input-focus'===(null==t?void 0:t.action),U=f((function(){var e='';if(F.guidance){var t=r?'value':v?'menu':'input';e=F.guidance({'aria-label':C,context:t,isDisabled:n&&p(n,o),isMulti:h,isSearchable:g,tabSelectsValue:w,isInitialFocus:Q})}return e}),[C,n,r,h,p,g,v,F,o,w,Q]),L=c$(m,null,c$('span',{id:'aria-selection'},I),c$('span',{id:'aria-focused'},E),c$('span',{id:'aria-results'},S),c$('span',{id:'aria-guidance'},U));return c$(m,null,c$(x0,{id:s},Q&&L),c$(x0,{'aria-live':x,'aria-atomic':'false','aria-relevant':'additions text',role:'log'},A&&!Q&&L))},E0=[{base:'A',letters:'AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ'},{base:'AA',letters:'Ꜳ'},{base:'AE',letters:'ÆǼǢ'},{base:'AO',letters:'Ꜵ'},{base:'AU',letters:'Ꜷ'},{base:'AV',letters:'ꜸꜺ'},{base:'AY',letters:'Ꜽ'},{base:'B',letters:'BⒷBḂḄḆɃƂƁ'},{base:'C',letters:'CⒸCĆĈĊČÇḈƇȻꜾ'},{base:'D',letters:'DⒹDḊĎḌḐḒḎĐƋƊƉꝹ'},{base:'DZ',letters:'DZDŽ'},{base:'Dz',letters:'DzDž'},{base:'E',letters:'EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ'},{base:'F',letters:'FⒻFḞƑꝻ'},{base:'G',letters:'GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ'},{base:'H',letters:'HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ'},{base:'I',letters:'IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ'},{base:'J',letters:'JⒿJĴɈ'},{base:'K',letters:'KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ'},{base:'L',letters:'LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ'},{base:'LJ',letters:'LJ'},{base:'Lj',letters:'Lj'},{base:'M',letters:'MⓂMḾṀṂⱮƜ'},{base:'N',letters:'NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ'},{base:'NJ',letters:'NJ'},{base:'Nj',letters:'Nj'},{base:'O',letters:'OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ'},{base:'OI',letters:'Ƣ'},{base:'OO',letters:'Ꝏ'},{base:'OU',letters:'Ȣ'},{base:'P',letters:'PⓅPṔṖƤⱣꝐꝒꝔ'},{base:'Q',letters:'QⓆQꝖꝘɊ'},{base:'R',letters:'RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ'},{base:'S',letters:'SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ'},{base:'T',letters:'TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ'},{base:'TZ',letters:'Ꜩ'},{base:'U',letters:'UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ'},{base:'V',letters:'VⓋVṼṾƲꝞɅ'},{base:'VY',letters:'Ꝡ'},{base:'W',letters:'WⓌWẀẂŴẆẄẈⱲ'},{base:'X',letters:'XⓍXẊẌ'},{base:'Y',letters:'YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ'},{base:'Z',letters:'ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ'},{base:'a',letters:'aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ'},{base:'aa',letters:'ꜳ'},{base:'ae',letters:'æǽǣ'},{base:'ao',letters:'ꜵ'},{base:'au',letters:'ꜷ'},{base:'av',letters:'ꜹꜻ'},{base:'ay',letters:'ꜽ'},{base:'b',letters:'bⓑbḃḅḇƀƃɓ'},{base:'c',letters:'cⓒcćĉċčçḉƈȼꜿↄ'},{base:'d',letters:'dⓓdḋďḍḑḓḏđƌɖɗꝺ'},{base:'dz',letters:'dzdž'},{base:'e',letters:'eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ'},{base:'f',letters:'fⓕfḟƒꝼ'},{base:'g',letters:'gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ'},{base:'h',letters:'hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ'},{base:'hv',letters:'ƕ'},{base:'i',letters:'iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı'},{base:'j',letters:'jⓙjĵǰɉ'},{base:'k',letters:'kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ'},{base:'l',letters:'lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ'},{base:'lj',letters:'lj'},{base:'m',letters:'mⓜmḿṁṃɱɯ'},{base:'n',letters:'nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ'},{base:'nj',letters:'nj'},{base:'o',letters:'oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ'},{base:'oi',letters:'ƣ'},{base:'ou',letters:'ȣ'},{base:'oo',letters:'ꝏ'},{base:'p',letters:'pⓟpṕṗƥᵽꝑꝓꝕ'},{base:'q',letters:'qⓠqɋꝗꝙ'},{base:'r',letters:'rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ'},{base:'s',letters:'sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ'},{base:'t',letters:'tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ'},{base:'tz',letters:'ꜩ'},{base:'u',letters:'uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ'},{base:'v',letters:'vⓥvṽṿʋꝟʌ'},{base:'vy',letters:'ꝡ'},{base:'w',letters:'wⓦwẁẃŵẇẅẘẉⱳ'},{base:'x',letters:'xⓧxẋẍ'},{base:'y',letters:'yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ'},{base:'z',letters:'zⓩzźẑżžẓẕƶȥɀⱬꝣ'}],S0=new RegExp('['+E0.map((function(e){return e.letters})).join('')+']','g'),Q0={},U0=0;U0<E0.length;U0++)for(var L0=E0[U0],k0=0;k0<L0.letters.length;k0++)Q0[L0.letters[k0]]=L0.base;var _0=function(e){return e.replace(S0,(function(e){return Q0[e]}))},N0=function(e,t){void 0===t&&(t=B0);var n=null;function r(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var A=e.apply(this,r);return n={lastResult:A,lastArgs:r,lastThis:this},A}return r.clear=function(){n=null},r}(_0),O0=function(e){return e.replace(/^\s+|\s+$/g,'')},T0=function(e){return''.concat(e.label,' ').concat(e.value)},M0=['innerRef'];function P0(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=Object.entries(e).filter((function(e){var t=nZ(e,1)[0];return!n.includes(t)}));return i.reduce((function(e,t){var n=nZ(t,2),r=n[0],i=n[1];return e[r]=i,e}),{})}(rZ(e,M0),'onExited','in','enter','exit','appear');return c$('input',Q({ref:t},n,{css:f$({label:'dummyInput',background:0,border:0,caretColor:'transparent',fontSize:'inherit',gridArea:'1 / 1 / 2 / 3',outline:0,padding:0,width:1,color:'transparent',left:-100,opacity:0,position:'relative',transform:'scale(.01)'},'production'===process.env.NODE_ENV?'':';label:DummyInput;','production'===process.env.NODE_ENV?'':'/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUm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wYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */')}))}var H0=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};var R0=['boxSizing','height','overflow','paddingRight','position'],D0={boxSizing:'border-box',overflow:'hidden',position:'relative',height:'100%'};function V0(e){e.preventDefault()}function G0(e){e.stopPropagation()}function j0(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function W0(){return'ontouchstart'in window||navigator.maxTouchPoints}var z0=!('undefined'==typeof window||!window.document||!window.document.createElement),X0=0,K0={capture:!1,passive:!1};var q0=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Y0='production'===process.env.NODE_ENV?{name:'1kfdb0e',styles:'position:fixed;left:0;bottom:0;right:0;top:0'}:{name:'bp8cua-ScrollManager',styles:'position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;',map:'/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm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iAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */',toString:function(){return'You have tried to stringify object returned from `css` function. It isn\'t supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).'}};function Z0(e){var t=e.children,r=e.lockEnabled,A=e.captureEnabled,a=function(e){var t=e.isEnabled,r=e.onBottomArrive,A=e.onBottomLeave,a=e.onTopArrive,s=e.onTopLeave,c=n(!1),u=n(!1),l=n(0),f=n(null),d=o((function(e,t){if(null!==f.current){var n=f.current,i=n.scrollTop,o=n.scrollHeight,l=n.clientHeight,d=f.current,h=t>0,p=o-l-i,g=!1;p>t&&c.current&&(A&&A(e),c.current=!1),h&&u.current&&(s&&s(e),u.current=!1),h&&t>p?(r&&!c.current&&r(e),d.scrollTop=o,g=!0,c.current=!0):!h&&-t>i&&(a&&!u.current&&a(e),d.scrollTop=0,g=!0,u.current=!0),g&&H0(e)}}),[r,A,a,s]),h=o((function(e){d(e,e.deltaY)}),[d]),p=o((function(e){l.current=e.changedTouches[0].clientY}),[]),g=o((function(e){var t=l.current-e.changedTouches[0].clientY;d(e,t)}),[d]),m=o((function(e){if(e){var t=!!M$&&{passive:!1};e.addEventListener('wheel',h,t),e.addEventListener('touchstart',p,t),e.addEventListener('touchmove',g,t)}}),[g,p,h]),v=o((function(e){e&&(e.removeEventListener('wheel',h,!1),e.removeEventListener('touchstart',p,!1),e.removeEventListener('touchmove',g,!1))}),[g,p,h]);return i((function(){if(t){var e=f.current;return m(e),function(){v(e)}}}),[t,m,v]),function(e){f.current=e}}({isEnabled:void 0===A||A,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),s=function(e){var t=e.isEnabled,r=e.accountForScrollbars,A=void 0===r||r,a=n({}),s=n(null),c=o((function(e){if(z0){var t=document.body,n=t&&t.style;if(A&&R0.forEach((function(e){var t=n&&n[e];a.current[e]=t})),A&&X0<1){var r=parseInt(a.current.paddingRight,10)||0,i=document.body?document.body.clientWidth:0,o=window.innerWidth-i+r||0;Object.keys(D0).forEach((function(e){var t=D0[e];n&&(n[e]=t)})),n&&(n.paddingRight=''.concat(o,'px'))}t&&W0()&&(t.addEventListener('touchmove',V0,K0),e&&(e.addEventListener('touchstart',j0,K0),e.addEventListener('touchmove',G0,K0))),X0+=1}}),[A]),u=o((function(e){if(z0){var t=document.body,n=t&&t.style;X0=Math.max(X0-1,0),A&&X0<1&&R0.forEach((function(e){var t=a.current[e];n&&(n[e]=t)})),t&&W0()&&(t.removeEventListener('touchmove',V0,K0),e&&(e.removeEventListener('touchstart',j0,K0),e.removeEventListener('touchmove',G0,K0)))}}),[A]);return i((function(){if(t){var e=s.current;return c(e),function(){u(e)}}}),[t,c,u]),function(e){s.current=e}}({isEnabled:r});return c$(m,null,r&&c$('div',{onClick:q0,css:Y0}),t((function(e){a(e),s(e)})))}var J0='production'===process.env.NODE_ENV?{name:'1a0ro4n-requiredInput',styles:'label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%'}:{name:'5kkxb2-requiredInput-RequiredInput',styles:'label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;',map:'/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */',toString:function(){return'You have tried to stringify object returned from `css` function. It isn\'t supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).'}},$0=function(e){var t=e.name,n=e.onFocus;return c$('input',{required:!0,name:t,tabIndex:-1,'aria-hidden':'true',onFocus:n,css:J0,value:'',onChange:function(){}})};function e2(e){var t;return'undefined'!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function t2(){return e2(/^Mac/i)}function n2(){return e2(/^iPhone/i)||e2(/^iPad/i)||t2()&&navigator.maxTouchPoints>1}var r2={clearIndicator:a0,container:function(e){var t=e.isDisabled;return{label:'container',direction:e.isRtl?'rtl':void 0,pointerEvents:t?'none':void 0,position:'relative'}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.theme,A=i.colors,o=i.borderRadius;return $Y({label:'control',alignItems:'center',cursor:'default',display:'flex',flexWrap:'wrap',justifyContent:'space-between',minHeight:i.spacing.controlHeight,outline:'0 !important',position:'relative',transition:'all 100ms'},t?{}:{backgroundColor:n?A.neutral5:A.neutral0,borderColor:n?A.neutral10:r?A.primary:A.neutral20,borderRadius:o,borderStyle:'solid',borderWidth:1,boxShadow:r?'0 0 0 1px '.concat(A.primary):void 0,'&:hover':{borderColor:r?A.primary:A.neutral30}})},dropdownIndicator:o0,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,i=n.spacing;return $Y({label:'group',cursor:'default',display:'block'},t?{}:{color:r.neutral40,fontSize:'75%',fontWeight:500,marginBottom:'0.25em',paddingLeft:3*i.baseUnit,paddingRight:3*i.baseUnit,textTransform:'uppercase'})},indicatorsContainer:function(){return{alignItems:'center',alignSelf:'stretch',display:'flex',flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing.baseUnit,A=r.colors;return $Y({label:'indicatorSeparator',alignSelf:'stretch',width:1},t?{}:{backgroundColor:n?A.neutral10:A.neutral20,marginBottom:2*i,marginTop:2*i})},input:function(e,t){var n=e.isDisabled,r=e.value,i=e.theme,A=i.spacing,o=i.colors;return $Y($Y({visibility:n?'hidden':'visible',transform:r?'translateZ(0)':''},p0),t?{}:{margin:A.baseUnit/2,paddingBottom:A.baseUnit/2,paddingTop:A.baseUnit/2,color:o.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,i=e.theme,A=i.colors,o=i.spacing.baseUnit;return $Y({label:'loadingIndicator',display:'flex',transition:'color 150ms',alignSelf:'center',fontSize:r,lineHeight:1,marginRight:r,textAlign:'center',verticalAlign:'middle'},t?{}:{color:n?A.neutral60:A.neutral20,padding:2*o})},loadingMessage:Y$,menu:function(e,t){var n,r=e.placement,i=e.theme,A=i.borderRadius,o=i.spacing,a=i.colors;return $Y((ZY(n={label:'menu'},function(e){return e?{bottom:'top',top:'bottom'}[e]:'bottom'}(r),'100%'),ZY(n,'position','absolute'),ZY(n,'width','100%'),ZY(n,'zIndex',1),n),t?{}:{backgroundColor:a.neutral0,borderRadius:A,boxShadow:'0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)',marginBottom:o.menuGutter,marginTop:o.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return $Y({maxHeight:n,overflowY:'auto',position:'relative',WebkitOverflowScrolling:'touch'},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,A=n.colors;return $Y({label:'multiValue',display:'flex',minWidth:0},t?{}:{backgroundColor:A.neutral10,borderRadius:i/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,i=n.colors,A=e.cropWithEllipsis;return $Y({overflow:'hidden',textOverflow:A||void 0===A?'ellipsis':void 0,whiteSpace:'nowrap'},t?{}:{borderRadius:r/2,color:i.neutral80,fontSize:'85%',padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,A=n.colors,o=e.isFocused;return $Y({alignItems:'center',display:'flex'},t?{}:{borderRadius:i/2,backgroundColor:o?A.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,':hover':{backgroundColor:A.dangerLight,color:A.danger}})},noOptionsMessage:q$,option:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.isSelected,A=e.theme,o=A.spacing,a=A.colors;return $Y({label:'option',cursor:'default',display:'block',fontSize:'inherit',width:'100%',userSelect:'none',WebkitTapHighlightColor:'rgba(0, 0, 0, 0)'},t?{}:{backgroundColor:i?a.primary:r?a.primary25:'transparent',color:n?a.neutral20:i?a.neutral0:'inherit',padding:''.concat(2*o.baseUnit,'px ').concat(3*o.baseUnit,'px'),':active':{backgroundColor:n?void 0:i?a.primary:a.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,i=n.colors;return $Y({label:'placeholder',gridArea:'1 / 1 / 2 / 3'},t?{}:{color:i.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing,A=r.colors;return $Y({label:'singleValue',gridArea:'1 / 1 / 2 / 3',maxWidth:'100%',overflow:'hidden',textOverflow:'ellipsis',whiteSpace:'nowrap'},t?{}:{color:n?A.neutral40:A.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,i=e.hasValue,A=e.selectProps.controlShouldRenderValue;return $Y({alignItems:'center',display:r&&i&&A?'flex':'grid',flex:1,flexWrap:'wrap',WebkitOverflowScrolling:'touch',position:'relative',overflow:'hidden'},t?{}:{padding:''.concat(n.baseUnit/2,'px ').concat(2*n.baseUnit,'px')})}},i2={borderRadius:4,colors:{primary:'#2684FF',primary75:'#4C9AFF',primary50:'#B2D4FF',primary25:'#DEEBFF',danger:'#DE350B',dangerLight:'#FFBDAD',neutral0:'hsl(0, 0%, 100%)',neutral5:'hsl(0, 0%, 95%)',neutral10:'hsl(0, 0%, 90%)',neutral20:'hsl(0, 0%, 80%)',neutral30:'hsl(0, 0%, 70%)',neutral40:'hsl(0, 0%, 60%)',neutral50:'hsl(0, 0%, 50%)',neutral60:'hsl(0, 0%, 40%)',neutral70:'hsl(0, 0%, 30%)',neutral80:'hsl(0, 0%, 20%)',neutral90:'hsl(0, 0%, 10%)'},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},A2={'aria-live':'polite',backspaceRemovesValue:!0,blurInputOnSelect:_$(),captureMenuScroll:!_$(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=$Y({ignoreCase:!0,ignoreAccents:!0,stringify:T0,trim:!0,matchFrom:'any'},e),i=r.ignoreCase,A=r.ignoreAccents,o=r.stringify,a=r.trim,s=r.matchFrom,c=a?O0(n):n,u=a?O0(o(t)):o(t);return i&&(c=c.toLowerCase(),u=u.toLowerCase()),A&&(c=N0(c),u=_0(u)),'start'===s?u.substr(0,c.length)===c:u.indexOf(c)>-1}}(),formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return'Loading...'},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:'bottom',menuPosition:'absolute',menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return'No options'},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:'Select...',screenReaderStatus:function(e){var t=e.count;return''.concat(t,' result').concat(1!==t?'s':'',' available')},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function o2(e,t,n,r){return{type:'option',data:t,isDisabled:h2(e,t,n),isSelected:p2(e,t,n),label:f2(e,t),value:d2(e,t),index:r}}function a2(e,t){return e.options.map((function(n,r){if('options'in n){var i=n.options.map((function(n,r){return o2(e,n,t,r)})).filter((function(t){return u2(e,t)}));return i.length>0?{type:'group',data:n,options:i,index:r}:void 0}var A=o2(e,n,t,r);return u2(e,A)?A:void 0})).filter(P$)}function s2(e){return e.reduce((function(e,t){return'group'===t.type?e.push.apply(e,cZ(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function c2(e,t){return e.reduce((function(e,n){return'group'===n.type?e.push.apply(e,cZ(n.options.map((function(e){return{data:e.data,id:''.concat(t,'-').concat(n.index,'-').concat(e.index)}})))):e.push({data:n.data,id:''.concat(t,'-').concat(n.index)}),e}),[])}function u2(e,t){var n=e.inputValue,r=void 0===n?'':n,i=t.data,A=t.isSelected,o=t.label,a=t.value;return(!m2(e)||!A)&&g2(e,{label:o,value:a,data:i},r)}var l2=function(e,t){var n;return(null===(n=e.find((function(e){return e.data===t})))||void 0===n?void 0:n.id)||null},f2=function(e,t){return e.getOptionLabel(t)},d2=function(e,t){return e.getOptionValue(t)};function h2(e,t,n){return'function'==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function p2(e,t,n){if(n.indexOf(t)>-1)return!0;if('function'==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=d2(e,t);return n.some((function(t){return d2(e,t)===r}))}function g2(e,t,n){return!e.filterOption||e.filterOption(t,n)}var m2=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},v2=1,b2=function(t){!function(e,t){if('function'!=typeof t&&null!==t)throw new TypeError('Super expression must either be null or a function');e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,'prototype',{writable:!1}),t&&I(e,t)}(o,g);var n,r,i,A=sZ(o);function o(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}(this,o),(t=A.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:''},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.isAppleDevice=t2()||n2(),t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,n){var r=t.props,i=r.onChange,A=r.name;n.name=A,t.ariaOnChange(e,n),i(e,n)},t.setValue=function(e,n,r){var i=t.props,A=i.closeMenuOnSelect,o=i.isMulti,a=i.inputValue;t.onInputChange('',{action:'set-value',prevInputValue:a}),A&&(t.setState({inputIsHiddenAfterUpdate:!o}),t.onMenuClose()),t.setState({clearFocusValueOnUpdate:!0}),t.onChange(e,{action:n,option:r})},t.selectOption=function(e){var n=t.props,r=n.blurInputOnSelect,i=n.isMulti,A=n.name,o=t.state.selectValue,a=i&&t.isOptionSelected(e,o),s=t.isOptionDisabled(e,o);if(a){var c=t.getOptionValue(e);t.setValue(o.filter((function(e){return t.getOptionValue(e)!==c})),'deselect-option',e)}else{if(s)return void t.ariaOnChange(e,{action:'select-option',option:e,name:A});i?t.setValue([].concat(cZ(o),[e]),'select-option',e):t.setValue(e,'select-option')}r&&t.blurInput()},t.removeValue=function(e){var n=t.props.isMulti,r=t.state.selectValue,i=t.getOptionValue(e),A=r.filter((function(e){return t.getOptionValue(e)!==i})),o=H$(n,A,A[0]||null);t.onChange(o,{action:'remove-value',removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange(H$(t.props.isMulti,[],null),{action:'clear',removedValues:e})},t.popValue=function(){var e=t.props.isMulti,n=t.state.selectValue,r=n[n.length-1],i=n.slice(0,n.length-1),A=H$(e,i,i[0]||null);t.onChange(A,{action:'pop-value',removedValue:r})},t.getFocusedOptionId=function(e){return l2(t.state.focusableOptionsWithIds,e)},t.getFocusableOptionsWithIds=function(){return c2(a2(t.props,t.state.selectValue),t.getElementId('option'))},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return x$.apply(void 0,[t.props.classNamePrefix].concat(n))},t.getOptionLabel=function(e){return f2(t.props,e)},t.getOptionValue=function(e){return d2(t.props,e)},t.getStyles=function(e,n){var r=t.props.unstyled,i=r2[e](n,r);i.boxSizing='border-box';var A=t.props.styles[e];return A?A(i,n):i},t.getClassNames=function(e,n){var r,i;return null===(r=(i=t.props.classNames)[e])||void 0===r?void 0:r.call(i,n)},t.getElementId=function(e){return''.concat(t.state.instancePrefix,'-').concat(e)},t.getComponents=function(){return e=t.props,$Y($Y({},b0),e.components);var e},t.buildCategorizedOptions=function(){return a2(t.props,t.state.selectValue)},t.getCategorizedOptions=function(){return t.props.menuIsOpen?t.buildCategorizedOptions():[]},t.buildFocusableOptions=function(){return s2(t.buildCategorizedOptions())},t.getFocusableOptions=function(){return t.props.menuIsOpen?t.buildFocusableOptions():[]},t.ariaOnChange=function(e,n){t.setState({ariaSelection:$Y({value:e},n)})},t.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),t.focusInput())},t.onMenuMouseMove=function(e){t.blockOptionHover=!1},t.onControlMouseDown=function(e){if(!e.defaultPrevented){var n=t.props.openMenuOnClick;t.state.isFocused?t.props.menuIsOpen?'INPUT'!==e.target.tagName&&'TEXTAREA'!==e.target.tagName&&t.onMenuClose():n&&t.openMenu('first'):(n&&(t.openAfterFocus=!0),t.focusInput()),'INPUT'!==e.target.tagName&&'TEXTAREA'!==e.target.tagName&&e.preventDefault()}},t.onDropdownIndicatorMouseDown=function(e){if(!(e&&'mousedown'===e.type&&0!==e.button||t.props.isDisabled)){var n=t.props,r=n.isMulti,i=n.menuIsOpen;t.focusInput(),i?(t.setState({inputIsHiddenAfterUpdate:!r}),t.onMenuClose()):t.openMenu('first'),e.preventDefault()}},t.onClearIndicatorMouseDown=function(e){e&&'mousedown'===e.type&&0!==e.button||(t.clearValue(),e.preventDefault(),t.openAfterFocus=!1,'touchend'===e.type?t.focusInput():setTimeout((function(){return t.focusInput()})))},t.onScroll=function(e){'boolean'==typeof t.props.closeMenuOnScroll?e.target instanceof HTMLElement&&S$(e.target)&&t.props.onMenuClose():'function'==typeof t.props.closeMenuOnScroll&&t.props.closeMenuOnScroll(e)&&t.props.onMenuClose()},t.onCompositionStart=function(){t.isComposing=!0},t.onCompositionEnd=function(){t.isComposing=!1},t.onTouchStart=function(e){var n=e.touches,r=n&&n.item(0);r&&(t.initialTouchX=r.clientX,t.initialTouchY=r.clientY,t.userIsDragging=!1)},t.onTouchMove=function(e){var n=e.touches,r=n&&n.item(0);if(r){var i=Math.abs(r.clientX-t.initialTouchX),A=Math.abs(r.clientY-t.initialTouchY);t.userIsDragging=i>5||A>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var n=t.props.inputValue,r=e.currentTarget.value;t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(r,{action:'input-change',prevInputValue:n}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){t.props.onFocus&&t.props.onFocus(e),t.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu('first'),t.openAfterFocus=!1},t.onInputBlur=function(e){var n=t.props.inputValue;t.menuListRef&&t.menuListRef.contains(document.activeElement)?t.inputRef.focus():(t.props.onBlur&&t.props.onBlur(e),t.onInputChange('',{action:'input-blur',prevInputValue:n}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1}))},t.onOptionHover=function(e){if(!t.blockOptionHover&&t.state.focusedOption!==e){var n=t.getFocusableOptions().indexOf(e);t.setState({focusedOption:e,focusedOptionId:n>-1?t.getFocusedOptionId(e):null})}},t.shouldHideSelectedOptions=function(){return m2(t.props)},t.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),t.focus()},t.onKeyDown=function(e){var n=t.props,r=n.isMulti,i=n.backspaceRemovesValue,A=n.escapeClearsValue,o=n.inputValue,a=n.isClearable,s=n.isDisabled,c=n.menuIsOpen,u=n.onKeyDown,l=n.tabSelectsValue,f=n.openMenuOnFocus,d=t.state,h=d.focusedOption,p=d.focusedValue,g=d.selectValue;if(!(s||'function'==typeof u&&(u(e),e.defaultPrevented))){switch(t.blockOptionHover=!0,e.key){case'ArrowLeft':if(!r||o)return;t.focusValue('previous');break;case'ArrowRight':if(!r||o)return;t.focusValue('next');break;case'Delete':case'Backspace':if(o)return;if(p)t.removeValue(p);else{if(!i)return;r?t.popValue():a&&t.clearValue()}break;case'Tab':if(t.isComposing)return;if(e.shiftKey||!c||!l||!h||f&&t.isOptionSelected(h,g))return;t.selectOption(h);break;case'Enter':if(229===e.keyCode)break;if(c){if(!h)return;if(t.isComposing)return;t.selectOption(h);break}return;case'Escape':c?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange('',{action:'menu-close',prevInputValue:o}),t.onMenuClose()):a&&A&&t.clearValue();break;case' ':if(o)return;if(!c){t.openMenu('first');break}if(!h)return;t.selectOption(h);break;case'ArrowUp':c?t.focusOption('up'):t.openMenu('last');break;case'ArrowDown':c?t.focusOption('down'):t.openMenu('first');break;case'PageUp':if(!c)return;t.focusOption('pageup');break;case'PageDown':if(!c)return;t.focusOption('pagedown');break;case'Home':if(!c)return;t.focusOption('first');break;case'End':if(!c)return;t.focusOption('last');break;default:return}e.preventDefault()}},t.state.instancePrefix='react-select-'+(t.props.instanceId||++v2),t.state.selectValue=F$(e.value),e.menuIsOpen&&t.state.selectValue.length){var n=t.getFocusableOptionsWithIds(),r=t.buildFocusableOptions(),i=r.indexOf(t.state.selectValue[0]);t.state.focusableOptionsWithIds=n,t.state.focusedOption=r[i],t.state.focusedOptionId=l2(n,r[i])}return t}return n=o,r=[{key:'componentDidMount',value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener('scroll',this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&k$(this.menuListRef,this.focusedOptionRef)}},{key:'componentDidUpdate',value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,i=this.state.isFocused;(i&&!n&&e.isDisabled||i&&r&&!e.menuIsOpen)&&this.focusInput(),i&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):i||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(k$(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:'componentWillUnmount',value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener('scroll',this.onScroll,!0)}},{key:'onMenuOpen',value:function(){this.props.onMenuOpen()}},{key:'onMenuClose',value:function(){this.onInputChange('',{action:'menu-close',prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:'onInputChange',value:function(e,t){this.props.onInputChange(e,t)}},{key:'focusInput',value:function(){this.inputRef&&this.inputRef.focus()}},{key:'blurInput',value:function(){this.inputRef&&this.inputRef.blur()}},{key:'openMenu',value:function(e){var t=this,n=this.state,r=n.selectValue,i=n.isFocused,A=this.buildFocusableOptions(),o='first'===e?0:A.length-1;if(!this.props.isMulti){var a=A.indexOf(r[0]);a>-1&&(o=a)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:A[o],focusedOptionId:this.getFocusedOptionId(A[o])},(function(){return t.onMenuOpen()}))}},{key:'focusValue',value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=n.indexOf(r);r||(i=-1);var A=n.length-1,o=-1;if(n.length){switch(e){case'previous':o=0===i?0:-1===i?A:i-1;break;case'next':i>-1&&i<A&&(o=i+1)}this.setState({inputIsHidden:-1!==o,focusedValue:n[o]})}}}},{key:'focusOption',value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:'first',t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var i=0,A=r.indexOf(n);n||(A=-1),'up'===e?i=A>0?A-1:r.length-1:'down'===e?i=(A+1)%r.length:'pageup'===e?(i=A-t)<0&&(i=0):'pagedown'===e?(i=A+t)>r.length-1&&(i=r.length-1):'last'===e&&(i=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[i])})}}},{key:'getTheme',value:function(){return this.props.theme?'function'==typeof this.props.theme?this.props.theme(i2):$Y($Y({},i2),this.props.theme):i2}},{key:'getCommonProps',value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,i=this.getValue,A=this.selectOption,o=this.setValue,a=this.props,s=a.isMulti,c=a.isRtl,u=a.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:i,hasValue:this.hasValue(),isMulti:s,isRtl:c,options:u,selectOption:A,selectProps:a,setValue:o,theme:this.getTheme()}}},{key:'hasValue',value:function(){return this.state.selectValue.length>0}},{key:'hasOptions',value:function(){return!!this.getFocusableOptions().length}},{key:'isClearable',value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:'isOptionDisabled',value:function(e,t){return h2(this.props,e,t)}},{key:'isOptionSelected',value:function(e,t){return p2(this.props,e,t)}},{key:'filterOption',value:function(e,t){return g2(this.props,e,t)}},{key:'formatOptionLabel',value:function(e,t){if('function'==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:'formatGroupLabel',value:function(e){return this.props.formatGroupLabel(e)}},{key:'startListeningComposition',value:function(){document&&document.addEventListener&&(document.addEventListener('compositionstart',this.onCompositionStart,!1),document.addEventListener('compositionend',this.onCompositionEnd,!1))}},{key:'stopListeningComposition',value:function(){document&&document.removeEventListener&&(document.removeEventListener('compositionstart',this.onCompositionStart),document.removeEventListener('compositionend',this.onCompositionEnd))}},{key:'startListeningToTouch',value:function(){document&&document.addEventListener&&(document.addEventListener('touchstart',this.onTouchStart,!1),document.addEventListener('touchmove',this.onTouchMove,!1),document.addEventListener('touchend',this.onTouchEnd,!1))}},{key:'stopListeningToTouch',value:function(){document&&document.removeEventListener&&(document.removeEventListener('touchstart',this.onTouchStart),document.removeEventListener('touchmove',this.onTouchMove),document.removeEventListener('touchend',this.onTouchEnd))}},{key:'renderInput',value:function(){var t=this.props,n=t.isDisabled,r=t.isSearchable,i=t.inputId,A=t.inputValue,o=t.tabIndex,a=t.form,s=t.menuIsOpen,c=t.required,u=this.getComponents().Input,l=this.state,f=l.inputIsHidden,d=l.ariaSelection,h=this.commonProps,p=i||this.getElementId('input'),g=$Y($Y($Y({'aria-autocomplete':'list','aria-expanded':s,'aria-haspopup':!0,'aria-errormessage':this.props['aria-errormessage'],'aria-invalid':this.props['aria-invalid'],'aria-label':this.props['aria-label'],'aria-labelledby':this.props['aria-labelledby'],'aria-required':c,role:'combobox','aria-activedescendant':this.isAppleDevice?void 0:this.state.focusedOptionId||''},s&&{'aria-controls':this.getElementId('listbox')}),!r&&{'aria-readonly':!0}),this.hasValue()?'initial-input-focus'===(null==d?void 0:d.action)&&{'aria-describedby':this.getElementId('live-region')}:{'aria-describedby':this.getElementId('placeholder')});return r?e.createElement(u,Q({},h,{autoCapitalize:'none',autoComplete:'off',autoCorrect:'off',id:p,innerRef:this.getInputRef,isDisabled:n,isHidden:f,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:'false',tabIndex:o,form:a,type:'text',value:A},g)):e.createElement(P0,Q({id:p,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:B$,onFocus:this.onInputFocus,disabled:n,tabIndex:o,inputMode:'none',form:a,value:''},g))}},{key:'renderPlaceholderOrValue',value:function(){var t=this,n=this.getComponents(),r=n.MultiValue,i=n.MultiValueContainer,A=n.MultiValueLabel,o=n.MultiValueRemove,a=n.SingleValue,s=n.Placeholder,c=this.commonProps,u=this.props,l=u.controlShouldRenderValue,f=u.isDisabled,d=u.isMulti,h=u.inputValue,p=u.placeholder,g=this.state,m=g.selectValue,v=g.focusedValue,b=g.isFocused;if(!this.hasValue()||!l)return h?null:e.createElement(s,Q({},c,{key:'placeholder',isDisabled:f,isFocused:b,innerProps:{id:this.getElementId('placeholder')}}),p);if(d)return m.map((function(n,a){var s=n===v,u=''.concat(t.getOptionLabel(n),'-').concat(t.getOptionValue(n));return e.createElement(r,Q({},c,{components:{Container:i,Label:A,Remove:o},isFocused:s,isDisabled:f,key:u,index:a,removeProps:{onClick:function(){return t.removeValue(n)},onTouchEnd:function(){return t.removeValue(n)},onMouseDown:function(e){e.preventDefault()}},data:n}),t.formatOptionLabel(n,'value'))}));if(h)return null;var y=m[0];return e.createElement(a,Q({},c,{data:y,isDisabled:f}),this.formatOptionLabel(y,'value'))}},{key:'renderClearIndicator',value:function(){var t=this.getComponents().ClearIndicator,n=this.commonProps,r=this.props,i=r.isDisabled,A=r.isLoading,o=this.state.isFocused;if(!this.isClearable()||!t||i||!this.hasValue()||A)return null;var a={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,'aria-hidden':'true'};return e.createElement(t,Q({},n,{innerProps:a,isFocused:o}))}},{key:'renderLoadingIndicator',value:function(){var t=this.getComponents().LoadingIndicator,n=this.commonProps,r=this.props,i=r.isDisabled,A=r.isLoading,o=this.state.isFocused;return t&&A?e.createElement(t,Q({},n,{innerProps:{'aria-hidden':'true'},isDisabled:i,isFocused:o})):null}},{key:'renderIndicatorSeparator',value:function(){var t=this.getComponents(),n=t.DropdownIndicator,r=t.IndicatorSeparator;if(!n||!r)return null;var i=this.commonProps,A=this.props.isDisabled,o=this.state.isFocused;return e.createElement(r,Q({},i,{isDisabled:A,isFocused:o}))}},{key:'renderDropdownIndicator',value:function(){var t=this.getComponents().DropdownIndicator;if(!t)return null;var n=this.commonProps,r=this.props.isDisabled,i=this.state.isFocused,A={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,'aria-hidden':'true'};return e.createElement(t,Q({},n,{innerProps:A,isDisabled:r,isFocused:i}))}},{key:'renderMenu',value:function(){var t=this,n=this.getComponents(),r=n.Group,i=n.GroupHeading,A=n.Menu,o=n.MenuList,a=n.MenuPortal,s=n.LoadingMessage,c=n.NoOptionsMessage,u=n.Option,l=this.commonProps,f=this.state.focusedOption,d=this.props,h=d.captureMenuScroll,p=d.inputValue,g=d.isLoading,m=d.loadingMessage,v=d.minMenuHeight,b=d.maxMenuHeight,y=d.menuIsOpen,w=d.menuPlacement,B=d.menuPosition,C=d.menuPortalTarget,x=d.menuShouldBlockScroll,F=d.menuShouldScrollIntoView,I=d.noOptionsMessage,E=d.onMenuScrollToTop,S=d.onMenuScrollToBottom;if(!y)return null;var U,L=function(n,r){var i=n.type,A=n.data,o=n.isDisabled,a=n.isSelected,s=n.label,c=n.value,d=f===A,h=o?void 0:function(){return t.onOptionHover(A)},p=o?void 0:function(){return t.selectOption(A)},g=''.concat(t.getElementId('option'),'-').concat(r),m={id:g,onClick:p,onMouseMove:h,onMouseOver:h,tabIndex:-1,role:'option','aria-selected':t.isAppleDevice?void 0:a};return e.createElement(u,Q({},l,{innerProps:m,data:A,isDisabled:o,isSelected:a,key:g,label:s,type:i,value:c,isFocused:d,innerRef:d?t.getFocusedOptionRef:void 0}),t.formatOptionLabel(n.data,'menu'))};if(this.hasOptions())U=this.getCategorizedOptions().map((function(n){if('group'===n.type){var A=n.data,o=n.options,a=n.index,s=''.concat(t.getElementId('group'),'-').concat(a),c=''.concat(s,'-heading');return e.createElement(r,Q({},l,{key:s,data:A,options:o,Heading:i,headingProps:{id:c,data:n.data},label:t.formatGroupLabel(n.data)}),n.options.map((function(e){return L(e,''.concat(a,'-').concat(e.index))})))}if('option'===n.type)return L(n,''.concat(n.index))}));else if(g){var k=m({inputValue:p});if(null===k)return null;U=e.createElement(s,l,k)}else{var _=I({inputValue:p});if(null===_)return null;U=e.createElement(c,l,_)}var N={minMenuHeight:v,maxMenuHeight:b,menuPlacement:w,menuPosition:B,menuShouldScrollIntoView:F},O=e.createElement(z$,Q({},l,N),(function(n){var r=n.ref,i=n.placerProps,a=i.placement,s=i.maxHeight;return e.createElement(A,Q({},l,N,{innerRef:r,innerProps:{onMouseDown:t.onMenuMouseDown,onMouseMove:t.onMenuMouseMove},isLoading:g,placement:a}),e.createElement(Z0,{captureEnabled:h,onTopArrive:E,onBottomArrive:S,lockEnabled:x},(function(n){return e.createElement(o,Q({},l,{innerRef:function(e){t.getMenuListRef(e),n(e)},innerProps:{role:'listbox','aria-multiselectable':l.isMulti,id:t.getElementId('listbox')},isLoading:g,maxHeight:s,focusedOption:f}),U)})))}));return C||'fixed'===B?e.createElement(a,Q({},l,{appendTo:C,controlElement:this.controlRef,menuPlacement:w,menuPosition:B}),O):O}},{key:'renderFormField',value:function(){var t=this,n=this.props,r=n.delimiter,i=n.isDisabled,A=n.isMulti,o=n.name,a=n.required,s=this.state.selectValue;if(a&&!this.hasValue()&&!i)return e.createElement($0,{name:o,onFocus:this.onValueInputFocus});if(o&&!i){if(A){if(r){var c=s.map((function(e){return t.getOptionValue(e)})).join(r);return e.createElement('input',{name:o,type:'hidden',value:c})}var u=s.length>0?s.map((function(n,r){return e.createElement('input',{key:'i-'.concat(r),name:o,type:'hidden',value:t.getOptionValue(n)})})):e.createElement('input',{name:o,type:'hidden',value:''});return e.createElement('div',null,u)}var l=s[0]?this.getOptionValue(s[0]):'';return e.createElement('input',{name:o,type:'hidden',value:l})}}},{key:'renderLiveRegion',value:function(){var t=this.commonProps,n=this.state,r=n.ariaSelection,i=n.focusedOption,A=n.focusedValue,o=n.isFocused,a=n.selectValue,s=this.getFocusableOptions();return e.createElement(I0,Q({},t,{id:this.getElementId('live-region'),ariaSelection:r,focusedOption:i,focusedValue:A,isFocused:o,selectValue:a,focusableOptions:s,isAppleDevice:this.isAppleDevice}))}},{key:'render',value:function(){var t=this.getComponents(),n=t.Control,r=t.IndicatorsContainer,i=t.SelectContainer,A=t.ValueContainer,o=this.props,a=o.className,s=o.id,c=o.isDisabled,u=o.menuIsOpen,l=this.state.isFocused,f=this.commonProps=this.getCommonProps();return e.createElement(i,Q({},f,{className:a,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:l}),this.renderLiveRegion(),e.createElement(n,Q({},f,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:l,menuIsOpen:u}),e.createElement(A,Q({},f,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),e.createElement(r,Q({},f,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],i=[{key:'getDerivedStateFromProps',value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,A=t.ariaSelection,o=t.isFocused,a=t.prevWasFocused,s=t.instancePrefix,c=e.options,u=e.value,l=e.menuIsOpen,f=e.inputValue,d=e.isMulti,h=F$(u),p={};if(n&&(u!==n.value||c!==n.options||l!==n.menuIsOpen||f!==n.inputValue)){var g=l?function(e,t){return s2(a2(e,t))}(e,h):[],m=l?c2(a2(e,h),''.concat(s,'-option')):[],v=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,h):null,b=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);p={selectValue:h,focusedOption:b,focusedOptionId:l2(m,b),focusableOptionsWithIds:m,focusedValue:v,clearFocusValueOnUpdate:!1}}var y=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},w=A,B=o&&a;return o&&!B&&(w={value:H$(d,h,h[0]||null),options:h,action:'initial-input-focus'},B=!a),'initial-input-focus'===(null==A?void 0:A.action)&&(w=null),$Y($Y($Y({},p),y),{},{prevProps:e,ariaSelection:w,prevWasFocused:B})}}],r&&AZ(n.prototype,r),i&&AZ(n,i),Object.defineProperty(n,'prototype',{writable:!1}),o}();b2.defaultProps=A2;var y2,w2,B2=u((function(t,n){var i=function(e){var t=e.defaultInputValue,n=void 0===t?'':t,i=e.defaultMenuIsOpen,A=void 0!==i&&i,a=e.defaultValue,s=void 0===a?null:a,c=e.inputValue,u=e.menuIsOpen,l=e.onChange,f=e.onInputChange,d=e.onMenuClose,h=e.onMenuOpen,p=e.value,g=rZ(e,iZ),m=nZ(r(void 0!==c?c:n),2),v=m[0],b=m[1],y=nZ(r(void 0!==u?u:A),2),w=y[0],B=y[1],C=nZ(r(void 0!==p?p:s),2),x=C[0],F=C[1],I=o((function(e,t){'function'==typeof l&&l(e,t),F(e)}),[l]),E=o((function(e,t){var n;'function'==typeof f&&(n=f(e,t)),b(void 0!==n?n:e)}),[f]),S=o((function(){'function'==typeof h&&h(),B(!0)}),[h]),Q=o((function(){'function'==typeof d&&d(),B(!1)}),[d]),U=void 0!==c?c:v,L=void 0!==u?u:w,k=void 0!==p?p:x;return $Y($Y({},g),{},{inputValue:U,menuIsOpen:L,onChange:I,onInputChange:E,onMenuClose:Q,onMenuOpen:S,value:k})}(t);return e.createElement(b2,Q({ref:n},i))})),C2=B2,x2=[{value:'kb',label:'Knowledge Base'},{value:'docs',label:'Documentation'},{value:'alerts',label:'Alerts'},{value:'upi',label:'UPI'},{value:'ibmb',label:'IBMB'}],F2=function(e){var n=e.handleClickBackBtn,i=r(),A=i[0],o=i[1],a=r(!1),s=a[0],c=a[1],u=r(''),f=u[0],d=u[1],h=r(x2[0]),p=h[0],g=h[1],m=l(Q2).isDarkMode,v=Le({queryKey:'conversationID',queryFn:KT,enabled:!A,onSuccess:function(e){o({conversationID:e.conversation_id,isNew:!0})}}),b=function(e){o(e||void 0)};return t.createElement(t.Fragment,null,t.createElement(NP,{getNewChatId:v.refetch,handleClickBackBtn:n,openSideBar:c}),v.isLoading||v.isError?t.createElement(t.Fragment,null,v.isError?t.createElement(HP,{errorHeading:'Wait a moment',errorInfo:'Ved is not yet configured in this environment. Please contact your system administrator.'}):t.createElement(WY,null,t.createElement(wH,{color:'#000',loading:v.isLoading,size:75,'aria-label':'Loading Spinner','data-testid':'loader'}))):t.createElement(HY,{style:{height:'calc(100% - 5rem)'}},t.createElement(RY,{$isOpen:s},t.createElement(DY,null,t.createElement(gn,{icon:'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M13.41%2C12l6.29-6.29c.39-.39%2C.39-1.02%2C0-1.41s-1.02-.39-1.41%2C0l-6.29%2C6.29L5.71%2C4.29c-.39-.39-1.02-.39-1.41%2C0s-.39%2C1.02%2C0%2C1.41l6.29%2C6.29-6.29%2C6.29c-.39%2C.39-.39%2C1.02%2C0%2C1.41%2C.2%2C.2%2C.45%2C.29%2C.71%2C.29s.51-.1%2C.71-.29l6.29-6.29%2C6.29%2C6.29c.2%2C.2%2C.45%2C.29%2C.71%2C.29s.51-.1%2C.71-.29c.39-.39%2C.39-1.02%2C0-1.41l-6.29-6.29Z%22%2F%3E%3C%2Fsvg%3E',iconColor:'vu-fill-slate-350',onClick:function(){return c(!1)}})),t.createElement(zY,null,t.createElement(KY,null,'Choose Topic'),t.createElement(XY,null,t.createElement(C2,{options:x2,defaultValue:x2[0],onChange:function(e){return g(null!=e?e:x2[0])},styles:{control:function(e,t){return ke(ke({},e),{borderColor:t.isFocused?'grey':m?'#32384E':'#D8DEE4',borderWidth:'2px',borderRadius:'6px',backgroundColor:m?'#121B37':'#FFFFFF'})},singleValue:function(e){return ke(ke({},e),{color:m?'#7B7E92':'#000000'})},indicatorSeparator:function(e){return ke(ke({},e),{display:'none'})},menu:function(e){return ke(ke({},e),{backgroundColor:m?'#121B37':'#FFFFFF'})}}}))),t.createElement(VY,null,t.createElement(GY,null,t.createElement(xY,null,t.createElement(bn,{$fullWidth:!0,placeholder:'Search Conversations',onChange:function(e){return d(e.target.value)}}),t.createElement(qY,{currentConversationInfo:A,handleSetConversationInfo:b,searchQuery:f})),t.createElement(CY,null,t.createElement(pn,{$fullWidth:!0,icon:kP,iconColor:'vu-fill-white',onClick:function(){o(void 0),v.refetch()},disabled:v.isLoading},'New Chat'))))),t.createElement(jY,null,(null==A?void 0:A.conversationID)?t.createElement(t.Fragment,null,t.createElement(pY,{handleSetConversationInfo:b,conversationID:A.conversationID,isNew:A.isNew,category:p.value})):t.createElement(WY,null,t.createElement(wH,{color:'#000',loading:v.isLoading,size:75,'aria-label':'Loading Spinner','data-testid':'loader'})))))},I2=Tt.div(y2||(y2=Me(['\n vu-fixed\n vu-inset-0\n vu-p-8\n vu-isolate\n vu-z-[1001]\n vu-bg-black/75\n'],['\n vu-fixed\n vu-inset-0\n vu-p-8\n vu-isolate\n vu-z-[1001]\n vu-bg-black/75\n']))),E2=Tt.div(w2||(w2=Me(['\n vu-css-ls\n vu-p-6\n vu-h-full\n vu-bg-white\n dark:vu-bg-dark_mode-600\n vu-flex\n vu-flex-col\n vu-rounded-lg\n vu-relative\n dark:vu-text=slate-250\n'],['\n vu-css-ls\n vu-p-6\n vu-h-full\n vu-bg-white\n dark:vu-bg-dark_mode-600\n vu-flex\n vu-flex-col\n vu-rounded-lg\n vu-relative\n dark:vu-text=slate-250\n']))),S2=new fe,Q2=h({isDarkMode:!1}),U2=function(e){var n=e.token,i=e.baseURL,A=e.darkMode,o=void 0===A||A,a=e.handleClickBackBtn,s=r(o)[0];return n&&i?(XT.defaults.baseURL=i,XT.defaults.auth='Bearer '.concat(n),t.createElement(Q2.Provider,{value:{isDarkMode:s}},t.createElement(Fe,{client:S2},t.createElement(I2,{className:s?'vu-dark':''},t.createElement(E2,null,t.createElement(F2,{handleClickBackBtn:function(){return a(!1)}})))))):t.createElement('h1',null,'JWT Token or Base URL missing.')},L2=function(e){var n=e.token,A=e.baseURL,o=e.darkMode,a=void 0===o||o,s=r(!1),c=s[0],u=s[1];return i((function(){var e=function(e){'Escape'===e.key&&u(!1)};return document.addEventListener('keydown',e),function(){document.removeEventListener('keydown',e)}}),[u]),t.createElement('div',null,t.createElement(gn,{icon:'data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M11.5489%202.01825C11.2622%202.06212%2010.9973%202.19726%2010.7935%202.40359C10.5669%202.62817%2010.4272%202.92589%2010.3992%203.24372C10.3713%203.56156%2010.4569%203.87904%2010.641%204.13969C10.8175%204.37969%2011.0599%204.5631%2011.339%204.66755L11.4563%204.69454V6.06054L8.01515%206.06816L4.56994%206.07989L4.35234%206.18253C4.06307%206.32206%203.83028%206.55638%203.69251%206.84647C3.59485%207.04806%203.55139%207.27164%203.56641%207.49516L3.55116%207.92273L3.1623%207.93798C2.94716%207.91564%202.73027%207.95904%202.54029%208.0625C2.35038%208.16596%202.19624%208.32456%202.09835%208.51746L2.01448%208.67406L2.00275%2012.0694C1.99513%2014.4307%202.00275%2015.5223%202.03325%2015.6554C2.06662%2015.7924%202.12838%2015.9209%202.21442%2016.0326C2.30052%2016.1443%202.40897%2016.2368%202.53296%2016.3041C2.71895%2016.4071%202.93191%2016.4511%203.14353%2016.4302L3.55409%2016.4454L3.56934%2016.873C3.55614%2017.0917%203.59638%2017.3103%203.68664%2017.51C3.8104%2017.7894%204.02577%2018.0182%204.29721%2018.1587L4.53768%2018.2883L5.54122%2018.3L6.5383%2018.3111V19.639C6.5383%2020.9247%206.5424%2020.9704%206.61865%2021.0695C6.78288%2021.2754%206.76352%2021.283%209.44156%2019.7381L11.9173%2018.3076L15.454%2018.3L18.9942%2018.2883L19.2347%2018.1587C19.5062%2018.0167%2019.7214%2017.7867%2019.8452%2017.5064C19.9364%2017.3086%2019.9767%2017.091%2019.9625%2016.8736L19.9778%2016.446L20.3883%2016.4308C20.6016%2016.4541%2020.8167%2016.4087%2021.0024%2016.3011C21.2373%2016.1603%2021.4103%2015.9359%2021.4869%2015.673C21.5139%2015.5739%2021.525%2014.3721%2021.5174%2012.0987L21.5057%208.67289L21.4218%208.51629C21.3239%208.32321%2021.1698%208.16438%2020.9797%208.0608C20.7896%207.95722%2020.5725%207.91376%2020.3573%207.93622L19.9684%207.92097L19.9532%207.4934C19.9681%207.26988%2019.9246%207.0463%2019.827%206.84471C19.6893%206.55462%2019.4564%206.32036%2019.1672%206.18077L18.9496%206.07813L15.5085%206.0664L12.0633%206.05878V4.69278L12.1806%204.6658C12.4617%204.56233%2012.7064%204.37887%2012.8844%204.13793C13.0349%203.90068%2013.1216%203.62854%2013.136%203.34789C13.1131%203.04964%2013.0088%202.76342%2012.8346%202.52031C12.6853%202.32864%2012.4871%202.18078%2012.2608%202.09239C12.0345%202.00406%2011.7886%201.97843%2011.5489%202.01825ZM18.5%207.5C18.4326%207.4346%2018.5873%207.53455%2018.5%207.5C18.4628%207.41372%2018.5674%207.56546%2018.5%207.5C18.5686%207.64487%2018%207.30375%2018%2012C18%2016.3567%2018.551%2016.3721%2018.5%2016.5C18.4267%2016.6628%2018.6486%2016.3319%2018.5%2016.4308C17.7622%2015.1029%2018.4027%2016.2865%2015.7745%2016.3011L10.5%2016.5L9%2018.5C7.7601%2019.2173%208.51114%2019%208.5%2019C8.48886%2019%207.67361%2019.5088%207.67361%2018.849L8%2018V17.7129H7.67361L8%2016C6.77945%2015.9806%206.80575%2016.0728%206.61865%2015.8751C6.38404%2015.6311%205%2017.3713%205%2012C5%207.65976%205.44897%207.62551%205.5%207.5C5.53455%207.41261%205.93454%207.56745%206%207.5C6.0654%207.43255%205.41372%207.53719%205.5%207.5C5.64487%207.43138%205.19927%207.4934%2011.9173%207.4934C18.139%207.4934%2018.3745%207.45073%2018.5%207.5Z%22%20fill%3D%22url%28%23paint0_linear_710_997%29%22%2F%3E%3Cpath%20d%3D%22M7.5%2020V16L12%2017L7.5%2020Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M5%208C5%207.44772%205.44772%207%206%207H18C18.5523%207%2019%207.44772%2019%208V16C19%2016.5523%2018.5523%2017%2018%2017H6C5.44772%2017%205%2016.5523%205%2016V8Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M7.85164%209.34328C7.6036%209.39759%207.37051%209.50563%207.16887%209.65988C6.96717%209.81414%206.80183%2010.0108%206.68446%2010.236C6.58698%2010.4326%206.53027%2010.6468%206.51777%2010.8659C6.50528%2011.0849%206.53725%2011.3043%206.61179%2011.5106C6.68634%2011.717%206.80188%2011.9062%206.95145%2012.0667C7.10101%2012.2273%207.28154%2012.3559%207.48213%2012.4448C7.68876%2012.5515%207.92313%2012.5925%208.15369%2012.5621C8.38431%2012.5925%208.61863%2012.5515%208.82526%2012.4448C9.11406%2012.3174%209.35875%2012.1074%209.52843%2011.8413C9.69811%2011.5752%209.78533%2011.2648%209.77893%2010.9492C9.78586%2010.7265%209.74357%2010.5051%209.65518%2010.3006C9.56679%2010.0961%209.43441%209.91367%209.26749%209.76616C9.05347%209.55243%208.77927%209.40921%208.48156%209.3556C8.27604%209.29806%208.05926%209.29384%207.85164%209.34328Z%22%20fill%3D%22url%28%23paint1_linear_710_997%29%22%2F%3E%3Cpath%20d%3D%22M15.0129%209.36029C14.6898%209.4332%2014.3962%209.60182%2014.1703%209.84417C13.9444%2010.0865%2013.7968%2010.3912%2013.7467%2010.7187C13.6929%2011.0706%2013.7563%2011.4305%2013.9273%2011.7427C14.0983%2012.055%2014.3672%2012.3023%2014.6927%2012.4466C14.8994%2012.5532%2015.1337%2012.5942%2015.3643%2012.5639C15.5949%2012.5942%2015.8292%2012.5532%2016.0359%2012.4466C16.2794%2012.3384%2016.4924%2012.1719%2016.6563%2011.9619C16.8202%2011.7518%2016.9297%2011.5047%2016.9754%2011.2422C17.021%2010.9797%2017.0013%2010.71%2016.918%2010.457C16.8346%2010.2039%2016.6902%209.97531%2016.4974%209.79138C16.2825%209.56422%2016.0005%209.41173%2015.6927%209.35619C15.4701%209.29448%2015.2348%209.29589%2015.0129%209.36029Z%22%20fill%3D%22url%28%23paint2_linear_710_997%29%22%2F%3E%3Cpath%20d%3D%22M9.50396%2014.524C9.47252%2014.5469%209.4466%2014.5765%209.42813%2014.6107C9.40965%2014.6449%209.39915%2014.6829%209.39727%2014.7217C9.3954%2014.7605%209.40232%2014.7993%209.41739%2014.8351C9.43252%2014.8709%209.45552%2014.9029%209.48461%2014.9287C9.98673%2015.2552%2010.5525%2015.4711%2011.1445%2015.5621C11.6927%2015.6219%2012.2469%2015.5948%2012.7867%2015.4818C13.1872%2015.3711%2013.5728%2015.2123%2013.9351%2015.0091C13.989%2014.985%2014.0346%2014.9455%2014.0662%2014.8957C14.0978%2014.8459%2014.1141%2014.7878%2014.1129%2014.7288C14.1117%2014.6698%2014.0931%2014.6124%2014.0595%2014.5639C14.026%2014.5154%2013.9788%2014.4778%2013.924%2014.456C13.8284%2014.4026%2013.802%2014.4102%2013.4049%2014.5973C12.9017%2014.8742%2012.3298%2015.0011%2011.7568%2014.9633C11.1894%2015.0021%2010.6229%2014.8778%2010.1239%2014.6049C9.97857%2014.528%209.82661%2014.4643%209.66995%2014.4143C9.6059%2014.4356%209.54865%2014.4734%209.50396%2014.524Z%22%20fill%3D%22url%28%23paint3_linear_710_997%29%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_710_997%22%20x1%3D%226%22%20y1%3D%223.5%22%20x2%3D%2216.5%22%20y2%3D%2220%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%220.108902%22%20stop-color%3D%22%23C12366%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23EF6844%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint1_linear_710_997%22%20x1%3D%228.1474%22%20y1%3D%229.30908%22%20x2%3D%228.1474%22%20y2%3D%2212.5718%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23BB246D%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F06F44%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint2_linear_710_997%22%20x1%3D%2215.3637%22%20y1%3D%229.31093%22%20x2%3D%2215.3637%22%20y2%3D%2212.5736%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23BB246D%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F06F44%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint3_linear_710_997%22%20x1%3D%2211.755%22%20y1%3D%2214.4143%22%20x2%3D%2211.755%22%20y2%3D%2215.593%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23BB246D%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F06F44%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E',onClick:function(){return u(!0)}}),c&&t.createElement(U2,{token:n,baseURL:A,handleClickBackBtn:u,darkMode:a}))};
|
|
330
330
|
/*! @license DOMPurify 2.4.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.7/LICENSE */
|
|
331
331
|
function k2(e){return k2='function'==typeof Symbol&&'symbol'==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&'function'==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?'symbol':typeof e},k2(e)}function _2(e,t){return _2=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_2(e,t)}function N2(e,t,n){return N2=function(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&_2(i,n.prototype),i},N2.apply(null,arguments)}function O2(e){return function(e){if(Array.isArray(e))return T2(e)}(e)||function(e){if('undefined'!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e['@@iterator'])return Array.from(e)}(e)||function(e,t){if(!e)return;if('string'==typeof e)return T2(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);'Object'===n&&e.constructor&&(n=e.constructor.name);if('Map'===n||'Set'===n)return Array.from(e);if('Arguments'===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return T2(e,t)}(e)||function(){throw new TypeError('Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.')}()}function T2(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var M2=Object.hasOwnProperty,P2=Object.setPrototypeOf,H2=Object.isFrozen,R2=Object.getPrototypeOf,D2=Object.getOwnPropertyDescriptor,V2=Object.freeze,G2=Object.seal,j2=Object.create,W2='undefined'!=typeof Reflect&&Reflect,z2=W2.apply,X2=W2.construct;z2||(z2=function(e,t,n){return e.apply(t,n)}),V2||(V2=function(e){return e}),G2||(G2=function(e){return e}),X2||(X2=function(e,t){return N2(e,O2(t))});var K2=A1(Array.prototype.forEach),q2=A1(Array.prototype.pop),Y2=A1(Array.prototype.push),Z2=A1(String.prototype.toLowerCase),J2=A1(String.prototype.toString),$2=A1(String.prototype.match),e1=A1(String.prototype.replace),t1=A1(String.prototype.indexOf),n1=A1(String.prototype.trim),r1=A1(RegExp.prototype.test),i1=function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return X2(e,n)}}(TypeError);function A1(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return z2(e,t,r)}}function o1(e,t,n){var r;n=null!==(r=n)&&void 0!==r?r:Z2,P2&&P2(e,null);for(var i=t.length;i--;){var A=t[i];if('string'==typeof A){var o=n(A);o!==A&&(H2(t)||(t[i]=o),A=o)}e[A]=!0}return e}function a1(e){var t,n=j2(null);for(t in e)!0===z2(M2,e,[t])&&(n[t]=e[t]);return n}function s1(e,t){for(;null!==e;){var n=D2(e,t);if(n){if(n.get)return A1(n.get);if('function'==typeof n.value)return A1(n.value)}e=R2(e)}return function(e){return null}}var c1=V2(['a','abbr','acronym','address','area','article','aside','audio','b','bdi','bdo','big','blink','blockquote','body','br','button','canvas','caption','center','cite','code','col','colgroup','content','data','datalist','dd','decorator','del','details','dfn','dialog','dir','div','dl','dt','element','em','fieldset','figcaption','figure','font','footer','form','h1','h2','h3','h4','h5','h6','head','header','hgroup','hr','html','i','img','input','ins','kbd','label','legend','li','main','map','mark','marquee','menu','menuitem','meter','nav','nobr','ol','optgroup','option','output','p','picture','pre','progress','q','rp','rt','ruby','s','samp','section','select','shadow','small','source','spacer','span','strike','strong','style','sub','summary','sup','table','tbody','td','template','textarea','tfoot','th','thead','time','tr','track','tt','u','ul','var','video','wbr']),u1=V2(['svg','a','altglyph','altglyphdef','altglyphitem','animatecolor','animatemotion','animatetransform','circle','clippath','defs','desc','ellipse','filter','font','g','glyph','glyphref','hkern','image','line','lineargradient','marker','mask','metadata','mpath','path','pattern','polygon','polyline','radialgradient','rect','stop','style','switch','symbol','text','textpath','title','tref','tspan','view','vkern']),l1=V2(['feBlend','feColorMatrix','feComponentTransfer','feComposite','feConvolveMatrix','feDiffuseLighting','feDisplacementMap','feDistantLight','feFlood','feFuncA','feFuncB','feFuncG','feFuncR','feGaussianBlur','feImage','feMerge','feMergeNode','feMorphology','feOffset','fePointLight','feSpecularLighting','feSpotLight','feTile','feTurbulence']),f1=V2(['animate','color-profile','cursor','discard','fedropshadow','font-face','font-face-format','font-face-name','font-face-src','font-face-uri','foreignobject','hatch','hatchpath','mesh','meshgradient','meshpatch','meshrow','missing-glyph','script','set','solidcolor','unknown','use']),d1=V2(['math','menclose','merror','mfenced','mfrac','mglyph','mi','mlabeledtr','mmultiscripts','mn','mo','mover','mpadded','mphantom','mroot','mrow','ms','mspace','msqrt','mstyle','msub','msup','msubsup','mtable','mtd','mtext','mtr','munder','munderover']),h1=V2(['maction','maligngroup','malignmark','mlongdiv','mscarries','mscarry','msgroup','mstack','msline','msrow','semantics','annotation','annotation-xml','mprescripts','none']),p1=V2(['#text']),g1=V2(['accept','action','align','alt','autocapitalize','autocomplete','autopictureinpicture','autoplay','background','bgcolor','border','capture','cellpadding','cellspacing','checked','cite','class','clear','color','cols','colspan','controls','controlslist','coords','crossorigin','datetime','decoding','default','dir','disabled','disablepictureinpicture','disableremoteplayback','download','draggable','enctype','enterkeyhint','face','for','headers','height','hidden','high','href','hreflang','id','inputmode','integrity','ismap','kind','label','lang','list','loading','loop','low','max','maxlength','media','method','min','minlength','multiple','muted','name','nonce','noshade','novalidate','nowrap','open','optimum','pattern','placeholder','playsinline','poster','preload','pubdate','radiogroup','readonly','rel','required','rev','reversed','role','rows','rowspan','spellcheck','scope','selected','shape','size','sizes','span','srclang','start','src','srcset','step','style','summary','tabindex','title','translate','type','usemap','valign','value','width','xmlns','slot']),m1=V2(['accent-height','accumulate','additive','alignment-baseline','ascent','attributename','attributetype','azimuth','basefrequency','baseline-shift','begin','bias','by','class','clip','clippathunits','clip-path','clip-rule','color','color-interpolation','color-interpolation-filters','color-profile','color-rendering','cx','cy','d','dx','dy','diffuseconstant','direction','display','divisor','dur','edgemode','elevation','end','fill','fill-opacity','fill-rule','filter','filterunits','flood-color','flood-opacity','font-family','font-size','font-size-adjust','font-stretch','font-style','font-variant','font-weight','fx','fy','g1','g2','glyph-name','glyphref','gradientunits','gradienttransform','height','href','id','image-rendering','in','in2','k','k1','k2','k3','k4','kerning','keypoints','keysplines','keytimes','lang','lengthadjust','letter-spacing','kernelmatrix','kernelunitlength','lighting-color','local','marker-end','marker-mid','marker-start','markerheight','markerunits','markerwidth','maskcontentunits','maskunits','max','mask','media','method','mode','min','name','numoctaves','offset','operator','opacity','order','orient','orientation','origin','overflow','paint-order','path','pathlength','patterncontentunits','patterntransform','patternunits','points','preservealpha','preserveaspectratio','primitiveunits','r','rx','ry','radius','refx','refy','repeatcount','repeatdur','restart','result','rotate','scale','seed','shape-rendering','specularconstant','specularexponent','spreadmethod','startoffset','stddeviation','stitchtiles','stop-color','stop-opacity','stroke-dasharray','stroke-dashoffset','stroke-linecap','stroke-linejoin','stroke-miterlimit','stroke-opacity','stroke','stroke-width','style','surfacescale','systemlanguage','tabindex','targetx','targety','transform','transform-origin','text-anchor','text-decoration','text-rendering','textlength','type','u1','u2','unicode','values','viewbox','visibility','version','vert-adv-y','vert-origin-x','vert-origin-y','width','word-spacing','wrap','writing-mode','xchannelselector','ychannelselector','x','x1','x2','xmlns','y','y1','y2','z','zoomandpan']),v1=V2(['accent','accentunder','align','bevelled','close','columnsalign','columnlines','columnspan','denomalign','depth','dir','display','displaystyle','encoding','fence','frame','height','href','id','largeop','length','linethickness','lspace','lquote','mathbackground','mathcolor','mathsize','mathvariant','maxsize','minsize','movablelimits','notation','numalign','open','rowalign','rowlines','rowspacing','rowspan','rspace','rquote','scriptlevel','scriptminsize','scriptsizemultiplier','selection','separator','separators','stretchy','subscriptshift','supscriptshift','symmetric','voffset','width','xmlns']),b1=V2(['xlink:href','xml:id','xlink:title','xml:space','xmlns:xlink']),y1=G2(/\{\{[\w\W]*|[\w\W]*\}\}/gm),w1=G2(/<%[\w\W]*|[\w\W]*%>/gm),B1=G2(/\${[\w\W]*}/gm),C1=G2(/^data-[\-\w.\u00B7-\uFFFF]/),x1=G2(/^aria-[\-\w]+$/),F1=G2(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),I1=G2(/^(?:\w+script|data):/i),E1=G2(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),S1=G2(/^html$/i),Q1=function(){return'undefined'==typeof window?null:window};var U1=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Q1(),n=function(t){return e(t)};if(n.version='2.4.7',n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var r=t.document,i=t.document,A=t.DocumentFragment,o=t.HTMLTemplateElement,a=t.Node,s=t.Element,c=t.NodeFilter,u=t.NamedNodeMap,l=void 0===u?t.NamedNodeMap||t.MozNamedAttrMap:u,f=t.HTMLFormElement,d=t.DOMParser,h=t.trustedTypes,p=s.prototype,g=s1(p,'cloneNode'),m=s1(p,'nextSibling'),v=s1(p,'childNodes'),b=s1(p,'parentNode');if('function'==typeof o){var y=i.createElement('template');y.content&&y.content.ownerDocument&&(i=y.content.ownerDocument)}var w=function(e,t){if('object'!==k2(e)||'function'!=typeof e.createPolicy)return null;var n=null,r='data-tt-policy-suffix';t.currentScript&&t.currentScript.hasAttribute(r)&&(n=t.currentScript.getAttribute(r));var i='dompurify'+(n?'#'+n:'');try{return e.createPolicy(i,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return null}}(h,r),B=w?w.createHTML(''):'',C=i,x=C.implementation,F=C.createNodeIterator,I=C.createDocumentFragment,E=C.getElementsByTagName,S=r.importNode,Q={};try{Q=a1(i).documentMode?i.documentMode:{}}catch(e){}var U={};n.isSupported='function'==typeof b&&x&&void 0!==x.createHTMLDocument&&9!==Q;var L,k,_=y1,N=w1,O=B1,T=C1,M=x1,P=I1,H=E1,R=F1,D=null,V=o1({},[].concat(O2(c1),O2(u1),O2(l1),O2(d1),O2(p1))),G=null,j=o1({},[].concat(O2(g1),O2(m1),O2(v1),O2(b1))),W=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),z=null,X=null,K=!0,q=!0,Y=!1,Z=!0,J=!1,$=!1,ee=!1,te=!1,ne=!1,re=!1,ie=!1,Ae=!0,oe=!1,ae=!0,se=!1,ce={},ue=null,le=o1({},['annotation-xml','audio','colgroup','desc','foreignobject','head','iframe','math','mi','mn','mo','ms','mtext','noembed','noframes','noscript','plaintext','script','style','svg','template','thead','title','video','xmp']),fe=null,de=o1({},['audio','video','img','source','image','track']),he=null,pe=o1({},['alt','class','for','id','label','name','pattern','placeholder','role','summary','title','value','style','xmlns']),ge='http://www.w3.org/1998/Math/MathML',me='http://www.w3.org/2000/svg',ve='http://www.w3.org/1999/xhtml',be=ve,ye=!1,we=null,Be=o1({},[ge,me,ve],J2),Ce=['application/xhtml+xml','text/html'],xe=null,Fe=i.createElement('form'),Ie=function(e){return e instanceof RegExp||e instanceof Function},Ee=function(e){xe&&xe===e||(e&&'object'===k2(e)||(e={}),e=a1(e),L=L=-1===Ce.indexOf(e.PARSER_MEDIA_TYPE)?'text/html':e.PARSER_MEDIA_TYPE,k='application/xhtml+xml'===L?J2:Z2,D='ALLOWED_TAGS'in e?o1({},e.ALLOWED_TAGS,k):V,G='ALLOWED_ATTR'in e?o1({},e.ALLOWED_ATTR,k):j,we='ALLOWED_NAMESPACES'in e?o1({},e.ALLOWED_NAMESPACES,J2):Be,he='ADD_URI_SAFE_ATTR'in e?o1(a1(pe),e.ADD_URI_SAFE_ATTR,k):pe,fe='ADD_DATA_URI_TAGS'in e?o1(a1(de),e.ADD_DATA_URI_TAGS,k):de,ue='FORBID_CONTENTS'in e?o1({},e.FORBID_CONTENTS,k):le,z='FORBID_TAGS'in e?o1({},e.FORBID_TAGS,k):{},X='FORBID_ATTR'in e?o1({},e.FORBID_ATTR,k):{},ce='USE_PROFILES'in e&&e.USE_PROFILES,K=!1!==e.ALLOW_ARIA_ATTR,q=!1!==e.ALLOW_DATA_ATTR,Y=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Z=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,J=e.SAFE_FOR_TEMPLATES||!1,$=e.WHOLE_DOCUMENT||!1,ne=e.RETURN_DOM||!1,re=e.RETURN_DOM_FRAGMENT||!1,ie=e.RETURN_TRUSTED_TYPE||!1,te=e.FORCE_BODY||!1,Ae=!1!==e.SANITIZE_DOM,oe=e.SANITIZE_NAMED_PROPS||!1,ae=!1!==e.KEEP_CONTENT,se=e.IN_PLACE||!1,R=e.ALLOWED_URI_REGEXP||R,be=e.NAMESPACE||ve,W=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Ie(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(W.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Ie(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(W.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&'boolean'==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(W.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),J&&(q=!1),re&&(ne=!0),ce&&(D=o1({},O2(p1)),G=[],!0===ce.html&&(o1(D,c1),o1(G,g1)),!0===ce.svg&&(o1(D,u1),o1(G,m1),o1(G,b1)),!0===ce.svgFilters&&(o1(D,l1),o1(G,m1),o1(G,b1)),!0===ce.mathMl&&(o1(D,d1),o1(G,v1),o1(G,b1))),e.ADD_TAGS&&(D===V&&(D=a1(D)),o1(D,e.ADD_TAGS,k)),e.ADD_ATTR&&(G===j&&(G=a1(G)),o1(G,e.ADD_ATTR,k)),e.ADD_URI_SAFE_ATTR&&o1(he,e.ADD_URI_SAFE_ATTR,k),e.FORBID_CONTENTS&&(ue===le&&(ue=a1(ue)),o1(ue,e.FORBID_CONTENTS,k)),ae&&(D['#text']=!0),$&&o1(D,['html','head','body']),D.table&&(o1(D,['tbody']),delete z.tbody),V2&&V2(e),xe=e)},Se=o1({},['mi','mo','mn','ms','mtext']),Qe=o1({},['foreignobject','desc','title','annotation-xml']),Ue=o1({},['title','style','font','a','script']),Le=o1({},u1);o1(Le,l1),o1(Le,f1);var ke=o1({},d1);o1(ke,h1);var _e=function(e){Y2(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=B}catch(t){e.remove()}}},Ne=function(e,t){try{Y2(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){Y2(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),'is'===e&&!G[e])if(ne||re)try{_e(t)}catch(e){}else try{t.setAttribute(e,'')}catch(e){}},Oe=function(e){var t,n;if(te)e='<remove></remove>'+e;else{var r=$2(e,/^[\r\n\t ]+/);n=r&&r[0]}'application/xhtml+xml'===L&&be===ve&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+'</body></html>');var A=w?w.createHTML(e):e;if(be===ve)try{t=(new d).parseFromString(A,L)}catch(e){}if(!t||!t.documentElement){t=x.createDocument(be,'template',null);try{t.documentElement.innerHTML=ye?B:A}catch(e){}}var o=t.body||t.documentElement;return e&&n&&o.insertBefore(i.createTextNode(n),o.childNodes[0]||null),be===ve?E.call(t,$?'html':'body')[0]:$?t.documentElement:o},Te=function(e){return F.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,null,!1)},Me=function(e){return'object'===k2(a)?e instanceof a:e&&'object'===k2(e)&&'number'==typeof e.nodeType&&'string'==typeof e.nodeName},Pe=function(e,t,r){U[e]&&K2(U[e],(function(e){e.call(n,t,r,xe)}))},He=function(e){var t,r;if(Pe('beforeSanitizeElements',e,null),(r=e)instanceof f&&('string'!=typeof r.nodeName||'string'!=typeof r.textContent||'function'!=typeof r.removeChild||!(r.attributes instanceof l)||'function'!=typeof r.removeAttribute||'function'!=typeof r.setAttribute||'string'!=typeof r.namespaceURI||'function'!=typeof r.insertBefore||'function'!=typeof r.hasChildNodes))return _e(e),!0;if(r1(/[\u0080-\uFFFF]/,e.nodeName))return _e(e),!0;var i=k(e.nodeName);if(Pe('uponSanitizeElement',e,{tagName:i,allowedTags:D}),e.hasChildNodes()&&!Me(e.firstElementChild)&&(!Me(e.content)||!Me(e.content.firstElementChild))&&r1(/<[/\w]/g,e.innerHTML)&&r1(/<[/\w]/g,e.textContent))return _e(e),!0;if('select'===i&&r1(/<template/i,e.innerHTML))return _e(e),!0;if(!D[i]||z[i]){if(!z[i]&&De(i)){if(W.tagNameCheck instanceof RegExp&&r1(W.tagNameCheck,i))return!1;if(W.tagNameCheck instanceof Function&&W.tagNameCheck(i))return!1}if(ae&&!ue[i]){var A=b(e)||e.parentNode,o=v(e)||e.childNodes;if(o&&A)for(var a=o.length-1;a>=0;--a)A.insertBefore(g(o[a],!0),m(e))}return _e(e),!0}return e instanceof s&&!function(e){var t=b(e);t&&t.tagName||(t={namespaceURI:be,tagName:'template'});var n=Z2(e.tagName),r=Z2(t.tagName);return!!we[e.namespaceURI]&&(e.namespaceURI===me?t.namespaceURI===ve?'svg'===n:t.namespaceURI===ge?'svg'===n&&('annotation-xml'===r||Se[r]):Boolean(Le[n]):e.namespaceURI===ge?t.namespaceURI===ve?'math'===n:t.namespaceURI===me?'math'===n&&Qe[r]:Boolean(ke[n]):e.namespaceURI===ve?!(t.namespaceURI===me&&!Qe[r])&&!(t.namespaceURI===ge&&!Se[r])&&!ke[n]&&(Ue[n]||!Le[n]):!('application/xhtml+xml'!==L||!we[e.namespaceURI]))}(e)?(_e(e),!0):'noscript'!==i&&'noembed'!==i&&'noframes'!==i||!r1(/<\/no(script|embed|frames)/i,e.innerHTML)?(J&&3===e.nodeType&&(t=e.textContent,t=e1(t,_,' '),t=e1(t,N,' '),t=e1(t,O,' '),e.textContent!==t&&(Y2(n.removed,{element:e.cloneNode()}),e.textContent=t)),Pe('afterSanitizeElements',e,null),!1):(_e(e),!0)},Re=function(e,t,n){if(Ae&&('id'===t||'name'===t)&&(n in i||n in Fe))return!1;if(q&&!X[t]&&r1(T,t));else if(K&&r1(M,t));else if(!G[t]||X[t]){if(!(De(e)&&(W.tagNameCheck instanceof RegExp&&r1(W.tagNameCheck,e)||W.tagNameCheck instanceof Function&&W.tagNameCheck(e))&&(W.attributeNameCheck instanceof RegExp&&r1(W.attributeNameCheck,t)||W.attributeNameCheck instanceof Function&&W.attributeNameCheck(t))||'is'===t&&W.allowCustomizedBuiltInElements&&(W.tagNameCheck instanceof RegExp&&r1(W.tagNameCheck,n)||W.tagNameCheck instanceof Function&&W.tagNameCheck(n))))return!1}else if(he[t]);else if(r1(R,e1(n,H,'')));else if('src'!==t&&'xlink:href'!==t&&'href'!==t||'script'===e||0!==t1(n,'data:')||!fe[e]){if(Y&&!r1(P,e1(n,H,'')));else if(n)return!1}else;return!0},De=function(e){return e.indexOf('-')>0},Ve=function(e){var t,r,i,A;Pe('beforeSanitizeAttributes',e,null);var o=e.attributes;if(o){var a={attrName:'',attrValue:'',keepAttr:!0,allowedAttributes:G};for(A=o.length;A--;){var s=t=o[A],c=s.name,u=s.namespaceURI;if(r='value'===c?t.value:n1(t.value),i=k(c),a.attrName=i,a.attrValue=r,a.keepAttr=!0,a.forceKeepAttr=void 0,Pe('uponSanitizeAttribute',e,a),r=a.attrValue,!a.forceKeepAttr&&(Ne(c,e),a.keepAttr))if(Z||!r1(/\/>/i,r)){J&&(r=e1(r,_,' '),r=e1(r,N,' '),r=e1(r,O,' '));var l=k(e.nodeName);if(Re(l,i,r)){if(!oe||'id'!==i&&'name'!==i||(Ne(c,e),r='user-content-'+r),w&&'object'===k2(h)&&'function'==typeof h.getAttributeType)if(u);else switch(h.getAttributeType(l,i)){case'TrustedHTML':r=w.createHTML(r);break;case'TrustedScriptURL':r=w.createScriptURL(r)}try{u?e.setAttributeNS(u,c,r):e.setAttribute(c,r),q2(n.removed)}catch(e){}}}else Ne(c,e)}Pe('afterSanitizeAttributes',e,null)}},Ge=function e(t){var n,r=Te(t);for(Pe('beforeSanitizeShadowDOM',t,null);n=r.nextNode();)Pe('uponSanitizeShadowNode',n,null),He(n)||(n.content instanceof A&&e(n.content),Ve(n));Pe('afterSanitizeShadowDOM',t,null)};return n.sanitize=function(e){var i,o,s,c,u,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((ye=!e)&&(e='\x3c!--\x3e'),'string'!=typeof e&&!Me(e)){if('function'!=typeof e.toString)throw i1('toString is not a function');if('string'!=typeof(e=e.toString()))throw i1('dirty is not a string, aborting')}if(!n.isSupported){if('object'===k2(t.toStaticHTML)||'function'==typeof t.toStaticHTML){if('string'==typeof e)return t.toStaticHTML(e);if(Me(e))return t.toStaticHTML(e.outerHTML)}return e}if(ee||Ee(l),n.removed=[],'string'==typeof e&&(se=!1),se){if(e.nodeName){var f=k(e.nodeName);if(!D[f]||z[f])throw i1('root node is forbidden and cannot be sanitized in-place')}}else if(e instanceof a)1===(o=(i=Oe('\x3c!----\x3e')).ownerDocument.importNode(e,!0)).nodeType&&'BODY'===o.nodeName||'HTML'===o.nodeName?i=o:i.appendChild(o);else{if(!ne&&!J&&!$&&-1===e.indexOf('<'))return w&&ie?w.createHTML(e):e;if(!(i=Oe(e)))return ne?null:ie?B:''}i&&te&&_e(i.firstChild);for(var d=Te(se?e:i);s=d.nextNode();)3===s.nodeType&&s===c||He(s)||(s.content instanceof A&&Ge(s.content),Ve(s),c=s);if(c=null,se)return e;if(ne){if(re)for(u=I.call(i.ownerDocument);i.firstChild;)u.appendChild(i.firstChild);else u=i;return(G.shadowroot||G.shadowrootmod)&&(u=S.call(r,u,!0)),u}var h=$?i.outerHTML:i.innerHTML;return $&&D['!doctype']&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&r1(S1,i.ownerDocument.doctype.name)&&(h='<!DOCTYPE '+i.ownerDocument.doctype.name+'>\n'+h),J&&(h=e1(h,_,' '),h=e1(h,N,' '),h=e1(h,O,' ')),w&&ie?w.createHTML(h):h},n.setConfig=function(e){Ee(e),ee=!0},n.clearConfig=function(){xe=null,ee=!1},n.isValidAttribute=function(e,t,n){xe||Ee({});var r=k(e),i=k(t);return Re(r,i,n)},n.addHook=function(e,t){'function'==typeof t&&(U[e]=U[e]||[],Y2(U[e],t))},n.removeHook=function(e){if(U[e])return q2(U[e])},n.removeHooks=function(e){U[e]&&(U[e]=[])},n.removeAllHooks=function(){U={}},n}(),L1=Object.freeze({__proto__:null,default:U1}),k1=function(e){return e&&e.Math===Math&&e},_1=k1('object'==typeof globalThis&&globalThis)||k1('object'==typeof window&&window)||k1('object'==typeof self&&self)||k1('object'==typeof Rn&&Rn)||k1('object'==typeof Rn&&Rn)||function(){return this}()||Function('return this')(),N1={},O1=function(e){try{return!!e()}catch(e){return!0}},T1=!O1((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),M1=!O1((function(){var e=function(){}.bind();return'function'!=typeof e||e.hasOwnProperty('prototype')})),P1=M1,H1=Function.prototype.call,R1=P1?H1.bind(H1):function(){return H1.apply(H1,arguments)},D1={},V1={}.propertyIsEnumerable,G1=Object.getOwnPropertyDescriptor,j1=G1&&!V1.call({1:2},1);D1.f=j1?function(e){var t=G1(this,e);return!!t&&t.enumerable}:V1;var W1,z1,X1=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},K1=M1,q1=Function.prototype,Y1=q1.call,Z1=K1&&q1.bind.bind(Y1,Y1),J1=K1?Z1:function(e){return function(){return Y1.apply(e,arguments)}},$1=J1,e5=$1({}.toString),t5=$1(''.slice),n5=function(e){return t5(e5(e),8,-1)},r5=O1,i5=n5,A5=Object,o5=J1(''.split),a5=r5((function(){return!A5('z').propertyIsEnumerable(0)}))?function(e){return'String'===i5(e)?o5(e,''):A5(e)}:A5,s5=function(e){return null==e},c5=s5,u5=TypeError,l5=function(e){if(c5(e))throw new u5('Can\'t call method on '+e);return e},f5=a5,d5=l5,h5=function(e){return f5(d5(e))},p5='object'==typeof document&&document.all,g5={all:p5,IS_HTMLDDA:void 0===p5&&void 0!==p5},m5=g5.all,v5=g5.IS_HTMLDDA?function(e){return'function'==typeof e||e===m5}:function(e){return'function'==typeof e},b5=v5,y5=g5.all,w5=g5.IS_HTMLDDA?function(e){return'object'==typeof e?null!==e:b5(e)||e===y5}:function(e){return'object'==typeof e?null!==e:b5(e)},B5=_1,C5=v5,x5=function(e,t){return arguments.length<2?(n=B5[e],C5(n)?n:void 0):B5[e]&&B5[e][t];var n},F5=J1({}.isPrototypeOf),I5='undefined'!=typeof navigator&&String(navigator.userAgent)||'',E5=_1,S5=I5,Q5=E5.process,U5=E5.Deno,L5=Q5&&Q5.versions||U5&&U5.version,k5=L5&&L5.v8;k5&&(z1=(W1=k5.split('.'))[0]>0&&W1[0]<4?1:+(W1[0]+W1[1])),!z1&&S5&&(!(W1=S5.match(/Edge\/(\d+)/))||W1[1]>=74)&&(W1=S5.match(/Chrome\/(\d+)/))&&(z1=+W1[1]);var _5=z1,N5=_5,O5=O1,T5=_1.String,M5=!!Object.getOwnPropertySymbols&&!O5((function(){var e=Symbol('symbol detection');return!T5(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&N5&&N5<41})),P5=M5&&!Symbol.sham&&'symbol'==typeof Symbol.iterator,H5=x5,R5=v5,D5=F5,V5=Object,G5=P5?function(e){return'symbol'==typeof e}:function(e){var t=H5('Symbol');return R5(t)&&D5(t.prototype,V5(e))},j5=String,W5=function(e){try{return j5(e)}catch(e){return'Object'}},z5=v5,X5=W5,K5=TypeError,q5=function(e){if(z5(e))return e;throw new K5(X5(e)+' is not a function')},Y5=q5,Z5=s5,J5=function(e,t){var n=e[t];return Z5(n)?void 0:Y5(n)},$5=R1,e3=v5,t3=w5,n3=TypeError,r3={exports:{}},i3=_1,A3=Object.defineProperty,o3=function(e,t){try{A3(i3,e,{value:t,configurable:!0,writable:!0})}catch(n){i3[e]=t}return t},a3=o3,s3='__core-js_shared__',c3=_1[s3]||a3(s3,{}),u3=c3;(r3.exports=function(e,t){return u3[e]||(u3[e]=void 0!==t?t:{})})('versions',[]).push({version:'3.34.0',mode:'global',copyright:'© 2014-2023 Denis Pushkarev (zloirock.ru)',license:'https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE',source:'https://github.com/zloirock/core-js'});var l3=r3.exports,f3=l5,d3=Object,h3=function(e){return d3(f3(e))},p3=h3,g3=J1({}.hasOwnProperty),m3=Object.hasOwn||function(e,t){return g3(p3(e),t)},v3=J1,b3=0,y3=Math.random(),w3=v3(1..toString),B3=function(e){return'Symbol('+(void 0===e?'':e)+')_'+w3(++b3+y3,36)},C3=l3,x3=m3,F3=B3,I3=M5,E3=P5,S3=_1.Symbol,Q3=C3('wks'),U3=E3?S3.for||S3:S3&&S3.withoutSetter||F3,L3=function(e){return x3(Q3,e)||(Q3[e]=I3&&x3(S3,e)?S3[e]:U3('Symbol.'+e)),Q3[e]},k3=R1,_3=w5,N3=G5,O3=J5,T3=function(e,t){var n,r;if('string'===t&&e3(n=e.toString)&&!t3(r=$5(n,e)))return r;if(e3(n=e.valueOf)&&!t3(r=$5(n,e)))return r;if('string'!==t&&e3(n=e.toString)&&!t3(r=$5(n,e)))return r;throw new n3('Can\'t convert object to primitive value')},M3=TypeError,P3=L3('toPrimitive'),H3=function(e,t){if(!_3(e)||N3(e))return e;var n,r=O3(e,P3);if(r){if(void 0===t&&(t='default'),n=k3(r,e,t),!_3(n)||N3(n))return n;throw new M3('Can\'t convert object to primitive value')}return void 0===t&&(t='number'),T3(e,t)},R3=G5,D3=function(e){var t=H3(e,'string');return R3(t)?t:t+''},V3=w5,G3=_1.document,j3=V3(G3)&&V3(G3.createElement),W3=function(e){return j3?G3.createElement(e):{}},z3=W3,X3=!T1&&!O1((function(){return 7!==Object.defineProperty(z3('div'),'a',{get:function(){return 7}}).a})),K3=T1,q3=R1,Y3=D1,Z3=X1,J3=h5,$3=D3,e4=m3,t4=X3,n4=Object.getOwnPropertyDescriptor;N1.f=K3?n4:function(e,t){if(e=J3(e),t=$3(t),t4)try{return n4(e,t)}catch(e){}if(e4(e,t))return Z3(!q3(Y3.f,e,t),e[t])};var r4={},i4=T1&&O1((function(){return 42!==Object.defineProperty((function(){}),'prototype',{value:42,writable:!1}).prototype})),A4=w5,o4=String,a4=TypeError,s4=function(e){if(A4(e))return e;throw new a4(o4(e)+' is not an object')},c4=T1,u4=X3,l4=i4,f4=s4,d4=D3,h4=TypeError,p4=Object.defineProperty,g4=Object.getOwnPropertyDescriptor,m4='enumerable',v4='configurable',b4='writable';r4.f=c4?l4?function(e,t,n){if(f4(e),t=d4(t),f4(n),'function'==typeof e&&'prototype'===t&&'value'in n&&b4 in n&&!n[b4]){var r=g4(e,t);r&&r[b4]&&(e[t]=n.value,n={configurable:v4 in n?n[v4]:r[v4],enumerable:m4 in n?n[m4]:r[m4],writable:!1})}return p4(e,t,n)}:p4:function(e,t,n){if(f4(e),t=d4(t),f4(n),u4)try{return p4(e,t,n)}catch(e){}if('get'in n||'set'in n)throw new h4('Accessors not supported');return'value'in n&&(e[t]=n.value),e};var y4=r4,w4=X1,B4=T1?function(e,t,n){return y4.f(e,t,w4(1,n))}:function(e,t,n){return e[t]=n,e},C4={exports:{}},x4=T1,F4=m3,I4=Function.prototype,E4=x4&&Object.getOwnPropertyDescriptor,S4=F4(I4,'name'),Q4={EXISTS:S4,PROPER:S4&&'something'===function(){}.name,CONFIGURABLE:S4&&(!x4||x4&&E4(I4,'name').configurable)},U4=v5,L4=c3,k4=J1(Function.toString);U4(L4.inspectSource)||(L4.inspectSource=function(e){return k4(e)});var _4,N4,O4,T4=L4.inspectSource,M4=v5,P4=_1.WeakMap,H4=M4(P4)&&/native code/.test(String(P4)),R4=B3,D4=l3('keys'),V4=function(e){return D4[e]||(D4[e]=R4(e))},G4={},j4=H4,W4=_1,z4=w5,X4=B4,K4=m3,q4=c3,Y4=V4,Z4=G4,J4='Object already initialized',$4=W4.TypeError,e6=W4.WeakMap;if(j4||q4.state){var t6=q4.state||(q4.state=new e6);t6.get=t6.get,t6.has=t6.has,t6.set=t6.set,_4=function(e,t){if(t6.has(e))throw new $4(J4);return t.facade=e,t6.set(e,t),t},N4=function(e){return t6.get(e)||{}},O4=function(e){return t6.has(e)}}else{var n6=Y4('state');Z4[n6]=!0,_4=function(e,t){if(K4(e,n6))throw new $4(J4);return t.facade=e,X4(e,n6,t),t},N4=function(e){return K4(e,n6)?e[n6]:{}},O4=function(e){return K4(e,n6)}}var r6={set:_4,get:N4,has:O4,enforce:function(e){return O4(e)?N4(e):_4(e,{})},getterFor:function(e){return function(t){var n;if(!z4(t)||(n=N4(t)).type!==e)throw new $4('Incompatible receiver, '+e+' required');return n}}},i6=J1,A6=O1,o6=v5,a6=m3,s6=T1,c6=Q4.CONFIGURABLE,u6=T4,l6=r6.enforce,f6=r6.get,d6=String,h6=Object.defineProperty,p6=i6(''.slice),g6=i6(''.replace),m6=i6([].join),v6=s6&&!A6((function(){return 8!==h6((function(){}),'length',{value:8}).length})),b6=String(String).split('String'),y6=C4.exports=function(e,t,n){'Symbol('===p6(d6(t),0,7)&&(t='['+g6(d6(t),/^Symbol\(([^)]*)\)/,'$1')+']'),n&&n.getter&&(t='get '+t),n&&n.setter&&(t='set '+t),(!a6(e,'name')||c6&&e.name!==t)&&(s6?h6(e,'name',{value:t,configurable:!0}):e.name=t),v6&&n&&a6(n,'arity')&&e.length!==n.arity&&h6(e,'length',{value:n.arity});try{n&&a6(n,'constructor')&&n.constructor?s6&&h6(e,'prototype',{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=l6(e);return a6(r,'source')||(r.source=m6(b6,'string'==typeof t?t:'')),e};Function.prototype.toString=y6((function(){return o6(this)&&f6(this).source||u6(this)}),'toString');var w6=C4.exports,B6=v5,C6=r4,x6=w6,F6=o3,I6=function(e,t,n,r){r||(r={});var i=r.enumerable,A=void 0!==r.name?r.name:t;if(B6(n)&&x6(n,A,r),r.global)i?e[t]=n:F6(t,n);else{try{r.unsafe?e[t]&&(i=!0):delete e[t]}catch(e){}i?e[t]=n:C6.f(e,t,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e},E6={},S6=Math.ceil,Q6=Math.floor,U6=Math.trunc||function(e){var t=+e;return(t>0?Q6:S6)(t)},L6=U6,k6=function(e){var t=+e;return t!=t||0===t?0:L6(t)},_6=k6,N6=Math.max,O6=Math.min,T6=function(e,t){var n=_6(e);return n<0?N6(n+t,0):O6(n,t)},M6=k6,P6=Math.min,H6=function(e){return e>0?P6(M6(e),9007199254740991):0},R6=H6,D6=function(e){return R6(e.length)},V6=h5,G6=T6,j6=D6,W6=function(e){return function(t,n,r){var i,A=V6(t),o=j6(A),a=G6(r,o);if(e&&n!=n){for(;o>a;)if((i=A[a++])!=i)return!0}else for(;o>a;a++)if((e||a in A)&&A[a]===n)return e||a||0;return!e&&-1}},z6={includes:W6(!0),indexOf:W6(!1)},X6=m3,K6=h5,q6=z6.indexOf,Y6=G4,Z6=J1([].push),J6=function(e,t){var n,r=K6(e),i=0,A=[];for(n in r)!X6(Y6,n)&&X6(r,n)&&Z6(A,n);for(;t.length>i;)X6(r,n=t[i++])&&(~q6(A,n)||Z6(A,n));return A},$6=['constructor','hasOwnProperty','isPrototypeOf','propertyIsEnumerable','toLocaleString','toString','valueOf'],e8=J6,t8=$6.concat('length','prototype');E6.f=Object.getOwnPropertyNames||function(e){return e8(e,t8)};var n8={};n8.f=Object.getOwnPropertySymbols;var r8=x5,i8=E6,A8=n8,o8=s4,a8=J1([].concat),s8=r8('Reflect','ownKeys')||function(e){var t=i8.f(o8(e)),n=A8.f;return n?a8(t,n(e)):t},c8=m3,u8=s8,l8=N1,f8=r4,d8=O1,h8=v5,p8=/#|\.prototype\./,g8=function(e,t){var n=v8[m8(e)];return n===y8||n!==b8&&(h8(t)?d8(t):!!t)},m8=g8.normalize=function(e){return String(e).replace(p8,'.').toLowerCase()},v8=g8.data={},b8=g8.NATIVE='N',y8=g8.POLYFILL='P',w8=g8,B8=_1,C8=N1.f,x8=B4,F8=I6,I8=o3,E8=function(e,t,n){for(var r=u8(t),i=f8.f,A=l8.f,o=0;o<r.length;o++){var a=r[o];c8(e,a)||n&&c8(n,a)||i(e,a,A(t,a))}},S8=w8,Q8=function(e,t){var n,r,i,A,o,a=e.target,s=e.global,c=e.stat;if(n=s?B8:c?B8[a]||I8(a,{}):(B8[a]||{}).prototype)for(r in t){if(A=t[r],i=e.dontCallGetSet?(o=C8(n,r))&&o.value:n[r],!S8(s?r:a+(c?'.':'#')+r,e.forced)&&void 0!==i){if(typeof A==typeof i)continue;E8(A,i)}(e.sham||i&&i.sham)&&x8(A,'sham',!0),F8(n,r,A,e)}},U8='process'===n5(_1.process),L8=J1,k8=q5,_8=v5,N8=String,O8=TypeError,T8=function(e,t,n){try{return L8(k8(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}},M8=s4,P8=function(e){if('object'==typeof e||_8(e))return e;throw new O8('Can\'t set '+N8(e)+' as a prototype')},H8=Object.setPrototypeOf||('__proto__'in{}?function(){var e,t=!1,n={};try{(e=T8(Object.prototype,'__proto__','set'))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return M8(n),P8(r),t?e(n,r):n.__proto__=r,n}}():void 0),R8=r4.f,D8=m3,V8=L3('toStringTag'),G8=function(e,t,n){e&&!n&&(e=e.prototype),e&&!D8(e,V8)&&R8(e,V8,{configurable:!0,value:t})},j8=w6,W8=r4,z8=x5,X8=function(e,t,n){return n.get&&j8(n.get,t,{getter:!0}),n.set&&j8(n.set,t,{setter:!0}),W8.f(e,t,n)},K8=T1,q8=L3('species'),Y8=F5,Z8=TypeError,J8={};J8[L3('toStringTag')]='z';var $8='[object z]'===String(J8),e7=v5,t7=n5,n7=L3('toStringTag'),r7=Object,i7='Arguments'===t7(function(){return arguments}()),A7=$8?t7:function(e){var t,n,r;return void 0===e?'Undefined':null===e?'Null':'string'==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=r7(e),n7))?n:i7?t7(t):'Object'===(r=t7(t))&&e7(t.callee)?'Arguments':r},o7=J1,a7=O1,s7=v5,c7=A7,u7=T4,l7=function(){},f7=[],d7=x5('Reflect','construct'),h7=/^\s*(?:class|function)\b/,p7=o7(h7.exec),g7=!h7.test(l7),m7=function(e){if(!s7(e))return!1;try{return d7(l7,f7,e),!0}catch(e){return!1}},v7=function(e){if(!s7(e))return!1;switch(c7(e)){case'AsyncFunction':case'GeneratorFunction':case'AsyncGeneratorFunction':return!1}try{return g7||!!p7(h7,u7(e))}catch(e){return!0}};v7.sham=!0;var b7,y7,w7,B7,C7=!d7||a7((function(){var e;return m7(m7.call)||!m7(Object)||!m7((function(){e=!0}))||e}))?v7:m7,x7=C7,F7=W5,I7=TypeError,E7=s4,S7=function(e){if(x7(e))return e;throw new I7(F7(e)+' is not a constructor')},Q7=s5,U7=L3('species'),L7=function(e,t){var n,r=E7(e).constructor;return void 0===r||Q7(n=E7(r)[U7])?t:S7(n)},k7=M1,_7=Function.prototype,N7=_7.apply,O7=_7.call,T7='object'==typeof Reflect&&Reflect.apply||(k7?O7.bind(N7):function(){return O7.apply(N7,arguments)}),M7=n5,P7=J1,H7=function(e){if('Function'===M7(e))return P7(e)},R7=q5,D7=M1,V7=H7(H7.bind),G7=function(e,t){return R7(e),void 0===t?e:D7?V7(e,t):function(){return e.apply(t,arguments)}},j7=x5('document','documentElement'),W7=J1([].slice),z7=TypeError,X7=/(?:ipad|iphone|ipod).*applewebkit/i.test(I5),K7=_1,q7=T7,Y7=G7,Z7=v5,J7=m3,$7=O1,e9=j7,t9=W7,n9=W3,r9=function(e,t){if(e<t)throw new z7('Not enough arguments');return e},i9=X7,A9=U8,o9=K7.setImmediate,a9=K7.clearImmediate,s9=K7.process,c9=K7.Dispatch,u9=K7.Function,l9=K7.MessageChannel,f9=K7.String,d9=0,h9={},p9='onreadystatechange';$7((function(){b7=K7.location}));var g9=function(e){if(J7(h9,e)){var t=h9[e];delete h9[e],t()}},m9=function(e){return function(){g9(e)}},v9=function(e){g9(e.data)},b9=function(e){K7.postMessage(f9(e),b7.protocol+'//'+b7.host)};o9&&a9||(o9=function(e){r9(arguments.length,1);var t=Z7(e)?e:u9(e),n=t9(arguments,1);return h9[++d9]=function(){q7(t,void 0,n)},y7(d9),d9},a9=function(e){delete h9[e]},A9?y7=function(e){s9.nextTick(m9(e))}:c9&&c9.now?y7=function(e){c9.now(m9(e))}:l9&&!i9?(B7=(w7=new l9).port2,w7.port1.onmessage=v9,y7=Y7(B7.postMessage,B7)):K7.addEventListener&&Z7(K7.postMessage)&&!K7.importScripts&&b7&&'file:'!==b7.protocol&&!$7(b9)?(y7=b9,K7.addEventListener('message',v9,!1)):y7=p9 in n9('script')?function(e){e9.appendChild(n9('script'))[p9]=function(){e9.removeChild(this),g9(e)}}:function(e){setTimeout(m9(e),0)});var y9={set:o9,clear:a9},w9=function(){this.head=null,this.tail=null};w9.prototype={add:function(e){var t={item:e,next:null},n=this.tail;n?n.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}};var B9,C9,x9,F9,I9,E9=w9,S9=/ipad|iphone|ipod/i.test(I5)&&'undefined'!=typeof Pebble,Q9=/web0s(?!.*chrome)/i.test(I5),U9=_1,L9=G7,k9=N1.f,_9=y9.set,N9=E9,O9=X7,T9=S9,M9=Q9,P9=U8,H9=U9.MutationObserver||U9.WebKitMutationObserver,R9=U9.document,D9=U9.process,V9=U9.Promise,G9=k9(U9,'queueMicrotask'),j9=G9&&G9.value;if(!j9){var W9=new N9,z9=function(){var e,t;for(P9&&(e=D9.domain)&&e.exit();t=W9.get();)try{t()}catch(e){throw W9.head&&B9(),e}e&&e.enter()};O9||P9||M9||!H9||!R9?!T9&&V9&&V9.resolve?((F9=V9.resolve(void 0)).constructor=V9,I9=L9(F9.then,F9),B9=function(){I9(z9)}):P9?B9=function(){D9.nextTick(z9)}:(_9=L9(_9,U9),B9=function(){_9(z9)}):(C9=!0,x9=R9.createTextNode(''),new H9(z9).observe(x9,{characterData:!0}),B9=function(){x9.data=C9=!C9}),j9=function(e){W9.head||B9(),W9.add(e)}}var X9=j9,K9=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},q9=_1.Promise,Y9='object'==typeof Deno&&Deno&&'object'==typeof Deno.version,Z9=!Y9&&!U8&&'object'==typeof window&&'object'==typeof document,J9=_1,$9=q9,eee=v5,tee=w8,nee=T4,ree=L3,iee=Z9,Aee=Y9,oee=_5;$9&&$9.prototype;var aee=ree('species'),see=!1,cee=eee(J9.PromiseRejectionEvent),uee=tee('Promise',(function(){var e=nee($9),t=e!==String($9);if(!t&&66===oee)return!0;if(!oee||oee<51||!/native code/.test(e)){var n=new $9((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((n.constructor={})[aee]=r,!(see=n.then((function(){}))instanceof r))return!0}return!t&&(iee||Aee)&&!cee})),lee={CONSTRUCTOR:uee,REJECTION_EVENT:cee,SUBCLASSING:see},fee={},dee=q5,hee=TypeError,pee=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw new hee('Bad Promise constructor');t=e,n=r})),this.resolve=dee(t),this.reject=dee(n)};fee.f=function(e){return new pee(e)};var gee,mee,vee,bee=Q8,yee=U8,wee=_1,Bee=R1,Cee=I6,xee=H8,Fee=G8,Iee=function(e){var t=z8(e);K8&&t&&!t[q8]&&X8(t,q8,{configurable:!0,get:function(){return this}})},Eee=q5,See=v5,Qee=w5,Uee=function(e,t){if(Y8(t,e))return e;throw new Z8('Incorrect invocation')},Lee=L7,kee=y9.set,_ee=X9,Nee=function(e,t){},Oee=K9,Tee=E9,Mee=r6,Pee=q9,Hee=fee,Ree='Promise',Dee=lee.CONSTRUCTOR,Vee=lee.REJECTION_EVENT,Gee=lee.SUBCLASSING,jee=Mee.getterFor(Ree),Wee=Mee.set,zee=Pee&&Pee.prototype,Xee=Pee,Kee=zee,qee=wee.TypeError,Yee=wee.document,Zee=wee.process,Jee=Hee.f,$ee=Jee,ete=!!(Yee&&Yee.createEvent&&wee.dispatchEvent),tte='unhandledrejection',nte=function(e){var t;return!(!Qee(e)||!See(t=e.then))&&t},rte=function(e,t){var n,r,i,A=t.value,o=1===t.state,a=o?e.ok:e.fail,s=e.resolve,c=e.reject,u=e.domain;try{a?(o||(2===t.rejection&&ste(t),t.rejection=1),!0===a?n=A:(u&&u.enter(),n=a(A),u&&(u.exit(),i=!0)),n===e.promise?c(new qee('Promise-chain cycle')):(r=nte(n))?Bee(r,n,s,c):s(n)):c(A)}catch(e){u&&!i&&u.exit(),c(e)}},ite=function(e,t){e.notified||(e.notified=!0,_ee((function(){for(var n,r=e.reactions;n=r.get();)rte(n,e);e.notified=!1,t&&!e.rejection&&ote(e)})))},Ate=function(e,t,n){var r,i;ete?((r=Yee.createEvent('Event')).promise=t,r.reason=n,r.initEvent(e,!1,!0),wee.dispatchEvent(r)):r={promise:t,reason:n},!Vee&&(i=wee['on'+e])?i(r):e===tte&&Nee('Unhandled promise rejection',n)},ote=function(e){Bee(kee,wee,(function(){var t,n=e.facade,r=e.value;if(ate(e)&&(t=Oee((function(){yee?Zee.emit('unhandledRejection',r,n):Ate(tte,n,r)})),e.rejection=yee||ate(e)?2:1,t.error))throw t.value}))},ate=function(e){return 1!==e.rejection&&!e.parent},ste=function(e){Bee(kee,wee,(function(){var t=e.facade;yee?Zee.emit('rejectionHandled',t):Ate('rejectionhandled',t,e.value)}))},cte=function(e,t,n){return function(r){e(t,r,n)}},ute=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,ite(e,!0))},lte=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw new qee('Promise can\'t be resolved itself');var r=nte(t);r?_ee((function(){var n={done:!1};try{Bee(r,t,cte(lte,n,e),cte(ute,n,e))}catch(t){ute(n,t,e)}})):(e.value=t,e.state=1,ite(e,!1))}catch(t){ute({done:!1},t,e)}}};if(Dee&&(Kee=(Xee=function(e){Uee(this,Kee),Eee(e),Bee(gee,this);var t=jee(this);try{e(cte(lte,t),cte(ute,t))}catch(e){ute(t,e)}}).prototype,(gee=function(e){Wee(this,{type:Ree,done:!1,notified:!1,parent:!1,reactions:new Tee,rejection:!1,state:0,value:void 0})}).prototype=Cee(Kee,'then',(function(e,t){var n=jee(this),r=Jee(Lee(this,Xee));return n.parent=!0,r.ok=!See(e)||e,r.fail=See(t)&&t,r.domain=yee?Zee.domain:void 0,0===n.state?n.reactions.add(r):_ee((function(){rte(r,n)})),r.promise})),mee=function(){var e=new gee,t=jee(e);this.promise=e,this.resolve=cte(lte,t),this.reject=cte(ute,t)},Hee.f=Jee=function(e){return e===Xee||undefined===e?new mee(e):$ee(e)},See(Pee)&&zee!==Object.prototype)){vee=zee.then,Gee||Cee(zee,'then',(function(e,t){var n=this;return new Xee((function(e,t){Bee(vee,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete zee.constructor}catch(e){}xee&&xee(zee,Kee)}bee({global:!0,constructor:!0,wrap:!0,forced:Dee},{Promise:Xee}),Fee(Xee,Ree,!1),Iee(Ree);var fte={},dte=fte,hte=L3('iterator'),pte=Array.prototype,gte=A7,mte=J5,vte=s5,bte=fte,yte=L3('iterator'),wte=function(e){if(!vte(e))return mte(e,yte)||mte(e,'@@iterator')||bte[gte(e)]},Bte=R1,Cte=q5,xte=s4,Fte=W5,Ite=wte,Ete=TypeError,Ste=R1,Qte=s4,Ute=J5,Lte=G7,kte=R1,_te=s4,Nte=W5,Ote=function(e){return void 0!==e&&(dte.Array===e||pte[hte]===e)},Tte=D6,Mte=F5,Pte=function(e,t){var n=arguments.length<2?Ite(e):t;if(Cte(n))return xte(Bte(n,e));throw new Ete(Fte(e)+' is not iterable')},Hte=wte,Rte=function(e,t,n){var r,i;Qte(e);try{if(!(r=Ute(e,'return'))){if('throw'===t)throw n;return n}r=Ste(r,e)}catch(e){i=!0,r=e}if('throw'===t)throw n;if(i)throw r;return Qte(r),n},Dte=TypeError,Vte=function(e,t){this.stopped=e,this.result=t},Gte=Vte.prototype,jte=function(e,t,n){var r,i,A,o,a,s,c,u=n&&n.that,l=!(!n||!n.AS_ENTRIES),f=!(!n||!n.IS_RECORD),d=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),p=Lte(t,u),g=function(e){return r&&Rte(r,'normal',e),new Vte(!0,e)},m=function(e){return l?(_te(e),h?p(e[0],e[1],g):p(e[0],e[1])):h?p(e,g):p(e)};if(f)r=e.iterator;else if(d)r=e;else{if(!(i=Hte(e)))throw new Dte(Nte(e)+' is not iterable');if(Ote(i)){for(A=0,o=Tte(e);o>A;A++)if((a=m(e[A]))&&Mte(Gte,a))return a;return new Vte(!1)}r=Pte(e,i)}for(s=f?e.next:r.next;!(c=kte(s,r)).done;){try{a=m(c.value)}catch(e){Rte(r,'throw',e)}if('object'==typeof a&&a&&Mte(Gte,a))return a}return new Vte(!1)},Wte=L3('iterator'),zte=!1;try{var Xte=0,Kte={next:function(){return{done:!!Xte++}},return:function(){zte=!0}};Kte[Wte]=function(){return this},Array.from(Kte,(function(){throw 2}))}catch(e){}var qte=q9,Yte=function(e,t){try{if(!t&&!zte)return!1}catch(e){return!1}var n=!1;try{var r={};r[Wte]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},Zte=lee.CONSTRUCTOR||!Yte((function(e){qte.all(e).then(void 0,(function(){}))})),Jte=R1,$te=q5,ene=fee,tne=K9,nne=jte;Q8({target:'Promise',stat:!0,forced:Zte},{all:function(e){var t=this,n=ene.f(t),r=n.resolve,i=n.reject,A=tne((function(){var n=$te(t.resolve),A=[],o=0,a=1;nne(e,(function(e){var s=o++,c=!1;a++,Jte(n,t,e).then((function(e){c||(c=!0,A[s]=e,--a||r(A))}),i)})),--a||r(A)}));return A.error&&i(A.value),n.promise}});var rne=Q8,ine=lee.CONSTRUCTOR,Ane=q9,one=x5,ane=v5,sne=I6,cne=Ane&&Ane.prototype;if(rne({target:'Promise',proto:!0,forced:ine,real:!0},{catch:function(e){return this.then(void 0,e)}}),ane(Ane)){var une=one('Promise').prototype.catch;cne.catch!==une&&sne(cne,'catch',une,{unsafe:!0})}var lne=R1,fne=q5,dne=fee,hne=K9,pne=jte;Q8({target:'Promise',stat:!0,forced:Zte},{race:function(e){var t=this,n=dne.f(t),r=n.reject,i=hne((function(){var i=fne(t.resolve);pne(e,(function(e){lne(i,t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}});var gne=R1,mne=fee;Q8({target:'Promise',stat:!0,forced:lee.CONSTRUCTOR},{reject:function(e){var t=mne.f(this);return gne(t.reject,void 0,e),t.promise}});var vne=s4,bne=w5,yne=fee,wne=Q8,Bne=lee.CONSTRUCTOR,Cne=function(e,t){if(vne(e),bne(t)&&t.constructor===e)return t;var n=yne.f(e);return(0,n.resolve)(t),n.promise};function xne(e,t,n,r,i,A,o){try{var a=e[A](o),s=a.value}catch(e){return void n(e)}a.done?t(s):Promise.resolve(s).then(r,i)}function Fne(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var A=e.apply(t,n);function o(e){xne(A,r,i,o,a,'next',e)}function a(e){xne(A,r,i,o,a,'throw',e)}o(void 0)}))}}x5('Promise'),wne({target:'Promise',stat:!0,forced:Bne},{resolve:function(e){return Cne(this,e)}});var Ine=A7,Ene=String,Sne=function(e){if('Symbol'===Ine(e))throw new TypeError('Cannot convert a Symbol value to a string');return Ene(e)},Qne=s4,Une=function(){var e=Qne(this),t='';return e.hasIndices&&(t+='d'),e.global&&(t+='g'),e.ignoreCase&&(t+='i'),e.multiline&&(t+='m'),e.dotAll&&(t+='s'),e.unicode&&(t+='u'),e.unicodeSets&&(t+='v'),e.sticky&&(t+='y'),t},Lne=O1,kne=_1.RegExp,_ne=Lne((function(){var e=kne('a','y');return e.lastIndex=2,null!==e.exec('abcd')})),Nne=_ne||Lne((function(){return!kne('a','y').sticky})),One=_ne||Lne((function(){var e=kne('^r','gy');return e.lastIndex=2,null!==e.exec('str')})),Tne={BROKEN_CARET:One,MISSED_STICKY:Nne,UNSUPPORTED_Y:_ne},Mne={},Pne=J6,Hne=$6,Rne=Object.keys||function(e){return Pne(e,Hne)},Dne=T1,Vne=i4,Gne=r4,jne=s4,Wne=h5,zne=Rne;Mne.f=Dne&&!Vne?Object.defineProperties:function(e,t){jne(e);for(var n,r=Wne(t),i=zne(t),A=i.length,o=0;A>o;)Gne.f(e,n=i[o++],r[n]);return e};var Xne,Kne=s4,qne=Mne,Yne=$6,Zne=G4,Jne=j7,$ne=W3,ere='prototype',tre='script',nre=V4('IE_PROTO'),rre=function(){},ire=function(e){return'<'+tre+'>'+e+'</'+tre+'>'},Are=function(e){e.write(ire('')),e.close();var t=e.parentWindow.Object;return e=null,t},ore=function(){try{Xne=new ActiveXObject('htmlfile')}catch(e){}var e,t,n;ore='undefined'!=typeof document?document.domain&&Xne?Are(Xne):(t=$ne('iframe'),n='java'+tre+':',t.style.display='none',Jne.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(ire('document.F=Object')),e.close(),e.F):Are(Xne);for(var r=Yne.length;r--;)delete ore[ere][Yne[r]];return ore()};Zne[nre]=!0;var are,sre,cre=Object.create||function(e,t){var n;return null!==e?(rre[ere]=Kne(e),n=new rre,rre[ere]=null,n[nre]=e):n=ore(),void 0===t?n:qne.f(n,t)},ure=O1,lre=_1.RegExp,fre=ure((function(){var e=lre('.','s');return!(e.dotAll&&e.test('\n')&&'s'===e.flags)})),dre=O1,hre=_1.RegExp,pre=dre((function(){var e=hre('(?<a>b)','g');return'b'!==e.exec('b').groups.a||'bc'!=='b'.replace(e,'$<a>c')})),gre=R1,mre=J1,vre=Sne,bre=Une,yre=Tne,wre=cre,Bre=r6.get,Cre=fre,xre=pre,Fre=l3('native-string-replace',String.prototype.replace),Ire=RegExp.prototype.exec,Ere=Ire,Sre=mre(''.charAt),Qre=mre(''.indexOf),Ure=mre(''.replace),Lre=mre(''.slice),kre=(sre=/b*/g,gre(Ire,are=/a/,'a'),gre(Ire,sre,'a'),0!==are.lastIndex||0!==sre.lastIndex),_re=yre.BROKEN_CARET,Nre=void 0!==/()??/.exec('')[1];(kre||Nre||_re||Cre||xre)&&(Ere=function(e){var t,n,r,i,A,o,a,s=this,c=Bre(s),u=vre(e),l=c.raw;if(l)return l.lastIndex=s.lastIndex,t=gre(Ere,l,u),s.lastIndex=l.lastIndex,t;var f=c.groups,d=_re&&s.sticky,h=gre(bre,s),p=s.source,g=0,m=u;if(d&&(h=Ure(h,'y',''),-1===Qre(h,'g')&&(h+='g'),m=Lre(u,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&'\n'!==Sre(u,s.lastIndex-1))&&(p='(?: '+p+')',m=' '+m,g++),n=new RegExp('^(?:'+p+')',h)),Nre&&(n=new RegExp('^'+p+'$(?!\\s)',h)),kre&&(r=s.lastIndex),i=gre(Ire,d?n:s,m),d?i?(i.input=Lre(i.input,g),i[0]=Lre(i[0],g),i.index=s.lastIndex,s.lastIndex+=i[0].length):s.lastIndex=0:kre&&i&&(s.lastIndex=s.global?i.index+i[0].length:r),Nre&&i&&i.length>1&&gre(Fre,i[0],n,(function(){for(A=1;A<arguments.length-2;A++)void 0===arguments[A]&&(i[A]=void 0)})),i&&f)for(i.groups=o=wre(null),A=0;A<f.length;A++)o[(a=f[A])[0]]=i[a[1]];return i});var Ore=Ere;Q8({target:'RegExp',proto:!0,forced:/./.exec!==Ore},{exec:Ore});var Tre=H7,Mre=I6,Pre=Ore,Hre=O1,Rre=L3,Dre=B4,Vre=Rre('species'),Gre=RegExp.prototype,jre=function(e,t,n,r){var i=Rre(e),A=!Hre((function(){var t={};return t[i]=function(){return 7},7!==''[e](t)})),o=A&&!Hre((function(){var t=!1,n=/a/;return'split'===e&&((n={}).constructor={},n.constructor[Vre]=function(){return n},n.flags='',n[i]=/./[i]),n.exec=function(){return t=!0,null},n[i](''),!t}));if(!A||!o||n){var a=Tre(/./[i]),s=t(i,''[e],(function(e,t,n,r,i){var o=Tre(e),s=t.exec;return s===Pre||s===Gre.exec?A&&!i?{done:!0,value:a(t,n,r)}:{done:!0,value:o(n,t,r)}:{done:!1}}));Mre(String.prototype,e,s[0]),Mre(Gre,i,s[1])}r&&Dre(Gre[i],'sham',!0)},Wre=J1,zre=k6,Xre=Sne,Kre=l5,qre=Wre(''.charAt),Yre=Wre(''.charCodeAt),Zre=Wre(''.slice),Jre=function(e){return function(t,n){var r,i,A=Xre(Kre(t)),o=zre(n),a=A.length;return o<0||o>=a?e?'':void 0:(r=Yre(A,o))<55296||r>56319||o+1===a||(i=Yre(A,o+1))<56320||i>57343?e?qre(A,o):r:e?Zre(A,o,o+2):i-56320+(r-55296<<10)+65536}},$re={codeAt:Jre(!1),charAt:Jre(!0)}.charAt,eie=function(e,t,n){return t+(n?$re(e,t).length:1)},tie=R1,nie=s4,rie=v5,iie=n5,Aie=Ore,oie=TypeError,aie=function(e,t){var n=e.exec;if(rie(n)){var r=tie(n,e,t);return null!==r&&nie(r),r}if('RegExp'===iie(e))return tie(Aie,e,t);throw new oie('RegExp#exec called on incompatible receiver')},sie=R1,cie=s4,uie=s5,lie=H6,fie=Sne,die=l5,hie=J5,pie=eie,gie=aie;jre('match',(function(e,t,n){return[function(t){var n=die(this),r=uie(t)?void 0:hie(t,e);return r?sie(r,t,n):new RegExp(t)[e](fie(n))},function(e){var r=cie(this),i=fie(e),A=n(t,r,i);if(A.done)return A.value;if(!r.global)return gie(r,i);var o=r.unicode;r.lastIndex=0;for(var a,s=[],c=0;null!==(a=gie(r,i));){var u=fie(a[0]);s[c]=u,''===u&&(r.lastIndex=pie(i,lie(r.lastIndex),o)),c++}return 0===c?null:s}]}));var mie=J1,vie=h3,bie=Math.floor,yie=mie(''.charAt),wie=mie(''.replace),Bie=mie(''.slice),Cie=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,xie=/\$([$&'`]|\d{1,2})/g,Fie=T7,Iie=R1,Eie=J1,Sie=jre,Qie=O1,Uie=s4,Lie=v5,kie=s5,_ie=k6,Nie=H6,Oie=Sne,Tie=l5,Mie=eie,Pie=J5,Hie=function(e,t,n,r,i,A){var o=n+e.length,a=r.length,s=xie;return void 0!==i&&(i=vie(i),s=Cie),wie(A,s,(function(A,s){var c;switch(yie(s,0)){case'$':return'$';case'&':return e;case'`':return Bie(t,0,n);case'\'':return Bie(t,o);case'<':c=i[Bie(s,1,-1)];break;default:var u=+s;if(0===u)return A;if(u>a){var l=bie(u/10);return 0===l?A:l<=a?void 0===r[l-1]?yie(s,1):r[l-1]+yie(s,1):A}c=r[u-1]}return void 0===c?'':c}))},Rie=aie,Die=L3('replace'),Vie=Math.max,Gie=Math.min,jie=Eie([].concat),Wie=Eie([].push),zie=Eie(''.indexOf),Xie=Eie(''.slice),Kie=function(e){return void 0===e?e:String(e)},qie='$0'==='a'.replace(/./,'$0'),Yie=!!/./[Die]&&''===/./[Die]('a','$0'),Zie=!Qie((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:'7'},e},'7'!==''.replace(e,'$<a>')}));Sie('replace',(function(e,t,n){var r=Yie?'$':'$0';return[function(e,n){var r=Tie(this),i=kie(e)?void 0:Pie(e,Die);return i?Iie(i,e,r,n):Iie(t,Oie(r),e,n)},function(e,i){var A=Uie(this),o=Oie(e);if('string'==typeof i&&-1===zie(i,r)&&-1===zie(i,'$<')){var a=n(t,A,o,i);if(a.done)return a.value}var s=Lie(i);s||(i=Oie(i));var c,u=A.global;u&&(c=A.unicode,A.lastIndex=0);for(var l,f=[];null!==(l=Rie(A,o))&&(Wie(f,l),u);){''===Oie(l[0])&&(A.lastIndex=Mie(o,Nie(A.lastIndex),c))}for(var d='',h=0,p=0;p<f.length;p++){for(var g,m=Oie((l=f[p])[0]),v=Vie(Gie(_ie(l.index),o.length),0),b=[],y=1;y<l.length;y++)Wie(b,Kie(l[y]));var w=l.groups;if(s){var B=jie([m],b,v,o);void 0!==w&&Wie(B,w),g=Oie(Fie(i,void 0,B))}else g=Hie(m,o,v,b,w,i);v>=h&&(d+=Xie(o,h,v)+g,h=v+m.length)}return d+Xie(o,h)}]}),!Zie||!qie||Yie);var Jie,$ie=w5,eAe=n5,tAe=L3('match'),nAe=function(e){var t;return $ie(e)&&(void 0!==(t=e[tAe])?!!t:'RegExp'===eAe(e))},rAe=nAe,iAe=TypeError,AAe=function(e){if(rAe(e))throw new iAe('The method doesn\'t accept regular expressions');return e},oAe=L3('match'),aAe=function(e){var t=/./;try{'/./'[e](t)}catch(n){try{return t[oAe]=!1,'/./'[e](t)}catch(e){}}return!1},sAe=Q8,cAe=H7,uAe=N1.f,lAe=H6,fAe=Sne,dAe=AAe,hAe=l5,pAe=aAe,gAe=cAe(''.startsWith),mAe=cAe(''.slice),vAe=Math.min,bAe=pAe('startsWith');sAe({target:'String',proto:!0,forced:!!(bAe||(Jie=uAe(String.prototype,'startsWith'),!Jie||Jie.writable))&&!bAe},{startsWith:function(e){var t=fAe(hAe(this));dAe(e);var n=lAe(vAe(arguments.length>1?arguments[1]:void 0,t.length)),r=fAe(e);return gAe?gAe(t,r,n):mAe(t,n,n+r.length)===r}});var yAe=L3,wAe=cre,BAe=r4.f,CAe=yAe('unscopables'),xAe=Array.prototype;void 0===xAe[CAe]&&BAe(xAe,CAe,{configurable:!0,value:wAe(null)});var FAe,IAe,EAe,SAe=!O1((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),QAe=m3,UAe=v5,LAe=h3,kAe=SAe,_Ae=V4('IE_PROTO'),NAe=Object,OAe=NAe.prototype,TAe=kAe?NAe.getPrototypeOf:function(e){var t=LAe(e);if(QAe(t,_Ae))return t[_Ae];var n=t.constructor;return UAe(n)&&t instanceof n?n.prototype:t instanceof NAe?OAe:null},MAe=O1,PAe=v5,HAe=w5,RAe=TAe,DAe=I6,VAe=L3('iterator'),GAe=!1;[].keys&&('next'in(EAe=[].keys())?(IAe=RAe(RAe(EAe)))!==Object.prototype&&(FAe=IAe):GAe=!0);var jAe=!HAe(FAe)||MAe((function(){var e={};return FAe[VAe].call(e)!==e}));jAe&&(FAe={}),PAe(FAe[VAe])||DAe(FAe,VAe,(function(){return this}));var WAe={IteratorPrototype:FAe,BUGGY_SAFARI_ITERATORS:GAe},zAe=WAe.IteratorPrototype,XAe=cre,KAe=X1,qAe=G8,YAe=fte,ZAe=function(){return this},JAe=Q8,$Ae=R1,eoe=v5,toe=function(e,t,n,r){var i=t+' Iterator';return e.prototype=XAe(zAe,{next:KAe(+!r,n)}),qAe(e,i,!1),YAe[i]=ZAe,e},noe=TAe,roe=H8,ioe=G8,Aoe=B4,ooe=I6,aoe=fte,soe=Q4.PROPER,coe=Q4.CONFIGURABLE,uoe=WAe.IteratorPrototype,loe=WAe.BUGGY_SAFARI_ITERATORS,foe=L3('iterator'),doe='keys',hoe='values',poe='entries',goe=function(){return this},moe=h5,voe=function(e){xAe[CAe][e]=!0},boe=fte,yoe=r6,woe=r4.f,Boe=function(e,t,n,r,i,A,o){toe(n,t,r);var a,s,c,u=function(e){if(e===i&&p)return p;if(!loe&&e&&e in d)return d[e];switch(e){case doe:case hoe:case poe:return function(){return new n(this,e)}}return function(){return new n(this)}},l=t+' Iterator',f=!1,d=e.prototype,h=d[foe]||d['@@iterator']||i&&d[i],p=!loe&&h||u(i),g='Array'===t&&d.entries||h;if(g&&(a=noe(g.call(new e)))!==Object.prototype&&a.next&&(noe(a)!==uoe&&(roe?roe(a,uoe):eoe(a[foe])||ooe(a,foe,goe)),ioe(a,l,!0)),soe&&i===hoe&&h&&h.name!==hoe&&(coe?Aoe(d,'name',hoe):(f=!0,p=function(){return $Ae(h,this)})),i)if(s={values:u(hoe),keys:A?p:u(doe),entries:u(poe)},o)for(c in s)(loe||f||!(c in d))&&ooe(d,c,s[c]);else JAe({target:t,proto:!0,forced:loe||f},s);return d[foe]!==p&&ooe(d,foe,p,{name:i}),aoe[t]=p,s},Coe=function(e,t){return{value:e,done:t}},xoe=T1,Foe='Array Iterator',Ioe=yoe.set,Eoe=yoe.getterFor(Foe),Soe=Boe(Array,'Array',(function(e,t){Ioe(this,{type:Foe,target:moe(e),index:0,kind:t})}),(function(){var e=Eoe(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=void 0,Coe(void 0,!0);switch(e.kind){case'keys':return Coe(n,!1);case'values':return Coe(t[n],!1)}return Coe([n,t[n]],!1)}),'values'),Qoe=boe.Arguments=boe.Array;if(voe('keys'),voe('values'),voe('entries'),xoe&&'values'!==Qoe.name)try{woe(Qoe,'name',{value:'values'})}catch(e){}var Uoe=W3('span').classList,Loe=Uoe&&Uoe.constructor&&Uoe.constructor.prototype,koe=Loe===Object.prototype?void 0:Loe,_oe=_1,Noe={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Ooe=koe,Toe=Soe,Moe=B4,Poe=G8,Hoe=L3('iterator'),Roe=Toe.values,Doe=function(e,t){if(e){if(e[Hoe]!==Roe)try{Moe(e,Hoe,Roe)}catch(t){e[Hoe]=Roe}if(Poe(e,t,!0),Noe[t])for(var n in Toe)if(e[n]!==Toe[n])try{Moe(e,n,Toe[n])}catch(t){e[n]=Toe[n]}}};for(var Voe in Noe)Doe(_oe[Voe]&&_oe[Voe].prototype,Voe);Doe(Ooe,'DOMTokenList');var Goe=q5,joe=h3,Woe=a5,zoe=D6,Xoe=TypeError,Koe=function(e){return function(t,n,r,i){var A=joe(t),o=Woe(A),a=zoe(A);Goe(n);var s=e?a-1:0,c=e?-1:1;if(r<2)for(;;){if(s in o){i=o[s],s+=c;break}if(s+=c,e?s<0:a<=s)throw new Xoe('Reduce of empty array with no initial value')}for(;e?s>=0:a>s;s+=c)s in o&&(i=n(i,o[s],s,A));return i}},qoe={left:Koe(!1),right:Koe(!0)},Yoe=O1,Zoe=function(e,t){var n=[][e];return!!n&&Yoe((function(){n.call(null,t||function(){return 1},1)}))},Joe=qoe.left;Q8({target:'Array',proto:!0,forced:!U8&&_5>79&&_5<83||!Zoe('reduce')},{reduce:function(e){var t=arguments.length;return Joe(this,e,t,t>1?arguments[1]:void 0)}});var $oe=Q8,eae=H7,tae=N1.f,nae=H6,rae=Sne,iae=AAe,Aae=l5,oae=aAe,aae=eae(''.endsWith),sae=eae(''.slice),cae=Math.min,uae=oae('endsWith'),lae=!uae&&!!function(){var e=tae(String.prototype,'endsWith');return e&&!e.writable}();$oe({target:'String',proto:!0,forced:!lae&&!uae},{endsWith:function(e){var t=rae(Aae(this));iae(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,i=void 0===n?r:cae(nae(n),r),A=rae(e);return aae?aae(t,A,i):sae(t,i-A.length,i)===A}});var fae=D3,dae=r4,hae=X1,pae=T6,gae=D6,mae=function(e,t,n){var r=fae(t);r in e?dae.f(e,r,hae(0,n)):e[r]=n},vae=Array,bae=Math.max,yae=T7,wae=R1,Bae=J1,Cae=jre,xae=s4,Fae=s5,Iae=nAe,Eae=l5,Sae=L7,Qae=eie,Uae=H6,Lae=Sne,kae=J5,_ae=function(e,t,n){for(var r=gae(e),i=pae(t,r),A=pae(void 0===n?r:n,r),o=vae(bae(A-i,0)),a=0;i<A;i++,a++)mae(o,a,e[i]);return o.length=a,o},Nae=aie,Oae=Ore,Tae=O1,Mae=Tne.UNSUPPORTED_Y,Pae=4294967295,Hae=Math.min,Rae=[].push,Dae=Bae(/./.exec),Vae=Bae(Rae),Gae=Bae(''.slice),jae=!Tae((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n='ab'.split(e);return 2!==n.length||'a'!==n[0]||'b'!==n[1]}));Cae('split',(function(e,t,n){var r;return r='c'==='abbc'.split(/(b)*/)[1]||4!=='test'.split(/(?:)/,-1).length||2!=='ab'.split(/(?:ab)*/).length||4!=='.'.split(/(.?)(.?)/).length||'.'.split(/()()/).length>1||''.split(/.?/).length?function(e,n){var r=Lae(Eae(this)),i=void 0===n?Pae:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!Iae(e))return wae(t,r,e,i);for(var A,o,a,s=[],c=(e.ignoreCase?'i':'')+(e.multiline?'m':'')+(e.unicode?'u':'')+(e.sticky?'y':''),u=0,l=new RegExp(e.source,c+'g');(A=wae(Oae,l,r))&&!((o=l.lastIndex)>u&&(Vae(s,Gae(r,u,A.index)),A.length>1&&A.index<r.length&&yae(Rae,s,_ae(A,1)),a=A[0].length,u=o,s.length>=i));)l.lastIndex===A.index&&l.lastIndex++;return u===r.length?!a&&Dae(l,'')||Vae(s,''):Vae(s,Gae(r,u)),s.length>i?_ae(s,0,i):s}:'0'.split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:wae(t,this,e,n)}:t,[function(t,n){var i=Eae(this),A=Fae(t)?void 0:kae(t,e);return A?wae(A,t,i,n):wae(r,Lae(i),t,n)},function(e,i){var A=xae(this),o=Lae(e),a=n(r,A,o,i,r!==t);if(a.done)return a.value;var s=Sae(A,RegExp),c=A.unicode,u=(A.ignoreCase?'i':'')+(A.multiline?'m':'')+(A.unicode?'u':'')+(Mae?'g':'y'),l=new s(Mae?'^(?:'+A.source+')':A,u),f=void 0===i?Pae:i>>>0;if(0===f)return[];if(0===o.length)return null===Nae(l,o)?[o]:[];for(var d=0,h=0,p=[];h<o.length;){l.lastIndex=Mae?0:h;var g,m=Nae(l,Mae?Gae(o,h):o);if(null===m||(g=Hae(Uae(l.lastIndex+(Mae?h:0)),o.length))===d)h=Qae(o,h,c);else{if(Vae(p,Gae(o,d,h)),p.length===f)return p;for(var v=1;v<=m.length-1;v++)if(Vae(p,m[v]),p.length===f)return p;h=d=g}}return Vae(p,Gae(o,d)),p}]}),!jae,Mae);var Wae={exports:{}},zae={exports:{}};(function(){var e,t,n,r,i,A;'undefined'!=typeof performance&&null!==performance&&performance.now?zae.exports=function(){return performance.now()}:'undefined'!=typeof process&&null!==process&&process.hrtime?(zae.exports=function(){return(e()-i)/1e6},t=process.hrtime,e=function(){var e;return 1e9*(e=t())[0]+e[1]},r=e(),A=1e9*process.uptime(),i=r-A):Date.now?(zae.exports=function(){return Date.now()-n},n=Date.now()):(zae.exports=function(){return(new Date).getTime()-n},n=(new Date).getTime())}).call(Rn);for(var Xae=zae.exports,Kae='undefined'==typeof window?Rn:window,qae=['moz','webkit'],Yae='AnimationFrame',Zae=Kae['request'+Yae],Jae=Kae['cancel'+Yae]||Kae['cancelRequest'+Yae],$ae=0;!Zae&&$ae<qae.length;$ae++)Zae=Kae[qae[$ae]+'Request'+Yae],Jae=Kae[qae[$ae]+'Cancel'+Yae]||Kae[qae[$ae]+'CancelRequest'+Yae];if(!Zae||!Jae){var ese=0,tse=0,nse=[];Zae=function(e){if(0===nse.length){var t=Xae(),n=Math.max(0,16.666666666666668-(t-ese));ese=n+t,setTimeout((function(){var e=nse.slice(0);nse.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(ese)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(n))}return nse.push({handle:++tse,callback:e,cancelled:!1}),tse},Jae=function(e){for(var t=0;t<nse.length;t++)nse[t].handle===e&&(nse[t].cancelled=!0)}}Wae.exports=function(e){return Zae.call(Kae,e)},Wae.exports.cancel=function(){Jae.apply(Kae,arguments)},Wae.exports.polyfill=function(e){e||(e=Kae),e.requestAnimationFrame=Zae,e.cancelAnimationFrame=Jae};var rse=Dn(Wae.exports),ise='\t\n\v\f\r \u2028\u2029\ufeff',Ase=l5,ose=Sne,ase=ise,sse=J1(''.replace),cse=RegExp('^['+ase+']+'),use=RegExp('(^|[^'+ase+'])['+ase+']+$'),lse=function(e){return function(t){var n=ose(Ase(t));return 1&e&&(n=sse(n,cse,'')),2&e&&(n=sse(n,use,'$1')),n}},fse={start:lse(1),end:lse(2),trim:lse(3)},dse=Q4.PROPER,hse=O1,pse=ise,gse=fse.trim;Q8({target:'String',proto:!0,forced:function(e){return hse((function(){return!!pse[e]()||'
'!=='
'[e]()||dse&&pse[e].name!==e}))}('trim')},{trim:function(){return gse(this)}});var mse=function(e){this.ok=!1,this.alpha=1,'#'==e.charAt(0)&&(e=e.substr(1,6)),e=(e=e.replace(/ /g,'')).toLowerCase();var t={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',rebeccapurple:'663399',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'};e=t[e]||e;for(var n=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:['rgba(123, 234, 45, 0.8)','rgba(255,234,245,1.0)'],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3]),parseFloat(e[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:['rgb(123, 234, 45)','rgb(255,234,245)'],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:['#00ff00','336699'],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:['#fb0','f0f'],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],r=0;r<n.length;r++){var i=n[r].re,A=n[r].process,o=i.exec(e);if(o){var a=A(o);this.r=a[0],this.g=a[1],this.b=a[2],a.length>3&&(this.alpha=a[3]),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.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return'rgb('+this.r+', '+this.g+', '+this.b+')'},this.toRGBA=function(){return'rgba('+this.r+', '+this.g+', '+this.b+', '+this.alpha+')'},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),n=this.b.toString(16);return 1==e.length&&(e='0'+e),1==t.length&&(t='0'+t),1==n.length&&(n='0'+n),'#'+e+t+n},this.getHelpXML=function(){for(var e=new Array,r=0;r<n.length;r++)for(var i=n[r].example,A=0;A<i.length;A++)e[e.length]=i[A];for(var o in t)e[e.length]=o;var a=document.createElement('ul');a.setAttribute('id','rgbcolor-examples');for(r=0;r<e.length;r++)try{var s=document.createElement('li'),c=new RGBColor(e[r]),u=document.createElement('div');u.style.cssText='margin: 3px; border: 1px solid black; background:'+c.toHex()+'; color:'+c.toHex(),u.appendChild(document.createTextNode('test'));var l=document.createTextNode(' '+e[r]+' -> '+c.toRGB()+' -> '+c.toHex());s.appendChild(u),s.appendChild(l),a.appendChild(s)}catch(e){}return a}},vse=Dn(mse),bse=Q8,yse=z6.indexOf,wse=Zoe,Bse=H7([].indexOf),Cse=!!Bse&&1/Bse([1],1,-0)<0;bse({target:'Array',proto:!0,forced:Cse||!wse('indexOf')},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return Cse?Bse(this,e,t)||0:yse(this,e,t)}});var xse=Q8,Fse=AAe,Ise=l5,Ese=Sne,Sse=aAe,Qse=J1(''.indexOf);xse({target:'String',proto:!0,forced:!Sse('includes')},{includes:function(e){return!!~Qse(Ese(Ise(this)),Ese(Fse(e)),arguments.length>1?arguments[1]:void 0)}});var Use=n5,Lse=Q8,kse=Array.isArray||function(e){return'Array'===Use(e)},_se=J1([].reverse),Nse=[1,2];Lse({target:'Array',proto:!0,forced:String(Nse)===String(Nse.reverse())},{reverse:function(){return kse(this)&&(this.length=this.length),_se(this)}});
|
|
332
332
|
/*! *****************************************************************************
|