@okta-dfuhriman/okta-auth-js
Version:
The Okta Auth SDK
143 lines • 1.7 MB
JavaScript
/*! Copyright (c) 2015-present, Okta, Inc. and/or its affiliates. All rights reserved.
The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and limitations under the License.
*/
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.OktaSignIn=t():e.OktaSignIn=t()}(self,(function(){return function(){var e={8112:function(e){"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var o={days:function(e){return 864e5*e},hours:function(e){return 36e5*e},minutes:function(e){return 6e4*e},seconds:function(e){return 1e3*e},milliseconds:function(e){return e},microseconds:function(e){return e/1e3},nanoseconds:function(e){return e/1e6}},i=function(e){return Object.entries(e).reduce((function(e,r){var i=n(r,2),a=i[0],s=i[1];if("number"!=typeof s)throw new TypeError("Expected a `number` for key `".concat(a,"`, got `").concat(s,"` (").concat(t(s),")"));if(!o[a])throw new Error("Unsupported time key");return e+o[a](s)}),0)};e.exports=i,e.exports.default=i},6204:function(e){"use strict";e.exports=function(e){if("number"!=typeof e)throw new TypeError("Expected a number");var t=e>0?Math.floor:Math.ceil;return{days:t(e/864e5),hours:t(e/36e5)%24,minutes:t(e/6e4)%60,seconds:t(e/1e3)%60,milliseconds:t(e)%1e3,microseconds:t(1e3*e)%1e3,nanoseconds:t(1e6*e)%1e3}}},4696:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.commonjsGlobal=void 0,t.getDefaultExportFromCjs=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e};var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};t.commonjsGlobal=n},7604:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.b=void 0;t.b={exports:{}}},9460:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__exports=void 0;t.__exports={}},423:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.b=void 0;t.b={exports:{}}},3152:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__exports=void 0;t.__exports={}},9532:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__exports=void 0;t.__exports={}},3296:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.e=void 0;t.e={exports:{}}},6959:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.e=void 0;t.e={exports:{}}},1748:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.h=void 0;t.h={exports:{}}},359:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.h=void 0;t.h={exports:{}}},273:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__exports=void 0;t.__exports={}},892:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._=void 0;t._={exports:{}}},2825:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.i=void 0;t.i={exports:{}}},8478:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.j=void 0;t.j={exports:{}}},4197:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.l=void 0;t.l={exports:{}}},7985:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.l=void 0;t.l={exports:{}}},1221:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.l=void 0;t.l={exports:{}}},36:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.n=void 0;t.n={exports:{}}},4977:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__exports=void 0;t.__exports={}},1873:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__exports=void 0;t.__exports={}},7775:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.s=void 0;t.s={exports:{}}},2057:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.u=void 0;t.u={exports:{}}},491:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__exports=void 0;t.__exports={}},9275:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._=void 0;t._={exports:{}}},233:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__exports=void 0;t.__exports={}},6276:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(4696),o=n(1748);n(4752),n(7022),n(6532),n(8832),n(948),n(5354);var i=n(9460),a=n(491),s=n(1873),l=n(6959),u=n(36),c=n(7775);!function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.__esModule=!0;var o=r(i.__exports),f=n(c.s.exports),d=n(l.e.exports),p=r(a.__exports),h=r(s.__exports),m=n(u.n.exports);function v(){var e=new o.HandlebarsEnvironment;return p.extend(e,o),e.SafeString=f.default,e.Exception=d.default,e.Utils=p,e.escapeExpression=p.escapeExpression,e.VM=h,e.template=function(t){return h.template(t,e)},e}var g=v();g.create=v,m.default(g),g.default=g,t.default=g,e.exports=t.default}(o.h,o.h.exports);var f=(0,r.getDefaultExportFromCjs)(o.h.exports);t.default=f,e.exports=t.default},4752:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.__exports}});var r=n(9460);n(8832),n(6532),n(8685),n(3565),n(4788),n(7974);var o=n(491),i=n(4977),a=n(273),s=n(9532),l=n(7985),u=n(6959);function c(e){return e&&e.__esModule?e:{default:e}}r.__exports.__esModule=!0,r.__exports.HandlebarsEnvironment=y;var f=o.__exports,d=c(u.e.exports),p=a.__exports,h=s.__exports,m=c(l.l.exports),v=i.__exports;r.__exports.VERSION="4.7.7";r.__exports.COMPILER_REVISION=8;r.__exports.LAST_COMPATIBLE_COMPILER_REVISION=7;r.__exports.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};var g="[object Object]";function y(e,t,n){this.helpers=e||{},this.partials=t||{},this.decorators=n||{},p.registerDefaultHelpers(this),h.registerDefaultDecorators(this)}y.prototype={constructor:y,logger:m.default,log:m.default.log,registerHelper:function(e,t){if(f.toString.call(e)===g){if(t)throw new d.default("Arg not supported with multiple helpers");f.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if(f.toString.call(e)===g)f.extend(this.partials,e);else{if(void 0===t)throw new d.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=t}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,t){if(f.toString.call(e)===g){if(t)throw new d.default("Arg not supported with multiple decorators");f.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function(){v.resetLoggedProperties()}};var b=m.default.log;r.__exports.log=b,r.__exports.createFrame=f.createFrame,r.__exports.logger=m.default,e.exports=t.default},3565:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.__exports}});var r=n(9532);n(881);var o=n(2825);r.__exports.__esModule=!0,r.__exports.registerDefaultDecorators=function(e){s.default(e)};var i,a=o.i.exports,s=(i=a)&&i.__esModule?i:{default:i};e.exports=t.default},881:function(e,t,n){"use strict";var r=n(2825);n(8832);var o=n(491);!function(e,t){t.__esModule=!0;var n=o.__exports;t.default=function(e){e.registerDecorator("inline",(function(e,t,r,o){var i=e;return t.partials||(t.partials={},i=function(o,i){var a=r.partials;r.partials=n.extend({},a,t.partials);var s=e(o,i);return r.partials=a,s}),t.partials[o.args[0]]=o.fn,i}))},e.exports=t.default}(r.i,r.i.exports)},6532:function(e,t,n){"use strict";var r=n(6959);!function(e,t){t.__esModule=!0;var n=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function r(e,t){var o=t&&t.loc,i=void 0,a=void 0,s=void 0,l=void 0;o&&(i=o.start.line,a=o.end.line,s=o.start.column,l=o.end.column,e+=" - "+i+":"+s);for(var u=Error.prototype.constructor.call(this,e),c=0;c<n.length;c++)this[n[c]]=u[n[c]];Error.captureStackTrace&&Error.captureStackTrace(this,r);try{o&&(this.lineNumber=i,this.endLineNumber=a,Object.defineProperty?(Object.defineProperty(this,"column",{value:s,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:l,enumerable:!0})):(this.column=s,this.endColumn=l))}catch(e){}}r.prototype=new Error,t.default=r,e.exports=t.default}(r.e,r.e.exports)},8685:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.__exports}});var r=n(273);n(9484),n(7307),n(9134),n(9033),n(7525),n(6506),n(5520);var o=n(3296),i=n(359),a=n(892),s=n(4197),l=n(1221),u=n(9275),c=n(423);function f(e){return e&&e.__esModule?e:{default:e}}r.__exports.__esModule=!0,r.__exports.registerDefaultHelpers=function(e){d.default(e),p.default(e),h.default(e),m.default(e),v.default(e),g.default(e),y.default(e)},r.__exports.moveHelperToHooks=function(e,t,n){e.helpers[t]&&(e.hooks[t]=e.helpers[t],n||delete e.helpers[t])};var d=f(c.b.exports),p=f(o.e.exports),h=f(i.h.exports),m=f(a._.exports),v=f(s.l.exports),g=f(l.l.exports),y=f(u._.exports);e.exports=t.default},9484:function(e,t,n){"use strict";var r=n(423);n(8832);var o=n(491);!function(e,t){t.__esModule=!0;var n=o.__exports;t.default=function(e){e.registerHelper("blockHelperMissing",(function(t,r){var o=r.inverse,i=r.fn;if(!0===t)return i(this);if(!1===t||null==t)return o(this);if(n.isArray(t))return t.length>0?(r.ids&&(r.ids=[r.name]),e.helpers.each(t,r)):o(this);if(r.data&&r.ids){var a=n.createFrame(r.data);a.contextPath=n.appendContextPath(r.data.contextPath,r.name),r={data:a}}return i(t,r)}))},e.exports=t.default}(r.b,r.b.exports)},7307:function(e,t,n){"use strict";var r=n(4696),o=n(3296);n(8832),n(6532);var i=n(491),a=n(6959);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}!function(e,t){t.__esModule=!0;var n,o=i.__exports,l=a.e.exports,u=(n=l)&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("each",(function(e,t){if(!t)throw new u.default("Must pass iterator to #each");var n,i=t.fn,a=t.inverse,l=0,c="",f=void 0,d=void 0;function p(t,n,r){f&&(f.key=t,f.index=n,f.first=0===n,f.last=!!r,d&&(f.contextPath=d+t)),c+=i(e[t],{data:f,blockParams:o.blockParams([e[t],t],[d+t,null])})}if(t.data&&t.ids&&(d=o.appendContextPath(t.data.contextPath,t.ids[0])+"."),o.isFunction(e)&&(e=e.call(this)),t.data&&(f=o.createFrame(t.data)),e&&"object"===s(e))if(o.isArray(e))for(var h=e.length;l<h;l++)l in e&&p(l,l,l===e.length-1);else if(r.commonjsGlobal.Symbol&&e[r.commonjsGlobal.Symbol.iterator]){for(var m=[],v=e[r.commonjsGlobal.Symbol.iterator](),g=v.next();!g.done;g=v.next())m.push(g.value);for(h=(e=m).length;l<h;l++)p(l,l,l===e.length-1)}else n=void 0,Object.keys(e).forEach((function(e){void 0!==n&&p(n,l-1),n=e,l++})),void 0!==n&&p(n,l-1,!0);return 0===l&&(c=a(this)),c}))},e.exports=t.default}(o.e,o.e.exports)},9134:function(e,t,n){"use strict";var r=n(359);n(6532);var o=n(6959);!function(e,t){t.__esModule=!0;var n,r=o.e.exports,i=(n=r)&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("helperMissing",(function(){if(1!==arguments.length)throw new i.default('Missing helper: "'+arguments[arguments.length-1].name+'"')}))},e.exports=t.default}(r.h,r.h.exports)},9033:function(e,t,n){"use strict";var r=n(892);n(8832),n(6532);var o=n(491),i=n(6959);!function(e,t){t.__esModule=!0;var n,r=o.__exports,a=i.e.exports,s=(n=a)&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("if",(function(e,t){if(2!=arguments.length)throw new s.default("#if requires exactly one argument");return r.isFunction(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||r.isEmpty(e)?t.inverse(this):t.fn(this)})),e.registerHelper("unless",(function(t,n){if(2!=arguments.length)throw new s.default("#unless requires exactly one argument");return e.helpers.if.call(this,t,{fn:n.inverse,inverse:n.fn,hash:n.hash})}))},e.exports=t.default}(r._,r._.exports)},7525:function(e,t,n){"use strict";var r=n(4197);!function(e,t){t.__esModule=!0,t.default=function(e){e.registerHelper("log",(function(){for(var t=[void 0],n=arguments[arguments.length-1],r=0;r<arguments.length-1;r++)t.push(arguments[r]);var o=1;null!=n.hash.level?o=n.hash.level:n.data&&null!=n.data.level&&(o=n.data.level),t[0]=o,e.log.apply(e,t)}))},e.exports=t.default}(r.l,r.l.exports)},6506:function(e,t,n){"use strict";var r=n(1221);!function(e,t){t.__esModule=!0,t.default=function(e){e.registerHelper("lookup",(function(e,t,n){return e?n.lookupProperty(e,t):e}))},e.exports=t.default}(r.l,r.l.exports)},5520:function(e,t,n){"use strict";var r=n(9275);n(8832),n(6532);var o=n(491),i=n(6959);!function(e,t){t.__esModule=!0;var n,r=o.__exports,a=i.e.exports,s=(n=a)&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("with",(function(e,t){if(2!=arguments.length)throw new s.default("#with requires exactly one argument");r.isFunction(e)&&(e=e.call(this));var n=t.fn;if(r.isEmpty(e))return t.inverse(this);var o=t.data;return t.data&&t.ids&&((o=r.createFrame(t.data)).contextPath=r.appendContextPath(t.data.contextPath,t.ids[0])),n(e,{data:o,blockParams:r.blockParams([e],[o&&o.contextPath])})}))},e.exports=t.default}(r._,r._.exports)},6519:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.__exports}});var r=n(3152);n(8832);var o=n(491);r.__exports.__esModule=!0,r.__exports.createNewLookupObject=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return i.extend.apply(void 0,[Object.create(null)].concat(t))};var i=o.__exports;e.exports=t.default},7974:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.__exports}});var r=n(4977);n(6519),n(4788);var o=n(3152),i=n(7985);r.__exports.__esModule=!0,r.__exports.createProtoAccessControl=function(e){var t=Object.create(null);t.constructor=!1,t.__defineGetter__=!1,t.__defineSetter__=!1,t.__lookupGetter__=!1;var n=Object.create(null);return n.__proto__=!1,{properties:{whitelist:a.createNewLookupObject(n,e.allowedProtoProperties),defaultValue:e.allowProtoPropertiesByDefault},methods:{whitelist:a.createNewLookupObject(t,e.allowedProtoMethods),defaultValue:e.allowProtoMethodsByDefault}}},r.__exports.resultIsAllowed=function(e,t,n){return u("function"==typeof e?t.methods:t.properties,n)},r.__exports.resetLoggedProperties=function(){Object.keys(l).forEach((function(e){delete l[e]}))};var a=o.__exports,s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(i.l.exports),l=Object.create(null);function u(e,t){return void 0!==e.whitelist[t]?!0===e.whitelist[t]:void 0!==e.defaultValue?e.defaultValue:(function(e){!0!==l[e]&&(l[e]=!0,s.log("error",'Handlebars: Access has been denied to resolve the property "'+e+'" because it is not an "own property" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details'))}(t),!1)}e.exports=t.default},9515:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.__exports}});var r=n(233);r.__exports.__esModule=!0,r.__exports.wrapHelper=function(e,t){if("function"!=typeof e)return e;return function(){return arguments[arguments.length-1]=t(arguments[arguments.length-1]),e.apply(this,arguments)}},e.exports=t.default},4788:function(e,t,n){"use strict";var r=n(7985);n(8832);var o=n(491);!function(e,t){t.__esModule=!0;var n=o.__exports,r={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if("string"==typeof e){var t=n.indexOf(r.methodMap,e.toLowerCase());e=t>=0?t:parseInt(e,10)}return e},log:function(e){if(e=r.lookupLevel(e),"undefined"!=typeof console&&r.lookupLevel(r.level)<=e){var t=r.methodMap[e];console[t]||(t="log");for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i]}}};t.default=r,e.exports=t.default}(r.l,r.l.exports)},5354:function(e,t,n){"use strict";var r=n(4696),o=n(36);!function(e,t){t.__esModule=!0,t.default=function(e){var t=void 0!==r.commonjsGlobal?r.commonjsGlobal:window,n=t.Handlebars;e.noConflict=function(){return t.Handlebars===e&&(t.Handlebars=n),e}},e.exports=t.default}(o.n,o.n.exports)},948:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.__exports}});var r=n(1873);n(8832),n(6532),n(4752),n(8685),n(9515),n(7974);var o=n(491),i=n(9460),a=n(4977),s=n(273),l=n(233),u=n(6959);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}r.__exports.__esModule=!0,r.__exports.checkRevision=function(e){var t=e&&e[0]||1,n=m.COMPILER_REVISION;if(t>=m.LAST_COMPATIBLE_COMPILER_REVISION&&t<=m.COMPILER_REVISION)return;if(t<m.LAST_COMPATIBLE_COMPILER_REVISION){var r=m.REVISION_CHANGES[n],o=m.REVISION_CHANGES[t];throw new h.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+r+") or downgrade your runtime to an older version ("+o+").")}throw new h.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+e[1]+").")},r.__exports.template=function(e,t){if(!t)throw new h.default("No environment passed to template");if(!e||!e.main)throw new h.default("Unknown template object: "+c(e));e.main.decorator=e.main_d,t.VM.checkRevision(e.compiler);var n=e.compiler&&7===e.compiler[0];var r={strict:function(e,t,n){if(!e||!(t in e))throw new h.default('"'+t+'" not defined in '+e,{loc:n});return r.lookupProperty(e,t)},lookupProperty:function(e,t){var n=e[t];return null==n||Object.prototype.hasOwnProperty.call(e,t)||y.resultIsAllowed(n,r.protoAccessControl,t)?n:void 0},lookup:function(e,t){for(var n=e.length,o=0;o<n;o++){if(null!=(e[o]&&r.lookupProperty(e[o],t)))return e[o][t]}},lambda:function(e,t){return"function"==typeof e?e.call(t):e},escapeExpression:d.escapeExpression,invokePartial:function(n,r,o){o.hash&&(r=d.extend({},r,o.hash),o.ids&&(o.ids[0]=!0)),n=t.VM.resolvePartial.call(this,n,r,o);var i=d.extend({},o,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),a=t.VM.invokePartial.call(this,n,r,i);if(null==a&&t.compile&&(o.partials[o.name]=t.compile(n,e.compilerOptions,t),a=o.partials[o.name](r,i)),null!=a){if(o.indent){for(var s=a.split("\n"),l=0,u=s.length;l<u&&(s[l]||l+1!==u);l++)s[l]=o.indent+s[l];a=s.join("\n")}return a}throw new h.default("The partial "+o.name+" could not be compiled when running in runtime-only mode")},fn:function(t){var n=e[t];return n.decorator=e[t+"_d"],n},programs:[],program:function(e,t,n,r,o){var i=this.programs[e],a=this.fn(e);return t||o||r||n?i=b(this,e,a,t,n,r,o):i||(i=this.programs[e]=b(this,e,a)),i},data:function(e,t){for(;e&&t--;)e=e._parent;return e},mergeIfNeeded:function(e,t){var n=e||t;return e&&t&&e!==t&&(n=d.extend({},t,e)),n},nullContext:Object.seal({}),noop:t.VM.noop,compilerInfo:e.compiler};function o(t){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=n.data;o._setup(n),!n.partial&&e.useData&&(i=w(t,i));var a=void 0,s=e.useBlockParams?[]:void 0;function l(t){return""+e.main(r,t,r.helpers,r.partials,i,s,a)}return e.useDepths&&(a=n.depths?t!=n.depths[0]?[t].concat(n.depths):n.depths:[t]),(l=O(e.main,l,r,n.depths||[],i,s))(t,n)}return o.isTop=!0,o._setup=function(o){if(o.partial)r.protoAccessControl=o.protoAccessControl,r.helpers=o.helpers,r.partials=o.partials,r.decorators=o.decorators,r.hooks=o.hooks;else{var i=d.extend({},t.helpers,o.helpers);!function(e,t){Object.keys(e).forEach((function(n){var r=e[n];e[n]=function(e,t){var n=t.lookupProperty;return g.wrapHelper(e,(function(e){return d.extend({lookupProperty:n},e)}))}(r,t)}))}(i,r),r.helpers=i,e.usePartial&&(r.partials=r.mergeIfNeeded(o.partials,t.partials)),(e.usePartial||e.useDecorators)&&(r.decorators=d.extend({},t.decorators,o.decorators)),r.hooks={},r.protoAccessControl=y.createProtoAccessControl(o);var a=o.allowCallsToHelperMissing||n;v.moveHelperToHooks(r,"helperMissing",a),v.moveHelperToHooks(r,"blockHelperMissing",a)}},o._child=function(t,n,o,i){if(e.useBlockParams&&!o)throw new h.default("must pass block params");if(e.useDepths&&!i)throw new h.default("must pass parent depths");return b(r,t,e[t],n,0,o,i)},o},r.__exports.wrapProgram=b,r.__exports.resolvePartial=function(e,t,n){e?e.call||n.name||(n.name=e,e=n.partials[e]):e="@partial-block"===n.name?n.data["partial-block"]:n.partials[n.name];return e},r.__exports.invokePartial=function(e,t,n){var r=n.data&&n.data["partial-block"];n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath);var o=void 0;n.fn&&n.fn!==_&&function(){n.data=m.createFrame(n.data);var e=n.fn;o=n.data["partial-block"]=function(t){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return n.data=m.createFrame(n.data),n.data["partial-block"]=r,e(t,n)},e.partials&&(n.partials=d.extend({},n.partials,e.partials))}();void 0===e&&o&&(e=o);if(void 0===e)throw new h.default("The partial "+n.name+" could not be found");if(e instanceof Function)return e(t,n)},r.__exports.noop=_;var f,d=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(o.__exports),p=u.e.exports,h=(f=p)&&f.__esModule?f:{default:f},m=i.__exports,v=s.__exports,g=l.__exports,y=a.__exports;function b(e,t,n,r,o,i,a){function s(t){var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],s=a;return!a||t==a[0]||t===e.nullContext&&null===a[0]||(s=[t].concat(a)),n(e,t,e.helpers,e.partials,o.data||r,i&&[o.blockParams].concat(i),s)}return(s=O(n,s,e,a,r,i)).program=t,s.depth=a?a.length:0,s.blockParams=o||0,s}function _(){return""}function w(e,t){return t&&"root"in t||((t=t?m.createFrame(t):{}).root=e),t}function O(e,t,n,r,o,i){if(e.decorator){var a={};t=e.decorator(t,a,n,r&&r[0],o,i,r),d.extend(t,a)}return t}e.exports=t.default},7022:function(e,t,n){"use strict";var r=n(7775);!function(e,t){function n(e){this.string=e}t.__esModule=!0,n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},t.default=n,e.exports=t.default}(r.s,r.s.exports)},8832:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.__exports}});var r=n(491);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}r.__exports.__esModule=!0,r.__exports.extend=u,r.__exports.indexOf=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},r.__exports.escapeExpression=function(e){if("string"!=typeof e){if(e&&e.toHTML)return e.toHTML();if(null==e)return"";if(!e)return e+"";e=""+e}if(!s.test(e))return e;return e.replace(a,l)},r.__exports.isEmpty=function(e){return!e&&0!==e||!(!d(e)||0!==e.length)},r.__exports.createFrame=function(e){var t=u({},e);return t._parent=e,t},r.__exports.blockParams=function(e,t){return e.path=t,e},r.__exports.appendContextPath=function(e,t){return(e?e+".":"")+t};var i={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},a=/[&<>"'`=]/g,s=/[&<>"'`=]/;function l(e){return i[e]}function u(e){for(var t=1;t<arguments.length;t++)for(var n in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],n)&&(e[n]=arguments[t][n]);return e}var c=Object.prototype.toString;r.__exports.toString=c;var f=function(e){return"function"==typeof e};f(/x/)&&(r.__exports.isFunction=f=function(e){return"function"==typeof e&&"[object Function]"===c.call(e)}),r.__exports.isFunction=f;var d=Array.isArray||function(e){return!(!e||"object"!==o(e))&&"[object Array]"===c.call(e)};r.__exports.isArray=d,e.exports=t.default},5541:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(4696),o=n(2057);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}!function(e,t){r.commonjsGlobal,e.exports=function(){
// (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
// Underscore may be freely distributed under the MIT license.
var e="1.13.1",t="object"==("undefined"==typeof self?"undefined":i(self))&&self.self===self&&self||"object"==i(r.commonjsGlobal)&&r.commonjsGlobal.global===r.commonjsGlobal&&r.commonjsGlobal||Function("return this")()||{},n=Array.prototype,o=Object.prototype,a="undefined"!=typeof Symbol?Symbol.prototype:null,s=n.push,l=n.slice,u=o.toString,c=o.hasOwnProperty,f="undefined"!=typeof ArrayBuffer,d="undefined"!=typeof DataView,p=Array.isArray,h=Object.keys,m=Object.create,v=f&&ArrayBuffer.isView,g=isNaN,y=isFinite,b=!{toString:null}.propertyIsEnumerable("toString"),_=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],w=Math.pow(2,53)-1;function O(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),o=0;o<n;o++)r[o]=arguments[o+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r);case 2:return e.call(this,arguments[0],arguments[1],r)}var i=Array(t+1);for(o=0;o<t;o++)i[o]=arguments[o];return i[t]=r,e.apply(this,i)}}function k(e){var t=i(e);return"function"===t||"object"===t&&!!e}function E(e){return void 0===e}function S(e){return!0===e||!1===e||"[object Boolean]"===u.call(e)}function x(e){var t="[object "+e+"]";return function(e){return u.call(e)===t}}var T=x("String"),A=x("Number"),C=x("Date"),P=x("RegExp"),R=x("Error"),N=x("Symbol"),I=x("ArrayBuffer"),M=x("Function"),j=t.document&&t.document.childNodes;"object"!=("undefined"==typeof Int8Array?"undefined":i(Int8Array))&&"function"!=typeof j&&(M=function(e){return"function"==typeof e||!1});var L=M,D=x("Object"),F=d&&D(new DataView(new ArrayBuffer(8))),U="undefined"!=typeof Map&&D(new Map),B=x("DataView"),V=F?function(e){return null!=e&&L(e.getInt8)&&I(e.buffer)}:B,H=p||x("Array");function Z(e,t){return null!=e&&c.call(e,t)}var q=x("Arguments");!function(){q(arguments)||(q=function(e){return Z(e,"callee")})}();var W=q;function K(e){return A(e)&&g(e)}function G(e){return function(){return e}}function z(e){return function(t){var n=e(t);return"number"==typeof n&&n>=0&&n<=w}}function $(e){return function(t){return null==t?void 0:t[e]}}var Y=$("byteLength"),J=z(Y),Q=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/,X=f?function(e){return v?v(e)&&!V(e):J(e)&&Q.test(u.call(e))}:G(!1),ee=$("length");function te(e,t){t=function(e){for(var t={},n=e.length,r=0;r<n;++r)t[e[r]]=!0;return{contains:function(e){return t[e]},push:function(n){return t[n]=!0,e.push(n)}}}(t);var n=_.length,r=e.constructor,i=L(r)&&r.prototype||o,a="constructor";for(Z(e,a)&&!t.contains(a)&&t.push(a);n--;)(a=_[n])in e&&e[a]!==i[a]&&!t.contains(a)&&t.push(a)}function ne(e){if(!k(e))return[];if(h)return h(e);var t=[];for(var n in e)Z(e,n)&&t.push(n);return b&&te(e,t),t}function re(e,t){var n=ne(t),r=n.length;if(null==e)return!r;for(var o=Object(e),i=0;i<r;i++){var a=n[i];if(t[a]!==o[a]||!(a in o))return!1}return!0}function oe(e){return e instanceof oe?e:this instanceof oe?void(this._wrapped=e):new oe(e)}function ie(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,Y(e))}oe.VERSION=e,oe.prototype.value=function(){return this._wrapped},oe.prototype.valueOf=oe.prototype.toJSON=oe.prototype.value,oe.prototype.toString=function(){return String(this._wrapped)};var ae="[object DataView]";function se(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var o=i(e);return("function"===o||"object"===o||"object"==i(t))&&function e(t,n,r,o){t instanceof oe&&(t=t._wrapped),n instanceof oe&&(n=n._wrapped);var s=u.call(t);if(s!==u.call(n))return!1;if(F&&"[object Object]"==s&&V(t)){if(!V(n))return!1;s=ae}switch(s){case"[object RegExp]":case"[object String]":return""+t==""+n;case"[object Number]":return+t!=+t?+n!=+n:0==+t?1/+t==1/n:+t==+n;case"[object Date]":case"[object Boolean]":return+t==+n;case"[object Symbol]":return a.valueOf.call(t)===a.valueOf.call(n);case"[object ArrayBuffer]":case ae:return e(ie(t),ie(n),r,o)}var l="[object Array]"===s;if(!l&&X(t)){if(Y(t)!==Y(n))return!1;if(t.buffer===n.buffer&&t.byteOffset===n.byteOffset)return!0;l=!0}if(!l){if("object"!=i(t)||"object"!=i(n))return!1;var c=t.constructor,f=n.constructor;if(c!==f&&!(L(c)&&c instanceof c&&L(f)&&f instanceof f)&&"constructor"in t&&"constructor"in n)return!1}o=o||[];for(var d=(r=r||[]).length;d--;)if(r[d]===t)return o[d]===n;if(r.push(t),o.push(n),l){if((d=t.length)!==n.length)return!1;for(;d--;)if(!se(t[d],n[d],r,o))return!1}else{var p,h=ne(t);if(d=h.length,ne(n).length!==d)return!1;for(;d--;)if(!Z(n,p=h[d])||!se(t[p],n[p],r,o))return!1}return r.pop(),o.pop(),!0}(e,t,n,r)}function le(e){if(!k(e))return[];var t=[];for(var n in e)t.push(n);return b&&te(e,t),t}function ue(e){var t=ee(e);return function(n){if(null==n)return!1;var r=le(n);if(ee(r))return!1;for(var o=0;o<t;o++)if(!L(n[e[o]]))return!1;return e!==me||!L(n[ce])}}var ce="forEach",fe="has",de=["clear","delete"],pe=["get",fe,"set"],he=de.concat(ce,pe),me=de.concat(pe),ve=["add"].concat(de,ce,fe),ge=U?ue(he):x("Map"),ye=U?ue(me):x("WeakMap"),be=U?ue(ve):x("Set"),_e=x("WeakSet");function we(e){for(var t=ne(e),n=t.length,r=Array(n),o=0;o<n;o++)r[o]=e[t[o]];return r}function Oe(e){for(var t={},n=ne(e),r=0,o=n.length;r<o;r++)t[e[n[r]]]=n[r];return t}function ke(e){var t=[];for(var n in e)L(e[n])&&t.push(n);return t.sort()}function Ee(e,t){return function(n){var r=arguments.length;if(t&&(n=Object(n)),r<2||null==n)return n;for(var o=1;o<r;o++)for(var i=arguments[o],a=e(i),s=a.length,l=0;l<s;l++){var u=a[l];t&&void 0!==n[u]||(n[u]=i[u])}return n}}var Se=Ee(le),xe=Ee(ne),Te=Ee(le,!0);function Ae(e){if(!k(e))return{};if(m)return m(e);var t=function(){};t.prototype=e;var n=new t;return t.prototype=null,n}function Ce(e){return k(e)?H(e)?e.slice():Se({},e):e}function Pe(e){return H(e)?e:[e]}function Re(e){return oe.toPath(e)}function Ne(e,t){for(var n=t.length,r=0;r<n;r++){if(null==e)return;e=e[t[r]]}return n?e:void 0}function Ie(e,t,n){var r=Ne(e,Re(t));return E(r)?n:r}function Me(e){return e}function je(e){return e=xe({},e),function(t){return re(t,e)}}function Le(e){return e=Re(e),function(t){return Ne(t,e)}}function De(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,o){return e.call(t,n,r,o)};case 4:return function(n,r,o,i){return e.call(t,n,r,o,i)}}return function(){return e.apply(t,arguments)}}function Fe(e,t,n){return null==e?Me:L(e)?De(e,t,n):k(e)&&!H(e)?je(e):Le(e)}function Ue(e,t){return Fe(e,t,1/0)}function Be(e,t,n){return oe.iteratee!==Ue?oe.iteratee(e,t):Fe(e,t,n)}function Ve(){}function He(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}oe.toPath=Pe,oe.iteratee=Ue;var Ze=Date.now||function(){return(new Date).getTime()};function qe(e){var t=function(t){return e[t]},n="(?:"+ne(e).join("|")+")",r=RegExp(n),o=RegExp(n,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(o,t):e}}var We={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},Ke=qe(We),Ge=qe(Oe(We)),ze=oe.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},$e=/(.)^/,Ye={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Je=/\\|'|\r|\n|\u2028|\u2029/g;function Qe(e){return"\\"+Ye[e]}var Xe=/^\s*(\w|\$)+\s*$/,et=0;function tt(e,t,n,r,o){if(!(r instanceof t))return e.apply(n,o);var i=Ae(e.prototype),a=e.apply(i,o);return k(a)?a:i}var nt=O((function(e,t){var n=nt.placeholder,r=function r(){for(var o=0,i=t.length,a=Array(i),s=0;s<i;s++)a[s]=t[s]===n?arguments[o++]:t[s];for(;o<arguments.length;)a.push(arguments[o++]);return tt(e,r,this,this,a)};return r}));nt.placeholder=oe;var rt=O((function(e,t,n){if(!L(e))throw new TypeError("Bind must be called on a function");var r=O((function(o){return tt(e,r,t,this,n.concat(o))}));return r})),ot=z(ee);function it(e,t,n,r){if(r=r||[],t||0===t){if(t<=0)return r.concat(e)}else t=1/0;for(var o=r.length,i=0,a=ee(e);i<a;i++){var s=e[i];if(ot(s)&&(H(s)||W(s)))if(t>1)it(s,t-1,n,r),o=r.length;else for(var l=0,u=s.length;l<u;)r[o++]=s[l++];else n||(r[o++]=s)}return r}var at=O((function(e,t){var n=(t=it(t,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=t[n];e[r]=rt(e[r],e)}return e})),st=O((function(e,t,n){return setTimeout((function(){return e.apply(null,n)}),t)})),lt=nt(st,oe,1);function ut(e){return function(){return!e.apply(this,arguments)}}function ct(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}var ft=nt(ct,2);function dt(e,t,n){t=Be(t,n);for(var r,o=ne(e),i=0,a=o.length;i<a;i++)if(t(e[r=o[i]],r,e))return r}function pt(e){return function(t,n,r){n=Be(n,r);for(var o=ee(t),i=e>0?0:o-1;i>=0&&i<o;i+=e)if(n(t[i],i,t))return i;return-1}}var ht=pt(1),mt=pt(-1);function vt(e,t,n,r){for(var o=(n=Be(n,r,1))(t),i=0,a=ee(e);i<a;){var s=Math.floor((i+a)/2);n(e[s])<o?i=s+1:a=s}return i}function gt(e,t,n){return function(r,o,i){var a=0,s=ee(r);if("number"==typeof i)e>0?a=i>=0?i:Math.max(i+s,a):s=i>=0?Math.min(i+1,s):i+s+1;else if(n&&i&&s)return r[i=n(r,o)]===o?i:-1;if(o!=o)return(i=t(l.call(r,a,s),K))>=0?i+a:-1;for(i=e>0?a:s-1;i>=0&&i<s;i+=e)if(r[i]===o)return i;return-1}}var yt=gt(1,ht,vt),bt=gt(-1,mt);function _t(e,t,n){var r=(ot(e)?ht:dt)(e,t,n);if(void 0!==r&&-1!==r)return e[r]}function wt(e,t,n){var r,o;if(t=De(t,n),ot(e))for(r=0,o=e.length;r<o;r++)t(e[r],r,e);else{var i=ne(e);for(r=0,o=i.length;r<o;r++)t(e[i[r]],i[r],e)}return e}function Ot(e,t,n){t=Be(t,n);for(var r=!ot(e)&&ne(e),o=(r||e).length,i=Array(o),a=0;a<o;a++){var s=r?r[a]:a;i[a]=t(e[s],s,e)}return i}function kt(e){var t=function(t,n,r,o){var i=!ot(t)&&ne(t),a=(i||t).length,s=e>0?0:a-1;for(o||(r=t[i?i[s]:s],s+=e);s>=0&&s<a;s+=e){var l=i?i[s]:s;r=n(r,t[l],l,t)}return r};return function(e,n,r,o){var i=arguments.length>=3;return t(e,De(n,o,4),r,i)}}var Et=kt(1),St=kt(-1);function xt(e,t,n){var r=[];return t=Be(t,n),wt(e,(function(e,n,o){t(e,n,o)&&r.push(e)})),r}function Tt(e,t,n){t=Be(t,n);for(var r=!ot(e)&&ne(e),o=(r||e).length,i=0;i<o;i++){var a=r?r[i]:i;if(!t(e[a],a,e))return!1}return!0}function At(e,t,n){t=Be(t,n);for(var r=!ot(e)&&ne(e),o=(r||e).length,i=0;i<o;i++){var a=r?r[i]:i;if(t(e[a],a,e))return!0}return!1}function Ct(e,t,n,r){return ot(e)||(e=we(e)),("number"!=typeof n||r)&&(n=0),yt(e,t,n)>=0}var Pt=O((function(e,t,n){var r,o;return L(t)?o=t:(t=Re(t),r=t.slice(0,-1),t=t[t.length-1]),Ot(e,(function(e){var i=o;if(!i){if(r&&r.length&&(e=Ne(e,r)),null==e)return;i=e[t]}return null==i?i:i.apply(e,n)}))}));function Rt(e,t){return Ot(e,Le(t))}function Nt(e,t,n){var r,o,a=-1/0,s=-1/0;if(null==t||"number"==typeof t&&"object"!=i(e[0])&&null!=e)for(var l=0,u=(e=ot(e)?e:we(e)).length;l<u;l++)null!=(r=e[l])&&r>a&&(a=r);else t=Be(t,n),wt(e,(function(e,n,r){((o=t(e,n,r))>s||o===-1/0&&a===-1/0)&&(a=e,s=o)}));return a}function It(e,t,n){if(null==t||n)return ot(e)||(e=we(e)),e[He(e.length-1)];var r=ot(e)?Ce(e):we(e),o=ee(r);t=Math.max(Math.min(t,o),0);for(var i=o-1,a=0;a<t;a++){var s=He(a,i),l=r[a];r[a]=r[s],r[s]=l}return r.slice(0,t)}function Mt(e,t){return function(n,r,o){var i=t?[[],[]]:{};return r=Be(r,o),wt(n,(function(t,o){var a=r(t,o,n);e(i,t,a)})),i}}var jt=Mt((function(e,t,n){Z(e,n)?e[n].push(t):e[n]=[t]})),Lt=Mt((function(e,t,n){e[n]=t})),Dt=Mt((function(e,t,n){Z(e,n)?e[n]++:e[n]=1})),Ft=Mt((function(e,t,n){e[n?0:1].push(t)}),!0),Ut=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function Bt(e,t,n){return t in n}var Vt=O((function(e,t){var n={},r=t[0];if(null==e)return n;L(r)?(t.length>1&&(r=De(r,t[1])),t=le(e)):(r=Bt,t=it(t,!1,!1),e=Object(e));for(var o=0,i=t.length;o<i;o++){var a=t[o],s=e[a];r(s,a,e)&&(n[a]=s)}return n})),Ht=O((function(e,t){var n,r=t[0];return L(r)?(r=ut(r),t.length>1&&(n=t[1])):(t=Ot(it(t,!1,!1),String),r=function(e,n){return!Ct(t,n)}),Vt(e,r,n)}));function Zt(e,t,n){return l.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function qt(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:Zt(e,e.length-t)}function Wt(e,t,n){return l.call(e,null==t||n?1:t)}var Kt=O((function(e,t){return t=it(t,!0,!0),xt(e,(function(e){return!Ct(t,e)}))})),Gt=O((function(e,t){return Kt(e,t)}));function zt(e,t,n,r){S(t)||(r=n,n=t,t=!1),null!=n&&(n=Be(n,r));for(var o=[],i=[],a=0,s=ee(e);a<s;a++){var l=e[a],u=n?n(l,a,e):l;t&&!n?(a&&i===u||o.push(l),i=u):n?Ct(i,u)||(i.push(u),o.push(l)):Ct(o,l)||o.push(l)}return o}var $t=O((function(e){return zt(it(e,!0,!0))}));function Yt(e){for(var t=e&&Nt(e,ee).length||0,n=Array(t),r=0;r<t;r++)n[r]=Rt(e,r);return n}var Jt=O(Yt);function Qt(e,t){return e._chain?oe(t).chain():t}function Xt(e){return wt(ke(e),(function(t){var n=oe[t]=e[t];oe.prototype[t]=function(){var e=[this._wrapped];return s.apply(e,arguments),Qt(this,n.apply(oe,e))}})),oe}wt(["pop","push","reverse","shift","sort","splice","unshift"],(function(e){var t=n[e];oe.prototype[e]=function(){var n=this._wrapped;return null!=n&&(t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0]),Qt(this,n)}})),wt(["concat","join","slice"],(function(e){var t=n[e];oe.prototype[e]=function(){var e=this._wrapped;return null!=e&&(e=t.apply(e,arguments)),Qt(this,e)}}));var en=Xt({__proto__:null,VERSION:e,restArguments:O,isObject:k,isNull:function(e){return null===e},isUndefined:E,isBoolean:S,isElement:function(e){return!(!e||1!==e.nodeType)},isString:T,isNumber:A,isDate:C,isRegExp:P,isError:R,isSymbol:N,isArrayBuffer:I,isDataView:V,isArray:H,isFunction:L,isArguments:W,isFinite:function(e){return!N(e)&&y(e)&&!isNaN(parseFloat(e))},isNaN:K,isTypedArray:X,isEmpty:function(e){if(null==e)return!0;var t=ee(e);return"number"==typeof t&&(H(e)||T(e)||W(e))?0===t:0===ee(ne(e))},isMatch:re,isEqual:function(e,t){return se(e,t)},isMap:ge,isWeakMap:ye,isSet:be,isWeakSet:_e,keys:ne,allKeys:le,values:we,pairs:function(e){for(var t=ne(e),n=t.length,r=Array(n),o=0;o<n;o++)r[o]=[t[o],e[t[o]]];return r},invert:Oe,functions:ke,methods:ke,extend:Se,extendOwn:xe,assign:xe,defaults:Te,create:function(e,t){var n=Ae(e);return t&&xe(n,t),n},clone:Ce,tap:function(e,t){return t(e),e},get:Ie,has:function(e,t){for(var n=(t=Re(t)).length,r=0;r<n;r++){var o=t[r];if(!Z(e,o))return!1;e=e[o]}return!!n},mapObject:function(e,t,n){t=Be(t,n);for(var r=ne(e),o=r.length,i={},a=0;a<o;a++){var s=r[a];i[s]=t(e[s],s,e)}return i},identity:Me,constant:G,noop:Ve,toPath:Pe,property:Le,propertyOf:function(e){return null==e?Ve:function(t){return Ie(e,t)}},matcher:je,matches:je,times:function(e,t,n){var r=Array(Math.max(0,e));t=De(t,n,1);for(var o=0;o<e;o++)r[o]=t(o);return r},random:He,now:Ze,escape:Ke,unescape:Ge,templateSettings:ze,template:function(e,t,n){!t&&n&&(t=n),t=Te({},t,oe.templateSettings);var r=RegExp([(t.escape||$e).source,(t.interpolate||$e).source,(t.evaluate||$e).source].join("|")+"|$","g"),o=0,i="__p+='";e.replace(r,(function(t,n,r,a,s){return i+=e.slice(o,s).replace(Je,Qe),o=s+t.length,n?i+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?i+="'+\n((__t=("+r+"))==null?'':__t)+\n'":a&&(i+="';\n"+a+"\n__p+='"),t})),i+="';\n";var a,s=t.variable;if(s){if(!Xe.test(s))throw new Error("variable is not a bare identifier: "+s)}else i="with(obj||{}){\n"+i+"}\n",s="obj";i="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+i+"return __p;\n";try{a=new Function(s,"_",i)}catch(e){throw e.source=i,e}var l=function(e){return a.call(this,e,oe)};return l.source="function("+s+"){\n"+i+"}",l},result:function(e,t,n){var r=(t=Re(t)).length;if(!r)return L(n)?n.call(e):n;for(var o=0;o<r;o++){var i=null==e?void 0:e[t[o]];void 0===i&&(i=n,o=r),e=L(i)?i.call(e):i}return e},uniqueId:function(e){var t=++et+"";return e?e+t:t},chain:function(e){var t=oe(e);return t._chain=!0,t},iteratee:Ue,partial:nt,bind:rt,bindAll:at,memoize:function(e,t){var n=function n(r){var o=n.cache,i=""+(t?t.apply(this,arguments):r);return Z(o,i)||(o[i]=e.apply(this,arguments)),o[i]};return n.cache={},n},delay:st,defer:lt,throttle:function(e,t,n){var r,o,i,a,s=0;n||(n={});var l=function(){s=!1===n.leading?0:Ze(),r=null,a=e.apply(o,i),r||(o=i=null)},u=function(){var u=Ze();s||!1!==n.leading||(s=u);var c=t-(u-s);return o=this,i=arguments,c<=0||c>t?(r&&(clearTimeout(r),r=null),s=u,a=e.apply(o,i),r||(o=i=null)):r||!1===n.trailing||(r=setTimeout(l,c)),a};return u.cancel=function(){clearTimeout(r),s=0,r=o=i=null},u},debounce:function(e,t,n){var r,o,i,a,s,l=function l(){var u=Ze()-o;t>u?r=setTimeout(l,t-u):(r=null,n||(a=e.apply(s,i)),r||(i=s=null))},u=O((function(u){return s=this,i=u,o=Ze(),r||(r=setTimeout(l,t),n&&(a=e.apply(s,i))),a}));return u.cancel=function(){clearTimeout(r),r=i=s=null},u},wrap:function(e,t){return nt(t,e)},negate:ut,compose:function(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}},after:function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},before:ct,once:ft,findKey:dt,findIndex:ht,findLastIndex:mt,sortedIndex:vt,indexOf:yt,lastIndexOf:bt,find:_t,detect:_t,findWhere:function(e,t){return _t(e,je(t))},each:wt,forEach:wt,map:Ot,collect:Ot,reduce:Et,foldl:Et,inject:Et,reduceRight:St,foldr:St,filter:xt,select:xt,reject:function(e,t,n){return xt(e,ut(Be(t)),n)},every:Tt,all:Tt,some:At,any:At,contains:Ct,includes:Ct,include:Ct,invoke:Pt,pluck:Rt,where:function(e,t){return xt(e,je(t))},max:Nt,min:function(e,t,n){var r,o,a=1/0,s=1/0;if(null==t||"number"==typeof t&&"object"!=i(e[0])&&null!=e)for(var l=0,u=(e=ot(e)?e:we(e)).length;l<u;l++)null!=(r=e[l])&&r<a&&(a=r);else t=Be(t,n),wt(e,(function(e,n,r){((o=t(e,n,r))<s||o===1/0&&a===1/0)&&(a=e,s=o)}));return a},shuffle:function(e){return It(e,1/0)},sample:It,sortBy:function(e,t,n){var r=0;return t=Be(t,n),Rt(Ot(e,(function(e,n,o){return{value:e,index:r++,criteria:t(e,n,o)}})).sort((function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(n<r||void 0===r)return-1}return e.index-t.index})),"value")},groupBy:jt,indexBy:Lt,countBy:Dt,partition:Ft,toArray:function(e){return e?H(e)?l.call(e):T(e)?e.match(Ut):ot(e)?Ot(e,Me):we(e):[]},size:function(e){return null==e?0:ot(e)?e.length:ne(e).length},pick:Vt,omit:Ht,first:qt,head:qt,take:qt,initial:Zt,last:function(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[e.length-1]:Wt(e,Math.max(0,e.length-t))},rest:Wt,tail:Wt,drop:Wt,compact:function(e){return xt(e,Boolean)},flatten:function(e,t){return it(e,t,!1)},without:Gt,uniq:zt,unique:zt,union:$t,intersection:function(e){for(var t=[],n=arguments.length,r=0,o=ee(e);r<o;r++){var i=e[r];if(!Ct(t,i)){var a;for(a=1;a<n&&Ct(arguments[a],i);a++);a===n&&t.push(i)}}return t},difference:Kt,unzip:Yt,transpose:Yt,zip:Jt,object:function(e,t){for(var n={},r=0,o=ee(e);r<o;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n},range:function(e,t,n){null==t&&(t=e||0,e=0),n||(n=t<e?-1:1);for(var r=Math.max(Math.ceil((t-e)/n),0),o=Array(r),i=0;i<r;i++,e+=n)o[i]=e;return o},chunk:function(e,t){if(null==t||t<1)return[];for(var n=[],r=0,o=e.length;r<o;)n.push(l.call(e,r,r+=t));return n},mixin:Xt,default:oe});return en._=en,en}()}(o.u);var a=o.u.exports;t.default=a,e.exports=t.default},2402:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"$",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"Backbone",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(t,"BaseModel",{enumerable:!0,get:function(){return o.default}}),t.Form=t.Controller=t.Collection=void 0,Object.defineProperty(t,"FrameworkView",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(t,"Handlebars",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"ListView",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"Model",{enumerable:!0,get:function(){return a.default}}),t.View=t.Router=void 0,Object.defineProperty(t,"_",{enumerable:!0,get:function(){return _.default}}),t.internal=t.createCallout=t.createButton=void 0,Object.defineProperty(t,"isModelPropertySchema",{enumerable:!0,get:function(){return B.isModelPropertySchema}}),t.registerInput=t.loc=void 0;var r=V(n(497)),o=V(n(8967)),i=V(n(1017)),a=V(n(9458)),s=V(n(6273)),l=V(n(7277)),u=V(n(2368)),c=V(n(1937)),f=V(n(2857)),d=V(n(4106)),p=V(n(1881)),h=V(n(2514)),m=V(n(8311)),v=V(n(1633)),g=V(n(4691)),y=V(n(6276));n(3378),n(7827),n(5631),n(4329),n(7169),n(2259);var b=V(n(5586)),_=V(n(4818)),w=V(n(1357)),O=V(n(7317)),k=V(n(5480)),E=V(n(5270)),S=V(n(7133)),x=V(n(967)),T=V(n(6637)),A=V(n(5946)),C=V(n(1767)),P=V(n(1648)),R=V(n(3696)),N=V(n(7514)),I=V(n(3452)),M=V(n(7613)),j=V(n(3679)),L=V(n(6565)),D=V(n(2265)),F=V(n(7582)),U=V(n(5771));n(2597);var B=n(6401);function V(e){return e&&e.__esModule?e:{default:e}}n(5725);var H=l.default.extend({render:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return O.default.prototype.render.apply(this,t),this}});t.Controller=H,M.default.prototype.remove=function(){return P.default.prototype.remove.apply(this,arguments)},U.default.prototype.compileTemplate=function(e){var t=function(){return e};return t.source="",t};var Z={"input input":"update","change input":"update","keydown input":"update","keyup input":function(e){h.default.isEsc(e)&&this.model.trigger("form:cancel")}},q=L.default.extend({events:Z}),W=N.default.extend({events:Z}),K=S.default.extend({scrollOnError:function(){return!1!==this.options.settings.get("features.scrollOnError")}});t.Form=K;var G=v.default.localize;t.loc=G;var z=c.default.create;t.createButton=z;var $=D.default.create;t.createCallout=$;var Y=A.default.register;t.registerInput=Y;var J=r.default;t.Collection=J;var Q=O.default;t.View=Q;var X=u.default;t.Router=X;var ee={util:{Util:g.default,Cookie:d.default,Clipboard:p.default,Logger:m.default,Class:f.default,Keys:h.default},views:{components:{BaseDropDown:k.default,Notification:E.default},forms:{helpers:{FormUtil:T.default,SchemaFormFactory:C.default},components:{Toolbar:x.default},inputs:{TextBox:q,PasswordBox:W,CheckBox:R.default,Radio:I.default,Select:M.default,InputGroup:j.default}}},models:{BaseSchema:i.default,SchemaProperty:s.default}};t.internal=ee,Y("text",q),Y("password",W),Y("checkbox",R.default),Y("radio",I.default),Y("select",M.default),Y("group",j.default)},3715:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(4818)),o=i(n(7582));function i(e){return e&&e.__esModule?e:{default:e}}var a="__STATE__",s="FETCH_DATA",l="PAGINATION_DATA",u="DEFAULT_PARAMS",c="LINK_BY_HEADER";function f(e,t){try{var n=function(e){for(var t,n=/[^()<>@,;:"/[\]?={} \t]+=(([^()<>@,;:"/[\]?={} \t]+)|("[^"]*"))/g,r=e.match(/<[^>]*>\s*(\s*;\s*[^()<>@,;:"/[\]?={} \t]+=(([^()<>@,;:"/[\]?={} \t]+)|("[^"]*")))*(,|$)/g),o={},i=0;i<r.length;i++){var a=r[i].split(">"),s=a[0].substring(1),l={href:void 0,rel:void 0};l.href=s;for(var u=a[1].match(n),c=0;c<u.length;c++){var f=u[c].split("=");l[f[0]]='"'===(t=f[1]).charAt(0)&&'"'===t.charAt(t.length-1)?t.substring(1,t.length-1):t}void 0!==l.rel&&(o[l.rel]=l)}return o}(t.getResponseHeader("link"));e[a].set(c,!0),e.setPagination(n.next.href)}catch(t){e[a].get(c)&&e.setPagination(null)}}var d={params:{},preinitialize:function(e,t){var n=new o.default.Model,i=r.default.defaults(t&&t.params||{},r.default.result(this,"params")||{});n.set(u,i),this[a]=n,r.default.isFunction(this.model)&&0===this.model.length&&!0!==this.model.isCourageModel&&(this.model=r.default.result(this,"model")),o.default.Collection.prototype.preinitialize.apply(this,arguments)},sync:function(e,t,n){var r=this,i=n.success;return n.success=function(e,t,n){f(r,n),i.apply(null,arguments)},o.default.Collection.prototype.sync.call(this,e,t,n)},fetch:function(e){e||(e={});var t=this[a],n=t.get("XHR");return e.data=r.default.extend({},t.get(u),e.data||{}),e.fromFetch=!0,t.set(s,e.data),n&&n.abort&&!1!==e.abort&&n.abort(),n=o.default.Collection.prototype.fetch.call(this,e),t.set("XHR",n),n},setPagination:function(e,t){r.default.isString(e)&&e&&(e=function(e){for(var t={},n=e&&e.split("?")[1],r=n&&decodeURIComponent(n.split("#")[0]).replace(/\+/g," "),o=r?r.split("&"):[],i=0;i<o.length;i++){var a=o[i].split("=");t[a.shift()]=a.join("=")}return t}(e)),r.default.isObject(e)&&!r.default.isArray(e)&&r.default.size(e)?t&&t.fromFetch&&(e=r.default.extend({},this.getFetchData(),e)):e=null,this[a].set(l,e)},getFetchData:function(){return this[a].get(s)||{}},getPaginationData:function(){return this[a].get(l)||{}},hasMore:function(){return r.default.size(this.getPaginationData())>0},fetchMore:function(){if(!this.hasMore())throw new Error("Invalid Request");return this.fetch({data:this.getPaginationData(),add:!0,remove:!1,update:!0})},reset:function(e,t){return t||(t={}),t.fromFetch||this.setPagination(null),o.default.Collection.prototype.reset.apply(this,arguments)},where:function(e,t){return r.default.isEmpty(e)?t?void 0:[]:this[t?"find":"filter"]((function(t){for(var n in e)if(e[n]!==t.get(n))return!1;return!0}))},create:function(e,t){return t||(t={}),r.default.result(e,"urlRoot")||(t.url=r.default.result(this,"url")),o.default.Collection.prototype.create.call(this,e,t)},_reset:function(){o.default.Collection.prototype._reset.call(this),this._byId=Object.create(null)}},p=o.default.Collection.extend(d);t.default=p,p.isCourageCollection=!0,e.exports=t.default},3430:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(5771)),o=i(n(4818));function i(e){return e&&e.__esModule?e:{default:e}}var a=r.default.extend({constructor:function(){if(r.default.apply(this,arguments),!this.collection)throw new Error("Missing collection");this.listenTo(this.collection,"reset sort",this.reset),this.listenTo(this.collection,"add",this.addItem),this.fetchCollection?this.collection.fetch():this.collection.each(this.addItem,this)},item:null,itemSelector:null,reset:function(){var e=this;return this.removeChildren(),this.collection.each((function(t,n){e.addItem(t,n)})),this},addItem:function(e){var t=this.add(this.item,this.itemSelector,{options:{model:e}}).last();return this.state&&this.state.get("trackItemAdded")&&this.state.trigger("itemAdded",t),t.listenTo(e,"destroy remove",t.remove),this},addShowMore:o.default.noop});t.default=a,e.exports=t.default},6401:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.isModelPropertySchema=u;var r,o=s(n(4818)),i=s(n(7582)),a=s(n(8311));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function u(e){return e&&e.type||e.deps}function c(e,t,n,r){var i=o.default.contains(t,n);return r||(r={}),i||!o.default.isObject(e)||o.default.isArray(e)||o.default.isFunction(e)?void 0!==n&&(r[n]=e):o.default.each(e,(function(e,o){c(e,t,n?n+"."+o:o,r)})),r}function f(e){return o.default.each(e,(function(e,t,n){if(-1!==t.indexOf(".")){for(var r,o=n,i=t.split(".");void 0!==(r=i.shift());)o[r]||(o[r]=i.length?{}:e),o=o[r];delete n[t]}})),e}function d(e,t){var n={};return n[e.name]=t,n}function p(e,t){var n;return n=o.default.isString(e)?{type:e}:o.default.isArray(e)?{type:e[0],required:e[1],value:e[2]}:o.default.clone(e),o.default.defaults(n,{required:!1,name:t}),n}function h(e,t,n){if(!t.test(e))return n}var m={email:function(e){return h(e,/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,r.ERROR_INVALID_FORMAT_EMAIL)},uri:function(e){return h(e,/^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,}))\.?)(?::\d{2,5})?(?:[/?#]\S*)?$/i,r.ERROR_INVALID_FORMAT_URI)},ipv4:function(e){return h(e,/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,r.ERROR_INVALID_FORMAT_IPV4)},hostname:function(e){return h(e,/^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9-]*[A-Za-z0-9])$/,r.ERROR_INVALID_FORMAT_HOSTNAME)}};function v(e,t){var n=o.default.partial(d,e),i=function(e,t){var n=m[e.format];if(e.format&&!n)throw new TypeError(e.format+" is not a supported string format");return n&&n(t)}(e,t);return i?n(i):t&&e.minLength&&t.length<e.minLength?n(r.ERROR_STRING_STRING_MIN_LENGTH):t&&e.maxLength&&t.length>e.maxLength?n(r.ERROR_STRING_STRING_MAX_LENGTH):void 0}function g(e,t){var n,i,a,s=o.default.partial(d,e),l=!o.default.isUndefined(t)&&!o.default.isNull(t);if(Array.isArray(e.validate)){var u,c=[],f=!1;return e.validate.forEach((function(e){if(t)if("regex"===e.type.toLowerCase())u=new RegExp(e.value.pattern,e.value.flags||"").test(t);else u=!1;else u=!1;f=f||!u,c.push({message:e.hasOwnProperty("message")?e.message:"",passed:u})})),f?s(c):void 0}if(e.required&&(!l||o.default.isNull(t)||""===t))return s(r.ERROR_BLANK);if(n=o.default["is"+(a=e.type,a.toLowerCase().replace(/\b[a-z]/g,(function(e){return e.toUpperCase()})))],l&&"any"!==e.type&&(!o.default.isFunction(n)||!n(t)))return s(r.ERROR_WRONG_TYPE);if(t&&"string"===e.type){var h=v(e,t);if(h)return h}if(l&&e.values&&!o.default.contains(e.values,t))return s(r.ERROR_NOT_ALLOWED);if(o.default.isFunction(e.validate)){var m=e.validate(t);if(o.default.isString(m)&&m)return s(m);if(!1===m)return s(r.ERROR_INVALID)}return l&&"array"===e.type&&(i=function(e,t){if(e.minItems&&t.length<e.minItems)return"model.validation.field.array.minItems";if(e.maxItems&&t.length>e.maxItems)return"model.validation.field.array.maxItems";if(e.uniqueItems&&t.length>o.default.uniq(t).length)return r.ERROR_IARRAY_UNIQUE;if(e.items)for(var n=p(e.items,"placeholder"),i=0;i<t.length;i++){var a=g(n,t[i]);if(a)return a.placeholder}}(e,t))?s(i):void 0}var y={props:{},derived:{},local:{},flat:!0,defaults:{},preinitialize:function(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];this.options=e||{};var s=this.__schema__={},l=[];s.computedProperties={},s.props=o.default.clone(o.default.result(this,"props")||{}),s.derived=o.default.clone(o.default.result(this,"derived")||{}),s.local=o.default.clone(o.default.result(this,"local")||{});var u={};if(o.default.each(o.default.extend({},s.props,s.local),(function(e,t){var n=p(e,t);o.default.isUndefined(n.value)||(u[t]=n.value),"object"===n.type&&l.push(t)}),this),o.default.size(u)){var f=o.default.result(this,"defaults");this.defaults=function(){return o.default.defaults({},u,f)}}this.validate=o.default.wrap(this.validate,(function(e){var t=o.default.rest(arguments),n=o.default.extend(this._validateSchema.apply(this,t),e.apply(this,t));return o.default.size(n)&&n||void 0})),this.parse=o.default.wrap(this.parse,(function(e){var t=e.apply(this,o.default.rest(arguments));return o.default.result(this,"flat")&&(t=c(t,l)),t})),(t=i.default.Model.prototype.preinitialize).call.apply(t,[this,e].concat(r))},constructor:function(){i.default.Model.apply(this,arguments);var e=this.__schema__;o.default.each(e.derived,(function(t,n){e.computedProperties[n]=this.__getDerivedValue(n);var r=u(t)&&t.deps||[];r.length&&this.on("cache:clear change:"+r.join(" change:"),(function(){var t=this.__getDerivedValue(n);t!==e.computedProperties[n]&&(e.computedProperties[n]=t,this.trigger("change:"+n,this,t))}),this)}),this),this.on("sync",(function(){this.__syncedData=this.toJSON()}),this)},validate:function(){},allows:function(e){var t=this.__schema__,n=o.default.extend({},t.props,t.local);return o.default.has(n,e)||a.default.warn("Field not defined in schema",e),!0},getPropertySchema:function(e){var t=this.__schema__;return o.default.reduce([t.props,t.local],(function(t,n){return t||p(n[e],e)}),null)},set:function(e,t){var n;"object"===l(e)?n=e:(n={})[e]=t,o.default.each(n,(function(e,t){if(o.default.has(this.__schema__.derived,t))throw new Error("overriding derived properties is not supported: ".concat(t))}),this);var r=[];if(o.default.each(n,(function(e,t){this.allows(t)||r.push(t)}),this),r.length)throw new Error("field not allowed: ".concat(r.join(", ")));return i.default.Model.prototype.set.apply(this,arguments)},get:function(e){var t=this.__schema__;return o.default.has(t.derived,e)?!1!==t.derived[e].cache?t.computedProperties[e]:this.__getDerivedValue(e):i.default.Model.prototype.get.apply(this,arguments)},toJSON:function(e){e||(e={});var t=o.default.clone(i.default.Model.prototype.toJSON.apply(this,arguments)),n=this.__schema__;return e.verbose?o.default.each(n.derived,(function(e,n){t[n]=this.get(n)}),this):t=o.default.omit(t,o.default.keys(n.local)),this.flat&&(t=f(t)),t},reset:function(e){this.clear(e),this.set(o.default.result(this,"defaults"),e)},isSynced:function(){return o.default.isEqual(this.__syncedData,this.toJSON())},validateField:function(e){var t=e&&this.getPropertySchema(e);return t&&g(t,this.get(e))},_validateSchema:function(){var e=this.__schema__;return o.default.reduce(o.default.extend({},e.props,e.local),(function(e,t,n){return o.default.extend(e,this.validateField(n)||{})}),{},this)},__getDerivedValue:function(e){var t=this.__schema__.derived[e];if(o.default.isString(t)){var n=t;t={deps:[n],fn:function(){return this.get(n)}}}var r=t.deps||[];return t.fn.apply(this,o.default.map(r,this.get,this))}};(r=i.default.Model.extend(y,{ERROR_BLANK:"model.validation.field.blank",ERROR_WRONG_TYPE:"model.validation.field.wrong.type",ERROR_NOT_ALLOWED:"model.validation.field.value.not.allowed",ERROR_INVALID:"model.validation.field.invalid",ERROR_IARRAY_UNIQUE:"model.validation.field.array.unique",ERROR_INVALID_FORMAT_EMAIL:"model.validation.field.invalid.format.email",ERROR_INVALID_FORMAT_URI:"model.validation.field.invalid.format.uri",ERROR_INVALID_FORMAT_IPV4:"model.validation.field.invalid.format.ipv4",ERROR_INVALID_FORMAT_HOSTNAME:"model.validation.field.invalid.format.hostname",ERROR_STRING_STRING_MIN_LENGTH:"model.validation.field.string.minLength",ERROR_STRING_STRING_MAX_LENGTH:"model.validation.field.string.maxLength"})).isCourageModel=!0;var b=r;t.default=b},5771:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(4818)),o=i(n(7582));function i(e){return e&&e.__esModule?e:{default:e}}var a,s="__children__",l="__rendered__",u="__parent__",c="__children_definitions__",f="__add_to_container__";function d(e,t){for(var n=0;n<e[s].length;n++)if(t.cid===e[s][n].cid)return n}function p(){}function h(e){var t=/^(?!(?:delegate|undelegate|_))([a-zA-Z0-9]+)(?:Events)$/;r.default.each(r.default.allKeys(e),(function(n){var o=n.match(t);if(o){var i=r.default.result(e,n),a=e.options[o[1]]||e[o[1]];a&&r.default.isObject(i)&&r.default.isFunction(a.trigger)&&r.default.each(i,(function(t,n){var o=r.default.isFunction(t)?[t]:r.default.reduce(t.split(/\s+/),(function(t,n){return r.default.isFunction(e[n])&&t.push(e[n]),t}),[]);r.default.each(o,(function(t){e.listenTo(a,n,t)}))}))}}))}var m={preinitialize:function(e){this.options=e||{},r.default.extend(this,r.default.pick(this.options,"state","settings")),this[s]=[],this[l]=!1,this[u]=null,this[c]=this.children,this.__original_initialize__=this.initialize,this.initialize=p},constructor:function(e){var t;o.default.View.call(this,e),r.default.each(r.default.result(this,c),(function(e){this.add.apply(this,r.default.isArray(e)?e:[e])}),this),delete this[c];var n=r.default.result(this,"autoRender");if(n&&this.model){var i=r.default.isArray(n)?r.default.map(n,(function(e){return"change:"+e})).join(" "):"change";this.listenTo(this.model,i,(function(){this.render()}))}this.initialize=this.__original_initialize__;for(var a=arguments.length,s=new Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];(t=this.initialize).call.apply(t,[this,e].concat(s)),h(this)},unregister:function(e){this.stopListening(e);var t=d(this,e);r.default.isNumber(t)&&this[s].splice(t,1)},autoRender:!1,template:null,children:[],add:function(e,t,n,i,l){var c,p={},h=r.default.toArray(arguments);if(r.default.isFunction(e)&&(!e.prototype||!e.prototype.render))throw new Error("Type passed to add() is not a View");if(r.default.isObject(t)?(t=(p=t).selector,n=p.bubble,i=p.prepend,l=p.options):r.default.isObject(n)&&(n=(p=n).bubble,i=p.prepend,l=p.options),r.default.isString(e)&&(c=e,e=a.extend({constructor:function(){try{var e=o.default.$(c);if(1!==e.length)throw new Error("invalid Element");var t=/&(\w+|#x\d+);/g,n=e.prop("outerHTML").replace(t," ").length,r=c.replace(t," ").length;if(n!==r)throw new Error("invalid Element");this.template=e.html(),this.el=e.empty()[0]}catch(e){this.template=c}a.apply(this,arguments)}})),e.prototype&&e.prototype instanceof a){var m=r.default.omit(r.default.extend({},this.options,l),"el");return h[0]=new e(m),this.add.apply(this,h)}if(r.default.isNumber(d(this,e)))throw new Error("Duplicate child");return e[u]=this,e[f]=function(t){return function(){if(t&&1!==e[u].$(t).length)throw new Error("Invalid selector: "+t);var n=t?this[u].$(t):this[u].$el;this.render(),this.delegateEvents(),i?n.prepend(this.el):n.append(this.el)}}.call(e,t),n&&this.listenTo(e,"all",(function(){this.trigger.apply(this,arguments)})),this.rendered()&&e[f](),this[s].push(e),this},removeChildren:function(){return this.each((function(e){e.remove()})),this},remove:function(){return this.removeChildren(),this[u]&&this[u].unregister(this),o.default.View.prototype.remove.apply(this,arguments)},compileTemplate:function(e){return r.default.template(e,void 0)},renderTemplate:function(e){if(r.default.isString(e)&&(e=this.compileTemplate(e)),r.default.isFunction(e))return e(this.getTemplateData())},getTemplateData:function(){var e=this.model&&this.model.toJSON({verbose:!0})||{},t=r.default.omit(this.options,["state","settings","model","collection"]);return r.default.defaults({},e,t)},render:function(){return this.preRender(),function(e){e[l]=!0;var t=e.renderTemplate(e.template);t?e.$el.html(t):e.length&&e.$el.empty(),e.each((function(e){e[f]()}))}(this),this.postRender(),this},preRender:p,postRender:p,rendered:function(){return this[l]},getChildren:function(){return this.toArray()},at:function(e){return this.getChildren()[e]},invoke:function(e){var t=r.default.toArray(arguments);return this.each((function(n){n.size()&&n.invoke.apply(n,t),r.default.isFunction(n[e])&&n[e].apply(n,t.slice(1))})),this}};a=o.default.View.extend(m);r.default.each(["each","map","reduce","reduceRight","find","filter","reject","every","some","contains","toArray","size","first","initial","rest","last","without","indexOf","shuffle","lastIndexOf","isEmpty","chain","where","findWhere"],(function(e){a.prototype[e]=function(){var t=r.default.toArray(arguments);return t.unshift(r.default.toArray(this[s])),r.default[e].apply(r.default,t)}})),a.isCourageView=!0;var v=a;t.default=v,e.exports=t.default},497:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(4818)),o=i(n(3715));function i(e){return e&&e.__esModule?e:{default:e}}var a={secureJSON:!1,constructor:function(){o.default.apply(this,arguments),r.default.result(this,"secureJSON")&&(this.sync=r.default.wrap(this.sync,(function(e,t,n,o){return e.call(this,t,n,r.default.extend({dataType:"secureJSON"},o))})))}},s=o.default.extend(a);t.default=s,e.exports=t.default},8967:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(4818)),o=i(n(9458));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var s=function(e){var t=r.default.omit(e.local,r.default.keys(e._builtInLocalProps));return r.default.size(e.props)+r.default.size(t)>0},l={flat:!1,constructor:function(){o.default.apply(this,arguments),this.on("sync",this._setSynced)},allows:function(){return!s(this)||o.default.prototype.allows.apply(this,arguments)},set:function(e,t){var n;return"object"===a(e)?n=e:(n={})[e]=t,(0,r.default)(n).each((function(e,t){e&&r.default.isArray(e.__attributes)&&this.on("change:"+e.__attributes.join(" change:"),(function(){var e=this.get(t);e!==this.__schema__.computedProperties[t]&&(this.__schema__.computedProperties[t]=e,this.trigger("change:"+t,e))}),this)}),this),o.default.prototype.set.apply(this,arguments)},get:function(){var e=o.default.prototype.get.apply(this,arguments);return r.default.isFunction(e)?e.apply(this,r.default.map(e.__attributes||[],this.get,this)):e},toJSON:function(e){e||(e={});var t=o.default.prototype.toJSON.apply(this,arguments);return(0,r.default)(t).each((function(n,r){"function"==typeof n&&(e.verbose?t[r]=this.get(r):delete t[r])}),this),e.verbose||(0,r.default)(t).each((function(e,n){/^__\w+__$/.test(n)&&delete t[n]})),t},sanitizeAttributes:function(e){var t={};return r.default.each(e,(function(e,n){r.default.isFunction(e)||(t[n]=e)})),t},reset:function(e){this.clear(e),this.set(this.sanitizeAttributes(this.defaults),e)},clear:function(e){var t={};return r.default.each(this.sanitizeAttributes(this.attributes),(function(e,n){t[n]=void 0})),this.set(t,r.default.extend({},e,{unset:!0}))},_setSynced:function(e){this._syncedData=e&&r.default.isFunction(e.toJSON)?e.toJSON():{}},_getSynced:function(){return this._syncedData},isSynced:function(){return r.default.isEqual(this._getSynced(),this.toJSON())}},u=o.default.extend(l,{ComputedProperty:function(e,t){return t||"function"!=typeof e?t.__attributes=e:t=e,t}});t.default=u,e.exports=t.default},1017:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(4818)),o=s(n(497)),i=s(n(8967)),a=s(n(6273));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){var t=r.default.pick(e,"id","name","displayName"),n=r.default.map(e.schema.properties,(function(e,t){return r.default.extend({name:t},e)}));return r.default.each(n,(function(e){e.__schemaMeta__=t,e.__metadata&&(e.__metadata__=e.__metadata,delete e.__metadata)})),n},u=i.default.extend({defaults:{id:void 0,displayName:void 0,name:void 0},constructor:function(){this.properties=new a.default.Collection,i.default.apply(this,arguments)},getProperties:function(){return this.properties},clone:function(){var e=i.default.prototype.clone.apply(this,arguments);return e.getProperties().set(this.getProperties().toJSON({verbose:!0})),e},parse:function(e){var t=l(e);return this.properties.set(t,{parse:!0}),r.default.omit(e,"schema")},trimProperty:function(e){return r.default.omit(e,"name")},toJSON:function(){var e=i.default.prototype.toJSON.apply(this,arguments);return e.schema={properties:{}},this.getProperties().each((function(t){var n=t.toJSON();e.schema.properties[n.name]=this.trimProperty(n)}),this),e},save:function(){return this.getProperties().each((function(e){e.cleanup()})),i.default.prototype.save.apply(this,arguments)}}),c=o.default.extend({model:u}),f={parseProperties:l,Model:u,Collection:c};t.default=f,e.exports=t.default},9458:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(4818)),o=i(n(6401));function i(e){return e&&e.__esModule?e:{default:e}}var a=o.default.extend({secureJSON:!1,_builtInLocalProps:{__edit__:"boolean",__pending__:"boolean"},preinitialize:function(){this.local=r.default.defaults({},r.default.result(this,"local"),this._builtInLocalProps),o.default.prototype.preinitialize.apply(this,arguments)},constructor:function(){o.default.apply(this,arguments),r.default.result(this,"secureJSON")&&(this.sync=r.default.wrap(this.sync,(function(e,t,n,o){return e.call(this,t,n,r.default.extend({dataType:"secureJSON"},o))})))}});t.default=a,e.exports=t.default},6273:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(5586)),o=f(n(4818)),i=f(n(497)),a=f(n(8967)),s=f(n(8311)),l=f(n(6883)),u=f(n(1633)),c=f(n(1826));function f(e){return e&&e.__esModule?e:{default:e}}var d=u.default.localize,p=l.default.STRING,h=l.default.NUMBER,m=l.default.INTEGER,v=l.default.OBJECT,g=a.default.extend({defaults:{description:void 0,minLength:void 0,maxLength:void 0,format:void 0},parse:function(e){if(o.default.isString(e.format)){var t=/^\/(.+)\/$/.exec(e.format);t&&(e.format=t[1])}return e}}),y=i.default.extend({model:g}),b=y.extend({_type:"allOf"}),_=y.extend({_type:"oneOf"}),w=y.extend({_type:"noneOf"}),O={string:d("schema.validation.field.value.must.string","courage"),number:d("schema.validation.field.value.must.number","courage"),integer:d("schema.validation.field.value.must.integer","courage"),object:d("schema.validation.field.value.must.object","courage")},k=/[^a-zA-Z0-9-]/,E={between:"_checkBetweenConstraints",greaterThan:"_checkGreaterThanConstraint",lessThan:"_checkLessThanConstraint",equals:"_checkEqualsConstraint"},S=a.default.extend({idAttribute:"name",local:{__oneOf__:{type:"array",minItems:1}},defaults:{name:"",title:void 0,type:void 0,description:void 0,required:!1,format:void 0,union:void 0,subSchemas:void 0,settings:{permissions:{SELF:l.default.PERMISSION.READ_ONLY}},unique:void 0,__metadata__:void 0,__isSensitive__:a.default.ComputedProperty(["settings"],(function(e){return!(!e||!e.sensitive||"NOT_SENSITIVE"===e.sensitive)})),__isPendingSensitive__:a.default.ComputedProperty(["settings"],(function(e){return!(!e||!e.sensitive||"PENDING_SENSITIVE"!==e.sensitive)})),__unique__:!1,__isUniqueValidated__:a.default.ComputedProperty(["unique"],(function(e){return e===l.default.UNIQUENESS.UNIQUE_VALIDATED})),__isPendingUniqueness__:a.default.ComputedProperty(["unique"],(function(e){return e===l.default.UNIQUENESS.PENDING_UNIQUENESS})),__isUniqueness__:a.default.ComputedProperty(["__isUniqueValidated__","__isPendingUniqueness__"],(function(e,t){return e||t})),__canBeSensitive__:a.default.ComputedProperty(["__metadata__"],(function(e){return!(!e||!e.sensitivizable)})),__userPermission__:l.default.PERMISSION.READ_ONLY,__displayType__:void 0,__displayTypeLabel__:a.default.ComputedProperty(["__displayType__"],(function(e){return l.default.DATATYPE[e]||e})),__supportsMinMax__:!1,__isReadOnly__:a.default.ComputedProperty(["mutability"],(function(e){return e===l.default.MUTABILITY.READONLY})),__isWriteOnly__:a.default.ComputedProperty(["mutability"],(function(e){return e===l.default.MUTABILITY.WRITEONLY})),__displayScope__:void 0,__isScopeSelf__:a.default.ComputedProperty(["scope"],(function(e){return e===l.default.SCOPE.SELF})),__isNoneScopeArrayType__:a.default.ComputedProperty(["__isScopeSelf__","__displayType__"],(function(e,t){return!e&&l.default.isArrayDataType(t)})),__isImported__:a.default.ComputedProperty(["externalName"],(function(e){return!!e})),__isFromBaseSchema__:a.default.ComputedProperty(["__schemaMeta__"],(function(e){return e&&"base"===e.name})),__enumDefined__:!1,__supportEnum__:a.default.ComputedProperty(["__displayType__"],(function(e){return o.default.contains(l.default.SUPPORTENUM,e)})),__isNumberTypeEnum__:a.default.ComputedProperty(["__displayType__"],(function(e){return o.default.contains([l.default.NUMBER,l.default.ARRAYDISPLAYTYPE.arrayofnumber],e)})),__isIntegerTypeEnum__:a.default.ComputedProperty(["__displayType__"],(function(e){return o.default.contains([l.default.INTEGER,l.default.ARRAYDISPLAYTYPE.arrayofinteger],e)})),__isObjectTypeEnum__:a.default.ComputedProperty(["__displayType__"],(function(e){return o.default.contains([l.default.OBJECT,l.default.ARRAYDISPLAYTYPE.arrayofobject],e)})),__isStringTypeEnum__:a.default.ComputedProperty(["__displayType__"],(function(e){return o.default.contains([l.default.STRING,l.default.ARRAYDISPLAYTYPE.arrayofstring],e)})),__enumConstraintType__:a.default.ComputedProperty(["__isStringTypeEnum__","__isNumberTypeEnum__","__isIntegerTypeEnum__","__isObjectTypeEnum__"],(function(e,t,n,r){return e?p:t?h:n?m:r?v:void 0})),__isEnumDefinedAndSupported__:a.default.ComputedProperty(["__enumDefined__","__supportEnum__"],(function(e,t){return e&&t})),__isLoginOfBaseSchema__:a.default.ComputedProperty(["__isFromBaseSchema__","name"],(function(e,t){return e&&"login"===t})),__isLoginFormatRestrictionToEmail__:a.default.ComputedProperty(["__loginFormatRestriction__"],(function(e){return e===l.default.LOGINPATTERNFORMAT.EMAIL}))},initialize:function(){a.default.prototype.initialize.apply(this,arguments),this.listenTo(this,"change:__displayType__",this._updateTypeFormatConstraints),this.listenTo(this,"change:type change:format change:items",this._updateDisplayType),this.listenTo(this,"change:__minVal__ change:__maxVal__",this._updateMinMax),this.listenTo(this,"change:__equals__",this._convertEqualsToMinMax),this.listenTo(this,"change:__constraint__",this._setConstraintText),this._setConstraintText(),this._setLoginPattern()},parse:function(e){return"object"===(e=o.default.clone(e)).type&&"image"===e.extendedType&&(e.type="image"),e.__displayType__=l.default.getDisplayType(e.type,e.format,e.items?e.items.format?e.items.format:e.items.type:void 0),this._setRangeConstraints(e),e.__supportsMinMax__=-1!==l.default.SUPPORTSMINMAX.indexOf(e.__displayType__),e.__displayScope__=l.default.DISPLAYSCOPE[e.scope]||l.default.DISPLAYSCOPE.NA,e.settings&&e.settings.permissions&&e.settings.permissions.SELF&&(e.__userPermission__=e.settings.permissions.SELF),this._setMasterOverride(e),this._setSubSchemas(e),this._setUniqueness(e),e},validate:function(){var e=this._validateEnumOneOf();if(e)return e;if(this.get("__supportsMinMax__")&&this.get("__constraint__")){var t=this.get("__constraint__"),n=this[E[t]];return o.default.isFunction(n)?n.call(this):void s.default.warn("No constraint handler found for: "+t)}},_checkBetweenConstraints:function(){var e=this.get("__minVal__"),t=this.get("__maxVal__");if(e||t){if(!e)return{__minVal__:"Min value is required"};if(!t)return{__maxVal__:"Max value is required"};var n=this._checkIntegerConstraints("__minVal__","Min value");return n||((n=this._checkIntegerConstraints("__maxVal__","Max value"))||(+e>=+t?{__maxVal__:"Max val must be greater than min val"}:void 0))}},_checkGreaterThanConstraint:function(){if(this.get("__minVal__")){var e=this._checkIntegerConstraints("__minVal__","Min value");return e||void 0}},_checkLessThanConstraint:function(){if(this.get("__maxVal__")){var e=this._checkIntegerConstraints("__maxVal__","Max value");return e||void 0}},_checkEqualsConstraint:function(){if(this.get("__equals__")){var e=this._checkIntegerConstraints("__equals__","Constraint");return e||void 0}},_checkIntegerConstraints:function(e,t){var n=this.get(e),r={};return isNaN(n)?(r[e]=t+" must be a number",r):+n<0?(r[e]=t+" must be greater than 0",r):void 0},_setMasterOverride:function(e){if(e.settings&&e.settings.masterOverride&&e.settings.masterOverride){var t=e.settings.masterOverride.value;o.default.isArray(t)&&!o.default.isEmpty(t)?(e.__masterOverrideType__="OVERRIDE",e.__masterOverrideValue__=t||[]):e.__masterOverrideType__=e.settings.masterOverride.type}else e.__masterOverrideType__="INHERIT"},_setRangeConstraints:function(e){e.__displayType__===p?(e.__minVal__=e.minLength,e.__maxVal__=e.maxLength):e.__displayType__!==m&&e.__displayType__!==h||(e.__minVal__=e.minimum,e.__maxVal__=e.maximum),e.__minVal__&&e.__maxVal__?e.__minVal__===e.__maxVal__?(e.__constraint__="equals",e.__equals__=e.__minVal__):e.__constraint__="between":!e.__minVal__&&e.__maxVal__?e.__constraint__="lessThan":!e.__maxVal__&&e.__minVal__&&(e.__constraint__="greaterThan")},_setSubSchemas:function(e){e.allOf?e.subSchemas=new b(e.allOf,{parse:!0}):e.oneOf?e.subSchemas=new _(e.oneOf,{parse:!0}):e.noneOf&&(e.subSchemas=new w(e.noneOf,{parse:!0}))},_setUniqueness:function(e){var t=e&&e.unique;e.__unique__=!(!t||t!==l.default.UNIQUENESS.UNIQUE_VALIDATED&&t!==l.default.UNIQUENESS.PENDING_UNIQUENESS)},_setLoginPattern:function(){if(this.get("__isLoginOfBaseSchema__")){var e=this.get("pattern");".+"===e?this.set("__loginFormatRestriction__",l.default.LOGINPATTERNFORMAT.NONE):e?(this.set("__loginFormatRestriction__",l.default.LOGINPATTERNFORMAT.CUSTOM),this.set("__loginFormatRestrictionCustom__",this._extractLoginPattern(e))):this.set("__loginFormatRestriction__",l.default.LOGINPATTERNFORMAT.EMAIL)}},_updateDisplayType:function(){var e=this.get("type");if(e===p&&this.get("format"))this.set("__displayType__",l.default.FORMATDISPLAYTYPE[this.get("format")]);else{var t=this.get("items"),n=t&&(t.format?t.format:t.type);e&&n?this.set("__displayType__",l.default.ARRAYDISPLAYTYPE[function(e,t){return e+"of"+t}(e,n)]):this.set("__displayType__",e)}},_validateEnumOneOf:function(){if(this.get("__isEnumDefinedAndSupported__")){var e=this.get("__oneOf__")||[];if(o.default.isEmpty(e))return{__oneOf__:d("model.validation.field.blank","courage")};if(!this._isValidateOneOfConstraint(e)){var t=this.get("__enumConstraintType__");return{__oneOf__:O[t]}}}},_isValidateOneOfConstraint:function(e){var t=this.get("__enumConstraintType__");return o.default.all(e,(function(e){return c.default.isConstraintValueMatchType(e.const,t)}))},toJSON:function(){var e=a.default.prototype.toJSON.apply(this,arguments);return e.settings={permissions:{}},e.settings.permissions.SELF=this.get("__userPermission__"),this.get("__isSensitive__")&&(e.settings.sensitive=this.get("__isSensitive__")),"image"===this.get("type")&&(e.type="object",e.extendedType="image"),e=this._enumAssignment(e),e=this._attributeOverrideToJson(e),e=this._normalizeUnionValue(e),e=this._patternAssignment(e),e=this._uniquenessAssignment(e)},_attributeOverrideToJson:function(e){var t=this.get("__masterOverrideType__"),n=this.get("__masterOverrideValue__");return"OKTA_MASTERED"===t?e.settings.masterOverride={type:"OKTA_MASTERED"}:"OVERRIDE"===t&&(e.settings.masterOverride={type:"ORDERED_LIST",value:[]},n instanceof i.default?o.default.each(n.toJSON(),(function(t){e.settings.masterOverride.value.push(t.id)})):n instanceof Array&&(e.settings.masterOverride.value=n),o.default.isEmpty(e.settings.masterOverride.value)&&delete e.settings.masterOverride),"INHERIT"===t&&delete e.settings.masterOverride,e},_normalizeUnionValue:function(e){return this.get("__isNoneScopeArrayType__")||(e.union=void 0),e},_enumAssignment:function(e){if(!this.get("__isEnumDefinedAndSupported__"))return e;var t=this._getEnumOneOfWithTitleCheck();return"array"===this.get("type")?(delete e.items.enum,e.items.oneOf=t):(delete e.enum,e.oneOf=t),e},_patternAssignment:function(e){if(!this.get("__isLoginOfBaseSchema__")||!this.get("__loginFormatRestriction__"))return e;switch(this.get("__loginFormatRestriction__")){case l.default.LOGINPATTERNFORMAT.EMAIL:delete e.pattern;break;case l.default.LOGINPATTERNFORMAT.CUSTOM:e.pattern=this._buildLoginPattern(this.get("__loginFormatRestrictionCustom__"));break;case l.default.LOGINPATTERNFORMAT.NONE:e.pattern=".+"}return e},_uniquenessAssignment:function(e){return this.get("__unique__")?this.get("__isUniqueness__")||(e.unique=l.default.UNIQUENESS.UNIQUE_VALIDATED):delete e.unique,e},_escapedRegexChar:function(e,t){var n=e.charAt(t);return k.test(n)?"\\"+n:n},_buildLoginPattern:function(e){for(var t="",n=0;n<e.length;n++)t+=this._escapedRegexChar(e,n);return"["+t+"]+"},_extractLoginPattern:function(e){var t=e.match(/^\[(.*)\]\+/);return t?t[1].replace(/\\(.)/g,"$1"):e},_getEnumOneOfWithTitleCheck:function(){var e=this.get("__oneOf__");return o.default.map(e,(function(e){return""!==r.default.trim(e.title)||(e.title=o.default.isString(e.const)?e.const:JSON.stringify(e.const)),e}))},_updateTypeFormatConstraints:function(){var e=this.get("__displayType__");this.unset("format",{silent:!0}),this.unset("items",{silent:!0}),this.set(l.default.DISPLAYTYPES[e]),e!==h&&e!==m&&(this.unset("minimum"),this.unset("maximum")),e!==p&&(this.unset("minLength"),this.unset("maxLength")),this.unset("__minVal__"),this.unset("__maxVal__"),this.unset("__equals__"),this.set("__supportsMinMax__",-1!==l.default.SUPPORTSMINMAX.indexOf(this.get("__displayType__")))},_updateMinMax:function(){var e,t,n=this.get("__displayType__");n===p?(e="minLength",t="maxLength"):n!==m&&n!==h||(e="minimum",t="maximum"),this.get("__minVal__")?this.set(e,parseInt(this.get("__minVal__"),10)):this.unset(e),this.get("__maxVal__")?this.set(t,parseInt(this.get("__maxVal__"),10)):this.unset(t)},_convertEqualsToMinMax:function(){var e=this.get("__equals__");e&&(this.set("__minVal__",e),this.set("__maxVal__",e))},_setConstraintText:function(){var e=this.get("__constraint__"),t=this.get("__minVal__"),n=this.get("__maxVal__"),r=this.get("__equals__");switch(e){case"between":this.set("__constraintText__","Between "+t+" and "+n);break;case"greaterThan":this.set("__constraintText__","Greater than "+t);break;case"lessThan":this.set("__constraintText__","Less than "+n);break;case"equals":this.set("__constraintText__","Equals "+r);break;default:this.set("__constraintText__","")}},cleanup:function(){"lessThan"===this.get("__constraint__")?this.unset("__minVal__"):"greaterThan"===this.get("__constraint__")&&this.unset("__maxVal__"),this.get("scope")!==l.default.SCOPE.SYSTEM&&(!0===this.get("__isScopeSelf__")?this.set({scope:l.default.SCOPE.SELF},{silent:!0}):this.unset("scope")),this.get("__unique__")||this.unset("unique")},isEnumType:function(){return!!this.getEnumValues()},getEnumValues:function(){return this.get("oneOf")||this.get("enum")||this.get("items")&&this.get("items").oneOf||this.get("items")&&this.get("items").enum},detectHasEnumDefined:function(){var e=this.getEnumValues();e&&(this.set("__oneOf__",c.default.convertToOneOf(e)),this.set("__enumDefined__",!0))}}),x={Model:S,Collection:i.default.extend({model:S,clone:function(){return new this.constructor(this.toJSON({verbose:!0}),{parse:!0})},areAllReadOnly:function(){return o.default.all(this.pluck("__isReadOnly__"))},createModelProperties:function(){return this.reduce((function(e,t){var n=t.get("type");return e[t.id]=o.default.clone(l.default.DISPLAYTYPES[n]),-1!==l.default.SUPPORTSMINMAX.indexOf(n)&&(e[t.id].minLength=t.get("minLength"),e[t.id].maxLength=t.get("maxLength")),"string"===n&&(e[t.id].format=t.get("format")),e}),{})}})};t.default=x,e.exports=t.default},7277:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(5586)),o=u(n(4818)),i=u(n(2368)),a=u(n(5725)),s=u(n(1889)),l=u(n(7317));function u(e){return e&&e.__esModule?e:{default:e}}function c(e){var t={};return o.default.each(e,(function(e,n){o.default.isNull(e)||(t[n]=e)})),t}var f={preinitialize:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.state=o.default.result(this,"state");var t=this.state instanceof s.default||e.state instanceof s.default;if(!t){var n=o.default.defaults(c(e.state),this.state||{});this.state=new s.default(n),delete e.state}e.settings||(e.settings=new a.default(o.default.omit(e||{},"el")),this.listen("notification",i.default.prototype._notify),this.listen("confirmation",i.default.prototype._confirm)),l.default.prototype.preinitialize.call(this,e)},constructor:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l.default.call(this,t),this.listenTo(this.state,"__invoke__",(function(){var e=o.default.toArray(arguments),t=e.shift();o.default.isFunction(this[t])&&this[t].apply(this,e)})),this.View&&this.View.isCourageView?e=this.View:o.default.result(this,"View")&&o.default.result(this,"View").isCourageView&&(e=o.default.result(this,"View")),e&&this.add(new e(this.toJSON()))},state:{},View:null,render:function(){var e=arguments,t=this;return(0,r.default)((function(){l.default.prototype.render.apply(t,e)})),this},toJSON:function(e){return o.default.extend(o.default.pick(this,"state","settings","collection","model"),e||{})},remove:function(){return this.removeChildren(),this.stopListening(),this.$el.empty(),this}},d=l.default.extend(f);t.default=d,e.exports=t.default},2368:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(7582)),o=c(n(9663)),i=c(n(5586)),a=c(n(4818)),s=c(n(8311)),l=c(n(5725)),u=c(n(5270));function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t){var n=a.default.result(e,"root")||"";return n&&a.default.isString(t)?[n,t].join("/").replace(/\/{2,}/g,"/"):t}var d={root:"",listen:u.default.prototype.listen,constructor:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.el=e.el,this.settings=new l.default(a.default.omit(e,"el")),e.root&&(this.root=e.root),r.default.Router.apply(this,arguments),this.listen("notification",this._notify),this.listen("confirmation",this._confirm)},_confirm:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=o.default.extend(a.default.pick(e,"title","subtitle","save","ok","cancel","cancelFn","noCancelButton","noSubmitButton","content","danger","type","closeOnOverlayClick","buttonOrder")),n=new t({model:this.settings});return n.render(),n},_notify:function(e){var t=new u.default(e);return(0,i.default)("#content").prepend(t.render().el),t},render:function(e,t){this.unload(),t=a.default.extend(a.default.pick(this,"settings","el"),t||{}),this.controller=new e(t),this.controller.render()},start:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];(0,i.default)((function(){var e;r.default.History.started?s.default.error("History has already been started"):(e=r.default.history).start.apply(e,t)}))},unload:function(){this.controller&&(this.stopListening(this.controller),this.stopListening(this.controller.state),this.controller.remove())},route:function(e,t,n){return r.default.Router.prototype.route.call(this,f(this,e),t,n)},navigate:function(e,t){return r.default.Router.prototype.navigate.call(this,f(this,e),t)}},p=r.default.Router.extend(d);t.default=p,e.exports=t.default},1937:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(4818)),o=i(n(6564));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=r.default.extend(e.click?{click:e.click}:{},e.events||{}),n={};return r.default.each(t,(function(t,r){n[r]=function(n){e.href||(n.preventDefault(),n.stopPropagation()),this.disabled&&"click"===r||t.apply(this,arguments)}})),n}var s={create:function(e){return(e=r.default.clone(e)).attrs=e.attributes,delete e.attributes,o.default.extend(r.default.extend(e,{events:a(e)}))}};t.default=s,e.exports=t.default},2857:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=i(n(7582)),o=i(n(4818));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){this.options=o.default.clone(e||{}),this.cid=o.default.uniqueId("class"),this.initialize.apply(this,arguments)}o.default.extend(a.prototype,r.default.Events,{initialize:function(){}}),a.extend=r.default.Model.extend,e.exports=t.default},1881:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(928)),o=l(n(5586)),i=l(n(4818)),a=l(n(5771)),s=l(n(2857));function l(e){return e&&e.__esModule?e:{default:e}}var u=r.default,c=["success","error","target","text"],f=s.default.extend({initialize:function(e,t){var n,r,s;t=i.default.pick(t||{},c),i.default.isString(e)&&(n=e),i.default.isElement(e)&&(n=e),e instanceof o.default&&(n=e.selector),e instanceof a.default&&(n=e.el),i.default.isFunction(t.target)&&(r=t.target),i.default.isElement(t.target)&&(r=i.default.constant(t.target)),i.default.isString(t.text)?s=i.default.constant(t.text):i.default.isFunction(t.text)&&(s=t.text),this.__instance=new u(n,{target:r,text:s}),this.done=i.default.partial(this.__setCallback,"success"),this.error=i.default.partial(this.__setCallback,"error"),this.done(t.success),this.error(t.error)},__setCallback:function(e,t){if(i.default.isFunction(t))return this.__instance.on(e,t),this.__instance}}),d={attach:function(e,t){return new f(e,t)}};t.default=d,e.exports=t.default},4106:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(4818)),o=i(n(9673));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^https/.test(window.location.href),s={setCookie:function(e,t,n){o.default.set(e,t,r.default.defaults(n||{},{secure:a,path:"/"}))},getCookie:function(){return o.default.get.apply(o.default,arguments)},removeCookie:function(){return o.default.remove.apply(o.default,arguments)}};t.default=s,e.exports=t.default},2514:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={UP:38,DOWN:40,DEL:46,TAB:9,RETURN:13,ENTER:13,ESC:27,COMMA:188,PAGEUP:33,PAGEDOWN:34,SPACE:32,BACKSPACE:8,__isKey:function(e,t){return(e.which||e.keyCode)===this[t]},isEnter:function(e){return this.__isKey(e,"ENTER")},isEsc:function(e){return this.__isKey(e,"ESC")},isSpaceBar:function(e){return this.__isKey(e,"SPACE")}},e.exports=t.default},8311:function(e,t){"use strict";function n(e){if(window.console&&window.okta&&window.okta.debug){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];(t=window.console)[e].apply(t,r)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={trace:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.apply(void 0,["trace"].concat(t))},dir:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.apply(void 0,["dir"].concat(t))},time:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.apply(void 0,["time"].concat(t))},timeEnd:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.apply(void 0,["timeEnd"].concat(t))},group:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.apply(void 0,["group"].concat(t))},groupEnd:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.apply(void 0,["groupEnd"].concat(t))},assert:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.apply(void 0,["assert"].concat(t))},log:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.apply(void 0,["log"].concat(t))},info:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.apply(void 0,["info"].concat(t))},warn:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.apply(void 0,["warn"].concat(t))},error:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.apply(void 0,["error"].concat(t))}};t.default=r,e.exports=t.default},6883:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(4818));function o(e){return e&&e.__esModule?e:{default:e}}var i=o(n(1633)).default.localize,a={STRING:"string",NUMBER:"number",INTEGER:"integer",BOOLEAN:"boolean",OBJECT:"object",FORMATDISPLAYTYPE:{"date-time":"date",uri:"uri",email:"email","country-code":"country-code","language-code":"language-code",country_code:"country_code",language_code:"language_code",locale:"locale",timezone:"timezone","ref-id":"reference"},ARRAYDISPLAYTYPE:{arrayofobject:"arrayofobject",arrayofstring:"arrayofstring",arrayofnumber:"arrayofnumber",arrayofinteger:"arrayofinteger","arrayofref-id":"arrayofref-id"},DISPLAYTYPES:{date:{type:"string",format:"date-time"},uri:{type:"string",format:"uri"},email:{type:"string",format:"email"},"country-code":{type:"string",format:"country-code"},"language-code":{type:"string",format:"language-code"},country_code:{type:"string"},language_code:{type:"string"},locale:{type:"string",format:"locale"},timezone:{type:"string",format:"timezone"},string:{type:"string"},number:{type:"number"},boolean:{type:"boolean"},integer:{type:"integer"},reference:{type:"string",format:"ref-id"},arrayofobject:{type:"array",items:{type:"object"}},arrayofstring:{type:"array",items:{type:"string"}},arrayofnumber:{type:"array",items:{type:"number"}},arrayofinteger:{type:"array",items:{type:"integer"}},"arrayofref-id":{type:"array",items:{type:"string",format:"ref-id"}},image:{type:"image"},password:{type:"string"}},SUPPORTSMINMAX:["string","number","integer","password"],SUPPORTENUM:["string","number","integer","object","arrayofstring","arrayofnumber","arrayofinteger","arrayofobject"],DATATYPE:{string:"string",number:"number",boolean:"boolean",integer:"integer",date:"datetime",object:"object",arrayofobject:"object array",arrayofstring:"string array",arrayofnumber:"number array",arrayofinteger:"integer array","arrayofref-id":"reference array","country-code":"country code","language-code":"language code",country_code:"country code",language_code:"language code",reference:"reference",timezone:"timezone",image:"image"},MUTABILITY:{READONLY:"READ_ONLY",WRITEONLY:"WRITE_ONLY",READWRITE:"READ_WRITE",IMMUTABLE:"IMMUTABLE"},SCOPE:{NONE:"NONE",SELF:"SELF",SYSTEM:"SYSTEM"},DISPLAYSCOPE:{SELF:"User personal",SYSTEM:"System",NA:"None"},UNION:{DISABLE:"DISABLE",ENABLE:"ENABLE"},UNION_OPTIONS:{DISABLE:i("universal-directory.profiles.attribute.form.union.enable.display","courage"),ENABLE:i("universal-directory.profiles.attribute.form.union.disable.display","courage")},PERMISSION:{HIDE:"HIDE",READ_ONLY:"READ_ONLY",WRITE_ONLY:"WRITE_ONLY",READ_WRITE:"READ_WRITE"},ENDUSER_ATTRIBUTE_PERMISSION_OPTIONS:{HIDE:i("universal-directory.profiles.attribute.enduser.permission.hide","courage"),READ_ONLY:i("universal-directory.profiles.attribute.enduser.permission.readonly","courage"),READ_WRITE:i("universal-directory.profiles.attribute.enduser.permission.readwrite","courage")},ATTRIBUTE_LEVEL_MASTERING_OPTIONS:{INHERIT:i("universal-directory.profiles.attribute.source.inherit","courage"),OKTA_MASTERED:i("universal-directory.profiles.attribute.source.oktamastered","courage"),OVERRIDE:i("universal-directory.profiles.attribute.source.override","courage")},USERNAMETYPE:{NONE:"non-username",OKTA_TO_APP:"okta-to-app-username",OKTA_TO_AD:"okta-to-ad-username",APP_TO_OKTA:"app-to-okta-username",IDP_TO_OKTA:"idp-to-okta-username"},LOGINPATTERNFORMAT:{EMAIL:"EMAIL",CUSTOM:"CUSTOM",NONE:"NONE"},UNIQUENESS:{NOT_UNIQUE:"NOT_UNIQUE",PENDING_UNIQUENESS:"PENDING_UNIQUENESS",UNIQUE_VALIDATED:"UNIQUE_VALIDATED"},getDisplayType:function(e,t,n,r){var o;return e&&(o=t?this.FORMATDISPLAYTYPE[t]:n?this.ARRAYDISPLAYTYPE[e+"of"+n]:e),o||(o=void 0===r?"":r),o},getSourceUsernameType:function(e,t,n){var r=this.USERNAMETYPE.NONE;return"oktaToApp"===e?"userName"===t?r=this.USERNAMETYPE.OKTA_TO_APP:"cn"===t&&(r=this.USERNAMETYPE.OKTA_TO_AD):"appToOkta"===e&&"login"===t&&(r="saml_idp"===n?this.USERNAMETYPE.IDP_TO_OKTA:this.USERNAMETYPE.APP_TO_OKTA),r},isArrayDataType:function(e){return r.default.contains(r.default.values(this.ARRAYDISPLAYTYPE),e)},isObjectDataType:function(e){return this.DATATYPE.object===e}};t.default=a,e.exports=t.default},5725:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(4818)),o=i(n(9458));function i(e){return e&&e.__esModule?e:{default:e}}var a={local:function(){var e=window.okta&&window.okta.settings||{},t=window.okta&&window.okta.theme||"";return{orgId:["string",!1,e.orgId],orgName:["string",!1,e.orgName],serverStatus:["string",!1,e.serverStatus],persona:["string",!1,e.persona],isDeveloperConsole:["boolean",!1,e.isDeveloperConsole],isPreview:["boolean",!1,e.isPreview],permissions:["array",!0,e.permissions||[]],theme:["string",!1,t]}},constructor:function(){o.default.apply(this,arguments),this.features=window._features||[]},hasFeature:function(e){return r.default.contains(this.features,e)},hasAnyFeature:function(e){return r.default.some(e,this.hasFeature,this)},hasPermission:function(e){return r.default.contains(this.get("permissions"),e)},isDsTheme:function(){return"dstheme"===this.get("theme")}},s=o.default.extend(a);t.default=s,e.exports=t.default},1889:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(4818));function o(e){return e&&e.__esModule?e:{default:e}}var i=o(n(9458)).default.extend({invoke:function(){var e=r.default.toArray(arguments);e.unshift("__invoke__"),this.trigger.apply(this,e)}});t.default=i,e.exports=t.default},1633:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(5586)),o=a(n(4818)),i=a(n(938));function a(e){return e&&e.__esModule?e:{default:e}}var s={"&":"&","<":"<",">":">",""":'"',"'":"'","'":"'","/":"/"},l=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@(?!-)((\[?[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\]?)|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;function u(e){if(!e)return i.default[o.default.keys(i.default)[0]];var t=function(e){if(/-/.test(e)){var t=e.split("-");return t[1]=t[1].toUpperCase(),t.join("_")}return e}(window&&window.okta&&window.okta.locale)||"en";return i.default["".concat(e,"_").concat(t)]||i.default[e]}function c(e,t){t=t||{bubbles:!1,cancelable:!1,detail:null};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}function f(e,t,n){if(window.CustomEvent||(window.CustomEvent=c),"function"==typeof window.CustomEvent){var r=new CustomEvent("okta-i18n-error",{detail:{type:"l10n-error",key:e,bundleName:t,reason:n}});document.dispatchEvent(r)}}var d={sprintf:function(){var e=Array.prototype.slice.apply(arguments),t=e.shift(),n=t;function r(){throw new Error("Mismatch number of variables: "+arguments[0]+", "+JSON.stringify(e))}for(var o=0,i=e.length;o<i;o++){var a=e[o],s=new RegExp("\\{"+o+"\\}","g");t=t.replace(s,a),null!=a&&t!==n||r(),n=t}return/\{[\d+]\}/.test(t)&&r(),t},parseQuery:function(e){for(var t={},n=decodeURIComponent(e.replace(/\+/g," ")).split("&"),r=0;r<n.length;r++){var o=n[r].split("=");t[o.shift()]=o.join("=")}return t},encodeJSObject:function(e){return encodeURIComponent(JSON.stringify(e))},decodeJSObject:function(e){try{return JSON.parse(decodeURIComponent(e))}catch(e){return null}},unescapeHtml:function(e){return String(e).replace(/&[\w#\d]{2,};/g,(function(e){return s[e]||e}))},getTemplate:function(e,t){var n=u(t);return n?n[e]?n[e]:(f(e,t,"key"),"L10N_ERROR["+e+"]"):(f(e,t,"bundle"),"L10N_ERROR["+t+"]")},localize:function(e,t,n){var r=u(t);if(!r)return f(e,t,"bundle"),"L10N_ERROR["+t+"]";var o=r[e];try{return(n=n&&n.slice?n.slice(0):[]).unshift(o),(o=d.sprintf.apply(null,n))||(f(e,t,"key"),"L10N_ERROR["+e+"]")}catch(n){return f(e,t,"parameters"),"L10N_ERROR["+e+"]"}},parseFloat:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){var t=+e;return"string"==typeof e&&t===parseFloat(e)?t:e})),parseInt:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){var t=+e;return o.default.isString(e)&&t===parseInt(e,10)?t:e})),parseObject:function(e){if(!o.default.isString(e))return e;try{var t=JSON.parse(e);return r.default.isPlainObject(t)?t:e}catch(t){return e}},randomString:function(e){var t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";if(void 0===e)e=o.default.random(t.length);else if(0===e)return"";for(var n=[];e--;)n.push(t[o.default.random(t.length-1)]);return n.join("")},endsWith:function(e,t){return(e+="").length>=(t+="").length&&e.substring(e.length-t.length)===t},isEmail:function(e){var t=r.default.trim(e);return!o.default.isEmpty(t)&&l.test(t)}};t.default=d,e.exports=t.default},2132:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(6276));function o(e){return e&&e.__esModule?e:{default:e}}var i={tpl:o(n(4818)).default.memoize((function(e){return function(t){return r.default.compile(e)(t)}}))};t.default=i,e.exports=t.default},9077:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={DEBOUNCE_DELAY:200,LOADING_FADE:400,UNLOADING_FADE:400,ROW_EXPANDER_TRANSITION:150,HIDE_ADD_MAPPING_FORM:300},e.exports=t.default},4691:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(4818)),o=i(n(7317));function i(e){return e&&e.__esModule?e:{default:e}}var a={redirect:function(e){window.location=e},reloadPage:function(){window.location.reload()},constantError:function(e){return function(){throw new Error(e)}},getUrlQueryString:function(e){r.default.isObject(e)||(e={});var t=r.default.without(r.default.map(e,(function(e,t){if(null!=e)return t+"="+encodeURIComponent(e)})),void 0).join("&");return r.default.isEmpty(t)?"":"?"+t},isABaseView:function(e){return e instanceof o.default||e.prototype instanceof o.default||e===o.default},isSafari:function(){return/^((?!chrome|android|crios).)*safari/i.test(navigator.userAgent)}};t.default=a,e.exports=t.default},6197:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(4818))&&r.__esModule?r:{default:r};function i(e,t){var n=this.model.get(t);return o.default.isFunction(e)?e.call(this,n):e===n}function a(e,t,n){var r=o.default.bind(n,e,e,t);e.render=o.default.wrap(e.render,(function(t){var n=t.call(e);return r({animate:!1}),n})),e.listenTo(e.model,function(e){return"change:"+o.default.keys(e).join(" change:")}(t),(function(){r({animate:!0})}))}var s={applyDoWhen:function(e,t,n){e.model&&o.default.isObject(t)&&o.default.size(t)&&o.default.isFunction(n)&&a(e,t,(function(e,t,r){var a=o.default.every(o.default.map(t,i,e));n.call(e,a,r)}))}};t.default=s,e.exports=t.default},3378:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var r,o=(r=n(6276))&&r.__esModule?r:{default:r};var i=o.default.Utils.escapeExpression;o.default.Utils.escapeExpression=function(e){return i(e).replace(/=/g,"=")},e.exports=t.default},7827:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var r,o=(r=n(6276))&&r.__esModule?r:{default:r};o.default.registerHelper("base64ToHex",(function(e){var t=atob(e),n="";if(t.length>0){var r=t.charCodeAt(0).toString(16);n+=2===r.length?r:"0".concat(r);for(var o=1;o<t.length;o+=1){var i=t.charCodeAt(o).toString(16);i=2===i.length?i:"0".concat(i),n+=" ".concat(i)}}return n.toUpperCase()})),e.exports=t.default},5631:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.default}});var r=s(n(6276)),o=s(n(4818)),i=s(n(8311)),a=s(n(1633));function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=r.default.Utils.escapeExpression;function f(e){return e&&e.replace(/^\s+|\s+$/g,"")}r.default.registerHelper("i18n",(function(e){var t,n=f(e.hash.code),s=f(e.hash.bundle),u=f(e.hash.arguments),d=Object.keys(e.hash).filter((function(e){return e.match(/^\$\d+/)})).map((function(t){return{tag:t,value:e.hash[t]}}));u&&(t=o.default.map(f(u).split(";"),(function(e){var t,n=this;return e=f(e),o.default.each(e.split("."),(function(e){t=t?t[e]:n[e]})),t}),this));var p=a.default.localize(n,s,t);if(d.length<1)return p;var h=c(p);try{return d.forEach((function(e){h=function(e,t,n){var r=c("<".concat(t,">")),o=c("</".concat(t,">")),i=l(n.split(t),2),a=i[0],s=i[1];if(!e.includes(r)&&!e.includes(o))throw Error('Parsed tag "'.concat(t,'" is not present in "').concat(e,'"'));if(!n.includes(t))throw Error('Parsed tag "'.concat(t,'" is not present in "').concat(n,'"'));if(!a||!s)throw Error('Template value "'.concat(n,'" must contain beginning and closing tags'));return e.replace(r,a).replace(o,s)}(h,e.tag,e.value)})),new r.default.SafeString(h)}catch(e){return i.default.error(e.toString()),p}})),e.exports=t.default},4329:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.default}});var r=i(n(6276)),o=i(n(4818));function i(e){return e&&e.__esModule?e:{default:e}}var a="/assets";r.default.registerHelper("img",(function(e){var t,n="undefined"!=typeof okta&&okta.cdnUrlHostname||"",i=o.default.pick(e.hash,["src","alt","width","height","class","title"]);i.src="".concat(n).concat(0===(t=i.src).indexOf(a)?t:a+t);var s=o.default.map(i,(function(e,t){var n="src"===t?encodeURI(e):r.default.Utils.escapeExpression(e);return"".concat(t,'="').concat(n,'"')}));return new r.default.SafeString("<img ".concat(s.join(" "),"/>"))})),e.exports=t.default},7169:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.default}});var r=i(n(6276)),o=i(n(4527));function i(e){return e&&e.__esModule?e:{default:e}}r.default.registerHelper("markdown",(function(e){return(0,o.default)(r.default,e)})),e.exports=t.default},2259:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.default}});var r=i(n(6276)),o=i(n(5586));function i(e){return e&&e.__esModule?e:{default:e}}r.default.registerHelper("xsrfTokenInput",(function(){return new r.default.SafeString('<input type="hidden" class="hide" name="_xsrfToken" value="'.concat((0,o.default)("#_xsrfToken").text(),'">'))})),e.exports=t.default},5586:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(1271))&&r.__esModule?r:{default:r};o.default.ajaxSetup({beforeSend:function(e){e.setRequestHeader("X-Okta-XsrfToken",(0,o.default)("#_xsrfToken").text())},converters:{"text secureJSON":function(e){return"while(1){};"===e.substring(0,11)&&(e=e.substring(11)),JSON.parse(e)}}});var i=o.default;t.default=i,window.jQueryCourage=i,e.exports=t.default},4527:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r=e.compile('<a href="{{href}}">{{text}}</a>');n=o.default.isString(t)?e.Utils.escapeExpression(t).replace(l,"").replace(i,(function(e){return r({href:e.match(a)[1],text:e.match(s)[1]})})):"";return new e.SafeString(n)};var r,o=(r=n(4818))&&r.__esModule?r:{default:r};var i=/\[[^\]]*\]\([^)]*\)/gi,a=/\]\(([^)]*)\)/i,s=/\[([^\]]*)\]/i,l=/javascript:/gi;e.exports=t.default},4818:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(6276)),o=i(n(5541));function i(e){return e&&e.__esModule?e:{default:e}}o.default.mixin({resultCtx:function(e,t,n,r){var i=o.default.isObject(e)?e[t]:void 0;return o.default.isFunction(i)&&(i=i.call(n||e)),i||(o.default.isUndefined(r)?i:r)},isInteger:function(e){return o.default.isNumber(e)&&e%1==0},template:function(e,t){var n=r.default.compile(e);if(t)return n(t);var o=function(e){return n(e)};return o.source="",o}});var a=o.default;t.default=a,e.exports=t.default},7582:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(4696),i=n(7604),a=(r=n(1271))&&r.__esModule?r:{default:r};n(5541);var s=n(2057);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}!function(e,t){
// (c) 2010-2019 Jeremy Ashkenas and DocumentCloud
// Backbone may be freely distributed under the MIT license.
var n=a.default;!function(e){var r,i="object"==("undefined"==typeof self?"undefined":l(self))&&self.self===self&&self||"object"==l(o.commonjsGlobal)&&o.commonjsGlobal.global===o.commonjsGlobal&&o.commonjsGlobal,a=s.u.exports;try{r=n}catch(e){}!function(e,t,n,r){var o=e.Backbone,i=Array.prototype.slice;t.VERSION="1.4.0",t.$=r,t.noConflict=function(){return e.Backbone=o,this},t.emulateHTTP=!1,t.emulateJSON=!1;var a,s=t.Events={},u=/\s+/,c=function e(t,r,o,i,a){var s,c=0;if(o&&"object"===l(o)){void 0!==i&&"context"in a&&void 0===a.context&&(a.context=i);for(s=n.keys(o);c<s.length;c++)r=e(t,r,s[c],o[s[c]],a)}else if(o&&u.test(o))for(s=o.split(u);c<s.length;c++)r=t(r,s[c],i,a);else r=t(r,o,i,a);return r};s.on=function(e,t,n){(this._events=c(f,this._events||{},e,t,{context:n,ctx:this,listening:a}),a)&&((this._listeners||(this._listeners={}))[a.id]=a,a.interop=!1);return this},s.listenTo=function(e,t,r){if(!e)return this;var o=e._listenId||(e._listenId=n.uniqueId("l")),i=this._listeningTo||(this._listeningTo={}),s=a=i[o];s||(this._listenId||(this._listenId=n.uniqueId("l")),s=a=i[o]=new g(this,e));var l=d(e,t,r,this);if(a=void 0,l)throw l;return s.interop&&s.on(t,r),this};var f=function(e,t,n,r){if(n){var o=e[t]||(e[t]=[]),i=r.context,a=r.ctx,s=r.listening;s&&s.count++,o.push({callback:n,context:i,ctx:i||a,listening:s})}return e},d=function(e,t,n,r){try{e.on(t,n,r)}catch(e){return e}};s.off=function(e,t,n){return this._events?(this._events=c(p,this._events,e,t,{context:n,listeners:this._listeners}),this):this},s.stopListening=function(e,t,r){var o=this._listeningTo;if(!o)return this;for(var i=e?[e._listenId]:n.keys(o),a=0;a<i.length;a++){var s=o[i[a]];if(!s)break;s.obj.off(t,r,this),s.interop&&s.off(t,r)}return n.isEmpty(o)&&(this._listeningTo=void 0),this};var p=function(e,t,r,o){if(e){var i,a=o.context,s=o.listeners,l=0;if(t||a||r){for(i=t?[t]:n.keys(e);l<i.length;l++){var u=e[t=i[l]];if(!u)break;for(var c=[],f=0;f<u.length;f++){var d=u[f];if(r&&r!==d.callback&&r!==d.callback._callback||a&&a!==d.context)c.push(d);else{var p=d.listening;p&&p.off(t,r)}}c.length?e[t]=c:delete e[t]}return e}for(i=n.keys(s);l<i.length;l++)s[i[l]].cleanup()}};s.once=function(e,t,n){var r=c(h,{},e,t,this.off.bind(this));return"string"==typeof e&&null==n&&(t=void 0),this.on(r,t,n)},s.listenToOnce=function(e,t,n){var r=c(h,{},t,n,this.stopListening.bind(this,e));return this.listenTo(e,r)};var h=function(e,t,r,o){if(r){var i=e[t]=n.once((function(){o(t,i),r.apply(this,arguments)}));i._callback=r}return e};s.trigger=function(e){if(!this._events)return this;for(var t=Math.max(0,arguments.length-1),n=Array(t),r=0;r<t;r++)n[r]=arguments[r+1];return c(m,this._events,e,void 0,n),this};var m=function(e,t,n,r){if(e){var o=e[t],i=e.all;o&&i&&(i=i.slice()),o&&v(o,r),i&&v(i,[t].concat(r))}return e},v=function(e,t){var n,r=-1,o=e.length,i=t[0],a=t[1],s=t[2];switch(t.length){case 0:for(;++r<o;)(n=e[r]).callback.call(n.ctx);return;case 1:for(;++r<o;)(n=e[r]).callback.call(n.ctx,i);return;case 2:for(;++r<o;)(n=e[r]).callback.call(n.ctx,i,a);return;case 3:for(;++r<o;)(n=e[r]).callback.call(n.ctx,i,a,s);return;default:for(;++r<o;)(n=e[r]).callback.apply(n.ctx,t);return}},g=function(e,t){this.id=e._listenId,this.listener=e,this.obj=t,this.interop=!0,this.count=0,this._events=void 0};g.prototype.on=s.on,g.prototype.off=function(e,t){var n;this.interop?(this._events=c(p,this._events,e,t,{context:void 0,listeners:void 0}),n=!this._events):(this.count--,n=0===this.count),n&&this.cleanup()},g.prototype.cleanup=function(){delete this.listener._listeningTo[this.obj._listenId],this.interop||delete this.obj._listeners[this.id]},s.bind=s.on,s.unbind=s.off,n.extend(t,s);var y=t.Model=function(e,t){var r=e||{};t||(t={}),this.preinitialize.apply(this,arguments),this.cid=n.uniqueId(this.cidPrefix),this.attributes={},t.collection&&(this.collection=t.collection),t.parse&&(r=this.parse(r,t)||{});var o=n.result(this,"defaults");r=n.defaults(n.extend({},o,r),o),this.set(r,t),this.changed={},this.initialize.apply(this,arguments)};n.extend(y.prototype,s,{changed:null,validationError:null,idAttribute:"id",cidPrefix:"c",preinitialize:function(){},initialize:function(){},toJSON:function(e){return n.clone(this.attributes)},sync:function(){return t.sync.apply(this,arguments)},get:function(e){return this.attributes[e]},escape:function(e){return n.escape(this.get(e))},has:function(e){return null!=this.get(e)},matches:function(e){return!!n.iteratee(e,this)(this.attributes)},set:function(e,t,r){if(null==e)return this;var o;if("object"===l(e)?(o=e,r=t):(o={})[e]=t,r||(r={}),!this._validate(o,r))return!1;var i=r.unset,a=r.silent,s=[],u=this._changing;this._changing=!0,u||(this._previousAttributes=n.clone(this.attributes),this.changed={});var c=this.attributes,f=this.changed,d=this._previousAttributes;for(var p in o)t=o[p],n.isEqual(c[p],t)||s.push(p),n.isEqual(d[p],t)?delete f[p]:f[p]=t,i?delete c[p]:c[p]=t;if(this.idAttribute in o&&(this.id=this.get(this.idAttribute)),!a){s.length&&(this._pending=r);for(var h=0;h<s.length;h++)this.trigger("change:"+s[h],this,c[s[h]],r)}if(u)return this;if(!a)for(;this._pending;)r=this._pending,this._pending=!1,this.trigger("change",this,r);return this._pending=!1,this._changing=!1,this},unset:function(e,t){return this.set(e,void 0,n.extend({},t,{unset:!0}))},clear:function(e){var t={};for(var r in this.attributes)t[r]=void 0;return this.set(t,n.extend({},e,{unset:!0}))},hasChanged:function(e){return null==e?!n.isEmpty(this.changed):n.has(this.changed,e)},changedAttributes:function(e){if(!e)return!!this.hasChanged()&&n.clone(this.changed);var t,r=this._changing?this._previousAttributes:this.attributes,o={};for(var i in e){var a=e[i];n.isEqual(r[i],a)||(o[i]=a,t=!0)}return!!t&&o},previous:function(e){return null!=e&&this._previousAttributes?this._previousAttributes[e]:null},previousAttributes:function(){return n.clone(this._previousAttributes)},fetch:function(e){e=n.extend({parse:!0},e);var t=this,r=e.success;return e.success=function(n){var o=e.parse?t.parse(n,e):n;if(!t.set(o,e))return!1;r&&r.call(e.context,t,n,e),t.trigger("sync",t,n,e)},$(this,e),this.sync("read",this,e)},save:function(e,t,r){var o;null==e||"object"===l(e)?(o=e,r=t):(o={})[e]=t;var i=(r=n.extend({validate:!0,parse:!0},r)).wait;if(o&&!i){if(!this.set(o,r))return!1}else if(!this._validate(o,r))return!1;var a=this,s=r.success,u=this.attributes;r.success=function(e){a.attributes=u;var t=r.parse?a.parse(e,r):e;if(i&&(t=n.extend({},o,t)),t&&!a.set(t,r))return!1;s&&s.call(r.context,a,e,r),a.trigger("sync",a,e,r)},$(this,r),o&&i&&(this.attributes=n.extend({},u,o));var c=this.isNew()?"create":r.patch?"patch":"update";"patch"!==c||r.attrs||(r.attrs=o);var f=this.sync(c,this,r);return this.attributes=u,f},destroy:function(e){e=e?n.clone(e):{};var t=this,r=e.success,o=e.wait,i=function(){t.stopListening(),t.trigger("destroy",t,t.collection,e)};e.success=function(n){o&&i(),r&&r.call(e.context,t,n,e),t.isNew()||t.trigger("sync",t,n,e)};var a=!1;return this.isNew()?n.defer(e.success):($(this,e),a=this.sync("delete",this,e)),o||i(),a},url:function(){var e=n.result(this,"urlRoot")||n.result(this.collection,"url")||z();if(this.isNew())return e;var t=this.get(this.idAttribute);return e.replace(/[^\/]$/,"$&/")+encodeURIComponent(t)},parse:function(e,t){return e},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(e){return this._validate({},n.extend({},e,{validate:!0}))},_validate:function(e,t){if(!t.validate||!this.validate)return!0;e=n.extend({},this.attributes,e);var r=this.validationError=this.validate(e,t)||null;return!r||(this.trigger("invalid",this,r,n.extend(t,{validationError:r})),!1)}});var b=t.Collection=function(e,t){t||(t={}),this.preinitialize.apply(this,arguments),t.model&&(this.model=t.model),void 0!==t.comparator&&(this.comparator=t.comparator),this._reset(),this.initialize.apply(this,arguments),e&&this.reset(e,n.extend({silent:!0},t))},_={add:!0,remove:!0,merge:!0},w={add:!0,remove:!1},O=function(e,t,n){n=Math.min(Math.max(n,0),e.length);var r,o=Array(e.length-n),i=t.length;for(r=0;r<o.length;r++)o[r]=e[r+n];for(r=0;r<i;r++)e[r+n]=t[r];for(r=0;r<o.length;r++)e[r+i+n]=o[r]};n.extend(b.prototype,s,{model:y,preinitialize:function(){},initialize:function(){},toJSON:function(e){return this.map((function(t){return t.toJSON(e)}))},sync:function(){return t.sync.apply(this,arguments)},add:function(e,t){return this.set(e,n.extend({merge:!1},t,w))},remove:function(e,t){t=n.extend({},t);var r=!n.isArray(e);e=r?[e]:e.slice();var o=this._removeModels(e,t);return!t.silent&&o.length&&(t.changes={added:[],merged:[],removed:o},this.trigger("update",this,t)),r?o[0]:o},set:function(e,t){if(null!=e){(t=n.extend({},_,t)).parse&&!this._isModel(e)&&(e=this.parse(e,t)||[]);var r=!n.isArray(e);e=r?[e]:e.slice();var o=t.at;null!=o&&(o=+o),o>this.length&&(o=this.length),o<0&&(o+=this.length+1);var i,a,s=[],l=[],u=[],c=[],f={},d=t.add,p=t.merge,h=t.remove,m=!1,v=this.comparator&&null==o&&!1!==t.sort,g=n.isString(this.comparator)?this.comparator:null;for(a=0;a<e.length;a++){i=e[a];var y=this.get(i);if(y){if(p&&i!==y){var b=this._isModel(i)?i.attributes:i;t.parse&&(b=y.parse(b,t)),y.set(b,t),u.push(y),v&&!m&&(m=y.hasChanged(g))}f[y.cid]||(f[y.cid]=!0,s.push(y)),e[a]=y}else d&&(i=e[a]=this._prepareModel(i,t))&&(l.push(i),this._addReference(i,t),f[i.cid]=!0,s.push(i))}if(h){for(a=0;a<this.length;a++)f[(i=this.models[a]).cid]||c.push(i);c.length&&this._removeModels(c,t)}var w=!1,k=!v&&d&&h;if(s.length&&k?(w=this.length!==s.length||n.some(this.models,(function(e,t){return e!==s[t]})),this.models.length=0,O(this.models,s,0),this.length=this.models.length):l.length&&(v&&(m=!0),O(this.models,l,null==o?this.length:o),this.length=this.models.length),m&&this.sort({silent:!0}),!t.silent){for(a=0;a<l.length;a++)null!=o&&(t.index=o+a),(i=l[a]).trigger("add",i,this,t);(m||w)&&this.trigger("sort",this,t),(l.length||c.length||u.length)&&(t.changes={added:l,removed:c,merged:u},this.trigger("update",this,t))}return r?e[0]:e}},reset:function(e,t){t=t?n.clone(t):{};for(var r=0;r<this.models.length;r++)this._removeReference(this.models[r],t);return t.previousModels=this.models,this._reset(),e=this.add(e,n.extend({silent:!0},t)),t.silent||this.trigger("reset",this,t),e},push:function(e,t){return this.add(e,n.extend({at:this.length},t))},pop:function(e){var t=this.at(this.length-1);return this.remove(t,e)},unshift:function(e,t){return this.add(e,n.extend({at:0},t))},shift:function(e){var t=this.at(0);return this.remove(t,e)},slice:function(){return i.apply(this.models,arguments)},get:function(e){if(null!=e)return this._byId[e]||this._byId[this.modelId(this._isModel(e)?e.attributes:e)]||e.cid&&this._byId[e.cid]},has:function(e){return null!=this.get(e)},at:function(e){return e<0&&(e+=this.length),this.models[e]},where:function(e,t){return this[t?"find":"filter"](e)},findWhere:function(e){return this.where(e,!0)},sort:function(e){var t=this.comparator;if(!t)throw new Error("Cannot sort a set without a comparator");e||(e={});var r=t.length;return n.isFunction(t)&&(t=t.bind(this)),1===r||n.isString(t)?this.models=this.sortBy(t):this.models.sort(t),e.silent||this.trigger("sort",this,e),this},pluck:function(e){return this.map(e+"")},fetch:function(e){var t=(e=n.extend({parse:!0},e)).success,r=this;return e.success=function(n){var o=e.reset?"reset":"set";r[o](n,e),t&&t.call(e.context,r,n,e),r.trigger("sync",r,n,e)},$(this,e),this.sync("read",this,e)},create:function(e,t){var r=(t=t?n.clone(t):{}).wait;if(!(e=this._prepareModel(e,t)))return!1;r||this.add(e,t);var o=this,i=t.success;return t.success=function(e,t,n){r&&o.add(e,n),i&&i.call(n.context,e,t,n)},e.save(null,t),e},parse:function(e,t){return e},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(e){return e[this.model.prototype.idAttribute||"id"]},values:function(){return new E(this,S)},keys:function(){return new E(this,x)},entries:function(){return new E(this,T)},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(e,t){if(this._isModel(e))return e.collection||(e.collection=this),e;(t=t?n.clone(t):{}).collection=this;var r=new this.model(e,t);return r.validationError?(this.trigger("invalid",this,r.validationError,t),!1):r},_removeModels:function(e,t){for(var n=[],r=0;r<e.length;r++){var o=this.get(e[r]);if(o){var i=this.indexOf(o);this.models.splice(i,1),this.length--,delete this._byId[o.cid];var a=this.modelId(o.attributes);null!=a&&delete this._byId[a],t.silent||(t.index=i,o.trigger("remove",o,this,t)),n.push(o),this._removeReference(o,t)}}return n},_isModel:function(e){return e instanceof y},_addReference:function(e,t){this._byId[e.cid]=e;var n=this.modelId(e.attributes);null!=n&&(this._byId[n]=e),e.on("all",this._onModelEvent,this)},_removeReference:function(e,t){delete this._byId[e.cid];var n=this.modelId(e.attributes);null!=n&&delete this._byId[n],this===e.collection&&delete e.collection,e.off("all",this._onModelEvent,this)},_onModelEvent:function(e,t,n,r){if(t){if(("add"===e||"remove"===e)&&n!==this)return;if("destroy"===e&&this.remove(t,r),"change"===e){var o=this.modelId(t.previousAttributes()),i=this.modelId(t.attributes);o!==i&&(null!=o&&delete this._byId[o],null!=i&&(this._byId[i]=t))}}this.trigger.apply(this,arguments)}});var k="function"==typeof Symbol&&Symbol.iterator;k&&(b.prototype[k]=b.prototype.values);var E=function(e,t){this._collection=e,this._kind=t,this._index=0},S=1,x=2,T=3;k&&(E.prototype[k]=function(){return this});E.prototype.next=function(){if(this._collection){if(this._index<this._collection.length){var e,t=this._collection.at(this._index);if(this._index++,this._kind===S)e=t;else{var n=this._collection.modelId(t.attributes);e=this._kind===x?n:[n,t]}return{value:e,done:!1}}this._collection=void 0}return{value:void 0,done:!0}};var A=t.View=function(e){this.cid=n.uniqueId("view"),this.preinitialize.apply(this,arguments),n.extend(this,n.pick(e,P)),this._ensureElement(),this.initialize.apply(this,arguments)},C=/^(\S+)\s*(.*)$/,P=["model","collection","el","id","attributes","className","tagName","events"];n.extend(A.prototype,s,{tagName:"div",$:function(e){return this.$el.find(e)},preinitialize:function(){},initialize:function(){},render:function(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_removeElement:function(){this.$el.remove()},setElement:function(e){return this.undelegateEvents(),this._setElement(e),this.delegateEvents(),this},_setElement:function(e){this.$el=e instanceof t.$?e:t.$(e),this.el=this.$el[0]},delegateEvents:function(e){if(e||(e=n.result(this,"events")),!e)return this;for(var t in this.undelegateEvents(),e){var r=e[t];if(n.isFunction(r)||(r=this[r]),r){var o=t.match(C);this.delegate(o[1],o[2],r.bind(this))}}return this},delegate:function(e,t,n){return this.$el.on(e+".delegateEvents"+this.cid,t,n),this},undelegateEvents:function(){return this.$el&&this.$el.off(".delegateEvents"+this.cid),this},undelegate:function(e,t,n){return this.$el.off(e+".delegateEvents"+this.cid,t,n),this},_createElement:function(e){return document.createElement(e)},_ensureElement:function(){if(this.el)this.setElement(n.result(this,"el"));else{var e=n.extend({},n.result(this,"attributes"));this.id&&(e.id=n.result(this,"id")),this.className&&(e.class=n.result(this,"className")),this.setElement(this._createElement(n.result(this,"tagName"))),this._setAttributes(e)}},_setAttributes:function(e){this.$el.attr(e)}});var R=function(e,t,n,r){switch(t){case 1:return function(){return e[n](this[r])};case 2:return function(t){return e[n](this[r],t)};case 3:return function(t,o){return e[n](this[r],I(t,this),o)};case 4:return function(t,o,i){return e[n](this[r],I(t,this),o,i)};default:return function(){var t=i.call(arguments);return t.unshift(this[r]),e[n].apply(e,t)}}},N=function(e,t,r,o){n.each(r,(function(n,r){t[r]&&(e.prototype[r]=R(t,n,r,o))}))},I=function(e,t){return n.isFunction(e)?e:n.isObject(e)&&!t._isModel(e)?M(e):n.isString(e)?function(t){return t.get(e)}:e},M=function(e){var t=n.matches(e);return function(e){return t(e.attributes)}},j={forEach:3,each:3,map:3,collect:3,reduce:0,foldl:0,inject:0,reduceRight:0,foldr:0,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:3,includes:3,contains:3,invoke:0,max:3,min:3,toArray:1,size:1,first:3,head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,sample:3,partition:3,groupBy:3,countBy:3,sortBy:3,indexBy:3,findIndex:3,findLastIndex:3},L={keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1};n.each([[b,j,"models"],[y,L,"attributes"]],(function(e){var t=e[0],r=e[1],o=e[2];t.mixin=function(e){var r=n.reduce(n.functions(e),(function(e,t){return e[t]=0,e}),{});N(t,e,r,o)},N(t,n,r,o)})),t.sync=function(e,r,o){var i=D[e];n.defaults(o||(o={}),{emulateHTTP:t.emulateHTTP,emulateJSON:t.emulateJSON});var a={type:i,dataType:"json"};if(o.url||(a.url=n.result(r,"url")||z()),null!=o.data||!r||"create"!==e&&"update"!==e&&"patch"!==e||(a.contentType="application/json",a.data=JSON.stringify(o.attrs||r.toJSON(o))),o.emulateJSON&&(a.contentType="application/x-www-form-urlencoded",a.data=a.data?{model:a.data}:{}),o.emulateHTTP&&("PUT"===i||"DELETE"===i||"PATCH"===i)){a.type="POST",o.emulateJSON&&(a.data._method=i);var s=o.beforeSend;o.beforeSend=function(e){if(e.setRequestHeader("X-HTTP-Method-Override",i),s)return s.apply(this,arguments)}}"GET"===a.type||o.emulateJSON||(a.processData=!1);var l=o.error;o.error=function(e,t,n){o.textStatus=t,o.errorThrown=n,l&&l.call(o.context,e,t,n)};var u=o.xhr=t.ajax(n.extend(a,o));return r.trigger("request",r,u,o),u};var D={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};t.ajax=function(){return t.$.ajax.apply(t.$,arguments)};var F=t.Router=function(e){e||(e={}),this.preinitialize.apply(this,arguments),e.routes&&(this.routes=e.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},U=/\((.*?)\)/g,B=/(\(\?)?:\w+/g,V=/\*\w+/g,H=/[\-{}\[\]+?.,\\\^$|#\s]/g;n.extend(F.prototype,s,{preinitialize:function(){},initialize:function(){},route:function(e,r,o){n.isRegExp(e)||(e=this._routeToRegExp(e)),n.isFunction(r)&&(o=r,r=""),o||(o=this[r]);var i=this;return t.history.route(e,(function(n){var a=i._extractParameters(e,n);!1!==i.execute(o,a,r)&&(i.trigger.apply(i,["route:"+r].concat(a)),i.trigger("route",r,a),t.history.trigger("route",i,r,a))})),this},execute:function(e,t,n){e&&e.apply(this,t)},navigate:function(e,n){return t.history.navigate(e,n),this},_bindRoutes:function(){if(this.routes){this.routes=n.result(this,"routes");for(var e,t=n.keys(this.routes);null!=(e=t.pop());)this.route(e,this.routes[e])}},_routeToRegExp:function(e){return e=e.replace(H,"\\$&").replace(U,"(?:$1)?").replace(B,(function(e,t){return t?e:"([^/?]+)"})).replace(V,"([^?]*?)"),new RegExp("^"+e+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(e,t){var r=e.exec(t).slice(1);return n.map(r,(function(e,t){return t===r.length-1?e||null:e?decodeURIComponent(e):null}))}});var Z=t.History=function(){this.handlers=[],this.checkUrl=this.checkUrl.bind(this),"undefined"!=typeof window&&(this.location=window.location,this.history=window.history)},q=/^[#\/]|\s+$/g,W=/^\/+|\/+$/g,K=/#.*$/;Z.started=!1,n.extend(Z.prototype,s,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root&&!this.getSearch()},matchRoot:function(){return this.decodeFragment(this.location.pathname).slice(0,this.root.length-1)+"/"===this.root},decodeFragment:function(e){return decodeURI(e.replace(/%25/g,"%2525"))},getSearch:function(){var e=this.location.href.replace(/#.*/,"").match(/\?.+/);return e?e[0]:""},getHash:function(e){var t=(e||this).location.href.match(/#(.*)$/);return t?t[1]:""},getPath:function(){var e=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return"/"===e.charAt(0)?e.slice(1):e},getFragment:function(e){return null==e&&(e=this._usePushState||!this._wantsHashChange?this.getPath():this.getHash()),e.replace(q,"")},start:function(e){if(Z.started)throw new Error("Backbone.history has already been started");if(Z.started=!0,this.options=n.extend({root:"/"},this.options,e),this.root=this.options.root,this._wantsHashChange=!1!==this.options.hashChange,this._hasHashChange="onhashchange"in window&&(void 0===document.documentMode||document.documentMode>7),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.history||!this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(W,"/"),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){var t=this.root.slice(0,-1)||"/";return this.location.replace(t+"#"+this.getPath()),!0}this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var r=document.body,o=r.insertBefore(this.iframe,r.firstChild).contentWindow;o.document.open(),o.document.close(),o.location.hash="#"+this.fragment}var i=window.addEventListener||function(e,t){return attachEvent("on"+e,t)};if(this._usePushState?i("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?i("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var e=window.removeEventListener||function(e,t){return detachEvent("on"+e,t)};this._usePushState?e("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&e("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),Z.started=!1},route:function(e,t){this.handlers.unshift({route:e,callback:t})},checkUrl:function(e){var t=this.getFragment();if(t===this.fragment&&this.iframe&&(t=this.getHash(this.iframe.contentWindow)),t===this.fragment)return!1;this.iframe&&this.navigate(t),this.loadUrl()},loadUrl:function(e){return!!this.matchRoot()&&(e=this.fragment=this.getFragment(e),n.some(this.handlers,(function(t){if(t.route.test(e))return t.callback(e),!0})))},navigate:function(e,t){if(!Z.started)return!1;t&&!0!==t||(t={trigger:!!t}),e=this.getFragment(e||"");var n=this.root;""!==e&&"?"!==e.charAt(0)||(n=n.slice(0,-1)||"/");var r=n+e;e=e.replace(K,"");var o=this.decodeFragment(e);if(this.fragment!==o){if(this.fragment=o,this._usePushState)this.history[t.replace?"replaceState":"pushState"]({},document.title,r);else{if(!this._wantsHashChange)return this.location.assign(r);if(this._updateHash(this.location,e,t.replace),this.iframe&&e!==this.getHash(this.iframe.contentWindow)){var i=this.iframe.contentWindow;t.replace||(i.document.open(),i.document.close()),this._updateHash(i.location,e,t.replace)}}return t.trigger?this.loadUrl(e):void 0}},_updateHash:function(e,t,n){if(n){var r=e.href.replace(/(javascript:|#).*$/,"");e.replace(r+"#"+t)}else e.hash="#"+t}}),t.history=new Z;var G=function(e,t){var r,o=this;return r=e&&n.has(e,"constructor")?e.constructor:function(){return o.apply(this,arguments)},n.extend(r,o,t),r.prototype=n.create(o.prototype,e),r.prototype.constructor=r,r.__super__=o.prototype,r};y.extend=b.extend=F.extend=A.extend=Z.extend=G;var z=function(){throw new Error('A "url" property or function must be specified')},$=function(e,t){var n=t.error;t.error=function(r){n&&n.call(t.context,e,r,t),e.trigger("error",e,r,t)}}}(i,t,a,r)}()}(i.b,i.b.exports);var u=i.b.exports;t.default=u,e.exports=t.default},9673:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(8478);
/*!
* JavaScript Cookie v2.1.0
* https://github.com/js-cookie/js-cookie
*
* Copyright 2006, 2015 Klaus Hartl & Fagner Brack
* Released under the MIT license
*/!function(e,t){e.exports=function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function t(n){function r(t,o,i){var a;if(arguments.length>1){if("number"==typeof(i=e({path:"/"},r.defaults,i)).expires){var s=new Date;s.setMilliseconds(s.getMilliseconds()+864e5*i.expires),i.expires=s}try{a=JSON.stringify(o),/^[\{\[]/.test(a)&&(o=a)}catch(e){}return o=n.write?n.write(o,t):encodeURIComponent(String(o)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=(t=(t=encodeURIComponent(String(t))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape),document.cookie=[t,"=",o,i.expires&&"; expires="+i.expires.toUTCString(),i.path&&"; path="+i.path,i.domain&&"; domain="+i.domain,i.secure?"; secure":""].join("")}t||(a={});for(var l=document.cookie?document.cookie.split("; "):[],u=/(%[0-9A-Z]{2})+/g,c=0;c<l.length;c++){var f=l[c].split("="),d=f[0].replace(u,decodeURIComponent),p=f.slice(1).join("=");'"'===p.charAt(0)&&(p=p.slice(1,-1));try{if(p=n.read?n.read(p,d):n(p,d)||p.replace(u,decodeURIComponent),this.json)try{p=JSON.parse(p)}catch(e){}if(t===d){a=p;break}t||(a[d]=p)}catch(e){}}return a}return r.get=r.set=r,r.getJSON=function(){return r.apply({json:!0},[].slice.call(arguments))},r.defaults={},r.remove=function(t,n){r(t,"",e(n,{expires:-1}))},r.withConverter=t,r}return t((function(){}))}()}(r.j);var o=r.j.exports;t.default=o,e.exports=t.default},1169:function(e,t,n){"use strict";var r,o=(r=n(1271))&&r.__esModule?r:{default:r};(function(){var e;(e=function(){function e(){this.options_index=0,this.parsed=[]}return e.prototype.add_node=function(e){return"OPTGROUP"===e.nodeName.toUpperCase()?this.add_group(e):this.add_option(e)},e.prototype.add_group=function(e){var t,n,r,o,i,a;for(t=this.parsed.length,this.parsed.push({array_index:t,group:!0,label:e.label,children:0,disabled:e.disabled}),a=[],r=0,o=(i=e.childNodes).length;r<o;r++)n=i[r],a.push(this.add_option(n,t,e.disabled));return a},e.prototype.add_option=function(e,t,n){if("OPTION"===e.nodeName.toUpperCase())return""!==e.text?(null!=t&&(this.parsed[t].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:e.value,text:e.text,html:e.innerHTML,selected:e.selected,disabled:!0===n?n:e.disabled,group_array_index:t,classes:e.className,style:e.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1},e}()).select_to_array=function(t){var n,r,o,i,a;for(r=new e,o=0,i=(a=t.childNodes).length;o<i;o++)n=a[o],r.add_node(n);return r.parsed},this.SelectParser=e}).call(o.default),function(){var e;e=function(){function e(t,n){this.form_field=t,this.options=null!=n?n:{},e.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers(),this.finish_setup())}return e.prototype.set_default_values=function(){var e=this;return this.click_test_action=function(t){return e.test_active_click(t)},this.activate_action=function(t){return e.activate_field(t)},this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.result_single_selected=null,this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text&&this.options.allow_single_deselect,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null==this.options.enable_split_word_search||this.options.enable_split_word_search,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=this.options.single_backstroke_delete||!1,this.max_selected_options=this.options.max_selected_options||1/0,this.inherit_select_classes=this.options.inherit_select_classes||!1},e.prototype.set_default_text=function(){return this.form_field.getAttribute("data-placeholder")?this.default_text=this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.default_text=this.options.placeholder_text_multiple||this.options.placeholder_text||e.default_multiple_text:this.default_text=this.options.placeholder_text_single||this.options.placeholder_text||e.default_single_text,this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||e.default_no_result_text},e.prototype.mouse_enter=function(){return this.mouse_on_container=!0},e.prototype.mouse_leave=function(){return this.mouse_on_container=!1},e.prototype.input_focus=function(e){var t=this;if(this.is_multiple){if(!this.active_field)return setTimeout((function(){return t.container_mousedown()}),50)}else if(!this.active_field)return this.activate_field()},e.prototype.input_blur=function(e){var t=this;if(!this.mouse_on_container)return this.active_field=!1,setTimeout((function(){return t.blur_test()}),100)},e.prototype.result_add_option=function(e){var t,n;return e.dom_id=this.container_id+"_o_"+e.array_index,t=[],e.disabled||e.selected&&this.is_multiple||t.push("active-result"),!e.disabled||e.selected&&this.is_multiple||t.push("disabled-result"),e.selected&&t.push("result-selected"),null!=e.group_array_index&&t.push("group-option"),""!==e.classes&&t.push(e.classes),n=""!==e.style.cssText&&""!==e.style?' style="'+e.style+'"':"",'<li id="'+e.dom_id+'" class="'+t.join(" ")+'"'+n+">"+e.html+"</li>"},e.prototype.results_update_field=function(){return this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.result_single_selected=null,this.results_build()},e.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},e.prototype.results_search=function(e){return this.results_showing?this.winnow_results():this.results_show()},e.prototype.choices_count=function(){var e,t,n;if(null!=this.selected_option_count)return this.selected_option_count;for(this.selected_option_count=0,e=0,t=(n=this.form_field.options).length;e<t;e++)n[e].selected&&(this.selected_option_count+=1);return this.selected_option_count},e.prototype.choices_click=function(e){if(e.preventDefault(),!this.results_showing&&!this.is_disabled)return this.results_show()},e.prototype.keyup_checker=function(e){var t,n;switch(t=null!=(n=e.which)?n:e.keyCode,this.search_field_scale(),t){case 8:if(this.is_multiple&&this.backstroke_length<1&&this.choices_count()>0)return this.keydown_backstroke();if(!this.pending_backstroke)return this.result_clear_highlight(),this.results_search();break;case 13:if(e.preventDefault(),this.results_showing)return this.result_select(e);break;case 27:return this.results_showing&&this.results_hide(),!0;case 9:case 38:case 40:case 16:case 91:case 17:break;default:return this.results_search()}},e.prototype.generate_field_id=function(){var e;return e=this.generate_random_id(),this.form_field.id=e,e},e.prototype.generate_random_char=function(){var e,t;return e="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ",t=Math.floor(Math.random()*e.length),e.substring(t,t+1)},e.prototype.container_width=function(){return null!=this.options.width?this.options.width:this.form_field.offsetWidth+"px"},e.browser_is_supported=function(){var e;return"Microsoft Internet Explorer"!==window.navigator.appName||null!==(e=document.documentMode)&&e>=8},e.default_multiple_text="Select Some Options",e.default_single_text="Select an Option",e.default_no_result_text="No results match",e}(),this.AbstractChosen=e}.call(o.default),function(){var e,t,n,r={}.hasOwnProperty,i=(n=this).AbstractChosen;(e=o.default).fn.extend({chosen:function(n){return i.browser_is_supported()?this.each((function(r){var o;if(!(o=e(this)).hasClass("chzn-done"))return o.data("chosen",new t(this,n))})):this}}),t=function(t){function o(){return o.__super__.constructor.apply(this,arguments)}return function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function o(){this.constructor=e}o.prototype=t.prototype,e.prototype=new o,e.__super__=t.prototype}(o,t),o.prototype.setup=function(){return this.form_field_jq=e(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex,this.is_rtl=this.form_field_jq.hasClass("chzn-rtl")},o.prototype.finish_setup=function(){return this.form_field_jq.addClass("chzn-done")},o.prototype.set_up_html=function(){var t,n;return this.container_id=this.form_field.id.length?this.form_field.id.replace(/[^\w]/g,"_"):this.generate_field_id(),this.container_id+="_chzn",(t=["chzn-container"]).push("chzn-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&t.push(this.form_field.className),this.is_rtl&&t.push("chzn-rtl"),n={id:this.container_id,class:t.join(" "),title:this.form_field.title},this.container=e("<div></div>",n),this.container[0].style.width=this.container_width(),this.is_multiple?this.container.html('<ul class="chzn-choices"><li class="search-field"><input type="text" value="'+this.default_text+'" class="default" autocomplete="off" style="width:25px;" /></li></ul><div class="chzn-drop"><ul class="chzn-results"></ul></div>'):this.container.html('<a href="#" class="chzn-single chzn-default" tabindex="-1"><span>'+this.default_text+'</span><div><b></b></div></a><div class="chzn-drop"><div class="chzn-search"><input type="text" autocomplete="off" /></div><ul class="chzn-results"></ul></div>'),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chzn-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chzn-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chzn-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chzn-search").first(),this.selected_item=this.container.find(".chzn-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior(),this.form_field_jq.trigger("liszt:ready",{chosen:this})},o.prototype.register_observers=function(){var e=this;return this.container.mousedown((function(t){e.container_mousedown(t)})),this.container.mouseup((function(t){e.container_mouseup(t)})),this.container.mouseenter((function(t){e.mouse_enter(t)})),this.container.mouseleave((function(t){e.mouse_leave(t)})),this.search_results.mouseup((function(t){e.search_results_mouseup(t)})),this.search_results.mouseover((function(t){e.search_results_mouseover(t)})),this.search_results.mouseout((function(t){e.search_results_mouseout(t)})),this.search_results.bind("mousewheel DOMMouseScroll",(function(t){e.search_results_mousewheel(t)})),this.form_field_jq.bind("liszt:updated",(function(t){e.results_update_field(t)})),this.form_field_jq.bind("liszt:activate",(function(t){e.activate_field(t)})),this.form_field_jq.bind("liszt:open",(function(t){e.container_mousedown(t)})),this.search_field.blur((function(t){e.input_blur(t)})),this.search_field.keyup((function(t){e.keyup_checker(t)})),this.search_field.keydown((function(t){e.keydown_checker(t)})),this.search_field.focus((function(t){e.input_focus(t)})),this.is_multiple?this.search_choices.click((function(t){e.choices_click(t)})):this.container.click((function(e){e.preventDefault()}))},o.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field_jq[0].disabled,this.is_disabled?(this.container.addClass("chzn-disabled"),this.search_field[0].disabled=!0,this.is_multiple||this.selected_item.unbind("focus",this.activate_action),this.close_field()):(this.container.removeClass("chzn-disabled"),this.search_field[0].disabled=!1,this.is_multiple?void 0:this.selected_item.bind("focus",this.activate_action))},o.prototype.container_mousedown=function(t){if(!this.is_disabled&&(t&&"mousedown"===t.type&&!this.results_showing&&t.preventDefault(),null==t||!e(t.target).hasClass("search-choice-close")))return this.active_field?this.is_multiple||!t||e(t.target)[0]!==this.selected_item[0]&&!e(t.target).parents("a.chzn-single").length||(t.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),e(document).click(this.click_test_action),this.results_show()),this.activate_field()},o.prototype.container_mouseup=function(e){if("ABBR"===e.target.nodeName&&!this.is_disabled)return this.results_reset(e)},o.prototype.search_results_mousewheel=function(e){var t,n,r;if(null!=(t=-(null!=(n=e.originalEvent)?n.wheelDelta:void 0)||(null!=(r=e.originialEvent)?r.detail:void 0)))return e.preventDefault(),"DOMMouseScroll"===e.type&&(t*=40),this.search_results.scrollTop(t+this.search_results.scrollTop())},o.prototype.blur_test=function(e){if(!this.active_field&&this.container.hasClass("chzn-container-active"))return this.close_field()},o.prototype.close_field=function(){return e(document).unbind("click",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chzn-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale()},o.prototype.activate_field=function(){return this.container.addClass("chzn-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},o.prototype.test_active_click=function(t){return e(t.target).parents("#"+this.container_id).length?this.active_field=!0:this.close_field()},o.prototype.results_build=function(){var e,t,r,o,i;for(this.parsing=!0,this.selected_option_count=null,this.results_data=n.SelectParser.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():this.is_multiple||(this.selected_item.addClass("chzn-default").find("span").text(this.default_text),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chzn-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chzn-container-single-nosearch"))),e="",r=0,o=(i=this.results_data).length;r<o;r++)(t=i[r]).group?e+=this.result_add_group(t):t.empty||(e+=this.result_add_option(t),t.selected&&this.is_multiple?this.choice_build(t):t.selected&&!this.is_multiple&&(this.selected_item.removeClass("chzn-default").find("span").text(t.text),this.allow_single_deselect&&this.single_deselect_control_build()));return this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.search_results.html(e),this.parsing=!1},o.prototype.result_add_group=function(t){return t.dom_id=this.container_id+"_g_"+t.array_index,'<li id="'+t.dom_id+'" class="group-result">'+e("<div></div>").text(t.label).html()+"</li>"},o.prototype.result_do_highlight=function(e){var t,n,r,o,i;if(e.length){if(this.result_clear_highlight(),this.result_highlight=e,this.result_highlight.addClass("highlighted"),o=(r=parseInt(this.search_results.css("maxHeight"),10))+(i=this.search_results.scrollTop()),(t=(n=this.result_highlight.position().top+this.search_results.scrollTop())+this.result_highlight.outerHeight())>=o)return this.search_results.scrollTop(t-r>0?t-r:0);if(n<i)return this.search_results.scrollTop(n)}},o.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},o.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("liszt:maxselected",{chosen:this}),!1):(this.container.addClass("chzn-with-drop"),this.form_field_jq.trigger("liszt:showing_dropdown",{chosen:this}),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.search_field.val()),this.winnow_results())},o.prototype.results_hide=function(){return this.results_showing&&(this.result_clear_highlight(),this.container.removeClass("chzn-with-drop"),this.form_field_jq.trigger("liszt:hiding_dropdown",{chosen:this})),this.results_showing=!1},o.prototype.set_tab_index=function(e){var t;if(this.form_field_jq.attr("tabindex"))return t=this.form_field_jq.attr("tabindex"),this.form_field_jq.attr("tabindex",-1),this.search_field.attr("tabindex",t)},o.prototype.set_label_behavior=function(){var t=this;if(this.form_field_label=this.form_field_jq.parents("label"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=e("label[for='"+this.form_field.id+"']")),this.form_field_label.length>0)return this.form_field_label.click((function(e){return t.is_multiple?t.container_mousedown(e):t.activate_field()}))},o.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},o.prototype.search_results_mouseup=function(t){var n;if((n=e(t.target).hasClass("active-result")?e(t.target):e(t.target).parents(".active-result").first()).length)return this.result_highlight=n,this.result_select(t),this.search_field.focus()},o.prototype.search_results_mouseover=function(t){var n;if(n=e(t.target).hasClass("active-result")?e(t.target):e(t.target).parents(".active-result").first())return this.result_do_highlight(n)},o.prototype.search_results_mouseout=function(t){if(e(t.target).hasClass("active-result"))return this.result_clear_highlight()},o.prototype.choice_build=function(t){var n,r,o=this;return n=e("<li></li>",{class:"search-choice"}).html("<span>"+t.html+"</span>"),t.disabled?n.addClass("search-choice-disabled"):((r=e("<a></a>",{href:"#",class:"search-choice-close",rel:t.array_index})).click((function(e){return o.choice_destroy_link_click(e)})),n.append(r)),this.search_container.before(n)},o.prototype.choice_destroy_link_click=function(t){if(t.preventDefault(),t.stopPropagation(),!this.is_disabled)return this.choice_destroy(e(t.target))},o.prototype.choice_destroy=function(e){if(this.result_deselect(e.attr("rel")))return this.show_search_field_default(),this.is_multiple&&this.choices_count()>0&&this.search_field.val().length<1&&this.results_hide(),e.parents("li").first().remove(),this.search_field_scale()},o.prototype.results_reset=function(){if(this.form_field.options[0].selected=!0,this.selected_option_count=null,this.selected_item.find("span").text(this.default_text),this.is_multiple||this.selected_item.addClass("chzn-default"),this.show_search_field_default(),this.results_reset_cleanup(),this.form_field_jq.trigger("change"),this.active_field)return this.results_hide()},o.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},o.prototype.result_select=function(e){var t,n,r,o;if(this.result_highlight)return n=(t=this.result_highlight).attr("id"),this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("liszt:maxselected",{chosen:this}),!1):(this.is_multiple?t.removeClass("active-result"):(this.search_results.find(".result-selected").removeClass("result-selected"),this.result_single_selected=t,this.selected_item.removeClass("chzn-default")),t.addClass("result-selected"),o=n.substr(n.lastIndexOf("_")+1),(r=this.results_data[o]).selected=!0,this.form_field.options[r.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(r):(this.selected_item.find("span").first().text(r.text),this.allow_single_deselect&&this.single_deselect_control_build()),(e.metaKey||e.ctrlKey)&&this.is_multiple||this.results_hide(),this.search_field.val(""),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.form_field_jq.trigger("change",{selected:this.form_field.options[r.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,this.search_field_scale())},o.prototype.result_activate=function(e,t){return t.disabled?e.addClass("disabled-result"):this.is_multiple&&t.selected?e.addClass("result-selected"):e.addClass("active-result")},o.prototype.result_deactivate=function(e){return e.removeClass("active-result result-selected disabled-result")},o.prototype.result_deselect=function(t){var n;return n=this.results_data[t],!this.form_field.options[n.options_index].disabled&&(n.selected=!1,this.form_field.options[n.options_index].selected=!1,this.selected_option_count=null,e("#"+this.container_id+"_o_"+t).removeClass("result-selected").addClass("active-result").show(),this.result_clear_highlight(),this.winnow_results(),this.form_field_jq.trigger("change",{deselected:this.form_field.options[n.options_index].value}),this.search_field_scale(),!0)},o.prototype.single_deselect_control_build=function(){if(this.allow_single_deselect)return this.selected_item.find("abbr").length||this.selected_item.find("span").first().after('<abbr class="search-choice-close"></abbr>'),this.selected_item.addClass("chzn-single-with-deselect")},o.prototype.winnow_results=function(){var t,n,r,o,i,a,s,l,u,c,f,d,p,h,m,v,g,y;for(this.no_results_clear(),u=0,c=this.search_field.val()===this.default_text?"":e("<div></div>").text(e.trim(this.search_field.val())).html(),a=this.search_contains?"":"^",i=new RegExp(a+c.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"i"),p=new RegExp(c.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"i"),h=0,v=(y=this.results_data).length;h<v;h++)if(!(n=y[h]).empty)if(n.group)e("#"+n.dom_id).css("display","none");else{if(t=!1,l=n.dom_id,s=e("#"+l),i.test(n.html))t=!0,u+=1;else if(this.enable_split_word_search&&(n.html.indexOf(" ")>=0||0===n.html.indexOf("["))&&(o=n.html.replace(/\[|\]/g,"").split(" ")).length)for(m=0,g=o.length;m<g;m++)r=o[m],i.test(r)&&(t=!0,u+=1);t?(c.length?(f=n.html.search(p),d=(d=n.html.substr(0,f+c.length)+"</em>"+n.html.substr(f+c.length)).substr(0,f)+"<em>"+d.substr(f)):d=n.html,s.html(d),this.result_activate(s,n),null!=n.group_array_index&&e("#"+this.results_data[n.group_array_index].dom_id).css("display","list-item")):(this.result_highlight&&l===this.result_highlight.attr("id")&&this.result_clear_highlight(),this.result_deactivate(s))}return u<1&&c.length?this.no_results(c):this.winnow_results_set_highlight()},o.prototype.winnow_results_set_highlight=function(){var e,t;if(!this.result_highlight&&null!=(e=(t=this.is_multiple?[]:this.search_results.find(".result-selected.active-result")).length?t.first():this.search_results.find(".active-result").first()))return this.result_do_highlight(e)},o.prototype.no_results=function(t){var n;return(n=e('<li class="no-results">'+this.results_none_found+' "<span></span>"</li>')).find("span").first().html(t),this.search_results.append(n)},o.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},o.prototype.keydown_arrow=function(){var e;return this.results_showing&&this.result_highlight?(e=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(e):void 0:this.results_show()},o.prototype.keyup_arrow=function(){var e;return this.results_showing||this.is_multiple?this.result_highlight?(e=this.result_highlight.prevAll("li.active-result")).length?this.result_do_highlight(e.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight()):void 0:this.results_show()},o.prototype.keydown_backstroke=function(){var e;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(e=this.search_container.siblings("li.search-choice").last()).length&&!e.hasClass("search-choice-disabled")?(this.pending_backstroke=e,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0},o.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},o.prototype.keydown_checker=function(e){var t,n;switch(t=null!=(n=e.which)?n:e.keyCode,this.search_field_scale(),8!==t&&this.pending_backstroke&&this.clear_backstroke(),t){case 8:this.backstroke_length=this.search_field.val().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(e),this.mouse_on_container=!1;break;case 13:e.preventDefault();break;case 38:e.preventDefault(),this.keyup_arrow();break;case 40:e.preventDefault(),this.keydown_arrow()}},o.prototype.search_field_scale=function(){var t,n,r,o,i,a,s;if(this.is_multiple){for(i=0,r="position:absolute; left: -1000px; top: -1000px; display:none;",a=0,s=(o=["font-size","font-style","font-weight","font-family","line-height","text-transform","letter-spacing"]).length;a<s;a++)r+=(n=o[a])+":"+this.search_field.css(n)+";";return(t=e("<div></div>",{style:r})).text(this.search_field.val()),e("body").append(t),i=t.width()+25,t.remove(),this.f_width||(this.f_width=this.container.outerWidth()),i>this.f_width-10&&(i=this.f_width-10),this.search_field.css({width:i+"px"})}},o.prototype.generate_random_id=function(){var t;for(t="sel"+this.generate_random_char()+this.generate_random_char()+this.generate_random_char();e("#"+t).length>0;)t+=this.generate_random_char();return t},o}(i),n.Chosen=t}.call(o.default)},6160:function(e,t,n){"use strict";var r,o,i,a=(r=n(1271))&&r.__esModule?r:{default:r};
/**
* --------------------------------------------------------------------
* jQuery customInput plugin
* Author: Maggie Costello Wachs maggie@filamentgroup.com, Scott Jehl, scott@filamentgroup.com
* Copyright (c) 2009 Filament Group
* licensed under MIT (filamentgroup.com/examples/mit-license.txt)
* --------------------------------------------------------------------
*/
o=a.default,i=o,o.fn.customInput=function(){return i(this).each((function(){if(i(this).is("[type=checkbox],[type=radio]")){var e=i(this),t=e.siblings('label[for="'+e.attr("id")+'"]:first');t.length||(t=e.closest('label[for="'+e.attr("id")+'"]:first')),e.add(t).wrapAll('<div class="custom-'+e.attr("type")+'"></div>'),t.hover((function(){i(this).addClass("hover")}),(function(){i(this).removeClass("hover")})),e.bind("updateState",(function(){e.is(":checked")?t.addClass("checked"):t.removeClass("checked checkedHover checkedFocus")})).trigger("updateState").click((function(){i('input[name="'+i(this).attr("name")+'"]').trigger("updateState")})).focus((function(){t.addClass("focus"),e.is(":checked")&&i(this).addClass("checkedFocus")})).blur((function(){t.removeClass("focus checkedFocus")}))}}))}},4221:function(e,t,n){"use strict";var r,o=(r=n(1271))&&r.__esModule?r:{default:r};
/*! http://mths.be/placeholder v2.0.7 by @mathias */
!function(){var e,t,n=o.default,r="placeholder"in document.createElement("input"),i="placeholder"in document.createElement("textarea"),a=n.fn,s=n.valHooks;function l(e,t){var r=this,o=n(r);if(r.value==o.attr("placeholder")&&o.hasClass("placeholder"))if(o.data("placeholder-password")){if(o=o.hide().next().show().attr("id",o.removeAttr("id").data("placeholder-id")),!0===e)return o[0].value=t;o.focus()}else r.value="",o.removeClass("placeholder"),r==document.activeElement&&r.select()}function u(){var e,t,r,o,i=this,a=n(i),s=this.id;if(""==i.value){if("password"==i.type){if(!a.data("placeholder-textinput")){try{e=a.clone().attr({type:"text"})}catch(i){e=n("<input>").attr(n.extend((t=this,r={},o=/^jQuery\d+$/,n.each(t.attributes,(function(e,t){t.specified&&!o.test(t.name)&&(r[t.name]=t.value)})),r),{type:"text"}))}e.removeAttr("name").data({"placeholder-password":!0,"placeholder-id":s}).bind("focus.placeholder",l),a.data({"placeholder-textinput":e,"placeholder-id":s}).before(e)}a=a.removeAttr("id").hide().prev().attr("id",s).show()}a.addClass("placeholder"),a[0].value=a.attr("placeholder")}else a.removeClass("placeholder")}r&&i?(t=a.placeholder=function(){return this}).input=t.textarea=!0:((t=a.placeholder=function(){return this.filter((r?"textarea":":input")+"[placeholder]").not(".placeholder").bind({"focus.placeholder":l,"blur.placeholder":u}).data("placeholder-enabled",!0).trigger("blur.placeholder"),this}).input=r,t.textarea=i,e={get:function(e){var t=n(e);return t.data("placeholder-enabled")&&t.hasClass("placeholder")?"":e.value},set:function(e,t){var r=n(e);return r.data("placeholder-enabled")?(""==t?(e.value=t,e!=document.activeElement&&u.call(e)):r.hasClass("placeholder")&&l.call(e,!0,t)||(e.value=t),r):e.value=t}},r||(s.input=e),i||(s.textarea=e),n((function(){n(document).delegate("form","submit.placeholder",(function(){var e=n(".placeholder",this).each(l);setTimeout((function(){e.each(u)}),10)}))})),n(window).bind("beforeunload.placeholder",(function(){n(".placeholder").each((function(){this.value=""}))})))}()},1357:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3430));function o(e){return e&&e.__esModule?e:{default:e}}var i=o(n(7317)).default.decorate(r.default);t.default=i,e.exports=t.default},7317:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(7582)),o=s(n(4818)),i=s(n(5771)),a=s(n(2132));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}var u=o.default.clone(r.default.Events),c={constructor:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i.default.call.apply(i.default,[this,e].concat(n)),this.module&&this.$el.attr("data-view",this.module.id)},empty:function(){return this.removeChildren()},compileTemplate:a.default.tpl,broadcast:function(){return u.trigger.apply(u,arguments),this},listen:function(e,t){return u.off(e,t),this.listenTo(u,e,t),this},notify:function(e,t,n){return this.broadcast("notification",o.default.defaults({message:t,level:e},n)),this},confirm:function(e,t,n,r){var i;return i="object"===l(e)?e:2===arguments.length&&o.default.isFunction(t)?{title:"Okta",subtitle:e,ok:t}:{title:e,subtitle:t,ok:n,cancelFn:r},o.default.isFunction(i.ok)&&(i.ok=o.default.bind(i.ok,this)),o.default.isFunction(i.cancelFn)&&(i.cancelFn=o.default.bind(i.cancelFn,this)),this.broadcast("confirmation",i),this},alert:function(e){return o.default.isString(e)&&(e={subtitle:e}),this.confirm(o.default.extend({},e,{noCancelButton:!0})),this}},f=i.default.extend(c,{decorate:function(e){var t=e.extend({});return o.default.defaults(t.prototype,c),t}});t.default=f,e.exports=t.default},6564:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(6276)),o=s(n(4818)),i=s(n(6197)),a=s(n(7317));function s(e){return e&&e.__esModule?e:{default:e}}var l={click:function(e){e.preventDefault(),e.stopPropagation()}},u=a.default.extend({attributes:function(){var e=this.__getAttribute("attrs");return o.default.extend({"data-se":"button"},e)},tagName:"a",template:r.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="icon '+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"icon")||(null!=t?a(t,"icon"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"icon",hash:{},data:o,loc:{start:{line:1,column:30},end:{line:1,column:38}}}):i)+'"></span>'},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(i=null!=(i=a(n,"title")||(null!=t?a(t,"title"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:o,loc:{start:{line:1,column:67},end:{line:1,column:76}}}):i)},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"icon"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:54}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"title"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:54},end:{line:1,column:83}}}))?i:"")},useData:!0}),visible:!0,enabled:!0,enableWhen:{},showWhen:{},constructor:function(e){this.options=e||{};var t=this.getTemplateData();this.disabled=!1,a.default.apply(this,arguments),this.$el.addClass("link-button"),t.icon&&(this.$el.addClass("link-button-icon"),t.title||this.$el.addClass("icon-only"))},getTemplateData:function(){return{href:this.__getAttribute("href"),title:this.__getAttribute("title"),icon:this.__getAttribute("icon")}},initialize:function(){i.default.applyDoWhen(this,o.default.resultCtx(this,"enableWhen",this),this.toggle),i.default.applyDoWhen(this,o.default.resultCtx(this,"showWhen",this),this.toggleVisible)},render:function(){a.default.prototype.render.apply(this,arguments),o.default.result(this,"enabled")||this.toggle(!1),o.default.result(this,"visible")||this.toggleVisible(!1);var e=this.getTemplateData();return this.$el.attr("href",e.href||"#"),this},__getAttribute:function(e,t){var n=o.default.resultCtx(this.options,e,this);return o.default.isUndefined(n)&&(n=o.default.result(this,e)),o.default.isUndefined(n)?t:n},enable:function(){this.toggle(!0)},disable:function(){this.toggle(!1)},show:function(){this.toggleVisible(!0)},hide:function(){this.toggleVisible(!1)},toggle:function(e){var t=!!e&&o.default.result(this,"enabled");this.disabled=!t,this.$el.toggleClass("link-button-disabled btn-disabled disabled",this.disabled),this.delegateEvents(this.disabled?l:null)},toggleVisible:function(e){var t=!e||!o.default.result(this,"visible");this.$el.toggleClass("hide",t)}});t.default=u,e.exports=t.default},5480:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(6276)),o=s(n(5586)),i=s(n(4818)),a=s(n(7317));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}var u=r.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="icon '+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"icon")||(null!=t?a(t,"icon"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"icon",hash:{},data:o,loc:{start:{line:1,column:96},end:{line:1,column:104}}}):i)+'"></span>'},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(i=null!=(i=a(n,"title")||(null!=t?a(t,"title"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:o,loc:{start:{line:1,column:133},end:{line:1,column:142}}}):i)},5:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="option-subtitle">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"subtitle")||(null!=t?a(t,"subtitle"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"subtitle",hash:{},data:o,loc:{start:{line:1,column:192},end:{line:1,column:204}}}):i)+"</p>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c="function",f=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="" class="icon-16 '+f(l(a=null!=(a=d(n,"className")||(null!=t?d(t,"className"):t))?a:u)===c?a.call(s,{name:"className",hash:{},data:o,loc:{start:{line:1,column:26},end:{line:1,column:39}}}):a)+'" data-se="'+f(l(a=null!=(a=d(n,"seleniumId")||(null!=t?d(t,"seleniumId"):t))?a:u)===c?a.call(s,{name:"seleniumId",hash:{},data:o,loc:{start:{line:1,column:50},end:{line:1,column:64}}}):a)+'">'+(null!=(i=d(n,"if").call(s,null!=t?d(t,"icon"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:66},end:{line:1,column:120}}}))?i:"")+(null!=(i=d(n,"if").call(s,null!=t?d(t,"title"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:120},end:{line:1,column:149}}}))?i:"")+(null!=(i=d(n,"if").call(s,null!=t?d(t,"subtitle"):t,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:149},end:{line:1,column:215}}}))?i:"")+"</a>"},useData:!0}),c=a.default.extend({tagName:"li",events:{click:function(e){e.preventDefault(),this.action&&this.action.call(this)}},constructor:function(){a.default.apply(this,arguments),this.$el.addClass("okta-dropdown-option option")},render:function(){return this.$el.html(u({icon:i.default.result(this,"icon"),className:i.default.result(this,"className")||"",title:i.default.result(this,"title"),subtitle:i.default.result(this,"subtitle"),seleniumId:i.default.result(this,"seleniumId")})),i.default.result(this,"disabled")&&this.disable(),this},disable:function(){this.$el.addClass("option-disabled"),this.$el.find("a").attr("tabindex","-1")}}),f=a.default.extend({events:{"click a.option-selected":function(e){e.preventDefault(),i.default.result(this,"disabled")&&e.stopPropagation()},"click .dropdown-disabled":function(e){e.preventDefault(),e.stopPropagation()}},items:[],constructor:function(){var e=this.className;this.className=null,a.default.apply(this,arguments),this.className=e,this.$el.addClass("dropdown more-actions float-l"),i.default.each(i.default.result(this,"items"),(function(e){this.addOption(e,this.options)}),this)},template:r.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="icon '+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"icon")||(null!=t?a(t,"icon"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"icon",hash:{},data:o,loc:{start:{line:1,column:176},end:{line:1,column:184}}}):i)+'"></span>'},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="off-screen">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"screenReaderText")||(null!=t?a(t,"screenReaderText"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"screenReaderText",hash:{},data:o,loc:{start:{line:1,column:249},end:{line:1,column:269}}}):i)+"</span>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c="function",f=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link-button '+f(l(a=null!=(a=d(n,"className")||(null!=t?d(t,"className"):t))?a:u)===c?a.call(s,{name:"className",hash:{},data:o,loc:{start:{line:1,column:31},end:{line:1,column:44}}}):a)+' link-button-icon option-selected center" aria-expanded="false" aria-controls="okta-dropdown-options">'+(null!=(i=d(n,"if").call(s,null!=t?d(t,"icon"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:146},end:{line:1,column:200}}}))?i:"")+(null!=(i=d(n,"if").call(s,null!=t?d(t,"screenReaderText"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:200},end:{line:1,column:283}}}))?i:"")+'<span class="option-selected-text">'+f(l(a=null!=(a=d(n,"title")||(null!=t?d(t,"title"):t))?a:u)===c?a.call(s,{name:"title",hash:{},data:o,loc:{start:{line:1,column:318},end:{line:1,column:327}}}):a)+'</span><span class="icon-dm"></span></a><div id="okta-dropdown-options" class="options clearfix"><ul class="okta-dropdown-list options-wrap clearfix"></ul></div>'},useData:!0}),getTemplateData:function(){var e=[i.default.result(this,"className")||"",i.default.result(this,"disabled")?"dropdown-disabled":""];return{icon:i.default.result(this,"icon"),className:o.default.trim(e.join(" ")),title:i.default.result(this,"title"),screenReaderText:i.default.result(this,"screenReaderText")}},addOption:function(e,t){this.add(c.extend(e),"ul.options-wrap",{options:t||{}})}});t.default=f,e.exports=t.default},2265:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(6276)),o=s(n(4818)),i=s(n(9077)),a=s(n(7317));function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return o.default.resultCtx(e.options,t,e)||o.default.result(e,t)}function u(e){var t="infobox clearfix infobox-"+l(e,"type");switch(l(e,"size")){case"standard":t+="";break;case"slim":t+=" infobox-slim";break;case"compact":t+=" infobox-compact";break;case"large":t+=" infobox-md"}return l(e,"dismissible")&&(t+=" infobox-dismiss"),t}var c={"click .infobox-dismiss-link":function(e){var t=this;e.preventDefault(),this.$el.fadeOut(i.default.UNLOADING_FADE,(function(){t.trigger("dismissed"),t.remove()}))}},f=r.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a data-se="dismiss-link" class="infobox-dismiss-link" title="'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"courage",code:"component.dismiss"},data:o,loc:{start:{line:1,column:81},end:{line:1,column:131}}}))+'" href="#"><span data-se="icon" class="dismiss-icon"></span></a>'},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h3 data-se="header">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"title")||(null!=t?a(t,"title"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:o,loc:{start:{line:1,column:286},end:{line:1,column:295}}}):i)+"</h3>"},5:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p data-se="sub-header">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"subtitle")||(null!=t?a(t,"subtitle"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"subtitle",hash:{},data:o,loc:{start:{line:1,column:347},end:{line:1,column:359}}}):i)+"</p>"},7:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<ul data-se="list" class="bullets">'+(null!=(i=a(n,"each").call(null!=t?t:e.nullContext||{},null!=t?a(t,"bullets"):t,{name:"each",hash:{},fn:e.program(8,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:420},end:{line:1,column:483}}}))?i:"")+"</ul>"},8:function(e,t,n,r,o){return'<li data-se="list-item">'+e.escapeExpression(e.lambda(t,t))+"</li>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=l(n,"if").call(s,null!=t?l(t,"dismissible"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:202}}}))?i:"")+'<span data-se="icon" class="icon '+e.escapeExpression("function"==typeof(a=null!=(a=l(n,"icon")||(null!=t?l(t,"icon"):t))?a:e.hooks.helperMissing)?a.call(s,{name:"icon",hash:{},data:o,loc:{start:{line:1,column:235},end:{line:1,column:243}}}):a)+'"></span>'+(null!=(i=l(n,"if").call(s,null!=t?l(t,"title"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:252},end:{line:1,column:307}}}))?i:"")+(null!=(i=l(n,"if").call(s,null!=t?l(t,"subtitle"):t,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:307},end:{line:1,column:370}}}))?i:"")+(null!=(i=l(n,"if").call(s,null!=t?l(t,"bullets"):t,{name:"if",hash:{},fn:e.program(7,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:370},end:{line:1,column:495}}}))?i:"")},useData:!0}),d=a.default.extend({attributes:{"data-se":"callout"},content:null,size:"standard",type:"info",dismissible:!1,title:null,subtitle:null,bullets:null,constructor:function(){this.events=o.default.defaults(this.events||{},c),a.default.apply(this,arguments),this.$el.addClass(u(this)),this.template=f;var e=l(this,"content");e&&this.add(e)},getTemplateData:function(){var e=l(this,"type");switch("tip"===e&&(e="light-bulb"),l(this,"size")){case"slim":e="";break;case"large":e=[e,"-","24"].join("");break;default:e=[e,"-","16"].join("")}return{icon:e,title:l(this,"title"),subtitle:l(this,"subtitle"),bullets:l(this,"bullets"),dismissible:l(this,"dismissible")}}}),p={create:function(e){return new d(e)}};t.default=p,e.exports=t.default},5270:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(6276)),o=s(n(4818)),i=s(n(7317)),a=s(n(1633));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}var u={level:"success",hide:!0,fade:400,delay:3e3,width:0,dismissable:!1},c=i.default.extend({className:"infobox infobox-confirm infobox-confirm-fixed",events:{"click .infobox-dismiss-link":function(e){e.preventDefault(),this.fadeOut()}},template:r.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="infobox-dismiss-link" title="'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"courage",code:"component.dismiss"},data:o,loc:{start:{line:1,column:58},end:{line:1,column:108}}}))+'" href="#"><span class="dismiss-icon"></span></a>'},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<h3>"+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"title")||(null!=t?a(t,"title"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:o,loc:{start:{line:1,column:220},end:{line:1,column:229}}}):i)+"</h3>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c="function",f=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=d(n,"if").call(s,null!=t?d(t,"dismissable"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:164}}}))?i:"")+'<span class="icon '+f(l(a=null!=(a=d(n,"level")||(null!=t?d(t,"level"):t))?a:u)===c?a.call(s,{name:"level",hash:{},data:o,loc:{start:{line:1,column:182},end:{line:1,column:191}}}):a)+'-16"></span>'+(null!=(i=d(n,"if").call(s,null!=t?d(t,"title"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:203},end:{line:1,column:241}}}))?i:"")+"<p>"+f(l(a=null!=(a=d(n,"message")||(null!=t?d(t,"message"):t))?a:u)===c?a.call(s,{name:"message",hash:{},data:o,loc:{start:{line:1,column:244},end:{line:1,column:255}}}):a)+"</p>"},useData:!0}),initialize:function(){if(this.options=o.default.defaults({},this.options,u),!this.options.message)switch(this.options.level){case"success":this.options.message=a.default.localize("notification.default.message.success","courage");break;case"error":this.options.message=a.default.localize("notification.default.message.error","courage");break;case"warning":this.options.message=a.default.localize("notification.default.message.warning","courage")}this.$el.addClass("infobox-"+this.options.level),this.options.width&&this.$el.width(this.options.width)},getTemplateData:function(){return o.default.extend(o.default.pick(this.options,"level","message","title"),{dismissable:!1===this.options.hide||!0===this.options.dismissable})},postRender:function(){this.options.hide&&o.default.delay(o.default.bind(this.fadeOut,this),this.options.delay)},fadeOut:function(){this.$el.fadeOut(this.options.fade,o.default.bind(this.remove,this))}});t.default=c,e.exports=t.default},7133:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=y(n(6276)),o=y(n(5586)),i=y(n(4818)),a=y(n(1633)),s=y(n(7317)),l=y(n(2919)),u=y(n(967)),c=y(n(4459)),f=y(n(9661)),d=y(n(6637)),p=y(n(1522)),h=y(n(9388)),m=y(n(7187)),v=y(n(996)),g=y(n(5725));function y(e){return e&&e.__esModule?e:{default:e}}var b=r.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h2 class="o-form-title-bar" data-se="o-form-title-bar">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"title")||(null!=t?a(t,"title"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:o,loc:{start:{line:1,column:75},end:{line:1,column:84}}}):i)+"</h2>"},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"title"):t,{name:"if",hash:{},fn:e.program(4,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:192},end:{line:1,column:288}}}))?i:""},4:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h2 data-se="o-form-head" class="okta-form-title o-form-head">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"title")||(null!=t?a(t,"title"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:o,loc:{start:{line:1,column:267},end:{line:1,column:276}}}):i)+"</h2>"},6:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="okta-form-subtitle o-form-explain" data-se="o-form-explain">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"subtitle")||(null!=t?a(t,"subtitle"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"subtitle",hash:{},data:o,loc:{start:{line:1,column:385},end:{line:1,column:397}}}):i)+"</p>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=l(n,"if").call(s,null!=t?l(t,"hasReadMode"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:96}}}))?i:"")+'<div data-se="o-form-content" class="o-form-content '+e.escapeExpression("function"==typeof(a=null!=(a=l(n,"layout")||(null!=t?l(t,"layout"):t))?a:e.hooks.helperMissing)?a.call(s,{name:"layout",hash:{},data:o,loc:{start:{line:1,column:148},end:{line:1,column:158}}}):a)+' clearfix">'+(null!=(i=l(n,"unless").call(s,null!=t?l(t,"hasReadMode"):t,{name:"unless",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:169},end:{line:1,column:299}}}))?i:"")+(null!=(i=l(n,"if").call(s,null!=t?l(t,"subtitle"):t,{name:"if",hash:{},fn:e.program(6,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:299},end:{line:1,column:408}}}))?i:"")+'<div class="o-form-error-container" data-se="o-form-error-container"></div><div class="o-form-fieldset-container" data-se="o-form-fieldset-container"></div></div>'},useData:!0}),_=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h2 class="o-form-head">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"title")||(null!=t?a(t,"title"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:o,loc:{start:{line:1,column:24},end:{line:1,column:33}}}):i)+"</h2>"},useData:!0}),w="auto"===(0,o.default)("<div>").css({"pointer-events":"auto"})[0].style.pointerEvents;function O(e){if(!w&&this.$el.hasClass("o-form-saving")){var t=(0,o.default)(e.currentTarget);t.css("display","none");var n=document.elementFromPoint(e.clientX,e.clientY);return t.css("display","block"),e.target=n,(0,o.default)(n).trigger(e),!1}}var k={submit:function(e){e.preventDefault(),this.__save()}};i.default.each(["click","dblclick","mousedown","mouseup"],(function(e){k[e+" .o-form-input"]=O}));var E=function(e,t){e||(e="");var n=[];return i.default.isString(e)&&(n=e.split(" ")),(n=i.default.union(n,t)).join(" ")},S=s.default.extend({constructor:function(e){e||(e={}),this.options=e,e.settings?this.settings=e.settings:this.settings=e.settings=new g.default,this.id=i.default.uniqueId("form"),this.tagName="form",i.default.defaults(this.events,k),i.default.defaults(this.attributes,function(e){e||(e={});var t=e&&e.collection||{};return{method:"POST",action:i.default.result(e,"urlRoot")||i.default.result(t,"url")||window.location.pathname,"data-se":"o-form",slot:"content"}}(e.model)),this.__buttons=[],this.__errorFields={},this.__saveModelState(e.model);var t=i.default.result(this,"step");if(t){if(!this.save){var n=i.default.result(this,"totalSteps");this.save=n&&t!==n?a.default.localize("oform.button.next","courage"):a.default.localize("oform.button.finish","courage")}this.className=i.default.result(this,"className")+" wizard"}this.className=i.default.result(this,"className")+" o-form",this.__toolbar=this.__createToolbar(e),s.default.call(this,e),i.default.each(i.default.result(this,"inputs")||[],(function(e){this.__addLayoutItem(e)}),this),this.add(this.__toolbar,""),this.listenTo(this.model,"change:__edit__",this.__applyMode),this.listenTo(this.model,"invalid error",i.default.throttle((function(e,t,n){this.__showErrors(e,t,!1!==n)}),100,{trailing:!1})),this.listenTo(this.model,"form:resize",(function(){this.trigger("resize")})),this.listenTo(this.model,"form:cancel",i.default.throttle(this.__cancel,100,{trailing:!1})),this.listenTo(this.model,"form:previous",i.default.throttle(this.__previous,100,{trailing:!1})),this.__save=i.default.throttle(this.__save,200,{trailing:!1}),this.listenTo(this.model,"form:save",(function(){this.$el.submit()})),this.listenTo(this.model,"sync",(function(){this.model.get("__edit__")&&this.model.set("__edit__",!1,{silent:!0}),this.__saveModelState(this.model),this.render()}));var r=this.getAttribute("hasSavingState");if(this.getAttribute("autoSave")&&(this.listenTo(this,"save",(function(e){var t=this,n=e.save();n&&n.done&&n.done((function(){t.trigger("saved",e)}))})),i.default.isUndefined(r)&&(r=!0)),r){var o=this.getAttribute("customSavingState",{});this.listenTo(this.model,E(o.start||"",["request"]),this.__setSavingState),this.listenTo(this.model,E(o.stop||"",["error","sync"]),this.__clearSavingState)}},__createToolbar:function(e){var t=!0===this.getAttribute("danger")?"button-error":"button-primary",n=i.default.result(this,"step"),r=new u.default(i.default.extend({save:this.save||a.default.localize("oform.save","courage"),saveId:this.saveId,saveClassName:t,cancel:this.cancel||a.default.localize("oform.cancel","courage"),noCancelButton:this.noCancelButton||!1,noSubmitButton:this.noSubmitButton||!1,buttonOrder:this.buttonOrder,hasPrevStep:n&&n>1},e||this.options));return i.default.each(this.__buttons,(function(e){r.addButton.apply(r,e)})),r},className:"",attributes:{},events:{},inputs:[],template:null,read:!1,readOnly:!1,noButtonBar:!1,noCancelButton:!1,noSubmitButton:!1,buttonOrder:["previous","save","cancel"],save:null,cancel:null,danger:!1,layout:"",step:void 0,totalSteps:void 0,title:null,subtitle:null,autoSave:!1,scrollOnError:!0,showErrors:!0,resizeSelector:".o-form-content",getAttribute:function(e,t){var n=i.default.resultCtx(this.options,e,this);return i.default.isUndefined(n)&&(n=i.default.result(this,e)),i.default.isUndefined(n)?t:n},hasReadMode:function(){return!!this.getAttribute("read")},isReadOnly:function(){return!!this.getAttribute("readOnly")},hasButtonBar:function(){return!(this.getAttribute("noButtonBar")||this.isReadOnly())},render:function(){if(this.__readModeBar&&this.__readModeBar.remove(),this.hasReadMode()&&!this.isReadOnly()){var e=l.default.extend({formTitle:this.getAttribute("title","")});this.__readModeBar=this.add(e,".o-form-title-bar").last()}var t=b({layout:this.getAttribute("layout",""),title:this.getAttribute("title","",!0),subtitle:this.getAttribute("subtitle","",!0),hasReadMode:this.hasReadMode()});return this.$el.html(t),delete this.template,s.default.prototype.render.apply(this,arguments),this.__applyMode(),this},__setSavingState:function(){this.model.trigger("form:set-saving-state"),this.$el.addClass("o-form-saving")},__clearSavingState:function(){this.model.trigger("form:clear-saving-state"),this.$el.removeClass("o-form-saving")},__toggleToolbar:function(){this.__toolbar&&this.__toolbar.remove(),this.hasButtonBar()&&this._editMode()&&(this.__toolbar=this.__createToolbar(),this.add(this.__toolbar,"")),this.trigger("resize")},__cancel:function(){var e,t=this.model.get("__edit__");this.model.clear({silent:!0}),e=this.model.sanitizeAttributes?this.model.sanitizeAttributes(this.__originalModel):i.default.clone(this.__originalModel),this.model.set(e,{silent:!0}),this.trigger("cancel",this.model),this.model.trigger("cache:clear"),t&&(this.model.set("__edit__",!1,{silent:!0}),this.model.trigger("change:__edit__",this.model,!1)),this.clearErrors()},isValid:function(){var e,t=this;function n(e){return i.default.reduce(e,(function(e,n){return i.default.extend(e,t.model.validateField(n))}),{})}return i.default.isUndefined(this.validate)?this.model.isValid():(i.default.isFunction(this.validate)?e=this.validate():i.default.isArray(this.validate)?e=n(this.validate):"local"===this.validate&&(e=n(this.getInputs().map((function(e){return e.options.name})))),!!i.default.isEmpty(e)||(this.model.trigger("invalid",this.model,e),!1))},__save:function(){this.clearErrors(),this.isValid()&&this.trigger("save",this.model)},__previous:function(){this.trigger("previous",this.model)},__applyMode:function(){this.clearErrors(),this.__toggleToolbar(),this._editMode()?(this.$el.addClass("o-form-edit-mode"),this.$el.removeClass("o-form-read-mode"),this.$(".o-form-content").removeClass("rounded-btm-4"),this.focus()):(this.$el.removeClass("o-form-edit-mode"),this.$el.addClass("o-form-read-mode"),this.$(".o-form-content").addClass("rounded-btm-4"))},_editMode:function(){return this.model.get("__edit__")||!this.hasReadMode()},parseErrorMessage:i.default.identity,_handleErrorScroll:function(){if(this.getAttribute("scrollOnError")){var e=(0,o.default)("#"+this.id+" .o-form-error-container");if(e.length){var t,n=e.scrollParent();n[0]===document?(n=(0,o.default)("html, body"),t=e.offset().top):t=n.scrollTop()+e.offset().top-n.offset().top,n.animate({scrollTop:t},400)}}},__showErrors:function(e,t,n){if(this.trigger("error",e),this.getAttribute("showErrors")){var r,o=f.default.getResponseJSON(t),s=f.default.parseFieldErrors(t);i.default.size(s)?i.default.each(s,(function(e,t){this.model.trigger("form:field-error",this.__errorFields[t]||t,i.default.map(e,(function(e){return/^model\.validation/.test(e)?a.default.localize(e,"courage"):e})))}),this):r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Array.isArray(e.errorCauses)&&e.errorCauses.length>0?e.errorCauses[0].errorSummary:e.errorSummary}(o=this.parseErrorMessage(o)),n&&(this.$(".o-form-error-container").addClass("o-form-has-errors"),this.add(c.default,".o-form-error-container",{options:{errorSummary:r}})),this._handleErrorScroll(),this.model.trigger("form:resize")}},clearErrors:function(){this.$(".o-form-error-container").removeClass("o-form-has-errors"),this.model.trigger("form:clear-errors"),this.model.trigger("form:resize")},toggle:function(){return this.model.set("__edit__",!this.hasReadMode()||!this.model.get("__edit__")),this},__addLayoutItem:function(e){h.default.supports(e)?this.addInput(e):this.__addNonInputLayoutItem(e)},__addNonInputLayoutItem:function(e){var t=i.default.omit(e,"type");switch(e.type){case"sectionTitle":this.addSectionTitle(e.title,i.default.omit(t,"title"));break;case"divider":this.addDivider(t);break;default:throw new Error("unknown input: "+e.type)}},addButton:function(e,t){this.__toolbar&&this.__toolbar.addButton(e,t),this.__buttons.push([e,t])},addDivider:function(e){return this.add('<div class="okta-form-divider form-divider"></div>'),d.default.applyShowWhen(this.last(),e&&e.showWhen),d.default.applyToggleWhen(this.last(),e&&e.toggleWhen),this},addSectionTitle:function(e,t){return this.add(_({title:e})),d.default.applyShowWhen(this.last(),t&&t.showWhen),d.default.applyToggleWhen(this.last(),t&&t.toggleWhen),this},addInput:function(e){e=i.default.clone(e),d.default.validateInput(e,this.model);var t=d.default.generateInputOptions(e,this,this.__createInput).reverse();i.default.isEmpty(this.getInputs().toArray())&&i.default.extend(t[0],{validateOnlyIfDirty:!0});var n=i.default.map(t,this.__createInput,this);i.default.each(t,(function(e){e.errorField&&(this.__errorFields[e.errorField]=e.name)}),this);var r={inputId:i.default.last(n).options.inputId,input:n,multi:t.length>1?t.length:void 0};i.default.extend(r,i.default.omit(this.options,"input"),i.default.omit(e,"input"));var o=this.__createWrapper(r);!1!==r.label&&o.add(this.__createLabel(r)),o.add(this._createContainer(r)),o.type=r.type||r.input.type||"custom";var a=[o].concat(i.default.rest(arguments));return this.add.apply(this,a)},__createInput:function(e){return e=i.default.pick(e,d.default.INPUT_OPTIONS),h.default.create(e)},__createWrapper:function(e){return e=i.default.pick(e,d.default.WRAPPER_OPTIONS),new v.default(e)},__createLabel:function(e){return e=i.default.pick(e,d.default.LABEL_OPTIONS),new m.default(e)},_createContainer:function(e){return e=i.default.pick(e,d.default.CONTAINER_OPTIONS),new p.default(e)},__saveModelState:function(e){this.__originalModel=o.default.extend(!0,{},e.attributes)},add:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return void 0===t[1]&&(t[1]="> div.o-form-content > .o-form-fieldset-container"),s.default.prototype.add.apply(this,t)},focus:function(){var e=this.getInputs().first();return e&&e.focus&&e.focus(),this},disable:function(){return this.invoke("disable"),this},enable:function(){this.invoke("enable")},contentHeight:function(e){var t=this.$(".o-form-content");if(!i.default.isNumber(e))return t.height();t.css("max-height",e)},getInputs:function(){return(0,i.default)(this.filter((function(e){return e instanceof v.default})))}});t.default=S,e.exports=t.default},1648:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(6276)),o=f(n(5586)),i=f(n(4818)),a=f(n(1937)),s=f(n(1633)),l=f(n(7317)),u=f(n(2265)),c=f(n(2514));function f(e){return e&&e.__esModule?e:{default:e}}var d={tagName:"span",attributes:function(){return{"data-se":"o-form-input-"+this.getNameString()}},defaultPlaceholder:"",constructor:function(e){delete(e=i.default.defaults(e||{},{inputId:e.id||i.default.uniqueId("input"),placeholder:this.defaultPlaceholder,inlineValidation:!0,validateOnlyIfDirty:!1})).id;var t=this;i.default.each({enable:"removeClass",disable:"addClass"},(function(e,n){t[n]=i.default.wrap(t[n],(function(n){n.apply(t,arguments),t.$el[e]("o-form-disabled")}))})),l.default.call(this,e),!0!==i.default.result(e,"readOnly")&&!0===i.default.result(e,"read")&&this.listenTo(this.model,"change:__edit__",this.render),i.default.isFunction(this.focus)&&(this.focus=i.default.debounce(i.default.bind(this.focus,this),50)),i.default.result(e,"validateOnlyIfDirty")||this.addInlineValidation(),this.addModelListeners(),this.$el.addClass("o-form-input-name-"+this.getNameString())},addAriaLabel:function(){var e=this.options.ariaLabel;e&&this.$(":input").attr("aria-label",e)},addInlineValidation:function(){i.default.result(this.options,"inlineValidation")&&this.$el.on("focusout",":input",i.default.bind(this.validate,this))},toModelValue:function(){var e=this.val();return i.default.isFunction(this.to)&&(e=this.to.call(this,e)),i.default.isFunction(this.options.to)&&(e=this.options.to.call(this,e)),e},__getDependencyCalloutBtn:function(e){var t=this,n=i.default.clone(e),r=n.click||function(){};return n.click=function(){(0,o.default)(window).one("focus.dependency",(function(){t.__showInputDependencies()})),r.call(t)},new(l.default.extend({children:[a.default.create(n)]}))},getCalloutParent:function(){return this.$('input[value="'+this.getModelValue()+'"]').parent()},__getCalloutMsgContainer:function(e){return l.default.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="o-form-explain">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"msg")||(null!=t?a(t,"msg"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"msg",hash:{},data:o,loc:{start:{line:1,column:29},end:{line:1,column:36}}}):i)+"</span>"},useData:!0}),getTemplateData:function(){return{msg:e}}})},showCallout:function(e,t){var n=i.default.clone(e);n.className="dependency-callout",n.btn&&(n.content=this.__getDependencyCalloutBtn(n.btn),delete n.btn);var r=u.default.create(n);t||r.add(this.__getCalloutMsgContainer(s.default.localize("dependency.callout.msg","courage"))),this.getCalloutParent().append(r.render().el),"success"===n.type&&i.default.delay((function(){r.$el.fadeOut(800)}),1e3)},removeCallout:function(){this.$el.find(".dependency-callout").remove()},__evaluateCalloutObject:function(e,t){return e?{title:s.default.localize("dependency.action.completed","courage"),size:"large",type:"success"}:{title:s.default.localize("dependency.action.required","courage",[t]),size:"large",type:"warning"}},__handleDependency:function(e,t){var n=this,r=i.default.isFunction(t)?t(e):i.default.extend({},t,n.__evaluateCalloutObject(e.resolved,t.title));n.removeCallout(),n.showCallout(r,e.resolved)},__showInputDependencies:function(){var e=this,t=e.options.deps[e.getModelValue()];t&&i.default.isFunction(t.func)?t.func().done((function(n){e.__handleDependency({resolved:!0,data:n},t.callout)})).fail((function(n){e.__handleDependency({resolved:!1,data:n},t.callout)})):e.removeCallout()},_isEdited:!1,hasIMESupport:!1,update:function(e){var t,n;if(!this._isEdited&&i.default.result(this.options,"validateOnlyIfDirty")&&(this._isEdited=!0,this.addInlineValidation()),this.model.set(this.options.name,this.toModelValue()),this.options.deps&&this.__showInputDependencies(),this.hasIMESupport&&null!==(t=window)&&void 0!==t&&null!==(n=t.okta)&&void 0!==n&&n.enableIMESupport){if(this.isComposing)return;e&&c.default.isEnter(e)&&this.model.trigger("form:save")}},isEditMode:function(){return!i.default.result(this.options,"readOnly")&&(!0!==i.default.result(this.options,"read")||!0===this.model.get("__edit__"))},render:function(){this.preRender();var e=this.options.params;return this.options.params=i.default.resultCtx(this.options,"params",this),this.isEditMode()?(this.editMode(),i.default.resultCtx(this.options,"disabled",this)?this.disable():this.enable()):this.readMode(),this.options.params=e,this.addAriaLabel(),this.postRender(),this},validate:function(){if(!this.model.get("__pending__")&&this.isEditMode()&&i.default.isFunction(this.model.validateField)){var e=this.model.validateField(this.options.name);e&&i.default.delay(function(){this.model.trigger("form:clear-error:"+this.options.name),this.model.trigger("invalid",this.model,e,!1)}.bind(this),100)}},addModelListeners:function(){this.listenTo(this.model,"form:field-error",(function(e){this.options.name===e&&this.__markError()})),this.listenTo(this.model,"form:clear-errors change:"+this.options.name,this.__clearError),this.listenTo(this.model,"form:clear-error:"+this.options.name,this.__clearError)},val:function(){throw new Error("val() is an abstract method")},focus:function(){throw new Error("focus() is an abstract method")},defaultValue:function(){return""},editMode:function(){var e=i.default.extend({},this.options,{value:this.getModelValue()});return this.$el.html(this.template(e)),this.options.multi&&this.$el.removeClass("margin-r"),this},readMode:function(){return this.$el.text(this.getReadModeString()),this.$el.removeClass("error-field"),this.options.multi&&this.$el.addClass("margin-r"),this},getReadModeString:function(){var e=i.default.resultCtx(this.options,"readModeString",this);return e||this.toStringValue()},getModelValue:function(){var e=this.model.get(this.options.name);return i.default.isFunction(this.from)&&(e=this.from.call(this,e)),i.default.isFunction(this.options.from)&&(e=this.options.from.call(this,e)),e},toStringValue:function(){var e=this.getModelValue();return this.options.options&&(e=this.options.options[e]),(Number.isInteger(e)||"boolean"==typeof e)&&(e=String(e)),e||this.defaultValue()},resize:function(){this.model.trigger("form:resize")},disable:function(){this.$(":input").prop("disabled",!0)},enable:function(){this.$(":input").prop("disabled",!1)},changeType:function(e){this.$(":input").prop("type",e),this.options.type=e},getNameString:function(){return i.default.isArray(this.options.name)?this.options.name.join("-"):this.options.name},getParams:function(e){var t=e||this.options||{};return i.default.clone(i.default.resultCtx(t,"params",this)||{})},getParam:function(e,t){var n=i.default.resultCtx(this.getParams(),e,this);return i.default.isUndefined(n)?t:n},getParamOrAttribute:function(e){return this.getParam(e)||i.default.result(this,e)},__markError:function(){this.$el.addClass("o-form-has-errors")},__clearError:function(){this.$el.removeClass("o-form-has-errors")}},p=l.default.extend(d);t.default=p,e.exports=t.default},2919:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(7317)),o=i(n(6637));function i(e){return e&&e.__esModule?e:{default:e}}var a=r.default.extend({el:'<span class="o-form-toggle" data-type="header-btn"></span>',formTitle:"",modelEvents:{"change:__edit__":"toggle"},initialize:function(){this.addButton()},addButton:function(){this.model.get("__edit__")?this.add(o.default.createReadFormButton({type:"cancel"})):this.add(o.default.createReadFormButton({type:"edit",formTitle:this.formTitle,className:"disable-in-read-only"}))},toggle:function(){this.removeChildren(),this.addButton()}});t.default=a,e.exports=t.default},967:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(4818)),o=a(n(7317)),i=a(n(6637));function a(e){return e&&e.__esModule?e:{default:e}}var s={className:function(){return"o-form-button-bar"},buttonOrder:["previous","save","cancel"],initialize:function(e){var t=this,n={previous:{type:"previous"},save:{type:"save",text:r.default.resultCtx(e,"save",this),id:r.default.resultCtx(e,"saveId",this),className:r.default.resultCtx(e,"saveClassName",this)},cancel:{type:"cancel",text:r.default.resultCtx(e,"cancel",this)}};this.__getButtonOrder(e).forEach((function(e){t.addButton(n[e])}))},addButton:function(e,t){return this.add(i.default.createButton(e),t)},__getButtonOrder:function(e){var t=r.default.resultCtx(e,"buttonOrder",this,this.buttonOrder),n=[];return e.noSubmitButton&&n.push("save"),e.noCancelButton&&n.push("cancel"),e.hasPrevStep||n.push("previous"),r.default.without.apply(r.default,[t].concat(n))}},l=o.default.extend(s);t.default=l,e.exports=t.default},1826:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(5586)),o=s(n(4818)),i=s(n(6883)),a=s(n(1633));function s(e){return e&&e.__esModule?e:{default:e}}var l="name",u="_enum_";function c(e){return d(e)?o.default.reduce(e,(function(e,t,n){return e[m(n)]=t.title,e}),{}):{}}function f(e){return o.default.all(e,r.default.isPlainObject)?d(e)?e:function(e){var t=o.default.partial(o.default.has,o.default,l);if(o.default.all(e,t))return o.default.chain(e).filter((function(e){return r.default.isPlainObject(e)&&o.default.has(e,l)})).map((function(e){return{const:e,title:e.name}})).value();return p(e)}(e):p(e)}function d(e){return o.default.isArray(e)&&o.default.all(e,(function(e){return o.default.has(e,"const")&&o.default.has(e,"title")}))}function p(e){return o.default.map(e,(function(e){return{const:e,title:h(e)}}))}function h(e){return o.default.isObject(e)?JSON.stringify(e):o.default.isNumber(e)?e+"":e}function m(e){return"".concat(u).concat(e)}function v(e){var t=o.default.findIndex(this.options.params.enumOneOf,(function(t){return o.default.isObject(e)?o.default.isEqual(t.const,e):t.const===e}));return t>-1?m(t):e}function g(e){if(!o.default.isString(e)||0!==e.indexOf(u))return e;var t=e.replace(u,""),n=this.options.params&&o.default.isArray(this.options.params.enumOneOf)?this.options.params.enumOneOf[t]:null;return o.default.has(n,"const")?n.const:n}function y(e){return o.default.map(e,g.bind(this))}function b(e){return o.default.map(e,v.bind(this))}var _={getEnumInputOptions:function(e){var t=f(e.enumValues),n={name:e.name,label:e.title,readOnly:e.readOnly,customExplain:e.explain,params:{enumOneOf:t},options:c(t)};return i.default.isArrayDataType(e.displayType)?(n.type="checkboxset",n.to=y,n.from=b):(n.type="select",n.to=g,n.from=v),n.input=null,n},getDropdownOptions:function(e){return o.default.isArray(e)?c(f(e)):{}},convertToOneOf:f,isConstraintValueMatchType:function(e,t){switch(t){case i.default.STRING:return function(e){return o.default.isString(e)&&""!==r.default.trim(e)}(e);case i.default.NUMBER:return function(e){return o.default.isNumber(e)||o.default.isNumber(a.default.parseFloat(r.default.trim(e)))}(e);case i.default.INTEGER:return function(e){var t=o.default.isNumber(e)?e:a.default.parseInt(r.default.trim(e));return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t}(e);case i.default.OBJECT:return function(e){if(o.default.isObject(e)&&!o.default.isArray(e))return!0;var t=a.default.parseObject(r.default.trim(e));return o.default.isObject(t)&&!o.default.isArray(t)}(e)}}};t.default=_,e.exports=t.default},4459:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(6276));function o(e){return e&&e.__esModule?e:{default:e}}var i=o(n(7317)).default.extend({template:r.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"errorSummary")||(null!=t?a(t,"errorSummary"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"errorSummary",hash:{},data:o,loc:{start:{line:1,column:130},end:{line:1,column:146}}}):i)+"</p>"},3:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"courage",code:"oform.errorbanner.title"},data:o,loc:{start:{line:1,column:161},end:{line:1,column:217}}}))+"</p>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="okta-form-infobox-error infobox infobox-error" role="alert"><span class="icon error-16"></span>'+(null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"errorSummary"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o,loc:{start:{line:1,column:107},end:{line:1,column:228}}}))?i:"")+"</div>"},useData:!0}),modelEvents:{"form:clear-errors":"remove"}});t.default=i,e.exports=t.default},9661:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(4818)),o=i(n(1633));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^([\S]+): (.+)$/,s={getResponseJSON:function(e){try{return e.responseJSON||JSON.parse(e.responseText)}catch(e){}},parseErrorSummary:function(e){var t=e.match(a);if(t)return[t[1],t[2]]},parseErrorCauseObject:function(e){if(e.property&&e.errorSummary){var t=o.default.localize(e.reason),n=e.errorSummary;return[e.property,-1===t.indexOf("L10N_ERROR[")?t:n]}},parseErrors:function(e){var t=this.getResponseJSON(e);return r.default.map(t&&t.errorCauses||[],(function(e){return(""+e.errorSummary).replace(a,"$2")}))},parseFieldErrors:function(e){var t=this.getResponseJSON(e),n={};return t?r.default.each(t.errorCauses||[],(function(e){var t=[];if(t=e.property&&e.errorSummary?this.parseErrorCauseObject(e):e.location&&e.errorSummary?[e.location,e.errorSummary]:this.parseErrorSummary(e&&e.errorSummary||"")){var r=t[0],o=t[1];n[r]||(n[r]=[]),n[r].push(o)}}),this):r.default.isObject(e)&&r.default.size(e)&&r.default.each(e,(function(e,t){n[t]=[e]})),r.default.size(n)?n:void 0}};t.default=s,e.exports=t.default},6637:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(4818)),o=u(n(2514)),i=u(n(8311)),a=u(n(1633)),s=u(n(6197)),l=u(n(7317));function u(e){return e&&e.__esModule?e:{default:e}}function c(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var d=["model","id","inputId","type","label","sublabel","tooltip","name","group"],p=["wide","multi","input","label-top","explain","explain-top","customExplain","model","name","type","autoRender","multirowError"],h=["model","name","label-top","readOnly","events","initialize","showWhen","bindings","render","className","data-se","toggleWhen","group"],m=["model","name","inputId","type","input","placeholder","label","readOnly","read","disabled","readModeString","options","deps","from","to","autoRender","inlineValidation","validateOnlyIfDirty","ariaLabel","params","autoComplete","sortByKey"],v=r.default.uniq(r.default.union(d,p,h,m,["errorField"])),g=["• ","• • ","• • • ","• • • •"," • • •"," • •"," •"," "," "," "];function y(e){if(e&&!e.__edit__)return r.default.extend({__edit__:r.default.constant(!0)},e)}var b={LABEL_OPTIONS:d,CONTAINER_OPTIONS:p,WRAPPER_OPTIONS:h,INPUT_OPTIONS:m,generateInputOptions:function e(t,n,o){t=r.default.clone(t),r.default.contains(["list","group"],t.type)&&(t.params=r.default.defaults({create:o,inputs:r.default.map(r.default.isArray(t.input)?t.input:[t.input],(function(t){return r.default.first(e(t,n,o))}))},t.params||{}),delete t.input);var i=r.default.isArray(t.input)?r.default.clone(t.input):[t];return r.default.map(i,(function(e){var o=r.default.defaults({model:n.model},e,r.default.omit(t,"input","inputs"),n.options,{id:r.default.uniqueId("input"),readOnly:n.isReadOnly(),read:n.hasReadMode()});return n.isReadOnly()&&(o.read=o.readOnly=!0),o}))},changeEventString:function(e){return"change:"+e.join(" change:")},createReadFormButton:function(e){var t,n,o;return"cancel"===e.type?(n=o=a.default.localize("oform.cancel","courage"),t=function(){this.model.trigger("form:cancel")}):(o=(n=a.default.localize("oform.edit","courage"))+" "+e.formTitle,t=function(){this.model.set("__edit__",!0)}),l.default.extend({tagName:"a",className:e.className,attributes:{href:"#","aria-label":o},template:function(){return r.default.escape(n)},events:{click:function(e){e.preventDefault(),t.call(this)}}})},createButton:function(e){switch((e=r.default.clone(e)).type){case"save":r.default.defaults(e,{className:"button-primary"});break;case"cancel":r.default.defaults(e,{className:"button-clear",text:a.default.localize("oform.cancel","courage"),action:function(){this.model.trigger("form:cancel")}});break;case"previous":r.default.defaults(e,{text:a.default.localize("oform.previous","courage"),action:function(){this.model.trigger("form:previous")}})}return function(e){var t,n,i;return e=r.default.pick(e||{},"action","id","className","text","type"),l.default.extend({tagName:"input",className:"button",events:{click:function(){e.action&&!this.disabled()&&e.action.call(this)},keyup:function(t){o.default.isEnter(t)&&e.action&&!this.disabled()&&e.action.call(this)}},disabled:function(){return!0===this.$el.prop("disabled")},disable:function(){this.$el.prop("disabled",!0),this.$el.addClass("btn-disabled")},enable:function(){this.$el.prop("disabled",!1),this.$el.removeClass("btn-disabled")},initialize:function(){var o=this;this.$el.attr("type","save"===e.type?"submit":"button"),this.$el.val(e.text),e.id&&this.$el.attr("id",e.id),e.className&&this.$el.addClass(e.className),e.type&&this.$el.attr("data-type",e.type),this.$el.mousedown((function(){o.model.set("__pending__",!0)})),this.$el.mouseup((function(){o.model.set("__pending__",!1)})),this.listenTo(this.model,"form:set-saving-state",(function(){this.disable(),"save"===e.type&&(t=setTimeout(r.default.bind(this.__changeSaveText,this),1e3))})),this.listenTo(this.model,"form:clear-saving-state",(function(){this.enable(),"save"===e.type&&(clearTimeout(t),clearInterval(n),this.$el.val(e.text))}))},__changeSaveText:function(){i=0,n=setInterval(r.default.bind(this.__showLoadingText,this),200)},__showLoadingText:function(){this.$el.val(g[i++%g.length])}})}(e)},validateInput:function e(t,n){if(t||(t={}),"label"!==t.type){if("button"===t.type)return t.title||t.icon||i.default.warn('A button input must have a "title" and/or an "icon" parameter',t),void(t.click||t.href||i.default.warn('A button input must have a "click" and/or an "href" parameter',t));if(t.name||t.input||i.default.warn('Missing "name" or "input" parameters',t),r.default.isArray(t.name)&&r.default.isArray(t.input))throw new Error('Not allowed to have both "name" and "input" defined as array.');if("list"!==t.type&&t.name&&n&&n.allows){var o=[];r.default.isArray(t.name)?o=t.name:o.push(t.name),r.default.each(o,(function(e){if(!n.allows(e))throw new Error("field not allowed: "+t.name)}))}r.default.isArray(t.input)&&"list"!==t.type&&r.default.each(t.input,(function(t){e(t,n)}));var a=r.default.keys(t),s=r.default.intersection(a,v);if(r.default.size(s)!==r.default.size(t)){var l=r.default.clone(v);i.default.warn("Invalid input parameters",r.default.without.apply(r.default,[a].concat(c(l))),t)}}else t.label||i.default.warn('A label input must have a "label" parameter',t)},applyShowWhen:function(e,t){s.default.applyDoWhen(e,y(t),(function(t,n){n.animate?e.$el["slide"+(t?"Down":"Up")](200,function(t){return function(){e.$el.toggle(t),e.model.trigger("form:resize")}}(t)):e.$el.toggle(t)}))},applyToggleWhen:function(e,t){s.default.applyDoWhen(e,y(t),(function(t,n){e.$el.toggle(t),e.model.trigger("form:resize"),n.animate&&e.render()}))}};t.default=b,e.exports=t.default},1522:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(6276)),o=u(n(4818)),i=u(n(8311)),a=u(n(4691)),s=u(n(1633)),l=u(n(7317));function u(e){return e&&e.__esModule?e:{default:e}}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}var f=a.default.isABaseView,d=l.default.extend({attributes:function(){return{"data-se":"o-form-input-container"}},className:function(){var e="o-form-input";(this.options.wide&&(e+=" o-form-wide"),o.default.contains([1,2,3,4],this.options.multi))&&(e+=" o-form-multi-input-"+this.options.multi,o.default.isArray(this.options.input)&&o.default.find(this.options.input,(function(e){return o.default.contains(["text+select","select+text"],e.options.type)}))&&(e+=" o-form-multi-input-group-"+this.options.multi));return e},_getNames:function(){var e=o.default.isArray(this.options.name)?this.options.name:[this.options.name];return"group"===this.options.type?e.push.apply(e,o.default.pluck(this.options.input[0].options.params.inputs,"name")):o.default.isArray(this.options.name)?this.options.input&&this.options.input.options&&this.options.input.options.name&&e.push(this.options.input.options.name):this.options.input&&(o.default.isArray(this.options.input)?o.default.each(this.options.input,(function(t){e.push(t.options.name)})):e.push(this.options.input.options.name)),o.default.uniq(o.default.compact(e))},_getInputElement:function(){var e=Array.isArray(this.options.input)?o.default.last(this.options.input):this.options.input,t=e&&e.options&&e.options.inputId,n=t?this.$("#"+t):null;return n&&n.length?n:null},constructor:function(){l.default.apply(this,arguments);var e=this.options["explain-top"]&&this.options["label-top"];this.options.input&&(o.default.isArray(this.options.input)?o.default.each(this.options.input,(function(t){this.add(t,{prepend:!e})}),this):this.add(this.options.input,{prepend:!e})),this.__setExplain(this.options);var t=this._getNames();this.listenTo(this.model,"form:field-error",(function(n,r){o.default.contains(t,n)&&this.__setError(r,e)})),this.listenTo(this.model,"form:clear-errors change:"+t.join(" change:"),this.__clearError),this.listenTo(this.model,"form:clear-error:"+t.join(" form:clear-error:"),this.__clearError),o.default.resultCtx(this.options,"autoRender",this)&&this.listenTo(this.model,"change:"+this.options.name,this.render),this.__errorState=!1},__setExplain:function(e){var t;if(e.customExplain)return i.default.warn("Deprecated - use explain instead of customExplain"),void this.add(this.options.customExplain);t=e.explain,o.default.isFunction(t)&&!f(t)&&(t=o.default.resultCtx(this.options,"explain",this)),t&&(f(t)?(this.template=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<p class="o-form-explain"></p>'},useData:!0}),this.add(t," > .o-form-explain")):this.template=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="o-form-explain">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"explain")||(null!=t?a(t,"explain"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"explain",hash:{},data:o,loc:{start:{line:1,column:26},end:{line:1,column:37}}}):i)+"</p>"},useData:!0}))},__setError:function(e,t){this.__errorState=!0,this.$el.addClass("o-form-has-errors");var n=o.default.uniqueId("input-container-error"),r=this.__getHTMLForError(o.default.flatten(e),n),i=this.$(".o-form-explain").not(".o-form-input-error").first();i.length&&!t?i.before(r):this.$el.append(r);var a=this._getInputElement()||this.$el;a.attr("aria-describedby",n),a.attr("aria-invalid",!0)},__getHTMLForError:function(e,t){var n=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",u=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p id="'+u(c(i=null!=(i=f(n,"errorId")||(null!=t?f(t,"errorId"):t))?i:s)===l?i.call(a,{name:"errorId",hash:{},data:o,loc:{start:{line:1,column:7},end:{line:1,column:18}}}):i)+'" class="okta-form-input-error o-form-input-error o-form-explain" role="alert"><span class="icon icon-16 error-16-small" role="img" aria-label="'+u(c(i=null!=(i=f(n,"iconLabel")||(null!=t?f(t,"iconLabel"):t))?i:s)===l?i.call(a,{name:"iconLabel",hash:{},data:o,loc:{start:{line:1,column:162},end:{line:1,column:175}}}):i)+'"></span>'+u(c(i=null!=(i=f(n,"text")||(null!=t?f(t,"text"):t))?i:s)===l?i.call(a,{name:"text",hash:{},data:o,loc:{start:{line:1,column:184},end:{line:1,column:192}}}):i)+"</p>"},useData:!0}),o=s.default.localize("oform.error.icon.ariaLabel","courage");if(this.options.multirowError){var i="";return e.forEach((function(e){i+=n({errorId:t,iconLabel:o,text:e})})),i}return n({errorId:t,iconLabel:o,text:e.join(", ")})},__clearError:function(){var e=this;if(this.__errorState){this.$(".o-form-input-error").remove();var t=this._getInputElement()||this.$el;t.attr("aria-describedby",null),t.attr("aria-invalid",null),this.$el.removeClass("o-form-has-errors"),this.__errorState=!1,o.default.defer((function(){e.model.trigger("form:resize")}))}},focus:function(){return this.each((function(e){if(e.focus)return e.focus()})),this}});t.default=d,e.exports=t.default},9388:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(4818)),o=i(n(5946));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return o.default.isBaseInput(e)&&e.prototype?new e(r.default.omit(t,"input")):e}var s={create:function(e){if((e=r.default.clone(e)).input)return a(e.input,e);var t=o.default.get(e);if(!t)throw new Error("unknown input: "+e.type);return a(t,e)},supports:function(e){return!!e.input||!!o.default.get(e)}};t.default=s,e.exports=t.default},7187:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=a(n(4818));n(3506);var i=a(n(7317));function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}var l=i.default.extend({className:"okta-form-label o-form-label",attributes:{"data-se":"o-form-label"},constructor:function(e){o.default.defaults(e,{inputId:e.id}),delete e.id,i.default.apply(this,arguments)},template:r.default.template({1:function(e,t,n,r,o){return"<legend>"},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<label for="'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"inputId")||(null!=t?a(t,"inputId"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"inputId",hash:{},data:o,loc:{start:{line:1,column:61},end:{line:1,column:72}}}):i)+'"></label>'},5:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(i=null!=(i=a(n,"label")||(null!=t?a(t,"label"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:o,loc:{start:{line:1,column:116},end:{line:1,column:125}}}):i)},7:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u="function",c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<label for="'+c(s(i=null!=(i=f(n,"inputId")||(null!=t?f(t,"inputId"):t))?i:l)===u?i.call(a,{name:"inputId",hash:{},data:o,loc:{start:{line:1,column:167},end:{line:1,column:178}}}):i)+'">'+c(s(i=null!=(i=f(n,"label")||(null!=t?f(t,"label"):t))?i:l)===u?i.call(a,{name:"label",hash:{},data:o,loc:{start:{line:1,column:180},end:{line:1,column:189}}}):i)+" </label>"},9:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="o-form-explain">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"sublabel")||(null!=t?a(t,"sublabel"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"sublabel",hash:{},data:o,loc:{start:{line:1,column:256},end:{line:1,column:268}}}):i)+"</span>"},11:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="o-form-tooltip icon-16 icon-only form-help-16" title="'+e.escapeExpression(e.lambda(null!=(i=null!=t?a(t,"tooltip"):t)?a(i,"text"):i,t))+'"></span>'},13:function(e,t,n,r,o){return"</legend>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"group"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:28}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"_isLabelView"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:28},end:{line:1,column:89}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"_isRadioOrCheckbox"):t,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:89},end:{line:1,column:132}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"_standardLabel"):t,{name:"if",hash:{},fn:e.program(7,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:132},end:{line:1,column:210}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"sublabel"):t,{name:"if",hash:{},fn:e.program(9,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:210},end:{line:1,column:282}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"tooltip"):t,{name:"if",hash:{},fn:e.program(11,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:282},end:{line:1,column:397}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"group"):t,{name:"if",hash:{},fn:e.program(13,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:397},end:{line:1,column:426}}}))?i:"")},useData:!0}),getTemplateData:function(){var e={label:""};return o.default.each(["inputId","label","sublabel","tooltip","group"],(function(t){e[t]=o.default.resultCtx(this.options,t,this)}),this),this._isLabelView(e.label)?e._isLabelView=!0:o.default.contains(["radio","checkbox"],this.options.type)||!e.label?e._isRadioOrCheckbox=!0:e._standardLabel=!0,e.tooltip&&o.default.isString(e.tooltip)&&(e.tooltip={text:e.tooltip}),e},_isLabelView:function(e){return!o.default.isUndefined(e)&&e instanceof i.default},postRender:function(){var e=this.getTemplateData();this._isLabelView(e.label)&&(this.removeChildren(),this.add(e.label,"label")),e.tooltip&&this.$(".o-form-tooltip").qtip(o.default.extend({style:{classes:"qtip-custom qtip-shadow"},position:{my:window.okta&&"dstheme"===window.okta.theme?"bottom center":"bottom left",at:"top center"},hide:{fixed:!0},show:{delay:0}},e.tooltip.options))}});t.default=l,e.exports=t.default},5946:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(4818))&&r.__esModule?r:{default:r};var i={};function a(e){return o.default.isFunction(e)?o.default.isFunction(e.prototype.editMode)&&o.default.isFunction(e.prototype.readMode):o.default.isObject(e)&&o.default.isFunction(e.editMode)&&o.default.isFunction(e.readMode)}var s={isBaseInput:a,register:function(e,t){i[e]=t},get:function(e){var t=i[e.type];return t&&(a(t)?t:t(e))},unregister:function(e){delete i[e]}};t.default=s,e.exports=t.default},996:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(4818)),o=a(n(7317)),i=a(n(6637));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){e.apply(this,r.default.map(t.split(/\s+/),(function(e){return this.model.get(e)}),this))}function l(e,t){r.default.isFunction(e)&&e.call(t)}var u=o.default.extend({tagName:function(){return this.options.group?"fieldset":"div"},className:function(){var e="o-form-fieldset";return this.options["label-top"]&&(e+=" o-form-label-top"),this.options.readOnly&&(e+=" o-form-read-mode"),e},attributes:function(){return{"data-se":this.options["data-se"]||"o-form-fieldset"}},constructor:function(e){e.className&&(this.inputWrapperClassName=this.className,this.optionsClassName=e.className,e.className=function(){return r.default.result(this,"inputWrapperClassName","")+" "+r.default.result(this,"optionsClassName")}),o.default.apply(this,arguments),r.default.each(e.events||{},(function(e,t){this.listenTo(this.model,t,e)}),this),r.default.each(e.bindings||{},(function(e,t){this.listenTo(this.model,i.default.changeEventString(t.split(/\s+/)),r.default.bind(s,this,e,t))}),this),i.default.applyShowWhen(this,e.showWhen),i.default.applyToggleWhen(this,e.toggleWhen),l(e.initialize,this)},postRender:function(){r.default.each(this.options.bindings||{},s,this),l(this.options.render,this)},getLabel:function(){return this.size()>1?this.at(0):null},getInput:function(){return this.getInputContainer()},getInputContainer:function(){return this.at(this.size()>1?1:0)},getInputs:function(){return this.getInputContainer().toArray()},focus:function(){return this.getInput().focus()}});t.default=u,e.exports=t.default},1767:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(4818)),o=l(n(1633)),i=l(n(4125)),a=l(n(7544)),s=l(n(1826));function l(e){return e&&e.__esModule?e:{default:e}}function u(e){var t=o.default.parseFloat(e);return""===e?null:t}function c(e){return r.default.object(e,e)}function f(e){var t=e.get("items");return t?t.objectName:e.get("objectName")}function d(e,t,n){var o,i=e.get("name"),a=n.__nestedProperty__,s=t[i],l=n.get(i);a&&e.set("__fieldNamePrefix__",a);var u=t[f(e)];s&&l&&(s=r.default.union(s,l)),u&&u.length?o=u:s&&s.length&&(o=s),e.set("__possibleValues__",o)}function p(e,t,n){return e.each((function(e){d(e,t,n)})),e}function h(e,t){return e.filter((function(e){return function(e,t){var n=f(e),o=t[n];return!n||!(0,r.default)(o).isEmpty()}(e,t)}))}var m={createInputOptions:function(e){var t=function(e){var t={},n=e.get("name"),o=e.get("__displayType__"),i=e.get("__possibleValues__"),a=e.get("__fieldNamePrefix__");if(a&&(t.name=a+n,t.errorField=n),e.isEnumType()){var l={displayType:o,title:e.get("title"),enumValues:e.getEnumValues()};t=r.default.extend({},s.default.getEnumInputOptions(l),t)}else(function(e){return e&&e.indexOf("array")>=0})(o)&&i&&(t.type="checkboxset",t.input=null,t.options=c(i));return t}(e),n=function(e){var t=e.get("__displayType__"),n=e.get("__possibleValues__"),s=e.get("name"),l={type:"text",name:s,label:e.get("title")||s};switch(t){case"arrayofstring":l.input=a.default,l.params={itemType:"string"};break;case"arrayofnumber":l.input=a.default,l.params={itemType:"number"};break;case"arrayofinteger":l.input=a.default,l.params={itemType:"integer"};break;case"arrayofobject":l.input=a.default,l.params={itemType:e.get("items").type};break;case"arrayofref-id":l.input=a.default,l.params={itemType:e.get("items").format};break;case"boolean":l.input=i.default;break;case"integer":case"number":l.to=u;break;case"reference":l.type="select",l.options=c(n);break;case"image":l.readOnly=!0,l.from=function(e){return r.default.isEmpty(e)?"":o.default.localize("user.profile.image.image_set","courage")};break;case"password":l.type="password";break;case"date":l.type="date";break;case"uri":case"country-code":case"country_code":case"language-code":case"language_code":case"email":case"locale":case"timezone":case"string":case"object":break;default:throw new Error("unknown type: ".concat(t))}return l}(e);return t.params&&n.params&&(t.params=r.default.defaults(t.params,n.params)),r.default.defaults(t,n)},hasValidSchemaProps:function(e,t){return!r.default.isEmpty(e)&&!!h(e,t).length},prepareSchema:function(e,t,n){return e.reset(h(e,t)),p(e,t,n)},augmentSchemaProps:p,augmentSchemaProp:d};t.default=m,e.exports=t.default},4125:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(7613))&&r.__esModule?r:{default:r};var i={undefined:"undefined",true:"true",false:"false"},a=function(e){return e?"true":!1===e?"false":"undefined"},s=function(e){switch(e){case"undefined":default:return null;case"true":return!0;case"false":return!1}},l=o.default.extend({initialize:function(){this.options.options=i,this.options.from=a,this.options.to=s}});t.default=l,e.exports=t.default},3696:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=a(n(4818)),i=a(n(2514));function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}n(6160);var l=a(n(1648)).default.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u="function",c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<input type="checkbox" name="'+c(s(i=null!=(i=f(n,"name")||(null!=t?f(t,"name"):t))?i:l)===u?i.call(a,{name:"name",hash:{},data:o,loc:{start:{line:1,column:29},end:{line:1,column:37}}}):i)+'" id="'+c(s(i=null!=(i=f(n,"inputId")||(null!=t?f(t,"inputId"):t))?i:l)===u?i.call(a,{name:"inputId",hash:{},data:o,loc:{start:{line:1,column:43},end:{line:1,column:54}}}):i)+'"/><label for="'+c(s(i=null!=(i=f(n,"inputId")||(null!=t?f(t,"inputId"):t))?i:l)===u?i.call(a,{name:"inputId",hash:{},data:o,loc:{start:{line:1,column:69},end:{line:1,column:80}}}):i)+'" data-se-for-name="'+c(s(i=null!=(i=f(n,"name")||(null!=t?f(t,"name"):t))?i:l)===u?i.call(a,{name:"name",hash:{},data:o,loc:{start:{line:1,column:100},end:{line:1,column:108}}}):i)+'">'+c(s(i=null!=(i=f(n,"placeholder")||(null!=t?f(t,"placeholder"):t))?i:l)===u?i.call(a,{name:"placeholder",hash:{},data:o,loc:{start:{line:1,column:110},end:{line:1,column:125}}}):i)+"</label>"},useData:!0}),events:{"change :checkbox":"update",keyup:function(e){e.preventDefault(),i.default.isSpaceBar(e)?this.$(":checkbox").click():i.default.isEnter(e)&&this.model.trigger("form:save")}},editMode:function(){var e=o.default.resultCtx(this.options,"placeholder",this);return""===e?e=o.default.resultCtx(this.options,"label",this):!1===e&&(e=""),this.$el.html(this.template(o.default.extend(o.default.omit(this.options,"placeholder"),{placeholder:e}))),this.$(":checkbox").prop("checked",this.getModelValue()||!1),this.$("input").customInput(),this.model.trigger("form:resize"),this},readMode:function(){return this.editMode(),this.$(":checkbox").prop("disabled",!0),this},val:function(){return this.$(":checkbox").prop("checked")},focus:function(){return this.$(":checkbox").focus()}});t.default=l,e.exports=t.default},400:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(6276)),o=u(n(4818)),i=u(n(6883)),a=u(n(1633)),s=u(n(9077)),l=u(n(7317));function u(e){return e&&e.__esModule?e:{default:e}}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}var f=function(e){return function(e){return/^[aeiou]/.test(e)}(e)?"an":"a"},d=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",u=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="o-form-input-group-controls"><span class="input-fix o-form-control"><input type="text" class="o-form-text" name="'+u(c(i=null!=(i=f(n,"key")||(null!=t?f(t,"key"):t))?i:s)===l?i.call(a,{name:"key",hash:{},data:o,loc:{start:{line:1,column:125},end:{line:1,column:132}}}):i)+'" id="'+u(c(i=null!=(i=f(n,"key")||(null!=t?f(t,"key"):t))?i:s)===l?i.call(a,{name:"key",hash:{},data:o,loc:{start:{line:1,column:138},end:{line:1,column:145}}}):i)+'" value="'+u(c(i=null!=(i=f(n,"value")||(null!=t?f(t,"value"):t))?i:s)===l?i.call(a,{name:"value",hash:{},data:o,loc:{start:{line:1,column:154},end:{line:1,column:163}}}):i)+'" placeholder="'+u(c(i=null!=(i=f(n,"placeholder")||(null!=t?f(t,"placeholder"):t))?i:s)===l?i.call(a,{name:"placeholder",hash:{},data:o,loc:{start:{line:1,column:178},end:{line:1,column:193}}}):i)+'"/></span><a href="#" class="link-button link-button-icon icon-only"><span class="icon clear-input-16 "></span></a></div><p class="o-form-input-error o-form-explain"><span class="icon icon-16 error-16-small"></span>'+u(c(i=null!=(i=f(n,"errorExplain")||(null!=t?f(t,"errorExplain"):t))?i:s)===l?i.call(a,{name:"errorExplain",hash:{},data:o,loc:{start:{line:1,column:408},end:{line:1,column:424}}}):i)+"</p>"},useData:!0}),p="o-form-has-errors",h="updateArray",m=l.default.extend({tagName:"div",className:"o-form-input-group",events:{"click a":function(e){e.preventDefault(),this.remove()},"keyup input":function(){this.update()}},isEditMode:function(){return!this.options.readOnly&&(!0!==this.options.read||!0===this.model.get("__edit__"))},initialize:function(){this.template=d(o.default.extend(this.options,{placeholder:this.getPlaceholderText(),errorExplain:this.getErrorExplainText()})),this.update=o.default.debounce(this.update,this.options.debounceDelay||s.default.DEBOUNCE_DELAY)},render:function(){return this.isEditMode()?this.$el.html(this.template):(this.$el.text(this.options.value),this.$("a").hide()),this},remove:function(){var e=arguments,t=this;this.trigger(h,null),this.$el.slideUp((function(){l.default.prototype.remove.call(t,e)}))},update:function(){var e=this.$("input").val(),t=o.default.object([i.default.DATATYPE.number,i.default.DATATYPE.integer],[a.default.parseFloat,this.parseInt]);o.default.has(t,this.options.itemType)&&(e=t[this.options.itemType](e),o.default.isNumber(e)?this.clearInvalid():this.markInvalid()),this.trigger(h,e)},markInvalid:function(){this.$el.addClass(p)},clearInvalid:function(){this.$el.removeClass(p)},getPlaceholderText:function(){var e=["Enter"];return e.push(f(this.options.itemType)),e.push(this.options.itemType.toLowerCase()),e.join(" ")},getErrorExplainText:function(){var e=["Value must be"];return e.push(f(this.options.itemType)),e.push(this.options.itemType.toLowerCase()),e.join(" ")},parseInt:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){if(/^-?\d+$/.test(e)){var t=parseInt(e,10);return o.default.isNaN(t)?e:t}return e}))});t.default=m,e.exports=t.default},3679:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(4818)),o=s(n(1937)),i=s(n(7317)),a=s(n(1648));function s(e){return e&&e.__esModule?e:{default:e}}var l=a.default.extend({tagName:"span",initialize:function(){this.$el.text(this.getModelValue())},editMode:function(){this.toggle(!0)},readMode:function(){this.toggle(!1)},getModelValue:function(){return this.options.label},toggle:function(e){this.$el.toggleClass("o-form-label-inline",e),this.$el.toggleClass("o-form-control",!e)},focus:r.default.noop});var u=i.default.extend({getParams:a.default.prototype.getParams,getParam:a.default.prototype.getParam,className:function(){var e,t;return this.getParam("noBaseClasses")?"":(e="text"===this.getParam("display")?"o-form-input-group-subtle":"o-form-input-group",t=this.getParam("inputs"),r.default.filter(t||[],(function(e){return!r.default.contains(["label","button","select"],e.type)})).length>1&&(e+=" o-form-input-group-2"),e)},initialize:function(){r.default.each(this.getParam("inputs"),(function(e){switch(e.type){case"label":this.add(l,{options:e});break;case"button":this.add((t=e,o.default.create(r.default.defaults({getReadModeString:r.default.constant(" "),focus:r.default.noop},r.default.pick(t,"click","title","href","icon")))));break;default:e=r.default.defaults({model:this.model,params:r.default.extend({autoWidth:!0},e.params||{})},e),this.add(this.getParams().create(e))}var t}),this)},focus:function(){this.first().focus()}}),c=a.default.extend({constructor:function(e){this.inputGroupView=new u(e),a.default.apply(this,arguments)},editMode:function(){this.inputGroupView.remove(),this.inputGroupView=new u(this.options),this.$el.html(this.inputGroupView.render().el)},readMode:function(){this.getParam("useChildInputsReadMode")?this.editMode():a.default.prototype.readMode.apply(this,arguments)},toStringValue:function(){var e=this.inputGroupView.map((function(e){return e.getReadModeString()}));return e.length&&r.default.every(e)?e.join(" "):" "},focus:function(){this.inputGroupView.focus()}},{LabelInput:l,InputGroupView:u});t.default=c,e.exports=t.default},7514:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=a(n(4818)),i=a(n(6565));function a(e){return e&&e.__esModule?e:{default:e}}var s=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<span class="password-toggle"><span class="eyeicon visibility-16 button-show"></span><span class="eyeicon visibility-off-16 button-hide"></span></span>'},useData:!0}),l=i.default.extend({initialize:function(){this.__showPasswordToggle()&&(this.events["click .password-toggle .button-show"]="__showPassword",this.events["click .password-toggle .button-hide"]="__hidePassword"),this.delegateEvents()},postRender:function(){this.isEditMode()&&this.__showPasswordToggle()&&(this.$el.append(s),this.$el.find('input[type="password"]').addClass("password-with-toggle")),i.default.prototype.postRender.apply(this,arguments)},__showPasswordToggle:function(){return this.options.params&&this.options.params.showPasswordToggle},__showPassword:function(){var e=this;this.$("input").attr("spellcheck",!1),i.default.prototype.changeType.apply(this,["text"]),this.$(".password-toggle .button-show").hide(),this.$(".password-toggle .button-hide").show(),this.passwordToggleTimer=o.default.delay((function(){e.__hidePassword()}),3e4)},__hidePassword:function(){i.default.prototype.changeType.apply(this,["password"]),this.$(".password-toggle .button-show").show(),this.$(".password-toggle .button-hide").hide(),this.passwordToggleTimer&&clearTimeout(this.passwordToggleTimer)}});t.default=l,e.exports=t.default},3452:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(6276)),o=c(n(5586)),i=c(n(4818)),a=c(n(2514)),s=c(n(4691)),l=c(n(7317));n(6160);var u=c(n(1648));function c(e){return e&&e.__esModule?e:{default:e}}function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}var d=s.default.isABaseView,p=l.default.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<input type="radio" name="'+u(f(i=null!=(i=c(n,"name")||(null!=t?c(t,"name"):t))?i:s)===l?i.call(a,{name:"name",hash:{},data:o,loc:{start:{line:1,column:26},end:{line:1,column:34}}}):i)+'" data-se-name="'+u(f(i=null!=(i=c(n,"realName")||(null!=t?c(t,"realName"):t))?i:s)===l?i.call(a,{name:"realName",hash:{},data:o,loc:{start:{line:1,column:50},end:{line:1,column:62}}}):i)+'" value="'+u(f(i=null!=(i=c(n,"value")||(null!=t?c(t,"value"):t))?i:s)===l?i.call(a,{name:"value",hash:{},data:o,loc:{start:{line:1,column:71},end:{line:1,column:80}}}):i)+'" id="'+u(f(i=null!=(i=c(n,"optionId")||(null!=t?c(t,"optionId"):t))?i:s)===l?i.call(a,{name:"optionId",hash:{},data:o,loc:{start:{line:1,column:86},end:{line:1,column:98}}}):i)+'"><label for="'+u(f(i=null!=(i=c(n,"optionId")||(null!=t?c(t,"optionId"):t))?i:s)===l?i.call(a,{name:"optionId",hash:{},data:o,loc:{start:{line:1,column:112},end:{line:1,column:124}}}):i)+'" data-se-for-name="'+u(f(i=null!=(i=c(n,"realName")||(null!=t?c(t,"realName"):t))?i:s)===l?i.call(a,{name:"realName",hash:{},data:o,loc:{start:{line:1,column:144},end:{line:1,column:156}}}):i)+'" class="radio-label">'+u(f(i=null!=(i=c(n,"label")||(null!=t?c(t,"label"):t))?i:s)===l?i.call(a,{name:"label",hash:{},data:o,loc:{start:{line:1,column:178},end:{line:1,column:187}}}):i)+"</label>"},useData:!0}),initialize:function(e){var t;t=e.explain,i.default.isFunction(t)&&!d(t)&&(t=i.default.resultCtx(this.options,"explain",this)),t&&(d(t)?(this.add('<p class="o-form-explain"></p>',".radio-label"),this.add(t,".o-form-explain")):this.add(l.default.extend({className:"o-form-explain",tagName:"p",template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(i=null!=(i=a(n,"explain")||(null!=t?a(t,"explain"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"explain",hash:{},data:o,loc:{start:{line:1,column:0},end:{line:1,column:11}}}):i)},useData:!0})}),".radio-label"))}}),h=u.default.extend({events:{"change :radio":"update",keyup:function(e){a.default.isSpaceBar(e)?(0,o.default)(e.target).click():a.default.isEnter(e)&&this.model.trigger("form:save")}},editMode:function(){var e=[];this.$el.empty(),i.default.each(this.options.options,(function(t,n){var r={optionId:i.default.uniqueId("option"),name:this.options.inputId,realName:this.options.name,value:n};i.default.isObject(t)||(t={label:t}),i.default.extend(r,t),e.push(new p(r).render().el)}),this),this.$el.append(e);var t=this.getModelValue();return t&&this.$(":radio[value="+t+"]").prop("checked",!0),this.$("input").customInput(),this.model.trigger("form:resize"),!0===this.getParam("inline")&&this.$("div.custom-radio").addClass("inline"),this},readMode:function(){return this.editMode(),this.$(":radio").prop("disabled",!0),this},val:function(){return this.$(":radio:checked").val()},focus:function(){return this.$("label:eq(0)").focus()}});t.default=h,e.exports=t.default},7613:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(6276)),o=c(n(5586)),i=c(n(4818)),a=c(n(2514));n(1169);var s=c(n(1648)),l=c(n(4691)),u=c(n(1633));function c(e){return e&&e.__esModule?e:{default:e}}function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}var d=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<select id="'+u(f(i=null!=(i=c(n,"inputId")||(null!=t?c(t,"inputId"):t))?i:s)===l?i.call(a,{name:"inputId",hash:{},data:o,loc:{start:{line:1,column:12},end:{line:1,column:23}}}):i)+'" name="'+u(f(i=null!=(i=c(n,"name")||(null!=t?c(t,"name"):t))?i:s)===l?i.call(a,{name:"name",hash:{},data:o,loc:{start:{line:1,column:31},end:{line:1,column:39}}}):i)+'"></select>'},useData:!0}),p=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<option value="'+u(f(i=null!=(i=c(n,"key")||(null!=t?c(t,"key"):t))?i:s)===l?i.call(a,{name:"key",hash:{},data:o,loc:{start:{line:1,column:15},end:{line:1,column:22}}}):i)+'">'+u(f(i=null!=(i=c(n,"value")||(null!=t?c(t,"value"):t))?i:s)===l?i.call(a,{name:"value",hash:{},data:o,loc:{start:{line:1,column:24},end:{line:1,column:33}}}):i)+"</option>"},useData:!0}),h=l.default.isSafari;function m(e){return this.params.autoWidth?e.call(this):i.default.defer(i.default.bind(e,this))}function v(e,t,n){var r=n.offset();e.css({left:r.left,top:r.top});var i=(0,o.default)(window),a=t.outerHeight(),s=a+t.offset().top-i.scrollTop(),l=i.height()-20,u=Math.min(a+l-s,240);t.css("max-height",u)}function g(e,t){var n=e.next(".chzn-container"),r=n.clone(),a=n.find(".chzn-results"),s=n.find(".chzn-search input[type=text]");s.on("keyup",(function(){!function(e,t,n){var r=n.find(".active-result.highlighted");if(t.find("#"+e.attr("id")+"_txt").attr("aria-activedescendant",r.attr("id")),n.find("[aria-selected=true]").attr("aria-selected","false"),r.attr("aria-selected","true"),h()){var i=u.default.localize("oform.selectInput.country","courage",[r.text()]),a=e.attr("id");""!==i&&(0,o.default)("#".concat(a,"_aria_div_id")).text(i)}var s=n.find("li.no-results");s.length&&s.attr("role","alert")}(e,n,a)})),n.addClass("closed"),r.css("visibility","hidden"),r.removeAttr("id"),r.find("li").removeAttr("id");var l={left:n.css("left"),top:n.css("top"),position:n.css("position"),float:n.css("float"),"z-index":n.css("z-index")};a.hide();var c=i.default.debounce((function(){v(n,a,r)}),10);e.off(".fixChosen"),e.on("liszt:showing_dropdown.fixChosen",(function(){n.width(n.width()),e.after(r),n.css({position:"absolute",float:"none","z-index":5e4,top:-999999}),(0,o.default)("body").append(n),(0,o.default)(".chzn-search > :text").prop("placeholder",t),a.show(),v(n,a,r),e.parents().scroll(c),(0,o.default)(window).on("resize scroll",c)})),e.on("liszt:showing_dropdown",(function(){n.removeClass("closed")})),e.on("liszt:hiding_dropdown.fixChosen remove.fixChosen",(function(){e.parents().off("scroll",c),(0,o.default)(window).off("resize scroll",c),n.css(l),a.hide(),n.addClass("closed"),a.css("max-height",240),r.remove(),e.after(n)})),e.on("liszt:hiding_dropdown.fixChosen",(function(){s.focus()}))}var y=s.default.extend({className:"o-form-select",events:{"change select":"update","keyup .chzn-search > :text":function(e){a.default.isEsc(e)&&(this.$(".chzn-search > :text").val(""),e.stopPropagation())}},constructor:function(){this.template=d,this.option=this.option||p,s.default.apply(this,arguments),this.params=this.options.params||{}},editMode:function(){this.$el.html(d(this.options)),this.$select=this.$("select"),this.appendOptions();var e=this.getModelValue();return e?this.$select.val(e):this.$("option:first-child").prop("selected",!0),this.$el.addClass("o-form-control"),!1!==this.params.chosen&&this.__applyChosen(),this},appendOptions:function(){var e=this;if(this.getOptions()){var t=this.getOptions(),n=Object.keys(t);this.applySortByKey(n),n.forEach((function(n){e.$select.append(e.option({key:n,value:t[n]}))}))}},applySortByKey:function(e){var t=this.options.sortByKey;t&&(t instanceof Function&&e.sort(t),"asc"===t&&e.sort(),"desc"===t&&(e.sort(),e.reverse()))},__applyChosen:function(e){var t=this.options.wide?"100%":this.params.width||"62%";this.params.autoWidth&&(t=function(e){e.$select.hide();var t=(0,o.default)(e.$select[0]).hide();(0,o.default)("body").append(t);var n=e.params.width=1.2*t.width()+"px";return e.$el.append(t.show()),n}(this)),m.call(this,(function(){var n=this.getParam("searchThreshold",10);i.default.result(this.options,"autoRender")||!1===e||this.update(),this.$select.chosen({width:t,disable_search_threshold:n,placeholder_text:this.options.placeholder,search_contains:!0});var r=this.options&&this.options.options&&Object.keys(this.options.options).length>n;this.accessibilityUpdate(r,this.params),g(this.$select,this.searchPlaceholder),this.params.autoWidth&&this.$el.width(0),this.model.trigger("form:resize")}))},val:function(){return this.$select&&this.$select.val()},focus:function(){if(this.$select)return this.$select.focus()},toStringValue:function(){var e=this.getModelValue(),t=e,n=this.getOptions();return i.default.isEmpty(n)||(t=n[e]),i.default.isUndefined(t)&&(t=this.defaultValue()),t||""},getOptions:function(){var e=this.options.options;return i.default.isFunction(e)&&(e=e.call(this)),i.default.isObject(e)?e:{}},remove:function(){return this.$select&&this.$select.trigger("remove"),s.default.prototype.remove.apply(this,arguments)},createAriaLiveNode:function(e){var t=this.$select.next(".chzn-container");(0,o.default)("<div></div>").attr("role","log").attr("aria-live","polite").attr("id",e).attr("aria-relevant","additions").attr("aria-atomic","false").attr("class","off-screen").insertAfter(t)},accessibilityUpdate:function(e,t){var n=this.$select.attr("id")+"_txt",r=this.$select.attr("id")+"_aria_div_id",o=this.$select.attr("id")+"_ul";if(h()&&this.createAriaLiveNode(r),this.$("ul[class=chzn-results]").attr("role","listbox").attr("id",o),e?this.$("input[type=text]").attr("id",n).attr("aria-autocomplete","list").attr("aria-activedescendant","").attr("role","combobox").attr("aria-expanded","true").attr("aria-controls",o):this.$("input[type=text]").attr("id",n).attr("role","listbox"),t&&t.aria&&t.aria.label){var i=t.aria.label.trim();this.$("input[type=text]").attr("id",n).attr("aria-label",i),this.$("ul[class=chzn-results]").attr("aria-label",i)}else{var a=this.$el.parent().prev(".o-form-label").find("label").text().trim();this.$("input[type=text]").attr("id",n).attr("aria-label",a),this.$("ul[class=chzn-results]").attr("aria-label",a)}this.$(".chzn-results .active-result").attr("role","option").attr("aria-selected","false")}});t.default=y,e.exports=t.default},6565:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(6276)),o=s(n(5586));n(3506);var i=s(n(2514));n(4221);var a=s(n(1648));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}var u="okta-form-input-field input-fix";var c=a.default.extend({template:r.default.template({1:function(e,t,n,r,o){return'<span class="input-tooltip icon form-help-16"></span>'},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="icon input-icon '+e.escapeExpression(e.lambda(null!=(i=null!=t?a(t,"params"):t)?a(i,"icon"):i,t))+'"></span>'},5:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(i=null!=(i=a(n,"autoComplete")||(null!=t?a(t,"autoComplete"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"autoComplete",hash:{},data:o,loc:{start:{line:1,column:333},end:{line:1,column:349}}}):i)},7:function(e,t,n,r,o){return"off"},9:function(e,t,n,r,o){return'<span class="input-icon-divider"></span>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c="function",f=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=d(n,"if").call(s,null!=(i=null!=t?d(t,"params"):t)?d(i,"innerTooltip"):i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:87}}}))?i:"")+(null!=(i=d(n,"if").call(s,null!=(i=null!=t?d(t,"params"):t)?d(i,"icon"):i,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:87},end:{line:1,column:166}}}))?i:"")+'<input type="'+f(l(a=null!=(a=d(n,"type")||(null!=t?d(t,"type"):t))?a:u)===c?a.call(s,{name:"type",hash:{},data:o,loc:{start:{line:1,column:179},end:{line:1,column:187}}}):a)+'" placeholder="'+f(l(a=null!=(a=d(n,"placeholder")||(null!=t?d(t,"placeholder"):t))?a:u)===c?a.call(s,{name:"placeholder",hash:{},data:o,loc:{start:{line:1,column:202},end:{line:1,column:217}}}):a)+'" name="'+f(l(a=null!=(a=d(n,"name")||(null!=t?d(t,"name"):t))?a:u)===c?a.call(s,{name:"name",hash:{},data:o,loc:{start:{line:1,column:225},end:{line:1,column:233}}}):a)+'" id="'+f(l(a=null!=(a=d(n,"inputId")||(null!=t?d(t,"inputId"):t))?a:u)===c?a.call(s,{name:"inputId",hash:{},data:o,loc:{start:{line:1,column:239},end:{line:1,column:250}}}):a)+'" value="'+f(l(a=null!=(a=d(n,"value")||(null!=t?d(t,"value"):t))?a:u)===c?a.call(s,{name:"value",hash:{},data:o,loc:{start:{line:1,column:259},end:{line:1,column:268}}}):a)+'" aria-label="'+f(l(a=null!=(a=d(n,"placeholder")||(null!=t?d(t,"placeholder"):t))?a:u)===c?a.call(s,{name:"placeholder",hash:{},data:o,loc:{start:{line:1,column:282},end:{line:1,column:297}}}):a)+'" autocomplete="'+(null!=(i=d(n,"if").call(s,null!=t?d(t,"autoComplete"):t,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.program(7,o,0),data:o,loc:{start:{line:1,column:313},end:{line:1,column:367}}}))?i:"")+'" />'+(null!=(i=d(n,"if").call(s,null!=(i=null!=t?d(t,"params"):t)?d(i,"iconDivider"):i,{name:"if",hash:{},fn:e.program(9,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:371},end:{line:1,column:444}}}))?i:"")},useData:!0}),events:{"input input":"update","change input":"update","keydown input":"update","compositionend input":function(){this.isComposing=!1},"compositionstart input":function(){this.isComposing=!0},"keyup input":function(e){!i.default.isEnter(e)||window.okta&&window.okta.enableIMESupport?i.default.isEsc(e)&&this.model.trigger("form:cancel"):this.model.trigger("form:save")}},hasIMESupport:!0,constructor:function(){a.default.apply(this,arguments),this.$el.addClass("o-form-control")},editMode:function(){this.$el.addClass(u),a.default.prototype.editMode.apply(this,arguments),this.$("input").placeholder()},readMode:function(){a.default.prototype.readMode.apply(this,arguments),"password"===this.options.type&&this.$el.text("********"),this.$el.removeClass(u)},val:function(){var e=this.$('input[type="'+this.options.type+'"]').val();return"password"!==this.options.type&&(e=o.default.trim(e)),e},focus:function(){return this.$("input").focus()},postRender:function(){var e,t=this.options.params;if(t&&t.innerTooltip){var n=function(e){var t=e.title,n=e.text;return t&&n&&t!==n}(e=t.innerTooltip)?e:{text:e.text||e};this.$(".input-tooltip").qtip({content:n,style:{classes:"okta-tooltip qtip-custom qtip-shadow"},position:{my:"bottom left",target:"mouse",adjust:{method:"flip",mouse:!0,y:-5,x:5},viewport:(0,o.default)("body")}})}}});t.default=c,e.exports=t.default},7544:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(6276)),o=l(n(4818)),i=l(n(6883)),a=l(n(1648)),s=l(n(400));function l(e){return e&&e.__esModule?e:{default:e}}var u=a.default.extend({className:"array-input",template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="array-inputs-button link-button">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"courage",code:"oform.add.another"},data:o,loc:{start:{line:1,column:52},end:{line:1,column:102}}}))+"</a>"},useData:!0}),params:{itemType:"string"},events:{"click .array-inputs-button":function(e){e.preventDefault(),this.isEditMode()&&this.addNewElement()}},initialize:function(e){e||(e={}),this.params=o.default.defaults(e.params||{},this.params),this.uniqueIdPrefix="array"},from:function(e){return o.default.isArray(e)?e:[]},editMode:function(){return this._setArrayObject(),this.$el.html(this.template),o.default.each(this.arrayObject,o.default.bind(this._addDeletableBox,this)),this},readMode:function(){this.editMode(),this.$(".array-inputs-button").addClass("link-button-disabled")},val:function(){var e=o.default.values(this.arrayObject);return o.default.contains([i.default.DATATYPE.number,i.default.DATATYPE.integer],this.params.itemType)&&(e=o.default.filter(e,o.default.isNumber)),e},focus:function(){},addNewElement:function(){var e=o.default.uniqueId(this.uniqueIdPrefix);this.arrayObject[e]="",this._addDeletableBox("",e),this.update()},_addDeletableBox:function(e,t){var n=new s.default(o.default.extend(o.default.pick(this.options,"read","readOnly","model"),{key:t,value:e,itemType:this.params.itemType}));return this.listenTo(n,"updateArray",(function(e){o.default.isNull(e)?(delete this.arrayObject[t],this.stopListening(n)):this.arrayObject[t]=e,this.update()})),n.render().$el.hide(),this.$(".array-inputs-button").before(n.el),n.$el.slideDown(),n},_setArrayObject:function(){var e=this.model.get(this.options.name);if(this.arrayObject={},o.default.isArray(e)&&!o.default.isEmpty(e)){var t=[],n=this;(0,o.default)(e.length).times((function(){t.push(o.default.uniqueId(n.uniqueIdPrefix))})),this.arrayObject=o.default.object(t,e)}}});t.default=u,e.exports=t.default},9663:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={extend:function(){}},e.exports=t.default},2048:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"$",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"Backbone",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"BaseModel",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"Collection",{enumerable:!0,get:function(){return r.Collection}}),Object.defineProperty(t,"Controller",{enumerable:!0,get:function(){return r.Controller}}),Object.defineProperty(t,"Form",{enumerable:!0,get:function(){return r.Form}}),Object.defineProperty(t,"FrameworkView",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"Handlebars",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"ListView",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"Model",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"Router",{enumerable:!0,get:function(){return r.Router}}),Object.defineProperty(t,"View",{enumerable:!0,get:function(){return r.View}}),Object.defineProperty(t,"_",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"createButton",{enumerable:!0,get:function(){return r.createButton}}),Object.defineProperty(t,"createCallout",{enumerable:!0,get:function(){return r.createCallout}}),Object.defineProperty(t,"internal",{enumerable:!0,get:function(){return r.internal}}),Object.defineProperty(t,"isModelPropertySchema",{enumerable:!0,get:function(){return i.isModelPropertySchema}}),Object.defineProperty(t,"loc",{enumerable:!0,get:function(){return r.loc}}),Object.defineProperty(t,"registerInput",{enumerable:!0,get:function(){return r.registerInput}});var r=n(2402),o=p(n(6276));n(3378),n(7827),n(5631),n(4329),n(7169),n(2259);var i=n(6401),a=p(n(7582)),s=p(n(5586)),l=p(n(4818)),u=p(n(9458)),c=p(n(8967)),f=p(n(5771)),d=p(n(1357));function p(e){return e&&e.__esModule?e:{default:e}}},2597:function(e,t,n){"use strict";var r,o=(r=n(5586))&&r.__esModule?r:{default:r};o.default.fn.scrollParent=function(e){var t=this.css("position"),n="absolute"===t,r=e?/(auto|scroll|hidden)/:/(auto|scroll)/,i=this.parents().filter((function(){var e=(0,o.default)(this);return(!n||"static"!==e.css("position"))&&r.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))})).eq(0);return"fixed"!==t&&i.length?i:(0,o.default)(this[0].ownerDocument||document)}},6316:function(e){function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)
/**
* TypingDNA - Typing Biometrics JavaScript API
* https://api.typingdna.com/scripts/typingdna.js
* https://typingdna.com/scripts/typingdna.js (alternative)
*
* @version 2.15
* @author Raul Popa
* @copyright SC TypingDNA SRL, http://typingdna.com
* @license http://www.apache.org/licenses/LICENSE-2.0
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Typical usage:
* var tdna = new TypingDNA(); // creates a new TypingDNA object and starts recording
* var typingPattern = tdna.getTypingPattern({type=1, text="Hello5g21?*"});
* returns a type 1 typing pattern (and continues recording afterwards)
*
* Optional:
* tdna.stop(); // ends recording and clears history stack (returns recording flag: false)
* tdna.start(); // restarts the recording after a stop (returns recording flag: true)
* tdna.reset(); // restarts the recording anytime, clears history stack and starts from scratch (returns nothing)
* var typingPatternQuality = TypingDNA.getQuality(typingPattern); //returns the quality/strength of any typing pattern
* (there is no need to initialize the class to do pattern quality checking)
*/}e.exports=function e(){if(1==e.initialized)return e.instance;for(var n in e.prototype.start=function(){return e.start.apply(this,arguments)},e.prototype.stop=function(){return e.stop.apply(this,arguments)},e.prototype.reset=function(){return e.reset.apply(this,arguments)},e.prototype.addTarget=function(){return e.addTarget.apply(this,arguments)},e.prototype.removeTarget=function(){return e.removeTarget.apply(this,arguments)},e.prototype.getTypingPattern=function(){return e.getTypingPattern.apply(this,arguments)},e.prototype.get=function(){return e.get.apply(this,arguments)},e.prototype.startDiagram=function(){},e.prototype.stopDiagram=function(){},e.prototype.getDiagram=function(){return e.getDiagram.apply(this,arguments)},e.prototype.getExtendedDiagram=function(){return e.getExtendedDiagram.apply(this,arguments)},e.prototype.getMouseDiagram=function(){return e.getMouseDiagram.apply(this,arguments)},e.prototype.startMouse=function(){return e.startMouse.apply(this,arguments)},e.prototype.stopMouse=function(){return e.stopMouse.apply(this,arguments)},e.prototype.getQuality=function(){return e.getQuality.apply(this,arguments)},e.prototype.getLength=function(){return e.getLength.apply(this,arguments)},e.prototype.isMobile=function(){return e.isMobile.apply(this,arguments)},e.prototype.getTextId=function(){return e.getTextId.apply(this,arguments)},e.initialized=!0,e.prototype.maxHistoryLength=e.maxHistoryLength,e.prototype.defaultHistoryLength=e.defaultHistoryLength,e.prototype.maxSeekTime=e.maxSeekTime,e.prototype.maxPressTime=e.maxPressTime,e.version=2.15,e.flags=0,e.instance=this,e.document=document,e.maxHistoryLength=2e3,e.maxSeekTime=1500,e.maxPressTime=300,e.defaultHistoryLength=160,e.spKeyCodes=[8,13,32],e.spKeyCodesObj={8:1,13:1,32:1},e.keyCodes=[65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,32,222,188,190,186,187,189,191,48,49,50,51,52,53,54,55,56,57],e.keyCodesObj={},e.keyCodes)e.keyCodesObj[e.keyCodes[n]]=1;e.pt1=e.ut1=(new Date).getTime(),e.wfk=[],e.sti=[],e.skt=[],e.recording=!0,e.mouseRecording=!0,e.mouseMoveRecording=!1,e.spKeyRecording=!0,e.diagramRecording=!0,e.dwfk=[],e.dsti=[],e.dskt=[],e.drkc=[],e.prevKeyCode=0,e.maxMoveDeltaTime=600,e.maxScrollDeltaTime=800,e.maxStopTime=1500,e.maxClickTime=600,e.maxMouseHistoryLength=500,e.lastMouseMoveTime=e.lastMouseDownTime=(new Date).getTime(),e.stopTimes=[],e.clickTimes=[],e.lastMouseStop=!0,e.zl=1e-7,e.isAndroidChrome=!1,e.ACLastTime=(new Date).getTime(),e.ACSeekTime=0,e.ACPressTime=0,e.ACLastCharCode=0,e.ACLastKeyCode=0,e.ACInputLengths={inputs:[],lastLength:[]},e.ACPreviousKeyCode=0,e.targetIds=[],e.lastTarget="",e.lastTargetFound=!1,e.replaceMissingKeys=!0,e.replaceMissingKeysPerc=7,e.keyDown=function(t){if((e.recording||e.diagramRecording)&&e.isTarget(t.target.id)){var n=t.keyCode;if(1==e.wfk[n]||e.dwfk[n],229==n&&e.isMobile()&&!e.isAndroidChrome)e.isAndroidChrome=!0,e.ACSeekTime=(new Date).getTime()-e.ACLastTime,e.ACLastTime=(new Date).getTime(),e.document.removeEventListener("keydown",e.keyDown),e.document.removeEventListener("keyup",e.keyUp),e.document.removeEventListener("keypress",e.keyPress),e.document.addEventListener("keydown",e.ACKeyDown),e.document.addEventListener("keyup",e.ACKeyUp);else{var r=e.pt1,o=(e.pt1=(new Date).getTime())-r,i=e.pt1;(1==e.recording||e.spKeyCodesObj[n]&&1==e.spKeyRecording)&&(t.shiftKey&&!e.isMobile()||(e.wfk[n]=1,e.skt[n]=o,e.sti[n]=i)),1==e.diagramRecording&&(e.dwfk[n]=1,e.dskt[n]=o,e.dsti[n]=i,e.dlastDownKey=n)}}},e.keyPress=function(t){(e.recording||e.diagramRecording)&&(e.isTarget(t.target.id)&&1==e.diagramRecording&&(e.drkc[e.dlastDownKey]=t.charCode))},e.keyUp=function(t){if((e.recording||e.diagramRecording)&&e.isTarget(t.target.id)){var n=(new Date).getTime(),r=t.keyCode;if(1==e.recording||e.spKeyCodesObj[r]&&1==e.spKeyRecording){if((!t.shiftKey||e.isMobile())&&1==e.wfk[r]){var o=n-e.sti[r],i=[r,e.skt[r],o,e.prevKeyCode,n,t.target.id];e.history.add(i),e.prevKeyCode=r}e.wfk[r]=0}if(1==e.diagramRecording){if(null!=e.drkc[r]&&0!=e.drkc[r]&&1==e.dwfk[r]){o=n-e.dsti[r];var a=[r,e.dskt[r],o,e.drkc[r],n,t.target.id];e.history.addDiagram(a)}e.dwfk[r]=0}}},e.mouseScroll=function(t){if(1==e.mouseRecording&&1==e.mouseMoveRecording)if(1==e.mouse.scrollStarted){var n=(new Date).getTime();e.mouse.scrollTimes.push(n),e.mouse.scrollTopArr.push(e.document.body.scrollTop),clearInterval(e.scrollInterval),e.scrollInterval=setInterval(e.mouse.checkScroll,e.maxScrollDeltaTime)}else e.mouse.scrollStarted=!0},e.mouseMove=function(t){if(1==e.mouseRecording){var n=(new Date).getTime();1==e.mouseMoveRecording&&(1==e.mouse.started?(e.mouse.times.push(n),e.mouse.xPositions.push(t.screenX),e.mouse.yPositions.push(t.screenY),clearInterval(e.moveInterval),e.moveInterval=setInterval(e.mouse.checkMove,e.maxMoveDeltaTime)):e.mouse.started=!0),e.lastMouseMoveTime=n}},e.mouseDown=function(t){if(1==e.mouseRecording&&(e.mouse.checkMove(),e.mouse.checkScroll(),1==t.which)){var n=(e.lastMouseDownTime=(new Date).getTime())-e.lastMouseMoveTime;if(n<e.maxStopTime&&0==e.lastMouseStop&&(e.stopTimes.push(n),1==e.mouseMoveRecording)){var r=[3,n];e.mouse.history.add(r),e.lastMouseStop=!0}}},e.mouseUp=function(t){if(1==e.mouseRecording&&1==t.which){var n=(new Date).getTime()-e.lastMouseDownTime;if(n<e.maxClickTime&&e.lastMouseDownTime>e.lastMouseMoveTime&&(e.clickTimes.push(n),1==e.mouseMoveRecording)){var r=[4,n];e.mouse.history.add(r)}}},e.ACKeyDown=function(t){(e.recording||e.diagramRecording)&&(e.ACSeekTime=(new Date).getTime()-e.ACLastTime,e.ACLastTime=(new Date).getTime(),e.isTarget(t.target.id)&&-1===e.ACInputLengths.inputs.indexOf(t.target)&&(e.ACInputLengths.inputs.push(t.target),e.ACInputLengths.lastLength.push(0)))},e.ACKeyUp=function(t){if((e.recording||e.diagramRecording)&&(e.ACPressTime=(new Date).getTime()-e.ACLastTime,e.ACLastTime=(new Date).getTime(),e.isTarget(t.target.id))){var n=t.keyCode,r=e.ACInputLengths.inputs.indexOf(t.target);if(-1===r&&(e.ACInputLengths.inputs.push(t.target),e.ACInputLengths.lastLength.push(0),r=e.ACInputLengths.inputs.indexOf(t.target)),229==n&&t.target.value.length>=e.ACInputLengths.lastLength[r]){var o=t.target.value.substr(t.target.selectionStart-1||0,1);n=o.toUpperCase().charCodeAt(0),e.ACLastCharCode=o.charCodeAt(0),e.ACLastKeyCode=o.toUpperCase().charCodeAt(0)}e.ACInputLengths.lastLength[r]=t.target.value.length;var i=[n,e.ACSeekTime,e.ACPressTime,e.ACPreviousKeyCode,e.ACLastTime];if(e.history.add(i),e.ACPreviousKeyCode=n,1==e.diagramRecording){var a=[n,e.ACSeekTime,e.ACPressTime,e.ACLastCharCode];e.history.addDiagram(a)}}},e.isTarget=function(t){if(e.lastTarget==t&&e.lastTargetFound)return!0;var n=e.targetIds.length,r=!1;if(n>0){for(var o=0;o<n;o++)if(e.targetIds[o]==t){r=!0;break}return e.lastTarget=t,e.lastTargetFound=r,r}return e.lastTarget=t,e.lastTargetFound=!0,!0},e.document.addEventListener?(e.document.addEventListener("keydown",e.keyDown),e.document.addEventListener("keyup",e.keyUp),e.document.addEventListener("keypress",e.keyPress),e.document.addEventListener("mousemove",e.mouseMove),e.document.addEventListener("mousedown",e.mouseDown),e.document.addEventListener("mouseup",e.mouseUp),e.document.addEventListener("scroll",e.mouseScroll)):e.document.attachEvent&&(e.document.attachEvent("onkeydown",e.keyDown),e.document.attachEvent("onkeyup",e.keyUp),e.document.attachEvent("onkeypress",e.keyPress),e.document.attachEvent("onmousemove",e.mouseMove),e.document.attachEvent("onmousedown",e.mouseDown),e.document.attachEvent("onmouseup",e.mouseUp),e.document.attachEvent("onscroll",e.mouseScroll)),(e.mouse={}).times=[],e.mouse.xPositions=[],e.mouse.yPositions=[],e.mouse.scrollTimes=[],e.mouse.scrollTopArr=[],e.mouse.history={},e.mouse.history.stack=[],e.mouse.getDistance=function(e,t){return Math.sqrt(e*e+t*t)},e.mouse.getTotalDistance=function(t,r){var o=0,i=t.length;for(n=1;n<i-1;n++){var a=t[n]-t[n-1],s=r[n]-r[n-1];o+=e.mouse.getDistance(a,s)}return o},e.mouse.getAngle=function(e,t){var n=t<0;return e>=0?n?180+Math.round(Math.atan(Math.abs(e)/(Math.abs(t)+1e-7))/.01745329251):90-Math.round(Math.atan(Math.abs(e)/(Math.abs(t)+1e-7))/.01745329251)+270:n?90-Math.round(Math.atan(Math.abs(e)/(Math.abs(t)+1e-7))/.01745329251)+90:Math.round(Math.atan(Math.abs(e)/(Math.abs(t)+1e-7))/.01745329251)},e.mouse.recordMoveAction=function(){var t=e.mouse.times.length;if(!(t<3)){var r=e.mouse.times[t-1]-e.mouse.times[0],o=e.mouse.xPositions[t-1]-e.mouse.xPositions[0],i=e.mouse.yPositions[t-1]-e.mouse.yPositions[0],a=Math.round(e.mouse.getDistance(o,i)),s=Math.round(e.mouse.getTotalDistance(e.mouse.xPositions,e.mouse.yPositions)),l=Math.round(100*s/a),u=[1,r,a,Math.round(100*a/r),e.mouse.getAngle(o,i),l];for(n in u)if(isNaN(u[n]))return;e.mouse.history.add(u),e.lastMouseStop=!1}},e.mouse.recordScrollAction=function(){var t=e.mouse.scrollTimes.length;if(!(t<2)){var r=e.mouse.scrollTimes[t-1]-e.mouse.scrollTimes[0],o=e.mouse.scrollTopArr[t-1]-e.mouse.scrollTopArr[0],i=[2,r,o,Math.round(100*o/r)];for(n in i)if(isNaN(i[n])&&!isFinite(i[n]))return;e.mouse.history.add(i)}},e.mouse.history.add=function(t){this.stack.push(t),this.stack.length>e.maxMouseHistoryLength&&this.stack.shift()},e.mouse.history.getDiagram=function(){var t=this.stack.join("|");return[String(e.isMobile())+","+String(e.version),t].join("|")},e.mouse.clearLastMove=function(){e.mouse.times=[],e.mouse.xPositions=[],e.mouse.yPositions=[]},e.mouse.checkMove=function(){clearInterval(e.moveInterval),1==e.mouse.started&&(e.mouse.started=!1,e.mouse.recordMoveAction(),e.mouse.clearLastMove())},e.mouse.clearLastScroll=function(){e.mouse.scrollTimes=[],e.mouse.scrollTopArr=[]},e.mouse.checkScroll=function(){clearInterval(e.scrollInterval),1==e.mouse.scrollStarted&&(e.mouse.scrollStarted=!1,e.mouse.recordScrollAction(),e.mouse.clearLastScroll())},e.addTarget=function(t){var n=e.targetIds.length,r=!1;if(n>0){for(var o=0;o<n;o++)if(e.targetIds[o]==t){r=!0;break}r||e.targetIds.push(t)}else e.targetIds.push(t)},e.removeTarget=function(t){var n=e.targetIds.length;if(n>0)for(var r=0;r<n;r++)if(e.targetIds[r]==t){e.targetIds.splice(r,1);break}},e.reset=function(t){e.history.stack=[],e.history.stackDiagram=[],e.clickTimes=[],e.stopTimes=[],e.ACInputLengths={inputs:[],lastLength:[]},1==t&&(e.mouse.history.stack=[])},e.start=function(){return e.diagramRecording=!0,e.recording=!0},e.stop=function(){return e.diagramRecording=!1,e.recording=!1},e.startMouse=function(){return e.mouseRecording=e.mouseMoveRecording=!0},e.stopMouse=function(){return e.mouseRecording=e.mouseMoveRecording=!1},e.getTypingPattern=function(t){if("object"!==r(t))return e.get();switch(t.type){case 0:return e.get(t.length,t.targetId);case 1:var n=null!=t.text?t.text:t.length;return e.history.getDiagram(t.extended,n,t.textId,t.targetId,t.caseSensitive);case 2:n=null!=t.text?t.text:t.length;return e.history.getDiagram(!0,n,t.textId,t.targetId,t.caseSensitive);default:return e.get(t.length)}},e.getDiagram=function(t,n){return e.history.getDiagram(!1,t,n,void 0,!1)},e.getExtendedDiagram=function(t,n){return e.history.getDiagram(!0,t,n,void 0,!1)},e.getMouseDiagram=function(){return e.mouse.history.getDiagram()},e.get=function(n,r){var o=e.history.stack.length;null!=n&&0!=n||(n=e.defaultHistoryLength),n>o&&(n=o);var i={},a=t(e.history.get(n,"",r),2);i.arr=a[0],targetLength=a[1],null!=r&&""!=r&&(n=targetLength);var s=e.zl,l=n,u=e.math.fo(e.history.get(n,"seek",r)),c=e.math.fo(e.history.get(n,"press",r)),f=Math.round(e.math.avg(c)),d=Math.round(e.math.avg(u)),p=Math.round(e.math.sd(c)),h=Math.round(e.math.sd(u)),m=d+f,v=e.math.rd((f+s)/(m+s),4),g=e.math.rd((1-v)/v,4),y=e.math.rd((p+s)/(f+s),4),b=e.math.rd((h+s)/(f+s),4),_=Math.round(6e4/(m+s));for(var w in 0==l&&(_=0),i.arr){var O=i.arr[w][1].length,k=0,E=0,S=0,x=0,T=0,A=0;switch(i.arr[w][0].length){case 0:break;case 1:k=e.math.rd((i.arr[w][0][0]+s)/(d+s),4);break;default:var C=e.math.fo(i.arr[w][0]);k=e.math.rd((e.math.avg(C)+s)/(d+s),4),x=e.math.rd((e.math.sd(C)+s)/(h+s),4)}switch(i.arr[w][1].length){case 0:break;case 1:E=e.math.rd((i.arr[w][1][0]+s)/(f+s),4);break;default:var C=e.math.fo(i.arr[w][1]);E=e.math.rd((e.math.avg(C)+s)/(f+s),4),T=e.math.rd((e.math.sd(C)+s)/(p+s),4)}switch(i.arr[w][2].length){case 0:break;case 1:S=e.math.rd((i.arr[w][2][0]+s)/(d+s),4);break;default:C=e.math.fo(i.arr[w][2]);S=e.math.rd((e.math.avg(C)+s)/(d+s),4),A=e.math.rd((e.math.sd(C)+s)/(h+s),4)}delete i.arr[w][2],delete i.arr[w][1],delete i.arr[w][0],i.arr[w][0]=O,i.arr[w][1]=k,i.arr[w][2]=E,i.arr[w][3]=S,i.arr[w][4]=x,i.arr[w][5]=T,i.arr[w][6]=A}e.apu(C=[],l),e.apu(C,_),e.apu(C,m),e.apu(C,v),e.apu(C,g),e.apu(C,y),e.apu(C,b),e.apu(C,f),e.apu(C,d),e.apu(C,p),e.apu(C,h);for(var P=0;P<=6;P++)for(w=0;w<44;w++){var R=e.keyCodes[w],N=i.arr[R][P];0==N&&P>0&&(N=1),e.apu(C,N)}return e.apu(C,e.isMobile()),e.apu(C,e.version),e.apu(C,e.flags),C.push(e.history.getSpecialKeys()),C.join(",")},e.apu=function(e,t){"NaN"==String(t)&&(t=0),e.push(t)},(e.math={}).rd=function(e,t){return Number(e.toFixed(t))},e.math.avg=function(e){var t=e.length;if(t>0){for(var n=0,r=0;r<t;r++)n+=e[r];return this.rd(n/t,4)}return 0},e.math.sd=function(e){var t=e.length;if(t<2)return 0;for(var n=0,r=this.avg(e),o=0;o<t;o++)n+=(e[o]-r)*(e[o]-r);return Math.sqrt(n/t)},e.math.fo=function(e){if(e.length>1){var t=e.concat(),n=e.length;t.sort((function(e,t){return e-t}));var r=this.sd(t),o=t[Math.ceil(e.length/2)],i=o+2*r,a=o-2*r;n<20&&(a=0);for(var s=[],l=0;l<n;l++){var u=t[l];u<i&&u>a&&s.push(u)}return s}return e},e.math.fnv1aHash=function(e){if(null==e&&"string"!=typeof e)return 0;var t,n,r=1914395348;for(t=0,n=(e=e.toLowerCase()).length;t<n;t++)r^=e.charCodeAt(t),r+=(r<<1)+(r<<4)+(r<<7)+(r<<8)+(r<<24);return r>>>0},(e.history={}).stack=[],e.history.stackDiagram=[],e.history.add=function(t){this.stack.push(t),this.stack.length>e.maxHistoryLength&&this.stack.shift()},e.history.addDiagram=function(e){this.stackDiagram.push(e)},e.history.getDiagram=function(t,n,o,i,a){a=null!=a?a:null==n||""==n;var s=[],l=1==t?1:0,u=this.stackDiagram;if(null!=i&&""!=i&&u.length>0){if(u=e.sliceStackByTargetId(u,i),null==n||""==n)null!=(d=e.document.getElementById(i))&&(n=d.value)}else{var c=e.targetIds.length;if((null==n||""==n)&&c>0){n="";for(var f=0;f<c;f++){var d;null!=(d=e.document.getElementById(e.targetIds[f]))&&(n+=d.value)}}}var p=0,h=u.length,m=h;"string"==typeof n?m=n.length:"number"==typeof n&&n<h&&(m=n);var v=0;if(null!=o?v=isNaN(parseInt(o))?e.math.fnv1aHash(o):parseInt(o):"string"==typeof n&&(v=e.math.fnv1aHash(n)),s.push([e.isMobile(),e.version,e.flags,l,m,v,e.history.getSpecialKeys()]),null!=n&&n.length>0&&"string"==typeof n){var g,y,b=n.toLowerCase(),_=n.toUpperCase(),w=[],O=0;for(f=0;f<n.length;f++){var k=n.charCodeAt(f);a||(y=(g=_.charCodeAt(f))!=k?g:b.charCodeAt(f));for(var E=O,S=h,x=!1;0==x;){for(var T=E;T<S;T++){if((L=(j=u[T])[3])==k||!a&&L==y){if(x=!0,T==O)O++,w=[];else{w.push(T);var A=w.length;A>1&&w[A-1]==w[A-2]+1&&(O=T+1,w=[])}var C=j[0],P=j[1],R=j[2];t?s.push([L,P,R,C]):s.push([P,R]);break}}if(0==x)if(0!=E)E=0,S=O;else if(x=!0,e.replaceMissingKeys){if(p++,"object"!==r(e.savedMissingAvgValues)||e.savedMissingAvgValues.historyLength!=h){var N=e.math.fo(e.history.get(0,"seek")),I=e.math.fo(e.history.get(0,"press"));P=Math.round(e.math.avg(N)),R=Math.round(e.math.avg(I));e.savedMissingAvgValues={seekTime:P,pressTime:R,historyLength:h}}else P=e.savedMissingAvgValues.seekTime,R=e.savedMissingAvgValues.pressTime;t?s.push([k,P,R,k,1]):s.push([P,R,1]);break}}if(e.replaceMissingKeysPerc<100*p/m)return null}}else{var M=0;"number"==typeof n&&(M=h-n),M<0&&(M=0);for(f=M;f<h;f++){var j;C=(j=u[f])[0],P=j[1],R=j[2];if(t){var L=j[3];s.push([L,P,R,C])}else s.push([P,R])}}return s.join("|")},e.sliceStackByTargetId=function(e,t){var r=e.length,o=[];for(n=0;n<r;n++){var i=e[n];i[5]==t&&o.push(i)}return o},e.history.get=function(t,n,r){var o=this.stack;null!=r&&""!=r&&o.length>0&&(o=e.sliceStackByTargetId(o,r));var i=o.length;switch(0!=t&&null!=t||(t=e.defaultHistoryLength),t>i&&(t=i),n){case"seek":var a=[];for(u=1;u<=t;u++){(d=o[i-u][1])<=e.maxSeekTime&&a.push(d)}return a;case"press":var s=[];for(u=1;u<=t;u++){(p=o[i-u][2])<=e.maxPressTime&&s.push(p)}return s;default:var l={};for(var u in e.keyCodes)l[e.keyCodes[u]]=[[],[],[]];for(u=1;u<=t;u++){var c=o[i-u],f=c[0],d=c[1],p=c[2],h=c[3];e.keyCodesObj[f]&&(d<=e.maxSeekTime&&(l[f][0].push(d),0!=h&&e.keyCodesObj[h]&&l[h][2].push(d)),p<=e.maxPressTime&&l[f][1].push(p))}return[l,t]}},e.history.getSpecialKeys=function(){var t=[],n=this.stack.length,r={};for(var o in e.spKeyCodes)r[e.spKeyCodes[o]]=[[]];for(o=1;o<=n;o++){var i=this.stack[n-o];if(e.spKeyCodesObj[i[0]]){var a=i[0],s=i[2];s<=e.maxPressTime&&r[a][0].push(s)}}for(var o in e.spKeyCodes){var l=(i=e.math.fo(r[e.spKeyCodes[o]][0])).length;t.push(l),l>1?(t.push(Math.round(e.math.avg(i))),t.push(Math.round(e.math.sd(i)))):1==l?t.push([i[0],-1]):t.push([-1,-1])}var u=e.clickTimes.length;t.push(u),u>1?(t.push(Math.round(e.math.avg(e.clickTimes))),t.push(Math.round(e.math.sd(e.clickTimes)))):1==u?t.push(e.clickTimes[0],-1):t.push([-1,-1]);var c=e.stopTimes.length;return t.push(c),c>1?(t.push(Math.round(e.math.avg(e.stopTimes))),t.push(Math.round(e.math.sd(e.stopTimes)))):1==c?t.push(e.stopTimes[0],-1):t.push([-1,-1]),t},e.getQuality=function(t){var n=t.split(",");for(a=0;a<n.length;a++)n[a]=Number(n[a]);n[0];var r=rec=avgAcc=0,o=e.math.avg(n),i=n.slice(11,55);for(var a in i)rec+=Number(i[a]>0),r+=Number(i[a]>4),avgAcc+=Number(i[a]>o);var s=Math.sqrt(rec*r*avgAcc)/80;return s>1?1:s},e.checkMobileValidity=function(e){var t=e.split(","),n=t[0];if(0==n)return 0;var r=0,o=t.slice(11,55);for(var i in o)r+=Number(o[i]);return r/n},e.getLength=function(e){return Number(e.split(",")[1])},e.isMobile=function(){if(null!=e.mobile)return e.mobile;var t,n=0;return t=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4)))&&(n=1),e.mobile=n,n},e.getTextId=function(t){return e.math.fnv1aHash(t)}}},2877:function(e){
/**
* Duo Web SDK v2
* Copyright 2019, Duo Security
*/
e.exports=function(){var e,t,n,r,o,i,a=/^(?:AUTH|ENROLL)+\|[A-Za-z0-9\+\/=]+\|[A-Za-z0-9\+\/=]+$/,s=/^ERR\|[\w\s\.\(\)]+$/,l=/^DUO_OPEN_WINDOW\|/,u=["duo.com","duosecurity.com","duomobile.s3-us-west-1.amazonaws.com"];function c(){e="",t="sig_response",n=void 0,r=void 0,o=void 0,i=void 0}function f(e,t){var n=t||"https://www.duosecurity.com/docs/duoweb#3.-show-the-iframe";throw new Error("Duo Web SDK error: "+e+(n?"\nSee "+n+" for more information":""))}function d(e){return e.replace(/([a-z])([A-Z])/,"$1-$2").toLowerCase()}function p(e,t){return"dataset"in e?e.dataset[t]:e.getAttribute("data-"+d(t))}function h(e,t,n,r){"addEventListener"in window?e.addEventListener(t,r,!1):e.attachEvent(n,r)}function m(e,t,n,r){"removeEventListener"in window?e.removeEventListener(t,r,!1):e.detachEvent(n,r)}function v(e){h(document,"DOMContentLoaded","onreadystatechange",e)}function g(e){m(document,"DOMContentLoaded","onreadystatechange",e)}function y(e){h(window,"message","onmessage",e)}function b(e){m(window,"message","onmessage",e)}function _(e){if(e){0===e.indexOf("ERR|")&&f(e.split("|")[1]),-1!==e.indexOf(":")&&2===e.split(":").length||f("Duo was given a bad token. This might indicate a configuration problem with one of Duo's client libraries.");var t=e.split(":");return r=t[0],o=t[1],{sigRequest:e,duoSig:t[0],appSig:t[1]}}}function w(e){return Boolean(e.origin==="https://"+n&&"string"==typeof e.data&&(e.data.match(a)||e.data.match(s)||e.data.match(l)))}function O(r){c(),r&&(r.host&&(n=r.host),r.sig_request&&_(r.sig_request),r.post_action&&(e=r.post_action),r.post_argument&&(t=r.post_argument),"function"==typeof r.submit_callback&&r.submit_callback);var o=k(r);o?N(o,r.iframeAttributes||{}):R(r),g(O)}function k(e){var t;return e.iframe&&e.iframeContainer?f("Passing both `iframe` and `iframeContainer` arguments at the same time is not allowed."):e.iframe?x(t=E(e.iframe)):e.iframeContainer?T(t=E(e.iframeContainer)):t=document.getElementById("duo_iframe"),t}function E(e){return e.tagName?e:"string"==typeof e?document.getElementById(e):null}function S(e){return e&&e.tagName&&"iframe"===e.tagName.toLowerCase()}function x(e){e&&!S(e)&&f("`iframe` only accepts an iframe element or the id of an iframe. To use a non-iframe element, use the `iframeContainer` argument.")}function T(e){e&&S(e)&&f("`iframeContainer` only accepts a non-iframe element or the id of a non-iframe. To use a non-iframe element, use the `iframeContainer` argument on Duo.init().")}function A(){return["https://",n,"/frame/web/v1/auth?tx=",r,"&parent=",encodeURIComponent(document.location.href),"&v=2.8"].join("")}function C(e){if(w(e))if(e.data.match(l)){var t=e.data.substring("DUO_OPEN_WINDOW|".length);P(t)&&window.open(t,"_self")}else I(e.data),b(C)}function P(e){if(!e)return!1;var t=document.createElement("a");if(t.href=e,"duotrustedendpoints:"===t.protocol)return!0;if("https:"!==t.protocol)return!1;for(var n=0;n<u.length;n++)if(t.hostname.endsWith("."+u[n])||t.hostname===u[n])return!0;return!1}function R(e){v((function t(){var n=k(e);n||f('This page does not contain an iframe for Duo to use. Add an element like <iframe id="duo_iframe"></iframe> to this page.'),N(n,e.iframeAttributes||{}),g(t)}))}function N(a,s){if(n||(n=p(a,"host"))||f("No API hostname is given for Duo to use. Be sure to pass a `host` parameter to Duo.init, or through the `data-host` attribute on the iframe element."),r&&o||(_(p(a,"sigRequest")),r&&o||f("No valid signed request is given. Be sure to give the `sig_request` parameter to Duo.init, or use the `data-sig-request` attribute on the iframe element.")),""===e&&(e=p(a,"postAction")||e),"sig_response"===t&&(t=p(a,"postArgument")||t),S(a))(i=a).src=A();else{for(;a.firstChild;)a.removeChild(a.firstChild);for(var l in i=document.createElement("iframe"),s.src=A(),s)i.setAttribute(l,s[l]);a.appendChild(i)}y(C)}function I(t){e(t+":"+o)}return c(),{init:O,_onReady:v,_parseSigRequest:_,_isDuoMessage:w,_doPostBack:I}}()},7472:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(8177)),o=i(n(5115));function i(e){return e&&e.__esModule?e:{default:e}}var a={};function s(e,t,n){var o=r.default.defer();return e.animate({"text-indent":1},{duration:200,easing:"swing",step:function(r,o){o.start=t,o.end=n,e.css("transform","scale("+r+", "+r+")")},always:function(){o.resolve(e)}}),o.promise}function l(e,t,n){var o=r.default.defer();return e.animate({"text-indent":1},{duration:150,easing:"swing",step:function(r,o){o.start=t,o.end=n,e.css("transform","rotate("+r+"deg)")},always:function(){o.resolve(e)}}),o.promise}a.swapPages=function(e){var t=r.default.defer(),n=e.$parent,i=e.$oldRoot,a=e.$newRoot,s=e.success,l=e.ctx,u="transition-from-right";return e.dir&&e.dir===o.default.DIRECTION_BACK&&(u="transition-from-left"),a.addClass(u),n.append(a),n.addClass("animation-container-overflow"),a.animate({left:"0px",top:"0px",opacity:1},200,(function(){n.removeClass("animation-container-overflow"),a.removeClass(u),a.removeAttr("style"),s.call(l),t.resolve()})),i.animate({height:a.height(),opacity:0},160),t.promise},a.swapBeacons=function(e){var t=e.$el,n=e.swap,r=e.ctx;return this.implode(t).then((function(){return n.call(r),t})).then(this.explode)},a.explode=function(e){return s(e,0,1)},a.implode=function(e){return s(e,1,0)},a.radialProgressBar=function(e){var t=e.$el,n=e.swap,r=t.children();return l(r,0,180).then((function(){t.css({clip:"auto"})})).then((function(){var e=r.eq(0);return n(),l(e,180,360)})).then((function(){t.css({clip:"rect(0px, 96px, 96px, 48px)"}),r.css({transform:"rotate(0deg)","text-indent":"1px"})}))};var u=a;t.default=u,e.exports=t.default},6141:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(5115))&&r.__esModule?r:{default:r};var i={};i.lighten=function(e,t){t=t||0,e=e.substr(1);for(var n="#",r=0;r<3;r++){var o=parseInt(e.substr(2*r,2),16);n+=("00"+(o=Math.round(Math.min(Math.max(0,o+o*t),255)).toString(16))).substr(o.length)}return n},i.addStyle=function(e,t){var n=function(e){return"\n#okta-sign-in.auth-container .button-primary,\n#okta-sign-in.auth-container .button-primary:active,\n#okta-sign-in.auth-container .button-primary:focus { background: ".concat(e.brand,"; }\n#okta-sign-in.auth-container .button-primary:hover { background: ").concat(i.lighten(e.brand,.05),"; }\n#okta-sign-in.auth-container .button.button-primary.link-button-disabled {\n background: ").concat(e.brand,";\n opacity: 0.5;\n}\n ")}(e),r=document.getElementById(o.default.WIDGET_CONTAINER_ID),a=document.createElement("style");a.id=o.default.WIDGET_CONFIG_COLORS_ID,a.type="text/css",t&&(a.nonce=t),a.appendChild(document.createTextNode(n)),r.appendChild(a)},i.isLoaded=function(){return!!document.getElementById(o.default.WIDGET_CONFIG_COLORS_ID)};var a=i;t.default=a,e.exports=t.default},9256:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048).internal.util.Cookie,o="ln",i={getCookieUsername:function(){return r.getCookie(o)},setUsernameCookie:function(e){r.setCookie(o,e,{expires:365,path:"/"})},removeUsernameCookie:function(){r.removeCookie(o,{path:"/"})}},a=i;t.default=a,e.exports=t.default},2646:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=a(n(938)),i=a(n(479));function a(e){return e&&e.__esModule?e:{default:e}}var s={getCountries:function(){var e=r._.omit(o.default.country,"HM","BV","TF"),t=r._.map(e,(function(e,t){return{name:e,code:t}}));t=r._.sortBy(t,"name");var n={};return r._.each(t,(function(e){n[e.code]=e.name})),n},getCountryCode:function(){var e=r._.omit(o.default.country,"HM","BV","TF"),t=r._.map(e,(function(e,t){return{name:e,code:t}}));t=r._.sortBy(t,"name");var n={};return r._.each(t,(function(e){n[e.code]=(0,r.loc)("country.option.label","login",[e.name,e.code])})),n},getCallingCodeForCountry:function(e){return i.default[e]}},l=s;t.default=l,e.exports=t.default},4813:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={getStringHash:function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0},base64UrlSafeToBase64:function(e){return e.replace(new RegExp("_","g"),"/").replace(new RegExp("-","g"),"+")},binToStr:function(e){return btoa(new Uint8Array(e).reduce((function(e,t){return e+String.fromCharCode(t)}),""))},strToBin:function(e){return Uint8Array.from(atob(this.base64UrlSafeToBase64(e)),(function(e){return e.charCodeAt(0)}))}},r=n;t.default=r,e.exports=t.default},5115:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={API_RATE_LIMIT:3e4,WIDGET_LOGIN_CONTAINER_ID:"okta-login-container",WIDGET_CONTAINER_ID:"okta-sign-in",WIDGET_CONFIG_COLORS_ID:"okta-sign-in-config-colors",DIRECTION_BACK:"DIRECTION_BACK",RECOVERY_TYPE_PASSWORD:"PASSWORD",RECOVERY_TYPE_UNLOCK:"UNLOCK",RECOVERY_FACTOR_TYPE_SMS:"SMS",RECOVERY_FACTOR_TYPE_EMAIL:"EMAIL",RECOVERY_FACTOR_TYPE_CALL:"CALL",IOS:"ios",ANDROID:"android",ODA:"oda",MDM:"mdm",SUCCESS:"SUCCESS",FORGOT_PASSWORD_EMAIL_SENT:"FORGOT_PASSWORD_EMAIL_SENT",UNLOCK_ACCOUNT_EMAIL_SENT:"UNLOCK_ACCOUNT_EMAIL_SENT",CONFIG_ERROR:"CONFIG_ERROR",UNSUPPORTED_BROWSER_ERROR:"UNSUPPORTED_BROWSER_ERROR",OAUTH_ERROR:"OAUTH_ERROR",AUTH_STOP_POLL_INITIATION_ERROR:"AUTH_STOP_POLL_INITIATION_ERROR",U2F_ERROR:"U2F_ERROR",WEB_AUTHN_ERROR:"WEB_AUTHN_ERROR",WEBAUTHN_ABORT_ERROR:"WEBAUTHN_ABORT_ERROR",CONFIGURED_FLOW_ERROR:"CONFIGURED_FLOW_ERROR",ALL_OPTIONAL_NONE_ENROLLED:"ALL_OPTIONAL_NONE_ENROLLED",ALL_OPTIONAL_SOME_ENROLLED:"ALL_OPTIONAL_SOME_ENROLLED",HAS_REQUIRED_NONE_ENROLLED:"HAS_REQUIRED_NONE_ENROLLED",HAS_REQUIRED_SOME_REQUIRED_ENROLLED:"HAS_REQUIRED_SOME_REQUIRED_ENROLLED",HAS_REQUIRED_ALL_REQUIRED_ENROLLED:"HAS_REQUIRED_ALL_REQUIRED_ENROLLED",PRIMARY_AUTH:"PRIMARY_AUTH",FORGOT_PASSWORD:"FORGOT_PASSWORD",UNLOCK_ACCOUNT:"UNLOCK_ACCOUNT",SESSION_SSO:"SESSION_SSO",SESSION_STEP_UP:"SESSION_STEP_UP",ACTIVATION_EMAIL_SENT:"ACTIVATION_EMAIL_SENT",REGISTRATION_COMPLETE:"REGISTRATION_COMPLETE",REGISTRATION_FAILED:"REGISTRATION_FAILED",IDP_DISCOVERY:"IDP_DISCOVERY",OKTA_VERIFY_APPLE_APP_STORE_URL:"https://apps.apple.com/us/app/okta-verify/id490179405",OKTA_VERIFY_GOOGLE_PLAY_STORE_URL:"https://play.google.com/store/apps/details?id=com.okta.android.auth",LOOPBACK_CHALLENGE:"LOOPBACK",CUSTOM_URI_CHALLENGE:"CUSTOM_URI",UNIVERSAL_LINK_CHALLENGE:"UNIVERSAL_LINK",APP_LINK_CHALLENGE:"APP_LINK"},e.exports=t.default},6594:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={INVALID_TOKEN_EXCEPTION:"E0000011"},e.exports=t.default},9057:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=(r=n(4319))&&r.__esModule?r:{default:r};var a={},s={OKTA_VERIFY:{label:"factor.totpSoft.oktaVerify",description:"factor.totpSoft.description",iconClassName:"mfa-okta-verify",sortOrder:1},OKTA_VERIFY_PUSH:{label:"factor.oktaVerifyPush",description:"factor.push.description",iconClassName:"mfa-okta-verify",sortOrder:1},U2F:{label:"factor.u2f",description:function(e){return e?"factor.u2f.description.specific":"factor.u2f.description.generic"},iconClassName:"mfa-u2f",sortOrder:2},WEBAUTHN:{label:"factor.webauthn.biometric",description:"factor.webauthn.biometric.description",iconClassName:"mfa-webauthn",sortOrder:2},WINDOWS_HELLO:{label:"factor.windowsHello",description:function(e){return e?"factor.windowsHello.signin.description.specific":"factor.windowsHello.signin.description.generic"},iconClassName:"mfa-windows-hello",sortOrder:3},YUBIKEY:{label:"factor.totpHard.yubikey",description:"factor.totpHard.yubikey.description",iconClassName:"mfa-yubikey",sortOrder:4},GOOGLE_AUTH:{label:"factor.totpSoft.googleAuthenticator",description:"factor.totpSoft.description",iconClassName:"mfa-google-auth",sortOrder:5},CUSTOM_HOTP:{label:"",description:"factor.hotp.description",iconClassName:"mfa-hotp",sortOrder:6},SMS:{label:"factor.sms",description:"factor.sms.description",iconClassName:"mfa-okta-sms",sortOrder:7},CALL:{label:"factor.call",description:"factor.call.description",iconClassName:"mfa-okta-call",sortOrder:8},EMAIL:{label:"factor.email",description:"factor.email.description",iconClassName:"mfa-okta-email",sortOrder:9},QUESTION:{label:"factor.securityQuestion",description:"factor.securityQuestion.description",iconClassName:"mfa-okta-security-question",sortOrder:10},DUO:{label:"factor.duo",description:"factor.duo.description",iconClassName:"mfa-duo",sortOrder:11},SYMANTEC_VIP:{label:"factor.totpHard.symantecVip",description:"factor.totpHard.description",iconClassName:"mfa-symantec",sortOrder:12},RSA_SECURID:{label:"factor.totpHard.rsaSecurId",description:"factor.totpHard.description",iconClassName:"mfa-rsa",sortOrder:13},ON_PREM:{label:"",description:"factor.totpHard.description",iconClassName:"mfa-onprem",sortOrder:14},PASSWORD:{label:"factor.password",description:"",iconClassName:"mfa-okta-password",sortOrder:15},CUSTOM_CLAIMS:{label:"",description:"factor.customFactor.description",iconClassName:"mfa-custom-factor",sortOrder:16},GENERIC_SAML:{label:"",description:function(e){return e?"factor.customFactor.description.specific":"factor.customFactor.description.generic"},iconClassName:"mfa-custom-factor",sortOrder:17},GENERIC_OIDC:{label:"",description:function(e){return e?"factor.customFactor.description.specific":"factor.customFactor.description.generic"},iconClassName:"mfa-custom-factor",sortOrder:18}},l=function(e,t){var n={complexity:[],history:[],age:[]};n.complexity=function(e,t){if(e.complexity){var n=t.complexity,r=function(e){var t=e.excludeAttributes;return e.excludeFirstName=o._.contains(t,"firstName"),e.excludeLastName=o._.contains(t,"lastName"),o._.omit(e,"excludeAttributes")}(e.complexity),i=o._.map(r,(function(e,t){if(!(e<=0)){var r=n[t];return r.args?(0,o.loc)(r.i18n,"login",[e]):(0,o.loc)(r.i18n,"login")}}));return o._.compact(i)}return[]}(e,t);var r=function(e,t){return e.age&&e.age.historyCount>0?(0,o.loc)(t.history.i18n,"login",[e.age.historyCount]):null}(e,t);r&&n.history.push(r);var a=function(e,t){return e.age&&e.age.minAgeMinutes>0?function(e){var n;switch(e.unit){case"DAY":n=t.age.days.i18n;break;case"HOUR":n=t.age.hours.i18n;break;case"MINUTE":n=t.age.minutes.i18n}return(0,o.loc)(n,"login",[e.time])}(i.default.getTimeInHighestRelevantUnit(e.age.minAgeMinutes,"MINUTE")):null}(e,t);return a&&n.age.push(a),n};a.getFactorName=function(e,t){return"OKTA"===e&&"token:software:totp"===t?"OKTA_VERIFY":"OKTA"===e&&"push"===t?"OKTA_VERIFY_PUSH":"GOOGLE"===e?"GOOGLE_AUTH":"SYMANTEC"===e&&"token"===t?"SYMANTEC_VIP":"RSA"===e&&"token"===t?"RSA_SECURID":"DEL_OATH"===e&&"token"===t?"ON_PREM":"DUO"===e&&"web"===t?"DUO":"YUBICO"===e&&"token:hardware"===t?"YUBIKEY":"OKTA"===e&&"sms"===t?"SMS":"OKTA"===e&&"call"===t?"CALL":"OKTA"===e&&"question"===t?"QUESTION":"OKTA"===e&&"email"===t?"EMAIL":"OKTA"===e&&"password"===t?"PASSWORD":"GENERIC_SAML"===e&&"assertion:saml2"===t?"GENERIC_SAML":"GENERIC_OIDC"===e&&"assertion:oidc"===t?"GENERIC_OIDC":a.getFactorNameForFactorType.call(this,t)},a.getFactorNameForFactorType=function(e){return"u2f"===e?"U2F":"token:software:totp"===e?"OKTA_VERIFY":"webauthn"===e?this.settings.get("features.webauthn")?"WEBAUTHN":"WINDOWS_HELLO":"token:hotp"===e?"CUSTOM_HOTP":"claims_provider"===e?"CUSTOM_CLAIMS":void 0},a.isOktaVerify=function(e,t){return"OKTA"===e&&("token:software:totp"===t||"push"===t)},a.getFactorLabel=function(e,t){var n=s[a.getFactorName.apply(this,[e,t])].label;return(0,o.loc)(n,"login")},a.getFactorDescription=function(e,t){var n=s[a.getFactorName.apply(this,[e,t])].description;if(o._.isFunction(n)){var r=this.settings.get("brandName"),i=n(r);return r?(0,o.loc)(i,"login",[r]):(0,o.loc)(i,"login")}return(0,o.loc)(n,"login")},a.getFactorIconClassName=function(e,t){return s[a.getFactorName.apply(this,[e,t])].iconClassName},a.getFactorSortOrder=function(e,t){return s[a.getFactorName.apply(this,[e,t])].sortOrder},a.getRememberDeviceValue=function(e){return e&&e.get("rememberDeviceByDefault")},a.getSecurityQuestionLabel=function(e){var t=(0,o.loc)("security."+e.question);return t.indexOf("L10N_ERROR")<0?t:e.questionText},a.removeRequirementsFromError=function(e,t){var n=this.getPasswordComplexityDescription(t);return e.errorCauses&&e.errorCauses.length>0&&o._.isString(e.errorCauses[0].errorSummary)&&(e.errorCauses[0].errorSummary=e.errorCauses[0].errorSummary.replace(n,"").trim()),e},a.getPasswordComplexityDescriptionForHtmlList=function(e){var t=l(e,{complexity:{minLength:{i18n:"password.complexity.length.description",args:!0},minLowerCase:{i18n:"password.complexity.lowercase.description"},minUpperCase:{i18n:"password.complexity.uppercase.description"},minNumber:{i18n:"password.complexity.number.description"},minSymbol:{i18n:"password.complexity.symbol.description"},excludeUsername:{i18n:"password.complexity.no_username.description"},excludeFirstName:{i18n:"password.complexity.no_first_name.description"},excludeLastName:{i18n:"password.complexity.no_last_name.description"}},history:{i18n:"password.complexity.history.description"},age:{minutes:{i18n:"password.complexity.minAgeMinutes.description"},hours:{i18n:"password.complexity.minAgeHours.description"},days:{i18n:"password.complexity.minAgeDays.description"}}});return o._.union(t.complexity,t.history,t.age)},a.getPasswordComplexityDescription=function(e){var t=[],n=l(e,{complexity:{minLength:{i18n:"password.complexity.length",args:!0},minLowerCase:{i18n:"password.complexity.lowercase"},minUpperCase:{i18n:"password.complexity.uppercase"},minNumber:{i18n:"password.complexity.number"},minSymbol:{i18n:"password.complexity.symbol"},excludeUsername:{i18n:"password.complexity.no_username"},excludeFirstName:{i18n:"password.complexity.no_first_name"},excludeLastName:{i18n:"password.complexity.no_last_name"}},history:{i18n:"password.complexity.history"},age:{minutes:{i18n:"password.complexity.minAgeMinutes"},hours:{i18n:"password.complexity.minAgeHours"},days:{i18n:"password.complexity.minAgeDays"}}}),r=n.complexity;return r.length>0&&(r=o._.reduce(r,(function(e,t){return e?e+(0,o.loc)("password.complexity.list.element","login",[t]):t})),t.push((0,o.loc)("password.complexity.requirements","login",[r]))),t.push(n.history[0]),t.push(n.age[0]),o._.compact(t).join(" ")},a.getCardinalityText=function(e,t,n){if(n){if(e)return 1===n.enrolled?"":(0,o.loc)("enroll.choices.cardinality.setup","login",[n.enrolled]);if(t&&n.maximum>1)return(0,o.loc)("enroll.choices.cardinality.setup.remaining","login",[n.enrolled,n.minimum])}return""},a.findFactorInFactorsArray=function(e,t,n){var r=e.findWhere({provider:t,factorType:n});return void 0===r&&(r=e.findWhere({factorType:n})),r};var u=a;t.default=u,e.exports=t.default},1521:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o={getU2fEnrollErrorMessageKeyByCode:function(e){switch(e){default:case 1:return"u2f.error.other";case 2:case 3:return"u2f.error.badRequest";case 4:return"u2f.error.unsupported";case 5:return"u2f.error.timeout"}},getU2fVerifyErrorMessageKeyByCode:function(e,t){switch(e){case 1:return t?"u2f.error.other.oneFactor":"u2f.error.other";case 2:case 3:return t?"u2f.error.badRequest.oneFactor":"u2f.error.badRequest";case 4:return t?"u2f.error.unsupported.oneFactor":"u2f.error.unsupported";case 5:return"u2f.error.timeout"}},getU2fEnrollErrorMessageByCode:function(e){return(0,r.loc)(o.getU2fEnrollErrorMessageKeyByCode(e),"login")},getU2fVerifyErrorMessageByCode:function(e,t){return(0,r.loc)(o.getU2fVerifyErrorMessageKeyByCode(e,t),"login")},getU2fVersion:function(){return"U2F_V2"},isU2fAvailable:function(){return Object.prototype.hasOwnProperty.call(window,"u2f")}},i=o;t.default=i,e.exports=t.default},9113:function(e,t){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function r(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */r=function(){return e};var e={},t=Object.prototype,o=t.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var o=t&&t.prototype instanceof h?t:h,a=Object.create(o.prototype),s=new T(r||[]);return i(a,"_invoke",{value:k(e,n,s)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=f;var p={};function h(){}function m(){}function v(){}var g={};c(g,s,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(A([])));b&&b!==t&&o.call(b,s)&&(g=b);var _=v.prototype=h.prototype=Object.create(g);function w(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function r(i,a,s,l){var u=d(e[i],e,a);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,s,l)}),(function(e){r("throw",e,s,l)})):t.resolve(f).then((function(e){c.value=e,s(c)}),(function(e){return r("throw",e,s,l)}))}l(u.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function k(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=E(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=d(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function E(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var o=d(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function A(e){if(e){var t=e[s];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(o.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:C}}function C(){return{value:void 0,done:!0}}return m.prototype=v,i(_,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:m,configurable:!0}),m.displayName=c(v,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,u,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},w(O.prototype),c(O.prototype,l,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(f(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(_),c(_,u,"Generator"),c(_,s,(function(){return this})),c(_,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=A,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=o.call(i,"catchLoc"),l=o.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:A(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}function o(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function s(e){o(a,r,i,s,l,"next",e)}function l(e){o(a,r,i,s,l,"throw",e)}s(void 0)}))}}function a(e){return s.apply(this,arguments)}function s(){return(s=i(r().mark((function e(t){var n;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=0;case 1:if(!(n<t.length)){e.next=7;break}return e.next=4,t[n]();case 4:n++,e.next=1;break;case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function l(){return(l=i(r().mark((function e(t){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t&&t.before&&t.before.length){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,a(t.before);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function u(){return(u=i(r().mark((function e(t){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t&&t.after&&t.after.length){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,a(t.after);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object.defineProperty(t,"__esModule",{value:!0}),t.executeHookFunctions=a,t.executeHooksAfter=function(e){return u.apply(this,arguments)},t.executeHooksBefore=function(e){return l.apply(this,arguments)},t.mergeHook=function(e,t,n){var r=e[t]=e[t]||{before:[],after:[]};n.before&&(r.before=r.before.concat(n.before));n.after&&(r.after=r.after.concat(n.after))}},4087:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={SUPPORTED_SOCIAL_IDPS:["facebook","google","linkedin","microsoft","apple","github","gitlab","yahoo","line","paypal","paypal_sandbox","salesforce","amazon","yahoojp","discord","adobe","orcid","spotify","xero","quickbooks"]};t.default=n,e.exports=t.default},9164:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(938)),o=i(n(5091));function i(e){return e&&e.__esModule?e:{default:e}}var a={loadLanguage:function(e,t){var n=e.get("languageCode")||t.get("languageCode")||o.default.defaultLanguage,i=t.get("i18n"),a=t.get("assets.baseUrl"),s=t.get("assets.rewrite"),l=t.get("supportedLanguages"),u=setTimeout((function(){e.trigger("loading",!0)}),200);return r.default.loadLanguage(n,i,{baseUrl:a,rewrite:s},l).then((function(){clearTimeout(u),e.trigger("loading",!1)}))}};t.default=a,e.exports=t.default},1806:function(e,t){"use strict";function n(e,t){"error"===e&&window.console[e].apply(window.console,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={trace:function(){return n("trace",arguments)},dir:function(){return n("dir",arguments)},time:function(){return n("time",arguments)},timeEnd:function(){return n("timeEnd",arguments)},group:function(){return n("group",arguments)},groupEnd:function(){return n("groupEnd",arguments)},assert:function(){return n("assert",arguments)},log:function(){return n("log",arguments)},info:function(){return n("info",arguments)},warn:function(){return n("warn",arguments)},error:function(){return n("error",arguments)},deprecate:function(e){return n("warn",["[okta-signin-widget] DEPRECATED:",e])}};t.default=r,e.exports=t.default},2534:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=s(n(5115)),i=n(3707),a=s(n(7516));function s(e){return e&&e.__esModule?e:{default:e}}var l={},u=["responseType","scopes","state","nonce","idp","idpScope","display","prompt","maxAge","loginHint"];l.AUTH_PARAMS=u,l.getTokens=function(e,t,n){function s(t){e.callGlobalSuccess(o.default.SUCCESS,t)}function l(t){var r=(0,i.getTypedOAuthError)(t);r.is("terminal")?(n.model.appState.set("flashError",r),n.model.appState.trigger("navigate","signin/error")):r.is("inline")&&(n.model.trigger("error",n.model,{responseJSON:{errorSummary:r.errorDetails.errorSummary}}),n.model.appState.trigger("removeLoading")),r.is("terminal")||a.default.triggerAfterError(n,r,e),r instanceof i.NonRecoverableError&&e.callGlobalError(r)}var c=e.getAuthClient(),f=c.isAuthorizationCodeFlow()&&!c.isPKCE(),d=e.toJSON({verbose:!0}),p={};r._.extend(p,r._.pick(d,"clientId","redirectUri"),r._.pick(d.authParams,u),t),p.popupTitle=(0,r.loc)("socialauth.popup.title","login"),p.timeout=d.oAuthTimeout,"always"===d.redirect||f?c.token.getWithRedirect(p).catch(l):p.sessionToken?c.token.getWithoutPrompt(p).then(s).catch(l):c.token.getWithPopup(p).then(s).catch(l)};var c=l;t.default=c,e.exports=t.default},4319:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(8112)),o=i(n(6204));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==a(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===a(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l={MILLISECOND:"milliseconds",SECOND:"seconds",MINUTE:"minutes",HOUR:"hours",DAY:"days"},u=Object.keys(l),c={getTimeInHighestRelevantUnit:function(e,t){var n,i=l[t]||t;try{var a=(0,r.default)(Object.assign({days:0,hours:0,minutes:0,seconds:0,milliseconds:0},s({},i,e)));n=(0,o.default)(a)}catch(e){n={}}var c,f,d,p,h=Object.keys(n).reduce((function(e,t){return 0!==n[t]&&(e[t]=n[t]),e}),{});return 1===Object.keys(h).length?Object.keys(h).forEach((function(e){f=h[e],c=e})):(f=e,c=i),{time:f,unit:(d=c,p=u.filter((function(e){return l[e]===d})),1===p.length?p[0]:d)}}};t.default=c,e.exports=t.default},7516:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=s(n(5115)),i=s(n(1806)),a=s(n(5331));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}var u={},c=function(e,t){var n=document.createElement("input");return n.name=e,n.value=decodeURIComponent(t),n.type="hidden",n},f=function(){var e=document.createElement("input");return e.type="submit",e},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=e.split("#"),r=n[1],o=(n[0]||"").split("?"),i=o[1],a=o[0];r&&(a+="#"+r);var s=document.createElement("form");if(s.method=t,s.style.display="none",s.action=a,i&&i.length){var l=i.split("&");l.forEach((function(e){var t=e.split("="),n=c(t[0],t[1]);s.appendChild(n)}))}return s.appendChild(f()),s};function p(e){for(var t=[e],n=e.split("-");n.pop()&&n.length>0;)t.push(n.join("-"));return t}u.transformErrorXHR=function(e){if(0===e.status&&r._.isEmpty(e.responseJSON))return e.responseJSON={errorSummary:(0,r.loc)("error.network.connection","login")},e;if(!e.responseJSON){if(!e.responseText)return e.responseJSON={errorSummary:(0,r.loc)("error.unsupported.response","login")},e;if("string"==typeof e.responseText)try{e.responseJSON=JSON.parse(e.responseText)}catch(t){return e.responseJSON={errorSummary:(0,r.loc)("error.unsupported.response","login")},e}else"object"===l(e.responseText)&&(e.responseJSON=e.responseText)}if(e.responseJSON&&e.responseJSON.errorCauses&&e.responseJSON.errorCauses.length&&(e.responseJSON.errorSummary=e.responseJSON.errorCauses[0].errorSummary),!r._.isEmpty(e.responseJSON)){var t=(0,r.loc)("errors."+e.responseJSON.errorCode,"login");-1===t.indexOf("L10N_ERROR[")&&(e.responseJSON.errorSummary=t,e.responseJSON&&e.responseJSON.errorCauses&&e.responseJSON.errorCauses.length&&delete e.responseJSON.errorCauses)}return e},u.toLower=function(e){return r._.map(e,(function(e){return e.toLowerCase()}))},u.expandLanguages=function(e){return r._.chain(e).map(p).flatten().uniq().value()},u.callAfterTimeout=function(e,t){return setTimeout(e,t)},u.debugMessage=function(e){i.default.warn("\n".concat(e.replace(/^(\s)+/gm,"")))},u.logConsoleError=function(e){i.default.error(e)},u.triggerAfterError=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!t.statusCode&&t.xhr&&t.xhr.status&&(t.statusCode=t.xhr.status);var n=r._.isFunction(e.className)?e.className():e.className,o=r._.pick(t,"name","message","statusCode","xhr");e.trigger("afterError",{controller:n},o),i.default.warn("controller: "+n+", error: "+o)},u.redirect=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e?a.default.isAndroid()&&!n?u.redirectWithFormGet(e):t.location.href=e:i.default.error("Cannot redirect to empty URL: (".concat(e,")"))},u.redirectWithFormGet=function(e){u.redirectWithForm(e,"get")},u.redirectWithForm=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"post";if(e){var n=document.getElementById(o.default.WIDGET_CONTAINER_ID);if(n){var r=d(e,t);n.appendChild(r),r.querySelector('input[type="submit"]').click()}else i.default.error("Cannot find okta-sign-in container append to which a form")}else i.default.error("Cannot redirect to empty URL: (".concat(e,")"))},u.createInputExplain=function(e,t,n,o,i){var a=o?(0,r.loc)(e,n,o):(0,r.loc)(e,n);return a!==(i?(0,r.loc)(t,n,i):(0,r.loc)(t,n))&&a},u.isV1StateToken=function(e){return!!(e&&r._.isString(e)&&e.startsWith("00"))};var h=u;t.default=h,e.exports=t.default},479:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={US:"1",AG:"1",AI:"1",AS:"1",BB:"1",BM:"1",BS:"1",CA:"1",DM:"1",DO:"1",GD:"1",GU:"1",JM:"1",KN:"1",KY:"1",LC:"1",MP:"1",MS:"1",PR:"1",SX:"1",TC:"1",TT:"1",VC:"1",VG:"1",VI:"1",RU:"7",KZ:"7",EG:"20",ZA:"27",GR:"30",NL:"31",BE:"32",FR:"33",ES:"34",HU:"36",IT:"39",VA:"39",RO:"40",CH:"41",AT:"43",GB:"44",GG:"44",IM:"44",JE:"44",DK:"45",SE:"46",NO:"47",SJ:"47",PL:"48",DE:"49",PE:"51",MX:"52",CU:"53",AR:"54",BR:"55",CL:"56",CO:"57",VE:"58",MY:"60",AU:"61",CC:"61",CX:"61",ID:"62",PH:"63",NZ:"64",SG:"65",TH:"66",JP:"81",KR:"82",VN:"84",CN:"86",TR:"90",IN:"91",PK:"92",AF:"93",LK:"94",MM:"95",IR:"98",SS:"211",MA:"212",EH:"212",DZ:"213",TN:"216",LY:"218",GM:"220",SN:"221",MR:"222",ML:"223",GN:"224",CI:"225",BF:"226",NE:"227",TG:"228",BJ:"229",MU:"230",LR:"231",SL:"232",GH:"233",NG:"234",TD:"235",CF:"236",CM:"237",CV:"238",ST:"239",GQ:"240",GA:"241",CG:"242",CD:"243",AO:"244",GW:"245",IO:"246",AC:"247",SC:"248",SD:"249",RW:"250",ET:"251",SO:"252",DJ:"253",KE:"254",TZ:"255",UG:"256",BI:"257",MZ:"258",ZM:"260",MG:"261",RE:"262",YT:"262",ZW:"263",NA:"264",MW:"265",LS:"266",BW:"267",SZ:"268",KM:"269",SH:"290",TA:"290",ER:"291",AW:"297",FO:"298",GL:"299",GI:"350",PT:"351",LU:"352",IE:"353",IS:"354",AL:"355",MT:"356",CY:"357",FI:"358",AX:"358",BG:"359",LT:"370",LV:"371",EE:"372",MD:"373",AM:"374",BY:"375",AD:"376",MC:"377",SM:"378",UA:"380",RS:"381",ME:"382",XK:"383",HR:"385",SI:"386",BA:"387",MK:"389",CZ:"420",SK:"421",LI:"423",FK:"500",BZ:"501",GT:"502",SV:"503",HN:"504",NI:"505",CR:"506",PA:"507",PM:"508",HT:"509",GP:"590",BL:"590",MF:"590",BO:"591",GY:"592",EC:"593",GF:"594",PY:"595",MQ:"596",SR:"597",UY:"598",CW:"599",BQ:"599",TL:"670",NF:"672",BN:"673",NR:"674",PG:"675",TO:"676",SB:"677",VU:"678",FJ:"679",PW:"680",WF:"681",CK:"682",NU:"683",WS:"685",KI:"686",NC:"687",TV:"688",PF:"689",TK:"690",FM:"691",MH:"692","001":"979",KP:"850",HK:"852",MO:"853",KH:"855",LA:"856",BD:"880",TW:"886",MV:"960",LB:"961",JO:"962",SY:"963",IQ:"964",KW:"965",SA:"966",YE:"967",OM:"968",PS:"970",AE:"971",IL:"972",BH:"973",QA:"974",BT:"975",MN:"976",NP:"977",TJ:"992",TM:"993",AZ:"994",GE:"995",KG:"996",UZ:"998",GS:"500",PN:"64",AQ:"672",UM:"1",AN:"599"},e.exports=t.default},504:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(8177)),o=i(n(1521));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return new r.default(e)}var s={makeCredential:function(e,t,n){return t=t.map((function(e){return{type:"FIDO_2_0",algorithm:e.algorithm}})),a(window.msCredentials.makeCredential(e,t,n).then((function(e){return Object.freeze({credential:{id:e.id},publicKey:JSON.parse(e.publicKey),attestation:e.attestation})})))},getAssertion:function(e,t){var n={accept:t.map((function(e){return{type:"FIDO_2_0",id:e.id}}))};return a(window.msCredentials.getAssertion(e,n).then((function(e){var t=e.signature;return Object.freeze({credential:{id:e.id},clientData:t.clientData,authenticatorData:t.authnrData,signature:t.signature})})))},isAvailable:function(){return Object.prototype.hasOwnProperty.call(window,"msCredentials")},isNewApiAvailable:function(){return navigator&&navigator.credentials&&navigator.credentials.create},isWebauthnOrU2fAvailable:function(){return this.isNewApiAvailable()||o.default.isU2fAvailable()}};t.default=s,e.exports=t.default},1791:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=b(n(5722)),i=b(n(9721)),a=b(n(938)),s=b(n(1806)),l=b(n(8052)),u=b(n(6962)),c=b(n(9118)),f=b(n(7472)),d=b(n(5331)),p=b(n(6141)),h=b(n(5115)),m=n(2183),v=b(n(9201)),g=b(n(7516)),y=b(n(9164));function b(e){return e&&e.__esModule?e:{default:e}}var _=r.Router.extend({Events:r.Backbone.Events,initialize:function(e){e.globalSuccessFn||(e.globalSuccessFn=function(){}),e.globalErrorFn||(e.globalErrorFn=function(e){s.default.error(e)}),this.settings=new i.default(r._.omit(e,"el"),{parse:!0}),e.el||this.settings.callGlobalError(new m.ConfigError((0,r.loc)("error.required.el"))),(0,r.$)("body > div").on("click",(function(){})),this.appState=new o.default({baseUrl:this.settings.get("baseUrl"),settings:this.settings},{parse:!0});var t=new l.default({appState:this.appState});(0,r.$)(e.el).append(t.render().$el),this.el="#".concat(h.default.WIDGET_CONTAINER_ID),this.header=new u.default({el:this.el,appState:this.appState,settings:this.settings}),this.hide(),this.listenTo(this.appState,"change:transactionError",(function(e,t){v.default.routeAfterAuthStatusChangeError(this,t)})),this.listenTo(this.appState,"change:transaction",(function(e,t){v.default.routeAfterAuthStatusChange(this,t.data)})),this.listenTo(this.appState,"navigate",(function(e){this.navigate(e,{trigger:!0})}))},execute:function(e,t){var n=this.settings.get("recoveryToken");if(n)return this.settings.unset("recoveryToken"),void this.navigate(v.default.createRecoveryUrl(n),{trigger:!0});var o=this.settings.get("stateToken");if(o)return this.settings.unset("stateToken"),void this.navigate(v.default.createRefreshUrl(o),{trigger:!0});var i,a,s=this.appState.get("transaction");s&&s.data||(i=this,a=e,r._.find(i.stateLessRouteHandlers,(function(e){return a===i[e]})))?e.apply(this,t):this.settings.getAuthClient().tx.exists()?this.navigate(v.default.createRefreshUrl(),{trigger:!0}):this.navigate("",{trigger:!0})},navigate:function(e,t){return this.settings.get("features.router")?r.Router.prototype.navigate.apply(this,arguments):t&&t.trigger?r.Backbone.history.loadUrl(e):void 0},render:function(e,t){var n=this;t||(t={});var o=t.Beacon,i=r._.extend({settings:this.settings,appState:this.appState},r._.omit(t,"Beacon"));if(this.header.rendered()||(this.el=this.header.render().getContentEl()),!a.default.isLoaded(this.appState.get("languageCode")))return y.default.loadLanguage(this.appState,this.settings).then(r._.bind(this.render,this,e,t));if(this.settings.get("colors.brand")&&!p.default.isLoaded()){var s={brand:this.settings.get("colors.brand")},l=this.settings.get("cspNonce");p.default.addStyle(s,l)}var u=this.controller;return this.controller=new e(i),this.listenTo(this.controller,"all",this.trigger),this.controller.fetchInitialData().then((function(){return function(e,t){return!!e&&(e!==c.default||t.get("features.securityImage"))}(o,n.settings)||(o=null),n.header.setBeacon(o,i),n.show(),n.controller.render(),u?f.default.swapPages({$parent:n.el,$oldRoot:u.$el,$newRoot:n.controller.$el,dir:u.state.get("navigateDir"),ctx:n,success:function(){var e,t=this.appState.get("flashError"),n=this.controller.model;(u.remove(),u.$el.remove(),this.controller.postRenderAnimation(),t)&&(e=t.is&&t.is("terminal")?t.errorDetails.errorSummary:(0,r.loc)(this.settings.get("features.mfaOnlyFlow")?"error.mfa.only.expired.session":"error.expired.session"),n.trigger("error",n,{responseJSON:{errorSummary:e}}),this.appState.unset("flashError"),g.default.triggerAfterError(this.controller,t))}}):(n.el.append(n.controller.el),void n.controller.postRenderAnimation())})).catch((function(){u&&(u.remove(),u.$el.remove())}))},start:function(){var e=this,t=!1;window.addEventListener&&this.settings.get("features.router")&&(window.addEventListener("popstate",(function(t){e.controller.back&&(t.preventDefault(),t.stopImmediatePropagation(),e.controller.back())})),t=d.default.supportsPushState()),r.Router.prototype.start.call(this,{pushState:t})},hide:function(){this.header.$el.hide()},show:function(){this.header.$el.show()},remove:function(){this.controller&&this.controller.remove(),this.header.$el.remove(),a.default.remove(),r.Backbone.history.stop()}});t.default=_,e.exports=t.default},8745:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=s(n(5115)),i=s(n(6777)),a=s(n(7651));function s(e){return e&&e.__esModule?e:{default:e}}var l=i.default.extend({className:"account-unlocked",Model:function(){return{local:{userFullName:["string",!1,this.options.appState.get("userFullName")]}}},Form:{title:r._.partial(r.loc,"account.unlock.unlocked.title","login"),subtitle:r._.partial(r.loc,"account.unlock.unlocked.desc","login"),noButtonBar:!0,attributes:{"data-se":"account-unlocked"},formChildren:function(){return[a.default.Button({title:(0,r.loc)("goback","login"),className:"button button-primary button-wide",attributes:{"data-se":"back-button"},click:function(){this.state.set("navigateDir",o.default.DIRECTION_BACK),this.options.appState.trigger("navigate","")}})]}}});t.default=l,e.exports=t.default},69:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6777)),o=a(n(1920)),i=a(n(2669));function a(e){return e&&e.__esModule?e:{default:e}}var s=r.default.extend({className:"activate-totp",Model:function(){return{props:{factorId:["string",!0,this.options.appState.get("activatedFactorId")],passCode:["string",!0]},local:{__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]},save:function(){return this.doTransaction((function(e){return e.activate({passCode:this.get("passCode")})}))}}},Form:o.default,Footer:i.default});t.default=s,e.exports=t.default},9176:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=l(n(6777)),i=l(n(7651)),a=l(n(4506)),s=l(n(9528));function l(e){return e&&e.__esModule?e:{default:e}}var u={props:{scopes:["array",!0]},save:function(){return this.doTransaction((function(e){return e.consent({consent:{scopes:r._.pluck(this.get("scopes"),"name")}})}))},cancel:function(){var e=this;return this.doTransaction((function(e){return e.cancel()})).then((function(){var t=e.settings.get("consent.cancel");r._.isFunction(t)&&t()}))}},c=r.View.extend({className:"consent-title detail-row",template:s.default,getTemplateData:function(){var e=this.options.appState;return{appName:e.escape("targetLabel"),customLogo:e.get("targetLogo")&&e.get("targetLogo").href,defaultLogo:e.get("defaultAppLogo"),clientURI:e.get("targetClientURI")&&e.get("targetClientURI").href,issuer:e.get("issuer")}}}),f={noCancelButton:!1,buttonOrder:["cancel","save"],autoSave:!0,save:r._.partial(r.loc,"consent.required.consentButton","login"),cancel:r._.partial(r.loc,"consent.required.cancelButton","login"),formChildren:[i.default.View({View:c}),i.default.View({View:a.default})]},d=o.default.extend({Model:u,Form:f,className:"admin-consent-required",initialize:function(){var e=this;this.model.set("scopes",this.options.appState.get("scopes")),this.listenTo(this.form,"cancel",(function(){e.model.cancel()}))}});t.default=d,e.exports=t.default},3230:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=u(n(9057)),i=u(n(6777)),a=u(n(7651)),s=u(n(54)),l=u(n(2669));function u(e){return e&&e.__esModule?e:{default:e}}var c=i.default.extend({className:"barcode-push",Model:function(){return{local:{__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]}}},Form:{title:function(){var e=o.default.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return(0,r.loc)("enroll.totp.title","login",[e])},noButtonBar:!0,attributes:{"data-se":"step-scan"},className:"barcode-scan",initialize:function(){this.listenTo(this.model,"error errors:clear",(function(){this.clearErrors()}))},formChildren:[a.default.View({View:s.default})]},Footer:l.default,initialize:function(){this.pollForEnrollment().catch((function(){}))},pollForEnrollment:function(){return this.model.doTransaction((function(e){return e.poll(6e3)}))},trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return!0}});t.default=c,e.exports=t.default},3793:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=c(n(9057)),i=c(n(6777)),a=c(n(7651)),s=c(n(9201)),l=c(n(54)),u=c(n(2669));function c(e){return e&&e.__esModule?e:{default:e}}var f=i.default.extend({className:"barcode-totp",Model:function(){return{local:{__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]}}},Form:{title:function(){var e=o.default.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return(0,r.loc)("enroll.totp.title","login",[e])},save:r._.partial(r.loc,"oform.next","login"),noCancelButton:!0,attributes:{"data-se":"step-scan"},className:"barcode-scan",formChildren:[a.default.View({View:l.default})]},Footer:u.default,initialize:function(){this.listenTo(this.form,"save",(function(){var e=s.default.createActivateFactorUrl(this.model.get("__provider__"),this.model.get("__factorType__"),"activate");this.options.appState.trigger("navigate",e)}))}});t.default=f,e.exports=t.default},3227:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(6276)),o=n(2048),i=d(n(5115)),a=d(n(6777)),s=d(n(7651)),l=d(n(2013)),u=d(n(1745)),c=d(n(4941)),f=d(n(9528));function d(e){return e&&e.__esModule?e:{default:e}}var p=r.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"clientURI")||(null!=t?a(t,"clientURI"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"clientURI",hash:{},data:o,loc:{start:{line:1,column:26},end:{line:1,column:39}}}):i)+'" class="client-logo-link" target="_blank">'},3:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<img class="client-logo custom-logo" src="'+l("function"==typeof(i=null!=(i=u(n,"customLogo")||(null!=t?u(t,"customLogo"):t))?i:s)?i.call(a,{name:"customLogo",hash:{},data:o,loc:{start:{line:1,column:149},end:{line:1,column:163}}}):i)+'" alt="'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"common.logo.alt"},data:o,loc:{start:{line:1,column:170},end:{line:1,column:216}}}))+'" aria-hidden="true" />'},5:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<img class="client-logo default-logo" src="'+l("function"==typeof(i=null!=(i=u(n,"defaultLogo")||(null!=t?u(t,"defaultLogo"):t))?i:s)?i.call(a,{name:"defaultLogo",hash:{},data:o,loc:{start:{line:1,column:290},end:{line:1,column:305}}}):i)+'" alt="'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"common.logo.alt"},data:o,loc:{start:{line:1,column:312},end:{line:1,column:358}}}))+'" aria-hidden="true" />'},7:function(e,t,n,r,o){return"</a>"},9:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="issuer"><span>'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"issuer")||(null!=t?a(t,"issuer"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"issuer",hash:{},data:o,loc:{start:{line:1,column:624},end:{line:1,column:634}}}):i)+"</span></div>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"clientURI"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:89}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"customLogo"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.program(5,o,0),data:o,loc:{start:{line:1,column:89},end:{line:1,column:388}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"clientURI"):t,{name:"if",hash:{},fn:e.program(7,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:388},end:{line:1,column:416}}}))?i:"")+'<h1><span class="title-text">'+e.escapeExpression((s(n,"i18n")||t&&s(t,"i18n")||e.hooks.helperMissing).call(a,{name:"i18n",hash:{$2:"<p>$2</p>",$1:"<b class='no-translate'>$1</b>",arguments:"appName",bundle:"login",code:"granular.consent.scopes.title"},data:o,loc:{start:{line:1,column:445},end:{line:1,column:577}}}))+"</span>"+(null!=(i=s(n,"if").call(a,null!=t?s(t,"issuer"):t,{name:"if",hash:{},fn:e.program(9,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:584},end:{line:1,column:654}}}))?i:"")+"</h1>"},useData:!0}),h=function(e){return s.default.View({View:o.View.extend({className:"consent-title detail-row",template:e,getTemplateData:function(){var e=this.options.appState;return{appName:e.escape("targetLabel"),customLogo:e.get("targetLogo")&&e.get("targetLogo").href,defaultLogo:e.get("defaultAppLogo"),clientURI:e.get("targetClientURI")&&e.get("targetClientURI").href}}})})},m=s.default.View({View:o.View.extend({className:"consent-description detail-row",template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"consent.required.description"},data:o,loc:{start:{line:1,column:3},end:{line:1,column:62}}}))+"</p>"},useData:!0})})}),v=s.default.View({View:o.View.extend({className:"consent-description",template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"granular.consent.scopes.description"},data:o,loc:{start:{line:1,column:3},end:{line:1,column:69}}}))+"</p>"},useData:!0})})}),g=function(e){return"optional"in e.get("scopes")[0]},y=a.default.extend({className:"consent-required",initialize:function(){var e=this;this.model.set("expiresAt",this.options.appState.get("expiresAt")),this.model.set("scopes",this.options.appState.get("scopes")),this.listenTo(this.form,"cancel",o._.bind(this.model.cancel,this.model));var t=new c.default;(0,o.$)("#".concat(i.default.WIDGET_LOGIN_CONTAINER_ID)).prepend(t.render().$el),g(this.options.appState)&&(this.$el.addClass("granular-consent").removeClass("consent-required"),this.form.cancel=o._.partial(o.loc,"oform.cancel","login"),o._.forEach(this.options.appState.get("scopes"),(function(t){e.model.set(t.name,!0)})))},postRender:function(){a.default.prototype.postRender.apply(this,arguments),this.$(".o-form-button-bar .button-primary").removeClass("button-primary")},Model:{props:{expiresAt:["string",!0],scopes:["array",!0]},save:function(){return this.doTransaction((function(e){var t=this,n=o._.pluck(this.get("scopes"),"name"),r={expiresAt:this.get("expiresAt")};return g(this)?r.optedScopes=o._.reduce(n,(function(e,n){return e[n]=t.get(n),e}),{}):r.scopes=n,e.consent({consent:r})}))},cancel:function(){var e=this;return this.doTransaction((function(e){return e.cancel()})).then((function(){var t=e.settings.get("consent.cancel");o._.isFunction(t)&&t()}))}},Form:{noCancelButton:!1,buttonOrder:["cancel","save"],autoSave:!0,save:o._.partial(o.loc,"consent.required.consentButton","login"),cancel:o._.partial(o.loc,"consent.required.cancelButton","login"),formChildren:function(){return g(this.options.appState)?[h(p),v].concat((e=this.options.appState.get("scopes"),t=e.slice().sort((function(e,t){return t.optional-e.optional})),o._.map(t,(function(e){var t=e.name,n=e.displayName,r=e.description,o=e.optional,i=e.isCustomized;return s.default.Input({name:t,input:u.default,placeholder:n,label:!1,modelType:"boolean",required:!0,options:{description:r,optional:o,isCustomized:i}})})))):[h(f.default),s.default.View({View:new l.default({model:this.model})}),m];var e,t}},Footer:o.View.extend({className:"consent-footer",template:r.default.template({1:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="terms-of-service" href="'+u("function"==typeof(a=null!=(a=c(n,"termsOfService")||(null!=t?c(t,"termsOfService"):t))?a:l)?a.call(s,{name:"termsOfService",hash:{},data:o,loc:{start:{line:1,column:56},end:{line:1,column:74}}}):a)+'" target="_blank">'+u((c(n,"i18n")||t&&c(t,"i18n")||l).call(s,{name:"i18n",hash:{bundle:"login",code:"consent.required.termsOfService"},data:o,loc:{start:{line:1,column:92},end:{line:1,column:154}}}))+"</a>"+(null!=(i=c(n,"if").call(s,null!=t?c(t,"privacyPolicy"):t,{name:"if",hash:{},fn:e.program(2,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:158},end:{line:1,column:194}}}))?i:"")},2:function(e,t,n,r,o){return" • "},4:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="privacy-policy" href="'+l("function"==typeof(i=null!=(i=u(n,"privacyPolicy")||(null!=t?u(t,"privacyPolicy"):t))?i:s)?i.call(a,{name:"privacyPolicy",hash:{},data:o,loc:{start:{line:1,column:254},end:{line:1,column:271}}}):i)+'" target="_blank">'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"consent.required.privacyPolicy"},data:o,loc:{start:{line:1,column:289},end:{line:1,column:350}}}))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"termsOfService"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:201}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"privacyPolicy"):t,{name:"if",hash:{},fn:e.program(4,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:201},end:{line:1,column:361}}}))?i:"")},useData:!0}),getTemplateData:function(){var e=this.options.appState;return{termsOfService:e.get("targetTermsOfService")&&e.get("targetTermsOfService").href,privacyPolicy:e.get("targetPrivacyPolicy")&&e.get("targetPrivacyPolicy").href}}})});t.default=y,e.exports=t.default},6782:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=s(n(6777)),i=s(n(7651)),a=s(n(1952));function s(e){return e&&e.__esModule?e:{default:e}}var l=r.internal.util.Util,u=o.default.extend({className:"custom-password-expired",Model:{},Form:{noButtonBar:!0,title:function(){var e=this.options.appState.get("isPwdExpiringSoon"),t=this.options.appState.get("passwordExpireDays");return e&&t>0?(0,r.loc)("password.expiring.title","login",[t]):e&&0===t?(0,r.loc)("password.expiring.today","login"):e?(0,r.loc)("password.expiring.soon","login"):this.settings.get("brandName")?(0,r.loc)("password.expired.title.specific","login",[this.settings.get("brandName")]):(0,r.loc)("password.expired.title.generic","login")},subtitle:function(){if(this.options.appState.get("isPwdExpiringSoon")){var e=this.settings.get("brandName")?(0,r.loc)("password.expiring.subtitle.specific","login",[this.settings.get("brandName")]):(0,r.loc)("password.expiring.subtitle.generic","login");return e+" "+(0,r.loc)("password.expired.custom.subtitle","login")}return(0,r.loc)("password.expired.custom.subtitle","login")},formChildren:function(){return[i.default.Button({title:r._.partial(r.loc,"password.expired.custom.submit","login",[this.options.appState.get("passwordExpiredWebsiteName")]),className:"button button-primary button-wide",attributes:{"data-se":"custom-button"},click:function(){l.redirect(this.options.appState.get("passwordExpiredLinkUrl"))}})]}},Footer:a.default});t.default=u,e.exports=t.default},2580:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(6276)),o=n(2048),i=l(n(6777)),a=l(n(7651)),s=l(n(4049));function l(e){return e&&e.__esModule?e:{default:e}}var u=o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="okta-form-infobox-error infobox infobox-error" role="alert"><span class="icon error-16"></span><p>'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"api.authn.error.PASSCODE_INVALID"},data:o,loc:{start:{line:1,column:110},end:{line:1,column:173}}}))+"</p></div>"},useData:!0})}),c=i.default.extend({className:"device-code-activate",Model:function(){var e,t;return{props:{userCode:["string",!0,null===(e=this.options)||void 0===e||null===(t=e.appState)||void 0===t?void 0:t.get("userCode")],stateToken:"string"},save:function(){var e=this;return this.doTransaction((function(t){return t.deviceActivate({userCode:e.get("userCode")})}))}}},Form:{noCancelButton:!0,autoSave:!0,save:function(){return(0,o.loc)("oform.next","login")},title:function(){return(0,o.loc)("device.code.activate.title","login")},subtitle:function(){return(0,o.loc)("device.code.activate.subtitle","login")},formChildren:function(){return"INVALID_USER_CODE"===this.options.appState.get("deviceActivationStatus")&&this.add(u,".o-form-error-container"),[a.default.Input({label:(0,o.loc)("device.code.activate.label","login"),"label-top":!0,name:"userCode",input:s.default,inputId:"user-code",type:"text",inlineValidation:!1})]},events:{'keyup input[name="userCode"]':function(e){e.preventDefault(),this.addHyphen(e)}},addHyphen:function(e){var t=e.target.value;t&&4===t.length&&!["Backspace","Delete","-"].includes(e.key)&&(e.target.value=t.concat("-"))}}});t.default=c,e.exports=t.default},5841:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(6276)),o=n(2048),i=s(n(6777)),a=s(n(7651));function s(e){return e&&e.__esModule?e:{default:e}}var l="DEVICE_ACTIVATED",u="DEVICE_NOT_ACTIVATED_CONSENT_DENIED",c="DEVICE_NOT_ACTIVATED",f=[u,c],d=i.default.extend({className:"device-code-terminal",postRender:function(){i.default.prototype.postRender.apply(this,arguments);var e=this.options.appState.get("deviceActivationStatus")===l?"success-24-green":"error-24-red";this.$(".o-form-head").before('<div class="device-code-terminal--icon-container"><span class="device-code-terminal--icon '+e+'"></span></div>')},Model:{},Form:{noCancelButton:!0,noButtonBar:!0,title:function(){var e=this.options.appState.get("deviceActivationStatus");return e===l?(0,o.loc)("device.code.activated.success.title","login"):o._.contains(f,e)?(0,o.loc)("device.code.activated.error.title","login"):void 0},subtitle:function(){var e=this.options.appState.get("deviceActivationStatus");return e===l?(0,o.loc)("idx.device.activated","login"):e===u?(0,o.loc)("idx.device.not.activated.consent.denied","login"):e===c?(0,o.loc)("idx.device.not.activated.internal.error","login"):void 0},formChildren:function(){return[a.default.View({View:o.View.extend({template:r.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="/activate" class="button button-primary text-align-c retry-button" data-se="try-again">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oie.try.again"},data:o,loc:{start:{line:1,column:121},end:{line:1,column:165}}}))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"isDeviceCodeError"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:176}}}))?i:""},useData:!0}),getTemplateData:function(){return{isDeviceCodeError:o._.contains(f,this.options.appState.get("deviceActivationStatus"))}}})})]}}});t.default=d,e.exports=t.default},1251:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=l(n(710)),i=l(n(709)),a=l(n(7651)),s=l(n(3739));function l(e){return e&&e.__esModule?e:{default:e}}var u=r.internal.util.Util,c=o.default.extend({Model:{local:{provider:"string",factorType:"string"},save:function(){var e=this;return this.manageTransaction((function(){var t=e.appState.get("enrollCustomFactorRedirectUrl");null!==t&&u.redirect(t)}))}},Form:function(){var e=new i.default.Model(this.options.appState.get("factor"),this.toJSON()).get("vendorName");return{autoSave:!0,title:e,subtitle:(0,r.loc)("enroll.customFactor.subtitle","login",[e]),save:(0,r.loc)("enroll.customFactor.save","login"),formChildren:function(){var e=[];return this.options.appState.get("isFactorResultFailed")&&e.push(a.default.View({View:new s.default({message:this.options.appState.get("factorResultErrorMessage")})},{selector:".o-form-error-container"})),e}}}});t.default=c,e.exports=t.default},6252:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(6276)),o=n(2048),i=u(n(6777)),a=u(n(7651)),s=u(n(5501)),l=u(n(2669));function u(e){return e&&e.__esModule?e:{default:e}}var c=i.default.extend({className:"enroll-activate-email",Model:{props:{passCode:"string"},resend:function(){return this.trigger("form:clear-errors"),this.doTransaction((function(e){return e.resend("email")}))},save:function(){this.trigger("save");var e=this.toJSON();return this.doTransaction((function(t){return t.activate(e)}))}},Form:function(){return{title:o._.partial(o.loc,"email.enroll.title","login"),noButtonBar:!1,autoSave:!0,save:o._.partial(o.loc,"oform.verify","login"),formChildren:[a.default.View({View:o.View.extend({className:"enroll-activate-email-content",attributes:{"data-se":"enroll-activate-email-content"},template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=(a(n,"i18n")||t&&a(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{arguments:"factorEmail",bundle:"login",code:"email.mfa.email.sent.description"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:89}}}))?i:""},useData:!0}),getTemplateData:function(){var e=this.options.appState.get("factor"),t=e&&e.profile?e.profile.email:"";return{factorEmail:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="mask-email">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"email")||(null!=t?a(t,"email"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"email",hash:{},data:o,loc:{start:{line:1,column:25},end:{line:1,column:34}}}):i)+"</span>"},useData:!0})({email:t})}}})}),a.default.View({View:s.default}),a.default.Input({label:(0,o.loc)("email.code.label","login"),"label-top":!0,name:"passCode",type:"text",wide:!0})]}},Footer:l.default});t.default=c,e.exports=t.default},6200:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=p(n(6276)),o=n(2048),i=p(n(2646)),a=p(n(5115)),s=p(n(6777)),l=p(n(7651)),u=p(n(7516)),c=p(n(2669)),f=p(n(5157)),d=p(n(4049));function p(e){return e&&e.__esModule?e:{default:e}}var h=o.internal.util.Keys,m=o.View.extend({className:"okta-form-infobox-warning infobox infobox-warning login-timeout-warning",attributes:{"aria-live":"polite"},template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="icon warning-16"></span><p>'+(null!=(i="function"==typeof(a=null!=(a=s(n,"warning")||(null!=t?s(t,"warning"):t))?a:e.hooks.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"warning",hash:{},data:o,loc:{start:{line:1,column:40},end:{line:1,column:53}}}):a)?i:"")+"</p>"},useData:!0})}),v={factorId:function(e){return!o._.isUndefined(e)}};function g(e){return"call"===e}function y(e){return g(e)?"enroll-call":"enroll-sms"}function b(e){h.isEnter(e)&&(e.stopPropagation(),e.preventDefault(),"keyup"===e.type&&e.data&&e.data.model&&e.data.model.sendCode())}var _=s.default.extend({className:function(){return y(this.options.factorType)},Model:function(){return{props:{phoneNumber:["string",!0],phoneExtension:["string",!1],lastEnrolledPhoneNumber:"string",passCode:["string",!0],factorId:"string"},local:{countryCode:["string",!1,this.options.appState.get("userCountryCode")],hasExistingPhones:"boolean",trapEnrollment:"boolean",ableToResend:"boolean",factorType:"string",skipPhoneValidation:"boolean"},derived:{countryCallingCode:{deps:["countryCode"],fn:function(e){return"+"+i.default.getCallingCodeForCountry(e)}},fullPhoneNumber:{deps:["countryCallingCode","phoneNumber"],fn:function(e,t){return t?e+t:""}},enrolled:{deps:["lastEnrolledPhoneNumber","fullPhoneNumber"],fn:function(e,t){return e===t}}},limitResending:function(){this.set({ableToResend:!1}),o._.delay(o._.bind(this.set,this),a.default.API_RATE_LIMIT,{ableToResend:!0})},sendCode:function(){var e=this,t=this.get("fullPhoneNumber"),n=this.get("phoneExtension");if(e.trigger("errors:clear"),t.length)return this.doTransaction((function(r){var i="MFA_ENROLL"===r.status||"FACTOR_ENROLL"===r.status,a={phoneNumber:t,updatePhone:!i||e.get("hasExistingPhones")};g(e.get("factorType"))&&(a.phoneExtension=n),e.get("skipPhoneValidation")&&(a.validatePhone=!1);var s=function(t){return o._.findWhere(t.factors,{factorType:e.get("factorType"),provider:"OKTA"}).enroll({profile:a}).catch((function(t){throw"E0000098"===t.errorCode&&(e.set("skipPhoneValidation",!0),t.xhr.responseJSON.errorSummary=(0,o.loc)("enroll.sms.try_again","login")),t}))};return i?s(r):(e.set("trapEnrollment",!0),r.prev().then(s).then((function(t){return e.set("trapEnrollment",!1),t})))}),!0).then((function(){e.set("lastEnrolledPhoneNumber",t),e.limitResending()})).catch((function(){e.set("trapEnrollment",!1)}));e.trigger("invalid",e,{phoneNumber:"model.validation.field.blank"})},resendCode:function(){return this.trigger("errors:clear"),this.limitResending(),this.doTransaction((function(e){return e.resend(this.get("factorType"))}))},save:function(){return this.doTransaction((function(e){return e.activate({passCode:this.get("passCode")})}))}}},Form:function(){var e=this.options.factorType,t=g(e),n=(0,o.loc)(t?"enroll.call.setup":"enroll.sms.setup","login"),r=(0,o.loc)(t?"mfa.call":"mfa.sendCode","login"),a=(0,o.loc)(t?"mfa.redial":"mfa.resendCode","login"),s=(0,o.loc)(t?"mfa.calling":"mfa.sent","login"),c=t?"enroll-call-phone":"enroll-sms-phone",p=t?"call-request-button":"sms-request-button",h=[l.default.Input({name:"countryCode",type:"select",wide:!0,options:i.default.getCountries()}),l.default.Input({label:(0,o.loc)("mfa.phoneNumber.placeholder","login"),"label-top":!0,className:c,name:"phoneNumber",input:f.default,type:"text",render:function(){this.$('input[name="phoneNumber"]').off("keydown keyup",b).keydown(b).keyup({model:this.model},b)}})];return t&&h.push(l.default.Input({label:(0,o.loc)("mfa.phoneNumber.ext.placeholder","login"),"label-top":!0,className:"enroll-call-extension",name:"phoneExtension",input:d.default,type:"text"})),h.push(l.default.Button({title:r,attributes:{"data-se":p},className:"button button-primary js-enroll-phone margin-top-30 "+p,click:function(){this.model.sendCode()}}),l.default.Button({title:a,attributes:{"data-se":p},className:"button js-enroll-phone margin-top-30 "+p,click:function(){this.model.resendCode()},initialize:function(){this.$el.css({display:"none"}),this.listenTo(this.model,"change:ableToResend",(function(e,t){t?(this.options.title=a,this.enable()):(this.options.title=s,this.disable()),this.render()}))}}),l.default.Divider({showWhen:v}),l.default.Input({label:(0,o.loc)("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,explain:u.default.createInputExplain("mfa.challenge.enterCode.tooltip","mfa.challenge.enterCode.placeholder","login"),"explain-top":!0,name:"passCode",input:d.default,type:"tel",showWhen:v}),l.default.Toolbar({noCancelButton:!0,save:(0,o.loc)("mfa.challenge.verify","login"),showWhen:v})),{title:n,noButtonBar:!0,autoSave:!0,className:y(e),showWarning:function(e){this.clearWarnings(),this.add(m,".o-form-error-container",{options:{warning:e}})},clearWarnings:function(){this.$(".okta-form-infobox-warning").remove()},initialize:function(){this.listenTo(this.model,"change:ableToResend",(function(e,n){n?this.showWarning((0,o.loc)(t?"factor.call.time.warning":"factor.sms.time.warning","login")):this.clearWarnings()})),this.listenTo(this.model,"error errors:clear",(function(){this.clearWarnings(),this.clearErrors()})),this.listenTo(this.model,"change:enrolled",(function(){this.$(".js-enroll-phone").toggle()}))},formChildren:h}},Footer:c.default,trapAuthResponse:function(){return this.options.appState.get("isMfaEnrollActivate")?(this.model.set("factorId",this.options.appState.get("activatedFactorId")),!0):!(!this.options.appState.get("isMfaEnroll")||!this.model.get("trapEnrollment"))||void 0},initialize:function(){g(this.options.factorType)?this.model.set("hasExistingPhones",this.options.appState.get("hasExistingPhonesForCall")):this.model.set("hasExistingPhones",this.options.appState.get("hasExistingPhones")),this.model.set("factorType",this.options.factorType)}});t.default=_,e.exports=t.default},5292:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(6276)),o=n(2048),i=f(n(4098)),a=f(n(2702)),s=f(n(1150)),l=f(n(5115)),u=f(n(6777)),c=f(n(9201));function f(e){return e&&e.__esModule?e:{default:e}}var d=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<span>"+(null!=(i="function"==typeof(a=null!=(a=s(n,"subtitle")||(null!=t?s(t,"subtitle"):t))?a:e.hooks.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"subtitle",hash:{},data:o,loc:{start:{line:1,column:6},end:{line:1,column:20}}}):a)?i:"")+"</span>"},useData:!0}),p=u.default.extend({className:"enroll-choices",state:{pageType:null},Model:{},Form:{noCancelButton:!0,title:o._.partial(o.loc,"enroll.choices.title","login"),noButtonBar:function(){return this.state.get("pageType")===l.default.ALL_OPTIONAL_NONE_ENROLLED},subtitle:" ",getSubtitle:function(){switch(this.state.get("pageType")){case l.default.ALL_OPTIONAL_SOME_ENROLLED:case l.default.HAS_REQUIRED_ALL_REQUIRED_ENROLLED:return(0,o.loc)("enroll.choices.optional","login");case l.default.HAS_REQUIRED_SOME_REQUIRED_ENROLLED:var e=this.options.appState.get("gracePeriodRemainingDays");return Number.isInteger(e)&&e>=0?this.getGracePeriodSubtitle(e):this.getDefaultSubtitle();default:return this.getDefaultSubtitle()}},getDefaultSubtitle:function(){return this.settings.get("brandName")?(0,o.loc)("enroll.choices.description.specific","login",[this.settings.get("brandName")]):(0,o.loc)("enroll.choices.description.generic","login")},getGracePeriodSubtitle:function(e){return e>=1?(0,o.loc)("enroll.choices.description.gracePeriod.bold","login",[e]):(0,o.loc)("enroll.choices.description.gracePeriod.oneDay.bold","login")},save:function(){switch(this.state.get("pageType")){case l.default.ALL_OPTIONAL_SOME_ENROLLED:case l.default.HAS_REQUIRED_ALL_REQUIRED_ENROLLED:return(0,o.loc)("enroll.choices.submit.finish","login");case l.default.HAS_REQUIRED_NONE_ENROLLED:return(0,o.loc)("enroll.choices.submit.configure","login");case l.default.HAS_REQUIRED_SOME_REQUIRED_ENROLLED:return(0,o.loc)("enroll.choices.submit.next","login");default:return""}},initialize:function(e){this.listenTo(this,"save",(function(){var t;switch(this.state.get("pageType")){case l.default.HAS_REQUIRED_NONE_ENROLLED:case l.default.HAS_REQUIRED_SOME_REQUIRED_ENROLLED:t=e.appState.get("factors").getFirstUnenrolledRequiredFactor(),e.appState.trigger("navigate",c.default.createEnrollFactorUrl(t.get("provider"),t.get("factorType")));break;default:return this.model.doTransaction((function(e){return e.skip()}))}}))},preRender:function(){this.add(d({subtitle:this.getSubtitle()}),"p.okta-form-subtitle");var e=this.options.appState.get("factors");switch(this.state.get("pageType")){case l.default.HAS_REQUIRED_NONE_ENROLLED:case l.default.HAS_REQUIRED_SOME_REQUIRED_ENROLLED:this.add(new s.default({minimize:!0,collection:new o.Collection(e.where({required:!0})),appState:this.options.appState}));break;case l.default.HAS_REQUIRED_ALL_REQUIRED_ENROLLED:case l.default.ALL_OPTIONAL_SOME_ENROLLED:case l.default.ALL_OPTIONAL_NONE_ENROLLED:var t,n=e.where({enrolled:!0}),r=e.filter((function(e){return!e.get("enrolled")||e.get("additionalEnrollment")}));n.length>0&&(t=(0,o.loc)("enroll.choices.list.optional","login"),this.add(new i.default({listTitle:(0,o.loc)("enroll.choices.list.enrolled","login"),minimize:!0,collection:new o.Collection(n),appState:this.options.appState}))),this.add(new i.default({listTitle:t,collection:new o.Collection(r),appState:this.options.appState,showInlineSetupButton:!0}))}}},initialize:function(e){var t,n,r=0,o=0,i=0,s=0;e.appState.get("factors").each((function(e){var t=e.get("required"),n=e.get("enrolled"),a=e.get("additionalEnrollment");t&&n?r++:t&&!n?o++:!t&&n?i++:t||n||s++,n&&a&&s++})),(t=r>0||o>0)&&0===r?n=l.default.HAS_REQUIRED_NONE_ENROLLED:t&&o>0?n=l.default.HAS_REQUIRED_SOME_REQUIRED_ENROLLED:t&&s>0?n=l.default.HAS_REQUIRED_ALL_REQUIRED_ENROLLED:0===i&&s>0?n=l.default.ALL_OPTIONAL_NONE_ENROLLED:s>0?n=l.default.ALL_OPTIONAL_SOME_ENROLLED:this.model.doTransaction((function(e){return e.skip()})),this.state.set("pageType",n),this.options.appState.get("skipLink")&&n===l.default.HAS_REQUIRED_SOME_REQUIRED_ENROLLED&&this.add(new a.default(this.toJSON()))}});t.default=p,e.exports=t.default},710:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=a(n(6777)),i=a(n(2669));function a(e){return e&&e.__esModule?e:{default:e}}var s=r.internal.util.Util,l=o.default.extend({className:"enroll-custom-factor",Model:{local:{provider:"string",factorType:"string"},save:function(){var e=this;return this.manageTransaction((function(t,n){return r._.findWhere(t.factors,{provider:e.get("provider"),factorType:e.get("factorType")}).enroll().then((function(t){n(t);var r=e.appState.get("enrollCustomFactorRedirectUrl");null!==r&&s.redirect(r)})).catch((function(e){throw e}))}))}},Form:function(){var e=this.options.appState.get("factors").findWhere({provider:this.options.provider,factorType:this.options.factorType}).get("vendorName");return{autoSave:!0,title:e,subtitle:(0,r.loc)("enroll.customFactor.subtitle","login",[e]),save:(0,r.loc)("enroll.customFactor.save","login")}},trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return!0},initialize:function(){this.model.set("provider",this.options.provider),this.model.set("factorType",this.options.factorType)},Footer:i.default});t.default=l,e.exports=t.default},1638:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=l(n(2877)),i=l(n(8177)),a=l(n(6777)),s=l(n(2669));function l(e){return e&&e.__esModule?e:{default:e}}var u=a.default.extend({className:"enroll-duo duo-form",Model:{props:{host:"string",signature:"string",postAction:"string",factorId:"string",stateToken:"string"},getInitOptions:function(){return this.doTransaction((function(e){return r._.findWhere(e.factors,{factorType:"web",provider:"DUO"}).enroll()}))},activate:function(e){var t=this.get("postAction"),n=this.get("factorId"),o=this,a={id:n,stateToken:this.get("stateToken"),sig_response:e};return(0,i.default)(r.$.post(t,a)).then((function(){return o.doTransaction((function(e){return e.poll()}))})).catch((function(e){o.trigger("error",o,e.xhr)}))}},Form:{autoSave:!0,noButtonBar:!0,title:r._.partial(r.loc,"enroll.duo.title","login"),postRender:function(){this.add('<iframe frameborder="0" title="'+this.title()+'"></iframe>'),o.default.init({host:this.model.get("host"),sig_request:this.model.get("signature"),iframe:this.$("iframe").get(0),post_action:r._.bind(this.model.activate,this.model)})}},Footer:s.default,fetchInitialData:function(){var e=this;return this.model.getInitOptions(this.options.appState).then((function(t){var n=t.data;if(!(n&&n._embedded&&n._embedded.factor&&n._embedded.factor._embedded&&n._embedded.factor._embedded.activation))throw new Error("Response does not have duo activation options");var r=n._embedded.factor,o=r._embedded.activation;e.model.set({host:o.host,signature:o.signature,postAction:o._links.complete.href,factorId:r.id,stateToken:n.stateToken})}))},trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return!0}});t.default=u,e.exports=t.default},5306:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(6276)),o=n(2048),i=l(n(6777)),a=l(n(7651)),s=l(n(2669));function l(e){return e&&e.__esModule?e:{default:e}}var u={local:{factorType:"string",provider:"string"},save:function(){this.trigger("save");var e=this.pick("factorType","provider");return this.doTransaction((function(t){return o._.findWhere(t.factors,e).enroll()}))}},c=i.default.extend({className:"enroll-email",Model:u,Form:function(){return{title:o._.partial(o.loc,"email.enroll.title","login"),noButtonBar:!1,autoSave:!0,save:o._.partial(o.loc,"email.button.send","login"),formChildren:[a.default.View({View:o.View.extend({attributes:{"data-se":"enroll-email-content"},template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"email.enroll.description"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:55}}}))},useData:!0})})})]}},Footer:s.default,initialize:function(){this.model.set(o._.pick(this.options,"factorType","provider"))}});t.default=c,e.exports=t.default},6912:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=l(n(6777)),i=l(n(7651)),a=l(n(2669)),s=l(n(3739));function l(e){return e&&e.__esModule?e:{default:e}}var u=o.default.extend({className:"enroll-hotp",Model:function(){return{local:{__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]}}},Form:{title:function(){var e=this.options.appState.get("factors").findWhere({provider:this.model.get("__provider__"),factorType:this.model.get("__factorType__")});return(0,r.loc)("enroll.totp.title","login",[e.get("factorLabel")])},noButtonBar:!0,attributes:{"data-se":"restrict-enroll"},formChildren:function(){return[i.default.View({View:new s.default({message:(0,r.loc)("enroll.hotp.restricted","login")})})]}},Footer:a.default});t.default=u,e.exports=t.default},1602:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=u(n(6777)),i=u(n(7651)),a=u(n(7516)),s=u(n(2669)),l=u(n(4049));function u(e){return e&&e.__esModule?e:{default:e}}function c(e){return"RSA"===e}function f(e){return c(e)?"enroll-rsa":"enroll-onprem"}var d=o.default.extend({className:function(){return f(this.options.provider)},Model:function(){var e=this.options.provider,t=this.options.appState.get("factors").findWhere(r._.pick(this.options,"provider","factorType")).get("profile");return{props:{credentialId:["string",!0,t&&t.credentialId?t.credentialId:""],passCode:["string",!0],factorId:"string"},save:function(){return this.doTransaction((function(t){return r._.findWhere(t.factors,{factorType:"token",provider:e}).enroll({passCode:this.get("passCode"),profile:{credentialId:this.get("credentialId")}})}))}}},Form:function(){var e=this.options.provider,t=this.options.appState.get("factors").findWhere(r._.pick(this.options,"provider","factorType")).get("vendorName");return{title:c(e)?(0,r.loc)("factor.totpHard.rsaSecurId","login"):t,noButtonBar:!0,autoSave:!0,className:f(e),initialize:function(){var e=this;this.listenTo(this.model,"error",(function(t,n){n&&409===n.status&&(e.$(".o-form-input-name-passCode input").val(""),e.$(".o-form-input-name-passCode input").trigger("change"),e.$(".o-form-input-name-passCode input").focus())}))},formChildren:[i.default.Input({label:(0,r.loc)("enroll.onprem.username.placeholder","login",[t]),"label-top":!0,explain:a.default.createInputExplain("enroll.onprem.username.tooltip","enroll.onprem.username.placeholder","login",[t],[t]),"explain-top":!0,name:"credentialId",input:l.default,type:"text"}),i.default.Input({label:(0,r.loc)("enroll.onprem.passcode.placeholder","login",[t]),"label-top":!0,explain:a.default.createInputExplain("enroll.onprem.passcode.tooltip","enroll.onprem.passcode.placeholder","login",[t],[t]),"explain-top":!0,name:"passCode",input:l.default,type:"password"}),i.default.Toolbar({noCancelButton:!0,save:(0,r.loc)("mfa.challenge.verify","login")})]}},Footer:s.default});t.default=d,e.exports=t.default},4668:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=l(n(6777)),i=l(n(3486)),a=l(n(2669)),s=l(n(4049));function l(e){return e&&e.__esModule?e:{default:e}}var u=o.default.extend({className:"enroll-password",Model:{props:{password:["string",!0],confirmPassword:["string",!0]},validate:function(){return i.default.validateFieldsMatch(this,"password","confirmPassword",(0,r.loc)("password.enroll.error.match","login"))},save:function(){return this.doTransaction((function(e){return r._.findWhere(e.factors,{factorType:"password",provider:"OKTA"}).enroll({profile:{password:this.get("password")}})}))}},Form:{autoSave:!0,title:r._.partial(r.loc,"enroll.password.setup","login"),inputs:function(){return[{label:(0,r.loc)("mfa.challenge.password.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"password",input:s.default,type:"password"},{label:(0,r.loc)("password.confirmPassword.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"confirmPassword",input:s.default,type:"password"}]}},Footer:a.default});t.default=u,e.exports=t.default},541:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=u(n(9057)),i=u(n(6777)),a=u(n(7516)),s=u(n(2669)),l=u(n(4049));function u(e){return e&&e.__esModule?e:{default:e}}var c=i.default.extend({className:"enroll-question",Model:{props:{question:"string",answer:["string",!0]},local:{securityQuestions:"object"},save:function(){return this.doTransaction((function(e){return r._.findWhere(e.factors,{factorType:"question",provider:"OKTA"}).enroll({profile:{question:this.get("question"),answer:this.get("answer")}})}))}},Form:{autoSave:!0,title:r._.partial(r.loc,"enroll.securityQuestion.setup","login"),inputs:function(){return[{label:!1,"label-top":!0,name:"question",type:"select",wide:!0,options:function(){return this.model.get("securityQuestions")},params:{searchThreshold:25}},{label:(0,r.loc)("mfa.challenge.answer.placeholder","login"),"label-top":!0,explain:a.default.createInputExplain("mfa.challenge.answer.tooltip","mfa.challenge.answer.placeholder","login"),"explain-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"answer",input:l.default,type:"text"}]}},Footer:s.default,fetchInitialData:function(){var e=this;return this.model.manageTransaction((function(e){return r._.findWhere(e.factors,{factorType:"question",provider:"OKTA"}).questions()})).then((function(t){var n={};r._.each(t,(function(e){n[e.question]=o.default.getSecurityQuestionLabel(e)})),e.model.set("securityQuestions",n)}))}});t.default=c,e.exports=t.default},9674:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=u(n(6777)),i=u(n(7651)),a=u(n(7516)),s=u(n(2669)),l=u(n(4049));function u(e){return e&&e.__esModule?e:{default:e}}var c=o.default.extend({className:"enroll-symantec",Model:{props:{credentialId:["string",!0],passCode:["string",!0],nextPassCode:["string",!0],factorId:"string"},save:function(){return this.doTransaction((function(e){return r._.findWhere(e.factors,{factorType:"token",provider:"SYMANTEC"}).enroll({passCode:this.get("passCode"),nextPassCode:this.get("nextPassCode"),profile:{credentialId:this.get("credentialId")}})}))}},Form:{title:r._.partial(r.loc,"factor.totpHard.symantecVip","login"),subtitle:r._.partial(r.loc,"enroll.symantecVip.subtitle","login"),noButtonBar:!0,autoSave:!0,className:"enroll-symantec",formChildren:function(){return[i.default.Input({label:(0,r.loc)("enroll.symantecVip.credentialId.placeholder","login"),"label-top":!0,explain:a.default.createInputExplain("enroll.symantecVip.credentialId.tooltip","enroll.symantecVip.credentialId.placeholder","login"),"explain-top":!0,name:"credentialId",input:l.default,type:"text"}),i.default.Input({label:(0,r.loc)("enroll.symantecVip.passcode1.placeholder","login"),"label-top":!0,explain:a.default.createInputExplain("enroll.symantecVip.passcode1.tooltip","enroll.symantecVip.passcode1.placeholder","login"),"explain-top":!0,name:"passCode",input:l.default,type:"text"}),i.default.Input({label:(0,r.loc)("enroll.symantecVip.passcode2.placeholder","login"),"label-top":!0,explain:a.default.createInputExplain("enroll.symantecVip.passcode2.tooltip","enroll.symantecVip.passcode2.placeholder","login"),"explain-top":!0,name:"nextPassCode",input:l.default,type:"text"}),i.default.Toolbar({noCancelButton:!0,save:(0,r.loc)("mfa.challenge.verify","login")})]}},Footer:s.default});t.default=c,e.exports=t.default},3728:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(6276)),o=n(2048),i=c(n(9057)),a=c(n(6777)),s=c(n(7651)),l=c(n(2269)),u=c(n(2669));function c(e){return e&&e.__esModule?e:{default:e}}function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}var d={__deviceType__:function(e){return void 0!==e}},p=o.View.extend({attributes:{"data-se":"app-download-instructions"},className:"app-download-instructions",template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u="function",c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="app-logo '+e.escapeExpression(f(a=null!=(a=c(n,"appIcon")||(null!=t?c(t,"appIcon"):t))?a:l)===u?a.call(s,{name:"appIcon",hash:{},data:o,loc:{start:{line:1,column:22},end:{line:1,column:33}}}):a)+'"></span><p class="instructions">'+(null!=(i=f(a=null!=(a=c(n,"appStoreLinkText")||(null!=t?c(t,"appStoreLinkText"):t))?a:l)===u?a.call(s,{name:"appStoreLinkText",hash:{},data:o,loc:{start:{line:1,column:66},end:{line:1,column:88}}}):a)?i:"")+"</p>"},useData:!0}),initialize:function(){this.listenTo(this.model,"change:__deviceType__",this.render)},postRender:function(){var e=this.$el.find(".instructions a");e.length&&(e[0].setAttribute("target","_blank"),e[0].setAttribute("rel","noreferer noopener"))},getTemplateData:function(){var e,t,n,r=i.default.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return n=l.default.STORE[this.model.get("__deviceType__")],"GOOGLE"===this.model.get("__provider__")?(e=l.default.GOOGLE[this.model.get("__deviceType__")],t="google-auth-38"):(e=l.default.OKTA[this.model.get("__deviceType__")],t="okta-verify-download-icon"),{appStoreLinkText:(0,o.loc)("enroll.totp.downloadApp","login",[e,r,n]),appIcon:t}}}),h=a.default.extend({className:"enroll-totp",Model:function(){return{local:{__deviceType__:"string",__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]},save:function(){return this.doTransaction((function(e){return o._.findWhere(e.factors,{factorType:this.get("__factorType__"),provider:this.get("__provider__")}).enroll()}))}}},Form:{title:function(){var e=i.default.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return(0,o.loc)("enroll.totp.title","login",[e])},noButtonBar:!0,attributes:{"data-se":"step-device-type"},formChildren:function(){var e={APPLE:(0,o.loc)("iphone","login"),ANDROID:(0,o.loc)("android","login")};return[s.default.Input({name:"__deviceType__",type:"radio",options:e,group:!0,label:o._.partial(o.loc,"enroll.totp.selectDevice","login")}),s.default.Divider({showWhen:d}),s.default.View({View:p,showWhen:d}),s.default.Button({title:(0,o.loc)("oform.next","login"),attributes:{"data-type":"save"},className:"button button-primary default-custom-button",click:function(){this.model.save()},showWhen:d})]}},Footer:u.default});t.default=h,e.exports=t.default},9890:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(6276)),o=n(2048),i=d(n(8177));n(2292);var a=n(2183),s=d(n(1521)),l=d(n(6777)),u=d(n(7651)),c=d(n(2669)),f=d(n(3739));function d(e){return e&&e.__esModule?e:{default:e}}var p=l.default.extend({className:"enroll-u2f",Model:{local:{__enrolled__:"boolean"},save:function(){return this.trigger("request"),this.get("__enrolled__")?this.activate():this.doTransaction((function(e){return o._.findWhere(e.factors,{factorType:"u2f",provider:"FIDO"}).enroll()}))},activate:function(){return this.set("__enrolled__",!0),this.trigger("errors:clear"),this.doTransaction((function(e){var t=e.factor.activation,n=t.appId,r=[{version:s.default.getU2fVersion(),challenge:t.nonce}],o=this,l=i.default.defer();return u2f.register(n,r,[],(function(t){o.trigger("errors:clear"),t.errorCode&&0!==t.errorCode?l.reject(new a.U2FError({xhr:{responseJSON:{errorSummary:s.default.getU2fEnrollErrorMessageByCode(t.errorCode)}}})):l.resolve(e.activate({registrationData:t.registrationData,version:t.version,challenge:t.challenge,clientData:t.clientData}))})),l.promise}))}},Form:{title:o._.partial(o.loc,"enroll.u2f.title","login"),save:o._.partial(o.loc,"enroll.u2f.save","login"),noCancelButton:!0,hasSavingState:!1,autoSave:!0,className:"enroll-u2f-form",noButtonBar:function(){return!s.default.isU2fAvailable()},modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:function(){var e=[];if(s.default.isU2fAvailable())e.push(u.default.View({View:o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="u2f-instructions"><ol><li>'+(null!=(i=(l(n,"i18n")||t&&l(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.u2f.general2"},data:o,loc:{start:{line:1,column:38},end:{line:1,column:90}}}))?i:"")+"</li><li>"+e.escapeExpression((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.u2f.general3"},data:o,loc:{start:{line:1,column:99},end:{line:1,column:149}}}))+"</li></ol></div>"},useData:!0})})})),e.push(u.default.View({View:o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="u2f-enroll-text hide"><p>'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"enroll.u2f.instructions"},data:o,loc:{start:{line:1,column:37},end:{line:1,column:91}}}))+"</p><p>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"enroll.u2f.instructionsBluetooth"},data:o,loc:{start:{line:1,column:98},end:{line:1,column:161}}}))+'</p><div data-se="u2f-devices" class="u2f-devices-images"><div class="u2f-usb"></div><div class="u2f-bluetooth"></div></div><div data-se="u2f-waiting" class="okta-waiting-spinner"></div></div>'},useData:!0})})}));else{var t="u2f.error.factorNotSupported";1===this.options.appState.get("factors").length&&(t="u2f.error.factorNotSupported.oneFactor"),e.push(u.default.View({View:new f.default({message:(0,o.loc)(t,"login")})},{selector:".o-form-error-container"}))}return e},_startEnrollment:function(){this.$(".u2f-instructions").addClass("hide"),this.$(".u2f-enroll-text").removeClass("hide"),this.$(".o-form-button-bar").hide()},_stopEnrollment:function(){this.$(".u2f-instructions").removeClass("hide"),this.$(".u2f-enroll-text").addClass("hide"),this.$(".o-form-button-bar").show()}},Footer:c.default,trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return this.model.activate(),!0}});t.default=p,e.exports=t.default},6817:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(1390)),o=s(n(3123)),i=s(n(1766)),a=s(n(7562));function s(e){return e&&e.__esModule?e:{default:e}}var l=o.default.extend({className:"enroll-user",initialize:function(e){this.options=e||{},this.model=new r.default(this.options)},fetchInitialData:function(){return this.options.appState.get("isUnauthenticated")?this.model.getEnrollFormData():o.default.prototype.fetchInitialData.call()},trapAuthResponse:function(){if(this.options.appState.get("isProfileRequired"))return!0},postRender:function(){var e=new i.default(this.toJSON());this.add(e),this.add(new a.default(this.toJSON())),this.addListeners()}});t.default=l,e.exports=t.default},7878:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=h(n(6276)),o=n(2048),i=h(n(8177)),a=h(n(5331)),s=h(n(4813)),l=n(2183),u=h(n(6777)),c=h(n(7651)),f=h(n(504)),d=h(n(2669)),p=h(n(3739));function h(e){return e&&e.__esModule?e:{default:e}}function m(e){return null==e?null:JSON.stringify(e)}var v=u.default.extend({className:"enroll-webauthn",Model:{local:{__enrolled__:"boolean"},save:function(){return this.trigger("request"),this.get("__enrolled__")?this.activate():this.doTransaction((function(e){return o._.findWhere(e.factors,{factorType:"webauthn",provider:"FIDO"}).enroll()}))},activate:function(){var e=this;return this.set("__enrolled__",!0),this.trigger("errors:clear"),this.appState.on("backToFactors",(function(){e.webauthnAbortController&&(e.webauthnAbortController.abort(),e.webauthnAbortController=null)})),this.doTransaction((function(e){var t,n,r=e.factor.activation,a=this;if(f.default.isNewApiAvailable()){var u=o._.extend({},r,{challenge:s.default.strToBin(r.challenge),user:{id:s.default.strToBin(r.user.id),name:r.user.name,displayName:r.user.displayName},excludeCredentials:(t=r.excludeCredentials,n=[],o._.each(t,(function(e){n.push({type:"public-key",id:s.default.strToBin(e.id)})})),n)});return"undefined"!=typeof AbortController&&(a.webauthnAbortController=new AbortController),new i.default(navigator.credentials.create({publicKey:u,signal:a.webauthnAbortController&&a.webauthnAbortController.signal})).then((function(t){return e.activate({attestation:s.default.binToStr(t.response.attestationObject),clientData:s.default.binToStr(t.response.clientDataJSON),transports:m(t.response.getTransports()),clientExtensions:m(t.getClientExtensionResults())})})).catch((function(e){throw a.trigger("errors:clear"),a.webauthnAbortController?new l.WebAuthnError({xhr:{responseJSON:{errorSummary:e.message}}}):new l.WebauthnAbortError})).finally((function(){a.webauthnAbortController=null}))}}))}},Form:{title:o._.partial(o.loc,"enroll.webauthn.biometric.title","login"),save:o._.partial(o.loc,"enroll.webauthn.save","login"),noCancelButton:!0,hasSavingState:!1,autoSave:!0,className:"enroll-webauthn-form",noButtonBar:function(){return!f.default.isNewApiAvailable()},modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:function(){var e=[];if(f.default.isNewApiAvailable())e.push(c.default.View({View:o.View.extend({className:"webauthn-enroll-text",template:r.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="webauthn-edge-text"><p>'+(null!=(i=(a(n,"i18n")||t&&a(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"enroll.webauthn.biometric.instructions.edge"},data:o,loc:{start:{line:1,column:173},end:{line:1,column:249}}}))?i:"")+"</p></div>"},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="webauthn-restrictions-text"><p>'+(null!=(i=(a(n,"i18n")||t&&a(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"enroll.webauthn.instructions.noSupportForBiometric"},data:o,loc:{start:{line:1,column:340},end:{line:1,column:423}}}))?i:"")+"</p></div>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="webauthn-enroll-instructions"><p>'+e.escapeExpression((s(n,"i18n")||t&&s(t,"i18n")||e.hooks.helperMissing).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.webauthn.biometric.instructions"},data:o,loc:{start:{line:1,column:45},end:{line:1,column:114}}}))+"</p></div>"+(null!=(i=s(n,"if").call(a,null!=t?s(t,"isEdge"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:124},end:{line:1,column:266}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"onlySupportsSecurityKey"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:266},end:{line:1,column:440}}}))?i:"")+'<div data-se="webauthn-waiting" class="okta-waiting-spinner hide"></div>'},useData:!0}),getTemplateData:function(){return{isEdge:a.default.isEdge(),onlySupportsSecurityKey:(a.default.isFirefox()||a.default.isSafari())&&a.default.isMac()}}})}));else{var t="webauthn.biometric.error.factorNotSupported";1===this.options.appState.get("factors").length&&(t="webauthn.biometric.error.factorNotSupported.oneFactor"),e.push(c.default.View({View:new p.default({message:(0,o.loc)(t,"login")})},{selector:".o-form-error-container"}))}return e},_startEnrollment:function(){this.$(".okta-waiting-spinner").show(),this.$(".o-form-button-bar").hide()},_stopEnrollment:function(){this.$(".okta-waiting-spinner").hide(),this.$(".o-form-button-bar").show()}},Footer:d.default,trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return this.model.activate(),!0}});t.default=v,e.exports=t.default},8305:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=c(n(6777)),i=c(n(7651)),a=c(n(504)),s=c(n(2669)),l=c(n(3739)),u=c(n(7068));function c(e){return e&&e.__esModule?e:{default:e}}var f=o.default.extend({className:"enroll-windows-hello",Model:{local:{__isEnrolled__:"boolean"},save:function(){if(a.default.isAvailable())return this.trigger("request"),this.get("__isEnrolled__")?this.activate():this.doTransaction((function(e){return this._enroll(e)}))},_enroll:function(e){return r._.findWhere(e.factors,{factorType:"webauthn",provider:"FIDO"}).enroll()},activate:function(){return this.set("__isEnrolled__",!0),this.doTransaction((function(e){var t=e.factor.activation,n=e.user,r=this,o={rpDisplayName:t.rpDisplayName,userDisplayName:n.profile.displayName,accountName:n.profile.login,userId:n.id},i=[{algorithm:t.algorithm}],s=t.nonce;return a.default.makeCredential(o,i,s).then((function(t){return e.activate({credentialId:t.credential.id,publicKey:t.publicKey,attestation:null})})).catch((function(t){switch(t.message){case"AbortError":case"NotFoundError":case"NotSupportedError":return r.trigger("abort",t.message),e}throw t}))}))}},Form:{autoSave:!0,hasSavingState:!1,title:r._.partial(r.loc,"enroll.windowsHello.title","login"),subtitle:function(){return a.default.isAvailable()?(0,r.loc)("enroll.windowsHello.subtitle","login"):""},save:r._.partial(r.loc,"enroll.windowsHello.save","login"),customSavingState:{stop:"abort"},modelEvents:function(){return a.default.isAvailable()?{request:"_startEnrollment",error:"_stopEnrollment",abort:"_stopEnrollment"}:{}},noButtonBar:function(){return!a.default.isAvailable()},formChildren:function(){var e=[];return a.default.isAvailable()||e.push(i.default.View({View:new l.default({message:(0,r.loc)("enroll.windowsHello.error.notWindows","login")})},{selector:".o-form-error-container"})),e.push(i.default.View({View:new u.default({model:this.model,visible:!1})})),e},_startEnrollment:function(){this.subtitle=(0,r.loc)("enroll.windowsHello.subtitle.loading","login"),this.model.trigger("spinner:show"),this._resetErrorMessage(),this.render(),this.$(".o-form-button-bar").addClass("hide")},_stopEnrollment:function(e){var t;if(this.subtitle=(0,r.loc)("enroll.windowsHello.subtitle","login"),this.model.trigger("spinner:hide"),"NotSupportedError"===e)t=(0,r.loc)("enroll.windowsHello.error.notConfiguredHtml","login");if(this._resetErrorMessage(),t){var n=new l.default({message:t});this.$(".o-form-error-container").addClass("o-form-has-errors"),this.add(n,{selector:".o-form-error-container"}),this._errorMessageView=this.last()}this.render(),this.$(".o-form-button-bar").removeClass("hide")},_resetErrorMessage:function(){this._errorMessageView&&this._errorMessageView.remove(),this._errorMessageView=void 0,this.clearErrors()}},Footer:s.default,trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return this.model.activate(),!0}});t.default=f,e.exports=t.default},6595:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=l(n(6777)),i=l(n(7651)),a=l(n(2669)),s=l(n(4049));function l(e){return e&&e.__esModule?e:{default:e}}var u=o.default.extend({className:"enroll-yubikey",Model:{props:{passCode:["string",!0],factorId:"string"},save:function(){return this.doTransaction((function(e){return r._.findWhere(e.factors,{factorType:"token:hardware",provider:"YUBICO"}).enroll({passCode:this.get("passCode")})}))}},Form:{title:r._.partial(r.loc,"enroll.yubikey.title","login"),subtitle:r._.partial(r.loc,"enroll.yubikey.subtitle","login"),noCancelButton:!0,save:r._.partial(r.loc,"mfa.challenge.verify","login"),autoSave:!0,className:"enroll-yubikey",formChildren:[i.default.View({View:'<div class="yubikey-demo" data-type="yubikey-example"></div>'}),i.default.Input({name:"passCode",input:s.default,type:"password"})]},Footer:a.default});t.default=u,e.exports=t.default},9160:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(6276)),o=n(2048),i=u(n(2646)),a=u(n(6777)),s=u(n(7651)),l=u(n(9201));function u(e){return e&&e.__esModule?e:{default:e}}var c=o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help js-back" data-se="back-link">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oform.back"},data:o,loc:{start:{line:1,column:58},end:{line:1,column:99}}}))+"</a>"},useData:!0}),className:"auth-footer",events:{"click .js-back":function(e){e.preventDefault(),this.back()}},back:function(){var e=l.default.createActivateFactorUrl(this.options.appState.get("activatedFactorProvider"),this.options.appState.get("activatedFactorType"),"manual");this.options.appState.trigger("navigate",e)}}),f={title:o._.partial(o.loc,"enroll.totp.enrollViaEmail.title","login"),noButtonBar:!0,attributes:{"data-se":"sent-email-activation-link"},formChildren:[s.default.View({View:o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.totp.enrollViaEmail.msg"},data:o,loc:{start:{line:1,column:3},end:{line:1,column:64}}}))+'</p><p class="email-address">'+l("function"==typeof(i=null!=(i=u(n,"email")||(null!=t?u(t,"email"):t))?i:s)?i.call(a,{name:"email",hash:{},data:o,loc:{start:{line:1,column:93},end:{line:1,column:102}}}):i)+"</p>"},useData:!0}),getTemplateData:function(){return{email:this.options.appState.get("userEmail")}}})})]},d={title:o._.partial(o.loc,"enroll.totp.enrollViaSms.title","login"),noButtonBar:!0,attributes:{"data-se":"sent-sms-activation-link"},formChildren:[s.default.View({View:o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.totp.enrollViaSms.msg"},data:o,loc:{start:{line:1,column:3},end:{line:1,column:62}}}))+'</p><p class="phone-number">'+l("function"==typeof(i=null!=(i=u(n,"phoneNumber")||(null!=t?u(t,"phoneNumber"):t))?i:s)?i.call(a,{name:"phoneNumber",hash:{},data:o,loc:{start:{line:1,column:90},end:{line:1,column:105}}}):i)+"</p>"},useData:!0}),getTemplateData:function(){return{phoneNumber:this.model.get("fullPhoneNumber")}}})})]},p=a.default.extend({className:"enroll-activation-link-sent",Model:function(){return{local:{countryCode:["string",!1,this.options.appState.get("userCountryCode")],phoneNumber:["string",!1,this.options.appState.get("userPhoneNumber")],__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]},derived:{countryCallingCode:{deps:["countryCode"],fn:function(e){return"+"+i.default.getCallingCodeForCountry(e)}},fullPhoneNumber:{deps:["countryCallingCode","phoneNumber"],fn:function(e,t){return e+t}}}}},Form:function(){var e=this.options.appState.get("factorActivationType");switch(e){case"SMS":return d;case"EMAIL":return f;default:throw new Error("Unknown activation option: "+e)}},Footer:c,initialize:function(){this.pollForEnrollment()},remove:function(){return a.default.prototype.remove.apply(this,arguments)},pollForEnrollment:function(){return this.model.doTransaction((function(e){return e.poll(6e3)}))},trapAuthResponse:function(){if(this.options.appState.get("isWaitingForActivation"))return this.pollForEnrollment(),!0}});t.default=p,e.exports=t.default},7820:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(6276)),o=n(2048),i=l(n(6777)),a=l(n(9201)),s=l(n(1920));function l(e){return e&&e.__esModule?e:{default:e}}var u=o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help js-back" data-se="back-link">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oform.back"},data:o,loc:{start:{line:1,column:58},end:{line:1,column:99}}}))+"</a>"},useData:!0}),className:"auth-footer",events:{"click .js-back":function(e){e.preventDefault(),this.back()}},back:function(){var e=a.default.createActivateFactorUrl(this.options.appState.get("activatedFactorProvider"),"push","manual");this.options.appState.trigger("navigate",e)}}),c=i.default.extend({className:"activate-push",Model:function(){return{props:{factorId:["string",!0,this.options.appState.get("activatedFactorId")],passCode:["string",!0]},local:{__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]},save:function(){return this.doTransaction((function(e){return e.activate({passCode:this.get("passCode")})}))}}},Form:s.default,Footer:u});t.default=c,e.exports=t.default},8625:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(6777)),o=i(n(9607));function i(e){return e&&e.__esModule?e:{default:e}}var a=r.default.extend({className:"error-state",Model:{},Form:{noButtonBar:!0},Footer:o.default});t.default=a,e.exports=t.default},8246:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(7068)),o=a(n(3123)),i=a(n(7516));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.default.extend({className:"force-idp-discovery",View:r.default,Model:{},initialize:function(){var e=this,t=this.options,n=t.appState.get("lastAuthResponse"),r={resource:"okta:acct:",requestContext:n&&(null==n?void 0:n.stateToken)};t.appState.settings.getAuthClient().webfinger(r).then((function(n){if(null!=n&&n.links&&n.links[0]&&("OKTA"!==n.links[0].properties["okta:idp:type"]&&n.links[0].href))return void(n.links[0].href.includes("OKTA_INVALID_SESSION_REPOST%3Dtrue")?i.default.redirectWithFormGet.bind(i.default):e.settings.get("redirectUtilFn"))(n.links[0].href);t.appState.trigger("navigate","")})).catch((function(){t.appState.trigger("navigate","")}))}});t.default=s,e.exports=t.default},6850:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(6276)),o=n(2048),i=d(n(5115)),a=d(n(6777)),s=d(n(7651)),l=d(n(7516)),u=d(n(3486)),c=d(n(3891)),f=d(n(4049));function d(e){return e&&e.__esModule?e:{default:e}}var p=o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="okta-form-infobox-error infobox infobox-error" role="alert"><span class="icon error-16"></span><p>'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"password.forgot.noFactorsEnabled"},data:o,loc:{start:{line:1,column:110},end:{line:1,column:173}}}))+"</p></div>"},useData:!0})}),h=o.View.extend({template:r.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help js-back" data-se="back-link">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"goback"},data:o,loc:{start:{line:1,column:94},end:{line:1,column:131}}}))+"</a>"},3:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link goto js-contact-support">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"mfa.noAccessToEmail"},data:o,loc:{start:{line:1,column:220},end:{line:1,column:270}}}))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"unless").call(a,null!=t?s(t,"hideBackToSignInForReset"):t,{name:"unless",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:146}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"helpSupportNumber"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:146},end:{line:1,column:281}}}))?i:"")},useData:!0}),className:"auth-footer",events:{"click .js-back":function(e){e.preventDefault(),this.back()},"click .js-contact-support":function(e){e.preventDefault(),this.state.trigger("contactSupport"),this.$(".js-contact-support").hide()}},getTemplateData:function(){return{hideBackToSignInForReset:this.settings.get("features.hideBackToSignInForReset"),helpSupportNumber:this.settings.get("helpSupportNumber")}},back:function(){this.state.set("navigateDir",i.default.DIRECTION_BACK),this.options.appState.trigger("navigate","")}}),m=a.default.extend({className:"forgot-password",Model:{props:{username:["string",!0],factorType:["string",!0]},validate:function(){return u.default.validateUsername(this)},save:function(){var e=this,t=this.settings.get("relayState");this.startTransaction((function(n){return n.forgotPassword({username:e.settings.transformUsername(e.get("username"),i.default.FORGOT_PASSWORD),factorType:e.get("factorType"),relayState:t})})).catch((function(){}))}},Form:{noButtonBar:!0,title:o._.partial(o.loc,"password.reset","login"),formChildren:function(){var e=this.settings.get("features.smsRecovery"),t=this.settings.get("features.callRecovery"),n=this.settings.get("features.emailRecovery"),a=[];return!(e||t||n)?this.add(p,".o-form-error-container"):(a.push(s.default.Input({label:(0,o.loc)("password.forgot.email.or.username.placeholder","login"),"label-top":!0,explain:l.default.createInputExplain("password.forgot.email.or.username.tooltip","password.forgot.email.or.username.placeholder","login"),"explain-top":!0,name:"username",input:f.default,inputId:"account-recovery-username",autoComplete:"username",type:"text",inlineValidation:!1})),(e||t)&&a.push(s.default.View({View:o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="mobile-recovery-hint">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{arguments:"mobileFactors",bundle:"login",code:"recovery.mobile.hint"},data:o,loc:{start:{line:1,column:32},end:{line:1,column:109}}}))+"</p>"},useData:!0}),getTemplateData:function(){return{mobileFactors:e&&t?(0,o.loc)("recovery.smsOrCall"):t?(0,o.loc)("recovery.call"):(0,o.loc)("recovery.sms")}}})})),e&&(this.$el.addClass("forgot-password-sms-enabled"),a.push(this.createRecoveryFactorButton("sms-button","password.forgot.sendText",i.default.RECOVERY_FACTOR_TYPE_SMS,this)),this.setDefaultFactorType(i.default.RECOVERY_FACTOR_TYPE_SMS)),t&&(this.$el.addClass("forgot-password-call-enabled"),a.push(this.createRecoveryFactorButton("call-button","password.forgot.call",i.default.RECOVERY_FACTOR_TYPE_CALL,this)),this.setDefaultFactorType(i.default.RECOVERY_FACTOR_TYPE_CALL)),n&&(this.$el.addClass("forgot-password-email-enabled"),a.push(this.createRecoveryFactorButton("email-button","password.forgot.sendEmail",i.default.RECOVERY_FACTOR_TYPE_EMAIL,this)),this.setDefaultFactorType(i.default.RECOVERY_FACTOR_TYPE_EMAIL))),a},initialize:function(){this.listenTo(this.state,"contactSupport",(function(){this.add(c.default,".o-form-error-container")})),this.listenTo(this,"save",(function(){this.options.appState.set("username",this.model.get("username")),this.model.save()}))},setDefaultFactorType:function(e){o._.isEmpty(this.model.get("factorType"))&&this.model.set("factorType",e)},createRecoveryFactorButton:function(e,t,n,r){return s.default.Button({attributes:{"data-se":e},className:"button button-primary button-wide "+e,title:(0,o.loc)(t,"login"),click:function(){r.clearErrors(),this.model.isValid()&&(this.model.set("factorType",n),r.trigger("save",this.model))}})}},Footer:h,initialize:function(){this.options.appState.unset("username")}});t.default=m,e.exports=t.default},990:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(8349)),o=d(n(3597)),i=d(n(7804)),a=d(n(3123)),s=d(n(7491)),l=d(n(3329)),u=d(n(6568)),c=d(n(9201)),f=d(n(7516));function d(e){return e&&e.__esModule?e:{default:e}}var p=r.default.extend({className:"idp-discovery",View:s.default,constructor:function(e){e.appState.unset("username");var t=e.settings.get("idpDiscovery.requestContext"),n=e.appState.get("lastAuthResponse"),r=n&&(null==n?void 0:n.stateToken);f.default.isV1StateToken(t)&&(t=r),this.model=new o.default({requestContext:t,settings:e.settings,appState:e.appState},{parse:!0}),a.default.apply(this,arguments),this.addListeners(),e.settings.get("hasConfiguredButtons")&&this.add(l.default,{prepend:e.settings.get("socialAuthPositionTop"),options:{currentController:this}}),this.addFooter(e),this.setUsername()},initialize:function(){r.default.prototype.initialize.apply(this),this.listenTo(this.model,"goToPrimaryAuth",(function(){this.settings.set("username",this.model.get("username"));var e=this;this.settings.get("features.deviceFingerprinting")?u.default.generateDeviceFingerprint(this.settings.get("baseUrl"),this.$el).then((function(t){e.options.appState.set("deviceFingerprint",t),e.options.appState.set("username",e.model.get("username"))})).catch((function(){e.options.appState.set("username",e.model.get("username"))})).finally((function(){e.doPrimaryAuth()})):e.doPrimaryAuth()}))},doPrimaryAuth:function(){if(this.settings.get("features.passwordlessAuth")){var e=new i.default({username:this.model.get("username"),multiOptionalFactorEnroll:this.options.settings.get("features.multiOptionalFactorEnroll"),settings:this.options.settings,appState:this.options.appState},{parse:!0});this.listenTo(e,"error",(function(e,t){this.toggleButtonState(!1),this.model.trigger("error",this.model,t)})),this.addModelListeners(e),e.save()}else{this.options.appState.set("disableUsername",!0);var t=c.default.createSigninUrl(this.settings.get("features.prefillUsernameFromIdpDiscovery")&&this.model.get("username"));this.options.appState.trigger("navigate",t)}}});t.default=p,e.exports=t.default},8343:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(6276)),o=n(2048),i=d(n(2646)),a=d(n(9057)),s=d(n(6777)),l=d(n(7651)),u=d(n(9201)),c=d(n(2329)),f=d(n(5157));function d(e){return e&&e.__esModule?e:{default:e}}function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function h(e,t){var n=u.default.createActivateFactorUrl(e.options.appState.get("activatedFactorProvider"),e.options.appState.get("activatedFactorType"),t);e.options.appState.trigger("navigate",n)}function m(e){var t,n;"SMS"===e.model.get("activationType")&&(n=e.model.get("countryCode"),t=e.model.get("phoneNumber")),e.options.appState.set({factorActivationType:e.model.get("activationType"),userCountryCode:n,userPhoneNumber:t})}function v(e,t){return e.model.doTransaction((function(n){return n.prev().then((function(e){return o._.findWhere(e.factors,{factorType:t,provider:"OKTA"}).enroll()})).then((function(t){var n,r,i,a=t.data;if(a&&a._embedded&&a._embedded.factor&&a._embedded.factor._embedded&&a._embedded.factor._embedded.activation){var s=a._embedded.factor;if(i=s._embedded.activation.sharedSecret,s._embedded.activation._links&&s._embedded.activation._links.send){var l=s._embedded.activation._links.send,u=o._.findWhere(l,{name:"sms"});n=u?u.href:null;var c=o._.findWhere(l,{name:"email"});r=c?c.href:null}}return e.model.set({SMS:n,EMAIL:r,sharedSecret:i}),t}))}))}var g=s.default.extend({className:"enroll-manual-push",Model:function(){return{local:{activationType:["string",!0,this.options.appState.get("factorActivationType")||"SMS"],countryCode:["string",!1,this.options.appState.get("userCountryCode")],phoneNumber:"string",SMS:["string",!1,this.options.appState.get("textActivationLinkUrl")],EMAIL:["string",!1,this.options.appState.get("emailActivationLinkUrl")],sharedSecret:["string",!1,this.options.appState.get("sharedSecret")],__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]},derived:{countryCallingCode:{deps:["countryCode"],fn:function(e){return"+"+i.default.getCallingCodeForCountry(e)}},fullPhoneNumber:{deps:["countryCallingCode","phoneNumber"],fn:function(e,t){return e+t}}}}},Form:{title:function(){var e=a.default.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return(0,o.loc)("enroll.totp.title","login",[e])},subtitle:o._.partial(o.loc,"enroll.totp.cannotScanBarcode","login"),noButtonBar:!0,attributes:{"data-se":"step-manual-setup"},formChildren:function(){var e=this,t=this.settings.get("brandName")?(0,o.loc)("enroll.totp.sharedSecretInstructions.specific","login",[this.settings.get("brandName")]):(0,o.loc)("enroll.totp.sharedSecretInstructions.generic","login");return[l.default.Input({name:"activationType",label:(0,o.loc)("mfa.setupOptions","login"),type:"select",wide:!0,options:{SMS:(0,o.loc)("enroll.totp.sendSms","login"),EMAIL:(0,o.loc)("enroll.totp.sendEmail","login"),MANUAL:(0,o.loc)("enroll.totp.setupManually","login")}}),l.default.Input({label:(0,o.loc)("mfa.country","login"),name:"countryCode",type:"select",wide:!0,options:i.default.getCountries(),showWhen:{activationType:"SMS"}}),l.default.Input({label:(0,o.loc)("mfa.phoneNumber.placeholder","login"),"label-top":!0,className:"enroll-sms-phone",name:"phoneNumber",input:f.default,type:"text",showWhen:{activationType:"SMS"}}),l.default.View({View:o.View.extend({className:"secret-key-instructions",attributes:{"data-se":"secret-key-instructions"},template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<section aria-live="assertive"><p class="okta-form-subtitle o-form-explain text-align-c">'+u(p(i=null!=(i=c(n,"instructions")||(null!=t?c(t,"instructions"):t))?i:s)===l?i.call(a,{name:"instructions",hash:{},data:o,loc:{start:{line:1,column:89},end:{line:1,column:105}}}):i)+'</p><p class="shared-key margin-top-10" tabindex=0 aria-label="'+u((c(n,"i18n")||t&&c(t,"i18n")||s).call(a,{name:"i18n",hash:{arguments:"sharedSecretKey",bundle:"login",code:"enroll.totp.sharedSecretInstructions.aria.secretKey"},data:o,loc:{start:{line:1,column:168},end:{line:1,column:278}}}))+'">'+u(p(i=null!=(i=c(n,"sharedSecretKey")||(null!=t?c(t,"sharedSecretKey"):t))?i:s)===l?i.call(a,{name:"sharedSecretKey",hash:{},data:o,loc:{start:{line:1,column:280},end:{line:1,column:299}}}):i)+"</p></section>"},useData:!0}),initialize:function(){this.listenTo(this.model,"change:sharedSecret",this.render)},getTemplateData:function(){return{instructions:t,sharedSecretKey:this.model.get("sharedSecret")}}}),showWhen:{activationType:"MANUAL"}}),l.default.View({View:o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div data-type="next-button-wrap"></div>'},useData:!0})}),showWhen:{activationType:"MANUAL"}}),l.default.Button({title:(0,o.loc)("oform.next","login"),className:"button button-primary button-wide button-next",attributes:{"data-se":"next-button"},click:function(){m(e),h(e,"passcode")}},'[data-type="next-button-wrap"]'),l.default.Toolbar({noCancelButton:!0,save:(0,o.loc)("oform.send","login"),showWhen:{activationType:function(e){return"SMS"===e||"EMAIL"===e}}})]}},Footer:c.default,initialize:function(){this.setInitialModel(),this.listenTo(this.form,"save",(function(){var e=this;this.model.doTransaction((function(t){var n=this.get("activationType").toLowerCase(),r={};return"sms"===n&&(r.profile={phoneNumber:this.get("fullPhoneNumber")}),t.factor.activation.send(n,r).then((function(t){return m(e),o._.defer((function(){h(e,"sent")})),t}))}))})),this.listenTo(this.model,"change:activationType",(function(e,t){this.form.clearErrors(),"MANUAL"===t&&"token:software:totp"!==this.options.appState.get("activatedFactorType")?v(this,"token:software:totp"):"push"!==this.options.appState.get("activatedFactorType")&&v(this,"push")}))},setInitialModel:function(){"SMS"===this.options.appState.get("factorActivationType")&&this.model.set({countryCode:this.options.appState.get("userCountryCode")||"US",phoneNumber:this.options.appState.get("userPhoneNumber")})},trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate")||this.options.appState.get("isMfaEnroll"))return!0}});t.default=g,e.exports=t.default},2410:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(6276)),o=n(2048),i=c(n(9057)),a=c(n(6777)),s=c(n(7651)),l=c(n(9201)),u=c(n(1652));function c(e){return e&&e.__esModule?e:{default:e}}function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}var d=a.default.extend({className:"enroll-manual-totp",Model:function(){return{local:{sharedSecret:["string",!1,this.options.appState.get("sharedSecret")],__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]}}},Form:{title:function(){var e=i.default.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return(0,o.loc)("enroll.totp.title","login",[e])},subtitle:o._.partial(o.loc,"enroll.totp.cannotScanBarcode","login"),noButtonBar:!0,attributes:{"data-se":"step-manual-setup"},formChildren:function(){var e=this.settings.get("brandName")?(0,o.loc)("enroll.totp.manualSetupInstructions.specific","login",[this.settings.get("brandName")]):(0,o.loc)("enroll.totp.manualSetupInstructions.generic","login");return[s.default.View({View:o.View.extend({className:"secret-key-instructions",attributes:{"data-se":"secret-key-instructions"},template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<section aria-live="assertive"><p class="okta-form-subtitle o-form-explain text-align-c">'+u(f(i=null!=(i=c(n,"instructions")||(null!=t?c(t,"instructions"):t))?i:s)===l?i.call(a,{name:"instructions",hash:{},data:o,loc:{start:{line:1,column:89},end:{line:1,column:105}}}):i)+'</p><p class="shared-key margin-top-10" tabindex=0 aria-label="'+u((c(n,"i18n")||t&&c(t,"i18n")||s).call(a,{name:"i18n",hash:{arguments:"sharedSecretKey",bundle:"login",code:"enroll.totp.sharedSecretInstructions.aria.secretKey"},data:o,loc:{start:{line:1,column:168},end:{line:1,column:278}}}))+'">'+u(f(i=null!=(i=c(n,"sharedSecretKey")||(null!=t?c(t,"sharedSecretKey"):t))?i:s)===l?i.call(a,{name:"sharedSecretKey",hash:{},data:o,loc:{start:{line:1,column:280},end:{line:1,column:299}}}):i)+"</p></section>"},useData:!0}),initialize:function(){this.listenTo(this.model,"change:sharedSecret",this.render)},getTemplateData:function(){return{instructions:e,sharedSecretKey:this.model.get("sharedSecret")}}})}),s.default.Toolbar({noCancelButton:!0,save:(0,o.loc)("oform.next","login")})]}},Footer:u.default,initialize:function(){this.listenTo(this.form,"save",(function(){var e=l.default.createActivateFactorUrl(this.model.get("__provider__"),this.model.get("__factorType__"),"activate");this.options.appState.trigger("navigate",e)}))}});t.default=d,e.exports=t.default},5875:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=m(n(3123)),i=m(n(3776)),a=m(n(2521)),s=m(n(4376)),l=m(n(4729)),u=m(n(3190)),c=m(n(8873)),f=m(n(2991)),d=m(n(6101)),p=m(n(5293)),h=m(n(100));function m(e){return e&&e.__esModule?e:{default:e}}var v=r.internal.views.forms.inputs.CheckBox,g=o.default.extend({className:"mfa-verify",initialize:function(e){var t,n=e.factorType;switch(n){case"question":t=c.default;break;case"email":t=this.options.appState.get("isIdxStateToken")?i.default:f.default;break;case"sms":case"call":t=s.default;break;case"token":case"token:software:totp":case"token:hotp":t=d.default;break;case"token:hardware":t=p.default;break;case"push":t=u.default;break;case"password":t=l.default;break;default:throw new Error("Unrecognized factor type")}if(this.model=this.findModel(n,e),!this.model)throw new Error("Unrecognized factor/provider");this.addListeners(),this.add(new t(this.toJSON())),"push"===n&&this.model.get("isOktaFactor")&&(this.model.get("backupFactor")&&(this.inlineTotpForm=this.add(a.default,{options:{model:this.model.get("backupFactor")}}).last()),this.settings.get("features.autoPush")&&(this.autoPushCheckBox=this.add(v,{options:{model:this.model,name:"autoPush",placeholder:(0,r.loc)("autoPush","login"),label:!1,"label-top":!1,className:"margin-btm-0"}}).last()),this.options.appState.get("allowRememberDevice")&&(this.rememberDeviceCheckbox=this.add(v,{options:{model:this.model,name:"rememberDevice",placeholder:this.options.appState.get("rememberDeviceLabel"),label:!1,"label-top":!0,className:"margin-btm-0"}}).last()),this.model.get("backupFactor")&&this.listenTo(this.model,"change:rememberDevice",(function(e,t){e.get("backupFactor").set("rememberDevice",t)}))),this.listenTo(this.options.appState,"change:isWaitingForNumberChallenge",(function(e,t){t||"SUCCESS"===this.options.appState.get("lastAuthResponse").status?(this.autoPushCheckBox&&this.autoPushCheckBox.$el.hide(),this.rememberDeviceCheckbox&&this.rememberDeviceCheckbox.$el.hide(),this.inlineTotpForm&&this.inlineTotpForm.$el.hide()):(this.autoPushCheckBox&&this.autoPushCheckBox.$el.show(),this.rememberDeviceCheckbox&&this.rememberDeviceCheckbox.$el.show(),this.inlineTotpForm&&this.inlineTotpForm.$el.show())})),this.add(new h.default(this.toJSON()))},findModel:function(e,t){var n=t.appState.get("factors"),r=t.provider,o=t.factorIndex;return r?n.hasMultipleFactorsOfSameType(e)&&o?n.getFactorByTypeAndIndex(e,o):n.findWhere({provider:r,factorType:e}):n.findWhere({factorType:e,isFactorTypeVerification:!0})},trapAuthResponse:function(){return!!(this.options.appState.get("isMfaRequired")&&this.options.appState.get("trapMfaRequiredResponse")||this.options.appState.get("isMfaChallenge"))&&(this.options.appState.set("trapMfaRequiredResponse",!1),!0)},back:function(){}});t.default=g,e.exports=t.default},620:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=d(n(9057)),i=d(n(6777)),a=d(n(7651)),s=d(n(7516)),l=d(n(3486)),u=d(n(1952)),c=d(n(8592)),f=d(n(4049));function d(e){return e&&e.__esModule?e:{default:e}}var p=i.default.extend({className:"password-expired",Model:{props:{oldPassword:["string",!0],newPassword:["string",!0],confirmPassword:["string",!0]},validate:function(){return l.default.validatePasswordMatch(this)},save:function(){return this.trigger("save"),this.doTransaction((function(e){return e.changePassword({oldPassword:this.get("oldPassword"),newPassword:this.get("newPassword")})}))}},Form:{save:r._.partial(r.loc,"password.expired.submit","login"),title:function(){var e=this.options.appState.get("isPwdExpiringSoon"),t=this.options.appState.get("passwordExpireDays");return e&&t>0?(0,r.loc)("password.expiring.title","login",[t]):e&&0===t?(0,r.loc)("password.expiring.today","login"):e?(0,r.loc)("password.expiring.soon","login"):this.settings.get("brandName")?(0,r.loc)("password.expired.title.specific","login",[this.settings.get("brandName")]):(0,r.loc)("password.expired.title.generic","login")},subtitle:function(){if(this.options.appState.get("isPwdExpiringSoon"))return this.settings.get("brandName")?(0,r.loc)("password.expiring.subtitle.specific","login",[this.settings.get("brandName")]):(0,r.loc)("password.expiring.subtitle.generic","login");var e=this.options.appState.get("policy");return e&&!this.settings.get("features.showPasswordRequirementsAsHtmlList")?o.default.getPasswordComplexityDescription(e):void 0},parseErrorMessage:function(e){var t=this.options.appState.get("policy");return t&&this.settings.get("features.showPasswordRequirementsAsHtmlList")&&(e=o.default.removeRequirementsFromError(e,t)),e},formChildren:function(){var e=[];return this.settings.get("features.showPasswordRequirementsAsHtmlList")&&e.push(a.default.View({View:new c.default({policy:this.options.appState.get("policy")})})),e=e.concat([a.default.Input({"label-top":!0,label:(0,r.loc)("password.oldPassword.placeholder","login"),explain:s.default.createInputExplain("password.oldPassword.tooltip","password.oldPassword.placeholder","login"),"explain-top":!0,name:"oldPassword",input:f.default,type:"password"}),a.default.Divider(),a.default.Input({className:"margin-btm-5","label-top":!0,label:(0,r.loc)("password.newPassword.placeholder","login"),explain:s.default.createInputExplain("password.newPassword.tooltip","password.newPassword.placeholder","login"),"explain-top":!0,name:"newPassword",input:f.default,type:"password"}),a.default.Input({"label-top":!0,label:(0,r.loc)("password.confirmPassword.placeholder","login"),explain:s.default.createInputExplain("password.confirmPassword.tooltip","password.confirmPassword.placeholder","login"),"explain-top":!0,name:"confirmPassword",input:f.default,type:"password"})])}},Footer:u.default,initialize:function(){this.listenTo(this.form,"save",(function(){var e={username:this.options.appState.get("userEmail"),password:this.model.get("newPassword")};this.settings.processCreds(e).then(r._.bind(this.model.save,this.model))}))}});t.default=p,e.exports=t.default},1160:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=d(n(9057)),i=d(n(6777)),a=d(n(7651)),s=d(n(7516)),l=d(n(3486)),u=d(n(9197)),c=d(n(8592)),f=d(n(4049));function d(e){return e&&e.__esModule?e:{default:e}}var p=r.internal.views.forms.inputs.CheckBox,h=i.default.extend({className:"password-reset",Model:{props:{newPassword:["string",!0],confirmPassword:["string",!0],revokeSessions:["boolean",!1]},validate:function(){return l.default.validatePasswordMatch(this)},save:function(){this.trigger("save");var e=this;return this.doTransaction((function(t){var n={newPassword:e.get("newPassword")};return e.settings.get("features.showSessionRevocation")&&(n.revokeSessions=e.get("revokeSessions")),t.resetPassword(n)}))}},Form:{save:r._.partial(r.loc,"password.reset","login"),title:function(){return this.settings.get("brandName")?(0,r.loc)("password.reset.title.specific","login",[this.settings.get("brandName")]):(0,r.loc)("password.reset.title.generic","login")},subtitle:function(){var e=this.options.appState.get("policy");if(e&&!this.settings.get("features.showPasswordRequirementsAsHtmlList"))return o.default.getPasswordComplexityDescription(e)},parseErrorMessage:function(e){var t=this.options.appState.get("policy");return t&&this.settings.get("features.showPasswordRequirementsAsHtmlList")&&(e=o.default.removeRequirementsFromError(e,t)),e},formChildren:function(){var e=[];return this.settings.get("features.showPasswordRequirementsAsHtmlList")&&e.push(a.default.View({View:new c.default({policy:this.options.appState.get("policy")})})),e=e.concat([a.default.Input({className:"margin-btm-5",label:(0,r.loc)("password.newPassword.placeholder","login"),"label-top":!0,explain:s.default.createInputExplain("password.newPassword.tooltip","password.newPassword.placeholder","login"),"explain-top":!0,name:"newPassword",input:f.default,type:"password",autoComplete:"new-password"}),a.default.Input({label:(0,r.loc)("password.confirmPassword.placeholder","login"),"label-top":!0,explain:s.default.createInputExplain("password.confirmPassword.tooltip","password.confirmPassword.placeholder","login"),"explain-top":!0,name:"confirmPassword",input:f.default,type:"password",autoComplete:"new-password"})]),this.settings.get("features.showSessionRevocation")&&(e=e.concat([a.default.Input({placeholder:(0,r.loc)("password.reset.revokeSessions","login"),name:"revokeSessions",input:p,type:"checkbox"})])),e}},initialize:function(){this.listenTo(this.form,"save",(function(){var e={username:this.options.appState.get("userEmail"),password:this.model.get("newPassword")};this.settings.processCreds(e).then(r._.bind(this.model.save,this.model))})),this.settings.get("features.hideBackToSignInForReset")||this.addFooter(u.default)}});t.default=h,e.exports=t.default},8976:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=a(n(6777)),i=a(n(7651));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.default.extend({className:"poll",Model:{save:function(){var e=this;return this.trigger("cancelRequest"),this.appState.get("transaction").cancel().then((function(){e.options.appState.trigger("navigate","")})).catch((function(){e._stopCountDown()}))}},Form:{autoSave:!0,hasSavingState:!1,title:function(){return this.title},className:"poll-controller",noCancelButton:!0,save:(0,r.loc)("oform.cancel","login"),modelEvents:{cancelRequest:"_stopCountDown"},formChildren:[i.default.View({View:'<div > <div data-se="poll-waiting" class="hide okta-waiting-spinner"></div> </div>'})],_checkStatus:function(){var e=this;this.transactionObject.poll().then((function(t){if(t.data&&"POLL"!==t.status)e.options.appState.set("transaction",t);else{e.$(".okta-waiting-spinner").hide();var n=Math.ceil(t.transaction.profile.refresh/1e3);e._startCountDown(n)}})).catch((function(){e._stopCountDown()}))},_startCountDown:function(e){var t=this;this.countDown=setInterval((function(){t._updateTitle(e),0===e?(t._stopCountDown(),t.$(".okta-waiting-spinner").show(),t.checkStatusTimeout=setTimeout((function(){t._checkStatus()}),200)):e-=1}),1e3)},_updateTitle:function(e){this.title=(0,r.loc)("polling.title","login",[e]),this.$el.find(".okta-form-title").text(this.title)},_stopCountDown:function(){this.countDown&&clearInterval(this.countDown),this.checkStatusTimeout&&clearInterval(this.checkStatusTimeout)},initialize:function(e){this.transactionObject=e.appState.get("transaction"),this.factorPollingIntervalSeconds=Math.ceil(this.transactionObject.transaction.profile.refresh/1e3),this._updateTitle(this.factorPollingIntervalSeconds),this._startCountDown(this.factorPollingIntervalSeconds)}},back:function(){},remove:function(){this.form._stopCountDown()}});t.default=s,e.exports=t.default},8349:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=d(n(7804)),i=d(n(3123)),a=d(n(6568)),s=d(n(3329)),l=d(n(9862)),u=d(n(2881)),c=d(n(7501)),f=d(n(7562));function d(e){return e&&e.__esModule?e:{default:e}}var p=i.default.extend({className:"primary-auth",state:{enabled:!0},View:l.default,constructor:function(e){e.appState.unset("username"),this.model=new o.default({multiOptionalFactorEnroll:e.settings.get("features.multiOptionalFactorEnroll"),settings:e.settings,appState:e.appState},{parse:!0}),i.default.apply(this,arguments),this.addListeners(),e.settings.get("hasConfiguredButtons")&&this.add(s.default,{prepend:e.settings.get("socialAuthPositionTop"),options:{currentController:this}}),this.addFooter(e),this.options.appState.get("disableUsername")&&this.addFooterWithBackLink(this.options),this.setUsername()},addFooter:function(e){this.add(new u.default(this.toJSON({appState:e.appState}))),(e.settings.get("features.registration")||e.appState.get("isIdxStateToken"))&&this.add(new c.default({settings:this.settings,appState:e.appState}))},addFooterWithBackLink:function(e){this.$el.find(".footer-back-link").length||this.add(new f.default(this.toJSON({appState:e.appState,className:"auth-footer footer-back-link"})))},setUsername:function(){var e=this.model.get("username");e&&this.options.appState.set("username",e)},setUsernameFromIdpDiscovery:function(){var e=this.options.username;e&&(this.model.set("username",e),this.options.appState.set("disableUsername",!0))},events:{"focusout input[name=username]":function(){if(this.shouldComputeDeviceFingerprint()&&this.model.get("username")){var e=this;this.options.appState.trigger("loading",!0),a.default.generateDeviceFingerprint(this.settings.get("baseUrl"),this.$el).then((function(t){e.options.appState.set("deviceFingerprint",t),e.options.appState.set("username",e.model.get("username"))})).catch((function(){e.options.appState.set("username",e.model.get("username"))})).finally((function(){e.options.appState.trigger("loading",!1)}))}else this.options.appState.set("username",this.model.get("username"))},"focusin input":function(e){(0,r.$)(e.target.parentElement).addClass("focused-input")},"focusout input":function(e){(0,r.$)(e.target.parentElement).removeClass("focused-input")}},initialize:function(){this.options.appState.unset("deviceFingerprint"),this.settings.get("features.prefillUsernameFromIdpDiscovery")&&this.setUsernameFromIdpDiscovery(),this.listenTo(this.model,"change:username",(function(e,t){t||this.options.appState.set("username","")})),this.listenTo(this.model,"save",(function(){this.state.set("enabled",!1)})),this.listenTo(this.model,"error",(function(){this.state.set("enabled",!0),this.options.appState.get("disableUsername")&&(this.state.set("disableUsername",!0),this.addFooterWithBackLink(this.options))})),this.listenTo(this.state,"togglePrimaryAuthButton",(function(e){this.toggleButtonState(e)}))},shouldComputeDeviceFingerprint:function(){return this.settings.get("features.securityImage")&&this.settings.get("features.deviceFingerprinting")&&this.settings.get("features.useDeviceFingerprintForSecurityImage")}});t.default=p,e.exports=t.default},2284:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(6276)),o=n(2048),i=l(n(5115)),a=l(n(6777)),s=l(n(7651));function l(e){return e&&e.__esModule?e:{default:e}}var u=a.default.extend({className:"password-reset-email-sent",Model:function(){return{local:{userFullName:["string",!1,this.options.appState.get("userFullName")]}}},Form:{title:o._.partial(o.loc,"password.forgot.emailSent.title","login"),subtitle:function(){var e=this.options.appState.get("username");return(0,o.loc)("password.forgot.emailSent.desc","login",[e])},noButtonBar:!0,attributes:{"data-se":"pwd-reset-email-sent"},formChildren:function(){var e=[s.default.View({View:o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="accessibility-text" role="status">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"alert")||(null!=t?a(t,"alert"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"alert",hash:{},data:o,loc:{start:{line:1,column:47},end:{line:1,column:56}}}):i)+"</span>"},useData:!0}),getTemplateData:function(){return{alert:(0,o.loc)("password.forgot.emailSent.title","login")}}})})];return this.settings.get("features.hideBackToSignInForReset")||e.push(s.default.Button({title:(0,o.loc)("goback","login"),className:"button button-primary button-wide",attributes:{"data-se":"back-button"},click:function(){var e=this;return this.model.doTransaction((function(e){return e.cancel()})).then((function(){e.state.set("navigateDir",i.default.DIRECTION_BACK),e.options.appState.trigger("navigate","")}))}})),e}},initialize:function(e){this.settings.callGlobalSuccess(i.default.FORGOT_PASSWORD_EMAIL_SENT,{username:e.appState.get("username")})}});t.default=u,e.exports=t.default},7910:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(6276)),o=n(2048),i=c(n(5115)),a=c(n(6777)),s=c(n(7651)),l=c(n(9197)),u=c(n(4049));function c(e){return e&&e.__esModule?e:{default:e}}var f=a.default.extend({className:"recovery-challenge",Model:{props:{passCode:["string",!0]},local:{ableToResend:"boolean"},resendCode:function(){return this.limitResending(),this.doTransaction((function(e){return e.resend()}))},limitResending:function(){this.set({ableToResend:!1}),o._.delay(o._.bind(this.set,this),i.default.API_RATE_LIMIT,{ableToResend:!0})},save:function(){return this.doTransaction((function(e){return e.verify({passCode:this.get("passCode")})}))}},Form:{autoSave:!0,save:o._.partial(o.loc,"mfa.challenge.verify","login"),title:function(){return this.options.appState.get("factorType")===i.default.RECOVERY_FACTOR_TYPE_CALL?(0,o.loc)("recoveryChallenge.call.title","login"):(0,o.loc)("recoveryChallenge.sms.title","login")},className:"recovery-challenge",initialize:function(){this.listenTo(this.model,"error",(function(){this.clearErrors()}))},formChildren:function(){return[s.default.Button({title:(0,o.loc)("mfa.resendCode","login"),attributes:{"data-se":"resend-button"},className:"button sms-request-button margin-top-30",click:function(){this.model.resendCode()},initialize:function(){this.listenTo(this.model,"change:ableToResend",(function(e,t){t?(this.options.title=(0,o.loc)("mfa.resendCode","login"),this.enable(),this.render()):(this.options.title=(0,o.loc)("mfa.sent","login"),this.disable(),this.render())}))}}),s.default.Input({label:(0,o.loc)("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,className:"enroll-sms-phone",name:"passCode",input:u.default,type:"text"})]}},events:{"click .send-email-link":function(e){e.preventDefault();var t=this.model.settings,n=this.options.appState.get("username"),r=this.options.appState.get("recoveryType");this.model.startTransaction((function(e){switch(r){case i.default.RECOVERY_TYPE_PASSWORD:return e.forgotPassword({username:t.transformUsername(n,i.default.FORGOT_PASSWORD),factorType:i.default.RECOVERY_FACTOR_TYPE_EMAIL});case i.default.RECOVERY_TYPE_UNLOCK:return e.unlockAccount({username:t.transformUsername(n,i.default.UNLOCK_ACCOUNT),factorType:i.default.RECOVERY_FACTOR_TYPE_EMAIL});default:return}})).catch((function(){}))}},initialize:function(){var e;switch(this.options.appState.get("recoveryType")){case i.default.RECOVERY_TYPE_PASSWORD:e=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"password.forgot.code.notReceived"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:63}}}))},useData:!0});break;case i.default.RECOVERY_TYPE_UNLOCK:e=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"account.unlock.code.notReceived"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:62}}}))},useData:!0})}e&&this.settings.get("features.emailRecovery")&&this.add(o.View.extend({className:"link send-email-link",tagName:"a",attributes:{href:"#","data-se":"send-email-link"},template:e})),this.settings.get("features.hideBackToSignInForReset")||this.addFooter(l.default)},postRender:function(){this.model.limitResending()}});t.default=f,e.exports=t.default},7877:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=((r=n(6777))&&r.__esModule?r:{default:r}).default.extend({className:"recovery-loading",Model:{},Form:{noButtonBar:!0},initialize:function(e){var t=this;return this.model.startTransaction((function(t){return t.verifyRecoveryToken({recoveryToken:e.token})})).catch((function(){t.options.appState.trigger("loading",!1),t.options.appState.trigger("removeLoading")}))},preRender:function(){this.options.appState.trigger("loading",!0)},trapAuthResponse:function(){return this.options.appState.trigger("loading",!1),!1}});t.default=o,e.exports=t.default},410:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=l(n(6777)),i=l(n(7651)),a=l(n(9197)),s=l(n(4049));function l(e){return e&&e.__esModule?e:{default:e}}var u=o.default.extend({className:"recovery-question",Model:{props:{answer:["string",!0],showAnswer:"boolean"},save:function(){return this.doTransaction((function(e){return e.answer({answer:this.get("answer")})}))}},Form:{autoSave:!0,save:function(){switch(this.options.appState.get("recoveryType")){case"PASSWORD":return(0,r.loc)("password.forgot.question.submit","login");case"UNLOCK":return(0,r.loc)("account.unlock.question.submit","login");default:return(0,r.loc)("mfa.challenge.verify","login")}},title:function(){switch(this.options.appState.get("recoveryType")){case"PASSWORD":return(0,r.loc)("password.forgot.question.title","login");case"UNLOCK":return(0,r.loc)("account.unlock.question.title","login");default:return""}},formChildren:function(){return[i.default.Input({label:this.options.appState.get("recoveryQuestion"),placeholder:(0,r.loc)("mfa.challenge.answer.placeholder","login"),name:"answer",input:s.default,type:"password",initialize:function(){this.listenTo(this.model,"change:showAnswer",(function(){var e=this.model.get("showAnswer")?"text":"password";this.getInputs()[0].changeType(e)}))}}),i.default.Input({label:!1,"label-top":!0,placeholder:(0,r.loc)("mfa.challenge.answer.showAnswer","login"),className:"recovery-question-show margin-btm-0",name:"showAnswer",type:"checkbox"})]}},initialize:function(){this.settings.get("features.hideBackToSignInForReset")||this.addFooter(a.default)}});t.default=u,e.exports=t.default},6829:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6777))&&r.__esModule?r:{default:r};var i=o.default.extend({className:"refresh-auth-state",Model:{},Form:{noButtonBar:!0},preRender:function(){var e=this.options.appState,t=this.options.token;this.model.startTransaction((function(n){return e.trigger("loading",!0),t?n.tx.introspect({stateToken:t}):n.tx.exists()?n.tx.resume():void e.trigger("navigate","")}))},remove:function(){return this.options.appState.trigger("loading",!1),o.default.prototype.remove.apply(this,arguments)}});t.default=i,e.exports=t.default},2012:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(6276)),o=n(2048),i=l(n(5115)),a=l(n(6777)),s=l(n(7651));function l(e){return e&&e.__esModule?e:{default:e}}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}var c=a.default.extend({events:{"click .back-btn":function(e){e.preventDefault(),this.back()}},back:function(){this.state.set("navigateDir",i.default.DIRECTION_BACK),this.options.appState.trigger("navigate","")},className:"registration-complete",Model:function(){},initialize:function(){this.settings.callGlobalSuccess(i.default.ACTIVATION_EMAIL_SENT,{username:this.options.appState.get("username")})},Form:{noButtonBar:!0,formChildren:function(){return[s.default.View({View:o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="container"><span class="title-icon icon icon-16 confirm-16-green"></span><h2 class="title">'+c(u(i=null!=(i=f(n,"title")||(null!=t?f(t,"title"):t))?i:s)===l?i.call(a,{name:"title",hash:{},data:o,loc:{start:{line:1,column:103},end:{line:1,column:112}}}):i)+'</h2><div class="desc">'+c(u(i=null!=(i=f(n,"desc")||(null!=t?f(t,"desc"):t))?i:s)===l?i.call(a,{name:"desc",hash:{},data:o,loc:{start:{line:1,column:135},end:{line:1,column:143}}}):i)+'</div></div><a href="#" class="back-btn" data-se="back-link">'+c((f(n,"i18n")||t&&f(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"goback"},data:o,loc:{start:{line:1,column:204},end:{line:1,column:241}}}))+"</a>"},useData:!0}),getTemplateData:function(){return{desc:(0,o.loc)("registration.complete.confirm.text","login"),title:(0,o.loc)("registration.complete.title","login")}}})})]}}});t.default=c,e.exports=t.default},8315:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=h(n(6276)),o=n(2048),i=h(n(5112)),a=h(n(8749)),s=h(n(8177)),l=h(n(3123)),u=h(n(5115)),c=n(2183),f=h(n(2937)),d=h(n(7516)),p=h(n(9260));function h(e){return e&&e.__esModule?e:{default:e}}var m=o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help" data-se="back-link">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"goback"},data:o,loc:{start:{line:1,column:50},end:{line:1,column:87}}}))+"</a>"},useData:!0}),className:"auth-footer",events:{"click .help":function(e){e.preventDefault(),this.back()}},back:function(){this.state.set("navigateDir",u.default.DIRECTION_BACK),this.options.appState.trigger("navigate","")}}),v=l.default.extend({className:"registration",initialize:function(){var e=new(a.default.extend({settings:this.options.settings,url:this.options.settings.get("baseUrl")+"/api/v1/registration/form"}));this.state.set("schema",e)},getRegistrationApiUrl:function(){var e=this.settings.get("defaultPolicyId"),t=this.options.settings.get("policyId");return e?this.getRegistrationPolicyApi(e):this.getRegistrationPolicyApi(t)},getRegistrationPolicyApi:function(e){return this.options.settings.get("baseUrl")+"/api/v1/registration/"+e},doPostSubmit:function(){if(this.model.get("activationToken")){var e=this;e.settings.callGlobalSuccess(u.default.REGISTRATION_COMPLETE,{activationToken:this.model.get("activationToken")}),new i.default({settings:e.model.appState.settings}).loginWithActivationToken(this.model.get("activationToken")).then((function(t){e.model.trigger("setTransaction",t)}))}else this.model.appState.set("username",this.model.get("email")),this.model.appState.trigger("navigate","signin/register-complete")},registerUser:function(e){var t=this,n=this;Object.keys(e).forEach((function(t){return(o._.isNull(e[t])||o._.isUndefined(e[t])||""===e[t])&&delete e[t]})),this.model.attributes=e,o.Backbone.Model.prototype.save.call(this.model).then((function(){n.model.trigger("startSaving");var e=n.model.get("activationToken"),t=e||n.model.get("email");n.settings.postRegistrationSubmit(t,(function(){n.doPostSubmit()}),(function(e){n.showErrors(e)}))})).fail((function(e){var n=e.responseJSON;if(n&&n.errorCauses.length){var r=n.errorCode,o=n.errorCauses[0],i=o.errorSummary,a=o.reason,s=o.location;"E0000001"===r&&"UNIQUE_CONSTRAINT"===a&&t.renderIsNotUniqueError(n),t.renderLegacyLocationErrorIfNeeded(s,i),d.default.triggerAfterError(t,new c.RegistrationError(i))}}))},renderIsNotUniqueError:function(e){var t=e.errorCauses[0].location,n=(0,o.loc)("registration.error.userName.notUniqueWithinOrg","login",[t]);this.$el.find(".okta-form-infobox-error p").text(n)},renderLegacyLocationErrorIfNeeded:function(e,t){e&&/^data\.userProfile.*/.test(e)&&this.$el.find(".okta-form-infobox-error p").text(t)},createRegistrationModel:function(e){var t=this,n=o.Model.extend({url:t.getRegistrationApiUrl()+"/register",settings:this.settings,appState:this.options.appState,props:e,local:{activationToken:"string"},toJSON:function(){var e=o.Model.prototype.toJSON.apply(this,arguments);return{userProfile:e,relayState:this.settings.get("relayState")}},parse:function(e){return this.set("activationToken",e.activationToken),delete e.activationToken,e},save:function(){this.settings.preRegistrationSubmit(this.attributes,(function(e){t.registerUser(e)}),(function(e){t.showErrors(e)}))}});return new n},showErrors:function(e,t){"parseRegistrationSchema"===e.callback&&e.errorCauses&&(e.errorSummary=o._.clone(e.errorCauses[0].errorSummary),delete e.errorCauses),this.model.trigger("error",this.model,{responseJSON:e});var n=e.callback?e.callback+":"+e.errorSummary:e.errorSummary;d.default.triggerAfterError(this,new c.RegistrationError(n)),t&&this.$el.find(".button-primary").hide()},fetchInitialData:function(){var e=this;return e.state.get("schema").on("parseComplete",(function(t){var n=t.properties.createModelProperties();e.settings.set("defaultPolicyId",t.properties.defaultPolicyId),e.model=e.createRegistrationModel(n);var i=new(o.Form.extend({layout:"o-form-theme",autoSave:!0,noCancelButton:!0,title:(0,o.loc)("registration.form.title","login"),save:(0,o.loc)("registration.form.submit","login"),modelEvents:{invalid:"modifyErrors"},hasSavingState:!0,customSavingState:{start:"startSaving",stop:"stopSaving"},modifyErrors:function(e,t){for(var n in t)"model.validation.field.string.minLength"===t[n]?t[n]=(0,o.loc)("registration.model.validation.field.string.too.short","login",[e.props[n].minLength]):"model.validation.field.string.maxLength"===t[n]&&(t[n]=(0,o.loc)("registration.model.validation.field.string.too.long","login",[e.props[n].maxLength+1]))}}))(e.toJSON());if(e.add(i),e.footer=new e.Footer(e.toJSON()),e.add(e.footer),e.addListeners(),t.error)e.showErrors(t.error,!0);else{t.properties.each((function(e){var t=f.default.createInputOptions(e),n=e.get("subSchemas"),r=e.get("name");i.addInput(t),"password"===r&&n&&i.add(p.default.extend({id:"subschemas-"+r,subSchemas:n}))}));var a=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="required-fields-label">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"label")||(null!=t?a(t,"label"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:o,loc:{start:{line:1,column:36},end:{line:1,column:45}}}):i)+"</span>"},useData:!0})({label:(0,o.loc)("registration.required.fields.label","login")});i.add(a)}})),(0,s.default)(this.state.get("schema").fetch())},Footer:m});t.default=v,e.exports=t.default},4562:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(6276)),o=n(2048),i=d(n(5115)),a=d(n(6777)),s=d(n(7651)),l=d(n(7516)),u=d(n(3486)),c=d(n(3891)),f=d(n(4049));function d(e){return e&&e.__esModule?e:{default:e}}var p=o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="okta-form-infobox-error infobox infobox-error" role="alert"><span class="icon error-16"></span><p>'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"account.unlock.noFactorsEnabled"},data:o,loc:{start:{line:1,column:110},end:{line:1,column:172}}}))+"</p></div>"},useData:!0})}),h=o.View.extend({template:r.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link goto js-contact-support">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"mfa.noAccessToEmail"},data:o,loc:{start:{line:1,column:173},end:{line:1,column:223}}}))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help js-back" data-se="back-link">'+e.escapeExpression((s(n,"i18n")||t&&s(t,"i18n")||e.hooks.helperMissing).call(a,{name:"i18n",hash:{bundle:"login",code:"goback"},data:o,loc:{start:{line:1,column:58},end:{line:1,column:95}}}))+"</a>"+(null!=(i=s(n,"if").call(a,null!=t?s(t,"helpSupportNumber"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:99},end:{line:1,column:234}}}))?i:"")},useData:!0}),className:"auth-footer",events:{"click .js-back":function(e){e.preventDefault(),this.back()},"click .js-contact-support":function(e){e.preventDefault(),this.state.trigger("contactSupport"),this.$(".js-contact-support").hide()}},getTemplateData:function(){return this.settings.pick("helpSupportNumber")},back:function(){this.state.set("navigateDir",i.default.DIRECTION_BACK),this.options.appState.trigger("navigate","")}}),m=a.default.extend({className:"account-unlock",Model:{props:{username:["string",!0],factorType:["string",!0]},validate:function(){return u.default.validateUsername(this)},save:function(){var e=this;return this.startTransaction((function(t){return t.unlockAccount({username:e.settings.transformUsername(e.get("username"),i.default.UNLOCK_ACCOUNT),factorType:e.get("factorType")})})).catch((function(){}))}},Form:{noButtonBar:!0,title:o._.partial(o.loc,"account.unlock.title","login"),formChildren:function(){var e=this.settings.get("features.smsRecovery"),t=this.settings.get("features.callRecovery"),n=this.settings.get("features.emailRecovery"),a=[],u=this;return!(e||t||n)?this.add(p,".o-form-error-container"):(a.push(s.default.Input({label:(0,o.loc)("account.unlock.email.or.username.placeholder","login"),"label-top":!0,explain:l.default.createInputExplain("account.unlock.email.or.username.tooltip","account.unlock.email.or.username.placeholder","login"),"explain-top":!0,name:"username",input:f.default,inputId:"account-recovery-username",type:"text",inlineValidation:!1})),(e||t)&&a.push(s.default.View({View:o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="mobile-recovery-hint">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{arguments:"mobileFactors",bundle:"login",code:"recovery.mobile.hint"},data:o,loc:{start:{line:1,column:32},end:{line:1,column:109}}}))+"</p>"},useData:!0}),getTemplateData:function(){return{mobileFactors:e&&t?(0,o.loc)("recovery.smsOrCall"):t?(0,o.loc)("recovery.call"):(0,o.loc)("recovery.sms")}}})})),e&&(this.$el.addClass("forgot-password-sms-enabled"),a.push(this.createRecoveryFactorButton("sms-button","account.unlock.sendText",i.default.RECOVERY_FACTOR_TYPE_SMS,u)),this.setDefaultFactorType(i.default.RECOVERY_FACTOR_TYPE_SMS)),t&&(this.$el.addClass("forgot-password-call-enabled"),a.push(this.createRecoveryFactorButton("call-button","account.unlock.voiceCall",i.default.RECOVERY_FACTOR_TYPE_CALL,u)),this.setDefaultFactorType(i.default.RECOVERY_FACTOR_TYPE_CALL)),n&&(this.$el.addClass("forgot-password-email-enabled"),a.push(this.createRecoveryFactorButton("email-button","account.unlock.sendEmail",i.default.RECOVERY_FACTOR_TYPE_EMAIL,u)),this.setDefaultFactorType(i.default.RECOVERY_FACTOR_TYPE_EMAIL))),a},initialize:function(){this.listenTo(this,"save",(function(){this.options.appState.set("username",this.model.get("username")),this.model.save()})),this.listenTo(this.state,"contactSupport",(function(){this.add(c.default,".o-form-error-container")}))},setDefaultFactorType:function(e){o._.isEmpty(this.model.get("factorType"))&&this.model.set("factorType",e)},createRecoveryFactorButton:function(e,t,n,r){return s.default.Button({attributes:{"data-se":e},className:"button button-primary button-wide "+e,title:(0,o.loc)(t,"login"),click:function(){r.clearErrors(),this.model.isValid()&&(this.model.set("factorType",n),r.trigger("save",this.model))}})}},Footer:h});t.default=m,e.exports=t.default},6835:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=s(n(5115)),i=s(n(6777)),a=s(n(7651));function s(e){return e&&e.__esModule?e:{default:e}}var l=i.default.extend({className:"account-unlock-email-sent",Model:function(){return{local:{userFullName:["string",!1,this.options.appState.get("userFullName")]}}},Form:{title:r._.partial(r.loc,"account.unlock.emailSent.title","login"),subtitle:function(){var e=this.options.appState.get("username");return(0,r.loc)("account.unlock.emailSent.desc","login",[e])},noButtonBar:!0,attributes:{"data-se":"unlock-email-sent"},formChildren:function(){return[a.default.Button({title:(0,r.loc)("goback","login"),className:"button button-primary button-wide",attributes:{"data-se":"back-button"},click:function(){this.state.set("navigateDir",o.default.DIRECTION_BACK),this.options.appState.trigger("navigate","")}})]}},initialize:function(e){this.settings.callGlobalSuccess(o.default.UNLOCK_ACCOUNT_EMAIL_SENT,{username:e.appState.get("username")})}});t.default=l,e.exports=t.default},8263:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=u(n(9057)),i=u(n(6777)),a=u(n(7651)),s=u(n(3739)),l=u(n(100));function u(e){return e&&e.__esModule?e:{default:e}}var c=r.internal.util.Util,f=i.default.extend({className:"verify-custom-factor custom-factor-form",Model:{props:{rememberDevice:"boolean"},initialize:function(){var e=o.default.getRememberDeviceValue(this.appState);this.set("rememberDevice",e),this.settings.get("features.skipIdpFactorVerificationBtn")&&!this.appState.get("lastFailedChallengeFactorData")&&(this.set("provider","CUSTOM"),this.set("factorType","claims_provider"),this.save())},save:function(){var e=this,t=!!this.get("rememberDevice");return this.manageTransaction((function(n,o){var i={rememberDevice:t};return r._.findWhere(n.factors,{provider:e.get("provider"),factorType:e.get("factorType")}).verify(i).then((function(t){o(t);var n=e.appState.get("verifyCustomFactorRedirectUrl");null!==n&&c.redirect(n)})).catch((function(e){throw e}))}))}},Form:function(){var e=this,t=this.options.appState.get("factors").findWhere({provider:this.options.provider,factorType:this.options.factorType}).get("vendorName"),n=(0,r.loc)("mfa.challenge.verify","login"),o=this.options.appState.get("lastFailedChallengeFactorData"),i=(0,r.loc)("verify.customFactor.subtitle","login",[t]);return this.settings.get("features.skipIdpFactorVerificationBtn")&&!o&&(i=(0,r.loc)("verify.customFactor.subtitle.redirect","login",[t]),this.listenTo(this.model,"error",(function(){i=(0,r.loc)("verify.customFactor.subtitle","login",[t]),e.$(".o-form-explain").text(i)}))),{autoSave:!0,title:t,save:n,subtitle:i,attributes:{"data-se":"factor-custom"},initialize:function(){this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"})},formChildren:function(){var e=[],t=this.options.appState.get("lastFailedChallengeFactorData");return this.settings.get("features.skipIdpFactorVerificationBtn")&&!t&&e.push(a.default.View({View:'<div data-se="custom-factor-waiting" class="okta-waiting-spinner"></div>'})),t&&e.push(a.default.View({View:new s.default({message:t.errorMessage})},{selector:".o-form-error-container"})),e}}},postRender:function(){this.settings.get("features.skipIdpFactorVerificationBtn")&&!this.options.appState.get("lastFailedChallengeFactorData")&&(this.$(".o-form-button-bar").hide(),this.$(".okta-waiting-spinner").show())},trapAuthResponse:function(){if(this.options.appState.get("isMfaChallenge"))return!0},back:function(){},initialize:function(){var e=this;this.model.set("provider",this.options.provider),this.model.set("factorType",this.options.factorType),this.settings.get("features.skipIdpFactorVerificationBtn")&&this.listenTo(this.model,"error",(function(){e.$(".okta-waiting-spinner").hide(),e.$(".o-form-button-bar").show()})),this.addFooter(l.default)}});t.default=f,e.exports=t.default},8187:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=u(n(2877)),i=u(n(8177)),a=u(n(9057)),s=u(n(6777)),l=u(n(100));function u(e){return e&&e.__esModule?e:{default:e}}var c=s.default.extend({className:"mfa-verify-duo duo-form",Model:{props:{host:"string",signature:"string",postAction:"string",factorId:"string",stateToken:"string",rememberDevice:"boolean"},initialize:function(){var e=a.default.getRememberDeviceValue(this.appState);this.set("rememberDevice",e)},getInitOptions:function(){var e=!!this.get("rememberDevice");return this.doTransaction((function(t){var n={rememberDevice:e};return r._.findWhere(t.factors,{provider:"DUO",factorType:"web"}).verify(n).catch((function(e){throw e}))}),!0)},verify:function(e){var t=this.get("postAction"),n=this.get("factorId"),o=this,a={id:n,stateToken:this.get("stateToken"),sig_response:e},s=this.get("rememberDevice");return(0,i.default)(r.$.post(t,a)).then((function(){return o.doTransaction((function(e){var t;return s&&(t={rememberDevice:s}),e.poll(t)}))})).catch((function(e){o.trigger("error",o,e.xhr)}))}},Form:{autoSave:!0,noButtonBar:!0,title:r._.partial(r.loc,"factor.duo"),attributes:{"data-se":"factor-duo"},postRender:function(){this.add('<iframe frameborder="0" title="'+this.title()+'"></iframe>'),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"}),o.default.init({host:this.model.get("host"),sig_request:this.model.get("signature"),iframe:this.$("iframe").get(0),post_action:r._.bind(this.model.verify,this.model)})}},fetchInitialData:function(){var e=this;return this.model.getInitOptions().then((function(t){var n=t.data;if(!(n._embedded&&n._embedded.factor&&n._embedded.factor._embedded&&n._embedded.factor._embedded.verification))throw new Error("Response does not have duo verification options");var r=n._embedded.factor._embedded.verification;e.model.set({host:r.host,signature:r.signature,postAction:r._links.complete.href,factorId:n._embedded.factor.id,stateToken:n.stateToken})}))},trapAuthResponse:function(){if(this.options.appState.get("isMfaChallenge"))return!0},back:function(){},Footer:l.default});t.default=c,e.exports=t.default},989:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=u(n(6276)),i=n(2048),a=u(n(6777)),s=u(n(7651)),l=u(n(7562));function u(e){return e&&e.__esModule?e:{default:e}}function c(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */c=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var i=t&&t.prototype instanceof h?t:h,a=Object.create(i.prototype),s=new T(r||[]);return o(a,"_invoke",{value:k(e,n,s)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=f;var p={};function h(){}function m(){}function v(){}var g={};u(g,a,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(A([])));b&&b!==t&&n.call(b,a)&&(g=b);var _=v.prototype=h.prototype=Object.create(g);function w(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function i(o,a,s,l){var u=d(e[o],e,a);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==r(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){i("next",e,s,l)}),(function(e){i("throw",e,s,l)})):t.resolve(f).then((function(e){c.value=e,s(c)}),(function(e){return i("throw",e,s,l)}))}l(u.arg)}var a;o(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){i(e,n,t,r)}))}return a=a?a.then(r,r):r()}})}function k(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=E(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=d(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function E(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var o=d(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function A(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return m.prototype=v,o(_,"constructor",{value:v,configurable:!0}),o(v,"constructor",{value:m,configurable:!0}),m.displayName=u(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,u(e,l,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},w(O.prototype),u(O.prototype,s,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(f(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(_),u(_,l,"Generator"),u(_,a,(function(){return this})),u(_,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=A,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:A(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}function f(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}var d,p,h=i.internal.util.Util,m=a.default.extend({className:"piv-cac-card",Model:{save:(d=c().mark((function e(){var t,n,r,o;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.trigger("request"),t=this,n=this.settings.get("piv"),r={fromURI:this.settings.get("relayState"),isCustomDomain:n.isCustomDomain,customDomain:n.customDomain},e.prev=4,e.next=7,this.getCert(n.certAuthUrl);case 7:return e.next=9,this.postCert(n.certAuthUrl,r);case 9:o=e.sent,h.redirect(o.redirectUrl),e.next=17;break;case 13:e.prev=13,e.t0=e.catch(4),i._.isEmpty(e.t0.responseJSON)&&!e.t0.responseText&&(e.t0.responseJSON={errorSummary:(0,i.loc)("piv.cac.error","login")}),t.trigger("error",t,e.t0);case 17:case"end":return e.stop()}}),e,this,[[4,13]])})),p=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=d.apply(e,t);function i(e){f(o,n,r,i,a,"next",e)}function a(e){f(o,n,r,i,a,"throw",e)}i(void 0)}))},function(){return p.apply(this,arguments)}),getCert:function(e){return i.$.get({url:e,xhrFields:{withCredentials:!0},beforeSend:function(){}})},postCert:function(e,t){return i.$.post({url:e,xhrFields:{withCredentials:!0},data:JSON.stringify(t),contentType:"text/plain",beforeSend:function(){}})}},Form:{autoSave:!0,hasSavingState:!1,title:i._.partial(i.loc,"piv.cac.title","login"),className:"piv-cac-card",noCancelButton:!0,save:i._.partial(i.loc,"retry","login"),modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:[s.default.View({View:i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="piv-verify-text"><p>'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"piv.cac.card.insert"},data:o,loc:{start:{line:1,column:32},end:{line:1,column:82}}}))+'</p><div data-se="piv-waiting" class="okta-waiting-spinner"></div></div>'},useData:!0})})})],_startEnrollment:function(){this.$(".okta-waiting-spinner").show(),this.$(".o-form-button-bar").hide()},_stopEnrollment:function(){this.$(".okta-waiting-spinner").hide(),this.$(".o-form-button-bar").show()},postRender:function(){var e=this;i._.defer((function(){e.model.save()}))}},back:function(){},Footer:l.default});t.default=m,e.exports=t.default},2290:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=p(n(6276)),o=n(2048),i=p(n(8177));n(2292);var a=n(2183),s=p(n(9057)),l=p(n(1521)),u=p(n(6777)),c=p(n(7651)),f=p(n(3739)),d=p(n(100));function p(e){return e&&e.__esModule?e:{default:e}}var h=u.default.extend({className:"mfa-verify verify-u2f",Model:{props:{rememberDevice:"boolean"},initialize:function(){var e=s.default.getRememberDeviceValue(this.appState);this.set("rememberDevice",e)},save:function(){return this.trigger("request"),this.doTransaction((function(e){var t;t=e.factorTypes?o._.findWhere(e.factorTypes,{factorType:"u2f"}):o._.findWhere(e.factors,{factorType:"u2f",provider:"FIDO"});var n=this;return t.verify().then((function(e){var r,s,u;if(e.factors){var c=e.factors;s=c[0].profile.appId,u=e.challenge.nonce,r=function(e){var t=[];return o._.each(e,(function(e){t.push({version:e.profile.version,keyHandle:e.profile.credentialId})})),t}(c)}else{var f=e.factor;s=f.profile.appId,u=f.challenge.nonce,r=[{version:l.default.getU2fVersion(),keyHandle:f.profile.credentialId}]}n.trigger("request");var d=i.default.defer();return u2f.sign(s,u,r,(function(e){if(n.trigger("errors:clear"),!e.errorCode||0===e.errorCode){var r=!!n.get("rememberDevice");return t.verify({clientData:e.clientData,signatureData:e.signatureData,rememberDevice:r}).then(d.resolve)}var o=1===n.options.appState.get("factors").length;d.reject(new a.U2FError({xhr:{responseJSON:{errorSummary:l.default.getU2fVerifyErrorMessageByCode(e.errorCode,o)}}}))})),d.promise}))})).catch((function(){}))}},Form:{autoSave:!0,hasSavingState:!1,title:o._.partial(o.loc,"factor.u2f","login"),className:"verify-u2f-form",noCancelButton:!0,save:o._.partial(o.loc,"verify.u2f.retry","login"),noButtonBar:function(){return!l.default.isU2fAvailable()},modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:function(){var e=[];if(l.default.isU2fAvailable())e.push(c.default.View({View:o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="u2f-verify-text"><p>'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"verify.u2f.instructions"},data:o,loc:{start:{line:1,column:32},end:{line:1,column:86}}}))+"</p><p>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"verify.u2f.instructionsBluetooth"},data:o,loc:{start:{line:1,column:93},end:{line:1,column:156}}}))+'</p><div data-se="u2f-waiting" class="okta-waiting-spinner"></div></div>'},useData:!0})})}));else{var t="u2f.error.factorNotSupported";1===this.options.appState.get("factors").length&&(t="u2f.error.factorNotSupported.oneFactor"),e.push(c.default.View({View:new f.default({message:(0,o.loc)(t,"login")})},{selector:".o-form-error-container"}))}return this.options.appState.get("allowRememberDevice")&&e.push(c.default.Input({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"})),e},postRender:function(){var e=this;o._.defer((function(){l.default.isU2fAvailable()?e.model.save():e.$('[data-se="u2f-waiting"]').addClass("hide")}))},_startEnrollment:function(){this.$(".okta-waiting-spinner").removeClass("hide"),this.$(".o-form-button-bar").hide()},_stopEnrollment:function(){this.$(".okta-waiting-spinner").addClass("hide"),this.$(".o-form-button-bar").show()}},back:function(){},Footer:d.default});t.default=h,e.exports=t.default},9015:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=m(n(6276)),o=n(2048),i=m(n(8177)),a=m(n(4813)),s=n(2183),l=m(n(9057)),u=m(n(6777)),c=m(n(7651)),f=m(n(504)),d=m(n(5331)),p=m(n(3739)),h=m(n(100));function m(e){return e&&e.__esModule?e:{default:e}}function v(e){var t=[];return o._.each(e,(function(e){t.push({type:"public-key",id:a.default.strToBin(e.profile.credentialId)})})),t}var g=u.default.extend({className:"mfa-verify verify-webauthn",Model:{props:{rememberDevice:"boolean"},initialize:function(){var e=this,t=l.default.getRememberDeviceValue(this.appState);this.set("rememberDevice",t),this.appState.on("factorSwitched signOut",(function(){e.webauthnAbortController&&(e.webauthnAbortController.abort(),e.webauthnAbortController=null)}))},save:function(){return this.trigger("request"),this.doTransaction((function(e){var t;t=e.factorTypes?o._.findWhere(e.factorTypes,{factorType:"webauthn"}):o._.findWhere(e.factors,{factorType:"webauthn",provider:"FIDO"});var n=this;return t.verify().then((function(e){var r,l;if(e.factors){var u=e.factors;l=e.challenge,r=v(u)}else{var c=e.factor;l=c.challenge,r=v([c])}n.trigger("request");var f=o._.extend({},l,{allowCredentials:r,challenge:a.default.strToBin(l.challenge)});return"undefined"!=typeof AbortController&&(n.webauthnAbortController=new AbortController),new i.default(navigator.credentials.get({publicKey:f,signal:n.webauthnAbortController&&n.webauthnAbortController.signal})).then((function(e){var r=!!n.get("rememberDevice");return t.verify({clientData:a.default.binToStr(e.response.clientDataJSON),authenticatorData:a.default.binToStr(e.response.authenticatorData),signatureData:a.default.binToStr(e.response.signature),rememberDevice:r})})).catch((function(e){throw n.trigger("errors:clear"),n.webauthnAbortController?new s.WebAuthnError({xhr:{responseJSON:{errorSummary:e.message}}}):new s.WebauthnAbortError})).finally((function(){n.webauthnAbortController=null}))}))})).catch((function(){}))}},Form:{autoSave:!0,hasSavingState:!1,title:o._.partial(o.loc,"factor.webauthn.biometric","login"),className:"verify-webauthn-form",noCancelButton:!0,save:o._.partial(o.loc,"mfa.challenge.verify","login"),noButtonBar:function(){return!f.default.isNewApiAvailable()},modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:function(){var e=[];if(f.default.isNewApiAvailable())e.push(c.default.View({View:o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="webauthn-verify-text"><p>'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"verify.webauthn.biometric.instructions"},data:o,loc:{start:{line:1,column:37},end:{line:1,column:106}}}))+'</p><div data-se="webauthn-waiting" class="okta-waiting-spinner"></div></div>'},useData:!0})})}));else{var t="webauthn.biometric.error.factorNotSupported";1===this.options.appState.get("factors").length&&(t="webauthn.biometric.error.factorNotSupported.oneFactor"),e.push(c.default.View({View:new p.default({message:(0,o.loc)(t,"login")})},{selector:".o-form-error-container"}))}return this.options.appState.get("allowRememberDevice")&&e.push(c.default.Input({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"})),e},_startEnrollment:function(){this.$(".okta-waiting-spinner").show(),this.$(".o-form-button-bar").hide()},_stopEnrollment:function(){this.$(".okta-waiting-spinner").hide(),this.$('.o-form-button-bar [type="submit"]')[0].value=(0,o.loc)("verify.u2f.retry","login"),this.$(".o-form-button-bar").show()}},postRender:function(){var e=this;o._.defer((function(){f.default.isNewApiAvailable()&&!d.default.isSafari()&&e.model.save()}))},back:function(){},Footer:h.default});t.default=g,e.exports=t.default},9115:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=c(n(6777)),i=c(n(7651)),a=c(n(504)),s=c(n(3739)),l=c(n(100)),u=c(n(7068));function c(e){return e&&e.__esModule?e:{default:e}}var f=o.default.extend({className:"mfa-verify verify-windows-hello",Model:{local:{__autoTriggered__:"boolean"},save:function(){if(a.default.isAvailable()){this.trigger("request");var e=this;return this.doTransaction((function(t){var n=r._.findWhere(t.factors,{factorType:"webauthn",provider:"FIDO"});return n.verify().then((function(r){var o=r.factor;return a.default.getAssertion(o.challenge.nonce,[{id:o.profile.credentialId}]).then((function(e){return n.verify({authenticatorData:e.authenticatorData,clientData:e.clientData,signatureData:e.signature})})).then((function(t){return e.trigger("sync"),e.trigger("signIn"),t})).catch((function(n){switch(n.message){case"AbortError":case"NotFoundError":case"NotSupportedError":return e.trigger("abort",n.message),t}throw n}))}))}))}}},Form:{autoSave:!0,hasSavingState:!1,title:r._.partial(r.loc,"factor.windowsHello","login"),subtitle:function(){return a.default.isAvailable()?(0,r.loc)("verify.windowsHello.subtitle","login"):""},save:r._.partial(r.loc,"verify.windowsHello.save","login"),customSavingState:{stop:"abort"},modelEvents:function(){return a.default.isAvailable()?{request:"_startEnrollment",error:"_stopEnrollment",abort:"_stopEnrollment",signIn:"_successEnrollment"}:{}},noButtonBar:function(){return!a.default.isAvailable()},formChildren:function(){var e=[];return a.default.isAvailable()||e.push(i.default.View({View:new s.default({message:(0,r.loc)("enroll.windowsHello.error.notWindows","login")})},{selector:".o-form-error-container"})),e.push(i.default.View({View:new u.default({model:this.model,visible:!1})})),e},postRender:function(){1!==this.options.appState.get("factors").length||this.model.get("__autoTriggered__")||(this.model.set("__autoTriggered__",!0),this.model.save())},_startEnrollment:function(){this.subtitle=(0,r.loc)("verify.windowsHello.subtitle.loading","login"),this.model.trigger("spinner:show"),this._resetErrorMessage(),this.render(),this.$(".o-form-button-bar").addClass("hide")},_stopEnrollment:function(e){var t;switch(this.subtitle=(0,r.loc)("verify.windowsHello.subtitle","login"),this.model.trigger("spinner:hide"),this.$(".o-form-button-bar").removeClass("hide"),e){case"NotFoundError":t=this.options.appState.get("factors").length>1?(0,r.loc)("verify.windowsHello.error.notFound.selectAnother","login"):(0,r.loc)("verify.windowsHello.error.notFound","login");break;case"NotSupportedError":t=(0,r.loc)("enroll.windowsHello.error.notConfiguredHtml","login")}if(this._resetErrorMessage(),t){var n=new s.default({message:t});this.$(".o-form-error-container").addClass("o-form-has-errors"),this.add(n,{selector:".o-form-error-container"}),this._errorMessageView=this.last()}this.render()},_successEnrollment:function(){this.subtitle=this.settings.get("brandName")?(0,r.loc)("verify.windowsHello.subtitle.signingIn.specific","login",[this.settings.get("brandName")]):(0,r.loc)("verify.windowsHello.subtitle.signingIn.generic","login"),this.render(),this.$(".o-form-button-bar").addClass("hide")},_resetErrorMessage:function(){this._errorMessageView&&this._errorMessageView.remove(),this._errorMessageView=void 0,this.clearErrors()}},back:function(){},Footer:l.default});t.default=f,e.exports=t.default},5722:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(6276)),o=n(2048),i=u(n(709)),a=u(n(8177)),s=u(n(5331)),l=n(2183);function u(e){return e&&e.__esModule?e:{default:e}}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}var f="/img/security/default.png",d="/img/security/unknown-device.png",p=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",u=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return u(c(i=null!=(i=f(n,"baseUrl")||(null!=t?f(t,"baseUrl"):t))?i:s)===l?i.call(a,{name:"baseUrl",hash:{},data:o,loc:{start:{line:1,column:0},end:{line:1,column:11}}}):i)+"/login/getimage?username="+u(c(i=null!=(i=f(n,"username")||(null!=t?f(t,"username"):t))?i:s)===l?i.call(a,{name:"username",hash:{},data:o,loc:{start:{line:1,column:36},end:{line:1,column:48}}}):i)},useData:!0});var h=o.Model.extend({initialize:function(){if(this.settings.get("features.securityImage")){var e=this;this.listenTo(this,"change:username",(function(t,n){(function(e,t,n){if(o._.isEmpty(t)||o._.isUndefined(t))return(0,a.default)({securityImage:f,securityImageDescription:""});t=encodeURIComponent(t);var r={url:p({baseUrl:e,username:t}),dataType:"json"};return n&&(r.headers={"X-Device-Fingerprint":n}),(0,a.default)(o.$.ajax(r)).then((function(e){return"/img/security/unknown.png"===e.pwdImg?{securityImage:d,securityImageDescription:""}:{securityImage:e.pwdImg,securityImageDescription:e.imageDescription||""}}))})(this.get("baseUrl"),n,this.get("deviceFingerprint")).then((function(e){t.set("securityImage",e.securityImage),t.set("securityImageDescription",e.securityImageDescription),t.unset("deviceFingerprint")})).fail((function(t){if(!s.default.corsIsNotEnabled(t))throw t;e.settings.callGlobalError(new l.UnsupportedBrowserError((0,o.loc)("error.enabled.cors")))})).done()}))}},local:{baseUrl:"string",lastAuthResponse:["object",!0,{}],transaction:"object",transactionError:"object",username:"string",factors:"object",policy:"object",securityImage:["string",!0,f],securityImageDescription:["string",!0,""],userCountryCode:"string",userPhoneNumber:"string",factorActivationType:"string",flashError:"object",beaconType:"string",deviceFingerprint:"string",typingPattern:"string",languageCode:["string",!0],disableUsername:["boolean",!1,!1],trapMfaRequiredResponse:["boolean",!1,!1],lastFailedChallengeFactorData:["object",!1]},setAuthResponse:function(e){var t=this;if(e._embedded&&e._embedded.policy&&this.set("policy",e._embedded.policy),e._embedded&&e._embedded.factors){var n=e._embedded.factors;e._embedded.factorTypes&&(n=function(e,t){var n=[],r=[];return o._.each(t,(function(t){var i=t.factorType;if(!o._.contains(n,i)){var a=o._.findWhere(e,{factorType:i});a?(n.push(i),r.push(a)):r.push(t)}})),r}(e._embedded.factorTypes,n));var r=o._.map(n,(function(e){return e.settings=t.settings,e.appState=t,e}));this.set("factors",new i.default.Collection(r,{parse:!0}))}this.set("lastAuthResponse",e)},clearLastAuthResponse:function(){this.set("lastAuthResponse",{})},setLastFailedChallengeFactorData:function(){this.set("lastFailedChallengeFactorData",{factor:this.get("factor"),errorMessage:this.get("factorResultErrorMessage")})},clearLastFailedChallengeFactorData:function(){this.unset("lastFailedChallengeFactorData")},getUser:function(){return this.get("user")},derived:{isSuccessResponse:{deps:["lastAuthResponse"],fn:function(e){return"SUCCESS"===e.status}},isMfaRequired:{deps:["lastAuthResponse"],fn:function(e){return"MFA_REQUIRED"===e.status||"FACTOR_REQUIRED"===e.status}},isProfileRequired:{deps:["lastAuthResponse"],fn:function(e){return"PROFILE_REQUIRED"===e.status}},isMfaEnroll:{deps:["lastAuthResponse"],fn:function(e){return"MFA_ENROLL"===e.status||"FACTOR_ENROLL"===e.status}},isMfaChallenge:{deps:["lastAuthResponse"],fn:function(e){return"MFA_CHALLENGE"===e.status||"FACTOR_CHALLENGE"===e.status}},isSMSPasswordRecovery:{deps:["lastAuthResponse"],fn:function(e){var t=e.status,n=e.factorType,r=e.recoveryType;return"RECOVERY_CHALLENGE"===t&&"sms"===(null==n?void 0:n.toLowerCase())&&"password"===(null==r?void 0:r.toLowerCase())}},isUnauthenticated:{deps:["lastAuthResponse"],fn:function(e){return"UNAUTHENTICATED"===e.status}},isMfaRejected:{deps:["lastAuthResponse"],fn:function(e){return"REJECTED"===e.factorResult}},isMfaTimeout:{deps:["lastAuthResponse"],fn:function(e){return"TIMEOUT"===e.factorResult}},isMfaEnrollActivate:{deps:["lastAuthResponse"],fn:function(e){return"MFA_ENROLL_ACTIVATE"===e.status||"FACTOR_ENROLL_ACTIVATE"===e.status}},isWaitingForActivation:{deps:["isMfaEnrollActivate","lastAuthResponse"],fn:function(e,t){return e&&"WAITING"===t.factorResult}},isWaitingForNumberChallenge:{deps:["lastAuthResponse","isMfaChallenge"],fn:function(e,t){return!!(t&&e&&"WAITING"===e.factorResult&&e._embedded&&e._embedded.factor&&e._embedded.factor._embedded&&e._embedded.factor._embedded.challenge)}},hasMultipleFactorsAvailable:{deps:["factors","isMfaRequired","isMfaChallenge","isUnauthenticated"],fn:function(e,t,n,r){return!!(t||n||r)&&(e&&e.length>1)}},promptForFactorInUnauthenticated:{deps:["lastAuthResponse","factors"],fn:function(e,t){return"UNAUTHENTICATED"===e.status&&(t&&t.length>0)}},userId:{deps:["lastAuthResponse"],fn:function(e){return e._embedded&&e._embedded.user?e._embedded.user.id:null}},isIdxStateToken:{deps:["lastAuthResponse"],fn:function(e){return e&&o._.isString(e.stateToken)&&e.stateToken.startsWith("01")}},isPwdExpiringSoon:{deps:["lastAuthResponse"],fn:function(e){return"PASSWORD_WARN"===e.status}},passwordExpireDays:{deps:["lastAuthResponse"],fn:function(e){return e._embedded&&e._embedded.policy&&e._embedded.policy.expiration?e._embedded.policy.expiration.passwordExpireDays:null}},isPwdManagedByOkta:{deps:["lastAuthResponse"],fn:function(e){return!(e._links&&e._links.next&&e._links.next.title)}},passwordExpiredWebsiteName:{deps:["lastAuthResponse"],fn:function(e){return e._links&&e._links.next&&e._links.next.title?e._links.next.title:null}},passwordExpiredLinkUrl:{deps:["lastAuthResponse"],fn:function(e){return e._links&&e._links.next&&e._links.next.title&&e._links.next.href?e._links.next.href:null}},recoveryType:{deps:["lastAuthResponse"],fn:function(e){return e.recoveryType}},factorType:{deps:["lastAuthResponse"],fn:function(e){return e.factorType}},factor:{deps:["lastAuthResponse"],fn:function(e){return e._embedded&&e._embedded.factor?e._embedded.factor:null}},activatedFactorId:{deps:["factor"],fn:function(e){return e?e.id:null}},activatedFactorType:{deps:["factor"],fn:function(e){return e?e.factorType:null}},activatedFactorProvider:{deps:["factor"],fn:function(e){return e?e.provider:null}},qrcode:{deps:["factor"],fn:function(e){try{return e._embedded.activation._links.qrcode.href}catch(e){return null}}},activationSendLinks:{deps:["factor"],fn:function(e){var t;try{t=e._embedded.activation._links.send}catch(e){t=[]}return t}},textActivationLinkUrl:{deps:["activationSendLinks"],fn:function(e){var t=o._.findWhere(e,{name:"sms"});return t?t.href:null}},emailActivationLinkUrl:{deps:["activationSendLinks"],fn:function(e){var t=o._.findWhere(e,{name:"email"});return t?t.href:null}},sharedSecret:{deps:["factor"],fn:function(e){try{return e._embedded.activation.sharedSecret}catch(e){return null}}},duoEnrollActivation:{deps:["factor"],fn:function(e){return e&&e._embedded&&e._embedded.activation?e._embedded.activation:null}},prevLink:{deps:["lastAuthResponse"],fn:function(e){return e._links&&e._links.prev?e._links.prev.href:null}},skipLink:{deps:["lastAuthResponse"],fn:function(e){return e._links&&e._links.skip?e._links.skip.href:null}},gracePeriodRemainingDays:{deps:["policy"],fn:function(e){return e&&e.gracePeriod&&e.gracePeriod.endDate?(t=e.gracePeriod.endDate,n=new Date(t).getTime(),Math.floor((n-(new Date).getTime())/864e5)):null;var t,n}},user:{deps:["lastAuthResponse"],fn:function(e){return e._embedded&&e._embedded.user?e._embedded.user:null}},recoveryQuestion:{deps:["user"],fn:function(e){return e&&e.recovery_question?e.recovery_question.question:null}},userProfile:{deps:["user"],fn:function(e){return e&&e.profile?e.profile:null}},userConsentName:{deps:["userProfile","username"],fn:function(e,t){return!e||o._.isEmpty(e.firstName)?t:o._.isEmpty(e.lastName)?e.firstName:e.firstName+" "+e.lastName.charAt(0)+"."}},userEmail:{deps:["userProfile"],fn:function(e){return e&&e.login?e.login:null}},userFullName:{deps:["userProfile"],fn:function(e){return e&&(e.firstName||e.lastName)?e.firstName+" "+e.lastName:""}},defaultAppLogo:{deps:["baseUrl"],fn:function(e){return e+"/img/logos/default.png"}},expiresAt:{deps:["lastAuthResponse"],fn:function(e){return e.expiresAt}},target:{deps:["lastAuthResponse"],fn:function(e){return e._embedded?e._embedded.target:null}},targetLabel:{deps:["target"],fn:function(e){return e?e.label:null}},targetLogo:{deps:["target"],fn:function(e){return e&&e._links?e._links.logo:null}},targetTermsOfService:{deps:["target"],fn:function(e){return e&&e._links?e._links["terms-of-service"]:null}},targetPrivacyPolicy:{deps:["target"],fn:function(e){return e&&e._links?e._links["privacy-policy"]:null}},targetClientURI:{deps:["target"],fn:function(e){return e&&e._links?e._links["client-uri"]:null}},scopes:{deps:["lastAuthResponse"],fn:function(e){return e._embedded?e._embedded.scopes:null}},issuer:{deps:["lastAuthResponse"],fn:function(e){var t,n,r;return null==e||null===(t=e._embedded)||void 0===t||null===(n=t.authentication)||void 0===n||null===(r=n.issuer)||void 0===r?void 0:r.uri}},hasExistingPhones:{deps:["lastAuthResponse"],fn:function(e){if(!e._embedded||!e._embedded.factors)return!1;var t=e._embedded.factors,n=o._.findWhere(t,{factorType:"sms",provider:"OKTA"});return!(!n||!n._embedded)&&!!n._embedded.phones.length}},hasExistingPhonesForCall:{deps:["lastAuthResponse"],fn:function(e){if(!e._embedded||!e._embedded.factors)return!1;var t=e._embedded.factors,n=o._.findWhere(t,{factorType:"call",provider:"OKTA"});return!(!n||!n._embedded)&&!!n._embedded.phones.length}},isUndefinedUser:{deps:["securityImage"],fn:function(e){return e===f}},isNewUser:{deps:["securityImage"],fn:function(e){return e===d}},allowRememberDevice:{deps:["policy"],fn:function(e){return e&&e.allowRememberDevice}},rememberDeviceLabel:{deps:["policy"],fn:function(e){if(e&&e.rememberDeviceLifetimeInMinutes>0){var t=function(e){if(e>60&&e<=1440){var t=e/60;return(0,o.loc)("hours","login",[t])}if(e>1440){var n=e/1440;return(0,o.loc)("days","login",[n])}return 1===e?(0,o.loc)("minutes.oneMinute","login"):(0,o.loc)("minutes","login",[e])}(e.rememberDeviceLifetimeInMinutes);return(0,o.loc)("rememberDevice.timebased","login",[t])}return e&&0===e.rememberDeviceLifetimeInMinutes?(0,o.loc)("rememberDevice.devicebased","login"):(0,o.loc)("rememberDevice","login")}},rememberDeviceByDefault:{deps:["policy"],fn:function(e){return e&&e.rememberDeviceByDefault}},factorsPolicyInfo:{deps:["policy"],fn:function(e){return e&&e.factorsPolicyInfo?e.factorsPolicyInfo:null}},verifyCustomFactorRedirectUrl:{deps:["lastAuthResponse"],fn:function(e){return e._links&&e._links.next&&"redirect"===e._links.next.name&&e._links.next.href?e._links.next.href:null}},enrollCustomFactorRedirectUrl:{deps:["lastAuthResponse"],fn:function(e){return e._links&&e._links.next&&"activate"===e._links.next.name&&e._links.next.href?e._links.next.href:null}},isFactorResultFailed:{deps:["lastAuthResponse"],fn:function(e){return"FAILED"===e.factorResult}},factorResultErrorMessage:{deps:["lastAuthResponse","isFactorResultFailed"],fn:function(e,t){return t?e.factorResultMessage||(0,o.loc)("oform.error.unexpected","login"):null}},deviceActivationStatus:{deps:["lastAuthResponse"],fn:function(e){return e._embedded?e._embedded.deviceActivationStatus:null}},usingDeviceFlow:{deps:["lastAuthResponse"],fn:function(e){return!(!e._embedded||!e._embedded.usingDeviceFlow)}},userCode:{deps:["lastAuthResponse"],fn:function(e){var t;return null==e||null===(t=e._embedded)||void 0===t?void 0:t.userCode}}},parse:function(e){return this.settings=e.settings,o._.extend(o._.omit(e,"settings"),{languageCode:this.settings.get("languageCode"),userCountryCode:this.settings.get("countryCode")})}});t.default=h,e.exports=t.default},3402:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=a(n(8177)),i=a(n(5115));function a(e){return e&&e.__esModule?e:{default:e}}var s=["OAuthError","AuthSdkError","AuthPollStopError","AuthApiError"],l=r.Model.extend({doTransaction:function(e,t){var n=this;return e.call(this,this.appState.get("transaction")).then((function(e){return n.trigger("setTransaction",e),e})).catch((function(e){if("AuthPollStopError"!==e.name&&e.name!==i.default.AUTH_STOP_POLL_INITIATION_ERROR&&e.name!==i.default.WEBAUTHN_ABORT_ERROR&&(n.trigger("error",n,e.xhr),n.trigger("setTransactionError",e),t||-1===r._.indexOf(s,e.name)))throw e}))},manageTransaction:function(e){var t=this,n=e.call(this,this.appState.get("transaction"),r._.bind(this.setTransaction,this));return o.default.isPromiseAlike(n)?n.catch((function(e){"AuthPollStopError"!==e.name&&e.name!==i.default.AUTH_STOP_POLL_INITIATION_ERROR&&e.name!==i.default.WEBAUTHN_ABORT_ERROR&&(t.trigger("error",t,e.xhr),t.trigger("setTransactionError",e))})):o.default.resolve(n)},startTransaction:function(e){var t=this,n=e.call(this,this.settings.getAuthClient());return o.default.isPromiseAlike(n)?n.then((function(e){return t.trigger("setTransaction",e),e})).catch((function(e){throw t.trigger("error",t,e.xhr),t.trigger("setTransactionError",e),e})):o.default.resolve(n)},setTransaction:function(e){this.appState.set("transaction",e)}});t.default=l,e.exports=t.default},1390:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=(r=n(3402))&&r.__esModule?r:{default:r};var a=i.default.extend({initialize:function(e){this.options=e||{},this.appState=this.options.appState},constructPostData:function(e){var t={registration:{profile:e}};return this.appState.get("policy").registration.createNewAccount&&(t.registration.createNewAccount=!0),t},getEnrollFormData:function(){return this.manageTransaction((function(e,t){return e.enroll().then((function(e){t(e)}))}))},save:function(){var e=i.default.prototype.toJSON.apply(this,arguments);if(e=o._.omit(e,["appState","settings","createNewAccount"]),!o._.isEmpty(e))return this.manageTransaction((function(t,n){t.enroll(this.constructPostData(e)).then((function(e){n(e)}))}));var t={errorSummary:(0,o.loc)("oform.errorbanner.title","login")};this.trigger("error",this,{responseJSON:t})}});t.default=a,e.exports=t.default},709:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=u(n(8177)),i=n(2183),a=u(n(9057)),s=u(n(7516)),l=u(n(3402));function u(e){return e&&e.__esModule?e:{default:e}}var c=l.default.extend({extraProperties:!0,flat:!1,props:{id:"string",factorType:{type:"string",values:["sms","call","email","token","token:software:totp","token:hotp","token:hardware","question","push","u2f","password","assertion:saml2","assertion:oidc","claims_provider","webauthn"]},provider:{type:"string",values:["OKTA","RSA","DEL_OATH","SYMANTEC","GOOGLE","YUBICO","FIDO","CUSTOM","GENERIC_SAML","GENERIC_OIDC"]},enrollment:{type:"string",values:["OPTIONAL","REQUIRED"]},status:{type:"string",values:["NOT_SETUP","ACTIVE"]},profile:["object"],vendorName:"string",policy:["object"],profiles:["object"]},local:{answer:"string",password:"string",backupFactor:"object",showAnswer:"boolean",rememberDevice:"boolean",autoPush:["boolean",!0,!1]},derived:{isOktaFactor:{deps:["provider"],fn:function(e){return"OKTA"===e}},factorName:{deps:["provider","factorType"],fn:a.default.getFactorName},factorLabel:{deps:["provider","factorType","vendorName"],fn:function(e,t,n){return r._.contains(["DEL_OATH","GENERIC_SAML","GENERIC_OIDC","CUSTOM"],e)?n:a.default.getFactorLabel.apply(this,[e,t])}},factorDescription:{deps:["provider","factorType"],fn:a.default.getFactorDescription},sortOrder:{deps:["provider","factorType"],fn:a.default.getFactorSortOrder},iconClassName:{deps:["provider","factorType"],fn:a.default.getFactorIconClassName},securityQuestion:{deps:["profile","factorType"],fn:function(e,t){return"question"!==t?null:e&&a.default.getSecurityQuestionLabel(e)}},phoneNumber:{deps:["profile","factorType"],fn:function(e,t){return r._.contains(["sms","call"],t)?e&&e.phoneNumber:null}},email:{deps:["profile","factorType"],fn:function(e,t){return"email"===t?e&&e.email:null}},deviceName:{deps:["profile","factorType"],fn:function(e,t){return"push"!==t?null:e&&e.name}},enrolled:{deps:["status"],fn:function(e){return"ACTIVE"===e}},cardinality:{deps:["policy","profiles"],fn:function(e,t){if(t&&t.length>0){var n=t[0],o=n._embedded.enrolledFactors.length,i=r._.findWhere(n._embedded.features,{type:"adoption"});return!(!i||!i.cardinality)&&{enrolled:o,minimum:i.cardinality.min,maximum:i.cardinality.max}}return!(!e||!e.enrollment)&&e.enrollment}},additionalEnrollment:{deps:["cardinality"],fn:function(e){return!!e&&(0!==e.enrolled&&e.enrolled<e.maximum)}},required:{deps:["enrollment"],fn:function(e){return"REQUIRED"===e}},canUseResend:{deps:["provider","factorType"],fn:function(e,t){return"OKTA"===e&&r._.contains(["push","sms","call","email"],t)}},isAnswerRequired:{deps:["factorType"],fn:function(e){return r._.contains(["sms","call","email","token","token:software:totp","question"],e)}},isFactorTypeVerification:{deps:["provider","id"],fn:function(e,t){return void 0===e&&void 0===t}}},parse:function(e){return this.settings=e.settings,this.appState=e.appState,e.rememberDevice=a.default.getRememberDeviceValue(this.appState),this.setCustomHotpVendorName(e),r._.omit(e,["settings","appState"])},validate:function(){return this.get("isAnswerRequired")&&!this.get("answer")?{answer:(0,r.loc)("model.validation.field.blank")}:"password"!==this.get("factorType")||this.get("password")?void 0:{password:(0,r.loc)("error.password.required")}},needsPasscode:function(){return!(this.options.appState.get("isIdxStateToken")&&"email"===this.get("factorType"))},resend:function(){return this.trigger("form:clear-errors"),this.manageTransaction((function(e){var t=e.data._links.resend[0];return e.resend(t.name)}))},save:function(){var e=!!this.get("rememberDevice"),t=this;return this.manageTransaction((function(n,r){var a,l={rememberDevice:e};if("question"===this.get("factorType")?l.answer=this.get("answer"):"password"===this.get("factorType")?l.password=this.get("password"):this.needsPasscode()&&(l.passCode=this.get("answer")),this.pushFactorHasAutoPush()&&(l.autoPush=this.get("autoPush")),"MFA_REQUIRED"===n.status||"FACTOR_REQUIRED"===n.status||this.appState.get("promptForFactorInUnauthenticated"))a=this._findFactor(n).verify(l);else if(this.get("canUseResend")&&!this.get("answer")&&n.resend){var u=n.data._links.resend[0];a=n.resend(u.name)}else a=n.verify(l);return this.trigger("save"),a.then((function(e){var n={delay:4e3,transactionCallBack:function(e){t.options.appState.set("lastAuthResponse",e)}};if(r(e),"MFA_CHALLENGE"===e.status&&e.poll||"FACTOR_CHALLENGE"===e.status&&e.poll){var a=o.default.defer(),l=s.default.callAfterTimeout(a.resolve,4e3);return t.listenToOnce(t.options.appState,"factorSwitched",(function(){clearTimeout(l),a.reject(new i.AuthStopPollInitiationError)})),a.promise.then((function(){return t.stopListening(t.options.appState,"factorSwitched"),t.pushFactorHasAutoPush()&&(n.autoPush=function(){return t.get("autoPush")},n.rememberDevice=function(){return t.get("rememberDevice")}),e.poll(n).then((function(e){t.options.appState.set("lastAuthResponse",e.data),r(e)}))}))}}))}))},_findFactor:function(e){var t;return e.factorTypes&&(t=r._.findWhere(e.factorTypes,{factorType:this.get("factorType")})),t||(t=r._.findWhere(e.factors,{id:this.get("id")})),t},pushFactorHasAutoPush:function(){return this.settings.get("features.autoPush")&&"push"===this.get("factorType")},setCustomHotpVendorName:function(e){if("token:hotp"===e.factorType&&e.profiles)if("NOT_SETUP"===e.status)e.vendorName=e.profiles[0].name;else if("ACTIVE"===e.status){var t=e.profiles.filter((function(e){return e._embedded.enrolledFactors.length>0}));e.vendorName=t[0].name}return e}}),f=r.Collection.extend({model:c,comparator:"sortOrder",parse:function(e){this.lastUsedFactor=e[0];var t,n=r._.findWhere(e,{provider:"OKTA",factorType:"push"});if(t=r._.where(e,{factorType:"push"}).length>1?r._.findWhere(e,{factorType:"token:software:totp"}):r._.findWhere(e,{provider:"OKTA",factorType:"token:software:totp"}),!n||!t)return e;var o=t===e[0],i=r._.reduce(e,(function(e,r){var o="OKTA"===r.provider,i=o&&"token:software:totp"===r.factorType,a=o&&"push"===r.factorType,s="ACTIVE"!==r.status,l=i&&(s||"ACTIVE"===n.status),u=a&&s&&"ACTIVE"===t.status;return l||u||(a&&(r.backupFactor=new c(t,{parse:!0})),e.push(r)),e}),[]);return o&&(this.lastUsedFactor=n),i},getDefaultFactor:function(){var e=r._.pick(this.lastUsedFactor,"factorType","provider");return this.findWhere(e)},getFirstUnenrolledRequiredFactor:function(){return this.findWhere({required:!0,enrolled:!1})},_getFactorsOfType:function(e){return this.where({factorType:e})},getFactorIndex:function(e,t){return this._getFactorsOfType(e).findIndex((function(e){return e.get("id")===t}))},hasMultipleFactorsOfSameType:function(e){return this._getFactorsOfType(e).length>1},getFactorByTypeAndIndex:function(e,t){return this._getFactorsOfType(e)[t]}}),d={Model:c,Collection:f};t.default=d,e.exports=t.default},3597:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=l(n(7804)),i=l(n(9256)),a=l(n(5115)),s=l(n(7516));function l(e){return e&&e.__esModule?e:{default:e}}var u=o.default.extend({props:function(){var e=i.default.getCookieUsername(),t=this.getUsernameAndRemember(e);return{username:["string",!0,t.username],lastUsername:["string",!1,e],context:["object",!1],remember:["boolean",!0,t.remember]}},local:{},save:function(){var e=this,t=this.settings.transformUsername(this.get("username"),a.default.IDP_DISCOVERY),n=this.get("remember"),o=this.get("lastUsername"),l="okta:acct:"+t,u=this.get("requestContext");this.setUsernameCookie(t,n,o),this.trigger("save"),this.appState.trigger("loading",!0);var c={resource:l,requestContext:u};this.appState.settings.getAuthClient().webfinger(c).then((function(t){if(t&&t.links&&t.links[0])if("OKTA"===t.links[0].properties["okta:idp:type"])e.trigger("goToPrimaryAuth");else if(t.links[0].href){(t.links[0].href.includes("OKTA_INVALID_SESSION_REPOST%3Dtrue")?s.default.redirectWithFormGet.bind(s.default):e.settings.get("redirectUtilFn"))(t.links[0].href)}})).catch((function(){var t={errorSummary:(0,r.loc)("oform.error.webfinger","login")};e.trigger("error",e,{responseJSON:t}),e.appState.trigger("removeLoading"),i.default.removeUsernameCookie()})).finally((function(){e.appState.trigger("loading",!1)}))}});t.default=u,e.exports=t.default},5112:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048);var i=((r=n(3402))&&r.__esModule?r:{default:r}).default.extend({constructor:function(e){this.settings=e&&e.settings,o.Model.apply(this,arguments)},loginWithActivationToken:function(e){return this.startTransaction((function(t){return t.signInWithCredentials({token:e})}))}});t.default=i,e.exports=t.default},7804:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=a(n(9256)),i=a(n(5115));function a(e){return e&&e.__esModule?e:{default:e}}var s=a(n(3402)).default.extend({props:function(){var e=o.default.getCookieUsername(),t=this.getUsernameAndRemember(e),n={username:{type:"string",validate:function(e){if(r._.isEmpty(e))return(0,r.loc)("error.username.required","login")},value:t.username},lastUsername:["string",!1,e],context:["object",!1],remember:["boolean",!0,t.remember],multiOptionalFactorEnroll:["boolean",!0]};return this.settings&&this.settings.get("features.passwordlessAuth")||(n.password={type:"string",validate:function(e){if(r._.isEmpty(e))return(0,r.loc)("error.password.required","login")}}),n},getUsernameAndRemember:function(e){var t,n=this.settings&&this.settings.get("username"),r=this.settings&&this.settings.get("features.rememberMe"),o=!1;return n?(t=n,o=r&&t===e):r&&e&&(t=e,o=!0),{username:t,remember:o}},constructor:function(e){this.settings=e&&e.settings,this.appState=e&&e.appState,r.Model.apply(this,arguments),this.listenTo(this,"change:username",(function(e,t){this.set({remember:t===this.get("lastUsername")})}))},parse:function(e){return r._.omit(e,["settings","appState"])},save:function(){var e=this,t=this.settings.transformUsername(this.get("username"),i.default.PRIMARY_AUTH),n=this.get("remember"),a=this.get("lastUsername");this.setUsernameCookie(t,n,a),this.trigger("save"),this.appState.trigger("loading",!0);var s,l=this.getSignInArgs(t);if(this.appState.get("isUnauthenticated")){var u=this.appState.settings.getAuthClient();s=this.appState.get("isIdxStateToken")?this.doTransaction((function(e){return this.doPrimaryAuth(u,l,e.login)})):this.doTransaction((function(e){return this.doPrimaryAuth(u,l,e.authenticate)}),!0)}else s=this.startTransaction((function(e){return this.doPrimaryAuth(e,l,r._.bind(e.signInWithCredentials,e))}));return s.catch((function(){e.appState.trigger("removeLoading"),o.default.removeUsernameCookie()})).finally((function(){e.appState.trigger("loading",!1)}))},getSignInArgs:function(e){var t=this.get("multiOptionalFactorEnroll"),n={};return this.settings.get("features.passwordlessAuth")||(n.password=this.get("password")),this.appState.get("isIdxStateToken")?n.identifier=e:(n.username=e,n.options={warnBeforePasswordExpired:!0,multiOptionalFactorEnroll:t}),n},setUsernameCookie:function(e,t,n){this.settings.get("features.rememberMe")&&(t||n!==e?t&&o.default.setUsernameCookie(e):o.default.removeUsernameCookie())},doPrimaryAuth:function(e,t,n){var r=this.settings.get("features.deviceFingerprinting"),o=this.settings.get("features.trackTypingPattern");r&&this.appState.get("deviceFingerprint")&&e.http.setRequestHeader("X-Device-Fingerprint",this.appState.get("deviceFingerprint")),o&&this.appState.get("typingPattern")&&e.http.setRequestHeader("X-Typing-Pattern",this.appState.get("typingPattern"));var i=this;return n(t).finally((function(){r&&(e.http.setRequestHeader("X-Device-Fingerprint",void 0),i.appState.unset("deviceFingerprint")),o&&(e.http.setRequestHeader("X-Typing-Pattern",void 0),i.appState.unset("typingPattern"))}))}});t.default=s,e.exports=t.default},2384:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=r.internal.models.BaseSchema.Model.extend({expand:["schema"],setFieldPlaceholder:function(e){return r._.each(e,(function(e){e.title=e.label})),e},initialize:function(e){var t=e.profileSchemaAttributes;if(t=this.setFieldPlaceholder(t)){for(var n={properties:{}},r=0;r<t.length;r++){var o=t[r];n.properties[o.name]=o}this.parse.apply(this,[{schema:n}])}}});t.default=o,e.exports=t.default},8749:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=r.internal.models,i=o.BaseSchema,a=o.SchemaProperty,s=a.Collection.extend({createModelProperties:function(){var e=a.Collection.prototype.createModelProperties.apply(this);return r._.each(e,(function(e,t){e.required=!!this.get(t).get("required")}),this),e}}),l=i.Model.extend({expand:["schema"],constructor:function(){this.properties=new s,r.BaseModel.apply(this,arguments)},parse:function(e){var t=this,n=this;this.settings.parseRegistrationSchema(e,(function(e){e.profileSchema&&(e.schema=e.profileSchema,i.Model.prototype.parse.apply(n,[e]),e=function(e){var n=e.schema.required;r._.isArray(n)&&r._.each(n,(function(e){var t=this.properties.get(e);t&&t.set("required",!0)}),t);var o=e.schema.fieldOrder;return r._.isArray(o)&&(r._.each(o,(function(e,t){var n=this.properties.get(e);n&&n.set("sortOrder",t)}),t),t.properties.comparator="sortOrder",t.properties.sort()),t.properties.defaultPolicyId=e.policyId,e}(e)),n.trigger("parseComplete",{properties:n.properties})}),(function(e){n.trigger("parseComplete",{properties:n.properties,error:e})}))}});t.default=l,e.exports=t.default},3123:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=(r=n(8177))&&r.__esModule?r:{default:r};var a=o.Controller.extend({addListeners:function(){this.listenTo(this.model,"save",(function(){var e,t=(e=this,o._.find(e.getChildren(),(function(e){return e instanceof o.Form})));t.disableSubmitButton&&!t.disableSubmitButton()||this.toggleButtonState(!0)})),this.listenTo(this.model,"error",(function(){this.toggleButtonState(!1)})),this.addModelListeners(this.model)},addModelListeners:function(e){var t=this,n=function(e){t.options.appState.set("transaction",e)},r=function(e){t.options.appState.set("transactionError",e)};this.listenTo(e,"setTransaction",n),this.listenTo(e,"setTransactionError",r);var o=e.get("backupFactor");o&&(this.listenTo(o,"setTransaction",n),this.listenTo(o,"setTransactionError",r))},fetchInitialData:function(){return(0,i.default)()},trapAuthResponse:function(){return!1},toJSON:function(){var e=o.Controller.prototype.toJSON.apply(this,arguments);return o._.extend(o._.pick(this.options,"appState"),e)},toggleButtonState:function(e){this.$el.find(".button").toggleClass("link-button-disabled",e).prop("disabled",e)},postRenderAnimation:function(){this.trigger("pageRendered",{page:this.className}),this.trigger("afterRender",{controller:this.className})}});t.default=a,e.exports=t.default},6568:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=(r=n(8177))&&r.__esModule?r:{default:r};var a={getUserAgent:function(){return navigator.userAgent},isMessageFromCorrectSource:function(e,t){return t.source===e[0].contentWindow},generateDeviceFingerprint:function(e,t){var n=this.getUserAgent();if(!n)return i.default.reject("user agent is not defined");if(function(e){return e.match(/windows phone|iemobile|wpdesktop/i)}(n))return i.default.reject("device fingerprint is not supported on Windows phones");var r,a,s=i.default.defer(),l=this;function u(){r.off(),r.remove(),window.removeEventListener("message",f,!1)}function c(e){u(),s.reject(e)}function f(t){if(l.isMessageFromCorrectSource(r,t))if(clearTimeout(a),t&&t.data&&t.origin===e)try{var n=JSON.parse(t.data);n&&"FingerprintServiceReady"===n.type?function(t){var n=r[0].contentWindow;n&&n.postMessage(JSON.stringify(t),e)}({type:"GetFingerprint"}):n&&"FingerprintAvailable"===n.type?(u(),s.resolve(n.fingerprint)):c("no data")}catch(e){}else c("no data")}return window.addEventListener("message",f,!1),r=(0,o.$)("<iframe>",{style:"display: none;",src:e+"/auth/services/devicefingerprint"}),t.append(r),a=setTimeout((function(){c("service not available")}),2e3),s.promise}};t.default=a,e.exports=t.default},6777:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=s(n(3402)),i=s(n(3123)),a=s(n(7651));function s(e){return e&&e.__esModule?e:{default:e}}var l=r.internal.views.forms.components.Toolbar,u=r.internal.views.forms.helpers.FormUtil,c=r.Form.extend({layout:"o-form-theme",noCancelButton:!0,constructor:function(e){r.Form.call(this,e),r._.each(r._.result(this,"formChildren")||[],(function(e){switch(e.type){case a.default.INPUT:this.addInput(r._.extend({label:!1,"label-top":!0},e.viewOptions));break;case a.default.BUTTON:this.add((0,r.createButton)(r._.extend({model:this.model},e.viewOptions)),e.addOptions),u.applyShowWhen(this.last(),e.viewOptions&&e.viewOptions.showWhen);break;case a.default.DIVIDER:this.addDivider(e.viewOptions);break;case a.default.TOOLBAR:this.add(l,{options:e.viewOptions}),u.applyShowWhen(this.last(),e.viewOptions&&e.viewOptions.showWhen);break;case a.default.VIEW:this.add(e.viewOptions.View,e.addOptions),u.applyShowWhen(this.last(),e.viewOptions.showWhen);break;default:throw new Error("Unrecognized child type: "+e.type)}}),this)}}),f=i.default.extend({constructor:function(){var e=this.initialize;if(this.initialize=function(){},i.default.apply(this,arguments),this.Model&&this.Form){var t=o.default.extend(r._.extend({parse:function(e){return this.settings=e.settings,this.appState=e.appState,r._.omit(e,["settings","appState"])}},r._.result(this,"Model")));this.model=new t({settings:this.settings,appState:this.options.appState},{parse:!0});var n=c.extend(r._.result(this,"Form",this));this.form=new n(this.toJSON()),this.add(this.form)}this.Footer&&this.addFooter(this.Footer),this.addListeners(),e.apply(this,arguments)},addFooter:function(e,t){this.footer=new e(r._.extend(this.toJSON(),t||{})),this.add(this.footer)},toJSON:function(){var e=i.default.prototype.toJSON.apply(this,arguments);return r._.extend(r._.pick(this.options,"appState"),e)},back:function(){this.footer&&this.footer.back&&this.footer.back()}});t.default=f,e.exports=t.default},7651:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n="INPUT",r="BUTTON",o="DIVIDER",i="TOOLBAR",a="VIEW";function s(e){return function(t,n){return{type:e,viewOptions:t,addOptions:n}}}var l={Input:s(n),Button:s(r),Divider:s(o),Toolbar:s(i),View:s(a),INPUT:n,BUTTON:r,DIVIDER:o,TOOLBAR:i,VIEW:a};t.default=l,e.exports=t.default},2937:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=(r=n(4049))&&r.__esModule?r:{default:r};var a=o.internal.views.forms.helpers.SchemaFormFactory,s=function(e){var t=e.split(""),n=[],r=[",",".","-","_","#","@"],i="";return o._.each(t,(function(e){-1===r.indexOf(e)?i+=e:(i.length>=3&&n.push(o._.clone(i)),i="")})),i.length>=3&&n.push(o._.clone(i)),n.filter(Boolean)},l=function(e,t){if(!e)return!1;e=e.toLowerCase(),t=t.toLowerCase();for(var n=s(e),r=0;r<n.length;r++){var o=n[r];if(-1!==t.indexOf(o))return!0}return!1},u=function(e,t,n,r){var i=t.get(e);o._.isString(i)&&n.each((function(n,a){var s=(0,o.$)("#subschemas-"+e+" .subschema-"+a);i?s.children("p").removeClass("default-schema"):s.children("p").addClass("default-schema"),s.children("p").removeAttr("role").removeAttr("aria-live"),s.removeClass("subschema-satisfied subschema-unsatisfied subschema-error"),!function(e,t,n){var r=e.get("minLength"),i=e.get("maxLength"),a=e.get("format");if(o._.isNumber(r)&&t.length<r)return!1;if(o._.isNumber(i)&&t.length>i)return!1;var s=t;if(o._.isString(a)){if("^[#/userName]"===a||"^[#/firstName]"===a||"^[#/lastName]"===a){var u=a.split("^[#/")[1].split("]")[0],c=n.get(u);return"userName"===u&&(c=n.has("userName")?n.get("userName"):n.get("email")),!l(c,s)}if(!new RegExp(a).test(t))return!1}return!0}(n,i,t)?r&&(s.find("p span").removeClass("confirm-16"),s.find("p span").addClass("error error-16-small"),s.addClass("subschema-error subschema-unsatisfied"),s.find("p").attr("role","alert").attr("aria-live","polite")):(s.addClass("subschema-satisfied"),s.find("p span").removeClass("error error-16-small"),s.find("p span").addClass("confirm-16"))}))},c={createInputOptions:function(e){var t=a.createInputOptions(e);if("select"===t.type)t=o._.extend(t,{label:e.get("title")});else{var n=e.get("title");e.get("required")&&(n+=" *"),t=o._.extend(t,{label:!1,"label-top":!0,placeholder:n})}var r=e.get("name");switch(r){case"userName":t.input=i.default,t.params={icon:"person-16-gray"};break;case"password":t.type="password",t.input=i.default,t.params={icon:"remote-lock-16"}}var s=e.get("subSchemas");return s&&(t.events={input:function(){u(r,this.model,s,!0)},focusout:function(){u(r,this.model,s,!0)},"change:userName":function(){u(r,this.model,s,!0)},"change:firstName":function(){u(r,this.model,s,!0)},"change:lastName":function(){u(r,this.model,s,!0)},"change:email":function(){u(r,this.model,s,!0)}}),t},getUsernameParts:s,passwordContainsFormField:l};t.default=c,e.exports=t.default},9201:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(6276)),o=n(2048),i=f(n(5331)),a=f(n(5115)),s=f(n(6594)),l=n(2183),u=f(n(2534)),c=f(n(7516));function f(e){return e&&e.__esModule?e:{default:e}}function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}var p={},h=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"signin/verify/"+u(d(i=null!=(i=c(n,"provider")||(null!=t?c(t,"provider"):t))?i:s)===l?i.call(a,{name:"provider",hash:{},data:o,loc:{start:{line:1,column:14},end:{line:1,column:26}}}):i)+"/"+u(d(i=null!=(i=c(n,"factorType")||(null!=t?c(t,"factorType"):t))?i:s)===l?i.call(a,{name:"factorType",hash:{},data:o,loc:{start:{line:1,column:27},end:{line:1,column:41}}}):i)},useData:!0}),m=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"signin/verify/"+u(d(i=null!=(i=c(n,"provider")||(null!=t?c(t,"provider"):t))?i:s)===l?i.call(a,{name:"provider",hash:{},data:o,loc:{start:{line:1,column:14},end:{line:1,column:26}}}):i)+"/"+u(d(i=null!=(i=c(n,"factorType")||(null!=t?c(t,"factorType"):t))?i:s)===l?i.call(a,{name:"factorType",hash:{},data:o,loc:{start:{line:1,column:27},end:{line:1,column:41}}}):i)+"/"+u(d(i=null!=(i=c(n,"factorIndex")||(null!=t?c(t,"factorIndex"):t))?i:s)===l?i.call(a,{name:"factorIndex",hash:{},data:o,loc:{start:{line:1,column:42},end:{line:1,column:57}}}):i)},useData:!0}),v=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"signin/verify/"+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"factorType")||(null!=t?a(t,"factorType"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"factorType",hash:{},data:o,loc:{start:{line:1,column:14},end:{line:1,column:28}}}):i)},useData:!0}),g=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"signin/enroll/"+u(d(i=null!=(i=c(n,"provider")||(null!=t?c(t,"provider"):t))?i:s)===l?i.call(a,{name:"provider",hash:{},data:o,loc:{start:{line:1,column:14},end:{line:1,column:26}}}):i)+"/"+u(d(i=null!=(i=c(n,"factorType")||(null!=t?c(t,"factorType"):t))?i:s)===l?i.call(a,{name:"factorType",hash:{},data:o,loc:{start:{line:1,column:27},end:{line:1,column:41}}}):i)},useData:!0}),y=r.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"/"+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"step")||(null!=t?a(t,"step"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"step",hash:{},data:o,loc:{start:{line:1,column:63},end:{line:1,column:71}}}):i)},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u="function",c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"signin/enroll-activate/"+c(d(a=null!=(a=f(n,"provider")||(null!=t?f(t,"provider"):t))?a:l)===u?a.call(s,{name:"provider",hash:{},data:o,loc:{start:{line:1,column:23},end:{line:1,column:35}}}):a)+"/"+c(d(a=null!=(a=f(n,"factorType")||(null!=t?f(t,"factorType"):t))?a:l)===u?a.call(s,{name:"factorType",hash:{},data:o,loc:{start:{line:1,column:36},end:{line:1,column:50}}}):a)+(null!=(i=f(n,"if").call(s,null!=t?f(t,"step"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:50},end:{line:1,column:78}}}))?i:"")},useData:!0}),b=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"signin/recovery/"+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"recoveryToken")||(null!=t?a(t,"recoveryToken"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"recoveryToken",hash:{},data:o,loc:{start:{line:1,column:16},end:{line:1,column:33}}}):i)},useData:!0}),_=r.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"/"+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"token")||(null!=t?a(t,"token"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"token",hash:{},data:o,loc:{start:{line:1,column:39},end:{line:1,column:48}}}):i)},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"signin/refresh-auth-state"+(null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"token"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:25},end:{line:1,column:55}}}))?i:"")},useData:!0}),w=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"signin/okta/"+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"username")||(null!=t?a(t,"username"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"username",hash:{},data:o,loc:{start:{line:1,column:12},end:{line:1,column:24}}}):i)},useData:!0}),O=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u="function",c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression(d(a=null!=(a=c(n,"baseUrl")||(null!=t?c(t,"baseUrl"):t))?a:l)===u?a.call(s,{name:"baseUrl",hash:{},data:o,loc:{start:{line:1,column:0},end:{line:1,column:11}}}):a)+"/login/sessionCookieRedirect?checkAccountSetupComplete=true&token="+(null!=(i=d(a=null!=(a=c(n,"token")||(null!=t?c(t,"token"):t))?a:l)===u?a.call(s,{name:"token",hash:{},data:o,loc:{start:{line:1,column:77},end:{line:1,column:88}}}):a)?i:"")+"&redirectUrl="+(null!=(i=d(a=null!=(a=c(n,"redirectUrl")||(null!=t?c(t,"redirectUrl"):t))?a:l)===u?a.call(s,{name:"redirectUrl",hash:{},data:o,loc:{start:{line:1,column:101},end:{line:1,column:118}}}):a)?i:"")},useData:!0}),k=["DEVICE_ACTIVATED","DEVICE_NOT_ACTIVATED_CONSENT_DENIED","DEVICE_NOT_ACTIVATED"];p.isHostBackgroundChromeTab=function(){return!!(navigator.userAgent.match(/Android/)&&navigator.userAgent.match(/Chrome/)&&document.hidden)},p.isDocumentVisible=function(){return"visible"===document.visibilityState},p.createVerifyUrl=function(e,t,n){return e&&n?m({provider:encodeURIComponent(e.toLowerCase()),factorType:encodeURIComponent(t),factorIndex:encodeURIComponent(n)}):e?h({provider:encodeURIComponent(e.toLowerCase()),factorType:encodeURIComponent(t)}):v({factorType:encodeURIComponent(t)})},p.createEnrollFactorUrl=function(e,t){return g({provider:encodeURIComponent(e.toLowerCase()),factorType:encodeURIComponent(t)})},p.createActivateFactorUrl=function(e,t,n){return y({provider:encodeURIComponent(e.toLowerCase()),factorType:encodeURIComponent(t),step:!!n&&encodeURIComponent(n)})},p.createRecoveryUrl=function(e){return b({recoveryToken:encodeURIComponent(e)})},p.createRefreshUrl=function(e){var t=e?encodeURIComponent(e):null;return _({token:t})},p.createSigninUrl=function(e){return e?w({username:encodeURIComponent(e)}):"signin"},p.routeAfterAuthStatusChangeError=function(e,t){if(t){if(!t.xhr||!i.default.corsIsNotEnabled(t.xhr))return t.errorCode===s.default.INVALID_TOKEN_EXCEPTION?(e.appState.set("flashError",t),e.controller.state.set("navigateDir",a.default.DIRECTION_BACK),void(e.settings.get("features.mfaOnlyFlow")?e.navigate("signin/error",{trigger:!0}):e.navigate("",{trigger:!0}))):void c.default.triggerAfterError(e.controller,t);e.settings.callGlobalError(new l.UnsupportedBrowserError((0,o.loc)("error.enabled.cors")))}},p.routeAfterAuthStatusChange=function(e,t){t&&t.status?(e.appState.setAuthResponse(t),e.controller&&e.controller.trapAuthResponse(t)||p.handleResponseStatus(e,t)):e.appState.clearLastAuthResponse()},p.handleResponseStatus=function(e,t){switch(t.status){case"SUCCESS":return void function(e,t){var n,r,i,s,f;if(t.recoveryType===a.default.RECOVERY_TYPE_UNLOCK)return void e.navigate("signin/account-unlocked",{trigger:!0});if(o._.contains(k,null===(n=t._embedded)||void 0===n?void 0:n.deviceActivationStatus))return void e.navigate("signin/device-activate-complete",{trigger:!0});if(e.settings.get("oauth2Enabled"))return void u.default.getTokens(e.settings,{sessionToken:t.sessionToken},e.controller);var d={user:t._embedded.user,type:t.type||a.default.SESSION_SSO};t.relayState&&(d.relayState=t.relayState);var h=e.settings.get("redirectUtilFn"),m=(null==t||null===(r=t._links)||void 0===r||null===(i=r.original)||void 0===i?void 0:i.href)||(null==t||null===(s=t._links)||void 0===s||null===(f=s.next)||void 0===f?void 0:f.href);if(t.type===a.default.SESSION_STEP_UP){var v,g,y=null==t||null===(v=t._links)||void 0===v||null===(g=v.next)||void 0===g?void 0:g.href;d.stepUp={url:y,finish:function(){h(y)}}}else m?d.next=function(){h(m)}:d.type=a.default.SESSION_SSO,t.sessionToken&&(d.session={token:t.sessionToken,setCookieAndRedirect:function(n){if(n&&c.default.debugMessage('\n Passing a "redirectUri" to "setCookieAndRedirect" is strongly discouraged.\n It is recommended to set a "redirectUri" option in the config object passed to the widget constructor.\n '),!(n=n||e.settings.get("redirectUri")))throw new l.ConfigError('"redirectUri" is required');h(O({baseUrl:e.settings.get("baseUrl"),token:encodeURIComponent(t.sessionToken),redirectUrl:encodeURIComponent(n)}))}});p.isHostBackgroundChromeTab()?document.addEventListener("visibilitychange",(function t(){p.isDocumentVisible()&&(document.removeEventListener("visibilitychange",t),e.settings.callGlobalSuccess(a.default.SUCCESS,d))})):e.settings.callGlobalSuccess(a.default.SUCCESS,d)}(e,t);case"ADMIN_CONSENT_REQUIRED":return void e.navigate("signin/admin-consent",{trigger:!0});case"CONSENT_REQUIRED":return void e.navigate("signin/consent",{trigger:!0});case"DEVICE_ACTIVATE":return void e.navigate("signin/device-activate",{trigger:!0});case"FACTOR_REQUIRED":case"FACTOR_CHALLENGE":case"MFA_REQUIRED":var n=e.appState.get("lastFailedChallengeFactorData");n&&n.factor&&(e.appState.get("factors").lastUsedFactor=n.factor);var r=e.appState.get("factors").getDefaultFactor(),i=p.createVerifyUrl(r.get("provider"),r.get("factorType"));return e.navigate(i,{trigger:!0}),void e.appState.clearLastFailedChallengeFactorData();case"POLL":return void e.navigate("signin/poll",{trigger:!0});case"MFA_CHALLENGE":return e.appState.get("isFactorResultFailed")&&e.appState.setLastFailedChallengeFactorData(),void e.appState.get("transaction").prev().then((function(t){e.appState.set("transaction",t)}));case"MFA_ENROLL":case"FACTOR_ENROLL":return void e.navigate("signin/enroll",{trigger:!0});case"MFA_ENROLL_ACTIVATE":case"FACTOR_ENROLL_ACTIVATE":var s=p.createActivateFactorUrl(e.appState.get("activatedFactorProvider"),e.appState.get("activatedFactorType"));return void e.navigate(s,{trigger:!0});case"PASSWORD_WARN":case"PASSWORD_EXPIRED":return void(e.settings.get("features.customExpiredPassword")&&!e.appState.get("isPwdManagedByOkta")?e.navigate("signin/custom-password-expired",{trigger:!0}):e.navigate("signin/password-expired",{trigger:!0}));case"RECOVERY_CHALLENGE":var f=t.factorType.toLowerCase()===a.default.RECOVERY_FACTOR_TYPE_EMAIL.toLowerCase(),d=t.recoveryType===a.default.RECOVERY_TYPE_PASSWORD,h=t.recoveryType===a.default.RECOVERY_TYPE_UNLOCK;return void(d&&f?e.navigate("signin/recovery-emailed",{trigger:!0}):h&&f?e.navigate("signin/unlock-emailed",{trigger:!0}):e.navigate("signin/recovery-challenge",{trigger:!0}));case"RECOVERY":return void e.navigate("signin/recovery-question",{trigger:!0});case"PASSWORD_RESET":return void e.navigate("signin/password-reset",{trigger:!0});case"LOCKED_OUT":if(e.settings.get("features.selfServiceUnlock"))e.navigate("signin/unlock",{trigger:!0});else{var m=(0,o.loc)("error.auth.lockedOut","login"),v={responseJSON:{errorCauses:[],errorSummary:m,errorCode:"E0000119"}},g={name:"AuthApiError",message:m,xhr:v};e.controller.model.appState.trigger("removeLoading"),e.controller.model.trigger("error",e.controller.model,v),c.default.triggerAfterError(e.controller,g)}return;case"PROFILE_REQUIRED":return void e.navigate("signin/enroll-user",{trigger:!0});case"UNAUTHENTICATED":if(e.appState.get("promptForFactorInUnauthenticated")){var y=e.appState.get("factors").getDefaultFactor(),b=p.createVerifyUrl(y.get("provider"),y.get("factorType"));return void e.navigate(b,{trigger:!0})}return e.appState.get("usingDeviceFlow")?void e.navigate("signin/idp-discovery-check",{trigger:!0}):void e.navigate("",{trigger:!0});default:throw new Error("Unknown status: "+t.status)}};var E=p;t.default=E,e.exports=t.default},2269:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={OKTA:{APPLE:"https://itunes.apple.com/us/app/okta-verify/id490179405",ANDROID:"https://play.google.com/store/apps/details?id=com.okta.android.auth"},GOOGLE:{APPLE:"https://itunes.apple.com/us/app/google-authenticator/id388497605",ANDROID:"https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2"},STORE:{APPLE:"App Store",ANDROID:"Google Play Store"}},e.exports=t.default},8690:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o,i=(r=n(6316))&&r.__esModule?r:{default:r};var a={track:function(e){try{(o=new i.default).addTarget(e),o.start()}catch(e){}},getTypingPattern:function(){try{return o.getTypingPattern({type:1})}catch(e){return null}}};t.default=a,e.exports=t.default},3486:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o={validateUsername:function(e){var t=e.get("username");if(t&&t.length>256)return{username:(0,r.loc)("model.validation.field.username","login")}},validateFieldsMatch:function(e,t,n,r){if(e.get(t)!==e.get(n)){var o={};return o[n]=r,o}},validatePasswordMatch:function(e){return o.validateFieldsMatch(e,"newPassword","confirmPassword",(0,r.loc)("password.error.match","login"))}},i=o;t.default=i,e.exports=t.default},5501:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=n(2048),i=a(n(5115));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.View.extend({className:"hide resend-email-infobox",template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="infobox infobox-warning" aria-live="polite"><span class="icon warning-16"></span><p><span>'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"email.code.not.received"},data:o,loc:{start:{line:1,column:102},end:{line:1,column:156}}}))+'</span><a href="#" class="resend-email-btn">'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"email.button.resend"},data:o,loc:{start:{line:1,column:200},end:{line:1,column:250}}}))+"</a></p></div>"},useData:!0}),events:{"click .resend-email-btn":"resendEmail"},postRender:function(){this.showResendCallout()},showResendCallout:function(){var e=this;o._.delay((function(){e.$el.removeClass("hide")}),i.default.API_RATE_LIMIT)},hideResendCallout:function(){this.$el.addClass("hide")},resendEmail:function(e){e.preventDefault(),this.hideResendCallout(),this.model.resend().finally(this.showResendCallout.bind(this))}});t.default=s,e.exports=t.default},9597:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048);n(3506);var a=i.View.extend({className:"scope-item",template:o.default.template({1:function(e,t,n,r,o){return'<span class="scope-item-tooltip icon form-help-16" />'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="scope-item-text no-translate">'+e.escapeExpression("function"==typeof(a=null!=(a=l(n,"name")||(null!=t?l(t,"name"):t))?a:e.hooks.helperMissing)?a.call(s,{name:"name",hash:{},data:o,loc:{start:{line:1,column:40},end:{line:1,column:48}}}):a)+"</p>"+(null!=(i=l(n,"if").call(s,null!=t?l(t,"description"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:52},end:{line:1,column:131}}}))?i:"")},useData:!0}),postRender:function(){this.$(".scope-item-tooltip").qtip({content:{text:i._.escape(this.options.description)},style:{classes:"okta-tooltip qtip-custom qtip-shadow"},position:{my:"bottom left",target:"mouse"}})}});t.default=a,e.exports=t.default},4506:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=n(2048),i=a(n(9597));function a(e){return e&&e.__esModule?e:{default:e}}var s={groups:"user",myAccount:"user",users:"user",apps:"resource",authenticators:"resource",authorizationServers:"resource",clients:"resource",domains:"resource",factors:"resource",idps:"resource",linkedObjects:"resource",policies:"resource",templates:"resource",eventHooks:"hook",inlineHooks:"hook",events:"system",logs:"system",orgs:"system",roles:"system",schemas:"system",sessions:"system",trustedOrigins:"system"},l=function(e){var t=e.name,n=(void 0===t?"":t).split(".")[1];return s[n]||"system"},u=o.View.extend({className:"scope-group",events:{click:"expandScopes"},template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="scope-group--header"><h3>'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"groupName")||(null!=t?a(t,"groupName"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"groupName",hash:{},data:o,loc:{start:{line:1,column:37},end:{line:1,column:50}}}):i)+'</h3><span class="scope-group--toggle"><svg class="caret" width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="path" fill-rule="evenodd" clip-rule="evenodd" d="M5.99967 4.66663L10.2663 8.66663L11.333 7.66663L5.99967 2.66663L0.666342 7.73636L1.73301 8.66663L5.99967 4.66663Z" fill="#A0A7AC"></path></svg></span></div>'},useData:!0}),expandScopes:function(){this.$el.toggleClass("scope-group--is-expanded"),this.$(".caret").toggleClass("caret--is-rotated")},preRender:function(){var e=this;o._.chain(this.options.scopes).sortBy((function(e){return e.name})).each((function(t){var n=t.name,r=t.displayName,o=t.description;e.add(i.default,{options:{name:r||n,description:o}})}))}}),c=o.View.extend({className:"scope-list detail-row",postRender:function(){var e=this,t=this.model.get("scopes"),n=o._.groupBy(t,l),r={user:(0,o.loc)("admin.consent.group.user.group","login"),resource:(0,o.loc)("admin.consent.group.resource.policy","login"),hook:(0,o.loc)("admin.consent.group.hook","login"),system:(0,o.loc)("admin.consent.group.system","login")};o._.each(r,(function(t,r){var o=n[r];Array.isArray(o)&&e.add(u,{options:{groupName:t,scopes:o}})}))}});t.default=c,e.exports=t.default},1745:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var s=i.internal.views.forms.inputs.CheckBox.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u="function",c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<input type="checkbox" name="'+c(a(i=null!=(i=f(n,"name")||(null!=t?f(t,"name"):t))?i:l)===u?i.call(s,{name:"name",hash:{},data:o,loc:{start:{line:1,column:29},end:{line:1,column:37}}}):i)+'" id="'+c(a(i=null!=(i=f(n,"inputId")||(null!=t?f(t,"inputId"):t))?i:l)===u?i.call(s,{name:"inputId",hash:{},data:o,loc:{start:{line:1,column:43},end:{line:1,column:54}}}):i)+'"/><label for="'+c(a(i=null!=(i=f(n,"inputId")||(null!=t?f(t,"inputId"):t))?i:l)===u?i.call(s,{name:"inputId",hash:{},data:o,loc:{start:{line:1,column:69},end:{line:1,column:80}}}):i)+'" data-se-for-name="'+c(a(i=null!=(i=f(n,"name")||(null!=t?f(t,"name"):t))?i:l)===u?i.call(s,{name:"name",hash:{},data:o,loc:{start:{line:1,column:100},end:{line:1,column:108}}}):i)+'"><b>'+c(a(i=null!=(i=f(n,"placeholder")||(null!=t?f(t,"placeholder"):t))?i:l)===u?i.call(s,{name:"placeholder",hash:{},data:o,loc:{start:{line:1,column:113},end:{line:1,column:128}}}):i)+"</b><p>"+c(a(i=null!=(i=f(n,"desc")||(null!=t?f(t,"desc"):t))?i:l)===u?i.call(s,{name:"desc",hash:{},data:o,loc:{start:{line:1,column:135},end:{line:1,column:143}}}):i)+"</p></label>"},useData:!0}),enable:function(){this.options.options.optional&&this.$(":input").prop("disabled",!1)},editMode:function(){if(this.$el.html(this.template(i._.extend(i._.omit(this.options,"placeholder"),{placeholder:this.options.placeholder||this.options.name,desc:this.options.options.description}))),this.$(":checkbox").prop("checked",this.getModelValue()||!1),this.$("input").customInput(),this.model.trigger("form:resize"),!this.options.options.optional){var e=this.$("input").get(0);this.$(e.parentElement).addClass("o-form-read-mode"),this.$(":checkbox").prop("disabled",!0)}return("openid"===this.options.name||this.options.options.isCustomized)&&(this.$("label > b").addClass("no-translate"),this.options.options.isCustomized&&this.$("label > p").addClass("no-translate")),this}});t.default=s,e.exports=t.default},9655:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}n(3506);var s=i.View.extend({className:"scope-item",template:o.default.template({1:function(e,t,n,r,o){return'<span class="scope-item-tooltip icon form-help-16"></span>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c="function",f=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="'+f(a(s=null!=(s=d(n,"classNames")||(null!=t?d(t,"classNames"):t))?s:u)===c?s.call(l,{name:"classNames",hash:{},data:o,loc:{start:{line:1,column:12},end:{line:1,column:26}}}):s)+'"><p>'+f(a(s=null!=(s=d(n,"name")||(null!=t?d(t,"name"):t))?s:u)===c?s.call(l,{name:"name",hash:{},data:o,loc:{start:{line:1,column:31},end:{line:1,column:39}}}):s)+"</p></div>"+(null!=(i=d(n,"if").call(l,null!=t?d(t,"description"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:49},end:{line:1,column:133}}}))?i:"")},useData:!0}),getTemplateData:function(){var e=this.options,t=e.name,n=e.description,r=e.isCustomized,o="scope-item-text";return{classNames:"openid"===t||r?"".concat(o," no-translate"):o,name:t,description:n}},postRender:function(){this.$(".scope-item-tooltip").qtip({content:{text:i._.escape(this.options.description)},style:{classes:"okta-tooltip qtip-custom qtip-shadow"},position:{my:"bottom right",target:"mouse"}})}});t.default=s,e.exports=t.default},2013:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=(r=n(9655))&&r.__esModule?r:{default:r};var a=o.View.extend({className:"scope-list detail-row",postRender:function(){var e=this;this.model.get("scopes").forEach((function(t){e.add(i.default,{options:{name:t.displayName||t.name,description:t.description,isCustomized:t.isCustomized}})}))}});t.default=a,e.exports=t.default},4098:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(6276)),o=n(2048),i=s(n(9057)),a=s(n(9201));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}var u=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="factor-cardinality">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"cardinalityText")||(null!=t?a(t,"cardinalityText"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"cardinalityText",hash:{},data:o,loc:{start:{line:1,column:33},end:{line:1,column:52}}}):i)+"</span>"},useData:!0}),c=o.View.extend({tagName:"li",className:"enroll-factor-row clearfix",template:r.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"factorDescription")||(null!=t?a(t,"factorDescription"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"factorDescription",hash:{},data:o,loc:{start:{line:1,column:235},end:{line:1,column:256}}}):i)+"</p>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c="function",f=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="enroll-factor-icon-container"><div class="factor-icon enroll-factor-icon '+f(l(a=null!=(a=d(n,"iconClassName")||(null!=t?d(t,"iconClassName"):t))?a:u)===c?a.call(s,{name:"iconClassName",hash:{},data:o,loc:{start:{line:1,column:85},end:{line:1,column:102}}}):a)+'"></div></div><div class="enroll-factor-description"><h3 class="enroll-factor-label">'+f(l(a=null!=(a=d(n,"factorLabel")||(null!=t?d(t,"factorLabel"):t))?a:u)===c?a.call(s,{name:"factorLabel",hash:{},data:o,loc:{start:{line:1,column:187},end:{line:1,column:202}}}):a)+"</h3>"+(null!=(i=d(n,"if").call(s,null!=t?d(t,"factorDescription"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:207},end:{line:1,column:267}}}))?i:"")+'<div class="enroll-factor-button"></div></div>'},useData:!0}),attributes:function(){return{"data-se":this.model.get("factorName")}},children:function(){var e=[],t=this.model.get("enrolled"),n=this.model.get("required"),r=this.model.get("cardinality");if(this.options.showInlineSetupButton)return[[(0,o.createButton)({className:"button",title:this.getSetupButtonText(),click:function(){this.options.appState.trigger("navigate",a.default.createEnrollFactorUrl(this.model.get("provider"),this.model.get("factorType")))}}),".enroll-factor-button"]];t?e.push(['<span class="icon success-16-green"></span>',".enroll-factor-label"]):n&&e.push(['<span class="icon success-16-gray"></span>',".enroll-factor-label"]);var s=i.default.getCardinalityText(t,n,r);return s&&e.push([u({cardinalityText:s}),".enroll-factor-description"]),e},minimize:function(){this.$el.addClass("enroll-factor-row-min")},maximize:function(){this.$el.removeClass("enroll-factor-row-min")},getSetupButtonText:function(){return this.model.get("additionalEnrollment")?(0,o.loc)("enroll.choices.setup.another","login"):(0,o.loc)("enroll.choices.setup","login")}}),f=o.ListView.extend({className:"enroll-factor-list",item:c,itemSelector:".list-content",template:r.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h3 class="list-title">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"listTitle")||(null!=t?a(t,"listTitle"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"listTitle",hash:{},data:o,loc:{start:{line:1,column:40},end:{line:1,column:53}}}):i)+"</h3>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"listTitle"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:65}}}))?i:"")+'<ul class="list-content"></ul>'},useData:!0}),getTemplateData:function(){var e=o.ListView.prototype.getTemplateData.call(this);return o._.extend(e,this),e},postRender:function(){this.options.minimize&&this.invoke("minimize")}});t.default=f,e.exports=t.default},2702:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r};var i=n(2048).View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link goto js-skip" data-se="skip-link">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"enroll.choices.setup.skip"},data:o,loc:{start:{line:1,column:58},end:{line:1,column:114}}}))+"</a>"},useData:!0}),className:"auth-footer clearfix",events:{"click .js-skip":function(e){e.preventDefault(),this.model.doTransaction((function(e){return e.skip()}))}}});t.default=i,e.exports=t.default},1150:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=(r=n(4098))&&r.__esModule?r:{default:r};var a=i.default.extend({listTitle:o._.partial(o.loc,"enroll.choices.list.setup","login"),className:function(){return i.default.prototype.className+" enroll-required-factor-list"},postRender:function(){var e;i.default.prototype.postRender.apply(this,arguments),e=this.options.appState.get("factors").getFirstUnenrolledRequiredFactor(),this.find((function(t){return t.model===e})).maximize()}});t.default=a,e.exports=t.default},54:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(6276)),o=n(2048),i=s(n(9057)),a=s(n(9201));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}var u=o.View.extend({className:"scan-instructions clearfix",template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,u="function",c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="scan-instructions-details-wrapper"><div class="scan-instructions-details"><p>'+c(l(i=null!=(i=f(n,"instructions")||(null!=t?f(t,"instructions"):t))?i:s)===u?i.call(a,{name:"instructions",hash:{},data:o,loc:{start:{line:1,column:89},end:{line:1,column:105}}}):i)+'</p></div></div><div class="scan-instructions-qrcode-wrapper"><div class="qrcode-wrap"><img data-se="qrcode" alt="'+c(l(i=null!=(i=f(n,"altQRCode")||(null!=t?f(t,"altQRCode"):t))?i:s)===u?i.call(a,{name:"altQRCode",hash:{},data:o,loc:{start:{line:1,column:219},end:{line:1,column:232}}}):i)+'" class="qrcode-image" src="'+c(l(i=null!=(i=f(n,"qrcode")||(null!=t?f(t,"qrcode"):t))?i:s)===u?i.call(a,{name:"qrcode",hash:{},data:o,loc:{start:{line:1,column:260},end:{line:1,column:270}}}):i)+'"><div data-se="qrcode-success" class="qrcode-success"></div><div data-se="qrcode-error" class="qrcode-error"></div></div><a href="#" data-type="manual-setup" data-se="manual-setup" class="link manual-setup" aria-label="'+c((f(n,"i18n")||t&&f(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.totp.aria.cannotScan"},data:o,loc:{start:{line:1,column:490},end:{line:1,column:549}}}))+'">'+c((f(n,"i18n")||t&&f(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.totp.cannotScan"},data:o,loc:{start:{line:1,column:551},end:{line:1,column:604}}}))+'</a><a href="#" data-type="refresh-qrcode" data-se="refresh-qrcode" class="link refresh-qrcode">'+c((f(n,"i18n")||t&&f(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.totp.refreshBarcode"},data:o,loc:{start:{line:1,column:700},end:{line:1,column:757}}}))+"</a></div>"},useData:!0}),events:{'click [data-type="manual-setup"]':function(e){var t=this;e.preventDefault();var n=a.default.createActivateFactorUrl(this.model.get("__provider__"),this.model.get("__factorType__"),"manual");"push"===this.model.get("__factorType__")?this.model.doTransaction((function(e){return e.prev().then((function(e){return o._.findWhere(e.factors,{factorType:"push",provider:"OKTA"}).enroll()}))})).then((function(){t.options.appState.trigger("navigate",n)})):this.options.appState.trigger("navigate",n)},'click [data-type="refresh-qrcode"]':function(e){e.preventDefault(),this.model.trigger("errors:clear");var t=this;this.model.doTransaction((function(e){return this.appState.get("isWaitingForActivation")?e.poll():e.activate()})).then((function(e){var n=e.data;"MFA_ENROLL_ACTIVATE"!==n.status&&"FACTOR_ENROLL_ACTIVATE"!==n.status||"WAITING"!==n.factorResult||o._.defer(o._.bind(t.render,t))}))}},initialize:function(){this.listenTo(this.options.appState,"change:lastAuthResponse",(function(){this.options.appState.get("isMfaEnrollActivate")?this.$el.toggleClass("qrcode-expired",!this.options.appState.get("isWaitingForActivation")):this.options.appState.get("isSuccessResponse")&&this.$el.addClass("qrcode-success")})),this.listenTo(this.model,"error",(function(){this.options.appState.get("isMfaEnrollActivate")&&this.$el.toggleClass("qrcode-expired",!0)}))},getTemplateData:function(){var e=i.default.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return{instructions:"GOOGLE"===this.model.get("__provider__")?(0,o.loc)("enroll.totp.setupGoogleAuthApp","login",[e]):(0,o.loc)("enroll.totp.setupApp","login",[e]),qrcode:this.options.appState.get("qrcode"),altQRCode:(0,o.loc)("mfa.altQrCode","login")}}});t.default=u,e.exports=t.default},1920:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=l(n(9057)),i=l(n(7651)),a=l(n(7516)),s=l(n(4049));function l(e){return e&&e.__esModule?e:{default:e}}var u={title:function(){var e=o.default.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return(0,r.loc)("enroll.totp.title","login",[e])},subtitle:r._.partial(r.loc,"enroll.totp.enterCode","login"),autoSave:!0,noButtonBar:!0,attributes:{"data-se":"step-sendcode"},formChildren:function(){return[i.default.Input({label:(0,r.loc)("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,explain:a.default.createInputExplain("mfa.challenge.enterCode.tooltip","mfa.challenge.enterCode.placeholder","login"),"explain-top":!0,name:"passCode",input:s.default,type:"tel"}),i.default.Toolbar({noCancelButton:!0,save:(0,r.loc)("oform.verify","login")})]}};t.default=u,e.exports=t.default},2669:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=n(2048),i=a(n(5115));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help js-back" data-se="back-link">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"mfa.backToFactors"},data:o,loc:{start:{line:1,column:58},end:{line:1,column:106}}}))+"</a>"},useData:!0}),className:"auth-footer",events:{"click .js-back":function(e){e.preventDefault(),this.options.appState.trigger("backToFactors"),this.back()}},back:function(){this.state.set("navigateDir",i.default.DIRECTION_BACK),this.options.appState.get("prevLink")?this.model.doTransaction((function(e){return e.prev()})):this.options.appState.trigger("navigate","signin/enroll")}});t.default=s,e.exports=t.default},1652:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=n(2048),i=a(n(5115));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help js-back" data-se="back-link">'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"mfa.backToFactors"},data:o,loc:{start:{line:1,column:58},end:{line:1,column:106}}}))+'</a><a href="#" class="link help goto js-goto" data-se="goto-link">'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"mfa.scanBarcode"},data:o,loc:{start:{line:1,column:173},end:{line:1,column:219}}}))+"</a>"},useData:!0}),className:"auth-footer",events:{"click .js-back":function(e){e.preventDefault(),this.back()},"click .js-goto":function(e){e.preventDefault(),this.model.startTransaction((function(e){return e.tx.resume()}))}},back:function(){this.state.set("navigateDir",i.default.DIRECTION_BACK),this.options.appState.get("prevLink")?this.model.doTransaction((function(e){return e.prev()})):this.options.appState.trigger("navigate","signin/enroll")}});t.default=s,e.exports=t.default},2329:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=n(2048),i=a(n(9201));function a(e){return e&&e.__esModule?e:{default:e}}function s(e){var t=i.default.createActivateFactorUrl(e.get("activatedFactorProvider"),e.get("activatedFactorType"));e.trigger("navigate",t)}var l=o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help js-back" data-se="back-link">'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"mfa.backToFactors"},data:o,loc:{start:{line:1,column:58},end:{line:1,column:106}}}))+'</a><a href="#" class="link help goto js-goto" data-se="goto-link">'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"mfa.scanBarcode"},data:o,loc:{start:{line:1,column:173},end:{line:1,column:219}}}))+"</a>"},useData:!0}),className:"auth-footer",events:{"click .js-back":function(e){e.preventDefault(),this.back()},"click .js-goto":function(e){e.preventDefault();var t=o._.partial(s,this.options.appState);this.options.appState.unset("factorActivationType"),this.model.doTransaction((function(e){return e.prev().then((function(e){return o._.findWhere(e.factors,{factorType:"push",provider:"OKTA"}).enroll()}))})).then(t)}},back:function(){var e=this;e.options.appState.unset("factorActivationType"),e.options.appState.get("prevLink")?this.model.doTransaction((function(e){return e.prev()})).then((function(){e.options.appState.trigger("navigate","signin/enroll")})):e.options.appState.trigger("navigate","signin/enroll")}});t.default=l,e.exports=t.default},5157:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var s=i.internal.views.forms.inputs.TextBox.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u="function",c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="okta-form-label-inline o-form-label-inline">'+c(a(i=null!=(i=f(n,"countryCallingCode")||(null!=t?f(t,"countryCallingCode"):t))?i:l)===u?i.call(s,{name:"countryCallingCode",hash:{},data:o,loc:{start:{line:1,column:57},end:{line:1,column:79}}}):i)+'</span><span class="okta-form-input-field input-fix o-form-control"><input type="'+c(a(i=null!=(i=f(n,"type")||(null!=t?f(t,"type"):t))?i:l)===u?i.call(s,{name:"type",hash:{},data:o,loc:{start:{line:1,column:160},end:{line:1,column:168}}}):i)+'" placeholder="'+c(a(i=null!=(i=f(n,"placeholder")||(null!=t?f(t,"placeholder"):t))?i:l)===u?i.call(s,{name:"placeholder",hash:{},data:o,loc:{start:{line:1,column:183},end:{line:1,column:198}}}):i)+'" name="'+c(a(i=null!=(i=f(n,"name")||(null!=t?f(t,"name"):t))?i:l)===u?i.call(s,{name:"name",hash:{},data:o,loc:{start:{line:1,column:206},end:{line:1,column:214}}}):i)+'" id="'+c(a(i=null!=(i=f(n,"inputId")||(null!=t?f(t,"inputId"):t))?i:l)===u?i.call(s,{name:"inputId",hash:{},data:o,loc:{start:{line:1,column:220},end:{line:1,column:231}}}):i)+'" value="'+c(a(i=null!=(i=f(n,"value")||(null!=t?f(t,"value"):t))?i:l)===u?i.call(s,{name:"value",hash:{},data:o,loc:{start:{line:1,column:240},end:{line:1,column:249}}}):i)+'" autocomplete="tel"></span>'},useData:!0}),initialize:function(){this.listenTo(this.model,"change:countryCallingCode",(function(){this.$(".o-form-label-inline").text(this.model.get("countryCallingCode"))}))},preRender:function(){this.options.countryCallingCode=this.model.get("countryCallingCode")},postRender:function(){var e=this;this.$el.removeClass("input-fix o-form-control"),i._.defer((function(){e.$el.parent().addClass("o-form-input-group")}))}});t.default=s,e.exports=t.default},1766:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(6276)),o=n(2048),i=s(n(2384)),a=s(n(2937));function s(e){return e&&e.__esModule?e:{default:e}}var l=o.Form.extend({layout:"o-form-theme",autoSave:!0,noCancelButton:!0,title:function(){return(0,o.loc)("registration.form.title","login")},save:function(){return(0,o.loc)("registration.form.submit","login")},initialize:function(e){var t=this;this.options=e||{},this.schema=new i.default({profileSchemaAttributes:this.options.appState.get("policy").registration.profile}),this.schema.properties.each((function(e){var n=a.default.createInputOptions(e);t.addInput(n)}));var n=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="required-fields-label">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"label")||(null!=t?a(t,"label"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:o,loc:{start:{line:1,column:36},end:{line:1,column:45}}}):i)+"</span>"},useData:!0})({label:(0,o.loc)("registration.required.fields.label","login")});this.add(n)}});t.default=l,e.exports=t.default},1952:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=n(2048),i=a(n(5115));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.internal.util.Util,l=o.View.extend({template:r.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help js-skip" data-se="skip-link">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"password.expiring.later"},data:o,loc:{start:{line:1,column:78},end:{line:1,column:132}}}))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"passwordWarn"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:143}}}))?i:"")+'<a href="#" class="link help goto js-signout" data-se="signout-link">'+e.escapeExpression((s(n,"i18n")||t&&s(t,"i18n")||e.hooks.helperMissing).call(a,{name:"i18n",hash:{bundle:"login",code:"signout"},data:o,loc:{start:{line:1,column:212},end:{line:1,column:250}}}))+"</a>"},useData:!0}),className:"auth-footer clearfix",events:{"click .js-signout":function(e){e.preventDefault();var t=this,n=t.settings.getAuthClient();this.model.doTransaction((function(e){return e.cancel()})).then((function(){return n.session.exists()})).then((function(e){if(e)return n.closeSession().catch((function(){}))})).then((function(){t.settings.get("backToSignInUri")?s.redirect(t.settings.get("backToSignInUri")):(t.state.set("navigateDir",i.default.DIRECTION_BACK),t.options.appState.trigger("navigate",""))}))},"click .js-skip":function(e){e.preventDefault(),this.model.doTransaction((function(e){return e.skip()}))}},getTemplateData:function(){return{passwordWarn:this.options.appState.get("isPwdExpiringSoon")}}});t.default=l,e.exports=t.default},3776:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=a(n(8177)),i=a(n(5115));function a(e){return e&&e.__esModule?e:{default:e}}var s=r.Form.extend({layout:"o-form-theme",className:"factor-verify-magiclink",autoSave:!0,noCancelButton:!0,initialize:function(){var e=this;this.title=this.model.get("factorLabel");var t=this.model.get("email")||this.options.appState.get("lastAuthResponse")._embedded.user.profile.login;this.subtitle="("+t+")",this.add((0,r.createButton)({attributes:{"data-se":"email-send-code"},className:"button email-request-button",title:(0,r.loc)("mfa.sendEmail","login"),click:function(){var t=this;e.clearErrors(),this.disable(),this.options.title=(0,r.loc)("mfa.sent","login"),this.render(),this.model.save().then((function(){return o.default.delay(i.default.API_RATE_LIMIT)})).then((function(){t.options.title=(0,r.loc)("mfa.resendEmail","login"),t.enable(),t.render()}))}}))}});t.default=s,e.exports=t.default},7491:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048);var i=((r=n(9862))&&r.__esModule?r:{default:r}).default.extend({className:"idp-discovery-form",save:function(){return(0,o.loc)("oform.next","login")},saveId:"idp-discovery-submit",initialize:function(){this.listenTo(this,"save",o._.bind(this.model.save,this.model)),this.stateEnableChange()},inputs:function(){var e=[],t={className:"margin-btm-30",label:(0,o.loc)("primaryauth.username.placeholder","login"),inputId:"idp-discovery-username",disabled:!1};return e.push(o._.extend(this.getUsernameField(),t)),this.settings.get("features.rememberMe")&&e.push(this.getRemeberMeCheckbox()),e},focus:function(){this.model.get("username")?this.getInputs().toArray()[1]&&this.getInputs().toArray()[1].focus():this.getInputs().first().focus()}});t.default=i,e.exports=t.default},3739:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048);var a=o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="icon error-24"></span><h4><strong>'+(null!=(i="function"==typeof(a=null!=(a=s(n,"message")||(null!=t?s(t,"message"):t))?a:e.hooks.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"message",hash:{},data:o,loc:{start:{line:1,column:47},end:{line:1,column:60}}}):a)?i:"")+"</strong></h4>"},useData:!0}),s=i.View.extend({template:a,className:"okta-infobox-error infobox infobox-error infobox-md margin-btm-25",attributes:{"data-se":"o-form-error-html"},message:"",initialize:function(e){e&&e.message&&(this.message=e.message)},getTemplateData:function(){return{message:this.message}}});t.default=s,e.exports=t.default},2521:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=(r=n(4049))&&r.__esModule?r:{default:r};var a=o.Form.extend({autoSave:!0,noButtonBar:!0,scrollOnError:!1,layout:"o-form-theme",className:"mfa-verify-totp-inline",attributes:{"data-se":"factor-inline-totp"},initialize:function(){var e=this;this.listenTo(this.model,"error",(function(){this.clearErrors()})),this.add((0,o.createButton)({className:"link",attributes:{"data-se":"inline-totp-add"},title:(0,o.loc)("mfa.challenge.orEnterCode","login"),click:function(){this.remove(),function(e){e.addDivider(),e.addInput({label:(0,o.loc)("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top inline-input auth-passcode",name:"answer",input:i.default,type:"tel"}),e.add((0,o.createButton)({attributes:{"data-se":"inline-totp-verify"},className:"button inline-totp-verify margin-top-30",title:(0,o.loc)("mfa.challenge.verify","login"),click:function(){e.clearErrors(),e.isValid()&&e.model.manageTransaction((function(t,n){if("MFA_CHALLENGE"===t.status&&t.prev)return e.options.appState.set("trapMfaRequiredResponse",!0),t.prev().then((function(t){n(t),e.model.save()}));e.model.save()}))}})),e.at(1).focus()}(e)}}))}});t.default=a,e.exports=t.default},5182:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r};var i=n(2048).View.extend({className:"number-challenge-view",template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p data-se="number-challenge-instruction">'+(null!=(i=(c(n,"i18n")||t&&c(t,"i18n")||l).call(s,{name:"i18n",hash:{arguments:"number",bundle:"login",code:"oktaverify.numberchallenge.instruction"},data:o,loc:{start:{line:1,column:42},end:{line:1,column:132}}}))?i:"")+'</p><div class="phone"><div class="phone--body"><div class="phone--screen"><span class="phone--number" data-se="challenge-number">'+u("function"==typeof(a=null!=(a=c(n,"number")||(null!=t?c(t,"number"):t))?a:l)?a.call(s,{name:"number",hash:{},data:o,loc:{start:{line:1,column:262},end:{line:1,column:272}}}):a)+'</span></div><div class="phone--home-button"></div></div></div><p>'+u((c(n,"i18n")||t&&c(t,"i18n")||l).call(s,{name:"i18n",hash:{bundle:"login",code:"oktaverify.numberchallenge.explain"},data:o,loc:{start:{line:1,column:338},end:{line:1,column:403}}}))+"</p>"},useData:!0}),initialize:function(){var e=this;this.listenTo(this.options.appState,"change:isWaitingForNumberChallenge",(function(){"SUCCESS"!==e.options.appState.get("lastAuthResponse").status&&e.render()}))},getTemplateData:function(){var e=this.options.appState.get("lastAuthResponse");return this.options.appState.get("isWaitingForNumberChallenge")?{number:e._embedded.factor._embedded.challenge.correctAnswer}:{number:null}}});t.default=i,e.exports=t.default},4376:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(6276)),o=n(2048),i=l(n(8177)),a=l(n(5115)),s=l(n(4049));function l(e){return e&&e.__esModule?e:{default:e}}var u=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"("+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"subtitle")||(null!=t?a(t,"subtitle"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"subtitle",hash:{},data:o,loc:{start:{line:1,column:1},end:{line:1,column:13}}}):i)+")"},useData:!0}),c=o.View.extend({className:"okta-form-infobox-warning infobox infobox-warning login-timeout-warning",attributes:{"aria-live":"polite"},template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="icon warning-16"></span><p>'+(null!=(i="function"==typeof(a=null!=(a=s(n,"warning")||(null!=t?s(t,"warning"):t))?a:e.hooks.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"warning",hash:{},data:o,loc:{start:{line:1,column:40},end:{line:1,column:53}}}):a)?i:"")+"</p>"},useData:!0})});function f(e){switch(e){case"sms":return{buttonDataSe:"sms-send-code",buttonClassName:"sms-request-button",formSubmit:(0,o.loc)("mfa.sendCode","login"),formRetry:(0,o.loc)("mfa.resendCode","login"),formSubmitted:(0,o.loc)("mfa.sent","login"),subtitle:u({subtitle:this.model.get("phoneNumber")}),warning:(0,o.loc)("factor.sms.time.warning","login")};case"call":return{buttonDataSe:"make-call",buttonClassName:"call-request-button",formSubmit:(0,o.loc)("mfa.call","login"),formRetry:(0,o.loc)("mfa.redial","login"),formSubmitted:(0,o.loc)("mfa.calling","login"),subtitle:u({subtitle:this.model.get("phoneNumber")}),warning:(0,o.loc)("factor.call.time.warning","login")};case"email":return{buttonDataSe:"email-send-code",buttonClassName:"email-request-button",formSubmit:(0,o.loc)("mfa.sendEmail","login"),formRetry:(0,o.loc)("mfa.resendEmail","login"),formSubmitted:(0,o.loc)("mfa.sent","login"),subtitle:u({subtitle:this.model.get("email")})};default:return{buttonDataSe:"",buttonClassName:"",formSubmit:"",formRetry:"",formSubmitted:""}}}var d=o.Form.extend({className:"mfa-verify-passcode",autoSave:!0,noCancelButton:!0,save:o._.partial(o.loc,"mfa.challenge.verify","login"),scrollOnError:!1,layout:"o-form-theme",disableSubmitButton:function(){return this.model.appState.get("isMfaChallenge")&&this.model.get("answer")},showWarning:function(e){this.clearWarnings(),this.add(c,".o-form-error-container",{options:{warning:e}})},clearWarnings:function(){this.$(".okta-form-infobox-warning").remove()},initialize:function(){var e=this;this.title=this.model.get("factorLabel");var t=this.model.get("factorType"),n=f.call(this,t),r=n.warning;this.$el.attr("data-se","factor-"+t),this.subtitle=n.subtitle,this.listenTo(this.model,"error",(function(){this.clearErrors()})),this.addInput({label:(0,o.loc)("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"answer",input:s.default,type:"tel"}),this.add((0,o.createButton)({attributes:{"data-se":n.buttonDataSe},className:"button "+n.buttonClassName,title:n.formSubmit,click:function(){var o=this;e.clearErrors(),this.disable(),e.clearWarnings(),this.options.title=n.formSubmitted,this.render(),this.model.set("answer",""),this.model.save().then((function(){return e.getInputs().first().render().focus(),i.default.delay(a.default.API_RATE_LIMIT)})).then((function(){o.options.title=n.formRetry,o.enable(),"call"!==t&&"sms"!==t||e.showWarning(r),o.render()}))}})),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"})}});t.default=d,e.exports=t.default},4729:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=r.Form.extend({className:"mfa-verify-password",autoSave:!0,noCancelButton:!0,save:r._.partial(r.loc,"mfa.challenge.verify","login"),scrollOnError:!1,layout:"o-form-theme",attributes:{"data-se":"factor-password"},initialize:function(){this.title=this.model.get("factorLabel"),this.addInput({label:(0,r.loc)("mfa.challenge.password.placeholder","login"),"label-top":!0,className:"auth-passcode",name:"password",type:"password",params:{showPasswordToggle:!0}}),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"})}});t.default=o,e.exports=t.default},3190:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(6276)),o=n(2048),i=s(n(7516)),a=s(n(5182));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}var u=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c="function",f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression(l(a=null!=(a=f(n,"factorName")||(null!=t?f(t,"factorName"):t))?a:u)===c?a.call(s,{name:"factorName",hash:{},data:o,loc:{start:{line:1,column:0},end:{line:1,column:14}}}):a)+" ("+(null!=(i=l(a=null!=(a=f(n,"deviceName")||(null!=t?f(t,"deviceName"):t))?a:u)===c?a.call(s,{name:"deviceName",hash:{},data:o,loc:{start:{line:1,column:16},end:{line:1,column:32}}}):a)?i:"")+")"},useData:!0}),c=o.View.extend({className:"okta-form-infobox-warning infobox infobox-warning",attributes:{"aria-live":"polite"},template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="icon warning-16"></span><p>'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"warning")||(null!=t?a(t,"warning"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"warning",hash:{},data:o,loc:{start:{line:1,column:40},end:{line:1,column:51}}}):i)+"</p>"},useData:!0})}),f=o.Form.extend({className:"mfa-verify-push",autoSave:!0,noCancelButton:!0,save:o._.partial(o.loc,"oktaverify.send","login"),scrollOnError:!1,layout:"o-form-theme",attributes:{"data-se":"factor-push"},events:{submit:"submit"},initialize:function(){this.enabled=!0,this.listenTo(this.options.appState,"change:isMfaRejected",this.handleRejectStateChange),this.numberChallengeView=this.add(a.default).last(),this.listenTo(this.options.appState,"change:isWaitingForNumberChallenge",(function(e,t){t||"SUCCESS"===this.options.appState.get("lastAuthResponse").status?(this.clearWarnings(),this.$el.find(".button").hide(),this.numberChallengeView.$el.show()):(this.numberChallengeView.$el.hide(),this.$el.find(".button").show())})),this.listenTo(this.options.appState,"change:isMfaTimeout",(function(e,t){this.setSubmitState(t),t&&this.showError((0,o.loc)("oktaverify.timeout","login"))})),this.listenTo(this.options.appState,"change:isMfaRequired",(function(e,t){t&&(this.clearErrors(),this.clearWarnings())})),this.title=u({factorName:this.model.get("factorLabel"),deviceName:this.model.get("deviceName")})},setSubmitState:function(e){var t=this.$el.find(".button"),n=this.$el.find(".accessibility-text");this.enabled=e,e?(t.removeClass("link-button-disabled"),t.prop("value",(0,o.loc)("oktaverify.send","login")),t.prop("disabled",!1),n&&n.remove()):(t.addClass("link-button-disabled"),t.prop("value",(0,o.loc)("oktaverify.sent","login")),t.prop("disabled",!0),this.add("<span class='accessibility-text' role='alert'>".concat((0,o.loc)("oktaverify.sent","login"),"</span>")))},submit:function(e){void 0!==e&&e.preventDefault(),this.enabled&&(this.setSubmitState(!1),this.doSave())},postRender:function(){var e=this.options.appState.get("factorsPolicyInfo"),t=this.model.get("id");!!(this.settings.get("features.autoPush")&&e&&e[t])&&e[t].autoPushEnabled&&(this.model.set("autoPush",!0),o._.defer(o._.bind(this.submit,this)))},doSave:function(){var e,t=this;this.clearErrors(),this.clearWarnings(),this.model.isValid()&&(this.listenToOnce(this.model,"error",(function(){this.setSubmitState(!0),this.clearWarnings(),clearTimeout(e)})),this.trigger("save",this.model),e=i.default.callAfterTimeout((function(){t.options.appState.get("isWaitingForNumberChallenge")||t.showWarning((0,o.loc)("oktaverify.warning","login"))}),3e4))},showError:function(e){this.clearWarnings(),this.model.trigger("error",this.model,{responseJSON:{errorSummary:e}})},showWarning:function(e){this.clearWarnings(),this.add(c,".o-form-error-container",{options:{warning:e}})},clearWarnings:function(){this.$(".okta-form-infobox-warning").remove()},handleRejectStateChange:function(e,t){t&&(this.setSubmitState(t),this.setRejectedErrorMessage())},setRejectedErrorMessage:function(){"OKTA_VERIFY_UPGRADE_REQUIRED"===this.options.appState.get("lastAuthResponse").factorResultMessage?"IOS"===this.options.appState.get("factor").profile.platform?this.showError((0,o.loc)("oktaverify.rejected.upgradeRequired.ios","login")):this.showError((0,o.loc)("oktaverify.rejected.upgradeRequired.android","login")):this.showError((0,o.loc)("oktaverify.rejected","login"))}});t.default=f,e.exports=t.default},8873:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=r.Form.extend({className:"mfa-verify-question",autoSave:!0,noCancelButton:!0,save:r._.partial(r.loc,"mfa.challenge.verify","login"),scrollOnError:!1,layout:"o-form-theme",attributes:{"data-se":"factor-question"},initialize:function(){this.title=this.model.get("factorLabel"),this.addInput({label:this.model.get("securityQuestion"),"label-top":!0,placeholder:(0,r.loc)("mfa.challenge.answer.placeholder","login"),className:"auth-passcode",name:"answer",type:"password",params:{showPasswordToggle:!0}}),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"})}});t.default=o,e.exports=t.default},2991:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(6276)),o=n(2048),i=s(n(5501)),a=s(n(4049));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){var e=this.model.get("email");return{factorEmail:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="mask-email">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"email")||(null!=t?a(t,"email"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"email",hash:{},data:o,loc:{start:{line:1,column:25},end:{line:1,column:34}}}):i)+"</span>"},useData:!0})({email:e})}},u=o.Form.extend({layout:"o-form-theme",className:"mfa-verify-email",title:o._.partial(o.loc,"email.mfa.title","login"),noButtonBar:!1,autoSave:!0,noCancelButton:!0,attributes:{"data-se":"factor-email"},save:function(){return this.options.appState.get("isMfaChallenge")?(0,o.loc)("mfa.challenge.verify","login"):(0,o.loc)("email.button.send","login")},events:Object.assign({},o.Form.prototype.events,{submit:function(e){e.preventDefault(),this.handleSubmit()}}),handleSubmit:function(){this.clearErrors(),this.options.appState.get("isMfaChallenge")?this.isValid()&&this.model.save():(this.model.set("answer",""),this.model.save().then(this.renderChallengView.bind(this)))},initialize:function(){o.Form.prototype.initialize.apply(this,arguments),this.add(o.View.extend({attributes:{"data-se":"mfa-send-email-content"},className:"mfa-send-email-content",template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=(a(n,"i18n")||t&&a(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{arguments:"factorEmail",bundle:"login",code:"email.mfa.description"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:78}}}))?i:""},useData:!0}),getTemplateData:l}))},renderChallengView:function(){this.removeChildren(),this.add(o.View.extend({className:"mfa-email-sent-content",attributes:{"data-se":"mfa-email-sent-content"},template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=(a(n,"i18n")||t&&a(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{arguments:"factorEmail",bundle:"login",code:"email.mfa.email.sent.description"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:89}}}))?i:""},useData:!0}),getTemplateData:l})),this.add(i.default),this.addInput({label:(0,o.loc)("email.code.label","login"),"label-top":!0,name:"answer",input:a.default,wide:!0,type:"tel"}),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"}),this.render()}}),c=u;t.default=c,e.exports=t.default},6101:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=(r=n(4049))&&r.__esModule?r:{default:r};var a=o.Form.extend({className:"mfa-verify-totp",autoSave:!0,noCancelButton:!0,save:o._.partial(o.loc,"mfa.challenge.verify","login"),scrollOnError:!1,layout:"o-form-theme",attributes:{"data-se":"factor-totp"},initialize:function(){var e=this,t=this.model.get("factorLabel"),n="RSA"===this.model.get("provider")||"DEL_OATH"===this.model.get("provider");this.title=t,this.model.get("isFactorTypeVerification")?this.subtitle=(0,o.loc)("mfa.challenge.totp.subtitle.multiple","login",[t]):this.subtitle=(0,o.loc)("mfa.challenge.title","login",[t]),this.addInput({label:(0,o.loc)("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"answer",input:i.default,type:n?"password":"tel"}),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"}),"RSA"!==this.model.get("provider")&&"DEL_OATH"!==this.model.get("provider")||this.listenTo(this.model,"error",(function(t,n){n&&409===n.status&&(e.$(".auth-passcode input").val(""),e.$(".auth-passcode input").trigger("change"),e.$(".auth-passcode input").focus())}))}});t.default=a,e.exports=t.default},5293:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=(r=n(4049))&&r.__esModule?r:{default:r};var a=o.Form.extend({className:"mfa-verify-yubikey",autoSave:!0,noCancelButton:!0,save:o._.partial(o.loc,"mfa.challenge.verify","login"),scrollOnError:!1,layout:"o-form-theme",attributes:{"data-se":"factor-yubikey"},initialize:function(){var e=this.model.get("factorLabel");this.title=e,this.subtitle=(0,o.loc)("factor.totpHard.yubikey.description","login"),this.addInput({label:(0,o.loc)("factor.totpHard.yubikey.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"answer",input:i.default,inputId:"mfa-answer",type:"password"}),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,className:"margin-btm-0",placeholder:this.options.appState.get("rememberDeviceLabel"),name:"rememberDevice",type:"checkbox"})}});t.default=a,e.exports=t.default},630:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=s(n(9057)),i=s(n(709)),a=s(n(9312));function s(e){return e&&e.__esModule?e:{default:e}}var l=r.internal.views.components.BaseDropDown;(0,r.$)(document).click((function(e){var t=(0,r.$)(e.target);t.closest(".option-selected").length>0&&t.closest(".dropdown").length>0||((0,r.$)(".dropdown .options").hide(),(0,r.$)(".dropdown a.option-selected").attr("aria-expanded",!1))}));var u=l.extend({className:"bg-helper icon-button",screenReaderText:function(){var e,t=this.options.appState.get("factors");return e=(t?o.default.findFactorInFactorsArray(t,this.options.provider,this.options.factorType):new i.default.Model(this.options.appState.get("factor"),this.toJSON())).get("factorLabel"),(0,r.loc)("mfa.factors.dropdown.sr.text","login",[e])},events:{"click a.option-selected":function(e){if(e.preventDefault(),r._.result(this,"disabled"))e.stopPropagation();else{var t=this.$(".options").toggle().is(":visible");this.$("a.option-selected").attr("aria-expanded",t),t&&this.$("#okta-dropdown-options").find("li.factor-option:first a").focus()}},"click .dropdown-disabled":function(e){e.preventDefault(),e.stopPropagation()}},initialize:function(){this.addOption(a.default.getDropdownOption("TITLE"));var e=this.options.appState.get("factors"),t=e.hasMultipleFactorsOfSameType("push");e.each((function(e){"token:software:totp"===e.get("factorType")&&t||(this.addOption(a.default.getDropdownOption(e.get("factorName")),{model:e}),this.listenTo(this.last(),"options:toggle",(function(){this.$(".options").hide(),this.$("a.option-selected").attr("aria-expanded",!1)})))}),this)}});t.default=u,e.exports=t.default},9312:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=n(2048),i=a(n(9201));function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}var l=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c="function",f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression(s(a=null!=(a=f(n,"factorName")||(null!=t?f(t,"factorName"):t))?a:u)===c?a.call(l,{name:"factorName",hash:{},data:o,loc:{start:{line:1,column:0},end:{line:1,column:14}}}):a)+" ("+(null!=(i=s(a=null!=(a=f(n,"deviceName")||(null!=t?f(t,"deviceName"):t))?a:u)===c?a.call(l,{name:"deviceName",hash:{},data:o,loc:{start:{line:1,column:16},end:{line:1,column:32}}}):a)?i:"")+")"},useData:!0}),u=function(e){var t,n=e.get("factorType"),r=this.options.appState.get("factors");r.hasMultipleFactorsOfSameType(n)&&(t=r.getFactorIndex(n,e.get("id")));var o=i.default.createVerifyUrl(e.get("provider"),n,t),a=this;this.options.appState.trigger("factorSwitched"),this.model.manageTransaction((function(e,t){if("FACTOR_CHALLENGE"===e.status&&this.options.appState.set("trapMfaRequiredResponse",!0),"MFA_CHALLENGE"===e.status&&e.prev)return this.options.appState.set("trapMfaRequiredResponse",!0),e.prev().then((function(e){a.trigger("options:toggle"),t(e),a.options.appState.trigger("navigate",o)}));a.trigger("options:toggle"),a.options.appState.trigger("navigate",o)}))},c={TITLE:{title:o._.partial(o.loc,"mfa.factors.dropdown.title","login"),className:"dropdown-list-title",disabled:!0},OKTA_VERIFY:{icon:"factor-icon mfa-okta-verify-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},OKTA_VERIFY_PUSH:{icon:"factor-icon mfa-okta-verify-30",className:"factor-option",title:function(){return l({factorName:this.model.get("factorLabel"),deviceName:this.model.get("deviceName")})},action:function(){u.call(this,this.model)}},GOOGLE_AUTH:{icon:"factor-icon mfa-google-auth-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},CUSTOM_HOTP:{icon:"factor-icon mfa-hotp-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},SYMANTEC_VIP:{icon:"factor-icon mfa-symantec-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},RSA_SECURID:{icon:"factor-icon mfa-rsa-30",className:"factor-option",title:o._.partial(o.loc,"factor.totpHard.rsaSecurId","login"),action:function(){u.call(this,this.model)}},ON_PREM:{icon:"factor-icon mfa-onprem-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},DUO:{icon:"factor-icon mfa-duo-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},DUO_PUSH:{icon:"duo-push-16",className:"suboption factor-option",title:o._.partial(o.loc,"mfa.duoSecurity.push","login",["XXX-XXX-7890"])},DUO_SMS:{icon:"duo-sms-16",className:"suboption factor-option",title:o._.partial(o.loc,"mfa.duoSecurity.sms","login",["XXX-XXX-7890"])},DUO_CALL:{icon:"duo-call-16",className:"suboption factor-option",title:o._.partial(o.loc,"mfa.duoSecurity.call","login",["XXX-XXX-7890"])},YUBIKEY:{icon:"factor-icon mfa-yubikey-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},SMS:{icon:"factor-icon mfa-sms-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},CALL:{icon:"factor-icon mfa-call-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},QUESTION:{icon:"factor-icon mfa-question-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},PASSWORD:{icon:"factor-icon mfa-password-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},WINDOWS_HELLO:{icon:"factor-icon mfa-windows-hello-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},U2F:{icon:"factor-icon mfa-u2f-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},WEBAUTHN:{icon:"factor-icon mfa-webauthn-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},EMAIL:{icon:"factor-icon mfa-email-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},GENERIC_SAML:{icon:"factor-icon mfa-custom-factor-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},GENERIC_OIDC:{icon:"factor-icon mfa-custom-factor-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},CUSTOM_CLAIMS:{icon:"factor-icon mfa-custom-factor-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}}},f={getDropdownOption:function(e){return c[e]}};t.default=f,e.exports=t.default},3329:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=n(2048),i=a(n(2534));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.internal.util.Util,l=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="auth-divider"><span class="auth-divider-text">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"text")||(null!=t?a(t,"text"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"text",hash:{},data:o,loc:{start:{line:1,column:58},end:{line:1,column:66}}}):i)+"</span></div>"},useData:!0}),u=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h2 data-se="o-form-head" class="okta-form-title o-form-head">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"title")||(null!=t?a(t,"title"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:o,loc:{start:{line:1,column:62},end:{line:1,column:71}}}):i)+"</h2>"},useData:!0}),c=o.View.extend({className:"primary-auth-container",children:function(){var e=[],t=this.settings.get("configuredSocialIdps"),n=this.settings.get("piv"),r=this.settings.get("customButtons"),i=l({text:(0,o.loc)("socialauth.divider.text","login")});return this.settings.get("hasPivCard")&&e.push(this._createPivButton(n)),o._.each(t,(function(t){e.push(this._createSocialIdpButton(t))}),this),o._.each(r,(function(t){e.push(this._createCustomButton(t))}),this),this.settings.get("socialAuthPositionTop")?(e.unshift(u({title:(0,o.loc)("primaryauth.title","login")})),e.push(i)):e.unshift(i),e},_createSocialIdpButton:function(e){return(0,o.createButton)({attributes:{"data-se":e.dataAttr},className:e.className,title:function(){return e.text||(0,o.loc)(e.i18nKey)},click:function(t){if(t.preventDefault(),this.settings.get("oauth2Enabled"))i.default.getTokens(this.settings,{idp:e.id},this.options.currentController);else{var n,r=this.settings.get("baseUrl"),a=this.options.appState.get("lastAuthResponse");n=this.options.appState.get("usingDeviceFlow")?o.$.param({stateToken:null==a?void 0:a.stateToken}):o.$.param({fromURI:this.settings.get("relayState")});var l="".concat(r,"/sso/idps/").concat(e.id,"?").concat(n);s.redirect(l)}}})},_createPivButton:function(e){var t=e.className||"";return(0,o.createButton)({attributes:{"data-se":"piv-card-button"},className:t+" piv-button",title:e.text||(0,o.loc)("piv.cac.card","login"),click:function(e){e.preventDefault(),this.options.appState.trigger("navigate","signin/verify/piv")}})},_createCustomButton:function(e){return(0,o.createButton)({attributes:{"data-se":e.dataAttr},className:e.className+" default-custom-button",title:function(){return e.title||(0,o.loc)(e.i18nKey)},click:e.click})}});t.default=c,e.exports=t.default},9862:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2048),i=u(n(6568)),a=u(n(8690)),s=u(n(7516)),l=u(n(4049));function u(e){return e&&e.__esModule?e:{default:e}}function c(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */c=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var i=t&&t.prototype instanceof h?t:h,a=Object.create(i.prototype),s=new T(r||[]);return o(a,"_invoke",{value:k(e,n,s)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=f;var p={};function h(){}function m(){}function v(){}var g={};u(g,a,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(A([])));b&&b!==t&&n.call(b,a)&&(g=b);var _=v.prototype=h.prototype=Object.create(g);function w(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function i(o,a,s,l){var u=d(e[o],e,a);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==r(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){i("next",e,s,l)}),(function(e){i("throw",e,s,l)})):t.resolve(f).then((function(e){c.value=e,s(c)}),(function(e){return i("throw",e,s,l)}))}l(u.arg)}var a;o(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){i(e,n,t,r)}))}return a=a?a.then(r,r):r()}})}function k(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=E(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=d(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function E(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var o=d(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function A(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return m.prototype=v,o(_,"constructor",{value:v,configurable:!0}),o(v,"constructor",{value:m,configurable:!0}),m.displayName=u(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,u(e,l,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},w(O.prototype),u(O.prototype,s,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(f(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(_),u(_,l,"Generator"),u(_,a,(function(){return this})),u(_,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=A,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:A(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}function f(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){f(i,r,o,a,s,"next",e)}function s(e){f(i,r,o,a,s,"throw",e)}a(void 0)}))}}var p=o.Form.extend({className:"primary-auth-form",noCancelButton:!0,attributes:{novalidate:"novalidate"},save:function(){return this.settings.get("features.passwordlessAuth")?(0,o.loc)("oform.next","login"):(0,o.loc)("primaryauth.submit","login")},saveId:"okta-signin-submit",layout:"o-form-theme",title:function(){var e=(0,o.loc)("primaryauth.title","login");return this.settings.get("socialAuthPositionTop")&&(e=""),e},initialize:function(){var e=this.settings.get("features.trackTypingPattern");this.listenTo(this,"save",d(c().mark((function t(){var n,r,o,s;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=this.options.appState,e&&(r=a.default.getTypingPattern(),n.set("typingPattern",r)),o={username:this.model.get("username")},this.settings.get("features.passwordlessAuth")||(o.password=this.model.get("password")),n.trigger("loading",!0),this.state.trigger("togglePrimaryAuthButton",!0),t.next=8,this.settings.processCreds(o);case 8:if(!this.settings.get("features.deviceFingerprinting")){t.next=18;break}return t.prev=9,t.next=12,i.default.generateDeviceFingerprint(this.settings.get("baseUrl"),this.$el);case 12:s=t.sent,n.set("deviceFingerprint",s),t.next=18;break;case 16:t.prev=16,t.t0=t.catch(9);case 18:this.model.save();case 19:case"end":return t.stop()}}),t,this,[[9,16]])})))),this.stateEnableChange(),this.stateUsernameChange()},stateEnableChange:function(){this.listenTo(this.state,"change:enabled",(function(e,t){t?this.enable():this.disable()}))},stateUsernameChange:function(){this.listenTo(this.state,"change:disableUsername",(function(e,t){t?this.$el.find("#okta-signin-username").attr("disabled",!0):this.$el.find("#okta-signin-username").removeAttr("disabled")}))},inputs:function(){var e=[];return e.push(this.getUsernameField()),this.settings.get("features.passwordlessAuth")||e.push(this.getPasswordField()),this.settings.get("features.rememberMe")&&e.push(this.getRemeberMeCheckbox()),e},getUsernameField:function(){var e=this;return{className:"margin-btm-5",label:(0,o.loc)("primaryauth.username.placeholder","login"),"label-top":!0,explain:function(){return!!e.isCustomized("primaryauth.username.tooltip")&&s.default.createInputExplain("primaryauth.username.tooltip","primaryauth.username.placeholder","login")},"explain-top":!0,name:"username",input:l.default,inputId:"okta-signin-username",type:"text",disabled:this.options.appState.get("disableUsername"),autoComplete:"username",render:function(){var e=this;function t(){e.$(this).removeAttr("aria-invalid").off("focusout",t).off("change",t)}this.$("input[name=".concat(this.options.name,"]")).attr({"aria-invalid":"false","aria-required":"true"}).prop({required:!0}).focusout(t).change(t)}}},getPasswordField:function(){var e=this,t={className:"margin-btm-30",label:(0,o.loc)("primaryauth.password.placeholder","login"),"label-top":!0,explain:function(){return!!e.isCustomized("primaryauth.password.tooltip")&&s.default.createInputExplain("primaryauth.password.tooltip","primaryauth.password.placeholder","login")},"explain-top":!0,name:"password",inputId:"okta-signin-password",validateOnlyIfDirty:!0,type:"password",autoComplete:"current-password",render:function(){var e=this;function t(){e.$(this).removeAttr("aria-invalid").off("focusout",t).off("change",t)}this.$("input[name=".concat(this.options.name,"]")).attr({"aria-invalid":"false","aria-required":"true"}).prop({required:!0}).focusout(t).change(t)}};return this.settings.get("features.showPasswordToggleOnSignInPage")&&(t.params={},t.params.showPasswordToggle=!0),t},isCustomized:function(e){var t=this.settings.get("language"),n=this.settings.get("i18n");return!!(n&&n[t]&&n[t][e])},getRemeberMeCheckbox:function(){return{label:!1,placeholder:(0,o.loc)("remember","login"),name:"remember",type:"checkbox","label-top":!0,className:"margin-btm-0",initialize:function(){this.listenTo(this.model,"change:remember",(function(e,t){this.$(":checkbox").prop("checked",t).trigger("updateState")}))}}},focus:function(){this.model.get("username")?this.settings.get("features.passwordlessAuth")||this.getInputs().toArray()[1].focus():this.getInputs().first().focus(),this.settings.get("features.trackTypingPattern")&&a.default.track("okta-signin-username")}});t.default=p,e.exports=t.default},9260:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048);var a=i.View.extend({index:"",message:"",class:function(){},className:function(){return"subschema-unsatisfied subschema-"+this.index},template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="default-schema"><span class="icon icon-16"></span>'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"message")||(null!=t?a(t,"message"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"message",hash:{},data:o,loc:{start:{line:1,column:60},end:{line:1,column:71}}}):i)+"</p>"},useData:!0}),getTemplateData:function(){return{message:this.message}}}),s=i.View.extend({className:"subschema",children:function(){return this.subSchemas.map((function(e,t){var n=e.get("description");return a.extend({index:t,message:n})}))}});t.default=s,e.exports=t.default},8052:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=(r=n(5115))&&r.__esModule?r:{default:r};var a=o.View.extend({tagName:"main",className:"auth-container main-container",id:i.default.WIDGET_CONTAINER_ID,attributes:{"data-se":"auth-container",tabindex:"-1"},initialize:function(e){this.listenTo(e.appState,"change:beaconType",(function(e,t){this.$el.toggleClass("can-remove-beacon","security"===t)}))}});t.default=a,e.exports=t.default},3891:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r};var i=n(2048).View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="infobox"><span class="icon info-16"></span><p>'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{arguments:"helpSupportNumber",bundle:"login",code:"contact.support"},data:o,loc:{start:{line:1,column:58},end:{line:1,column:134}}}))+"</p></div>"},useData:!0}),className:"contact-support",getTemplateData:function(){return this.settings.pick("helpSupportNumber")}});t.default=i,e.exports=t.default},9299:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(6276)),o=n(2048),i=u(n(709)),a=u(n(8177)),s=u(n(9057)),l=u(n(630));function u(e){return e&&e.__esModule?e:{default:e}}var c=o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="beacon-blank auth-beacon"><div class="beacon-blank js-blank-beacon-border auth-beacon-border"></div></div><div class="bg-helper auth-beacon auth-beacon-factor '+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"className")||(null!=t?a(t,"className"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"className",hash:{},data:o,loc:{start:{line:1,column:171},end:{line:1,column:184}}}):i)+'" data-se="factor-beacon"><div class="okta-sign-in-beacon-border auth-beacon-border"></div></div><div data-type="factor-types-dropdown" class="factors-dropdown-wrap"></div>'},useData:!0}),events:{"click .auth-beacon-factor":function(e){e.preventDefault(),e.stopPropagation();var t=this.$(".dropdown .options").toggle().is(":visible");this.$("a.option-selected").attr("aria-expanded",t),t&&this.$("#okta-dropdown-options").find("li.factor-option:first a").focus()}},initialize:function(){this.options.appState.set("beaconType","factor")},getTemplateData:function(){var e=this.options.appState.get("factors");return{className:(e?s.default.findFactorInFactorsArray(e,this.options.provider,this.options.factorType):new i.default.Model(this.options.appState.get("factor"))).get("iconClassName")||""}},postRender:function(){this.options.animate&&this.$(".auth-beacon-factor").fadeIn(200),this.options.appState.get("hasMultipleFactorsAvailable")&&this.add(l.default,'[data-type="factor-types-dropdown"]')},fadeOut:function(){var e=a.default.defer();return this.$(".auth-beacon-factor").fadeOut(200,(function(){e.resolve()})),e.promise},equals:function(e,t){return e&&this instanceof e&&t.provider===this.options.provider&&(t.factorType===this.options.factorType||s.default.isOktaVerify(t.provider,t.factorType)&&s.default.isOktaVerify(this.options.provider,this.options.factorType))}});t.default=c,e.exports=t.default},2881:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var s=i.internal.util.Util,l=i.View.extend({template:o.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<li><a href="#" data-se="unlock" class="link js-unlock">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"unlockaccount"},data:o,loc:{start:{line:1,column:440},end:{line:1,column:484}}}))+"</a></li>"},3:function(e,t,n,r,o){var i,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c="function",f=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<li><a href="'+f(a(s=null!=(s=d(n,"href")||(null!=t?d(t,"href"):t))?s:u)===c?s.call(l,{name:"href",hash:{},data:o,loc:{start:{line:1,column:539},end:{line:1,column:547}}}):s)+'" class="link js-custom" rel="noopener noreferrer" '+(null!=(i=d(n,"if").call(l,null!=t?d(t,"target"):t,{name:"if",hash:{},fn:e.program(4,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:598},end:{line:1,column:638}}}))?i:"")+">"+f(a(s=null!=(s=d(n,"text")||(null!=t?d(t,"text"):t))?s:u)===c?s.call(l,{name:"text",hash:{},data:o,loc:{start:{line:1,column:639},end:{line:1,column:647}}}):s)+"</a></li>"},4:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'target="'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"target")||(null!=t?a(t,"target"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"target",hash:{},data:o,loc:{start:{line:1,column:620},end:{line:1,column:630}}}):i)+'"'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" data-se="needhelp" aria-expanded="false" aria-controls="help-links-container" class="link help js-help">'+u((c(n,"i18n")||t&&c(t,"i18n")||l).call(s,{name:"i18n",hash:{bundle:"login",code:"needhelp"},data:o,loc:{start:{line:1,column:116},end:{line:1,column:155}}}))+'</a><ul class="help-links js-help-links" id="help-links-container"><li><a href="#" data-se="forgot-password" class="link js-forgot-password">'+u((c(n,"i18n")||t&&c(t,"i18n")||l).call(s,{name:"i18n",hash:{bundle:"login",code:"forgotpassword"},data:o,loc:{start:{line:1,column:296},end:{line:1,column:341}}}))+"</a></li>"+(null!=(i=c(n,"if").call(s,null!=(i=null!=t?c(t,"features"):t)?c(i,"selfServiceUnlock"):i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:350},end:{line:1,column:500}}}))?i:"")+(null!=(i=c(n,"each").call(s,null!=(i=null!=t?c(t,"helpLinks"):t)?c(i,"custom"):i,{name:"each",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:500},end:{line:1,column:665}}}))?i:"")+'<li><a href="'+u("function"==typeof(a=null!=(a=c(n,"helpLinkUrl")||(null!=t?c(t,"helpLinkUrl"):t))?a:l)?a.call(s,{name:"helpLinkUrl",hash:{},data:o,loc:{start:{line:1,column:678},end:{line:1,column:693}}}):a)+'" data-se="help-link" class="link js-help-link" rel="noopener noreferrer" target="_blank">'+u((c(n,"i18n")||t&&c(t,"i18n")||l).call(s,{name:"i18n",hash:{bundle:"login",code:"help"},data:o,loc:{start:{line:1,column:783},end:{line:1,column:818}}}))+"</a></li></ul>"},useData:!0}),className:"auth-footer",initialize:function(){this.listenTo(this.state,"change:enabled",(function(e,t){this.$(".link").toggleClass("o-form-disabled",!t)}))},getTemplateData:function(){var e,t=this.settings.get("helpLinks.help");return e=t||o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(i=null!=(i=a(n,"baseUrl")||(null!=t?a(t,"baseUrl"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"baseUrl",hash:{},data:o,loc:{start:{line:1,column:0},end:{line:1,column:11}}}):i)+"/help/login"},useData:!0})({baseUrl:this.settings.get("baseUrl")}),i._.extend(this.settings.toJSON({verbose:!0}),{helpLinkUrl:e})},postRender:function(){this.$(".js-help-links").hide()},toggleLinks:function(e){var t=this;e.preventDefault(),this.$(".js-help-links").slideToggle(200,(function(){t.$(".js-help").attr("aria-expanded",t.$(".js-help-links").is(":visible"))}))},events:{"click .js-help":function(e){e.preventDefault(),this.state.get("enabled")&&this.toggleLinks(e)},"click .js-forgot-password":function(e){if(e.preventDefault(),this.state.get("enabled")){var t=this.settings.get("helpLinks.forgotPassword");t?s.redirect(t):this.options.appState.trigger("navigate","signin/forgot-password")}},"click .js-unlock":function(e){if(e.preventDefault(),this.state.get("enabled")){var t=this.settings.get("helpLinks.unlock");t?s.redirect(t):this.options.appState.trigger("navigate","signin/unlock")}}}});t.default=l,e.exports=t.default},100:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(6276)),o=i(n(9197));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var s=o.default.extend({template:r.default.template({1:function(e,t,n,r,o){var i,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u="function",c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="'+c(a(i=null!=(i=f(n,"factorPageCustomLinkHref")||(null!=t?f(t,"factorPageCustomLinkHref"):t))?i:l)===u?i.call(s,{name:"factorPageCustomLinkHref",hash:{},data:o,loc:{start:{line:1,column:40},end:{line:1,column:68}}}):i)+'" data-se="factor-page-custom-link" class="link js-factor-page-custom-link" rel="noopener noreferrer" target="_blank">'+c(a(i=null!=(i=f(n,"factorPageCustomLinkText")||(null!=t?f(t,"factorPageCustomLinkText"):t))?i:l)===u?i.call(s,{name:"factorPageCustomLinkText",hash:{},data:o,loc:{start:{line:1,column:186},end:{line:1,column:214}}}):i)+"</a>"},3:function(e,t,n,r,o){var i,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u="function",c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link '+c(a(i=null!=(i=f(n,"linkClassName")||(null!=t?f(t,"linkClassName"):t))?i:l)===u?i.call(s,{name:"linkClassName",hash:{},data:o,loc:{start:{line:1,column:265},end:{line:1,column:282}}}):i)+'" data-se="signout-link">'+c(a(i=null!=(i=f(n,"linkText")||(null!=t?f(t,"linkText"):t))?i:l)===u?i.call(s,{name:"linkText",hash:{},data:o,loc:{start:{line:1,column:307},end:{line:1,column:319}}}):i)+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"hasFactorPageCustomLink"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:225}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"showLink"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:225},end:{line:1,column:330}}}))?i:"")},useData:!0}),className:"auth-footer clearfix",getTemplateData:function(){var e=o.default.prototype.getTemplateData.apply(this,arguments),t=this.settings.get("helpLinks.factorPage.href"),n=this.settings.get("helpLinks.factorPage.text"),r=!this.settings.get("features.hideSignOutLinkInMFA")&&!this.settings.get("features.mfaOnlyFlow");return Object.assign({},e,{hasFactorPageCustomLink:n&&t,factorPageCustomLinkHref:t,factorPageCustomLinkText:n,showLink:r})}});t.default=s,e.exports=t.default},7501:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var s=i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u="function",c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="content-container"><span class="registration-label">'+c(a(i=null!=(i=f(n,"label")||(null!=t?f(t,"label"):t))?i:l)===u?i.call(s,{name:"label",hash:{},data:o,loc:{start:{line:1,column:64},end:{line:1,column:73}}}):i)+'</span><a title="'+c(a(i=null!=(i=f(n,"text")||(null!=t?f(t,"text"):t))?i:l)===u?i.call(s,{name:"text",hash:{},data:o,loc:{start:{line:1,column:90},end:{line:1,column:98}}}):i)+'" aria-label="'+c(a(i=null!=(i=f(n,"text")||(null!=t?f(t,"text"):t))?i:l)===u?i.call(s,{name:"text",hash:{},data:o,loc:{start:{line:1,column:112},end:{line:1,column:120}}}):i)+'" class="registration-link" href="#">'+c(a(i=null!=(i=f(n,"text")||(null!=t?f(t,"text"):t))?i:l)===u?i.call(s,{name:"text",hash:{},data:o,loc:{start:{line:1,column:157},end:{line:1,column:165}}}):i)+"</a></div>"},useData:!0}),className:"registration-container",events:{"click a.registration-link":"handleClickEvent"},handleClickEvent:function(e){e.preventDefault();var t=this.settings.get("registration.click");t?t():this.options.appState.get("isIdxStateToken")?this.options.appState.trigger("navigate","signin/enroll-user"):this.options.appState.trigger("navigate","signin/register")},getTemplateData:function(){return{label:(0,i.loc)("registration.signup.label","login"),text:(0,i.loc)("registration.signup.text","login")}}});t.default=s,e.exports=t.default},9197:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=n(2048),i=a(n(5115));function a(e){return e&&e.__esModule?e:{default:e}}function s(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<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==c(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===c(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}var f=o.internal.util.Util,d=o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",u=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link '+u(c(i=null!=(i=f(n,"linkClassName")||(null!=t?f(t,"linkClassName"):t))?i:s)===l?i.call(a,{name:"linkClassName",hash:{},data:o,loc:{start:{line:1,column:24},end:{line:1,column:41}}}):i)+'" data-se="signout-link">'+u(c(i=null!=(i=f(n,"linkText")||(null!=t?f(t,"linkText"):t))?i:s)===l?i.call(a,{name:"linkText",hash:{},data:o,loc:{start:{line:1,column:66},end:{line:1,column:78}}}):i)+"</a>"},useData:!0}),className:"auth-footer clearfix",events:{'click a[data-se="signout-link"]':"handleSignout"},handleSignout:function(e){var t=this;e.preventDefault();var n=this.options.appState;n.trigger("signOut");var r=n.get("isSMSPasswordRecovery");this.model.doTransaction((function(e){return e.cancel().then(p)})).then((function(){t.settings.get("backToSignInUri")&&!r?f.redirect(t.settings.get("backToSignInUri")):(t.state.set("navigateDir",i.default.DIRECTION_BACK),n.trigger("navigate",""))}))},getTemplateData:function(){return{linkClassName:o._.isUndefined(this.options.linkClassName)?"goto":this.options.linkClassName,linkText:this.options.linkText||(0,o.loc)("goback","login")}}});function p(e){return l(l({},e),{},{data:null})}t.default=d,e.exports=t.default},7562:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=n(2048),i=a(n(5115));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help" data-se="back-link">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"goback"},data:o,loc:{start:{line:1,column:50},end:{line:1,column:87}}}))+"</a>"},useData:!0}),className:"auth-footer",events:{"click .help":function(e){e.preventDefault(),this.back()}},back:function(){this.state.set("navigateDir",i.default.DIRECTION_BACK),this.options.appState.trigger("navigate","")}});t.default=s,e.exports=t.default},9607:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=n(2048),i=a(n(5115));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.View.extend({template:r.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help" data-se="back-link">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"goback"},data:o,loc:{start:{line:1,column:66},end:{line:1,column:103}}}))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"showLink"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:114}}}))?i:""},useData:!0}),className:"auth-footer",events:{"click .help":function(e){e.preventDefault(),this.back()}},back:function(){this.state.set("navigateDir",i.default.DIRECTION_BACK),this.options.appState.trigger("navigate","")},getTemplateData:function(){var e=this.model.appState.get("flashError");return{showLink:e.is&&e.is("terminal")}}});t.default=s,e.exports=t.default},8163:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r};var i=n(2048).View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div class="beacon-blank"></div><div class="bg-helper auth-beacon auth-beacon-security" data-se="loading-beacon"><div class="okta-sign-in-beacon-border auth-beacon-border js-auth-beacon-border"></div></div>'},useData:!0}),equals:function(e){return e&&this instanceof e}});t.default=i,e.exports=t.default},2499:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r};var i=n(2048).View.extend({className:"piv-beacon",template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div class="beacon-blank auth-beacon"><div class="beacon-blank js-blank-beacon-border auth-beacon-border"></div></div><div class="bg-helper auth-beacon smartcard" data-se="piv-beacon"><div class="okta-sign-in-beacon-border auth-beacon-border"></div></div>'},useData:!0}),equals:function(e){return e&&this instanceof e}});t.default=i,e.exports=t.default},8592:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=n(2048),i=a(n(9057));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.View.extend({template:r.default.template({1:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="password-requirements--header">'+e.escapeExpression((s(n,"i18n")||t&&s(t,"i18n")||e.hooks.helperMissing).call(a,{name:"i18n",hash:{bundle:"login",code:"password.complexity.requirements.header"},data:o,loc:{start:{line:1,column:63},end:{line:1,column:133}}}))+'</div><ul class="password-requirements--list">'+(null!=(i=s(n,"each").call(a,null!=t?s(t,"requirements"):t,{name:"each",hash:{},fn:e.program(2,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:179},end:{line:1,column:268}}}))?i:"")+"</ul>"},2:function(e,t,n,r,o){return'<li class="password-requirements--list-item">'+e.escapeExpression(e.lambda(t,t))+"</li>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"requirements"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:280}}}))?i:""},useData:!0}),attributes:{"data-se":"password-requirements-html"},allRequirements:[],initialize:function(e){var t=e.policy;t&&(this.allRequirements=i.default.getPasswordComplexityDescriptionForHtmlList(t))},getTemplateData:function(){return{requirements:this.allRequirements}}});t.default=s,e.exports=t.default},9118:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s(n(6276)),i=n(2048),a=s(n(7472));function s(e){return e&&e.__esModule?e:{default:e}}function l(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */l=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var i=t&&t.prototype instanceof h?t:h,a=Object.create(i.prototype),s=new T(r||[]);return o(a,"_invoke",{value:k(e,n,s)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=f;var p={};function h(){}function m(){}function v(){}var g={};c(g,a,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(A([])));b&&b!==t&&n.call(b,a)&&(g=b);var _=v.prototype=h.prototype=Object.create(g);function w(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function i(o,a,s,l){var u=d(e[o],e,a);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==r(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){i("next",e,s,l)}),(function(e){i("throw",e,s,l)})):t.resolve(f).then((function(e){c.value=e,s(c)}),(function(e){return i("throw",e,s,l)}))}l(u.arg)}var a;o(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){i(e,n,t,r)}))}return a=a?a.then(r,r):r()}})}function k(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=E(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=d(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function E(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var o=d(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function A(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return m.prototype=v,o(_,"constructor",{value:v,configurable:!0}),o(v,"constructor",{value:m,configurable:!0}),m.displayName=c(v,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,u,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},w(O.prototype),c(O.prototype,s,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(f(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(_),c(_,u,"Generator"),c(_,a,(function(){return this})),c(_,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=A,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:A(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}function u(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function c(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){u(i,r,o,a,s,"next",e)}function s(e){u(i,r,o,a,s,"throw",e)}a(void 0)}))}}function f(e,t){var n=t.get("securityImage"),r=t.get("securityImageDescription"),o=t.get("isUndefinedUser"),a=t.get("isNewUser"),s=!o&&!a;if(e.css("background-image",""),e.removeClass("new-user undefined-user"),a)e.addClass("new-user");else{if(!o)return s?(e.removeAttr("aria-describedby"),e.find(".accessibility-text").text(r),void e.css("background-image","url("+i._.escape(n)+")")):void 0;e.addClass("undefined-user")}}function d(e,t){(0,i.$)(window).on("resize.securityBeaconQtip",i._.debounce((function(){e.is(":visible")&&e.qtip("show")}),300)),e.qtip({prerender:!0,content:{text:(0,i.loc)("primaryauth.newUser.tooltip","login",[i._.escape(t)]),button:(0,i.loc)("primaryauth.newUser.tooltip.close","login")},style:{classes:"okta-security-image-tooltip security-image-qtip qtip-custom qtip-shadow qtip-rounded",tip:{height:12,width:16}},position:{my:"top center",at:"center",target:(0,i.$)(".auth-beacon-security"),adjust:{method:"flip",scroll:!1,resize:!0},effect:!1},hide:{event:!1,fixed:!0},show:{event:!1,delay:200},events:{move:function(e,t){t.elements.target.is(":visible")||(t.set("hide.effect",!1),t.hide(),t.set("hide.effect",!0))}}}),setTimeout((function(){e.qtip("toggle",e.is(":visible"))}),0)}function p(e){e.qtip("destroy"),(0,i.$)(window).off("resize.securityBeaconQtip")}function h(e,t,n){return m.apply(this,arguments)}function m(){return(m=c(l().mark((function e(t,n,r){var o,i,s,u,c,h,m;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=t.find(".auth-beacon-security"),i=t.find(".js-auth-beacon-border"),s=!n.get("isUndefinedUser"),u=n.get("isNewUser"),c=t.find(".radial-progress-bar"),h=n.get("baseUrl").match(/https?:\/\/(.[^/]+)/)[1],m=200,r){e.next=11;break}return f(o,n),i.toggleClass("auth-beacon-border",s),e.abrupt("return");case 11:if(p(o),s){e.next=16;break}o.fadeOut(m,(function(){f(o,n),i.removeClass("auth-beacon-border"),o.fadeIn(m)})),e.next=21;break;case 16:return i.removeClass("auth-beacon-border"),e.next=19,a.default.radialProgressBar({$el:c,swap:function(){o.fadeOut(m,(function(){f(o,n),o.fadeIn(m)}))}});case 19:i.addClass("auth-beacon-border"),u&&d(o,h);case 21:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var v=i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div class="beacon-blank"><div class="radial-progress-bar"><div class="circle left"></div><div class="circle right"></div></div></div><div aria-live="polite" role="img" class="bg-helper auth-beacon auth-beacon-security" data-se="security-beacon"><span class="accessibility-text"></span><div class="okta-sign-in-beacon-border auth-beacon-border js-auth-beacon-border"></div></div>'},useData:!0}),className:"js-security-beacon",initialize:function(e){this.update=i._.partial(h,this.$el,e.appState),this.listenTo(e.appState,"change:securityImage",this.update),this.listenTo(e.appState,"loading",(function(e){this.$el.toggleClass("beacon-loading",e),this.removeAntiPhishingMessage()})),this.options.appState.set("beaconType","security"),this.listenTo(e.appState,"navigate",this.removeAntiPhishingMessage)},postRender:function(){this.update(!1)},equals:function(e){return e&&this instanceof e},removeAntiPhishingMessage:function(){this.$el.find(".auth-beacon-security").qtip("destroy")}});t.default=v,e.exports=t.default},4941:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=(r=n(5115))&&r.__esModule?r:{default:r};var a=o.View.extend({tagName:"a",className:"skip-to-content-link",attributes:{href:"#".concat(i.default.WIDGET_CONTAINER_ID)},initialize:function(){this.$el.append((0,o.loc)("skip.to.main.content","login"))}});t.default=a,e.exports=t.default},7068:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048).View.extend({className:"okta-waiting-spinner",attributes:{"data-se":"o-form-okta-waiting-spinner"},modelEvents:{"spinner:show":"show","spinner:hide":"hide"},initialize:function(e){e&&!1===e.visible&&this.hide()},show:function(){this.$el.removeClass("hide")},hide:function(){this.$el.addClass("hide")}});t.default=r,e.exports=t.default},4049:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048);n(3506);var o,i=(o=n(5331))&&o.__esModule?o:{default:o};var a=r.internal.views.forms.inputs.TextBox,s=a.extend({postRender:function(){if("number"===this.options.type){var e=this.$("input");e.attr({pattern:"[0-9]*",inputmode:"numeric"})}a.prototype.postRender.apply(this,arguments)},focus:function(){if(!i.default.isIE())return a.prototype.focus.apply(this,arguments)}});t.default=s,e.exports=t.default},9528:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=((r=n(6276))&&r.__esModule?r:{default:r}).default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"clientURI")||(null!=t?a(t,"clientURI"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"clientURI",hash:{},data:o,loc:{start:{line:1,column:26},end:{line:1,column:39}}}):i)+'" class="client-logo-link" target="_blank">'},3:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<img class="client-logo custom-logo" src="'+l("function"==typeof(i=null!=(i=u(n,"customLogo")||(null!=t?u(t,"customLogo"):t))?i:s)?i.call(a,{name:"customLogo",hash:{},data:o,loc:{start:{line:1,column:149},end:{line:1,column:163}}}):i)+'" alt="'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"common.logo.alt"},data:o,loc:{start:{line:1,column:170},end:{line:1,column:216}}}))+'" aria-hidden="true" />'},5:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<img class="client-logo default-logo" src="'+l("function"==typeof(i=null!=(i=u(n,"defaultLogo")||(null!=t?u(t,"defaultLogo"):t))?i:s)?i.call(a,{name:"defaultLogo",hash:{},data:o,loc:{start:{line:1,column:290},end:{line:1,column:305}}}):i)+'" alt="'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"common.logo.alt"},data:o,loc:{start:{line:1,column:312},end:{line:1,column:358}}}))+'" aria-hidden="true" />'},7:function(e,t,n,r,o){return"</a>"},9:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="issuer"><span>'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"issuer")||(null!=t?a(t,"issuer"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"issuer",hash:{},data:o,loc:{start:{line:1,column:566},end:{line:1,column:576}}}):i)+"</span></div>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"clientURI"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:89}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"customLogo"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.program(5,o,0),data:o,loc:{start:{line:1,column:89},end:{line:1,column:388}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"clientURI"):t,{name:"if",hash:{},fn:e.program(7,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:388},end:{line:1,column:416}}}))?i:"")+'<h1><span class="title-text">'+(null!=(i=(s(n,"i18n")||t&&s(t,"i18n")||e.hooks.helperMissing).call(a,{name:"i18n",hash:{arguments:"appName",bundle:"login",code:"consent.required.text"},data:o,loc:{start:{line:1,column:445},end:{line:1,column:519}}}))?i:"")+"</span>"+(null!=(i=s(n,"if").call(a,null!=t?s(t,"issuer"):t,{name:"if",hash:{},fn:e.program(9,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:526},end:{line:1,column:596}}}))?i:"")+"</h1>"},useData:!0});t.default=o,e.exports=t.default},5549:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CONFIGURED_FLOW=void 0;t.CONFIGURED_FLOW={DEFAULT:"default",PROCEED:"proceed",LOGIN:"login",REGISTRATION:"signup",RESET_PASSWORD:"resetPassword",UNLOCK_ACCOUNT:"unlockAccount"}},1649:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleConfiguredFlow=function(e,t){return v.apply(this,arguments)};var r,o=n(2183),i=(r=n(1806))&&r.__esModule?r:{default:r},a=n(4817),s=n(5549);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */u=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function f(e,t,n,o){var i=t&&t.prototype instanceof h?t:h,a=Object.create(i.prototype),s=new T(o||[]);return r(a,"_invoke",{value:k(e,n,s)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=f;var p={};function h(){}function m(){}function v(){}var g={};c(g,i,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(A([])));b&&b!==t&&n.call(b,i)&&(g=b);var _=v.prototype=h.prototype=Object.create(g);function w(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function o(r,i,a,s){var u=d(e[r],e,i);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==l(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,a,s)}),(function(e){o("throw",e,a,s)})):t.resolve(f).then((function(e){c.value=e,a(c)}),(function(e){return o("throw",e,a,s)}))}s(u.arg)}var i;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function k(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=E(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=d(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function E(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var o=d(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function A(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return m.prototype=v,r(_,"constructor",{value:v,configurable:!0}),r(v,"constructor",{value:m,configurable:!0}),m.displayName=c(v,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,s,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},w(O.prototype),c(O.prototype,a,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(f(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(_),c(_,s,"Generator"),c(_,i,(function(){return this})),c(_,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=A,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:A(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}function c(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function f(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){c(i,r,o,a,s,"next",e)}function s(e){c(i,r,o,a,s,"throw",e)}a(void 0)}))}}function d(e,t,n){return p.apply(this,arguments)}function p(){return(p=f(u().mark((function e(t,n,r){var o;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.neededToProceed.find((function(e){return e.name===n}))){e.next=4;break}return i.default.warn("Expected remediation not found, Org may be misconfigured for this flow"),e.abrupt("return",t);case 4:return e.prev=4,e.next=7,t.proceed(n);case 7:return o=e.sent,e.abrupt("return",o);case 11:if(e.prev=11,e.t0=e.catch(4),"string"!=typeof e.t0||!e.t0.startsWith("Unknown remediation choice")){e.next=18;break}return i.default.warn("flow [".concat(r,"] not valid with current Org configurations")),e.abrupt("return",t);case 18:throw e.t0;case 19:case"end":return e.stop()}}),e,null,[[4,11]])})))).apply(this,arguments)}function h(e){return m.apply(this,arguments)}function m(){return m=f(u().mark((function e(t){var n,r=arguments;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=r.length>1&&void 0!==r[1]?r[1]:"default",e.t0=n,e.next=e.t0===s.CONFIGURED_FLOW.DEFAULT||e.t0===s.CONFIGURED_FLOW.PROCEED||e.t0===s.CONFIGURED_FLOW.LOGIN?4:e.t0===s.CONFIGURED_FLOW.REGISTRATION||e.t0===s.CONFIGURED_FLOW.RESET_PASSWORD?5:e.t0===s.CONFIGURED_FLOW.UNLOCK_ACCOUNT?6:9;break;case 4:case 5:return e.abrupt("return",t);case 6:return e.next=8,d(t,a.FORMS.UNLOCK_ACCOUNT,n);case 8:return e.abrupt("return",e.sent);case 9:throw i.default.warn("Unknown `flow` value: ".concat(n)),new o.ConfigError('Invalid "flow" configuration');case 11:case"end":return e.stop()}}),e)}))),m.apply(this,arguments)}function v(){return(v=f(u().mark((function e(t,n){var r,o,i;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.getAuthClient(),o=r.idx.getFlow(),e.next=4,h(t,o);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},9637:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9108);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));var o=n(3178);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=n(1649);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var a=n(5549);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var s=n(1828);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}))},9108:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.interactionCodeFlow=function(e,t){return d.apply(this,arguments)};var r,o=(r=n(5115))&&r.__esModule?r:{default:r},i=n(2183),a=n(9044),s=n(3707);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */u=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function f(e,t,n,o){var i=t&&t.prototype instanceof h?t:h,a=Object.create(i.prototype),s=new T(o||[]);return r(a,"_invoke",{value:k(e,n,s)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=f;var p={};function h(){}function m(){}function v(){}var g={};c(g,i,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(A([])));b&&b!==t&&n.call(b,i)&&(g=b);var _=v.prototype=h.prototype=Object.create(g);function w(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function o(r,i,a,s){var u=d(e[r],e,i);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==l(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,a,s)}),(function(e){o("throw",e,a,s)})):t.resolve(f).then((function(e){c.value=e,a(c)}),(function(e){return o("throw",e,a,s)}))}s(u.arg)}var i;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function k(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=E(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=d(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function E(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var o=d(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function A(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return m.prototype=v,r(_,"constructor",{value:v,configurable:!0}),r(v,"constructor",{value:m,configurable:!0}),m.displayName=c(v,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,s,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},w(O.prototype),c(O.prototype,a,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(f(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(_),c(_,s,"Generator"),c(_,i,(function(){return this})),c(_,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=A,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:A(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}function c(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function f(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){c(i,r,o,a,s,"next",e)}function s(e){c(i,r,o,a,s,"throw",e)}a(void 0)}))}}function d(){return(d=f(u().mark((function e(t,n){var r,l,c,f,d,p,h,m;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.interactionCode,l=t.getAuthClient(),e.next=4,l.idx.getSavedTransactionMeta();case 4:if(c=e.sent,f=l.options.state||(null==c?void 0:c.state),(d="remediation"===t.get("mode"))&&l.idx.clearTransactionMeta(),!("always"===t.get("redirect"))){e.next=16;break}if(p=t.get("redirectUri")){e.next=13;break}throw new i.ConfigError('"redirectUri" is required');case 13:return h=(0,a.toQueryString)({interaction_code:r,state:f}),window.location.assign(p+h),e.abrupt("return");case 16:if(!d){e.next=19;break}return t.callGlobalSuccess(o.default.SUCCESS,{interaction_code:r,state:f}),e.abrupt("return");case 19:if(c){e.next=21;break}throw new i.ConfigError("Could not load transaction data from storage");case 21:return m=c.codeVerifier,e.abrupt("return",l.token.exchangeCodeForTokens({codeVerifier:m,interactionCode:r}).then((function(e){var n=e.tokens;t.callGlobalSuccess(o.default.SUCCESS,{tokens:n})})).catch((function(e){var n=(0,s.getTypedOAuthError)(e);if(n instanceof s.RecoverableError&&n.is("terminal"))throw n;t.callGlobalError(e)})).finally((function(){l.idx.clearTransactionMeta()})));case 23:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},6681:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n="osw-oie-state-handle",r="osw-oie-last-initiated-login-url",o="osw-oie-resend-timestamp",i={removeStateHandle:function(){sessionStorage.removeItem(n),sessionStorage.removeItem(r)},setStateHandle:function(e){sessionStorage.setItem(n,e),sessionStorage.setItem(r,window.location.href)},getStateHandle:function(){return sessionStorage.getItem(n)},getLastInitiatedLoginUrl:function(){return sessionStorage.getItem(r)},removeResendTimestamp:function(){sessionStorage.removeItem(o)},setResendTimestamp:function(e){sessionStorage.setItem(o,e)},getResendTimestamp:function(){return sessionStorage.getItem(o)}};t.default=i,e.exports=t.default},2507:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=n(6589),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return r._.chain(t).filter((function(e){var t;return Array.isArray(null===(t=e.messages)||void 0===t?void 0:t.value)&&e.messages.value.length})).map((function(t){return{property:e?"".concat(e,".").concat(t.name):t.name,errorSummary:t.messages.value.map(o.getMessage),errorKey:t.messages.value.map(o.getMessageKey)}})).value()},a=function(e){var t=[];if(!e.remediation||!Array.isArray(e.remediation.value)||0===e.remediation.value.length)return t;var n=e.remediation.value[0].value;return Array.isArray(n)?(t.push(i(null,n)),r._.each(n,(function(e){var n,o=e.name;Array.isArray(null===(n=e.form)||void 0===n?void 0:n.value)&&t.push(i(o,e.form.value)),Array.isArray(e.options)&&r._.each(e.options,(function(e){var n,r;Array.isArray(null===(n=e.value)||void 0===n||null===(r=n.form)||void 0===r?void 0:r.value)&&t.push(i(o,e.value.form.value))}))})),function(e,t){if(!Array.isArray(e))return[];if(!r._.isFunction(t)||1===e.length)return e;for(var n=[],o=0;o<e.length;o++){for(var i=!1,a=o+1;a<e.length;a++)if(t(e[o],e[a])){i=!0;break}i||n.push(e[o])}return n}(r._.flatten(t),r._.isEqual)):t},s=function(e){var t,n=[];return Array.isArray(null===(t=e.messages)||void 0===t?void 0:t.value)&&(n=e.messages.value.map(o.getMessageKey)),n},l={convertFormErrors:function(e){var t,n,r;return{responseJSON:{errorCauses:a(e),errorSummary:(t=e,r=[],Array.isArray(null===(n=t.messages)||void 0===n?void 0:n.value)&&(r=t.messages.value.map(o.getMessage)),r.join(". ")),errorSummaryKeys:s(e),errorIntent:e.intent}}},isIonErrorResponse:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.version},isIdxSessionExpiredError:function(e){var t,n,r,o,i=null==e||null===(t=e.context)||void 0===t||null===(n=t.messages)||void 0===n||null===(r=n.value[0])||void 0===r||null===(o=r.i18n)||void 0===o?void 0:o.key;return i&&"idx.session.expired"===i}};t.default=l,e.exports=t.default},4817:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TERMINAL_FORMS=t.INTERSTITIAL_REDIRECT_VIEW=t.IDP_FORM_TYPE=t.HINTS=t.FORM_NAME_TO_OPERATION_MAP=t.FORMS_WITH_STATIC_BACK_LINK=t.FORMS_WITHOUT_SIGNOUT=t.FORMS_FOR_VERIFICATION=t.FORMS=t.AUTHENTICATOR_METHODS=t.AUTHENTICATOR_KEY=t.ATTR_FORMAT=t.ACTIONS=void 0;var r,o,i=(r=n(5115))&&r.__esModule?r:{default:r};function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==a(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===a(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l={IDENTIFY:"identify",SELECT_IDENTIFY:"select-identify",IDENTIFY_RECOVERY:"identify-recovery",SELECT_ENROLL_PROFILE:"select-enroll-profile",ENROLL_PROFILE:"enroll-profile",ENROLL_PROFILE_UPDATE:"profile-update",UNLOCK_ACCOUNT:"unlock-account",REQUEST_ACTIVATION:"request-activation-email",CONSENT_ADMIN:"admin-consent",CONSENT_ENDUSER:"consent",CONSENT_GRANULAR:"granular-consent",CONSENT_EMAIL_CHALLENGE:"email-challenge-consent",SELECT_AUTHENTICATOR_AUTHENTICATE:"select-authenticator-authenticate",SELECT_AUTHENTICATOR_UNLOCK:"select-authenticator-unlock-account",AUTHENTICATOR_VERIFICATION_DATA:"authenticator-verification-data",CHALLENGE_AUTHENTICATOR:"challenge-authenticator",CHALLENGE_POLL:"challenge-poll",RESEND:"resend",SELECT_AUTHENTICATOR_ENROLL:"select-authenticator-enroll",SELECT_AUTHENTICATOR_ENROLL_DATA:"select-authenticator-enroll-data",AUTHENTICATOR_ENROLLMENT_DATA:"authenticator-enrollment-data",ENROLL_AUTHENTICATOR:"enroll-authenticator",SELECT_ENROLLMENT_CHANNEL:"select-enrollment-channel",ENROLLMENT_CHANNEL_DATA:"enrollment-channel-data",ENROLL_POLL:"enroll-poll",REENROLL_AUTHENTICATOR:"reenroll-authenticator",REENROLL_AUTHENTICATOR_WARNING:"reenroll-authenticator-warning",REENROLL_CUSTOM_PASSWORD_EXPIRY:"reenroll-custom-password-expiry",RESET_AUTHENTICATOR:"reset-authenticator",SKIP:"skip",POLL:"poll",FAILURE_REDIRECT:"failure-redirect",SUCCESS_REDIRECT:"success-redirect",REDIRECT_IDP:"redirect-idp",PIV_IDP:"piv-idp",DEVICE_CHALLENGE_POLL:"device-challenge-poll",DEVICE_APPLE_SSO_EXTENSION:"device-apple-sso-extension",CANCEL_TRANSACTION:"cancel-transaction",LAUNCH_AUTHENTICATOR:"launch-authenticator",LAUNCH_WEBAUTHN_AUTHENTICATOR:"launch-webauthn-authenticator",ENROLL_WEBAUTHN_RESIDENTKEY:"enroll-webauthn-residentkey",DEVICE_ENROLLMENT_TERMINAL:"device-enrollment-terminal",USER_CODE:"user-code",TERMINAL:"terminal"};t.FORMS=l;var u=[l.IDENTIFY,l.SUCCESS_REDIRECT,l.ENROLL_PROFILE,l.DEVICE_ENROLLMENT_TERMINAL,l.CONSENT_ADMIN,l.CONSENT_ENDUSER,l.CONSENT_GRANULAR,l.CONSENT_EMAIL_CHALLENGE,l.USER_CODE];t.FORMS_WITHOUT_SIGNOUT=u;var c=[l.SELECT_AUTHENTICATOR_ENROLL,l.SELECT_AUTHENTICATOR_AUTHENTICATE];t.FORMS_WITH_STATIC_BACK_LINK=c;var f=[l.SELECT_AUTHENTICATOR_AUTHENTICATE,l.CHALLENGE_AUTHENTICATOR,l.CHALLENGE_POLL,l.RESEND];t.FORMS_FOR_VERIFICATION=f;t.AUTHENTICATOR_KEY={EMAIL:"okta_email",PASSWORD:"okta_password",PHONE:"phone_number",WEBAUTHN:"webauthn",SECURITY_QUESTION:"security_question",OV:"okta_verify",GOOGLE_OTP:"google_otp",ON_PREM:"onprem_mfa",RSA:"rsa_token",DUO:"duo",IDP:"external_idp",CUSTOM_OTP:"custom_otp",SYMANTEC_VIP:"symantec_vip",YUBIKEY:"yubikey_token",CUSTOM_APP:"custom_app",SMARTCARD:"smart_card_idp"};t.AUTHENTICATOR_METHODS={PUSH:"push"};var d=(s(o={},l.SELECT_AUTHENTICATOR_UNLOCK,i.default.UNLOCK_ACCOUNT),s(o,l.IDENTIFY,i.default.PRIMARY_AUTH),s(o,l.IDENTIFY_RECOVERY,i.default.FORGOT_PASSWORD),o);t.FORM_NAME_TO_OPERATION_MAP=d;var p={ENROLLED_PASSWORD_RECOVERY_LINK:"currentAuthenticatorEnrollment-recover",ORG_PASSWORD_RECOVERY_LINK:"currentAuthenticator-recover"};t.ACTIONS=p;t.HINTS={CAPTCHA:"captcha"};var h=[l.TERMINAL,l.DEVICE_ENROLLMENT_TERMINAL];t.TERMINAL_FORMS=h;t.IDP_FORM_TYPE={X509:"X509"};t.INTERSTITIAL_REDIRECT_VIEW={DEFAULT:"DEFAULT",NONE:"NONE"};t.ATTR_FORMAT={COUNTRY_CODE:"country-code"}},3927:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getV1ClassName=t.getClassNameMapping=void 0;var r,o,i,a,s,l,u=n(4817);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function f(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==c(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===c(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=(f(l={},u.FORMS.IDENTIFY,(f(r={},u.FORMS.IDENTIFY,"primary-auth"),f(r,u.AUTHENTICATOR_KEY.PASSWORD,"primary-auth"),r)),f(l,u.FORMS.IDENTIFY_RECOVERY,f({},u.FORMS.IDENTIFY_RECOVERY,"forgot-password")),f(l,u.FORMS.ENROLL_PROFILE,f({},u.FORMS.ENROLL_PROFILE,"registration")),f(l,u.FORMS.CHALLENGE_AUTHENTICATOR,(f(o={},u.AUTHENTICATOR_KEY.EMAIL,"mfa-verify-passcode"),f(o,u.AUTHENTICATOR_KEY.PASSWORD,"mfa-verify-password"),f(o,"sms","mfa-verify-passcode"),f(o,"voice","mfa-verify-passcode"),f(o,u.AUTHENTICATOR_KEY.SECURITY_QUESTION,"mfa-verify-question"),f(o,u.AUTHENTICATOR_KEY.WEBAUTHN,"mfa-verify-webauthn"),f(o,u.AUTHENTICATOR_KEY.ON_PREM,"mfa-verify-totp"),f(o,u.AUTHENTICATOR_KEY.RSA,"mfa-verify-totp"),f(o,u.AUTHENTICATOR_KEY.OV,"mfa-verify"),f(o,u.AUTHENTICATOR_KEY.GOOGLE_OTP,"mfa-verify"),f(o,u.AUTHENTICATOR_KEY.DUO,"mfa-verify-duo"),f(o,u.AUTHENTICATOR_KEY.SYMANTEC_VIP,"mfa-verify"),f(o,u.AUTHENTICATOR_KEY.YUBIKEY,"mfa-verify"),f(o,u.AUTHENTICATOR_KEY.CUSTOM_APP,"mfa-verify"),o)),f(l,u.FORMS.CHALLENGE_POLL,(f(i={},u.AUTHENTICATOR_KEY.OV,"mfa-verify"),f(i,u.AUTHENTICATOR_KEY.CUSTOM_APP,"mfa-verify"),i)),f(l,u.FORMS.RESEND_PUSH,(f(a={},u.AUTHENTICATOR_KEY.OV,"mfa-verify"),f(a,u.AUTHENTICATOR_KEY.CUSTOM_APP,"mfa-verify"),a)),f(l,u.FORMS.ENROLL_AUTHENTICATOR,(f(s={},u.AUTHENTICATOR_KEY.EMAIL,"enroll-email"),f(s,u.AUTHENTICATOR_KEY.PASSWORD,"enroll-password"),f(s,"sms","enroll-sms"),f(s,"voice","enroll-call"),f(s,u.AUTHENTICATOR_KEY.SECURITY_QUESTION,"enroll-question"),f(s,u.AUTHENTICATOR_KEY.WEBAUTHN,"enroll-webauthn"),f(s,u.AUTHENTICATOR_KEY.ON_PREM,"enroll-onprem"),f(s,u.AUTHENTICATOR_KEY.RSA,"enroll-rsa"),f(s,u.AUTHENTICATOR_KEY.DUO,"enroll-duo"),f(s,u.AUTHENTICATOR_KEY.SYMANTEC_VIP,"enroll-symantec"),f(s,u.AUTHENTICATOR_KEY.YUBIKEY,"enroll-yubikey"),s)),f(l,u.FORMS.SELECT_AUTHENTICATOR_ENROLL,{"select-authenticator-enroll":"enroll-choices"}),f(l,u.FORMS.SELECT_AUTHENTICATOR_AUTHENTICATE,f({},u.AUTHENTICATOR_KEY.PASSWORD,"forgot-password")),f(l,u.FORMS.REENROLL_AUTHENTICATOR,f({},u.AUTHENTICATOR_KEY.PASSWORD,"password-expired")),f(l,u.FORMS.REENROLL_CUSTOM_PASSWORD_EXPIRY,f({},u.AUTHENTICATOR_KEY.PASSWORD,"custom-password-expired")),f(l,u.FORMS.RESET_AUTHENTICATOR,f({},u.AUTHENTICATOR_KEY.PASSWORD,"forgot-password")),f(l,u.FORMS.CONSENT_ADMIN,f({},u.FORMS.CONSENT_ADMIN,"admin-consent-required")),f(l,u.FORMS.CONSENT_ENDUSER,f({},u.FORMS.CONSENT_ENDUSER,"consent-required")),l),p=function(e,t,n,r){if(r&&e===u.FORMS.IDENTIFY)return"forgot-password";var o=e;return t===u.AUTHENTICATOR_KEY.PHONE?o="".concat(n):t&&(o="".concat(t)),d[e]&&d[e][o]?d[e][o]:null};t.getV1ClassName=p;t.getClassNameMapping=function(e,t,n,r){var o=e;t&&(o=o+"--"+t);var i=p(e,t,n,r),a=[o];return i&&a.push(i),a}},6589:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isCustomizedI18nKey=t.getMessageKey=t.getMessageFromBrowserError=t.getMessage=t.getI18NParams=t.doesI18NKeyExist=t.default=void 0;var r,o=n(2048),i=c(n(938)),a=c(n(1806)),s=n(2423),l=n(4817),u=n(7010);function c(e){return e&&e.__esModule?e:{default:e}}function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}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 p(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==f(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===f(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h="authfactor.webauthn.error",m=["enroll-authenticator.security_question.credentials.questionKey.","challenge-authenticator.security_question.credentials.questionKey."],v=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({"identify.identifier":"primaryauth.username.placeholder","select-authenticator-unlock-account.identifier":"primaryauth.username.placeholder","identify.credentials.passcode":"primaryauth.password.placeholder","identify.rememberMe":"oie.remember","enroll-profile.userProfile.rememberMe":"oie.remember","identify-recovery.identifier":"password.forgot.email.or.username.placeholder","select-authenticator-enroll.authenticator.duo":"factor.duo","select-authenticator-enroll.authenticator.google_otp":"oie.google_authenticator.label","select-authenticator-enroll.authenticator.okta_email":"oie.email.label","select-authenticator-enroll.authenticator.okta_password":"oie.password.label","select-authenticator-enroll.authenticator.okta_verify":"oie.okta_verify.label","select-authenticator-enroll.authenticator.phone_number":"oie.phone.label","select-authenticator-enroll.authenticator.rsa_token":"factor.totpHard.rsaSecurId","select-authenticator-enroll.authenticator.security_question":"oie.security.question.label","select-authenticator-enroll.authenticator.symantec_vip":"factor.totpHard.symantecVip","select-authenticator-enroll.authenticator.webauthn":"oie.webauthn.label","select-authenticator-enroll.authenticator.yubikey_token":"oie.yubikey.label","select-authenticator-authenticate.authenticator.duo":"factor.duo","select-authenticator-authenticate.authenticator.google_otp":"oie.google_authenticator.label","select-authenticator-authenticate.authenticator.okta_email":"oie.email.label","select-authenticator-authenticate.authenticator.okta_password":"oie.password.label","select-authenticator-authenticate.authenticator.okta_verify.push":"oie.okta_verify.push.title","select-authenticator-authenticate.authenticator.okta_verify.signed_nonce":"oie.okta_verify.signed_nonce.label","select-authenticator-authenticate.authenticator.okta_verify.totp":"oie.okta_verify.totp.title","select-authenticator-authenticate.authenticator.phone_number":"oie.phone.label","select-authenticator-authenticate.authenticator.rsa_token":"factor.totpHard.rsaSecurId","select-authenticator-authenticate.authenticator.security_question":"oie.security.question.label","select-authenticator-authenticate.authenticator.symantec_vip":"factor.totpHard.symantecVip","select-authenticator-authenticate.authenticator.webauthn":"oie.webauthn.label","select-authenticator-authenticate.authenticator.yubikey_token":"oie.yubikey.label","select-authenticator-authenticate.authenticator.custom_app":"oie.custom.app.authenticator.title","select-authenticator-unlock-account.authenticator.okta_email":"oie.email.label","select-authenticator-unlock-account.authenticator.phone_number":"oie.phone.label","select-authenticator-unlock-account.authenticator.okta_verify.push":"oie.okta_verify.push.title","authenticator-verification-data.okta_verify.authenticator.methodType.signed_nonce":"oie.okta_verify.signed_nonce.label","authenticator-verification-data.okta_verify.authenticator.methodType.push":"oie.okta_verify.push.title","authenticator-verification-data.okta_verify.authenticator.methodType.totp":"oie.okta_verify.totp.title","authenticator-enrollment-data.phone_number.authenticator.phoneNumber":"mfa.phoneNumber.placeholder","authenticator-enrollment-data.phone_number.authenticator.methodType.sms":"oie.phone.enroll.sms.label","authenticator-enrollment-data.phone_number.authenticator.methodType.voice":"oie.phone.enroll.voice.label","enroll-authenticator.okta_password.credentials.passcode":"oie.password.passwordLabel","enroll-authenticator.okta_email.credentials.passcode":"mfa.challenge.enterCode.placeholder","enroll-authenticator.phone_number.credentials.passcode":"mfa.challenge.enterCode.placeholder","enroll-authenticator.security_question.sub_schema_local_credentials.0":"oie.security.question.questionKey.label","enroll-authenticator.security_question.sub_schema_local_credentials.1":"oie.security.question.createQuestion.label","enroll-authenticator.security_question.credentials.answer":"mfa.challenge.answer.placeholder","enroll-authenticator.security_question.credentials.question":"oie.security.question.createQuestion.label","enroll-authenticator.security_question.credentials.questionKey":"oie.security.question.questionKey.label","enroll-authenticator.google_otp.credentials.passcode":"oie.google_authenticator.otp.enterCodeText","enroll-authenticator.onprem_mfa.credentials.clientData":"enroll.onprem.username.placeholder","enroll-authenticator.onprem_mfa.credentials.passcode":"enroll.onprem.passcode.placeholder","enroll-authenticator.rsa_token.credentials.clientData":"enroll.onprem.username.placeholder","enroll-authenticator.rsa_token.credentials.passcode":"enroll.onprem.passcode.placeholder","enroll-authenticator.symantec_vip.credentials.credentialId":"enroll.symantecVip.credentialId.placeholder","enroll-authenticator.symantec_vip.credentials.passcode":"enroll.symantecVip.passcode1.placeholder","enroll-authenticator.symantec_vip.credentials.nextPasscode":"enroll.symantecVip.passcode2.placeholder","enroll-authenticator.yubikey_token.credentials.passcode":"oie.yubikey.passcode.label","enrollment-channel-data.email":"oie.enroll.okta_verify.channel.email.label","select-enrollment-channel.authenticator.channel.qrcode":"oie.enroll.okta_verify.select.channel.qrcode.label","select-enrollment-channel.authenticator.channel.email":"oie.enroll.okta_verify.select.channel.email.label","select-enrollment-channel.authenticator.channel.sms":"oie.enroll.okta_verify.select.channel.sms.label","challenge-authenticator.okta_email.credentials.passcode":"mfa.challenge.enterCode.placeholder","challenge-authenticator.okta_password.credentials.passcode":"mfa.challenge.password.placeholder","challenge-authenticator.phone_number.credentials.passcode":"mfa.challenge.enterCode.placeholder","challenge-authenticator.security_question.credentials.answer":"mfa.challenge.answer.placeholder","challenge-authenticator.okta_verify.credentials.totp":"oie.okta_verify.totp.enterCodeText","challenge-authenticator.google_otp.credentials.passcode":"oie.google_authenticator.otp.enterCodeText","challenge-authenticator.onprem_mfa.credentials.passcode":"mfa.challenge.enterCode.placeholder","challenge-authenticator.rsa_token.credentials.passcode":"mfa.challenge.enterCode.placeholder","challenge-authenticator.custom_otp.credentials.passcode":"oie.custom_otp.verify.passcode.label","challenge-authenticator.symantec_vip.credentials.passcode":"oie.symantecVip.verify.passcode.label","challenge-authenticator.yubikey_token.credentials.passcode":"oie.yubikey.passcode.label","challenge-authenticator.credentials.passcode":"oie.password.label","reset-authenticator.okta_password.credentials.passcode":"oie.password.newPasswordLabel","reenroll-authenticator.okta_password.credentials.passcode":"oie.password.newPasswordLabel","reenroll-authenticator-warning.okta_password.credentials.passcode":"oie.password.newPasswordLabel",incorrectPassword:"oie.password.incorrect.message","profile-update.userProfile.secondEmail":"oie.user.profile.secondary.email","user-code.userCode":"device.code.activate.label","api.authn.poll.error.push_rejected":"oktaverify.rejected","oie.authenticator.duo.method.duo.verification_timeout":"oie.authenticator.duo.error","oie.authenticator.duo.method.duo.verification_failed":"oie.authenticator.duo.error","idx.email.verification.required":"registration.complete.confirm.text",tooManyRequests:"oie.tooManyRequests","api.users.auth.error.POST_PASSWORD_UPDATE_AUTH_FAILURE":"oie.post.password.update.auth.failure.error","security.access_denied":"errors.E0000006",E0000009:"errors.E0000009","api.factors.error.sms.invalid_phone":"oie.phone.invalid","app.ldap.password.reset.failed":"errors.E0000017","oie.selfservice.unlock_user.challenge.failed.permissions":"errors.E0000006","core.auth.factor.signedNonce.error.invalidEnrollment":"core.auth.factor.signedNonce.error","core.auth.factor.signedNonce.error.invalidFactor":"core.auth.factor.signedNonce.error","core.auth.factor.signedNonce.error.deletedDevice":"core.auth.factor.signedNonce.error","core.auth.factor.signedNonce.error.invalidDeviceStatus":"core.auth.factor.signedNonce.error.invalidDevice","challenge-poll.custom_app.autoChallenge":"autoPush","challenge-poll.okta_verify.autoChallenge":"autoPush","authenticator-verification-data.authenticator.autoChallenge":"autoPush","authenticator-verification-data.okta_verify.authenticator.autoChallenge":"autoPush","authenticator-verification-data.custom_app.authenticator.autoChallenge":"autoPush"},u.I18N_BASE_ATTRIBUTE_ENROLL_PROFILE_MAPPINGS),g=p({},l.FORMS.ENROLL_AUTHENTICATOR,(p(r={},l.AUTHENTICATOR_KEY.ON_PREM,{getParam:s.getAuthenticatorDisplayName}),p(r,l.AUTHENTICATOR_KEY.RSA,{getParam:s.getAuthenticatorDisplayName}),r)),y={"registration.error.invalidLoginEmail":{Email:"Email"},"registration.error.doesNotMatchPattern":{Email:"Email"},"registration.error.notUniqueWithinOrg":{Email:"Email"}},b=function(e,t){var n=[],r=e.name;if(g[r]&&g[r][t]){var o=g[r][t].getParam(e);n.push(o)}return n};t.getI18NParams=b;var _=function(e){var t;return m.forEach((function(n){if(0===e.indexOf(n)){var r=e.replace(n,"");t="security.".concat(r)}})),v[e]&&(t=v[e]),t&&!i.default.login[t]&&(a.default.warn("expect i18n key ".concat(t," for ").concat(e," but not found in 'login' bundle.")),t=null),t};t.doesI18NKeyExist=function(e){return!!i.default.login[e]};var w=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=_(e);return r?(0,o.loc)(r,"login",n):(a.default.warn("Avoid rendering unlocalized text sent from the API: ".concat(t)),t)},O=function e(t,n){var r,i;if(!(!1===n.mutable&&n.name.indexOf("questionKey")<0)){a.default.info("i18n label transformer"),a.default.info("\t remediationName: ",t.name),a.default.info("\t uiSchema: ",JSON.stringify(n));var s=null===(r=t.relatesTo)||void 0===r||null===(i=r.value)||void 0===i?void 0:i.key,u=s?".".concat(t.relatesTo.value.key):"",c="".concat(t.name).concat(u,"."),f="".concat(c).concat(n.name);if("text"===n.type&&n.name.indexOf("questionKey")>=0&&"custom"!==n.value&&(f="".concat(f,".").concat(n.value)),"checkbox"===n.type&&n.placeholder&&(a.default.info("\t 1: ",f),n.placeholder=w(f,n.placeholder)),n.label){a.default.info("\t 2: ",f);var d=b(t,s);n.label=w(f,n.label,d)}o.$.isPlainObject(n.options)&&(n.options=o._.mapObject(n.options,(function(e,t){var n="".concat(f,".").concat(t);return a.default.info("\t 3: ",n),w(n,e)}))),Array.isArray(n.options)&&n.options.forEach((function(e){if(e.label){var t;if(e.authenticatorKey){var n;t="".concat(f,".").concat(e.authenticatorKey);var r=null===(n=e.value)||void 0===n?void 0:n.methodType;e.authenticatorKey===l.AUTHENTICATOR_KEY.OV&&r&&(t="".concat(t,".").concat(r))}else t="string"==typeof e.value||"number"==typeof e.value?"".concat(f,".").concat(e.value):f;a.default.info("\t 4: ",t),e.label=w(t,e.label)}})),Array.isArray(n.optionsUiSchemas)&&n.optionsUiSchemas.forEach((function(n){n.forEach((function(n){return e(t,n)}))}))}},k=function(e){var t;if(null!==(t=e.i18n)&&void 0!==t&&t.key){var n,r,s=e.i18n.key,l=e.i18n.params||[];if(1===l.length&&""===l[0]&&(l=[]),v[null===(n=e.i18n)||void 0===n?void 0:n.key])s=v[null===(r=e.i18n)||void 0===r?void 0:r.key];else if(y[s]){var u,c=null===(u=e.i18n.params)||void 0===u?void 0:u[0];s=function(e,t){var n=e;return y[n][t]?n+=".".concat(t):n+=".custom",n}(s,c),l=s.endsWith("custom")?[c]:[]}if(i.default.login[s])return a.default.info("Override messages using i18n key ".concat(s)),(0,o.loc)(s,"login",l);if(function(e){return e.startsWith(h)}(s))return(0,o.loc)(h,"login")}return a.default.warn("Avoid rendering unlocalized text sent from the API: ".concat(e.message)),e.message};t.getMessage=k;t.getMessageFromBrowserError=function(e){if(e.name){var t="oie.browser.error.".concat(e.name);if(i.default.login[t])return a.default.info("Override messages using i18n key ".concat(t)),(0,o.loc)(t,"login")}return e.message};t.getMessageKey=function(e){var t;return(null==e||null===(t=e.i18n)||void 0===t?void 0:t.key)||""};t.default=function(e){var t;return Array.isArray(e.remediations)&&e.remediations.filter((function(e){return Array.isArray(e.uiSchema)&&e.uiSchema.length})).forEach((function(e){e.uiSchema.forEach((function(t){return O(e,t)}))})),Array.isArray(null===(t=e.messages)||void 0===t?void 0:t.value)&&e.messages.value.forEach((function(e){e.message=k(e)})),e};t.isCustomizedI18nKey=function(e,t){var n=t.get("languageCode"),r=t.get("i18n");return!!(r&&r[n]&&r[n][e])}},2936:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=n(4817);function i(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s=function(e){return r._.isObject(e)},l=function(e){return!!e.messages},u=function(e){var t={};return r._.each(e,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"remediation"!==n&&("array"===e.type&&(t[n]={value:e.value}),"object"===e.type&&(t[n]=e.value))})),t},c=function(e){var t=[],n=1===e.neededToProceed.length&&"skip"===e.neededToProceed[0].name;return(r._.isEmpty(e.neededToProceed)||n)&&(e.context.success?t.push({name:e.context.success.name,href:e.context.success.href,value:[]}):e.context.messages?t.push({name:o.FORMS.TERMINAL,value:[]}):e.context.deviceEnrollment&&t.push({name:o.FORMS.DEVICE_ENROLLMENT_TERMINAL,value:[]})),{remediations:[].concat(t,i(e.neededToProceed))}},f=function(e,t){var n=t.remediations;if(0===n.filter((function(e){return"identify"===e.name})).length)return t;var r=e.get("idps");if(Array.isArray(r)){var i={};n.forEach((function(e){e.name===o.FORMS.REDIRECT_IDP&&e.idp&&(i[e.idp.id]=!0)}));var a=e.get("baseUrl"),s=t.idx.context.stateHandle,l=r.filter((function(e){return!i[e.id]})).map((function(e){var t={id:e.id,name:e.text},n="".concat(a,"/sso/idps/").concat(e.id,"?stateToken=").concat(s);return e.className&&(t.className=e.className),{name:o.FORMS.REDIRECT_IDP,type:e.type,idp:t,href:n}}));t.remediations=n.concat(l)}return t},d=function(e,t,n){if(Array.isArray(t.remediations)){var r=t.remediations.filter((function(e){return e.name===o.FORMS.REDIRECT_IDP}));if(1!==r.length||1!==t.remediations.length)return;if(e.get("oauth2Enabled")&&!n)return;var i={name:o.FORMS.SUCCESS_REDIRECT,href:r[0].href,value:[]};t.remediations=[i]}},p=function(e){Array.isArray(e.remediations)&&e.remediations.forEach((function(t){var n,r;if(t.name===o.FORMS.REDIRECT_IDP&&(null==t||null===(n=t.relatesTo)||void 0===n||null===(r=n.value)||void 0===r?void 0:r.key)===o.AUTHENTICATOR_KEY.IDP){var i=Object.prototype.hasOwnProperty.call(e,"currentAuthenticatorEnrollment");t.name=i?"challenge-authenticator":"enroll-authenticator"}t.name===o.FORMS.REDIRECT_IDP&&t.type===o.IDP_FORM_TYPE.X509&&(t.name=o.FORMS.PIV_IDP)}))},h=function(e){var t=e.idx.context;return t.failure&&"failure-redirect"===t.failure.name},m=function(e,t){var n=t.idx.context,r=e.get("oauth2Enabled"),i="always"===e.get("redirect");if(!r||i){var a={name:o.FORMS.FAILURE_REDIRECT,href:n.failure.href,value:[]};t.remediations=[a]}},v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!s(t.rawIdxState))return null;var r=u(t.rawIdxState),o=c(t),i=Object.assign({},r,o,{idx:t});return l(i)&&h(i)&&m(e,i),f(e,i),p(i),l(i)||d(e,i,n),i};t.default=v,e.exports=t.default},3856:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return r._.compose(a.default,i.default.bind({},e),o.default.bind({},e))(t,n)};var r=n(2048),o=s(n(2936)),i=s(n(5743)),a=s(n(6589));function s(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},1730:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(4817),o=n(2048),i=function(e,t){var n,i,a,s,l,u,c,f,d,p,h;if([r.FORMS.CONSENT_ENDUSER,r.FORMS.CONSENT_ADMIN].includes(t.name)){var m=t.scopes.map((function(e){return{name:e.name,displayName:e.label,description:e.desc}}));return{type:t.name,scopes:m,options:e.options}}return Array.isArray(e.options)&&"radio"===(null===(n=e.options[0])||void 0===n||null===(i=n.value)||void 0===i||null===(a=i.value)||void 0===a?void 0:a.inputType)?(p=(d=e).label,h=d.required,{displayName:p,type:"radio",required:h,options:d.options[0].value.value.options,sublabel:h?null:(0,o.loc)("oie.form.field.optional","login")}):Array.isArray(e.options)&&"checkbox"===(null===(s=e.options[0])||void 0===s||null===(l=s.value)||void 0===l||null===(u=l.value)||void 0===u?void 0:u.inputType)?{placeholder:(f=e).label,label:!1,modelType:f.type,type:"checkbox",required:!0,value:!1}:{placeholder:(c=e).label,label:!1,modelType:c.type,type:"checkbox",required:c.required||!1}};t.default=i,e.exports=t.default},8585:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.createOVOptions=u,t.default=function(e,t,n,r,o){var i={};"authenticator"!==e.name||"select-authenticator-authenticate"!==t.name&&"select-authenticator-unlock-account"!==t.name?"authenticator"===e.name&&"select-authenticator-enroll"===t.name?Object.assign(i,{type:"authenticatorEnrollSelect",options:c(e.options)}):Array.isArray(e.options)&&(i.optionsUiSchemas=e.options.map((function(t){return r(n,{value:[{name:e.name,value:t.value}]},o)})),i.options=e.options.map((function(e,t){return{label:e.label,value:t}})),i.type="radio",i.value="0",i.name="sub_schema_local_".concat(e.name)):Object.assign(i,{type:"authenticatorVerifySelect",options:c(e.options)});return i};var o=n(2048),i=n(4817);function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(){var e,t,n,r,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],l=a.find((function(e){return e.relatesTo.key===i.AUTHENTICATOR_KEY.OV})),u=null==l||null===(e=l.value)||void 0===e||null===(t=e.form)||void 0===t||null===(n=t.value)||void 0===n?void 0:n.find((function(e){return"methodType"===e.name})),c=null==u?void 0:u.options;if(c){var f=[];c.forEach((function(e){var t=s(l.value.form.value),n=l.value.form.value.findIndex((function(e){return"methodType"===e.name})),i=Object.assign(o._.omit(u,"options"),e);i.required=!0,i.mutable=!1,t.splice(n,1,i);var a=Object.assign({},l,{label:e.label,value:{form:{value:t}}});"signed_nonce"===e.value?r=a:f.push(a)}));var d=a.findIndex((function(e){return e.relatesTo.key===i.AUTHENTICATOR_KEY.OV}));a.splice.apply(a,[d,1].concat(f)),r&&(l.relatesTo.deviceKnown?a.unshift(r):a.push(r))}}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return u(e),e.map((function(e){var t,n,r,o=((null===(t=e.value)||void 0===t||null===(n=t.form)||void 0===n?void 0:n.value)||[]).filter((function(e){return!0===e.required&&!1===e.mutable})).reduce((function(e,t){return Object.assign(e,a({},t.name,t.value))}),{});return{label:e.label,value:o,relatesTo:e.relatesTo,authenticatorKey:null===(r=e.relatesTo)||void 0===r?void 0:r.key}}))}},5621:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=n(4817),i=s(n(2646)),a=s(n(7421));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){var t={};return e.forEach((function(e){var n=e.value,r=e.label;t[n]=r})),t},u={type:"select",wide:!0},c=["text","radio","select"],f=function(e,t,n,s,f){var d,p={type:"text"};if(!0===e.secret&&Object.assign(p,function(e){return{type:"password",params:{showPasswordToggle:e.get("showPasswordToggle")}}}(f)),e.hint===o.HINTS.CAPTCHA&&Object.assign(p,{type:"captcha"}),"userProfile.timezone"===e.name&&(Object.assign(p,u),p.options=Object.assign({"":""},a.default)),Array.isArray(e.options)&&e.options[0]&&e.options[0].value){var h=e.options[0];"display"===h.label?function(e,t){var n,r=null==t||null===(n=t.value)||void 0===n?void 0:n.value;e.type=r.inputType,"radio"===r.inputType?e.options=r.options:"select"===r.inputType&&(e.wide=!0,r.format===o.ATTR_FORMAT.COUNTRY_CODE?e.options=Object.assign({"":""},i.default.getCountryCode()):e.options=Object.assign({"":""},l(r.options)))}(p,h):(d=e.name).indexOf("methodType")>=0||d.indexOf("channel")>=0?function(e,t){e.type="radio",t.value=t.options[0].value}(p,e):(p.type="select",p.wide=!0,p.options=l(e.options))}return!1===e.required&&c.includes(p.type)&&(p.sublabel=(0,r.loc)("oie.form.field.optional","login")),p};t.default=f,e.exports=t.default},5743:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=a(n(1730)),i=a(n(8585));function a(e){return e&&e.__esModule?e:{default:e}}var s={string:a(n(5621)).default,boolean:o.default,object:i.default},l=function e(t,n,o){return r._.chain(n.value||[]).filter((function(e){return!1!==e.visible})).map((function(e){var t,n;if(e.form?n=e.form:null!==(t=e.value)&&void 0!==t&&t.form&&(n=e.value.form),n){var r=e.name;return n.value.map((function(e){return Object.assign({},e,{name:r+"."+e.name})}))}return e})).flatten().value().map((function(r){var i={"label-top":!0,multirowError:!0,"data-se":"o-form-fieldset-".concat(r.name)},a=r.type||"string",l=(0,s[a])(r,n,t,e,o);return Object.assign({},r,i,l)}))},u=function(e,t){return t&&(t.remediations=t.remediations.map((function(n){return n.uiSchema=l(t,n,e),n}))),t};t.default=u,e.exports=t.default},3721:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(6276)),o=n(2048),i=n(4817),a=l(n(6282)),s=n(2945);function l(e){return e&&e.__esModule?e:{default:e}}var u=o.View.extend({className:"authenticator-row clearfix",template:r.default.template({1:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="factor-icon authenticator-icon custom-app-logo" role="img" aria-label="'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"oie.auth.logo.aria.label"},data:o,loc:{start:{line:1,column:140},end:{line:1,column:195}}}))+'" style="background-image: url(\''+l("function"==typeof(i=null!=(i=u(n,"logoUri")||(null!=t?u(t,"logoUri"):t))?i:s)?i.call(a,{name:"logoUri",hash:{},data:o,loc:{start:{line:1,column:227},end:{line:1,column:238}}}):i)+"')\"></div>"},3:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="factor-icon authenticator-icon '+l("function"==typeof(i=null!=(i=u(n,"iconClassName")||(null!=t?u(t,"iconClassName"):t))?i:s)?i.call(a,{name:"iconClassName",hash:{},data:o,loc:{start:{line:1,column:299},end:{line:1,column:316}}}):i)+'" role="img" aria-label="'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"oie.auth.logo.aria.label"},data:o,loc:{start:{line:1,column:341},end:{line:1,column:396}}}))+'"></div>'},5:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="authenticator-description--text">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"description")||(null!=t?a(t,"description"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"description",hash:{},data:o,loc:{start:{line:1,column:577},end:{line:1,column:592}}}):i)+"</p>"},7:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="authenticator-usage-text">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"authenticatorUsageText")||(null!=t?a(t,"authenticatorUsageText"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"authenticatorUsageText",hash:{},data:o,loc:{start:{line:1,column:669},end:{line:1,column:695}}}):i)+"</p>"},9:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'data-se="'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"buttonDataSeAttr")||(null!=t?a(t,"buttonDataSeAttr"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"buttonDataSeAttr",hash:{},data:o,loc:{start:{line:1,column:773},end:{line:1,column:793}}}):i)+'"'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="authenticator-icon-container">'+(null!=(i=l(n,"if").call(s,null!=t?l(t,"logoUri"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o,loc:{start:{line:1,column:42},end:{line:1,column:411}}}))?i:"")+'</div><div class="authenticator-description"><h3 class="authenticator-label no-translate">'+e.escapeExpression("function"==typeof(a=null!=(a=l(n,"label")||(null!=t?l(t,"label"):t))?a:e.hooks.helperMissing)?a.call(s,{name:"label",hash:{},data:o,loc:{start:{line:1,column:501},end:{line:1,column:510}}}):a)+"</h3>"+(null!=(i=l(n,"if").call(s,null!=t?l(t,"description"):t,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:515},end:{line:1,column:603}}}))?i:"")+(null!=(i=l(n,"if").call(s,null!=t?l(t,"authenticatorUsageText"):t,{name:"if",hash:{},fn:e.program(7,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:603},end:{line:1,column:706}}}))?i:"")+'<div class="authenticator-button" '+(null!=(i=l(n,"if").call(s,null!=t?l(t,"buttonDataSeAttr"):t,{name:"if",hash:{},fn:e.program(9,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:740},end:{line:1,column:801}}}))?i:"")+"></div></div>"},useData:!0}),children:function(){return[[(0,o.createButton)({className:"button select-factor",title:function(){return(0,o.loc)("oie.enroll.authenticator.button.text","login")},click:function(){this.model.trigger("selectAuthenticator",this.model.get("value"))}}),".authenticator-button"]]},minimize:function(){this.$el.addClass("authenticator-row-min")},getTemplateData:function(){var e,t=this.model.get("relatesTo").allowedFor;if(t)switch(t){case s.AUTHENTICATOR_ALLOWED_FOR_OPTIONS.ANY:e=(0,o.loc)("oie.enroll.authenticator.usage.text.access.recovery","login");break;case s.AUTHENTICATOR_ALLOWED_FOR_OPTIONS.RECOVERY:e=(0,o.loc)("oie.enroll.authenticator.usage.text.recovery","login");break;case s.AUTHENTICATOR_ALLOWED_FOR_OPTIONS.SSO:e=(0,o.loc)("oie.enroll.authenticator.usage.text.access","login")}var n=o.View.prototype.getTemplateData.apply(this,arguments);return n.authenticatorUsageText=e,n}}),c=o.ListView.extend({className:"authenticator-enroll-list authenticator-list",item:u,itemSelector:".list-content",initialize:function(){this.listenTo(this.collection,"selectAuthenticator",(function(e){this.model.set(this.options.name,e),this.options.appState.trigger("saveForm",this.model)})),this.hasOptionalFactors=this.options.appState.hasRemediationObject(i.FORMS.SKIP),this.hasOptionalFactors&&this.add(a.default)},template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="list-content"><div class="authenticator-list-title">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"title")||(null!=t?a(t,"title"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:o,loc:{start:{line:1,column:64},end:{line:1,column:73}}}):i)+"</div></div>"},useData:!0}),getTemplateData:function(){return{title:this.hasOptionalFactors?(0,o.loc)("oie.setup.optional","login"):(0,o.loc)("oie.setup.required","login")}}});t.default=c,e.exports=t.default},9267:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(3966),o=n(4397),i=r.BaseFooter.extend({links:function(){return(0,o.getFactorPageCustomLink)(this.options.appState,this.options.settings).concat((0,o.getSwitchAuthenticatorLink)(this.options.appState))}});t.default=i,e.exports=t.default},8990:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var s=i.View.extend({className:"authenticator-row clearfix",template:o.default.template({1:function(e,t,n,r,o){var i,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u="function",c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="factor-icon authenticator-icon '+c(a(i=null!=(i=f(n,"iconClassName")||(null!=t?f(t,"iconClassName"):t))?i:l)===u?i.call(s,{name:"iconClassName",hash:{},data:o,loc:{start:{line:1,column:100},end:{line:1,column:117}}}):i)+' custom-logo" role="img" aria-label="'+c((f(n,"i18n")||t&&f(t,"i18n")||l).call(s,{name:"i18n",hash:{bundle:"login",code:"oie.auth.logo.aria.label"},data:o,loc:{start:{line:1,column:154},end:{line:1,column:209}}}))+'" style="background-image: url(\''+c(a(i=null!=(i=f(n,"logoUri")||(null!=t?f(t,"logoUri"):t))?i:l)===u?i.call(s,{name:"logoUri",hash:{},data:o,loc:{start:{line:1,column:241},end:{line:1,column:252}}}):i)+"')\"></div>"},3:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="factor-icon authenticator-icon '+l("function"==typeof(i=null!=(i=u(n,"iconClassName")||(null!=t?u(t,"iconClassName"):t))?i:s)?i.call(a,{name:"iconClassName",hash:{},data:o,loc:{start:{line:1,column:313},end:{line:1,column:330}}}):i)+'" role="img" aria-label="'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"oie.auth.logo.aria.label"},data:o,loc:{start:{line:1,column:355},end:{line:1,column:410}}}))+'"></div>'},5:function(e,t,n,r,o){return"authenticator-label--small"},7:function(e,t,n,r,o){var i,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u="function",c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="authenticator-description--text '+c(a(i=null!=(i=f(n,"noTranslateClassName")||(null!=t?f(t,"noTranslateClassName"):t))?i:l)===u?i.call(s,{name:"noTranslateClassName",hash:{},data:o,loc:{start:{line:1,column:648},end:{line:1,column:672}}}):i)+'">'+c(a(i=null!=(i=f(n,"description")||(null!=t?f(t,"description"):t))?i:l)===u?i.call(s,{name:"description",hash:{},data:o,loc:{start:{line:1,column:674},end:{line:1,column:689}}}):i)+"</p>"},9:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'data-se="'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"buttonDataSeAttr")||(null!=t?a(t,"buttonDataSeAttr"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"buttonDataSeAttr",hash:{},data:o,loc:{start:{line:1,column:773},end:{line:1,column:793}}}):i)+'"'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="authenticator-icon-container">'+(null!=(i=l(n,"if").call(s,null!=t?l(t,"logoUri"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o,loc:{start:{line:1,column:42},end:{line:1,column:425}}}))?i:"")+'</div><div class="authenticator-description"><div><h3 class="authenticator-label no-translate '+(null!=(i=l(n,"if").call(s,null!=t?l(t,"description"):t,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:519},end:{line:1,column:571}}}))?i:"")+'">'+e.escapeExpression("function"==typeof(a=null!=(a=l(n,"label")||(null!=t?l(t,"label"):t))?a:e.hooks.helperMissing)?a.call(s,{name:"label",hash:{},data:o,loc:{start:{line:1,column:573},end:{line:1,column:582}}}):a)+"</h3>"+(null!=(i=l(n,"if").call(s,null!=t?l(t,"description"):t,{name:"if",hash:{},fn:e.program(7,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:587},end:{line:1,column:700}}}))?i:"")+'</div><div class="authenticator-button" '+(null!=(i=l(n,"if").call(s,null!=t?l(t,"buttonDataSeAttr"):t,{name:"if",hash:{},fn:e.program(9,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:740},end:{line:1,column:801}}}))?i:"")+"></div></div>"},useData:!0}),children:function(){return[[(0,i.createButton)({className:"button select-factor",title:function(){return(0,i.loc)("oie.verify.authenticator.button.text","login")},click:function(){this.model.trigger("selectAuthenticator",this.model.get("value"))}}),".authenticator-button"]]},minimize:function(){this.$el.addClass("authenticator-row-min")}}),l=i.ListView.extend({className:"authenticator-verify-list authenticator-list",item:s,itemSelector:".list-content",initialize:function(){this.listenTo(this.collection,"selectAuthenticator",this.handleSelect)},handleSelect:function(e){var t,n=this.model.validateField("identifier");this.model.trigger("clearFormError"),null!==(t=this.model.getPropertySchema("identifier"))&&void 0!==t&&t.required&&n?this.model.trigger("invalid",this.model,n):(this.model.set(this.options.name,e),this.options.appState.trigger("saveForm",this.model))},template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div class="list-content"></div>'},useData:!0})});t.default=l,e.exports=t.default},894:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BaseAuthenticatorBeacon=void 0;var r=n(2048),o=n(3966),i=l(n(9267)),a=l(n(6190)),s=n(2423);function l(e){return e&&e.__esModule?e:{default:e}}var u=a.default.extend({authenticatorKey:function(){return this.options.appState.get("authenticatorKey")},getBeaconClassName:function(){var e=r._.result(this,"authenticatorKey");return(0,s.getIconClassNameForBeacon)(e)}});t.BaseAuthenticatorBeacon=u;var c=o.BaseView.extend({Header:o.BaseHeader.extend({HeaderBeacon:u}),Footer:i.default});t.default=c},4849:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=n(2048),i=a(n(9267));function a(e){return e&&e.__esModule?e:{default:e}}var s="Okta_Authenticator",l=o.View.extend({id:"help-description-container",className:"help-description js-help-description",template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<h3>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.cant.verify.biometric.authenticator.title"},data:o,loc:{start:{line:1,column:4},end:{line:1,column:96}}}))+"</h3><br><p>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.cant.verify.biometric.authenticator.description1"},data:o,loc:{start:{line:1,column:108},end:{line:1,column:207}}}))+"</p><br><p>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.cant.verify.biometric.authenticator.description2"},data:o,loc:{start:{line:1,column:218},end:{line:1,column:317}}}))+"</p><br><h3>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.cant.verify.security.key.title"},data:o,loc:{start:{line:1,column:329},end:{line:1,column:410}}}))+"</h3><br><p>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.cant.verify.security.key.description"},data:o,loc:{start:{line:1,column:422},end:{line:1,column:509}}}))+"</p><br>"},useData:!0})}),u=o.View.extend({id:"help-description-container",className:"help-description js-help-description",template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<ol class="ov-enrollment-info"><li>'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.cant.verify.enrollment.step1"},data:o,loc:{start:{line:1,column:35},end:{line:1,column:114}}}))+"</li><br><li>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.cant.verify.enrollment.step2"},data:o,loc:{start:{line:1,column:127},end:{line:1,column:206}}}))+"</li><br><li>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.cant.verify.enrollment.step3"},data:o,loc:{start:{line:1,column:219},end:{line:1,column:298}}}))+"</li><br><li>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.cant.verify.enrollment.step4"},data:o,loc:{start:{line:1,column:311},end:{line:1,column:390}}}))+"</><br></ol>"},useData:!0})}),c=i.default.extend({links:function(){var e=i.default.prototype.links.apply(this,arguments),t=this.options.appState.get("app")&&this.options.appState.get("app").name===s?u:l;return e.unshift({label:(0,o.loc)("oie.verify.webauthn.cant.verify","login"),name:"cant-verify","aria-controls":"help-description-container",class:"link help js-help",type:"toggle-text-link",additionalOptions:{view:t,selector:".js-help-description"}}),e}});t.default=c,e.exports=t.default},7853:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(3966),o=n(4817),i=n(894),a=r.BaseHeader.extend({HeaderBeacon:i.BaseAuthenticatorBeacon.extend({authenticatorKey:o.AUTHENTICATOR_KEY.EMAIL})});t.default=a,e.exports=t.default},6190:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r};var i=n(2048).View.extend({template:o.default.template({1:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="bg-helper auth-beacon auth-beacon-factor custom-app-logo" data-se="factor-beacon" role="img" aria-label="'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"oie.auth.logo.aria.label"},data:o,loc:{start:{line:1,column:309},end:{line:1,column:364}}}))+'" style="background-image: url(\''+l("function"==typeof(i=null!=(i=u(n,"logoUri")||(null!=t?u(t,"logoUri"):t))?i:s)?i.call(a,{name:"logoUri",hash:{},data:o,loc:{start:{line:1,column:396},end:{line:1,column:407}}}):i)+"')\">"},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="bg-helper auth-beacon auth-beacon-factor '+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"className")||(null!=t?a(t,"className"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"className",hash:{},data:o,loc:{start:{line:1,column:472},end:{line:1,column:485}}}):i)+'" data-se="factor-beacon">'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div data-type="beacon-container" class="beacon-container"><div class="beacon-blank auth-beacon"><div class="beacon-blank js-blank-beacon-border auth-beacon-border"></div></div>'+(null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"logoUri"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o,loc:{start:{line:1,column:177},end:{line:1,column:518}}}))?i:"")+'<div class="okta-sign-in-beacon-border auth-beacon-border"></div></div></div >'},useData:!0}),getTemplateData:function(){var e,t,n,r=null===(e=this.options)||void 0===e?void 0:e.appState;return{className:this.getBeaconClassName()||"",logoUri:(null==r||null===(t=r.get("currentAuthenticator"))||void 0===t?void 0:t.logoUri)||(null==r||null===(n=r.get("currentAuthenticatorEnrollment"))||void 0===n?void 0:n.logoUri)}},getBeaconClassName:function(){return"undefined-user"}});t.default=i,e.exports=t.default},2068:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(6276)),o=n(2048),i=n(3966),a=n(4817),s=n(4397),l=u(n(5964));function u(e){return e&&e.__esModule?e:{default:e}}var c=i.BaseFooter.extend({showForgotPasswordLink:function(){return!this.options.appState.isIdentifierOnlyView()},footerInfo:function(){var e,t=(0,s.getSignUpLink)(this.options.appState,this.options.settings);return t.length&&(e=o.View.extend({className:"signup-info",template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<span>"+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"registration.signup.label"},data:o,loc:{start:{line:1,column:6},end:{line:1,column:62}}}))+'</span><span class="signup-link"></span>'},useData:!0}),initialize:function(){this.add(l.default,".signup-link",{options:t[0]})}})),e},links:function(){var e,t=this.options,n=t.appState,r=t.settings;r.get("helpLinks.help")?e=r.get("helpLinks.help"):e=r.get("baseUrl")+"/help/login";var i=[{name:"help",label:(0,o.loc)("help","login"),href:e}],l=[];this.showForgotPasswordLink()&&(l=(0,s.getForgotPasswordLink)(n,r));var u=[];r.get("helpLinks.custom")&&r.get("helpLinks.custom").forEach((function(e){e.name="custom",e.label=e.text,u.push(e)}));var c=[];return r.get("helpLinks.unlock")?c.push({type:"link",label:(0,o.loc)("unlockaccount","login"),name:"unlock",href:r.get("helpLinks.unlock")}):n.hasRemediationObject(a.FORMS.UNLOCK_ACCOUNT)&&c.push({type:"link",label:(0,o.loc)("unlockaccount","login"),name:"unlock",actionPath:a.FORMS.UNLOCK_ACCOUNT}),l.concat(c).concat(i).concat(u)}});t.default=c,e.exports=t.default},5964:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r};var i=n(2048).View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(i=null!=(i=a(n,"label")||(null!=t?a(t,"label"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:o,loc:{start:{line:1,column:0},end:{line:1,column:9}}}):i)},useData:!0}),tagName:"a",attributes:function(){var e=this.options.href||"#";return{"data-se":this.options.name,href:e,target:this.options.target}},className:function(){var e=["link"];if(this.options.name){var t=this.options.name.replace(/[ ]/g,"-");e.push("js-".concat(t))}return e.join(" ")},postRender:function(){var e=this;this.options.href||this.$el.click((function(t){t.preventDefault();var n=e.options,r=n.appState,o=n.formName,i=n.actionPath,a=n.clickHandler;a?a():o?r.trigger("switchForm",o):i&&r.trigger("invokeAction",i)}))}});t.default=i,e.exports=t.default},9941:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048);var a=i.internal.views.components.Notification,s=i.internal.util.Clipboard,l=i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<div>"+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.explanation.mdm"},data:o,loc:{start:{line:1,column:5},end:{line:1,column:58}}}))+"</div><ol><li>"+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.mdm.step.copyLink"},data:o,loc:{start:{line:1,column:72},end:{line:1,column:127}}}))+'<a data-clipboard-text="'+l("function"==typeof(i=null!=(i=u(n,"enrollmentLink")||(null!=t?u(t,"enrollmentLink"):t))?i:s)?i.call(a,{name:"enrollmentLink",hash:{},data:o,loc:{start:{line:1,column:151},end:{line:1,column:169}}}):i)+'" class="button link-button copy-clipboard-button">'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.mdm.copyLink"},data:o,loc:{start:{line:1,column:220},end:{line:1,column:270}}}))+"</a></li><li>"+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.mdm.step.pasteLink"},data:o,loc:{start:{line:1,column:283},end:{line:1,column:339}}}))+"</li><li>"+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{$1:"<span class='semi-strong'>$1</span>",arguments:"vendor",bundle:"login",code:"enroll.mdm.step.followInstructions"},data:o,loc:{start:{line:1,column:348},end:{line:1,column:473}}}))+"</li><li>"+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.mdm.step.relogin"},data:o,loc:{start:{line:1,column:482},end:{line:1,column:536}}}))+"</li></ol>"},useData:!0}),getTemplateData:function(){return this.options.appState.get("deviceEnrollment")},postRender:function(){var e=this;s.attach(".copy-clipboard-button").done((function(){var t=new a({message:(0,i.loc)("enroll.mdm.copyLink.success","login"),level:"success"});return e.el.prepend(t.render().el),!1}))}});t.default=l,e.exports=t.default},3964:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDeviceEnrollmentContext=t.IosAndAndroidLoopbackOdaTerminalView=t.AndroidAppLinkWithoutAccountOdaTerminalView=t.AndroidAppLinkWithAccountOdaTerminalView=void 0;var r=a(n(6276)),o=n(2048),i=a(n(5115));function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}var l=o.internal.views.components.Notification,u=o.internal.util.Clipboard,c=function(e){var t=(e.platform||"").toLowerCase(),n=e.challengeMethod,r=e.name,o=t===i.default.IOS,a=t===i.default.ANDROID&&"APP_LINK"===n,s=t===i.default.ANDROID&&"LOOPBACK"===n;return{signInUrl:e.signInUrl,isIOS:o,enrollmentType:r,isAndroidLoopback:s,isAndroidAppLink:a,appStoreLink:o?i.default.OKTA_VERIFY_APPLE_APP_STORE_URL:i.default.OKTA_VERIFY_GOOGLE_PLAY_STORE_URL,orgName:e.orgName}};t.getDeviceEnrollmentContext=c;var f=o.View.extend({getTemplateData:function(){var e=this.options.appState.get("deviceEnrollment");return c(e)}}),d=f.extend({template:r.default.template({1:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<li>"+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.mdm.step.copyLink"},data:o,loc:{start:{line:1,column:120},end:{line:1,column:175}}}))+'<a data-clipboard-text="'+l("function"==typeof(i=null!=(i=u(n,"appStoreLink")||(null!=t?u(t,"appStoreLink"):t))?i:s)?i.call(a,{name:"appStoreLink",hash:{},data:o,loc:{start:{line:1,column:199},end:{line:1,column:215}}}):i)+'" class="button link-button copy-clipboard-button">'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.mdm.copyLink"},data:o,loc:{start:{line:1,column:266},end:{line:1,column:316}}}))+"</a></li><li>"+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.mdm.step.pasteLink"},data:o,loc:{start:{line:1,column:329},end:{line:1,column:385}}}))+"</li><li>"+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.step3"},data:o,loc:{start:{line:1,column:394},end:{line:1,column:441}}}))+"</li>"},3:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<li>"+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"enroll.oda.android.step1"},data:o,loc:{start:{line:1,column:482},end:{line:1,column:537}}}))+"</li>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c=e.escapeExpression,f="function",d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="explanation" data-se="subheader">'+c((d(n,"i18n")||t&&d(t,"i18n")||u).call(l,{name:"i18n",hash:{bundle:"login",code:"enroll.explanation.p1"},data:o,loc:{start:{line:1,column:43},end:{line:1,column:95}}}))+"</p><ol>"+(null!=(i=d(n,"if").call(l,null!=t?d(t,"isIOS"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:103},end:{line:1,column:453}}}))?i:"")+(null!=(i=d(n,"if").call(l,null!=t?d(t,"isAndroidLoopback"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:453},end:{line:1,column:549}}}))?i:"")+"<li>"+c((d(n,"i18n")||t&&d(t,"i18n")||u).call(l,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.step1"},data:o,loc:{start:{line:1,column:553},end:{line:1,column:600}}}))+"</li><li>"+c((d(n,"i18n")||t&&d(t,"i18n")||u).call(l,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.step2"},data:o,loc:{start:{line:1,column:609},end:{line:1,column:656}}}))+'<p class="org-signin-link"><span class="no-translate">'+c(s(a=null!=(a=d(n,"signInUrl")||(null!=t?d(t,"signInUrl"):t))?a:u)===f?a.call(l,{name:"signInUrl",hash:{},data:o,loc:{start:{line:1,column:710},end:{line:1,column:723}}}):a)+'</span></p><a data-clipboard-text="'+c(s(a=null!=(a=d(n,"signInUrl")||(null!=t?d(t,"signInUrl"):t))?a:u)===f?a.call(l,{name:"signInUrl",hash:{},data:o,loc:{start:{line:1,column:758},end:{line:1,column:771}}}):a)+'" class="button link-button copy-org-clipboard-button">'+c((d(n,"i18n")||t&&d(t,"i18n")||u).call(l,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.org.copyLink"},data:o,loc:{start:{line:1,column:826},end:{line:1,column:880}}}))+"</a></li><li>"+c((d(n,"i18n")||t&&d(t,"i18n")||u).call(l,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.step6"},data:o,loc:{start:{line:1,column:893},end:{line:1,column:940}}}))+"</li></ol>"},useData:!0}),postRender:function(){var e=this;u.attach(".copy-clipboard-button").done((function(){var t=new l({message:(0,o.loc)("enroll.mdm.copyLink.success","login"),level:"success"});return e.el.prepend(t.render().el),!1})),u.attach(".copy-org-clipboard-button").done((function(){var t=new l({message:(0,o.loc)("enroll.oda.org.copyLink.success","login"),level:"success"});return e.el.prepend(t.render().el),!1}))}});t.IosAndAndroidLoopbackOdaTerminalView=d;var p=f.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="explanation" data-se="subheader">'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.with.account.explanation"},data:o,loc:{start:{line:1,column:43},end:{line:1,column:109}}}))+'</p><p class="subtitle">'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.with.account.subtitile1 "},data:o,loc:{start:{line:1,column:133},end:{line:1,column:199}}}))+"</p><ul><li>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.with.account.step1"},data:o,loc:{start:{line:1,column:211},end:{line:1,column:271}}}))+"</li><li>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.with.account.step2"},data:o,loc:{start:{line:1,column:280},end:{line:1,column:340}}}))+"</li><li>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.with.account.step3"},data:o,loc:{start:{line:1,column:349},end:{line:1,column:409}}}))+'</li></ul><p class="subtitle">'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.with.account.subtitile2 "},data:o,loc:{start:{line:1,column:439},end:{line:1,column:505}}}))+"</p><ol><li>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.with.account.step4"},data:o,loc:{start:{line:1,column:517},end:{line:1,column:577}}}))+"</li><li>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{arguments:"signInUrl",bundle:"login",code:"enroll.oda.with.account.step5"},data:o,loc:{start:{line:1,column:586},end:{line:1,column:668}}}))+"</li><li>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.with.account.step6"},data:o,loc:{start:{line:1,column:677},end:{line:1,column:737}}}))+"</li><li>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.with.account.step7"},data:o,loc:{start:{line:1,column:746},end:{line:1,column:806}}}))+"</li></ol>"},useData:!0})});t.AndroidAppLinkWithAccountOdaTerminalView=p;var h=f.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c=e.escapeExpression,f="function",d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="explanation" data-se="subheader">'+c((d(n,"i18n")||t&&d(t,"i18n")||u).call(l,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.without.account.explanation"},data:o,loc:{start:{line:1,column:43},end:{line:1,column:112}}}))+"</p><ol><li>"+(null!=(i=(d(n,"i18n")||t&&d(t,"i18n")||u).call(l,{name:"i18n",hash:{arguments:"appStoreLink",bundle:"login",code:"enroll.oda.without.account.step1"},data:o,loc:{start:{line:1,column:124},end:{line:1,column:214}}}))?i:"")+"</li><li>"+c((d(n,"i18n")||t&&d(t,"i18n")||u).call(l,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.step1"},data:o,loc:{start:{line:1,column:223},end:{line:1,column:270}}}))+"</li><li>"+c((d(n,"i18n")||t&&d(t,"i18n")||u).call(l,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.step2"},data:o,loc:{start:{line:1,column:279},end:{line:1,column:326}}}))+'<p class="org-signin-link"><span class="no-translate">'+c(s(a=null!=(a=d(n,"signInUrl")||(null!=t?d(t,"signInUrl"):t))?a:u)===f?a.call(l,{name:"signInUrl",hash:{},data:o,loc:{start:{line:1,column:380},end:{line:1,column:393}}}):a)+'</span></p><a data-clipboard-text="'+c(s(a=null!=(a=d(n,"signInUrl")||(null!=t?d(t,"signInUrl"):t))?a:u)===f?a.call(l,{name:"signInUrl",hash:{},data:o,loc:{start:{line:1,column:428},end:{line:1,column:441}}}):a)+'" class="button link-button copy-org-clipboard-button">'+c((d(n,"i18n")||t&&d(t,"i18n")||u).call(l,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.org.copyLink"},data:o,loc:{start:{line:1,column:496},end:{line:1,column:550}}}))+"</a></li><li>"+c((d(n,"i18n")||t&&d(t,"i18n")||u).call(l,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.without.account.step4"},data:o,loc:{start:{line:1,column:563},end:{line:1,column:626}}}))+"</li></ol>"},useData:!0}),postRender:function(){var e=this;u.attach(".copy-org-clipboard-button").done((function(){var t=new l({message:(0,o.loc)("enroll.oda.org.copyLink.success","login"),level:"success"});return e.el.prepend(t.render().el),!1}))}});t.AndroidAppLinkWithoutAccountOdaTerminalView=h},7413:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(3966),o=n(4817),i=n(894),a=r.BaseHeader.extend({HeaderBeacon:i.BaseAuthenticatorBeacon.extend({authenticatorKey:o.AUTHENTICATOR_KEY.OV})});t.default=a,e.exports=t.default},1888:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048),a=n(6589);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}var l=i.internal.views.forms.inputs.CheckBox.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u="function",c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<input type="checkbox" name="'+c(s(i=null!=(i=f(n,"name")||(null!=t?f(t,"name"):t))?i:l)===u?i.call(a,{name:"name",hash:{},data:o,loc:{start:{line:1,column:29},end:{line:1,column:37}}}):i)+'" id="'+c(s(i=null!=(i=f(n,"inputId")||(null!=t?f(t,"inputId"):t))?i:l)===u?i.call(a,{name:"inputId",hash:{},data:o,loc:{start:{line:1,column:43},end:{line:1,column:54}}}):i)+'"/><label for="'+c(s(i=null!=(i=f(n,"inputId")||(null!=t?f(t,"inputId"):t))?i:l)===u?i.call(a,{name:"inputId",hash:{},data:o,loc:{start:{line:1,column:69},end:{line:1,column:80}}}):i)+'" data-se-for-name="'+c(s(i=null!=(i=f(n,"name")||(null!=t?f(t,"name"):t))?i:l)===u?i.call(a,{name:"name",hash:{},data:o,loc:{start:{line:1,column:100},end:{line:1,column:108}}}):i)+'"><b>'+c(s(i=null!=(i=f(n,"placeholder")||(null!=t?f(t,"placeholder"):t))?i:l)===u?i.call(a,{name:"placeholder",hash:{},data:o,loc:{start:{line:1,column:113},end:{line:1,column:128}}}):i)+"</b><p>"+c(s(i=null!=(i=f(n,"desc")||(null!=t?f(t,"desc"):t))?i:l)===u?i.call(a,{name:"desc",hash:{},data:o,loc:{start:{line:1,column:135},end:{line:1,column:143}}}):i)+"</p></label>"},useData:!0}),getLocalizedLabel:function(){var e="consent.scopes.".concat(this.options.options.scopeName,".label");return(0,a.doesI18NKeyExist)(e)?(0,i.loc)(e,"login"):this.options.placeholder||this.options.options.scopeName},getLocalizedDesc:function(){var e="consent.scopes.".concat(this.options.options.scopeName,".desc");return(0,a.doesI18NKeyExist)(e)?(0,i.loc)(e,"login"):this.options.options.desc},isCustomizedScope:function(){return!(0,a.doesI18NKeyExist)("consent.scopes.".concat(this.options.options.scopeName,".label"))},enable:function(){this.options.options.mutable&&this.$(":input").prop("disabled",!1)},editMode:function(){if(this.$el.html(this.template(i._.extend(i._.omit(this.options,"placeholder"),{placeholder:this.getLocalizedLabel(),desc:this.getLocalizedDesc()}))),this.$(":checkbox").prop("checked",this.getModelValue()||!1),this.$("input").customInput(),this.model.trigger("form:resize"),!this.options.options.mutable){var e=this.$("input").get(0);this.$(e.parentElement).addClass("o-form-read-mode"),this.$(":checkbox").prop("disabled",!0)}return("openid"===this.options.options.scopeName||this.isCustomizedScope())&&(this.$("label > b").addClass("no-translate"),this.isCustomizedScope()&&this.$("label > p").addClass("no-translate")),this}});t.default=l,e.exports=t.default},6282:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=n(4817),i=(0,r.createButton)({className:"button-primary button skip-all",title:function(){return(0,r.loc)("oie.optional.authenticator.button.title","login")},click:function(){this.options.appState.trigger("invokeAction",o.FORMS.SKIP)}});t.default=i,e.exports=t.default},2397:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=(r=n(5964))&&r.__esModule?r:{default:r};var a=o.View.extend({initialize:function(){o.View.prototype.initialize.apply(this,arguments);var e=this.options.additionalOptions,t=this.options.name,n=Object.assign({},this.options,{type:"link","aria-expanded":!1,clickHandler:function(){(0,o.$)(e.selector).slideToggle(200,(function(){(0,o.$)(".js-".concat(t)).attr("aria-expanded",(0,o.$)(e.selector).is(":visible"))}))}});this.add(i.default,{options:n}),this.add(e.view)},postRender:function(){var e=this.options.additionalOptions;this.$(e.selector).hide()}});t.default=a,e.exports=t.default},7632:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=s(n(5964)),i=s(n(2397)),a=n(4397);function s(e){return e&&e.__esModule?e:{default:e}}var l=r.View.extend({className:"auth-footer",links:[],footerInfo:null,hasBackToSignInLink:!0,initialize:function(){var e=this,t=r._.resultCtx(this,"links",this),n=r._.resultCtx(this,"footerInfo",this),s=r._.resultCtx(this,"hasBackToSignInLink",this);t=Array.isArray(t)?t.filter((function(e){return r.$.isPlainObject(e)})):[],this.options.appState.shouldShowSignOutLinkInCurrentForm(this.options.settings.get("features.hideSignOutLinkInMFA")||this.settings.get("features.mfaOnlyFlow"))&&s&&(t=t.concat((0,a.getSignOutLink)(this.options.settings))),t.forEach((function(t){var n=o.default;"toggle-text-link"===t.type&&(n=i.default),e.add(n,{options:t})})),n&&(this.add(r.View.extend({className:"footer-info"})),this.add(n,".footer-info"))}});t.default=l,e.exports=t.default},6596:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(4563)),o=i(n(1586));function i(e){return e&&e.__esModule?e:{default:e}}var a=o.default.extend(Object.assign({initialize:function(){o.default.prototype.initialize.apply(this,arguments),this.listenTo(this.options.appState,"change:dynamicRefreshInterval",this.updateRefreshInterval)},updateRefreshInterval:function(){this.polling&&(this.stopPolling(),this.startPolling(this.options.appState.get("dynamicRefreshInterval")))}},r.default));t.default=a,e.exports=t.default},8351:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=a(n(7472)),i=a(n(5115));function a(e){return e&&e.__esModule?e:{default:e}}var s=r.View.extend({HeaderBeacon:null,initialize:function(){this.HeaderBeacon&&this.add(this.HeaderBeacon)},postRender:function(){var e=(0,r.$)("#".concat(i.default.WIDGET_CONTAINER_ID));if(this.HeaderBeacon){e.removeClass("no-beacon");var t=this.$el.find('[data-type="beacon-container"]');o.default.explode(t)}else e.addClass("no-beacon")}});t.default=s,e.exports=t.default},3861:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===o(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=function(e){var t=Object.assign({},r._.chain(e).pick("minLength","maxLength","required","value").defaults({type:"string",required:!0}).value());return e.modelType&&(t.type=e.modelType),i({},e.name,t)},s=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=t.uiSchema||[];i.forEach((function(t){if(Array.isArray(t.optionsUiSchemas)){var i,s={};Number(t.value)>=0&&(i=t.value),n[t.name]&&(s={value:n[t.name]},i=Number(s.value)),Object.assign(o,a(Object.assign({},t,s))),i&&e({uiSchema:t.optionsUiSchemas[i]},n,r,o)}else Object.assign(r,a(t))}))},l={create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={},o={formName:"string",useRedirect:"boolean"};s(e,t,n,o);var i=r.Model.extend({props:n,local:o});return i}};t.default=l,e.exports=t.default},5962:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=n(3966),i=u(n(1806)),a=n(2945),s=u(n(5331)),l=n(3974);function u(e){return e&&e.__esModule?e:{default:e}}var c=function(e){var t=Object.assign({method:"GET",contentType:"application/json"},e);return r.$.ajax(t)},f=o.BaseFormWithPolling.extend({noButtonBar:!0,className:"ion-form device-challenge-poll",events:{"click #launch-ov":function(e){e.preventDefault(),this.doCustomURI()}},pollingCancelAction:a.AUTHENTICATOR_CANCEL_ACTION,initialize:function(){o.BaseFormWithPolling.prototype.initialize.apply(this,arguments),this.listenTo(this.model,"error",this.onPollingFail),this.doChallenge(),this.startPolling()},doChallenge:function(){(0,l.doChallenge)(this)},onPollingFail:function(){this.$(".spinner").hide(),this.stopPolling()},remove:function(){o.BaseFormWithPolling.prototype.remove.apply(this,arguments),this.stopProbing(),this.stopPolling()},getDeviceChallengePayload:function(){throw new Error("getDeviceChallengePayload needs to be implemented")},doLoopback:function(e){var t,n=this,r=void 0!==e.domain?e.domain:"",o=void 0!==e.ports?e.ports:[],u=void 0!==e.challengeRequest?e.challengeRequest:"",f=void 0!==e.probeTimeoutMillis?e.probeTimeoutMillis:100,d=!1,p=!1,h=0,m=function(e){return"".concat(r,":").concat(t,"/").concat(e)},v=function(){i.default.error("Something unexpected happened while we were checking port ".concat(t,"."))},g=function(){return c({url:m("probe"),timeout:s.default.isAndroid()?3e3:f}).done((function(){return c({url:m("challenge"),method:"POST",data:JSON.stringify({challengeRequest:u}),timeout:a.CHALLENGE_TIMEOUT}).done((function(){return d=!0,n.trigger("save",n.model)})).fail((function(e){h++,503!==e.status?(p=!0,(0,l.cancelPollingWithParams)(n.options.appState,n.pollingCancelAction,a.AUTHENTICATION_CANCEL_REASONS.OV_ERROR,e.status)):h===o.length&&(0,l.cancelPollingWithParams)(n.options.appState,n.pollingCancelAction,a.AUTHENTICATION_CANCEL_REASONS.LOOPBACK_FAILURE,null)}))})).fail(v)},y=Promise.resolve();o.forEach((function(e){y=y.then((function(){if(!d&&!p)return t=e,g()})).catch((function(){h++,i.default.error("Authenticator is not listening on port ".concat(t,".")),h===o.length&&(i.default.error("No available ports. Loopback server failed and polling is cancelled."),(0,l.cancelPollingWithParams)(n.options.appState,n.pollingCancelAction,a.AUTHENTICATION_CANCEL_REASONS.LOOPBACK_FAILURE,null))}))}))},doCustomURI:function(){this.ulDom&&this.ulDom.remove(),this.ulDom=this.add('\n <iframe src="'.concat(this.customURI,'" id="custom-uri-container" style="display:none;"></iframe>\n ')).last()},stopProbing:function(){this.checkPortXhr&&this.checkPortXhr.abort(),this.probingXhr&&this.probingXhr.abort()}}),d=f;t.default=d,e.exports=t.default},1015:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(6276)),o=n(2048),i=c(n(8351)),a=c(n(1586)),s=c(n(3861)),l=c(n(7632)),u=n(3927);function c(e){return e&&e.__esModule?e:{default:e}}var f=o.View.extend({Header:i.default,Body:a.default,Footer:l.default,className:function(){var e=this.options.appState,t=e.get("currentFormName"),n=e.get("authenticatorKey"),r=e.get("authenticatorMethodType"),o=e.get("isPasswordRecoveryFlow"),i=(0,u.getClassNameMapping)(t,n,r,o);return["siw-main-view"].concat(i).join(" ")},template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div class="siw-main-header"></div><div class="siw-main-body"></div><div class="siw-main-footer"></div>'},useData:!0}),preRender:function(){o.View.prototype.preRender.apply(this,arguments),null!==this.Header&&this.add(this.Header,{selector:".siw-main-header",options:this.options}),this.renderForm(),this.add(this.Footer,{selector:".siw-main-footer",options:this.options})},renderForm:function(){var e,t=this;this.form&&(this.form.remove(),e=this.form.model.toJSON({verbose:!0}));var n=new(this.createModelClass(this.options.currentViewState,e,this.settings))({formName:this.options.currentViewState.name});e||(e=n.toJSON({verbose:!0})),this.model=n,this.form=this.add(this.Body,{selector:".siw-main-body",options:Object.assign({},this.options,{model:n,optionUiSchemaConfig:e})}).last(),o._.each(n.attributes,(function(e,r){r.match(/sub_schema_local_[^ ]+/)&&t.listenTo(n,"change:".concat(r),(function(){t.renderForm()}))}))},createModelClass:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s.default.create(e,t)}});t.default=f,e.exports=t.default},3966:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BaseFooter",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"BaseForm",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"BaseFormWithPolling",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"BaseHeader",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"BaseModel",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"BaseOktaVerifyChallengeView",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"BaseView",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"addCustomButton",{enumerable:!0,get:function(){return c.addCustomButton}}),Object.defineProperty(t,"createCustomButtons",{enumerable:!0,get:function(){return c.createCustomButtons}}),Object.defineProperty(t,"createIdpButtons",{enumerable:!0,get:function(){return c.createIdpButtons}});var r=f(n(8351)),o=f(n(7632)),i=f(n(1586)),a=f(n(6596)),s=f(n(5962)),l=f(n(3861)),u=f(n(1015)),c=n(4739);function f(e){return e&&e.__esModule?e:{default:e}}},2423:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAuthenticatorDataForEnroll=function(e){return u(e)},t.getAuthenticatorDataForVerification=function(e){return u(e,!0)},t.getAuthenticatorDisplayName=function(e){var t,n;return null===(t=e.relatesTo)||void 0===t||null===(n=t.value)||void 0===n?void 0:n.displayName},t.getIconClassNameForBeacon=function(e){return u({authenticatorKey:e}).iconClassName},t.getPasswordComplexityDescriptionForHtmlList=void 0,t.removeRequirementsFromError=function(e){var t;if((null===(t=e.errorCauses)||void 0===t?void 0:t.length)>0&&Array.isArray(e.errorCauses[0].errorSummary)&&e.errorCauses[0].errorSummary.length>0){var n;e.errorCauses[0].errorSummary=e.errorCauses[0].errorSummary[0],"password.passwordRequirementsNotMet"===((null===(n=e.errorCauses[0].errorKey)||void 0===n?void 0:n.length)>0&&e.errorCauses[0].errorKey[0])&&(e.errorCauses[0].errorSummary=(0,o.loc)("registration.error.password.passwordRequirementsNotMet","login"))}return e};var r,o=n(2048),i=(r=n(9057))&&r.__esModule?r:{default:r},a=n(4817);var s=i.default.getPasswordComplexityDescriptionForHtmlList;t.getPasswordComplexityDescriptionForHtmlList=s;var l=function(e){if(e.authenticatorKey){var t,n,r=null!==(t=e.value)&&void 0!==t&&t.methodType?"-"+(null===(n=e.value)||void 0===n?void 0:n.methodType):"";return e.authenticatorKey+r}return""},u=function(e,t){var n,r,i=e.authenticatorKey,s={};switch(o._.isString(i)?i.toLowerCase():""){case a.AUTHENTICATOR_KEY.EMAIL:Object.assign(s,{description:t?"":(0,o.loc)("oie.email.authenticator.description","login"),iconClassName:"mfa-okta-email",buttonDataSeAttr:l(e)});break;case a.AUTHENTICATOR_KEY.PASSWORD:Object.assign(s,{description:t?"":(0,o.loc)("oie.password.authenticator.description","login"),iconClassName:"mfa-okta-password",buttonDataSeAttr:l(e)});break;case a.AUTHENTICATOR_KEY.PHONE:Object.assign(s,{description:t?null===(n=e.relatesTo)||void 0===n||null===(r=n.profile)||void 0===r?void 0:r.phoneNumber:(0,o.loc)("oie.phone.authenticator.description","login"),iconClassName:"mfa-okta-phone",noTranslateClassName:t?"no-translate":"",buttonDataSeAttr:l(e)});break;case a.AUTHENTICATOR_KEY.SECURITY_QUESTION:Object.assign(s,{description:t?"":(0,o.loc)("oie.security.question.authenticator.description","login"),iconClassName:"mfa-okta-security-question",buttonDataSeAttr:l(e)});break;case a.AUTHENTICATOR_KEY.WEBAUTHN:Object.assign(s,{description:t?"":(0,o.loc)("oie.webauthn.description","login"),iconClassName:"mfa-webauthn",buttonDataSeAttr:l(e)});break;case a.AUTHENTICATOR_KEY.OV:Object.assign(s,{description:t?(0,o.loc)("oie.okta_verify.label","login"):(0,o.loc)("oie.okta_verify.authenticator.description","login"),iconClassName:"mfa-okta-verify",buttonDataSeAttr:l(e)});break;case a.AUTHENTICATOR_KEY.GOOGLE_OTP:Object.assign(s,{description:t?"":(0,o.loc)("oie.google_authenticator.authenticator.description","login"),iconClassName:"mfa-google-auth",buttonDataSeAttr:l(e)});break;case a.AUTHENTICATOR_KEY.ON_PREM:var u,c=(null===(u=e.relatesTo)||void 0===u?void 0:u.displayName)||(0,o.loc)("oie.on_prem.authenticator.default.vendorName","login");Object.assign(s,{description:t?"":(0,o.loc)("oie.on_prem.authenticator.description","login",[c]),iconClassName:"mfa-onprem",buttonDataSeAttr:l(e)});break;case a.AUTHENTICATOR_KEY.RSA:Object.assign(s,{description:t?"":(0,o.loc)("oie.rsa.authenticator.description","login"),iconClassName:"mfa-rsa",buttonDataSeAttr:l(e)});break;case a.AUTHENTICATOR_KEY.DUO:Object.assign(s,{description:t?"":(0,o.loc)("oie.duo.authenticator.description","login"),iconClassName:"mfa-duo",buttonDataSeAttr:l(e)});break;case a.AUTHENTICATOR_KEY.IDP:var f,d=null===(f=e.relatesTo)||void 0===f?void 0:f.displayName;Object.assign(s,{description:t?"":(0,o.loc)("oie.idp.authenticator.description","login",[d]),iconClassName:"mfa-custom-factor",buttonDataSeAttr:l(e)});break;case a.AUTHENTICATOR_KEY.CUSTOM_OTP:Object.assign(s,{description:t?"":(0,o.loc)("oie.custom_otp.description","login"),iconClassName:"mfa-hotp",buttonDataSeAttr:l(e)});break;case a.AUTHENTICATOR_KEY.SYMANTEC_VIP:var p,h=null===(p=e.relatesTo)||void 0===p?void 0:p.displayName;Object.assign(s,{description:t?"":(0,o.loc)("oie.symantecVip.authenticator.description","login",[h]),iconClassName:"mfa-symantec",buttonDataSeAttr:l(e)});break;case a.AUTHENTICATOR_KEY.YUBIKEY:Object.assign(s,{description:t?"":(0,o.loc)("oie.yubikey.authenticator.description","login"),iconClassName:"mfa-yubikey",buttonDataSeAttr:l(e)});break;case a.AUTHENTICATOR_KEY.CUSTOM_APP:var m,v;Object.assign(s,{description:t?null==e||null===(m=e.relatesTo)||void 0===m?void 0:m.displayName:(0,o.loc)("oie.custom.app.authenticator.description","login",[e.label]),noTranslateClassName:t?"no-translate":"",buttonDataSeAttr:l(e),iconClassName:"mfa-custom-app-logo",logoUri:(null==e||null===(v=e.relatesTo)||void 0===v?void 0:v.logoUri)||""});break;case a.AUTHENTICATOR_KEY.SMARTCARD:Object.assign(s,{description:t?"":(0,o.loc)("oie.smartcard.authenticator.description","login"),iconClassName:"mfa-smartcard",buttonDataSeAttr:l(e)})}return s}},3974:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.appendLoginHint=c,t.cancelPollingWithParams=function(e,t,n,r){var o={};o[s.REQUEST_PARAM_AUTHENTICATION_CANCEL_REASON]=n,o[s.LOOPBACK_RESPONSE_STATUS_CODE]=r,e.trigger("invokeAction",t,o)},t.doChallenge=function(e,t){var n,l,f=e.getDeviceChallengePayload(),d=null===(n=e.options)||void 0===n||null===(l=n.settings)||void 0===l?void 0:l.get("identifier"),p="hide";switch(f.challengeMethod){case i.default.LOOPBACK_CHALLENGE:e.title=(0,o.loc)("deviceTrust.sso.redirectText","login"),e.add(o.View.extend({className:"loopback-content",template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div class="spinner"></div>'},useData:!0})})),e.doLoopback(f);break;case i.default.CUSTOM_URI_CHALLENGE:e.title=(0,o.loc)("customUri.title","login"),e.add(o.View.extend({className:"skinny-content",template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"customUri.required.content.prompt"},data:o,loc:{start:{line:1,column:3},end:{line:1,column:67}}}))+"</p>"},useData:!0})})),e.add((0,o.createButton)({className:"ul-button button button-wide button-primary",title:(0,o.loc)("oktaVerify.open.button","login"),id:"launch-ov",click:function(){e.doCustomURI()}})),e.add(o.View.extend({className:"skinny-content",template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"customUri.required.content.download.title"},data:o,loc:{start:{line:1,column:3},end:{line:1,column:75}}}))+'</p><p><a href="'+l("function"==typeof(i=null!=(i=u(n,"downloadOVLink")||(null!=t?u(t,"downloadOVLink"):t))?i:s)?i.call(a,{name:"downloadOVLink",hash:{},data:o,loc:{start:{line:1,column:91},end:{line:1,column:109}}}):i)+'" target="_blank" id="download-ov" class="link">'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"customUri.required.content.download.linkText"},data:o,loc:{start:{line:1,column:157},end:{line:1,column:232}}}))+"</a></p>"},useData:!0}),getTemplateData:function(){return{downloadOVLink:f.downloadHref}}})),e.customURI=c(f.href,d),e.doCustomURI();break;case i.default.UNIVERSAL_LINK_CHALLENGE:e.title=(0,o.loc)("universalLink.title","login"),e.add(o.View.extend({className:"universal-link-content",template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="spinner"></div>'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"universalLink.content"},data:o,loc:{start:{line:1,column:27},end:{line:1,column:79}}}))},useData:!0})})),e.add((0,o.createButton)({className:"ul-button button button-wide button-primary",title:(0,o.loc)("oktaVerify.open.button","login"),click:function(){var e=c(f.href,d);a.default.redirect(e)}}));break;case i.default.APP_LINK_CHALLENGE:e.title=(0,o.loc)("appLink.title","login"),e.add(o.View.extend({className:"app-link-content",template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="spinner '+c(u(i=null!=(i=f(n,"hideClass")||(null!=t?f(t,"hideClass"):t))?i:s)===l?i.call(a,{name:"hideClass",hash:{},data:o,loc:{start:{line:1,column:20},end:{line:1,column:33}}}):i)+'"></div><div class="appLinkContent '+c(u(i=null!=(i=f(n,"hideClass")||(null!=t?f(t,"hideClass"):t))?i:s)===l?i.call(a,{name:"hideClass",hash:{},data:o,loc:{start:{line:1,column:68},end:{line:1,column:81}}}):i)+'">'+c((f(n,"i18n")||t&&f(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"appLink.content"},data:o,loc:{start:{line:1,column:83},end:{line:1,column:129}}}))+"</div>"},useData:!0}),getTemplateData:function(){return{hideClass:p}},postRender:function(){var e=this;t===s.IDENTIFIER_FLOW?(this.$(".spinner").removeClass(p),setTimeout(o._.bind((function(){var t={label:(0,o.loc)("goback","login")};e.options.appState.trigger("updateFooterLink",t),e.$(".spinner").addClass(p),e.$(".appLinkContent").removeClass(p)}),this),s.FASTPASS_FALLBACK_SPINNER_TIMEOUT)):this.$(".appLinkContent").removeClass(p)}})),e.add((0,o.createButton)({className:"".concat(p," al-button button button-wide button-primary"),title:(0,o.loc)("oktaVerify.open.button","login"),click:function(){var e=c(f.href,d);a.default.redirect(e,window,!0)},postRender:function(){var e=this;t===s.IDENTIFIER_FLOW?setTimeout(o._.bind((function(){e.$el.removeClass(p)}),this),s.FASTPASS_FALLBACK_SPINNER_TIMEOUT):this.$el.removeClass(p)}}))}},t.getBiometricsErrorOptions=function(e,t){var n,r,i;n=t?Object.values(null==e||null===(r=e.value[0])||void 0===r?void 0:r.i18n):null==e||null===(i=e.responseJSON)||void 0===i?void 0:i.errorSummaryKeys;var a=n&&n.includes(s.OV_UV_ENABLE_BIOMETRICS_FASTPASS_MOBILE),l=n&&n.includes(s.OV_UV_ENABLE_BIOMETRICS_FASTPASS_DESKTOP),u=[];if(!a&&!l)return u;var c=[(0,o.loc)("oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.point1","login"),(0,o.loc)("oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.point2","login"),(0,o.loc)("oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.point3","login")];l&&c.push((0,o.loc)("oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.point4","login"));return u={type:"error",className:"okta-verify-uv-callout-content",title:(0,o.loc)("oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.title","login"),subtitle:(0,o.loc)("oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.description","login"),bullets:c}};var r=l(n(6276)),o=n(2048),i=l(n(5115)),a=l(n(7516)),s=n(2945);function l(e){return e&&e.__esModule?e:{default:e}}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function c(e,t){return e&&t&&(e+="&login_hint="+t),e}},2945:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WIDGET_FOOTER_CLASS=t.WARNING_TIMEOUT=t.UNIVERSAL_LINK_POST_DELAY=t.SHOW_RESEND_TIMEOUT=t.REQUEST_PARAM_AUTHENTICATION_CANCEL_REASON=t.OV_UV_ENABLE_BIOMETRICS_FASTPASS_MOBILE=t.OV_UV_ENABLE_BIOMETRICS_FASTPASS_DESKTOP=t.MS_PER_SEC=t.LOOPBACK_RESPONSE_STATUS_CODE=t.IDENTIFIER_FLOW=t.FASTPASS_FALLBACK_SPINNER_TIMEOUT=t.CHALLENGE_TIMEOUT=t.CANCEL_POLLING_ACTION=t.AUTHENTICATOR_CANCEL_ACTION=t.AUTHENTICATOR_ALLOWED_FOR_OPTIONS=t.AUTHENTICATION_CANCEL_REASONS=void 0;t.SHOW_RESEND_TIMEOUT=3e4;t.WARNING_TIMEOUT=3e4;t.CHALLENGE_TIMEOUT=3e5;t.MS_PER_SEC=1e3;t.UNIVERSAL_LINK_POST_DELAY=500;t.CANCEL_POLLING_ACTION="authenticatorChallenge-cancel";t.AUTHENTICATOR_CANCEL_ACTION="currentAuthenticator-cancel";t.WIDGET_FOOTER_CLASS="siw-main-footer";t.FASTPASS_FALLBACK_SPINNER_TIMEOUT=4e3;t.IDENTIFIER_FLOW="IDENTIFIER";t.OV_UV_ENABLE_BIOMETRICS_FASTPASS_DESKTOP="oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.desktop";t.OV_UV_ENABLE_BIOMETRICS_FASTPASS_MOBILE="oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.mobile";t.AUTHENTICATOR_ALLOWED_FOR_OPTIONS={ANY:"any",SSO:"sso",RECOVERY:"recovery"};t.REQUEST_PARAM_AUTHENTICATION_CANCEL_REASON="reason";t.LOOPBACK_RESPONSE_STATUS_CODE="statusCode";t.AUTHENTICATION_CANCEL_REASONS={LOOPBACK_FAILURE:"OV_UNREACHABLE_BY_LOOPBACK",OV_ERROR:"OV_RETURNED_ERROR",USER_CANCELED:"USER_CANCELED"}},5110:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048);var o={isMessageFromCorrectSource:function(e,t){return t.source===e[0].contentWindow},generateDeviceFingerprint:function(e){var t=this;return new Promise((function(n,o){var i,a,s=navigator.userAgent;if(!s)return o("user agent is not defined");if(function(e){return e.match(/windows phone|iemobile|wpdesktop/i)}(s))return o("device fingerprint is not supported on Windows phones");var l=t;function u(){i.off(),i.remove(),window.removeEventListener("message",f,!1)}function c(e){u(),o(e)}function f(t){if(l.isMessageFromCorrectSource(i,t))if(clearTimeout(a),t&&t.data&&t.origin===e.oktaDomainUrl)try{var r=JSON.parse(t.data);r&&"FingerprintServiceReady"===r.type?function(t){var n=i[0].contentWindow;n&&n.postMessage(JSON.stringify(t),e.oktaDomainUrl)}({type:"GetFingerprint"}):r&&"FingerprintAvailable"===r.type?(u(),n(r.fingerprint)):c("no data")}catch(e){}else c("no data")}window.addEventListener("message",f,!1),i=(0,r.$)("<iframe>",{style:"display: none;",src:e.oktaDomainUrl+"/auth/services/devicefingerprint"}),e.element.append(i),a=setTimeout((function(){c("service not available")}),2e3)}))}};t.default=o,e.exports=t.default},4397:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.goBackLink=t.getSwitchAuthenticatorLink=t.getSkipSetupLink=t.getSignUpLink=t.getSignOutLink=t.getReloadPageButtonLink=t.getForgotPasswordLink=t.getFactorPageCustomLink=t.getBackToSignInLink=void 0;var r=n(2048),o=n(4817);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===i(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=o.ACTIONS.ENROLLED_PASSWORD_RECOVERY_LINK,c=o.ACTIONS.ORG_PASSWORD_RECOVERY_LINK;t.getSwitchAuthenticatorLink=function(e){return e.getRemediationAuthenticationOptions(o.FORMS.SELECT_AUTHENTICATOR_AUTHENTICATE).length>1?[{type:"link",label:(0,r.loc)("oie.verification.switch.authenticator","login"),name:"switchAuthenticator",formName:o.FORMS.SELECT_AUTHENTICATOR_AUTHENTICATE}]:e.getRemediationAuthenticationOptions(o.FORMS.SELECT_AUTHENTICATOR_ENROLL).length>=1?[{type:"link",label:(0,r.loc)("oie.enroll.switch.authenticator","login"),name:"switchAuthenticator",formName:o.FORMS.SELECT_AUTHENTICATOR_ENROLL}]:[]};t.getForgotPasswordLink=function(e,t){var n={type:"link",label:(0,r.loc)("forgotpassword","login"),name:"forgot-password"},o=t.get("helpLinks.forgotPassword");return o?[Object.assign({},{href:o,label:(0,r.loc)("forgotpassword","login"),name:"forgot-password"})]:e.getActionByPath(c)?[Object.assign({},n,{actionPath:c})]:e.getActionByPath(u)?[Object.assign({},n,{actionPath:u})]:[]};t.goBackLink=function(e){return e.hasRemediationObject(o.FORMS.SELECT_AUTHENTICATOR_ENROLL)?[{type:"link",label:(0,r.loc)("oie.go.back","login"),name:"go-back",formName:o.FORMS.SELECT_AUTHENTICATOR_ENROLL}]:[]};t.getSkipSetupLink=function(e,t){return e.hasRemediationObject(o.FORMS.SKIP)?[{type:"link",label:null!=t?t:(0,r.loc)("oie.enroll.skip.setup","login"),name:"skip-setup",actionPath:o.FORMS.SKIP}]:[]};t.getSignOutLink=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null!=e&&e.get("backToSignInUri")?[{label:(0,r.loc)("goback","login"),name:"cancel",href:e.get("backToSignInUri")}]:[{actionPath:"cancel",label:t.label?t.label:(0,r.loc)("goback","login"),name:"cancel",type:"link"}]};t.getBackToSignInLink=function(e){var t=e.settings,n=e.appState,o={};return null!=t&&t.get("backToSignInUri")?o.href=t.get("backToSignInUri"):null!=t&&t.get("oauth2Enabled")?o.clickHandler=function(){n.trigger("restartLoginFlow")}:o.href=null==t?void 0:t.get("baseUrl"),[s({type:"link",label:(0,r.loc)("goback","login"),name:"go-back"},o)]};t.getReloadPageButtonLink=function(){return[{type:"link",label:(0,r.loc)("oie.try.again","login"),name:"try-again",href:window.location,className:"button button-primary text-align-c"}]};t.getSignUpLink=function(e,t){var n=[];if(e.hasRemediationObject(o.FORMS.SELECT_ENROLL_PROFILE)){var i={type:"link",label:(0,r.loc)("oie.registration.form.title","login"),name:"enroll"};r._.isFunction(t.get("registration.click"))?i.clickHandler=t.get("registration.click"):i.actionPath=o.FORMS.SELECT_ENROLL_PROFILE,n.push(i)}return n};t.getFactorPageCustomLink=function(e,t){var n=[],r=[o.FORMS.CHALLENGE_AUTHENTICATOR,o.FORMS.SELECT_AUTHENTICATOR_AUTHENTICATE,o.FORMS.CHALLENGE_POLL,o.FORMS.AUTHENTICATOR_VERIFICATION_DATA];if(!e.get("isPasswordRecovery")&&r.includes(e.get("currentFormName"))){var i=t.get("helpLinks.factorPage.text"),a=t.get("helpLinks.factorPage.href");i&&a&&n.push({type:"link",label:i,name:"factorPageHelpLink",href:a,target:"_blank"})}return n}},7421:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={GMT:"UTC",WET:"WET",CET:"CET",MET:"CET",ECT:"CET",EET:"EET",MIT:"Pacific/Apia",HST:"Pacific/Honolulu",AST:"America/Anchorage",PST:"America/Los_Angeles",MST:"America/Denver",PNT:"America/Phoenix",CST:"America/Chicago",EST:"America/New_York",IET:"America/Indiana/Indianapolis",PRT:"America/Puerto_Rico",CNT:"America/St_Johns",AGT:"America/Argentina/Buenos_Aires",BET:"America/Sao_Paulo",ART:"Africa/Cairo",CAT:"Africa/Harare",EAT:"Africa/Addis_Ababa",NET:"Asia/Yerevan",PLT:"Asia/Karachi",IST:"Asia/Kolkata",BST:"Asia/Dhaka",VST:"Asia/Ho_Chi_Minh",CTT:"Asia/Shanghai",JST:"Asia/Tokyo",ACT:"Australia/Darwin",AET:"Australia/Sydney",SST:"Pacific/Guadalcanal",NST:"Pacific/Auckland"},e.exports=t.default},9306:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=n(3966),a=n(4817),s=(r=n(9895))&&r.__esModule?r:{default:r};var l="security.access_denied_custom_message",u=i.BaseForm.extend({title:function(){var e=(0,o.loc)("oie.success.text.signingIn","login"),t=this.options.appState.get("app"),n=this.options.appState.get("user");if(!this.redirectView||this.redirectView===a.INTERSTITIAL_REDIRECT_VIEW.NONE)return e=(0,o.loc)("oie.success.text.signingIn.with.ellipsis","login");if(o._.isEmpty(t))return e;var r=t.label,i=t.name,s=(n||{}).identifier,l=r||i;return l&&s&&!this.settings.get("features.showIdentifier")?e=(0,o.loc)("oie.success.text.signingIn.with.appName.and.identifier","login",[l,s]):l&&(e=(0,o.loc)("oie.success.text.signingIn.with.appName","login",[l])),e},showMessages:function(){if(this.isUnlockSuccess()){var e=(0,o.loc)("oie.selfservice.unlock_user.landing.to.app.signing.in.message","login");this.add('<div class="ion-messages-container"><p>'.concat(e,"</p></div>"),".o-form-error-container")}else if(this.options.appState.containsMessageStartingWithI18nKey(l)){var t=this.options.appState.get("messages").value.find((function(e){return e.i18n.key===l})),n=t.message,r=t.links;this.add((0,o.createCallout)({type:"error",content:new s.default({message:n,links:r})}))}else i.BaseForm.prototype.showMessages.call(this)},isUnlockSuccess:function(){return this.options.appState.containsMessageWithI18nKey("oie.selfservice.unlock_user.landing.to.app.success.message")},noButtonBar:!0,initialize:function(){i.BaseForm.prototype.initialize.apply(this,arguments),this.redirectView=this.settings.get("interstitialBeforeLoginRedirect"),this.model.set("useRedirect",!0),this.trigger("save",this.model)},render:function(){i.BaseForm.prototype.render.apply(this,arguments),this.redirectView===a.INTERSTITIAL_REDIRECT_VIEW.DEFAULT&&this.add('<div class="okta-waiting-spinner"></div>')}}),c=i.BaseView.extend({Body:u});t.default=c,e.exports=t.default},9357:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048),a=n(3966),s=n(4397);var l=a.BaseForm.extend({className:"profile-update",title:function(){return(0,i.loc)("oie.profile.additional.title","login")},save:function(){return(0,i.loc)("enroll.choices.submit.finish","login")},getUISchema:function(){var e=a.BaseForm.prototype.getUISchema.apply(this,arguments);return e.forEach((function(e){"userProfile.secondEmail"===e.name&&(e.explain=i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=(a(n,"i18n")||t&&a(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{$1:"<span class='strong'>$1</span>",bundle:"login",code:"oie.profile.additional.secondemail.subtitle"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:112}}}))?i:""},useData:!0})}))})),e},initialize:function(){a.BaseForm.prototype.initialize.apply(this,arguments)}}),u=a.BaseFooter.extend({className:"auth-footer side-by-side-links",links:function(){var e=this.options.currentViewState.uiSchema,t=e.filter((function(e){return!1===e.required}));if(e.length===t.length)return(0,s.getSkipSetupLink)(this.options.appState,(0,i.loc)("oie.enroll.skip.profile","login"));this.$el.removeClass(".side-by-side-links")}}),c=a.BaseView.extend({Body:l,Footer:u,postRender:function(){a.BaseView.prototype.postRender.apply(this,arguments),this.options.appState.getSchemaByName("userProfile.secondEmail")&&this.model.set("userProfile.secondEmail","")}});t.default=c,e.exports=t.default},4497:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=n(3966),a=n(4817),s=n(2423),l=n(8089),u=(r=n(8870))&&r.__esModule?r:{default:r};function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function f(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 d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==c(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===c(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=i.BaseForm.extend({title:function(){if(this.options.appState.getCurrentViewState().href.endsWith("idp/idx/enroll/update")){var e,t=this.options.appState.attributes;return null!=t&&null!==(e=t.uiDisplay)&&void 0!==e&&e.label?(0,o.loc)("oie.registration.form.customize.label","login",[t.uiDisplay.label]):(0,o.loc)("oie.primaryauth.submit","login")}return(0,o.loc)("oie.registration.form.title","login")},save:function(){if(this.options.appState.getCurrentViewState().href.endsWith("idp/idx/enroll/update")){var e,t=this.options.appState.attributes;return null!=t&&null!==(e=t.uiDisplay)&&void 0!==e&&e.buttonLabel?(0,o.loc)("oie.registration.form.customize.buttonLabel","login",[t.uiDisplay.buttonLabel]):(0,o.loc)("oie.registration.form.update.submit","login")}return(0,o.loc)("oie.registration.form.submit","login")},saveForm:function(){var e=this;this.settings.preRegistrationSubmit(this.model.toJSON(),(function(t){e.model.attributes=d(d({},e.model.attributes),e.model.parse(t)),i.BaseForm.prototype.saveForm.call(e,e.model)}),(function(t){return e.model.trigger("error",e.model,{responseJSON:t})}))},triggerAfterError:function(e,t){var n;(null==t||null===(n=t.responseJSON)||void 0===n?void 0:n.errorCauses)&&Array.isArray(t.responseJSON.errorCauses)&&t.responseJSON.errorCauses.forEach((function(e){var t;null!==(t=e.errorKey)&&void 0!==t&&t.includes("password.passwordRequirementsNotMet")&&(e.errorSummary=(0,o.loc)("registration.error.password.passwordRequirementsNotMet","login"))})),this.options.appState.trigger("afterError",t)}}),m=i.BaseFooter.extend({links:function(){var e=[];return this.options.appState.hasRemediationObject(a.FORMS.SELECT_IDENTIFY)&&e.push({type:"link",label:(0,o.loc)("haveaccount","login"),name:"back",actionPath:a.FORMS.SELECT_IDENTIFY}),e}}),v=i.BaseView.extend({Body:h,Footer:m,createModelClass:function(e,t,n){var r=this,a=JSON.parse(JSON.stringify(e.uiSchema)),s=i.BaseView.prototype.createModelClass.apply(this,arguments,e);return s=s.extend({toJSON:function(){var t=o.Model.prototype.toJSON.call(this,arguments,e);if(t.userProfile){var n=e.uiSchema,r=t.userProfile;o._.each(r,(function(e,t){if(o._.isEmpty(e)){var i=n.find((function(e){return e.name==="userProfile.".concat(t)}));o._.isUndefined(i)||i.required||delete r[t]}}))}return t}}),n.parseRegistrationSchema(a,(function(n){o._.isEqual(n,e.uiSchema)||(e.uiSchema=n,s=i.BaseView.prototype.createModelClass.call(r,e,t))}),(function(e){s=s.extend({local:d({parseSchemaError:{value:e,type:"object"}},s.prototype.local)})})),s},postRender:function(){i.BaseView.prototype.postRender.apply(this,arguments);var e=this.model.get("parseSchemaError");e&&this.model.trigger("error",this.model,{responseJSON:e}),this.renderPasswordPolicySettings();var t=(0,i.createIdpButtons)(this.options);Array.isArray(t)&&t.length&&this._addIdpView(t)},renderPasswordPolicySettings:function(){var e,t,n,r=this.options.currentViewState.value.filter((function(e){return"credentials"===e.name}))[0],o=null==r||null===(e=r.form)||void 0===e?void 0:e.value;o&&o.filter((function(e){return"passcode"===e.name}))&&(0,l.generatePasswordPolicyHtml)(this,(0,s.getPasswordComplexityDescriptionForHtmlList)(null==r||null===(t=r.relatesTo)||void 0===t||null===(n=t.value)||void 0===n?void 0:n.settings),!1)},_addIdpView:function(e){var t=this.options.settings.get("idpDisplay"),n=t&&"PRIMARY"===t.toUpperCase();this.add(u.default,{prepend:n,selector:n?".o-form-fieldset-container":".o-form-button-bar",options:{idpButtons:e,isPrimaryIdpDisplay:n}})}});t.default=v,e.exports=t.default},4307:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=n(4817),i=n(3966),a=g(n(5110)),s=g(n(2068)),l=g(n(5964)),u=g(n(8870)),c=g(n(4972)),f=g(n(4393)),d=g(n(6434)),p=n(6589),h=n(4397),m=g(n(9256)),v=g(n(9895));function g(e){return e&&e.__esModule?e:{default:e}}function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function b(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 _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){w(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function w(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==y(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==y(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===y(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var O="security.access_denied_custom_message",k=i.BaseForm.extend({title:function(){return(0,r.loc)("primaryauth.title","login")},save:function(){return(0,r.loc)("oform.next","login")},initialize:function(){i.BaseForm.prototype.initialize.apply(this,arguments);var e=this.getUISchema();e.find((function(e){return"credentials.passcode"===e.name}))&&(this.save=(0,r.loc)("oie.primaryauth.submit","login")),this._shouldAddUsername(e)?this.model.set("identifier",this.settings.get("username")):!this.model.get("identifier")&&this._shouldApplyRememberMyUsername(e)&&this._applyRememberMyUsername()},saveForm:function(){var e=this,t=arguments;if(this.settings.get("features.deviceFingerprinting")){var n={oktaDomainUrl:this.settings.get("baseUrl"),element:this.$el};a.default.generateDeviceFingerprint(n).then((function(t){e.options.appState.set("deviceFingerprint",t)})).catch((function(){})).finally((function(){i.BaseForm.prototype.saveForm.apply(e,t)}))}else i.BaseForm.prototype.saveForm.apply(this,arguments)},render:function(){i.BaseForm.prototype.render.apply(this,arguments),this.options.appState.hasRemediationObject(o.FORMS.LAUNCH_AUTHENTICATOR)&&this.add(f.default,".o-form-fieldset-container",!1,!0,{isRequired:!1}),this.options.appState.hasRemediationObject(o.FORMS.LAUNCH_WEBAUTHN_AUTHENTICATOR)&&this.add(d.default,".o-form-fieldset-container",!1,!0,{isRequired:!1});var e=(0,i.createIdpButtons)(this.options);Array.isArray(e)&&e.length&&(this._addForgotPasswordView(),this._addIdpView(e));var t=(0,i.createCustomButtons)(this.options.settings);Array.isArray(t)&&t.length&&this.add(c.default,{selector:".o-form-button-bar",options:{customButtons:t,addSeparateLine:!0}})},postRender:function(){i.BaseForm.prototype.postRender.apply(this,arguments),this.$el.find(".identifier-container").remove()},getUISchema:function(){var e=i.BaseForm.prototype.getUISchema.apply(this,arguments),t=this.options.settings,n="primaryauth.username.tooltip",o="primaryauth.password.tooltip",a=e.map((function(e){var i=_({},e);return"identifier"===e.name?((0,p.isCustomizedI18nKey)(n,t)&&(i=_(_({},i),{},{explain:(0,r.loc)(n,"login"),"explain-top":!0})),i=_(_({},i),{},{autoComplete:"username"})):"credentials.passcode"===e.name&&(i=_(_({},i),{},{autoComplete:"current-password"}),(0,p.isCustomizedI18nKey)(o,t)&&(i=_(_({},i),{},{explain:(0,r.loc)(o,"login"),"explain-top":!0}))),i}));return!1===this.settings.get("features.showKeepMeSignedIn")&&(a=a.filter((function(e){return"rememberMe"!==e.name}))),a},showCustomFormErrorCallout:function(e,t){var n,o;if(null==e||null===(n=e.responseJSON)||void 0===n||null===(o=n.errorSummaryKeys)||void 0===o||!o.includes(O))return!1;var i=t.find((function(e){return e.i18n.key===O}));if(!i)return!1;var a=e.responseJSON.errorSummary,s={type:"error",content:new v.default({message:a,links:i.links})};return this.showMessages((0,r.createCallout)(s)),!0},_addForgotPasswordView:function(){var e=(0,h.getForgotPasswordLink)(this.options.appState,this.options.settings);e.length&&(this.add('<div class="links-primary"></div>',{selector:".o-form-button-bar"}),this.add(l.default,{selector:".links-primary",options:e[0]}))},_addIdpView:function(e){var t=this.options.settings.get("idpDisplay"),n=t&&"PRIMARY"===t.toUpperCase();this.add(u.default,{prepend:n,selector:n?".o-form-fieldset-container":".o-form-button-bar",options:{idpButtons:e,isPrimaryIdpDisplay:n}})},_shouldAddUsername:function(e){return e.find((function(e){return"identifier"===e.name}))&&this.settings.get("username")},_shouldApplyRememberMyUsername:function(e){return e.find((function(e){return"identifier"===e.name}))&&this.settings.get("features.rememberMe")&&this.settings.get("features.rememberMyUsernameOnOIE")},_applyRememberMyUsername:function(){var e=m.default.getCookieUsername();e&&this.model.set("identifier",e)}}),E=i.BaseView.extend({Body:k,createModelClass:function(){var e=this,t=i.BaseView.prototype.createModelClass.apply(this,arguments),n="error.username.required",o="error.password.required",a=t.prototype.props,s=function(t){var i={},s=a.identifier&&!(null!=t&&t.identifier),l=a["credentials.passcode"]&&!(null!=t&&t["credentials.passcode"]);return s&&(0,p.isCustomizedI18nKey)(n,e.settings)&&(i.identifier=(0,r.loc)(n,"login")),l&&(0,p.isCustomizedI18nKey)(o,e.settings)&&(i["credentials.passcode"]=(0,r.loc)(o,"login")),i};return t.extend({validate:s})},initialize:function(){var e=this;this.Footer=s.default.extend({showForgotPasswordLink:function(){var t=(0,i.createIdpButtons)(e.options);return!(e.options.appState.isIdentifierOnlyView()||Array.isArray(t)&&0!==t.length)}})},postRender:function(){i.BaseView.prototype.postRender.apply(this,arguments);var e=this.options.appState;this.$el.find(".js-sign-up").click((function(){return e.trigger("invokeAction",o.FORMS.SELECT_ENROLL_PROFILE),!1}))}});t.default=E,e.exports=t.default},7311:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=n(3966);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===i(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=o.BaseForm.extend({title:function(){return(0,r.loc)("password.reset.title.generic","login")},save:function(){return(0,r.loc)("oform.next","login")},getUISchema:function(){var e=o.BaseForm.prototype.getUISchema.apply(this,arguments),t=e.map((function(e){var t=s({},e);return"identifier"===e.name&&(t=s(s({},t),{},{autoComplete:"username"})),t}));return t}}),c=o.BaseView.extend({Body:u,Footer:o.BaseFooter});t.default=c,e.exports=t.default},1762:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048),a=n(3966),s=n(2945);var l=i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="ion-messages-container"><p>'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{$1:"<span class='strong'>$1</span>",arguments:"countDownCounterValue",bundle:"login",code:"poll.form.message"},data:o,loc:{start:{line:1,column:39},end:{line:1,column:157}}}))+'</p></div><div class="hide okta-waiting-spinner"></div>'},useData:!0}),getTemplateData:function(){return{countDownCounterValue:this.options}}}),u=a.BaseForm.extend(Object.assign({title:function(){return(0,i.loc)("poll.form.title","login")},noButtonBar:!0,initialize:function(){var e=this;a.BaseForm.prototype.initialize.apply(this,arguments);var t=this.options.appState.getCurrentViewState().refresh;this.refreshTimeout=setTimeout((function(){e.$el.find(".okta-waiting-spinner").show(),setTimeout((function(){return e.saveForm(e.model)}),200)}),t)},render:function(){a.BaseForm.prototype.render.apply(this,arguments),this.countDownCounterValue=Math.ceil(this.options.appState.getCurrentViewState().refresh/s.MS_PER_SEC),this.add(new l(this.countDownCounterValue)),this.startCountDown(".ion-messages-container span",s.MS_PER_SEC)},remove:function(){a.BaseForm.prototype.remove.apply(this,arguments),clearTimeout(this.refreshTimeout)},triggerAfterError:function(){a.BaseForm.prototype.triggerAfterError.apply(this,arguments),clearTimeout(this.refreshTimeout),this.stopCountDown(),this.$el.find(".o-form-fieldset-container").empty()},startCountDown:function(e,t){var n=this;this.countDown&&clearInterval(this.countDown),this.counterEl=this.$el.find(e),this.countDown=setInterval((function(){"0"!==n.counterEl.text()&&n.counterEl.text(n.counterEl.text()-1)}),t,this)},stopCountDown:function(){this.countDown&&clearInterval(this.countDown)}})),c=a.BaseView.extend({Body:u});t.default=c,e.exports=t.default},771:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(4307))&&r.__esModule?r:{default:r};var i=o.default.extend({render:function(){o.default.prototype.render.apply(this,arguments),this.$el.find(".sign-in-with-idp .separation-line").hide(),this.$el.find(".button-primary").hide()}});t.default=i,e.exports=t.default},7196:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(3966),o=n(2048),i=r.BaseForm.extend({title:function(){return(0,o.loc)("oie.select.authenticators.enroll.title","login")},subtitle:function(){var e=this.options.settings.get("brandName")?(0,o.loc)("oie.select.authenticators.enroll.subtitle.custom","login",[this.options.settings.get("brandName")]):(0,o.loc)("oie.select.authenticators.enroll.subtitle","login");return e},noButtonBar:!0}),a=r.BaseView.extend({Body:i});t.default=a,e.exports=t.default},5582:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Body=void 0;var r,o=n(3966),i=n(2048),a=(r=n(7632))&&r.__esModule?r:{default:r},s=n(4397);var l=o.BaseForm.extend({title:function(){return this.isPasswordRecoveryFlow()?(0,i.loc)("password.reset.title.generic","login"):(0,i.loc)("oie.select.authenticators.verify.title","login")},subtitle:function(){if(this.isPasswordRecoveryFlow())return(0,i.loc)("oie.password.reset.verification","login");if(!this.isUnlockSuccess())return(0,i.loc)("oie.select.authenticators.verify.subtitle","login");var e=(0,i.loc)("oie.select.authenticators.verify.subtitle","login");this.add('<div class="ion-messages-container"><p>'.concat(e,"</p></div>"),".o-form-error-container")},isPasswordRecoveryFlow:function(){return this.options.appState.get("isPasswordRecovery")},noButtonBar:!0,showMessages:function(){if(this.isUnlockSuccess()){var e={};return e.subtitle=(0,i.loc)("oie.selfservice.unlock_user.landing.to.app.success.message","login"),e.type="success",e=(0,i.createCallout)(e),void o.BaseForm.prototype.showMessages.call(this,e)}o.BaseForm.prototype.showMessages.call(this)},isUnlockSuccess:function(){return this.options.appState.containsMessageWithI18nKey("oie.selfservice.unlock_user.landing.to.app.success.message")}});t.Body=l;var u=o.BaseView.extend({Body:l,Footer:a.default.extend({links:function(){return(0,s.getFactorPageCustomLink)(this.options.appState,this.options.settings)}})});t.default=u},5674:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.REGISTRATION_NOT_ENABLED=t.FORGOT_PASSWORD_NOT_ENABLED=void 0;var o,i=n(2048),a=n(3966),s=n(4397),l=f(n(7853)),u=n(2035),c=f(n(9895));function f(e){return e&&e.__esModule?e:{default:e}}function d(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var h="idx.return.link.expired",m="idx.enter.otp.in.original.tab",v="idx.error.server.safe.mode",g="oie.selfservice.unlock_user.success.message",y="idx.return.to.original.tab",b="idx.operation.cancelled.on.other.device",_="idx.device.activated",w="idx.device.not.activated.consent.denied",O="idx.device.not.activated.internal.error",k="idx.transferred.to.new.tab",E="oie.registration.is.not.enabled";t.REGISTRATION_NOT_ENABLED=E;var S="oie.forgot.password.is.not.enabled";t.FORGOT_PASSWORD_NOT_ENABLED=S;var x,T=[k,"idx.return.stale","idx.return.error","idx.email.verification.required",y,h,b,"idx.operation.cancelled.by.user",m],A=[w,O],C=[_].concat(A),P=[g,y,k,b].concat(function(e){if(Array.isArray(e))return p(e)}(x=C)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(x)||function(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}(x)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),["oie.selfservice.unlock_user.challenge.failed.permissions","oie.selfservice.reset.password.not.allowed",m]),R=(d(o={},h,"oie.email.return.link.expired.title"),d(o,g,"account.unlock.unlocked.title"),d(o,_,"device.code.activated.success.title"),d(o,E,"oie.registration.form.title"),d(o,S,"password.reset.title.generic"),d(o,"idx.expired.activation.token","oie.activation.request.email.title.expire"),d(o,"idx.request.activation.email","oie.activation.request.email.title.submitted"),d(o,"idx.activating.inactive.user","oie.activation.request.email.title.suspended"),d(o,"idx.missing.activation.token","oie.activation.request.email.title.invalid"),d(o,w,"device.code.activated.error.title"),d(o,O,"device.code.activated.error.title"),d(o,y,"oie.consent.enduser.email.allow.title"),d(o,m,"idx.return.link.otponly.your.verification.code"),o),N=a.BaseForm.extend({noButtonBar:!0,postRender:function(){if(a.BaseForm.prototype.postRender.apply(this,arguments),this.$el.addClass("terminal-state"),this.options.appState.containsMessageWithI18nKey(C)){var e=this.options.appState.containsMessageWithI18nKey(_)?"success-24-green":"error-24-red";this.$(".o-form-head").before('<div class="device-code-terminal--icon-container"><span class="device-code-terminal--icon '+e+'"></span></div>')}},title:function(){return this.getTerminalViewTitle()},getTerminalViewTitle:function(){var e=this;if(this.options.appState.containsMessageStartingWithI18nKey(v))return(0,i.loc)("oie.safe.mode.title","login");var t=Object.keys(R).find((function(t){return e.options.appState.containsMessageWithI18nKey(t)}));return t?(0,i.loc)(R[t],"login"):void 0},showMessages:function(){var e,t=this.options.appState.get("messages"),n=!1;this.options.appState.containsMessageWithI18nKey(b)?(e=(0,i.loc)("idx.operation.cancelled.on.other.device","login"),t.value.push({message:(0,i.loc)("oie.consent.enduser.deny.description","login")})):this.options.appState.containsMessageWithI18nKey(y)?(e=(0,i.loc)("oie.consent.enduser.email.allow.description","login"),t.value.push({message:(0,i.loc)("oie.return.to.original.tab","login")})):this.options.appState.containsMessageWithI18nKey("tooManyRequests")?e=(0,i.loc)("oie.tooManyRequests","login"):this.options.appState.containsMessageWithI18nKey(h)?t.value[0].class="ERROR":this.options.appState.containsMessageWithI18nKey(m)?(this.add(u.OTPInformationTerminalView),n=!0):this.options.appState.containsMessageStartingWithI18nKey("security.access_denied_custom_message")&&(this.add((0,i.createCallout)({type:"error",content:new c.default({message:t.value[0].message,links:t.value[0].links})})),n=!0),e&&Array.isArray(null==t?void 0:t.value)&&(t.value[0].message=e),this.options.appState.set("messages",t),n||a.BaseForm.prototype.showMessages.call(this)}}),I=a.BaseFooter.extend({links:function(){return this.options.appState.containsMessageStartingWithI18nKey(v)?(0,s.getSkipSetupLink)(this.options.appState):this.options.appState.containsMessageWithI18nKey(A)?(0,s.getReloadPageButtonLink)():this.options.appState.hasActionObject("cancel")||this.options.appState.containsMessageWithI18nKey(P)?void 0:(0,s.getBackToSignInLink)(this.options)}}),M=a.BaseView.extend({initialize:function(){a.BaseView.prototype.initialize.apply(this,arguments),this.options.appState.containsMessageWithI18nKey(T)&&(this.Header=l.default)},Body:N,Footer:I});t.default=M},4449:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(3966),o=n(2048),i=r.BaseForm.extend({title:function(){return(0,o.loc)("oie.activation.request.email.title.expire","login")},save:function(){return(0,o.loc)("oie.activation.request.email.button","login")}}),a=r.BaseView.extend({Body:i});t.default=a,e.exports=t.default},1146:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(3966),o=n(2048),i=r.BaseForm.extend({noButtonBar:!0,title:function(){return(0,o.loc)("unlockaccount","login")}}),a=r.BaseView.extend({initialize:function(){r.BaseView.prototype.initialize.apply(this,arguments),this.Body=i}});t.default=a,e.exports=t.default},6688:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(6276)),o=n(2048),i=s(n(5115)),a=n(2945);function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}var u="OktaSignInWidgetOnCaptchaLoaded",c="OktaSignInWidgetOnCaptchaSolved",f="https://hcaptcha.com/1/api.js?onload=".concat(u,"&render=explicit"),d="https://www.google.com/recaptcha/api.js?onload=".concat(u,"&render=explicit"),p=o.View.extend({className:"captcha-view",template:r.default.template({1:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,u="function",c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div id ="captcha-container" class="'+c(l(i=null!=(i=f(n,"className")||(null!=t?f(t,"className"):t))?i:s)===u?i.call(a,{name:"className",hash:{},data:o,loc:{start:{line:1,column:63},end:{line:1,column:76}}}):i)+'" data-sitekey="'+c(l(i=null!=(i=f(n,"siteKey")||(null!=t?f(t,"siteKey"):t))?i:s)===u?i.call(a,{name:"siteKey",hash:{},data:o,loc:{start:{line:1,column:92},end:{line:1,column:103}}}):i)+'" data-callback="'+c(l(i=null!=(i=f(n,"onCaptchaSolvedCallback")||(null!=t?f(t,"onCaptchaSolvedCallback"):t))?i:s)===u?i.call(a,{name:"onCaptchaSolvedCallback",hash:{},data:o,loc:{start:{line:1,column:120},end:{line:1,column:147}}}):i)+'" data-size="invisible"></div>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"isCaptchaConfigured"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:184}}}))?i:""},useData:!0}),getTemplateData:function(){if(this.captchaConfig){var e="HCAPTCHA"===this.captchaConfig.type?"h-captcha":"g-recaptcha";return{siteKey:this.captchaConfig.siteKey,isCaptchaConfigured:!0,onCaptchaSolvedCallback:c,className:e}}return{}},initialize:function(){this.options.appState.get("captcha")&&(this.captchaConfig=this.options.appState.get("captcha"),this._addCaptcha())},remove:function(){o.View.prototype.remove.apply(this,arguments),"HCAPTCHA"===this.captchaConfig.type?window.hcaptcha=void 0:"RECAPTCHA_V2"===this.captchaConfig.type&&(window.grecaptcha=void 0)},_addCaptcha:function(){var e=this,t=function(t){var n=e._getCaptchaOject(),r=e.$el.find("#captcha-container").attr("data-captcha-id");n.reset(r);var o=e.options.name;e.model.set(o,t),e.options.appState.trigger("saveForm",e.model)};window.OktaSignInWidgetOnCaptchaLoaded=function(){if(!e.$el.find("#captcha-container").attr("data-captcha-id")){var n=e._getCaptchaOject();e.model.set(e.options.name,"tempToken");var r=n.render("captcha-container",{sitekey:e.captchaConfig.siteKey,callback:t});e.$el.find("#captcha-container").attr("data-captcha-id",r),e.options.appState.trigger("onCaptchaLoaded",n),"HCAPTCHA"===e.captchaConfig.type&&e._addHCaptchaFooter()}},window.OktaSignInWidgetOnCaptchaSolved=t,"HCAPTCHA"===this.captchaConfig.type?this._loadCaptchaLib(this._getCaptchaUrl(f)):"RECAPTCHA_V2"===this.captchaConfig.type&&this._loadCaptchaLib(this._getCaptchaUrl(d))},_loadCaptchaLib:function(e){var t=document.createElement("script");t.src=e,t.async=!0,t.defer=!0,document.getElementById(i.default.WIDGET_CONTAINER_ID).appendChild(t)},_addHCaptchaFooter:function(){var e=document.getElementsByClassName(a.WIDGET_FOOTER_CLASS);if(e.length){var t=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="captcha-footer"><span class="footer-text">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{$2:"<a href='https://hcaptcha.com/terms' target='_blank'>$2</a>",$1:"<a href='https://hcaptcha.com/privacy' target='_blank'>$1</a>",bundle:"login",code:"hcaptcha.footer.label"},data:o,loc:{start:{line:1,column:54},end:{line:1,column:238}}}))+"</span></div>"},useData:!0});e[0].insertAdjacentHTML("beforeend",t())}},_getCaptchaOject:function(){return"HCAPTCHA"===this.captchaConfig.type?window.hcaptcha:window.grecaptcha},_getCaptchaUrl:function(e){var t=this.options.settings.get("language");return"".concat(e,"&hl=").concat(t||navigator.language)}});t.default=p,e.exports=t.default},5927:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(3966),o=n(2048),i=l(n(1332)),a=l(n(2020)),s=n(6589);function l(e){return e&&e.__esModule?e:{default:e}}var u=r.BaseView.extend({Header:i.default,Body:a.default,createModelClass:function(e){var t=r.BaseView.prototype.createModelClass.apply(this,arguments),n=e.uiSchema,i=n[0].scopes,a="consent.scopes",l=i.map((function(e){var t=e.name,n=e.displayName,r=e.description,i="".concat(a,".").concat(t),l="".concat(i,".label"),u="".concat(i,".desc"),c=(0,s.doesI18NKeyExist)(l),f=(0,s.doesI18NKeyExist)(u);return{name:t,displayName:c?(0,o.loc)(l,"login"):n,description:f?(0,o.loc)(u,"login"):r,isCustomized:!c}}));return t.extend({props:{scopes:{type:"array",value:l}},local:{consent:{type:"boolean",value:!1}},toJSON:function(){return{consent:this.get("consent")}}})}});t.default=u,e.exports=t.default},1332:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var s=i.View.extend({className:"consent-title detail-row",titleText:function(){return(0,i.loc)("oie.consent.scopes.admin.title","login")},hasIssuer:!0,template:o.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"clientURI")||(null!=t?a(t,"clientURI"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"clientURI",hash:{},data:o,loc:{start:{line:1,column:26},end:{line:1,column:39}}}):i)+'" class="client-logo-link" target="_blank">'},3:function(e,t,n,r,o){var i,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u="function",c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<img class="client-logo custom-logo" src="'+c(a(i=null!=(i=f(n,"customLogo")||(null!=t?f(t,"customLogo"):t))?i:l)===u?i.call(s,{name:"customLogo",hash:{},data:o,loc:{start:{line:1,column:149},end:{line:1,column:163}}}):i)+'" alt="'+c(a(i=null!=(i=f(n,"altText")||(null!=t?f(t,"altText"):t))?i:l)===u?i.call(s,{name:"altText",hash:{},data:o,loc:{start:{line:1,column:170},end:{line:1,column:181}}}):i)+'" aria-hidden="true" />'},5:function(e,t,n,r,o){var i,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u="function",c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<img class="client-logo default-logo" src="'+c(a(i=null!=(i=f(n,"defaultLogo")||(null!=t?f(t,"defaultLogo"):t))?i:l)===u?i.call(s,{name:"defaultLogo",hash:{},data:o,loc:{start:{line:1,column:255},end:{line:1,column:270}}}):i)+'" alt="'+c(a(i=null!=(i=f(n,"altText")||(null!=t?f(t,"altText"):t))?i:l)===u?i.call(s,{name:"altText",hash:{},data:o,loc:{start:{line:1,column:277},end:{line:1,column:288}}}):i)+'" aria-hidden="true" />'},7:function(e,t,n,r,o){return"</a>"},9:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="issuer no-translate"><span>'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"issuer")||(null!=t?a(t,"issuer"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"issuer",hash:{},data:o,loc:{start:{line:1,column:493},end:{line:1,column:503}}}):i)+"</span></div>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c="function",f=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=d(n,"if").call(l,null!=t?d(t,"clientURI"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:89}}}))?i:"")+(null!=(i=d(n,"if").call(l,null!=t?d(t,"customLogo"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.program(5,o,0),data:o,loc:{start:{line:1,column:89},end:{line:1,column:318}}}))?i:"")+(null!=(i=d(n,"if").call(l,null!=t?d(t,"clientURI"):t,{name:"if",hash:{},fn:e.program(7,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:318},end:{line:1,column:346}}}))?i:"")+'<h1><span class="title-text"><b class="no-translate">'+f(a(s=null!=(s=d(n,"appName")||(null!=t?d(t,"appName"):t))?s:u)===c?s.call(l,{name:"appName",hash:{},data:o,loc:{start:{line:1,column:399},end:{line:1,column:410}}}):s)+"</b> "+f(a(s=null!=(s=d(n,"titleText")||(null!=t?d(t,"titleText"):t))?s:u)===c?s.call(l,{name:"titleText",hash:{},data:o,loc:{start:{line:1,column:420},end:{line:1,column:433}}}):s)+"</span>"+(null!=(i=d(n,"if").call(l,null!=t?d(t,"issuer"):t,{name:"if",hash:{},fn:e.program(9,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:440},end:{line:1,column:523}}}))?i:"")+"</h1>"},useData:!0}),getTemplateData:function(){var e=this.options.appState,t=e.get("app"),n=t.label,r=t.clientUri,o=t.logo,a=e.get("authentication").issuer,s=null==o?void 0:o.href,l=(0,i.loc)("logo.for.the.app.alt.text","login"),u=i._.escape(n);return{customLogo:s,defaultLogo:"/img/logos/default.png",clientURI:null==r?void 0:r.href,issuer:this.hasIssuer?null==a?void 0:a.uri:null,altText:l,appName:u,titleText:this.titleText()}}});t.default=s,e.exports=t.default},2020:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=n(3966).BaseForm.extend({noButtonBar:!1,noCancelButton:!1,buttonOrder:["cancel","save"],save:function(){return(0,r.loc)("consent.required.consentButton","login")},cancel:function(){return(0,r.loc)("consent.required.cancelButton","login")},title:!1,events:{'click input[data-type="save"]':function(){this.setConsent(!0)}},setConsent:function(e){this.model.set("consent",e)},cancelForm:function(){this.setConsent(!1),this.options.appState.trigger("saveForm",this.model)}});t.default=o,e.exports=t.default},2035:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OTPInformationTerminalView=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var s={AUTHENTICATION:(0,i.loc)("idx.return.link.otponly.enter.code.on.page.sign.in","login"),RECOVERY:(0,i.loc)("idx.return.link.otponly.enter.code.on.page.password.reset","login"),UNLOCK_ACCOUNT:(0,i.loc)("idx.return.link.otponly.enter.code.on.page.account.unlock","login"),ENROLLMENT:(0,i.loc)("idx.return.link.otponly.enter.code.on.page.registration","login")},l=function(e,t){var n,r,o,a,l,u,c,f=t.get("app"),d=t.get("client"),p=s[t.get("idx").context.intent];return o=p?(0,i.loc)("idx.return.link.otponly.enter.code.on.page","login",[p]):(0,i.loc)("idx.enter.otp.in.original.tab","login"),f&&(a=(0,i.loc)("idx.return.link.otponly.app","login",[f.label])),d&&(u=(l=(0,i.loc)("idx.return.link.otponly.browser.on.os","login",[d.browser,d.os])).includes("Android")||l.includes("iOS"),c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.city||e.country?e.state?(0,i.loc)("geolocation.formatting.all","login",[e.city,e.state,e.country]):(0,i.loc)("geolocation.formatting.partial","login",[e.city,e.country]):null}(d.location)),{showRequestInfo:a||l||c,appName:a,browserOnOsString:l,isMobileDevice:u,geolocation:c,otp:e.get("otp")||(null===(n=t.get("currentAuthenticator"))||void 0===n||null===(r=n.contextualData)||void 0===r?void 0:r.otp),enterCodeOnFlowPage:o}},u=i.View.extend({getTemplateData:function(){return l(this.options.settings,this.options.appState)}}).extend({template:o.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="enduser-email-otp-only--info"><div class="okta-form-label">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"idx.return.link.otponly.request"},data:o,loc:{start:{line:1,column:198},end:{line:1,column:260}}}))+"</div></div>"},3:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="enduser-email-otp-only--info">'+(null!=(i=l(n,"if").call(s,null!=t?l(t,"isMobileDevice"):t,{name:"if",hash:{},fn:e.program(4,o,0),inverse:e.program(6,o,0),data:o,loc:{start:{line:1,column:346},end:{line:1,column:540}}}))?i:"")+'<div data-se="otp-browser-os">'+e.escapeExpression("function"==typeof(a=null!=(a=l(n,"browserOnOsString")||(null!=t?l(t,"browserOnOsString"):t))?a:e.hooks.helperMissing)?a.call(s,{name:"browserOnOsString",hash:{},data:o,loc:{start:{line:1,column:570},end:{line:1,column:591}}}):a)+"</div></div>"},4:function(e,t,n,r,o){return'<i class="enduser-email-otp-only--icon icon--smartphone" aria-hidden="true"></i>'},6:function(e,t,n,r,o){return'<i class="enduser-email-otp-only--icon icon--desktop" aria-hidden="true"></i>'},8:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="enduser-email-otp-only--info"><i class="enduser-email-otp-only--icon icon--app" aria-hidden="true"></i><div data-se="otp-app">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"appName")||(null!=t?a(t,"appName"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"appName",hash:{},data:o,loc:{start:{line:1,column:763},end:{line:1,column:774}}}):i)+"</div></div>"},10:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="enduser-email-otp-only--info"><i class="enduser-email-otp-only--icon icon--location" aria-hidden="true"></i><div data-se="otp-geolocation">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"geolocation")||(null!=t?a(t,"geolocation"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"geolocation",hash:{},data:o,loc:{start:{line:1,column:963},end:{line:1,column:978}}}):i)+"</div></div>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c="function",f=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="enter-code-on-page">'+f(a(s=null!=(s=d(n,"enterCodeOnFlowPage")||(null!=t?d(t,"enterCodeOnFlowPage"):t))?s:u)===c?s.call(l,{name:"enterCodeOnFlowPage",hash:{},data:o,loc:{start:{line:1,column:30},end:{line:1,column:53}}}):s)+"</p><h1 class='otp-value no-translate'>"+f(a(s=null!=(s=d(n,"otp")||(null!=t?d(t,"otp"):t))?s:u)===c?s.call(l,{name:"otp",hash:{},data:o,loc:{start:{line:1,column:92},end:{line:1,column:99}}}):s)+"</h1>"+(null!=(i=d(n,"if").call(l,null!=t?d(t,"showRequestInfo"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:104},end:{line:1,column:279}}}))?i:"")+(null!=(i=d(n,"if").call(l,null!=t?d(t,"browserOnOsString"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:279},end:{line:1,column:610}}}))?i:"")+(null!=(i=d(n,"if").call(l,null!=t?d(t,"appName"):t,{name:"if",hash:{},fn:e.program(8,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:610},end:{line:1,column:793}}}))?i:"")+(null!=(i=d(n,"if").call(l,null!=t?d(t,"geolocation"):t,{name:"if",hash:{},fn:e.program(10,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:793},end:{line:1,column:997}}}))?i:"")+"<br><p class='otp-warning'>"+f((d(n,"i18n")||t&&d(t,"i18n")||u).call(l,{name:"i18n",hash:{bundle:"login",code:"idx.return.link.otponly.warning.text"},data:o,loc:{start:{line:1,column:1024},end:{line:1,column:1091}}}))+"</p>"},useData:!0})});t.OTPInformationTerminalView=u},2039:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r};var i=n(2048).View.extend({className:"consent-description detail-row",template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"consent.required.description"},data:o,loc:{start:{line:1,column:3},end:{line:1,column:62}}}))+"</p>"},useData:!0})});t.default=i,e.exports=t.default},6647:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(5927)),o=s(n(9098)),i=s(n(999)),a=s(n(2039));function s(e){return e&&e.__esModule?e:{default:e}}var l=r.default.extend({Header:i.default,Footer:o.default,postRender:function(){var e=this.$el.find(".scope-list"),t=(new a.default).render().el;e.after(t)}});t.default=l,e.exports=t.default},9098:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r};var i=n(2048).View.extend({className:"consent-footer",template:o.default.template({1:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="terms-of-service" href="'+u("function"==typeof(a=null!=(a=c(n,"termsOfService")||(null!=t?c(t,"termsOfService"):t))?a:l)?a.call(s,{name:"termsOfService",hash:{},data:o,loc:{start:{line:1,column:56},end:{line:1,column:74}}}):a)+'" target="_blank">'+u((c(n,"i18n")||t&&c(t,"i18n")||l).call(s,{name:"i18n",hash:{bundle:"login",code:"consent.required.termsOfService"},data:o,loc:{start:{line:1,column:92},end:{line:1,column:154}}}))+"</a>"+(null!=(i=c(n,"if").call(s,null!=t?c(t,"privacyPolicy"):t,{name:"if",hash:{},fn:e.program(2,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:158},end:{line:1,column:226}}}))?i:"")},2:function(e,t,n,r,o){return'<span class="no-translate">•</span>'},4:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="privacy-policy" href="'+l("function"==typeof(i=null!=(i=u(n,"privacyPolicy")||(null!=t?u(t,"privacyPolicy"):t))?i:s)?i.call(a,{name:"privacyPolicy",hash:{},data:o,loc:{start:{line:1,column:286},end:{line:1,column:303}}}):i)+'" target="_blank">'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"consent.required.privacyPolicy"},data:o,loc:{start:{line:1,column:321},end:{line:1,column:382}}}))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"termsOfService"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:233}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"privacyPolicy"):t,{name:"if",hash:{},fn:e.program(4,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:233},end:{line:1,column:393}}}))?i:"")},useData:!0}),getTemplateData:function(){var e=this.options.appState.get("app");return{termsOfService:e.termsOfService&&e.termsOfService.href,privacyPolicy:e.privacyPolicy&&e.privacyPolicy.href}}});t.default=i,e.exports=t.default},999:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048);var i=((r=n(1332))&&r.__esModule?r:{default:r}).default.extend({titleText:function(){return(0,o.loc)("oie.consent.scopes.enduser.title","login")},hasIssuer:!1});t.default=i,e.exports=t.default},7802:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(6276)),o=n(2048),i=n(3966),a=u(n(2020)),s=u(n(894)),l=u(n(7853));function u(e){return e&&e.__esModule?e:{default:e}}var c=r.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="enduser-email-consent--info no-translate"><i class="enduser-email-consent--icon icon--desktop"></i><div>'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"browser")||(null!=t?a(t,"browser"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"browser",hash:{},data:o,loc:{start:{line:1,column:131},end:{line:1,column:142}}}):i)+"</div></div>"},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="enduser-email-consent--info no-translate"><i class="enduser-email-consent--icon icon--app"></i><div>'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"app")||(null!=t?a(t,"app"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"app",hash:{},data:o,loc:{start:{line:1,column:284},end:{line:1,column:291}}}):i)+"</div></div>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"browser"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:161}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"app"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:161},end:{line:1,column:310}}}))?i:"")},useData:!0}),f=a.default.extend({className:"enduser-email-consent",title:function(){return(0,o.loc)("oie.consent.enduser.title","login")},save:function(){return(0,o.loc)("oie.consent.enduser.accept.label","login")},cancel:function(){return(0,o.loc)("oie.consent.enduser.deny.label","login")},initialize:function(){i.BaseForm.prototype.initialize.apply(this,arguments);var e=c(this.model.pick("browser","app"));this.add(e)},getUISchema:function(){var e=i.BaseForm.prototype.getUISchema.apply(this,arguments);return e.filter((function(e){return"consent"!==e.name}))}}),d=s.default.extend({Header:l.default,buttonOrder:["cancel","save"],postRender:function(){this.$el.find(".o-form-button-bar").find(".button-primary").removeClass("button-primary")},Body:f,createModelClass:function(e){var t=e.requestInfo,n=s.default.prototype.createModelClass.apply(this,arguments),r=t.find((function(e){return"browser"===e.name})),o=t.find((function(e){return"appName"===e.name})),i=Object.assign({browser:{type:"string",value:null==r?void 0:r.value},app:{type:"string",value:null==o?void 0:o.value}},n.prototype.local);return n.extend({local:i,toJSON:function(){return{consent:this.get("consent")}}})}});t.default=d,e.exports=t.default},2754:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(6276)),o=n(3966),i=n(2048),a=c(n(2020)),s=c(n(1332)),l=c(n(9098)),u=c(n(1888));function c(e){return e&&e.__esModule?e:{default:e}}function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}var d=s.default.extend({hasIssuer:!1,template:r.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"clientURI")||(null!=t?a(t,"clientURI"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"clientURI",hash:{},data:o,loc:{start:{line:1,column:26},end:{line:1,column:39}}}):i)+'" class="client-logo-link" target="_blank">'},3:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<img class="client-logo custom-logo" src="'+u(f(i=null!=(i=c(n,"customLogo")||(null!=t?c(t,"customLogo"):t))?i:s)===l?i.call(a,{name:"customLogo",hash:{},data:o,loc:{start:{line:1,column:149},end:{line:1,column:163}}}):i)+'" alt="'+u(f(i=null!=(i=c(n,"altText")||(null!=t?c(t,"altText"):t))?i:s)===l?i.call(a,{name:"altText",hash:{},data:o,loc:{start:{line:1,column:170},end:{line:1,column:181}}}):i)+'" aria-hidden="true" />'},5:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<img class="client-logo default-logo" src="'+u(f(i=null!=(i=c(n,"defaultLogo")||(null!=t?c(t,"defaultLogo"):t))?i:s)===l?i.call(a,{name:"defaultLogo",hash:{},data:o,loc:{start:{line:1,column:255},end:{line:1,column:270}}}):i)+'" alt="'+u(f(i=null!=(i=c(n,"altText")||(null!=t?c(t,"altText"):t))?i:s)===l?i.call(a,{name:"altText",hash:{},data:o,loc:{start:{line:1,column:277},end:{line:1,column:288}}}):i)+'" aria-hidden="true" />'},7:function(e,t,n,r,o){return"</a>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"clientURI"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:89}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"customLogo"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.program(5,o,0),data:o,loc:{start:{line:1,column:89},end:{line:1,column:318}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"clientURI"):t,{name:"if",hash:{},fn:e.program(7,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:318},end:{line:1,column:346}}}))?i:"")+'<h1><span class="title-text">'+e.escapeExpression((s(n,"i18n")||t&&s(t,"i18n")||e.hooks.helperMissing).call(a,{name:"i18n",hash:{$2:"<p>$2</p>",$1:"<b class='no-translate'>$1</b>",arguments:"appName",bundle:"login",code:"oie.consent.scopes.granular.title"},data:o,loc:{start:{line:1,column:375},end:{line:1,column:511}}}))+"</span></h1>"},useData:!0})}),p=a.default.extend({cancel:o.BaseForm.prototype.cancel,getUISchema:function(){var e=o.BaseForm.prototype.getUISchema.apply(this,arguments);return e.forEach((function(e){"checkbox"===e.type&&i._.assign(e,{input:u.default,options:{desc:e.desc,mutable:e.mutable,scopeName:e.name.substring(e.name.indexOf(".")+1)}})})),e}}),h=i.View.extend({className:"consent-description",template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oie.consent.scopes.granular.description"},data:o,loc:{start:{line:1,column:3},end:{line:1,column:73}}}))+"</p>"},useData:!0})}),m=o.BaseView.extend({Header:d,Body:p,Footer:l.default,postRender:function(){var e=this.$el.find(".o-form-fieldset-container");e.before((new h).render().el),this.$(":disabled").each((function(){e.append((0,i.$)(this).closest(".o-form-fieldset"))}))}});t.default=m,e.exports=t.default},7731:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=n(3966),a=(r=n(894))&&r.__esModule?r:{default:r};var s=i.BaseForm.extend(Object.assign({className:"custom-app-verify-resend-push",title:function(){return(0,o.loc)("oie.verify.custom_app.title","login",[this.options.appState.getAuthenticatorDisplayName()])},save:function(){return(0,o.loc)("oie.custom_app.push.resend","login")},showMessages:function(){var e={};this.options.appState.containsMessageWithI18nKey("oie.authenticator.custom_app.method.push.verify.enable.biometrics")&&(e.content=null,e.className="okta-verify-uv-callout-content",e.title=(0,o.loc)("oie.authenticator.custom_app.method.push.verify.enable.biometrics.title","login",[this.options.appState.getAuthenticatorDisplayName()]),e.subtitle=(0,o.loc)("oie.authenticator.custom_app.method.push.verify.enable.biometrics.description","login"),e.type="error",e.bullets=[(0,o.loc)("oie.authenticator.custom_app.method.push.verify.enable.biometrics.point1","login"),(0,o.loc)("oie.authenticator.custom_app.method.push.verify.enable.biometrics.point2","login",[this.options.appState.getAuthenticatorDisplayName()]),(0,o.loc)("oie.authenticator.custom_app.method.push.verify.enable.biometrics.point3","login",[this.options.appState.getAuthenticatorDisplayName()])],e=(0,o.createCallout)(e)),i.BaseForm.prototype.showMessages.call(this,e)}})),l=a.default.extend({Body:s});t.default=l,e.exports=t.default},2734:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=n(3966),a=(r=n(894))&&r.__esModule?r:{default:r};var s=i.BaseForm.extend(Object.assign({className:"mfa-verify-custom-otp",title:function(){var e=this.options.appState.getAuthenticatorDisplayName()||(0,o.loc)("oie.custom_otp.authenticator.default.vendorName","login");return(0,o.loc)("oie.verify.custom_otp.title","login",[e])},subtitle:function(){return(0,o.loc)("oie.verify.custom_otp.description","login")},save:function(){return(0,o.loc)("mfa.challenge.verify","login")}})),l=a.default.extend({Body:s});t.default=l,e.exports=t.default},4155:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=n(3966),a=(r=n(7516))&&r.__esModule?r:{default:r};var s=i.BaseForm.extend({title:(0,o.loc)("password.expired.title.generic","login"),subtitle:(0,o.loc)("password.expired.custom.subtitle","login"),noSubmitButton:!0,initialize:function(){var e=this.options.currentViewState,t=e.customExpiredPasswordName,n=e.customExpiredPasswordURL;this.add((0,o.createButton)({className:"button button-primary button-wide",title:o._.partial(o.loc,"password.expired.custom.submit","login",[t]),click:function(){a.default.redirect(n)}}))}}),l=i.BaseView.extend({Body:s});t.default=l,e.exports=t.default},6769:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=n(3966),i=f(n(5115)),a=n(2945),s=f(n(5964)),l=n(3974),u=f(n(7413)),c=n(4397);function f(e){return e&&e.__esModule?e:{default:e}}var d=o.BaseOktaVerifyChallengeView.extend({pollingCancelAction:a.CANCEL_POLLING_ACTION,getDeviceChallengePayload:function(){return this.options.currentViewState.relatesTo.value},doChallenge:function(){(0,l.doChallenge)(this,a.IDENTIFIER_FLOW)},onPollingFail:function(){o.BaseOktaVerifyChallengeView.prototype.onPollingFail.apply(this,arguments);var e={label:(0,r.loc)("loopback.polling.cancel.link.with.form.error","login")};this.options.appState.trigger("updateFooterLink",e)},showCustomFormErrorCallout:function(e){var t=e.responseJSON,n={type:"error",className:"okta-verify-uv-callout-content",subtitle:t.errorSummary};return t.errorSummaryKeys&&t.errorSummaryKeys.some((function(e){return e.includes("auth.factor.signedNonce.error")}))&&(n.title=(0,r.loc)("user.fail.verifyIdentity","login")),this.showMessages((0,r.createCallout)(n)),!0}}),p=o.BaseFooter.extend({initialize:function(){var e=this;this.listenTo(this.options.appState,"updateFooterLink",this.handleUpdateFooterLink),this.isFallbackApproach()&&!this.isFallbackDelayed()?o.BaseFooter.prototype.initialize.apply(this,arguments):this.backLink=this.add(s.default,{options:{name:"cancel-authenticator-challenge",label:(0,r.loc)("loopback.polling.cancel.link","login"),clickHandler:function(){(0,l.cancelPollingWithParams)(e.options.appState,a.CANCEL_POLLING_ACTION,a.AUTHENTICATION_CANCEL_REASONS.USER_CANCELED,null)}}}).last()},handleUpdateFooterLink:function(e){this.isFallbackApproach()&&!this.isFallbackDelayed()||(this.backLink&&this.backLink.remove(),this.backLink=this.add(s.default,{options:(0,c.getSignOutLink)(this.options.settings,e)[0]}).last())},isFallbackApproach:function(){return[i.default.CUSTOM_URI_CHALLENGE,i.default.UNIVERSAL_LINK_CHALLENGE,i.default.APP_LINK_CHALLENGE].includes(this.options.currentViewState.relatesTo.value.challengeMethod)},isFallbackDelayed:function(){return this.options.currentViewState.relatesTo.value.challengeMethod===i.default.APP_LINK_CHALLENGE}}),h=o.BaseView.extend({Header:u.default,Body:d,Footer:p});t.default=h,e.exports=t.default},131:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=n(3966),i=o.BaseForm.extend({title:function(){return(0,r.loc)("device.code.activate.title","login")},subtitle:function(){return(0,r.loc)("device.code.activate.subtitle","login")},events:{'keyup input[name="userCode"]':function(e){e.preventDefault(),this.addHyphen(e)}},addHyphen:function(e){var t=e.target.value;t&&4===t.length&&!["Backspace","Delete","-"].includes(e.key)&&(e.target.value=t.concat("-"))}}),a=o.BaseView.extend({Body:i});t.default=a,e.exports=t.default},3289:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=n(3966),i=n(3964),a=c(n(9941)),s=c(n(5115)),l=c(n(7413)),u=c(n(5964));function c(e){return e&&e.__esModule?e:{default:e}}var f=o.BaseForm.extend({noButtonBar:!0,className:"device-enrollment-terminal"}),d=o.BaseForm.extend({attributes:{"data-se":"android-app-link-setup-options-terminal"},title:function(){return(0,r.loc)("enroll.title.oda.with.account","login")},initialize:function(){o.BaseForm.prototype.initialize.apply(this,arguments);var e=(0,i.getDeviceEnrollmentContext)(this.options.appState.get("deviceEnrollment"));this.model.set("hasOVAccount","no"),this.addInput({label:function(){return(0,r.loc)("enroll.subtitle.fastpass","login",[e.orgName])},"label-top":!0,options:{no:(0,r.loc)("enroll.option.noaccount.fastpass","login"),yes:(0,r.loc)("enroll.option.account.fastpass","login")},name:"hasOVAccount",type:"radio"})},saveForm:function(){this.$el.find(".o-form-error-container").empty(),this.options.appState.trigger("updateDeviceEnrollmentView","yes"===this.model.get("hasOVAccount"))}}),p=f.extend({attributes:{"data-se":"android-oda-app-link-with-ov-account-terminal"},title:function(){return(0,r.loc)("enroll.title.oda.with.account","login")},initialize:function(){f.prototype.initialize.apply(this,arguments),this.add(i.AndroidAppLinkWithAccountOdaTerminalView)}}),h=f.extend({attributes:{"data-se":"android-oda-app-link-without-ov-account-terminal"},title:function(){return(0,r.loc)("enroll.title.oda.without.account","login")},initialize:function(){f.prototype.initialize.apply(this,arguments),this.add(i.AndroidAppLinkWithoutAccountOdaTerminalView)}}),m=f.extend({attributes:{"data-se":"loopback-terminal"},title:function(){return(0,r.loc)("enroll.title.oda","login")},initialize:function(){f.prototype.initialize.apply(this,arguments),this.add(i.IosAndAndroidLoopbackOdaTerminalView)}}),v=f.extend({attributes:{"data-se":"mdm-terminal"},title:function(){return(0,r.loc)("enroll.title.mdm","login")},initialize:function(){f.prototype.initialize.apply(this,arguments),this.add(a.default)}}),g=u.default.extend({postRender:function(){var e=this;this.$el.click((function(t){t.preventDefault(),e.options.appState.trigger("switchBackToPreselect")}))}}),y=o.BaseView.extend({initialize:function(){o.BaseView.prototype.initialize.apply(this,arguments),this.listenTo(this.options.appState,"updateDeviceEnrollmentView",this.handleUpdateDeviceEnrollmentView),this.listenTo(this.options.appState,"switchBackToPreselect",this.handleSwitchBackToPreselect);var e=(0,i.getDeviceEnrollmentContext)(this.options.appState.get("deviceEnrollment"));switch(this.enrollmentType=(e.enrollmentType||"").toLowerCase(),this.enrollmentType){case s.default.ODA:this.Header=l.default,this.Body=e.isAndroidAppLink?d:m;break;case s.default.MDM:this.Body=v}},handleUpdateDeviceEnrollmentView:function(e){this.Body=e?p:h,this.backLink=this.add(g,{options:{name:"back-to-preselect",label:(0,r.loc)("oform.back","login")}}).last(),this.renderForm()},handleSwitchBackToPreselect:function(){this.Body=d,this.backLink&&this.backLink.remove(),this.render()}});t.default=y,e.exports=t.default},8326:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(3966),o=n(2048),i=r.BaseForm.extend({noButtonBar:!0,className:"ion-form device-challenge-poll",title:function(){return(0,o.loc)("deviceTrust.sso.redirectText","login")},initialize:function(){var e,t,n=this;r.BaseForm.prototype.initialize.apply(this,arguments),this.listenTo(this.model,"error",(function(){n.$(".spinner").hide()})),this.add('<div class="spinner"></div>');var o="get"===(null===(e=this.options.currentViewState)||void 0===e||null===(t=e.method)||void 0===t?void 0:t.toLowerCase());this.model.set("useRedirect",o),this.trigger("save",this.model)}}),a=r.BaseView.extend({Body:i});t.default=a,e.exports=t.default},1989:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=n(3966),i=s(n(2068)),a=s(n(4393));function s(e){return e&&e.__esModule?e:{default:e}}var l=o.BaseForm.extend({title:function(){return(0,r.loc)("primaryauth.title","login")},noButtonBar:!0,initialize:function(){o.BaseForm.prototype.initialize.apply(this,arguments),this.add(a.default,{selector:".o-form-fieldset-container",bubble:!1,prepend:!0,options:{isRequired:!0}})}}),u=i.default.extend({hasBackToSignInLink:!1}),c=o.BaseView.extend({Body:l,Footer:u});t.default=c,e.exports=t.default},466:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=(r=n(2877))&&r.__esModule?r:{default:r};var a=n(3966).BaseForm.extend({noButtonBar:!0,postRender:function(){var e=this,t=this.getContextualData(),n=this.add('<iframe frameborder="0" title="\''.concat(this.title(),"'\"></iframe>")).last();try{i.default.init({host:t.host,sig_request:t.signedToken,iframe:n.el,post_action:function(t){e.model.set("credentials.signatureData",t),e.saveForm(e.model)}})}catch(e){n.remove(),this.add((0,o.createCallout)({type:"error",subtitle:(0,o.loc)("oie.duo.iFrameError","login")}),".o-form-error-container")}},getContextualData:function(){}});t.default=a,e.exports=t.default},6789:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=a(n(466)),i=a(n(894));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.default.extend({title:function(){return(0,r.loc)("oie.duo.verify.title","login")},getContextualData:function(){return this.options.appState.get("currentAuthenticatorEnrollment").contextualData}}),l=i.default.extend({Body:s});t.default=l,e.exports=t.default},6768:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=a(n(466)),i=a(n(894));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.default.extend({title:function(){return(0,r.loc)("oie.duo.enroll.title","login")},getContextualData:function(){return this.options.appState.get("currentAuthenticator").contextualData}}),l=i.default.extend({Body:s});t.default=l,e.exports=t.default},6747:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCheckYourEmailTitle=function(){return a},t.getEnterCodeLink=function(){return s};var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048);var a=i.View.extend({className:"okta-form-subtitle",attributes:{"data-se":"o-form-explain"},template:o.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{$1:"<span class='strong'>$1</span>",arguments:"email",bundle:"login",code:"oie.email.verify.alternate.magicLinkToEmailAddress"},data:o,loc:{start:{line:1,column:13},end:{line:1,column:149}}}))},3:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oie.email.verify.alternate.magicLinkToYourEmail"},data:o,loc:{start:{line:1,column:157},end:{line:1,column:236}}}))},5:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oie.email.verify.alternate.instructions"},data:o,loc:{start:{line:1,column:273},end:{line:1,column:344}}}))},7:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oie.email.verify.alternate.verificationCode.instructions"},data:o,loc:{start:{line:1,column:352},end:{line:1,column:440}}}))},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"email"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o,loc:{start:{line:1,column:0},end:{line:1,column:243}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"useEmailMagicLinkValue"):t,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.program(7,o,0),data:o,loc:{start:{line:1,column:243},end:{line:1,column:447}}}))?i:"")},useData:!0}),getTemplateData:function(){return this.options}}),s=i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<button class="button-link enter-auth-code-instead-link" >'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{code:"oie.email.verify.alternate.show.verificationCode.text"},data:o,loc:{start:{line:1,column:58},end:{line:1,column:127}}}))+"</button>"},useData:!0})})},8429:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=n(3966),i=u(n(2307)),a=u(n(894)),s=u(n(8876)),l=u(n(6596));function u(e){return e&&e.__esModule?e:{default:e}}var c=s.default.extend({className:"hide resend-email-view",events:{"click a.resend-link":"handelResendLink"},initialize:function(){this.add((0,r.createCallout)({content:"".concat((0,r.loc)("email.code.not.received","login"),"\n <a class='resend-link'>").concat((0,r.loc)("email.button.resend","login"),"</a>"),type:"warning"}))},handelResendLink:function(){this.options.appState.trigger("invokeAction",this.options.resendEmailAction),this.$el.hasClass("hide")||this.$el.addClass("hide"),this.showCalloutAfterTimeout()}}),f=l.default.extend(Object.assign({save:function(){return(0,r.loc)("mfa.challenge.verify","login")},initialize:function(){l.default.prototype.initialize.apply(this,arguments),this.add(c,{selector:".o-form-error-container",options:{resendEmailAction:this.resendEmailAction}}),this.startPolling()},saveForm:function(){o.BaseForm.prototype.saveForm.apply(this,arguments),this.stopPolling()},remove:function(){o.BaseForm.prototype.remove.apply(this,arguments),this.stopPolling()},triggerAfterError:function(e,t){var n,r;o.BaseForm.prototype.triggerAfterError.apply(this,arguments);var i=!!this.polling;this.stopPolling(),null!==(n=t.responseJSON)&&void 0!==n&&null!==(r=n.errorSummaryKeys)&&void 0!==r&&r.includes("idx.session.expired")||(this.isRateLimitError(t)?(i&&setTimeout((function(){e.trigger("clearFormError")}),0),this.startPolling(6e4)):this.startPolling(this.options.appState.get("dynamicRefreshInterval")))},isRateLimitError:function(e){var t,n,r,o;return(null===(t=e.responseJSON)||void 0===t||null===(n=t.errorSummaryKeys)||void 0===n?void 0:n.includes("tooManyRequests"))||"E0000047"===(null===(r=e.responseJSON)||void 0===r?void 0:r.errorCode)&&!(null!==(o=e.responseJSON)&&void 0!==o&&o.errorIntent)}},i.default)),d=a.default.extend({Body:f});t.default=d,e.exports=t.default},6558:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=n(2048),i=a(n(894));function a(e){return e&&e.__esModule?e:{default:e}}var s=i.default.prototype.Body,l=o.View.extend({template:r.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{$1:"<span class='strong no-translate'>$1</span>",arguments:"email",bundle:"login",code:"oie.email.verify.subtitle.text.with.email"},data:o,loc:{start:{line:1,column:70},end:{line:1,column:210}}}))},3:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oie.email.verify.subtitle.text.without.email"},data:o,loc:{start:{line:1,column:218},end:{line:1,column:294}}}))},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="okta-form-subtitle" data-se="o-form-explain">'+(null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"email"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o,loc:{start:{line:1,column:57},end:{line:1,column:301}}}))?i:"")+"</div>"},useData:!0}),getTemplateData:function(){var e,t;return{email:null===(e=this.options.appState.get("currentAuthenticatorEnrollment"))||void 0===e||null===(t=e.profile)||void 0===t?void 0:t.email}}}),u=s.extend({title:function(){return(0,o.loc)("oie.email.challenge.mfa.title","login")},save:function(){return(0,o.loc)("oie.email.verify.primaryButton","login")},postRender:function(){s.prototype.postRender.apply(this,arguments),this.add(l,{prepend:!0,selector:".o-form-info-container"})},getUISchema:function(){var e=s.prototype.getUISchema.apply(this,arguments);return e.filter((function(e){return"authenticator.methodType"!==e.name}))}}),c=i.default.extend({Body:u});t.default=c,e.exports=t.default},4050:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(8429))&&r.__esModule?r:{default:r},i=n(6747);var a=o.default.prototype.Body,s=a.extend(Object.assign({noButtonBar:!0,resendEmailAction:"currentAuthenticatorEnrollment-resend",events:{"click .enter-auth-code-instead-link":"showAuthCodeEntry"},initialize:function(){var e,t;a.prototype.initialize.apply(this,arguments);var n=(null===(e=this.options.currentViewState.relatesTo)||void 0===e||null===(t=e.value)||void 0===t?void 0:t.profile)||{},r=n.email,o=this.isUseEmailMagicLink();o&&this.add((0,i.getEnterCodeLink)(),{prepend:!0,selector:".o-form-error-container"}),this.add((0,i.getCheckYourEmailTitle)(),{prepend:!0,selector:".o-form-error-container",options:{email:r,useEmailMagicLinkValue:o}})},postRender:function(){a.prototype.postRender.apply(this,arguments),this.isUseEmailMagicLink()?this.showCodeEntryField(!1):this.noButtonBar=!1},isUseEmailMagicLink:function(){var e,t,n=null===(e=this.options.appState.get("currentAuthenticatorEnrollment"))||void 0===e||null===(t=e.contextualData)||void 0===t?void 0:t.useEmailMagicLink;return void 0===n||n},showAuthCodeEntry:function(){this.noButtonBar=!1,this.render(),this.showCodeEntryField(!0),this.removeEnterAuthCodeInsteadLink()},showCodeEntryField:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.$el.find(".o-form-fieldset-container");t.toggle(e)},removeEnterAuthCodeInsteadLink:function(){this.$el.find(".enter-auth-code-instead-link").remove()}})),l=o.default.extend({Body:s});t.default=l,e.exports=t.default},1490:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=(r=n(8429))&&r.__esModule?r:{default:r},a=n(6747);var s=i.default.prototype.Body,l=s.extend(Object.assign({resendEmailAction:"currentAuthenticator-resend",initialize:function(){var e;s.prototype.initialize.apply(this,arguments);var t=(null===(e=this.options.appState.get("user"))||void 0===e?void 0:e.identifier)||{},n=this.isUseEmailMagicLink();void 0!==n?(this.noButtonBar=!0,this.events["click .enter-auth-code-instead-link"]="showAuthCodeEntry",n&&this.add((0,a.getEnterCodeLink)(),{prepend:!0,selector:".o-form-error-container"}),this.add((0,a.getCheckYourEmailTitle)(),{prepend:!0,selector:".o-form-error-container",options:{email:t,useEmailMagicLinkValue:n}})):this.subtitle=(0,o.loc)("oie.email.enroll.subtitle","login")},postRender:function(){void 0!==this.isUseEmailMagicLink()&&(s.prototype.postRender.apply(this,arguments),this.isUseEmailMagicLink()?this.showCodeEntryField(!1):this.noButtonBar=!1)},isUseEmailMagicLink:function(){var e,t;return null===(e=this.options.appState.get("currentAuthenticator"))||void 0===e||null===(t=e.contextualData)||void 0===t?void 0:t.useEmailMagicLink},showAuthCodeEntry:function(){this.noButtonBar=!1,this.render(),this.showCodeEntryField(!0),this.removeEnterAuthCodeInsteadLink()},showCodeEntryField:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.$el.find(".o-form-fieldset-container");t.toggle(e)},removeEnterAuthCodeInsteadLink:function(){this.$el.find(".enter-auth-code-instead-link").remove()}})),u=i.default.extend({Body:l});t.default=u,e.exports=t.default},7010:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.I18N_BASE_ATTRIBUTE_ENROLL_PROFILE_MAPPINGS=void 0;t.I18N_BASE_ATTRIBUTE_ENROLL_PROFILE_MAPPINGS={"enroll-profile.userProfile.lastName":"oie.user.profile.lastname","enroll-profile.userProfile.firstName":"oie.user.profile.firstname","enroll-profile.userProfile.email":"oie.user.profile.primary.email","enroll-profile.userProfile.secondEmail":"oie.user.profile.secondary.email","enroll-profile.userProfile.middleName":"oie.user.profile.middleName","enroll-profile.userProfile.honorificPrefix":"oie.user.profile.honorificPrefix","enroll-profile.userProfile.honorificSuffix":"oie.user.profile.honorificSuffix","enroll-profile.userProfile.title":"oie.user.profile.title","enroll-profile.userProfile.displayName":"oie.user.profile.displayName","enroll-profile.userProfile.nickName":"oie.user.profile.nickName","enroll-profile.userProfile.profileUrl":"oie.user.profile.profileUrl","enroll-profile.userProfile.mobilePhone":"oie.user.profile.mobilePhone","enroll-profile.userProfile.primaryPhone":"oie.user.profile.primaryPhone","enroll-profile.userProfile.streetAddress":"oie.user.profile.streetAddress","enroll-profile.userProfile.city":"oie.user.profile.city","enroll-profile.userProfile.state":"oie.user.profile.state","enroll-profile.userProfile.zipCode":"oie.user.profile.zipCode","enroll-profile.userProfile.postalCode":"oie.user.profile.postalCode","enroll-profile.userProfile.countryCode":"oie.user.profile.countryCode","enroll-profile.userProfile.postalAddress":"oie.user.profile.postalAddress","enroll-profile.userProfile.preferredLanguage":"oie.user.profile.preferredLanguage","enroll-profile.userProfile.locale":"oie.user.profile.locale","enroll-profile.userProfile.timezone":"oie.user.profile.timezone","enroll-profile.userProfile.userType":"oie.user.profile.userType","enroll-profile.userProfile.employeeNumber":"oie.user.profile.employeeNumber","enroll-profile.userProfile.costCenter":"oie.user.profile.costCenter","enroll-profile.userProfile.organization":"oie.user.profile.organization","enroll-profile.userProfile.division":"oie.user.profile.division","enroll-profile.userProfile.department":"oie.user.profile.department","enroll-profile.userProfile.managerId":"oie.user.profile.managerId","enroll-profile.userProfile.manager":"oie.user.profile.manager","enroll-profile.credentials.passcode":"oie.password.label"}},921:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=n(3966),a=(r=n(894))&&r.__esModule?r:{default:r};var s=i.BaseForm.extend(Object.assign({className:"google-authenticator-challenge",title:function(){return(0,o.loc)("oie.verify.google_authenticator.otp.title","login")},subtitle:function(){return(0,o.loc)("oie.verify.google_authenticator.otp.description","login")},save:function(){return(0,o.loc)("mfa.challenge.verify","login")}})),l=a.default.extend({Body:s});t.default=l,e.exports=t.default},8313:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(6276)),o=n(2048),i=n(3966),a=u(n(894)),s=u(n(7876)),l=u(n(6598));function u(e){return e&&e.__esModule?e:{default:e}}var c="viewToDisplay",f="barcode",d="manual",p="enterCode",h=i.BaseForm.extend({title:function(){return(0,o.loc)("oie.enroll.google_authenticator.setup.title","login")},noButtonBar:!0,className:"oie-enroll-google-authenticator",enterCodeSubtitle:o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="google-authenticator-setup-info-title enter-code-title">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oie.enroll.google_authenticator.enterCode.title"},data:o,loc:{start:{line:1,column:68},end:{line:1,column:146}}}))+"</div>"},useData:!0})}),getUISchema:function(){var e=this,t=i.BaseForm.prototype.getUISchema.apply(this,arguments),n=(0,i.addCustomButton)({className:"google-authenticator-next",title:(0,o.loc)("oform.next","login"),click:function(){e.model.set(c,p)}}),r=(0,i.addCustomButton)({className:"google-authenticator-verify",title:(0,o.loc)("oform.verify","login"),click:function(){e.$el.submit()}});return t[0].showWhen={viewToDisplay:p},t.unshift({View:this.enterCodeSubtitle,selector:".o-form-fieldset-container",showWhen:{viewToDisplay:p}}),t.push({View:s.default,selector:".o-form-fieldset-container",showWhen:{viewToDisplay:f}},{View:l.default,selector:".o-form-fieldset-container",showWhen:{viewToDisplay:d}},{label:!1,className:"shared-secret",type:"text",placeholder:this.options.appState.get("currentAuthenticator").contextualData.sharedSecret,disabled:!0,showWhen:{viewToDisplay:d}},{View:n,showWhen:{viewToDisplay:function(e){return e===f||e===d}}},{View:r,showWhen:{viewToDisplay:function(e){return e===p}}}),t}}),m=a.default.extend({Body:h,createModelClass:function(){var e=i.BaseView.prototype.createModelClass.apply(this,arguments),t=Object.assign({viewToDisplay:{value:"barcode",type:"string",required:!0,values:[f,d,p]}},e.prototype.local);return e.extend({local:t})}});t.default=m,e.exports=t.default},6598:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r};var i=n(2048).View.extend({className:"oie-enroll-google-authenticator-manual-setup",template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="google-authenticator-setup-info-title manual-setup-title">'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.google_authenticator.cannotScanBarcode.title"},data:o,loc:{start:{line:1,column:70},end:{line:1,column:156}}}))+'</div><p class="google-authenticator-setup-info">'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.google_authenticator.manualSetupInstructions"},data:o,loc:{start:{line:1,column:205},end:{line:1,column:291}}}))+"</p>"},useData:!0})});t.default=i,e.exports=t.default},7876:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r};var i=n(2048).View.extend({className:"oie-enroll-google-authenticator-barcode",template:o.default.template({1:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="google-authenticator-setup-info-title barcode-setup-title">'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.google_authenticator.scanBarcode.title"},data:o,loc:{start:{line:1,column:83},end:{line:1,column:163}}}))+'</div><div class="qrcode-info-container"><p class="google-authenticator-setup-info">'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.google_authenticator.scanBarcode.description"},data:o,loc:{start:{line:1,column:247},end:{line:1,column:333}}}))+'</p><div class="qrcode-container"><img class="qrcode" src='+l("function"==typeof(i=null!=(i=u(n,"href")||(null!=t?u(t,"href"):t))?i:s)?i.call(a,{name:"href",hash:{},data:o,loc:{start:{line:1,column:391},end:{line:1,column:399}}}):i)+' alt="qr code"></img><a href="#" class="cannot-scan-link">'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.google_authenticator.scanBarcode.cannotScan"},data:o,loc:{start:{line:1,column:457},end:{line:1,column:542}}}))+"</a></div></div>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"href"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:565}}}))?i:""},useData:!0}),getTemplateData:function(){var e;return{href:null===(e=this.options.appState.get("currentAuthenticator").contextualData.qrcode)||void 0===e?void 0:e.href}},events:{"click .cannot-scan-link":function(e){e.preventDefault(),this.options.model.set("viewToDisplay","manual")}}});t.default=i,e.exports=t.default},4264:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=n(691),i=o.BaseIdPAuthenticatorBody.extend({title:function(){var e=this.options.appState.getAuthenticatorDisplayName();return(0,r.loc)("oie.idp.enroll.title","login",[e])},subtitle:function(){var e=this.options.appState.getAuthenticatorDisplayName();return(0,r.loc)("oie.idp.enroll.description","login",[e])},save:function(){return(0,r.loc)("mfa.enroll","login")}}),a=o.BaseIdpAuthenticatorView.extend({Body:i});t.default=a,e.exports=t.default},1542:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=n(691),i=o.BaseIdPAuthenticatorBody.extend({title:function(){var e=this.options.appState.getAuthenticatorDisplayName();return(0,r.loc)("oie.idp.challenge.title","login",[e])},subtitle:function(){var e=this.options.appState.getAuthenticatorDisplayName();return(0,r.loc)("oie.idp.challenge.description","login",[e])},save:function(){return(0,r.loc)("mfa.challenge.verify","login")}}),a=o.BaseIdpAuthenticatorView.extend({Body:i});t.default=a,e.exports=t.default},691:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseIdpAuthenticatorView=t.BaseIdPAuthenticatorBody=void 0;var r,o=n(3966),i=(r=n(894))&&r.__esModule?r:{default:r};var a=o.BaseForm.extend({initialize:function(){o.BaseForm.prototype.initialize.apply(this,arguments),this.model.set("useRedirect",!0),this.add('<div class="okta-waiting-spinner"></div>')}});t.BaseIdPAuthenticatorBody=a;var s=i.default.extend({postRender:function(){i.default.prototype.postRender.apply(this,arguments);var e=this.options.appState.get("messages")||{};this.settings.get("features.skipIdpFactorVerificationBtn")&&!Array.isArray(e.value)?(this.$(".o-form-button-bar").hide(),this.$(".okta-waiting-spinner").show(),this.form.trigger("save",this.model)):(this.$(".okta-waiting-spinner").hide(),this.$(".o-form-button-bar").show())}});t.BaseIdpAuthenticatorView=s},2546:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=n(3966),a=(r=n(894))&&r.__esModule?r:{default:r};var s=i.BaseForm.extend({className:"on-prem-authenticator-verify",modelEvents:{error:"_checkTokenChange"},title:function(){var e=this.options.appState.getAuthenticatorDisplayName()||(0,o.loc)("oie.on_prem.authenticator.default.vendorName","login");return(0,o.loc)("oie.on_prem.verify.title","login",[e])},_checkTokenChange:function(e,t){var n,r=null==t||null===(n=t.responseJSON)||void 0===n?void 0:n.errorSummaryKeys;r&&r.includes("errors.E0000113")&&(this.model.set("credentials.passcode",""),this.render())},save:function(){return(0,o.loc)("mfa.challenge.verify","login")}}),l=a.default.extend({Body:s});t.default=l,e.exports=t.default},2031:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=n(3966),a=(r=n(894))&&r.__esModule?r:{default:r};var s=i.BaseForm.extend({className:"on-prem-authenticator-enroll",modelEvents:{error:"_checkTokenChange"},title:function(){var e=this.options.appState.getAuthenticatorDisplayName()||(0,o.loc)("oie.on_prem.authenticator.default.vendorName","login");return(0,o.loc)("oie.on_prem.enroll.title","login",[e])},_checkTokenChange:function(e,t){var n,r=null==t||null===(n=t.responseJSON)||void 0===n?void 0:n.errorSummaryKeys;r&&r.includes("errors.E0000113")&&(this.model.set("credentials.passcode",""),this.render())},save:function(){return(0,o.loc)("mfa.challenge.verify","login")}}),l=a.default.extend({Body:s});t.default=l,e.exports=t.default},3328:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=n(3966),i=n(3974),a=o.BaseOktaVerifyChallengeView.extend({getDeviceChallengePayload:function(){return this.options.currentViewState.relatesTo.value.contextualData.challenge.value},showCustomFormErrorCallout:function(e){var t=(0,i.getBiometricsErrorOptions)(e,!1);return!r._.isEmpty(t)&&(this.showMessages((0,r.createCallout)(t)),!0)}});t.default=a,e.exports=t.default},2029:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=n(3966),a=(r=n(894))&&r.__esModule?r:{default:r};var s=i.BaseForm.extend(Object.assign({className:"okta-verify-resend-push",title:function(){return(0,o.loc)("oie.okta_verify.push.title","login")},save:function(){return(0,o.loc)("oie.okta_verify.push.resend","login")},showMessages:function(){var e={};this.options.appState.containsMessageWithI18nKey("oie.authenticator.app.method.push.force.upgrade.number_challenge")?e.title=(0,o.loc)("oie.numberchallenge.force.upgrade.title","login"):this.options.appState.containsMessageWithI18nKey("oie.authenticator.app.method.push.verify.enable.biometrics")&&(e.content=null,e.className="okta-verify-uv-callout-content",e.title=(0,o.loc)("oie.authenticator.app.method.push.verify.enable.biometrics.title","login"),e.subtitle=(0,o.loc)("oie.authenticator.app.method.push.verify.enable.biometrics.description","login"),e.type="error",e.bullets=[(0,o.loc)("oie.authenticator.app.method.push.verify.enable.biometrics.point1","login"),(0,o.loc)("oie.authenticator.app.method.push.verify.enable.biometrics.point2","login"),(0,o.loc)("oie.authenticator.app.method.push.verify.enable.biometrics.point3","login")],e=(0,o.createCallout)(e)),i.BaseForm.prototype.showMessages.call(this,e)}})),l=a.default.extend({Body:s});t.default=l,e.exports=t.default},1830:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(894))&&r.__esModule?r:{default:r},i=n(3966),a=n(2048),s=n(3974);var l=i.BaseForm.extend({noButtonBar:!0,className:"ion-form device-challenge-poll",title:function(){return(0,a.loc)("deviceTrust.sso.redirectText","login")},initialize:function(){var e,t,n=this;i.BaseForm.prototype.initialize.apply(this,arguments),this.listenTo(this.model,"error",(function(){n.$(".spinner").hide()})),this.add('<div class="credential-sso-extension"><div class="spinner"></div></div>');var r="get"===(null===(e=this.options.currentViewState)||void 0===e||null===(t=e.method)||void 0===t?void 0:t.toLowerCase());this.model.set("useRedirect",r),this.trigger("save",this.model)},showCustomFormErrorCallout:function(e){var t=(0,s.getBiometricsErrorOptions)(e,!1);return!a._.isEmpty(t)&&(this.showMessages((0,a.createCallout)(t)),!0)}}),u=o.default.extend({Body:l});t.default=u,e.exports=t.default},1870:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=n(3966),a=(r=n(894))&&r.__esModule?r:{default:r};var s=i.BaseForm.extend(Object.assign({className:"okta-verify-totp-challenge",title:function(){return(0,o.loc)("oie.okta_verify.totp.title","login")},save:function(){return(0,o.loc)("mfa.challenge.verify","login")},showCustomFormErrorCallout:function(e){var t,n,r=null==e||null===(t=e.responseJSON)||void 0===t?void 0:t.errorSummaryKeys;if(r&&r.includes("oie.authenticator.oktaverify.method.totp.verify.enable.biometrics"))return n={type:"error",className:"okta-verify-uv-callout-content",title:(0,o.loc)("oie.authenticator.app.method.push.verify.enable.biometrics.title","login"),subtitle:(0,o.loc)("oie.authenticator.app.method.push.verify.enable.biometrics.description","login"),bullets:[(0,o.loc)("oie.authenticator.app.method.push.verify.enable.biometrics.point1","login"),(0,o.loc)("oie.authenticator.app.method.push.verify.enable.biometrics.point2","login"),(0,o.loc)("oie.authenticator.app.method.push.verify.enable.biometrics.point3","login")]},this.showMessages((0,o.createCallout)(n)),!0}})),l=a.default.extend({Body:s});t.default=l,e.exports=t.default},3527:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(894)),o=n(1879),i=l(n(3328)),a=l(n(2138)),s=n(4817);function l(e){return e&&e.__esModule?e:{default:e}}var u=r.default.extend({initialize:function(){var e,t,n;r.default.prototype.initialize.apply(this,arguments);var l=null===(e=this.options)||void 0===e||null===(t=e.appState)||void 0===t?void 0:t.get("currentAuthenticator"),u=null==l?void 0:l.methods[0];(null==u?void 0:u.type)===s.AUTHENTICATOR_METHODS.PUSH&&null!=l&&null!==(n=l.contextualData)&&void 0!==n&&n.correctAnswer?this.Body=a.default:(null==u?void 0:u.type)===s.AUTHENTICATOR_METHODS.PUSH?this.Body=o.Body:this.Body=i.default}});t.default=u,e.exports=t.default},4809:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048);var a=i.View.extend({template:o.default.template({1:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<ol class="qrcode-info ov-info"><li>'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.qrcode.step1"},data:o,loc:{start:{line:1,column:48},end:{line:1,column:114}}}))+"</li><li>"+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.qrcode.step2"},data:o,loc:{start:{line:1,column:123},end:{line:1,column:189}}}))+"</li><li>"+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.qrcode.step3"},data:o,loc:{start:{line:1,column:198},end:{line:1,column:264}}}))+'</li></ol><div class="qrcode-container"><img class="qrcode" src='+l("function"==typeof(i=null!=(i=u(n,"href")||(null!=t?u(t,"href"):t))?i:s)?i.call(a,{name:"href",hash:{},data:o,loc:{start:{line:1,column:328},end:{line:1,column:336}}}):i)+' alt="'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"mfa.altQrCode"},data:o,loc:{start:{line:1,column:342},end:{line:1,column:387}}}))+'"></img></div>'},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<ul class="email-info ov-info"><li>'+(null!=(i=(a(n,"i18n")||t&&a(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{arguments:"email",bundle:"login",code:"oie.enroll.okta_verify.email.info"},data:o,loc:{start:{line:1,column:456},end:{line:1,column:540}}}))?i:"")+'</li><li class="switch-channel-content"></li></ul>'},5:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<ul class="sms-info ov-info"><li>'+(null!=(i=(a(n,"i18n")||t&&a(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{arguments:"phoneNumber",bundle:"login",code:"oie.enroll.okta_verify.sms.info"},data:o,loc:{start:{line:1,column:649},end:{line:1,column:737}}}))?i:"")+'</li><li class="switch-channel-content"></li></ul>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"href"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:408}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"email"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:408},end:{line:1,column:597}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"phoneNumber"):t,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:597},end:{line:1,column:794}}}))?i:"")},useData:!0}),getTemplateData:function(){var e,t=this.options.appState.get("currentAuthenticator").contextualData;return{href:null===(e=t.qrcode)||void 0===e?void 0:e.href,email:i._.escape(null==t?void 0:t.email),phoneNumber:i._.escape(null==t?void 0:t.phoneNumber)}}});t.default=a,e.exports=t.default},8466:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=n(3966),i=c(n(894)),a=c(n(4563)),s=c(n(1457)),l=c(n(8949)),u=c(n(4809));function c(e){return e&&e.__esModule?e:{default:e}}var f=o.BaseFormWithPolling.extend(Object.assign({title:function(){var e;switch(this.options.appState.get("currentAuthenticator").contextualData.selectedChannel){case"email":e=(0,r.loc)("oie.enroll.okta_verify.setup.email.title","login");break;case"sms":e=(0,r.loc)("oie.enroll.okta_verify.setup.sms.title","login");break;default:e=(0,r.loc)("oie.enroll.okta_verify.setup.title","login")}return e},className:"oie-enroll-ov-poll",noButtonBar:!0,initialize:function(){o.BaseFormWithPolling.prototype.initialize.apply(this,arguments),this.listenTo(this.model,"error",this.stopPolling),this.startPolling()},showMessages:function(){var e={};this.options.appState.containsMessageWithI18nKey("oie.authenticator.app.non_fips_compliant_enrollment_device_incompatible")||this.options.appState.containsMessageWithI18nKey("oie.authenticator.app.non_fips_compliant_enrollment_app_update_required")?e.title=(0,r.loc)("oie.okta_verify.enroll.force.upgrade.title","login"):this.options.appState.containsMessageWithI18nKey("oie.authenticator.app.method.push.enroll.enable.biometrics")&&(e.title=(0,r.loc)("oie.authenticator.app.method.push.enroll.enable.biometrics.title","login")),o.BaseFormWithPolling.prototype.showMessages.call(this,e)},getUISchema:function(){var e=[],t=this.options.appState.get("currentAuthenticator").contextualData.selectedChannel;return e.push({View:u.default}),e.push({View:l.default,options:{selectedChannel:t},selector:"qrcode"===t?".qrcode-container":".switch-channel-content"}),["email","sms"].includes(t)&&e.push({View:s.default,selector:".o-form-error-container"}),e},remove:function(){o.BaseFormWithPolling.prototype.remove.apply(this,arguments),this.stopPolling()}},a.default)),d=i.default.extend({Body:f});t.default=d,e.exports=t.default},936:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=n(3966),i=l(n(894)),a=l(n(2646)),s=l(n(8949));function l(e){return e&&e.__esModule?e:{default:e}}var u=o.BaseForm.extend({className:"oie-enroll-ov-data",title:function(){return"email"===this.options.appState.get("currentAuthenticator").contextualData.selectedChannel?(0,r.loc)("oie.enroll.okta_verify.enroll.channel.email.title","login"):(0,r.loc)("oie.enroll.okta_verify.enroll.channel.sms.title","login")},save:function(){return(0,r.loc)("oie.enroll.okta_verify.setupLink","login")},getUISchema:function(){var e=o.BaseForm.prototype.getUISchema.apply(this,arguments),t=r._.find(e,(function(e){return"phoneNumber"===e.name})),n=r._.findIndex(e,(function(e){return"phoneNumber"===e.name})),i={"label-top":!0,label:(0,r.loc)("country.label","login"),type:"select",options:a.default.getCountries(),name:"country",wide:!0},s={label:(0,r.loc)("mfa.phoneNumber.placeholder","login"),type:"group",modelType:"string","label-top":!0,name:"phoneCode",input:[{type:"label",label:"+".concat(this.model.get("phoneCode")),className:"country-code-label no-translate"},Object.assign({},t)]};-1!==n&&e.splice(n,1,i,s);var l={View:"email"===this.options.appState.get("currentAuthenticator").contextualData.selectedChannel?(0,r.loc)("oie.enroll.okta_verify.channel.email.description","login"):(0,r.loc)("oie.enroll.okta_verify.channel.sms.description","login"),selector:".o-form-fieldset-container"};return e.push(l),e},handlePhoneCodeChange:function(){this.el.querySelector(".country-code-label").innerText="+".concat(this.model.get("phoneCode"))},initialize:function(){o.BaseForm.prototype.initialize.apply(this,arguments),"sms"===this.options.appState.get("currentAuthenticator").contextualData.selectedChannel&&this.listenTo(this.model,"change:phoneCode",this.handlePhoneCodeChange.bind(this))}}),c=i.default.extend({Body:u,createModelClass:function(){var e=o.BaseView.prototype.createModelClass.apply(this,arguments);if("sms"!==this.options.appState.get("currentAuthenticator").contextualData.selectedChannel)return e;var t=Object.assign({country:{value:"US",type:"string"}},e.prototype.local),n=Object.assign({phoneCode:{deps:["country"],fn:function(e){return a.default.getCallingCodeForCountry(e)}}},e.prototype.derived);return e.extend({local:t,derived:n,toJSON:function(){var e=r.Model.prototype.toJSON.call(this,arguments),t=this.get("phoneCode"),n="+".concat(t).concat(e.phoneNumber);return e.phoneNumber=n,e}})},postRender:function(){this.add(s.default,"form")}});t.default=c,e.exports=t.default},5683:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r};var i=n(2048).View.extend({className:"number-challenge-section",template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{$1:"<span class='strong'>$1</span>",arguments:"correctAnswer",bundle:"login",code:"oie.numberchallenge.instruction"},data:o,loc:{start:{line:1,column:3},end:{line:1,column:127}}}))+'</p><div class="phone no-translate"><div class="phone--body"><div class="phone--screen"><span class="phone--number" data-se="challenge-number">'+l("function"==typeof(i=null!=(i=u(n,"correctAnswer")||(null!=t?u(t,"correctAnswer"):t))?i:s)?i.call(a,{name:"correctAnswer",hash:{},data:o,loc:{start:{line:1,column:270},end:{line:1,column:287}}}):i)+'</span></div><div class="phone--home-button"></div></div></div>'},useData:!0}),getTemplateData:function(){var e,t;return{correctAnswer:null===(e=this.options.appState.get("currentAuthenticator"))||void 0===e||null===(t=e.contextualData)||void 0===t?void 0:t.correctAnswer}}});t.default=i,e.exports=t.default},2138:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=n(3966),i=l(n(4563)),a=l(n(7273)),s=l(n(5683));function l(e){return e&&e.__esModule?e:{default:e}}var u=o.BaseFormWithPolling.extend(Object.assign({noButtonBar:!0,className:"okta-verify-number-challenge",events:{"click a.resend-number-challenge":"handleResendNumberChallenge"},handleResendNumberChallenge:function(){this.options.appState.trigger("invokeAction","currentAuthenticator-resend"),this.options.appState.trigger("hideNumberChallengeWarning")},title:function(){return(0,r.loc)("oie.okta_verify.push.sent","login")},initialize:function(){o.BaseFormWithPolling.prototype.initialize.apply(this,arguments),this.add(s.default)},triggerAfterError:function(){o.BaseFormWithPolling.prototype.triggerAfterError.apply(this,arguments),this.stopPolling(),this.$el.find(".o-form-fieldset-container").empty()},postRender:function(){o.BaseFormWithPolling.prototype.postRender.apply(this,arguments),this.startPoll()},startPoll:function(){this.startPolling(),this.addWarning()},stopPoll:function(){this.stopPolling()},addWarning:function(){this.add(a.default,".o-form-error-container"),this.options.appState.trigger("showNumberChallengeWarning")},remove:function(){o.BaseFormWithPolling.prototype.remove.apply(this,arguments),this.stopPolling()}},i.default)),c=u;t.default=c,e.exports=t.default},1457:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(6276)),o=n(2048);function i(e){return e&&e.__esModule?e:{default:e}}var a=i(n(8876)).default.extend({className:"hide resend-ov-link-view",events:{"click a.resend-link":"handelResendLink"},initialize:function(){var e=this.options.appState.get("currentAuthenticator").contextualData.selectedChannel;this.add((0,o.createCallout)({content:"email"===e?r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=(a(n,"i18n")||t&&a(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.email.notReceived"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:73}}}))?i:""},useData:!0}):r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=(a(n,"i18n")||t&&a(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.sms.notReceived"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:71}}}))?i:""},useData:!0}),type:"warning"}))},handelResendLink:function(){this.options.appState.trigger("invokeAction","currentAuthenticator-resend"),this.$el.addClass("hide"),this.showCalloutAfterTimeout()}});t.default=a,e.exports=t.default},7273:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048),a=n(2945);var s=i.View.extend({initialize:function(){var e=this;this.listenTo(this.options.appState,"showNumberChallengeWarning",(function(){e.startWarningTimeout()})),this.listenTo(this.options.appState,"hideNumberChallengeWarning",(function(){e.clearWarning()}))},className:"resend-number-challenge-warning hide",template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="okta-form-infobox-warning infobox infobox-warning"><span class="icon warning-16"></span><p>'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{$1:"<a href='#' class='resend-number-challenge'>$1</a>",bundle:"login",code:"oie.numberchallenge.warning"},data:o,loc:{start:{line:1,column:103},end:{line:1,column:217}}}))+"</p></div>"},useData:!0}),showWarning:function(){this.$el.removeClass("hide")},clearWarning:function(){this.$el.addClass("hide"),clearTimeout(this.warningTimeout),this.startWarningTimeout()},startWarningTimeout:function(){this.warningTimeout=setTimeout(i._.bind((function(){this.showWarning()}),this),a.WARNING_TIMEOUT)}});t.default=s,e.exports=t.default},7940:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=n(3966),i=s(n(894)),a=s(n(5331));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=o.BaseForm.extend({title:function(){return a.default.isAndroid()||a.default.isIOS()?(0,r.loc)("oie.enroll.okta_verify.setup.title","login"):(0,r.loc)("oie.enroll.okta_verify.select.channel.title","login")},getUISchema:function(){var e,t=this,n=o.BaseForm.prototype.getUISchema.apply(this,arguments),i=r._.find(n,(function(e){return"authenticator.channel"===e.name}));i.options=r._.filter(null==i?void 0:i.options,(function(e){var n,r;return e.value!==(null===(n=t.options.appState.get("currentAuthenticator"))||void 0===n||null===(r=n.contextualData)||void 0===r?void 0:r.selectedChannel)})),i.value=null===(e=i.options[0])||void 0===e?void 0:e.value,i.sublabel=null,this.model.set("authenticator.channel",i.value);var a={View:(0,r.loc)("oie.enroll.okta_verify.select.channel.description","login"),selector:".o-form-fieldset-container"};return[a].concat(l(n))}}),f=i.default.extend({Body:c});t.default=f,e.exports=t.default},8949:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048),a=n(4817);var s=i.View.extend({className:"switch-channel-text",template:o.default.template({1:function(e,t,n,r,o){var i=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="switch-channel-link" aria-label="'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"enroll.totp.aria.cannotScan"},data:o,loc:{start:{line:1,column:75},end:{line:1,column:134}}}))+'">'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"enroll.totp.cannotScan"},data:o,loc:{start:{line:1,column:136},end:{line:1,column:189}}}))+"</a>"},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=(a(n,"i18n")||t&&a(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.switch.channel.link.text"},data:o,loc:{start:{line:1,column:201},end:{line:1,column:281}}}))?i:""},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"isQRcodeChannel"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o,loc:{start:{line:1,column:0},end:{line:1,column:288}}}))?i:""},useData:!0}),getTemplateData:function(){return{isQRcodeChannel:"qrcode"===this.options.appState.get("currentAuthenticator").contextualData.selectedChannel}},postRender:function(){var e=this;this.$el.find(".switch-channel-link").on("click",(function(t){var n=e.options.appState;t.preventDefault(),n.trigger("switchForm",a.FORMS.SELECT_ENROLLMENT_CHANNEL)}))}});t.default=s,e.exports=t.default},8329:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=n(3966),i=u(n(9267)),a=u(n(894)),s=n(4397),l=n(6589);function u(e){return e&&e.__esModule?e:{default:e}}var c=o.BaseForm.extend({title:function(){return(0,r.loc)("oie.password.challenge.title","login")},save:function(){return(0,r.loc)("mfa.challenge.verify","login")},getUISchema:function(){var e=o.BaseForm.prototype.getUISchema.apply(this,arguments),t=this.options.settings,n="primaryauth.password.tooltip",i=e.find((function(e){return"credentials.passcode"===e.name}));return i&&(0,l.isCustomizedI18nKey)(n,t)&&(i.explain=(0,r.loc)(n,"login"),i["explain-top"]=!0),e}}),f=i.default.extend({links:function(){var e=i.default.prototype.links.apply(this,arguments);return e=(0,s.getForgotPasswordLink)(this.options.appState,this.options.settings).concat(e),e}}),d=a.default.extend({Body:c,Footer:f});t.default=d,e.exports=t.default},5718:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=n(3966),a=(r=n(894))&&r.__esModule?r:{default:r},s=n(2423),l=n(8089);function u(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var f=i.BaseForm.extend({title:function(){return(0,o.loc)("oie.password.enroll.title","login")},save:function(){return(0,o.loc)("oform.next","login")},initialize:function(){i.BaseForm.prototype.initialize.apply(this,arguments);var e=this.getPasswordPolicySettings();this.displayPasswordPolicy(e)},displayPasswordPolicy:function(e){if(e){var t=(0,s.getPasswordComplexityDescriptionForHtmlList)(e);(0,l.generatePasswordPolicyHtml)(this,t,!0)}},triggerAfterError:function(e,t){t.responseJSON=(0,s.removeRequirementsFromError)(t.responseJSON),this.options.appState.trigger("afterError",t)},getPasswordPolicySettings:function(){var e,t=this.options.currentViewState.relatesTo;return null==t||null===(e=t.value)||void 0===e?void 0:e.settings},getUISchema:function(){var e,t=i.BaseForm.prototype.getUISchema.apply(this,arguments),n={name:"confirmPassword",label:(0,o.loc)("oie.password.confirmPasswordLabel","login"),type:"password","label-top":!0,params:{showPasswordToggle:this.settings.get("showPasswordToggle")}},r=[],a=u(t);try{for(a.s();!(e=a.n()).done;){var s=e.value;r.push(s),"credentials.passcode"===s.name&&r.push(n)}}catch(e){a.e(e)}finally{a.f()}return r}}),d=a.default.extend({Body:f,createModelClass:function(){var e=i.BaseView.prototype.createModelClass.apply(this,arguments),t=Object.assign({confirmPassword:{type:"string",required:!0}},e.prototype.local);return e.extend({local:t,validate:function(){return this.get("credentials.passcode")!==this.get("confirmPassword")&&this.get("credential.value")!==this.get("confirmPassword")?{confirmPassword:(0,o.loc)("password.error.match","login")}:null}})}});t.default=d,e.exports=t.default},8089:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generatePasswordPolicyHtml=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048);t.generatePasswordPolicyHtml=function(e,t,n){e.add(i.View.extend({tagName:"section",template:o.default.template({1:function(e,t,n,r,o){return"<li>"+e.escapeExpression(e.lambda(t,t))+"</li>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="password-authenticator--heading">'+e.escapeExpression((s(n,"i18n")||t&&s(t,"i18n")||e.hooks.helperMissing).call(a,{name:"i18n",hash:{bundle:"login",code:"password.complexity.requirements.header"},data:o,loc:{start:{line:1,column:45},end:{line:1,column:115}}}))+'</div><ul class="password-authenticator--list">'+(null!=(i=s(n,"each").call(a,null!=t?s(t,"rulesList"):t,{name:"each",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:162},end:{line:1,column:207}}}))?i:"")+"</ul>"},useData:!0}),getTemplateData:function(){return{rulesList:t}},attributes:{"data-se":"password-authenticator--rules"}}),{prepend:n,selector:".o-form-fieldset-container"})}},4590:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=(r=n(5718))&&r.__esModule?r:{default:r};var a=i.default.prototype.Body.extend({className:"password-authenticator",title:function(){var e=this.options.settings.get("brandName")?(0,o.loc)("password.expired.title.specific","login",[this.options.settings.get("brandName")]):(0,o.loc)("password.expired.title.generic","login");return e},save:function(){return(0,o.loc)("password.expired.submit","login")},getPasswordPolicySettings:function(){var e,t;return(null===(e=this.options.appState.get("recoveryAuthenticator"))||void 0===e?void 0:e.settings)||(null===(t=this.options.appState.get("enrollmentAuthenticator"))||void 0===t?void 0:t.settings)}}),s=i.default.extend({Body:a});t.default=s,e.exports=t.default},8872:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=n(3966),a=(r=n(5718))&&r.__esModule?r:{default:r};var s=a.default.prototype.Body.extend({className:"password-authenticator",subtitle:function(){if(this.options.settings.get("brandName"))return(0,o.loc)("password.expiring.subtitle.specific","login",[this.options.settings.get("brandName")])},title:function(){var e=(this.getPasswordPolicySettings()||{}).daysToExpiry;return e>0?(0,o.loc)("password.expiring.title","login",[e]):0===e?(0,o.loc)("password.expiring.today","login"):(0,o.loc)("password.expiring.soon","login")},save:function(){return(0,o.loc)("password.expired.submit","login")},showMessages:function(){if(this.options.settings.get("brandName"))return null;a.default.prototype.Body.prototype.showMessages.apply(this,arguments)}}),l=i.BaseFooter.extend({links:function(){var e=[];return this.options.appState.hasRemediationObject("skip")&&e.push({type:"link",label:(0,o.loc)("password.expiring.later","login"),name:"skip",actionPath:"skip"}),e}}),u=a.default.extend({Body:s,Footer:l});t.default=u,e.exports=t.default},5070:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=(r=n(5718))&&r.__esModule?r:{default:r};var a=i.default.prototype.Body.extend({className:"password-authenticator",title:function(){var e=this.options.settings.get("brandName")?(0,o.loc)("password.reset.title.specific","login",[this.options.settings.get("brandName")]):(0,o.loc)("password.reset.title.generic","login");return e},save:function(){return(0,o.loc)("password.reset","login")}}),s=i.default.extend({Body:a});t.default=s,e.exports=t.default},1378:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=n(3966),a=(r=n(894))&&r.__esModule?r:{default:r};var s=i.BaseForm.extend({className:"phone-authenticator-challenge",events:{"click a.phone-authenticator-challenge__link":"handleSecondaryLinkClick"},title:function(){return(0,o.loc)("oie.phone.verify.title","login")},save:function(){return"sms"===this.model.get("primaryMode")?(0,o.loc)("oie.phone.sms.primaryButton","login"):(0,o.loc)("oie.phone.call.primaryButton","login")},handleSecondaryLinkClick:function(e){e.preventDefault();var t=this.model.get("secondaryMode");this.model.set("authenticator.methodType",t),this.saveForm(this.model)},initialize:function(){var e=this;this.model.on("error",(function(){return e.model.set("authenticator.methodType",e.model.get("primaryMode"))})),i.BaseForm.prototype.initialize.apply(this,arguments);var t="sms"===this.model.get("primaryMode")?(0,o.loc)("oie.phone.verify.sms.sendText","login"):(0,o.loc)("oie.phone.verify.call.sendText","login"),n=(0,o.loc)("oie.phone.carrier.charges","login"),r=this.model.get("phoneNumber")!==(0,o.loc)("oie.phone.alternate.title","login")?"strong no-translate":"";this.add('<div class="okta-form-subtitle" data-se="o-form-explain">'.concat(t,"\n <span ").concat(r?'class="'+r+'"':"",">").concat(this.model.escape("phoneNumber"),"</span>\n <p>").concat(n,"</p>\n </div>"))},getUISchema:function(){var e=i.BaseForm.prototype.getUISchema.apply(this,arguments);return e.filter((function(e){return"authenticator.methodType"!==e.name}))},render:function(){i.BaseForm.prototype.render.apply(this,arguments);var e=this.model.get("secondaryMode");if(e){var t="sms"===e?(0,o.loc)("oie.phone.sms.secondaryButton","login"):(0,o.loc)("oie.phone.call.secondaryButton","login");this.add('<a href="#"\n class="link phone-authenticator-challenge__link"\n data-se="phone-authenticator-challenge__link">'.concat(t,"</a>"),".o-form-button-bar")}}}),l=a.default.extend({Body:s,createModelClass:function(e){var t=e.uiSchema,n=o._.find(t,(function(e){return"authenticator.methodType"===e.name})),r=n.options,a=this.options.currentViewState.relatesTo,s=(null==a?void 0:a.value)||{},l=s.profile,u=i.BaseView.prototype.createModelClass.apply(this,arguments),c=Object.assign({primaryMode:{value:r[0].value,type:"string"},secondaryMode:{value:r[1]&&r[1].value,type:"string"},phoneNumber:{value:null!=l&&l.phoneNumber?l.phoneNumber:(0,o.loc)("oie.phone.alternate.title","login"),type:"string"}},u.prototype.local);return u.extend({local:c})}});t.default=l,e.exports=t.default},3385:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ResendView=void 0;var r=n(2048),o=n(3966),i=a(n(894));function a(e){return e&&e.__esModule?e:{default:e}}var s=a(n(8876)).default.extend({className:"phone-authenticator-challenge__resend-warning hide",events:{"click a.resend-link":"handleResendLink"},resendActionKey:"currentAuthenticatorEnrollment-resend",initialize:function(){var e="sms"===this.model.get("mode")?(0,r.loc)("oie.phone.verify.sms.resendText","login"):(0,r.loc)("oie.phone.verify.call.resendText","login"),t="sms"===this.model.get("mode")?(0,r.loc)("oie.phone.verify.sms.resendLinkText","login"):(0,r.loc)("oie.phone.verify.call.resendLinkText","login");this.add((0,r.createCallout)({content:"".concat(e," <a class='resend-link'>").concat(t,"</a>"),type:"warning"}))},handleResendLink:function(){this.options.appState.trigger("invokeAction",this.resendActionKey),this.el.classList.contains("hide")||this.el.classList.add("hide"),this.showCalloutAfterTimeout()}});t.ResendView=s;var l=o.BaseForm.extend(Object.assign({className:"phone-authenticator-challenge",title:function(){return(0,r.loc)("oie.phone.verify.title","login")},save:function(){return(0,r.loc)("mfa.challenge.verify","login")},initialize:function(){o.BaseForm.prototype.initialize.apply(this,arguments);var e="sms"===this.model.get("mode")?(0,r.loc)("oie.phone.verify.sms.codeSentText","login"):(0,r.loc)("mfa.calling","login"),t=(0,r.loc)("oie.phone.verify.enterCodeText","login"),n=(0,r.loc)("oie.phone.carrier.charges","login"),i=this.model.get("phoneNumber")!==(0,r.loc)("oie.phone.alternate.title","login")?"strong no-translate":"";this.add('<div class="okta-form-subtitle" data-se="o-form-explain">\n '.concat(e," <span class='").concat(i,"'>").concat(this.model.escape("phoneNumber"),".</span>\n ").concat(t,"\n <p>").concat(n,"</p>\n </div>"),{prepend:!0,selector:".o-form-fieldset-container"})},postRender:function(){o.BaseForm.prototype.postRender.apply(this,arguments),this.add(s,{selector:".o-form-info-container",prepend:!0})}})),u=i.default.extend({Body:l,createModelClass:function(){var e=this.options.currentViewState.relatesTo,t=(null==e?void 0:e.value)||{},n=t.methods,i=t.profile,a=o.BaseView.prototype.createModelClass.apply(this,arguments),s=Object.assign({mode:{value:n[0].type,type:"string"},phoneNumber:{value:null!=i&&i.phoneNumber?i.phoneNumber:(0,r.loc)("oie.phone.alternate.title","login"),type:"string"}},a.prototype.local);return a.extend({local:s})}});t.default=u},1198:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=n(3966),i=s(n(894)),a=s(n(2646));function s(e){return e&&e.__esModule?e:{default:e}}var l=o.BaseForm.extend({className:"phone-authenticator-enroll",title:function(){return(0,r.loc)("oie.phone.enroll.title","login")},subtitle:function(){return"voice"===this.model.get("authenticator.methodType")?(0,r.loc)("oie.phone.enroll.call.subtitle","login"):(0,r.loc)("oie.phone.enroll.sms.subtitle","login")},render:function(){o.BaseForm.prototype.render.apply(this,arguments);var e=this.model.get("authenticator.methodType"),t=this.el.querySelector(".phone-authenticator-enroll__phone"),n=this.el.querySelector(".phone-authenticator-enroll__phone-ext");"voice"===e&&(t.classList.contains("phone-authenticator-enroll__phone--small")||t.classList.add("phone-authenticator-enroll__phone--small"),n.classList.remove("hide")),"sms"===e&&(t.classList.remove("phone-authenticator-enroll__phone--small"),n.classList.contains("hide")||n.classList.add("hide")),this.el.querySelector(".phone-authenticator-enroll__phone-code").innerText="+".concat(this.model.get("phoneCode"))},handlePhoneCodeChange:function(){this.el.querySelector(".phone-authenticator-enroll__phone-code").innerText="+".concat(this.model.get("phoneCode"))},save:function(){return"voice"===this.model.get("authenticator.methodType")?(0,r.loc)("oie.phone.call.primaryButton","login"):(0,r.loc)("oie.phone.sms.primaryButton","login")},getUISchema:function(){var e=o.BaseForm.prototype.getUISchema.apply(this,arguments),t=r._.findIndex(e,(function(e){return"authenticator.phoneNumber"===e.name})),n={"label-top":!0,label:(0,r.loc)("country.label","login"),type:"select",options:a.default.getCountries(),name:"country",wide:!0},i={label:(0,r.loc)("mfa.phoneNumber.placeholder","login"),type:"group",modelType:"string","label-top":!0,name:"phoneCode",className:"phone-authenticator-enroll__phone",input:[{type:"label",label:"+".concat(this.model.get("phoneCode")),className:"phone-authenticator-enroll__phone-code no-translate"},Object.assign({},e[t])]},s={label:(0,r.loc)("phone.extention.label","login"),type:"text",className:"phone-authenticator-enroll__phone-ext hide","label-top":!0,name:"extension"};-1!==t&&(e.splice(t,1,i),e.splice(t,0,n),e.splice(t+2,0,s));var l=r._.find(e,(function(e){return"authenticator.methodType"===e.name}));return l&&1===l.options.length&&(l.className="hide"),e},initialize:function(){o.BaseForm.prototype.initialize.apply(this,arguments),this.listenTo(this.model,"change:authenticator.methodType",this.render.bind(this)),this.listenTo(this.model,"change:phoneCode",this.handlePhoneCodeChange.bind(this))}}),u=i.default.extend({Body:l,createModelClass:function(){var e=o.BaseView.prototype.createModelClass.apply(this,arguments),t=Object.assign({country:{value:"US",type:"string"},extension:{type:"string"}},e.prototype.local),n=Object.assign({phoneCode:{deps:["country"],fn:function(e){return a.default.getCallingCodeForCountry(e)}}},e.prototype.derived);return e.extend({local:t,derived:n,toJSON:function(){var e=r.Model.prototype.toJSON.call(this,arguments),t=this.get("extension"),n=this.get("phoneCode"),o="+".concat(n).concat(e.authenticator.phoneNumber);return"voice"===e.authenticator.methodType&&null!=t&&t.trim().length&&(o="".concat(o,"x").concat(t)),e.authenticator.phoneNumber=o,e}})}});t.default=u,e.exports=t.default},7033:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2048),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(o,a,l):o[a]=e[a]}o.default=e,n&&n.set(e,o);return o}(n(3385)),a=n(3966);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}var l=i.ResendView.extend({className:"phone-authenticator-enroll--warning hide",resendActionKey:"currentAuthenticator-resend"}),u=i.default.prototype.Body.extend({className:"phone-authenticator-enroll",title:function(){return(0,o.loc)("oie.phone.enroll.title","login")},postRender:function(){a.BaseForm.prototype.postRender.apply(this,arguments),this.add(l,{selector:".o-form-info-container",prepend:!0})}}),c=i.default.extend({Body:u});t.default=c,e.exports=t.default},1462:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=n(3966),i=s(n(894)),a=s(n(5405));function s(e){return e&&e.__esModule?e:{default:e}}var l=o.BaseForm.extend({className:"piv-cac-card",modelEvents:{request:"startAuthentication",error:"stopAuthentication"},initialize:function(){o.BaseForm.prototype.initialize.apply(this,arguments),this.model.set("useRedirect",!0),this.addInstructions()},title:function(){return(0,r.loc)("piv.cac.title","login")},save:function(){return(0,r.loc)("retry","login")},addInstructions:function(){this.add("<div class='piv-verify-text'>\n <p>".concat((0,r.loc)("piv.cac.card.insert","login"),"</p>\n <div data-se='piv-waiting' class='okta-waiting-spinner'></div>\n </div>"))},startAuthentication:function(){this.$(".okta-waiting-spinner").show(),this.$(".o-form-button-bar").hide()},stopAuthentication:function(){this.$(".okta-waiting-spinner").hide(),this.$(".o-form-button-bar").show()}}),u=i.default.extend({Header:a.default,Body:l,postRender:function(){i.default.prototype.postRender.apply(this,arguments);var e=this.options.appState.get("messages")||{};Array.isArray(e.value)?this.form.stopAuthentication():(this.form.startAuthentication(),this.form.trigger("save",this.model))}});t.default=u,e.exports=t.default},5405:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(3966),i=(r=n(6190))&&r.__esModule?r:{default:r};var a=o.BaseHeader.extend({HeaderBeacon:i.default.extend({getBeaconClassName:function(){return"smartcard"}})});t.default=a,e.exports=t.default},1117:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=n(3966),a=(r=n(894))&&r.__esModule?r:{default:r};var s=i.BaseForm.extend({title:function(){return(0,o.loc)("oie.security.question.challenge.title","login")},save:function(){return(0,o.loc)("mfa.challenge.verify","login")},getUISchema:function(){var e=i.BaseForm.prototype.getUISchema.apply(this,arguments),t=e.filter((function(e){return e.name.indexOf("questionKey")>=0})),n=e.filter((function(e){return e.name.indexOf("answer")>=0}));return 1===t.length&&1===n.length&&(n[0].label=t[0].label),e}}),l=a.default.extend({Body:s});t.default=l,e.exports=t.default},560:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=n(3966),a=(r=n(894))&&r.__esModule?r:{default:r};var s=i.BaseForm.extend({title:function(){return(0,o.loc)("oie.security.question.enroll.title","login")},save:function(){return(0,o.loc)("mfa.challenge.verify","login")}}),l=a.default.extend({Body:s});t.default=l,e.exports=t.default},8876:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=n(2945),a=(r=n(6681))&&r.__esModule?r:{default:r};var s=o.View.extend({postRender:function(){this.showCalloutAfterTimeout()},showCalloutAfterTimeout:function(){var e=this;a.default.getResendTimestamp()||a.default.setResendTimestamp(Date.now()),this.showMeInterval=setInterval((function(){var t=a.default.getResendTimestamp();Date.now()-t>=i.SHOW_RESEND_TIMEOUT&&(e.$el.removeClass("hide"),clearInterval(e.showMeInterval),a.default.removeResendTimestamp())}),250)},remove:function(){var e,t;o.View.prototype.remove.apply(this,arguments),clearInterval(this.showMeInterval);var n=this.options.appState.get("currentFormName"),r=(null===(e=this.options.appState.get("currentAuthenticator"))||void 0===e?void 0:e.resend)||(null===(t=this.options.appState.get("currentAuthenticatorEnrollment"))||void 0===t?void 0:t.resend),i=this.options.model.get("formName")!==n;!a.default.getResendTimestamp()||r&&!i||a.default.removeResendTimestamp()}});t.default=s,e.exports=t.default},9848:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(3966),o=s(n(894)),i=s(n(120)),a=s(n(9154));function s(e){return e&&e.__esModule?e:{default:e}}var l=o.default.extend({initialize:function(){o.default.prototype.initialize.apply(this,arguments),this.isPushOnlyWithAutoChallengeFlow()?this.Body=i.default:(this.Body=a.default,this.Footer=r.BaseFooter)},isPushOnlyWithAutoChallengeFlow:function(){var e=this.options.appState.getSchemaByName("authenticator.methodType"),t=this.options.appState.getSchemaByName("authenticator.autoChallenge"),n=null==e?void 0:e.options;return t&&1===n.length&&"push"===n[0].value}});t.default=l,e.exports=t.default},9154:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=n(3966),a=(r=n(8990))&&r.__esModule?r:{default:r},s=n(2423),l=n(5582),u=n(4817);var c=l.Body.extend({getUISchema:function(){var e=this,t=i.BaseForm.prototype.getUISchema.apply(this,arguments),n=t.find((function(e){return"authenticator.methodType"===e.name}));this._sortMethodOptionsIfDeviceKnown(n.options);var r=n.options.map((function(t){return Object.assign({},t,(0,s.getAuthenticatorDataForVerification)({authenticatorKey:e.isOV()?u.AUTHENTICATOR_KEY.OV:u.AUTHENTICATOR_KEY.CUSTOM_APP}))}));return[{View:a.default,options:{name:n.name,collection:new o.Collection(r)}}]},_sortMethodOptionsIfDeviceKnown:function(e){var t,n,r,o;if(null===(t=this.options)||void 0===t||null===(n=t.currentViewState)||void 0===n||null===(r=n.relatesTo)||void 0===r||null===(o=r.value)||void 0===o?void 0:o.deviceKnown){var i=e.findIndex((function(e){return"signed_nonce"===e.value}));if(i>0){var a=e[i];e.splice(i,1),e.unshift(a)}}},isOV:function(){return this.options.appState.get("authenticatorKey")===u.AUTHENTICATOR_KEY.OV}}),f=c;t.default=f,e.exports=t.default},120:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(3966),o=n(4817),i=n(2048),a=r.BaseForm.extend(Object.assign({className:function(){return this.isOV()?"okta-verify-send-push-form":"custom-app-send-push-form"},save:function(){return this.options.appState.get("authenticatorKey")===o.AUTHENTICATOR_KEY.OV?(0,i.loc)("oie.okta_verify.sendPushButton","login"):(0,i.loc)("oie.custom_app.sendPushButton","login")},title:function(){return this.isOV()?(0,i.loc)("oie.okta_verify.push.title","login"):(0,i.loc)("oie.custom_app.push.title","login")},render:function(){r.BaseForm.prototype.render.apply(this,arguments);var e=this.$el.find('[data-se="o-form-fieldset-authenticator.autoChallenge"]');e.length&&this.$el.find(".o-form-button-bar").after(e)},getUISchema:function(){var e=r.BaseForm.prototype.getUISchema.apply(this,arguments);return e.filter((function(e){return"authenticator.methodType"!==e.name}))},isOV:function(){return this.options.appState.get("authenticatorKey")===o.AUTHENTICATOR_KEY.OV}})),s=a;t.default=s,e.exports=t.default},1879:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Body=void 0;var r=c(n(6276)),o=n(2048),i=n(3966),a=c(n(4563)),s=n(2945),l=c(n(894)),u=n(4817);function c(e){return e&&e.__esModule?e:{default:e}}var f=o.View.extend({className:"okta-form-infobox-warning infobox infobox-warning",template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="icon warning-16"></span><p>'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"warning")||(null!=t?a(t,"warning"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"warning",hash:{},data:o,loc:{start:{line:1,column:40},end:{line:1,column:51}}}):i)+"</p>"},useData:!0})}),d=i.BaseFormWithPolling.extend(Object.assign({noButtonBar:!0,title:function(){return this.isOV()?(0,o.loc)("oie.okta_verify.push.title","login"):(0,o.loc)("oie.verify.custom_app.title","login",[this.options.appState.getAuthenticatorDisplayName()])},initialize:function(){i.BaseFormWithPolling.prototype.initialize.apply(this,arguments),(this.isOV()||this.isCustomApp())&&this.isAutoChallengeSupported()&&(this.hasSavingState=!1),this.listenTo(this.model,"error",this.stopPoll),this.addView()},addView:function(){this.add((0,o.createButton)({className:"button button-wide button-primary send-push link-button-disabled",title:this.isOV()?(0,o.loc)("oie.okta_verify.push.sent","login"):(0,o.loc)("oie.custom_app.push.sent","login"),click:function(e){e.preventDefault()}})),this.add("<span class='accessibility-text' role='alert'>\n ".concat(this.isOV()?(0,o.loc)("oie.okta_verify.push.sent","login"):(0,o.loc)("oie.custom_app.push.sent","login"),"</span>"))},render:function(){i.BaseFormWithPolling.prototype.render.apply(this,arguments);var e=this.$el.find('[data-se="o-form-fieldset-autoChallenge"]');this.isAutoChallengeSupported()?(this.isOV()||this.isCustomApp())&&e.length&&this.$el.find(".o-form-fieldset-container").append(e):e.length&&e.hide()},postRender:function(){i.BaseFormWithPolling.prototype.postRender.apply(this,arguments);var e=this.isOV()?"okta-verify-push-challenge":" custom-app-push-challenge";this.$el.addClass(e),this.startPoll()},startPoll:function(){var e=this;this.startPolling(),this.warningTimeout=setTimeout((function(){var t=e.isOV()?(0,o.loc)("oktaverify.warning","login"):(0,o.loc)("oie.custom_app.push.warning","login",[e.options.appState.getAuthenticatorDisplayName()]);e.showWarning(t)}),s.WARNING_TIMEOUT)},stopPoll:function(){this.stopPolling(),this.clearWarning()},showWarning:function(e){this.clearWarning(),this.add(f,".o-form-error-container",{options:{warning:e}})},clearWarning:function(){this.$(".o-form-error-container div").hasClass("okta-form-infobox-warning")&&this.$(".okta-form-infobox-warning").remove(),clearTimeout(this.warningTimeout)},remove:function(){i.BaseFormWithPolling.prototype.remove.apply(this,arguments),this.stopPolling()},isOV:function(){return this.options.appState.get("authenticatorKey")===u.AUTHENTICATOR_KEY.OV},isCustomApp:function(){return this.options.appState.get("authenticatorKey")===u.AUTHENTICATOR_KEY.CUSTOM_APP},isAutoChallengeSupported:function(){return null!==this.options.appState.getSchemaByName("autoChallenge")&&void 0!==this.options.appState.getSchemaByName("autoChallenge")}},a.default));t.Body=d;var p=l.default.extend({Body:d});t.default=p},9895:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r};function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}var a=n(2048).View.extend({className:"custom-access-denied-error-message",template:o.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"message")||(null!=t?a(t,"message"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"message",hash:{},data:o,loc:{start:{line:1,column:18},end:{line:1,column:29}}}):i)+"</p>"},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<ul class="custom-links">'+(null!=(i=a(n,"each").call(null!=t?t:e.nullContext||{},null!=t?a(t,"links"):t,{name:"each",hash:{},fn:e.program(4,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:78},end:{line:1,column:182}}}))?i:"")+"</ul>"},4:function(e,t,n,r,o){var a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u="function",c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<li><a href="+c(i(a=null!=(a=f(n,"url")||(null!=t?f(t,"url"):t))?a:l)===u?a.call(s,{name:"url",hash:{},data:o,loc:{start:{line:1,column:105},end:{line:1,column:112}}}):a)+' target="_blank" rel="noopener noreferrer">'+c(i(a=null!=(a=f(n,"label")||(null!=t?f(t,"label"):t))?a:l)===u?a.call(s,{name:"label",hash:{},data:o,loc:{start:{line:1,column:155},end:{line:1,column:164}}}):a)+"</a></li>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"message"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:40}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"links"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:40},end:{line:1,column:194}}}))?i:"")},useData:!0}),getTemplateData:function(){return{message:this.options.message,links:this.options.links}}});t.default=a,e.exports=t.default},2307:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o={title:function(){return(0,r.loc)("oie.email.mfa.title","login")}};t.default=o,e.exports=t.default},4563:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=n(2945),i={startPolling:function(e){this.fixedPollingInterval=this.options.currentViewState.refresh,this.dynamicPollingInterval=e,this.countDownCounterValue=Math.ceil(this.pollingInterval/o.MS_PER_SEC),this.fixedPollingInterval?this._startRemediationPolling():this._startAuthenticatorPolling()},_startAuthenticatorPolling:function(){var e=this;["currentAuthenticator","currentAuthenticatorEnrollment"].some((function(t){if(e.options.appState.has(t)){var n,o=e.options.appState.get(t),i="".concat(t,"-poll"),a=e.dynamicPollingInterval||(null==o||null===(n=o.poll)||void 0===n?void 0:n.refresh);return r._.isNumber(a)&&(e.polling=setTimeout((function(){e.options.appState.trigger("invokeAction",i)}),a)),!0}return!1}))},_startRemediationPolling:function(){var e=this,t=this.dynamicPollingInterval||this.fixedPollingInterval;r._.isNumber(t)&&(this.polling=setTimeout((function(){e.options.appState.trigger("saveForm",e.model)}),t))},stopPolling:function(){this.polling&&(clearTimeout(this.polling),this.polling=null)}};t.default=i,e.exports=t.default},4972:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048);var a=i.View.extend({className:"custom-buttons",template:o.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="separation-line"><span>'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"socialauth.divider.text"},data:o,loc:{start:{line:1,column:58},end:{line:1,column:112}}}))+"</span></div>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"addSeparateLine"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:132}}}))?i:"")+'<div class="okta-custom-buttons-container primary-auth-container"></div>'},useData:!0}),initialize:function(e){var t=this;e.customButtons.forEach((function(e){t.add((0,i.createButton)(e),".okta-custom-buttons-container")}))},getTemplateData:function(){var e=i.View.prototype.getTemplateData.apply(this,arguments);return Object.assign(e,{addSeparateLine:this.options.addSeparateLine})}});t.default=a,e.exports=t.default},4393:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(6276)),o=n(2048),i=c(n(7516)),a=c(n(5115)),s=n(2945),l=n(4817),u=n(3974);function c(e){return e&&e.__esModule?e:{default:e}}var f=o.View.extend({className:"sign-in-with-device-option",template:r.default.template({1:function(e,t,n,r,o){return'<div class="signin-with-ov-description"></div>'},3:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="separation-line"><span>'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"authbutton.divider.text"},data:o,loc:{start:{line:1,column:201},end:{line:1,column:255}}}))+"</span></div>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="okta-verify-container">'+(null!=(i=s(n,"if").call(a,null!=t?s(t,"signInWithDeviceIsRequired"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:35},end:{line:1,column:122}}}))?i:"")+"</div>"+(null!=(i=s(n,"unless").call(a,null!=t?s(t,"signInWithDeviceIsRequired"):t,{name:"unless",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:128},end:{line:1,column:279}}}))?i:"")},useData:!0}),initialize:function(){var e,t=this.options.appState,n=t.hasRemediationObject(l.FORMS.LAUNCH_AUTHENTICATOR),r=null==n||null===(e=n.relatesTo)||void 0===e?void 0:e.value;this.add((0,o.createButton)({className:"button",icon:"okta-verify-authenticator",title:(0,o.loc)("oktaVerify.button","login"),click:function(){var e=this;this.settings.get("features.engFastpassMultipleAccounts")&&this.model.get("identifier")&&this.options.settings.set("identifier",encodeURIComponent(this.model.get("identifier")));var n=(null==r?void 0:r.challengeMethod)===a.default.UNIVERSAL_LINK_CHALLENGE;if(n){var o,c,f=(0,u.appendLoginHint)(r.href,null===(o=this.options)||void 0===o||null===(c=o.settings)||void 0===c?void 0:c.get("identifier"));i.default.redirect(f)}var d=(null==r?void 0:r.challengeMethod)===a.default.APP_LINK_CHALLENGE;if(d){var p,h,m=(0,u.appendLoginHint)(r.href,null===(p=this.options)||void 0===p||null===(h=p.settings)||void 0===h?void 0:h.get("identifier"));i.default.redirect(m,window,!0)}i.default.callAfterTimeout((function(){e.options.isRequired?t.trigger("saveForm",e.model):t.trigger("invokeAction",l.FORMS.LAUNCH_AUTHENTICATOR)}),n||d?s.UNIVERSAL_LINK_POST_DELAY:0)}}),".okta-verify-container")},getTemplateData:function(){return{signInWithDeviceIsRequired:!!this.options.isRequired}},postRender:function(){if(this.options.isRequired){var e,t,n=null===(e=this.options.appState.attributes)||void 0===e||null===(t=e.app)||void 0===t?void 0:t.label,r=n?(0,o.loc)("oktaVerify.appDescription","login",[n]):(0,o.loc)("oktaVerify.description","login");this.$el.find(".signin-with-ov-description").text(r)}}});t.default=f,e.exports=t.default},8870:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048);var a=i.View.extend({className:"sign-in-with-idp",template:o.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="separation-line"><span>'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"socialauth.divider.text"},data:o,loc:{start:{line:1,column:64},end:{line:1,column:118}}}))+"</span></div>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"isSecondaryIdpDisplay"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:138}}}))?i:"")+'<div class="okta-idps-container"></div>'+(null!=(i=s(n,"if").call(a,null!=t?s(t,"isPrimaryIdpDisplay"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:177},end:{line:1,column:313}}}))?i:"")},useData:!0}),initialize:function(){var e=this;this.options.idpButtons.forEach((function(t){e.add((0,i.createButton)(t),".okta-idps-container")}))},getTemplateData:function(){var e=i.View.prototype.getTemplateData.apply(this,arguments),t=this.options.idpButtons.length>0;return Object.assign(e,{isPrimaryIdpDisplay:t&&this.options.isPrimaryIdpDisplay,isSecondaryIdpDisplay:t&&!this.options.isPrimaryIdpDisplay})}});t.default=a,e.exports=t.default},6434:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048),a=n(4817);var s=i.View.extend({className:"sign-in-with-webauthn-option",template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="okta-webauthn-container"></div><div class="separation-line"><span>'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"authbutton.divider.text"},data:o,loc:{start:{line:1,column:78},end:{line:1,column:132}}}))+"</span></div>"},useData:!0}),initialize:function(){var e=this;this.add((0,i.createButton)({className:"button",icon:"okta-webauthn-authenticator",title:(0,i.loc)("signinWithWebAuthn.button","login"),click:function(){e.options.appState.trigger("invokeAction",a.FORMS.LAUNCH_WEBAUTHN_AUTHENTICATOR)}}),".okta-webauthn-container")}});t.default=s,e.exports=t.default},2679:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=a(n(1586)),i=a(n(894));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.default.extend({title:function(){var e=this.options.appState.getAuthenticatorDisplayName();return this.options.appState.isAuthenticatorChallenge()?(0,r.loc)("oie.symantecVip.challenge.title","login",[e]):(0,r.loc)("oie.symantecVip.enroll.title","login",[e])},subtitle:function(){var e=this.options.appState.getAuthenticatorDisplayName();return this.options.appState.isAuthenticatorChallenge()?(0,r.loc)("oie.symantecVip.challenge.description","login",[e]):(0,r.loc)("oie.symantecVip.enroll.description","login",[e])},save:function(){return this.options.appState.isAuthenticatorChallenge()?(0,r.loc)("mfa.challenge.verify","login"):(0,r.loc)("mfa.enroll","login")}}),l=i.default.extend({Body:s});t.default=l,e.exports=t.default},3648:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048);var a=i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="idx-webauthn-verify-text">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.instructions"},data:o,loc:{start:{line:1,column:36},end:{line:1,column:99}}}))+"</p>"},useData:!0}),initialize:function(){var e=this.options.currentViewState.relatesTo;"required"===(null==e?void 0:e.value.contextualData.challengeData).userVerification&&this.add((0,i.createCallout)({className:"uv-required-callout",size:"slim",type:"warning",subtitle:(0,i.loc)("oie.verify.webauthn.uv.required.instructions","login")})),this.add('<div data-se="webauthn-waiting" class="okta-waiting-spinner"></div>')}});t.default=a,e.exports=t.default},2317:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=n(3966),i=h(n(894)),a=h(n(4813)),s=h(n(504)),l=h(n(5331)),u=h(n(3648)),c=n(6589),f=h(n(4849)),d=n(4817),p=h(n(1461));function h(e){return e&&e.__esModule?e:{default:e}}var m=o.BaseForm.extend({title:function(){return(0,r.loc)("oie.verify.webauth.title","login")},className:"oie-verify-webauthn",getUISchema:function(){var e=this,t=[];if(s.default.isNewApiAvailable()){var n=(0,r.createButton)({className:"retry-webauthn button-primary default-custom-button",title:(0,r.loc)("mfa.challenge.verify","login"),click:function(){e.getCredentialsAndSave()}});t.push({View:u.default},{View:n}),this._canSetupWebAuthnResidentKey()&&t.push({View:p.default})}else t.push({View:(0,r.createCallout)({className:"webauthn-not-supported",type:"error",subtitle:(0,r.loc)("oie.webauthn.error.not.supported","login")})});return t},remove:function(){o.BaseForm.prototype.remove.apply(this,arguments),this.webauthnAbortController&&(this.webauthnAbortController.abort(),this.webauthnAbortController=null)},noButtonBar:!0,modelEvents:{error:"_stopVerification"},getCredentialsAndSave:function(){var e,t=this;this.clearErrors(),this._startVerification(),"undefined"!=typeof AbortController&&(this.webauthnAbortController=new AbortController);var n=this.options.currentViewState.relatesTo,o=(null==n?void 0:n.value)||{},i=[];((null===(e=this.options.appState.get("authenticatorEnrollments"))||void 0===e?void 0:e.value)||[]).forEach((function(e){"webauthn"===e.key&&i.push({type:"public-key",id:a.default.strToBin(e.credentialId)})}));var s=o.contextualData.challengeData,l=r._.extend({},s,{allowCredentials:i,challenge:a.default.strToBin(s.challenge)});navigator.credentials.get({publicKey:l,signal:this.webauthnAbortController&&this.webauthnAbortController.signal}).then((function(e){var n,o={clientData:a.default.binToStr(e.response.clientDataJSON),authenticatorData:a.default.binToStr(e.response.authenticatorData),signatureData:a.default.binToStr(e.response.signature)};t.options.appState.getSchemaByName("credentials.userHandle")&&r._.extend(o,{userHandle:a.default.binToStr(null!==(n=e.response.userHandle)&&void 0!==n?n:"")});t.model.set({credentials:o}),t.saveForm(t.model)}),(function(e){t.webauthnAbortController&&t.model.trigger("error",t.model,{responseJSON:{errorSummary:(0,c.getMessageFromBrowserError)(e)}})})).finally((function(){t.webauthnAbortController=null}))},_startVerification:function(){this.$(".okta-waiting-spinner").show(),this.$(".retry-webauthn").hide(),this.$(".setup-webauthn-residentkey-text").hide(),this.$(".retry-webauthn")[0].textContent=(0,r.loc)("retry","login")},_stopVerification:function(){this.$(".okta-waiting-spinner").hide(),this.$(".retry-webauthn").show(),this.$(".setup-webauthn-residentkey-text").show()},_canSetupWebAuthnResidentKey:function(){return this.options.appState.hasRemediationObject(d.FORMS.ENROLL_WEBAUTHN_RESIDENTKEY)}}),v=i.default.extend({Body:m,Footer:f.default,postRender:function(){i.default.prototype.postRender.apply(this,arguments),s.default.isNewApiAvailable()&&!l.default.isSafari()&&this.form.getCredentialsAndSave()}});t.default=v,e.exports=t.default},1461:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048),a=n(4817);var s=i.View.extend({className:"setup-webauthn-residentkey-text",template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<div>"+(null!=(i=(a(n,"i18n")||t&&a(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oie.enroll.webauthn.rk.link"},data:o,loc:{start:{line:1,column:5},end:{line:1,column:65}}}))?i:"")+"</div>"},useData:!0}),events:{"click .setup-webauthn-residentkey-link":function(e){e.preventDefault(),this.options.appState.trigger("invokeAction",a.FORMS.ENROLL_WEBAUTHN_RESIDENTKEY)}}});t.default=s,e.exports=t.default},7520:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=n(2048),i=a(n(5331));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="idx-webauthn-enroll-text">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oie.enroll.webauthn.instructions"},data:o,loc:{start:{line:1,column:36},end:{line:1,column:99}}}))+"</p>"},useData:!0}),initialize:function(){var e=this.options.currentViewState.relatesTo,t=null==e?void 0:e.value.contextualData.activationData;i.default.isEdge()&&this.add(o.View.extend({tagName:"p",className:"idx-webauthn-enroll-text-edge",template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oie.enroll.webauthn.instructions.edge"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:68}}}))},useData:!0})})),"required"===t.authenticatorSelection.userVerification&&this.add((0,o.createCallout)({className:"uv-required-callout",size:"slim",type:"warning",subtitle:(0,o.loc)("oie.enroll.webauthn.uv.required.instructions","login")})),this.add('<div data-se="webauthn-waiting" class="okta-waiting-spinner"></div>')}});t.default=s,e.exports=t.default},6621:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=n(3966),i=c(n(894)),a=c(n(504)),s=c(n(4813)),l=c(n(7520)),u=n(6589);function c(e){return e&&e.__esModule?e:{default:e}}function f(e){return null==e?null:JSON.stringify(e)}var d=o.BaseForm.extend({title:function(){return(0,r.loc)("oie.enroll.webauthn.title","login")},className:"oie-enroll-webauthn",modelEvents:{error:"_stopEnrollment"},getUISchema:function(){var e=this,t=[];return a.default.isNewApiAvailable()?(t.push({View:l.default}),t.push({View:(0,r.createButton)({className:"webauthn-setup button button-primary button-wide",title:(0,r.loc)("oie.enroll.webauthn.save","login"),click:function(){e.triggerWebauthnPrompt()}})})):t.push({View:(0,r.createCallout)({className:"webauthn-not-supported",type:"error",subtitle:(0,r.loc)("oie.webauthn.error.not.supported","login")})}),t},triggerWebauthnPrompt:function(){var e=this;this.$el.find(".o-form-error-container").empty(),this._startEnrollment();var t=this.options.currentViewState.relatesTo,n=null==t?void 0:t.value.contextualData.activationData;if(a.default.isNewApiAvailable()){var o,i=!0===(null===(o=n.authenticatorSelection)||void 0===o?void 0:o.requireResidentKey)?[]:function(){var e=[];return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(t){"webauthn"===t.key&&e.push({type:"public-key",id:s.default.strToBin(t.credentialId)})})),e}(this.options.appState.get("authenticatorEnrollments").value),l=r._.extend({},n,{challenge:s.default.strToBin(n.challenge),user:{id:s.default.strToBin(n.user.id),name:n.user.name,displayName:n.user.displayName},excludeCredentials:i});"undefined"!=typeof AbortController&&(this.webauthnAbortController=new AbortController),navigator.credentials.create({publicKey:l,signal:this.webauthnAbortController&&this.webauthnAbortController.signal}).then((function(t){e.model.set({credentials:{clientData:s.default.binToStr(t.response.clientDataJSON),attestation:s.default.binToStr(t.response.attestationObject),transports:f(t.response.getTransports()),clientExtensions:f(t.getClientExtensionResults())}}),e.saveForm(e.model)})).catch((function(t){e.model.trigger("error",e.model,{responseJSON:{errorSummary:(0,u.getMessageFromBrowserError)(t)}})})).finally((function(){e.webauthnAbortController=null}))}},_startEnrollment:function(){this.$(".okta-waiting-spinner").show(),this.$(".webauthn-setup").hide()},_stopEnrollment:function(){this.$(".okta-waiting-spinner").hide(),this.$(".webauthn-setup").show()}}),p=i.default.extend({Body:d,postRender:function(){i.default.prototype.postRender.apply(this,arguments),this.$el.find('.o-form-button-bar [type="submit"]').remove()}});t.default=p,e.exports=t.default},7060:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(6276)),o=n(2048),i=s(n(1586)),a=s(n(894));function s(e){return e&&e.__esModule?e:{default:e}}var l=o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div aria-hidden="true" class="yubikey-demo"></div>'},useData:!0})}),u=i.default.extend({title:function(){return this.options.appState.isAuthenticatorChallenge()?(0,o.loc)("oie.yubikey.challenge.title","login"):(0,o.loc)("oie.yubikey.enroll.title","login")},subtitle:function(){return(0,o.loc)("oie.yubikey.description","login")},save:function(){return(0,o.loc)("mfa.challenge.verify","login")},getUISchema:function(){var e=i.default.prototype.getUISchema.apply(this,arguments);return e.unshift({View:l,selector:".o-form-fieldset-container"}),e}}),c=a.default.extend({Body:u});t.default=c,e.exports=t.default},5613:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=o.$.extend(!0,{},e.authParams,o._.pick(t,a.default.AUTH_PARAMS)),r=Object.assign({},e,t),s=r.el,l=r.clientId,u=r.redirectUri,c=Object.assign({},{el:s,clientId:l,redirectUri:u,authParams:n});if(!c.el)throw new i.ConfigError('"el" is required');if(!c.clientId)throw new i.ConfigError('"clientId" is required');if(!c.redirectUri)throw new i.ConfigError('"redirectUri" is required');return c};var r,o=n(2048),i=n(2183),a=(r=n(2534))&&r.__esModule?r:{default:r};e.exports=t.default},3386:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,a,s,l){var u,c,f=new Promise((function(e,t){u=e,c=t})),d=o.$.extend(!0,{},t,n,{authClient:r,hooks:l,globalSuccessFn:function(e){a&&a(e),e&&e.status===i.default.SUCCESS&&u(e)},globalErrorFn:function(e){s&&s(e),c(e)}}),p=new e(d);return p.start(),{router:p,routerOptions:d,promise:f}};var r,o=n(2048),i=(r=n(5115))&&r.__esModule?r:{default:r};e.exports=t.default},8509:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OktaAuth=void 0;var r=n(9044),o=n(1680),i=(0,r.mixinAuthn)(o.OktaAuth);t.OktaAuth=i},1680:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OktaAuth=void 0;var r=n(9044),o=(0,r.createIdxOptionsConstructor)(),i=(0,r.createIdxStorageManager)(),a=(0,r.createIdxTransactionManager)(),s=(0,r.createOktaAuthOAuth)(i,o,a),l=(0,r.mixinIdx)(s);t.OktaAuth=l},18:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2390).OktaSignIn;t.default=r,e.exports=t.default},2390:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0});var o={OktaSignIn:!0};t.default=t.OktaSignIn=void 0;var i=n(8509),a=n(9145),s=n(2343),l=n(1474);function u(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(i=o.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===r(a)?a:String(a)),o)}var i,a}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p(e);if(t){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(i,e);var t,n,r,o=f(i);function i(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,e)}return t=i,n&&u(t.prototype,n),r&&u(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}((0,s.createOktaSignIn)(i.OktaAuth,a.routerClassFactory));t.OktaSignIn=h;var m=h;t.default=m},628:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2048),i=n(9113);function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(i=o.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===r(a)?a:String(a)),o)}var i,a}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(c,e);var t,n,r,o=u(c);function c(){return a(this,c),o.apply(this,arguments)}return t=c,(n=[{key:"mergeHook",value:function(e,t){var n=this.get("hooks")||{};(0,i.mergeHook)(n,e,t),this.set("hooks",n)}},{key:"getHook",value:function(e){return(this.get("hooks")||{})[e]}}])&&s(t.prototype,n),r&&s(t,r),Object.defineProperty(t,"prototype",{writable:!1}),c}(o.Model);t.default=d,e.exports=t.default},9721:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=h(n(6276)),i=n(2048),a=h(n(5091)),s=h(n(8177)),l=h(n(5331)),u=n(2183),c=h(n(4087)),f=h(n(1806)),d=h(n(7516)),p=h(n(2646));function h(e){return e&&e.__esModule?e:{default:e}}function m(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(i=o.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===r(a)?a:String(a)),o)}var i,a}function v(e,t){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},v(e,t)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b(e);if(t){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}function y(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}var _=i.internal.util.Util,w=o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"https://global.oktacdn.com/okta-signin-widget/"+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"version")||(null!=t?a(t,"version"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"version",hash:{},data:o,loc:{start:{line:1,column:46},end:{line:1,column:57}}}):i)},useData:!0}),O={authClient:["object",!1,void 0],baseUrl:["string",!0],recoveryToken:["string",!1,void 0],stateToken:["string",!1,void 0],username:["string",!1],relayState:["string",!1],signOutLink:["string",!1],backToSignInLink:["string",!1],redirect:{type:"string",values:["never","always","auto"],value:"auto"},flow:["string",!1,"default"],transformUsername:["function",!1],globalSuccessFn:"function",globalErrorFn:"function",processCreds:"function",hooks:"object",logo:"string",logoText:["string",!1],helpSupportNumber:"string",proxyIdxResponse:["object",!1],overrideExistingStateToken:["boolean",!1,!1],"features.router":["boolean",!0,!1],"features.securityImage":["boolean",!0,!1],"features.rememberMe":["boolean",!0,!0],"features.autoPush":["boolean",!0,!1],"features.smsRecovery":["boolean",!0,!1],"features.callRecovery":["boolean",!0,!1],"features.emailRecovery":["boolean",!1,!0],"features.webauthn":["boolean",!0,!1],"features.selfServiceUnlock":["boolean",!0,!1],"features.multiOptionalFactorEnroll":["boolean",!0,!1],"features.deviceFingerprinting":["boolean",!1,!1],"features.hideSignOutLinkInMFA":["boolean",!1,!1],"features.skipIdpFactorVerificationBtn":["boolean",!1,!1],"features.hideBackToSignInForReset":["boolean",!1,!1],"features.customExpiredPassword":["boolean",!0,!1],"features.registration":["boolean",!1,!1],"features.idpDiscovery":["boolean",!1,!1],"features.passwordlessAuth":["boolean",!1,!1],"features.showPasswordToggleOnSignInPage":["boolean",!1,!1],"features.trackTypingPattern":["boolean",!1,!1],"features.redirectByFormSubmit":["boolean",!1,!1],"features.useDeviceFingerprintForSecurityImage":["boolean",!1,!0],"features.showPasswordRequirementsAsHtmlList":["boolean",!1,!1],"features.mfaOnlyFlow":["boolean",!1,!1],"features.scrollOnError":["boolean",!1,!0],"features.showKeepMeSignedIn":["boolean",!1,!0],"features.showIdentifier":["boolean",!1,!0],"features.autoFocus":["boolean",!1,!0],"features.rememberMyUsernameOnOIE":["boolean",!1,!1],"features.showSessionRevocation":["boolean",!1,!1],defaultCountryCode:["string",!1,"US"],language:["any",!1],i18n:["object",!1],"assets.baseUrl":["string",!1],"assets.rewrite":{type:"function",value:i._.identity},"assets.languages":["array",!1],issuer:"string",clientId:"string",redirectUri:"string",state:"string",nonce:"string",scopes:"array",codeChallenge:"string",codeChallengeMethod:["string",!1],oAuthTimeout:["number",!1],authScheme:["string",!1,"OAUTH2"],idps:["array",!1,[]],idpDisplay:{type:"string",values:["PRIMARY","SECONDARY"],value:"SECONDARY"},"helpLinks.help":"string","helpLinks.forgotPassword":"string","helpLinks.unlock":"string","helpLinks.custom":"array","helpLinks.factorPage.href":"string","helpLinks.factorPage.text":"string",customButtons:["array",!1,[]],policyId:"string","registration.click":"function","registration.parseSchema":"function","registration.preSubmit":"function","registration.postSubmit":"function","consent.cancel":"function","idpDiscovery.requestContext":"string","colors.brand":"string",cspNonce:"string",brandName:"string",piv:["object",!1,{}],otp:"string",useClassicEngine:["boolean",!1,!1]},k={backToSignInUri:{deps:["backToSignInLink","signOutLink"],fn:function(e,t){return e||t}},showPasswordToggle:{deps:["features.showPasswordToggleOnSignInPage"],fn:function(){var e,t,n,r,o=null!==(e=null===(t=this.options)||void 0===t||null===(n=t.features)||void 0===n?void 0:n.showPasswordToggleOnSignInPage)&&void 0!==e?e:null===(r=this.options)||void 0===r?void 0:r["features.showPasswordToggleOnSignInPage"];return null==o||o},cache:!0},redirectUtilFn:{deps:["features.redirectByFormSubmit"],fn:function(e){return e?d.default.redirectWithFormGet.bind(d.default):_.redirect.bind(_)},cache:!0},supportedLanguages:{deps:["i18n","language","assets.languages"],fn:function(e,t,n){var r=n||a.default.supportedLanguages;return i._.union(r,i._.keys(e),i._.isString(t)?[t]:[])},cache:!0},languageCode:{deps:["language","supportedLanguages"],fn:function(e,t){var n=l.default.getUserLanguages();n.forEach((function(e,t){"nl"===e?n[t]="nl-NL":"pt"===e&&(n[t]="pt-BR")}));var r=i._.clone(n),o=d.default.toLower(t);i._.isString(e)?r.unshift(e):i._.isFunction(e)&&r.unshift(e(t,n)),r.push(a.default.defaultLanguage);var s,u,c=d.default.toLower(d.default.expandLanguages(r));for(s=0;s<c.length;s++)if((u=o.indexOf(c[s]))>-1)return t[u]}},countryCode:{deps:["defaultCountryCode"],fn:function(e){var t=p.default.getCountries();return Object.keys(t).includes(e)?e:"US"}},mode:{deps:["codeChallenge"],fn:function(e){return e?"remediation":"relying-party"}},oauth2Enabled:{deps:["clientId","authScheme","authClient"],fn:function(e,t,n){return!e&&n&&(e=n.options.clientId),!!e&&"oauth2"===t.toLowerCase()},cache:!0},oauthRedirectUri:{deps:["redirectUri"],fn:function(e){if(e)return e;var t=window.location.origin;if(!t){var n=window.location.href,r=window.location.pathname;""!==r&&(t=n.substring(0,n.lastIndexOf(r)))}return encodeURI(t)}},configuredSocialIdps:{deps:["idps"],fn:function(e){return i._.map(e,(function(e){var t=i._.clone(e),n=t.type&&t.type.toLowerCase();return n&&i._.contains(c.default.SUPPORTED_SOCIAL_IDPS,n)||(n="general-idp",t.text=t.text||"{ Please provide a text value }"),t.className=["social-auth-button","social-auth-"+n+"-button ",t.className?t.className:""].join(" "),t.dataAttr="social-auth-"+n+"-button",t.i18nKey="socialauth."+n+".label",t}))},cache:!0},hasPivCard:{deps:["piv"],fn:function(e){return e&&e.certAuthUrl},cache:!0},socialAuthPositionTop:{deps:["configuredSocialIdps","hasPivCard","idpDisplay"],fn:function(e,t,n){return(!i._.isEmpty(e)||t)&&"PRIMARY"===n.toUpperCase()},cache:!0},hasConfiguredButtons:{deps:["configuredSocialIdps","customButtons","hasPivCard"],fn:function(e,t,n){return!i._.isEmpty(e)||!i._.isEmpty(t)||n},cache:!0}},E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}(c,e);var t,n,r,o=g(c);function c(e,t){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);var r=(n=o.call(this,e,t)).getAuthClient();return n.setAcceptLanguageHeader(r),n}return t=c,n=[{key:"get",value:function(e){return i.Model.prototype.get.call(this,e)}},{key:"preinitialize",value:function(){this.local=O,this.derived=k;for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];i.Model.prototype.preinitialize.apply(this,t)}},{key:"initialize",value:function(e){var t=e=e||{},n=t.colors,r=t.authClient,o=e.baseUrl;if(!o){if(r)o=r.getIssuerOrigin();else{var a,s=e.authParams,c=e.issuer;o=null===(a=c=c||(null==s?void 0:s.issuer))||void 0===a?void 0:a.split("/oauth2/")[0]}this.set("baseUrl",o)}o?n&&i._.isString(n.brand)&&!n.brand.match(/^#[0-9A-Fa-f]{6}$/)?this.callGlobalError(new u.ConfigError((0,i.loc)("error.invalid.colors.brand"))):l.default.corsIsNotSupported()&&this.callGlobalError(new u.UnsupportedBrowserError((0,i.loc)("error.unsupported.cors"))):this.callGlobalError(new u.ConfigError((0,i.loc)("error.required.baseUrl")))}},{key:"setAcceptLanguageHeader",value:function(e){e&&e.http.setRequestHeader("Accept-Language",this.get("languageCode"))}},{key:"setAuthClient",value:function(e){this.set("authClient",e),this.setAcceptLanguageHeader(e)}},{key:"getAuthClient",value:function(){return this.get("authClient")}},{key:"set",value:function(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return i.Model.prototype.set.apply(this,t)}catch(e){var r=e.message?e.message:e;this.callGlobalError(new u.ConfigError(r))}}},{key:"callGlobalSuccess",value:function(e,t){var n=i._.extend(t,{status:e});i._.defer(i._.partial(this.get("globalSuccessFn"),n))}},{key:"callGlobalError",value:function(e){var t=this.get("globalErrorFn")||this.options.globalErrorFn;if(!t)throw e;t(e)}},{key:"transformUsername",value:function(e,t){var n=this.get("transformUsername");return n&&i._.isFunction(n)?n(e,t):e}},{key:"processCreds",value:function(e){var t=this.get("processCreds");return s.default.Promise((function(n){i._.isFunction(t)?2===t.length?t(e,n):(t(e),n()):n()}))}},{key:"parseRegistrationSchema",value:function(e,t,n){var r=this.get("registration.parseSchema");i._.isFunction(r)?r(e,(function(e){t(e)}),(function(e){(e=e||{errorSummary:(0,i.loc)("registration.default.callbackhook.error")}).callback="parseSchema",n(e)})):t(e)}},{key:"preRegistrationSubmit",value:function(e,t,n){var r=this.get("registration.preSubmit");i._.isFunction(r)?r(e,(function(e){t(e)}),(function(e){(e=e||{errorSummary:(0,i.loc)("registration.default.callbackhook.error")}).callback="preSubmit",n(e)})):t(e)}},{key:"postRegistrationSubmit",value:function(e,t,n){var r=this.get("registration.postSubmit");i._.isFunction(r)?r(e,(function(e){t(e)}),(function(e){(e=e||{errorSummary:(0,i.loc)("registration.default.callbackhook.error")}).callback="postSubmit",n(e)})):t(e)}},{key:"parse",value:function(e){if(e.labels||e.country){f.default.deprecate('Use "i18n" instead of "labels" and "country"');var t=e.labels||{};i._.each(e.country,(function(e,n){t["country."+n]=e})),e.i18n={},i._.each(a.default.supportedLanguages,(function(n){e.i18n[n]=t})),delete e.labels,delete e.country}e.assets||(e.assets={});var n=e.assets.baseUrl;return n?"/"===n[n.length-1]&&(e.assets.baseUrl=n.substring(0,n.length-1)):e.assets.baseUrl=w({version:a.default.version}),e}},{key:"isDsTheme",value:function(){return!1}}],n&&m(t.prototype,n),r&&m(t,r),Object.defineProperty(t,"prototype",{writable:!1}),c}(i.Model);t.default=E,e.exports=t.default},9145:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.routerClassFactory=function(e){var t,n=!e.stateToken&&!e.clientId&&!e.proxyIdxResponse,a=e.stateToken&&r.default.isV1StateToken(e.stateToken),s=e.clientId&&!0===e.useClassicEngine;t=n||a||s?o.default:i.default;return t};var r=a(n(7516)),o=a(n(8952)),i=a(n(3829));function a(e){return e&&e.__esModule?e:{default:e}}},3002:function(){},9179:function(){},2425:function(){},2445:function(){},171:function(){},1474:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9179);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));var o=n(3002);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=n(2425);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var a=n(2445);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var s=n(171);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var l=n(9369);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var u=n(6303);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var c=n(264);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var f=n(2662);Object.keys(f).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===f[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}}))}))},6303:function(){},9369:function(){},264:function(){},2662:function(){},5331:function(e,t){"use strict";function n(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o={},i="withCredentials"in new window.XMLHttpRequest,a=void 0!==window.XDomainRequest;o.corsIsNotSupported=function(){return!(i||a)},o.corsIsNotEnabled=function(e){return 0===e.status},o.localStorageIsNotSupported=function(){var e="test";try{return localStorage.setItem(e,e),localStorage.removeItem(e),!1}catch(e){return!0}},o.supportsPushState=function(e){return!(!(e=e||window).history||!e.history.pushState)},o.isIE=function(){return/(msie|trident)/i.test(navigator.userAgent)},o.isFirefox=function(){return navigator.userAgent.toLowerCase().indexOf("firefox")>-1},o.isEdge=function(){return navigator.userAgent.toLowerCase().indexOf("edge")>-1},o.isSafari=function(){return navigator.userAgent.toLowerCase().indexOf("safari")>-1&&-1===navigator.userAgent.toLowerCase().indexOf("chrome")},o.isMac=function(){return navigator.platform.toUpperCase().indexOf("MAC")>=0},o.isAndroid=function(){return/android/i.test(navigator.userAgent)&&!/windows phone/i.test(navigator.userAgent)},o.isIOS=function(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream},o.getUserLanguages=function(){if(navigator.languages)return n(navigator.languages);var e=[];return["language","userLanguage","browserLanguage","systemLanguage"].forEach((function(t){navigator[t]&&e.push(navigator[t])})),e};var s=o;t.default=s,e.exports=t.default},938:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(5091)),o=f(n(7297)),i=f(n(7451)),a=f(n(7579)),s=f(n(8177)),l=n(2048),u=f(n(5331)),c=f(n(1806));function f(e){return e&&e.__esModule?e:{default:e}}var d="osw.languages";function p(){var e=JSON.parse(localStorage.getItem(d));return e&&e.version===r.default.version||(e={version:r.default.version}),e}function h(e,t,n){var r=t.replace("-","_"),i=n.rewrite(encodeURI("/labels/json/".concat(e,"_").concat(r,".json")));return(0,o.default)(n.baseUrl+i,{method:"GET",headers:{Accept:"application/json","Content-Type":"text/plain"},mode:"no-cors"}).then((function(e){return e.text()})).then((function(e){return JSON.parse(e)}))}function m(e,t,n){if(e===r.default.defaultLanguage||!l._.contains(n,e))return(0,s.default)({});var o=!u.default.localStorageIsNotSupported();if(o){var i=p();if(i[e])return(0,s.default)(i[e])}return s.default.all([h("login",e,t),h("country",e,t)]).spread((function(t,n){return o&&function(e,t,n){var r=p();r[e]={login:t,country:n},localStorage.setItem(d,JSON.stringify(r))}(e,t,n),{login:t,country:n}})).catch((function(){return c.default.warn("Unable to load language: "+e),{}}))}var v={login:a.default,country:i.default,courage:a.default,currentLanguage:null,isLoaded:function(e){return this.currentLanguage===e},remove:function(){this.currentLanguage=null},loadLanguage:function(e,t,n,r){var o=this,s=function(e){if(!e)return{};var t={};return l._.each(l._.keys(e),(function(n){t[n.toLowerCase()]=e[n]})),l._.mapObject(t,(function(e){var t={login:{},country:{}};if(!l._.isObject(e))throw new Error('Invalid format for "i18n"');return l._.each(e,(function(e,n){var r=n.split(/^country\./);r.length>1?t.country[r[1]]=e:t.login[r[0]]=e})),t}))}(t),u=e.toLowerCase();return m(e,n,r).then((function(t){o.login=l._.extend({},a.default,t.login),o.country=l._.extend({},i.default,t.country),o.courage=l._.extend({},a.default,t.login),s[u]&&(l._.extend(o.login,s[u].login),l._.extend(o.country,s[u].country),l._.extend(o.courage,s[u].login)),o.currentLanguage=e}))}};t.default=v,e.exports=t.default},2183:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.WebauthnAbortError=t.WebAuthnError=t.UnsupportedBrowserError=t.U2FError=t.RegistrationError=t.OAuthError=t.ConfiguredFlowError=t.ConfigError=t.AuthStopPollInitiationError=void 0;var o,i=n(2048),a=(o=n(5115))&&o.__esModule?o:{default:o};function s(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(i=o.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===r(a)?a:String(a)),o)}var i,a}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}function f(e){var t=v();return function(){var n,r=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return p(e)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){var t="function"==typeof Map?new Map:void 0;return h=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return m(e,arguments,y(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),g(r,e)},h(e)}function m(e,t,n){return m=v()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&g(o,n.prototype),o},m.apply(null,arguments)}function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function g(e,t){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},g(e,t)}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var b=function(e){c(n,e);var t=f(n);function n(e){var r;return u(this,n),r=t.call(this,e),Object.setPrototypeOf(p(r),(this instanceof n?this.constructor:void 0).prototype),r}return l(n)}(h(Error)),_=function(e){c(n,e);var t=f(n);function n(e){var r;return u(this,n),(r=t.call(this,e||(0,i.loc)("error.config"))).name=a.default.CONFIG_ERROR,r}return l(n)}(b);t.ConfigError=_;var w=function(e){c(n,e);var t=f(n);function n(e){var r;return u(this,n),(r=t.call(this,e||(0,i.loc)("error.unsupported.browser"))).name=a.default.UNSUPPORTED_BROWSER_ERROR,r}return l(n)}(b);t.UnsupportedBrowserError=w;var O=function(e){c(n,e);var t=f(n);function n(){var e;u(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=t.call.apply(t,[this].concat(o))).name=a.default.OAUTH_ERROR,e}return l(n)}(b);t.OAuthError=O;var k=function(e){c(n,e);var t=f(n);function n(){var e;u(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=t.call.apply(t,[this].concat(o))).name=a.default.REGISTRATION_FAILED,e}return l(n)}(b);t.RegistrationError=k;var E=function(e){c(n,e);var t=f(n);function n(){var e;u(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=t.call.apply(t,[this].concat(o))).name=a.default.AUTH_STOP_POLL_INITIATION_ERROR,e}return l(n)}(b);t.AuthStopPollInitiationError=E;var S=function(e){c(n,e);var t=f(n);function n(e){var r;return u(this,n),(r=t.call(this,e.xhr.responseJSON.errorSummary)).name=a.default.U2F_ERROR,r.xhr=e.xhr,r}return l(n)}(b);t.U2FError=S;var x=function(e){c(n,e);var t=f(n);function n(e){var r;return u(this,n),(r=t.call(this,e.xhr.responseJSON.errorSummary)).name=a.default.WEB_AUTHN_ERROR,r.xhr=e.xhr,r}return l(n)}(b);t.WebAuthnError=x;var T=function(e){c(n,e);var t=f(n);function n(){var e;u(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=t.call.apply(t,[this].concat(o))).name=a.default.WEBAUTHN_ABORT_ERROR,e}return l(n)}(b);t.WebauthnAbortError=T;var A=function(e){c(n,e);var t=f(n);function n(e,r){var o;return u(this,n),(o=t.call(this,e)).name=a.default.CONFIGURED_FLOW_ERROR,o.flowSetting=r,o}return l(n)}(b);t.ConfiguredFlowError=A},3707:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.UserNotAssignedError=t.TypedOAuthError=t.RecoverableError=t.NonRecoverableError=t.MfaRequiredError=t.JITProfileProvisioningError=t.ClockDriftError=void 0,t.getTypedOAuthError=function(e){switch(e.errorCode){case"access_denied":return new _(e);case"jit_failure_missing_fields":case"jit_failure_invalid_login_format":case"jit_failure_values_not_match_pattern":case"jit_failure_values_too_long":case"jit_failure_invalid_locale":return new w(e);case"login_required":if("The client specified not to prompt, but the client app requires re-authentication or MFA."===e.message)return new O(e);case"INTERNAL":if("The JWT was issued in the future"===e.message)return new b(e);default:return new g(e,Object)}};var o=n(2048),i=n(2183);function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=c(e);if(t){var o=c(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function f(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(i=o.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===r(a)?a:String(a)),o)}var i,a}function d(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var h=d((function e(){p(this,e),this.inline=!0})),m=d((function e(){p(this,e),this.terminal=!0})),v=function(e){a(n,e);var t=l(n);function n(e,r){var o;return p(this,n),(o=t.call(this,e.message)).errorType=new r,o.orginalError=e,o.errorDetails={errorSummary:o.getErrorSummary(),errorCode:e.errorCode,errorCauses:e.errorCauses},o}return d(n,[{key:"getErrorSummary",value:function(){return this.orginalError.errorSummary}},{key:"is",value:function(e){var t;return Boolean(null===(t=Object.getOwnPropertyDescriptor(this.errorType,e))||void 0===t?void 0:t.value)}}]),n}(i.OAuthError);t.TypedOAuthError=v;var g=function(e){a(n,e);var t=l(n);function n(){return p(this,n),t.apply(this,arguments)}return d(n)}(v);t.RecoverableError=g;var y=function(e){a(n,e);var t=l(n);function n(){return p(this,n),t.apply(this,arguments)}return d(n)}(v);t.NonRecoverableError=y;var b=function(e){a(n,e);var t=l(n);function n(e){return p(this,n),t.call(this,e,m)}return d(n,[{key:"getErrorSummary",value:function(){return(0,o.loc)("error.unsynced.clock","login")}}]),n}(g);t.ClockDriftError=b;var _=function(e){a(n,e);var t=l(n);function n(e){return p(this,n),t.call(this,e,h)}return d(n)}(g);t.UserNotAssignedError=_;var w=function(e){a(n,e);var t=l(n);function n(e){return p(this,n),t.call(this,e,h)}return d(n,[{key:"getErrorSummary",value:function(){return(0,o.loc)("error.jit_failure","login")}}]),n}(g);t.JITProfileProvisioningError=w;var O=function(e){a(n,e);var t=l(n);function n(e){return p(this,n),t.call(this,e,h)}return d(n,[{key:"getErrorSummary",value:function(){return(0,o.loc)("error.mfa.required","login")}}]),n}(y);t.MfaRequiredError=O},8952:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=ue(n(8745)),o=ue(n(69)),i=ue(n(9176)),a=ue(n(3230)),s=ue(n(3793)),l=ue(n(3227)),u=ue(n(6782)),c=ue(n(2580)),f=ue(n(5841)),d=ue(n(1251)),p=ue(n(6252)),h=ue(n(6200)),m=ue(n(5292)),v=ue(n(710)),g=ue(n(1638)),y=ue(n(5306)),b=ue(n(6912)),_=ue(n(1602)),w=ue(n(4668)),O=ue(n(541)),k=ue(n(9674)),E=ue(n(3728)),S=ue(n(9890)),x=ue(n(6817)),T=ue(n(7878)),A=ue(n(8305)),C=ue(n(6595)),P=ue(n(9160)),R=ue(n(7820)),N=ue(n(6850)),I=ue(n(990)),M=ue(n(8246)),j=ue(n(8343)),L=ue(n(2410)),D=ue(n(5875)),F=ue(n(620)),U=ue(n(1160)),B=ue(n(8976)),V=ue(n(8349)),H=ue(n(2284)),Z=ue(n(7910)),q=ue(n(7877)),W=ue(n(410)),K=ue(n(6829)),G=ue(n(2012)),z=ue(n(8315)),$=ue(n(4562)),Y=ue(n(6835)),J=ue(n(8263)),Q=ue(n(8187)),X=ue(n(989)),ee=ue(n(2290)),te=ue(n(9015)),ne=ue(n(9115)),re=ue(n(8625)),oe=ue(n(1791)),ie=ue(n(9299)),ae=ue(n(2499)),se=ue(n(9118)),le=ue(n(5115));function ue(e){return e&&e.__esModule?e:{default:e}}var ce=oe.default.extend({routes:{"":"defaultAuth",signin:"primaryAuth","signin/okta/:username":"primaryAuth","signin/verify/duo/web":"verifyDuo","signin/verify/piv":"verifyPIV","signin/poll":"poll","signin/verify/fido/webauthn":"verifyWebauthn","signin/verify/webauthn":"verifyWebauthn","signin/verify/fido/u2f":"verifyU2F","signin/verify/u2f":"verifyU2F","signin/verify/generic_saml/assertion:saml2":"verifySAMLFactor","signin/verify/generic_oidc/assertion:oidc":"verifyOIDCFactor","signin/verify/custom/claims_provider":"verifyClaimsFactor","signin/verify/:factorType":"verifyNoProvider","signin/verify/:provider/:factorType(/:factorIndex)":"verify","signin/enroll":"enrollChoices","signin/enroll/duo/web":"enrollDuo","signin/enroll/okta/question":"enrollQuestion","signin/enroll/okta/password":"enrollPassword","signin/enroll/okta/sms":"enrollSms","signin/enroll/okta/call":"enrollCall","signin/enroll/okta/email":"enrollEmail","signin/enroll-activate/okta/sms":"enrollSms","signin/enroll-activate/okta/call":"enrollCall","signin/enroll/rsa/token":"enrollRsa","signin/enroll/del_oath/token":"enrollOnPrem","signin/enroll/symantec/token":"enrollSymantecVip","signin/enroll/yubico/token:hardware":"enrollYubikey","signin/enroll/fido/webauthn":"enrollWebauthn","signin/enroll/fido/u2f":"enrollU2F","signin/enroll/generic_saml/assertion:saml2":"enrollSAMLFactor","signin/enroll/generic_oidc/assertion:oidc":"enrollOIDCFactor","signin/enroll/custom/claims_provider":"enrollClaimsFactor","signin/enroll/custom/token:hotp":"enrollHotpFactor","signin/enroll/:provider/:factorType":"enrollTotpFactor","signin/enroll-activate/okta/email":"enrollActivateEmail","signin/enroll-activate/okta/push":"scanBarcodePushFactor","signin/enroll-activate/okta/push/manual":"manualSetupPushFactor","signin/enroll-activate/okta/push/sent":"activationLinkSent","signin/enroll-activate/okta/token:software:totp/passcode":"enterPasscodeInPushEnrollmentFlow","signin/enroll-activate/custom/claims_provider":"enrollActivateClaimsFactor","signin/enroll-activate/:provider/:factorType":"scanBarcodeTotpFactor","signin/enroll-activate/:provider/:factorType/activate":"activateTotpFactor","signin/enroll-activate/:provider/:factorType/manual":"manualSetupTotpFactor","signin/password-expired":"passwordExpired","signin/custom-password-expired":"customPasswordExpired","signin/forgot-password":"forgotPassword","signin/recovery-challenge":"recoveryChallenge","signin/recovery-emailed":"recoveryEmailSent","signin/recovery-question":"recoveryQuestion","signin/password-reset":"passwordReset","signin/reset-password/:token":"recoveryLoading","signin/user-unlock/:token":"recoveryLoading","signin/recovery/:token":"recoveryLoading","signin/unlock-emailed":"unlockEmailSent","signin/unlock":"unlockAccount","signin/account-unlocked":"accountUnlocked","signin/refresh-auth-state(/:token)":"refreshAuthState","signin/register":"register","signin/register-complete":"registerComplete","signin/error":"errorState","signin/consent":"consentRequired","signin/admin-consent":"adminConsentRequired","signin/enroll-user":"enrollUser","signin/device-activate-complete":"deviceActivateComplete","signin/device-activate":"deviceActivate","signin/idp-discovery-check":"idpDiscoveryCheck","*wildcard":"defaultAuth"},stateLessRouteHandlers:["defaultAuth","idpDiscovery","primaryAuth","forgotPassword","recoveryLoading","unlockAccount","refreshAuthState","register","registerComplete","errorState","verifyPIV"],defaultAuth:function(){window.location.hash!=="#".concat(le.default.WIDGET_CONTAINER_ID)?this.settings.get("features.idpDiscovery")?this.idpDiscovery():this.primaryAuth():document.getElementById(le.default.WIDGET_CONTAINER_ID).focus()},idpDiscoveryCheck:function(){this.render(M.default,{Beacon:se.default})},idpDiscovery:function(){this.render(I.default,{Beacon:se.default})},primaryAuth:function(e){this.render(V.default,{Beacon:se.default,username:e})},verifyDuo:function(){this.render(Q.default,{provider:"DUO",factorType:"web",Beacon:ie.default})},verifyPIV:function(){this.render(X.default,{Beacon:ae.default})},poll:function(){this.render(B.default)},verifyWebauthn:function(){this.settings.get("features.webauthn")?this.render(te.default,{provider:"FIDO",factorType:"webauthn",Beacon:ie.default}):this.render(ne.default,{provider:"FIDO",factorType:"webauthn",Beacon:ie.default})},verifyU2F:function(){this.render(ee.default,{provider:"FIDO",factorType:"u2f",Beacon:ie.default})},verifySAMLFactor:function(){this.render(J.default,{provider:"GENERIC_SAML",factorType:"assertion:saml2",Beacon:ie.default})},verifyOIDCFactor:function(){this.render(J.default,{provider:"GENERIC_OIDC",factorType:"assertion:oidc",Beacon:ie.default})},verifyClaimsFactor:function(){this.render(J.default,{provider:"CUSTOM",factorType:"claims_provider",Beacon:ie.default})},verify:function(e,t,n){this.render(D.default,{provider:e.toUpperCase(),factorType:t,factorIndex:n,Beacon:ie.default})},verifyNoProvider:function(e){this.render(D.default,{factorType:e,Beacon:ie.default})},enrollChoices:function(){this.render(m.default,{Beacon:se.default})},enrollDuo:function(){this.render(g.default,{provider:"DUO",factorType:"web",Beacon:ie.default})},enrollQuestion:function(){this.render(O.default,{provider:"OKTA",factorType:"question",Beacon:ie.default})},enrollPassword:function(){this.render(w.default,{provider:"OKTA",factorType:"password",Beacon:ie.default})},enrollSms:function(){this.render(h.default,{provider:"OKTA",factorType:"sms",Beacon:ie.default})},enrollCall:function(){this.render(h.default,{provider:"OKTA",factorType:"call",Beacon:ie.default})},enrollEmail:function(){this.render(y.default,{provider:"OKTA",factorType:"email",Beacon:ie.default})},enrollActivateEmail:function(){this.render(p.default,{provider:"OKTA",factorType:"email",Beacon:ie.default})},enrollRsa:function(){this.render(_.default,{provider:"RSA",factorType:"token",Beacon:ie.default})},enrollOnPrem:function(){this.render(_.default,{provider:"DEL_OATH",factorType:"token",Beacon:ie.default})},enrollSymantecVip:function(){this.render(k.default,{provider:"SYMANTEC",factorType:"token",Beacon:ie.default})},enrollYubikey:function(){this.render(C.default,{provider:"YUBICO",factorType:"token:hardware",Beacon:ie.default})},enrollSAMLFactor:function(){this.render(v.default,{provider:"GENERIC_SAML",factorType:"assertion:saml2",Beacon:ie.default})},enrollOIDCFactor:function(){this.render(v.default,{provider:"GENERIC_OIDC",factorType:"assertion:oidc",Beacon:ie.default})},enrollClaimsFactor:function(){this.render(v.default,{provider:"CUSTOM",factorType:"claims_provider",Beacon:ie.default})},enrollActivateClaimsFactor:function(){this.render(d.default,{provider:"CUSTOM",factorType:"claims_provider",Beacon:ie.default})},enrollTotpFactor:function(e,t){this.render(E.default,{provider:e.toUpperCase(),factorType:t,Beacon:ie.default})},enrollHotpFactor:function(){this.render(b.default,{provider:"CUSTOM",factorType:"token:hotp",Beacon:ie.default})},enrollWebauthn:function(){this.settings.get("features.webauthn")?this.render(T.default,{provider:"FIDO",factorType:"webauthn",Beacon:ie.default}):this.render(A.default,{provider:"FIDO",factorType:"webauthn",Beacon:ie.default})},enrollU2F:function(){this.render(S.default,{provider:"FIDO",factorType:"u2f",Beacon:ie.default})},scanBarcodeTotpFactor:function(e,t){this.render(s.default,{provider:e.toUpperCase(),factorType:t,Beacon:ie.default})},scanBarcodePushFactor:function(){this.render(a.default,{provider:"OKTA",factorType:"push",Beacon:ie.default})},activateTotpFactor:function(e,t){this.render(o.default,{provider:e.toUpperCase(),factorType:t,Beacon:ie.default})},manualSetupTotpFactor:function(e,t){this.render(L.default,{provider:e.toUpperCase(),factorType:t,Beacon:ie.default})},manualSetupPushFactor:function(){this.render(j.default,{provider:"OKTA",factorType:"push",Beacon:ie.default})},activationLinkSent:function(){this.render(P.default,{provider:"OKTA",factorType:"push",Beacon:ie.default})},enterPasscodeInPushEnrollmentFlow:function(){this.render(R.default,{provider:"OKTA",factorType:"token:software:totp",Beacon:ie.default})},passwordExpired:function(){this.render(F.default,{Beacon:se.default})},customPasswordExpired:function(){this.render(u.default,{Beacon:se.default})},forgotPassword:function(){this.render(N.default)},recoveryChallenge:function(){this.render(Z.default,{Beacon:se.default})},recoveryEmailSent:function(){this.render(H.default,{Beacon:se.default})},unlockEmailSent:function(){this.render(Y.default,{Beacon:se.default})},recoveryQuestion:function(){this.render(W.default,{Beacon:se.default})},passwordReset:function(){this.render(U.default,{Beacon:se.default})},recoveryLoading:function(e){this.render(q.default,{token:e,Beacon:se.default})},unlockAccount:function(){this.render($.default)},accountUnlocked:function(){this.render(r.default,{Beacon:se.default})},refreshAuthState:function(e){this.render(K.default,{token:e,Beacon:se.default})},register:function(){this.render(z.default)},registerComplete:function(){this.render(G.default)},errorState:function(){this.render(re.default,{Beacon:se.default})},consentRequired:function(){this.render(l.default)},adminConsentRequired:function(){this.render(i.default)},enrollUser:function(){this.render(x.default)},deviceActivate:function(){this.render(c.default)},deviceActivateComplete:function(){this.render(f.default)}});t.default=ce,e.exports=t.default},6962:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(6276)),o=n(2048),i=s(n(7472)),a=s(n(8163));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==l(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===l(i)?i:String(i)),r)}var o,i}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var m="no-beacon",v="beacon-small beacon-loading";function g(e){return e&&e.equals(a.default)}function y(e){e.currentBeacon&&(e.currentBeacon.remove(),e.currentBeacon=null)}function b(e,t,n,r){e.add(t,{selector:n,options:r}),e.currentBeacon=e.first()}var _=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(h,e);var t,n,s,p=d(h);function h(){return u(this,h),p.apply(this,arguments)}return t=h,n=[{key:"preinitialize",value:function(){this.currentBeacon=null,this.template=r.default.template({1:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,u="function",c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h1><img src="'+c(l(i=null!=(i=f(n,"logo")||(null!=t?f(t,"logo"):t))?i:s)===u?i.call(a,{name:"logo",hash:{},data:o,loc:{start:{line:1,column:71},end:{line:1,column:79}}}):i)+'" class="auth-org-logo" alt="'+c(l(i=null!=(i=f(n,"logoText")||(null!=t?f(t,"logoText"):t))?i:s)===u?i.call(a,{name:"logoText",hash:{},data:o,loc:{start:{line:1,column:108},end:{line:1,column:120}}}):i)+' logo" aria-label="'+c(l(i=null!=(i=f(n,"logoText")||(null!=t?f(t,"logoText"):t))?i:s)===u?i.call(a,{name:"logoText",hash:{},data:o,loc:{start:{line:1,column:139},end:{line:1,column:151}}}):i)+' logo"></h1>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="okta-sign-in-header auth-header">'+(null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"logo"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:45},end:{line:1,column:170}}}))?i:"")+'<div data-type="beacon-container" class="beacon-container"></div></div><div class="auth-content"><div class="auth-content-inner"></div></div>'},useData:!0});for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];o.View.prototype.preinitialize.apply(this,t)}},{key:"initialize",value:function(e){e.settings.get("features.securityImage")||(this.$el.addClass(m),this.listenTo(e.appState,"loading",this.setLoadingBeacon),this.listenTo(e.appState,"removeLoading",this.removeLoadingBeacon))}},{key:"setBeacon",value:function(e,t){var n=this,r='[data-type="beacon-container"]',o=this.$(r),a=function(e,t,n){return e||t?!e&&n.loading?"load":e&&g(e)?t?"swap":"unload":e&&e.equals(t,n)?"same":!e&&t?"add":e&&!t?"remove":e instanceof t?"fade":"swap":"none"}(this.currentBeacon,e,t);switch(a){case"none":return void this.$el.addClass(m);case"same":return;case"add":return this.$el.removeClass(m),b(this,e,r,t),i.default.explode(o);case"remove":return this.$el.addClass(m),i.default.implode(o).then((function(){y(n)})).done();case"fade":if(!this.currentBeacon.fadeOut)throw new Error('The current beacon is missing the "fadeOut" method');return t.animate=!0,this.currentBeacon.fadeOut().then((function(){y(n),b(n,e,r,t)})).done();case"swap":return i.default.swapBeacons({$el:o,swap:function(){var i=g(n.currentBeacon);y(n),i&&(o.removeClass(v),n.$el.removeClass(m)),b(n,e,r,t)}}).done();case"load":return o.addClass(v),b(this,e,r,t),i.default.explode(o);case"unload":return this.removeLoadingBeacon();default:throw new Error('the "'+a+'" is not recognized')}}},{key:"setLoadingBeacon",value:function(e){e&&!g(this.currentBeacon)&&this.setBeacon(a.default,{loading:!0})}},{key:"removeLoadingBeacon",value:function(){var e=this,t=this.$('[data-type="beacon-container"]');return i.default.implode(t).then((function(){y(e),t.removeClass(v)})).done()}},{key:"getTemplateData",value:function(){return this.settings.toJSON({verbose:!0})}},{key:"getContentEl",value:function(){return this.$(".auth-content-inner")}}],n&&c(t.prototype,n),s&&c(t,s),Object.defineProperty(t,"prototype",{writable:!1}),h}(o.View);t.default=_,e.exports=t.default},2757:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2048),i=w(n(9721)),a=w(n(938)),s=w(n(5331)),l=w(n(6141)),u=w(n(5115)),c=n(2183),f=w(n(1806)),d=w(n(9164)),p=w(n(8052)),h=w(n(6962)),m=w(n(2983)),v=w(n(6681)),g=n(9637),y=w(n(9256)),b=n(1346),_=w(n(2507));function w(e){return e&&e.__esModule?e:{default:e}}function O(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 k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function E(e,t,n){return(t=C(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function S(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */S=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var i=t&&t.prototype instanceof p?t:p,a=Object.create(i.prototype),s=new T(r||[]);return o(a,"_invoke",{value:O(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var d={};function p(){}function h(){}function m(){}var v={};u(v,a,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(A([])));y&&y!==t&&n.call(y,a)&&(v=y);var b=m.prototype=p.prototype=Object.create(v);function _(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function i(o,a,s,l){var u=f(e[o],e,a);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==r(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){i("next",e,s,l)}),(function(e){i("throw",e,s,l)})):t.resolve(d).then((function(e){c.value=e,s(c)}),(function(e){return i("throw",e,s,l)}))}l(u.arg)}var a;o(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){i(e,n,t,r)}))}return a=a?a.then(r,r):r()}})}function O(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=k(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=f(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function k(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,k(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var o=f(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function A(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return h.prototype=m,o(b,"constructor",{value:m,configurable:!0}),o(m,"constructor",{value:h,configurable:!0}),h.displayName=u(m,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,u(e,l,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},_(w.prototype),u(w.prototype,s,(function(){return this})),e.AsyncIterator=w,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new w(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},_(b),u(b,l,"Generator"),u(b,a,(function(){return this})),u(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=A,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:A(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function x(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function T(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){x(i,r,o,a,s,"next",e)}function s(e){x(i,r,o,a,s,"throw",e)}a(void 0)}))}}function A(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,C(r.key),r)}}function C(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}function P(e,t){return P=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},P(e,t)}function R(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=I(e);if(t){var o=I(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return N(this,n)}}function N(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function I(e){return I=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},I(e)}var M=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&P(e,t)}(C,e);var t,n,r,w,O,E,x=R(C);function C(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,C),(t=x.call(this,e)).Events=o.Backbone.Events,t.hasControllerRendered=!1,e.globalSuccessFn||(e.globalSuccessFn=function(){}),e.globalErrorFn||(e.globalErrorFn=function(e){f.default.error(e)}),t.settings=new i.default(o._.omit(e,"el","hooks"),{parse:!0}),e.el||t.settings.callGlobalError(new c.ConfigError((0,o.loc)("error.required.el"))),(0,o.$)("body > div").on("click",(function(){})),t.hooks=e.hooks,t.appState=new m.default({},{settings:t.settings,hooks:t.hooks});var n=new p.default({appState:t.appState});return(0,o.$)(e.el).append(n.render().$el),t.el="#".concat(u.default.WIDGET_CONTAINER_ID),t.header=new h.default({el:t.el,appState:t.appState,settings:t.settings}),t.hide(),t.listenTo(t.appState,"change:deviceFingerprint",t.updateDeviceFingerprint),t.listenTo(t.appState,"restartLoginFlow",t.restartLoginFlow),t}return t=C,n=[{key:"updateDeviceFingerprint",value:function(){var e=this.settings.getAuthClient(),t=this.appState.get("deviceFingerprint");t&&e.http.setRequestHeader("X-Device-Fingerprint",t)}},{key:"handleIdxResponseFailure",value:(E=T(S().mark((function e(){var t,n=arguments;return S().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{error:"unknown",details:void 0},t=(0,b.formatError)(t),e.next=4,(0,g.updateAppState)(this.appState,t.details);case 4:case"end":return e.stop()}}),e,this)}))),function(){return E.apply(this,arguments)})},{key:"handleError",value:(O=T(S().mark((function e(){var t,n,r=arguments;return S().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{error:"unknown",details:void 0},n=(0,b.formatError)(k({},t)),e.next=4,(0,g.updateAppState)(this.appState,n.details);case 4:case"end":return e.stop()}}),e,this)}))),function(){return O.apply(this,arguments)})},{key:"render",value:(w=T(S().mark((function e(t){var n,r,i,s,u,c,f,p=arguments;return S().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=p.length>1&&void 0!==p[1]?p[1]:{},v.default.getLastInitiatedLoginUrl()!==window.location.href&&v.default.removeStateHandle(),this.header.rendered()||(this.el=this.header.render().getContentEl()),a.default.isLoaded(this.settings.get("languageCode"))){e.next=6;break}return e.next=6,d.default.loadLanguage(this.appState,this.settings);case 6:return e.prev=6,e.next=9,(0,g.startLoginFlow)(this.settings);case 9:if(!(i=e.sent).error){e.next=15;break}return e.next=13,this.handleIdxResponseFailure(i.error);case 13:e.next=22;break;case 15:if(!this.settings.get("flow")||this.hasControllerRendered){e.next=19;break}return e.next=18,(0,g.handleConfiguredFlow)(i,this.settings);case 18:i=e.sent;case 19:return!i.requestDidSucceed&&_.default.isIdxSessionExpiredError(i)&&this.settings.getAuthClient().transactionManager.clear(),e.next=22,(0,g.updateAppState)(this.appState,i);case 22:e.next=33;break;case 24:if(e.prev=24,e.t0=e.catch(6),null===(s=e.t0.is)||void 0===s||!s.call(e.t0,"terminal")){e.next=30;break}this.appState.setNonIdxError(e.t0),e.next=33;break;case 30:return r=e.t0,e.next=33,this.handleError(e.t0);case 33:return e.prev=33,this.settings.unset("stateToken"),this.settings.unset("proxyIdxResponse"),e.finish(33);case 37:this.settings.get("colors.brand")&&!l.default.isLoaded()&&(u={brand:this.settings.get("colors.brand")},c=this.settings.get("cspNonce"),l.default.addStyle(u,c)),this.show(),this.unload(),f=o._.extend({el:this.el,settings:this.settings,appState:this.appState},n),this.controller=new t(f),this.listenTo(this.controller,"all",this.trigger),this.controller.render(),this.hasControllerRendered=!0,r&&this.settings.callGlobalError(r);case 46:case"end":return e.stop()}}),e,this,[[6,24,33,37]])}))),function(e){return w.apply(this,arguments)})},{key:"updateIdentifierCookie",value:function(e){if(this.settings.get("features.rememberMe")){var t,n=null==e||null===(t=e.context)||void 0===t?void 0:t.user,r=((null==n?void 0:n.value)||{}).identifier;r&&y.default.setUsernameCookie(r)}else y.default.removeUsernameCookie()}},{key:"hasAuthenticationSucceeded",value:function(e){var t,n;return(null==e||null===(t=e.rawIdxState)||void 0===t?void 0:t.success)||(null==e||null===(n=e.rawIdxState)||void 0===n?void 0:n.successWithInteractionCode)}},{key:"restartLoginFlow",value:function(){this.settings.getAuthClient().transactionManager.clear(),this.appState.set("idx",void 0),delete this.settings.getAuthClient().options.recoveryToken,this.settings.unset("recoveryToken"),this.settings.unset("otp"),this.controller.stopListening(),this.render(this.controller.constructor)}},{key:"start",value:function(){var e=s.default.supportsPushState();o.Router.prototype.start.call(this,{pushState:e})}},{key:"hide",value:function(){this.header.$el.hide()}},{key:"show",value:function(){this.header.$el.show()}},{key:"remove",value:function(){this.unload(),this.header.$el.remove(),this.stopListening(this.appState),this.stopListening(this.settings),a.default.remove(),o.Backbone.history.stop()}}],n&&A(t.prototype,n),r&&A(t,r),Object.defineProperty(t,"prototype",{writable:!1}),C}(o.Router);M.prototype.Events=o.Backbone.Events;var j=M;t.default=j,e.exports=t.default},3829:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(2757)),i=a(n(9896));function a(e){return e&&e.__esModule?e:{default:e}}function s(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,t,n){return(t=c(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,c(r.key),r)}}function c(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var m={"":"defaultAuth","*wildcard":"defaultAuth"},v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(a,e);var t,n,r,o=d(a);function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),o.call(this,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({routes:m},e))}return t=a,(n=[{key:"defaultAuth",value:function(){this.render(i.default)}}])&&u(t.prototype,n),r&&u(t,r),Object.defineProperty(t,"prototype",{writable:!1}),a}(o.default);t.default=v,e.exports=t.default},2839:function(e,t){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function r(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */r=function(){return e};var e={},t=Object.prototype,o=t.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var o=t&&t.prototype instanceof h?t:h,a=Object.create(o.prototype),s=new T(r||[]);return i(a,"_invoke",{value:k(e,n,s)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=f;var p={};function h(){}function m(){}function v(){}var g={};c(g,s,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(A([])));b&&b!==t&&o.call(b,s)&&(g=b);var _=v.prototype=h.prototype=Object.create(g);function w(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function r(i,a,s,l){var u=d(e[i],e,a);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,s,l)}),(function(e){r("throw",e,s,l)})):t.resolve(f).then((function(e){c.value=e,s(c)}),(function(e){return r("throw",e,s,l)}))}l(u.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function k(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=E(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=d(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function E(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var o=d(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function A(e){if(e){var t=e[s];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(o.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:C}}function C(){return{value:void 0,done:!0}}return m.prototype=v,i(_,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:m,configurable:!0}),m.displayName=c(v,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,u,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},w(O.prototype),c(O.prototype,l,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(f(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(_),c(_,u,"Generator"),c(_,s,(function(){return this})),c(_,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=A,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=o.call(i,"catchLoc"),l=o.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:A(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}function o(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<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===n(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function l(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){s(i,r,o,a,l,"next",e)}function l(e){s(i,r,o,a,l,"throw",e)}a(void 0)}))}}function u(){return(u=l(r().mark((function e(t){var n,o,a,s,l,u,c;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.getAuthClient(),o={exchangeCodeForTokens:!1},e.next=4,n.idx.getSavedTransactionMeta();case 4:if((a=e.sent)&&a.interactionHandle){e.next=9;break}return l={neededToProceed:[],rawIdxState:{messages:s={type:"array",value:[{message:"Enter the OTP in your original browser or device.",i18n:{key:"idx.enter.otp.in.original.tab"},class:"INFO"}]}},context:{messages:s}},e.abrupt("return",l);case 9:return u=t.get("otp"),e.next=12,n.idx.proceed(i(i({},o),{},{otp:u}));case 12:return c=e.sent,e.abrupt("return",c);case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object.defineProperty(t,"__esModule",{value:!0}),t.emailVerifyCallback=function(e){return u.apply(this,arguments)}},1346:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatError=function(e){"string"==typeof e&&(e=new Error(e));if(o(e))return i(e);if(a(e))return s(e);if(l(e))return u(e);return e=c(e)},t.formatIDXError=c,t.formatInvalidRecoveryTokenError=i,t.formatOIEConfigurationError=u,t.formatOIENotEnabledError=s,t.isInvalidRecoveryTokenError=o,t.isOIEConfigurationError=l,t.isOIENotEnabledError=a;var r=n(2048);function o(e){return"invalid_request"===(null==e?void 0:e.error)&&"The recovery token is invalid"===e.error_description}function i(e){var t=c(e),n=t.details,r={type:"array",value:[{message:e.error_description,i18n:{key:"oie.invalid.recovery.token"},class:"ERROR"}]};return n.rawIdxState.messages=r,n.context.messages=r,t}function a(e){return"access_denied"===(null==e?void 0:e.error)&&e.error_description}function s(e){var t=c(e).details,n={type:"array",value:[{message:e.error_description,i18n:{key:"oie.feature.disabled"},class:"ERROR"}]};return t.rawIdxState.messages=n,t.context.messages=n,e}function l(e){return(null==e?void 0:e.error)&&e.error_description}function u(e){var t=c(e).details,n={type:"array",value:[{message:(0,r.loc)("oie.configuration.error","login"),class:"ERROR",i18n:void 0}]};return t.rawIdxState.messages=n,t.context.messages=n,e}function c(e){var t=e;t.details=t.details||{};var n=t.details;if(n.rawIdxState=n.rawIdxState||{},n.context=n.context||{},n.neededToProceed=n.neededToProceed||[],!n.rawIdxState.messages){var o={type:"array",value:[{message:(0,r.loc)("oform.error.unexpected","login"),class:"ERROR",i18n:void 0}]};n.rawIdxState.messages=o,n.context.messages=o}return t}},3178:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.startLoginFlow=v;var o,i=n(2183),a=n(2839),s=(o=n(6681))&&o.__esModule?o:{default:o},l=n(5549);function u(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 c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */d=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var i=t&&t.prototype instanceof h?t:h,a=Object.create(i.prototype),s=new T(r||[]);return o(a,"_invoke",{value:k(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var p={};function h(){}function m(){}function v(){}var g={};u(g,a,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(A([])));b&&b!==t&&n.call(b,a)&&(g=b);var _=v.prototype=h.prototype=Object.create(g);function w(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function i(o,a,s,l){var u=f(e[o],e,a);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==r(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){i("next",e,s,l)}),(function(e){i("throw",e,s,l)})):t.resolve(d).then((function(e){c.value=e,s(c)}),(function(e){return i("throw",e,s,l)}))}l(u.arg)}var a;o(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){i(e,n,t,r)}))}return a=a?a.then(r,r):r()}})}function k(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=E(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=f(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function E(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var o=f(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function A(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return m.prototype=v,o(_,"constructor",{value:v,configurable:!0}),o(v,"constructor",{value:m,configurable:!0}),m.displayName=u(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,u(e,l,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},w(O.prototype),u(O.prototype,s,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(_),u(_,l,"Generator"),u(_,a,(function(){return this})),u(_,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=A,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:A(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}function p(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function h(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){p(i,r,o,a,s,"next",e)}function s(e){p(i,r,o,a,s,"throw",e)}a(void 0)}))}}var m=function(){var e=h(d().mark((function e(t){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve({rawIdxState:t.get("proxyIdxResponse"),context:t.get("proxyIdxResponse"),neededToProceed:[]}));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();function v(e){return g.apply(this,arguments)}function g(){return(g=h(d().mark((function e(t){var n,r,o,u,f,p,h,g,y,b,_;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.getAuthClient(),r=t.toJSON({verbose:!0}),o=r.authParams,u=t.get("nonce")||(null==o?void 0:o.nonce),f=c({exchangeCodeForTokens:!1},u&&{nonce:u}),!t.get("proxyIdxResponse")){e.next=6;break}return e.abrupt("return",m(t));case 6:if(t.get("overrideExistingStateToken")&&s.default.removeStateHandle(),!t.get("otp")){e.next=9;break}return e.abrupt("return",(0,a.emailVerifyCallback)(t));case 9:if(!t.get("oauth2Enabled")){e.next=19;break}return e.next=12,n.idx.getSavedTransactionMeta();case 12:if(e.sent){e.next=18;break}if(!(p=n.idx.getFlow())||p!==l.CONFIGURED_FLOW.PROCEED){e.next=17;break}throw new i.ConfiguredFlowError("Unable to proceed: saved transaction could not be loaded",p);case 17:return e.abrupt("return",n.idx.start(f));case 18:return e.abrupt("return",n.idx.proceed(f));case 19:if(!(h=s.default.getStateHandle())){e.next=36;break}return e.prev=21,e.next=24,n.idx.start(c(c({},f),{},{stateHandle:h}));case 24:if(b=e.sent,!((null===(g=b.context)||void 0===g||null===(y=g.messages)||void 0===y?void 0:y.value.length)>0)){e.next=28;break}throw new Error("saved stateToken is invalid");case 28:return t.set("stateToken",h),e.abrupt("return",b);case 32:return e.prev=32,e.t0=e.catch(21),s.default.removeStateHandle(),e.abrupt("return",v(t));case 36:if(!(_=t.get("stateToken"))){e.next=39;break}return e.abrupt("return",n.idx.start(c(c({},f),{},{stateHandle:_})));case 39:throw new i.ConfigError('Invalid OIDC configuration. Set "clientId" and "redirectUri" in the widget options.');case 40:case"end":return e.stop()}}),e,null,[[21,32]])})))).apply(this,arguments)}},1828:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateAppState=function(e,t){return m.apply(this,arguments)};var r=l(n(9256)),o=l(n(6681)),i=n(9108),a=n(4817),s=l(n(3856));function l(e){return e&&e.__esModule?e:{default:e}}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function c(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */c=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function f(e,t,n,o){var i=t&&t.prototype instanceof h?t:h,a=Object.create(i.prototype),s=new T(o||[]);return r(a,"_invoke",{value:k(e,n,s)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=f;var p={};function h(){}function m(){}function v(){}var g={};l(g,i,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(A([])));b&&b!==t&&n.call(b,i)&&(g=b);var _=v.prototype=h.prototype=Object.create(g);function w(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function o(r,i,a,s){var l=d(e[r],e,i);if("throw"!==l.type){var c=l.arg,f=c.value;return f&&"object"==u(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,a,s)}),(function(e){o("throw",e,a,s)})):t.resolve(f).then((function(e){c.value=e,a(c)}),(function(e){return o("throw",e,a,s)}))}s(l.arg)}var i;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function k(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=E(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=d(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function E(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var o=d(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function A(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return m.prototype=v,r(_,"constructor",{value:v,configurable:!0}),r(v,"constructor",{value:m,configurable:!0}),m.displayName=l(v,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,l(e,s,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},w(O.prototype),l(O.prototype,a,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(f(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(_),l(_,s,"Generator"),l(_,i,(function(){return this})),l(_,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=A,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:A(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}function f(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){f(i,r,o,a,s,"next",e)}function s(e){f(i,r,o,a,s,"throw",e)}a(void 0)}))}}function p(e){var t,n;return(null==e||null===(t=e.rawIdxState)||void 0===t?void 0:t.success)||(null==e||null===(n=e.rawIdxState)||void 0===n?void 0:n.successWithInteractionCode)}function h(e,t){if(e.settings.get("features.rememberMe")){var n,o=null==t||null===(n=t.context)||void 0===n?void 0:n.user,i=((null==o?void 0:o.value)||{}).identifier;i&&r.default.setUsernameCookie(i)}else r.default.removeUsernameCookie()}function m(){return(m=d(c().mark((function e(t,n){var r,l,u,f,d;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.settings,p(n)&&r.get("features.rememberMyUsernameOnOIE")&&h(t,n),l=t.get("idx"),!r.get("oauth2Enabled")){e.next=14;break}if(!n.interactionCode){e.next=12;break}return o.default.removeStateHandle(),e.next=9,(0,i.interactionCodeFlow)(r,n);case 9:return u=e.sent,t.get("currentFormName")===a.FORMS.TERMINAL&&t.unset("currentFormName",{silent:!0}),e.abrupt("return",u);case 12:e.next=16;break;case 14:l&&o.default.setStateHandle(null==n||null===(f=n.context)||void 0===f?void 0:f.stateHandle),t.get("currentFormName")===a.FORMS.CANCEL_TRANSACTION&&o.default.removeStateHandle();case 16:return d=(0,s.default)(r,n,l),e.next=19,t.setIonResponse(d);case 19:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},9896:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2048),i=m(n(645)),a=m(n(2507)),s=n(3927),l=n(4817),u=m(n(7516)),c=m(n(6681)),f=n(9044),d=n(5549),p=n(2183),h=n(9637);function m(e){return e&&e.__esModule?e:{default:e}}function v(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */v=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var i=t&&t.prototype instanceof p?t:p,a=Object.create(i.prototype),s=new T(r||[]);return o(a,"_invoke",{value:k(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var d={};function p(){}function h(){}function m(){}var g={};u(g,a,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(A([])));b&&b!==t&&n.call(b,a)&&(g=b);var _=m.prototype=p.prototype=Object.create(g);function w(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function i(o,a,s,l){var u=f(e[o],e,a);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==r(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){i("next",e,s,l)}),(function(e){i("throw",e,s,l)})):t.resolve(d).then((function(e){c.value=e,s(c)}),(function(e){return i("throw",e,s,l)}))}l(u.arg)}var a;o(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){i(e,n,t,r)}))}return a=a?a.then(r,r):r()}})}function k(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=E(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=f(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function E(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var o=f(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function A(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return h.prototype=m,o(_,"constructor",{value:m,configurable:!0}),o(m,"constructor",{value:h,configurable:!0}),h.displayName=u(m,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,u(e,l,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},w(O.prototype),u(O.prototype,s,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(_),u(_,l,"Generator"),u(_,a,(function(){return this})),u(_,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=A,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:A(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function w(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){_(i,r,o,a,s,"next",e)}function s(e){_(i,r,o,a,s,"throw",e)}a(void 0)}))}}var O=o.Controller.extend({className:"form-controller",appStateEvents:{"change:currentFormName":"handleFormNameChange",afterError:"handleAfterError",invokeAction:"handleInvokeAction",saveForm:"handleSaveForm",switchForm:"handleSwitchForm"},preRender:function(){this.removeChildren()},postRender:function(){var e=this.options.appState.getCurrentViewState();if(e){this.clearMetadata();var t=e.name;"identify"===t&&this.options.settings.get("flow")===d.CONFIGURED_FLOW.RESET_PASSWORD&&(t="identify-recovery");var n=i.default.create(t,this.options.appState.get("authenticatorKey"));try{this.formView=this.add(n,{options:{currentViewState:e}}).last()}catch(e){return void this.options.settings.callGlobalError(e)}this.triggerAfterRenderEvent()}},clearMetadata:function(){var e=this.options.appState.get("currentFormName");l.TERMINAL_FORMS.includes(e)&&c.default.removeStateHandle()},triggerAfterRenderEvent:function(){var e=this.createAfterEventContext();this.trigger("afterRender",e)},handleFormNameChange:function(){this.render()},handleAfterError:function(e){var t=this.createAfterEventContext(),n={xhr:e,errorSummary:e.responseJSON&&e.responseJSON.errorSummary};this.trigger("afterError",t,n)},createAfterEventContext:function(){var e=this.options.appState.get("currentFormName"),t=this.options.appState.get("authenticatorKey"),n=this.options.appState.get("authenticatorMethodType"),r=this.options.appState.get("isPasswordRecoveryFlow"),o={controller:(0,s.getV1ClassName)(e,t,n,r),formName:e};return t&&(o.authenticatorKey=t),n&&(o.methodType=n),o},handleSwitchForm:function(e){this.options.appState.get("messages")&&this.options.appState.unset("messages"),this.options.appState.set("currentFormName",e)},handleInvokeAction:function(){var e=arguments,t=this;return w(v().mark((function n(){var r,i,a,s,l,u,f,d,h;return v().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r=e.length>0&&void 0!==e[0]?e[0]:"",i=e.length>1&&void 0!==e[1]?e[1]:{},a=t.options,s=a.appState,l=a.settings,u=s.get("idx"),f=u.context.stateHandle,d={exchangeCodeForTokens:!1,stateHandle:f},"cancel"!==r){n.next=13;break}if(l.getAuthClient().transactionManager.clear({clearIdxResponse:!1}),c.default.removeStateHandle(),s.clearAppStateCache(),!l.get("oauth2Enabled")){n.next=13;break}return s.trigger("restartLoginFlow"),n.abrupt("return");case 13:if(!u.neededToProceed.find((function(e){return e.name===r}))){n.next=17;break}d=y(y({},d),{},{step:r}),n.next=26;break;case 17:if(!o._.isFunction(u.actions[r])){n.next=21;break}d=y(y({},d),{},{actions:[{name:r,params:i}]}),n.next=26;break;case 21:return h=new p.ConfigError("Invalid action selected: ".concat(r)),t.options.settings.callGlobalError(h),n.next=25,t.showFormErrors(t.formView.model,h,t.formView.form);case 25:return n.abrupt("return");case 26:return n.next=28,t.invokeAction(d);case 28:case"end":return n.stop()}}),n)})))()},invokeAction:function(e){var t=this;return w(v().mark((function n(){var r,o,i;return v().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.options.settings.getAuthClient(),n.prev=1,n.next=4,r.idx.proceed(e);case 4:!1===(o=n.sent).requestDidSucceed&&(i=o),n.next=11;break;case 8:n.prev=8,n.t0=n.catch(1),i=n.t0;case 11:if(!i){n.next=15;break}return n.next=14,t.showFormErrors(t.formView.model,i,t.formView.form);case 14:return n.abrupt("return");case 15:return n.next=17,t.handleIdxResponse(o);case 17:case"end":return n.stop()}}),n,null,[[1,8]])})))()},handleSaveForm:function(e){var t=this;return w(v().mark((function n(){var r,o,i,s,p,h,m,g,b,_,w;return v().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r=e.get("formName"),t.toggleFormButtonState(!0),e.trigger("request"),!e.get("useRedirect")){n.next=8;break}return c.default.removeStateHandle(),o=t.options.appState.getCurrentViewState(),u.default.redirectWithFormGet(o.href),n.abrupt("return");case 8:if(i=t.transformIdentifier(r,e),t.options.appState.hasRemediationObject(r)){n.next=14;break}return t.options.settings.callGlobalError('Cannot find http action for "'.concat(r,'".')),n.next=13,t.showFormErrors(t.formView.model,"Cannot find action to proceed.",t.formView.form);case 13:case 30:case 34:return n.abrupt("return");case 14:return"identify"===r&&t.options.settings.get("flow")===d.CONFIGURED_FLOW.RESET_PASSWORD&&(i.authenticator="okta_password"),s=t.options.settings.getAuthClient(),p={exchangeCodeForTokens:!1},n.prev=17,h=t.options.appState.get("idx"),m=h.context.stateHandle,n.next=22,s.idx.proceed(y(y({},p),{},{step:r,stateHandle:m},i));case 22:if((g=n.sent).status!==f.IdxStatus.FAILURE){n.next=25;break}throw g.error;case 25:if(!a.default.isIdxSessionExpiredError(g)){n.next=31;break}return t.settings.getAuthClient().transactionManager.clear(),n.next=30,t.handleIdxResponse(g);case 31:if(!1!==g.requestDidSucceed||g.stepUp){n.next=35;break}return n.next=34,t.showFormErrors(e,g,t.formView.form);case 35:if(b=t.handleIdxResponse.bind(t,g),r!==l.FORMS.ENROLL_PROFILE){n.next=40;break}t.settings.postRegistrationSubmit(null==i||null===(_=i.userProfile)||void 0===_?void 0:_.email,b,(function(t){e.trigger("error",e,{responseJSON:t})})),n.next=42;break;case 40:return n.next=42,b();case 42:n.next=52;break;case 44:if(n.prev=44,n.t0=n.catch(17),null===(w=n.t0.is)||void 0===w||!w.call(n.t0,"terminal")){n.next=50;break}t.options.appState.setNonIdxError(n.t0),n.next=52;break;case 50:return n.next=52,t.showFormErrors(e,n.t0,t.formView.form);case 52:return n.prev=52,t.toggleFormButtonState(!1),n.finish(52);case 55:case"end":return n.stop()}}),n,null,[[17,44,52,55]])})))()},transformIdentifier:function(e,t){var n=t.toJSON();if(Object.prototype.hasOwnProperty.call(n,"identifier")){var r=l.FORM_NAME_TO_OPERATION_MAP[e];n.identifier=this.settings.transformUsername(n.identifier,r)}return n},showFormErrors:function(e,t,n){var r=this;return w(v().mark((function i(){var s,l,c,f,d,p;return v().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(p=!0,e.trigger("clearFormError"),t||(t="FormController - unknown error found",r.options.settings.callGlobalError(t)),null!==(s=t)&&void 0!==s&&s.rawIdxState&&(d=t,t=t.rawIdxState),a.default.isIonErrorResponse(t)?f=a.default.convertFormErrors(t):t.errorSummary?f={responseJSON:t}:(u.default.logConsoleError(t),f={responseJSON:{errorSummary:(0,o.loc)("error.unsupported.response","login")}}),o._.isFunction(null==n?void 0:n.showCustomFormErrorCallout)&&(p=!n.showCustomFormErrorCallout(f,d.messages)),e.trigger("error",e,f,p),d=Object.assign({},d,{hasFormError:!0}),!Array.isArray(null===(l=d)||void 0===l?void 0:l.neededToProceed)||null===(c=d)||void 0===c||!c.neededToProceed.length){i.next=11;break}return i.next=11,r.handleIdxResponse(d);case 11:case"end":return i.stop()}}),i)})))()},handleIdxResponse:function(e){var t=this;return w(v().mark((function n(){return v().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,h.updateAppState)(t.options.appState,e);case 2:case"end":return n.stop()}}),n)})))()},toggleFormButtonState:function(e){this.$el.find(".o-form-button-bar .button").toggleClass("link-button-disabled",e)}});t.default=O,e.exports=t.default},5010:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"_",{enumerable:!0,get:function(){return r._}});var r=n(2048);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}r._.mixin({nestedOmit:function(e,t){var n=r._.omit(e,t);return t.includes(n.name)&&(n=r._.omit(n,"value")),r._.each(n,(function(e,i){Array.isArray(e)?n[i]=e.map((function(e){return r._.nestedOmit(e,t)})):"object"===o(e)&&(n[i]=r._.nestedOmit(e,t))})),n}})},2983:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2048),i=f(n(1806)),a=n(4817),s=n(8585),l=n(5010),u=n(9113),c=f(n(5331));function f(e){return e&&e.__esModule?e:{default:e}}function d(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */d=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var i=t&&t.prototype instanceof h?t:h,a=Object.create(i.prototype),s=new T(r||[]);return o(a,"_invoke",{value:k(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var p={};function h(){}function m(){}function v(){}var g={};u(g,a,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(A([])));b&&b!==t&&n.call(b,a)&&(g=b);var _=v.prototype=h.prototype=Object.create(g);function w(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function i(o,a,s,l){var u=f(e[o],e,a);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==r(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){i("next",e,s,l)}),(function(e){i("throw",e,s,l)})):t.resolve(d).then((function(e){c.value=e,s(c)}),(function(e){return i("throw",e,s,l)}))}l(u.arg)}var a;o(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){i(e,n,t,r)}))}return a=a?a.then(r,r):r()}})}function k(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=E(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=f(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function E(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var o=f(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function A(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return m.prototype=v,o(_,"constructor",{value:v,configurable:!0}),o(v,"constructor",{value:m,configurable:!0}),m.displayName=u(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,u(e,l,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},w(O.prototype),u(O.prototype,s,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(_),u(_,l,"Generator"),u(_,a,(function(){return this})),u(_,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=A,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:A(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}function p(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function h(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(i=o.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===r(a)?a:String(a)),o)}var i,a}function g(e,t){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},g(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_(e);if(t){var o=_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}var w={user:"object",currentFormName:"string",idx:"object",remediations:"array",dynamicRefreshInterval:"number",deviceFingerprint:"string",hooks:"object"},O={authenticatorProfile:{deps:["currentAuthenticator","currentAuthenticatorEnrollment"],fn:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{profile:void 0},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{profile:void 0};return e.profile||t.profile||{}}},authenticatorKey:{deps:["currentAuthenticator","currentAuthenticatorEnrollment"],fn:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{key:void 0},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{key:void 0};return e.key||t.key||""}},authenticatorMethodType:{deps:["currentAuthenticator","currentAuthenticatorEnrollment"],fn:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{methods:void 0},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{methods:void 0};return e.methods&&e.methods[0].type||t.methods&&t.methods[0].type||""}},isPasswordRecovery:{deps:["recoveryAuthenticator"],fn:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{type:void 0};return"password"===(null==e?void 0:e.type)}}},k=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}(_,e);var t,n,r,f,m,b=y(_);function _(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,_),(n=b.call(this,e,t)).settings=t.settings,n.hooks=t.hooks,n}return t=_,n=[{key:"get",value:function(e){return o.Model.prototype.get.call(this,e)}},{key:"preinitialize",value:function(){this.local=w,this.derived=O;for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];o.Model.prototype.preinitialize.apply(this,t)}},{key:"isIdentifierOnlyView",value:function(){var e,t,n;return!(null!==(e=this.get("remediations"))&&void 0!==e&&null!==(t=e.find((function(e){return"identify"===e.name})))&&void 0!==t&&null!==(n=t.uiSchema)&&void 0!==n&&n.find((function(e){return"credentials.passcode"===e.name})))}},{key:"hasRemediationObject",value:function(e){return this.get("idx").neededToProceed.find((function(t){return t.name===e}))}},{key:"hasActionObject",value:function(e){var t,n;return!(null===(t=this.get("idx"))||void 0===t||null===(n=t.actions)||void 0===n||!n[e])}},{key:"getRemediationAuthenticationOptions",value:function(e){var t=this.hasRemediationObject(e);if(!t)return[];var n=t.value.find((function(e){return"authenticator"===e.name})),r=(null==n?void 0:n.options)||[];return r=h(r),(0,s.createOVOptions)(r),r}},{key:"getActionByPath",value:function(e){var t,n=e.split(".");t=1===n.length?this.get("idx").actions:this.get(n.shift());var r=n.shift();return t&&l._.isFunction(t[r])?t[r]:null}},{key:"getCurrentViewState",value:function(){var e=this.get("currentFormName");if(e){var t=this.get("remediations").filter((function(t){return t.name===e}))[0];if(!t){i.default.error("Panic!!"),i.default.error("\tCannot find view state for form ".concat(e,"."));var n=this.get("remediations").map((function(e){return e.name}));i.default.error("\tAll available form names: ".concat(n))}return t}}},{key:"getSchemaByName",value:function(e){var t=this.getCurrentViewState();if(t)return t.uiSchema.find((function(t){return t.name===e}))}},{key:"getAuthenticatorDisplayName",value:function(){var e=this.get("currentAuthenticator")||{},t=this.get("currentAuthenticatorEnrollment")||{};return e.displayName||t.displayName}},{key:"isAuthenticatorChallenge",value:function(){var e=this.get("currentFormName");return a.FORMS_FOR_VERIFICATION.includes(e)}},{key:"shouldReRenderView",value:function(e){var t;if(null!=e&&null!==(t=e.idx)&&void 0!==t&&t.hasFormError)return!1;var n=this.has("idx")?this.get("idx").rawIdxState:null,r=l._.isEqual(l._.nestedOmit(e.idx.rawIdxState,["expiresAt","refresh","stateHandle","headers"]),l._.nestedOmit(n,["expiresAt","refresh","stateHandle","headers"]));return r&&this.set("dynamicRefreshInterval",this.getRefreshInterval(e)),this._isReRenderRequired(r,e,n)}},{key:"getRefreshInterval",value:function(e){var t,n,r,o,i=this.get("currentFormName");return e.remediations.filter((function(e){return e.name===i}))[0].refresh||(null===(t=e.currentAuthenticatorEnrollment)||void 0===t||null===(n=t.poll)||void 0===n?void 0:n.refresh)||(null===(r=e.currentAuthenticator)||void 0===r||null===(o=r.poll)||void 0===o?void 0:o.refresh)}},{key:"shouldShowSignOutLinkInCurrentForm",value:function(e){var t=this.get("idx")&&this.get("idx").actions,n=this.get("currentFormName");return!e&&l._.isFunction(null==t?void 0:t.cancel)&&!a.FORMS_WITHOUT_SIGNOUT.includes(n)}},{key:"containsMessageWithI18nKey",value:function(e){Array.isArray(e)||(e=[e]);var t=this.get("messages");return t&&Array.isArray(t.value)&&t.value.some((function(t){var n;return l._.contains(e,null===(n=t.i18n)||void 0===n?void 0:n.key)}))}},{key:"containsMessageStartingWithI18nKey",value:function(e){var t=this.get("messages");return t&&Array.isArray(t.value)&&t.value.some((function(t){var n;return null===(n=t.i18n)||void 0===n?void 0:n.key.startsWith(e)}))}},{key:"clearAppStateCache",value:function(){var e={};for(var t in this.attributes)"currentFormName"!==t&&(e[t]=void 0);this.set(e,Object.assign({},{unset:!0,silent:!0})),this.trigger("cache:clear")}},{key:"chooseRemediation",value:function(e){var t,n;if(!l._.isEmpty(e.remediations)){var r=e.remediations[0];return"enroll-poll"===r.name&&this.get("authenticatorKey")===a.AUTHENTICATOR_KEY.OV&&(c.default.isAndroid()||c.default.isIOS())&&"qrcode"===(null===(t=e.currentAuthenticator)||void 0===t||null===(n=t.contextualData)||void 0===n?void 0:n.selectedChannel)?e.remediations.find((function(e){return"select-enrollment-channel"===e.name})):r}}},{key:"setIonResponse",value:(f=d().mark((function e(t){var n,r,o,a,s;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.shouldReRenderView(t),this.clearAppStateCache(),this.set(t),!n){e.next=14;break}return o=this.chooseRemediation(t),a=null,o?a=o.name:(i.default.error("Panic!!"),i.default.error("\tNo remediation found."),i.default.error("\tHere is the entire response"),i.default.error(JSON.stringify(t,null,2))),s=null===(r=this.hooks)||void 0===r?void 0:r.getHook(a),e.next=10,(0,u.executeHooksBefore)(s);case 10:return this.unset("currentFormName",{silent:!0}),this.set({currentFormName:a}),e.next=14,(0,u.executeHooksAfter)(s);case 14:case"end":return e.stop()}}),e,this)})),m=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=f.apply(e,t);function i(e){p(o,n,r,i,a,"next",e)}function a(e){p(o,n,r,i,a,"throw",e)}i(void 0)}))},function(e){return m.apply(this,arguments)})},{key:"setNonIdxError",value:function(e){this.set("remediations",[{name:a.FORMS.TERMINAL}]),this.set("messages",{value:[{message:e.errorDetails.errorSummary,class:"ERROR"}]}),this.set("currentFormName",a.FORMS.TERMINAL)}},{key:"getUser",value:function(){return this.get("user")}},{key:"_isReRenderRequired",value:function(e,t,n){var r,o=!0;return(null===(r=this.get("idx"))||void 0===r?void 0:r.hasFormError)&&this._isChallengeAuthenticatorPoll(t,n)&&(o=!1),e&&(o=!1,("poll"===this.get("currentFormName")||a.FORMS_WITH_STATIC_BACK_LINK.includes(this.get("currentFormName"))||this.containsMessageWithI18nKey("idx.unknown.user"))&&(o=!0)),o}},{key:"_isChallengeAuthenticatorPoll",value:function(e,t){var n,r=l._.isEqual(l._.nestedOmit(e.idx.rawIdxState,["expiresAt","refresh","stateHandle","headers"]),l._.nestedOmit(t,["expiresAt","refresh","stateHandle","messages","headers"])),o="challenge-authenticator"===this.get("currentFormName"),i=(null===(n=this.get("currentAuthenticatorEnrollment"))||void 0===n?void 0:n.key)===a.AUTHENTICATOR_KEY.EMAIL;return r&&o&&i}}],n&&v(t.prototype,n),r&&v(t,r),Object.defineProperty(t,"prototype",{writable:!1}),_}(o.Model);t.default=k,e.exports=t.default},645:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o,i,a,s,l,u,c,f=_e(n(1806)),d=n(4817),p=n(3966),h=_e(n(4307)),m=_e(n(771)),v=_e(n(7311)),g=_e(n(5674)),y=_e(n(9306)),b=_e(n(1762)),_=_e(n(5927)),w=_e(n(6647)),O=_e(n(2754)),k=_e(n(7802)),E=_e(n(6769)),S=_e(n(8326)),x=_e(n(1989)),T=_e(n(3289)),A=_e(n(4497)),C=_e(n(9357)),P=_e(n(4449)),R=_e(n(7196)),N=_e(n(5582)),I=_e(n(1146)),M=_e(n(5718)),j=_e(n(8329)),L=_e(n(4590)),D=_e(n(8872)),F=_e(n(5070)),U=_e(n(7033)),B=_e(n(1198)),V=_e(n(3385)),H=_e(n(1378)),Z=_e(n(560)),q=_e(n(1117)),W=_e(n(6621)),K=_e(n(2317)),G=_e(n(1490)),z=_e(n(4050)),$=_e(n(6558)),Y=_e(n(8466)),J=_e(n(7940)),Q=_e(n(936)),X=_e(n(3527)),ee=_e(n(1870)),te=_e(n(2029)),ne=_e(n(9848)),re=_e(n(1830)),oe=_e(n(8313)),ie=_e(n(921)),ae=_e(n(2031)),se=_e(n(2546)),le=_e(n(6768)),ue=_e(n(6789)),ce=_e(n(1542)),fe=_e(n(4264)),de=_e(n(2734)),pe=_e(n(2679)),he=_e(n(131)),me=_e(n(1462)),ve=_e(n(7060)),ge=_e(n(1879)),ye=_e(n(7731)),be=_e(n(4155));function _e(e){return e&&e.__esModule?e:{default:e}}function we(e){return we="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},we(e)}function Oe(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==we(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==we(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===we(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ke="_",Ee=(Oe(c={},d.FORMS.IDENTIFY,Oe({},ke,h.default)),Oe(c,d.FORMS.IDENTIFY_RECOVERY,Oe({},ke,v.default)),Oe(c,d.FORMS.DEVICE_CHALLENGE_POLL,Oe({},ke,E.default)),Oe(c,d.FORMS.LAUNCH_AUTHENTICATOR,Oe({},ke,x.default)),Oe(c,d.FORMS.DEVICE_APPLE_SSO_EXTENSION,(Oe(r={},ke,S.default),Oe(r,d.AUTHENTICATOR_KEY.OV,re.default),r)),Oe(c,d.FORMS.CANCEL_TRANSACTION,Oe({},ke,S.default)),Oe(c,d.FORMS.ENROLL_PROFILE,Oe({},ke,A.default)),Oe(c,d.FORMS.ENROLL_PROFILE_UPDATE,Oe({},ke,C.default)),Oe(c,d.FORMS.POLL,Oe({},ke,b.default)),Oe(c,d.FORMS.REQUEST_ACTIVATION,Oe({},ke,P.default)),Oe(c,d.FORMS.SELECT_AUTHENTICATOR_ENROLL,Oe({},ke,R.default)),Oe(c,d.FORMS.AUTHENTICATOR_ENROLLMENT_DATA,(Oe(o={},d.AUTHENTICATOR_KEY.PHONE,B.default),Oe(o,d.AUTHENTICATOR_KEY.EMAIL,$.default),o)),Oe(c,d.FORMS.CONSENT_ADMIN,Oe({},ke,_.default)),Oe(c,d.FORMS.CONSENT_ENDUSER,Oe({},ke,w.default)),Oe(c,d.FORMS.CONSENT_GRANULAR,Oe({},ke,O.default)),Oe(c,d.FORMS.CONSENT_EMAIL_CHALLENGE,Oe({},ke,k.default)),Oe(c,d.FORMS.ENROLL_AUTHENTICATOR,(Oe(i={},d.AUTHENTICATOR_KEY.DUO,le.default),Oe(i,d.AUTHENTICATOR_KEY.EMAIL,G.default),Oe(i,d.AUTHENTICATOR_KEY.GOOGLE_OTP,oe.default),Oe(i,d.AUTHENTICATOR_KEY.IDP,fe.default),Oe(i,d.AUTHENTICATOR_KEY.ON_PREM,ae.default),Oe(i,d.AUTHENTICATOR_KEY.PASSWORD,M.default),Oe(i,d.AUTHENTICATOR_KEY.PHONE,U.default),Oe(i,d.AUTHENTICATOR_KEY.RSA,ae.default),Oe(i,d.AUTHENTICATOR_KEY.SECURITY_QUESTION,Z.default),Oe(i,d.AUTHENTICATOR_KEY.SYMANTEC_VIP,pe.default),Oe(i,d.AUTHENTICATOR_KEY.WEBAUTHN,W.default),Oe(i,d.AUTHENTICATOR_KEY.YUBIKEY,ve.default),i)),Oe(c,d.FORMS.CHALLENGE_AUTHENTICATOR,(Oe(a={},d.AUTHENTICATOR_KEY.CUSTOM_OTP,de.default),Oe(a,d.AUTHENTICATOR_KEY.DUO,ue.default),Oe(a,d.AUTHENTICATOR_KEY.EMAIL,z.default),Oe(a,d.AUTHENTICATOR_KEY.GOOGLE_OTP,ie.default),Oe(a,d.AUTHENTICATOR_KEY.IDP,ce.default),Oe(a,d.AUTHENTICATOR_KEY.ON_PREM,se.default),Oe(a,d.AUTHENTICATOR_KEY.OV,ee.default),Oe(a,d.AUTHENTICATOR_KEY.PASSWORD,j.default),Oe(a,d.AUTHENTICATOR_KEY.PHONE,V.default),Oe(a,d.AUTHENTICATOR_KEY.RSA,se.default),Oe(a,d.AUTHENTICATOR_KEY.SECURITY_QUESTION,q.default),Oe(a,d.AUTHENTICATOR_KEY.SYMANTEC_VIP,pe.default),Oe(a,d.AUTHENTICATOR_KEY.WEBAUTHN,K.default),Oe(a,d.AUTHENTICATOR_KEY.YUBIKEY,ve.default),a)),Oe(c,d.FORMS.ENROLL_POLL,Oe({},d.AUTHENTICATOR_KEY.OV,Y.default)),Oe(c,d.FORMS.SELECT_ENROLLMENT_CHANNEL,Oe({},d.AUTHENTICATOR_KEY.OV,J.default)),Oe(c,d.FORMS.ENROLLMENT_CHANNEL_DATA,Oe({},d.AUTHENTICATOR_KEY.OV,Q.default)),Oe(c,d.FORMS.REENROLL_AUTHENTICATOR,Oe({},d.AUTHENTICATOR_KEY.PASSWORD,L.default)),Oe(c,d.FORMS.REENROLL_CUSTOM_PASSWORD_EXPIRY,Oe({},d.AUTHENTICATOR_KEY.PASSWORD,be.default)),Oe(c,d.FORMS.REENROLL_AUTHENTICATOR_WARNING,Oe({},d.AUTHENTICATOR_KEY.PASSWORD,D.default)),Oe(c,d.FORMS.RESET_AUTHENTICATOR,Oe({},d.AUTHENTICATOR_KEY.PASSWORD,F.default)),Oe(c,d.FORMS.SELECT_AUTHENTICATOR_AUTHENTICATE,Oe({},ke,N.default)),Oe(c,d.FORMS.SELECT_AUTHENTICATOR_UNLOCK,Oe({},ke,I.default)),Oe(c,d.FORMS.CHALLENGE_POLL,(Oe(s={},d.AUTHENTICATOR_KEY.OV,X.default),Oe(s,d.AUTHENTICATOR_KEY.CUSTOM_APP,ge.default),s)),Oe(c,d.FORMS.RESEND,(Oe(l={},d.AUTHENTICATOR_KEY.OV,te.default),Oe(l,d.AUTHENTICATOR_KEY.CUSTOM_APP,ye.default),l)),Oe(c,d.FORMS.AUTHENTICATOR_VERIFICATION_DATA,(Oe(u={},d.AUTHENTICATOR_KEY.PHONE,H.default),Oe(u,d.AUTHENTICATOR_KEY.OV,ne.default),Oe(u,d.AUTHENTICATOR_KEY.EMAIL,$.default),Oe(u,d.AUTHENTICATOR_KEY.CUSTOM_APP,ne.default),u)),Oe(c,d.FORMS.FAILURE_REDIRECT,Oe({},ke,y.default)),Oe(c,d.FORMS.SUCCESS_REDIRECT,Oe({},ke,y.default)),Oe(c,d.FORMS.REDIRECT_IDP,Oe({},ke,m.default)),Oe(c,d.FORMS.PIV_IDP,Oe({},ke,me.default)),Oe(c,d.FORMS.DEVICE_ENROLLMENT_TERMINAL,Oe({},ke,T.default)),Oe(c,d.FORMS.USER_CODE,Oe({},ke,he.default)),Oe(c,d.FORMS.TERMINAL,Oe({},ke,g.default)),c),Se={create:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ke,n=Ee[e];if(!n)return f.default.warn("Cannot find customized View for ".concat(e,".")),p.BaseView;var r=n[t]||n._;return r||(f.default.warn("Cannot find customized View for ".concat(e," + ").concat(t,".")),p.BaseView)}};t.default=Se,e.exports=t.default},1586:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(4739));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}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 u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==c(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===c(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}var f=i.internal.views.forms.helpers.FormUtil,d=i.Form.extend({layout:"o-form-theme",className:"ion-form",hasSavingState:!0,autoSave:!1,noCancelButton:!0,title:function(){return(0,i.loc)("oform.title.authenticate","login")},save:function(){return(0,i.loc)("oform.next","login")},modelEvents:{clearFormError:"handleClearFormError",error:"triggerAfterError"},initialize:function(){var e=this,t=this.getUISchema().map(a.create);this.showMessages(),this.listenTo(this.options.appState,"onCaptchaLoaded",(function(t){e.captchaObject=t})),t.forEach((function(t){e.addInputOrView(t)})),this.listenTo(this,"save",this.saveForm),this.listenTo(this,"cancel",this.cancelForm)},focus:function(){if(this.settings.get("features.autoFocus")){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];i.Form.prototype.focus.apply(this,t)}},handleClearFormError:function(){var e=this.$(".o-form-error-container");e.empty(),e.hasClass("o-form-has-errors")&&this.clearErrors()},triggerAfterError:function(e,t){this.options.appState.trigger("afterError",t)},saveForm:function(e){this.$el.find(".o-form-error-container").empty(),this.captchaObject?this.captchaObject.execute():this.options.appState.trigger("saveForm",e)},postRender:function(){this.$el.find(".o-form-error-container").before("<div class='o-form-info-container'></div>"),this.addIdentifier()},addIdentifier:function(){var e=(this.options.appState.get("user")||{}).identifier;if(e&&this.settings.get("features.showIdentifier")){var t=this.$el.find('[data-se="o-form-head"]'),n=o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",u=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="identifier-container"><span class="identifier no-translate" data-se="identifier" title='+u(c(i=null!=(i=f(n,"identifier")||(null!=t?f(t,"identifier"):t))?i:s)===l?i.call(a,{name:"identifier",hash:{},data:o,loc:{start:{line:1,column:99},end:{line:1,column:113}}}):i)+">"+u(c(i=null!=(i=f(n,"identifier")||(null!=t?f(t,"identifier"):t))?i:s)===l?i.call(a,{name:"identifier",hash:{},data:o,loc:{start:{line:1,column:114},end:{line:1,column:128}}}):i)+"</span></div>"},useData:!0})({identifier:e});t.length?t.after(n):this.$el.find(".o-form-error-container").after(n)}},cancelForm:function(){this.options.appState.trigger("invokeAction","cancel")},getUISchema:function(){return Array.isArray(this.options.currentViewState.uiSchema)?this.options.currentViewState.uiSchema:[]},addInputOrView:function(e){if(!1!==e.visible&&(!1!==e.mutable||!0===e.visible)&&(e.View?(this.add(e.View,i._.omit(e,"View","showWhen")),e.showWhen&&f.applyShowWhen(this.last(),e.showWhen)):this.addInput(e),Array.isArray(e.optionsUiSchemas)&&this.options.optionUiSchemaConfig[e.name])){var t=Number(this.options.optionUiSchemaConfig[e.name]);(e.optionsUiSchemas[t]||[]).forEach(this.addInputOrView.bind(this))}},showCustomFormErrorCallout:null,showMessages:function(e){var t=this,n=this.options.appState.get("messages")||{},r=".o-form-error-container";!Array.isArray(n.value)||e instanceof i.View?e instanceof i.View&&this.add(e,r):(this.add('<div class="ion-messages-container"></div>',r),n.value.forEach((function(n){if(null!=n&&n.class&&"INFO"!==n.class){var o,a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({class:null!==(o=null==n?void 0:n.class)&&void 0!==o?o:"",message:null==n?void 0:n.message,title:""},e);t.add((0,i.createCallout)({content:a.message,type:a.class.toLowerCase(),title:a.title}),r),e=null}else t.add("<p>".concat(n.message,"</p>"),".ion-messages-container")})))}});t.default=d,e.exports=t.default},4739:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTextOverflowing=t.createIdpButtons=t.createCustomButtons=t.create=t.addCustomButton=void 0;var r,o=n(2048),i=p(n(3721)),a=p(n(8990)),s=n(2423),l=n(4817),u=p(n(4087)),c=p(n(4506)),f=p(n(2013)),d=p(n(6688));function p(e){return e&&e.__esModule?e:{default:e}}function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function m(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e){return function(e){if(Array.isArray(e))return y(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function b(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==h(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==h(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===h(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=function(e,t){var n=document.createElement("div");n.style.position="absolute",n.style.left="-9999px",n.style.whiteSpace="nowrap",n.innerHTML=e,document.body.appendChild(n);var r=n.clientWidth;return document.body.removeChild(n),r>t};t.isTextOverflowing=_;var w=(b(r={authenticatorEnrollSelect:function(e){var t=(e.options||[]).map((function(e){return Object.assign({},e,(0,s.getAuthenticatorDataForEnroll)(e))}));return{View:i.default,options:{name:e.name,collection:new o.Collection(t)}}},authenticatorVerifySelect:function(e){var t=e.options||[],n=new Set;return t=t.filter((function(e){var t;if(e.authenticatorKey===l.AUTHENTICATOR_KEY.WEBAUTHN)t=n.has(e.authenticatorKey),n.add(e.authenticatorKey);else if(e.authenticatorKey===l.AUTHENTICATOR_KEY.CUSTOM_APP){var r,o;t=n.has(null==e||null===(r=e.value)||void 0===r?void 0:r.id),n.add(null==e||null===(o=e.value)||void 0===o?void 0:o.id)}return!t})),t=t.map((function(e){return Object.assign({},e,(0,s.getAuthenticatorDataForVerification)(e))})),{View:a.default,options:{name:e.name,collection:new o.Collection(t)}}}},"admin-consent",(function(){return{View:c.default}})),b(r,"consent",(function(){return{View:f.default}})),b(r,"captcha",(function(e){return{View:d.default,options:{name:e.name}}})),r);t.create=function(e){return(w[e.type]||o._.identity)(e)};t.createIdpButtons=function(e){var t=e.settings,n=e.appState,r=n.get("remediations").filter((function(e){return e.name===l.FORMS.REDIRECT_IDP}));if(!Array.isArray(r))return[];var i=function(e,t){if(t.get("remediations").filter((function(e){return e.name===l.FORMS.PIV_IDP})).length<1)return[];var n=e.get("piv");return[{attributes:{"data-se":"piv-card-button"},className:(n.className||"")+" piv-button",title:n.text||(0,o.loc)("piv.cac.card","login"),click:function(e){e.preventDefault(),t.trigger("switchForm",l.FORMS.PIV_IDP)}}]}(t,n),a=r.map((function(e){var t,n,r,i=null===(t=e.type)||void 0===t?void 0:t.toLowerCase();o._.contains(u.default.SUPPORTED_SOCIAL_IDPS,i)?n=(0,o.loc)("socialauth.".concat(i,".label"),"login"):(i="general-idp",n=(0,o.loc)("customauth.sign.in.with.label","login",[null===(r=e.idp)||void 0===r?void 0:r.name]));var a=["social-auth-button","social-auth-".concat(i,"-button")];"general-idp"===i&&a.push("no-translate"),e.idp.className&&a.push(e.idp.className);var s={attributes:{"data-se":"social-auth-".concat(i,"-button")},className:a.join(" "),title:n,href:e.href};return _(n,186)&&(s.attributes.title=n),s}));return[].concat(g(i),g(a))};t.createCustomButtons=function(e){return e.get("customButtons").map((function(e){return{attributes:{"data-se":e.dataAttr},className:e.className+" default-custom-button",title:e.title||(0,o.loc)(e.i18nKey,"login"),click:e.click}}))};t.addCustomButton=function(e){return(0,o.createButton)(v(v({},e),{},{className:"".concat(e.className," default-custom-button button-primary")}))}},2343:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createOktaSignIn=function(e,t){return function(){function n(i){var s,l,c;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),o.default.debugMessage("\n The Okta Sign-In Widget is running in development mode.\n When you are ready to publish your app, embed the minified version to turn on production mode.\n See: https://developer.okta.com/code/javascript/okta_sign-in_widget#cdn\n "),i.stateToken)||(i.stateToken=null===(s=window)||void 0===s||null===(l=s.oktaData)||void 0===l||null===(c=l.signIn)||void 0===c?void 0:c.stateToken);if(this.options=i,this.authClient=(0,a.default)(e,i),!0!==i.useClassicEngine&&this.authClient.options.clientId&&!1===this.authClient.isPKCE())throw new r.ConfigError("OAuth2 with interaction code flow requires PKCE to be enabled on the authClient.");this.hooks=new u.default({hooks:i.hooks}),this.Router=t(i),this.Router.prototype.Events.listenTo.call(this,this.Router.prototype,"all",this.trigger),this.once("afterRender",(function(e){this.trigger("ready",e)}))}return function(e,t,n){t&&d(e.prototype,t);n&&d(e,n);Object.defineProperty(e,"prototype",{writable:!1})}(n,[{key:"renderEl",value:function(e,t,n){if(this.router)throw new Error("An instance of the widget has already been rendered. Call remove() first.");var r=(0,l.default)(this.Router,this.options,e,this.authClient,t,n,this.hooks);return this.router=r.router,r.promise}},{key:"hide",value:function(){this.router&&this.router.hide()}},{key:"show",value:function(){this.router&&this.router.show()}},{key:"remove",value:function(){this.router&&(this.router.remove(),this.router=void 0)}},{key:"showSignInToGetTokens",value:function(e){var t=Object.assign((0,s.default)(this.options,e),{redirect:"never"}),n=this.renderEl(t).then((function(e){return e.tokens})),o=this.router.settings.getAuthClient();if(o.isAuthorizationCodeFlow()&&!o.isPKCE())throw new r.ConfigError('"showSignInToGetTokens()" should not be used for authorization_code flow. Use "showSignInAndRedirect()" instead');return n}},{key:"showSignInAndRedirect",value:function(e){var t=Object.assign((0,s.default)(this.options,e),{redirect:"always"});return this.renderEl(t).then((function(){}))}},{key:"showSignIn",value:function(e){var t=Object.assign((0,s.default)(this.options,e));return this.renderEl(t)}},{key:"before",value:function(e,t){this.hooks.mergeHook(e,{before:[t]})}},{key:"after",value:function(e,t){this.hooks.mergeHook(e,{after:[t]})}},{key:"getUser",value:function(){var e,t;return null===(e=this.router)||void 0===e||null===(t=e.appState)||void 0===t?void 0:t.getUser()}},{key:"on",value:function(e,t){if(p.includes(e)){var n=t;t=function(){try{for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];n.apply(this,r)}catch(t){i.default.error('[okta-signin-widget] "'.concat(e,'" event handler error:'),t)}}}this.Router.prototype.Events.on.call(this,e,t)}},{key:"off",value:function(e,t){this.Router.prototype.Events.off.call(this,e,t)}},{key:"once",value:function(e,t){this.Router.prototype.Events.once.call(this,e,t)}},{key:"stopListening",value:function(e,t){this.Router.prototype.Events.stopListening.call(this,e,t)}},{key:"listenTo",value:function(e,t,n){this.Router.prototype.Events.listenTo.call(this,e,t,n)}},{key:"trigger",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.Router.prototype.Events.trigger.apply(this,[e].concat(n))}}]),n}()};var r=n(2183),o=c(n(7516)),i=c(n(1806)),a=c(n(5143)),s=c(n(5613)),l=c(n(3386)),u=c(n(628));function c(e){return e&&e.__esModule?e:{default:e}}function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==f(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===f(i)?i:String(i)),r)}var o,i}var p=["ready","afterError","afterRender"]},5143:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.authClient,a=t.authParams;if(!n){var s=t.issuer,l=t.clientId,c=t.redirectUri,f=t.state,d=t.scopes,p=t.flow,h=t.codeChallenge,m=t.codeChallengeMethod,v=t.recoveryToken;(a=u({issuer:s,clientId:l,redirectUri:c,state:f,scopes:d,flow:p,codeChallenge:h,codeChallengeMethod:m,transformErrorXHR:o.default.transformErrorXHR,recoveryToken:v},a)).issuer||(a.issuer=t.baseUrl+"/oauth2/default"),n=new e(a)}if(!n._oktaUserAgent)throw new r.ConfigError("The passed in authClient should be version 5.4.0 or above.");n._oktaUserAgent.addEnvironment("okta-signin-widget-".concat(i.default.version));return n};var r=n(2183),o=a(n(7516)),i=a(n(5091));function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}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 u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==s(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===s(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.exports=t.default},9044:function(e){
/*! For license information please see default.js.LICENSE.txt */
self,e.exports=function(){var e={1506:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},4575:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},9100:function(e,t,n){var r=n(9489),o=n(7067);function i(t,n,a){return o()?(e.exports=i=Reflect.construct,e.exports.__esModule=!0,e.exports.default=e.exports):(e.exports=i=function(e,t,n){var o=[null];o.push.apply(o,t);var i=new(Function.bind.apply(e,o));return n&&r(i,n.prototype),i},e.exports.__esModule=!0,e.exports.default=e.exports),i.apply(null,arguments)}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},3913:function(e){function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},9754:function(e){function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},2205:function(e,t,n){var r=n(9489);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},430:function(e){e.exports=function(e){return-1!==Function.toString.call(e).indexOf("[native code]")},e.exports.__esModule=!0,e.exports.default=e.exports},7067:function(e){e.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}},e.exports.__esModule=!0,e.exports.default=e.exports},8585:function(e,t,n){var r=n(8).default,o=n(1506);e.exports=function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},9489:function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},8:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},5957:function(e,t,n){var r=n(9754),o=n(9489),i=n(430),a=n(9100);function s(t){var n="function"==typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!i(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return a(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),o(t,e)},e.exports.__esModule=!0,e.exports.default=e.exports,s(t)}e.exports=s,e.exports.__esModule=!0,e.exports.default=e.exports},7757:function(e,t,n){e.exports=n(5666)},9748:function(e,t,n){"use strict";n.d(t,{b:function(){return O}});var r=n(5385),o=n(9123),i=n(1971);function a(e,t){var n={};return Object.assign(n,t),!n.stateToken&&e.stateToken&&(n.stateToken=e.stateToken),n}function s(e,t){return t=a(e,t),(0,r.v_)(e,e.getIssuerOrigin()+"/api/v1/authn",t,{withCredentials:!0})}function l(e){return!!c(e)}function u(e,t,n,o,i){return i=Object.assign({withCredentials:!0},i),(0,r.v_)(e,n,o,i).then((function(e){return t.createTransaction(e)}))}function c(e){return e.options.storageUtil.storage.get(i.STATE_TOKEN_KEY_NAME)}var f=n(5671),d=n(4942),p=n(3193),h=n(4771),m=n(6718);function v(e,t,n,i,s,l){if(Array.isArray(s))return function(r,a){if(!r)throw new o.Z("Must provide a link name");var u=(0,p.sE)(s,{name:r});if(!u)throw new o.Z("No link found for that name");return v(e,t,n,i,u,l)(a)};if(s.hints&&s.hints.allow&&1===s.hints.allow.length)switch(s.hints.allow[0]){case"GET":return function(){return(0,r.U2)(e,s.href,{withCredentials:!0})};case"POST":return function(r){l&&l.isPolling&&(l.isPolling=!1);var c=a(n,r);"MFA_ENROLL"!==n.status&&"FACTOR_ENROLL"!==n.status||Object.assign(c,{factorType:i.factorType,provider:i.provider});var f={},d=c.autoPush;if(void 0!==d){if("function"==typeof d)try{f.autoPush=!!d()}catch(e){return Promise.reject(new o.Z("AutoPush resulted in an error."))}else null!==d&&(f.autoPush=!!d);c=(0,p.CE)(c,"autoPush")}var h=c.rememberDevice;if(void 0!==h){if("function"==typeof h)try{f.rememberDevice=!!h()}catch(e){return Promise.reject(new o.Z("RememberDevice resulted in an error."))}else null!==h&&(f.rememberDevice=!!h);c=(0,p.CE)(c,"rememberDevice")}else c.profile&&void 0!==c.profile.updatePhone&&(c.profile.updatePhone&&(f.updatePhone=!0),c.profile=(0,p.CE)(c.profile,"updatePhone"));var v=s.href+(0,m.UK)(f);return u(e,t,v,c)}}}var g=n(8750),y=n(6573);function b(e,t,n){return function(s){var l,u,c,f;(0,h.hj)(s)?l=s:(0,h.Kn)(s)&&(l=s.delay,u=s.rememberDevice,c=s.autoPush,f=s.transactionCallBack),l||0===l||(l=i.DEFAULT_POLLING_DELAY);var d=(0,p.Rg)(t,"next","poll");n.isPolling=!0;var v=0;return function i(){return n.isPolling?function(){var n={};if("function"==typeof c)try{n.autoPush=!!c()}catch(e){return Promise.reject(new o.Z("AutoPush resulted in an error."))}else null!=c&&(n.autoPush=!!c);if("function"==typeof u)try{n.rememberDevice=!!u()}catch(e){return Promise.reject(new o.Z("RememberDevice resulted in an error."))}else null!=u&&(n.rememberDevice=!!u);var i=d.href+(0,m.UK)(n);return(0,r.v_)(e,i,function(e){return a(e)}(t),{saveAuthnState:!1,withCredentials:!0})}().then((function(t){if(v=0,t.factorResult&&"WAITING"===t.factorResult){if(!n.isPolling)throw new y.Z;return"function"==typeof f&&f(t),(0,g.gw)(l).then(i)}return n.isPolling=!1,e.tx.createTransaction(t)})).catch((function(e){if(e.xhr&&(0===e.xhr.status||429===e.xhr.status)&&v<=4){var t=1e3*Math.pow(2,v);return v++,(0,g.gw)(t).then(i)}throw e})):Promise.reject(new y.Z)}().catch((function(e){throw n.isPolling=!1,e}))}}function _(e,t,n,r,o){if(r=r||n,r=(0,p.d9)(r),Array.isArray(r)){for(var i=[],a=0,s=r.length;a<s;a++)i.push(_(e,t,n,r[a],o));return i}var l=r._embedded||{};for(var u in l)Object.prototype.hasOwnProperty.call(l,u)&&((0,h.Kn)(l[u])||Array.isArray(l[u]))&&(l[u]=_(e,t,n,l[u],o));var c=function(e,t,n,r,o){var i={};for(var a in r._links)if(Object.prototype.hasOwnProperty.call(r._links,a)){var s=r._links[a];if("next"===a&&(a=s.name),s.type)i[a]=s;else if("poll"===a)i.poll=b(e,n,o);else{var l=v(e,t,n,r,s,o);l&&(i[a]=l)}}return i}(e,t,n,r,o);return Object.assign(l,c),r=(0,p.CE)(r,"_embedded","_links"),Object.assign(r,l),r}var w=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;(0,f.Z)(this,e),(0,d.Z)(this,"next",void 0),(0,d.Z)(this,"cancel",void 0),(0,d.Z)(this,"skip",void 0),(0,d.Z)(this,"unlock",void 0),(0,d.Z)(this,"changePassword",void 0),(0,d.Z)(this,"resetPassword",void 0),(0,d.Z)(this,"answer",void 0),(0,d.Z)(this,"recovery",void 0),(0,d.Z)(this,"verify",void 0),(0,d.Z)(this,"resend",void 0),(0,d.Z)(this,"activate",void 0),(0,d.Z)(this,"poll",void 0),(0,d.Z)(this,"prev",void 0),(0,d.Z)(this,"data",void 0),(0,d.Z)(this,"stateToken",void 0),(0,d.Z)(this,"sessionToken",void 0),(0,d.Z)(this,"status",void 0),(0,d.Z)(this,"user",void 0),(0,d.Z)(this,"factor",void 0),(0,d.Z)(this,"factors",void 0),(0,d.Z)(this,"policy",void 0),(0,d.Z)(this,"scopes",void 0),(0,d.Z)(this,"target",void 0),(0,d.Z)(this,"authentication",void 0),this.data=void 0,this.status=void 0,r&&(this.data=r,Object.assign(this,_(t,n,r,r,{})),delete this.stateToken,"RECOVERY_CHALLENGE"!==r.status||r._links||(this.cancel=function(){return Promise.resolve(n.createTransaction())}))};function O(e){var t={status:s.bind(null,e),resume:function(n){return function(e,t,n){if(!n||!n.stateToken){var r=c(e);if(!r)return Promise.reject(new o.Z("No transaction to resume"));n={stateToken:r}}return s(e,n).then((function(e){return t.createTransaction(e)}))}(e,t,n)},exists:l.bind(null,e),introspect:function(n){return function(e,t,n){if(!n||!n.stateToken){var i=c(e);if(!i)return Promise.reject(new o.Z("No transaction to evaluate"));n={stateToken:i}}return function(e,t){return t=a(e,t),(0,r.v_)(e,e.getIssuerOrigin()+"/api/v1/authn/introspect",t,{withCredentials:!0})}(e,n).then((function(e){return t.createTransaction(e)}))}(e,t,n)},createTransaction:function(n){return new w(e,t,n)},postToTransaction:function(n,r,o){return u(e,t,n,r,o)}};return t}},3398:function(e,t,n){"use strict";n.d(t,{b:function(){return r.b},t:function(){return o.t}});var r=n(9748),o=n(8284)},8284:function(e,t,n){"use strict";n.d(t,{t:function(){return b}});var r=n(5861),o=n(5671),i=n(3144),a=n(7326),s=n(136),l=n(2963),u=n(1120),c=n(4942),f=n(7757),d=n.n(f),p=n(3193),h=n(9123),m=n(415),v=n(4970);function g(e,t){return t=t||{},(0,m.isFingerprintSupported)()?new Promise((function(i,a){var s;(r=document.createElement("iframe")).style.display="none",o=function(t){if(t&&t.data&&t.origin===e.getIssuerOrigin()){try{var n=JSON.parse(t.data)}catch(e){return}if(n)return"FingerprintAvailable"===n.type?i(n.fingerprint):void("FingerprintServiceReady"===n.type&&t.source.postMessage(JSON.stringify({type:"GetFingerprint"}),t.origin))}},(0,v.NH)(window,"message",o),r.src=e.getIssuerOrigin()+"/auth/services/devicefingerprint",document.body.appendChild(r),n=setTimeout((function(){a(new h.Z("Fingerprinting timed out"))}),(null===(s=t)||void 0===s?void 0:s.timeout)||15e3)})).finally((function(){clearTimeout(n),(0,v.ys)(window,"message",o),document.body.contains(r)&&r.parentElement.removeChild(r)})):Promise.reject(new h.Z("Fingerprinting is not supported on this device"));var n,r,o}var y=n(9748);function b(e){return function(e){(0,s.Z)(v,e);var t,n,f,h,m=(f=v,h=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=(0,u.Z)(f);if(h){var n=(0,u.Z)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,l.Z)(this,e)});function v(){var e;(0,o.Z)(this,v);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e=m.call.apply(m,[this].concat(n)),(0,c.Z)((0,a.Z)(e),"tx",void 0),(0,c.Z)((0,a.Z)(e),"authn",void 0),(0,c.Z)((0,a.Z)(e),"fingerprint",void 0),e.authn=e.tx=(0,y.b)((0,a.Z)(e)),e.fingerprint=g.bind(null,(0,a.Z)(e)),e}return(0,i.Z)(v,[{key:"signIn",value:(n=(0,r.Z)(d().mark((function e(t){var n,r=this;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=(0,p.d9)(t||{}),n=function(e){return delete t.sendFingerprint,r.tx.postToTransaction("/api/v1/authn",t,e)},t.sendFingerprint){e.next=4;break}return e.abrupt("return",n());case 4:return e.abrupt("return",this.fingerprint().then((function(e){return n({headers:{"X-Device-Fingerprint":e}})})));case 5:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"signInWithCredentials",value:(t=(0,r.Z)(d().mark((function e(t){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.signIn(t));case 1:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"forgotPassword",value:function(e){return this.tx.postToTransaction("/api/v1/authn/recovery/password",e)}},{key:"unlockAccount",value:function(e){return this.tx.postToTransaction("/api/v1/authn/recovery/unlock",e)}},{key:"verifyRecoveryToken",value:function(e){return this.tx.postToTransaction("/api/v1/authn/recovery/token",e)}}]),v}(e)}},9893:function(e,t,n){"use strict";n.d(t,{a:function(){return c}});var r=n(5671),o=n(4942),i=n(3193),a=n(415),s=n(1971),l=n(4279),u=n.n(l);function c(e){var t=function t(){(0,r.Z)(this,t),(0,o.Z)(this,"options",void 0),(0,o.Z)(this,"emitter",void 0),(0,o.Z)(this,"features",void 0);var n=new e(arguments.length&&(arguments.length<=0?void 0:arguments[0])||{});this.options=(0,i.YY)(n),this.emitter=new(u()),this.features=a};return(0,o.Z)(t,"features",a),(0,o.Z)(t,"constants",s),t.features=t.prototype.features=a,Object.assign(t,{constants:s}),t}},3306:function(e,t,n){"use strict";n.d(t,{a:function(){return r.a},X:function(){return o.X}});var r=n(9893),o=n(5093)},5093:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});var r=n(5671),o=n(4942);function i(){return function e(t){(0,r.Z)(this,e),(0,o.Z)(this,"devMode",void 0),this.devMode=!!t.devMode}}},4858:function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}n.d(t,{Z:function(){return c}});var o=function e(t,n){function o(e,o,i){if("undefined"!=typeof document){"number"==typeof(i=r({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var s in i)i[s]&&(a+="; "+s,!0!==i[s]&&(a+="="+i[s].split(";")[0]));return document.cookie=e+"="+t.write(o,e)+a}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},o=0;o<n.length;o++){var i=n[o].split("="),a=i.slice(1).join("=");try{var s=decodeURIComponent(i[0]);if(r[s]=t.read(a,s),e===s)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){o(e,"",r({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,r({},this.attributes,t))},withConverter:function(t){return e(r({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"}),i=o,a=n(9123),s=n(146),l=n(415),u={browserHasLocalStorage:function(){try{var e=this.getLocalStorage();return this.testStorage(e)}catch(e){return!1}},browserHasSessionStorage:function(){try{var e=this.getSessionStorage();return this.testStorage(e)}catch(e){return!1}},testStorageType:function(e){var t=!1;switch(e){case"sessionStorage":t=this.browserHasSessionStorage();break;case"localStorage":t=this.browserHasLocalStorage();break;case"cookie":case"memory":t=!0;break;default:t=!1}return t},getStorageByType:function(e,t){var n;switch(e){case"sessionStorage":n=this.getSessionStorage();break;case"localStorage":n=this.getLocalStorage();break;case"cookie":n=this.getCookieStorage(t);break;case"memory":n=this.getInMemoryStorage();break;default:throw new a.Z("Unrecognized storage option: ".concat(e))}return n},findStorageType:function(e){var t,n;return t=(e=e.slice()).shift(),(n=e.length?e[0]:null)?this.testStorageType(t)?t:((0,s.ZK)("This browser doesn't support ".concat(t,". Switching to ").concat(n,".")),this.findStorageType(e)):t},getLocalStorage:function(){return(0,l.isIE11OrLess)()&&!window.onstorage&&(window.onstorage=function(){}),localStorage},getSessionStorage:function(){return sessionStorage},getCookieStorage:function(e){var t=this,n=e.secure,r=e.sameSite,o=e.sessionCookie;if(void 0===n||void 0===r)throw new a.Z('getCookieStorage: "secure" and "sameSite" options must be provided');var i={getItem:this.storage.get,setItem:function(e,i){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"2200-01-01T00:00:00.000Z";a=o?null:a,t.storage.set(e,i,a,{secure:n,sameSite:r})},removeItem:function(e){t.storage.delete(e)}};return e.useSeparateCookies?{getItem:function(e){var t=i.getItem(),n={};return Object.keys(t).forEach((function(r){0===r.indexOf(e)&&(n[r.replace("".concat(e,"_"),"")]=JSON.parse(t[r]))})),JSON.stringify(n)},setItem:function(e,t){var n=JSON.parse(this.getItem(e));t=JSON.parse(t),Object.keys(t).forEach((function(r){var o=e+"_"+r,a=JSON.stringify(t[r]);i.setItem(o,a),delete n[r]})),Object.keys(n).forEach((function(t){i.removeItem(e+"_"+t)}))},removeItem:function(e){var t=JSON.parse(this.getItem(e));Object.keys(t).forEach((function(t){i.removeItem(e+"_"+t)}))}}:i},inMemoryStore:{},getInMemoryStorage:function(){var e=this;return{getItem:function(t){return e.inMemoryStore[t]},setItem:function(t,n){e.inMemoryStore[t]=n}}},testStorage:function(e){var t="okta-test-storage";try{return e.setItem(t,t),e.removeItem(t),!0}catch(e){return!1}},storage:{set:function(e,t,n,r){var o=r.sameSite,s=r.secure;if(void 0===s||void 0===o)throw new a.Z('storage.set: "secure" and "sameSite" options must be provided');var l={path:r.path||"/",secure:s,sameSite:o};return Date.parse(n)&&(l.expires=new Date(n)),i.set(e,t,l),this.get(e)},get:function(e){return arguments.length?i.get(e):i.get()},delete:function(e){return i.remove(e,{path:"/"})}}},c=u},1971:function(e,t,n){"use strict";n.r(t),n.d(t,{STATE_TOKEN_KEY_NAME:function(){return r},DEFAULT_POLLING_DELAY:function(){return o},DEFAULT_MAX_CLOCK_SKEW:function(){return i},DEFAULT_CACHE_DURATION:function(){return a},TOKEN_STORAGE_NAME:function(){return s},CACHE_STORAGE_NAME:function(){return l},PKCE_STORAGE_NAME:function(){return u},TRANSACTION_STORAGE_NAME:function(){return c},SHARED_TRANSACTION_STORAGE_NAME:function(){return f},ORIGINAL_URI_STORAGE_NAME:function(){return d},IDX_RESPONSE_STORAGE_NAME:function(){return p},ACCESS_TOKEN_STORAGE_KEY:function(){return h},ID_TOKEN_STORAGE_KEY:function(){return m},REFRESH_TOKEN_STORAGE_KEY:function(){return v},REFERRER_PATH_STORAGE_KEY:function(){return g},MIN_VERIFIER_LENGTH:function(){return y},MAX_VERIFIER_LENGTH:function(){return b},DEFAULT_CODE_CHALLENGE_METHOD:function(){return _},IDX_API_VERSION:function(){return w}});var r="oktaStateToken",o=500,i=300,a=86400,s="okta-token-storage",l="okta-cache-storage",u="okta-pkce-storage",c="okta-transaction-storage",f="okta-shared-transaction-storage",d="okta-original-uri-storage",p="okta-idx-response-storage",h="accessToken",m="idToken",v="refreshToken",g="referrerPath",y=43,b=128,_="S256",w="1.0.0"},1018:function(e,t,n){"use strict";n.d(t,{a:function(){return g},E:function(){return _}});var r=n(5861),o=n(5671),i=n(3144),a=n(4942),s=n(7757),l=n.n(s),u=n(3615),c=n.n(u),f=n(9123),d=n(7088),p=n(3548),h=n(146);function m(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g=null,y={updateAuthStatePromise:null,canceledTimes:0},b="authStateChange",_=function(){function e(t){var n=this;if((0,o.Z)(this,e),(0,a.Z)(this,"_sdk",void 0),(0,a.Z)(this,"_pending",void 0),(0,a.Z)(this,"_authState",void 0),(0,a.Z)(this,"_prevAuthState",void 0),(0,a.Z)(this,"_logOptions",void 0),(0,a.Z)(this,"_transformQueue",void 0),!t.emitter)throw new f.Z("Emitter should be initialized before AuthStateManager");this._sdk=t,this._pending=v({},y),this._authState=g,this._logOptions={},this._prevAuthState=null,this._transformQueue=new p.b({quiet:!0}),t.tokenManager.on(d.O3,(function(e,t){n._setLogOptions({event:d.O3,key:e,token:t}),n.updateAuthState()})),t.tokenManager.on(d.FT,(function(e,t){n._setLogOptions({event:d.FT,key:e,token:t}),n.updateAuthState()}))}var t;return(0,i.Z)(e,[{key:"_setLogOptions",value:function(e){this._logOptions=e}},{key:"getAuthState",value:function(){return this._authState}},{key:"getPreviousAuthState",value:function(){return this._prevAuthState}},{key:"updateAuthState",value:(t=(0,r.Z)(l().mark((function e(){var t,n,r,o,i,a,s,u=this;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this._sdk.options,n=t.transformAuthState,r=t.devMode,o=function(e){var t=u._logOptions,n=t.event,r=t.key,o=t.token;(0,h.dr)().group("OKTA-AUTH-JS:updateAuthState: Event:".concat(n," Status:").concat(e)),(0,h.dr)().log(r,o),(0,h.dr)().log("Current authState",u._authState),(0,h.dr)().groupEnd(),u._logOptions={}},i=function(e){var t,n;n=e,(t=u._authState)&&t.isAuthenticated===n.isAuthenticated&&JSON.stringify(t.idToken)===JSON.stringify(n.idToken)&&JSON.stringify(t.accessToken)===JSON.stringify(n.accessToken)&&t.error===n.error?r&&o("unchanged"):(u._prevAuthState=u._authState,u._authState=e,u._sdk.emitter.emit(b,v({},e)),r&&o("emitted"))},a=function e(t){return u._pending.updateAuthStatePromise.then((function(){var n=u._pending.updateAuthStatePromise;return n&&n!==t?e(n):u.getAuthState()}))},!this._pending.updateAuthStatePromise){e.next=11;break}if(!(this._pending.canceledTimes>=10)){e.next=10;break}return r&&o("terminated"),e.abrupt("return",a(this._pending.updateAuthStatePromise));case 10:this._pending.updateAuthStatePromise.cancel();case 11:return s=new(c())((function(e,t,a){a.shouldReject=!1,a((function(){u._pending.updateAuthStatePromise=null,u._pending.canceledTimes=u._pending.canceledTimes+1,r&&o("canceled")}));var l=function(t){s.isCanceled?e():(i(t),e(),u._pending=v({},y))};u._sdk.isAuthenticated().then((function(){if(s.isCanceled)e();else{var t=u._sdk.tokenManager.getTokensSync(),r=t.accessToken,o=t.idToken,i=t.refreshToken,a={accessToken:r,idToken:o,refreshToken:i,isAuthenticated:!(!r||!o)};(n?u._transformQueue.push(n,null,u._sdk,a):Promise.resolve(a)).then((function(e){return l(e)})).catch((function(e){return l({accessToken:r,idToken:o,refreshToken:i,isAuthenticated:!1,error:e})}))}}))})),this._pending.updateAuthStatePromise=s,e.abrupt("return",a(s));case 14:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"subscribe",value:function(e){this._sdk.emitter.on(b,e)}},{key:"unsubscribe",value:function(e){this._sdk.emitter.off(b,e)}}]),e}()},2397:function(e,t,n){"use strict";n.d(t,{W:function(){return ve}});var r=n(885),o=n(2982),i=n(5861),a=n(5671),s=n(3144),l=n(4942),u=n(7757),c=n.n(u);Promise.resolve(!1);var f=Promise.resolve(!0),d=Promise.resolve();function p(e,t){return e||(e=0),new Promise((function(n){return setTimeout((function(){return n(t)}),e)}))}function h(){return Math.random().toString(36).substring(2)}var m=0,v=0;function g(){var e=(new Date).getTime();return e===m?1e3*e+ ++v:(m=e,v=0,1e3*e)}var y={create:function(e){var t={messagesCallback:null,bc:new BroadcastChannel(e),subFns:[]};return t.bc.onmessage=function(e){t.messagesCallback&&t.messagesCallback(e.data)},t},close:function(e){e.bc.close(),e.subFns=[]},onMessage:function(e,t){e.messagesCallback=t},postMessage:function(e,t){try{return e.bc.postMessage(t,!1),d}catch(e){return Promise.reject(e)}},canBeUsed:function(){if("undefined"==typeof window)return!1;if("function"==typeof BroadcastChannel){if(BroadcastChannel._pubkey)throw new Error("BroadcastChannel: Do not overwrite window.BroadcastChannel with this module, this is not a polyfill");return!0}return!1},type:"native",averageResponseTime:function(){return 150},microSeconds:g},b=function(){function e(e){this.ttl=e,this.map=new Map,this._to=!1}return e.prototype.has=function(e){return this.map.has(e)},e.prototype.add=function(e){var t=this;this.map.set(e,_()),this._to||(this._to=!0,setTimeout((function(){t._to=!1,function(e){for(var t=_()-e.ttl,n=e.map[Symbol.iterator]();;){var r=n.next().value;if(!r)return;var o=r[0];if(!(r[1]<t))return;e.map.delete(o)}}(t)}),0))},e.prototype.clear=function(){this.map.clear()},e}();function _(){return(new Date).getTime()}function w(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=JSON.parse(JSON.stringify(e));return void 0===t.webWorkerSupport&&(t.webWorkerSupport=!0),t.idb||(t.idb={}),t.idb.ttl||(t.idb.ttl=45e3),t.idb.fallbackInterval||(t.idb.fallbackInterval=150),e.idb&&"function"==typeof e.idb.onclose&&(t.idb.onclose=e.idb.onclose),t.localstorage||(t.localstorage={}),t.localstorage.removeTimeout||(t.localstorage.removeTimeout=6e4),e.methods&&(t.methods=e.methods),t.node||(t.node={}),t.node.ttl||(t.node.ttl=12e4),t.node.maxParallelWrites||(t.node.maxParallelWrites=2048),void 0===t.node.useFastPath&&(t.node.useFastPath=!0),t}var O="messages",k={durability:"relaxed"};function E(){if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof window){if(void 0!==window.mozIndexedDB)return window.mozIndexedDB;if(void 0!==window.webkitIndexedDB)return window.webkitIndexedDB;if(void 0!==window.msIndexedDB)return window.msIndexedDB}return!1}function S(e){e.commit&&e.commit()}function x(e){e.closed||T(e).then((function(){return p(e.options.idb.fallbackInterval)})).then((function(){return x(e)}))}function T(e){return e.closed?d:e.messagesCallback?function(e,t){var n=e.transaction(O,"readonly",k),r=n.objectStore(O),o=[],i=IDBKeyRange.bound(t+1,1/0);if(r.getAll){var a=r.getAll(i);return new Promise((function(e,t){a.onerror=function(e){return t(e)},a.onsuccess=function(t){e(t.target.result)}}))}return new Promise((function(e,a){var s=function(){try{return i=IDBKeyRange.bound(t+1,1/0),r.openCursor(i)}catch(e){return r.openCursor()}}();s.onerror=function(e){return a(e)},s.onsuccess=function(r){var i=r.target.result;i?i.value.id<t+1?i.continue(t+1):(o.push(i.value),i.continue()):(S(n),e(o))}}))}(e.db,e.lastCursorId).then((function(t){var n=t.filter((function(e){return!!e})).map((function(t){return t.id>e.lastCursorId&&(e.lastCursorId=t.id),t})).filter((function(t){return function(e,t){return!(e.uuid===t.uuid||t.eMIs.has(e.id)||e.data.time<t.messagesCallbackTime)}(t,e)})).sort((function(e,t){return e.time-t.time}));return n.forEach((function(t){e.messagesCallback&&(e.eMIs.add(t.id),e.messagesCallback(t.data))})),d})):d}var A={create:function(e,t){return t=w(t),function(e){var t="pubkey.broadcast-channel-0-"+e,n=E().open(t);return n.onupgradeneeded=function(e){e.target.result.createObjectStore(O,{keyPath:"id",autoIncrement:!0})},new Promise((function(e,t){n.onerror=function(e){return t(e)},n.onsuccess=function(){e(n.result)}}))}(e).then((function(n){var r={closed:!1,lastCursorId:0,channelName:e,options:t,uuid:h(),eMIs:new b(2*t.idb.ttl),writeBlockPromise:d,messagesCallback:null,readQueuePromises:[],db:n};return n.onclose=function(){r.closed=!0,t.idb.onclose&&t.idb.onclose()},x(r),r}))},close:function(e){e.closed=!0,e.db.close()},onMessage:function(e,t,n){e.messagesCallbackTime=n,e.messagesCallback=t,T(e)},postMessage:function(e,t){return e.writeBlockPromise=e.writeBlockPromise.then((function(){return function(e,t,n){var r={uuid:t,time:(new Date).getTime(),data:n},o=e.transaction([O],"readwrite",k);return new Promise((function(e,t){o.oncomplete=function(){return e()},o.onerror=function(e){return t(e)},o.objectStore(O).add(r),S(o)}))}(e.db,e.uuid,t)})).then((function(){var t,n;0===Math.floor(11*Math.random()+0)&&(t=e.db,n=e.options.idb.ttl,function(e,t){var n=(new Date).getTime()-t,r=e.transaction(O,"readonly",k),o=r.objectStore(O),i=[];return new Promise((function(e){o.openCursor().onsuccess=function(t){var o=t.target.result;if(o){var a=o.value;if(!(a.time<n))return S(r),void e(i);i.push(a),o.continue()}else e(i)}}))}(t,n).then((function(e){return function(e,t){var n=e.transaction([O],"readwrite",k).objectStore(O);return Promise.all(t.map((function(e){var t=n.delete(e);return new Promise((function(e){t.onsuccess=function(){return e()}}))})))}(t,e.map((function(e){return e.id})))})))})),e.writeBlockPromise},canBeUsed:function(){return!!E()},type:"idb",averageResponseTime:function(e){return 2*e.idb.fallbackInterval},microSeconds:g};function C(){var e;if("undefined"==typeof window)return null;try{e=window.localStorage,e=window["ie8-eventlistener/storage"]||window.localStorage}catch(e){}return e}function P(e){return"pubkey.broadcastChannel-"+e}function R(){var e=C();if(!e)return!1;try{var t="__broadcastchannel_check";e.setItem(t,"works"),e.removeItem(t)}catch(e){return!1}return!0}var N={create:function(e,t){if(t=w(t),!R())throw new Error("BroadcastChannel: localstorage cannot be used");var n=h(),r=new b(t.localstorage.removeTimeout),o={channelName:e,uuid:n,eMIs:r};return o.listener=function(e,t){var i=P(e),a=function(e){var t;e.key===i&&(t=JSON.parse(e.newValue),o.messagesCallback&&t.uuid!==n&&t.token&&!r.has(t.token)&&(t.data.time&&t.data.time<o.messagesCallbackTime||(r.add(t.token),o.messagesCallback(t.data))))};return window.addEventListener("storage",a),a}(e),o},close:function(e){var t;t=e.listener,window.removeEventListener("storage",t)},onMessage:function(e,t,n){e.messagesCallbackTime=n,e.messagesCallback=t},postMessage:function(e,t){return new Promise((function(n){p().then((function(){var r=P(e.channelName),o={token:h(),time:(new Date).getTime(),data:t,uuid:e.uuid},i=JSON.stringify(o);C().setItem(r,i);var a=document.createEvent("Event");a.initEvent("storage",!0,!0),a.key=r,a.newValue=i,window.dispatchEvent(a),n()}))}))},canBeUsed:R,type:"localstorage",averageResponseTime:function(){var e=navigator.userAgent.toLowerCase();return e.includes("safari")&&!e.includes("chrome")?240:120},microSeconds:g},I=g,M=new Set,j={create:function(e){var t={name:e,messagesCallback:null};return M.add(t),t},close:function(e){M.delete(e)},onMessage:function(e,t){e.messagesCallback=t},postMessage:function(e,t){return new Promise((function(n){return setTimeout((function(){Array.from(M).filter((function(t){return t.name===e.name})).filter((function(t){return t!==e})).filter((function(e){return!!e.messagesCallback})).forEach((function(e){return e.messagesCallback(t)})),n()}),5)}))},canBeUsed:function(){return!0},type:"simulate",averageResponseTime:function(){return 5},microSeconds:I},L=[y,A,N],D=new Set,F=0,U=function(e,t){var n,r,o;this.id=F++,D.add(this),this.name=e,this.options=w(t),this.method=function(e){var t=[].concat(e.methods,L).filter(Boolean);if(e.type){if("simulate"===e.type)return j;var n=t.find((function(t){return t.type===e.type}));if(n)return n;throw new Error("method-type "+e.type+" not found")}e.webWorkerSupport||(t=t.filter((function(e){return"idb"!==e.type})));var r=t.find((function(e){return e.canBeUsed()}));if(r)return r;throw new Error("No useable method found in "+JSON.stringify(L.map((function(e){return e.type}))))}(this.options),this._iL=!1,this._onML=null,this._addEL={message:[],internal:[]},this._uMP=new Set,this._befC=[],this._prepP=null,(o=r=(n=this).method.create(n.name,n.options))&&"function"==typeof o.then?(n._prepP=r,r.then((function(e){n._state=e}))):n._state=r};function B(e,t,n){var r={time:e.method.microSeconds(),type:t,data:n};return(e._prepP?e._prepP:d).then((function(){var t=e.method.postMessage(e._state,r);return e._uMP.add(t),t.catch().then((function(){return e._uMP.delete(t)})),t}))}function V(e){return e._addEL.message.length>0||e._addEL.internal.length>0}function H(e,t,n){e._addEL[t].push(n),function(e){if(!e._iL&&V(e)){var t=function(t){e._addEL[t.type].forEach((function(e){var n=e.time-1e5;t.time>=n&&e.fn(t.data)}))},n=e.method.microSeconds();e._prepP?e._prepP.then((function(){e._iL=!0,e.method.onMessage(e._state,t,n)})):(e._iL=!0,e.method.onMessage(e._state,t,n))}}(e)}function Z(e,t,n){e._addEL[t]=e._addEL[t].filter((function(e){return e!==n})),function(e){if(e._iL&&!V(e)){e._iL=!1;var t=e.method.microSeconds();e.method.onMessage(e._state,null,t)}}(e)}U._pubkey=!0,U.prototype={postMessage:function(e){if(this.closed)throw new Error("BroadcastChannel.postMessage(): Cannot post message after channel has closed "+JSON.stringify(e));return B(this,"message",e)},postInternal:function(e){return B(this,"internal",e)},set onmessage(e){var t={time:this.method.microSeconds(),fn:e};Z(this,"message",this._onML),e&&"function"==typeof e?(this._onML=t,H(this,"message",t)):this._onML=null},addEventListener:function(e,t){H(this,e,{time:this.method.microSeconds(),fn:t})},removeEventListener:function(e,t){Z(this,e,this._addEL[e].find((function(e){return e.fn===t})))},close:function(){var e=this;if(!this.closed){D.delete(this),this.closed=!0;var t=this._prepP?this._prepP:d;return this._onML=null,this._addEL.message=[],t.then((function(){return Promise.all(Array.from(e._uMP))})).then((function(){return Promise.all(e._befC.map((function(e){return e()})))})).then((function(){return e.method.close(e._state)}))}},get type(){return this.method.type},get isClosed(){return this.closed}};var q=n(5643),W=n.n(q),K={add:function(e){if("function"==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope);else{if("function"!=typeof window.addEventListener)return;window.addEventListener("beforeunload",(function(){e()}),!0),window.addEventListener("unload",(function(){e()}),!0)}}},G=n(199),z=n.n(G),$=W()?z():K,Y=new Set,J=!1;function Q(){var e=[];return Y.forEach((function(t){e.push(t()),Y.delete(t)})),Promise.all(e)}var X=function(e,t){var n=this;this.broadcastChannel=e,this._options=t,this.isLeader=!1,this.hasLeader=!1,this.isDead=!1,this.token=h(),this._aplQ=d,this._aplQC=0,this._unl=[],this._lstns=[],this._dpL=function(){},this._dpLC=!1;var r=function(e){"leader"===e.context&&("death"===e.action&&(n.hasLeader=!1),"tell"===e.action&&(n.hasLeader=!0))};this.broadcastChannel.addEventListener("internal",r),this._lstns.push(r)};function ee(e,t){var n={context:"leader",action:t,token:e.token};return e.broadcastChannel.postInternal(n)}function te(e,t){if(e._leaderElector)throw new Error("BroadcastChannel already has a leader-elector");t=function(e,t){return e||(e={}),(e=JSON.parse(JSON.stringify(e))).fallbackInterval||(e.fallbackInterval=3e3),e.responseTime||(e.responseTime=t.method.averageResponseTime(t.options)),e}(t,e);var n=new X(e,t);return e._befC.push((function(){return n.die()})),e._leaderElector=n,n}X.prototype={applyOnce:function(e){var t=this;if(this.isLeader)return p(0,!0);if(this.isDead)return p(0,!1);if(this._aplQC>1)return this._aplQ;var n=function(){if(t.isLeader)return f;var n,r=!1,o=new Promise((function(e){n=function(){r=!0,e()}})),i=[],a=function(e){"leader"===e.context&&e.token!=t.token&&(i.push(e),"apply"===e.action&&e.token>t.token&&n(),"tell"===e.action&&(n(),t.hasLeader=!0))};t.broadcastChannel.addEventListener("internal",a);var s=e?4*t._options.responseTime:t._options.responseTime;return ee(t,"apply").then((function(){return Promise.race([p(s),o.then((function(){return Promise.reject(new Error)}))])})).then((function(){return ee(t,"apply")})).then((function(){return Promise.race([p(s),o.then((function(){return Promise.reject(new Error)}))])})).catch((function(){})).then((function(){return t.broadcastChannel.removeEventListener("internal",a),!r&&function(e){e.isLeader=!0,e.hasLeader=!0;var t=function(e){if(J||(J=!0,$.add(Q)),"function"!=typeof e)throw new Error("Listener is no function");return Y.add(e),{remove:function(){return Y.delete(e)},run:function(){return Y.delete(e),e()}}}((function(){return e.die()}));e._unl.push(t);var n=function(t){"leader"===t.context&&"apply"===t.action&&ee(e,"tell"),"leader"!==t.context||"tell"!==t.action||e._dpLC||(e._dpLC=!0,e._dpL(),ee(e,"tell"))};return e.broadcastChannel.addEventListener("internal",n),e._lstns.push(n),ee(e,"tell")}(t).then((function(){return!0}))}))};return this._aplQC=this._aplQC+1,this._aplQ=this._aplQ.then((function(){return n()})).then((function(){t._aplQC=t._aplQC-1})),this._aplQ.then((function(){return t.isLeader}))},awaitLeadership:function(){return this._aLP||(this._aLP=(e=this).isLeader?d:new Promise((function(t){var n=!1;function r(){n||(n=!0,e.broadcastChannel.removeEventListener("internal",o),t(!0))}e.applyOnce().then((function(){e.isLeader&&r()})),function t(){return p(e._options.fallbackInterval).then((function(){if(!e.isDead&&!n)return e.isLeader?void r():e.applyOnce(!0).then((function(){e.isLeader?r():t()}))}))}();var o=function(t){"leader"===t.context&&"death"===t.action&&(e.hasLeader=!1,e.applyOnce().then((function(){e.isLeader&&r()})))};e.broadcastChannel.addEventListener("internal",o),e._lstns.push(o)}))),this._aLP;var e},set onduplicate(e){this._dpL=e},die:function(){var e=this;return this._lstns.forEach((function(t){return e.broadcastChannel.removeEventListener("internal",t)})),this._lstns=[],this._unl.forEach((function(e){return e.remove()})),this._unl=[],this.isLeader&&(this.hasLeader=!1,this.isLeader=!1),this.isDead=!0,ee(this,"death")}};var ne=n(415),re=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,a.Z)(this,e),(0,l.Z)(this,"options",void 0),(0,l.Z)(this,"channel",void 0),(0,l.Z)(this,"elector",void 0),(0,l.Z)(this,"started",!1),this.options=t,this.onLeaderDuplicate=this.onLeaderDuplicate.bind(this),this.onLeader=this.onLeader.bind(this)}var t,n,r;return(0,s.Z)(e,[{key:"onLeaderDuplicate",value:function(){}},{key:"onLeader",value:(r=(0,i.Z)(c().mark((function e(){var t,n;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,null===(t=(n=this.options).onLeader)||void 0===t?void 0:t.call(n);case 2:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"isLeader",value:function(){var e;return!(null===(e=this.elector)||void 0===e||!e.isLeader)}},{key:"hasLeader",value:function(){var e;return!(null===(e=this.elector)||void 0===e||!e.hasLeader)}},{key:"start",value:(n=(0,i.Z)(c().mark((function e(){var t;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.stop();case 2:this.canStart()&&(t=this.options.electionChannelName,this.channel=new U(t),this.elector=te(this.channel),this.elector.onduplicate=this.onLeaderDuplicate,this.elector.awaitLeadership().then(this.onLeader),this.started=!0);case 3:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"stop",value:(t=(0,i.Z)(c().mark((function e(){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.started){e.next=11;break}if(!this.elector){e.next=5;break}return e.next=4,this.elector.die();case 4:this.elector=void 0;case 5:if(!this.channel){e.next=10;break}return this.channel.postInternal=function(){return Promise.resolve()},e.next=9,this.channel.close();case 9:this.channel=void 0;case 10:this.started=!1;case 11:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"requiresLeadership",value:function(){return!1}},{key:"isStarted",value:function(){return this.started}},{key:"canStart",value:function(){return(0,ne.isBrowser)()}}]),e}(),oe=n(9123),ie=n(7088),ae=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,a.Z)(this,e),(0,l.Z)(this,"tokenManager",void 0),(0,l.Z)(this,"options",void 0),(0,l.Z)(this,"renewTimeQueue",void 0),(0,l.Z)(this,"started",!1),this.tokenManager=t,this.options=n,this.renewTimeQueue=[],this.onTokenExpiredHandler=this.onTokenExpiredHandler.bind(this)}var t,n;return(0,s.Z)(e,[{key:"shouldThrottleRenew",value:function(){var e=!1;if(this.renewTimeQueue.push(Date.now()),this.renewTimeQueue.length>=10){var t=this.renewTimeQueue.shift();e=this.renewTimeQueue[this.renewTimeQueue.length-1]-t<3e4}return e}},{key:"requiresLeadership",value:function(){return!!this.options.syncStorage&&(0,ne.isBrowser)()}},{key:"onTokenExpiredHandler",value:function(e){if(this.options.autoRenew)if(this.shouldThrottleRenew()){var t=new oe.Z("Too many token renew requests");this.tokenManager.emitError(t)}else this.tokenManager.renew(e).catch((function(){}));else this.options.autoRemove&&this.tokenManager.remove(e)}},{key:"canStart",value:function(){return!!this.options.autoRenew||!!this.options.autoRemove}},{key:"start",value:(n=(0,i.Z)(c().mark((function e(){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.canStart()){e.next=5;break}return e.next=3,this.stop();case 3:this.tokenManager.on(ie.$Y,this.onTokenExpiredHandler),this.started=!0;case 5:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"stop",value:(t=(0,i.Z)(c().mark((function e(){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.started&&(this.tokenManager.off(ie.$Y,this.onTokenExpiredHandler),this.renewTimeQueue=[],this.started=!1);case 1:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"isStarted",value:function(){return this.started}}]),e}(),se=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,a.Z)(this,e),(0,l.Z)(this,"tokenManager",void 0),(0,l.Z)(this,"options",void 0),(0,l.Z)(this,"channel",void 0),(0,l.Z)(this,"started",!1),(0,l.Z)(this,"enablePostMessage",!0),this.tokenManager=t,this.options=n,this.onTokenAddedHandler=this.onTokenAddedHandler.bind(this),this.onTokenRemovedHandler=this.onTokenRemovedHandler.bind(this),this.onTokenRenewedHandler=this.onTokenRenewedHandler.bind(this),this.onSetStorageHandler=this.onSetStorageHandler.bind(this),this.onSyncMessageHandler=this.onSyncMessageHandler.bind(this)}var t,n;return(0,s.Z)(e,[{key:"requiresLeadership",value:function(){return!1}},{key:"isStarted",value:function(){return this.started}},{key:"canStart",value:function(){return!!this.options.syncStorage&&(0,ne.isBrowser)()}},{key:"start",value:(n=(0,i.Z)(c().mark((function e(){var t;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.canStart()){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,this.stop();case 4:t=this.options.syncChannelName,e.prev=5,this.channel=new U(t),e.next=12;break;case 9:throw e.prev=9,e.t0=e.catch(5),new oe.Z("SyncStorageService is not supported in current browser.");case 12:this.tokenManager.on(ie.O3,this.onTokenAddedHandler),this.tokenManager.on(ie.FT,this.onTokenRemovedHandler),this.tokenManager.on(ie.E,this.onTokenRenewedHandler),this.tokenManager.on(ie.zr,this.onSetStorageHandler),this.channel.addEventListener("message",this.onSyncMessageHandler),this.started=!0;case 18:case"end":return e.stop()}}),e,this,[[5,9]])}))),function(){return n.apply(this,arguments)})},{key:"stop",value:(t=(0,i.Z)(c().mark((function e(){var t,n;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.started){e.next=10;break}return this.tokenManager.off(ie.O3,this.onTokenAddedHandler),this.tokenManager.off(ie.FT,this.onTokenRemovedHandler),this.tokenManager.off(ie.E,this.onTokenRenewedHandler),this.tokenManager.off(ie.zr,this.onSetStorageHandler),null===(t=this.channel)||void 0===t||t.removeEventListener("message",this.onSyncMessageHandler),e.next=8,null===(n=this.channel)||void 0===n?void 0:n.close();case 8:this.channel=void 0,this.started=!1;case 10:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"onTokenAddedHandler",value:function(e,t){var n;this.enablePostMessage&&(null===(n=this.channel)||void 0===n||n.postMessage({type:ie.O3,key:e,token:t}))}},{key:"onTokenRemovedHandler",value:function(e,t){var n;this.enablePostMessage&&(null===(n=this.channel)||void 0===n||n.postMessage({type:ie.FT,key:e,token:t}))}},{key:"onTokenRenewedHandler",value:function(e,t,n){var r;this.enablePostMessage&&(null===(r=this.channel)||void 0===r||r.postMessage({type:ie.E,key:e,token:t,oldToken:n}))}},{key:"onSetStorageHandler",value:function(e){var t;null===(t=this.channel)||void 0===t||t.postMessage({type:ie.zr,storage:e})}},{key:"onSyncMessageHandler",value:function(e){switch(this.enablePostMessage=!1,e.type){case ie.zr:this.tokenManager.getStorage().setStorage(e.storage);break;case ie.O3:this.tokenManager.emitAdded(e.key,e.token),this.tokenManager.setExpireEventTimeout(e.key,e.token);break;case ie.FT:this.tokenManager.clearExpireEventTimeout(e.key),this.tokenManager.emitRemoved(e.key,e.token);break;case ie.E:this.tokenManager.emitRenewed(e.key,e.token,e.oldToken)}this.enablePostMessage=!0}}]),e}(),le=n(3193);function ue(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 ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ue(Object(n),!0).forEach((function(t){(0,l.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ue(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fe(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return de(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?de(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function de(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var pe="autoRenew",he="syncStorage",me="leaderElection",ve=function(){function e(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,a.Z)(this,e),(0,l.Z)(this,"sdk",void 0),(0,l.Z)(this,"options",void 0),(0,l.Z)(this,"services",void 0),(0,l.Z)(this,"started",void 0),this.sdk=t,this.onLeader=this.onLeader.bind(this);var o=t.tokenManager.getOptions(),i=o.autoRenew,s=o.autoRemove,u=o.syncStorage;r.electionChannelName=r.electionChannelName||r.broadcastChannelName,this.options=Object.assign({},e.defaultOptions,{autoRenew:i,autoRemove:s,syncStorage:u},{electionChannelName:"".concat(t.options.clientId,"-election"),syncChannelName:"".concat(t.options.clientId,"-sync")},(0,le.YY)(r)),this.started=!1,this.services=new Map,e.knownServices.forEach((function(e){var t=n.createService(e);t&&n.services.set(e,t)}))}var t,n,u,f,d;return(0,s.Z)(e,[{key:"onLeader",value:(d=(0,i.Z)(c().mark((function e(){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.started){e.next=3;break}return e.next=3,this.startServices();case 3:case"end":return e.stop()}}),e,this)}))),function(){return d.apply(this,arguments)})},{key:"isLeader",value:function(){var e;return null===(e=this.getService(me))||void 0===e?void 0:e.isLeader()}},{key:"isLeaderRequired",value:function(){return(0,o.Z)(this.services.values()).some((function(e){return e.canStart()&&e.requiresLeadership()}))}},{key:"start",value:(f=(0,i.Z)(c().mark((function e(){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.started){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,this.startServices();case 4:this.started=!0;case 5:case"end":return e.stop()}}),e,this)}))),function(){return f.apply(this,arguments)})},{key:"stop",value:(u=(0,i.Z)(c().mark((function e(){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.stopServices();case 2:this.started=!1;case 3:case"end":return e.stop()}}),e,this)}))),function(){return u.apply(this,arguments)})},{key:"getService",value:function(e){return this.services.get(e)}},{key:"startServices",value:(n=(0,i.Z)(c().mark((function e(){var t,n,o,i,a;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=fe(this.services.entries()),e.prev=1,t.s();case 3:if((n=t.n()).done){e.next=10;break}if(o=(0,r.Z)(n.value,2),i=o[0],a=o[1],!this.canStartService(i,a)){e.next=8;break}return e.next=8,a.start();case 8:e.next=3;break;case 10:e.next=15;break;case 12:e.prev=12,e.t0=e.catch(1),t.e(e.t0);case 15:return e.prev=15,t.f(),e.finish(15);case 18:case"end":return e.stop()}}),e,this,[[1,12,15,18]])}))),function(){return n.apply(this,arguments)})},{key:"stopServices",value:(t=(0,i.Z)(c().mark((function e(){var t,n,r;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=fe(this.services.values()),e.prev=1,t.s();case 3:if((n=t.n()).done){e.next=9;break}return r=n.value,e.next=7,r.stop();case 7:e.next=3;break;case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),t.e(e.t0);case 14:return e.prev=14,t.f(),e.finish(14);case 17:case"end":return e.stop()}}),e,this,[[1,11,14,17]])}))),function(){return t.apply(this,arguments)})},{key:"canStartService",value:function(e,t){var n=t.canStart()&&!t.isStarted();return e===me?n&&(n=this.isLeaderRequired()):t.requiresLeadership()&&n&&(n=this.isLeader()),n}},{key:"createService",value:function(e){var t,n=this.sdk.tokenManager;switch(e){case me:t=new re(ce(ce({},this.options),{},{onLeader:this.onLeader}));break;case pe:t=new ae(n,ce({},this.options));break;case he:t=new se(n,ce({},this.options));break;default:throw new Error("Unknown service ".concat(e))}return t}}]),e}();(0,l.Z)(ve,"knownServices",[pe,he,me]),(0,l.Z)(ve,"defaultOptions",{autoRenew:!0,autoRemove:!0,syncStorage:!0})},6599:function(e,t,n){"use strict";n.d(t,{W:function(){return r.W}});var r=n(2397)},1578:function(e,t,n){"use strict";n.d(t,{K:function(){return u}});var r=n(9893),o=n(265),i=n(279),a=n(2724),s=n(8386),l=n(3980);function u(e,t,n){var u=(0,r.a)(t),c=(0,o.H)(u,e),f=(0,i.A)(c),d=(0,l.Z)(f),p=(0,a.J)(d,n);return(0,s.i)(p)}},3961:function(e,t,n){"use strict";n.r(t),n.d(t,{AuthStateManager:function(){return r.E},INITIAL_AUTH_STATE:function(){return r.a},createCoreOptionsConstructor:function(){return o.n},createOktaAuthCore:function(){return i.K},mixinCore:function(){return a.i},createCoreStorageManager:function(){return s.a},ServiceManager:function(){return f.W}});var r=n(1018),o=n(9133),i=n(1578),a=n(8386),s=n(2647),l=n(8553),u={};for(var c in l)["default","AuthStateManager","INITIAL_AUTH_STATE","createCoreOptionsConstructor","createOktaAuthCore","mixinCore","createCoreStorageManager"].indexOf(c)<0&&(u[c]=function(e){return l[e]}.bind(0,c));n.d(t,u);var f=n(6599)},8386:function(e,t,n){"use strict";n.d(t,{i:function(){return v}});var r=n(5861),o=n(5671),i=n(3144),a=n(7326),s=n(136),l=n(2963),u=n(1120),c=n(4942),f=n(7757),d=n.n(f),p=n(5372),h=n(1018),m=n(2397);function v(e){return function(e){(0,s.Z)(b,e);var t,n,f,v,g,y=(v=b,g=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=(0,u.Z)(v);if(g){var n=(0,u.Z)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,l.Z)(this,e)});function b(){var e;(0,o.Z)(this,b);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e=y.call.apply(y,[this].concat(n)),(0,c.Z)((0,a.Z)(e),"authStateManager",void 0),(0,c.Z)((0,a.Z)(e),"serviceManager",void 0),e.authStateManager=new h.E((0,a.Z)(e)),e.serviceManager=new m.W((0,a.Z)(e),e.options.services),e}return(0,i.Z)(b,[{key:"start",value:(f=(0,r.Z)(d().mark((function e(){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.serviceManager.start();case 2:if(this.tokenManager.start(),this.token.isLoginRedirect()){e.next=6;break}return e.next=6,this.authStateManager.updateAuthState();case 6:case"end":return e.stop()}}),e,this)}))),function(){return f.apply(this,arguments)})},{key:"stop",value:(n=(0,r.Z)(d().mark((function e(){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.tokenManager.stop(),e.next=3,this.serviceManager.stop();case 3:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"handleLoginRedirect",value:(t=(0,r.Z)(d().mark((function e(t,n){var r,o,i;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this.options.state,!t){e.next=6;break}this.tokenManager.setTokens(t),n=n||this.getOriginalUri(this.options.state),e.next=25;break;case 6:if(!this.isLoginRedirect()){e.next=24;break}return e.prev=7,e.next=10,(0,p.Tp)(this,{});case 10:return o=e.sent,r=o.state,n=n||this.getOriginalUri(r),e.next=15,this.storeTokensFromRedirect();case 15:e.next=22;break;case 17:return e.prev=17,e.t0=e.catch(7),e.next=21,this.authStateManager.updateAuthState();case 21:throw e.t0;case 22:e.next=25;break;case 24:return e.abrupt("return");case 25:return e.next=27,this.authStateManager.updateAuthState();case 27:if(this.removeOriginalUri(r),!(i=this.options.restoreOriginalUri)){e.next=34;break}return e.next=32,i(this,n);case 32:e.next=35;break;case 34:n&&window.location.replace(n);case 35:case"end":return e.stop()}}),e,this,[[7,17]])}))),function(e,n){return t.apply(this,arguments)})}]),b}(e)}},9133:function(e,t,n){"use strict";n.d(t,{n:function(){return c}});var r=n(5671),o=n(7326),i=n(136),a=n(2963),s=n(1120),l=n(4942),u=n(9453);function c(){return function(e){(0,i.Z)(c,e);var t,n,u=(t=c,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var o=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function c(e){var t;return(0,r.Z)(this,c),t=u.call(this,e),(0,l.Z)((0,o.Z)(t),"services",void 0),(0,l.Z)((0,o.Z)(t),"transformAuthState",void 0),t.services=e.services,t.transformAuthState=e.transformAuthState,t}return c}((0,u.m)())}},2647:function(e,t,n){"use strict";n.d(t,{a:function(){return o}});var r=n(2333);function o(){return(0,r.a)()}},5675:function(){},8553:function(e,t,n){"use strict";n.r(t);var r=n(5675),o={};for(var i in r)"default"!==i&&(o[i]=function(e){return r[e]}.bind(0,i));n.d(t,o)},7987:function(e,t,n){"use strict";n.d(t,{NL:function(){return i},aR:function(){return a},Df:function(){return s},Wy:function(){return l},k8:function(){return u},EL:function(){return c},dX:function(){return f},kQ:function(){return d}});var r=n(9123),o=n(7594);function i(e){return a((0,o.r3)(e))}function a(e){return e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function s(e){return e.replace(/-/g,"+").replace(/_/g,"/")}function l(e){var t=s(e);switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new r.Z("Not a valid Base64Url")}var n=(0,o.ty)(t);try{return decodeURIComponent(escape(n))}catch(e){return n}}function u(e){for(var t=new Uint8Array(e.length),n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}function c(e){return(0,o.ty)(s(e))}function f(e){return Uint8Array.from(c(e),(function(e){return e.charCodeAt(0)}))}function d(e){return(0,o.r3)(new Uint8Array(e).reduce((function(e,t){return e+String.fromCharCode(t)}),""))}},7594:function(e,t,n){"use strict";n.d(t,{ty:function(){return r},r3:function(){return o},KP:function(){return i}});var r=function(e){return atob(e)},o=function(e){return btoa(e)},i="undefined"==typeof crypto?null:crypto},9718:function(e,t,n){"use strict";n.r(t),n.d(t,{base64ToBase64Url:function(){return r.aR},base64UrlDecode:function(){return r.EL},base64UrlToBase64:function(){return r.Df},base64UrlToBuffer:function(){return r.dX},base64UrlToString:function(){return r.Wy},bufferToBase64Url:function(){return r.kQ},stringToBase64Url:function(){return r.NL},stringToBuffer:function(){return r.k8},getOidcHash:function(){return o.X},verifyToken:function(){return l.W},atob:function(){return u.ty},btoa:function(){return u.r3},webcrypto:function(){return u.KP}});var r=n(7987),o=n(5698),i=n(6332),a={};for(var s in i)["default","base64ToBase64Url","base64UrlDecode","base64UrlToBase64","base64UrlToBuffer","base64UrlToString","bufferToBase64Url","stringToBase64Url","stringToBuffer","getOidcHash"].indexOf(s)<0&&(a[s]=function(e){return i[e]}.bind(0,s));n.d(t,a);var l=n(3154),u=n(1)},5698:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});var r=n(7987),o=n(7594);function i(e){var t=(new TextEncoder).encode(e);return o.KP.subtle.digest("SHA-256",t).then((function(e){var t=new Uint8Array(e).slice(0,16),n=String.fromCharCode.apply(null,t);return(0,r.NL)(n)}))}},6332:function(){},3154:function(e,t,n){"use strict";n.d(t,{W:function(){return a}});var r=n(3193),o=n(7987),i=n(7594);function a(e,t){t=(0,r.d9)(t);var n={name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}};return delete t.use,i.KP.subtle.importKey("jwk",t,n,!0,["verify"]).then((function(t){var r=e.split("."),a=(0,o.k8)(r[0]+"."+r[1]),s=(0,o.EL)(r[2]),l=(0,o.k8)(s);return i.KP.subtle.verify(n,t,l,a)}))}},1:function(e,t,n){"use strict";n.d(t,{ty:function(){return r.ty},r3:function(){return r.r3},KP:function(){return r.KP}});var r=n(7594)},3983:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(5671),o=n(7326),i=n(136),a=n(2963),s=n(1120),l=n(4942),u=function(e){(0,i.Z)(c,e);var t,n,u=(t=c,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var o=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function c(e,t,n){var i;(0,r.Z)(this,c);var a=e.errorSummary;return i=u.call(this,a),(0,l.Z)((0,o.Z)(i),"errorSummary",void 0),(0,l.Z)((0,o.Z)(i),"errorCode",void 0),(0,l.Z)((0,o.Z)(i),"errorLink",void 0),(0,l.Z)((0,o.Z)(i),"errorId",void 0),(0,l.Z)((0,o.Z)(i),"errorCauses",void 0),(0,l.Z)((0,o.Z)(i),"xhr",void 0),(0,l.Z)((0,o.Z)(i),"meta",void 0),i.name="AuthApiError",i.errorSummary=e.errorSummary,i.errorCode=e.errorCode,i.errorLink=e.errorLink,i.errorId=e.errorId,i.errorCauses=e.errorCauses,t&&(i.xhr=t),n&&(i.meta=n),i}return c}(n(6245).Z)},6573:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(5671),o=n(136),i=n(2963),a=n(1120),s=function(e){(0,o.Z)(l,e);var t,n,s=(t=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,a.Z)(t);if(n){var o=(0,a.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,i.Z)(this,e)});function l(){return(0,r.Z)(this,l),s.call(this,"The poll was stopped by the sdk")}return l}(n(6245).Z)},9123:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(5671),o=n(7326),i=n(136),a=n(2963),s=n(1120),l=n(4942),u=function(e){(0,i.Z)(c,e);var t,n,u=(t=c,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var o=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function c(e,t){var n;return(0,r.Z)(this,c),n=u.call(this,e),(0,l.Z)((0,o.Z)(n),"errorSummary",void 0),(0,l.Z)((0,o.Z)(n),"errorCode",void 0),(0,l.Z)((0,o.Z)(n),"errorLink",void 0),(0,l.Z)((0,o.Z)(n),"errorId",void 0),(0,l.Z)((0,o.Z)(n),"errorCauses",void 0),(0,l.Z)((0,o.Z)(n),"xhr",void 0),n.name="AuthSdkError",n.errorCode="INTERNAL",n.errorSummary=e,n.errorLink="INTERNAL",n.errorId="INTERNAL",n.errorCauses=[],t&&(n.xhr=t),n}return c}(n(6245).Z)},6245:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(5671),o=n(7326),i=n(136),a=n(2963),s=n(1120),l=n(9611);function u(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function c(e,t,n){return c=u()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&(0,l.Z)(o,n.prototype),o},c.apply(null,arguments)}function f(e){var t="function"==typeof Map?new Map:void 0;return f=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return c(e,arguments,(0,s.Z)(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),(0,l.Z)(r,e)},f(e)}var d=function(e){(0,i.Z)(u,e);var t,n,l=(t=u,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var o=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function u(e){var t;return(0,r.Z)(this,u),t=l.call(this,e),Object.setPrototypeOf((0,o.Z)(t),(this instanceof u?this.constructor:void 0).prototype),t}return u}(f(Error))},2886:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(5671),o=n(7326),i=n(136),a=n(2963),s=n(1120),l=n(4942),u=function(e){(0,i.Z)(c,e);var t,n,u=(t=c,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var o=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function c(e,t){var n;return(0,r.Z)(this,c),n=u.call(this,t),(0,l.Z)((0,o.Z)(n),"errorCode",void 0),(0,l.Z)((0,o.Z)(n),"errorSummary",void 0),(0,l.Z)((0,o.Z)(n),"error",void 0),(0,l.Z)((0,o.Z)(n),"error_description",void 0),n.name="OAuthError",n.errorCode=e,n.errorSummary=t,n.error=e,n.error_description=t,n}return c}(n(6245).Z)},5728:function(e,t,n){"use strict";n.r(t),n.d(t,{isAuthApiError:function(){return c},isOAuthError:function(){return f},AuthApiError:function(){return r.Z},AuthPollStopError:function(){return o.Z},AuthSdkError:function(){return i.Z},OAuthError:function(){return a.Z}});var r=n(3983),o=n(6573),i=n(9123),a=n(2886),s=n(1243),l={};for(var u in s)["default","isAuthApiError","isOAuthError","AuthApiError","AuthPollStopError","AuthSdkError","OAuthError"].indexOf(u)<0&&(l[u]=function(e){return s[e]}.bind(0,u));function c(e){return e instanceof r.Z}function f(e){return e instanceof a.Z}n.d(t,l)},1243:function(){},6736:function(e,t,n){"use strict";n.r(t),n.d(t,{crypto:function(){return r},createBaseOptionsConstructor:function(){return o.X},createOktaAuthBase:function(){return o.a},ACCESS_TOKEN_STORAGE_KEY:function(){return i.ACCESS_TOKEN_STORAGE_KEY},CACHE_STORAGE_NAME:function(){return i.CACHE_STORAGE_NAME},DEFAULT_CACHE_DURATION:function(){return i.DEFAULT_CACHE_DURATION},DEFAULT_CODE_CHALLENGE_METHOD:function(){return i.DEFAULT_CODE_CHALLENGE_METHOD},DEFAULT_MAX_CLOCK_SKEW:function(){return i.DEFAULT_MAX_CLOCK_SKEW},DEFAULT_POLLING_DELAY:function(){return i.DEFAULT_POLLING_DELAY},IDX_API_VERSION:function(){return i.IDX_API_VERSION},IDX_RESPONSE_STORAGE_NAME:function(){return i.IDX_RESPONSE_STORAGE_NAME},ID_TOKEN_STORAGE_KEY:function(){return i.ID_TOKEN_STORAGE_KEY},MAX_VERIFIER_LENGTH:function(){return i.MAX_VERIFIER_LENGTH},MIN_VERIFIER_LENGTH:function(){return i.MIN_VERIFIER_LENGTH},ORIGINAL_URI_STORAGE_NAME:function(){return i.ORIGINAL_URI_STORAGE_NAME},PKCE_STORAGE_NAME:function(){return i.PKCE_STORAGE_NAME},REFERRER_PATH_STORAGE_KEY:function(){return i.REFERRER_PATH_STORAGE_KEY},REFRESH_TOKEN_STORAGE_KEY:function(){return i.REFRESH_TOKEN_STORAGE_KEY},SHARED_TRANSACTION_STORAGE_NAME:function(){return i.SHARED_TRANSACTION_STORAGE_NAME},STATE_TOKEN_KEY_NAME:function(){return i.STATE_TOKEN_KEY_NAME},TOKEN_STORAGE_NAME:function(){return i.TOKEN_STORAGE_NAME},TRANSACTION_STORAGE_NAME:function(){return i.TRANSACTION_STORAGE_NAME},OktaUserAgent:function(){return c.ed},createHttpOptionsConstructor:function(){return c.ZM},get:function(){return c.U2},httpRequest:function(){return c.c3},mixinHttp:function(){return c.Am},post:function(){return c.v_},setRequestHeader:function(){return c.rn},closeSession:function(){return d.RJ},createSessionApi:function(){return d.MG},getSession:function(){return d.Gg},mixinSession:function(){return d.Zg},refreshSession:function(){return d.dx},sessionExists:function(){return d.sH},setCookieAndRedirect:function(){return d.OT},BaseStorageManager:function(){return p.W8},SavedObject:function(){return p._e},createStorageOptionsConstructor:function(){return p.Tp},logServerSideMemoryStorageWarning:function(){return p.Vp},mixinStorage:function(){return p.Ho},PromiseQueue:function(){return h.bo},bind:function(){return h.ak},clone:function(){return h.d9},delay:function(){return h.gw},deprecate:function(){return h.Rn},deprecateWrap:function(){return h.VA},extend:function(){return h.l7},find:function(){return h.sE},genRandomString:function(){return h.uh},getConsole:function(){return h.dr},getLink:function(){return h.Rg},getNativeConsole:function(){return h.sW},isAbsoluteUrl:function(){return h.sD},isFunction:function(){return h.mf},isNumber:function(){return h.hj},isObject:function(){return h.Kn},isPromise:function(){return h.tI},isString:function(){return h.HD},isoToUTCString:function(){return h.ng},omit:function(){return h.CE},removeNils:function(){return h.YY},removeTrailingSlash:function(){return h.Qj},split2:function(){return h.YQ},toAbsoluteUrl:function(){return h.BY},toQueryString:function(){return h.UK},toRelativeUrl:function(){return h.QN},warn:function(){return h.ZK}});var r=n(9718),o=n(3306),i=n(1971),a=n(3961),s={};for(var l in a)["default","crypto","createBaseOptionsConstructor","createOktaAuthBase","ACCESS_TOKEN_STORAGE_KEY","CACHE_STORAGE_NAME","DEFAULT_CACHE_DURATION","DEFAULT_CODE_CHALLENGE_METHOD","DEFAULT_MAX_CLOCK_SKEW","DEFAULT_POLLING_DELAY","IDX_API_VERSION","IDX_RESPONSE_STORAGE_NAME","ID_TOKEN_STORAGE_KEY","MAX_VERIFIER_LENGTH","MIN_VERIFIER_LENGTH","ORIGINAL_URI_STORAGE_NAME","PKCE_STORAGE_NAME","REFERRER_PATH_STORAGE_KEY","REFRESH_TOKEN_STORAGE_KEY","SHARED_TRANSACTION_STORAGE_NAME","STATE_TOKEN_KEY_NAME","TOKEN_STORAGE_NAME","TRANSACTION_STORAGE_NAME"].indexOf(l)<0&&(s[l]=function(e){return a[e]}.bind(0,l));n.d(t,s);var u=n(5728);for(var l in s={},u)["default","crypto","createBaseOptionsConstructor","createOktaAuthBase","ACCESS_TOKEN_STORAGE_KEY","CACHE_STORAGE_NAME","DEFAULT_CACHE_DURATION","DEFAULT_CODE_CHALLENGE_METHOD","DEFAULT_MAX_CLOCK_SKEW","DEFAULT_POLLING_DELAY","IDX_API_VERSION","IDX_RESPONSE_STORAGE_NAME","ID_TOKEN_STORAGE_KEY","MAX_VERIFIER_LENGTH","MIN_VERIFIER_LENGTH","ORIGINAL_URI_STORAGE_NAME","PKCE_STORAGE_NAME","REFERRER_PATH_STORAGE_KEY","REFRESH_TOKEN_STORAGE_KEY","SHARED_TRANSACTION_STORAGE_NAME","STATE_TOKEN_KEY_NAME","TOKEN_STORAGE_NAME","TRANSACTION_STORAGE_NAME","AuthStateManager","INITIAL_AUTH_STATE","ServiceManager","createCoreOptionsConstructor","createCoreStorageManager","createOktaAuthCore","mixinCore"].indexOf(l)<0&&(s[l]=function(e){return u[e]}.bind(0,l));n.d(t,s);var c=n(4777),f=n(9443);for(var l in s={},f)["default","crypto","createBaseOptionsConstructor","createOktaAuthBase","ACCESS_TOKEN_STORAGE_KEY","CACHE_STORAGE_NAME","DEFAULT_CACHE_DURATION","DEFAULT_CODE_CHALLENGE_METHOD","DEFAULT_MAX_CLOCK_SKEW","DEFAULT_POLLING_DELAY","IDX_API_VERSION","IDX_RESPONSE_STORAGE_NAME","ID_TOKEN_STORAGE_KEY","MAX_VERIFIER_LENGTH","MIN_VERIFIER_LENGTH","ORIGINAL_URI_STORAGE_NAME","PKCE_STORAGE_NAME","REFERRER_PATH_STORAGE_KEY","REFRESH_TOKEN_STORAGE_KEY","SHARED_TRANSACTION_STORAGE_NAME","STATE_TOKEN_KEY_NAME","TOKEN_STORAGE_NAME","TRANSACTION_STORAGE_NAME","AuthStateManager","INITIAL_AUTH_STATE","ServiceManager","createCoreOptionsConstructor","createCoreStorageManager","createOktaAuthCore","mixinCore","AuthApiError","AuthPollStopError","AuthSdkError","OAuthError","isAuthApiError","isOAuthError","OktaUserAgent","createHttpOptionsConstructor","get","httpRequest","mixinHttp","post","setRequestHeader"].indexOf(l)<0&&(s[l]=function(e){return f[e]}.bind(0,l));n.d(t,s);var d=n(8041),p=n(9927),h=n(305)},415:function(e,t,n){"use strict";n.r(t),n.d(t,{isBrowser:function(){return i},isIE11OrLess:function(){return a},getUserAgent:function(){return s},isFingerprintSupported:function(){return l},isPopupPostMessageSupported:function(){return u},isTokenVerifySupported:function(){return c},hasTextEncoder:function(){return f},isPKCESupported:function(){return d},isHTTPS:function(){return p},isLocalhost:function(){return h}});var r=n(7594),o=/windows phone|iemobile|wpdesktop/i;function i(){return"undefined"!=typeof document&&"undefined"!=typeof window}function a(){if(!i())return!1;var e=document.documentMode;return!!e&&e<=11}function s(){return navigator.userAgent}function l(){var e=s();return e&&!o.test(e)}function u(){if(!i())return!1;var e=document.documentMode,t=e&&e<10;return void 0!==window.postMessage&&!t}function c(){return void 0!==r.KP&&null!==r.KP&&void 0!==r.KP.subtle&&"undefined"!=typeof Uint8Array}function f(){return"undefined"!=typeof TextEncoder}function d(){return c()&&f()}function p(){return!!i()&&"https:"===window.location.protocol}function h(){return i()&&"localhost"===window.location.hostname}},287:function(e,t,n){"use strict";n.d(t,{e:function(){return s}});var r=n(5671),o=n(3144),i=n(4942),a=n(415),s=function(){function e(){(0,r.Z)(this,e),(0,i.Z)(this,"environments",void 0),this.environments=["okta-auth-js/".concat("7.0.1")]}return(0,o.Z)(e,[{key:"addEnvironment",value:function(e){this.environments.push(e)}},{key:"getHttpHeader",value:function(){return this.maybeAddNodeEnvironment(),{"X-Okta-User-Agent-Extended":this.environments.join(" ")}}},{key:"getVersion",value:function(){return"7.0.1"}},{key:"maybeAddNodeEnvironment",value:function(){if(!(0,a.isBrowser)()&&process&&process.versions){var e=process.versions.node;this.environments.push("nodejs/".concat(e))}}}]),e}()},2281:function(e,t,n){"use strict";function r(e,t,n){e.options.headers=e.options.headers||{},e.options.headers[t]=n}n.d(t,{r:function(){return r}})},4777:function(e,t,n){"use strict";n.d(t,{rn:function(){return r.r},ed:function(){return o.e},U2:function(){return i.U2},c3:function(){return i.c3},v_:function(){return i.v_},Am:function(){return a.A},ZM:function(){return s.Z}});var r=n(2281),o=n(287),i=n(5385),a=n(279),s=n(8817)},279:function(e,t,n){"use strict";n.d(t,{A:function(){return h}});var r=n(5671),o=n(3144),i=n(7326),a=n(136),s=n(2963),l=n(1120),u=n(4942),c=n(287),f=n(2281),d=n(6718),p=n(5385);function h(e){return function(e){(0,a.Z)(m,e);var t,n,h=(t=m,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,l.Z)(t);if(n){var o=(0,l.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,s.Z)(this,e)});function m(){var e;(0,r.Z)(this,m);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return e=h.call.apply(h,[this].concat(n)),(0,u.Z)((0,i.Z)(e),"_oktaUserAgent",void 0),(0,u.Z)((0,i.Z)(e),"http",void 0),e._oktaUserAgent=new c.e,e.http={setRequestHeader:f.r.bind(null,(0,i.Z)(e))},e}return(0,o.Z)(m,[{key:"setHeaders",value:function(e){this.options.headers=Object.assign({},this.options.headers,e)}},{key:"getIssuerOrigin",value:function(){return this.options.issuer.split("/oauth2/")[0]}},{key:"webfinger",value:function(e){var t="/.well-known/webfinger"+(0,d.UK)(e);return(0,p.U2)(this,t,{headers:{Accept:"application/jrd+json"}})}}]),m}(e)}},8817:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(5671),o=n(7326),i=n(136),a=n(2963),s=n(1120),l=n(4942),u=n(3849),c=n(885),f=n(1002),d=n(4098),p=n.n(d);function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var m=/application\/\w*\+?json/,v=function(e,t,r){var o=r.data,i=r.headers||{},a=i["Content-Type"]||i["content-type"]||"";o&&"string"!=typeof o&&(m.test(a)?o=JSON.stringify(o):"application/x-www-form-urlencoded"===a&&(o=Object.entries(o).map((function(e){var t=(0,c.Z)(e,2),n=t[0],r=t[1];return"".concat(n,"=").concat(encodeURIComponent(r))})).join("&")));var s=(n.g.fetch||p())(t,{method:e,headers:r.headers,body:o,credentials:r.withCredentials?"include":"omit"});return s.finally||(s=Promise.resolve(s)),s.then((function(e){var t=!e.ok,n=e.status;return function(e){return e.headers.get("Content-Type")&&e.headers.get("Content-Type").toLowerCase().indexOf("application/json")>=0?e.json().catch((function(e){return{error:e,errorSummary:"Could not parse server response"}})):e.text()}(e).then((function(t){return function(e,t,n){var r,o="object"===(0,f.Z)(t),i={},a=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(n.headers.entries());try{for(a.s();!(r=a.n()).done;){var s=r.value;i[s[0]]=s[1]}}catch(e){a.e(e)}finally{a.f()}var l={responseText:o?JSON.stringify(t):t,status:e,headers:i};return o&&(l.responseType="json",l.responseJSON=t),l}(n,t,e)})).then((function(e){var n;if(t||null!==(n=e.responseJSON)&&void 0!==n&&n.error)throw e;return e}))}))};function g(){return function(e){(0,i.Z)(c,e);var t,n,u=(t=c,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var o=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function c(e){var t;return(0,r.Z)(this,c),t=u.call(this,e),(0,l.Z)((0,o.Z)(t),"issuer",void 0),(0,l.Z)((0,o.Z)(t),"transformErrorXHR",void 0),(0,l.Z)((0,o.Z)(t),"headers",void 0),(0,l.Z)((0,o.Z)(t),"httpRequestClient",void 0),(0,l.Z)((0,o.Z)(t),"httpRequestInterceptors",void 0),t.issuer=e.issuer,t.transformErrorXHR=e.transformErrorXHR,t.headers=e.headers,t.httpRequestClient=e.httpRequestClient||v,t.httpRequestInterceptors=e.httpRequestInterceptors,t}return c}((0,u.T)())}},5385:function(e,t,n){"use strict";n.d(t,{c3:function(){return p},U2:function(){return h},v_:function(){return m}});var r=n(1002),o=n(4942),i=n(3193),a=n(4771),s=n(6718),l=n(1971),u=n(2886),c=n(3983);function f(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 d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t){if(t=t||{},e.options.httpRequestInterceptors){var n,s=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(e.options.httpRequestInterceptors);try{for(s.s();!(n=s.n()).done;)(0,n.value)(t)}catch(k){s.e(k)}finally{s.f()}}var p=t.url,h=t.method,m=t.args,v=t.saveAuthnState,g=t.accessToken,y=!0===t.withCredentials,b=e.options.storageUtil.storage,_=e.storageManager.getHttpCache(e.options.cookies);if(t.cacheResponse){var w=_.getStorage()[p];if(w&&Date.now()/1e3<w.expiresAt)return Promise.resolve(w.response)}var O=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({Accept:"application/json","Content-Type":"application/json"},e._oktaUserAgent.getHttpHeader());Object.assign(O,e.options.headers,t.headers),O=(0,i.YY)(O),g&&(0,a.HD)(g)&&(O.Authorization="Bearer "+g);var k,E,S={headers:O,data:m||void 0,withCredentials:y};return e.options.httpRequestClient(h,p,S).then((function(n){return(E=n.responseText)&&(0,a.HD)(E)&&(E=JSON.parse(E))&&"object"===(0,r.Z)(E)&&!E.headers&&(Array.isArray(E)?E.forEach((function(e){e.headers=n.headers})):E.headers=n.headers),v&&(E.stateToken||b.delete(l.STATE_TOKEN_KEY_NAME)),E&&E.stateToken&&E.expiresAt&&b.set(l.STATE_TOKEN_KEY_NAME,E.stateToken,E.expiresAt,e.options.cookies),E&&t.cacheResponse&&_.updateStorage(p,{expiresAt:Math.floor(Date.now()/1e3)+l.DEFAULT_CACHE_DURATION,response:E}),E})).catch((function(t){var n=t.responseText||{};if((0,a.HD)(n))try{n=JSON.parse(n)}catch(e){n={errorSummary:"Unknown error"}}throw t.status>=500&&(n.errorSummary="Unknown error"),e.options.transformErrorXHR&&(t=e.options.transformErrorXHR((0,i.d9)(t))),"E0000011"===(k=n.error&&n.error_description?new u.Z(n.error,n.error_description):new c.Z(n,t)).errorCode&&b.delete(l.STATE_TOKEN_KEY_NAME),k}))}function h(e,t,n){var r={url:t=(0,s.sD)(t)?t:e.getIssuerOrigin()+t,method:"GET"};return Object.assign(r,n),p(e,r)}function m(e,t,n,r){var o={url:t=(0,s.sD)(t)?t:e.getIssuerOrigin()+t,method:"POST",args:n,saveAuthnState:!0};return Object.assign(o,r),p(e,o)}},3334:function(e,t,n){"use strict";n.d(t,{v:function(){return f}});var r=n(5671),o=n(3144),i=n(1752),a=n(136),s=n(2963),l=n(1120),u=n(1646),c=n(480);function f(){return function(e){(0,a.Z)(f,e);var t,n,u=(t=f,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,l.Z)(t);if(n){var o=(0,l.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,s.Z)(this,e)});function f(e){return(0,r.Z)(this,f),u.call(this,e)}return(0,o.Z)(f,[{key:"clear",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,i.Z)((0,l.Z)(f.prototype),"clear",this).call(this,e),!1!==e.clearIdxResponse&&this.clearIdxResponse()}},{key:"saveIdxResponse",value:function(e){if(this.saveLastResponse){var t=this.storageManager.getIdxResponseStorage();t&&t.setStorage(e)}}},{key:"loadIdxResponse",value:function(e){if(!this.saveLastResponse)return null;var t=this.storageManager.getIdxResponseStorage();if(!t)return null;var n=t.getStorage();if(!n||!(0,c.P)(n.rawIdxResponse))return null;if(e){var r=e.stateHandle,o=e.interactionHandle;if(r&&n.stateHandle!==r)return null;if(o&&n.interactionHandle!==o)return null}return n}},{key:"clearIdxResponse",value:function(){if(this.saveLastResponse){var e=this.storageManager.getIdxResponseStorage();null==e||e.clearStorage()}}}]),f}((0,u.P)())}},1286:function(e,t,n){"use strict";n.d(t,{Y:function(){return f}});var r=n(4942),o=n(5861),i=n(7757),a=n.n(i),s=n(7595),l=n(5832);function u(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 c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e){return d.apply(this,arguments)}function d(){return d=(0,o.Z)(a().mark((function e(t){var n,r=arguments;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(n=r.length>1&&void 0!==r[1]?r[1]:{}).password&&!n.authenticator&&(n.authenticator=s.pc.OKTA_PASSWORD),e.abrupt("return",(0,l.K)(t,c(c({},n),{},{flow:"authenticate"})));case 3:case"end":return e.stop()}}),e)}))),d.apply(this,arguments)}},7644:function(e,t,n){"use strict";n.d(t,{_:function(){return i}});var r=n(5671),o=n(4942),i=function e(t){(0,r.Z)(this,e),(0,o.Z)(this,"meta",void 0),this.meta=t}},9582:function(e,t,n){"use strict";n.d(t,{a:function(){return f}});var r=n(4942),o=n(5671),i=n(3144),a=n(136),s=n(2963),l=n(1120);function u(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 c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=function(e){(0,a.Z)(u,e);var t,n,r=(t=u,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,l.Z)(t);if(n){var o=(0,l.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,s.Z)(this,e)});function u(){return(0,o.Z)(this,u),r.apply(this,arguments)}return(0,i.Z)(u,[{key:"canVerify",value:function(e){return!!(e.credentials||e.password||e.passcode)}},{key:"mapCredentials",value:function(e){var t=e.credentials,n=e.password,r=e.passcode;if(t||n||r)return t||{passcode:r||n}}},{key:"getInputs",value:function(e){var t;return c(c({},null===(t=e.form)||void 0===t?void 0:t.value[0]),{},{name:"password",type:"string",required:e.required})}}]),u}(n(7644)._)},9344:function(e,t,n){"use strict";n.d(t,{LL:function(){return i},PN:function(){return a},h_:function(){return s}});var r=n(7595);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e){var t;if((0,r.H)(e))t=e;else{if("string"!=typeof e)throw new Error("Invalid format for authenticator");t={key:e}}return t}function a(e,t){return!!(e&&t&&(e.id&&t.id?e.id===t.id:e.key&&t.key&&e.key===t.key))}function s(e,t){var n,r,i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}(e);try{var a=function(){var e=r.value;if(n=t.find((function(t){return t.relatesTo.key===e.key})))return"break"};for(i.s();!(r=i.n()).done&&"break"!==a(););}catch(e){i.e(e)}finally{i.f()}return n}},9192:function(e,t,n){"use strict";n.d(t,{a:function(){return f}});var r=n(4942),o=n(5861),i=n(7757),a=n.n(i),s=n(5832),l=n(7738);function u(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 c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t){return d.apply(this,arguments)}function d(){return(d=(0,o.Z)(a().mark((function e(t,n){var r,o;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.transactionManager.load(),o=(0,l.s)(t,r.flow),e.abrupt("return",(0,s.K)(t,c(c(c({},n),o),{},{actions:["cancel"]})));case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},7985:function(e,t,n){"use strict";n.d(t,{gc:function(){return m},GA:function(){return v},mo:function(){return g},Jn:function(){return y}});var r=n(5861),o=n(5671),i=n(7326),a=n(136),s=n(2963),l=n(1120),u=n(4942),c=n(7757),f=n.n(c),d=n(6245),p=n(1969),h=function(e){(0,a.Z)(c,e);var t,n,r=(t=c,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,l.Z)(t);if(n){var o=(0,l.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,s.Z)(this,e)});function c(e,t){var n;return(0,o.Z)(this,c),n=r.call(this,"Enter the OTP code in the originating client: ".concat(t)),(0,u.Z)((0,i.Z)(n),"state",void 0),(0,u.Z)((0,i.Z)(n),"otp",void 0),n.name="EmailVerifyCallbackError",n.state=e,n.otp=t,n}return c}(d.Z);function m(e){return"EmailVerifyCallbackError"===e.name}function v(e){return/(otp=)/i.test(e)&&/(state=)/i.test(e)}function g(e){return(0,p.v)(e)}function y(e,t){return b.apply(this,arguments)}function b(){return(b=(0,r.Z)(f().mark((function e(t,n){var r,o,i;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!v(n)){e.next=9;break}if(r=g(n),o=r.state,i=r.otp,!t.idx.canProceed({state:o})){e.next=8;break}return e.next=5,t.idx.proceed({state:o,otp:i});case 5:return e.abrupt("return",e.sent);case 8:throw new h(o,i);case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},2144:function(e,t,n){"use strict";n.d(t,{Y:function(){return i}});var r=n(1578),o=n(9284);function i(e,t,n){var i=(0,r.K)(e,t,n);return(0,o.B)(i)}},9727:function(e,t,n){"use strict";n.d(t,{F:function(){return b}});var r=n(8221),o=n(9912),i=n(1286),a=n(9192),s=n(7985),l=n(5021),u=n(5294),c=n(6131),f=n(2660),d=n(9310),p=n(2845),h=n(9214),m=n(8826),v=n(2473),g=n(2620),y=n(8277);function b(e){var t=v.Y.bind(null,e);return{interact:c.E.bind(null,e),introspect:f.L.bind(null,e),makeIdxResponse:u._T.bind(null,e),authenticate:i.Y.bind(null,e),register:m.z.bind(null,e),start:t,startTransaction:t,poll:d.$.bind(null,e),proceed:p.x.bind(null,e),cancel:a.a.bind(null,e),recoverPassword:h.M.bind(null,e),handleInteractionCodeRedirect:l.X.bind(null,e),isInteractionRequired:r.wc.bind(null,e),isInteractionRequiredError:o.Cf,handleEmailVerifyCallback:s.Jn.bind(null,e),isEmailVerifyCallback:s.GA,parseEmailVerifyCallback:s.mo,isEmailVerifyCallbackError:s.gc,getSavedTransactionMeta:g.uN.bind(null,e),createTransactionMeta:g.Xc.bind(null,e),getTransactionMeta:g.Co.bind(null,e),saveTransactionMeta:g.r0.bind(null,e),clearTransactionMeta:g.Jm.bind(null,e),isTransactionMetaValid:g.Wf,setFlow:function(t){e.options.flow=t},getFlow:function(){return e.options.flow},canProceed:p.C.bind(null,e),unlockAccount:y.l.bind(null,e)}}},7738:function(e,t,n){"use strict";n.d(t,{s:function(){return S}});var r=n(8628),o=n(7311),i=n(9865),a=n(2541),s=n(5278),l=n(3857),u=n(4560),c=n(1104),f=n(9024),d=n(2288),p=n(3403),h=n(3679),m=n(8490),v=n(8443),g={identify:r.h,"select-authenticator-authenticate":o.X,"select-authenticator-enroll":i.j,"authenticator-enrollment-data":a.q,"authenticator-verification-data":s.q,"enroll-authenticator":l.q,"challenge-authenticator":u.J,"challenge-poll":c.U,"reenroll-authenticator":f.j,"enroll-poll":d.T,"select-enrollment-channel":p.V,"enrollment-channel-data":h.t,"redirect-idp":m.O,skip:v.h},y=n(1019),b={identify:r.h,"identify-recovery":r.h,"select-authenticator-authenticate":o.X,"select-authenticator-enroll":i.j,"challenge-authenticator":u.J,"authenticator-verification-data":s.q,"authenticator-enrollment-data":a.q,"reset-authenticator":y.G,"reenroll-authenticator":f.j,"enroll-poll":d.T},_=n(4713),w=n(7522),O={"select-enroll-profile":_.j,"enroll-profile":w.w,"authenticator-enrollment-data":a.q,"select-authenticator-enroll":i.j,"enroll-poll":d.T,"select-enrollment-channel":p.V,"enrollment-channel-data":h.t,"enroll-authenticator":l.q,skip:v.h},k=n(5272),E={identify:r.h,"select-authenticator-unlock-account":k.G,"select-authenticator-authenticate":o.X,"challenge-authenticator":u.J,"challenge-poll":c.U,"authenticator-verification-data":s.q};function S(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",o=!0;switch(r){case"register":case"signup":case"enrollProfile":t=O,o=!1;break;case"recoverPassword":case"resetPassword":t=b,n=["currentAuthenticator-recover","currentAuthenticatorEnrollment-recover"],o=!1;break;case"unlockAccount":t=E,o=!1,n=["unlock-account"];break;default:t=g}return{flow:r,remediators:t,actions:n,withCredentials:o}}},5021:function(e,t,n){"use strict";n.d(t,{X:function(){return l}});var r=n(5861),o=n(7757),i=n.n(o),a=n(9123),s=n(2886);function l(e,t){return u.apply(this,arguments)}function u(){return(u=(0,r.Z)(i().mark((function e(t,n){var r,o,l,u,c,f,d,p,h,m;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.transactionManager.load()){e.next=3;break}throw new a.Z("No transaction data was found in storage");case 3:if(o=r.codeVerifier,l=r.state,u=new URL(n),c=u.searchParams,f=c.get("state"),d=c.get("interaction_code"),!(p=c.get("error"))){e.next=10;break}throw new s.Z(p,c.get("error_description"));case 10:if(f===l){e.next=12;break}throw new a.Z("State in redirect uri does not match with transaction state");case 12:if(d){e.next=14;break}throw new a.Z("Unable to parse interaction_code from the url");case 14:return e.next=16,t.token.exchangeCodeForTokens({interactionCode:d,codeVerifier:o});case 16:h=e.sent,m=h.tokens,t.tokenManager.setTokens(m);case 19:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},5294:function(e,t,n){"use strict";n.d(t,{_T:function(){return G},A0:function(){return K}});var r=n(1971),o=n(5861),i=n(2982),a=n(7757),s=n.n(a),l=n(885),u=n(4942),c=n(4925),f=n(1002),d=n(5385);function p(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var m=function(e){return!1!==e.mutable},v=function(e){var t={},n=[],r={};if(!e.value)return n.push(e),{defaultParamsForAction:t,neededParamsForAction:n,immutableParamsForAction:r};var o,i=p(e.value);try{for(i.s();!(o=i.n()).done;){var a,s,l=o.value;m(l)?(n.push(l),null!==(a=l.value)&&void 0!==a&&a&&(t[l.name]=l.value)):r[l.name]=null!==(s=l.value)&&void 0!==s?s:""}}catch(e){i.e(e)}finally{i.f()}return{defaultParamsForAction:t,neededParamsForAction:n,immutableParamsForAction:r}},g=n(3983);function y(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 b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){(0,u.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _=function(e,t){var n=t.actionDefinition,r=t.defaultParamsForAction,i=void 0===r?{}:r,a=t.immutableParamsForAction,l=void 0===a?{}:a,u=t.toPersist,c=void 0===u?{}:u,f=n.href;return(0,o.Z)(s().mark((function t(){var r,o,a,u,p,h,m,v,y,_=arguments;return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=_.length>0&&void 0!==_[0]?_[0]:{},o={"Content-Type":"application/json",Accept:n.accepts||"application/ion+json"},a=JSON.stringify(b(b(b({},i),r),l)),t.prev=3,t.next=6,(0,d.c3)(e,{url:f,method:n.method,headers:o,args:a,withCredentials:null===(u=null==c?void 0:c.withCredentials)||void 0===u||u});case 6:return p=t.sent,t.abrupt("return",e.idx.makeIdxResponse(b({},p),c,!0));case 10:if(t.prev=10,t.t0=t.catch(3),t.t0 instanceof g.Z&&null!==t.t0&&void 0!==t.t0&&t.t0.xhr){t.next=14;break}throw t.t0;case 14:return h=t.t0.xhr,m=h.responseJSON||JSON.parse(h.responseText),v=h.headers["WWW-Authenticate"]||h.headers["www-authenticate"],y=e.idx.makeIdxResponse(b({},m),c,!1),401===h.status&&'Oktadevicejwt realm="Okta Device"'===v&&(y.stepUp=!0),t.abrupt("return",y);case 20:case"end":return t.stop()}}),t,null,[[3,10]])})))},w=function(e,t,n){var r=_,o=function(e){var t,n=[],r={},o={},i=p(e=Array.isArray(e)?e:[e]);try{for(i.s();!(t=i.n()).done;){var a=t.value,s=v(a),l=s.defaultParamsForAction,u=s.neededParamsForAction,c=s.immutableParamsForAction;n.push(u),r[a.name]=l,o[a.name]=c}}catch(e){i.e(e)}finally{i.f()}return{defaultParams:r,neededParams:n,immutableParams:o}}(t),i=o.defaultParams,a=o.neededParams,s=o.immutableParams,l=r(e,{actionDefinition:t,defaultParamsForAction:i[t.name],immutableParamsForAction:s[t.name],toPersist:n});return l.neededParams=a,l};function O(e){return O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},O(e)}function k(e){return k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},k(e)}function E(e,t){return E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},E(e,t)}function S(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function x(e,t,n){return x=S()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&E(o,n.prototype),o},x.apply(null,arguments)}function T(e){var t="function"==typeof Map?new Map:void 0;return T=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return x(e,arguments,k(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),E(r,e)},T(e)}function A(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function C(e){return function(e){if(Array.isArray(e))return R(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||P(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function P(e,t){if(e){if("string"==typeof e)return R(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?R(e,t):void 0}}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var N=Object.prototype.hasOwnProperty;function I(e,t){return(e=e.slice()).push(t),e}function M(e,t){return(t=t.slice()).unshift(e),t}var j=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E(e,t)}(o,e);var t,n,r=(t=o,n=S(),function(){var e,r=k(t);if(n){var o=k(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return A(this,e)});function o(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),(t=r.call(this,'JSONPath should not be called with "new" (it prevents return of (unwrapped) scalar values)')).avoidNew=!0,t.value=e,t.name="NewError",t}return o}(T(Error));function L(e,t,n,r,o){if(!(this instanceof L))try{return new L(e,t,n,r,o)}catch(e){if(!e.avoidNew)throw e;return e.value}"string"==typeof e&&(o=r,r=n,n=t,t=e,e=null);var i=e&&"object"===O(e);if(e=e||{},this.json=e.json||n,this.path=e.path||t,this.resultType=e.resultType||"value",this.flatten=e.flatten||!1,this.wrap=!N.call(e,"wrap")||e.wrap,this.sandbox=e.sandbox||{},this.preventEval=e.preventEval||!1,this.parent=e.parent||null,this.parentProperty=e.parentProperty||null,this.callback=e.callback||r||null,this.otherTypeCallback=e.otherTypeCallback||o||function(){throw new TypeError("You must supply an otherTypeCallback callback option with the @other() operator.")},!1!==e.autostart){var a={path:i?e.path:t};i?"json"in e&&(a.json=e.json):a.json=n;var s=this.evaluate(a);if(!s||"object"!==O(s))throw new j(s);return s}}L.prototype.evaluate=function(e,t,n,r){var o=this,i=this.parent,a=this.parentProperty,s=this.flatten,l=this.wrap;if(this.currResultType=this.resultType,this.currPreventEval=this.preventEval,this.currSandbox=this.sandbox,n=n||this.callback,this.currOtherTypeCallback=r||this.otherTypeCallback,t=t||this.json,(e=e||this.path)&&"object"===O(e)&&!Array.isArray(e)){if(!e.path&&""!==e.path)throw new TypeError('You must supply a "path" property when providing an object argument to JSONPath.evaluate().');if(!N.call(e,"json"))throw new TypeError('You must supply a "json" property when providing an object argument to JSONPath.evaluate().');t=e.json,s=N.call(e,"flatten")?e.flatten:s,this.currResultType=N.call(e,"resultType")?e.resultType:this.currResultType,this.currSandbox=N.call(e,"sandbox")?e.sandbox:this.currSandbox,l=N.call(e,"wrap")?e.wrap:l,this.currPreventEval=N.call(e,"preventEval")?e.preventEval:this.currPreventEval,n=N.call(e,"callback")?e.callback:n,this.currOtherTypeCallback=N.call(e,"otherTypeCallback")?e.otherTypeCallback:this.currOtherTypeCallback,i=N.call(e,"parent")?e.parent:i,a=N.call(e,"parentProperty")?e.parentProperty:a,e=e.path}if(i=i||null,a=a||null,Array.isArray(e)&&(e=L.toPathString(e)),(e||""===e)&&t){var u=L.toPathArray(e);"$"===u[0]&&u.length>1&&u.shift(),this._hasParentSelector=null;var c=this._trace(u,t,["$"],i,a,n).filter((function(e){return e&&!e.isParentSelector}));return c.length?l||1!==c.length||c[0].hasArrExpr?c.reduce((function(e,t){var n=o._getPreferredOutput(t);return s&&Array.isArray(n)?e=e.concat(n):e.push(n),e}),[]):this._getPreferredOutput(c[0]):l?[]:void 0}},L.prototype._getPreferredOutput=function(e){var t=this.currResultType;switch(t){case"all":var n=Array.isArray(e.path)?e.path:L.toPathArray(e.path);return e.pointer=L.toPointer(n),e.path="string"==typeof e.path?e.path:L.toPathString(e.path),e;case"value":case"parent":case"parentProperty":return e[t];case"path":return L.toPathString(e[t]);case"pointer":return L.toPointer(e.path);default:throw new TypeError("Unknown result type")}},L.prototype._handleCallback=function(e,t,n){if(t){var r=this._getPreferredOutput(e);e.path="string"==typeof e.path?e.path:L.toPathString(e.path),t(r,n,e)}},L.prototype._trace=function(e,t,n,r,o,i,a,s){var l,u=this;if(!e.length)return l={path:n,value:t,parent:r,parentProperty:o,hasArrExpr:a},this._handleCallback(l,i,"value"),l;var c=e[0],f=e.slice(1),d=[];function p(e){Array.isArray(e)?e.forEach((function(e){d.push(e)})):d.push(e)}if(("string"!=typeof c||s)&&t&&N.call(t,c))p(this._trace(f,t[c],I(n,c),t,c,i,a));else if("*"===c)this._walk(c,f,t,n,r,o,i,(function(e,t,n,r,o,i,a,s){p(u._trace(M(e,n),r,o,i,a,s,!0,!0))}));else if(".."===c)p(this._trace(f,t,n,r,o,i,a)),this._walk(c,f,t,n,r,o,i,(function(e,t,n,r,o,i,a,s){"object"===O(r[e])&&p(u._trace(M(t,n),r[e],I(o,e),r,e,s,!0))}));else{if("^"===c)return this._hasParentSelector=!0,{path:n.slice(0,-1),expr:f,isParentSelector:!0};if("~"===c)return l={path:I(n,c),value:o,parent:r,parentProperty:null},this._handleCallback(l,i,"property"),l;if("$"===c)p(this._trace(f,t,n,null,null,i,a));else if(/^(\x2D?[0-9]*):(\x2D?[0-9]*):?([0-9]*)$/.test(c))p(this._slice(c,f,t,n,r,o,i));else if(0===c.indexOf("?(")){if(this.currPreventEval)throw new Error("Eval [?(expr)] prevented in JSONPath expression.");this._walk(c,f,t,n,r,o,i,(function(e,t,n,r,o,i,a,s){u._eval(t.replace(/^\?\(((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?)\)$/,"$1"),r[e],e,o,i,a)&&p(u._trace(M(e,n),r,o,i,a,s,!0))}))}else if("("===c[0]){if(this.currPreventEval)throw new Error("Eval [(expr)] prevented in JSONPath expression.");p(this._trace(M(this._eval(c,t,n[n.length-1],n.slice(0,-1),r,o),f),t,n,r,o,i,a))}else if("@"===c[0]){var h=!1,m=c.slice(1,-2);switch(m){case"scalar":t&&["object","function"].includes(O(t))||(h=!0);break;case"boolean":case"string":case"undefined":case"function":O(t)===m&&(h=!0);break;case"integer":!Number.isFinite(t)||t%1||(h=!0);break;case"number":Number.isFinite(t)&&(h=!0);break;case"nonFinite":"number"!=typeof t||Number.isFinite(t)||(h=!0);break;case"object":t&&O(t)===m&&(h=!0);break;case"array":Array.isArray(t)&&(h=!0);break;case"other":h=this.currOtherTypeCallback(t,n,r,o);break;case"null":null===t&&(h=!0);break;default:throw new TypeError("Unknown value type "+m)}if(h)return l={path:n,value:t,parent:r,parentProperty:o},this._handleCallback(l,i,"value"),l}else if("`"===c[0]&&t&&N.call(t,c.slice(1))){var v=c.slice(1);p(this._trace(f,t[v],I(n,v),t,v,i,a,!0))}else if(c.includes(",")){var g,y=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=P(e))){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(c.split(","));try{for(y.s();!(g=y.n()).done;){var b=g.value;p(this._trace(M(b,f),t,n,r,o,i,!0))}}catch(e){y.e(e)}finally{y.f()}}else!s&&t&&N.call(t,c)&&p(this._trace(f,t[c],I(n,c),t,c,i,a,!0))}if(this._hasParentSelector)for(var _=0;_<d.length;_++){var w=d[_];if(w&&w.isParentSelector){var k=this._trace(w.expr,t,w.path,r,o,i,a);if(Array.isArray(k)){d[_]=k[0];for(var E=k.length,S=1;S<E;S++)_++,d.splice(_,0,k[S])}else d[_]=k}}return d},L.prototype._walk=function(e,t,n,r,o,i,a,s){if(Array.isArray(n))for(var l=n.length,u=0;u<l;u++)s(u,e,t,n,r,o,i,a);else n&&"object"===O(n)&&Object.keys(n).forEach((function(l){s(l,e,t,n,r,o,i,a)}))},L.prototype._slice=function(e,t,n,r,o,i,a){if(Array.isArray(n)){var s=n.length,l=e.split(":"),u=l[2]&&Number.parseInt(l[2])||1,c=l[0]&&Number.parseInt(l[0])||0,f=l[1]&&Number.parseInt(l[1])||s;c=c<0?Math.max(0,c+s):Math.min(s,c),f=f<0?Math.max(0,f+s):Math.min(s,f);for(var d=[],p=c;p<f;p+=u)this._trace(M(p,t),n,r,o,i,a,!0).forEach((function(e){d.push(e)}));return d}},L.prototype._eval=function(e,t,n,r,o,i){e.includes("@parentProperty")&&(this.currSandbox._$_parentProperty=i,e=e.replace(/@parentProperty/g,"_$_parentProperty")),e.includes("@parent")&&(this.currSandbox._$_parent=o,e=e.replace(/@parent/g,"_$_parent")),e.includes("@property")&&(this.currSandbox._$_property=n,e=e.replace(/@property/g,"_$_property")),e.includes("@path")&&(this.currSandbox._$_path=L.toPathString(r.concat([n])),e=e.replace(/@path/g,"_$_path")),e.includes("@root")&&(this.currSandbox._$_root=this.json,e=e.replace(/@root/g,"_$_root")),/@([\t-\r \)\.\[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF])/.test(e)&&(this.currSandbox._$_v=t,e=e.replace(/@([\t-\r \)\.\[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF])/g,"_$_v$1"));try{return this.vm.runInNewContext(e,this.currSandbox)}catch(t){throw new Error("jsonPath: "+t.message+": "+e)}},L.cache={},L.toPathString=function(e){for(var t=e,n=t.length,r="$",o=1;o<n;o++)/^(~|\^|@(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\(\))$/.test(t[o])||(r+=/^[\*0-9]+$/.test(t[o])?"["+t[o]+"]":"['"+t[o]+"']");return r},L.toPointer=function(e){for(var t=e,n=t.length,r="",o=1;o<n;o++)/^(~|\^|@(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\(\))$/.test(t[o])||(r+="/"+t[o].toString().replace(/~/g,"~0").replace(/\//g,"~1"));return r},L.toPathArray=function(e){var t=L.cache;if(t[e])return t[e].concat();var n=[],r=e.replace(/@(?:null|boolean|number|string|integer|undefined|nonFinite|scalar|array|object|function|other)\(\)/g,";$&;").replace(/['\[](\??\((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\))['\]]/g,(function(e,t){return"[#"+(n.push(t)-1)+"]"})).replace(/\[["']((?:(?!['\]])[\s\S])*)["']\]/g,(function(e,t){return"['"+t.replace(/\./g,"%@%").replace(/~/g,"%%@@%%")+"']"})).replace(/~/g,";~;").replace(/["']?\.["']?(?!(?:(?!\[)[\s\S])*\])|\[["']?/g,";").replace(/%@%/g,".").replace(/%%@@%%/g,"~").replace(/(?:;)?(\^+)(?:;)?/g,(function(e,t){return";"+t.split("").join(";")+";"})).replace(/;;;|;;/g,";..;").replace(/;$|'?\]|'$/g,"").split(";").map((function(e){var t=e.match(/#([0-9]+)/);return t&&t[1]?n[t[1]]:e}));return t[e]=r,t[e].concat()},L.prototype.vm={runInNewContext:function(e,t){var n=Object.keys(t),r=[];!function(e,n,r){for(var o=e.length,i=0;i<o;i++)a=e[i],"function"==typeof t[a]&&n.push(e.splice(i--,1)[0]);var a}(n,r);var o=n.map((function(e,n){return t[e]})),i=r.reduce((function(e,n){var r=t[n].toString();return/function/.test(r)||(r="function "+r),"var "+n+"="+r+";"+e}),"");/(["'])use strict\1/.test(e=i+e)||n.includes("arguments")||(e="var arguments = undefined;"+e);var a=(e=e.replace(/;[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*$/,"")).lastIndexOf(";"),s=a>-1?e.slice(0,a+1)+" return "+e.slice(a+1):" return "+e;return x(Function,C(n).concat([s])).apply(void 0,C(o))}};var D=["value","type"];function F(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 U(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?F(Object(n),!0).forEach((function(t){(0,u.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):F(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var B=Object.fromEntries(["remediation","context"].map((function(e){return[e,!0]}))),V=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r={},o={};return Object.keys(t).filter((function(e){return!B[e]})).forEach((function(i){if("object"===(0,f.Z)(t[i])&&t[i])if(t[i].rel)r[t[i].name]=w(e,t[i],n);else{var a=t[i],s=a.value,u=a.type,d=(0,c.Z)(a,D);o[i]=U({type:u},d),"object"===u?(o[i].value={},Object.entries(s).forEach((function(t){var a=(0,l.Z)(t,2),s=a[0],u=a[1];u.rel?r["".concat(i,"-").concat(s.name||s)]=w(e,u,n):o[i].value[s]=u}))):o[i].value=s}else o[i]=t[i]})),{context:o,actions:r}},H=function e(t,n){Object.keys(n).forEach((function(r){if("relatesTo"===r){var o=Array.isArray(n[r])?n[r][0]:n[r];if("string"==typeof o){var i=L({path:o,json:t})[0];if(i)return void(n[r]=i)}}Array.isArray(n[r])&&n[r].forEach((function(n){return e(t,n)}))}))},Z=function(e,t,n){if(t.rel){var r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.fromEntries(t.map((function(t){return[t.name,w(e,t,n)]})))}(e,[t],n),o=r[t.name];return U(U({},t),{},{action:o})}return t},q={makeIdxState:function(e,t,n,r){var a,l,u,c,f=t,d=function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=(null===(n=t.remediation)||void 0===n?void 0:n.value)||[];o.forEach((function(e){return H(t,e)}));var i=o.map((function(t){return Z(e,t,r)})),a=V(e,t,r);return{remediations:i,context:a.context,actions:a.actions}}(e,t,n),p=d.remediations,h=d.context,m=d.actions,v=(0,i.Z)(p),g=(c=(0,o.Z)(s().mark((function e(t){var n,r,o=arguments;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=o.length>1&&void 0!==o[1]?o[1]:{},r=p.find((function(e){return e.name===t}))){e.next=4;break}return e.abrupt("return",Promise.reject("Unknown remediation choice: [".concat(t,"]")));case 4:if("function"==typeof r.action){e.next=7;break}return e.abrupt("return",Promise.reject("Current remediation cannot make form submit action: [".concat(t,"]")));case 7:return e.abrupt("return",r.action(n));case 8:case"end":return e.stop()}}),e)}))),function(e){return c.apply(this,arguments)});return{proceed:g,neededToProceed:v,actions:m,context:h,rawIdxState:f,interactionCode:null===(a=f.successWithInteractionCode)||void 0===a||null===(l=a.value)||void 0===l||null===(u=l.find((function(e){return"interaction_code"===e.name})))||void 0===u?void 0:u.value,toPersist:n,requestDidSucceed:r}}},W=function(e){switch(e){case"1.0.0":return q;case void 0:case null:throw new Error("Api version is required");default:throw new Error("Unknown api version: ".concat(e,". Use an exact semver version."))}};function K(e){if(!e)throw new Error("version is required");if((null!=e?e:"").replace(/[^0-9a-zA-Z._-]/,"")!==e||!e)throw new Error("invalid version supplied - version is required and uses semver syntax");W(e)}function G(e,t,n,o){var i,a=null!==(i=null==t?void 0:t.version)&&void 0!==i?i:r.IDX_API_VERSION;return K(a),(0,W(a).makeIdxState)(e,t,n,o)}},683:function(e,t,n){"use strict";n.d(t,{pc:function(){return w.pc},Fw:function(){return w.Fw},Qd:function(){return w.Qd},YR:function(){return r.Y},Ch:function(){return u.C},al:function(){return o.a},Jm:function(){return m.Jm},F4:function(){return v.F},SL:function(){return b.S},aT:function(){return _.a},vK:function(){return O.v},Yn:function(){return g.Y},Xc:function(){return m.Xc},uN:function(){return m.uN},Co:function(){return m.Co},Jn:function(){return i.Jn},Xx:function(){return d.X},$0:function(){return m.$0},EW:function(){return a.E},L8:function(){return s.L},H:function(){return w.H},GA:function(){return i.GA},gc:function(){return i.gc},Wf:function(){return m.Wf},bl:function(){return m.bl},UC:function(){return m.UC},B_:function(){return y.B},mo:function(){return i.mo},$l:function(){return l.$},xc:function(){return u.x},M4:function(){return f.M},z2:function(){return c.z},r0:function(){return m.r0},Yr:function(){return p.Y},le:function(){return h.l}});var r=n(1286),o=n(9192),i=n(7985),a=n(6131),s=n(2660),l=n(9310),u=n(2845),c=n(8826),f=n(9214),d=n(5021),p=n(2473),h=n(8277),m=n(2620),v=n(9727),g=n(2144),y=n(9284),b=n(4602),_=n(4143),w=n(7595),O=n(3334)},6131:function(e,t,n){"use strict";n.d(t,{E:function(){return h}});var r=n(4942),o=n(5861),i=n(7757),a=n.n(i),s=n(2620),l=n(7599),u=n(3193),c=n(5385);function f(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 d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e){return{meta:e,interactionHandle:e.interactionHandle,state:e.state}}function h(e){return m.apply(this,arguments)}function m(){return m=(0,o.Z)(a().mark((function e(t){var n,r,o,i,f,h,m,v,g,y,b,_,w,O,k,E,S,x,T,A,C,P,R,N,I=arguments;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=I.length>1&&void 0!==I[1]?I[1]:{},o=(0,u.YY)(o),i=(0,s.uN)(t,o),null===(n=i)||void 0===n||!n.interactionHandle){e.next=5;break}return e.abrupt("return",p(i));case 5:return e.next=7,(0,s.Xc)(t,d(d({},i),o));case 7:return i=e.sent,f=(0,l.zf)(t),m=(h=i).clientId,v=h.redirectUri,g=h.state,y=h.scopes,b=h.withCredentials,_=h.codeChallenge,w=h.codeChallengeMethod,O=h.activationToken,k=h.recoveryToken,E=h.maxAge,S=h.nonce,x=o.clientSecret||t.options.clientSecret,b=null===(r=b)||void 0===r||r,T="".concat(f,"/v1/interact"),A=d(d(d(d(d({client_id:m,scope:y.join(" "),redirect_uri:v,code_challenge:_,code_challenge_method:w,state:g},O&&{activation_token:O}),k&&{recovery_token:k}),x&&{client_secret:x}),E&&{max_age:E}),S&&{nonce:S}),C={"Content-Type":"application/x-www-form-urlencoded"},e.next=17,(0,c.c3)(t,{method:"POST",url:T,headers:C,withCredentials:b,args:A});case 17:return P=e.sent,R=P.interaction_handle,N=d(d({},i),{},{interactionHandle:R,withCredentials:b,state:g,scopes:y,recoveryToken:k,activationToken:O}),(0,s.r0)(t,N),e.abrupt("return",p(N));case 22:case"end":return e.stop()}}),e)}))),m.apply(this,arguments)}},2660:function(e,t,n){"use strict";n.d(t,{L:function(){return d}});var r=n(5861),o=n(7757),i=n.n(o),a=n(5294),s=n(480),l=n(7599),u=n(1971),c=n(5385),f=n(5728);function d(e){return p.apply(this,arguments)}function p(){return p=(0,r.Z)(i().mark((function e(t){var n,r,o,d,p,h,m,v,g,y,b,_,w,O,k=arguments;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=k.length>1&&void 0!==k[1]?k[1]:{},(d=t.transactionManager.loadIdxResponse(n))&&(r=d.rawIdxResponse,o=d.requestDidSucceed),r){e.next=27;break}return h=n.version||u.IDX_API_VERSION,m=(0,l.Xp)(t),v=n.interactionHandle,g=n.stateHandle,y=null===(p=n.withCredentials)||void 0===p||p,e.prev=8,o=!0,(0,a.A0)(h),b="".concat(m,"/idp/idx/introspect"),_=g?{stateToken:g}:{interactionHandle:v},w={"Content-Type":"application/ion+json; okta-version=".concat(h),Accept:"application/ion+json; okta-version=".concat(h)},e.next=16,(0,c.c3)(t,{method:"POST",url:b,headers:w,withCredentials:y,args:_});case 16:r=e.sent,e.next=27;break;case 19:if(e.prev=19,e.t0=e.catch(8),!((0,f.isAuthApiError)(e.t0)&&e.t0.xhr&&(0,s.P)(e.t0.xhr.responseJSON))){e.next=26;break}r=e.t0.xhr.responseJSON,o=!1,e.next=27;break;case 26:throw e.t0;case 27:return O=n.withCredentials,e.abrupt("return",(0,a._T)(t,r,{withCredentials:O},o));case 29:case"end":return e.stop()}}),e,null,[[8,19]])}))),p.apply(this,arguments)}},9284:function(e,t,n){"use strict";n.d(t,{B:function(){return g}});var r={};n.r(r),n.d(r,{buildCredentialCreationOptions:function(){return p},buildCredentialRequestOptions:function(){return h},getAssertion:function(){return v},getAttestation:function(){return m}});var o=n(5671),i=n(7326),a=n(136),s=n(2963),l=n(1120),u=n(4942),c=n(9727),f=n(7987),d=function(){var e=[];return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(t){"webauthn"===t.key&&e.push({type:"public-key",id:(0,f.dX)(t.credentialId)})})),e},p=function(e,t){return{publicKey:{rp:e.rp,user:{id:(0,f.dX)(e.user.id),name:e.user.name,displayName:e.user.displayName},challenge:(0,f.dX)(e.challenge),pubKeyCredParams:e.pubKeyCredParams,attestation:e.attestation,authenticatorSelection:e.authenticatorSelection,excludeCredentials:d(t)}}},h=function(e,t){return{publicKey:{challenge:(0,f.dX)(e.challenge),userVerification:e.userVerification,allowCredentials:d(t)}}},m=function(e){var t=e.response;return{id:e.id,clientData:(0,f.kQ)(t.clientDataJSON),attestation:(0,f.kQ)(t.attestationObject)}},v=function(e){var t=e.response;return{id:e.id,clientData:(0,f.kQ)(t.clientDataJSON),authenticatorData:(0,f.kQ)(t.authenticatorData),signatureData:(0,f.kQ)(t.signature)}};function g(e){var t;return t=function(e){(0,a.Z)(f,e);var t,n,r=(t=f,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,l.Z)(t);if(n){var o=(0,l.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,s.Z)(this,e)});function f(){var e;(0,o.Z)(this,f);for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];return e=r.call.apply(r,[this].concat(n)),(0,u.Z)((0,i.Z)(e),"idx",void 0),e.idx=(0,c.F)((0,i.Z)(e)),e}return f}(e),(0,u.Z)(t,"webauthn",r),t}},4602:function(e,t,n){"use strict";n.d(t,{S:function(){return c}});var r=n(5671),o=n(7326),i=n(136),a=n(2963),s=n(1120),l=n(4942),u=n(9133);function c(){return function(e){(0,i.Z)(c,e);var t,n,u=(t=c,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var o=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function c(e){var t;return(0,r.Z)(this,c),t=u.call(this,e),(0,l.Z)((0,o.Z)(t),"flow",void 0),(0,l.Z)((0,o.Z)(t),"activationToken",void 0),(0,l.Z)((0,o.Z)(t),"recoveryToken",void 0),(0,l.Z)((0,o.Z)(t),"idx",void 0),t.flow=e.flow,t.activationToken=e.activationToken,t.recoveryToken=e.recoveryToken,t.idx=e.idx,t}return c}((0,u.n)())}},9310:function(e,t,n){"use strict";n.d(t,{$:function(){return u}});var r=n(5861),o=n(7757),i=n.n(o),a=n(2845),s=n(2620),l=n(146);function u(e){return c.apply(this,arguments)}function c(){return c=(0,r.Z)(i().mark((function e(t){var n,o,c,f,d,p=arguments;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=p.length>1&&void 0!==p[1]?p[1]:{},e.next=3,(0,a.x)(t,{startPolling:!0});case 3:if(c=e.sent,f=(0,s.uN)(t),null!=(d=null==f||null===(n=f.remediations)||void 0===n?void 0:n.find((function(e){return e.includes("poll")})))&&d.length||(0,l.ZK)("No polling remediations available at the current IDX flow stage"),!Number.isInteger(o.refresh)){e.next=9;break}return e.abrupt("return",new Promise((function(e,n){setTimeout((0,r.Z)(i().mark((function r(){var o,a,s;return i().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:try{s=null===(o=c.nextStep)||void 0===o||null===(a=o.poll)||void 0===a?void 0:a.refresh,e(s?u(t,{refresh:s}):c)}catch(e){n(e)}case 1:case"end":return r.stop()}}),r)}))),o.refresh)})));case 9:return e.abrupt("return",c);case 10:case"end":return e.stop()}}),e)}))),c.apply(this,arguments)}},2845:function(e,t,n){"use strict";n.d(t,{C:function(){return d},x:function(){return p}});var r=n(4942),o=n(5861),i=n(7757),a=n.n(i),s=n(5832),l=n(2620),u=n(9123);function c(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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!(!(0,l.uN)(e,t)&&!t.stateHandle)}function p(e){return h.apply(this,arguments)}function h(){return h=(0,o.Z)(a().mark((function e(t){var n,r,o,i,c=arguments;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=c.length>1&&void 0!==c[1]?c[1]:{},d(t,n)){e.next=3;break}throw new u.Z("Unable to proceed: saved transaction could not be loaded");case 3:return r=n.flow,o=n.state,r||(i=(0,l.uN)(t,{state:o}),r=null==i?void 0:i.flow),e.abrupt("return",(0,s.K)(t,f(f({},n),{},{flow:r})));case 6:case"end":return e.stop()}}),e)}))),h.apply(this,arguments)}},9214:function(e,t,n){"use strict";n.d(t,{M:function(){return f}});var r=n(4942),o=n(5861),i=n(7757),a=n.n(i),s=n(5832),l=n(7738);function u(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 c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e){return d.apply(this,arguments)}function d(){return d=(0,o.Z)(a().mark((function e(t){var n,r,o=arguments;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=o.length>1&&void 0!==o[1]?o[1]:{},r=(0,l.s)(t,"recoverPassword"),e.abrupt("return",(0,s.K)(t,c(c({},n),r)));case 3:case"end":return e.stop()}}),e)}))),d.apply(this,arguments)}},8826:function(e,t,n){"use strict";n.d(t,{z:function(){return h}});var r=n(4942),o=n(5861),i=n(7757),a=n.n(i),s=n(5832),l=n(2620),u=n(2473),c=n(9123),f=n(7595);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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e){return m.apply(this,arguments)}function m(){return m=(0,o.Z)(a().mark((function e(t){var n,r,o,i,d=arguments;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=d.length>1&&void 0!==d[1]?d[1]:{},(0,l.$0)(t)){e.next=11;break}return e.next=4,(0,u.Y)(t,p(p({},n),{},{flow:"register",autoRemediate:!1}));case 4:if(r=e.sent,o=r.enabledFeatures,i=r.availableSteps,n.activationToken||!o||o.includes(f.Fw.REGISTRATION)){e.next=9;break}throw new c.Z("Registration is not supported based on your current org configuration.");case 9:if(!n.activationToken||null==i||!i.some((function(e){return"identify"===e.name}))){e.next=11;break}throw new c.Z("activationToken is not supported based on your current org configuration.");case 11:return e.abrupt("return",(0,s.K)(t,p(p({},n),{},{flow:"register"})));case 12:case"end":return e.stop()}}),e)}))),m.apply(this,arguments)}},2541:function(e,t,n){"use strict";n.d(t,{q:function(){return h}});var r=n(5671),o=n(3144),i=n(1752),a=n(136),s=n(2963),l=n(1120),u=n(4942),c=n(4794),f=n(6064);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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,u.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=function(e){(0,a.Z)(c,e);var t,n,u=(t=c,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,l.Z)(t);if(n){var o=(0,l.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,s.Z)(this,e)});function c(){return(0,r.Z)(this,c),u.apply(this,arguments)}return(0,o.Z)(c,[{key:"mapAuthenticator",value:function(){var e=this.getAuthenticatorData();return{id:(0,f.zg)(this.remediation).form.value.find((function(e){return"id"===e.name})).value,methodType:e.methodType,phoneNumber:e.phoneNumber}}},{key:"getInputAuthenticator",value:function(e){return[{name:"methodType",type:"string"},{name:"phoneNumber",label:"Phone Number",type:"string"}].map((function(t){return p(p({},e.form.value.find((function(e){return e.name===t.name}))),t)}))}},{key:"mapAuthenticatorDataFromValues",value:function(e){e=(0,i.Z)((0,l.Z)(c.prototype),"mapAuthenticatorDataFromValues",this).call(this,e);var t=this.values.phoneNumber;if(e||t)return p(p({},e&&e),t&&{phoneNumber:t})}}]),c}(c.a);(0,u.Z)(h,"remediationName","authenticator-enrollment-data")},5278:function(e,t,n){"use strict";n.d(t,{q:function(){return p}});var r=n(2982),o=n(5671),i=n(3144),a=n(1752),s=n(136),l=n(2963),u=n(1120),c=n(4942);function f(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 d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,c.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=function(e){(0,s.Z)(p,e);var t,n,f=(t=p,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,u.Z)(t);if(n){var o=(0,u.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,l.Z)(this,e)});function p(){return(0,o.Z)(this,p),f.apply(this,arguments)}return(0,i.Z)(p,[{key:"mapAuthenticator",value:function(){return this.getAuthenticatorData()}},{key:"getInputAuthenticator",value:function(){var e=this.getAuthenticatorFromRemediation(),t=e.form.value.find((function(e){return"methodType"===e.name}));return t&&t.options?{name:"methodType",type:"string",required:!0,options:t.options}:(0,r.Z)(e.form.value)}},{key:"getValuesAfterProceed",value:function(){var e=this;return this.values=(0,a.Z)((0,u.Z)(p.prototype),"getValuesAfterProceed",this).call(this),Object.keys(this.values).filter((function(e){return"authenticator"!==e})).reduce((function(t,n){return d(d({},t),{},(0,c.Z)({},n,e.values[n]))}),{})}}]),p}(n(4794).a);(0,c.Z)(p,"remediationName","authenticator-verification-data")},4794:function(e,t,n){"use strict";n.d(t,{a:function(){return v}});var r=n(5671),o=n(3144),i=n(7326),a=n(1752),s=n(136),l=n(2963),u=n(1120),c=n(4942),f=n(3118),d=n(7595),p=n(9344);function h(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;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){(0,c.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=function(e){(0,s.Z)(h,e);var t,n,f=(t=h,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,u.Z)(t);if(n){var o=(0,u.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,l.Z)(this,e)});function h(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,r.Z)(this,h),t=f.call(this,e,n),(0,c.Z)((0,i.Z)(t),"authenticator",void 0),t.authenticator=t.getAuthenticator(),t.formatAuthenticatorData(),t}return(0,o.Z)(h,[{key:"formatAuthenticatorData",value:function(){var e=this;if(this.getAuthenticatorData())this.values.authenticatorsData=this.values.authenticatorsData.map((function(t){return(0,p.PN)(e.authenticator,t)?e.mapAuthenticatorDataFromValues(t):t}));else{var t=this.mapAuthenticatorDataFromValues();t&&this.values.authenticatorsData.push(t)}}},{key:"getAuthenticatorData",value:function(){var e=this;return this.values.authenticatorsData.find((function(t){return(0,p.PN)(e.authenticator,t)}))}},{key:"canRemediate",value:function(){var e=this;return this.values.authenticatorsData.some((function(t){return(0,p.PN)(e.authenticator,t)}))}},{key:"mapAuthenticatorDataFromValues",value:function(e){var t=this.values,n=t.methodType,r=t.authenticator;!n&&(0,d.H)(r)&&(n=null==r?void 0:r.methodType);var o=this.authenticator,i=m(m({id:o.id,enrollmentId:o.enrollmentId},e&&e),n&&{methodType:n});return i.methodType?i:null}},{key:"getAuthenticatorFromRemediation",value:function(){return this.remediation.value.find((function(e){return"authenticator"===e.name}))}},{key:"getValuesAfterProceed",value:function(){var e=this;this.values=(0,a.Z)((0,u.Z)(h.prototype),"getValuesAfterProceed",this).call(this);var t=this.values.authenticatorsData.filter((function(t){return!0!==(0,p.PN)(e.authenticator,t)}));return m(m({},this.values),{},{authenticatorsData:t})}}]),h}(f.n)},3118:function(e,t,n){"use strict";n.d(t,{n:function(){return p}});var r=n(2982),o=n(1002),i=n(5671),a=n(3144),s=n(4942),l=n(6064),u=n(9344);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(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 d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,s.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,i.Z)(this,e),(0,s.Z)(this,"remediation",void 0),(0,s.Z)(this,"values",void 0),(0,s.Z)(this,"options",void 0),(0,s.Z)(this,"map",void 0),this.values=d({},n),this.options=d({},r),this.formatAuthenticators(),this.remediation=t}return(0,a.Z)(e,[{key:"formatAuthenticators",value:function(){if(this.values.authenticators=this.values.authenticators||[],this.values.authenticators=this.values.authenticators.map((function(e){return(0,u.LL)(e)})),this.values.authenticator){var e=(0,u.LL)(this.values.authenticator);this.values.authenticators.some((function(t){return(0,u.PN)(e,t)}))||this.values.authenticators.push(e)}this.values.authenticatorsData=this.values.authenticators.reduce((function(e,t){return"object"===(0,o.Z)(t)&&Object.keys(t).length>1&&e.push(t),e}),this.values.authenticatorsData||[])}},{key:"getName",value:function(){return this.remediation.name}},{key:"canRemediate",value:function(){var e=this;return!(0,l.QG)(this.remediation).find((function(t){return!e.hasData(t)}))}},{key:"getData",value:function(e){var t=this;if(!e){var n=(0,l.ix)(this.remediation).reduce((function(e,n){return e[n]=t.getData(n),e}),{});return n}if("function"==typeof this["map".concat((0,l.Qs)(e))]){var r=this["map".concat((0,l.Qs)(e))](this.remediation.value.find((function(t){return t.name===e})));if(r)return r}if(this.map&&this.map[e])for(var o=this.map[e],i=0;i<o.length;i++){var a=this.values[o[i]];if(a)return a}return this.values[e]}},{key:"hasData",value:function(e){return!!this.getData(e)}},{key:"getNextStep",value:function(e,t){var n=this.getName(),r=this.getInputs(),o=this.getAuthenticator(),i=null==o?void 0:o.type;return d(d({name:n,inputs:r},i&&{type:i}),o&&{authenticator:o})}},{key:"getInputs",value:function(){var e=this,t=[];return(this.remediation.value||[]).forEach((function(n){var r,o=n.name,i=n.type,a=n.visible,s=n.messages;if(!1!==a){if("function"==typeof e["getInput".concat((0,l.Qs)(o))])r=e["getInput".concat((0,l.Qs)(o))](n);else if("object"!==i){var u,c=(e.map?e.map[o]:null)||[];u=1===c.length?c[0]:c.find((function(t){return Object.keys(e.values).includes(t)})),u&&(r=d(d({},n),{},{name:u}))}r||(r=n),Array.isArray(r)?r.forEach((function(e){return t.push(e)})):(s&&(r.messages=s),t.push(r))}})),t}},{key:"getValuesAfterProceed",value:function(){var e,t=this.remediation.value||[],n=this.getInputs(),o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}([].concat((0,r.Z)(t),(0,r.Z)(n)));try{for(o.s();!(e=o.n()).done;){var i=e.value;delete this.values[i.name]}}catch(e){o.e(e)}finally{o.f()}return this.values}},{key:"getAuthenticator",value:function(){var e,t,n=null===(e=this.remediation.relatesTo)||void 0===e?void 0:e.value;if(n){var r=(0,l.zg)(this.remediation);if(!r)return n;var o=r.form.value.find((function(e){return"id"===e.name})).value,i=null===(t=r.form.value.find((function(e){return"enrollmentId"===e.name})))||void 0===t?void 0:t.value;return d(d({},n),{},{id:o,enrollmentId:i})}}}],[{key:"getMessages",value:function(e){var t,n;if(e.value)return null===(t=e.value[0])||void 0===t||null===(n=t.form)||void 0===n?void 0:n.value.reduce((function(e,t){return t.messages&&(e=[].concat((0,r.Z)(e),(0,r.Z)(t.messages.value))),e}),[])}}]),e}();(0,s.Z)(p,"remediationName",void 0)},9164:function(e,t,n){"use strict";n.d(t,{n:function(){return y}});var r=n(5671),o=n(3144),i=n(7326),a=n(1752),s=n(136),l=n(2963),u=n(1120),c=n(4942),f=n(3118),d=n(6064),p=n(7595),h=n(9344);function m(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){(0,c.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var y=function(e){(0,s.Z)(m,e);var t,n,f=(t=m,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,u.Z)(t);if(n){var o=(0,u.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,l.Z)(this,e)});function m(){var e;(0,r.Z)(this,m);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return e=f.call.apply(f,[this].concat(n)),(0,c.Z)((0,i.Z)(e),"selectedAuthenticator",void 0),(0,c.Z)((0,i.Z)(e),"selectedOption",void 0),e}return(0,o.Z)(m,[{key:"findMatchedOption",value:function(e,t){var n,r,o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(e);try{var i=function(){var e=r.value;if(n=t.find((function(t){return t.relatesTo.key===e.key})))return"break"};for(o.s();!(r=o.n()).done&&"break"!==i(););}catch(e){o.e(e)}finally{o.f()}return n}},{key:"canRemediate",value:function(){var e=this.values,t=e.authenticators,n=e.authenticator,r=(0,d.zg)(this.remediation).options;return!!(t&&t.length&&((0,p.H)(n)&&n.id||this.findMatchedOption(t,r)))}},{key:"mapAuthenticator",value:function(e){var t=this.values,n=t.authenticators,r=t.authenticator;if((0,p.H)(r)&&r.id)return this.selectedAuthenticator=r,r;var o=e.options,i=(0,h.h_)(n,o);return this.selectedAuthenticator=i.relatesTo,this.selectedOption=i,{id:null==i?void 0:i.value.form.value.find((function(e){return"id"===e.name})).value}}},{key:"getInputAuthenticator",value:function(e){return{name:"authenticator",type:"string",options:e.options.map((function(e){return{label:e.label,value:e.relatesTo.key}}))}}},{key:"getValuesAfterProceed",value:function(){var e=this;this.values=(0,a.Z)((0,u.Z)(m.prototype),"getValuesAfterProceed",this).call(this);var t=this.values.authenticators.filter((function(t){return!0!==(0,h.PN)(t,e.selectedAuthenticator)}));return v(v({},this.values),{},{authenticators:t})}}]),m}(f.n)},9883:function(e,t,n){"use strict";n.d(t,{Q:function(){return x}});var r=n(5671),o=n(3144),i=n(7326),a=n(1752),s=n(136),l=n(2963),u=n(1120),c=n(4942),f=n(3118),d=n(7644);function p(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 h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,c.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m=function(e){(0,s.Z)(a,e);var t,n,i=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,u.Z)(t);if(n){var o=(0,u.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,l.Z)(this,e)});function a(){return(0,r.Z)(this,a),i.apply(this,arguments)}return(0,o.Z)(a,[{key:"canVerify",value:function(e){return!!(e.credentials||e.verificationCode||e.otp)}},{key:"mapCredentials",value:function(e){var t=e.credentials,n=e.verificationCode,r=e.otp;if(t||n||r)return t||{passcode:n||r}}},{key:"getInputs",value:function(e){var t;return h(h({},null===(t=e.form)||void 0===t?void 0:t.value[0]),{},{name:"verificationCode",type:"string",required:e.required})}}]),a}(d._),v=function(e){(0,s.Z)(a,e);var t,n,i=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,u.Z)(t);if(n){var o=(0,u.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,l.Z)(this,e)});function a(){return(0,r.Z)(this,a),i.apply(this,arguments)}return(0,o.Z)(a,[{key:"mapCredentials",value:function(e){var t=e.verificationCode;if(t)return{totp:t}}}]),a}(m),g=n(9582),y=function(e){(0,s.Z)(a,e);var t,n,i=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,u.Z)(t);if(n){var o=(0,u.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,l.Z)(this,e)});function a(){return(0,r.Z)(this,a),i.apply(this,arguments)}return(0,o.Z)(a,[{key:"canVerify",value:function(e){var t=e.credentials;if(t&&t.questionKey&&t.answer)return!0;var n=e.questionKey,r=e.question,o=e.answer;return!(!n||!o)||!(!r||!o)}},{key:"mapCredentials",value:function(e){var t=e.questionKey,n=e.question,r=e.answer;if(r&&(t||n))return{questionKey:n?"custom":t,question:n,answer:r}}},{key:"getInputs",value:function(){return[{name:"questionKey",type:"string",required:!0},{name:"question",type:"string",label:"Create a security question"},{name:"answer",type:"string",label:"Answer",required:!0}]}}]),a}(d._),b=function(e){(0,s.Z)(a,e);var t,n,i=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,u.Z)(t);if(n){var o=(0,u.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,l.Z)(this,e)});function a(){return(0,r.Z)(this,a),i.apply(this,arguments)}return(0,o.Z)(a,[{key:"canVerify",value:function(e){var t=e.credentials;return!(!t||!t.answer)||!!e.answer}},{key:"mapCredentials",value:function(e){var t=e.answer;if(t)return{questionKey:this.meta.contextualData.enrolledQuestion.questionKey,answer:t}}},{key:"getInputs",value:function(){return[{name:"answer",type:"string",label:"Answer",required:!0}]}}]),a}(d._),_=function(e){(0,s.Z)(a,e);var t,n,i=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,u.Z)(t);if(n){var o=(0,u.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,l.Z)(this,e)});function a(){return(0,r.Z)(this,a),i.apply(this,arguments)}return(0,o.Z)(a,[{key:"canVerify",value:function(e){var t=e.credentials||e,n=t.clientData,r=t.attestation;return!(!n||!r)}},{key:"mapCredentials",value:function(e){var t=e.credentials,n=e.clientData,r=e.attestation;if(t||n||r)return t||{clientData:n,attestation:r}}},{key:"getInputs",value:function(){return[{name:"clientData",type:"string",required:!0,visible:!1,label:"Client Data"},{name:"attestation",type:"string",required:!0,visible:!1,label:"Attestation"}]}}]),a}(d._),w=function(e){(0,s.Z)(a,e);var t,n,i=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,u.Z)(t);if(n){var o=(0,u.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,l.Z)(this,e)});function a(){return(0,r.Z)(this,a),i.apply(this,arguments)}return(0,o.Z)(a,[{key:"canVerify",value:function(e){var t=e.credentials||e,n=t.clientData,r=t.authenticatorData,o=t.signatureData;return!!(n&&r&&o)}},{key:"mapCredentials",value:function(e){var t=e.credentials,n=e.authenticatorData,r=e.clientData,o=e.signatureData;if(t||n||r||o)return t||{authenticatorData:n,clientData:r,signatureData:o}}},{key:"getInputs",value:function(){return[{name:"authenticatorData",type:"string",label:"Authenticator Data",required:!0,visible:!1},{name:"clientData",type:"string",label:"Client Data",required:!0,visible:!1},{name:"signatureData",type:"string",label:"Signature Data",required:!0,visible:!1}]}}]),a}(d._),O=n(7595);function k(e){var t,n,r=e.relatesTo,o=(null==r?void 0:r.value)||{};switch(o.key){case O.pc.OKTA_PASSWORD:return new g.a(o);case O.pc.SECURITY_QUESTION:return null!==(t=o.contextualData)&&void 0!==t&&t.enrolledQuestion?new b(o):new y(o);case O.pc.OKTA_VERIFY:return new v(o);case O.pc.WEBAUTHN:return null!==(n=o.contextualData)&&void 0!==n&&n.challengeData?new w(o):new _(o);default:return new m(o)}}function E(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 S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){(0,c.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var x=function(e){(0,s.Z)(d,e);var t,n,f=(t=d,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,u.Z)(t);if(n){var o=(0,u.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,l.Z)(this,e)});function d(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,r.Z)(this,d),t=f.call(this,e,n),(0,c.Z)((0,i.Z)(t),"authenticator",void 0),t.authenticator=k(e),t}return(0,o.Z)(d,[{key:"getNextStep",value:function(e,t){var n,r=(0,a.Z)((0,u.Z)(d.prototype),"getNextStep",this).call(this,e,t),o=null==t||null===(n=t.authenticatorEnrollments)||void 0===n?void 0:n.value;return S(S({},r),{},{authenticatorEnrollments:o})}},{key:"canRemediate",value:function(){return this.authenticator.canVerify(this.values)}},{key:"mapCredentials",value:function(){return this.authenticator.mapCredentials(this.values)}},{key:"getInputCredentials",value:function(e){return this.authenticator.getInputs(e)}},{key:"getValuesAfterProceed",value:function(){var e=this;return this.values=(0,a.Z)((0,u.Z)(d.prototype),"getValuesAfterProceed",this).call(this),Object.keys(this.values).filter((function(e){return"credentials"!==e})).reduce((function(t,n){return S(S({},t),{},(0,c.Z)({},n,e.values[n]))}),{})}}]),d}(f.n)},4560:function(e,t,n){"use strict";n.d(t,{J:function(){return l}});var r=n(5671),o=n(136),i=n(2963),a=n(1120),s=n(4942),l=function(e){(0,o.Z)(l,e);var t,n,s=(t=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,a.Z)(t);if(n){var o=(0,a.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,i.Z)(this,e)});function l(){return(0,r.Z)(this,l),s.apply(this,arguments)}return l}(n(9883).Q);(0,s.Z)(l,"remediationName","challenge-authenticator")},1104:function(e,t,n){"use strict";n.d(t,{U:function(){return u}});var r=n(5671),o=n(3144),i=n(136),a=n(2963),s=n(1120),l=n(4942),u=function(e){(0,i.Z)(u,e);var t,n,l=(t=u,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var o=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function u(){return(0,r.Z)(this,u),l.apply(this,arguments)}return(0,o.Z)(u,[{key:"canRemediate",value:function(){return!!this.values.startPolling||"challenge-poll"===this.options.step}}]),u}(n(2288).T);(0,l.Z)(u,"remediationName","challenge-poll")},3857:function(e,t,n){"use strict";n.d(t,{q:function(){return l}});var r=n(5671),o=n(136),i=n(2963),a=n(1120),s=n(4942),l=function(e){(0,o.Z)(l,e);var t,n,s=(t=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,a.Z)(t);if(n){var o=(0,a.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,i.Z)(this,e)});function l(){return(0,r.Z)(this,l),s.apply(this,arguments)}return l}(n(9883).Q);(0,s.Z)(l,"remediationName","enroll-authenticator")},2288:function(e,t,n){"use strict";n.d(t,{T:function(){return d}});var r=n(5671),o=n(3144),i=n(1752),a=n(136),s=n(2963),l=n(1120),u=n(4942);function c(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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,u.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=function(e){(0,a.Z)(d,e);var t,n,c=(t=d,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,l.Z)(t);if(n){var o=(0,l.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,s.Z)(this,e)});function d(){return(0,r.Z)(this,d),c.apply(this,arguments)}return(0,o.Z)(d,[{key:"canRemediate",value:function(){return!!this.values.startPolling||"enroll-poll"===this.options.step}},{key:"getNextStep",value:function(e,t){var n=(0,i.Z)((0,l.Z)(d.prototype),"getNextStep",this).call(this,e,t),r=this.getAuthenticator();return!r&&null!=t&&t.currentAuthenticator&&(r=t.currentAuthenticator.value),f(f({},n),{},{authenticator:r,poll:{required:!0,refresh:this.remediation.refresh}})}},{key:"getValuesAfterProceed",value:function(){var e=this;return Object.keys(this.values).filter((function(e){return"startPolling"!==e})).reduce((function(t,n){return f(f({},t),{},(0,u.Z)({},n,e.values[n]))}),{})}}]),d}(n(3118).n);(0,u.Z)(d,"remediationName","enroll-poll")},7522:function(e,t,n){"use strict";n.d(t,{w:function(){return m}});var r=n(2982),o=n(5671),i=n(3144),a=n(7326),s=n(136),l=n(2963),u=n(1120),c=n(4942),f=n(3118),d=n(9582);function p(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 h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,c.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m=function(e){(0,s.Z)(p,e);var t,n,f=(t=p,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,u.Z)(t);if(n){var o=(0,u.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,l.Z)(this,e)});function p(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,o.Z)(this,p),t=f.call(this,e,n,r),(0,c.Z)((0,a.Z)(t),"authenticator",null),t.getCredentialsFromRemediation()&&(t.authenticator=t.authenticator=new d.a({})),t}return(0,i.Z)(p,[{key:"canRemediate",value:function(){if(this.authenticator&&!this.authenticator.canVerify(this.values))return!1;var e=this.getData().userProfile;return!!e&&this.remediation.value.find((function(e){return"userProfile"===e.name})).form.value.reduce((function(t,n){return n.required&&(t=t&&!!e[n.name]),t}),!0)}},{key:"getCredentialsFromRemediation",value:function(){return this.remediation.value.find((function(e){return"credentials"===e.name}))}},{key:"mapUserProfile",value:function(e){var t=this,n=e.form.value.map((function(e){return e.name})).reduce((function(e,n){return t.values[n]?h(h({},e),{},(0,c.Z)({},n,t.values[n])):e}),{});if(0!==Object.keys(n).length)return n}},{key:"mapCredentials",value:function(){var e=this.authenticator&&this.authenticator.mapCredentials(this.values);if(e)return e}},{key:"getInputUserProfile",value:function(e){return(0,r.Z)(e.form.value)}},{key:"getInputCredentials",value:function(e){return(0,r.Z)(e.form.value)}},{key:"getErrorMessages",value:function(e){return e.value[0].form.value.reduce((function(e,t){return t.messages&&e.push(t.messages.value[0].message),e}),[])}}]),p}(f.n);(0,c.Z)(m,"remediationName","enroll-profile")},3679:function(e,t,n){"use strict";n.d(t,{t:function(){return d}});var r=n(5671),o=n(3144),i=n(1752),a=n(136),s=n(2963),l=n(1120),u=n(4942);function c(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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,u.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=function(e){(0,a.Z)(d,e);var t,n,c=(t=d,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,l.Z)(t);if(n){var o=(0,l.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,s.Z)(this,e)});function d(){return(0,r.Z)(this,d),c.apply(this,arguments)}return(0,o.Z)(d,[{key:"getInputEmail",value:function(){return[{name:"email",type:"string",required:!0,label:"Email"}]}},{key:"getInputPhoneNumber",value:function(){return[{name:"phoneNumber",type:"string",required:!0,label:"Phone Number"}]}},{key:"canRemediate",value:function(){return Boolean(this.values.email||this.values.phoneNumber)}},{key:"getNextStep",value:function(e,t){var n=(0,i.Z)((0,l.Z)(d.prototype),"getNextStep",this).call(this,e,t),r=t.currentAuthenticator.value;return f(f({},n),{},{authenticator:r})}},{key:"getData",value:function(){return{stateHandle:this.values.stateHandle,email:this.values.email,phoneNumber:this.values.phoneNumber}}},{key:"getValuesAfterProceed",value:function(){var e=this;return Object.keys(this.values).filter((function(e){return!["email","phoneNumber"].includes(e)})).reduce((function(t,n){return f(f({},t),{},(0,u.Z)({},n,e.values[n]))}),{})}}]),d}(n(3118).n);(0,u.Z)(d,"remediationName","enrollment-channel-data")},8628:function(e,t,n){"use strict";n.d(t,{h:function(){return d}});var r=n(5671),o=n(3144),i=n(7326),a=n(136),s=n(2963),l=n(1120),u=n(4942);function c(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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,u.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=function(e){(0,a.Z)(d,e);var t,n,c=(t=d,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,l.Z)(t);if(n){var o=(0,l.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,s.Z)(this,e)});function d(){var e;(0,r.Z)(this,d);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return e=c.call.apply(c,[this].concat(n)),(0,u.Z)((0,i.Z)(e),"map",{identifier:["username"]}),e}return(0,o.Z)(d,[{key:"canRemediate",value:function(){return!!this.getData().identifier}},{key:"mapCredentials",value:function(){var e=this.values,t=e.credentials,n=e.password;if(t||n)return t||{passcode:n}}},{key:"getInputCredentials",value:function(e){return f(f({},e.form.value[0]),{},{name:"password",required:e.required})}}]),d}(n(3118).n);(0,u.Z)(d,"remediationName","identify")},9024:function(e,t,n){"use strict";n.d(t,{j:function(){return f}});var r=n(5671),o=n(3144),i=n(136),a=n(2963),s=n(1120),l=n(4942);function u(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 c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,l.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=function(e){(0,i.Z)(u,e);var t,n,l=(t=u,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var o=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function u(){return(0,r.Z)(this,u),l.apply(this,arguments)}return(0,o.Z)(u,[{key:"mapCredentials",value:function(){var e=this.values.newPassword;if(e)return{passcode:e}}},{key:"getInputCredentials",value:function(e){var t="password"===this.getAuthenticator().type?"newPassword":"verificationCode";return c(c({},e.form.value[0]),{},{name:t})}}]),u}(n(3118).n);(0,l.Z)(f,"remediationName","reenroll-authenticator")},8490:function(e,t,n){"use strict";n.d(t,{O:function(){return u}});var r=n(5671),o=n(3144),i=n(136),a=n(2963),s=n(1120),l=n(4942),u=function(e){(0,i.Z)(u,e);var t,n,l=(t=u,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var o=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function u(){return(0,r.Z)(this,u),l.apply(this,arguments)}return(0,o.Z)(u,[{key:"canRemediate",value:function(){return!1}},{key:"getNextStep",value:function(){var e=this.remediation;return{name:e.name,type:e.type,idp:e.idp,href:e.href}}}]),u}(n(3118).n);(0,l.Z)(u,"remediationName","redirect-idp")},1019:function(e,t,n){"use strict";n.d(t,{G:function(){return l}});var r=n(5671),o=n(136),i=n(2963),a=n(1120),s=n(4942),l=function(e){(0,o.Z)(l,e);var t,n,s=(t=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,a.Z)(t);if(n){var o=(0,a.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,i.Z)(this,e)});function l(){return(0,r.Z)(this,l),s.apply(this,arguments)}return l}(n(9883).Q);(0,s.Z)(l,"remediationName","reset-authenticator")},7311:function(e,t,n){"use strict";n.d(t,{X:function(){return d}});var r=n(2982),o=n(5671),i=n(136),a=n(2963),s=n(1120),l=n(4942),u=n(9164),c=n(6064),f=n(7595),d=function(e){(0,i.Z)(u,e);var t,n,l=(t=u,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var o=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function u(e){var t,n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,o.Z)(this,u);var s="recoverPassword"===(n=l.call(this,e,i,a)).options.flow,d=null===(t=(0,c.zg)(e).options)||void 0===t?void 0:t.some((function(e){var t=e.relatesTo;return(null==t?void 0:t.key)===f.pc.OKTA_PASSWORD}));return d&&(s||n.values.password)&&(n.values.authenticators=[].concat((0,r.Z)(n.values.authenticators||[]),[{key:f.pc.OKTA_PASSWORD}])),n}return u}(u.n);(0,l.Z)(d,"remediationName","select-authenticator-authenticate")},9865:function(e,t,n){"use strict";n.d(t,{j:function(){return l}});var r=n(5671),o=n(136),i=n(2963),a=n(1120),s=n(4942),l=function(e){(0,o.Z)(l,e);var t,n,s=(t=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,a.Z)(t);if(n){var o=(0,a.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,i.Z)(this,e)});function l(){return(0,r.Z)(this,l),s.apply(this,arguments)}return l}(n(9164).n);(0,s.Z)(l,"remediationName","select-authenticator-enroll")},5272:function(e,t,n){"use strict";n.d(t,{G:function(){return p}});var r=n(5671),o=n(3144),i=n(7326),a=n(1752),s=n(136),l=n(2963),u=n(1120),c=n(4942);function f(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 d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,c.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=function(e){(0,s.Z)(p,e);var t,n,f=(t=p,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,u.Z)(t);if(n){var o=(0,u.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,l.Z)(this,e)});function p(){var e;(0,r.Z)(this,p);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return e=f.call.apply(f,[this].concat(n)),(0,c.Z)((0,i.Z)(e),"authenticator",void 0),(0,c.Z)((0,i.Z)(e),"map",{identifier:["username"]}),e}return(0,o.Z)(p,[{key:"canRemediate",value:function(){return!!this.getData("identifier")&&(0,a.Z)((0,u.Z)(p.prototype),"canRemediate",this).call(this)}},{key:"mapAuthenticator",value:function(e){var t,n,r,o=(0,a.Z)((0,u.Z)(p.prototype),"mapAuthenticator",this).call(this,e),i=null===(t=this.selectedOption)||void 0===t?void 0:t.value.form.value.find((function(e){return"methodType"===e.name})),s=this.values.methodType||(null==i?void 0:i.value)||(null==i||null===(n=i.options)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.value);return s?d(d({},o),{},{methodType:s}):o}},{key:"getInputUsername",value:function(){return{name:"username",type:"string"}}}]),p}(n(9164).n);(0,c.Z)(p,"remediationName","select-authenticator-unlock-account")},4713:function(e,t,n){"use strict";n.d(t,{j:function(){return u}});var r=n(5671),o=n(3144),i=n(136),a=n(2963),s=n(1120),l=n(4942),u=function(e){(0,i.Z)(u,e);var t,n,l=(t=u,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var o=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function u(){return(0,r.Z)(this,u),l.apply(this,arguments)}return(0,o.Z)(u,[{key:"canRemediate",value:function(){return!0}}]),u}(n(3118).n);(0,l.Z)(u,"remediationName","select-enroll-profile")},3403:function(e,t,n){"use strict";n.d(t,{V:function(){return d}});var r=n(5671),o=n(3144),i=n(1752),a=n(136),s=n(2963),l=n(1120),u=n(4942);function c(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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,u.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=function(e){(0,a.Z)(d,e);var t,n,c=(t=d,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,l.Z)(t);if(n){var o=(0,l.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,s.Z)(this,e)});function d(){return(0,r.Z)(this,d),c.apply(this,arguments)}return(0,o.Z)(d,[{key:"canRemediate",value:function(){if(this.values.channel)return!0;if(this.values.authenticator){var e=this.values.authenticator,t=e.id,n=e.channel;if(t&&n)return!0}return!1}},{key:"getNextStep",value:function(e,t){var n=(0,i.Z)((0,l.Z)(d.prototype),"getNextStep",this).call(this,e,t),r=t.currentAuthenticator.value;return f(f({},n),{},{authenticator:r})}},{key:"getData",value:function(){var e;return{authenticator:{id:this.remediation.value[0].value.form.value[0].value,channel:(null===(e=this.values.authenticator)||void 0===e?void 0:e.channel)||this.values.channel},stateHandle:this.values.stateHandle}}},{key:"getValuesAfterProceed",value:function(){var e=this;this.values=(0,i.Z)((0,l.Z)(d.prototype),"getValuesAfterProceed",this).call(this),delete this.values.authenticators;var t=this.values.channel?"channel":"authenticator";return Object.keys(this.values).filter((function(e){return e!==t})).reduce((function(t,n){return f(f({},t),{},(0,u.Z)({},n,e.values[n]))}),{})}}]),d}(n(3118).n);(0,u.Z)(d,"remediationName","select-enrollment-channel")},8443:function(e,t,n){"use strict";n.d(t,{h:function(){return u}});var r=n(5671),o=n(3144),i=n(136),a=n(2963),s=n(1120),l=n(4942),u=function(e){(0,i.Z)(u,e);var t,n,l=(t=u,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var o=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function u(){return(0,r.Z)(this,u),l.apply(this,arguments)}return(0,o.Z)(u,[{key:"canRemediate",value:function(){return!!this.values.skip||"skip"===this.options.step}}]),u}(n(3118).n);(0,l.Z)(u,"remediationName","skip")},6064:function(e,t,n){"use strict";function r(e){var t;return null===(t=e.value)||void 0===t?void 0:t.map((function(e){return e.name}))}function o(e){var t;return null===(t=e.value)||void 0===t?void 0:t.reduce((function(e,t){return t.required&&e.push(t.name),e}),[])}function i(e){return e.charAt(0).toUpperCase()+e.substring(1)}function a(e){return e.value.find((function(e){return"authenticator"===e.name}))}n.d(t,{ix:function(){return r},QG:function(){return o},Qs:function(){return i},zg:function(){return a}})},5832:function(e,t,n){"use strict";n.d(t,{K:function(){return Re}});var r={};n.r(r),n.d(r,{AuthenticatorEnrollmentData:function(){return M.q},AuthenticatorVerificationData:function(){return I.q},ChallengeAuthenticator:function(){return O.J},ChallengePoll:function(){return k.U},EnrollAuthenticator:function(){return y.q},EnrollPoll:function(){return b.T},EnrollProfile:function(){return S.w},EnrollmentChannelData:function(){return w.t},GenericRemediator:function(){return W},Identify:function(){return x.h},ReEnrollAuthenticator:function(){return T.j},RedirectIdp:function(){return A.O},Remediator:function(){return g.n},ResetAuthenticator:function(){return E.G},SelectAuthenticatorAuthenticate:function(){return C.X},SelectAuthenticatorEnroll:function(){return P.j},SelectAuthenticatorUnlockAccount:function(){return R.G},SelectEnrollProfile:function(){return N.j},SelectEnrollmentChannel:function(){return _.V},Skip:function(){return j.h}});var o=n(5861),i=n(4942),a=n(7757),s=n.n(a),l=n(6131),u=n(2660),c=n(1002),f=n(2982),d=n(9123),p=n(4925),h=n(885),m=n(8750),v=n(146),g=n(3118),y=n(3857),b=n(2288),_=n(3403),w=n(3679),O=n(4560),k=n(1104),E=n(1019),S=n(7522),x=n(8628),T=n(9024),A=n(8490),C=n(7311),P=n(9865),R=n(5272),N=n(4713),I=n(5278),M=n(2541),j=n(8443),L=n(5671),D=n(3144),F=n(136),U=n(2963),B=n(1120);function V(e){if(Array.isArray(e))return e.map((function(e){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e?e:V(e)}));for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var o=(0,h.Z)(r[n],2),i=o[0],a=o[1];if(null!=a)if("object"===(0,c.Z)(a)){var s=Object.keys(a);if(["value","form"].includes(i)&&1===s.length&&["value","form"].includes(s[0])){var l=V(a);Object.entries(l).forEach((function(e){var n=(0,h.Z)(e,2),r=n[0],o=n[1];t[r]=o}))}else t[i]=V(a)}else t[i]=a}return t}var H=["href","method","rel","accepts","produces","value","action"];function Z(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 q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Z(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var W=function(e){(0,F.Z)(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,B.Z)(t);if(n){var o=(0,B.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,U.Z)(this,e)});function i(){return(0,L.Z)(this,i),r.apply(this,arguments)}return(0,D.Z)(i,[{key:"canRemediate",value:function(){return!("function"!=typeof this.remediation.action||"poll"!==this.remediation.name&&!this.remediation.name.endsWith("-poll")&&!this.options.step)}},{key:"getData",value:function(){var e=this;return this.getInputs().reduce((function(t,n){var r=n.name;return t[r]=e.values[r],t}),{})}},{key:"getNextStep",value:function(e,t){var n,r=this.getName(),i=this.getInputs(),a=this.remediation,l=(a.href,a.method,a.rel,a.accepts,a.produces,a.value,a.action),u=(0,p.Z)(a,H);return l?q(q(q({},u),!!i.length&&{inputs:i}),{},{action:(n=(0,o.Z)(s().mark((function t(n){return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",e.idx.proceed(q({step:r},n)));case 1:case"end":return t.stop()}}),t)}))),function(e){return n.apply(this,arguments)})}):q({},this.remediation)}},{key:"getInputs",value:function(){return(this.remediation.value||[]).filter((function(e){return"stateHandle"!==e.name})).map(V).map((function(e){return e.type=e.type||"string",e}))}}]),i}(g.n),K=n(7595),G=["href","method","rel","accepts","produces"];function z(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 $(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Y(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return J(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?J(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function J(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Q(e){var t=e.neededToProceed,n=e.interactionCode;return!t.length&&!n}function X(e){if(e&&Array.isArray(e))return e.reduce((function(e,t){if(t.messages&&(e=[].concat((0,f.Z)(e),(0,f.Z)(t.messages.value))),t.form){var n=X(t.form.value)||[];e=[].concat((0,f.Z)(e),(0,f.Z)(n))}if(t.options){var r=[];t.options.forEach((function(e){e.value&&"string"!=typeof e.value&&(r=[].concat((0,f.Z)(r),[e.value]))}));var o=X(r)||[];e=[].concat((0,f.Z)(e),(0,f.Z)(o))}return e}),[])}function ee(e,t){var n,r=[],o=e.rawIdxState,i=e.neededToProceed,a=null===(n=o.messages)||void 0===n?void 0:n.value.map((function(e){return e}));if(a&&(r=[].concat((0,f.Z)(r),(0,f.Z)(a))),!t.useGenericRemediator){var s,l=Y(i);try{for(l.s();!(s=l.n()).done;){var u=X(s.value.value);u&&(r=[].concat((0,f.Z)(r),(0,f.Z)(u)))}}catch(e){l.e(e)}finally{l.f()}}var c={};return r.reduce((function(e,t){var n,r=null===(n=t.i18n)||void 0===n?void 0:n.key;return r&&c[r]?e:(c[r]=t,e=[].concat((0,f.Z)(e),[t]))}),[])}function te(e){var t=[],n=e.actions,r=e.neededToProceed;return n["currentAuthenticator-recover"]&&t.push(K.Fw.PASSWORD_RECOVERY),r.some((function(e){return"select-enroll-profile"===e.name}))&&t.push(K.Fw.REGISTRATION),r.some((function(e){return"redirect-idp"===e.name}))&&t.push(K.Fw.SOCIAL_IDP),r.some((function(e){return"unlock-account"===e.name}))&&t.push(K.Fw.ACCOUNT_UNLOCK),t}function ne(e,t,n){var i,a=[],l=Object.values(r).reduce((function(e,t){return t.remediationName&&(e[t.remediationName]=t),e}),{}),u=Y(t.neededToProceed);try{for(u.s();!(i=u.n()).done;){var c=i.value,f=oe(c,{useGenericRemediator:n,remediators:l});if(f){var d=new f(c);a.push(d.getNextStep(e,t.context))}}}catch(e){u.e(e)}finally{u.f()}for(var v=function(){var n,r=(0,h.Z)(y[g],1)[0],i={name:r,action:(n=(0,o.Z)(s().mark((function t(n){return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",e.idx.proceed({actions:[{name:r,params:n}]}));case 1:case"end":return t.stop()}}),t)}))),function(e){return n.apply(this,arguments)})};if(r.startsWith("currentAuthenticator")){var l,u=(0,m.YQ)(r,"-"),c=(0,h.Z)(u,2),f=c[0],d=c[1],v=t.rawIdxState[f].value[d],b=(v.href,v.method,v.rel,v.accepts,v.produces,(0,p.Z)(v,G)),_=null===(l=v.value)||void 0===l?void 0:l.filter((function(e){return"stateHandle"!==e.name}));i=$($($({},b),_&&{value:_}),i)}a.push(i)},g=0,y=Object.entries(t.actions||{});g<y.length;g++)v();return a}function re(e,t,n){var r=(e.neededToProceed||[]).find((function(e){return e.name===t}));return r?r.value.reduce((function(e,t){var r=t.name,o=t.value;return e[r]="stateHandle"===r?o:n[r],e}),{}):((0,v.ZK)('filterValuesForRemediation: "'.concat(t,'" did not match any remediations')),n)}function oe(e,t){var n=t.useGenericRemediator,r=t.remediators;if(e)return n?W:r[e.name]}function ie(e,t,n){var r,o=n.remediators,i=n.useGenericRemediator;if(!n.step){var a=[];if(i)a.push(new W(e[0],t,n));else{var s,l=Y(e);try{for(l.s();!(s=l.n()).done;){var u=s.value;if(Object.keys(o).includes(u.name)){if((r=new(oe(u,n))(u,t,n)).canRemediate())return r;a.push(r)}}}catch(e){l.e(e)}finally{l.f()}}return a[0]}var c=e.find((function(e){return e.name===n.step}));if(c){var f=oe(c,n);return f?new f(c,t,n):void 0}(0,v.ZK)('step "'.concat(n.step,'" did not match any remediations'))}function ae(e,t,n){var r=t.getNextStep(e,n.context),o=function(e){return e.neededToProceed.some((function(e){return"skip"===e.name}))}(n),i=function(e){return Object.keys(e.actions).some((function(e){return e.includes("resend")}))}(n);return $($($({},r),o&&{canSkip:o}),i&&{canResend:i})}function se(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Q(t),o=ee(t,n);if(r)return{idxResponse:t,terminal:r,messages:o};var i=ie(t.neededToProceed,{},n),a=i&&ae(e,i,t);return $({idxResponse:t,messages:o},a&&{nextStep:a})}function le(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return ue(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ue(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function ue(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ce(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 fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ce(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ce(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function de(e,t){return Object.keys(t.actions).find((function(t){return!!e.resend&&t.includes("-resend")}))}function pe(e){return fe(fe({},e),{},{resend:void 0})}function he(e,t){var n=e.actions||[];return n=n.filter((function(e){return"string"==typeof e?e!==t:e.name!==t})),fe(fe({},e),{},{actions:n})}function me(e,t,n,r){return ve.apply(this,arguments)}function ve(){return(ve=(0,o.Z)(s().mark((function e(t,n,r,o){var i,a,l,u,p,h,m,v,g,y,b,_,w,O,k,E,S,x;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=(i=n).neededToProceed,l=i.interactionCode,u=o.flow,!l){e.next=4;break}return e.abrupt("return",{idxResponse:n});case 4:if(p=ie(a,r,o),h=de(r,n),m=o.actions||[],!(v=[].concat((0,f.Z)(m),(0,f.Z)(h&&[h]||[])))){e.next=28;break}g=le(v),e.prev=10,b=s().mark((function e(){var i,l,u,c;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=y.value,l={},"string"!=typeof i&&(l=i.params||{},i=i.name),u=pe(r),c=he(o,i),"function"!=typeof n.actions[i]){e.next=14;break}return e.next=8,n.actions[i](l);case 8:if(!1!==(n=e.sent).requestDidSucceed){e.next=11;break}return e.abrupt("return",{v:se(t,n,o)});case 11:if("cancel"!==i){e.next=13;break}return e.abrupt("return",{v:{idxResponse:n,canceled:!0}});case 13:return e.abrupt("return",{v:me(t,n,u,c)});case 14:if(!a.find((function(e){return e.name===i}))){e.next=22;break}return e.next=18,n.proceed(i,l);case 18:if(!1!==(n=e.sent).requestDidSucceed){e.next=21;break}return e.abrupt("return",{v:se(t,n,o)});case 21:return e.abrupt("return",{v:me(t,n,r,c)});case 22:case"end":return e.stop()}}),e)})),g.s();case 13:if((y=g.n()).done){e.next=20;break}return e.delegateYield(b(),"t0",15);case 15:if(_=e.t0,"object"!==(0,c.Z)(_)){e.next=18;break}return e.abrupt("return",_.v);case 18:e.next=13;break;case 20:e.next=25;break;case 22:e.prev=22,e.t1=e.catch(10),g.e(e.t1);case 25:return e.prev=25,g.f(),e.finish(25);case 28:if(!(w=Q(n))){e.next=31;break}return e.abrupt("return",{idxResponse:n,terminal:w});case 31:if(p){e.next=43;break}if(!o.step){e.next=40;break}return r=re(n,o.step,r),e.next=36,n.proceed(o.step,r);case 36:if(!1!==(n=e.sent).requestDidSucceed){e.next=39;break}return e.abrupt("return",se(t,n,o));case 39:return e.abrupt("return",{idxResponse:n});case 40:if("default"!==u){e.next=42;break}return e.abrupt("return",{idxResponse:n});case 42:throw new d.Z("\n No remediation can match current flow, check policy settings in your org.\n Remediations: [".concat(a.reduce((function(e,t){return e?e+" ,"+t.name:t.name}),""),"]\n "));case 43:if(p.canRemediate()){e.next=46;break}return O=ae(t,p,n),e.abrupt("return",{idxResponse:n,nextStep:O});case 46:return k=p.getName(),E=p.getData(),e.next=50,n.proceed(k,E);case 50:if(!1!==(n=e.sent).requestDidSucceed){e.next=53;break}return e.abrupt("return",se(t,n,o));case 53:if(r=p.getValuesAfterProceed(),!(o=fe(fe({},o),{},{step:void 0})).useGenericRemediator||n.interactionCode||Q(n)){e.next=59;break}return S=ie(n.neededToProceed,r,o),x=ae(t,S,n),e.abrupt("return",{idxResponse:n,nextStep:x});case 59:return e.abrupt("return",me(t,n,r,o));case 60:case"end":return e.stop()}}),e,null,[[10,22,25,28]])})))).apply(this,arguments)}var ge=n(7738),ye=n(2620);function be(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 _e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?be(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function we(e){var t=_e({},e);return["flow","remediators","actions","withCredentials","step","useGenericRemediator","exchangeCodeForTokens"].forEach((function(e){delete t[e]})),t}function Oe(e,t){var n=t.options,r=n=_e(_e({},e.options.idx),n),o=r.flow,i=r.withCredentials,a=r.remediators,s=r.actions,l=K.Qd.PENDING;if(o=o||e.idx.getFlow()||"default"){e.idx.setFlow(o);var u=(0,ge.s)(e,o);i=void 0!==i?i:u.withCredentials,a=a||u.remediators,s=s||u.actions}return _e(_e({},t),{},{options:_e(_e({},n),{},{flow:o,withCredentials:i,remediators:a,actions:s}),status:l})}function ke(e,t){return Ee.apply(this,arguments)}function Ee(){return(Ee=(0,o.Z)(s().mark((function e(t,n){var r,o,i,a,c,f,d,p,h,m,v,g,y,b,_;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=n.options,o=r.stateHandle,i=r.withCredentials,a=r.version,c=r.state,f=r.scopes,d=r.recoveryToken,p=r.activationToken,h=r.maxAge,m=r.nonce,g=(0,ye.uN)(t,{state:c,recoveryToken:d,activationToken:p}),!o){e.next=9;break}return e.next=6,(0,u.L)(t,{withCredentials:i,version:a,stateHandle:o});case 6:v=e.sent,e.next=20;break;case 9:if(b=null===(y=g)||void 0===y?void 0:y.interactionHandle){e.next=17;break}return t.transactionManager.clear(),e.next=14,(0,l.E)(t,{withCredentials:i,state:c,scopes:f,activationToken:p,recoveryToken:d,maxAge:h,nonce:m});case 14:_=e.sent,b=_.interactionHandle,g=_.meta;case 17:return e.next=19,(0,u.L)(t,{withCredentials:i,version:a,interactionHandle:b});case 19:v=e.sent;case 20:return e.abrupt("return",_e(_e({},n),{},{idxResponse:v,meta:g}));case 21:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Se(e,t){return xe.apply(this,arguments)}function xe(){return(xe=(0,o.Z)(s().mark((function e(t,n){var r,o,i,a,l,u,c,f,d,p,h,m,v;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=n.idxResponse,o=n.options,i=n.values,a=o.autoRemediate,l=o.remediators,u=o.actions,c=o.flow,f=o.step,d=o.useGenericRemediator,!1!==a&&(l||u||f)){e.next=5;break}return e.abrupt("return",n);case 5:return i=_e(_e({},i),{},{stateHandle:r.rawIdxState.stateHandle}),e.next=8,me(t,r,i,{remediators:l,actions:u,flow:c,step:f,useGenericRemediator:d});case 8:return p=e.sent,h=p.idxResponse,m=p.nextStep,v=p.canceled,r=h,e.abrupt("return",_e(_e({},n),{},{idxResponse:r,nextStep:m,canceled:v}));case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Te(e,t){return Ae.apply(this,arguments)}function Ae(){return(Ae=(0,o.Z)(s().mark((function e(t,n){var r,o,i,a,l,u,c,f,d,p,h;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.meta,o=n.idxResponse,i=o.interactionCode,l=(a=r).clientId,u=a.codeVerifier,c=a.ignoreSignature,f=a.redirectUri,d=a.urls,p=a.scopes,e.next=5,t.token.exchangeCodeForTokens({interactionCode:i,clientId:l,codeVerifier:u,ignoreSignature:c,redirectUri:f,scopes:p},d);case 5:return h=e.sent,e.abrupt("return",h.tokens);case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ce(e,t){return Pe.apply(this,arguments)}function Pe(){return(Pe=(0,o.Z)(s().mark((function e(t,n){var r,o,i,a,l,u,c,f,d,p,h,m,v,g,y,b;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=n.options,o=n.idxResponse,i=n.canceled,a=n.status,l=r.exchangeCodeForTokens,u=!1,c=!1,f=!0,o&&(u=!(!o.requestDidSucceed&&!o.stepUp),h=te(o),m=ne(t,o,r.useGenericRemediator),v=ee(o,r),g=Q(o)),!g){e.next=15;break}a=K.Qd.TERMINAL,y=Object.keys(o.actions).length>0,b=!!v.find((function(e){return"ERROR"===e.class})),y||b||!0!==o.requestDidSucceed?u=!!y:c=!0,f=!1,e.next=32;break;case 15:if(!i){e.next=20;break}a=K.Qd.CANCELED,c=!0,e.next=32;break;case 20:if(null==o||!o.interactionCode){e.next=32;break}if(d=o.interactionCode,!1!==l){e.next=27;break}a=K.Qd.SUCCESS,c=!1,e.next=32;break;case 27:return e.next=29,Te(t,n);case 29:p=e.sent,a=K.Qd.SUCCESS,c=!0;case 32:return e.abrupt("return",_e(_e({},n),{},{status:a,interactionCode:d,tokens:p,shouldSaveResponse:u,shouldClearTransaction:c,clearSharedStorage:f,enabledFeatures:h,availableSteps:m,messages:v,terminal:g}));case 33:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Re(e){return Ne.apply(this,arguments)}function Ne(){return Ne=(0,o.Z)(s().mark((function e(t){var n,r,o,i,a,l,u,c,f,d,p,h,m,v,g,y,b,_,w,O,k,E,S,x,T,A,C,P,R=arguments;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=R.length>1&&void 0!==R[1]?R[1]:{},r={options:n,values:we(n)},r=Oe(t,r),e.next=5,ke(t,r);case 5:return r=e.sent,e.next=8,Se(t,r);case 8:return r=e.sent,e.next=11,Ce(t,r);case 11:return r=e.sent,i=(o=r).idxResponse,a=o.meta,l=o.shouldSaveResponse,u=o.shouldClearTransaction,c=o.clearSharedStorage,f=o.status,d=o.enabledFeatures,p=o.availableSteps,h=o.tokens,m=o.nextStep,v=o.messages,g=o.error,y=o.interactionCode,u?t.transactionManager.clear({clearSharedStorage:c}):((0,ye.r0)(t,_e({},a)),l&&(w=(_=i).rawIdxState,O=_.requestDidSucceed,t.transactionManager.saveIdxResponse({rawIdxResponse:w,requestDidSucceed:O,stateHandle:null===(b=i.context)||void 0===b?void 0:b.stateHandle,interactionHandle:null==a?void 0:a.interactionHandle}))),E=(k=i||{}).actions,S=k.context,x=k.neededToProceed,T=k.proceed,A=k.rawIdxState,C=k.requestDidSucceed,P=k.stepUp,e.abrupt("return",_e(_e(_e(_e(_e(_e(_e(_e(_e({status:f},a&&{meta:a}),d&&{enabledFeatures:d}),p&&{availableSteps:p}),h&&{tokens:h}),m&&{nextStep:m}),v&&v.length&&{messages:v}),g&&{error:g}),P&&{stepUp:P}),{},{interactionCode:y,actions:E,context:S,neededToProceed:x,proceed:T,rawIdxState:A,requestDidSucceed:C}));case 16:case"end":return e.stop()}}),e)}))),Ne.apply(this,arguments)}},2473:function(e,t,n){"use strict";n.d(t,{Y:function(){return c}});var r=n(4942),o=n(5861),i=n(7757),a=n.n(i),s=n(5832);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 u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e){return f.apply(this,arguments)}function f(){return f=(0,o.Z)(a().mark((function e(t){var n,r=arguments;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.length>1&&void 0!==r[1]?r[1]:{},t.transactionManager.clear(),e.abrupt("return",(0,s.K)(t,u({exchangeCodeForTokens:!1},n)));case 3:case"end":return e.stop()}}),e)}))),f.apply(this,arguments)}},4143:function(e,t,n){"use strict";n.d(t,{a:function(){return h}});var r=n(5671),o=n(3144),i=n(136),a=n(2963),s=n(1120),l=n(5763),u=n(1971),c=n(2647),f=n(415),d=n(146),p=n(9123);function h(){return function(e){(0,i.Z)(h,e);var t,n,c=(t=h,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var o=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function h(e,t,n){return(0,r.Z)(this,h),c.call(this,e,t,n)}return(0,o.Z)(h,[{key:"getIdxResponseStorage",value:function(e){var t;if((0,f.isBrowser)())try{t=this.storageUtil.getStorageByType("memory",e)}catch(e){(0,d.ZK)("No response storage found, you may want to provide custom implementation for intermediate idx responses to optimize the network traffic")}else{var n=this.getTransactionStorage(e);n&&(t={getItem:function(e){var t=n.getStorage();return t&&t[e]?t[e]:null},setItem:function(e,t){var r=n.getStorage();if(!r)throw new p.Z("Transaction has been cleared, failed to save idxState");r[e]=t,n.setStorage(r)},removeItem:function(e){var t=n.getStorage();t&&(delete t[e],n.setStorage(t))}})}return t?new l._(t,u.IDX_RESPONSE_STORAGE_NAME):null}}]),h}((0,c.a)())}},2620:function(e,t,n){"use strict";n.d(t,{Xc:function(){return d},$0:function(){return h},uN:function(){return m},Co:function(){return v},r0:function(){return y},Jm:function(){return b},Wf:function(){return _},bl:function(){return w},UC:function(){return O}});var r=n(4942),o=n(5861),i=n(7757),a=n.n(i),s=n(3193),l=n(146),u=n(2865);function c(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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e){return p.apply(this,arguments)}function p(){return p=(0,o.Z)(a().mark((function e(t){var n,r,o,i,s,l,c,d,p,h,m,v,g,y,b,_=arguments;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=_.length>1&&void 0!==_[1]?_[1]:{},e.next=3,t.token.prepareTokenParams(n);case 3:return r=e.sent,o=(0,u.H)(t,r),i=f(f({},t.options),n),s=i.flow,l=void 0===s?"default":s,c=i.withCredentials,d=void 0===c||c,p=i.activationToken,h=void 0===p?void 0:p,m=i.recoveryToken,v=void 0===m?void 0:m,g=i.maxAge,y=void 0===g?void 0:g,b=f(f({},o),{},{flow:l,withCredentials:d,activationToken:h,recoveryToken:v,maxAge:y}),e.abrupt("return",b);case 8:case"end":return e.stop()}}),e)}))),p.apply(this,arguments)}function h(e,t){var n=m(e,t);return!(null==n||!n.interactionHandle)}function m(e,t){var n;t=(0,s.YY)(t),t=f(f({},e.options),t);try{n=e.transactionManager.load(t)}catch(e){}if(n)return _(n,t)?n:void(0,l.ZK)("Saved transaction meta does not match the current configuration. This may indicate that two apps are sharing a storage key.")}function v(e,t){return g.apply(this,arguments)}function g(){return(g=(0,o.Z)(a().mark((function e(t,n){var r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=(0,s.YY)(n),n=f(f({},t.options),n),!(r=m(t,n))){e.next=5;break}return e.abrupt("return",r);case 5:return e.abrupt("return",d(t,n));case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function y(e,t){e.transactionManager.save(t,{muteWarning:!0})}function b(e){e.transactionManager.clear()}function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!1!==O(e,t,["issuer","clientId","redirectUri","state","codeChallenge","codeChallengeMethod","activationToken","recoveryToken"])&&!1!==w(e,t.flow)}function w(e,t){return!(t&&"default"!==t&&"proceed"!==t)||t===e.flow}function O(e,t,n){return!n.some((function(n){var r=t[n];if(r&&r!==e[n])return!0}))}},7595:function(e,t,n){"use strict";var r,o,i;function a(e){return e&&(e.key||e.id)}n.d(t,{Qd:function(){return r},pc:function(){return o},Fw:function(){return i},H:function(){return a}}),function(e){e.SUCCESS="SUCCESS",e.PENDING="PENDING",e.FAILURE="FAILURE",e.TERMINAL="TERMINAL",e.CANCELED="CANCELED"}(r||(r={})),function(e){e.OKTA_PASSWORD="okta_password",e.OKTA_EMAIL="okta_email",e.PHONE_NUMBER="phone_number",e.GOOGLE_AUTHENTICATOR="google_otp",e.SECURITY_QUESTION="security_question",e.OKTA_VERIFY="okta_verify",e.WEBAUTHN="webauthn"}(o||(o={})),function(e){e.PASSWORD_RECOVERY="recover-password",e.REGISTRATION="enroll-profile",e.SOCIAL_IDP="redirect-idp",e.ACCOUNT_UNLOCK="unlock-account"}(i||(i={}))},480:function(e,t,n){"use strict";function r(e){return e&&e.version}n.d(t,{P:function(){return r}})},8277:function(e,t,n){"use strict";n.d(t,{l:function(){return h}});var r=n(4942),o=n(5861),i=n(7757),a=n.n(i),s=n(5832),l=n(2620),u=n(2473),c=n(9123),f=n(7595);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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e){return m.apply(this,arguments)}function m(){return m=(0,o.Z)(a().mark((function e(t){var n,r,o,i=arguments;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((n=i.length>1&&void 0!==i[1]?i[1]:{}).flow="unlockAccount",(0,l.$0)(t)){e.next=9;break}return e.next=5,(0,u.Y)(t,p(p({},n),{},{autoRemediate:!1}));case 5:if(r=e.sent,!(o=r.enabledFeatures)||o.includes(f.Fw.ACCOUNT_UNLOCK)){e.next=9;break}throw new c.Z("Self Service Account Unlock is not supported based on your current org configuration.");case 9:return e.abrupt("return",(0,s.K)(t,p({},n)));case 10:case"end":return e.stop()}}),e)}))),m.apply(this,arguments)}},8779:function(e,t,n){"use strict";n.r(t),n.d(t,{addEmail:function(){return b},addPhone:function(){return x},deleteEmail:function(){return _},deletePhone:function(){return T},getEmail:function(){return y},getEmailChallenge:function(){return O},getEmails:function(){return g},getPhone:function(){return S},getPhones:function(){return E},getProfile:function(){return h},getProfileSchema:function(){return v},sendEmailChallenge:function(){return w},sendPhoneChallenge:function(){return A},updateProfile:function(){return m},verifyEmailChallenge:function(){return k},verifyPhoneChallenge:function(){return C}});var r,o,i,a,s,l,u,c=n(5861),f=n(7757),d=n.n(f),p=n(777),h=(r=(0,c.Z)(d().mark((function e(t,n){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,p.w)(t,{url:"/idp/myaccount/profile",method:"GET",accessToken:null==n?void 0:n.accessToken,transactionClassName:"ProfileTransaction"});case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)}))),function(e,t){return r.apply(this,arguments)}),m=(o=(0,c.Z)(d().mark((function e(t,n){var r,o,i,a;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=(r=n).payload,i=r.accessToken,e.next=3,(0,p.w)(t,{url:"/idp/myaccount/profile",method:"PUT",payload:o,accessToken:i,transactionClassName:"ProfileTransaction"});case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)}))),function(e,t){return o.apply(this,arguments)}),v=(i=(0,c.Z)(d().mark((function e(t,n){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,p.w)(t,{url:"/idp/myaccount/profile/schema",method:"GET",accessToken:null==n?void 0:n.accessToken,transactionClassName:"ProfileSchemaTransaction"});case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)}))),function(e,t){return i.apply(this,arguments)}),g=function(){var e=(0,c.Z)(d().mark((function e(t,n){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,p.w)(t,{url:"/idp/myaccount/emails",method:"GET",accessToken:null==n?void 0:n.accessToken,transactionClassName:"EmailTransaction"});case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),y=function(){var e=(0,c.Z)(d().mark((function e(t,n){var r,o,i,a;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=(r=n).id,i=r.accessToken,e.next=3,(0,p.w)(t,{url:"/idp/myaccount/emails/".concat(o),method:"GET",accessToken:i,transactionClassName:"EmailTransaction"});case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),b=function(){var e=(0,c.Z)(d().mark((function e(t,n){var r,o,i,a;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=(r=n).accessToken,i=r.payload,e.next=3,(0,p.w)(t,{url:"/idp/myaccount/emails",method:"POST",payload:i,accessToken:o,transactionClassName:"EmailTransaction"});case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),_=(a=(0,c.Z)(d().mark((function e(t,n){var r,o,i,a;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=(r=n).id,i=r.accessToken,e.next=3,(0,p.w)(t,{url:"/idp/myaccount/emails/".concat(o),method:"DELETE",accessToken:i});case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)}))),function(e,t){return a.apply(this,arguments)}),w=(s=(0,c.Z)(d().mark((function e(t,n){var r,o,i,a;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=(r=n).id,i=r.accessToken,e.next=3,(0,p.w)(t,{url:"/idp/myaccount/emails/".concat(o,"/challenge"),method:"POST",accessToken:i,transactionClassName:"EmailChallengeTransaction"});case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)}))),function(e,t){return s.apply(this,arguments)}),O=(l=(0,c.Z)(d().mark((function e(t,n){var r,o,i,a,s;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=(r=n).emailId,i=r.challengeId,a=r.accessToken,e.next=3,(0,p.w)(t,{url:"/idp/myaccount/emails/".concat(o,"/challenge/").concat(i),method:"POST",accessToken:a,transactionClassName:"EmailChallengeTransaction"});case 3:return s=e.sent,e.abrupt("return",s);case 5:case"end":return e.stop()}}),e)}))),function(e,t){return l.apply(this,arguments)}),k=(u=(0,c.Z)(d().mark((function e(t,n){var r,o,i,a,s,l;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=(r=n).emailId,i=r.challengeId,a=r.payload,s=r.accessToken,e.next=3,(0,p.w)(t,{url:"/idp/myaccount/emails/".concat(o,"/challenge/").concat(i,"/verify"),method:"POST",payload:a,accessToken:s});case 3:return l=e.sent,e.abrupt("return",l);case 5:case"end":return e.stop()}}),e)}))),function(e,t){return u.apply(this,arguments)}),E=function(){var e=(0,c.Z)(d().mark((function e(t,n){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,p.w)(t,{url:"/idp/myaccount/phones",method:"GET",accessToken:null==n?void 0:n.accessToken,transactionClassName:"PhoneTransaction"});case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),S=function(){var e=(0,c.Z)(d().mark((function e(t,n){var r,o,i,a;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=(r=n).accessToken,i=r.id,e.next=3,(0,p.w)(t,{url:"/idp/myaccount/phones/".concat(i),method:"GET",accessToken:o,transactionClassName:"PhoneTransaction"});case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),x=function(){var e=(0,c.Z)(d().mark((function e(t,n){var r,o,i,a;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=(r=n).accessToken,i=r.payload,e.next=3,(0,p.w)(t,{url:"/idp/myaccount/phones",method:"POST",payload:i,accessToken:o,transactionClassName:"PhoneTransaction"});case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),T=function(){var e=(0,c.Z)(d().mark((function e(t,n){var r,o,i,a;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=(r=n).id,i=r.accessToken,e.next=3,(0,p.w)(t,{url:"/idp/myaccount/phones/".concat(o),method:"DELETE",accessToken:i});case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),A=function(){var e=(0,c.Z)(d().mark((function e(t,n){var r,o,i,a,s;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=(r=n).accessToken,i=r.id,a=r.payload,e.next=3,(0,p.w)(t,{url:"/idp/myaccount/phones/".concat(i,"/challenge"),method:"POST",payload:a,accessToken:o});case 3:return s=e.sent,e.abrupt("return",s);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),C=function(){var e=(0,c.Z)(d().mark((function e(t,n){var r,o,i,a,s;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=(r=n).id,i=r.payload,a=r.accessToken,e.next=3,(0,p.w)(t,{url:"/idp/myaccount/phones/".concat(o,"/verify"),method:"POST",payload:i,accessToken:a});case 3:return s=e.sent,e.abrupt("return",s);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()},9064:function(e,t,n){"use strict";n.d(t,{mV:function(){return m.Z},nh:function(){return f.Z},aw:function(){return s},XC:function(){return c.Z},yB:function(){return u.Z},$N:function(){return d.Z},XW:function(){return h.Z},Sx:function(){return p.Z},qb:function(){return l},no:function(){return r.addEmail},Z1:function(){return r.addPhone},Xc:function(){return a},nd:function(){return r.deleteEmail},qj:function(){return r.deletePhone},OD:function(){return r.getEmail},hG:function(){return r.getEmailChallenge},G5:function(){return r.getEmails},u_:function(){return r.getPhone},Po:function(){return r.getPhones},Ai:function(){return r.getProfile},aF:function(){return r.getProfileSchema},HT:function(){return i.H},ME:function(){return r.sendEmailChallenge},dv:function(){return r.sendPhoneChallenge},ck:function(){return r.updateProfile},T8:function(){return r.verifyEmailChallenge},Lo:function(){return r.verifyPhoneChallenge}});var r=n(8779),o=n(1578),i=n(6794);function a(e,t,n){var r=(0,o.K)(e,t,n);return(0,i.H)(r)}var s,l,u=n(8261),c=n(9953),f=n(4454),d=n(3082),p=n(5708),h=n(8399),m=n(3395);!function(e){e.PRIMARY="PRIMARY",e.SECONDARY="SECONDARY"}(s||(s={})),function(e){e.VERIFIED="VERIFIED",e.UNVERIFIED="UNVERIFIED"}(l||(l={}))},6794:function(e,t,n){"use strict";n.d(t,{H:function(){return f}});var r=n(885),o=n(5671),i=n(7326),a=n(136),s=n(2963),l=n(1120),u=n(4942),c=n(8779);function f(e){return function(e){(0,a.Z)(d,e);var t,n,f=(t=d,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,l.Z)(t);if(n){var o=(0,l.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,s.Z)(this,e)});function d(){var e;(0,o.Z)(this,d);for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];return e=f.call.apply(f,[this].concat(n)),(0,u.Z)((0,i.Z)(e),"myaccount",void 0),e.myaccount=Object.entries(c).filter((function(e){return"default"!==(0,r.Z)(e,1)[0]})).reduce((function(t,n){var o=(0,r.Z)(n,2),a=o[0],s=o[1];return t[a]=s.bind(null,(0,i.Z)(e)),t}),{}),e}return d}(e)}},777:function(e,t,n){"use strict";n.d(t,{w:function(){return w},B:function(){return k}});var r=n(4942),o=n(1002),i=n(5861),a=n(7757),s=n.n(a),l=n(8261),u=n(9953),c=n(4454),f=n(5708),d=n(8399),p=n(3082),h=n(3395),m=n(5385),v=n(9123),g=n(3983);function y(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 b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _=function(e){if(!e)throw new v.Z("Missing header string");return e.split(",").map((function(e){return e.trim()})).map((function(e){return e.split("=")})).reduce((function(e,t){return e[t[0]]=t[1].replace(/^"(.*)"$/,"$1"),e}),{})};function w(e,t){return O.apply(this,arguments)}function O(){return(O=(0,i.Z)(s().mark((function e(t,n){var r,o,i,a,y,w,O,k,E,S,x,T,A,C,P,R,N,I,M,j;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.tokenManager.getTokensSync(),o=r.accessToken,i=r.idToken,a=null==i?void 0:i.idToken,y=n.accessToken||(null==o?void 0:o.accessToken),w=t.options.issuer,O=n.url,k=n.method,E=n.payload,S=O.startsWith(w)?O:"".concat(w).concat(O),y){e.next=8;break}throw new v.Z("AccessToken is required to request MyAccount API endpoints.");case 8:return e.prev=8,e.next=11,(0,m.c3)(t,b({headers:{Accept:"*/*;okta-version=1.0.0"},accessToken:y,url:S,method:k},E&&{args:E}));case 11:x=e.sent,e.next=28;break;case 14:if(e.prev=14,e.t0=e.catch(8),A=e.t0.xhr,!a||403!==(null==A?void 0:A.status)||null==A||null===(T=A.headers)||void 0===T||!T["www-authenticate"]){e.next=27;break}if(P=_(null==A||null===(C=A.headers)||void 0===C?void 0:C["www-authenticate"]),R=P.error,N=P.error_description,I=P.max_age,"insufficient_authentication_context"!==R){e.next=24;break}throw new g.Z({errorSummary:R,errorCauses:[{errorSummary:N}]},A,{max_age:+I});case 24:case 27:throw e.t0;case 25:e.next=28;break;case 28:if(M={EmailTransaction:l.Z,EmailStatusTransaction:u.Z,EmailChallengeTransaction:c.Z,ProfileTransaction:f.Z,ProfileSchemaTransaction:d.Z,PhoneTransaction:p.Z},j=M[n.transactionClassName]||h.Z,!Array.isArray(x)){e.next=32;break}return e.abrupt("return",x.map((function(e){return new j(t,{res:e,accessToken:y})})));case 32:return e.abrupt("return",new j(t,{res:x,accessToken:y}));case 33:case"end":return e.stop()}}),e,null,[[8,14]])})))).apply(this,arguments)}function k(e){for(var t=e.oktaAuth,n=e.accessToken,r=e.methodName,a=e.links,l=e.transactionClassName,u=function(){var e,o=f[c];if(o.toLowerCase()===r){var u=a.self;return{v:(e=(0,i.Z)(s().mark((function e(r){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",w(t,{accessToken:n,url:u.href,method:o,payload:r,transactionClassName:l}));case 1:case"end":return e.stop()}}),e)}))),function(t){return e.apply(this,arguments)})}}},c=0,f=["GET","POST","PUT","DELETE"];c<f.length;c++){var d=u();if("object"===(0,o.Z)(d))return d.v}var p,h=a[r];if(!h)throw new v.Z("No link is found with methodName: ".concat(r));return p=(0,i.Z)(s().mark((function e(r){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",w(t,{accessToken:n,url:h.href,method:h.hints.allow[0],payload:r,transactionClassName:l}));case 1:case"end":return e.stop()}}),e)}))),function(e){return p.apply(this,arguments)}}},3395:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(4925),o=n(5671),i=n(4942),a=["headers"],s=function e(t,n){var s=this;(0,o.Z)(this,e),(0,i.Z)(this,"headers",void 0);var l=n.res,u=l.headers,c=(0,r.Z)(l,a);u&&(this.headers=u),Object.keys(c).forEach((function(e){"_links"!==e&&(s[e]=c[e])}))}},4454:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(5861),o=n(5671),i=n(7326),a=n(136),s=n(2963),l=n(1120),u=n(4942),c=n(7757),f=n.n(c),d=n(3395),p=n(777),h=function(e){(0,a.Z)(d,e);var t,n,c=(t=d,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,l.Z)(t);if(n){var o=(0,l.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,s.Z)(this,e)});function d(e,t){var n;(0,o.Z)(this,d),n=c.call(this,e,t),(0,u.Z)((0,i.Z)(n),"id",void 0),(0,u.Z)((0,i.Z)(n),"expiresAt",void 0),(0,u.Z)((0,i.Z)(n),"profile",void 0),(0,u.Z)((0,i.Z)(n),"status",void 0),(0,u.Z)((0,i.Z)(n),"poll",void 0),(0,u.Z)((0,i.Z)(n),"verify",void 0);var a,s=t.accessToken,l=t.res,h=l.id,m=l.expiresAt,v=l.profile,g=l.status,y=l._links;return n.id=h,n.expiresAt=m,n.profile=v,n.status=g,n.poll=(0,r.Z)(f().mark((function t(){var n;return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=(0,p.B)({oktaAuth:e,accessToken:s,methodName:"poll",links:y,transactionClassName:"EmailStatusTransaction"}),t.next=3,n();case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t)}))),n.verify=(a=(0,r.Z)(f().mark((function t(n){var r;return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=(0,p.B)({oktaAuth:e,accessToken:s,methodName:"verify",links:y}),t.next=3,r(n);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t)}))),function(e){return a.apply(this,arguments)}),n}return d}(d.Z)},9953:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(5671),o=n(7326),i=n(136),a=n(2963),s=n(1120),l=n(4942),u=function(e){(0,i.Z)(c,e);var t,n,u=(t=c,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var o=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function c(e,t){var n;(0,r.Z)(this,c),n=u.call(this,e,t),(0,l.Z)((0,o.Z)(n),"id",void 0),(0,l.Z)((0,o.Z)(n),"expiresAt",void 0),(0,l.Z)((0,o.Z)(n),"profile",void 0),(0,l.Z)((0,o.Z)(n),"status",void 0);var i=t.res,a=i.id,s=i.profile,f=i.expiresAt,d=i.status;return n.id=a,n.expiresAt=f,n.profile=s,n.status=d,n}return c}(n(3395).Z)},8261:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(5861),o=n(5671),i=n(7326),a=n(136),s=n(2963),l=n(1120),u=n(4942),c=n(7757),f=n.n(c),d=n(3395),p=n(777),h=function(e){(0,a.Z)(d,e);var t,n,c=(t=d,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,l.Z)(t);if(n){var o=(0,l.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,s.Z)(this,e)});function d(e,t){var n;(0,o.Z)(this,d),n=c.call(this,e,t),(0,u.Z)((0,i.Z)(n),"id",void 0),(0,u.Z)((0,i.Z)(n),"profile",void 0),(0,u.Z)((0,i.Z)(n),"roles",void 0),(0,u.Z)((0,i.Z)(n),"status",void 0),(0,u.Z)((0,i.Z)(n),"get",void 0),(0,u.Z)((0,i.Z)(n),"delete",void 0),(0,u.Z)((0,i.Z)(n),"challenge",void 0),(0,u.Z)((0,i.Z)(n),"poll",void 0),(0,u.Z)((0,i.Z)(n),"verify",void 0);var a,s=t.accessToken,l=t.res,h=l.id,m=l.profile,v=l.roles,g=l.status,y=l._links;return n.id=h,n.profile=m,n.roles=v,n.status=g,n.get=(0,r.Z)(f().mark((function t(){var n;return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=(0,p.B)({oktaAuth:e,accessToken:s,methodName:"get",links:y,transactionClassName:"EmailTransaction"}),t.next=3,n();case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t)}))),n.delete=(0,r.Z)(f().mark((function t(){var n;return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=(0,p.B)({oktaAuth:e,accessToken:s,methodName:"delete",links:y}),t.next=3,n();case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t)}))),n.challenge=(0,r.Z)(f().mark((function t(){var n;return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=(0,p.B)({oktaAuth:e,accessToken:s,methodName:"challenge",links:y,transactionClassName:"EmailChallengeTransaction"}),t.next=3,n();case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t)}))),y.poll&&(n.poll=(0,r.Z)(f().mark((function t(){var n;return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=(0,p.B)({oktaAuth:e,accessToken:s,methodName:"poll",links:y,transactionClassName:"EmailStatusTransaction"}),t.next=3,n();case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t)})))),y.verify&&(n.verify=(a=(0,r.Z)(f().mark((function t(n){var r;return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=(0,p.B)({oktaAuth:e,accessToken:s,methodName:"verify",links:y}),t.next=3,r(n);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t)}))),function(e){return a.apply(this,arguments)})),n}return d}(d.Z)},3082:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(5861),o=n(5671),i=n(7326),a=n(136),s=n(2963),l=n(1120),u=n(4942),c=n(7757),f=n.n(c),d=n(3395),p=n(777),h=function(e){(0,a.Z)(d,e);var t,n,c=(t=d,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,l.Z)(t);if(n){var o=(0,l.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,s.Z)(this,e)});function d(e,t){var n;(0,o.Z)(this,d),n=c.call(this,e,t),(0,u.Z)((0,i.Z)(n),"id",void 0),(0,u.Z)((0,i.Z)(n),"profile",void 0),(0,u.Z)((0,i.Z)(n),"status",void 0),(0,u.Z)((0,i.Z)(n),"get",void 0),(0,u.Z)((0,i.Z)(n),"delete",void 0),(0,u.Z)((0,i.Z)(n),"challenge",void 0),(0,u.Z)((0,i.Z)(n),"verify",void 0);var a,s,l=t.res,h=t.accessToken,m=l.id,v=l.profile,g=l.status,y=l._links;return n.id=m,n.profile=v,n.status=g,n.get=(0,r.Z)(f().mark((function t(){var n;return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=(0,p.B)({oktaAuth:e,accessToken:h,methodName:"get",links:y,transactionClassName:"PhoneTransaction"}),t.next=3,n();case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t)}))),n.delete=(0,r.Z)(f().mark((function t(){var n;return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=(0,p.B)({oktaAuth:e,accessToken:h,methodName:"delete",links:y}),t.next=3,n();case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t)}))),n.challenge=(a=(0,r.Z)(f().mark((function t(n){var r;return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=(0,p.B)({oktaAuth:e,accessToken:h,methodName:"challenge",links:y}),t.next=3,r(n);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t)}))),function(e){return a.apply(this,arguments)}),y.verify&&(n.verify=(s=(0,r.Z)(f().mark((function t(n){var r;return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=(0,p.B)({oktaAuth:e,accessToken:h,methodName:"verify",links:y}),t.next=3,r(n);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t)}))),function(e){return s.apply(this,arguments)})),n}return d}(d.Z)},8399:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(5671),o=n(7326),i=n(136),a=n(2963),s=n(1120),l=n(4942),u=function(e){(0,i.Z)(c,e);var t,n,u=(t=c,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var o=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function c(e,t){var n;return(0,r.Z)(this,c),n=u.call(this,e,t),(0,l.Z)((0,o.Z)(n),"properties",void 0),n.properties=t.res.properties,n}return c}(n(3395).Z)},5708:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(5671),o=n(7326),i=n(136),a=n(2963),s=n(1120),l=n(4942),u=function(e){(0,i.Z)(c,e);var t,n,u=(t=c,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var o=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function c(e,t){var n;(0,r.Z)(this,c),n=u.call(this,e,t),(0,l.Z)((0,o.Z)(n),"createdAt",void 0),(0,l.Z)((0,o.Z)(n),"modifiedAt",void 0),(0,l.Z)((0,o.Z)(n),"profile",void 0);var i=t.res,a=i.createdAt,s=i.modifiedAt,f=i.profile;return n.createdAt=a,n.modifiedAt=s,n.profile=f,n}return c}(n(3395).Z)},2427:function(e,t,n){"use strict";n.d(t,{M:function(){return w}});var r=n(5861),o=n(1002),i=n(5671),a=n(3144),s=n(4942),l=n(7757),u=n.n(l),c=n(3193),f=n(9123),d=n(2482),p=n(415),h=function(){function e(t){(0,i.Z)(this,e),(0,s.Z)(this,"localOffset",void 0),this.localOffset=parseInt(t||0)}return(0,a.Z)(e,[{key:"now",value:function(){return(Date.now()+this.localOffset)/1e3}}],[{key:"create",value:function(){return new e(0)}}]),e}(),m=n(7088),v=n(6488),g=n(1971);function y(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 b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){(0,s.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _={autoRenew:!0,autoRemove:!0,syncStorage:!0,clearPendingRemoveTokens:!0,storage:void 0,expireEarlySeconds:30,storageKey:g.TOKEN_STORAGE_NAME},w=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((0,i.Z)(this,e),(0,s.Z)(this,"sdk",void 0),(0,s.Z)(this,"clock",void 0),(0,s.Z)(this,"emitter",void 0),(0,s.Z)(this,"storage",void 0),(0,s.Z)(this,"state",void 0),(0,s.Z)(this,"options",void 0),this.sdk=t,this.emitter=t.emitter,!this.emitter)throw new f.Z("Emitter should be initialized before TokenManager");n=Object.assign({},_,(0,c.YY)(n)),(0,p.isLocalhost)()||(n.expireEarlySeconds=_.expireEarlySeconds),this.options=n;var r=(0,c.YY)({storageKey:n.storageKey,secure:n.secure});"object"===(0,o.Z)(n.storage)?r.storageProvider=n.storage:n.storage&&(r.storageType=n.storage),this.storage=t.storageManager.getTokenStorage(b(b({},r),{},{useSeparateCookies:!0})),this.clock=h.create(),this.state={expireTimeouts:{},renewPromise:null}}var t,n,l;return(0,a.Z)(e,[{key:"on",value:function(e,t,n){n?this.emitter.on(e,t,n):this.emitter.on(e,t)}},{key:"off",value:function(e,t){t?this.emitter.off(e,t):this.emitter.off(e)}},{key:"start",value:function(){this.options.clearPendingRemoveTokens&&this.clearPendingRemoveTokens(),this.setExpireEventTimeoutAll()}},{key:"stop",value:function(){this.clearExpireEventTimeoutAll()}},{key:"getOptions",value:function(){return(0,c.d9)(this.options)}},{key:"getExpireTime",value:function(e){var t=this.options.expireEarlySeconds||0;return e.expiresAt-t}},{key:"hasExpired",value:function(e){return this.getExpireTime(e)<=this.clock.now()}},{key:"emitExpired",value:function(e,t){this.emitter.emit(m.$Y,e,t)}},{key:"emitRenewed",value:function(e,t,n){this.emitter.emit(m.E,e,t,n)}},{key:"emitAdded",value:function(e,t){this.emitter.emit(m.O3,e,t)}},{key:"emitRemoved",value:function(e,t){this.emitter.emit(m.FT,e,t)}},{key:"emitError",value:function(e){this.emitter.emit(m.$I,e)}},{key:"clearExpireEventTimeout",value:function(e){clearTimeout(this.state.expireTimeouts[e]),delete this.state.expireTimeouts[e],this.state.renewPromise=null}},{key:"clearExpireEventTimeoutAll",value:function(){var e=this.state.expireTimeouts;for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&this.clearExpireEventTimeout(t)}},{key:"setExpireEventTimeout",value:function(e,t){var n=this;if(!(0,v.z9)(t)){var r=this.getExpireTime(t),o=1e3*Math.max(r-this.clock.now(),0);this.clearExpireEventTimeout(e);var i=setTimeout((function(){n.emitExpired(e,t)}),o);this.state.expireTimeouts[e]=i}}},{key:"setExpireEventTimeoutAll",value:function(){var e=this.storage.getStorage();for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var n=e[t];this.setExpireEventTimeout(t,n)}}},{key:"resetExpireEventTimeoutAll",value:function(){this.clearExpireEventTimeoutAll(),this.setExpireEventTimeoutAll()}},{key:"add",value:function(e,t){var n=this.storage.getStorage();(0,d.R)(t),n[e]=t,this.storage.setStorage(n),this.emitSetStorageEvent(),this.emitAdded(e,t),this.setExpireEventTimeout(e,t)}},{key:"getSync",value:function(e){return this.storage.getStorage()[e]}},{key:"get",value:(l=(0,r.Z)(u().mark((function e(t){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.getSync(t));case 1:case"end":return e.stop()}}),e,this)}))),function(e){return l.apply(this,arguments)})},{key:"getTokensSync",value:function(){var e={},t=this.storage.getStorage();return Object.keys(t).forEach((function(n){var r=t[n];(0,v.hv)(r)?e.accessToken=r:(0,v.sI)(r)?e.idToken=r:(0,v.z9)(r)&&(e.refreshToken=r)})),e}},{key:"getTokens",value:(n=(0,r.Z)(u().mark((function e(){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.getTokensSync());case 1:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"getStorageKeyByType",value:function(e){var t=this.storage.getStorage();return Object.keys(t).filter((function(n){var r=t[n];return(0,v.hv)(r)&&"accessToken"===e||(0,v.sI)(r)&&"idToken"===e||(0,v.z9)(r)&&"refreshToken"===e}))[0]}},{key:"getTokenType",value:function(e){if((0,v.hv)(e))return"accessToken";if((0,v.sI)(e))return"idToken";if((0,v.z9)(e))return"refreshToken";throw new f.Z("Unknown token type")}},{key:"emitSetStorageEvent",value:function(){if((0,p.isIE11OrLess)()){var e=this.storage.getStorage();this.emitter.emit(m.zr,e)}}},{key:"getStorage",value:function(){return this.storage}},{key:"setTokens",value:function(e,t,n,r){var o=this,i=function(e,i){var a=o.getTokenType(i);"accessToken"===a?t&&t(e,i):"idToken"===a?n&&n(e,i):"refreshToken"===a&&r&&r(e,i)},a=function(e,t){o.emitAdded(e,t),o.setExpireEventTimeout(e,t),i(e,t)},s=function(e,t){o.clearExpireEventTimeout(e),o.emitRemoved(e,t),i(e,t)},l=["idToken","accessToken","refreshToken"],u=this.getTokensSync();l.forEach((function(t){var n=e[t];n&&(0,d.R)(n,t)}));var c=l.reduce((function(t,n){var r=e[n];return r&&(t[o.getStorageKeyByType(n)||n]=r),t}),{});this.storage.setStorage(c),this.emitSetStorageEvent(),l.forEach((function(t){var n,r,l,c=e[t],f=u[t],d=o.getStorageKeyByType(t)||t;c&&f?(s(d,f),a(d,c),n=d,r=c,l=f,o.emitRenewed(n,r,l),o.clearExpireEventTimeout(n),o.setExpireEventTimeout(n,r),i(n,r)):c?a(d,c):f&&s(d,f)}))}},{key:"remove",value:function(e){this.clearExpireEventTimeout(e);var t=this.storage.getStorage(),n=t[e];delete t[e],this.storage.setStorage(t),this.emitSetStorageEvent(),this.emitRemoved(e,n)}},{key:"renewToken",value:(t=(0,r.Z)(u().mark((function e(t){var n;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",null===(n=this.sdk.token)||void 0===n?void 0:n.renew(t));case 1:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"validateToken",value:function(e){return(0,d.R)(e)}},{key:"renew",value:function(e){var t=this;if(this.state.renewPromise)return this.state.renewPromise;try{var n=this.getSync(e);if(!n)throw new f.Z("The tokenManager has no token for the key: "+e)}catch(e){return Promise.reject(e)}return this.clearExpireEventTimeout(e),this.state.renewPromise=this.sdk.token.renewTokens().then((function(e){return t.setTokens(e),e[t.getTokenType(n)]})).catch((function(n){throw t.remove(e),n.tokenKey=e,t.emitError(n),n})).finally((function(){t.state.renewPromise=null}))}},{key:"clear",value:function(){var e=this,t=this.getTokensSync();this.clearExpireEventTimeoutAll(),this.storage.clearStorage(),this.emitSetStorageEvent(),Object.keys(t).forEach((function(n){e.emitRemoved(n,t[n])}))}},{key:"clearPendingRemoveTokens",value:function(){var e=this,t=this.storage.getStorage(),n={};Object.keys(t).forEach((function(e){t[e].pendingRemove&&(n[e]=t[e],delete t[e])})),this.storage.setStorage(t),this.emitSetStorageEvent(),Object.keys(n).forEach((function(t){e.clearExpireEventTimeout(t),e.emitRemoved(t,n[t])}))}},{key:"updateRefreshToken",value:function(e){var t=this.getStorageKeyByType("refreshToken")||g.REFRESH_TOKEN_STORAGE_KEY,n=this.storage.getStorage();(0,d.R)(e),n[t]=e,this.storage.setStorage(n),this.emitSetStorageEvent()}},{key:"removeRefreshToken",value:function(){var e=this.getStorageKeyByType("refreshToken")||g.REFRESH_TOKEN_STORAGE_KEY;this.remove(e)}},{key:"addPendingRemoveFlags",value:function(){var e=this.getTokensSync();Object.keys(e).forEach((function(t){e[t].pendingRemove=!0})),this.setTokens(e)}}]),e}()},1646:function(e,t,n){"use strict";n.d(t,{P:function(){return d}});var r=n(5671),o=n(3144),i=n(4942),a=n(4319),s=n(146);function l(e){var t=e.getSharedTansactionStorage(),n=t.getStorage();Object.keys(n).forEach((function(e){var t=n[e];Date.now()-t.dateCreated>18e5&&delete n[e]})),t.setStorage(n)}function u(e,t,n){var r=e.getSharedTansactionStorage(),o=r.getStorage();o[t]={dateCreated:Date.now(),transaction:n},r.setStorage(o)}function c(e,t){var n=e.getSharedTansactionStorage().getStorage()[t];return n&&n.transaction&&(0,a.mH)(n.transaction)?n.transaction:null}function f(e,t){var n=e.getSharedTansactionStorage(),r=n.getStorage();delete r[t],n.setStorage(r)}function d(){return function(){function e(t){(0,r.Z)(this,e),(0,i.Z)(this,"options",void 0),(0,i.Z)(this,"storageManager",void 0),(0,i.Z)(this,"enableSharedStorage",void 0),(0,i.Z)(this,"saveLastResponse",void 0),this.storageManager=t.storageManager,this.enableSharedStorage=!1!==t.enableSharedStorage,this.saveLastResponse=!1!==t.saveLastResponse,this.options=t}return(0,o.Z)(e,[{key:"clear",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.storageManager.getTransactionStorage(),n=t.getStorage();if(t.clearStorage(),this.enableSharedStorage&&!1!==e.clearSharedStorage){var r=e.state||(null==n?void 0:n.state);r&&f(this.storageManager,r)}}},{key:"save",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.storageManager.getTransactionStorage(),r=n.getStorage();(0,a.mH)(r)&&!t.muteWarning&&(0,s.ZK)("a saved auth transaction exists in storage. This may indicate another auth flow is already in progress."),n.setStorage(e),this.enableSharedStorage&&e.state&&u(this.storageManager,e.state,e)}},{key:"exists",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{return!!this.load(e)}catch(e){return!1}}},{key:"load",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.enableSharedStorage&&t.state&&(l(this.storageManager),e=c(this.storageManager,t.state),(0,a.mH)(e))?e:(e=this.storageManager.getTransactionStorage().getStorage(),(0,a.mH)(e)?e:null)}}]),e}()}},1237:function(e,t,n){"use strict";n.d(t,{T:function(){return i}});var r=n(9123),o=n(7987);function i(e){var t,n=e.split(".");try{t={header:JSON.parse((0,o.Wy)(n[0])),payload:JSON.parse((0,o.Wy)(n[1])),signature:n[2]}}catch(e){throw new r.Z("Malformed token")}return t}},2206:function(e,t,n){"use strict";n.d(t,{_:function(){return c},R:function(){return f}});var r=n(4942),o=n(4771),i=n(3193),a=n(6718),s=n(9123);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 u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e){if(!e.clientId)throw new s.Z("A clientId must be specified in the OktaAuth constructor to get a token");if((0,o.HD)(e.responseType)&&-1!==e.responseType.indexOf(" "))throw new s.Z("Multiple OAuth responseTypes must be defined as an array");var t={client_id:e.clientId,code_challenge:e.codeChallenge,code_challenge_method:e.codeChallengeMethod,display:e.display,idp:e.idp,idp_scope:e.idpScope,login_hint:e.loginHint,max_age:e.maxAge,nonce:e.nonce,prompt:e.prompt,redirect_uri:e.redirectUri,response_mode:e.responseMode,response_type:e.responseType,sessionToken:e.sessionToken,state:e.state};if(t=(0,i.YY)(t),["idp_scope","response_type"].forEach((function(e){Array.isArray(t[e])&&(t[e]=t[e].join(" "))})),-1!==e.responseType.indexOf("id_token")&&-1===e.scopes.indexOf("openid"))throw new s.Z("openid scope must be specified in the scopes argument when requesting an id_token");return t.scope=e.scopes.join(" "),t}function f(e){var t=c(e);return(0,a.UK)(u(u({},t),e.extraParams&&u({},e.extraParams)))}},2642:function(e,t,n){"use strict";n.d(t,{R0:function(){return r.R},_6:function(){return r._},Dp:function(){return o.D},ti:function(){return o.t},km:function(){return i.k},ES:function(){return i.E}});var r=n(2206),o=n(9231),i=n(52)},9231:function(e,t,n){"use strict";n.d(t,{t:function(){return l},D:function(){return u}});var r=n(885),o=n(9123),i=n(3193),a=n(6718),s=n(5385);function l(e,t,n){!function(e){if(!e.clientId)throw new o.Z("A clientId must be specified in the OktaAuth constructor to get a token");if(!e.redirectUri)throw new o.Z("The redirectUri passed to /authorize must also be passed to /token");if(!e.authorizationCode&&!e.interactionCode)throw new o.Z("An authorization code (returned from /authorize) must be passed to /token");if(!e.codeVerifier)throw new o.Z('The "codeVerifier" (generated and saved by your app) must be passed to /token')}(t);var r=function(e,t){var n=(0,i.YY)({client_id:t.clientId,redirect_uri:t.redirectUri,grant_type:t.interactionCode?"interaction_code":"authorization_code",code_verifier:t.codeVerifier});t.interactionCode?n.interaction_code=t.interactionCode:t.authorizationCode&&(n.code=t.authorizationCode);var r=e.options.clientSecret;return r&&(n.client_secret=r),(0,a.UK)(n).slice(1)}(e,t);return(0,s.c3)(e,{url:n.tokenUrl,method:"POST",args:r,headers:{"Content-Type":"application/x-www-form-urlencoded"}})}function u(e,t,n){return(0,s.c3)(e,{url:n.tokenUrl,method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},args:Object.entries({client_id:t.clientId,grant_type:"refresh_token",scope:n.scopes.join(" "),refresh_token:n.refreshToken}).map((function(e){var t=(0,r.Z)(e,2),n=t[0],o=t[1];return n+"="+encodeURIComponent(o)})).join("&")})}},52:function(e,t,n){"use strict";n.d(t,{E:function(){return a},k:function(){return s}});var r=n(5385),o=n(3193),i=n(9123);function a(e,t){var n=t||e.options.issuer;return(0,r.U2)(e,n+"/.well-known/openid-configuration",{cacheResponse:!0})}function s(e,t,n){var s=e.storageManager.getHttpCache(e.options.cookies);return a(e,t).then((function(t){var a=t.jwks_uri,l=s.getStorage()[a];if(l&&Date.now()/1e3<l.expiresAt){var u=(0,o.sE)(l.response.keys,{kid:n});if(u)return u}return s.clearStorage(a),(0,r.U2)(e,a,{cacheResponse:!0}).then((function(e){var t=(0,o.sE)(e.keys,{kid:n});if(t)return t;throw new i.Z("The key id, "+n+", was not found in the server's keys")}))}))}},8707:function(e,t,n){"use strict";n.d(t,{r:function(){return l}});var r=n(7599),o=n(7756),i=n(3193),a=n(9231),s=n(8676);function l(e,t,n){n=n||(0,r.Fc)(e,t);var l=t=Object.assign({},(0,o.D)(e),(0,i.d9)(t)),u=l.authorizationCode,c=l.interactionCode,f=l.codeVerifier,d=l.clientId,p=l.redirectUri,h=l.scopes,m=l.ignoreSignature,v=l.state,g={clientId:d,redirectUri:p,authorizationCode:u,interactionCode:c,codeVerifier:f};return(0,a.t)(e,g,n).then((function(t){var r=["token"];-1!==h.indexOf("openid")&&r.push("id_token");var o={clientId:d,redirectUri:p,scopes:h,responseType:r,ignoreSignature:m};return(0,s.s)(e,o,t,n).then((function(e){return e.code=u,e.state=v,e}))})).finally((function(){e.transactionManager.clear()}))}},7203:function(e,t,n){"use strict";n.d(t,{o:function(){return y}});var r=n(3548),o=n(1237),i=n(8707),a=n(6844),s=n(7625),l=n(9770),u=n(6803),c=n(5372),f=n(2476),d=n(6268),p=n(781),h=n(6466),m=n(6898),v=n(8221),g=n(1260);function y(e,t){var n=function(e){return r.b.prototype.push.bind(t,e,null)},y=n(u.H.bind(null,e)),b=Object.assign(y,{_setLocation:function(t){e.options.setLocation?e.options.setLocation(t):window.location=t}}),_=n(c.ko.bind(null,e)),w=Object.assign(_,{_getHistory:function(){return window.history},_getLocation:function(){return window.location},_getDocument:function(){return window.document}}),O={prepareTokenParams:m.wu.bind(null,e),exchangeCodeForTokens:i.r.bind(null,e),getWithoutPrompt:s.y.bind(null,e),getWithPopup:l.d.bind(null,e),getWithRedirect:b,parseFromUrl:w,decode:o.T,revoke:h.P.bind(null,e),renew:f.$.bind(null,e),renewTokensWithRefresh:p.R.bind(null,e),renewTokens:d.I.bind(null,e),getUserInfo:function(t,n){return(0,a.b)(e,t,n)},verify:g.W.bind(null,e),isLoginRedirect:v.gM.bind(null,e)};return["getWithoutPrompt","getWithPopup","revoke","renew","renewTokensWithRefresh","renewTokens"].forEach((function(e){O[e]=n(O[e])})),O}},231:function(e,t,n){"use strict";n.d(t,{z:function(){return u},o:function(){return r.o}});var r=n(7203),o=n(9893),i=n(265),a=n(3980),s=n(279),l=n(2724);function u(e,t,n){var r=(0,o.a)(t),u=(0,i.H)(r,e),c=(0,s.A)(u),f=(0,a.Z)(c);return(0,l.J)(f,n)}},3253:function(e,t,n){"use strict";n.d(t,{L:function(){return u}});var r=n(7599),o=n(4970),i=n(9123),a=n(6898),s=n(2206),l=n(8676);function u(e,t){if(arguments.length>2)return Promise.reject(new i.Z('As of version 3.0, "getToken" takes only a single set of options'));var n=(t=t||{}).popupWindow;return t.popupWindow=void 0,(0,a.wu)(e,t).then((function(a){var u,c;switch(t.sessionToken?Object.assign(a,{prompt:"none",responseMode:"okta_post_message",display:null}):t.idp&&Object.assign(a,{display:"popup"}),c=(0,r.Fc)(e,a),u=(t.codeVerifier?c.tokenUrl:c.authorizeUrl)+(0,s.R)(a),a.sessionToken||null===a.display?"IFRAME":"popup"===a.display?"POPUP":"IMPLICIT"){case"IFRAME":var f=(0,o.iC)(e,t.timeout,a.state),d=(0,o.Rl)(u);return f.then((function(t){return(0,l.s)(e,a,t,c)})).finally((function(){var e;document.body.contains(d)&&(null===(e=d.parentElement)||void 0===e||e.removeChild(d))}));case"POPUP":var p;if("okta_post_message"===a.responseMode){if(!e.features.isPopupPostMessageSupported())throw new i.Z("This browser doesn't have full postMessage support");p=(0,o.iC)(e,t.timeout,a.state)}return n&&n.location.assign(u),new Promise((function(e,t){var r=setInterval((function(){n&&!n.closed||(clearInterval(r),t(new i.Z("Unable to parse OAuth flow response")))}),100);p.then((function(t){clearInterval(r),e(t)})).catch((function(e){clearInterval(r),t(e)}))})).then((function(t){return(0,l.s)(e,a,t,c)})).finally((function(){n&&!n.closed&&n.close()}));default:throw new i.Z("The full page redirect flow is not supported")}}))}},6844:function(e,t,n){"use strict";n.d(t,{b:function(){return f}});var r=n(5861),o=n(7757),i=n.n(o),a=n(4771),s=n(9123),l=n(2886),u=n(5385),c=n(6488);function f(e,t,n){return d.apply(this,arguments)}function d(){return(d=(0,r.Z)(i().mark((function e(t,n,r){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n){e.next=4;break}return e.next=3,t.tokenManager.getTokens();case 3:n=e.sent.accessToken;case 4:if(r){e.next=8;break}return e.next=7,t.tokenManager.getTokens();case 7:r=e.sent.idToken;case 8:if(n&&(0,c.hv)(n)){e.next=10;break}return e.abrupt("return",Promise.reject(new s.Z("getUserInfo requires an access token object")));case 10:if(r&&(0,c.sI)(r)){e.next=12;break}return e.abrupt("return",Promise.reject(new s.Z("getUserInfo requires an ID token object")));case 12:return e.abrupt("return",(0,u.c3)(t,{url:n.userinfoUrl,method:"GET",accessToken:n.accessToken}).then((function(e){return e.sub===r.claims.sub?e:Promise.reject(new s.Z("getUserInfo request was rejected due to token mismatch"))})).catch((function(e){var t;if(e.xhr&&(401===e.xhr.status||403===e.xhr.status)&&(e.xhr.headers&&(0,a.mf)(e.xhr.headers.get)&&e.xhr.headers.get("WWW-Authenticate")?t=e.xhr.headers.get("WWW-Authenticate"):(0,a.mf)(e.xhr.getResponseHeader)&&(t=e.xhr.getResponseHeader("WWW-Authenticate")),t)){var n=t.match(/error="(.*?)"/)||[],r=t.match(/error_description="(.*?)"/)||[],o=n[1],i=r[1];o&&i&&(e=new l.Z(o,i))}throw e})));case 13:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},9770:function(e,t,n){"use strict";n.d(t,{d:function(){return s}});var r=n(9123),o=n(3193),i=n(3253),a=n(4970);function s(e,t){if(arguments.length>2)return Promise.reject(new r.Z('As of version 3.0, "getWithPopup" takes only a single set of options'));var n=(0,a.pU)("/",t);return t=(0,o.d9)(t)||{},Object.assign(t,{display:"popup",responseMode:"okta_post_message",popupWindow:n}),(0,i.L)(e,t)}},6803:function(e,t,n){"use strict";n.d(t,{H:function(){return f}});var r=n(5861),o=n(7757),i=n.n(o),a=n(9123),s=n(3193),l=n(6898),u=n(2865),c=n(2206);function f(e,t){return d.apply(this,arguments)}function d(){return d=(0,r.Z)(i().mark((function e(t,n){var r,o,f,d=arguments;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(d.length>2)){e.next=2;break}return e.abrupt("return",Promise.reject(new a.Z('As of version 3.0, "getWithRedirect" takes only a single set of options')));case 2:return n=(0,s.d9)(n)||{},e.next=5,(0,l.wu)(t,n);case 5:r=e.sent,o=(0,u.H)(t,r),f=o.urls.authorizeUrl+(0,c.R)(r),t.transactionManager.save(o),t.token.getWithRedirect._setLocation(f);case 10:case"end":return e.stop()}}),e)}))),d.apply(this,arguments)}},7625:function(e,t,n){"use strict";n.d(t,{y:function(){return a}});var r=n(9123),o=n(3193),i=n(3253);function a(e,t){return arguments.length>2?Promise.reject(new r.Z('As of version 3.0, "getWithoutPrompt" takes only a single set of options')):(t=(0,o.d9)(t)||{},Object.assign(t,{prompt:"none",responseMode:"okta_post_message",display:null}),(0,i.L)(e,t))}},8676:function(e,t,n){"use strict";n.d(t,{s:function(){return p}});var r=n(5861),o=n(7757),i=n.n(o),a=n(3193),s=n(7599),l=n(2886),u=n(9123),c=n(1260),f=n(7756);function d(e,t){if(e.error&&e.error_description)throw new l.Z(e.error,e.error_description);if(e.state!==t.state)throw new u.Z("OAuth flow response state doesn't match request state")}function p(e,t,n,r){return h.apply(this,arguments)}function h(){return(h=(0,r.Z)(i().mark((function e(t,n,r,o){var l,p,h,m,v,g,y,b,_,w,O,k,E,S;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1===t.options.pkce||!r.code&&!r.interaction_code){e.next=3;break}return e.abrupt("return",t.token.exchangeCodeForTokens(Object.assign({},n,{authorizationCode:r.code,interactionCode:r.interaction_code}),o));case 3:if(n=n||(0,f.D)(t),o=o||(0,s.Fc)(t,n),l=n.responseType||[],Array.isArray(l)||(l=[l]),p=r.scope?r.scope.split(" "):(0,a.d9)(n.scopes),h=n.clientId||t.options.clientId,d(r,n),m={},v=r.expires_in,g=r.token_type,y=r.access_token,b=r.id_token,_=r.refresh_token,w=Math.floor(Date.now()/1e3),y&&(O=t.token.decode(y),m.accessToken={accessToken:y,claims:O.payload,expiresAt:Number(v)+w,tokenType:g,scopes:p,authorizeUrl:o.authorizeUrl,userinfoUrl:o.userinfoUrl}),_&&(m.refreshToken={refreshToken:_,expiresAt:Number(v)+w,scopes:p,tokenUrl:o.tokenUrl,authorizeUrl:o.authorizeUrl,issuer:o.issuer}),!b){e.next=27;break}return k=t.token.decode(b),E={idToken:b,claims:k.payload,expiresAt:k.payload.exp-k.payload.iat+w,scopes:p,authorizeUrl:o.authorizeUrl,issuer:o.issuer,clientId:h},S={clientId:h,issuer:o.issuer,nonce:n.nonce,accessToken:y},void 0!==n.ignoreSignature&&(S.ignoreSignature=n.ignoreSignature),e.next=26,(0,c.W)(t,E,S);case 26:m.idToken=E;case 27:if(-1===l.indexOf("token")||m.accessToken){e.next=29;break}throw new u.Z('Unable to parse OAuth flow response: response type "token" was requested but "access_token" was not returned.');case 29:if(-1===l.indexOf("id_token")||m.idToken){e.next=31;break}throw new u.Z('Unable to parse OAuth flow response: response type "id_token" was requested but "id_token" was not returned.');case 31:return e.abrupt("return",{tokens:m,state:r.state,code:r.code});case 32:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},9443:function(e,t,n){"use strict";n.r(t),n.d(t,{createOktaAuthOAuth:function(){return r.z},createTokenAPI:function(){return r.o},mixinOAuth:function(){return o.J},createOAuthStorageManager:function(){return i.a},buildAuthorizeParams:function(){return a.R0},convertTokenParamsToOAuthParams:function(){return a._6},getKey:function(){return a.km},getWellKnown:function(){return a.ES},postRefreshToken:function(){return a.Dp},postToTokenEndpoint:function(){return a.ti},createOAuthOptionsConstructor:function(){return s.m},TokenManager:function(){return f.M},createTransactionManager:function(){return d.P},addListener:function(){return p.NH},addPostMessageListener:function(){return p.iC},assertPKCESupport:function(){return p.vz},createOAuthMeta:function(){return p.H},generateNonce:function(){return p.PY},generateState:function(){return p.aV},getDefaultTokenParams:function(){return p.Dx},getHashOrSearch:function(){return p.O2},getOAuthBaseUrl:function(){return p.zf},getOAuthDomain:function(){return p.Xp},getOAuthUrls:function(){return p.Fc},hasAuthorizationCode:function(){return p.ZP},hasErrorInUrl:function(){return p.hg},hasInteractionCode:function(){return p.d_},hasTokensInHash:function(){return p.kU},isAuthorizationCodeError:function(){return p.tC},isCodeFlow:function(){return p.Ik},isInteractionRequired:function(){return p.wc},isInteractionRequiredError:function(){return p.Cf},isLoginRedirect:function(){return p.gM},isRedirectUri:function(){return p.Qs},isRefreshTokenError:function(){return p.Yo},isRefreshTokenInvalidError:function(){return p.$E},isSameRefreshToken:function(){return p.q0},loadFrame:function(){return p.Rl},loadPopup:function(){return p.pU},pkce:function(){return p.U5},preparePKCE:function(){return p.mi},prepareTokenParams:function(){return p.wu},removeListener:function(){return p.ys},urlParamsToObject:function(){return p.vL},validateClaims:function(){return p.pj},validateCodeChallengeMethod:function(){return p.br},validateToken:function(){return p.Rp},decodeToken:function(){return h.T},revokeToken:function(){return m.P},renewToken:function(){return v.$},renewTokensWithRefresh:function(){return g.R},renewTokens:function(){return y.I},verifyToken:function(){return b.W},getUserInfo:function(){return _.b},handleOAuthResponse:function(){return w.s},exchangeCodeForTokens:function(){return O.r},getToken:function(){return k.L},getWithoutPrompt:function(){return E.y},getWithPopup:function(){return S.d},getWithRedirect:function(){return x.H},parseFromUrl:function(){return T.ko}});var r=n(231),o=n(2724),i=n(2333),a=n(2642),s=n(3775),l=n(8927),u={};for(var c in l)["default","decodeToken","revokeToken","renewToken","renewTokensWithRefresh","renewTokens","verifyToken","getUserInfo","handleOAuthResponse","exchangeCodeForTokens","getToken","getWithoutPrompt","getWithPopup","getWithRedirect","parseFromUrl","createOktaAuthOAuth","createTokenAPI","mixinOAuth","createOAuthStorageManager","buildAuthorizeParams","convertTokenParamsToOAuthParams","getKey","getWellKnown","postRefreshToken","postToTokenEndpoint","createOAuthOptionsConstructor"].indexOf(c)<0&&(u[c]=function(e){return l[e]}.bind(0,c));n.d(t,u);var f=n(2427),d=n(1646),p=n(8785),h=n(1237),m=n(6466),v=n(2476),g=n(781),y=n(6268),b=n(1260),_=n(6844),w=n(8676),O=n(8707),k=n(3253),E=n(7625),S=n(9770),x=n(6803),T=n(5372)},2724:function(e,t,n){"use strict";n.d(t,{J:function(){return A}});var r=n(4925),o=n(5861),i=n(5671),a=n(3144),s=n(7326),l=n(1752),u=n(136),c=n(2963),f=n(1120),d=n(4942),p=n(7757),h=n.n(p),m=n(5385),v=n(3548),g=n(9718),y=n(3611),b=n(7203),_=n(2427),w=n(8221),O=n(7599),k=n(1971),E=n(4858),S=["originalUri"];function x(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 T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach((function(t){(0,d.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function A(e,t){var n,p=function(e){(0,u.Z)(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,f.Z)(t);if(n){var o=(0,f.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,c.Z)(this,e)});function o(){return(0,i.Z)(this,o),r.apply(this,arguments)}return(0,a.Z)(o,[{key:"setOriginalUri",value:function(e,t){E.Z.getSessionStorage().setItem(k.REFERRER_PATH_STORAGE_KEY,e),(t=t||this.options.state)&&this.storageManager.getOriginalUriStorage().setItem(t,e)}},{key:"getOriginalUri",value:function(e){if(e=e||this.options.state){var t=this.storageManager.getOriginalUriStorage().getItem(e);if(t)return t}var n=E.Z.getSessionStorage();return n&&n.getItem(k.REFERRER_PATH_STORAGE_KEY)||void 0}},{key:"removeOriginalUri",value:function(e){if(E.Z.getSessionStorage().removeItem(k.REFERRER_PATH_STORAGE_KEY),e=e||this.options.state){var t=this.storageManager.getOriginalUriStorage();t.removeItem&&t.removeItem(e)}}}]),o}(e);return n=function(e){(0,u.Z)(I,e);var n,p,g,k,E,x,A,C,P,R,N=(P=I,R=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=(0,f.Z)(P);if(R){var n=(0,f.Z)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,c.Z)(this,e)});function I(){var e;(0,i.Z)(this,I);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return e=N.call.apply(N,[this].concat(r)),(0,d.Z)((0,s.Z)(e),"token",void 0),(0,d.Z)((0,s.Z)(e),"tokenManager",void 0),(0,d.Z)((0,s.Z)(e),"transactionManager",void 0),(0,d.Z)((0,s.Z)(e),"pkce",void 0),(0,d.Z)((0,s.Z)(e),"_pending",void 0),(0,d.Z)((0,s.Z)(e),"_tokenQueue",void 0),e.transactionManager=new t(Object.assign({storageManager:e.storageManager},e.options.transactionManager)),e.pkce={DEFAULT_CODE_CHALLENGE_METHOD:y.Z.DEFAULT_CODE_CHALLENGE_METHOD,generateVerifier:y.Z.generateVerifier,computeChallenge:y.Z.computeChallenge},e._pending={handleLogin:!1},e._tokenQueue=new v.b,e.token=(0,b.o)((0,s.Z)(e),e._tokenQueue),e.tokenManager=new _.M((0,s.Z)(e),e.options.tokenManager),e}return(0,a.Z)(I,[{key:"clearStorage",value:function(){(0,l.Z)((0,f.Z)(I.prototype),"clearStorage",this).call(this),this.tokenManager.clear()}},{key:"isAuthenticated",value:(C=(0,o.Z)(h().mark((function e(){var t,n,r,o,i,a,s,l,u,c,f=arguments;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=f.length>0&&void 0!==f[0]?f[0]:{},n=this.tokenManager.getOptions(),r=n.autoRenew,o=n.autoRemove,i=t.onExpiredToken?"renew"===t.onExpiredToken:r,a=t.onExpiredToken?"remove"===t.onExpiredToken:o,s=this.tokenManager.getTokensSync(),!(l=s.accessToken)||!this.tokenManager.hasExpired(l)){e.next=19;break}if(l=void 0,!i){e.next=18;break}return e.prev=8,e.next=11,this.tokenManager.renew("accessToken");case 11:l=e.sent,e.next=16;break;case 14:e.prev=14,e.t0=e.catch(8);case 16:e.next=19;break;case 18:a&&this.tokenManager.remove("accessToken");case 19:if(u=this.tokenManager.getTokensSync(),!(c=u.idToken)||!this.tokenManager.hasExpired(c)){e.next=34;break}if(c=void 0,!i){e.next=33;break}return e.prev=23,e.next=26,this.tokenManager.renew("idToken");case 26:c=e.sent,e.next=31;break;case 29:e.prev=29,e.t1=e.catch(23);case 31:e.next=34;break;case 33:a&&this.tokenManager.remove("idToken");case 34:return e.abrupt("return",!(!l||!c));case 35:case"end":return e.stop()}}),e,this,[[8,14],[23,29]])}))),function(){return C.apply(this,arguments)})},{key:"signInWithRedirect",value:(A=(0,o.Z)(h().mark((function e(){var t,n,o,i,a=arguments;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=a.length>0&&void 0!==a[0]?a[0]:{},n=t.originalUri,o=(0,r.Z)(t,S),!this._pending.handleLogin){e.next=4;break}return e.abrupt("return");case 4:return this._pending.handleLogin=!0,e.prev=5,n&&this.setOriginalUri(n),i=Object.assign({scopes:this.options.scopes||["openid","email","profile"]},o),e.next=10,this.token.getWithRedirect(i);case 10:return e.prev=10,this._pending.handleLogin=!1,e.finish(10);case 13:case"end":return e.stop()}}),e,this,[[5,,10,13]])}))),function(){return A.apply(this,arguments)})},{key:"getUser",value:(x=(0,o.Z)(h().mark((function e(){var t,n,r;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.tokenManager.getTokensSync(),n=t.idToken,r=t.accessToken,e.abrupt("return",this.token.getUserInfo(r,n));case 2:case"end":return e.stop()}}),e,this)}))),function(){return x.apply(this,arguments)})},{key:"getIdToken",value:function(){var e=this.tokenManager.getTokensSync().idToken;return e?e.idToken:void 0}},{key:"getAccessToken",value:function(){var e=this.tokenManager.getTokensSync().accessToken;return e?e.accessToken:void 0}},{key:"getRefreshToken",value:function(){var e=this.tokenManager.getTokensSync().refreshToken;return e?e.refreshToken:void 0}},{key:"storeTokensFromRedirect",value:(E=(0,o.Z)(h().mark((function e(){var t,n;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.token.parseFromUrl();case 2:t=e.sent,n=t.tokens,this.tokenManager.setTokens(n);case 5:case"end":return e.stop()}}),e,this)}))),function(){return E.apply(this,arguments)})},{key:"isLoginRedirect",value:function(){return(0,w.gM)(this)}},{key:"isPKCE",value:function(){return!!this.options.pkce}},{key:"hasResponseType",value:function(e){return Array.isArray(this.options.responseType)&&this.options.responseType.length?this.options.responseType.indexOf(e)>=0:this.options.responseType===e}},{key:"isAuthorizationCodeFlow",value:function(){return this.hasResponseType("code")}},{key:"invokeApiMethod",value:(k=(0,o.Z)(h().mark((function e(t){var n;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.accessToken){e.next=5;break}return e.next=3,this.tokenManager.getTokens();case 3:n=e.sent.accessToken,t.accessToken=null==n?void 0:n.accessToken;case 5:return e.abrupt("return",(0,m.c3)(this,t));case 6:case"end":return e.stop()}}),e,this)}))),function(e){return k.apply(this,arguments)})},{key:"revokeAccessToken",value:(g=(0,o.Z)(h().mark((function e(t){var n;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=6;break}return e.next=3,this.tokenManager.getTokens();case 3:t=e.sent.accessToken,n=this.tokenManager.getStorageKeyByType("accessToken"),this.tokenManager.remove(n);case 6:if(t){e.next=8;break}return e.abrupt("return",Promise.resolve(null));case 8:return e.abrupt("return",this.token.revoke(t));case 9:case"end":return e.stop()}}),e,this)}))),function(e){return g.apply(this,arguments)})},{key:"revokeRefreshToken",value:(p=(0,o.Z)(h().mark((function e(t){var n;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=6;break}return e.next=3,this.tokenManager.getTokens();case 3:t=e.sent.refreshToken,n=this.tokenManager.getStorageKeyByType("refreshToken"),this.tokenManager.remove(n);case 6:if(t){e.next=8;break}return e.abrupt("return",Promise.resolve(null));case 8:return e.abrupt("return",this.token.revoke(t));case 9:case"end":return e.stop()}}),e,this)}))),function(e){return p.apply(this,arguments)})},{key:"getSignOutRedirectUrl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.idToken,n=e.postLogoutRedirectUri,r=e.state;if(t||(t=this.tokenManager.getTokensSync().idToken),!t)return"";n||(n=this.options.postLogoutRedirectUri);var o=(0,O.Fc)(this).logoutUrl,i=t.idToken,a=o+"?id_token_hint="+encodeURIComponent(i);return n&&(a+="&post_logout_redirect_uri="+encodeURIComponent(n)),r&&(a+="&state="+encodeURIComponent(r)),a}},{key:"signOut",value:(n=(0,o.Z)(h().mark((function e(t){var n,r,o,i,a,s,l,u;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=Object.assign({},t),n=window.location.origin,r=window.location.href,o=t.postLogoutRedirectUri||this.options.postLogoutRedirectUri||n,i=t.accessToken,a=t.refreshToken,s=!1!==t.revokeAccessToken,(l=!1!==t.revokeRefreshToken)&&void 0===a&&(a=this.tokenManager.getTokensSync().refreshToken),s&&void 0===i&&(i=this.tokenManager.getTokensSync().accessToken),t.idToken||(t.idToken=this.tokenManager.getTokensSync().idToken),!l||!a){e.next=14;break}return e.next=14,this.revokeRefreshToken(a);case 14:if(!s||!i){e.next=17;break}return e.next=17,this.revokeAccessToken(i);case 17:if(u=this.getSignOutRedirectUrl(T(T({},t),{},{postLogoutRedirectUri:o}))){e.next=22;break}return e.abrupt("return",this.closeSession().then((function(){o===r?window.location.reload():window.location.assign(o)})));case 22:t.clearTokensBeforeRedirect?this.tokenManager.clear():this.tokenManager.addPendingRemoveFlags(),window.location.assign(u);case 24:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})}]),I}(p),(0,d.Z)(n,"crypto",g),n}},9453:function(e,t,n){"use strict";n.d(t,{m:function(){return m}});var r=n(5671),o=n(7326),i=n(136),a=n(2963),s=n(1120),l=n(4942),u=n(1971),c=n(6718),f=n(415),d=n(8817),p=n(9123);function h(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(){return function(e){(0,i.Z)(m,e);var t,n,d=(t=m,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var o=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function m(e){var t;return(0,r.Z)(this,m),t=d.call(this,e),(0,l.Z)((0,o.Z)(t),"issuer",void 0),(0,l.Z)((0,o.Z)(t),"authorizeUrl",void 0),(0,l.Z)((0,o.Z)(t),"userinfoUrl",void 0),(0,l.Z)((0,o.Z)(t),"tokenUrl",void 0),(0,l.Z)((0,o.Z)(t),"revokeUrl",void 0),(0,l.Z)((0,o.Z)(t),"logoutUrl",void 0),(0,l.Z)((0,o.Z)(t),"pkce",void 0),(0,l.Z)((0,o.Z)(t),"clientId",void 0),(0,l.Z)((0,o.Z)(t),"redirectUri",void 0),(0,l.Z)((0,o.Z)(t),"responseType",void 0),(0,l.Z)((0,o.Z)(t),"responseMode",void 0),(0,l.Z)((0,o.Z)(t),"state",void 0),(0,l.Z)((0,o.Z)(t),"scopes",void 0),(0,l.Z)((0,o.Z)(t),"ignoreSignature",void 0),(0,l.Z)((0,o.Z)(t),"codeChallenge",void 0),(0,l.Z)((0,o.Z)(t),"codeChallengeMethod",void 0),(0,l.Z)((0,o.Z)(t),"tokenManager",void 0),(0,l.Z)((0,o.Z)(t),"postLogoutRedirectUri",void 0),(0,l.Z)((0,o.Z)(t),"restoreOriginalUri",void 0),(0,l.Z)((0,o.Z)(t),"transactionManager",void 0),(0,l.Z)((0,o.Z)(t),"clientSecret",void 0),(0,l.Z)((0,o.Z)(t),"setLocation",void 0),(0,l.Z)((0,o.Z)(t),"ignoreLifetime",void 0),(0,l.Z)((0,o.Z)(t),"maxClockSkew",void 0),function(e){var t=(e=e||{}).scopes;if(t&&!Array.isArray(t))throw new p.Z('scopes must be a array of strings. Required usage: new OktaAuth({scopes: ["openid", "email"]})');var n=e.issuer;if(!n)throw new p.Z('No issuer passed to constructor. Required usage: new OktaAuth({issuer: "https://{yourOktaDomain}.com/oauth2/{authServerId}"})');if(!new RegExp("^http?s?://.+").test(n))throw new p.Z('Issuer must be a valid URL. Required usage: new OktaAuth({issuer: "https://{yourOktaDomain}.com/oauth2/{authServerId}"})');if(-1!==n.indexOf("-admin."))throw new p.Z('Issuer URL passed to constructor contains "-admin" in subdomain. Required usage: new OktaAuth({issuer: "https://{yourOktaDomain}.com})')}(e),t.issuer=(0,c.Qj)(e.issuer),t.tokenUrl=(0,c.Qj)(e.tokenUrl),t.authorizeUrl=(0,c.Qj)(e.authorizeUrl),t.userinfoUrl=(0,c.Qj)(e.userinfoUrl),t.revokeUrl=(0,c.Qj)(e.revokeUrl),t.logoutUrl=(0,c.Qj)(e.logoutUrl),t.pkce=!1!==e.pkce,t.clientId=e.clientId,t.redirectUri=e.redirectUri,(0,f.isBrowser)()&&(t.redirectUri=(0,c.BY)(e.redirectUri,window.location.origin)),t.responseType=e.responseType,t.responseMode=e.responseMode,t.state=e.state,t.scopes=e.scopes,t.ignoreSignature=!!e.ignoreSignature,t.codeChallenge=e.codeChallenge,t.codeChallengeMethod=e.codeChallengeMethod,t.tokenManager=e.tokenManager,t.postLogoutRedirectUri=e.postLogoutRedirectUri,t.restoreOriginalUri=e.restoreOriginalUri,t.transactionManager=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){(0,l.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({enableSharedStorage:!0},e.transactionManager),t.clientSecret=e.clientSecret,t.setLocation=e.setLocation,t.ignoreLifetime=!!e.ignoreLifetime,e.maxClockSkew||0===e.maxClockSkew?t.maxClockSkew=e.maxClockSkew:t.maxClockSkew=u.DEFAULT_MAX_CLOCK_SKEW,t}return m}((0,d.Z)())}},3775:function(e,t,n){"use strict";n.d(t,{m:function(){return r.m}});var r=n(9453)},5372:function(e,t,n){"use strict";n.d(t,{Tp:function(){return d},ko:function(){return h}});var r=n(5861),o=n(7757),i=n.n(o),a=n(9123),s=n(1969),l=n(9912),u=n(4771),c=n(8676);function f(e){var t=e.options.pkce?"query":"fragment";return e.options.responseMode||t}function d(e,t){t=t||{},(0,u.HD)(t)&&(t={url:t});var n,r=t.url,o=t.responseMode||f(e),i=e.token.parseFromUrl._getLocation();if(!(n="query"===o?r?r.substring(r.indexOf("?")):i.search:r?r.substring(r.indexOf("#")):i.hash))throw new a.Z("Unable to parse a token from the url");return(0,s.v)(n)}function p(e,t){"query"===(t.responseMode||f(e))?function(e){var t=e.token.parseFromUrl._getHistory(),n=e.token.parseFromUrl._getDocument(),r=e.token.parseFromUrl._getLocation();t&&t.replaceState?t.replaceState(null,n.title,r.pathname+r.hash):r.search=""}(e):function(e){var t=e.token.parseFromUrl._getHistory(),n=e.token.parseFromUrl._getDocument(),r=e.token.parseFromUrl._getLocation();t&&t.replaceState?t.replaceState(null,n.title,r.pathname+r.search):r.hash=""}(e)}function h(e,t){return m.apply(this,arguments)}function m(){return(m=(0,r.Z)(i().mark((function e(t,n){var r,o,s,f;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=n||{},(0,u.HD)(n)&&(n={url:n}),r=d(t,n),o=r.state,s=t.transactionManager.load({state:o})){e.next=9;break}if(!t.options.pkce){e.next=8;break}throw new a.Z("Could not load PKCE codeVerifier from storage. This may indicate the auth flow has already completed or multiple auth flows are executing concurrently.",void 0);case 8:throw new a.Z("Unable to retrieve OAuth redirect params from storage");case 9:return f=s.urls,delete s.urls,n.url||p(t,n),e.abrupt("return",(0,c.s)(t,s,r,f).catch((function(e){throw(0,l.Cf)(e)||t.transactionManager.clear({state:o}),e})).then((function(e){return t.transactionManager.clear({state:o}),e})));case 13:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},2476:function(e,t,n){"use strict";n.d(t,{$:function(){return d}});var r=n(5861),o=n(7757),i=n.n(o),a=n(9123),s=n(6488),l=n(7625),u=n(781);function c(){throw new a.Z("Renew must be passed a token with an array of scopes and an accessToken or idToken")}function f(e,t){return(0,s.sI)(e)?t.idToken:(0,s.hv)(e)?t.accessToken:void c()}function d(e,t){return p.apply(this,arguments)}function p(){return(p=(0,r.Z)(i().mark((function e(t,n){var r,o,a,d,p,h,m;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((0,s.sI)(n)||(0,s.hv)(n)||c(),!(r=t.tokenManager.getTokensSync()).refreshToken){e.next=7;break}return e.next=5,(0,u.R)(t,{scopes:n.scopes},r.refreshToken);case 5:return r=e.sent,e.abrupt("return",f(n,r));case 7:return o=t.options.pkce?"code":(0,s.hv)(n)?"token":"id_token",d=(a=n).scopes,p=a.authorizeUrl,h=a.userinfoUrl,m=a.issuer,e.abrupt("return",(0,l.y)(t,{responseType:o,scopes:d,authorizeUrl:p,userinfoUrl:h,issuer:m}).then((function(e){return f(n,e.tokens)})));case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},6268:function(e,t,n){"use strict";n.d(t,{I:function(){return c}});var r=n(5861),o=n(7757),i=n.n(o),a=n(9123),s=n(7625),l=n(781),u=n(7756);function c(e,t){return f.apply(this,arguments)}function f(){return(f=(0,r.Z)(i().mark((function e(t,n){var r,o,c,f,d,p,h,m,v;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r=t.tokenManager.getTokensSync()).refreshToken){e.next=3;break}return e.abrupt("return",(0,l.R)(t,n||{},r.refreshToken));case 3:if(r.accessToken||r.idToken){e.next=5;break}throw new a.Z("renewTokens() was called but there is no existing token");case 5:if(o=r.accessToken||{},c=r.idToken||{},f=o.scopes||c.scopes){e.next=10;break}throw new a.Z("renewTokens: invalid tokens: could not read scopes");case 10:if(d=o.authorizeUrl||c.authorizeUrl){e.next=13;break}throw new a.Z("renewTokens: invalid tokens: could not read authorizeUrl");case 13:return p=o.userinfoUrl||t.options.userinfoUrl,h=c.issuer||t.options.issuer,n=Object.assign({scopes:f,authorizeUrl:d,userinfoUrl:p,issuer:h},n),t.options.pkce?n.responseType="code":(m=(0,u.D)(t),v=m.responseType,n.responseType=v),e.abrupt("return",(0,s.y)(t,n).then((function(e){return e.tokens})));case 18:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},781:function(e,t,n){"use strict";n.d(t,{R:function(){return d}});var r=n(5861),o=n(7757),i=n.n(o),a=n(9123),s=n(7599),l=n(6635),u=n(8676),c=n(9231),f=n(9912);function d(e,t,n){return p.apply(this,arguments)}function p(){return(p=(0,r.Z)(i().mark((function e(t,n,r){var o,d,p,h,m,v,g;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=t.options.clientId){e.next=3;break}throw new a.Z("A clientId must be specified in the OktaAuth constructor to renew tokens");case 3:return e.prev=3,d=Object.assign({},n,{clientId:o}),e.next=7,(0,c.D)(t,d,r);case 7:return p=e.sent,h=(0,s.Fc)(t,n),e.next=11,(0,u.s)(t,d,p,h);case 11:return m=e.sent,v=m.tokens,(g=v.refreshToken)&&!(0,l.q)(g,r)&&t.tokenManager.updateRefreshToken(g),e.abrupt("return",v);case 18:throw e.prev=18,e.t0=e.catch(3),(0,f.$E)(e.t0)&&t.tokenManager.removeRefreshToken(),e.t0;case 22:case"end":return e.stop()}}),e,null,[[3,18]])})))).apply(this,arguments)}},6466:function(e,t,n){"use strict";n.d(t,{P:function(){return f}});var r=n(5861),o=n(7757),i=n.n(o),a=n(5385),s=n(6718),l=n(7599),u=n(7594),c=n(9123);function f(e,t){return d.apply(this,arguments)}function d(){return(d=(0,r.Z)(i().mark((function e(t,n){var r,o,f,d,p,h,m;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r="",o="",n&&(r=n.accessToken,o=n.refreshToken),r||o){e.next=5;break}throw new c.Z("A valid access or refresh token object is required");case 5:if(f=t.options.clientId,d=t.options.clientSecret,f){e.next=9;break}throw new c.Z("A clientId must be specified in the OktaAuth constructor to revoke a token");case 9:return p=(0,l.Fc)(t).revokeUrl,h=(0,s.UK)({token_type_hint:o?"refresh_token":"access_token",token:o||r}).slice(1),m=d?(0,u.r3)("".concat(f,":").concat(d)):(0,u.r3)(f),e.abrupt("return",(0,a.v_)(t,p,h,{headers:{"Content-Type":"application/x-www-form-urlencoded",Authorization:"Basic "+m}}));case 13:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},2333:function(e,t,n){"use strict";n.d(t,{a:function(){return f}});var r=n(5671),o=n(3144),i=n(136),a=n(2963),s=n(1120),l=n(5437),u=n(5763),c=n(1971);function f(){return function(e){(0,i.Z)(d,e);var t,n,f=(t=d,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var o=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function d(e,t,n){return(0,r.Z)(this,d),f.call(this,e,t,n)}return(0,o.Z)(d,[{key:"getTransactionStorage",value:function(e){e=this.getOptionsForSection("transaction",e),(0,l.V)(e);var t=this.getStorage(e),n=e.storageKey||c.TRANSACTION_STORAGE_NAME;return new u._(t,n)}},{key:"getSharedTansactionStorage",value:function(e){e=this.getOptionsForSection("shared-transaction",e),(0,l.V)(e);var t=this.getStorage(e),n=e.storageKey||c.SHARED_TRANSACTION_STORAGE_NAME;return new u._(t,n)}},{key:"getOriginalUriStorage",value:function(e){e=this.getOptionsForSection("original-uri",e),(0,l.V)(e);var t=this.getStorage(e),n=e.storageKey||c.ORIGINAL_URI_STORAGE_NAME;return new u._(t,n)}}]),d}(l.W)}},6488:function(e,t,n){"use strict";function r(e){return!!(e&&(e.accessToken||e.idToken||e.refreshToken)&&Array.isArray(e.scopes))}function o(e){return e&&e.accessToken}function i(e){return e&&e.idToken}function a(e){return e&&e.refreshToken}n.d(t,{hD:function(){return r},hv:function(){return o},sI:function(){return i},z9:function(){return a}})},7088:function(e,t,n){"use strict";n.d(t,{$Y:function(){return r},E:function(){return o},O3:function(){return i},FT:function(){return a},$I:function(){return s},zr:function(){return l}});var r="expired",o="renewed",i="added",a="removed",s="error",l="set_storage"},4319:function(e,t,n){"use strict";n.d(t,{G5:function(){return i},ZT:function(){return a},sG:function(){return s},rZ:function(){return l},mH:function(){return u}});var r=n(1002);function o(e){return!(!e||"object"!==(0,r.Z)(e)||0===Object.values(e).length)}function i(e){return!(!o(e)||!e.redirectUri&&!e.responseType)}function a(e){return!!i(e)&&!!e.codeVerifier}function s(e){return!!a(e)&&!!e.interactionHandle}function l(e){return!!o(e)&&void 0===Object.values(e).find((function(e){return"string"!=typeof e}))}function u(e){return!(!i(e)&&!l(e))}},7615:function(){},8927:function(e,t,n){"use strict";n.r(t),n.d(t,{isAccessToken:function(){return a.hv},isIDToken:function(){return a.sI},isRefreshToken:function(){return a.z9},isToken:function(){return a.hD},EVENT_ADDED:function(){return s.O3},EVENT_ERROR:function(){return s.$I},EVENT_EXPIRED:function(){return s.$Y},EVENT_REMOVED:function(){return s.FT},EVENT_RENEWED:function(){return s.E},EVENT_SET_STORAGE:function(){return s.zr},isCustomAuthTransactionMeta:function(){return l.rZ},isIdxTransactionMeta:function(){return l.sG},isOAuthTransactionMeta:function(){return l.G5},isPKCETransactionMeta:function(){return l.ZT},isTransactionMeta:function(){return l.mH}});var r=n(9263),o={};for(var i in r)"default"!==i&&(o[i]=function(e){return r[e]}.bind(0,i));n.d(t,o);var a=n(6488),s=n(7088),l=n(4319),u=n(7615);for(var i in o={},u)["default","isAccessToken","isIDToken","isRefreshToken","isToken","EVENT_ADDED","EVENT_ERROR","EVENT_EXPIRED","EVENT_REMOVED","EVENT_RENEWED","EVENT_SET_STORAGE","isCustomAuthTransactionMeta","isIdxTransactionMeta","isOAuthTransactionMeta","isPKCETransactionMeta","isTransactionMeta"].indexOf(i)<0&&(o[i]=function(e){return u[e]}.bind(0,i));n.d(t,o)},9263:function(){},4970:function(e,t,n){"use strict";n.d(t,{NH:function(){return o},ys:function(){return i},Rl:function(){return a},pU:function(){return s},iC:function(){return l}});var r=n(9123);function o(e,t,n){e.addEventListener?e.addEventListener(t,n):e.attachEvent("on"+t,n)}function i(e,t,n){e.removeEventListener?e.removeEventListener(t,n):e.detachEvent("on"+t,n)}function a(e){var t=document.createElement("iframe");return t.style.display="none",t.src=e,document.body.appendChild(t)}function s(e,t){var n=t.popupTitle||"External Identity Provider User Authentication";return window.open(e,n,"toolbar=no, scrollbars=yes, resizable=yes, top=100, left=500, width=600, height=600")}function l(e,t,n){var a,s;return new Promise((function(i,l){a=function(t){if(t.data&&t.data.state===n)return t.origin!==e.getIssuerOrigin()?l(new r.Z("The request does not match client configuration")):void i(t.data)},o(window,"message",a),s=setTimeout((function(){l(new r.Z("OAuth flow timed out"))}),t||12e4)})).finally((function(){clearTimeout(s),i(window,"message",a)}))}},7756:function(e,t,n){"use strict";n.d(t,{D:function(){return a}});var r=n(7599),o=n(415),i=n(3193);function a(e){var t=e.options,n=t.pkce,a=t.clientId,s=t.redirectUri,l=t.responseType,u=t.responseMode,c=t.scopes,f=t.state,d=t.ignoreSignature,p=(0,o.isBrowser)()?window.location.href:void 0;return(0,i.YY)({pkce:n,clientId:a,redirectUri:s||p,responseType:l||["token","id_token"],responseMode:u,state:f||(0,r.aV)(),nonce:(0,r.NH)(),scopes:c||["openid","email"],ignoreSignature:d})}},9912:function(e,t,n){"use strict";n.d(t,{Cf:function(){return o},tC:function(){return i},$E:function(){return a}});var r=n(5728);function o(e){return"OAuthError"===e.name&&"interaction_required"===e.errorCode}function i(e,t){if("AuthApiError"!==t.name)return!1;var n=t.xhr,r=null==n?void 0:n.responseJSON;return e.options.pkce&&"invalid_grant"===(null==r?void 0:r.error)}function a(e){return(0,r.isOAuthError)(e)&&"invalid_grant"===e.errorCode&&"The refresh token is invalid or expired."===e.errorSummary}},8785:function(e,t,n){"use strict";n.d(t,{NH:function(){return r.NH},iC:function(){return r.iC},Rl:function(){return r.Rl},pU:function(){return r.pU},ys:function(){return r.ys},Dx:function(){return o.D},tC:function(){return i.tC},Cf:function(){return i.Cf},$E:function(){return i.$E},O2:function(){return a.O2},ZP:function(){return a.ZP},hg:function(){return a.hg},d_:function(){return a.d_},kU:function(){return a.kU},Ik:function(){return a.Ik},wc:function(){return a.wc},gM:function(){return a.gM},Qs:function(){return a.Qs},PY:function(){return s.NH},aV:function(){return s.aV},zf:function(){return s.zf},Xp:function(){return s.Xp},Fc:function(){return s.Fc},H:function(){return l.H},U5:function(){return u.Z},vz:function(){return c.vz},mi:function(){return c.mi},wu:function(){return c.wu},br:function(){return c.br},Yo:function(){return f.Y},q0:function(){return f.q},vL:function(){return d.v},pj:function(){return p.p},Rp:function(){return h.R}});var r=n(4970),o=n(7756),i=n(9912),a=n(8221),s=n(7599),l=n(2865),u=n(3611),c=n(6898),f=n(6635),d=n(1969),p=n(6003),h=n(2482)},8221:function(e,t,n){"use strict";function r(e){return/((id|access)_token=)/i.test(e)}function o(e){return/(code=)/i.test(e)}function i(e){return/(interaction_code=)/i.test(e)}function a(e){return/(error=)/i.test(e)||/(error_description)/i.test(e)}function s(e,t){var n=t.options;return!(!e||!n.redirectUri)&&0===e.indexOf(n.redirectUri)}function l(e){return e.pkce||"code"===e.responseType||"query"===e.responseMode}function u(e){return l(e)&&"fragment"!==e.responseMode?window.location.search:window.location.hash}function c(e){if(!s(window.location.href,e))return!1;var t=l(e.options),n=u(e.options);return!!a(n)||(t?o(n)||i(n):r(window.location.hash))}function f(e,t){if(!t){if(!c(e))return!1;t=u(e.options)}return/(error=interaction_required)/i.test(t)}n.d(t,{kU:function(){return r},ZP:function(){return o},d_:function(){return i},hg:function(){return a},Qs:function(){return s},Ik:function(){return l},O2:function(){return u},gM:function(){return c},wc:function(){return f}})},7599:function(e,t,n){"use strict";n.d(t,{aV:function(){return a},NH:function(){return s},zf:function(){return u},Xp:function(){return c},Fc:function(){return f}});var r=n(8750),o=n(6718),i=n(9123);function a(){return(0,r.uh)(64)}function s(){return(0,r.uh)(64)}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,o.Qj)(t.issuer)||e.options.issuer}function u(e){var t=l(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{});return t.indexOf("/oauth2")>0?t:t+"/oauth2"}function c(e){return l(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).split("/oauth2")[0]}function f(e,t){if(arguments.length>2)throw new i.Z('As of version 3.0, "getOAuthUrls" takes only a single set of options');t=t||{};var n=(0,o.Qj)(t.authorizeUrl)||e.options.authorizeUrl,r=l(e,t),a=(0,o.Qj)(t.userinfoUrl)||e.options.userinfoUrl,s=(0,o.Qj)(t.tokenUrl)||e.options.tokenUrl,c=(0,o.Qj)(t.logoutUrl)||e.options.logoutUrl,f=(0,o.Qj)(t.revokeUrl)||e.options.revokeUrl,d=u(e,t);return{issuer:r,authorizeUrl:n=n||d+"/v1/authorize",userinfoUrl:a=a||d+"/v1/userinfo",tokenUrl:s=s||d+"/v1/token",revokeUrl:f=f||d+"/v1/revoke",logoutUrl:c=c||d+"/v1/logout"}}},2865:function(e,t,n){"use strict";n.d(t,{H:function(){return s}});var r=n(4942),o=n(7599);function i(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t){var n={issuer:e.options.issuer,urls:(0,o.Fc)(e,t),clientId:t.clientId,redirectUri:t.redirectUri,responseType:t.responseType,responseMode:t.responseMode,scopes:t.scopes,state:t.state,nonce:t.nonce,ignoreSignature:t.ignoreSignature};return!1===t.pkce?n:a(a({},n),{},{codeVerifier:t.codeVerifier,codeChallengeMethod:t.codeChallengeMethod,codeChallenge:t.codeChallenge})}},3611:function(e,t,n){"use strict";var r=n(7594),o=n(7987),i=n(1971);function a(e){return("0"+e.toString(16)).substr(-2)}t.Z={DEFAULT_CODE_CHALLENGE_METHOD:i.DEFAULT_CODE_CHALLENGE_METHOD,generateVerifier:function(e){var t,n,o=e||"";return o.length<i.MIN_VERIFIER_LENGTH&&(o+=(t=i.MIN_VERIFIER_LENGTH-o.length,n=new Uint8Array(Math.ceil(t/2)),r.KP.getRandomValues(n),Array.from(n,a).join("").slice(0,t))),encodeURIComponent(o).slice(0,i.MAX_VERIFIER_LENGTH)},computeChallenge:function(e){var t=(new TextEncoder).encode(e);return r.KP.subtle.digest("SHA-256",t).then((function(e){var t=String.fromCharCode.apply(null,new Uint8Array(e));return(0,o.NL)(t)}))}}},6898:function(e,t,n){"use strict";n.d(t,{vz:function(){return h},br:function(){return m},mi:function(){return g},wu:function(){return b}});var r=n(4942),o=n(5861),i=n(7757),a=n.n(i),s=n(52),l=n(9123),u=n(7756),c=n(1971),f=n(3611);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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e){if(!e.features.isPKCESupported()){var t="PKCE requires a modern browser with encryption support running in a secure context.";throw e.features.isHTTPS()||(t+="\nThe current page is not being served with HTTPS protocol. PKCE requires secure HTTPS protocol."),e.features.hasTextEncoder()||(t+='\n"TextEncoder" is not defined. To use PKCE, you may need to include a polyfill/shim for this browser.'),new l.Z(t)}}function m(e,t){return v.apply(this,arguments)}function v(){return(v=(0,o.Z)(a().mark((function e(t,n){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=n||t.options.codeChallengeMethod||c.DEFAULT_CODE_CHALLENGE_METHOD,e.next=3,(0,s.E)(t);case 3:if(-1!==(e.sent.code_challenge_methods_supported||[]).indexOf(n)){e.next=7;break}throw new l.Z("Invalid code_challenge_method");case 7:return e.abrupt("return",n);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function g(e,t){return y.apply(this,arguments)}function y(){return(y=(0,o.Z)(a().mark((function e(t,n){var r,o,i,s;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=(r=n).codeVerifier,i=r.codeChallenge,s=r.codeChallengeMethod,i=i||t.options.codeChallenge){e.next=8;break}return h(t),o=o||f.Z.generateVerifier(),e.next=7,f.Z.computeChallenge(o);case 7:i=e.sent;case 8:return e.next=10,m(t,s);case 10:return s=e.sent,n=p(p({},n),{},{responseType:"code",codeVerifier:o,codeChallenge:i,codeChallengeMethod:s}),e.abrupt("return",n);case 13:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function b(e){return _.apply(this,arguments)}function _(){return _=(0,o.Z)(a().mark((function e(t){var n,r,o=arguments;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=o.length>1&&void 0!==o[1]?o[1]:{},r=(0,u.D)(t),!1!==(n=p(p({},r),n)).pkce){e.next=5;break}return e.abrupt("return",n);case 5:return e.abrupt("return",g(t,n));case 6:case"end":return e.stop()}}),e)}))),_.apply(this,arguments)}},6635:function(e,t,n){"use strict";n.d(t,{q:function(){return o},Y:function(){return i}});var r=n(5728);function o(e,t){return e.refreshToken===t.refreshToken}function i(e){return!(!(0,r.isAuthApiError)(e)||!e.xhr||!e.xhr.responseJSON||"invalid_grant"!==e.xhr.responseJSON.error)}},1969:function(e,t,n){"use strict";function r(e){var t=/\+/g,n=/([^&=]+)=?([^&]*)/g,r=e||"";"#"===r.charAt(0)&&"/"===r.charAt(1)&&(r=r.substring(2)),"#"!==r.charAt(0)&&"?"!==r.charAt(0)||(r=r.substring(1));for(var o,i={};o=n.exec(r);){var a=o[1],s=o[2];i[a]="id_token"===a||"access_token"===a||"code"===a?s:decodeURIComponent(s.replace(t," "))}return i}n.d(t,{v:function(){return r}})},6003:function(e,t,n){"use strict";n.d(t,{p:function(){return o}});var r=n(9123);function o(e,t,n){var o=n.clientId,i=n.issuer,a=n.nonce;if(!t||!i||!o)throw new r.Z("The jwt, iss, and aud arguments are all required");if(a&&t.nonce!==a)throw new r.Z("OAuth flow response nonce doesn't match request nonce");var s=Math.floor(Date.now()/1e3);if(t.iss!==i)throw new r.Z("The issuer ["+t.iss+"] does not match ["+i+"]");if(t.aud!==o)throw new r.Z("The audience ["+t.aud+"] does not match ["+o+"]");if(t.iat>t.exp)throw new r.Z("The JWT expired before it was issued");if(!e.options.ignoreLifetime){if(s-e.options.maxClockSkew>t.exp)throw new r.Z("The JWT expired and is no longer valid");if(t.iat>s+e.options.maxClockSkew)throw new r.Z("The JWT was issued in the future")}}},2482:function(e,t,n){"use strict";n.d(t,{R:function(){return i}});var r=n(9123),o=n(6488);function i(e,t){if(!(0,o.sI)(e)&&!(0,o.hv)(e)&&!(0,o.z9)(e))throw new r.Z("Token must be an Object with scopes, expiresAt, and one of: an idToken, accessToken, or refreshToken property");if("accessToken"===t&&!(0,o.hv)(e))throw new r.Z("invalid accessToken");if("idToken"===t&&!(0,o.sI)(e))throw new r.Z("invalid idToken");if("refreshToken"===t&&!(0,o.z9)(e))throw new r.Z("invalid refreshToken")}},1260:function(e,t,n){"use strict";n.d(t,{W:function(){return d}});var r=n(5861),o=n(7757),i=n.n(o),a=n(52),s=n(6003),l=n(9123),u=n(1237),c=n(3154),f=n(5698);function d(e,t,n){return p.apply(this,arguments)}function p(){return(p=(0,r.Z)(i().mark((function e(t,n,r){var o,d,p,h,m,v;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n&&n.idToken){e.next=2;break}throw new l.Z("Only idTokens may be verified");case 2:return o=(0,u.T)(n.idToken),d=(null==r?void 0:r.issuer)||t.options.issuer,e.next=6,(0,a.E)(t,d);case 6:if(p=e.sent,h=p.issuer,m=Object.assign({clientId:t.options.clientId,ignoreSignature:t.options.ignoreSignature},r,{issuer:h}),(0,s.p)(t,o.payload,m),1!=m.ignoreSignature&&t.features.isTokenVerifySupported()){e.next=12;break}return e.abrupt("return",n);case 12:return e.next=14,(0,a.k)(t,n.issuer,o.header.kid);case 14:return v=e.sent,e.next=17,c.W(n.idToken,v);case 17:if(e.sent){e.next=20;break}throw new l.Z("The token signature is not valid");case 20:if(!(r&&r.accessToken&&n.claims.at_hash)){e.next=26;break}return e.next=23,f.X(r.accessToken);case 23:if(e.sent===n.claims.at_hash){e.next=26;break}throw new l.Z("Token hash verification failed");case 26:return e.abrupt("return",n);case 27:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},3719:function(e,t,n){"use strict";n.d(t,{sH:function(){return a},Gg:function(){return s},RJ:function(){return l},dx:function(){return u},OT:function(){return c}});var r=n(3193),o=n(6718),i=n(5385);function a(e){return e.session.get().then((function(e){return"ACTIVE"===e.status})).catch((function(){return!1}))}function s(e){return(0,i.U2)(e,"/api/v1/sessions/me",{withCredentials:!0}).then((function(t){var n=(0,r.CE)(t,"_links");return n.refresh=function(){return(0,i.v_)(e,(0,r.Rg)(t,"refresh").href,{},{withCredentials:!0})},n.user=function(){return(0,i.U2)(e,(0,r.Rg)(t,"user").href,{withCredentials:!0})},n})).catch((function(){return{status:"INACTIVE"}}))}function l(e){return(0,i.c3)(e,{url:e.getIssuerOrigin()+"/api/v1/sessions/me",method:"DELETE",withCredentials:!0})}function u(e){return(0,i.v_)(e,"/api/v1/sessions/me/lifecycle/refresh",{},{withCredentials:!0})}function c(e,t,n){n=n||window.location.href,window.location.assign(e.getIssuerOrigin()+"/login/sessionCookieRedirect"+(0,o.UK)({checkAccountSetupComplete:!0,token:t,redirectUrl:n}))}},2815:function(e,t,n){"use strict";n.d(t,{M:function(){return o}});var r=n(3719);function o(e){return{close:r.RJ.bind(null,e),exists:r.sH.bind(null,e),get:r.Gg.bind(null,e),refresh:r.dx.bind(null,e),setCookieAndRedirect:r.OT.bind(null,e)}}},8041:function(e,t,n){"use strict";n.d(t,{RJ:function(){return r.RJ},Gg:function(){return r.Gg},dx:function(){return r.dx},sH:function(){return r.sH},OT:function(){return r.OT},MG:function(){return o.M},Zg:function(){return i.Z}});var r=n(3719),o=n(2815),i=n(3980)},3980:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(5861),o=n(5671),i=n(3144),a=n(7326),s=n(136),l=n(2963),u=n(1120),c=n(4942),f=n(7757),d=n.n(f),p=n(2815);function h(e){return function(e){(0,s.Z)(h,e);var t,n,f=(t=h,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,u.Z)(t);if(n){var o=(0,u.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,l.Z)(this,e)});function h(){var e;(0,o.Z)(this,h);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e=f.call.apply(f,[this].concat(n)),(0,c.Z)((0,a.Z)(e),"session",void 0),e.session=(0,p.M)((0,a.Z)(e)),e}return(0,i.Z)(h,[{key:"closeSession",value:function(){var e=this;return this.session.close().then((0,r.Z)(d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.clearStorage();case 1:case"end":return t.stop()}}),t)})))).catch((function(e){if("AuthApiError"===e.name&&"E0000007"===e.errorCode)return null;throw e}))}}]),h}(e)}},5437:function(e,t,n){"use strict";n.d(t,{V:function(){return c},W:function(){return f}});var r=n(5671),o=n(3144),i=n(4942),a=n(1971),s=n(5763),l=n(415),u=n(146);function c(e){(0,l.isBrowser)()||e.storageProvider||e.storageProvider||(0,u.ZK)("Memory storage can only support simple single user use case on server side, please provide custom storageProvider or storageKey if advanced scenarios need to be supported.")}var f=function(){function e(t,n,o){(0,r.Z)(this,e),(0,i.Z)(this,"storageManagerOptions",void 0),(0,i.Z)(this,"cookieOptions",void 0),(0,i.Z)(this,"storageUtil",void 0),this.storageManagerOptions=t,this.cookieOptions=n,this.storageUtil=o}return(0,o.Z)(e,[{key:"getOptionsForSection",value:function(e,t){return Object.assign({},this.storageManagerOptions[e],t)}},{key:"getStorage",value:function(e){if((e=Object.assign({},this.cookieOptions,e)).storageProvider)return e.storageProvider;var t=e,n=t.storageType,r=t.storageTypes;if("sessionStorage"===n&&(e.sessionCookie=!0),n&&r){var o=r.indexOf(n);o>=0&&(r=r.slice(o),n=void 0)}return n||(n=this.storageUtil.findStorageType(r)),this.storageUtil.getStorageByType(n,e)}},{key:"getTokenStorage",value:function(e){c(e=this.getOptionsForSection("token",e));var t=this.getStorage(e),n=e.storageKey||a.TOKEN_STORAGE_NAME;return new s._(t,n)}},{key:"getHttpCache",value:function(e){e=this.getOptionsForSection("cache",e);var t=this.getStorage(e),n=e.storageKey||a.CACHE_STORAGE_NAME;return new s._(t,n)}}]),e}()},5763:function(e,t,n){"use strict";n.d(t,{_:function(){return s}});var r=n(5671),o=n(3144),i=n(4942),a=n(9123),s=function(){function e(t,n){if((0,r.Z)(this,e),(0,i.Z)(this,"storageProvider",void 0),(0,i.Z)(this,"storageName",void 0),!t)throw new a.Z('"storage" is required');if("string"!=typeof n||!n.length)throw new a.Z('"storageName" is required');this.storageName=n,this.storageProvider=t}return(0,o.Z)(e,[{key:"getItem",value:function(e){return this.getStorage()[e]}},{key:"setItem",value:function(e,t){return this.updateStorage(e,t)}},{key:"removeItem",value:function(e){return this.clearStorage(e)}},{key:"getStorage",value:function(){var e=this.storageProvider.getItem(this.storageName);e=e||"{}";try{return JSON.parse(e)}catch(e){throw new a.Z("Unable to parse storage string: "+this.storageName)}}},{key:"setStorage",value:function(e){try{var t=e?JSON.stringify(e):"{}";this.storageProvider.setItem(this.storageName,t)}catch(e){throw new a.Z("Unable to set storage: "+this.storageName)}}},{key:"clearStorage",value:function(e){if(e){var t=this.getStorage();delete t[e],this.setStorage(t)}else this.storageProvider.removeItem?this.storageProvider.removeItem(this.storageName):this.setStorage()}},{key:"updateStorage",value:function(e,t){var n=this.getStorage();n[e]=t,this.setStorage(n)}}]),e}()},9927:function(e,t,n){"use strict";n.d(t,{Tp:function(){return r.T},W8:function(){return o.W},Vp:function(){return o.V},Ho:function(){return i.H},_e:function(){return a._}});var r=n(3849),o=n(5437),i=n(265),a=n(5763)},265:function(e,t,n){"use strict";n.d(t,{H:function(){return c}});var r=n(5671),o=n(3144),i=n(7326),a=n(136),s=n(2963),l=n(1120),u=n(4942);function c(e,t){return function(e){(0,a.Z)(d,e);var n,c,f=(n=d,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=(0,l.Z)(n);if(c){var r=(0,l.Z)(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return(0,s.Z)(this,e)});function d(){var e;(0,r.Z)(this,d);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];e=f.call.apply(f,[this].concat(o)),(0,u.Z)((0,i.Z)(e),"storageManager",void 0);var s=e.options,l=s.storageManager,c=s.cookies,p=s.storageUtil;return e.storageManager=new t(l,c,p),e}return(0,o.Z)(d,[{key:"clearStorage",value:function(){}}]),d}(e)}},3849:function(e,t,n){"use strict";n.d(t,{T:function(){return v}});var r=n(5671),o=n(7326),i=n(136),a=n(2963),s=n(1120),l=n(4942),u=n(5093),c=n(146),f=n(4858),d={token:{storageTypes:["localStorage","sessionStorage","cookie"]},cache:{storageTypes:["localStorage","sessionStorage","cookie"]},transaction:{storageTypes:["sessionStorage","localStorage","cookie"]},"shared-transaction":{storageTypes:["localStorage"]},"original-uri":{storageTypes:["localStorage"]}},p=n(415);function h(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;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){(0,l.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(){return function(e){(0,i.Z)(h,e);var t,n,u=(t=h,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var o=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function h(e){var t;return(0,r.Z)(this,h),t=u.call(this,e),(0,l.Z)((0,o.Z)(t),"cookies",void 0),(0,l.Z)((0,o.Z)(t),"storageUtil",void 0),(0,l.Z)((0,o.Z)(t),"storageManager",void 0),t.cookies=function(){var e=arguments.length>1?arguments[1]:void 0,t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).cookies||{};return void 0===t.secure&&(t.secure=e),void 0===t.sameSite&&(t.sameSite=t.secure?"none":"lax"),t.secure&&!e&&((0,c.ZK)('The current page is not being served with the HTTPS protocol.\nFor security reasons, we strongly recommend using HTTPS.\nIf you cannot use HTTPS, set "cookies.secure" option to false.'),t.secure=!1),"none"!==t.sameSite||t.secure||(t.sameSite="lax"),t}(e,(0,p.isHTTPS)()),t.storageUtil=e.storageUtil||Object.assign({},f.Z,{inMemoryStore:{}}),t.storageManager=m(m({},d),e.storageManager),t}return h}((0,u.X)())}},3548:function(e,t,n){"use strict";n.d(t,{b:function(){return l}});var r=n(5671),o=n(3144),i=n(4942),a=n(4771),s=n(146),l=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{quiet:!1};(0,r.Z)(this,e),(0,i.Z)(this,"queue",void 0),(0,i.Z)(this,"running",void 0),(0,i.Z)(this,"options",void 0),this.queue=[],this.running=!1,this.options=t}return(0,o.Z)(e,[{key:"push",value:function(e,t){for(var n=this,r=arguments.length,o=new Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];return new Promise((function(r,i){n.queue.length>0&&!1!==n.options.quiet&&(0,s.ZK)("Async method is being called but another async method is already running. The new method will be delayed until the previous method completes."),n.queue.push({method:e,thisObject:t,args:o,resolve:r,reject:i}),n.run()}))}},{key:"run",value:function(){var e=this;if(!this.running&&0!==this.queue.length){this.running=!0;var t=this.queue.shift(),n=t.method.apply(t.thisObject,t.args);(0,a.tI)(n)?n.then(t.resolve,t.reject).finally((function(){e.running=!1,e.run()})):(t.resolve(n),this.running=!1,this.run())}}}]),e}()},146:function(e,t,n){"use strict";function r(){return"undefined"!=typeof window?window.console:"undefined"!=typeof console?console:void 0}function o(){var e=r();return e&&e.log?e:{log:function(){},warn:function(){},group:function(){},groupEnd:function(){}}}function i(e){o().warn("[okta-auth-sdk] WARN: "+e)}function a(e){o().warn("[okta-auth-sdk] DEPRECATION: "+e)}function s(e,t){return function(){return a(e),t.apply(null,arguments)}}n.d(t,{sW:function(){return r},dr:function(){return o},ZK:function(){return i},Rn:function(){return a},VA:function(){return s}})},305:function(e,t,n){"use strict";n.d(t,{Rn:function(){return r.Rn},VA:function(){return r.VA},dr:function(){return r.dr},sW:function(){return r.sW},ZK:function(){return r.ZK},gw:function(){return o.gw},uh:function(){return o.uh},ng:function(){return o.ng},YQ:function(){return o.YQ},ak:function(){return i.ak},d9:function(){return i.d9},l7:function(){return i.l7},sE:function(){return i.sE},Rg:function(){return i.Rg},CE:function(){return i.CE},YY:function(){return i.YY},bo:function(){return a.b},mf:function(){return s.mf},hj:function(){return s.hj},Kn:function(){return s.Kn},tI:function(){return s.tI},HD:function(){return s.HD},sD:function(){return l.sD},Qj:function(){return l.Qj},BY:function(){return l.BY},UK:function(){return l.UK},QN:function(){return l.QN}});var r=n(146),o=n(8750),i=n(3193),a=n(3548),s=n(4771),l=n(6718)},8750:function(e,t,n){"use strict";function r(e){var t=e.match(/\d+/g),n=Date.UTC(t[0],t[1]-1,t[2],t[3],t[4],t[5]);return new Date(n).toUTCString()}function o(e){for(var t="abcdefghijklnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",n="",r=0,o=t.length;r<e;++r)n+=t[Math.floor(Math.random()*o)];return n}function i(e){return new Promise((function(t){setTimeout(t,e)}))}function a(e,t){var n=e.split(t);return[n[0],n.splice(1,n.length).join(t)]}n.d(t,{ng:function(){return r},uh:function(){return o},gw:function(){return i},YQ:function(){return a}})},3193:function(e,t,n){"use strict";function r(e,t){var n=Array.prototype.slice.call(arguments,2);return function(){var r=Array.prototype.slice.call(arguments);return r=n.concat(r),e.apply(t,r)}}function o(){var e=arguments[0];return[].slice.call(arguments,1).forEach((function(t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&void 0!==t[n]&&(e[n]=t[n])})),e}function i(e){var t={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=e[n];null!=r&&(t[n]=r)}return t}function a(e){if(e){var t=JSON.stringify(e);if(t)return JSON.parse(t)}return e}function s(e){for(var t={},n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&-1==r.indexOf(i)&&(t[i]=e[i]);return a(t)}function l(e,t){for(var n=e.length;n--;){var r=e[n],o=!0;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&r[i]!==t[i]){o=!1;break}if(o)return r}}function u(e,t,n){if(e&&e._links){var r=a(e._links[t]);return r&&r.name&&n?r.name===n?r:void 0:r}}n.d(t,{ak:function(){return r},l7:function(){return o},YY:function(){return i},d9:function(){return a},CE:function(){return s},sE:function(){return l},Rg:function(){return u}})},4771:function(e,t,n){"use strict";function r(e){return"[object String]"===Object.prototype.toString.call(e)}function o(e){return"[object Object]"===Object.prototype.toString.call(e)}function i(e){return"[object Number]"===Object.prototype.toString.call(e)}function a(e){return!!e&&"[object Function]"==={}.toString.call(e)}function s(e){return e&&e.finally&&"function"==typeof e.finally}n.d(t,{HD:function(){return r},Kn:function(){return o},hj:function(){return i},mf:function(){return a},tI:function(){return s}})},6718:function(e,t,n){"use strict";function r(e){return/^[a-z][a-z0-9+.-]*:/i.test(e)}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return r(e)?e:(t=s(t),"/"===e[0]?"".concat(t).concat(e):"".concat(t,"/").concat(e))}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return r(e)&&(e=e.substring(t.length)),"/"===e[0]?e:"/".concat(e)}function a(e){var t=[];if(null!==e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&void 0!==e[n]&&null!==e[n]&&t.push(n+"="+encodeURIComponent(e[n]));return t.length?"?"+t.join("&"):""}function s(e){if(e)return e.replace(/^\s+|\s+$/gm,"").replace(/\/+$/,"")}n.d(t,{sD:function(){return r},BY:function(){return o},QN:function(){return i},UK:function(){return a},Qj:function(){return s}})},3615:function(e,t,n){"use strict";var r=n(4575),o=n(3913),i=n(2205),a=n(8585),s=n(9754);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var u=function(e){i(u,e);var t,n,l=(t=u,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=s(t);if(n){var o=s(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return a(this,e)});function u(e){var t;return r(this,u),(t=l.call(this,e||"Promise was canceled")).name="CancelError",t}return o(u,[{key:"isCanceled",get:function(){return!0}}]),u}(n(5957)(Error)),c=function(){function e(t){var n=this;r(this,e),this._cancelHandlers=[],this._isPending=!0,this._isCanceled=!1,this._rejectOnCancel=!0,this._promise=new Promise((function(e,r){n._reject=r;var o=function(e){if(!n._isPending)throw new Error("The `onCancel` handler was attached after the promise settled.");n._cancelHandlers.push(e)};return Object.defineProperties(o,{shouldReject:{get:function(){return n._rejectOnCancel},set:function(e){n._rejectOnCancel=e}}}),t((function(t){n._isCanceled&&o.shouldReject||(n._isPending=!1,e(t))}),(function(e){n._isPending=!1,r(e)}),o)}))}return o(e,[{key:"then",value:function(e,t){return this._promise.then(e,t)}},{key:"catch",value:function(e){return this._promise.catch(e)}},{key:"finally",value:function(e){return this._promise.finally(e)}},{key:"cancel",value:function(e){if(this._isPending&&!this._isCanceled){if(this._isCanceled=!0,this._cancelHandlers.length>0)try{var t,n=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(this._cancelHandlers);try{for(n.s();!(t=n.n()).done;)(0,t.value)()}catch(e){n.e(e)}finally{n.f()}}catch(e){return void this._reject(e)}this._rejectOnCancel&&this._reject(new u(e))}}},{key:"isCanceled",get:function(){return this._isCanceled}}],[{key:"fn",value:function(t){return function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return new e((function(e,n,o){r.push(o),t.apply(void 0,r).then(e,n)}))}}}]),e}();Object.setPrototypeOf(c.prototype,Promise.prototype),e.exports=c,e.exports.CancelError=u},4098:function(e,t){var n="undefined"!=typeof self?self:this,r=function(){function e(){this.fetch=!1,this.DOMException=n.DOMException}return e.prototype=n,new e}();!function(e){!function(t){var n="URLSearchParams"in e,r="Symbol"in e&&"iterator"in Symbol,o="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),i="FormData"in e,a="ArrayBuffer"in e;if(a)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(e){return e&&s.indexOf(Object.prototype.toString.call(e))>-1};function u(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function c(e){return"string"!=typeof e&&(e=String(e)),e}function f(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return r&&(t[Symbol.iterator]=function(){return t}),t}function d(e){this.map={},e instanceof d?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function p(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function m(e){var t=new FileReader,n=h(t);return t.readAsArrayBuffer(e),n}function v(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function g(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:o&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:i&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:n&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():a&&o&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=v(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(e)||l(e))?this._bodyArrayBuffer=v(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var e=p(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?p(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(m)}),this.text=function(){var e,t,n,r=p(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,n=h(t=new FileReader),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i&&(this.formData=function(){return this.text().then(_)}),this.json=function(){return this.text().then(JSON.parse)},this}d.prototype.append=function(e,t){e=u(e),t=c(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},d.prototype.delete=function(e){delete this.map[u(e)]},d.prototype.get=function(e){return e=u(e),this.has(e)?this.map[e]:null},d.prototype.has=function(e){return this.map.hasOwnProperty(u(e))},d.prototype.set=function(e,t){this.map[u(e)]=c(t)},d.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},d.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),f(e)},d.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),f(e)},d.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),f(e)},r&&(d.prototype[Symbol.iterator]=d.prototype.entries);var y=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function b(e,t){var n,r,o=(t=t||{}).body;if(e instanceof b){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new d(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new d(t.headers)),this.method=(r=(n=t.method||this.method||"GET").toUpperCase(),y.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function _(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function w(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new d(t.headers),this.url=t.url||"",this._initBody(e)}b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},g.call(b.prototype),g.call(w.prototype),w.prototype.clone=function(){return new w(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},w.error=function(){var e=new w(null,{status:0,statusText:""});return e.type="error",e};var O=[301,302,303,307,308];w.redirect=function(e,t){if(-1===O.indexOf(t))throw new RangeError("Invalid status code");return new w(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function k(e,n){return new Promise((function(r,i){var a=new b(e,n);if(a.signal&&a.signal.aborted)return i(new t.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var e,t,n={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",t=new d,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}})),t)};n.url="responseURL"in s?s.responseURL:n.headers.get("X-Request-URL");var o="response"in s?s.response:s.responseText;r(new w(o,n))},s.onerror=function(){i(new TypeError("Network request failed"))},s.ontimeout=function(){i(new TypeError("Network request failed"))},s.onabort=function(){i(new t.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o&&(s.responseType="blob"),a.headers.forEach((function(e,t){s.setRequestHeader(t,e)})),a.signal&&(a.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",l)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}k.polyfill=!0,e.fetch||(e.fetch=k,e.Headers=d,e.Request=b,e.Response=w),t.Headers=d,t.Request=b,t.Response=w,t.fetch=k,Object.defineProperty(t,"__esModule",{value:!0})}({})}(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var o=r;(t=o.fetch).default=o.fetch,t.fetch=o.fetch,t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response,e.exports=t},5643:function(e){e.exports=!1},5666:function(e){var t=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),a=new A(r||[]);return i._invoke=function(e,t,n){var r=f;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw i;return P()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=S(a,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var l=c(e,t,n);if("normal"===l.type){if(r=n.done?h:d,l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=h,n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var f="suspendedStart",d="suspendedYield",p="executing",h="completed",m={};function v(){}function g(){}function y(){}var b={};b[i]=function(){return this};var _=Object.getPrototypeOf,w=_&&_(_(C([])));w&&w!==n&&r.call(w,i)&&(b=w);var O=y.prototype=v.prototype=Object.create(b);function k(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function n(o,i,a,s){var l=c(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function S(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,S(e,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var o=c(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function C(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:P}}function P(){return{value:t,done:!0}}return g.prototype=O.constructor=y,y.constructor=g,g.displayName=l(y,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,l(e,s,"GeneratorFunction")),e.prototype=Object.create(O),e},e.awrap=function(e){return{__await:e}},k(E.prototype),E.prototype[a]=function(){return this},e.AsyncIterator=E,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new E(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},k(O),l(O,s,"Generator"),O[i]=function(){return this},O.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=C,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return s.type="throw",s.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(l&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:C(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}},4279:function(e){function t(){}t.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r<o;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],o=[];if(r&&t)for(var i=0,a=r.length;i<a;i++)r[i].fn!==t&&r[i].fn._!==t&&o.push(r[i]);return o.length?n[e]=o:delete n[e],this}},e.exports=t},199:function(){},907:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},7326:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},5861:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,l,"next",e)}function l(e){r(a,o,i,s,l,"throw",e)}s(void 0)}))}}n.d(t,{Z:function(){return o}})},5671:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},3144:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n.d(t,{Z:function(){return o}})},4942:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return r}})},1752:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(1120);function o(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=(0,r.Z)(e)););return e}function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=o(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},i.apply(this,arguments)}},1120:function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:function(){return r}})},136:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9611);function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.Z)(e,t)}},4925:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{Z:function(){return r}})},2963:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(1002),o=n(7326);function i(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(e)}},9611:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},885:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(181);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||(0,r.Z)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},2982:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(907),o=n(181);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,o.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},1002:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},181:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(907);function o(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return function(){"use strict";n.r(r),n.d(r,{OktaAuth:function(){return k},AuthenticatorKey:function(){return m.pc},IdxFeature:function(){return m.Fw},IdxStatus:function(){return m.Qd},authenticate:function(){return m.YR},canProceed:function(){return m.Ch},cancel:function(){return m.al},clearTransactionMeta:function(){return m.Jm},createIdxAPI:function(){return m.F4},createIdxOptionsConstructor:function(){return m.SL},createIdxStorageManager:function(){return m.aT},createIdxTransactionManager:function(){return m.vK},createOktaAuthIdx:function(){return m.Yn},createTransactionMeta:function(){return m.Xc},getSavedTransactionMeta:function(){return m.uN},getTransactionMeta:function(){return m.Co},handleEmailVerifyCallback:function(){return m.Jn},handleInteractionCodeRedirect:function(){return m.Xx},hasSavedInteractionHandle:function(){return m.$0},interact:function(){return m.EW},introspect:function(){return m.L8},isAuthenticator:function(){return m.H},isEmailVerifyCallback:function(){return m.GA},isEmailVerifyCallbackError:function(){return m.gc},isTransactionMetaValid:function(){return m.Wf},isTransactionMetaValidForFlow:function(){return m.bl},isTransactionMetaValidForOptions:function(){return m.UC},mixinIdx:function(){return m.B_},parseEmailVerifyCallback:function(){return m.mo},poll:function(){return m.$l},proceed:function(){return m.xc},recoverPassword:function(){return m.M4},register:function(){return m.z2},saveTransactionMeta:function(){return m.r0},startTransaction:function(){return m.Yr},unlockAccount:function(){return m.le},BaseTransaction:function(){return v.mV},EmailChallengeTransaction:function(){return v.nh},EmailRole:function(){return v.aw},EmailStatusTransaction:function(){return v.XC},EmailTransaction:function(){return v.yB},PhoneTransaction:function(){return v.$N},ProfileSchemaTransaction:function(){return v.XW},ProfileTransaction:function(){return v.Sx},Status:function(){return v.qb},addEmail:function(){return v.no},addPhone:function(){return v.Z1},createOktaAuthMyAccount:function(){return v.Xc},deleteEmail:function(){return v.nd},deletePhone:function(){return v.qj},getEmail:function(){return v.OD},getEmailChallenge:function(){return v.hG},getEmails:function(){return v.G5},getPhone:function(){return v.u_},getPhones:function(){return v.Po},getProfile:function(){return v.Ai},getProfileSchema:function(){return v.aF},mixinMyAccount:function(){return v.HT},sendEmailChallenge:function(){return v.ME},sendPhoneChallenge:function(){return v.dv},updateProfile:function(){return v.ck},verifyEmailChallenge:function(){return v.T8},verifyPhoneChallenge:function(){return v.Lo},createAuthnTransactionAPI:function(){return g.b},mixinAuthn:function(){return g.t}});var e=n(5671),t=n(136),o=n(2963),i=n(1120),a=n(4602),s=n(4143),l=n(3334),u=n(2144),c=n(6794),f=n(8284),d=n(6736),p={};for(var h in d)["default","OktaAuth"].indexOf(h)<0&&(p[h]=function(e){return d[e]}.bind(0,h));n.d(r,p);var m=n(683),v=n(9064),g=n(3398),y=(0,a.S)(),b=(0,s.a)(),_=(0,l.v)(),w=(0,u.Y)(b,y,_),O=(0,c.H)(w),k=function(n){(0,t.Z)(l,n);var r,a,s=(r=l,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=(0,i.Z)(r);if(a){var n=(0,i.Z)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,o.Z)(this,e)});function l(t){return(0,e.Z)(this,l),s.call(this,t)}return l}((0,f.t)(O));r.default=k}(),r}()},8285:function(e,t,n){var r,o,i;o=[e,n(3755)],r=function(e,t){"use strict";var n=r(t);function r(e){return e&&e.__esModule?e:{default:e}}var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function(){function e(t){i(this,e),this.resolveOptions(t),this.initSelection()}return a(e,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var r=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=r+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,n.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,n.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":o(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=s},void 0===(i="function"==typeof r?r.apply(t,o):r)||(e.exports=i)},928:function(e,t,n){var r,o,i;o=[e,n(8285),n(7359),n(5139)],r=function(e,t,n,r){"use strict";var o=s(t),i=s(n),a=s(r);function s(e){return e&&e.__esModule?e:{default:e}}var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var p=function(e){function t(e,n){u(this,t);var r=f(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.resolveOptions(n),r.listenClick(e),r}return d(t,e),c(t,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===l(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,a.default)(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new o.default({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return h("action",e)}},{key:"defaultTarget",value:function(e){var t=h("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return h("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}]),t}(i.default);function h(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}e.exports=p},void 0===(i="function"==typeof r?r.apply(t,o):r)||(e.exports=i)},7359:function(e){function t(){}t.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r<o;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],o=[];if(r&&t)for(var i=0,a=r.length;i<a;i++)r[i].fn!==t&&r[i].fn._!==t&&o.push(r[i]);return o.length?n[e]=o:delete n[e],this}},e.exports=t,e.exports.TinyEmitter=t},7297:function(e,t){var n="undefined"!=typeof self?self:this,r=function(){function e(){this.fetch=!1,this.DOMException=n.DOMException}return e.prototype=n,new e}();!function(e){!function(t){var n="URLSearchParams"in e,r="Symbol"in e&&"iterator"in Symbol,o="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),i="FormData"in e,a="ArrayBuffer"in e;if(a)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(e){return e&&s.indexOf(Object.prototype.toString.call(e))>-1};function u(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function c(e){return"string"!=typeof e&&(e=String(e)),e}function f(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return r&&(t[Symbol.iterator]=function(){return t}),t}function d(e){this.map={},e instanceof d?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function p(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function m(e){var t=new FileReader,n=h(t);return t.readAsArrayBuffer(e),n}function v(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function g(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:o&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:i&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:n&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():a&&o&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=v(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(e)||l(e))?this._bodyArrayBuffer=v(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var e=p(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?p(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(m)}),this.text=function(){var e,t,n,r=p(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=h(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i&&(this.formData=function(){return this.text().then(_)}),this.json=function(){return this.text().then(JSON.parse)},this}d.prototype.append=function(e,t){e=u(e),t=c(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},d.prototype.delete=function(e){delete this.map[u(e)]},d.prototype.get=function(e){return e=u(e),this.has(e)?this.map[e]:null},d.prototype.has=function(e){return this.map.hasOwnProperty(u(e))},d.prototype.set=function(e,t){this.map[u(e)]=c(t)},d.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},d.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),f(e)},d.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),f(e)},d.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),f(e)},r&&(d.prototype[Symbol.iterator]=d.prototype.entries);var y=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function b(e,t){var n,r,o=(t=t||{}).body;if(e instanceof b){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new d(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new d(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),y.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function _(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function w(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new d(t.headers),this.url=t.url||"",this._initBody(e)}b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},g.call(b.prototype),g.call(w.prototype),w.prototype.clone=function(){return new w(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},w.error=function(){var e=new w(null,{status:0,statusText:""});return e.type="error",e};var O=[301,302,303,307,308];w.redirect=function(e,t){if(-1===O.indexOf(t))throw new RangeError("Invalid status code");return new w(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function k(e,n){return new Promise((function(r,i){var a=new b(e,n);if(a.signal&&a.signal.aborted)return i(new t.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var e,t,n={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",t=new d,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}})),t)};n.url="responseURL"in s?s.responseURL:n.headers.get("X-Request-URL");var o="response"in s?s.response:s.responseText;r(new w(o,n))},s.onerror=function(){i(new TypeError("Network request failed"))},s.ontimeout=function(){i(new TypeError("Network request failed"))},s.onabort=function(){i(new t.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o&&(s.responseType="blob"),a.headers.forEach((function(e,t){s.setRequestHeader(t,e)})),a.signal&&(a.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",l)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}k.polyfill=!0,e.fetch||(e.fetch=k,e.Headers=d,e.Request=b,e.Response=w),t.Headers=d,t.Request=b,t.Response=w,t.fetch=k,Object.defineProperty(t,"__esModule",{value:!0})}({})}(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var o=r;(t=o.fetch).default=o.fetch,t.fetch=o.fetch,t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response,e.exports=t},9545:function(e){if("undefined"!=typeof Element&&!Element.prototype.matches){var t=Element.prototype;t.matches=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},3914:function(e,t,n){var r=n(9545);function o(e,t,n,r,o){var a=i.apply(this,arguments);return e.addEventListener(n,a,o),{destroy:function(){e.removeEventListener(n,a,o)}}}function i(e,t,n,o){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&o.call(e,n)}}e.exports=function(e,t,n,r,i){return"function"==typeof e.addEventListener?o.apply(null,arguments):"function"==typeof n?o.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return o(e,t,n,r,i)})))}},1883:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},5139:function(e,t,n){var r=n(1883),o=n(3914);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(r.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,n)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,n)}))}}}(e,t,n);if(r.string(e))return function(e,t,n){return o(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},1271:function(e,t){var n;
/*!
* jQuery JavaScript Library v3.6.1
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2022-08-26T17:52Z
*/!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(r,o){"use strict";var i=[],a=Object.getPrototypeOf,s=i.slice,l=i.flat?function(e){return i.flat.call(e)}:function(e){return i.concat.apply([],e)},u=i.push,c=i.indexOf,f={},d=f.toString,p=f.hasOwnProperty,h=p.toString,m=h.call(Object),v={},g=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},b=r.document,_={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var r,o,i=(n=n||b).createElement("script");if(i.text=e,t)for(r in _)(o=t[r]||t.getAttribute&&t.getAttribute(r))&&i.setAttribute(r,o);n.head.appendChild(i).parentNode.removeChild(i)}function O(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[d.call(e)]||"object":typeof e}var k="3.6.1",E=function(e,t){return new E.fn.init(e,t)};function S(e){var t=!!e&&"length"in e&&e.length,n=O(e);return!g(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}E.fn=E.prototype={jquery:k,constructor:E,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=E.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return E.each(this,e)},map:function(e){return this.pushStack(E.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(E.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(E.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:i.sort,splice:i.splice},E.extend=E.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{},s++),"object"==typeof a||g(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(u&&r&&(E.isPlainObject(r)||(o=Array.isArray(r)))?(n=a[t],i=o&&!Array.isArray(n)?[]:o||E.isPlainObject(n)?n:{},o=!1,a[t]=E.extend(u,i,r)):void 0!==r&&(a[t]=r));return a},E.extend({expando:"jQuery"+(k+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==d.call(e))&&(!(t=a(e))||"function"==typeof(n=p.call(t,"constructor")&&t.constructor)&&h.call(n)===m)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){w(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(S(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(S(Object(e))?E.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:c.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r=[],o=0,i=e.length,a=!n;o<i;o++)!t(e[o],o)!==a&&r.push(e[o]);return r},map:function(e,t,n){var r,o,i=0,a=[];if(S(e))for(r=e.length;i<r;i++)null!=(o=t(e[i],i,n))&&a.push(o);else for(i in e)null!=(o=t(e[i],i,n))&&a.push(o);return l(a)},guid:1,support:v}),"function"==typeof Symbol&&(E.fn[Symbol.iterator]=i[Symbol.iterator]),E.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){f["[object "+t+"]"]=t.toLowerCase()}));var x=
/*!
* Sizzle CSS Selector Engine v2.3.6
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://js.foundation/
*
* Date: 2021-02-16
*/
function(e){var t,n,r,o,i,a,s,l,u,c,f,d,p,h,m,v,g,y,b,_="sizzle"+1*new Date,w=e.document,O=0,k=0,E=le(),S=le(),x=le(),T=le(),A=function(e,t){return e===t&&(f=!0),0},C={}.hasOwnProperty,P=[],R=P.pop,N=P.push,I=P.push,M=P.slice,j=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",D="[\\x20\\t\\r\\n\\f]",F="(?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",U="\\[[\\x20\\t\\r\\n\\f]*("+F+")(?:"+D+"*([*^$|!~]?=)"+D+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+F+"))|)"+D+"*\\]",B=":("+F+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+U+")*)|.*)\\)|)",V=new RegExp(D+"+","g"),H=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),Z=new RegExp("^[\\x20\\t\\r\\n\\f]*,[\\x20\\t\\r\\n\\f]*"),q=new RegExp("^[\\x20\\t\\r\\n\\f]*([>+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),W=new RegExp(D+"|>"),K=new RegExp(B),G=new RegExp("^"+F+"$"),z={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+U),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},$=/HTML$/i,Y=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,X=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=function(){d()},ae=_e((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{I.apply(P=M.call(w.childNodes),w.childNodes),P[w.childNodes.length].nodeType}catch(e){I={apply:P.length?function(e,t){N.apply(e,M.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,o){var i,s,u,c,f,h,g,y=t&&t.ownerDocument,w=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return r;if(!o&&(d(t),t=t||p,m)){if(11!==w&&(f=X.exec(e)))if(i=f[1]){if(9===w){if(!(u=t.getElementById(i)))return r;if(u.id===i)return r.push(u),r}else if(y&&(u=y.getElementById(i))&&b(t,u)&&u.id===i)return r.push(u),r}else{if(f[2])return I.apply(r,t.getElementsByTagName(e)),r;if((i=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return I.apply(r,t.getElementsByClassName(i)),r}if(n.qsa&&!T[e+" "]&&(!v||!v.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(g=e,y=t,1===w&&(W.test(e)||q.test(e))){for((y=ee.test(e)&&ge(t.parentNode)||t)===t&&n.scope||((c=t.getAttribute("id"))?c=c.replace(re,oe):t.setAttribute("id",c=_)),s=(h=a(e)).length;s--;)h[s]=(c?"#"+c:":scope")+" "+be(h[s]);g=h.join(",")}try{return I.apply(r,y.querySelectorAll(g)),r}catch(t){T(e,!0)}finally{c===_&&t.removeAttribute("id")}}}return l(e.replace(H,"$1"),t,r,o)}function le(){var e=[];return function t(n,o){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function ue(e){return e[_]=!0,e}function ce(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){for(var n=e.split("|"),o=n.length;o--;)r.attrHandle[n[o]]=t}function de(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ve(e){return ue((function(t){return t=+t,ue((function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))}))}))}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!$.test(t||n&&n.nodeName||"HTML")},d=se.setDocument=function(e){var t,o,a=e?e.ownerDocument||e:w;return a!=p&&9===a.nodeType&&a.documentElement?(h=(p=a).documentElement,m=!i(p),w!=p&&(o=p.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",ie,!1):o.attachEvent&&o.attachEvent("onunload",ie)),n.scope=ce((function(e){return h.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=ce((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ce((function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=Q.test(p.getElementsByClassName),n.getById=ce((function(e){return h.appendChild(e).id=_,!p.getElementsByName||!p.getElementsByName(_).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},g=[],v=[],(n.qsa=Q.test(p.querySelectorAll))&&(ce((function(e){var t;h.appendChild(e).innerHTML="<a id='"+_+"'></a><select id='"+_+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+L+")"),e.querySelectorAll("[id~="+_+"-]").length||v.push("~="),(t=p.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+_+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")})),ce((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")}))),(n.matchesSelector=Q.test(y=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ce((function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),g.push("!=",B)})),v=v.length&&new RegExp(v.join("|")),g=g.length&&new RegExp(g.join("|")),t=Q.test(h.compareDocumentPosition),b=t||Q.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},A=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==p||e.ownerDocument==w&&b(w,e)?-1:t==p||t.ownerDocument==w&&b(w,t)?1:c?j(c,e)-j(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],s=[t];if(!o||!i)return e==p?-1:t==p?1:o?-1:i?1:c?j(c,e)-j(c,t):0;if(o===i)return de(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?de(a[r],s[r]):a[r]==w?-1:s[r]==w?1:0},p):p},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(d(e),n.matchesSelector&&m&&!T[t+" "]&&(!g||!g.test(t))&&(!v||!v.test(t)))try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){T(t,!0)}return se(t,p,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=p&&d(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=p&&d(e);var o=r.attrHandle[t.toLowerCase()],i=o&&C.call(r.attrHandle,t.toLowerCase())?o(e,t,!m):void 0;return void 0!==i?i:n.attributes||!m?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},se.escape=function(e){return(e+"").replace(re,oe)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],o=0,i=0;if(f=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(A),f){for(;t=e[i++];)t===e[i]&&(o=r.push(i));for(;o--;)e.splice(r[o],1)}return c=null,e},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},r=se.selectors={cacheLength:50,createPseudo:ue,match:z,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return z.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&K.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=E[e+" "];return t||(t=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+e+"("+D+"|$)"))&&E(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var o=se.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(V," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var u,c,f,d,p,h,m=i!==a?"nextSibling":"previousSibling",v=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!l&&!s,b=!1;if(v){if(i){for(;m;){for(d=t;d=d[m];)if(s?d.nodeName.toLowerCase()===g:1===d.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?v.firstChild:v.lastChild],a&&y){for(b=(p=(u=(c=(f=(d=v)[_]||(d[_]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===O&&u[1])&&u[2],d=p&&v.childNodes[p];d=++p&&d&&d[m]||(b=p=0)||h.pop();)if(1===d.nodeType&&++b&&d===t){c[e]=[O,p,b];break}}else if(y&&(b=p=(u=(c=(f=(d=t)[_]||(d[_]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===O&&u[1]),!1===b)for(;(d=++p&&d&&d[m]||(b=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==g:1!==d.nodeType)||!++b||(y&&((c=(f=d[_]||(d[_]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]=[O,b]),d!==t)););return(b-=o)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var n,o=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return o[_]?o(t):o.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ue((function(e,n){for(var r,i=o(e,t),a=i.length;a--;)e[r=j(e,i[a])]=!(n[r]=i[a])})):function(e){return o(e,0,n)}):o}},pseudos:{not:ue((function(e){var t=[],n=[],r=s(e.replace(H,"$1"));return r[_]?ue((function(e,t,n,o){for(var i,a=r(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))})):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:ue((function(e){return function(t){return se(e,t).length>0}})),contains:ue((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||o(t)).indexOf(e)>-1}})),lang:ue((function(e){return G.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return Y.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ve((function(){return[0]})),last:ve((function(e,t){return[t-1]})),eq:ve((function(e,t,n){return[n<0?n+t:n]})),even:ve((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ve((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ve((function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ve((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},r.pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=pe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=he(t);function ye(){}function be(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function _e(e,t,n){var r=t.dir,o=t.next,i=o||r,a=n&&"parentNode"===i,s=k++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,o);return!1}:function(t,n,l){var u,c,f,d=[O,s];if(l){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,l))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(c=(f=t[_]||(t[_]={}))[t.uniqueID]||(f[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[r]||t;else{if((u=c[i])&&u[0]===O&&u[1]===s)return d[2]=u[2];if(c[i]=d,d[2]=e(t,n,l))return!0}return!1}}function we(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function Oe(e,t,n,r,o){for(var i,a=[],s=0,l=e.length,u=null!=t;s<l;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),u&&t.push(s)));return a}function ke(e,t,n,r,o,i){return r&&!r[_]&&(r=ke(r)),o&&!o[_]&&(o=ke(o,i)),ue((function(i,a,s,l){var u,c,f,d=[],p=[],h=a.length,m=i||function(e,t,n){for(var r=0,o=t.length;r<o;r++)se(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),v=!e||!i&&t?m:Oe(m,d,e,s,l),g=n?o||(i?e:h||r)?[]:a:v;if(n&&n(v,g,s,l),r)for(u=Oe(g,p),r(u,[],s,l),c=u.length;c--;)(f=u[c])&&(g[p[c]]=!(v[p[c]]=f));if(i){if(o||e){if(o){for(u=[],c=g.length;c--;)(f=g[c])&&u.push(v[c]=f);o(null,g=[],u,l)}for(c=g.length;c--;)(f=g[c])&&(u=o?j(i,f):d[c])>-1&&(i[u]=!(a[u]=f))}}else g=Oe(g===a?g.splice(h,g.length):g),o?o(null,a,g,l):I.apply(a,g)}))}function Ee(e){for(var t,n,o,i=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],l=a?1:0,c=_e((function(e){return e===t}),s,!0),f=_e((function(e){return j(t,e)>-1}),s,!0),d=[function(e,n,r){var o=!a&&(r||n!==u)||((t=n).nodeType?c(e,n,r):f(e,n,r));return t=null,o}];l<i;l++)if(n=r.relative[e[l].type])d=[_e(we(d),n)];else{if((n=r.filter[e[l].type].apply(null,e[l].matches))[_]){for(o=++l;o<i&&!r.relative[e[o].type];o++);return ke(l>1&&we(d),l>1&&be(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(H,"$1"),n,l<o&&Ee(e.slice(l,o)),o<i&&Ee(e=e.slice(o)),o<i&&be(e))}d.push(n)}return we(d)}return ye.prototype=r.filters=r.pseudos,r.setFilters=new ye,a=se.tokenize=function(e,t){var n,o,i,a,s,l,u,c=S[e+" "];if(c)return t?0:c.slice(0);for(s=e,l=[],u=r.preFilter;s;){for(a in n&&!(o=Z.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(i=[])),n=!1,(o=q.exec(s))&&(n=o.shift(),i.push({value:n,type:o[0].replace(H," ")}),s=s.slice(n.length)),r.filter)!(o=z[a].exec(s))||u[a]&&!(o=u[a](o))||(n=o.shift(),i.push({value:n,type:a,matches:o}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):S(e,l).slice(0)},s=se.compile=function(e,t){var n,o=[],i=[],s=x[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=Ee(t[n]))[_]?o.push(s):i.push(s);s=x(e,function(e,t){var n=t.length>0,o=e.length>0,i=function(i,a,s,l,c){var f,h,v,g=0,y="0",b=i&&[],_=[],w=u,k=i||o&&r.find.TAG("*",c),E=O+=null==w?1:Math.random()||.1,S=k.length;for(c&&(u=a==p||a||c);y!==S&&null!=(f=k[y]);y++){if(o&&f){for(h=0,a||f.ownerDocument==p||(d(f),s=!m);v=e[h++];)if(v(f,a||p,s)){l.push(f);break}c&&(O=E)}n&&((f=!v&&f)&&g--,i&&b.push(f))}if(g+=y,n&&y!==g){for(h=0;v=t[h++];)v(b,_,a,s);if(i){if(g>0)for(;y--;)b[y]||_[y]||(_[y]=R.call(l));_=Oe(_)}I.apply(l,_),c&&!i&&_.length>0&&g+t.length>1&&se.uniqueSort(l)}return c&&(O=E,u=w),b};return n?ue(i):i}(i,o)),s.selector=e}return s},l=se.select=function(e,t,n,o){var i,l,u,c,f,d="function"==typeof e&&e,p=!o&&a(e=d.selector||e);if(n=n||[],1===p.length){if((l=p[0]=p[0].slice(0)).length>2&&"ID"===(u=l[0]).type&&9===t.nodeType&&m&&r.relative[l[1].type]){if(!(t=(r.find.ID(u.matches[0].replace(te,ne),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(i=z.needsContext.test(e)?0:l.length;i--&&(u=l[i],!r.relative[c=u.type]);)if((f=r.find[c])&&(o=f(u.matches[0].replace(te,ne),ee.test(l[0].type)&&ge(t.parentNode)||t))){if(l.splice(i,1),!(e=o.length&&be(l)))return I.apply(n,o),n;break}}return(d||s(e,p))(o,t,!m,n,!t||ee.test(e)&&ge(t.parentNode)||t),n},n.sortStable=_.split("").sort(A).join("")===_,n.detectDuplicates=!!f,d(),n.sortDetached=ce((function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))})),ce((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||fe("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&ce((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||fe("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ce((function(e){return null==e.getAttribute("disabled")}))||fe(L,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),se}(r);E.find=x,E.expr=x.selectors,E.expr[":"]=E.expr.pseudos,E.uniqueSort=E.unique=x.uniqueSort,E.text=x.getText,E.isXMLDoc=x.isXML,E.contains=x.contains,E.escapeSelector=x.escape;var T=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&E(e).is(n))break;r.push(e)}return r},A=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},C=E.expr.match.needsContext;function P(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var R=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function N(e,t,n){return g(t)?E.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?E.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?E.grep(e,(function(e){return c.call(t,e)>-1!==n})):E.filter(t,e,n)}E.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?E.find.matchesSelector(r,e)?[r]:[]:E.find.matches(e,E.grep(t,(function(e){return 1===e.nodeType})))},E.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(E(e).filter((function(){for(t=0;t<r;t++)if(E.contains(o[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)E.find(e,o[t],n);return r>1?E.uniqueSort(n):n},filter:function(e){return this.pushStack(N(this,e||[],!1))},not:function(e){return this.pushStack(N(this,e||[],!0))},is:function(e){return!!N(this,"string"==typeof e&&C.test(e)?E(e):e||[],!1).length}});var I,M=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(E.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||I,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:M.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof E?t[0]:t,E.merge(this,E.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),R.test(r[1])&&E.isPlainObject(t))for(r in t)g(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=b.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(E):E.makeArray(e,this)}).prototype=E.fn,I=E(b);var j=/^(?:parents|prev(?:Until|All))/,L={children:!0,contents:!0,next:!0,prev:!0};function D(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}E.fn.extend({has:function(e){var t=E(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(E.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,o=this.length,i=[],a="string"!=typeof e&&E(e);if(!C.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&E.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?E.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?c.call(E(e),this[0]):c.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(E.uniqueSort(E.merge(this.get(),E(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),E.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return T(e,"parentNode")},parentsUntil:function(e,t,n){return T(e,"parentNode",n)},next:function(e){return D(e,"nextSibling")},prev:function(e){return D(e,"previousSibling")},nextAll:function(e){return T(e,"nextSibling")},prevAll:function(e){return T(e,"previousSibling")},nextUntil:function(e,t,n){return T(e,"nextSibling",n)},prevUntil:function(e,t,n){return T(e,"previousSibling",n)},siblings:function(e){return A((e.parentNode||{}).firstChild,e)},children:function(e){return A(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(P(e,"template")&&(e=e.content||e),E.merge([],e.childNodes))}},(function(e,t){E.fn[e]=function(n,r){var o=E.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=E.filter(r,o)),this.length>1&&(L[e]||E.uniqueSort(o),j.test(e)&&o.reverse()),this.pushStack(o)}}));var F=/[^\x20\t\r\n\f]+/g;function U(e){return e}function B(e){throw e}function V(e,t,n,r){var o;try{e&&g(o=e.promise)?o.call(e).done(t).fail(n):e&&g(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}E.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return E.each(e.match(F)||[],(function(e,n){t[n]=!0})),t}(e):E.extend({},e);var t,n,r,o,i=[],a=[],s=-1,l=function(){for(o=o||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)!1===i[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},u={add:function(){return i&&(n&&!t&&(s=i.length-1,a.push(n)),function t(n){E.each(n,(function(n,r){g(r)?e.unique&&u.has(r)||i.push(r):r&&r.length&&"string"!==O(r)&&t(r)}))}(arguments),n&&!t&&l()),this},remove:function(){return E.each(arguments,(function(e,t){for(var n;(n=E.inArray(t,i,n))>-1;)i.splice(n,1),n<=s&&s--})),this},has:function(e){return e?E.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!r}};return u},E.extend({Deferred:function(e){var t=[["notify","progress",E.Callbacks("memory"),E.Callbacks("memory"),2],["resolve","done",E.Callbacks("once memory"),E.Callbacks("once memory"),0,"resolved"],["reject","fail",E.Callbacks("once memory"),E.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return E.Deferred((function(n){E.each(t,(function(t,r){var o=g(e[r[4]])&&e[r[4]];i[r[1]]((function(){var e=o&&o.apply(this,arguments);e&&g(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,o){var i=0;function a(e,t,n,o){return function(){var s=this,l=arguments,u=function(){var r,u;if(!(e<i)){if((r=n.apply(s,l))===t.promise())throw new TypeError("Thenable self-resolution");u=r&&("object"==typeof r||"function"==typeof r)&&r.then,g(u)?o?u.call(r,a(i,t,U,o),a(i,t,B,o)):(i++,u.call(r,a(i,t,U,o),a(i,t,B,o),a(i,t,U,t.notifyWith))):(n!==U&&(s=void 0,l=[r]),(o||t.resolveWith)(s,l))}},c=o?u:function(){try{u()}catch(r){E.Deferred.exceptionHook&&E.Deferred.exceptionHook(r,c.stackTrace),e+1>=i&&(n!==B&&(s=void 0,l=[r]),t.rejectWith(s,l))}};e?c():(E.Deferred.getStackHook&&(c.stackTrace=E.Deferred.getStackHook()),r.setTimeout(c))}}return E.Deferred((function(r){t[0][3].add(a(0,r,g(o)?o:U,r.notifyWith)),t[1][3].add(a(0,r,g(e)?e:U)),t[2][3].add(a(0,r,g(n)?n:B))})).promise()},promise:function(e){return null!=e?E.extend(e,o):o}},i={};return E.each(t,(function(e,r){var a=r[2],s=r[5];o[r[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),i[r[0]]=function(){return i[r[0]+"With"](this===i?void 0:this,arguments),this},i[r[0]+"With"]=a.fireWith})),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),o=s.call(arguments),i=E.Deferred(),a=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?s.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&(V(e,i.done(a(n)).resolve,i.reject,!t),"pending"===i.state()||g(o[n]&&o[n].then)))return i.then();for(;n--;)V(o[n],a(n),i.reject);return i.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;E.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&H.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},E.readyException=function(e){r.setTimeout((function(){throw e}))};var Z=E.Deferred();function q(){b.removeEventListener("DOMContentLoaded",q),r.removeEventListener("load",q),E.ready()}E.fn.ready=function(e){return Z.then(e).catch((function(e){E.readyException(e)})),this},E.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--E.readyWait:E.isReady)||(E.isReady=!0,!0!==e&&--E.readyWait>0||Z.resolveWith(b,[E]))}}),E.ready.then=Z.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(E.ready):(b.addEventListener("DOMContentLoaded",q),r.addEventListener("load",q));var W=function(e,t,n,r,o,i,a){var s=0,l=e.length,u=null==n;if("object"===O(n))for(s in o=!0,n)W(e,t,s,n[s],!0,i,a);else if(void 0!==r&&(o=!0,g(r)||(a=!0),u&&(a?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(E(e),n)})),t))for(;s<l;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return o?e:u?t.call(e):l?t(e[0],n):i},K=/^-ms-/,G=/-([a-z])/g;function z(e,t){return t.toUpperCase()}function $(e){return e.replace(K,"ms-").replace(G,z)}var Y=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function J(){this.expando=E.expando+J.uid++}J.uid=1,J.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Y(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[$(t)]=n;else for(r in t)o[$(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][$(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map($):(t=$(t))in r?[t]:t.match(F)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||E.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!E.isEmptyObject(t)}};var Q=new J,X=new J,ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,te=/[A-Z]/g;function ne(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(te,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ee.test(e)?JSON.parse(e):e)}(n)}catch(e){}X.set(e,t,n)}else n=void 0;return n}E.extend({hasData:function(e){return X.hasData(e)||Q.hasData(e)},data:function(e,t,n){return X.access(e,t,n)},removeData:function(e,t){X.remove(e,t)},_data:function(e,t,n){return Q.access(e,t,n)},_removeData:function(e,t){Q.remove(e,t)}}),E.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=X.get(i),1===i.nodeType&&!Q.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=$(r.slice(5)),ne(i,r,o[r]));Q.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each((function(){X.set(this,e)})):W(this,(function(t){var n;if(i&&void 0===t)return void 0!==(n=X.get(i,e))||void 0!==(n=ne(i,e))?n:void 0;this.each((function(){X.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){X.remove(this,e)}))}}),E.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Q.get(e,t),n&&(!r||Array.isArray(n)?r=Q.access(e,t,E.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=E.queue(e,t),r=n.length,o=n.shift(),i=E._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,(function(){E.dequeue(e,t)}),i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Q.get(e,n)||Q.access(e,n,{empty:E.Callbacks("once memory").add((function(){Q.remove(e,[t+"queue",n])}))})}}),E.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?E.queue(this[0],e):void 0===t?this:this.each((function(){var n=E.queue(this,e,t);E._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&E.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){E.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=E.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=Q.get(i[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,oe=new RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i"),ie=["Top","Right","Bottom","Left"],ae=b.documentElement,se=function(e){return E.contains(e.ownerDocument,e)},le={composed:!0};ae.getRootNode&&(se=function(e){return E.contains(e.ownerDocument,e)||e.getRootNode(le)===e.ownerDocument});var ue=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&se(e)&&"none"===E.css(e,"display")};function ce(e,t,n,r){var o,i,a=20,s=r?function(){return r.cur()}:function(){return E.css(e,t,"")},l=s(),u=n&&n[3]||(E.cssNumber[t]?"":"px"),c=e.nodeType&&(E.cssNumber[t]||"px"!==u&&+l)&&oe.exec(E.css(e,t));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;a--;)E.style(e,t,c+u),(1-i)*(1-(i=s()/l||.5))<=0&&(a=0),c/=i;c*=2,E.style(e,t,c+u),n=n||[]}return n&&(c=+c||+l||0,o=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=c,r.end=o)),o}var fe={};function de(e){var t,n=e.ownerDocument,r=e.nodeName,o=fe[r];return o||(t=n.body.appendChild(n.createElement(r)),o=E.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),fe[r]=o,o)}function pe(e,t){for(var n,r,o=[],i=0,a=e.length;i<a;i++)(r=e[i]).style&&(n=r.style.display,t?("none"===n&&(o[i]=Q.get(r,"display")||null,o[i]||(r.style.display="")),""===r.style.display&&ue(r)&&(o[i]=de(r))):"none"!==n&&(o[i]="none",Q.set(r,"display",n)));for(i=0;i<a;i++)null!=o[i]&&(e[i].style.display=o[i]);return e}E.fn.extend({show:function(){return pe(this,!0)},hide:function(){return pe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ue(this)?E(this).show():E(this).hide()}))}});var he,me,ve=/^(?:checkbox|radio)$/i,ge=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ye=/^$|^module$|\/(?:java|ecma)script/i;he=b.createDocumentFragment().appendChild(b.createElement("div")),(me=b.createElement("input")).setAttribute("type","radio"),me.setAttribute("checked","checked"),me.setAttribute("name","t"),he.appendChild(me),v.checkClone=he.cloneNode(!0).cloneNode(!0).lastChild.checked,he.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!he.cloneNode(!0).lastChild.defaultValue,he.innerHTML="<option></option>",v.option=!!he.lastChild;var be={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function _e(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&P(e,t)?E.merge([e],n):n}function we(e,t){for(var n=0,r=e.length;n<r;n++)Q.set(e[n],"globalEval",!t||Q.get(t[n],"globalEval"))}be.tbody=be.tfoot=be.colgroup=be.caption=be.thead,be.th=be.td,v.option||(be.optgroup=be.option=[1,"<select multiple='multiple'>","</select>"]);var Oe=/<|&#?\w+;/;function ke(e,t,n,r,o){for(var i,a,s,l,u,c,f=t.createDocumentFragment(),d=[],p=0,h=e.length;p<h;p++)if((i=e[p])||0===i)if("object"===O(i))E.merge(d,i.nodeType?[i]:i);else if(Oe.test(i)){for(a=a||f.appendChild(t.createElement("div")),s=(ge.exec(i)||["",""])[1].toLowerCase(),l=be[s]||be._default,a.innerHTML=l[1]+E.htmlPrefilter(i)+l[2],c=l[0];c--;)a=a.lastChild;E.merge(d,a.childNodes),(a=f.firstChild).textContent=""}else d.push(t.createTextNode(i));for(f.textContent="",p=0;i=d[p++];)if(r&&E.inArray(i,r)>-1)o&&o.push(i);else if(u=se(i),a=_e(f.appendChild(i),"script"),u&&we(a),n)for(c=0;i=a[c++];)ye.test(i.type||"")&&n.push(i);return f}var Ee=/^([^.]*)(?:\.(.+)|)/;function Se(){return!0}function xe(){return!1}function Te(e,t){return e===function(){try{return b.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,o,i){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=xe;else if(!o)return e;return 1===i&&(a=o,o=function(e){return E().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=E.guid++)),e.each((function(){E.event.add(this,t,o,r,n)}))}function Ce(e,t,n){n?(Q.set(e,t,!1),E.event.add(e,t,{namespace:!1,handler:function(e){var r,o,i=Q.get(this,t);if(1&e.isTrigger&&this[t]){if(i.length)(E.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=s.call(arguments),Q.set(this,t,i),r=n(this,t),this[t](),i!==(o=Q.get(this,t))||r?Q.set(this,t,!1):o={},i!==o)return e.stopImmediatePropagation(),e.preventDefault(),o&&o.value}else i.length&&(Q.set(this,t,{value:E.event.trigger(E.extend(i[0],E.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,t)&&E.event.add(e,t,Se)}E.event={global:{},add:function(e,t,n,r,o){var i,a,s,l,u,c,f,d,p,h,m,v=Q.get(e);if(Y(e))for(n.handler&&(n=(i=n).handler,o=i.selector),o&&E.find.matchesSelector(ae,o),n.guid||(n.guid=E.guid++),(l=v.events)||(l=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(t){return void 0!==E&&E.event.triggered!==t.type?E.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(F)||[""]).length;u--;)p=m=(s=Ee.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),p&&(f=E.event.special[p]||{},p=(o?f.delegateType:f.bindType)||p,f=E.event.special[p]||{},c=E.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&E.expr.match.needsContext.test(o),namespace:h.join(".")},i),(d=l[p])||((d=l[p]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(p,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),o?d.splice(d.delegateCount++,0,c):d.push(c),E.event.global[p]=!0)},remove:function(e,t,n,r,o){var i,a,s,l,u,c,f,d,p,h,m,v=Q.hasData(e)&&Q.get(e);if(v&&(l=v.events)){for(u=(t=(t||"").match(F)||[""]).length;u--;)if(p=m=(s=Ee.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),p){for(f=E.event.special[p]||{},d=l[p=(r?f.delegateType:f.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=d.length;i--;)c=d[i],!o&&m!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(i,1),c.selector&&d.delegateCount--,f.remove&&f.remove.call(e,c));a&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||E.removeEvent(e,p,v.handle),delete l[p])}else for(p in l)E.event.remove(e,p+t[u],n,r,!0);E.isEmptyObject(l)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,s=new Array(arguments.length),l=E.event.fix(e),u=(Q.get(this,"events")||Object.create(null))[l.type]||[],c=E.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){for(a=E.event.handlers.call(this,l,u),t=0;(o=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==i.namespace&&!l.rnamespace.test(i.namespace)||(l.handleObj=i,l.data=i.data,void 0!==(r=((E.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s))&&!1===(l.result=r)&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,r,o,i,a,s=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(i=[],a={},n=0;n<l;n++)void 0===a[o=(r=t[n]).selector+" "]&&(a[o]=r.needsContext?E(o,this).index(u)>-1:E.find(o,this,null,[u]).length),a[o]&&i.push(r);i.length&&s.push({elem:u,handlers:i})}return u=this,l<t.length&&s.push({elem:u,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(E.Event.prototype,e,{enumerable:!0,configurable:!0,get:g(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[E.expando]?e:new E.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ve.test(t.type)&&t.click&&P(t,"input")&&Ce(t,"click",Se),!1},trigger:function(e){var t=this||e;return ve.test(t.type)&&t.click&&P(t,"input")&&Ce(t,"click"),!0},_default:function(e){var t=e.target;return ve.test(t.type)&&t.click&&P(t,"input")&&Q.get(t,"click")||P(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},E.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},E.Event=function(e,t){if(!(this instanceof E.Event))return new E.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Se:xe,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&E.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[E.expando]=!0},E.Event.prototype={constructor:E.Event,isDefaultPrevented:xe,isPropagationStopped:xe,isImmediatePropagationStopped:xe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Se,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Se,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Se,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},E.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},E.event.addProp),E.each({focus:"focusin",blur:"focusout"},(function(e,t){E.event.special[e]={setup:function(){return Ce(this,e,Te),!1},trigger:function(){return Ce(this,e),!0},_default:function(t){return Q.get(t.target,e)},delegateType:t}})),E.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){E.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,o=e.relatedTarget,i=e.handleObj;return o&&(o===r||E.contains(r,o))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}})),E.fn.extend({on:function(e,t,n,r){return Ae(this,e,t,n,r)},one:function(e,t,n,r){return Ae(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,E(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=xe),this.each((function(){E.event.remove(this,e,n,t)}))}});var Pe=/<script|<style|<link/i,Re=/checked\s*(?:[^=]|=\s*.checked.)/i,Ne=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Ie(e,t){return P(e,"table")&&P(11!==t.nodeType?t:t.firstChild,"tr")&&E(e).children("tbody")[0]||e}function Me(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function je(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,o,i,a,s;if(1===t.nodeType){if(Q.hasData(e)&&(s=Q.get(e).events))for(o in Q.remove(t,"handle events"),s)for(n=0,r=s[o].length;n<r;n++)E.event.add(t,o,s[o][n]);X.hasData(e)&&(i=X.access(e),a=E.extend({},i),X.set(t,a))}}function De(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ve.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Fe(e,t,n,r){t=l(t);var o,i,a,s,u,c,f=0,d=e.length,p=d-1,h=t[0],m=g(h);if(m||d>1&&"string"==typeof h&&!v.checkClone&&Re.test(h))return e.each((function(o){var i=e.eq(o);m&&(t[0]=h.call(this,o,i.html())),Fe(i,t,n,r)}));if(d&&(i=(o=ke(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=(a=E.map(_e(o,"script"),Me)).length;f<d;f++)u=o,f!==p&&(u=E.clone(u,!0,!0),s&&E.merge(a,_e(u,"script"))),n.call(e[f],u,f);if(s)for(c=a[a.length-1].ownerDocument,E.map(a,je),f=0;f<s;f++)u=a[f],ye.test(u.type||"")&&!Q.access(u,"globalEval")&&E.contains(c,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?E._evalUrl&&!u.noModule&&E._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},c):w(u.textContent.replace(Ne,""),u,c))}return e}function Ue(e,t,n){for(var r,o=t?E.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||E.cleanData(_e(r)),r.parentNode&&(n&&se(r)&&we(_e(r,"script")),r.parentNode.removeChild(r));return e}E.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,i,a,s=e.cloneNode(!0),l=se(e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||E.isXMLDoc(e)))for(a=_e(s),r=0,o=(i=_e(e)).length;r<o;r++)De(i[r],a[r]);if(t)if(n)for(i=i||_e(e),a=a||_e(s),r=0,o=i.length;r<o;r++)Le(i[r],a[r]);else Le(e,s);return(a=_e(s,"script")).length>0&&we(a,!l&&_e(e,"script")),s},cleanData:function(e){for(var t,n,r,o=E.event.special,i=0;void 0!==(n=e[i]);i++)if(Y(n)){if(t=n[Q.expando]){if(t.events)for(r in t.events)o[r]?E.event.remove(n,r):E.removeEvent(n,r,t.handle);n[Q.expando]=void 0}n[X.expando]&&(n[X.expando]=void 0)}}}),E.fn.extend({detach:function(e){return Ue(this,e,!0)},remove:function(e){return Ue(this,e)},text:function(e){return W(this,(function(e){return void 0===e?E.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Fe(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ie(this,e).appendChild(e)}))},prepend:function(){return Fe(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ie(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Fe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Fe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(E.cleanData(_e(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return E.clone(this,e,t)}))},html:function(e){return W(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Pe.test(e)&&!be[(ge.exec(e)||["",""])[1].toLowerCase()]){e=E.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(E.cleanData(_e(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Fe(this,arguments,(function(t){var n=this.parentNode;E.inArray(this,e)<0&&(E.cleanData(_e(this)),n&&n.replaceChild(t,this))}),e)}}),E.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){E.fn[e]=function(e){for(var n,r=[],o=E(e),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),E(o[a])[t](n),u.apply(r,n.get());return this.pushStack(r)}}));var Be=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),Ve=/^--/,He=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},Ze=function(e,t,n){var r,o,i={};for(o in t)i[o]=e.style[o],e.style[o]=t[o];for(o in r=n.call(e),t)e.style[o]=i[o];return r},qe=new RegExp(ie.join("|"),"i"),We=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g");function Ke(e,t,n){var r,o,i,a,s=Ve.test(t),l=e.style;return(n=n||He(e))&&(a=n.getPropertyValue(t)||n[t],s&&(a=a.replace(We,"$1")),""!==a||se(e)||(a=E.style(e,t)),!v.pixelBoxStyles()&&Be.test(a)&&qe.test(t)&&(r=l.width,o=l.minWidth,i=l.maxWidth,l.minWidth=l.maxWidth=l.width=a,a=n.width,l.width=r,l.minWidth=o,l.maxWidth=i)),void 0!==a?a+"":a}function Ge(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(c){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ae.appendChild(u).appendChild(c);var e=r.getComputedStyle(c);n="1%"!==e.top,l=12===t(e.marginLeft),c.style.right="60%",a=36===t(e.right),o=36===t(e.width),c.style.position="absolute",i=12===t(c.offsetWidth/3),ae.removeChild(u),c=null}}function t(e){return Math.round(parseFloat(e))}var n,o,i,a,s,l,u=b.createElement("div"),c=b.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===c.style.backgroundClip,E.extend(v,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,o;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),n=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",ae.appendChild(e).appendChild(t).appendChild(n),o=r.getComputedStyle(t),s=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===t.offsetHeight,ae.removeChild(e)),s}}))}();var ze=["Webkit","Moz","ms"],$e=b.createElement("div").style,Ye={};function Je(e){var t=E.cssProps[e]||Ye[e];return t||(e in $e?e:Ye[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=ze.length;n--;)if((e=ze[n]+t)in $e)return e}(e)||e)}var Qe=/^(none|table(?!-c[ea]).+)/,Xe={position:"absolute",visibility:"hidden",display:"block"},et={letterSpacing:"0",fontWeight:"400"};function tt(e,t,n){var r=oe.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function nt(e,t,n,r,o,i){var a="width"===t?1:0,s=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=E.css(e,n+ie[a],!0,o)),r?("content"===n&&(l-=E.css(e,"padding"+ie[a],!0,o)),"margin"!==n&&(l-=E.css(e,"border"+ie[a]+"Width",!0,o))):(l+=E.css(e,"padding"+ie[a],!0,o),"padding"!==n?l+=E.css(e,"border"+ie[a]+"Width",!0,o):s+=E.css(e,"border"+ie[a]+"Width",!0,o));return!r&&i>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-l-s-.5))||0),l}function rt(e,t,n){var r=He(e),o=(!v.boxSizingReliable()||n)&&"border-box"===E.css(e,"boxSizing",!1,r),i=o,a=Ke(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Be.test(a)){if(!n)return a;a="auto"}return(!v.boxSizingReliable()&&o||!v.reliableTrDimensions()&&P(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===E.css(e,"display",!1,r))&&e.getClientRects().length&&(o="border-box"===E.css(e,"boxSizing",!1,r),(i=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+nt(e,t,n||(o?"border":"content"),i,r,a)+"px"}function ot(e,t,n,r,o){return new ot.prototype.init(e,t,n,r,o)}E.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ke(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=$(t),l=Ve.test(t),u=e.style;if(l||(t=Je(s)),a=E.cssHooks[t]||E.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:u[t];"string"===(i=typeof n)&&(o=oe.exec(n))&&o[1]&&(n=ce(e,t,o),i="number"),null!=n&&n==n&&("number"!==i||l||(n+=o&&o[3]||(E.cssNumber[s]?"":"px")),v.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(l?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,r){var o,i,a,s=$(t);return Ve.test(t)||(t=Je(s)),(a=E.cssHooks[t]||E.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=Ke(e,t,r)),"normal"===o&&t in et&&(o=et[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),E.each(["height","width"],(function(e,t){E.cssHooks[t]={get:function(e,n,r){if(n)return!Qe.test(E.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?rt(e,t,r):Ze(e,Xe,(function(){return rt(e,t,r)}))},set:function(e,n,r){var o,i=He(e),a=!v.scrollboxSize()&&"absolute"===i.position,s=(a||r)&&"border-box"===E.css(e,"boxSizing",!1,i),l=r?nt(e,t,r,s,i):0;return s&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-nt(e,t,"border",!1,i)-.5)),l&&(o=oe.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=E.css(e,t)),tt(0,n,l)}}})),E.cssHooks.marginLeft=Ge(v.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Ke(e,"marginLeft"))||e.getBoundingClientRect().left-Ze(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),E.each({margin:"",padding:"",border:"Width"},(function(e,t){E.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+ie[r]+t]=i[r]||i[r-2]||i[0];return o}},"margin"!==e&&(E.cssHooks[e+t].set=tt)})),E.fn.extend({css:function(e,t){return W(this,(function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=He(e),o=t.length;a<o;a++)i[t[a]]=E.css(e,t[a],!1,r);return i}return void 0!==n?E.style(e,t,n):E.css(e,t)}),e,t,arguments.length>1)}}),E.Tween=ot,ot.prototype={constructor:ot,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||E.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(E.cssNumber[n]?"":"px")},cur:function(){var e=ot.propHooks[this.prop];return e&&e.get?e.get(this):ot.propHooks._default.get(this)},run:function(e){var t,n=ot.propHooks[this.prop];return this.options.duration?this.pos=t=E.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):ot.propHooks._default.set(this),this}},ot.prototype.init.prototype=ot.prototype,ot.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=E.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){E.fx.step[e.prop]?E.fx.step[e.prop](e):1!==e.elem.nodeType||!E.cssHooks[e.prop]&&null==e.elem.style[Je(e.prop)]?e.elem[e.prop]=e.now:E.style(e.elem,e.prop,e.now+e.unit)}}},ot.propHooks.scrollTop=ot.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},E.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},E.fx=ot.prototype.init,E.fx.step={};var it,at,st=/^(?:toggle|show|hide)$/,lt=/queueHooks$/;function ut(){at&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(ut):r.setTimeout(ut,E.fx.interval),E.fx.tick())}function ct(){return r.setTimeout((function(){it=void 0})),it=Date.now()}function ft(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=ie[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function dt(e,t,n){for(var r,o=(pt.tweeners[t]||[]).concat(pt.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function pt(e,t,n){var r,o,i=0,a=pt.prefilters.length,s=E.Deferred().always((function(){delete l.elem})),l=function(){if(o)return!1;for(var t=it||ct(),n=Math.max(0,u.startTime+u.duration-t),r=1-(n/u.duration||0),i=0,a=u.tweens.length;i<a;i++)u.tweens[i].run(r);return s.notifyWith(e,[u,r,n]),r<1&&a?n:(a||s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:E.extend({},t),opts:E.extend(!0,{specialEasing:{},easing:E.easing._default},n),originalProperties:t,originalOptions:n,startTime:it||ct(),duration:n.duration,tweens:[],createTween:function(t,n){var r=E.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)u.tweens[n].run(1);return t?(s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u,t])):s.rejectWith(e,[u,t]),this}}),c=u.props;for(!function(e,t){var n,r,o,i,a;for(n in e)if(o=t[r=$(n)],i=e[n],Array.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(a=E.cssHooks[r])&&"expand"in a)for(n in i=a.expand(i),delete e[r],i)n in e||(e[n]=i[n],t[n]=o);else t[r]=o}(c,u.opts.specialEasing);i<a;i++)if(r=pt.prefilters[i].call(u,e,c,u.opts))return g(r.stop)&&(E._queueHooks(u.elem,u.opts.queue).stop=r.stop.bind(r)),r;return E.map(c,dt,u),g(u.opts.start)&&u.opts.start.call(e,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),E.fx.timer(E.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u}E.Animation=E.extend(pt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ce(n.elem,e,oe.exec(t),n),n}]},tweener:function(e,t){g(e)?(t=e,e=["*"]):e=e.match(F);for(var n,r=0,o=e.length;r<o;r++)n=e[r],pt.tweeners[n]=pt.tweeners[n]||[],pt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,o,i,a,s,l,u,c,f="width"in t||"height"in t,d=this,p={},h=e.style,m=e.nodeType&&ue(e),v=Q.get(e,"fxshow");for(r in n.queue||(null==(a=E._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,d.always((function(){d.always((function(){a.unqueued--,E.queue(e,"fx").length||a.empty.fire()}))}))),t)if(o=t[r],st.test(o)){if(delete t[r],i=i||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||!v||void 0===v[r])continue;m=!0}p[r]=v&&v[r]||E.style(e,r)}if((l=!E.isEmptyObject(t))||!E.isEmptyObject(p))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(u=v&&v.display)&&(u=Q.get(e,"display")),"none"===(c=E.css(e,"display"))&&(u?c=u:(pe([e],!0),u=e.style.display||u,c=E.css(e,"display"),pe([e]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===E.css(e,"float")&&(l||(d.done((function(){h.display=u})),null==u&&(c=h.display,u="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",d.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),l=!1,p)l||(v?"hidden"in v&&(m=v.hidden):v=Q.access(e,"fxshow",{display:u}),i&&(v.hidden=!m),m&&pe([e],!0),d.done((function(){for(r in m||pe([e]),Q.remove(e,"fxshow"),p)E.style(e,r,p[r])}))),l=dt(m?v[r]:0,r,d),r in v||(v[r]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?pt.prefilters.unshift(e):pt.prefilters.push(e)}}),E.speed=function(e,t,n){var r=e&&"object"==typeof e?E.extend({},e):{complete:n||!n&&t||g(e)&&e,duration:e,easing:n&&t||t&&!g(t)&&t};return E.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in E.fx.speeds?r.duration=E.fx.speeds[r.duration]:r.duration=E.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){g(r.old)&&r.old.call(this),r.queue&&E.dequeue(this,r.queue)},r},E.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ue).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=E.isEmptyObject(e),i=E.speed(t,n,r),a=function(){var t=pt(this,E.extend({},e),i);(o||Q.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,o=null!=e&&e+"queueHooks",i=E.timers,a=Q.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&<.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||E.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=Q.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=E.timers,a=r?r.length:0;for(n.finish=!0,E.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),E.each(["toggle","show","hide"],(function(e,t){var n=E.fn[t];E.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ft(t,!0),e,r,o)}})),E.each({slideDown:ft("show"),slideUp:ft("hide"),slideToggle:ft("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){E.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),E.timers=[],E.fx.tick=function(){var e,t=0,n=E.timers;for(it=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||E.fx.stop(),it=void 0},E.fx.timer=function(e){E.timers.push(e),E.fx.start()},E.fx.interval=13,E.fx.start=function(){at||(at=!0,ut())},E.fx.stop=function(){at=null},E.fx.speeds={slow:600,fast:200,_default:400},E.fn.delay=function(e,t){return e=E.fx&&E.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var o=r.setTimeout(t,e);n.stop=function(){r.clearTimeout(o)}}))},function(){var e=b.createElement("input"),t=b.createElement("select").appendChild(b.createElement("option"));e.type="checkbox",v.checkOn=""!==e.value,v.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",v.radioValue="t"===e.value}();var ht,mt=E.expr.attrHandle;E.fn.extend({attr:function(e,t){return W(this,E.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){E.removeAttr(this,e)}))}}),E.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?E.prop(e,t,n):(1===i&&E.isXMLDoc(e)||(o=E.attrHooks[t.toLowerCase()]||(E.expr.match.bool.test(t)?ht:void 0)),void 0!==n?null===n?void E.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:null==(r=E.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&P(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(F);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),ht={set:function(e,t,n){return!1===t?E.removeAttr(e,n):e.setAttribute(n,n),n}},E.each(E.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=mt[t]||E.find.attr;mt[t]=function(e,t,r){var o,i,a=t.toLowerCase();return r||(i=mt[a],mt[a]=o,o=null!=n(e,t,r)?a:null,mt[a]=i),o}}));var vt=/^(?:input|select|textarea|button)$/i,gt=/^(?:a|area)$/i;function yt(e){return(e.match(F)||[]).join(" ")}function bt(e){return e.getAttribute&&e.getAttribute("class")||""}function _t(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(F)||[]}E.fn.extend({prop:function(e,t){return W(this,E.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[E.propFix[e]||e]}))}}),E.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&E.isXMLDoc(e)||(t=E.propFix[t]||t,o=E.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=E.find.attr(e,"tabindex");return t?parseInt(t,10):vt.test(e.nodeName)||gt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(E.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),E.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){E.propFix[this.toLowerCase()]=this})),E.fn.extend({addClass:function(e){var t,n,r,o,i,a;return g(e)?this.each((function(t){E(this).addClass(e.call(this,t,bt(this)))})):(t=_t(e)).length?this.each((function(){if(r=bt(this),n=1===this.nodeType&&" "+yt(r)+" "){for(i=0;i<t.length;i++)o=t[i],n.indexOf(" "+o+" ")<0&&(n+=o+" ");a=yt(n),r!==a&&this.setAttribute("class",a)}})):this},removeClass:function(e){var t,n,r,o,i,a;return g(e)?this.each((function(t){E(this).removeClass(e.call(this,t,bt(this)))})):arguments.length?(t=_t(e)).length?this.each((function(){if(r=bt(this),n=1===this.nodeType&&" "+yt(r)+" "){for(i=0;i<t.length;i++)for(o=t[i];n.indexOf(" "+o+" ")>-1;)n=n.replace(" "+o+" "," ");a=yt(n),r!==a&&this.setAttribute("class",a)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,r,o,i,a=typeof e,s="string"===a||Array.isArray(e);return g(e)?this.each((function(n){E(this).toggleClass(e.call(this,n,bt(this),t),t)})):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(n=_t(e),this.each((function(){if(s)for(i=E(this),o=0;o<n.length;o++)r=n[o],i.hasClass(r)?i.removeClass(r):i.addClass(r);else void 0!==e&&"boolean"!==a||((r=bt(this))&&Q.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===e?"":Q.get(this,"__className__")||""))})))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+yt(bt(n))+" ").indexOf(t)>-1)return!0;return!1}});var wt=/\r/g;E.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=g(e),this.each((function(n){var o;1===this.nodeType&&(null==(o=r?e.call(this,n,E(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=E.map(o,(function(e){return null==e?"":e+""}))),(t=E.valHooks[this.type]||E.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))}))):o?(t=E.valHooks[o.type]||E.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(wt,""):null==n?"":n:void 0}}),E.extend({valHooks:{option:{get:function(e){var t=E.find.attr(e,"value");return null!=t?t:yt(E.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?i+1:o.length;for(r=i<0?l:a?i:0;r<l;r++)if(((n=o[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!P(n.parentNode,"optgroup"))){if(t=E(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,o=e.options,i=E.makeArray(t),a=o.length;a--;)((r=o[a]).selected=E.inArray(E.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),E.each(["radio","checkbox"],(function(){E.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=E.inArray(E(e).val(),t)>-1}},v.checkOn||(E.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),v.focusin="onfocusin"in r;var Ot=/^(?:focusinfocus|focusoutblur)$/,kt=function(e){e.stopPropagation()};E.extend(E.event,{trigger:function(e,t,n,o){var i,a,s,l,u,c,f,d,h=[n||b],m=p.call(e,"type")?e.type:e,v=p.call(e,"namespace")?e.namespace.split("."):[];if(a=d=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!Ot.test(m+E.event.triggered)&&(m.indexOf(".")>-1&&(v=m.split("."),m=v.shift(),v.sort()),u=m.indexOf(":")<0&&"on"+m,(e=e[E.expando]?e:new E.Event(m,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=v.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:E.makeArray(t,[e]),f=E.event.special[m]||{},o||!f.trigger||!1!==f.trigger.apply(n,t))){if(!o&&!f.noBubble&&!y(n)){for(l=f.delegateType||m,Ot.test(l+m)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(n.ownerDocument||b)&&h.push(s.defaultView||s.parentWindow||r)}for(i=0;(a=h[i++])&&!e.isPropagationStopped();)d=a,e.type=i>1?l:f.bindType||m,(c=(Q.get(a,"events")||Object.create(null))[e.type]&&Q.get(a,"handle"))&&c.apply(a,t),(c=u&&a[u])&&c.apply&&Y(a)&&(e.result=c.apply(a,t),!1===e.result&&e.preventDefault());return e.type=m,o||e.isDefaultPrevented()||f._default&&!1!==f._default.apply(h.pop(),t)||!Y(n)||u&&g(n[m])&&!y(n)&&((s=n[u])&&(n[u]=null),E.event.triggered=m,e.isPropagationStopped()&&d.addEventListener(m,kt),n[m](),e.isPropagationStopped()&&d.removeEventListener(m,kt),E.event.triggered=void 0,s&&(n[u]=s)),e.result}},simulate:function(e,t,n){var r=E.extend(new E.Event,n,{type:e,isSimulated:!0});E.event.trigger(r,null,t)}}),E.fn.extend({trigger:function(e,t){return this.each((function(){E.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return E.event.trigger(e,t,n,!0)}}),v.focusin||E.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){E.event.simulate(t,e.target,E.event.fix(e))};E.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,o=Q.access(r,t);o||r.addEventListener(e,n,!0),Q.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,o=Q.access(r,t)-1;o?Q.access(r,t,o):(r.removeEventListener(e,n,!0),Q.remove(r,t))}}}));var Et=r.location,St={guid:Date.now()},xt=/\?/;E.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||E.error("Invalid XML: "+(n?E.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Tt=/\[\]$/,At=/\r?\n/g,Ct=/^(?:submit|button|image|reset|file)$/i,Pt=/^(?:input|select|textarea|keygen)/i;function Rt(e,t,n,r){var o;if(Array.isArray(t))E.each(t,(function(t,o){n||Tt.test(e)?r(e,o):Rt(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)}));else if(n||"object"!==O(t))r(e,t);else for(o in t)Rt(e+"["+o+"]",t[o],n,r)}E.param=function(e,t){var n,r=[],o=function(e,t){var n=g(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!E.isPlainObject(e))E.each(e,(function(){o(this.name,this.value)}));else for(n in e)Rt(n,e[n],t,o);return r.join("&")},E.fn.extend({serialize:function(){return E.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=E.prop(this,"elements");return e?E.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!E(this).is(":disabled")&&Pt.test(this.nodeName)&&!Ct.test(e)&&(this.checked||!ve.test(e))})).map((function(e,t){var n=E(this).val();return null==n?null:Array.isArray(n)?E.map(n,(function(e){return{name:t.name,value:e.replace(At,"\r\n")}})):{name:t.name,value:n.replace(At,"\r\n")}})).get()}});var Nt=/%20/g,It=/#.*$/,Mt=/([?&])_=[^&]*/,jt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Lt=/^(?:GET|HEAD)$/,Dt=/^\/\//,Ft={},Ut={},Bt="*/".concat("*"),Vt=b.createElement("a");function Ht(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(F)||[];if(g(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Zt(e,t,n,r){var o={},i=e===Ut;function a(s){var l;return o[s]=!0,E.each(e[s]||[],(function(e,s){var u=s(t,n,r);return"string"!=typeof u||i||o[u]?i?!(l=u):void 0:(t.dataTypes.unshift(u),a(u),!1)})),l}return a(t.dataTypes[0])||!o["*"]&&a("*")}function qt(e,t){var n,r,o=E.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&E.extend(!0,e,r),e}Vt.href=Et.href,E.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Et.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Et.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Bt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":E.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?qt(qt(e,E.ajaxSettings),t):qt(E.ajaxSettings,e)},ajaxPrefilter:Ht(Ft),ajaxTransport:Ht(Ut),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,o,i,a,s,l,u,c,f,d,p=E.ajaxSetup({},t),h=p.context||p,m=p.context&&(h.nodeType||h.jquery)?E(h):E.event,v=E.Deferred(),g=E.Callbacks("once memory"),y=p.statusCode||{},_={},w={},O="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(u){if(!a)for(a={};t=jt.exec(i);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?i:null},setRequestHeader:function(e,t){return null==u&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,_[e]=t),this},overrideMimeType:function(e){return null==u&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)k.always(e[k.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||O;return n&&n.abort(t),S(0,t),this}};if(v.promise(k),p.url=((e||p.url||Et.href)+"").replace(Dt,Et.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(F)||[""],null==p.crossDomain){l=b.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Vt.protocol+"//"+Vt.host!=l.protocol+"//"+l.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=E.param(p.data,p.traditional)),Zt(Ft,p,t,k),u)return k;for(f in(c=E.event&&p.global)&&0==E.active++&&E.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Lt.test(p.type),o=p.url.replace(It,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Nt,"+")):(d=p.url.slice(o.length),p.data&&(p.processData||"string"==typeof p.data)&&(o+=(xt.test(o)?"&":"?")+p.data,delete p.data),!1===p.cache&&(o=o.replace(Mt,"$1"),d=(xt.test(o)?"&":"?")+"_="+St.guid+++d),p.url=o+d),p.ifModified&&(E.lastModified[o]&&k.setRequestHeader("If-Modified-Since",E.lastModified[o]),E.etag[o]&&k.setRequestHeader("If-None-Match",E.etag[o])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&k.setRequestHeader("Content-Type",p.contentType),k.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Bt+"; q=0.01":""):p.accepts["*"]),p.headers)k.setRequestHeader(f,p.headers[f]);if(p.beforeSend&&(!1===p.beforeSend.call(h,k,p)||u))return k.abort();if(O="abort",g.add(p.complete),k.done(p.success),k.fail(p.error),n=Zt(Ut,p,t,k)){if(k.readyState=1,c&&m.trigger("ajaxSend",[k,p]),u)return k;p.async&&p.timeout>0&&(s=r.setTimeout((function(){k.abort("timeout")}),p.timeout));try{u=!1,n.send(_,S)}catch(e){if(u)throw e;S(-1,e)}}else S(-1,"No Transport");function S(e,t,a,l){var f,d,b,_,w,O=t;u||(u=!0,s&&r.clearTimeout(s),n=void 0,i=l||"",k.readyState=e>0?4:0,f=e>=200&&e<300||304===e,a&&(_=function(e,t,n){for(var r,o,i,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){l.unshift(o);break}if(l[0]in n)i=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==l[0]&&l.unshift(i),n[i]}(p,k,a)),!f&&E.inArray("script",p.dataTypes)>-1&&E.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),_=function(e,t,n,r){var o,i,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(i=c.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=i,i=c.shift())if("*"===i)i=l;else if("*"!==l&&l!==i){if(!(a=u[l+" "+i]||u["* "+i]))for(o in u)if((s=o.split(" "))[1]===i&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[o]:!0!==u[o]&&(i=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+i}}}return{state:"success",data:t}}(p,_,k,f),f?(p.ifModified&&((w=k.getResponseHeader("Last-Modified"))&&(E.lastModified[o]=w),(w=k.getResponseHeader("etag"))&&(E.etag[o]=w)),204===e||"HEAD"===p.type?O="nocontent":304===e?O="notmodified":(O=_.state,d=_.data,f=!(b=_.error))):(b=O,!e&&O||(O="error",e<0&&(e=0))),k.status=e,k.statusText=(t||O)+"",f?v.resolveWith(h,[d,O,k]):v.rejectWith(h,[k,O,b]),k.statusCode(y),y=void 0,c&&m.trigger(f?"ajaxSuccess":"ajaxError",[k,p,f?d:b]),g.fireWith(h,[k,O]),c&&(m.trigger("ajaxComplete",[k,p]),--E.active||E.event.trigger("ajaxStop")))}return k},getJSON:function(e,t,n){return E.get(e,t,n,"json")},getScript:function(e,t){return E.get(e,void 0,t,"script")}}),E.each(["get","post"],(function(e,t){E[t]=function(e,n,r,o){return g(n)&&(o=o||r,r=n,n=void 0),E.ajax(E.extend({url:e,type:t,dataType:o,data:n,success:r},E.isPlainObject(e)&&e))}})),E.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),E._evalUrl=function(e,t,n){return E.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){E.globalEval(e,t,n)}})},E.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=E(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return g(e)?this.each((function(t){E(this).wrapInner(e.call(this,t))})):this.each((function(){var t=E(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=g(e);return this.each((function(n){E(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){E(this).replaceWith(this.childNodes)})),this}}),E.expr.pseudos.hidden=function(e){return!E.expr.pseudos.visible(e)},E.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},E.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Wt={0:200,1223:204},Kt=E.ajaxSettings.xhr();v.cors=!!Kt&&"withCredentials"in Kt,v.ajax=Kt=!!Kt,E.ajaxTransport((function(e){var t,n;if(v.cors||Kt&&!e.crossDomain)return{send:function(o,i){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Wt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),E.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),E.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return E.globalEval(e),e}}}),E.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),E.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,o){t=E("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Gt,zt=[],$t=/(=)\?(?=&|$)|\?\?/;E.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||E.expando+"_"+St.guid++;return this[e]=!0,e}}),E.ajaxPrefilter("json jsonp",(function(e,t,n){var o,i,a,s=!1!==e.jsonp&&($t.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&$t.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=g(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace($t,"$1"+o):!1!==e.jsonp&&(e.url+=(xt.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||E.error(o+" was not called"),a[0]},e.dataTypes[0]="json",i=r[o],r[o]=function(){a=arguments},n.always((function(){void 0===i?E(r).removeProp(o):r[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,zt.push(o)),a&&g(i)&&i(a[0]),a=i=void 0})),"script"})),v.createHTMLDocument=((Gt=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Gt.childNodes.length),E.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(v.createHTMLDocument?((r=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(r)):t=b),i=!n&&[],(o=R.exec(e))?[t.createElement(o[1])]:(o=ke([e],t,i),i&&i.length&&E(i).remove(),E.merge([],o.childNodes)));var r,o,i},E.fn.load=function(e,t,n){var r,o,i,a=this,s=e.indexOf(" ");return s>-1&&(r=yt(e.slice(s)),e=e.slice(0,s)),g(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&E.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done((function(e){i=arguments,a.html(r?E("<div>").append(E.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,i||[e.responseText,t,e])}))}),this},E.expr.pseudos.animated=function(e){return E.grep(E.timers,(function(t){return e===t.elem})).length},E.offset={setOffset:function(e,t,n){var r,o,i,a,s,l,u=E.css(e,"position"),c=E(e),f={};"static"===u&&(e.style.position="relative"),s=c.offset(),i=E.css(e,"top"),l=E.css(e,"left"),("absolute"===u||"fixed"===u)&&(i+l).indexOf("auto")>-1?(a=(r=c.position()).top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(l)||0),g(t)&&(t=t.call(e,n,E.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+o),"using"in t?t.using.call(e,f):c.css(f)}},E.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){E.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if("fixed"===E.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===E.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((o=E(e).offset()).top+=E.css(e,"borderTopWidth",!0),o.left+=E.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-E.css(r,"marginTop",!0),left:t.left-o.left-E.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===E.css(e,"position");)e=e.offsetParent;return e||ae}))}}),E.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;E.fn[e]=function(r){return W(this,(function(e,r,o){var i;if(y(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[r];i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o}),e,r,arguments.length)}})),E.each(["top","left"],(function(e,t){E.cssHooks[t]=Ge(v.pixelPosition,(function(e,n){if(n)return n=Ke(e,t),Be.test(n)?E(e).position()[t]+"px":n}))})),E.each({Height:"height",Width:"width"},(function(e,t){E.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){E.fn[r]=function(o,i){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===i?"margin":"border");return W(this,(function(t,n,o){var i;return y(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===o?E.css(t,n,s):E.style(t,n,o,s)}),t,a?o:void 0,a)}}))})),E.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){E.fn[t]=function(e){return this.on(t,e)}})),E.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),E.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){E.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var Yt=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;E.proxy=function(e,t){var n,r,o;if("string"==typeof t&&(n=e[t],t=e,e=n),g(e))return r=s.call(arguments,2),o=function(){return e.apply(t||this,r.concat(s.call(arguments)))},o.guid=e.guid=e.guid||E.guid++,o},E.holdReady=function(e){e?E.readyWait++:E.ready(!0)},E.isArray=Array.isArray,E.parseJSON=JSON.parse,E.nodeName=P,E.isFunction=g,E.isWindow=y,E.camelCase=$,E.type=O,E.now=Date.now,E.isNumeric=function(e){var t=E.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},E.trim=function(e){return null==e?"":(e+"").replace(Yt,"$1")},void 0===(n=function(){return E}.apply(t,[]))||(e.exports=n);var Jt=r.jQuery,Qt=r.$;return E.noConflict=function(e){return r.$===E&&(r.$=Qt),e&&r.jQuery===E&&(r.jQuery=Jt),E},void 0===o&&(r.jQuery=r.$=E),E}))},8177:function(e){
/*!
*
* Copyright 2009-2012 Kris Kowal under the terms of the MIT
* license found at http://github.com/kriskowal/q/raw/master/LICENSE
*
* With parts by Tyler Close
* Copyright 2007-2009 Tyler Close under the terms of the MIT X license found
* at http://www.opensource.org/licenses/mit-license.html
* Forked at ref_send.js version: 2009-05-11
*
* With parts by Mark Miller
* Copyright (C) 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
!function(t){"use strict";"function"==typeof bootstrap?bootstrap("promise",t):e.exports=t()}((function(){"use strict";var e=!1;try{throw new Error}catch(t){e=!!t.stack}var t,n=O(),r=function(){},o=function(){var e={task:void 0,next:null},t=e,n=!1,r=void 0,i=!1,a=[];function s(){for(var t,r;e.next;)t=(e=e.next).task,e.task=void 0,(r=e.domain)&&(e.domain=void 0,r.enter()),l(t,r);for(;a.length;)l(t=a.pop());n=!1}function l(e,t){try{e()}catch(e){if(i)throw t&&t.exit(),setTimeout(s,0),t&&t.enter(),e;setTimeout((function(){throw e}),0)}t&&t.exit()}if(o=function(e){t=t.next={task:e,domain:i&&process.domain,next:null},n||(n=!0,r())},"object"==typeof process&&"[object process]"===process.toString()&&process.nextTick)i=!0,r=function(){process.nextTick(s)};else if("function"==typeof setImmediate)r="undefined"!=typeof window?setImmediate.bind(window,s):function(){setImmediate(s)};else if("undefined"!=typeof MessageChannel){var u=new MessageChannel;u.port1.onmessage=function(){r=c,u.port1.onmessage=s,s()};var c=function(){u.port2.postMessage(0)};r=function(){setTimeout(s,0),c()}}else r=function(){setTimeout(s,0)};return o.runAfter=function(e){a.push(e),n||(n=!0,r())},o}(),i=Function.call;function a(e){return function(){return i.apply(e,arguments)}}var s,l=a(Array.prototype.slice),u=a(Array.prototype.reduce||function(e,t){var n=0,r=this.length;if(1===arguments.length)for(;;){if(n in this){t=this[n++];break}if(++n>=r)throw new TypeError}for(;n<r;n++)n in this&&(t=e(t,this[n],n));return t}),c=a(Array.prototype.indexOf||function(e){for(var t=0;t<this.length;t++)if(this[t]===e)return t;return-1}),f=a(Array.prototype.map||function(e,t){var n=this,r=[];return u(n,(function(o,i,a){r.push(e.call(t,i,a,n))}),void 0),r}),d=Object.create||function(e){function t(){}return t.prototype=e,new t},p=a(Object.prototype.hasOwnProperty),h=Object.keys||function(e){var t=[];for(var n in e)p(e,n)&&t.push(n);return t},m=a(Object.prototype.toString);function v(e){return"[object StopIteration]"===m(e)||e instanceof s}s="undefined"!=typeof ReturnValue?ReturnValue:function(e){this.value=e};var g="From previous event:";function y(t,n){if(e&&n.stack&&"object"==typeof t&&null!==t&&t.stack&&-1===t.stack.indexOf(g)){for(var r=[],o=n;o;o=o.source)o.stack&&r.unshift(o.stack);r.unshift(t.stack);var i=r.join("\nFrom previous event:\n");t.stack=function(e){for(var t=e.split("\n"),n=[],r=0;r<t.length;++r){var o=t[r];w(o)||b(o)||!o||n.push(o)}return n.join("\n")}(i)}}function b(e){return-1!==e.indexOf("(module.js:")||-1!==e.indexOf("(node.js:")}function _(e){var t=/at .+ \((.+):(\d+):(?:\d+)\)$/.exec(e);if(t)return[t[1],Number(t[2])];var n=/at ([^ ]+):(\d+):(?:\d+)$/.exec(e);if(n)return[n[1],Number(n[2])];var r=/.*@(.+):(\d+)$/.exec(e);return r?[r[1],Number(r[2])]:void 0}function w(e){var r=_(e);if(!r)return!1;var o=r[0],i=r[1];return o===t&&i>=n&&i<=W}function O(){if(e)try{throw new Error}catch(e){var n=e.stack.split("\n"),r=_(n[0].indexOf("@")>0?n[1]:n[2]);if(!r)return;return t=r[0],r[1]}}function k(e){return e instanceof T?e:R(e)?function(e){var t=E();return k.nextTick((function(){try{e.then(t.resolve,t.reject,t.notify)}catch(e){t.reject(e)}})),t.promise}(e):U(e)}function E(){var t,n=[],r=[],o=d(E.prototype),i=d(T.prototype);if(i.promiseDispatch=function(e,o,i){var a=l(arguments);n?(n.push(a),"when"===o&&i[1]&&r.push(i[1])):k.nextTick((function(){t.promiseDispatch.apply(t,a)}))},i.valueOf=function(){if(n)return i;var e=C(t);return P(e)&&(t=e),e},i.inspect=function(){return t?t.inspect():{state:"pending"}},k.longStackSupport&&e)try{throw new Error}catch(e){i.stack=e.stack.substring(e.stack.indexOf("\n")+1)}function a(e){t=e,i.source=e,u(n,(function(t,n){k.nextTick((function(){e.promiseDispatch.apply(e,n)}))}),void 0),n=void 0,r=void 0}return o.promise=i,o.resolve=function(e){t||a(k(e))},o.fulfill=function(e){t||a(U(e))},o.reject=function(e){t||a(F(e))},o.notify=function(e){t||u(r,(function(t,n){k.nextTick((function(){n(e)}))}),void 0)},o}function S(e){if("function"!=typeof e)throw new TypeError("resolver must be a function.");var t=E();try{e(t.resolve,t.reject,t.notify)}catch(e){t.reject(e)}return t.promise}function x(e){return S((function(t,n){for(var r=0,o=e.length;r<o;r++)k(e[r]).then(t,n)}))}function T(e,t,n){void 0===t&&(t=function(e){return F(new Error("Promise does not support operation: "+e))}),void 0===n&&(n=function(){return{state:"unknown"}});var r=d(T.prototype);if(r.promiseDispatch=function(n,o,i){var a;try{a=e[o]?e[o].apply(r,i):t.call(r,o,i)}catch(e){a=F(e)}n&&n(a)},r.inspect=n,n){var o=n();"rejected"===o.state&&(r.exception=o.reason),r.valueOf=function(){var e=n();return"pending"===e.state||"rejected"===e.state?r:e.value}}return r}function A(e,t,n,r){return k(e).then(t,n,r)}function C(e){if(P(e)){var t=e.inspect();if("fulfilled"===t.state)return t.value}return e}function P(e){return e instanceof T}function R(e){return(t=e)===Object(t)&&"function"==typeof e.then;var t}k.resolve=k,k.nextTick=o,k.longStackSupport=!1,"object"==typeof process&&process&&process.env&&process.env.Q_DEBUG&&(k.longStackSupport=!0),k.defer=E,E.prototype.makeNodeResolver=function(){var e=this;return function(t,n){t?e.reject(t):arguments.length>2?e.resolve(l(arguments,1)):e.resolve(n)}},k.Promise=S,k.promise=S,S.race=x,S.all=H,S.reject=F,S.resolve=k,k.passByCopy=function(e){return e},T.prototype.passByCopy=function(){return this},k.join=function(e,t){return k(e).join(t)},T.prototype.join=function(e){return k([this,e]).spread((function(e,t){if(e===t)return e;throw new Error("Can't join: not the same: "+e+" "+t)}))},k.race=x,T.prototype.race=function(){return this.then(k.race)},k.makePromise=T,T.prototype.toString=function(){return"[object Promise]"},T.prototype.then=function(e,t,n){var r=this,o=E(),i=!1;return k.nextTick((function(){r.promiseDispatch((function(t){i||(i=!0,o.resolve(function(t){try{return"function"==typeof e?e(t):t}catch(e){return F(e)}}(t)))}),"when",[function(e){i||(i=!0,o.resolve(function(e){if("function"==typeof t){y(e,r);try{return t(e)}catch(e){return F(e)}}return F(e)}(e)))}])})),r.promiseDispatch(void 0,"when",[void 0,function(e){var t,r=!1;try{t=function(e){return"function"==typeof n?n(e):e}(e)}catch(e){if(r=!0,!k.onerror)throw e;k.onerror(e)}r||o.notify(t)}]),o.promise},k.tap=function(e,t){return k(e).tap(t)},T.prototype.tap=function(e){return e=k(e),this.then((function(t){return e.fcall(t).thenResolve(t)}))},k.when=A,T.prototype.thenResolve=function(e){return this.then((function(){return e}))},k.thenResolve=function(e,t){return k(e).thenResolve(t)},T.prototype.thenReject=function(e){return this.then((function(){throw e}))},k.thenReject=function(e,t){return k(e).thenReject(t)},k.nearer=C,k.isPromise=P,k.isPromiseAlike=R,k.isPending=function(e){return P(e)&&"pending"===e.inspect().state},T.prototype.isPending=function(){return"pending"===this.inspect().state},k.isFulfilled=function(e){return!P(e)||"fulfilled"===e.inspect().state},T.prototype.isFulfilled=function(){return"fulfilled"===this.inspect().state},k.isRejected=function(e){return P(e)&&"rejected"===e.inspect().state},T.prototype.isRejected=function(){return"rejected"===this.inspect().state};var N,I=[],M=[],j=[],L=!0;function D(){I.length=0,M.length=0,L||(L=!0)}function F(e){var t=T({when:function(t){return t&&function(e){if(L){var t=c(M,e);-1!==t&&("object"==typeof process&&"function"==typeof process.emit&&k.nextTick.runAfter((function(){var n=c(j,e);-1!==n&&(process.emit("rejectionHandled",I[t],e),j.splice(n,1))})),M.splice(t,1),I.splice(t,1))}}(this),t?t(e):this}},(function(){return this}),(function(){return{state:"rejected",reason:e}}));return function(e,t){L&&("object"==typeof process&&"function"==typeof process.emit&&k.nextTick.runAfter((function(){-1!==c(M,e)&&(process.emit("unhandledRejection",t,e),j.push(e))})),M.push(e),t&&void 0!==t.stack?I.push(t.stack):I.push("(no stack) "+t))}(t,e),t}function U(e){return T({when:function(){return e},get:function(t){return e[t]},set:function(t,n){e[t]=n},delete:function(t){delete e[t]},post:function(t,n){return null==t?e.apply(void 0,n):e[t].apply(e,n)},apply:function(t,n){return e.apply(t,n)},keys:function(){return h(e)}},void 0,(function(){return{state:"fulfilled",value:e}}))}function B(e,t,n){return k(e).spread(t,n)}function V(e,t,n){return k(e).dispatch(t,n)}function H(e){return A(e,(function(e){var t=0,n=E();return u(e,(function(r,o,i){var a;P(o)&&"fulfilled"===(a=o.inspect()).state?e[i]=a.value:(++t,A(o,(function(r){e[i]=r,0==--t&&n.resolve(e)}),n.reject,(function(e){n.notify({index:i,value:e})})))}),void 0),0===t&&n.resolve(e),n.promise}))}function Z(e){if(0===e.length)return k.resolve();var t=k.defer(),n=0;return u(e,(function(r,o,i){var a=e[i];n++,A(a,(function(e){t.resolve(e)}),(function(){0===--n&&t.reject(new Error("Can't get fulfillment value from any promise, all promises were rejected."))}),(function(e){t.notify({index:i,value:e})}))}),void 0),t.promise}function q(e){return A(e,(function(e){return e=f(e,k),A(H(f(e,(function(e){return A(e,r,r)}))),(function(){return e}))}))}k.resetUnhandledRejections=D,k.getUnhandledReasons=function(){return I.slice()},k.stopUnhandledRejectionTracking=function(){D(),L=!1},D(),k.reject=F,k.fulfill=U,k.master=function(e){return T({isDef:function(){}},(function(t,n){return V(e,t,n)}),(function(){return k(e).inspect()}))},k.spread=B,T.prototype.spread=function(e,t){return this.all().then((function(t){return e.apply(void 0,t)}),t)},k.async=function(e){return function(){function t(e,t){var i;if("undefined"==typeof StopIteration){try{i=n[e](t)}catch(e){return F(e)}return i.done?k(i.value):A(i.value,r,o)}try{i=n[e](t)}catch(e){return v(e)?k(e.value):F(e)}return A(i,r,o)}var n=e.apply(this,arguments),r=t.bind(t,"next"),o=t.bind(t,"throw");return r()}},k.spawn=function(e){k.done(k.async(e)())},k.return=function(e){throw new s(e)},k.promised=function(e){return function(){return B([this,H(arguments)],(function(t,n){return e.apply(t,n)}))}},k.dispatch=V,T.prototype.dispatch=function(e,t){var n=this,r=E();return k.nextTick((function(){n.promiseDispatch(r.resolve,e,t)})),r.promise},k.get=function(e,t){return k(e).dispatch("get",[t])},T.prototype.get=function(e){return this.dispatch("get",[e])},k.set=function(e,t,n){return k(e).dispatch("set",[t,n])},T.prototype.set=function(e,t){return this.dispatch("set",[e,t])},k.del=k.delete=function(e,t){return k(e).dispatch("delete",[t])},T.prototype.del=T.prototype.delete=function(e){return this.dispatch("delete",[e])},k.mapply=k.post=function(e,t,n){return k(e).dispatch("post",[t,n])},T.prototype.mapply=T.prototype.post=function(e,t){return this.dispatch("post",[e,t])},k.send=k.mcall=k.invoke=function(e,t){return k(e).dispatch("post",[t,l(arguments,2)])},T.prototype.send=T.prototype.mcall=T.prototype.invoke=function(e){return this.dispatch("post",[e,l(arguments,1)])},k.fapply=function(e,t){return k(e).dispatch("apply",[void 0,t])},T.prototype.fapply=function(e){return this.dispatch("apply",[void 0,e])},k.try=k.fcall=function(e){return k(e).dispatch("apply",[void 0,l(arguments,1)])},T.prototype.fcall=function(){return this.dispatch("apply",[void 0,l(arguments)])},k.fbind=function(e){var t=k(e),n=l(arguments,1);return function(){return t.dispatch("apply",[this,n.concat(l(arguments))])}},T.prototype.fbind=function(){var e=this,t=l(arguments);return function(){return e.dispatch("apply",[this,t.concat(l(arguments))])}},k.keys=function(e){return k(e).dispatch("keys",[])},T.prototype.keys=function(){return this.dispatch("keys",[])},k.all=H,T.prototype.all=function(){return H(this)},k.any=Z,T.prototype.any=function(){return Z(this)},k.allResolved=(N=q,function(){return"undefined"!=typeof console&&console.warn,N.apply(N,arguments)}),T.prototype.allResolved=function(){return q(this)},k.allSettled=function(e){return k(e).allSettled()},T.prototype.allSettled=function(){return this.then((function(e){return H(f(e,(function(e){function t(){return e.inspect()}return(e=k(e)).then(t,t)})))}))},k.fail=k.catch=function(e,t){return k(e).then(void 0,t)},T.prototype.fail=T.prototype.catch=function(e){return this.then(void 0,e)},k.progress=function(e,t){return k(e).then(void 0,void 0,t)},T.prototype.progress=function(e){return this.then(void 0,void 0,e)},k.fin=k.finally=function(e,t){return k(e).finally(t)},T.prototype.fin=T.prototype.finally=function(e){return e=k(e),this.then((function(t){return e.fcall().then((function(){return t}))}),(function(t){return e.fcall().then((function(){throw t}))}))},k.done=function(e,t,n,r){return k(e).done(t,n,r)},T.prototype.done=function(e,t,n){var r=function(e){k.nextTick((function(){if(y(e,o),!k.onerror)throw e;k.onerror(e)}))},o=e||t||n?this.then(e,t,n):this;"object"==typeof process&&process&&process.domain&&(r=process.domain.bind(r)),o.then(void 0,r)},k.timeout=function(e,t,n){return k(e).timeout(t,n)},T.prototype.timeout=function(e,t){var n=E(),r=setTimeout((function(){t&&"string"!=typeof t||((t=new Error(t||"Timed out after "+e+" ms")).code="ETIMEDOUT"),n.reject(t)}),e);return this.then((function(e){clearTimeout(r),n.resolve(e)}),(function(e){clearTimeout(r),n.reject(e)}),n.notify),n.promise},k.delay=function(e,t){return void 0===t&&(t=e,e=void 0),k(e).delay(t)},T.prototype.delay=function(e){return this.then((function(t){var n=E();return setTimeout((function(){n.resolve(t)}),e),n.promise}))},k.nfapply=function(e,t){return k(e).nfapply(t)},T.prototype.nfapply=function(e){var t=E(),n=l(e);return n.push(t.makeNodeResolver()),this.fapply(n).fail(t.reject),t.promise},k.nfcall=function(e){var t=l(arguments,1);return k(e).nfapply(t)},T.prototype.nfcall=function(){var e=l(arguments),t=E();return e.push(t.makeNodeResolver()),this.fapply(e).fail(t.reject),t.promise},k.nfbind=k.denodeify=function(e){var t=l(arguments,1);return function(){var n=t.concat(l(arguments)),r=E();return n.push(r.makeNodeResolver()),k(e).fapply(n).fail(r.reject),r.promise}},T.prototype.nfbind=T.prototype.denodeify=function(){var e=l(arguments);return e.unshift(this),k.denodeify.apply(void 0,e)},k.nbind=function(e,t){var n=l(arguments,2);return function(){var r=n.concat(l(arguments)),o=E();function i(){return e.apply(t,arguments)}return r.push(o.makeNodeResolver()),k(i).fapply(r).fail(o.reject),o.promise}},T.prototype.nbind=function(){var e=l(arguments,0);return e.unshift(this),k.nbind.apply(void 0,e)},k.nmapply=k.npost=function(e,t,n){return k(e).npost(t,n)},T.prototype.nmapply=T.prototype.npost=function(e,t){var n=l(t||[]),r=E();return n.push(r.makeNodeResolver()),this.dispatch("post",[e,n]).fail(r.reject),r.promise},k.nsend=k.nmcall=k.ninvoke=function(e,t){var n=l(arguments,2),r=E();return n.push(r.makeNodeResolver()),k(e).dispatch("post",[t,n]).fail(r.reject),r.promise},T.prototype.nsend=T.prototype.nmcall=T.prototype.ninvoke=function(e){var t=l(arguments,1),n=E();return t.push(n.makeNodeResolver()),this.dispatch("post",[e,t]).fail(n.reject),n.promise},k.nodeify=function(e,t){return k(e).nodeify(t)},T.prototype.nodeify=function(e){if(!e)return this;this.then((function(t){k.nextTick((function(){e(null,t)}))}),(function(t){k.nextTick((function(){e(t)}))}))},k.noConflict=function(){throw new Error("Q.noConflict only works when Q is used as a global")};var W=O();return k}))},3755:function(e){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),o=document.createRange();o.selectNodeContents(e),r.removeAllRanges(),r.addRange(o),t=r.toString()}return t}},2292:function(){"use strict";
//Copyright 2014-2015 Google Inc. All rights reserved.
//license that can be found in the LICENSE file or at
//https://developers.google.com/open-source/licenses/bsd
!function(){var e="chrome"in window&&window.navigator.userAgent.indexOf("Edge")<0;if(!("u2f"in window)&&e){var t,n=window.u2f={};n.EXTENSION_ID="kmendfapggjehodndflmmgagdbamhnfd",n.MessageTypes={U2F_REGISTER_REQUEST:"u2f_register_request",U2F_REGISTER_RESPONSE:"u2f_register_response",U2F_SIGN_REQUEST:"u2f_sign_request",U2F_SIGN_RESPONSE:"u2f_sign_response",U2F_GET_API_VERSION_REQUEST:"u2f_get_api_version_request",U2F_GET_API_VERSION_RESPONSE:"u2f_get_api_version_response"},n.ErrorCodes={OK:0,OTHER_ERROR:1,BAD_REQUEST:2,CONFIGURATION_UNSUPPORTED:3,DEVICE_INELIGIBLE:4,TIMEOUT:5},n.U2fRequest,n.U2fResponse,n.Error,n.Transport,n.Transports,n.SignRequest,n.SignResponse,n.RegisterRequest,n.RegisterResponse,n.RegisteredKey,n.GetJsApiVersionResponse,n.getMessagePort=function(e){if("undefined"!=typeof chrome&&chrome.runtime){var t={type:n.MessageTypes.U2F_SIGN_REQUEST,signRequests:[]};chrome.runtime.sendMessage(n.EXTENSION_ID,t,(function(){chrome.runtime.lastError?n.getIframePort_(e):n.getChromeRuntimePort_(e)}))}else n.isAndroidChrome_()?n.getAuthenticatorPort_(e):n.isIosChrome_()?n.getIosPort_(e):n.getIframePort_(e)},n.isAndroidChrome_=function(){var e=navigator.userAgent;return-1!=e.indexOf("Chrome")&&-1!=e.indexOf("Android")},n.isIosChrome_=function(){return["iPhone","iPad","iPod"].indexOf(navigator.platform)>-1},n.getChromeRuntimePort_=function(e){var t=chrome.runtime.connect(n.EXTENSION_ID,{includeTlsChannelId:!0});setTimeout((function(){e(new n.WrappedChromeRuntimePort_(t))}),0)},n.getAuthenticatorPort_=function(e){setTimeout((function(){e(new n.WrappedAuthenticatorPort_)}),0)},n.getIosPort_=function(e){setTimeout((function(){e(new n.WrappedIosPort_)}),0)},n.WrappedChromeRuntimePort_=function(e){this.port_=e},n.formatSignRequest_=function(e,r,o,i,a){if(void 0===t||t<1.1){for(var s=[],l=0;l<o.length;l++)s[l]={version:o[l].version,challenge:r,keyHandle:o[l].keyHandle,appId:e};return{type:n.MessageTypes.U2F_SIGN_REQUEST,signRequests:s,timeoutSeconds:i,requestId:a}}return{type:n.MessageTypes.U2F_SIGN_REQUEST,appId:e,challenge:r,registeredKeys:o,timeoutSeconds:i,requestId:a}},n.formatRegisterRequest_=function(e,r,o,i,a){if(void 0===t||t<1.1){for(var s=0;s<o.length;s++)o[s].appId=e;var l=[];for(s=0;s<r.length;s++)l[s]={version:r[s].version,challenge:o[0],keyHandle:r[s].keyHandle,appId:e};return{type:n.MessageTypes.U2F_REGISTER_REQUEST,signRequests:l,registerRequests:o,timeoutSeconds:i,requestId:a}}return{type:n.MessageTypes.U2F_REGISTER_REQUEST,appId:e,registerRequests:o,registeredKeys:r,timeoutSeconds:i,requestId:a}},n.WrappedChromeRuntimePort_.prototype.postMessage=function(e){this.port_.postMessage(e)},n.WrappedChromeRuntimePort_.prototype.addEventListener=function(e,t){var n=e.toLowerCase();"message"!=n&&"onmessage"!=n||this.port_.onMessage.addListener((function(e){t({data:e})}))},n.WrappedAuthenticatorPort_=function(){this.requestId_=-1,this.requestObject_=null},n.WrappedAuthenticatorPort_.prototype.postMessage=function(e){var t=n.WrappedAuthenticatorPort_.INTENT_URL_BASE_+";S.request="+encodeURIComponent(JSON.stringify(e))+";end";document.location=t},n.WrappedAuthenticatorPort_.prototype.getPortType=function(){return"WrappedAuthenticatorPort_"},n.WrappedAuthenticatorPort_.prototype.addEventListener=function(e,t){if("message"==e.toLowerCase()){window.addEventListener("message",this.onRequestUpdate_.bind(this,t),!1)}},n.WrappedAuthenticatorPort_.prototype.onRequestUpdate_=function(e,t){var n=JSON.parse(t.data),r=(n.intentURL,n.errorCode,null);n.hasOwnProperty("data")&&(r=JSON.parse(n.data)),e({data:r})},n.WrappedAuthenticatorPort_.INTENT_URL_BASE_="intent:#Intent;action=com.google.android.apps.authenticator.AUTHENTICATE",n.WrappedIosPort_=function(){},n.WrappedIosPort_.prototype.postMessage=function(e){var t=JSON.stringify(e),n="u2f://auth?"+encodeURI(t);location.replace(n)},n.WrappedIosPort_.prototype.getPortType=function(){return"WrappedIosPort_"},n.WrappedIosPort_.prototype.addEventListener=function(e,t){e.toLowerCase()},n.getIframePort_=function(e){var t="chrome-extension://"+n.EXTENSION_ID,r=document.createElement("iframe");r.src=t+"/u2f-comms.html",r.setAttribute("style","display:none"),document.body.appendChild(r);var o=new MessageChannel,i=function(t){"ready"==t.data&&(o.port1.removeEventListener("message",i),e(o.port1))};o.port1.addEventListener("message",i),o.port1.start(),r.addEventListener("load",(function(){r.contentWindow.postMessage("init",t,[o.port2])}))},n.EXTENSION_TIMEOUT_SEC=30,n.port_=null,n.waitingForPort_=[],n.reqCounter_=0,n.callbackMap_={},n.getPortSingleton_=function(e){n.port_?e(n.port_):(0==n.waitingForPort_.length&&n.getMessagePort((function(e){for(n.port_=e,n.port_.addEventListener("message",n.responseHandler_);n.waitingForPort_.length;)n.waitingForPort_.shift()(n.port_)})),n.waitingForPort_.push(e))},n.responseHandler_=function(e){var t=e.data,r=t.requestId;if(r&&n.callbackMap_[r]){var o=n.callbackMap_[r];delete n.callbackMap_[r],o(t.responseData)}},n.sign=function(e,r,o,i,a){void 0===t?n.getApiVersion((function(s){t=void 0===s.js_api_version?0:s.js_api_version,n.sendSignRequest(e,r,o,i,a)})):n.sendSignRequest(e,r,o,i,a)},n.sendSignRequest=function(e,t,r,o,i){n.getPortSingleton_((function(a){var s=++n.reqCounter_;n.callbackMap_[s]=o;var l=void 0!==i?i:n.EXTENSION_TIMEOUT_SEC,u=n.formatSignRequest_(e,t,r,l,s);a.postMessage(u)}))},n.register=function(e,r,o,i,a){void 0===t?n.getApiVersion((function(s){t=void 0===s.js_api_version?0:s.js_api_version,n.sendRegisterRequest(e,r,o,i,a)})):n.sendRegisterRequest(e,r,o,i,a)},n.sendRegisterRequest=function(e,t,r,o,i){n.getPortSingleton_((function(a){var s=++n.reqCounter_;n.callbackMap_[s]=o;var l=void 0!==i?i:n.EXTENSION_TIMEOUT_SEC,u=n.formatRegisterRequest_(e,r,t,l,s);a.postMessage(u)}))},n.getApiVersion=function(e,t){n.getPortSingleton_((function(r){if(r.getPortType){var o;switch(r.getPortType()){case"WrappedIosPort_":case"WrappedAuthenticatorPort_":o=1.1;break;default:o=0}e({js_api_version:o})}else{var i=++n.reqCounter_;n.callbackMap_[i]=e;var a={type:n.MessageTypes.U2F_GET_API_VERSION_REQUEST,timeoutSeconds:void 0!==t?t:n.EXTENSION_TIMEOUT_SEC,requestId:i};r.postMessage(a)}}))}}}()},3506:function(e,t,n){"use strict";n.r(t);var r=n(1271),o=n.n(r);
/*
* qTip2 - Pretty powerful tooltips - v3.0.3-5-g
* http://qtip2.com
*
* Copyright (c) 2017
* Released under the MIT licenses
* http://jquery.org/license
*
* Date: Wed May 24 2017 01:22 UTC+0000
* Plugins: tips modal viewport svg imagemap ie6
* Styles: core basic css3
*/
!function(e,t,n){o().fn.qtip||function(r){var o,i,a,s,l,u=!0,c=!1,f=null,d="x",p="y",h="width",m="height",v="top",g="left",y="bottom",b="right",_="center",w="flipinvert",O="shift",k={},E="qtip",S="data-hasqtip",x="data-qtip-id",T=["ui-widget","ui-tooltip"],A="."+E,C="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" "),P=E+"-fixed",R=E+"-default",N=E+"-focus",I=E+"-hover",M=E+"-disabled",j="_replacedByqTip",L="oldtitle",D={ie:function(){var e,n;for(e=4,n=t.createElement("div");(n.innerHTML="\x3c!--[if gt IE "+e+"]><i></i><![endif]--\x3e")&&n.getElementsByTagName("i")[0];e+=1);return e>4?e:NaN}(),iOS:parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||c};function F(e,t,n,o){this.id=n,this.target=e,this.tooltip=f,this.elements={target:e},this._id=E+"-"+n,this.timers={img:{}},this.options=t,this.plugins={},this.cache={event:{},target:r(),disabled:c,attr:o,onTooltip:c,lastClass:""},this.rendered=this.destroyed=this.disabled=this.waiting=this.hiddenDuringWait=this.positioning=this.triggering=c}function U(e){return e===f||"object"!==r.type(e)}function B(e){return!(r.isFunction(e)||e&&e.attr||e.length||"object"===r.type(e)&&(e.jquery||e.then))}function V(e){var t,n,o,i;return U(e)?c:(U(e.metadata)&&(e.metadata={type:e.metadata}),"content"in e&&(U(t=e.content)||t.jquery||t.done?(n=B(t)?c:t,t=e.content={text:n}):n=t.text,"ajax"in t&&(o=t.ajax,i=o&&o.once!==c,delete t.ajax,t.text=function(e,t){var a=n||r(this).attr(t.options.content.attr)||"Loading...",s=r.ajax(r.extend({},o,{context:t})).then(o.success,f,o.error).then((function(e){return e&&i&&t.set("content.text",e),e}),(function(e,n,r){t.destroyed||0===e.status||t.set("content.text",n+": "+r)}));return i?a:(t.set("content.text",a),s)}),"title"in t&&(r.isPlainObject(t.title)&&(t.button=t.title.button,t.title=t.title.text),B(t.title||c)&&(t.title=c))),"position"in e&&U(e.position)&&(e.position={my:e.position,at:e.position}),"show"in e&&U(e.show)&&(e.show=e.show.jquery?{target:e.show}:e.show===u?{ready:u}:{event:e.show}),"hide"in e&&U(e.hide)&&(e.hide=e.hide.jquery?{target:e.hide}:{event:e.hide}),"style"in e&&U(e.style)&&(e.style={classes:e.style}),r.each(k,(function(){this.sanitize&&this.sanitize(e)})),e)}function H(e,t){for(var n,r=0,o=e,i=t.split(".");o=o[i[r++]];)r<i.length&&(n=o);return[n||e,i.pop()]}function Z(e,t){var n,r,o;for(n in this.checks)if(this.checks.hasOwnProperty(n))for(r in this.checks[n])this.checks[n].hasOwnProperty(r)&&(o=new RegExp(r,"i").exec(e))&&(t.push(o),("builtin"===n||this.plugins[n])&&this.checks[n][r].apply(this.plugins[n]||this,t))}(i=F.prototype)._when=function(e){return r.when.apply(r,e)},i.render=function(e){if(this.rendered||this.destroyed)return this;var t=this,n=this.options,i=this.cache,a=this.elements,s=n.content.text,l=n.content.title,f=n.content.button,d=n.position,p=[];return r.attr(this.target[0],"aria-describedby",this._id),i.posClass=this._createPosClass((this.position={my:d.my,at:d.at}).my),this.tooltip=a.tooltip=r("<div/>",{id:this._id,class:[E,R,n.style.classes,i.posClass].join(" "),width:n.style.width||"",height:n.style.height||"",tracking:"mouse"===d.target&&d.adjust.mouse,role:"alert","aria-live":"polite","aria-atomic":c,"aria-describedby":this._id+"-content","aria-hidden":u}).toggleClass(M,this.disabled).attr(x,this.id).data(E,this).appendTo(d.container).append(a.content=r("<div />",{class:E+"-content",id:this._id+"-content","aria-atomic":u})),this.rendered=-1,this.positioning=u,l&&(this._createTitle(),r.isFunction(l)||p.push(this._updateTitle(l,c))),f&&this._createButton(),r.isFunction(s)||p.push(this._updateContent(s,c)),this.rendered=u,this._setWidget(),r.each(k,(function(e){var n;"render"===this.initialize&&(n=this(t))&&(t.plugins[e]=n)})),this._unassignEvents(),this._assignEvents(),this._when(p).then((function(){t._trigger("render"),t.positioning=c,t.hiddenDuringWait||!n.show.ready&&!e||t.toggle(u,i.event,c),t.hiddenDuringWait=c})),o.api[this.id]=this,this},i.destroy=function(e){if(this.destroyed)return this.target;function t(){if(!this.destroyed){this.destroyed=u;var e,t=this.target,n=t.attr(L);for(e in this.rendered&&this.tooltip.stop(1,0).find("*").remove().end().remove(),r.each(this.plugins,(function(){this.destroy&&this.destroy()})),this.timers)this.timers.hasOwnProperty(e)&&clearTimeout(this.timers[e]);t.removeData(E).removeAttr(x).removeAttr(S).removeAttr("aria-describedby"),this.options.suppress&&n&&t.attr("title",n).removeAttr(L),this._unassignEvents(),this.options=this.elements=this.cache=this.timers=this.plugins=this.mouse=f,delete o.api[this.id]}}return e===u&&"hide"!==this.triggering||!this.rendered?t.call(this):(this.tooltip.one("tooltiphidden",r.proxy(t,this)),!this.triggering&&this.hide()),this.target},s=i.checks={builtin:{"^id$":function(e,t,n,i){var a=n===u?o.nextid:n,s=E+"-"+a;a!==c&&a.length>0&&!r("#"+s).length?(this._id=s,this.rendered&&(this.tooltip[0].id=this._id,this.elements.content[0].id=this._id+"-content",this.elements.title[0].id=this._id+"-title")):e[t]=i},"^prerender":function(e,t,n){n&&!this.rendered&&this.render(this.options.show.ready)},"^content.text$":function(e,t,n){this._updateContent(n)},"^content.attr$":function(e,t,n,r){this.options.content.text===this.target.attr(r)&&this._updateContent(this.target.attr(n))},"^content.title$":function(e,t,n){if(!n)return this._removeTitle();n&&!this.elements.title&&this._createTitle(),this._updateTitle(n)},"^content.button$":function(e,t,n){this._updateButton(n)},"^content.title.(text|button)$":function(e,t,n){this.set("content."+t,n)},"^position.(my|at)$":function(e,t,n){"string"==typeof n&&(this.position[t]=e[t]=new a(n,"at"===t))},"^position.container$":function(e,t,n){this.rendered&&this.tooltip.appendTo(n)},"^show.ready$":function(e,t,n){n&&(!this.rendered&&this.render(u)||this.toggle(u))},"^style.classes$":function(e,t,n,r){this.rendered&&this.tooltip.removeClass(r).addClass(n)},"^style.(width|height)":function(e,t,n){this.rendered&&this.tooltip.css(t,n)},"^style.widget|content.title":function(){this.rendered&&this._setWidget()},"^style.def":function(e,t,n){this.rendered&&this.tooltip.toggleClass(R,!!n)},"^events.(render|show|move|hide|focus|blur)$":function(e,t,n){this.rendered&&this.tooltip[(r.isFunction(n)?"":"un")+"bind"]("tooltip"+t,n)},"^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)":function(){if(this.rendered){var e=this.options.position;this.tooltip.attr("tracking","mouse"===e.target&&e.adjust.mouse),this._unassignEvents(),this._assignEvents()}}}},i.get=function(e){if(this.destroyed)return this;var t=H(this.options,e.toLowerCase()),n=t[0][t[1]];return n.precedance?n.string():n};var q=/^position\.(my|at|adjust|target|container|viewport)|style|content|show\.ready/i,W=/^prerender|show\.ready/i;i.set=function(e,t){if(this.destroyed)return this;var n,o=this.rendered,i=c,a=this.options;return"string"==typeof e?(n=e,(e={})[n]=t):e=r.extend({},e),r.each(e,(function(t,n){if(o&&W.test(t))delete e[t];else{var s,l=H(a,t.toLowerCase());s=l[0][l[1]],l[0][l[1]]=n&&n.nodeType?r(n):n,i=q.test(t)||i,e[t]=[l[0],l[1],n,s]}})),V(a),this.positioning=u,r.each(e,r.proxy(Z,this)),this.positioning=c,this.rendered&&this.tooltip[0].offsetWidth>0&&i&&this.reposition("mouse"===a.position.target?f:this.cache.event),this},i._update=function(e,t){var n=this,o=this.cache;return this.rendered&&e?(r.isFunction(e)&&(e=e.call(this.elements.target,o.event,this)||""),r.isFunction(e.then)?(o.waiting=u,e.then((function(e){return o.waiting=c,n._update(e,t)}),f,(function(e){return n._update(e,t)}))):e===c||!e&&""!==e?c:(e.jquery&&e.length>0?t.empty().append(e.css({display:"block",visibility:"visible"})):t.html(e),this._waitForContent(t).then((function(e){n.rendered&&n.tooltip[0].offsetWidth>0&&n.reposition(o.event,!e.length)})))):c},i._waitForContent=function(e){var t=this.cache;return t.waiting=u,(r.fn.imagesLoaded?e.imagesLoaded():(new r.Deferred).resolve([])).done((function(){t.waiting=c})).promise()},i._updateContent=function(e,t){this._update(e,this.elements.content,t)},i._updateTitle=function(e,t){this._update(e,this.elements.title,t)===c&&this._removeTitle(c)},i._createTitle=function(){var e=this.elements,t=this._id+"-title";e.titlebar&&this._removeTitle(),e.titlebar=r("<div />",{class:E+"-titlebar "+(this.options.style.widget?G("header"):"")}).append(e.title=r("<div />",{id:t,class:E+"-title","aria-atomic":u})).insertBefore(e.content).delegate(".qtip-close","mousedown keydown mouseup keyup mouseout",(function(e){r(this).toggleClass("ui-state-active ui-state-focus","down"===e.type.substr(-4))})).delegate(".qtip-close","mouseover mouseout",(function(e){r(this).toggleClass("ui-state-hover","mouseover"===e.type)})),this.options.content.button&&this._createButton()},i._removeTitle=function(e){var t=this.elements;t.title&&(t.titlebar.remove(),t.titlebar=t.title=t.button=f,e!==c&&this.reposition())},i._createPosClass=function(e){return E+"-pos-"+(e||this.options.position.my).abbrev()},i.reposition=function(n,o){if(!this.rendered||this.positioning||this.destroyed)return this;this.positioning=u;var i,a,s,l,f=this.cache,d=this.tooltip,p=this.options.position,h=p.target,m=p.my,w=p.at,O=p.viewport,E=p.container,S=p.adjust,x=S.method.split(" "),T=d.outerWidth(c),A=d.outerHeight(c),C=0,P=0,R=d.css("position"),N={left:0,top:0},I=d[0].offsetWidth>0,M=n&&"scroll"===n.type,j=r(e),L=E[0].ownerDocument,F=this.mouse;if(r.isArray(h)&&2===h.length)w={x:g,y:v},N={left:h[0],top:h[1]};else if("mouse"===h)w={x:g,y:v},(!S.mouse||this.options.hide.distance)&&f.origin&&f.origin.pageX?n=f.origin:!n||n&&("resize"===n.type||"scroll"===n.type)?n=f.event:F&&F.pageX&&(n=F),"static"!==R&&(N=E.offset()),L.body.offsetWidth!==(e.innerWidth||L.documentElement.clientWidth)&&(a=r(t.body).offset()),N={left:n.pageX-N.left+(a&&a.left||0),top:n.pageY-N.top+(a&&a.top||0)},S.mouse&&M&&F&&(N.left-=(F.scrollX||0)-j.scrollLeft(),N.top-=(F.scrollY||0)-j.scrollTop());else{if("event"===h?n&&n.target&&"scroll"!==n.type&&"resize"!==n.type?f.target=r(n.target):n.target||(f.target=this.elements.target):"event"!==h&&(f.target=r(h.jquery?h:this.elements.target)),h=f.target,0===(h=r(h).eq(0)).length)return this;h[0]===t||h[0]===e?(C=D.iOS?e.innerWidth:h.width(),P=D.iOS?e.innerHeight:h.height(),h[0]===e&&(N={top:(O||h).scrollTop(),left:(O||h).scrollLeft()})):k.imagemap&&h.is("area")?i=k.imagemap(this,h,w,k.viewport?x:c):k.svg&&h&&h[0].ownerSVGElement?i=k.svg(this,h,w,k.viewport?x:c):(C=h.outerWidth(c),P=h.outerHeight(c),N=h.offset()),i&&(C=i.width,P=i.height,a=i.offset,N=i.position),N=this.reposition.offset(h,N,E),(D.iOS>3.1&&D.iOS<4.1||D.iOS>=4.3&&D.iOS<4.33||!D.iOS&&"fixed"===R)&&(N.left-=j.scrollLeft(),N.top-=j.scrollTop()),(!i||i&&i.adjustable!==c)&&(N.left+=w.x===b?C:w.x===_?C/2:0,N.top+=w.y===y?P:w.y===_?P/2:0)}return N.left+=S.x+(m.x===b?-T:m.x===_?-T/2:0),N.top+=S.y+(m.y===y?-A:m.y===_?-A/2:0),k.viewport?(s=N.adjusted=k.viewport(this,N,p,C,P,T,A),a&&s.left&&(N.left+=a.left),a&&s.top&&(N.top+=a.top),s.my&&(this.position.my=s.my)):N.adjusted={left:0,top:0},f.posClass!==(l=this._createPosClass(this.position.my))&&(f.posClass=l,d.removeClass(f.posClass).addClass(l)),this._trigger("move",[N,O.elem||O],n)?(delete N.adjusted,o===c||!I||isNaN(N.left)||isNaN(N.top)||"mouse"===h||!r.isFunction(p.effect)?d.css(N):r.isFunction(p.effect)&&(p.effect.call(d,this,r.extend({},N)),d.queue((function(e){r(this).css({opacity:"",height:""}),D.ie&&this.style.removeAttribute("filter"),e()}))),this.positioning=c,this):this},i.reposition.offset=function(e,n,o){if(!o[0])return n;var i,a,s,l,u=r(e[0].ownerDocument),c=!!D.ie&&"CSS1Compat"!==t.compatMode,f=o[0];function d(e,t){n.left+=t*e.scrollLeft(),n.top+=t*e.scrollTop()}do{"static"!==(a=r.css(f,"position"))&&("fixed"===a?(s=f.getBoundingClientRect(),d(u,-1)):((s=r(f).position()).left+=parseFloat(r.css(f,"borderLeftWidth"))||0,s.top+=parseFloat(r.css(f,"borderTopWidth"))||0),n.left-=s.left+(parseFloat(r.css(f,"marginLeft"))||0),n.top-=s.top+(parseFloat(r.css(f,"marginTop"))||0),i||"hidden"===(l=r.css(f,"overflow"))||"visible"===l||"BODY"===r.prop(f,"tagName")||(i=r(f)))}while(f=f.offsetParent);return i&&(i[0]!==u[0]||c)&&d(i,1),n};var K=(a=i.reposition.Corner=function(e,t){e=(""+e).replace(/([A-Z])/," $1").replace(/middle/gi,_).toLowerCase(),this.x=(e.match(/left|right/i)||e.match(/center/)||["inherit"])[0].toLowerCase(),this.y=(e.match(/top|bottom|center/i)||["inherit"])[0].toLowerCase(),this.forceY=!!t;var n=e.charAt(0);this.precedance="t"===n||"b"===n?p:d}).prototype;function G(e){return T.concat("").join(e?"-"+e+" ":" ")}function z(e,t){if(t>0)return setTimeout(r.proxy(e,this),t);e.call(this)}function $(e){this.tooltip.hasClass(M)||(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this.timers.show=z.call(this,(function(){this.toggle(u,e)}),this.options.show.delay))}function Y(e){if(!this.tooltip.hasClass(M)&&!this.destroyed){var t=r(e.relatedTarget),n=t.closest(A)[0]===this.tooltip[0],o=t[0]===this.options.show.target[0];if(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this!==t[0]&&"mouse"===this.options.position.target&&n||this.options.hide.fixed&&/mouse(out|leave|move)/.test(e.type)&&(n||o))try{e.preventDefault(),e.stopImmediatePropagation()}catch(e){}else this.timers.hide=z.call(this,(function(){this.toggle(c,e)}),this.options.hide.delay,this)}}function J(e){!this.tooltip.hasClass(M)&&this.options.hide.inactive&&(clearTimeout(this.timers.inactive),this.timers.inactive=z.call(this,(function(){this.hide(e)}),this.options.hide.inactive))}function Q(e){this.rendered&&this.tooltip[0].offsetWidth>0&&this.reposition(e)}function X(e,n,i){r(t.body).delegate(e,(n.split?n:n.join("."+E+" "))+"."+E,(function(){var e=o.api[r.attr(this,x)];e&&!e.disabled&&i.apply(e,arguments)}))}function ee(e,n,i){var s,l,d,p,h,m=r(t.body),v=e[0]===t?m:e,g=e.metadata?e.metadata(i.metadata):f,y="html5"===i.metadata.type&&g?g[i.metadata.name]:f,b=e.data(i.metadata.name||"qtipopts");try{b="string"==typeof b?r.parseJSON(b):b}catch(e){}if(l=(p=r.extend(u,{},o.defaults,i,"object"==typeof b?V(b):f,V(y||g))).position,p.id=n,"boolean"==typeof p.content.text){if(d=e.attr(p.content.attr),p.content.attr===c||!d)return c;p.content.text=d}if(l.container.length||(l.container=m),l.target===c&&(l.target=v),p.show.target===c&&(p.show.target=v),p.show.solo===u&&(p.show.solo=l.container.closest("body")),p.hide.target===c&&(p.hide.target=v),p.position.viewport===u&&(p.position.viewport=l.container),l.container=l.container.eq(0),l.at=new a(l.at,u),l.my=new a(l.my),e.data(E))if(p.overwrite)e.qtip("destroy",!0);else if(p.overwrite===c)return c;return e.attr(S,n),p.suppress&&(h=e.attr("title"))&&e.removeAttr("title").attr(L,h).attr("title",""),s=new F(e,p,n,!!d),e.data(E,s),s}K.invert=function(e,t){this[e]=this[e]===g?b:this[e]===b?g:t||this[e]},K.string=function(e){var t=this.x,n=this.y,r=t!==n?"center"===t||"center"!==n&&(this.precedance===p||this.forceY)?[n,t]:[t,n]:[t];return!1!==e?r.join(" "):r},K.abbrev=function(){var e=this.string(!1);return e[0].charAt(0)+(e[1]&&e[1].charAt(0)||"")},K.clone=function(){return new a(this.string(),this.forceY)},i.toggle=function(e,n){var o=this.cache,i=this.options,a=this.tooltip;if(n){if(/over|enter/.test(n.type)&&o.event&&/out|leave/.test(o.event.type)&&i.show.target.add(n.target).length===i.show.target.length&&a.has(n.relatedTarget).length)return this;o.event=r.event.fix(n)}if(this.waiting&&!e&&(this.hiddenDuringWait=u),!this.rendered)return e?this.render(1):this;if(this.destroyed||this.disabled)return this;var s,d,p,h=e?"show":"hide",m=this.options[h],v=this.options.position,g=this.options.content,y=this.tooltip.css("width"),b=this.tooltip.is(":visible"),_=e||1===m.target.length,w=!n||m.target.length<2||o.target[0]===n.target;return(typeof e).search("boolean|number")&&(e=!b),d=(s=!a.is(":animated")&&b===e&&w)?f:!!this._trigger(h,[90]),this.destroyed||(d!==c&&e&&this.focus(n),!d||s||(r.attr(a[0],"aria-hidden",!e),e?(this.mouse&&(o.origin=r.event.fix(this.mouse)),r.isFunction(g.text)&&this._updateContent(g.text,c),r.isFunction(g.title)&&this._updateTitle(g.title,c),!l&&"mouse"===v.target&&v.adjust.mouse&&(r(t).bind("mousemove."+E,this._storeMouse),l=u),y||a.css("width",a.outerWidth(c)),this.reposition(n,arguments[2]),y||a.css("width",""),m.solo&&("string"==typeof m.solo?r(m.solo):r(A,m.solo)).not(a).not(m.target).qtip("hide",new r.Event("tooltipsolo"))):(clearTimeout(this.timers.show),delete o.origin,l&&!r(A+'[tracking="true"]:visible',m.solo).not(a).length&&(r(t).unbind("mousemove."+E),l=c),this.blur(n)),p=r.proxy((function(){e?(D.ie&&a[0].style.removeAttribute("filter"),a.css("overflow",""),"string"==typeof m.autofocus&&r(this.options.show.autofocus,a).focus(),this.options.show.target.trigger("qtip-"+this.id+"-inactive")):a.css({display:"",visibility:"",opacity:"",left:"",top:""}),this._trigger(e?"visible":"hidden")}),this),m.effect===c||_===c?(a[h](),p()):r.isFunction(m.effect)?(a.stop(1,1),m.effect.call(a,this),a.queue("fx",(function(e){p(),e()}))):a.fadeTo(90,e?1:0,p),e&&m.target.trigger("qtip-"+this.id+"-inactive"))),this},i.show=function(e){return this.toggle(u,e)},i.hide=function(e){return this.toggle(c,e)},i.focus=function(e){if(!this.rendered||this.destroyed)return this;var t=r(A),n=this.tooltip,i=parseInt(n[0].style.zIndex,10),a=o.zindex+t.length;return n.hasClass(N)||this._trigger("focus",[a],e)&&(i!==a&&(t.each((function(){this.style.zIndex>i&&(this.style.zIndex=this.style.zIndex-1)})),t.filter("."+N).qtip("blur",e)),n.addClass(N)[0].style.zIndex=a),this},i.blur=function(e){return!this.rendered||this.destroyed||(this.tooltip.removeClass(N),this._trigger("blur",[this.tooltip.css("zIndex")],e)),this},i.disable=function(e){return this.destroyed||("toggle"===e?e=!(this.rendered?this.tooltip.hasClass(M):this.disabled):"boolean"!=typeof e&&(e=u),this.rendered&&this.tooltip.toggleClass(M,e).attr("aria-disabled",e),this.disabled=!!e),this},i.enable=function(){return this.disable(c)},i._createButton=function(){var e=this,t=this.elements,n=t.tooltip,o=this.options.content.button,i="string"==typeof o?o:"Close tooltip";t.button&&t.button.remove(),o.jquery?t.button=o:t.button=r("<a />",{class:"qtip-close "+(this.options.style.widget?"":E+"-icon"),title:i,"aria-label":i}).prepend(r("<span />",{class:"ui-icon ui-icon-close",html:"×"})),t.button.appendTo(t.titlebar||n).attr("role","button").click((function(t){return n.hasClass(M)||e.hide(t),c}))},i._updateButton=function(e){if(!this.rendered)return c;var t=this.elements.button;e?this._createButton():t.remove()},i._setWidget=function(){var e=this.options.style.widget,t=this.elements,n=t.tooltip,r=n.hasClass(M);n.removeClass(M),M=e?"ui-state-disabled":"qtip-disabled",n.toggleClass(M,r),n.toggleClass("ui-helper-reset "+G(),e).toggleClass(R,this.options.style.def&&!e),t.content&&t.content.toggleClass(G("content"),e),t.titlebar&&t.titlebar.toggleClass(G("header"),e),t.button&&t.button.toggleClass(E+"-icon",!e)},i._storeMouse=function(e){return(this.mouse=r.event.fix(e)).type="mousemove",this},i._bind=function(e,t,n,o,i){if(e&&n&&t.length){var a="."+this._id+(o?"-"+o:"");return r(e).bind((t.split?t:t.join(a+" "))+a,r.proxy(n,i||this)),this}},i._unbind=function(e,t){return e&&r(e).unbind("."+this._id+(t?"-"+t:"")),this},i._trigger=function(e,t,n){var o=new r.Event("tooltip"+e);return o.originalEvent=n&&r.extend({},n)||this.cache.event||f,this.triggering=e,this.tooltip.trigger(o,[this].concat(t||[])),this.triggering=c,!o.isDefaultPrevented()},i._bindEvents=function(e,t,n,o,i,a){var s=n.filter(o).add(o.filter(n)),l=[];s.length&&(r.each(t,(function(t,n){var o=r.inArray(n,e);o>-1&&l.push(e.splice(o,1)[0])})),l.length&&(this._bind(s,l,(function(e){(this.rendered&&this.tooltip[0].offsetWidth>0?a:i).call(this,e)})),n=n.not(s),o=o.not(s))),this._bind(n,e,i),this._bind(o,t,a)},i._assignInitialEvents=function(e){var t=this.options,n=t.show.target,o=t.hide.target,i=t.show.event?r.trim(""+t.show.event).split(" "):[],a=t.hide.event?r.trim(""+t.hide.event).split(" "):[];function s(e){if(this.disabled||this.destroyed)return c;this.cache.event=e&&r.event.fix(e),this.cache.target=e&&r(e.target),clearTimeout(this.timers.show),this.timers.show=z.call(this,(function(){this.render("object"==typeof e||t.show.ready)}),t.prerender?0:t.show.delay)}this._bind(this.elements.target,["remove","removeqtip"],(function(){this.destroy(!0)}),"destroy"),/mouse(over|enter)/i.test(t.show.event)&&!/mouse(out|leave)/i.test(t.hide.event)&&a.push("mouseleave"),this._bind(n,"mousemove",(function(e){this._storeMouse(e),this.cache.onTarget=u})),this._bindEvents(i,a,n,o,s,(function(){if(!this.timers)return c;clearTimeout(this.timers.show)})),(t.show.ready||t.prerender)&&s.call(this,e)},i._assignEvents=function(){var n=this,i=this.options,a=i.position,s=this.tooltip,l=i.show.target,u=i.hide.target,f=a.container,d=a.viewport,p=r(t),h=r(e),m=i.show.event?r.trim(""+i.show.event).split(" "):[],v=i.hide.event?r.trim(""+i.hide.event).split(" "):[];r.each(i.events,(function(e,t){n._bind(s,"toggle"===e?["tooltipshow","tooltiphide"]:["tooltip"+e],t,null,s)})),/mouse(out|leave)/i.test(i.hide.event)&&"window"===i.hide.leave&&this._bind(p,["mouseout","blur"],(function(e){/select|option/.test(e.target.nodeName)||e.relatedTarget||this.hide(e)})),i.hide.fixed?u=u.add(s.addClass(P)):/mouse(over|enter)/i.test(i.show.event)&&this._bind(u,"mouseleave",(function(){clearTimeout(this.timers.show)})),(""+i.hide.event).indexOf("unfocus")>-1&&this._bind(f.closest("html"),["mousedown","touchstart"],(function(e){var t=r(e.target),n=this.rendered&&!this.tooltip.hasClass(M)&&this.tooltip[0].offsetWidth>0,o=t.parents(A).filter(this.tooltip[0]).length>0;t[0]===this.target[0]||t[0]===this.tooltip[0]||o||this.target.has(t[0]).length||!n||this.hide(e)})),"number"==typeof i.hide.inactive&&(this._bind(l,"qtip-"+this.id+"-inactive",J,"inactive"),this._bind(u.add(s),o.inactiveEvents,J)),this._bindEvents(m,v,l,u,$,Y),this._bind(l.add(s),"mousemove",(function(e){if("number"==typeof i.hide.distance){var t=this.cache.origin||{},n=this.options.hide.distance,r=Math.abs;(r(e.pageX-t.pageX)>=n||r(e.pageY-t.pageY)>=n)&&this.hide(e)}this._storeMouse(e)})),"mouse"===a.target&&a.adjust.mouse&&(i.hide.event&&this._bind(l,["mouseenter","mouseleave"],(function(e){if(!this.cache)return c;this.cache.onTarget="mouseenter"===e.type})),this._bind(p,"mousemove",(function(e){this.rendered&&this.cache.onTarget&&!this.tooltip.hasClass(M)&&this.tooltip[0].offsetWidth>0&&this.reposition(e)}))),(a.adjust.resize||d.length)&&this._bind(r.event.special.resize?d:h,"resize",Q),a.adjust.scroll&&this._bind(h.add(a.container),"scroll",Q)},i._unassignEvents=function(){var n=this.options,o=n.show.target,i=n.hide.target,a=r.grep([this.elements.target[0],this.rendered&&this.tooltip[0],n.position.container[0],n.position.viewport[0],n.position.container.closest("html")[0],e,t],(function(e){return"object"==typeof e}));o&&o.toArray&&(a=a.concat(o.toArray())),i&&i.toArray&&(a=a.concat(i.toArray())),this._unbind(a)._unbind(a,"destroy")._unbind(a,"inactive")},r((function(){X(A,["mouseenter","mouseleave"],(function(e){var t="mouseenter"===e.type,n=r(e.currentTarget),o=r(e.relatedTarget||e.target),i=this.options;t?(this.focus(e),n.hasClass(P)&&!n.hasClass(M)&&clearTimeout(this.timers.hide)):"mouse"===i.position.target&&i.position.adjust.mouse&&i.hide.event&&i.show.target&&!o.closest(i.show.target[0]).length&&this.hide(e),n.toggleClass(I,t)})),X("["+x+"]",C,J)})),o=r.fn.qtip=function(e,t,i){var a=(""+e).toLowerCase(),s=f,l=r.makeArray(arguments).slice(1),d=l[l.length-1],p=this[0]?r.data(this[0],E):f;return!arguments.length&&p||"api"===a?p:"string"==typeof e?(this.each((function(){var e=r.data(this,E);if(!e)return u;if(d&&d.timeStamp&&(e.cache.event=d),!t||"option"!==a&&"options"!==a)e[a]&&e[a].apply(e,l);else{if(i===n&&!r.isPlainObject(t))return s=e.get(t),c;e.set(t,i)}})),s!==f?s:this):"object"!=typeof e&&arguments.length?void 0:(p=V(r.extend(u,{},e)),this.each((function(e){var t,n;if(n=!(n=r.isArray(p.id)?p.id[e]:p.id)||n===c||n.length<1||o.api[n]?o.nextid++:n,(t=ee(r(this),n,p))===c)return u;o.api[n]=t,r.each(k,(function(){"initialize"===this.initialize&&this(t)})),t._assignInitialEvents(d)})))},r.qtip=F,o.api={},r.each({attr:function(e,t){if(this.length){var n=this[0],o="title",i=r.data(n,"qtip");if(e===o&&i&&i.options&&"object"==typeof i&&"object"==typeof i.options&&i.options.suppress)return arguments.length<2?r.attr(n,L):(i&&i.options.content.attr===o&&i.cache.attr&&i.set("content.text",t),this.attr(L,t))}return r.fn["attr"+j].apply(this,arguments)},clone:function(e){var t=r.fn["clone"+j].apply(this,arguments);return e||t.filter("["+L+"]").attr("title",(function(){return r.attr(this,L)})).removeAttr(L),t}},(function(e,t){if(!t||r.fn[e+j])return u;var n=r.fn[e+j]=r.fn[e];r.fn[e]=function(){return t.apply(this,arguments)||n.apply(this,arguments)}})),r.ui||(r["cleanData"+j]=r.cleanData,r.cleanData=function(e){for(var t,n=0;(t=r(e[n])).length;n++)if(t.attr(S))try{t.triggerHandler("removeqtip")}catch(e){}r["cleanData"+j].apply(this,arguments)}),o.version="3.0.3-5-g",o.nextid=0,o.inactiveEvents=C,o.zindex=15e3,o.defaults={prerender:c,id:c,overwrite:u,suppress:u,content:{text:u,attr:"title",title:c,button:c},position:{my:"top left",at:"bottom right",target:c,container:c,viewport:c,adjust:{x:0,y:0,mouse:u,scroll:u,resize:u,method:"flipinvert flipinvert"},effect:function(e,t){r(this).animate(t,{duration:200,queue:c})}},show:{target:c,event:"mouseenter",effect:u,delay:90,solo:c,ready:c,autofocus:c},hide:{target:c,event:"mouseleave",effect:u,delay:0,fixed:c,inactive:c,leave:"window",distance:c},style:{classes:"",widget:c,width:c,height:c,def:u},events:{render:f,move:f,show:f,hide:f,toggle:f,visible:f,hidden:f,focus:f,blur:f}};var te,ne,re,oe,ie,ae="margin",se="border",le="color",ue="background-color",ce="transparent",fe=" !important",de=!!t.createElement("canvas").getContext,pe=/rgba?\(0, 0, 0(, 0)?\)|transparent|#123456/i;function he(e){return e.charAt(0).toUpperCase()+e.slice(1)}var me,ve={},ge=["Webkit","O","Moz","ms"];function ye(e,t){var r,o,i=t.charAt(0).toUpperCase()+t.slice(1),a=(t+" "+ge.join(i+" ")+i).split(" "),s=0;if(ve[t])return e.css(ve[t]);for(;r=a[s++];)if((o=e.css(r))!==n)return ve[t]=r,o}function be(e,t){return Math.ceil(parseFloat(ye(e,t)))}function _e(e,t){this._ns="tip",this.options=t,this.offset=t.offset,this.size=[t.width,t.height],this.qtip=e,this.init(e)}de?(oe=e.devicePixelRatio||1,ie=(me=t.createElement("canvas").getContext("2d")).backingStorePixelRatio||me.webkitBackingStorePixelRatio||me.mozBackingStorePixelRatio||me.msBackingStorePixelRatio||me.oBackingStorePixelRatio||1,re=oe/ie):ne=function(e,t,n){return"<qtipvml:"+e+' xmlns="urn:schemas-microsoft.com:vml" class="qtip-vml" '+(t||"")+' style="behavior: url(#default#VML); '+(n||"")+'" />'},r.extend(_e.prototype,{init:function(e){var t,n;n=this.element=e.elements.tip=r("<div />",{class:E+"-tip"}).prependTo(e.tooltip),de?((t=r("<canvas />").appendTo(this.element)[0].getContext("2d")).lineJoin="miter",t.miterLimit=1e5,t.save()):(t=ne("shape",'coordorigin="0,0"',"position:absolute;"),this.element.html(t+t),e._bind(r("*",n).add(n),["click","mousedown"],(function(e){e.stopPropagation()}),this._ns)),e._bind(e.tooltip,"tooltipmove",this.reposition,this._ns,this),this.create()},_swapDimensions:function(){this.size[0]=this.options.height,this.size[1]=this.options.width},_resetDimensions:function(){this.size[0]=this.options.width,this.size[1]=this.options.height},_useTitle:function(e){var t=this.qtip.elements.titlebar;return t&&(e.y===v||e.y===_&&this.element.position().top+this.size[1]/2+this.options.offset<t.outerHeight(u))},_parseCorner:function(e){var t=this.qtip.options.position.my;return e===c||t===c?e=c:e===u?e=new a(t.string()):e.string||((e=new a(e)).fixed=u),e},_parseWidth:function(e,t,n){var r=this.qtip.elements,o=se+he(t)+"Width";return(n?be(n,o):be(r.content,o)||be(this._useTitle(e)&&r.titlebar||r.content,o)||be(r.tooltip,o))||0},_parseRadius:function(e){var t=this.qtip.elements,n=se+he(e.y)+he(e.x)+"Radius";return D.ie<9?0:be(this._useTitle(e)&&t.titlebar||t.content,n)||be(t.tooltip,n)||0},_invalidColour:function(e,t,n){var r=e.css(t);return!r||n&&r===e.css(n)||pe.test(r)?c:r},_parseColours:function(e){var t=this.qtip.elements,n=this.element.css("cssText",""),o=se+he(e[e.precedance])+he(le),i=this._useTitle(e)&&t.titlebar||t.content,a=this._invalidColour,s=[];return s[0]=a(n,ue)||a(i,ue)||a(t.content,ue)||a(t.tooltip,ue)||n.css(ue),s[1]=a(n,o,le)||a(i,o,le)||a(t.content,o,le)||a(t.tooltip,o,le)||t.tooltip.css(o),r("*",n).add(n).css("cssText",ue+":"+ce+fe+";"+se+":0"+fe+";"),s},_calculateSize:function(e){var t,n,r=e.precedance===p,o=this.options.width,i=this.options.height,a="c"===e.abbrev(),s=(r?o:i)*(a?.5:1),l=Math.pow,u=Math.round,c=Math.sqrt(l(s,2)+l(i,2)),f=[this.border/s*c,this.border/i*c];return f[2]=Math.sqrt(l(f[0],2)-l(this.border,2)),f[3]=Math.sqrt(l(f[1],2)-l(this.border,2)),n=[u((t=(c+f[2]+f[3]+(a?0:f[0]))/c)*o),u(t*i)],r?n:n.reverse()},_calculateTip:function(e,t,n){n=n||1;var r=(t=t||this.size)[0]*n,o=t[1]*n,i=Math.ceil(r/2),a=Math.ceil(o/2),s={br:[0,0,r,o,r,0],bl:[0,0,r,0,0,o],tr:[0,o,r,0,r,o],tl:[0,0,0,o,r,o],tc:[0,o,i,0,r,o],bc:[0,0,r,0,i,o],rc:[0,0,r,a,0,o],lc:[r,0,r,o,0,a]};return s.lt=s.br,s.rt=s.bl,s.lb=s.tr,s.rb=s.tl,s[e.abbrev()]},_drawCoords:function(e,t){e.beginPath(),e.moveTo(t[0],t[1]),e.lineTo(t[2],t[3]),e.lineTo(t[4],t[5]),e.closePath()},create:function(){var e=this.corner=(de||D.ie)&&this._parseCorner(this.options.corner);return this.enabled=!!this.corner&&"c"!==this.corner.abbrev(),this.enabled&&(this.qtip.cache.corner=e.clone(),this.update()),this.element.toggle(this.enabled),this.corner},update:function(t,n){if(!this.enabled)return this;var o,i,s,l,f,w,O,k,E=this.qtip.elements,S=this.element,x=S.children(),T=this.options,A=this.size,C=T.mimic,P=Math.round;t||(t=this.qtip.cache.corner||this.corner),C===c?C=t:((C=new a(C)).precedance=t.precedance,"inherit"===C.x?C.x=t.x:"inherit"===C.y?C.y=t.y:C.x===C.y&&(C[t.precedance]=t[t.precedance])),i=C.precedance,t.precedance===d?this._swapDimensions():this._resetDimensions(),(o=this.color=this._parseColours(t))[1]!==ce?(k=this.border=this._parseWidth(t,t[t.precedance]),T.border&&k<1&&!pe.test(o[1])&&(o[0]=o[1]),this.border=k=T.border!==u?T.border:k):this.border=k=0,O=this.size=this._calculateSize(t),S.css({width:O[0],height:O[1],lineHeight:O[1]+"px"}),w=t.precedance===p?[P(C.x===g?k:C.x===b?O[0]-A[0]-k:(O[0]-A[0])/2),P(C.y===v?O[1]-A[1]:0)]:[P(C.x===g?O[0]-A[0]:0),P(C.y===v?k:C.y===y?O[1]-A[1]-k:(O[1]-A[1])/2)],de?((s=x[0].getContext("2d")).restore(),s.save(),s.clearRect(0,0,6e3,6e3),l=this._calculateTip(C,A,re),f=this._calculateTip(C,this.size,re),x.attr(h,O[0]*re).attr(m,O[1]*re),x.css(h,O[0]).css(m,O[1]),this._drawCoords(s,f),s.fillStyle=o[1],s.fill(),s.translate(w[0]*re,w[1]*re),this._drawCoords(s,l),s.fillStyle=o[0],s.fill()):(l="m"+(l=this._calculateTip(C))[0]+","+l[1]+" l"+l[2]+","+l[3]+" "+l[4]+","+l[5]+" xe",w[2]=k&&/^(r|b)/i.test(t.string())?8===D.ie?2:1:0,x.css({coordsize:O[0]+k+" "+O[1]+k,antialias:""+(C.string().indexOf(_)>-1),left:w[0]-w[2]*Number(i===d),top:w[1]-w[2]*Number(i===p),width:O[0]+k,height:O[1]+k}).each((function(e){var t=r(this);t[t.prop?"prop":"attr"]({coordsize:O[0]+k+" "+O[1]+k,path:l,fillcolor:o[0],filled:!!e,stroked:!e}).toggle(!(!k&&!e)),!e&&t.html(ne("stroke",'weight="'+2*k+'px" color="'+o[1]+'" miterlimit="1000" joinstyle="miter"'))}))),e.opera&&setTimeout((function(){E.tip.css({display:"inline-block",visibility:"visible"})}),1),n!==c&&this.calculate(t,O)},calculate:function(e,t){if(!this.enabled)return c;var n,o,i=this,a=this.qtip.elements,s=this.element,l=this.options.offset,u={};return e=e||this.corner,n=e.precedance,t=t||this._calculateSize(e),o=[e.x,e.y],n===d&&o.reverse(),r.each(o,(function(r,o){var s,c,f;o===_?(u[s=n===p?g:v]="50%",u[ae+"-"+s]=-Math.round(t[n===p?0:1]/2)+l):(s=i._parseWidth(e,o,a.tooltip),c=i._parseWidth(e,o,a.content),f=i._parseRadius(e),u[o]=Math.max(-i.border,r?c:l+(f>s?f:-s)))})),u[e[n]]-=t[n===d?0:1],s.css({margin:"",top:"",bottom:"",left:"",right:""}).css(u),u},reposition:function(e,t,r){if(this.enabled){var o,i,a=t.cache,s=this.corner.clone(),l=r.adjusted,f=t.options.position.adjust.method.split(" "),h=f[0],m=f[1]||f[0],w={left:c,top:c,x:0,y:0},k={};this.corner.fixed!==u&&(E(h,d,p,g,b),E(m,p,d,v,y),s.string()===a.corner.string()&&a.cornerTop===l.top&&a.cornerLeft===l.left||this.update(s,c)),(o=this.calculate(s)).right!==n&&(o.left=-o.right),o.bottom!==n&&(o.top=-o.bottom),o.user=this.offset,w.left=h===O&&!!l.left,w.left&&S(d,g,b),w.top=m===O&&!!l.top,w.top&&S(p,v,y),this.element.css(k).toggle(!(w.x&&w.y||s.x===_&&w.y||s.y===_&&w.x)),r.left-=o.left.charAt?o.user:h!==O||w.top||!w.left&&!w.top?o.left+this.border:0,r.top-=o.top.charAt?o.user:m!==O||w.left||!w.left&&!w.top?o.top+this.border:0,a.cornerLeft=l.left,a.cornerTop=l.top,a.corner=s.clone()}function E(e,t,n,r,o){e===O&&s.precedance===t&&l[r]&&s[n]!==_?s.precedance=s.precedance===d?p:d:e!==O&&l[r]&&(s[t]=s[t]===_?l[r]>0?r:o:s[t]===r?o:r)}function S(e,t,a){s[e]===_?k[ae+"-"+t]=w[e]=o[ae+"-"+t]-l[t]:(i=o[a]!==n?[l[t],-o[t]]:[-l[t],o[t]],(w[e]=Math.max(i[0],i[1]))>i[0]&&(r[t]-=l[t],w[t]=c),k[o[a]!==n?a:t]=w[e])}},destroy:function(){this.qtip._unbind(this.qtip.tooltip,this._ns),this.qtip.elements.tip&&this.qtip.elements.tip.find("*").remove().end().remove()}}),(te=k.tip=function(e){return new _e(e,e.options.style.tip)}).initialize="render",te.sanitize=function(e){if(e.style&&"tip"in e.style){var t=e.style.tip;"object"!=typeof t&&(t=e.style.tip={corner:t}),/string|boolean/i.test(typeof t.corner)||(t.corner=u)}},s.tip={"^position.my|style.tip.(corner|mimic|border)$":function(){this.create(),this.qtip.reposition()},"^style.tip.(height|width)$":function(e){this.size=[e.width,e.height],this.update(),this.qtip.reposition()},"^content.title|style.(classes|widget)$":function(){this.update()}},r.extend(u,o.defaults,{style:{tip:{corner:u,mimic:c,width:6,height:6,border:u,offset:0}}});var we,Oe,ke="qtip-modal",Ee="."+ke;function Se(e,t){this.options=t,this._ns="-modal",this.qtip=e,this.init(e)}Oe=new(Oe=function(){var e,n,o,i=this,a={};function s(e){if(r.expr[":"].focusable)return r.expr[":"].focusable;var t,n,o,i=!isNaN(r.attr(e,"tabindex")),a=e.nodeName&&e.nodeName.toLowerCase();return"area"===a?(n=(t=e.parentNode).name,!(!e.href||!n||"map"!==t.nodeName.toLowerCase())&&!!(o=r("img[usemap=#"+n+"]")[0])&&o.is(":visible")):/input|select|textarea|button|object/.test(a)?!e.disabled:"a"===a&&e.href||i}function l(e){a.length<1&&e.length?e.not("body").blur():a.first().focus()}function d(t){if(o.is(":visible")){var n=r(t.target),i=e.tooltip,a=n.closest(A);(a.length<1?c:parseInt(a[0].style.zIndex,10)>parseInt(i[0].style.zIndex,10))||n.closest(A)[0]===i[0]||l(n)}}r.extend(i,{init:function(){return o=i.elem=r("<div />",{id:"qtip-overlay",html:"<div></div>",mousedown:function(){return c}}).hide(),r(t.body).bind("focusin"+Ee,d),r(t).bind("keydown"+Ee,(function(t){e&&e.options.show.modal.escape&&27===t.keyCode&&e.hide(t)})),o.bind("click"+Ee,(function(t){e&&e.options.show.modal.blur&&e.hide(t)})),i},update:function(t){e=t,a=t.options.show.modal.stealfocus!==c?t.tooltip.find("*").filter((function(){return s(this)})):[]},toggle:function(a,s,d){var p=a.tooltip,h=a.options.show.modal,m=h.effect,v=s?"show":"hide",g=o.is(":visible"),y=r(Ee).filter(":visible:not(:animated)").not(p);return i.update(a),s&&h.stealfocus!==c&&l(r(":focus")),o.toggleClass("blurs",h.blur),s&&o.appendTo(t.body),o.is(":animated")&&g===s&&n!==c||!s&&y.length||(o.stop(u,c),r.isFunction(m)?m.call(o,s):m===c?o[v]():o.fadeTo(parseInt(d,10)||90,s?1:0,(function(){s||o.hide()})),s||o.queue((function(e){o.css({left:"",top:""}),r(Ee).length||o.detach(),e()})),n=s,e.destroyed&&(e=f)),i}}),i.init()}),r.extend(Se.prototype,{init:function(e){var t=e.tooltip;if(!this.options.on)return this;e.elements.overlay=Oe.elem,t.addClass(ke).css("z-index",o.modal_zindex+r(Ee).length),e._bind(t,["tooltipshow","tooltiphide"],(function(e,n,o){var i=e.originalEvent;if(e.target===t[0])if(i&&"tooltiphide"===e.type&&/mouse(leave|enter)/.test(i.type)&&r(i.relatedTarget).closest(Oe.elem[0]).length)try{e.preventDefault()}catch(e){}else(!i||i&&"tooltipsolo"!==i.type)&&this.toggle(e,"tooltipshow"===e.type,o)}),this._ns,this),e._bind(t,"tooltipfocus",(function(e,n){if(!e.isDefaultPrevented()&&e.target===t[0]){var i=r(Ee),a=o.modal_zindex+i.length,s=parseInt(t[0].style.zIndex,10);Oe.elem[0].style.zIndex=a-1,i.each((function(){this.style.zIndex>s&&(this.style.zIndex-=1)})),i.filter("."+N).qtip("blur",e.originalEvent),t.addClass(N)[0].style.zIndex=a,Oe.update(n);try{e.preventDefault()}catch(e){}}}),this._ns,this),e._bind(t,"tooltiphide",(function(e){e.target===t[0]&&r(Ee).filter(":visible").not(t).last().qtip("focus",e)}),this._ns,this)},toggle:function(e,t,n){if(e&&e.isDefaultPrevented())return this;Oe.toggle(this.qtip,!!t,n)},destroy:function(){this.qtip.tooltip.removeClass(ke),this.qtip._unbind(this.qtip.tooltip,this._ns),Oe.toggle(this.qtip,c),delete this.qtip.elements.overlay}}),(we=k.modal=function(e){return new Se(e,e.options.show.modal)}).sanitize=function(e){e.show&&("object"!=typeof e.show.modal?e.show.modal={on:!!e.show.modal}:void 0===e.show.modal.on&&(e.show.modal.on=u))},o.modal_zindex=o.zindex-200,we.initialize="render",s.modal={"^show.modal.(on|blur)$":function(){this.destroy(),this.init(),this.qtip.elems.overlay.toggle(this.qtip.tooltip[0].offsetWidth>0)}},r.extend(u,o.defaults,{show:{modal:{on:c,effect:u,blur:u,stealfocus:u,escape:u}}}),k.viewport=function(n,r,o,i,a,s,l){var u,f,k,E,S,x,T,A,C=o.target,P=n.elements.tooltip,R=o.my,N=o.at,I=o.adjust,M=I.method.split(" "),j=M[0],L=M[1]||M[0],D=o.viewport,F=o.container,U={left:0,top:0};if(!D.jquery||C[0]===e||C[0]===t.body||"none"===I.method)return U;function B(e,t,n,o,i,a,s,l,u){var c=r[i],d=R[e],p=N[e],m=n===O,v=d===i?u:d===a?-u:-u/2,g=p===i?l:p===a?-l:-l/2,y=T[i]+A[i]-(E?0:k[i]),b=y-c,C=c+u-(s===h?S:x)-y,P=v-(R.precedance===e||d===R[t]?g:0)-(p===_?l/2:0);return m?(P=(d===i?1:-1)*v,r[i]+=b>0?b:C>0?-C:0,r[i]=Math.max(-k[i]+A[i],c-P,Math.min(Math.max(-k[i]+A[i]+(s===h?S:x),c+P),r[i],"center"===d?c-v:1e9))):(o*=n===w?2:0,b>0&&(d!==i||C>0)?(r[i]-=P+o,f.invert(e,i)):C>0&&(d!==a||b>0)&&(r[i]-=(d===_?-P:P)+o,f.invert(e,a)),r[i]<T[i]&&-r[i]>C&&(r[i]=c,f=R.clone())),r[i]-c}return k=F.offset()||U,E="static"===F.css("position"),u="fixed"===P.css("position"),S=D[0]===e?D.width():D.outerWidth(c),x=D[0]===e?D.height():D.outerHeight(c),T={left:u?0:D.scrollLeft(),top:u?0:D.scrollTop()},A=D.offset()||U,"shift"===j&&"shift"===L||(f=R.clone()),U={left:"none"!==j?B(d,p,j,I.x,g,b,h,i,s):0,top:"none"!==L?B(p,d,L,I.y,v,y,m,a,l):0,my:f}},k.polys={polygon:function(e,t){var n,r,o,i={width:0,height:0,position:{top:1e10,right:0,bottom:0,left:1e10},adjustable:c},a=0,s=[],l=1,u=1,f=0,d=0;for(a=e.length;a--;)(n=[parseInt(e[--a],10),parseInt(e[a+1],10)])[0]>i.position.right&&(i.position.right=n[0]),n[0]<i.position.left&&(i.position.left=n[0]),n[1]>i.position.bottom&&(i.position.bottom=n[1]),n[1]<i.position.top&&(i.position.top=n[1]),s.push(n);if(r=i.width=Math.abs(i.position.right-i.position.left),o=i.height=Math.abs(i.position.bottom-i.position.top),"c"===t.abbrev())i.position={left:i.position.left+i.width/2,top:i.position.top+i.height/2};else{for(;r>0&&o>0&&l>0&&u>0;)for(r=Math.floor(r/2),o=Math.floor(o/2),t.x===g?l=r:t.x===b?l=i.width-r:l+=Math.floor(r/2),t.y===v?u=o:t.y===y?u=i.height-o:u+=Math.floor(o/2),a=s.length;a--&&!(s.length<2);)f=s[a][0]-i.position.left,d=s[a][1]-i.position.top,(t.x===g&&f>=l||t.x===b&&f<=l||t.x===_&&(f<l||f>i.width-l)||t.y===v&&d>=u||t.y===y&&d<=u||t.y===_&&(d<u||d>i.height-u))&&s.splice(a,1);i.position={left:s[0][0],top:s[0][1]}}return i},rect:function(e,t,n,r){return{width:Math.abs(n-e),height:Math.abs(r-t),position:{left:Math.min(e,n),top:Math.min(t,r)}}},_angles:{tc:1.5,tr:7/4,tl:5/4,bc:.5,br:1/4,bl:3/4,rc:2,lc:1,c:0},ellipse:function(e,t,n,r,o){var i=k.polys._angles[o.abbrev()],a=0===i?0:n*Math.cos(i*Math.PI),s=r*Math.sin(i*Math.PI);return{width:2*n-Math.abs(a),height:2*r-Math.abs(s),position:{left:e+a,top:t+s},adjustable:c}},circle:function(e,t,n,r){return k.polys.ellipse(e,t,n,n,r)}},k.svg=function(e,n,o){for(var i,a,s,l,u,f,d,p,h,m=n[0],v=r(m.ownerSVGElement),g=m.ownerDocument,y=(parseInt(n.css("stroke-width"),10)||0)/2;!m.getBBox;)m=m.parentNode;if(!m.getBBox||!m.parentNode)return c;switch(m.nodeName){case"ellipse":case"circle":p=k.polys.ellipse(m.cx.baseVal.value,m.cy.baseVal.value,(m.rx||m.r).baseVal.value+y,(m.ry||m.r).baseVal.value+y,o);break;case"line":case"polygon":case"polyline":for(p=[],f=-1,l=(d=m.points||[{x:m.x1.baseVal.value,y:m.y1.baseVal.value},{x:m.x2.baseVal.value,y:m.y2.baseVal.value}]).numberOfItems||d.length;++f<l;)u=d.getItem?d.getItem(f):d[f],p.push.apply(p,[u.x,u.y]);p=k.polys.polygon(p,o);break;default:p={width:(p=m.getBBox()).width,height:p.height,position:{left:p.x,top:p.y}}}return h=p.position,(v=v[0]).createSVGPoint&&(a=m.getScreenCTM(),(d=v.createSVGPoint()).x=h.left,d.y=h.top,s=d.matrixTransform(a),h.left=s.x,h.top=s.y),g!==t&&"mouse"!==e.position.target&&(i=r((g.defaultView||g.parentWindow).frameElement).offset())&&(h.left+=i.left,h.top+=i.top),g=r(g),h.left+=g.scrollLeft(),h.top+=g.scrollTop(),p},k.imagemap=function(e,t,n){t.jquery||(t=r(t));var o,i,a,s,l,u=(t.attr("shape")||"rect").toLowerCase().replace("poly","polygon"),f=r('img[usemap="#'+t.parent("map").attr("name")+'"]'),d=r.trim(t.attr("coords")).replace(/,$/,"").split(",");if(!f.length)return c;if("polygon"===u)s=k.polys.polygon(d,n);else{if(!k.polys[u])return c;for(a=-1,l=d.length,i=[];++a<l;)i.push(parseInt(d[a],10));s=k.polys[u].apply(this,i.concat(n))}return(o=f.offset()).left+=Math.ceil((f.outerWidth(c)-f.width())/2),o.top+=Math.ceil((f.outerHeight(c)-f.height())/2),s.position.left+=o.left,s.position.top+=o.top,s};var xe='<iframe class="qtip-bgiframe" frameborder="0" tabindex="-1" src="javascript:\'\';" style="display:block; position:absolute; z-index:-1; filter:alpha(opacity=0); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";"></iframe>';function Te(e){this._ns="ie6",this.qtip=e,this.init(e)}r.extend(Te.prototype,{_scroll:function(){var t=this.qtip.elements.overlay;t&&(t[0].style.top=r(e).scrollTop()+"px")},init:function(n){var o=n.tooltip;r("select, object").length<1&&(this.bgiframe=n.elements.bgiframe=r(xe).appendTo(o),n._bind(o,"tooltipmove",this.adjustBGIFrame,this._ns,this)),this.redrawContainer=r("<div/>",{id:E+"-rcontainer"}).appendTo(t.body),n.elements.overlay&&n.elements.overlay.addClass("qtipmodal-ie6fix")&&(n._bind(e,["scroll","resize"],this._scroll,this._ns,this),n._bind(o,["tooltipshow"],this._scroll,this._ns,this)),this.redraw()},adjustBGIFrame:function(){var e,t,n=this.qtip.tooltip,r={height:n.outerHeight(c),width:n.outerWidth(c)},o=this.qtip.plugins.tip,i=this.qtip.elements.tip;t={left:-(t=parseInt(n.css("borderLeftWidth"),10)||0),top:-t},o&&i&&(t[(e="x"===o.corner.precedance?[h,g]:[m,v])[1]]-=i[e[0]]()),this.bgiframe.css(t).css(r)},redraw:function(){if(this.qtip.rendered<1||this.drawing)return this;var e,t,n,r,o=this.qtip.tooltip,i=this.qtip.options.style,a=this.qtip.options.position.container;return this.qtip.drawing=1,i.height&&o.css(m,i.height),i.width?o.css(h,i.width):(o.css(h,"").appendTo(this.redrawContainer),(t=o.width())%2<1&&(t+=1),e=((n=o.css("maxWidth")||"")+(r=o.css("minWidth")||"")).indexOf("%")>-1?a.width()/100:0,t=(n=(n.indexOf("%")>-1?e:1*parseInt(n,10))||t)+(r=(r.indexOf("%")>-1?e:1*parseInt(r,10))||0)?Math.min(Math.max(t,r),n):t,o.css(h,Math.round(t)).appendTo(a)),this.drawing=0,this},destroy:function(){this.bgiframe&&this.bgiframe.remove(),this.qtip._unbind([e,this.qtip.tooltip],this._ns)}}),(k.ie6=function(e){return 6===D.ie?new Te(e):c}).initialize="render",s.ie6={"^content|style$":function(){this.redraw()}}}(o())}(window,document)},7451:function(e){"use strict";e.exports=JSON.parse('{"AF":"Afghanistan","AX":"Åland Islands","AL":"Albania","DZ":"Algeria","AS":"American Samoa","AD":"Andorra","AO":"Angola","AI":"Anguilla","AQ":"Antarctica","AG":"Antigua and Barbuda","AR":"Argentina","AM":"Armenia","AW":"Aruba","AU":"Australia","AT":"Austria","AZ":"Azerbaijan","BS":"Bahamas","BH":"Bahrain","BD":"Bangladesh","BB":"Barbados","BY":"Belarus","BE":"Belgium","BZ":"Belize","BJ":"Benin","BM":"Bermuda","BT":"Bhutan","BO":"Bolivia, Plurinational State of","BA":"Bosnia and Herzegovina","BW":"Botswana","BV":"Bouvet Island","BR":"Brazil","IO":"British Indian Ocean Territory","VG":"Virgin Islands, British","BN":"Brunei Darussalam","BG":"Bulgaria","BF":"Burkina Faso","BI":"Burundi","KH":"Cambodia","CM":"Cameroon","CA":"Canada","CV":"Cape Verde","KY":"Cayman Islands","CF":"Central African Republic","TD":"Chad","CL":"Chile","CN":"China","CX":"Christmas Island","CO":"Colombia","KM":"Comoros","CG":"Congo","CK":"Cook Islands","CR":"Costa Rica","CI":"Côte d\'Ivoire","HR":"Croatia","CU":"Cuba","CY":"Cyprus","CZ":"Czech Republic","CD":"Congo, the Democratic Republic of the","DK":"Denmark","DJ":"Djibouti","DM":"Dominica","DO":"Dominican Republic","TL":"Timor-Leste","EC":"Ecuador","EG":"Egypt","SV":"El Salvador","GQ":"Equatorial Guinea","ER":"Eritrea","EE":"Estonia","ET":"Ethiopia","FK":"Falkland Islands (Malvinas)","FO":"Faroe Islands","FJ":"Fiji","FI":"Finland","FR":"France","GF":"French Guiana","PF":"French Polynesia","TF":"French Southern Territories","GA":"Gabon","GM":"Gambia","GE":"Georgia","DE":"Germany","GH":"Ghana","GI":"Gibraltar","GR":"Greece","GL":"Greenland","GD":"Grenada","GP":"Guadeloupe","GU":"Guam","GT":"Guatemala","GG":"Guernsey","GN":"Guinea","GW":"Guinea-Bissau","GY":"Guyana","HT":"Haiti","HM":"Heard Island and McDonald Islands","HN":"Honduras","HK":"Hong Kong","HU":"Hungary","IS":"Iceland","IN":"India","ID":"Indonesia","IR":"Iran, Islamic Republic of","IQ":"Iraq","IE":"Ireland","IL":"Israel","IT":"Italy","JM":"Jamaica","JP":"Japan","JE":"Jersey","JO":"Jordan","KZ":"Kazakhstan","KE":"Kenya","KI":"Kiribati","KR":"Korea, Republic of","XK":"Kosovo, Republic of","KW":"Kuwait","KG":"Kyrgyzstan","LA":"Lao People\'s Democratic Republic","LV":"Latvia","LB":"Lebanon","LS":"Lesotho","LR":"Liberia","LY":"Libya","LI":"Liechtenstein","LT":"Lithuania","LU":"Luxembourg","MO":"Macao","MK":"Macedonia, the former Yugoslav Republic of","MG":"Madagascar","MW":"Malawi","MY":"Malaysia","MV":"Maldives","ML":"Mali","MT":"Malta","MH":"Marshall Islands","MQ":"Martinique","MR":"Mauritania","MU":"Mauritius","YT":"Mayotte","MX":"Mexico","FM":"Micronesia, Federated States of","MD":"Moldova, Republic of","MC":"Monaco","MN":"Mongolia","ME":"Montenegro","MS":"Montserrat","MA":"Morocco","MZ":"Mozambique","MM":"Myanmar","NA":"Namibia","NR":"Nauru","NP":"Nepal","NL":"Netherlands","AN":"Netherlands Antilles","NC":"New Caledonia","NZ":"New Zealand","NI":"Nicaragua","NE":"Niger","NG":"Nigeria","NU":"Niue","NF":"Norfolk Island","KP":"Korea, Democratic People\'s Republic of","MP":"Northern Mariana Islands","NO":"Norway","OM":"Oman","PK":"Pakistan","PW":"Palau","PS":"Palestine, State of","PA":"Panama","PG":"Papua New Guinea","PY":"Paraguay","PE":"Peru","PH":"Philippines","PN":"Pitcairn","PL":"Poland","PT":"Portugal","PR":"Puerto Rico","QA":"Qatar","RE":"Réunion","RO":"Romania","RU":"Russian Federation","RW":"Rwanda","SH":"Saint Helena, Ascension and Tristan da Cunha","KN":"Saint Kitts and Nevis","LC":"Saint Lucia","PM":"Saint Pierre and Miquelon","VC":"Saint Vincent and the Grenadines","WS":"Samoa","SM":"San Marino","ST":"São Tomé and Príncipe","SA":"Saudi Arabia","SN":"Senegal","RS":"Serbia","SC":"Seychelles","SL":"Sierra Leone","SG":"Singapore","SK":"Slovakia","SI":"Slovenia","SB":"Solomon Islands","SO":"Somalia","ZA":"South Africa","GS":"South Georgia and the South Sandwich Islands","SS":"South Sudan","ES":"Spain","LK":"Sri Lanka","SD":"Sudan","SR":"Suriname","SJ":"Svalbard and Jan Mayen","SZ":"Swaziland","SE":"Sweden","CH":"Switzerland","SY":"Syrian Arab Republic","TW":"Taiwan","TJ":"Tajikistan","TZ":"Tanzania, United Republic of","TH":"Thailand","TG":"Togo","TK":"Tokelau","TO":"Tonga","TT":"Trinidad and Tobago","TN":"Tunisia","TR":"Turkey","TM":"Turkmenistan","TC":"Turks and Caicos Islands","TV":"Tuvalu","VI":"Virgin Islands, U.S.","UG":"Uganda","UA":"Ukraine","AE":"United Arab Emirates","GB":"United Kingdom","US":"United States","UM":"United States Minor Outlying Islands","UY":"Uruguay","UZ":"Uzbekistan","VU":"Vanuatu","VA":"Holy See (Vatican City State)","VE":"Venezuela, Bolivarian Republic of","VN":"Viet Nam","WF":"Wallis and Futuna","EH":"Western Sahara","YE":"Yemen","ZM":"Zambia","ZW":"Zimbabwe"}')},7579:function(e){"use strict";e.exports=JSON.parse('{"signout":"Sign Out","signin":"Sign In","signup":"Sign Up","remember":"Remember me","rememberDevice":"Trust this device","rememberDevice.timebased":"Do not challenge me on this device for the next {0}","rememberDevice.devicebased":"Do not challenge me on this device again","autoPush":"Send push automatically","unlockaccount":"Unlock account?","haveaccount":"Already have an account?","needhelp":"Need help signing in?","forgotpassword":"Forgot password?","help":"Help","retry":"Retry","iphone":"iPhone","android":"Android","goback":"Back to sign in","closeWindow":"You can close this window","country.label":"Country","country.option.label":"{0} ({1})","phone.extention.label":"Extension","select.default_value":"Select an option","select.filter.no_match":"No results found for \\"{0}\\"","sensitive.input.show":"Show","sensitive.input.hide":"Hide","processing.alt.text":"Processing...","skip.to.main.content":"Skip to main content","minutes.oneMinute":"minute","minutes":"{0} minutes","hours":"{0} hours","days":"{0} days","error.config":"There was a configuration error","error.required.authParams":"Missing parameters for the configured authentication scheme - \\"OAUTH2\\"","error.required.baseUrl":"\\"baseUrl\\" is a required widget parameter","error.required.success":"A success handler is required","error.required.el":"\\"el\\" is a required widget parameter","error.invalid.colors.brand":"\\"colors.brand\\" must be in six-digit hex format","error.unsupported.browser":"Unsupported browser","error.unsupported.cors":"Unsupported browser - missing CORS support","error.unsupported.localStorage":"Unsupported browser - missing localStorage support","error.enabled.cors":"There was an error sending the request - have you enabled CORS?","error.expired.session":"Your session has expired. Please try to sign in again.","error.mfa.only.expired.session":"Unable to authenticate at this time.","error.auth.lockedOut":"Your account is locked. Please contact your administrator.","error.oauth.idToken":"There was a problem generating the id_token for the user. Please try again.","error.network.connection":"Unable to connect to the server. Please check your network connection.","error.username.required":"Please enter a username","error.password.required":"Please enter a password","error.mfa.required":"The current sign on policy requires this client to redirect for re-authentication or MFA. Please contact your administrator.","error.unsupported.response":"There was an unsupported response from server.","error.jit_failure":"Unable to sign in, please try another sign in method.","error.unsynced.clock":"Unable to sign in. Please check that your device\'s clock is accurate and try again.","errors.E0000004":"Unable to sign in","errors.E0000069":"Your account is locked because of too many authentication attempts.","errors.E0000047":"You exceeded the maximum number of requests. Try again in a while.","errors.E0000079":"The operation is not allowed. Please refresh the page to proceed.","errors.E0000001":"Api validation failed: {0}","errors.E0000002":"The request was not valid: {0}","errors.E0000003":"The request body was not well-formed.","errors.E0000005":"Invalid session","errors.E0000006":"You do not have permission to perform the requested action","errors.E0000007":"Not found: {0}","errors.E0000008":"The requested path was not found","errors.E0000009":"Internal Server Error","errors.E0000010":"Service is in read only mode","errors.E0000011":"Invalid token provided","errors.E0000012":"Unsupported media type","errors.E0000013":"Invalid client app id","errors.E0000015":"You do not have permission to access the feature you are requesting","errors.E0000016":"Activation failed because the user is already active","errors.E0000017":"Password reset failed","errors.E0000018":"Bad request. Accept and/or Content-Type headers are likely not set.","errors.E0000019":"Bad request. Accept and/or Content-Type headers likely do not match supported values.","errors.E0000020":"Bad request.","errors.E0000021":"Bad request. Accept and/or Content-Type headers likely do not match supported values.","errors.E0000022":"The endpoint does not support the provided HTTP method","errors.E0000023":"Operation failed because user profile is mastered under another system","errors.E0000024":"Bad request. This operation on app metadata is not yet supported.","errors.E0000025":"App version assignment failed.","errors.E0000026":"This endpoint has been deprecated.","errors.E0000027":"Group push bad request : {0}","errors.E0000028":"The request is missing a required parameter.","errors.E0000029":"Invalid paging request.","errors.E0000030":"Bad request. Invalid date. Dates must be of the form yyyy-MM-dd\'\'T\'\'HH:mm:ss.SSSZZ, e.g. 2013-01-01T12:00:00.000-07:00.","errors.E0000031":"Invalid search criteria.","errors.E0000032":"Unlock is not allowed for this user.","errors.E0000033":"Bad request. Can\'t specify a search query and filter in the same request.","errors.E0000034":"Forgot password not allowed on specified user.","errors.E0000035":"Change password not allowed on specified user.","errors.E0000036":"Change recovery question not allowed on specified user.","errors.E0000037":"Type mismatch exception.","errors.E0000038":"This operation is not allowed in the user\'\'s current status.","errors.E0000039":"Operation on application settings failed.","errors.E0000040":"Application label must not be the same as an existing application label.","errors.E0000041":"Credentials should not be set on this resource based on the scheme.","errors.E0000042":"Setting the error page redirect URL failed.","errors.E0000043":"Self service application assignment is not enabled.","errors.E0000044":"Self service application assignment is not supported.","errors.E0000045":"Field mapping bad request.","errors.E0000046":"Deactivate application for user forbidden.","errors.E0000048":"Entity not found exception.","errors.E0000049":"Invalid SCIM data from SCIM implementation.","errors.E0000050":"Invalid SCIM data from client.","errors.E0000051":"No response from SCIM implementation.","errors.E0000052":"Endpoint not implemented.","errors.E0000053":"Invalid SCIM filter.","errors.E0000054":"Invalid pagination properties.","errors.E0000055":"Duplicate group.","errors.E0000056":"Delete application forbidden.","errors.E0000057":"Access to this application is denied due to a policy.","errors.E0000058":"Access to this application requires MFA: {0}","errors.E0000059":"The connector configuration could not be tested. Make sure that the URL, Authentication Parameters are correct and that there is an implementation available at the URL provided.","errors.E0000060":"Unsupported operation.","errors.E0000061":"Tab error: {0}","errors.E0000062":"The specified user is already assigned to the application.","errors.E0000063":"Invalid combination of parameters specified.","errors.E0000064":"Password is expired and must be changed.","errors.E0000065":"Internal error processing app metadata.","errors.E0000066":"APNS is not configured, contact your admin","errors.E0000067":"Factors Service Error.","errors.E0000070":"Waiting for ACK","errors.E0000071":"Unsupported OS Version: {0}","errors.E0000072":"MIM policy settings have disallowed enrollment for this user","errors.E0000073":"User rejected authentication","errors.E0000074":"Factor Service Error","errors.E0000075":"Cannot modify the {0} attribute because it has a field mapping and profile push is enabled.","errors.E0000076":"Cannot modify the app user because it is mastered by an external app.","errors.E0000077":"Cannot modify the {0} attribute because it is read-only.","errors.E0000078":"Cannot modify the {0} attribute because it is immutable.","errors.E0000081":"Cannot modify the {0} attribute because it is a reserved attribute for this application.","errors.E0000082":"Each code can only be used once. Please wait for a new code and try again.","errors.E0000083":"PassCode is valid but exceeded time window.","errors.E0000084":"App evaluation error.","errors.E0000085":"You do not have permission to access your account at this time.","errors.E0000086":"This policy cannot be activated at this time.","errors.E0000087":"The recovery question answer did not match our records.","errors.E0000090":"The role specified is already assigned to the user.","errors.E0000091":"The provided role type was not the same as required role type.","errors.E0000092":"Access to this application requires re-authentication: {0}","errors.E0000093":"Target count limit exceeded","errors.E0000094":"The provided filter is unsupported.","errors.E0000095":"Recovery not allowed for unknown user.","errors.E0000096":"This certificate has already been uploaded with kid={0}.","errors.E0000097":"There is no verified phone number on file.","errors.E0000098":"This phone number is invalid.","errors.E0000099":"Only numbers located in US and Canada are allowed. Contact your administrator if this is a problem.","errors.E0000100":"Unable to perform search query.","errors.E0000101":"Upload failed because of a problem with your ipa file, {0}","errors.E0000102":"YubiKey cannot be deleted while assigned to an user. Please deactivate YubiKey using reset MFA and try again","errors.E0000103":"Action on device already in queue or in progress","errors.E0000104":"Device is already locked and cannot be locked again","errors.E0000105":"You have accessed an account recovery link that has expired or been previously used.","errors.E0000106":"Wait for token to change, then enter the new tokencode.","errors.E0000107":"The entity is not in the expected state for the requested transition.","errors.E0000109":"An SMS message was recently sent. Please wait 30 seconds before trying again.","errors.E0000110":"You have accessed a link that has expired or has been previously used.","errors.E0000111":"Cannot modify the {0} object because it is read-only.","errors.E0000112":"Cannot update this user because they are still being activated. Please try again in a few minutes.","errors.E0000113":"{0}.","errors.E0000114":"A user with this login already exists in the current organization.","errors.E0000115":"Upload failed, {0}","errors.E0000116":"{0}","errors.E0000119":"Your account is locked. Please contact your administrator.","errors.E0000124":"Could not create user. To create a user and expire their password immediately, a password must be specified","errors.E0000125":"Could not create user. To create a user and expire their password immediately, \\"activate\\" must be true","errors.E0000133":"A phone call was recently made. Please wait 30 seconds before trying again.","errors.E0000207":"The username and/or the password you entered is incorrect. Please try again.","oform.next":"Next","oform.verify":"Verify","oform.send":"Send","oform.back":"Back","oform.title.authenticate":"Authenticate","oform.save":"Save","oform.cancel":"Cancel","oform.edit":"Edit","oform.previous":"Previous","oform.error.icon.ariaLabel":"Error","oform.errorbanner.title":"We found some errors. Please review the form and make corrections.","oform.errormsg.title":"Please review the form to correct the following errors:","oform.error.unexpected":"There was an unexpected internal error. Please try again.","oform.error.webfinger":"Unable to determine user identification method. Please contact your administrator for assistance.","oform.selectInput.country":"{0} selected","model.validation.field.blank":"This field cannot be left blank","model.validation.field.wrong.type":"This field is of the wrong type","model.validation.field.invalid":"This field has an invalid value","model.validation.field.value.not.allowed":"This field value is not allowed","model.validation.field.array.minItems":"This array does not have enough items","model.validation.field.array.maxItems":"This array contains too many items","model.validation.field.array.unique":"This array can only have unique values","model.validation.field.string.minLength":"This field cannot be less than the minimum required characters","model.validation.field.string.maxLength":"This field cannot exceed the maximum allowed characters","model.validation.field.invalid.format.email":"This value is not a valid email address","model.validation.field.invalid.format.uri":"This value is not a valid URI","model.validation.field.invalid.format.ipv4":"This value is not a valid IPv4 address","model.validation.field.invalid.format.hostname":"This value is not a valid hostname","model.validation.field.username":"Please check your username","schema.validation.field.value.must.string":"Value must be a string","schema.validation.field.value.must.number":"Value must be a number","schema.validation.field.value.must.integer":"Value must be an integer","schema.validation.field.value.must.object":"Value must be an object","universal-directory.profiles.attribute.source.oktamastered":"Inherit from Okta","universal-directory.profiles.attribute.source.override":"Override profile source","universal-directory.profiles.attribute.form.union.disable.display":"Combine values across groups","universal-directory.profiles.attribute.source.inherit":"Inherit from profile source","universal-directory.profiles.attribute.enduser.permission.readonly":"Read Only","universal-directory.profiles.attribute.enduser.permission.hide":"Hide","universal-directory.profiles.attribute.enduser.permission.readwrite":"Read-Write","universal-directory.profiles.attribute.form.union.enable.display":"Use Group Priority","factor.totpSoft.oktaVerify":"Okta Verify","factor.totpSoft.googleAuthenticator":"Google Authenticator","factor.totpSoft.description":"Enter single-use code from the mobile app.","factor.totpHard.rsaSecurId":"RSA SecurID","factor.totpHard.symantecVip":"Symantec VIP","factor.totpHard.description":"Enter a single-use code from a hardware token.","factor.totpHard.yubikey":"YubiKey","factor.totpHard.yubikey.description":"Insert your YubiKey and tap it to get a verification code.","factor.totpHard.yubikey.placeholder":"Click here, then tap your YubiKey","factor.oktaVerifyPush":"Okta Verify","factor.push.description":"Use a push notification sent to the mobile app.","factor.duo":"Duo Security","factor.duo.description":"Use Push Notification, SMS, or Voice call to authenticate.","factor.sms":"SMS Authentication","factor.sms.description":"Enter a single-use code sent to your mobile phone.","factor.sms.time.warning":"Haven\'t received an SMS? To try again, click <span style=\\"font-weight:bold\\">Re-send code</span>.","factor.call":"Voice Call Authentication","factor.call.description":"Use a phone to authenticate by following voice instructions.","factor.call.time.warning":"Haven\'t received a voice call? To try again, click <span style=\\"font-weight:bold\\">Redial</span>.","factor.securityQuestion":"Security Question","factor.securityQuestion.description":"Use the answer to a security question to authenticate.","factor.windowsHello":"Windows Hello","factor.windowsHello.signin.description":"Sign in to Okta using Windows Hello.","factor.windowsHello.signin.description.generic":"Sign in using Windows Hello.","factor.windowsHello.signin.description.specific":"Sign in to {0} using Windows Hello.","factor.u2f":"Security Key (U2F)","factor.u2f.description":"Use a Universal 2nd Factor (U2F) security key to sign on to Okta.","factor.u2f.description.generic":"Use a Universal 2nd Factor (U2F) security key to sign in.","factor.u2f.description.specific":"Use a Universal 2nd Factor (U2F) security key to sign in to {0}.","factor.email":"Email Authentication","factor.email.description":"Enter a verification code sent to your email.","factor.password":"Password","factor.customFactor.description":"Redirect to a third party MFA provider to sign in to Okta.","factor.customFactor.description.generic":"Redirect to a third party MFA provider to sign in.","factor.customFactor.description.specific":"Redirect to a third party MFA provider to sign in to {0}.","factor.webauthn.biometric":"Security Key or Biometric Authenticator","factor.webauthn.biometric.description":"Use a security key (USB or bluetooth) or a biometric authenticator (Windows Hello, Touch ID, etc.)","factor.hotp.description":"Enter a single-use code from an authenticator.","mfa.challenge.verify":"Verify","mfa.challenge.answer.placeholder":"Answer","mfa.challenge.answer.tooltip":"Answer","mfa.challenge.answer.showAnswer":"Show","mfa.challenge.answer.hideAnswer":"Hide","mfa.challenge.enterCode.placeholder":"Enter Code","mfa.challenge.enterCode.tooltip":"Enter Code","mfa.challenge.password.placeholder":"Password","mfa.backToFactors":"Back to factor list","mfa.enroll":"Enroll","mfa.setupOptions":"Setup Options","mfa.country":"Country/region","mfa.phoneNumber.placeholder":"Phone number","mfa.phoneNumber.ext.placeholder":"Extension","mfa.sendCode":"Send code","mfa.sent":"Sent","mfa.resendCode":"Re-send code","mfa.call":"Call","mfa.calling":"Calling","mfa.redial":"Redial","mfa.sendEmail":"Send email","mfa.resendEmail":"Re-send email","mfa.scanBarcode":"Scan QR Code","mfa.altQrCode":"QR code","mfa.noAccessToEmail":"Can\'t access email","password.reset":"Reset Password","password.oldPassword.placeholder":"Old password","password.oldPassword.tooltip":"Old password","password.newPassword.placeholder":"New password","password.newPassword.tooltip":"New password","password.confirmPassword.placeholder":"Repeat password","password.confirmPassword.tooltip":"Repeat password","password.error.match":"New passwords must match","password.enroll.error.match":"Passwords must match","recovery.sms.hint":"SMS can only be used if a mobile phone number has been configured.","recovery.mobile.hint":"{0} can only be used if a mobile phone number has been configured.","recovery.sms":"SMS","recovery.call":"Voice Call","recovery.smsOrCall":"SMS or Voice Call","verify.choices.description":"Verify with one of the following factors.","email.button.send":"Send me the code","email.button.resend":"Send again","email.code.label":"Verification code","email.code.not.received":"Haven\'t received an email?","email.enroll.title":"Set up Email Authentication","email.enroll.description":"Send a verification code to your registered email.","email.enroll.enterCode":"Enter code","email.link.terminal.msg":"To finish signing in, return to the screen where you requested the email link.","email.mfa.title":"Verify with Email Authentication","email.mfa.description":"Send a verification code to {0}.","email.mfa.email.sent.description":"A verification code was sent to {0}. Check your email and enter the code below.","email.mfa.email.sent.description.sentText":"A verification code was sent to","email.mfa.email.sent.description.emailCodeText":"Check your email and enter the code below.","enroll.choices.title":"Set up multifactor authentication","enroll.choices.description":"Your company requires multifactor authentication to add an additional layer of security when signing in to your Okta account","enroll.choices.description.generic":"Your company requires multifactor authentication to add an additional layer of security when signing in to your account","enroll.choices.description.specific":"Your company requires multifactor authentication to add an additional layer of security when signing in to your {0} account","enroll.choices.description.gracePeriod.bold":"Your company recommends setting up additional factors for authentication. Set up will be required in: <b>{0} day(s)</b>.","enroll.choices.description.gracePeriod.oneDay.bold":"Your company recommends setting up additional factors for authentication. Set up will be required in: <b>less than 1 day</b>.","enroll.choices.optional":"You can configure any additional optional factor or click finish","enroll.choices.list.setup":"Setup required","enroll.choices.list.enrolled":"Enrolled factors","enroll.choices.list.optional":"Additional optional factors","enroll.choices.setup":"Setup","enroll.choices.setup.another":"Set up another","enroll.choices.submit.finish":"Finish","enroll.choices.submit.configure":"Configure factor","enroll.choices.submit.next":"Configure next factor","enroll.choices.cardinality.setup":"({0} set up)","enroll.choices.cardinality.setup.remaining":"({0} of {1} set up)","enroll.choices.setup.skip":"Skip set up","enroll.securityQuestion.setup":"Setup secret question authentication","security.disliked_food":"What is the food you least liked as a child?","security.name_of_first_plush_toy":"What is the name of your first stuffed animal?","security.first_award":"What did you earn your first medal or award for?","security.favorite_security_question":"What is your favorite security question?","security.favorite_toy":"What is the toy/stuffed animal you liked the most as a kid?","security.first_computer_game":"What was the first computer game you played?","security.favorite_movie_quote":"What is your favorite movie quote?","security.first_sports_team_mascot":"What was the mascot of the first sports team you played on?","security.first_music_purchase":"What music album or song did you first purchase?","security.favorite_art_piece":"What is your favorite piece of art?","security.grandmother_favorite_desert":"What was your grandmother\'s favorite dessert?","security.first_thing_cooked":"What was the first thing you learned to cook?","security.childhood_dream_job":"What was your dream job as a child?","security.first_kiss_location":"Where did you have your first kiss?","security.place_where_significant_other_was_met":"Where did you meet your spouse/significant other?","security.favorite_vacation_location":"Where did you go for your favorite vacation?","security.new_years_two_thousand":"Where were you on New Year\'s Eve in the year 2000?","security.favorite_speaker_actor":"Who is your favorite speaker/orator?","security.favorite_book_movie_character":"Who is your favorite book/movie character?","security.favorite_sports_player":"Who is your favorite sports player?","enroll.password.setup":"Select a password","save.password":"Save password","enroll.sms.setup":"Receive a code via SMS to authenticate","enroll.sms.try_again":"The number you entered seems invalid. If the number is correct, please try again.","enroll.call.setup":"Follow phone call instructions to authenticate","enroll.onprem.username.placeholder":"Enter {0} username","enroll.onprem.username.tooltip":"Enter {0} username","enroll.onprem.passcode.placeholder":"Enter {0} passcode","enroll.onprem.passcode.tooltip":"Enter {0} passcode","enroll.symantecVip.subtitle":"Enter Credential ID and two consecutive generated codes","enroll.symantecVip.credentialId.placeholder":"Enter credential ID","enroll.symantecVip.credentialId.tooltip":"Enter credential ID","enroll.symantecVip.passcode1.placeholder":"Security code 1","enroll.symantecVip.passcode1.tooltip":"Security code 1","enroll.symantecVip.passcode2.placeholder":"Security code 2","enroll.symantecVip.passcode2.tooltip":"Security code 2","enroll.yubikey.title":"Setup YubiKey","enroll.yubikey.subtitle":"Insert your YubiKey into a USB port and tap it to generate a verification code","enroll.totp.title":"Setup {0}","enroll.totp.selectDevice":"Select your device type","enroll.totp.downloadApp":"Download <a href=\\"{0}\\" class=\\"inline-link\\">{1} from the {2}</a> onto your mobile device.","enroll.hotp.restricted":"Contact your administrator to continue enrollment.","enroll.duo.title":"Setup Duo Security","enroll.windowsHello.title":"Enroll Windows Hello","enroll.windowsHello.subtitle":"Click below to enroll Windows Hello as a second form of authentication","enroll.windowsHello.subtitle.loading":"Please wait while Windows Hello is loading...","enroll.windowsHello.save":"Enroll Windows Hello","enroll.windowsHello.error.notWindows":"Windows Hello can only be used on Windows Edge with Windows 10. Contact your admin for assistance.","enroll.windowsHello.error.notConfiguredHtml":"Windows Hello is not configured. Select the <b>Start</b> button, then select <b>Settings</b> - <b>Accounts</b> - <b>Sign-in</b> to configure Windows Hello.","verify.windowsHello.subtitle":"Verify your identity with Windows Hello","verify.windowsHello.subtitle.loading":"Please wait while Windows Hello is loading...","verify.windowsHello.subtitle.signingIn":"Signing in to Okta...","verify.windowsHello.subtitle.signingIn.generic":"Signing in...","verify.windowsHello.subtitle.signingIn.specific":"Signing in to {0}...","verify.windowsHello.save":"Verify with Windows Hello","verify.windowsHello.error.notFound":"Your Windows Hello enrollment does not match our records. Contact your administrator for assistance.","verify.windowsHello.error.notFound.selectAnother":"Your Windows Hello enrollment does not match our records. Select another factor or contact your administrator for assistance.","enroll.u2f.title":"Setup Security Key (U2F)","enroll.u2f.save":"Register Security Key","enroll.u2f.general2":"Make sure you have a Security Key. If already inserted, remove it now.<br>If you have a Bluetooth Security Key, turn on your computer\'s Bluetooth.","enroll.u2f.general3":"Click the button below to register","enroll.u2f.instructions":"Insert your Security Key into a USB port on this computer. If it has a button or gold disk, tap it.","enroll.u2f.instructionsBluetooth":"If you are using a Bluetooth Security Key, press the button.","u2f.error.factorNotSupported":"Security Key (U2F) is not supported on this browser. Select another factor or contact your admin for assistance.","u2f.error.factorNotSupported.oneFactor":"Security Key (U2F) is not supported on this browser. Contact your admin for assistance.","u2f.error.other":"An unknown error has occured. Try again or select another factor.","u2f.error.other.oneFactor":"An unknown error has occured. Try again or contact your admin for assistance.","u2f.error.badRequest":"There was an error with the U2F request. Try again or select another factor.","u2f.error.badRequest.oneFactor":"There was an error with the U2F request. Try again or contact your admin for assistance.","u2f.error.unsupported":"The security key is unsupported. Select another factor.","u2f.error.unsupported.oneFactor":"The security key is unsupported. Contact your admin for assistance.","u2f.error.timeout":"You have timed out of the authentication period. Please try again.","verify.u2f.instructions":"Insert your Security Key. If it has a button or gold disk, tap it.","verify.u2f.instructionsBluetooth":"If you are using a Bluetooth Security Key, turn on your computer\'s Bluetooth and press the button.","verify.u2f.retry":"Retry","enroll.customFactor.subtitle":"Clicking below will redirect to MFA enrollment with {0}","enroll.customFactor.save":"Enroll","verify.customFactor.subtitle":"Clicking below will redirect to verification with {0}","verify.customFactor.subtitle.redirect":"Redirecting to {0}...","enroll.webauthn.biometric.title":"Set up security key or biometric authenticator","enroll.webauthn.save":"Enroll","enroll.webauthn.biometric.instructions":"Your browser will prompt to register a security key or biometric authenticator (Windows Hello, Touch ID, etc.). Follow the instructions to complete enrollment.","enroll.webauthn.biometric.instructions.edge":"Note: If you are enrolling a security key and Windows Hello or PIN is enabled, you will need to select \'<b>Cancel</b>\' in the prompt before continuing.","verify.webauthn.biometric.instructions":"Your browser or device will prompt you to verify with a security key or biometric authenticator. Follow the instructions to complete authentication.","webauthn.biometric.error.factorNotSupported":"Security key or biometric authenticator is not supported on this browser. Select another factor or contact your admin for assistance.","webauthn.biometric.error.factorNotSupported.oneFactor":"Security key or biometric authenticator is not supported on this browser. Contact your admin for assistance.","enroll.webauthn.instructions.noSupportForBiometric":"Note: Some browsers may not support biometric authenticators.","authfactor.webauthn.error":"You are currently unable to use a Security key or biometric authenticator. Try again.","enroll.totp.enterCode":"Enter code displayed from the application","enroll.totp.setupApp":"Launch {0} on your mobile device and select “Add an account”. Scan the QR code to continue.","enroll.totp.setupGoogleAuthApp":"Launch {0}, tap the \\"+\\" icon, then select \\"Scan barcode\\".","enroll.totp.cannotScan":"Can\'t scan?","enroll.totp.aria.cannotScan":"Setup without scanning a QR code.","enroll.totp.refreshBarcode":"Refresh code","enroll.totp.cannotScanBarcode":"Can\'t scan QR Code?","enroll.totp.manualSetupInstructions":"To set up manually enter your Okta Account username and then input the following in the Secret Key Field","enroll.totp.manualSetupInstructions.generic":"To set up manually enter your Account username and then input the following in the Secret Key Field","enroll.totp.manualSetupInstructions.specific":"To set up manually enter your {0} Account username and then input the following in the Secret Key Field","enroll.totp.sharedSecretInstructions":"Enter your Okta Account username and enter the following in the Secret Key Field","enroll.totp.sharedSecretInstructions.generic":"Enter your Account username and enter the following in the Secret Key Field","enroll.totp.sharedSecretInstructions.specific":"Enter your {0} Account username and enter the following in the Secret Key Field","enroll.totp.sendSms":"Send activation link via SMS","enroll.totp.sendEmail":"Send activation link via email","enroll.totp.setupManually":"Setup manually without push notification","enroll.totp.sharedSecretInstructions.aria.secretKey":"setup key {0}","enroll.totp.enrollViaEmail.title":"Activation email sent!","enroll.totp.enrollViaEmail.msg":"Open the email from your mobile device.","enroll.totp.enrollViaSms.title":"SMS sent!","enroll.totp.enrollViaSms.msg":"View the SMS on your mobile device.","recoveryChallenge.sms.title":"Enter verification code sent via SMS","recoveryChallenge.call.title":"Enter verification code received via Voice Call","mfa.factors.dropdown.title":"Select an authentication factor","mfa.factors.dropdown.sr.text":"Select Authentication Factor - {0} Factor Selected","mfa.duoSecurity.push":"Push — {0}","mfa.duoSecurity.sms":"SMS — {0}","mfa.duoSecurity.call":"Call — {0}","mfa.switch":"Switch Factor","mfa.challenge.title":"Enter your {0} passcode","mfa.challenge.orEnterCode":"Or enter code","mfa.challenge.totp.subtitle.multiple":"Enter code from any registered {0} device.","mfa.emailVerification.checkEmail":"To finish signing in, click the link in your email.","mfa.emailVerification.title":"Sign in using a link sent to your email.","mfa.emailVerification.subtitle":"Emails will be sent to {0}","mfa.emailVerification.otc.finish":"To finish signing in, enter the code which was emailed to you.","oktaverify.send":"Send Push","oktaverify.resend":"Re-send Push","oktaverify.sent":"Push sent!","oktaverify.rejected":"You have chosen to reject this login.","oktaverify.rejected.upgradeRequired.ios":"Verification failed because your Okta Verify version is no longer supported. To sign in, please update Okta Verify on the App Store, then try again.","oktaverify.rejected.upgradeRequired.android":"Verification failed because your Okta Verify version is no longer supported. To sign in, please update Okta Verify on Google Play, then try again.","oktaverify.timeout":"Your push notification has expired.","oktaverify.warning":"Haven\'t received a push notification yet? Try opening the Okta Verify App on your phone.","oktaverify.numberchallenge.instruction":"On your phone, tap <span class=\\"challenge-number\\">{0}</span> on Okta Verify prompt to continue.","oktaverify.numberchallenge.explain":"This extra step helps us make sure it\'s really you signing in.","primaryauth.title":"Sign In","primaryauth.username.placeholder":"Username","primaryauth.username.tooltip":"Username","primaryauth.password.placeholder":"Password","primaryauth.password.tooltip":"Password","primaryauth.submit":"Sign In","primaryauth.newUser.tooltip":"This is the first time you are connecting to {0} from this browser","primaryauth.newUser.tooltip.close":"Close","oktaVerify.description":"To access this resource, your organization requires you to sign in with Okta FastPass.","oktaVerify.appDescription":"To access {0}, your organization requires you to sign in with Okta FastPass.","oktaVerify.button":"Sign in with Okta FastPass","signinWithWebAuthn.button":"Sign in with security key or biometrics","idpDiscovery.email.placeholder":"Email","password.forgot.email.or.username.placeholder":"Email or Username","password.forgot.email.or.username.tooltip":"Email or Username","password.forgot.sendText":"Reset via SMS","password.forgot.sendEmail":"Reset via Email","password.forgot.call":"Reset via Voice Call","password.forgot.emailSent.title":"Email sent!","password.forgot.emailSent.desc":"Email has been sent to {0} with instructions on resetting your password.","password.forgot.question.title":"Answer Forgotten Password Challenge","password.forgot.question.submit":"Reset Password","password.forgot.code.notReceived":"Didn\'t receive a code? Reset via email","password.forgot.noFactorsEnabled":"No password reset options available. Please contact your administrator.","password.reset.title":"Reset your Okta password","password.reset.title.generic":"Reset your password","password.reset.title.specific":"Reset your {0} password","password.complexity.requirements":"Password requirements: {0}.","password.complexity.history":"Your password cannot be any of your last {0} passwords.","password.complexity.minAgeMinutes":"At least {0} minute(s) must have elapsed since you last changed your password.","password.complexity.minAgeHours":"At least {0} hour(s) must have elapsed since you last changed your password.","password.complexity.minAgeDays":"At least {0} day(s) must have elapsed since you last changed your password.","password.reset.verification":"Verify with one of the following factors to reset your password.","password.reset.revokeSessions":"Sign me out of all other devices.","password.complexity.length":"at least {0} characters","password.complexity.list.element":", {0}","password.complexity.lowercase":"a lowercase letter","password.complexity.uppercase":"an uppercase letter","password.complexity.number":"a number","password.complexity.symbol":"a symbol","password.complexity.no_username":"no parts of your username","password.complexity.no_first_name":"does not include your first name","password.complexity.no_last_name":"does not include your last name","password.complexity.requirements.header":"Password requirements:","password.complexity.length.description":"At least {0} characters","password.complexity.lowercase.description":"A lowercase letter","password.complexity.uppercase.description":"An uppercase letter","password.complexity.number.description":"A number","password.complexity.symbol.description":"A symbol","password.complexity.no_username.description":"No parts of your username","password.complexity.no_first_name.description":"Does not include your first name","password.complexity.no_last_name.description":"Does not include your last name","password.complexity.history.description":"Your password cannot be any of your last {0} passwords","password.complexity.minAgeMinutes.description":"At least {0} minute(s) must have elapsed since you last changed your password","password.complexity.minAgeHours.description":"At least {0} hour(s) must have elapsed since you last changed your password","password.complexity.minAgeDays.description":"At least {0} day(s) must have elapsed since you last changed your password","password.expired.submit":"Change Password","password.expired.title":"Your Okta password has expired","password.expired.title.generic":"Your password has expired","password.expired.title.specific":"Your {0} password has expired","password.expiring.later":"Remind me later","password.expiring.title":"Your password will expire in {0} days","password.expiring.today":"Your password will expire later today","password.expiring.soon":"Your password is expiring soon","password.expiring.subtitle":"When password expires you may be locked out of Okta Mobile, mobile email, and other services.","password.expiring.subtitle.generic":"When password expires you will be locked out of your account.","password.expiring.subtitle.specific":"When password expires you will be locked out of your {0} account.","password.expired.custom.submit":"Go to {0}","password.expired.custom.subtitle":"This password is set on another website. Click the button below to go there and set a new password.","hcaptcha.footer.label":"This site is protected by hCaptcha and its <$1>Privacy Policy</$1> and <$2>Terms of Service</$2> apply.","account.unlock.title":"Unlock account","account.unlock.email.or.username.placeholder":"Email or username","account.unlock.email.or.username.tooltip":"Email or username","account.unlock.sendText":"Send SMS","account.unlock.voiceCall":"Voice Call","account.unlock.sendEmail":"Send Email","account.unlock.emailSent.title":"Email sent!","account.unlock.emailSent.desc":"Email has been sent to {0} with instructions on unlocking your account.","account.unlock.question.title":"Answer Unlock Account Challenge","account.unlock.question.submit":"Unlock Account","account.unlock.unlocked.title":"Account successfully unlocked!","account.unlock.unlocked.desc":"You can log in using your existing username and password.","account.unlock.code.notReceived":"Didn\'t receive a code? Unlock via email","account.unlock.noFactorsEnabled":"No unlock options available. Please contact your administrator.","contact.support":"If you didn\'t provide a secondary email address or don\'t have access to email, please contact your administrator at {0}","customauth.sign.in.with.label":"Sign in with {0}","socialauth.divider.text":"OR","socialauth.facebook.label":"Sign in with Facebook","socialauth.google.label":"Sign in with Google","socialauth.linkedin.label":"Sign in with LinkedIn","socialauth.microsoft.label":"Sign in with Microsoft","socialauth.apple.label":"Sign in with Apple","socialauth.github.label":"Sign in with GitHub","socialauth.gitlab.label":"Sign in with GitLab","socialauth.yahoo.label":"Sign in with Yahoo","socialauth.line.label":"Sign in with LINE","socialauth.paypal.label":"Sign in with PayPal","socialauth.paypal_sandbox.label":"Sign in with PayPal Sandbox","socialauth.salesforce.label":"Sign in with Salesforce","socialauth.amazon.label":"Sign in with Amazon","socialauth.yahoojp.label":"Sign in with Yahoo Japan","socialauth.discord.label":"Sign in with Discord","socialauth.adobe.label":"Sign in with Adobe","socialauth.orcid.label":"Sign in with ORCiD","socialauth.spotify.label":"Sign in with Spotify","socialauth.xero.label":"Sign in with Xero","socialauth.quickbooks.label":"Sign in with Quickbooks","socialauth.popup.title":"External Identity Provider User Authentication","authbutton.divider.text":"or","registration.signup.label":"Don\'t have an account?","registration.signup.text":"Sign up","registration.complete.title":"Verification email sent","registration.complete.confirm.text":"To finish signing in, check your email.","registration.form.title":"Create Account","registration.form.submit":"Register","registration.passwordComplexity.minLength":"At least {0} character(s)","registration.passwordComplexity.minLower":"At least {0} lowercase letter(s)","registration.passwordComplexity.minUpper":"At least {0} uppercase letter(s)","registration.passwordComplexity.minNumber":"At least {0} number(s)","registration.passwordComplexity.minSymbol":"At least {0} symbol(s)","registration.passwordComplexity.excludeUsername":"Does not contain part of username","registration.passwordComplexity.excludeAttribute":"Does not contain \'{0}\'","registration.required.fields.label":"* indicates required field","registration.default.callbackhook.error":"We could not process your registration at this time. Please try again later.","registration.error.userName.invalidEmail":"Invalid email address","registration.error.password.passwordRequirementsNotMet":"Password requirements were not met","registration.error.userName.notUniqueWithinOrg":"An account with that {0} already exists","registration.error.notUniqueWithinOrg.Email":"A user with this Email already exists","registration.error.notUniqueWithinOrg.custom":"A user with this {0} already exists","registration.error.invalidLoginEmail.Email":"\'Email\' must be in the form of an email address","registration.error.invalidLoginEmail.custom":"\'{0}\' must be in the form of an email address","registration.error.doesNotMatchPattern.Email":"Provided value for property \'Email\' does not match required pattern","registration.error.doesNotMatchPattern.custom":"Provided value for property \'{0}\' does not match required pattern","registration.error.generic":"There was an error creating your account. Please try registering again.","registration.error.request.not.completed":"Your request could not be completed. Try again later.","registration.model.validation.field.string.too.short":"Please enter something at least {0} characters long","registration.model.validation.field.string.too.long":"Please enter something shorter than {0} characters","piv.card":"PIV Card","piv.card.insert":"Please insert your PIV card and select the user certificate.","piv.card.error":"Certificate authentication failed. Contact your admin.","piv.card.error.empty":"No certificate selected. Choose a certificate and try again.","piv.card.error.invalid":"Certificate validation failed. Choose another certificate and try again.","piv.cac.card":"Sign in with PIV / CAC card","piv.cac.title":"PIV / CAC card","piv.cac.card.insert":"Please insert your PIV / CAC card and select the user certificate.","piv.cac.error":"There was an error signing in. Click the button below to try again.","unsupported.oneDrive.title":"Your OneDrive version is not supported","unsupported.oneDrive.desc":"Upgrade now by installing the OneDrive for Business Next Generation Sync Client to login to Okta","unsupported.oneDrive.action":"Learn how to upgrade","unsupported.cookies.title":"Cookies are required","unsupported.cookies.desc":"Cookies are disabled on your browser. Please enable Cookies and refresh this page.","unsupported.cookies.action":"Refresh","deviceTrust.sso.text":"Sign in to access company resources","deviceTrust.sso.subtitle.2":"Your company uses Okta Mobile to get you approved to access this app.","deviceTrust.sso.button":"Sign in with Okta Mobile","deviceTrust.sso.expire.title":"Oops let\'s get you back on track","deviceTrust.sso.redirectText":"Verifying your identity","deviceTrust.sso.expire.subtitle":"Unfortunately the steps required to sign in took longer than expected and your attempt timed out.","deviceTrust.sso.expire.button":"Sign in using Okta Mobile","deviceTrust.universalLink.fallback.getOktaMobile.title":"Get Okta Mobile","deviceTrust.universalLink.fallback.getOktaMobile.subtitle":"Go to the {0}AppStore{1}, {0}search{1} for {0}Okta Mobile{1} and tap on {0}GET{1} Okta Mobile. Once installed, sign in to Okta Mobile and follow the instructions to secure your device.","core.auth.factor.signedNonce.error.invalidDevice":"Your device or account was invalidated. If this is unexpected, contact your administrator for help.","core.auth.factor.signedNonce.error":"Your device or account was invalidated. Re-enroll your account on Okta Verify and try again.","user.fail.verifyIdentity":"Couldn’t verify your identity","loopback.polling.cancel.link":"Cancel and take me to sign in","loopback.polling.cancel.link.with.form.error":"Take me to sign in","customUri.subtitle":"Launching Okta Verify...","customUri.content":"<div class=\\"skinny-content\\"> If nothing prompts from the browser, <a href=\\"#\\" id=\\"launch-ov\\" class=\\"link\\">click here</a> to launch Okta Verify, or make sure Okta Verify is installed.</div>","customUri.title":"Click \\"Open Okta Verify\\" on the browser prompt","customUri.required.content.prompt":"Didn’t get a prompt?","customUri.required.content.download.title":"Don’t have Okta Verify?","customUri.required.content.download.linkText":"Download here","customUri.required.content.button":"Launch Okta Verify","universalLink.title":"Sign in with Okta FastPass","universalLink.content":"If Okta Verify did not open automatically, tap Open Okta Verify.","appLink.title":"Sign in with Okta FastPass","appLink.content":"If Okta Verify did not open automatically, tap Open Okta Verify.","oktaVerify.open.button":"Open Okta Verify","oktaVerify.reopen.button":"Reopen Okta Verify","consent.required.text":"<b>{0}</b> would like to access:","consent.required.description":"By clicking Allow Access, you allow the actions listed above.","consent.required.termsOfService":"Terms of Service","consent.required.privacyPolicy":"Privacy Policy","consent.required.consentButton":"Allow Access","consent.required.cancelButton":"Don\'t Allow","granular.consent.scopes.title":"<$1>{0}</$1> <$2>wants to access your account</$2>","granular.consent.scopes.description":"Allowing access will share","admin.consent.group.user.group":"User and groups","admin.consent.group.resource.policy":"Resource and policies","admin.consent.group.hook":"Hooks","admin.consent.group.system":"System","polling.title":"There are too many users trying to sign in right now. We will automatically retry in {0} seconds.","poll.form.title":"Unable to complete your request","poll.form.message":"We will automatically retry in <$1>{0}</$1> seconds.","cert.authentication.title":"Certificate authentication","common.logo.alt":"aria logo","oie.authenticator.enroll.error.fail":"Unable to enroll authenticator. Try again.","oie.authenticator.verify.error.fail":"Unable to verify authenticator. Try again.","oie.configuration.error":"Something went wrong. Potential misconfiguration detected. Please contact support.","oie.auth.logo.aria.label":"Authenticator logo","oie.form.field.optional":"Optional","oie.password.label":"Password","oie.password.newPasswordLabel":"New password","oie.password.authenticator.description":"Choose a password for your account","oie.password.challenge.title":"Verify with your password","oie.password.enroll.title":"Set up password","oie.password.passwordLabel":"Enter password","oie.password.confirmPasswordLabel":"Re-enter password","oie.password.reset.verification":"Verify with one of the following security methods to reset your password.","idx.password.expiring.message":"When your password expires you will be locked out of your Okta account.","oie.password.incorrect.message":"Password is incorrect","oie.selfservice.reset.password.not.allowed":"Reset password is not allowed at this time. Please contact support for assistance.","password.common":"This password was found in a list of commonly used passwords. Please try another password.","idx.recovery.completed":"You can now sign in with your existing username and new password.","oie.phone.label":"Phone","oie.phone.authenticator.description":"Verify with a code sent to your phone","oie.phone.enroll.sms.label":"SMS","oie.phone.enroll.voice.label":"Voice call","oie.phone.enroll.title":"Set up phone authentication","oie.phone.enroll.call.subtitle":"Enter your phone number to receive a verification code via voice call.","oie.phone.enroll.sms.subtitle":"Enter your phone number to receive a verification code via SMS.","oie.phone.sms.primaryButton":"Receive a code via SMS","oie.phone.sms.secondaryButton":"Receive an SMS instead","oie.phone.call.primaryButton":"Receive a code via voice call","oie.phone.call.secondaryButton":"Receive a voice call instead","oie.phone.verify.sms.resendText":"Haven\'t received an SMS?","oie.phone.verify.sms.codeSentText":"A code was sent to","oie.phone.verify.sms.sendText":"Send a code via SMS to","oie.phone.verify.call.sendText":"Send a code via voice call to","oie.phone.verify.call.resendText":"Haven\'t received a call?","oie.phone.verify.call.resendLinkText":"Call again","oie.phone.verify.sms.resendLinkText":"Send again","oie.phone.verify.enterCodeText":"Enter the code below to verify.","oie.phone.verify.title":"Verify with your phone","oie.phone.alternate.title":"your phone","oie.phone.carrier.charges":"Carrier messaging charges may apply","oie.phone.invalid":"Invalid Phone Number.","oie.email.label":"Email","oie.email.authenticator.description":"Verify with a link or code sent to your email","oie.email.mfa.title":"Verify with your email","oie.email.challenge.mfa.title":"Get a verification email","oie.email.verify.primaryButton":"Send me an email","oie.email.verify.subtitle.text.with.email":"Send a verification email to <$1>{0}</$1> by clicking on \\"Send me an email\\".","oie.email.verify.subtitle.text.without.email":"Send a verification email by clicking on \\"Send me an email\\".","oie.email.verify.alternate.magicLinkToEmailAddress":"We sent an email to <$1>{0}</$1>. ","oie.email.verify.alternate.magicLinkToYourEmail":"We sent you a verification email. ","oie.email.verify.alternate.instructions":"Click the verification link in your email to continue or enter the code below.","oie.email.verify.alternate.show.verificationCode.text":"Enter a verification code instead","oie.email.verify.alternate.verificationCode.instructions":"Enter the verification code in the text box.","oie.email.enroll.subtitle":"Please check your email and enter the code below.","oie.email.return.link.expired.title":"Verify with your email","oie.profile.additional.title":"Additional Profile information","oie.profile.additional.secondemail.subtitle":"Use a second email to <$1> recover your account </$1> in case you become locked out. This email must be verified after setup.","oie.webauthn.label":"Security Key or Biometric Authenticator","oie.webauthn.description":"Use a security key or a biometric authenticator to sign in","oie.enroll.webauthn.title":"Set up security key or biometric authenticator","oie.enroll.webauthn.instructions":"You will be prompted to register a security key or biometric authenticator (Windows Hello, Touch ID, Face ID, etc.). Follow the instructions to complete set up.","oie.enroll.webauthn.uv.required.instructions":"Biometric verification or a PIN is required to setup this authenticator.","oie.enroll.webauthn.instructions.edge":"Note: If you are enrolling a security key and Windows Hello or PIN is enabled, you will need to select \'Cancel\' in the prompt before continuing.","oie.enroll.webauthn.save":"Set up","oie.webauthn.error.not.supported":"Security key or biometric authenticator is not supported on this browser. Contact your admin for assistance.","oie.verify.webauth.title":"Verify with Security Key or Biometric Authenticator","oie.verify.webauthn.instructions":"You will be prompted to use a security key or biometric verification (Windows Hello, Touch ID, etc.). Follow the instructions to complete verification.","oie.verify.webauthn.uv.required.instructions":"Biometric verification or a PIN is required to sign in with this authenticator.","oie.verify.webauthn.cant.verify":"Can\'t verify?","oie.verify.webauthn.cant.verify.biometric.authenticator.title":"Are you trying to use a biometric authenticator?","oie.verify.webauthn.cant.verify.biometric.authenticator.description1":"Biometric authenticators (fingerprint, face recognition, PIN) will only work on the same device on which they were set up.","oie.verify.webauthn.cant.verify.biometric.authenticator.description2":"If available, set up another security method on the device you used to set up your biometric authenticator.","oie.verify.webauthn.cant.verify.security.key.title":"Are you trying to use a security key?","oie.verify.webauthn.cant.verify.security.key.description":"If you have set up a security key, insert it in a USB port when prompted by the browser and tap on the button or gold disk. Security keys can work on multiple devices.","oie.verify.webauthn.cant.verify.enrollment.step1":"Open your Okta Dashboard (e.g. yourcompany.okta.com) on the device you used to setup your security key or biometric authenticator","oie.verify.webauthn.cant.verify.enrollment.step2":"Go to Settings > Security Methods","oie.verify.webauthn.cant.verify.enrollment.step3":"On Okta Verify, click \\"Set up\\"","oie.verify.webauthn.cant.verify.enrollment.step4":"Scan the QR code using Okta Verify and follow instructions to finish enrolling your account","oie.enroll.webauthn.rk.link":"If you haven\'t set up your security key or biometric authentication, you can complete the process after you sign in using <a href=\\"#\\" class=\\"setup-webauthn-residentkey-link\\">this link</a>.","oie.security.question.label":"Security Question","oie.security.question.enroll.title":"Set up security question","oie.security.question.challenge.title":"Verify with your Security Question","oie.security.question.questionKey.label":"Choose a security question","oie.security.question.createQuestion.label":"Create my own security question","oie.security.question.authenticator.description":"Choose a security question and answer that will be used for signing in","securityQuestion.answer.tooShort.arg":"The security question answer must be at least {0} characters in length","oie.okta_verify.label":"Okta Verify","oie.okta_verify.authenticator.description":"Okta Verify is an authenticator app, installed on your phone, used to prove your identity","oie.enroll.okta_verify.setup.title":"Set up Okta Verify","oie.enroll.okta_verify.setup.email.title":"Check your email","oie.enroll.okta_verify.setup.sms.title":"Check your text messages","oie.enroll.okta_verify.select.channel.description":"Which option do you want to try?","oie.enroll.okta_verify.select.channel.qrcode.label":"Scan a QR code","oie.enroll.okta_verify.select.channel.email.label":"Email me a setup link","oie.enroll.okta_verify.select.channel.sms.label":"Text me a setup link","oie.enroll.okta_verify.select.channel.title":"More options","oie.enroll.okta_verify.channel.email.label":"Email","oie.enroll.okta_verify.enroll.channel.email.title":"Set up Okta Verify via email link","oie.enroll.okta_verify.enroll.channel.sms.title":"Set up Okta Verify via SMS","oie.enroll.okta_verify.channel.email.description":"Make sure you can access the email on your mobile device.","oie.enroll.okta_verify.channel.sms.description":"Make sure you can access the text on your mobile device.","oie.enroll.okta_verify.qrcode.step1":"On your mobile device, download the Okta Verify app from the App Store (iPhone and iPad) or Google Play (Android devices).","oie.enroll.okta_verify.qrcode.step2":"Open the app and follow the instructions to add your account","oie.enroll.okta_verify.qrcode.step3":"When prompted, tap Scan a QR code, then scan the QR code below:","oie.enroll.okta_verify.qrcode.cannotScan":"Can\'t scan?","oie.enroll.okta_verify.switch.channel.link.text":"Or <a href=\\"#\\" class=\\"switch-channel-link\\">try a different way</a> to set up Okta Verify.","oie.enroll.okta_verify.email.info":"We sent an email to <span class=\\"strong\\">{0}</span> with an Okta Verify setup link. To continue, open the link on your mobile device.","oie.enroll.okta_verify.email.notReceived":"Haven’t received an email? Check your spam folder or <a href=\\"#\\" class=\\"resend-link\\">send again</a>","oie.enroll.okta_verify.sms.info":"We sent an SMS to <span class=\\"strong\\">{0}</span> with an Okta Verify setup link. To continue, open the link on your mobile device.","oie.enroll.okta_verify.sms.notReceived":"Haven’t received an SMS? <a href=\\"#\\" class=\\"resend-link\\">Send again</a>","oie.enroll.okta_verify.setupLink":"Send me the setup link","oie.okta_verify.totp.title":"Enter a code","oie.okta_verify.totp.enterCodeText":"Enter code from Okta Verify app","oie.okta_verify.push.title":"Get a push notification","oie.okta_verify.push.sent":"Push notification sent","oie.okta_verify.push.resend":"Resend push notification","oie.okta_verify.sendPushButton":"Send push","oie.okta_verify.signed_nonce.label":"Use Okta FastPass","oie.okta_verify.enroll.force.upgrade.title":"Update Okta Verify","oie.authenticator.app.non_fips_compliant_enrollment_device_incompatible":"The device used to set up Okta Verify does not meet your organization’s security requirements because it is not FIPS compliant. Contact your administrator for help.","oie.authenticator.app.non_fips_compliant_enrollment_app_update_required":"The Okta Verify version on the device used does not meet your organization’s security requirements. To add your account, update Okta Verify to the latest version, then try again.","oie.authenticator.app.method.push.verify.enable.biometrics":"Your response was received, but your organization requires biometrics. Make sure your device supports biometrics, Okta Verify is up-to-date and biometrics are enabled for your account in Okta Verify, then try again.","oie.authenticator.app.method.push.verify.enable.biometrics.title":"Enable biometrics in Okta Verify","oie.authenticator.app.method.push.verify.enable.biometrics.description":"Your response was received, but your organization requires biometrics. Make sure you meet the following requirements, then try again:","oie.authenticator.app.method.push.verify.enable.biometrics.point1":"Your device supports biometrics","oie.authenticator.app.method.push.verify.enable.biometrics.point2":"Okta Verify is up-to-date","oie.authenticator.app.method.push.verify.enable.biometrics.point3":"In Okta Verify, biometrics are enabled for your account","oie.authenticator.app.method.push.enroll.enable.biometrics":"Your organization requires biometrics. To proceed, ensure your device supports biometrics, then add your account and enable biometrics when prompted.","oie.authenticator.app.method.push.enroll.enable.biometrics.title":"Enable biometrics to add an account in Okta Verify","oie.authenticator.oktaverify.method.totp.verify.enable.biometrics":"Your response was received, but your organization requires biometrics. Make sure your device supports biometrics, Okta Verify is up-to-date and biometrics are enabled for your account in Okta Verify, then try again.","oie.authenticator.oktaverify.method.totp.verify.enable.biometrics.title":"Enable biometrics in Okta Verify","oie.authenticator.oktaverify.method.totp.verify.enable.biometrics.description":"Your response was received, but your organization requires biometrics. Make sure you meet the following requirements, then try again:","oie.authenticator.oktaverify.method.totp.verify.enable.biometrics.point1":"Your device supports biometrics","oie.authenticator.oktaverify.method.totp.verify.enable.biometrics.point2":"Okta Verify is up-to-date","oie.authenticator.oktaverify.method.totp.verify.enable.biometrics.point3":"In Okta Verify, biometrics are enabled for your account","oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.mobile":"Your response was received, but your organization requires biometrics. Make sure your device supports biometrics, Okta Verify is up-to-date and biometrics are enabled for your account in Okta Verify, then try again.","oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.desktop":"Your response was received, but your organization requires biometrics. Make sure your device supports biometrics, Okta Verify is up-to-date, biometrics are enabled for your account in Okta Verify and your device\'s biometric sensors are accessible, then try again.","oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.title":"Biometrics needed for Okta Verify","oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.description":"Your response was received, but your organization requires biometrics. Make sure you meet the following requirements, then try again:","oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.point1":"Your device supports biometrics","oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.point2":"Okta Verify is up-to-date","oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.point3":"In Okta Verify, biometrics are enabled for your account","oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.point4":"Your device\'s biometric sensors are accessible","oie.google_authenticator.label":"Google Authenticator","oie.google_authenticator.authenticator.description":"Enter a temporary code generated from the Google Authenticator app.","oie.enroll.google_authenticator.setup.title":"Set up Google Authenticator","oie.enroll.google_authenticator.scanBarcode.title":"Scan barcode","oie.enroll.google_authenticator.scanBarcode.description":"Launch Google Authenticator, tap the \\"+\\" icon, then select \\"Scan barcode\\".","oie.enroll.google_authenticator.scanBarcode.cannotScan":"Can\'t scan?","oie.enroll.google_authenticator.cannotScanBarcode.title":"Can\'t scan barcode?","oie.enroll.google_authenticator.manualSetupInstructions":"To set up manually enter your Okta Account username and then input the following in the Secret Key Field","oie.enroll.google_authenticator.enterCode.title":"Enter code displayed from application","oie.verify.google_authenticator.otp.title":"Verify with Google Authenticator","oie.verify.google_authenticator.otp.description":"Enter the temporary code generated in your Google Authenticator app","oie.google_authenticator.otp.enterCodeText":"Enter code","oie.verify.custom_otp.title":"Verify with {0}","oie.verify.custom_otp.description":"Enter the code generated on your authenticator and verify.","oie.custom_otp.description":"Enter a temporary code generated from an authenticator device.","oie.custom_otp.authenticator.default.vendorName":"Custom OTP Authenticator","oie.custom_otp.verify.passcode.label":"Enter code","oie.verify.custom_app.title":"Verify with {0}","oie.custom_app.push.sent":"Push notification sent","oie.custom_app.push.resend":"Resend push notification","oie.custom_app.push.warning":"Haven\'t received a push notification yet? Try opening {0} on your phone.","oie.authenticator.custom_app.method.push.verify.enable.biometrics":"Your response was received, but your organization requires biometrics—like a fingerprint or facial scan—for access. Make sure your device meets the following requirements, then try again:","oie.authenticator.custom_app.method.push.verify.enable.biometrics.title":"Enable biometrics in {0}","oie.authenticator.custom_app.method.push.verify.enable.biometrics.description":"Your response was received, but your organization requires biometrics—like a fingerprint or facial scan—for access. Make sure your device meets the following requirements, then try again:","oie.authenticator.custom_app.method.push.verify.enable.biometrics.point1":"Your device supports biometrics","oie.authenticator.custom_app.method.push.verify.enable.biometrics.point2":"{0} is up-to-date","oie.authenticator.custom_app.method.push.verify.enable.biometrics.point3":"In {0}, biometrics are enabled for your account","oie.custom_app.sendPushButton":"Send push","oie.custom_app.push.title":"Get a push notification","oie.on_prem.authenticator.description":"Verify by entering a code generated by {0}.","oie.on_prem.authenticator.default.vendorName":"Custom On-prem Authenticator","oie.on_prem.enroll.title":"Set up {0}","oie.on_prem.verify.title":"Verify with {0}","oie.numberchallenge.warning":"Haven\'t received a push notification yet? Try opening the Okta Verify app on your device, or <$1>resend the push notification</$1>.","oie.numberchallenge.instruction":"On your mobile device, open the Okta Verify prompt, then tap <$1>{0}</$1> in Okta Verify to continue.","oie.numberchallenge.force.upgrade.title":"Update Okta Verify","oie.authenticator.app.method.push.force.upgrade.number_challenge":"Your response was received, but your Okta Verify version is no longer supported by your organization. To verify your identity with push notifications, update Okta Verify to the latest version, then try again.","oie.rsa.authenticator.description":"Verify by entering a code generated by RSA SecurID","oie.duo.authenticator.description":"Verify your identity using Duo Security.","oie.duo.enroll.title":"Set up Duo Security","oie.duo.verify.title":"Verify with Duo Security","oie.duo.iFrameError":"Error loading Duo. Try again or contact your admin for assistance.","oie.authenticator.duo.error":"We were unable to verify with Duo. Try again.","oie.idp.authenticator.description":"Redirect to verify with {0}.","oie.idp.enroll.title":"Set up {0}","oie.idp.enroll.description":"You will be redirected to enroll in {0}","oie.idp.challenge.title":"Verify with {0}","oie.idp.challenge.description":"You will be redirected to verify with {0}","idx.identity.provider.auth.error":"There was a problem signing you into your identity provider. Please contact your administrator for help.","oie.symantecVip.authenticator.description":"Verify by entering a temporary code from the {0} app.","oie.symantecVip.enroll.title":"Set up {0}","oie.symantecVip.enroll.description":"From the {0} app, enter your credential ID and two consecutive generated codes","oie.symantecVip.challenge.title":"Verify with {0}","oie.symantecVip.challenge.description":"Enter the generated security code from the {0} app.","oie.symantecVip.verify.passcode.label":"Enter security code","oie.yubikey.label":"YubiKey Authenticator","oie.yubikey.authenticator.description":"Verify your identity using YubiKey","oie.yubikey.enroll.title":"Set up YubiKey","oie.yubikey.challenge.title":"Verify with YubiKey","oie.yubikey.description":"Insert the YubiKey into a USB port and tap it to generate a verification code.","oie.yubikey.passcode.label":"Insert then tap your YubiKey","oie.custom.app.authenticator.title":"Get a push notification","oie.custom.app.authenticator.description":"{0} is an authenticator app, installed on your phone, used to prove your identity","oie.smartcard.authenticator.description":"Use a physical smart card, such as PIV or CAC, to sign in","oie.select.authenticators.enroll.title":"Set up security methods","oie.select.authenticators.enroll.subtitle":"Security methods help protect your account by ensuring only you have access.","oie.select.authenticators.enroll.subtitle.custom":"Security methods help protect your {0} account by ensuring only you have access.","oie.setup.required":"Set up required","oie.setup.optional":"Set up optional","oie.optional.authenticator.button.title":"Set up later","oie.verify.authenticator.button.text":"Select","oie.enroll.authenticator.button.text":"Set up","oie.enroll.authenticator.usage.text.access.recovery":"Used for access or recovery","oie.enroll.authenticator.usage.text.recovery":"Used for recovery","oie.enroll.authenticator.usage.text.access":"Used for access","oie.select.authenticators.verify.title":"Verify it\'s you with a security method","oie.select.authenticators.verify.subtitle":"Select from the following options","oie.success.text.signingIn":"Signing in","oie.success.text.signingIn.with.ellipsis":"Signing in...","oie.success.text.signingIn.with.appName":"Signing in to {0}","oie.success.text.signingIn.with.appName.and.identifier":"Signing in to {0} as {1}","oie.go.back":"Go back","oie.enroll.switch.authenticator":"Return to authenticator list","oie.enroll.skip.setup":"Skip set up","oie.enroll.skip.profile":"Skip Profile","oie.verification.switch.authenticator":"Verify with something else","oie.remember":"Keep me signed in","oie.try.again":"Try again","enroll.title.oda":"Download Okta Verify","enroll.title.oda.with.account":"Additional setup required to use Okta FastPass","enroll.title.oda.without.account":"Set up an Okta Verify account","enroll.title.mdm":"Additional setup required","enroll.subtitle.fastpass":"On this device, do you already have an Okta Verify account for {0}?","enroll.option.noaccount.fastpass":"No, I don’t have an account","enroll.option.account.fastpass":"Yes, I already have an account","enroll.explanation.p1":"To sign in using Okta Verify, you will need to set up Okta Verify on this device.","enroll.explanation.p2":"In the app, follow the instructions to add an organizational account. When prompted, choose <span class=\\"semi-strong\\">Sign In</span>, then enter the <span class=\\"semi-strong\\">sign-in URL</span>:","enroll.oda.android.step1":"On Google Play, download the Okta Verify app.","enroll.oda.step1":"Open Okta Verify and follow the steps to add your account.","enroll.oda.step2":"When prompted, choose Sign In, then enter the sign-in URL:","enroll.oda.step3":"Download the Okta Verify app.","enroll.oda.step6":"Finish setting up your account in Okta Verify, then try accessing this app again.","enroll.oda.with.account.explanation":"Okta FastPass is a security method that can sign you in without needing your username.","enroll.oda.with.account.subtitile1":"Already have Okta FastPass enabled for your account?","enroll.oda.with.account.subtitile2":"Need to set up Okta FastPass for your account?","enroll.oda.with.account.step1":"Make sure your Okta Verify is up-to-date, then try signing in again.","enroll.oda.with.account.step2":"If your device has a work profile, make sure you are signing in from the same profile that Okta Verify is installed in.","enroll.oda.with.account.step3":"On certain browsers and applications, Okta FastPass is not supported.","enroll.oda.with.account.step4":"On this device, open the Okta Verify app.","enroll.oda.with.account.step5":"On the list of accounts, tap your account for {0}.","enroll.oda.with.account.step6":"Under the “Okta FastPass” section, tap Setup, then follow the instructions.","enroll.oda.with.account.step7":"After your setup is complete, return here to try signing in again.","enroll.oda.without.account.explanation":"To sign in with Okta FastPass, you’ll need to set up Okta Verify on this device.","enroll.oda.without.account.step1":"If you don’t have Okta Verify installed, <a href=\\"{0}\\" target=\\"_blank\\" class=\\"download-ov-link\\" id=\\"download-ov\\">download the app.</a>","enroll.oda.without.account.step4":"Finish setting up your account in Okta Verify, then try signing in again.","enroll.appleStore":"the App Store","enroll.googleStore":"Google Play","enroll.copy.ios":"Apple®, App Store, and the Apple logo are trademarks of Apple Inc.","enroll.copy.android":"Google Play and the Google Play logo are trademarks of Google LLC.","enroll.explanation.mdm":"To access this app, your device needs to meet your organization\'s security requirements. Follow the instructions below to continue.","enroll.oda.org.copyLink":"Copy sign-in URL to clipboard","enroll.oda.org.copyLink.success":"Sign-in URL copied.","enroll.mdm.copyLink":"Copy link to clipboard","enroll.mdm.copyLink.success":"Link copied.","enroll.mdm.step.copyLink":"Tap the Copy Link button below.","enroll.mdm.step.pasteLink":"On this device, open your browser, then paste the copied link into the address bar.","enroll.mdm.step.followInstructions":"Follow the instructions in your browser to set up <$1>{0}</$1>.","enroll.mdm.step.relogin":"Logout and re-login and then try accessing the app again.","oie.safe.mode.title":"Authenticator set up unavailable","idx.error.server.safe.mode.enrollment.unavailable":"Set up is temporarily unavailable due to server maintenance. Try again later.","oie.primaryauth.submit":"Sign in","oie.registration.form.title":"Sign up","oie.registration.form.submit":"Sign Up","oie.registration.form.update.submit":"Submit","oie.registration.form.customize.label":"{0}","oie.registration.form.customize.buttonLabel":"{0}","oie.user.profile.lastname":"Last name","oie.user.profile.firstname":"First name","oie.user.profile.primary.email":"Email","oie.user.profile.secondary.email":"Secondary email","oie.user.profile.middleName":"Middle name","oie.user.profile.honorificPrefix":"Honorific prefix","oie.user.profile.honorificSuffix":"Honorific suffix","oie.user.profile.primaryEmail":"Primary email","oie.user.profile.title":"Title","oie.user.profile.displayName":"Display name","oie.user.profile.nickName":"Nickname","oie.user.profile.profileUrl":"Profile URL","oie.user.profile.mobilePhone":"Mobile phone","oie.user.profile.primaryPhone":"Primary phone","oie.user.profile.streetAddress":"Street address","oie.user.profile.city":"City","oie.user.profile.state":"State","oie.user.profile.zipCode":"ZIP Code","oie.user.profile.postalCode":"Postal code","oie.user.profile.countryCode":"Country code","oie.user.profile.postalAddress":"Postal address","oie.user.profile.preferredLanguage":"Preferred language","oie.user.profile.locale":"Locale","oie.user.profile.timezone":"Time zone","oie.user.profile.userType":"User type","oie.user.profile.employeeNumber":"Employee number","oie.user.profile.costCenter":"Cost center","oie.user.profile.organization":"Organization","oie.user.profile.division":"Division","oie.user.profile.department":"Department","oie.user.profile.managerId":"Manager ID","oie.user.profile.manager":"Manager","oie.selfservice.unlock_user.landing.to.app.success.message":"Account successfully unlocked! Verify your account with a security method to continue.","oie.selfservice.unlock_user.landing.to.app.signing.in.message":"Account successfully unlocked!","oie.selfservice.unlock_user.success.message":"You can log in using your existing username and password.","oie.selfservice.unlock_user.failed.message":"We are unable to unlock your account at this time, please contact your administrator","oie.selfservice.user.unlock.not.allowed":"Self Service Unlock is not allowed at this time. Please contact support for assistance.","idx.session.expired":"You have been logged out due to inactivity. Refresh or return to the sign in screen.","oie.registration.is.not.enabled":"Sign up is not enabled for this organization.","oie.forgot.password.is.not.enabled":"Forgot password is not enabled for this organization.","idx.return.error":"Could not process this email link. Return to the screen where you requested it.","idx.return.stale":"This email link is out of date. Return to the screen where you requested it.","idx.invalid.forgot.password.token":"Your reset password token is no longer valid.","idx.invalid.reset.password.token":"Your reset password token is no longer valid. Contact your administrator to obtain a new token.","idx.reset.password.activating.user":"Reset password cannot be performed while the user is activating. Contact your administrator to obtain a new token.","tagsNotAllowed":"The field must not contain HTML tags","api.authn.error.PASSCODE_INVALID":"Invalid code. Try again.","oie.feature.disabled":"The requested feature is not enabled in this environment.","authfactor.challenge.suspended_factor":"This factor is suspended for your account due to too many failed attempts","oie.post.password.update.auth.failure.error":"Your password has been updated but there was a problem signing you in. Please try again or contact your administrator.","oie.assurance.unsatisfiable":"Unable to login to \\"{0}\\" at this time. For assistance, please contact your administrator.","errors.E0000150":"You have reached the limit of sms requests, please try again later.","errors.E0000151":"You have reached the limit of call requests, please try again later.","oie.invalid.recovery.token":"The recovery token is invalid.","oie.consent.scopes.admin.title":"would like to access:","oie.consent.scopes.enduser.title":"would like to:","oie.consent.scopes.granular.title":"<$1>{0}</$1> <$2>wants to access</$2>","oie.consent.scopes.granular.description":"Allowing access will share","oie.consent.enduser.accept.label":"Yes, it\'s me","oie.consent.enduser.deny.label":"No, it\'s not me","oie.consent.enduser.title":"Did you just try to sign in?","oie.consent.enduser.email.allow.title":"Success! Return to the original tab or window","oie.consent.enduser.email.allow.description":"To continue, please return to the original browser tab or window you used to verify.","oie.consent.enduser.deny.description":"Close this window anytime.","oie.return.to.original.tab":"Close this window anytime.","idx.operation.cancelled.by.user":"Operation cancelled by user.","idx.transferred.to.new.tab":"Flow continued in a new tab.","idx.return.link.expired":"This email link has expired. To resend it, return to the screen where you requested it.","idx.return.link.otponly.your.verification.code":"Your verification code","idx.return.link.otponly.enter.code.on.page":"Enter this code on the {0} page.","idx.return.link.otponly.enter.code.on.page.sign.in":"sign-in","idx.return.link.otponly.enter.code.on.page.password.reset":"password reset","idx.return.link.otponly.enter.code.on.page.account.unlock":"account unlock","idx.return.link.otponly.enter.code.on.page.registration":"sign up","idx.return.link.otponly.request":"Request from:","idx.return.link.otponly.warning.text":"If you didn’t request this code, you can ignore this message. Your account is safe and can only be accessed with this code.","idx.enter.otp.in.original.tab":"Enter the OTP in your original authentication location.","idx.return.link.otponly.app":"{0}","idx.return.link.otponly.browser.on.os":"{0} on {1}","geolocation.formatting.all":"{0}, {1}, {2}","geolocation.formatting.partial":"{0}, {1}","consent.scopes.email.label":"View your email address.","consent.scopes.profile.label":"View your profile information.","consent.scopes.phone.label":"View your phone number.","consent.scopes.address.label":"View your address.","consent.scopes.offlineAccess.label":"Keep you signed in to the app.","consent.scopes.onlineAccess.label":"Keep you signed in to the app.","consent.scopes.deviceSSO.label":"Request device secret.","consent.scopes.openid.desc":"Signals that a request is an OpenID request.","consent.scopes.profile.desc":"The exact data varies based on what profile information you have provided, such as: name, time zone, picture, or birthday.","consent.scopes.email.desc":"This allows the app to view your email address.","consent.scopes.address.desc":"This allows the app to view your address, such as: street address, city, state, and zip code.","consent.scopes.phone.desc":"This allows the app to view your phone number.","consent.scopes.offlineAccess.desc":"This keeps you signed in to the app, even when you are not using it.","consent.scopes.onlineAccess.desc":"This allows the app to access your data only when you are logged in to the application.","consent.scopes.deviceSSO.desc":"This allows you to single sign on between native client applications on your device.","consent.scopes.okta.users.manage.desc":"Allows the app to create new users and to manage all users\'\' profile and credentials information.","consent.scopes.okta.users.manage.self.desc":"Allows the app to manage the signed-in user\'\'s profile and credentials.","consent.scopes.okta.users.read.desc":"Allows the app to read the existing users\'\' profiles and credentials.","consent.scopes.okta.users.read.self.desc":"Allows the app to read the signed-in user\'\'s profile and credentials.","consent.scopes.okta.linkedObjects.manage.desc":"Allows the app to manage linked object definitions in your Okta organization.","consent.scopes.okta.linkedObjects.read.desc":"Allows the app to read linked object definitions in your Okta organization.","consent.scopes.okta.myAccount.manage.desc":"Allows the end-user to manage their account profile.","consent.scopes.okta.myAccount.read.desc":"Allows the end-user to read their account profile.","consent.scopes.okta.riskEvents.manage.desc":"Allows the app to publish risk events to your Okta organization.","consent.scopes.okta.clients.manage.desc":"Allows the app to manage clients in your Okta organization.","consent.scopes.okta.clients.read.desc":"Allows the app to read information about clients in your Okta organization.","consent.scopes.okta.clients.register.desc":"Allows the app to create new clients in your Okta organization.","consent.scopes.okta.authorizationServers.manage.desc":"Allows the app to create and manage Authorization Servers in your Okta organization.","consent.scopes.okta.authorizationServers.read.desc":"Allows the app to read information about Authorization Servers in your Okta organization.","consent.scopes.okta.groups.manage.desc":"Allows the app to manage existing groups in your Okta organization.","consent.scopes.okta.groups.read.desc":"Allows the app to read information about groups and their members in your Okta organization.","consent.scopes.okta.groups.register.desc":"Allows the app to create new groups in your Okta organization.","consent.scopes.okta.events.read.desc":"Allows the app to read information about deprecated Events v1 API entries in your Okta organization.","consent.scopes.okta.logs.read.desc":"Allows the app to read information about System Log entries in your Okta organization.","consent.scopes.okta.inlineHooks.manage.desc":"Allows the app to create and manage Inline Hooks in your Okta organization.","consent.scopes.okta.inlineHooks.read.desc":"Allows the app to read information about Inline Hooks in your Okta organization.","consent.scopes.okta.eventHooks.manage.desc":"Allows the app to create and manage Event Hooks in your Okta organization.","consent.scopes.okta.eventHooks.read.desc":"Allows the app to read information about Event Hooks in your Okta organization.","consent.scopes.okta.apps.manage.desc":"Allows the app to create and manage Apps in your Okta organization.","consent.scopes.okta.apps.read.desc":"Allows the app to read information about Apps in your Okta organization.","consent.scopes.okta.schemas.manage.desc":"Allows the app to create and manage Schemas in your Okta organization.","consent.scopes.okta.schemas.read.desc":"Allows the app to read information about Schemas in your Okta organization.","consent.scopes.okta.idps.manage.desc":"Allows the app to create and manage Identity Providers in your Okta organization.","consent.scopes.okta.idps.read.desc":"Allows the app to read information about Identity Providers in your Okta organization.","consent.scopes.okta.roles.manage.desc":"Allows the app to manage administrative role assignments for users in your Okta organization.","consent.scopes.okta.roles.read.desc":"Allows the app to read administrative role assignments for users in your Okta organization.","consent.scopes.okta.policies.manage.desc":"Allows the app to manage policies in your Okta organization.","consent.scopes.okta.policies.read.desc":"Allows the app to read information about policies in your Okta organization.","consent.scopes.okta.orgs.manage.desc":"Allows the app to manage organization-specific details for your Okta organization.","consent.scopes.okta.orgs.read.desc":"Allows the app to read organization-specific details about your Okta organization.","consent.scopes.okta.captchas.manage.desc":"Allows the app to create and manage CAPTCHAs in your Okta organization.","consent.scopes.okta.captchas.read.desc":"Allows the app to read information about CAPTCHAs in your Okta organization.","consent.scopes.okta.sessions.manage.desc":"Allows the app to manage all sessions in your Okta organization.","consent.scopes.okta.sessions.read.desc":"Allows the app to read all sessions in your Okta organization.","consent.scopes.okta.trustedOrigins.manage.desc":"Allows the app to manage all Trusted Origins in your Okta organization.","consent.scopes.okta.trustedOrigins.read.desc":"Allows the app to read all Trusted Origins in your Okta organization.","consent.scopes.okta.templates.manage.desc":"Allows the app to manage all custom templates in your Okta organization.","consent.scopes.okta.templates.read.desc":"Allows the app to read all custom templates in your Okta organization.","consent.scopes.okta.factors.manage.desc":"Allows the app to manage all admin operations for org factors (e.g. activate, deactivate, read).","consent.scopes.okta.factors.read.desc":"Allows the app to read org factors information.","consent.scopes.okta.authenticators.manage.desc":"Allows the app to manage all security methods (e.g. enrollments, reset).","consent.scopes.okta.authenticators.read.desc":"Allows the app to read org security method information.","consent.scopes.okta.authenticators.manage.self.desc":"Allows the app to manage users own security methods (e.g. enrollments, reset).","consent.scopes.idSnapshot.read.desc":"Allows the app to read your identity snapshot attestation.","consent.scopes.idSnapshot.manage.desc":"Allows the app to create and manage your identity snapshot attestation.","logo.for.the.app.alt.text":"Logo for the app","device.code.activate.title":"Activate your device","device.code.activate.subtitle":"Follow the instructions on your device to get an activation code","device.code.activate.label":"Activation Code","device.code.activated.success.title":"Device activated","device.code.activated.error.title":"Device not activated","idx.device.activated":"Follow the instructions on your device for next steps","idx.device.not.activated.consent.denied":"Your device cannot be activated because you did not allow access","idx.device.not.activated.internal.error":"Your device cannot be activated because of an internal error","idx.invalid.device.code":"Invalid code. Try again.","idx.operation.cancelled.on.other.device":"Access denied on other device.","idx.expired.activation.token":"Your account activation link is no longer valid. Request a new activation email below.","idx.missing.activation.token":"This can happen if you have already activated your account, or if the URL you are trying to use is invalid. Contact your administrator for further assistance.","idx.activating.inactive.user":"Your account has been temporarily suspended. Contact your administrator for further assistance.","idx.request.activation.email":"New activation link requested. If your information matches our records, you will receive a new activation link in your inbox soon.","oie.activation.request.email.title.expire":"Activation link has expired","oie.activation.request.email.title.invalid":"Activation link no longer valid","oie.activation.request.email.title.suspended":"Account suspended","oie.activation.request.email.title.submitted":"Request submitted","oie.activation.request.email.button":"Request activation email","oie.browser.error.NotAllowedError":"The operation either timed out or was not allowed.","authfactor.challenge.soft_token.invalid_passcode":"Your code doesn\'t match our records. Please try again.","authfactor.challenge.soft_token.used_passcode":"Each code can only be used once. Please wait for a new code and try again.","oie.tooManyRequests":"Too many attempts. Try again later.","E0000010":"Server is unable to respond at the moment.","idx.error.registration.unavailable":"Registration is currently unavailable.","idx.error.user.not.assigned.to.app":"User is not assigned to this application.","idx.error.code.user_not_assigned":"You are not allowed to access this app. To request access, contact an admin."}')},5091:function(e){"use strict";e.exports=JSON.parse('{"defaultLanguage":"en","version":"7.2.1","supportedLanguages":["en","cs","da","de","el","es","fi","fr","hu","id","in","it","ja","ko","ms","nb","nl-NL","ok-PL","pl","pt-BR","ro","ru","sv","th","tr","uk","vi","zh-CN","zh-TW"]}')}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}return n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n(18)}()}));
//# sourceMappingURL=okta-sign-in.no-polyfill.min.js.map