UNPKG

@okta-dfuhriman/okta-auth-js

Version:
107 lines 1.31 MB
/*! 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=[],u=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)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),u=n(6959),l=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(u.e.exports),p=r(a.__exports),h=r(s.__exports),m=n(l.n.exports);function y(){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 v=y();v.create=y,m.default(v),v.default=v,t.default=v,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),u=n(7985),l=n(6959);function c(e){return e&&e.__esModule?e:{default:e}}r.__exports.__esModule=!0,r.__exports.HandlebarsEnvironment=g;var f=o.__exports,d=c(l.e.exports),p=a.__exports,h=s.__exports,m=c(u.l.exports),y=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 v="[object Object]";function g(e,t,n){this.helpers=e||{},this.partials=t||{},this.decorators=n||{},p.registerDefaultHelpers(this),h.registerDefaultDecorators(this)}g.prototype={constructor:g,logger:m.default,log:m.default.log,registerHelper:function(e,t){if(f.toString.call(e)===v){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)===v)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)===v){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(){y.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,u=void 0;o&&(i=o.start.line,a=o.end.line,s=o.start.column,u=o.end.column,e+=" - "+i+":"+s);for(var l=Error.prototype.constructor.call(this,e),c=0;c<n.length;c++)this[n[c]]=l[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:u,enumerable:!0})):(this.column=s,this.endColumn=u))}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),u=n(1221),l=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),y.default(e),v.default(e),g.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),y=f(s.l.exports),v=f(u.l.exports),g=f(l._.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,u=a.e.exports,l=(n=u)&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("each",(function(e,t){if(!t)throw new l.default("Must pass iterator to #each");var n,i=t.fn,a=t.inverse,u=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;u<h;u++)u in e&&p(u,u,u===e.length-1);else if(r.commonjsGlobal.Symbol&&e[r.commonjsGlobal.Symbol.iterator]){for(var m=[],y=e[r.commonjsGlobal.Symbol.iterator](),v=y.next();!v.done;v=y.next())m.push(v.value);for(h=(e=m).length;u<h;u++)p(u,u,u===e.length-1)}else n=void 0,Object.keys(e).forEach((function(e){void 0!==n&&p(n,u-1),n=e,u++})),void 0!==n&&p(n,u-1,!0);return 0===u&&(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 l("function"==typeof e?t.methods:t.properties,n)},r.__exports.resetLoggedProperties=function(){Object.keys(u).forEach((function(e){delete u[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),u=Object.create(null);function l(e,t){return void 0!==e.whitelist[t]?!0===e.whitelist[t]:void 0!==e.defaultValue?e.defaultValue:(function(e){!0!==u[e]&&(u[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),u=n(233),l=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)||g.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"),u=0,l=s.length;u<l&&(s[u]||u+1!==l);u++)s[u]=o.indent+s[u];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 u(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]),(u=O(e.main,u,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 v.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=g.createProtoAccessControl(o);var a=o.allowCallsToHelperMissing||n;y.moveHelperToHooks(r,"helperMissing",a),y.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=l.e.exports,h=(f=p)&&f.__esModule?f:{default:f},m=i.__exports,y=s.__exports,v=u.__exports,g=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=l,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,u)},r.__exports.isEmpty=function(e){return!e&&0!==e||!(!d(e)||0!==e.length)},r.__exports.createFrame=function(e){var t=l({},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={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},a=/[&<>"'`=]/g,s=/[&<>"'`=]/;function u(e){return i[e]}function l(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,u=n.slice,l=o.toString,c=o.hasOwnProperty,f="undefined"!=typeof ArrayBuffer,d="undefined"!=typeof DataView,p=Array.isArray,h=Object.keys,m=Object.create,y=f&&ArrayBuffer.isView,v=isNaN,g=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 E(e){var t=i(e);return"function"===t||"object"===t&&!!e}function x(e){return void 0===e}function S(e){return!0===e||!1===e||"[object Boolean]"===l.call(e)}function k(e){var t="[object "+e+"]";return function(e){return l.call(e)===t}}var T=k("String"),A=k("Number"),P=k("Date"),C=k("RegExp"),R=k("Error"),N=k("Symbol"),I=k("ArrayBuffer"),j=k("Function"),M=t.document&&t.document.childNodes;"object"!=("undefined"==typeof Int8Array?"undefined":i(Int8Array))&&"function"!=typeof M&&(j=function(e){return"function"==typeof e||!1});var L=j,D=k("Object"),F=d&&D(new DataView(new ArrayBuffer(8))),U="undefined"!=typeof Map&&D(new Map),B=k("DataView"),H=F?function(e){return null!=e&&L(e.getInt8)&&I(e.buffer)}:B,V=p||k("Array");function Z(e,t){return null!=e&&c.call(e,t)}var q=k("Arguments");!function(){q(arguments)||(q=function(e){return Z(e,"callee")})}();var K=q;function W(e){return A(e)&&v(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 Y(e){return function(t){return null==t?void 0:t[e]}}var $=Y("byteLength"),J=z($),Q=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/,X=f?function(e){return y?y(e)&&!H(e):J(e)&&Q.test(l.call(e))}:G(!1),ee=Y("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(!E(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,$(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=l.call(t);if(s!==l.call(n))return!1;if(F&&"[object Object]"==s&&H(t)){if(!H(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 u="[object Array]"===s;if(!u&&X(t)){if($(t)!==$(n))return!1;if(t.buffer===n.buffer&&t.byteOffset===n.byteOffset)return!0;u=!0}if(!u){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),u){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 ue(e){if(!E(e))return[];var t=[];for(var n in e)t.push(n);return b&&te(e,t),t}function le(e){var t=ee(e);return function(n){if(null==n)return!1;var r=ue(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),ye=["add"].concat(de,ce,fe),ve=U?le(he):k("Map"),ge=U?le(me):k("WeakMap"),be=U?le(ye):k("Set"),_e=k("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 Ee(e){var t=[];for(var n in e)L(e[n])&&t.push(n);return t.sort()}function xe(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,u=0;u<s;u++){var l=a[u];t&&void 0!==n[l]||(n[l]=i[l])}return n}}var Se=xe(ue),ke=xe(ne),Te=xe(ue,!0);function Ae(e){if(!E(e))return{};if(m)return m(e);var t=function(){};t.prototype=e;var n=new t;return t.prototype=null,n}function Pe(e){return E(e)?V(e)?e.slice():Se({},e):e}function Ce(e){return V(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 x(r)?n:r}function je(e){return e}function Me(e){return e=ke({},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?je:L(e)?De(e,t,n):E(e)&&!V(e)?Me(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 He(){}function Ve(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}oe.toPath=Ce,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 Ke={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},We=qe(Ke),Ge=qe(Oe(Ke)),ze=oe.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Ye=/(.)^/,$e={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Je=/\\|'|\r|\n|\u2028|\u2029/g;function Qe(e){return"\\"+$e[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 E(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)&&(V(s)||K(s)))if(t>1)it(s,t-1,n,r),o=r.length;else for(var u=0,l=s.length;u<l;)r[o++]=s[u++];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)})),ut=nt(st,oe,1);function lt(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 yt(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 vt(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(u.call(r,a,s),W))>=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 gt=vt(1,ht,yt),bt=vt(-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 Et(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 u=i?i[s]:s;r=n(r,t[u],u,t)}return r};return function(e,n,r,o){var i=arguments.length>=3;return t(e,De(n,o,4),r,i)}}var xt=Et(1),St=Et(-1);function kt(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 Pt(e,t,n,r){return ot(e)||(e=we(e)),("number"!=typeof n||r)&&(n=0),gt(e,t,n)>=0}var Ct=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 u=0,l=(e=ot(e)?e:we(e)).length;u<l;u++)null!=(r=e[u])&&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[Ve(e.length-1)];var r=ot(e)?Pe(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=Ve(a,i),u=r[a];r[a]=r[s],r[s]=u}return r.slice(0,t)}function jt(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 Mt=jt((function(e,t,n){Z(e,n)?e[n].push(t):e[n]=[t]})),Lt=jt((function(e,t,n){e[n]=t})),Dt=jt((function(e,t,n){Z(e,n)?e[n]++:e[n]=1})),Ft=jt((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 Ht=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=ue(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})),Vt=O((function(e,t){var n,r=t[0];return L(r)?(r=lt(r),t.length>1&&(n=t[1])):(t=Ot(it(t,!1,!1),String),r=function(e,n){return!Pt(t,n)}),Ht(e,r,n)}));function Zt(e,t,n){return u.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 Kt(e,t,n){return u.call(e,null==t||n?1:t)}var Wt=O((function(e,t){return t=it(t,!0,!0),kt(e,(function(e){return!Pt(t,e)}))})),Gt=O((function(e,t){return Wt(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 u=e[a],l=n?n(u,a,e):u;t&&!n?(a&&i===l||o.push(u),i=l):n?Pt(i,l)||(i.push(l),o.push(u)):Pt(o,u)||o.push(u)}return o}var Yt=O((function(e){return zt(it(e,!0,!0))}));function $t(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($t);function Qt(e,t){return e._chain?oe(t).chain():t}function Xt(e){return wt(Ee(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:E,isNull:function(e){return null===e},isUndefined:x,isBoolean:S,isElement:function(e){return!(!e||1!==e.nodeType)},isString:T,isNumber:A,isDate:P,isRegExp:C,isError:R,isSymbol:N,isArrayBuffer:I,isDataView:H,isArray:V,isFunction:L,isArguments:K,isFinite:function(e){return!N(e)&&g(e)&&!isNaN(parseFloat(e))},isNaN:W,isTypedArray:X,isEmpty:function(e){if(null==e)return!0;var t=ee(e);return"number"==typeof t&&(V(e)||T(e)||K(e))?0===t:0===ee(ne(e))},isMatch:re,isEqual:function(e,t){return se(e,t)},isMap:ve,isWeakMap:ge,isSet:be,isWeakSet:_e,keys:ne,allKeys:ue,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:Ee,methods:Ee,extend:Se,extendOwn:ke,assign:ke,defaults:Te,create:function(e,t){var n=Ae(e);return t&&ke(n,t),n},clone:Pe,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:je,constant:G,noop:He,toPath:Ce,property:Le,propertyOf:function(e){return null==e?He:function(t){return Ie(e,t)}},matcher:Me,matches:Me,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:Ve,now:Ze,escape:We,unescape:Ge,templateSettings:ze,template:function(e,t,n){!t&&n&&(t=n),t=Te({},t,oe.templateSettings);var r=RegExp([(t.escape||Ye).source,(t.interpolate||Ye).source,(t.evaluate||Ye).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 u=function(e){return a.call(this,e,oe)};return u.source="function("+s+"){\n"+i+"}",u},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:ut,throttle:function(e,t,n){var r,o,i,a,s=0;n||(n={});var u=function(){s=!1===n.leading?0:Ze(),r=null,a=e.apply(o,i),r||(o=i=null)},l=function(){var l=Ze();s||!1!==n.leading||(s=l);var c=t-(l-s);return o=this,i=arguments,c<=0||c>t?(r&&(clearTimeout(r),r=null),s=l,a=e.apply(o,i),r||(o=i=null)):r||!1===n.trailing||(r=setTimeout(u,c)),a};return l.cancel=function(){clearTimeout(r),s=0,r=o=i=null},l},debounce:function(e,t,n){var r,o,i,a,s,u=function u(){var l=Ze()-o;t>l?r=setTimeout(u,t-l):(r=null,n||(a=e.apply(s,i)),r||(i=s=null))},l=O((function(l){return s=this,i=l,o=Ze(),r||(r=setTimeout(u,t),n&&(a=e.apply(s,i))),a}));return l.cancel=function(){clearTimeout(r),r=i=s=null},l},wrap:function(e,t){return nt(t,e)},negate:lt,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:yt,indexOf:gt,lastIndexOf:bt,find:_t,detect:_t,findWhere:function(e,t){return _t(e,Me(t))},each:wt,forEach:wt,map:Ot,collect:Ot,reduce:xt,foldl:xt,inject:xt,reduceRight:St,foldr:St,filter:kt,select:kt,reject:function(e,t,n){return kt(e,lt(Be(t)),n)},every:Tt,all:Tt,some:At,any:At,contains:Pt,includes:Pt,include:Pt,invoke:Ct,pluck:Rt,where:function(e,t){return kt(e,Me(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 u=0,l=(e=ot(e)?e:we(e)).length;u<l;u++)null!=(r=e[u])&&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:Mt,indexBy:Lt,countBy:Dt,partition:Ft,toArray:function(e){return e?V(e)?u.call(e):T(e)?e.match(Ut):ot(e)?Ot(e,je):we(e):[]},size:function(e){return null==e?0:ot(e)?e.length:ne(e).length},pick:Ht,omit:Vt,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]:Kt(e,Math.max(0,e.length-t))},rest:Kt,tail:Kt,drop:Kt,compact:function(e){return kt(e,Boolean)},flatten:function(e,t){return it(e,t,!1)},without:Gt,uniq:zt,unique:zt,union:Yt,intersection:function(e){for(var t=[],n=arguments.length,r=0,o=ee(e);r<o;r++){var i=e[r];if(!Pt(t,i)){var a;for(a=1;a<n&&Pt(arguments[a],i);a++);a===n&&t.push(i)}}return t},difference:Wt,unzip:$t,transpose:$t,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(u.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 g.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=H(n(497)),o=H(n(8967)),i=H(n(1017)),a=H(n(9458)),s=H(n(6273)),u=H(n(7277)),l=H(n(2368)),c=H(n(1937)),f=H(n(2857)),d=H(n(4106)),p=H(n(1881)),h=H(n(2514)),m=H(n(8311)),y=H(n(1633)),v=H(n(4691)),g=H(n(6276));n(3378),n(7827),n(5631),n(4329),n(7169),n(2259);var b=H(n(5586)),_=H(n(4818)),w=H(n(1357)),O=H(n(7317)),E=H(n(5480)),x=H(n(5270)),S=H(n(7133)),k=H(n(967)),T=H(n(6637)),A=H(n(5946)),P=H(n(1767)),C=H(n(1648)),R=H(n(3696)),N=H(n(7514)),I=H(n(3452)),j=H(n(7613)),M=H(n(3679)),L=H(n(6565)),D=H(n(2265)),F=H(n(7582)),U=H(n(5771));n(2597);var B=n(6401);function H(e){return e&&e.__esModule?e:{default:e}}n(5725);var V=u.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=V,j.default.prototype.remove=function(){return C.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}),K=N.default.extend({events:Z}),W=S.default.extend({scrollOnError:function(){return!1!==this.options.settings.get("features.scrollOnError")}});t.Form=W;var G=y.default.localize;t.loc=G;var z=c.default.create;t.createButton=z;var Y=D.default.create;t.createCallout=Y;var $=A.default.register;t.registerInput=$;var J=r.default;t.Collection=J;var Q=O.default;t.View=Q;var X=l.default;t.Router=X;var ee={util:{Util:v.default,Cookie:d.default,Clipboard:p.default,Logger:m.default,Class:f.default,Keys:h.default},views:{components:{BaseDropDown:E.default,Notification:x.default},forms:{helpers:{FormUtil:T.default,SchemaFormFactory:P.default},components:{Toolbar:k.default},inputs:{TextBox:q,PasswordBox:K,CheckBox:R.default,Radio:I.default,Select:j.default,InputGroup:M.default}}},models:{BaseSchema:i.default,SchemaProperty:s.default}};t.internal=ee,$("text",q),$("password",K),$("checkbox",R.default),$("radio",I.default),$("select",j.default),$("group",M.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",u="PAGINATION_DATA",l="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),u={href:void 0,rel:void 0};u.href=s;for(var l=a[1].match(n),c=0;c<l.length;c++){var f=l[c].split("=");u[f[0]]='"'===(t=f[1]).charAt(0)&&'"'===t.charAt(t.length-1)?t.substring(1,t.length-1):t}void 0!==u.rel&&(o[u.rel]=u)}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(l,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(l),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(u,e)},getFetchData:function(){return this[a].get(s)||{}},getPaginationData:function(){return this[a].get(u)||{}},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=l;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 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 l(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 y(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 v(e,t){var n,i,a,s=o.default.partial(d,e),u=!o.default.isUndefined(t)&&!o.default.isNull(t);if(Array.isArray(e.validate)){var l,c=[],f=!1;return e.validate.forEach((function(e){if(t)if("regex"===e.type.toLowerCase())l=new RegExp(e.value.pattern,e.value.flags||"").test(t);else l=!1;else l=!1;f=f||!l,c.push({message:e.hasOwnProperty("message")?e.message:"",passed:l})})),f?s(c):void 0}if(e.required&&(!u||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()})))],u&&"any"!==e.type&&(!o.default.isFunction(n)||!n(t)))return s(r.ERROR_WRONG_TYPE);if(t&&"string"===e.type){var h=y(e,t);if(h)return h}if(u&&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 u&&"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=v(n,t[i]);if(a)return a.placeholder}}(e,t))?s(i):void 0}var g={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__={},u=[];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 l={};if(o.default.each(o.default.extend({},s.props,s.local),(function(e,t){var n=p(e,t);o.default.isUndefined(n.value)||(l[t]=n.value),"object"===n.type&&u.push(t)}),this),o.default.size(l)){var f=o.default.result(this,"defaults");this.defaults=function(){return o.default.defaults({},l,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,u)),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=l(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"===u(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&&v(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(g,{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__",u="__rendered__",l="__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[u]=!1,this[l]=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),u=1;u<a;u++)s[u-1]=arguments[u];(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,u){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,u=p.options):r.default.isObject(n)&&(n=(p=n).bubble,i=p.prepend,u=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,u),"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[l]=this,e[f]=function(t){return function(){if(t&&1!==e[l].$(t).length)throw new Error("Invalid selector: "+t);var n=t?this[l].$(t):this[l].$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[l]&&this[l].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[u]=!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[u]},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 y=a;t.default=y,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},u={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())}},l=o.default.extend(u,{ComputedProperty:function(e,t){return t||"function"!=typeof e?t.__attributes=e:t=e,t}});t.default=l,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 u=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},l=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=u(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:l}),f={parseProperties:u,Model:l,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)),u=f(n(6883)),l=f(n(1633)),c=f(n(1826));function f(e){return e&&e.__esModule?e:{default:e}}var d=l.default.localize,p=u.default.STRING,h=u.default.NUMBER,m=u.default.INTEGER,y=u.default.OBJECT,v=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}}),g=i.default.extend({model:v}),b=g.extend({_type:"allOf"}),_=g.extend({_type:"oneOf"}),w=g.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")},E=/[^a-zA-Z0-9-]/,x={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:u.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===u.default.UNIQUENESS.UNIQUE_VALIDATED})),__isPendingUniqueness__:a.default.ComputedProperty(["unique"],(function(e){return e===u.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__:u.default.PERMISSION.READ_ONLY,__displayType__:void 0,__displayTypeLabel__:a.default.ComputedProperty(["__displayType__"],(function(e){return u.default.DATATYPE[e]||e})),__supportsMinMax__:!1,__isReadOnly__:a.default.ComputedProperty(["mutability"],(function(e){return e===u.default.MUTABILITY.READONLY})),__isWriteOnly__:a.default.ComputedProperty(["mutability"],(function(e){return e===u.default.MUTABILITY.WRITEONLY})),__displayScope__:void 0,__isScopeSelf__:a.default.ComputedProperty(["scope"],(function(e){return e===u.default.SCOPE.SELF})),__isNoneScopeArrayType__:a.default.ComputedProperty(["__isScopeSelf__","__displayType__"],(function(e,t){return!e&&u.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(u.default.SUPPORTENUM,e)})),__isNumberTypeEnum__:a.default.ComputedProperty(["__displayType__"],(function(e){return o.default.contains([u.default.NUMBER,u.default.ARRAYDISPLAYTYPE.arrayofnumber],e)})),__isIntegerTypeEnum__:a.default.ComputedProperty(["__displayType__"],(function(e){return o.default.contains([u.default.INTEGER,u.default.ARRAYDISPLAYTYPE.arrayofinteger],e)})),__isObjectTypeEnum__:a.default.ComputedProperty(["__displayType__"],(function(e){return o.default.contains([u.default.OBJECT,u.default.ARRAYDISPLAYTYPE.arrayofobject],e)})),__isStringTypeEnum__:a.default.ComputedProperty(["__displayType__"],(function(e){return o.default.contains([u.default.STRING,u.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?y: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===u.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__=u.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!==u.default.SUPPORTSMINMAX.indexOf(e.__displayType__),e.__displayScope__=u.default.DISPLAYSCOPE[e.scope]||u.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[x[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!==u.default.UNIQUENESS.UNIQUE_VALIDATED&&t!==u.default.UNIQUENESS.PENDING_UNIQUENESS)},_setLoginPattern:function(){if(this.get("__isLoginOfBaseSchema__")){var e=this.get("pattern");".+"===e?this.set("__loginFormatRestriction__",u.default.LOGINPATTERNFORMAT.NONE):e?(this.set("__loginFormatRestriction__",u.default.LOGINPATTERNFORMAT.CUSTOM),this.set("__loginFormatRestrictionCustom__",this._extractLoginPattern(e))):this.set("__loginFormatRestriction__",u.default.LOGINPATTERNFORMAT.EMAIL)}},_updateDisplayType:function(){var e=this.get("type");if(e===p&&this.get("format"))this.set("__displayType__",u.default.FORMATDISPLAYTYPE[this.get("format")]);else{var t=this.get("items"),n=t&&(t.format?t.format:t.type);e&&n?this.set("__displayType__",u.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 u.default.LOGINPATTERNFORMAT.EMAIL:delete e.pattern;break;case u.default.LOGINPATTERNFORMAT.CUSTOM:e.pattern=this._buildLoginPattern(this.get("__loginFormatRestrictionCustom__"));break;case u.default.LOGINPATTERNFORMAT.NONE:e.pattern=".+"}return e},_uniquenessAssignment:function(e){return this.get("__unique__")?this.get("__isUniqueness__")||(e.unique=u.default.UNIQUENESS.UNIQUE_VALIDATED):delete e.unique,e},_escapedRegexChar:function(e,t){var n=e.charAt(t);return E.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(u.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!==u.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")!==u.default.SCOPE.SYSTEM&&(!0===this.get("__isScopeSelf__")?this.set({scope:u.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))}}),k={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(u.default.DISPLAYTYPES[n]),-1!==u.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=k,e.exports=t.default},7277:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(5586)),o=l(n(4818)),i=l(n(2368)),a=l(n(5725)),s=l(n(1889)),u=l(n(7317));function l(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)),u.default.prototype.preinitialize.call(this,e)},constructor:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};u.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(){u.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=u.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)),u=c(n(5725)),l=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:l.default.prototype.listen,constructor:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.el=e.el,this.settings=new u.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 l.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=u(n(928)),o=u(n(5586)),i=u(n(4818)),a=u(n(5771)),s=u(n(2857));function u(e){return e&&e.__esModule?e:{default:e}}var l=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 l(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={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&#039;":"'","&#x2F;":"/"},u=/^(([^<>()[\]\\.,;:\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 l(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=l(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=l(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)&&u.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(/&#x3D;/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 u(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=[],u=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||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,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 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 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),l=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]}}));l&&(t=o.default.map(f(l).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=u(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(u,"").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,u=/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 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(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":u(self))&&self.self===self&&self||"object"==u(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={},l=/\s+/,c=function e(t,r,o,i,a){var s,c=0;if(o&&"object"===u(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&&l.test(o))for(s=o.split(l);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 v(this,e));var u=d(e,t,r,this);if(a=void 0,u)throw u;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,u=0;if(t||a||r){for(i=t?[t]:n.keys(e);u<i.length;u++){var l=e[t=i[u]];if(!l)break;for(var c=[],f=0;f<l.length;f++){var d=l[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);u<i.length;u++)s[i[u]].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&&y(o,r),i&&y(i,[t].concat(r))}return e},y=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}},v=function(e,t){this.id=e._listenId,this.listener=e,this.obj=t,this.interop=!0,this.count=0,this._events=void 0};v.prototype.on=s.on,v.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()},v.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 g=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(g.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"===u(e)?(o=e,r=t):(o={})[e]=t,r||(r={}),!this._validate(o,r))return!1;var i=r.unset,a=r.silent,s=[],l=this._changing;this._changing=!0,l||(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(l)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)},Y(this,e),this.sync("read",this,e)},save:function(e,t,r){var o;null==e||"object"===u(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,l=this.attributes;r.success=function(e){a.attributes=l;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)},Y(this,r),o&&i&&(this.attributes=n.extend({},l,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=l,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):(Y(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:g,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=[],u=[],l=[],c=[],f={},d=t.add,p=t.merge,h=t.remove,m=!1,y=this.comparator&&null==o&&!1!==t.sort,v=n.isString(this.comparator)?this.comparator:null;for(a=0;a<e.length;a++){i=e[a];var g=this.get(i);if(g){if(p&&i!==g){var b=this._isModel(i)?i.attributes:i;t.parse&&(b=g.parse(b,t)),g.set(b,t),l.push(g),y&&!m&&(m=g.hasChanged(v))}f[g.cid]||(f[g.cid]=!0,s.push(g)),e[a]=g}else d&&(i=e[a]=this._prepareModel(i,t))&&(u.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,E=!y&&d&&h;if(s.length&&E?(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):u.length&&(y&&(m=!0),O(this.models,u,null==o?this.length:o),this.length=this.models.length),m&&this.sort({silent:!0}),!t.silent){for(a=0;a<u.length;a++)null!=o&&(t.index=o+a),(i=u[a]).trigger("add",i,this,t);(m||w)&&this.trigger("sort",this,t),(u.length||c.length||l.length)&&(t.changes={added:u,removed:c,merged:l},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)},Y(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 x(this,S)},keys:function(){return new x(this,k)},entries:function(){return new x(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 g},_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 E="function"==typeof Symbol&&Symbol.iterator;E&&(b.prototype[E]=b.prototype.values);var x=function(e,t){this._collection=e,this._kind=t,this._index=0},S=1,k=2,T=3;E&&(x.prototype[E]=function(){return this});x.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===k?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,C)),this._ensureElement(),this.initialize.apply(this,arguments)},P=/^(\S+)\s*(.*)$/,C=["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(P);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)?j(e):n.isString(e)?function(t){return t.get(e)}:e},j=function(e){var t=n.matches(e);return function(e){return t(e.attributes)}},M={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,M,"models"],[g,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 u=o.error;o.error=function(e,t,n){o.textStatus=t,o.errorThrown=n,u&&u.call(o.context,e,t,n)};var l=o.xhr=t.ajax(n.extend(a,o));return r.trigger("request",r,l,o),l};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,H=/\*\w+/g,V=/[\-{}\[\]+?.,\\\^$|#\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(V,"\\$&").replace(U,"(?:$1)?").replace(B,(function(e,t){return t?e:"([^/?]+)"})).replace(H,"([^?]*?)"),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,K=/^\/+|\/+$/g,W=/#.*$/;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(K,"/"),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(W,"");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};g.extend=b.extend=F.extend=A.extend=Z.extend=G;var z=function(){throw new Error('A "url" property or function must be specified')},Y=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 l=i.b.exports;t.default=l,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 u=document.cookie?document.cookie.split("; "):[],l=/(%[0-9A-Z]{2})+/g,c=0;c<u.length;c++){var f=u[c].split("="),d=f[0].replace(l,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(l,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,u,l,c,f,d,p,h,m,y,v,g;for(this.no_results_clear(),l=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,y=(g=this.results_data).length;h<y;h++)if(!(n=g[h]).empty)if(n.group)e("#"+n.dom_id).css("display","none");else{if(t=!1,u=n.dom_id,s=e("#"+u),i.test(n.html))t=!0,l+=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,v=o.length;m<v;m++)r=o[m],i.test(r)&&(t=!0,l+=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&&u===this.result_highlight.attr("id")&&this.result_clear_highlight(),this.result_deactivate(s))}return l<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 u(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 l(){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",u),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":u,"blur.placeholder":l}).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&&l.call(e)):r.hasClass("placeholder")&&u.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(u);setTimeout((function(){e.each(l)}),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 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 l=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 l.trigger.apply(l,arguments),this},listen:function(e,t){return l.off(e,t),this.listenTo(l,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"===u(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 u={click:function(e){e.preventDefault(),e.stopPropagation()}},l=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?u:null)},toggleVisible:function(e){var t=!e||!o.default.result(this,"visible");this.$el.toggleClass("hide",t)}});t.default=l,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 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 l=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||{},l=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(u(a=null!=(a=d(n,"className")||(null!=t?d(t,"className"):t))?a:l)===c?a.call(s,{name:"className",hash:{},data:o,loc:{start:{line:1,column:26},end:{line:1,column:39}}}):a)+'" data-se="'+f(u(a=null!=(a=d(n,"seleniumId")||(null!=t?d(t,"seleniumId"):t))?a:l)===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(l({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||{},l=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(u(a=null!=(a=d(n,"className")||(null!=t?d(t,"className"):t))?a:l)===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(u(a=null!=(a=d(n,"title")||(null!=t?d(t,"title"):t))?a:l)===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 u(e,t){return o.default.resultCtx(e.options,t,e)||o.default.result(e,t)}function l(e){var t="infobox clearfix infobox-"+u(e,"type");switch(u(e,"size")){case"standard":t+="";break;case"slim":t+=" infobox-slim";break;case"compact":t+=" infobox-compact";break;case"large":t+=" infobox-md"}return u(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||{},u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=u(n,"if").call(s,null!=t?u(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=u(n,"icon")||(null!=t?u(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=u(n,"if").call(s,null!=t?u(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=u(n,"if").call(s,null!=t?u(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=u(n,"if").call(s,null!=t?u(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(l(this)),this.template=f;var e=u(this,"content");e&&this.add(e)},getTemplateData:function(){var e=u(this,"type");switch("tip"===e&&(e="light-bulb"),u(this,"size")){case"slim":e="";break;case"large":e=[e,"-","24"].join("");break;default:e=[e,"-","16"].join("")}return{icon:e,title:u(this,"title"),subtitle:u(this,"subtitle"),bullets:u(this,"bullets"),dismissible:u(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 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 l={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||{},l=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(u(a=null!=(a=d(n,"level")||(null!=t?d(t,"level"):t))?a:l)===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(u(a=null!=(a=d(n,"message")||(null!=t?d(t,"message"):t))?a:l)===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,l),!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=g(n(6276)),o=g(n(5586)),i=g(n(4818)),a=g(n(1633)),s=g(n(7317)),u=g(n(2919)),l=g(n(967)),c=g(n(4459)),f=g(n(9661)),d=g(n(6637)),p=g(n(1522)),h=g(n(9388)),m=g(n(7187)),y=g(n(996)),v=g(n(5725));function g(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||{},u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=u(n,"if").call(s,null!=t?u(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=u(n,"layout")||(null!=t?u(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=u(n,"unless").call(s,null!=t?u(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=u(n,"if").call(s,null!=t?u(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 E={submit:function(e){e.preventDefault(),this.__save()}};i.default.each(["click","dblclick","mousedown","mouseup"],(function(e){E[e+" .o-form-input"]=O}));var x=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 v.default,this.id=i.default.uniqueId("form"),this.tagName="form",i.default.defaults(this.events,E),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,x(o.start||"",["request"]),this.__setSavingState),this.listenTo(this.model,x(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 l.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=u.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 y.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 y.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)),u=f(n(7317)),l=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")}))})),u.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(u.default.extend({children:[a.default.create(n)]}))},getCalloutParent:function(){return this.$('input[value="'+this.getModelValue()+'"]').parent()},__getCalloutMsgContainer:function(e){return u.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=l.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=u.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))}},u=o.default.extend(s);t.default=u,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 u="name",l="_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,u);if(o.default.all(e,t))return o.default.chain(e).filter((function(e){return r.default.isPlainObject(e)&&o.default.has(e,u)})).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(l).concat(e)}function y(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 v(e){if(!o.default.isString(e)||0!==e.indexOf(l))return e;var t=e.replace(l,""),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 g(e){return o.default.map(e,v.bind(this))}function b(e){return o.default.map(e,y.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=g,n.from=b):(n.type="select",n.to=v,n.from=y),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=l(n(4818)),o=l(n(2514)),i=l(n(8311)),a=l(n(1633)),s=l(n(6197)),u=l(n(7317));function l(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"],y=r.default.uniq(r.default.union(d,p,h,m,["errorField"])),v=["•         ","•  •      ","•  •  •   ","•  •  •  •","   •  •  •","      •  •","         •","          ","          ","          "];function g(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)}),u.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"),u.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(v[i++%v.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,y);if(r.default.size(s)!==r.default.size(t)){var u=r.default.clone(y);i.default.warn("Invalid input parameters",r.default.without.apply(r.default,[a].concat(c(u))),t)}}else t.label||i.default.warn('A label input must have a "label" parameter',t)},applyShowWhen:function(e,t){s.default.applyDoWhen(e,g(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,g(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=l(n(6276)),o=l(n(4818)),i=l(n(8311)),a=l(n(4691)),s=l(n(1633)),u=l(n(7317));function l(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=u.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(){u.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,u="function",l=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p id="'+l(c(i=null!=(i=f(n,"errorId")||(null!=t?f(t,"errorId"):t))?i:s)===u?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="'+l(c(i=null!=(i=f(n,"iconLabel")||(null!=t?f(t,"iconLabel"):t))?i:s)===u?i.call(a,{name:"iconLabel",hash:{},data:o,loc:{start:{line:1,column:162},end:{line:1,column:175}}}):i)+'"></span>'+l(c(i=null!=(i=f(n,"text")||(null!=t?f(t,"text"):t))?i:s)===u?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 u=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||{},u=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'<label for="'+c(s(i=null!=(i=f(n,"inputId")||(null!=t?f(t,"inputId"):t))?i:u)===l?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:u)===l?i.call(a,{name:"label",hash:{},data:o,loc:{start:{line:1,column:180},end:{line:1,column:189}}}):i)+"&nbsp;</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=u,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 u(e,t){r.default.isFunction(e)&&e.call(t)}var l=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),u(e.initialize,this)},postRender:function(){r.default.each(this.options.bindings||{},s,this),u(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=l,e.exports=t.default},1767:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(4818)),o=u(n(1633)),i=u(n(4125)),a=u(n(7544)),s=u(n(1826));function u(e){return e&&e.__esModule?e:{default:e}}function l(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],u=n.get(i);a&&e.set("__fieldNamePrefix__",a);var l=t[f(e)];s&&u&&(s=r.default.union(s,u)),l&&l.length?o=l: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 u={displayType:o,title:e.get("title"),enumValues:e.getEnumValues()};t=r.default.extend({},s.default.getEnumInputOptions(u),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"),u={type:"text",name:s,label:e.get("title")||s};switch(t){case"arrayofstring":u.input=a.default,u.params={itemType:"string"};break;case"arrayofnumber":u.input=a.default,u.params={itemType:"number"};break;case"arrayofinteger":u.input=a.default,u.params={itemType:"integer"};break;case"arrayofobject":u.input=a.default,u.params={itemType:e.get("items").type};break;case"arrayofref-id":u.input=a.default,u.params={itemType:e.get("items").format};break;case"boolean":u.input=i.default;break;case"integer":case"number":u.to=l;break;case"reference":u.type="select",u.options=c(n);break;case"image":u.readOnly=!0,u.from=function(e){return r.default.isEmpty(e)?"":o.default.localize("user.profile.image.image_set","courage")};break;case"password":u.type="password";break;case"date":u.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 u}(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}},u=o.default.extend({initialize:function(){this.options.options=i,this.options.from=a,this.options.to=s}});t.default=u,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 u=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||{},u=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'<input type="checkbox" name="'+c(s(i=null!=(i=f(n,"name")||(null!=t?f(t,"name"):t))?i:u)===l?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:u)===l?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:u)===l?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:u)===l?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:u)===l?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=u,e.exports=t.default},400: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(1633)),s=l(n(9077)),u=l(n(7317));function l(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,u="function",l=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="'+l(c(i=null!=(i=f(n,"key")||(null!=t?f(t,"key"):t))?i:s)===u?i.call(a,{name:"key",hash:{},data:o,loc:{start:{line:1,column:125},end:{line:1,column:132}}}):i)+'" id="'+l(c(i=null!=(i=f(n,"key")||(null!=t?f(t,"key"):t))?i:s)===u?i.call(a,{name:"key",hash:{},data:o,loc:{start:{line:1,column:138},end:{line:1,column:145}}}):i)+'" value="'+l(c(i=null!=(i=f(n,"value")||(null!=t?f(t,"value"):t))?i:s)===u?i.call(a,{name:"value",hash:{},data:o,loc:{start:{line:1,column:154},end:{line:1,column:163}}}):i)+'" placeholder="'+l(c(i=null!=(i=f(n,"placeholder")||(null!=t?f(t,"placeholder"):t))?i:s)===u?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>'+l(c(i=null!=(i=f(n,"errorExplain")||(null!=t?f(t,"errorExplain"):t))?i:s)===u?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=u.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(){u.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 u=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 l=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(u,{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 l(e),a.default.apply(this,arguments)},editMode:function(){this.inputGroupView.remove(),this.inputGroupView=new l(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:u,InputGroupView:l});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}),u=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=u,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)),u=c(n(7317));n(6160);var l=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=u.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,u="function",l=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<input type="radio" name="'+l(f(i=null!=(i=c(n,"name")||(null!=t?c(t,"name"):t))?i:s)===u?i.call(a,{name:"name",hash:{},data:o,loc:{start:{line:1,column:26},end:{line:1,column:34}}}):i)+'" data-se-name="'+l(f(i=null!=(i=c(n,"realName")||(null!=t?c(t,"realName"):t))?i:s)===u?i.call(a,{name:"realName",hash:{},data:o,loc:{start:{line:1,column:50},end:{line:1,column:62}}}):i)+'" value="'+l(f(i=null!=(i=c(n,"value")||(null!=t?c(t,"value"):t))?i:s)===u?i.call(a,{name:"value",hash:{},data:o,loc:{start:{line:1,column:71},end:{line:1,column:80}}}):i)+'" id="'+l(f(i=null!=(i=c(n,"optionId")||(null!=t?c(t,"optionId"):t))?i:s)===u?i.call(a,{name:"optionId",hash:{},data:o,loc:{start:{line:1,column:86},end:{line:1,column:98}}}):i)+'"><label for="'+l(f(i=null!=(i=c(n,"optionId")||(null!=t?c(t,"optionId"):t))?i:s)===u?i.call(a,{name:"optionId",hash:{},data:o,loc:{start:{line:1,column:112},end:{line:1,column:124}}}):i)+'" data-se-for-name="'+l(f(i=null!=(i=c(n,"realName")||(null!=t?c(t,"realName"):t))?i:s)===u?i.call(a,{name:"realName",hash:{},data:o,loc:{start:{line:1,column:144},end:{line:1,column:156}}}):i)+'" class="radio-label">'+l(f(i=null!=(i=c(n,"label")||(null!=t?c(t,"label"):t))?i:s)===u?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(u.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=l.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)),u=c(n(4691)),l=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,u="function",l=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<select id="'+l(f(i=null!=(i=c(n,"inputId")||(null!=t?c(t,"inputId"):t))?i:s)===u?i.call(a,{name:"inputId",hash:{},data:o,loc:{start:{line:1,column:12},end:{line:1,column:23}}}):i)+'" name="'+l(f(i=null!=(i=c(n,"name")||(null!=t?c(t,"name"):t))?i:s)===u?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,u="function",l=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<option value="'+l(f(i=null!=(i=c(n,"key")||(null!=t?c(t,"key"):t))?i:s)===u?i.call(a,{name:"key",hash:{},data:o,loc:{start:{line:1,column:15},end:{line:1,column:22}}}):i)+'">'+l(f(i=null!=(i=c(n,"value")||(null!=t?c(t,"value"):t))?i:s)===u?i.call(a,{name:"value",hash:{},data:o,loc:{start:{line:1,column:24},end:{line:1,column:33}}}):i)+"</option>"},useData:!0}),h=u.default.isSafari;function m(e){return this.params.autoWidth?e.call(this):i.default.defer(i.default.bind(e,this))}function y(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(),u=i.height()-20,l=Math.min(a+u-s,240);t.css("max-height",l)}function v(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=l.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 u={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(){y(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(),y(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(u),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 g=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),v(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=g,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 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 l="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||{},l=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(u(a=null!=(a=d(n,"type")||(null!=t?d(t,"type"):t))?a:l)===c?a.call(s,{name:"type",hash:{},data:o,loc:{start:{line:1,column:179},end:{line:1,column:187}}}):a)+'" placeholder="'+f(u(a=null!=(a=d(n,"placeholder")||(null!=t?d(t,"placeholder"):t))?a:l)===c?a.call(s,{name:"placeholder",hash:{},data:o,loc:{start:{line:1,column:202},end:{line:1,column:217}}}):a)+'" name="'+f(u(a=null!=(a=d(n,"name")||(null!=t?d(t,"name"):t))?a:l)===c?a.call(s,{name:"name",hash:{},data:o,loc:{start:{line:1,column:225},end:{line:1,column:233}}}):a)+'" id="'+f(u(a=null!=(a=d(n,"inputId")||(null!=t?d(t,"inputId"):t))?a:l)===c?a.call(s,{name:"inputId",hash:{},data:o,loc:{start:{line:1,column:239},end:{line:1,column:250}}}):a)+'" value="'+f(u(a=null!=(a=d(n,"value")||(null!=t?d(t,"value"):t))?a:l)===c?a.call(s,{name:"value",hash:{},data:o,loc:{start:{line:1,column:259},end:{line:1,column:268}}}):a)+'" aria-label="'+f(u(a=null!=(a=d(n,"placeholder")||(null!=t?d(t,"placeholder"):t))?a:l)===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(l),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(l)},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=u(n(6276)),o=u(n(4818)),i=u(n(6883)),a=u(n(1648)),s=u(n(400));function u(e){return e&&e.__esModule?e:{default:e}}var l=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=l,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 l.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 u.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)),u=p(n(4818)),l=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)}},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\.\(\)]+$/,u=/^DUO_OPEN_WINDOW\|/,l=["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 y(e){h(document,"DOMContentLoaded","onreadystatechange",e)}function v(e){m(document,"DOMContentLoaded","onreadystatechange",e)}function g(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(u)))}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=E(r);o?N(o,r.iframeAttributes||{}):R(r),v(O)}function E(e){var t;return e.iframe&&e.iframeContainer?f("Passing both `iframe` and `iframeContainer` arguments at the same time is not allowed."):e.iframe?k(t=x(e.iframe)):e.iframeContainer?T(t=x(e.iframeContainer)):t=document.getElementById("duo_iframe"),t}function x(e){return e.tagName?e:"string"==typeof e?document.getElementById(e):null}function S(e){return e&&e.tagName&&"iframe"===e.tagName.toLowerCase()}function k(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 P(e){if(w(e))if(e.data.match(u)){var t=e.data.substring("DUO_OPEN_WINDOW|".length);C(t)&&window.open(t,"_self")}else I(e.data),b(P)}function C(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<l.length;n++)if(t.hostname.endsWith("."+l[n])||t.hostname===l[n])return!0;return!1}function R(e){y((function t(){var n=E(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||{}),v(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 u in i=document.createElement("iframe"),s.src=A(),s)i.setAttribute(u,s[u]);a.appendChild(i)}g(P)}function I(t){e(t+":"+o)}return c(),{init:O,_onReady:y,_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 u(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,u=e.ctx,l="transition-from-right";return e.dir&&e.dir===o.default.DIRECTION_BACK&&(l="transition-from-left"),a.addClass(l),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(l),a.removeAttr("style"),s.call(u),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 u(r,0,180).then((function(){t.css({clip:"auto"})})).then((function(){var e=r.eq(0);return n(),u(e,180,360)})).then((function(){t.css({clip:"rect(0px, 96px, 96px, 48px)"}),r.css({transform:"rotate(0deg)","text-indent":"1px"})}))};var l=a;t.default=l,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]}},u=s;t.default=u,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},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}},u=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=u(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=u(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 l=a;t.default=l,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",u=a.asyncIterator||"@@asyncIterator",l=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:E(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 y(){}var v={};c(v,s,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(A([])));b&&b!==t&&o.call(b,s)&&(v=b);var _=y.prototype=h.prototype=Object.create(v);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,u){var l=d(e[i],e,a);if("throw"!==l.type){var c=l.arg,f=c.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,s,u)}),(function(e){r("throw",e,s,u)})):t.resolve(f).then((function(e){c.value=e,s(c)}),(function(e){return r("throw",e,s,u)}))}u(l.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 E(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 P()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=x(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 u=d(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function x(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,x(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 k(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:P}}function P(){return{value:void 0,done:!0}}return m.prototype=y,i(_,"constructor",{value:y,configurable:!0}),i(y,"constructor",{value:m,configurable:!0}),m.displayName=c(y,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,y):(e.__proto__=y,c(e,l,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},w(O.prototype),c(O.prototype,u,(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(_,l,"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(k),!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"),u=o.call(i,"finallyLoc");if(s&&u){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(!u)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),k(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;k(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),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).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,u,"next",e)}function u(e){o(a,r,i,s,u,"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 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.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 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.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 l.apply(this,arguments)},t.executeHooksBefore=function(e){return u.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"),u=t.get("supportedLanguages"),l=setTimeout((function(){e.trigger("loading",!0)}),200);return r.default.loadLanguage(n,i,{baseUrl:a,rewrite:s},u).then((function(){clearTimeout(l),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 u={},l=["responseType","scopes","state","nonce","idp","idpScope","display","prompt","maxAge","loginHint"];u.AUTH_PARAMS=l,u.getTokens=function(e,t,n){function s(t){e.callGlobalSuccess(o.default.SUCCESS,t)}function u(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,l),t),p.popupTitle=(0,r.loc)("socialauth.popup.title","login"),p.timeout=d.oAuthTimeout,"always"===d.redirect||f?c.token.getWithRedirect(p).catch(u):p.sessionToken?c.token.getWithoutPrompt(p).then(s).catch(u):c.token.getWithPopup(p).then(s).catch(u)};var c=u;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 u={MILLISECOND:"milliseconds",SECOND:"seconds",MINUTE:"minutes",HOUR:"hours",DAY:"days"},l=Object.keys(u),c={getTimeInHighestRelevantUnit:function(e,t){var n,i=u[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=l.filter((function(e){return u[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 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 l={},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 u=i.split("&");u.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}l.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"===u(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},l.toLower=function(e){return r._.map(e,(function(e){return e.toLowerCase()}))},l.expandLanguages=function(e){return r._.chain(e).map(p).flatten().uniq().value()},l.callAfterTimeout=function(e,t){return setTimeout(e,t)},l.debugMessage=function(e){i.default.warn("\n".concat(e.replace(/^(\s)+/gm,"")))},l.logConsoleError=function(e){i.default.error(e)},l.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)},l.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?l.redirectWithFormGet(e):t.location.href=e:i.default.error("Cannot redirect to empty URL: (".concat(e,")"))},l.redirectWithFormGet=function(e){l.redirectWithForm(e,"get")},l.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,")"))},l.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},l.isV1StateToken=function(e){return!!(e&&r._.isString(e)&&e.startsWith("00"))};var h=l;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},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||{},u=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=u(n,"name")||(null!=t?u(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=u(n,"if").call(s,null!=t?u(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"},u=function(e){var t=e.name,n=(void 0===t?"":t).split(".")[1];return s[n]||"system"},l=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,u),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(l,{options:{groupName:t,scopes:o}})}))}});t.default=c,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,u=null!=t?t:e.nullContext||{},l=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:l)===c?s.call(u,{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:l)===c?s.call(u,{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(u,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},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},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},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 y.apply(this,arguments)};var r,o=n(2183),i=(r=n(1806))&&r.__esModule?r:{default:r},a=n(4817),s=n(5549);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 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,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:E(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 y(){}var v={};c(v,i,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(A([])));b&&b!==t&&n.call(b,i)&&(v=b);var _=y.prototype=h.prototype=Object.create(v);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 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 E(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 P()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=x(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 u=d(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function x(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,x(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 k(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:P}}function P(){return{value:void 0,done:!0}}return m.prototype=y,r(_,"constructor",{value:y,configurable:!0}),r(y,"constructor",{value:m,configurable:!0}),m.displayName=c(y,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,y):(e.__proto__=y,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(k),!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"),u=n.call(i,"finallyLoc");if(s&&u){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(!u)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),k(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;k(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),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).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(l().mark((function e(t,n,r){var o;return l().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(l().mark((function e(t){var n,r=arguments;return l().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 y(){return(y=f(l().mark((function e(t,n){var r,o,i;return l().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(2811),s=n(3707);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 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,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:E(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 y(){}var v={};c(v,i,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(A([])));b&&b!==t&&n.call(b,i)&&(v=b);var _=y.prototype=h.prototype=Object.create(v);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 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 E(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 P()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=x(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 u=d(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function x(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,x(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 k(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:P}}function P(){return{value:void 0,done:!0}}return m.prototype=y,r(_,"constructor",{value:y,configurable:!0}),r(y,"constructor",{value:m,configurable:!0}),m.displayName=c(y,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,y):(e.__proto__=y,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(k),!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"),u=n.call(i,"finallyLoc");if(s&&u){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(!u)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),k(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;k(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),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).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(l().mark((function e(t,n){var r,u,c,f,d,p,h,m;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.interactionCode,u=t.getAuthClient(),e.next=4,u.idx.getSavedTransactionMeta();case 4:if(c=e.sent,f=u.options.state||(null==c?void 0:c.state),(d="remediation"===t.get("mode"))&&u.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",u.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(){u.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},u={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=u,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 u={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=u;var l=[u.IDENTIFY,u.SUCCESS_REDIRECT,u.ENROLL_PROFILE,u.DEVICE_ENROLLMENT_TERMINAL,u.CONSENT_ADMIN,u.CONSENT_ENDUSER,u.CONSENT_GRANULAR,u.CONSENT_EMAIL_CHALLENGE,u.USER_CODE];t.FORMS_WITHOUT_SIGNOUT=l;var c=[u.SELECT_AUTHENTICATOR_ENROLL,u.SELECT_AUTHENTICATOR_AUTHENTICATE];t.FORMS_WITH_STATIC_BACK_LINK=c;var f=[u.SELECT_AUTHENTICATOR_AUTHENTICATE,u.CHALLENGE_AUTHENTICATOR,u.CHALLENGE_POLL,u.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={},u.SELECT_AUTHENTICATOR_UNLOCK,i.default.UNLOCK_ACCOUNT),s(o,u.IDENTIFY,i.default.PRIMARY_AUTH),s(o,u.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=[u.TERMINAL,u.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,u,l=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(u={},l.FORMS.IDENTIFY,(f(r={},l.FORMS.IDENTIFY,"primary-auth"),f(r,l.AUTHENTICATOR_KEY.PASSWORD,"primary-auth"),r)),f(u,l.FORMS.IDENTIFY_RECOVERY,f({},l.FORMS.IDENTIFY_RECOVERY,"forgot-password")),f(u,l.FORMS.ENROLL_PROFILE,f({},l.FORMS.ENROLL_PROFILE,"registration")),f(u,l.FORMS.CHALLENGE_AUTHENTICATOR,(f(o={},l.AUTHENTICATOR_KEY.EMAIL,"mfa-verify-passcode"),f(o,l.AUTHENTICATOR_KEY.PASSWORD,"mfa-verify-password"),f(o,"sms","mfa-verify-passcode"),f(o,"voice","mfa-verify-passcode"),f(o,l.AUTHENTICATOR_KEY.SECURITY_QUESTION,"mfa-verify-question"),f(o,l.AUTHENTICATOR_KEY.WEBAUTHN,"mfa-verify-webauthn"),f(o,l.AUTHENTICATOR_KEY.ON_PREM,"mfa-verify-totp"),f(o,l.AUTHENTICATOR_KEY.RSA,"mfa-verify-totp"),f(o,l.AUTHENTICATOR_KEY.OV,"mfa-verify"),f(o,l.AUTHENTICATOR_KEY.GOOGLE_OTP,"mfa-verify"),f(o,l.AUTHENTICATOR_KEY.DUO,"mfa-verify-duo"),f(o,l.AUTHENTICATOR_KEY.SYMANTEC_VIP,"mfa-verify"),f(o,l.AUTHENTICATOR_KEY.YUBIKEY,"mfa-verify"),f(o,l.AUTHENTICATOR_KEY.CUSTOM_APP,"mfa-verify"),o)),f(u,l.FORMS.CHALLENGE_POLL,(f(i={},l.AUTHENTICATOR_KEY.OV,"mfa-verify"),f(i,l.AUTHENTICATOR_KEY.CUSTOM_APP,"mfa-verify"),i)),f(u,l.FORMS.RESEND_PUSH,(f(a={},l.AUTHENTICATOR_KEY.OV,"mfa-verify"),f(a,l.AUTHENTICATOR_KEY.CUSTOM_APP,"mfa-verify"),a)),f(u,l.FORMS.ENROLL_AUTHENTICATOR,(f(s={},l.AUTHENTICATOR_KEY.EMAIL,"enroll-email"),f(s,l.AUTHENTICATOR_KEY.PASSWORD,"enroll-password"),f(s,"sms","enroll-sms"),f(s,"voice","enroll-call"),f(s,l.AUTHENTICATOR_KEY.SECURITY_QUESTION,"enroll-question"),f(s,l.AUTHENTICATOR_KEY.WEBAUTHN,"enroll-webauthn"),f(s,l.AUTHENTICATOR_KEY.ON_PREM,"enroll-onprem"),f(s,l.AUTHENTICATOR_KEY.RSA,"enroll-rsa"),f(s,l.AUTHENTICATOR_KEY.DUO,"enroll-duo"),f(s,l.AUTHENTICATOR_KEY.SYMANTEC_VIP,"enroll-symantec"),f(s,l.AUTHENTICATOR_KEY.YUBIKEY,"enroll-yubikey"),s)),f(u,l.FORMS.SELECT_AUTHENTICATOR_ENROLL,{"select-authenticator-enroll":"enroll-choices"}),f(u,l.FORMS.SELECT_AUTHENTICATOR_AUTHENTICATE,f({},l.AUTHENTICATOR_KEY.PASSWORD,"forgot-password")),f(u,l.FORMS.REENROLL_AUTHENTICATOR,f({},l.AUTHENTICATOR_KEY.PASSWORD,"password-expired")),f(u,l.FORMS.REENROLL_CUSTOM_PASSWORD_EXPIRY,f({},l.AUTHENTICATOR_KEY.PASSWORD,"custom-password-expired")),f(u,l.FORMS.RESET_AUTHENTICATOR,f({},l.AUTHENTICATOR_KEY.PASSWORD,"forgot-password")),f(u,l.FORMS.CONSENT_ADMIN,f({},l.FORMS.CONSENT_ADMIN,"admin-consent-required")),f(u,l.FORMS.CONSENT_ENDUSER,f({},l.FORMS.CONSENT_ENDUSER,"consent-required")),u),p=function(e,t,n,r){if(r&&e===l.FORMS.IDENTIFY)return"forgot-password";var o=e;return t===l.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),u=n(4817),l=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."],y=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"},l.I18N_BASE_ATTRIBUTE_ENROLL_PROFILE_MAPPINGS),v=p({},u.FORMS.ENROLL_AUTHENTICATOR,(p(r={},u.AUTHENTICATOR_KEY.ON_PREM,{getParam:s.getAuthenticatorDisplayName}),p(r,u.AUTHENTICATOR_KEY.RSA,{getParam:s.getAuthenticatorDisplayName}),r)),g={"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(v[r]&&v[r][t]){var o=v[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)}})),y[e]&&(t=y[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,l=s?".".concat(t.relatesTo.value.key):"",c="".concat(t.name).concat(l,"."),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===u.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)}))}))}},E=function(e){var t;if(null!==(t=e.i18n)&&void 0!==t&&t.key){var n,r,s=e.i18n.key,u=e.i18n.params||[];if(1===u.length&&""===u[0]&&(u=[]),y[null===(n=e.i18n)||void 0===n?void 0:n.key])s=y[null===(r=e.i18n)||void 0===r?void 0:r.key];else if(g[s]){var l,c=null===(l=e.i18n.params)||void 0===l?void 0:l[0];s=function(e,t){var n=e;return g[n][t]?n+=".".concat(t):n+=".custom",n}(s,c),u=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",u);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=E;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=E(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)},u=function(e){return!!e.messages},l=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,u=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(u)}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]}},y=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=l(t.rawIdxState),o=c(t),i=Object.assign({},r,o,{idx:t});return u(i)&&h(i)&&m(e,i),f(e,i),p(i),u(i)||d(e,i,n),i};t.default=y,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,u,l,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===(u=s.value)||void 0===u||null===(l=u.value)||void 0===l?void 0:l.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=l,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 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}function l(){var e,t,n,r,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],u=a.find((function(e){return e.relatesTo.key===i.AUTHENTICATOR_KEY.OV})),l=null==u||null===(e=u.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==l?void 0:l.options;if(c){var f=[];c.forEach((function(e){var t=s(u.value.form.value),n=u.value.form.value.findIndex((function(e){return"methodType"===e.name})),i=Object.assign(o._.omit(l,"options"),e);i.required=!0,i.mutable=!1,t.splice(n,1,i);var a=Object.assign({},u,{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&&(u.relatesTo.deviceKnown?a.unshift(r):a.push(r))}}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return l(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 u=function(e){var t={};return e.forEach((function(e){var n=e.value,r=e.label;t[n]=r})),t},l={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,l),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({"":""},u(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=u(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},u=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",u=(0,s[a])(r,n,t,e,o);return Object.assign({},r,i,u)}))},l=function(e,t){return t&&(t.remediations=t.remediations.map((function(n){return n.uiSchema=u(t,n,e),n}))),t};t.default=l,e.exports=t.default},3721: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(4817),a=u(n(6282)),s=n(2945);function u(e){return e&&e.__esModule?e:{default:e}}var l=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,u=e.escapeExpression,l=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="'+u((l(n,"i18n")||t&&l(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(\''+u("function"==typeof(i=null!=(i=l(n,"logoUri")||(null!=t?l(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,u=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="factor-icon authenticator-icon '+u("function"==typeof(i=null!=(i=l(n,"iconClassName")||(null!=t?l(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="'+u((l(n,"i18n")||t&&l(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||{},u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="authenticator-icon-container">'+(null!=(i=u(n,"if").call(s,null!=t?u(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=u(n,"label")||(null!=t?u(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=u(n,"if").call(s,null!=t?u(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=u(n,"if").call(s,null!=t?u(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=u(n,"if").call(s,null!=t?u(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:l,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},9118: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||{},u=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="factor-icon authenticator-icon '+c(a(i=null!=(i=f(n,"iconClassName")||(null!=t?f(t,"iconClassName"):t))?i:u)===l?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")||u).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:u)===l?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,u=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="factor-icon authenticator-icon '+u("function"==typeof(i=null!=(i=l(n,"iconClassName")||(null!=t?l(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="'+u((l(n,"i18n")||t&&l(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||{},u=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'<p class="authenticator-description--text '+c(a(i=null!=(i=f(n,"noTranslateClassName")||(null!=t?f(t,"noTranslateClassName"):t))?i:u)===l?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:u)===l?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||{},u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="authenticator-icon-container">'+(null!=(i=u(n,"if").call(s,null!=t?u(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=u(n,"if").call(s,null!=t?u(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=u(n,"label")||(null!=t?u(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=u(n,"if").call(s,null!=t?u(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=u(n,"if").call(s,null!=t?u(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")}}),u=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=u,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=u(n(9118)),a=u(n(6190)),s=n(2423);function u(e){return e&&e.__esModule?e:{default:e}}var l=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=l;var c=o.BaseView.extend({Header:o.BaseHeader.extend({HeaderBeacon:l}),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(9118));function a(e){return e&&e.__esModule?e:{default:e}}var s="Okta_Authenticator",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,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<h3>"+s((u(n,"i18n")||t&&u(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((u(n,"i18n")||t&&u(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((u(n,"i18n")||t&&u(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((u(n,"i18n")||t&&u(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((u(n,"i18n")||t&&u(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})}),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,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<ol class="ov-enrollment-info"><li>'+s((u(n,"i18n")||t&&u(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((u(n,"i18n")||t&&u(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((u(n,"i18n")||t&&u(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((u(n,"i18n")||t&&u(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?l:u;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,u=e.escapeExpression,l=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="'+u((l(n,"i18n")||t&&l(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(\''+u("function"==typeof(i=null!=(i=l(n,"logoUri")||(null!=t?l(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=l(n(6276)),o=n(2048),i=n(3966),a=n(4817),s=n(4397),u=l(n(5964));function l(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(u.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}],u=[];this.showForgotPasswordLink()&&(u=(0,s.getForgotPasswordLink)(n,r));var l=[];r.get("helpLinks.custom")&&r.get("helpLinks.custom").forEach((function(e){e.name="custom",e.label=e.text,l.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}),u.concat(c).concat(i).concat(l)}});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,u=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,u=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<div>"+u((l(n,"i18n")||t&&l(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>"+u((l(n,"i18n")||t&&l(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="'+u("function"==typeof(i=null!=(i=l(n,"enrollmentLink")||(null!=t?l(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">'+u((l(n,"i18n")||t&&l(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>"+u((l(n,"i18n")||t&&l(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>"+u((l(n,"i18n")||t&&l(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>"+u((l(n,"i18n")||t&&l(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=u,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 u=o.internal.views.components.Notification,l=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,u=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<li>"+u((l(n,"i18n")||t&&l(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="'+u("function"==typeof(i=null!=(i=l(n,"appStoreLink")||(null!=t?l(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">'+u((l(n,"i18n")||t&&l(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>"+u((l(n,"i18n")||t&&l(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>"+u((l(n,"i18n")||t&&l(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,u=null!=t?t:e.nullContext||{},l=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")||l).call(u,{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(u,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(u,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")||l).call(u,{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")||l).call(u,{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:l)===f?a.call(u,{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:l)===f?a.call(u,{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")||l).call(u,{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")||l).call(u,{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;l.attach(".copy-clipboard-button").done((function(){var t=new u({message:(0,o.loc)("enroll.mdm.copyLink.success","login"),level:"success"});return e.el.prepend(t.render().el),!1})),l.attach(".copy-org-clipboard-button").done((function(){var t=new u({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,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="explanation" data-se="subheader">'+s((u(n,"i18n")||t&&u(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((u(n,"i18n")||t&&u(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((u(n,"i18n")||t&&u(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((u(n,"i18n")||t&&u(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((u(n,"i18n")||t&&u(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((u(n,"i18n")||t&&u(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((u(n,"i18n")||t&&u(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((u(n,"i18n")||t&&u(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((u(n,"i18n")||t&&u(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((u(n,"i18n")||t&&u(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,u=null!=t?t:e.nullContext||{},l=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")||l).call(u,{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")||l).call(u,{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")||l).call(u,{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")||l).call(u,{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:l)===f?a.call(u,{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:l)===f?a.call(u,{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")||l).call(u,{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")||l).call(u,{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;l.attach(".copy-org-clipboard-button").done((function(){var t=new u({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 u=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||{},u=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'<input type="checkbox" name="'+c(s(i=null!=(i=f(n,"name")||(null!=t?f(t,"name"):t))?i:u)===l?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:u)===l?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:u)===l?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:u)===l?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:u)===l?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:u)===l?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=u,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},6568: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 u=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=u,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))}))},u={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=u,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=l(n(1806)),a=n(2945),s=l(n(5331)),u=n(3974);function l(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,u.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:[],l=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)},y=function(){i.default.error("Something unexpected happened while we were checking port ".concat(t,"."))},v=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:l}),timeout:a.CHALLENGE_TIMEOUT}).done((function(){return d=!0,n.trigger("save",n.model)})).fail((function(e){h++,503!==e.status?(p=!0,(0,u.cancelPollingWithParams)(n.options.appState,n.pollingCancelAction,a.AUTHENTICATION_CANCEL_REASONS.OV_ERROR,e.status)):h===o.length&&(0,u.cancelPollingWithParams)(n.options.appState,n.pollingCancelAction,a.AUTHENTICATION_CANCEL_REASONS.LOOPBACK_FAILURE,null)}))})).fail(y)},g=Promise.resolve();o.forEach((function(e){g=g.then((function(){if(!d&&!p)return t=e,v()})).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,u.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)),u=c(n(6568)),l=n(3927);function c(e){return e&&e.__esModule?e:{default:e}}var f=o.View.extend({Header:i.default,Body:a.default,Footer:u.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,l.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 u.default}}),Object.defineProperty(t,"BaseOktaVerifyChallengeView",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"BaseView",{enumerable:!0,get:function(){return l.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(6568)),i=f(n(1586)),a=f(n(6596)),s=f(n(5962)),u=f(n(3861)),l=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 l(e)},t.getAuthenticatorDataForVerification=function(e){return l(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 l({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 u=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""},l=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:u(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:u(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:u(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:u(e)});break;case a.AUTHENTICATOR_KEY.WEBAUTHN:Object.assign(s,{description:t?"":(0,o.loc)("oie.webauthn.description","login"),iconClassName:"mfa-webauthn",buttonDataSeAttr:u(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:u(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:u(e)});break;case a.AUTHENTICATOR_KEY.ON_PREM:var l,c=(null===(l=e.relatesTo)||void 0===l?void 0:l.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:u(e)});break;case a.AUTHENTICATOR_KEY.RSA:Object.assign(s,{description:t?"":(0,o.loc)("oie.rsa.authenticator.description","login"),iconClassName:"mfa-rsa",buttonDataSeAttr:u(e)});break;case a.AUTHENTICATOR_KEY.DUO:Object.assign(s,{description:t?"":(0,o.loc)("oie.duo.authenticator.description","login"),iconClassName:"mfa-duo",buttonDataSeAttr:u(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:u(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:u(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:u(e)});break;case a.AUTHENTICATOR_KEY.YUBIKEY:Object.assign(s,{description:t?"":(0,o.loc)("oie.yubikey.authenticator.description","login"),iconClassName:"mfa-yubikey",buttonDataSeAttr:u(e)});break;case a.AUTHENTICATOR_KEY.CUSTOM_APP:var m,y;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:u(e),iconClassName:"mfa-custom-app-logo",logoUri:(null==e||null===(y=e.relatesTo)||void 0===y?void 0:y.logoUri)||""});break;case a.AUTHENTICATOR_KEY.SMARTCARD:Object.assign(s,{description:t?"":(0,o.loc)("oie.smartcard.authenticator.description","login"),iconClassName:"mfa-smartcard",buttonDataSeAttr:u(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,u,f=e.getDeviceChallengePayload(),d=null===(n=e.options)||void 0===n||null===(u=n.settings)||void 0===u?void 0:u.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,u=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+u((l(n,"i18n")||t&&l(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="'+u("function"==typeof(i=null!=(i=l(n,"downloadOVLink")||(null!=t?l(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">'+u((l(n,"i18n")||t&&l(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,u="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(l(i=null!=(i=f(n,"hideClass")||(null!=t?f(t,"hideClass"):t))?i:s)===u?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(l(i=null!=(i=f(n,"hideClass")||(null!=t?f(t,"hideClass"):t))?i:s)===u?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),u=n&&n.includes(s.OV_UV_ENABLE_BIOMETRICS_FASTPASS_DESKTOP),l=[];if(!a&&!u)return l;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")];u&&c.push((0,o.loc)("oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.point4","login"));return l={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=u(n(6276)),o=n(2048),i=u(n(5115)),a=u(n(7516)),s=n(2945);function u(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 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 u=t;function l(){i.off(),i.remove(),window.removeEventListener("message",f,!1)}function c(e){l(),o(e)}function f(t){if(u.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?(l(),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){u(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 u(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 l=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(l)?[Object.assign({},n,{actionPath:l})]:[]};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 u="security.access_denied_custom_message",l=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,u=r||i;return u&&s&&!this.settings.get("features.showIdentifier")?e=(0,o.loc)("oie.success.text.signingIn.with.appName.and.identifier","login",[u,s]):u&&(e=(0,o.loc)("oie.success.text.signingIn.with.appName","login",[u])),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(u)){var t=this.options.appState.get("messages").value.find((function(e){return e.i18n.key===u})),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:l});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 u=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)}}),l=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:u,Footer:l,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),u=n(8089),l=(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}}),y=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,u.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(l.default,{prepend:n,selector:n?".o-form-fieldset-container":".o-form-button-bar",options:{idpButtons:e,isPrimaryIdpDisplay:n}})}});t.default=y,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=v(n(5110)),s=v(n(2068)),u=v(n(5964)),l=v(n(8870)),c=v(n(4972)),f=v(n(4393)),d=v(n(6434)),p=n(6589),h=n(4397),m=v(n(9256)),y=v(n(9895));function v(e){return e&&e.__esModule?e:{default:e}}function g(e){return g="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},g(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"!==g(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==g(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===g(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",E=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 y.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(u.default,{selector:".links-primary",options:e[0]}))},_addIdpView:function(e){var t=this.options.settings.get("idpDisplay"),n=t&&"PRIMARY"===t.toUpperCase();this.add(l.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)}}),x=i.BaseView.extend({Body:E,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),u=a["credentials.passcode"]&&!(null!=t&&t["credentials.passcode"]);return s&&(0,p.isCustomizedI18nKey)(n,e.settings)&&(i.identifier=(0,r.loc)(n,"login")),u&&(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=x,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){u(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 u(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 l=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:l,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 u=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}}}),l=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 u(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:l});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(6568))&&r.__esModule?r:{default:r},s=n(4397);var u=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=u;var l=o.BaseView.extend({Body:u,Footer:a.default.extend({links:function(){return(0,s.getFactorPageCustomLink)(this.options.appState,this.options.settings)}})});t.default=l},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),u=f(n(7853)),l=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",y="idx.error.server.safe.mode",v="oie.selfservice.unlock_user.success.message",g="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",E="idx.transferred.to.new.tab",x="oie.registration.is.not.enabled";t.REGISTRATION_NOT_ENABLED=x;var S="oie.forgot.password.is.not.enabled";t.FORGOT_PASSWORD_NOT_ENABLED=S;var k,T=[E,"idx.return.stale","idx.return.error","idx.email.verification.required",g,h,b,"idx.operation.cancelled.by.user",m],A=[w,O],P=[_].concat(A),C=[v,g,E,b].concat(function(e){if(Array.isArray(e))return p(e)}(k=P)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(k)||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}}(k)||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,v,"account.unlock.unlocked.title"),d(o,_,"device.code.activated.success.title"),d(o,x,"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,g,"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(P)){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(y))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(g)?(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(l.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(y)?(0,s.getSkipSetupLink)(this.options.appState):this.options.appState.containsMessageWithI18nKey(A)?(0,s.getReloadPageButtonLink)():this.options.appState.hasActionObject("cancel")||this.options.appState.containsMessageWithI18nKey(C)?void 0:(0,s.getBackToSignInLink)(this.options)}}),j=a.BaseView.extend({initialize:function(){a.BaseView.prototype.initialize.apply(this,arguments),this.options.appState.containsMessageWithI18nKey(T)&&(this.Header=u.default)},Body:N,Footer:I});t.default=j},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 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 l="OktaSignInWidgetOnCaptchaLoaded",c="OktaSignInWidgetOnCaptchaSolved",f="https://hcaptcha.com/1/api.js?onload=".concat(l,"&render=explicit"),d="https://www.google.com/recaptcha/api.js?onload=".concat(l,"&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,l="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(u(i=null!=(i=f(n,"className")||(null!=t?f(t,"className"):t))?i:s)===l?i.call(a,{name:"className",hash:{},data:o,loc:{start:{line:1,column:63},end:{line:1,column:76}}}):i)+'" data-sitekey="'+c(u(i=null!=(i=f(n,"siteKey")||(null!=t?f(t,"siteKey"):t))?i:s)===l?i.call(a,{name:"siteKey",hash:{},data:o,loc:{start:{line:1,column:92},end:{line:1,column:103}}}):i)+'" data-callback="'+c(u(i=null!=(i=f(n,"onCaptchaSolvedCallback")||(null!=t?f(t,"onCaptchaSolvedCallback"):t))?i:s)===l?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=u(n(1332)),a=u(n(2020)),s=n(6589);function u(e){return e&&e.__esModule?e:{default:e}}var l=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",u=i.map((function(e){var t=e.name,n=e.displayName,r=e.description,i="".concat(a,".").concat(t),u="".concat(i,".label"),l="".concat(i,".desc"),c=(0,s.doesI18NKeyExist)(u),f=(0,s.doesI18NKeyExist)(l);return{name:t,displayName:c?(0,o.loc)(u,"login"):n,description:f?(0,o.loc)(l,"login"):r,isCustomized:!c}}));return t.extend({props:{scopes:{type:"array",value:u}},local:{consent:{type:"boolean",value:!1}},toJSON:function(){return{consent:this.get("consent")}}})}});t.default=l,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||{},u=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'<img class="client-logo custom-logo" src="'+c(a(i=null!=(i=f(n,"customLogo")||(null!=t?f(t,"customLogo"):t))?i:u)===l?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:u)===l?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||{},u=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'<img class="client-logo default-logo" src="'+c(a(i=null!=(i=f(n,"defaultLogo")||(null!=t?f(t,"defaultLogo"):t))?i:u)===l?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:u)===l?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,u=null!=t?t:e.nullContext||{},l=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(u,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(u,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(u,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:l)===c?s.call(u,{name:"appName",hash:{},data:o,loc:{start:{line:1,column:399},end:{line:1,column:410}}}):s)+"</b>&nbsp;"+f(a(s=null!=(s=d(n,"titleText")||(null!=t?d(t,"titleText"):t))?s:l)===c?s.call(u,{name:"titleText",hash:{},data:o,loc:{start:{line:1,column:420},end:{line:1,column:433}}}):s)+"</span>"+(null!=(i=d(n,"if").call(u,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,u=(0,i.loc)("logo.for.the.app.alt.text","login"),l=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:u,appName:l,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")},u=function(e,t){var n,r,o,a,u,l,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&&(l=(u=(0,i.loc)("idx.return.link.otponly.browser.on.os","login",[d.browser,d.os])).includes("Android")||u.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||u||c,appName:a,browserOnOsString:u,isMobileDevice:l,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}},l=i.View.extend({getTemplateData:function(){return u(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||{},u=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=u(n,"if").call(s,null!=t?u(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=u(n,"browserOnOsString")||(null!=t?u(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,u=null!=t?t:e.nullContext||{},l=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:l)===c?s.call(u,{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:l)===c?s.call(u,{name:"otp",hash:{},data:o,loc:{start:{line:1,column:92},end:{line:1,column:99}}}):s)+"</h1>"+(null!=(i=d(n,"if").call(u,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(u,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(u,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(u,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")||l).call(u,{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=l},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 u=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=u,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||{},u=e.hooks.helperMissing,l=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="'+l("function"==typeof(a=null!=(a=c(n,"termsOfService")||(null!=t?c(t,"termsOfService"):t))?a:u)?a.call(s,{name:"termsOfService",hash:{},data:o,loc:{start:{line:1,column:56},end:{line:1,column:74}}}):a)+'" target="_blank">'+l((c(n,"i18n")||t&&c(t,"i18n")||u).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">&#8226</span>'},4:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,u=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="privacy-policy" href="'+u("function"==typeof(i=null!=(i=l(n,"privacyPolicy")||(null!=t?l(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">'+u((l(n,"i18n")||t&&l(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=l(n(6276)),o=n(2048),i=n(3966),a=l(n(2020)),s=l(n(894)),u=l(n(7853));function l(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:u.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)),u=c(n(9098)),l=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,u="function",l=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="'+l(f(i=null!=(i=c(n,"customLogo")||(null!=t?c(t,"customLogo"):t))?i:s)===u?i.call(a,{name:"customLogo",hash:{},data:o,loc:{start:{line:1,column:149},end:{line:1,column:163}}}):i)+'" alt="'+l(f(i=null!=(i=c(n,"altText")||(null!=t?c(t,"altText"):t))?i:s)===u?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,u="function",l=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="'+l(f(i=null!=(i=c(n,"defaultLogo")||(null!=t?c(t,"defaultLogo"):t))?i:s)===u?i.call(a,{name:"defaultLogo",hash:{},data:o,loc:{start:{line:1,column:255},end:{line:1,column:270}}}):i)+'" alt="'+l(f(i=null!=(i=c(n,"altText")||(null!=t?c(t,"altText"):t))?i:s)===u?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:l.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:u.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)}})),u=a.default.extend({Body:s});t.default=u,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")}})),u=a.default.extend({Body:s});t.default=u,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)}}))}}),u=i.BaseView.extend({Body:s});t.default=u,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)),u=n(3974),l=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,u.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,u.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:l.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)),u=c(n(7413)),l=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)}}),y=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)}}),v=l.default.extend({postRender:function(){var e=this;this.$el.click((function(t){t.preventDefault(),e.options.appState.trigger("switchBackToPreselect")}))}}),g=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=u.default,this.Body=e.isAndroidAppLink?d:m;break;case s.default.MDM:this.Body=y}},handleUpdateDeviceEnrollmentView:function(e){this.Body=e?p:h,this.backLink=this.add(v,{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=g,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 u=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}})}}),l=i.default.extend({hasBackToSignInLink:!1}),c=o.BaseView.extend({Body:u,Footer:l});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}}),u=i.default.extend({Body:s});t.default=u,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}}),u=i.default.extend({Body:s});t.default=u,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=l(n(2307)),a=l(n(894)),s=l(n(8876)),u=l(n(6596));function l(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=u.default.extend(Object.assign({save:function(){return(0,r.loc)("mfa.challenge.verify","login")},initialize:function(){u.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,u=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}}}),l=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(u,{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:l});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()}})),u=o.default.extend({Body:s});t.default=u,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,u=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()}})),l=i.default.extend({Body:u});t.default=l,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")}})),u=a.default.extend({Body:s});t.default=u,e.exports=t.default},8313: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(3966),a=l(n(894)),s=l(n(7876)),u=l(n(6598));function l(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:u.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,u=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((u(n,"i18n")||t&&u(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((u(n,"i18n")||t&&u(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,u=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 barcode-setup-title">'+u((l(n,"i18n")||t&&l(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">'+u((l(n,"i18n")||t&&l(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='+u("function"==typeof(i=null!=(i=l(n,"href")||(null!=t?l(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">'+u((l(n,"i18n")||t&&l(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")}}),u=a.default.extend({Body:s});t.default=u,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")}}),u=a.default.extend({Body:s});t.default=u,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)}})),u=a.default.extend({Body:s});t.default=u,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 u=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)}}),l=o.default.extend({Body:u});t.default=l,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}})),u=a.default.extend({Body:s});t.default=u,e.exports=t.default},3527:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(894)),o=n(1879),i=u(n(3328)),a=u(n(2138)),s=n(4817);function u(e){return e&&e.__esModule?e:{default:e}}var l=r.default.extend({initialize:function(){var e,t,n;r.default.prototype.initialize.apply(this,arguments);var u=null===(e=this.options)||void 0===e||null===(t=e.appState)||void 0===t?void 0:t.get("currentAuthenticator"),l=null==u?void 0:u.methods[0];(null==l?void 0:l.type)===s.AUTHENTICATOR_METHODS.PUSH&&null!=u&&null!==(n=u.contextualData)&&void 0!==n&&n.correctAnswer?this.Body=a.default:(null==l?void 0:l.type)===s.AUTHENTICATOR_METHODS.PUSH?this.Body=o.Body:this.Body=i.default}});t.default=l,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,u=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<ol class="qrcode-info ov-info"><li>'+u((l(n,"i18n")||t&&l(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>"+u((l(n,"i18n")||t&&l(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>"+u((l(n,"i18n")||t&&l(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='+u("function"==typeof(i=null!=(i=l(n,"href")||(null!=t?l(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="'+u((l(n,"i18n")||t&&l(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)),u=c(n(8949)),l=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:l.default}),e.push({View:u.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=u(n(894)),a=u(n(2646)),s=u(n(8949));function u(e){return e&&e.__esModule?e:{default:e}}var l=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 u={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(u),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:l,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,u=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+u((l(n,"i18n")||t&&l(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">'+u("function"==typeof(i=null!=(i=l(n,"correctAnswer")||(null!=t?l(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=u(n(4563)),a=u(n(7273)),s=u(n(5683));function u(e){return e&&e.__esModule?e:{default:e}}var l=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=l;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 u(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}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(u(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,u=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((u(n,"i18n")||t&&u(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((u(n,"i18n")||t&&u(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=l(n(9118)),a=l(n(894)),s=n(4397),u=n(6589);function l(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,u.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),u=n(8089);function l(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,u.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=l(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)}}),u=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}}),l=a.default.extend({Body:s,Footer:u});t.default=l,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")}}}),u=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)||{},u=s.profile,l=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!=u&&u.phoneNumber?u.phoneNumber:(0,o.loc)("oie.phone.alternate.title","login"),type:"string"}},l.prototype.local);return l.extend({local:c})}});t.default=u,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,"&nbsp;<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 u=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,"&nbsp;<span class='").concat(i,"'>").concat(this.model.escape("phoneNumber"),".</span>\n        &nbsp;").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})}})),l=i.default.extend({Body:u,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=l},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 u=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 u=r._.find(e,(function(e){return"authenticator.methodType"===e.name}));return u&&1===u.options.length&&(u.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))}}),l=i.default.extend({Body:u,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=l,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 u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):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 u=i.ResendView.extend({className:"phone-authenticator-enroll--warning hide",resendActionKey:"currentAuthenticator-resend"}),l=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(u,{selector:".o-form-info-container",prepend:!0})}}),c=i.default.extend({Body:l});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 u=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()}}),l=i.default.extend({Header:a.default,Body:u,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=l,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}}),u=a.default.extend({Body:s});t.default=u,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")}}),u=a.default.extend({Body:s});t.default=u,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 u=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=u,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),u=n(5582),l=n(4817);var c=u.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()?l.AUTHENTICATOR_KEY.OV:l.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")===l.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),u=c(n(894)),l=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")===l.AUTHENTICATOR_KEY.OV},isCustomApp:function(){return this.options.appState.get("authenticatorKey")===l.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=u.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||{},u=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"<li><a href="+c(i(a=null!=(a=f(n,"url")||(null!=t?f(t,"url"):t))?a:u)===l?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:u)===l?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),u=n(4817),l=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(u.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,l.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,l.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",u.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")}}),u=i.default.extend({Body:s});t.default=u,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)),u=h(n(5331)),l=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:l.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,u=r._.extend({},s,{allowCredentials:i,challenge:a.default.strToBin(s.challenge)});navigator.credentials.get({publicKey:u,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)}}),y=i.default.extend({Body:m,Footer:f.default,postRender:function(){i.default.prototype.postRender.apply(this,arguments),s.default.isNewApiAvailable()&&!u.default.isSafari()&&this.form.getCredentialsAndSave()}});t.default=y,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)),u=c(n(7520)),l=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:u.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),u=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:u,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,l.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 u=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})}),l=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:u,selector:".o-form-fieldset-container"}),e}}),c=a.default.extend({Body:l});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,u=r.clientId,l=r.redirectUri,c=Object.assign({},{el:s,clientId:u,redirectUri:l,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,u){var l,c,f=new Promise((function(e,t){l=e,c=t})),d=o.$.extend(!0,{},t,n,{authClient:r,hooks:u,globalSuccessFn:function(e){a&&a(e),e&&e.status===i.default.SUCCESS&&l(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},1680:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OktaAuth=void 0;var r=n(2811),o=(0,r.createIdxOptionsConstructor)(),i=(0,r.createIdxStorageManager)(),a=(0,r.createIdxTransactionManager)(),s=(0,r.createOktaAuthOAuth)(i,o,a),u=(0,r.mixinIdx)(s);t.OktaAuth=u},2181:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(8935).OktaSignIn;t.default=r,e.exports=t.default},8935: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,a=n(2048),s=(i=n(1806))&&i.__esModule?i:{default:i},u=n(2183),l=n(1680),c=n(2953),f=n(2343),d=n(1474);function p(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 h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}function m(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=v(e);if(t){var o=v(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 v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===d[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))}));var g=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&&h(e,t)}(i,e);var t,n,r,o=m(i);function i(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),t=o.call(this,e),!1!==e.useClassicEngine)throw s.default.error("This version of the Okta Signin Widget only supports OIE. Remove `useClassicEngine` option or set it to `false`."),new u.ConfigError((0,a.loc)("error.config"));return t}return t=i,n&&p(t.prototype,n),r&&p(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}((0,f.createOktaSignIn)(l.OktaAuth,c.routerClassFactory));t.OktaSignIn=g;var b=g;t.default=b},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 u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(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=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&&u(e,t)}(c,e);var t,n,r,o=l(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)),u=h(n(5331)),l=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 y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}function v(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 g(this,n)}}function g(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]},E={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=u.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,l,c=d.default.toLower(d.default.expandLanguages(r));for(s=0;s<c.length;s++)if((l=o.indexOf(c[s]))>-1)return t[l]}},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}},x=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&&y(e,t)}(c,e);var t,n,r,o=v(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=E;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 l.ConfigError((0,i.loc)("error.invalid.colors.brand"))):u.default.corsIsNotSupported()&&this.callGlobalError(new l.UnsupportedBrowserError((0,i.loc)("error.unsupported.cors"))):this.callGlobalError(new l.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 l.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=x,e.exports=t.default},2953:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.routerClassFactory=function(e){if(e.stateToken&&o.default.isV1StateToken(e.stateToken))throw new i.ConfigError("This version of the Sign-in Widget does not support Classic Engine");return r.default};var r=a(n(3829)),o=a(n(7516)),i=n(2183);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 u=n(9369);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 l=n(6303);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 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)),u=n(2048),l=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||!u._.contains(n,e))return(0,s.default)({});var o=!l.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 y={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 u._.each(u._.keys(e),(function(n){t[n.toLowerCase()]=e[n]})),u._.mapObject(t,(function(e){var t={login:{},country:{}};if(!u._.isObject(e))throw new Error('Invalid format for "i18n"');return u._.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),l=e.toLowerCase();return m(e,n,r).then((function(t){o.login=u._.extend({},a.default,t.login),o.country=u._.extend({},i.default,t.country),o.courage=u._.extend({},a.default,t.login),s[l]&&(u._.extend(o.login,s[l].login),u._.extend(o.country,s[l].country),u._.extend(o.courage,s[l].login)),o.currentLanguage=e}))}};t.default=y,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 u(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(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&&v(e,t)}function f(e){var t=y();return function(){var n,r=g(e);if(t){var o=g(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,g(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),v(r,e)},h(e)}function m(e,t,n){return m=y()?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&&v(o,n.prototype),o},m.apply(null,arguments)}function y(){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 v(e,t){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},v(e,t)}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}var b=function(e){c(n,e);var t=f(n);function n(e){var r;return l(this,n),r=t.call(this,e),Object.setPrototypeOf(p(r),(this instanceof n?this.constructor:void 0).prototype),r}return u(n)}(h(Error)),_=function(e){c(n,e);var t=f(n);function n(e){var r;return l(this,n),(r=t.call(this,e||(0,i.loc)("error.config"))).name=a.default.CONFIG_ERROR,r}return u(n)}(b);t.ConfigError=_;var w=function(e){c(n,e);var t=f(n);function n(e){var r;return l(this,n),(r=t.call(this,e||(0,i.loc)("error.unsupported.browser"))).name=a.default.UNSUPPORTED_BROWSER_ERROR,r}return u(n)}(b);t.UnsupportedBrowserError=w;var O=function(e){c(n,e);var t=f(n);function n(){var e;l(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 u(n)}(b);t.OAuthError=O;var E=function(e){c(n,e);var t=f(n);function n(){var e;l(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 u(n)}(b);t.RegistrationError=E;var x=function(e){c(n,e);var t=f(n);function n(){var e;l(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 u(n)}(b);t.AuthStopPollInitiationError=x;var S=function(e){c(n,e);var t=f(n);function n(e){var r;return l(this,n),(r=t.call(this,e.xhr.responseJSON.errorSummary)).name=a.default.U2F_ERROR,r.xhr=e.xhr,r}return u(n)}(b);t.U2FError=S;var k=function(e){c(n,e);var t=f(n);function n(e){var r;return l(this,n),(r=t.call(this,e.xhr.responseJSON.errorSummary)).name=a.default.WEB_AUTHN_ERROR,r.xhr=e.xhr,r}return u(n)}(b);t.WebAuthnError=k;var T=function(e){c(n,e);var t=f(n);function n(){var e;l(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 u(n)}(b);t.WebauthnAbortError=T;var A=function(e){c(n,e);var t=f(n);function n(e,r){var o;return l(this,n),(o=t.call(this,e)).name=a.default.CONFIGURED_FLOW_ERROR,o.flowSetting=r,o}return u(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 v(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 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=c(e);if(t){var o=c(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(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})),y=function(e){a(n,e);var t=u(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=y;var v=function(e){a(n,e);var t=u(n);function n(){return p(this,n),t.apply(this,arguments)}return d(n)}(y);t.RecoverableError=v;var g=function(e){a(n,e);var t=u(n);function n(){return p(this,n),t.apply(this,arguments)}return d(n)}(y);t.NonRecoverableError=g;var b=function(e){a(n,e);var t=u(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}(v);t.ClockDriftError=b;var _=function(e){a(n,e);var t=u(n);function n(e){return p(this,n),t.call(this,e,h)}return d(n)}(v);t.UserNotAssignedError=_;var w=function(e){a(n,e);var t=u(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}(v);t.JITProfileProvisioningError=w;var O=function(e){a(n,e);var t=u(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}(g);t.MfaRequiredError=O},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 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 l(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"!==u(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===u(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"===u(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",y="beacon-small beacon-loading";function v(e){return e&&e.equals(a.default)}function g(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 l(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,l="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(u(i=null!=(i=f(n,"logo")||(null!=t?f(t,"logo"):t))?i:s)===l?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(u(i=null!=(i=f(n,"logoText")||(null!=t?f(t,"logoText"):t))?i:s)===l?i.call(a,{name:"logoText",hash:{},data:o,loc:{start:{line:1,column:108},end:{line:1,column:120}}}):i)+' logo" aria-label="'+c(u(i=null!=(i=f(n,"logoText")||(null!=t?f(t,"logoText"):t))?i:s)===l?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&&v(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(){g(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(){g(n),b(n,e,r,t)})).done();case"swap":return i.default.swapBeacons({$el:o,swap:function(){var i=v(n.currentBeacon);g(n),i&&(o.removeClass(y),n.$el.removeClass(m)),b(n,e,r,t)}}).done();case"load":return o.addClass(y),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&&!v(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(){g(e),t.removeClass(y)})).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)),u=w(n(6141)),l=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)),y=w(n(6681)),v=n(9637),g=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 E(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){x(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 x(e,t,n){return(t=P(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",u=i.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 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 y={};l(y,a,(function(){return this}));var v=Object.getPrototypeOf,g=v&&v(v(A([])));g&&g!==t&&n.call(g,a)&&(y=g);var b=m.prototype=p.prototype=Object.create(y);function _(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function i(o,a,s,u){var l=f(e[o],e,a);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==r(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){i("next",e,s,u)}),(function(e){i("throw",e,s,u)})):t.resolve(d).then((function(e){c.value=e,s(c)}),(function(e){return i("throw",e,s,u)}))}u(l.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 P()}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 u=f(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.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 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 k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,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:P}}function P(){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=l(m,u,"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,l(e,u,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},_(w.prototype),l(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),l(b,u,"Generator"),l(b,a,(function(){return this})),l(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(k),!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"),u=n.call(i,"finallyLoc");if(s&&u){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(!u)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),k(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;k(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 k(e,t,n,r,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).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){k(i,r,o,a,s,"next",e)}function s(e){k(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,P(r.key),r)}}function P(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 C(e,t){return C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},C(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 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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&C(e,t)}(P,e);var t,n,r,w,O,x,k=R(P);function P(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,P),(t=k.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(l.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=P,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:(x=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,v.updateAppState)(this.appState,t.details);case 4:case"end":return e.stop()}}),e,this)}))),function(){return x.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)(E({},t)),e.next=4,(0,v.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,l,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]:{},y.default.getLastInitiatedLoginUrl()!==window.location.href&&y.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,v.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,v.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,v.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")&&!u.default.isLoaded()&&(l={brand:this.settings.get("colors.brand")},c=this.settings.get("cspNonce"),u.default.addStyle(l,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&&g.default.setUsernameCookie(r)}else g.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}),P}(o.Router);j.prototype.Events=o.Backbone.Events;var M=j;t.default=M,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 u(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 l(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"},y=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){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}({routes:m},e))}return t=a,(n=[{key:"defaultAuth",value:function(){this.render(i.default)}}])&&l(t.prototype,n),r&&l(t,r),Object.defineProperty(t,"prototype",{writable:!1}),a}(o.default);t.default=y,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",u=a.asyncIterator||"@@asyncIterator",l=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:E(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 y(){}var v={};c(v,s,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(A([])));b&&b!==t&&o.call(b,s)&&(v=b);var _=y.prototype=h.prototype=Object.create(v);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,u){var l=d(e[i],e,a);if("throw"!==l.type){var c=l.arg,f=c.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,s,u)}),(function(e){r("throw",e,s,u)})):t.resolve(f).then((function(e){c.value=e,s(c)}),(function(e){return r("throw",e,s,u)}))}u(l.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 E(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 P()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=x(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 u=d(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function x(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,x(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 k(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:P}}function P(){return{value:void 0,done:!0}}return m.prototype=y,i(_,"constructor",{value:y,configurable:!0}),i(y,"constructor",{value:m,configurable:!0}),m.displayName=c(y,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,y):(e.__proto__=y,c(e,l,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},w(O.prototype),c(O.prototype,u,(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(_,l,"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(k),!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"),u=o.call(i,"finallyLoc");if(s&&u){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(!u)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),k(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;k(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),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,o)}function u(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,u,"next",e)}function u(e){s(i,r,o,a,u,"throw",e)}a(void 0)}))}}function l(){return(l=u(r().mark((function e(t){var n,o,a,s,u,l,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 u={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",u);case 9:return l=t.get("otp"),e.next=12,n.idx.proceed(i(i({},o),{},{otp:l}));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 l.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(u(e))return l(e);return e=c(e)},t.formatIDXError=c,t.formatInvalidRecoveryTokenError=i,t.formatOIEConfigurationError=l,t.formatOIENotEnabledError=s,t.isInvalidRecoveryTokenError=o,t.isOIEConfigurationError=u,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 u(e){return(null==e?void 0:e.error)&&e.error_description}function l(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=y;var o,i=n(2183),a=n(2839),s=(o=n(6681))&&o.__esModule?o:{default:o},u=n(5549);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 c(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){f(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 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",u=i.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 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:E(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 y(){}var v={};l(v,a,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(A([])));b&&b!==t&&n.call(b,a)&&(v=b);var _=y.prototype=h.prototype=Object.create(v);function w(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function i(o,a,s,u){var l=f(e[o],e,a);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==r(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){i("next",e,s,u)}),(function(e){i("throw",e,s,u)})):t.resolve(d).then((function(e){c.value=e,s(c)}),(function(e){return i("throw",e,s,u)}))}u(l.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 E(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 P()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=x(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 u=f(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function x(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,x(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 k(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:P}}function P(){return{value:void 0,done:!0}}return m.prototype=y,o(_,"constructor",{value:y,configurable:!0}),o(y,"constructor",{value:m,configurable:!0}),m.displayName=l(y,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,y):(e.__proto__=y,l(e,u,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},w(O.prototype),l(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(_),l(_,u,"Generator"),l(_,a,(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(k),!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"),u=n.call(i,"finallyLoc");if(s&&u){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(!u)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),k(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;k(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),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).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 y(e){return v.apply(this,arguments)}function v(){return(v=h(d().mark((function e(t){var n,r,o,l,f,p,h,v,g,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,l=t.get("nonce")||(null==o?void 0:o.nonce),f=c({exchangeCodeForTokens:!1},l&&{nonce:l}),!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!==u.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===(v=b.context)||void 0===v||null===(g=v.messages)||void 0===g?void 0:g.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",y(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=u(n(9256)),o=u(n(6681)),i=n(9108),a=n(4817),s=u(n(3856));function u(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 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 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,o){var i=t&&t.prototype instanceof h?t:h,a=Object.create(i.prototype),s=new T(o||[]);return r(a,"_invoke",{value:E(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 y(){}var v={};u(v,i,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(A([])));b&&b!==t&&n.call(b,i)&&(v=b);var _=y.prototype=h.prototype=Object.create(v);function w(e){["next","throw","return"].forEach((function(t){u(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 E(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 P()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=x(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 u=d(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function x(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,x(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 k(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:P}}function P(){return{value:void 0,done:!0}}return m.prototype=y,r(_,"constructor",{value:y,configurable:!0}),r(y,"constructor",{value:m,configurable:!0}),m.displayName=u(y,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,y):(e.__proto__=y,u(e,s,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},w(O.prototype),u(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(_),u(_,s,"Generator"),u(_,i,(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(k),!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"),u=n.call(i,"finallyLoc");if(s&&u){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(!u)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),k(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;k(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),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).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,u,l,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),u=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 l=e.sent,t.get("currentFormName")===a.FORMS.TERMINAL&&t.unset("currentFormName",{silent:!0}),e.abrupt("return",l);case 12:e.next=16;break;case 14:u&&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,u),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),u=n(4817),l=m(n(7516)),c=m(n(6681)),f=n(2811),d=n(5549),p=n(2183),h=n(9637);function m(e){return e&&e.__esModule?e:{default:e}}function y(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */y=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 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 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:E(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={};l(v,a,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(A([])));b&&b!==t&&n.call(b,a)&&(v=b);var _=m.prototype=p.prototype=Object.create(v);function w(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function i(o,a,s,u){var l=f(e[o],e,a);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==r(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){i("next",e,s,u)}),(function(e){i("throw",e,s,u)})):t.resolve(d).then((function(e){c.value=e,s(c)}),(function(e){return i("throw",e,s,u)}))}u(l.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 E(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 P()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=x(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 u=f(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function x(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,x(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 k(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:P}}function P(){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=l(m,u,"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,l(e,u,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},w(O.prototype),l(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(_),l(_,u,"Generator"),l(_,a,(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(k),!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"),u=n.call(i,"finallyLoc");if(s&&u){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(!u)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),k(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;k(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 v(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 g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(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),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).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");u.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(y().mark((function n(){var r,i,a,s,u,l,f,d,h;return y().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,u=a.settings,l=s.get("idx"),f=l.context.stateHandle,d={exchangeCodeForTokens:!1,stateHandle:f},"cancel"!==r){n.next=13;break}if(u.getAuthClient().transactionManager.clear({clearIdxResponse:!1}),c.default.removeStateHandle(),s.clearAppStateCache(),!u.get("oauth2Enabled")){n.next=13;break}return s.trigger("restartLoginFlow"),n.abrupt("return");case 13:if(!l.neededToProceed.find((function(e){return e.name===r}))){n.next=17;break}d=g(g({},d),{},{step:r}),n.next=26;break;case 17:if(!o._.isFunction(l.actions[r])){n.next=21;break}d=g(g({},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(y().mark((function n(){var r,o,i;return y().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(y().mark((function n(){var r,o,i,s,p,h,m,v,b,_,w;return y().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(),l.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(g(g({},p),{},{step:r,stateHandle:m},i));case 22:if((v=n.sent).status!==f.IdxStatus.FAILURE){n.next=25;break}throw v.error;case 25:if(!a.default.isIdxSessionExpiredError(v)){n.next=31;break}return t.settings.getAuthClient().transactionManager.clear(),n.next=30,t.handleIdxResponse(v);case 31:if(!1!==v.requestDidSucceed||v.stepUp){n.next=35;break}return n.next=34,t.showFormErrors(e,v,t.formView.form);case 35:if(b=t.handleIdxResponse.bind(t,v),r!==u.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=u.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(y().mark((function i(){var s,u,c,f,d,p;return y().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}:(l.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===(u=d)||void 0===u?void 0:u.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(y().mark((function n(){return y().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),u=n(5010),l=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",u=i.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 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:E(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 y(){}var v={};l(v,a,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(A([])));b&&b!==t&&n.call(b,a)&&(v=b);var _=y.prototype=h.prototype=Object.create(v);function w(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function i(o,a,s,u){var l=f(e[o],e,a);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==r(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){i("next",e,s,u)}),(function(e){i("throw",e,s,u)})):t.resolve(d).then((function(e){c.value=e,s(c)}),(function(e){return i("throw",e,s,u)}))}u(l.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 E(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 P()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=x(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 u=f(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function x(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,x(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 k(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:P}}function P(){return{value:void 0,done:!0}}return m.prototype=y,o(_,"constructor",{value:y,configurable:!0}),o(y,"constructor",{value:m,configurable:!0}),m.displayName=l(y,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,y):(e.__proto__=y,l(e,u,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},w(O.prototype),l(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(_),l(_,u,"Generator"),l(_,a,(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(k),!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"),u=n.call(i,"finallyLoc");if(s&&u){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(!u)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),k(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;k(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),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).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 y(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=_(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)}}},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)}(_,e);var t,n,r,f,m,b=g(_);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&&u._.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=u._.isEqual(u._.nestedOmit(e.idx.rawIdxState,["expiresAt","refresh","stateHandle","headers"]),u._.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&&u._.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 u._.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(!u._.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,l.executeHooksBefore)(s);case 10:return this.unset("currentFormName",{silent:!0}),this.set({currentFormName:a}),e.next=14,(0,l.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=u._.isEqual(u._.nestedOmit(e.idx.rawIdxState,["expiresAt","refresh","stateHandle","headers"]),u._.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&&y(t.prototype,n),r&&y(t,r),Object.defineProperty(t,"prototype",{writable:!1}),_}(o.Model);t.default=E,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,u,l,c,f=_e(n(1806)),d=n(4817),p=n(3966),h=_e(n(4307)),m=_e(n(771)),y=_e(n(7311)),v=_e(n(5674)),g=_e(n(9306)),b=_e(n(1762)),_=_e(n(5927)),w=_e(n(6647)),O=_e(n(2754)),E=_e(n(7802)),x=_e(n(6769)),S=_e(n(8326)),k=_e(n(1989)),T=_e(n(3289)),A=_e(n(4497)),P=_e(n(9357)),C=_e(n(4449)),R=_e(n(7196)),N=_e(n(5582)),I=_e(n(1146)),j=_e(n(5718)),M=_e(n(8329)),L=_e(n(4590)),D=_e(n(8872)),F=_e(n(5070)),U=_e(n(7033)),B=_e(n(1198)),H=_e(n(3385)),V=_e(n(1378)),Z=_e(n(560)),q=_e(n(1117)),K=_e(n(6621)),W=_e(n(2317)),G=_e(n(1490)),z=_e(n(4050)),Y=_e(n(6558)),$=_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)),ue=_e(n(6768)),le=_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)),ye=_e(n(7060)),ve=_e(n(1879)),ge=_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 Ee="_",xe=(Oe(c={},d.FORMS.IDENTIFY,Oe({},Ee,h.default)),Oe(c,d.FORMS.IDENTIFY_RECOVERY,Oe({},Ee,y.default)),Oe(c,d.FORMS.DEVICE_CHALLENGE_POLL,Oe({},Ee,x.default)),Oe(c,d.FORMS.LAUNCH_AUTHENTICATOR,Oe({},Ee,k.default)),Oe(c,d.FORMS.DEVICE_APPLE_SSO_EXTENSION,(Oe(r={},Ee,S.default),Oe(r,d.AUTHENTICATOR_KEY.OV,re.default),r)),Oe(c,d.FORMS.CANCEL_TRANSACTION,Oe({},Ee,S.default)),Oe(c,d.FORMS.ENROLL_PROFILE,Oe({},Ee,A.default)),Oe(c,d.FORMS.ENROLL_PROFILE_UPDATE,Oe({},Ee,P.default)),Oe(c,d.FORMS.POLL,Oe({},Ee,b.default)),Oe(c,d.FORMS.REQUEST_ACTIVATION,Oe({},Ee,C.default)),Oe(c,d.FORMS.SELECT_AUTHENTICATOR_ENROLL,Oe({},Ee,R.default)),Oe(c,d.FORMS.AUTHENTICATOR_ENROLLMENT_DATA,(Oe(o={},d.AUTHENTICATOR_KEY.PHONE,B.default),Oe(o,d.AUTHENTICATOR_KEY.EMAIL,Y.default),o)),Oe(c,d.FORMS.CONSENT_ADMIN,Oe({},Ee,_.default)),Oe(c,d.FORMS.CONSENT_ENDUSER,Oe({},Ee,w.default)),Oe(c,d.FORMS.CONSENT_GRANULAR,Oe({},Ee,O.default)),Oe(c,d.FORMS.CONSENT_EMAIL_CHALLENGE,Oe({},Ee,E.default)),Oe(c,d.FORMS.ENROLL_AUTHENTICATOR,(Oe(i={},d.AUTHENTICATOR_KEY.DUO,ue.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,j.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,K.default),Oe(i,d.AUTHENTICATOR_KEY.YUBIKEY,ye.default),i)),Oe(c,d.FORMS.CHALLENGE_AUTHENTICATOR,(Oe(a={},d.AUTHENTICATOR_KEY.CUSTOM_OTP,de.default),Oe(a,d.AUTHENTICATOR_KEY.DUO,le.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,M.default),Oe(a,d.AUTHENTICATOR_KEY.PHONE,H.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,W.default),Oe(a,d.AUTHENTICATOR_KEY.YUBIKEY,ye.default),a)),Oe(c,d.FORMS.ENROLL_POLL,Oe({},d.AUTHENTICATOR_KEY.OV,$.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({},Ee,N.default)),Oe(c,d.FORMS.SELECT_AUTHENTICATOR_UNLOCK,Oe({},Ee,I.default)),Oe(c,d.FORMS.CHALLENGE_POLL,(Oe(s={},d.AUTHENTICATOR_KEY.OV,X.default),Oe(s,d.AUTHENTICATOR_KEY.CUSTOM_APP,ve.default),s)),Oe(c,d.FORMS.RESEND,(Oe(u={},d.AUTHENTICATOR_KEY.OV,te.default),Oe(u,d.AUTHENTICATOR_KEY.CUSTOM_APP,ge.default),u)),Oe(c,d.FORMS.AUTHENTICATOR_VERIFICATION_DATA,(Oe(l={},d.AUTHENTICATOR_KEY.PHONE,V.default),Oe(l,d.AUTHENTICATOR_KEY.OV,ne.default),Oe(l,d.AUTHENTICATOR_KEY.EMAIL,Y.default),Oe(l,d.AUTHENTICATOR_KEY.CUSTOM_APP,ne.default),l)),Oe(c,d.FORMS.FAILURE_REDIRECT,Oe({},Ee,g.default)),Oe(c,d.FORMS.SUCCESS_REDIRECT,Oe({},Ee,g.default)),Oe(c,d.FORMS.REDIRECT_IDP,Oe({},Ee,m.default)),Oe(c,d.FORMS.PIV_IDP,Oe({},Ee,me.default)),Oe(c,d.FORMS.DEVICE_ENROLLMENT_TERMINAL,Oe({},Ee,T.default)),Oe(c,d.FORMS.USER_CODE,Oe({},Ee,he.default)),Oe(c,d.FORMS.TERMINAL,Oe({},Ee,v.default)),c),Se={create:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ee,n=xe[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 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 l(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,u="function",l=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='+l(c(i=null!=(i=f(n,"identifier")||(null!=t?f(t,"identifier"):t))?i:s)===u?i.call(a,{name:"identifier",hash:{},data:o,loc:{start:{line:1,column:99},end:{line:1,column:113}}}):i)+">"+l(c(i=null!=(i=f(n,"identifier")||(null!=t?f(t,"identifier"):t))?i:s)===u?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?u(Object(n),!0).forEach((function(t){l(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}({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),u=n(4817),l=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 y(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 v(e){return function(e){if(Array.isArray(e))return g(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 g(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 g(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 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}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===u.AUTHENTICATOR_KEY.WEBAUTHN)t=n.has(e.authenticatorKey),n.add(e.authenticatorKey);else if(e.authenticatorKey===u.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===u.FORMS.REDIRECT_IDP}));if(!Array.isArray(r))return[];var i=function(e,t){if(t.get("remediations").filter((function(e){return e.name===u.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",u.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(l.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(v(i),v(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)(y(y({},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,u,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===(u=s.oktaData)||void 0===u||null===(c=u.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 l.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,u.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)),u=c(n(3386)),l=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,u=t.clientId,c=t.redirectUri,f=t.state,d=t.scopes,p=t.flow,h=t.codeChallenge,m=t.codeChallengeMethod,y=t.recoveryToken;(a=l({issuer:s,clientId:u,redirectUri:c,state:f,scopes:d,flow:p,codeChallenge:h,codeChallengeMethod:m,transformErrorXHR:o.default.transformErrorXHR,recoveryToken:y},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 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 l(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){c(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 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},2811:function(e){
/*! For license information please see idx.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)},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),u=n(4279),l=n.n(u);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(l()),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),u=n(415),l={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,u.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 u={path:r.path||"/",secure:s,sameSite:o};return Date.parse(n)&&(u.expires=new Date(n)),i.set(e,t,u),this.get(e)},get:function(e){return arguments.length?i.get(e):i.get()},delete:function(e){return i.remove(e,{path:"/"})}}},c=l},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 u},PKCE_STORAGE_NAME:function(){return l},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 y},REFERRER_PATH_STORAGE_KEY:function(){return v},MIN_VERIFIER_LENGTH:function(){return g},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",u="okta-cache-storage",l="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",y="refreshToken",v="referrerPath",g=43,b=128,_="S256",w="1.0.0"},1018:function(e,t,n){"use strict";n.d(t,{a:function(){return v},E:function(){return _}});var r=n(5861),o=n(5671),i=n(3144),a=n(4942),s=n(7757),u=n.n(s),l=n(3615),c=n.n(l),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 y(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 v=null,g={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=y({},g),this._authState=v,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)(u().mark((function e(){var t,n,r,o,i,a,s,l=this;return u().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=l._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",l._authState),(0,h.dr)().groupEnd(),l._logOptions={}},i=function(e){var t,n;n=e,(t=l._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"):(l._prevAuthState=l._authState,l._authState=e,l._sdk.emitter.emit(b,y({},e)),r&&o("emitted"))},a=function e(t){return l._pending.updateAuthStatePromise.then((function(){var n=l._pending.updateAuthStatePromise;return n&&n!==t?e(n):l.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(){l._pending.updateAuthStatePromise=null,l._pending.canceledTimes=l._pending.canceledTimes+1,r&&o("canceled")}));var u=function(t){s.isCanceled?e():(i(t),e(),l._pending=y({},g))};l._sdk.isAuthenticated().then((function(){if(s.isCanceled)e();else{var t=l._sdk.tokenManager.getTokensSync(),r=t.accessToken,o=t.idToken,i=t.refreshToken,a={accessToken:r,idToken:o,refreshToken:i,isAuthenticated:!(!r||!o)};(n?l._transformQueue.push(n,null,l._sdk,a):Promise.resolve(a)).then((function(e){return u(e)})).catch((function(e){return u({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 ye}});var r=n(885),o=n(2982),i=n(5861),a=n(5671),s=n(3144),u=n(4942),l=n(7757),c=n.n(l);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,y=0;function v(){var e=(new Date).getTime();return e===m?1e3*e+ ++y:(m=e,y=0,1e3*e)}var g={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:v},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",E={durability:"relaxed"};function x(){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 k(e){e.closed||T(e).then((function(){return p(e.options.idb.fallbackInterval)})).then((function(){return k(e)}))}function T(e){return e.closed?d:e.messagesCallback?function(e,t){var n=e.transaction(O,"readonly",E),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=x().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()},k(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",E);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",E),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",E).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!!x()},type:"idb",averageResponseTime:function(e){return 2*e.idb.fallbackInterval},microSeconds:v};function P(){var e;if("undefined"==typeof window)return null;try{e=window.localStorage,e=window["ie8-eventlistener/storage"]||window.localStorage}catch(e){}return e}function C(e){return"pubkey.broadcastChannel-"+e}function R(){var e=P();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=C(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=C(e.channelName),o={token:h(),time:(new Date).getTime(),data:t,uuid:e.uuid},i=JSON.stringify(o);P().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:v},I=v,j=new Set,M={create:function(e){var t={name:e,messagesCallback:null};return j.add(t),t},close:function(e){j.delete(e)},onMessage:function(e,t){e.messagesCallback=t},postMessage:function(e,t){return new Promise((function(n){return setTimeout((function(){Array.from(j).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=[g,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 M;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 H(e){return e._addEL.message.length>0||e._addEL.internal.length>0}function V(e,t,n){e._addEL[t].push(n),function(e){if(!e._iL&&H(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&&!H(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,V(this,"message",t)):this._onML=null},addEventListener:function(e,t){V(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),K=n.n(q),W={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),Y=K()?z():W,$=new Set,J=!1;function Q(){var e=[];return $.forEach((function(t){e.push(t()),$.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,Y.add(Q)),"function"!=typeof e)throw new Error("Listener is no function");return $.add(e),{remove:function(){return $.delete(e)},run:function(){return $.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,u.Z)(this,"options",void 0),(0,u.Z)(this,"channel",void 0),(0,u.Z)(this,"elector",void 0),(0,u.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,u.Z)(this,"tokenManager",void 0),(0,u.Z)(this,"options",void 0),(0,u.Z)(this,"renewTimeQueue",void 0),(0,u.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,u.Z)(this,"tokenManager",void 0),(0,u.Z)(this,"options",void 0),(0,u.Z)(this,"channel",void 0),(0,u.Z)(this,"started",!1),(0,u.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}(),ue=n(3193);function le(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?le(Object(n),!0).forEach((function(t){(0,u.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):le(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",ye=function(){function e(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,a.Z)(this,e),(0,u.Z)(this,"sdk",void 0),(0,u.Z)(this,"options",void 0),(0,u.Z)(this,"services",void 0),(0,u.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,l=o.syncStorage;r.electionChannelName=r.electionChannelName||r.broadcastChannelName,this.options=Object.assign({},e.defaultOptions,{autoRenew:i,autoRemove:s,syncStorage:l},{electionChannelName:"".concat(t.options.clientId,"-election"),syncChannelName:"".concat(t.options.clientId,"-sync")},(0,ue.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,l,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:(l=(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 l.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,u.Z)(ye,"knownServices",[pe,he,me]),(0,u.Z)(ye,"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 l}});var r=n(9893),o=n(265),i=n(279),a=n(2724),s=n(8386),u=n(3980);function l(e,t,n){var l=(0,r.a)(t),c=(0,o.H)(l,e),f=(0,i.A)(c),d=(0,u.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),u=n(8553),l={};for(var c in u)["default","AuthStateManager","INITIAL_AUTH_STATE","createCoreOptionsConstructor","createOktaAuthCore","mixinCore","createCoreStorageManager"].indexOf(c)<0&&(l[c]=function(e){return u[e]}.bind(0,c));n.d(t,l);var f=n(6599)},8386:function(e,t,n){"use strict";n.d(t,{i:function(){return y}});var r=n(5861),o=n(5671),i=n(3144),a=n(7326),s=n(136),u=n(2963),l=n(1120),c=n(4942),f=n(7757),d=n.n(f),p=n(5372),h=n(1018),m=n(2397);function y(e){return function(e){(0,s.Z)(b,e);var t,n,f,y,v,g=(y=b,v=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)(y);if(v){var n=(0,l.Z)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,u.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=g.call.apply(g,[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),u=n(4942),l=n(9453);function c(){return function(e){(0,i.Z)(c,e);var t,n,l=(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=l.call(this,e),(0,u.Z)((0,o.Z)(t),"services",void 0),(0,u.Z)((0,o.Z)(t),"transformAuthState",void 0),t.services=e.services,t.transformAuthState=e.transformAuthState,t}return c}((0,l.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 u},k8:function(){return l},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 u(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 l(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 u.W},atob:function(){return l.ty},btoa:function(){return l.r3},webcrypto:function(){return l.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 u=n(3154),l=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]),u=(0,o.k8)(s);return i.KP.subtle.verify(n,t,u,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 l}});var r=n(5671),o=n(7326),i=n(136),a=n(2963),s=n(1120),u=n(4942),l=function(e){(0,i.Z)(c,e);var t,n,l=(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=l.call(this,a),(0,u.Z)((0,o.Z)(i),"errorSummary",void 0),(0,u.Z)((0,o.Z)(i),"errorCode",void 0),(0,u.Z)((0,o.Z)(i),"errorLink",void 0),(0,u.Z)((0,o.Z)(i),"errorId",void 0),(0,u.Z)((0,o.Z)(i),"errorCauses",void 0),(0,u.Z)((0,o.Z)(i),"xhr",void 0),(0,u.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)(u,e);var t,n,s=(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,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 u(){return(0,r.Z)(this,u),s.call(this,"The poll was stopped by the sdk")}return u}(n(6245).Z)},9123:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(5671),o=n(7326),i=n(136),a=n(2963),s=n(1120),u=n(4942),l=function(e){(0,i.Z)(c,e);var t,n,l=(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=l.call(this,e),(0,u.Z)((0,o.Z)(n),"errorSummary",void 0),(0,u.Z)((0,o.Z)(n),"errorCode",void 0),(0,u.Z)((0,o.Z)(n),"errorLink",void 0),(0,u.Z)((0,o.Z)(n),"errorId",void 0),(0,u.Z)((0,o.Z)(n),"errorCauses",void 0),(0,u.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),u=n(9611);function l(){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=l()?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,u.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,u.Z)(r,e)},f(e)}var d=function(e){(0,i.Z)(l,e);var t,n,u=(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,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 l(e){var t;return(0,r.Z)(this,l),t=u.call(this,e),Object.setPrototypeOf((0,o.Z)(t),(this instanceof l?this.constructor:void 0).prototype),t}return l}(f(Error))},2886:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(5671),o=n(7326),i=n(136),a=n(2963),s=n(1120),u=n(4942),l=function(e){(0,i.Z)(c,e);var t,n,l=(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=l.call(this,t),(0,u.Z)((0,o.Z)(n),"errorCode",void 0),(0,u.Z)((0,o.Z)(n),"errorSummary",void 0),(0,u.Z)((0,o.Z)(n),"error",void 0),(0,u.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),u={};for(var l in s)["default","isAuthApiError","isOAuthError","AuthApiError","AuthPollStopError","AuthSdkError","OAuthError"].indexOf(l)<0&&(u[l]=function(e){return s[e]}.bind(0,l));function c(e){return e instanceof r.Z}function f(e){return e instanceof a.Z}n.d(t,u)},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 u 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(u)<0&&(s[u]=function(e){return a[e]}.bind(0,u));n.d(t,s);var l=n(5728);for(var u in s={},l)["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(u)<0&&(s[u]=function(e){return l[e]}.bind(0,u));n.d(t,s);var c=n(4777),f=n(9443);for(var u 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(u)<0&&(s[u]=function(e){return f[e]}.bind(0,u));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 u},isPopupPostMessageSupported:function(){return l},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 u(){var e=s();return e&&!o.test(e)}function l(){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),u=n(1120),l=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,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,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,l.Z)((0,i.Z)(e),"_oktaUserAgent",void 0),(0,l.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 v}});var r=n(5671),o=n(7326),i=n(136),a=n(2963),s=n(1120),u=n(4942),l=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/,y=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 u={responseText:o?JSON.stringify(t):t,status:e,headers:i};return o&&(u.responseType="json",u.responseJSON=t),u}(n,t,e)})).then((function(e){var n;if(t||null!==(n=e.responseJSON)&&void 0!==n&&n.error)throw e;return e}))}))};function v(){return function(e){(0,i.Z)(c,e);var t,n,l=(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=l.call(this,e),(0,u.Z)((0,o.Z)(t),"issuer",void 0),(0,u.Z)((0,o.Z)(t),"transformErrorXHR",void 0),(0,u.Z)((0,o.Z)(t),"headers",void 0),(0,u.Z)((0,o.Z)(t),"httpRequestClient",void 0),(0,u.Z)((0,o.Z)(t),"httpRequestInterceptors",void 0),t.issuer=e.issuer,t.transformErrorXHR=e.transformErrorXHR,t.headers=e.headers,t.httpRequestClient=e.httpRequestClient||y,t.httpRequestInterceptors=e.httpRequestInterceptors,t}return c}((0,l.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),u=n(1971),l=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(E){s.e(E)}finally{s.f()}}var p=t.url,h=t.method,m=t.args,y=t.saveAuthnState,v=t.accessToken,g=!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),v&&(0,a.HD)(v)&&(O.Authorization="Bearer "+v);var E,x,S={headers:O,data:m||void 0,withCredentials:g};return e.options.httpRequestClient(h,p,S).then((function(n){return(x=n.responseText)&&(0,a.HD)(x)&&(x=JSON.parse(x))&&"object"===(0,r.Z)(x)&&!x.headers&&(Array.isArray(x)?x.forEach((function(e){e.headers=n.headers})):x.headers=n.headers),y&&(x.stateToken||b.delete(u.STATE_TOKEN_KEY_NAME)),x&&x.stateToken&&x.expiresAt&&b.set(u.STATE_TOKEN_KEY_NAME,x.stateToken,x.expiresAt,e.options.cookies),x&&t.cacheResponse&&_.updateStorage(p,{expiresAt:Math.floor(Date.now()/1e3)+u.DEFAULT_CACHE_DURATION,response:x}),x})).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"===(E=n.error&&n.error_description?new l.Z(n.error,n.error_description):new c.Z(n,t)).errorCode&&b.delete(u.STATE_TOKEN_KEY_NAME),E}))}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),u=n(1120),l=n(1646),c=n(480);function f(){return function(e){(0,a.Z)(f,e);var t,n,l=(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,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,s.Z)(this,e)});function f(e){return(0,r.Z)(this,f),l.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,u.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,l.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),u=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 c(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 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,u.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),u=n(1120);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 c(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}var f=function(e){(0,a.Z)(l,e);var t,n,r=(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,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,s.Z)(this,e)});function l(){return(0,o.Z)(this,l),r.apply(this,arguments)}return(0,i.Z)(l,[{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})}}]),l}(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,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(u)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),u=n(7738);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 c(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 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,u.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 y},mo:function(){return v},Jn:function(){return g}});var r=n(5861),o=n(5671),i=n(7326),a=n(136),s=n(2963),u=n(1120),l=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,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,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,l.Z)((0,i.Z)(n),"state",void 0),(0,l.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 y(e){return/(otp=)/i.test(e)&&/(state=)/i.test(e)}function v(e){return(0,p.v)(e)}function g(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(!y(n)){e.next=9;break}if(r=v(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),u=n(5021),l=n(5294),c=n(6131),f=n(2660),d=n(9310),p=n(2845),h=n(9214),m=n(8826),y=n(2473),v=n(2620),g=n(8277);function b(e){var t=y.Y.bind(null,e);return{interact:c.E.bind(null,e),introspect:f.L.bind(null,e),makeIdxResponse:l._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:u.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:v.uN.bind(null,e),createTransactionMeta:v.Xc.bind(null,e),getTransactionMeta:v.Co.bind(null,e),saveTransactionMeta:v.r0.bind(null,e),clearTransactionMeta:v.Jm.bind(null,e),isTransactionMetaValid:v.Wf,setFlow:function(t){e.options.flow=t},getFlow:function(){return e.options.flow},canProceed:p.C.bind(null,e),unlockAccount:g.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),u=n(3857),l=n(4560),c=n(1104),f=n(9024),d=n(2288),p=n(3403),h=n(3679),m=n(8490),y=n(8443),v={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":u.q,"challenge-authenticator":l.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:y.h},g=n(1019),b={identify:r.h,"identify-recovery":r.h,"select-authenticator-authenticate":o.X,"select-authenticator-enroll":i.j,"challenge-authenticator":l.J,"authenticator-verification-data":s.q,"authenticator-enrollment-data":a.q,"reset-authenticator":g.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":u.q,skip:y.h},E=n(5272),x={identify:r.h,"select-authenticator-unlock-account":E.G,"select-authenticator-authenticate":o.X,"challenge-authenticator":l.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=x,o=!1,n=["unlock-account"];break;default:t=v}return{flow:r,remediators:t,actions:n,withCredentials:o}}},5021:function(e,t,n){"use strict";n.d(t,{X:function(){return u}});var r=n(5861),o=n(7757),i=n.n(o),a=n(9123),s=n(2886);function u(e,t){return l.apply(this,arguments)}function l(){return(l=(0,r.Z)(i().mark((function e(t,n){var r,o,u,l,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,u=r.state,l=new URL(n),c=l.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===u){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 W}});var r=n(1971),o=n(5861),i=n(2982),a=n(7757),s=n.n(a),u=n(885),l=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},y=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,u=o.value;m(u)?(n.push(u),null!==(a=u.value)&&void 0!==a&&a&&(t[u.name]=u.value)):r[u.name]=null!==(s=u.value)&&void 0!==s?s:""}}catch(e){i.e(e)}finally{i.f()}return{defaultParamsForAction:t,neededParamsForAction:n,immutableParamsForAction:r}},v=n(3983);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 b(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){(0,l.Z)(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}var _=function(e,t){var n=t.actionDefinition,r=t.defaultParamsForAction,i=void 0===r?{}:r,a=t.immutableParamsForAction,u=void 0===a?{}:a,l=t.toPersist,c=void 0===l?{}:l,f=n.href;return(0,o.Z)(s().mark((function t(){var r,o,a,l,p,h,m,y,g,_=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),u)),t.prev=3,t.next=6,(0,d.c3)(e,{url:f,method:n.method,headers:o,args:a,withCredentials:null===(l=null==c?void 0:c.withCredentials)||void 0===l||l});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 v.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),y=h.headers["WWW-Authenticate"]||h.headers["www-authenticate"],g=e.idx.makeIdxResponse(b({},m),c,!1),401===h.status&&'Oktadevicejwt realm="Okta Device"'===y&&(g.stepUp=!0),t.abrupt("return",g);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=y(a),u=s.defaultParamsForAction,l=s.neededParamsForAction,c=s.immutableParamsForAction;n.push(l),r[a.name]=u,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,u=r(e,{actionDefinition:t,defaultParamsForAction:i[t.name],immutableParamsForAction:s[t.name],toPersist:n});return u.neededParams=a,u};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 E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}function x(e,t){return x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},x(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 k(e,t,n){return k=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&&x(o,n.prototype),o},k.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 k(e,arguments,E(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),x(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 P(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)||C(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 C(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 j(e,t){return(t=t.slice()).unshift(e),t}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}}),t&&x(e,t)}(o,e);var t,n,r=(t=o,n=S(),function(){var e,r=E(t);if(n){var o=E(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 M(s);return s}}L.prototype.evaluate=function(e,t,n,r){var o=this,i=this.parent,a=this.parentProperty,s=this.flatten,u=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,u=N.call(e,"wrap")?e.wrap:u,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 l=L.toPathArray(e);"$"===l[0]&&l.length>1&&l.shift(),this._hasParentSelector=null;var c=this._trace(l,t,["$"],i,a,n).filter((function(e){return e&&!e.isParentSelector}));return c.length?u||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]):u?[]: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 u,l=this;if(!e.length)return u={path:n,value:t,parent:r,parentProperty:o,hasArrExpr:a},this._handleCallback(u,i,"value"),u;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(l._trace(j(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(l._trace(j(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 u={path:I(n,c),value:o,parent:r,parentProperty:null},this._handleCallback(u,i,"property"),u;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){l._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(l._trace(j(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(j(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 u={path:n,value:t,parent:r,parentProperty:o},this._handleCallback(u,i,"value"),u}else if("`"===c[0]&&t&&N.call(t,c.slice(1))){var y=c.slice(1);p(this._trace(f,t[y],I(n,y),t,y,i,a,!0))}else if(c.includes(",")){var v,g=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=C(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(g.s();!(v=g.n()).done;){var b=v.value;p(this._trace(j(b,f),t,n,r,o,i,!0))}}catch(e){g.e(e)}finally{g.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 E=this._trace(w.expr,t,w.path,r,o,i,a);if(Array.isArray(E)){d[_]=E[0];for(var x=E.length,S=1;S<x;S++)_++,d.splice(_,0,E[S])}else d[_]=E}}return d},L.prototype._walk=function(e,t,n,r,o,i,a,s){if(Array.isArray(n))for(var u=n.length,l=0;l<u;l++)s(l,e,t,n,r,o,i,a);else n&&"object"===O(n)&&Object.keys(n).forEach((function(u){s(u,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,u=e.split(":"),l=u[2]&&Number.parseInt(u[2])||1,c=u[0]&&Number.parseInt(u[0])||0,f=u[1]&&Number.parseInt(u[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+=l)this._trace(j(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 k(Function,P(n).concat([s])).apply(void 0,P(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,l.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]}))),H=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,l=a.type,d=(0,c.Z)(a,D);o[i]=U({type:l},d),"object"===l?(o[i].value={},Object.entries(s).forEach((function(t){var a=(0,u.Z)(t,2),s=a[0],l=a[1];l.rel?r["".concat(i,"-").concat(s.name||s)]=w(e,l,n):o[i].value[s]=l}))):o[i].value=s}else o[i]=t[i]})),{context:o,actions:r}},V=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,u,l,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 V(t,e)}));var i=o.map((function(t){return Z(e,t,r)})),a=H(e,t,r);return{remediations:i,context:a.context,actions:a.actions}}(e,t,n),p=d.remediations,h=d.context,m=d.actions,y=(0,i.Z)(p),v=(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:v,neededToProceed:y,actions:m,context:h,rawIdxState:f,interactionCode:null===(a=f.successWithInteractionCode)||void 0===a||null===(u=a.value)||void 0===u||null===(l=u.find((function(e){return"interaction_code"===e.name})))||void 0===l?void 0:l.value,toPersist:n,requestDidSucceed:r}}},K=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 W(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");K(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 W(a),(0,K(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 l.C},al:function(){return o.a},Jm:function(){return m.Jm},F4:function(){return y.F},SL:function(){return b.S},aT:function(){return _.a},vK:function(){return O.v},Yn:function(){return v.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 g.B},mo:function(){return i.mo},$l:function(){return u.$},xc:function(){return l.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),u=n(9310),l=n(2845),c=n(8826),f=n(9214),d=n(5021),p=n(2473),h=n(8277),m=n(2620),y=n(9727),v=n(2144),g=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),u=n(7599),l=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,y,v,g,b,_,w,O,E,x,S,k,T,A,P,C,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,l.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,u.zf)(t),m=(h=i).clientId,y=h.redirectUri,v=h.state,g=h.scopes,b=h.withCredentials,_=h.codeChallenge,w=h.codeChallengeMethod,O=h.activationToken,E=h.recoveryToken,x=h.maxAge,S=h.nonce,k=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:g.join(" "),redirect_uri:y,code_challenge:_,code_challenge_method:w,state:v},O&&{activation_token:O}),E&&{recovery_token:E}),k&&{client_secret:k}),x&&{max_age:x}),S&&{nonce:S}),P={"Content-Type":"application/x-www-form-urlencoded"},e.next=17,(0,c.c3)(t,{method:"POST",url:T,headers:P,withCredentials:b,args:A});case 17:return C=e.sent,R=C.interaction_handle,N=d(d({},i),{},{interactionHandle:R,withCredentials:b,state:v,scopes:g,recoveryToken:E,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),u=n(7599),l=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,y,v,g,b,_,w,O,E=arguments;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=E.length>1&&void 0!==E[1]?E[1]:{},(d=t.transactionManager.loadIdxResponse(n))&&(r=d.rawIdxResponse,o=d.requestDidSucceed),r){e.next=27;break}return h=n.version||l.IDX_API_VERSION,m=(0,u.Xp)(t),y=n.interactionHandle,v=n.stateHandle,g=null===(p=n.withCredentials)||void 0===p||p,e.prev=8,o=!0,(0,a.A0)(h),b="".concat(m,"/idp/idx/introspect"),_=v?{stateToken:v}:{interactionHandle:y},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:g,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 v}});var r={};n.r(r),n.d(r,{buildCredentialCreationOptions:function(){return p},buildCredentialRequestOptions:function(){return h},getAssertion:function(){return y},getAttestation:function(){return m}});var o=n(5671),i=n(7326),a=n(136),s=n(2963),u=n(1120),l=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)}},y=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 v(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,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,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,l.Z)((0,i.Z)(e),"idx",void 0),e.idx=(0,c.F)((0,i.Z)(e)),e}return f}(e),(0,l.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),u=n(4942),l=n(9133);function c(){return function(e){(0,i.Z)(c,e);var t,n,l=(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=l.call(this,e),(0,u.Z)((0,o.Z)(t),"flow",void 0),(0,u.Z)((0,o.Z)(t),"activationToken",void 0),(0,u.Z)((0,o.Z)(t),"recoveryToken",void 0),(0,u.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,l.n)())}},9310:function(e,t,n){"use strict";n.d(t,{$:function(){return l}});var r=n(5861),o=n(7757),i=n.n(o),a=n(2845),s=n(2620),u=n(146);function l(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,u.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?l(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),u=n(2620),l=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,u.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 l.Z("Unable to proceed: saved transaction could not be loaded");case 3:return r=n.flow,o=n.state,r||(i=(0,u.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),u=n(7738);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 c(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 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,u.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),u=n(2620),l=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,u.$0)(t)){e.next=11;break}return e.next=4,(0,l.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),u=n(1120),l=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,l.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,l=(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,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,s.Z)(this,e)});function c(){return(0,r.Z)(this,c),l.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,u.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,l.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),u=n(2963),l=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,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,u.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,l.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 y}});var r=n(5671),o=n(3144),i=n(7326),a=n(1752),s=n(136),u=n(2963),l=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 y=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,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,u.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,l.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),u=n(6064),l=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,l.LL)(e)})),this.values.authenticator){var e=(0,l.LL)(this.values.authenticator);this.values.authenticators.some((function(t){return(0,l.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,u.QG)(this.remediation).find((function(t){return!e.hasData(t)}))}},{key:"getData",value:function(e){var t=this;if(!e){var n=(0,u.ix)(this.remediation).reduce((function(e,n){return e[n]=t.getData(n),e}),{});return n}if("function"==typeof this["map".concat((0,u.Qs)(e))]){var r=this["map".concat((0,u.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,u.Qs)(o))])r=e["getInput".concat((0,u.Qs)(o))](n);else if("object"!==i){var l,c=(e.map?e.map[o]:null)||[];l=1===c.length?c[0]:c.find((function(t){return Object.keys(e.values).includes(t)})),l&&(r=d(d({},n),{},{name:l}))}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,u.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 g}});var r=n(5671),o=n(3144),i=n(7326),a=n(1752),s=n(136),u=n(2963),l=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 y(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 v(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 g=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,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,u.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 v(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)?v(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,l.Z)(m.prototype),"getValuesAfterProceed",this).call(this);var t=this.values.authenticators.filter((function(t){return!0!==(0,h.PN)(t,e.selectedAuthenticator)}));return y(y({},this.values),{},{authenticators:t})}}]),m}(f.n)},9883:function(e,t,n){"use strict";n.d(t,{Q:function(){return k}});var r=n(5671),o=n(3144),i=n(7326),a=n(1752),s=n(136),u=n(2963),l=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,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,u.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._),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,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,u.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),v=n(9582),g=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,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,u.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,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,u.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,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,u.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,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,u.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 E(e){var t,n,r=e.relatesTo,o=(null==r?void 0:r.value)||{};switch(o.key){case O.pc.OKTA_PASSWORD:return new v.a(o);case O.pc.SECURITY_QUESTION:return null!==(t=o.contextualData)&&void 0!==t&&t.enrolledQuestion?new b(o):new g(o);case O.pc.OKTA_VERIFY:return new y(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 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 S(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,c.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}var k=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,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,u.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=E(e),t}return(0,o.Z)(d,[{key:"getNextStep",value:function(e,t){var n,r=(0,a.Z)((0,l.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,l.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 u}});var r=n(5671),o=n(136),i=n(2963),a=n(1120),s=n(4942),u=function(e){(0,o.Z)(u,e);var t,n,s=(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,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 u(){return(0,r.Z)(this,u),s.apply(this,arguments)}return u}(n(9883).Q);(0,s.Z)(u,"remediationName","challenge-authenticator")},1104:function(e,t,n){"use strict";n.d(t,{U:function(){return l}});var r=n(5671),o=n(3144),i=n(136),a=n(2963),s=n(1120),u=n(4942),l=function(e){(0,i.Z)(l,e);var t,n,u=(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,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 l(){return(0,r.Z)(this,l),u.apply(this,arguments)}return(0,o.Z)(l,[{key:"canRemediate",value:function(){return!!this.values.startPolling||"challenge-poll"===this.options.step}}]),l}(n(2288).T);(0,u.Z)(l,"remediationName","challenge-poll")},3857:function(e,t,n){"use strict";n.d(t,{q:function(){return u}});var r=n(5671),o=n(136),i=n(2963),a=n(1120),s=n(4942),u=function(e){(0,o.Z)(u,e);var t,n,s=(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,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 u(){return(0,r.Z)(this,u),s.apply(this,arguments)}return u}(n(9883).Q);(0,s.Z)(u,"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),u=n(1120),l=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,l.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,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,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,u.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,l.Z)({},n,e.values[n]))}),{})}}]),d}(n(3118).n);(0,l.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),u=n(2963),l=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,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,u.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),u=n(1120),l=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,l.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,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,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,u.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,l.Z)({},n,e.values[n]))}),{})}}]),d}(n(3118).n);(0,l.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),u=n(1120),l=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,l.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,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,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,l.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,l.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),u=n(4942);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 c(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,u.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}var f=function(e){(0,i.Z)(l,e);var t,n,u=(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,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 l(){return(0,r.Z)(this,l),u.apply(this,arguments)}return(0,o.Z)(l,[{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})}}]),l}(n(3118).n);(0,u.Z)(f,"remediationName","reenroll-authenticator")},8490:function(e,t,n){"use strict";n.d(t,{O:function(){return l}});var r=n(5671),o=n(3144),i=n(136),a=n(2963),s=n(1120),u=n(4942),l=function(e){(0,i.Z)(l,e);var t,n,u=(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,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 l(){return(0,r.Z)(this,l),u.apply(this,arguments)}return(0,o.Z)(l,[{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}}}]),l}(n(3118).n);(0,u.Z)(l,"remediationName","redirect-idp")},1019:function(e,t,n){"use strict";n.d(t,{G:function(){return u}});var r=n(5671),o=n(136),i=n(2963),a=n(1120),s=n(4942),u=function(e){(0,o.Z)(u,e);var t,n,s=(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,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 u(){return(0,r.Z)(this,u),s.apply(this,arguments)}return u}(n(9883).Q);(0,s.Z)(u,"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),u=n(4942),l=n(9164),c=n(6064),f=n(7595),d=function(e){(0,i.Z)(l,e);var t,n,u=(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,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 l(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,l);var s="recoverPassword"===(n=u.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 l}(l.n);(0,u.Z)(d,"remediationName","select-authenticator-authenticate")},9865:function(e,t,n){"use strict";n.d(t,{j:function(){return u}});var r=n(5671),o=n(136),i=n(2963),a=n(1120),s=n(4942),u=function(e){(0,o.Z)(u,e);var t,n,s=(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,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 u(){return(0,r.Z)(this,u),s.apply(this,arguments)}return u}(n(9164).n);(0,s.Z)(u,"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),u=n(2963),l=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,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,u.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,l.Z)(p.prototype),"canRemediate",this).call(this)}},{key:"mapAuthenticator",value:function(e){var t,n,r,o=(0,a.Z)((0,l.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 l}});var r=n(5671),o=n(3144),i=n(136),a=n(2963),s=n(1120),u=n(4942),l=function(e){(0,i.Z)(l,e);var t,n,u=(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,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 l(){return(0,r.Z)(this,l),u.apply(this,arguments)}return(0,o.Z)(l,[{key:"canRemediate",value:function(){return!0}}]),l}(n(3118).n);(0,u.Z)(l,"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),u=n(1120),l=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,l.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,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,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,u.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,u.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,l.Z)({},n,e.values[n]))}),{})}}]),d}(n(3118).n);(0,l.Z)(d,"remediationName","select-enrollment-channel")},8443:function(e,t,n){"use strict";n.d(t,{h:function(){return l}});var r=n(5671),o=n(3144),i=n(136),a=n(2963),s=n(1120),u=n(4942),l=function(e){(0,i.Z)(l,e);var t,n,u=(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,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 l(){return(0,r.Z)(this,l),u.apply(this,arguments)}return(0,o.Z)(l,[{key:"canRemediate",value:function(){return!!this.values.skip||"skip"===this.options.step}}]),l}(n(3118).n);(0,u.Z)(l,"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 j.q},AuthenticatorVerificationData:function(){return I.q},ChallengeAuthenticator:function(){return O.J},ChallengePoll:function(){return E.U},EnrollAuthenticator:function(){return g.q},EnrollPoll:function(){return b.T},EnrollProfile:function(){return S.w},EnrollmentChannelData:function(){return w.t},GenericRemediator:function(){return K},Identify:function(){return k.h},ReEnrollAuthenticator:function(){return T.j},RedirectIdp:function(){return A.O},Remediator:function(){return v.n},ResetAuthenticator:function(){return x.G},SelectAuthenticatorAuthenticate:function(){return P.X},SelectAuthenticatorEnroll:function(){return C.j},SelectAuthenticatorUnlockAccount:function(){return R.G},SelectEnrollProfile:function(){return N.j},SelectEnrollmentChannel:function(){return _.V},Skip:function(){return M.h}});var o=n(5861),i=n(4942),a=n(7757),s=n.n(a),u=n(6131),l=n(2660),c=n(1002),f=n(2982),d=n(9123),p=n(4925),h=n(885),m=n(8750),y=n(146),v=n(3118),g=n(3857),b=n(2288),_=n(3403),w=n(3679),O=n(4560),E=n(1104),x=n(1019),S=n(7522),k=n(8628),T=n(9024),A=n(8490),P=n(7311),C=n(9865),R=n(5272),N=n(4713),I=n(5278),j=n(2541),M=n(8443),L=n(5671),D=n(3144),F=n(136),U=n(2963),B=n(1120);function H(e){if(Array.isArray(e))return e.map((function(e){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e?e:H(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 u=H(a);Object.entries(u).forEach((function(e){var n=(0,h.Z)(e,2),r=n[0],o=n[1];t[r]=o}))}else t[i]=H(a)}else t[i]=a}return t}var V=["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 K=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,u=(a.href,a.method,a.rel,a.accepts,a.produces,a.value,a.action),l=(0,p.Z)(a,V);return u?q(q(q({},l),!!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(H).map((function(e){return e.type=e.type||"string",e}))}}]),i}(v.n),W=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 Y(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 $(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,u=$(i);try{for(u.s();!(s=u.n()).done;){var l=X(s.value.value);l&&(r=[].concat((0,f.Z)(r),(0,f.Z)(l)))}}catch(e){u.e(e)}finally{u.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(W.Fw.PASSWORD_RECOVERY),r.some((function(e){return"select-enroll-profile"===e.name}))&&t.push(W.Fw.REGISTRATION),r.some((function(e){return"redirect-idp"===e.name}))&&t.push(W.Fw.SOCIAL_IDP),r.some((function(e){return"unlock-account"===e.name}))&&t.push(W.Fw.ACCOUNT_UNLOCK),t}function ne(e,t,n){var i,a=[],u=Object.values(r).reduce((function(e,t){return t.remediationName&&(e[t.remediationName]=t),e}),{}),l=$(t.neededToProceed);try{for(l.s();!(i=l.n()).done;){var c=i.value,f=oe(c,{useGenericRemediator:n,remediators:u});if(f){var d=new f(c);a.push(d.getNextStep(e,t.context))}}}catch(e){l.e(e)}finally{l.f()}for(var y=function(){var n,r=(0,h.Z)(g[v],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 u,l=(0,m.YQ)(r,"-"),c=(0,h.Z)(l,2),f=c[0],d=c[1],y=t.rawIdxState[f].value[d],b=(y.href,y.method,y.rel,y.accepts,y.produces,(0,p.Z)(y,G)),_=null===(u=y.value)||void 0===u?void 0:u.filter((function(e){return"stateHandle"!==e.name}));i=Y(Y(Y({},b),_&&{value:_}),i)}a.push(i)},v=0,g=Object.entries(t.actions||{});v<g.length;v++)y();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,y.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?K: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 K(e[0],t,n));else{var s,u=$(e);try{for(u.s();!(s=u.n()).done;){var l=s.value;if(Object.keys(o).includes(l.name)){if((r=new(oe(l,n))(l,t,n)).canRemediate())return r;a.push(r)}}}catch(e){u.e(e)}finally{u.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,y.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 Y(Y(Y({},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 Y({idxResponse:t,messages:o},a&&{nextStep:a})}function ue(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 le(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)?le(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 le(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 ye.apply(this,arguments)}function ye(){return(ye=(0,o.Z)(s().mark((function e(t,n,r,o){var i,a,u,l,p,h,m,y,v,g,b,_,w,O,E,x,S,k;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=(i=n).neededToProceed,u=i.interactionCode,l=o.flow,!u){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||[],!(y=[].concat((0,f.Z)(m),(0,f.Z)(h&&[h]||[])))){e.next=28;break}v=ue(y),e.prev=10,b=s().mark((function e(){var i,u,l,c;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=g.value,u={},"string"!=typeof i&&(u=i.params||{},i=i.name),l=pe(r),c=he(o,i),"function"!=typeof n.actions[i]){e.next=14;break}return e.next=8,n.actions[i](u);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,l,c)});case 14:if(!a.find((function(e){return e.name===i}))){e.next=22;break}return e.next=18,n.proceed(i,u);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)})),v.s();case 13:if((g=v.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),v.e(e.t1);case 25:return e.prev=25,v.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"!==l){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 E=p.getName(),x=p.getData(),e.next=50,n.proceed(E,x);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),k=ae(t,S,n),e.abrupt("return",{idxResponse:n,nextStep:k});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 ve=n(7738),ge=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,u=W.Qd.PENDING;if(o=o||e.idx.getFlow()||"default"){e.idx.setFlow(o);var l=(0,ve.s)(e,o);i=void 0!==i?i:l.withCredentials,a=a||l.remediators,s=s||l.actions}return _e(_e({},t),{},{options:_e(_e({},n),{},{flow:o,withCredentials:i,remediators:a,actions:s}),status:u})}function Ee(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,c,f,d,p,h,m,y,v,g,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,v=(0,ge.uN)(t,{state:c,recoveryToken:d,activationToken:p}),!o){e.next=9;break}return e.next=6,(0,l.L)(t,{withCredentials:i,version:a,stateHandle:o});case 6:y=e.sent,e.next=20;break;case 9:if(b=null===(g=v)||void 0===g?void 0:g.interactionHandle){e.next=17;break}return t.transactionManager.clear(),e.next=14,(0,u.E)(t,{withCredentials:i,state:c,scopes:f,activationToken:p,recoveryToken:d,maxAge:h,nonce:m});case 14:_=e.sent,b=_.interactionHandle,v=_.meta;case 17:return e.next=19,(0,l.L)(t,{withCredentials:i,version:a,interactionHandle:b});case 19:y=e.sent;case 20:return e.abrupt("return",_e(_e({},n),{},{idxResponse:y,meta:v}));case 21:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Se(e,t){return ke.apply(this,arguments)}function ke(){return(ke=(0,o.Z)(s().mark((function e(t,n){var r,o,i,a,u,l,c,f,d,p,h,m,y;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,u=o.remediators,l=o.actions,c=o.flow,f=o.step,d=o.useGenericRemediator,!1!==a&&(u||l||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:u,actions:l,flow:c,step:f,useGenericRemediator:d});case 8:return p=e.sent,h=p.idxResponse,m=p.nextStep,y=p.canceled,r=h,e.abrupt("return",_e(_e({},n),{},{idxResponse:r,nextStep:m,canceled:y}));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,u,l,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,u=(a=r).clientId,l=a.codeVerifier,c=a.ignoreSignature,f=a.redirectUri,d=a.urls,p=a.scopes,e.next=5,t.token.exchangeCodeForTokens({interactionCode:i,clientId:u,codeVerifier:l,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 Pe(e,t){return Ce.apply(this,arguments)}function Ce(){return(Ce=(0,o.Z)(s().mark((function e(t,n){var r,o,i,a,u,l,c,f,d,p,h,m,y,v,g,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,u=r.exchangeCodeForTokens,l=!1,c=!1,f=!0,o&&(l=!(!o.requestDidSucceed&&!o.stepUp),h=te(o),m=ne(t,o,r.useGenericRemediator),y=ee(o,r),v=Q(o)),!v){e.next=15;break}a=W.Qd.TERMINAL,g=Object.keys(o.actions).length>0,b=!!y.find((function(e){return"ERROR"===e.class})),g||b||!0!==o.requestDidSucceed?l=!!g:c=!0,f=!1,e.next=32;break;case 15:if(!i){e.next=20;break}a=W.Qd.CANCELED,c=!0,e.next=32;break;case 20:if(null==o||!o.interactionCode){e.next=32;break}if(d=o.interactionCode,!1!==u){e.next=27;break}a=W.Qd.SUCCESS,c=!1,e.next=32;break;case 27:return e.next=29,Te(t,n);case 29:p=e.sent,a=W.Qd.SUCCESS,c=!0;case 32:return e.abrupt("return",_e(_e({},n),{},{status:a,interactionCode:d,tokens:p,shouldSaveResponse:l,shouldClearTransaction:c,clearSharedStorage:f,enabledFeatures:h,availableSteps:m,messages:y,terminal:v}));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,u,l,c,f,d,p,h,m,y,v,g,b,_,w,O,E,x,S,k,T,A,P,C,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,Ee(t,r);case 5:return r=e.sent,e.next=8,Se(t,r);case 8:return r=e.sent,e.next=11,Pe(t,r);case 11:return r=e.sent,i=(o=r).idxResponse,a=o.meta,u=o.shouldSaveResponse,l=o.shouldClearTransaction,c=o.clearSharedStorage,f=o.status,d=o.enabledFeatures,p=o.availableSteps,h=o.tokens,m=o.nextStep,y=o.messages,v=o.error,g=o.interactionCode,l?t.transactionManager.clear({clearSharedStorage:c}):((0,ge.r0)(t,_e({},a)),u&&(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}))),x=(E=i||{}).actions,S=E.context,k=E.neededToProceed,T=E.proceed,A=E.rawIdxState,P=E.requestDidSucceed,C=E.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}),y&&y.length&&{messages:y}),v&&{error:v}),C&&{stepUp:C}),{},{interactionCode:g,actions:x,context:S,neededToProceed:k,proceed:T,rawIdxState:A,requestDidSucceed:P}));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 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 l(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 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,l({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),u=n(5763),l=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 u._(t,l.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 y},r0:function(){return g},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),u=n(146),l=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,u,c,d,p,h,m,y,v,g,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,l.H)(t,r),i=f(f({},t.options),n),s=i.flow,u=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,y=void 0===m?void 0:m,v=i.maxAge,g=void 0===v?void 0:v,b=f(f({},o),{},{flow:u,withCredentials:d,activationToken:h,recoveryToken:y,maxAge:g}),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,u.ZK)("Saved transaction meta does not match the current configuration. This may indicate that two apps are sharing a storage key.")}function y(e,t){return v.apply(this,arguments)}function v(){return(v=(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 g(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),u=n(2620),l=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,u.$0)(t)){e.next=9;break}return e.next=5,(0,l.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)}},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),u=n(7757),l=n.n(u),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),y=n(6488),v=n(1971);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 b(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){(0,s.Z)(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}var _={autoRenew:!0,autoRemove:!0,syncStorage:!0,clearPendingRemoveTokens:!0,storage:void 0,expireEarlySeconds:30,storageKey:v.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,u;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,y.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:(u=(0,r.Z)(l().mark((function e(t){return l().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 u.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,y.hv)(r)?e.accessToken=r:(0,y.sI)(r)?e.idToken=r:(0,y.z9)(r)&&(e.refreshToken=r)})),e}},{key:"getTokens",value:(n=(0,r.Z)(l().mark((function e(){return l().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,y.hv)(r)&&"accessToken"===e||(0,y.sI)(r)&&"idToken"===e||(0,y.z9)(r)&&"refreshToken"===e}))[0]}},{key:"getTokenType",value:function(e){if((0,y.hv)(e))return"accessToken";if((0,y.sI)(e))return"idToken";if((0,y.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)},u=["idToken","accessToken","refreshToken"],l=this.getTokensSync();u.forEach((function(t){var n=e[t];n&&(0,d.R)(n,t)}));var c=u.reduce((function(t,n){var r=e[n];return r&&(t[o.getStorageKeyByType(n)||n]=r),t}),{});this.storage.setStorage(c),this.emitSetStorageEvent(),u.forEach((function(t){var n,r,u,c=e[t],f=l[t],d=o.getStorageKeyByType(t)||t;c&&f?(s(d,f),a(d,c),n=d,r=c,u=f,o.emitRenewed(n,r,u),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)(l().mark((function e(t){var n;return l().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")||v.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")||v.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 u(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 l(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&&l(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&&(u(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 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 l(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 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)(l(l({},t),e.extraParams&&l({},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 u},D:function(){return l}});var r=n(885),o=n(9123),i=n(3193),a=n(6718),s=n(5385);function u(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 l(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,u=s.getStorage()[a];if(u&&Date.now()/1e3<u.expiresAt){var l=(0,o.sE)(u.response.keys,{kid:n});if(l)return l}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 u}});var r=n(7599),o=n(7756),i=n(3193),a=n(9231),s=n(8676);function u(e,t,n){n=n||(0,r.Fc)(e,t);var u=t=Object.assign({},(0,o.D)(e),(0,i.d9)(t)),l=u.authorizationCode,c=u.interactionCode,f=u.codeVerifier,d=u.clientId,p=u.redirectUri,h=u.scopes,m=u.ignoreSignature,y=u.state,v={clientId:d,redirectUri:p,authorizationCode:l,interactionCode:c,codeVerifier:f};return(0,a.t)(e,v,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=l,e.state=y,e}))})).finally((function(){e.transactionManager.clear()}))}},7203:function(e,t,n){"use strict";n.d(t,{o:function(){return g}});var r=n(3548),o=n(1237),i=n(8707),a=n(6844),s=n(7625),u=n(9770),l=n(6803),c=n(5372),f=n(2476),d=n(6268),p=n(781),h=n(6466),m=n(6898),y=n(8221),v=n(1260);function g(e,t){var n=function(e){return r.b.prototype.push.bind(t,e,null)},g=n(l.H.bind(null,e)),b=Object.assign(g,{_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:u.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:v.W.bind(null,e),isLoginRedirect:y.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 l},o:function(){return r.o}});var r=n(7203),o=n(9893),i=n(265),a=n(3980),s=n(279),u=n(2724);function l(e,t,n){var r=(0,o.a)(t),l=(0,i.H)(r,e),c=(0,s.A)(l),f=(0,a.Z)(c);return(0,u.J)(f,n)}},3253:function(e,t,n){"use strict";n.d(t,{L:function(){return l}});var r=n(7599),o=n(4970),i=n(9123),a=n(6898),s=n(2206),u=n(8676);function l(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 l,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),l=(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)(l);return f.then((function(t){return(0,u.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(l),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,u.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),u=n(2886),l=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,l.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 u.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),u=n(6898),l=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,u.wu)(t,n);case 5:r=e.sent,o=(0,l.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),u=n(2886),l=n(9123),c=n(1260),f=n(7756);function d(e,t){if(e.error&&e.error_description)throw new u.Z(e.error,e.error_description);if(e.state!==t.state)throw new l.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 u,p,h,m,y,v,g,b,_,w,O,E,x,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),u=n.responseType||[],Array.isArray(u)||(u=[u]),p=r.scope?r.scope.split(" "):(0,a.d9)(n.scopes),h=n.clientId||t.options.clientId,d(r,n),m={},y=r.expires_in,v=r.token_type,g=r.access_token,b=r.id_token,_=r.refresh_token,w=Math.floor(Date.now()/1e3),g&&(O=t.token.decode(g),m.accessToken={accessToken:g,claims:O.payload,expiresAt:Number(y)+w,tokenType:v,scopes:p,authorizeUrl:o.authorizeUrl,userinfoUrl:o.userinfoUrl}),_&&(m.refreshToken={refreshToken:_,expiresAt:Number(y)+w,scopes:p,tokenUrl:o.tokenUrl,authorizeUrl:o.authorizeUrl,issuer:o.issuer}),!b){e.next=27;break}return E=t.token.decode(b),x={idToken:b,claims:E.payload,expiresAt:E.payload.exp-E.payload.iat+w,scopes:p,authorizeUrl:o.authorizeUrl,issuer:o.issuer,clientId:h},S={clientId:h,issuer:o.issuer,nonce:n.nonce,accessToken:g},void 0!==n.ignoreSignature&&(S.ignoreSignature=n.ignoreSignature),e.next=26,(0,c.W)(t,x,S);case 26:m.idToken=x;case 27:if(-1===u.indexOf("token")||m.accessToken){e.next=29;break}throw new l.Z('Unable to parse OAuth flow response: response type "token" was requested but "access_token" was not returned.');case 29:if(-1===u.indexOf("id_token")||m.idToken){e.next=31;break}throw new l.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 y.$},renewTokensWithRefresh:function(){return v.R},renewTokens:function(){return g.I},verifyToken:function(){return b.W},getUserInfo:function(){return _.b},handleOAuthResponse:function(){return w.s},exchangeCodeForTokens:function(){return O.r},getToken:function(){return E.L},getWithoutPrompt:function(){return x.y},getWithPopup:function(){return S.d},getWithRedirect:function(){return k.H},parseFromUrl:function(){return T.ko}});var r=n(231),o=n(2724),i=n(2333),a=n(2642),s=n(3775),u=n(8927),l={};for(var c in u)["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&&(l[c]=function(e){return u[e]}.bind(0,c));n.d(t,l);var f=n(2427),d=n(1646),p=n(8785),h=n(1237),m=n(6466),y=n(2476),v=n(781),g=n(6268),b=n(1260),_=n(6844),w=n(8676),O=n(8707),E=n(3253),x=n(7625),S=n(9770),k=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),u=n(1752),l=n(136),c=n(2963),f=n(1120),d=n(4942),p=n(7757),h=n.n(p),m=n(5385),y=n(3548),v=n(9718),g=n(3611),b=n(7203),_=n(2427),w=n(8221),O=n(7599),E=n(1971),x=n(4858),S=["originalUri"];function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){(0,d.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(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,l.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){x.Z.getSessionStorage().setItem(E.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=x.Z.getSessionStorage();return n&&n.getItem(E.REFERRER_PATH_STORAGE_KEY)||void 0}},{key:"removeOriginalUri",value:function(e){if(x.Z.getSessionStorage().removeItem(E.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,l.Z)(I,e);var n,p,v,E,x,k,A,P,C,R,N=(C=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)(C);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:g.Z.DEFAULT_CODE_CHALLENGE_METHOD,generateVerifier:g.Z.generateVerifier,computeChallenge:g.Z.computeChallenge},e._pending={handleLogin:!1},e._tokenQueue=new y.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,u.Z)((0,f.Z)(I.prototype),"clearStorage",this).call(this),this.tokenManager.clear()}},{key:"isAuthenticated",value:(P=(0,o.Z)(h().mark((function e(){var t,n,r,o,i,a,s,u,l,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(),!(u=s.accessToken)||!this.tokenManager.hasExpired(u)){e.next=19;break}if(u=void 0,!i){e.next=18;break}return e.prev=8,e.next=11,this.tokenManager.renew("accessToken");case 11:u=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(l=this.tokenManager.getTokensSync(),!(c=l.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",!(!u||!c));case 35:case"end":return e.stop()}}),e,this,[[8,14],[23,29]])}))),function(){return P.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:(k=(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 k.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:(x=(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 x.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:(E=(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 E.apply(this,arguments)})},{key:"revokeAccessToken",value:(v=(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 v.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,u,l;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,(u=!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),!u||!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(l=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(l);case 24:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})}]),I}(p),(0,d.Z)(n,"crypto",v),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),u=n(4942),l=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,u.Z)((0,o.Z)(t),"issuer",void 0),(0,u.Z)((0,o.Z)(t),"authorizeUrl",void 0),(0,u.Z)((0,o.Z)(t),"userinfoUrl",void 0),(0,u.Z)((0,o.Z)(t),"tokenUrl",void 0),(0,u.Z)((0,o.Z)(t),"revokeUrl",void 0),(0,u.Z)((0,o.Z)(t),"logoutUrl",void 0),(0,u.Z)((0,o.Z)(t),"pkce",void 0),(0,u.Z)((0,o.Z)(t),"clientId",void 0),(0,u.Z)((0,o.Z)(t),"redirectUri",void 0),(0,u.Z)((0,o.Z)(t),"responseType",void 0),(0,u.Z)((0,o.Z)(t),"responseMode",void 0),(0,u.Z)((0,o.Z)(t),"state",void 0),(0,u.Z)((0,o.Z)(t),"scopes",void 0),(0,u.Z)((0,o.Z)(t),"ignoreSignature",void 0),(0,u.Z)((0,o.Z)(t),"codeChallenge",void 0),(0,u.Z)((0,o.Z)(t),"codeChallengeMethod",void 0),(0,u.Z)((0,o.Z)(t),"tokenManager",void 0),(0,u.Z)((0,o.Z)(t),"postLogoutRedirectUri",void 0),(0,u.Z)((0,o.Z)(t),"restoreOriginalUri",void 0),(0,u.Z)((0,o.Z)(t),"transactionManager",void 0),(0,u.Z)((0,o.Z)(t),"clientSecret",void 0),(0,u.Z)((0,o.Z)(t),"setLocation",void 0),(0,u.Z)((0,o.Z)(t),"ignoreLifetime",void 0),(0,u.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,u.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=l.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),u=n(9912),l=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,l.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,l.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,u.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),u=n(7625),l=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,l.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,u.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),u=n(781),l=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,y;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,u.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,l.D)(t),y=m.responseType,n.responseType=y),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),u=n(6635),l=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,y,v;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,l.s)(t,d,p,h);case 11:return m=e.sent,y=m.tokens,(v=y.refreshToken)&&!(0,u.q)(v,r)&&t.tokenManager.updateRefreshToken(v),e.abrupt("return",y);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),u=n(7599),l=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,u.Fc)(t).revokeUrl,h=(0,s.UK)({token_type_hint:o?"refresh_token":"access_token",token:o||r}).slice(1),m=d?(0,l.r3)("".concat(f,":").concat(d)):(0,l.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),u=n(5437),l=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,u.V)(e);var t=this.getStorage(e),n=e.storageKey||c.TRANSACTION_STORAGE_NAME;return new l._(t,n)}},{key:"getSharedTansactionStorage",value:function(e){e=this.getOptionsForSection("shared-transaction",e),(0,u.V)(e);var t=this.getStorage(e),n=e.storageKey||c.SHARED_TRANSACTION_STORAGE_NAME;return new l._(t,n)}},{key:"getOriginalUriStorage",value:function(e){e=this.getOptionsForSection("original-uri",e),(0,u.V)(e);var t=this.getStorage(e),n=e.storageKey||c.ORIGINAL_URI_STORAGE_NAME;return new l._(t,n)}}]),d}(u.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 u}});var r="expired",o="renewed",i="added",a="removed",s="error",u="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 u},mH:function(){return l}});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 u(e){return!!o(e)&&void 0===Object.values(e).find((function(e){return"string"!=typeof e}))}function l(e){return!(!i(e)&&!u(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 u.rZ},isIdxTransactionMeta:function(){return u.sG},isOAuthTransactionMeta:function(){return u.G5},isPKCETransactionMeta:function(){return u.ZT},isTransactionMeta:function(){return u.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),u=n(4319),l=n(7615);for(var i in o={},l)["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 l[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 u}});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 u(e,t,n){var a,s;return new Promise((function(i,u){a=function(t){if(t.data&&t.data.state===n)return t.origin!==e.getIssuerOrigin()?u(new r.Z("The request does not match client configuration")):void i(t.data)},o(window,"message",a),s=setTimeout((function(){u(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,u=t.responseType,l=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:u||["token","id_token"],responseMode:l,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 u.H},U5:function(){return l.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),u=n(2865),l=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 u(e){return e.pkce||"code"===e.responseType||"query"===e.responseMode}function l(e){return u(e)&&"fragment"!==e.responseMode?window.location.search:window.location.hash}function c(e){if(!s(window.location.href,e))return!1;var t=u(e.options),n=l(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=l(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 u},O2:function(){return l},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 l},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 u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,o.Qj)(t.issuer)||e.options.issuer}function l(e){var t=u(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{});return t.indexOf("/oauth2")>0?t:t+"/oauth2"}function c(e){return u(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=u(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=l(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 v},wu:function(){return b}});var r=n(4942),o=n(5861),i=n(7757),a=n.n(i),s=n(52),u=n(9123),l=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 u.Z(t)}}function m(e,t){return y.apply(this,arguments)}function y(){return(y=(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 u.Z("Invalid code_challenge_method");case 7:return e.abrupt("return",n);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function v(e,t){return g.apply(this,arguments)}function g(){return(g=(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,l.D)(t),!1!==(n=p(p({},r),n)).pkce){e.next=5;break}return e.abrupt("return",n);case 5:return e.abrupt("return",v(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),u=n(9123),l=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,y;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n&&n.idToken){e.next=2;break}throw new u.Z("Only idTokens may be verified");case 2:return o=(0,l.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 y=e.sent,e.next=17,c.W(n.idToken,y);case 17:if(e.sent){e.next=20;break}throw new u.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 u.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 u},dx:function(){return l},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 u(e){return(0,i.c3)(e,{url:e.getIssuerOrigin()+"/api/v1/sessions/me",method:"DELETE",withCredentials:!0})}function l(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),u=n(2963),l=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,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,u.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),u=n(415),l=n(146);function c(e){(0,u.isBrowser)()||e.storageProvider||e.storageProvider||(0,l.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),u=n(1120),l=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,u.Z)(n);if(c){var r=(0,u.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,l.Z)((0,i.Z)(e),"storageManager",void 0);var s=e.options,u=s.storageManager,c=s.cookies,p=s.storageUtil;return e.storageManager=new t(u,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 y}});var r=n(5671),o=n(7326),i=n(136),a=n(2963),s=n(1120),u=n(4942),l=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,u.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 y(){return function(e){(0,i.Z)(h,e);var t,n,l=(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=l.call(this,e),(0,u.Z)((0,o.Z)(t),"cookies",void 0),(0,u.Z)((0,o.Z)(t),"storageUtil",void 0),(0,u.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,l.X)())}},3548:function(e,t,n){"use strict";n.d(t,{b:function(){return u}});var r=n(5671),o=n(3144),i=n(4942),a=n(4771),s=n(146),u=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 u.sD},Qj:function(){return u.Qj},BY:function(){return u.BY},UK:function(){return u.UK},QN:function(){return u.QN}});var r=n(146),o=n(8750),i=n(3193),a=n(3548),s=n(4771),u=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 u(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 l(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 u},Rg:function(){return l}})},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 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 l=function(e){i(l,e);var t,n,u=(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=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 l(e){var t;return r(this,l),(t=u.call(this,e||"Promise was canceled")).name="CancelError",t}return o(l,[{key:"isCanceled",get:function(){return!0}}]),l}(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 u(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)?u(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 l(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=l},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]"],u=ArrayBuffer.isView||function(e){return e&&s.indexOf(Object.prototype.toString.call(e))>-1};function l(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 y(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function v(){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=y(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(e)||u(e))?this._bodyArrayBuffer=y(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=l(e),t=c(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},d.prototype.delete=function(e){delete this.map[l(e)]},d.prototype.get=function(e){return e=l(e),this.has(e)?this.map[e]:null},d.prototype.has=function(e){return this.map.hasOwnProperty(l(e))},d.prototype.set=function(e,t){this.map[l(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 g=["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(),g.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})},v.call(b.prototype),v.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 E(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 u(){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",u),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",u)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}E.polyfill=!0,e.fetch||(e.fetch=E,e.Headers=d,e.Request=b,e.Response=w),t.Headers=d,t.Request=b,t.Response=w,t.fetch=E,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 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 l(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,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 C()}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 u=c(e,t,n);if("normal"===u.type){if(r=n.done?h:d,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=h,n.method="throw",n.arg=u.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=l;var f="suspendedStart",d="suspendedYield",p="executing",h="completed",m={};function y(){}function v(){}function g(){}var b={};b[i]=function(){return this};var _=Object.getPrototypeOf,w=_&&_(_(P([])));w&&w!==n&&r.call(w,i)&&(b=w);var O=g.prototype=y.prototype=Object.create(b);function E(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(o,i,a,s){var u=c(e[o],e,i);if("throw"!==u.type){var l=u.arg,f=l.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){l.value=e,a(l)}),(function(e){return n("throw",e,a,s)}))}s(u.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 k(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(k,this),this.reset(!0)}function P(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:C}}function C(){return{value:t,done:!0}}return v.prototype=O.constructor=g,g.constructor=v,v.displayName=u(g,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,u(e,s,"GeneratorFunction")),e.prototype=Object.create(O),e},e.awrap=function(e){return{__await:e}},E(x.prototype),x.prototype[a]=function(){return this},e.AsyncIterator=x,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new x(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},E(O),u(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=P,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 u=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(u&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!l)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:P(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),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).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,u,"next",e)}function u(e){r(a,o,i,s,u,"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 v},AuthenticatorKey:function(){return p.pc},IdxFeature:function(){return p.Fw},IdxStatus:function(){return p.Qd},authenticate:function(){return p.YR},canProceed:function(){return p.Ch},cancel:function(){return p.al},clearTransactionMeta:function(){return p.Jm},createIdxAPI:function(){return p.F4},createIdxOptionsConstructor:function(){return p.SL},createIdxStorageManager:function(){return p.aT},createIdxTransactionManager:function(){return p.vK},createOktaAuthIdx:function(){return p.Yn},createTransactionMeta:function(){return p.Xc},getSavedTransactionMeta:function(){return p.uN},getTransactionMeta:function(){return p.Co},handleEmailVerifyCallback:function(){return p.Jn},handleInteractionCodeRedirect:function(){return p.Xx},hasSavedInteractionHandle:function(){return p.$0},interact:function(){return p.EW},introspect:function(){return p.L8},isAuthenticator:function(){return p.H},isEmailVerifyCallback:function(){return p.GA},isEmailVerifyCallbackError:function(){return p.gc},isTransactionMetaValid:function(){return p.Wf},isTransactionMetaValidForFlow:function(){return p.bl},isTransactionMetaValidForOptions:function(){return p.UC},mixinIdx:function(){return p.B_},parseEmailVerifyCallback:function(){return p.mo},poll:function(){return p.$l},proceed:function(){return p.xc},recoverPassword:function(){return p.M4},register:function(){return p.z2},saveTransactionMeta:function(){return p.r0},startTransaction:function(){return p.Yr},unlockAccount:function(){return p.le}});var e=n(5671),t=n(136),o=n(2963),i=n(1120),a=n(4602),s=n(4143),u=n(3334),l=n(2144),c=n(6736),f={};for(var d in c)["default","OktaAuth"].indexOf(d)<0&&(f[d]=function(e){return c[e]}.bind(0,d));n.d(r,f);var p=n(683),h=(0,a.S)(),m=(0,s.a)(),y=(0,u.v)(),v=function(n){(0,t.Z)(u,n);var r,a,s=(r=u,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 u(t){return(0,e.Z)(this,u),s.call(this,t)}return u}((0,l.Y)(m,h,y));r.default=v}(),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 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};function l(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){l(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"===u(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]"],u=ArrayBuffer.isView||function(e){return e&&s.indexOf(Object.prototype.toString.call(e))>-1};function l(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 y(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function v(){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=y(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(e)||u(e))?this._bodyArrayBuffer=y(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=l(e),t=c(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},d.prototype.delete=function(e){delete this.map[l(e)]},d.prototype.get=function(e){return e=l(e),this.has(e)?this.map[e]:null},d.prototype.has=function(e){return this.map.hasOwnProperty(l(e))},d.prototype.set=function(e,t){this.map[l(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 g=["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(),g.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})},v.call(b.prototype),v.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 E(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 u(){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",u),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",u)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}E.polyfill=!0,e.fetch||(e.fetch=E,e.Headers=d,e.Request=b,e.Response=w),t.Headers=d,t.Request=b,t.Response=w,t.fetch=E,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,u=i.flat?function(e){return i.flat.call(e)}:function(e){return i.concat.apply([],e)},l=i.push,c=i.indexOf,f={},d=f.toString,p=f.hasOwnProperty,h=p.toString,m=h.call(Object),y={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},g=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 E="3.6.1",x=function(e,t){return new x.fn.init(e,t)};function S(e){var t=!!e&&"length"in e&&e.length,n=O(e);return!v(e)&&!g(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}x.fn=x.prototype={jquery:E,constructor:x,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=x.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return x.each(this,e)},map:function(e){return this.pushStack(x.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(x.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(x.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:l,sort:i.sort,splice:i.splice},x.extend=x.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(x.isPlainObject(r)||(o=Array.isArray(r)))?(n=a[t],i=o&&!Array.isArray(n)?[]:o||x.isPlainObject(n)?n:{},o=!1,a[t]=x.extend(l,i,r)):void 0!==r&&(a[t]=r));return a},x.extend({expando:"jQuery"+(E+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))?x.merge(n,"string"==typeof e?[e]:e):l.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 u(a)},guid:1,support:y}),"function"==typeof Symbol&&(x.fn[Symbol.iterator]=i[Symbol.iterator]),x.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){f["[object "+t+"]"]=t.toLowerCase()}));var k=
/*!
 * 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,u,l,c,f,d,p,h,m,y,v,g,b,_="sizzle"+1*new Date,w=e.document,O=0,E=0,x=ue(),S=ue(),k=ue(),T=ue(),A=function(e,t){return e===t&&(f=!0),0},P={}.hasOwnProperty,C=[],R=C.pop,N=C.push,I=C.push,j=C.slice,M=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+")*)|.*)\\)|)",H=new RegExp(D+"+","g"),V=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]*"),K=new RegExp(D+"|>"),W=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")},Y=/HTML$/i,$=/^(?: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(C=j.call(w.childNodes),w.childNodes),C[w.childNodes.length].nodeType}catch(e){I={apply:C.length?function(e,t){N.apply(e,j.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,l,c,f,h,v,g=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(!(l=t.getElementById(i)))return r;if(l.id===i)return r.push(l),r}else if(g&&(l=g.getElementById(i))&&b(t,l)&&l.id===i)return r.push(l),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+" "]&&(!y||!y.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(v=e,g=t,1===w&&(K.test(e)||q.test(e))){for((g=ee.test(e)&&ve(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]);v=h.join(",")}try{return I.apply(r,g.querySelectorAll(v)),r}catch(t){T(e,!0)}finally{c===_&&t.removeAttribute("id")}}}return u(e.replace(V,"$1"),t,r,o)}function ue(){var e=[];return function t(n,o){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function le(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 ye(e){return le((function(t){return t=+t,le((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 ve(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!Y.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)},v=[],y=[],(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&&y.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+L+")"),e.querySelectorAll("[id~="+_+"-]").length||y.push("~="),(t=p.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||y.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+_+"+*").length||y.push(".#.+[+~]"),e.querySelectorAll("\\\f"),y.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&&y.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")}))),(n.matchesSelector=Q.test(g=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ce((function(e){n.disconnectedMatch=g.call(e,"*"),g.call(e,"[s!='']:x"),v.push("!=",B)})),y=y.length&&new RegExp(y.join("|")),v=v.length&&new RegExp(v.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?M(c,e)-M(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?M(c,e)-M(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+" "]&&(!v||!v.test(t))&&(!y||!y.test(t)))try{var r=g.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&&P.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:le,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&&W.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=x[e+" "];return t||(t=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+e+"("+D+"|$)"))&&x(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(H," ")+" ").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,u){var l,c,f,d,p,h,m=i!==a?"nextSibling":"previousSibling",y=t.parentNode,v=s&&t.nodeName.toLowerCase(),g=!u&&!s,b=!1;if(y){if(i){for(;m;){for(d=t;d=d[m];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?y.firstChild:y.lastChild],a&&g){for(b=(p=(l=(c=(f=(d=y)[_]||(d[_]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===O&&l[1])&&l[2],d=p&&y.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(g&&(b=p=(l=(c=(f=(d=t)[_]||(d[_]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===O&&l[1]),!1===b)for(;(d=++p&&d&&d[m]||(b=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++b||(g&&((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())?le((function(e,n){for(var r,i=o(e,t),a=i.length;a--;)e[r=M(e,i[a])]=!(n[r]=i[a])})):function(e){return o(e,0,n)}):o}},pseudos:{not:le((function(e){var t=[],n=[],r=s(e.replace(V,"$1"));return r[_]?le((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:le((function(e){return function(t){return se(e,t).length>0}})),contains:le((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||o(t)).indexOf(e)>-1}})),lang:le((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 $.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:ye((function(){return[0]})),last:ye((function(e,t){return[t-1]})),eq:ye((function(e,t,n){return[n<0?n+t:n]})),even:ye((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ye((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ye((function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ye((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 ge(){}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=E++;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,u){var l,c,f,d=[O,s];if(u){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,u))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((l=c[i])&&l[0]===O&&l[1]===s)return d[2]=l[2];if(c[i]=d,d[2]=e(t,n,u))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,u=e.length,l=null!=t;s<u;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),l&&t.push(s)));return a}function Ee(e,t,n,r,o,i){return r&&!r[_]&&(r=Ee(r)),o&&!o[_]&&(o=Ee(o,i)),le((function(i,a,s,u){var l,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,[]),y=!e||!i&&t?m:Oe(m,d,e,s,u),v=n?o||(i?e:h||r)?[]:a:y;if(n&&n(y,v,s,u),r)for(l=Oe(v,p),r(l,[],s,u),c=l.length;c--;)(f=l[c])&&(v[p[c]]=!(y[p[c]]=f));if(i){if(o||e){if(o){for(l=[],c=v.length;c--;)(f=v[c])&&l.push(y[c]=f);o(null,v=[],l,u)}for(c=v.length;c--;)(f=v[c])&&(l=o?M(i,f):d[c])>-1&&(i[l]=!(a[l]=f))}}else v=Oe(v===a?v.splice(h,v.length):v),o?o(null,a,v,u):I.apply(a,v)}))}function xe(e){for(var t,n,o,i=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,c=_e((function(e){return e===t}),s,!0),f=_e((function(e){return M(t,e)>-1}),s,!0),d=[function(e,n,r){var o=!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):f(e,n,r));return t=null,o}];u<i;u++)if(n=r.relative[e[u].type])d=[_e(we(d),n)];else{if((n=r.filter[e[u].type].apply(null,e[u].matches))[_]){for(o=++u;o<i&&!r.relative[e[o].type];o++);return Ee(u>1&&we(d),u>1&&be(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(V,"$1"),n,u<o&&xe(e.slice(u,o)),o<i&&xe(e=e.slice(o)),o<i&&be(e))}d.push(n)}return we(d)}return ge.prototype=r.filters=r.pseudos,r.setFilters=new ge,a=se.tokenize=function(e,t){var n,o,i,a,s,u,l,c=S[e+" "];if(c)return t?0:c.slice(0);for(s=e,u=[],l=r.preFilter;s;){for(a in n&&!(o=Z.exec(s))||(o&&(s=s.slice(o[0].length)||s),u.push(i=[])),n=!1,(o=q.exec(s))&&(n=o.shift(),i.push({value:n,type:o[0].replace(V," ")}),s=s.slice(n.length)),r.filter)!(o=z[a].exec(s))||l[a]&&!(o=l[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,u).slice(0)},s=se.compile=function(e,t){var n,o=[],i=[],s=k[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=xe(t[n]))[_]?o.push(s):i.push(s);s=k(e,function(e,t){var n=t.length>0,o=e.length>0,i=function(i,a,s,u,c){var f,h,y,v=0,g="0",b=i&&[],_=[],w=l,E=i||o&&r.find.TAG("*",c),x=O+=null==w?1:Math.random()||.1,S=E.length;for(c&&(l=a==p||a||c);g!==S&&null!=(f=E[g]);g++){if(o&&f){for(h=0,a||f.ownerDocument==p||(d(f),s=!m);y=e[h++];)if(y(f,a||p,s)){u.push(f);break}c&&(O=x)}n&&((f=!y&&f)&&v--,i&&b.push(f))}if(v+=g,n&&g!==v){for(h=0;y=t[h++];)y(b,_,a,s);if(i){if(v>0)for(;g--;)b[g]||_[g]||(_[g]=R.call(u));_=Oe(_)}I.apply(u,_),c&&!i&&_.length>0&&v+t.length>1&&se.uniqueSort(u)}return c&&(O=x,l=w),b};return n?le(i):i}(i,o)),s.selector=e}return s},u=se.select=function(e,t,n,o){var i,u,l,c,f,d="function"==typeof e&&e,p=!o&&a(e=d.selector||e);if(n=n||[],1===p.length){if((u=p[0]=p[0].slice(0)).length>2&&"ID"===(l=u[0]).type&&9===t.nodeType&&m&&r.relative[u[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(te,ne),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(u.shift().value.length)}for(i=z.needsContext.test(e)?0:u.length;i--&&(l=u[i],!r.relative[c=l.type]);)if((f=r.find[c])&&(o=f(l.matches[0].replace(te,ne),ee.test(u[0].type)&&ve(t.parentNode)||t))){if(u.splice(i,1),!(e=o.length&&be(u)))return I.apply(n,o),n;break}}return(d||s(e,p))(o,t,!m,n,!t||ee.test(e)&&ve(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);x.find=k,x.expr=k.selectors,x.expr[":"]=x.expr.pseudos,x.uniqueSort=x.unique=k.uniqueSort,x.text=k.getText,x.isXMLDoc=k.isXML,x.contains=k.contains,x.escapeSelector=k.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&&x(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},P=x.expr.match.needsContext;function C(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 v(t)?x.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?x.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?x.grep(e,(function(e){return c.call(t,e)>-1!==n})):x.filter(t,e,n)}x.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,(function(e){return 1===e.nodeType})))},x.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(x(e).filter((function(){for(t=0;t<r;t++)if(x.contains(o[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)x.find(e,o[t],n);return r>1?x.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&&P.test(e)?x(e):e||[],!1).length}});var I,j=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(x.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]:j.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 x?t[0]:t,x.merge(this,x.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),R.test(r[1])&&x.isPlainObject(t))for(r in t)v(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):v(e)?void 0!==n.ready?n.ready(e):e(x):x.makeArray(e,this)}).prototype=x.fn,I=x(b);var M=/^(?: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}x.fn.extend({has:function(e){var t=x(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(x.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,o=this.length,i=[],a="string"!=typeof e&&x(e);if(!P.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&&x.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?x.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?c.call(x(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(x.uniqueSort(x.merge(this.get(),x(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),x.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:(C(e,"template")&&(e=e.content||e),x.merge([],e.childNodes))}},(function(e,t){x.fn[e]=function(n,r){var o=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=x.filter(r,o)),this.length>1&&(L[e]||x.uniqueSort(o),M.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 H(e,t,n,r){var o;try{e&&v(o=e.promise)?o.call(e).done(t).fail(n):e&&v(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}x.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return x.each(e.match(F)||[],(function(e,n){t[n]=!0})),t}(e):x.extend({},e);var t,n,r,o,i=[],a=[],s=-1,u=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?[]:"")},l={add:function(){return i&&(n&&!t&&(s=i.length-1,a.push(n)),function t(n){x.each(n,(function(n,r){v(r)?e.unique&&l.has(r)||i.push(r):r&&r.length&&"string"!==O(r)&&t(r)}))}(arguments),n&&!t&&u()),this},remove:function(){return x.each(arguments,(function(e,t){for(var n;(n=x.inArray(t,i,n))>-1;)i.splice(n,1),n<=s&&s--})),this},has:function(e){return e?x.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||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},x.extend({Deferred:function(e){var t=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.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 x.Deferred((function(n){x.each(t,(function(t,r){var o=v(e[r[4]])&&e[r[4]];i[r[1]]((function(){var e=o&&o.apply(this,arguments);e&&v(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,u=arguments,l=function(){var r,l;if(!(e<i)){if((r=n.apply(s,u))===t.promise())throw new TypeError("Thenable self-resolution");l=r&&("object"==typeof r||"function"==typeof r)&&r.then,v(l)?o?l.call(r,a(i,t,U,o),a(i,t,B,o)):(i++,l.call(r,a(i,t,U,o),a(i,t,B,o),a(i,t,U,t.notifyWith))):(n!==U&&(s=void 0,u=[r]),(o||t.resolveWith)(s,u))}},c=o?l:function(){try{l()}catch(r){x.Deferred.exceptionHook&&x.Deferred.exceptionHook(r,c.stackTrace),e+1>=i&&(n!==B&&(s=void 0,u=[r]),t.rejectWith(s,u))}};e?c():(x.Deferred.getStackHook&&(c.stackTrace=x.Deferred.getStackHook()),r.setTimeout(c))}}return x.Deferred((function(r){t[0][3].add(a(0,r,v(o)?o:U,r.notifyWith)),t[1][3].add(a(0,r,v(e)?e:U)),t[2][3].add(a(0,r,v(n)?n:B))})).promise()},promise:function(e){return null!=e?x.extend(e,o):o}},i={};return x.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=x.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&&(H(e,i.done(a(n)).resolve,i.reject,!t),"pending"===i.state()||v(o[n]&&o[n].then)))return i.then();for(;n--;)H(o[n],a(n),i.reject);return i.promise()}});var V=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&V.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},x.readyException=function(e){r.setTimeout((function(){throw e}))};var Z=x.Deferred();function q(){b.removeEventListener("DOMContentLoaded",q),r.removeEventListener("load",q),x.ready()}x.fn.ready=function(e){return Z.then(e).catch((function(e){x.readyException(e)})),this},x.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--x.readyWait:x.isReady)||(x.isReady=!0,!0!==e&&--x.readyWait>0||Z.resolveWith(b,[x]))}}),x.ready.then=Z.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(x.ready):(b.addEventListener("DOMContentLoaded",q),r.addEventListener("load",q));var K=function(e,t,n,r,o,i,a){var s=0,u=e.length,l=null==n;if("object"===O(n))for(s in o=!0,n)K(e,t,s,n[s],!0,i,a);else if(void 0!==r&&(o=!0,v(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(x(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return o?e:l?t.call(e):u?t(e[0],n):i},W=/^-ms-/,G=/-([a-z])/g;function z(e,t){return t.toUpperCase()}function Y(e){return e.replace(W,"ms-").replace(G,z)}var $=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function J(){this.expando=x.expando+J.uid++}J.uid=1,J.prototype={cache:function(e){var t=e[this.expando];return t||(t={},$(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[Y(t)]=n;else for(r in t)o[Y(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][Y(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(Y):(t=Y(t))in r?[t]:t.match(F)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||x.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&&!x.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}x.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)}}),x.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=Y(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)})):K(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)}))}}),x.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,x.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,o=n.shift(),i=x._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,(function(){x.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:x.Callbacks("once memory").add((function(){Q.remove(e,[t+"queue",n])}))})}}),x.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?x.queue(this[0],e):void 0===t?this:this.each((function(){var n=x.queue(this,e,t);x._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&x.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){x.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=x.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 x.contains(e.ownerDocument,e)},ue={composed:!0};ae.getRootNode&&(se=function(e){return x.contains(e.ownerDocument,e)||e.getRootNode(ue)===e.ownerDocument});var le=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&se(e)&&"none"===x.css(e,"display")};function ce(e,t,n,r){var o,i,a=20,s=r?function(){return r.cur()}:function(){return x.css(e,t,"")},u=s(),l=n&&n[3]||(x.cssNumber[t]?"":"px"),c=e.nodeType&&(x.cssNumber[t]||"px"!==l&&+u)&&oe.exec(x.css(e,t));if(c&&c[3]!==l){for(u/=2,l=l||c[3],c=+u||1;a--;)x.style(e,t,c+l),(1-i)*(1-(i=s()/u||.5))<=0&&(a=0),c/=i;c*=2,x.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,o=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,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=x.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&&le(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}x.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(){le(this)?x(this).show():x(this).hide()}))}});var he,me,ye=/^(?:checkbox|radio)$/i,ve=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ge=/^$|^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),y.checkClone=he.cloneNode(!0).cloneNode(!0).lastChild.checked,he.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!he.cloneNode(!0).lastChild.defaultValue,he.innerHTML="<option></option>",y.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&&C(e,t)?x.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,y.option||(be.optgroup=be.option=[1,"<select multiple='multiple'>","</select>"]);var Oe=/<|&#?\w+;/;function Ee(e,t,n,r,o){for(var i,a,s,u,l,c,f=t.createDocumentFragment(),d=[],p=0,h=e.length;p<h;p++)if((i=e[p])||0===i)if("object"===O(i))x.merge(d,i.nodeType?[i]:i);else if(Oe.test(i)){for(a=a||f.appendChild(t.createElement("div")),s=(ve.exec(i)||["",""])[1].toLowerCase(),u=be[s]||be._default,a.innerHTML=u[1]+x.htmlPrefilter(i)+u[2],c=u[0];c--;)a=a.lastChild;x.merge(d,a.childNodes),(a=f.firstChild).textContent=""}else d.push(t.createTextNode(i));for(f.textContent="",p=0;i=d[p++];)if(r&&x.inArray(i,r)>-1)o&&o.push(i);else if(l=se(i),a=_e(f.appendChild(i),"script"),l&&we(a),n)for(c=0;i=a[c++];)ge.test(i.type||"")&&n.push(i);return f}var xe=/^([^.]*)(?:\.(.+)|)/;function Se(){return!0}function ke(){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=ke;else if(!o)return e;return 1===i&&(a=o,o=function(e){return x().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=x.guid++)),e.each((function(){x.event.add(this,t,o,r,n)}))}function Pe(e,t,n){n?(Q.set(e,t,!1),x.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)(x.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:x.event.trigger(x.extend(i[0],x.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,t)&&x.event.add(e,t,Se)}x.event={global:{},add:function(e,t,n,r,o){var i,a,s,u,l,c,f,d,p,h,m,y=Q.get(e);if($(e))for(n.handler&&(n=(i=n).handler,o=i.selector),o&&x.find.matchesSelector(ae,o),n.guid||(n.guid=x.guid++),(u=y.events)||(u=y.events=Object.create(null)),(a=y.handle)||(a=y.handle=function(t){return void 0!==x&&x.event.triggered!==t.type?x.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(F)||[""]).length;l--;)p=m=(s=xe.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),p&&(f=x.event.special[p]||{},p=(o?f.delegateType:f.bindType)||p,f=x.event.special[p]||{},c=x.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&x.expr.match.needsContext.test(o),namespace:h.join(".")},i),(d=u[p])||((d=u[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),x.event.global[p]=!0)},remove:function(e,t,n,r,o){var i,a,s,u,l,c,f,d,p,h,m,y=Q.hasData(e)&&Q.get(e);if(y&&(u=y.events)){for(l=(t=(t||"").match(F)||[""]).length;l--;)if(p=m=(s=xe.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),p){for(f=x.event.special[p]||{},d=u[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,y.handle)||x.removeEvent(e,p,y.handle),delete u[p])}else for(p in u)x.event.remove(e,p+t[l],n,r,!0);x.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,s=new Array(arguments.length),u=x.event.fix(e),l=(Q.get(this,"events")||Object.create(null))[u.type]||[],c=x.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){for(a=x.event.handlers.call(this,u,l),t=0;(o=a[t++])&&!u.isPropagationStopped();)for(u.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!u.isImmediatePropagationStopped();)u.rnamespace&&!1!==i.namespace&&!u.rnamespace.test(i.namespace)||(u.handleObj=i,u.data=i.data,void 0!==(r=((x.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,o,i,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(i=[],a={},n=0;n<u;n++)void 0===a[o=(r=t[n]).selector+" "]&&(a[o]=r.needsContext?x(o,this).index(l)>-1:x.find(o,this,null,[l]).length),a[o]&&i.push(r);i.length&&s.push({elem:l,handlers:i})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(x.Event.prototype,e,{enumerable:!0,configurable:!0,get:v(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[x.expando]?e:new x.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ye.test(t.type)&&t.click&&C(t,"input")&&Pe(t,"click",Se),!1},trigger:function(e){var t=this||e;return ye.test(t.type)&&t.click&&C(t,"input")&&Pe(t,"click"),!0},_default:function(e){var t=e.target;return ye.test(t.type)&&t.click&&C(t,"input")&&Q.get(t,"click")||C(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},x.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},x.Event=function(e,t){if(!(this instanceof x.Event))return new x.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:ke,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&&x.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[x.expando]=!0},x.Event.prototype={constructor:x.Event,isDefaultPrevented:ke,isPropagationStopped:ke,isImmediatePropagationStopped:ke,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()}},x.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},x.event.addProp),x.each({focus:"focusin",blur:"focusout"},(function(e,t){x.event.special[e]={setup:function(){return Pe(this,e,Te),!1},trigger:function(){return Pe(this,e),!0},_default:function(t){return Q.get(t.target,e)},delegateType:t}})),x.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,o=e.relatedTarget,i=e.handleObj;return o&&(o===r||x.contains(r,o))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}})),x.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,x(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=ke),this.each((function(){x.event.remove(this,e,n,t)}))}});var Ce=/<script|<style|<link/i,Re=/checked\s*(?:[^=]|=\s*.checked.)/i,Ne=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Ie(e,t){return C(e,"table")&&C(11!==t.nodeType?t:t.firstChild,"tr")&&x(e).children("tbody")[0]||e}function je(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Me(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++)x.event.add(t,o,s[o][n]);X.hasData(e)&&(i=X.access(e),a=x.extend({},i),X.set(t,a))}}function De(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ye.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Fe(e,t,n,r){t=u(t);var o,i,a,s,l,c,f=0,d=e.length,p=d-1,h=t[0],m=v(h);if(m||d>1&&"string"==typeof h&&!y.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=Ee(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=(a=x.map(_e(o,"script"),je)).length;f<d;f++)l=o,f!==p&&(l=x.clone(l,!0,!0),s&&x.merge(a,_e(l,"script"))),n.call(e[f],l,f);if(s)for(c=a[a.length-1].ownerDocument,x.map(a,Me),f=0;f<s;f++)l=a[f],ge.test(l.type||"")&&!Q.access(l,"globalEval")&&x.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?x._evalUrl&&!l.noModule&&x._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):w(l.textContent.replace(Ne,""),l,c))}return e}function Ue(e,t,n){for(var r,o=t?x.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||x.cleanData(_e(r)),r.parentNode&&(n&&se(r)&&we(_e(r,"script")),r.parentNode.removeChild(r));return e}x.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,i,a,s=e.cloneNode(!0),u=se(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.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,!u&&_e(e,"script")),s},cleanData:function(e){for(var t,n,r,o=x.event.special,i=0;void 0!==(n=e[i]);i++)if($(n)){if(t=n[Q.expando]){if(t.events)for(r in t.events)o[r]?x.event.remove(n,r):x.removeEvent(n,r,t.handle);n[Q.expando]=void 0}n[X.expando]&&(n[X.expando]=void 0)}}}),x.fn.extend({detach:function(e){return Ue(this,e,!0)},remove:function(e){return Ue(this,e)},text:function(e){return K(this,(function(e){return void 0===e?x.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&&(x.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 x.clone(this,e,t)}))},html:function(e){return K(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&&!Ce.test(e)&&!be[(ve.exec(e)||["",""])[1].toLowerCase()]){e=x.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(x.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;x.inArray(this,e)<0&&(x.cleanData(_e(this)),n&&n.replaceChild(t,this))}),e)}}),x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){x.fn[e]=function(e){for(var n,r=[],o=x(e),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),x(o[a])[t](n),l.apply(r,n.get());return this.pushStack(r)}}));var Be=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),He=/^--/,Ve=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"),Ke=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g");function We(e,t,n){var r,o,i,a,s=He.test(t),u=e.style;return(n=n||Ve(e))&&(a=n.getPropertyValue(t)||n[t],s&&(a=a.replace(Ke,"$1")),""!==a||se(e)||(a=x.style(e,t)),!y.pixelBoxStyles()&&Be.test(a)&&qe.test(t)&&(r=u.width,o=u.minWidth,i=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=o,u.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){l.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(l).appendChild(c);var e=r.getComputedStyle(c);n="1%"!==e.top,u=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(l),c=null}}function t(e){return Math.round(parseFloat(e))}var n,o,i,a,s,u,l=b.createElement("div"),c=b.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",y.clearCloneStyle="content-box"===c.style.backgroundClip,x.extend(y,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),u},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"],Ye=b.createElement("div").style,$e={};function Je(e){var t=x.cssProps[e]||$e[e];return t||(e in Ye?e:$e[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=ze.length;n--;)if((e=ze[n]+t)in Ye)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,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=x.css(e,n+ie[a],!0,o)),r?("content"===n&&(u-=x.css(e,"padding"+ie[a],!0,o)),"margin"!==n&&(u-=x.css(e,"border"+ie[a]+"Width",!0,o))):(u+=x.css(e,"padding"+ie[a],!0,o),"padding"!==n?u+=x.css(e,"border"+ie[a]+"Width",!0,o):s+=x.css(e,"border"+ie[a]+"Width",!0,o));return!r&&i>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-u-s-.5))||0),u}function rt(e,t,n){var r=Ve(e),o=(!y.boxSizingReliable()||n)&&"border-box"===x.css(e,"boxSizing",!1,r),i=o,a=We(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Be.test(a)){if(!n)return a;a="auto"}return(!y.boxSizingReliable()&&o||!y.reliableTrDimensions()&&C(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===x.css(e,"display",!1,r))&&e.getClientRects().length&&(o="border-box"===x.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)}x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=We(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=Y(t),u=He.test(t),l=e.style;if(u||(t=Je(s)),a=x.cssHooks[t]||x.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:l[t];"string"===(i=typeof n)&&(o=oe.exec(n))&&o[1]&&(n=ce(e,t,o),i="number"),null!=n&&n==n&&("number"!==i||u||(n+=o&&o[3]||(x.cssNumber[s]?"":"px")),y.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var o,i,a,s=Y(t);return He.test(t)||(t=Je(s)),(a=x.cssHooks[t]||x.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=We(e,t,r)),"normal"===o&&t in et&&(o=et[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),x.each(["height","width"],(function(e,t){x.cssHooks[t]={get:function(e,n,r){if(n)return!Qe.test(x.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=Ve(e),a=!y.scrollboxSize()&&"absolute"===i.position,s=(a||r)&&"border-box"===x.css(e,"boxSizing",!1,i),u=r?nt(e,t,r,s,i):0;return s&&a&&(u-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-nt(e,t,"border",!1,i)-.5)),u&&(o=oe.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=x.css(e,t)),tt(0,n,u)}}})),x.cssHooks.marginLeft=Ge(y.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(We(e,"marginLeft"))||e.getBoundingClientRect().left-Ze(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),x.each({margin:"",padding:"",border:"Width"},(function(e,t){x.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&&(x.cssHooks[e+t].set=tt)})),x.fn.extend({css:function(e,t){return K(this,(function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=Ve(e),o=t.length;a<o;a++)i[t[a]]=x.css(e,t[a],!1,r);return i}return void 0!==n?x.style(e,t,n):x.css(e,t)}),e,t,arguments.length>1)}}),x.Tween=ot,ot.prototype={constructor:ot,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||x.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(x.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=x.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=x.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):1!==e.elem.nodeType||!x.cssHooks[e.prop]&&null==e.elem.style[Je(e.prop)]?e.elem[e.prop]=e.now:x.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)}},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},x.fx=ot.prototype.init,x.fx.step={};var it,at,st=/^(?:toggle|show|hide)$/,ut=/queueHooks$/;function lt(){at&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(lt):r.setTimeout(lt,x.fx.interval),x.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=x.Deferred().always((function(){delete u.elem})),u=function(){if(o)return!1;for(var t=it||ct(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),i=0,a=l.tweens.length;i<a;i++)l.tweens[i].run(r);return s.notifyWith(e,[l,r,n]),r<1&&a?n:(a||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:x.extend({},t),opts:x.extend(!0,{specialEasing:{},easing:x.easing._default},n),originalProperties:t,originalOptions:n,startTime:it||ct(),duration:n.duration,tweens:[],createTween:function(t,n){var r=x.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(!function(e,t){var n,r,o,i,a;for(n in e)if(o=t[r=Y(n)],i=e[n],Array.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(a=x.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,l.opts.specialEasing);i<a;i++)if(r=pt.prefilters[i].call(l,e,c,l.opts))return v(r.stop)&&(x._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return x.map(c,dt,l),v(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),x.fx.timer(x.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}x.Animation=x.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){v(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,u,l,c,f="width"in t||"height"in t,d=this,p={},h=e.style,m=e.nodeType&&le(e),y=Q.get(e,"fxshow");for(r in n.queue||(null==(a=x._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--,x.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||!y||void 0===y[r])continue;m=!0}p[r]=y&&y[r]||x.style(e,r)}if((u=!x.isEmptyObject(t))||!x.isEmptyObject(p))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=y&&y.display)&&(l=Q.get(e,"display")),"none"===(c=x.css(e,"display"))&&(l?c=l:(pe([e],!0),l=e.style.display||l,c=x.css(e,"display"),pe([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===x.css(e,"float")&&(u||(d.done((function(){h.display=l})),null==l&&(c=h.display,l="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]}))),u=!1,p)u||(y?"hidden"in y&&(m=y.hidden):y=Q.access(e,"fxshow",{display:l}),i&&(y.hidden=!m),m&&pe([e],!0),d.done((function(){for(r in m||pe([e]),Q.remove(e,"fxshow"),p)x.style(e,r,p[r])}))),u=dt(m?y[r]:0,r,d),r in y||(y[r]=u.start,m&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?pt.prefilters.unshift(e):pt.prefilters.push(e)}}),x.speed=function(e,t,n){var r=e&&"object"==typeof e?x.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return x.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in x.fx.speeds?r.duration=x.fx.speeds[r.duration]:r.duration=x.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&x.dequeue(this,r.queue)},r},x.fn.extend({fadeTo:function(e,t,n,r){return this.filter(le).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=x.isEmptyObject(e),i=x.speed(t,n,r),a=function(){var t=pt(this,x.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=x.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&&ut.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||x.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=x.timers,a=r?r.length:0;for(n.finish=!0,x.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}))}}),x.each(["toggle","show","hide"],(function(e,t){var n=x.fn[t];x.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ft(t,!0),e,r,o)}})),x.each({slideDown:ft("show"),slideUp:ft("hide"),slideToggle:ft("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){x.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),x.timers=[],x.fx.tick=function(){var e,t=0,n=x.timers;for(it=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||x.fx.stop(),it=void 0},x.fx.timer=function(e){x.timers.push(e),x.fx.start()},x.fx.interval=13,x.fx.start=function(){at||(at=!0,lt())},x.fx.stop=function(){at=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fn.delay=function(e,t){return e=x.fx&&x.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",y.checkOn=""!==e.value,y.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",y.radioValue="t"===e.value}();var ht,mt=x.expr.attrHandle;x.fn.extend({attr:function(e,t){return K(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){x.removeAttr(this,e)}))}}),x.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?x.prop(e,t,n):(1===i&&x.isXMLDoc(e)||(o=x.attrHooks[t.toLowerCase()]||(x.expr.match.bool.test(t)?ht:void 0)),void 0!==n?null===n?void x.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=x.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!y.radioValue&&"radio"===t&&C(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?x.removeAttr(e,n):e.setAttribute(n,n),n}},x.each(x.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=mt[t]||x.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 yt=/^(?:input|select|textarea|button)$/i,vt=/^(?:a|area)$/i;function gt(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)||[]}x.fn.extend({prop:function(e,t){return K(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[x.propFix[e]||e]}))}}),x.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&x.isXMLDoc(e)||(t=x.propFix[t]||t,o=x.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=x.find.attr(e,"tabindex");return t?parseInt(t,10):yt.test(e.nodeName)||vt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),y.optSelected||(x.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)}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){x.propFix[this.toLowerCase()]=this})),x.fn.extend({addClass:function(e){var t,n,r,o,i,a;return v(e)?this.each((function(t){x(this).addClass(e.call(this,t,bt(this)))})):(t=_t(e)).length?this.each((function(){if(r=bt(this),n=1===this.nodeType&&" "+gt(r)+" "){for(i=0;i<t.length;i++)o=t[i],n.indexOf(" "+o+" ")<0&&(n+=o+" ");a=gt(n),r!==a&&this.setAttribute("class",a)}})):this},removeClass:function(e){var t,n,r,o,i,a;return v(e)?this.each((function(t){x(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&&" "+gt(r)+" "){for(i=0;i<t.length;i++)for(o=t[i];n.indexOf(" "+o+" ")>-1;)n=n.replace(" "+o+" "," ");a=gt(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 v(e)?this.each((function(n){x(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=x(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&&(" "+gt(bt(n))+" ").indexOf(t)>-1)return!0;return!1}});var wt=/\r/g;x.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=v(e),this.each((function(n){var o;1===this.nodeType&&(null==(o=r?e.call(this,n,x(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=x.map(o,(function(e){return null==e?"":e+""}))),(t=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))}))):o?(t=x.valHooks[o.type]||x.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}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:gt(x.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?i+1:o.length;for(r=i<0?u:a?i:0;r<u;r++)if(((n=o[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!C(n.parentNode,"optgroup"))){if(t=x(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,o=e.options,i=x.makeArray(t),a=o.length;a--;)((r=o[a]).selected=x.inArray(x.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),x.each(["radio","checkbox"],(function(){x.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=x.inArray(x(e).val(),t)>-1}},y.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),y.focusin="onfocusin"in r;var Ot=/^(?:focusinfocus|focusoutblur)$/,Et=function(e){e.stopPropagation()};x.extend(x.event,{trigger:function(e,t,n,o){var i,a,s,u,l,c,f,d,h=[n||b],m=p.call(e,"type")?e.type:e,y=p.call(e,"namespace")?e.namespace.split("."):[];if(a=d=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!Ot.test(m+x.event.triggered)&&(m.indexOf(".")>-1&&(y=m.split("."),m=y.shift(),y.sort()),l=m.indexOf(":")<0&&"on"+m,(e=e[x.expando]?e:new x.Event(m,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=y.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:x.makeArray(t,[e]),f=x.event.special[m]||{},o||!f.trigger||!1!==f.trigger.apply(n,t))){if(!o&&!f.noBubble&&!g(n)){for(u=f.delegateType||m,Ot.test(u+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?u:f.bindType||m,(c=(Q.get(a,"events")||Object.create(null))[e.type]&&Q.get(a,"handle"))&&c.apply(a,t),(c=l&&a[l])&&c.apply&&$(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)||!$(n)||l&&v(n[m])&&!g(n)&&((s=n[l])&&(n[l]=null),x.event.triggered=m,e.isPropagationStopped()&&d.addEventListener(m,Et),n[m](),e.isPropagationStopped()&&d.removeEventListener(m,Et),x.event.triggered=void 0,s&&(n[l]=s)),e.result}},simulate:function(e,t,n){var r=x.extend(new x.Event,n,{type:e,isSimulated:!0});x.event.trigger(r,null,t)}}),x.fn.extend({trigger:function(e,t){return this.each((function(){x.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return x.event.trigger(e,t,n,!0)}}),y.focusin||x.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){x.event.simulate(t,e.target,x.event.fix(e))};x.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 xt=r.location,St={guid:Date.now()},kt=/\?/;x.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||x.error("Invalid XML: "+(n?x.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Tt=/\[\]$/,At=/\r?\n/g,Pt=/^(?:submit|button|image|reset|file)$/i,Ct=/^(?:input|select|textarea|keygen)/i;function Rt(e,t,n,r){var o;if(Array.isArray(t))x.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)}x.param=function(e,t){var n,r=[],o=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,(function(){o(this.name,this.value)}));else for(n in e)Rt(n,e[n],t,o);return r.join("&")},x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&Ct.test(this.nodeName)&&!Pt.test(e)&&(this.checked||!ye.test(e))})).map((function(e,t){var n=x(this).val();return null==n?null:Array.isArray(n)?x.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=/#.*$/,jt=/([?&])_=[^&]*/,Mt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Lt=/^(?:GET|HEAD)$/,Dt=/^\/\//,Ft={},Ut={},Bt="*/".concat("*"),Ht=b.createElement("a");function Vt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(F)||[];if(v(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 u;return o[s]=!0,x.each(e[s]||[],(function(e,s){var l=s(t,n,r);return"string"!=typeof l||i||o[l]?i?!(u=l):void 0:(t.dataTypes.unshift(l),a(l),!1)})),u}return a(t.dataTypes[0])||!o["*"]&&a("*")}function qt(e,t){var n,r,o=x.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&x.extend(!0,e,r),e}Ht.href=xt.href,x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:xt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(xt.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":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?qt(qt(e,x.ajaxSettings),t):qt(x.ajaxSettings,e)},ajaxPrefilter:Vt(Ft),ajaxTransport:Vt(Ut),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,o,i,a,s,u,l,c,f,d,p=x.ajaxSetup({},t),h=p.context||p,m=p.context&&(h.nodeType||h.jquery)?x(h):x.event,y=x.Deferred(),v=x.Callbacks("once memory"),g=p.statusCode||{},_={},w={},O="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(l){if(!a)for(a={};t=Mt.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 l?i:null},setRequestHeader:function(e,t){return null==l&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,_[e]=t),this},overrideMimeType:function(e){return null==l&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)E.always(e[E.status]);else for(t in e)g[t]=[g[t],e[t]];return this},abort:function(e){var t=e||O;return n&&n.abort(t),S(0,t),this}};if(y.promise(E),p.url=((e||p.url||xt.href)+"").replace(Dt,xt.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(F)||[""],null==p.crossDomain){u=b.createElement("a");try{u.href=p.url,u.href=u.href,p.crossDomain=Ht.protocol+"//"+Ht.host!=u.protocol+"//"+u.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=x.param(p.data,p.traditional)),Zt(Ft,p,t,E),l)return E;for(f in(c=x.event&&p.global)&&0==x.active++&&x.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+=(kt.test(o)?"&":"?")+p.data,delete p.data),!1===p.cache&&(o=o.replace(jt,"$1"),d=(kt.test(o)?"&":"?")+"_="+St.guid+++d),p.url=o+d),p.ifModified&&(x.lastModified[o]&&E.setRequestHeader("If-Modified-Since",x.lastModified[o]),x.etag[o]&&E.setRequestHeader("If-None-Match",x.etag[o])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&E.setRequestHeader("Content-Type",p.contentType),E.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)E.setRequestHeader(f,p.headers[f]);if(p.beforeSend&&(!1===p.beforeSend.call(h,E,p)||l))return E.abort();if(O="abort",v.add(p.complete),E.done(p.success),E.fail(p.error),n=Zt(Ut,p,t,E)){if(E.readyState=1,c&&m.trigger("ajaxSend",[E,p]),l)return E;p.async&&p.timeout>0&&(s=r.setTimeout((function(){E.abort("timeout")}),p.timeout));try{l=!1,n.send(_,S)}catch(e){if(l)throw e;S(-1,e)}}else S(-1,"No Transport");function S(e,t,a,u){var f,d,b,_,w,O=t;l||(l=!0,s&&r.clearTimeout(s),n=void 0,i=u||"",E.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,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){u.unshift(o);break}if(u[0]in n)i=u[0];else{for(o in n){if(!u[0]||e.converters[o+" "+u[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==u[0]&&u.unshift(i),n[i]}(p,E,a)),!f&&x.inArray("script",p.dataTypes)>-1&&x.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),_=function(e,t,n,r){var o,i,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(i=c.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=i,i=c.shift())if("*"===i)i=u;else if("*"!==u&&u!==i){if(!(a=l[u+" "+i]||l["* "+i]))for(o in l)if((s=o.split(" "))[1]===i&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[o]:!0!==l[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 "+u+" to "+i}}}return{state:"success",data:t}}(p,_,E,f),f?(p.ifModified&&((w=E.getResponseHeader("Last-Modified"))&&(x.lastModified[o]=w),(w=E.getResponseHeader("etag"))&&(x.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))),E.status=e,E.statusText=(t||O)+"",f?y.resolveWith(h,[d,O,E]):y.rejectWith(h,[E,O,b]),E.statusCode(g),g=void 0,c&&m.trigger(f?"ajaxSuccess":"ajaxError",[E,p,f?d:b]),v.fireWith(h,[E,O]),c&&(m.trigger("ajaxComplete",[E,p]),--x.active||x.event.trigger("ajaxStop")))}return E},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,t){return x.get(e,void 0,t,"script")}}),x.each(["get","post"],(function(e,t){x[t]=function(e,n,r,o){return v(n)&&(o=o||r,r=n,n=void 0),x.ajax(x.extend({url:e,type:t,dataType:o,data:n,success:r},x.isPlainObject(e)&&e))}})),x.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),x._evalUrl=function(e,t,n){return x.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){x.globalEval(e,t,n)}})},x.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=x(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 v(e)?this.each((function(t){x(this).wrapInner(e.call(this,t))})):this.each((function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=v(e);return this.each((function(n){x(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){x(this).replaceWith(this.childNodes)})),this}}),x.expr.pseudos.hidden=function(e){return!x.expr.pseudos.visible(e)},x.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},x.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Kt={0:200,1223:204},Wt=x.ajaxSettings.xhr();y.cors=!!Wt&&"withCredentials"in Wt,y.ajax=Wt=!!Wt,x.ajaxTransport((function(e){var t,n;if(y.cors||Wt&&!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(Kt[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()}}})),x.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),x.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 x.globalEval(e),e}}}),x.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),x.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,o){t=x("<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=[],Yt=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||x.expando+"_"+St.guid++;return this[e]=!0,e}}),x.ajaxPrefilter("json jsonp",(function(e,t,n){var o,i,a,s=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Yt,"$1"+o):!1!==e.jsonp&&(e.url+=(kt.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||x.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?x(r).removeProp(o):r[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,zt.push(o)),a&&v(i)&&i(a[0]),a=i=void 0})),"script"})),y.createHTMLDocument=((Gt=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Gt.childNodes.length),x.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.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=Ee([e],t,i),i&&i.length&&x(i).remove(),x.merge([],o.childNodes)));var r,o,i},x.fn.load=function(e,t,n){var r,o,i,a=this,s=e.indexOf(" ");return s>-1&&(r=gt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&x.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done((function(e){i=arguments,a.html(r?x("<div>").append(x.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,i||[e.responseText,t,e])}))}),this},x.expr.pseudos.animated=function(e){return x.grep(x.timers,(function(t){return e===t.elem})).length},x.offset={setOffset:function(e,t,n){var r,o,i,a,s,u,l=x.css(e,"position"),c=x(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),i=x.css(e,"top"),u=x.css(e,"left"),("absolute"===l||"fixed"===l)&&(i+u).indexOf("auto")>-1?(a=(r=c.position()).top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(u)||0),v(t)&&(t=t.call(e,n,x.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)}},x.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){x.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"===x.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"===x.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((o=x(e).offset()).top+=x.css(e,"borderTopWidth",!0),o.left+=x.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-x.css(r,"marginTop",!0),left:t.left-o.left-x.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===x.css(e,"position");)e=e.offsetParent;return e||ae}))}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;x.fn[e]=function(r){return K(this,(function(e,r,o){var i;if(g(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)}})),x.each(["top","left"],(function(e,t){x.cssHooks[t]=Ge(y.pixelPosition,(function(e,n){if(n)return n=We(e,t),Be.test(n)?x(e).position()[t]+"px":n}))})),x.each({Height:"height",Width:"width"},(function(e,t){x.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){x.fn[r]=function(o,i){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===i?"margin":"border");return K(this,(function(t,n,o){var i;return g(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?x.css(t,n,s):x.style(t,n,o,s)}),t,a?o:void 0,a)}}))})),x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){x.fn[t]=function(e){return this.on(t,e)}})),x.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)}}),x.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){x.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var $t=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;x.proxy=function(e,t){var n,r,o;if("string"==typeof t&&(n=e[t],t=e,e=n),v(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||x.guid++,o},x.holdReady=function(e){e?x.readyWait++:x.ready(!0)},x.isArray=Array.isArray,x.parseJSON=JSON.parse,x.nodeName=C,x.isFunction=v,x.isWindow=g,x.camelCase=Y,x.type=O,x.now=Date.now,x.isNumeric=function(e){var t=x.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},x.trim=function(e){return null==e?"":(e+"").replace($t,"$1")},void 0===(n=function(){return x}.apply(t,[]))||(e.exports=n);var Jt=r.jQuery,Qt=r.$;return x.noConflict=function(e){return r.$===x&&(r.$=Qt),e&&r.jQuery===x&&(r.jQuery=Jt),x},void 0===o&&(r.jQuery=r.$=x),x}))},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()),u(t,r);for(;a.length;)u(t=a.pop());n=!1}function u(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 l=new MessageChannel;l.port1.onmessage=function(){r=c,l.port1.onmessage=s,s()};var c=function(){l.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,u=a(Array.prototype.slice),l=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 l(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 y(e){return"[object StopIteration]"===m(e)||e instanceof s}s="undefined"!=typeof ReturnValue?ReturnValue:function(e){this.value=e};var v="From previous event:";function g(t,n){if(e&&n.stack&&"object"==typeof t&&null!==t&&t.stack&&-1===t.stack.indexOf(v)){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<=K}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 E(e){return e instanceof T?e:R(e)?function(e){var t=x();return E.nextTick((function(){try{e.then(t.resolve,t.reject,t.notify)}catch(e){t.reject(e)}})),t.promise}(e):U(e)}function x(){var t,n=[],r=[],o=d(x.prototype),i=d(T.prototype);if(i.promiseDispatch=function(e,o,i){var a=u(arguments);n?(n.push(a),"when"===o&&i[1]&&r.push(i[1])):E.nextTick((function(){t.promiseDispatch.apply(t,a)}))},i.valueOf=function(){if(n)return i;var e=P(t);return C(e)&&(t=e),e},i.inspect=function(){return t?t.inspect():{state:"pending"}},E.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,l(n,(function(t,n){E.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(E(e))},o.fulfill=function(e){t||a(U(e))},o.reject=function(e){t||a(F(e))},o.notify=function(e){t||l(r,(function(t,n){E.nextTick((function(){n(e)}))}),void 0)},o}function S(e){if("function"!=typeof e)throw new TypeError("resolver must be a function.");var t=x();try{e(t.resolve,t.reject,t.notify)}catch(e){t.reject(e)}return t.promise}function k(e){return S((function(t,n){for(var r=0,o=e.length;r<o;r++)E(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 E(e).then(t,n,r)}function P(e){if(C(e)){var t=e.inspect();if("fulfilled"===t.state)return t.value}return e}function C(e){return e instanceof T}function R(e){return(t=e)===Object(t)&&"function"==typeof e.then;var t}E.resolve=E,E.nextTick=o,E.longStackSupport=!1,"object"==typeof process&&process&&process.env&&process.env.Q_DEBUG&&(E.longStackSupport=!0),E.defer=x,x.prototype.makeNodeResolver=function(){var e=this;return function(t,n){t?e.reject(t):arguments.length>2?e.resolve(u(arguments,1)):e.resolve(n)}},E.Promise=S,E.promise=S,S.race=k,S.all=V,S.reject=F,S.resolve=E,E.passByCopy=function(e){return e},T.prototype.passByCopy=function(){return this},E.join=function(e,t){return E(e).join(t)},T.prototype.join=function(e){return E([this,e]).spread((function(e,t){if(e===t)return e;throw new Error("Can't join: not the same: "+e+" "+t)}))},E.race=k,T.prototype.race=function(){return this.then(E.race)},E.makePromise=T,T.prototype.toString=function(){return"[object Promise]"},T.prototype.then=function(e,t,n){var r=this,o=x(),i=!1;return E.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){g(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,!E.onerror)throw e;E.onerror(e)}r||o.notify(t)}]),o.promise},E.tap=function(e,t){return E(e).tap(t)},T.prototype.tap=function(e){return e=E(e),this.then((function(t){return e.fcall(t).thenResolve(t)}))},E.when=A,T.prototype.thenResolve=function(e){return this.then((function(){return e}))},E.thenResolve=function(e,t){return E(e).thenResolve(t)},T.prototype.thenReject=function(e){return this.then((function(){throw e}))},E.thenReject=function(e,t){return E(e).thenReject(t)},E.nearer=P,E.isPromise=C,E.isPromiseAlike=R,E.isPending=function(e){return C(e)&&"pending"===e.inspect().state},T.prototype.isPending=function(){return"pending"===this.inspect().state},E.isFulfilled=function(e){return!C(e)||"fulfilled"===e.inspect().state},T.prototype.isFulfilled=function(){return"fulfilled"===this.inspect().state},E.isRejected=function(e){return C(e)&&"rejected"===e.inspect().state},T.prototype.isRejected=function(){return"rejected"===this.inspect().state};var N,I=[],j=[],M=[],L=!0;function D(){I.length=0,j.length=0,L||(L=!0)}function F(e){var t=T({when:function(t){return t&&function(e){if(L){var t=c(j,e);-1!==t&&("object"==typeof process&&"function"==typeof process.emit&&E.nextTick.runAfter((function(){var n=c(M,e);-1!==n&&(process.emit("rejectionHandled",I[t],e),M.splice(n,1))})),j.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&&E.nextTick.runAfter((function(){-1!==c(j,e)&&(process.emit("unhandledRejection",t,e),M.push(e))})),j.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 E(e).spread(t,n)}function H(e,t,n){return E(e).dispatch(t,n)}function V(e){return A(e,(function(e){var t=0,n=x();return l(e,(function(r,o,i){var a;C(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 E.resolve();var t=E.defer(),n=0;return l(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,E),A(V(f(e,(function(e){return A(e,r,r)}))),(function(){return e}))}))}E.resetUnhandledRejections=D,E.getUnhandledReasons=function(){return I.slice()},E.stopUnhandledRejectionTracking=function(){D(),L=!1},D(),E.reject=F,E.fulfill=U,E.master=function(e){return T({isDef:function(){}},(function(t,n){return H(e,t,n)}),(function(){return E(e).inspect()}))},E.spread=B,T.prototype.spread=function(e,t){return this.all().then((function(t){return e.apply(void 0,t)}),t)},E.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?E(i.value):A(i.value,r,o)}try{i=n[e](t)}catch(e){return y(e)?E(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()}},E.spawn=function(e){E.done(E.async(e)())},E.return=function(e){throw new s(e)},E.promised=function(e){return function(){return B([this,V(arguments)],(function(t,n){return e.apply(t,n)}))}},E.dispatch=H,T.prototype.dispatch=function(e,t){var n=this,r=x();return E.nextTick((function(){n.promiseDispatch(r.resolve,e,t)})),r.promise},E.get=function(e,t){return E(e).dispatch("get",[t])},T.prototype.get=function(e){return this.dispatch("get",[e])},E.set=function(e,t,n){return E(e).dispatch("set",[t,n])},T.prototype.set=function(e,t){return this.dispatch("set",[e,t])},E.del=E.delete=function(e,t){return E(e).dispatch("delete",[t])},T.prototype.del=T.prototype.delete=function(e){return this.dispatch("delete",[e])},E.mapply=E.post=function(e,t,n){return E(e).dispatch("post",[t,n])},T.prototype.mapply=T.prototype.post=function(e,t){return this.dispatch("post",[e,t])},E.send=E.mcall=E.invoke=function(e,t){return E(e).dispatch("post",[t,u(arguments,2)])},T.prototype.send=T.prototype.mcall=T.prototype.invoke=function(e){return this.dispatch("post",[e,u(arguments,1)])},E.fapply=function(e,t){return E(e).dispatch("apply",[void 0,t])},T.prototype.fapply=function(e){return this.dispatch("apply",[void 0,e])},E.try=E.fcall=function(e){return E(e).dispatch("apply",[void 0,u(arguments,1)])},T.prototype.fcall=function(){return this.dispatch("apply",[void 0,u(arguments)])},E.fbind=function(e){var t=E(e),n=u(arguments,1);return function(){return t.dispatch("apply",[this,n.concat(u(arguments))])}},T.prototype.fbind=function(){var e=this,t=u(arguments);return function(){return e.dispatch("apply",[this,t.concat(u(arguments))])}},E.keys=function(e){return E(e).dispatch("keys",[])},T.prototype.keys=function(){return this.dispatch("keys",[])},E.all=V,T.prototype.all=function(){return V(this)},E.any=Z,T.prototype.any=function(){return Z(this)},E.allResolved=(N=q,function(){return"undefined"!=typeof console&&console.warn,N.apply(N,arguments)}),T.prototype.allResolved=function(){return q(this)},E.allSettled=function(e){return E(e).allSettled()},T.prototype.allSettled=function(){return this.then((function(e){return V(f(e,(function(e){function t(){return e.inspect()}return(e=E(e)).then(t,t)})))}))},E.fail=E.catch=function(e,t){return E(e).then(void 0,t)},T.prototype.fail=T.prototype.catch=function(e){return this.then(void 0,e)},E.progress=function(e,t){return E(e).then(void 0,void 0,t)},T.prototype.progress=function(e){return this.then(void 0,void 0,e)},E.fin=E.finally=function(e,t){return E(e).finally(t)},T.prototype.fin=T.prototype.finally=function(e){return e=E(e),this.then((function(t){return e.fcall().then((function(){return t}))}),(function(t){return e.fcall().then((function(){throw t}))}))},E.done=function(e,t,n,r){return E(e).done(t,n,r)},T.prototype.done=function(e,t,n){var r=function(e){E.nextTick((function(){if(g(e,o),!E.onerror)throw e;E.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)},E.timeout=function(e,t,n){return E(e).timeout(t,n)},T.prototype.timeout=function(e,t){var n=x(),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},E.delay=function(e,t){return void 0===t&&(t=e,e=void 0),E(e).delay(t)},T.prototype.delay=function(e){return this.then((function(t){var n=x();return setTimeout((function(){n.resolve(t)}),e),n.promise}))},E.nfapply=function(e,t){return E(e).nfapply(t)},T.prototype.nfapply=function(e){var t=x(),n=u(e);return n.push(t.makeNodeResolver()),this.fapply(n).fail(t.reject),t.promise},E.nfcall=function(e){var t=u(arguments,1);return E(e).nfapply(t)},T.prototype.nfcall=function(){var e=u(arguments),t=x();return e.push(t.makeNodeResolver()),this.fapply(e).fail(t.reject),t.promise},E.nfbind=E.denodeify=function(e){var t=u(arguments,1);return function(){var n=t.concat(u(arguments)),r=x();return n.push(r.makeNodeResolver()),E(e).fapply(n).fail(r.reject),r.promise}},T.prototype.nfbind=T.prototype.denodeify=function(){var e=u(arguments);return e.unshift(this),E.denodeify.apply(void 0,e)},E.nbind=function(e,t){var n=u(arguments,2);return function(){var r=n.concat(u(arguments)),o=x();function i(){return e.apply(t,arguments)}return r.push(o.makeNodeResolver()),E(i).fapply(r).fail(o.reject),o.promise}},T.prototype.nbind=function(){var e=u(arguments,0);return e.unshift(this),E.nbind.apply(void 0,e)},E.nmapply=E.npost=function(e,t,n){return E(e).npost(t,n)},T.prototype.nmapply=T.prototype.npost=function(e,t){var n=u(t||[]),r=x();return n.push(r.makeNodeResolver()),this.dispatch("post",[e,n]).fail(r.reject),r.promise},E.nsend=E.nmcall=E.ninvoke=function(e,t){var n=u(arguments,2),r=x();return n.push(r.makeNodeResolver()),E(e).dispatch("post",[t,n]).fail(r.reject),r.promise},T.prototype.nsend=T.prototype.nmcall=T.prototype.ninvoke=function(e){var t=u(arguments,1),n=x();return t.push(n.makeNodeResolver()),this.dispatch("post",[e,t]).fail(n.reject),n.promise},E.nodeify=function(e,t){return E(e).nodeify(t)},T.prototype.nodeify=function(e){if(!e)return this;this.then((function(t){E.nextTick((function(){e(null,t)}))}),(function(t){E.nextTick((function(){e(t)}))}))},E.noConflict=function(){throw new Error("Q.noConflict only works when Q is used as a global")};var K=O();return E}))},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}},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,u,l=!0,c=!1,f=null,d="x",p="y",h="width",m="height",y="top",v="left",g="bottom",b="right",_="center",w="flipinvert",O="shift",E={},x="qtip",S="data-hasqtip",k="data-qtip-id",T=["ui-widget","ui-tooltip"],A="."+x,P="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" "),C=x+"-fixed",R=x+"-default",N=x+"-focus",I=x+"-hover",j=x+"-disabled",M="_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=x+"-"+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 H(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===l?{ready:l}:{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(E,(function(){this.sanitize&&this.sanitize(e)})),e)}function V(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,u=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:[x,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":l}).toggleClass(j,this.disabled).attr(k,this.id).data(x,this).appendTo(d.container).append(a.content=r("<div />",{class:x+"-content",id:this._id+"-content","aria-atomic":l})),this.rendered=-1,this.positioning=l,u&&(this._createTitle(),r.isFunction(u)||p.push(this._updateTitle(u,c))),f&&this._createButton(),r.isFunction(s)||p.push(this._updateContent(s,c)),this.rendered=l,this._setWidget(),r.each(E,(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(l,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=l;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(x).removeAttr(k).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===l&&"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===l?o.nextid:n,s=x+"-"+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(l)||this.toggle(l))},"^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=V(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,K=/^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&&K.test(t))delete e[t];else{var s,u=V(a,t.toLowerCase());s=u[0][u[1]],u[0][u[1]]=n&&n.nodeType?r(n):n,i=q.test(t)||i,e[t]=[u[0],u[1],n,s]}})),H(a),this.positioning=l,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=l,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=l,(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:x+"-titlebar "+(this.options.style.widget?G("header"):"")}).append(e.title=r("<div />",{id:t,class:x+"-title","aria-atomic":l})).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 x+"-pos-"+(e||this.options.position.my).abbrev()},i.reposition=function(n,o){if(!this.rendered||this.positioning||this.destroyed)return this;this.positioning=l;var i,a,s,u,f=this.cache,d=this.tooltip,p=this.options.position,h=p.target,m=p.my,w=p.at,O=p.viewport,x=p.container,S=p.adjust,k=S.method.split(" "),T=d.outerWidth(c),A=d.outerHeight(c),P=0,C=0,R=d.css("position"),N={left:0,top:0},I=d[0].offsetWidth>0,j=n&&"scroll"===n.type,M=r(e),L=x[0].ownerDocument,F=this.mouse;if(r.isArray(h)&&2===h.length)w={x:v,y:y},N={left:h[0],top:h[1]};else if("mouse"===h)w={x:v,y:y},(!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=x.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&&j&&F&&(N.left-=(F.scrollX||0)-M.scrollLeft(),N.top-=(F.scrollY||0)-M.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?(P=D.iOS?e.innerWidth:h.width(),C=D.iOS?e.innerHeight:h.height(),h[0]===e&&(N={top:(O||h).scrollTop(),left:(O||h).scrollLeft()})):E.imagemap&&h.is("area")?i=E.imagemap(this,h,w,E.viewport?k:c):E.svg&&h&&h[0].ownerSVGElement?i=E.svg(this,h,w,E.viewport?k:c):(P=h.outerWidth(c),C=h.outerHeight(c),N=h.offset()),i&&(P=i.width,C=i.height,a=i.offset,N=i.position),N=this.reposition.offset(h,N,x),(D.iOS>3.1&&D.iOS<4.1||D.iOS>=4.3&&D.iOS<4.33||!D.iOS&&"fixed"===R)&&(N.left-=M.scrollLeft(),N.top-=M.scrollTop()),(!i||i&&i.adjustable!==c)&&(N.left+=w.x===b?P:w.x===_?P/2:0,N.top+=w.y===g?C:w.y===_?C/2:0)}return N.left+=S.x+(m.x===b?-T:m.x===_?-T/2:0),N.top+=S.y+(m.y===g?-A:m.y===_?-A/2:0),E.viewport?(s=N.adjusted=E.viewport(this,N,p,P,C,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!==(u=this._createPosClass(this.position.my))&&(f.posClass=u,d.removeClass(f.posClass).addClass(u)),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,u,l=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(l,-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"===(u=r.css(f,"overflow"))||"visible"===u||"BODY"===r.prop(f,"tagName")||(i=r(f)))}while(f=f.offsetParent);return i&&(i[0]!==l[0]||c)&&d(i,1),n};var W=(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 Y(e){this.tooltip.hasClass(j)||(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this.timers.show=z.call(this,(function(){this.toggle(l,e)}),this.options.show.delay))}function $(e){if(!this.tooltip.hasClass(j)&&!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(j)&&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("."+x+" "))+"."+x,(function(){var e=o.api[r.attr(this,k)];e&&!e.disabled&&i.apply(e,arguments)}))}function ee(e,n,i){var s,u,d,p,h,m=r(t.body),y=e[0]===t?m:e,v=e.metadata?e.metadata(i.metadata):f,g="html5"===i.metadata.type&&v?v[i.metadata.name]:f,b=e.data(i.metadata.name||"qtipopts");try{b="string"==typeof b?r.parseJSON(b):b}catch(e){}if(u=(p=r.extend(l,{},o.defaults,i,"object"==typeof b?H(b):f,H(g||v))).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(u.container.length||(u.container=m),u.target===c&&(u.target=y),p.show.target===c&&(p.show.target=y),p.show.solo===l&&(p.show.solo=u.container.closest("body")),p.hide.target===c&&(p.hide.target=y),p.position.viewport===l&&(p.position.viewport=u.container),u.container=u.container.eq(0),u.at=new a(u.at,l),u.my=new a(u.my),e.data(x))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(x,s),s}W.invert=function(e,t){this[e]=this[e]===v?b:this[e]===b?v:t||this[e]},W.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},W.abbrev=function(){var e=this.string(!1);return e[0].charAt(0)+(e[1]&&e[1].charAt(0)||"")},W.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=l),!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],y=this.options.position,v=this.options.content,g=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(v.text)&&this._updateContent(v.text,c),r.isFunction(v.title)&&this._updateTitle(v.title,c),!u&&"mouse"===y.target&&y.adjust.mouse&&(r(t).bind("mousemove."+x,this._storeMouse),u=l),g||a.css("width",a.outerWidth(c)),this.reposition(n,arguments[2]),g||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,u&&!r(A+'[tracking="true"]:visible',m.solo).not(a).length&&(r(t).unbind("mousemove."+x),u=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(l,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(j):this.disabled):"boolean"!=typeof e&&(e=l),this.rendered&&this.tooltip.toggleClass(j,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?"":x+"-icon"),title:i,"aria-label":i}).prepend(r("<span />",{class:"ui-icon ui-icon-close",html:"&times;"})),t.button.appendTo(t.titlebar||n).attr("role","button").click((function(t){return n.hasClass(j)||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(j);n.removeClass(j),j=e?"ui-state-disabled":"qtip-disabled",n.toggleClass(j,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(x+"-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)),u=[];s.length&&(r.each(t,(function(t,n){var o=r.inArray(n,e);o>-1&&u.push(e.splice(o,1)[0])})),u.length&&(this._bind(s,u,(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=l})),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,u=i.show.target,l=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(" "):[],y=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?l=l.add(s.addClass(C)):/mouse(over|enter)/i.test(i.show.event)&&this._bind(l,"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(j)&&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(u,"qtip-"+this.id+"-inactive",J,"inactive"),this._bind(l.add(s),o.inactiveEvents,J)),this._bindEvents(m,y,u,l,Y,$),this._bind(u.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(u,["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(j)&&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(C)&&!n.hasClass(j)&&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("["+k+"]",P,J)})),o=r.fn.qtip=function(e,t,i){var a=(""+e).toLowerCase(),s=f,u=r.makeArray(arguments).slice(1),d=u[u.length-1],p=this[0]?r.data(this[0],x):f;return!arguments.length&&p||"api"===a?p:"string"==typeof e?(this.each((function(){var e=r.data(this,x);if(!e)return l;if(d&&d.timeStamp&&(e.cache.event=d),!t||"option"!==a&&"options"!==a)e[a]&&e[a].apply(e,u);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=H(r.extend(l,{},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 l;o.api[n]=t,r.each(E,(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"+M].apply(this,arguments)},clone:function(e){var t=r.fn["clone"+M].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+M])return l;var n=r.fn[e+M]=r.fn[e];r.fn[e]=function(){return t.apply(this,arguments)||n.apply(this,arguments)}})),r.ui||(r["cleanData"+M]=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"+M].apply(this,arguments)}),o.version="3.0.3-5-g",o.nextid=0,o.inactiveEvents=P,o.zindex=15e3,o.defaults={prerender:c,id:c,overwrite:l,suppress:l,content:{text:l,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:l,scroll:l,resize:l,method:"flipinvert flipinvert"},effect:function(e,t){r(this).animate(t,{duration:200,queue:c})}},show:{target:c,event:"mouseenter",effect:l,delay:90,solo:c,ready:c,autofocus:c},hide:{target:c,event:"mouseleave",effect:l,delay:0,fixed:c,inactive:c,leave:"window",distance:c},style:{classes:"",widget:c,width:c,height:c,def:l},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",ue="color",le="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,ye={},ve=["Webkit","O","Moz","ms"];function ge(e,t){var r,o,i=t.charAt(0).toUpperCase()+t.slice(1),a=(t+" "+ve.join(i+" ")+i).split(" "),s=0;if(ye[t])return e.css(ye[t]);for(;r=a[s++];)if((o=e.css(r))!==n)return ye[t]=r,o}function be(e,t){return Math.ceil(parseFloat(ge(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:x+"-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===y||e.y===_&&this.element.position().top+this.size[1]/2+this.options.offset<t.outerHeight(l))},_parseCorner:function(e){var t=this.qtip.options.position.my;return e===c||t===c?e=c:e===l?e=new a(t.string()):e.string||((e=new a(e)).fixed=l),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(ue),i=this._useTitle(e)&&t.titlebar||t.content,a=this._invalidColour,s=[];return s[0]=a(n,le)||a(i,le)||a(t.content,le)||a(t.tooltip,le)||n.css(le),s[1]=a(n,o,ue)||a(i,o,ue)||a(t.content,o,ue)||a(t.tooltip,o,ue)||t.tooltip.css(o),r("*",n).add(n).css("cssText",le+":"+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),u=Math.pow,l=Math.round,c=Math.sqrt(u(s,2)+u(i,2)),f=[this.border/s*c,this.border/i*c];return f[2]=Math.sqrt(u(f[0],2)-u(this.border,2)),f[3]=Math.sqrt(u(f[1],2)-u(this.border,2)),n=[l((t=(c+f[2]+f[3]+(a?0:f[0]))/c)*o),l(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,u,f,w,O,E,x=this.qtip.elements,S=this.element,k=S.children(),T=this.options,A=this.size,P=T.mimic,C=Math.round;t||(t=this.qtip.cache.corner||this.corner),P===c?P=t:((P=new a(P)).precedance=t.precedance,"inherit"===P.x?P.x=t.x:"inherit"===P.y?P.y=t.y:P.x===P.y&&(P[t.precedance]=t[t.precedance])),i=P.precedance,t.precedance===d?this._swapDimensions():this._resetDimensions(),(o=this.color=this._parseColours(t))[1]!==ce?(E=this.border=this._parseWidth(t,t[t.precedance]),T.border&&E<1&&!pe.test(o[1])&&(o[0]=o[1]),this.border=E=T.border!==l?T.border:E):this.border=E=0,O=this.size=this._calculateSize(t),S.css({width:O[0],height:O[1],lineHeight:O[1]+"px"}),w=t.precedance===p?[C(P.x===v?E:P.x===b?O[0]-A[0]-E:(O[0]-A[0])/2),C(P.y===y?O[1]-A[1]:0)]:[C(P.x===v?O[0]-A[0]:0),C(P.y===y?E:P.y===g?O[1]-A[1]-E:(O[1]-A[1])/2)],de?((s=k[0].getContext("2d")).restore(),s.save(),s.clearRect(0,0,6e3,6e3),u=this._calculateTip(P,A,re),f=this._calculateTip(P,this.size,re),k.attr(h,O[0]*re).attr(m,O[1]*re),k.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,u),s.fillStyle=o[0],s.fill()):(u="m"+(u=this._calculateTip(P))[0]+","+u[1]+" l"+u[2]+","+u[3]+" "+u[4]+","+u[5]+" xe",w[2]=E&&/^(r|b)/i.test(t.string())?8===D.ie?2:1:0,k.css({coordsize:O[0]+E+" "+O[1]+E,antialias:""+(P.string().indexOf(_)>-1),left:w[0]-w[2]*Number(i===d),top:w[1]-w[2]*Number(i===p),width:O[0]+E,height:O[1]+E}).each((function(e){var t=r(this);t[t.prop?"prop":"attr"]({coordsize:O[0]+E+" "+O[1]+E,path:u,fillcolor:o[0],filled:!!e,stroked:!e}).toggle(!(!E&&!e)),!e&&t.html(ne("stroke",'weight="'+2*E+'px" color="'+o[1]+'" miterlimit="1000" joinstyle="miter"'))}))),e.opera&&setTimeout((function(){x.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,u=this.options.offset,l={};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===_?(l[s=n===p?v:y]="50%",l[ae+"-"+s]=-Math.round(t[n===p?0:1]/2)+u):(s=i._parseWidth(e,o,a.tooltip),c=i._parseWidth(e,o,a.content),f=i._parseRadius(e),l[o]=Math.max(-i.border,r?c:u+(f>s?f:-s)))})),l[e[n]]-=t[n===d?0:1],s.css({margin:"",top:"",bottom:"",left:"",right:""}).css(l),l},reposition:function(e,t,r){if(this.enabled){var o,i,a=t.cache,s=this.corner.clone(),u=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},E={};this.corner.fixed!==l&&(x(h,d,p,v,b),x(m,p,d,y,g),s.string()===a.corner.string()&&a.cornerTop===u.top&&a.cornerLeft===u.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&&!!u.left,w.left&&S(d,v,b),w.top=m===O&&!!u.top,w.top&&S(p,y,g),this.element.css(E).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=u.left,a.cornerTop=u.top,a.corner=s.clone()}function x(e,t,n,r,o){e===O&&s.precedance===t&&u[r]&&s[n]!==_?s.precedance=s.precedance===d?p:d:e!==O&&u[r]&&(s[t]=s[t]===_?u[r]>0?r:o:s[t]===r?o:r)}function S(e,t,a){s[e]===_?E[ae+"-"+t]=w[e]=o[ae+"-"+t]-u[t]:(i=o[a]!==n?[u[t],-o[t]]:[-u[t],o[t]],(w[e]=Math.max(i[0],i[1]))>i[0]&&(r[t]-=u[t],w[t]=c),E[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=E.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=l)}},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(l,o.defaults,{style:{tip:{corner:l,mimic:c,width:6,height:6,border:l,offset:0}}});var we,Oe,Ee="qtip-modal",xe="."+Ee;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 u(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]||u(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"+xe,d),r(t).bind("keydown"+xe,(function(t){e&&e.options.show.modal.escape&&27===t.keyCode&&e.hide(t)})),o.bind("click"+xe,(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,y=s?"show":"hide",v=o.is(":visible"),g=r(xe).filter(":visible:not(:animated)").not(p);return i.update(a),s&&h.stealfocus!==c&&u(r(":focus")),o.toggleClass("blurs",h.blur),s&&o.appendTo(t.body),o.is(":animated")&&v===s&&n!==c||!s&&g.length||(o.stop(l,c),r.isFunction(m)?m.call(o,s):m===c?o[y]():o.fadeTo(parseInt(d,10)||90,s?1:0,(function(){s||o.hide()})),s||o.queue((function(e){o.css({left:"",top:""}),r(xe).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(Ee).css("z-index",o.modal_zindex+r(xe).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(xe),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(xe).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(Ee),this.qtip._unbind(this.qtip.tooltip,this._ns),Oe.toggle(this.qtip,c),delete this.qtip.elements.overlay}}),(we=E.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=l))},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(l,o.defaults,{show:{modal:{on:c,effect:l,blur:l,stealfocus:l,escape:l}}}),E.viewport=function(n,r,o,i,a,s,u){var l,f,E,x,S,k,T,A,P=o.target,C=n.elements.tooltip,R=o.my,N=o.at,I=o.adjust,j=I.method.split(" "),M=j[0],L=j[1]||j[0],D=o.viewport,F=o.container,U={left:0,top:0};if(!D.jquery||P[0]===e||P[0]===t.body||"none"===I.method)return U;function B(e,t,n,o,i,a,s,u,l){var c=r[i],d=R[e],p=N[e],m=n===O,y=d===i?l:d===a?-l:-l/2,v=p===i?u:p===a?-u:-u/2,g=T[i]+A[i]-(x?0:E[i]),b=g-c,P=c+l-(s===h?S:k)-g,C=y-(R.precedance===e||d===R[t]?v:0)-(p===_?u/2:0);return m?(C=(d===i?1:-1)*y,r[i]+=b>0?b:P>0?-P:0,r[i]=Math.max(-E[i]+A[i],c-C,Math.min(Math.max(-E[i]+A[i]+(s===h?S:k),c+C),r[i],"center"===d?c-y:1e9))):(o*=n===w?2:0,b>0&&(d!==i||P>0)?(r[i]-=C+o,f.invert(e,i)):P>0&&(d!==a||b>0)&&(r[i]-=(d===_?-C:C)+o,f.invert(e,a)),r[i]<T[i]&&-r[i]>P&&(r[i]=c,f=R.clone())),r[i]-c}return E=F.offset()||U,x="static"===F.css("position"),l="fixed"===C.css("position"),S=D[0]===e?D.width():D.outerWidth(c),k=D[0]===e?D.height():D.outerHeight(c),T={left:l?0:D.scrollLeft(),top:l?0:D.scrollTop()},A=D.offset()||U,"shift"===M&&"shift"===L||(f=R.clone()),U={left:"none"!==M?B(d,p,M,I.x,v,b,h,i,s):0,top:"none"!==L?B(p,d,L,I.y,y,g,m,a,u):0,my:f}},E.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=[],u=1,l=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&&u>0&&l>0;)for(r=Math.floor(r/2),o=Math.floor(o/2),t.x===v?u=r:t.x===b?u=i.width-r:u+=Math.floor(r/2),t.y===y?l=o:t.y===g?l=i.height-o:l+=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===v&&f>=u||t.x===b&&f<=u||t.x===_&&(f<u||f>i.width-u)||t.y===y&&d>=l||t.y===g&&d<=l||t.y===_&&(d<l||d>i.height-l))&&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=E.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 E.polys.ellipse(e,t,n,n,r)}},E.svg=function(e,n,o){for(var i,a,s,u,l,f,d,p,h,m=n[0],y=r(m.ownerSVGElement),v=m.ownerDocument,g=(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=E.polys.ellipse(m.cx.baseVal.value,m.cy.baseVal.value,(m.rx||m.r).baseVal.value+g,(m.ry||m.r).baseVal.value+g,o);break;case"line":case"polygon":case"polyline":for(p=[],f=-1,u=(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<u;)l=d.getItem?d.getItem(f):d[f],p.push.apply(p,[l.x,l.y]);p=E.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,(y=y[0]).createSVGPoint&&(a=m.getScreenCTM(),(d=y.createSVGPoint()).x=h.left,d.y=h.top,s=d.matrixTransform(a),h.left=s.x,h.top=s.y),v!==t&&"mouse"!==e.position.target&&(i=r((v.defaultView||v.parentWindow).frameElement).offset())&&(h.left+=i.left,h.top+=i.top),v=r(v),h.left+=v.scrollLeft(),h.top+=v.scrollTop(),p},E.imagemap=function(e,t,n){t.jquery||(t=r(t));var o,i,a,s,u,l=(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"===l)s=E.polys.polygon(d,n);else{if(!E.polys[l])return c;for(a=-1,u=d.length,i=[];++a<u;)i.push(parseInt(d[a],10));s=E.polys[l].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 ke='<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(ke).appendTo(o),n._bind(o,"tooltipmove",this.adjustBGIFrame,this._ns,this)),this.redrawContainer=r("<div/>",{id:x+"-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,v]:[m,y])[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)}}),(E.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(2181)}()}));
//# sourceMappingURL=okta-sign-in.oie.min.js.map