1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3459],{83236:function(e,r,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/login",function(){return n(1047)}])},1047:function(e,r,n){"use strict";n.r(r),n.d(r,{Login:function(){return h},__N_SSP:function(){return b}});var t=n(47568),o=n(26042),i=n(828),a=n(70655),s=n(52322),c=n(1416),l=n(76699),u=n(50402),d=n(94640),p=n(11163),f=n.n(p),m=n(15218),v=n(26957),b=!0,h=function(){var e,r=(0,l.$)("common").t,n=(0,i.Z)((0,u.YAP)(),2),p=n[0],b=n[1].loading,h=(0,c.cI)(),x=h.register,j=h.handleSubmit,y=h.formState.errors,g=(e=(0,t.Z)(function(e){var r,n;return(0,a.__generator)(this,function(r){switch(r.label){case 0:return[4,p({variables:e})];case 1:return n=r.sent().data,console.log({authData:n}),f().push("/"),[2]}})}),function(r){return e.apply(this,arguments)});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(d.x,{title:r("Login"),path:"login",noindex:!0}),(0,s.jsxs)("main",{className:"page-layout__content w-full max-w-lg m-auto my-9",children:[(0,s.jsxs)("form",{onSubmit:j(g),children:[(0,s.jsx)(m.Wi,{inputId:"username",label:"Username",required:!0,error:y.userName&&"Username field is required",children:(0,s.jsx)("input",(0,o.Z)({type:"text"},x("userName",{required:!0})))}),(0,s.jsx)(m.Wi,{inputId:"password",label:"Password",required:!0,error:y.password&&"Password field is required",children:(0,s.jsx)("input",(0,o.Z)({type:"password"},x("password",{required:!0})))}),(0,s.jsx)(v.z,{type:"submit",children:r("Login")})]}),b&&(0,s.jsx)("p",{children:r("Logging in")})]})]})};r.default=h},94640:function(e,r,n){"use strict";n.d(r,{x:function(){return l}});var t=n(52322),o=n(9008),i=n.n(o),a=n(76699),s=n(76630),c=n(55020),l=function(e){var r=e.title,n=e.description,o=e.keywords,l=e.path,u=e.includeBasicMetaTags,d=e.noindex,p=(0,a.$)().t,f=(0,s.WR)(),m=f.appUrl,v=f.allowIndexing,b=l?(0,c._d)(m,l):void 0;return(0,t.jsxs)(i(),{children:[(0,t.jsx)("title",{children:r},"document-title"),void 0===u||u?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("meta",{name:"description",content:null!=n?n:""},"meta-description"),(0,t.jsx)("meta",{name:"keywords",content:null!=o?o:""},"meta-keywords"),(0,t.jsx)("link",{rel:"canonical",href:b},void 0),(0,t.jsx)("meta",{property:"og:title",content:r},"og-title"),(0,t.jsx)("meta",{property:"og:type",content:"website"},"og-type"),(0,t.jsx)("meta",{property:"og:site_name",content:p("SiteName")},"og-site-name"),(0,t.jsx)("meta",{property:"og:description",content:null!=n?n:""},"og-description"),(0,t.jsx)("meta",{property:"og:url",content:b},"og-url")]},void 0):null,!v||void 0!==d&&d?(0,t.jsx)("meta",{name:"robots",content:"noindex"},void 0):null]},void 0)}},55020:function(e,r,n){"use strict";n.d(r,{T9:function(){return l},_d:function(){return s},mc:function(){return c}});var t=n(14924),o=n(26042),i=n(69396),a=n(97334),s=function(e,r){var n,t=new URL(r,"".concat(e.protocol,"://").concat(e.host));(null===(n=e.port)||void 0===n?void 0:n.length)&&(t.port=e.port);var o=t.toString();return o.endsWith("/")?o.slice(0,-1):o},c=function(e,r){var n,s=r?(0,a.stringify)(Object.keys(r).reduce(function(e,n){return void 0!==r[n]&&null!==r[n]?(0,i.Z)((0,o.Z)({},e),(0,t.Z)({},n,r[n])):e},{})):null;return"".concat(e).concat(s?"?".concat(s):"")},l=function(e,r){for(var n=[],t=0;t<r;t++)n.push("/".concat(e[t]));return n.join("")}},26957:function(e,r,n){"use strict";n.d(r,{z:function(){return u}});var t=n(26042),o=n(69396),i=n(99534),a=n(52322),s=n(2784),c=n(72779),l=n.n(c),u=(0,s.forwardRef)(function(e,r){var n=e.variant,c=void 0===n?"primary":n,u=e.iconBefore,d=e.iconAfter,p=e.iconOnly,f=e.className,m=e.children,v=(0,i.Z)(e,["variant","iconBefore","iconAfter","iconOnly","className","children"]);return(0,a.jsxs)("button",Object.assign({ref:r,type:"button",className:l()("button",{"button--primary":"primary"===c,"button--secondary":"secondary"===c,"button--tertiary":"tertiary"===c,"button--clear":"clear"===c,"button--destructive":"destructive"===c,"button--icon-only":void 0!==p&&p},f)},v,{children:[u&&(0,s.cloneElement)(u,(0,o.Z)((0,t.Z)({},u.props),{className:l()("button__icon button__icon--before",u.props.className)})),m,d&&(0,s.cloneElement)(d,(0,o.Z)((0,t.Z)({},d.props),{className:l()("button__icon button__icon--after",d.props.className)}))]}),void 0)})},15218:function(e,r,n){"use strict";n.d(r,{Wi:function(){return d},jj:function(){return l}});var t=n(99534),o=n(52322),i=n(43171),a=n(2784),s=n(72779),c=n.n(s),l=function(e){var r=e.children,n=e.className,i=(0,t.Z)(e,["children","className"]);return(0,o.jsx)("p",Object.assign({className:c()("form-field__error","text-brand-error text-sm mb-0",n)},i,{children:r}),void 0)},u=function(e){var r=e.required,n=e.className,i=e.children,a=(0,t.Z)(e,["required","className","children"]);return(0,o.jsxs)("label",Object.assign({className:c()("form-field__label","text-sm",n)},a,{children:[i,!r&&" (optional)"]}),void 0)},d=function(e){e.overrides;var r=e.additional,n=(0,t.Z)(e,["overrides","additional"]),s=(0,a.useMemo)(function(){return{Error:l,Label:u,Wrapper:function(e){var n=e.className,i=e.hasOneCheckbox,a=e.children,s=(0,t.Z)(e,["className","hasOneCheckbox","children"]);return(0,o.jsxs)("div",Object.assign({className:c()("form-field",{"form-field--checkbox":!!i},n)},s,{children:[a,!!r&&(0,o.jsx)("div",Object.assign({className:"mt-2"},{children:r}),void 0)]}),void 0)}}},[]);return(0,o.jsx)(i.W,Object.assign({overrides:s},n),void 0)}},97334:function(e){!function(){"use strict";var r={815:function(e){function r(e,r){return Object.prototype.hasOwnProperty.call(e,r)}e.exports=function(e,t,o,i){t=t||"&",o=o||"=";var a={};if("string"!=typeof e||0===e.length)return a;var s=/\+/g;e=e.split(t);var c=1e3;i&&"number"==typeof i.maxKeys&&(c=i.maxKeys);var l=e.length;c>0&&l>c&&(l=c);for(var u=0;u<l;++u){var d,p,f,m,v=e[u].replace(s,"%20"),b=v.indexOf(o);b>=0?(d=v.substr(0,b),p=v.substr(b+1)):(d=v,p=""),f=decodeURIComponent(d),m=decodeURIComponent(p),r(a,f)?n(a[f])?a[f].push(m):a[f]=[a[f],m]:a[f]=m}return a};var n=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},577:function(e){var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,i,a,s){return(i=i||"&",a=a||"=",null===e&&(e=void 0),"object"==typeof e)?t(o(e),function(o){var s=encodeURIComponent(r(o))+a;return n(e[o])?t(e[o],function(e){return s+encodeURIComponent(r(e))}).join(i):s+encodeURIComponent(r(e[o]))}).join(i):s?encodeURIComponent(r(s))+a+encodeURIComponent(r(e)):""};var n=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function t(e,r){if(e.map)return e.map(r);for(var n=[],t=0;t<e.length;t++)n.push(r(e[t],t));return n}var o=Object.keys||function(e){var r=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.push(n);return r}}},n={};function t(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}},a=!0;try{r[e](i,i.exports,t),a=!1}finally{a&&delete n[e]}return i.exports}t.ab="//";var o,i={};
1(o=i).decode=o.parse=t(815),o.encode=o.stringify=t(577),e.exports=i}()},43171:function(e,r,n){"use strict";n.d(r,{W:function(){return c}});var t=n(2784),o=n(72779),i=n.n(o),a=n(30924);let s={Wrapper:({className:e,hasOneCheckbox:r,...n})=>t.createElement("div",Object.assign({className:i()("form-field",{"form-field--checkbox":!!r},e)},n)),Label:({required:e,children:r,className:n,...o})=>t.createElement("label",Object.assign({className:i()("form-field__label",n)},o),r),Error:({children:e,className:r,...n})=>t.createElement("p",Object.assign({className:i()("form-field__error",r)},n),t.createElement(a.UMi,{role:"presentation",className:i()("form-field__error-icon")}),e)},c=({label:e,inputId:r,error:n,required:o=!1,overrides:a={},children:c,...l})=>{let{Wrapper:u,Label:d,Error:p}={...s,...a},f=!!n||void 0,m=`${r}_error`;return t.createElement(u,Object.assign({},l),e&&t.createElement(d,{required:o,htmlFor:r},e),t.Children.map(c,e=>t.isValidElement(e)&&e.props.name?t.cloneElement(e,{id:r,required:o,"aria-required":o,"aria-invalid":f,"aria-describedby":f?m:void 0,className:i()("form-field__field",e.props.className),...e.props}):e),f&&t.createElement(p,{id:m,role:"alert"},n))}}},function(e){e.O(0,[7713,9774,2888,179],function(){return e(e.s=83236)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.