From 3c220f40581bc4286a90408d6b0e4f67bae6ff8b Mon Sep 17 00:00:00 2001 From: jlangy <37274633+jlangy@users.noreply.github.com> Date: Thu, 19 Sep 2024 17:49:26 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20bcgov/ss?= =?UTF-8?q?o-requests@637054a8ccaf222e59e238072a5c5628d1fbc20a=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.html | 4 ++-- .../_buildManifest.js | 2 +- .../_ssgManifest.js | 0 _next/static/chunks/150-8563714b781a809c.js | 1 + _next/static/chunks/500-001734f230a4747e.js | 1 - .../{_app-55dd86ff3ed4ab96.js => _app-6846eeb7ad5bfb88.js} | 2 +- _next/static/chunks/pages/admin-dashboard-063f1d216211c5bc.js | 1 + _next/static/chunks/pages/admin-dashboard-95ca102f5213bd3c.js | 1 - ...s-d39f367246befba6.js => integrations-3365894c5614b9c7.js} | 2 +- ...equest-7791264690f4104e.js => request-89211ce9d3aebaba.js} | 2 +- .../{[rid]-aa78b4a8a89f394a.js => [rid]-7a72b3b09920b931.js} | 2 +- _next/static/chunks/webpack-743320c830ac7f5b.js | 1 - _next/static/chunks/webpack-dd6bc41a9beff4fd.js | 1 + .../static/css/{930695a4d0708410.css => dbea29fc3ca3ad41.css} | 2 +- admin-dashboard.html | 4 ++-- admin-reports.html | 4 ++-- application-error.html | 4 ++-- faq.html | 4 ++-- index.html | 4 ++-- my-dashboard.html | 4 ++-- my-dashboard/integrations.html | 4 ++-- my-dashboard/s2g.html | 4 ++-- my-dashboard/teams.html | 4 ++-- request.html | 4 ++-- request/[rid].html | 4 ++-- terms-conditions.html | 4 ++-- verify-user.html | 4 ++-- 27 files changed, 37 insertions(+), 37 deletions(-) rename _next/static/{3Lz11yTR-bUFPaRar9KpV => W3XO4wKR36KIz7cTRB1uD}/_buildManifest.js (83%) rename _next/static/{3Lz11yTR-bUFPaRar9KpV => W3XO4wKR36KIz7cTRB1uD}/_ssgManifest.js (100%) create mode 100644 _next/static/chunks/150-8563714b781a809c.js delete mode 100644 _next/static/chunks/500-001734f230a4747e.js rename _next/static/chunks/pages/{_app-55dd86ff3ed4ab96.js => _app-6846eeb7ad5bfb88.js} (93%) create mode 100644 _next/static/chunks/pages/admin-dashboard-063f1d216211c5bc.js delete mode 100644 _next/static/chunks/pages/admin-dashboard-95ca102f5213bd3c.js rename _next/static/chunks/pages/my-dashboard/{integrations-d39f367246befba6.js => integrations-3365894c5614b9c7.js} (53%) rename _next/static/chunks/pages/{request-7791264690f4104e.js => request-89211ce9d3aebaba.js} (88%) rename _next/static/chunks/pages/request/{[rid]-aa78b4a8a89f394a.js => [rid]-7a72b3b09920b931.js} (94%) delete mode 100644 _next/static/chunks/webpack-743320c830ac7f5b.js create mode 100644 _next/static/chunks/webpack-dd6bc41a9beff4fd.js rename _next/static/css/{930695a4d0708410.css => dbea29fc3ca3ad41.css} (99%) diff --git a/404.html b/404.html index 8bc0d72..049155e 100644 --- a/404.html +++ b/404.html @@ -1,4 +1,4 @@ -

Loading information...

\ No newline at end of file +

Loading information...

\ No newline at end of file diff --git a/_next/static/3Lz11yTR-bUFPaRar9KpV/_buildManifest.js b/_next/static/W3XO4wKR36KIz7cTRB1uD/_buildManifest.js similarity index 83% rename from _next/static/3Lz11yTR-bUFPaRar9KpV/_buildManifest.js rename to _next/static/W3XO4wKR36KIz7cTRB1uD/_buildManifest.js index 33600b4..1059cda 100644 --- a/_next/static/3Lz11yTR-bUFPaRar9KpV/_buildManifest.js +++ b/_next/static/W3XO4wKR36KIz7cTRB1uD/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST=function(s,a,c,e,t,d,r,i,n,h,u,b,o){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/sso-requests-preview/app/:path*"}],fallback:[]},"/":["static/chunks/pages/index-046c2070910950e6.js"],"/404":["static/chunks/pages/404-4771574e08e74036.js"],"/_error":["static/chunks/pages/_error-2fd72662c9d69546.js"],"/admin-dashboard":[i,s,a,c,t,n,e,d,h,"static/chunks/pages/admin-dashboard-95ca102f5213bd3c.js"],"/admin-reports":["static/chunks/674a26a7-2bd362fa1142fae7.js",s,"static/chunks/pages/admin-reports-d11deee2abc0ad5b.js"],"/application-error":[u,"static/chunks/pages/application-error-341ff5be9ad52490.js"],"/faq":["static/chunks/pages/faq-a12d34701cc3127a.js"],"/my-dashboard":["static/chunks/pages/my-dashboard-4ba89197083a027c.js"],"/my-dashboard/integrations":[i,s,a,c,t,r,n,"static/css/02409508432e1dfb.css","static/chunks/263-ad2504c8ec509b6e.js",d,h,"static/chunks/pages/my-dashboard/integrations-d39f367246befba6.js"],"/my-dashboard/s2g":["static/chunks/pages/my-dashboard/s2g-285edf9d4c471ab1.js"],"/my-dashboard/teams":[s,a,t,e,d,"static/chunks/pages/my-dashboard/teams-cb5760fbea51d47d.js"],"/request":[s,a,c,r,b,e,o,"static/chunks/pages/request-7791264690f4104e.js"],"/request/[rid]":[s,a,c,r,b,e,o,"static/chunks/pages/request/[rid]-aa78b4a8a89f394a.js"],"/terms-conditions":["static/chunks/pages/terms-conditions-0f3fa4aaa46e8e4f.js"],"/verify-user":[u,"static/chunks/pages/verify-user-fc27e58d67a4460c.js"],sortedPages:["/","/404","/_app","/_error","/admin-dashboard","/admin-reports","/application-error","/faq","/my-dashboard","/my-dashboard/integrations","/my-dashboard/s2g","/my-dashboard/teams","/request","/request/[rid]","/terms-conditions","/verify-user"]}}("static/chunks/925-37ea4f12340c1cc4.js","static/chunks/661-29d9ce0943208427.js","static/chunks/706-64462f05e1657fa1.js","static/chunks/912-fe79fc24f63c77b2.js","static/chunks/620-b77b2f1ab571be18.js","static/chunks/762-4e7b959de0e8ed22.js","static/chunks/822-6ee04bf418ce46b0.js","static/chunks/29107295-8ab47bb7d9547e26.js","static/chunks/338-0ccd50a0386f2e9e.js","static/chunks/845-f455cfe9a680c941.js","static/chunks/622-ada4b5f4f78dd737.js","static/chunks/274-f433b299b763b62d.js","static/chunks/500-001734f230a4747e.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST=function(s,a,c,e,t,d,r,i,n,h,u,b,o){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/sso-requests-preview/app/:path*"}],fallback:[]},"/":["static/chunks/pages/index-046c2070910950e6.js"],"/404":["static/chunks/pages/404-4771574e08e74036.js"],"/_error":["static/chunks/pages/_error-2fd72662c9d69546.js"],"/admin-dashboard":[i,s,a,c,t,n,e,d,h,"static/chunks/pages/admin-dashboard-063f1d216211c5bc.js"],"/admin-reports":["static/chunks/674a26a7-2bd362fa1142fae7.js",s,"static/chunks/pages/admin-reports-d11deee2abc0ad5b.js"],"/application-error":[u,"static/chunks/pages/application-error-341ff5be9ad52490.js"],"/faq":["static/chunks/pages/faq-a12d34701cc3127a.js"],"/my-dashboard":["static/chunks/pages/my-dashboard-4ba89197083a027c.js"],"/my-dashboard/integrations":[i,s,a,c,t,r,n,"static/css/02409508432e1dfb.css","static/chunks/263-ad2504c8ec509b6e.js",d,h,"static/chunks/pages/my-dashboard/integrations-3365894c5614b9c7.js"],"/my-dashboard/s2g":["static/chunks/pages/my-dashboard/s2g-285edf9d4c471ab1.js"],"/my-dashboard/teams":[s,a,t,e,d,"static/chunks/pages/my-dashboard/teams-cb5760fbea51d47d.js"],"/request":[s,a,c,r,b,e,o,"static/chunks/pages/request-89211ce9d3aebaba.js"],"/request/[rid]":[s,a,c,r,b,e,o,"static/chunks/pages/request/[rid]-7a72b3b09920b931.js"],"/terms-conditions":["static/chunks/pages/terms-conditions-0f3fa4aaa46e8e4f.js"],"/verify-user":[u,"static/chunks/pages/verify-user-fc27e58d67a4460c.js"],sortedPages:["/","/404","/_app","/_error","/admin-dashboard","/admin-reports","/application-error","/faq","/my-dashboard","/my-dashboard/integrations","/my-dashboard/s2g","/my-dashboard/teams","/request","/request/[rid]","/terms-conditions","/verify-user"]}}("static/chunks/925-37ea4f12340c1cc4.js","static/chunks/661-29d9ce0943208427.js","static/chunks/706-64462f05e1657fa1.js","static/chunks/912-fe79fc24f63c77b2.js","static/chunks/620-b77b2f1ab571be18.js","static/chunks/762-4e7b959de0e8ed22.js","static/chunks/822-6ee04bf418ce46b0.js","static/chunks/29107295-8ab47bb7d9547e26.js","static/chunks/338-0ccd50a0386f2e9e.js","static/chunks/845-f455cfe9a680c941.js","static/chunks/622-ada4b5f4f78dd737.js","static/chunks/274-f433b299b763b62d.js","static/chunks/150-8563714b781a809c.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/3Lz11yTR-bUFPaRar9KpV/_ssgManifest.js b/_next/static/W3XO4wKR36KIz7cTRB1uD/_ssgManifest.js similarity index 100% rename from _next/static/3Lz11yTR-bUFPaRar9KpV/_ssgManifest.js rename to _next/static/W3XO4wKR36KIz7cTRB1uD/_ssgManifest.js diff --git a/_next/static/chunks/150-8563714b781a809c.js b/_next/static/chunks/150-8563714b781a809c.js new file mode 100644 index 0000000..304f842 --- /dev/null +++ b/_next/static/chunks/150-8563714b781a809c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[150],{65363:function(e,t,n){var r,i=n(71383),o=n(71893).ZP.span(r||(r=(0,i.Z)(["\n color: #dc3545;\n margin: 0;\n padding: 0;\n"])));t.Z=o},66723:function(e,t,n){var r,i,o,a=n(71383),s=n(71893),c=n(35927),l=n(4602),d=n(4136),u=n(85893),p=s.ZP.table(r||(r=(0,a.Z)(["\n font-size: unset;\n & tr {\n display: flex;\n margin-bottom: 5px;\n & > td {\n border: none;\n padding: 0 5px 0 0;\n }\n }\n"]))),h=s.ZP.span(i||(i=(0,a.Z)(["\n font-weight: 600;\n"]))),f=s.ZP.ul(o||(o=(0,a.Z)(["\n list-style: none;\n margin: 0;\n & li {\n margin: 0;\n }\n"]))),m=function(e){var t=e.list,n=e.title,r=e.inline,i=void 0!==r&&r,o=e.testid;return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)("tr",{children:[(0,u.jsx)("td",{children:n}),((null==t?void 0:t.length)===1||i)&&(0,u.jsx)(h,{"data-testid":o,children:null==t?void 0:t.map(function(e,n){return(0,u.jsxs)("span",{children:[e,n!==t.length-1&&", "," "]},e)})})]}),!i&&((null==t?void 0:t.length)||0)>1&&(0,u.jsx)("tr",{children:(0,u.jsx)("td",{children:(0,u.jsx)(h,{children:(0,u.jsx)(f,{children:null==t?void 0:t.map(function(e){return(0,u.jsx)("li",{children:e},e)})})})})})]})};t.Z=function(e){var t,n,r,i,o,a,s,f,b=e.children,v=e.request,g=e.teams;if(!v)return null;var y=null!==(i=v.devIdps)&&void 0!==i?i:[],j="saml"!==v.protocol,x=y.map(function(e){return l.S[e]}),O=(0,d.e$)(v),w="";v.usesTeam&&(w=(null===(f=(void 0===g?[]:g).find(function(e){return String(e.id)===String(v.teamId)}))||void 0===f?void 0:f.name)||v.team&&v.team.name);var P=(t=v.primaryEndUsers,n=v.primaryEndUsersOther,null==t?void 0:t.map(function(e){switch(e){case"livingInBC":return"People living in BC";case"businessInBC":return"People doing business/travel in BC";case"bcGovEmployees":return"BC Gov Employees";case"other":return"Other: ".concat(null!=n?n:"");default:return""}}));return(0,u.jsx)(u.Fragment,{children:(0,u.jsx)(p,{children:(0,u.jsxs)("tbody",{children:[w?(0,u.jsxs)("tr",{children:[(0,u.jsx)("td",{children:"Associated Team:"}),(0,u.jsx)("td",{children:(0,u.jsx)(h,{"data-testid":"associated-team",children:w})})]}):(0,u.jsxs)("tr",{children:[(0,u.jsx)("td",{children:"Are you accountable for this project?"}),(0,u.jsx)("td",{children:(0,u.jsx)(h,{"data-testid":"you-accountable",children:void 0===(r=v.projectLead)?"":r?"Yes":"No"})})]}),(0,u.jsxs)("tr",{children:[(0,u.jsx)("td",{children:"Client Protocol:"}),(0,u.jsx)("td",{children:(0,u.jsx)(h,{"data-testid":"client-protocol",children:j?"OpenID Connect":"SAML"})})]}),j&&(0,u.jsxs)("tr",{children:[(0,u.jsx)("td",{children:"Client Type:"}),(0,u.jsx)("td",{children:(0,u.jsx)(h,{"data-testid":"client-type-team",children:v.publicAccess?"Public":"Confidential"})})]}),(0,u.jsxs)("tr",{children:[(0,u.jsx)("td",{children:"Usecase:"}),(0,u.jsx)("td",{children:(0,u.jsx)(h,{"data-testid":"use-case",children:c.F[v.authType||"browser-login"]})})]}),(0,u.jsxs)("tr",{children:[(0,u.jsx)("td",{children:"Project Name:"}),(0,u.jsx)("td",{children:(0,u.jsx)(h,{"data-testid":"project-name",children:v.projectName})})]}),P&&(0,u.jsxs)("tr",{children:[(0,u.jsx)("td",{children:"Primary End Users:"}),(0,u.jsx)("td",{children:(0,u.jsx)(h,{"data-testid":"project-name",children:P.join(", ")})})]}),v.additionalRoleAttribute&&(0,u.jsxs)("tr",{children:[(0,u.jsx)("td",{children:"Additional Role Attribute:"}),(0,u.jsx)("td",{children:(0,u.jsx)(h,{"data-testid":"add-role-attrib",children:v.additionalRoleAttribute})})]}),(0,u.jsx)(m,{list:x,title:"Identity Providers Required:",inline:!0,testid:"idp-required"}),O&&(0,u.jsxs)("tr",{children:[(0,u.jsx)("td",{children:"Privacy Zone:"}),(0,u.jsx)("td",{children:(0,u.jsx)(h,{children:v.bcscPrivacyZone})})]}),(null===(o=v.environments)||void 0===o?void 0:o.includes("dev"))&&(0,u.jsx)(m,{list:v.devValidRedirectUris,title:"Dev Redirect URIs:",testid:"dev-uri"}),(null===(a=v.environments)||void 0===a?void 0:a.includes("test"))&&(0,u.jsx)(m,{list:v.testValidRedirectUris,title:"Test Redirect URIs:",testid:"test-uri"}),(null===(s=v.environments)||void 0===s?void 0:s.includes("prod"))&&(0,u.jsx)(m,{list:v.prodValidRedirectUris,title:"Prod Redirect URIs:",testid:"prod-uri"}),b]})})})}},29150:function(e,t,n){n.d(t,{Z:function(){return nX}});var r,i,o,a,s,c,l,d,u,p,h,f,m,b,v,g,y,j,x,O,w,P,S,C,Z,k,D,I,T,A,E,N,F,R,L,U,M,B,q=n(16835),_=n(50029),W=n(59499),z=n(71383),H=n(87794),V=n.n(H),G=n(67294),K=n(11163),Y=n(71893),J=n(59722),$=n.n(J),Q=n(93096),X=n.n(Q),ee=n(71431),et=n.n(ee),en=n(61478),er=n.n(en),ei=n(70100),eo=n.n(ei),ea=n(85893),es=Y.ZP.h1(o||(o=(0,z.Z)(["\n font-weight: lighter;\n color: #003366;\n margin: 0;\n"])));function ec(e){var t=e.schema,n=e.requestId,r=e.editing,i=et()(String(n),8,"0"),o="".concat($()(n)?"":"Req ID: ".concat(i," - ")).concat(t.headerText);return(0,ea.jsx)(es,{children:(r?"Editing ":"")+o})}var el=n(64735),ed=n(99603),eu=n(59417),ep=n(35683),eh=n.n(ep),ef=Y.ZP.div(a||(a=(0,z.Z)(["\n height: 60px;\n width: 200px;\n background-color: #ebf7ff;\n display: flex;\n justify-content: flex-start;\n align-items: center;\n border-radius: 5px;\n padding: 15px;\n cursor: pointer;\n margin: 3px 0;\n ","\n"])),function(e){var t=e.color,n=e.backgroundColor,r=e.fontWeight,i=e.border;return"\n color: ".concat(t,";\n background-color: ").concat(n,";\n font-weight: ").concat(r,";\n border: ").concat(i,";\n ")}),em=Y.ZP.div(s||(s=(0,z.Z)(["\n height: 40px;\n width: 40px;\n min-width: 40px;\n text-align: center;\n line-height: 40px;\n border-radius: 40px;\n border: 1px solid #b9d8f0;\n background-color: white;\n font-weight: bold;\n color: #31393f;\n"]))),eb=Y.ZP.p(c||(c=(0,z.Z)(["\n margin: 0 0 0 5px;\n"])));function ev(e){var t=e.stageNumber,n=e.title,r=e.active,i=e.visited,o=e.handleClick,a=e.hasError,s="#999999",c="#F0F8FE",l="400",d="1px solid #999999";return r?a?(s="#FFFFFF",c="#D75757",l="700",d="2px solid #313131"):(s="#FFFFFF",c="#2A6FBE",l="700",d="2px solid #313131"):i&&(a?(s="#1A1A1A",c="#F1C0C0",l="700",d="1px solid #313131"):(s="#31393F",c="#C3E3FC",l="400",d="1px solid #313131")),(0,ea.jsxs)(ef,{color:s,backgroundColor:c,fontWeight:l,border:d,onClick:o,"data-testid":"stage-".concat(eh()(n)),children:[(0,ea.jsx)(em,{children:a?(0,ea.jsx)(ed.G,{icon:eu.eHv,color:"red",title:"Some additional fields require your attention."}):t}),(0,ea.jsx)(eb,{children:n})]})}var eg=Y.ZP.div(l||(l=(0,z.Z)(["\n width: 824px;\n max-width: 100%;\n"])));function ey(e){var t=e.currentStage,n=e.setFormStage,r=e.errors,i=e.isNew,o=e.visited,a=e.schemas,s=function(e){i||n(e)};return(0,ea.jsx)(eg,{children:(0,ea.jsx)(el.ZP,{cols:4,children:(0,ea.jsx)(el.ZP.Row,{collapse:"992",gutter:[],children:null==a?void 0:a.map(function(e,n){return(0,ea.jsx)(el.ZP.Col,{children:(0,ea.jsx)(ev,{title:e.stepText,stageNumber:n+1,active:n===t,hasError:!!r[n],visited:o[n],handleClick:function(){return s(n)}},n)},e.stepText)})})})})}var ej=n(56483),ex=n(76427),eO=n.n(ex),ew=n(11915),eP=n(30996),eS=n(35611);function eC(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 eZ(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"",n=function(e){switch(e){case"checkbox":return"checked";case"file":return"files";default:return"value"}}(t);return function(r){var i=r.value,o=r.onChange,a=r.label,s=r.schema,c=r.options,l=r.required,d=r.disabled,u=r.onBlur,p=r.id,h=void 0===p?"":p,f=r.readonly,m=s.pattern,b=s.minLength,v=s.maxLength,g=s.placeholder,y=s.fullWidth,j=s.rows,x=c.enumOptions,O=void 0===x?[]:x,w={onChange:function(e){var t=e.target[n];""===t&&(t=void 0),"true"===t&&(t=!0),"false"===t&&(t=!1),o(t)},label:a,name:name,maxLength:v,id:h,required:l,disabled:d,minLength:b,type:t,pattern:m,onBlur:u,fullWidth:y,rows:j,readOnly:f,value:i||"",placeholder:g,checked:void 0!==i&&i};return("file"===t&&delete w.value,"checkbox"===t&&(w.value=!0),"radio"===t)?(0,ea.jsxs)("div",{children:[(0,ea.jsx)("label",{children:a}),O.map(function(t){return(0,ea.jsx)(e,eZ(eZ({},w),{},{label:t.label,value:t.value,checked:t.value===i,style:{padding:"2px 0"},size:"small",readOnly:f,onBlur:u}),t.value)})]}):(0,ea.jsx)(e,eZ(eZ({},w),{},{onBlur:u&&function(e){return u(h,e.target.value)},children:O&&O.map(function(e){var t=e.value,n=e.label;return(0,ea.jsx)("option",{value:t,children:n},t)})}))}},eD=n(58766);function eI(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 eT(e){for(var t=1;t=u&&(0,ea.jsx)(e3,{onClick:e.onDropIndexClick(e.index),children:(0,ea.jsx)(ed.G,{style:{color:"red"},icon:eu.uMC,title:"Remove Item"})})]})},e.index)}),"prod"===d?(0,ea.jsxs)(e5,{children:["*Note: wildcard* redirect URIs are ",(0,ea.jsx)("strong",{children:"not"})," allowed in Prod for security reasons."]}):(0,ea.jsxs)(e5,{children:["*Note: wildcard* redirect URIs are ",(0,ea.jsx)("strong",{children:"only"})," allowed in ",(0,ea.jsx)("strong",{children:"Dev"})," and"," ",(0,ea.jsx)("strong",{children:"Test"})," environments (but not in Prod for security reasons)."]}),e.canAdd&&(0,ea.jsxs)(e1,{onClick:e.onAddClick,children:[(0,ea.jsx)(ed.G,{style:{color:"#006fc4"},icon:eu.KtF,onClick:e.onAddClick,title:"Add Item","data-testid":"add-uri"}),(0,ea.jsx)(e2,{children:l})]})]})}var e4=n(35166),e7=n(94026),e8=n(4136),te=n(36063),tt=n(37112),tn=n(97644),tr=n.n(tn),ti=n(92109),to=n(18269);function ta(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 ts(e){for(var t=1;t input {\n margin-right: 5px;\n }\n"]))),ty=function(e){var t=e.id,n=e.value,r=e.onChange,i=e.onBlur,o=e.schema;e.formContext;var a=o.enum,s=o.enumNames,c=(0,G.useState)(!1),l=c[0],d=c[1];return(0,ea.jsxs)("div",{children:[s.map(function(e,o){return(0,ea.jsxs)(tg,{children:[(0,ea.jsx)("input",{type:"radio",id:"".concat(t,"-").concat(e),name:t,value:e,checked:a[o]===n,onChange:function(){return r(a[o])},onBlur:function(){return i(t,n)}}),(0,ea.jsx)("label",{htmlFor:"".concat(t,"-").concat(e),children:e})]},e)}),(0,ea.jsxs)("div",{children:[(0,ea.jsx)(tm.default,{onClick:function(){return d(!0)},style:{cursor:"pointer"},children:"Click here"})," ","to get help deciding which client type to use."]}),(0,ea.jsx)(tv,{id:"client-helper",open:l,onChange:function(e){d(!1),"cancel"!==e&&r("public"===e)}})]})},tj=Y.ZP.span(P||(P=(0,z.Z)(["\n & input {\n height: 1.94rem;\n max-width: 3.125rem;\n }\n"]))),tx=Y.ZP.div(S||(S=(0,z.Z)(["\n display: flex;\n flex-direction: row;\n column-gap: 0.5em;\n"]))),tO=Y.ZP.span(C||(C=(0,z.Z)(["\n display: inline-block;\n\n & select {\n width: 100px;\n }\n\n & select:disabled {\n margin: 0;\n }\n"]))),tw=function(e){var t=e.id,n=e.value,r=void 0===n?0:n,i=e.label,o=e.readonly,a=e.onChange,s=(e.onBlur,e.schema);e.formContext,o&&(a=eR()),s.tooltipContent;var c=(0,G.useState)(0),l=c[0],d=c[1],u=(0,G.useState)("Minutes"),p=u[0],h=u[1],f=function(e){if(0===e){d(0),h("Minutes");return}var t=e,n="Seconds";t%60==0&&(n="Minutes",t/=60),t%60==0&&(n="Hours",t/=60),t%24==0&&(n="Days",t/=24),d(t),h(n)};return(0,G.useEffect)(function(){f(r)},[r]),(0,ea.jsxs)(tx,{children:[(0,ea.jsx)(tj,{children:(0,ea.jsx)(ew.default,{type:"text",size:"small",id:t,name:i,value:l.toString(),onChange:function(e){var t=parseInt(e.target.value);isNaN(t)&&(t=0);var n=t;"Minutes"===p?n*=60:"Hours"===p?n*=3600:n*=86400,n>31536e3&&(n=31536e3),a(n),d(t)},disabled:o})}),(0,ea.jsx)(tO,{children:(0,ea.jsxs)(eS.default,{size:"small",onChange:function(e){var t=e.target.value,n=0;(n="Minutes"===t?60*l:"Hours"===t?3600*l:86400*l)>31536e3&&(n=31536e3),a(n),h(t)},value:p,disabled:o,children:[(0,ea.jsx)("option",{children:"Minutes"}),(0,ea.jsx)("option",{children:"Hours"}),(0,ea.jsx)("option",{children:"Days"})]})})]})};function tP(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}var tS=function(e){var t=e.options,n=e.value,r=e.required,i=e.disabled,o=e.readonly,a=e.autofocus,s=void 0!==a&&a,c=e.onBlur,l=e.onFocus,d=e.onChange,u=e.id,p=e.schema,h=Math.random().toString(),f=t.enumOptions,m=t.enumDisabled,b=t.inline,v=p.tooltips,g=Array.isArray(f)?f:[],y=Array.isArray(m)?m:[];return(0,ea.jsx)("div",{className:"field-radio-group",id:u,children:g.map(function(e,t){var a=e.value===n,p=-1!==y.indexOf(e.value),f=i||p||o?"disabled":"",m=(0,ea.jsxs)("span",{children:[(0,ea.jsx)("input",{type:"radio",checked:a,name:h,required:r,value:e.value,disabled:i||p||o,autoFocus:s&&0===t,onChange:function(t){return d(e.value)},onBlur:c&&function(e){return c(u,e.target.value)},onFocus:l&&function(e){return l(u,e.target.value)}}),(0,ea.jsx)("span",{children:e.label}),"\xa0",v[t]&&(0,ea.jsx)(ez.Z,function(e){for(var t=1;t\n Only the person who is responsible for this project should be submitting the integration request.\xa0\n If you are not the one accountable, please refer this request to a team member who will be accountable for this project.\n

"},default:!0},t$={type:"array",items:{type:"string",enum:["livingInBC","businessInBC","bcGovEmployees","other"],enumNames:["People living in BC","People doing business/travel in BC","BC Gov Employees","Other"]},uniqueItems:!0,title:"Who are the primary end users of your project/application? (select all that apply)"};function tQ(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,r=t.map(function(e){return e.name});r.unshift("Select...");var i=t.map(function(e){return String(e.id)});i.unshift("");var o=t.length>0;return{type:"object",customValidation:["createTeam","projectName","projectLead"],headerText:"Enter requester information",stepText:"Requester Info",properties:tY(tY({projectName:{type:"string",title:"Project Name",maxLength:50},primaryEndUsers:t$},(null===(e=n.primaryEndUsers)||void 0===e?void 0:e.includes("other"))&&{primaryEndUsersOther:{type:"string",title:"Project Name",maxLength:100,placeholder:"Enter Details",rows:3}}),{},{usesTeam:{type:"boolean",title:"Project Team",description:"Would you like to allow multiple members to manage this integration?",default:!1}}),required:["projectName"],dependencies:{usesTeam:{oneOf:[{properties:{usesTeam:{enum:[!1]},projectLead:tJ}},{properties:tY(tY({usesTeam:{enum:[!0]}},o&&{teamId:{type:"string",title:"Project Team",enum:i,enumNames:r}}),{},{createTeam:{type:"string"}})}]},projectLead:{oneOf:[{properties:{projectLead:{enum:[!0]}},required:["projectLead"]},{properties:{projectLead:{enum:[!1]}}}]}}}}var tX={type:"object",required:["agreeWithTerms"],headerText:"Terms and Conditions",stepText:"Terms and Conditions",properties:{agreeWithTerms:{type:"boolean",title:"I agree to the Terms and Conditions",default:null,enum:[null,!0]}}},t0=n(4602),t1=n(11752),t3=n.n(t1),t2=n(34155),t6=(t3()()||{}).publicRuntimeConfig,t5=void 0===t6?{}:t6,t9=t5.include_digital_credential,t4=t5.include_bc_services_card,t7=t5.allow_bc_services_card_prod;function t8(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{isAdmin:!0},r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=e.protocol,a=e.authType,s=e.status,c="true"===t7||"true"===t2.env.ALLOW_BC_SERVICES_CARD_PROD,l="true"===t4||"true"===t2.env.INCLUDE_BC_SERVICES_CARD;null!==(t=e.environments)&&void 0!==t&&t.includes("prod")&&!c&&(l=!1);var d=(0,e8.e$)(e),u={type:"string",title:"Select Client Protocol",enum:["oidc","saml"],enumNames:["OpenID Connect","SAML"],tooltip:{content:"The OpenID Connect (OIDC) client protocol is recommended."},tooltips:[null,{content:'To read more about SAML configuration options and limitations, see here.'),hide:3e3}]},p={type:"string",title:"Please select privacy zone",enum:null==r?void 0:r.map(function(e){return e.privacy_zone_name||[]}),enumNames:null==r?void 0:r.map(function(e){return e.privacy_zone_name||[]})},h={protocol:u},f=[];if("oidc"===o&&(h.authType={type:"string",title:"Select Usecase",enum:["browser-login","service-account","both"],enumNames:["Browser Login","Service Account","Browser Login and Service Account"],tooltip:"applied"===s?null:{content:"Note that once this is submitted, you will not be able to update and rather will need to create a new integration."},tooltips:[{content:"This enables standard OpenID Connect redirect based authentication with authorization code. In terms of OpenID Connect or OAuth2 specifications, this enables support of 'Authorization Code Flow' for this client."},{content:"This allows you to authenticate this client to Keycloak and retrieve access token dedicated to this client. In terms of OAuth2 specification, this enables support of 'Client Credentials Grant' for this client."},{content:"This enables 'Browser Login' and 'Service Account' both."}]},"browser-login"===a&&(h.publicAccess={type:"boolean",title:"Select Client Type",enum:[!0,!1],enumNames:["Public","Confidential"]}),f.push("publicAccess")),"service-account"!==a){var m=["idir","azureidir","bceidbasic","bceidbusiness","bceidboth","githubpublic","githubbcgov"];("true"===t9||"true"===t2.env.INCLUDE_DIGITAL_CREDENTIAL)&&m.push("digitalcredential"),l&&m.push("bcservicescard");var b=m.map(function(e){return t0.S[e]});h.devIdps={type:"array",minItems:1,title:"Choose Identity Provider(s)",items:{type:"string",enum:m,enumNames:b},warningMessage:"Role assignment is not available for the BC Services Card and Digital Credential Identity Providers.",tooltips:m.map(function(e){return"azureidir"===e?{content:'\n To learn the difference between IDIR and IDIR with MFA,\n \n please visit our GitHub page about choosing an Identity Provider\n \n '),hide:3e3}:"digitalcredential"===e?{content:'To learn more about using the Digital Credential option visit our additional information.'),hide:3e3}:"bcservicescard"===e?{content:'To learn more about using the BC Services Card option visit our additional information.'),hide:3e3,alpha:!0}:null}),uniqueItems:!0,tooltip:{content:"The identity providers you add will let your users authenticate with those services."}}}return d&&l&&(h.bcscPrivacyZone=p,h.bcscAttributes={type:"array",title:"Please select attribute(s)",items:{type:"string",enum:null==i?void 0:i.map(function(e){return e.name}),enumNames:null==i?void 0:i.map(function(e){return e.name})},uniqueItems:!0,tooltip:{content:"We will provide a separate client for each attribute you can select. Select the attributes required for your project."}}),h.environments={type:"array",minItems:1,title:"Choose Environment(s)",items:{type:"string",enum:["dev","test","prod"],enumNames:["Development","Test","Production"]},uniqueItems:!0,tooltip:{content:"We will provide a separate client for each environment you can select. Select the environments required for your project."}},!c&&d&&(h.environments.items={type:"string",enum:["dev","test"],enumNames:["Development","Test"]}),"saml"!==o&&(h.additionalRoleAttribute={type:"string",title:"Additional Role Attribute(optional)",tooltip:{content:'By default "client_roles" is the default attribute key name to include roles info, if you wish to include same info in another attribute, then use this.'},maxLength:50}),"saml"===o&&n.isAdmin&&(h.clientId={type:"string",title:"As SSO Admin. you can override the client id",tooltip:{content:"The client id should be a string without any spaces"},maxLength:250}),{type:"object",customValidation:["additionalRoleAttribute","clientId","devIdps","authType","bcscPrivacyZone","bcscAttributes"],headerText:"Choose providers",stepText:"Basic Info",properties:h,required:f}}function ne(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 nt(e){for(var t=1;t1?0:1},default:[""],addItemText:"Add another URI"};nt(nt({},nr),{},{title:"Test Redirect URIs"}),nt(nt({},nr),{},{title:"Prod Redirect URIs"});var ni='valid URI '),no=nt(nt({},nr),{},{description:"You can use any ".concat(ni,' for your redirect URIs. We recommend only using your client for one application.'),title:"Dev Redirect URIs",tooltip:{content:"At least one redirect URI is required for each of DEV, TEST and PROD. If you don't know the redirect URI for one or\n more of these environments, you may provide any valid URI for now and change it later. We suggest something like\n 'http://localhost:1000'."}}),na=Y.ZP.div(A||(A=(0,z.Z)(["\n margin-top: var(--field-top-spacing);\n display: inline-block;\n"]))),ns=Y.ZP.legend(E||(E=(0,z.Z)(["\n font-weight: bold;\n font-size: 1rem;\n margin: 0;\n"]))),nc=Y.ZP.p(N||(N=(0,z.Z)(["\n font-style: italic;\n font-size: 0.9rem;\n margin-top: 0.7rem;\n font-weight: normal;\n"]))),nl=(0,ea.jsx)(na,{children:(0,ea.jsxs)(ns,{children:["Additional Settings (Optional)\xa0",(0,ea.jsxs)(nc,{children:["*If you would like to configure the Additional Settings, or have any questions,"," ",(0,ea.jsx)(tm.default,{href:"mailto:bcgov.sso@gov.bc.ca",children:"please contact the Pathfinder SSO Team"}),"."]})]})}),nd=n(34155);function nu(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 np(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"oidc";if(e.length===t.length)return t;var o=e.length1&&void 0!==arguments[1]&&arguments[1];if(!e||0===e.length)return[];var n=e.map(eo());return t&&(n=n.filter(function(e){return e})),0===n.length&&n.push(""),n},nQ=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.dropEmptyRedirectUris,r=void 0!==n&&n,i=n$(e.devValidRedirectUris,r),o=n$(e.testValidRedirectUris,r),a=n$(e.prodValidRedirectUris,r);return nV(nV({},e),{},{devValidRedirectUris:i,testValidRedirectUris:o,prodValidRedirectUris:a})},nX=(0,te.hU)(function(e){var t,n,r,i,o,a,s,c,l=e.currentUser,d=e.request,u=e.alert,p=(0,K.useRouter)(),h=p.query.step,f=h?Number(h):0,m=(0,G.useState)(d||{}),b=m[0],v=m[1],g=(0,G.useState)(f),y=g[0],j=g[1],x=(0,G.useState)(!1),O=x[0],w=x[1],P=(0,G.useState)(""),S=P[0],C=P[1],Z=(0,G.useState)(!1),k=Z[0],D=Z[1],I=(0,G.useState)({}),T=I[0],A=I[1],E=(0,G.useState)(d?{0:!0}:{}),N=E[0],F=E[1],R=(0,G.useState)([]),L=R[0],U=R[1],M=(0,G.useState)([]),B=M[0],W=M[1],z=(0,G.useState)((0,to.S2)()),H=z[0],Y=z[1],J=(0,G.useState)((0,to.K_)()),Q=J[0],ee=J[1],en=(0,G.useState)(!1),er=en[0],ei=en[1],eo=(0,G.useContext)(nq.SurveyContext),es=$()(null==d?void 0:d.id),el=(null==d?void 0:d.status)==="applied",ed=l.isAdmin||!1,eu=0!==y||b.usesTeam||b.projectLead,ep=y===B.length-1,eh=B[y]||{},ef=(0,G.useCallback)(X()((t=(0,_.Z)(V().mark(function e(t){var n;return V().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(es||el)){e.next=2;break}return e.abrupt("return");case 2:if(!d){e.next=11;break}return D(!0),e.next=6,(0,nB.WN)(nV(nV({},t),{},{id:d.id}));case 6:n=e.sent,(0,q.Z)(n,2)[1]||C("Last saved at ".concat(new Date().toLocaleString())),D(!1);case 11:case"end":return e.stop()}},e)})),function(e){return t.apply(this,arguments)}),2e3,{trailing:!0}),[null==d?void 0:d.id]),em=(n=(0,_.Z)(V().mark(function e(){var t,n,r,i;return V().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=es?tt.Dc:tt.l8,e.next=3,t();case 3:n=e.sent,i=(r=(0,q.Z)(n,2))[0],r[1]?u.show({variant:"danger",content:"Failed to load teams. Please refresh."}):U(i||[]);case 8:case"end":return e.stop()}},e)})),function(){return n.apply(this,arguments)}),eb=(r=(0,_.Z)(V().mark(function e(){var t,n,r,i;return V().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,nW();case 2:r=e.sent,(i=(0,q.Z)(r,1)[0])&&(null===(t=i)||void 0===t?void 0:t.length)>0&&(i=null===(n=i)||void 0===n?void 0:n.sort(function(e,t){return e.privacy_zone_name.localeCompare(t.privacy_zone_name)})),Y(i||[]);case 7:case"end":return e.stop()}},e)})),function(){return r.apply(this,arguments)}),ev=(i=(0,_.Z)(V().mark(function e(){var t,n,r,i;return V().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,nz();case 2:r=e.sent,(i=(0,q.Z)(r,1)[0])&&(null===(t=i)||void 0===t?void 0:t.length)>0&&(i=null===(n=i)||void 0===n?void 0:n.sort(function(e,t){return e.name.localeCompare(t.name)})),ee(i||[]);case 7:case"end":return e.stop()}},e)})),function(){return i.apply(this,arguments)}),eg=function(){W(nm({integration:d,formData:b,teams:L,isAdmin:ed,bcscPrivacyZones:H,bcscAttributes:Q}))};(0,G.useEffect)(function(){em(),eb(),ev()},[]),(0,G.useEffect)(function(){b.primaryEndUsers&&!b.primaryEndUsers.includes("other")&&v(nV(nV({},b),{},{primaryEndUsersOther:""}))},[JSON.stringify(b.primaryEndUsers)]),(0,G.useEffect)(function(){eg()},[b,y,L]);var ej=function(e){if(N[y]=!0,e===B.length-1)for(var t=0;t0?(u.show({variant:"danger",fadeOut:1e4,closable:!0,content:"There were errors with your submission. Please see the navigation tabs above for the form pages with errors."}),A(e)):ei(!0)},eZ=el?(0,ea.jsx)(nM,{onConfirm:ex}):null,ek={continue:"",back:""},eD=null===(c=b.devIdps)||void 0===c?void 0:c.includes("digitalcredential");return(ep?(ek.continue=el?"Update":"Submit",ek.back=el?"Cancel":"Save and Close"):0===y&&es?(ek.continue="Next",ek.back=el?"Cancel":"Close"):(ek.continue="Next",ek.back=el?"Cancel":"Save and Close"),0===B.length)?null:(0,ea.jsxs)(ea.Fragment,{children:[(0,ea.jsxs)(nK,{children:[(0,ea.jsx)(ec,{schema:eh,requestId:b.id,editing:el}),(0,ea.jsx)(ey,{currentStage:y,setFormStage:ej,errors:T,isNew:es,visited:N,schemas:B}),(0,ea.jsxs)(nG,{children:["If new to SSO, please"," ",(0,ea.jsx)(tm.default,{external:!0,href:"".concat(to.UN,"/category/integrating-your-application"),children:"click to learn more on our wiki page"}),"."]})]}),(0,ea.jsx)(eN,{schema:eh,uiSchema:eO,onChange:function(e){var t=nQ(e.formData),n=nY((null==b?void 0:b.devIdps)||[],t.devIdps||[],"applied"===b.status,b.bceidApproved,b.protocol),r=!b.usesTeam&&!0===t.usesTeam,i=!0===t.bceidApproved&&nJ(t.devIdps);b.protocol!==t.protocol&&n.length>1&&(n=[]);var o=nV(nV({},t),{},{devIdps:n});"saml"!==t.protocol&&(b.protocol!==t.protocol&&(o.clientId=""),o.devSamlLogoutPostBindingUri="",o.testSamlLogoutPostBindingUri="",o.prodSamlLogoutPostBindingUri=""),"saml"===t.protocol&&(0,e8.S3)(t)&&(o.devIdps=[]),"browser-login"!==t.authType&&(o.publicAccess=!1),r&&!0===o.projectLead&&!es&&(o.projectLead=!1),i&&(o.bceidApproved=!1),v(o),ef(o)},onSubmit:ew,formData:b,formContext:{isAdmin:ed,teams:L,formData:b,setFormData:v,loadTeams:em,bcscPrivacyZones:H},FieldTemplate:eK,ArrayFieldTemplate:e9,liveValidate:N[y]||el,validate:e7.Mr,children:eu?(0,ea.jsx)(e_,{formSubmission:es&&0===y,backButton:eZ,text:ek,loading:O,handleSubmit:eS,handleBackClick:ex,savingStatus:{saving:k,content:S}}):(0,ea.jsx)(ea.Fragment,{})}),(0,ea.jsx)(e4.Z,{id:"confirmation-modal",openModal:er,handleClose:function(){return ei(!1)},content:(0,ea.jsxs)(ea.Fragment,{children:[(0,ea.jsx)("p",{children:"Are you sure you're ready to submit your request?"}),eD&&(0,ea.jsxs)("p",{children:["You will need to engage with DIT to learn about the Digital Credential Configuration ID. You can contact them at ",(0,ea.jsx)(tm.default,{href:"mailto:ditp.support@gov.bc.ca",children:"ditp.support@gov.bc.ca"}),"."]}),!ed&&(0,ea.jsxs)("p",{children:["If you need to change anything after submitting your request, please contact our"," ",(0,ea.jsx)(tm.default,{external:!0,href:"https://chat.developer.gov.bc.ca/channel/sso/",children:"#SSO channel"})," ","or email ",(0,ea.jsx)(tm.default,{href:"mailto:bcgov.sso@gov.bc.ca",children:"bcgov.sso@gov.bc.ca"})]})]}),title:"Submitting Request",onConfirm:eP})]})})},92109:function(e,t,n){var r,i=n(16835),o=n(50029),a=n(71383),s=n(87794),c=n.n(s),l=n(67294),d=n(11915),u=n(71893),p=n(37112),h=n(42894),f=n(36063),m=n(65363),b=n(87266),v=n(29207),g=n(85893),y=u.ZP.div(r||(r=(0,a.Z)(["\n display: flex;\n justify-content: space-between;\n margin-top: 20px;\n & button {\n min-width: 180px;\n }\n"]))),j={idirEmail:"",role:"member",id:new Date().getTime()};t.Z=(0,f.hU)(function(e){var t,n=e.onSubmit,r=e.alert,a=e.setOpenCreateTeamModal,s=((0,l.useContext)(v.SessionContext)||{}).session,u=(0,l.useState)([j]),f=u[0],x=u[1],O=(0,l.useState)(""),w=O[0],P=O[1],S=(0,l.useState)(!1),C=S[0],Z=S[1],k=(0,l.useState)(null),D=k[0],I=k[1],T=(t=(0,o.Z)(c().mark(function e(){var t,o,l,d,u,h,m,v;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t={name:w,members:f},o=(0,b.p)(t,s.email),d=(l=(0,i.Z)(o,2))[0],u=l[1],!d){e.next=5;break}return e.abrupt("return",I(u));case 5:return Z(!0),e.next=8,(0,p.Cm)(t);case 8:if(h=e.sent,v=(m=(0,i.Z)(h,2))[0],m[1]?r.show({variant:"danger",fadeOut:1e4,closable:!0,content:"Failed to create team. Please try again."}):r.show({variant:"success",fadeOut:1e4,closable:!0,content:"Team ".concat(w," successfully created")}),!v){e.next=16;break}return e.next=16,n(v.id);case 16:x([j]),P(""),Z(!1),I(null),a(!1);case 21:case"end":return e.stop()}},e)})),function(){return t.apply(this,arguments)});return(0,g.jsxs)("div",{children:[(0,g.jsx)(d.default,{label:"Team Name",onChange:function(e){P(e.target.value)},maxLength:"255","data-testid":"team-name",value:w}),D&&D.name&&(0,g.jsx)(m.Z,{children:null==D?void 0:D.name}),(0,g.jsx)("br",{}),(0,g.jsx)("strong",{children:"Team Members"}),(0,g.jsx)(b.Z,{errors:D,members:f,setMembers:x,currentUser:s}),(0,g.jsxs)(y,{children:[(0,g.jsx)("button",{className:"secondary",onClick:function(){x([j]),P(""),Z(!1),I(null),a(!1)},children:"Cancel"}),(0,g.jsx)("button",{className:"primary",type:"button",onClick:T,"data-testid":"send-invitation",children:C?(0,g.jsx)(h.rj,{color:"#FFF",height:18,width:50,visible:C}):"Send Invitation"})]})]})})},87266:function(e,t,n){n.d(t,{p:function(){return q}});var r,i,o,a,s,c,l,d,u,p,h=n(59499),f=n(27812),m=n(71383);n(67294);var b=n(11915),v=n(35611),g=n(71893),y=n(48966),j=n.n(y),x=n(99603),O=n(59417),w=n(65363),P=n(74150),S=n(18269),C=n(35685),Z=n(17769),k=n(85893);function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function I(e){for(var t=1;t .select-inner__control {\n padding: 0.13em 0;\n border: 2px solid #606060;\n visibility: inherit;\n\n &:focus-within {\n outline: 4px solid #3b99fc !important;\n outline-offset: 2px !important;\n }\n }\n"]))),L=(0,g.ZP)(x.G)(l||(l=(0,m.Z)(["\n align-self: center;\n color: red;\n cursor: pointer;\n"]))),U=(0,g.ZP)(x.G)(d||(d=(0,m.Z)(["\n padding: 3px;\n border-radius: 25px;\n border-style: solid;\n border-color: black;\n border-width: thin;\n"]))),M=(0,g.ZP)(x.G)(u||(u=(0,m.Z)(["\n padding: 3px;\n border-radius: 25px;\n border-style: solid;\n border-color: black;\n border-width: thin;\n color: white;\n background-color: black;\n"]))),B=g.ZP.p(p||(p=(0,m.Z)(["\n font-style: italic;\n font-size: 0.95em;\n"]))),q=function(e,t){var n={name:null,members:[]};return e.name||(n.name="Please enter a name"),e.members.forEach(function(r,i){r.idirEmail?j().isEmail(r.idirEmail)?(e.members.filter(function(e){return e.idirEmail===r.idirEmail}).length>1||r.idirEmail===t)&&(n.members[i]="Please use unique email"):n.members[i]="Please enter a valid email":n.members[i]="Please enter an email"}),[n.name||n.members.length>0,n]};t.Z=function(e){var t=e.errors,n=e.members,r=e.setMembers,i=e.allowDelete,o=void 0===i||i,a=e.currentUser,s=void 0===a?null:a,c=function(e,t){var i=I({},n[t]);i.idirEmail=(null==e?void 0:e.label.toLowerCase())||"";var o=(0,f.Z)(n);o[t]=i,r(o)},l=function(e,t){var i=I({},n[e]);i.role=t.target.value;var o=(0,f.Z)(n);o[e]=i,r(o)},d=function(e){r(n.filter(function(t,n){return n!==e}))};return(0,k.jsxs)("div",{children:[(0,k.jsxs)("p",{children:["Enter your team member’s government email address and they will be sent an invitation to join the project. Once they accept the invitation, they will have access to your project. Their invitation will expire in"," ",(0,k.jsx)("strong",{children:"2 business days"}),"."]}),(0,k.jsxs)("p",{children:[(0,k.jsx)("span",{className:"strong",children:"Roles:"}),(0,k.jsx)("br",{}),(0,k.jsxs)("div",{children:[(0,k.jsx)("span",{children:(0,k.jsx)(M,{icon:O.Tab})}),"\xa0\xa0",(0,k.jsx)("span",{className:"underline",style:{verticalAlign:"top"},children:"Admins"}),(0,k.jsxs)("span",{style:{verticalAlign:"top"},children:["\xa0have ",(0,k.jsx)("b",{children:"managing"})," powers"]})]}),(0,k.jsxs)("div",{children:[(0,k.jsx)("span",{children:(0,k.jsx)(U,{icon:O.Tab})}),"\xa0\xa0",(0,k.jsx)("span",{className:"underline",style:{verticalAlign:"top"},children:"Members"}),(0,k.jsxs)("span",{style:{verticalAlign:"top"},children:["\xa0have ",(0,k.jsx)("b",{children:"viewing"})," powers"]})]}),(0,k.jsx)("br",{}),(0,k.jsx)("div",{children:(0,k.jsx)("span",{className:"underline",children:(0,k.jsx)(P.default,{external:!0,href:(0,S.eO)("CSS-App-My-Teams#ive-created-a-team-now-what"),children:"View a detailed breakdown of roles on our wiki page"})})})]}),(0,k.jsxs)(F,{children:[(0,k.jsxs)(T,{children:[(0,k.jsx)("strong",{children:"Member"}),(0,k.jsx)("strong",{children:"Role"}),(0,k.jsx)(E,{})]}),(0,k.jsx)(B,{children:"*Please enter email address tied to an IDIR to allow your user to login"}),s&&(0,k.jsxs)(R,{children:[(0,k.jsx)(b.default,{value:(null==s?void 0:s.email)||"",readOnly:!0,fullWidth:!0}),(0,k.jsx)(A,{label:"Role",disabled:!0,value:"admin",readOnlyRole:!0,children:(0,k.jsx)("option",{value:"admin",children:"Admin"})})]}),n.map(function(e,n){return(0,k.jsxs)(R,{children:[(0,k.jsxs)("div",{children:[(0,k.jsx)(C.Z,{loadOptions:Z.c,onChange:function(e){return c(e,n)},noOptionsMessage:function(){return"Start typing email..."},className:"email-select",menuPlacement:"top",maxMenuHeight:120,classNamePrefix:"select-inner",placeholder:"Enter email address"}),t&&t.members&&t.members[n]&&(0,k.jsx)(w.Z,{children:t.members[n]})]}),(0,k.jsxs)(A,{label:"Role",onChange:function(e){return l(n,e)},value:e.role,"data-testid":"user-role",children:[(0,k.jsx)("option",{value:"member",children:"Member"}),(0,k.jsx)("option",{value:"admin",children:"Admin"})]}),n>=0&&o&&(0,k.jsx)(L,{icon:O.uMC,onClick:function(){return d(n)},title:"Delete","data-testid":"delete-user-role"})]},e.id)}),(0,k.jsxs)(N,{onClick:function(){r([].concat((0,f.Z)(n),[{idirEmail:"",role:"member",id:new Date().getTime(),pending:!0}]))},children:[(0,k.jsx)(x.G,{style:{color:"#006fc4"},icon:O.KtF,title:"Add Item","data-testid":"add-user-role"}),(0,k.jsx)("span",{children:"Add another team member"})]})]})]})}},4602:function(e,t,n){n.d(t,{S:function(){return r}});var r={idir:"IDIR",azureidir:"IDIR - MFA",bceidbasic:"Basic BCeID",bceidbusiness:"Business BCeID",bceidboth:"Basic or Business BCeID",githubbcgov:"GitHub BC Gov",githubpublic:"GitHub",digitalcredential:"Digital Credential",bcservicescard:"BC Services Card"}},35927:function(e,t,n){n.d(t,{F:function(){return r}});var r={"browser-login":"Browser Login","service-account":"Service Account",both:"Browser Login & Service Account"}},26055:function(e,t,n){n.d(t,{Z:function(){return m}});var r,i,o,a=n(71383);n(67294);var s=n(71893),c=n(74150),l=n(12183),d=n(18269),u=n(85893),p=s.ZP.ul(r||(r=(0,a.Z)(["\n & li {\n margin: 0;\n }\n"]))),h=s.ZP.li(i||(i=(0,a.Z)(["\n &&& {\n margin-left: 20px;\n }\n"]))),f=s.ZP.div(o||(o=(0,a.Z)(["\n margin-top: ",";\n"])),l.SI);function m(){var e=(0,d.eO)();return(0,u.jsxs)(f,{children:[(0,u.jsx)("h2",{children:"Requirements"}),(0,u.jsxs)(p,{children:[(0,u.jsx)("li",{children:"Keep your email address active, and if you are not using your integration, clean it up"}),(0,u.jsxs)("li",{children:["If you are not using your client app configuration,"," ",(0,u.jsx)(c.default,{external:!0,href:"https://chat.developer.gov.bc.ca/channel/sso/",children:"ask us at rocketchat"})," ","for the detailed info"]}),(0,u.jsx)("li",{children:"In order to reduce your application's potential exposure, we recommend using a unique integration for each application."})]}),(0,u.jsx)("h2",{children:"We're a Community"}),(0,u.jsxs)(p,{children:[(0,u.jsxs)("li",{children:["As part of a community, we can solve things together and quickly. Please join the"," ",(0,u.jsx)(c.default,{external:!0,href:"https://chat.developer.gov.bc.ca/channel/sso/",children:"#SSO channel on Rocket.Chat"})]}),(0,u.jsxs)("li",{children:["Please follow the"," ",(0,u.jsx)(c.default,{external:!0,href:"https://digital.gov.bc.ca/resources/digital-principles",target:"_blank",rel:"noreferrer",children:"BC Government digital standards"})]}),(0,u.jsx)("li",{children:"Coordinate load testing with the Pathfinder SSO Team, and please only use the Test environment"}),(0,u.jsxs)("li",{children:["The SSO Service is multitenancy; meaning you share with others, so please coordinate with us (",(0,u.jsx)(c.default,{external:!0,href:"https://chat.developer.gov.bc.ca/channel/sso/",children:"#SSO channel on Rocket.Chat"})," ","or email at ",(0,u.jsx)(c.default,{href:"mailto:bcgov.sso@gov.bc.ca",children:"bcgov.sso@gov.bc.ca"}),") :",(0,u.jsxs)("ul",{children:[(0,u.jsxs)(h,{children:["if you predict moderate or high loads",(0,u.jsx)("br",{}),"OR",(0,u.jsx)("br",{})]}),(0,u.jsx)(h,{children:"if you need to conduct load testing or security scans please do in TEST only"})]})]})]}),(0,u.jsx)("h2",{children:"What's included in the service"}),(0,u.jsx)(p,{children:(0,u.jsx)("li",{children:"The Standard realm is configured to meet the general needs of the community. Currently, custom configurations, such as scopes or flows, are not available"})}),(0,u.jsx)("h2",{children:"Understanding the service level"}),(0,u.jsxs)(p,{children:[(0,u.jsxs)("li",{children:["Our service is available 24/7, except during planned outages within the Kamloops and Calgary data centres. Planned outages are communicated through"," ",(0,u.jsx)(c.default,{external:!0,href:"https://chat.developer.gov.bc.ca/channel/sso/",children:"RocketChat"}),"."]}),(0,u.jsx)("li",{children:"Our regular business hours are weekdays from 9:00 am to 5:00 pm Pacific Time, excluding statutory holidays. Client provisioning questions and requests will be reviewed and handled during normal business hours. After hours support is provided by the Pathfinder SSO team, and is only available for service outages and other incidents that impact the service."}),(0,u.jsxs)("li",{children:["To learn more about our service uptime monitoring, please visit our"," ",(0,u.jsx)(c.default,{external:!0,href:(0,d.eO)("Pathfinder-Uptime-Monitoring/"),children:"uptime page on our wiki"})," ","and join our"," ",(0,u.jsx)(c.default,{external:!0,href:"https://subscribe.developer.gov.bc.ca/",children:"newsletter"})," ","to receive important updates on the service and any outages."]})]}),(0,u.jsx)("h2",{children:"Contact Us"}),(0,u.jsxs)(p,{children:[(0,u.jsxs)("li",{children:["If you have any questions, please reach out to us on"," ",(0,u.jsx)(c.default,{external:!0,href:"https://chat.developer.gov.bc.ca",children:"Rocket.Chat"})," ","or"," ",(0,u.jsx)(c.default,{external:!0,href:"mailto:bcgov.sso@gov.bc.ca",children:"Email"})," ","the Pathfinder SSO Product Owner."]}),(0,u.jsxs)("li",{children:["Visit our documentation: one for"," ",(0,u.jsx)(c.default,{external:!0,href:e,children:"business"})," ","areas and one for"," ",(0,u.jsx)(c.default,{external:!0,href:d.UN,children:"technical"})," ","areas."]})]})]})}}}]); \ No newline at end of file diff --git a/_next/static/chunks/500-001734f230a4747e.js b/_next/static/chunks/500-001734f230a4747e.js deleted file mode 100644 index f877965..0000000 --- a/_next/static/chunks/500-001734f230a4747e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[500],{65363:function(e,t,n){var r,i=n(71383),o=n(71893).ZP.span(r||(r=(0,i.Z)(["\n color: #dc3545;\n margin: 0;\n padding: 0;\n"])));t.Z=o},66723:function(e,t,n){var r,i,o,a=n(71383),s=n(71893),c=n(35927),l=n(4602),d=n(4136),u=n(85893),p=s.ZP.table(r||(r=(0,a.Z)(["\n font-size: unset;\n & tr {\n display: flex;\n margin-bottom: 5px;\n & > td {\n border: none;\n padding: 0 5px 0 0;\n }\n }\n"]))),h=s.ZP.span(i||(i=(0,a.Z)(["\n font-weight: 600;\n"]))),f=s.ZP.ul(o||(o=(0,a.Z)(["\n list-style: none;\n margin: 0;\n & li {\n margin: 0;\n }\n"]))),m=function(e){var t=e.list,n=e.title,r=e.inline,i=void 0!==r&&r,o=e.testid;return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)("tr",{children:[(0,u.jsx)("td",{children:n}),((null==t?void 0:t.length)===1||i)&&(0,u.jsx)(h,{"data-testid":o,children:null==t?void 0:t.map(function(e,n){return(0,u.jsxs)("span",{children:[e,n!==t.length-1&&", "," "]},e)})})]}),!i&&((null==t?void 0:t.length)||0)>1&&(0,u.jsx)("tr",{children:(0,u.jsx)("td",{children:(0,u.jsx)(h,{children:(0,u.jsx)(f,{children:null==t?void 0:t.map(function(e){return(0,u.jsx)("li",{children:e},e)})})})})})]})};t.Z=function(e){var t,n,r,i,o,a,s,f,b=e.children,v=e.request,g=e.teams,y=e.privacyZone;if(!v)return null;var j=null!==(i=v.devIdps)&&void 0!==i?i:[],x="saml"!==v.protocol,O=j.map(function(e){return l.S[e]}),w=(0,d.e$)(v),P="";v.usesTeam&&(P=(null===(f=(void 0===g?[]:g).find(function(e){return String(e.id)===String(v.teamId)}))||void 0===f?void 0:f.name)||v.team&&v.team.name);var S=(t=v.primaryEndUsers,n=v.primaryEndUsersOther,null==t?void 0:t.map(function(e){switch(e){case"livingInBC":return"People living in BC";case"businessInBC":return"People doing business/travel in BC";case"bcGovEmployees":return"BC Gov Employees";case"other":return"Other: ".concat(null!=n?n:"");default:return""}}));return(0,u.jsx)(u.Fragment,{children:(0,u.jsx)(p,{children:(0,u.jsxs)("tbody",{children:[P?(0,u.jsxs)("tr",{children:[(0,u.jsx)("td",{children:"Associated Team:"}),(0,u.jsx)("td",{children:(0,u.jsx)(h,{"data-testid":"associated-team",children:P})})]}):(0,u.jsxs)("tr",{children:[(0,u.jsx)("td",{children:"Are you accountable for this project?"}),(0,u.jsx)("td",{children:(0,u.jsx)(h,{"data-testid":"you-accountable",children:void 0===(r=v.projectLead)?"":r?"Yes":"No"})})]}),(0,u.jsxs)("tr",{children:[(0,u.jsx)("td",{children:"Client Protocol:"}),(0,u.jsx)("td",{children:(0,u.jsx)(h,{"data-testid":"client-protocol",children:x?"OpenID Connect":"SAML"})})]}),x&&(0,u.jsxs)("tr",{children:[(0,u.jsx)("td",{children:"Client Type:"}),(0,u.jsx)("td",{children:(0,u.jsx)(h,{"data-testid":"client-type-team",children:v.publicAccess?"Public":"Confidential"})})]}),(0,u.jsxs)("tr",{children:[(0,u.jsx)("td",{children:"Usecase:"}),(0,u.jsx)("td",{children:(0,u.jsx)(h,{"data-testid":"use-case",children:c.F[v.authType||"browser-login"]})})]}),(0,u.jsxs)("tr",{children:[(0,u.jsx)("td",{children:"Project Name:"}),(0,u.jsx)("td",{children:(0,u.jsx)(h,{"data-testid":"project-name",children:v.projectName})})]}),S&&(0,u.jsxs)("tr",{children:[(0,u.jsx)("td",{children:"Primary End Users:"}),(0,u.jsx)("td",{children:(0,u.jsx)(h,{"data-testid":"project-name",children:S.join(", ")})})]}),v.additionalRoleAttribute&&(0,u.jsxs)("tr",{children:[(0,u.jsx)("td",{children:"Additional Role Attribute:"}),(0,u.jsx)("td",{children:(0,u.jsx)(h,{"data-testid":"add-role-attrib",children:v.additionalRoleAttribute})})]}),(0,u.jsx)(m,{list:O,title:"Identity Providers Required:",inline:!0,testid:"idp-required"}),w&&(0,u.jsxs)("tr",{children:[(0,u.jsx)("td",{children:"Privacy Zone:"}),(0,u.jsx)("td",{children:(0,u.jsx)(h,{children:y})})]}),(null===(o=v.environments)||void 0===o?void 0:o.includes("dev"))&&(0,u.jsx)(m,{list:v.devValidRedirectUris,title:"Dev Redirect URIs:",testid:"dev-uri"}),(null===(a=v.environments)||void 0===a?void 0:a.includes("test"))&&(0,u.jsx)(m,{list:v.testValidRedirectUris,title:"Test Redirect URIs:",testid:"test-uri"}),(null===(s=v.environments)||void 0===s?void 0:s.includes("prod"))&&(0,u.jsx)(m,{list:v.prodValidRedirectUris,title:"Prod Redirect URIs:",testid:"prod-uri"}),b]})})})}},81500:function(e,t,n){n.d(t,{Z:function(){return nG}});var r,i,o,a,s,c,l,d,u,p,h,f,m,b,v,g,y,j,x,O,w,P,S,C,Z,k,D,I,T,A,E,N,F,R,L,U=n(16835),M=n(50029),B=n(59499),q=n(71383),_=n(87794),W=n.n(_),z=n(67294),H=n(11163),V=n(71893),G=n(59722),K=n.n(G),Y=n(93096),$=n.n(Y),J=n(71431),Q=n.n(J),X=n(61478),ee=n.n(X),et=n(70100),en=n.n(et),er=n(85893),ei=V.ZP.h1(r||(r=(0,q.Z)(["\n font-weight: lighter;\n color: #003366;\n margin: 0;\n"])));function eo(e){var t=e.schema,n=e.requestId,r=e.editing,i=Q()(String(n),8,"0"),o="".concat(K()(n)?"":"Req ID: ".concat(i," - ")).concat(t.headerText);return(0,er.jsx)(ei,{children:(r?"Editing ":"")+o})}var ea=n(64735),es=n(99603),ec=n(59417),el=n(35683),ed=n.n(el),eu=V.ZP.div(i||(i=(0,q.Z)(["\n height: 60px;\n width: 200px;\n background-color: #ebf7ff;\n display: flex;\n justify-content: flex-start;\n align-items: center;\n border-radius: 5px;\n padding: 15px;\n cursor: pointer;\n margin: 3px 0;\n ","\n"])),function(e){var t=e.color,n=e.backgroundColor,r=e.fontWeight,i=e.border;return"\n color: ".concat(t,";\n background-color: ").concat(n,";\n font-weight: ").concat(r,";\n border: ").concat(i,";\n ")}),ep=V.ZP.div(o||(o=(0,q.Z)(["\n height: 40px;\n width: 40px;\n min-width: 40px;\n text-align: center;\n line-height: 40px;\n border-radius: 40px;\n border: 1px solid #b9d8f0;\n background-color: white;\n font-weight: bold;\n color: #31393f;\n"]))),eh=V.ZP.p(a||(a=(0,q.Z)(["\n margin: 0 0 0 5px;\n"])));function ef(e){var t=e.stageNumber,n=e.title,r=e.active,i=e.visited,o=e.handleClick,a=e.hasError,s="#999999",c="#F0F8FE",l="400",d="1px solid #999999";return r?a?(s="#FFFFFF",c="#D75757",l="700",d="2px solid #313131"):(s="#FFFFFF",c="#2A6FBE",l="700",d="2px solid #313131"):i&&(a?(s="#1A1A1A",c="#F1C0C0",l="700",d="1px solid #313131"):(s="#31393F",c="#C3E3FC",l="400",d="1px solid #313131")),(0,er.jsxs)(eu,{color:s,backgroundColor:c,fontWeight:l,border:d,onClick:o,"data-testid":"stage-".concat(ed()(n)),children:[(0,er.jsx)(ep,{children:a?(0,er.jsx)(es.G,{icon:ec.eHv,color:"red",title:"Some additional fields require your attention."}):t}),(0,er.jsx)(eh,{children:n})]})}var em=V.ZP.div(s||(s=(0,q.Z)(["\n width: 824px;\n max-width: 100%;\n"])));function eb(e){var t=e.currentStage,n=e.setFormStage,r=e.errors,i=e.isNew,o=e.visited,a=e.schemas,s=function(e){i||n(e)};return(0,er.jsx)(em,{children:(0,er.jsx)(ea.ZP,{cols:4,children:(0,er.jsx)(ea.ZP.Row,{collapse:"992",gutter:[],children:null==a?void 0:a.map(function(e,n){return(0,er.jsx)(ea.ZP.Col,{children:(0,er.jsx)(ef,{title:e.stepText,stageNumber:n+1,active:n===t,hasError:!!r[n],visited:o[n],handleClick:function(){return s(n)}},n)},e.stepText)})})})})}var ev=n(56483),eg=n(76427),ey=n.n(eg),ej=n(11915),ex=n(30996),eO=n(35611);function ew(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 eP(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"",n=function(e){switch(e){case"checkbox":return"checked";case"file":return"files";default:return"value"}}(t);return function(r){var i=r.value,o=r.onChange,a=r.label,s=r.schema,c=r.options,l=r.required,d=r.disabled,u=r.onBlur,p=r.id,h=void 0===p?"":p,f=r.readonly,m=s.pattern,b=s.minLength,v=s.maxLength,g=s.placeholder,y=s.fullWidth,j=s.rows,x=c.enumOptions,O=void 0===x?[]:x,w={onChange:function(e){var t=e.target[n];""===t&&(t=void 0),"true"===t&&(t=!0),"false"===t&&(t=!1),o(t)},label:a,name:name,maxLength:v,id:h,required:l,disabled:d,minLength:b,type:t,pattern:m,onBlur:u,fullWidth:y,rows:j,readOnly:f,value:i||"",placeholder:g,checked:void 0!==i&&i};return("file"===t&&delete w.value,"checkbox"===t&&(w.value=!0),"radio"===t)?(0,er.jsxs)("div",{children:[(0,er.jsx)("label",{children:a}),O.map(function(t){return(0,er.jsx)(e,eP(eP({},w),{},{label:t.label,value:t.value,checked:t.value===i,style:{padding:"2px 0"},size:"small",readOnly:f,onBlur:u}),t.value)})]}):(0,er.jsx)(e,eP(eP({},w),{},{onBlur:u&&function(e){return u(h,e.target.value)},children:O&&O.map(function(e){var t=e.value,n=e.label;return(0,er.jsx)("option",{value:t,children:n},t)})}))}},eC=n(58766);function eZ(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 ek(e){for(var t=1;t=u&&(0,er.jsx)(eX,{onClick:e.onDropIndexClick(e.index),children:(0,er.jsx)(es.G,{style:{color:"red"},icon:ec.uMC,title:"Remove Item"})})]})},e.index)}),"prod"===d?(0,er.jsxs)(e3,{children:["*Note: wildcard* redirect URIs are ",(0,er.jsx)("strong",{children:"not"})," allowed in Prod for security reasons."]}):(0,er.jsxs)(e3,{children:["*Note: wildcard* redirect URIs are ",(0,er.jsx)("strong",{children:"only"})," allowed in ",(0,er.jsx)("strong",{children:"Dev"})," and"," ",(0,er.jsx)("strong",{children:"Test"})," environments (but not in Prod for security reasons)."]}),e.canAdd&&(0,er.jsxs)(eQ,{onClick:e.onAddClick,children:[(0,er.jsx)(es.G,{style:{color:"#006fc4"},icon:ec.KtF,onClick:e.onAddClick,title:"Add Item","data-testid":"add-uri"}),(0,er.jsx)(e0,{children:l})]})]})}var e6=n(35166),e5=n(94026),e9=n(4136),e4=n(36063),e7=n(37112),e8=n(97644),te=n.n(e8),tt=n(92109),tn=n(18269);function tr(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 ti(e){for(var t=1;t input {\n margin-right: 5px;\n }\n"]))),tb=function(e){var t=e.id,n=e.value,r=e.onChange,i=e.onBlur,o=e.schema;e.formContext;var a=o.enum,s=o.enumNames,c=(0,z.useState)(!1),l=c[0],d=c[1];return(0,er.jsxs)("div",{children:[s.map(function(e,o){return(0,er.jsxs)(tm,{children:[(0,er.jsx)("input",{type:"radio",id:"".concat(t,"-").concat(e),name:t,value:e,checked:a[o]===n,onChange:function(){return r(a[o])},onBlur:function(){return i(t,n)}}),(0,er.jsx)("label",{htmlFor:"".concat(t,"-").concat(e),children:e})]},e)}),(0,er.jsxs)("div",{children:[(0,er.jsx)(tp.default,{onClick:function(){return d(!0)},style:{cursor:"pointer"},children:"Click here"})," ","to get help deciding which client type to use."]}),(0,er.jsx)(tf,{id:"client-helper",open:l,onChange:function(e){d(!1),"cancel"!==e&&r("public"===e)}})]})},tv=V.ZP.span(O||(O=(0,q.Z)(["\n & input {\n height: 1.94rem;\n max-width: 3.125rem;\n }\n"]))),tg=V.ZP.div(w||(w=(0,q.Z)(["\n display: flex;\n flex-direction: row;\n column-gap: 0.5em;\n"]))),ty=V.ZP.span(P||(P=(0,q.Z)(["\n display: inline-block;\n\n & select {\n width: 100px;\n }\n\n & select:disabled {\n margin: 0;\n }\n"]))),tj=function(e){var t=e.id,n=e.value,r=void 0===n?0:n,i=e.label,o=e.readonly,a=e.onChange,s=(e.onBlur,e.schema);e.formContext,o&&(a=eE()),s.tooltipContent;var c=(0,z.useState)(0),l=c[0],d=c[1],u=(0,z.useState)("Minutes"),p=u[0],h=u[1],f=function(e){if(0===e){d(0),h("Minutes");return}var t=e,n="Seconds";t%60==0&&(n="Minutes",t/=60),t%60==0&&(n="Hours",t/=60),t%24==0&&(n="Days",t/=24),d(t),h(n)};return(0,z.useEffect)(function(){f(r)},[r]),(0,er.jsxs)(tg,{children:[(0,er.jsx)(tv,{children:(0,er.jsx)(ej.default,{type:"text",size:"small",id:t,name:i,value:l.toString(),onChange:function(e){var t=parseInt(e.target.value);isNaN(t)&&(t=0);var n=t;"Minutes"===p?n*=60:"Hours"===p?n*=3600:n*=86400,n>31536e3&&(n=31536e3),a(n),d(t)},disabled:o})}),(0,er.jsx)(ty,{children:(0,er.jsxs)(eO.default,{size:"small",onChange:function(e){var t=e.target.value,n=0;(n="Minutes"===t?60*l:"Hours"===t?3600*l:86400*l)>31536e3&&(n=31536e3),a(n),h(t)},value:p,disabled:o,children:[(0,er.jsx)("option",{children:"Minutes"}),(0,er.jsx)("option",{children:"Hours"}),(0,er.jsx)("option",{children:"Days"})]})})]})};function tx(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}var tO=function(e){var t=e.options,n=e.value,r=e.required,i=e.disabled,o=e.readonly,a=e.autofocus,s=void 0!==a&&a,c=e.onBlur,l=e.onFocus,d=e.onChange,u=e.id,p=e.schema,h=Math.random().toString(),f=t.enumOptions,m=t.enumDisabled,b=t.inline,v=p.tooltips,g=Array.isArray(f)?f:[],y=Array.isArray(m)?m:[];return(0,er.jsx)("div",{className:"field-radio-group",id:u,children:g.map(function(e,t){var a=e.value===n,p=-1!==y.indexOf(e.value),f=i||p||o?"disabled":"",m=(0,er.jsxs)("span",{children:[(0,er.jsx)("input",{type:"radio",checked:a,name:h,required:r,value:e.value,disabled:i||p||o,autoFocus:s&&0===t,onChange:function(t){return d(e.value)},onBlur:c&&function(e){return c(u,e.target.value)},onFocus:l&&function(e){return l(u,e.target.value)}}),(0,er.jsx)("span",{children:e.label}),"\xa0",v[t]&&(0,er.jsx)(eq.Z,function(e){for(var t=1;t\n Only the person who is responsible for this project should be submitting the integration request.\xa0\n If you are not the one accountable, please refer this request to a team member who will be accountable for this project.\n

"},default:!0},tG={type:"array",items:{type:"string",enum:["livingInBC","businessInBC","bcGovEmployees","other"],enumNames:["People living in BC","People doing business/travel in BC","BC Gov Employees","Other"]},uniqueItems:!0,title:"Who are the primary end users of your project/application? (select all that apply)"};function tK(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,r=t.map(function(e){return e.name});r.unshift("Select...");var i=t.map(function(e){return String(e.id)});i.unshift("");var o=t.length>0;return{type:"object",customValidation:["createTeam","projectName","projectLead"],headerText:"Enter requester information",stepText:"Requester Info",properties:tH(tH({projectName:{type:"string",title:"Project Name",maxLength:50},primaryEndUsers:tG},(null===(e=n.primaryEndUsers)||void 0===e?void 0:e.includes("other"))&&{primaryEndUsersOther:{type:"string",title:"Project Name",maxLength:100,placeholder:"Enter Details",rows:3}}),{},{usesTeam:{type:"boolean",title:"Project Team",description:"Would you like to allow multiple members to manage this integration?",default:!1}}),required:["projectName"],dependencies:{usesTeam:{oneOf:[{properties:{usesTeam:{enum:[!1]},projectLead:tV}},{properties:tH(tH({usesTeam:{enum:[!0]}},o&&{teamId:{type:"string",title:"Project Team",enum:i,enumNames:r}}),{},{createTeam:{type:"string"}})}]},projectLead:{oneOf:[{properties:{projectLead:{enum:[!0]}},required:["projectLead"]},{properties:{projectLead:{enum:[!1]}}}]}}}}var tY={type:"object",required:["agreeWithTerms"],headerText:"Terms and Conditions",stepText:"Terms and Conditions",properties:{agreeWithTerms:{type:"boolean",title:"I agree to the Terms and Conditions",default:null,enum:[null,!0]}}},t$=n(4602),tJ=n(11752),tQ=n.n(tJ),tX=n(34155),t0=(tQ()()||{}).publicRuntimeConfig,t1=void 0===t0?{}:t0,t3=t1.include_digital_credential,t2=t1.include_bc_services_card,t6=t1.allow_bc_services_card_prod;function t5(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{isAdmin:!0},r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=e.protocol,a=e.authType,s=e.status,c="true"===t6||"true"===tX.env.ALLOW_BC_SERVICES_CARD_PROD,l="true"===t2||"true"===tX.env.INCLUDE_BC_SERVICES_CARD;null!==(t=e.environments)&&void 0!==t&&t.includes("prod")&&!c&&(l=!1);var d=(0,e9.e$)(e),u={type:"string",title:"Select Client Protocol",enum:["oidc","saml"],enumNames:["OpenID Connect","SAML"],tooltip:{content:"The OpenID Connect (OIDC) client protocol is recommended."},tooltips:[null,{content:'To read more about SAML configuration options and limitations, see here.'),hide:3e3}]},p={type:"string",title:"Please select privacy zone",enum:null==r?void 0:r.map(function(e){return e.privacy_zone_uri||[]}),enumNames:null==r?void 0:r.map(function(e){return e.privacy_zone_name||[]})},h={protocol:u},f=[];if("oidc"===o&&(h.authType={type:"string",title:"Select Usecase",enum:["browser-login","service-account","both"],enumNames:["Browser Login","Service Account","Browser Login and Service Account"],tooltip:"applied"===s?null:{content:"Note that once this is submitted, you will not be able to update and rather will need to create a new integration."},tooltips:[{content:"This enables standard OpenID Connect redirect based authentication with authorization code. In terms of OpenID Connect or OAuth2 specifications, this enables support of 'Authorization Code Flow' for this client."},{content:"This allows you to authenticate this client to Keycloak and retrieve access token dedicated to this client. In terms of OAuth2 specification, this enables support of 'Client Credentials Grant' for this client."},{content:"This enables 'Browser Login' and 'Service Account' both."}]},"browser-login"===a&&(h.publicAccess={type:"boolean",title:"Select Client Type",enum:[!0,!1],enumNames:["Public","Confidential"]}),f.push("publicAccess")),"service-account"!==a){var m=["idir","azureidir","bceidbasic","bceidbusiness","bceidboth","githubpublic","githubbcgov"];("true"===t3||"true"===tX.env.INCLUDE_DIGITAL_CREDENTIAL)&&m.push("digitalcredential"),l&&m.push("bcservicescard");var b=m.map(function(e){return t$.S[e]});h.devIdps={type:"array",minItems:1,title:"Choose Identity Provider(s)",items:{type:"string",enum:m,enumNames:b},tooltips:m.map(function(e){return"azureidir"===e?{content:'\n To learn the difference between IDIR and IDIR with MFA,\n \n please visit our GitHub page about choosing an Identity Provider\n \n '),hide:3e3}:"digitalcredential"===e?{content:'To learn more about using the Digital Credential option visit our additional information.'),hide:3e3,alpha:!0}:"bcservicescard"===e?{content:'To learn more about using the BC Services Card option visit our additional information.'),hide:3e3,alpha:!0}:null}),uniqueItems:!0,tooltip:{content:"The identity providers you add will let your users authenticate with those services."}}}return d&&l&&(h.bcscPrivacyZone=p,h.bcscAttributes={type:"array",title:"Please select attribute(s)",items:{type:"string",enum:null==i?void 0:i.map(function(e){return e.name}),enumNames:null==i?void 0:i.map(function(e){return e.name})},uniqueItems:!0,tooltip:{content:"We will provide a separate client for each attribute you can select. Select the attributes required for your project."}}),h.environments={type:"array",minItems:1,title:"Choose Environment(s)",items:{type:"string",enum:["dev","test","prod"],enumNames:["Development","Test","Production"]},uniqueItems:!0,tooltip:{content:"We will provide a separate client for each environment you can select. Select the environments required for your project."}},!c&&d&&(h.environments.items={type:"string",enum:["dev","test"],enumNames:["Development","Test"]}),"saml"!==o&&(h.additionalRoleAttribute={type:"string",title:"Additional Role Attribute(optional)",tooltip:{content:'By default "client_roles" is the default attribute key name to include roles info, if you wish to include same info in another attribute, then use this.'},maxLength:50}),"saml"===o&&n.isAdmin&&(h.clientId={type:"string",title:"As SSO Admin. you can override the client id",tooltip:{content:"The client id should be a string without any spaces"},maxLength:250}),{type:"object",customValidation:["additionalRoleAttribute","clientId","devIdps","authType","bcscPrivacyZone","bcscAttributes"],headerText:"Choose providers",stepText:"Basic Info",properties:h,required:f}}function t9(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 t4(e){for(var t=1;t1?0:1},default:[""],addItemText:"Add another URI"};t4(t4({},t8),{},{title:"Test Redirect URIs"}),t4(t4({},t8),{},{title:"Prod Redirect URIs"});var ne='valid URI '),nt=t4(t4({},t8),{},{description:"You can use any ".concat(ne,' for your redirect URIs. We recommend only using your client for one application.'),title:"Dev Redirect URIs",tooltip:{content:"At least one redirect URI is required for each of DEV, TEST and PROD. If you don't know the redirect URI for one or\n more of these environments, you may provide any valid URI for now and change it later. We suggest something like\n 'http://localhost:1000'."}}),nn=V.ZP.div(D||(D=(0,q.Z)(["\n margin-top: var(--field-top-spacing);\n display: inline-block;\n"]))),nr=V.ZP.legend(I||(I=(0,q.Z)(["\n font-weight: bold;\n font-size: 1rem;\n margin: 0;\n"]))),ni=V.ZP.p(T||(T=(0,q.Z)(["\n font-style: italic;\n font-size: 0.9rem;\n margin-top: 0.7rem;\n font-weight: normal;\n"]))),no=(0,er.jsx)(nn,{children:(0,er.jsxs)(nr,{children:["Additional Settings (Optional)\xa0",(0,er.jsxs)(ni,{children:["*If you would like to configure the Additional Settings, or have any questions,"," ",(0,er.jsx)(tp.default,{href:"mailto:bcgov.sso@gov.bc.ca",children:"please contact the Pathfinder SSO Team"}),"."]})]})}),na=n(34155);function ns(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 nc(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"oidc";if(e.length===t.length)return t;var o=e.length1&&void 0!==arguments[1]&&arguments[1];if(!e||0===e.length)return[];var n=e.map(en());return t&&(n=n.filter(function(e){return e})),0===n.length&&n.push(""),n},nV=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.dropEmptyRedirectUris,r=void 0!==n&&n,i=nH(e.devValidRedirectUris,r),o=nH(e.testValidRedirectUris,r),a=nH(e.prodValidRedirectUris,r);return nB(nB({},e),{},{devValidRedirectUris:i,testValidRedirectUris:o,prodValidRedirectUris:a})},nG=(0,e4.hU)(function(e){var t,n,r,i,o,a,s,c,l=e.currentUser,d=e.request,u=e.alert,p=(0,H.useRouter)(),h=p.query.step,f=h?Number(h):0,m=(0,z.useState)(d||{}),b=m[0],v=m[1],g=(0,z.useState)(f),y=g[0],j=g[1],x=(0,z.useState)(!1),O=x[0],w=x[1],P=(0,z.useState)(""),S=P[0],C=P[1],Z=(0,z.useState)(!1),k=Z[0],D=Z[1],I=(0,z.useState)({}),T=I[0],A=I[1],E=(0,z.useState)(d?{0:!0}:{}),N=E[0],F=E[1],R=(0,z.useState)([]),L=R[0],B=R[1],q=(0,z.useState)([]),_=q[0],V=q[1],G=(0,z.useState)((0,tn.S2)()),Y=G[0],J=G[1],X=(0,z.useState)((0,tn.K_)()),ee=X[0],et=X[1],en=(0,z.useState)(!1),ei=en[0],ea=en[1],es=(0,z.useContext)(nL.SurveyContext),ec=K()(null==d?void 0:d.id),el=(null==d?void 0:d.status)==="applied",ed=l.isAdmin||!1,eu=0!==y||b.usesTeam||b.projectLead,ep=y===_.length-1,eh=_[y]||{},ef=(0,z.useCallback)($()((t=(0,M.Z)(W().mark(function e(t){var n;return W().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(ec||el)){e.next=2;break}return e.abrupt("return");case 2:if(!d){e.next=11;break}return D(!0),e.next=6,(0,nR.WN)(nB(nB({},t),{},{id:d.id}));case 6:n=e.sent,(0,U.Z)(n,2)[1]||C("Last saved at ".concat(new Date().toLocaleString())),D(!1);case 11:case"end":return e.stop()}},e)})),function(e){return t.apply(this,arguments)}),2e3,{trailing:!0}),[null==d?void 0:d.id]),em=(n=(0,M.Z)(W().mark(function e(){var t,n,r,i;return W().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=ec?e7.Dc:e7.l8,e.next=3,t();case 3:n=e.sent,i=(r=(0,U.Z)(n,2))[0],r[1]?u.show({variant:"danger",content:"Failed to load teams. Please refresh."}):B(i||[]);case 8:case"end":return e.stop()}},e)})),function(){return n.apply(this,arguments)}),ev=(r=(0,M.Z)(W().mark(function e(){var t,n,r,i;return W().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,nU.k)();case 2:r=e.sent,(i=(0,U.Z)(r,1)[0])&&(null===(t=i)||void 0===t?void 0:t.length)>0&&(i=null===(n=i)||void 0===n?void 0:n.sort(function(e,t){return e.privacy_zone_name.localeCompare(t.privacy_zone_name)})),J(i||[]);case 7:case"end":return e.stop()}},e)})),function(){return r.apply(this,arguments)}),eg=(i=(0,M.Z)(W().mark(function e(){var t,n,r,i;return W().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,nU.A)();case 2:r=e.sent,(i=(0,U.Z)(r,1)[0])&&(null===(t=i)||void 0===t?void 0:t.length)>0&&(i=null===(n=i)||void 0===n?void 0:n.sort(function(e,t){return e.name.localeCompare(t.name)})),et(i||[]);case 7:case"end":return e.stop()}},e)})),function(){return i.apply(this,arguments)}),ey=function(){V(nu({integration:d,formData:b,teams:L,isAdmin:ed,bcscPrivacyZones:Y,bcscAttributes:ee}))};(0,z.useEffect)(function(){em(),ev(),eg()},[]),(0,z.useEffect)(function(){b.primaryEndUsers&&!b.primaryEndUsers.includes("other")&&v(nB(nB({},b),{},{primaryEndUsersOther:""}))},[JSON.stringify(b.primaryEndUsers)]),(0,z.useEffect)(function(){ey()},[b,y,L]);var ej=function(e){if(N[y]=!0,e===_.length-1)for(var t=0;t<_.length;t++)N[t]=!0;var n=nV(b,{dropEmptyRedirectUris:!0});A((0,e5.G$)(b,_,N)),j(e),v(n),F(N),u.hide()},ex=function(){p.push({pathname:ed?"/admin-dashboard":"/my-dashboard"})},eO=nN({integration:d,formData:b,isAdmin:ed}),ew=(o=(0,M.Z)(W().mark(function e(){var t,n,r,i,o,a,s;return W().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!O){e.next=2;break}return e.abrupt("return");case 2:if(w(!0),e.prev=3,!ec){e.next=27;break}return b.serviceType="gold",b.realm="standard",b.environments=["dev"],e.next=10,(0,nR.hG)(b);case 10:if(t=e.sent,r=(n=(0,U.Z)(t,2))[0],i=n[1],o=(r||{}).id,i&&u.show({variant:"danger",fadeOut:5e3,closable:!0,content:"Failed to submit request. Please try again."}),!(i||!o)){e.next=19;break}return w(!1),e.abrupt("return");case 19:return a="",s={},ed&&el?a="/admin-dashboard":(a="/request/".concat(o),s.step=1),e.next=24,p.push({pathname:a,query:s});case 24:v(nB(nB({},b),{},{id:o})),e.next=30;break;case 27:return e.next=29,(0,nR.WN)(b);case 29:eS();case 30:e.next=35;break;case 32:e.prev=32,e.t0=e.catch(3),console.error(e.t0);case 35:w(!1);case 36:case"end":return e.stop()}},e,null,[[3,32]])})),function(){return o.apply(this,arguments)}),eP=(a=(0,M.Z)(W().mark(function e(){var t,n,r;return W().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,nR.WN)(b,!0);case 3:t=e.sent,r=(n=(0,U.Z)(t,2))[0],n[1]?u.show({variant:"danger",fadeOut:1e4,closable:!0,content:"Failed to submit request. Please try again."}):(u.show({variant:"success",fadeOut:1e4,closable:!0,content:"Request ID:".concat(Q()(String(b.id),8,"0")," is successfully submitted!")}),p.push({pathname:ed?"/admin-dashboard":"/my-dashboard",query:{id:r.id,integrationFailedMessageModal:["planFailed","applyFailed"].includes(r.status),requestId:Q()(String(r.id),8,"0")}}),null==es||es.setShowSurvey(!0,"createIntegration")),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),console.error(e.t0);case 13:case"end":return e.stop()}},e,null,[[0,10]])})),function(){return a.apply(this,arguments)}),eS=(s=(0,M.Z)(W().mark(function e(){return W().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:ec&&0===y?(N[y]=!0,F(N)):ep?eC():ej(y+1);case 1:case"end":return e.stop()}},e)})),function(){return s.apply(this,arguments)}),eC=function(){var e=(0,e5.G$)(b,_);Object.keys(e).length>0?(u.show({variant:"danger",fadeOut:1e4,closable:!0,content:"There were errors with your submission. Please see the navigation tabs above for the form pages with errors."}),A(e)):ea(!0)},eZ=el?(0,er.jsx)(nF,{onConfirm:ex}):null,ek={continue:"",back:""},eD=null===(c=b.devIdps)||void 0===c?void 0:c.includes("digitalcredential");return(ep?(ek.continue=el?"Update":"Submit",ek.back=el?"Cancel":"Save and Close"):0===y&&ec?(ek.continue="Next",ek.back=el?"Cancel":"Close"):(ek.continue="Next",ek.back=el?"Cancel":"Save and Close"),0===_.length)?null:(0,er.jsxs)(er.Fragment,{children:[(0,er.jsxs)(n_,{children:[(0,er.jsx)(eo,{schema:eh,requestId:b.id,editing:el}),(0,er.jsx)(eb,{currentStage:y,setFormStage:ej,errors:T,isNew:ec,visited:N,schemas:_}),(0,er.jsxs)(nq,{children:["If new to SSO, please"," ",(0,er.jsx)(tp.default,{external:!0,href:"".concat(tn.UN,"/category/integrating-your-application"),children:"click to learn more on our wiki page"}),"."]})]}),(0,er.jsx)(eT,{schema:eh,uiSchema:eO,onChange:function(e){var t=nV(e.formData),n=nW((null==b?void 0:b.devIdps)||[],t.devIdps||[],"applied"===b.status,b.bceidApproved,b.protocol),r=!b.usesTeam&&!0===t.usesTeam,i=!0===t.bceidApproved&&nz(t.devIdps);b.protocol!==t.protocol&&n.length>1&&(n=[]);var o=nB(nB({},t),{},{devIdps:n});"saml"!==t.protocol&&(b.protocol!==t.protocol&&(o.clientId=""),o.devSamlLogoutPostBindingUri="",o.testSamlLogoutPostBindingUri="",o.prodSamlLogoutPostBindingUri=""),"saml"===t.protocol&&((0,e9.S3)(t)||(0,e9.e$)(t))&&(o.devIdps=[]),"browser-login"!==t.authType&&(o.publicAccess=!1),r&&!0===o.projectLead&&!ec&&(o.projectLead=!1),i&&(o.bceidApproved=!1),v(o),ef(o)},onSubmit:ew,formData:b,formContext:{isAdmin:ed,teams:L,formData:b,setFormData:v,loadTeams:em,bcscPrivacyZones:Y},FieldTemplate:eH,ArrayFieldTemplate:e2,liveValidate:N[y]||el,validate:e5.Mr,children:eu?(0,er.jsx)(eM,{formSubmission:ec&&0===y,backButton:eZ,text:ek,loading:O,handleSubmit:eS,handleBackClick:ex,savingStatus:{saving:k,content:S}}):(0,er.jsx)(er.Fragment,{})}),(0,er.jsx)(e6.Z,{id:"confirmation-modal",openModal:ei,handleClose:function(){return ea(!1)},content:(0,er.jsxs)(er.Fragment,{children:[(0,er.jsx)("p",{children:"Are you sure you're ready to submit your request?"}),eD&&(0,er.jsxs)("p",{children:["You will need to engage with DIT to learn about the Digital Credential Configuration ID. You can contact them at ",(0,er.jsx)(tp.default,{href:"mailto:ditp.support@gov.bc.ca",children:"ditp.support@gov.bc.ca"}),"."]}),!ed&&(0,er.jsxs)("p",{children:["If you need to change anything after submitting your request, please contact our"," ",(0,er.jsx)(tp.default,{external:!0,href:"https://chat.developer.gov.bc.ca/channel/sso/",children:"#SSO channel"})," ","or email ",(0,er.jsx)(tp.default,{href:"mailto:bcgov.sso@gov.bc.ca",children:"bcgov.sso@gov.bc.ca"})]})]}),title:"Submitting Request",onConfirm:eP})]})})},92109:function(e,t,n){var r,i=n(16835),o=n(50029),a=n(71383),s=n(87794),c=n.n(s),l=n(67294),d=n(11915),u=n(71893),p=n(37112),h=n(42894),f=n(36063),m=n(65363),b=n(87266),v=n(29207),g=n(85893),y=u.ZP.div(r||(r=(0,a.Z)(["\n display: flex;\n justify-content: space-between;\n margin-top: 20px;\n & button {\n min-width: 180px;\n }\n"]))),j={idirEmail:"",role:"member",id:new Date().getTime()};t.Z=(0,f.hU)(function(e){var t,n=e.onSubmit,r=e.alert,a=e.setOpenCreateTeamModal,s=((0,l.useContext)(v.SessionContext)||{}).session,u=(0,l.useState)([j]),f=u[0],x=u[1],O=(0,l.useState)(""),w=O[0],P=O[1],S=(0,l.useState)(!1),C=S[0],Z=S[1],k=(0,l.useState)(null),D=k[0],I=k[1],T=(t=(0,o.Z)(c().mark(function e(){var t,o,l,d,u,h,m,v;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t={name:w,members:f},o=(0,b.p)(t,s.email),d=(l=(0,i.Z)(o,2))[0],u=l[1],!d){e.next=5;break}return e.abrupt("return",I(u));case 5:return Z(!0),e.next=8,(0,p.Cm)(t);case 8:if(h=e.sent,v=(m=(0,i.Z)(h,2))[0],m[1]?r.show({variant:"danger",fadeOut:1e4,closable:!0,content:"Failed to create team. Please try again."}):r.show({variant:"success",fadeOut:1e4,closable:!0,content:"Team ".concat(w," successfully created")}),!v){e.next=16;break}return e.next=16,n(v.id);case 16:x([j]),P(""),Z(!1),I(null),a(!1);case 21:case"end":return e.stop()}},e)})),function(){return t.apply(this,arguments)});return(0,g.jsxs)("div",{children:[(0,g.jsx)(d.default,{label:"Team Name",onChange:function(e){P(e.target.value)},maxLength:"255","data-testid":"team-name",value:w}),D&&D.name&&(0,g.jsx)(m.Z,{children:null==D?void 0:D.name}),(0,g.jsx)("br",{}),(0,g.jsx)("strong",{children:"Team Members"}),(0,g.jsx)(b.Z,{errors:D,members:f,setMembers:x,currentUser:s}),(0,g.jsxs)(y,{children:[(0,g.jsx)("button",{className:"secondary",onClick:function(){x([j]),P(""),Z(!1),I(null),a(!1)},children:"Cancel"}),(0,g.jsx)("button",{className:"primary",type:"button",onClick:T,"data-testid":"send-invitation",children:C?(0,g.jsx)(h.rj,{color:"#FFF",height:18,width:50,visible:C}):"Send Invitation"})]})]})})},87266:function(e,t,n){n.d(t,{p:function(){return q}});var r,i,o,a,s,c,l,d,u,p,h=n(59499),f=n(27812),m=n(71383);n(67294);var b=n(11915),v=n(35611),g=n(71893),y=n(48966),j=n.n(y),x=n(99603),O=n(59417),w=n(65363),P=n(74150),S=n(18269),C=n(35685),Z=n(17769),k=n(85893);function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function I(e){for(var t=1;t .select-inner__control {\n padding: 0.13em 0;\n border: 2px solid #606060;\n visibility: inherit;\n\n &:focus-within {\n outline: 4px solid #3b99fc !important;\n outline-offset: 2px !important;\n }\n }\n"]))),L=(0,g.ZP)(x.G)(l||(l=(0,m.Z)(["\n align-self: center;\n color: red;\n cursor: pointer;\n"]))),U=(0,g.ZP)(x.G)(d||(d=(0,m.Z)(["\n padding: 3px;\n border-radius: 25px;\n border-style: solid;\n border-color: black;\n border-width: thin;\n"]))),M=(0,g.ZP)(x.G)(u||(u=(0,m.Z)(["\n padding: 3px;\n border-radius: 25px;\n border-style: solid;\n border-color: black;\n border-width: thin;\n color: white;\n background-color: black;\n"]))),B=g.ZP.p(p||(p=(0,m.Z)(["\n font-style: italic;\n font-size: 0.95em;\n"]))),q=function(e,t){var n={name:null,members:[]};return e.name||(n.name="Please enter a name"),e.members.forEach(function(r,i){r.idirEmail?j().isEmail(r.idirEmail)?(e.members.filter(function(e){return e.idirEmail===r.idirEmail}).length>1||r.idirEmail===t)&&(n.members[i]="Please use unique email"):n.members[i]="Please enter a valid email":n.members[i]="Please enter an email"}),[n.name||n.members.length>0,n]};t.Z=function(e){var t=e.errors,n=e.members,r=e.setMembers,i=e.allowDelete,o=void 0===i||i,a=e.currentUser,s=void 0===a?null:a,c=function(e,t){var i=I({},n[t]);i.idirEmail=(null==e?void 0:e.label.toLowerCase())||"";var o=(0,f.Z)(n);o[t]=i,r(o)},l=function(e,t){var i=I({},n[e]);i.role=t.target.value;var o=(0,f.Z)(n);o[e]=i,r(o)},d=function(e){r(n.filter(function(t,n){return n!==e}))};return(0,k.jsxs)("div",{children:[(0,k.jsxs)("p",{children:["Enter your team member’s government email address and they will be sent an invitation to join the project. Once they accept the invitation, they will have access to your project. Their invitation will expire in"," ",(0,k.jsx)("strong",{children:"2 business days"}),"."]}),(0,k.jsxs)("p",{children:[(0,k.jsx)("span",{className:"strong",children:"Roles:"}),(0,k.jsx)("br",{}),(0,k.jsxs)("div",{children:[(0,k.jsx)("span",{children:(0,k.jsx)(M,{icon:O.Tab})}),"\xa0\xa0",(0,k.jsx)("span",{className:"underline",style:{verticalAlign:"top"},children:"Admins"}),(0,k.jsxs)("span",{style:{verticalAlign:"top"},children:["\xa0have ",(0,k.jsx)("b",{children:"managing"})," powers"]})]}),(0,k.jsxs)("div",{children:[(0,k.jsx)("span",{children:(0,k.jsx)(U,{icon:O.Tab})}),"\xa0\xa0",(0,k.jsx)("span",{className:"underline",style:{verticalAlign:"top"},children:"Members"}),(0,k.jsxs)("span",{style:{verticalAlign:"top"},children:["\xa0have ",(0,k.jsx)("b",{children:"viewing"})," powers"]})]}),(0,k.jsx)("br",{}),(0,k.jsx)("div",{children:(0,k.jsx)("span",{className:"underline",children:(0,k.jsx)(P.default,{external:!0,href:(0,S.eO)("CSS-App-My-Teams#ive-created-a-team-now-what"),children:"View a detailed breakdown of roles on our wiki page"})})})]}),(0,k.jsxs)(F,{children:[(0,k.jsxs)(T,{children:[(0,k.jsx)("strong",{children:"Member"}),(0,k.jsx)("strong",{children:"Role"}),(0,k.jsx)(E,{})]}),(0,k.jsx)(B,{children:"*Please enter email address tied to an IDIR to allow your user to login"}),s&&(0,k.jsxs)(R,{children:[(0,k.jsx)(b.default,{value:(null==s?void 0:s.email)||"",readOnly:!0,fullWidth:!0}),(0,k.jsx)(A,{label:"Role",disabled:!0,value:"admin",readOnlyRole:!0,children:(0,k.jsx)("option",{value:"admin",children:"Admin"})})]}),n.map(function(e,n){return(0,k.jsxs)(R,{children:[(0,k.jsxs)("div",{children:[(0,k.jsx)(C.Z,{loadOptions:Z.c,onChange:function(e){return c(e,n)},noOptionsMessage:function(){return"Start typing email..."},className:"email-select",menuPlacement:"top",maxMenuHeight:120,classNamePrefix:"select-inner",placeholder:"Enter email address"}),t&&t.members&&t.members[n]&&(0,k.jsx)(w.Z,{children:t.members[n]})]}),(0,k.jsxs)(A,{label:"Role",onChange:function(e){return l(n,e)},value:e.role,"data-testid":"user-role",children:[(0,k.jsx)("option",{value:"member",children:"Member"}),(0,k.jsx)("option",{value:"admin",children:"Admin"})]}),n>=0&&o&&(0,k.jsx)(L,{icon:O.uMC,onClick:function(){return d(n)},title:"Delete","data-testid":"delete-user-role"})]},e.id)}),(0,k.jsxs)(N,{onClick:function(){r([].concat((0,f.Z)(n),[{idirEmail:"",role:"member",id:new Date().getTime(),pending:!0}]))},children:[(0,k.jsx)(x.G,{style:{color:"#006fc4"},icon:O.KtF,title:"Add Item","data-testid":"add-user-role"}),(0,k.jsx)("span",{children:"Add another team member"})]})]})]})}},4602:function(e,t,n){n.d(t,{S:function(){return r}});var r={idir:"IDIR",azureidir:"IDIR - MFA",bceidbasic:"Basic BCeID",bceidbusiness:"Business BCeID",bceidboth:"Basic or Business BCeID",githubbcgov:"GitHub BC Gov",githubpublic:"GitHub",digitalcredential:"Digital Credential",bcservicescard:"BC Services Card"}},35927:function(e,t,n){n.d(t,{F:function(){return r}});var r={"browser-login":"Browser Login","service-account":"Service Account",both:"Browser Login & Service Account"}},26055:function(e,t,n){n.d(t,{Z:function(){return m}});var r,i,o,a=n(71383);n(67294);var s=n(71893),c=n(74150),l=n(12183),d=n(18269),u=n(85893),p=s.ZP.ul(r||(r=(0,a.Z)(["\n & li {\n margin: 0;\n }\n"]))),h=s.ZP.li(i||(i=(0,a.Z)(["\n &&& {\n margin-left: 20px;\n }\n"]))),f=s.ZP.div(o||(o=(0,a.Z)(["\n margin-top: ",";\n"])),l.SI);function m(){var e=(0,d.eO)();return(0,u.jsxs)(f,{children:[(0,u.jsx)("h2",{children:"Requirements"}),(0,u.jsxs)(p,{children:[(0,u.jsx)("li",{children:"Keep your email address active, and if you are not using your integration, clean it up"}),(0,u.jsxs)("li",{children:["If you are not using your client app configuration,"," ",(0,u.jsx)(c.default,{external:!0,href:"https://chat.developer.gov.bc.ca/channel/sso/",children:"ask us at rocketchat"})," ","for the detailed info"]}),(0,u.jsx)("li",{children:"In order to reduce your application's potential exposure, we recommend using a unique integration for each application."})]}),(0,u.jsx)("h2",{children:"We're a Community"}),(0,u.jsxs)(p,{children:[(0,u.jsxs)("li",{children:["As part of a community, we can solve things together and quickly. Please join the"," ",(0,u.jsx)(c.default,{external:!0,href:"https://chat.developer.gov.bc.ca/channel/sso/",children:"#SSO channel on Rocket.Chat"})]}),(0,u.jsxs)("li",{children:["Please follow the"," ",(0,u.jsx)(c.default,{external:!0,href:"https://digital.gov.bc.ca/resources/digital-principles",target:"_blank",rel:"noreferrer",children:"BC Government digital standards"})]}),(0,u.jsx)("li",{children:"Coordinate load testing with the Pathfinder SSO Team, and please only use the Test environment"}),(0,u.jsxs)("li",{children:["The SSO Service is multitenancy; meaning you share with others, so please coordinate with us (",(0,u.jsx)(c.default,{external:!0,href:"https://chat.developer.gov.bc.ca/channel/sso/",children:"#SSO channel on Rocket.Chat"})," ","or email at ",(0,u.jsx)(c.default,{href:"mailto:bcgov.sso@gov.bc.ca",children:"bcgov.sso@gov.bc.ca"}),") :",(0,u.jsxs)("ul",{children:[(0,u.jsxs)(h,{children:["if you predict moderate or high loads",(0,u.jsx)("br",{}),"OR",(0,u.jsx)("br",{})]}),(0,u.jsx)(h,{children:"if you need to conduct load testing or security scans please do in TEST only"})]})]})]}),(0,u.jsx)("h2",{children:"What's included in the service"}),(0,u.jsx)(p,{children:(0,u.jsx)("li",{children:"The Standard realm is configured to meet the general needs of the community. Currently, custom configurations, such as scopes or flows, are not available"})}),(0,u.jsx)("h2",{children:"Understanding the service level"}),(0,u.jsxs)(p,{children:[(0,u.jsxs)("li",{children:["Our service is available 24/7, except during planned outages within the Kamloops and Calgary data centres. Planned outages are communicated through"," ",(0,u.jsx)(c.default,{external:!0,href:"https://chat.developer.gov.bc.ca/channel/sso/",children:"RocketChat"}),"."]}),(0,u.jsx)("li",{children:"Our regular business hours are weekdays from 9:00 am to 5:00 pm Pacific Time, excluding statutory holidays. Client provisioning questions and requests will be reviewed and handled during normal business hours. After hours support is provided by the Pathfinder SSO team, and is only available for service outages and other incidents that impact the service."}),(0,u.jsxs)("li",{children:["To learn more about our service uptime monitoring, please visit our"," ",(0,u.jsx)(c.default,{external:!0,href:(0,d.eO)("Pathfinder-Uptime-Monitoring/"),children:"uptime page on our wiki"})," ","and join our"," ",(0,u.jsx)(c.default,{external:!0,href:"https://subscribe.developer.gov.bc.ca/",children:"newsletter"})," ","to receive important updates on the service and any outages."]})]}),(0,u.jsx)("h2",{children:"Contact Us"}),(0,u.jsxs)(p,{children:[(0,u.jsxs)("li",{children:["If you have any questions, please reach out to us on"," ",(0,u.jsx)(c.default,{external:!0,href:"https://chat.developer.gov.bc.ca",children:"Rocket.Chat"})," ","or"," ",(0,u.jsx)(c.default,{external:!0,href:"mailto:bcgov.sso@gov.bc.ca",children:"Email"})," ","the Pathfinder SSO Product Owner."]}),(0,u.jsxs)("li",{children:["Visit our documentation: one for"," ",(0,u.jsx)(c.default,{external:!0,href:e,children:"business"})," ","areas and one for"," ",(0,u.jsx)(c.default,{external:!0,href:d.UN,children:"technical"})," ","areas."]})]})]})}},96412:function(e,t,n){n.d(t,{A:function(){return u},k:function(){return d}});var r,i,o=n(50029),a=n(87794),s=n.n(a),c=n(18269),l=n(10433),d=(r=(0,o.Z)(s().mark(function e(){var t;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,l.e.get("bc-services-card/privacy-zones").then(function(e){return e.data});case 3:return t=e.sent,e.abrupt("return",[t,null]);case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",[(0,c.S2)(),null]);case 10:case"end":return e.stop()}},e,null,[[0,7]])})),function(){return r.apply(this,arguments)}),u=(i=(0,o.Z)(s().mark(function e(){var t;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,l.e.get("bc-services-card/claim-types").then(function(e){return e.data});case 3:return t=(t=e.sent).filter(function(e){return!["sub","client_id"].includes(e.name)}),e.abrupt("return",[t,null]);case 8:return e.prev=8,e.t0=e.catch(0),e.abrupt("return",[(0,c.K_)(),null]);case 11:case"end":return e.stop()}},e,null,[[0,8]])})),function(){return i.apply(this,arguments)})}}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/_app-55dd86ff3ed4ab96.js b/_next/static/chunks/pages/_app-6846eeb7ad5bfb88.js similarity index 93% rename from _next/static/chunks/pages/_app-55dd86ff3ed4ab96.js rename to _next/static/chunks/pages/_app-6846eeb7ad5bfb88.js index 50c2c20..4eaab91 100644 --- a/_next/static/chunks/pages/_app-55dd86ff3ed4ab96.js +++ b/_next/static/chunks/pages/_app-6846eeb7ad5bfb88.js @@ -295,7 +295,7 @@ */function tn(e,t){this.x=t,this.q=e}function ti(e,t,r,n){this.curve=e,this.x=t,this.y=r,null==n?this.z=E.ONE:this.z=n,this.zinv=null}function ta(e,t,r){this.q=e,this.a=this.fromBigInteger(t),this.b=this.fromBigInteger(r),this.infinity=new ti(this,null,null)}e9.prototype.nextBytes=function(e){var t;for(t=0;t0&&t.length>0)this.n=e7(e,16),this.e=parseInt(t,16);else throw"Invalid RSA public key"},tt.prototype.encrypt=function(e){var t=function(e,t){if(t=0&&t>0;){var i=e.charCodeAt(n--);i<128?r[--t]=i:i>127&&i<2048?(r[--t]=63&i|128,r[--t]=i>>6|192):(r[--t]=63&i|128,r[--t]=i>>6&63|128,r[--t]=i>>12|224)}r[--t]=0;for(var a=new e9,o=[];t>2;){for(o[0]=0;0==o[0];)a.nextBytes(o);r[--t]=o[0]}return r[--t]=2,r[--t]=0,new E(r)}(e,this.n.bitLength()+7>>3);if(null==t)return null;var r=this.doPublic(t);if(null==r)return null;var n=r.toString(16);return(1&n.length)==0?n:"0"+n},tt.prototype.encryptOAEP=function(e,t,r){var n=function(e,t,r,n){var i=d.crypto.MessageDigest,a=d.crypto.Util,o=null;if(r||(r="sha1"),"string"==typeof r&&(o=i.getCanonicalAlgName(r),n=i.getHashLength(o),r=function(e){return tv(a.hashHex(tg(e),o))}),e.length+2*n+2>t)throw"Message too long for RSA";var s,u="";for(s=0;s>3,t,r);if(null==n)return null;var i=this.doPublic(n);if(null==i)return null;var a=i.toString(16);return(1&a.length)==0?a:"0"+a},tt.prototype.type="RSA",tt.prototype.doPrivate=function(e){if(null==this.p||null==this.q)return e.modPow(this.d,this.n);for(var t=e.mod(this.p).modPow(this.dmp1,this.p),r=e.mod(this.q).modPow(this.dmq1,this.q);0>t.compareTo(r);)t=t.add(this.p);return t.subtract(r).multiply(this.coeff).mod(this.p).multiply(this.q).add(r)},tt.prototype.setPrivate=function(e,t,r){if(this.isPrivate=!0,"string"!=typeof e)this.n=e,this.e=t,this.d=r;else if(null!=e&&null!=t&&e.length>0&&t.length>0)this.n=e7(e,16),this.e=parseInt(t,16),this.d=e7(r,16);else throw"Invalid RSA private key"},tt.prototype.setPrivateEx=function(e,t,r,n,i,a,o,s){if(this.isPrivate=!0,this.isPublic=!1,null==e)throw"RSASetPrivateEx N == null";if(null==t)throw"RSASetPrivateEx E == null";if(0==e.length)throw"RSASetPrivateEx N.length == 0";if(0==t.length)throw"RSASetPrivateEx E.length == 0";if(null!=e&&null!=t&&e.length>0&&t.length>0)this.n=e7(e,16),this.e=parseInt(t,16),this.d=e7(r,16),this.p=e7(n,16),this.q=e7(i,16),this.dmp1=e7(a,16),this.dmq1=e7(o,16),this.coeff=e7(s,16);else throw"Invalid RSA private key in RSASetPrivateEx"},tt.prototype.generate=function(e,t){var r=new e9,n=e>>1;this.e=parseInt(t,16);for(var i=new E(t,16),a=e/2-100,o=E.ONE.shiftLeft(a);;){for(;this.p=new E(e-n,1,r),!(0==this.p.subtract(E.ONE).gcd(i).compareTo(E.ONE)&&this.p.isProbablePrime(10)););for(;this.q=new E(n,1,r),!(0==this.q.subtract(E.ONE).gcd(i).compareTo(E.ONE)&&this.q.isProbablePrime(10)););if(0>=this.p.compareTo(this.q)){var s=this.p;this.p=this.q,this.q=s}var u=this.q.subtract(this.p).abs();if(!(u.bitLength()=u.compareTo(o))){var c=this.p.subtract(E.ONE),l=this.q.subtract(E.ONE),f=c.multiply(l);if(0==f.gcd(i).compareTo(E.ONE)&&(this.n=this.p.multiply(this.q),this.n.bitLength()==e)){this.d=i.modInverse(f),this.dmp1=this.d.mod(c),this.dmq1=this.d.mod(l),this.coeff=this.q.modInverse(this.p);break}}}this.isPrivate=!0},tt.prototype.decrypt=function(e){if(e.length!=Math.ceil(this.n.bitLength()/4))throw Error("wrong ctext length");var t=e7(e,16),r=this.doPrivate(t);return null==r?null:/*! (c) Tom Wu, Kenji Urushima | http://www-cs-students.stanford.edu/~tjw/jsbn/ */function(e,t){for(var r=e.toByteArray(),n=0;n=r.length)return null;for(var i="";++n191&&a<224?(i+=String.fromCharCode((31&a)<<6|63&r[n+1]),++n):(i+=String.fromCharCode((15&a)<<12|(63&r[n+1])<<6|63&r[n+2]),n+=2)}return i}(r,this.n.bitLength()+7>>3)},tt.prototype.decryptOAEP=function(e,t,r){if(e.length!=Math.ceil(this.n.bitLength()/4))throw Error("wrong ctext length");var n=e7(e,16),i=this.doPrivate(n);return null==i?null:function(e,t,r,n){var i=d.crypto.MessageDigest,a=d.crypto.Util,o=null;for(r||(r="sha1"),"string"==typeof r&&(o=i.getCanonicalAlgName(r),n=i.getHashLength(o),r=function(e){return tv(a.hashHex(tg(e),o))}),e=e.toByteArray(),s=0;s>3,t,r)},tn.prototype.equals=function(e){return e==this||this.q.equals(e.q)&&this.x.equals(e.x)},tn.prototype.toBigInteger=function(){return this.x},tn.prototype.negate=function(){return new tn(this.q,this.x.negate().mod(this.q))},tn.prototype.add=function(e){return new tn(this.q,this.x.add(e.toBigInteger()).mod(this.q))},tn.prototype.subtract=function(e){return new tn(this.q,this.x.subtract(e.toBigInteger()).mod(this.q))},tn.prototype.multiply=function(e){return new tn(this.q,this.x.multiply(e.toBigInteger()).mod(this.q))},tn.prototype.square=function(){return new tn(this.q,this.x.square().mod(this.q))},tn.prototype.divide=function(e){return new tn(this.q,this.x.multiply(e.toBigInteger().modInverse(this.q)).mod(this.q))},tn.prototype.sqrt=function(){return new tn(this.q,this.x.sqrt().mod(this.q))},ti.prototype.getX=function(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.x.toBigInteger().multiply(this.zinv).mod(this.curve.q))},ti.prototype.getY=function(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.y.toBigInteger().multiply(this.zinv).mod(this.curve.q))},ti.prototype.equals=function(e){return e==this||(this.isInfinity()?e.isInfinity():e.isInfinity()?this.isInfinity():!!e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q).equals(E.ZERO)&&e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q).equals(E.ZERO))},ti.prototype.isInfinity=function(){return null==this.x&&null==this.y||this.z.equals(E.ZERO)&&!this.y.toBigInteger().equals(E.ZERO)},ti.prototype.negate=function(){return new ti(this.curve,this.x,this.y.negate(),this.z)},ti.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q),r=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q);if(E.ZERO.equals(r))return E.ZERO.equals(t)?this.twice():this.curve.getInfinity();var n=new E("3"),i=this.x.toBigInteger(),a=this.y.toBigInteger();e.x.toBigInteger(),e.y.toBigInteger();var o=r.square(),s=o.multiply(r),u=i.multiply(o),c=t.square().multiply(this.z),l=c.subtract(u.shiftLeft(1)).multiply(e.z).subtract(s).multiply(r).mod(this.curve.q),f=u.multiply(n).multiply(t).subtract(a.multiply(s)).subtract(c.multiply(t)).multiply(e.z).add(t.multiply(s)).mod(this.curve.q),d=s.multiply(this.z).multiply(e.z).mod(this.curve.q);return new ti(this.curve,this.curve.fromBigInteger(l),this.curve.fromBigInteger(f),d)},ti.prototype.twice=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var e=new E("3"),t=this.x.toBigInteger(),r=this.y.toBigInteger(),n=r.multiply(this.z),i=n.multiply(r).mod(this.curve.q),a=this.curve.a.toBigInteger(),o=t.square().multiply(e);E.ZERO.equals(a)||(o=o.add(this.z.square().multiply(a)));var s=(o=o.mod(this.curve.q)).square().subtract(t.shiftLeft(3).multiply(i)).shiftLeft(1).multiply(n).mod(this.curve.q),u=o.multiply(e).multiply(t).subtract(i.shiftLeft(1)).shiftLeft(2).multiply(i).subtract(o.square().multiply(o)).mod(this.curve.q),c=n.square().multiply(n).shiftLeft(3).mod(this.curve.q);return new ti(this.curve,this.curve.fromBigInteger(s),this.curve.fromBigInteger(u),c)},ti.prototype.multiply=function(e){if(this.isInfinity())return this;if(0==e.signum())return this.curve.getInfinity();var t,r=e.multiply(new E("3")),n=this.negate(),i=this,a=this.curve.q.subtract(e),o=a.multiply(new E("3")),s=new ti(this.curve,this.x,this.y),u=s.negate();for(t=r.bitLength()-2;t>0;--t){i=i.twice();var c=r.testBit(t);c!=e.testBit(t)&&(i=i.add(c?this:n))}for(t=o.bitLength()-2;t>0;--t){s=s.twice();var l=o.testBit(t);l!=a.testBit(t)&&(s=s.add(l?s:u))}return i},ti.prototype.multiplyTwo=function(e,t,r){n=e.bitLength()>r.bitLength()?e.bitLength()-1:r.bitLength()-1;for(var n,i=this.curve.getInfinity(),a=this.add(t);n>=0;)i=i.twice(),e.testBit(n)?i=r.testBit(n)?i.add(a):i.add(this):r.testBit(n)&&(i=i.add(t)),--n;return i},ta.prototype.getQ=function(){return this.q},ta.prototype.getA=function(){return this.a},ta.prototype.getB=function(){return this.b},ta.prototype.equals=function(e){return e==this||this.q.equals(e.q)&&this.a.equals(e.a)&&this.b.equals(e.b)},ta.prototype.getInfinity=function(){return this.infinity},ta.prototype.fromBigInteger=function(e){return new tn(this.q,e)},ta.prototype.decodePointHex=function(e){switch(parseInt(e.substr(0,2),16)){case 0:return this.infinity;case 2:case 3:var t=e.substr(0,2);e.substr(2);var r=this.fromBigInteger(new E(s,16)),n=this.getA(),i=this.getB(),a=r.square().add(n).multiply(r).add(i).sqrt();return"03"==t&&(a=a.negate()),new ti(this,r,a);case 4:case 6:case 7:var o=(e.length-2)/2,s=e.substr(2,o),u=e.substr(o+2,o);return new ti(this,this.fromBigInteger(new E(s,16)),this.fromBigInteger(new E(u,16)));default:return null}},/*! (c) Stefan Thomas | https://github.com/bitcoinjs/bitcoinjs-lib */tn.prototype.getByteLength=function(){return Math.floor((this.toBigInteger().bitLength()+7)/8)},ti.prototype.getEncoded=function(e){var t=function(e,t){var r=e.toByteArrayUnsigned();if(tr.length;)r.unshift(0);return r},r=this.getX().toBigInteger(),n=this.getY().toBigInteger(),i=t(r,32);return e?n.isEven()?i.unshift(2):i.unshift(3):(i.unshift(4),i=i.concat(t(n,32))),i},ti.decodeFrom=function(e,t){t[0];var r=t.length-1,n=t.slice(1,1+r/2),i=t.slice(1+r/2,1+r);n.unshift(0),i.unshift(0);var a=new E(n),o=new E(i);return new ti(e,e.fromBigInteger(a),e.fromBigInteger(o))},ti.decodeFromHex=function(e,t){t.substr(0,2);var r=t.length-2,n=t.substr(2,r/2),i=t.substr(2+r/2,r/2),a=new E(n,16),o=new E(i,16);return new ti(e,e.fromBigInteger(a),e.fromBigInteger(o))},ti.prototype.add2D=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;if(this.x.equals(e.x))return this.y.equals(e.y)?this.twice():this.curve.getInfinity();var t=e.x.subtract(this.x),r=e.y.subtract(this.y).divide(t),n=r.square().subtract(this.x).subtract(e.x),i=r.multiply(this.x.subtract(n)).subtract(this.y);return new ti(this.curve,n,i)},ti.prototype.twice2D=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var e=this.curve.fromBigInteger(E.valueOf(2)),t=this.curve.fromBigInteger(E.valueOf(3)),r=this.x.square().multiply(t).add(this.curve.a).divide(this.y.multiply(e)),n=r.square().subtract(this.x.multiply(e)),i=r.multiply(this.x.subtract(n)).subtract(this.y);return new ti(this.curve,n,i)},ti.prototype.multiply2D=function(e){if(this.isInfinity())return this;if(0==e.signum())return this.curve.getInfinity();var t,r=e.multiply(new E("3")),n=this.negate(),i=this;for(t=r.bitLength()-2;t>0;--t){i=i.twice();var a=r.testBit(t);a!=e.testBit(t)&&(i=i.add2D(a?this:n))}return i},ti.prototype.isOnCurve=function(){var e=this.getX().toBigInteger(),t=this.getY().toBigInteger(),r=this.curve.getA().toBigInteger(),n=this.curve.getB().toBigInteger(),i=this.curve.getQ(),a=t.multiply(t).mod(i),o=e.multiply(e).multiply(e).add(r.multiply(e)).add(n).mod(i);return a.equals(o)},ti.prototype.toString=function(){return"("+this.getX().toBigInteger().toString()+","+this.getY().toBigInteger().toString()+")"},ti.prototype.validate=function(){var e=this.curve.getQ();if(this.isInfinity())throw Error("Point is at infinity.");var t=this.getX().toBigInteger(),r=this.getY().toBigInteger();if(0>t.compareTo(E.ONE)||t.compareTo(e.subtract(E.ONE))>0)throw Error("x coordinate out of bounds");if(0>r.compareTo(E.ONE)||r.compareTo(e.subtract(E.ONE))>0)throw Error("y coordinate out of bounds");if(!this.isOnCurve())throw Error("Point is not on the curve.");if(this.multiply(e).isInfinity())throw Error("Point is not a scalar multiple of G.");return!0};/*! Mike Samuel (c) 2009 | code.google.com/p/json-sans-eval - */var to=function(){var e=RegExp('(?:false|true|null|[\\{\\}\\[\\]]|(?:-?\\b(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\\b)|(?:"(?:[^\\0-\\x08\\x0a-\\x1f"\\\\]|\\\\(?:["/\\\\bfnrt]|u[0-9A-Fa-f]{4}))*"))',"g"),t=RegExp("\\\\(?:([^u])|u(.{4}))","g"),r={'"':'"',"/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:" "};function n(e,t,n){return t?r[t]:String.fromCharCode(parseInt(n,16))}var i=new String(""),a=Object.hasOwnProperty;return function(r,o){var s,u,c,l=r.match(e),f=l[0],d=!1;"{"===f?s={}:"["===f?s=[]:(s=[],d=!0);for(var h=[s],p=1-d,m=l.length;p=0;)delete r[n[u]]}return o.call(e,t,r)};s=g({"":s},"")}return s}}();void 0!==d&&d||(d={}),void 0!==d.asn1&&d.asn1||(d.asn1={}),d.asn1.ASN1Util=new function(){this.integerToByteHex=function(e){var t=e.toString(16);return t.length%2==1&&(t="0"+t),t},this.bigIntToMinTwosComplementsHex=function(e){var t=e.toString(16);if("-"!=t.substr(0,1))t.length%2==1?t="0"+t:t.match(/^[0-7]/)||(t="00"+t);else{var r=t.substr(1).length;r%2==1?r+=1:t.match(/^[0-7]/)||(r+=2);for(var n="",i=0;i15)throw Error("ASN.1 length too long to represent by 8x: n = "+e.toString(16));return(128+r).toString(16)+t},this.tohex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getEncodedHex=function(){return this.tohex()},this.getValueHex=function(){return this.tohex(),this.hV},this.getFreshValueHex=function(){return""},this.setByParam=function(e){this.params=e},void 0!=e&&void 0!=e.tlv&&(this.hTLV=e.tlv,this.isModified=!1)},d.asn1.DERAbstractString=function(e){d.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=tp(this.s).toLowerCase()},this.setStringHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.getFreshValueHex=function(){return this.hV},void 0!==e&&("string"==typeof e?this.setString(e):void 0!==e.str?this.setString(e.str):void 0!==e.hex&&this.setStringHex(e.hex))},tN(d.asn1.DERAbstractString,d.asn1.ASN1Object),d.asn1.DERAbstractTime=function(e){d.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(e){var t=e.getTime()+6e4*e.getTimezoneOffset();return new Date(t)},this.formatDate=function(e,t,r){var n=this.zeroPadding,i=this.localDateToUTC(e),a=String(i.getFullYear());"utc"==t&&(a=a.substr(2,2));var o=a+n(String(i.getMonth()+1),2)+n(String(i.getDate()),2)+n(String(i.getHours()),2)+n(String(i.getMinutes()),2)+n(String(i.getSeconds()),2);if(!0===r){var s=i.getMilliseconds();if(0!=s){var u=n(String(s),3);o=o+"."+(u=u.replace(/[0]+$/,""))}}return o+"Z"},this.zeroPadding=function(e,t){return e.length>=t?e:Array(t-e.length+1).join("0")+e},this.setByParam=function(e){this.hV=null,this.hTLV=null,this.params=e},this.getString=function(){},this.setString=function(e){this.hTLV=null,this.isModified=!0,void 0==this.params&&(this.params={}),this.params.str=e},this.setByDate=function(e){this.hTLV=null,this.isModified=!0,void 0==this.params&&(this.params={}),this.params.date=e},this.setByDateValue=function(e,t,r,n,i,a){var o=new Date(Date.UTC(e,t-1,r,n,i,a,0));this.setByDate(o)},this.getFreshValueHex=function(){return this.hV}},tN(d.asn1.DERAbstractTime,d.asn1.ASN1Object),d.asn1.DERAbstractStructured=function(e){d.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array=e},this.appendASN1Object=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array.push(e)},this.asn1Array=[],void 0!==e&&void 0!==e.array&&(this.asn1Array=e.array)},tN(d.asn1.DERAbstractStructured,d.asn1.ASN1Object),d.asn1.DERBoolean=function(e){d.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",!1==e?this.hTLV="010100":this.hTLV="0101ff"},tN(d.asn1.DERBoolean,d.asn1.ASN1Object),d.asn1.DERInteger=function(e){d.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=d.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var t=new E(String(e),10);this.setByBigInteger(t)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},void 0!==e&&(void 0!==e.bigint?this.setByBigInteger(e.bigint):void 0!==e.int?this.setByInteger(e.int):"number"==typeof e?this.setByInteger(e):void 0!==e.hex&&this.setValueHex(e.hex))},tN(d.asn1.DERInteger,d.asn1.ASN1Object),d.asn1.DERBitString=function(e){if(void 0!==e&&void 0!==e.obj){var t=d.asn1.ASN1Util.newObject(e.obj);e.hex="00"+t.tohex()}d.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(e){this.hTLV=null,this.isModified=!0,this.hV=e},this.setUnusedBitsAndHexValue=function(e,t){if(e<0||7>6,i=128|63&r;return tm(n.toString(16)+i.toString(16))}var n=224|(240&t)>>4,i=128|(15&t)<<2|(192&r)>>6;return tm(n.toString(16)+i.toString(16)+(128|63&r).toString(16))}).join("")}function t_(e){for(var t=encodeURIComponent(e),r="",n=0;n"7"?"00"+e:e}function tF(e){if(!tk(e))return null;try{var t=[],r=e.substr(0,2),n=parseInt(r,16);t[0]=new String(Math.floor(n/40)),t[1]=new String(n%40);for(var i=e.substr(2),a=[],o=0;o0&&(c=c+"."+s.join(".")),c}catch(e){return null}}ts.getLblen=function(e,t){if("8"!=e.substr(t+2,1))return 1;var r=parseInt(e.substr(t+3,1));return 0==r?-1:0=n)break}return a},ts.getNthChildIdx=function(e,t,r){return ts.getChildIdx(e,t)[r]},ts.getIdxbyList=function(e,t,r,n){var i,a;return 0==r.length?void 0!==n&&e.substr(t,2)!==n?-1:t:(i=r.shift())>=(a=ts.getChildIdx(e,t)).length?-1:ts.getIdxbyList(e,a[i],r,n)},ts.getIdxbyListEx=function(e,t,r,n){if(0==r.length)return void 0!==n&&e.substr(t,2)!==n?-1:t;i=r.shift(),a=ts.getChildIdx(e,t);for(var i,a,o=0,s=0;s=e.length?null:ts.getTLV(e,i)},ts.getTLVbyListEx=function(e,t,r,n){var i=ts.getIdxbyListEx(e,t,r,n);return -1==i?null:ts.getTLV(e,i)},ts.getVbyList=function(e,t,r,n,i){var a,o;return -1==(a=ts.getIdxbyList(e,t,r,n))||a>=e.length?null:(o=ts.getV(e,a),!0===i&&(o=o.substr(2)),o)},ts.getVbyListEx=function(e,t,r,n,i){var a,o;return -1==(a=ts.getIdxbyListEx(e,t,r,n))?null:(o=ts.getV(e,a),"03"==e.substr(a,2)&&!1!==i&&(o=o.substr(2)),o)},ts.getInt=function(e,t,r){void 0==r&&(r=-1);try{var n=e.substr(t,2);if("02"!=n&&"03"!=n)return r;var i=ts.getV(e,t);if("02"==n)return parseInt(i,16);return function(e){if(e.length%2!=0||null==(e=e.toLowerCase()).match(/^[0-9a-f]+$/))return -1;try{var t=e.substr(0,2);if("00"==t)return parseInt(e.substr(2),16);var r=parseInt(t,16);if(r>7)return -1;var n=e.substr(2),i=parseInt(n,16).toString(2);"0"==i&&(i="00000000"),i=i.slice(0,0-r);var a=parseInt(i,2);if(a==NaN)return -1;return a}catch(e){return -1}}(i)}catch(e){return r}},ts.getOID=function(e,t,r){void 0==r&&(r=null);try{if("06"!=e.substr(t,2))return r;var n=ts.getV(e,t);return tF(n)}catch(e){return r}},ts.getOIDName=function(e,t,r){void 0==r&&(r=null);try{var n=ts.getOID(e,t,r);if(n==r)return r;var i=d.asn1.x509.OID.oid2name(n);if(""==i)return n;return i}catch(e){return r}},ts.getString=function(e,t,r){void 0==r&&(r=null);try{var n=ts.getV(e,t);return tv(n)}catch(e){return r}},ts.hextooidstr=function(e){var t=function(e,t){return e.length>=t?e:Array(t-e.length+1).join("0")+e},r=[],n=parseInt(e.substr(0,2),16);r[0]=new String(Math.floor(n/40)),r[1]=new String(n%40);for(var i=e.substr(2),a=[],o=0;o0&&(c=c+"."+s.join(".")),c},ts.dump=function(e,t,r,n){var i=ts.getV,a=ts.dump,o=ts.getChildIdx,s=e;e instanceof d.asn1.ASN1Object&&(s=e.tohex());var u=function(e,t){return e.length<=2*t?e:e.substr(0,t)+"..(total "+e.length/2+"bytes).."+e.substr(e.length-t,t)};void 0===t&&(t={ommit_long_octet:32}),void 0===r&&(r=0),void 0===n&&(n="");var c=t.ommit_long_octet,l=s.substr(r,2);if("01"==l){var f=i(s,r);return"00"==f?n+"BOOLEAN FALSE\n":n+"BOOLEAN TRUE\n"}if("02"==l){var f=i(s,r);return n+"INTEGER "+u(f,c)+"\n"}if("03"==l){var f=i(s,r);if(!ts.isASN1HEX(f.substr(2)))return n+"BITSTRING "+u(f,c)+"\n";var h=n+"BITSTRING, encapsulates\n";return h+a(f.substr(2),t,0,n+" ")}if("04"==l){var f=i(s,r);if(!ts.isASN1HEX(f))return n+"OCTETSTRING "+u(f,c)+"\n";var h=n+"OCTETSTRING, encapsulates\n";return h+a(f,t,0,n+" ")}if("05"==l)return n+"NULL\n";if("06"==l){var p=i(s,r),m=d.asn1.ASN1Util.oidHexToInt(p),g=d.asn1.x509.OID.oid2name(m),y=m.replace(/\./g," ");return""!=g?n+"ObjectIdentifier "+g+" ("+y+")\n":n+"ObjectIdentifier ("+y+")\n"}if("0a"==l)return n+"ENUMERATED "+parseInt(i(s,r))+"\n";if("0c"==l)return n+"UTF8String '"+tm(i(s,r))+"'\n";if("13"==l)return n+"PrintableString '"+tm(i(s,r))+"'\n";if("14"==l)return n+"TeletexString '"+tm(i(s,r))+"'\n";if("16"==l)return n+"IA5String '"+tm(i(s,r))+"'\n";if("17"==l)return n+"UTCTime "+tm(i(s,r))+"\n";if("18"==l)return n+"GeneralizedTime "+tm(i(s,r))+"\n";if("1a"==l)return n+"VisualString '"+tm(i(s,r))+"'\n";if("1e"==l)return n+"BMPString '"+tO(i(s,r))+"'\n";if("30"==l){if("3000"==s.substr(r,4))return n+"SEQUENCE {}\n";var h=n+"SEQUENCE\n",b=o(s,r),x=t;if((2==b.length||3==b.length)&&"06"==s.substr(b[0],2)&&"04"==s.substr(b[b.length-1],2)){var g=ts.oidname(i(s,b[0])),w=JSON.parse(JSON.stringify(t));w.x509ExtName=g,x=w}for(var S=0;S4?{enum:{hex:h}}:{enum:parseInt(h,16)};if("30"==l||"31"==l)return f[c[l]]=function(e){for(var r=[],n=a(e,0),o=0;o31)return!1;if((192&r)==128&&(31&r)==n)return!0;return!1}catch(e){return!1}},ts.isASN1HEX=function(e){if(e.length%2==1)return!1;var t=ts.getVblen(e,0),r=e.substr(0,2),n=ts.getL(e,0);return e.length-r.length-n.length==2*t},ts.checkStrictDER=function(e,t,r,n,i){if(void 0===r){if("string"!=typeof e||(e=e.toLowerCase(),!d.lang.String.isHex(e)))throw Error("not hex string");r=e.length,i=(n=e.length/2)<128?1:Math.ceil(n.toString(16))+1}if(ts.getL(e,t).length>2*i)throw Error("L of TLV too long: idx="+t);var a=ts.getVblen(e,t);if(a>n)throw Error("value of L too long than hex: idx="+t);var o=ts.getTLV(e,t),s=o.length-2-ts.getL(e,t).length;if(s!==2*a)throw Error("V string length and L's value not the same:"+s+"/"+2*a);if(0===t&&e.length!=o.length)throw Error("total length and TLV length unmatch:"+e.length+"!="+o.length);var u=e.substr(t,2);if("02"===u){var c=ts.getVidx(e,t);if("00"==e.substr(c,2)&&56>e.charCodeAt(c+2))throw Error("not least zeros for DER INTEGER")}if(32&parseInt(u,16)){for(var l=ts.getVblen(e,t),f=0,h=ts.getChildIdx(e,t),p=0;p0&&e.push(new n({tag:"a3",obj:new c(t.ext)})),new d.asn1.DERSequence({array:e}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&this.setByParam(e)},tN(d.asn1.x509.TBSCertificate,d.asn1.ASN1Object),d.asn1.x509.Extensions=function(e){d.asn1.x509.Extensions.superclass.constructor.call(this);var t=d.asn1,r=t.DERSequence,n=t.x509;this.aParam=[],this.setByParam=function(e){this.aParam=e},this.tohex=function(){for(var e=[],t=0;t-1&&e.push(new n({int:this.pathLen}));var t=new i({array:e});return this.asn1ExtnValue=t,this.asn1ExtnValue.tohex()},this.oid="2.5.29.19",this.cA=!1,this.pathLen=-1,void 0!==e&&(void 0!==e.cA&&(this.cA=e.cA),void 0!==e.pathLen&&(this.pathLen=e.pathLen))},tN(d.asn1.x509.BasicConstraints,d.asn1.x509.Extension),d.asn1.x509.CRLDistributionPoints=function(e){d.asn1.x509.CRLDistributionPoints.superclass.constructor.call(this,e);var t=d.asn1,r=t.x509;this.getExtnValueHex=function(){return this.asn1ExtnValue.tohex()},this.setByDPArray=function(e){for(var n=[],i=0;i0&&e.push(new r({array:t}))}return new r({array:e}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&(this.params=e)},tN(d.asn1.x509.PolicyInformation,d.asn1.ASN1Object),d.asn1.x509.PolicyQualifierInfo=function(e){d.asn1.x509.PolicyQualifierInfo.superclass.constructor.call(this,e);var t=d.asn1,r=t.DERSequence,n=t.DERIA5String,i=t.DERObjectIdentifier,a=t.x509.UserNotice;this.params=null,this.tohex=function(){if(void 0!==this.params.cps){var e=new r({array:[new i({oid:"1.3.6.1.5.5.7.2.1"}),new n({str:this.params.cps})]});return e.tohex()}if(void 0!=this.params.unotice){var e=new r({array:[new i({oid:"1.3.6.1.5.5.7.2.2"}),new a(this.params.unotice)]});return e.tohex()}},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&(this.params=e)},tN(d.asn1.x509.PolicyQualifierInfo,d.asn1.ASN1Object),d.asn1.x509.UserNotice=function(e){d.asn1.x509.UserNotice.superclass.constructor.call(this,e);var t=d.asn1.DERSequence,r=(d.asn1.DERInteger,d.asn1.x509.DisplayText),n=d.asn1.x509.NoticeReference;this.params=null,this.tohex=function(){var e=[];return void 0!==this.params.noticeref&&e.push(new n(this.params.noticeref)),void 0!==this.params.exptext&&e.push(new r(this.params.exptext)),new t({array:e}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&(this.params=e)},tN(d.asn1.x509.UserNotice,d.asn1.ASN1Object),d.asn1.x509.NoticeReference=function(e){d.asn1.x509.NoticeReference.superclass.constructor.call(this,e);var t=d.asn1.DERSequence,r=d.asn1.DERInteger,n=d.asn1.x509.DisplayText;this.params=null,this.tohex=function(){var e=[];if(void 0!==this.params.org&&e.push(new n(this.params.org)),void 0!==this.params.noticenum){for(var i=[],a=this.params.noticenum,o=0;o0)for(var e=0;e0;i++){var a=t.shift();if(!0===r){var o=(n.pop()+","+a).replace(/\\,/g,",");n.push(o),r=!1}else n.push(a);"\\"===a.substr(-1,1)&&(r=!0)}return(n=n.map(function(e){return e.replace("/","\\/")})).reverse(),"/"+n.join("/")},d.asn1.x509.X500Name.ldapToOneline=function(e){return d.asn1.x509.X500Name.ldapToCompat(e)},d.asn1.x509.RDN=function(e){d.asn1.x509.RDN.superclass.constructor.call(this),this.asn1Array=[],this.paramArray=[],this.sRule="utf8";var t=d.asn1.x509.AttributeTypeAndValue;this.setByParam=function(e){void 0!==e.rule&&(this.sRule=e.rule),void 0!==e.str&&this.addByMultiValuedString(e.str),void 0!==e.array&&(this.paramArray=e.array)},this.addByString=function(e){this.asn1Array.push(new d.asn1.x509.AttributeTypeAndValue({str:e,rule:this.sRule}))},this.addByMultiValuedString=function(e){for(var t=d.asn1.x509.RDN.parseString(e),r=0;r0)for(var e=0;e0;i++){var a=t.shift();if(!0===r){var o=(n.pop()+"+"+a).replace(/\\\+/g,"+");n.push(o),r=!1}else n.push(a);"\\"===a.substr(-1,1)&&(r=!0)}for(var s=!1,u=[],i=0;n.length>0;i++){var a=n.shift();if(!0===s){var c=u.pop();if(a.match(/"$/)){var o=(c+"+"+a).replace(/^([^=]+)="(.*)"$/,"$1=$2");u.push(o),s=!1}else u.push(c+"+"+a)}else u.push(a);a.match(/^[^=]+="/)&&(s=!0)}return u},d.asn1.x509.AttributeTypeAndValue=function(e){d.asn1.x509.AttributeTypeAndValue.superclass.constructor.call(this),this.sRule="utf8",this.sType=null,this.sValue=null,this.dsType=null;var t=d,r=t.asn1,n=r.DERSequence,i=r.DERUTF8String,a=r.DERPrintableString,o=r.DERTeletexString,s=r.DERIA5String,u=r.DERVisibleString,c=r.DERBMPString,l=t.lang.String.isMail,f=t.lang.String.isPrintable;this.setByParam=function(e){if(void 0!==e.rule&&(this.sRule=e.rule),void 0!==e.ds&&(this.dsType=e.ds),void 0===e.value&&void 0!==e.str){var t=e.str.match(/^([^=]+)=(.+)$/);if(t)this.sType=t[1],this.sValue=t[2];else throw Error("malformed attrTypeAndValueStr: "+attrTypeAndValueStr)}else this.sType=e.type,this.sValue=e.value},this.setByString=function(e,t){void 0!==t&&(this.sRule=t);var r=e.match(/^([^=]+)=(.+)$/);if(r)this.setByAttrTypeAndValueStr(r[1],r[2]);else throw Error("malformed attrTypeAndValueStr: "+attrTypeAndValueStr)},this._getDsType=function(){var e=this.sType,t=this.sValue,r=this.sRule;if("prn"===r){if("CN"==e&&l(t))return"ia5";if(f(t))return"prn"}else if("utf8"===r){if("CN"==e&&l(t))return"ia5";if("C"==e)return"prn"}return"utf8"},this.setByAttrTypeAndValueStr=function(e,t,r){void 0!==r&&(this.sRule=r),this.sType=e,this.sValue=t},this.getValueObj=function(e,t){if("utf8"==e)return new i({str:t});if("prn"==e)return new a({str:t});if("tel"==e)return new o({str:t});if("ia5"==e)return new s({str:t});if("vis"==e)return new u({str:t});if("bmp"==e)return new c({str:t});throw Error("unsupported directory string type: type="+e+" value="+t)},this.tohex=function(){null==this.dsType&&(this.dsType=this._getDsType());var e=d.asn1.x509.OID.atype2obj(this.sType),t=this.getValueObj(this.dsType,this.sValue),r=new n({array:[e,t]});return this.TLV=r.tohex(),this.TLV},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&this.setByParam(e)},tN(d.asn1.x509.AttributeTypeAndValue,d.asn1.ASN1Object),d.asn1.x509.SubjectPublicKeyInfo=function(e){d.asn1.x509.SubjectPublicKeyInfo.superclass.constructor.call(this);var t=d,r=t.asn1,n=r.DERInteger,i=r.DERBitString,a=r.DERObjectIdentifier,o=r.DERSequence,s=r.ASN1Util.newObject,u=r.x509.AlgorithmIdentifier,c=t.crypto;c.ECDSA,c.DSA,this.getASN1Object=function(){if(null==this.asn1AlgId||null==this.asn1SubjPKey)throw"algId and/or subjPubKey not set";return new o({array:[this.asn1AlgId,this.asn1SubjPKey]})},this.tohex=function(){var e=this.getASN1Object();return this.hTLV=e.tohex(),this.hTLV},this.getEncodedHex=function(){return this.tohex()},this.setPubKey=function(e){try{if(e instanceof tt){var t=s({seq:[{int:{bigint:e.n}},{int:{int:e.e}}]}).tohex();this.asn1AlgId=new u({name:"rsaEncryption"}),this.asn1SubjPKey=new i({hex:"00"+t})}}catch(e){}try{if(e instanceof d.crypto.ECDSA){var r=new a({name:e.curveName});this.asn1AlgId=new u({name:"ecPublicKey",asn1params:r}),this.asn1SubjPKey=new i({hex:"00"+e.pubKeyHex})}}catch(e){}try{if(e instanceof d.crypto.DSA){var r=new s({seq:[{int:{bigint:e.p}},{int:{bigint:e.q}},{int:{bigint:e.g}}]});this.asn1AlgId=new u({name:"dsa",asn1params:r});var o=new n({bigint:e.y});this.asn1SubjPKey=new i({hex:"00"+o.tohex()})}}catch(e){}},void 0!==e&&this.setPubKey(e)},tN(d.asn1.x509.SubjectPublicKeyInfo,d.asn1.ASN1Object),d.asn1.x509.Time=function(e){d.asn1.x509.Time.superclass.constructor.call(this);var t=d.asn1,r=t.DERUTCTime,n=t.DERGeneralizedTime;this.params=null,this.type=null,this.setTimeParams=function(e){this.timeParams=e},this.setByParam=function(e){this.params=e},this.getType=function(e){return e.match(/^[0-9]{12}Z$/)?"utc":e.match(/^[0-9]{14}Z$/)?"gen":e.match(/^[0-9]{12}\.[0-9]+Z$/)?"utc":e.match(/^[0-9]{14}\.[0-9]+Z$/)?"gen":null},this.tohex=function(){var e=this.params,t=null;if("string"==typeof e&&(e={str:e}),null!=e&&e.str&&(null==e.type||void 0==e.type)&&(e.type=this.getType(e.str)),null!=e&&e.str?("utc"==e.type&&(t=new r(e.str)),"gen"==e.type&&(t=new n(e.str))):t="gen"==this.type?new n:new r,null==t)throw Error("wrong setting for Time");return this.TLV=t.tohex(),this.TLV},this.getEncodedHex=function(){return this.tohex()},void 0!=e&&this.setByParam(e)},d.asn1.x509.Time_bak=function(e){d.asn1.x509.Time_bak.superclass.constructor.call(this);var t=d.asn1,r=t.DERUTCTime,n=t.DERGeneralizedTime;this.setTimeParams=function(e){this.timeParams=e},this.tohex=function(){var e=null;return e=null!=this.timeParams?"utc"==this.type?new r(this.timeParams):new n(this.timeParams):"utc"==this.type?new r:new n,this.TLV=e.tohex(),this.TLV},this.getEncodedHex=function(){return this.tohex()},this.type="utc",void 0!==e&&(void 0!==e.type?this.type=e.type:void 0!==e.str&&(e.str.match(/^[0-9]{12}Z$/)&&(this.type="utc"),e.str.match(/^[0-9]{14}Z$/)&&(this.type="gen")),this.timeParams=e)},tN(d.asn1.x509.Time,d.asn1.ASN1Object),d.asn1.x509.AlgorithmIdentifier=function(e){d.asn1.x509.AlgorithmIdentifier.superclass.constructor.call(this),this.nameAlg=null,this.asn1Alg=null,this.asn1Params=null,this.paramEmpty=!1;var t=d.asn1,r=t.x509.AlgorithmIdentifier.PSSNAME2ASN1TLV;if(this.tohex=function(){if(null===this.nameAlg&&null===this.asn1Alg)throw Error("algorithm not specified");if(null!==this.nameAlg){var e=null;for(var n in r)n===this.nameAlg&&(e=r[n]);if(null!==e)return this.hTLV=e,this.hTLV}null!==this.nameAlg&&null===this.asn1Alg&&(this.asn1Alg=t.x509.OID.name2obj(this.nameAlg));var i=[this.asn1Alg];null!==this.asn1Params&&i.push(this.asn1Params);var a=new t.DERSequence({array:i});return this.hTLV=a.tohex(),this.hTLV},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&(void 0!==e.name&&(this.nameAlg=e.name),void 0!==e.asn1params&&(this.asn1Params=e.asn1params),void 0!==e.paramempty&&(this.paramEmpty=e.paramempty)),null===this.asn1Params&&!1===this.paramEmpty&&null!==this.nameAlg){void 0!==this.nameAlg.name&&(this.nameAlg=this.nameAlg.name);var n=this.nameAlg.toLowerCase();"withdsa"!==n.substr(-7,7)&&"withecdsa"!==n.substr(-9,9)&&(this.asn1Params=new t.DERNull)}},tN(d.asn1.x509.AlgorithmIdentifier,d.asn1.ASN1Object),d.asn1.x509.AlgorithmIdentifier.PSSNAME2ASN1TLV={SHAwithRSAandMGF1:"300d06092a864886f70d01010a3000",SHA256withRSAandMGF1:"303d06092a864886f70d01010a3030a00d300b0609608648016503040201a11a301806092a864886f70d010108300b0609608648016503040201a203020120",SHA384withRSAandMGF1:"303d06092a864886f70d01010a3030a00d300b0609608648016503040202a11a301806092a864886f70d010108300b0609608648016503040202a203020130",SHA512withRSAandMGF1:"303d06092a864886f70d01010a3030a00d300b0609608648016503040203a11a301806092a864886f70d010108300b0609608648016503040203a203020140"},d.asn1.x509.GeneralName=function(e){d.asn1.x509.GeneralName.superclass.constructor.call(this);var t=d.asn1,r=t.x509,n=r.X500Name,i=r.OtherName,a=t.DERIA5String,o=(t.DERPrintableString,t.DEROctetString),s=t.DERTaggedObject,u=t.ASN1Object,c=Error;this.params=null,this.setByParam=function(e){this.params=e},this.tohex=function(){var e=this.params,t=!1;if(void 0!==e.other)r="a0",l=new i(e.other);else if(void 0!==e.rfc822)r="81",l=new a({str:e.rfc822});else if(void 0!==e.dns)r="82",l=new a({str:e.dns});else if(void 0!==e.dn)r="a4",t=!0,l="string"==typeof e.dn?new n({str:e.dn}):e.dn instanceof d.asn1.x509.X500Name?e.dn:new n(e.dn);else if(void 0!==e.ldapdn)r="a4",t=!0,l=new n({ldapstr:e.ldapdn});else if(void 0!==e.certissuer||void 0!==e.certsubj){r="a4",t=!0;var r,t,l,f,h,p,m=null;if(void 0!==e.certsubj?(f=!1,h=e.certsubj):(f=!0,h=e.certissuer),h.match(/^[0-9A-Fa-f]+$/),-1!=h.indexOf("-----BEGIN ")&&(m=tb(h)),null==m)throw Error("certsubj/certissuer not cert");var g=new tH;g.hex=m,p=f?g.getIssuerHex():g.getSubjectHex(),(l=new u).hTLV=p}else if(void 0!==e.uri)r="86",l=new a({str:e.uri});else if(void 0!==e.ip){r="87";var y,b=e.ip;try{if(b.match(/^[0-9a-f]+$/)){var x=b.length;if(8==x||16==x||32==x||64==x)y=b;else throw"err"}else y=function e(t){var r=Error("malformed IP address");if(!(t=t.toLowerCase(t)).match(/^[0-9a-f.:/]+$/))throw r;if(t.match(/^[0-9.]+$/)){var n=t.split(".");if(4!==n.length)throw r;var i="";try{for(var a=0;a<4;a++){var o=parseInt(n[a]);i+=("0"+o.toString(16)).slice(-2)}return i}catch(e){throw r}}else{if(t.match(/^[0-9.]+\/[0-9]+$/)){var s=t.split("/");return e(s[0])+tP(parseInt(s[1]),32)}if(t.match(/^[0-9a-f:]+$/)&&-1!==t.indexOf(":"))return tS(t);if(t.match(/^[0-9a-f:]+\/[0-9]+$/)&&-1!==t.indexOf(":")){var s=t.split("/");return tS(s[0])+tP(parseInt(s[1]),128)}throw r}}(b)}catch(t){throw new c("malformed IP address: "+e.ip+":"+t.message)}l=new o({hex:y})}else throw new c("improper params");return new s({tag:r,explicit:t,obj:l}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&this.setByParam(e)},tN(d.asn1.x509.GeneralName,d.asn1.ASN1Object),d.asn1.x509.GeneralNames=function(e){d.asn1.x509.GeneralNames.superclass.constructor.call(this);var t=d.asn1;this.setByParamArray=function(e){for(var r=0;r0){for(var r=n(e.valhex,t[0]),i=u(r,0),a=[],o=0;o1){var l=n(e.valhex,t[1]);e.polhex=l}delete e.valhex},this.setSignaturePolicyIdentifier=function(e){var t=u(e.valhex,0);if(t.length>0){var i=ts.getOID(e.valhex,t[0]);e.oid=i}if(t.length>1){var a=new tH,o=u(e.valhex,t[1]),s=n(e.valhex,o[0]),c=a.getAlgorithmIdentifierName(s);e.alg=c;var l=r(e.valhex,o[1]);e.hash=l}delete e.valhex},this.setSigningCertificateV2=function(e){var t=u(e.valhex,0);if(t.length>0){for(var r=n(e.valhex,t[0]),i=u(r,0),a=[],o=0;o1){var l=n(e.valhex,t[1]);e.polhex=l}delete e.valhex},this.getESSCertID=function(e){var t={},i=u(e,0);if(i.length>0){var a=r(e,i[0]);t.hash=a}if(i.length>1){var o=n(e,i[1]),s=this.getIssuerSerial(o);void 0!=s.serial&&(t.serial=s.serial),void 0!=s.issuer&&(t.issuer=s.issuer)}return t},this.getESSCertIDv2=function(i){var a={},o=u(i,0);if(o.length<1||3s+1){var f=n(i,o[s+1]),d=this.getIssuerSerial(f);a.issuer=d.issuer,a.serial=d.serial}return a},this.getIssuerSerial=function(e){var i={},a=u(e,0),o=n(e,a[0]),s=t.getGeneralNames(o)[0].dn;i.issuer=s;var c=r(e,a[1]);return i.serial={hex:c},i},this.getCertificateSet=function(e){for(var t=u(e,0),r=[],i=0;i=0;o--)i+=n[o];return i}if("string"==typeof e&&void 0!=a[e])return tT([e],a);if("object"==typeof e&&void 0!=e.length)return tT(e,a);throw new t("wrong params")},this.tohex=function(){this.params;var e=this.getBinValue();return new n({bin:e}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!=e&&this.setByParam(e)},tN(d.asn1.tsp.PKIFailureInfo,d.asn1.ASN1Object),d.asn1.tsp.AbstractTSAAdapter=function(e){this.getTSTHex=function(e,t){throw"not implemented yet"}},d.asn1.tsp.SimpleTSAAdapter=function(e){var t=d,r=t.asn1.tsp,n=t.crypto.Util.hashHex;r.SimpleTSAAdapter.superclass.constructor.call(this),this.params=null,this.serial=0,this.getTSTHex=function(e,t){var i=n(e,t);return this.params.econtent.content.messageImprint={alg:t,hash:i},this.params.econtent.content.serial={int:this.serial++},this.params.econtent.content.nonce={int:Math.floor(1e9*Math.random())},new r.TimeStampToken(this.params).getContentInfoEncodedHex()},void 0!==e&&(this.params=e)},tN(d.asn1.tsp.SimpleTSAAdapter,d.asn1.tsp.AbstractTSAAdapter),d.asn1.tsp.FixedTSAAdapter=function(e){var t=d,r=t.asn1.tsp,n=t.crypto.Util.hashHex;r.FixedTSAAdapter.superclass.constructor.call(this),this.params=null,this.getTSTHex=function(e,t){var i=n(e,t);return this.params.econtent.content.messageImprint={alg:t,hash:i},new r.TimeStampToken(this.params).getContentInfoEncodedHex()},void 0!==e&&(this.params=e)},tN(d.asn1.tsp.FixedTSAAdapter,d.asn1.tsp.AbstractTSAAdapter),d.asn1.tsp.TSPUtil=new function(){},d.asn1.tsp.TSPUtil.newTimeStampToken=function(e){return new d.asn1.tsp.TimeStampToken(e)},d.asn1.tsp.TSPUtil.parseTimeStampReq=function(e){return new d.asn1.tsp.TSPParser().getTimeStampReq(e)},d.asn1.tsp.TSPUtil.parseMessageImprint=function(e){return new d.asn1.tsp.TSPParser().getMessageImprint(e)},d.asn1.tsp.TSPParser=function(){var e=new tH,t=ts.getV,r=ts.getTLV,n=ts.getIdxbyList,i=(ts.getTLVbyListEx,ts.getChildIdx),a=["granted","grantedWithMods","rejection","waiting","revocationWarning","revocationNotification"],o={0:"badAlg",2:"badRequest",5:"badDataFormat",14:"timeNotAvailable",15:"unacceptedPolicy",16:"unacceptedExtension",17:"addInfoNotAvailable",25:"systemFailure"};this.getResponse=function(e){var t=i(e,0);if(1==t.length)return this.getPKIStatusInfo(r(e,t[0]));if(t.length>1){var n=this.getPKIStatusInfo(r(e,t[0])),a=r(e,t[1]),o=this.getToken(a);return o.statusinfo=n,o}},this.getToken=function(e){var t=(new d.asn1.cms.CMSParser).getCMSSignedData(e);return this.setTSTInfo(t),t},this.setTSTInfo=function(e){var t=e.econtent;if("tstinfo"==t.type){var r=t.content.hex,n=this.getTSTInfo(r);t.content=n}},this.getTSTInfo=function(n){var a={},o=i(n,0),s=t(n,o[1]);a.policy=tF(s);var u=r(n,o[2]);a.messageImprint=this.getMessageImprint(u);var c=t(n,o[3]);a.serial={hex:c};var l=t(n,o[4]);a.genTime={str:tm(l)};var f=0;if(o.length>5&&"30"==n.substr(o[5],2)){var d=r(n,o[5]);a.accuracy=this.getAccuracy(d),f++}if(o.length>5+f&&"01"==n.substr(o[5+f],2)&&("ff"==t(n,o[5+f])&&(a.ordering=!0),f++),o.length>5+f&&"02"==n.substr(o[5+f],2)){var h=t(n,o[5+f]);a.nonce={hex:h},f++}if(o.length>5+f&&"a0"==n.substr(o[5+f],2)){var p=r(n,o[5+f]);p="30"+p.substr(2);var m=(pGeneralNames=e.getGeneralNames(p))[0].dn;a.tsa=m,f++}if(o.length>5+f&&"a1"==n.substr(o[5+f],2)){var g=r(n,o[5+f]);g="30"+g.substr(2);var y=e.getExtParamArray(g);a.ext=y,f++}return a},this.getAccuracy=function(e){for(var r={},n=i(e,0),a=0;a1&&"30"==e.substr(o[1],2)){var l=r(e,o[1]);n.statusstr=this.getPKIFreeText(l),s++}if(o.length>s&&"03"==e.substr(o[1+s],2)){var f=r(e,o[1+s]);n.failinfo=this.getPKIFailureInfo(f)}return n},this.getPKIFreeText=function(e){for(var t=[],r=i(e,0),n=0;n=t)?e:Array(t-e.length+1).join(r)+e};function tT(e,t){for(var r=0,n=0;n=0;n--)a+=i[n];return a}function tN(e,t){var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e,e.superclass=t.prototype,t.prototype.constructor==Object.prototype.constructor&&(t.prototype.constructor=t)}void 0!==d&&d||(d={}),void 0!==d.crypto&&d.crypto||(d.crypto={}),d.crypto.Util=new function(){this.DIGESTINFOHEAD={sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",ripemd160:"3021300906052b2403020105000414"},this.DEFAULTPROVIDER={md5:"cryptojs",sha1:"cryptojs",sha224:"cryptojs",sha256:"cryptojs",sha384:"cryptojs",sha512:"cryptojs",ripemd160:"cryptojs",hmacmd5:"cryptojs",hmacsha1:"cryptojs",hmacsha224:"cryptojs",hmacsha256:"cryptojs",hmacsha384:"cryptojs",hmacsha512:"cryptojs",hmacripemd160:"cryptojs",MD5withRSA:"cryptojs/jsrsa",SHA1withRSA:"cryptojs/jsrsa",SHA224withRSA:"cryptojs/jsrsa",SHA256withRSA:"cryptojs/jsrsa",SHA384withRSA:"cryptojs/jsrsa",SHA512withRSA:"cryptojs/jsrsa",RIPEMD160withRSA:"cryptojs/jsrsa",MD5withECDSA:"cryptojs/jsrsa",SHA1withECDSA:"cryptojs/jsrsa",SHA224withECDSA:"cryptojs/jsrsa",SHA256withECDSA:"cryptojs/jsrsa",SHA384withECDSA:"cryptojs/jsrsa",SHA512withECDSA:"cryptojs/jsrsa",RIPEMD160withECDSA:"cryptojs/jsrsa",SHA1withDSA:"cryptojs/jsrsa",SHA224withDSA:"cryptojs/jsrsa",SHA256withDSA:"cryptojs/jsrsa",MD5withRSAandMGF1:"cryptojs/jsrsa",SHAwithRSAandMGF1:"cryptojs/jsrsa",SHA1withRSAandMGF1:"cryptojs/jsrsa",SHA224withRSAandMGF1:"cryptojs/jsrsa",SHA256withRSAandMGF1:"cryptojs/jsrsa",SHA384withRSAandMGF1:"cryptojs/jsrsa",SHA512withRSAandMGF1:"cryptojs/jsrsa",RIPEMD160withRSAandMGF1:"cryptojs/jsrsa"},this.CRYPTOJSMESSAGEDIGESTNAME={md5:b.algo.MD5,sha1:b.algo.SHA1,sha224:b.algo.SHA224,sha256:b.algo.SHA256,sha384:b.algo.SHA384,sha512:b.algo.SHA512,ripemd160:b.algo.RIPEMD160},this.getDigestInfoHex=function(e,t){if(void 0===this.DIGESTINFOHEAD[t])throw"alg not supported in Util.DIGESTINFOHEAD: "+t;return this.DIGESTINFOHEAD[t]+e},this.getPaddedDigestInfoHex=function(e,t,r){var n=this.getDigestInfoHex(e,t),i=r/4;if(n.length+22>i)throw"key is too short for SigAlg: keylen="+r+","+t;for(var a="0001",o="00"+n,s="",u=i-a.length-o.length,c=0;c=s.compareTo(E.ZERO));var u=o.modInverse(i).multiply(a.add(n.multiply(s))).mod(i);return r.biRSSigToASN1Sig(s,u)},this.sign=function(e,t){var r=this.ecparams.n,n=E.fromByteArrayUnsigned(e);do var i=this.getBigRandom(r),a=this.ecparams.G.multiply(i).getX().toBigInteger().mod(r);while(0>=a.compareTo(E.ZERO));var o=i.modInverse(r).multiply(n.add(t.multiply(a))).mod(r);return this.serializeSig(a,o)},this.verifyWithMessageHash=function(e,t){return this.verifyHex(e,t,this.pubKeyHex)},this.verifyHex=function(e,t,n){try{var i,a,o=r.parseSigHex(t);i=o.r,a=o.s;var s=ti.decodeFromHex(this.ecparams.curve,n),u=new E(e.substring(0,this.ecparams.keycharlen),16);return this.verifyRaw(u,i,a,s)}catch(e){return!1}},this.verify=function(e,t,r){if(Bitcoin.Util.isArray(t)){var n,i,a,o=this.parseSig(t);n=o.r,i=o.s}else if("object"==typeof t&&t.r&&t.s)n=t.r,i=t.s;else throw"Invalid value for signature";if(r instanceof ti)a=r;else if(Bitcoin.Util.isArray(r))a=ti.decodeFrom(this.ecparams.curve,r);else throw"Invalid format for pubkey value, must be byte array or ECPointFp";var s=E.fromByteArrayUnsigned(e);return this.verifyRaw(s,n,i,a)},this.verifyRaw=function(e,t,r,n){var i=this.ecparams.n,a=this.ecparams.G;if(0>t.compareTo(E.ONE)||t.compareTo(i)>=0||0>r.compareTo(E.ONE)||r.compareTo(i)>=0)return!1;var o=r.modInverse(i),s=e.multiply(o).mod(i),u=t.multiply(o).mod(i);return a.multiply(s).add(n.multiply(u)).getX().toBigInteger().mod(i).equals(t)},this.serializeSig=function(e,t){var r=e.toByteArraySigned(),n=t.toByteArraySigned(),i=[];return i.push(2),i.push(r.length),(i=i.concat(r)).push(2),i.push(n.length),(i=i.concat(n)).unshift(i.length),i.unshift(48),i},this.parseSig=function(e){if(48!=e[0])throw Error("Signature not a valid DERSequence");if(2!=e[t=2])throw Error("First element in signature must be a DERInteger");var t,r=e.slice(t+2,t+2+e[t+1]);if(t+=2+e[t+1],2!=e[t])throw Error("Second element in signature must be a DERInteger");var n=e.slice(t+2,t+2+e[t+1]);return t+=2+e[t+1],{r:E.fromByteArrayUnsigned(r),s:E.fromByteArrayUnsigned(n)}},this.parseSigCompact=function(e){if(65!==e.length)throw"Signature has the wrong length";var t=e[0]-27;if(t<0||t>7)throw"Invalid signature type";var r=this.ecparams.n;return{r:E.fromByteArrayUnsigned(e.slice(1,33)).mod(r),s:E.fromByteArrayUnsigned(e.slice(33,65)).mod(r),i:t}},this.readPKCS5PrvKeyHex=function(e){var t,r,n;if(!1===o(e))throw Error("not ASN.1 hex string");try{t=a(e,0,["[0]",0],"06"),r=a(e,0,[1],"04");try{n=a(e,0,["[1]",0],"03")}catch(e){}}catch(e){throw Error("malformed PKCS#1/5 plain ECC private key")}if(this.curveName=i(t),void 0===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(n),this.setPrivateKeyHex(r),this.isPublic=!1},this.readPKCS8PrvKeyHex=function(e){var r,n,s;if(!1===o(e))throw new t("not ASN.1 hex string");try{a(e,0,[1,0],"06"),r=a(e,0,[1,1],"06"),n=a(e,0,[2,0,1],"04");try{s=a(e,0,[2,0,"[1]",0],"03")}catch(e){}}catch(e){throw new t("malformed PKCS#8 plain ECC private key")}if(this.curveName=i(r),void 0===this.curveName)throw new t("unsupported curve name");this.setNamedCurve(this.curveName),this.setPublicKeyHex(s),this.setPrivateKeyHex(n),this.isPublic=!1},this.readPKCS8PubKeyHex=function(e){var r,n;if(!1===o(e))throw new t("not ASN.1 hex string");try{a(e,0,[0,0],"06"),r=a(e,0,[0,1],"06"),n=a(e,0,[1],"03")}catch(e){throw new t("malformed PKCS#8 ECC public key")}if(this.curveName=i(r),null===this.curveName)throw new t("unsupported curve name");this.setNamedCurve(this.curveName),this.setPublicKeyHex(n)},this.readCertPubKeyHex=function(e,r){var n,s;if(!1===o(e))throw new t("not ASN.1 hex string");try{n=a(e,0,[0,5,0,1],"06"),s=a(e,0,[0,5,1],"03")}catch(e){throw new t("malformed X.509 certificate ECC public key")}if(this.curveName=i(n),null===this.curveName)throw new t("unsupported curve name");this.setNamedCurve(this.curveName),this.setPublicKeyHex(s)},void 0!==e&&void 0!==e.curve&&(this.curveName=e.curve),void 0===this.curveName&&(this.curveName="secp256r1"),this.setNamedCurve(this.curveName),void 0!==e&&(void 0!==e.prv&&this.setPrivateKeyHex(e.prv),void 0!==e.pub&&this.setPublicKeyHex(e.pub))},d.crypto.ECDSA.parseSigHex=function(e){var t=d.crypto.ECDSA.parseSigHexInHexRS(e);return{r:new E(t.r,16),s:new E(t.s,16)}},d.crypto.ECDSA.parseSigHexInHexRS=function(e){var t=ts.getChildIdx,r=ts.getV;if(ts.checkStrictDER(e,0),"30"!=e.substr(0,2))throw Error("signature is not a ASN.1 sequence");var n=t(e,0);if(2!=n.length)throw Error("signature shall have two elements");var i=n[0],a=n[1];if("02"!=e.substr(i,2))throw Error("1st item not ASN.1 integer");if("02"!=e.substr(a,2))throw Error("2nd item not ASN.1 integer");return{r:r(e,i),s:r(e,a)}},d.crypto.ECDSA.asn1SigToConcatSig=function(e){var t=d.crypto.ECDSA.parseSigHexInHexRS(e),r=t.r,n=t.s;if(r.length>=130&&r.length<=134){if(r.length%2!=0)throw Error("unknown ECDSA sig r length error");if(n.length%2!=0)throw Error("unknown ECDSA sig s length error");"00"==r.substr(0,2)&&(r=r.substr(2)),"00"==n.substr(0,2)&&(n=n.substr(2));var i=Math.max(r.length,n.length);return(r=("000000"+r).slice(-i))+(n=("000000"+n).slice(-i))}if("00"==r.substr(0,2)&&r.length%32==2&&(r=r.substr(2)),"00"==n.substr(0,2)&&n.length%32==2&&(n=n.substr(2)),r.length%32==30&&(r="00"+r),n.length%32==30&&(n="00"+n),r.length%32!=0)throw Error("unknown ECDSA sig r length error");if(n.length%32!=0)throw Error("unknown ECDSA sig s length error");return r+n},d.crypto.ECDSA.concatSigToASN1Sig=function(e){if(e.length%4!=0)throw Error("unknown ECDSA concatinated r-s sig length error");var t=e.substr(0,e.length/2),r=e.substr(e.length/2);return d.crypto.ECDSA.hexRSSigToASN1Sig(t,r)},d.crypto.ECDSA.hexRSSigToASN1Sig=function(e,t){var r=new E(e,16),n=new E(t,16);return d.crypto.ECDSA.biRSSigToASN1Sig(r,n)},d.crypto.ECDSA.biRSSigToASN1Sig=function(e,t){var r=d.asn1,n=new r.DERInteger({bigint:e}),i=new r.DERInteger({bigint:t});return new r.DERSequence({array:[n,i]}).tohex()},d.crypto.ECDSA.getName=function(e){return"2b8104001f"===e?"secp192k1":"2a8648ce3d030107"===e?"secp256r1":"2b8104000a"===e?"secp256k1":"2b81040021"===e?"secp224r1":"2b81040022"===e?"secp384r1":"2b81040023"===e?"secp521r1":-1!=="|secp256r1|NIST P-256|P-256|prime256v1|".indexOf(e)?"secp256r1":-1!=="|secp256k1|".indexOf(e)?"secp256k1":-1!=="|secp224r1|NIST P-224|P-224|".indexOf(e)?"secp224r1":-1!=="|secp384r1|NIST P-384|P-384|".indexOf(e)?"secp384r1":-1!=="|secp521r1|NIST P-521|P-521|".indexOf(e)?"secp521r1":null},void 0!==d&&d||(d={}),void 0!==d.crypto&&d.crypto||(d.crypto={}),d.crypto.ECParameterDB=new function(){var e={},t={};function r(e){return new E(e,16)}this.getByName=function(r){var n=r;if(void 0!==t[n]&&(n=t[r]),void 0!==e[n])return e[n];throw"unregistered EC curve name: "+n},this.regist=function(n,i,a,o,s,u,c,l,f,d,h,p){e[n]={};var m=r(a),g=r(o),y=r(s),b=r(u),x=r(c),w=new ta(m,g,y),S=w.decodePointHex("04"+l+f);e[n].name=n,e[n].keylen=i,e[n].keycharlen=2*Math.ceil(i/8),e[n].curve=w,e[n].G=S,e[n].n=b,e[n].h=x,e[n].oid=h,e[n].info=p;for(var E=0;E1?new E(n,16):null,c=new E(i,16),this.setPrivate(a,o,s,u,c)},this.setPublic=function(e,t,r,n){this.isPublic=!0,this.p=e,this.q=t,this.g=r,this.y=n,this.x=null},this.setPublicHex=function(e,t,r,n){var i,a,o,s;i=new E(e,16),a=new E(t,16),o=new E(r,16),s=new E(n,16),this.setPublic(i,a,o,s)},this.signWithMessageHash=function(e){var t=this.p,r=this.q,n=this.g;this.y;var i=this.x,a=d.crypto.Util.getRandomBigIntegerMinToMax(E.ONE.add(E.ONE),r.subtract(E.ONE)),o=e.substr(0,r.bitLength()/4),s=new E(o,16),u=n.modPow(a,t).mod(r),c=a.modInverse(r).multiply(s.add(i.multiply(u))).mod(r);return d.asn1.ASN1Util.jsonToASN1HEX({seq:[{int:{bigint:u}},{int:{bigint:c}}]})},this.verifyWithMessageHash=function(e,t){var r=this.p,n=this.q,i=this.g,a=this.y,o=this.parseASN1Signature(t),s=o[0],u=o[1],c=e.substr(0,n.bitLength()/4),l=new E(c,16);if(E.ZERO.compareTo(s)>0||s.compareTo(n)>0||E.ZERO.compareTo(u)>=0||u.compareTo(n)>0)throw"invalid DSA signature";var f=u.modInverse(n),d=l.multiply(f).mod(n),h=s.multiply(f).mod(n);return 0==i.modPow(d,r).multiply(a.modPow(h,r)).mod(r).mod(n).compareTo(s)},this.parseASN1Signature=function(t){try{var r=new E(e(t,0,[0],"02"),16),n=new E(e(t,0,[1],"02"),16);return[r,n]}catch(e){throw Error("malformed ASN.1 DSA signature")}},this.readPKCS5PrvKeyHex=function(r){var n,i,a,o,s;if(!1===t(r))throw Error("not ASN.1 hex string");try{n=e(r,0,[1],"02"),i=e(r,0,[2],"02"),a=e(r,0,[3],"02"),o=e(r,0,[4],"02"),s=e(r,0,[5],"02")}catch(e){throw Error("malformed PKCS#1/5 plain DSA private key")}this.setPrivateHex(n,i,a,o,s)},this.readPKCS8PrvKeyHex=function(r){var n,i,a,o;if(!1===t(r))throw Error("not ASN.1 hex string");try{n=e(r,0,[1,1,0],"02"),i=e(r,0,[1,1,1],"02"),a=e(r,0,[1,1,2],"02"),o=e(r,0,[2,0],"02")}catch(e){throw Error("malformed PKCS#8 plain DSA private key")}this.setPrivateHex(n,i,a,null,o)},this.readPKCS8PubKeyHex=function(r){var n,i,a,o;if(!1===t(r))throw Error("not ASN.1 hex string");try{n=e(r,0,[0,1,0],"02"),i=e(r,0,[0,1,1],"02"),a=e(r,0,[0,1,2],"02"),o=e(r,0,[1,0],"02")}catch(e){throw Error("malformed PKCS#8 DSA public key")}this.setPublicHex(n,i,a,o)},this.readCertPubKeyHex=function(r,n){var i,a,o,s;if(!1===t(r))throw Error("not ASN.1 hex string");try{i=e(r,0,[0,5,0,1,0],"02"),a=e(r,0,[0,5,0,1,1],"02"),o=e(r,0,[0,5,0,1,2],"02"),s=e(r,0,[0,5,1,0],"02")}catch(e){throw Error("malformed X.509 certificate DSA public key")}this.setPublicHex(i,a,o,s)}};var tD=(n=function(e,t,r){return i(b.AES,e,t,r)},i=function(e,t,r,n){var i=b.enc.Hex.parse(t),a=b.enc.Hex.parse(r),o=b.enc.Hex.parse(n),s={};s.key=a,s.iv=o,s.ciphertext=i;var u=e.decrypt(s,a,{iv:o});return b.enc.Hex.stringify(u)},a=function(e,t,r){return o(b.AES,e,t,r)},o=function(e,t,r,n){var i=b.enc.Hex.parse(t),a=b.enc.Hex.parse(r),o=b.enc.Hex.parse(n),s=e.encrypt(i,a,{iv:o}),u=b.enc.Hex.parse(s.toString());return b.enc.Base64.stringify(u)},s={"AES-256-CBC":{proc:n,eproc:a,keylen:32,ivlen:16},"AES-192-CBC":{proc:n,eproc:a,keylen:24,ivlen:16},"AES-128-CBC":{proc:n,eproc:a,keylen:16,ivlen:16},"DES-EDE3-CBC":{proc:function(e,t,r){return i(b.TripleDES,e,t,r)},eproc:function(e,t,r){return o(b.TripleDES,e,t,r)},keylen:24,ivlen:8},"DES-CBC":{proc:function(e,t,r){return i(b.DES,e,t,r)},eproc:function(e,t,r){return o(b.DES,e,t,r)},keylen:8,ivlen:8}},u=function(e){var t=b.lib.WordArray.random(e);return b.enc.Hex.stringify(t)},c=function(e){var t={},r=e.match(RegExp("DEK-Info: ([^,]+),([0-9A-Fa-f]+)","m"));r&&(t.cipher=r[1],t.ivsalt=r[2]);var n=e.match(RegExp("-----BEGIN ([A-Z]+) PRIVATE KEY-----"));n&&(t.type=n[1]);var i=-1,a=0;-1!=e.indexOf("\r\n\r\n")&&(i=e.indexOf("\r\n\r\n"),a=2),-1!=e.indexOf("\n\n")&&(i=e.indexOf("\n\n"),a=1);var o=e.indexOf("-----END");if(-1!=i&&-1!=o){var s=e.substring(i+2*a,o-a);s=s.replace(/\s+/g,""),t.data=s}return t},l=function(e,t,r){for(var n=r.substring(0,16),i=b.enc.Hex.parse(n),a=b.enc.Utf8.parse(t),o=s[e].keylen+s[e].ivlen,u="",c=null;;){var l=b.algo.MD5.create();if(null!=c&&l.update(c),l.update(a),l.update(i),c=l.finalize(),(u+=b.enc.Hex.stringify(c)).length>=2*o)break}var f={};return f.keyhex=u.substr(0,2*s[e].keylen),f.ivhex=u.substr(2*s[e].keylen,2*s[e].ivlen),f},f=function(e,t,r,n){var i=b.enc.Base64.parse(e),a=b.enc.Hex.stringify(i);return(0,s[t].proc)(a,r,n)},{version:"1.0.0",parsePKCS5PEM:function(e){return c(e)},getKeyAndUnusedIvByPasscodeAndIvsalt:function(e,t,r){return l(e,t,r)},decryptKeyB64:function(e,t,r,n){return f(e,t,r,n)},getDecryptedKeyHex:function(e,t){var r=c(e);r.type;var n=r.cipher,i=r.ivsalt,a=r.data,o=l(n,t,i).keyhex;return f(a,n,o,i)},getEncryptedPKCS5PEMFromPrvKeyHex:function(e,t,r,n,i){var a,o,c="";if((void 0===n||null==n)&&(n="AES-256-CBC"),void 0===s[n])throw Error("KEYUTIL unsupported algorithm: "+n);(void 0===i||null==i)&&(i=u(s[n].ivlen).toUpperCase());var f=l(n,r,i).keyhex,d=(a=n,o=i,(0,s[a].eproc)(t,f,o)).replace(/(.{64})/g,"$1\r\n"),c="-----BEGIN "+e+" PRIVATE KEY-----\r\n";return c+("Proc-Type: 4,ENCRYPTED\r\n"+("DEK-Info: "+n+",")+i+"\r\n\r\n"+d+"\r\n-----END "+e)+" PRIVATE KEY-----\r\n"},parseHexOfEncryptedPKCS8:function(e){var t=ts.getChildIdx,r=ts.getV,n={},i=t(e,0);if(2!=i.length)throw Error("malformed format: SEQUENCE(0).items != 2: "+i.length);n.ciphertext=r(e,i[1]);var a=t(e,i[0]);if(2!=a.length)throw Error("malformed format: SEQUENCE(0.0).items != 2: "+a.length);if("2a864886f70d01050d"!=r(e,a[0]))throw Error("this only supports pkcs5PBES2");var o=t(e,a[1]);if(2!=a.length)throw Error("malformed format: SEQUENCE(0.0.1).items != 2: "+o.length);var s=t(e,o[1]);if(2!=s.length)throw Error("malformed format: SEQUENCE(0.0.1.1).items != 2: "+s.length);if("2a864886f70d0307"!=r(e,s[0]))throw"this only supports TripleDES";n.encryptionSchemeAlg="TripleDES",n.encryptionSchemeIV=r(e,s[1]);var u=t(e,o[0]);if(2!=u.length)throw Error("malformed format: SEQUENCE(0.0.1.0).items != 2: "+u.length);if("2a864886f70d01050c"!=r(e,u[0]))throw Error("this only supports pkcs5PBKDF2");var c=t(e,u[1]);if(c.length<2)throw Error("malformed format: SEQUENCE(0.0.1.0.1).items < 2: "+c.length);n.pbkdf2Salt=r(e,c[0]);var l=r(e,c[1]);try{n.pbkdf2Iter=parseInt(l,16)}catch(e){throw Error("malformed format pbkdf2Iter: "+l)}return n},getPBKDF2KeyHexFromParam:function(e,t){var r=b.enc.Hex.parse(e.pbkdf2Salt),n=e.pbkdf2Iter,i=b.PBKDF2(t,r,{keySize:6,iterations:n});return b.enc.Hex.stringify(i)},_getPlainPKCS8HexFromEncryptedPKCS8PEM:function(e,t){var r=tb(e,"ENCRYPTED PRIVATE KEY"),n=this.parseHexOfEncryptedPKCS8(r),i=tD.getPBKDF2KeyHexFromParam(n,t),a={};a.ciphertext=b.enc.Hex.parse(n.ciphertext);var o=b.enc.Hex.parse(i),s=b.enc.Hex.parse(n.encryptionSchemeIV),u=b.TripleDES.decrypt(a,o,{iv:s});return b.enc.Hex.stringify(u)},getKeyFromEncryptedPKCS8PEM:function(e,t){var r=this._getPlainPKCS8HexFromEncryptedPKCS8PEM(e,t);return this.getKeyFromPlainPrivatePKCS8Hex(r)},parsePlainPrivatePKCS8Hex:function(e){var t=ts.getChildIdx,r=ts.getV,n={};if(n.algparam=null,"30"!=e.substr(0,2))throw Error("malformed plain PKCS8 private key(code:001)");var i=t(e,0);if(i.length<3)throw Error("malformed plain PKCS8 private key(code:002)");if("30"!=e.substr(i[1],2))throw Error("malformed PKCS8 private key(code:003)");var a=t(e,i[1]);if(2!=a.length)throw Error("malformed PKCS8 private key(code:004)");if("06"!=e.substr(a[0],2))throw Error("malformed PKCS8 private key(code:005)");if(n.algoid=r(e,a[0]),"06"==e.substr(a[1],2)&&(n.algparam=r(e,a[1])),"04"!=e.substr(i[2],2))throw Error("malformed PKCS8 private key(code:006)");return n.keyidx=ts.getVidx(e,i[2]),n},getKeyFromPlainPrivatePKCS8PEM:function(e){var t=tb(e,"PRIVATE KEY");return this.getKeyFromPlainPrivatePKCS8Hex(t)},getKeyFromPlainPrivatePKCS8Hex:function(e){var t,r=this.parsePlainPrivatePKCS8Hex(e);if("2a864886f70d010101"==r.algoid)t=new tt;else if("2a8648ce380401"==r.algoid)t=new d.crypto.DSA;else if("2a8648ce3d0201"==r.algoid)t=new d.crypto.ECDSA;else throw Error("unsupported private key algorithm");return t.readPKCS8PrvKeyHex(e),t},_getKeyFromPublicPKCS8Hex:function(e){var t,r=ts.getVbyList(e,0,[0,0],"06");if("2a864886f70d010101"===r)t=new tt;else if("2a8648ce380401"===r)t=new d.crypto.DSA;else if("2a8648ce3d0201"===r)t=new d.crypto.ECDSA;else throw Error("unsupported PKCS#8 public key hex");return t.readPKCS8PubKeyHex(e),t},parsePublicRawRSAKeyHex:function(e){var t=ts.getChildIdx,r=ts.getV,n={};if("30"!=e.substr(0,2))throw Error("malformed RSA key(code:001)");var i=t(e,0);if(2!=i.length)throw Error("malformed RSA key(code:002)");if("02"!=e.substr(i[0],2))throw Error("malformed RSA key(code:003)");if(n.n=r(e,i[0]),"02"!=e.substr(i[1],2))throw Error("malformed RSA key(code:004)");return n.e=r(e,i[1]),n},parsePublicPKCS8Hex:function(e){var t=ts.getChildIdx,r=ts.getV,n={};n.algparam=null;var i=t(e,0);if(2!=i.length)throw Error("outer DERSequence shall have 2 elements: "+i.length);var a=i[0];if("30"!=e.substr(a,2))throw Error("malformed PKCS8 public key(code:001)");var o=t(e,a);if(2!=o.length)throw Error("malformed PKCS8 public key(code:002)");if("06"!=e.substr(o[0],2))throw Error("malformed PKCS8 public key(code:003)");if(n.algoid=r(e,o[0]),"06"==e.substr(o[1],2)?n.algparam=r(e,o[1]):"30"==e.substr(o[1],2)&&(n.algparam={},n.algparam.p=ts.getVbyList(e,o[1],[0],"02"),n.algparam.q=ts.getVbyList(e,o[1],[1],"02"),n.algparam.g=ts.getVbyList(e,o[1],[2],"02")),"03"!=e.substr(i[1],2))throw Error("malformed PKCS8 public key(code:004)");return n.key=r(e,i[1]).substr(2),n}});function tM(e,t){for(var r="",n=t/4-e.length,i=0;i>24,(16711680&i)>>16,(65280&i)>>8,255&i])))),i+=1;return n}function tB(e){for(var t in d.crypto.Util.DIGESTINFOHEAD){var r=d.crypto.Util.DIGESTINFOHEAD[t],n=r.length;if(e.substring(0,n)==r)return[t,e.substring(n)]}return[]}function tH(e){var t,r=ts.getChildIdx,n=ts.getV,i=(ts.dump,ts.parse),a=ts.getTLV,o=ts.getVbyList,s=ts.getVbyListEx,u=ts.getTLVbyList,c=ts.getTLVbyListEx,l=ts.getIdxbyList,f=ts.getIdxbyListEx,h=ts.getVidx,p=ts.getInt,m=ts.oidname,g=ts.hextooidstr;try{t=d.asn1.x509.AlgorithmIdentifier.PSSNAME2ASN1TLV}catch(e){}this.HEX2STAG={"0c":"utf8",13:"prn",16:"ia5","1a":"vis","1e":"bmp"},this.hex=null,this.version=0,this.foffset=0,this.aExtInfo=null,this.getVersion=function(){if(null===this.hex||0!==this.version)return this.version;var e=u(this.hex,0,[0,0]);if("a0"!=e.substr(0,2))return this.version=1,this.foffset=-1,1;var t=p(u(e,0,[0]),0);if(t<0||21){var s=a(e,o[1]),u=this.getGeneralName(s);void 0!=u.uri&&(i.uri=u.uri)}if(o.length>2){var c=a(e,o[2]);"0101ff"==c&&(i.reqauth=!0),"010100"==c&&(i.reqauth=!1)}return i};var y=function(e){var t={};try{var r=e.seq[0].oid,n=d.asn1.x509.OID.name2oid(r);t.type=d.asn1.x509.OID.oid2atype(n);var i=e.seq[1];if(void 0!=i.utf8str)t.ds="utf8",t.value=i.utf8str.str;else if(void 0!=i.numstr)t.ds="num",t.value=i.numstr.str;else if(void 0!=i.telstr)t.ds="tel",t.value=i.telstr.str;else if(void 0!=i.prnstr)t.ds="prn",t.value=i.prnstr.str;else if(void 0!=i.ia5str)t.ds="ia5",t.value=i.ia5str.str;else if(void 0!=i.visstr)t.ds="vis",t.value=i.visstr.str;else if(void 0!=i.bmpstr)t.ds="bmp",t.value=i.bmpstr.str;else throw"error";return t}catch(e){throw new Erorr("improper ASN.1 parsed AttrTypeAndValue")}},b=function(e){try{return e.set.map(function(e){return y(e)})}catch(e){throw Error("improper ASN.1 parsed RDN: "+e)}},x=function(e){try{return e.seq.map(function(e){return b(e)})}catch(e){throw Error("improper ASN.1 parsed X500Name: "+e)}};this.getX500NameRule=function(e){for(var t=null,r=[],n=0;n0&&(t.ext=this.getExtParamArray()),t.sighex=this.getSignatureValueHex(),"object"==typeof e&&(!0==e.tbshex&&(t.tbshex=u(this.hex,0,[0])),!0==e.nodnarray&&(delete t.issuer.array,delete t.subject.array)),t},this.getExtParamArray=function(e){void 0==e&&-1!=f(this.hex,0,[0,"[3]"])&&(e=c(this.hex,0,[0,"[3]",0],"30"));for(var t=[],n=r(e,0),i=0;i2&&"04"===e.substr(b[1],2))(l=new s).readPKCS5PrvKeyHex(e);else throw Error("unsupported PKCS#1/5 hexadecimal key");return l}if("pkcs8prv"===r){var l=tD.getKeyFromPlainPrivatePKCS8Hex(e);return l}if("pkcs8pub"===r)return tD._getKeyFromPublicPKCS8Hex(e);if("x509pub"===r)return tH.getPublicKeyFromCertHex(e);if(-1!=e.indexOf("-END CERTIFICATE-",0)||-1!=e.indexOf("-END X509 CERTIFICATE-",0)||-1!=e.indexOf("-END TRUSTED CERTIFICATE-",0))return tH.getPublicKeyFromCertPEM(e);if(-1!=e.indexOf("-END PUBLIC KEY-")){var x=tb(e,"PUBLIC KEY");return tD._getKeyFromPublicPKCS8Hex(x)}if(-1!=e.indexOf("-END RSA PRIVATE KEY-")&&-1==e.indexOf("4,ENCRYPTED")){var w=c(e,"RSA PRIVATE KEY");return tD.getKey(w,null,"pkcs5prv")}if(-1!=e.indexOf("-END DSA PRIVATE KEY-")&&-1==e.indexOf("4,ENCRYPTED")){var S=c(e,"DSA PRIVATE KEY"),A=a(S,0,[1],"02"),C=a(S,0,[2],"02"),P=a(S,0,[3],"02"),O=a(S,0,[4],"02"),_=a(S,0,[5],"02"),l=new u;return l.setPrivate(new E(A,16),new E(C,16),new E(P,16),new E(O,16),new E(_,16)),l}if(-1!=e.indexOf("-END EC PRIVATE KEY-")&&-1==e.indexOf("4,ENCRYPTED")){var w=c(e,"EC PRIVATE KEY");return tD.getKey(w,null,"pkcs5prv")}if(-1!=e.indexOf("-END PRIVATE KEY-"))return tD.getKeyFromPlainPrivatePKCS8PEM(e);if(-1!=e.indexOf("-END RSA PRIVATE KEY-")&&-1!=e.indexOf("4,ENCRYPTED")){var k=tD.getDecryptedKeyHex(e,t),R=new tt;return R.readPKCS5PrvKeyHex(k),R}if(-1!=e.indexOf("-END EC PRIVATE KEY-")&&-1!=e.indexOf("4,ENCRYPTED")){var S=tD.getDecryptedKeyHex(e,t),l=a(S,0,[1],"04"),j=a(S,0,[2,0],"06"),F=a(S,0,[3,0],"03").substr(2),I="";if(void 0!==d.crypto.OID.oidhex2name[j])I=d.crypto.OID.oidhex2name[j];else throw Error("undefined OID(hex) in KJUR.crypto.OID: "+j);var f=new s({curve:I});return f.setPublicKeyHex(F),f.setPrivateKeyHex(l),f.isPublic=!1,f}if(-1!=e.indexOf("-END DSA PRIVATE KEY-")&&-1!=e.indexOf("4,ENCRYPTED")){var S=tD.getDecryptedKeyHex(e,t),A=a(S,0,[1],"02"),C=a(S,0,[2],"02"),P=a(S,0,[3],"02"),O=a(S,0,[4],"02"),_=a(S,0,[5],"02"),l=new u;return l.setPrivate(new E(A,16),new E(C,16),new E(P,16),new E(O,16),new E(_,16)),l}if(-1!=e.indexOf("-END ENCRYPTED PRIVATE KEY-"))return tD.getKeyFromEncryptedPKCS8PEM(e,t);throw Error("not supported argument")},tD.generateKeypair=function(e,t){if("RSA"==e){var r=new tt;r.generate(t,"10001"),r.isPrivate=!0,r.isPublic=!0;var n=new tt,i=r.n.toString(16),a=r.e.toString(16);n.setPublic(i,a),n.isPrivate=!1,n.isPublic=!0;var o={};return o.prvKeyObj=r,o.pubKeyObj=n,o}if("EC"==e){var s=new d.crypto.ECDSA({curve:t}).generateKeyPairHex(),r=new d.crypto.ECDSA({curve:t});r.setPublicKeyHex(s.ecpubhex),r.setPrivateKeyHex(s.ecprvhex),r.isPrivate=!0,r.isPublic=!1;var n=new d.crypto.ECDSA({curve:t});n.setPublicKeyHex(s.ecpubhex),n.isPrivate=!1,n.isPublic=!0;var o={};return o.prvKeyObj=r,o.pubKeyObj=n,o}throw Error("unknown algorithm: "+e)},tD.getPEM=function(e,t,r,n,i,a){var o=d,s=o.asn1,u=s.DERObjectIdentifier,c=s.DERInteger,l=s.ASN1Util.newObject,f=s.x509.SubjectPublicKeyInfo,h=o.crypto,p=h.DSA,m=h.ECDSA;function g(e){return l({seq:[{int:0},{int:{bigint:e.n}},{int:e.e},{int:{bigint:e.d}},{int:{bigint:e.p}},{int:{bigint:e.q}},{int:{bigint:e.dmp1}},{int:{bigint:e.dmq1}},{int:{bigint:e.coeff}}]})}function y(e){return l({seq:[{int:1},{octstr:{hex:e.prvKeyHex}},{tag:["a0",!0,{oid:{name:e.curveName}}]},{tag:["a1",!0,{bitstr:{hex:"00"+e.pubKeyHex}}]}]})}function x(e){return l({seq:[{int:0},{int:{bigint:e.p}},{int:{bigint:e.q}},{int:{bigint:e.g}},{int:{bigint:e.y}},{int:{bigint:e.x}}]})}if((void 0!==tt&&e instanceof tt||void 0!==p&&e instanceof p||void 0!==m&&e instanceof m)&&!0==e.isPublic&&(void 0===t||"PKCS8PUB"==t)){var w=new f(e),S=w.tohex();return ty(S,"PUBLIC KEY")}if("PKCS1PRV"==t&&void 0!==tt&&e instanceof tt&&(void 0===r||null==r)&&!0==e.isPrivate){var w=g(e),S=w.tohex();return ty(S,"RSA PRIVATE KEY")}if("PKCS1PRV"==t&&void 0!==m&&e instanceof m&&(void 0===r||null==r)&&!0==e.isPrivate){var E=new u({name:e.curveName}).tohex(),A=y(e).tohex();return""+(ty(E,"EC PARAMETERS")+ty(A,"EC PRIVATE KEY"))}if("PKCS1PRV"==t&&void 0!==p&&e instanceof p&&(void 0===r||null==r)&&!0==e.isPrivate){var w=x(e),S=w.tohex();return ty(S,"DSA PRIVATE KEY")}if("PKCS5PRV"==t&&void 0!==tt&&e instanceof tt&&void 0!==r&&null!=r&&!0==e.isPrivate){var w=g(e),S=w.tohex();return void 0===n&&(n="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("RSA",S,r,n,a)}if("PKCS5PRV"==t&&void 0!==m&&e instanceof m&&void 0!==r&&null!=r&&!0==e.isPrivate){var w=y(e),S=w.tohex();return void 0===n&&(n="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("EC",S,r,n,a)}if("PKCS5PRV"==t&&void 0!==p&&e instanceof p&&void 0!==r&&null!=r&&!0==e.isPrivate){var w=x(e),S=w.tohex();return void 0===n&&(n="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("DSA",S,r,n,a)}var C=function(e,t){var r=P(e,t);return new l({seq:[{seq:[{oid:{name:"pkcs5PBES2"}},{seq:[{seq:[{oid:{name:"pkcs5PBKDF2"}},{seq:[{octstr:{hex:r.pbkdf2Salt}},{int:r.pbkdf2Iter}]}]},{seq:[{oid:{name:"des-EDE3-CBC"}},{octstr:{hex:r.encryptionSchemeIV}}]}]}]},{octstr:{hex:r.ciphertext}}]}).tohex()},P=function(e,t){var r=b.lib.WordArray.random(8),n=b.lib.WordArray.random(8),i=b.PBKDF2(t,r,{keySize:6,iterations:100}),a=b.enc.Hex.parse(e),o=b.TripleDES.encrypt(a,i,{iv:n})+"",s={};return s.ciphertext=o,s.pbkdf2Salt=b.enc.Hex.stringify(r),s.pbkdf2Iter=100,s.encryptionSchemeAlg="DES-EDE3-CBC",s.encryptionSchemeIV=b.enc.Hex.stringify(n),s};if("PKCS8PRV"==t&&void 0!=tt&&e instanceof tt&&!0==e.isPrivate){var O=g(e),_=O.tohex(),w=l({seq:[{int:0},{seq:[{oid:{name:"rsaEncryption"}},{null:!0}]},{octstr:{hex:_}}]}),S=w.tohex();if(void 0===r||null==r)return ty(S,"PRIVATE KEY");var A=C(S,r);return ty(A,"ENCRYPTED PRIVATE KEY")}if("PKCS8PRV"==t&&void 0!==m&&e instanceof m&&!0==e.isPrivate){var k={seq:[{int:1},{octstr:{hex:e.prvKeyHex}}]};"string"==typeof e.pubKeyHex&&k.seq.push({tag:["a1",!0,{bitstr:{hex:"00"+e.pubKeyHex}}]});var O=new l(k),_=O.tohex(),w=l({seq:[{int:0},{seq:[{oid:{name:"ecPublicKey"}},{oid:{name:e.curveName}}]},{octstr:{hex:_}}]}),S=w.tohex();if(void 0===r||null==r)return ty(S,"PRIVATE KEY");var A=C(S,r);return ty(A,"ENCRYPTED PRIVATE KEY")}if("PKCS8PRV"==t&&void 0!==p&&e instanceof p&&!0==e.isPrivate){var O=new c({bigint:e.x}),_=O.tohex(),w=l({seq:[{int:0},{seq:[{oid:{name:"dsa"}},{seq:[{int:{bigint:e.p}},{int:{bigint:e.q}},{int:{bigint:e.g}}]}]},{octstr:{hex:_}}]}),S=w.tohex();if(void 0===r||null==r)return ty(S,"PRIVATE KEY");var A=C(S,r);return ty(A,"ENCRYPTED PRIVATE KEY")}throw Error("unsupported object nor format")},tD.getKeyFromCSRPEM=function(e){var t=tb(e,"CERTIFICATE REQUEST");return tD.getKeyFromCSRHex(t)},tD.getKeyFromCSRHex=function(e){var t=tD.parseCSRHex(e);return tD.getKey(t.p8pubkeyhex,null,"pkcs8pub")},tD.parseCSRHex=function(e){var t=ts.getChildIdx,r=ts.getTLV,n={};if("30"!=e.substr(0,2))throw Error("malformed CSR(code:001)");var i=t(e,0);if(i.length<1)throw Error("malformed CSR(code:002)");if("30"!=e.substr(i[0],2))throw Error("malformed CSR(code:003)");var a=t(e,i[0]);if(a.length<3)throw Error("malformed CSR(code:004)");return n.p8pubkeyhex=r(e,a[2]),n},tD.getKeyID=function(e){"string"==typeof e&&-1!=e.indexOf("BEGIN ")&&(e=tD.getKey(e));var t=tb(tD.getPEM(e)),r=ts.getIdxbyList(t,0,[1]),n=ts.getV(t,r).substring(2);return d.crypto.Util.hashHex(n,"sha1")},tD.getJWK=function(e,t,r,n,i){var a,o,s={},u=d.crypto.Util.hashHex;if("string"==typeof e)a=tD.getKey(e),-1!=e.indexOf("CERTIFICATE")&&(o=tb(e));else if("object"==typeof e)e instanceof tH?(a=e.getPublicKey(),o=e.hex):a=e;else throw Error("unsupported keyinfo type");if(a instanceof tt&&a.isPrivate)s.kty="RSA",s.n=td(a.n.toString(16)),s.e=td(a.e.toString(16)),s.d=td(a.d.toString(16)),s.p=td(a.p.toString(16)),s.q=td(a.q.toString(16)),s.dp=td(a.dmp1.toString(16)),s.dq=td(a.dmq1.toString(16)),s.qi=td(a.coeff.toString(16));else if(a instanceof tt&&a.isPublic)s.kty="RSA",s.n=td(a.n.toString(16)),s.e=td(a.e.toString(16));else if(a instanceof d.crypto.ECDSA&&a.isPrivate){var c=a.getShortNISTPCurveName();if("P-256"!==c&&"P-384"!==c&&"P-521"!==c)throw Error("unsupported curve name for JWT: "+c);var l=a.getPublicKeyXYHex();s.kty="EC",s.crv=c,s.x=td(l.x),s.y=td(l.y),s.d=td(a.prvKeyHex)}else if(a instanceof d.crypto.ECDSA&&a.isPublic){var c=a.getShortNISTPCurveName();if("P-256"!==c&&"P-384"!==c&&"P-521"!==c)throw Error("unsupported curve name for JWT: "+c);var l=a.getPublicKeyXYHex();s.kty="EC",s.crv=c,s.x=td(l.x),s.y=td(l.y)}if(void 0==s.kty)throw Error("unsupported keyinfo");return a.isPrivate||!0==t||(s.kid=d.jws.JWS.getJWKthumbprint(s)),void 0!=o&&!0!=r&&(s.x5c=[w(o)]),void 0!=o&&!0!=n&&(s.x5t=tl(w(u(o,"sha1")))),void 0!=o&&!0!=i&&(s["x5t#S256"]=tl(w(u(o,"sha256")))),s},tD.getJWKFromKey=function(e){return tD.getJWK(e,!0,!0,!0,!0)},tt.getPosArrayOfChildrenFromHex=function(e){return ts.getChildIdx(e,0)},tt.getHexValueArrayOfChildrenFromHex=function(e){var t=ts.getV,r=tt.getPosArrayOfChildrenFromHex(e),n=t(e,r[0]),i=t(e,r[1]),a=t(e,r[2]),o=t(e,r[3]),s=t(e,r[4]),u=t(e,r[5]),c=t(e,r[6]),l=t(e,r[7]),f=t(e,r[8]),r=[];return r.push(n,i,a,o,s,u,c,l,f),r},tt.prototype.readPrivateKeyFromPEMString=function(e){var t=tb(e),r=tt.getHexValueArrayOfChildrenFromHex(t);this.setPrivateEx(r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8])},tt.prototype.readPKCS5PrvKeyHex=function(e){var t=tt.getHexValueArrayOfChildrenFromHex(e);this.setPrivateEx(t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8])},tt.prototype.readPKCS8PrvKeyHex=function(e){var t,r,n,i,a,o,s,u,c=ts.getVbyListEx;if(!1===ts.isASN1HEX(e))throw Error("not ASN.1 hex string");try{t=c(e,0,[2,0,1],"02"),r=c(e,0,[2,0,2],"02"),n=c(e,0,[2,0,3],"02"),i=c(e,0,[2,0,4],"02"),a=c(e,0,[2,0,5],"02"),o=c(e,0,[2,0,6],"02"),s=c(e,0,[2,0,7],"02"),u=c(e,0,[2,0,8],"02")}catch(e){throw Error("malformed PKCS#8 plain RSA private key")}this.setPrivateEx(t,r,n,i,a,o,s,u)},tt.prototype.readPKCS5PubKeyHex=function(e){var t=ts.getV;if(!1===ts.isASN1HEX(e))throw Error("keyHex is not ASN.1 hex string");var r=ts.getChildIdx(e,0);if(2!==r.length||"02"!==e.substr(r[0],2)||"02"!==e.substr(r[1],2))throw Error("wrong hex for PKCS#5 public key");var n=t(e,r[0]),i=t(e,r[1]);this.setPublic(n,i)},tt.prototype.readPKCS8PubKeyHex=function(e){if(!1===ts.isASN1HEX(e))throw Error("not ASN.1 hex string");if("06092a864886f70d010101"!==ts.getTLVbyListEx(e,0,[0,0]))throw Error("not PKCS8 RSA public key");var t=ts.getTLVbyListEx(e,0,[1,0]);this.readPKCS5PubKeyHex(t)},tt.prototype.readCertPubKeyHex=function(e,t){var r,n;(r=new tH).readCertHex(e),n=r.getPublicKeyHex(),this.readPKCS8PubKeyHex(n)},tt.prototype.sign=function(e,t){var r=d.crypto.Util.hashString(e,t);return this.signWithMessageHash(r,t)},tt.prototype.signWithMessageHash=function(e,t){var r=d.crypto.Util.getPaddedDigestInfoHex(e,t,this.n.bitLength()),n=e7(r,16);return tM(this.doPrivate(n).toString(16),this.n.bitLength())},tt.prototype.signPSS=function(e,t,r){var n,i=(n=tg(e),d.crypto.Util.hashHex(n,t));return void 0===r&&(r=-1),this.signWithMessageHashPSS(i,t,r)},tt.prototype.signWithMessageHashPSS=function(e,t,r){var n,i=tv(e),a=i.length,o=this.n.bitLength()-1,s=Math.ceil(o/8),u=function(e){return d.crypto.Util.hashHex(e,t)};if(-1===r||void 0===r)r=a;else if(-2===r)r=s-a-2;else if(r<-2)throw Error("invalid salt length");if(s0&&(c=Array(r),new e9().nextBytes(c),c=String.fromCharCode.apply(String,c));var l=tv(u(tg("\x00\x00\x00\x00\x00\x00\x00\x00"+i+c))),f=[];for(n=0;n>8*s-o&255),n=0;nn)return!1;var i=this.doPublic(r).toString(16);if(i.length+3!=n/4)return!1;var a=tB(i.replace(/^1f+00/,""));if(0==a.length)return!1;var o=a[0],s=a[1],u=d.crypto.Util.hashString(e,o);return s==u},tt.prototype.verifyWithMessageHash=function(e,t){if(t.length!=Math.ceil(this.n.bitLength()/4))return!1;var r=e7(t,16);if(r.bitLength()>this.n.bitLength())return 0;var n=tB(this.doPublic(r).toString(16).replace(/^1f+00/,""));return 0!=n.length&&(n[0],n[1]==e)},tt.prototype.verifyPSS=function(e,t,r,n){var i,a=(i=tg(e),d.crypto.Util.hashHex(i,r));return void 0===n&&(n=-1),this.verifyWithMessageHashPSS(a,t,r,n)},tt.prototype.verifyWithMessageHashPSS=function(e,t,r,n){if(t.length!=Math.ceil(this.n.bitLength()/4))return!1;var i,a=new E(t,16),o=function(e){return d.crypto.Util.hashHex(e,r)},s=tv(e),u=s.length,c=this.n.bitLength()-1,l=Math.ceil(c/8);if(-1===n||void 0===n)n=u;else if(-2===n)n=l-u-2;else if(n<-2)throw Error("invalid salt length");if(l>8*l-c&255;if((h.charCodeAt(0)&m)!=0)throw Error("bits beyond keysize not zero");var g=tL(p,h.length,o),y=[];for(i=0;i0&&-1==(":"+r.join(":")+":").indexOf(":"+g+":"))throw"algorithm '"+g+"' not accepted in the list";if("none"!=g&&null===t)throw"key shall be specified to verify.";if("string"==typeof t&&-1!=t.indexOf("-----BEGIN ")&&(t=tD.getKey(t)),("RS"==y||"PS"==y)&&!(t instanceof tt))throw"key shall be a RSAKey obj for RS* and PS* algs";if("ES"==y&&!(t instanceof s))throw"key shall be a ECDSA obj for ES* algs";var b=null;if(void 0===i.jwsalg2sigalg[m.alg])throw"unsupported alg name: "+g;if("none"==(b=i.jwsalg2sigalg[g]))throw"not supported";if("Hmac"==b.substr(0,4)){if(void 0===t)throw"hexadecimal key shall be specified for HMAC";var x=new u({alg:b,pass:t});return x.updateString(f),h==x.doFinal()}if(-1!=b.indexOf("withECDSA")){var w=null;try{w=s.concatSigToASN1Sig(h)}catch(e){return!1}var S=new c({alg:b});return S.init(t),S.updateString(f),S.verify(w)}var S=new c({alg:b});return S.init(t),S.updateString(f),S.verify(h)},d.jws.JWS.parse=function(e){var t,r,n,i=e.split("."),a={};if(2!=i.length&&3!=i.length)throw"malformed sJWS: wrong number of '.' splitted elements";return t=i[0],r=i[1],3==i.length&&(n=i[2]),a.headerObj=d.jws.JWS.readSafeJSONString(p(t)),a.payloadObj=d.jws.JWS.readSafeJSONString(p(r)),a.headerPP=JSON.stringify(a.headerObj,null," "),null==a.payloadObj?a.payloadPP=p(r):a.payloadPP=JSON.stringify(a.payloadObj,null," "),void 0!==n&&(a.sigHex=th(n)),a},d.jws.JWS.verifyJWT=function(e,t,r){var n=d.jws,i=n.JWS,a=i.readSafeJSONString,o=i.inArray,s=i.includedArray;if(!tR(e))return!1;var u=e.split(".");if(3!=u.length)return!1;var c=u[0],l=u[1];th(u[2]);var f=a(p(c)),h=a(p(l));if(void 0===f.alg)return!1;if(void 0===r.alg)throw"acceptField.alg shall be specified";if(!o(f.alg,r.alg)||void 0!==h.iss&&"object"==typeof r.iss&&!o(h.iss,r.iss)||void 0!==h.sub&&"object"==typeof r.sub&&!o(h.sub,r.sub))return!1;if(void 0!==h.aud&&"object"==typeof r.aud){if("string"==typeof h.aud){if(!o(h.aud,r.aud))return!1}else if("object"==typeof h.aud&&!s(h.aud,r.aud))return!1}var m=n.IntDate.getNow();return void 0!==r.verifyAt&&"number"==typeof r.verifyAt&&(m=r.verifyAt),(void 0===r.gracePeriod||"number"!=typeof r.gracePeriod)&&(r.gracePeriod=0),(void 0===h.exp||"number"!=typeof h.exp||!(h.exp+r.gracePeriodi&&this.aHeader.pop(),this.aSignature.length>i&&this.aSignature.pop(),"addSignature failed: "+e}},this.verifyAll=function(e){if(this.aHeader.length!==e.length||this.aSignature.length!==e.length)return!1;for(var t=0;t0)this.aHeader=e.headers;else throw"malformed header";if("string"==typeof e.payload)this.sPayload=e.payload;else throw"malformed signatures";if(e.signatures.length>0)this.aSignature=e.signatures;else throw"malformed signatures"}catch(e){throw"malformed JWS-JS JSON object: "+e}},this.getJSON=function(){return{headers:this.aHeader,payload:this.sPayload,signatures:this.aSignature}},this.isEmpty=function(){return 0==this.aHeader.length?1:0}},d.crypto.ECDSA,d.crypto.DSA,d.crypto.Signature,d.crypto.MessageDigest,d.crypto.Mac,d.crypto.Cipher,t.KZ=tD,t.fs=d,d.crypto,d.asn1,d.jws,d.lang},48094:function(e){var t=Object.prototype.toString;e.exports=function(e){return!0===e||!1===e||!!e&&"object"==typeof e&&"[object Boolean]"==t.call(e)}},98423:function(e,t,r){var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,i="object"==typeof self&&self&&self.Object===Object&&self,a=n||i||Function("return this")(),o=Object.prototype,s=o.hasOwnProperty,u=o.toString,c=a.Symbol,l=c?c.toStringTag:void 0;e.exports=function(e){if(t=typeof e,null==e||"object"!=t&&"function"!=t)return!1;var t,r=null==e?void 0===e?"[object Undefined]":"[object Null]":l&&l in Object(e)?function(e){var t=s.call(e,l),r=e[l];try{e[l]=void 0;var n=!0}catch(e){}var i=u.call(e);return n&&(t?e[l]=r:delete e[l]),i}(e):u.call(e);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}},25751:function(e){var t=Object.prototype.toString,r=Array.isArray;e.exports=function(e){var n;return"string"==typeof e||!r(e)&&!!(n=e)&&"object"==typeof n&&"[object String]"==t.call(e)}},35683:function(e,t,r){var n,i,a=1/0,o=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,s=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,u="\ud800-\udfff",c="\\u2700-\\u27bf",l="a-z\\xdf-\\xf6\\xf8-\\xff",f="A-Z\\xc0-\\xd6\\xd8-\\xde",d="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",h="['’]",p="["+d+"]",m="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",g="["+l+"]",y="[^"+u+d+"\\d+"+c+l+f+"]",b="(?:\ud83c[\udde6-\uddff]){2}",x="[\ud800-\udbff][\udc00-\udfff]",w="["+f+"]",S="(?:"+g+"|"+y+")",E="(?:"+h+"(?:d|ll|m|re|s|t|ve))?",A="(?:"+h+"(?:D|LL|M|RE|S|T|VE))?",C="(?:"+m+"|\ud83c[\udffb-\udfff])?",P="[\\ufe0e\\ufe0f]?",O="(?:\\u200d(?:"+["[^"+u+"]",b,x].join("|")+")"+P+C+")*",_="(?:"+["["+c+"]",b,x].join("|")+")"+(P+C+O),k=RegExp(h,"g"),R=RegExp(m,"g"),j=RegExp([w+"?"+g+"+"+E+"(?="+[p,w,"$"].join("|")+")","(?:"+w+"|"+y+")+"+A+"(?="+[p,w+S,"$"].join("|")+")",w+"?"+S+"+"+E,w+"+"+A,"\\d+",_].join("|"),"g"),F=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,I="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,T="object"==typeof self&&self&&self.Object===Object&&self,N=I||T||Function("return this")(),D=(n={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"ss"},function(e){return null==n?void 0:n[e]}),M=Object.prototype.toString,L=N.Symbol,B=L?L.prototype:void 0,H=B?B.toString:void 0;function $(e){return null==e?"":function(e){if("string"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==M.call(t))return H?H.call(e):"";var t,r=e+"";return"0"==r&&1/e==-a?"-0":r}(e)}var U=(i=function(e,t,r){return e+(r?"-":"")+t.toLowerCase()},function(e){var t;return function(e,t,r,n){for(var i=-1,a=e?e.length:0;++ii?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var a=Array(i);++nl))return!1;var d=u.get(e),h=u.get(t);if(d&&h)return d==t&&h==e;var p=-1,m=!0,g=2&r?new n:void 0;for(u.set(e,t),u.set(t,e);++p-1&&e%1==0&&e-1}},54705:function(e,t,r){var n=r(18470);e.exports=function(e,t){var r=this.__data__,i=n(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}},24785:function(e,t,r){var n=r(1989),i=r(38407),a=r(57071);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(a||i),string:new n}}},11285:function(e,t,r){var n=r(45050);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},96e3:function(e,t,r){var n=r(45050);e.exports=function(e){return n(this,e).get(e)}},49916:function(e,t,r){var n=r(45050);e.exports=function(e){return n(this,e).has(e)}},95265:function(e,t,r){var n=r(45050);e.exports=function(e,t){var r=n(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}},68776:function(e){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}},42634:function(e){e.exports=function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}}},24523:function(e,t,r){var n=r(88306);e.exports=function(e){var t=n(e,function(e){return 500===r.size&&r.clear(),e}),r=t.cache;return t}},94536:function(e,t,r){var n=r(10852)(Object,"create");e.exports=n},86916:function(e,t,r){var n=r(5569)(Object.keys,Object);e.exports=n},33498:function(e){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},31167:function(e,t,r){e=r.nmd(e);var n=r(31957),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,o=a&&a.exports===i&&n.process,s=function(){try{var e=a&&a.require&&a.require("util").types;if(e)return e;return o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=s},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:function(e){e.exports=function(e,t){return function(r){return e(t(r))}}},55639:function(e,t,r){var n=r(31957),i="object"==typeof self&&self&&self.Object===Object&&self,a=n||i||Function("return this")();e.exports=a},90619:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},72385:function(e){e.exports=function(e){return this.__data__.has(e)}},21814:function(e){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}},37465:function(e,t,r){var n=r(38407);e.exports=function(){this.__data__=new n,this.size=0}},63779:function(e){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},67599:function(e){e.exports=function(e){return this.__data__.get(e)}},44758:function(e){e.exports=function(e){return this.__data__.has(e)}},34309:function(e,t,r){var n=r(38407),i=r(57071),a=r(83369);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var o=r.__data__;if(!i||o.length<199)return o.push([e,t]),this.size=++r.size,this;r=this.__data__=new a(o)}return r.set(e,t),this.size=r.size,this}},55514:function(e,t,r){var n=r(24523),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,o=n(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,function(e,r,n,i){t.push(n?i.replace(a,"$1"):r||e)}),t});e.exports=o},40327:function(e,t,r){var n=r(33448),i=1/0;e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},80346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},77813:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},84486:function(e,t,r){var n=r(77412),i=r(89881),a=r(54290),o=r(1469);e.exports=function(e,t){return(o(e)?n:i)(e,a(t))}},27361:function(e,t,r){var n=r(97786);e.exports=function(e,t,r){var i=null==e?void 0:n(e,t);return void 0===i?r:i}},79095:function(e,t,r){var n=r(13),i=r(222);e.exports=function(e,t){return null!=e&&i(e,t,n)}},6557:function(e){e.exports=function(e){return e}},35694:function(e,t,r){var n=r(9454),i=r(37005),a=Object.prototype,o=a.hasOwnProperty,s=a.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(e){return i(e)&&o.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},1469:function(e){var t=Array.isArray;e.exports=t},98612:function(e,t,r){var n=r(23560),i=r(41780);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},51584:function(e,t,r){var n=r(44239),i=r(37005);e.exports=function(e){return!0===e||!1===e||i(e)&&"[object Boolean]"==n(e)}},44144:function(e,t,r){e=r.nmd(e);var n=r(55639),i=r(95062),a=t&&!t.nodeType&&t,o=a&&e&&!e.nodeType&&e,s=o&&o.exports===a?n.Buffer:void 0,u=s?s.isBuffer:void 0;e.exports=u||i},23560:function(e,t,r){var n=r(44239),i=r(13218);e.exports=function(e){if(!i(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},41780:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},68630:function(e,t,r){var n=r(44239),i=r(85924),a=r(37005),o=Object.prototype,s=Function.prototype.toString,u=o.hasOwnProperty,c=s.call(Object);e.exports=function(e){if(!a(e)||"[object Object]"!=n(e))return!1;var t=i(e);if(null===t)return!0;var r=u.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&s.call(r)==c}},47037:function(e,t,r){var n=r(44239),i=r(1469),a=r(37005);e.exports=function(e){return"string"==typeof e||!i(e)&&a(e)&&"[object String]"==n(e)}},33448:function(e,t,r){var n=r(44239),i=r(37005);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==n(e)}},36719:function(e,t,r){var n=r(38749),i=r(7518),a=r(31167),o=a&&a.isTypedArray,s=o?i(o):n;e.exports=s},3674:function(e,t,r){var n=r(14636),i=r(280),a=r(98612);e.exports=function(e){return a(e)?n(e):i(e)}},81704:function(e,t,r){var n=r(14636),i=r(10313),a=r(98612);e.exports=function(e){return a(e)?n(e,!0):i(e)}},66604:function(e,t,r){var n=r(89465),i=r(47816),a=r(67206);e.exports=function(e,t){var r={};return t=a(t,3),i(e,function(e,i,a){n(r,i,t(e,i,a))}),r}},88306:function(e,t,r){var n=r(83369);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var o=e.apply(this,n);return r.cache=a.set(i,o)||a,o};return r.cache=new(i.Cache||n),r}i.Cache=n,e.exports=i},35937:function(e,t,r){var n=r(29932),i=r(67206),a=r(63012),o=r(46904);e.exports=function(e,t){if(null==e)return{};var r=n(o(e),function(e){return[e]});return t=i(t),a(e,r,function(e,r){return t(e,r[0])})}},39601:function(e,t,r){var n=r(40371),i=r(79152),a=r(15403),o=r(40327);e.exports=function(e){return a(e)?n(o(e)):i(e)}},54061:function(e,t,r){var n=r(62663),i=r(89881),a=r(67206),o=r(10107),s=r(1469);e.exports=function(e,t,r){var u=s(e)?n:o,c=arguments.length<3;return u(e,a(t,4),r,c,i)}},70479:function(e){e.exports=function(){return[]}},95062:function(e){e.exports=function(){return!1}},30084:function(e,t,r){var n=r(29932),i=r(278),a=r(1469),o=r(33448),s=r(55514),u=r(40327),c=r(79833);e.exports=function(e){return a(e)?n(e,u):o(e)?[e]:i(s(c(e)))}},79833:function(e,t,r){var n=r(80531);e.exports=function(e){return null==e?"":n(e)}},11752:function(e,t,r){e.exports=r(84785)},35166:function(e,t,r){"use strict";let n,i;r.d(t,{Z:function(){return eP}});var a,o,s,u,c,l,f=r(50029),d=r(71383),h=r(87794),p=r.n(h),m=r(67294),g=r(99603),y=r(71893),b=r(42894),x=r(59417),w=r(35683),S=r.n(w),E=r(44036),A=r.n(E),C=r(9351),P=r(23004),O=r(67216),_=r(30099);function k(e){if((!a&&0!==a||e)&&P.Z){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),a=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return a}var R=r(32092),j=r(78146),F=r(35654),I=r(76852),T=r(94305);function N(e){void 0===e&&(e=(0,O.Z)());try{var t=e.activeElement;if(!t||!t.nodeName)return null;return t}catch(t){return e.body}}var D=r(90424),M=r(72950),L=r(73935),B=r(6454),H=r(88833),$=r(91505);let U="data-rr-ui-modal-open";var z=class{constructor({ownerDocument:e,handleContainerOverflow:t=!0,isRTL:r=!1}={}){this.handleContainerOverflow=t,this.isRTL=r,this.modals=[],this.ownerDocument=e}getScrollbarWidth(){return function(e=document){let t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(e){}removeModalAttributes(e){}setContainerStyle(e){let t={overflow:"hidden"},r=this.isRTL?"paddingLeft":"paddingRight",n=this.getElement();e.style={overflow:n.style.overflow,[r]:n.style[r]},e.scrollBarWidth&&(t[r]=`${parseInt((0,$.Z)(n,r)||"0",10)+e.scrollBarWidth}px`),n.setAttribute(U,""),(0,$.Z)(n,t)}reset(){[...this.modals].forEach(e=>this.remove(e))}removeContainerStyle(e){let t=this.getElement();t.removeAttribute(U),Object.assign(t.style,e.style)}add(e){let t=this.modals.indexOf(e);return -1!==t||(t=this.modals.length,this.modals.push(e),this.setModalAttributes(e),0!==t||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state))),t}remove(e){let t=this.modals.indexOf(e);-1!==t&&(this.modals.splice(t,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(e))}isTopModal(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e}},V=r(54194),K=r(12963),Z=r(85893);let W=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","backdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"],q=(0,m.forwardRef)((e,t)=>{let{show:r=!1,role:i="dialog",className:a,style:o,children:s,backdrop:u=!0,keyboard:c=!0,onBackdropClick:l,onEscapeKeyDown:f,transition:d,backdropTransition:h,autoFocus:p=!0,enforceFocus:g=!0,restoreFocus:y=!0,restoreFocusOptions:b,renderDialog:x,renderBackdrop:w=e=>(0,Z.jsx)("div",Object.assign({},e)),manager:S,container:E,onShow:A,onHide:C=()=>{},onExit:O,onExited:_,onExiting:k,onEnter:R,onEntering:F,onEntered:T}=e,$=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n=0||(i[r]=e[r]);return i}(e,W),U=(0,V.Z)(E),q=function(e){let t=(0,K.Z)(),r=e||(n||(n=new z({ownerDocument:null==t?void 0:t.document})),n),i=(0,m.useRef)({dialog:null,backdrop:null});return Object.assign(i.current,{add:()=>r.add(i.current),remove:()=>r.remove(i.current),isTopModal:()=>r.isTopModal(i.current),setDialogRef:(0,m.useCallback)(e=>{i.current.dialog=e},[]),setBackdropRef:(0,m.useCallback)(e=>{i.current.backdrop=e},[])})}(S),G=(0,B.Z)(),Y=(0,H.Z)(r),[J,X]=(0,m.useState)(!r),Q=(0,m.useRef)(null);(0,m.useImperativeHandle)(t,()=>q,[q]),P.Z&&!Y&&r&&(Q.current=N()),d||r||J?r&&J&&X(!1):X(!0);let ee=(0,j.Z)(()=>{if(q.add(),eo.current=(0,M.Z)(document,"keydown",ei),ea.current=(0,M.Z)(document,"focus",()=>setTimeout(er),!0),A&&A(),p){let e=N(document);q.dialog&&e&&!(0,D.Z)(q.dialog,e)&&(Q.current=e,q.dialog.focus())}}),et=(0,j.Z)(()=>{if(q.remove(),null==eo.current||eo.current(),null==ea.current||ea.current(),y){var e;null==(e=Q.current)||null==e.focus||e.focus(b),Q.current=null}});(0,m.useEffect)(()=>{r&&U&&ee()},[r,U,ee]),(0,m.useEffect)(()=>{J&&et()},[J,et]),(0,I.Z)(()=>{et()});let er=(0,j.Z)(()=>{if(!g||!G()||!q.isTopModal())return;let e=N();q.dialog&&e&&!(0,D.Z)(q.dialog,e)&&q.dialog.focus()}),en=(0,j.Z)(e=>{e.target===e.currentTarget&&(null==l||l(e),!0===u&&C())}),ei=(0,j.Z)(e=>{c&&27===e.keyCode&&q.isTopModal()&&(null==f||f(e),e.defaultPrevented||C())}),ea=(0,m.useRef)(),eo=(0,m.useRef)(),es=(...e)=>{X(!0),null==_||_(...e)};if(!U||!(r||d&&!J))return null;let eu=Object.assign({role:i,ref:q.setDialogRef,"aria-modal":"dialog"===i||void 0},$,{style:o,className:a,tabIndex:-1}),ec=x?x(eu):(0,Z.jsx)("div",Object.assign({},eu,{children:m.cloneElement(s,{role:"document"})}));d&&(ec=(0,Z.jsx)(d,{appear:!0,unmountOnExit:!0,in:!!r,onExit:O,onExiting:k,onExited:es,onEnter:R,onEntering:F,onEntered:T,children:ec}));let el=null;return u&&(el=w({ref:q.setBackdropRef,onClick:en}),h&&(el=(0,Z.jsx)(h,{appear:!0,in:!!r,children:el}))),(0,Z.jsx)(Z.Fragment,{children:L.createPortal((0,Z.jsxs)(Z.Fragment,{children:[el,ec]}),U)})});q.displayName="Modal";var G=Object.assign(q,{Manager:z}),Y=r(11132),J=Function.prototype.bind.call(Function.prototype.call,[].slice);function X(e,t){return J(e.querySelectorAll(t))}function Q(e,t){return e.replace(RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}let ee={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class et extends z{adjustAndStore(e,t,r){let n=t.style[e];t.dataset[e]=n,(0,$.Z)(t,{[e]:`${parseFloat((0,$.Z)(t,e))+r}px`})}restore(e,t){let r=t.dataset[e];void 0!==r&&(delete t.dataset[e],(0,$.Z)(t,{[e]:r}))}setContainerStyle(e){var t,r;super.setContainerStyle(e);let n=this.getElement();if(r="modal-open",(t=n).classList?t.classList.add(r):(0,Y.Z)(t,r)||("string"==typeof t.className?t.className=t.className+" "+r:t.setAttribute("class",(t.className&&t.className.baseVal||"")+" "+r)),!e.scrollBarWidth)return;let i=this.isRTL?"paddingLeft":"paddingRight",a=this.isRTL?"marginLeft":"marginRight";X(n,ee.FIXED_CONTENT).forEach(t=>this.adjustAndStore(i,t,e.scrollBarWidth)),X(n,ee.STICKY_CONTENT).forEach(t=>this.adjustAndStore(a,t,-e.scrollBarWidth)),X(n,ee.NAVBAR_TOGGLER).forEach(t=>this.adjustAndStore(a,t,e.scrollBarWidth))}removeContainerStyle(e){var t,r;super.removeContainerStyle(e);let n=this.getElement();r="modal-open",(t=n).classList?t.classList.remove(r):"string"==typeof t.className?t.className=Q(t.className,r):t.setAttribute("class",Q(t.className&&t.className.baseVal||"",r));let i=this.isRTL?"paddingLeft":"paddingRight",a=this.isRTL?"marginLeft":"marginRight";X(n,ee.FIXED_CONTENT).forEach(e=>this.restore(i,e)),X(n,ee.STICKY_CONTENT).forEach(e=>this.restore(a,e)),X(n,ee.NAVBAR_TOGGLER).forEach(e=>this.restore(a,e))}}var er=r(54800),en=r(66611),ei=(0,en.Z)("modal-body");let ea=m.createContext({onHide(){}});var eo=r(76792);let es=m.forwardRef(({bsPrefix:e,className:t,contentClassName:r,centered:n,size:i,fullscreen:a,children:o,scrollable:s,...u},c)=>{e=(0,eo.vE)(e,"modal");let l=`${e}-dialog`,f="string"==typeof a?`${e}-fullscreen-${a}`:`${e}-fullscreen`;return(0,Z.jsx)("div",{...u,ref:c,className:A()(l,t,i&&`${e}-${i}`,n&&`${l}-centered`,s&&`${l}-scrollable`,a&&f),children:(0,Z.jsx)("div",{className:A()(`${e}-content`,r),children:o})})});es.displayName="ModalDialog";var eu=(0,en.Z)("modal-footer"),ec=r(45697),el=r.n(ec);let ef={"aria-label":el().string,onClick:el().func,variant:el().oneOf(["white"])},ed=m.forwardRef(({className:e,variant:t,...r},n)=>(0,Z.jsx)("button",{ref:n,type:"button",className:A()("btn-close",t&&`btn-close-${t}`,e),...r}));ed.displayName="CloseButton",ed.propTypes=ef,ed.defaultProps={"aria-label":"Close"};let eh=m.forwardRef(({closeLabel:e,closeVariant:t,closeButton:r,onHide:n,children:i,...a},o)=>{let s=(0,m.useContext)(ea),u=(0,j.Z)(()=>{null==s||s.onHide(),null==n||n()});return(0,Z.jsxs)("div",{ref:o,...a,children:[i,r&&(0,Z.jsx)(ed,{"aria-label":e,variant:t,onClick:u})]})});eh.defaultProps={closeLabel:"Close",closeButton:!1};let ep=m.forwardRef(({bsPrefix:e,className:t,...r},n)=>(e=(0,eo.vE)(e,"modal-header"),(0,Z.jsx)(eh,{ref:n,...r,className:A()(t,e)})));ep.displayName="ModalHeader",ep.defaultProps={closeLabel:"Close",closeButton:!1};let em=m.forwardRef((e,t)=>(0,Z.jsx)("div",{...e,ref:t,className:A()(e.className,"h4")}));var ev=(0,en.Z)("modal-title",{Component:em});function eg(e){return(0,Z.jsx)(er.Z,{...e,timeout:null})}function ey(e){return(0,Z.jsx)(er.Z,{...e,timeout:null})}let eb=m.forwardRef(({bsPrefix:e,className:t,style:r,dialogClassName:n,contentClassName:a,children:o,dialogAs:s,"aria-labelledby":u,"aria-describedby":c,"aria-label":l,show:f,animation:d,backdrop:h,keyboard:p,onEscapeKeyDown:g,onShow:y,onHide:b,container:x,autoFocus:w,enforceFocus:S,restoreFocus:E,restoreFocusOptions:N,onEntered:D,onExit:M,onExiting:L,onEnter:B,onEntering:H,onExited:$,backdropClassName:U,manager:z,...V},K)=>{let[W,q]=(0,m.useState)({}),[Y,J]=(0,m.useState)(!1),X=(0,m.useRef)(!1),Q=(0,m.useRef)(!1),ee=(0,m.useRef)(null),[er,en]=(0,R.Z)(),ei=(0,F.Z)(K,en),es=(0,j.Z)(b),eu=(0,eo.SC)();e=(0,eo.vE)(e,"modal");let ec=(0,m.useMemo)(()=>({onHide:es}),[es]);function el(){return z||(i||(i=new et({isRTL:eu})),i)}function ef(e){if(!P.Z)return;let t=el().getScrollbarWidth()>0,r=e.scrollHeight>(0,O.Z)(e).documentElement.clientHeight;q({paddingRight:t&&!r?k():void 0,paddingLeft:!t&&r?k():void 0})}let ed=(0,j.Z)(()=>{er&&ef(er.dialog)});(0,I.Z)(()=>{(0,_.Z)(window,"resize",ed),null==ee.current||ee.current()});let eh=()=>{X.current=!0},ep=e=>{X.current&&er&&e.target===er.dialog&&(Q.current=!0),X.current=!1},em=()=>{J(!0),ee.current=(0,T.Z)(er.dialog,()=>{J(!1)})},ev=e=>{e.target===e.currentTarget&&em()},eb=e=>{if("static"===h){ev(e);return}if(Q.current||e.target!==e.currentTarget){Q.current=!1;return}null==b||b()},ex=e=>{p||"static"!==h?p&&g&&g(e):(e.preventDefault(),em())},ew=(e,t)=>{e&&ef(e),null==B||B(e,t)},eS=e=>{null==ee.current||ee.current(),null==M||M(e)},eE=(e,t)=>{null==H||H(e,t),(0,C.ZP)(window,"resize",ed)},eA=e=>{e&&(e.style.display=""),null==$||$(e),(0,_.Z)(window,"resize",ed)},eC=(0,m.useCallback)(t=>(0,Z.jsx)("div",{...t,className:A()(`${e}-backdrop`,U,!d&&"show")}),[d,U,e]),eP={...r,...W};eP.display="block";let eO=r=>(0,Z.jsx)("div",{role:"dialog",...r,style:eP,className:A()(t,e,Y&&`${e}-static`),onClick:h?eb:void 0,onMouseUp:ep,"aria-label":l,"aria-labelledby":u,"aria-describedby":c,children:(0,Z.jsx)(s,{...V,onMouseDown:eh,className:n,contentClassName:a,children:o})});return(0,Z.jsx)(ea.Provider,{value:ec,children:(0,Z.jsx)(G,{show:f,ref:ei,backdrop:h,container:x,keyboard:!0,autoFocus:w,enforceFocus:S,restoreFocus:E,restoreFocusOptions:N,onEscapeKeyDown:ex,onShow:y,onHide:b,onEnter:ew,onEntering:eE,onEntered:D,onExit:eS,onExiting:L,onExited:eA,manager:el(),transition:d?eg:void 0,backdropTransition:d?ey:void 0,renderBackdrop:eC,renderDialog:eO})})});eb.displayName="Modal",eb.defaultProps={show:!1,backdrop:!0,keyboard:!0,autoFocus:!0,enforceFocus:!0,restoreFocus:!0,animation:!0,dialogAs:es};var ex=Object.assign(eb,{Body:ei,Header:ep,Title:ev,Footer:eu,Dialog:es,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),ew=(0,y.ZP)(ex)(o||(o=(0,d.Z)(["\n & .pg-modal-main {\n max-width: 700px;\n box-shadow: 5px 5px 10px black;\n\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%) !important;\n }\n & .modal-content {\n border-radius: 0;\n }\n & .modal-header {\n border-radius: 0;\n }\n"]))),eS=(0,y.ZP)(ex.Header)(s||(s=(0,d.Z)(["\n font-size: 1.5em;\n padding: 0.75em;\n background: #38598a;\n color: #fff;\n & a {\n float: right;\n }\n"]))),eE=(0,y.ZP)(g.G)(u||(u=(0,d.Z)(["\n margin-right: 5px;\n height: 30px;\n"]))),eA=y.ZP.div(c||(c=(0,d.Z)(["\n color: #000;\n cursor: default;\n font-weight: 400;\n"]))),eC=y.ZP.div(l||(l=(0,d.Z)(["\n margin-top: 20px;\n display: flex;\n justify-content: "," & button {\n min-width: 150px;\n margin-right: 20px;\n display: inline-block;\n\n &:disabled {\n cursor: not-allowed;\n }\n }\n"])),function(e){return"center"===e.buttonAlign?"center;":"space-between;"}),eP=function(e){var t,r=e.id,n=e.openModal,i=e.handleClose,a=void 0===i?function(){}:i,o=e.title,s=e.content,u=e.showCancel,c=void 0===u||u,l=e.showConfirm,d=void 0===l||l,h=e.buttonAlign,y=e.onConfirm,w=e.disableConfirm,E=e.confirmText,A=e.buttonStyle,C=e.icon,P=void 0===C?x.eHv:C,O=e.skipCloseOnConfirm,_=void 0!==O&&O,k=e.closable,R=e.closeOnBackgroundClick,j=(0,m.useState)(!1),F=j[0],I=j[1],T="confirm-delete-"+S()(o),N="cancel-"+S()(o),D=(t=(0,f.Z)(p().mark(function e(){return p().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(I(!0),!y){e.next=4;break}return e.next=4,y();case 4:I(!1),_||a();case 6:case"end":return e.stop()}},e)})),function(){return t.apply(this,arguments)});return(0,Z.jsxs)(ew,{show:void 0!==n&&n,onHide:function(){a()},dialogClassName:"pg-modal-main",id:r,backdrop:!!(void 0===R||R)||"static",children:[(0,Z.jsxs)(eS,{children:[(0,Z.jsxs)(ex.Title,{children:[P&&(0,Z.jsx)(eE,{icon:P,title:"Information",size:"2x",style:{paddingRight:"10px"}}),o]}),k&&(0,Z.jsx)(g.G,{icon:x.NBC,size:"lg",onClick:a})]}),(0,Z.jsxs)(ex.Body,{children:[(0,Z.jsx)(eA,{children:s}),(c||d)&&(0,Z.jsxs)(eC,{buttonAlign:void 0===h?"default":h,children:[c&&(0,Z.jsx)("button",{className:"secondary",onClick:a,type:"button","data-testid":N,children:"Cancel"}),d&&(0,Z.jsx)("button",{"data-testid":T,onClick:D,className:void 0===A?"primary":A,type:"button",disabled:void 0!==w&&w||F,children:F?(0,Z.jsx)(b.rj,{color:"#FFF",height:18,width:50,wrapperClass:"d-block",visible:F}):void 0===E?"Confirm":E})]})]})]})}},35124:function(e,t,r){"use strict";r.d(t,{V:function(){return R}});var n,i,a,o,s=r(50029),u=r(59499),c=r(71383),l=r(87794),f=r.n(l),d=r(67294),h=r(69696),p=r(99603),m=r(34798),g=r.n(m),y=r(71893),b=r(42894),x=r(59417),w=r(35683),S=r.n(w),E=r(85893);function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function C(e){for(var t=1;t0&&(n=I(r.width)/o||1),a>0&&(i=I(r.height)/a||1)}return{width:r.width/n,height:r.height/i,top:r.top/i,right:r.right/n,bottom:r.bottom/i,left:r.left/n,x:r.left/n,y:r.top/i}}function N(e){var t=T(e),r=e.offsetWidth,n=e.offsetHeight;return 1>=Math.abs(t.width-r)&&(r=t.width),1>=Math.abs(t.height-n)&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function D(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&R(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function M(e){return e?(e.nodeName||"").toLowerCase():null}function L(e){return O(e).getComputedStyle(e)}function B(e){return((_(e)?e.ownerDocument:e.document)||window.document).documentElement}function H(e){return"html"===M(e)?e:e.assignedSlot||e.parentNode||(R(e)?e.host:null)||B(e)}function $(e){return k(e)&&"fixed"!==L(e).position?e.offsetParent:null}function U(e){for(var t=O(e),r=$(e);r&&["table","td","th"].indexOf(M(r))>=0&&"static"===L(r).position;)r=$(r);return r&&("html"===M(r)||"body"===M(r)&&"static"===L(r).position)?t:r||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&k(e)&&"fixed"===L(e).position)return null;var r=H(e);for(R(r)&&(r=r.host);k(r)&&0>["html","body"].indexOf(M(r));){var n=L(r);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return r;r=r.parentNode}return null}(e)||t}function z(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function V(e,t,r){return j(e,F(t,r))}function K(){return{top:0,right:0,bottom:0,left:0}}function Z(e){return Object.assign({},K(),e)}function W(e,t){return t.reduce(function(t,r){return t[r]=e,t},{})}var q="bottom",G="right",Y="left",J="auto",X=["top",q,G,Y],Q="start",ee="viewport",et="popper",er=X.reduce(function(e,t){return e.concat([t+"-"+Q,t+"-end"])},[]),en=[].concat(X,[J]).reduce(function(e,t){return e.concat([t,t+"-"+Q,t+"-end"])},[]),ei=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ea(e){return e.split("-")[1]}var eo={top:"auto",right:"auto",bottom:"auto",left:"auto"};function es(e){var t,r,n,i,a,o,s=e.popper,u=e.popperRect,c=e.placement,l=e.variation,f=e.offsets,d=e.position,h=e.gpuAcceleration,p=e.adaptive,m=e.roundOffsets,g=e.isFixed,y=f.x,b=void 0===y?0:y,x=f.y,w=void 0===x?0:x,S="function"==typeof m?m({x:b,y:w}):{x:b,y:w};b=S.x,w=S.y;var E=f.hasOwnProperty("x"),A=f.hasOwnProperty("y"),C=Y,P="top",_=window;if(p){var k=U(s),R="clientHeight",j="clientWidth";k===O(s)&&"static"!==L(k=B(s)).position&&"absolute"===d&&(R="scrollHeight",j="scrollWidth"),("top"===c||(c===Y||c===G)&&"end"===l)&&(P=q,w-=(g&&k===_&&_.visualViewport?_.visualViewport.height:k[R])-u.height,w*=h?1:-1),(c===Y||("top"===c||c===q)&&"end"===l)&&(C=G,b-=(g&&k===_&&_.visualViewport?_.visualViewport.width:k[j])-u.width,b*=h?1:-1)}var F=Object.assign({position:d},p&&eo),T=!0===m?(r=(t={x:b,y:w}).x,n=t.y,{x:I(r*(i=window.devicePixelRatio||1))/i||0,y:I(n*i)/i||0}):{x:b,y:w};return(b=T.x,w=T.y,h)?Object.assign({},F,((o={})[P]=A?"0":"",o[C]=E?"0":"",o.transform=1>=(_.devicePixelRatio||1)?"translate("+b+"px, "+w+"px)":"translate3d("+b+"px, "+w+"px, 0)",o)):Object.assign({},F,((a={})[P]=A?w+"px":"",a[C]=E?b+"px":"",a.transform="",a))}var eu={passive:!0},ec={left:"right",right:"left",bottom:"top",top:"bottom"};function el(e){return e.replace(/left|right|bottom|top/g,function(e){return ec[e]})}var ef={start:"end",end:"start"};function ed(e){return e.replace(/start|end/g,function(e){return ef[e]})}function eh(e){var t=O(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ep(e){return T(B(e)).left+eh(e).scrollLeft}function em(e){var t=L(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function ev(e,t){void 0===t&&(t=[]);var r,n=function e(t){return["html","body","#document"].indexOf(M(t))>=0?t.ownerDocument.body:k(t)&&em(t)?t:e(H(t))}(e),i=n===(null==(r=e.ownerDocument)?void 0:r.body),a=O(n),o=i?[a].concat(a.visualViewport||[],em(n)?n:[]):n,s=t.concat(o);return i?s:s.concat(ev(H(o)))}function eg(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ey(e,t){var r,n,i,a,o,s,u,c,l,f,d,h,p,m,g,y,b;return t===ee?eg((r=O(e),n=B(e),i=r.visualViewport,a=n.clientWidth,o=n.clientHeight,s=0,u=0,i&&(a=i.width,o=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=i.offsetLeft,u=i.offsetTop)),{width:a,height:o,x:s+ep(e),y:u})):_(t)?((c=T(t)).top=c.top+t.clientTop,c.left=c.left+t.clientLeft,c.bottom=c.top+t.clientHeight,c.right=c.left+t.clientWidth,c.width=t.clientWidth,c.height=t.clientHeight,c.x=c.left,c.y=c.top,c):eg((l=B(e),d=B(l),h=eh(l),p=null==(f=l.ownerDocument)?void 0:f.body,m=j(d.scrollWidth,d.clientWidth,p?p.scrollWidth:0,p?p.clientWidth:0),g=j(d.scrollHeight,d.clientHeight,p?p.scrollHeight:0,p?p.clientHeight:0),y=-h.scrollLeft+ep(l),b=-h.scrollTop,"rtl"===L(p||d).direction&&(y+=j(d.clientWidth,p?p.clientWidth:0)-m),{width:m,height:g,x:y,y:b}))}function eb(e){var t,r=e.reference,n=e.element,i=e.placement,a=i?P(i):null,o=i?ea(i):null,s=r.x+r.width/2-n.width/2,u=r.y+r.height/2-n.height/2;switch(a){case"top":t={x:s,y:r.y-n.height};break;case q:t={x:s,y:r.y+r.height};break;case G:t={x:r.x+r.width,y:u};break;case Y:t={x:r.x-n.width,y:u};break;default:t={x:r.x,y:r.y}}var c=a?z(a):null;if(null!=c){var l="y"===c?"height":"width";switch(o){case Q:t[c]=t[c]-(r[l]/2-n[l]/2);break;case"end":t[c]=t[c]+(r[l]/2-n[l]/2)}}return t}function ex(e,t){void 0===t&&(t={});var r,n,i,a,o,s,u,c=t,l=c.placement,f=void 0===l?e.placement:l,d=c.boundary,h=c.rootBoundary,p=c.elementContext,m=void 0===p?et:p,g=c.altBoundary,y=c.padding,b=void 0===y?0:y,x=Z("number"!=typeof b?b:W(b,X)),w=e.rects.popper,S=e.elements[void 0!==g&&g?m===et?"reference":et:m],E=(r=_(S)?S:S.contextElement||B(e.elements.popper),s=(o=[].concat("clippingParents"===(n=void 0===d?"clippingParents":d)?(i=ev(H(r)),_(a=["absolute","fixed"].indexOf(L(r).position)>=0&&k(r)?U(r):r)?i.filter(function(e){return _(e)&&D(e,a)&&"body"!==M(e)}):[]):[].concat(n),[void 0===h?ee:h]))[0],(u=o.reduce(function(e,t){var n=ey(r,t);return e.top=j(n.top,e.top),e.right=F(n.right,e.right),e.bottom=F(n.bottom,e.bottom),e.left=j(n.left,e.left),e},ey(r,s))).width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u),A=T(e.elements.reference),C=eb({reference:A,element:w,strategy:"absolute",placement:f}),P=eg(Object.assign({},w,C)),O=m===et?P:A,R={top:E.top-O.top+x.top,bottom:O.bottom-E.bottom+x.bottom,left:E.left-O.left+x.left,right:O.right-E.right+x.right},I=e.modifiersData.offset;if(m===et&&I){var N=I[f];Object.keys(R).forEach(function(e){var t=[G,q].indexOf(e)>=0?1:-1,r=["top",q].indexOf(e)>=0?"y":"x";R[e]+=N[r]*t})}return R}function ew(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function eS(e){return["top",G,q,Y].some(function(t){return e[t]>=0})}var eE={placement:"bottom",modifiers:[],strategy:"absolute"};function eA(){for(var e=arguments.length,t=Array(e),r=0;r=0?-1:1,u=(s="function"==typeof a?a(Object.assign({},n,{placement:r})):a)[0],c=s[1],u=u||0,c=(c||0)*o,[Y,G].indexOf(i)>=0?{x:c,y:u}:{x:u,y:c}),e},{}),s=o[t.placement],u=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=o}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,a=void 0===i||i,o=r.altAxis,s=void 0===o||o,u=r.fallbackPlacements,c=r.padding,l=r.boundary,f=r.rootBoundary,d=r.altBoundary,h=r.flipVariations,p=void 0===h||h,m=r.allowedAutoPlacements,g=t.options.placement,y=P(g),b=u||(y!==g&&p?function(e){if(P(e)===J)return[];var t=el(e);return[ed(e),t,ed(t)]}(g):[el(g)]),x=[g].concat(b).reduce(function(e,r){var n,i,a,o,s,u,d,h,g,y,b,x;return e.concat(P(r)===J?(i=(n={placement:r,boundary:l,rootBoundary:f,padding:c,flipVariations:p,allowedAutoPlacements:m}).placement,a=n.boundary,o=n.rootBoundary,s=n.padding,u=n.flipVariations,h=void 0===(d=n.allowedAutoPlacements)?en:d,0===(b=(y=(g=ea(i))?u?er:er.filter(function(e){return ea(e)===g}):X).filter(function(e){return h.indexOf(e)>=0})).length&&(b=y),Object.keys(x=b.reduce(function(e,r){return e[r]=ex(t,{placement:r,boundary:a,rootBoundary:o,padding:s})[P(r)],e},{})).sort(function(e,t){return x[e]-x[t]})):r)},[]),w=t.rects.reference,S=t.rects.popper,E=new Map,A=!0,C=x[0],O=0;O=0,F=j?"width":"height",I=ex(t,{placement:_,boundary:l,rootBoundary:f,altBoundary:d,padding:c}),T=j?R?G:Y:R?q:"top";w[F]>S[F]&&(T=el(T));var N=el(T),D=[];if(a&&D.push(I[k]<=0),s&&D.push(I[T]<=0,I[N]<=0),D.every(function(e){return e})){C=_,A=!1;break}E.set(_,D)}if(A)for(var M=p?3:1,L=function(e){var t=x.find(function(t){var r=E.get(t);if(r)return r.slice(0,e).every(function(e){return e})});if(t)return C=t,"break"},B=M;B>0&&"break"!==L(B);B--);t.placement!==C&&(t.modifiersData[n]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,a=r.altAxis,o=r.boundary,s=r.rootBoundary,u=r.altBoundary,c=r.padding,l=r.tether,f=void 0===l||l,d=r.tetherOffset,h=void 0===d?0:d,p=ex(t,{boundary:o,rootBoundary:s,padding:c,altBoundary:u}),m=P(t.placement),g=ea(t.placement),y=!g,b=z(m),x="x"===b?"y":"x",w=t.modifiersData.popperOffsets,S=t.rects.reference,E=t.rects.popper,A="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,C="number"==typeof A?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),O=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,_={x:0,y:0};if(w){if(void 0===i||i){var k,R="y"===b?"top":Y,I="y"===b?q:G,T="y"===b?"height":"width",D=w[b],M=D+p[R],L=D-p[I],B=f?-E[T]/2:0,H=g===Q?S[T]:E[T],$=g===Q?-E[T]:-S[T],Z=t.elements.arrow,W=f&&Z?N(Z):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:K(),X=J[R],ee=J[I],et=V(0,S[T],W[T]),er=y?S[T]/2-B-et-X-C.mainAxis:H-et-X-C.mainAxis,en=y?-S[T]/2+B+et+ee+C.mainAxis:$+et+ee+C.mainAxis,ei=t.elements.arrow&&U(t.elements.arrow),eo=ei?"y"===b?ei.clientTop||0:ei.clientLeft||0:0,es=null!=(k=null==O?void 0:O[b])?k:0,eu=V(f?F(M,D+er-es-eo):M,D,f?j(L,D+en-es):L);w[b]=eu,_[b]=eu-D}if(void 0!==a&&a){var ec,el,ef=w[x],ed="y"===x?"height":"width",eh=ef+p["x"===b?"top":Y],ep=ef-p["x"===b?q:G],em=-1!==["top",Y].indexOf(m),ev=null!=(ec=null==O?void 0:O[x])?ec:0,eg=em?eh:ef-S[ed]-E[ed]-ev+C.altAxis,ey=em?ef+S[ed]+E[ed]-ev-C.altAxis:ep,eb=f&&em?(el=V(eg,ef,ey))>ey?ey:el:V(f?eg:eh,ef,f?ey:ep);w[x]=eb,_[x]=eb-ef}t.modifiersData[n]=_}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r,n=e.state,i=e.name,a=e.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,u=P(n.placement),c=z(u),l=[Y,G].indexOf(u)>=0?"height":"width";if(o&&s){var f=Z("number"!=typeof(t="function"==typeof(t=a.padding)?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:W(t,X)),d=N(o),h=n.rects.reference[l]+n.rects.reference[c]-s[c]-n.rects.popper[l],p=s[c]-n.rects.reference[c],m=U(o),g=m?"y"===c?m.clientHeight||0:m.clientWidth||0:0,y=f["y"===c?"top":Y],b=g-d[l]-f["y"===c?q:G],x=g/2-d[l]/2+(h/2-p/2),w=V(y,x,b);n.modifiersData[i]=((r={})[c]=w,r.centerOffset=w-x,r)}},effect:function(e){var t=e.state,r=e.options.element,n=void 0===r?"[data-popper-arrow]":r;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&D(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}]}).defaultModifiers)?[]:i,s=void 0===(o=n.defaultOptions)?eE:o,function(e,t,r){void 0===r&&(r=s);var n,i={placement:"bottom",orderedModifiers:[],options:Object.assign({},eE,s),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},o=[],u=!1,c={state:i,setOptions:function(r){var n,u,f,d,h,p="function"==typeof r?r(i.options):r;l(),i.options=Object.assign({},s,i.options,p),i.scrollParents={reference:_(e)?ev(e):e.contextElement?ev(e.contextElement):[],popper:ev(t)};var m=(u=Object.keys(n=[].concat(a,i.options.modifiers).reduce(function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e},{})).map(function(e){return n[e]}),f=new Map,d=new Set,h=[],u.forEach(function(e){f.set(e.name,e)}),u.forEach(function(e){d.has(e.name)||function e(t){d.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!d.has(t)){var r=f.get(t);r&&e(r)}}),h.push(t)}(e)}),ei.reduce(function(e,t){return e.concat(h.filter(function(e){return e.phase===t}))},[]));return i.orderedModifiers=m.filter(function(e){return e.enabled}),i.orderedModifiers.forEach(function(e){var t=e.name,r=e.options,n=e.effect;if("function"==typeof n){var a=n({state:i,name:t,instance:c,options:void 0===r?{}:r});o.push(a||function(){})}}),c.update()},forceUpdate:function(){if(!u){var e,t,r,n,a,o,s,l,f,d,h,p,m=i.elements,g=m.reference,y=m.popper;if(eA(g,y)){i.rects={reference:(t=U(y),r="fixed"===i.options.strategy,n=k(t),l=k(t)&&(o=I((a=t.getBoundingClientRect()).width)/t.offsetWidth||1,s=I(a.height)/t.offsetHeight||1,1!==o||1!==s),f=B(t),d=T(g,l),h={scrollLeft:0,scrollTop:0},p={x:0,y:0},(n||!n&&!r)&&(("body"!==M(t)||em(f))&&(h=(e=t)!==O(e)&&k(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:eh(e)),k(t)?(p=T(t,!0),p.x+=t.clientLeft,p.y+=t.clientTop):f&&(p.x=ep(f))),{x:d.left+h.scrollLeft-p.x,y:d.top+h.scrollTop-p.y,width:d.width,height:d.height}),popper:N(y)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach(function(e){return i.modifiersData[e.name]=Object.assign({},e.data)});for(var b=0;bvoid 0},e_={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:e})=>()=>{let{reference:t,popper:r}=e.elements;if("removeAttribute"in t){let e=(t.getAttribute("aria-describedby")||"").split(",").filter(e=>e.trim()!==r.id);e.length?t.setAttribute("aria-describedby",e.join(",")):t.removeAttribute("aria-describedby")}},fn:({state:e})=>{var t;let{popper:r,reference:n}=e.elements,i=null==(t=r.getAttribute("role"))?void 0:t.toLowerCase();if(r.id&&"tooltip"===i&&"setAttribute"in n){let e=n.getAttribute("aria-describedby");if(e&&-1!==e.split(",").indexOf(r.id))return;n.setAttribute("aria-describedby",e?`${e},${r.id}`:r.id)}}},ek=[];var eR=function(e,t,r={}){let{enabled:n=!0,placement:i="bottom",strategy:a="absolute",modifiers:o=ek}=r,s=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n=0||(i[r]=e[r]);return i}(r,eP),u=(0,l.useRef)(o),c=(0,l.useRef)(),f=(0,l.useCallback)(()=>{var e;null==(e=c.current)||e.update()},[]),d=(0,l.useCallback)(()=>{var e;null==(e=c.current)||e.forceUpdate()},[]),[h,p]=C((0,l.useState)({placement:i,update:f,forceUpdate:d,attributes:{},styles:{popper:{},arrow:{}}})),m=(0,l.useMemo)(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:e})=>{let t={},r={};Object.keys(e.elements).forEach(n=>{t[n]=e.styles[n],r[n]=e.attributes[n]}),p({state:e,styles:t,attributes:r,update:f,forceUpdate:d,placement:e.placement})}}),[f,d,p]),g=(0,l.useMemo)(()=>(A(u.current,o)||(u.current=o),u.current),[o]);return(0,l.useEffect)(()=>{c.current&&n&&c.current.setOptions({placement:i,strategy:a,modifiers:[...g,m,eO]})},[a,i,m,n,g]),(0,l.useEffect)(()=>{if(n&&null!=e&&null!=t)return c.current=eC(e,t,Object.assign({},s,{placement:i,strategy:a,modifiers:[...g,e_,m]})),()=>{null!=c.current&&(c.current.destroy(),c.current=void 0,p(e=>Object.assign({},e,{attributes:{},styles:{popper:{}}})))}},[n,e,t]),h},ej=r(72950),eF=r(67216),eI=r(78146);let eT=()=>{},eN=e=>e&&("current"in e?e.current:e),eD={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};var eM=function(e,t=eT,{disabled:r,clickTrigger:n="click"}={}){let i=(0,l.useRef)(!1),a=(0,l.useRef)(!1),o=(0,l.useCallback)(t=>{let r=eN(e);m()(!!r,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),i.current=!r||!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)||0!==t.button||!!(0,f.Z)(r,t.target)||a.current,a.current=!1},[e]),s=(0,eI.Z)(t=>{let r=eN(e);r&&(0,f.Z)(r,t.target)&&(a.current=!0)}),u=(0,eI.Z)(e=>{i.current||t(e)});(0,l.useEffect)(()=>{if(r||null==e)return;let t=(0,eF.Z)(eN(e)),i=(t.defaultView||window).event,a=null;eD[n]&&(a=(0,ej.Z)(t,eD[n],s,!0));let c=(0,ej.Z)(t,n,o,!0),l=(0,ej.Z)(t,n,e=>{if(e===i){i=void 0;return}u(e)}),f=[];return"ontouchstart"in t.documentElement&&(f=[].slice.call(t.body.children).map(e=>(0,ej.Z)(e,"mousemove",eT))),()=>{null==a||a(),c(),l(),f.forEach(e=>e())}},[e,r,n,o,s,u])};let eL=()=>{};var eB=function(e,t,{disabled:r,clickTrigger:n}={}){let i=t||eL;eM(e,i,{disabled:r,clickTrigger:n});let a=(0,eI.Z)(e=>{27===e.keyCode&&i(e)});(0,l.useEffect)(()=>{if(r||null==e)return;let t=(0,eF.Z)(eN(e)),n=(t.defaultView||window).event,i=(0,ej.Z)(t,"keyup",e=>{if(e===n){n=void 0;return}a(e)});return()=>{i()}},[e,r,a])},eH=r(54194),e$=r(85893);let eU=l.forwardRef((e,t)=>{let{flip:r,offset:n,placement:i,containerPadding:a,popperConfig:o={},transition:s}=e,[u,c]=(0,w.Z)(),[f,d]=(0,w.Z)(),h=(0,g.Z)(c,t),p=(0,eH.Z)(e.container),m=(0,eH.Z)(e.target),[y,b]=(0,l.useState)(!e.show),S=eR(m,u,function({enabled:e,enableEvents:t,placement:r,flip:n,offset:i,fixed:a,containerPadding:o,arrowElement:s,popperConfig:u={}}){var c,l,f,d;let h=function(e){let t={};return Array.isArray(e)?(null==e||e.forEach(e=>{t[e.name]=e}),t):e||t}(u.modifiers);return Object.assign({},u,{placement:r,enabled:e,strategy:a?"fixed":u.strategy,modifiers:function(e={}){return Array.isArray(e)?e:Object.keys(e).map(t=>(e[t].name=t,e[t]))}(Object.assign({},h,{eventListeners:{enabled:t},preventOverflow:Object.assign({},h.preventOverflow,{options:o?Object.assign({padding:o},null==(c=h.preventOverflow)?void 0:c.options):null==(l=h.preventOverflow)?void 0:l.options}),offset:{options:Object.assign({offset:i},null==(f=h.offset)?void 0:f.options)},arrow:Object.assign({},h.arrow,{enabled:!!s,options:Object.assign({},null==(d=h.arrow)?void 0:d.options,{element:s})}),flip:Object.assign({enabled:!!n},h.flip)}))})}({placement:i,enableEvents:!!e.show,containerPadding:a||5,flip:r,offset:n,arrowElement:f,popperConfig:o}));e.show?y&&b(!1):e.transition||y||b(!0);let E=(...t)=>{b(!0),e.onExited&&e.onExited(...t)},A=e.show||s&&!y;if(eB(u,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!A)return null;let C=e.children(Object.assign({},S.attributes.popper,{style:S.styles.popper,ref:h}),{popper:S,placement:i,show:!!e.show,arrowProps:Object.assign({},S.attributes.arrow,{style:S.styles.arrow,ref:d})});if(s){let{onExit:t,onExiting:r,onEnter:n,onEntering:i,onEntered:a}=e;C=(0,e$.jsx)(s,{in:e.show,appear:!0,onExit:t,onExiting:r,onExited:E,onEnter:n,onEntering:i,onEntered:a,children:C})}return p?x.createPortal(C,p):null});eU.displayName="Overlay";var ez=r(99585),eV=r(11132),eK=r(76792),eZ=r(66611),eW=(0,eZ.Z)("popover-header"),eq=(0,eZ.Z)("popover-body");let eG=l.forwardRef(({bsPrefix:e,placement:t,className:r,style:n,children:i,body:a,arrowProps:o,popper:s,show:u,...c},l)=>{let f;let d=(0,eK.vE)(e,"popover"),h=(0,eK.SC)(),[p]=(null==t?void 0:t.split("-"))||[],m=(f=p,"left"===p?f=h?"end":"start":"right"===p&&(f=h?"start":"end"),f);return(0,e$.jsxs)("div",{ref:l,role:"tooltip",style:n,"x-placement":p,className:b()(r,d,p&&`bs-popover-${m}`),...c,children:[(0,e$.jsx)("div",{className:"popover-arrow",...o}),a?(0,e$.jsx)(eq,{children:i}):i]})});eG.defaultProps={placement:"right"};var eY=Object.assign(eG,{Header:eW,Body:eq,POPPER_OFFSET:[0,8]}),eJ=r(54800),eX=r(8285);let eQ={transition:eJ.Z,rootClose:!1,show:!1,placement:"top"},e0=l.forwardRef(({children:e,transition:t,popperConfig:r={},...n},i)=>{let a=(0,l.useRef)({}),[o,s]=(0,w.Z)(),[u,c]=function(e){let t=(0,l.useRef)(null),r=(0,eK.vE)(void 0,"popover"),n=(0,l.useMemo)(()=>({name:"offset",options:{offset:()=>t.current&&(0,eV.Z)(t.current,r)?e||eY.POPPER_OFFSET:e||[0,0]}}),[e,r]);return[t,[n]]}(n.offset),f=(0,g.Z)(i,u),d=!0===t?eJ.Z:t||void 0,h=(0,eI.Z)(e=>{s(e),null==r||null==r.onFirstUpdate||r.onFirstUpdate(e)});return(0,ez.Z)(()=>{o&&(null==a.current.scheduleUpdate||a.current.scheduleUpdate())},[o]),(0,e$.jsx)(eU,{...n,ref:f,popperConfig:{...r,modifiers:c.concat(r.modifiers||[]),onFirstUpdate:h},transition:d,children:(r,{arrowProps:n,popper:i,show:o})=>{var s,u;!function(e,t){let{ref:r}=e,{ref:n}=t;e.ref=r.__wrapped||(r.__wrapped=e=>r((0,eX.Z)(e))),t.ref=n.__wrapped||(n.__wrapped=e=>n((0,eX.Z)(e)))}(r,n);let c=null==i?void 0:i.placement,f=Object.assign(a.current,{state:null==i?void 0:i.state,scheduleUpdate:null==i?void 0:i.update,placement:c,outOfBoundaries:(null==i?void 0:null==(s=i.state)?void 0:null==(u=s.modifiersData.hide)?void 0:u.isReferenceHidden)||!1});return"function"==typeof e?e({...r,placement:c,show:o,...!t&&o&&{className:"show"},popper:f,arrowProps:n}):l.cloneElement(e,{...r,placement:c,arrowProps:n,popper:f,className:b()(e.props.className,!t&&o&&"show"),style:{...e.props.style,...r.style}})}})});function e1(e,t,r){let[n]=t,i=n.currentTarget,a=n.relatedTarget||n.nativeEvent[r];a&&a===i||(0,f.Z)(i,a)||e(...t)}function e2({trigger:e,overlay:t,children:r,popperConfig:n={},show:i,defaultShow:a=!1,onToggle:o,delay:s,placement:u,flip:c=u&&-1!==u.indexOf("auto"),...f}){var p,m,y,b,x,w,S,E;let A=(0,l.useRef)(null),C=(0,g.Z)(A,r.ref),P=(p=(0,d.Z)(),m=(0,l.useRef)(),(0,h.Z)(function(){return clearTimeout(m.current)}),(0,l.useMemo)(function(){var e=function(){return clearTimeout(m.current)};return{set:function(t,r){void 0===r&&(r=0),p()&&(e(),r<=2147483647?m.current=setTimeout(t,r):function e(t,r,n){var i=n-Date.now();t.current=i<=2147483647?setTimeout(r,i):setTimeout(function(){return e(t,r,n)},2147483647)}(m,t,Date.now()+r))},clear:e}},[])),O=(0,l.useRef)(""),[_,k]=(y=(0,l.useRef)(void 0!==i),x=(b=(0,l.useState)(a))[0],w=b[1],S=void 0!==i,E=y.current,y.current=S,!S&&E&&x!==a&&w(a),[S?i:x,(0,l.useCallback)(function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{C((0,eX.Z)(e))},N=(0,l.useCallback)(()=>{if(P.clear(),O.current="show",!R.show){k(!0);return}P.set(()=>{"show"===O.current&&k(!0)},R.show)},[R.show,k,P]),D=(0,l.useCallback)(()=>{if(P.clear(),O.current="hide",!R.hide){k(!1);return}P.set(()=>{"hide"===O.current&&k(!1)},R.hide)},[R.hide,k,P]),M=(0,l.useCallback)((...e)=>{N(),null==j||j(...e)},[N,j]),L=(0,l.useCallback)((...e)=>{D(),null==F||F(...e)},[D,F]),B=(0,l.useCallback)((...e)=>{k(!_),null==I||I(...e)},[I,k,_]),H=(0,l.useCallback)((...e)=>{e1(N,e,"fromElement")},[N]),$=(0,l.useCallback)((...e)=>{e1(D,e,"toElement")},[D]),U=null==e?[]:[].concat(e),z={ref:T};return -1!==U.indexOf("click")&&(z.onClick=B),-1!==U.indexOf("focus")&&(z.onFocus=M,z.onBlur=L),-1!==U.indexOf("hover")&&(z.onMouseOver=H,z.onMouseOut=$),(0,e$.jsxs)(e$.Fragment,{children:["function"==typeof r?r(z):(0,l.cloneElement)(r,z),(0,e$.jsx)(e0,{...f,show:_,onHide:D,flip:c,placement:u,popperConfig:n,target:A.current,children:t})]})}e0.displayName="Overlay",e0.defaultProps=eQ,e2.defaultProps={defaultShow:!1,trigger:["hover","focus"]};var e4=r(71893),e3=r(34798),e5=r.n(e3),e6=r(99603),e8=r(59417),e9=r(12183);function e7(e){var t=e.title,r=e.content,n=e.show,i=e.hide,a=e.icon,o=void 0===a?e8.sqG:a,s=e.onClick,u=void 0===s?e5():s,c=e.trigger,l=e.style,f=e.children,d=(0,e$.jsxs)(eY,{id:"popover-basic",style:l,children:[t&&(0,e$.jsx)(eW,{children:t}),r&&(0,e$.jsx)(eq,{dangerouslySetInnerHTML:{__html:r}})]});return(0,e$.jsx)(e2,{trigger:void 0===c?["hover","focus","click"]:c,placement:"right-start",overlay:d,delay:{show:void 0===n?150:n,hide:void 0===i?250:i},children:(0,e$.jsx)("span",{children:f||(0,e$.jsx)(e6.G,{color:"#777777",icon:o,onClick:u})})})}(0,e4.ZP)(eY)(u||(u=(0,c.Z)(["\n font-size: "," !important;\n font-family: "," !important;\n"])),e9.n5,e9.rk)},5845:function(e,t,r){"use strict";var n,i=r(71383),a=r(42894),o=r(71893),s=r(12183),u=r(85893),c=o.ZP.div(n||(n=(0,i.Z)(["\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n margin-top: ",";\n\n & p {\n margin-top: 10px;\n }\n"])),s.SI);t.Z=function(){return(0,u.jsxs)(c,{children:[(0,u.jsx)(a.rj,{color:"#000",height:45,width:45,visible:!0}),(0,u.jsx)("p",{children:"Loading information..."})]})}},4256:function(e,t,r){"use strict";r.d(t,{I:function(){return o}});var n,i=r(71383),a=r(71893),o=[{maxWidth:767,marginTop:10},{maxWidth:991,width:723,marginTop:20},{maxWidth:1199,width:933,marginTop:50},{width:1127,marginTop:80}],s=function(e,t,r,n){if("left"===e)return"\n margin-right: auto !important;\n ";if("right"===e)return"\n margin-left: auto !important;\n ";if("center"===e)return"\n margin-left: auto !important;\n margin-right: auto !important;\n ";var i="";return t&&(i+="margin-left: ".concat(t).concat(n," !important;")),r&&(i+="margin-right: ".concat(r).concat(n," !important;")),i},u=a.ZP.div(n||(n=(0,i.Z)(["\n display: block;\n max-width: 100% !important;\n\n ","\n"])),function(e){return e.rules.map(function(t,r){return 0===r?"@media only screen and (max-width: ".concat(t.maxWidth,"px) {\n & {\n ").concat(t.marginTop&&"margin-top: ".concat(t.marginTop,"px;"),"\n width: auto !important;\n ").concat(s(t.horizontalAlign||"none",1,1,"em"),"\n }\n }"):r===e.rules.length-1?"@media only screen and (min-width: ".concat((e.rules[r-1].maxWidth||0)+1,"px) {\n & {\n ").concat(t.marginTop&&"margin-top: ".concat(t.marginTop,"px;"),"\n width: ").concat(t.width,"px;\n ").concat(s(t.horizontalAlign||"center",t.marginLeft,t.marginRight,t.marginUnit),"\n }\n }"):"@media only screen and (min-width: ".concat((e.rules[r-1].maxWidth||0)+1,"px) and (max-width: ").concat(t.maxWidth,"px) {\n & {\n ").concat(t.marginTop&&"margin-top: ".concat(t.marginTop,"px;"),"\n width: ").concat(t.width,"px;\n ").concat(s(t.horizontalAlign||"center",t.marginLeft,t.marginRight,t.marginUnit),"\n }\n }")})});t.Z=u},67302:function(e,t,r){"use strict";var n,i=r(71383),a=r(71893);t.Z=a.ZP.div(n||(n=(0,i.Z)(["\n width: 100%;\n\n & .pg-notification-close {\n padding: 0 0.5rem;\n }\n"])))},4136:function(e,t,r){"use strict";r.d(t,{DK:function(){return m},Es:function(){return f},JK:function(){return c},Jx:function(){return y},Qf:function(){return p},S3:function(){return x},TW:function(){return d},YC:function(){return h},_x:function(){return g},dV:function(){return b},e$:function(){return w},ne:function(){return l},rp:function(){return u},uA:function(){return i},xN:function(){return S}});var n=r(18269),i=function(e){return"bceidboth"===e},a=function(e){return"digitalcredential"===e},o=function(e){return"bcservicescard"===e},s=function(e){return["idir","azureidir"].includes(e)},u=function(e){return e.startsWith("bceid")},c=function(e){return!u(e)},l=function(e){return["bceidbasic","bceidbusiness"].includes(e)},f=function(e){return s(e)||"bceidboth"!==e},d=function(e){return s(e)||!l(e)},h=function(e){return["githubpublic","githubbcgov"].includes(e)},p=function(e){return!h(e)},m=function(e){return!a(e)},g=function(e){return!o(e)},y=function(e){if(!e)return!1;var t=e.devIdps;return(void 0===t?[]:t).some(u)},b=function(e){if(!e)return!1;var t=e.devIdps;return(void 0===t?[]:t).some(h)},x=function(e){if(!e)return!1;var t=e.devIdps;return(void 0===t?[]:t).some(a)},w=function(e){if(!e)return!1;var t=e.devIdps;return(void 0===t?[]:t).some(o)},S=function(e,t){var r,i=function(e){return(null==e?void 0:e.privacy_zone_uri)===t},a=null==e?void 0:e.find(i);return a||(a=(0,n.S2)().find(i)),(null===(r=a)||void 0===r?void 0:r.privacy_zone_name)||"Unavailable"}},36063:function(e,t,r){"use strict";r.d(t,{bD:function(){return x},ZP:function(){return b},hU:function(){return w}});var n,i=r(59499),a=r(67294),o=r(48094),s=r.n(o),u=r(85330),c=r(85893),l=function(e){var t=e.children,r=e.variant,n=e.size,i=e.closable,o=e.content,s=e.fadeOut,l=(0,a.useState)(!1),f=l[0],d=l[1];return((0,a.useEffect)(function(){var e=s?setTimeout(function(){d(!0)},s):null;return function(){e&&clearTimeout(e)}},[]),f)?null:(0,c.jsx)(u.bZ,{variant:r,size:n,closable:i,content:o,children:t})},f=r(67302),d=r(71383),h=r(71893).ZP.div(n||(n=(0,d.Z)(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n z-index: 2000;\n"])));function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function m(e){for(var t=1;t0;t&&r&&t(r)})},e),elements:i},u.push(r),s.set(r,t),t}({root:null==t?void 0:t.current,rootMargin:r})).id,i=e.observer,(l=e.elements).set(p,function(e){return e&&d(e)}),i.observe(p),function(){if(l.delete(p),i.unobserve(p),0===l.size){i.disconnect(),s.delete(n);var e=u.findIndex(function(e){return e.root===n.root&&e.margin===n.margin});e>-1&&u.splice(e,1)}}}}else if(!f){var m=a.requestIdleCallback(function(){return d(!0)});return function(){return a.cancelIdleCallback(m)}}},[c,r,t,f,h.current]),[p,f,i.useCallback(function(){d(!1)},[])]};var i=r(67294),a=r(86682),o="function"==typeof IntersectionObserver,s=new Map,u=[];("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5505:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AmpStateContext=void 0;var n=(0,r(92648).Z)(r(67294)).default.createContext({});t.AmpStateContext=n},91342:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInAmpMode=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.ampFirst,r=e.hybrid,n=e.hasQuery;return void 0!==t&&t||void 0!==r&&r&&void 0!==n&&n}},11597:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultHead=l,t.default=void 0;var n=r(6495).Z,i=r(92648).Z,a=(0,r(91598).Z)(r(67294)),o=i(r(97271)),s=r(5505),u=r(20236),c=r(91342);function l(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=[a.default.createElement("meta",{charSet:"utf-8"})];return e||t.push(a.default.createElement("meta",{name:"viewport",content:"width=device-width"})),t}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===a.default.Fragment?e.concat(a.default.Children.toArray(t.props.children).reduce(function(e,t){return"string"==typeof t||"number"==typeof t?e:e.concat(t)},[])):e.concat(t)}r(71590);var d=["name","httpEquiv","charSet","itemProp"];function h(e,t){var r,i,o,s,u=t.inAmpMode;return e.reduce(f,[]).reverse().concat(l(u).reverse()).filter((r=new Set,i=new Set,o=new Set,s={},function(e){var t=!0,n=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){n=!0;var a=e.key.slice(e.key.indexOf("$")+1);r.has(a)?t=!1:r.add(a)}switch(e.type){case"title":case"base":i.has(e.type)?t=!1:i.add(e.type);break;case"meta":for(var u=0,c=d.length;u0&&!em().isEmail(c))){e.next=3;break}return h("Please provide a valid email address"),e.abrupt("return");case 3:return e.next=5,(0,B.ck)({additionalEmail:c});case 5:(t=e.sent,n=(r=(0,P.Z)(t,2))[0],a=r[1])?(console.error(a),i.show({variant:"danger",fadeOut:2500,closable:!0,content:a})):n&&i.show({variant:"success",fadeOut:2500,closable:!0,content:"Your additional email has successfully been updated"}),window.location.hash="#";case 11:case"end":return e.stop()}},e)})),function(){return r.apply(this,arguments)}),b="".concat(null==m?void 0:m.given_name," ").concat(null==m?void 0:m.family_name),x=(0,ea.jsxs)(ev,{children:[(0,ea.jsx)(ef.default,{label:"Name",fullWidth:!0,value:b,disabled:!0}),(0,ea.jsx)("br",{}),(0,ea.jsx)(ef.default,{label:"Default Email",fullWidth:!0,value:null==m?void 0:m.email,disabled:!0}),(0,ea.jsx)("br",{}),(0,ea.jsxs)("div",{children:[(0,ea.jsx)("span",{className:"strong",children:"Additional Email"})," \xa0",(0,ea.jsx)(eh.Z,{title:"",content:"You can add a work email address in addition to your @gov.bc.ca to keep you informed of your integration progress. Note IDIR login/authentication is required to access the CSS App.",hide:200})]}),(0,ea.jsx)(ef.default,{"data-testid":"addi-email",type:"email",fullWidth:!0,maxLength:"100",value:c,onChange:function(e){em().isEmail(e.target.value)&&h(""),l(e.target.value)}}),d&&(0,ea.jsx)(eg,{children:d})]});return(0,ea.jsxs)(ea.Fragment,{children:[n(s),(0,ea.jsx)(ed.Z,{id:"user-profile",openModal:o,handleClose:function(){return s(!1)},content:x,onConfirm:y,icon:K.m08,title:"My Profile",confirmText:"Save",skipCloseOnConfirm:!0,closable:!0})]})}),eb=W.ZP.div(d||(d=(0,$.Z)(["\n font-size: 1.2rem;\n display: flex;\n\n & > div:first-child {\n color: red;\n font-size: 2rem;\n width: 120px;\n }\n\n & > div:nth-child(2) {\n & > p:first-child {\n color: red;\n font-weight: bold;\n }\n }\n"]))),ex=function(){var e,t,r=(0,j.useState)(!1),n=r[0],i=r[1],a=(0,j.useContext)(ty)||{},o=a.user,s=a.session,u=(e=(0,_.Z)(R().mark(function e(){var t;return R().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(!s||!o)){e.next=2;break}return e.abrupt("return");case 2:!s.isAdmin&&!o.hasReadGoldNotification&&null!==(t=o.integrations)&&void 0!==t&&t.find(function(e){return"gold"!==e.serviceType})&&i(!0);case 3:case"end":return e.stop()}},e)})),function(){return e.apply(this,arguments)});(0,j.useEffect)(function(){s&&o&&u()},[o]);var c=(t=(0,_.Z)(R().mark(function e(){return R().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,B.ck)({hasReadGoldNotification:!0});case 2:i(!1);case 3:case"end":return e.stop()}},e)})),function(){return t.apply(this,arguments)}),l=(0,ea.jsxs)(ea.Fragment,{children:[(0,ea.jsxs)(eb,{children:[(0,ea.jsx)("div",{children:(0,ea.jsx)(V.G,{icon:K.RLE,size:"lg"})}),(0,ea.jsxs)("div",{children:[(0,ea.jsx)("p",{children:"At this time, the Silver realms are being retired on Jan. 30 2023*. Projects on these realms will no longer be supported by the SSO team."}),(0,ea.jsxs)("p",{children:["Please complete a ",(0,ea.jsx)("span",{className:"strong",children:"Change Impact Assessment"}),", for each of your projects in the Silver realms."]})]})]}),(0,ea.jsx)("div",{className:"text-center",children:(0,ea.jsx)("button",{className:"primary",type:"button",onClick:function(){return window.open("https://docs.google.com/forms/d/1MMPeMB0A2076xkXIZRaErAwZe9QDsSwSAWqe-uvm3ys","_blank","noopener")},children:"Complete Change Impact Assessment"})})]});return(0,ea.jsx)(ea.Fragment,{children:(0,ea.jsx)(ed.Z,{id:"gold-notification",openModal:n,handleClose:c,content:l,showCancel:!1,showConfirm:!1,icon:K.RLE,title:"Please upgrade from Silver to Gold",closable:!0})})},ew=r(18269),eS=W.ZP.span(h||(h=(0,$.Z)(["\n display: flex;\n align-items: end;\n font-weight: 700;\n"]))),eE=W.ZP.div(p||(p=(0,$.Z)(["\n padding: 1rem 0;\n min-height: calc(100vh - ",");\n"])),"152px"),eA=W.ZP.ul(m||(m=(0,$.Z)(["\n padding-left: 2rem;\n padding-right: 2rem;\n\n li a {\n display: inline-block !important;\n font-size: unset !important;\n padding: 0 !important;\n border-right: none !important;\n }\n"]))),eC=W.ZP.div(g||(g=(0,$.Z)(["\n display: flex;\n justify-content: space-between;\n width: 100%;\n padding-left: 2rem;\n padding-right: 2rem;\n"]))),eP=W.ZP.ul(y||(y=(0,$.Z)(["\n & a {\n font-size: 1rem !important;\n }\n\n & a.current {\n font-weight: bold;\n }\n\n & li.current {\n padding-bottom: 6px;\n border-bottom: none;\n background: linear-gradient(orange, orange) bottom /* left or right or else */ no-repeat;\n background-size: calc(100% - 2rem) 4px;\n }\n"]))),eO=W.ZP.ul(b||(b=(0,$.Z)(["\n padding-right: 2rem;\n"]))),e_=W.ZP.div(x||(x=(0,$.Z)(["\n padding-left: 2rem;\n padding-right: 2rem;\n ul.text-small a {\n font-size: 0.875rem;\n }\n"]))),ek=W.ZP.li(w||(w=(0,$.Z)(["\n &:hover {\n opacity: 0.8;\n }\n"]))),eR=W.ZP.div(S||(S=(0,$.Z)(["\n height: 100%;\n"]))),ej=[{path:"/",label:"Home",roles:["guest","user","sso-admin"]},{path:"/terms-conditions",label:"Terms and Conditions",roles:["guest"]},{path:"/my-dashboard",label:"My Dashboard",roles:["user","sso-admin"]},{path:"/admin-dashboard",label:"SSO Dashboard",roles:["sso-admin"]},{path:"/admin-reports",label:"SSO Reports",roles:["sso-admin"]},{path:"/request",label:"Request Details",roles:["user","sso-admin"],hide:!0},{path:"/faq",label:"FAQ",roles:["guest","user","sso-admin"]}],eF=function(e){var t,r=e.session,n=e.currentPath,i=e.query,a=["guest"];r&&(a=(null==r?void 0:null===(t=r.client_roles)||void 0===t?void 0:t.length)>0?r.client_roles:["user"]);var o=function(e){return n===e||n.startsWith("".concat(e,"/"))};return(0,ea.jsx)(ea.Fragment,{children:ej.filter(function(e){return e.roles.some(function(e){return a.includes(e)})&&(!e.hide||o(e.path))}).map(function(e){return(0,ea.jsx)("li",{className:o(e.path)?"current":"",children:(0,ea.jsx)(z(),{href:e.path,children:J()(e.label)?e.label(i):e.label})},e.path)})})},eI=function(){return(0,ea.jsxs)(ea.Fragment,{children:[(0,ea.jsx)(ey,{children:function(e){return(0,ea.jsx)(ek,{children:(0,ea.jsx)("a",{title:"My Profile","data-testid":"my-profile-link",children:(0,ea.jsx)(V.G,{size:"2x",icon:K.U6l,onClick:function(){return e(!0)}})})})}}),(0,ea.jsx)(ek,{children:(0,ea.jsx)("a",{href:"https://chat.developer.gov.bc.ca/channel/sso",target:"_blank",title:"Rocket Chat",children:(0,ea.jsx)(V.G,{size:"2x",icon:K.Z6I})})}),(0,ea.jsx)(ek,{children:(0,ea.jsx)("a",{href:"mailto:bcgov.sso@gov.bc.ca",title:"Pathfinder SSO",children:(0,ea.jsx)(V.G,{size:"2x",icon:K.FU$})})}),(0,ea.jsx)(ek,{children:(0,ea.jsx)("a",{href:(0,ew.eO)(),target:"_blank",title:"Documentation",children:(0,ea.jsx)(V.G,{size:"2x",icon:K.cwv})})})]})},eT=function(e){var t=e.children,r=e.session,n=(e.user,e.onLoginClick),i=e.onLogoutClick,a=(0,F.useRouter)(),o=a.pathname,s=r?(0,ea.jsxs)(eS,{children:[(0,ea.jsxs)("div",{children:["Welcome ","".concat(r.given_name," ").concat(r.family_name),"\xa0",(null==r?void 0:r.client_roles)&&(0,ea.jsxs)("span",{className:"small",children:["(",G()(null==r?void 0:r.client_roles[0]),")"]})]}),"\xa0\xa0",(0,ea.jsx)("button",{className:"secondary-inverse",onClick:i,children:"Log out"})]}):(0,ea.jsx)("button",{className:"secondary-inverse",onClick:n,children:"Log in"});return(0,ea.jsxs)(el.ZP,{children:[(0,ea.jsx)(ec,{title:function(){return(0,ea.jsx)(eR,{children:"Common Hosted Single Sign-on (CSS)"})},rightSide:s,mobileMenu:function(){return(0,ea.jsxs)(eA,{children:[(0,ea.jsx)(eF,{session:r,currentPath:o,query:a.query}),(0,ea.jsxs)("li",{children:["Need help?\xa0\xa0",(0,ea.jsx)("a",{href:"https://chat.developer.gov.bc.ca/",target:"_blank",title:"Rocket Chat",children:(0,ea.jsx)(V.G,{size:"2x",icon:K.Z6I})}),"\xa0\xa0",(0,ea.jsx)("a",{href:"mailto:bcgov.sso@gov.bc.ca",title:"SSO Team",children:(0,ea.jsx)(V.G,{size:"2x",icon:K.FU$})}),"\xa0\xa0",(0,ea.jsx)("a",{href:(0,ew.eO)(),target:"_blank",title:"Wiki",children:(0,ea.jsx)(V.G,{size:"2x",icon:K.cwv})})]}),(0,ea.jsx)("li",{children:r?(0,ea.jsx)("button",{className:"secondary-inverse",onClick:i,children:"Logout"}):(0,ea.jsx)("button",{className:"secondary-inverse",onClick:n,children:"Login with IDIR"})})]})},onBannerClick:console.log,children:(0,ea.jsxs)(eC,{children:[(0,ea.jsx)(eP,{children:(0,ea.jsx)(eF,{session:r,currentPath:o,query:a.query})}),(0,ea.jsx)(eO,{children:(0,ea.jsx)(eI,{})})]})}),(0,ea.jsx)(eE,{children:(0,ea.jsx)(el.bD,{children:t})}),(0,ea.jsx)(Z.default,{children:(0,ea.jsx)(e_,{children:(0,ea.jsxs)("ul",{className:"text-small",children:[(0,ea.jsx)("li",{children:(0,ea.jsx)(z(),{href:"/",children:"Home"})}),(0,ea.jsx)("li",{children:(0,ea.jsx)("a",{href:"https://www2.gov.bc.ca/gov/content/home/disclaimer",target:"_blank",rel:"noreferrer",children:"Disclaimer"})}),(0,ea.jsx)("li",{children:(0,ea.jsx)("a",{href:"https://www2.gov.bc.ca/gov/content/home/privacy",target:"_blank",rel:"noreferrer",children:"Privacy"})}),(0,ea.jsx)("li",{children:(0,ea.jsx)("a",{href:"https://www2.gov.bc.ca/gov/content/home/accessible-government",target:"_blank",rel:"noreferrer",children:"Accessibility"})}),(0,ea.jsx)("li",{children:(0,ea.jsx)("a",{href:"https://www2.gov.bc.ca/gov/content/home/copyright",target:"_blank",rel:"noreferrer",children:"Copyright"})})]})})}),(0,ea.jsx)(ex,{})]})},eN=r(5845),eD=r(9008),eM=r.n(eD);r(84494),r(93814);var eL=Object.create,eB=Object.defineProperty,eH=Object.getOwnPropertyDescriptor,e$=Object.getOwnPropertyNames,eU=Object.getPrototypeOf,ez=Object.prototype.hasOwnProperty,eV=(s=null!=(o=(i=(e,t)=>{var n,i;n=e,i=function(e){var t,r=void 0===Number.MAX_SAFE_INTEGER?9007199254740991:Number.MAX_SAFE_INTEGER,n=2*536870912,i=new WeakMap,a=(t=function(e,t){return i.set(e,t),t},function(e){var a=i.get(e),o=void 0===a?e.size:ar)throw Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;e.has(o);)o=Math.floor(Math.random()*r);return t(e,o)});e.addUniqueNumber=function(e){var t=a(e);return e.add(t),t},e.generateUniqueNumber=a},"object"==typeof e&&"u">typeof t?i(e):"function"==typeof define&&r.amdO?define(["exports"],i):i((n="u">typeof globalThis?globalThis:n||self).fastUniqueNumbers={})},()=>(a||i((a={exports:{}}).exports,a),a.exports))())?eL(eU(o)):{},((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of e$(t))ez.call(e,r)||void 0===r||eB(e,r,{get:()=>t[r],enumerable:!(n=eH(t,r))||n.enumerable});return e})(o&&o.__esModule?s:eB(s,"default",{value:o,enumerable:!0}),o)),eK=e=>void 0!==e.method&&"call"===e.method,eZ=e=>null===e.error&&"number"==typeof e.id,eW=e=>{let t=new Map([[0,()=>{}]]),r=new Map([[0,()=>{}]]),n=new Map,i=new Worker(e);return i.addEventListener("message",({data:e})=>{if(eK(e)){let{params:{timerId:i,timerType:a}}=e;if("interval"===a){let e=t.get(i);if("number"==typeof e){let t=n.get(e);if(void 0===t||t.timerId!==i||t.timerType!==a)throw Error("The timer is in an undefined state.")}else if("u">typeof e)e();else throw Error("The timer is in an undefined state.")}else if("timeout"===a){let e=r.get(i);if("number"==typeof e){let t=n.get(e);if(void 0===t||t.timerId!==i||t.timerType!==a)throw Error("The timer is in an undefined state.")}else if("u">typeof e)e(),r.delete(i);else throw Error("The timer is in an undefined state.")}}else if(eZ(e)){let{id:i}=e,a=n.get(i);if(void 0===a)throw Error("The timer is in an undefined state.");let{timerId:o,timerType:s}=a;n.delete(i),"interval"===s?t.delete(o):r.delete(o)}else{let{error:{message:t}}=e;throw Error(t)}}),{clearInterval:e=>{let r=(0,eV.generateUniqueNumber)(n);n.set(r,{timerId:e,timerType:"interval"}),t.set(e,r),i.postMessage({id:r,method:"clear",params:{timerId:e,timerType:"interval"}})},clearTimeout:e=>{let t=(0,eV.generateUniqueNumber)(n);n.set(t,{timerId:e,timerType:"timeout"}),r.set(e,t),i.postMessage({id:t,method:"clear",params:{timerId:e,timerType:"timeout"}})},setInterval:(e,r)=>{let n=(0,eV.generateUniqueNumber)(t);return t.set(n,()=>{e(),"function"==typeof t.get(n)&&i.postMessage({id:null,method:"set",params:{delay:r,now:performance.now(),timerId:n,timerType:"interval"}})}),i.postMessage({id:null,method:"set",params:{delay:r,now:performance.now(),timerId:n,timerType:"interval"}}),n},setTimeout:(e,t)=>{let n=(0,eV.generateUniqueNumber)(r);return r.set(n,e),i.postMessage({id:null,method:"set",params:{delay:t,now:performance.now(),timerId:n,timerType:"timeout"}}),n}}};n=null,()=>{if(null!==n)return n;let e=new Blob(['(()=>{"use strict";const e=new Map,t=new Map,r=(e,t)=>{let r,o;const i=performance.now();r=i,o=e-Math.max(0,i-t);return{expected:r+o,remainingDelay:o}},o=(e,t,r,i)=>{const s=performance.now();s>r?postMessage({id:null,method:"call",params:{timerId:t,timerType:i}}):e.set(t,setTimeout(o,r-s,e,t,r,i))};addEventListener("message",(i=>{let{data:s}=i;try{if("clear"===s.method){const{id:r,params:{timerId:o,timerType:i}}=s;if("interval"===i)(t=>{const r=e.get(t);if(void 0===r)throw new Error(\'There is no interval scheduled with the given id "\'.concat(t,\'".\'));clearTimeout(r),e.delete(t)})(o),postMessage({error:null,id:r});else{if("timeout"!==i)throw new Error(\'The given type "\'.concat(i,\'" is not supported\'));(e=>{const r=t.get(e);if(void 0===r)throw new Error(\'There is no timeout scheduled with the given id "\'.concat(e,\'".\'));clearTimeout(r),t.delete(e)})(o),postMessage({error:null,id:r})}}else{if("set"!==s.method)throw new Error(\'The given method "\'.concat(s.method,\'" is not supported\'));{const{params:{delay:i,now:n,timerId:a,timerType:d}}=s;if("interval"===d)((t,i,s)=>{const{expected:n,remainingDelay:a}=r(t,s);e.set(i,setTimeout(o,a,e,i,n,"interval"))})(i,a,n);else{if("timeout"!==d)throw new Error(\'The given type "\'.concat(d,\'" is not supported\'));((e,i,s)=>{const{expected:n,remainingDelay:a}=r(e,s);t.set(i,setTimeout(o,a,t,i,n,"timeout"))})(i,a,n)}}}}catch(e){postMessage({error:{message:e.message},id:s.id,result:null})}}))})();'],{type:"application/javascript; charset=utf-8"}),t=URL.createObjectURL(e);return n=eW(t),setTimeout(()=>URL.revokeObjectURL(t)),n};var eq=(typeof window>"u"?"undefined":typeof window)=="object",eG={setTimeout:eq?setTimeout.bind(window):setTimeout,clearTimeout:eq?clearTimeout.bind(window):clearTimeout,setInterval:eq?setInterval.bind(window):setInterval,clearInterval:eq?clearInterval.bind(window):clearInterval},eY={},eJ=class{name;closed=!1;mc=new MessageChannel;constructor(e){this.name=e,eY[e]=eY[e]||[],eY[e].push(this),this.mc.port1.start(),this.mc.port2.start(),this.onStorage=this.onStorage.bind(this),window.addEventListener("storage",this.onStorage)}onStorage(e){if(e.storageArea!==window.localStorage||e.key.substring(0,this.name.length)!==this.name||null===e.newValue)return;let t=JSON.parse(e.newValue);this.mc.port2.postMessage(t)}postMessage(e){if(this.closed)throw Error("InvalidStateError");let t=JSON.stringify(e),r=`${this.name}:${String(Date.now())}${String(Math.random())}`;window.localStorage.setItem(r,t),eG.setTimeout(()=>{window.localStorage.removeItem(r)},500),eY[this.name].forEach(e=>{e!==this&&e.mc.port2.postMessage(JSON.parse(t))})}close(){if(this.closed)return;this.closed=!0,this.mc.port1.close(),this.mc.port2.close(),window.removeEventListener("storage",this.onStorage);let e=eY[this.name].indexOf(this);eY[this.name].splice(e,1)}get onmessage(){return this.mc.port1.onmessage}set onmessage(e){this.mc.port1.onmessage=e}get onmessageerror(){return this.mc.port1.onmessageerror}set onmessageerror(e){this.mc.port1.onmessageerror=e}addEventListener(e,t){return this.mc.port1.addEventListener(e,t)}removeEventListener(e,t){return this.mc.port1.removeEventListener(e,t)}dispatchEvent(e){return this.mc.port1.dispatchEvent(e)}},eX=typeof window>"u"?void 0:"function"==typeof window.BroadcastChannel?window.BroadcastChannel:eJ;function eQ(){return Math.random().toString(36).substring(2)}var e0=class{options;channel;token=eQ();isLeader=!1;isDead=!1;isApplying=!1;reApply=!1;intervals=[];listeners=[];deferred;constructor(e,t){this.channel=e,this.options=t,this.apply=this.apply.bind(this),this.awaitLeadership=this.awaitLeadership.bind(this),this.sendAction=this.sendAction.bind(this)}async apply(){if(this.isLeader||this.isDead)return!1;if(this.isApplying)return this.reApply=!0,!1;this.isApplying=!0;let e=!1,t=t=>{let{token:r,action:n}=t.data;r!==this.token&&(0===n&&r>this.token&&(e=!0),1===n&&(e=!0))};this.channel.addEventListener("message",t);try{return this.sendAction(0),await function(e=0){return new Promise(t=>eG.setTimeout(t,e))}(this.options.responseTime),this.channel.removeEventListener("message",t),this.isApplying=!1,e?!!this.reApply&&this.apply():(this.assumeLead(),!0)}catch{return!1}}awaitLeadership(){if(this.isLeader)return Promise.resolve();let e=!1,t=null;return new Promise(r=>{let n=()=>{if(e)return;e=!0;try{eG.clearInterval(t)}catch{}let n=this.intervals.indexOf(t);n>=0&&this.intervals.splice(n,1),this.channel.removeEventListener("message",i),r()};t=eG.setInterval(()=>{this.apply().then(()=>{this.isLeader&&n()})},this.options.fallbackInterval),this.intervals.push(t);let i=e=>{let{action:t}=e.data;2===t&&this.apply().then(()=>{this.isLeader&&n()})};this.channel.addEventListener("message",i)})}sendAction(e){this.channel.postMessage({action:e,token:this.token})}assumeLead(){this.isLeader=!0;let e=e=>{let{action:t}=e.data;0===t&&this.sendAction(1)};return this.channel.addEventListener("message",e),this.listeners.push(e),this.sendAction(1)}waitForLeadership(){return this.deferred||(this.deferred=this.awaitLeadership()),this.deferred}close(){if(!this.isDead){this.isDead=!0,this.isLeader=!1,this.sendAction(2);try{this.listeners.forEach(e=>this.channel.removeEventListener("message",e)),this.intervals.forEach(e=>eG.clearInterval(e))}catch{}}}},e1=class{channel;options;elector;token=eQ();registry=new Map;allIdle=!1;isLastActive=!1;constructor(e){let{channelName:t}=e;this.options=e,this.channel=new eX(t),this.registry.set(this.token,1),e.leaderElection&&(this.elector=new e0(this.channel,{fallbackInterval:2e3,responseTime:100}),this.elector.waitForLeadership()),this.channel.addEventListener("message",e=>{let{action:t,token:r,data:n}=e.data;switch(t){case 3:this.registry.set(r,2);break;case 4:this.registry.delete(r);break;case 5:this.idle(r);break;case 6:this.active(r);break;case 7:this.prompt(r);break;case 8:this.start(r);break;case 9:this.reset(r);break;case 10:this.activate(r);break;case 11:this.pause(r);break;case 12:this.resume(r);break;case 13:this.options.onMessage(n)}}),this.send(3)}get isLeader(){if(!this.elector)throw Error('❌ Leader election is not enabled. To Enable it set the "leaderElection" property to true.');return this.elector.isLeader}prompt(e=this.token){this.registry.set(e,0);let t=[...this.registry.values()].every(e=>0===e);e===this.token&&this.send(7),t&&this.options.onPrompt()}idle(e=this.token){this.registry.set(e,2);let t=[...this.registry.values()].every(e=>2===e);e===this.token&&this.send(5),!this.allIdle&&t&&(this.allIdle=!0,this.options.onIdle())}active(e=this.token){this.allIdle=!1,this.registry.set(e,1);let t=[...this.registry.values()].some(e=>1===e);e===this.token&&this.send(6),t&&this.options.onActive(),this.isLastActive=e===this.token}start(e=this.token){this.allIdle=!1,this.registry.set(e,1),e===this.token?this.send(8):this.options.start(!0),this.isLastActive=e===this.token}reset(e=this.token){this.allIdle=!1,this.registry.set(e,1),e===this.token?this.send(9):this.options.reset(!0),this.isLastActive=e===this.token}activate(e=this.token){this.allIdle=!1,this.registry.set(e,1),e===this.token?this.send(10):this.options.activate(!0),this.isLastActive=e===this.token}pause(e=this.token){e===this.token?this.send(11):this.options.pause(!0)}resume(e=this.token){e===this.token?this.send(12):this.options.resume(!0)}message(e){try{this.channel.postMessage({action:13,token:this.token,data:e})}catch{}}send(e){try{this.channel.postMessage({action:e,token:this.token})}catch{}}close(){this.options.leaderElection&&this.elector.close(),this.send(4),this.channel.close()}},e2=eq?document:null,e4=["mousemove","keydown","wheel","DOMMouseScroll","mousewheel","mousedown","touchstart","touchmove","MSPointerDown","MSPointerMove","visibilitychange","focus"];function e3(e,t){let r=0;return function(...n){let i=new Date().getTime();if(!(i-rDate.now();(0,j.createContext)(null).Consumer;var e6=r(35124);r(6965);var e8=r(58766),e9=r(12183),e7=r(30996);function te(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function tt(e){for(var t=1;t0){e.next=3;break}return e.abrupt("return",m("Please select a rating."));case 3:o&&(0,B.xc)({triggerEvent:o,message:f,rating:u.filter(function(e){return e.selected}).length}),n(!1),r(!1);case 6:case"end":return e.stop()}},e)})),function(){return t.apply(this,arguments)}),b="".concat(i?"open":"closed"," ").concat(!a&&"hidden");return(0,ea.jsx)(tn,{children:(0,ea.jsxs)(ti,{className:b,children:[(0,ea.jsxs)("div",{className:"header",onClick:function(){r(!i)},children:[(0,ea.jsx)("p",{children:"We'd love to hear from you"}),(0,ea.jsx)(V.G,{icon:i?K.Qbq:K.K96})]}),(0,ea.jsxs)("div",{className:"body",children:[(0,ea.jsx)("p",{className:"title",children:(0,ea.jsx)("strong",{children:"Rate our service"})}),(0,ea.jsx)("p",{children:"How was your experience with the CSS app?"}),(0,ea.jsxs)(ta,{children:[(0,ea.jsx)("div",{className:"stars-box",children:u.map(function(e,t){return(0,ea.jsx)(V.G,{style:{cursor:"pointer"},role:"button",size:"3x",icon:K.Tab,color:e.selected?"gold":"grey",onClick:function(){return g(t)}},e.id)})}),(0,ea.jsxs)("div",{className:"stars-text",children:[(0,ea.jsx)("span",{children:"Bad"}),(0,ea.jsx)("span",{children:"Great"})]})]}),(0,ea.jsx)(e7.default,{fullWidth:!0,placeholder:"Leave a message...",rows:4,value:f,onChange:function(e){m(""),e.target.value.length<=700?d(e.target.value):m("Messages are at most ".concat(700," characters."))}}),p&&(0,ea.jsx)("p",{className:"error-message",children:p}),(0,ea.jsxs)("div",{className:"button-container",children:[(0,ea.jsx)("button",{className:"secondary",onClick:function(){return n(!1)},children:"Close"}),(0,ea.jsx)("button",{className:"primary",onClick:y,children:"Rate now"})]})]})]})})};function tu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function tc(e){for(var t=1;t{},onPrompt:u=()=>{},onIdle:c=()=>{},onActive:l=()=>{},onAction:f=()=>{},onMessage:d=()=>{},debounce:h=0,throttle:p=0,eventsThrottle:m=200,startOnMount:g=!0,startManually:y=!1,stopOnIdle:b=!1,crossTab:x=!1,name:w="idle-timer",syncTimers:S=0,leaderElection:E=!1,disabled:A=!1}={}){let C=(0,j.useRef)(e5()),P=(0,j.useRef)(e5()),O=(0,j.useRef)(null),_=(0,j.useRef)(null),k=(0,j.useRef)(0),R=(0,j.useRef)(0),F=(0,j.useRef)(0),I=(0,j.useRef)(0),T=(0,j.useRef)(!1),N=(0,j.useRef)(!1),D=(0,j.useRef)(!1),M=(0,j.useRef)(!0),L=(0,j.useRef)(!1),B=(0,j.useRef)(null),H=(0,j.useRef)(null),$=(0,j.useRef)(e),U=(0,j.useRef)(0);(0,j.useEffect)(()=>{if(t&&console.warn("⚠️ IdleTimer -- The `promptTimeout` property has been deprecated in favor of `promptBeforeIdle`. It will be removed in the next major release."),r&&t)throw Error("❌ Both promptTimeout and promptBeforeIdle can not be set. The promptTimeout property will be deprecated in a future version.");if(e>=2147483647)throw Error(`\u274C The value for the timeout property must fit in a 32 bit signed integer, 2147483647.`);if(t>=2147483647)throw Error(`\u274C The value for the promptTimeout property must fit in a 32 bit signed integer, 2147483647.`);if(r>=2147483647)throw Error(`\u274C The value for the promptBeforeIdle property must fit in a 32 bit signed integer, 2147483647.`);if(r>=e)throw Error(`\u274C The value for the promptBeforeIdle property must be less than the timeout property, ${e}.`);if(r?($.current=e-r,U.current=r):($.current=e,U.current=t),!M.current){if(y||A)return;T.current&&(J.current(null,eF),H.current&&H.current.active()),ed()}},[e,t,r,y,A]);let z=(0,j.useRef)(b);(0,j.useEffect)(()=>{z.current=b},[b]);let V=(0,j.useRef)(o),K=(0,j.useRef)(n),Z=(0,j.useRef)([...new Set([...i,...o]).values()]),W=(0,j.useRef)(A);(0,j.useEffect)(()=>{W.current=A,!M.current&&(A?em():y||ed())},[A]);let q=(0,j.useRef)(s);(0,j.useEffect)(()=>{q.current=s},[s]);let G=(0,j.useRef)(u);(0,j.useEffect)(()=>{G.current=u},[u]);let Y=(0,j.useRef)(c);(0,j.useEffect)(()=>{Y.current=c},[c]);let J=(0,j.useRef)(l);(0,j.useEffect)(()=>{J.current=l},[l]);let X=(0,j.useRef)(f);(0,j.useEffect)(()=>{X.current=f},[f]);let Q=(0,j.useRef)(d);(0,j.useEffect)(()=>{Q.current=d},[d]);let ee=(0,j.useMemo)(()=>{let e=(e,t)=>X.current(e,t);return h>0?function(e,t){let r;function n(...i){r&&clearTimeout(r),r=setTimeout(()=>{e(...i),r=null},t)}return n.cancel=function(){clearTimeout(r)},n}(e,h):p>0?e3(e,p):e},[p,h]),et=(0,j.useRef)();(0,j.useEffect)(()=>{x&&S&&(et.current=e3(()=>{H.current.active()},S))},[x,S]);let er=()=>{null!==B.current&&(eG.clearTimeout(B.current),B.current=null)},en=(e,t=!0)=>{er(),B.current=eG.setTimeout(es,e||$.current),t&&(_.current=e5())},ei=e=>{N.current||T.current||(G.current(e,eF),q.current({type:"active",prompted:!0},eF)),I.current=0,F.current=e5(),N.current=!0,en(U.current,!1)},ea=()=>{er(),T.current||(Y.current(null,eF),q.current({type:"idle"},eF)),T.current=!0,O.current=e5(),z.current?ef():N.current&&(F.current=0,N.current=!1)},eo=e=>{er(),(T.current||N.current)&&(J.current(e,eF),q.current({type:"active",prompted:!1},eF)),N.current=!1,F.current=0,T.current=!1,k.current+=e5()-O.current,R.current+=e5()-O.current,el(),en()},es=e=>{if(!T.current){ee.cancel&&ee.cancel();let t=e5()-_.current;if(!($.current+U.current0&&!N.current){H.current?H.current.prompt():ei(e);return}H.current?H.current.idle():ea();return}H.current?H.current.active():eo(e)},eu=e=>{if(g||_.current||(_.current=e5(),J.current(null,eF)),ee(e,eF),N.current)return;if(er(),!T.current&&V.current.includes(e.type)){es(e);return}let t=e5()-_.current;if(T.current&&!b||!T.current&&t>=$.current){es(e);return}D.current=!1,I.current=0,F.current=0,en(),x&&S&&et.current()},ec=(0,j.useRef)(eu);(0,j.useEffect)(()=>{let e=L.current;e&&ef(),m>0?ec.current=e3(eu,m):ec.current=eu,e&&el()},[m,p,h,X,x,S]);let el=()=>{eq&&K.current&&(L.current||(Z.current.forEach(e=>{K.current.addEventListener(e,ec.current,{capture:!0,passive:!0})}),L.current=!0))},ef=(e=!1)=>{eq&&K.current&&(L.current||e)&&(Z.current.forEach(e=>{K.current.removeEventListener(e,ec.current,{capture:!0})}),L.current=!1)},ed=(0,j.useCallback)(e=>!W.current&&(er(),el(),T.current=!1,N.current=!1,D.current=!1,I.current=0,F.current=0,H.current&&!e&&H.current.start(),en(),!0),[B,T,W,$,H]),eh=(0,j.useCallback)(e=>!W.current&&(er(),el(),P.current=e5(),k.current+=e5()-O.current,R.current+=e5()-O.current,k.current=0,T.current=!1,N.current=!1,D.current=!1,I.current=0,F.current=0,H.current&&!e&&H.current.reset(),y||en(),!0),[B,T,$,y,W,H]),ep=(0,j.useCallback)(e=>!W.current&&(er(),el(),(T.current||N.current)&&eo(),T.current=!1,N.current=!1,D.current=!1,I.current=0,F.current=0,P.current=e5(),H.current&&!e&&H.current.activate(),en(),!0),[B,T,N,W,$,H]),em=(0,j.useCallback)((e=!1)=>!W.current&&!D.current&&(I.current=eE(),D.current=!0,ef(),er(),H.current&&!e&&H.current.pause(),!0),[B,W,H]),ev=(0,j.useCallback)((e=!1)=>!W.current&&!!D.current&&(D.current=!1,N.current||el(),T.current||en(I.current),F.current&&(F.current=e5()),H.current&&!e&&H.current.resume(),!0),[B,$,W,I,H]),eg=(0,j.useCallback)((e,t)=>(H.current?(t&&Q.current(e,eF),H.current.message(e)):t&&Q.current(e,eF),!0),[d]),ey=(0,j.useCallback)(()=>T.current,[T]),eb=(0,j.useCallback)(()=>N.current,[N]),ex=(0,j.useCallback)(()=>H.current?H.current.isLeader:null,[H]),ew=(0,j.useCallback)(()=>H.current?H.current.isLastActive:null,[H]),eS=(0,j.useCallback)(()=>H.current?H.current.token:null,[H]),eE=(0,j.useCallback)(()=>{if(D.current)return I.current;let e=Math.floor((I.current?I.current:U.current+$.current)-(_.current?e5()-_.current:0));return e<0?0:Math.abs(e)},[$,U,N,I,_]),eA=(0,j.useCallback)(()=>Math.round(e5()-P.current),[P]),eC=(0,j.useCallback)(()=>Math.round(e5()-C.current),[C]),eP=(0,j.useCallback)(()=>O.current?new Date(O.current):null,[O]),eO=(0,j.useCallback)(()=>_.current?new Date(_.current):null,[_]),e_=(0,j.useCallback)(()=>T.current?Math.round(e5()-O.current+k.current):Math.round(k.current),[O,k]),ek=(0,j.useCallback)(()=>T.current?Math.round(e5()-O.current+R.current):Math.round(R.current),[O,R]),eR=(0,j.useCallback)(()=>{let e=Math.round(eA()-e_());return e>=0?e:0},[O,k]),ej=(0,j.useCallback)(()=>{let e=Math.round(eC()-ek());return e>=0?e:0},[O,k]);(0,j.useEffect)(()=>{if(h>0&&p>0)throw Error("❌ onAction can either be throttled or debounced, not both.");a&&(eG.setTimeout=a.setTimeout,eG.clearTimeout=a.clearTimeout,eG.setInterval=a.setInterval,eG.clearInterval=a.clearInterval);let e=()=>{H.current&&H.current.close(),ee.cancel&&ee.cancel(),er(),ef(!0)};return eq&&window.addEventListener("beforeunload",e),()=>{eq&&window.removeEventListener("beforeunload",e),H.current&&H.current.close(),ee.cancel&&ee.cancel(),er(),ef(!0)}},[]),(0,j.useEffect)(()=>{H.current&&H.current.close(),x?H.current=new e1({channelName:w,leaderElection:E,onPrompt:()=>{ei()},onIdle:()=>{ea()},onActive:()=>{eo()},onMessage:e=>{Q.current(e,eF)},start:ed,reset:eh,activate:ep,pause:em,resume:ev}):H.current=null},[x,w,E,G,Y,J,Q,ed,eh,em,ev]),(0,j.useEffect)(()=>{M.current||(er(),ef(!0)),y||A||(g?ed():el())},[y,g,A,M]),(0,j.useEffect)(()=>{if(!M.current){let e=[...new Set([...i,...o]).values()];ef(),Z.current=e,K.current=n,V.current=o,y||A||(g?ed():el())}},[n,JSON.stringify(i),JSON.stringify(o),M,A,y,g]),(0,j.useEffect)(()=>{M.current&&(M.current=!1)},[M]);let eF={message:eg,start:ed,reset:eh,activate:ep,pause:em,resume:ev,isIdle:ey,isPrompted:eb,isLeader:ex,isLastActiveTab:ew,getTabId:eS,getRemainingTime:eE,getElapsedTime:eA,getTotalElapsedTime:eC,getLastIdleTime:eP,getLastActiveTime:eO,getIdleTime:e_,getTotalIdleTime:ek,getActiveTime:eR,getTotalActiveTime:ej,setOnPresenceChange:e=>{s=e,q.current=e},setOnPrompt:e=>{u=e,G.current=e},setOnIdle:e=>{c=e,Y.current=e},setOnActive:e=>{l=e,J.current=e},setOnAction:e=>{f=e,X.current=e},setOnMessage:e=>{d=e,Q.current=e}}}({onPrompt:function(){"expired"!==w&&o.current.open()},timeout:3e5,promptBeforeIdle:1e4,throttle:500,disabled:null===l}),(0,j.useEffect)(function(){function e(e,r){return t.apply(this,arguments)}function t(){return(t=(0,_.Z)(R().mark(function e(t,r){var n,i,a,o;return R().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,M.W)(t.id_token);case 2:if(n=e.sent,a=(i=(0,P.Z)(n,2))[0],o=i[1],!a){e.next=14;break}if(!r){e.next=11;break}return(0,H.d0)(t),e.next=11,u.push("/my-dashboard");case 11:f(tv(a)),e.next=17;break;case 14:(0,H.Zz)(),f(tv(null)),r&&u.push({pathname:"/application-error",query:{error:o}});case 17:y(!1);case 18:case"end":return e.stop()}},e)}))).apply(this,arguments)}function r(){return(r=(0,_.Z)(R().mark(function t(){var r,n,i,a,o;return R().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return y(!0),t.prev=1,t.next=4,(0,N.M)();case 4:if(n=(r=(0,D.rg)()).code,i=r.state,!n){t.next=13;break}return t.next=8,(0,D.hP)({code:n,state:i});case 8:return a=t.sent,t.next=11,e(a,!0);case 11:t.next=16;break;case 13:return o=(0,H.lz)(),t.next=16,e(o,!1);case 16:t.next=25;break;case 18:t.prev=18,t.t0=t.catch(1),console.log(t.t0),(0,H.Zz)(),f(tv(null)),y(!1),b(t.t0);case 25:case"end":return t.stop()}},t,null,[[1,18]])}))).apply(this,arguments)}console.log("app started..."),tp&&"true"===tp&&u.push({pathname:"/application-error",query:{error:"maintenance"}}),(0,L.Nu)(),function(){r.apply(this,arguments)}()},[]),(0,j.useEffect)(function(){var e,t=(e=(0,_.Z)(R().mark(function e(){var t,r,n;return R().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,B.Ai)();case 2:t=e.sent,n=(r=(0,P.Z)(t,2))[0],r[1],p(n);case 7:case"end":return e.stop()}},e)})),function(){return e.apply(this,arguments)});l&&t()},[l]),(0,j.useEffect)(function(){if(l){var e=setInterval((0,_.Z)(R().mark(function e(){var t;return R().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t=(0,e8.QE)((0,H.lz)().refresh_token),Date.now()>=(null==t?void 0:t.exp)*1e3?(S("expired"),o.current.close(),s.current.open()):S("");case 2:case"end":return e.stop()}},e)})),5e3);return function(){clearInterval(e)}}});var Z=(r=(0,_.Z)(R().mark(function e(){var t;return R().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,D.iq)({kc_idp_hint:th});case 2:t=e.sent,window.location.href=t;case 4:case"end":return e.stop()}},e)})),function(){return r.apply(this,arguments)}),W=(n=(0,_.Z)(R().mark(function e(){return R().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(0,H.Zz)(),window.location.href=(0,D.kG)();case 2:case"end":return e.stop()}},e)})),function(){return n.apply(this,arguments)}),q=(0,j.useMemo)(function(){return{setShowSurvey:V}},[h]);return g?(0,ea.jsx)(eN.Z,{}):tm.some(function(e){return window.location.pathname.startsWith(e)})&&!l?(u.push("/"),null):(0,ea.jsx)(ty.Provider,{value:{session:l,user:h},children:(0,ea.jsx)(tb.Provider,{value:q,children:tp&&"true"===tp?(0,ea.jsx)(i,tc({},a)):(0,ea.jsxs)(ea.Fragment,{children:[(0,ea.jsxs)(eT,{session:l,user:h,onLoginClick:Z,onLogoutClick:W,children:[(0,ea.jsxs)(eM(),{children:[(0,ea.jsx)("html",{lang:"en"}),(0,ea.jsx)("title",{children:"Common Hosted Single Sign-on (CSS)"}),(0,ea.jsx)("link",{rel:"icon",href:"/bootstrap-theme/dist/images/bcid-favicon-32x32.png"})]}),(0,ea.jsx)(i,tc(tc({},a),{},{session:l,onLoginClick:Z,onLogoutClick:W}))]}),(0,ea.jsx)(e6.Z,{ref:o,style:{maxHeight:"calc(100vh - 200px)",overflowY:"auto"},title:"Session expiring",icon:K.eHv,onConfirm:(0,_.Z)(R().mark(function e(){return R().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,B.Ai)();case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)})),onCancel:function(){W()},confirmButtonText:"Confirm",confirmButtonVariant:"primary",cancelButtonVariant:"secondary",showConfirmButton:!0,showCancelButton:!0,children:(0,ea.jsxs)("div",{children:[(0,ea.jsx)("div",{children:"Your session will expire soon and you will be signed out automatically."}),(0,ea.jsx)("br",{}),(0,ea.jsx)("div",{children:"Do you want to stay signed in?"})," "]})}),(0,ea.jsx)(e6.Z,{ref:s,style:{maxHeight:"calc(100vh - 200px)",overflowY:"auto"},title:"Session expired",icon:K.eHv,onConfirm:function(){return Z()},onCancel:(0,_.Z)(R().mark(function e(){return R().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,B.Ai)();case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)})),confirmButtonText:"Login",confirmButtonVariant:"primary",cancelButtonVariant:"secondary",showConfirmButton:!0,showCancelButton:!0,children:(0,ea.jsxs)("div",{children:[(0,ea.jsx)("div",{children:"Your session has expired."}),(0,ea.jsx)("br",{}),(0,ea.jsx)("div",{children:"Please login again."})," "]})}),h&&(0,ea.jsx)(ts,{setOpenSurvey:z,open:U,display:I,setDisplaySurvey:T,triggerEvent:A})]})})})}},27923:function(e,t,r){"use strict";r.d(t,{Ek:function(){return y},Nu:function(){return b}});var n,i,a,o=r(16835),s=r(50029),u=r(87794),c=r.n(u),l=r(10433),f=r(18316),d=r(25284),h=r(34596),p=r(11752),m=(r.n(p)()()||{}).publicRuntimeConfig,g=(void 0===m?{}:m).base_path,y=(n=(0,s.Z)(c().mark(function e(){var t;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S();case 2:return t=(0,f.lz)(),e.abrupt("return","Bearer ".concat(t.id_token));case 4:case"end":return e.stop()}},e)})),function(){return n.apply(this,arguments)});function b(){return x.apply(this,arguments)}function x(){return(x=(0,s.Z)(c().mark(function e(){return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.abrupt("return",l.e.get("heartbeat",{headers:{skipAuth:!0}}).then(function(e){return e.data}));case 4:return e.prev=4,e.t0=e.catch(0),e.abrupt("return",(0,l.z)(e.t0));case 7:case"end":return e.stop()}},e,null,[[0,4]])}))).apply(this,arguments)}var w=(i=(0,s.Z)(c().mark(function e(t){var r,n;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.dx)({refreshToken:t.refresh_token});case 2:return r=e.sent,e.next=5,(0,h.W)(null==r?void 0:r.id_token);case 5:n=e.sent,(0,o.Z)(n,1)[0]?(0,f.d0)(r):((0,f.Zz)(),console.error("failed to refresh the token"),window.location.href="".concat(g));case 9:case"end":return e.stop()}},e)})),function(e){return i.apply(this,arguments)}),S=(a=(0,s.Z)(c().mark(function e(){var t,r,n;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=(0,f.lz)(),e.next=3,(0,h.W)(t.id_token);case 3:r=e.sent,(n=(0,o.Z)(r,1)[0])?1e3*n.exp-Date.now()<12e4&&w(t):w(t);case 7:case"end":return e.stop()}},e)})),function(){return a.apply(this,arguments)})},10433:function(e,t,r){"use strict";r.d(t,{e:function(){return x},z:function(){return w}});var n,i=r(59499),a=r(50029),o=r(87794),s=r.n(o),u=r(11752),c=r.n(u),l=r(9669),f=r.n(l),d=r(27923),h=r(11163),p=r.n(h);function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function g(e){for(var t=1;t=2 set to 'VerifiedIndividual' else set to 'Individual'.",data_type:"xs:string",scope:"profile"},{name:"birthdate",user_friendly_name:"Date of Birth",user_friendly_description:"The individual's documented birth date recorded from valid identification.",data_type:"xs:date",scope:"profile"},{name:"family_name",user_friendly_name:"Surname",user_friendly_description:"The individual's documented surname recorded from valid identification.",data_type:"xs:string",scope:"profile"},{name:"gender",user_friendly_name:"Sex",user_friendly_description:"The individual's documented sex recorded from valid identification. Values include male, female, unknown and diverse.",data_type:"xs:string",scope:"profile"},{name:"address",user_friendly_name:"Address",user_friendly_description:"All address lines of the individual's provided residential address.",data_type:"xs:string",scope:"address"},{name:"authoritative_party_name",user_friendly_name:"Authoritative Party Name",user_friendly_description:"The common name of the system or organization that is authoritative for the information provided as identity claims.",data_type:"xs:string",scope:"profile"},{name:"locality",user_friendly_name:"City/town",user_friendly_description:"The city, municipality or district of an individual's provided residential address.",data_type:"xs:string",scope:"address"},{name:"region",user_friendly_name:"State Or Province",user_friendly_description:"The province or state code of an individual's provided residential address.",data_type:"xs:string",scope:"address"},{name:"authoritative_party_identifier",user_friendly_name:"Authoritative Party Identifier",user_friendly_description:"A unique identifier of the system or organization that is authoritative for the information provided as identity claims.",data_type:"xs:string",scope:"profile"},{name:"authentication_zone_identifier",user_friendly_name:"Authentication Zone Identifier",user_friendly_description:"A unique identifier for the authentication zone this client is in.",data_type:"xs:anyURI",scope:"profile"},{name:"sector_identifier_uri",user_friendly_name:"Privacy Zone Identifier",user_friendly_description:"An identifier issued by IAS that represents a privacy zone.\xc2 A privacy zone is used to distinguish a set of relying parties that have the authority to share user identifiers.",data_type:"xs:anyURI",scope:"profile"},{name:"display_name",user_friendly_name:"Name",user_friendly_description:"The individual's name which their preferred name if available or composed of their documented name.",data_type:"xs:string",scope:"profile"},{name:"identity_assurance_level3",user_friendly_name:"Identity Assurance Level 3",user_friendly_description:"An indicator that there is high confidence in the identity claims of the individual according to the OCIO Identity Assurance Standard.",data_type:"xs:boolean",scope:"profile"},{name:"transaction_type",user_friendly_name:"Transaction Type",user_friendly_description:"An indicator of which channel was used to authenticate the individual.",data_type:"xs:string",scope:"profile"},{name:"given_name",user_friendly_name:"Given Name",user_friendly_description:"The individual's documented given name (first name only) recorded from valid identification.",data_type:"xs:string",scope:"profile"},{name:"identity_assurance_level1",user_friendly_name:"Identity Assurance Level 1",user_friendly_description:"An indicator that there is low confidence in the identity claims of the individual according to the OCIO Identity Assurance Standard.",data_type:"xs:boolean",scope:"profile"},{name:"age_19_or_over",user_friendly_name:"Age 19 Or Over",user_friendly_description:"An indicator of whether the individual's age is 19 years or greater based on the documented birth date recorded from valid identification.",data_type:"xs:boolean",scope:"profile"},{name:"transaction_identifier",user_friendly_name:"Transaction Identifier",user_friendly_description:"A unique identifier of the transaction that was used to authenticate the individual.",data_type:"xs:string",scope:"profile"},{name:"given_names",user_friendly_name:"Given Names",user_friendly_description:"The individual's documented given names (first and middle) recorded from valid identification",data_type:"xs:string",scope:"profile"},{name:"street_address",user_friendly_name:"Street Address",user_friendly_description:"The street address lines of an individual's provided residential address.",data_type:"xs:string",scope:"address"},{name:"country",user_friendly_name:"Country",user_friendly_description:"The country code of an individual's provided residential address.",data_type:"xs:string",scope:"address"},{name:"age",user_friendly_name:"Age",user_friendly_description:"The individual's age in years based on the documented birth date recorded from valid identification.",data_type:"xs:integer",scope:"profile"},{name:"identity_assurance_level2",user_friendly_name:"Identity Assurance Level 2",user_friendly_description:"An indicator that there is medium confidence in the identity claims of the individual according to the OCIO Identity Assurance Standard.",data_type:"xs:boolean",scope:"profile"},{name:"identification_level",user_friendly_name:"Identification Level",user_friendly_description:"The level of confidence in the certainty of the identification of the individual according to the OCIO Evidence of Identity Standard.",data_type:"xs:integer",scope:"profile"},{name:"email",user_friendly_name:"Email Address",user_friendly_description:"The email address provided by an individual (and verified by IAS)",data_type:"xs:string",scope:"email"},{name:"identity_assurance_level",user_friendly_name:"Identity Assurance Level",user_friendly_description:"The level of confidence in the certainty of the identity claims of the individual according to the OCIO Identity Assurance Standard.",data_type:"xs:integer",scope:"profile"}]}},58766:function(e,t,r){"use strict";r.d(t,{Dy:function(){return g},F3:function(){return N},O5:function(){return C},QE:function(){return b},R5:function(){return F},Sx:function(){return P},UB:function(){return A},UT:function(){return m},Wv:function(){return _},he:function(){return j},jt:function(){return I},kC:function(){return k},kF:function(){return T},ob:function(){return x},qu:function(){return S},rn:function(){return O},z9:function(){return E},zO:function(){return w}});var n,i=r(50029),a=r(16835),o=r(59499),s=r(87794),u=r.n(s);r(25751);var c=r(18269),l=r(58292),f=r(4136),d=r(85893);function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function p(e){for(var t=1;t0?i:null,a=a.length>0?a:null;var o=t.map(function(e){return e.value});return[a,i,o=o.length>0?o:null]},g=function(e){var t=e.bceidApproved,r=e.githubApproved,n=e.digitalCredentialApproved,i=e.bcServicesCardApproved,a=e.environments,o=void 0===a?[]:a,s=e.serviceType,u=(0,f.Jx)(e),l=(0,f.dV)(e),d=(0,f.S3)(e),h=(0,f.e$)(e),m=c.TJ.map(function(t){var r=e.devIdps;return p(p({},t),{},{idps:r||[]})});if("gold"===s){var g=j(e),y=F(e),b=I(e),x=T(e),w=m.filter(function(e){return o.includes(e.name)});return u&&(!t||g)&&(w=w.map(function(e){return"prod"===e.name&&(e.idps=e.idps.filter(f.JK)),e})),l&&(!r||y)&&(w=w.map(function(e){return"prod"===e.name&&(e.idps=e.idps.filter(f.Qf)),e})),d&&(!n||b)&&(w=w.map(function(e){return"prod"===e.name&&(e.idps=e.idps.filter(f.DK)),e})),h&&(!i||x)&&(w=w.map(function(e){return"prod"===e.name&&(e.idps=e.idps.filter(f._x)),e})),w}var S=o.concat()||[];return u&&!t&&(S=S.filter(function(e){return"prod"!==e})),m.filter(function(e){return S.includes(e.name)})},y=function(e){return e?JSON.parse(decodeURIComponent(Array.from(atob(e.replace(/-/g,"+").replace(/_/g,"/"))).reduce(function(e,t){var r=("00"+t.charCodeAt(0).toString(16)).slice(-2);return"".concat(e,"%").concat(r)},""))):null},b=function(e){if(!e)return null;var t=e.split(".");return y((0,a.Z)(t,2)[1])},x=function(e){if(!e)return null;var t=e.split(".");return y((0,a.Z)(t,1)[0])},w=function(){var e=new Uint32Array(28);crypto.getRandomValues(e);var t=[];return e.forEach(function(e){return t.push("0".concat(e.toString(16).substr(-2)))}),t.reduce(function(e,t){return"".concat(e).concat(t)},"")},S=(n=(0,i.Z)(u().mark(function e(t){var r;return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=new TextEncoder().encode(t),e.abrupt("return",crypto.subtle.digest("SHA-256",r));case 4:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}),E=function(e){return btoa(new Uint8Array(e).reduce(function(e,t){return"".concat(e).concat(String.fromCharCode(t))},"")).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")},A=function(e){var t;return e.devValidRedirectUris&&0!==e.devValidRedirectUris.length||(e.devValidRedirectUris=[""]),e.testValidRedirectUris&&0!==e.testValidRedirectUris.length||(e.testValidRedirectUris=[""]),e.prodValidRedirectUris&&0!==e.prodValidRedirectUris.length||(e.prodValidRedirectUris=[""]),e.teamId?e.teamId=String(e.teamId):e.usesTeam=!1,Object.entries(t=e).forEach(function(e){var r=(0,a.Z)(e,2),n=r[0];null===r[1]&&delete t[n]}),t},C=function(e){return e.map(function(e){if(Object.keys(c.Qj).map(function(e){return".".concat(e)}).includes(e.property)){var t=e.property.slice(1);e.message=c.Qj[t]||e.message}else(e.property.includes("ValidRedirectUris")||e.property.includes("SamlLogoutPostBindingUri")||e.property.includes("bcscAttributes"))&&("should be string"===e.message?e.message="":"should NOT have fewer than 1 items"===e.message?e.message="":e.message=c.Qj.redirectUris);return e})},P=function(e){if(!e||0===e.length)return(0,d.jsx)("div",{children:"No changes"});var t=e.map(function(e){var t=e.kind,r=e.lhs,n=e.rhs,i=e.path,a=e.item,o=i[0];switch(t){case"E":return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("strong",{children:["Edited ",o,": "]}),"Changed ",(0,d.jsx)("code",{children:String(r)})," to ",(0,d.jsx)("code",{children:String(n)})]});case"A":if((null==a?void 0:a.kind)==="D")return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("strong",{children:["Changed Array ",o,": "]}),"Deleted ",(0,d.jsxs)("code",{children:[" ",null==a?void 0:a.lhs]})]});if((null==a?void 0:a.kind)==="N")return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("strong",{children:["Changed Array ",o,": "]}),"Added ",(0,d.jsx)("code",{children:null==a?void 0:a.rhs})]});return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("strong",{children:["Changed Array ",o,": "]}),"Edited"," ",(0,d.jsxs)("code",{children:[null==a?void 0:a.lhs," to ",null==a?void 0:a.rhs]})]});case"N":return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("strong",{children:["Added ",o,": "]}),(0,d.jsx)("code",{children:a})]});case"D":return(0,d.jsx)(d.Fragment,{children:(0,d.jsxs)("strong",{children:["Deleted ",o," "]})});default:return(0,d.jsx)("code",{children:JSON.stringify(e,null,2)})}});return(0,d.jsx)("ul",{children:t.map(function(e,t){return(0,d.jsx)("li",{children:e},t)})})},O=function(e){return e.some(function(e){return["submitted","pr","prFailed","planned","planFailed","approved","applyFailed"].includes(e.status||"")})};function _(e,t){if(1===e.length)return!1;var r=e.find(function(e){return e.id===t});return 1!==e.filter(function(e){return"admin"===e.role}).length||(null==r?void 0:r.role)!=="admin"}var k=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},R=function(e,t){return"Submitted"===(0,l.n)(e.status||"draft")&&!!e.lastChanges&&0!==e.lastChanges.length&&e.lastChanges.some(function(e){return e.path[0]===t&&!1===e.lhs&&!0===e.rhs})},j=function(e){return R(e,"bceidApproved")},F=function(e){return R(e,"githubApproved")},I=function(e){return R(e,"digitalCredentialApproved")},T=function(e){return R(e,"bcServicesCardApproved")},N=function(e){var t=new Date;return t.setDate(t.getDate()-e),t}},34596:function(e,t,r){"use strict";r.d(t,{W:function(){return p}});var n,i=r(50029),a=r(87794),o=r.n(a),s=r(31166),u=r(11752),c=r.n(u),l=r(77675),f=r(58766),d=(c()()||{}).publicRuntimeConfig,h=(void 0===d?{}:d).sso_client_id,p=(n=(0,i.Z)(o().mark(function e(t){var r,n,i,a,u;return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return",[,"e02"]);case 2:if(r=l.$.keys,n=(0,f.ob)(t),void 0!==(i=null==r?void 0:r.find(function(e){return e.kid===n.kid}))){e.next=8;break}return console.error("public key not found in JWK jwks.json"),e.abrupt("return",[,"e02"]);case 8:if(a=(0,f.QE)(t),!(Date.now()>=1e3*a.exp)){e.next=12;break}return console.log("token has expired"),e.abrupt("return",[,"e02"]);case 12:if(u=s.KZ.getKey(i),s.fs.jws.JWS.verifyJWT(t,u,{alg:["RS256"],gracePeriod:28800})){e.next=17;break}return console.error("signature verification failed"),e.abrupt("return",[,"e02"]);case 17:if(!(0!==a.aud.localeCompare(h))){e.next=21;break}return console.error("token was not issued for this audience"),e.abrupt("return",[,"e02"]);case 21:if(["idir","azureidir"].includes(a.identity_provider)){e.next=24;break}return console.error("invalid identity provider ".concat(a.identity_provider)),e.abrupt("return",[,"e03"]);case 24:if(!(!a.idir_user_guid||!a.email)){e.next=27;break}return console.error("invalid user account"),e.abrupt("return",[,"e03"]);case 27:return e.abrupt("return",[a]);case 28:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)})},25284:function(e,t,r){"use strict";r.d(t,{dx:function(){return j},hP:function(){return k},iq:function(){return _},kG:function(){return R},rg:function(){return F}});var n,i,a,o=r(59499),s=r(50029),u=r(87794),c=r.n(u),l=r(9669),f=r.n(l),d=r(80129),h=r.n(d),p=r(11752),m=r.n(p),g=r(77675),y=r(58766);function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var x=(m()()||{}).publicRuntimeConfig,w=void 0===x?{}:x,S=w.sso_client_id,E=w.sso_authorization_scope,A=w.sso_authorization_response_mode,C=w.sso_authorization_response_type,P=w.sso_redirect_uri,O=w.sso_token_grant_type,_=(n=(0,s.Z)(c().mark(function e(t){var r,n,i,a,s,u;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=(0,y.zO)(),n=(0,y.zO)(),sessionStorage.setItem("oauth_state",r),sessionStorage.setItem("oidc_nonce",n),i=(0,y.zO)(),sessionStorage.setItem("code_verifier",i),e.next=8,(0,y.qu)(i);case 8:return a=e.sent,s=(0,y.z9)(a),sessionStorage.setItem("code_challenge",s),u=function(e){for(var t=1;tf&&t[r].addError("Must be ".concat(f/60," minutes or fewer."))}},J=function(e,r){return function(){e>d&&t[r].addError("Must be ".concat(d/60," minutes or fewer."))}},X={projectName:function(){/^\d/.test(i)&&t.projectName.addError("Please have your project name start with a letter")},authType:function(){"browser-login"!==K&&Z&&t.authType.addError("Ensure your access is confidential when using a service account.")},devSessionIdleTimeout:Y(B,"devSessionIdleTimeout"),testSessionIdleTimeout:Y(H,"testSessionIdleTimeout"),prodSessionIdleTimeout:Y($,"prodSessionIdleTimeout"),devSessionMaxLifespan:J(U,"devSessionMaxLifespan"),testSessionMaxLifespan:J(z,"testSessionMaxLifespan"),prodSessionMaxLifespan:J(V,"prodSessionMaxLifespan"),devValidRedirectUris:function(){h.every(u)||p(h,t,"devValidRedirectUris",u)},testValidRedirectUris:function(){w.includes("test")&&!g.every(u)&&p(g,t,"testValidRedirectUris",u)},prodValidRedirectUris:function(){w.includes("prod")&&!b.every(c)&&p(b,t,"prodValidRedirectUris",c)},createTeam:function(){if(S&&(!E||""==E)){var e;null===(e=t.createTeam)||void 0===e||e.addError("Please select or create a team")}},additionalRoleAttribute:function(){a.hL.includes(C.trim())&&t.additionalRoleAttribute.addError("Please use a different name as existing claim '".concat(C.trim(),"' cannot be overwritten"))},devSamlLogoutPostBindingUri:function(){""===O||null===O||u(O)||t.devSamlLogoutPostBindingUri.addError(l)},testSamlLogoutPostBindingUri:function(){""===k||null===k||u(k)||t.testSamlLogoutPostBindingUri.addError(l)},prodSamlLogoutPostBindingUri:function(){""===j||null===j||c(j)||t.prodSamlLogoutPostBindingUri.addError(l)},clientId:function(){""!==I&&null!==I&&(I!==I.trim()||I.match(/\s/))&&t.clientId.addError("Client id is not valid")},devIdps:function(){"saml"===M&&N.length>1&&t.devIdps.addError("Only one identity provider is allowed for saml integrations"),"saml"===M&&(0,o.S3)(e)&&t.devIdps.addError("Digital Credential is not allowed for saml integrations")},projectLead:function(){!1===S&&!1===L&&t.projectLead.addError("")},bcscPrivacyZone:function(){if(N.includes("bcservicescard")&&!W){var e;null===(e=t.bcscPrivacyZone)||void 0===e||e.addError("Privacy zone is required for BC Services Card")}},bcscAttributes:function(){if(N.includes("bcservicescard")&&(null==G?void 0:G.length)===0){var e;null===(e=t.bcscAttributes)||void 0===e||e.addError("Please select at least one attribute")}}};["dev","test","prod"].map(function(r){X["".concat(r,"HomePageUri")]=function(){if(N.includes("bcservicescard")&&!c(e["".concat(r,"HomePageUri")])){var n;null===(n=t["".concat(r,"HomePageUri")])||void 0===n||n.addError(l)}}}),r||(r=Object.keys(X));for(var Q=0;Q0,u=i()(e,t,s?(o=t.customValidation,function(e,t){return h(e,t,o)}):void 0).errors;u.length>0&&(n[a]=u)}}),n}},6840:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(29207)}])},21876:function(e){!function(){var t={675:function(e,t){"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,a=u(e),o=a[0],s=a[1],c=new i((o+s)*3/4-s),l=0,f=s>0?o-4:o;for(r=0;r>16&255,c[l++]=t>>8&255,c[l++]=255&t;return 2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[l++]=255&t),1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t),c},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,a=[],o=0,s=n-i;o>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}(e,o,o+16383>s?s:o+16383));return 1===i?a.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&a.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),a.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,s=a.length;o0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},72:function(e,t,r){"use strict";/*! + */var to=function(){var e=RegExp('(?:false|true|null|[\\{\\}\\[\\]]|(?:-?\\b(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\\b)|(?:"(?:[^\\0-\\x08\\x0a-\\x1f"\\\\]|\\\\(?:["/\\\\bfnrt]|u[0-9A-Fa-f]{4}))*"))',"g"),t=RegExp("\\\\(?:([^u])|u(.{4}))","g"),r={'"':'"',"/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:" "};function n(e,t,n){return t?r[t]:String.fromCharCode(parseInt(n,16))}var i=new String(""),a=Object.hasOwnProperty;return function(r,o){var s,u,c,l=r.match(e),f=l[0],d=!1;"{"===f?s={}:"["===f?s=[]:(s=[],d=!0);for(var h=[s],p=1-d,m=l.length;p=0;)delete r[n[u]]}return o.call(e,t,r)};s=g({"":s},"")}return s}}();void 0!==d&&d||(d={}),void 0!==d.asn1&&d.asn1||(d.asn1={}),d.asn1.ASN1Util=new function(){this.integerToByteHex=function(e){var t=e.toString(16);return t.length%2==1&&(t="0"+t),t},this.bigIntToMinTwosComplementsHex=function(e){var t=e.toString(16);if("-"!=t.substr(0,1))t.length%2==1?t="0"+t:t.match(/^[0-7]/)||(t="00"+t);else{var r=t.substr(1).length;r%2==1?r+=1:t.match(/^[0-7]/)||(r+=2);for(var n="",i=0;i15)throw Error("ASN.1 length too long to represent by 8x: n = "+e.toString(16));return(128+r).toString(16)+t},this.tohex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getEncodedHex=function(){return this.tohex()},this.getValueHex=function(){return this.tohex(),this.hV},this.getFreshValueHex=function(){return""},this.setByParam=function(e){this.params=e},void 0!=e&&void 0!=e.tlv&&(this.hTLV=e.tlv,this.isModified=!1)},d.asn1.DERAbstractString=function(e){d.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=tp(this.s).toLowerCase()},this.setStringHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.getFreshValueHex=function(){return this.hV},void 0!==e&&("string"==typeof e?this.setString(e):void 0!==e.str?this.setString(e.str):void 0!==e.hex&&this.setStringHex(e.hex))},tN(d.asn1.DERAbstractString,d.asn1.ASN1Object),d.asn1.DERAbstractTime=function(e){d.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(e){var t=e.getTime()+6e4*e.getTimezoneOffset();return new Date(t)},this.formatDate=function(e,t,r){var n=this.zeroPadding,i=this.localDateToUTC(e),a=String(i.getFullYear());"utc"==t&&(a=a.substr(2,2));var o=a+n(String(i.getMonth()+1),2)+n(String(i.getDate()),2)+n(String(i.getHours()),2)+n(String(i.getMinutes()),2)+n(String(i.getSeconds()),2);if(!0===r){var s=i.getMilliseconds();if(0!=s){var u=n(String(s),3);o=o+"."+(u=u.replace(/[0]+$/,""))}}return o+"Z"},this.zeroPadding=function(e,t){return e.length>=t?e:Array(t-e.length+1).join("0")+e},this.setByParam=function(e){this.hV=null,this.hTLV=null,this.params=e},this.getString=function(){},this.setString=function(e){this.hTLV=null,this.isModified=!0,void 0==this.params&&(this.params={}),this.params.str=e},this.setByDate=function(e){this.hTLV=null,this.isModified=!0,void 0==this.params&&(this.params={}),this.params.date=e},this.setByDateValue=function(e,t,r,n,i,a){var o=new Date(Date.UTC(e,t-1,r,n,i,a,0));this.setByDate(o)},this.getFreshValueHex=function(){return this.hV}},tN(d.asn1.DERAbstractTime,d.asn1.ASN1Object),d.asn1.DERAbstractStructured=function(e){d.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array=e},this.appendASN1Object=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array.push(e)},this.asn1Array=[],void 0!==e&&void 0!==e.array&&(this.asn1Array=e.array)},tN(d.asn1.DERAbstractStructured,d.asn1.ASN1Object),d.asn1.DERBoolean=function(e){d.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",!1==e?this.hTLV="010100":this.hTLV="0101ff"},tN(d.asn1.DERBoolean,d.asn1.ASN1Object),d.asn1.DERInteger=function(e){d.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=d.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var t=new E(String(e),10);this.setByBigInteger(t)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},void 0!==e&&(void 0!==e.bigint?this.setByBigInteger(e.bigint):void 0!==e.int?this.setByInteger(e.int):"number"==typeof e?this.setByInteger(e):void 0!==e.hex&&this.setValueHex(e.hex))},tN(d.asn1.DERInteger,d.asn1.ASN1Object),d.asn1.DERBitString=function(e){if(void 0!==e&&void 0!==e.obj){var t=d.asn1.ASN1Util.newObject(e.obj);e.hex="00"+t.tohex()}d.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(e){this.hTLV=null,this.isModified=!0,this.hV=e},this.setUnusedBitsAndHexValue=function(e,t){if(e<0||7>6,i=128|63&r;return tm(n.toString(16)+i.toString(16))}var n=224|(240&t)>>4,i=128|(15&t)<<2|(192&r)>>6;return tm(n.toString(16)+i.toString(16)+(128|63&r).toString(16))}).join("")}function t_(e){for(var t=encodeURIComponent(e),r="",n=0;n"7"?"00"+e:e}function tF(e){if(!tk(e))return null;try{var t=[],r=e.substr(0,2),n=parseInt(r,16);t[0]=new String(Math.floor(n/40)),t[1]=new String(n%40);for(var i=e.substr(2),a=[],o=0;o0&&(c=c+"."+s.join(".")),c}catch(e){return null}}ts.getLblen=function(e,t){if("8"!=e.substr(t+2,1))return 1;var r=parseInt(e.substr(t+3,1));return 0==r?-1:0=n)break}return a},ts.getNthChildIdx=function(e,t,r){return ts.getChildIdx(e,t)[r]},ts.getIdxbyList=function(e,t,r,n){var i,a;return 0==r.length?void 0!==n&&e.substr(t,2)!==n?-1:t:(i=r.shift())>=(a=ts.getChildIdx(e,t)).length?-1:ts.getIdxbyList(e,a[i],r,n)},ts.getIdxbyListEx=function(e,t,r,n){if(0==r.length)return void 0!==n&&e.substr(t,2)!==n?-1:t;i=r.shift(),a=ts.getChildIdx(e,t);for(var i,a,o=0,s=0;s=e.length?null:ts.getTLV(e,i)},ts.getTLVbyListEx=function(e,t,r,n){var i=ts.getIdxbyListEx(e,t,r,n);return -1==i?null:ts.getTLV(e,i)},ts.getVbyList=function(e,t,r,n,i){var a,o;return -1==(a=ts.getIdxbyList(e,t,r,n))||a>=e.length?null:(o=ts.getV(e,a),!0===i&&(o=o.substr(2)),o)},ts.getVbyListEx=function(e,t,r,n,i){var a,o;return -1==(a=ts.getIdxbyListEx(e,t,r,n))?null:(o=ts.getV(e,a),"03"==e.substr(a,2)&&!1!==i&&(o=o.substr(2)),o)},ts.getInt=function(e,t,r){void 0==r&&(r=-1);try{var n=e.substr(t,2);if("02"!=n&&"03"!=n)return r;var i=ts.getV(e,t);if("02"==n)return parseInt(i,16);return function(e){if(e.length%2!=0||null==(e=e.toLowerCase()).match(/^[0-9a-f]+$/))return -1;try{var t=e.substr(0,2);if("00"==t)return parseInt(e.substr(2),16);var r=parseInt(t,16);if(r>7)return -1;var n=e.substr(2),i=parseInt(n,16).toString(2);"0"==i&&(i="00000000"),i=i.slice(0,0-r);var a=parseInt(i,2);if(a==NaN)return -1;return a}catch(e){return -1}}(i)}catch(e){return r}},ts.getOID=function(e,t,r){void 0==r&&(r=null);try{if("06"!=e.substr(t,2))return r;var n=ts.getV(e,t);return tF(n)}catch(e){return r}},ts.getOIDName=function(e,t,r){void 0==r&&(r=null);try{var n=ts.getOID(e,t,r);if(n==r)return r;var i=d.asn1.x509.OID.oid2name(n);if(""==i)return n;return i}catch(e){return r}},ts.getString=function(e,t,r){void 0==r&&(r=null);try{var n=ts.getV(e,t);return tv(n)}catch(e){return r}},ts.hextooidstr=function(e){var t=function(e,t){return e.length>=t?e:Array(t-e.length+1).join("0")+e},r=[],n=parseInt(e.substr(0,2),16);r[0]=new String(Math.floor(n/40)),r[1]=new String(n%40);for(var i=e.substr(2),a=[],o=0;o0&&(c=c+"."+s.join(".")),c},ts.dump=function(e,t,r,n){var i=ts.getV,a=ts.dump,o=ts.getChildIdx,s=e;e instanceof d.asn1.ASN1Object&&(s=e.tohex());var u=function(e,t){return e.length<=2*t?e:e.substr(0,t)+"..(total "+e.length/2+"bytes).."+e.substr(e.length-t,t)};void 0===t&&(t={ommit_long_octet:32}),void 0===r&&(r=0),void 0===n&&(n="");var c=t.ommit_long_octet,l=s.substr(r,2);if("01"==l){var f=i(s,r);return"00"==f?n+"BOOLEAN FALSE\n":n+"BOOLEAN TRUE\n"}if("02"==l){var f=i(s,r);return n+"INTEGER "+u(f,c)+"\n"}if("03"==l){var f=i(s,r);if(!ts.isASN1HEX(f.substr(2)))return n+"BITSTRING "+u(f,c)+"\n";var h=n+"BITSTRING, encapsulates\n";return h+a(f.substr(2),t,0,n+" ")}if("04"==l){var f=i(s,r);if(!ts.isASN1HEX(f))return n+"OCTETSTRING "+u(f,c)+"\n";var h=n+"OCTETSTRING, encapsulates\n";return h+a(f,t,0,n+" ")}if("05"==l)return n+"NULL\n";if("06"==l){var p=i(s,r),m=d.asn1.ASN1Util.oidHexToInt(p),g=d.asn1.x509.OID.oid2name(m),y=m.replace(/\./g," ");return""!=g?n+"ObjectIdentifier "+g+" ("+y+")\n":n+"ObjectIdentifier ("+y+")\n"}if("0a"==l)return n+"ENUMERATED "+parseInt(i(s,r))+"\n";if("0c"==l)return n+"UTF8String '"+tm(i(s,r))+"'\n";if("13"==l)return n+"PrintableString '"+tm(i(s,r))+"'\n";if("14"==l)return n+"TeletexString '"+tm(i(s,r))+"'\n";if("16"==l)return n+"IA5String '"+tm(i(s,r))+"'\n";if("17"==l)return n+"UTCTime "+tm(i(s,r))+"\n";if("18"==l)return n+"GeneralizedTime "+tm(i(s,r))+"\n";if("1a"==l)return n+"VisualString '"+tm(i(s,r))+"'\n";if("1e"==l)return n+"BMPString '"+tO(i(s,r))+"'\n";if("30"==l){if("3000"==s.substr(r,4))return n+"SEQUENCE {}\n";var h=n+"SEQUENCE\n",b=o(s,r),x=t;if((2==b.length||3==b.length)&&"06"==s.substr(b[0],2)&&"04"==s.substr(b[b.length-1],2)){var g=ts.oidname(i(s,b[0])),w=JSON.parse(JSON.stringify(t));w.x509ExtName=g,x=w}for(var S=0;S4?{enum:{hex:h}}:{enum:parseInt(h,16)};if("30"==l||"31"==l)return f[c[l]]=function(e){for(var r=[],n=a(e,0),o=0;o31)return!1;if((192&r)==128&&(31&r)==n)return!0;return!1}catch(e){return!1}},ts.isASN1HEX=function(e){if(e.length%2==1)return!1;var t=ts.getVblen(e,0),r=e.substr(0,2),n=ts.getL(e,0);return e.length-r.length-n.length==2*t},ts.checkStrictDER=function(e,t,r,n,i){if(void 0===r){if("string"!=typeof e||(e=e.toLowerCase(),!d.lang.String.isHex(e)))throw Error("not hex string");r=e.length,i=(n=e.length/2)<128?1:Math.ceil(n.toString(16))+1}if(ts.getL(e,t).length>2*i)throw Error("L of TLV too long: idx="+t);var a=ts.getVblen(e,t);if(a>n)throw Error("value of L too long than hex: idx="+t);var o=ts.getTLV(e,t),s=o.length-2-ts.getL(e,t).length;if(s!==2*a)throw Error("V string length and L's value not the same:"+s+"/"+2*a);if(0===t&&e.length!=o.length)throw Error("total length and TLV length unmatch:"+e.length+"!="+o.length);var u=e.substr(t,2);if("02"===u){var c=ts.getVidx(e,t);if("00"==e.substr(c,2)&&56>e.charCodeAt(c+2))throw Error("not least zeros for DER INTEGER")}if(32&parseInt(u,16)){for(var l=ts.getVblen(e,t),f=0,h=ts.getChildIdx(e,t),p=0;p0&&e.push(new n({tag:"a3",obj:new c(t.ext)})),new d.asn1.DERSequence({array:e}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&this.setByParam(e)},tN(d.asn1.x509.TBSCertificate,d.asn1.ASN1Object),d.asn1.x509.Extensions=function(e){d.asn1.x509.Extensions.superclass.constructor.call(this);var t=d.asn1,r=t.DERSequence,n=t.x509;this.aParam=[],this.setByParam=function(e){this.aParam=e},this.tohex=function(){for(var e=[],t=0;t-1&&e.push(new n({int:this.pathLen}));var t=new i({array:e});return this.asn1ExtnValue=t,this.asn1ExtnValue.tohex()},this.oid="2.5.29.19",this.cA=!1,this.pathLen=-1,void 0!==e&&(void 0!==e.cA&&(this.cA=e.cA),void 0!==e.pathLen&&(this.pathLen=e.pathLen))},tN(d.asn1.x509.BasicConstraints,d.asn1.x509.Extension),d.asn1.x509.CRLDistributionPoints=function(e){d.asn1.x509.CRLDistributionPoints.superclass.constructor.call(this,e);var t=d.asn1,r=t.x509;this.getExtnValueHex=function(){return this.asn1ExtnValue.tohex()},this.setByDPArray=function(e){for(var n=[],i=0;i0&&e.push(new r({array:t}))}return new r({array:e}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&(this.params=e)},tN(d.asn1.x509.PolicyInformation,d.asn1.ASN1Object),d.asn1.x509.PolicyQualifierInfo=function(e){d.asn1.x509.PolicyQualifierInfo.superclass.constructor.call(this,e);var t=d.asn1,r=t.DERSequence,n=t.DERIA5String,i=t.DERObjectIdentifier,a=t.x509.UserNotice;this.params=null,this.tohex=function(){if(void 0!==this.params.cps){var e=new r({array:[new i({oid:"1.3.6.1.5.5.7.2.1"}),new n({str:this.params.cps})]});return e.tohex()}if(void 0!=this.params.unotice){var e=new r({array:[new i({oid:"1.3.6.1.5.5.7.2.2"}),new a(this.params.unotice)]});return e.tohex()}},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&(this.params=e)},tN(d.asn1.x509.PolicyQualifierInfo,d.asn1.ASN1Object),d.asn1.x509.UserNotice=function(e){d.asn1.x509.UserNotice.superclass.constructor.call(this,e);var t=d.asn1.DERSequence,r=(d.asn1.DERInteger,d.asn1.x509.DisplayText),n=d.asn1.x509.NoticeReference;this.params=null,this.tohex=function(){var e=[];return void 0!==this.params.noticeref&&e.push(new n(this.params.noticeref)),void 0!==this.params.exptext&&e.push(new r(this.params.exptext)),new t({array:e}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&(this.params=e)},tN(d.asn1.x509.UserNotice,d.asn1.ASN1Object),d.asn1.x509.NoticeReference=function(e){d.asn1.x509.NoticeReference.superclass.constructor.call(this,e);var t=d.asn1.DERSequence,r=d.asn1.DERInteger,n=d.asn1.x509.DisplayText;this.params=null,this.tohex=function(){var e=[];if(void 0!==this.params.org&&e.push(new n(this.params.org)),void 0!==this.params.noticenum){for(var i=[],a=this.params.noticenum,o=0;o0)for(var e=0;e0;i++){var a=t.shift();if(!0===r){var o=(n.pop()+","+a).replace(/\\,/g,",");n.push(o),r=!1}else n.push(a);"\\"===a.substr(-1,1)&&(r=!0)}return(n=n.map(function(e){return e.replace("/","\\/")})).reverse(),"/"+n.join("/")},d.asn1.x509.X500Name.ldapToOneline=function(e){return d.asn1.x509.X500Name.ldapToCompat(e)},d.asn1.x509.RDN=function(e){d.asn1.x509.RDN.superclass.constructor.call(this),this.asn1Array=[],this.paramArray=[],this.sRule="utf8";var t=d.asn1.x509.AttributeTypeAndValue;this.setByParam=function(e){void 0!==e.rule&&(this.sRule=e.rule),void 0!==e.str&&this.addByMultiValuedString(e.str),void 0!==e.array&&(this.paramArray=e.array)},this.addByString=function(e){this.asn1Array.push(new d.asn1.x509.AttributeTypeAndValue({str:e,rule:this.sRule}))},this.addByMultiValuedString=function(e){for(var t=d.asn1.x509.RDN.parseString(e),r=0;r0)for(var e=0;e0;i++){var a=t.shift();if(!0===r){var o=(n.pop()+"+"+a).replace(/\\\+/g,"+");n.push(o),r=!1}else n.push(a);"\\"===a.substr(-1,1)&&(r=!0)}for(var s=!1,u=[],i=0;n.length>0;i++){var a=n.shift();if(!0===s){var c=u.pop();if(a.match(/"$/)){var o=(c+"+"+a).replace(/^([^=]+)="(.*)"$/,"$1=$2");u.push(o),s=!1}else u.push(c+"+"+a)}else u.push(a);a.match(/^[^=]+="/)&&(s=!0)}return u},d.asn1.x509.AttributeTypeAndValue=function(e){d.asn1.x509.AttributeTypeAndValue.superclass.constructor.call(this),this.sRule="utf8",this.sType=null,this.sValue=null,this.dsType=null;var t=d,r=t.asn1,n=r.DERSequence,i=r.DERUTF8String,a=r.DERPrintableString,o=r.DERTeletexString,s=r.DERIA5String,u=r.DERVisibleString,c=r.DERBMPString,l=t.lang.String.isMail,f=t.lang.String.isPrintable;this.setByParam=function(e){if(void 0!==e.rule&&(this.sRule=e.rule),void 0!==e.ds&&(this.dsType=e.ds),void 0===e.value&&void 0!==e.str){var t=e.str.match(/^([^=]+)=(.+)$/);if(t)this.sType=t[1],this.sValue=t[2];else throw Error("malformed attrTypeAndValueStr: "+attrTypeAndValueStr)}else this.sType=e.type,this.sValue=e.value},this.setByString=function(e,t){void 0!==t&&(this.sRule=t);var r=e.match(/^([^=]+)=(.+)$/);if(r)this.setByAttrTypeAndValueStr(r[1],r[2]);else throw Error("malformed attrTypeAndValueStr: "+attrTypeAndValueStr)},this._getDsType=function(){var e=this.sType,t=this.sValue,r=this.sRule;if("prn"===r){if("CN"==e&&l(t))return"ia5";if(f(t))return"prn"}else if("utf8"===r){if("CN"==e&&l(t))return"ia5";if("C"==e)return"prn"}return"utf8"},this.setByAttrTypeAndValueStr=function(e,t,r){void 0!==r&&(this.sRule=r),this.sType=e,this.sValue=t},this.getValueObj=function(e,t){if("utf8"==e)return new i({str:t});if("prn"==e)return new a({str:t});if("tel"==e)return new o({str:t});if("ia5"==e)return new s({str:t});if("vis"==e)return new u({str:t});if("bmp"==e)return new c({str:t});throw Error("unsupported directory string type: type="+e+" value="+t)},this.tohex=function(){null==this.dsType&&(this.dsType=this._getDsType());var e=d.asn1.x509.OID.atype2obj(this.sType),t=this.getValueObj(this.dsType,this.sValue),r=new n({array:[e,t]});return this.TLV=r.tohex(),this.TLV},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&this.setByParam(e)},tN(d.asn1.x509.AttributeTypeAndValue,d.asn1.ASN1Object),d.asn1.x509.SubjectPublicKeyInfo=function(e){d.asn1.x509.SubjectPublicKeyInfo.superclass.constructor.call(this);var t=d,r=t.asn1,n=r.DERInteger,i=r.DERBitString,a=r.DERObjectIdentifier,o=r.DERSequence,s=r.ASN1Util.newObject,u=r.x509.AlgorithmIdentifier,c=t.crypto;c.ECDSA,c.DSA,this.getASN1Object=function(){if(null==this.asn1AlgId||null==this.asn1SubjPKey)throw"algId and/or subjPubKey not set";return new o({array:[this.asn1AlgId,this.asn1SubjPKey]})},this.tohex=function(){var e=this.getASN1Object();return this.hTLV=e.tohex(),this.hTLV},this.getEncodedHex=function(){return this.tohex()},this.setPubKey=function(e){try{if(e instanceof tt){var t=s({seq:[{int:{bigint:e.n}},{int:{int:e.e}}]}).tohex();this.asn1AlgId=new u({name:"rsaEncryption"}),this.asn1SubjPKey=new i({hex:"00"+t})}}catch(e){}try{if(e instanceof d.crypto.ECDSA){var r=new a({name:e.curveName});this.asn1AlgId=new u({name:"ecPublicKey",asn1params:r}),this.asn1SubjPKey=new i({hex:"00"+e.pubKeyHex})}}catch(e){}try{if(e instanceof d.crypto.DSA){var r=new s({seq:[{int:{bigint:e.p}},{int:{bigint:e.q}},{int:{bigint:e.g}}]});this.asn1AlgId=new u({name:"dsa",asn1params:r});var o=new n({bigint:e.y});this.asn1SubjPKey=new i({hex:"00"+o.tohex()})}}catch(e){}},void 0!==e&&this.setPubKey(e)},tN(d.asn1.x509.SubjectPublicKeyInfo,d.asn1.ASN1Object),d.asn1.x509.Time=function(e){d.asn1.x509.Time.superclass.constructor.call(this);var t=d.asn1,r=t.DERUTCTime,n=t.DERGeneralizedTime;this.params=null,this.type=null,this.setTimeParams=function(e){this.timeParams=e},this.setByParam=function(e){this.params=e},this.getType=function(e){return e.match(/^[0-9]{12}Z$/)?"utc":e.match(/^[0-9]{14}Z$/)?"gen":e.match(/^[0-9]{12}\.[0-9]+Z$/)?"utc":e.match(/^[0-9]{14}\.[0-9]+Z$/)?"gen":null},this.tohex=function(){var e=this.params,t=null;if("string"==typeof e&&(e={str:e}),null!=e&&e.str&&(null==e.type||void 0==e.type)&&(e.type=this.getType(e.str)),null!=e&&e.str?("utc"==e.type&&(t=new r(e.str)),"gen"==e.type&&(t=new n(e.str))):t="gen"==this.type?new n:new r,null==t)throw Error("wrong setting for Time");return this.TLV=t.tohex(),this.TLV},this.getEncodedHex=function(){return this.tohex()},void 0!=e&&this.setByParam(e)},d.asn1.x509.Time_bak=function(e){d.asn1.x509.Time_bak.superclass.constructor.call(this);var t=d.asn1,r=t.DERUTCTime,n=t.DERGeneralizedTime;this.setTimeParams=function(e){this.timeParams=e},this.tohex=function(){var e=null;return e=null!=this.timeParams?"utc"==this.type?new r(this.timeParams):new n(this.timeParams):"utc"==this.type?new r:new n,this.TLV=e.tohex(),this.TLV},this.getEncodedHex=function(){return this.tohex()},this.type="utc",void 0!==e&&(void 0!==e.type?this.type=e.type:void 0!==e.str&&(e.str.match(/^[0-9]{12}Z$/)&&(this.type="utc"),e.str.match(/^[0-9]{14}Z$/)&&(this.type="gen")),this.timeParams=e)},tN(d.asn1.x509.Time,d.asn1.ASN1Object),d.asn1.x509.AlgorithmIdentifier=function(e){d.asn1.x509.AlgorithmIdentifier.superclass.constructor.call(this),this.nameAlg=null,this.asn1Alg=null,this.asn1Params=null,this.paramEmpty=!1;var t=d.asn1,r=t.x509.AlgorithmIdentifier.PSSNAME2ASN1TLV;if(this.tohex=function(){if(null===this.nameAlg&&null===this.asn1Alg)throw Error("algorithm not specified");if(null!==this.nameAlg){var e=null;for(var n in r)n===this.nameAlg&&(e=r[n]);if(null!==e)return this.hTLV=e,this.hTLV}null!==this.nameAlg&&null===this.asn1Alg&&(this.asn1Alg=t.x509.OID.name2obj(this.nameAlg));var i=[this.asn1Alg];null!==this.asn1Params&&i.push(this.asn1Params);var a=new t.DERSequence({array:i});return this.hTLV=a.tohex(),this.hTLV},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&(void 0!==e.name&&(this.nameAlg=e.name),void 0!==e.asn1params&&(this.asn1Params=e.asn1params),void 0!==e.paramempty&&(this.paramEmpty=e.paramempty)),null===this.asn1Params&&!1===this.paramEmpty&&null!==this.nameAlg){void 0!==this.nameAlg.name&&(this.nameAlg=this.nameAlg.name);var n=this.nameAlg.toLowerCase();"withdsa"!==n.substr(-7,7)&&"withecdsa"!==n.substr(-9,9)&&(this.asn1Params=new t.DERNull)}},tN(d.asn1.x509.AlgorithmIdentifier,d.asn1.ASN1Object),d.asn1.x509.AlgorithmIdentifier.PSSNAME2ASN1TLV={SHAwithRSAandMGF1:"300d06092a864886f70d01010a3000",SHA256withRSAandMGF1:"303d06092a864886f70d01010a3030a00d300b0609608648016503040201a11a301806092a864886f70d010108300b0609608648016503040201a203020120",SHA384withRSAandMGF1:"303d06092a864886f70d01010a3030a00d300b0609608648016503040202a11a301806092a864886f70d010108300b0609608648016503040202a203020130",SHA512withRSAandMGF1:"303d06092a864886f70d01010a3030a00d300b0609608648016503040203a11a301806092a864886f70d010108300b0609608648016503040203a203020140"},d.asn1.x509.GeneralName=function(e){d.asn1.x509.GeneralName.superclass.constructor.call(this);var t=d.asn1,r=t.x509,n=r.X500Name,i=r.OtherName,a=t.DERIA5String,o=(t.DERPrintableString,t.DEROctetString),s=t.DERTaggedObject,u=t.ASN1Object,c=Error;this.params=null,this.setByParam=function(e){this.params=e},this.tohex=function(){var e=this.params,t=!1;if(void 0!==e.other)r="a0",l=new i(e.other);else if(void 0!==e.rfc822)r="81",l=new a({str:e.rfc822});else if(void 0!==e.dns)r="82",l=new a({str:e.dns});else if(void 0!==e.dn)r="a4",t=!0,l="string"==typeof e.dn?new n({str:e.dn}):e.dn instanceof d.asn1.x509.X500Name?e.dn:new n(e.dn);else if(void 0!==e.ldapdn)r="a4",t=!0,l=new n({ldapstr:e.ldapdn});else if(void 0!==e.certissuer||void 0!==e.certsubj){r="a4",t=!0;var r,t,l,f,h,p,m=null;if(void 0!==e.certsubj?(f=!1,h=e.certsubj):(f=!0,h=e.certissuer),h.match(/^[0-9A-Fa-f]+$/),-1!=h.indexOf("-----BEGIN ")&&(m=tb(h)),null==m)throw Error("certsubj/certissuer not cert");var g=new tH;g.hex=m,p=f?g.getIssuerHex():g.getSubjectHex(),(l=new u).hTLV=p}else if(void 0!==e.uri)r="86",l=new a({str:e.uri});else if(void 0!==e.ip){r="87";var y,b=e.ip;try{if(b.match(/^[0-9a-f]+$/)){var x=b.length;if(8==x||16==x||32==x||64==x)y=b;else throw"err"}else y=function e(t){var r=Error("malformed IP address");if(!(t=t.toLowerCase(t)).match(/^[0-9a-f.:/]+$/))throw r;if(t.match(/^[0-9.]+$/)){var n=t.split(".");if(4!==n.length)throw r;var i="";try{for(var a=0;a<4;a++){var o=parseInt(n[a]);i+=("0"+o.toString(16)).slice(-2)}return i}catch(e){throw r}}else{if(t.match(/^[0-9.]+\/[0-9]+$/)){var s=t.split("/");return e(s[0])+tP(parseInt(s[1]),32)}if(t.match(/^[0-9a-f:]+$/)&&-1!==t.indexOf(":"))return tS(t);if(t.match(/^[0-9a-f:]+\/[0-9]+$/)&&-1!==t.indexOf(":")){var s=t.split("/");return tS(s[0])+tP(parseInt(s[1]),128)}throw r}}(b)}catch(t){throw new c("malformed IP address: "+e.ip+":"+t.message)}l=new o({hex:y})}else throw new c("improper params");return new s({tag:r,explicit:t,obj:l}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&this.setByParam(e)},tN(d.asn1.x509.GeneralName,d.asn1.ASN1Object),d.asn1.x509.GeneralNames=function(e){d.asn1.x509.GeneralNames.superclass.constructor.call(this);var t=d.asn1;this.setByParamArray=function(e){for(var r=0;r0){for(var r=n(e.valhex,t[0]),i=u(r,0),a=[],o=0;o1){var l=n(e.valhex,t[1]);e.polhex=l}delete e.valhex},this.setSignaturePolicyIdentifier=function(e){var t=u(e.valhex,0);if(t.length>0){var i=ts.getOID(e.valhex,t[0]);e.oid=i}if(t.length>1){var a=new tH,o=u(e.valhex,t[1]),s=n(e.valhex,o[0]),c=a.getAlgorithmIdentifierName(s);e.alg=c;var l=r(e.valhex,o[1]);e.hash=l}delete e.valhex},this.setSigningCertificateV2=function(e){var t=u(e.valhex,0);if(t.length>0){for(var r=n(e.valhex,t[0]),i=u(r,0),a=[],o=0;o1){var l=n(e.valhex,t[1]);e.polhex=l}delete e.valhex},this.getESSCertID=function(e){var t={},i=u(e,0);if(i.length>0){var a=r(e,i[0]);t.hash=a}if(i.length>1){var o=n(e,i[1]),s=this.getIssuerSerial(o);void 0!=s.serial&&(t.serial=s.serial),void 0!=s.issuer&&(t.issuer=s.issuer)}return t},this.getESSCertIDv2=function(i){var a={},o=u(i,0);if(o.length<1||3s+1){var f=n(i,o[s+1]),d=this.getIssuerSerial(f);a.issuer=d.issuer,a.serial=d.serial}return a},this.getIssuerSerial=function(e){var i={},a=u(e,0),o=n(e,a[0]),s=t.getGeneralNames(o)[0].dn;i.issuer=s;var c=r(e,a[1]);return i.serial={hex:c},i},this.getCertificateSet=function(e){for(var t=u(e,0),r=[],i=0;i=0;o--)i+=n[o];return i}if("string"==typeof e&&void 0!=a[e])return tT([e],a);if("object"==typeof e&&void 0!=e.length)return tT(e,a);throw new t("wrong params")},this.tohex=function(){this.params;var e=this.getBinValue();return new n({bin:e}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!=e&&this.setByParam(e)},tN(d.asn1.tsp.PKIFailureInfo,d.asn1.ASN1Object),d.asn1.tsp.AbstractTSAAdapter=function(e){this.getTSTHex=function(e,t){throw"not implemented yet"}},d.asn1.tsp.SimpleTSAAdapter=function(e){var t=d,r=t.asn1.tsp,n=t.crypto.Util.hashHex;r.SimpleTSAAdapter.superclass.constructor.call(this),this.params=null,this.serial=0,this.getTSTHex=function(e,t){var i=n(e,t);return this.params.econtent.content.messageImprint={alg:t,hash:i},this.params.econtent.content.serial={int:this.serial++},this.params.econtent.content.nonce={int:Math.floor(1e9*Math.random())},new r.TimeStampToken(this.params).getContentInfoEncodedHex()},void 0!==e&&(this.params=e)},tN(d.asn1.tsp.SimpleTSAAdapter,d.asn1.tsp.AbstractTSAAdapter),d.asn1.tsp.FixedTSAAdapter=function(e){var t=d,r=t.asn1.tsp,n=t.crypto.Util.hashHex;r.FixedTSAAdapter.superclass.constructor.call(this),this.params=null,this.getTSTHex=function(e,t){var i=n(e,t);return this.params.econtent.content.messageImprint={alg:t,hash:i},new r.TimeStampToken(this.params).getContentInfoEncodedHex()},void 0!==e&&(this.params=e)},tN(d.asn1.tsp.FixedTSAAdapter,d.asn1.tsp.AbstractTSAAdapter),d.asn1.tsp.TSPUtil=new function(){},d.asn1.tsp.TSPUtil.newTimeStampToken=function(e){return new d.asn1.tsp.TimeStampToken(e)},d.asn1.tsp.TSPUtil.parseTimeStampReq=function(e){return new d.asn1.tsp.TSPParser().getTimeStampReq(e)},d.asn1.tsp.TSPUtil.parseMessageImprint=function(e){return new d.asn1.tsp.TSPParser().getMessageImprint(e)},d.asn1.tsp.TSPParser=function(){var e=new tH,t=ts.getV,r=ts.getTLV,n=ts.getIdxbyList,i=(ts.getTLVbyListEx,ts.getChildIdx),a=["granted","grantedWithMods","rejection","waiting","revocationWarning","revocationNotification"],o={0:"badAlg",2:"badRequest",5:"badDataFormat",14:"timeNotAvailable",15:"unacceptedPolicy",16:"unacceptedExtension",17:"addInfoNotAvailable",25:"systemFailure"};this.getResponse=function(e){var t=i(e,0);if(1==t.length)return this.getPKIStatusInfo(r(e,t[0]));if(t.length>1){var n=this.getPKIStatusInfo(r(e,t[0])),a=r(e,t[1]),o=this.getToken(a);return o.statusinfo=n,o}},this.getToken=function(e){var t=(new d.asn1.cms.CMSParser).getCMSSignedData(e);return this.setTSTInfo(t),t},this.setTSTInfo=function(e){var t=e.econtent;if("tstinfo"==t.type){var r=t.content.hex,n=this.getTSTInfo(r);t.content=n}},this.getTSTInfo=function(n){var a={},o=i(n,0),s=t(n,o[1]);a.policy=tF(s);var u=r(n,o[2]);a.messageImprint=this.getMessageImprint(u);var c=t(n,o[3]);a.serial={hex:c};var l=t(n,o[4]);a.genTime={str:tm(l)};var f=0;if(o.length>5&&"30"==n.substr(o[5],2)){var d=r(n,o[5]);a.accuracy=this.getAccuracy(d),f++}if(o.length>5+f&&"01"==n.substr(o[5+f],2)&&("ff"==t(n,o[5+f])&&(a.ordering=!0),f++),o.length>5+f&&"02"==n.substr(o[5+f],2)){var h=t(n,o[5+f]);a.nonce={hex:h},f++}if(o.length>5+f&&"a0"==n.substr(o[5+f],2)){var p=r(n,o[5+f]);p="30"+p.substr(2);var m=(pGeneralNames=e.getGeneralNames(p))[0].dn;a.tsa=m,f++}if(o.length>5+f&&"a1"==n.substr(o[5+f],2)){var g=r(n,o[5+f]);g="30"+g.substr(2);var y=e.getExtParamArray(g);a.ext=y,f++}return a},this.getAccuracy=function(e){for(var r={},n=i(e,0),a=0;a1&&"30"==e.substr(o[1],2)){var l=r(e,o[1]);n.statusstr=this.getPKIFreeText(l),s++}if(o.length>s&&"03"==e.substr(o[1+s],2)){var f=r(e,o[1+s]);n.failinfo=this.getPKIFailureInfo(f)}return n},this.getPKIFreeText=function(e){for(var t=[],r=i(e,0),n=0;n=t)?e:Array(t-e.length+1).join(r)+e};function tT(e,t){for(var r=0,n=0;n=0;n--)a+=i[n];return a}function tN(e,t){var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e,e.superclass=t.prototype,t.prototype.constructor==Object.prototype.constructor&&(t.prototype.constructor=t)}void 0!==d&&d||(d={}),void 0!==d.crypto&&d.crypto||(d.crypto={}),d.crypto.Util=new function(){this.DIGESTINFOHEAD={sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",ripemd160:"3021300906052b2403020105000414"},this.DEFAULTPROVIDER={md5:"cryptojs",sha1:"cryptojs",sha224:"cryptojs",sha256:"cryptojs",sha384:"cryptojs",sha512:"cryptojs",ripemd160:"cryptojs",hmacmd5:"cryptojs",hmacsha1:"cryptojs",hmacsha224:"cryptojs",hmacsha256:"cryptojs",hmacsha384:"cryptojs",hmacsha512:"cryptojs",hmacripemd160:"cryptojs",MD5withRSA:"cryptojs/jsrsa",SHA1withRSA:"cryptojs/jsrsa",SHA224withRSA:"cryptojs/jsrsa",SHA256withRSA:"cryptojs/jsrsa",SHA384withRSA:"cryptojs/jsrsa",SHA512withRSA:"cryptojs/jsrsa",RIPEMD160withRSA:"cryptojs/jsrsa",MD5withECDSA:"cryptojs/jsrsa",SHA1withECDSA:"cryptojs/jsrsa",SHA224withECDSA:"cryptojs/jsrsa",SHA256withECDSA:"cryptojs/jsrsa",SHA384withECDSA:"cryptojs/jsrsa",SHA512withECDSA:"cryptojs/jsrsa",RIPEMD160withECDSA:"cryptojs/jsrsa",SHA1withDSA:"cryptojs/jsrsa",SHA224withDSA:"cryptojs/jsrsa",SHA256withDSA:"cryptojs/jsrsa",MD5withRSAandMGF1:"cryptojs/jsrsa",SHAwithRSAandMGF1:"cryptojs/jsrsa",SHA1withRSAandMGF1:"cryptojs/jsrsa",SHA224withRSAandMGF1:"cryptojs/jsrsa",SHA256withRSAandMGF1:"cryptojs/jsrsa",SHA384withRSAandMGF1:"cryptojs/jsrsa",SHA512withRSAandMGF1:"cryptojs/jsrsa",RIPEMD160withRSAandMGF1:"cryptojs/jsrsa"},this.CRYPTOJSMESSAGEDIGESTNAME={md5:b.algo.MD5,sha1:b.algo.SHA1,sha224:b.algo.SHA224,sha256:b.algo.SHA256,sha384:b.algo.SHA384,sha512:b.algo.SHA512,ripemd160:b.algo.RIPEMD160},this.getDigestInfoHex=function(e,t){if(void 0===this.DIGESTINFOHEAD[t])throw"alg not supported in Util.DIGESTINFOHEAD: "+t;return this.DIGESTINFOHEAD[t]+e},this.getPaddedDigestInfoHex=function(e,t,r){var n=this.getDigestInfoHex(e,t),i=r/4;if(n.length+22>i)throw"key is too short for SigAlg: keylen="+r+","+t;for(var a="0001",o="00"+n,s="",u=i-a.length-o.length,c=0;c=s.compareTo(E.ZERO));var u=o.modInverse(i).multiply(a.add(n.multiply(s))).mod(i);return r.biRSSigToASN1Sig(s,u)},this.sign=function(e,t){var r=this.ecparams.n,n=E.fromByteArrayUnsigned(e);do var i=this.getBigRandom(r),a=this.ecparams.G.multiply(i).getX().toBigInteger().mod(r);while(0>=a.compareTo(E.ZERO));var o=i.modInverse(r).multiply(n.add(t.multiply(a))).mod(r);return this.serializeSig(a,o)},this.verifyWithMessageHash=function(e,t){return this.verifyHex(e,t,this.pubKeyHex)},this.verifyHex=function(e,t,n){try{var i,a,o=r.parseSigHex(t);i=o.r,a=o.s;var s=ti.decodeFromHex(this.ecparams.curve,n),u=new E(e.substring(0,this.ecparams.keycharlen),16);return this.verifyRaw(u,i,a,s)}catch(e){return!1}},this.verify=function(e,t,r){if(Bitcoin.Util.isArray(t)){var n,i,a,o=this.parseSig(t);n=o.r,i=o.s}else if("object"==typeof t&&t.r&&t.s)n=t.r,i=t.s;else throw"Invalid value for signature";if(r instanceof ti)a=r;else if(Bitcoin.Util.isArray(r))a=ti.decodeFrom(this.ecparams.curve,r);else throw"Invalid format for pubkey value, must be byte array or ECPointFp";var s=E.fromByteArrayUnsigned(e);return this.verifyRaw(s,n,i,a)},this.verifyRaw=function(e,t,r,n){var i=this.ecparams.n,a=this.ecparams.G;if(0>t.compareTo(E.ONE)||t.compareTo(i)>=0||0>r.compareTo(E.ONE)||r.compareTo(i)>=0)return!1;var o=r.modInverse(i),s=e.multiply(o).mod(i),u=t.multiply(o).mod(i);return a.multiply(s).add(n.multiply(u)).getX().toBigInteger().mod(i).equals(t)},this.serializeSig=function(e,t){var r=e.toByteArraySigned(),n=t.toByteArraySigned(),i=[];return i.push(2),i.push(r.length),(i=i.concat(r)).push(2),i.push(n.length),(i=i.concat(n)).unshift(i.length),i.unshift(48),i},this.parseSig=function(e){if(48!=e[0])throw Error("Signature not a valid DERSequence");if(2!=e[t=2])throw Error("First element in signature must be a DERInteger");var t,r=e.slice(t+2,t+2+e[t+1]);if(t+=2+e[t+1],2!=e[t])throw Error("Second element in signature must be a DERInteger");var n=e.slice(t+2,t+2+e[t+1]);return t+=2+e[t+1],{r:E.fromByteArrayUnsigned(r),s:E.fromByteArrayUnsigned(n)}},this.parseSigCompact=function(e){if(65!==e.length)throw"Signature has the wrong length";var t=e[0]-27;if(t<0||t>7)throw"Invalid signature type";var r=this.ecparams.n;return{r:E.fromByteArrayUnsigned(e.slice(1,33)).mod(r),s:E.fromByteArrayUnsigned(e.slice(33,65)).mod(r),i:t}},this.readPKCS5PrvKeyHex=function(e){var t,r,n;if(!1===o(e))throw Error("not ASN.1 hex string");try{t=a(e,0,["[0]",0],"06"),r=a(e,0,[1],"04");try{n=a(e,0,["[1]",0],"03")}catch(e){}}catch(e){throw Error("malformed PKCS#1/5 plain ECC private key")}if(this.curveName=i(t),void 0===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(n),this.setPrivateKeyHex(r),this.isPublic=!1},this.readPKCS8PrvKeyHex=function(e){var r,n,s;if(!1===o(e))throw new t("not ASN.1 hex string");try{a(e,0,[1,0],"06"),r=a(e,0,[1,1],"06"),n=a(e,0,[2,0,1],"04");try{s=a(e,0,[2,0,"[1]",0],"03")}catch(e){}}catch(e){throw new t("malformed PKCS#8 plain ECC private key")}if(this.curveName=i(r),void 0===this.curveName)throw new t("unsupported curve name");this.setNamedCurve(this.curveName),this.setPublicKeyHex(s),this.setPrivateKeyHex(n),this.isPublic=!1},this.readPKCS8PubKeyHex=function(e){var r,n;if(!1===o(e))throw new t("not ASN.1 hex string");try{a(e,0,[0,0],"06"),r=a(e,0,[0,1],"06"),n=a(e,0,[1],"03")}catch(e){throw new t("malformed PKCS#8 ECC public key")}if(this.curveName=i(r),null===this.curveName)throw new t("unsupported curve name");this.setNamedCurve(this.curveName),this.setPublicKeyHex(n)},this.readCertPubKeyHex=function(e,r){var n,s;if(!1===o(e))throw new t("not ASN.1 hex string");try{n=a(e,0,[0,5,0,1],"06"),s=a(e,0,[0,5,1],"03")}catch(e){throw new t("malformed X.509 certificate ECC public key")}if(this.curveName=i(n),null===this.curveName)throw new t("unsupported curve name");this.setNamedCurve(this.curveName),this.setPublicKeyHex(s)},void 0!==e&&void 0!==e.curve&&(this.curveName=e.curve),void 0===this.curveName&&(this.curveName="secp256r1"),this.setNamedCurve(this.curveName),void 0!==e&&(void 0!==e.prv&&this.setPrivateKeyHex(e.prv),void 0!==e.pub&&this.setPublicKeyHex(e.pub))},d.crypto.ECDSA.parseSigHex=function(e){var t=d.crypto.ECDSA.parseSigHexInHexRS(e);return{r:new E(t.r,16),s:new E(t.s,16)}},d.crypto.ECDSA.parseSigHexInHexRS=function(e){var t=ts.getChildIdx,r=ts.getV;if(ts.checkStrictDER(e,0),"30"!=e.substr(0,2))throw Error("signature is not a ASN.1 sequence");var n=t(e,0);if(2!=n.length)throw Error("signature shall have two elements");var i=n[0],a=n[1];if("02"!=e.substr(i,2))throw Error("1st item not ASN.1 integer");if("02"!=e.substr(a,2))throw Error("2nd item not ASN.1 integer");return{r:r(e,i),s:r(e,a)}},d.crypto.ECDSA.asn1SigToConcatSig=function(e){var t=d.crypto.ECDSA.parseSigHexInHexRS(e),r=t.r,n=t.s;if(r.length>=130&&r.length<=134){if(r.length%2!=0)throw Error("unknown ECDSA sig r length error");if(n.length%2!=0)throw Error("unknown ECDSA sig s length error");"00"==r.substr(0,2)&&(r=r.substr(2)),"00"==n.substr(0,2)&&(n=n.substr(2));var i=Math.max(r.length,n.length);return(r=("000000"+r).slice(-i))+(n=("000000"+n).slice(-i))}if("00"==r.substr(0,2)&&r.length%32==2&&(r=r.substr(2)),"00"==n.substr(0,2)&&n.length%32==2&&(n=n.substr(2)),r.length%32==30&&(r="00"+r),n.length%32==30&&(n="00"+n),r.length%32!=0)throw Error("unknown ECDSA sig r length error");if(n.length%32!=0)throw Error("unknown ECDSA sig s length error");return r+n},d.crypto.ECDSA.concatSigToASN1Sig=function(e){if(e.length%4!=0)throw Error("unknown ECDSA concatinated r-s sig length error");var t=e.substr(0,e.length/2),r=e.substr(e.length/2);return d.crypto.ECDSA.hexRSSigToASN1Sig(t,r)},d.crypto.ECDSA.hexRSSigToASN1Sig=function(e,t){var r=new E(e,16),n=new E(t,16);return d.crypto.ECDSA.biRSSigToASN1Sig(r,n)},d.crypto.ECDSA.biRSSigToASN1Sig=function(e,t){var r=d.asn1,n=new r.DERInteger({bigint:e}),i=new r.DERInteger({bigint:t});return new r.DERSequence({array:[n,i]}).tohex()},d.crypto.ECDSA.getName=function(e){return"2b8104001f"===e?"secp192k1":"2a8648ce3d030107"===e?"secp256r1":"2b8104000a"===e?"secp256k1":"2b81040021"===e?"secp224r1":"2b81040022"===e?"secp384r1":"2b81040023"===e?"secp521r1":-1!=="|secp256r1|NIST P-256|P-256|prime256v1|".indexOf(e)?"secp256r1":-1!=="|secp256k1|".indexOf(e)?"secp256k1":-1!=="|secp224r1|NIST P-224|P-224|".indexOf(e)?"secp224r1":-1!=="|secp384r1|NIST P-384|P-384|".indexOf(e)?"secp384r1":-1!=="|secp521r1|NIST P-521|P-521|".indexOf(e)?"secp521r1":null},void 0!==d&&d||(d={}),void 0!==d.crypto&&d.crypto||(d.crypto={}),d.crypto.ECParameterDB=new function(){var e={},t={};function r(e){return new E(e,16)}this.getByName=function(r){var n=r;if(void 0!==t[n]&&(n=t[r]),void 0!==e[n])return e[n];throw"unregistered EC curve name: "+n},this.regist=function(n,i,a,o,s,u,c,l,f,d,h,p){e[n]={};var m=r(a),g=r(o),y=r(s),b=r(u),x=r(c),w=new ta(m,g,y),S=w.decodePointHex("04"+l+f);e[n].name=n,e[n].keylen=i,e[n].keycharlen=2*Math.ceil(i/8),e[n].curve=w,e[n].G=S,e[n].n=b,e[n].h=x,e[n].oid=h,e[n].info=p;for(var E=0;E1?new E(n,16):null,c=new E(i,16),this.setPrivate(a,o,s,u,c)},this.setPublic=function(e,t,r,n){this.isPublic=!0,this.p=e,this.q=t,this.g=r,this.y=n,this.x=null},this.setPublicHex=function(e,t,r,n){var i,a,o,s;i=new E(e,16),a=new E(t,16),o=new E(r,16),s=new E(n,16),this.setPublic(i,a,o,s)},this.signWithMessageHash=function(e){var t=this.p,r=this.q,n=this.g;this.y;var i=this.x,a=d.crypto.Util.getRandomBigIntegerMinToMax(E.ONE.add(E.ONE),r.subtract(E.ONE)),o=e.substr(0,r.bitLength()/4),s=new E(o,16),u=n.modPow(a,t).mod(r),c=a.modInverse(r).multiply(s.add(i.multiply(u))).mod(r);return d.asn1.ASN1Util.jsonToASN1HEX({seq:[{int:{bigint:u}},{int:{bigint:c}}]})},this.verifyWithMessageHash=function(e,t){var r=this.p,n=this.q,i=this.g,a=this.y,o=this.parseASN1Signature(t),s=o[0],u=o[1],c=e.substr(0,n.bitLength()/4),l=new E(c,16);if(E.ZERO.compareTo(s)>0||s.compareTo(n)>0||E.ZERO.compareTo(u)>=0||u.compareTo(n)>0)throw"invalid DSA signature";var f=u.modInverse(n),d=l.multiply(f).mod(n),h=s.multiply(f).mod(n);return 0==i.modPow(d,r).multiply(a.modPow(h,r)).mod(r).mod(n).compareTo(s)},this.parseASN1Signature=function(t){try{var r=new E(e(t,0,[0],"02"),16),n=new E(e(t,0,[1],"02"),16);return[r,n]}catch(e){throw Error("malformed ASN.1 DSA signature")}},this.readPKCS5PrvKeyHex=function(r){var n,i,a,o,s;if(!1===t(r))throw Error("not ASN.1 hex string");try{n=e(r,0,[1],"02"),i=e(r,0,[2],"02"),a=e(r,0,[3],"02"),o=e(r,0,[4],"02"),s=e(r,0,[5],"02")}catch(e){throw Error("malformed PKCS#1/5 plain DSA private key")}this.setPrivateHex(n,i,a,o,s)},this.readPKCS8PrvKeyHex=function(r){var n,i,a,o;if(!1===t(r))throw Error("not ASN.1 hex string");try{n=e(r,0,[1,1,0],"02"),i=e(r,0,[1,1,1],"02"),a=e(r,0,[1,1,2],"02"),o=e(r,0,[2,0],"02")}catch(e){throw Error("malformed PKCS#8 plain DSA private key")}this.setPrivateHex(n,i,a,null,o)},this.readPKCS8PubKeyHex=function(r){var n,i,a,o;if(!1===t(r))throw Error("not ASN.1 hex string");try{n=e(r,0,[0,1,0],"02"),i=e(r,0,[0,1,1],"02"),a=e(r,0,[0,1,2],"02"),o=e(r,0,[1,0],"02")}catch(e){throw Error("malformed PKCS#8 DSA public key")}this.setPublicHex(n,i,a,o)},this.readCertPubKeyHex=function(r,n){var i,a,o,s;if(!1===t(r))throw Error("not ASN.1 hex string");try{i=e(r,0,[0,5,0,1,0],"02"),a=e(r,0,[0,5,0,1,1],"02"),o=e(r,0,[0,5,0,1,2],"02"),s=e(r,0,[0,5,1,0],"02")}catch(e){throw Error("malformed X.509 certificate DSA public key")}this.setPublicHex(i,a,o,s)}};var tD=(n=function(e,t,r){return i(b.AES,e,t,r)},i=function(e,t,r,n){var i=b.enc.Hex.parse(t),a=b.enc.Hex.parse(r),o=b.enc.Hex.parse(n),s={};s.key=a,s.iv=o,s.ciphertext=i;var u=e.decrypt(s,a,{iv:o});return b.enc.Hex.stringify(u)},a=function(e,t,r){return o(b.AES,e,t,r)},o=function(e,t,r,n){var i=b.enc.Hex.parse(t),a=b.enc.Hex.parse(r),o=b.enc.Hex.parse(n),s=e.encrypt(i,a,{iv:o}),u=b.enc.Hex.parse(s.toString());return b.enc.Base64.stringify(u)},s={"AES-256-CBC":{proc:n,eproc:a,keylen:32,ivlen:16},"AES-192-CBC":{proc:n,eproc:a,keylen:24,ivlen:16},"AES-128-CBC":{proc:n,eproc:a,keylen:16,ivlen:16},"DES-EDE3-CBC":{proc:function(e,t,r){return i(b.TripleDES,e,t,r)},eproc:function(e,t,r){return o(b.TripleDES,e,t,r)},keylen:24,ivlen:8},"DES-CBC":{proc:function(e,t,r){return i(b.DES,e,t,r)},eproc:function(e,t,r){return o(b.DES,e,t,r)},keylen:8,ivlen:8}},u=function(e){var t=b.lib.WordArray.random(e);return b.enc.Hex.stringify(t)},c=function(e){var t={},r=e.match(RegExp("DEK-Info: ([^,]+),([0-9A-Fa-f]+)","m"));r&&(t.cipher=r[1],t.ivsalt=r[2]);var n=e.match(RegExp("-----BEGIN ([A-Z]+) PRIVATE KEY-----"));n&&(t.type=n[1]);var i=-1,a=0;-1!=e.indexOf("\r\n\r\n")&&(i=e.indexOf("\r\n\r\n"),a=2),-1!=e.indexOf("\n\n")&&(i=e.indexOf("\n\n"),a=1);var o=e.indexOf("-----END");if(-1!=i&&-1!=o){var s=e.substring(i+2*a,o-a);s=s.replace(/\s+/g,""),t.data=s}return t},l=function(e,t,r){for(var n=r.substring(0,16),i=b.enc.Hex.parse(n),a=b.enc.Utf8.parse(t),o=s[e].keylen+s[e].ivlen,u="",c=null;;){var l=b.algo.MD5.create();if(null!=c&&l.update(c),l.update(a),l.update(i),c=l.finalize(),(u+=b.enc.Hex.stringify(c)).length>=2*o)break}var f={};return f.keyhex=u.substr(0,2*s[e].keylen),f.ivhex=u.substr(2*s[e].keylen,2*s[e].ivlen),f},f=function(e,t,r,n){var i=b.enc.Base64.parse(e),a=b.enc.Hex.stringify(i);return(0,s[t].proc)(a,r,n)},{version:"1.0.0",parsePKCS5PEM:function(e){return c(e)},getKeyAndUnusedIvByPasscodeAndIvsalt:function(e,t,r){return l(e,t,r)},decryptKeyB64:function(e,t,r,n){return f(e,t,r,n)},getDecryptedKeyHex:function(e,t){var r=c(e);r.type;var n=r.cipher,i=r.ivsalt,a=r.data,o=l(n,t,i).keyhex;return f(a,n,o,i)},getEncryptedPKCS5PEMFromPrvKeyHex:function(e,t,r,n,i){var a,o,c="";if((void 0===n||null==n)&&(n="AES-256-CBC"),void 0===s[n])throw Error("KEYUTIL unsupported algorithm: "+n);(void 0===i||null==i)&&(i=u(s[n].ivlen).toUpperCase());var f=l(n,r,i).keyhex,d=(a=n,o=i,(0,s[a].eproc)(t,f,o)).replace(/(.{64})/g,"$1\r\n"),c="-----BEGIN "+e+" PRIVATE KEY-----\r\n";return c+("Proc-Type: 4,ENCRYPTED\r\n"+("DEK-Info: "+n+",")+i+"\r\n\r\n"+d+"\r\n-----END "+e)+" PRIVATE KEY-----\r\n"},parseHexOfEncryptedPKCS8:function(e){var t=ts.getChildIdx,r=ts.getV,n={},i=t(e,0);if(2!=i.length)throw Error("malformed format: SEQUENCE(0).items != 2: "+i.length);n.ciphertext=r(e,i[1]);var a=t(e,i[0]);if(2!=a.length)throw Error("malformed format: SEQUENCE(0.0).items != 2: "+a.length);if("2a864886f70d01050d"!=r(e,a[0]))throw Error("this only supports pkcs5PBES2");var o=t(e,a[1]);if(2!=a.length)throw Error("malformed format: SEQUENCE(0.0.1).items != 2: "+o.length);var s=t(e,o[1]);if(2!=s.length)throw Error("malformed format: SEQUENCE(0.0.1.1).items != 2: "+s.length);if("2a864886f70d0307"!=r(e,s[0]))throw"this only supports TripleDES";n.encryptionSchemeAlg="TripleDES",n.encryptionSchemeIV=r(e,s[1]);var u=t(e,o[0]);if(2!=u.length)throw Error("malformed format: SEQUENCE(0.0.1.0).items != 2: "+u.length);if("2a864886f70d01050c"!=r(e,u[0]))throw Error("this only supports pkcs5PBKDF2");var c=t(e,u[1]);if(c.length<2)throw Error("malformed format: SEQUENCE(0.0.1.0.1).items < 2: "+c.length);n.pbkdf2Salt=r(e,c[0]);var l=r(e,c[1]);try{n.pbkdf2Iter=parseInt(l,16)}catch(e){throw Error("malformed format pbkdf2Iter: "+l)}return n},getPBKDF2KeyHexFromParam:function(e,t){var r=b.enc.Hex.parse(e.pbkdf2Salt),n=e.pbkdf2Iter,i=b.PBKDF2(t,r,{keySize:6,iterations:n});return b.enc.Hex.stringify(i)},_getPlainPKCS8HexFromEncryptedPKCS8PEM:function(e,t){var r=tb(e,"ENCRYPTED PRIVATE KEY"),n=this.parseHexOfEncryptedPKCS8(r),i=tD.getPBKDF2KeyHexFromParam(n,t),a={};a.ciphertext=b.enc.Hex.parse(n.ciphertext);var o=b.enc.Hex.parse(i),s=b.enc.Hex.parse(n.encryptionSchemeIV),u=b.TripleDES.decrypt(a,o,{iv:s});return b.enc.Hex.stringify(u)},getKeyFromEncryptedPKCS8PEM:function(e,t){var r=this._getPlainPKCS8HexFromEncryptedPKCS8PEM(e,t);return this.getKeyFromPlainPrivatePKCS8Hex(r)},parsePlainPrivatePKCS8Hex:function(e){var t=ts.getChildIdx,r=ts.getV,n={};if(n.algparam=null,"30"!=e.substr(0,2))throw Error("malformed plain PKCS8 private key(code:001)");var i=t(e,0);if(i.length<3)throw Error("malformed plain PKCS8 private key(code:002)");if("30"!=e.substr(i[1],2))throw Error("malformed PKCS8 private key(code:003)");var a=t(e,i[1]);if(2!=a.length)throw Error("malformed PKCS8 private key(code:004)");if("06"!=e.substr(a[0],2))throw Error("malformed PKCS8 private key(code:005)");if(n.algoid=r(e,a[0]),"06"==e.substr(a[1],2)&&(n.algparam=r(e,a[1])),"04"!=e.substr(i[2],2))throw Error("malformed PKCS8 private key(code:006)");return n.keyidx=ts.getVidx(e,i[2]),n},getKeyFromPlainPrivatePKCS8PEM:function(e){var t=tb(e,"PRIVATE KEY");return this.getKeyFromPlainPrivatePKCS8Hex(t)},getKeyFromPlainPrivatePKCS8Hex:function(e){var t,r=this.parsePlainPrivatePKCS8Hex(e);if("2a864886f70d010101"==r.algoid)t=new tt;else if("2a8648ce380401"==r.algoid)t=new d.crypto.DSA;else if("2a8648ce3d0201"==r.algoid)t=new d.crypto.ECDSA;else throw Error("unsupported private key algorithm");return t.readPKCS8PrvKeyHex(e),t},_getKeyFromPublicPKCS8Hex:function(e){var t,r=ts.getVbyList(e,0,[0,0],"06");if("2a864886f70d010101"===r)t=new tt;else if("2a8648ce380401"===r)t=new d.crypto.DSA;else if("2a8648ce3d0201"===r)t=new d.crypto.ECDSA;else throw Error("unsupported PKCS#8 public key hex");return t.readPKCS8PubKeyHex(e),t},parsePublicRawRSAKeyHex:function(e){var t=ts.getChildIdx,r=ts.getV,n={};if("30"!=e.substr(0,2))throw Error("malformed RSA key(code:001)");var i=t(e,0);if(2!=i.length)throw Error("malformed RSA key(code:002)");if("02"!=e.substr(i[0],2))throw Error("malformed RSA key(code:003)");if(n.n=r(e,i[0]),"02"!=e.substr(i[1],2))throw Error("malformed RSA key(code:004)");return n.e=r(e,i[1]),n},parsePublicPKCS8Hex:function(e){var t=ts.getChildIdx,r=ts.getV,n={};n.algparam=null;var i=t(e,0);if(2!=i.length)throw Error("outer DERSequence shall have 2 elements: "+i.length);var a=i[0];if("30"!=e.substr(a,2))throw Error("malformed PKCS8 public key(code:001)");var o=t(e,a);if(2!=o.length)throw Error("malformed PKCS8 public key(code:002)");if("06"!=e.substr(o[0],2))throw Error("malformed PKCS8 public key(code:003)");if(n.algoid=r(e,o[0]),"06"==e.substr(o[1],2)?n.algparam=r(e,o[1]):"30"==e.substr(o[1],2)&&(n.algparam={},n.algparam.p=ts.getVbyList(e,o[1],[0],"02"),n.algparam.q=ts.getVbyList(e,o[1],[1],"02"),n.algparam.g=ts.getVbyList(e,o[1],[2],"02")),"03"!=e.substr(i[1],2))throw Error("malformed PKCS8 public key(code:004)");return n.key=r(e,i[1]).substr(2),n}});function tM(e,t){for(var r="",n=t/4-e.length,i=0;i>24,(16711680&i)>>16,(65280&i)>>8,255&i])))),i+=1;return n}function tB(e){for(var t in d.crypto.Util.DIGESTINFOHEAD){var r=d.crypto.Util.DIGESTINFOHEAD[t],n=r.length;if(e.substring(0,n)==r)return[t,e.substring(n)]}return[]}function tH(e){var t,r=ts.getChildIdx,n=ts.getV,i=(ts.dump,ts.parse),a=ts.getTLV,o=ts.getVbyList,s=ts.getVbyListEx,u=ts.getTLVbyList,c=ts.getTLVbyListEx,l=ts.getIdxbyList,f=ts.getIdxbyListEx,h=ts.getVidx,p=ts.getInt,m=ts.oidname,g=ts.hextooidstr;try{t=d.asn1.x509.AlgorithmIdentifier.PSSNAME2ASN1TLV}catch(e){}this.HEX2STAG={"0c":"utf8",13:"prn",16:"ia5","1a":"vis","1e":"bmp"},this.hex=null,this.version=0,this.foffset=0,this.aExtInfo=null,this.getVersion=function(){if(null===this.hex||0!==this.version)return this.version;var e=u(this.hex,0,[0,0]);if("a0"!=e.substr(0,2))return this.version=1,this.foffset=-1,1;var t=p(u(e,0,[0]),0);if(t<0||21){var s=a(e,o[1]),u=this.getGeneralName(s);void 0!=u.uri&&(i.uri=u.uri)}if(o.length>2){var c=a(e,o[2]);"0101ff"==c&&(i.reqauth=!0),"010100"==c&&(i.reqauth=!1)}return i};var y=function(e){var t={};try{var r=e.seq[0].oid,n=d.asn1.x509.OID.name2oid(r);t.type=d.asn1.x509.OID.oid2atype(n);var i=e.seq[1];if(void 0!=i.utf8str)t.ds="utf8",t.value=i.utf8str.str;else if(void 0!=i.numstr)t.ds="num",t.value=i.numstr.str;else if(void 0!=i.telstr)t.ds="tel",t.value=i.telstr.str;else if(void 0!=i.prnstr)t.ds="prn",t.value=i.prnstr.str;else if(void 0!=i.ia5str)t.ds="ia5",t.value=i.ia5str.str;else if(void 0!=i.visstr)t.ds="vis",t.value=i.visstr.str;else if(void 0!=i.bmpstr)t.ds="bmp",t.value=i.bmpstr.str;else throw"error";return t}catch(e){throw new Erorr("improper ASN.1 parsed AttrTypeAndValue")}},b=function(e){try{return e.set.map(function(e){return y(e)})}catch(e){throw Error("improper ASN.1 parsed RDN: "+e)}},x=function(e){try{return e.seq.map(function(e){return b(e)})}catch(e){throw Error("improper ASN.1 parsed X500Name: "+e)}};this.getX500NameRule=function(e){for(var t=null,r=[],n=0;n0&&(t.ext=this.getExtParamArray()),t.sighex=this.getSignatureValueHex(),"object"==typeof e&&(!0==e.tbshex&&(t.tbshex=u(this.hex,0,[0])),!0==e.nodnarray&&(delete t.issuer.array,delete t.subject.array)),t},this.getExtParamArray=function(e){void 0==e&&-1!=f(this.hex,0,[0,"[3]"])&&(e=c(this.hex,0,[0,"[3]",0],"30"));for(var t=[],n=r(e,0),i=0;i2&&"04"===e.substr(b[1],2))(l=new s).readPKCS5PrvKeyHex(e);else throw Error("unsupported PKCS#1/5 hexadecimal key");return l}if("pkcs8prv"===r){var l=tD.getKeyFromPlainPrivatePKCS8Hex(e);return l}if("pkcs8pub"===r)return tD._getKeyFromPublicPKCS8Hex(e);if("x509pub"===r)return tH.getPublicKeyFromCertHex(e);if(-1!=e.indexOf("-END CERTIFICATE-",0)||-1!=e.indexOf("-END X509 CERTIFICATE-",0)||-1!=e.indexOf("-END TRUSTED CERTIFICATE-",0))return tH.getPublicKeyFromCertPEM(e);if(-1!=e.indexOf("-END PUBLIC KEY-")){var x=tb(e,"PUBLIC KEY");return tD._getKeyFromPublicPKCS8Hex(x)}if(-1!=e.indexOf("-END RSA PRIVATE KEY-")&&-1==e.indexOf("4,ENCRYPTED")){var w=c(e,"RSA PRIVATE KEY");return tD.getKey(w,null,"pkcs5prv")}if(-1!=e.indexOf("-END DSA PRIVATE KEY-")&&-1==e.indexOf("4,ENCRYPTED")){var S=c(e,"DSA PRIVATE KEY"),A=a(S,0,[1],"02"),C=a(S,0,[2],"02"),P=a(S,0,[3],"02"),O=a(S,0,[4],"02"),_=a(S,0,[5],"02"),l=new u;return l.setPrivate(new E(A,16),new E(C,16),new E(P,16),new E(O,16),new E(_,16)),l}if(-1!=e.indexOf("-END EC PRIVATE KEY-")&&-1==e.indexOf("4,ENCRYPTED")){var w=c(e,"EC PRIVATE KEY");return tD.getKey(w,null,"pkcs5prv")}if(-1!=e.indexOf("-END PRIVATE KEY-"))return tD.getKeyFromPlainPrivatePKCS8PEM(e);if(-1!=e.indexOf("-END RSA PRIVATE KEY-")&&-1!=e.indexOf("4,ENCRYPTED")){var k=tD.getDecryptedKeyHex(e,t),R=new tt;return R.readPKCS5PrvKeyHex(k),R}if(-1!=e.indexOf("-END EC PRIVATE KEY-")&&-1!=e.indexOf("4,ENCRYPTED")){var S=tD.getDecryptedKeyHex(e,t),l=a(S,0,[1],"04"),j=a(S,0,[2,0],"06"),F=a(S,0,[3,0],"03").substr(2),I="";if(void 0!==d.crypto.OID.oidhex2name[j])I=d.crypto.OID.oidhex2name[j];else throw Error("undefined OID(hex) in KJUR.crypto.OID: "+j);var f=new s({curve:I});return f.setPublicKeyHex(F),f.setPrivateKeyHex(l),f.isPublic=!1,f}if(-1!=e.indexOf("-END DSA PRIVATE KEY-")&&-1!=e.indexOf("4,ENCRYPTED")){var S=tD.getDecryptedKeyHex(e,t),A=a(S,0,[1],"02"),C=a(S,0,[2],"02"),P=a(S,0,[3],"02"),O=a(S,0,[4],"02"),_=a(S,0,[5],"02"),l=new u;return l.setPrivate(new E(A,16),new E(C,16),new E(P,16),new E(O,16),new E(_,16)),l}if(-1!=e.indexOf("-END ENCRYPTED PRIVATE KEY-"))return tD.getKeyFromEncryptedPKCS8PEM(e,t);throw Error("not supported argument")},tD.generateKeypair=function(e,t){if("RSA"==e){var r=new tt;r.generate(t,"10001"),r.isPrivate=!0,r.isPublic=!0;var n=new tt,i=r.n.toString(16),a=r.e.toString(16);n.setPublic(i,a),n.isPrivate=!1,n.isPublic=!0;var o={};return o.prvKeyObj=r,o.pubKeyObj=n,o}if("EC"==e){var s=new d.crypto.ECDSA({curve:t}).generateKeyPairHex(),r=new d.crypto.ECDSA({curve:t});r.setPublicKeyHex(s.ecpubhex),r.setPrivateKeyHex(s.ecprvhex),r.isPrivate=!0,r.isPublic=!1;var n=new d.crypto.ECDSA({curve:t});n.setPublicKeyHex(s.ecpubhex),n.isPrivate=!1,n.isPublic=!0;var o={};return o.prvKeyObj=r,o.pubKeyObj=n,o}throw Error("unknown algorithm: "+e)},tD.getPEM=function(e,t,r,n,i,a){var o=d,s=o.asn1,u=s.DERObjectIdentifier,c=s.DERInteger,l=s.ASN1Util.newObject,f=s.x509.SubjectPublicKeyInfo,h=o.crypto,p=h.DSA,m=h.ECDSA;function g(e){return l({seq:[{int:0},{int:{bigint:e.n}},{int:e.e},{int:{bigint:e.d}},{int:{bigint:e.p}},{int:{bigint:e.q}},{int:{bigint:e.dmp1}},{int:{bigint:e.dmq1}},{int:{bigint:e.coeff}}]})}function y(e){return l({seq:[{int:1},{octstr:{hex:e.prvKeyHex}},{tag:["a0",!0,{oid:{name:e.curveName}}]},{tag:["a1",!0,{bitstr:{hex:"00"+e.pubKeyHex}}]}]})}function x(e){return l({seq:[{int:0},{int:{bigint:e.p}},{int:{bigint:e.q}},{int:{bigint:e.g}},{int:{bigint:e.y}},{int:{bigint:e.x}}]})}if((void 0!==tt&&e instanceof tt||void 0!==p&&e instanceof p||void 0!==m&&e instanceof m)&&!0==e.isPublic&&(void 0===t||"PKCS8PUB"==t)){var w=new f(e),S=w.tohex();return ty(S,"PUBLIC KEY")}if("PKCS1PRV"==t&&void 0!==tt&&e instanceof tt&&(void 0===r||null==r)&&!0==e.isPrivate){var w=g(e),S=w.tohex();return ty(S,"RSA PRIVATE KEY")}if("PKCS1PRV"==t&&void 0!==m&&e instanceof m&&(void 0===r||null==r)&&!0==e.isPrivate){var E=new u({name:e.curveName}).tohex(),A=y(e).tohex();return""+(ty(E,"EC PARAMETERS")+ty(A,"EC PRIVATE KEY"))}if("PKCS1PRV"==t&&void 0!==p&&e instanceof p&&(void 0===r||null==r)&&!0==e.isPrivate){var w=x(e),S=w.tohex();return ty(S,"DSA PRIVATE KEY")}if("PKCS5PRV"==t&&void 0!==tt&&e instanceof tt&&void 0!==r&&null!=r&&!0==e.isPrivate){var w=g(e),S=w.tohex();return void 0===n&&(n="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("RSA",S,r,n,a)}if("PKCS5PRV"==t&&void 0!==m&&e instanceof m&&void 0!==r&&null!=r&&!0==e.isPrivate){var w=y(e),S=w.tohex();return void 0===n&&(n="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("EC",S,r,n,a)}if("PKCS5PRV"==t&&void 0!==p&&e instanceof p&&void 0!==r&&null!=r&&!0==e.isPrivate){var w=x(e),S=w.tohex();return void 0===n&&(n="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("DSA",S,r,n,a)}var C=function(e,t){var r=P(e,t);return new l({seq:[{seq:[{oid:{name:"pkcs5PBES2"}},{seq:[{seq:[{oid:{name:"pkcs5PBKDF2"}},{seq:[{octstr:{hex:r.pbkdf2Salt}},{int:r.pbkdf2Iter}]}]},{seq:[{oid:{name:"des-EDE3-CBC"}},{octstr:{hex:r.encryptionSchemeIV}}]}]}]},{octstr:{hex:r.ciphertext}}]}).tohex()},P=function(e,t){var r=b.lib.WordArray.random(8),n=b.lib.WordArray.random(8),i=b.PBKDF2(t,r,{keySize:6,iterations:100}),a=b.enc.Hex.parse(e),o=b.TripleDES.encrypt(a,i,{iv:n})+"",s={};return s.ciphertext=o,s.pbkdf2Salt=b.enc.Hex.stringify(r),s.pbkdf2Iter=100,s.encryptionSchemeAlg="DES-EDE3-CBC",s.encryptionSchemeIV=b.enc.Hex.stringify(n),s};if("PKCS8PRV"==t&&void 0!=tt&&e instanceof tt&&!0==e.isPrivate){var O=g(e),_=O.tohex(),w=l({seq:[{int:0},{seq:[{oid:{name:"rsaEncryption"}},{null:!0}]},{octstr:{hex:_}}]}),S=w.tohex();if(void 0===r||null==r)return ty(S,"PRIVATE KEY");var A=C(S,r);return ty(A,"ENCRYPTED PRIVATE KEY")}if("PKCS8PRV"==t&&void 0!==m&&e instanceof m&&!0==e.isPrivate){var k={seq:[{int:1},{octstr:{hex:e.prvKeyHex}}]};"string"==typeof e.pubKeyHex&&k.seq.push({tag:["a1",!0,{bitstr:{hex:"00"+e.pubKeyHex}}]});var O=new l(k),_=O.tohex(),w=l({seq:[{int:0},{seq:[{oid:{name:"ecPublicKey"}},{oid:{name:e.curveName}}]},{octstr:{hex:_}}]}),S=w.tohex();if(void 0===r||null==r)return ty(S,"PRIVATE KEY");var A=C(S,r);return ty(A,"ENCRYPTED PRIVATE KEY")}if("PKCS8PRV"==t&&void 0!==p&&e instanceof p&&!0==e.isPrivate){var O=new c({bigint:e.x}),_=O.tohex(),w=l({seq:[{int:0},{seq:[{oid:{name:"dsa"}},{seq:[{int:{bigint:e.p}},{int:{bigint:e.q}},{int:{bigint:e.g}}]}]},{octstr:{hex:_}}]}),S=w.tohex();if(void 0===r||null==r)return ty(S,"PRIVATE KEY");var A=C(S,r);return ty(A,"ENCRYPTED PRIVATE KEY")}throw Error("unsupported object nor format")},tD.getKeyFromCSRPEM=function(e){var t=tb(e,"CERTIFICATE REQUEST");return tD.getKeyFromCSRHex(t)},tD.getKeyFromCSRHex=function(e){var t=tD.parseCSRHex(e);return tD.getKey(t.p8pubkeyhex,null,"pkcs8pub")},tD.parseCSRHex=function(e){var t=ts.getChildIdx,r=ts.getTLV,n={};if("30"!=e.substr(0,2))throw Error("malformed CSR(code:001)");var i=t(e,0);if(i.length<1)throw Error("malformed CSR(code:002)");if("30"!=e.substr(i[0],2))throw Error("malformed CSR(code:003)");var a=t(e,i[0]);if(a.length<3)throw Error("malformed CSR(code:004)");return n.p8pubkeyhex=r(e,a[2]),n},tD.getKeyID=function(e){"string"==typeof e&&-1!=e.indexOf("BEGIN ")&&(e=tD.getKey(e));var t=tb(tD.getPEM(e)),r=ts.getIdxbyList(t,0,[1]),n=ts.getV(t,r).substring(2);return d.crypto.Util.hashHex(n,"sha1")},tD.getJWK=function(e,t,r,n,i){var a,o,s={},u=d.crypto.Util.hashHex;if("string"==typeof e)a=tD.getKey(e),-1!=e.indexOf("CERTIFICATE")&&(o=tb(e));else if("object"==typeof e)e instanceof tH?(a=e.getPublicKey(),o=e.hex):a=e;else throw Error("unsupported keyinfo type");if(a instanceof tt&&a.isPrivate)s.kty="RSA",s.n=td(a.n.toString(16)),s.e=td(a.e.toString(16)),s.d=td(a.d.toString(16)),s.p=td(a.p.toString(16)),s.q=td(a.q.toString(16)),s.dp=td(a.dmp1.toString(16)),s.dq=td(a.dmq1.toString(16)),s.qi=td(a.coeff.toString(16));else if(a instanceof tt&&a.isPublic)s.kty="RSA",s.n=td(a.n.toString(16)),s.e=td(a.e.toString(16));else if(a instanceof d.crypto.ECDSA&&a.isPrivate){var c=a.getShortNISTPCurveName();if("P-256"!==c&&"P-384"!==c&&"P-521"!==c)throw Error("unsupported curve name for JWT: "+c);var l=a.getPublicKeyXYHex();s.kty="EC",s.crv=c,s.x=td(l.x),s.y=td(l.y),s.d=td(a.prvKeyHex)}else if(a instanceof d.crypto.ECDSA&&a.isPublic){var c=a.getShortNISTPCurveName();if("P-256"!==c&&"P-384"!==c&&"P-521"!==c)throw Error("unsupported curve name for JWT: "+c);var l=a.getPublicKeyXYHex();s.kty="EC",s.crv=c,s.x=td(l.x),s.y=td(l.y)}if(void 0==s.kty)throw Error("unsupported keyinfo");return a.isPrivate||!0==t||(s.kid=d.jws.JWS.getJWKthumbprint(s)),void 0!=o&&!0!=r&&(s.x5c=[w(o)]),void 0!=o&&!0!=n&&(s.x5t=tl(w(u(o,"sha1")))),void 0!=o&&!0!=i&&(s["x5t#S256"]=tl(w(u(o,"sha256")))),s},tD.getJWKFromKey=function(e){return tD.getJWK(e,!0,!0,!0,!0)},tt.getPosArrayOfChildrenFromHex=function(e){return ts.getChildIdx(e,0)},tt.getHexValueArrayOfChildrenFromHex=function(e){var t=ts.getV,r=tt.getPosArrayOfChildrenFromHex(e),n=t(e,r[0]),i=t(e,r[1]),a=t(e,r[2]),o=t(e,r[3]),s=t(e,r[4]),u=t(e,r[5]),c=t(e,r[6]),l=t(e,r[7]),f=t(e,r[8]),r=[];return r.push(n,i,a,o,s,u,c,l,f),r},tt.prototype.readPrivateKeyFromPEMString=function(e){var t=tb(e),r=tt.getHexValueArrayOfChildrenFromHex(t);this.setPrivateEx(r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8])},tt.prototype.readPKCS5PrvKeyHex=function(e){var t=tt.getHexValueArrayOfChildrenFromHex(e);this.setPrivateEx(t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8])},tt.prototype.readPKCS8PrvKeyHex=function(e){var t,r,n,i,a,o,s,u,c=ts.getVbyListEx;if(!1===ts.isASN1HEX(e))throw Error("not ASN.1 hex string");try{t=c(e,0,[2,0,1],"02"),r=c(e,0,[2,0,2],"02"),n=c(e,0,[2,0,3],"02"),i=c(e,0,[2,0,4],"02"),a=c(e,0,[2,0,5],"02"),o=c(e,0,[2,0,6],"02"),s=c(e,0,[2,0,7],"02"),u=c(e,0,[2,0,8],"02")}catch(e){throw Error("malformed PKCS#8 plain RSA private key")}this.setPrivateEx(t,r,n,i,a,o,s,u)},tt.prototype.readPKCS5PubKeyHex=function(e){var t=ts.getV;if(!1===ts.isASN1HEX(e))throw Error("keyHex is not ASN.1 hex string");var r=ts.getChildIdx(e,0);if(2!==r.length||"02"!==e.substr(r[0],2)||"02"!==e.substr(r[1],2))throw Error("wrong hex for PKCS#5 public key");var n=t(e,r[0]),i=t(e,r[1]);this.setPublic(n,i)},tt.prototype.readPKCS8PubKeyHex=function(e){if(!1===ts.isASN1HEX(e))throw Error("not ASN.1 hex string");if("06092a864886f70d010101"!==ts.getTLVbyListEx(e,0,[0,0]))throw Error("not PKCS8 RSA public key");var t=ts.getTLVbyListEx(e,0,[1,0]);this.readPKCS5PubKeyHex(t)},tt.prototype.readCertPubKeyHex=function(e,t){var r,n;(r=new tH).readCertHex(e),n=r.getPublicKeyHex(),this.readPKCS8PubKeyHex(n)},tt.prototype.sign=function(e,t){var r=d.crypto.Util.hashString(e,t);return this.signWithMessageHash(r,t)},tt.prototype.signWithMessageHash=function(e,t){var r=d.crypto.Util.getPaddedDigestInfoHex(e,t,this.n.bitLength()),n=e7(r,16);return tM(this.doPrivate(n).toString(16),this.n.bitLength())},tt.prototype.signPSS=function(e,t,r){var n,i=(n=tg(e),d.crypto.Util.hashHex(n,t));return void 0===r&&(r=-1),this.signWithMessageHashPSS(i,t,r)},tt.prototype.signWithMessageHashPSS=function(e,t,r){var n,i=tv(e),a=i.length,o=this.n.bitLength()-1,s=Math.ceil(o/8),u=function(e){return d.crypto.Util.hashHex(e,t)};if(-1===r||void 0===r)r=a;else if(-2===r)r=s-a-2;else if(r<-2)throw Error("invalid salt length");if(s0&&(c=Array(r),new e9().nextBytes(c),c=String.fromCharCode.apply(String,c));var l=tv(u(tg("\x00\x00\x00\x00\x00\x00\x00\x00"+i+c))),f=[];for(n=0;n>8*s-o&255),n=0;nn)return!1;var i=this.doPublic(r).toString(16);if(i.length+3!=n/4)return!1;var a=tB(i.replace(/^1f+00/,""));if(0==a.length)return!1;var o=a[0],s=a[1],u=d.crypto.Util.hashString(e,o);return s==u},tt.prototype.verifyWithMessageHash=function(e,t){if(t.length!=Math.ceil(this.n.bitLength()/4))return!1;var r=e7(t,16);if(r.bitLength()>this.n.bitLength())return 0;var n=tB(this.doPublic(r).toString(16).replace(/^1f+00/,""));return 0!=n.length&&(n[0],n[1]==e)},tt.prototype.verifyPSS=function(e,t,r,n){var i,a=(i=tg(e),d.crypto.Util.hashHex(i,r));return void 0===n&&(n=-1),this.verifyWithMessageHashPSS(a,t,r,n)},tt.prototype.verifyWithMessageHashPSS=function(e,t,r,n){if(t.length!=Math.ceil(this.n.bitLength()/4))return!1;var i,a=new E(t,16),o=function(e){return d.crypto.Util.hashHex(e,r)},s=tv(e),u=s.length,c=this.n.bitLength()-1,l=Math.ceil(c/8);if(-1===n||void 0===n)n=u;else if(-2===n)n=l-u-2;else if(n<-2)throw Error("invalid salt length");if(l>8*l-c&255;if((h.charCodeAt(0)&m)!=0)throw Error("bits beyond keysize not zero");var g=tL(p,h.length,o),y=[];for(i=0;i0&&-1==(":"+r.join(":")+":").indexOf(":"+g+":"))throw"algorithm '"+g+"' not accepted in the list";if("none"!=g&&null===t)throw"key shall be specified to verify.";if("string"==typeof t&&-1!=t.indexOf("-----BEGIN ")&&(t=tD.getKey(t)),("RS"==y||"PS"==y)&&!(t instanceof tt))throw"key shall be a RSAKey obj for RS* and PS* algs";if("ES"==y&&!(t instanceof s))throw"key shall be a ECDSA obj for ES* algs";var b=null;if(void 0===i.jwsalg2sigalg[m.alg])throw"unsupported alg name: "+g;if("none"==(b=i.jwsalg2sigalg[g]))throw"not supported";if("Hmac"==b.substr(0,4)){if(void 0===t)throw"hexadecimal key shall be specified for HMAC";var x=new u({alg:b,pass:t});return x.updateString(f),h==x.doFinal()}if(-1!=b.indexOf("withECDSA")){var w=null;try{w=s.concatSigToASN1Sig(h)}catch(e){return!1}var S=new c({alg:b});return S.init(t),S.updateString(f),S.verify(w)}var S=new c({alg:b});return S.init(t),S.updateString(f),S.verify(h)},d.jws.JWS.parse=function(e){var t,r,n,i=e.split("."),a={};if(2!=i.length&&3!=i.length)throw"malformed sJWS: wrong number of '.' splitted elements";return t=i[0],r=i[1],3==i.length&&(n=i[2]),a.headerObj=d.jws.JWS.readSafeJSONString(p(t)),a.payloadObj=d.jws.JWS.readSafeJSONString(p(r)),a.headerPP=JSON.stringify(a.headerObj,null," "),null==a.payloadObj?a.payloadPP=p(r):a.payloadPP=JSON.stringify(a.payloadObj,null," "),void 0!==n&&(a.sigHex=th(n)),a},d.jws.JWS.verifyJWT=function(e,t,r){var n=d.jws,i=n.JWS,a=i.readSafeJSONString,o=i.inArray,s=i.includedArray;if(!tR(e))return!1;var u=e.split(".");if(3!=u.length)return!1;var c=u[0],l=u[1];th(u[2]);var f=a(p(c)),h=a(p(l));if(void 0===f.alg)return!1;if(void 0===r.alg)throw"acceptField.alg shall be specified";if(!o(f.alg,r.alg)||void 0!==h.iss&&"object"==typeof r.iss&&!o(h.iss,r.iss)||void 0!==h.sub&&"object"==typeof r.sub&&!o(h.sub,r.sub))return!1;if(void 0!==h.aud&&"object"==typeof r.aud){if("string"==typeof h.aud){if(!o(h.aud,r.aud))return!1}else if("object"==typeof h.aud&&!s(h.aud,r.aud))return!1}var m=n.IntDate.getNow();return void 0!==r.verifyAt&&"number"==typeof r.verifyAt&&(m=r.verifyAt),(void 0===r.gracePeriod||"number"!=typeof r.gracePeriod)&&(r.gracePeriod=0),(void 0===h.exp||"number"!=typeof h.exp||!(h.exp+r.gracePeriodi&&this.aHeader.pop(),this.aSignature.length>i&&this.aSignature.pop(),"addSignature failed: "+e}},this.verifyAll=function(e){if(this.aHeader.length!==e.length||this.aSignature.length!==e.length)return!1;for(var t=0;t0)this.aHeader=e.headers;else throw"malformed header";if("string"==typeof e.payload)this.sPayload=e.payload;else throw"malformed signatures";if(e.signatures.length>0)this.aSignature=e.signatures;else throw"malformed signatures"}catch(e){throw"malformed JWS-JS JSON object: "+e}},this.getJSON=function(){return{headers:this.aHeader,payload:this.sPayload,signatures:this.aSignature}},this.isEmpty=function(){return 0==this.aHeader.length?1:0}},d.crypto.ECDSA,d.crypto.DSA,d.crypto.Signature,d.crypto.MessageDigest,d.crypto.Mac,d.crypto.Cipher,t.KZ=tD,t.fs=d,d.crypto,d.asn1,d.jws,d.lang},48094:function(e){var t=Object.prototype.toString;e.exports=function(e){return!0===e||!1===e||!!e&&"object"==typeof e&&"[object Boolean]"==t.call(e)}},98423:function(e,t,r){var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,i="object"==typeof self&&self&&self.Object===Object&&self,a=n||i||Function("return this")(),o=Object.prototype,s=o.hasOwnProperty,u=o.toString,c=a.Symbol,l=c?c.toStringTag:void 0;e.exports=function(e){if(t=typeof e,null==e||"object"!=t&&"function"!=t)return!1;var t,r=null==e?void 0===e?"[object Undefined]":"[object Null]":l&&l in Object(e)?function(e){var t=s.call(e,l),r=e[l];try{e[l]=void 0;var n=!0}catch(e){}var i=u.call(e);return n&&(t?e[l]=r:delete e[l]),i}(e):u.call(e);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}},25751:function(e){var t=Object.prototype.toString,r=Array.isArray;e.exports=function(e){var n;return"string"==typeof e||!r(e)&&!!(n=e)&&"object"==typeof n&&"[object String]"==t.call(e)}},35683:function(e,t,r){var n,i,a=1/0,o=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,s=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,u="\ud800-\udfff",c="\\u2700-\\u27bf",l="a-z\\xdf-\\xf6\\xf8-\\xff",f="A-Z\\xc0-\\xd6\\xd8-\\xde",d="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",h="['’]",p="["+d+"]",m="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",g="["+l+"]",y="[^"+u+d+"\\d+"+c+l+f+"]",b="(?:\ud83c[\udde6-\uddff]){2}",x="[\ud800-\udbff][\udc00-\udfff]",w="["+f+"]",S="(?:"+g+"|"+y+")",E="(?:"+h+"(?:d|ll|m|re|s|t|ve))?",A="(?:"+h+"(?:D|LL|M|RE|S|T|VE))?",C="(?:"+m+"|\ud83c[\udffb-\udfff])?",P="[\\ufe0e\\ufe0f]?",O="(?:\\u200d(?:"+["[^"+u+"]",b,x].join("|")+")"+P+C+")*",_="(?:"+["["+c+"]",b,x].join("|")+")"+(P+C+O),k=RegExp(h,"g"),R=RegExp(m,"g"),j=RegExp([w+"?"+g+"+"+E+"(?="+[p,w,"$"].join("|")+")","(?:"+w+"|"+y+")+"+A+"(?="+[p,w+S,"$"].join("|")+")",w+"?"+S+"+"+E,w+"+"+A,"\\d+",_].join("|"),"g"),F=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,I="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,T="object"==typeof self&&self&&self.Object===Object&&self,N=I||T||Function("return this")(),D=(n={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"ss"},function(e){return null==n?void 0:n[e]}),M=Object.prototype.toString,L=N.Symbol,B=L?L.prototype:void 0,H=B?B.toString:void 0;function $(e){return null==e?"":function(e){if("string"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==M.call(t))return H?H.call(e):"";var t,r=e+"";return"0"==r&&1/e==-a?"-0":r}(e)}var U=(i=function(e,t,r){return e+(r?"-":"")+t.toLowerCase()},function(e){var t;return function(e,t,r,n){for(var i=-1,a=e?e.length:0;++ii?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var a=Array(i);++nl))return!1;var d=u.get(e),h=u.get(t);if(d&&h)return d==t&&h==e;var p=-1,m=!0,g=2&r?new n:void 0;for(u.set(e,t),u.set(t,e);++p-1&&e%1==0&&e-1}},54705:function(e,t,r){var n=r(18470);e.exports=function(e,t){var r=this.__data__,i=n(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}},24785:function(e,t,r){var n=r(1989),i=r(38407),a=r(57071);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(a||i),string:new n}}},11285:function(e,t,r){var n=r(45050);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},96e3:function(e,t,r){var n=r(45050);e.exports=function(e){return n(this,e).get(e)}},49916:function(e,t,r){var n=r(45050);e.exports=function(e){return n(this,e).has(e)}},95265:function(e,t,r){var n=r(45050);e.exports=function(e,t){var r=n(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}},68776:function(e){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}},42634:function(e){e.exports=function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}}},24523:function(e,t,r){var n=r(88306);e.exports=function(e){var t=n(e,function(e){return 500===r.size&&r.clear(),e}),r=t.cache;return t}},94536:function(e,t,r){var n=r(10852)(Object,"create");e.exports=n},86916:function(e,t,r){var n=r(5569)(Object.keys,Object);e.exports=n},33498:function(e){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},31167:function(e,t,r){e=r.nmd(e);var n=r(31957),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,o=a&&a.exports===i&&n.process,s=function(){try{var e=a&&a.require&&a.require("util").types;if(e)return e;return o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=s},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:function(e){e.exports=function(e,t){return function(r){return e(t(r))}}},55639:function(e,t,r){var n=r(31957),i="object"==typeof self&&self&&self.Object===Object&&self,a=n||i||Function("return this")();e.exports=a},90619:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},72385:function(e){e.exports=function(e){return this.__data__.has(e)}},21814:function(e){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}},37465:function(e,t,r){var n=r(38407);e.exports=function(){this.__data__=new n,this.size=0}},63779:function(e){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},67599:function(e){e.exports=function(e){return this.__data__.get(e)}},44758:function(e){e.exports=function(e){return this.__data__.has(e)}},34309:function(e,t,r){var n=r(38407),i=r(57071),a=r(83369);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var o=r.__data__;if(!i||o.length<199)return o.push([e,t]),this.size=++r.size,this;r=this.__data__=new a(o)}return r.set(e,t),this.size=r.size,this}},55514:function(e,t,r){var n=r(24523),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,o=n(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,function(e,r,n,i){t.push(n?i.replace(a,"$1"):r||e)}),t});e.exports=o},40327:function(e,t,r){var n=r(33448),i=1/0;e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},80346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},77813:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},84486:function(e,t,r){var n=r(77412),i=r(89881),a=r(54290),o=r(1469);e.exports=function(e,t){return(o(e)?n:i)(e,a(t))}},27361:function(e,t,r){var n=r(97786);e.exports=function(e,t,r){var i=null==e?void 0:n(e,t);return void 0===i?r:i}},79095:function(e,t,r){var n=r(13),i=r(222);e.exports=function(e,t){return null!=e&&i(e,t,n)}},6557:function(e){e.exports=function(e){return e}},35694:function(e,t,r){var n=r(9454),i=r(37005),a=Object.prototype,o=a.hasOwnProperty,s=a.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(e){return i(e)&&o.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},1469:function(e){var t=Array.isArray;e.exports=t},98612:function(e,t,r){var n=r(23560),i=r(41780);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},51584:function(e,t,r){var n=r(44239),i=r(37005);e.exports=function(e){return!0===e||!1===e||i(e)&&"[object Boolean]"==n(e)}},44144:function(e,t,r){e=r.nmd(e);var n=r(55639),i=r(95062),a=t&&!t.nodeType&&t,o=a&&e&&!e.nodeType&&e,s=o&&o.exports===a?n.Buffer:void 0,u=s?s.isBuffer:void 0;e.exports=u||i},23560:function(e,t,r){var n=r(44239),i=r(13218);e.exports=function(e){if(!i(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},41780:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},68630:function(e,t,r){var n=r(44239),i=r(85924),a=r(37005),o=Object.prototype,s=Function.prototype.toString,u=o.hasOwnProperty,c=s.call(Object);e.exports=function(e){if(!a(e)||"[object Object]"!=n(e))return!1;var t=i(e);if(null===t)return!0;var r=u.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&s.call(r)==c}},47037:function(e,t,r){var n=r(44239),i=r(1469),a=r(37005);e.exports=function(e){return"string"==typeof e||!i(e)&&a(e)&&"[object String]"==n(e)}},33448:function(e,t,r){var n=r(44239),i=r(37005);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==n(e)}},36719:function(e,t,r){var n=r(38749),i=r(7518),a=r(31167),o=a&&a.isTypedArray,s=o?i(o):n;e.exports=s},3674:function(e,t,r){var n=r(14636),i=r(280),a=r(98612);e.exports=function(e){return a(e)?n(e):i(e)}},81704:function(e,t,r){var n=r(14636),i=r(10313),a=r(98612);e.exports=function(e){return a(e)?n(e,!0):i(e)}},66604:function(e,t,r){var n=r(89465),i=r(47816),a=r(67206);e.exports=function(e,t){var r={};return t=a(t,3),i(e,function(e,i,a){n(r,i,t(e,i,a))}),r}},88306:function(e,t,r){var n=r(83369);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var o=e.apply(this,n);return r.cache=a.set(i,o)||a,o};return r.cache=new(i.Cache||n),r}i.Cache=n,e.exports=i},35937:function(e,t,r){var n=r(29932),i=r(67206),a=r(63012),o=r(46904);e.exports=function(e,t){if(null==e)return{};var r=n(o(e),function(e){return[e]});return t=i(t),a(e,r,function(e,r){return t(e,r[0])})}},39601:function(e,t,r){var n=r(40371),i=r(79152),a=r(15403),o=r(40327);e.exports=function(e){return a(e)?n(o(e)):i(e)}},54061:function(e,t,r){var n=r(62663),i=r(89881),a=r(67206),o=r(10107),s=r(1469);e.exports=function(e,t,r){var u=s(e)?n:o,c=arguments.length<3;return u(e,a(t,4),r,c,i)}},70479:function(e){e.exports=function(){return[]}},95062:function(e){e.exports=function(){return!1}},30084:function(e,t,r){var n=r(29932),i=r(278),a=r(1469),o=r(33448),s=r(55514),u=r(40327),c=r(79833);e.exports=function(e){return a(e)?n(e,u):o(e)?[e]:i(s(c(e)))}},79833:function(e,t,r){var n=r(80531);e.exports=function(e){return null==e?"":n(e)}},11752:function(e,t,r){e.exports=r(84785)},35166:function(e,t,r){"use strict";let n,i;r.d(t,{Z:function(){return eP}});var a,o,s,u,c,l,f=r(50029),d=r(71383),h=r(87794),p=r.n(h),m=r(67294),g=r(99603),y=r(71893),b=r(42894),x=r(59417),w=r(35683),S=r.n(w),E=r(44036),A=r.n(E),C=r(9351),P=r(23004),O=r(67216),_=r(30099);function k(e){if((!a&&0!==a||e)&&P.Z){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),a=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return a}var R=r(32092),j=r(78146),F=r(35654),I=r(76852),T=r(94305);function N(e){void 0===e&&(e=(0,O.Z)());try{var t=e.activeElement;if(!t||!t.nodeName)return null;return t}catch(t){return e.body}}var D=r(90424),M=r(72950),L=r(73935),B=r(6454),H=r(88833),$=r(91505);let U="data-rr-ui-modal-open";var z=class{constructor({ownerDocument:e,handleContainerOverflow:t=!0,isRTL:r=!1}={}){this.handleContainerOverflow=t,this.isRTL=r,this.modals=[],this.ownerDocument=e}getScrollbarWidth(){return function(e=document){let t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(e){}removeModalAttributes(e){}setContainerStyle(e){let t={overflow:"hidden"},r=this.isRTL?"paddingLeft":"paddingRight",n=this.getElement();e.style={overflow:n.style.overflow,[r]:n.style[r]},e.scrollBarWidth&&(t[r]=`${parseInt((0,$.Z)(n,r)||"0",10)+e.scrollBarWidth}px`),n.setAttribute(U,""),(0,$.Z)(n,t)}reset(){[...this.modals].forEach(e=>this.remove(e))}removeContainerStyle(e){let t=this.getElement();t.removeAttribute(U),Object.assign(t.style,e.style)}add(e){let t=this.modals.indexOf(e);return -1!==t||(t=this.modals.length,this.modals.push(e),this.setModalAttributes(e),0!==t||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state))),t}remove(e){let t=this.modals.indexOf(e);-1!==t&&(this.modals.splice(t,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(e))}isTopModal(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e}},V=r(54194),K=r(12963),Z=r(85893);let W=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","backdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"],q=(0,m.forwardRef)((e,t)=>{let{show:r=!1,role:i="dialog",className:a,style:o,children:s,backdrop:u=!0,keyboard:c=!0,onBackdropClick:l,onEscapeKeyDown:f,transition:d,backdropTransition:h,autoFocus:p=!0,enforceFocus:g=!0,restoreFocus:y=!0,restoreFocusOptions:b,renderDialog:x,renderBackdrop:w=e=>(0,Z.jsx)("div",Object.assign({},e)),manager:S,container:E,onShow:A,onHide:C=()=>{},onExit:O,onExited:_,onExiting:k,onEnter:R,onEntering:F,onEntered:T}=e,$=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n=0||(i[r]=e[r]);return i}(e,W),U=(0,V.Z)(E),q=function(e){let t=(0,K.Z)(),r=e||(n||(n=new z({ownerDocument:null==t?void 0:t.document})),n),i=(0,m.useRef)({dialog:null,backdrop:null});return Object.assign(i.current,{add:()=>r.add(i.current),remove:()=>r.remove(i.current),isTopModal:()=>r.isTopModal(i.current),setDialogRef:(0,m.useCallback)(e=>{i.current.dialog=e},[]),setBackdropRef:(0,m.useCallback)(e=>{i.current.backdrop=e},[])})}(S),G=(0,B.Z)(),Y=(0,H.Z)(r),[J,X]=(0,m.useState)(!r),Q=(0,m.useRef)(null);(0,m.useImperativeHandle)(t,()=>q,[q]),P.Z&&!Y&&r&&(Q.current=N()),d||r||J?r&&J&&X(!1):X(!0);let ee=(0,j.Z)(()=>{if(q.add(),eo.current=(0,M.Z)(document,"keydown",ei),ea.current=(0,M.Z)(document,"focus",()=>setTimeout(er),!0),A&&A(),p){let e=N(document);q.dialog&&e&&!(0,D.Z)(q.dialog,e)&&(Q.current=e,q.dialog.focus())}}),et=(0,j.Z)(()=>{if(q.remove(),null==eo.current||eo.current(),null==ea.current||ea.current(),y){var e;null==(e=Q.current)||null==e.focus||e.focus(b),Q.current=null}});(0,m.useEffect)(()=>{r&&U&&ee()},[r,U,ee]),(0,m.useEffect)(()=>{J&&et()},[J,et]),(0,I.Z)(()=>{et()});let er=(0,j.Z)(()=>{if(!g||!G()||!q.isTopModal())return;let e=N();q.dialog&&e&&!(0,D.Z)(q.dialog,e)&&q.dialog.focus()}),en=(0,j.Z)(e=>{e.target===e.currentTarget&&(null==l||l(e),!0===u&&C())}),ei=(0,j.Z)(e=>{c&&27===e.keyCode&&q.isTopModal()&&(null==f||f(e),e.defaultPrevented||C())}),ea=(0,m.useRef)(),eo=(0,m.useRef)(),es=(...e)=>{X(!0),null==_||_(...e)};if(!U||!(r||d&&!J))return null;let eu=Object.assign({role:i,ref:q.setDialogRef,"aria-modal":"dialog"===i||void 0},$,{style:o,className:a,tabIndex:-1}),ec=x?x(eu):(0,Z.jsx)("div",Object.assign({},eu,{children:m.cloneElement(s,{role:"document"})}));d&&(ec=(0,Z.jsx)(d,{appear:!0,unmountOnExit:!0,in:!!r,onExit:O,onExiting:k,onExited:es,onEnter:R,onEntering:F,onEntered:T,children:ec}));let el=null;return u&&(el=w({ref:q.setBackdropRef,onClick:en}),h&&(el=(0,Z.jsx)(h,{appear:!0,in:!!r,children:el}))),(0,Z.jsx)(Z.Fragment,{children:L.createPortal((0,Z.jsxs)(Z.Fragment,{children:[el,ec]}),U)})});q.displayName="Modal";var G=Object.assign(q,{Manager:z}),Y=r(11132),J=Function.prototype.bind.call(Function.prototype.call,[].slice);function X(e,t){return J(e.querySelectorAll(t))}function Q(e,t){return e.replace(RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}let ee={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class et extends z{adjustAndStore(e,t,r){let n=t.style[e];t.dataset[e]=n,(0,$.Z)(t,{[e]:`${parseFloat((0,$.Z)(t,e))+r}px`})}restore(e,t){let r=t.dataset[e];void 0!==r&&(delete t.dataset[e],(0,$.Z)(t,{[e]:r}))}setContainerStyle(e){var t,r;super.setContainerStyle(e);let n=this.getElement();if(r="modal-open",(t=n).classList?t.classList.add(r):(0,Y.Z)(t,r)||("string"==typeof t.className?t.className=t.className+" "+r:t.setAttribute("class",(t.className&&t.className.baseVal||"")+" "+r)),!e.scrollBarWidth)return;let i=this.isRTL?"paddingLeft":"paddingRight",a=this.isRTL?"marginLeft":"marginRight";X(n,ee.FIXED_CONTENT).forEach(t=>this.adjustAndStore(i,t,e.scrollBarWidth)),X(n,ee.STICKY_CONTENT).forEach(t=>this.adjustAndStore(a,t,-e.scrollBarWidth)),X(n,ee.NAVBAR_TOGGLER).forEach(t=>this.adjustAndStore(a,t,e.scrollBarWidth))}removeContainerStyle(e){var t,r;super.removeContainerStyle(e);let n=this.getElement();r="modal-open",(t=n).classList?t.classList.remove(r):"string"==typeof t.className?t.className=Q(t.className,r):t.setAttribute("class",Q(t.className&&t.className.baseVal||"",r));let i=this.isRTL?"paddingLeft":"paddingRight",a=this.isRTL?"marginLeft":"marginRight";X(n,ee.FIXED_CONTENT).forEach(e=>this.restore(i,e)),X(n,ee.STICKY_CONTENT).forEach(e=>this.restore(a,e)),X(n,ee.NAVBAR_TOGGLER).forEach(e=>this.restore(a,e))}}var er=r(54800),en=r(66611),ei=(0,en.Z)("modal-body");let ea=m.createContext({onHide(){}});var eo=r(76792);let es=m.forwardRef(({bsPrefix:e,className:t,contentClassName:r,centered:n,size:i,fullscreen:a,children:o,scrollable:s,...u},c)=>{e=(0,eo.vE)(e,"modal");let l=`${e}-dialog`,f="string"==typeof a?`${e}-fullscreen-${a}`:`${e}-fullscreen`;return(0,Z.jsx)("div",{...u,ref:c,className:A()(l,t,i&&`${e}-${i}`,n&&`${l}-centered`,s&&`${l}-scrollable`,a&&f),children:(0,Z.jsx)("div",{className:A()(`${e}-content`,r),children:o})})});es.displayName="ModalDialog";var eu=(0,en.Z)("modal-footer"),ec=r(45697),el=r.n(ec);let ef={"aria-label":el().string,onClick:el().func,variant:el().oneOf(["white"])},ed=m.forwardRef(({className:e,variant:t,...r},n)=>(0,Z.jsx)("button",{ref:n,type:"button",className:A()("btn-close",t&&`btn-close-${t}`,e),...r}));ed.displayName="CloseButton",ed.propTypes=ef,ed.defaultProps={"aria-label":"Close"};let eh=m.forwardRef(({closeLabel:e,closeVariant:t,closeButton:r,onHide:n,children:i,...a},o)=>{let s=(0,m.useContext)(ea),u=(0,j.Z)(()=>{null==s||s.onHide(),null==n||n()});return(0,Z.jsxs)("div",{ref:o,...a,children:[i,r&&(0,Z.jsx)(ed,{"aria-label":e,variant:t,onClick:u})]})});eh.defaultProps={closeLabel:"Close",closeButton:!1};let ep=m.forwardRef(({bsPrefix:e,className:t,...r},n)=>(e=(0,eo.vE)(e,"modal-header"),(0,Z.jsx)(eh,{ref:n,...r,className:A()(t,e)})));ep.displayName="ModalHeader",ep.defaultProps={closeLabel:"Close",closeButton:!1};let em=m.forwardRef((e,t)=>(0,Z.jsx)("div",{...e,ref:t,className:A()(e.className,"h4")}));var ev=(0,en.Z)("modal-title",{Component:em});function eg(e){return(0,Z.jsx)(er.Z,{...e,timeout:null})}function ey(e){return(0,Z.jsx)(er.Z,{...e,timeout:null})}let eb=m.forwardRef(({bsPrefix:e,className:t,style:r,dialogClassName:n,contentClassName:a,children:o,dialogAs:s,"aria-labelledby":u,"aria-describedby":c,"aria-label":l,show:f,animation:d,backdrop:h,keyboard:p,onEscapeKeyDown:g,onShow:y,onHide:b,container:x,autoFocus:w,enforceFocus:S,restoreFocus:E,restoreFocusOptions:N,onEntered:D,onExit:M,onExiting:L,onEnter:B,onEntering:H,onExited:$,backdropClassName:U,manager:z,...V},K)=>{let[W,q]=(0,m.useState)({}),[Y,J]=(0,m.useState)(!1),X=(0,m.useRef)(!1),Q=(0,m.useRef)(!1),ee=(0,m.useRef)(null),[er,en]=(0,R.Z)(),ei=(0,F.Z)(K,en),es=(0,j.Z)(b),eu=(0,eo.SC)();e=(0,eo.vE)(e,"modal");let ec=(0,m.useMemo)(()=>({onHide:es}),[es]);function el(){return z||(i||(i=new et({isRTL:eu})),i)}function ef(e){if(!P.Z)return;let t=el().getScrollbarWidth()>0,r=e.scrollHeight>(0,O.Z)(e).documentElement.clientHeight;q({paddingRight:t&&!r?k():void 0,paddingLeft:!t&&r?k():void 0})}let ed=(0,j.Z)(()=>{er&&ef(er.dialog)});(0,I.Z)(()=>{(0,_.Z)(window,"resize",ed),null==ee.current||ee.current()});let eh=()=>{X.current=!0},ep=e=>{X.current&&er&&e.target===er.dialog&&(Q.current=!0),X.current=!1},em=()=>{J(!0),ee.current=(0,T.Z)(er.dialog,()=>{J(!1)})},ev=e=>{e.target===e.currentTarget&&em()},eb=e=>{if("static"===h){ev(e);return}if(Q.current||e.target!==e.currentTarget){Q.current=!1;return}null==b||b()},ex=e=>{p||"static"!==h?p&&g&&g(e):(e.preventDefault(),em())},ew=(e,t)=>{e&&ef(e),null==B||B(e,t)},eS=e=>{null==ee.current||ee.current(),null==M||M(e)},eE=(e,t)=>{null==H||H(e,t),(0,C.ZP)(window,"resize",ed)},eA=e=>{e&&(e.style.display=""),null==$||$(e),(0,_.Z)(window,"resize",ed)},eC=(0,m.useCallback)(t=>(0,Z.jsx)("div",{...t,className:A()(`${e}-backdrop`,U,!d&&"show")}),[d,U,e]),eP={...r,...W};eP.display="block";let eO=r=>(0,Z.jsx)("div",{role:"dialog",...r,style:eP,className:A()(t,e,Y&&`${e}-static`),onClick:h?eb:void 0,onMouseUp:ep,"aria-label":l,"aria-labelledby":u,"aria-describedby":c,children:(0,Z.jsx)(s,{...V,onMouseDown:eh,className:n,contentClassName:a,children:o})});return(0,Z.jsx)(ea.Provider,{value:ec,children:(0,Z.jsx)(G,{show:f,ref:ei,backdrop:h,container:x,keyboard:!0,autoFocus:w,enforceFocus:S,restoreFocus:E,restoreFocusOptions:N,onEscapeKeyDown:ex,onShow:y,onHide:b,onEnter:ew,onEntering:eE,onEntered:D,onExit:eS,onExiting:L,onExited:eA,manager:el(),transition:d?eg:void 0,backdropTransition:d?ey:void 0,renderBackdrop:eC,renderDialog:eO})})});eb.displayName="Modal",eb.defaultProps={show:!1,backdrop:!0,keyboard:!0,autoFocus:!0,enforceFocus:!0,restoreFocus:!0,animation:!0,dialogAs:es};var ex=Object.assign(eb,{Body:ei,Header:ep,Title:ev,Footer:eu,Dialog:es,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),ew=(0,y.ZP)(ex)(o||(o=(0,d.Z)(["\n & .pg-modal-main {\n max-width: 700px;\n box-shadow: 5px 5px 10px black;\n\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%) !important;\n }\n & .modal-content {\n border-radius: 0;\n }\n & .modal-header {\n border-radius: 0;\n }\n"]))),eS=(0,y.ZP)(ex.Header)(s||(s=(0,d.Z)(["\n font-size: 1.5em;\n padding: 0.75em;\n background: #38598a;\n color: #fff;\n & a {\n float: right;\n }\n"]))),eE=(0,y.ZP)(g.G)(u||(u=(0,d.Z)(["\n margin-right: 5px;\n height: 30px;\n"]))),eA=y.ZP.div(c||(c=(0,d.Z)(["\n color: #000;\n cursor: default;\n font-weight: 400;\n"]))),eC=y.ZP.div(l||(l=(0,d.Z)(["\n margin-top: 20px;\n display: flex;\n justify-content: "," & button {\n min-width: 150px;\n margin-right: 20px;\n display: inline-block;\n\n &:disabled {\n cursor: not-allowed;\n }\n }\n"])),function(e){return"center"===e.buttonAlign?"center;":"space-between;"}),eP=function(e){var t,r=e.id,n=e.openModal,i=e.handleClose,a=void 0===i?function(){}:i,o=e.title,s=e.content,u=e.showCancel,c=void 0===u||u,l=e.showConfirm,d=void 0===l||l,h=e.buttonAlign,y=e.onConfirm,w=e.disableConfirm,E=e.confirmText,A=e.buttonStyle,C=e.icon,P=void 0===C?x.eHv:C,O=e.skipCloseOnConfirm,_=void 0!==O&&O,k=e.closable,R=e.closeOnBackgroundClick,j=(0,m.useState)(!1),F=j[0],I=j[1],T="confirm-delete-"+S()(o),N="cancel-"+S()(o),D=(t=(0,f.Z)(p().mark(function e(){return p().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(I(!0),!y){e.next=4;break}return e.next=4,y();case 4:I(!1),_||a();case 6:case"end":return e.stop()}},e)})),function(){return t.apply(this,arguments)});return(0,Z.jsxs)(ew,{show:void 0!==n&&n,onHide:function(){a()},dialogClassName:"pg-modal-main",id:r,backdrop:!!(void 0===R||R)||"static",children:[(0,Z.jsxs)(eS,{children:[(0,Z.jsxs)(ex.Title,{children:[P&&(0,Z.jsx)(eE,{icon:P,title:"Information",size:"2x",style:{paddingRight:"10px"}}),o]}),k&&(0,Z.jsx)(g.G,{icon:x.NBC,size:"lg",onClick:a})]}),(0,Z.jsxs)(ex.Body,{children:[(0,Z.jsx)(eA,{children:s}),(c||d)&&(0,Z.jsxs)(eC,{buttonAlign:void 0===h?"default":h,children:[c&&(0,Z.jsx)("button",{className:"secondary",onClick:a,type:"button","data-testid":N,children:"Cancel"}),d&&(0,Z.jsx)("button",{"data-testid":T,onClick:D,className:void 0===A?"primary":A,type:"button",disabled:void 0!==w&&w||F,children:F?(0,Z.jsx)(b.rj,{color:"#FFF",height:18,width:50,wrapperClass:"d-block",visible:F}):void 0===E?"Confirm":E})]})]})]})}},35124:function(e,t,r){"use strict";r.d(t,{V:function(){return R}});var n,i,a,o,s=r(50029),u=r(59499),c=r(71383),l=r(87794),f=r.n(l),d=r(67294),h=r(69696),p=r(99603),m=r(34798),g=r.n(m),y=r(71893),b=r(42894),x=r(59417),w=r(35683),S=r.n(w),E=r(85893);function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function C(e){for(var t=1;t0&&(n=I(r.width)/o||1),a>0&&(i=I(r.height)/a||1)}return{width:r.width/n,height:r.height/i,top:r.top/i,right:r.right/n,bottom:r.bottom/i,left:r.left/n,x:r.left/n,y:r.top/i}}function N(e){var t=T(e),r=e.offsetWidth,n=e.offsetHeight;return 1>=Math.abs(t.width-r)&&(r=t.width),1>=Math.abs(t.height-n)&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function D(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&R(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function M(e){return e?(e.nodeName||"").toLowerCase():null}function L(e){return O(e).getComputedStyle(e)}function B(e){return((_(e)?e.ownerDocument:e.document)||window.document).documentElement}function H(e){return"html"===M(e)?e:e.assignedSlot||e.parentNode||(R(e)?e.host:null)||B(e)}function $(e){return k(e)&&"fixed"!==L(e).position?e.offsetParent:null}function U(e){for(var t=O(e),r=$(e);r&&["table","td","th"].indexOf(M(r))>=0&&"static"===L(r).position;)r=$(r);return r&&("html"===M(r)||"body"===M(r)&&"static"===L(r).position)?t:r||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&k(e)&&"fixed"===L(e).position)return null;var r=H(e);for(R(r)&&(r=r.host);k(r)&&0>["html","body"].indexOf(M(r));){var n=L(r);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return r;r=r.parentNode}return null}(e)||t}function z(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function V(e,t,r){return j(e,F(t,r))}function K(){return{top:0,right:0,bottom:0,left:0}}function Z(e){return Object.assign({},K(),e)}function W(e,t){return t.reduce(function(t,r){return t[r]=e,t},{})}var q="bottom",G="right",Y="left",J="auto",X=["top",q,G,Y],Q="start",ee="viewport",et="popper",er=X.reduce(function(e,t){return e.concat([t+"-"+Q,t+"-end"])},[]),en=[].concat(X,[J]).reduce(function(e,t){return e.concat([t,t+"-"+Q,t+"-end"])},[]),ei=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ea(e){return e.split("-")[1]}var eo={top:"auto",right:"auto",bottom:"auto",left:"auto"};function es(e){var t,r,n,i,a,o,s=e.popper,u=e.popperRect,c=e.placement,l=e.variation,f=e.offsets,d=e.position,h=e.gpuAcceleration,p=e.adaptive,m=e.roundOffsets,g=e.isFixed,y=f.x,b=void 0===y?0:y,x=f.y,w=void 0===x?0:x,S="function"==typeof m?m({x:b,y:w}):{x:b,y:w};b=S.x,w=S.y;var E=f.hasOwnProperty("x"),A=f.hasOwnProperty("y"),C=Y,P="top",_=window;if(p){var k=U(s),R="clientHeight",j="clientWidth";k===O(s)&&"static"!==L(k=B(s)).position&&"absolute"===d&&(R="scrollHeight",j="scrollWidth"),("top"===c||(c===Y||c===G)&&"end"===l)&&(P=q,w-=(g&&k===_&&_.visualViewport?_.visualViewport.height:k[R])-u.height,w*=h?1:-1),(c===Y||("top"===c||c===q)&&"end"===l)&&(C=G,b-=(g&&k===_&&_.visualViewport?_.visualViewport.width:k[j])-u.width,b*=h?1:-1)}var F=Object.assign({position:d},p&&eo),T=!0===m?(r=(t={x:b,y:w}).x,n=t.y,{x:I(r*(i=window.devicePixelRatio||1))/i||0,y:I(n*i)/i||0}):{x:b,y:w};return(b=T.x,w=T.y,h)?Object.assign({},F,((o={})[P]=A?"0":"",o[C]=E?"0":"",o.transform=1>=(_.devicePixelRatio||1)?"translate("+b+"px, "+w+"px)":"translate3d("+b+"px, "+w+"px, 0)",o)):Object.assign({},F,((a={})[P]=A?w+"px":"",a[C]=E?b+"px":"",a.transform="",a))}var eu={passive:!0},ec={left:"right",right:"left",bottom:"top",top:"bottom"};function el(e){return e.replace(/left|right|bottom|top/g,function(e){return ec[e]})}var ef={start:"end",end:"start"};function ed(e){return e.replace(/start|end/g,function(e){return ef[e]})}function eh(e){var t=O(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ep(e){return T(B(e)).left+eh(e).scrollLeft}function em(e){var t=L(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function ev(e,t){void 0===t&&(t=[]);var r,n=function e(t){return["html","body","#document"].indexOf(M(t))>=0?t.ownerDocument.body:k(t)&&em(t)?t:e(H(t))}(e),i=n===(null==(r=e.ownerDocument)?void 0:r.body),a=O(n),o=i?[a].concat(a.visualViewport||[],em(n)?n:[]):n,s=t.concat(o);return i?s:s.concat(ev(H(o)))}function eg(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ey(e,t){var r,n,i,a,o,s,u,c,l,f,d,h,p,m,g,y,b;return t===ee?eg((r=O(e),n=B(e),i=r.visualViewport,a=n.clientWidth,o=n.clientHeight,s=0,u=0,i&&(a=i.width,o=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=i.offsetLeft,u=i.offsetTop)),{width:a,height:o,x:s+ep(e),y:u})):_(t)?((c=T(t)).top=c.top+t.clientTop,c.left=c.left+t.clientLeft,c.bottom=c.top+t.clientHeight,c.right=c.left+t.clientWidth,c.width=t.clientWidth,c.height=t.clientHeight,c.x=c.left,c.y=c.top,c):eg((l=B(e),d=B(l),h=eh(l),p=null==(f=l.ownerDocument)?void 0:f.body,m=j(d.scrollWidth,d.clientWidth,p?p.scrollWidth:0,p?p.clientWidth:0),g=j(d.scrollHeight,d.clientHeight,p?p.scrollHeight:0,p?p.clientHeight:0),y=-h.scrollLeft+ep(l),b=-h.scrollTop,"rtl"===L(p||d).direction&&(y+=j(d.clientWidth,p?p.clientWidth:0)-m),{width:m,height:g,x:y,y:b}))}function eb(e){var t,r=e.reference,n=e.element,i=e.placement,a=i?P(i):null,o=i?ea(i):null,s=r.x+r.width/2-n.width/2,u=r.y+r.height/2-n.height/2;switch(a){case"top":t={x:s,y:r.y-n.height};break;case q:t={x:s,y:r.y+r.height};break;case G:t={x:r.x+r.width,y:u};break;case Y:t={x:r.x-n.width,y:u};break;default:t={x:r.x,y:r.y}}var c=a?z(a):null;if(null!=c){var l="y"===c?"height":"width";switch(o){case Q:t[c]=t[c]-(r[l]/2-n[l]/2);break;case"end":t[c]=t[c]+(r[l]/2-n[l]/2)}}return t}function ex(e,t){void 0===t&&(t={});var r,n,i,a,o,s,u,c=t,l=c.placement,f=void 0===l?e.placement:l,d=c.boundary,h=c.rootBoundary,p=c.elementContext,m=void 0===p?et:p,g=c.altBoundary,y=c.padding,b=void 0===y?0:y,x=Z("number"!=typeof b?b:W(b,X)),w=e.rects.popper,S=e.elements[void 0!==g&&g?m===et?"reference":et:m],E=(r=_(S)?S:S.contextElement||B(e.elements.popper),s=(o=[].concat("clippingParents"===(n=void 0===d?"clippingParents":d)?(i=ev(H(r)),_(a=["absolute","fixed"].indexOf(L(r).position)>=0&&k(r)?U(r):r)?i.filter(function(e){return _(e)&&D(e,a)&&"body"!==M(e)}):[]):[].concat(n),[void 0===h?ee:h]))[0],(u=o.reduce(function(e,t){var n=ey(r,t);return e.top=j(n.top,e.top),e.right=F(n.right,e.right),e.bottom=F(n.bottom,e.bottom),e.left=j(n.left,e.left),e},ey(r,s))).width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u),A=T(e.elements.reference),C=eb({reference:A,element:w,strategy:"absolute",placement:f}),P=eg(Object.assign({},w,C)),O=m===et?P:A,R={top:E.top-O.top+x.top,bottom:O.bottom-E.bottom+x.bottom,left:E.left-O.left+x.left,right:O.right-E.right+x.right},I=e.modifiersData.offset;if(m===et&&I){var N=I[f];Object.keys(R).forEach(function(e){var t=[G,q].indexOf(e)>=0?1:-1,r=["top",q].indexOf(e)>=0?"y":"x";R[e]+=N[r]*t})}return R}function ew(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function eS(e){return["top",G,q,Y].some(function(t){return e[t]>=0})}var eE={placement:"bottom",modifiers:[],strategy:"absolute"};function eA(){for(var e=arguments.length,t=Array(e),r=0;r=0?-1:1,u=(s="function"==typeof a?a(Object.assign({},n,{placement:r})):a)[0],c=s[1],u=u||0,c=(c||0)*o,[Y,G].indexOf(i)>=0?{x:c,y:u}:{x:u,y:c}),e},{}),s=o[t.placement],u=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=o}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,a=void 0===i||i,o=r.altAxis,s=void 0===o||o,u=r.fallbackPlacements,c=r.padding,l=r.boundary,f=r.rootBoundary,d=r.altBoundary,h=r.flipVariations,p=void 0===h||h,m=r.allowedAutoPlacements,g=t.options.placement,y=P(g),b=u||(y!==g&&p?function(e){if(P(e)===J)return[];var t=el(e);return[ed(e),t,ed(t)]}(g):[el(g)]),x=[g].concat(b).reduce(function(e,r){var n,i,a,o,s,u,d,h,g,y,b,x;return e.concat(P(r)===J?(i=(n={placement:r,boundary:l,rootBoundary:f,padding:c,flipVariations:p,allowedAutoPlacements:m}).placement,a=n.boundary,o=n.rootBoundary,s=n.padding,u=n.flipVariations,h=void 0===(d=n.allowedAutoPlacements)?en:d,0===(b=(y=(g=ea(i))?u?er:er.filter(function(e){return ea(e)===g}):X).filter(function(e){return h.indexOf(e)>=0})).length&&(b=y),Object.keys(x=b.reduce(function(e,r){return e[r]=ex(t,{placement:r,boundary:a,rootBoundary:o,padding:s})[P(r)],e},{})).sort(function(e,t){return x[e]-x[t]})):r)},[]),w=t.rects.reference,S=t.rects.popper,E=new Map,A=!0,C=x[0],O=0;O=0,F=j?"width":"height",I=ex(t,{placement:_,boundary:l,rootBoundary:f,altBoundary:d,padding:c}),T=j?R?G:Y:R?q:"top";w[F]>S[F]&&(T=el(T));var N=el(T),D=[];if(a&&D.push(I[k]<=0),s&&D.push(I[T]<=0,I[N]<=0),D.every(function(e){return e})){C=_,A=!1;break}E.set(_,D)}if(A)for(var M=p?3:1,L=function(e){var t=x.find(function(t){var r=E.get(t);if(r)return r.slice(0,e).every(function(e){return e})});if(t)return C=t,"break"},B=M;B>0&&"break"!==L(B);B--);t.placement!==C&&(t.modifiersData[n]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,a=r.altAxis,o=r.boundary,s=r.rootBoundary,u=r.altBoundary,c=r.padding,l=r.tether,f=void 0===l||l,d=r.tetherOffset,h=void 0===d?0:d,p=ex(t,{boundary:o,rootBoundary:s,padding:c,altBoundary:u}),m=P(t.placement),g=ea(t.placement),y=!g,b=z(m),x="x"===b?"y":"x",w=t.modifiersData.popperOffsets,S=t.rects.reference,E=t.rects.popper,A="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,C="number"==typeof A?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),O=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,_={x:0,y:0};if(w){if(void 0===i||i){var k,R="y"===b?"top":Y,I="y"===b?q:G,T="y"===b?"height":"width",D=w[b],M=D+p[R],L=D-p[I],B=f?-E[T]/2:0,H=g===Q?S[T]:E[T],$=g===Q?-E[T]:-S[T],Z=t.elements.arrow,W=f&&Z?N(Z):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:K(),X=J[R],ee=J[I],et=V(0,S[T],W[T]),er=y?S[T]/2-B-et-X-C.mainAxis:H-et-X-C.mainAxis,en=y?-S[T]/2+B+et+ee+C.mainAxis:$+et+ee+C.mainAxis,ei=t.elements.arrow&&U(t.elements.arrow),eo=ei?"y"===b?ei.clientTop||0:ei.clientLeft||0:0,es=null!=(k=null==O?void 0:O[b])?k:0,eu=V(f?F(M,D+er-es-eo):M,D,f?j(L,D+en-es):L);w[b]=eu,_[b]=eu-D}if(void 0!==a&&a){var ec,el,ef=w[x],ed="y"===x?"height":"width",eh=ef+p["x"===b?"top":Y],ep=ef-p["x"===b?q:G],em=-1!==["top",Y].indexOf(m),ev=null!=(ec=null==O?void 0:O[x])?ec:0,eg=em?eh:ef-S[ed]-E[ed]-ev+C.altAxis,ey=em?ef+S[ed]+E[ed]-ev-C.altAxis:ep,eb=f&&em?(el=V(eg,ef,ey))>ey?ey:el:V(f?eg:eh,ef,f?ey:ep);w[x]=eb,_[x]=eb-ef}t.modifiersData[n]=_}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r,n=e.state,i=e.name,a=e.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,u=P(n.placement),c=z(u),l=[Y,G].indexOf(u)>=0?"height":"width";if(o&&s){var f=Z("number"!=typeof(t="function"==typeof(t=a.padding)?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:W(t,X)),d=N(o),h=n.rects.reference[l]+n.rects.reference[c]-s[c]-n.rects.popper[l],p=s[c]-n.rects.reference[c],m=U(o),g=m?"y"===c?m.clientHeight||0:m.clientWidth||0:0,y=f["y"===c?"top":Y],b=g-d[l]-f["y"===c?q:G],x=g/2-d[l]/2+(h/2-p/2),w=V(y,x,b);n.modifiersData[i]=((r={})[c]=w,r.centerOffset=w-x,r)}},effect:function(e){var t=e.state,r=e.options.element,n=void 0===r?"[data-popper-arrow]":r;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&D(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}]}).defaultModifiers)?[]:i,s=void 0===(o=n.defaultOptions)?eE:o,function(e,t,r){void 0===r&&(r=s);var n,i={placement:"bottom",orderedModifiers:[],options:Object.assign({},eE,s),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},o=[],u=!1,c={state:i,setOptions:function(r){var n,u,f,d,h,p="function"==typeof r?r(i.options):r;l(),i.options=Object.assign({},s,i.options,p),i.scrollParents={reference:_(e)?ev(e):e.contextElement?ev(e.contextElement):[],popper:ev(t)};var m=(u=Object.keys(n=[].concat(a,i.options.modifiers).reduce(function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e},{})).map(function(e){return n[e]}),f=new Map,d=new Set,h=[],u.forEach(function(e){f.set(e.name,e)}),u.forEach(function(e){d.has(e.name)||function e(t){d.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!d.has(t)){var r=f.get(t);r&&e(r)}}),h.push(t)}(e)}),ei.reduce(function(e,t){return e.concat(h.filter(function(e){return e.phase===t}))},[]));return i.orderedModifiers=m.filter(function(e){return e.enabled}),i.orderedModifiers.forEach(function(e){var t=e.name,r=e.options,n=e.effect;if("function"==typeof n){var a=n({state:i,name:t,instance:c,options:void 0===r?{}:r});o.push(a||function(){})}}),c.update()},forceUpdate:function(){if(!u){var e,t,r,n,a,o,s,l,f,d,h,p,m=i.elements,g=m.reference,y=m.popper;if(eA(g,y)){i.rects={reference:(t=U(y),r="fixed"===i.options.strategy,n=k(t),l=k(t)&&(o=I((a=t.getBoundingClientRect()).width)/t.offsetWidth||1,s=I(a.height)/t.offsetHeight||1,1!==o||1!==s),f=B(t),d=T(g,l),h={scrollLeft:0,scrollTop:0},p={x:0,y:0},(n||!n&&!r)&&(("body"!==M(t)||em(f))&&(h=(e=t)!==O(e)&&k(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:eh(e)),k(t)?(p=T(t,!0),p.x+=t.clientLeft,p.y+=t.clientTop):f&&(p.x=ep(f))),{x:d.left+h.scrollLeft-p.x,y:d.top+h.scrollTop-p.y,width:d.width,height:d.height}),popper:N(y)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach(function(e){return i.modifiersData[e.name]=Object.assign({},e.data)});for(var b=0;bvoid 0},e_={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:e})=>()=>{let{reference:t,popper:r}=e.elements;if("removeAttribute"in t){let e=(t.getAttribute("aria-describedby")||"").split(",").filter(e=>e.trim()!==r.id);e.length?t.setAttribute("aria-describedby",e.join(",")):t.removeAttribute("aria-describedby")}},fn:({state:e})=>{var t;let{popper:r,reference:n}=e.elements,i=null==(t=r.getAttribute("role"))?void 0:t.toLowerCase();if(r.id&&"tooltip"===i&&"setAttribute"in n){let e=n.getAttribute("aria-describedby");if(e&&-1!==e.split(",").indexOf(r.id))return;n.setAttribute("aria-describedby",e?`${e},${r.id}`:r.id)}}},ek=[];var eR=function(e,t,r={}){let{enabled:n=!0,placement:i="bottom",strategy:a="absolute",modifiers:o=ek}=r,s=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n=0||(i[r]=e[r]);return i}(r,eP),u=(0,l.useRef)(o),c=(0,l.useRef)(),f=(0,l.useCallback)(()=>{var e;null==(e=c.current)||e.update()},[]),d=(0,l.useCallback)(()=>{var e;null==(e=c.current)||e.forceUpdate()},[]),[h,p]=C((0,l.useState)({placement:i,update:f,forceUpdate:d,attributes:{},styles:{popper:{},arrow:{}}})),m=(0,l.useMemo)(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:e})=>{let t={},r={};Object.keys(e.elements).forEach(n=>{t[n]=e.styles[n],r[n]=e.attributes[n]}),p({state:e,styles:t,attributes:r,update:f,forceUpdate:d,placement:e.placement})}}),[f,d,p]),g=(0,l.useMemo)(()=>(A(u.current,o)||(u.current=o),u.current),[o]);return(0,l.useEffect)(()=>{c.current&&n&&c.current.setOptions({placement:i,strategy:a,modifiers:[...g,m,eO]})},[a,i,m,n,g]),(0,l.useEffect)(()=>{if(n&&null!=e&&null!=t)return c.current=eC(e,t,Object.assign({},s,{placement:i,strategy:a,modifiers:[...g,e_,m]})),()=>{null!=c.current&&(c.current.destroy(),c.current=void 0,p(e=>Object.assign({},e,{attributes:{},styles:{popper:{}}})))}},[n,e,t]),h},ej=r(72950),eF=r(67216),eI=r(78146);let eT=()=>{},eN=e=>e&&("current"in e?e.current:e),eD={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};var eM=function(e,t=eT,{disabled:r,clickTrigger:n="click"}={}){let i=(0,l.useRef)(!1),a=(0,l.useRef)(!1),o=(0,l.useCallback)(t=>{let r=eN(e);m()(!!r,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),i.current=!r||!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)||0!==t.button||!!(0,f.Z)(r,t.target)||a.current,a.current=!1},[e]),s=(0,eI.Z)(t=>{let r=eN(e);r&&(0,f.Z)(r,t.target)&&(a.current=!0)}),u=(0,eI.Z)(e=>{i.current||t(e)});(0,l.useEffect)(()=>{if(r||null==e)return;let t=(0,eF.Z)(eN(e)),i=(t.defaultView||window).event,a=null;eD[n]&&(a=(0,ej.Z)(t,eD[n],s,!0));let c=(0,ej.Z)(t,n,o,!0),l=(0,ej.Z)(t,n,e=>{if(e===i){i=void 0;return}u(e)}),f=[];return"ontouchstart"in t.documentElement&&(f=[].slice.call(t.body.children).map(e=>(0,ej.Z)(e,"mousemove",eT))),()=>{null==a||a(),c(),l(),f.forEach(e=>e())}},[e,r,n,o,s,u])};let eL=()=>{};var eB=function(e,t,{disabled:r,clickTrigger:n}={}){let i=t||eL;eM(e,i,{disabled:r,clickTrigger:n});let a=(0,eI.Z)(e=>{27===e.keyCode&&i(e)});(0,l.useEffect)(()=>{if(r||null==e)return;let t=(0,eF.Z)(eN(e)),n=(t.defaultView||window).event,i=(0,ej.Z)(t,"keyup",e=>{if(e===n){n=void 0;return}a(e)});return()=>{i()}},[e,r,a])},eH=r(54194),e$=r(85893);let eU=l.forwardRef((e,t)=>{let{flip:r,offset:n,placement:i,containerPadding:a,popperConfig:o={},transition:s}=e,[u,c]=(0,w.Z)(),[f,d]=(0,w.Z)(),h=(0,g.Z)(c,t),p=(0,eH.Z)(e.container),m=(0,eH.Z)(e.target),[y,b]=(0,l.useState)(!e.show),S=eR(m,u,function({enabled:e,enableEvents:t,placement:r,flip:n,offset:i,fixed:a,containerPadding:o,arrowElement:s,popperConfig:u={}}){var c,l,f,d;let h=function(e){let t={};return Array.isArray(e)?(null==e||e.forEach(e=>{t[e.name]=e}),t):e||t}(u.modifiers);return Object.assign({},u,{placement:r,enabled:e,strategy:a?"fixed":u.strategy,modifiers:function(e={}){return Array.isArray(e)?e:Object.keys(e).map(t=>(e[t].name=t,e[t]))}(Object.assign({},h,{eventListeners:{enabled:t},preventOverflow:Object.assign({},h.preventOverflow,{options:o?Object.assign({padding:o},null==(c=h.preventOverflow)?void 0:c.options):null==(l=h.preventOverflow)?void 0:l.options}),offset:{options:Object.assign({offset:i},null==(f=h.offset)?void 0:f.options)},arrow:Object.assign({},h.arrow,{enabled:!!s,options:Object.assign({},null==(d=h.arrow)?void 0:d.options,{element:s})}),flip:Object.assign({enabled:!!n},h.flip)}))})}({placement:i,enableEvents:!!e.show,containerPadding:a||5,flip:r,offset:n,arrowElement:f,popperConfig:o}));e.show?y&&b(!1):e.transition||y||b(!0);let E=(...t)=>{b(!0),e.onExited&&e.onExited(...t)},A=e.show||s&&!y;if(eB(u,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!A)return null;let C=e.children(Object.assign({},S.attributes.popper,{style:S.styles.popper,ref:h}),{popper:S,placement:i,show:!!e.show,arrowProps:Object.assign({},S.attributes.arrow,{style:S.styles.arrow,ref:d})});if(s){let{onExit:t,onExiting:r,onEnter:n,onEntering:i,onEntered:a}=e;C=(0,e$.jsx)(s,{in:e.show,appear:!0,onExit:t,onExiting:r,onExited:E,onEnter:n,onEntering:i,onEntered:a,children:C})}return p?x.createPortal(C,p):null});eU.displayName="Overlay";var ez=r(99585),eV=r(11132),eK=r(76792),eZ=r(66611),eW=(0,eZ.Z)("popover-header"),eq=(0,eZ.Z)("popover-body");let eG=l.forwardRef(({bsPrefix:e,placement:t,className:r,style:n,children:i,body:a,arrowProps:o,popper:s,show:u,...c},l)=>{let f;let d=(0,eK.vE)(e,"popover"),h=(0,eK.SC)(),[p]=(null==t?void 0:t.split("-"))||[],m=(f=p,"left"===p?f=h?"end":"start":"right"===p&&(f=h?"start":"end"),f);return(0,e$.jsxs)("div",{ref:l,role:"tooltip",style:n,"x-placement":p,className:b()(r,d,p&&`bs-popover-${m}`),...c,children:[(0,e$.jsx)("div",{className:"popover-arrow",...o}),a?(0,e$.jsx)(eq,{children:i}):i]})});eG.defaultProps={placement:"right"};var eY=Object.assign(eG,{Header:eW,Body:eq,POPPER_OFFSET:[0,8]}),eJ=r(54800),eX=r(8285);let eQ={transition:eJ.Z,rootClose:!1,show:!1,placement:"top"},e0=l.forwardRef(({children:e,transition:t,popperConfig:r={},...n},i)=>{let a=(0,l.useRef)({}),[o,s]=(0,w.Z)(),[u,c]=function(e){let t=(0,l.useRef)(null),r=(0,eK.vE)(void 0,"popover"),n=(0,l.useMemo)(()=>({name:"offset",options:{offset:()=>t.current&&(0,eV.Z)(t.current,r)?e||eY.POPPER_OFFSET:e||[0,0]}}),[e,r]);return[t,[n]]}(n.offset),f=(0,g.Z)(i,u),d=!0===t?eJ.Z:t||void 0,h=(0,eI.Z)(e=>{s(e),null==r||null==r.onFirstUpdate||r.onFirstUpdate(e)});return(0,ez.Z)(()=>{o&&(null==a.current.scheduleUpdate||a.current.scheduleUpdate())},[o]),(0,e$.jsx)(eU,{...n,ref:f,popperConfig:{...r,modifiers:c.concat(r.modifiers||[]),onFirstUpdate:h},transition:d,children:(r,{arrowProps:n,popper:i,show:o})=>{var s,u;!function(e,t){let{ref:r}=e,{ref:n}=t;e.ref=r.__wrapped||(r.__wrapped=e=>r((0,eX.Z)(e))),t.ref=n.__wrapped||(n.__wrapped=e=>n((0,eX.Z)(e)))}(r,n);let c=null==i?void 0:i.placement,f=Object.assign(a.current,{state:null==i?void 0:i.state,scheduleUpdate:null==i?void 0:i.update,placement:c,outOfBoundaries:(null==i?void 0:null==(s=i.state)?void 0:null==(u=s.modifiersData.hide)?void 0:u.isReferenceHidden)||!1});return"function"==typeof e?e({...r,placement:c,show:o,...!t&&o&&{className:"show"},popper:f,arrowProps:n}):l.cloneElement(e,{...r,placement:c,arrowProps:n,popper:f,className:b()(e.props.className,!t&&o&&"show"),style:{...e.props.style,...r.style}})}})});function e1(e,t,r){let[n]=t,i=n.currentTarget,a=n.relatedTarget||n.nativeEvent[r];a&&a===i||(0,f.Z)(i,a)||e(...t)}function e2({trigger:e,overlay:t,children:r,popperConfig:n={},show:i,defaultShow:a=!1,onToggle:o,delay:s,placement:u,flip:c=u&&-1!==u.indexOf("auto"),...f}){var p,m,y,b,x,w,S,E;let A=(0,l.useRef)(null),C=(0,g.Z)(A,r.ref),P=(p=(0,d.Z)(),m=(0,l.useRef)(),(0,h.Z)(function(){return clearTimeout(m.current)}),(0,l.useMemo)(function(){var e=function(){return clearTimeout(m.current)};return{set:function(t,r){void 0===r&&(r=0),p()&&(e(),r<=2147483647?m.current=setTimeout(t,r):function e(t,r,n){var i=n-Date.now();t.current=i<=2147483647?setTimeout(r,i):setTimeout(function(){return e(t,r,n)},2147483647)}(m,t,Date.now()+r))},clear:e}},[])),O=(0,l.useRef)(""),[_,k]=(y=(0,l.useRef)(void 0!==i),x=(b=(0,l.useState)(a))[0],w=b[1],S=void 0!==i,E=y.current,y.current=S,!S&&E&&x!==a&&w(a),[S?i:x,(0,l.useCallback)(function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{C((0,eX.Z)(e))},N=(0,l.useCallback)(()=>{if(P.clear(),O.current="show",!R.show){k(!0);return}P.set(()=>{"show"===O.current&&k(!0)},R.show)},[R.show,k,P]),D=(0,l.useCallback)(()=>{if(P.clear(),O.current="hide",!R.hide){k(!1);return}P.set(()=>{"hide"===O.current&&k(!1)},R.hide)},[R.hide,k,P]),M=(0,l.useCallback)((...e)=>{N(),null==j||j(...e)},[N,j]),L=(0,l.useCallback)((...e)=>{D(),null==F||F(...e)},[D,F]),B=(0,l.useCallback)((...e)=>{k(!_),null==I||I(...e)},[I,k,_]),H=(0,l.useCallback)((...e)=>{e1(N,e,"fromElement")},[N]),$=(0,l.useCallback)((...e)=>{e1(D,e,"toElement")},[D]),U=null==e?[]:[].concat(e),z={ref:T};return -1!==U.indexOf("click")&&(z.onClick=B),-1!==U.indexOf("focus")&&(z.onFocus=M,z.onBlur=L),-1!==U.indexOf("hover")&&(z.onMouseOver=H,z.onMouseOut=$),(0,e$.jsxs)(e$.Fragment,{children:["function"==typeof r?r(z):(0,l.cloneElement)(r,z),(0,e$.jsx)(e0,{...f,show:_,onHide:D,flip:c,placement:u,popperConfig:n,target:A.current,children:t})]})}e0.displayName="Overlay",e0.defaultProps=eQ,e2.defaultProps={defaultShow:!1,trigger:["hover","focus"]};var e4=r(71893),e3=r(34798),e5=r.n(e3),e6=r(99603),e8=r(59417),e9=r(12183);function e7(e){var t=e.title,r=e.content,n=e.show,i=e.hide,a=e.icon,o=void 0===a?e8.sqG:a,s=e.onClick,u=void 0===s?e5():s,c=e.trigger,l=e.style,f=e.children,d=(0,e$.jsxs)(eY,{id:"popover-basic",style:l,children:[t&&(0,e$.jsx)(eW,{children:t}),r&&(0,e$.jsx)(eq,{dangerouslySetInnerHTML:{__html:r}})]});return(0,e$.jsx)(e2,{trigger:void 0===c?["hover","focus","click"]:c,placement:"right-start",overlay:d,delay:{show:void 0===n?150:n,hide:void 0===i?250:i},children:(0,e$.jsx)("span",{children:f||(0,e$.jsx)(e6.G,{color:"#777777",icon:o,onClick:u})})})}(0,e4.ZP)(eY)(u||(u=(0,c.Z)(["\n font-size: "," !important;\n font-family: "," !important;\n"])),e9.n5,e9.rk)},5845:function(e,t,r){"use strict";var n,i=r(71383),a=r(42894),o=r(71893),s=r(12183),u=r(85893),c=o.ZP.div(n||(n=(0,i.Z)(["\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n margin-top: ",";\n\n & p {\n margin-top: 10px;\n }\n"])),s.SI);t.Z=function(){return(0,u.jsxs)(c,{children:[(0,u.jsx)(a.rj,{color:"#000",height:45,width:45,visible:!0}),(0,u.jsx)("p",{children:"Loading information..."})]})}},4256:function(e,t,r){"use strict";r.d(t,{I:function(){return o}});var n,i=r(71383),a=r(71893),o=[{maxWidth:767,marginTop:10},{maxWidth:991,width:723,marginTop:20},{maxWidth:1199,width:933,marginTop:50},{width:1127,marginTop:80}],s=function(e,t,r,n){if("left"===e)return"\n margin-right: auto !important;\n ";if("right"===e)return"\n margin-left: auto !important;\n ";if("center"===e)return"\n margin-left: auto !important;\n margin-right: auto !important;\n ";var i="";return t&&(i+="margin-left: ".concat(t).concat(n," !important;")),r&&(i+="margin-right: ".concat(r).concat(n," !important;")),i},u=a.ZP.div(n||(n=(0,i.Z)(["\n display: block;\n max-width: 100% !important;\n\n ","\n"])),function(e){return e.rules.map(function(t,r){return 0===r?"@media only screen and (max-width: ".concat(t.maxWidth,"px) {\n & {\n ").concat(t.marginTop&&"margin-top: ".concat(t.marginTop,"px;"),"\n width: auto !important;\n ").concat(s(t.horizontalAlign||"none",1,1,"em"),"\n }\n }"):r===e.rules.length-1?"@media only screen and (min-width: ".concat((e.rules[r-1].maxWidth||0)+1,"px) {\n & {\n ").concat(t.marginTop&&"margin-top: ".concat(t.marginTop,"px;"),"\n width: ").concat(t.width,"px;\n ").concat(s(t.horizontalAlign||"center",t.marginLeft,t.marginRight,t.marginUnit),"\n }\n }"):"@media only screen and (min-width: ".concat((e.rules[r-1].maxWidth||0)+1,"px) and (max-width: ").concat(t.maxWidth,"px) {\n & {\n ").concat(t.marginTop&&"margin-top: ".concat(t.marginTop,"px;"),"\n width: ").concat(t.width,"px;\n ").concat(s(t.horizontalAlign||"center",t.marginLeft,t.marginRight,t.marginUnit),"\n }\n }")})});t.Z=u},67302:function(e,t,r){"use strict";var n,i=r(71383),a=r(71893);t.Z=a.ZP.div(n||(n=(0,i.Z)(["\n width: 100%;\n\n & .pg-notification-close {\n padding: 0 0.5rem;\n }\n"])))},4136:function(e,t,r){"use strict";r.d(t,{Es:function(){return l},JK:function(){return u},Jx:function(){return m},Qf:function(){return h},S3:function(){return y},TW:function(){return f},YC:function(){return d},_x:function(){return p},dV:function(){return g},e$:function(){return b},ne:function(){return c},rp:function(){return s},uA:function(){return n}}),r(18269);var n=function(e){return"bceidboth"===e},i=function(e){return"digitalcredential"===e},a=function(e){return"bcservicescard"===e},o=function(e){return["idir","azureidir"].includes(e)},s=function(e){return e.startsWith("bceid")},u=function(e){return!s(e)},c=function(e){return["bceidbasic","bceidbusiness"].includes(e)},l=function(e){return o(e)||"bceidboth"!==e},f=function(e){return o(e)||!c(e)},d=function(e){return["githubpublic","githubbcgov"].includes(e)},h=function(e){return!d(e)},p=function(e){return!a(e)},m=function(e){if(!e)return!1;var t=e.devIdps;return(void 0===t?[]:t).some(s)},g=function(e){if(!e)return!1;var t=e.devIdps;return(void 0===t?[]:t).some(d)},y=function(e){if(!e)return!1;var t=e.devIdps;return(void 0===t?[]:t).some(i)},b=function(e){if(!e)return!1;var t=e.devIdps;return(void 0===t?[]:t).some(a)}},36063:function(e,t,r){"use strict";r.d(t,{bD:function(){return x},ZP:function(){return b},hU:function(){return w}});var n,i=r(59499),a=r(67294),o=r(48094),s=r.n(o),u=r(85330),c=r(85893),l=function(e){var t=e.children,r=e.variant,n=e.size,i=e.closable,o=e.content,s=e.fadeOut,l=(0,a.useState)(!1),f=l[0],d=l[1];return((0,a.useEffect)(function(){var e=s?setTimeout(function(){d(!0)},s):null;return function(){e&&clearTimeout(e)}},[]),f)?null:(0,c.jsx)(u.bZ,{variant:r,size:n,closable:i,content:o,children:t})},f=r(67302),d=r(71383),h=r(71893).ZP.div(n||(n=(0,d.Z)(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n z-index: 2000;\n"])));function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function m(e){for(var t=1;t0;t&&r&&t(r)})},e),elements:i},u.push(r),s.set(r,t),t}({root:null==t?void 0:t.current,rootMargin:r})).id,i=e.observer,(l=e.elements).set(p,function(e){return e&&d(e)}),i.observe(p),function(){if(l.delete(p),i.unobserve(p),0===l.size){i.disconnect(),s.delete(n);var e=u.findIndex(function(e){return e.root===n.root&&e.margin===n.margin});e>-1&&u.splice(e,1)}}}}else if(!f){var m=a.requestIdleCallback(function(){return d(!0)});return function(){return a.cancelIdleCallback(m)}}},[c,r,t,f,h.current]),[p,f,i.useCallback(function(){d(!1)},[])]};var i=r(67294),a=r(86682),o="function"==typeof IntersectionObserver,s=new Map,u=[];("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5505:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AmpStateContext=void 0;var n=(0,r(92648).Z)(r(67294)).default.createContext({});t.AmpStateContext=n},91342:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInAmpMode=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.ampFirst,r=e.hybrid,n=e.hasQuery;return void 0!==t&&t||void 0!==r&&r&&void 0!==n&&n}},11597:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultHead=l,t.default=void 0;var n=r(6495).Z,i=r(92648).Z,a=(0,r(91598).Z)(r(67294)),o=i(r(97271)),s=r(5505),u=r(20236),c=r(91342);function l(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=[a.default.createElement("meta",{charSet:"utf-8"})];return e||t.push(a.default.createElement("meta",{name:"viewport",content:"width=device-width"})),t}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===a.default.Fragment?e.concat(a.default.Children.toArray(t.props.children).reduce(function(e,t){return"string"==typeof t||"number"==typeof t?e:e.concat(t)},[])):e.concat(t)}r(71590);var d=["name","httpEquiv","charSet","itemProp"];function h(e,t){var r,i,o,s,u=t.inAmpMode;return e.reduce(f,[]).reverse().concat(l(u).reverse()).filter((r=new Set,i=new Set,o=new Set,s={},function(e){var t=!0,n=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){n=!0;var a=e.key.slice(e.key.indexOf("$")+1);r.has(a)?t=!1:r.add(a)}switch(e.type){case"title":case"base":i.has(e.type)?t=!1:i.add(e.type);break;case"meta":for(var u=0,c=d.length;u0&&!em().isEmail(c))){e.next=3;break}return h("Please provide a valid email address"),e.abrupt("return");case 3:return e.next=5,(0,B.ck)({additionalEmail:c});case 5:(t=e.sent,n=(r=(0,P.Z)(t,2))[0],a=r[1])?(console.error(a),i.show({variant:"danger",fadeOut:2500,closable:!0,content:a})):n&&i.show({variant:"success",fadeOut:2500,closable:!0,content:"Your additional email has successfully been updated"}),window.location.hash="#";case 11:case"end":return e.stop()}},e)})),function(){return r.apply(this,arguments)}),b="".concat(null==m?void 0:m.given_name," ").concat(null==m?void 0:m.family_name),x=(0,ea.jsxs)(ev,{children:[(0,ea.jsx)(ef.default,{label:"Name",fullWidth:!0,value:b,disabled:!0}),(0,ea.jsx)("br",{}),(0,ea.jsx)(ef.default,{label:"Default Email",fullWidth:!0,value:null==m?void 0:m.email,disabled:!0}),(0,ea.jsx)("br",{}),(0,ea.jsxs)("div",{children:[(0,ea.jsx)("span",{className:"strong",children:"Additional Email"})," \xa0",(0,ea.jsx)(eh.Z,{title:"",content:"You can add a work email address in addition to your @gov.bc.ca to keep you informed of your integration progress. Note IDIR login/authentication is required to access the CSS App.",hide:200})]}),(0,ea.jsx)(ef.default,{"data-testid":"addi-email",type:"email",fullWidth:!0,maxLength:"100",value:c,onChange:function(e){em().isEmail(e.target.value)&&h(""),l(e.target.value)}}),d&&(0,ea.jsx)(eg,{children:d})]});return(0,ea.jsxs)(ea.Fragment,{children:[n(s),(0,ea.jsx)(ed.Z,{id:"user-profile",openModal:o,handleClose:function(){return s(!1)},content:x,onConfirm:y,icon:K.m08,title:"My Profile",confirmText:"Save",skipCloseOnConfirm:!0,closable:!0})]})}),eb=W.ZP.div(d||(d=(0,$.Z)(["\n font-size: 1.2rem;\n display: flex;\n\n & > div:first-child {\n color: red;\n font-size: 2rem;\n width: 120px;\n }\n\n & > div:nth-child(2) {\n & > p:first-child {\n color: red;\n font-weight: bold;\n }\n }\n"]))),ex=function(){var e,t,r=(0,j.useState)(!1),n=r[0],i=r[1],a=(0,j.useContext)(ty)||{},o=a.user,s=a.session,u=(e=(0,_.Z)(R().mark(function e(){var t;return R().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(!s||!o)){e.next=2;break}return e.abrupt("return");case 2:!s.isAdmin&&!o.hasReadGoldNotification&&null!==(t=o.integrations)&&void 0!==t&&t.find(function(e){return"gold"!==e.serviceType})&&i(!0);case 3:case"end":return e.stop()}},e)})),function(){return e.apply(this,arguments)});(0,j.useEffect)(function(){s&&o&&u()},[o]);var c=(t=(0,_.Z)(R().mark(function e(){return R().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,B.ck)({hasReadGoldNotification:!0});case 2:i(!1);case 3:case"end":return e.stop()}},e)})),function(){return t.apply(this,arguments)}),l=(0,ea.jsxs)(ea.Fragment,{children:[(0,ea.jsxs)(eb,{children:[(0,ea.jsx)("div",{children:(0,ea.jsx)(V.G,{icon:K.RLE,size:"lg"})}),(0,ea.jsxs)("div",{children:[(0,ea.jsx)("p",{children:"At this time, the Silver realms are being retired on Jan. 30 2023*. Projects on these realms will no longer be supported by the SSO team."}),(0,ea.jsxs)("p",{children:["Please complete a ",(0,ea.jsx)("span",{className:"strong",children:"Change Impact Assessment"}),", for each of your projects in the Silver realms."]})]})]}),(0,ea.jsx)("div",{className:"text-center",children:(0,ea.jsx)("button",{className:"primary",type:"button",onClick:function(){return window.open("https://docs.google.com/forms/d/1MMPeMB0A2076xkXIZRaErAwZe9QDsSwSAWqe-uvm3ys","_blank","noopener")},children:"Complete Change Impact Assessment"})})]});return(0,ea.jsx)(ea.Fragment,{children:(0,ea.jsx)(ed.Z,{id:"gold-notification",openModal:n,handleClose:c,content:l,showCancel:!1,showConfirm:!1,icon:K.RLE,title:"Please upgrade from Silver to Gold",closable:!0})})},ew=r(18269),eS=W.ZP.span(h||(h=(0,$.Z)(["\n display: flex;\n align-items: end;\n font-weight: 700;\n"]))),eE=W.ZP.div(p||(p=(0,$.Z)(["\n padding: 1rem 0;\n min-height: calc(100vh - ",");\n"])),"152px"),eA=W.ZP.ul(m||(m=(0,$.Z)(["\n padding-left: 2rem;\n padding-right: 2rem;\n\n li a {\n display: inline-block !important;\n font-size: unset !important;\n padding: 0 !important;\n border-right: none !important;\n }\n"]))),eC=W.ZP.div(g||(g=(0,$.Z)(["\n display: flex;\n justify-content: space-between;\n width: 100%;\n padding-left: 2rem;\n padding-right: 2rem;\n"]))),eP=W.ZP.ul(y||(y=(0,$.Z)(["\n & a {\n font-size: 1rem !important;\n }\n\n & a.current {\n font-weight: bold;\n }\n\n & li.current {\n padding-bottom: 6px;\n border-bottom: none;\n background: linear-gradient(orange, orange) bottom /* left or right or else */ no-repeat;\n background-size: calc(100% - 2rem) 4px;\n }\n"]))),eO=W.ZP.ul(b||(b=(0,$.Z)(["\n padding-right: 2rem;\n"]))),e_=W.ZP.div(x||(x=(0,$.Z)(["\n padding-left: 2rem;\n padding-right: 2rem;\n ul.text-small a {\n font-size: 0.875rem;\n }\n"]))),ek=W.ZP.li(w||(w=(0,$.Z)(["\n &:hover {\n opacity: 0.8;\n }\n"]))),eR=W.ZP.div(S||(S=(0,$.Z)(["\n height: 100%;\n"]))),ej=[{path:"/",label:"Home",roles:["guest","user","sso-admin"]},{path:"/terms-conditions",label:"Terms and Conditions",roles:["guest"]},{path:"/my-dashboard",label:"My Dashboard",roles:["user","sso-admin"]},{path:"/admin-dashboard",label:"SSO Dashboard",roles:["sso-admin"]},{path:"/admin-reports",label:"SSO Reports",roles:["sso-admin"]},{path:"/request",label:"Request Details",roles:["user","sso-admin"],hide:!0},{path:"/faq",label:"FAQ",roles:["guest","user","sso-admin"]}],eF=function(e){var t,r=e.session,n=e.currentPath,i=e.query,a=["guest"];r&&(a=(null==r?void 0:null===(t=r.client_roles)||void 0===t?void 0:t.length)>0?r.client_roles:["user"]);var o=function(e){return n===e||n.startsWith("".concat(e,"/"))};return(0,ea.jsx)(ea.Fragment,{children:ej.filter(function(e){return e.roles.some(function(e){return a.includes(e)})&&(!e.hide||o(e.path))}).map(function(e){return(0,ea.jsx)("li",{className:o(e.path)?"current":"",children:(0,ea.jsx)(z(),{href:e.path,children:J()(e.label)?e.label(i):e.label})},e.path)})})},eI=function(){return(0,ea.jsxs)(ea.Fragment,{children:[(0,ea.jsx)(ey,{children:function(e){return(0,ea.jsx)(ek,{children:(0,ea.jsx)("a",{title:"My Profile","data-testid":"my-profile-link",children:(0,ea.jsx)(V.G,{size:"2x",icon:K.U6l,onClick:function(){return e(!0)}})})})}}),(0,ea.jsx)(ek,{children:(0,ea.jsx)("a",{href:"https://chat.developer.gov.bc.ca/channel/sso",target:"_blank",title:"Rocket Chat",children:(0,ea.jsx)(V.G,{size:"2x",icon:K.Z6I})})}),(0,ea.jsx)(ek,{children:(0,ea.jsx)("a",{href:"mailto:bcgov.sso@gov.bc.ca",title:"Pathfinder SSO",children:(0,ea.jsx)(V.G,{size:"2x",icon:K.FU$})})}),(0,ea.jsx)(ek,{children:(0,ea.jsx)("a",{href:(0,ew.eO)(),target:"_blank",title:"Documentation",children:(0,ea.jsx)(V.G,{size:"2x",icon:K.cwv})})})]})},eT=function(e){var t=e.children,r=e.session,n=(e.user,e.onLoginClick),i=e.onLogoutClick,a=(0,F.useRouter)(),o=a.pathname,s=r?(0,ea.jsxs)(eS,{children:[(0,ea.jsxs)("div",{children:["Welcome ","".concat(r.given_name," ").concat(r.family_name),"\xa0",(null==r?void 0:r.client_roles)&&(0,ea.jsxs)("span",{className:"small",children:["(",G()(null==r?void 0:r.client_roles[0]),")"]})]}),"\xa0\xa0",(0,ea.jsx)("button",{className:"secondary-inverse",onClick:i,children:"Log out"})]}):(0,ea.jsx)("button",{className:"secondary-inverse",onClick:n,children:"Log in"});return(0,ea.jsxs)(el.ZP,{children:[(0,ea.jsx)(ec,{title:function(){return(0,ea.jsx)(eR,{children:"Common Hosted Single Sign-on (CSS)"})},rightSide:s,mobileMenu:function(){return(0,ea.jsxs)(eA,{children:[(0,ea.jsx)(eF,{session:r,currentPath:o,query:a.query}),(0,ea.jsxs)("li",{children:["Need help?\xa0\xa0",(0,ea.jsx)("a",{href:"https://chat.developer.gov.bc.ca/",target:"_blank",title:"Rocket Chat",children:(0,ea.jsx)(V.G,{size:"2x",icon:K.Z6I})}),"\xa0\xa0",(0,ea.jsx)("a",{href:"mailto:bcgov.sso@gov.bc.ca",title:"SSO Team",children:(0,ea.jsx)(V.G,{size:"2x",icon:K.FU$})}),"\xa0\xa0",(0,ea.jsx)("a",{href:(0,ew.eO)(),target:"_blank",title:"Wiki",children:(0,ea.jsx)(V.G,{size:"2x",icon:K.cwv})})]}),(0,ea.jsx)("li",{children:r?(0,ea.jsx)("button",{className:"secondary-inverse",onClick:i,children:"Logout"}):(0,ea.jsx)("button",{className:"secondary-inverse",onClick:n,children:"Login with IDIR"})})]})},onBannerClick:console.log,children:(0,ea.jsxs)(eC,{children:[(0,ea.jsx)(eP,{children:(0,ea.jsx)(eF,{session:r,currentPath:o,query:a.query})}),(0,ea.jsx)(eO,{children:(0,ea.jsx)(eI,{})})]})}),(0,ea.jsx)(eE,{children:(0,ea.jsx)(el.bD,{children:t})}),(0,ea.jsx)(Z.default,{children:(0,ea.jsx)(e_,{children:(0,ea.jsxs)("ul",{className:"text-small",children:[(0,ea.jsx)("li",{children:(0,ea.jsx)(z(),{href:"/",children:"Home"})}),(0,ea.jsx)("li",{children:(0,ea.jsx)("a",{href:"https://www2.gov.bc.ca/gov/content/home/disclaimer",target:"_blank",rel:"noreferrer",children:"Disclaimer"})}),(0,ea.jsx)("li",{children:(0,ea.jsx)("a",{href:"https://www2.gov.bc.ca/gov/content/home/privacy",target:"_blank",rel:"noreferrer",children:"Privacy"})}),(0,ea.jsx)("li",{children:(0,ea.jsx)("a",{href:"https://www2.gov.bc.ca/gov/content/home/accessible-government",target:"_blank",rel:"noreferrer",children:"Accessibility"})}),(0,ea.jsx)("li",{children:(0,ea.jsx)("a",{href:"https://www2.gov.bc.ca/gov/content/home/copyright",target:"_blank",rel:"noreferrer",children:"Copyright"})})]})})}),(0,ea.jsx)(ex,{})]})},eN=r(5845),eD=r(9008),eM=r.n(eD);r(84494),r(93814);var eL=Object.create,eB=Object.defineProperty,eH=Object.getOwnPropertyDescriptor,e$=Object.getOwnPropertyNames,eU=Object.getPrototypeOf,ez=Object.prototype.hasOwnProperty,eV=(s=null!=(o=(i=(e,t)=>{var n,i;n=e,i=function(e){var t,r=void 0===Number.MAX_SAFE_INTEGER?9007199254740991:Number.MAX_SAFE_INTEGER,n=2*536870912,i=new WeakMap,a=(t=function(e,t){return i.set(e,t),t},function(e){var a=i.get(e),o=void 0===a?e.size:ar)throw Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;e.has(o);)o=Math.floor(Math.random()*r);return t(e,o)});e.addUniqueNumber=function(e){var t=a(e);return e.add(t),t},e.generateUniqueNumber=a},"object"==typeof e&&"u">typeof t?i(e):"function"==typeof define&&r.amdO?define(["exports"],i):i((n="u">typeof globalThis?globalThis:n||self).fastUniqueNumbers={})},()=>(a||i((a={exports:{}}).exports,a),a.exports))())?eL(eU(o)):{},((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of e$(t))ez.call(e,r)||void 0===r||eB(e,r,{get:()=>t[r],enumerable:!(n=eH(t,r))||n.enumerable});return e})(o&&o.__esModule?s:eB(s,"default",{value:o,enumerable:!0}),o)),eK=e=>void 0!==e.method&&"call"===e.method,eZ=e=>null===e.error&&"number"==typeof e.id,eW=e=>{let t=new Map([[0,()=>{}]]),r=new Map([[0,()=>{}]]),n=new Map,i=new Worker(e);return i.addEventListener("message",({data:e})=>{if(eK(e)){let{params:{timerId:i,timerType:a}}=e;if("interval"===a){let e=t.get(i);if("number"==typeof e){let t=n.get(e);if(void 0===t||t.timerId!==i||t.timerType!==a)throw Error("The timer is in an undefined state.")}else if("u">typeof e)e();else throw Error("The timer is in an undefined state.")}else if("timeout"===a){let e=r.get(i);if("number"==typeof e){let t=n.get(e);if(void 0===t||t.timerId!==i||t.timerType!==a)throw Error("The timer is in an undefined state.")}else if("u">typeof e)e(),r.delete(i);else throw Error("The timer is in an undefined state.")}}else if(eZ(e)){let{id:i}=e,a=n.get(i);if(void 0===a)throw Error("The timer is in an undefined state.");let{timerId:o,timerType:s}=a;n.delete(i),"interval"===s?t.delete(o):r.delete(o)}else{let{error:{message:t}}=e;throw Error(t)}}),{clearInterval:e=>{let r=(0,eV.generateUniqueNumber)(n);n.set(r,{timerId:e,timerType:"interval"}),t.set(e,r),i.postMessage({id:r,method:"clear",params:{timerId:e,timerType:"interval"}})},clearTimeout:e=>{let t=(0,eV.generateUniqueNumber)(n);n.set(t,{timerId:e,timerType:"timeout"}),r.set(e,t),i.postMessage({id:t,method:"clear",params:{timerId:e,timerType:"timeout"}})},setInterval:(e,r)=>{let n=(0,eV.generateUniqueNumber)(t);return t.set(n,()=>{e(),"function"==typeof t.get(n)&&i.postMessage({id:null,method:"set",params:{delay:r,now:performance.now(),timerId:n,timerType:"interval"}})}),i.postMessage({id:null,method:"set",params:{delay:r,now:performance.now(),timerId:n,timerType:"interval"}}),n},setTimeout:(e,t)=>{let n=(0,eV.generateUniqueNumber)(r);return r.set(n,e),i.postMessage({id:null,method:"set",params:{delay:t,now:performance.now(),timerId:n,timerType:"timeout"}}),n}}};n=null,()=>{if(null!==n)return n;let e=new Blob(['(()=>{"use strict";const e=new Map,t=new Map,r=(e,t)=>{let r,o;const i=performance.now();r=i,o=e-Math.max(0,i-t);return{expected:r+o,remainingDelay:o}},o=(e,t,r,i)=>{const s=performance.now();s>r?postMessage({id:null,method:"call",params:{timerId:t,timerType:i}}):e.set(t,setTimeout(o,r-s,e,t,r,i))};addEventListener("message",(i=>{let{data:s}=i;try{if("clear"===s.method){const{id:r,params:{timerId:o,timerType:i}}=s;if("interval"===i)(t=>{const r=e.get(t);if(void 0===r)throw new Error(\'There is no interval scheduled with the given id "\'.concat(t,\'".\'));clearTimeout(r),e.delete(t)})(o),postMessage({error:null,id:r});else{if("timeout"!==i)throw new Error(\'The given type "\'.concat(i,\'" is not supported\'));(e=>{const r=t.get(e);if(void 0===r)throw new Error(\'There is no timeout scheduled with the given id "\'.concat(e,\'".\'));clearTimeout(r),t.delete(e)})(o),postMessage({error:null,id:r})}}else{if("set"!==s.method)throw new Error(\'The given method "\'.concat(s.method,\'" is not supported\'));{const{params:{delay:i,now:n,timerId:a,timerType:d}}=s;if("interval"===d)((t,i,s)=>{const{expected:n,remainingDelay:a}=r(t,s);e.set(i,setTimeout(o,a,e,i,n,"interval"))})(i,a,n);else{if("timeout"!==d)throw new Error(\'The given type "\'.concat(d,\'" is not supported\'));((e,i,s)=>{const{expected:n,remainingDelay:a}=r(e,s);t.set(i,setTimeout(o,a,t,i,n,"timeout"))})(i,a,n)}}}}catch(e){postMessage({error:{message:e.message},id:s.id,result:null})}}))})();'],{type:"application/javascript; charset=utf-8"}),t=URL.createObjectURL(e);return n=eW(t),setTimeout(()=>URL.revokeObjectURL(t)),n};var eq=(typeof window>"u"?"undefined":typeof window)=="object",eG={setTimeout:eq?setTimeout.bind(window):setTimeout,clearTimeout:eq?clearTimeout.bind(window):clearTimeout,setInterval:eq?setInterval.bind(window):setInterval,clearInterval:eq?clearInterval.bind(window):clearInterval},eY={},eJ=class{name;closed=!1;mc=new MessageChannel;constructor(e){this.name=e,eY[e]=eY[e]||[],eY[e].push(this),this.mc.port1.start(),this.mc.port2.start(),this.onStorage=this.onStorage.bind(this),window.addEventListener("storage",this.onStorage)}onStorage(e){if(e.storageArea!==window.localStorage||e.key.substring(0,this.name.length)!==this.name||null===e.newValue)return;let t=JSON.parse(e.newValue);this.mc.port2.postMessage(t)}postMessage(e){if(this.closed)throw Error("InvalidStateError");let t=JSON.stringify(e),r=`${this.name}:${String(Date.now())}${String(Math.random())}`;window.localStorage.setItem(r,t),eG.setTimeout(()=>{window.localStorage.removeItem(r)},500),eY[this.name].forEach(e=>{e!==this&&e.mc.port2.postMessage(JSON.parse(t))})}close(){if(this.closed)return;this.closed=!0,this.mc.port1.close(),this.mc.port2.close(),window.removeEventListener("storage",this.onStorage);let e=eY[this.name].indexOf(this);eY[this.name].splice(e,1)}get onmessage(){return this.mc.port1.onmessage}set onmessage(e){this.mc.port1.onmessage=e}get onmessageerror(){return this.mc.port1.onmessageerror}set onmessageerror(e){this.mc.port1.onmessageerror=e}addEventListener(e,t){return this.mc.port1.addEventListener(e,t)}removeEventListener(e,t){return this.mc.port1.removeEventListener(e,t)}dispatchEvent(e){return this.mc.port1.dispatchEvent(e)}},eX=typeof window>"u"?void 0:"function"==typeof window.BroadcastChannel?window.BroadcastChannel:eJ;function eQ(){return Math.random().toString(36).substring(2)}var e0=class{options;channel;token=eQ();isLeader=!1;isDead=!1;isApplying=!1;reApply=!1;intervals=[];listeners=[];deferred;constructor(e,t){this.channel=e,this.options=t,this.apply=this.apply.bind(this),this.awaitLeadership=this.awaitLeadership.bind(this),this.sendAction=this.sendAction.bind(this)}async apply(){if(this.isLeader||this.isDead)return!1;if(this.isApplying)return this.reApply=!0,!1;this.isApplying=!0;let e=!1,t=t=>{let{token:r,action:n}=t.data;r!==this.token&&(0===n&&r>this.token&&(e=!0),1===n&&(e=!0))};this.channel.addEventListener("message",t);try{return this.sendAction(0),await function(e=0){return new Promise(t=>eG.setTimeout(t,e))}(this.options.responseTime),this.channel.removeEventListener("message",t),this.isApplying=!1,e?!!this.reApply&&this.apply():(this.assumeLead(),!0)}catch{return!1}}awaitLeadership(){if(this.isLeader)return Promise.resolve();let e=!1,t=null;return new Promise(r=>{let n=()=>{if(e)return;e=!0;try{eG.clearInterval(t)}catch{}let n=this.intervals.indexOf(t);n>=0&&this.intervals.splice(n,1),this.channel.removeEventListener("message",i),r()};t=eG.setInterval(()=>{this.apply().then(()=>{this.isLeader&&n()})},this.options.fallbackInterval),this.intervals.push(t);let i=e=>{let{action:t}=e.data;2===t&&this.apply().then(()=>{this.isLeader&&n()})};this.channel.addEventListener("message",i)})}sendAction(e){this.channel.postMessage({action:e,token:this.token})}assumeLead(){this.isLeader=!0;let e=e=>{let{action:t}=e.data;0===t&&this.sendAction(1)};return this.channel.addEventListener("message",e),this.listeners.push(e),this.sendAction(1)}waitForLeadership(){return this.deferred||(this.deferred=this.awaitLeadership()),this.deferred}close(){if(!this.isDead){this.isDead=!0,this.isLeader=!1,this.sendAction(2);try{this.listeners.forEach(e=>this.channel.removeEventListener("message",e)),this.intervals.forEach(e=>eG.clearInterval(e))}catch{}}}},e1=class{channel;options;elector;token=eQ();registry=new Map;allIdle=!1;isLastActive=!1;constructor(e){let{channelName:t}=e;this.options=e,this.channel=new eX(t),this.registry.set(this.token,1),e.leaderElection&&(this.elector=new e0(this.channel,{fallbackInterval:2e3,responseTime:100}),this.elector.waitForLeadership()),this.channel.addEventListener("message",e=>{let{action:t,token:r,data:n}=e.data;switch(t){case 3:this.registry.set(r,2);break;case 4:this.registry.delete(r);break;case 5:this.idle(r);break;case 6:this.active(r);break;case 7:this.prompt(r);break;case 8:this.start(r);break;case 9:this.reset(r);break;case 10:this.activate(r);break;case 11:this.pause(r);break;case 12:this.resume(r);break;case 13:this.options.onMessage(n)}}),this.send(3)}get isLeader(){if(!this.elector)throw Error('❌ Leader election is not enabled. To Enable it set the "leaderElection" property to true.');return this.elector.isLeader}prompt(e=this.token){this.registry.set(e,0);let t=[...this.registry.values()].every(e=>0===e);e===this.token&&this.send(7),t&&this.options.onPrompt()}idle(e=this.token){this.registry.set(e,2);let t=[...this.registry.values()].every(e=>2===e);e===this.token&&this.send(5),!this.allIdle&&t&&(this.allIdle=!0,this.options.onIdle())}active(e=this.token){this.allIdle=!1,this.registry.set(e,1);let t=[...this.registry.values()].some(e=>1===e);e===this.token&&this.send(6),t&&this.options.onActive(),this.isLastActive=e===this.token}start(e=this.token){this.allIdle=!1,this.registry.set(e,1),e===this.token?this.send(8):this.options.start(!0),this.isLastActive=e===this.token}reset(e=this.token){this.allIdle=!1,this.registry.set(e,1),e===this.token?this.send(9):this.options.reset(!0),this.isLastActive=e===this.token}activate(e=this.token){this.allIdle=!1,this.registry.set(e,1),e===this.token?this.send(10):this.options.activate(!0),this.isLastActive=e===this.token}pause(e=this.token){e===this.token?this.send(11):this.options.pause(!0)}resume(e=this.token){e===this.token?this.send(12):this.options.resume(!0)}message(e){try{this.channel.postMessage({action:13,token:this.token,data:e})}catch{}}send(e){try{this.channel.postMessage({action:e,token:this.token})}catch{}}close(){this.options.leaderElection&&this.elector.close(),this.send(4),this.channel.close()}},e2=eq?document:null,e4=["mousemove","keydown","wheel","DOMMouseScroll","mousewheel","mousedown","touchstart","touchmove","MSPointerDown","MSPointerMove","visibilitychange","focus"];function e3(e,t){let r=0;return function(...n){let i=new Date().getTime();if(!(i-rDate.now();(0,j.createContext)(null).Consumer;var e6=r(35124);r(6965);var e8=r(58766),e9=r(12183),e7=r(30996);function te(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function tt(e){for(var t=1;t0){e.next=3;break}return e.abrupt("return",m("Please select a rating."));case 3:o&&(0,B.xc)({triggerEvent:o,message:f,rating:u.filter(function(e){return e.selected}).length}),n(!1),r(!1);case 6:case"end":return e.stop()}},e)})),function(){return t.apply(this,arguments)}),b="".concat(i?"open":"closed"," ").concat(!a&&"hidden");return(0,ea.jsx)(tn,{children:(0,ea.jsxs)(ti,{className:b,children:[(0,ea.jsxs)("div",{className:"header",onClick:function(){r(!i)},children:[(0,ea.jsx)("p",{children:"We'd love to hear from you"}),(0,ea.jsx)(V.G,{icon:i?K.Qbq:K.K96})]}),(0,ea.jsxs)("div",{className:"body",children:[(0,ea.jsx)("p",{className:"title",children:(0,ea.jsx)("strong",{children:"Rate our service"})}),(0,ea.jsx)("p",{children:"How was your experience with the CSS app?"}),(0,ea.jsxs)(ta,{children:[(0,ea.jsx)("div",{className:"stars-box",children:u.map(function(e,t){return(0,ea.jsx)(V.G,{style:{cursor:"pointer"},role:"button",size:"3x",icon:K.Tab,color:e.selected?"gold":"grey",onClick:function(){return g(t)}},e.id)})}),(0,ea.jsxs)("div",{className:"stars-text",children:[(0,ea.jsx)("span",{children:"Bad"}),(0,ea.jsx)("span",{children:"Great"})]})]}),(0,ea.jsx)(e7.default,{fullWidth:!0,placeholder:"Leave a message...",rows:4,value:f,onChange:function(e){m(""),e.target.value.length<=700?d(e.target.value):m("Messages are at most ".concat(700," characters."))}}),p&&(0,ea.jsx)("p",{className:"error-message",children:p}),(0,ea.jsxs)("div",{className:"button-container",children:[(0,ea.jsx)("button",{className:"secondary",onClick:function(){return n(!1)},children:"Close"}),(0,ea.jsx)("button",{className:"primary",onClick:y,children:"Rate now"})]})]})]})})};function tu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function tc(e){for(var t=1;t{},onPrompt:u=()=>{},onIdle:c=()=>{},onActive:l=()=>{},onAction:f=()=>{},onMessage:d=()=>{},debounce:h=0,throttle:p=0,eventsThrottle:m=200,startOnMount:g=!0,startManually:y=!1,stopOnIdle:b=!1,crossTab:x=!1,name:w="idle-timer",syncTimers:S=0,leaderElection:E=!1,disabled:A=!1}={}){let C=(0,j.useRef)(e5()),P=(0,j.useRef)(e5()),O=(0,j.useRef)(null),_=(0,j.useRef)(null),k=(0,j.useRef)(0),R=(0,j.useRef)(0),F=(0,j.useRef)(0),I=(0,j.useRef)(0),T=(0,j.useRef)(!1),N=(0,j.useRef)(!1),D=(0,j.useRef)(!1),M=(0,j.useRef)(!0),L=(0,j.useRef)(!1),B=(0,j.useRef)(null),H=(0,j.useRef)(null),$=(0,j.useRef)(e),U=(0,j.useRef)(0);(0,j.useEffect)(()=>{if(t&&console.warn("⚠️ IdleTimer -- The `promptTimeout` property has been deprecated in favor of `promptBeforeIdle`. It will be removed in the next major release."),r&&t)throw Error("❌ Both promptTimeout and promptBeforeIdle can not be set. The promptTimeout property will be deprecated in a future version.");if(e>=2147483647)throw Error(`\u274C The value for the timeout property must fit in a 32 bit signed integer, 2147483647.`);if(t>=2147483647)throw Error(`\u274C The value for the promptTimeout property must fit in a 32 bit signed integer, 2147483647.`);if(r>=2147483647)throw Error(`\u274C The value for the promptBeforeIdle property must fit in a 32 bit signed integer, 2147483647.`);if(r>=e)throw Error(`\u274C The value for the promptBeforeIdle property must be less than the timeout property, ${e}.`);if(r?($.current=e-r,U.current=r):($.current=e,U.current=t),!M.current){if(y||A)return;T.current&&(J.current(null,eF),H.current&&H.current.active()),ed()}},[e,t,r,y,A]);let z=(0,j.useRef)(b);(0,j.useEffect)(()=>{z.current=b},[b]);let V=(0,j.useRef)(o),K=(0,j.useRef)(n),Z=(0,j.useRef)([...new Set([...i,...o]).values()]),W=(0,j.useRef)(A);(0,j.useEffect)(()=>{W.current=A,!M.current&&(A?em():y||ed())},[A]);let q=(0,j.useRef)(s);(0,j.useEffect)(()=>{q.current=s},[s]);let G=(0,j.useRef)(u);(0,j.useEffect)(()=>{G.current=u},[u]);let Y=(0,j.useRef)(c);(0,j.useEffect)(()=>{Y.current=c},[c]);let J=(0,j.useRef)(l);(0,j.useEffect)(()=>{J.current=l},[l]);let X=(0,j.useRef)(f);(0,j.useEffect)(()=>{X.current=f},[f]);let Q=(0,j.useRef)(d);(0,j.useEffect)(()=>{Q.current=d},[d]);let ee=(0,j.useMemo)(()=>{let e=(e,t)=>X.current(e,t);return h>0?function(e,t){let r;function n(...i){r&&clearTimeout(r),r=setTimeout(()=>{e(...i),r=null},t)}return n.cancel=function(){clearTimeout(r)},n}(e,h):p>0?e3(e,p):e},[p,h]),et=(0,j.useRef)();(0,j.useEffect)(()=>{x&&S&&(et.current=e3(()=>{H.current.active()},S))},[x,S]);let er=()=>{null!==B.current&&(eG.clearTimeout(B.current),B.current=null)},en=(e,t=!0)=>{er(),B.current=eG.setTimeout(es,e||$.current),t&&(_.current=e5())},ei=e=>{N.current||T.current||(G.current(e,eF),q.current({type:"active",prompted:!0},eF)),I.current=0,F.current=e5(),N.current=!0,en(U.current,!1)},ea=()=>{er(),T.current||(Y.current(null,eF),q.current({type:"idle"},eF)),T.current=!0,O.current=e5(),z.current?ef():N.current&&(F.current=0,N.current=!1)},eo=e=>{er(),(T.current||N.current)&&(J.current(e,eF),q.current({type:"active",prompted:!1},eF)),N.current=!1,F.current=0,T.current=!1,k.current+=e5()-O.current,R.current+=e5()-O.current,el(),en()},es=e=>{if(!T.current){ee.cancel&&ee.cancel();let t=e5()-_.current;if(!($.current+U.current0&&!N.current){H.current?H.current.prompt():ei(e);return}H.current?H.current.idle():ea();return}H.current?H.current.active():eo(e)},eu=e=>{if(g||_.current||(_.current=e5(),J.current(null,eF)),ee(e,eF),N.current)return;if(er(),!T.current&&V.current.includes(e.type)){es(e);return}let t=e5()-_.current;if(T.current&&!b||!T.current&&t>=$.current){es(e);return}D.current=!1,I.current=0,F.current=0,en(),x&&S&&et.current()},ec=(0,j.useRef)(eu);(0,j.useEffect)(()=>{let e=L.current;e&&ef(),m>0?ec.current=e3(eu,m):ec.current=eu,e&&el()},[m,p,h,X,x,S]);let el=()=>{eq&&K.current&&(L.current||(Z.current.forEach(e=>{K.current.addEventListener(e,ec.current,{capture:!0,passive:!0})}),L.current=!0))},ef=(e=!1)=>{eq&&K.current&&(L.current||e)&&(Z.current.forEach(e=>{K.current.removeEventListener(e,ec.current,{capture:!0})}),L.current=!1)},ed=(0,j.useCallback)(e=>!W.current&&(er(),el(),T.current=!1,N.current=!1,D.current=!1,I.current=0,F.current=0,H.current&&!e&&H.current.start(),en(),!0),[B,T,W,$,H]),eh=(0,j.useCallback)(e=>!W.current&&(er(),el(),P.current=e5(),k.current+=e5()-O.current,R.current+=e5()-O.current,k.current=0,T.current=!1,N.current=!1,D.current=!1,I.current=0,F.current=0,H.current&&!e&&H.current.reset(),y||en(),!0),[B,T,$,y,W,H]),ep=(0,j.useCallback)(e=>!W.current&&(er(),el(),(T.current||N.current)&&eo(),T.current=!1,N.current=!1,D.current=!1,I.current=0,F.current=0,P.current=e5(),H.current&&!e&&H.current.activate(),en(),!0),[B,T,N,W,$,H]),em=(0,j.useCallback)((e=!1)=>!W.current&&!D.current&&(I.current=eE(),D.current=!0,ef(),er(),H.current&&!e&&H.current.pause(),!0),[B,W,H]),ev=(0,j.useCallback)((e=!1)=>!W.current&&!!D.current&&(D.current=!1,N.current||el(),T.current||en(I.current),F.current&&(F.current=e5()),H.current&&!e&&H.current.resume(),!0),[B,$,W,I,H]),eg=(0,j.useCallback)((e,t)=>(H.current?(t&&Q.current(e,eF),H.current.message(e)):t&&Q.current(e,eF),!0),[d]),ey=(0,j.useCallback)(()=>T.current,[T]),eb=(0,j.useCallback)(()=>N.current,[N]),ex=(0,j.useCallback)(()=>H.current?H.current.isLeader:null,[H]),ew=(0,j.useCallback)(()=>H.current?H.current.isLastActive:null,[H]),eS=(0,j.useCallback)(()=>H.current?H.current.token:null,[H]),eE=(0,j.useCallback)(()=>{if(D.current)return I.current;let e=Math.floor((I.current?I.current:U.current+$.current)-(_.current?e5()-_.current:0));return e<0?0:Math.abs(e)},[$,U,N,I,_]),eA=(0,j.useCallback)(()=>Math.round(e5()-P.current),[P]),eC=(0,j.useCallback)(()=>Math.round(e5()-C.current),[C]),eP=(0,j.useCallback)(()=>O.current?new Date(O.current):null,[O]),eO=(0,j.useCallback)(()=>_.current?new Date(_.current):null,[_]),e_=(0,j.useCallback)(()=>T.current?Math.round(e5()-O.current+k.current):Math.round(k.current),[O,k]),ek=(0,j.useCallback)(()=>T.current?Math.round(e5()-O.current+R.current):Math.round(R.current),[O,R]),eR=(0,j.useCallback)(()=>{let e=Math.round(eA()-e_());return e>=0?e:0},[O,k]),ej=(0,j.useCallback)(()=>{let e=Math.round(eC()-ek());return e>=0?e:0},[O,k]);(0,j.useEffect)(()=>{if(h>0&&p>0)throw Error("❌ onAction can either be throttled or debounced, not both.");a&&(eG.setTimeout=a.setTimeout,eG.clearTimeout=a.clearTimeout,eG.setInterval=a.setInterval,eG.clearInterval=a.clearInterval);let e=()=>{H.current&&H.current.close(),ee.cancel&&ee.cancel(),er(),ef(!0)};return eq&&window.addEventListener("beforeunload",e),()=>{eq&&window.removeEventListener("beforeunload",e),H.current&&H.current.close(),ee.cancel&&ee.cancel(),er(),ef(!0)}},[]),(0,j.useEffect)(()=>{H.current&&H.current.close(),x?H.current=new e1({channelName:w,leaderElection:E,onPrompt:()=>{ei()},onIdle:()=>{ea()},onActive:()=>{eo()},onMessage:e=>{Q.current(e,eF)},start:ed,reset:eh,activate:ep,pause:em,resume:ev}):H.current=null},[x,w,E,G,Y,J,Q,ed,eh,em,ev]),(0,j.useEffect)(()=>{M.current||(er(),ef(!0)),y||A||(g?ed():el())},[y,g,A,M]),(0,j.useEffect)(()=>{if(!M.current){let e=[...new Set([...i,...o]).values()];ef(),Z.current=e,K.current=n,V.current=o,y||A||(g?ed():el())}},[n,JSON.stringify(i),JSON.stringify(o),M,A,y,g]),(0,j.useEffect)(()=>{M.current&&(M.current=!1)},[M]);let eF={message:eg,start:ed,reset:eh,activate:ep,pause:em,resume:ev,isIdle:ey,isPrompted:eb,isLeader:ex,isLastActiveTab:ew,getTabId:eS,getRemainingTime:eE,getElapsedTime:eA,getTotalElapsedTime:eC,getLastIdleTime:eP,getLastActiveTime:eO,getIdleTime:e_,getTotalIdleTime:ek,getActiveTime:eR,getTotalActiveTime:ej,setOnPresenceChange:e=>{s=e,q.current=e},setOnPrompt:e=>{u=e,G.current=e},setOnIdle:e=>{c=e,Y.current=e},setOnActive:e=>{l=e,J.current=e},setOnAction:e=>{f=e,X.current=e},setOnMessage:e=>{d=e,Q.current=e}}}({onPrompt:function(){"expired"!==w&&o.current.open()},timeout:3e5,promptBeforeIdle:1e4,throttle:500,disabled:null===l}),(0,j.useEffect)(function(){function e(e,r){return t.apply(this,arguments)}function t(){return(t=(0,_.Z)(R().mark(function e(t,r){var n,i,a,o;return R().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,M.W)(t.id_token);case 2:if(n=e.sent,a=(i=(0,P.Z)(n,2))[0],o=i[1],!a){e.next=14;break}if(!r){e.next=11;break}return(0,H.d0)(t),e.next=11,u.push("/my-dashboard");case 11:f(tv(a)),e.next=17;break;case 14:(0,H.Zz)(),f(tv(null)),r&&u.push({pathname:"/application-error",query:{error:o}});case 17:y(!1);case 18:case"end":return e.stop()}},e)}))).apply(this,arguments)}function r(){return(r=(0,_.Z)(R().mark(function t(){var r,n,i,a,o;return R().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return y(!0),t.prev=1,t.next=4,(0,N.M)();case 4:if(n=(r=(0,D.rg)()).code,i=r.state,!n){t.next=13;break}return t.next=8,(0,D.hP)({code:n,state:i});case 8:return a=t.sent,t.next=11,e(a,!0);case 11:t.next=16;break;case 13:return o=(0,H.lz)(),t.next=16,e(o,!1);case 16:t.next=25;break;case 18:t.prev=18,t.t0=t.catch(1),console.log(t.t0),(0,H.Zz)(),f(tv(null)),y(!1),b(t.t0);case 25:case"end":return t.stop()}},t,null,[[1,18]])}))).apply(this,arguments)}console.log("app started..."),tp&&"true"===tp&&u.push({pathname:"/application-error",query:{error:"maintenance"}}),(0,L.Nu)(),function(){r.apply(this,arguments)}()},[]),(0,j.useEffect)(function(){var e,t=(e=(0,_.Z)(R().mark(function e(){var t,r,n;return R().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,B.Ai)();case 2:t=e.sent,n=(r=(0,P.Z)(t,2))[0],r[1],p(n);case 7:case"end":return e.stop()}},e)})),function(){return e.apply(this,arguments)});l&&t()},[l]),(0,j.useEffect)(function(){if(l){var e=setInterval((0,_.Z)(R().mark(function e(){var t;return R().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t=(0,e8.QE)((0,H.lz)().refresh_token),Date.now()>=(null==t?void 0:t.exp)*1e3?(S("expired"),o.current.close(),s.current.open()):S("");case 2:case"end":return e.stop()}},e)})),5e3);return function(){clearInterval(e)}}});var Z=(r=(0,_.Z)(R().mark(function e(){var t;return R().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,D.iq)({kc_idp_hint:th});case 2:t=e.sent,window.location.href=t;case 4:case"end":return e.stop()}},e)})),function(){return r.apply(this,arguments)}),W=(n=(0,_.Z)(R().mark(function e(){return R().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(0,H.Zz)(),window.location.href=(0,D.kG)();case 2:case"end":return e.stop()}},e)})),function(){return n.apply(this,arguments)}),q=(0,j.useMemo)(function(){return{setShowSurvey:V}},[h]);return g?(0,ea.jsx)(eN.Z,{}):tm.some(function(e){return window.location.pathname.startsWith(e)})&&!l?(u.push("/"),null):(0,ea.jsx)(ty.Provider,{value:{session:l,user:h},children:(0,ea.jsx)(tb.Provider,{value:q,children:tp&&"true"===tp?(0,ea.jsx)(i,tc({},a)):(0,ea.jsxs)(ea.Fragment,{children:[(0,ea.jsxs)(eT,{session:l,user:h,onLoginClick:Z,onLogoutClick:W,children:[(0,ea.jsxs)(eM(),{children:[(0,ea.jsx)("html",{lang:"en"}),(0,ea.jsx)("title",{children:"Common Hosted Single Sign-on (CSS)"}),(0,ea.jsx)("link",{rel:"icon",href:"/bootstrap-theme/dist/images/bcid-favicon-32x32.png"})]}),(0,ea.jsx)(i,tc(tc({},a),{},{session:l,onLoginClick:Z,onLogoutClick:W}))]}),(0,ea.jsx)(e6.Z,{ref:o,style:{maxHeight:"calc(100vh - 200px)",overflowY:"auto"},title:"Session expiring",icon:K.eHv,onConfirm:(0,_.Z)(R().mark(function e(){return R().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,B.Ai)();case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)})),onCancel:function(){W()},confirmButtonText:"Confirm",confirmButtonVariant:"primary",cancelButtonVariant:"secondary",showConfirmButton:!0,showCancelButton:!0,children:(0,ea.jsxs)("div",{children:[(0,ea.jsx)("div",{children:"Your session will expire soon and you will be signed out automatically."}),(0,ea.jsx)("br",{}),(0,ea.jsx)("div",{children:"Do you want to stay signed in?"})," "]})}),(0,ea.jsx)(e6.Z,{ref:s,style:{maxHeight:"calc(100vh - 200px)",overflowY:"auto"},title:"Session expired",icon:K.eHv,onConfirm:function(){return Z()},onCancel:(0,_.Z)(R().mark(function e(){return R().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,B.Ai)();case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)})),confirmButtonText:"Login",confirmButtonVariant:"primary",cancelButtonVariant:"secondary",showConfirmButton:!0,showCancelButton:!0,children:(0,ea.jsxs)("div",{children:[(0,ea.jsx)("div",{children:"Your session has expired."}),(0,ea.jsx)("br",{}),(0,ea.jsx)("div",{children:"Please login again."})," "]})}),h&&(0,ea.jsx)(ts,{setOpenSurvey:z,open:U,display:I,setDisplaySurvey:T,triggerEvent:A})]})})})}},27923:function(e,t,r){"use strict";r.d(t,{Ek:function(){return y},Nu:function(){return b}});var n,i,a,o=r(16835),s=r(50029),u=r(87794),c=r.n(u),l=r(10433),f=r(18316),d=r(25284),h=r(34596),p=r(11752),m=(r.n(p)()()||{}).publicRuntimeConfig,g=(void 0===m?{}:m).base_path,y=(n=(0,s.Z)(c().mark(function e(){var t;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S();case 2:return t=(0,f.lz)(),e.abrupt("return","Bearer ".concat(t.id_token));case 4:case"end":return e.stop()}},e)})),function(){return n.apply(this,arguments)});function b(){return x.apply(this,arguments)}function x(){return(x=(0,s.Z)(c().mark(function e(){return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.abrupt("return",l.e.get("heartbeat",{headers:{skipAuth:!0}}).then(function(e){return e.data}));case 4:return e.prev=4,e.t0=e.catch(0),e.abrupt("return",(0,l.z)(e.t0));case 7:case"end":return e.stop()}},e,null,[[0,4]])}))).apply(this,arguments)}var w=(i=(0,s.Z)(c().mark(function e(t){var r,n;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.dx)({refreshToken:t.refresh_token});case 2:return r=e.sent,e.next=5,(0,h.W)(null==r?void 0:r.id_token);case 5:n=e.sent,(0,o.Z)(n,1)[0]?(0,f.d0)(r):((0,f.Zz)(),console.error("failed to refresh the token"),window.location.href="".concat(g));case 9:case"end":return e.stop()}},e)})),function(e){return i.apply(this,arguments)}),S=(a=(0,s.Z)(c().mark(function e(){var t,r,n;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=(0,f.lz)(),e.next=3,(0,h.W)(t.id_token);case 3:r=e.sent,(n=(0,o.Z)(r,1)[0])?1e3*n.exp-Date.now()<12e4&&w(t):w(t);case 7:case"end":return e.stop()}},e)})),function(){return a.apply(this,arguments)})},10433:function(e,t,r){"use strict";r.d(t,{e:function(){return x},z:function(){return w}});var n,i=r(59499),a=r(50029),o=r(87794),s=r.n(o),u=r(11752),c=r.n(u),l=r(9669),f=r.n(l),d=r(27923),h=r(11163),p=r.n(h);function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function g(e){for(var t=1;t=2 set to 'VerifiedIndividual' else set to 'Individual'.",data_type:"xs:string",scope:"profile"},{name:"birthdate",user_friendly_name:"Date of Birth",user_friendly_description:"The individual's documented birth date recorded from valid identification.",data_type:"xs:date",scope:"profile"},{name:"family_name",user_friendly_name:"Surname",user_friendly_description:"The individual's documented surname recorded from valid identification.",data_type:"xs:string",scope:"profile"},{name:"gender",user_friendly_name:"Sex",user_friendly_description:"The individual's documented sex recorded from valid identification. Values include male, female, unknown and diverse.",data_type:"xs:string",scope:"profile"},{name:"address",user_friendly_name:"Address",user_friendly_description:"All address lines of the individual's provided residential address.",data_type:"xs:string",scope:"address"},{name:"authoritative_party_name",user_friendly_name:"Authoritative Party Name",user_friendly_description:"The common name of the system or organization that is authoritative for the information provided as identity claims.",data_type:"xs:string",scope:"profile"},{name:"locality",user_friendly_name:"City/town",user_friendly_description:"The city, municipality or district of an individual's provided residential address.",data_type:"xs:string",scope:"address"},{name:"region",user_friendly_name:"State Or Province",user_friendly_description:"The province or state code of an individual's provided residential address.",data_type:"xs:string",scope:"address"},{name:"authoritative_party_identifier",user_friendly_name:"Authoritative Party Identifier",user_friendly_description:"A unique identifier of the system or organization that is authoritative for the information provided as identity claims.",data_type:"xs:string",scope:"profile"},{name:"authentication_zone_identifier",user_friendly_name:"Authentication Zone Identifier",user_friendly_description:"A unique identifier for the authentication zone this client is in.",data_type:"xs:anyURI",scope:"profile"},{name:"sector_identifier_uri",user_friendly_name:"Privacy Zone Identifier",user_friendly_description:"An identifier issued by IAS that represents a privacy zone.\xc2 A privacy zone is used to distinguish a set of relying parties that have the authority to share user identifiers.",data_type:"xs:anyURI",scope:"profile"},{name:"display_name",user_friendly_name:"Name",user_friendly_description:"The individual's name which their preferred name if available or composed of their documented name.",data_type:"xs:string",scope:"profile"},{name:"identity_assurance_level3",user_friendly_name:"Identity Assurance Level 3",user_friendly_description:"An indicator that there is high confidence in the identity claims of the individual according to the OCIO Identity Assurance Standard.",data_type:"xs:boolean",scope:"profile"},{name:"transaction_type",user_friendly_name:"Transaction Type",user_friendly_description:"An indicator of which channel was used to authenticate the individual.",data_type:"xs:string",scope:"profile"},{name:"given_name",user_friendly_name:"Given Name",user_friendly_description:"The individual's documented given name (first name only) recorded from valid identification.",data_type:"xs:string",scope:"profile"},{name:"identity_assurance_level1",user_friendly_name:"Identity Assurance Level 1",user_friendly_description:"An indicator that there is low confidence in the identity claims of the individual according to the OCIO Identity Assurance Standard.",data_type:"xs:boolean",scope:"profile"},{name:"age_19_or_over",user_friendly_name:"Age 19 Or Over",user_friendly_description:"An indicator of whether the individual's age is 19 years or greater based on the documented birth date recorded from valid identification.",data_type:"xs:boolean",scope:"profile"},{name:"transaction_identifier",user_friendly_name:"Transaction Identifier",user_friendly_description:"A unique identifier of the transaction that was used to authenticate the individual.",data_type:"xs:string",scope:"profile"},{name:"given_names",user_friendly_name:"Given Names",user_friendly_description:"The individual's documented given names (first and middle) recorded from valid identification",data_type:"xs:string",scope:"profile"},{name:"street_address",user_friendly_name:"Street Address",user_friendly_description:"The street address lines of an individual's provided residential address.",data_type:"xs:string",scope:"address"},{name:"country",user_friendly_name:"Country",user_friendly_description:"The country code of an individual's provided residential address.",data_type:"xs:string",scope:"address"},{name:"age",user_friendly_name:"Age",user_friendly_description:"The individual's age in years based on the documented birth date recorded from valid identification.",data_type:"xs:integer",scope:"profile"},{name:"identity_assurance_level2",user_friendly_name:"Identity Assurance Level 2",user_friendly_description:"An indicator that there is medium confidence in the identity claims of the individual according to the OCIO Identity Assurance Standard.",data_type:"xs:boolean",scope:"profile"},{name:"identification_level",user_friendly_name:"Identification Level",user_friendly_description:"The level of confidence in the certainty of the identification of the individual according to the OCIO Evidence of Identity Standard.",data_type:"xs:integer",scope:"profile"},{name:"email",user_friendly_name:"Email Address",user_friendly_description:"The email address provided by an individual (and verified by IAS)",data_type:"xs:string",scope:"email"},{name:"identity_assurance_level",user_friendly_name:"Identity Assurance Level",user_friendly_description:"The level of confidence in the certainty of the identity claims of the individual according to the OCIO Identity Assurance Standard.",data_type:"xs:integer",scope:"profile"}]}},58766:function(e,t,r){"use strict";r.d(t,{Dy:function(){return g},F3:function(){return N},O5:function(){return C},QE:function(){return b},R5:function(){return F},Sx:function(){return P},UB:function(){return A},UT:function(){return m},Wv:function(){return _},he:function(){return j},kC:function(){return k},kF:function(){return T},ob:function(){return x},qu:function(){return S},rn:function(){return O},z9:function(){return E},zO:function(){return w}});var n,i=r(50029),a=r(16835),o=r(59499),s=r(87794),u=r.n(s);r(25751);var c=r(18269),l=r(58292),f=r(4136),d=r(85893);function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function p(e){for(var t=1;t0?i:null,a=a.length>0?a:null;var o=t.map(function(e){return e.value});return[a,i,o=o.length>0?o:null]},g=function(e){var t=e.bceidApproved,r=e.githubApproved,n=e.bcServicesCardApproved,i=e.environments,a=void 0===i?[]:i,o=e.serviceType,s=(0,f.Jx)(e),u=(0,f.dV)(e);(0,f.S3)(e);var l=(0,f.e$)(e),d=c.TJ.map(function(t){var r=e.devIdps;return p(p({},t),{},{idps:r||[]})});if("gold"===o){var h=j(e),m=F(e);I(e);var g=T(e),y=d.filter(function(e){return a.includes(e.name)});return s&&(!t||h)&&(y=y.map(function(e){return"prod"===e.name&&(e.idps=e.idps.filter(f.JK)),e})),u&&(!r||m)&&(y=y.map(function(e){return"prod"===e.name&&(e.idps=e.idps.filter(f.Qf)),e})),l&&(!n||g)&&(y=y.map(function(e){return"prod"===e.name&&(e.idps=e.idps.filter(f._x)),e})),y}var b=a.concat()||[];return s&&!t&&(b=b.filter(function(e){return"prod"!==e})),d.filter(function(e){return b.includes(e.name)})},y=function(e){return e?JSON.parse(decodeURIComponent(Array.from(atob(e.replace(/-/g,"+").replace(/_/g,"/"))).reduce(function(e,t){var r=("00"+t.charCodeAt(0).toString(16)).slice(-2);return"".concat(e,"%").concat(r)},""))):null},b=function(e){if(!e)return null;var t=e.split(".");return y((0,a.Z)(t,2)[1])},x=function(e){if(!e)return null;var t=e.split(".");return y((0,a.Z)(t,1)[0])},w=function(){var e=new Uint32Array(28);crypto.getRandomValues(e);var t=[];return e.forEach(function(e){return t.push("0".concat(e.toString(16).substr(-2)))}),t.reduce(function(e,t){return"".concat(e).concat(t)},"")},S=(n=(0,i.Z)(u().mark(function e(t){var r;return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=new TextEncoder().encode(t),e.abrupt("return",crypto.subtle.digest("SHA-256",r));case 4:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}),E=function(e){return btoa(new Uint8Array(e).reduce(function(e,t){return"".concat(e).concat(String.fromCharCode(t))},"")).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")},A=function(e){var t;return e.devValidRedirectUris&&0!==e.devValidRedirectUris.length||(e.devValidRedirectUris=[""]),e.testValidRedirectUris&&0!==e.testValidRedirectUris.length||(e.testValidRedirectUris=[""]),e.prodValidRedirectUris&&0!==e.prodValidRedirectUris.length||(e.prodValidRedirectUris=[""]),e.teamId?e.teamId=String(e.teamId):e.usesTeam=!1,Object.entries(t=e).forEach(function(e){var r=(0,a.Z)(e,2),n=r[0];null===r[1]&&delete t[n]}),t},C=function(e){return e.map(function(e){if(Object.keys(c.Qj).map(function(e){return".".concat(e)}).includes(e.property)){var t=e.property.slice(1);e.message=c.Qj[t]||e.message}else(e.property.includes("ValidRedirectUris")||e.property.includes("SamlLogoutPostBindingUri")||e.property.includes("bcscAttributes"))&&("should be string"===e.message?e.message="":"should NOT have fewer than 1 items"===e.message?e.message="":e.message=c.Qj.redirectUris);return e})},P=function(e){if(!e||0===e.length)return(0,d.jsx)("div",{children:"No changes"});var t=e.map(function(e){var t=e.kind,r=e.lhs,n=e.rhs,i=e.path,a=e.item,o=i[0];switch(t){case"E":return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("strong",{children:["Edited ",o,": "]}),"Changed ",(0,d.jsx)("code",{children:String(r)})," to ",(0,d.jsx)("code",{children:String(n)})]});case"A":if((null==a?void 0:a.kind)==="D")return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("strong",{children:["Changed Array ",o,": "]}),"Deleted ",(0,d.jsxs)("code",{children:[" ",null==a?void 0:a.lhs]})]});if((null==a?void 0:a.kind)==="N")return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("strong",{children:["Changed Array ",o,": "]}),"Added ",(0,d.jsx)("code",{children:null==a?void 0:a.rhs})]});return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("strong",{children:["Changed Array ",o,": "]}),"Edited"," ",(0,d.jsxs)("code",{children:[null==a?void 0:a.lhs," to ",null==a?void 0:a.rhs]})]});case"N":return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("strong",{children:["Added ",o,": "]}),(0,d.jsx)("code",{children:a})]});case"D":return(0,d.jsx)(d.Fragment,{children:(0,d.jsxs)("strong",{children:["Deleted ",o," "]})});default:return(0,d.jsx)("code",{children:JSON.stringify(e,null,2)})}});return(0,d.jsx)("ul",{children:t.map(function(e,t){return(0,d.jsx)("li",{children:e},t)})})},O=function(e){return e.some(function(e){return["submitted","pr","prFailed","planned","planFailed","approved","applyFailed"].includes(e.status||"")})};function _(e,t){if(1===e.length)return!1;var r=e.find(function(e){return e.id===t});return 1!==e.filter(function(e){return"admin"===e.role}).length||(null==r?void 0:r.role)!=="admin"}var k=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},R=function(e,t){return"Submitted"===(0,l.n)(e.status||"draft")&&!!e.lastChanges&&0!==e.lastChanges.length&&e.lastChanges.some(function(e){return e.path[0]===t&&!1===e.lhs&&!0===e.rhs})},j=function(e){return R(e,"bceidApproved")},F=function(e){return R(e,"githubApproved")},I=function(e){return R(e,"digitalCredentialApproved")},T=function(e){return R(e,"bcServicesCardApproved")},N=function(e){var t=new Date;return t.setDate(t.getDate()-e),t}},34596:function(e,t,r){"use strict";r.d(t,{W:function(){return p}});var n,i=r(50029),a=r(87794),o=r.n(a),s=r(31166),u=r(11752),c=r.n(u),l=r(77675),f=r(58766),d=(c()()||{}).publicRuntimeConfig,h=(void 0===d?{}:d).sso_client_id,p=(n=(0,i.Z)(o().mark(function e(t){var r,n,i,a,u;return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return",[,"e02"]);case 2:if(r=l.$.keys,n=(0,f.ob)(t),void 0!==(i=null==r?void 0:r.find(function(e){return e.kid===n.kid}))){e.next=8;break}return console.error("public key not found in JWK jwks.json"),e.abrupt("return",[,"e02"]);case 8:if(a=(0,f.QE)(t),!(Date.now()>=1e3*a.exp)){e.next=12;break}return console.log("token has expired"),e.abrupt("return",[,"e02"]);case 12:if(u=s.KZ.getKey(i),s.fs.jws.JWS.verifyJWT(t,u,{alg:["RS256"],gracePeriod:28800})){e.next=17;break}return console.error("signature verification failed"),e.abrupt("return",[,"e02"]);case 17:if(!(0!==a.aud.localeCompare(h))){e.next=21;break}return console.error("token was not issued for this audience"),e.abrupt("return",[,"e02"]);case 21:if(["idir","azureidir"].includes(a.identity_provider)){e.next=24;break}return console.error("invalid identity provider ".concat(a.identity_provider)),e.abrupt("return",[,"e03"]);case 24:if(!(!a.idir_user_guid||!a.email)){e.next=27;break}return console.error("invalid user account"),e.abrupt("return",[,"e03"]);case 27:return e.abrupt("return",[a]);case 28:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)})},25284:function(e,t,r){"use strict";r.d(t,{dx:function(){return j},hP:function(){return k},iq:function(){return _},kG:function(){return R},rg:function(){return F}});var n,i,a,o=r(59499),s=r(50029),u=r(87794),c=r.n(u),l=r(9669),f=r.n(l),d=r(80129),h=r.n(d),p=r(11752),m=r.n(p),g=r(77675),y=r(58766);function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var x=(m()()||{}).publicRuntimeConfig,w=void 0===x?{}:x,S=w.sso_client_id,E=w.sso_authorization_scope,A=w.sso_authorization_response_mode,C=w.sso_authorization_response_type,P=w.sso_redirect_uri,O=w.sso_token_grant_type,_=(n=(0,s.Z)(c().mark(function e(t){var r,n,i,a,s,u;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=(0,y.zO)(),n=(0,y.zO)(),sessionStorage.setItem("oauth_state",r),sessionStorage.setItem("oidc_nonce",n),i=(0,y.zO)(),sessionStorage.setItem("code_verifier",i),e.next=8,(0,y.qu)(i);case 8:return a=e.sent,s=(0,y.z9)(a),sessionStorage.setItem("code_challenge",s),u=function(e){for(var t=1;tf&&t[r].addError("Must be ".concat(f/60," minutes or fewer."))}},J=function(e,r){return function(){e>d&&t[r].addError("Must be ".concat(d/60," minutes or fewer."))}},X={projectName:function(){/^\d/.test(i)&&t.projectName.addError("Please have your project name start with a letter")},authType:function(){"browser-login"!==K&&Z&&t.authType.addError("Ensure your access is confidential when using a service account.")},devSessionIdleTimeout:Y(B,"devSessionIdleTimeout"),testSessionIdleTimeout:Y(H,"testSessionIdleTimeout"),prodSessionIdleTimeout:Y($,"prodSessionIdleTimeout"),devSessionMaxLifespan:J(U,"devSessionMaxLifespan"),testSessionMaxLifespan:J(z,"testSessionMaxLifespan"),prodSessionMaxLifespan:J(V,"prodSessionMaxLifespan"),devValidRedirectUris:function(){h.every(u)||p(h,t,"devValidRedirectUris",u)},testValidRedirectUris:function(){w.includes("test")&&!g.every(u)&&p(g,t,"testValidRedirectUris",u)},prodValidRedirectUris:function(){w.includes("prod")&&!b.every(c)&&p(b,t,"prodValidRedirectUris",c)},createTeam:function(){if(S&&(!E||""==E)){var e;null===(e=t.createTeam)||void 0===e||e.addError("Please select or create a team")}},additionalRoleAttribute:function(){a.hL.includes(C.trim())&&t.additionalRoleAttribute.addError("Please use a different name as existing claim '".concat(C.trim(),"' cannot be overwritten"))},devSamlLogoutPostBindingUri:function(){""===O||null===O||u(O)||t.devSamlLogoutPostBindingUri.addError(l)},testSamlLogoutPostBindingUri:function(){""===k||null===k||u(k)||t.testSamlLogoutPostBindingUri.addError(l)},prodSamlLogoutPostBindingUri:function(){""===j||null===j||c(j)||t.prodSamlLogoutPostBindingUri.addError(l)},clientId:function(){""!==I&&null!==I&&(I!==I.trim()||I.match(/\s/))&&t.clientId.addError("Client id is not valid")},devIdps:function(){"saml"===M&&N.length>1&&t.devIdps.addError("Only one identity provider is allowed for saml integrations"),"saml"===M&&(0,o.S3)(e)&&t.devIdps.addError("Digital Credential is not allowed for saml integrations")},projectLead:function(){!1===S&&!1===L&&t.projectLead.addError("")},bcscPrivacyZone:function(){if(N.includes("bcservicescard")&&!W){var e;null===(e=t.bcscPrivacyZone)||void 0===e||e.addError("Privacy zone is required for BC Services Card")}},bcscAttributes:function(){if(N.includes("bcservicescard")&&(null==G?void 0:G.length)===0){var e;null===(e=t.bcscAttributes)||void 0===e||e.addError("Please select at least one attribute")}}};["dev","test","prod"].map(function(r){X["".concat(r,"HomePageUri")]=function(){if(N.includes("bcservicescard")&&!c(e["".concat(r,"HomePageUri")])){var n;null===(n=t["".concat(r,"HomePageUri")])||void 0===n||n.addError(l)}}}),r||(r=Object.keys(X));for(var Q=0;Q0,u=i()(e,t,s?(o=t.customValidation,function(e,t){return h(e,t,o)}):void 0).errors;u.length>0&&(n[a]=u)}}),n}},6840:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(29207)}])},21876:function(e){!function(){var t={675:function(e,t){"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,a=u(e),o=a[0],s=a[1],c=new i((o+s)*3/4-s),l=0,f=s>0?o-4:o;for(r=0;r>16&255,c[l++]=t>>8&255,c[l++]=255&t;return 2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[l++]=255&t),1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t),c},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,a=[],o=0,s=n-i;o>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}(e,o,o+16383>s?s:o+16383));return 1===i?a.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&a.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),a.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,s=a.length;o0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},72:function(e,t,r){"use strict";/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh diff --git a/_next/static/chunks/pages/admin-dashboard-063f1d216211c5bc.js b/_next/static/chunks/pages/admin-dashboard-063f1d216211c5bc.js new file mode 100644 index 0000000..499b243 --- /dev/null +++ b/_next/static/chunks/pages/admin-dashboard-063f1d216211c5bc.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[897],{91296:function(e,t,n){var r=0/0,i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,o=/^0o[0-7]+$/i,l=parseInt,c="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,u="object"==typeof self&&self&&self.Object===Object&&self,d=c||u||Function("return this")(),p=Object.prototype.toString,v=Math.max,f=Math.min,h=function(){return d.Date.now()};function b(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function x(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==p.call(t))return r;if(b(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=b(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var c=s.test(e);return c||o.test(e)?l(e.slice(2),c?2:8):a.test(e)?r:+e}e.exports=function(e,t,n){var r,i,a,s,o,l,c=0,u=!1,d=!1,p=!0;if("function"!=typeof e)throw TypeError("Expected a function");function m(t){var n=r,a=i;return r=i=void 0,c=t,s=e.apply(a,n)}function j(e){var n=e-l,r=e-c;return void 0===l||n>=t||n<0||d&&r>=a}function g(){var e,n,r,i=h();if(j(i))return y(i);o=setTimeout(g,(e=i-l,n=i-c,r=t-e,d?f(r,a-n):r))}function y(e){return(o=void 0,p&&r)?m(e):(r=i=void 0,s)}function S(){var e,n=h(),a=j(n);if(r=arguments,i=this,l=n,a){if(void 0===o)return c=e=l,o=setTimeout(g,t),u?m(e):s;if(d)return o=setTimeout(g,t),m(l)}return void 0===o&&(o=setTimeout(g,t)),s}return t=x(t)||0,b(n)&&(u=!!n.leading,a=(d="maxWait"in n)?v(x(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),S.cancel=function(){void 0!==o&&clearTimeout(o),c=0,r=l=i=o=void 0},S.flush=function(){return void 0===o?s:y(h())},S}},66723:function(e,t,n){"use strict";var r,i,a,s=n(71383),o=n(71893),l=n(35927),c=n(4602),u=n(4136),d=n(85893),p=o.ZP.table(r||(r=(0,s.Z)(["\n font-size: unset;\n & tr {\n display: flex;\n margin-bottom: 5px;\n & > td {\n border: none;\n padding: 0 5px 0 0;\n }\n }\n"]))),v=o.ZP.span(i||(i=(0,s.Z)(["\n font-weight: 600;\n"]))),f=o.ZP.ul(a||(a=(0,s.Z)(["\n list-style: none;\n margin: 0;\n & li {\n margin: 0;\n }\n"]))),h=function(e){var t=e.list,n=e.title,r=e.inline,i=void 0!==r&&r,a=e.testid;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:n}),((null==t?void 0:t.length)===1||i)&&(0,d.jsx)(v,{"data-testid":a,children:null==t?void 0:t.map(function(e,n){return(0,d.jsxs)("span",{children:[e,n!==t.length-1&&", "," "]},e)})})]}),!i&&((null==t?void 0:t.length)||0)>1&&(0,d.jsx)("tr",{children:(0,d.jsx)("td",{children:(0,d.jsx)(v,{children:(0,d.jsx)(f,{children:null==t?void 0:t.map(function(e){return(0,d.jsx)("li",{children:e},e)})})})})})]})};t.Z=function(e){var t,n,r,i,a,s,o,f,b=e.children,x=e.request,m=e.teams;if(!x)return null;var j=null!==(i=x.devIdps)&&void 0!==i?i:[],g="saml"!==x.protocol,y=j.map(function(e){return c.S[e]}),S=(0,u.e$)(x),C="";x.usesTeam&&(C=(null===(f=(void 0===m?[]:m).find(function(e){return String(e.id)===String(x.teamId)}))||void 0===f?void 0:f.name)||x.team&&x.team.name);var w=(t=x.primaryEndUsers,n=x.primaryEndUsersOther,null==t?void 0:t.map(function(e){switch(e){case"livingInBC":return"People living in BC";case"businessInBC":return"People doing business/travel in BC";case"bcGovEmployees":return"BC Gov Employees";case"other":return"Other: ".concat(null!=n?n:"");default:return""}}));return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)(p,{children:(0,d.jsxs)("tbody",{children:[C?(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:"Associated Team:"}),(0,d.jsx)("td",{children:(0,d.jsx)(v,{"data-testid":"associated-team",children:C})})]}):(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:"Are you accountable for this project?"}),(0,d.jsx)("td",{children:(0,d.jsx)(v,{"data-testid":"you-accountable",children:void 0===(r=x.projectLead)?"":r?"Yes":"No"})})]}),(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:"Client Protocol:"}),(0,d.jsx)("td",{children:(0,d.jsx)(v,{"data-testid":"client-protocol",children:g?"OpenID Connect":"SAML"})})]}),g&&(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:"Client Type:"}),(0,d.jsx)("td",{children:(0,d.jsx)(v,{"data-testid":"client-type-team",children:x.publicAccess?"Public":"Confidential"})})]}),(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:"Usecase:"}),(0,d.jsx)("td",{children:(0,d.jsx)(v,{"data-testid":"use-case",children:l.F[x.authType||"browser-login"]})})]}),(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:"Project Name:"}),(0,d.jsx)("td",{children:(0,d.jsx)(v,{"data-testid":"project-name",children:x.projectName})})]}),w&&(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:"Primary End Users:"}),(0,d.jsx)("td",{children:(0,d.jsx)(v,{"data-testid":"project-name",children:w.join(", ")})})]}),x.additionalRoleAttribute&&(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:"Additional Role Attribute:"}),(0,d.jsx)("td",{children:(0,d.jsx)(v,{"data-testid":"add-role-attrib",children:x.additionalRoleAttribute})})]}),(0,d.jsx)(h,{list:y,title:"Identity Providers Required:",inline:!0,testid:"idp-required"}),S&&(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:"Privacy Zone:"}),(0,d.jsx)("td",{children:(0,d.jsx)(v,{children:x.bcscPrivacyZone})})]}),(null===(a=x.environments)||void 0===a?void 0:a.includes("dev"))&&(0,d.jsx)(h,{list:x.devValidRedirectUris,title:"Dev Redirect URIs:",testid:"dev-uri"}),(null===(s=x.environments)||void 0===s?void 0:s.includes("test"))&&(0,d.jsx)(h,{list:x.testValidRedirectUris,title:"Test Redirect URIs:",testid:"test-uri"}),(null===(o=x.environments)||void 0===o?void 0:o.includes("prod"))&&(0,d.jsx)(h,{list:x.prodValidRedirectUris,title:"Prod Redirect URIs:",testid:"prod-uri"}),b]})})})}},42887:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return eC}});var r,i,a,s,o,l,c=n(16835),u=n(50029),d=n(71383),p=n(87794),v=n.n(p),f=n(67294),h=n(11163),b=n(20070),x=n.n(b),m=n(59417),j=n(17762),g=n(27008),y=n(63916),S=n(35166),C=n(12183),w=n(58766),E=n(71893),P=n(85330),Z=n(4136),O=n(66723),A=n(23157),U=[{value:"draft",label:"Draft"},{value:"submitted",label:"Submitted"},{value:"planned",label:"Planned"},{value:"planFailed",label:"Plan Failed"},{value:"applied",label:"Applied"},{value:"applyFailed",label:"Apply Failed"}],k=n(85893),R=function(e){var t,n=e.request,r=e.onUpdate,i=(0,f.useState)(!1),a=i[0],s=i[1],o=(0,f.useState)(n.status),l=o[0],c=o[1],d=(t=(0,u.Z)(v().mark(function e(){return v().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,g.Uw)({id:n.id,status:l});case 2:if(!r){e.next=5;break}return e.next=5,r();case 5:window.location.hash="#";case 6:case"end":return e.stop()}},e)})),function(){return t.apply(this,arguments)});(0,f.useEffect)(function(){c(n.status)},[n.id]);var p=(0,k.jsxs)("div",{"data-testid":"integration-status",children:[(0,k.jsx)("p",{style:{fontWeight:"bold"},children:"Integration Status"}),(0,k.jsx)(A.ZP,{className:"react-select-container",classNamePrefix:"select",options:U.filter(function(e){return["draft","submitted"].includes(e.value)}),onChange:function(e){return c(e.value)},isSearchable:!0})]});return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("button",{className:"primary",onClick:function(){s(!0)},"data-testid":"edit-metadata-button",children:"Edit Metadata"}),(0,k.jsx)(S.Z,{id:"edit-metadata",openModal:a,handleClose:function(){return s(!1)},content:p,onConfirm:d,icon:m.UJf,title:"Edit Metadata",closable:!0})]})},T=E.ZP.div(r||(r=(0,d.Z)(["\n max-height: calc(100vh - 250px);\n overflow: auto;\n"])));function I(e){var t=e.currentUser,n=e.request,r=e.onUpdate;return n?(0,k.jsxs)(T,{children:[(0,k.jsx)("br",{}),(0,k.jsxs)(O.Z,{request:n,children:[(0,k.jsx)("br",{}),t.isAdmin&&(0,k.jsx)(R,{request:n,onUpdate:r})]})]}):null}var _=n(59499),F=n(42894),D=n(56784),q=n(87414),N=n(96270);function K(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function L(e){for(var t=1;t=t||n<0||d&&r>=a}function g(){var e,n,r,i=h();if(j(i))return y(i);o=setTimeout(g,(e=i-l,n=i-u,r=t-e,d?f(r,a-n):r))}function y(e){return(o=void 0,p&&r)?m(e):(r=i=void 0,s)}function S(){var e,n=h(),a=j(n);if(r=arguments,i=this,l=n,a){if(void 0===o)return u=e=l,o=setTimeout(g,t),c?m(e):s;if(d)return o=setTimeout(g,t),m(l)}return void 0===o&&(o=setTimeout(g,t)),s}return t=x(t)||0,b(n)&&(c=!!n.leading,a=(d="maxWait"in n)?v(x(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),S.cancel=function(){void 0!==o&&clearTimeout(o),u=0,r=l=i=o=void 0},S.flush=function(){return void 0===o?s:y(h())},S}},66723:function(e,t,n){"use strict";var r,i,a,s=n(71383),o=n(71893),l=n(35927),u=n(4602),c=n(4136),d=n(85893),p=o.ZP.table(r||(r=(0,s.Z)(["\n font-size: unset;\n & tr {\n display: flex;\n margin-bottom: 5px;\n & > td {\n border: none;\n padding: 0 5px 0 0;\n }\n }\n"]))),v=o.ZP.span(i||(i=(0,s.Z)(["\n font-weight: 600;\n"]))),f=o.ZP.ul(a||(a=(0,s.Z)(["\n list-style: none;\n margin: 0;\n & li {\n margin: 0;\n }\n"]))),h=function(e){var t=e.list,n=e.title,r=e.inline,i=void 0!==r&&r,a=e.testid;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:n}),((null==t?void 0:t.length)===1||i)&&(0,d.jsx)(v,{"data-testid":a,children:null==t?void 0:t.map(function(e,n){return(0,d.jsxs)("span",{children:[e,n!==t.length-1&&", "," "]},e)})})]}),!i&&((null==t?void 0:t.length)||0)>1&&(0,d.jsx)("tr",{children:(0,d.jsx)("td",{children:(0,d.jsx)(v,{children:(0,d.jsx)(f,{children:null==t?void 0:t.map(function(e){return(0,d.jsx)("li",{children:e},e)})})})})})]})};t.Z=function(e){var t,n,r,i,a,s,o,f,b=e.children,x=e.request,m=e.teams,j=e.privacyZone;if(!x)return null;var g=null!==(i=x.devIdps)&&void 0!==i?i:[],y="saml"!==x.protocol,S=g.map(function(e){return u.S[e]}),C=(0,c.e$)(x),w="";x.usesTeam&&(w=(null===(f=(void 0===m?[]:m).find(function(e){return String(e.id)===String(x.teamId)}))||void 0===f?void 0:f.name)||x.team&&x.team.name);var E=(t=x.primaryEndUsers,n=x.primaryEndUsersOther,null==t?void 0:t.map(function(e){switch(e){case"livingInBC":return"People living in BC";case"businessInBC":return"People doing business/travel in BC";case"bcGovEmployees":return"BC Gov Employees";case"other":return"Other: ".concat(null!=n?n:"");default:return""}}));return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)(p,{children:(0,d.jsxs)("tbody",{children:[w?(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:"Associated Team:"}),(0,d.jsx)("td",{children:(0,d.jsx)(v,{"data-testid":"associated-team",children:w})})]}):(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:"Are you accountable for this project?"}),(0,d.jsx)("td",{children:(0,d.jsx)(v,{"data-testid":"you-accountable",children:void 0===(r=x.projectLead)?"":r?"Yes":"No"})})]}),(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:"Client Protocol:"}),(0,d.jsx)("td",{children:(0,d.jsx)(v,{"data-testid":"client-protocol",children:y?"OpenID Connect":"SAML"})})]}),y&&(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:"Client Type:"}),(0,d.jsx)("td",{children:(0,d.jsx)(v,{"data-testid":"client-type-team",children:x.publicAccess?"Public":"Confidential"})})]}),(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:"Usecase:"}),(0,d.jsx)("td",{children:(0,d.jsx)(v,{"data-testid":"use-case",children:l.F[x.authType||"browser-login"]})})]}),(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:"Project Name:"}),(0,d.jsx)("td",{children:(0,d.jsx)(v,{"data-testid":"project-name",children:x.projectName})})]}),E&&(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:"Primary End Users:"}),(0,d.jsx)("td",{children:(0,d.jsx)(v,{"data-testid":"project-name",children:E.join(", ")})})]}),x.additionalRoleAttribute&&(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:"Additional Role Attribute:"}),(0,d.jsx)("td",{children:(0,d.jsx)(v,{"data-testid":"add-role-attrib",children:x.additionalRoleAttribute})})]}),(0,d.jsx)(h,{list:S,title:"Identity Providers Required:",inline:!0,testid:"idp-required"}),C&&(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:"Privacy Zone:"}),(0,d.jsx)("td",{children:(0,d.jsx)(v,{children:j})})]}),(null===(a=x.environments)||void 0===a?void 0:a.includes("dev"))&&(0,d.jsx)(h,{list:x.devValidRedirectUris,title:"Dev Redirect URIs:",testid:"dev-uri"}),(null===(s=x.environments)||void 0===s?void 0:s.includes("test"))&&(0,d.jsx)(h,{list:x.testValidRedirectUris,title:"Test Redirect URIs:",testid:"test-uri"}),(null===(o=x.environments)||void 0===o?void 0:o.includes("prod"))&&(0,d.jsx)(h,{list:x.prodValidRedirectUris,title:"Prod Redirect URIs:",testid:"prod-uri"}),b]})})})}},39158:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return eE}});var r,i,a,s,o,l,u=n(16835),c=n(50029),d=n(71383),p=n(87794),v=n.n(p),f=n(67294),h=n(11163),b=n(20070),x=n.n(b),m=n(59417),j=n(17762),g=n(27008),y=n(63916),S=n(35166),C=n(12183),w=n(58766),E=n(71893),P=n(85330),Z=n(4136),A=n(66723),O=n(23157),k=[{value:"draft",label:"Draft"},{value:"submitted",label:"Submitted"},{value:"planned",label:"Planned"},{value:"planFailed",label:"Plan Failed"},{value:"applied",label:"Applied"},{value:"applyFailed",label:"Apply Failed"}],U=n(85893),R=function(e){var t,n=e.request,r=e.onUpdate,i=(0,f.useState)(!1),a=i[0],s=i[1],o=(0,f.useState)(n.status),l=o[0],u=o[1],d=(t=(0,c.Z)(v().mark(function e(){return v().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,g.Uw)({id:n.id,status:l});case 2:if(!r){e.next=5;break}return e.next=5,r();case 5:window.location.hash="#";case 6:case"end":return e.stop()}},e)})),function(){return t.apply(this,arguments)});(0,f.useEffect)(function(){u(n.status)},[n.id]);var p=(0,U.jsxs)("div",{"data-testid":"integration-status",children:[(0,U.jsx)("p",{style:{fontWeight:"bold"},children:"Integration Status"}),(0,U.jsx)(O.ZP,{className:"react-select-container",classNamePrefix:"select",options:k.filter(function(e){return["draft","submitted"].includes(e.value)}),onChange:function(e){return u(e.value)},isSearchable:!0})]});return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)("button",{className:"primary",onClick:function(){s(!0)},"data-testid":"edit-metadata-button",children:"Edit Metadata"}),(0,U.jsx)(S.Z,{id:"edit-metadata",openModal:a,handleClose:function(){return s(!1)},content:p,onConfirm:d,icon:m.UJf,title:"Edit Metadata",closable:!0})]})},T=n(96412),I=E.ZP.div(r||(r=(0,d.Z)(["\n max-height: calc(100vh - 250px);\n overflow: auto;\n"])));function _(e){var t=e.currentUser,n=e.request,r=e.onUpdate,i=(0,f.useState)([]),a=i[0],s=i[1],o=(0,f.useState)(""),l=o[0],c=o[1];return((0,f.useEffect)(function(){(0,T.k)().then(function(e){var t=(0,u.Z)(e,1)[0];t&&s(t)})},[]),(0,f.useEffect)(function(){c((0,Z.xN)(a,null==n?void 0:n.bcscPrivacyZone))},[null==n?void 0:n.id,a]),n)?(0,U.jsxs)(I,{children:[(0,U.jsx)("br",{}),(0,U.jsxs)(A.Z,{request:n,privacyZone:l,children:[(0,U.jsx)("br",{}),t.isAdmin&&(0,U.jsx)(R,{request:n,onUpdate:r})]})]}):null}var F=n(59499),D=n(42894),q=n(56784),N=n(87414),K=n(96270);function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function M(e){for(var t=1;tsvg {\n overflow: initial;\n }\n ",close:"\n cursor: pointer !important;\n text-align: center;\n text-decoration: none;\n border-radius: 0.2222em;\n padding: 0.4em 0.5em;\n margin-right: 20px;\n "},size:{small:{container:"\n font-size: 0.8rem;\n "},medium:{container:"\n font-size: 1rem;\n "},large:{container:"\n font-size: 1.2rem;\n "}},variant:{success:{container:"\n background-color: #dff0d8;\n border-color: #d6e9c6;\n color: #2d4821;\n\n & a {\n color: #2b542c;\n }\n ",content:"\n color: #2d4821;\n ",close:"\n color: #2d4821;\n border: 1px solid #2d4821;\n\n &:hover {\n background: #2d4821;\n color: #fff;\n }\n ",group:"\n color: #2d4821;\n "},info:{container:"\n background-color: #d9eaf7;\n border-color: #afd3ee;\n color: #313132;\n\n & a {\n color: #1a5a96;\n }\n ",content:"\n color: #313132;\n ",close:"\n color: #313132;\n border: 1px solid #313132;\n\n &:hover {\n background: #313132;\n color: #fff;\n }\n ",group:"\n color: #313132;\n "},warning:{container:"\n background-color: #f9f1c6;\n border-color: #faebcc;\n color: #6c4a00;\n\n & a {\n color: #66512c;\n }\n ",content:"\n color: #66512c;\n ",close:"\n color: #66512c;\n border: 1px solid #66512c;\n\n &:hover {\n background: #66512c;\n color: #fff;\n }\n ",group:"\n color: #66512c;\n "},danger:{container:"\n background-color: #f2dede;\n border-color: #ebccd1;\n color: #a12622;\n\n & a {\n color: #843534;\n }\n ",content:"\n color: #a12622;\n ",close:"\n color: #a12622;\n border: 1px solid #a12622;\n\n &:hover {\n background: #a12622;\n color: #fff;\n }\n ",group:"\n color: #a12622;\n "}},flex:{container:"\n display: flex;\n ",group:"\n margin: auto 0.5rem;\n "}},{defaultProps:{variant:"info",size:"medium",flex:!0},staticProps:[]},{group:{align:{left:"\n margin-right: auto;\n ",right:"\n margin-left: auto;\n "}}}),eh=function(e){switch(e){case"success":return ec.CheckCircle;case"info":return ec.InfoCircle;case"warning":return ec.ExclamationTriangle;default:return ec.ExclamationCircle}};function ef(e){return(0,el.jsxs)(ep,ed(ed({},e),{},{children:[(0,el.jsx)(ep.Group,{style:{marginTop:"1px"},children:(0,el.jsx)(ec.FaSVG,{children:(0,el.jsx)("path",{fill:"currentColor",d:eh(e.variant)})})}),(0,el.jsx)(ep.Content,{children:e.content?e.content:e.children}),e.closable&&(0,el.jsx)(ep.Group,{align:"right",children:(0,el.jsx)(ep.Close,{children:"x"})})]}))}var ex=t(16835),ev=t(99603),eg=t(59417),em=t(64735),eb=t(42894),ej=t(7790),ey=t(9595),ew=t(58766),eZ=t(12183),eS=t(36063),eP=t(32098),eC=t(4602),ek=t(74150),eI=t(18269),eO=ei.ZP.div(o||(o=(0,en.Z)(["\n text-align: center;\n"]))),eD=ei.ZP.div(c||(c=(0,en.Z)(["\n color: #000;\n font-size: ",";\n font-weight: bold;\n"])),eZ.n5),eN=ei.ZP.span(l||(l=(0,en.Z)(["\n color: #3e3e3e;\n font-size: 14px;\n font-weight: 700;\n"]))),eE=ei.ZP.div(u||(u=(0,en.Z)(["\n height: var(--field-top-spacing);\n"]))),eT=ei.ZP.div(d||(d=(0,en.Z)(["\n font-size: 18px;\n font-weight: bold;\n color: #000;\n border-bottom: 1px solid gray;\n"]))),eR=(0,eS.hU)(function(e){var n,t,r,a=e.integration,i=e.alert,s=(0,ea.useState)(!1),o=s[0],c=s[1],l=(n=(0,ee.Z)(er().mark(function e(n){var t,r,s,o;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c(!0),e.next=3,(0,ej.OV)(a.id,n);case 3:if(t=e.sent,s=(r=(0,ex.Z)(t,2))[0],o=r[1],c(!1),!o){e.next=11;break}return i.show({variant:"danger",content:"Failed to download installation"}),e.abrupt("return",null);case 11:return e.abrupt("return",s);case 12:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}),u=(t=(0,ee.Z)(er().mark(function e(n){var t;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l(n);case 2:(t=e.sent)&&(0,ey.TE)((0,ey.ON)(t));case 4:case"end":return e.stop()}},e)})),function(e){return t.apply(this,arguments)}),d=(r=(0,ee.Z)(er().mark(function e(n){var t;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l(n);case 2:(t=e.sent)&&(0,ey.Di)((0,ey.ON)(t),"".concat(a.projectName,"-installation-").concat(n,".json"));case 4:case"end":return e.stop()}},e)})),function(e){return r.apply(this,arguments)});return o?(0,el.jsxs)(eO,{children:[(0,el.jsx)(eE,{}),(0,el.jsx)(eb.rj,{color:"#000",height:45,width:45,wrapperClass:"d-block",visible:!0})]}):(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(eE,{}),(0,el.jsx)(eT,{children:"Installation JSONs"}),(0,el.jsx)("br",{}),(0,el.jsx)(em.ZP,{cols:3,children:(0,ew.Dy)(a).map(function(e){if("service-account"!==a.authType&&0===e.idps.length)return null;var n=e.idps.length>0?"(".concat(e.idps.map(function(e){return eC.S[e]}).join(", "),")"):"";return(0,el.jsxs)(ea.Fragment,{children:[(0,el.jsx)(em.ZP.Row,{collapse:"992",gutter:[],align:"center",children:(0,el.jsx)(em.ZP.Col,{span:1,style:{width:"100%",height:"30px"},children:(0,el.jsxs)(eD,{children:[e.display," ",n]})})}),(0,el.jsx)(em.ZP.Row,{collapse:"992",gutter:[],align:"center",children:(0,el.jsxs)(em.ZP.Col,{span:3,children:[(0,el.jsx)("button",{className:"primary",onClick:function(){return u(e.name)},children:"Copy"}),"\xa0",(0,el.jsx)("button",{className:"primary",onClick:function(){return d(e.name)},children:"Download"}),"\xa0\xa0",(0,el.jsx)(ev.G,{color:"green",icon:eg.f8k,title:"Ready"}),"\xa0",(0,el.jsx)(eN,{children:"Ready"})]})}),(0,el.jsx)("br",{})]},e.name)})}),(0,el.jsxs)(eP.$,{children:["For more information on how to use these details, or for the public endpoints associated to your client,"," ",(0,el.jsx)(ek.default,{href:"".concat(eI.UN,"/integrating-your-application/installation-json"),external:!0,children:"click to learn more on our wiki page"}),"."]})]})}),eF=t(35166),eA=ei.ZP.div(p||(p=(0,en.Z)(["\n height: var(--field-top-spacing);\n"]))),eq=ei.ZP.span(h||(h=(0,en.Z)(["\n color: #000;\n font-size: 1.1rem;\n font-weight: bold;\n"])));(0,ei.ZP)(ev.G)(f||(f=(0,en.Z)(["\n margin-right: 20px;\n"])));var eG=ei.ZP.div(x||(x=(0,en.Z)(["\n margin-bottom: 5px;\n display: flex;\n align-items: center;\n"])));ei.ZP.hr(v||(v=(0,en.Z)(["\n background-color: black;\n"])));var eB=(0,eS.hU)(function(e){var n,t=e.selectedRequest,r=e.alert,a=(0,ea.useState)(null),i=a[0],s=a[1],o=(0,ew.Dy)(t),c=(0,ea.useState)(!1),l=c[0],u=c[1],d=function(e){s(e),u(!0)},p=(n=(0,ee.Z)(er().mark(function e(){var n,a,s,o,c,l;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,ej.hU)(t.id,(null==i?void 0:i.name)||null);case 2:n=e.sent,s=(a=(0,ex.Z)(n,2))[0],c=(o=a[1])?"danger":"success",l=o?"Failed to regenerate secret":"Client Secret Successfully Updated",r.show({variant:c,fadeOut:1e4,closable:!0,content:l}),window.location.hash="#",console.error(s,o);case 11:case"end":return e.stop()}},e)})),function(){return n.apply(this,arguments)}),h=(0,el.jsxs)(el.Fragment,{children:[(0,el.jsxs)(eG,{children:[(0,el.jsxs)("strong",{children:["You are about to change your client secret for your ",null==i?void 0:i.display," environment."]})," "]}),(0,el.jsx)("br",{}),(0,el.jsx)("p",{children:"Once you change your secret, your previous secret will no longer be valid for any applications using it."}),(0,el.jsx)("p",{children:"This means you will need to update any applications using this client with the new JSON details before they are functional again."})]});return(0,el.jsxs)(el.Fragment,{children:[(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(eA,{}),o.map(function(e){return(0,el.jsxs)(ea.Fragment,{children:[(0,el.jsxs)(eq,{children:[e.display,": "]}),!t.publicAccess&&(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)("br",{}),(0,el.jsx)("button",{className:"primary",type:"button",onClick:function(){return d(e)},children:"Change your client secret"})]}),(0,el.jsx)("br",{}),(0,el.jsx)("br",{})]},e.name)})]}),(0,el.jsx)(eF.Z,{id:"confirm-new-secret",content:h,onConfirm:p,icon:eg.eHv,buttonStyle:"primary",title:"You are about to change your client secret",openModal:l,handleClose:function(){return u(!1)},closable:!0})]})}),eL=t(20070),eU=t.n(eL),eM=t(35124),ez=t(85330),eK=t(23157),eH=t(11915),e_=t(43590),eW=t.n(e_);function eV(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function eY(e){for(var n=1;n * {\n padding-right: 0.5rem;\n }\n"]))),eX=ei.ZP.div(j||(j=(0,en.Z)(["\n padding-top: 10px;\n padding-bottom: 10px;\n"]))),e0=ei.ZP.div(y||(y=(0,en.Z)(["\n color: #ff0000;\n"]))),e1={name:"",envs:["dev"]},e2=(0,ea.forwardRef)(function(e,n){var t,r=e.integrationId,a=e.environments,i=void 0===a?["dev"]:a,s=(0,ea.useState)(!1),o=s[0],c=s[1],l=(0,ea.useState)({}),u=l[0],d=l[1],p=(0,ea.useState)({}),h=p[0],f=p[1],x=(0,ea.useState)([e1]),v=x[0],g=x[1];(0,ea.useImperativeHandle)(n,function(){var e;return{submit:(e=(0,ee.Z)(er().mark(function e(){var n,t,a,i,s,l,p,h;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=v,o&&(n=[],eW()(u,function(e,t){n.push({name:t,envs:e})})),e.next=4,(0,ej.tK)({integrationId:r,roles:n});case 4:if(t=e.sent,i=(a=(0,ex.Z)(t,2))[0],!a[1]){e.next=10;break}return e.abrupt("return",[!0,!1]);case 10:return s={},l={},p=!1,h=!1,eW()(i,function(e){e.failure.length>0&&eW()(e.failure,function(n){s[n]||(s[n]=[]),s[n].push(e.env),p=!0}),e.duplicate.length>0&&eW()(e.duplicate,function(n){l[n]||(l[n]=[]),l[n].push(e.env),h=!0})}),d(s),f(l),c(!0),e.abrupt("return",[p,h]);case 19:case"end":return e.stop()}},e)})),function(){return e.apply(this,arguments)}),reset:function(){g([e1]),d({}),f({}),c(!1)}}});var m=function(e){g(v.filter(function(n,t){return t!==e}))},b=function(e,n){g(v.map(function(t,r){return r===e?{name:n,envs:t.envs}:t}))},j=(t=(0,ee.Z)(er().mark(function e(n,t,r){return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:g(v.map(function(e,r){return r===n?{name:e.name,envs:t.map(function(e){return e.value})}:e}));case 2:case"end":return e.stop()}},e)})),function(e,n,r){return t.apply(this,arguments)}),y=null;if(o){var w=null,Z=null;Object.keys(h).length>0&&(w=(0,el.jsx)("tr",{children:(0,el.jsx)("td",{colSpan:3,children:(0,el.jsxs)(eQ,{children:[(0,el.jsx)(eX,{children:(0,el.jsx)(ev.G,{icon:eg.sqG,color:"#17a2b8",title:"duplicated roles",size:"lg"})}),(0,el.jsx)(eX,{children:"There are duplicated roles and we've skipped adding them."})]})})})),Object.keys(u).length>0&&(Z=(0,el.jsx)("tr",{children:(0,el.jsx)("td",{colSpan:3,children:(0,el.jsxs)(eQ,{children:[(0,el.jsx)(eX,{children:(0,el.jsx)(ev.G,{icon:eg.eHv,color:"#dc3545",title:"failed roles",size:"lg"})}),(0,el.jsxs)(eX,{children:["We were unable to save some of your changes.",(0,el.jsx)("br",{}),(0,el.jsx)("div",{className:"fw-bold",children:"Please try submitting again."})]})]})})})),y=(0,el.jsxs)(el.Fragment,{children:[w,Z]})}else y=(0,el.jsx)("tr",{children:(0,el.jsx)("td",{colSpan:3,children:v.length<20?(0,el.jsxs)(e$,{onClick:function(){g(v.concat(e1))},children:[(0,el.jsx)(ev.G,{style:{color:"#006fc4"},icon:eg.KtF,title:"Add Role"}),(0,el.jsx)("span",{children:"Add another role"})]}):(0,el.jsx)(e0,{children:"You can only create 20 roles at a time. Please save before creating any new roles."})})});return(0,el.jsx)("div",{children:(0,el.jsxs)(eJ,{children:[(0,el.jsx)("thead",{children:(0,el.jsxs)("tr",{children:[(0,el.jsx)("th",{className:"role",children:"Role Name"}),(0,el.jsx)("th",{className:"env",children:"Environments"}),(0,el.jsx)("th",{})]})}),(0,el.jsxs)("tbody",{children:[v.length>0?v.map(function(e,n){var t=function(n,t){return u[e.name]&&u[e.name].includes(t.children)?eY(eY({},n),{},{color:"#fff",backgroundColor:"#dc3545"}):h[e.name]&&h[e.name].includes(t.children)?eY(eY({},n),{},{color:"#fff",backgroundColor:"#17a2b8"}):n};return(0,el.jsxs)("tr",{children:[(0,el.jsx)("td",{className:"role",children:(0,el.jsx)(eH.default,{size:"small","data-testid":"role-name-input-field",minLength:"2",maxLength:"100",value:e.name,disabled:o,onChange:function(e){return b(n,e.target.value)}})}),(0,el.jsx)("td",{className:"env",children:(0,el.jsx)(eK.ZP,{value:e.envs.map(function(e){return{value:e,label:e}}),options:i.map(function(e){return{value:e,label:e}}),isMulti:!0,isDisabled:o,placeholder:"Select...",noOptionsMessage:function(){return"You selected all environments"},onChange:function(e,t){return j(n,e,t)},styles:{multiValueLabel:t,multiValue:t}})}),(0,el.jsx)("td",{children:!o&&v.length>1&&(0,el.jsx)(e$,{onClick:function(){return m(n)},children:(0,el.jsx)(ev.G,{style:{color:"#FF0303"},icon:eg.uMC,title:"Remove Role"})})})]},n)}):(0,el.jsx)("tr",{children:(0,el.jsx)("td",{colSpan:3,children:"No roles added."})}),y]})]})})}),e3=t(30274),e5=t(78258),e4=t(29207),e7=ei.ZP.div(w||(w=(0,en.Z)(["\n height: var(--field-top-spacing);\n"]))),e8=function(e){var n,t=e.integration,r=(0,ea.useRef)(eM.V),a=(0,ea.useState)("dev"),i=a[0],s=a[1],o=(0,ea.useState)(!1),c=o[0],l=o[1],u=(0,ea.useState)(0),d=u[0],p=u[1],h=(0,ea.useContext)(e4.SurveyContext);(0,ea.useEffect)(function(){s("dev"),l((0,e3.Yr)(t))},[t.id]);var f=(null==t?void 0:t.environments)||[];return(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(e7,{}),(0,el.jsx)("button",{disabled:!c,className:"primary",onClick:function(){r.current.open()},"data-testid":"create-role-button",children:"+ Create a New Role"}),(0,el.jsx)(e7,{}),(0,el.jsxs)(ez.mQ,{onChange:function(e){s(e)},activeKey:i,tabBarGutter:30,destroyInactiveTabPane:!0,children:[(0,el.jsx)("br",{}),f.map(function(e){return(0,el.jsx)(ez.OK,{tab:eU()(e),children:(0,el.jsx)(e5.Z,{environment:e,integration:t},d)},e)})]}),(0,el.jsx)(eM.Z,{ref:r,title:"Create New Role",icon:null,onConfirm:(n=(0,ee.Z)(er().mark(function e(n){var t,a,i,s;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.current.submit();case 2:if(t=e.sent,i=(a=(0,ex.Z)(t,2))[0],s=a[1],!i){e.next=11;break}return r.current.updateConfig({confirmButtonText:"Try Again"}),e.abrupt("return",!1);case 11:if(!s){e.next=17;break}return r.current.updateConfig({showConfirmButton:!1,cancelButtonText:"Close",buttonAlign:"right"}),p(function(e){return e+1}),e.abrupt("return",!1);case 17:return e.next=19,n.current.reset();case 19:p(function(e){return e+1}),null==h||h.setShowSurvey(!0,"createRole");case 21:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}),onCancel:function(e){e.current.reset()},confirmButtonText:"Save",confirmButtonVariant:"primary",cancelButtonVariant:"secondary",style:{maxHeight:"calc(100vh - 200px)",overflowY:"auto"},children:(0,el.jsx)(e2,{integrationId:t.id,environments:f})})]})},e6=t(27812),e9=t(29208),ne=t.n(e9),nn=t(93096),nt=t.n(nn),nr=t(34766),na=t.n(nr),ni=t(17762),ns=t(63916),no=t(94637),nc=t(10433),nl=(r=(0,ee.Z)(er().mark(function e(n){var t,r,a;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.field,r=n.search,e.prev=1,e.next=4,nc.e.post("bceid-webservice/idir/search",{field:t,search:r}).then(function(e){return e.data});case 4:return a=e.sent,e.abrupt("return",[a,null]);case 8:return e.prev=8,e.t0=e.catch(1),console.error(e.t0),e.abrupt("return",[null,e.t0]);case 12:case"end":return e.stop()}},e,null,[[1,8]])})),function(e){return r.apply(this,arguments)}),nu=(a=(0,ee.Z)(er().mark(function e(n){var t,r,a;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.guid,r=n.userId,e.prev=1,e.next=4,nc.e.post("bceid-webservice/idir/import",{guid:t,userId:r}).then(function(e){return e.data});case 4:return a=e.sent,e.abrupt("return",[a,null]);case 8:return e.prev=8,e.t0=e.catch(1),console.error(e.t0),e.abrupt("return",[null,e.t0]);case 12:case"end":return e.stop()}},e,null,[[1,8]])})),function(e){return a.apply(this,arguments)}),nd=[{value:"idir",label:"IDIR"}],np=[{value:"givenName",label:"First Name",allowed:["idir"]},{value:"surname",label:"Last Name",allowed:["idir"]},{value:"mail",label:"Email",allowed:["idir","bceidbasic","bceidbusiness"]},{value:"mailNickname",label:"Username",allowed:["idir","bceidbasic","bceidbusiness"]},{value:"guid",label:"IDP GUID",allowed:["bceidbasic","bceidbusiness"]}],nh=(0,ea.forwardRef)(function(e,n){e.key;var t,r,a=e.idp,i=e.property,s=e.search,o=e.infoModalRef,c=e.parentModalRef,l=(0,ea.useState)(!1),u=(l[0],l[1]),d=(0,ea.useState)(!1),p=d[0],h=d[1],f=(0,ea.useState)([]),x=f[0],v=f[1],g=(0,ea.useState)(""),m=g[0],b=g[1],j=(0,ea.useState)(i),y=j[0],w=j[1],Z=(0,ea.useState)(s),S=Z[0],P=Z[1],C=(0,ea.useState)(!1),k=C[0],I=C[1];(0,ea.useEffect)(function(){b(a)},[a]),(0,ea.useEffect)(function(){if(m){var e=np.find(function(e){return e.value===y});if(null==e?void 0:e.allowed.includes(m))O(S,y);else{var n=np.find(function(e){return e.allowed.includes(m)});w((null==n?void 0:n.value)||""),P("")}}},[m]);var O=(t=(0,ee.Z)(er().mark(function e(n){var t,r,a,i,s=arguments;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=s.length>1&&void 0!==s[1]?s[1]:y,!(n.length<2)){e.next=3;break}return e.abrupt("return");case 3:return h(!0),v([]),u(!0),e.next=8,nl({field:t,search:n});case 8:r=e.sent,i=(a=(0,ex.Z)(r,2))[0],a[1],i&&v(i),h(!1);case 14:case"end":return e.stop()}},e)})),function(e){return t.apply(this,arguments)}),D=(r=(0,ee.Z)(er().mark(function e(n){var t,r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return I(!1),e.next=3,nu({guid:n.guid,userId:n.userId});case 3:t=e.sent,(r=(0,ex.Z)(t,2))[0],r[1]?I(!0):c.current.close({idp:m,guid:n.guid});case 8:case"end":return e.stop()}},e)})),function(e){return r.apply(this,arguments)});return(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(ni.Z,{searchPlaceholder:"Enter search criteria",variant:"mini",headers:[{accessor:"firstName",Header:"First name"},{accessor:"lastName",Header:"Last Name"},{accessor:"email",Header:"Email"},{accessor:"idirUsername",Header:"IDIR username"},{accessor:"actions",Header:"",disableSortBy:!0}],rowSelectorKey:"guid",data:x.map(function(e){return{guid:e.guid,firstName:e.firstName,lastName:e.lastName,email:e.email,idirUsername:e.userId,actions:(0,el.jsxs)(ns.c4,{children:[(0,el.jsx)(ns.Kk,{icon:eg.Mdf,role:"button","aria-label":"view",onClick:function(){o.current.open({guid:e.guid,attributes:{username:e.userId,displayName:e.displayName,firstName:e.firstName,lastName:e.lastName,email:e.email,telephone:e.phone,company:e.company,department:e.department,title:e.jobTitle},_hash:c.current.getId()})},title:"View",size:"lg"}),(0,el.jsx)(ns.Kk,{icon:eg.q7m,role:"button","aria-label":"import",onClick:function(){return D(e)},title:"Import",size:"lg"})]})}}),colfilters:[{value:m,multiselect:!1,onChange:b,options:nd},{value:y,multiselect:!1,onChange:w,options:np.filter(function(e){return e.allowed.includes(m)})}],showFilters:!0,loading:p,totalColSpan:20,searchColSpan:10,headerAlign:"bottom",headerGutter:[5,0],searchKey:S,searchLocation:"right",onSearch:O,onEnter:O,noDataFoundElement:(0,el.jsx)("p",{children:"The user you searched for does not exist. Please try again, by entering the full search criteria."})}),k&&(0,el.jsx)("p",{className:"text-danger",children:"Failed to import the user. Please try again."})]})}),nf=t(11058);function nx(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function nv(e){for(var n=1;n * {\n padding-right: 0.5rem;\n }\n"]))),ny=ei.ZP.div(k||(k=(0,en.Z)(["\n padding-top: 10px;\n padding-bottom: 10px;\n"]))),nw=ei.ZP.div(I||(I=(0,en.Z)(["\n text-align: center;\n"]))),nZ=function(){return(0,el.jsxs)(nm,{children:[(0,el.jsx)(nb,{}),(0,el.jsx)(eb.rj,{color:"#000",height:45,width:45,wrapperClass:"d-block",visible:!0})]})},nS=[{value:"firstName",label:"First Name",search:!0,result:!0},{value:"lastName",label:"Last Name",search:!0,result:!0,style:{minWidth:"170px"}},{value:"email",label:"Email",search:!0,result:!0,style:{minWidth:"170px"}},{value:"guid",label:"IDP GUID",search:!0,result:!1}],nP=[{value:"firstName",label:"Display Name",search:!0,result:!0},{value:"lastName",label:"Username",search:!0,result:!0,style:{minWidth:"170px"}},{value:"email",label:"Email",search:!0,result:!0,style:{minWidth:"170px"}},{value:"guid",label:"IDP GUID",search:!0,result:!1}],nC=[{value:"firstName",label:"Name",search:!0,result:!0},{value:"lastName",label:"Login",search:!0,result:!0,style:{minWidth:"170px"}},{value:"email",label:"Email",search:!0,result:!0,style:{minWidth:"170px"}},{value:"guid",label:"IDP GUID",search:!0,result:!1}],nk={idir:nS,azureidir:nS,bceidbasic:nP,bceidbusiness:nP,bceidboth:nP,githubpublic:nC,githubbcgov:nC},nI=(0,eS.hU)(function(e){var n,t,r,a,i,s=e.selectedRequest,o=e.alert,c=(0,ea.useRef)(eM.V),l=(0,ea.useRef)(eM.V),u=(0,ea.useState)(!1),d=u[0],p=u[1],h=(0,ea.useState)(1),f=h[0],x=h[1],v=(0,ea.useState)(0),g=v[0],m=v[1],b=(0,ea.useState)(15),j=b[0],y=b[1],w=(0,ea.useState)(!1),Z=w[0],S=w[1],P=(0,ea.useState)(!1),C=P[0],k=P[1],I=(0,ea.useState)(!1),O=I[0],D=I[1],N=(0,ea.useState)(""),E=N[0],T=N[1],R=(0,ea.useState)([]),F=R[0],A=R[1],q=(0,ea.useState)([]),G=q[0],B=q[1],L=(0,ea.useState)([]),U=L[0],M=L[1],z=(0,ea.useState)([]),K=z[0],H=z[1],_=(0,ea.useState)("dev"),W=_[0],V=_[1],Y=(0,ea.useState)(s.devIdps[0]),J=Y[0],$=Y[1],Q=(0,ea.useState)(""),X=Q[0],en=Q[1],et=(0,ea.useState)(""),ei=et[0],es=et[1],eo=(0,ea.useState)(void 0),ec=eo[0],eu=eo[1],ed=(0,ea.useState)(!1),ep=ed[0],eh=ed[1],ef=(0,ea.useContext)(e4.SurveyContext),eb=(0,ea.useCallback)(nt()((n=(0,ee.Z)(er().mark(function e(n){var t,r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,D(!0);case 2:return T("Assigning role..."),eh(!1),e.next=6,(0,ej.$C)({environment:W,integrationId:s.id,username:ec,roleNames:n});case 6:if(t=e.sent,r=(0,ex.Z)(t,2)[1],D(!1),r){e.next=16;break}return T("Last saved at ".concat(new Date().toLocaleString())),null==ef||ef.setShowSurvey(!0,"addUserToRole"),e.abrupt("return",!0);case 16:return eh(!0),T("Failed to update roles."),e.abrupt("return",!1);case 19:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}),2e3,{trailing:!0}),[null==s?void 0:s.id,W,ec,ef]),ey=(t=(0,ee.Z)(er().mark(function e(){var n,t,r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(s){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,S(!0);case 4:return e.next=6,(0,ej.gE)({environment:W,integrationId:s.id,first:0,max:1e3});case 6:n=e.sent,r=(t=(0,ex.Z)(n,2))[0],t[1]&&o.show({variant:"danger",content:"Failed to fetch roles."}),B(null===r?[]:r.map(function(e){return e.name})),H(null===r?[]:r.map(function(e){return e.composite})),S(!1);case 15:case"end":return e.stop()}},e)})),function(){return t.apply(this,arguments)}),ew=function(){A([]),M([]),x(1),m(0),eu(void 0),p(!1)},eZ=function(){if(es(""),V("dev"),s.devIdps){var e=s.devIdps.length>0?s.devIdps[0]:"";$(e);var n=nk[e]||[];n.length>0&&en(n[0].value)}},eS=(r=(0,ee.Z)(er().mark(function e(n){var t,r,a;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,k(!0);case 2:return e.next=4,(0,ej.nu)({environment:W,integrationId:s.id,username:n});case 4:if(t=e.sent,a=(r=(0,ex.Z)(t,2))[0],!r[1]){e.next=12;break}return o.show({variant:"danger",content:"Failed to fetch user roles."}),k(!1),e.abrupt("return");case 12:return e.next=14,M(a||[]);case 14:k(!1);case 15:case"end":return e.stop()}},e)})),function(e){return r.apply(this,arguments)});(0,ea.useEffect)(function(){ew(),eZ(),B([])},[s.id]),(0,ea.useEffect)(function(){eP(ei,void 0,f)},[f]),(0,ea.useEffect)(function(){eP(ei,void 0,1)},[j]),(0,ea.useEffect)(function(){ew(),ey(),s.devIdps&&$(s.devIdps.length>0?s.devIdps[0]:"")},[W]),(0,ea.useEffect)(function(){ew();var e=nk[J]||[];!e.find(function(e){return e.search&&e.value===X})&&e.length>0&&en(e[0].value)},[J]),(0,ea.useEffect)(function(){T(""),ec&&eS(ec)},[ec]);var eP=(a=(0,ee.Z)(er().mark(function e(n){var t,r,a,i,c,l=arguments;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=l.length>1&&void 0!==l[1]?l[1]:X,r=l.length>2&&void 0!==l[2]?l[2]:f,!(n.length<2)){e.next=4;break}return e.abrupt("return");case 4:return S(!0),es(n),x(r),en(t),A([]),M([]),eu(void 0),e.next=13,(0,ej.sp)({environment:W,idp:J,property:t,searchKey:n,integrationId:s.id||-1});case 13:if(a=e.sent,c=(i=(0,ex.Z)(a,2))[0],i[1]&&o.show({variant:"danger",content:"Failed to fetch users."}),c){var u;p(!0),A((u=r,c.rows.slice((u-1)*15,15*u))),m(c.count)}S(!1);case 20:case"end":return e.stop()}},e)})),function(e){return a.apply(this,arguments)}),ek=function(e){return eP(e,void 0,1)},eI=(i=(0,ee.Z)(er().mark(function e(n,t){var r,a;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=[],"clear"===t.action||(r="remove-value"===t.action?U.filter(function(e){var n;return e!==(null===(n=t.removedValue)||void 0===n?void 0:n.value)}):"pop-value"===t.action?(0,e6.Z)(U.slice(0,-1)):[].concat((0,e6.Z)(U),[null===(a=t.option)||void 0===a?void 0:a.value])),!(r.length!==U.length)){e.next=7;break}return e.next=5,eb(r);case 5:e.sent&&M(r);case 7:case"end":return e.stop()}},e)})),function(e,n){return i.apply(this,arguments)}),eO=null;C?eO=(0,el.jsx)(nZ,{}):ec&&(eO=(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(ng,{children:"2. Assign User to a Role"}),(0,el.jsx)(eK.ZP,{value:U.map(function(e){return{value:e,label:e}}),options:G.map(function(e,n){return{value:e,label:!0==K[n]?"".concat(e," (Composite role)"):e}}),isMulti:!0,placeholder:"Select...",noOptionsMessage:function(){return"No roles"},onChange:eI,"data-testid":"user-role-select"}),(0,el.jsx)(ez.Ad,{saving:O,content:E,variant:ep?"error":"success"})]}));var eD="idir"===J,eN=nk[J]||[],eE=eN.length>0?eN.filter(function(e){return e.result}):[],eT=null;d&&eD&&(eT=(0,el.jsxs)(el.Fragment,{children:[F.length>0&&(0,el.jsx)(ez.XU,{italic:!0,children:"If you did not find the user you were looking for, you can try searching for the user in our IDIM Web Service Lookup tool. This tool uses a webservice to find IDIR users. so you will need to import the user that is found."}),(0,el.jsx)("button",{type:"button",className:"primary",style:{marginTop:"0.5rem"},"data-testid":"idim-search-button",onClick:function(){return l.current.open({key:new Date().getTime().toString(),idp:"idir",property:X,search:ei})},children:"Search in IDIM Web Service Lookup"})]}));var eR=(null==s?void 0:s.environments)||[],eF=(null==s?void 0:s.devIdps)||[],eA="guid"===X||null!=J&&J.startsWith("bceid")?"Exact text match results will be displayed":"Partial text match results will be displayed",eq=function(e){var n=eN.find(function(n){return n.value===e});return null==n?void 0:n.label.toString()};return(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(nb,{}),(0,el.jsx)(em.ZP,{cols:10,children:(0,el.jsxs)(em.ZP.Row,{collapse:"1100",gutter:[15,2],children:[(0,el.jsxs)(em.ZP.Col,{span:6,children:[(0,el.jsxs)(ez.h4,{variant:"dark",size:"sm",children:["1. Search for a user based on the selection criteria below \xa0",(0,el.jsx)(nf.Z,{title:"",content:"When searching BCeID GUID, please ensure your end users has logged in via your app (and indirectly our IDP) for this search to be successful.",hide:200})]}),(0,el.jsx)("div",{"data-testid":"role-search-table",children:(0,el.jsx)(ni.Z,{searchPlaceholder:"Enter search criteria",variant:"mini",rowSelectorKey:"username",headers:[{accessor:"firstName",Header:eq("firstName")||""},{accessor:"lastName",Header:eq("lastName")||""},{accessor:"email",Header:"Email"},{accessor:"actions",Header:"",disableSortBy:!0}],data:F.map(function(e){return{username:ne()(e,"username"),firstName:ne()(e,"firstName"),lastName:ne()(e,"lastName"),email:ne()(e,"email"),actions:(0,el.jsx)(ns.c4,{children:(0,el.jsx)(ns.Kk,{icon:eg.Mdf,role:"button","aria-label":"view",onClick:function(n){n.stopPropagation(),c.current.open({guid:e.username.split("@")[0],attributes:nv(nv({},na()(eE,function(n,t){return n[t.label]=ne()(e,t.value),n},{})),e.attributes)})},title:"View",size:"lg"})})}}),colfilters:[{key:"user-role-filter-env",value:W,multiselect:!1,onChange:V,options:eR.map(function(e){return{value:e,label:eU()(e)}})},{key:"user-role-filter-idp",value:J,multiselect:!1,onChange:$,options:eF.filter(function(e){return!["digitalcredential","bcservicescard"].includes(e)}).map(function(e){return{value:e,label:eC.S[e]}})},{key:"user-role-filter-prop",value:X,multiselect:!1,onChange:en,options:eN.filter(function(e){return e.search})}],showFilters:!0,loading:Z,totalColSpan:20,searchColSpan:10,headerAlign:"bottom",headerGutter:[5,0],searchKey:ei,searchLocation:"right",onSearch:ek,onEnter:ek,noDataFoundElement:d?(0,el.jsxs)(nj,{children:[(0,el.jsx)(ny,{children:(0,el.jsx)(ev.G,{icon:eg.RLE,color:"#D44331",title:"Edit",size:"lg"})}),eD?(0,el.jsx)(ny,{children:"The user you searched for does not exist. Please try again, by entering the full search criteria or try using our IDIM Web Service Lookup tool."}):(0,el.jsx)(ny,{children:"The user you searched for does not exist. Please try again, by entering the full search criteria."})]}):(0,el.jsx)(nw,{children:"You have not searched for any users yet."}),pagination:!0,pageLimits:[15],onPage:x,rowCount:g,limit:j,onLimit:function(e){y(e)},activateRow:function(e){eu(e.original.username)},searchTooltip:eA})}),eT]}),(0,el.jsx)(em.ZP.Col,{span:4,children:eO})]})}),(0,el.jsx)(no.Z,{modalRef:c}),(0,el.jsx)(eM.Z,{ref:l,id:"idim-webservice-lookup",title:"IDIM Web Service Lookup",icon:null,onClose:function(e,n,t){eP(t.guid,"guid",1)},cancelButtonText:"Close",cancelButtonVariant:"primary",showConfirmButton:!1,buttonAlign:"right",style:{minWidth:"800px",maxHeight:"calc(100vh - 200px)",overflowY:"auto"},children:function(e){return e?(0,el.jsx)(nh,{idp:e.idp,property:e.property,search:e.search,infoModalRef:c,parentModalRef:l},e.key):(0,el.jsx)(el.Fragment,{})}})]})}),nO=t(58292),nD=t(87414),nN=t(5845),nE=t(96270);function nT(e){var n,t=e.requestId,r=(0,ea.useState)(!1),a=r[0],i=r[1],s=(0,ea.useState)(!1),o=s[0],c=s[1],l=(0,ea.useState)([]),u=l[0],d=l[1],p=(n=(0,ee.Z)(er().mark(function e(){var n,r,a;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:return i(!0),e.next=5,(0,nD.v)({requestId:t,eventCode:"request-update-success",clearNotifications:!0});case 5:n=e.sent,a=(r=(0,ex.Z)(n,2))[0],r[1]?c(!0):a&&d(a.rows),i(!1);case 11:case"end":return e.stop()}},e)})),function(){return n.apply(this,arguments)});return((0,ea.useEffect)(function(){p()},[t]),o)?(0,el.jsx)(ef,{variant:"warning",content:"Failed to load details."}):a?(0,el.jsx)(nN.Z,{}):(0,el.jsx)(el.Fragment,{children:(0,el.jsx)(nE.Z,{events:u})})}var nR=t(4136),nF=t(71431),nA=t.n(nF),nq=ei.ZP.ul(O||(O=(0,en.Z)(["\n list-style-type: none;\n margin: 0;\n position: relative;\n\n & li {\n border-bottom: 1px solid #d4d4d4;\n & svg.svg-inline--fa {\n position: absolute;\n right: 0;\n }\n\n & div.icon {\n position: absolute;\n right: 0;\n bottom: 5px;\n }\n }\n"]))),nG=ei.ZP.div(D||(D=(0,en.Z)(["\n font-size: 18px;\n font-weight: bold;\n color: #000;\n border-bottom: 1px solid gray;\n"]))),nB=ei.ZP.div(N||(N=(0,en.Z)(["\n display: flex;\n justify-content: flex-start;\n\n & > *:nth-child(1) {\n margin-right: 5px;\n }\n"]))),nL="15px",nU=ei.ZP.div(E||(E=(0,en.Z)(["\n height: ",";\n width: ",";\n border-radius: ",";\n margin: ",";\n margin-left: 0;\n border: 2px solid #b3b3b3;\n"])),nL,nL,nL,"0"),nM=ei.ZP.li(T||(T=(0,en.Z)(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin: 0;\n\n & p {\n max-width: 90%;\n margin: 5px 0;\n }\n"]))),nz=function(){return(0,el.jsxs)(nB,{children:[(0,el.jsx)("div",{children:(0,el.jsx)(ev.G,{icon:eg.f8k,color:"#2E8540"})}),(0,el.jsx)("div",{children:(0,el.jsx)("span",{children:"Your integration is approved and available."})})]})};function nK(){return(0,el.jsx)(el.Fragment,{children:(0,el.jsxs)(nq,{children:[(0,el.jsxs)(nM,{children:["Requirements email sent to IDIM",(0,el.jsx)(ev.G,{icon:eg.f8k,color:"#00C45B"})]}),(0,el.jsxs)(nM,{children:[(0,el.jsxs)("p",{children:["Please reach out to IDIM if you do not hear back within the next 2-3 business days (",(0,el.jsx)(ek.default,{href:"mailto:IDIM.Consulting@gov.bc.ca",children:"IDIM.Consulting@gov.bc.ca"}),")"]}),(0,el.jsx)(ev.G,{icon:eg.FU$,color:"#b3b3b3"})]}),(0,el.jsxs)(nM,{children:[(0,el.jsx)("p",{children:"Access to prod"}),(0,el.jsx)(nU,{})]})]})})}var nH=function(e){var n=e.approvalContext,t=n.hasProd,r=n.hasBceid,a=n.awaitingBceidProd,i=n.bceidApproved;if(!t||!r)return null;var s=null;return i?s=(0,el.jsx)(nz,{}):a&&(s=(0,el.jsx)(nK,{})),(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)("br",{}),(0,el.jsx)(nG,{children:"Access to BCeID Prod"}),(0,el.jsx)("br",{}),s]})};function n_(){return(0,el.jsx)(el.Fragment,{children:(0,el.jsxs)(nq,{children:[(0,el.jsxs)(nM,{children:["Requirements email sent to GCIO",(0,el.jsx)(ev.G,{icon:eg.f8k,color:"#00C45B"})]}),(0,el.jsxs)(nM,{children:[(0,el.jsx)("p",{children:"Access to prod"}),(0,el.jsx)(nU,{})]})]})})}var nW=function(e){var n=e.approvalContext,t=n.hasProd,r=n.hasGithub,a=n.awaitingGithubProd,i=n.githubApproved;if(!t||!r)return null;var s=null;return i?s=(0,el.jsx)(nz,{}):a&&(s=(0,el.jsx)(n_,{})),(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)("br",{}),(0,el.jsx)(nG,{children:"Access to GitHub Prod"}),(0,el.jsx)("br",{}),s]})},nV=t(67302),nY=t(64306),nJ=t(34798),n$=t.n(nJ),nQ=ei.ZP.label(R||(R=(0,en.Z)(["\n font-weight: bold;\n margin-bottom: 2px;\n"])));ei.ZP.div(F||(F=(0,en.Z)(["\n background-color: #f1f1f1;\n margin: 2px 0 2px 0;\n padding: 4px 6px;\n ","\n"])),function(e){return e.width?"width: ".concat(e.width,";"):"width: 300px;"});var nX=ei.ZP.div(A||(A=(0,en.Z)(["\n text-align: center;\n"]))),n0=ei.ZP.div(q||(q=(0,en.Z)(["\n height: var(--field-top-spacing);\n"]))),n1=function(){return(0,el.jsxs)(nX,{children:[(0,el.jsx)(n0,{}),(0,el.jsx)(eb.rj,{color:"#000",height:45,width:45,wrapperClass:"d-block",visible:!0})]})},n2=(0,eS.hU)(function(e){var n,t,r,a,i=e.selectedRequest,s=e.alert,o=(0,ea.useState)(!1),c=(o[0],o[1]),l=(0,ea.useState)(!1),u=l[0],d=l[1],p=(0,ea.useState)(!1),h=p[0],f=p[1],x=(0,ea.useState)(""),v=x[0],g=x[1],m=(0,ea.useState)([]),b=m[0],j=m[1],y=(0,ea.useState)([]),w=y[0],Z=y[1],S=(0,ea.useState)(void 0),P=S[0];S[1];var C=(0,ea.useState)("dev"),k=C[0],I=C[1],O=(0,ea.useState)(!1),D=O[0],N=O[1],E=(null==i?void 0:i.environments)||[],T=(0,ea.useCallback)(nt()((n=(0,ee.Z)(er().mark(function e(n){var t,r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return f(!0),g("Assigning role..."),N(!1),e.next=5,(0,ej.$C)({environment:k,integrationId:i.id,username:(0,nY.Sf)(i.clientId),roleNames:n});case 5:if(t=e.sent,r=(0,ex.Z)(t,2)[1],f(!1),!r){e.next=15;break}return N(!0),g("Failed to update roles."),e.abrupt("return",!1);case 15:return g("Last saved at ".concat(new Date().toLocaleString())),e.abrupt("return",!0);case 17:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}),2e3,{trailing:!0}),[null==i?void 0:i.id,k,P]),R=(t=(0,ee.Z)(er().mark(function e(n,t){var r,a;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=[],"clear"===t.action||(r="remove-value"===t.action?w.filter(function(e){var n;return e!==(null===(n=t.removedValue)||void 0===n?void 0:n.value)}):"pop-value"===t.action?(0,e6.Z)(w.slice(0,-1)):[].concat((0,e6.Z)(w),[null===(a=t.option)||void 0===a?void 0:a.value])),!(w.length!==r.length)){e.next=7;break}return e.next=5,T(r);case 5:e.sent&&Z(r);case 7:case"end":return e.stop()}},e)})),function(e,n){return t.apply(this,arguments)}),F=(r=(0,ee.Z)(er().mark(function e(){var n,t,r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(i){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,c(!0);case 4:return e.next=6,(0,ej.gE)({environment:k,integrationId:i.id,first:0,max:1e3});case 6:n=e.sent,r=(t=(0,ex.Z)(n,2))[0],t[1]&&s.show({variant:"danger",content:"Failed to fetch roles."}),j(null===r?[]:r.map(function(e){return e.name})),c(!1);case 14:case"end":return e.stop()}},e)})),function(){return r.apply(this,arguments)}),A=(a=(0,ee.Z)(er().mark(function e(n){var t,r,a;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d(!0);case 2:return e.next=4,(0,ej.nu)({environment:k,integrationId:i.id,username:n});case 4:if(t=e.sent,a=(r=(0,ex.Z)(t,2))[0],!r[1]){e.next=12;break}return s.show({variant:"danger",content:"Failed to fetch roles."}),d(!1),e.abrupt("return");case 12:return e.next=14,Z(a||[]);case 14:d(!1);case 15:case"end":return e.stop()}},e)})),function(e){return a.apply(this,arguments)});return(0,ea.useEffect)(function(){F(),g(""),A((0,nY.Sf)(i.clientId))},[k]),(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(nV.Z,{children:(0,el.jsx)(ez.bZ,{variant:"info",closable:!1,"data-testid":"assign-svc-acct-role-risk-alert",children:(0,el.jsxs)("span",{className:"normal",children:["There may be a security risk if you rely on client roles of a service account,"," ",(0,el.jsx)(ek.default,{external:!0,href:(0,eI.eO)("Creating-a-Role#service-account-role-management"),children:"click to visit our wiki page"})]})})}),(0,el.jsxs)(ez.mQ,{onChange:function(e){I(e)},activeKey:k,tabBarGutter:30,destroyInactiveTabPane:!0,children:[(0,el.jsx)("br",{}),E.map(function(e){return(0,el.jsx)(ez.OK,{tab:eU()(e),children:(0,el.jsx)(em.ZP,{cols:10,children:(0,el.jsxs)(em.ZP.Row,{collapse:"1100",gutter:[15,2],children:[(0,el.jsx)(em.ZP.Col,{span:5,children:(0,el.jsx)(ni.Z,{headers:[{accessor:"projectName",Header:"Service Account"}],data:[{projectName:i.projectName}],colfilters:[],activateRow:n$(),rowSelectorKey:"projectName"})}),(0,el.jsx)(em.ZP.Col,{span:5,children:u?(0,el.jsx)(n1,{}):(0,el.jsxs)("div",{children:[(0,el.jsx)(nQ,{children:"Assign Service Account to a Role"}),(0,el.jsx)("div",{"data-testid":"assign-svc-acct-to-role-select",children:(0,el.jsx)(eK.ZP,{value:w.map(function(e){return{value:e,label:e}}),options:b.map(function(e){return{value:e,label:e}}),isMulti:!0,placeholder:"Select...",noOptionsMessage:function(){return"No roles"},onChange:R})}),(0,el.jsx)(ez.Ad,{saving:h,content:v,variant:D?"error":"success"})]})})]})})},e)})]})]})});function n3(){return(0,el.jsxs)(nq,{children:[(0,el.jsxs)(nM,{children:["Requirements email sent to DIT",(0,el.jsx)(ev.G,{icon:eg.f8k,color:"#00C45B"})]}),(0,el.jsxs)(nM,{children:[(0,el.jsxs)("p",{children:["Please reach out to DIT if you do not hear back within the next 2-3 business days (",(0,el.jsx)(ek.default,{href:"mailto:ditp.support@gov.bc.ca",children:"ditp.support@gov.bc.ca"}),")."]}),(0,el.jsx)(ev.G,{icon:eg.FU$,color:"#b3b3b3"})]}),(0,el.jsxs)(nM,{children:[(0,el.jsx)("p",{children:"Access to prod"}),(0,el.jsx)(nU,{})]})]})}var n5=function(e){var n=e.approvalContext,t=n.hasProd,r=n.hasDigitalCredential,a=n.awaitingDigitalCredentialProd,i=n.digitalCredentialApproved;if(!t||!r)return null;var s=null;return i?s=(0,el.jsx)(nz,{}):a&&(s=(0,el.jsx)(n3,{})),(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)("br",{}),(0,el.jsx)(nG,{children:"Access to Digital Credential Prod"}),(0,el.jsx)("br",{}),s]})};function n4(){return(0,el.jsx)(el.Fragment,{children:(0,el.jsxs)(nq,{children:[(0,el.jsxs)(nM,{children:["Requirements email sent to IDIM",(0,el.jsx)(ev.G,{icon:eg.f8k,color:"#00C45B"})]}),(0,el.jsxs)(nM,{children:[(0,el.jsxs)("p",{children:["Please reach out to IDIM if you do not hear back within the next 2-3 business days (",(0,el.jsx)(ek.default,{href:"mailto:IDIM.Consulting@gov.bc.ca",children:"IDIM.Consulting@gov.bc.ca"}),")"]}),(0,el.jsx)(ev.G,{icon:eg.FU$,color:"#b3b3b3"})]}),(0,el.jsxs)(nM,{children:[(0,el.jsx)("p",{children:"Access to prod"}),(0,el.jsx)(nU,{})]})]})})}var n7=function(e){var n=e.approvalContext,t=n.hasProd,r=n.hasBcServicesCard,a=n.awaitingBcServicesCardProd,i=n.bcServicesCardApproved;if(!t||!r)return null;var s=null;return i?s=(0,el.jsx)(nz,{}):a&&(s=(0,el.jsx)(n4,{})),(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)("br",{}),(0,el.jsx)(nG,{children:"Access to BC Services Card Prod"}),(0,el.jsx)("br",{}),s]})},n8=t(29009),n6=t(41087),n9=t(14195),te=t(3023),tn=t(75358),tt=t(26050),tr=t(33558),ta=t(18242),ti=t(84642),ts=(i=(0,ee.Z)(er().mark(function e(n,t,r,a){var i;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,nc.e.get("requests/".concat(n,"/metrics?env=").concat(t,"&fromDate=").concat(r,"&toDate=").concat(a)).then(function(e){return null==e?void 0:e.data});case 3:return i=e.sent,e.abrupt("return",[i,null]);case 7:return e.prev=7,e.t0=e.catch(0),console.error(e.t0),e.abrupt("return",[null,e.t0]);case 11:case"end":return e.stop()}},e,null,[[0,7]])})),function(e,n,t,r){return i.apply(this,arguments)}),to=(s=(0,ee.Z)(er().mark(function e(n,t,r,a,i,s){var o;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,nc.e)({url:"requests/".concat(n,"/logs?env=").concat(t,"&start=").concat(r,"&end=").concat(a),method:"GET",responseType:"blob",onDownloadProgress:i,signal:null==s?void 0:s.signal}).then(function(e){return null==e?void 0:e.data});case 3:return o=e.sent,e.abrupt("return",[o,null]);case 7:return e.prev=7,e.t0=e.catch(0),console.error(e.t0),e.abrupt("return",[null,e.t0]);case 11:case"end":return e.stop()}},e,null,[[0,7]])})),function(e,n,t,r,a,i){return s.apply(this,arguments)}),tc=t(9198),tl=t.n(tc);t(459);var tu=t(31879);function td(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function tp(e){return(0,el.jsx)(el.Fragment,{children:(0,el.jsx)(tl(),function(e){for(var n=1;n * {\n margin-left: 15px;\n }\n"])));ei.ZP.label(B||(B=(0,en.Z)(["\n margin-bottom: 2px;\n"])));var tv=ei.ZP.div(L||(L=(0,en.Z)(["\n height: var(--field-top-spacing);\n"])));ei.ZP.span(U||(U=(0,en.Z)(["\n color: #000;\n font-size: 1.1rem;\n font-weight: bold;\n"]))),(0,ei.ZP)(ev.G)(M||(M=(0,en.Z)(["\n margin-right: 20px;\n"]))),ei.ZP.div(z||(z=(0,en.Z)(["\n margin-bottom: 5px;\n display: flex;\n align-items: center;\n"]))),ei.ZP.hr(K||(K=(0,en.Z)(["\n background-color: black;\n"])));var tg=function(e){return"".concat(e.getFullYear(),"-").concat(e.getMonth()+1,"-").concat(e.getDate())},tm="December 01, 2023",tb=(0,eS.hU)(function(e){var n,t=e.integration,r=e.alert,a=(0,ea.useState)("dev"),i=a[0],s=a[1],o=(null==t?void 0:t.environments)||[],c=(0,ea.useState)([]),l=c[0],u=c[1],d=(0,ea.useState)(!1);d[0],d[1];var p=(0,ea.useState)((0,ew.F3)(14)),h=p[0],f=p[1],x=(0,ea.useState)(new Date),v=x[0],g=x[1],m=(0,ea.useContext)(e4.SurveyContext),b=function(e){f(e)},j=function(e){g(e)},y=(0,ea.useCallback)(nt()((n=(0,ee.Z)(er().mark(function e(n,a,i){var s,o,c;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ts(null==t?void 0:t.id,i,n,a);case 2:s=e.sent,c=(o=(0,ex.Z)(s,2))[0],o[1]?r.show({variant:"danger",content:"Failed to fetch metrics"}):(u(c),c.length>0&&(null==m||m.setShowSurvey(!0,"viewMetrics")));case 7:case"end":return e.stop()}},e)})),function(e,t,r){return n.apply(this,arguments)})),[null==t?void 0:t.clientId,i,h,v]);return(0,ea.useEffect)(function(){y(tg(h),tg(v),i)},[null==t?void 0:t.clientId,i,h,v]),(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(tv,{}),(0,el.jsx)("div",{children:(0,el.jsxs)(tx,{children:[(0,el.jsx)(tp,{placeholderText:"Start Date",selected:new Date(h),onChange:function(e){return b(e)},minDate:new Date(tm),maxDate:v,label:"Start Date"}),(0,el.jsx)(tp,{placeholderText:"End Date",selected:new Date(v),onChange:function(e){return j(e)},minDate:h,label:"End Date"})]})}),(0,el.jsxs)(ez.mQ,{onChange:function(e){s(e)},activeKey:i,tabBarGutter:30,destroyInactiveTabPane:!0,children:[(0,el.jsx)("br",{}),o.map(function(e){return(0,el.jsx)(ez.OK,{tab:eU()(e),children:(0,el.jsx)("div",{style:{width:"100%",height:300},children:(null==l?void 0:l.length)>0?(0,el.jsx)(n8.h,{children:(0,el.jsxs)(n6.v,{data:l,margin:{top:20,right:20,bottom:30,left:20},children:[(0,el.jsx)(n9.q,{strokeDasharray:"3 3"}),(0,el.jsx)(te.K,{dataKey:"event",tick:{fontSize:10},label:{value:"Events",position:"insideBottomRight"}}),(0,el.jsx)(tn.B,{dataKey:"count",label:{value:"Count",angle:-90,position:"insideLeft"}}),(0,el.jsx)(tt.u,{}),(0,el.jsx)(tr.D,{}),(0,el.jsx)(ta.$,{dataKey:"count",fill:"#0d6efd",barSize:30,label:{fill:"#0d6efd",fontSize:20,position:"top"},background:{fill:"#eee"}})]})}):(0,el.jsx)("div",{style:{textAlign:"center"},children:(0,el.jsx)(ti.x,{children:"No data available yet!"})})})},e)})]}),(0,el.jsxs)(eP.$,{children:["This tab was released ",tm,". Please refer to"," ",(0,el.jsx)(tf.rU,{href:"https://access.redhat.com/documentation/en-us/red_hat_single_sign-on/7.4/html/server_administration_guide/auditing_and_events#event_types",external:!0,children:"Redhat's definition"})," ","for event type details."]})]})}),tj=ei.ZP.div(H||(H=(0,en.Z)(["\n display: flex;\n flex-direction: row;\n column-gap: 1.5em;\n justify-content: center;\n min-width: 20em;\n margin: 0;\n padding: 0;\n"]))),ty=ei.ZP.form(_||(_=(0,en.Z)(["\n display: flex;\n flex-direction: column;\n row-gap: 1.5em;\n\n .header {\n margin-top: 1em;\n display: flex;\n align-items: center;\n p {\n font-weight: bold;\n padding-right: 0.4em;\n margin: 0;\n font-size: 18px;\n }\n }\n\n .bold {\n font-weight: bold;\n }\n\n .env-controls {\n margin: 0;\n legend {\n font-size: unset;\n font-weight: bold;\n }\n\n input {\n margin-right: 0.2em;\n }\n\n label {\n margin-right: 1em;\n }\n }\n\n .date-picker-container {\n height: 100%;\n display: flex;\n align-items: center;\n column-gap: 1em;\n }\n\n select {\n margin-left: 0.5em;\n width: 200px;\n }\n\n .button-container {\n display: flex;\n flex-diretion: row;\n align-items: center;\n\n p {\n margin: 0;\n margin-left: 1em;\n }\n }\n\n .error-text {\n font-size: 14px;\n color: red;\n margin: 0;\n height: 1em;\n }\n"]))),tw=function(e,n){var t=new Blob([JSON.stringify(n)],{type:"text/json"}),r=document.createElement("a");r.download=e,r.href=window.URL.createObjectURL(t),r.dataset.downloadurl=["text/json",r.download,r.href].join(":");var a=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0});r.dispatchEvent(a),r.remove()},tZ={dev:"Development",test:"Test",prod:"Production"},tS=new Date("February 13, 2024"),tP=(0,eS.hU)(function(e){var n,t=e.integration,r=e.alert,a=(0,ea.useState)("dev"),i=a[0],s=a[1],o=(null==t?void 0:t.environments)||[],c=(0,ea.useState)(!1),l=c[0],u=c[1],d=(0,ea.useState)((0,ew.F3)(1)),p=d[0],h=d[1],f=(0,ea.useState)(new Date),x=f[0],v=f[1],g=(0,ea.useState)(""),m=g[0],b=g[1],j=(0,ea.useState)(0),y=j[0],w=j[1],Z=(0,ea.useState)(new Date),S=Z[0],P=Z[1],C=(0,ea.useState)(),k=C[0],I=C[1],O=(0,ea.useContext)(e4.SurveyContext),D=(0,ea.useState)(!1),N=D[0],E=D[1];(0,ea.useEffect)(function(){p&&(Date.now()-p.getTime()>1728e5?P(new Date(p.getTime()+1728e5)):P(new Date),x&&(x.getTime()1728e5)&&v(null))},[p]),(0,ea.useEffect)(function(){x&&p&&x.getTime()0&&w(e[0])}else(null==e?void 0:e.length)>0&&w(e[0])},S=(t=(0,ee.Z)(er().mark(function e(){var n,t,r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return d(!0),e.next=3,(0,tY.XJ)();case 3:n=e.sent,r=(t=(0,ex.Z)(n,2))[0],f(!!t[1]),Z(r||[]),d(!1);case 10:case"end":return e.stop()}},e)})),function(){return t.apply(this,arguments)});(0,ea.useEffect)(function(){S(),o.replace("/my-dashboard/integrations")},[]),(0,ea.useEffect)(function(){return(0,ew.rn)(v||[])&&(clearInterval(r),r=setInterval((0,ee.Z)(er().mark(function e(){var n,t,a;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,tY.XJ)();case 2:n=e.sent,a=(t=(0,ex.Z)(n,2))[0],t[1]?clearInterval(r):Z(a||[]);case 7:case"end":return e.stop()}},e)})),5e3)),function(){r&&clearInterval(r)}},[v,b]);var P=h?(0,el.jsx)(t$.q1,{}):v&&0!==v.length?(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)("h2",{children:"Integrations"}),(0,el.jsx)(ni.Z,{headers:[{accessor:"id",Header:"Request ID"},{accessor:"projectName",Header:"Project Name"},{accessor:"status",Header:"Status"},{accessor:"authType",Header:"Usecase"},{accessor:"serviceType",Header:"Service Type"},{accessor:"actions",Header:(0,el.jsx)(t0,{}),disableSortBy:!0}],data:null==v?void 0:v.map(function(e){return{id:t1(e.id),projectName:e.projectName,status:(0,nO.n)(e.status||"draft"),authType:tJ.F[e.authType||"browser-login"],serviceType:"Gold",actions:(0,el.jsx)(tQ,{children:(0,el.jsx)(ns.ZP,{request:e,onDelete:function(n,t){t?s.show({variant:"danger",content:"Failed to delete integration ".concat(e.projectName,".")}):S()},defaultActiveColor:"#fff",delIconStyle:{marginLeft:"7px"}})})}}),activateRow:function(e){var n=e.cells[0].value;v.forEach(function(e){e.id==n&&w(e)})},activeSelector:b&&t1(b),rowSelectorKey:"id",colfilters:[]})]}):(0,el.jsx)(t$.Vs,{message:"No Requests Submitted"});return u?(0,el.jsx)(nN.Z,{}):(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)("br",{}),(0,el.jsx)(t2,{handleNewIntegrationClick:y,integrations:v}),(0,el.jsx)("br",{}),(0,el.jsx)("br",{}),P]})}),t5=t(49936),t4=ei.ZP.div(X||(X=(0,en.Z)(["\n display: flex;\n flex-direction: column;\n flex-basis: 100%;\n flex: 1;\n"]))),t7=function(e){e.session;var n,t=(0,tV.useRouter)(),r=(0,ea.useState)(null),a=r[0],i=r[1],s=(0,ea.useState)(1),o=s[0],c=s[1],l=(0,ea.useState)(!1),u=l[0],d=l[1],p="integration-failed-modal",h=(n=(0,ee.Z)(er().mark(function e(){return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",window.location.hash=p);case 1:case"end":return e.stop()}},e)})),function(){return n.apply(this,arguments)}),f=(0,ea.useState)(""),x=f[0],v=f[1];return(0,ea.useEffect)(function(){var e;v(t.query.requestId),(null==t?void 0:null===(e=t.query)||void 0===e?void 0:e.integrationFailedMessageModal)==="true"&&(d(!0),h())},[t.query.showModal]),(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(t5.Z,{tab:"integrations",leftPanel:function(){return(0,el.jsx)(t3,{setIntegration:i,setIntegrationCount:c})},rightPanel:function(){return a&&(0,el.jsx)(tW,{integration:a})},showResizable:o>0}),(0,el.jsx)(eF.Z,{id:p,openModal:u,handleClose:function(){return d(!1)},title:"".concat(x," - Integration request failed"),content:(0,el.jsxs)("div",{children:[(0,el.jsx)("div",{children:(0,el.jsx)("p",{children:"The integration request could not be completed. Please contact the Pathfinder SSO Team."})}),(0,el.jsxs)("div",{style:{display:"flex",flexDirection:"row",flexWrap:"wrap",width:"100%"},children:[(0,el.jsx)(t4,{children:(0,el.jsx)("div",{children:(0,el.jsxs)("a",{href:"https://chat.developer.gov.bc.ca/channel/sso",target:"_blank",title:"Rocket Chat",style:{color:"#0d6efd"},children:[(0,el.jsx)(ev.G,{size:"1x",icon:eg.Z6I,color:"#0d6efd"})," Rocketchat"]})})}),(0,el.jsx)(t4,{children:(0,el.jsx)("div",{children:(0,el.jsxs)("a",{href:"mailto:bcgov.sso@gov.bc.ca",title:"Pathfinder SSO",style:{color:"#0d6efd"},children:[(0,el.jsx)(ev.G,{size:"1x",icon:eg.FU$,color:"#0d6efd"})," Email"]})})})]})]}),showCancel:!1,showConfirm:!1,skipCloseOnConfirm:!0,closable:!0})]})}},27008:function(e,n,t){"use strict";t.d(n,{A_:function(){return S},H0:function(){return C},Jl:function(){return D},OS:function(){return k},Uw:function(){return N},WN:function(){return O},XJ:function(){return P},hG:function(){return Z},zD:function(){return I}});var r,a,i,s,o,c,l,u,d,p=t(50029),h=t(87794),f=t.n(h),x=t(10433),v=t(75316),g=t.n(v),m=t(25751),b=t.n(m),j=t(76427),y=t.n(j),w=t(58766),Z=(r=(0,p.Z)(f().mark(function e(n){var t;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,x.e.post("requests",n).then(function(e){return e.data});case 3:return t=e.sent,e.abrupt("return",[(0,w.UB)(t),null]);case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",(0,x.z)(e.t0));case 10:case"end":return e.stop()}},e,null,[[0,7]])})),function(e){return r.apply(this,arguments)}),S=(a=(0,p.Z)(f().mark(function e(n){var t;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,x.e.post("request",{requestId:b()(n)?parseInt(n):n}).then(function(e){return e.data});case 3:return t=e.sent,e.abrupt("return",[(0,w.UB)(t),null]);case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",(0,x.z)(e.t0));case 10:case"end":return e.stop()}},e,null,[[0,7]])})),function(e){return a.apply(this,arguments)}),P=(i=(0,p.Z)(f().mark(function e(){var n,t,r=arguments;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n={params:{include:r.length>0&&void 0!==r[0]?r[0]:"active"}},e.prev=2,e.next=5,x.e.get("requests",n).then(function(e){return e.data});case 5:return t=e.sent,t=g()(t,["createdAt"],["desc"]),e.abrupt("return",[t.map(w.UB),null]);case 10:return e.prev=10,e.t0=e.catch(2),e.abrupt("return",(0,x.z)(e.t0));case 13:case"end":return e.stop()}},e,null,[[2,10]])})),function(){return i.apply(this,arguments)}),C=(s=(0,p.Z)(f().mark(function e(n){var t;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,x.e.get("team-integrations/".concat(n)).then(function(e){return e.data});case 3:return t=e.sent,t=g()(t,["createdAt"],["desc"]),e.abrupt("return",[t.map(w.UB),null]);case 8:return e.prev=8,e.t0=e.catch(0),e.abrupt("return",(0,x.z)(e.t0));case 11:case"end":return e.stop()}},e,null,[[0,8]])})),function(e){return s.apply(this,arguments)}),k=(o=(0,p.Z)(f().mark(function e(n,t){var r;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,x.e.post("requests/".concat(n,"/restore"),{email:t}).then(function(e){return e.data});case 3:return r=e.sent,e.abrupt("return",[(0,w.UB)(r),null]);case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",(0,x.z)(e.t0));case 10:case"end":return e.stop()}},e,null,[[0,7]])})),function(e,n){return o.apply(this,arguments)}),I=(c=(0,p.Z)(f().mark(function e(n){var t;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,x.e.post("requests-all",n).then(function(e){return e.data});case 3:return t=e.sent,e.abrupt("return",[{count:t.count,rows:t.rows.map(w.UB)},null]);case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",(0,x.z)(e.t0));case 10:case"end":return e.stop()}},e,null,[[0,7]])})),function(e){return c.apply(this,arguments)}),O=(l=(0,p.Z)(f().mark(function e(n){var t,r,a,i,s,o=arguments;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=o.length>1&&void 0!==o[1]&&o[1],e.prev=1,i="requests",t&&(i="".concat(i,"?submit=true")),(n=y()(n,["user","lastChanges"])).devLoginTitle=n.devLoginTitle||"",n.testLoginTitle=n.testLoginTitle||"",n.prodLoginTitle=n.prodLoginTitle||"",n.additionalRoleAttribute=n.additionalRoleAttribute||"",n.clientId=n.clientId||"",n.primaryEndUsers=null!==(r=n.primaryEndUsers)&&void 0!==r?r:[],n.primaryEndUsersOther=null!==(a=n.primaryEndUsersOther)&&void 0!==a?a:"",e.next=14,x.e.put(i,n).then(function(e){return e.data});case 14:return s=e.sent,e.abrupt("return",[(0,w.UB)(s),null]);case 18:return e.prev=18,e.t0=e.catch(1),e.abrupt("return",(0,x.z)(e.t0));case 21:case"end":return e.stop()}},e,null,[[1,18]])})),function(e){return l.apply(this,arguments)}),D=(u=(0,p.Z)(f().mark(function e(n){var t;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,x.e.delete("requests",{params:{id:n}}).then(function(e){return e.data});case 3:return t=e.sent,e.abrupt("return",[t,null]);case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",(0,x.z)(e.t0));case 10:case"end":return e.stop()}},e,null,[[0,7]])})),function(e){return u.apply(this,arguments)}),N=(d=(0,p.Z)(f().mark(function e(n){var t;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,x.e.put("request-metadata",n).then(function(e){return e.data});case 3:return t=e.sent,e.abrupt("return",[(0,w.UB)(t),null]);case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",(0,x.z)(e.t0));case 10:case"end":return e.stop()}},e,null,[[0,7]])})),function(e){return d.apply(this,arguments)})},9595:function(e,n,t){"use strict";t.d(n,{Di:function(){return i},ON:function(){return r},TE:function(){return a}});var r=function(e){return JSON.stringify(e,void 0,2)},a=function(e){var n=document.createElement("textarea");n.value=e,document.body.appendChild(n),n.focus(),n.select();try{return document.execCommand("copy"),document.body.removeChild(n),!0}catch(e){return document.body.removeChild(n),!1}},i=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"application/json",r=window.URL.createObjectURL(new Blob([e],{type:t})),a=document.createElement("a");a.href=r,a.setAttribute("download",n),document.body.appendChild(a),a.click(),document.body.removeChild(a)}},80382:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/my-dashboard/integrations",function(){return t(22415)}])}},function(e){e.O(0,[662,925,661,706,620,822,338,263,762,845,774,888,179],function(){return e(e.s=80382)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[950],{49936:function(e,n,t){"use strict";var r,a=t(71383);t(67294);var i=t(11163),s=t(46312),o=t(71893),c=t(85330),l=t(4256),u=t(22280),d=t(85893),p=o.ZP.div(r||(r=(0,a.Z)(["\n height: 100%;\n overflow: auto;\n"])));n.Z=function(e){var n=e.tab,t=e.leftPanel,r=e.rightPanel,a=e.showResizable;e.children;var o=(0,i.useRouter)(),h=(0,d.jsxs)(c.mQ,{onChange:function(e){o.replace("/my-dashboard/".concat(e))},activeKey:n,tabBarGutter:30,children:[(0,d.jsx)(c.OK,{tab:"My Projects"},"integrations"),(0,d.jsx)(c.OK,{tab:"My Teams"},"teams")]});return(0,d.jsxs)(l.Z,{rules:u.F,children:[h,void 0===a||a?(0,d.jsx)(s.e,{style:{paddingTop:"2px",borderBottom:"3px solid black"},defaultSize:{width:"100%",height:.4*window.innerHeight},enable:{bottom:!0},handleStyles:{bottom:{bottom:0}},children:(0,d.jsx)(p,{children:t&&t()})}):t&&t(),(0,d.jsx)("br",{}),r&&r()]})}},24104:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return t5}});var r,a,i,s,o,c,l,u,d,p,h,f,x,v,g,m,b,j,y,w,Z,S,P,C,k,O,I,D,N,E,R,T,F,A,q,G,B,L,U,M,z,K,H,_,W,V,Y,J,$,Q,X,ee=t(50029),en=t(71383),et=t(87794),er=t.n(et),ea=t(67294),ei=t(71893),es=t(59499),eo=t(16530),ec=t(69829),el=t(85893);function eu(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function ed(e){for(var n=1;nsvg {\n overflow: initial;\n }\n ",close:"\n cursor: pointer !important;\n text-align: center;\n text-decoration: none;\n border-radius: 0.2222em;\n padding: 0.4em 0.5em;\n margin-right: 20px;\n "},size:{small:{container:"\n font-size: 0.8rem;\n "},medium:{container:"\n font-size: 1rem;\n "},large:{container:"\n font-size: 1.2rem;\n "}},variant:{success:{container:"\n background-color: #dff0d8;\n border-color: #d6e9c6;\n color: #2d4821;\n\n & a {\n color: #2b542c;\n }\n ",content:"\n color: #2d4821;\n ",close:"\n color: #2d4821;\n border: 1px solid #2d4821;\n\n &:hover {\n background: #2d4821;\n color: #fff;\n }\n ",group:"\n color: #2d4821;\n "},info:{container:"\n background-color: #d9eaf7;\n border-color: #afd3ee;\n color: #313132;\n\n & a {\n color: #1a5a96;\n }\n ",content:"\n color: #313132;\n ",close:"\n color: #313132;\n border: 1px solid #313132;\n\n &:hover {\n background: #313132;\n color: #fff;\n }\n ",group:"\n color: #313132;\n "},warning:{container:"\n background-color: #f9f1c6;\n border-color: #faebcc;\n color: #6c4a00;\n\n & a {\n color: #66512c;\n }\n ",content:"\n color: #66512c;\n ",close:"\n color: #66512c;\n border: 1px solid #66512c;\n\n &:hover {\n background: #66512c;\n color: #fff;\n }\n ",group:"\n color: #66512c;\n "},danger:{container:"\n background-color: #f2dede;\n border-color: #ebccd1;\n color: #a12622;\n\n & a {\n color: #843534;\n }\n ",content:"\n color: #a12622;\n ",close:"\n color: #a12622;\n border: 1px solid #a12622;\n\n &:hover {\n background: #a12622;\n color: #fff;\n }\n ",group:"\n color: #a12622;\n "}},flex:{container:"\n display: flex;\n ",group:"\n margin: auto 0.5rem;\n "}},{defaultProps:{variant:"info",size:"medium",flex:!0},staticProps:[]},{group:{align:{left:"\n margin-right: auto;\n ",right:"\n margin-left: auto;\n "}}}),eh=function(e){switch(e){case"success":return ec.CheckCircle;case"info":return ec.InfoCircle;case"warning":return ec.ExclamationTriangle;default:return ec.ExclamationCircle}};function ef(e){return(0,el.jsxs)(ep,ed(ed({},e),{},{children:[(0,el.jsx)(ep.Group,{style:{marginTop:"1px"},children:(0,el.jsx)(ec.FaSVG,{children:(0,el.jsx)("path",{fill:"currentColor",d:eh(e.variant)})})}),(0,el.jsx)(ep.Content,{children:e.content?e.content:e.children}),e.closable&&(0,el.jsx)(ep.Group,{align:"right",children:(0,el.jsx)(ep.Close,{children:"x"})})]}))}var ex=t(16835),ev=t(99603),eg=t(59417),em=t(64735),eb=t(42894),ej=t(7790),ey=t(9595),ew=t(58766),eZ=t(12183),eS=t(36063),eP=t(32098),eC=t(4602),ek=t(74150),eO=t(18269),eI=ei.ZP.div(o||(o=(0,en.Z)(["\n text-align: center;\n"]))),eD=ei.ZP.div(c||(c=(0,en.Z)(["\n color: #000;\n font-size: ",";\n font-weight: bold;\n"])),eZ.n5),eN=ei.ZP.span(l||(l=(0,en.Z)(["\n color: #3e3e3e;\n font-size: 14px;\n font-weight: 700;\n"]))),eE=ei.ZP.div(u||(u=(0,en.Z)(["\n height: var(--field-top-spacing);\n"]))),eR=ei.ZP.div(d||(d=(0,en.Z)(["\n font-size: 18px;\n font-weight: bold;\n color: #000;\n border-bottom: 1px solid gray;\n"]))),eT=(0,eS.hU)(function(e){var n,t,r,a=e.integration,i=e.alert,s=(0,ea.useState)(!1),o=s[0],c=s[1],l=(n=(0,ee.Z)(er().mark(function e(n){var t,r,s,o;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c(!0),e.next=3,(0,ej.OV)(a.id,n);case 3:if(t=e.sent,s=(r=(0,ex.Z)(t,2))[0],o=r[1],c(!1),!o){e.next=11;break}return i.show({variant:"danger",content:"Failed to download installation"}),e.abrupt("return",null);case 11:return e.abrupt("return",s);case 12:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}),u=(t=(0,ee.Z)(er().mark(function e(n){var t;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l(n);case 2:(t=e.sent)&&(0,ey.TE)((0,ey.ON)(t));case 4:case"end":return e.stop()}},e)})),function(e){return t.apply(this,arguments)}),d=(r=(0,ee.Z)(er().mark(function e(n){var t;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l(n);case 2:(t=e.sent)&&(0,ey.Di)((0,ey.ON)(t),"".concat(a.projectName,"-installation-").concat(n,".json"));case 4:case"end":return e.stop()}},e)})),function(e){return r.apply(this,arguments)});return o?(0,el.jsxs)(eI,{children:[(0,el.jsx)(eE,{}),(0,el.jsx)(eb.rj,{color:"#000",height:45,width:45,wrapperClass:"d-block",visible:!0})]}):(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(eE,{}),(0,el.jsx)(eR,{children:"Installation JSONs"}),(0,el.jsx)("br",{}),(0,el.jsx)(em.ZP,{cols:3,children:(0,ew.Dy)(a).map(function(e){if("service-account"!==a.authType&&0===e.idps.length)return null;var n=e.idps.length>0?"(".concat(e.idps.map(function(e){return eC.S[e]}).join(", "),")"):"";return(0,el.jsxs)(ea.Fragment,{children:[(0,el.jsx)(em.ZP.Row,{collapse:"992",gutter:[],align:"center",children:(0,el.jsx)(em.ZP.Col,{span:1,style:{width:"100%",height:"30px"},children:(0,el.jsxs)(eD,{children:[e.display," ",n]})})}),(0,el.jsx)(em.ZP.Row,{collapse:"992",gutter:[],align:"center",children:(0,el.jsxs)(em.ZP.Col,{span:3,children:[(0,el.jsx)("button",{className:"primary",onClick:function(){return u(e.name)},children:"Copy"}),"\xa0",(0,el.jsx)("button",{className:"primary",onClick:function(){return d(e.name)},children:"Download"}),"\xa0\xa0",(0,el.jsx)(ev.G,{color:"green",icon:eg.f8k,title:"Ready"}),"\xa0",(0,el.jsx)(eN,{children:"Ready"})]})}),(0,el.jsx)("br",{})]},e.name)})}),(0,el.jsxs)(eP.$,{children:["For more information on how to use these details, or for the public endpoints associated to your client,"," ",(0,el.jsx)(ek.default,{href:"".concat(eO.UN,"/integrating-your-application/installation-json"),external:!0,children:"click to learn more on our wiki page"}),"."]})]})}),eF=t(35166),eA=ei.ZP.div(p||(p=(0,en.Z)(["\n height: var(--field-top-spacing);\n"]))),eq=ei.ZP.span(h||(h=(0,en.Z)(["\n color: #000;\n font-size: 1.1rem;\n font-weight: bold;\n"])));(0,ei.ZP)(ev.G)(f||(f=(0,en.Z)(["\n margin-right: 20px;\n"])));var eG=ei.ZP.div(x||(x=(0,en.Z)(["\n margin-bottom: 5px;\n display: flex;\n align-items: center;\n"])));ei.ZP.hr(v||(v=(0,en.Z)(["\n background-color: black;\n"])));var eB=(0,eS.hU)(function(e){var n,t=e.selectedRequest,r=e.alert,a=(0,ea.useState)(null),i=a[0],s=a[1],o=(0,ew.Dy)(t),c=(0,ea.useState)(!1),l=c[0],u=c[1],d=function(e){s(e),u(!0)},p=(n=(0,ee.Z)(er().mark(function e(){var n,a,s,o,c,l;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,ej.hU)(t.id,(null==i?void 0:i.name)||null);case 2:n=e.sent,s=(a=(0,ex.Z)(n,2))[0],c=(o=a[1])?"danger":"success",l=o?"Failed to regenerate secret":"Client Secret Successfully Updated",r.show({variant:c,fadeOut:1e4,closable:!0,content:l}),window.location.hash="#",console.error(s,o);case 11:case"end":return e.stop()}},e)})),function(){return n.apply(this,arguments)}),h=(0,el.jsxs)(el.Fragment,{children:[(0,el.jsxs)(eG,{children:[(0,el.jsxs)("strong",{children:["You are about to change your client secret for your ",null==i?void 0:i.display," environment."]})," "]}),(0,el.jsx)("br",{}),(0,el.jsx)("p",{children:"Once you change your secret, your previous secret will no longer be valid for any applications using it."}),(0,el.jsx)("p",{children:"This means you will need to update any applications using this client with the new JSON details before they are functional again."})]});return(0,el.jsxs)(el.Fragment,{children:[(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(eA,{}),o.map(function(e){return(0,el.jsxs)(ea.Fragment,{children:[(0,el.jsxs)(eq,{children:[e.display,": "]}),!t.publicAccess&&(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)("br",{}),(0,el.jsx)("button",{className:"primary",type:"button",onClick:function(){return d(e)},children:"Change your client secret"})]}),(0,el.jsx)("br",{}),(0,el.jsx)("br",{})]},e.name)})]}),(0,el.jsx)(eF.Z,{id:"confirm-new-secret",content:h,onConfirm:p,icon:eg.eHv,buttonStyle:"primary",title:"You are about to change your client secret",openModal:l,handleClose:function(){return u(!1)},closable:!0})]})}),eL=t(20070),eU=t.n(eL),eM=t(35124),ez=t(85330),eK=t(23157),eH=t(11915),e_=t(43590),eW=t.n(e_);function eV(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function eY(e){for(var n=1;n * {\n padding-right: 0.5rem;\n }\n"]))),eX=ei.ZP.div(j||(j=(0,en.Z)(["\n padding-top: 10px;\n padding-bottom: 10px;\n"]))),e0=ei.ZP.div(y||(y=(0,en.Z)(["\n color: #ff0000;\n"]))),e1={name:"",envs:["dev"]},e2=(0,ea.forwardRef)(function(e,n){var t,r=e.integrationId,a=e.environments,i=void 0===a?["dev"]:a,s=(0,ea.useState)(!1),o=s[0],c=s[1],l=(0,ea.useState)({}),u=l[0],d=l[1],p=(0,ea.useState)({}),h=p[0],f=p[1],x=(0,ea.useState)([e1]),v=x[0],g=x[1];(0,ea.useImperativeHandle)(n,function(){var e;return{submit:(e=(0,ee.Z)(er().mark(function e(){var n,t,a,i,s,l,p,h;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=v,o&&(n=[],eW()(u,function(e,t){n.push({name:t,envs:e})})),e.next=4,(0,ej.tK)({integrationId:r,roles:n});case 4:if(t=e.sent,i=(a=(0,ex.Z)(t,2))[0],!a[1]){e.next=10;break}return e.abrupt("return",[!0,!1]);case 10:return s={},l={},p=!1,h=!1,eW()(i,function(e){e.failure.length>0&&eW()(e.failure,function(n){s[n]||(s[n]=[]),s[n].push(e.env),p=!0}),e.duplicate.length>0&&eW()(e.duplicate,function(n){l[n]||(l[n]=[]),l[n].push(e.env),h=!0})}),d(s),f(l),c(!0),e.abrupt("return",[p,h]);case 19:case"end":return e.stop()}},e)})),function(){return e.apply(this,arguments)}),reset:function(){g([e1]),d({}),f({}),c(!1)}}});var m=function(e){g(v.filter(function(n,t){return t!==e}))},b=function(e,n){g(v.map(function(t,r){return r===e?{name:n,envs:t.envs}:t}))},j=(t=(0,ee.Z)(er().mark(function e(n,t,r){return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:g(v.map(function(e,r){return r===n?{name:e.name,envs:t.map(function(e){return e.value})}:e}));case 2:case"end":return e.stop()}},e)})),function(e,n,r){return t.apply(this,arguments)}),y=null;if(o){var w=null,Z=null;Object.keys(h).length>0&&(w=(0,el.jsx)("tr",{children:(0,el.jsx)("td",{colSpan:3,children:(0,el.jsxs)(eQ,{children:[(0,el.jsx)(eX,{children:(0,el.jsx)(ev.G,{icon:eg.sqG,color:"#17a2b8",title:"duplicated roles",size:"lg"})}),(0,el.jsx)(eX,{children:"There are duplicated roles and we've skipped adding them."})]})})})),Object.keys(u).length>0&&(Z=(0,el.jsx)("tr",{children:(0,el.jsx)("td",{colSpan:3,children:(0,el.jsxs)(eQ,{children:[(0,el.jsx)(eX,{children:(0,el.jsx)(ev.G,{icon:eg.eHv,color:"#dc3545",title:"failed roles",size:"lg"})}),(0,el.jsxs)(eX,{children:["We were unable to save some of your changes.",(0,el.jsx)("br",{}),(0,el.jsx)("div",{className:"fw-bold",children:"Please try submitting again."})]})]})})})),y=(0,el.jsxs)(el.Fragment,{children:[w,Z]})}else y=(0,el.jsx)("tr",{children:(0,el.jsx)("td",{colSpan:3,children:v.length<20?(0,el.jsxs)(e$,{onClick:function(){g(v.concat(e1))},children:[(0,el.jsx)(ev.G,{style:{color:"#006fc4"},icon:eg.KtF,title:"Add Role"}),(0,el.jsx)("span",{children:"Add another role"})]}):(0,el.jsx)(e0,{children:"You can only create 20 roles at a time. Please save before creating any new roles."})})});return(0,el.jsx)("div",{children:(0,el.jsxs)(eJ,{children:[(0,el.jsx)("thead",{children:(0,el.jsxs)("tr",{children:[(0,el.jsx)("th",{className:"role",children:"Role Name"}),(0,el.jsx)("th",{className:"env",children:"Environments"}),(0,el.jsx)("th",{})]})}),(0,el.jsxs)("tbody",{children:[v.length>0?v.map(function(e,n){var t=function(n,t){return u[e.name]&&u[e.name].includes(t.children)?eY(eY({},n),{},{color:"#fff",backgroundColor:"#dc3545"}):h[e.name]&&h[e.name].includes(t.children)?eY(eY({},n),{},{color:"#fff",backgroundColor:"#17a2b8"}):n};return(0,el.jsxs)("tr",{children:[(0,el.jsx)("td",{className:"role",children:(0,el.jsx)(eH.default,{size:"small","data-testid":"role-name-input-field",minLength:"2",maxLength:"100",value:e.name,disabled:o,onChange:function(e){return b(n,e.target.value)}})}),(0,el.jsx)("td",{className:"env",children:(0,el.jsx)(eK.ZP,{value:e.envs.map(function(e){return{value:e,label:e}}),options:i.map(function(e){return{value:e,label:e}}),isMulti:!0,isDisabled:o,placeholder:"Select...",noOptionsMessage:function(){return"You selected all environments"},onChange:function(e,t){return j(n,e,t)},styles:{multiValueLabel:t,multiValue:t}})}),(0,el.jsx)("td",{children:!o&&v.length>1&&(0,el.jsx)(e$,{onClick:function(){return m(n)},children:(0,el.jsx)(ev.G,{style:{color:"#FF0303"},icon:eg.uMC,title:"Remove Role"})})})]},n)}):(0,el.jsx)("tr",{children:(0,el.jsx)("td",{colSpan:3,children:"No roles added."})}),y]})]})})}),e3=t(30274),e5=t(78258),e4=t(29207),e7=ei.ZP.div(w||(w=(0,en.Z)(["\n height: var(--field-top-spacing);\n"]))),e8=function(e){var n,t=e.integration,r=(0,ea.useRef)(eM.V),a=(0,ea.useState)("dev"),i=a[0],s=a[1],o=(0,ea.useState)(!1),c=o[0],l=o[1],u=(0,ea.useState)(0),d=u[0],p=u[1],h=(0,ea.useContext)(e4.SurveyContext);(0,ea.useEffect)(function(){s("dev"),l((0,e3.Yr)(t))},[t.id]);var f=(null==t?void 0:t.environments)||[];return(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(e7,{}),(0,el.jsx)("button",{disabled:!c,className:"primary",onClick:function(){r.current.open()},"data-testid":"create-role-button",children:"+ Create a New Role"}),(0,el.jsx)(e7,{}),(0,el.jsxs)(ez.mQ,{onChange:function(e){s(e)},activeKey:i,tabBarGutter:30,destroyInactiveTabPane:!0,children:[(0,el.jsx)("br",{}),f.map(function(e){return(0,el.jsx)(ez.OK,{tab:eU()(e),children:(0,el.jsx)(e5.Z,{environment:e,integration:t},d)},e)})]}),(0,el.jsx)(eM.Z,{ref:r,title:"Create New Role",icon:null,onConfirm:(n=(0,ee.Z)(er().mark(function e(n){var t,a,i,s;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.current.submit();case 2:if(t=e.sent,i=(a=(0,ex.Z)(t,2))[0],s=a[1],!i){e.next=11;break}return r.current.updateConfig({confirmButtonText:"Try Again"}),e.abrupt("return",!1);case 11:if(!s){e.next=17;break}return r.current.updateConfig({showConfirmButton:!1,cancelButtonText:"Close",buttonAlign:"right"}),p(function(e){return e+1}),e.abrupt("return",!1);case 17:return e.next=19,n.current.reset();case 19:p(function(e){return e+1}),null==h||h.setShowSurvey(!0,"createRole");case 21:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}),onCancel:function(e){e.current.reset()},confirmButtonText:"Save",confirmButtonVariant:"primary",cancelButtonVariant:"secondary",style:{maxHeight:"calc(100vh - 200px)",overflowY:"auto"},children:(0,el.jsx)(e2,{integrationId:t.id,environments:f})})]})},e6=t(27812),e9=t(29208),ne=t.n(e9),nn=t(93096),nt=t.n(nn),nr=t(34766),na=t.n(nr),ni=t(17762),ns=t(63916),no=t(94637),nc=t(10433),nl=(r=(0,ee.Z)(er().mark(function e(n){var t,r,a;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.field,r=n.search,e.prev=1,e.next=4,nc.e.post("bceid-webservice/idir/search",{field:t,search:r}).then(function(e){return e.data});case 4:return a=e.sent,e.abrupt("return",[a,null]);case 8:return e.prev=8,e.t0=e.catch(1),console.error(e.t0),e.abrupt("return",[null,e.t0]);case 12:case"end":return e.stop()}},e,null,[[1,8]])})),function(e){return r.apply(this,arguments)}),nu=(a=(0,ee.Z)(er().mark(function e(n){var t,r,a;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.guid,r=n.userId,e.prev=1,e.next=4,nc.e.post("bceid-webservice/idir/import",{guid:t,userId:r}).then(function(e){return e.data});case 4:return a=e.sent,e.abrupt("return",[a,null]);case 8:return e.prev=8,e.t0=e.catch(1),console.error(e.t0),e.abrupt("return",[null,e.t0]);case 12:case"end":return e.stop()}},e,null,[[1,8]])})),function(e){return a.apply(this,arguments)}),nd=[{value:"idir",label:"IDIR"}],np=[{value:"givenName",label:"First Name",allowed:["idir"]},{value:"surname",label:"Last Name",allowed:["idir"]},{value:"mail",label:"Email",allowed:["idir","bceidbasic","bceidbusiness"]},{value:"mailNickname",label:"Username",allowed:["idir","bceidbasic","bceidbusiness"]},{value:"guid",label:"IDP GUID",allowed:["bceidbasic","bceidbusiness"]}],nh=(0,ea.forwardRef)(function(e,n){e.key;var t,r,a=e.idp,i=e.property,s=e.search,o=e.infoModalRef,c=e.parentModalRef,l=(0,ea.useState)(!1),u=(l[0],l[1]),d=(0,ea.useState)(!1),p=d[0],h=d[1],f=(0,ea.useState)([]),x=f[0],v=f[1],g=(0,ea.useState)(""),m=g[0],b=g[1],j=(0,ea.useState)(i),y=j[0],w=j[1],Z=(0,ea.useState)(s),S=Z[0],P=Z[1],C=(0,ea.useState)(!1),k=C[0],O=C[1];(0,ea.useEffect)(function(){b(a)},[a]),(0,ea.useEffect)(function(){if(m){var e=np.find(function(e){return e.value===y});if(null==e?void 0:e.allowed.includes(m))I(S,y);else{var n=np.find(function(e){return e.allowed.includes(m)});w((null==n?void 0:n.value)||""),P("")}}},[m]);var I=(t=(0,ee.Z)(er().mark(function e(n){var t,r,a,i,s=arguments;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=s.length>1&&void 0!==s[1]?s[1]:y,!(n.length<2)){e.next=3;break}return e.abrupt("return");case 3:return h(!0),v([]),u(!0),e.next=8,nl({field:t,search:n});case 8:r=e.sent,i=(a=(0,ex.Z)(r,2))[0],a[1],i&&v(i),h(!1);case 14:case"end":return e.stop()}},e)})),function(e){return t.apply(this,arguments)}),D=(r=(0,ee.Z)(er().mark(function e(n){var t,r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return O(!1),e.next=3,nu({guid:n.guid,userId:n.userId});case 3:t=e.sent,(r=(0,ex.Z)(t,2))[0],r[1]?O(!0):c.current.close({idp:m,guid:n.guid});case 8:case"end":return e.stop()}},e)})),function(e){return r.apply(this,arguments)});return(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(ni.Z,{searchPlaceholder:"Enter search criteria",variant:"mini",headers:[{accessor:"firstName",Header:"First name"},{accessor:"lastName",Header:"Last Name"},{accessor:"email",Header:"Email"},{accessor:"idirUsername",Header:"IDIR username"},{accessor:"actions",Header:"",disableSortBy:!0}],rowSelectorKey:"guid",data:x.map(function(e){return{guid:e.guid,firstName:e.firstName,lastName:e.lastName,email:e.email,idirUsername:e.userId,actions:(0,el.jsxs)(ns.c4,{children:[(0,el.jsx)(ns.Kk,{icon:eg.Mdf,role:"button","aria-label":"view",onClick:function(){o.current.open({guid:e.guid,attributes:{username:e.userId,displayName:e.displayName,firstName:e.firstName,lastName:e.lastName,email:e.email,telephone:e.phone,company:e.company,department:e.department,title:e.jobTitle},_hash:c.current.getId()})},title:"View",size:"lg"}),(0,el.jsx)(ns.Kk,{icon:eg.q7m,role:"button","aria-label":"import",onClick:function(){return D(e)},title:"Import",size:"lg"})]})}}),colfilters:[{value:m,multiselect:!1,onChange:b,options:nd},{value:y,multiselect:!1,onChange:w,options:np.filter(function(e){return e.allowed.includes(m)})}],showFilters:!0,loading:p,totalColSpan:20,searchColSpan:10,headerAlign:"bottom",headerGutter:[5,0],searchKey:S,searchLocation:"right",onSearch:I,onEnter:I,noDataFoundElement:(0,el.jsx)("p",{children:"The user you searched for does not exist. Please try again, by entering the full search criteria."})}),k&&(0,el.jsx)("p",{className:"text-danger",children:"Failed to import the user. Please try again."})]})}),nf=t(11058);function nx(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function nv(e){for(var n=1;n * {\n padding-right: 0.5rem;\n }\n"]))),ny=ei.ZP.div(k||(k=(0,en.Z)(["\n padding-top: 10px;\n padding-bottom: 10px;\n"]))),nw=ei.ZP.div(O||(O=(0,en.Z)(["\n text-align: center;\n"]))),nZ=function(){return(0,el.jsxs)(nm,{children:[(0,el.jsx)(nb,{}),(0,el.jsx)(eb.rj,{color:"#000",height:45,width:45,wrapperClass:"d-block",visible:!0})]})},nS=[{value:"firstName",label:"First Name",search:!0,result:!0},{value:"lastName",label:"Last Name",search:!0,result:!0,style:{minWidth:"170px"}},{value:"email",label:"Email",search:!0,result:!0,style:{minWidth:"170px"}},{value:"guid",label:"IDP GUID",search:!0,result:!1}],nP=[{value:"firstName",label:"Display Name",search:!0,result:!0},{value:"lastName",label:"Username",search:!0,result:!0,style:{minWidth:"170px"}},{value:"email",label:"Email",search:!0,result:!0,style:{minWidth:"170px"}},{value:"guid",label:"IDP GUID",search:!0,result:!1}],nC=[{value:"firstName",label:"Name",search:!0,result:!0},{value:"lastName",label:"Login",search:!0,result:!0,style:{minWidth:"170px"}},{value:"email",label:"Email",search:!0,result:!0,style:{minWidth:"170px"}},{value:"guid",label:"IDP GUID",search:!0,result:!1}],nk={idir:nS,azureidir:nS,bceidbasic:nP,bceidbusiness:nP,bceidboth:nP,githubpublic:nC,githubbcgov:nC},nO=(0,eS.hU)(function(e){var n,t,r,a,i,s=e.selectedRequest,o=e.alert,c=(0,ea.useRef)(eM.V),l=(0,ea.useRef)(eM.V),u=(0,ea.useState)(!1),d=u[0],p=u[1],h=(0,ea.useState)(1),f=h[0],x=h[1],v=(0,ea.useState)(0),g=v[0],m=v[1],b=(0,ea.useState)(15),j=b[0],y=b[1],w=(0,ea.useState)(!1),Z=w[0],S=w[1],P=(0,ea.useState)(!1),C=P[0],k=P[1],O=(0,ea.useState)(!1),I=O[0],D=O[1],N=(0,ea.useState)(""),E=N[0],R=N[1],T=(0,ea.useState)([]),F=T[0],A=T[1],q=(0,ea.useState)([]),G=q[0],B=q[1],L=(0,ea.useState)([]),U=L[0],M=L[1],z=(0,ea.useState)([]),K=z[0],H=z[1],_=(0,ea.useState)("dev"),W=_[0],V=_[1],Y=(0,ea.useState)(s.devIdps[0]),J=Y[0],$=Y[1],Q=(0,ea.useState)(""),X=Q[0],en=Q[1],et=(0,ea.useState)(""),ei=et[0],es=et[1],eo=(0,ea.useState)(void 0),ec=eo[0],eu=eo[1],ed=(0,ea.useState)(!1),ep=ed[0],eh=ed[1],ef=(0,ea.useContext)(e4.SurveyContext),eb=(0,ea.useCallback)(nt()((n=(0,ee.Z)(er().mark(function e(n){var t,r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,D(!0);case 2:return R("Assigning role..."),eh(!1),e.next=6,(0,ej.$C)({environment:W,integrationId:s.id,username:ec,roleNames:n});case 6:if(t=e.sent,r=(0,ex.Z)(t,2)[1],D(!1),r){e.next=16;break}return R("Last saved at ".concat(new Date().toLocaleString())),null==ef||ef.setShowSurvey(!0,"addUserToRole"),e.abrupt("return",!0);case 16:return eh(!0),R("Failed to update roles."),e.abrupt("return",!1);case 19:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}),2e3,{trailing:!0}),[null==s?void 0:s.id,W,ec,ef]),ey=(t=(0,ee.Z)(er().mark(function e(){var n,t,r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(s){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,S(!0);case 4:return e.next=6,(0,ej.gE)({environment:W,integrationId:s.id,first:0,max:1e3});case 6:n=e.sent,r=(t=(0,ex.Z)(n,2))[0],t[1]&&o.show({variant:"danger",content:"Failed to fetch roles."}),B(null===r?[]:r.map(function(e){return e.name})),H(null===r?[]:r.map(function(e){return e.composite})),S(!1);case 15:case"end":return e.stop()}},e)})),function(){return t.apply(this,arguments)}),ew=function(){A([]),M([]),x(1),m(0),eu(void 0),p(!1)},eZ=function(){if(es(""),V("dev"),s.devIdps){var e=s.devIdps.length>0?s.devIdps[0]:"";$(e);var n=nk[e]||[];n.length>0&&en(n[0].value)}},eS=(r=(0,ee.Z)(er().mark(function e(n){var t,r,a;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,k(!0);case 2:return e.next=4,(0,ej.nu)({environment:W,integrationId:s.id,username:n});case 4:if(t=e.sent,a=(r=(0,ex.Z)(t,2))[0],!r[1]){e.next=12;break}return o.show({variant:"danger",content:"Failed to fetch user roles."}),k(!1),e.abrupt("return");case 12:return e.next=14,M(a||[]);case 14:k(!1);case 15:case"end":return e.stop()}},e)})),function(e){return r.apply(this,arguments)});(0,ea.useEffect)(function(){ew(),eZ(),B([])},[s.id]),(0,ea.useEffect)(function(){eP(ei,void 0,f)},[f]),(0,ea.useEffect)(function(){eP(ei,void 0,1)},[j]),(0,ea.useEffect)(function(){ew(),ey(),s.devIdps&&$(s.devIdps.length>0?s.devIdps[0]:"")},[W]),(0,ea.useEffect)(function(){ew();var e=nk[J]||[];!e.find(function(e){return e.search&&e.value===X})&&e.length>0&&en(e[0].value)},[J]),(0,ea.useEffect)(function(){R(""),ec&&eS(ec)},[ec]);var eP=(a=(0,ee.Z)(er().mark(function e(n){var t,r,a,i,c,l=arguments;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=l.length>1&&void 0!==l[1]?l[1]:X,r=l.length>2&&void 0!==l[2]?l[2]:f,!(n.length<2)){e.next=4;break}return e.abrupt("return");case 4:return S(!0),es(n),x(r),en(t),A([]),M([]),eu(void 0),e.next=13,(0,ej.sp)({environment:W,idp:J,property:t,searchKey:n,integrationId:s.id||-1});case 13:if(a=e.sent,c=(i=(0,ex.Z)(a,2))[0],i[1]&&o.show({variant:"danger",content:"Failed to fetch users."}),c){var u;p(!0),A((u=r,c.rows.slice((u-1)*15,15*u))),m(c.count)}S(!1);case 20:case"end":return e.stop()}},e)})),function(e){return a.apply(this,arguments)}),ek=function(e){return eP(e,void 0,1)},eO=(i=(0,ee.Z)(er().mark(function e(n,t){var r,a;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=[],"clear"===t.action||(r="remove-value"===t.action?U.filter(function(e){var n;return e!==(null===(n=t.removedValue)||void 0===n?void 0:n.value)}):"pop-value"===t.action?(0,e6.Z)(U.slice(0,-1)):[].concat((0,e6.Z)(U),[null===(a=t.option)||void 0===a?void 0:a.value])),!(r.length!==U.length)){e.next=7;break}return e.next=5,eb(r);case 5:e.sent&&M(r);case 7:case"end":return e.stop()}},e)})),function(e,n){return i.apply(this,arguments)}),eI=null;C?eI=(0,el.jsx)(nZ,{}):ec&&(eI=(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(ng,{children:"2. Assign User to a Role"}),(0,el.jsx)(eK.ZP,{value:U.map(function(e){return{value:e,label:e}}),options:G.map(function(e,n){return{value:e,label:!0==K[n]?"".concat(e," (Composite role)"):e}}),isMulti:!0,placeholder:"Select...",noOptionsMessage:function(){return"No roles"},onChange:eO,"data-testid":"user-role-select"}),(0,el.jsx)(ez.Ad,{saving:I,content:E,variant:ep?"error":"success"})]}));var eD="idir"===J,eN=nk[J]||[],eE=eN.length>0?eN.filter(function(e){return e.result}):[],eR=null;d&&eD&&(eR=(0,el.jsxs)(el.Fragment,{children:[F.length>0&&(0,el.jsx)(ez.XU,{italic:!0,children:"If you did not find the user you were looking for, you can try searching for the user in our IDIM Web Service Lookup tool. This tool uses a webservice to find IDIR users. so you will need to import the user that is found."}),(0,el.jsx)("button",{type:"button",className:"primary",style:{marginTop:"0.5rem"},"data-testid":"idim-search-button",onClick:function(){return l.current.open({key:new Date().getTime().toString(),idp:"idir",property:X,search:ei})},children:"Search in IDIM Web Service Lookup"})]}));var eT=(null==s?void 0:s.environments)||[],eF=(null==s?void 0:s.devIdps)||[],eA="guid"===X||null!=J&&J.startsWith("bceid")?"Exact text match results will be displayed":"Partial text match results will be displayed",eq=function(e){var n=eN.find(function(n){return n.value===e});return null==n?void 0:n.label.toString()};return(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(nb,{}),(0,el.jsx)(em.ZP,{cols:10,children:(0,el.jsxs)(em.ZP.Row,{collapse:"1100",gutter:[15,2],children:[(0,el.jsxs)(em.ZP.Col,{span:6,children:[(0,el.jsxs)(ez.h4,{variant:"dark",size:"sm",children:["1. Search for a user based on the selection criteria below \xa0",(0,el.jsx)(nf.Z,{title:"",content:"When searching BCeID GUID, please ensure your end users has logged in via your app (and indirectly our IDP) for this search to be successful.",hide:200})]}),(0,el.jsx)("div",{"data-testid":"role-search-table",children:(0,el.jsx)(ni.Z,{searchPlaceholder:"Enter search criteria",variant:"mini",rowSelectorKey:"username",headers:[{accessor:"firstName",Header:eq("firstName")||""},{accessor:"lastName",Header:eq("lastName")||""},{accessor:"email",Header:"Email"},{accessor:"actions",Header:"",disableSortBy:!0}],data:F.map(function(e){return{username:ne()(e,"username"),firstName:ne()(e,"firstName"),lastName:ne()(e,"lastName"),email:ne()(e,"email"),actions:(0,el.jsx)(ns.c4,{children:(0,el.jsx)(ns.Kk,{icon:eg.Mdf,role:"button","aria-label":"view",onClick:function(n){n.stopPropagation(),c.current.open({guid:e.username.split("@")[0],attributes:nv(nv({},na()(eE,function(n,t){return n[t.label]=ne()(e,t.value),n},{})),e.attributes)})},title:"View",size:"lg"})})}}),colfilters:[{key:"user-role-filter-env",value:W,multiselect:!1,onChange:V,options:eT.map(function(e){return{value:e,label:eU()(e)}})},{key:"user-role-filter-idp",value:J,multiselect:!1,onChange:$,options:eF.filter(function(e){return!["digitalcredential","bcservicescard"].includes(e)}).map(function(e){return{value:e,label:eC.S[e]}})},{key:"user-role-filter-prop",value:X,multiselect:!1,onChange:en,options:eN.filter(function(e){return e.search})}],showFilters:!0,loading:Z,totalColSpan:20,searchColSpan:10,headerAlign:"bottom",headerGutter:[5,0],searchKey:ei,searchLocation:"right",onSearch:ek,onEnter:ek,noDataFoundElement:d?(0,el.jsxs)(nj,{children:[(0,el.jsx)(ny,{children:(0,el.jsx)(ev.G,{icon:eg.RLE,color:"#D44331",title:"Edit",size:"lg"})}),eD?(0,el.jsx)(ny,{children:"The user you searched for does not exist. Please try again, by entering the full search criteria or try using our IDIM Web Service Lookup tool."}):(0,el.jsx)(ny,{children:"The user you searched for does not exist. Please try again, by entering the full search criteria."})]}):(0,el.jsx)(nw,{children:"You have not searched for any users yet."}),pagination:!0,pageLimits:[15],onPage:x,rowCount:g,limit:j,onLimit:function(e){y(e)},activateRow:function(e){eu(e.original.username)},searchTooltip:eA})}),eR]}),(0,el.jsx)(em.ZP.Col,{span:4,children:eI})]})}),(0,el.jsx)(no.Z,{modalRef:c}),(0,el.jsx)(eM.Z,{ref:l,id:"idim-webservice-lookup",title:"IDIM Web Service Lookup",icon:null,onClose:function(e,n,t){eP(t.guid,"guid",1)},cancelButtonText:"Close",cancelButtonVariant:"primary",showConfirmButton:!1,buttonAlign:"right",style:{minWidth:"800px",maxHeight:"calc(100vh - 200px)",overflowY:"auto"},children:function(e){return e?(0,el.jsx)(nh,{idp:e.idp,property:e.property,search:e.search,infoModalRef:c,parentModalRef:l},e.key):(0,el.jsx)(el.Fragment,{})}})]})}),nI=t(58292),nD=t(87414),nN=t(5845),nE=t(96270);function nR(e){var n,t=e.requestId,r=(0,ea.useState)(!1),a=r[0],i=r[1],s=(0,ea.useState)(!1),o=s[0],c=s[1],l=(0,ea.useState)([]),u=l[0],d=l[1],p=(n=(0,ee.Z)(er().mark(function e(){var n,r,a;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:return i(!0),e.next=5,(0,nD.v)({requestId:t,eventCode:"request-update-success",clearNotifications:!0});case 5:n=e.sent,a=(r=(0,ex.Z)(n,2))[0],r[1]?c(!0):a&&d(a.rows),i(!1);case 11:case"end":return e.stop()}},e)})),function(){return n.apply(this,arguments)});return((0,ea.useEffect)(function(){p()},[t]),o)?(0,el.jsx)(ef,{variant:"warning",content:"Failed to load details."}):a?(0,el.jsx)(nN.Z,{}):(0,el.jsx)(el.Fragment,{children:(0,el.jsx)(nE.Z,{events:u})})}var nT=t(4136),nF=t(71431),nA=t.n(nF),nq=ei.ZP.ul(I||(I=(0,en.Z)(["\n list-style-type: none;\n margin: 0;\n position: relative;\n\n & li {\n border-bottom: 1px solid #d4d4d4;\n & svg.svg-inline--fa {\n position: absolute;\n right: 0;\n }\n\n & div.icon {\n position: absolute;\n right: 0;\n bottom: 5px;\n }\n }\n"]))),nG=ei.ZP.div(D||(D=(0,en.Z)(["\n font-size: 18px;\n font-weight: bold;\n color: #000;\n border-bottom: 1px solid gray;\n"]))),nB=ei.ZP.div(N||(N=(0,en.Z)(["\n display: flex;\n justify-content: flex-start;\n\n & > *:nth-child(1) {\n margin-right: 5px;\n }\n"]))),nL="15px",nU=ei.ZP.div(E||(E=(0,en.Z)(["\n height: ",";\n width: ",";\n border-radius: ",";\n margin: ",";\n margin-left: 0;\n border: 2px solid #b3b3b3;\n"])),nL,nL,nL,"0"),nM=ei.ZP.li(R||(R=(0,en.Z)(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin: 0;\n\n & p {\n max-width: 90%;\n margin: 5px 0;\n }\n"]))),nz=function(){return(0,el.jsxs)(nB,{children:[(0,el.jsx)("div",{children:(0,el.jsx)(ev.G,{icon:eg.f8k,color:"#2E8540"})}),(0,el.jsx)("div",{children:(0,el.jsx)("span",{children:"Your integration is approved and available."})})]})};function nK(){return(0,el.jsx)(el.Fragment,{children:(0,el.jsxs)(nq,{children:[(0,el.jsxs)(nM,{children:["Requirements email sent to IDIM",(0,el.jsx)(ev.G,{icon:eg.f8k,color:"#00C45B"})]}),(0,el.jsxs)(nM,{children:[(0,el.jsxs)("p",{children:["Please reach out to IDIM if you do not hear back within the next 2-3 business days (",(0,el.jsx)(ek.default,{href:"mailto:IDIM.Consulting@gov.bc.ca",children:"IDIM.Consulting@gov.bc.ca"}),")"]}),(0,el.jsx)(ev.G,{icon:eg.FU$,color:"#b3b3b3"})]}),(0,el.jsxs)(nM,{children:[(0,el.jsx)("p",{children:"Access to prod"}),(0,el.jsx)(nU,{})]})]})})}var nH=function(e){var n=e.approvalContext,t=n.hasProd,r=n.hasBceid,a=n.awaitingBceidProd,i=n.bceidApproved;if(!t||!r)return null;var s=null;return i?s=(0,el.jsx)(nz,{}):a&&(s=(0,el.jsx)(nK,{})),(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)("br",{}),(0,el.jsx)(nG,{children:"Access to BCeID Prod"}),(0,el.jsx)("br",{}),s]})};function n_(){return(0,el.jsx)(el.Fragment,{children:(0,el.jsxs)(nq,{children:[(0,el.jsxs)(nM,{children:["Requirements email sent to GCIO",(0,el.jsx)(ev.G,{icon:eg.f8k,color:"#00C45B"})]}),(0,el.jsxs)(nM,{children:[(0,el.jsx)("p",{children:"Access to prod"}),(0,el.jsx)(nU,{})]})]})})}var nW=function(e){var n=e.approvalContext,t=n.hasProd,r=n.hasGithub,a=n.awaitingGithubProd,i=n.githubApproved;if(!t||!r)return null;var s=null;return i?s=(0,el.jsx)(nz,{}):a&&(s=(0,el.jsx)(n_,{})),(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)("br",{}),(0,el.jsx)(nG,{children:"Access to GitHub Prod"}),(0,el.jsx)("br",{}),s]})},nV=t(67302),nY=t(64306),nJ=t(34798),n$=t.n(nJ),nQ=ei.ZP.label(T||(T=(0,en.Z)(["\n font-weight: bold;\n margin-bottom: 2px;\n"])));ei.ZP.div(F||(F=(0,en.Z)(["\n background-color: #f1f1f1;\n margin: 2px 0 2px 0;\n padding: 4px 6px;\n ","\n"])),function(e){return e.width?"width: ".concat(e.width,";"):"width: 300px;"});var nX=ei.ZP.div(A||(A=(0,en.Z)(["\n text-align: center;\n"]))),n0=ei.ZP.div(q||(q=(0,en.Z)(["\n height: var(--field-top-spacing);\n"]))),n1=function(){return(0,el.jsxs)(nX,{children:[(0,el.jsx)(n0,{}),(0,el.jsx)(eb.rj,{color:"#000",height:45,width:45,wrapperClass:"d-block",visible:!0})]})},n2=(0,eS.hU)(function(e){var n,t,r,a,i=e.selectedRequest,s=e.alert,o=(0,ea.useState)(!1),c=(o[0],o[1]),l=(0,ea.useState)(!1),u=l[0],d=l[1],p=(0,ea.useState)(!1),h=p[0],f=p[1],x=(0,ea.useState)(""),v=x[0],g=x[1],m=(0,ea.useState)([]),b=m[0],j=m[1],y=(0,ea.useState)([]),w=y[0],Z=y[1],S=(0,ea.useState)(void 0),P=S[0];S[1];var C=(0,ea.useState)("dev"),k=C[0],O=C[1],I=(0,ea.useState)(!1),D=I[0],N=I[1],E=(null==i?void 0:i.environments)||[],R=(0,ea.useCallback)(nt()((n=(0,ee.Z)(er().mark(function e(n){var t,r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return f(!0),g("Assigning role..."),N(!1),e.next=5,(0,ej.$C)({environment:k,integrationId:i.id,username:(0,nY.Sf)(i.clientId),roleNames:n});case 5:if(t=e.sent,r=(0,ex.Z)(t,2)[1],f(!1),!r){e.next=15;break}return N(!0),g("Failed to update roles."),e.abrupt("return",!1);case 15:return g("Last saved at ".concat(new Date().toLocaleString())),e.abrupt("return",!0);case 17:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}),2e3,{trailing:!0}),[null==i?void 0:i.id,k,P]),T=(t=(0,ee.Z)(er().mark(function e(n,t){var r,a;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=[],"clear"===t.action||(r="remove-value"===t.action?w.filter(function(e){var n;return e!==(null===(n=t.removedValue)||void 0===n?void 0:n.value)}):"pop-value"===t.action?(0,e6.Z)(w.slice(0,-1)):[].concat((0,e6.Z)(w),[null===(a=t.option)||void 0===a?void 0:a.value])),!(w.length!==r.length)){e.next=7;break}return e.next=5,R(r);case 5:e.sent&&Z(r);case 7:case"end":return e.stop()}},e)})),function(e,n){return t.apply(this,arguments)}),F=(r=(0,ee.Z)(er().mark(function e(){var n,t,r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(i){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,c(!0);case 4:return e.next=6,(0,ej.gE)({environment:k,integrationId:i.id,first:0,max:1e3});case 6:n=e.sent,r=(t=(0,ex.Z)(n,2))[0],t[1]&&s.show({variant:"danger",content:"Failed to fetch roles."}),j(null===r?[]:r.map(function(e){return e.name})),c(!1);case 14:case"end":return e.stop()}},e)})),function(){return r.apply(this,arguments)}),A=(a=(0,ee.Z)(er().mark(function e(n){var t,r,a;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d(!0);case 2:return e.next=4,(0,ej.nu)({environment:k,integrationId:i.id,username:n});case 4:if(t=e.sent,a=(r=(0,ex.Z)(t,2))[0],!r[1]){e.next=12;break}return s.show({variant:"danger",content:"Failed to fetch roles."}),d(!1),e.abrupt("return");case 12:return e.next=14,Z(a||[]);case 14:d(!1);case 15:case"end":return e.stop()}},e)})),function(e){return a.apply(this,arguments)});return(0,ea.useEffect)(function(){F(),g(""),A((0,nY.Sf)(i.clientId))},[k]),(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(nV.Z,{children:(0,el.jsx)(ez.bZ,{variant:"info",closable:!1,"data-testid":"assign-svc-acct-role-risk-alert",children:(0,el.jsxs)("span",{className:"normal",children:["There may be a security risk if you rely on client roles of a service account,"," ",(0,el.jsx)(ek.default,{external:!0,href:(0,eO.eO)("Creating-a-Role#service-account-role-management"),children:"click to visit our wiki page"})]})})}),(0,el.jsxs)(ez.mQ,{onChange:function(e){O(e)},activeKey:k,tabBarGutter:30,destroyInactiveTabPane:!0,children:[(0,el.jsx)("br",{}),E.map(function(e){return(0,el.jsx)(ez.OK,{tab:eU()(e),children:(0,el.jsx)(em.ZP,{cols:10,children:(0,el.jsxs)(em.ZP.Row,{collapse:"1100",gutter:[15,2],children:[(0,el.jsx)(em.ZP.Col,{span:5,children:(0,el.jsx)(ni.Z,{headers:[{accessor:"projectName",Header:"Service Account"}],data:[{projectName:i.projectName}],colfilters:[],activateRow:n$(),rowSelectorKey:"projectName"})}),(0,el.jsx)(em.ZP.Col,{span:5,children:u?(0,el.jsx)(n1,{}):(0,el.jsxs)("div",{children:[(0,el.jsx)(nQ,{children:"Assign Service Account to a Role"}),(0,el.jsx)("div",{"data-testid":"assign-svc-acct-to-role-select",children:(0,el.jsx)(eK.ZP,{value:w.map(function(e){return{value:e,label:e}}),options:b.map(function(e){return{value:e,label:e}}),isMulti:!0,placeholder:"Select...",noOptionsMessage:function(){return"No roles"},onChange:T})}),(0,el.jsx)(ez.Ad,{saving:h,content:v,variant:D?"error":"success"})]})})]})})},e)})]})]})});function n3(){return(0,el.jsx)(el.Fragment,{children:(0,el.jsxs)(nq,{children:[(0,el.jsxs)(nM,{children:["Requirements email sent to IDIM",(0,el.jsx)(ev.G,{icon:eg.f8k,color:"#00C45B"})]}),(0,el.jsxs)(nM,{children:[(0,el.jsxs)("p",{children:["Please reach out to IDIM if you do not hear back within the next 2-3 business days (",(0,el.jsx)(ek.default,{href:"mailto:IDIM.Consulting@gov.bc.ca",children:"IDIM.Consulting@gov.bc.ca"}),")"]}),(0,el.jsx)(ev.G,{icon:eg.FU$,color:"#b3b3b3"})]}),(0,el.jsxs)(nM,{children:[(0,el.jsx)("p",{children:"Access to prod"}),(0,el.jsx)(nU,{})]})]})})}var n5=function(e){var n=e.approvalContext,t=n.hasProd,r=n.hasBcServicesCard,a=n.awaitingBcServicesCardProd,i=n.bcServicesCardApproved;if(!t||!r)return null;var s=null;return i?s=(0,el.jsx)(nz,{}):a&&(s=(0,el.jsx)(n3,{})),(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)("br",{}),(0,el.jsx)(nG,{children:"Access to BC Services Card Prod"}),(0,el.jsx)("br",{}),s]})},n4=t(29009),n7=t(41087),n8=t(14195),n6=t(3023),n9=t(75358),te=t(26050),tn=t(33558),tt=t(18242),tr=t(84642),ta=(i=(0,ee.Z)(er().mark(function e(n,t,r,a){var i;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,nc.e.get("requests/".concat(n,"/metrics?env=").concat(t,"&fromDate=").concat(r,"&toDate=").concat(a)).then(function(e){return null==e?void 0:e.data});case 3:return i=e.sent,e.abrupt("return",[i,null]);case 7:return e.prev=7,e.t0=e.catch(0),console.error(e.t0),e.abrupt("return",[null,e.t0]);case 11:case"end":return e.stop()}},e,null,[[0,7]])})),function(e,n,t,r){return i.apply(this,arguments)}),ti=(s=(0,ee.Z)(er().mark(function e(n,t,r,a,i,s){var o;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,nc.e)({url:"requests/".concat(n,"/logs?env=").concat(t,"&start=").concat(r,"&end=").concat(a),method:"GET",responseType:"blob",onDownloadProgress:i,signal:null==s?void 0:s.signal}).then(function(e){return null==e?void 0:e.data});case 3:return o=e.sent,e.abrupt("return",[o,null]);case 7:return e.prev=7,e.t0=e.catch(0),console.error(e.t0),e.abrupt("return",[null,e.t0]);case 11:case"end":return e.stop()}},e,null,[[0,7]])})),function(e,n,t,r,a,i){return s.apply(this,arguments)}),ts=t(9198),to=t.n(ts);t(459);var tc=t(31879);function tl(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function tu(e){return(0,el.jsx)(el.Fragment,{children:(0,el.jsx)(to(),function(e){for(var n=1;n * {\n margin-left: 15px;\n }\n"])));ei.ZP.label(B||(B=(0,en.Z)(["\n margin-bottom: 2px;\n"])));var tf=ei.ZP.div(L||(L=(0,en.Z)(["\n height: var(--field-top-spacing);\n"])));ei.ZP.span(U||(U=(0,en.Z)(["\n color: #000;\n font-size: 1.1rem;\n font-weight: bold;\n"]))),(0,ei.ZP)(ev.G)(M||(M=(0,en.Z)(["\n margin-right: 20px;\n"]))),ei.ZP.div(z||(z=(0,en.Z)(["\n margin-bottom: 5px;\n display: flex;\n align-items: center;\n"]))),ei.ZP.hr(K||(K=(0,en.Z)(["\n background-color: black;\n"])));var tx=function(e){return"".concat(e.getFullYear(),"-").concat(e.getMonth()+1,"-").concat(e.getDate())},tv="December 01, 2023",tg=(0,eS.hU)(function(e){var n,t=e.integration,r=e.alert,a=(0,ea.useState)("dev"),i=a[0],s=a[1],o=(null==t?void 0:t.environments)||[],c=(0,ea.useState)([]),l=c[0],u=c[1],d=(0,ea.useState)(!1);d[0],d[1];var p=(0,ea.useState)((0,ew.F3)(14)),h=p[0],f=p[1],x=(0,ea.useState)(new Date),v=x[0],g=x[1],m=(0,ea.useContext)(e4.SurveyContext),b=function(e){f(e)},j=function(e){g(e)},y=(0,ea.useCallback)(nt()((n=(0,ee.Z)(er().mark(function e(n,a,i){var s,o,c;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ta(null==t?void 0:t.id,i,n,a);case 2:s=e.sent,c=(o=(0,ex.Z)(s,2))[0],o[1]?r.show({variant:"danger",content:"Failed to fetch metrics"}):(u(c),c.length>0&&(null==m||m.setShowSurvey(!0,"viewMetrics")));case 7:case"end":return e.stop()}},e)})),function(e,t,r){return n.apply(this,arguments)})),[null==t?void 0:t.clientId,i,h,v]);return(0,ea.useEffect)(function(){y(tx(h),tx(v),i)},[null==t?void 0:t.clientId,i,h,v]),(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(tf,{}),(0,el.jsx)("div",{children:(0,el.jsxs)(th,{children:[(0,el.jsx)(tu,{placeholderText:"Start Date",selected:new Date(h),onChange:function(e){return b(e)},minDate:new Date(tv),maxDate:v,label:"Start Date"}),(0,el.jsx)(tu,{placeholderText:"End Date",selected:new Date(v),onChange:function(e){return j(e)},minDate:h,label:"End Date"})]})}),(0,el.jsxs)(ez.mQ,{onChange:function(e){s(e)},activeKey:i,tabBarGutter:30,destroyInactiveTabPane:!0,children:[(0,el.jsx)("br",{}),o.map(function(e){return(0,el.jsx)(ez.OK,{tab:eU()(e),children:(0,el.jsx)("div",{style:{width:"100%",height:300},children:(null==l?void 0:l.length)>0?(0,el.jsx)(n4.h,{children:(0,el.jsxs)(n7.v,{data:l,margin:{top:20,right:20,bottom:30,left:20},children:[(0,el.jsx)(n8.q,{strokeDasharray:"3 3"}),(0,el.jsx)(n6.K,{dataKey:"event",tick:{fontSize:10},label:{value:"Events",position:"insideBottomRight"}}),(0,el.jsx)(n9.B,{dataKey:"count",label:{value:"Count",angle:-90,position:"insideLeft"}}),(0,el.jsx)(te.u,{}),(0,el.jsx)(tn.D,{}),(0,el.jsx)(tt.$,{dataKey:"count",fill:"#0d6efd",barSize:30,label:{fill:"#0d6efd",fontSize:20,position:"top"},background:{fill:"#eee"}})]})}):(0,el.jsx)("div",{style:{textAlign:"center"},children:(0,el.jsx)(tr.x,{children:"No data available yet!"})})})},e)})]}),(0,el.jsxs)(eP.$,{children:["This tab was released ",tv,". Please refer to"," ",(0,el.jsx)(tp.rU,{href:"https://access.redhat.com/documentation/en-us/red_hat_single_sign-on/7.4/html/server_administration_guide/auditing_and_events#event_types",external:!0,children:"Redhat's definition"})," ","for event type details."]})]})}),tm=ei.ZP.div(H||(H=(0,en.Z)(["\n display: flex;\n flex-direction: row;\n column-gap: 1.5em;\n justify-content: center;\n min-width: 20em;\n margin: 0;\n padding: 0;\n"]))),tb=ei.ZP.form(_||(_=(0,en.Z)(["\n display: flex;\n flex-direction: column;\n row-gap: 1.5em;\n\n .header {\n margin-top: 1em;\n display: flex;\n align-items: center;\n p {\n font-weight: bold;\n padding-right: 0.4em;\n margin: 0;\n font-size: 18px;\n }\n }\n\n .bold {\n font-weight: bold;\n }\n\n .env-controls {\n margin: 0;\n legend {\n font-size: unset;\n font-weight: bold;\n }\n\n input {\n margin-right: 0.2em;\n }\n\n label {\n margin-right: 1em;\n }\n }\n\n .date-picker-container {\n height: 100%;\n display: flex;\n align-items: center;\n column-gap: 1em;\n }\n\n select {\n margin-left: 0.5em;\n width: 200px;\n }\n\n .button-container {\n display: flex;\n flex-diretion: row;\n align-items: center;\n\n p {\n margin: 0;\n margin-left: 1em;\n }\n }\n\n .error-text {\n font-size: 14px;\n color: red;\n margin: 0;\n height: 1em;\n }\n"]))),tj=function(e,n){var t=new Blob([JSON.stringify(n)],{type:"text/json"}),r=document.createElement("a");r.download=e,r.href=window.URL.createObjectURL(t),r.dataset.downloadurl=["text/json",r.download,r.href].join(":");var a=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0});r.dispatchEvent(a),r.remove()},ty={dev:"Development",test:"Test",prod:"Production"},tw=new Date("February 13, 2024"),tZ=(0,eS.hU)(function(e){var n,t=e.integration,r=e.alert,a=(0,ea.useState)("dev"),i=a[0],s=a[1],o=(null==t?void 0:t.environments)||[],c=(0,ea.useState)(!1),l=c[0],u=c[1],d=(0,ea.useState)((0,ew.F3)(1)),p=d[0],h=d[1],f=(0,ea.useState)(new Date),x=f[0],v=f[1],g=(0,ea.useState)(""),m=g[0],b=g[1],j=(0,ea.useState)(0),y=j[0],w=j[1],Z=(0,ea.useState)(new Date),S=Z[0],P=Z[1],C=(0,ea.useState)(),k=C[0],O=C[1],I=(0,ea.useContext)(e4.SurveyContext),D=(0,ea.useState)(!1),N=D[0],E=D[1];(0,ea.useEffect)(function(){p&&(Date.now()-p.getTime()>1728e5?P(new Date(p.getTime()+1728e5)):P(new Date),x&&(x.getTime()1728e5)&&v(null))},[p]),(0,ea.useEffect)(function(){x&&p&&x.getTime()0&&w(e[0])}else(null==e?void 0:e.length)>0&&w(e[0])},S=(t=(0,ee.Z)(er().mark(function e(){var n,t,r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return d(!0),e.next=3,(0,tW.XJ)();case 3:n=e.sent,r=(t=(0,ex.Z)(n,2))[0],f(!!t[1]),Z(r||[]),d(!1);case 10:case"end":return e.stop()}},e)})),function(){return t.apply(this,arguments)});(0,ea.useEffect)(function(){S(),o.replace("/my-dashboard/integrations")},[]),(0,ea.useEffect)(function(){return(0,ew.rn)(v||[])&&(clearInterval(r),r=setInterval((0,ee.Z)(er().mark(function e(){var n,t,a;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,tW.XJ)();case 2:n=e.sent,a=(t=(0,ex.Z)(n,2))[0],t[1]?clearInterval(r):Z(a||[]);case 7:case"end":return e.stop()}},e)})),5e3)),function(){r&&clearInterval(r)}},[v,b]);var P=h?(0,el.jsx)(tY.q1,{}):v&&0!==v.length?(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)("h2",{children:"Integrations"}),(0,el.jsx)(ni.Z,{headers:[{accessor:"id",Header:"Request ID"},{accessor:"projectName",Header:"Project Name"},{accessor:"status",Header:"Status"},{accessor:"authType",Header:"Usecase"},{accessor:"serviceType",Header:"Service Type"},{accessor:"actions",Header:(0,el.jsx)(tQ,{}),disableSortBy:!0}],data:null==v?void 0:v.map(function(e){return{id:tX(e.id),projectName:e.projectName,status:(0,nI.n)(e.status||"draft"),authType:tV.F[e.authType||"browser-login"],serviceType:"Gold",actions:(0,el.jsx)(tJ,{children:(0,el.jsx)(ns.ZP,{request:e,onDelete:function(n,t){t?s.show({variant:"danger",content:"Failed to delete integration ".concat(e.projectName,".")}):S()},defaultActiveColor:"#fff",delIconStyle:{marginLeft:"7px"}})})}}),activateRow:function(e){var n=e.cells[0].value;v.forEach(function(e){e.id==n&&w(e)})},activeSelector:b&&tX(b),rowSelectorKey:"id",colfilters:[]})]}):(0,el.jsx)(tY.Vs,{message:"No Requests Submitted"});return u?(0,el.jsx)(nN.Z,{}):(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)("br",{}),(0,el.jsx)(t0,{handleNewIntegrationClick:y,integrations:v}),(0,el.jsx)("br",{}),(0,el.jsx)("br",{}),P]})}),t2=t(49936),t3=ei.ZP.div(X||(X=(0,en.Z)(["\n display: flex;\n flex-direction: column;\n flex-basis: 100%;\n flex: 1;\n"]))),t5=function(e){e.session;var n,t=(0,t_.useRouter)(),r=(0,ea.useState)(null),a=r[0],i=r[1],s=(0,ea.useState)(1),o=s[0],c=s[1],l=(0,ea.useState)(!1),u=l[0],d=l[1],p="integration-failed-modal",h=(n=(0,ee.Z)(er().mark(function e(){return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",window.location.hash=p);case 1:case"end":return e.stop()}},e)})),function(){return n.apply(this,arguments)}),f=(0,ea.useState)(""),x=f[0],v=f[1];return(0,ea.useEffect)(function(){var e;v(t.query.requestId),(null==t?void 0:null===(e=t.query)||void 0===e?void 0:e.integrationFailedMessageModal)==="true"&&(d(!0),h())},[t.query.showModal]),(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(t2.Z,{tab:"integrations",leftPanel:function(){return(0,el.jsx)(t1,{setIntegration:i,setIntegrationCount:c})},rightPanel:function(){return a&&(0,el.jsx)(tH,{integration:a})},showResizable:o>0}),(0,el.jsx)(eF.Z,{id:p,openModal:u,handleClose:function(){return d(!1)},title:"".concat(x," - Integration request failed"),content:(0,el.jsxs)("div",{children:[(0,el.jsx)("div",{children:(0,el.jsx)("p",{children:"The integration request could not be completed. Please contact the Pathfinder SSO Team."})}),(0,el.jsxs)("div",{style:{display:"flex",flexDirection:"row",flexWrap:"wrap",width:"100%"},children:[(0,el.jsx)(t3,{children:(0,el.jsx)("div",{children:(0,el.jsxs)("a",{href:"https://chat.developer.gov.bc.ca/channel/sso",target:"_blank",title:"Rocket Chat",style:{color:"#0d6efd"},children:[(0,el.jsx)(ev.G,{size:"1x",icon:eg.Z6I,color:"#0d6efd"})," Rocketchat"]})})}),(0,el.jsx)(t3,{children:(0,el.jsx)("div",{children:(0,el.jsxs)("a",{href:"mailto:bcgov.sso@gov.bc.ca",title:"Pathfinder SSO",style:{color:"#0d6efd"},children:[(0,el.jsx)(ev.G,{size:"1x",icon:eg.FU$,color:"#0d6efd"})," Email"]})})})]})]}),showCancel:!1,showConfirm:!1,skipCloseOnConfirm:!0,closable:!0})]})}},27008:function(e,n,t){"use strict";t.d(n,{A_:function(){return S},H0:function(){return C},Jl:function(){return D},OS:function(){return k},Uw:function(){return N},WN:function(){return I},XJ:function(){return P},hG:function(){return Z},zD:function(){return O}});var r,a,i,s,o,c,l,u,d,p=t(50029),h=t(87794),f=t.n(h),x=t(10433),v=t(75316),g=t.n(v),m=t(25751),b=t.n(m),j=t(76427),y=t.n(j),w=t(58766),Z=(r=(0,p.Z)(f().mark(function e(n){var t;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,x.e.post("requests",n).then(function(e){return e.data});case 3:return t=e.sent,e.abrupt("return",[(0,w.UB)(t),null]);case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",(0,x.z)(e.t0));case 10:case"end":return e.stop()}},e,null,[[0,7]])})),function(e){return r.apply(this,arguments)}),S=(a=(0,p.Z)(f().mark(function e(n){var t;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,x.e.post("request",{requestId:b()(n)?parseInt(n):n}).then(function(e){return e.data});case 3:return t=e.sent,e.abrupt("return",[(0,w.UB)(t),null]);case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",(0,x.z)(e.t0));case 10:case"end":return e.stop()}},e,null,[[0,7]])})),function(e){return a.apply(this,arguments)}),P=(i=(0,p.Z)(f().mark(function e(){var n,t,r=arguments;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n={params:{include:r.length>0&&void 0!==r[0]?r[0]:"active"}},e.prev=2,e.next=5,x.e.get("requests",n).then(function(e){return e.data});case 5:return t=e.sent,t=g()(t,["createdAt"],["desc"]),e.abrupt("return",[t.map(w.UB),null]);case 10:return e.prev=10,e.t0=e.catch(2),e.abrupt("return",(0,x.z)(e.t0));case 13:case"end":return e.stop()}},e,null,[[2,10]])})),function(){return i.apply(this,arguments)}),C=(s=(0,p.Z)(f().mark(function e(n){var t;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,x.e.get("team-integrations/".concat(n)).then(function(e){return e.data});case 3:return t=e.sent,t=g()(t,["createdAt"],["desc"]),e.abrupt("return",[t.map(w.UB),null]);case 8:return e.prev=8,e.t0=e.catch(0),e.abrupt("return",(0,x.z)(e.t0));case 11:case"end":return e.stop()}},e,null,[[0,8]])})),function(e){return s.apply(this,arguments)}),k=(o=(0,p.Z)(f().mark(function e(n,t){var r;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,x.e.post("requests/".concat(n,"/restore"),{email:t}).then(function(e){return e.data});case 3:return r=e.sent,e.abrupt("return",[(0,w.UB)(r),null]);case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",(0,x.z)(e.t0));case 10:case"end":return e.stop()}},e,null,[[0,7]])})),function(e,n){return o.apply(this,arguments)}),O=(c=(0,p.Z)(f().mark(function e(n){var t;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,x.e.post("requests-all",n).then(function(e){return e.data});case 3:return t=e.sent,e.abrupt("return",[{count:t.count,rows:t.rows.map(w.UB)},null]);case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",(0,x.z)(e.t0));case 10:case"end":return e.stop()}},e,null,[[0,7]])})),function(e){return c.apply(this,arguments)}),I=(l=(0,p.Z)(f().mark(function e(n){var t,r,a,i,s,o=arguments;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=o.length>1&&void 0!==o[1]&&o[1],e.prev=1,i="requests",t&&(i="".concat(i,"?submit=true")),(n=y()(n,["user","lastChanges"])).devLoginTitle=n.devLoginTitle||"",n.testLoginTitle=n.testLoginTitle||"",n.prodLoginTitle=n.prodLoginTitle||"",n.additionalRoleAttribute=n.additionalRoleAttribute||"",n.clientId=n.clientId||"",n.primaryEndUsers=null!==(r=n.primaryEndUsers)&&void 0!==r?r:[],n.primaryEndUsersOther=null!==(a=n.primaryEndUsersOther)&&void 0!==a?a:"",e.next=14,x.e.put(i,n).then(function(e){return e.data});case 14:return s=e.sent,e.abrupt("return",[(0,w.UB)(s),null]);case 18:return e.prev=18,e.t0=e.catch(1),e.abrupt("return",(0,x.z)(e.t0));case 21:case"end":return e.stop()}},e,null,[[1,18]])})),function(e){return l.apply(this,arguments)}),D=(u=(0,p.Z)(f().mark(function e(n){var t;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,x.e.delete("requests",{params:{id:n}}).then(function(e){return e.data});case 3:return t=e.sent,e.abrupt("return",[t,null]);case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",(0,x.z)(e.t0));case 10:case"end":return e.stop()}},e,null,[[0,7]])})),function(e){return u.apply(this,arguments)}),N=(d=(0,p.Z)(f().mark(function e(n){var t;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,x.e.put("request-metadata",n).then(function(e){return e.data});case 3:return t=e.sent,e.abrupt("return",[(0,w.UB)(t),null]);case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",(0,x.z)(e.t0));case 10:case"end":return e.stop()}},e,null,[[0,7]])})),function(e){return d.apply(this,arguments)})},9595:function(e,n,t){"use strict";t.d(n,{Di:function(){return i},ON:function(){return r},TE:function(){return a}});var r=function(e){return JSON.stringify(e,void 0,2)},a=function(e){var n=document.createElement("textarea");n.value=e,document.body.appendChild(n),n.focus(),n.select();try{return document.execCommand("copy"),document.body.removeChild(n),!0}catch(e){return document.body.removeChild(n),!1}},i=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"application/json",r=window.URL.createObjectURL(new Blob([e],{type:t})),a=document.createElement("a");a.href=r,a.setAttribute("download",n),document.body.appendChild(a),a.click(),document.body.removeChild(a)}},80382:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/my-dashboard/integrations",function(){return t(24104)}])}},function(e){e.O(0,[662,925,661,706,620,822,338,263,762,845,774,888,179],function(){return e(e.s=80382)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/request-7791264690f4104e.js b/_next/static/chunks/pages/request-89211ce9d3aebaba.js similarity index 88% rename from _next/static/chunks/pages/request-7791264690f4104e.js rename to _next/static/chunks/pages/request-89211ce9d3aebaba.js index 4ccca22..56b1f39 100644 --- a/_next/static/chunks/pages/request-7791264690f4104e.js +++ b/_next/static/chunks/pages/request-89211ce9d3aebaba.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[800],{97145:function(e,r,t){"use strict";t.r(r);var n=t(59499),c=t(81500),o=t(4256),u=t(85893);function i(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,n)}return t}function s(e){for(var r=1;r0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,r,o];return}for(var i=1/0,u=0;u=o&&Object.keys(s.O).every(function(e){return s.O[e](n[f])})?n.splice(f--,1):(c=!1,o0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,r,o];return}for(var i=1/0,u=0;u=o&&Object.keys(l.O).every(function(e){return l.O[e](n[f])})?n.splice(f--,1):(c=!1,ocode{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:#6c757d;text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}tbody,td,tfoot,th,thead,tr{border:0 solid;border-color:inherit}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-6{font-size:2.5rem}}.list-inline,.list-unstyled{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer:before{content:"— "}.img-fluid,.img-thumbnail{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#fff;border:1px solid var(--bs-border-color);border-radius:.375rem}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:#6c757d}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{--bs-gutter-x:1.5rem;--bs-gutter-y:0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}@media (min-width:1400px){.container,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{max-width:1320px}}.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.6666666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x:0}.g-0,.gy-0{--bs-gutter-y:0}.g-1,.gx-1{--bs-gutter-x:0.25rem}.g-1,.gy-1{--bs-gutter-y:0.25rem}.g-2,.gx-2{--bs-gutter-x:0.5rem}.g-2,.gy-2{--bs-gutter-y:0.5rem}.g-3,.gx-3{--bs-gutter-x:1rem}.g-3,.gy-3{--bs-gutter-y:1rem}.g-4,.gx-4{--bs-gutter-x:1.5rem}.g-4,.gy-4{--bs-gutter-y:1.5rem}.g-5,.gx-5{--bs-gutter-x:3rem}.g-5,.gy-5{--bs-gutter-y:3rem}@media (min-width:576px){.col-sm{flex:1 0}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.6666666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x:0}.g-sm-0,.gy-sm-0{--bs-gutter-y:0}.g-sm-1,.gx-sm-1{--bs-gutter-x:0.25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y:0.25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x:0.5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y:0.5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x:1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y:1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x:1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y:1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x:3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y:3rem}}@media (min-width:768px){.col-md{flex:1 0}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.6666666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x:0}.g-md-0,.gy-md-0{--bs-gutter-y:0}.g-md-1,.gx-md-1{--bs-gutter-x:0.25rem}.g-md-1,.gy-md-1{--bs-gutter-y:0.25rem}.g-md-2,.gx-md-2{--bs-gutter-x:0.5rem}.g-md-2,.gy-md-2{--bs-gutter-y:0.5rem}.g-md-3,.gx-md-3{--bs-gutter-x:1rem}.g-md-3,.gy-md-3{--bs-gutter-y:1rem}.g-md-4,.gx-md-4{--bs-gutter-x:1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y:1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x:3rem}.g-md-5,.gy-md-5{--bs-gutter-y:3rem}}@media (min-width:992px){.col-lg{flex:1 0}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.6666666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x:0}.g-lg-0,.gy-lg-0{--bs-gutter-y:0}.g-lg-1,.gx-lg-1{--bs-gutter-x:0.25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y:0.25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x:0.5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y:0.5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x:1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y:1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x:1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y:1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x:3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y:3rem}}@media (min-width:1200px){.col-xl{flex:1 0}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x:0}.g-xl-0,.gy-xl-0{--bs-gutter-y:0}.g-xl-1,.gx-xl-1{--bs-gutter-x:0.25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y:0.25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x:0.5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y:0.5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x:1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y:1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x:1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y:1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x:3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y:3rem}}@media (min-width:1400px){.col-xxl{flex:1 0}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x:0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y:0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x:0.25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y:0.25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x:0.5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y:0.5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x:1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y:1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x:1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y:1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x:3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y:3rem}}.table{--bs-table-color:var(--bs-body-color);--bs-table-bg:transparent;--bs-table-border-color:var(--bs-border-color);--bs-table-accent-bg:transparent;--bs-table-striped-color:var(--bs-body-color);--bs-table-striped-bg:rgba(0,0,0,.05);--bs-table-active-color:var(--bs-body-color);--bs-table-active-bg:rgba(0,0,0,.1);--bs-table-hover-color:var(--bs-body-color);--bs-table-hover-bg:rgba(0,0,0,.075);width:100%;margin-bottom:1rem;color:var(--bs-table-color);vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem;background-color:var(--bs-table-bg);border-bottom-width:1px;box-shadow:inset 0 0 0 9999px var(--bs-table-accent-bg)}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:2px solid}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem}.table-bordered>:not(caption)>*{border-width:1px 0}.table-bordered>:not(caption)>*>*{border-width:0 1px}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped-columns>:not(caption)>tr>:nth-child(2n),.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-accent-bg:var(--bs-table-striped-bg);color:var(--bs-table-striped-color)}.table-active{--bs-table-accent-bg:var(--bs-table-active-bg);color:var(--bs-table-active-color)}.table-hover>tbody>tr:hover>*{--bs-table-accent-bg:var(--bs-table-hover-bg);color:var(--bs-table-hover-color)}.table-primary{--bs-table-color:#000;--bs-table-bg:#cfe2ff;--bs-table-border-color:#bacbe6;--bs-table-striped-bg:#c5d7f2;--bs-table-striped-color:#000;--bs-table-active-bg:#bacbe6;--bs-table-active-color:#000;--bs-table-hover-bg:#bfd1ec;--bs-table-hover-color:#000}.table-primary,.table-secondary{color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color:#000;--bs-table-bg:#e2e3e5;--bs-table-border-color:#cbccce;--bs-table-striped-bg:#d7d8da;--bs-table-striped-color:#000;--bs-table-active-bg:#cbccce;--bs-table-active-color:#000;--bs-table-hover-bg:#d1d2d4;--bs-table-hover-color:#000}.table-success{--bs-table-color:#000;--bs-table-bg:#d1e7dd;--bs-table-border-color:#bcd0c7;--bs-table-striped-bg:#c7dbd2;--bs-table-striped-color:#000;--bs-table-active-bg:#bcd0c7;--bs-table-active-color:#000;--bs-table-hover-bg:#c1d6cc;--bs-table-hover-color:#000}.table-info,.table-success{color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color:#000;--bs-table-bg:#cff4fc;--bs-table-border-color:#badce3;--bs-table-striped-bg:#c5e8ef;--bs-table-striped-color:#000;--bs-table-active-bg:#badce3;--bs-table-active-color:#000;--bs-table-hover-bg:#bfe2e9;--bs-table-hover-color:#000}.table-warning{--bs-table-color:#000;--bs-table-bg:#fff3cd;--bs-table-border-color:#e6dbb9;--bs-table-striped-bg:#f2e7c3;--bs-table-striped-color:#000;--bs-table-active-bg:#e6dbb9;--bs-table-active-color:#000;--bs-table-hover-bg:#ece1be;--bs-table-hover-color:#000}.table-danger,.table-warning{color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color:#000;--bs-table-bg:#f8d7da;--bs-table-border-color:#dfc2c4;--bs-table-striped-bg:#eccccf;--bs-table-striped-color:#000;--bs-table-active-bg:#dfc2c4;--bs-table-active-color:#000;--bs-table-hover-bg:#e5c7ca;--bs-table-hover-color:#000}.table-light{--bs-table-color:#000;--bs-table-bg:#f8f9fa;--bs-table-border-color:#dfe0e1;--bs-table-striped-bg:#ecedee;--bs-table-striped-color:#000;--bs-table-active-bg:#dfe0e1;--bs-table-active-color:#000;--bs-table-hover-bg:#e5e6e7;--bs-table-hover-color:#000}.table-dark,.table-light{color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color:#fff;--bs-table-bg:#212529;--bs-table-border-color:#373b3e;--bs-table-striped-bg:#2c3034;--bs-table-striped-color:#fff;--bs-table-active-bg:#373b3e;--bs-table-active-color:#fff;--bs-table-hover-bg:#323539;--bs-table-hover-color:#fff}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width:575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + 1px);padding-bottom:calc(.375rem + 1px);margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + 1px);padding-bottom:calc(.5rem + 1px);font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + 1px);padding-bottom:calc(.25rem + 1px);font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:#6c757d}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:.375rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:#212529;background-color:#fff;border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-control::-webkit-date-and-time-value{height:1.5em}.form-control::placeholder{color:#6c757d;opacity:1}.form-control:disabled{background-color:#e9ecef;opacity:1}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:#212529;background-color:#e9ecef;pointer-events:none;border:0 solid;border-color:inherit;border-inline-end-width:1px;border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:#212529;background-color:#e9ecef;pointer-events:none;border:0 solid;border-color:inherit;border-inline-end-width:1px;border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:#dde0e3}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:#dde0e3}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:#212529;background-color:transparent;border:solid transparent;border-width:1px 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + 2px);padding:.25rem .5rem;font-size:.875rem;border-radius:.25rem}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + 2px);padding:.5rem 1rem;font-size:1.25rem;border-radius:.5rem}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + 2px)}textarea.form-control-sm{min-height:calc(1.5em + .5rem + 2px)}textarea.form-control-lg{min-height:calc(1.5em + 1rem + 2px)}.form-control-color{width:3rem;height:calc(1.5em + .75rem + 2px);padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:.375rem}.form-control-color::-webkit-color-swatch{border-radius:.375rem}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + 2px)}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + 2px)}.form-select{display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;-moz-padding-start:calc(.75rem - 3px);font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:1px solid #ced4da;border-radius:.375rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-select{transition:none}}.form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:#e9ecef}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #212529}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:.25rem}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:.5rem}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}.form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}.form-check-input{width:1em;height:1em;margin-top:.25em;vertical-align:top;background-color:#fff;background-repeat:no-repeat;background-position:50%;background-size:contain;border:1px solid rgba(0,0,0,.25);-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-print-color-adjust:exact;color-adjust:exact;print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}.form-check-input:checked[type=checkbox]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{width:2em;margin-left:-2.5em;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");background-position:0;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:100%;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check:disabled+.btn,.btn-check[disabled]+.btn{pointer-events:none;filter:none;opacity:.65}.form-range{width:100%;height:1.5rem;padding:0;background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#0d6efd;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#b6d4fe}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#0d6efd;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}.form-range::-moz-range-thumb:active{background-color:#b6d4fe}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}.form-range:disabled::-moz-range-thumb{background-color:#adb5bd}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + 2px);line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;width:100%;height:100%;padding:1rem .75rem;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:1px solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion:reduce){.form-floating>label{transition:none}}.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control-plaintext::placeholder,.form-floating>.form-control::placeholder{color:transparent}.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown),.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control-plaintext:-webkit-autofill,.form-floating>.form-control:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control-plaintext~label,.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-select~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>.form-control:-webkit-autofill~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>.form-control-plaintext~label{border-width:1px 0}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-floating,.input-group>.form-select{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-floating:focus-within,.input-group>.form-select:focus{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.375rem}.input-group-lg>.btn,.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text{padding:.5rem 1rem;font-size:1.25rem;border-radius:.5rem}.input-group-sm>.btn,.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text{padding:.25rem .5rem;font-size:.875rem;border-radius:.25rem}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select,.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select,.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:#198754}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:rgba(25,135,84,.9);border-radius:.375rem}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{border-color:#198754;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:#198754;box-shadow:0 0 0 .25rem rgba(25,135,84,.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-valid,.was-validated .form-select:valid{border-color:#198754}.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"],.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"]{padding-right:4.125rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"),url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-valid:focus,.was-validated .form-select:valid:focus{border-color:#198754;box-shadow:0 0 0 .25rem rgba(25,135,84,.25)}.form-control-color.is-valid,.was-validated .form-control-color:valid{width:calc(3rem + calc(1.5em + .75rem))}.form-check-input.is-valid,.was-validated .form-check-input:valid{border-color:#198754}.form-check-input.is-valid:checked,.was-validated .form-check-input:valid:checked{background-color:#198754}.form-check-input.is-valid:focus,.was-validated .form-check-input:valid:focus{box-shadow:0 0 0 .25rem rgba(25,135,84,.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:#198754}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.input-group>.form-control:not(:focus).is-valid,.input-group>.form-floating:not(:focus-within).is-valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-control:not(:focus):valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.was-validated .input-group>.form-select:not(:focus):valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:#dc3545}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:rgba(220,53,69,.9);border-radius:.375rem}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:#dc3545;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .25rem rgba(220,53,69,.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-invalid,.was-validated .form-select:invalid{border-color:#dc3545}.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"],.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"]{padding-right:4.125rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"),url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-invalid:focus,.was-validated .form-select:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .25rem rgba(220,53,69,.25)}.form-control-color.is-invalid,.was-validated .form-control-color:invalid{width:calc(3rem + calc(1.5em + .75rem))}.form-check-input.is-invalid,.was-validated .form-check-input:invalid{border-color:#dc3545}.form-check-input.is-invalid:checked,.was-validated .form-check-input:invalid:checked{background-color:#dc3545}.form-check-input.is-invalid:focus,.was-validated .form-check-input:invalid:focus{box-shadow:0 0 0 .25rem rgba(220,53,69,.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:#dc3545}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.input-group>.form-control:not(:focus).is-invalid,.input-group>.form-floating:not(:focus-within).is-invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-control:not(:focus):invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.was-validated .input-group>.form-select:not(:focus):invalid{z-index:4}.btn{--bs-btn-padding-x:0.75rem;--bs-btn-padding-y:0.375rem;--bs-btn-font-family: ;--bs-btn-font-size:1rem;--bs-btn-font-weight:400;--bs-btn-line-height:1.5;--bs-btn-color:#212529;--bs-btn-bg:transparent;--bs-btn-border-width:1px;--bs-btn-border-color:transparent;--bs-btn-border-radius:0.375rem;--bs-btn-hover-border-color:transparent;--bs-btn-box-shadow:inset 0 1px 0 hsla(0,0%,100%,.15),0 1px 1px rgba(0,0,0,.075);--bs-btn-disabled-opacity:0.65;--bs-btn-focus-box-shadow:0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb),.5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:first-child:hover,:not(.btn-check)+.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,.btn.active,.btn.show,.btn:first-child:active,:not(.btn-check)+.btn:active{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible,.btn:first-child:active:focus-visible,:not(.btn-check)+.btn:active:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn.disabled,.btn:disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-primary{--bs-btn-color:#fff;--bs-btn-bg:#0d6efd;--bs-btn-border-color:#0d6efd;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#0b5ed7;--bs-btn-hover-border-color:#0a58ca;--bs-btn-focus-shadow-rgb:49,132,253;--bs-btn-active-color:#fff;--bs-btn-active-bg:#0a58ca;--bs-btn-active-border-color:#0a53be;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#0d6efd;--bs-btn-disabled-border-color:#0d6efd}.btn-secondary{--bs-btn-color:#fff;--bs-btn-bg:#6c757d;--bs-btn-border-color:#6c757d;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#5c636a;--bs-btn-hover-border-color:#565e64;--bs-btn-focus-shadow-rgb:130,138,145;--bs-btn-active-color:#fff;--bs-btn-active-bg:#565e64;--bs-btn-active-border-color:#51585e;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#6c757d;--bs-btn-disabled-border-color:#6c757d}.btn-success{--bs-btn-color:#fff;--bs-btn-bg:#198754;--bs-btn-border-color:#198754;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#157347;--bs-btn-hover-border-color:#146c43;--bs-btn-focus-shadow-rgb:60,153,110;--bs-btn-active-color:#fff;--bs-btn-active-bg:#146c43;--bs-btn-active-border-color:#13653f;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#198754;--bs-btn-disabled-border-color:#198754}.btn-info{--bs-btn-color:#000;--bs-btn-bg:#0dcaf0;--bs-btn-border-color:#0dcaf0;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#31d2f2;--bs-btn-hover-border-color:#25cff2;--bs-btn-focus-shadow-rgb:11,172,204;--bs-btn-active-color:#000;--bs-btn-active-bg:#3dd5f3;--bs-btn-active-border-color:#25cff2;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#0dcaf0;--bs-btn-disabled-border-color:#0dcaf0}.btn-warning{--bs-btn-color:#000;--bs-btn-bg:#ffc107;--bs-btn-border-color:#ffc107;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#ffca2c;--bs-btn-hover-border-color:#ffc720;--bs-btn-focus-shadow-rgb:217,164,6;--bs-btn-active-color:#000;--bs-btn-active-bg:#ffcd39;--bs-btn-active-border-color:#ffc720;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#ffc107;--bs-btn-disabled-border-color:#ffc107}.btn-danger{--bs-btn-color:#fff;--bs-btn-bg:#dc3545;--bs-btn-border-color:#dc3545;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#bb2d3b;--bs-btn-hover-border-color:#b02a37;--bs-btn-focus-shadow-rgb:225,83,97;--bs-btn-active-color:#fff;--bs-btn-active-bg:#b02a37;--bs-btn-active-border-color:#a52834;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#dc3545;--bs-btn-disabled-border-color:#dc3545}.btn-light{--bs-btn-color:#000;--bs-btn-bg:#f8f9fa;--bs-btn-border-color:#f8f9fa;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#d3d4d5;--bs-btn-hover-border-color:#c6c7c8;--bs-btn-focus-shadow-rgb:211,212,213;--bs-btn-active-color:#000;--bs-btn-active-bg:#c6c7c8;--bs-btn-active-border-color:#babbbc;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#f8f9fa;--bs-btn-disabled-border-color:#f8f9fa}.btn-dark{--bs-btn-color:#fff;--bs-btn-bg:#212529;--bs-btn-border-color:#212529;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#424649;--bs-btn-hover-border-color:#373b3e;--bs-btn-focus-shadow-rgb:66,70,73;--bs-btn-active-color:#fff;--bs-btn-active-bg:#4d5154;--bs-btn-active-border-color:#373b3e;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#212529;--bs-btn-disabled-border-color:#212529}.btn-outline-primary{--bs-btn-color:#0d6efd;--bs-btn-border-color:#0d6efd;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#0d6efd;--bs-btn-hover-border-color:#0d6efd;--bs-btn-focus-shadow-rgb:13,110,253;--bs-btn-active-color:#fff;--bs-btn-active-bg:#0d6efd;--bs-btn-active-border-color:#0d6efd;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#0d6efd;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#0d6efd;--bs-gradient:none}.btn-outline-secondary{--bs-btn-color:#6c757d;--bs-btn-border-color:#6c757d;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#6c757d;--bs-btn-hover-border-color:#6c757d;--bs-btn-focus-shadow-rgb:108,117,125;--bs-btn-active-color:#fff;--bs-btn-active-bg:#6c757d;--bs-btn-active-border-color:#6c757d;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#6c757d;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#6c757d;--bs-gradient:none}.btn-outline-success{--bs-btn-color:#198754;--bs-btn-border-color:#198754;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#198754;--bs-btn-hover-border-color:#198754;--bs-btn-focus-shadow-rgb:25,135,84;--bs-btn-active-color:#fff;--bs-btn-active-bg:#198754;--bs-btn-active-border-color:#198754;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#198754;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#198754;--bs-gradient:none}.btn-outline-info{--bs-btn-color:#0dcaf0;--bs-btn-border-color:#0dcaf0;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#0dcaf0;--bs-btn-hover-border-color:#0dcaf0;--bs-btn-focus-shadow-rgb:13,202,240;--bs-btn-active-color:#000;--bs-btn-active-bg:#0dcaf0;--bs-btn-active-border-color:#0dcaf0;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#0dcaf0;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#0dcaf0;--bs-gradient:none}.btn-outline-warning{--bs-btn-color:#ffc107;--bs-btn-border-color:#ffc107;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#ffc107;--bs-btn-hover-border-color:#ffc107;--bs-btn-focus-shadow-rgb:255,193,7;--bs-btn-active-color:#000;--bs-btn-active-bg:#ffc107;--bs-btn-active-border-color:#ffc107;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#ffc107;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#ffc107;--bs-gradient:none}.btn-outline-danger{--bs-btn-color:#dc3545;--bs-btn-border-color:#dc3545;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#dc3545;--bs-btn-hover-border-color:#dc3545;--bs-btn-focus-shadow-rgb:220,53,69;--bs-btn-active-color:#fff;--bs-btn-active-bg:#dc3545;--bs-btn-active-border-color:#dc3545;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#dc3545;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#dc3545;--bs-gradient:none}.btn-outline-light{--bs-btn-color:#f8f9fa;--bs-btn-border-color:#f8f9fa;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#f8f9fa;--bs-btn-hover-border-color:#f8f9fa;--bs-btn-focus-shadow-rgb:248,249,250;--bs-btn-active-color:#000;--bs-btn-active-bg:#f8f9fa;--bs-btn-active-border-color:#f8f9fa;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#f8f9fa;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#f8f9fa;--bs-gradient:none}.btn-outline-dark{--bs-btn-color:#212529;--bs-btn-border-color:#212529;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#212529;--bs-btn-hover-border-color:#212529;--bs-btn-focus-shadow-rgb:33,37,41;--bs-btn-active-color:#fff;--bs-btn-active-bg:#212529;--bs-btn-active-border-color:#212529;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#212529;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#212529;--bs-gradient:none}.btn-link{--bs-btn-font-weight:400;--bs-btn-color:var(--bs-link-color);--bs-btn-bg:transparent;--bs-btn-border-color:transparent;--bs-btn-hover-color:var(--bs-link-hover-color);--bs-btn-hover-border-color:transparent;--bs-btn-active-color:var(--bs-link-hover-color);--bs-btn-active-border-color:transparent;--bs-btn-disabled-color:#6c757d;--bs-btn-disabled-border-color:transparent;--bs-btn-box-shadow:none;--bs-btn-focus-shadow-rgb:49,132,253;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-group-lg>.btn,.btn-lg{--bs-btn-padding-y:0.5rem;--bs-btn-padding-x:1rem;--bs-btn-font-size:1.25rem;--bs-btn-border-radius:0.5rem}.btn-group-sm>.btn,.btn-sm{--bs-btn-padding-y:0.25rem;--bs-btn-padding-x:0.5rem;--bs-btn-font-size:0.875rem;--bs-btn-border-radius:0.25rem}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion:reduce){.collapsing.collapse-horizontal{transition:none}}.dropdown,.dropdown-center,.dropend,.dropstart,.dropup,.dropup-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu{--bs-dropdown-zindex:1000;--bs-dropdown-min-width:10rem;--bs-dropdown-padding-x:0;--bs-dropdown-padding-y:0.5rem;--bs-dropdown-spacer:0.125rem;--bs-dropdown-font-size:1rem;--bs-dropdown-color:#212529;--bs-dropdown-bg:#fff;--bs-dropdown-border-color:var(--bs-border-color-translucent);--bs-dropdown-border-radius:0.375rem;--bs-dropdown-border-width:1px;--bs-dropdown-inner-border-radius:calc(0.375rem - 1px);--bs-dropdown-divider-bg:var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y:0.5rem;--bs-dropdown-box-shadow:0 0.5rem 1rem rgba(0,0,0,.15);--bs-dropdown-link-color:#212529;--bs-dropdown-link-hover-color:#1e2125;--bs-dropdown-link-hover-bg:#e9ecef;--bs-dropdown-link-active-color:#fff;--bs-dropdown-link-active-bg:#0d6efd;--bs-dropdown-link-disabled-color:#adb5bd;--bs-dropdown-item-padding-x:1rem;--bs-dropdown-item-padding-y:0.25rem;--bs-dropdown-header-color:#6c757d;--bs-dropdown-header-padding-x:1rem;--bs-dropdown-header-padding-y:0.5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position:start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position:end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media (min-width:576px){.dropdown-menu-sm-start{--bs-position:start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position:end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media (min-width:768px){.dropdown-menu-md-start{--bs-position:start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position:end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media (min-width:992px){.dropdown-menu-lg-start{--bs-position:start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position:end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1200px){.dropdown-menu-xl-start{--bs-position:start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position:end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1400px){.dropdown-menu-xxl-start{--bs-position:start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position:end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-toggle:after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";display:none}.dropstart .dropdown-toggle:before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty:after{margin-left:0}.dropstart .dropdown-toggle:before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0}.dropdown-item:focus,.dropdown-item:hover{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color:#dee2e6;--bs-dropdown-bg:#343a40;--bs-dropdown-border-color:var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color:#dee2e6;--bs-dropdown-link-hover-color:#fff;--bs-dropdown-divider-bg:var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg:hsla(0,0%,100%,.15);--bs-dropdown-link-active-color:#fff;--bs-dropdown-link-active-bg:#0d6efd;--bs-dropdown-link-disabled-color:#adb5bd;--bs-dropdown-header-color:#adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;flex:1 1 auto}.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:.375rem}.btn-group>.btn-group:not(:first-child),.btn-group>:not(.btn-check:first-child)+.btn{margin-left:-1px}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split:after,.dropend .dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after{margin-left:0}.dropstart .dropdown-toggle-split:before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn~.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--bs-nav-link-padding-x:1rem;--bs-nav-link-padding-y:0.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color:var(--bs-link-color);--bs-nav-link-hover-color:var(--bs-link-hover-color);--bs-nav-link-disabled-color:#6c757d;display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion:reduce){.nav-link{transition:none}}.nav-link:focus,.nav-link:hover{color:var(--bs-nav-link-hover-color)}.nav-link.disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width:1px;--bs-nav-tabs-border-color:#dee2e6;--bs-nav-tabs-border-radius:0.375rem;--bs-nav-tabs-link-hover-border-color:#e9ecef #e9ecef #dee2e6;--bs-nav-tabs-link-active-color:#495057;--bs-nav-tabs-link-active-bg:#fff;--bs-nav-tabs-link-active-border-color:#dee2e6 #dee2e6 #fff;border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));background:0 0;border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-link.disabled,.nav-tabs .nav-link:disabled{color:var(--bs-nav-link-disabled-color);background-color:transparent;border-color:transparent}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--bs-nav-pills-border-radius:0.375rem;--bs-nav-pills-link-active-color:#fff;--bs-nav-pills-link-active-bg:#0d6efd}.nav-pills .nav-link{background:0 0;border:0;border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link:disabled{color:var(--bs-nav-link-disabled-color);background-color:transparent;border-color:transparent}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-fill .nav-item,.nav-fill>.nav-link{flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x:0;--bs-navbar-padding-y:0.5rem;--bs-navbar-color:rgba(0,0,0,.55);--bs-navbar-hover-color:rgba(0,0,0,.7);--bs-navbar-disabled-color:rgba(0,0,0,.3);--bs-navbar-active-color:rgba(0,0,0,.9);--bs-navbar-brand-padding-y:0.3125rem;--bs-navbar-brand-margin-end:1rem;--bs-navbar-brand-font-size:1.25rem;--bs-navbar-brand-color:rgba(0,0,0,.9);--bs-navbar-brand-hover-color:rgba(0,0,0,.9);--bs-navbar-nav-link-padding-x:0.5rem;--bs-navbar-toggler-padding-y:0.25rem;--bs-navbar-toggler-padding-x:0.75rem;--bs-navbar-toggler-font-size:1.25rem;--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");--bs-navbar-toggler-border-color:rgba(0,0,0,.1);--bs-navbar-toggler-border-radius:0.375rem;--bs-navbar-toggler-focus-width:0.25rem;--bs-navbar-toggler-transition:box-shadow 0.15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-lg,.navbar>.container-md,.navbar>.container-sm,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-right:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x:0;--bs-nav-link-padding-y:0.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color:var(--bs-navbar-color);--bs-nav-link-hover-color:var(--bs-navbar-hover-color);--bs-nav-link-disabled-color:var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link.active,.navbar-nav .show>.nav-link{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:focus,.navbar-text a:hover{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}@media (prefers-reduced-motion:reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:50%;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height,75vh);overflow-y:auto}@media (min-width:576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark{--bs-navbar-color:hsla(0,0%,100%,.55);--bs-navbar-hover-color:hsla(0,0%,100%,.75);--bs-navbar-disabled-color:hsla(0,0%,100%,.25);--bs-navbar-active-color:#fff;--bs-navbar-brand-color:#fff;--bs-navbar-brand-hover-color:#fff;--bs-navbar-toggler-border-color:hsla(0,0%,100%,.1);--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.card{--bs-card-spacer-y:1rem;--bs-card-spacer-x:1rem;--bs-card-title-spacer-y:0.5rem;--bs-card-border-width:1px;--bs-card-border-color:var(--bs-border-color-translucent);--bs-card-border-radius:0.375rem;--bs-card-box-shadow: ;--bs-card-inner-border-radius:calc(0.375rem - 1px);--bs-card-cap-padding-y:0.5rem;--bs-card-cap-padding-x:1rem;--bs-card-cap-bg:rgba(0,0,0,.03);--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg:#fff;--bs-card-img-overlay-padding:1rem;--bs-card-group-margin:0.75rem;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y)}.card-subtitle{margin-top:calc(-.5 * var(--bs-card-title-spacer-y))}.card-subtitle,.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-bottom:calc(-1 * var(--bs-card-cap-padding-y));margin-left:calc(-.5 * var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-left:calc(-.5 * var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom,.card-img-top{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}@media (min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.accordion{--bs-accordion-color:var(--bs-body-color);--bs-accordion-bg:#fff;--bs-accordion-transition:color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out,border-radius 0.15s ease;--bs-accordion-border-color:var(--bs-border-color);--bs-accordion-border-width:1px;--bs-accordion-border-radius:0.375rem;--bs-accordion-inner-border-radius:calc(0.375rem - 1px);--bs-accordion-btn-padding-x:1.25rem;--bs-accordion-btn-padding-y:1rem;--bs-accordion-btn-color:var(--bs-body-color);--bs-accordion-btn-bg:var(--bs-accordion-bg);--bs-accordion-btn-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='var%28--bs-body-color%29'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-icon-width:1.25rem;--bs-accordion-btn-icon-transform:rotate(-180deg);--bs-accordion-btn-icon-transition:transform 0.2s ease-in-out;--bs-accordion-btn-active-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-focus-border-color:#86b7fe;--bs-accordion-btn-focus-box-shadow:0 0 0 0.25rem rgba(13,110,253,.25);--bs-accordion-body-padding-x:1.25rem;--bs-accordion-body-padding-y:1rem;--bs-accordion-active-color:#0c63e4;--bs-accordion-active-bg:#e7f1ff}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}@media (prefers-reduced-motion:reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed):after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button:after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-left:auto;content:"";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}@media (prefers-reduced-motion:reduce){.accordion-button:after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;border-color:var(--bs-accordion-btn-focus-border-color);outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type .accordion-button{border-top-left-radius:var(--bs-accordion-inner-border-radius);border-top-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type .accordion-button.collapsed{border-bottom-right-radius:var(--bs-accordion-inner-border-radius);border-bottom-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type .accordion-collapse{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush .accordion-collapse{border-width:0}.accordion-flush .accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush .accordion-item:first-child{border-top:0}.accordion-flush .accordion-item:last-child{border-bottom:0}.accordion-flush .accordion-item .accordion-button,.accordion-flush .accordion-item .accordion-button.collapsed{border-radius:0}.breadcrumb{--bs-breadcrumb-padding-x:0;--bs-breadcrumb-padding-y:0;--bs-breadcrumb-margin-bottom:1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color:#6c757d;--bs-breadcrumb-item-padding-x:0.5rem;--bs-breadcrumb-item-active-color:#6c757d;display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item:before{float:left;padding-right:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider,"/")}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination{--bs-pagination-padding-x:0.75rem;--bs-pagination-padding-y:0.375rem;--bs-pagination-font-size:1rem;--bs-pagination-color:var(--bs-link-color);--bs-pagination-bg:#fff;--bs-pagination-border-width:1px;--bs-pagination-border-color:#dee2e6;--bs-pagination-border-radius:0.375rem;--bs-pagination-hover-color:var(--bs-link-hover-color);--bs-pagination-hover-bg:#e9ecef;--bs-pagination-hover-border-color:#dee2e6;--bs-pagination-focus-color:var(--bs-link-hover-color);--bs-pagination-focus-bg:#e9ecef;--bs-pagination-focus-box-shadow:0 0 0 0.25rem rgba(13,110,253,.25);--bs-pagination-active-color:#fff;--bs-pagination-active-bg:#0d6efd;--bs-pagination-active-border-color:#0d6efd;--bs-pagination-disabled-color:#6c757d;--bs-pagination-disabled-bg:#fff;--bs-pagination-disabled-border-color:#dee2e6;display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.active>.page-link,.page-link.active{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.disabled>.page-link,.page-link.disabled{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-left:-1px}.page-item:first-child .page-link{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x:1.5rem;--bs-pagination-padding-y:0.75rem;--bs-pagination-font-size:1.25rem;--bs-pagination-border-radius:0.5rem}.pagination-sm{--bs-pagination-padding-x:0.5rem;--bs-pagination-padding-y:0.25rem;--bs-pagination-font-size:0.875rem;--bs-pagination-border-radius:0.25rem}.badge{--bs-badge-padding-x:0.65em;--bs-badge-padding-y:0.35em;--bs-badge-font-size:0.75em;--bs-badge-font-weight:700;--bs-badge-color:#fff;--bs-badge-border-radius:0.375rem;display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--bs-alert-bg:transparent;--bs-alert-padding-x:1rem;--bs-alert-padding-y:1rem;--bs-alert-margin-bottom:1rem;--bs-alert-color:inherit;--bs-alert-border-color:transparent;--bs-alert-border:1px solid var(--bs-alert-border-color);--bs-alert-border-radius:0.375rem;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{--bs-alert-color:#084298;--bs-alert-bg:#cfe2ff;--bs-alert-border-color:#b6d4fe}.alert-primary .alert-link{color:#06357a}.alert-secondary{--bs-alert-color:#41464b;--bs-alert-bg:#e2e3e5;--bs-alert-border-color:#d3d6d8}.alert-secondary .alert-link{color:#34383c}.alert-success{--bs-alert-color:#0f5132;--bs-alert-bg:#d1e7dd;--bs-alert-border-color:#badbcc}.alert-success .alert-link{color:#0c4128}.alert-info{--bs-alert-color:#055160;--bs-alert-bg:#cff4fc;--bs-alert-border-color:#b6effb}.alert-info .alert-link{color:#04414d}.alert-warning{--bs-alert-color:#664d03;--bs-alert-bg:#fff3cd;--bs-alert-border-color:#ffecb5}.alert-warning .alert-link{color:#523e02}.alert-danger{--bs-alert-color:#842029;--bs-alert-bg:#f8d7da;--bs-alert-border-color:#f5c2c7}.alert-danger .alert-link{color:#6a1a21}.alert-light{--bs-alert-color:#636464;--bs-alert-bg:#fefefe;--bs-alert-border-color:#fdfdfe}.alert-light .alert-link{color:#4f5050}.alert-dark{--bs-alert-color:#141619;--bs-alert-bg:#d3d3d4;--bs-alert-border-color:#bcbebf}.alert-dark .alert-link{color:#101214}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress{--bs-progress-height:1rem;--bs-progress-font-size:0.75rem;--bs-progress-bg:#e9ecef;--bs-progress-border-radius:0.375rem;--bs-progress-box-shadow:inset 0 1px 2px rgba(0,0,0,.075);--bs-progress-bar-color:#fff;--bs-progress-bar-bg:#0d6efd;--bs-progress-bar-transition:width 0.6s ease;height:var(--bs-progress-height);font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress,.progress-bar{display:flex;overflow:hidden}.progress-bar{flex-direction:column;justify-content:center;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-bar-animated{animation:progress-bar-stripes 1s linear infinite}@media (prefers-reduced-motion:reduce){.progress-bar-animated{animation:none}}.list-group{--bs-list-group-color:#212529;--bs-list-group-bg:#fff;--bs-list-group-border-color:rgba(0,0,0,.125);--bs-list-group-border-width:1px;--bs-list-group-border-radius:0.375rem;--bs-list-group-item-padding-x:1rem;--bs-list-group-item-padding-y:0.5rem;--bs-list-group-action-color:#495057;--bs-list-group-action-hover-color:#495057;--bs-list-group-action-hover-bg:#f8f9fa;--bs-list-group-action-active-color:#212529;--bs-list-group-action-active-bg:#e9ecef;--bs-list-group-disabled-color:#6c757d;--bs-list-group-disabled-bg:#fff;--bs-list-group-active-color:#fff;--bs-list-group-active-bg:#0d6efd;--bs-list-group-active-border-color:#0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item:before{content:counters(section,".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media (min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{color:#084298;background-color:#cfe2ff}.list-group-item-primary.list-group-item-action:focus,.list-group-item-primary.list-group-item-action:hover{color:#084298;background-color:#bacbe6}.list-group-item-primary.list-group-item-action.active{color:#fff;background-color:#084298;border-color:#084298}.list-group-item-secondary{color:#41464b;background-color:#e2e3e5}.list-group-item-secondary.list-group-item-action:focus,.list-group-item-secondary.list-group-item-action:hover{color:#41464b;background-color:#cbccce}.list-group-item-secondary.list-group-item-action.active{color:#fff;background-color:#41464b;border-color:#41464b}.list-group-item-success{color:#0f5132;background-color:#d1e7dd}.list-group-item-success.list-group-item-action:focus,.list-group-item-success.list-group-item-action:hover{color:#0f5132;background-color:#bcd0c7}.list-group-item-success.list-group-item-action.active{color:#fff;background-color:#0f5132;border-color:#0f5132}.list-group-item-info{color:#055160;background-color:#cff4fc}.list-group-item-info.list-group-item-action:focus,.list-group-item-info.list-group-item-action:hover{color:#055160;background-color:#badce3}.list-group-item-info.list-group-item-action.active{color:#fff;background-color:#055160;border-color:#055160}.list-group-item-warning{color:#664d03;background-color:#fff3cd}.list-group-item-warning.list-group-item-action:focus,.list-group-item-warning.list-group-item-action:hover{color:#664d03;background-color:#e6dbb9}.list-group-item-warning.list-group-item-action.active{color:#fff;background-color:#664d03;border-color:#664d03}.list-group-item-danger{color:#842029;background-color:#f8d7da}.list-group-item-danger.list-group-item-action:focus,.list-group-item-danger.list-group-item-action:hover{color:#842029;background-color:#dfc2c4}.list-group-item-danger.list-group-item-action.active{color:#fff;background-color:#842029;border-color:#842029}.list-group-item-light{color:#636464;background-color:#fefefe}.list-group-item-light.list-group-item-action:focus,.list-group-item-light.list-group-item-action:hover{color:#636464;background-color:#e5e5e5}.list-group-item-light.list-group-item-action.active{color:#fff;background-color:#636464;border-color:#636464}.list-group-item-dark{color:#141619;background-color:#d3d3d4}.list-group-item-dark.list-group-item-action:focus,.list-group-item-dark.list-group-item-action:hover{color:#141619;background-color:#bebebf}.list-group-item-dark.list-group-item-action.active{color:#fff;background-color:#141619;border-color:#141619}.btn-close{box-sizing:content-box;width:1em;height:1em;padding:.25em;color:#000;background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") 50%/1em auto no-repeat;border:0;border-radius:.375rem;opacity:.5}.btn-close:hover{color:#000;text-decoration:none;opacity:.75}.btn-close:focus{outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25);opacity:1}.btn-close.disabled,.btn-close:disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:.25}.btn-close-white{filter:invert(1) grayscale(100%) brightness(200%)}.toast{--bs-toast-zindex:1090;--bs-toast-padding-x:0.75rem;--bs-toast-padding-y:0.5rem;--bs-toast-spacing:1.5rem;--bs-toast-max-width:350px;--bs-toast-font-size:0.875rem;--bs-toast-color: ;--bs-toast-bg:hsla(0,0%,100%,.85);--bs-toast-border-width:1px;--bs-toast-border-color:var(--bs-border-color-translucent);--bs-toast-border-radius:0.375rem;--bs-toast-box-shadow:0 0.5rem 1rem rgba(0,0,0,.15);--bs-toast-header-color:#6c757d;--bs-toast-header-bg:hsla(0,0%,100%,.85);--bs-toast-header-border-color:rgba(0,0,0,.05);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{position:absolute;z-index:var(--bs-toast-zindex);width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-right:calc(-.5 * var(--bs-toast-padding-x));margin-left:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex:1055;--bs-modal-width:500px;--bs-modal-padding:1rem;--bs-modal-margin:0.5rem;--bs-modal-color: ;--bs-modal-bg:#fff;--bs-modal-border-color:var(--bs-border-color-translucent);--bs-modal-border-width:1px;--bs-modal-border-radius:0.5rem;--bs-modal-box-shadow:0 0.125rem 0.25rem rgba(0,0,0,.075);--bs-modal-inner-border-radius:calc(0.5rem - 1px);--bs-modal-header-padding-x:1rem;--bs-modal-header-padding-y:1rem;--bs-modal-header-padding:1rem 1rem;--bs-modal-header-border-color:var(--bs-border-color);--bs-modal-header-border-width:1px;--bs-modal-title-line-height:1.5;--bs-modal-footer-gap:0.5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color:var(--bs-border-color);--bs-modal-footer-border-width:1px;position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translateY(-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex:1050;--bs-backdrop-bg:#000;--bs-backdrop-opacity:0.5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin:calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media (min-width:576px){.modal{--bs-modal-margin:1.75rem;--bs-modal-box-shadow:0 0.5rem 1rem rgba(0,0,0,.15)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--bs-modal-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{--bs-modal-width:800px}}@media (min-width:1200px){.modal-xl{--bs-modal-width:1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-footer,.modal-fullscreen .modal-header{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media (max-width:575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-footer,.modal-fullscreen-sm-down .modal-header{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media (max-width:767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-footer,.modal-fullscreen-md-down .modal-header{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media (max-width:991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-footer,.modal-fullscreen-lg-down .modal-header{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media (max-width:1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-footer,.modal-fullscreen-xl-down .modal-header{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media (max-width:1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-footer,.modal-fullscreen-xxl-down .modal-header{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}.tooltip{--bs-tooltip-zindex:1080;--bs-tooltip-max-width:200px;--bs-tooltip-padding-x:0.5rem;--bs-tooltip-padding-y:0.25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size:0.875rem;--bs-tooltip-color:#fff;--bs-tooltip-bg:#000;--bs-tooltip-border-radius:0.375rem;--bs-tooltip-opacity:0.9;--bs-tooltip-arrow-width:0.8rem;--bs-tooltip-arrow-height:0.4rem;z-index:var(--bs-tooltip-zindex);display:block;padding:var(--bs-tooltip-arrow-height);margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow:before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow,.bs-tooltip-top .tooltip-arrow{bottom:0}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:before,.bs-tooltip-top .tooltip-arrow:before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow,.bs-tooltip-end .tooltip-arrow{left:0;width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow:before,.bs-tooltip-end .tooltip-arrow:before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow,.bs-tooltip-bottom .tooltip-arrow{top:0}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow:before,.bs-tooltip-bottom .tooltip-arrow:before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow,.bs-tooltip-start .tooltip-arrow{right:0;width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow:before,.bs-tooltip-start .tooltip-arrow:before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) 0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex:1070;--bs-popover-max-width:276px;--bs-popover-font-size:0.875rem;--bs-popover-bg:#fff;--bs-popover-border-width:1px;--bs-popover-border-color:var(--bs-border-color-translucent);--bs-popover-border-radius:0.5rem;--bs-popover-inner-border-radius:calc(0.5rem - 1px);--bs-popover-box-shadow:0 0.5rem 1rem rgba(0,0,0,.15);--bs-popover-header-padding-x:1rem;--bs-popover-header-padding-y:0.5rem;--bs-popover-header-font-size:1rem;--bs-popover-header-color: ;--bs-popover-header-bg:#f0f0f0;--bs-popover-body-padding-x:1rem;--bs-popover-body-padding-y:1rem;--bs-popover-body-color:#212529;--bs-popover-arrow-width:1rem;--bs-popover-arrow-height:0.5rem;--bs-popover-arrow-border:var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow:after,.popover .popover-arrow:before{position:absolute;display:block;content:"";border:0 solid transparent}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow,.bs-popover-top>.popover-arrow{bottom:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:after,.bs-popover-top>.popover-arrow:before{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after,.bs-popover-top>.popover-arrow:after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow,.bs-popover-end>.popover-arrow{left:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:after,.bs-popover-end>.popover-arrow:before{border-width:calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after,.bs-popover-end>.popover-arrow:after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow,.bs-popover-bottom>.popover-arrow{top:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:after,.bs-popover-bottom>.popover-arrow:before{border-width:0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after,.bs-popover-bottom>.popover-arrow:after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=bottom] .popover-header:before,.bs-popover-bottom .popover-header:before{position:absolute;top:0;left:50%;display:block;width:var(--bs-popover-arrow-width);margin-left:calc(-.5 * var(--bs-popover-arrow-width));content:"";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow,.bs-popover-start>.popover-arrow{right:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:after,.bs-popover-start>.popover-arrow:before{border-width:calc(var(--bs-popover-arrow-width) * .5) 0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after,.bs-popover-start>.popover-arrow:after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-left-radius:var(--bs-popover-inner-border-radius);border-top-right-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner:after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-end,.carousel-item-next:not(.carousel-item-start){transform:translateX(100%)}.active.carousel-item-start,.carousel-item-prev:not(.carousel-item-end){transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:0 0;border:0;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%;list-style:none}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-next-icon,.carousel-dark .carousel-control-prev-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}.spinner-border,.spinner-grow{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(1turn)}}.spinner-border{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-border-width:0.25em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-border;border-right-color:currentcolor;border:var(--bs-spinner-border-width) solid;border-right:var(--bs-spinner-border-width) solid transparent}.spinner-border-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem;--bs-spinner-border-width:0.2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem}@media (prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed:1.5s}}.offcanvas,.offcanvas-lg,.offcanvas-md,.offcanvas-sm,.offcanvas-xl,.offcanvas-xxl{--bs-offcanvas-zindex:1045;--bs-offcanvas-width:400px;--bs-offcanvas-height:30vh;--bs-offcanvas-padding-x:1rem;--bs-offcanvas-padding-y:1rem;--bs-offcanvas-color: ;--bs-offcanvas-bg:#fff;--bs-offcanvas-border-width:1px;--bs-offcanvas-border-color:var(--bs-border-color-translucent);--bs-offcanvas-box-shadow:0 0.125rem 0.25rem rgba(0,0,0,.075)}@media (max-width:575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width:575.98px) and (prefers-reduced-motion:reduce){.offcanvas-sm{transition:none}}@media (max-width:575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-sm.offcanvas-top{top:0;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-sm.offcanvas-bottom,.offcanvas-sm.offcanvas-top{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%}.offcanvas-sm.offcanvas-bottom{border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-sm.show:not(.hiding),.offcanvas-sm.showing{transform:none}.offcanvas-sm.hiding,.offcanvas-sm.show,.offcanvas-sm.showing{visibility:visible}}@media (min-width:576px){.offcanvas-sm{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width:767.98px) and (prefers-reduced-motion:reduce){.offcanvas-md{transition:none}}@media (max-width:767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-md.offcanvas-top{top:0;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-md.offcanvas-bottom,.offcanvas-md.offcanvas-top{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%}.offcanvas-md.offcanvas-bottom{border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-md.show:not(.hiding),.offcanvas-md.showing{transform:none}.offcanvas-md.hiding,.offcanvas-md.show,.offcanvas-md.showing{visibility:visible}}@media (min-width:768px){.offcanvas-md{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width:991.98px) and (prefers-reduced-motion:reduce){.offcanvas-lg{transition:none}}@media (max-width:991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-lg.offcanvas-top{top:0;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-lg.offcanvas-bottom,.offcanvas-lg.offcanvas-top{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%}.offcanvas-lg.offcanvas-bottom{border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-lg.show:not(.hiding),.offcanvas-lg.showing{transform:none}.offcanvas-lg.hiding,.offcanvas-lg.show,.offcanvas-lg.showing{visibility:visible}}@media (min-width:992px){.offcanvas-lg{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width:1199.98px) and (prefers-reduced-motion:reduce){.offcanvas-xl{transition:none}}@media (max-width:1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-xl.offcanvas-top{top:0;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xl.offcanvas-bottom,.offcanvas-xl.offcanvas-top{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%}.offcanvas-xl.offcanvas-bottom{border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xl.show:not(.hiding),.offcanvas-xl.showing{transform:none}.offcanvas-xl.hiding,.offcanvas-xl.show,.offcanvas-xl.showing{visibility:visible}}@media (min-width:1200px){.offcanvas-xl{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width:1399.98px) and (prefers-reduced-motion:reduce){.offcanvas-xxl{transition:none}}@media (max-width:1399.98px){.offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-xxl.offcanvas-top{top:0;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xxl.offcanvas-bottom,.offcanvas-xxl.offcanvas-top{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%}.offcanvas-xxl.offcanvas-bottom{border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xxl.show:not(.hiding),.offcanvas-xxl.showing{transform:none}.offcanvas-xxl.hiding,.offcanvas-xxl.show,.offcanvas-xxl.showing{visibility:visible}}@media (min-width:1400px){.offcanvas-xxl{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}@media (prefers-reduced-motion:reduce){.offcanvas{transition:none}}.offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas.offcanvas-top{top:0;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom,.offcanvas.offcanvas-top{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%}.offcanvas.offcanvas-bottom{border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.show:not(.hiding),.offcanvas.showing{transform:none}.offcanvas.hiding,.offcanvas.show,.offcanvas.showing{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;justify-content:space-between;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin-top:calc(-.5 * var(--bs-offcanvas-padding-y));margin-right:calc(-.5 * var(--bs-offcanvas-padding-x));margin-bottom:calc(-.5 * var(--bs-offcanvas-padding-y))}.offcanvas-title{margin-bottom:0;line-height:1.5}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn:before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{to{-webkit-mask-position:-200% 0;mask-position:-200% 0}}.clearfix:after{display:block;clear:both;content:""}.text-bg-primary{color:#fff!important;background-color:RGBA(13,110,253,var(--bs-bg-opacity,1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(108,117,125,var(--bs-bg-opacity,1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(25,135,84,var(--bs-bg-opacity,1))!important}.text-bg-info{color:#000!important;background-color:RGBA(13,202,240,var(--bs-bg-opacity,1))!important}.text-bg-warning{color:#000!important;background-color:RGBA(255,193,7,var(--bs-bg-opacity,1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(220,53,69,var(--bs-bg-opacity,1))!important}.text-bg-light{color:#000!important;background-color:RGBA(248,249,250,var(--bs-bg-opacity,1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(33,37,41,var(--bs-bg-opacity,1))!important}.link-primary{color:#0d6efd!important}.link-primary:focus,.link-primary:hover{color:#0a58ca!important}.link-secondary{color:#6c757d!important}.link-secondary:focus,.link-secondary:hover{color:#565e64!important}.link-success{color:#198754!important}.link-success:focus,.link-success:hover{color:#146c43!important}.link-info{color:#0dcaf0!important}.link-info:focus,.link-info:hover{color:#3dd5f3!important}.link-warning{color:#ffc107!important}.link-warning:focus,.link-warning:hover{color:#ffcd39!important}.link-danger{color:#dc3545!important}.link-danger:focus,.link-danger:hover{color:#b02a37!important}.link-light{color:#f8f9fa!important}.link-light:focus,.link-light:hover{color:#f9fafb!important}.link-dark{color:#212529!important}.link-dark:focus,.link-dark:hover{color:#1a1e21!important}.ratio{position:relative;width:100%}.ratio:before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio:100%}.ratio-4x3{--bs-aspect-ratio:75%}.ratio-16x9{--bs-aspect-ratio:56.25%}.ratio-21x9{--bs-aspect-ratio:42.8571428571%}.fixed-top{top:0}.fixed-bottom,.fixed-top{position:fixed;right:0;left:0;z-index:1030}.fixed-bottom{bottom:0}.sticky-top{top:0}.sticky-bottom,.sticky-top{position:-webkit-sticky;position:sticky;z-index:1020}.sticky-bottom{bottom:0}@media (min-width:576px){.sticky-sm-top{top:0}.sticky-sm-bottom,.sticky-sm-top{position:-webkit-sticky;position:sticky;z-index:1020}.sticky-sm-bottom{bottom:0}}@media (min-width:768px){.sticky-md-top{top:0}.sticky-md-bottom,.sticky-md-top{position:-webkit-sticky;position:sticky;z-index:1020}.sticky-md-bottom{bottom:0}}@media (min-width:992px){.sticky-lg-top{top:0}.sticky-lg-bottom,.sticky-lg-top{position:-webkit-sticky;position:sticky;z-index:1020}.sticky-lg-bottom{bottom:0}}@media (min-width:1200px){.sticky-xl-top{top:0}.sticky-xl-bottom,.sticky-xl-top{position:-webkit-sticky;position:sticky;z-index:1020}.sticky-xl-bottom{bottom:0}}@media (min-width:1400px){.sticky-xxl-top{top:0}.sticky-xxl-bottom,.sticky-xxl-top{position:-webkit-sticky;position:sticky;z-index:1020}.sticky-xxl-bottom{bottom:0}}.hstack{flex-direction:row;align-items:center}.hstack,.vstack{display:flex;align-self:stretch}.vstack{flex:1 1 auto;flex-direction:column}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.stretched-link:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:1px;min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important}.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}.shadow-lg{box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important}.shadow-none{box-shadow:none!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translateX(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-start-0{border-left:0!important}.border-primary{--bs-border-opacity:1;border-color:rgba(var(--bs-primary-rgb),var(--bs-border-opacity))!important}.border-secondary{--bs-border-opacity:1;border-color:rgba(var(--bs-secondary-rgb),var(--bs-border-opacity))!important}.border-success{--bs-border-opacity:1;border-color:rgba(var(--bs-success-rgb),var(--bs-border-opacity))!important}.border-info{--bs-border-opacity:1;border-color:rgba(var(--bs-info-rgb),var(--bs-border-opacity))!important}.border-warning{--bs-border-opacity:1;border-color:rgba(var(--bs-warning-rgb),var(--bs-border-opacity))!important}.border-danger{--bs-border-opacity:1;border-color:rgba(var(--bs-danger-rgb),var(--bs-border-opacity))!important}.border-light{--bs-border-opacity:1;border-color:rgba(var(--bs-light-rgb),var(--bs-border-opacity))!important}.border-dark{--bs-border-opacity:1;border-color:rgba(var(--bs-dark-rgb),var(--bs-border-opacity))!important}.border-white{--bs-border-opacity:1;border-color:rgba(var(--bs-white-rgb),var(--bs-border-opacity))!important}.border-1{--bs-border-width:1px}.border-2{--bs-border-width:2px}.border-3{--bs-border-width:3px}.border-4{--bs-border-width:4px}.border-5{--bs-border-width:5px}.border-opacity-10{--bs-border-opacity:0.1}.border-opacity-25{--bs-border-opacity:0.25}.border-opacity-50{--bs-border-opacity:0.5}.border-opacity-75{--bs-border-opacity:0.75}.border-opacity-100{--bs-border-opacity:1}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-light{font-weight:300!important}.fw-lighter{font-weight:lighter!important}.fw-normal{font-weight:400!important}.fw-bold{font-weight:700!important}.fw-semibold{font-weight:600!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--bs-text-opacity:1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity:1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity:1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity:1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity:1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity:1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity:1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity:1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity:1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity:1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity:1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity:1;color:#6c757d!important}.text-black-50{--bs-text-opacity:1;color:rgba(0,0,0,.5)!important}.text-white-50{--bs-text-opacity:1;color:hsla(0,0%,100%,.5)!important}.text-reset{--bs-text-opacity:1;color:inherit!important}.text-opacity-25{--bs-text-opacity:0.25}.text-opacity-50{--bs-text-opacity:0.5}.text-opacity-75{--bs-text-opacity:0.75}.text-opacity-100{--bs-text-opacity:1}.bg-primary{--bs-bg-opacity:1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity:1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity:1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity:1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity:1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity:1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity:1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity:1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity:1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity:1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity:1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity:1;background-color:transparent!important}.bg-opacity-10{--bs-bg-opacity:0.1}.bg-opacity-25{--bs-bg-opacity:0.25}.bg-opacity-50{--bs-bg-opacity:0.5}.bg-opacity-75{--bs-bg-opacity:0.75}.bg-opacity-100{--bs-bg-opacity:1}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--bs-border-radius-sm)!important}.rounded-2{border-radius:var(--bs-border-radius)!important}.rounded-3{border-radius:var(--bs-border-radius-lg)!important}.rounded-4{border-radius:var(--bs-border-radius-xl)!important}.rounded-5{border-radius:var(--bs-border-radius-2xl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--bs-border-radius-pill)!important}.rounded-top{border-top-left-radius:var(--bs-border-radius)!important}.rounded-end,.rounded-top{border-top-right-radius:var(--bs-border-radius)!important}.rounded-bottom,.rounded-end{border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-bottom,.rounded-start{border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-start{border-top-left-radius:var(--bs-border-radius)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}@media (min-width:576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media (min-width:1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}@media (min-width:1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}}:root{--field-top-spacing:20px}body,html{padding:0;margin:0;font-family:BCSans,Verdana,Arial,sans-serif;font-size:16px!important;color:#292929}h1{font-size:2.25rem}h1,h2{font-weight:700}h2{font-size:2rem}h3{font-size:1.75rem}h3,h4{font-weight:700}h4{font-size:1.5rem}h5{font-size:1.25rem}h5,h6{font-weight:700}h6{font-size:1.125rem}label{font-size:1rem}.text-large{font-size:1.125rem}.text-small{font-size:.875rem}button{border-radius:.222em;border-width:0;font-family:BC Sans,Verdana,Arial,sans-serif;padding:.66em 1.77em;text-align:center;text-decoration:none;font-weight:700;display:inline-block;cursor:pointer;box-shadow:inset 0 0 0 2px transparent,inset 0 0 0 0 rgba(34,36,38,.15);&.primary{background-color:#013366;color:#fff;&:hover{text-decoration:underline;background-color:#1e5189}&:focus{outline:4px solid #2e5dd7;outline-offset:1px}&:active{opacity:1}}&.primary-inverse{background-color:#fff;box-shadow:inset 0 0 0 2px #313132!important;color:#313132;&:hover{text-decoration:underline;background-color:#f2f2f2}&:focus{outline:4px solid #3b99fc;outline-offset:1px}&:active{background-color:#fff}}&.secondary{background:none;box-shadow:inset 0 0 0 2px #036!important;color:#036;&:hover{opacity:.8;text-decoration:underline;background-color:#036;color:#fff}&:focus{outline-offset:1px;outline:4px solid #3b99fc}&:active{opacity:1}}&.secondary-inverse{background:none;box-shadow:inset 0 0 0 2px #fff!important;color:#fff;&:hover{text-decoration:underline;background-color:#fff;color:#313132}&:focus{outline-offset:1px;outline:4px solid #3b99fc}&:active{background-color:#f2f2f2;color:#313132}}&.danger{background:#ce3e39;color:#fff;&:hover{text-decoration:underline;background-color:#a2312d}&:focus{outline-offset:1px;outline:4px solid #3b99fc}}&:disabled{background-color:#edebe9;box-shadow:inset 0 0 0 2px #fff!important;color:#9f9d9c;cursor:not-allowed;&:hover{text-decoration:none;background-color:#edebe9}}&.callout{background-color:#fcba19;&:hover{text-decoration:none;background-color:#f9c462}}&.wide{min-width:190px}&.short{padding-top:.39rem;padding-bottom:.39rem}}a{color:#1a5a96}*{box-sizing:border-box}fieldset{border:none!important}legend{font-size:1.125rem;font-weight:700}.pg-menu-item,.pg-menu-item>span{display:flex;align-items:center}#root_newToSso>.radio,#root_projectLead>.radio,#root_usesTeam>.radio{display:inline;margin-right:10px}.checkboxes-grid .checkboxes{display:grid;grid-template-columns:1fr 1fr;grid-row-gap:.5em;row-gap:.5em}:root{--textarea-spacer:5em}.other-details>div:first-child{width:0}.other-details textarea{width:calc(100% - var(--textarea-spacer))}.other-details{display:grid;grid-template-columns:1fr 1fr;position:relative;bottom:2.4em;left:var(--textarea-spacer);height:0;margin-bottom:3em}.other-details:after{content:"100 characters max.";grid-column:2;margin-left:auto;position:relative;right:var(--textarea-spacer);color:#abafb2}.radio>label>span>input{margin:10px 5px 0 0}.checkbox>label>span>span{margin-left:5px}#root_agreeWithTerms+span{font-weight:700;margin-left:5px}.form-group.field:not(.field-object){margin-top:var(--field-top-spacing)}span.required{display:none}li.text-danger{max-width:380px}label.control-label,label.pg-input-label,label.pg-textarea-label{font-weight:700}[type=checkbox]+span{margin-left:5px}.form-group.field.field-boolean{margin:0}.form-group.field.field-boolean>legend{margin-top:var(--field-top-spacing)}.field-array>div>div:first-of-type .field{margin-top:0!important}.short-field-string{display:block;width:100%;max-width:400px}textarea#root_bceidBody{width:600px}.field-string .pg-input .pg-input-input{width:100%;padding-right:30px}.pg-input-input:-moz-read-only{background-color:#eaeaea;cursor:not-allowed}.pg-input-input:read-only{background-color:#eaeaea;cursor:not-allowed}.pg-select-input:disabled{cursor:not-allowed;background-color:#eaeaea;margin:-5px}.pg-footer-footer{height:unset!important}ul.error-detail{list-style:none;margin-left:0}.pg-select>label{display:none}.pg-modal-header{font-weight:700;display:flex;align-items:center}.multiselect{position:relative;outline:none}.underline{text-decoration:underline}.strong{font-weight:700}.normal{font-weight:400}.pg-modal-container{z-index:1000}.text-blue{color:blue}.line-height-200{line-height:200%}.link{font-size:1rem;color:#1a5a96}.link:hover{color:blue;text-decoration:none}.link:after{content:url('data:image/svg+xml;utf8,')}::part(iframe){margin:auto;display:flex;min-height:700px}.comments-container{max-height:300px;overflow-y:scroll}.hidden-title{display:none}.modal-open{padding-right:0!important}@font-face{src:url(https://bcgov.github.io/sso-requests-preview/_next/static/media/BCSans-Regular.b922124c.woff) format("woff");font-weight:400;font-style:normal;font-family:BCSans}@font-face{src:url(https://bcgov.github.io/sso-requests-preview/_next/static/media/BCSans-BoldItalic.38012020.woff) format("woff");font-weight:700;font-style:italic;font-family:BCSans}@font-face{src:url(https://bcgov.github.io/sso-requests-preview/_next/static/media/BCSans-Italic.3090d5fd.woff) format("woff");font-weight:400;font-style:italic;font-family:BCSans}@font-face{src:url(https://bcgov.github.io/sso-requests-preview/_next/static/media/BCSans-Bold.f3d21374.woff) format("woff");font-weight:700;font-style:normal;font-family:BCSans} \ No newline at end of file + */:root{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13,110,253;--bs-secondary-rgb:108,117,125;--bs-success-rgb:25,135,84;--bs-info-rgb:13,202,240;--bs-warning-rgb:255,193,7;--bs-danger-rgb:220,53,69;--bs-light-rgb:248,249,250;--bs-dark-rgb:33,37,41;--bs-white-rgb:255,255,255;--bs-black-rgb:0,0,0;--bs-body-color-rgb:33,37,41;--bs-body-bg-rgb:255,255,255;--bs-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--bs-gradient:linear-gradient(180deg,hsla(0,0%,100%,.15),hsla(0,0%,100%,0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-bg:#fff;--bs-border-width:1px;--bs-border-style:solid;--bs-border-color:#dee2e6;--bs-border-color-translucent:rgba(0,0,0,.175);--bs-border-radius:0.375rem;--bs-border-radius-sm:0.25rem;--bs-border-radius-lg:0.5rem;--bs-border-radius-xl:1rem;--bs-border-radius-2xl:2rem;--bs-border-radius-pill:50rem;--bs-link-color:#0d6efd;--bs-link-hover-color:#0a58ca;--bs-code-color:#d63384;--bs-highlight-bg:#fff3cd}*,:after,:before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}hr{margin:1rem 0;color:inherit;border:0;border-top:1px solid;opacity:.25}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2}.h1,h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){.h1,h1{font-size:2.5rem}}.h2,h2{font-size:calc(1.325rem + .9vw)}@media (min-width:1200px){.h2,h2{font-size:2rem}}.h3,h3{font-size:calc(1.3rem + .6vw)}@media (min-width:1200px){.h3,h3{font-size:1.75rem}}.h4,h4{font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){.h4,h4{font-size:1.5rem}}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}.small,small{font-size:.875em}.mark,mark{padding:.1875em;background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:var(--bs-link-color);text-decoration:underline}a:hover{color:var(--bs-link-hover-color)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:#6c757d;text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}tbody,td,tfoot,th,thead,tr{border:0 solid;border-color:inherit}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-6{font-size:2.5rem}}.list-inline,.list-unstyled{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer:before{content:"— "}.img-fluid,.img-thumbnail{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#fff;border:1px solid var(--bs-border-color);border-radius:.375rem}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:#6c757d}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{--bs-gutter-x:1.5rem;--bs-gutter-y:0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}@media (min-width:1400px){.container,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{max-width:1320px}}.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.6666666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x:0}.g-0,.gy-0{--bs-gutter-y:0}.g-1,.gx-1{--bs-gutter-x:0.25rem}.g-1,.gy-1{--bs-gutter-y:0.25rem}.g-2,.gx-2{--bs-gutter-x:0.5rem}.g-2,.gy-2{--bs-gutter-y:0.5rem}.g-3,.gx-3{--bs-gutter-x:1rem}.g-3,.gy-3{--bs-gutter-y:1rem}.g-4,.gx-4{--bs-gutter-x:1.5rem}.g-4,.gy-4{--bs-gutter-y:1.5rem}.g-5,.gx-5{--bs-gutter-x:3rem}.g-5,.gy-5{--bs-gutter-y:3rem}@media (min-width:576px){.col-sm{flex:1 0}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.6666666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x:0}.g-sm-0,.gy-sm-0{--bs-gutter-y:0}.g-sm-1,.gx-sm-1{--bs-gutter-x:0.25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y:0.25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x:0.5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y:0.5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x:1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y:1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x:1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y:1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x:3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y:3rem}}@media (min-width:768px){.col-md{flex:1 0}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.6666666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x:0}.g-md-0,.gy-md-0{--bs-gutter-y:0}.g-md-1,.gx-md-1{--bs-gutter-x:0.25rem}.g-md-1,.gy-md-1{--bs-gutter-y:0.25rem}.g-md-2,.gx-md-2{--bs-gutter-x:0.5rem}.g-md-2,.gy-md-2{--bs-gutter-y:0.5rem}.g-md-3,.gx-md-3{--bs-gutter-x:1rem}.g-md-3,.gy-md-3{--bs-gutter-y:1rem}.g-md-4,.gx-md-4{--bs-gutter-x:1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y:1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x:3rem}.g-md-5,.gy-md-5{--bs-gutter-y:3rem}}@media (min-width:992px){.col-lg{flex:1 0}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.6666666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x:0}.g-lg-0,.gy-lg-0{--bs-gutter-y:0}.g-lg-1,.gx-lg-1{--bs-gutter-x:0.25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y:0.25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x:0.5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y:0.5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x:1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y:1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x:1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y:1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x:3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y:3rem}}@media (min-width:1200px){.col-xl{flex:1 0}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x:0}.g-xl-0,.gy-xl-0{--bs-gutter-y:0}.g-xl-1,.gx-xl-1{--bs-gutter-x:0.25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y:0.25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x:0.5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y:0.5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x:1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y:1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x:1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y:1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x:3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y:3rem}}@media (min-width:1400px){.col-xxl{flex:1 0}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x:0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y:0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x:0.25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y:0.25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x:0.5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y:0.5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x:1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y:1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x:1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y:1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x:3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y:3rem}}.table{--bs-table-color:var(--bs-body-color);--bs-table-bg:transparent;--bs-table-border-color:var(--bs-border-color);--bs-table-accent-bg:transparent;--bs-table-striped-color:var(--bs-body-color);--bs-table-striped-bg:rgba(0,0,0,.05);--bs-table-active-color:var(--bs-body-color);--bs-table-active-bg:rgba(0,0,0,.1);--bs-table-hover-color:var(--bs-body-color);--bs-table-hover-bg:rgba(0,0,0,.075);width:100%;margin-bottom:1rem;color:var(--bs-table-color);vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem;background-color:var(--bs-table-bg);border-bottom-width:1px;box-shadow:inset 0 0 0 9999px var(--bs-table-accent-bg)}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:2px solid}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem}.table-bordered>:not(caption)>*{border-width:1px 0}.table-bordered>:not(caption)>*>*{border-width:0 1px}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped-columns>:not(caption)>tr>:nth-child(2n),.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-accent-bg:var(--bs-table-striped-bg);color:var(--bs-table-striped-color)}.table-active{--bs-table-accent-bg:var(--bs-table-active-bg);color:var(--bs-table-active-color)}.table-hover>tbody>tr:hover>*{--bs-table-accent-bg:var(--bs-table-hover-bg);color:var(--bs-table-hover-color)}.table-primary{--bs-table-color:#000;--bs-table-bg:#cfe2ff;--bs-table-border-color:#bacbe6;--bs-table-striped-bg:#c5d7f2;--bs-table-striped-color:#000;--bs-table-active-bg:#bacbe6;--bs-table-active-color:#000;--bs-table-hover-bg:#bfd1ec;--bs-table-hover-color:#000}.table-primary,.table-secondary{color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color:#000;--bs-table-bg:#e2e3e5;--bs-table-border-color:#cbccce;--bs-table-striped-bg:#d7d8da;--bs-table-striped-color:#000;--bs-table-active-bg:#cbccce;--bs-table-active-color:#000;--bs-table-hover-bg:#d1d2d4;--bs-table-hover-color:#000}.table-success{--bs-table-color:#000;--bs-table-bg:#d1e7dd;--bs-table-border-color:#bcd0c7;--bs-table-striped-bg:#c7dbd2;--bs-table-striped-color:#000;--bs-table-active-bg:#bcd0c7;--bs-table-active-color:#000;--bs-table-hover-bg:#c1d6cc;--bs-table-hover-color:#000}.table-info,.table-success{color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color:#000;--bs-table-bg:#cff4fc;--bs-table-border-color:#badce3;--bs-table-striped-bg:#c5e8ef;--bs-table-striped-color:#000;--bs-table-active-bg:#badce3;--bs-table-active-color:#000;--bs-table-hover-bg:#bfe2e9;--bs-table-hover-color:#000}.table-warning{--bs-table-color:#000;--bs-table-bg:#fff3cd;--bs-table-border-color:#e6dbb9;--bs-table-striped-bg:#f2e7c3;--bs-table-striped-color:#000;--bs-table-active-bg:#e6dbb9;--bs-table-active-color:#000;--bs-table-hover-bg:#ece1be;--bs-table-hover-color:#000}.table-danger,.table-warning{color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color:#000;--bs-table-bg:#f8d7da;--bs-table-border-color:#dfc2c4;--bs-table-striped-bg:#eccccf;--bs-table-striped-color:#000;--bs-table-active-bg:#dfc2c4;--bs-table-active-color:#000;--bs-table-hover-bg:#e5c7ca;--bs-table-hover-color:#000}.table-light{--bs-table-color:#000;--bs-table-bg:#f8f9fa;--bs-table-border-color:#dfe0e1;--bs-table-striped-bg:#ecedee;--bs-table-striped-color:#000;--bs-table-active-bg:#dfe0e1;--bs-table-active-color:#000;--bs-table-hover-bg:#e5e6e7;--bs-table-hover-color:#000}.table-dark,.table-light{color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color:#fff;--bs-table-bg:#212529;--bs-table-border-color:#373b3e;--bs-table-striped-bg:#2c3034;--bs-table-striped-color:#fff;--bs-table-active-bg:#373b3e;--bs-table-active-color:#fff;--bs-table-hover-bg:#323539;--bs-table-hover-color:#fff}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width:575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + 1px);padding-bottom:calc(.375rem + 1px);margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + 1px);padding-bottom:calc(.5rem + 1px);font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + 1px);padding-bottom:calc(.25rem + 1px);font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:#6c757d}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:.375rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:#212529;background-color:#fff;border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-control::-webkit-date-and-time-value{height:1.5em}.form-control::placeholder{color:#6c757d;opacity:1}.form-control:disabled{background-color:#e9ecef;opacity:1}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:#212529;background-color:#e9ecef;pointer-events:none;border:0 solid;border-color:inherit;border-inline-end-width:1px;border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:#212529;background-color:#e9ecef;pointer-events:none;border:0 solid;border-color:inherit;border-inline-end-width:1px;border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:#dde0e3}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:#dde0e3}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:#212529;background-color:transparent;border:solid transparent;border-width:1px 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + 2px);padding:.25rem .5rem;font-size:.875rem;border-radius:.25rem}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + 2px);padding:.5rem 1rem;font-size:1.25rem;border-radius:.5rem}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + 2px)}textarea.form-control-sm{min-height:calc(1.5em + .5rem + 2px)}textarea.form-control-lg{min-height:calc(1.5em + 1rem + 2px)}.form-control-color{width:3rem;height:calc(1.5em + .75rem + 2px);padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:.375rem}.form-control-color::-webkit-color-swatch{border-radius:.375rem}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + 2px)}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + 2px)}.form-select{display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;-moz-padding-start:calc(.75rem - 3px);font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:1px solid #ced4da;border-radius:.375rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-select{transition:none}}.form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:#e9ecef}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #212529}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:.25rem}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:.5rem}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}.form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}.form-check-input{width:1em;height:1em;margin-top:.25em;vertical-align:top;background-color:#fff;background-repeat:no-repeat;background-position:50%;background-size:contain;border:1px solid rgba(0,0,0,.25);-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-print-color-adjust:exact;color-adjust:exact;print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}.form-check-input:checked[type=checkbox]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{width:2em;margin-left:-2.5em;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");background-position:0;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:100%;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check:disabled+.btn,.btn-check[disabled]+.btn{pointer-events:none;filter:none;opacity:.65}.form-range{width:100%;height:1.5rem;padding:0;background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#0d6efd;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#b6d4fe}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#0d6efd;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}.form-range::-moz-range-thumb:active{background-color:#b6d4fe}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}.form-range:disabled::-moz-range-thumb{background-color:#adb5bd}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + 2px);line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;width:100%;height:100%;padding:1rem .75rem;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:1px solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion:reduce){.form-floating>label{transition:none}}.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control-plaintext::placeholder,.form-floating>.form-control::placeholder{color:transparent}.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown),.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control-plaintext:-webkit-autofill,.form-floating>.form-control:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control-plaintext~label,.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-select~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>.form-control:-webkit-autofill~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>.form-control-plaintext~label{border-width:1px 0}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-floating,.input-group>.form-select{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-floating:focus-within,.input-group>.form-select:focus{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.375rem}.input-group-lg>.btn,.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text{padding:.5rem 1rem;font-size:1.25rem;border-radius:.5rem}.input-group-sm>.btn,.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text{padding:.25rem .5rem;font-size:.875rem;border-radius:.25rem}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select,.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select,.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:#198754}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:rgba(25,135,84,.9);border-radius:.375rem}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{border-color:#198754;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:#198754;box-shadow:0 0 0 .25rem rgba(25,135,84,.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-valid,.was-validated .form-select:valid{border-color:#198754}.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"],.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"]{padding-right:4.125rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"),url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-valid:focus,.was-validated .form-select:valid:focus{border-color:#198754;box-shadow:0 0 0 .25rem rgba(25,135,84,.25)}.form-control-color.is-valid,.was-validated .form-control-color:valid{width:calc(3rem + calc(1.5em + .75rem))}.form-check-input.is-valid,.was-validated .form-check-input:valid{border-color:#198754}.form-check-input.is-valid:checked,.was-validated .form-check-input:valid:checked{background-color:#198754}.form-check-input.is-valid:focus,.was-validated .form-check-input:valid:focus{box-shadow:0 0 0 .25rem rgba(25,135,84,.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:#198754}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.input-group>.form-control:not(:focus).is-valid,.input-group>.form-floating:not(:focus-within).is-valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-control:not(:focus):valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.was-validated .input-group>.form-select:not(:focus):valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:#dc3545}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:rgba(220,53,69,.9);border-radius:.375rem}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:#dc3545;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .25rem rgba(220,53,69,.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-invalid,.was-validated .form-select:invalid{border-color:#dc3545}.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"],.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"]{padding-right:4.125rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"),url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-invalid:focus,.was-validated .form-select:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .25rem rgba(220,53,69,.25)}.form-control-color.is-invalid,.was-validated .form-control-color:invalid{width:calc(3rem + calc(1.5em + .75rem))}.form-check-input.is-invalid,.was-validated .form-check-input:invalid{border-color:#dc3545}.form-check-input.is-invalid:checked,.was-validated .form-check-input:invalid:checked{background-color:#dc3545}.form-check-input.is-invalid:focus,.was-validated .form-check-input:invalid:focus{box-shadow:0 0 0 .25rem rgba(220,53,69,.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:#dc3545}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.input-group>.form-control:not(:focus).is-invalid,.input-group>.form-floating:not(:focus-within).is-invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-control:not(:focus):invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.was-validated .input-group>.form-select:not(:focus):invalid{z-index:4}.btn{--bs-btn-padding-x:0.75rem;--bs-btn-padding-y:0.375rem;--bs-btn-font-family: ;--bs-btn-font-size:1rem;--bs-btn-font-weight:400;--bs-btn-line-height:1.5;--bs-btn-color:#212529;--bs-btn-bg:transparent;--bs-btn-border-width:1px;--bs-btn-border-color:transparent;--bs-btn-border-radius:0.375rem;--bs-btn-hover-border-color:transparent;--bs-btn-box-shadow:inset 0 1px 0 hsla(0,0%,100%,.15),0 1px 1px rgba(0,0,0,.075);--bs-btn-disabled-opacity:0.65;--bs-btn-focus-box-shadow:0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb),.5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:first-child:hover,:not(.btn-check)+.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,.btn.active,.btn.show,.btn:first-child:active,:not(.btn-check)+.btn:active{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible,.btn:first-child:active:focus-visible,:not(.btn-check)+.btn:active:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn.disabled,.btn:disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-primary{--bs-btn-color:#fff;--bs-btn-bg:#0d6efd;--bs-btn-border-color:#0d6efd;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#0b5ed7;--bs-btn-hover-border-color:#0a58ca;--bs-btn-focus-shadow-rgb:49,132,253;--bs-btn-active-color:#fff;--bs-btn-active-bg:#0a58ca;--bs-btn-active-border-color:#0a53be;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#0d6efd;--bs-btn-disabled-border-color:#0d6efd}.btn-secondary{--bs-btn-color:#fff;--bs-btn-bg:#6c757d;--bs-btn-border-color:#6c757d;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#5c636a;--bs-btn-hover-border-color:#565e64;--bs-btn-focus-shadow-rgb:130,138,145;--bs-btn-active-color:#fff;--bs-btn-active-bg:#565e64;--bs-btn-active-border-color:#51585e;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#6c757d;--bs-btn-disabled-border-color:#6c757d}.btn-success{--bs-btn-color:#fff;--bs-btn-bg:#198754;--bs-btn-border-color:#198754;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#157347;--bs-btn-hover-border-color:#146c43;--bs-btn-focus-shadow-rgb:60,153,110;--bs-btn-active-color:#fff;--bs-btn-active-bg:#146c43;--bs-btn-active-border-color:#13653f;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#198754;--bs-btn-disabled-border-color:#198754}.btn-info{--bs-btn-color:#000;--bs-btn-bg:#0dcaf0;--bs-btn-border-color:#0dcaf0;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#31d2f2;--bs-btn-hover-border-color:#25cff2;--bs-btn-focus-shadow-rgb:11,172,204;--bs-btn-active-color:#000;--bs-btn-active-bg:#3dd5f3;--bs-btn-active-border-color:#25cff2;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#0dcaf0;--bs-btn-disabled-border-color:#0dcaf0}.btn-warning{--bs-btn-color:#000;--bs-btn-bg:#ffc107;--bs-btn-border-color:#ffc107;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#ffca2c;--bs-btn-hover-border-color:#ffc720;--bs-btn-focus-shadow-rgb:217,164,6;--bs-btn-active-color:#000;--bs-btn-active-bg:#ffcd39;--bs-btn-active-border-color:#ffc720;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#ffc107;--bs-btn-disabled-border-color:#ffc107}.btn-danger{--bs-btn-color:#fff;--bs-btn-bg:#dc3545;--bs-btn-border-color:#dc3545;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#bb2d3b;--bs-btn-hover-border-color:#b02a37;--bs-btn-focus-shadow-rgb:225,83,97;--bs-btn-active-color:#fff;--bs-btn-active-bg:#b02a37;--bs-btn-active-border-color:#a52834;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#dc3545;--bs-btn-disabled-border-color:#dc3545}.btn-light{--bs-btn-color:#000;--bs-btn-bg:#f8f9fa;--bs-btn-border-color:#f8f9fa;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#d3d4d5;--bs-btn-hover-border-color:#c6c7c8;--bs-btn-focus-shadow-rgb:211,212,213;--bs-btn-active-color:#000;--bs-btn-active-bg:#c6c7c8;--bs-btn-active-border-color:#babbbc;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#f8f9fa;--bs-btn-disabled-border-color:#f8f9fa}.btn-dark{--bs-btn-color:#fff;--bs-btn-bg:#212529;--bs-btn-border-color:#212529;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#424649;--bs-btn-hover-border-color:#373b3e;--bs-btn-focus-shadow-rgb:66,70,73;--bs-btn-active-color:#fff;--bs-btn-active-bg:#4d5154;--bs-btn-active-border-color:#373b3e;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#212529;--bs-btn-disabled-border-color:#212529}.btn-outline-primary{--bs-btn-color:#0d6efd;--bs-btn-border-color:#0d6efd;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#0d6efd;--bs-btn-hover-border-color:#0d6efd;--bs-btn-focus-shadow-rgb:13,110,253;--bs-btn-active-color:#fff;--bs-btn-active-bg:#0d6efd;--bs-btn-active-border-color:#0d6efd;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#0d6efd;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#0d6efd;--bs-gradient:none}.btn-outline-secondary{--bs-btn-color:#6c757d;--bs-btn-border-color:#6c757d;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#6c757d;--bs-btn-hover-border-color:#6c757d;--bs-btn-focus-shadow-rgb:108,117,125;--bs-btn-active-color:#fff;--bs-btn-active-bg:#6c757d;--bs-btn-active-border-color:#6c757d;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#6c757d;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#6c757d;--bs-gradient:none}.btn-outline-success{--bs-btn-color:#198754;--bs-btn-border-color:#198754;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#198754;--bs-btn-hover-border-color:#198754;--bs-btn-focus-shadow-rgb:25,135,84;--bs-btn-active-color:#fff;--bs-btn-active-bg:#198754;--bs-btn-active-border-color:#198754;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#198754;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#198754;--bs-gradient:none}.btn-outline-info{--bs-btn-color:#0dcaf0;--bs-btn-border-color:#0dcaf0;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#0dcaf0;--bs-btn-hover-border-color:#0dcaf0;--bs-btn-focus-shadow-rgb:13,202,240;--bs-btn-active-color:#000;--bs-btn-active-bg:#0dcaf0;--bs-btn-active-border-color:#0dcaf0;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#0dcaf0;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#0dcaf0;--bs-gradient:none}.btn-outline-warning{--bs-btn-color:#ffc107;--bs-btn-border-color:#ffc107;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#ffc107;--bs-btn-hover-border-color:#ffc107;--bs-btn-focus-shadow-rgb:255,193,7;--bs-btn-active-color:#000;--bs-btn-active-bg:#ffc107;--bs-btn-active-border-color:#ffc107;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#ffc107;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#ffc107;--bs-gradient:none}.btn-outline-danger{--bs-btn-color:#dc3545;--bs-btn-border-color:#dc3545;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#dc3545;--bs-btn-hover-border-color:#dc3545;--bs-btn-focus-shadow-rgb:220,53,69;--bs-btn-active-color:#fff;--bs-btn-active-bg:#dc3545;--bs-btn-active-border-color:#dc3545;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#dc3545;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#dc3545;--bs-gradient:none}.btn-outline-light{--bs-btn-color:#f8f9fa;--bs-btn-border-color:#f8f9fa;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#f8f9fa;--bs-btn-hover-border-color:#f8f9fa;--bs-btn-focus-shadow-rgb:248,249,250;--bs-btn-active-color:#000;--bs-btn-active-bg:#f8f9fa;--bs-btn-active-border-color:#f8f9fa;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#f8f9fa;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#f8f9fa;--bs-gradient:none}.btn-outline-dark{--bs-btn-color:#212529;--bs-btn-border-color:#212529;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#212529;--bs-btn-hover-border-color:#212529;--bs-btn-focus-shadow-rgb:33,37,41;--bs-btn-active-color:#fff;--bs-btn-active-bg:#212529;--bs-btn-active-border-color:#212529;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#212529;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#212529;--bs-gradient:none}.btn-link{--bs-btn-font-weight:400;--bs-btn-color:var(--bs-link-color);--bs-btn-bg:transparent;--bs-btn-border-color:transparent;--bs-btn-hover-color:var(--bs-link-hover-color);--bs-btn-hover-border-color:transparent;--bs-btn-active-color:var(--bs-link-hover-color);--bs-btn-active-border-color:transparent;--bs-btn-disabled-color:#6c757d;--bs-btn-disabled-border-color:transparent;--bs-btn-box-shadow:none;--bs-btn-focus-shadow-rgb:49,132,253;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-group-lg>.btn,.btn-lg{--bs-btn-padding-y:0.5rem;--bs-btn-padding-x:1rem;--bs-btn-font-size:1.25rem;--bs-btn-border-radius:0.5rem}.btn-group-sm>.btn,.btn-sm{--bs-btn-padding-y:0.25rem;--bs-btn-padding-x:0.5rem;--bs-btn-font-size:0.875rem;--bs-btn-border-radius:0.25rem}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion:reduce){.collapsing.collapse-horizontal{transition:none}}.dropdown,.dropdown-center,.dropend,.dropstart,.dropup,.dropup-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu{--bs-dropdown-zindex:1000;--bs-dropdown-min-width:10rem;--bs-dropdown-padding-x:0;--bs-dropdown-padding-y:0.5rem;--bs-dropdown-spacer:0.125rem;--bs-dropdown-font-size:1rem;--bs-dropdown-color:#212529;--bs-dropdown-bg:#fff;--bs-dropdown-border-color:var(--bs-border-color-translucent);--bs-dropdown-border-radius:0.375rem;--bs-dropdown-border-width:1px;--bs-dropdown-inner-border-radius:calc(0.375rem - 1px);--bs-dropdown-divider-bg:var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y:0.5rem;--bs-dropdown-box-shadow:0 0.5rem 1rem rgba(0,0,0,.15);--bs-dropdown-link-color:#212529;--bs-dropdown-link-hover-color:#1e2125;--bs-dropdown-link-hover-bg:#e9ecef;--bs-dropdown-link-active-color:#fff;--bs-dropdown-link-active-bg:#0d6efd;--bs-dropdown-link-disabled-color:#adb5bd;--bs-dropdown-item-padding-x:1rem;--bs-dropdown-item-padding-y:0.25rem;--bs-dropdown-header-color:#6c757d;--bs-dropdown-header-padding-x:1rem;--bs-dropdown-header-padding-y:0.5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position:start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position:end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media (min-width:576px){.dropdown-menu-sm-start{--bs-position:start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position:end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media (min-width:768px){.dropdown-menu-md-start{--bs-position:start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position:end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media (min-width:992px){.dropdown-menu-lg-start{--bs-position:start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position:end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1200px){.dropdown-menu-xl-start{--bs-position:start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position:end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1400px){.dropdown-menu-xxl-start{--bs-position:start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position:end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-toggle:after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";display:none}.dropstart .dropdown-toggle:before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty:after{margin-left:0}.dropstart .dropdown-toggle:before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0}.dropdown-item:focus,.dropdown-item:hover{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color:#dee2e6;--bs-dropdown-bg:#343a40;--bs-dropdown-border-color:var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color:#dee2e6;--bs-dropdown-link-hover-color:#fff;--bs-dropdown-divider-bg:var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg:hsla(0,0%,100%,.15);--bs-dropdown-link-active-color:#fff;--bs-dropdown-link-active-bg:#0d6efd;--bs-dropdown-link-disabled-color:#adb5bd;--bs-dropdown-header-color:#adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;flex:1 1 auto}.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:.375rem}.btn-group>.btn-group:not(:first-child),.btn-group>:not(.btn-check:first-child)+.btn{margin-left:-1px}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split:after,.dropend .dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after{margin-left:0}.dropstart .dropdown-toggle-split:before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn~.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--bs-nav-link-padding-x:1rem;--bs-nav-link-padding-y:0.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color:var(--bs-link-color);--bs-nav-link-hover-color:var(--bs-link-hover-color);--bs-nav-link-disabled-color:#6c757d;display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion:reduce){.nav-link{transition:none}}.nav-link:focus,.nav-link:hover{color:var(--bs-nav-link-hover-color)}.nav-link.disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width:1px;--bs-nav-tabs-border-color:#dee2e6;--bs-nav-tabs-border-radius:0.375rem;--bs-nav-tabs-link-hover-border-color:#e9ecef #e9ecef #dee2e6;--bs-nav-tabs-link-active-color:#495057;--bs-nav-tabs-link-active-bg:#fff;--bs-nav-tabs-link-active-border-color:#dee2e6 #dee2e6 #fff;border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));background:0 0;border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-link.disabled,.nav-tabs .nav-link:disabled{color:var(--bs-nav-link-disabled-color);background-color:transparent;border-color:transparent}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--bs-nav-pills-border-radius:0.375rem;--bs-nav-pills-link-active-color:#fff;--bs-nav-pills-link-active-bg:#0d6efd}.nav-pills .nav-link{background:0 0;border:0;border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link:disabled{color:var(--bs-nav-link-disabled-color);background-color:transparent;border-color:transparent}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-fill .nav-item,.nav-fill>.nav-link{flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x:0;--bs-navbar-padding-y:0.5rem;--bs-navbar-color:rgba(0,0,0,.55);--bs-navbar-hover-color:rgba(0,0,0,.7);--bs-navbar-disabled-color:rgba(0,0,0,.3);--bs-navbar-active-color:rgba(0,0,0,.9);--bs-navbar-brand-padding-y:0.3125rem;--bs-navbar-brand-margin-end:1rem;--bs-navbar-brand-font-size:1.25rem;--bs-navbar-brand-color:rgba(0,0,0,.9);--bs-navbar-brand-hover-color:rgba(0,0,0,.9);--bs-navbar-nav-link-padding-x:0.5rem;--bs-navbar-toggler-padding-y:0.25rem;--bs-navbar-toggler-padding-x:0.75rem;--bs-navbar-toggler-font-size:1.25rem;--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");--bs-navbar-toggler-border-color:rgba(0,0,0,.1);--bs-navbar-toggler-border-radius:0.375rem;--bs-navbar-toggler-focus-width:0.25rem;--bs-navbar-toggler-transition:box-shadow 0.15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-lg,.navbar>.container-md,.navbar>.container-sm,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-right:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x:0;--bs-nav-link-padding-y:0.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color:var(--bs-navbar-color);--bs-nav-link-hover-color:var(--bs-navbar-hover-color);--bs-nav-link-disabled-color:var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link.active,.navbar-nav .show>.nav-link{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:focus,.navbar-text a:hover{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}@media (prefers-reduced-motion:reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:50%;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height,75vh);overflow-y:auto}@media (min-width:576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark{--bs-navbar-color:hsla(0,0%,100%,.55);--bs-navbar-hover-color:hsla(0,0%,100%,.75);--bs-navbar-disabled-color:hsla(0,0%,100%,.25);--bs-navbar-active-color:#fff;--bs-navbar-brand-color:#fff;--bs-navbar-brand-hover-color:#fff;--bs-navbar-toggler-border-color:hsla(0,0%,100%,.1);--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.card{--bs-card-spacer-y:1rem;--bs-card-spacer-x:1rem;--bs-card-title-spacer-y:0.5rem;--bs-card-border-width:1px;--bs-card-border-color:var(--bs-border-color-translucent);--bs-card-border-radius:0.375rem;--bs-card-box-shadow: ;--bs-card-inner-border-radius:calc(0.375rem - 1px);--bs-card-cap-padding-y:0.5rem;--bs-card-cap-padding-x:1rem;--bs-card-cap-bg:rgba(0,0,0,.03);--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg:#fff;--bs-card-img-overlay-padding:1rem;--bs-card-group-margin:0.75rem;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y)}.card-subtitle{margin-top:calc(-.5 * var(--bs-card-title-spacer-y))}.card-subtitle,.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-bottom:calc(-1 * var(--bs-card-cap-padding-y));margin-left:calc(-.5 * var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-left:calc(-.5 * var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom,.card-img-top{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}@media (min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.accordion{--bs-accordion-color:var(--bs-body-color);--bs-accordion-bg:#fff;--bs-accordion-transition:color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out,border-radius 0.15s ease;--bs-accordion-border-color:var(--bs-border-color);--bs-accordion-border-width:1px;--bs-accordion-border-radius:0.375rem;--bs-accordion-inner-border-radius:calc(0.375rem - 1px);--bs-accordion-btn-padding-x:1.25rem;--bs-accordion-btn-padding-y:1rem;--bs-accordion-btn-color:var(--bs-body-color);--bs-accordion-btn-bg:var(--bs-accordion-bg);--bs-accordion-btn-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='var%28--bs-body-color%29'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-icon-width:1.25rem;--bs-accordion-btn-icon-transform:rotate(-180deg);--bs-accordion-btn-icon-transition:transform 0.2s ease-in-out;--bs-accordion-btn-active-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-focus-border-color:#86b7fe;--bs-accordion-btn-focus-box-shadow:0 0 0 0.25rem rgba(13,110,253,.25);--bs-accordion-body-padding-x:1.25rem;--bs-accordion-body-padding-y:1rem;--bs-accordion-active-color:#0c63e4;--bs-accordion-active-bg:#e7f1ff}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}@media (prefers-reduced-motion:reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed):after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button:after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-left:auto;content:"";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}@media (prefers-reduced-motion:reduce){.accordion-button:after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;border-color:var(--bs-accordion-btn-focus-border-color);outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type .accordion-button{border-top-left-radius:var(--bs-accordion-inner-border-radius);border-top-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type .accordion-button.collapsed{border-bottom-right-radius:var(--bs-accordion-inner-border-radius);border-bottom-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type .accordion-collapse{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush .accordion-collapse{border-width:0}.accordion-flush .accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush .accordion-item:first-child{border-top:0}.accordion-flush .accordion-item:last-child{border-bottom:0}.accordion-flush .accordion-item .accordion-button,.accordion-flush .accordion-item .accordion-button.collapsed{border-radius:0}.breadcrumb{--bs-breadcrumb-padding-x:0;--bs-breadcrumb-padding-y:0;--bs-breadcrumb-margin-bottom:1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color:#6c757d;--bs-breadcrumb-item-padding-x:0.5rem;--bs-breadcrumb-item-active-color:#6c757d;display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item:before{float:left;padding-right:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider,"/")}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination{--bs-pagination-padding-x:0.75rem;--bs-pagination-padding-y:0.375rem;--bs-pagination-font-size:1rem;--bs-pagination-color:var(--bs-link-color);--bs-pagination-bg:#fff;--bs-pagination-border-width:1px;--bs-pagination-border-color:#dee2e6;--bs-pagination-border-radius:0.375rem;--bs-pagination-hover-color:var(--bs-link-hover-color);--bs-pagination-hover-bg:#e9ecef;--bs-pagination-hover-border-color:#dee2e6;--bs-pagination-focus-color:var(--bs-link-hover-color);--bs-pagination-focus-bg:#e9ecef;--bs-pagination-focus-box-shadow:0 0 0 0.25rem rgba(13,110,253,.25);--bs-pagination-active-color:#fff;--bs-pagination-active-bg:#0d6efd;--bs-pagination-active-border-color:#0d6efd;--bs-pagination-disabled-color:#6c757d;--bs-pagination-disabled-bg:#fff;--bs-pagination-disabled-border-color:#dee2e6;display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.active>.page-link,.page-link.active{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.disabled>.page-link,.page-link.disabled{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-left:-1px}.page-item:first-child .page-link{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x:1.5rem;--bs-pagination-padding-y:0.75rem;--bs-pagination-font-size:1.25rem;--bs-pagination-border-radius:0.5rem}.pagination-sm{--bs-pagination-padding-x:0.5rem;--bs-pagination-padding-y:0.25rem;--bs-pagination-font-size:0.875rem;--bs-pagination-border-radius:0.25rem}.badge{--bs-badge-padding-x:0.65em;--bs-badge-padding-y:0.35em;--bs-badge-font-size:0.75em;--bs-badge-font-weight:700;--bs-badge-color:#fff;--bs-badge-border-radius:0.375rem;display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--bs-alert-bg:transparent;--bs-alert-padding-x:1rem;--bs-alert-padding-y:1rem;--bs-alert-margin-bottom:1rem;--bs-alert-color:inherit;--bs-alert-border-color:transparent;--bs-alert-border:1px solid var(--bs-alert-border-color);--bs-alert-border-radius:0.375rem;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{--bs-alert-color:#084298;--bs-alert-bg:#cfe2ff;--bs-alert-border-color:#b6d4fe}.alert-primary .alert-link{color:#06357a}.alert-secondary{--bs-alert-color:#41464b;--bs-alert-bg:#e2e3e5;--bs-alert-border-color:#d3d6d8}.alert-secondary .alert-link{color:#34383c}.alert-success{--bs-alert-color:#0f5132;--bs-alert-bg:#d1e7dd;--bs-alert-border-color:#badbcc}.alert-success .alert-link{color:#0c4128}.alert-info{--bs-alert-color:#055160;--bs-alert-bg:#cff4fc;--bs-alert-border-color:#b6effb}.alert-info .alert-link{color:#04414d}.alert-warning{--bs-alert-color:#664d03;--bs-alert-bg:#fff3cd;--bs-alert-border-color:#ffecb5}.alert-warning .alert-link{color:#523e02}.alert-danger{--bs-alert-color:#842029;--bs-alert-bg:#f8d7da;--bs-alert-border-color:#f5c2c7}.alert-danger .alert-link{color:#6a1a21}.alert-light{--bs-alert-color:#636464;--bs-alert-bg:#fefefe;--bs-alert-border-color:#fdfdfe}.alert-light .alert-link{color:#4f5050}.alert-dark{--bs-alert-color:#141619;--bs-alert-bg:#d3d3d4;--bs-alert-border-color:#bcbebf}.alert-dark .alert-link{color:#101214}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress{--bs-progress-height:1rem;--bs-progress-font-size:0.75rem;--bs-progress-bg:#e9ecef;--bs-progress-border-radius:0.375rem;--bs-progress-box-shadow:inset 0 1px 2px rgba(0,0,0,.075);--bs-progress-bar-color:#fff;--bs-progress-bar-bg:#0d6efd;--bs-progress-bar-transition:width 0.6s ease;height:var(--bs-progress-height);font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress,.progress-bar{display:flex;overflow:hidden}.progress-bar{flex-direction:column;justify-content:center;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-bar-animated{animation:progress-bar-stripes 1s linear infinite}@media (prefers-reduced-motion:reduce){.progress-bar-animated{animation:none}}.list-group{--bs-list-group-color:#212529;--bs-list-group-bg:#fff;--bs-list-group-border-color:rgba(0,0,0,.125);--bs-list-group-border-width:1px;--bs-list-group-border-radius:0.375rem;--bs-list-group-item-padding-x:1rem;--bs-list-group-item-padding-y:0.5rem;--bs-list-group-action-color:#495057;--bs-list-group-action-hover-color:#495057;--bs-list-group-action-hover-bg:#f8f9fa;--bs-list-group-action-active-color:#212529;--bs-list-group-action-active-bg:#e9ecef;--bs-list-group-disabled-color:#6c757d;--bs-list-group-disabled-bg:#fff;--bs-list-group-active-color:#fff;--bs-list-group-active-bg:#0d6efd;--bs-list-group-active-border-color:#0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item:before{content:counters(section,".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media (min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{color:#084298;background-color:#cfe2ff}.list-group-item-primary.list-group-item-action:focus,.list-group-item-primary.list-group-item-action:hover{color:#084298;background-color:#bacbe6}.list-group-item-primary.list-group-item-action.active{color:#fff;background-color:#084298;border-color:#084298}.list-group-item-secondary{color:#41464b;background-color:#e2e3e5}.list-group-item-secondary.list-group-item-action:focus,.list-group-item-secondary.list-group-item-action:hover{color:#41464b;background-color:#cbccce}.list-group-item-secondary.list-group-item-action.active{color:#fff;background-color:#41464b;border-color:#41464b}.list-group-item-success{color:#0f5132;background-color:#d1e7dd}.list-group-item-success.list-group-item-action:focus,.list-group-item-success.list-group-item-action:hover{color:#0f5132;background-color:#bcd0c7}.list-group-item-success.list-group-item-action.active{color:#fff;background-color:#0f5132;border-color:#0f5132}.list-group-item-info{color:#055160;background-color:#cff4fc}.list-group-item-info.list-group-item-action:focus,.list-group-item-info.list-group-item-action:hover{color:#055160;background-color:#badce3}.list-group-item-info.list-group-item-action.active{color:#fff;background-color:#055160;border-color:#055160}.list-group-item-warning{color:#664d03;background-color:#fff3cd}.list-group-item-warning.list-group-item-action:focus,.list-group-item-warning.list-group-item-action:hover{color:#664d03;background-color:#e6dbb9}.list-group-item-warning.list-group-item-action.active{color:#fff;background-color:#664d03;border-color:#664d03}.list-group-item-danger{color:#842029;background-color:#f8d7da}.list-group-item-danger.list-group-item-action:focus,.list-group-item-danger.list-group-item-action:hover{color:#842029;background-color:#dfc2c4}.list-group-item-danger.list-group-item-action.active{color:#fff;background-color:#842029;border-color:#842029}.list-group-item-light{color:#636464;background-color:#fefefe}.list-group-item-light.list-group-item-action:focus,.list-group-item-light.list-group-item-action:hover{color:#636464;background-color:#e5e5e5}.list-group-item-light.list-group-item-action.active{color:#fff;background-color:#636464;border-color:#636464}.list-group-item-dark{color:#141619;background-color:#d3d3d4}.list-group-item-dark.list-group-item-action:focus,.list-group-item-dark.list-group-item-action:hover{color:#141619;background-color:#bebebf}.list-group-item-dark.list-group-item-action.active{color:#fff;background-color:#141619;border-color:#141619}.btn-close{box-sizing:content-box;width:1em;height:1em;padding:.25em;color:#000;background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") 50%/1em auto no-repeat;border:0;border-radius:.375rem;opacity:.5}.btn-close:hover{color:#000;text-decoration:none;opacity:.75}.btn-close:focus{outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25);opacity:1}.btn-close.disabled,.btn-close:disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:.25}.btn-close-white{filter:invert(1) grayscale(100%) brightness(200%)}.toast{--bs-toast-zindex:1090;--bs-toast-padding-x:0.75rem;--bs-toast-padding-y:0.5rem;--bs-toast-spacing:1.5rem;--bs-toast-max-width:350px;--bs-toast-font-size:0.875rem;--bs-toast-color: ;--bs-toast-bg:hsla(0,0%,100%,.85);--bs-toast-border-width:1px;--bs-toast-border-color:var(--bs-border-color-translucent);--bs-toast-border-radius:0.375rem;--bs-toast-box-shadow:0 0.5rem 1rem rgba(0,0,0,.15);--bs-toast-header-color:#6c757d;--bs-toast-header-bg:hsla(0,0%,100%,.85);--bs-toast-header-border-color:rgba(0,0,0,.05);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{position:absolute;z-index:var(--bs-toast-zindex);width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-right:calc(-.5 * var(--bs-toast-padding-x));margin-left:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex:1055;--bs-modal-width:500px;--bs-modal-padding:1rem;--bs-modal-margin:0.5rem;--bs-modal-color: ;--bs-modal-bg:#fff;--bs-modal-border-color:var(--bs-border-color-translucent);--bs-modal-border-width:1px;--bs-modal-border-radius:0.5rem;--bs-modal-box-shadow:0 0.125rem 0.25rem rgba(0,0,0,.075);--bs-modal-inner-border-radius:calc(0.5rem - 1px);--bs-modal-header-padding-x:1rem;--bs-modal-header-padding-y:1rem;--bs-modal-header-padding:1rem 1rem;--bs-modal-header-border-color:var(--bs-border-color);--bs-modal-header-border-width:1px;--bs-modal-title-line-height:1.5;--bs-modal-footer-gap:0.5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color:var(--bs-border-color);--bs-modal-footer-border-width:1px;position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translateY(-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex:1050;--bs-backdrop-bg:#000;--bs-backdrop-opacity:0.5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin:calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media (min-width:576px){.modal{--bs-modal-margin:1.75rem;--bs-modal-box-shadow:0 0.5rem 1rem rgba(0,0,0,.15)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--bs-modal-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{--bs-modal-width:800px}}@media (min-width:1200px){.modal-xl{--bs-modal-width:1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-footer,.modal-fullscreen .modal-header{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media (max-width:575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-footer,.modal-fullscreen-sm-down .modal-header{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media (max-width:767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-footer,.modal-fullscreen-md-down .modal-header{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media (max-width:991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-footer,.modal-fullscreen-lg-down .modal-header{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media (max-width:1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-footer,.modal-fullscreen-xl-down .modal-header{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media (max-width:1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-footer,.modal-fullscreen-xxl-down .modal-header{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}.tooltip{--bs-tooltip-zindex:1080;--bs-tooltip-max-width:200px;--bs-tooltip-padding-x:0.5rem;--bs-tooltip-padding-y:0.25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size:0.875rem;--bs-tooltip-color:#fff;--bs-tooltip-bg:#000;--bs-tooltip-border-radius:0.375rem;--bs-tooltip-opacity:0.9;--bs-tooltip-arrow-width:0.8rem;--bs-tooltip-arrow-height:0.4rem;z-index:var(--bs-tooltip-zindex);display:block;padding:var(--bs-tooltip-arrow-height);margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow:before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow,.bs-tooltip-top .tooltip-arrow{bottom:0}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:before,.bs-tooltip-top .tooltip-arrow:before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow,.bs-tooltip-end .tooltip-arrow{left:0;width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow:before,.bs-tooltip-end .tooltip-arrow:before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow,.bs-tooltip-bottom .tooltip-arrow{top:0}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow:before,.bs-tooltip-bottom .tooltip-arrow:before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow,.bs-tooltip-start .tooltip-arrow{right:0;width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow:before,.bs-tooltip-start .tooltip-arrow:before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) 0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex:1070;--bs-popover-max-width:276px;--bs-popover-font-size:0.875rem;--bs-popover-bg:#fff;--bs-popover-border-width:1px;--bs-popover-border-color:var(--bs-border-color-translucent);--bs-popover-border-radius:0.5rem;--bs-popover-inner-border-radius:calc(0.5rem - 1px);--bs-popover-box-shadow:0 0.5rem 1rem rgba(0,0,0,.15);--bs-popover-header-padding-x:1rem;--bs-popover-header-padding-y:0.5rem;--bs-popover-header-font-size:1rem;--bs-popover-header-color: ;--bs-popover-header-bg:#f0f0f0;--bs-popover-body-padding-x:1rem;--bs-popover-body-padding-y:1rem;--bs-popover-body-color:#212529;--bs-popover-arrow-width:1rem;--bs-popover-arrow-height:0.5rem;--bs-popover-arrow-border:var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow:after,.popover .popover-arrow:before{position:absolute;display:block;content:"";border:0 solid transparent}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow,.bs-popover-top>.popover-arrow{bottom:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:after,.bs-popover-top>.popover-arrow:before{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after,.bs-popover-top>.popover-arrow:after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow,.bs-popover-end>.popover-arrow{left:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:after,.bs-popover-end>.popover-arrow:before{border-width:calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after,.bs-popover-end>.popover-arrow:after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow,.bs-popover-bottom>.popover-arrow{top:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:after,.bs-popover-bottom>.popover-arrow:before{border-width:0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after,.bs-popover-bottom>.popover-arrow:after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=bottom] .popover-header:before,.bs-popover-bottom .popover-header:before{position:absolute;top:0;left:50%;display:block;width:var(--bs-popover-arrow-width);margin-left:calc(-.5 * var(--bs-popover-arrow-width));content:"";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow,.bs-popover-start>.popover-arrow{right:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:after,.bs-popover-start>.popover-arrow:before{border-width:calc(var(--bs-popover-arrow-width) * .5) 0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after,.bs-popover-start>.popover-arrow:after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-left-radius:var(--bs-popover-inner-border-radius);border-top-right-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner:after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-end,.carousel-item-next:not(.carousel-item-start){transform:translateX(100%)}.active.carousel-item-start,.carousel-item-prev:not(.carousel-item-end){transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:0 0;border:0;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%;list-style:none}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-next-icon,.carousel-dark .carousel-control-prev-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}.spinner-border,.spinner-grow{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(1turn)}}.spinner-border{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-border-width:0.25em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-border;border-right-color:currentcolor;border:var(--bs-spinner-border-width) solid;border-right:var(--bs-spinner-border-width) solid transparent}.spinner-border-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem;--bs-spinner-border-width:0.2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem}@media (prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed:1.5s}}.offcanvas,.offcanvas-lg,.offcanvas-md,.offcanvas-sm,.offcanvas-xl,.offcanvas-xxl{--bs-offcanvas-zindex:1045;--bs-offcanvas-width:400px;--bs-offcanvas-height:30vh;--bs-offcanvas-padding-x:1rem;--bs-offcanvas-padding-y:1rem;--bs-offcanvas-color: ;--bs-offcanvas-bg:#fff;--bs-offcanvas-border-width:1px;--bs-offcanvas-border-color:var(--bs-border-color-translucent);--bs-offcanvas-box-shadow:0 0.125rem 0.25rem rgba(0,0,0,.075)}@media (max-width:575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width:575.98px) and (prefers-reduced-motion:reduce){.offcanvas-sm{transition:none}}@media (max-width:575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-sm.offcanvas-top{top:0;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-sm.offcanvas-bottom,.offcanvas-sm.offcanvas-top{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%}.offcanvas-sm.offcanvas-bottom{border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-sm.show:not(.hiding),.offcanvas-sm.showing{transform:none}.offcanvas-sm.hiding,.offcanvas-sm.show,.offcanvas-sm.showing{visibility:visible}}@media (min-width:576px){.offcanvas-sm{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width:767.98px) and (prefers-reduced-motion:reduce){.offcanvas-md{transition:none}}@media (max-width:767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-md.offcanvas-top{top:0;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-md.offcanvas-bottom,.offcanvas-md.offcanvas-top{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%}.offcanvas-md.offcanvas-bottom{border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-md.show:not(.hiding),.offcanvas-md.showing{transform:none}.offcanvas-md.hiding,.offcanvas-md.show,.offcanvas-md.showing{visibility:visible}}@media (min-width:768px){.offcanvas-md{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width:991.98px) and (prefers-reduced-motion:reduce){.offcanvas-lg{transition:none}}@media (max-width:991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-lg.offcanvas-top{top:0;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-lg.offcanvas-bottom,.offcanvas-lg.offcanvas-top{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%}.offcanvas-lg.offcanvas-bottom{border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-lg.show:not(.hiding),.offcanvas-lg.showing{transform:none}.offcanvas-lg.hiding,.offcanvas-lg.show,.offcanvas-lg.showing{visibility:visible}}@media (min-width:992px){.offcanvas-lg{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width:1199.98px) and (prefers-reduced-motion:reduce){.offcanvas-xl{transition:none}}@media (max-width:1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-xl.offcanvas-top{top:0;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xl.offcanvas-bottom,.offcanvas-xl.offcanvas-top{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%}.offcanvas-xl.offcanvas-bottom{border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xl.show:not(.hiding),.offcanvas-xl.showing{transform:none}.offcanvas-xl.hiding,.offcanvas-xl.show,.offcanvas-xl.showing{visibility:visible}}@media (min-width:1200px){.offcanvas-xl{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width:1399.98px) and (prefers-reduced-motion:reduce){.offcanvas-xxl{transition:none}}@media (max-width:1399.98px){.offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-xxl.offcanvas-top{top:0;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xxl.offcanvas-bottom,.offcanvas-xxl.offcanvas-top{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%}.offcanvas-xxl.offcanvas-bottom{border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xxl.show:not(.hiding),.offcanvas-xxl.showing{transform:none}.offcanvas-xxl.hiding,.offcanvas-xxl.show,.offcanvas-xxl.showing{visibility:visible}}@media (min-width:1400px){.offcanvas-xxl{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}@media (prefers-reduced-motion:reduce){.offcanvas{transition:none}}.offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas.offcanvas-top{top:0;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom,.offcanvas.offcanvas-top{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%}.offcanvas.offcanvas-bottom{border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.show:not(.hiding),.offcanvas.showing{transform:none}.offcanvas.hiding,.offcanvas.show,.offcanvas.showing{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;justify-content:space-between;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin-top:calc(-.5 * var(--bs-offcanvas-padding-y));margin-right:calc(-.5 * var(--bs-offcanvas-padding-x));margin-bottom:calc(-.5 * var(--bs-offcanvas-padding-y))}.offcanvas-title{margin-bottom:0;line-height:1.5}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn:before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{to{-webkit-mask-position:-200% 0;mask-position:-200% 0}}.clearfix:after{display:block;clear:both;content:""}.text-bg-primary{color:#fff!important;background-color:RGBA(13,110,253,var(--bs-bg-opacity,1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(108,117,125,var(--bs-bg-opacity,1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(25,135,84,var(--bs-bg-opacity,1))!important}.text-bg-info{color:#000!important;background-color:RGBA(13,202,240,var(--bs-bg-opacity,1))!important}.text-bg-warning{color:#000!important;background-color:RGBA(255,193,7,var(--bs-bg-opacity,1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(220,53,69,var(--bs-bg-opacity,1))!important}.text-bg-light{color:#000!important;background-color:RGBA(248,249,250,var(--bs-bg-opacity,1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(33,37,41,var(--bs-bg-opacity,1))!important}.link-primary{color:#0d6efd!important}.link-primary:focus,.link-primary:hover{color:#0a58ca!important}.link-secondary{color:#6c757d!important}.link-secondary:focus,.link-secondary:hover{color:#565e64!important}.link-success{color:#198754!important}.link-success:focus,.link-success:hover{color:#146c43!important}.link-info{color:#0dcaf0!important}.link-info:focus,.link-info:hover{color:#3dd5f3!important}.link-warning{color:#ffc107!important}.link-warning:focus,.link-warning:hover{color:#ffcd39!important}.link-danger{color:#dc3545!important}.link-danger:focus,.link-danger:hover{color:#b02a37!important}.link-light{color:#f8f9fa!important}.link-light:focus,.link-light:hover{color:#f9fafb!important}.link-dark{color:#212529!important}.link-dark:focus,.link-dark:hover{color:#1a1e21!important}.ratio{position:relative;width:100%}.ratio:before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio:100%}.ratio-4x3{--bs-aspect-ratio:75%}.ratio-16x9{--bs-aspect-ratio:56.25%}.ratio-21x9{--bs-aspect-ratio:42.8571428571%}.fixed-top{top:0}.fixed-bottom,.fixed-top{position:fixed;right:0;left:0;z-index:1030}.fixed-bottom{bottom:0}.sticky-top{top:0}.sticky-bottom,.sticky-top{position:-webkit-sticky;position:sticky;z-index:1020}.sticky-bottom{bottom:0}@media (min-width:576px){.sticky-sm-top{top:0}.sticky-sm-bottom,.sticky-sm-top{position:-webkit-sticky;position:sticky;z-index:1020}.sticky-sm-bottom{bottom:0}}@media (min-width:768px){.sticky-md-top{top:0}.sticky-md-bottom,.sticky-md-top{position:-webkit-sticky;position:sticky;z-index:1020}.sticky-md-bottom{bottom:0}}@media (min-width:992px){.sticky-lg-top{top:0}.sticky-lg-bottom,.sticky-lg-top{position:-webkit-sticky;position:sticky;z-index:1020}.sticky-lg-bottom{bottom:0}}@media (min-width:1200px){.sticky-xl-top{top:0}.sticky-xl-bottom,.sticky-xl-top{position:-webkit-sticky;position:sticky;z-index:1020}.sticky-xl-bottom{bottom:0}}@media (min-width:1400px){.sticky-xxl-top{top:0}.sticky-xxl-bottom,.sticky-xxl-top{position:-webkit-sticky;position:sticky;z-index:1020}.sticky-xxl-bottom{bottom:0}}.hstack{flex-direction:row;align-items:center}.hstack,.vstack{display:flex;align-self:stretch}.vstack{flex:1 1 auto;flex-direction:column}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.stretched-link:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:1px;min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important}.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}.shadow-lg{box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important}.shadow-none{box-shadow:none!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translateX(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-start-0{border-left:0!important}.border-primary{--bs-border-opacity:1;border-color:rgba(var(--bs-primary-rgb),var(--bs-border-opacity))!important}.border-secondary{--bs-border-opacity:1;border-color:rgba(var(--bs-secondary-rgb),var(--bs-border-opacity))!important}.border-success{--bs-border-opacity:1;border-color:rgba(var(--bs-success-rgb),var(--bs-border-opacity))!important}.border-info{--bs-border-opacity:1;border-color:rgba(var(--bs-info-rgb),var(--bs-border-opacity))!important}.border-warning{--bs-border-opacity:1;border-color:rgba(var(--bs-warning-rgb),var(--bs-border-opacity))!important}.border-danger{--bs-border-opacity:1;border-color:rgba(var(--bs-danger-rgb),var(--bs-border-opacity))!important}.border-light{--bs-border-opacity:1;border-color:rgba(var(--bs-light-rgb),var(--bs-border-opacity))!important}.border-dark{--bs-border-opacity:1;border-color:rgba(var(--bs-dark-rgb),var(--bs-border-opacity))!important}.border-white{--bs-border-opacity:1;border-color:rgba(var(--bs-white-rgb),var(--bs-border-opacity))!important}.border-1{--bs-border-width:1px}.border-2{--bs-border-width:2px}.border-3{--bs-border-width:3px}.border-4{--bs-border-width:4px}.border-5{--bs-border-width:5px}.border-opacity-10{--bs-border-opacity:0.1}.border-opacity-25{--bs-border-opacity:0.25}.border-opacity-50{--bs-border-opacity:0.5}.border-opacity-75{--bs-border-opacity:0.75}.border-opacity-100{--bs-border-opacity:1}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-light{font-weight:300!important}.fw-lighter{font-weight:lighter!important}.fw-normal{font-weight:400!important}.fw-bold{font-weight:700!important}.fw-semibold{font-weight:600!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--bs-text-opacity:1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity:1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity:1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity:1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity:1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity:1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity:1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity:1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity:1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity:1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity:1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity:1;color:#6c757d!important}.text-black-50{--bs-text-opacity:1;color:rgba(0,0,0,.5)!important}.text-white-50{--bs-text-opacity:1;color:hsla(0,0%,100%,.5)!important}.text-reset{--bs-text-opacity:1;color:inherit!important}.text-opacity-25{--bs-text-opacity:0.25}.text-opacity-50{--bs-text-opacity:0.5}.text-opacity-75{--bs-text-opacity:0.75}.text-opacity-100{--bs-text-opacity:1}.bg-primary{--bs-bg-opacity:1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity:1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity:1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity:1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity:1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity:1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity:1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity:1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity:1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity:1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity:1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity:1;background-color:transparent!important}.bg-opacity-10{--bs-bg-opacity:0.1}.bg-opacity-25{--bs-bg-opacity:0.25}.bg-opacity-50{--bs-bg-opacity:0.5}.bg-opacity-75{--bs-bg-opacity:0.75}.bg-opacity-100{--bs-bg-opacity:1}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--bs-border-radius-sm)!important}.rounded-2{border-radius:var(--bs-border-radius)!important}.rounded-3{border-radius:var(--bs-border-radius-lg)!important}.rounded-4{border-radius:var(--bs-border-radius-xl)!important}.rounded-5{border-radius:var(--bs-border-radius-2xl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--bs-border-radius-pill)!important}.rounded-top{border-top-left-radius:var(--bs-border-radius)!important}.rounded-end,.rounded-top{border-top-right-radius:var(--bs-border-radius)!important}.rounded-bottom,.rounded-end{border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-bottom,.rounded-start{border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-start{border-top-left-radius:var(--bs-border-radius)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}@media (min-width:576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media (min-width:1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}@media (min-width:1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}}:root{--field-top-spacing:20px}body,html{padding:0;margin:0;font-family:BCSans,Verdana,Arial,sans-serif;font-size:16px!important;color:#292929}h1{font-size:2.25rem}h1,h2{font-weight:700}h2{font-size:2rem}h3{font-size:1.75rem}h3,h4{font-weight:700}h4{font-size:1.5rem}h5{font-size:1.25rem}h5,h6{font-weight:700}h6{font-size:1.125rem}label{font-size:1rem}.text-large{font-size:1.125rem}.text-small{font-size:.875rem}button{border-radius:.222em;border-width:0;font-family:BC Sans,Verdana,Arial,sans-serif;padding:.66em 1.77em;text-align:center;text-decoration:none;font-weight:700;display:inline-block;cursor:pointer;box-shadow:inset 0 0 0 2px transparent,inset 0 0 0 0 rgba(34,36,38,.15);&.primary{background-color:#013366;color:#fff;&:hover{text-decoration:underline;background-color:#1e5189}&:focus{outline:4px solid #2e5dd7;outline-offset:1px}&:active{opacity:1}}&.primary-inverse{background-color:#fff;box-shadow:inset 0 0 0 2px #313132!important;color:#313132;&:hover{text-decoration:underline;background-color:#f2f2f2}&:focus{outline:4px solid #3b99fc;outline-offset:1px}&:active{background-color:#fff}}&.secondary{background:none;box-shadow:inset 0 0 0 2px #036!important;color:#036;&:hover{opacity:.8;text-decoration:underline;background-color:#036;color:#fff}&:focus{outline-offset:1px;outline:4px solid #3b99fc}&:active{opacity:1}}&.secondary-inverse{background:none;box-shadow:inset 0 0 0 2px #fff!important;color:#fff;&:hover{text-decoration:underline;background-color:#fff;color:#313132}&:focus{outline-offset:1px;outline:4px solid #3b99fc}&:active{background-color:#f2f2f2;color:#313132}}&.danger{background:#ce3e39;color:#fff;&:hover{text-decoration:underline;background-color:#a2312d}&:focus{outline-offset:1px;outline:4px solid #3b99fc}}&:disabled{background-color:#edebe9;box-shadow:inset 0 0 0 2px #fff!important;color:#9f9d9c;cursor:not-allowed;&:hover{text-decoration:none;background-color:#edebe9}}&.callout{background-color:#fcba19;&:hover{text-decoration:none;background-color:#f9c462}}&.wide{min-width:190px}&.short{padding-top:.39rem;padding-bottom:.39rem}}a{color:#1a5a96}*{box-sizing:border-box}fieldset{border:none!important}legend{font-size:1.125rem;font-weight:700}.pg-menu-item,.pg-menu-item>span{display:flex;align-items:center}#root_newToSso>.radio,#root_projectLead>.radio,#root_usesTeam>.radio{display:inline;margin-right:10px}.checkboxes-grid .checkboxes{display:grid;grid-template-columns:1fr 1fr;grid-row-gap:.5em;row-gap:.5em}:root{--textarea-spacer:5em}.other-details>div:first-child{width:0}.other-details textarea{width:calc(100% - var(--textarea-spacer))}.other-details{display:grid;grid-template-columns:1fr 1fr;position:relative;bottom:2.4em;left:var(--textarea-spacer);height:0;margin-bottom:3em}.other-details:after{content:"100 characters max.";grid-column:2;margin-left:auto;position:relative;right:var(--textarea-spacer);color:#abafb2}.radio>label>span>input{margin:10px 5px 0 0}.checkbox>label>span>span{margin-left:5px}#root_agreeWithTerms+span{font-weight:700;margin-left:5px}.form-group.field:not(.field-object){margin-top:var(--field-top-spacing)}span.required{display:none}li.text-danger{max-width:380px}label.control-label,label.pg-input-label,label.pg-textarea-label{font-weight:700}[type=checkbox]+span{margin-left:5px}.form-group.field.field-boolean{margin:0}.form-group.field.field-boolean>legend{margin-top:var(--field-top-spacing)}.field-array>div>div:first-of-type .field{margin-top:0!important}.short-field-string{display:block;width:100%;max-width:400px}textarea#root_bceidBody{width:600px}.field-string .pg-input .pg-input-input{width:100%;padding-right:30px}.pg-input-input:-moz-read-only{background-color:#eaeaea;cursor:not-allowed}.pg-input-input:read-only{background-color:#eaeaea;cursor:not-allowed}.pg-select-input:disabled{cursor:not-allowed;background-color:#eaeaea;margin:-5px}.pg-footer-footer{height:unset!important}ul.error-detail{list-style:none;margin-left:0;padding-left:0}.pg-select>label{display:none}.pg-modal-header{font-weight:700;display:flex;align-items:center}.multiselect{position:relative;outline:none}.underline{text-decoration:underline}.strong{font-weight:700}.normal{font-weight:400}.pg-modal-container{z-index:1000}.text-blue{color:blue}.line-height-200{line-height:200%}.link{font-size:1rem;color:#1a5a96}.link:hover{color:blue;text-decoration:none}.link:after{content:url('data:image/svg+xml;utf8,')}::part(iframe){margin:auto;display:flex;min-height:700px}.comments-container{max-height:300px;overflow-y:scroll}.hidden-title{display:none}.modal-open{padding-right:0!important}@font-face{src:url(https://bcgov.github.io/sso-requests-preview/_next/static/media/BCSans-Regular.b922124c.woff) format("woff");font-weight:400;font-style:normal;font-family:BCSans}@font-face{src:url(https://bcgov.github.io/sso-requests-preview/_next/static/media/BCSans-BoldItalic.38012020.woff) format("woff");font-weight:700;font-style:italic;font-family:BCSans}@font-face{src:url(https://bcgov.github.io/sso-requests-preview/_next/static/media/BCSans-Italic.3090d5fd.woff) format("woff");font-weight:400;font-style:italic;font-family:BCSans}@font-face{src:url(https://bcgov.github.io/sso-requests-preview/_next/static/media/BCSans-Bold.f3d21374.woff) format("woff");font-weight:700;font-style:normal;font-family:BCSans} \ No newline at end of file diff --git a/admin-dashboard.html b/admin-dashboard.html index 98b66db..3c1d62f 100644 --- a/admin-dashboard.html +++ b/admin-dashboard.html @@ -1,4 +1,4 @@ -

Loading information...

\ No newline at end of file +

Loading information...

\ No newline at end of file diff --git a/admin-reports.html b/admin-reports.html index 89d5b96..d0c1b60 100644 --- a/admin-reports.html +++ b/admin-reports.html @@ -1,4 +1,4 @@ -

Loading information...

\ No newline at end of file +

Loading information...

\ No newline at end of file diff --git a/application-error.html b/application-error.html index b8f61aa..52090e8 100644 --- a/application-error.html +++ b/application-error.html @@ -1,4 +1,4 @@ -

Loading information...

\ No newline at end of file +

Loading information...

\ No newline at end of file diff --git a/faq.html b/faq.html index 28913bd..5f49418 100644 --- a/faq.html +++ b/faq.html @@ -1,4 +1,4 @@ -

Loading information...

\ No newline at end of file +

Loading information...

\ No newline at end of file diff --git a/index.html b/index.html index ed87027..2f8f150 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ -

Loading information...

\ No newline at end of file +

Loading information...

\ No newline at end of file diff --git a/my-dashboard.html b/my-dashboard.html index 6e9b1b2..75dae8c 100644 --- a/my-dashboard.html +++ b/my-dashboard.html @@ -1,4 +1,4 @@ -

Loading information...

\ No newline at end of file +

Loading information...

\ No newline at end of file diff --git a/my-dashboard/integrations.html b/my-dashboard/integrations.html index 988115f..ad30041 100644 --- a/my-dashboard/integrations.html +++ b/my-dashboard/integrations.html @@ -1,4 +1,4 @@ -

Loading information...

\ No newline at end of file +

Loading information...

\ No newline at end of file diff --git a/my-dashboard/s2g.html b/my-dashboard/s2g.html index 5f41933..6b784c9 100644 --- a/my-dashboard/s2g.html +++ b/my-dashboard/s2g.html @@ -1,4 +1,4 @@ -

Loading information...

\ No newline at end of file +

Loading information...

\ No newline at end of file diff --git a/my-dashboard/teams.html b/my-dashboard/teams.html index 298c798..1acf2d6 100644 --- a/my-dashboard/teams.html +++ b/my-dashboard/teams.html @@ -1,4 +1,4 @@ -

Loading information...

\ No newline at end of file +

Loading information...

\ No newline at end of file diff --git a/request.html b/request.html index 04c7fb0..068acb2 100644 --- a/request.html +++ b/request.html @@ -1,4 +1,4 @@ -

Loading information...

\ No newline at end of file +

Loading information...

\ No newline at end of file diff --git a/request/[rid].html b/request/[rid].html index 21cc0e9..92f6b81 100644 --- a/request/[rid].html +++ b/request/[rid].html @@ -1,4 +1,4 @@ -

Loading information...

\ No newline at end of file +

Loading information...

\ No newline at end of file diff --git a/terms-conditions.html b/terms-conditions.html index d1fecc4..1d1492a 100644 --- a/terms-conditions.html +++ b/terms-conditions.html @@ -1,4 +1,4 @@ -

Loading information...

\ No newline at end of file +

Loading information...

\ No newline at end of file diff --git a/verify-user.html b/verify-user.html index 9f6e09c..4cae959 100644 --- a/verify-user.html +++ b/verify-user.html @@ -1,4 +1,4 @@ -

Loading information...

\ No newline at end of file +

Loading information...

\ No newline at end of file