@sheerid/jslib 1.150.0 → 1.151.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/es5/Tmetrix.bundle.js +4 -4
  2. package/es5/messages_ar.bundle.js +4 -4
  3. package/es5/messages_bg.bundle.js +4 -4
  4. package/es5/messages_cs.bundle.js +4 -4
  5. package/es5/messages_da.bundle.js +4 -4
  6. package/es5/messages_de.bundle.js +4 -4
  7. package/es5/messages_el.bundle.js +4 -4
  8. package/es5/messages_en-GB.bundle.js +4 -4
  9. package/es5/messages_es-ES.bundle.js +4 -4
  10. package/es5/messages_es.bundle.js +4 -4
  11. package/es5/messages_fi.bundle.js +4 -4
  12. package/es5/messages_fr-CA.bundle.js +4 -4
  13. package/es5/messages_fr.bundle.js +4 -4
  14. package/es5/messages_ga.bundle.js +4 -4
  15. package/es5/messages_hr.bundle.js +4 -4
  16. package/es5/messages_hu.bundle.js +4 -4
  17. package/es5/messages_id.bundle.js +4 -4
  18. package/es5/messages_it.bundle.js +4 -4
  19. package/es5/messages_iw.bundle.js +4 -4
  20. package/es5/messages_ja.bundle.js +4 -4
  21. package/es5/messages_ko.bundle.js +4 -4
  22. package/es5/messages_lo.bundle.js +4 -4
  23. package/es5/messages_lt.bundle.js +4 -4
  24. package/es5/messages_ms.bundle.js +4 -4
  25. package/es5/messages_nl.bundle.js +4 -4
  26. package/es5/messages_no.bundle.js +4 -4
  27. package/es5/messages_pl.bundle.js +4 -4
  28. package/es5/messages_pt-BR.bundle.js +4 -4
  29. package/es5/messages_pt.bundle.js +4 -4
  30. package/es5/messages_ru.bundle.js +4 -4
  31. package/es5/messages_sk.bundle.js +4 -4
  32. package/es5/messages_sl.bundle.js +4 -4
  33. package/es5/messages_sr.bundle.js +4 -4
  34. package/es5/messages_sv.bundle.js +4 -4
  35. package/es5/messages_th.bundle.js +4 -4
  36. package/es5/messages_tr.bundle.js +4 -4
  37. package/es5/messages_zh-HK.bundle.js +4 -4
  38. package/es5/messages_zh.bundle.js +4 -4
  39. package/manifest.json +43 -43
  40. package/package.json +1 -1
  41. package/sheerid-requestOrg.css +4 -4
  42. package/sheerid-requestOrg.js +4 -4
  43. package/sheerid-requestOrg.js.map +1 -1
  44. package/sheerid-utils.js +4 -4
  45. package/sheerid-utils.js.map +1 -1
  46. package/sheerid.css +4 -4
  47. package/sheerid.js +6 -6
  48. package/sheerid.js.map +1 -1
  49. package/sheerides6.js +22 -3
  50. package/sheerides6.js.map +1 -1
  51. package/src/lib/frames/frameMessages.d.ts +7 -2
  52. package/src/lib/installScript/iframe.d.ts +2 -1
  53. package/src/lib/installScript/modal.d.ts +2 -1
  54. package/types-reference.zip +0 -0
package/sheerid.js CHANGED
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  *
3
- * VERSION: 1.150.0
4
- * BUILD_TIMESTAMP: 1691443112559
5
- * BUILD_DATE: Mon Aug 07 2023 21:18:32 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: e5edd57e4a94a3c980a986f94f85f457c5f7bd98
3
+ * VERSION: 1.151.0
4
+ * BUILD_TIMESTAMP: 1691606562277
5
+ * BUILD_DATE: Wed Aug 09 2023 18:42:42 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: e9322e449981b062e8eba851b5ba9ad7bbe1c31a
7
7
  *
8
8
  */
9
- window.sheerIdCurrentScript=document.currentScript,window.sheerIdEs5="true",window.sheerIdPubV="1.150.0",function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.sheerid=t():e.sheerid=t()}(self,(()=>(()=>{var e,t,r,n,a={6358:(e,t,r)=>{e.exports=r(9670)},1306:(e,t,r)=>{e.exports=r(4190)},8505:(e,t,r)=>{e.exports=r(9074)},7166:(e,t,r)=>{e.exports=r(5480)},210:(e,t,r)=>{e.exports=r(2910)},2022:(e,t,r)=>{e.exports=r(44)},6937:(e,t,r)=>{e.exports=r(9992)},7917:(e,t,r)=>{e.exports=r(4546)},6812:(e,t,r)=>{e.exports=r(7837)},9423:(e,t,r)=>{e.exports=r(8784)},9154:(e,t,r)=>{e.exports=r(3668)},2814:(e,t,r)=>{e.exports=r(6361)},6426:(e,t,r)=>{e.exports=r(1189)},3104:(e,t,r)=>{e.exports=r(8303)},3106:(e,t,r)=>{e.exports=r(113)},7475:(e,t,r)=>{e.exports=r(1740)},6569:(e,t,r)=>{e.exports=r(3228)},1639:(e,t,r)=>{e.exports=r(382)},3944:(e,t,r)=>{e.exports=r(6949)},2021:(e,t,r)=>{e.exports=r(2161)},6954:(e,t,r)=>{e.exports=r(7440)},8520:(e,t,r)=>{e.exports=r(4514)},3049:(e,t,r)=>{e.exports=r(6483)},8903:(e,t,r)=>{e.exports=r(4349)},8675:(e,t,r)=>{e.exports=r(1799)},6534:(e,t,r)=>{e.exports=r(2751)},1666:(e,t,r)=>{e.exports=r(3520)},1671:(e,t,r)=>{e.exports=r(5303)},1057:(e,t,r)=>{e.exports=r(7020)},9910:(e,t,r)=>{e.exports=r(1006)},3537:(e,t,r)=>{e.exports=r(1065)},944:(e,t,r)=>{e.exports=r(6191)},249:(e,t,r)=>{e.exports=r(6884)},6905:(e,t,r)=>{e.exports=r(3863)},3029:(e,t,r)=>{e.exports=r(7118)},6500:(e,t,r)=>{e.exports=r(858)},3567:(e,t,r)=>{e.exports=r(8404)},8818:(e,t,r)=>{e.exports=r(8430)},3371:(e,t,r)=>{e.exports=r(7926)},8338:(e,t,r)=>{e.exports=r(779)},9683:(e,t,r)=>{e.exports=r(3800)},2035:(e,t,r)=>{e.exports=r(4226)},2665:(e,t,r)=>{e.exports=r(9594)},2486:(e,t,r)=>{e.exports=r(274)},9469:(e,t,r)=>{e.exports=r(3289)},1245:(e,t,r)=>{e.exports=r(5705)},1652:(e,t,r)=>{e.exports=r(34)},6709:(e,t,r)=>{e.exports=r(8566)},8897:(e,t,r)=>{e.exports=r(6218)},7347:(e,t,r)=>{e.exports=r(6753)},2334:(e,t,r)=>{e.exports=r(5580)},8801:(e,t)=>{"use strict";t.Z=function(e,t){if(e&&t){var r=Array.isArray(t)?t:t.split(","),n=e.name||"",a=(e.type||"").toLowerCase(),i=a.replace(/\/.*$/,"");return r.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?n.toLowerCase().endsWith(t):t.endsWith("/*")?i===t.replace(/\/.*$/,""):a===t}))}return!0}},3305:e=>{var t=function(){"use strict";function e(e,t){return null!=t&&e instanceof t}var t,r,n;try{t=Map}catch(e){t=function(){}}try{r=Set}catch(e){r=function(){}}try{n=Promise}catch(e){n=function(){}}function a(i,s,l,u,c){"object"==typeof s&&(l=s.depth,u=s.prototype,c=s.includeNonEnumerable,s=s.circular);var d=[],f=[],m="undefined"!=typeof Buffer;return void 0===s&&(s=!0),void 0===l&&(l=1/0),function i(l,p){if(null===l)return null;if(0===p)return l;var h,g;if("object"!=typeof l)return l;if(e(l,t))h=new t;else if(e(l,r))h=new r;else if(e(l,n))h=new n((function(e,t){l.then((function(t){e(i(t,p-1))}),(function(e){t(i(e,p-1))}))}));else if(a.__isArray(l))h=[];else if(a.__isRegExp(l))h=new RegExp(l.source,o(l)),l.lastIndex&&(h.lastIndex=l.lastIndex);else if(a.__isDate(l))h=new Date(l.getTime());else{if(m&&Buffer.isBuffer(l))return h=Buffer.allocUnsafe?Buffer.allocUnsafe(l.length):new Buffer(l.length),l.copy(h),h;e(l,Error)?h=Object.create(l):void 0===u?(g=Object.getPrototypeOf(l),h=Object.create(g)):(h=Object.create(u),g=u)}if(s){var v=d.indexOf(l);if(-1!=v)return f[v];d.push(l),f.push(h)}for(var y in e(l,t)&&l.forEach((function(e,t){var r=i(t,p-1),n=i(e,p-1);h.set(r,n)})),e(l,r)&&l.forEach((function(e){var t=i(e,p-1);h.add(t)})),l){var b;g&&(b=Object.getOwnPropertyDescriptor(g,y)),b&&null==b.set||(h[y]=i(l[y],p-1))}if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(l);for(y=0;y<E.length;y++){var w=E[y];(!(M=Object.getOwnPropertyDescriptor(l,w))||M.enumerable||c)&&(h[w]=i(l[w],p-1),M.enumerable||Object.defineProperty(h,w,{enumerable:!1}))}}if(c){var S=Object.getOwnPropertyNames(l);for(y=0;y<S.length;y++){var M,C=S[y];(M=Object.getOwnPropertyDescriptor(l,C))&&M.enumerable||(h[C]=i(l[C],p-1),Object.defineProperty(h,C,{enumerable:!1}))}}return h}(i,l)}function i(e){return Object.prototype.toString.call(e)}function o(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return a.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},a.__objToStr=i,a.__isDate=function(e){return"object"==typeof e&&"[object Date]"===i(e)},a.__isArray=function(e){return"object"==typeof e&&"[object Array]"===i(e)},a.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===i(e)},a.__getRegExpFlags=o,a}();e.exports&&(e.exports=t)},2409:(e,t,r)=>{"use strict";var n=r(6943),a={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var r,i,o,s,l,u,c=!1;t||(t={}),r=t.debug||!1;try{if(o=n(),s=document.createRange(),l=document.getSelection(),(u=document.createElement("span")).textContent=e,u.style.all="unset",u.style.position="fixed",u.style.top=0,u.style.clip="rect(0, 0, 0, 0)",u.style.whiteSpace="pre",u.style.webkitUserSelect="text",u.style.MozUserSelect="text",u.style.msUserSelect="text",u.style.userSelect="text",u.addEventListener("copy",(function(n){if(n.stopPropagation(),t.format)if(n.preventDefault(),void 0===n.clipboardData){r&&console.warn("unable to use e.clipboardData"),r&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=a[t.format]||a.default;window.clipboardData.setData(i,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e);t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))})),document.body.appendChild(u),s.selectNodeContents(u),l.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");c=!0}catch(n){r&&console.error("unable to copy using execCommand: ",n),r&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),c=!0}catch(n){r&&console.error("unable to copy using clipboardData: ",n),r&&console.error("falling back to prompt"),i=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(i,e)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(s):l.removeAllRanges()),u&&document.body.removeChild(u),o()}return c}},3961:(e,t,r)=>{r(9773),r(4702);var n=r(2366);e.exports=n.Array.from},9860:(e,t,r)=>{r(8982);var n=r(2366);e.exports=n.Array.isArray},1985:(e,t,r)=>{r(5802);var n=r(9360);e.exports=n("Array").concat},7956:(e,t,r)=>{r(5239);var n=r(9360);e.exports=n("Array").every},1972:(e,t,r)=>{r(1308);var n=r(9360);e.exports=n("Array").fill},9489:(e,t,r)=>{r(8830);var n=r(9360);e.exports=n("Array").filter},7641:(e,t,r)=>{r(8901);var n=r(9360);e.exports=n("Array").findIndex},2851:(e,t,r)=>{r(2283);var n=r(9360);e.exports=n("Array").find},150:(e,t,r)=>{r(4739);var n=r(9360);e.exports=n("Array").forEach},5296:(e,t,r)=>{r(9113);var n=r(9360);e.exports=n("Array").includes},2858:(e,t,r)=>{r(8165);var n=r(9360);e.exports=n("Array").indexOf},1935:(e,t,r)=>{r(2610);var n=r(9360);e.exports=n("Array").keys},6050:(e,t,r)=>{r(3575);var n=r(9360);e.exports=n("Array").lastIndexOf},550:(e,t,r)=>{r(9731);var n=r(9360);e.exports=n("Array").map},8866:(e,t,r)=>{r(3919);var n=r(9360);e.exports=n("Array").reduce},6375:(e,t,r)=>{r(2074);var n=r(9360);e.exports=n("Array").reverse},4220:(e,t,r)=>{r(333);var n=r(9360);e.exports=n("Array").slice},5640:(e,t,r)=>{r(7412);var n=r(9360);e.exports=n("Array").some},5789:(e,t,r)=>{r(3064);var n=r(9360);e.exports=n("Array").sort},2950:(e,t,r)=>{r(4722);var n=r(9360);e.exports=n("Array").splice},8208:(e,t,r)=>{r(2610);var n=r(9360);e.exports=n("Array").values},5050:(e,t,r)=>{r(6664);var n=r(2366);e.exports=n.Date.now},7433:(e,t,r)=>{r(7778);var n=r(9360);e.exports=n("Function").bind},9743:(e,t,r)=>{var n=r(7433),a=Function.prototype;e.exports=function(e){var t=e.bind;return e===a||e instanceof Function&&t===a.bind?n:t}},7416:(e,t,r)=>{var n=r(1985),a=Array.prototype;e.exports=function(e){var t=e.concat;return e===a||e instanceof Array&&t===a.concat?n:t}},1617:(e,t,r)=>{var n=r(7956),a=Array.prototype;e.exports=function(e){var t=e.every;return e===a||e instanceof Array&&t===a.every?n:t}},7458:(e,t,r)=>{var n=r(1972),a=Array.prototype;e.exports=function(e){var t=e.fill;return e===a||e instanceof Array&&t===a.fill?n:t}},6743:(e,t,r)=>{var n=r(9489),a=Array.prototype;e.exports=function(e){var t=e.filter;return e===a||e instanceof Array&&t===a.filter?n:t}},2887:(e,t,r)=>{var n=r(7641),a=Array.prototype;e.exports=function(e){var t=e.findIndex;return e===a||e instanceof Array&&t===a.findIndex?n:t}},2137:(e,t,r)=>{var n=r(2851),a=Array.prototype;e.exports=function(e){var t=e.find;return e===a||e instanceof Array&&t===a.find?n:t}},3076:(e,t,r)=>{var n=r(5296),a=r(4368),i=Array.prototype,o=String.prototype;e.exports=function(e){var t=e.includes;return e===i||e instanceof Array&&t===i.includes?n:"string"==typeof e||e===o||e instanceof String&&t===o.includes?a:t}},1475:(e,t,r)=>{var n=r(2858),a=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===a||e instanceof Array&&t===a.indexOf?n:t}},3014:(e,t,r)=>{var n=r(6050),a=Array.prototype;e.exports=function(e){var t=e.lastIndexOf;return e===a||e instanceof Array&&t===a.lastIndexOf?n:t}},6015:(e,t,r)=>{var n=r(550),a=Array.prototype;e.exports=function(e){var t=e.map;return e===a||e instanceof Array&&t===a.map?n:t}},9846:(e,t,r)=>{var n=r(8866),a=Array.prototype;e.exports=function(e){var t=e.reduce;return e===a||e instanceof Array&&t===a.reduce?n:t}},7886:(e,t,r)=>{var n=r(6375),a=Array.prototype;e.exports=function(e){var t=e.reverse;return e===a||e instanceof Array&&t===a.reverse?n:t}},1187:(e,t,r)=>{var n=r(4220),a=Array.prototype;e.exports=function(e){var t=e.slice;return e===a||e instanceof Array&&t===a.slice?n:t}},6072:(e,t,r)=>{var n=r(5640),a=Array.prototype;e.exports=function(e){var t=e.some;return e===a||e instanceof Array&&t===a.some?n:t}},8277:(e,t,r)=>{var n=r(5789),a=Array.prototype;e.exports=function(e){var t=e.sort;return e===a||e instanceof Array&&t===a.sort?n:t}},7199:(e,t,r)=>{var n=r(2950),a=Array.prototype;e.exports=function(e){var t=e.splice;return e===a||e instanceof Array&&t===a.splice?n:t}},7317:(e,t,r)=>{var n=r(3903),a=String.prototype;e.exports=function(e){var t=e.startsWith;return"string"==typeof e||e===a||e instanceof String&&t===a.startsWith?n:t}},3287:(e,t,r)=>{var n=r(5308),a=String.prototype;e.exports=function(e){var t=e.trim;return"string"==typeof e||e===a||e instanceof String&&t===a.trim?n:t}},8093:(e,t,r)=>{r(3927);var n=r(2366);n.JSON||(n.JSON={stringify:JSON.stringify}),e.exports=function(e,t,r){return n.JSON.stringify.apply(null,arguments)}},9054:(e,t,r)=>{r(9065),r(6095),r(9773),r(8524);var n=r(2366);e.exports=n.Map},7062:(e,t,r)=>{r(9369);var n=r(2366);e.exports=n.Number.isNaN},8209:(e,t,r)=>{r(6194);var n=r(2366);e.exports=n.Number.parseInt},3806:(e,t,r)=>{r(5679);var n=r(2366);e.exports=n.Object.assign},9206:(e,t,r)=>{r(2880);var n=r(2366).Object,a=e.exports=function(e,t){return n.defineProperties(e,t)};n.defineProperties.sham&&(a.sham=!0)},1469:(e,t,r)=>{r(8393);var n=r(2366).Object,a=e.exports=function(e,t,r){return n.defineProperty(e,t,r)};n.defineProperty.sham&&(a.sham=!0)},3577:(e,t,r)=>{r(4711);var n=r(2366);e.exports=n.Object.entries},4489:(e,t,r)=>{r(1685);var n=r(2366);e.exports=n.Object.freeze},5698:(e,t,r)=>{r(5985);var n=r(2366).Object,a=e.exports=function(e,t){return n.getOwnPropertyDescriptor(e,t)};n.getOwnPropertyDescriptor.sham&&(a.sham=!0)},8851:(e,t,r)=>{r(5780);var n=r(2366);e.exports=n.Object.getOwnPropertyDescriptors},7385:(e,t,r)=>{r(1174);var n=r(2366);e.exports=n.Object.getOwnPropertySymbols},3840:(e,t,r)=>{r(7731);var n=r(2366);e.exports=n.Object.keys},4378:(e,t,r)=>{r(1814);var n=r(2366);e.exports=n.Object.values},1528:(e,t,r)=>{r(270);var n=r(2366);e.exports=n.parseInt},806:(e,t,r)=>{r(8172),r(6095),r(8493),r(6087),r(325),r(7089),r(9773),r(8524);var n=r(2366);e.exports=n.Promise},4368:(e,t,r)=>{r(8820);var n=r(9360);e.exports=n("String").includes},3903:(e,t,r)=>{r(9734);var n=r(9360);e.exports=n("String").startsWith},5308:(e,t,r)=>{r(5681);var n=r(9360);e.exports=n("String").trim},5705:(e,t,r)=>{var n=r(1475);e.exports=n},34:(e,t,r)=>{var n=r(3806);e.exports=n},8566:(e,t,r)=>{var n=r(1469);e.exports=n},6218:(e,t,r)=>{var n=r(7385);e.exports=n},6753:(e,t,r)=>{var n=r(3840);e.exports=n},5580:(e,t,r)=>{var n=r(806);r(7617),r(3162),r(1247),r(2903),e.exports=n},6421:e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},9245:(e,t,r)=>{var n=r(4363);e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},7479:e=>{e.exports=function(){}},4319:e=>{e.exports=function(e,t,r){if(!(e instanceof t))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return e}},6856:(e,t,r)=>{var n=r(4363);e.exports=function(e){if(!n(e))throw TypeError(String(e)+" is not an object");return e}},1159:(e,t,r)=>{"use strict";var n=r(6298),a=r(4488),i=r(358);e.exports=function(e){for(var t=n(this),r=i(t.length),o=arguments.length,s=a(o>1?arguments[1]:void 0,r),l=o>2?arguments[2]:void 0,u=void 0===l?r:a(l,r);u>s;)t[s++]=e;return t}},3878:(e,t,r)=>{"use strict";var n=r(2865).forEach,a=r(4760)("forEach");e.exports=a?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},9204:(e,t,r)=>{"use strict";var n=r(4834),a=r(6298),i=r(5449),o=r(688),s=r(358),l=r(5453),u=r(1222);e.exports=function(e){var t,r,c,d,f,m,p=a(e),h="function"==typeof this?this:Array,g=arguments.length,v=g>1?arguments[1]:void 0,y=void 0!==v,b=u(p),E=0;if(y&&(v=n(v,g>2?arguments[2]:void 0,2)),null==b||h==Array&&o(b))for(r=new h(t=s(p.length));t>E;E++)m=y?v(p[E],E):p[E],l(r,E,m);else for(f=(d=b.call(p)).next,r=new h;!(c=f.call(d)).done;E++)m=y?i(d,v,[c.value,E],!0):c.value,l(r,E,m);return r.length=E,r}},9331:(e,t,r)=>{var n=r(2889),a=r(358),i=r(4488),o=function(e){return function(t,r,o){var s,l=n(t),u=a(l.length),c=i(o,u);if(e&&r!=r){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===r)return e||c||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},2865:(e,t,r)=>{var n=r(4834),a=r(3883),i=r(6298),o=r(358),s=r(9293),l=[].push,u=function(e){var t=1==e,r=2==e,u=3==e,c=4==e,d=6==e,f=7==e,m=5==e||d;return function(p,h,g,v){for(var y,b,E=i(p),w=a(E),S=n(h,g,3),M=o(w.length),C=0,I=v||s,N=t?I(p,M):r||f?I(p,0):void 0;M>C;C++)if((m||C in w)&&(b=S(y=w[C],C,E),e))if(t)N[C]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return C;case 2:l.call(N,y)}else switch(e){case 4:return!1;case 7:l.call(N,y)}return d?-1:u||c?c:N}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},4333:(e,t,r)=>{"use strict";var n=r(2889),a=r(8289),i=r(358),o=r(4760),s=Math.min,l=[].lastIndexOf,u=!!l&&1/[1].lastIndexOf(1,-0)<0,c=o("lastIndexOf"),d=u||!c;e.exports=d?function(e){if(u)return l.apply(this,arguments)||0;var t=n(this),r=i(t.length),o=r-1;for(arguments.length>1&&(o=s(o,a(arguments[1]))),o<0&&(o=r+o);o>=0;o--)if(o in t&&t[o]===e)return o||0;return-1}:l},1975:(e,t,r)=>{var n=r(9978),a=r(3374),i=r(8720),o=a("species");e.exports=function(e){return i>=51||!n((function(){var t=[];return(t.constructor={})[o]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},4760:(e,t,r)=>{"use strict";var n=r(9978);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){throw 1},1)}))}},6519:(e,t,r)=>{var n=r(6421),a=r(6298),i=r(3883),o=r(358),s=function(e){return function(t,r,s,l){n(r);var u=a(t),c=i(u),d=o(u.length),f=e?d-1:0,m=e?-1:1;if(s<2)for(;;){if(f in c){l=c[f],f+=m;break}if(f+=m,e?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;e?f>=0:d>f;f+=m)f in c&&(l=r(l,c[f],f,u));return l}};e.exports={left:s(!1),right:s(!0)}},1718:e=>{var t=Math.floor,r=function(e,i){var o=e.length,s=t(o/2);return o<8?n(e,i):a(r(e.slice(0,s),i),r(e.slice(s),i),i)},n=function(e,t){for(var r,n,a=e.length,i=1;i<a;){for(n=i,r=e[i];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==i++&&(e[n]=r)}return e},a=function(e,t,r){for(var n=e.length,a=t.length,i=0,o=0,s=[];i<n||o<a;)i<n&&o<a?s.push(r(e[i],t[o])<=0?e[i++]:t[o++]):s.push(i<n?e[i++]:t[o++]);return s};e.exports=r},9293:(e,t,r)=>{var n=r(4363),a=r(8358),i=r(3374)("species");e.exports=function(e,t){var r;return a(e)&&("function"!=typeof(r=e.constructor)||r!==Array&&!a(r.prototype)?n(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===t?0:t)}},5449:(e,t,r)=>{var n=r(6856),a=r(6021);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){throw a(e),t}}},4863:(e,t,r)=>{var n=r(3374)("iterator"),a=!1;try{var i=0,o={next:function(){return{done:!!i++}},return:function(){a=!0}};o[n]=function(){return this},Array.from(o,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!a)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},e(i)}catch(e){}return r}},7362:e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},6262:(e,t,r)=>{var n=r(2434),a=r(7362),i=r(3374)("toStringTag"),o="Arguments"==a(function(){return arguments}());e.exports=n?a:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?r:o?a(t):"Object"==(n=a(t))&&"function"==typeof t.callee?"Arguments":n}},221:(e,t,r)=>{"use strict";var n=r(9577).f,a=r(6503),i=r(9335),o=r(4834),s=r(4319),l=r(8839),u=r(4884),c=r(3609),d=r(9932),f=r(3120).fastKey,m=r(1026),p=m.set,h=m.getterFor;e.exports={getConstructor:function(e,t,r,u){var c=e((function(e,n){s(e,c,t),p(e,{type:t,index:a(null),first:void 0,last:void 0,size:0}),d||(e.size=0),null!=n&&l(n,e[u],{that:e,AS_ENTRIES:r})})),m=h(t),g=function(e,t,r){var n,a,i=m(e),o=v(e,t);return o?o.value=r:(i.last=o={index:a=f(t,!0),key:t,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=o),n&&(n.next=o),d?i.size++:e.size++,"F"!==a&&(i.index[a]=o)),e},v=function(e,t){var r,n=m(e),a=f(t);if("F"!==a)return n.index[a];for(r=n.first;r;r=r.next)if(r.key==t)return r};return i(c.prototype,{clear:function(){for(var e=m(this),t=e.index,r=e.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete t[r.index],r=r.next;e.first=e.last=void 0,d?e.size=0:this.size=0},delete:function(e){var t=this,r=m(t),n=v(t,e);if(n){var a=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=a),a&&(a.previous=i),r.first==n&&(r.first=a),r.last==n&&(r.last=i),d?r.size--:t.size--}return!!n},forEach:function(e){for(var t,r=m(this),n=o(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:r.first;)for(n(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!v(this,e)}}),i(c.prototype,r?{get:function(e){var t=v(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),d&&n(c.prototype,"size",{get:function(){return m(this).size}}),c},setStrong:function(e,t,r){var n=t+" Iterator",a=h(t),i=h(n);u(e,t,(function(e,t){p(this,{type:n,target:e,state:a(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,r=e.last;r&&r.removed;)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?"keys"==t?{value:r.key,done:!1}:"values"==t?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),c(t)}}},440:(e,t,r)=>{"use strict";var n=r(1427),a=r(100),i=r(3120),o=r(9978),s=r(7642),l=r(8839),u=r(4319),c=r(4363),d=r(76),f=r(9577).f,m=r(2865).forEach,p=r(9932),h=r(1026),g=h.set,v=h.getterFor;e.exports=function(e,t,r){var h,y=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),E=y?"set":"add",w=a[e],S=w&&w.prototype,M={};if(p&&"function"==typeof w&&(b||S.forEach&&!o((function(){(new w).entries().next()})))){h=t((function(t,r){g(u(t,h,e),{type:e,collection:new w}),null!=r&&l(r,t[E],{that:t,AS_ENTRIES:y})}));var C=v(e);m(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(e){var t="add"==e||"set"==e;!(e in S)||b&&"clear"==e||s(h.prototype,e,(function(r,n){var a=C(this).collection;if(!t&&b&&!c(r))return"get"==e&&void 0;var i=a[e](0===r?0:r,n);return t?this:i}))})),b||f(h.prototype,"size",{configurable:!0,get:function(){return C(this).collection.size}})}else h=r.getConstructor(t,e,y,E),i.REQUIRED=!0;return d(h,e,!1,!0),M[e]=h,n({global:!0,forced:!0},M),b||r.setStrong(h,e,y),h}},2373:(e,t,r)=>{var n=r(3374)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,"/./"[e](t)}catch(e){}}return!1}},9991:(e,t,r)=>{var n=r(9978);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},5158:(e,t,r)=>{"use strict";var n=r(8132).IteratorPrototype,a=r(6503),i=r(5988),o=r(76),s=r(5446),l=function(){return this};e.exports=function(e,t,r){var u=t+" Iterator";return e.prototype=a(n,{next:i(1,r)}),o(e,u,!1,!0),s[u]=l,e}},7642:(e,t,r)=>{var n=r(9932),a=r(9577),i=r(5988);e.exports=n?function(e,t,r){return a.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},5988:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},5453:(e,t,r)=>{"use strict";var n=r(4490),a=r(9577),i=r(5988);e.exports=function(e,t,r){var o=n(t);o in e?a.f(e,o,i(0,r)):e[o]=r}},4884:(e,t,r)=>{"use strict";var n=r(1427),a=r(5158),i=r(351),o=r(3276),s=r(76),l=r(7642),u=r(3640),c=r(3374),d=r(9814),f=r(5446),m=r(8132),p=m.IteratorPrototype,h=m.BUGGY_SAFARI_ITERATORS,g=c("iterator"),v="keys",y="values",b="entries",E=function(){return this};e.exports=function(e,t,r,c,m,w,S){a(r,t,c);var M,C,I,N=function(e){if(e===m&&_)return _;if(!h&&e in A)return A[e];switch(e){case v:case y:case b:return function(){return new r(this,e)}}return function(){return new r(this)}},D=t+" Iterator",T=!1,A=e.prototype,x=A[g]||A["@@iterator"]||m&&A[m],_=!h&&x||N(m),O="Array"==t&&A.entries||x;if(O&&(M=i(O.call(new e)),p!==Object.prototype&&M.next&&(d||i(M)===p||(o?o(M,p):"function"!=typeof M[g]&&l(M,g,E)),s(M,D,!0,!0),d&&(f[D]=E))),m==y&&x&&x.name!==y&&(T=!0,_=function(){return x.call(this)}),d&&!S||A[g]===_||l(A,g,_),f[t]=_,m)if(C={values:N(y),keys:w?_:N(v),entries:N(b)},S)for(I in C)(h||T||!(I in A))&&u(A,I,C[I]);else n({target:t,proto:!0,forced:h||T},C);return C}},6836:(e,t,r)=>{var n=r(2366),a=r(4013),i=r(8444),o=r(9577).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});a(t,e)||o(t,e,{value:i.f(e)})}},9932:(e,t,r)=>{var n=r(9978);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},1112:(e,t,r)=>{var n=r(100),a=r(4363),i=n.document,o=a(i)&&a(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},530:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},6244:(e,t,r)=>{var n=r(5095).match(/firefox\/(\d+)/i);e.exports=!!n&&+n[1]},8061:e=>{e.exports="object"==typeof window},1824:(e,t,r)=>{var n=r(5095);e.exports=/MSIE|Trident/.test(n)},5601:(e,t,r)=>{var n=r(5095);e.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(n)},1663:(e,t,r)=>{var n=r(7362),a=r(100);e.exports="process"==n(a.process)},4062:(e,t,r)=>{var n=r(5095);e.exports=/web0s(?!.*chrome)/i.test(n)},5095:(e,t,r)=>{var n=r(129);e.exports=n("navigator","userAgent")||""},8720:(e,t,r)=>{var n,a,i=r(100),o=r(5095),s=i.process,l=s&&s.versions,u=l&&l.v8;u?a=(n=u.split("."))[0]<4?1:n[0]+n[1]:o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(a=n[1]),e.exports=a&&+a},6919:(e,t,r)=>{var n=r(5095).match(/AppleWebKit\/(\d+)\./);e.exports=!!n&&+n[1]},9360:(e,t,r)=>{var n=r(2366);e.exports=function(e){return n[e+"Prototype"]}},3513:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1427:(e,t,r)=>{"use strict";var n=r(100),a=r(4498).f,i=r(608),o=r(2366),s=r(4834),l=r(7642),u=r(4013),c=function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var r,d,f,m,p,h,g,v,y=e.target,b=e.global,E=e.stat,w=e.proto,S=b?n:E?n[y]:(n[y]||{}).prototype,M=b?o:o[y]||(o[y]={}),C=M.prototype;for(f in t)r=!i(b?f:y+(E?".":"#")+f,e.forced)&&S&&u(S,f),p=M[f],r&&(h=e.noTargetGet?(v=a(S,f))&&v.value:S[f]),m=r&&h?h:t[f],r&&typeof p==typeof m||(g=e.bind&&r?s(m,n):e.wrap&&r?c(m):w&&"function"==typeof m?s(Function.call,m):m,(e.sham||m&&m.sham||p&&p.sham)&&l(g,"sham",!0),M[f]=g,w&&(u(o,d=y+"Prototype")||l(o,d,{}),o[d][f]=m,e.real&&C&&!C[f]&&l(C,f,m)))}},9978:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},1609:(e,t,r)=>{var n=r(9978);e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},4834:(e,t,r)=>{var n=r(6421);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,a){return e.call(t,r,n,a)}}return function(){return e.apply(t,arguments)}}},4677:(e,t,r)=>{"use strict";var n=r(6421),a=r(4363),i=[].slice,o={};e.exports=Function.bind||function(e){var t=n(this),r=i.call(arguments,1),s=function(){var n=r.concat(i.call(arguments));return this instanceof s?function(e,t,r){if(!(t in o)){for(var n=[],a=0;a<t;a++)n[a]="a["+a+"]";o[t]=Function("C,a","return new C("+n.join(",")+")")}return o[t](e,r)}(t,n.length,n):t.apply(e,n)};return a(t.prototype)&&(s.prototype=t.prototype),s}},129:(e,t,r)=>{var n=r(2366),a=r(100),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e])||i(a[e]):n[e]&&n[e][t]||a[e]&&a[e][t]}},1222:(e,t,r)=>{var n=r(6262),a=r(5446),i=r(3374)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||a[n(e)]}},2545:(e,t,r)=>{var n=r(6856),a=r(1222);e.exports=function(e){var t=a(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return n(t.call(e))}},100:(e,t,r)=>{var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},4013:(e,t,r)=>{var n=r(6298),a={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return a.call(n(e),t)}},9658:e=>{e.exports={}},9792:(e,t,r)=>{var n=r(100);e.exports=function(e,t){var r=n.console;r&&r.error&&(1===arguments.length?r.error(e):r.error(e,t))}},7180:(e,t,r)=>{var n=r(129);e.exports=n("document","documentElement")},9265:(e,t,r)=>{var n=r(9932),a=r(9978),i=r(1112);e.exports=!n&&!a((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},3883:(e,t,r)=>{var n=r(9978),a=r(7362),i="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?i.call(e,""):Object(e)}:Object},3417:(e,t,r)=>{var n=r(7758),a=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return a.call(e)}),e.exports=n.inspectSource},3120:(e,t,r)=>{var n=r(9658),a=r(4363),i=r(4013),o=r(9577).f,s=r(3278),l=r(1609),u=s("meta"),c=0,d=Object.isExtensible||function(){return!0},f=function(e){o(e,u,{value:{objectID:"O"+ ++c,weakData:{}}})},m=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,u)){if(!d(e))return"F";if(!t)return"E";f(e)}return e[u].objectID},getWeakData:function(e,t){if(!i(e,u)){if(!d(e))return!0;if(!t)return!1;f(e)}return e[u].weakData},onFreeze:function(e){return l&&m.REQUIRED&&d(e)&&!i(e,u)&&f(e),e}};n[u]=!0},1026:(e,t,r)=>{var n,a,i,o=r(4242),s=r(100),l=r(4363),u=r(7642),c=r(4013),d=r(7758),f=r(3763),m=r(9658),p="Object already initialized",h=s.WeakMap;if(o||d.state){var g=d.state||(d.state=new h),v=g.get,y=g.has,b=g.set;n=function(e,t){if(y.call(g,e))throw new TypeError(p);return t.facade=e,b.call(g,e,t),t},a=function(e){return v.call(g,e)||{}},i=function(e){return y.call(g,e)}}else{var E=f("state");m[E]=!0,n=function(e,t){if(c(e,E))throw new TypeError(p);return t.facade=e,u(e,E,t),t},a=function(e){return c(e,E)?e[E]:{}},i=function(e){return c(e,E)}}e.exports={set:n,get:a,has:i,enforce:function(e){return i(e)?a(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!l(t)||(r=a(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}}},688:(e,t,r)=>{var n=r(3374),a=r(5446),i=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(a.Array===e||o[i]===e)}},8358:(e,t,r)=>{var n=r(7362);e.exports=Array.isArray||function(e){return"Array"==n(e)}},608:(e,t,r)=>{var n=r(9978),a=/#|\.prototype\./,i=function(e,t){var r=s[o(e)];return r==u||r!=l&&("function"==typeof t?n(t):!!t)},o=i.normalize=function(e){return String(e).replace(a,".").toLowerCase()},s=i.data={},l=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},4363:e=>{e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},9814:e=>{e.exports=!0},2740:(e,t,r)=>{var n=r(4363),a=r(7362),i=r(3374)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==a(e))}},8839:(e,t,r)=>{var n=r(6856),a=r(688),i=r(358),o=r(4834),s=r(1222),l=r(6021),u=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,r){var c,d,f,m,p,h,g,v=r&&r.that,y=!(!r||!r.AS_ENTRIES),b=!(!r||!r.IS_ITERATOR),E=!(!r||!r.INTERRUPTED),w=o(t,v,1+y+E),S=function(e){return c&&l(c),new u(!0,e)},M=function(e){return y?(n(e),E?w(e[0],e[1],S):w(e[0],e[1])):E?w(e,S):w(e)};if(b)c=e;else{if("function"!=typeof(d=s(e)))throw TypeError("Target is not iterable");if(a(d)){for(f=0,m=i(e.length);m>f;f++)if((p=M(e[f]))&&p instanceof u)return p;return new u(!1)}c=d.call(e)}for(h=c.next;!(g=h.call(c)).done;){try{p=M(g.value)}catch(e){throw l(c),e}if("object"==typeof p&&p&&p instanceof u)return p}return new u(!1)}},6021:(e,t,r)=>{var n=r(6856);e.exports=function(e){var t=e.return;if(void 0!==t)return n(t.call(e)).value}},8132:(e,t,r)=>{"use strict";var n,a,i,o=r(9978),s=r(351),l=r(7642),u=r(4013),c=r(3374),d=r(9814),f=c("iterator"),m=!1;[].keys&&("next"in(i=[].keys())?(a=s(s(i)))!==Object.prototype&&(n=a):m=!0);var p=null==n||o((function(){var e={};return n[f].call(e)!==e}));p&&(n={}),d&&!p||u(n,f)||l(n,f,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:m}},5446:e=>{e.exports={}},6040:(e,t,r)=>{var n,a,i,o,s,l,u,c,d=r(100),f=r(4498).f,m=r(8930).set,p=r(5601),h=r(4062),g=r(1663),v=d.MutationObserver||d.WebKitMutationObserver,y=d.document,b=d.process,E=d.Promise,w=f(d,"queueMicrotask"),S=w&&w.value;S||(n=function(){var e,t;for(g&&(e=b.domain)&&e.exit();a;){t=a.fn,a=a.next;try{t()}catch(e){throw a?o():i=void 0,e}}i=void 0,e&&e.enter()},p||g||h||!v||!y?E&&E.resolve?((u=E.resolve(void 0)).constructor=E,c=u.then,o=function(){c.call(u,n)}):o=g?function(){b.nextTick(n)}:function(){m.call(d,n)}:(s=!0,l=y.createTextNode(""),new v(n).observe(l,{characterData:!0}),o=function(){l.data=s=!s})),e.exports=S||function(e){var t={fn:e,next:void 0};i&&(i.next=t),a||(a=t,o()),i=t}},959:(e,t,r)=>{var n=r(100);e.exports=n.Promise},6386:(e,t,r)=>{var n=r(8720),a=r(9978);e.exports=!!Object.getOwnPropertySymbols&&!a((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},3694:(e,t,r)=>{var n=r(9978),a=r(3374),i=r(9814),o=a("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[o]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},4242:(e,t,r)=>{var n=r(100),a=r(3417),i=n.WeakMap;e.exports="function"==typeof i&&/native code/.test(a(i))},9012:(e,t,r)=>{"use strict";var n=r(6421),a=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new a(e)}},8658:(e,t,r)=>{var n=r(2740);e.exports=function(e){if(n(e))throw TypeError("The method doesn't accept regular expressions");return e}},5382:(e,t,r)=>{var n=r(100),a=r(3637).trim,i=r(4784),o=n.parseInt,s=/^[+-]?0[Xx]/,l=8!==o(i+"08")||22!==o(i+"0x16");e.exports=l?function(e,t){var r=a(String(e));return o(r,t>>>0||(s.test(r)?16:10))}:o},989:(e,t,r)=>{"use strict";var n=r(9932),a=r(9978),i=r(5492),o=r(2455),s=r(7079),l=r(6298),u=r(3883),c=Object.assign,d=Object.defineProperty;e.exports=!c||a((function(){if(n&&1!==c({b:1},c(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),a="abcdefghijklmnopqrst";return e[r]=7,a.split("").forEach((function(e){t[e]=e})),7!=c({},e)[r]||i(c({},t)).join("")!=a}))?function(e,t){for(var r=l(e),a=arguments.length,c=1,d=o.f,f=s.f;a>c;)for(var m,p=u(arguments[c++]),h=d?i(p).concat(d(p)):i(p),g=h.length,v=0;g>v;)m=h[v++],n&&!f.call(p,m)||(r[m]=p[m]);return r}:c},6503:(e,t,r)=>{var n,a=r(6856),i=r(7878),o=r(3513),s=r(9658),l=r(7180),u=r(1112),c=r(3763),d="prototype",f="script",m=c("IE_PROTO"),p=function(){},h=function(e){return"<"+f+">"+e+"</"+f+">"},g=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t,r;g=n?function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t}(n):(t=u("iframe"),r="java"+f+":",t.style.display="none",l.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F);for(var a=o.length;a--;)delete g[d][o[a]];return g()};s[m]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(p[d]=a(e),r=new p,p[d]=null,r[m]=e):r=g(),void 0===t?r:i(r,t)}},7878:(e,t,r)=>{var n=r(9932),a=r(9577),i=r(6856),o=r(5492);e.exports=n?Object.defineProperties:function(e,t){i(e);for(var r,n=o(t),s=n.length,l=0;s>l;)a.f(e,r=n[l++],t[r]);return e}},9577:(e,t,r)=>{var n=r(9932),a=r(9265),i=r(6856),o=r(4490),s=Object.defineProperty;t.f=n?s:function(e,t,r){if(i(e),t=o(t,!0),i(r),a)try{return s(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},4498:(e,t,r)=>{var n=r(9932),a=r(7079),i=r(5988),o=r(2889),s=r(4490),l=r(4013),u=r(9265),c=Object.getOwnPropertyDescriptor;t.f=n?c:function(e,t){if(e=o(e),t=s(t,!0),u)try{return c(e,t)}catch(e){}if(l(e,t))return i(!a.f.call(e,t),e[t])}},7749:(e,t,r)=>{var n=r(2889),a=r(1655).f,i={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==i.call(e)?function(e){try{return a(e)}catch(e){return o.slice()}}(e):a(n(e))}},1655:(e,t,r)=>{var n=r(3292),a=r(3513).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,a)}},2455:(e,t)=>{t.f=Object.getOwnPropertySymbols},351:(e,t,r)=>{var n=r(4013),a=r(6298),i=r(3763),o=r(9991),s=i("IE_PROTO"),l=Object.prototype;e.exports=o?Object.getPrototypeOf:function(e){return e=a(e),n(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},3292:(e,t,r)=>{var n=r(4013),a=r(2889),i=r(9331).indexOf,o=r(9658);e.exports=function(e,t){var r,s=a(e),l=0,u=[];for(r in s)!n(o,r)&&n(s,r)&&u.push(r);for(;t.length>l;)n(s,r=t[l++])&&(~i(u,r)||u.push(r));return u}},5492:(e,t,r)=>{var n=r(3292),a=r(3513);e.exports=Object.keys||function(e){return n(e,a)}},7079:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,a=n&&!r.call({1:2},1);t.f=a?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},3276:(e,t,r)=>{var n=r(6856),a=r(9245);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),t=r instanceof Array}catch(e){}return function(r,i){return n(r),a(i),t?e.call(r,i):r.__proto__=i,r}}():void 0)},4775:(e,t,r)=>{var n=r(9932),a=r(5492),i=r(2889),o=r(7079).f,s=function(e){return function(t){for(var r,s=i(t),l=a(s),u=l.length,c=0,d=[];u>c;)r=l[c++],n&&!o.call(s,r)||d.push(e?[r,s[r]]:s[r]);return d}};e.exports={entries:s(!0),values:s(!1)}},6118:(e,t,r)=>{"use strict";var n=r(2434),a=r(6262);e.exports=n?{}.toString:function(){return"[object "+a(this)+"]"}},9317:(e,t,r)=>{var n=r(129),a=r(1655),i=r(2455),o=r(6856);e.exports=n("Reflect","ownKeys")||function(e){var t=a.f(o(e)),r=i.f;return r?t.concat(r(e)):t}},2366:e=>{e.exports={}},1668:e=>{e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},1282:(e,t,r)=>{var n=r(6856),a=r(4363),i=r(9012);e.exports=function(e,t){if(n(e),a(t)&&t.constructor===e)return t;var r=i.f(e);return(0,r.resolve)(t),r.promise}},9335:(e,t,r)=>{var n=r(3640);e.exports=function(e,t,r){for(var a in t)r&&r.unsafe&&e[a]?e[a]=t[a]:n(e,a,t[a],r);return e}},3640:(e,t,r)=>{var n=r(7642);e.exports=function(e,t,r,a){a&&a.enumerable?e[t]=r:n(e,t,r)}},9788:e=>{e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},7103:(e,t,r)=>{var n=r(100),a=r(7642);e.exports=function(e,t){try{a(n,e,t)}catch(r){n[e]=t}return t}},3609:(e,t,r)=>{"use strict";var n=r(129),a=r(9577),i=r(3374),o=r(9932),s=i("species");e.exports=function(e){var t=n(e),r=a.f;o&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},76:(e,t,r)=>{var n=r(2434),a=r(9577).f,i=r(7642),o=r(4013),s=r(6118),l=r(3374)("toStringTag");e.exports=function(e,t,r,u){if(e){var c=r?e:e.prototype;o(c,l)||a(c,l,{configurable:!0,value:t}),u&&!n&&i(c,"toString",s)}}},3763:(e,t,r)=>{var n=r(3860),a=r(3278),i=n("keys");e.exports=function(e){return i[e]||(i[e]=a(e))}},7758:(e,t,r)=>{var n=r(100),a=r(7103),i="__core-js_shared__",o=n[i]||a(i,{});e.exports=o},3860:(e,t,r)=>{var n=r(9814),a=r(7758);(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.14.0",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},5176:(e,t,r)=>{var n=r(6856),a=r(6421),i=r(3374)("species");e.exports=function(e,t){var r,o=n(e).constructor;return void 0===o||null==(r=n(o)[i])?t:a(r)}},9413:(e,t,r)=>{var n=r(8289),a=r(9788),i=function(e){return function(t,r){var i,o,s=String(a(t)),l=n(r),u=s.length;return l<0||l>=u?e?"":void 0:(i=s.charCodeAt(l))<55296||i>56319||l+1===u||(o=s.charCodeAt(l+1))<56320||o>57343?e?s.charAt(l):i:e?s.slice(l,l+2):o-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},1899:e=>{"use strict";var t=2147483647,r=/[^\0-\u007E]/,n=/[.\u3002\uFF0E\uFF61]/g,a="Overflow: input needs wider integers to process",i=Math.floor,o=String.fromCharCode,s=function(e){return e+22+75*(e<26)},l=function(e,t,r){var n=0;for(e=r?i(e/700):e>>1,e+=i(e/t);e>455;n+=36)e=i(e/35);return i(n+36*e/(e+38))},u=function(e){var r=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var a=e.charCodeAt(r++);if(a>=55296&&a<=56319&&r<n){var i=e.charCodeAt(r++);56320==(64512&i)?t.push(((1023&a)<<10)+(1023&i)+65536):(t.push(a),r--)}else t.push(a)}return t}(e);var n,u,c=e.length,d=128,f=0,m=72;for(n=0;n<e.length;n++)(u=e[n])<128&&r.push(o(u));var p=r.length,h=p;for(p&&r.push("-");h<c;){var g=t;for(n=0;n<e.length;n++)(u=e[n])>=d&&u<g&&(g=u);var v=h+1;if(g-d>i((t-f)/v))throw RangeError(a);for(f+=(g-d)*v,d=g,n=0;n<e.length;n++){if((u=e[n])<d&&++f>t)throw RangeError(a);if(u==d){for(var y=f,b=36;;b+=36){var E=b<=m?1:b>=m+26?26:b-m;if(y<E)break;var w=y-E,S=36-E;r.push(o(s(E+w%S))),y=i(w/S)}r.push(o(s(y))),m=l(f,v,h==p),f=0,++h}}++f,++d}return r.join("")};e.exports=function(e){var t,a,i=[],o=e.toLowerCase().replace(n,".").split(".");for(t=0;t<o.length;t++)a=o[t],i.push(r.test(a)?"xn--"+u(a):a);return i.join(".")}},144:(e,t,r)=>{var n=r(9978),a=r(4784);e.exports=function(e){return n((function(){return!!a[e]()||"​…᠎"!="​…᠎"[e]()||a[e].name!==e}))}},3637:(e,t,r)=>{var n=r(9788),a="["+r(4784)+"]",i=RegExp("^"+a+a+"*"),o=RegExp(a+a+"*$"),s=function(e){return function(t){var r=String(n(t));return 1&e&&(r=r.replace(i,"")),2&e&&(r=r.replace(o,"")),r}};e.exports={start:s(1),end:s(2),trim:s(3)}},8930:(e,t,r)=>{var n,a,i,o=r(100),s=r(9978),l=r(4834),u=r(7180),c=r(1112),d=r(5601),f=r(1663),m=o.location,p=o.setImmediate,h=o.clearImmediate,g=o.process,v=o.MessageChannel,y=o.Dispatch,b=0,E={},w="onreadystatechange",S=function(e){if(E.hasOwnProperty(e)){var t=E[e];delete E[e],t()}},M=function(e){return function(){S(e)}},C=function(e){S(e.data)},I=function(e){o.postMessage(e+"",m.protocol+"//"+m.host)};p&&h||(p=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return E[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},n(b),b},h=function(e){delete E[e]},f?n=function(e){g.nextTick(M(e))}:y&&y.now?n=function(e){y.now(M(e))}:v&&!d?(i=(a=new v).port2,a.port1.onmessage=C,n=l(i.postMessage,i,1)):o.addEventListener&&"function"==typeof postMessage&&!o.importScripts&&m&&"file:"!==m.protocol&&!s(I)?(n=I,o.addEventListener("message",C,!1)):n=w in c("script")?function(e){u.appendChild(c("script"))[w]=function(){u.removeChild(this),S(e)}}:function(e){setTimeout(M(e),0)}),e.exports={set:p,clear:h}},4488:(e,t,r)=>{var n=r(8289),a=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?a(r+t,0):i(r,t)}},2889:(e,t,r)=>{var n=r(3883),a=r(9788);e.exports=function(e){return n(a(e))}},8289:e=>{var t=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:t)(e)}},358:(e,t,r)=>{var n=r(8289),a=Math.min;e.exports=function(e){return e>0?a(n(e),9007199254740991):0}},6298:(e,t,r)=>{var n=r(9788);e.exports=function(e){return Object(n(e))}},4490:(e,t,r)=>{var n=r(4363);e.exports=function(e,t){if(!n(e))return e;var r,a;if(t&&"function"==typeof(r=e.toString)&&!n(a=r.call(e)))return a;if("function"==typeof(r=e.valueOf)&&!n(a=r.call(e)))return a;if(!t&&"function"==typeof(r=e.toString)&&!n(a=r.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},2434:(e,t,r)=>{var n={};n[r(3374)("toStringTag")]="z",e.exports="[object z]"===String(n)},3278:e=>{var t=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+r).toString(36)}},4529:(e,t,r)=>{var n=r(6386);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8444:(e,t,r)=>{var n=r(3374);t.f=n},3374:(e,t,r)=>{var n=r(100),a=r(3860),i=r(4013),o=r(3278),s=r(6386),l=r(4529),u=a("wks"),c=n.Symbol,d=l?c:c&&c.withoutSetter||o;e.exports=function(e){return i(u,e)&&(s||"string"==typeof u[e])||(s&&i(c,e)?u[e]=c[e]:u[e]=d("Symbol."+e)),u[e]}},4784:e=>{e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},8172:(e,t,r)=>{"use strict";var n=r(1427),a=r(351),i=r(3276),o=r(6503),s=r(7642),l=r(5988),u=r(8839),c=function(e,t){var r=this;if(!(r instanceof c))return new c(e,t);i&&(r=i(new Error(void 0),a(r))),void 0!==t&&s(r,"message",String(t));var n=[];return u(e,n.push,{that:n}),s(r,"errors",n),r};c.prototype=o(Error.prototype,{constructor:l(5,c),message:l(5,""),name:l(5,"AggregateError")}),n({global:!0},{AggregateError:c})},5802:(e,t,r)=>{"use strict";var n=r(1427),a=r(9978),i=r(8358),o=r(4363),s=r(6298),l=r(358),u=r(5453),c=r(9293),d=r(1975),f=r(3374),m=r(8720),p=f("isConcatSpreadable"),h=9007199254740991,g="Maximum allowed index exceeded",v=m>=51||!a((function(){var e=[];return e[p]=!1,e.concat()[0]!==e})),y=d("concat"),b=function(e){if(!o(e))return!1;var t=e[p];return void 0!==t?!!t:i(e)};n({target:"Array",proto:!0,forced:!v||!y},{concat:function(e){var t,r,n,a,i,o=s(this),d=c(o,0),f=0;for(t=-1,n=arguments.length;t<n;t++)if(b(i=-1===t?o:arguments[t])){if(f+(a=l(i.length))>h)throw TypeError(g);for(r=0;r<a;r++,f++)r in i&&u(d,f,i[r])}else{if(f>=h)throw TypeError(g);u(d,f++,i)}return d.length=f,d}})},5239:(e,t,r)=>{"use strict";var n=r(1427),a=r(2865).every;n({target:"Array",proto:!0,forced:!r(4760)("every")},{every:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},1308:(e,t,r)=>{var n=r(1427),a=r(1159),i=r(7479);n({target:"Array",proto:!0},{fill:a}),i("fill")},8830:(e,t,r)=>{"use strict";var n=r(1427),a=r(2865).filter;n({target:"Array",proto:!0,forced:!r(1975)("filter")},{filter:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},8901:(e,t,r)=>{"use strict";var n=r(1427),a=r(2865).findIndex,i=r(7479),o="findIndex",s=!0;o in[]&&Array(1)[o]((function(){s=!1})),n({target:"Array",proto:!0,forced:s},{findIndex:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),i(o)},2283:(e,t,r)=>{"use strict";var n=r(1427),a=r(2865).find,i=r(7479),o="find",s=!0;o in[]&&Array(1)[o]((function(){s=!1})),n({target:"Array",proto:!0,forced:s},{find:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),i(o)},4739:(e,t,r)=>{"use strict";var n=r(1427),a=r(3878);n({target:"Array",proto:!0,forced:[].forEach!=a},{forEach:a})},4702:(e,t,r)=>{var n=r(1427),a=r(9204);n({target:"Array",stat:!0,forced:!r(4863)((function(e){Array.from(e)}))},{from:a})},9113:(e,t,r)=>{"use strict";var n=r(1427),a=r(9331).includes,i=r(7479);n({target:"Array",proto:!0},{includes:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},8165:(e,t,r)=>{"use strict";var n=r(1427),a=r(9331).indexOf,i=r(4760),o=[].indexOf,s=!!o&&1/[1].indexOf(1,-0)<0,l=i("indexOf");n({target:"Array",proto:!0,forced:s||!l},{indexOf:function(e){return s?o.apply(this,arguments)||0:a(this,e,arguments.length>1?arguments[1]:void 0)}})},8982:(e,t,r)=>{r(1427)({target:"Array",stat:!0},{isArray:r(8358)})},2610:(e,t,r)=>{"use strict";var n=r(2889),a=r(7479),i=r(5446),o=r(1026),s=r(4884),l="Array Iterator",u=o.set,c=o.getterFor(l);e.exports=s(Array,"Array",(function(e,t){u(this,{type:l,target:n(e),index:0,kind:t})}),(function(){var e=c(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),i.Arguments=i.Array,a("keys"),a("values"),a("entries")},3575:(e,t,r)=>{var n=r(1427),a=r(4333);n({target:"Array",proto:!0,forced:a!==[].lastIndexOf},{lastIndexOf:a})},9731:(e,t,r)=>{"use strict";var n=r(1427),a=r(2865).map;n({target:"Array",proto:!0,forced:!r(1975)("map")},{map:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},3919:(e,t,r)=>{"use strict";var n=r(1427),a=r(6519).left,i=r(4760),o=r(8720),s=r(1663);n({target:"Array",proto:!0,forced:!i("reduce")||!s&&o>79&&o<83},{reduce:function(e){return a(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},2074:(e,t,r)=>{"use strict";var n=r(1427),a=r(8358),i=[].reverse,o=[1,2];n({target:"Array",proto:!0,forced:String(o)===String(o.reverse())},{reverse:function(){return a(this)&&(this.length=this.length),i.call(this)}})},333:(e,t,r)=>{"use strict";var n=r(1427),a=r(4363),i=r(8358),o=r(4488),s=r(358),l=r(2889),u=r(5453),c=r(3374),d=r(1975)("slice"),f=c("species"),m=[].slice,p=Math.max;n({target:"Array",proto:!0,forced:!d},{slice:function(e,t){var r,n,c,d=l(this),h=s(d.length),g=o(e,h),v=o(void 0===t?h:t,h);if(i(d)&&("function"!=typeof(r=d.constructor)||r!==Array&&!i(r.prototype)?a(r)&&null===(r=r[f])&&(r=void 0):r=void 0,r===Array||void 0===r))return m.call(d,g,v);for(n=new(void 0===r?Array:r)(p(v-g,0)),c=0;g<v;g++,c++)g in d&&u(n,c,d[g]);return n.length=c,n}})},7412:(e,t,r)=>{"use strict";var n=r(1427),a=r(2865).some;n({target:"Array",proto:!0,forced:!r(4760)("some")},{some:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},3064:(e,t,r)=>{"use strict";var n=r(1427),a=r(6421),i=r(6298),o=r(358),s=r(9978),l=r(1718),u=r(4760),c=r(6244),d=r(1824),f=r(8720),m=r(6919),p=[],h=p.sort,g=s((function(){p.sort(void 0)})),v=s((function(){p.sort(null)})),y=u("sort"),b=!s((function(){if(f)return f<70;if(!(c&&c>3)){if(d)return!0;if(m)return m<603;var e,t,r,n,a="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)p.push({k:t+n,v:r})}for(p.sort((function(e,t){return t.v-e.v})),n=0;n<p.length;n++)t=p[n].k.charAt(0),a.charAt(a.length-1)!==t&&(a+=t);return"DGBEFHACIJK"!==a}}));n({target:"Array",proto:!0,forced:g||!v||!y||!b},{sort:function(e){void 0!==e&&a(e);var t=i(this);if(b)return void 0===e?h.call(t):h.call(t,e);var r,n,s=[],u=o(t.length);for(n=0;n<u;n++)n in t&&s.push(t[n]);for(s=l(s,function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:String(t)>String(r)?1:-1}}(e)),r=s.length,n=0;n<r;)t[n]=s[n++];for(;n<u;)delete t[n++];return t}})},4722:(e,t,r)=>{"use strict";var n=r(1427),a=r(4488),i=r(8289),o=r(358),s=r(6298),l=r(9293),u=r(5453),c=r(1975)("splice"),d=Math.max,f=Math.min;n({target:"Array",proto:!0,forced:!c},{splice:function(e,t){var r,n,c,m,p,h,g=s(this),v=o(g.length),y=a(e,v),b=arguments.length;if(0===b?r=n=0:1===b?(r=0,n=v-y):(r=b-2,n=f(d(i(t),0),v-y)),v+r-n>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(c=l(g,n),m=0;m<n;m++)(p=y+m)in g&&u(c,m,g[p]);if(c.length=n,r<n){for(m=y;m<v-n;m++)h=m+r,(p=m+n)in g?g[h]=g[p]:delete g[h];for(m=v;m>v-n+r;m--)delete g[m-1]}else if(r>n)for(m=v-n;m>y;m--)h=m+r-1,(p=m+n-1)in g?g[h]=g[p]:delete g[h];for(m=0;m<r;m++)g[m+y]=arguments[m+2];return g.length=v-n+r,c}})},6664:(e,t,r)=>{r(1427)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},7778:(e,t,r)=>{r(1427)({target:"Function",proto:!0},{bind:r(4677)})},3927:(e,t,r)=>{var n=r(1427),a=r(129),i=r(9978),o=a("JSON","stringify"),s=/[\uD800-\uDFFF]/g,l=/^[\uD800-\uDBFF]$/,u=/^[\uDC00-\uDFFF]$/,c=function(e,t,r){var n=r.charAt(t-1),a=r.charAt(t+1);return l.test(e)&&!u.test(a)||u.test(e)&&!l.test(n)?"\\u"+e.charCodeAt(0).toString(16):e},d=i((function(){return'"\\udf06\\ud834"'!==o("\udf06\ud834")||'"\\udead"'!==o("\udead")}));o&&n({target:"JSON",stat:!0,forced:d},{stringify:function(e,t,r){var n=o.apply(null,arguments);return"string"==typeof n?n.replace(s,c):n}})},9065:(e,t,r)=>{"use strict";var n=r(440),a=r(221);e.exports=n("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),a)},9369:(e,t,r)=>{r(1427)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},6194:(e,t,r)=>{var n=r(1427),a=r(5382);n({target:"Number",stat:!0,forced:Number.parseInt!=a},{parseInt:a})},5679:(e,t,r)=>{var n=r(1427),a=r(989);n({target:"Object",stat:!0,forced:Object.assign!==a},{assign:a})},2880:(e,t,r)=>{var n=r(1427),a=r(9932);n({target:"Object",stat:!0,forced:!a,sham:!a},{defineProperties:r(7878)})},8393:(e,t,r)=>{var n=r(1427),a=r(9932);n({target:"Object",stat:!0,forced:!a,sham:!a},{defineProperty:r(9577).f})},4711:(e,t,r)=>{var n=r(1427),a=r(4775).entries;n({target:"Object",stat:!0},{entries:function(e){return a(e)}})},1685:(e,t,r)=>{var n=r(1427),a=r(1609),i=r(9978),o=r(4363),s=r(3120).onFreeze,l=Object.freeze;n({target:"Object",stat:!0,forced:i((function(){l(1)})),sham:!a},{freeze:function(e){return l&&o(e)?l(s(e)):e}})},5985:(e,t,r)=>{var n=r(1427),a=r(9978),i=r(2889),o=r(4498).f,s=r(9932),l=a((function(){o(1)}));n({target:"Object",stat:!0,forced:!s||l,sham:!s},{getOwnPropertyDescriptor:function(e,t){return o(i(e),t)}})},5780:(e,t,r)=>{var n=r(1427),a=r(9932),i=r(9317),o=r(2889),s=r(4498),l=r(5453);n({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(e){for(var t,r,n=o(e),a=s.f,u=i(n),c={},d=0;u.length>d;)void 0!==(r=a(n,t=u[d++]))&&l(c,t,r);return c}})},7731:(e,t,r)=>{var n=r(1427),a=r(6298),i=r(5492);n({target:"Object",stat:!0,forced:r(9978)((function(){i(1)}))},{keys:function(e){return i(a(e))}})},6095:()=>{},1814:(e,t,r)=>{var n=r(1427),a=r(4775).values;n({target:"Object",stat:!0},{values:function(e){return a(e)}})},270:(e,t,r)=>{var n=r(1427),a=r(5382);n({global:!0,forced:parseInt!=a},{parseInt:a})},6087:(e,t,r)=>{"use strict";var n=r(1427),a=r(6421),i=r(9012),o=r(1668),s=r(8839);n({target:"Promise",stat:!0},{allSettled:function(e){var t=this,r=i.f(t),n=r.resolve,l=r.reject,u=o((function(){var r=a(t.resolve),i=[],o=0,l=1;s(e,(function(e){var a=o++,s=!1;i.push(void 0),l++,r.call(t,e).then((function(e){s||(s=!0,i[a]={status:"fulfilled",value:e},--l||n(i))}),(function(e){s||(s=!0,i[a]={status:"rejected",reason:e},--l||n(i))}))})),--l||n(i)}));return u.error&&l(u.value),r.promise}})},325:(e,t,r)=>{"use strict";var n=r(1427),a=r(6421),i=r(129),o=r(9012),s=r(1668),l=r(8839),u="No one promise resolved";n({target:"Promise",stat:!0},{any:function(e){var t=this,r=o.f(t),n=r.resolve,c=r.reject,d=s((function(){var r=a(t.resolve),o=[],s=0,d=1,f=!1;l(e,(function(e){var a=s++,l=!1;o.push(void 0),d++,r.call(t,e).then((function(e){l||f||(f=!0,n(e))}),(function(e){l||f||(l=!0,o[a]=e,--d||c(new(i("AggregateError"))(o,u)))}))})),--d||c(new(i("AggregateError"))(o,u))}));return d.error&&c(d.value),r.promise}})},7089:(e,t,r)=>{"use strict";var n=r(1427),a=r(9814),i=r(959),o=r(9978),s=r(129),l=r(5176),u=r(1282),c=r(3640);if(n({target:"Promise",proto:!0,real:!0,forced:!!i&&o((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=l(this,s("Promise")),r="function"==typeof e;return this.then(r?function(r){return u(t,e()).then((function(){return r}))}:e,r?function(r){return u(t,e()).then((function(){throw r}))}:e)}}),!a&&"function"==typeof i){var d=s("Promise").prototype.finally;i.prototype.finally!==d&&c(i.prototype,"finally",d,{unsafe:!0})}},8493:(e,t,r)=>{"use strict";var n,a,i,o,s=r(1427),l=r(9814),u=r(100),c=r(129),d=r(959),f=r(3640),m=r(9335),p=r(3276),h=r(76),g=r(3609),v=r(4363),y=r(6421),b=r(4319),E=r(3417),w=r(8839),S=r(4863),M=r(5176),C=r(8930).set,I=r(6040),N=r(1282),D=r(9792),T=r(9012),A=r(1668),x=r(1026),_=r(608),O=r(3374),k=r(8061),P=r(1663),R=r(8720),F=O("species"),L="Promise",U=x.get,B=x.set,V=x.getterFor(L),z=d&&d.prototype,j=d,H=z,$=u.TypeError,q=u.document,W=u.process,G=T.f,Y=G,K=!!(q&&q.createEvent&&u.dispatchEvent),Z="function"==typeof PromiseRejectionEvent,J="unhandledrejection",X=!1,Q=_(L,(function(){var e=E(j)!==String(j);if(!e&&66===R)return!0;if(l&&!H.finally)return!0;if(R>=51&&/native code/.test(j))return!1;var t=new j((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(t.constructor={})[F]=r,!(X=t.then((function(){}))instanceof r)||!e&&k&&!Z})),ee=Q||!S((function(e){j.all(e).catch((function(){}))})),te=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},re=function(e,t){if(!e.notified){e.notified=!0;var r=e.reactions;I((function(){for(var n=e.value,a=1==e.state,i=0;r.length>i;){var o,s,l,u=r[i++],c=a?u.ok:u.fail,d=u.resolve,f=u.reject,m=u.domain;try{c?(a||(2===e.rejection&&oe(e),e.rejection=1),!0===c?o=n:(m&&m.enter(),o=c(n),m&&(m.exit(),l=!0)),o===u.promise?f($("Promise-chain cycle")):(s=te(o))?s.call(o,d,f):d(o)):f(n)}catch(e){m&&!l&&m.exit(),f(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ae(e)}))}},ne=function(e,t,r){var n,a;K?((n=q.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),u.dispatchEvent(n)):n={promise:t,reason:r},!Z&&(a=u["on"+e])?a(n):e===J&&D("Unhandled promise rejection",r)},ae=function(e){C.call(u,(function(){var t,r=e.facade,n=e.value;if(ie(e)&&(t=A((function(){P?W.emit("unhandledRejection",n,r):ne(J,r,n)})),e.rejection=P||ie(e)?2:1,t.error))throw t.value}))},ie=function(e){return 1!==e.rejection&&!e.parent},oe=function(e){C.call(u,(function(){var t=e.facade;P?W.emit("rejectionHandled",t):ne("rejectionhandled",t,e.value)}))},se=function(e,t,r){return function(n){e(t,n,r)}},le=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,re(e,!0))},ue=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw $("Promise can't be resolved itself");var n=te(t);n?I((function(){var r={done:!1};try{n.call(t,se(ue,r,e),se(le,r,e))}catch(t){le(r,t,e)}})):(e.value=t,e.state=1,re(e,!1))}catch(t){le({done:!1},t,e)}}};if(Q&&(H=(j=function(e){b(this,j,L),y(e),n.call(this);var t=U(this);try{e(se(ue,t),se(le,t))}catch(e){le(t,e)}}).prototype,(n=function(e){B(this,{type:L,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=m(H,{then:function(e,t){var r=V(this),n=G(M(this,j));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=P?W.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&re(r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new n,t=U(e);this.promise=e,this.resolve=se(ue,t),this.reject=se(le,t)},T.f=G=function(e){return e===j||e===i?new a(e):Y(e)},!l&&"function"==typeof d&&z!==Object.prototype)){o=z.then,X||(f(z,"then",(function(e,t){var r=this;return new j((function(e,t){o.call(r,e,t)})).then(e,t)}),{unsafe:!0}),f(z,"catch",H.catch,{unsafe:!0}));try{delete z.constructor}catch(e){}p&&p(z,H)}s({global:!0,wrap:!0,forced:Q},{Promise:j}),h(j,L,!1,!0),g(L),i=c(L),s({target:L,stat:!0,forced:Q},{reject:function(e){var t=G(this);return t.reject.call(void 0,e),t.promise}}),s({target:L,stat:!0,forced:l||Q},{resolve:function(e){return N(l&&this===i?j:this,e)}}),s({target:L,stat:!0,forced:ee},{all:function(e){var t=this,r=G(t),n=r.resolve,a=r.reject,i=A((function(){var r=y(t.resolve),i=[],o=0,s=1;w(e,(function(e){var l=o++,u=!1;i.push(void 0),s++,r.call(t,e).then((function(e){u||(u=!0,i[l]=e,--s||n(i))}),a)})),--s||n(i)}));return i.error&&a(i.value),r.promise},race:function(e){var t=this,r=G(t),n=r.reject,a=A((function(){var a=y(t.resolve);w(e,(function(e){a.call(t,e).then(r.resolve,n)}))}));return a.error&&n(a.value),r.promise}})},8820:(e,t,r)=>{"use strict";var n=r(1427),a=r(8658),i=r(9788);n({target:"String",proto:!0,forced:!r(2373)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(a(e),arguments.length>1?arguments[1]:void 0)}})},9773:(e,t,r)=>{"use strict";var n=r(9413).charAt,a=r(1026),i=r(4884),o="String Iterator",s=a.set,l=a.getterFor(o);i(String,"String",(function(e){s(this,{type:o,string:String(e),index:0})}),(function(){var e,t=l(this),r=t.string,a=t.index;return a>=r.length?{value:void 0,done:!0}:(e=n(r,a),t.index+=e.length,{value:e,done:!1})}))},9734:(e,t,r)=>{"use strict";var n,a=r(1427),i=r(4498).f,o=r(358),s=r(8658),l=r(9788),u=r(2373),c=r(9814),d="".startsWith,f=Math.min,m=u("startsWith");a({target:"String",proto:!0,forced:!!(c||m||(n=i(String.prototype,"startsWith"),!n||n.writable))&&!m},{startsWith:function(e){var t=String(l(this));s(e);var r=o(f(arguments.length>1?arguments[1]:void 0,t.length)),n=String(e);return d?d.call(t,n,r):t.slice(r,r+n.length)===n}})},5681:(e,t,r)=>{"use strict";var n=r(1427),a=r(3637).trim;n({target:"String",proto:!0,forced:r(144)("trim")},{trim:function(){return a(this)}})},1174:(e,t,r)=>{"use strict";var n=r(1427),a=r(100),i=r(129),o=r(9814),s=r(9932),l=r(6386),u=r(4529),c=r(9978),d=r(4013),f=r(8358),m=r(4363),p=r(6856),h=r(6298),g=r(2889),v=r(4490),y=r(5988),b=r(6503),E=r(5492),w=r(1655),S=r(7749),M=r(2455),C=r(4498),I=r(9577),N=r(7079),D=r(7642),T=r(3640),A=r(3860),x=r(3763),_=r(9658),O=r(3278),k=r(3374),P=r(8444),R=r(6836),F=r(76),L=r(1026),U=r(2865).forEach,B=x("hidden"),V="Symbol",z="prototype",j=k("toPrimitive"),H=L.set,$=L.getterFor(V),q=Object[z],W=a.Symbol,G=i("JSON","stringify"),Y=C.f,K=I.f,Z=S.f,J=N.f,X=A("symbols"),Q=A("op-symbols"),ee=A("string-to-symbol-registry"),te=A("symbol-to-string-registry"),re=A("wks"),ne=a.QObject,ae=!ne||!ne[z]||!ne[z].findChild,ie=s&&c((function(){return 7!=b(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=Y(q,t);n&&delete q[t],K(e,t,r),n&&e!==q&&K(q,t,n)}:K,oe=function(e,t){var r=X[e]=b(W[z]);return H(r,{type:V,tag:e,description:t}),s||(r.description=t),r},se=u?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof W},le=function(e,t,r){e===q&&le(Q,t,r),p(e);var n=v(t,!0);return p(r),d(X,n)?(r.enumerable?(d(e,B)&&e[B][n]&&(e[B][n]=!1),r=b(r,{enumerable:y(0,!1)})):(d(e,B)||K(e,B,y(1,{})),e[B][n]=!0),ie(e,n,r)):K(e,n,r)},ue=function(e,t){p(e);var r=g(t),n=E(r).concat(me(r));return U(n,(function(t){s&&!ce.call(r,t)||le(e,t,r[t])})),e},ce=function(e){var t=v(e,!0),r=J.call(this,t);return!(this===q&&d(X,t)&&!d(Q,t))&&(!(r||!d(this,t)||!d(X,t)||d(this,B)&&this[B][t])||r)},de=function(e,t){var r=g(e),n=v(t,!0);if(r!==q||!d(X,n)||d(Q,n)){var a=Y(r,n);return!a||!d(X,n)||d(r,B)&&r[B][n]||(a.enumerable=!0),a}},fe=function(e){var t=Z(g(e)),r=[];return U(t,(function(e){d(X,e)||d(_,e)||r.push(e)})),r},me=function(e){var t=e===q,r=Z(t?Q:g(e)),n=[];return U(r,(function(e){!d(X,e)||t&&!d(q,e)||n.push(X[e])})),n};(l||(T((W=function(){if(this instanceof W)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=O(e),r=function(e){this===q&&r.call(Q,e),d(this,B)&&d(this[B],t)&&(this[B][t]=!1),ie(this,t,y(1,e))};return s&&ae&&ie(q,t,{configurable:!0,set:r}),oe(t,e)})[z],"toString",(function(){return $(this).tag})),T(W,"withoutSetter",(function(e){return oe(O(e),e)})),N.f=ce,I.f=le,C.f=de,w.f=S.f=fe,M.f=me,P.f=function(e){return oe(k(e),e)},s&&(K(W[z],"description",{configurable:!0,get:function(){return $(this).description}}),o||T(q,"propertyIsEnumerable",ce,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:W}),U(E(re),(function(e){R(e)})),n({target:V,stat:!0,forced:!l},{for:function(e){var t=String(e);if(d(ee,t))return ee[t];var r=W(t);return ee[t]=r,te[r]=t,r},keyFor:function(e){if(!se(e))throw TypeError(e+" is not a symbol");if(d(te,e))return te[e]},useSetter:function(){ae=!0},useSimple:function(){ae=!1}}),n({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(e,t){return void 0===t?b(e):ue(b(e),t)},defineProperty:le,defineProperties:ue,getOwnPropertyDescriptor:de}),n({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:fe,getOwnPropertySymbols:me}),n({target:"Object",stat:!0,forced:c((function(){M.f(1)}))},{getOwnPropertySymbols:function(e){return M.f(h(e))}}),G)&&n({target:"JSON",stat:!0,forced:!l||c((function(){var e=W();return"[null]"!=G([e])||"{}"!=G({a:e})||"{}"!=G(Object(e))}))},{stringify:function(e,t,r){for(var n,a=[e],i=1;arguments.length>i;)a.push(arguments[i++]);if(n=t,(m(t)||void 0!==e)&&!se(e))return f(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!se(t))return t}),a[1]=t,G.apply(null,a)}});W[z][j]||D(W[z],j,W[z].valueOf),F(W,V),_[B]=!0},7617:(e,t,r)=>{r(8172)},3162:(e,t,r)=>{r(6087)},2903:(e,t,r)=>{r(325)},1247:(e,t,r)=>{"use strict";var n=r(1427),a=r(9012),i=r(1668);n({target:"Promise",stat:!0},{try:function(e){var t=a.f(this),r=i(e);return(r.error?t.reject:t.resolve)(r.value),t.promise}})},8524:(e,t,r)=>{r(2610);var n=r(530),a=r(100),i=r(6262),o=r(7642),s=r(5446),l=r(3374)("toStringTag");for(var u in n){var c=a[u],d=c&&c.prototype;d&&i(d)!==l&&o(d,l,u),s[u]=s.Array}},1614:(e,t,r)=>{var n=r(1427),a=r(100),i=r(5095),o=[].slice,s=function(e){return function(t,r){var n=arguments.length>2,a=n?o.call(arguments,2):void 0;return e(n?function(){("function"==typeof t?t:Function(t)).apply(this,a)}:t,r)}};n({global:!0,bind:!0,forced:/MSIE .\./.test(i)},{setTimeout:s(a.setTimeout),setInterval:s(a.setInterval)})},8122:(e,t,r)=>{"use strict";r(2610);var n=r(1427),a=r(129),i=r(3694),o=r(3640),s=r(9335),l=r(76),u=r(5158),c=r(1026),d=r(4319),f=r(4013),m=r(4834),p=r(6262),h=r(6856),g=r(4363),v=r(6503),y=r(5988),b=r(2545),E=r(1222),w=r(3374),S=a("fetch"),M=a("Headers"),C=w("iterator"),I="URLSearchParams",N=I+"Iterator",D=c.set,T=c.getterFor(I),A=c.getterFor(N),x=/\+/g,_=Array(4),O=function(e){return _[e-1]||(_[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},k=function(e){try{return decodeURIComponent(e)}catch(t){return e}},P=function(e){var t=e.replace(x," "),r=4;try{return decodeURIComponent(t)}catch(e){for(;r;)t=t.replace(O(r--),k);return t}},R=/[!'()~]|%20/g,F={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},L=function(e){return F[e]},U=function(e){return encodeURIComponent(e).replace(R,L)},B=function(e,t){if(t)for(var r,n,a=t.split("&"),i=0;i<a.length;)(r=a[i++]).length&&(n=r.split("="),e.push({key:P(n.shift()),value:P(n.join("="))}))},V=function(e){this.entries.length=0,B(this.entries,e)},z=function(e,t){if(e<t)throw TypeError("Not enough arguments")},j=u((function(e,t){D(this,{type:N,iterator:b(T(e).entries),kind:t})}),"Iterator",(function(){var e=A(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r})),H=function(){d(this,H,I);var e,t,r,n,a,i,o,s,l,u=arguments.length>0?arguments[0]:void 0,c=[];if(D(this,{type:I,entries:c,updateURL:function(){},updateSearchParams:V}),void 0!==u)if(g(u))if("function"==typeof(e=E(u)))for(r=(t=e.call(u)).next;!(n=r.call(t)).done;){if((o=(i=(a=b(h(n.value))).next).call(a)).done||(s=i.call(a)).done||!i.call(a).done)throw TypeError("Expected sequence with length 2");c.push({key:o.value+"",value:s.value+""})}else for(l in u)f(u,l)&&c.push({key:l,value:u[l]+""});else B(c,"string"==typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},$=H.prototype;s($,{append:function(e,t){z(arguments.length,2);var r=T(this);r.entries.push({key:e+"",value:t+""}),r.updateURL()},delete:function(e){z(arguments.length,1);for(var t=T(this),r=t.entries,n=e+"",a=0;a<r.length;)r[a].key===n?r.splice(a,1):a++;t.updateURL()},get:function(e){z(arguments.length,1);for(var t=T(this).entries,r=e+"",n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){z(arguments.length,1);for(var t=T(this).entries,r=e+"",n=[],a=0;a<t.length;a++)t[a].key===r&&n.push(t[a].value);return n},has:function(e){z(arguments.length,1);for(var t=T(this).entries,r=e+"",n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){z(arguments.length,1);for(var r,n=T(this),a=n.entries,i=!1,o=e+"",s=t+"",l=0;l<a.length;l++)(r=a[l]).key===o&&(i?a.splice(l--,1):(i=!0,r.value=s));i||a.push({key:o,value:s}),n.updateURL()},sort:function(){var e,t,r,n=T(this),a=n.entries,i=a.slice();for(a.length=0,r=0;r<i.length;r++){for(e=i[r],t=0;t<r;t++)if(a[t].key>e.key){a.splice(t,0,e);break}t===r&&a.push(e)}n.updateURL()},forEach:function(e){for(var t,r=T(this).entries,n=m(e,arguments.length>1?arguments[1]:void 0,3),a=0;a<r.length;)n((t=r[a++]).value,t.key,this)},keys:function(){return new j(this,"keys")},values:function(){return new j(this,"values")},entries:function(){return new j(this,"entries")}},{enumerable:!0}),o($,C,$.entries),o($,"toString",(function(){for(var e,t=T(this).entries,r=[],n=0;n<t.length;)e=t[n++],r.push(U(e.key)+"="+U(e.value));return r.join("&")}),{enumerable:!0}),l(H,I),n({global:!0,forced:!i},{URLSearchParams:H}),i||"function"!=typeof S||"function"!=typeof M||n({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,r,n,a=[e];return arguments.length>1&&(g(t=arguments[1])&&(r=t.body,p(r)===I&&((n=t.headers?new M(t.headers):new M).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=v(t,{body:y(0,String(r)),headers:y(0,n)}))),a.push(t)),S.apply(this,a)}}),e.exports={URLSearchParams:H,getState:T}},668:(e,t,r)=>{"use strict";r(9773);var n,a=r(1427),i=r(9932),o=r(3694),s=r(100),l=r(7878),u=r(3640),c=r(4319),d=r(4013),f=r(989),m=r(9204),p=r(9413).codeAt,h=r(1899),g=r(76),v=r(8122),y=r(1026),b=s.URL,E=v.URLSearchParams,w=v.getState,S=y.set,M=y.getterFor("URL"),C=Math.floor,I=Math.pow,N="Invalid scheme",D="Invalid host",T="Invalid port",A=/[A-Za-z]/,x=/[\d+-.A-Za-z]/,_=/\d/,O=/^(0x|0X)/,k=/^[0-7]+$/,P=/^\d+$/,R=/^[\dA-Fa-f]+$/,F=/[\0\t\n\r #%/:?@[\\]]/,L=/[\0\t\n\r #/:?@[\\]]/,U=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,B=/[\t\n\r]/g,V=function(e,t){var r,n,a;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return D;if(!(r=j(t.slice(1,-1))))return D;e.host=r}else if(Z(e)){if(t=h(t),F.test(t))return D;if(null===(r=z(t)))return D;e.host=r}else{if(L.test(t))return D;for(r="",n=m(t),a=0;a<n.length;a++)r+=Y(n[a],$);e.host=r}},z=function(e){var t,r,n,a,i,o,s,l=e.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),(t=l.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(a=l[n]))return e;if(i=10,a.length>1&&"0"==a.charAt(0)&&(i=O.test(a)?16:8,a=a.slice(8==i?1:2)),""===a)o=0;else{if(!(10==i?P:8==i?k:R).test(a))return e;o=parseInt(a,i)}r.push(o)}for(n=0;n<t;n++)if(o=r[n],n==t-1){if(o>=I(256,5-t))return null}else if(o>255)return null;for(s=r.pop(),n=0;n<r.length;n++)s+=r[n]*I(256,3-n);return s},j=function(e){var t,r,n,a,i,o,s,l=[0,0,0,0,0,0,0,0],u=0,c=null,d=0,f=function(){return e.charAt(d)};if(":"==f()){if(":"!=e.charAt(1))return;d+=2,c=++u}for(;f();){if(8==u)return;if(":"!=f()){for(t=r=0;r<4&&R.test(f());)t=16*t+parseInt(f(),16),d++,r++;if("."==f()){if(0==r)return;if(d-=r,u>6)return;for(n=0;f();){if(a=null,n>0){if(!("."==f()&&n<4))return;d++}if(!_.test(f()))return;for(;_.test(f());){if(i=parseInt(f(),10),null===a)a=i;else{if(0==a)return;a=10*a+i}if(a>255)return;d++}l[u]=256*l[u]+a,2!=++n&&4!=n||u++}if(4!=n)return;break}if(":"==f()){if(d++,!f())return}else if(f())return;l[u++]=t}else{if(null!==c)return;d++,c=++u}}if(null!==c)for(o=u-c,u=7;0!=u&&o>0;)s=l[u],l[u--]=l[c+o-1],l[c+--o]=s;else if(8!=u)return;return l},H=function(e){var t,r,n,a;if("number"==typeof e){for(t=[],r=0;r<4;r++)t.unshift(e%256),e=C(e/256);return t.join(".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,a=0,i=0;i<8;i++)0!==e[i]?(a>r&&(t=n,r=a),n=null,a=0):(null===n&&(n=i),++a);return a>r&&(t=n,r=a),t}(e),r=0;r<8;r++)a&&0===e[r]||(a&&(a=!1),n===r?(t+=r?":":"::",a=!0):(t+=e[r].toString(16),r<7&&(t+=":")));return"["+t+"]"}return e},$={},q=f({},$,{" ":1,'"':1,"<":1,">":1,"`":1}),W=f({},q,{"#":1,"?":1,"{":1,"}":1}),G=f({},W,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Y=function(e,t){var r=p(e,0);return r>32&&r<127&&!d(t,e)?e:encodeURIComponent(e)},K={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Z=function(e){return d(K,e.scheme)},J=function(e){return""!=e.username||""!=e.password},X=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},Q=function(e,t){var r;return 2==e.length&&A.test(e.charAt(0))&&(":"==(r=e.charAt(1))||!t&&"|"==r)},ee=function(e){var t;return e.length>1&&Q(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},te=function(e){var t=e.path,r=t.length;!r||"file"==e.scheme&&1==r&&Q(t[0],!0)||t.pop()},re=function(e){return"."===e||"%2e"===e.toLowerCase()},ne={},ae={},ie={},oe={},se={},le={},ue={},ce={},de={},fe={},me={},pe={},he={},ge={},ve={},ye={},be={},Ee={},we={},Se={},Me={},Ce=function(e,t,r,a){var i,o,s,l,u,c=r||ne,f=0,p="",h=!1,g=!1,v=!1;for(r||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(U,"")),t=t.replace(B,""),i=m(t);f<=i.length;){switch(o=i[f],c){case ne:if(!o||!A.test(o)){if(r)return N;c=ie;continue}p+=o.toLowerCase(),c=ae;break;case ae:if(o&&(x.test(o)||"+"==o||"-"==o||"."==o))p+=o.toLowerCase();else{if(":"!=o){if(r)return N;p="",c=ie,f=0;continue}if(r&&(Z(e)!=d(K,p)||"file"==p&&(J(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=p,r)return void(Z(e)&&K[e.scheme]==e.port&&(e.port=null));p="","file"==e.scheme?c=ge:Z(e)&&a&&a.scheme==e.scheme?c=oe:Z(e)?c=ce:"/"==i[f+1]?(c=se,f++):(e.cannotBeABaseURL=!0,e.path.push(""),c=we)}break;case ie:if(!a||a.cannotBeABaseURL&&"#"!=o)return N;if(a.cannotBeABaseURL&&"#"==o){e.scheme=a.scheme,e.path=a.path.slice(),e.query=a.query,e.fragment="",e.cannotBeABaseURL=!0,c=Me;break}c="file"==a.scheme?ge:le;continue;case oe:if("/"!=o||"/"!=i[f+1]){c=le;continue}c=de,f++;break;case se:if("/"==o){c=fe;break}c=Ee;continue;case le:if(e.scheme=a.scheme,o==n)e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query=a.query;else if("/"==o||"\\"==o&&Z(e))c=ue;else if("?"==o)e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query="",c=Se;else{if("#"!=o){e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.path.pop(),c=Ee;continue}e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query=a.query,e.fragment="",c=Me}break;case ue:if(!Z(e)||"/"!=o&&"\\"!=o){if("/"!=o){e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,c=Ee;continue}c=fe}else c=de;break;case ce:if(c=de,"/"!=o||"/"!=p.charAt(f+1))continue;f++;break;case de:if("/"!=o&&"\\"!=o){c=fe;continue}break;case fe:if("@"==o){h&&(p="%40"+p),h=!0,s=m(p);for(var y=0;y<s.length;y++){var b=s[y];if(":"!=b||v){var E=Y(b,G);v?e.password+=E:e.username+=E}else v=!0}p=""}else if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&Z(e)){if(h&&""==p)return"Invalid authority";f-=m(p).length+1,p="",c=me}else p+=o;break;case me:case pe:if(r&&"file"==e.scheme){c=ye;continue}if(":"!=o||g){if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&Z(e)){if(Z(e)&&""==p)return D;if(r&&""==p&&(J(e)||null!==e.port))return;if(l=V(e,p))return l;if(p="",c=be,r)return;continue}"["==o?g=!0:"]"==o&&(g=!1),p+=o}else{if(""==p)return D;if(l=V(e,p))return l;if(p="",c=he,r==pe)return}break;case he:if(!_.test(o)){if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&Z(e)||r){if(""!=p){var w=parseInt(p,10);if(w>65535)return T;e.port=Z(e)&&w===K[e.scheme]?null:w,p=""}if(r)return;c=be;continue}return T}p+=o;break;case ge:if(e.scheme="file","/"==o||"\\"==o)c=ve;else{if(!a||"file"!=a.scheme){c=Ee;continue}if(o==n)e.host=a.host,e.path=a.path.slice(),e.query=a.query;else if("?"==o)e.host=a.host,e.path=a.path.slice(),e.query="",c=Se;else{if("#"!=o){ee(i.slice(f).join(""))||(e.host=a.host,e.path=a.path.slice(),te(e)),c=Ee;continue}e.host=a.host,e.path=a.path.slice(),e.query=a.query,e.fragment="",c=Me}}break;case ve:if("/"==o||"\\"==o){c=ye;break}a&&"file"==a.scheme&&!ee(i.slice(f).join(""))&&(Q(a.path[0],!0)?e.path.push(a.path[0]):e.host=a.host),c=Ee;continue;case ye:if(o==n||"/"==o||"\\"==o||"?"==o||"#"==o){if(!r&&Q(p))c=Ee;else if(""==p){if(e.host="",r)return;c=be}else{if(l=V(e,p))return l;if("localhost"==e.host&&(e.host=""),r)return;p="",c=be}continue}p+=o;break;case be:if(Z(e)){if(c=Ee,"/"!=o&&"\\"!=o)continue}else if(r||"?"!=o)if(r||"#"!=o){if(o!=n&&(c=Ee,"/"!=o))continue}else e.fragment="",c=Me;else e.query="",c=Se;break;case Ee:if(o==n||"/"==o||"\\"==o&&Z(e)||!r&&("?"==o||"#"==o)){if(".."===(u=(u=p).toLowerCase())||"%2e."===u||".%2e"===u||"%2e%2e"===u?(te(e),"/"==o||"\\"==o&&Z(e)||e.path.push("")):re(p)?"/"==o||"\\"==o&&Z(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&Q(p)&&(e.host&&(e.host=""),p=p.charAt(0)+":"),e.path.push(p)),p="","file"==e.scheme&&(o==n||"?"==o||"#"==o))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==o?(e.query="",c=Se):"#"==o&&(e.fragment="",c=Me)}else p+=Y(o,W);break;case we:"?"==o?(e.query="",c=Se):"#"==o?(e.fragment="",c=Me):o!=n&&(e.path[0]+=Y(o,$));break;case Se:r||"#"!=o?o!=n&&("'"==o&&Z(e)?e.query+="%27":e.query+="#"==o?"%23":Y(o,$)):(e.fragment="",c=Me);break;case Me:o!=n&&(e.fragment+=Y(o,q))}f++}},Ie=function(e){var t,r,n=c(this,Ie,"URL"),a=arguments.length>1?arguments[1]:void 0,o=String(e),s=S(n,{type:"URL"});if(void 0!==a)if(a instanceof Ie)t=M(a);else if(r=Ce(t={},String(a)))throw TypeError(r);if(r=Ce(s,o,null,t))throw TypeError(r);var l=s.searchParams=new E,u=w(l);u.updateSearchParams(s.query),u.updateURL=function(){s.query=String(l)||null},i||(n.href=De.call(n),n.origin=Te.call(n),n.protocol=Ae.call(n),n.username=xe.call(n),n.password=_e.call(n),n.host=Oe.call(n),n.hostname=ke.call(n),n.port=Pe.call(n),n.pathname=Re.call(n),n.search=Fe.call(n),n.searchParams=Le.call(n),n.hash=Ue.call(n))},Ne=Ie.prototype,De=function(){var e=M(this),t=e.scheme,r=e.username,n=e.password,a=e.host,i=e.port,o=e.path,s=e.query,l=e.fragment,u=t+":";return null!==a?(u+="//",J(e)&&(u+=r+(n?":"+n:"")+"@"),u+=H(a),null!==i&&(u+=":"+i)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?o[0]:o.length?"/"+o.join("/"):"",null!==s&&(u+="?"+s),null!==l&&(u+="#"+l),u},Te=function(){var e=M(this),t=e.scheme,r=e.port;if("blob"==t)try{return new Ie(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&Z(e)?t+"://"+H(e.host)+(null!==r?":"+r:""):"null"},Ae=function(){return M(this).scheme+":"},xe=function(){return M(this).username},_e=function(){return M(this).password},Oe=function(){var e=M(this),t=e.host,r=e.port;return null===t?"":null===r?H(t):H(t)+":"+r},ke=function(){var e=M(this).host;return null===e?"":H(e)},Pe=function(){var e=M(this).port;return null===e?"":String(e)},Re=function(){var e=M(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Fe=function(){var e=M(this).query;return e?"?"+e:""},Le=function(){return M(this).searchParams},Ue=function(){var e=M(this).fragment;return e?"#"+e:""},Be=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&l(Ne,{href:Be(De,(function(e){var t=M(this),r=String(e),n=Ce(t,r);if(n)throw TypeError(n);w(t.searchParams).updateSearchParams(t.query)})),origin:Be(Te),protocol:Be(Ae,(function(e){var t=M(this);Ce(t,String(e)+":",ne)})),username:Be(xe,(function(e){var t=M(this),r=m(String(e));if(!X(t)){t.username="";for(var n=0;n<r.length;n++)t.username+=Y(r[n],G)}})),password:Be(_e,(function(e){var t=M(this),r=m(String(e));if(!X(t)){t.password="";for(var n=0;n<r.length;n++)t.password+=Y(r[n],G)}})),host:Be(Oe,(function(e){var t=M(this);t.cannotBeABaseURL||Ce(t,String(e),me)})),hostname:Be(ke,(function(e){var t=M(this);t.cannotBeABaseURL||Ce(t,String(e),pe)})),port:Be(Pe,(function(e){var t=M(this);X(t)||(""==(e=String(e))?t.port=null:Ce(t,e,he))})),pathname:Be(Re,(function(e){var t=M(this);t.cannotBeABaseURL||(t.path=[],Ce(t,e+"",be))})),search:Be(Fe,(function(e){var t=M(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Ce(t,e,Se)),w(t.searchParams).updateSearchParams(t.query)})),searchParams:Be(Le),hash:Be(Ue,(function(e){var t=M(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Ce(t,e,Me)):t.fragment=null}))}),u(Ne,"toJSON",(function(){return De.call(this)}),{enumerable:!0}),u(Ne,"toString",(function(){return De.call(this)}),{enumerable:!0}),b){var Ve=b.createObjectURL,ze=b.revokeObjectURL;Ve&&u(Ie,"createObjectURL",(function(e){return Ve.apply(b,arguments)})),ze&&u(Ie,"revokeObjectURL",(function(e){return ze.apply(b,arguments)}))}g(Ie,"URL"),a({global:!0,forced:!o,sham:!i},{URL:Ie})},456:()=>{},9670:(e,t,r)=>{var n=r(3961);e.exports=n},4190:(e,t,r)=>{var n=r(9860);e.exports=n},1651:(e,t,r)=>{var n=r(150);e.exports=n},5821:(e,t,r)=>{var n=r(1935);e.exports=n},6224:(e,t,r)=>{var n=r(8208);e.exports=n},9074:(e,t,r)=>{var n=r(5050);e.exports=n},5480:(e,t,r)=>{var n=r(9743);e.exports=n},2910:(e,t,r)=>{var n=r(7416);e.exports=n},44:(e,t,r)=>{var n=r(1617);e.exports=n},9992:(e,t,r)=>{var n=r(7458);e.exports=n},4546:(e,t,r)=>{var n=r(6743);e.exports=n},7837:(e,t,r)=>{var n=r(2887);e.exports=n},8784:(e,t,r)=>{var n=r(2137);e.exports=n},3668:(e,t,r)=>{r(8524);var n=r(1651),a=r(6262),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.forEach;return e===i||e instanceof Array&&t===i.forEach||o.hasOwnProperty(a(e))?n:t}},6361:(e,t,r)=>{var n=r(3076);e.exports=n},1189:(e,t,r)=>{var n=r(1475);e.exports=n},8303:(e,t,r)=>{r(8524);var n=r(5821),a=r(6262),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.keys;return e===i||e instanceof Array&&t===i.keys||o.hasOwnProperty(a(e))?n:t}},113:(e,t,r)=>{var n=r(3014);e.exports=n},1740:(e,t,r)=>{var n=r(6015);e.exports=n},3228:(e,t,r)=>{var n=r(9846);e.exports=n},382:(e,t,r)=>{var n=r(7886);e.exports=n},6949:(e,t,r)=>{var n=r(1187);e.exports=n},2161:(e,t,r)=>{var n=r(6072);e.exports=n},7440:(e,t,r)=>{var n=r(8277);e.exports=n},4514:(e,t,r)=>{var n=r(7199);e.exports=n},6483:(e,t,r)=>{var n=r(7317);e.exports=n},4349:(e,t,r)=>{var n=r(3287);e.exports=n},1799:(e,t,r)=>{r(8524);var n=r(6224),a=r(6262),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.values;return e===i||e instanceof Array&&t===i.values||o.hasOwnProperty(a(e))?n:t}},2751:(e,t,r)=>{var n=r(8093);e.exports=n},3520:(e,t,r)=>{var n=r(9054);e.exports=n},5303:(e,t,r)=>{var n=r(7062);e.exports=n},7020:(e,t,r)=>{var n=r(8209);e.exports=n},1006:(e,t,r)=>{var n=r(3806);e.exports=n},1065:(e,t,r)=>{var n=r(9206);e.exports=n},6191:(e,t,r)=>{var n=r(1469);e.exports=n},6884:(e,t,r)=>{var n=r(3577);e.exports=n},3863:(e,t,r)=>{var n=r(4489);e.exports=n},7118:(e,t,r)=>{var n=r(5698);e.exports=n},858:(e,t,r)=>{var n=r(8851);e.exports=n},8404:(e,t,r)=>{var n=r(7385);e.exports=n},8430:(e,t,r)=>{var n=r(3840);e.exports=n},7926:(e,t,r)=>{var n=r(4378);e.exports=n},779:(e,t,r)=>{var n=r(1528);e.exports=n},3800:(e,t,r)=>{var n=r(806);e.exports=n},4226:(e,t,r)=>{r(1614);var n=r(2366);e.exports=n.setInterval},9594:(e,t,r)=>{r(1614);var n=r(2366);e.exports=n.setTimeout},274:(e,t,r)=>{var n=r(592);e.exports=n},3289:(e,t,r)=>{var n=r(8938);e.exports=n},592:(e,t,r)=>{r(8122);var n=r(2366);e.exports=n.URLSearchParams},8938:(e,t,r)=>{r(668),r(456),r(8122);var n=r(2366);e.exports=n.URL},6777:e=>{function t(e,t,r){var n,a,i,o,s;function l(){var u=Date.now()-o;u<t&&u>=0?n=setTimeout(l,t-u):(n=null,r||(s=e.apply(i,a),i=a=null))}null==t&&(t=100);var u=function(){i=this,a=arguments,o=Date.now();var u=r&&!n;return n||(n=setTimeout(l,t)),u&&(s=e.apply(i,a),i=a=null),s};return u.clear=function(){n&&(clearTimeout(n),n=null)},u.flush=function(){n&&(s=e.apply(i,a),i=a=null,clearTimeout(n),n=null)},u}t.debounce=t,e.exports=t},861:e=>{"use strict";var t;e.exports=(t=[0,2,4,6,8,1,3,5,7,9],function(e){if("string"!=typeof e)throw new TypeError("Expected string input");if(!e)return!1;let r,n=e.length,a=1,i=0;for(;n;)r=parseInt(e.charAt(--n),10),a^=1,i+=a?t[r]:r;return i%10==0})},2983:function(e,t,r){var n,a;!function(i,o,s){"use strict";"undefined"!=typeof window&&r.amdO?void 0===(a="function"==typeof(n=s)?n.call(t,r,t,e):n)||(e.exports=a):e.exports?e.exports=s():o.exports?o.exports=s():o.Fingerprint2=s()}(0,this,(function(){"use strict";void 0===Array.isArray&&(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var e=function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var r=[0,0,0,0];return r[3]+=e[3]+t[3],r[2]+=r[3]>>>16,r[3]&=65535,r[2]+=e[2]+t[2],r[1]+=r[2]>>>16,r[2]&=65535,r[1]+=e[1]+t[1],r[0]+=r[1]>>>16,r[1]&=65535,r[0]+=e[0]+t[0],r[0]&=65535,[r[0]<<16|r[1],r[2]<<16|r[3]]},t=function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var r=[0,0,0,0];return r[3]+=e[3]*t[3],r[2]+=r[3]>>>16,r[3]&=65535,r[2]+=e[2]*t[3],r[1]+=r[2]>>>16,r[2]&=65535,r[2]+=e[3]*t[2],r[1]+=r[2]>>>16,r[2]&=65535,r[1]+=e[1]*t[3],r[0]+=r[1]>>>16,r[1]&=65535,r[1]+=e[2]*t[2],r[0]+=r[1]>>>16,r[1]&=65535,r[1]+=e[3]*t[1],r[0]+=r[1]>>>16,r[1]&=65535,r[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],r[0]&=65535,[r[0]<<16|r[1],r[2]<<16|r[3]]},r=function(e,t){return 32===(t%=64)?[e[1],e[0]]:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:(t-=32,[e[1]<<t|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t])},n=function(e,t){return 0===(t%=64)?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]},a=function(e,t){return[e[0]^t[0],e[1]^t[1]]},i=function(e){return e=a(e,[0,e[0]>>>1]),e=t(e,[4283543511,3981806797]),e=a(e,[0,e[0]>>>1]),e=t(e,[3301882366,444984403]),e=a(e,[0,e[0]>>>1])},o=function(o,s){s=s||0;for(var l=(o=o||"").length%16,u=o.length-l,c=[0,s],d=[0,s],f=[0,0],m=[0,0],p=[2277735313,289559509],h=[1291169091,658871167],g=0;g<u;g+=16)f=[255&o.charCodeAt(g+4)|(255&o.charCodeAt(g+5))<<8|(255&o.charCodeAt(g+6))<<16|(255&o.charCodeAt(g+7))<<24,255&o.charCodeAt(g)|(255&o.charCodeAt(g+1))<<8|(255&o.charCodeAt(g+2))<<16|(255&o.charCodeAt(g+3))<<24],m=[255&o.charCodeAt(g+12)|(255&o.charCodeAt(g+13))<<8|(255&o.charCodeAt(g+14))<<16|(255&o.charCodeAt(g+15))<<24,255&o.charCodeAt(g+8)|(255&o.charCodeAt(g+9))<<8|(255&o.charCodeAt(g+10))<<16|(255&o.charCodeAt(g+11))<<24],f=t(f,p),f=r(f,31),f=t(f,h),c=a(c,f),c=r(c,27),c=e(c,d),c=e(t(c,[0,5]),[0,1390208809]),m=t(m,h),m=r(m,33),m=t(m,p),d=a(d,m),d=r(d,31),d=e(d,c),d=e(t(d,[0,5]),[0,944331445]);switch(f=[0,0],m=[0,0],l){case 15:m=a(m,n([0,o.charCodeAt(g+14)],48));case 14:m=a(m,n([0,o.charCodeAt(g+13)],40));case 13:m=a(m,n([0,o.charCodeAt(g+12)],32));case 12:m=a(m,n([0,o.charCodeAt(g+11)],24));case 11:m=a(m,n([0,o.charCodeAt(g+10)],16));case 10:m=a(m,n([0,o.charCodeAt(g+9)],8));case 9:m=a(m,[0,o.charCodeAt(g+8)]),m=t(m,h),m=r(m,33),m=t(m,p),d=a(d,m);case 8:f=a(f,n([0,o.charCodeAt(g+7)],56));case 7:f=a(f,n([0,o.charCodeAt(g+6)],48));case 6:f=a(f,n([0,o.charCodeAt(g+5)],40));case 5:f=a(f,n([0,o.charCodeAt(g+4)],32));case 4:f=a(f,n([0,o.charCodeAt(g+3)],24));case 3:f=a(f,n([0,o.charCodeAt(g+2)],16));case 2:f=a(f,n([0,o.charCodeAt(g+1)],8));case 1:f=a(f,[0,o.charCodeAt(g)]),f=t(f,p),f=r(f,31),f=t(f,h),c=a(c,f)}return c=a(c,[0,o.length]),d=a(d,[0,o.length]),c=e(c,d),d=e(d,c),c=i(c),d=i(d),c=e(c,d),d=e(d,c),("00000000"+(c[0]>>>0).toString(16)).slice(-8)+("00000000"+(c[1]>>>0).toString(16)).slice(-8)+("00000000"+(d[0]>>>0).toString(16)).slice(-8)+("00000000"+(d[1]>>>0).toString(16)).slice(-8)},s={preprocessor:null,audio:{timeout:1e3,excludeIOS11:!0},fonts:{swfContainerId:"fingerprintjs2",swfPath:"flash/compiled/FontList.swf",userDefinedFonts:[],extendedJsFonts:!1},screen:{detectScreenOrientation:!0},plugins:{sortPluginsFor:[/palemoon/i],excludeIE:!1},extraComponents:[],excludes:{enumerateDevices:!0,pixelRatio:!0,doNotTrack:!0,fontsFlash:!0,adBlock:!0},NOT_AVAILABLE:"not available",ERROR:"error",EXCLUDED:"excluded"},l=function(e,t){if(Array.prototype.forEach&&e.forEach===Array.prototype.forEach)e.forEach(t);else if(e.length===+e.length)for(var r=0,n=e.length;r<n;r++)t(e[r],r,e);else for(var a in e)e.hasOwnProperty(a)&&t(e[a],a,e)},u=function(e,t){var r=[];return null==e?r:Array.prototype.map&&e.map===Array.prototype.map?e.map(t):(l(e,(function(e,n,a){r.push(t(e,n,a))})),r)},c=function(){return navigator.mediaDevices&&navigator.mediaDevices.enumerateDevices},d=function(e){var t=[window.screen.width,window.screen.height];return e.screen.detectScreenOrientation&&t.sort().reverse(),t},f=function(e){if(window.screen.availWidth&&window.screen.availHeight){var t=[window.screen.availHeight,window.screen.availWidth];return e.screen.detectScreenOrientation&&t.sort().reverse(),t}return e.NOT_AVAILABLE},m=function(e){if(null==navigator.plugins)return e.NOT_AVAILABLE;for(var t=[],r=0,n=navigator.plugins.length;r<n;r++)navigator.plugins[r]&&t.push(navigator.plugins[r]);return h(e)&&(t=t.sort((function(e,t){return e.name>t.name?1:e.name<t.name?-1:0}))),u(t,(function(e){var t=u(e,(function(e){return[e.type,e.suffixes]}));return[e.name,e.description,t]}))},p=function(e){var t=[];if(Object.getOwnPropertyDescriptor&&Object.getOwnPropertyDescriptor(window,"ActiveXObject")||"ActiveXObject"in window){t=u(["AcroPDF.PDF","Adodb.Stream","AgControl.AgControl","DevalVRXCtrl.DevalVRXCtrl.1","MacromediaFlashPaper.MacromediaFlashPaper","Msxml2.DOMDocument","Msxml2.XMLHTTP","PDF.PdfCtrl","QuickTime.QuickTime","QuickTimeCheckObject.QuickTimeCheck.1","RealPlayer","RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)","RealVideo.RealVideo(tm) ActiveX Control (32-bit)","Scripting.Dictionary","SWCtl.SWCtl","Shell.UIHelper","ShockwaveFlash.ShockwaveFlash","Skype.Detection","TDCCtl.TDCCtl","WMPlayer.OCX","rmocx.RealPlayer G2 Control","rmocx.RealPlayer G2 Control.1"],(function(t){try{return new window.ActiveXObject(t),t}catch(t){return e.ERROR}}))}else t.push(e.NOT_AVAILABLE);return navigator.plugins&&(t=t.concat(m(e))),t},h=function(e){for(var t=!1,r=0,n=e.plugins.sortPluginsFor.length;r<n;r++){var a=e.plugins.sortPluginsFor[r];if(navigator.userAgent.match(a)){t=!0;break}}return t},g=function(e){try{return!!window.sessionStorage}catch(t){return e.ERROR}},v=function(e){try{return!!window.localStorage}catch(t){return e.ERROR}},y=function(e){if(R())return e.EXCLUDED;try{return!!window.indexedDB}catch(t){return e.ERROR}},b=function(e){return navigator.hardwareConcurrency?navigator.hardwareConcurrency:e.NOT_AVAILABLE},E=function(e){return navigator.cpuClass||e.NOT_AVAILABLE},w=function(e){return navigator.platform?navigator.platform:e.NOT_AVAILABLE},S=function(e){return navigator.doNotTrack?navigator.doNotTrack:navigator.msDoNotTrack?navigator.msDoNotTrack:window.doNotTrack?window.doNotTrack:e.NOT_AVAILABLE},M=function(){var e,t=0;void 0!==navigator.maxTouchPoints?t=navigator.maxTouchPoints:void 0!==navigator.msMaxTouchPoints&&(t=navigator.msMaxTouchPoints);try{document.createEvent("TouchEvent"),e=!0}catch(t){e=!1}return[t,e,"ontouchstart"in window]},C=function(e){var t=[],r=document.createElement("canvas");r.width=2e3,r.height=200,r.style.display="inline";var n=r.getContext("2d");return n.rect(0,0,10,10),n.rect(2,2,6,6),t.push("canvas winding:"+(!1===n.isPointInPath(5,5,"evenodd")?"yes":"no")),n.textBaseline="alphabetic",n.fillStyle="#f60",n.fillRect(125,1,62,20),n.fillStyle="#069",e.dontUseFakeFontInCanvas?n.font="11pt Arial":n.font="11pt no-real-font-123",n.fillText("Cwm fjordbank glyphs vext quiz, 😃",2,15),n.fillStyle="rgba(102, 204, 0, 0.2)",n.font="18pt Arial",n.fillText("Cwm fjordbank glyphs vext quiz, 😃",4,45),n.globalCompositeOperation="multiply",n.fillStyle="rgb(255,0,255)",n.beginPath(),n.arc(50,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(0,255,255)",n.beginPath(),n.arc(100,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,255,0)",n.beginPath(),n.arc(75,100,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,0,255)",n.arc(75,75,75,0,2*Math.PI,!0),n.arc(75,75,25,0,2*Math.PI,!0),n.fill("evenodd"),r.toDataURL&&t.push("canvas fp:"+r.toDataURL()),t},I=function(){var e,t=function(t){return e.clearColor(0,0,0,1),e.enable(e.DEPTH_TEST),e.depthFunc(e.LEQUAL),e.clear(e.COLOR_BUFFER_BIT|e.DEPTH_BUFFER_BIT),"["+t[0]+", "+t[1]+"]"};if(!(e=B()))return null;var r=[],n=e.createBuffer();e.bindBuffer(e.ARRAY_BUFFER,n);var a=new Float32Array([-.2,-.9,0,.4,-.26,0,0,.732134444,0]);e.bufferData(e.ARRAY_BUFFER,a,e.STATIC_DRAW),n.itemSize=3,n.numItems=3;var i=e.createProgram(),o=e.createShader(e.VERTEX_SHADER);e.shaderSource(o,"attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}"),e.compileShader(o);var s=e.createShader(e.FRAGMENT_SHADER);e.shaderSource(s,"precision mediump float;varying vec2 varyinTexCoordinate;void main() {gl_FragColor=vec4(varyinTexCoordinate,0,1);}"),e.compileShader(s),e.attachShader(i,o),e.attachShader(i,s),e.linkProgram(i),e.useProgram(i),i.vertexPosAttrib=e.getAttribLocation(i,"attrVertex"),i.offsetUniform=e.getUniformLocation(i,"uniformOffset"),e.enableVertexAttribArray(i.vertexPosArray),e.vertexAttribPointer(i.vertexPosAttrib,n.itemSize,e.FLOAT,!1,0,0),e.uniform2f(i.offsetUniform,1,1),e.drawArrays(e.TRIANGLE_STRIP,0,n.numItems);try{r.push(e.canvas.toDataURL())}catch(e){}r.push("extensions:"+(e.getSupportedExtensions()||[]).join(";")),r.push("webgl aliased line width range:"+t(e.getParameter(e.ALIASED_LINE_WIDTH_RANGE))),r.push("webgl aliased point size range:"+t(e.getParameter(e.ALIASED_POINT_SIZE_RANGE))),r.push("webgl alpha bits:"+e.getParameter(e.ALPHA_BITS)),r.push("webgl antialiasing:"+(e.getContextAttributes().antialias?"yes":"no")),r.push("webgl blue bits:"+e.getParameter(e.BLUE_BITS)),r.push("webgl depth bits:"+e.getParameter(e.DEPTH_BITS)),r.push("webgl green bits:"+e.getParameter(e.GREEN_BITS)),r.push("webgl max anisotropy:"+function(e){var t=e.getExtension("EXT_texture_filter_anisotropic")||e.getExtension("WEBKIT_EXT_texture_filter_anisotropic")||e.getExtension("MOZ_EXT_texture_filter_anisotropic");if(t){var r=e.getParameter(t.MAX_TEXTURE_MAX_ANISOTROPY_EXT);return 0===r&&(r=2),r}return null}(e)),r.push("webgl max combined texture image units:"+e.getParameter(e.MAX_COMBINED_TEXTURE_IMAGE_UNITS)),r.push("webgl max cube map texture size:"+e.getParameter(e.MAX_CUBE_MAP_TEXTURE_SIZE)),r.push("webgl max fragment uniform vectors:"+e.getParameter(e.MAX_FRAGMENT_UNIFORM_VECTORS)),r.push("webgl max render buffer size:"+e.getParameter(e.MAX_RENDERBUFFER_SIZE)),r.push("webgl max texture image units:"+e.getParameter(e.MAX_TEXTURE_IMAGE_UNITS)),r.push("webgl max texture size:"+e.getParameter(e.MAX_TEXTURE_SIZE)),r.push("webgl max varying vectors:"+e.getParameter(e.MAX_VARYING_VECTORS)),r.push("webgl max vertex attribs:"+e.getParameter(e.MAX_VERTEX_ATTRIBS)),r.push("webgl max vertex texture image units:"+e.getParameter(e.MAX_VERTEX_TEXTURE_IMAGE_UNITS)),r.push("webgl max vertex uniform vectors:"+e.getParameter(e.MAX_VERTEX_UNIFORM_VECTORS)),r.push("webgl max viewport dims:"+t(e.getParameter(e.MAX_VIEWPORT_DIMS))),r.push("webgl red bits:"+e.getParameter(e.RED_BITS)),r.push("webgl renderer:"+e.getParameter(e.RENDERER)),r.push("webgl shading language version:"+e.getParameter(e.SHADING_LANGUAGE_VERSION)),r.push("webgl stencil bits:"+e.getParameter(e.STENCIL_BITS)),r.push("webgl vendor:"+e.getParameter(e.VENDOR)),r.push("webgl version:"+e.getParameter(e.VERSION));try{var u=e.getExtension("WEBGL_debug_renderer_info");u&&(r.push("webgl unmasked vendor:"+e.getParameter(u.UNMASKED_VENDOR_WEBGL)),r.push("webgl unmasked renderer:"+e.getParameter(u.UNMASKED_RENDERER_WEBGL)))}catch(e){}return e.getShaderPrecisionFormat?(l(["FLOAT","INT"],(function(t){l(["VERTEX","FRAGMENT"],(function(n){l(["HIGH","MEDIUM","LOW"],(function(a){l(["precision","rangeMin","rangeMax"],(function(i){var o=e.getShaderPrecisionFormat(e[n+"_SHADER"],e[a+"_"+t])[i];"precision"!==i&&(i="precision "+i);var s=["webgl ",n.toLowerCase()," shader ",a.toLowerCase()," ",t.toLowerCase()," ",i,":",o].join("");r.push(s)}))}))}))})),V(e),r):(V(e),r)},N=function(){try{var e=B(),t=e.getExtension("WEBGL_debug_renderer_info"),r=e.getParameter(t.UNMASKED_VENDOR_WEBGL)+"~"+e.getParameter(t.UNMASKED_RENDERER_WEBGL);return V(e),r}catch(e){return null}},D=function(){var e=document.createElement("div");e.innerHTML="&nbsp;",e.className="adsbox";var t=!1;try{document.body.appendChild(e),t=0===document.getElementsByClassName("adsbox")[0].offsetHeight,document.body.removeChild(e)}catch(e){t=!1}return t},T=function(){if(void 0!==navigator.languages)try{if(navigator.languages[0].substr(0,2)!==navigator.language.substr(0,2))return!0}catch(e){return!0}return!1},A=function(){return window.screen.width<window.screen.availWidth||window.screen.height<window.screen.availHeight},x=function(){var e,t=navigator.userAgent.toLowerCase(),r=navigator.oscpu,n=navigator.platform.toLowerCase();if(e=t.indexOf("windows phone")>=0?"Windows Phone":t.indexOf("windows")>=0||t.indexOf("win16")>=0||t.indexOf("win32")>=0||t.indexOf("win64")>=0||t.indexOf("win95")>=0||t.indexOf("win98")>=0||t.indexOf("winnt")>=0||t.indexOf("wow64")>=0?"Windows":t.indexOf("android")>=0?"Android":t.indexOf("linux")>=0||t.indexOf("cros")>=0||t.indexOf("x11")>=0?"Linux":t.indexOf("iphone")>=0||t.indexOf("ipad")>=0||t.indexOf("ipod")>=0||t.indexOf("crios")>=0||t.indexOf("fxios")>=0?"iOS":t.indexOf("macintosh")>=0||t.indexOf("mac_powerpc)")>=0?"Mac":"Other",("ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0)&&"Windows"!==e&&"Windows Phone"!==e&&"Android"!==e&&"iOS"!==e&&"Other"!==e&&-1===t.indexOf("cros"))return!0;if(void 0!==r){if((r=r.toLowerCase()).indexOf("win")>=0&&"Windows"!==e&&"Windows Phone"!==e)return!0;if(r.indexOf("linux")>=0&&"Linux"!==e&&"Android"!==e)return!0;if(r.indexOf("mac")>=0&&"Mac"!==e&&"iOS"!==e)return!0;if((-1===r.indexOf("win")&&-1===r.indexOf("linux")&&-1===r.indexOf("mac"))!=("Other"===e))return!0}return n.indexOf("win")>=0&&"Windows"!==e&&"Windows Phone"!==e||((n.indexOf("linux")>=0||n.indexOf("android")>=0||n.indexOf("pike")>=0)&&"Linux"!==e&&"Android"!==e||((n.indexOf("mac")>=0||n.indexOf("ipad")>=0||n.indexOf("ipod")>=0||n.indexOf("iphone")>=0)&&"Mac"!==e&&"iOS"!==e||!(n.indexOf("arm")>=0&&"Windows Phone"===e)&&(!(n.indexOf("pike")>=0&&t.indexOf("opera mini")>=0)&&((n.indexOf("win")<0&&n.indexOf("linux")<0&&n.indexOf("mac")<0&&n.indexOf("iphone")<0&&n.indexOf("ipad")<0&&n.indexOf("ipod")<0)!==("Other"===e)||void 0===navigator.plugins&&"Windows"!==e&&"Windows Phone"!==e))))},_=function(){var e,t=navigator.userAgent.toLowerCase(),r=navigator.productSub;if(t.indexOf("edge/")>=0||t.indexOf("iemobile/")>=0)return!1;if(t.indexOf("opera mini")>=0)return!1;if(("Chrome"===(e=t.indexOf("firefox/")>=0?"Firefox":t.indexOf("opera/")>=0||t.indexOf(" opr/")>=0?"Opera":t.indexOf("chrome/")>=0?"Chrome":t.indexOf("safari/")>=0?t.indexOf("android 1.")>=0||t.indexOf("android 2.")>=0||t.indexOf("android 3.")>=0||t.indexOf("android 4.")>=0?"AOSP":"Safari":t.indexOf("trident/")>=0?"Internet Explorer":"Other")||"Safari"===e||"Opera"===e)&&"20030107"!==r)return!0;var n,a=eval.toString().length;if(37===a&&"Safari"!==e&&"Firefox"!==e&&"Other"!==e)return!0;if(39===a&&"Internet Explorer"!==e&&"Other"!==e)return!0;if(33===a&&"Chrome"!==e&&"AOSP"!==e&&"Opera"!==e&&"Other"!==e)return!0;try{throw"a"}catch(e){try{e.toSource(),n=!0}catch(e){n=!1}}return n&&"Firefox"!==e&&"Other"!==e},O=function(){var e=document.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},k=function(){if(!O())return!1;var e=B(),t=!!window.WebGLRenderingContext&&!!e;return V(e),t},P=function(){return"Microsoft Internet Explorer"===navigator.appName||!("Netscape"!==navigator.appName||!/Trident/.test(navigator.userAgent))},R=function(){return("msWriteProfilerMark"in window)+("msLaunchUri"in navigator)+("msSaveBlob"in navigator)>=2},F=function(){return void 0!==window.swfobject},L=function(){return window.swfobject.hasFlashPlayerVersion("9.0.0")},U=function(e,t){var r="___fp_swf_loaded";window[r]=function(t){e(t)};var n=t.fonts.swfContainerId;!function(e){var t=document.createElement("div");t.setAttribute("id",e.fonts.swfContainerId),document.body.appendChild(t)}();var a={onReady:r};window.swfobject.embedSWF(t.fonts.swfPath,n,"1","1","9.0.0",!1,a,{allowScriptAccess:"always",menu:"false"},{})},B=function(){var e=document.createElement("canvas"),t=null;try{t=e.getContext("webgl")||e.getContext("experimental-webgl")}catch(e){}return t||(t=null),t},V=function(e){var t=e.getExtension("WEBGL_lose_context");null!=t&&t.loseContext()},z=[{key:"userAgent",getData:function(e){e(navigator.userAgent)}},{key:"webdriver",getData:function(e,t){e(null==navigator.webdriver?t.NOT_AVAILABLE:navigator.webdriver)}},{key:"language",getData:function(e,t){e(navigator.language||navigator.userLanguage||navigator.browserLanguage||navigator.systemLanguage||t.NOT_AVAILABLE)}},{key:"colorDepth",getData:function(e,t){e(window.screen.colorDepth||t.NOT_AVAILABLE)}},{key:"deviceMemory",getData:function(e,t){e(navigator.deviceMemory||t.NOT_AVAILABLE)}},{key:"pixelRatio",getData:function(e,t){e(window.devicePixelRatio||t.NOT_AVAILABLE)}},{key:"hardwareConcurrency",getData:function(e,t){e(b(t))}},{key:"screenResolution",getData:function(e,t){e(d(t))}},{key:"availableScreenResolution",getData:function(e,t){e(f(t))}},{key:"timezoneOffset",getData:function(e){e((new Date).getTimezoneOffset())}},{key:"timezone",getData:function(e,t){window.Intl&&window.Intl.DateTimeFormat?e((new window.Intl.DateTimeFormat).resolvedOptions().timeZone||t.NOT_AVAILABLE):e(t.NOT_AVAILABLE)}},{key:"sessionStorage",getData:function(e,t){e(g(t))}},{key:"localStorage",getData:function(e,t){e(v(t))}},{key:"indexedDb",getData:function(e,t){e(y(t))}},{key:"addBehavior",getData:function(e){e(!!window.HTMLElement.prototype.addBehavior)}},{key:"openDatabase",getData:function(e){e(!!window.openDatabase)}},{key:"cpuClass",getData:function(e,t){e(E(t))}},{key:"platform",getData:function(e,t){e(w(t))}},{key:"doNotTrack",getData:function(e,t){e(S(t))}},{key:"plugins",getData:function(e,t){P()?t.plugins.excludeIE?e(t.EXCLUDED):e(p(t)):e(m(t))}},{key:"canvas",getData:function(e,t){O()?e(C(t)):e(t.NOT_AVAILABLE)}},{key:"webgl",getData:function(e,t){k()?e(I()):e(t.NOT_AVAILABLE)}},{key:"webglVendorAndRenderer",getData:function(e){k()?e(N()):e()}},{key:"adBlock",getData:function(e){e(D())}},{key:"hasLiedLanguages",getData:function(e){e(T())}},{key:"hasLiedResolution",getData:function(e){e(A())}},{key:"hasLiedOs",getData:function(e){e(x())}},{key:"hasLiedBrowser",getData:function(e){e(_())}},{key:"touchSupport",getData:function(e){e(M())}},{key:"fonts",getData:function(e,t){var r=["monospace","sans-serif","serif"],n=["Andale Mono","Arial","Arial Black","Arial Hebrew","Arial MT","Arial Narrow","Arial Rounded MT Bold","Arial Unicode MS","Bitstream Vera Sans Mono","Book Antiqua","Bookman Old Style","Calibri","Cambria","Cambria Math","Century","Century Gothic","Century Schoolbook","Comic Sans","Comic Sans MS","Consolas","Courier","Courier New","Geneva","Georgia","Helvetica","Helvetica Neue","Impact","Lucida Bright","Lucida Calligraphy","Lucida Console","Lucida Fax","LUCIDA GRANDE","Lucida Handwriting","Lucida Sans","Lucida Sans Typewriter","Lucida Sans Unicode","Microsoft Sans Serif","Monaco","Monotype Corsiva","MS Gothic","MS Outlook","MS PGothic","MS Reference Sans Serif","MS Sans Serif","MS Serif","MYRIAD","MYRIAD PRO","Palatino","Palatino Linotype","Segoe Print","Segoe Script","Segoe UI","Segoe UI Light","Segoe UI Semibold","Segoe UI Symbol","Tahoma","Times","Times New Roman","Times New Roman PS","Trebuchet MS","Verdana","Wingdings","Wingdings 2","Wingdings 3"];if(t.fonts.extendedJsFonts){n=n.concat(["Abadi MT Condensed Light","Academy Engraved LET","ADOBE CASLON PRO","Adobe Garamond","ADOBE GARAMOND PRO","Agency FB","Aharoni","Albertus Extra Bold","Albertus Medium","Algerian","Amazone BT","American Typewriter","American Typewriter Condensed","AmerType Md BT","Andalus","Angsana New","AngsanaUPC","Antique Olive","Aparajita","Apple Chancery","Apple Color Emoji","Apple SD Gothic Neo","Arabic Typesetting","ARCHER","ARNO PRO","Arrus BT","Aurora Cn BT","AvantGarde Bk BT","AvantGarde Md BT","AVENIR","Ayuthaya","Bandy","Bangla Sangam MN","Bank Gothic","BankGothic Md BT","Baskerville","Baskerville Old Face","Batang","BatangChe","Bauer Bodoni","Bauhaus 93","Bazooka","Bell MT","Bembo","Benguiat Bk BT","Berlin Sans FB","Berlin Sans FB Demi","Bernard MT Condensed","BernhardFashion BT","BernhardMod BT","Big Caslon","BinnerD","Blackadder ITC","BlairMdITC TT","Bodoni 72","Bodoni 72 Oldstyle","Bodoni 72 Smallcaps","Bodoni MT","Bodoni MT Black","Bodoni MT Condensed","Bodoni MT Poster Compressed","Bookshelf Symbol 7","Boulder","Bradley Hand","Bradley Hand ITC","Bremen Bd BT","Britannic Bold","Broadway","Browallia New","BrowalliaUPC","Brush Script MT","Californian FB","Calisto MT","Calligrapher","Candara","CaslonOpnface BT","Castellar","Centaur","Cezanne","CG Omega","CG Times","Chalkboard","Chalkboard SE","Chalkduster","Charlesworth","Charter Bd BT","Charter BT","Chaucer","ChelthmITC Bk BT","Chiller","Clarendon","Clarendon Condensed","CloisterBlack BT","Cochin","Colonna MT","Constantia","Cooper Black","Copperplate","Copperplate Gothic","Copperplate Gothic Bold","Copperplate Gothic Light","CopperplGoth Bd BT","Corbel","Cordia New","CordiaUPC","Cornerstone","Coronet","Cuckoo","Curlz MT","DaunPenh","Dauphin","David","DB LCD Temp","DELICIOUS","Denmark","DFKai-SB","Didot","DilleniaUPC","DIN","DokChampa","Dotum","DotumChe","Ebrima","Edwardian Script ITC","Elephant","English 111 Vivace BT","Engravers MT","EngraversGothic BT","Eras Bold ITC","Eras Demi ITC","Eras Light ITC","Eras Medium ITC","EucrosiaUPC","Euphemia","Euphemia UCAS","EUROSTILE","Exotc350 Bd BT","FangSong","Felix Titling","Fixedsys","FONTIN","Footlight MT Light","Forte","FrankRuehl","Fransiscan","Freefrm721 Blk BT","FreesiaUPC","Freestyle Script","French Script MT","FrnkGothITC Bk BT","Fruitger","FRUTIGER","Futura","Futura Bk BT","Futura Lt BT","Futura Md BT","Futura ZBlk BT","FuturaBlack BT","Gabriola","Galliard BT","Gautami","Geeza Pro","Geometr231 BT","Geometr231 Hv BT","Geometr231 Lt BT","GeoSlab 703 Lt BT","GeoSlab 703 XBd BT","Gigi","Gill Sans","Gill Sans MT","Gill Sans MT Condensed","Gill Sans MT Ext Condensed Bold","Gill Sans Ultra Bold","Gill Sans Ultra Bold Condensed","Gisha","Gloucester MT Extra Condensed","GOTHAM","GOTHAM BOLD","Goudy Old Style","Goudy Stout","GoudyHandtooled BT","GoudyOLSt BT","Gujarati Sangam MN","Gulim","GulimChe","Gungsuh","GungsuhChe","Gurmukhi MN","Haettenschweiler","Harlow Solid Italic","Harrington","Heather","Heiti SC","Heiti TC","HELV","Herald","High Tower Text","Hiragino Kaku Gothic ProN","Hiragino Mincho ProN","Hoefler Text","Humanst 521 Cn BT","Humanst521 BT","Humanst521 Lt BT","Imprint MT Shadow","Incised901 Bd BT","Incised901 BT","Incised901 Lt BT","INCONSOLATA","Informal Roman","Informal011 BT","INTERSTATE","IrisUPC","Iskoola Pota","JasmineUPC","Jazz LET","Jenson","Jester","Jokerman","Juice ITC","Kabel Bk BT","Kabel Ult BT","Kailasa","KaiTi","Kalinga","Kannada Sangam MN","Kartika","Kaufmann Bd BT","Kaufmann BT","Khmer UI","KodchiangUPC","Kokila","Korinna BT","Kristen ITC","Krungthep","Kunstler Script","Lao UI","Latha","Leelawadee","Letter Gothic","Levenim MT","LilyUPC","Lithograph","Lithograph Light","Long Island","Lydian BT","Magneto","Maiandra GD","Malayalam Sangam MN","Malgun Gothic","Mangal","Marigold","Marion","Marker Felt","Market","Marlett","Matisse ITC","Matura MT Script Capitals","Meiryo","Meiryo UI","Microsoft Himalaya","Microsoft JhengHei","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Uighur","Microsoft YaHei","Microsoft Yi Baiti","MingLiU","MingLiU_HKSCS","MingLiU_HKSCS-ExtB","MingLiU-ExtB","Minion","Minion Pro","Miriam","Miriam Fixed","Mistral","Modern","Modern No. 20","Mona Lisa Solid ITC TT","Mongolian Baiti","MONO","MoolBoran","Mrs Eaves","MS LineDraw","MS Mincho","MS PMincho","MS Reference Specialty","MS UI Gothic","MT Extra","MUSEO","MV Boli","Nadeem","Narkisim","NEVIS","News Gothic","News GothicMT","NewsGoth BT","Niagara Engraved","Niagara Solid","Noteworthy","NSimSun","Nyala","OCR A Extended","Old Century","Old English Text MT","Onyx","Onyx BT","OPTIMA","Oriya Sangam MN","OSAKA","OzHandicraft BT","Palace Script MT","Papyrus","Parchment","Party LET","Pegasus","Perpetua","Perpetua Titling MT","PetitaBold","Pickwick","Plantagenet Cherokee","Playbill","PMingLiU","PMingLiU-ExtB","Poor Richard","Poster","PosterBodoni BT","PRINCETOWN LET","Pristina","PTBarnum BT","Pythagoras","Raavi","Rage Italic","Ravie","Ribbon131 Bd BT","Rockwell","Rockwell Condensed","Rockwell Extra Bold","Rod","Roman","Sakkal Majalla","Santa Fe LET","Savoye LET","Sceptre","Script","Script MT Bold","SCRIPTINA","Serifa","Serifa BT","Serifa Th BT","ShelleyVolante BT","Sherwood","Shonar Bangla","Showcard Gothic","Shruti","Signboard","SILKSCREEN","SimHei","Simplified Arabic","Simplified Arabic Fixed","SimSun","SimSun-ExtB","Sinhala Sangam MN","Sketch Rockwell","Skia","Small Fonts","Snap ITC","Snell Roundhand","Socket","Souvenir Lt BT","Staccato222 BT","Steamer","Stencil","Storybook","Styllo","Subway","Swis721 BlkEx BT","Swiss911 XCm BT","Sylfaen","Synchro LET","System","Tamil Sangam MN","Technical","Teletype","Telugu Sangam MN","Tempus Sans ITC","Terminal","Thonburi","Traditional Arabic","Trajan","TRAJAN PRO","Tristan","Tubular","Tunga","Tw Cen MT","Tw Cen MT Condensed","Tw Cen MT Condensed Extra Bold","TypoUpright BT","Unicorn","Univers","Univers CE 55 Medium","Univers Condensed","Utsaah","Vagabond","Vani","Vijaya","Viner Hand ITC","VisualUI","Vivaldi","Vladimir Script","Vrinda","Westminster","WHITNEY","Wide Latin","ZapfEllipt BT","ZapfHumnst BT","ZapfHumnst Dm BT","Zapfino","Zurich BlkEx BT","Zurich Ex BT","ZWAdobeF"])}n=(n=n.concat(t.fonts.userDefinedFonts)).filter((function(e,t){return n.indexOf(e)===t}));var a=document.getElementsByTagName("body")[0],i=document.createElement("div"),o=document.createElement("div"),s={},l={},u=function(){var e=document.createElement("span");return e.style.position="absolute",e.style.left="-9999px",e.style.fontSize="72px",e.style.fontStyle="normal",e.style.fontWeight="normal",e.style.letterSpacing="normal",e.style.lineBreak="auto",e.style.lineHeight="normal",e.style.textTransform="none",e.style.textAlign="left",e.style.textDecoration="none",e.style.textShadow="none",e.style.whiteSpace="normal",e.style.wordBreak="normal",e.style.wordSpacing="normal",e.innerHTML="mmmmmmmmmmlli",e},c=function(e,t){var r=u();return r.style.fontFamily="'"+e+"',"+t,r},d=function(e){for(var t=!1,n=0;n<r.length;n++)if(t=e[n].offsetWidth!==s[r[n]]||e[n].offsetHeight!==l[r[n]])return t;return t},f=function(){for(var e=[],t=0,n=r.length;t<n;t++){var a=u();a.style.fontFamily=r[t],i.appendChild(a),e.push(a)}return e}();a.appendChild(i);for(var m=0,p=r.length;m<p;m++)s[r[m]]=f[m].offsetWidth,l[r[m]]=f[m].offsetHeight;var h=function(){for(var e={},t=0,a=n.length;t<a;t++){for(var i=[],s=0,l=r.length;s<l;s++){var u=c(n[t],r[s]);o.appendChild(u),i.push(u)}e[n[t]]=i}return e}();a.appendChild(o);for(var g=[],v=0,y=n.length;v<y;v++)d(h[n[v]])&&g.push(n[v]);a.removeChild(o),a.removeChild(i),e(g)},pauseBefore:!0},{key:"fontsFlash",getData:function(e,t){return F()?L()?t.fonts.swfPath?void U((function(t){e(t)}),t):e("missing options.fonts.swfPath"):e("flash not installed"):e("swf object not loaded")},pauseBefore:!0},{key:"audio",getData:function(e,t){var r=t.audio;if(r.excludeIOS11&&navigator.userAgent.match(/OS 11.+Version\/11.+Safari/))return e(t.EXCLUDED);var n=window.OfflineAudioContext||window.webkitOfflineAudioContext;if(null==n)return e(t.NOT_AVAILABLE);var a=new n(1,44100,44100),i=a.createOscillator();i.type="triangle",i.frequency.setValueAtTime(1e4,a.currentTime);var o=a.createDynamicsCompressor();l([["threshold",-50],["knee",40],["ratio",12],["reduction",-20],["attack",0],["release",.25]],(function(e){void 0!==o[e[0]]&&"function"==typeof o[e[0]].setValueAtTime&&o[e[0]].setValueAtTime(e[1],a.currentTime)})),i.connect(o),o.connect(a.destination),i.start(0),a.startRendering();var s=setTimeout((function(){return console.warn('Audio fingerprint timed out. Please report bug at https://github.com/fingerprintjs/fingerprintjs with your user agent: "'+navigator.userAgent+'".'),a.oncomplete=function(){},a=null,e("audioTimeout")}),r.timeout);a.oncomplete=function(t){var r;try{clearTimeout(s),r=t.renderedBuffer.getChannelData(0).slice(4500,5e3).reduce((function(e,t){return e+Math.abs(t)}),0).toString(),i.disconnect(),o.disconnect()}catch(t){return void e(t)}e(r)}}},{key:"enumerateDevices",getData:function(e,t){if(!c())return e(t.NOT_AVAILABLE);navigator.mediaDevices.enumerateDevices().then((function(t){e(t.map((function(e){return"id="+e.deviceId+";gid="+e.groupId+";"+e.kind+";"+e.label})))})).catch((function(t){e(t)}))}}],j=function(e){throw new Error("'new Fingerprint()' is deprecated, see https://github.com/fingerprintjs/fingerprintjs#upgrade-guide-from-182-to-200")};return j.get=function(e,t){t?e||(e={}):(t=e,e={}),function(e,t){if(null==t)return e;var r,n;for(n in t)null==(r=t[n])||Object.prototype.hasOwnProperty.call(e,n)||(e[n]=r)}(e,s),e.components=e.extraComponents.concat(z);var r={data:[],addPreprocessedComponent:function(t,n){"function"==typeof e.preprocessor&&(n=e.preprocessor(t,n)),r.data.push({key:t,value:n})}},n=-1,a=function(i){if((n+=1)>=e.components.length)t(r.data);else{var o=e.components[n];if(e.excludes[o.key])a(!1);else{if(!i&&o.pauseBefore)return n-=1,void setTimeout((function(){a(!0)}),1);try{o.getData((function(e){r.addPreprocessedComponent(o.key,e),a(!1)}),e)}catch(e){r.addPreprocessedComponent(o.key,String(e)),a(!1)}}}};a(!1)},j.getPromise=function(e){return new Promise((function(t,r){j.get(e,t)}))},j.getV18=function(e,t){return null==t&&(t=e,e={}),j.get(e,(function(r){for(var n=[],a=0;a<r.length;a++){var i=r[a];if(i.value===(e.NOT_AVAILABLE||"not available"))n.push({key:i.key,value:"unknown"});else if("plugins"===i.key)n.push({key:"plugins",value:u(i.value,(function(e){var t=u(e[2],(function(e){return e.join?e.join("~"):e})).join(",");return[e[0],e[1],t].join("::")}))});else if(-1!==["canvas","webgl"].indexOf(i.key)&&Array.isArray(i.value))n.push({key:i.key,value:i.value.join("~")});else if(-1!==["sessionStorage","localStorage","indexedDb","addBehavior","openDatabase"].indexOf(i.key)){if(!i.value)continue;n.push({key:i.key,value:1})}else i.value?n.push(i.value.join?{key:i.key,value:i.value.join(";")}:i):n.push({key:i.key,value:i.value})}var s=o(u(n,(function(e){return e.value})).join("~~~"),31);t(s,n)}))},j.x64hash128=o,j.VERSION="2.1.4",j}))},9602:e=>{function t(e){return e&&e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function r(e){return e}function n(e,n){const a=(n=n||{}).delimiter||".",i=n.maxDepth,o=n.transformKey||r,s={};return function e(r,l,u){u=u||1,Object.keys(r).forEach((function(c){const d=r[c],f=n.safe&&Array.isArray(d),m=Object.prototype.toString.call(d),p=t(d),h="[object Object]"===m||"[object Array]"===m,g=l?l+a+o(c):o(c);if(!f&&!p&&h&&Object.keys(d).length&&(!n.maxDepth||u<i))return e(d,g,u+1);s[g]=d}))}(e),s}e.exports=n,n.flatten=n,n.unflatten=function e(a,i){const o=(i=i||{}).delimiter||".",s=i.overwrite||!1,l=i.transformKey||r,u={};if(t(a)||"[object Object]"!==Object.prototype.toString.call(a))return a;function c(e){const t=Number(e);return isNaN(t)||-1!==e.indexOf(".")||i.object?e:t}return a=Object.keys(a).reduce((function(e,t){const r=Object.prototype.toString.call(a[t]);return!("[object Object]"===r||"[object Array]"===r)||function(e){const t=Object.prototype.toString.call(e),r="[object Array]"===t,n="[object Object]"===t;if(!e)return!0;if(r)return!e.length;if(n)return!Object.keys(e).length}(a[t])?(e[t]=a[t],e):function(e,t,r){return Object.keys(r).reduce((function(t,n){return t[e+o+n]=r[n],t}),t)}(t,e,n(a[t],i))}),{}),Object.keys(a).forEach((function(t){const r=t.split(o).map(l);let n=c(r.shift()),d=c(r[0]),f=u;for(;void 0!==d;){if("__proto__"===n)return;const e=Object.prototype.toString.call(f[n]),t="[object Object]"===e||"[object Array]"===e;if(!s&&!t&&void 0!==f[n])return;(s&&!t||!s&&null==f[n])&&(f[n]="number"!=typeof d||i.object?{}:[]),f=f[n],r.length>0&&(n=c(r.shift()),d=c(r[0]))}f[n]=e(a[t],i)})),u}},2971:(e,t,r)=>{"use strict";var n=r(2322),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?o:s[e.$$typeof]||a}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=o;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var a=m(r);a&&a!==p&&e(t,a,n)}var o=c(r);d&&(o=o.concat(d(r)));for(var s=l(t),h=l(r),g=0;g<o.length;++g){var v=o[g];if(!(i[v]||n&&n[v]||h&&h[v]||s&&s[v])){var y=f(r,v);try{u(t,v,y)}catch(e){}}}}return t}},1485:(e,t)=>{"use strict";
9
+ window.sheerIdCurrentScript=document.currentScript,window.sheerIdEs5="true",window.sheerIdPubV="1.151.0",function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.sheerid=t():e.sheerid=t()}(self,(()=>(()=>{var e,t,r,n,a={6358:(e,t,r)=>{e.exports=r(9670)},1306:(e,t,r)=>{e.exports=r(4190)},8505:(e,t,r)=>{e.exports=r(9074)},7166:(e,t,r)=>{e.exports=r(5480)},210:(e,t,r)=>{e.exports=r(2910)},2022:(e,t,r)=>{e.exports=r(44)},6937:(e,t,r)=>{e.exports=r(9992)},7917:(e,t,r)=>{e.exports=r(4546)},6812:(e,t,r)=>{e.exports=r(7837)},9423:(e,t,r)=>{e.exports=r(8784)},9154:(e,t,r)=>{e.exports=r(3668)},2814:(e,t,r)=>{e.exports=r(6361)},6426:(e,t,r)=>{e.exports=r(1189)},3104:(e,t,r)=>{e.exports=r(8303)},3106:(e,t,r)=>{e.exports=r(113)},7475:(e,t,r)=>{e.exports=r(1740)},6569:(e,t,r)=>{e.exports=r(3228)},1639:(e,t,r)=>{e.exports=r(382)},3944:(e,t,r)=>{e.exports=r(6949)},2021:(e,t,r)=>{e.exports=r(2161)},6954:(e,t,r)=>{e.exports=r(7440)},8520:(e,t,r)=>{e.exports=r(4514)},3049:(e,t,r)=>{e.exports=r(6483)},8903:(e,t,r)=>{e.exports=r(4349)},8675:(e,t,r)=>{e.exports=r(1799)},6534:(e,t,r)=>{e.exports=r(2751)},1666:(e,t,r)=>{e.exports=r(3520)},1671:(e,t,r)=>{e.exports=r(5303)},1057:(e,t,r)=>{e.exports=r(7020)},9910:(e,t,r)=>{e.exports=r(1006)},3537:(e,t,r)=>{e.exports=r(1065)},944:(e,t,r)=>{e.exports=r(6191)},249:(e,t,r)=>{e.exports=r(6884)},6905:(e,t,r)=>{e.exports=r(3863)},3029:(e,t,r)=>{e.exports=r(7118)},6500:(e,t,r)=>{e.exports=r(858)},3567:(e,t,r)=>{e.exports=r(8404)},8818:(e,t,r)=>{e.exports=r(8430)},3371:(e,t,r)=>{e.exports=r(7926)},8338:(e,t,r)=>{e.exports=r(779)},9683:(e,t,r)=>{e.exports=r(3800)},2035:(e,t,r)=>{e.exports=r(4226)},2665:(e,t,r)=>{e.exports=r(9594)},2486:(e,t,r)=>{e.exports=r(274)},9469:(e,t,r)=>{e.exports=r(3289)},1245:(e,t,r)=>{e.exports=r(5705)},1652:(e,t,r)=>{e.exports=r(34)},6709:(e,t,r)=>{e.exports=r(8566)},8897:(e,t,r)=>{e.exports=r(6218)},7347:(e,t,r)=>{e.exports=r(6753)},2334:(e,t,r)=>{e.exports=r(5580)},8801:(e,t)=>{"use strict";t.Z=function(e,t){if(e&&t){var r=Array.isArray(t)?t:t.split(","),n=e.name||"",a=(e.type||"").toLowerCase(),i=a.replace(/\/.*$/,"");return r.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?n.toLowerCase().endsWith(t):t.endsWith("/*")?i===t.replace(/\/.*$/,""):a===t}))}return!0}},3305:e=>{var t=function(){"use strict";function e(e,t){return null!=t&&e instanceof t}var t,r,n;try{t=Map}catch(e){t=function(){}}try{r=Set}catch(e){r=function(){}}try{n=Promise}catch(e){n=function(){}}function a(i,s,l,u,c){"object"==typeof s&&(l=s.depth,u=s.prototype,c=s.includeNonEnumerable,s=s.circular);var d=[],f=[],m="undefined"!=typeof Buffer;return void 0===s&&(s=!0),void 0===l&&(l=1/0),function i(l,p){if(null===l)return null;if(0===p)return l;var h,g;if("object"!=typeof l)return l;if(e(l,t))h=new t;else if(e(l,r))h=new r;else if(e(l,n))h=new n((function(e,t){l.then((function(t){e(i(t,p-1))}),(function(e){t(i(e,p-1))}))}));else if(a.__isArray(l))h=[];else if(a.__isRegExp(l))h=new RegExp(l.source,o(l)),l.lastIndex&&(h.lastIndex=l.lastIndex);else if(a.__isDate(l))h=new Date(l.getTime());else{if(m&&Buffer.isBuffer(l))return h=Buffer.allocUnsafe?Buffer.allocUnsafe(l.length):new Buffer(l.length),l.copy(h),h;e(l,Error)?h=Object.create(l):void 0===u?(g=Object.getPrototypeOf(l),h=Object.create(g)):(h=Object.create(u),g=u)}if(s){var v=d.indexOf(l);if(-1!=v)return f[v];d.push(l),f.push(h)}for(var y in e(l,t)&&l.forEach((function(e,t){var r=i(t,p-1),n=i(e,p-1);h.set(r,n)})),e(l,r)&&l.forEach((function(e){var t=i(e,p-1);h.add(t)})),l){var b;g&&(b=Object.getOwnPropertyDescriptor(g,y)),b&&null==b.set||(h[y]=i(l[y],p-1))}if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(l);for(y=0;y<E.length;y++){var w=E[y];(!(M=Object.getOwnPropertyDescriptor(l,w))||M.enumerable||c)&&(h[w]=i(l[w],p-1),M.enumerable||Object.defineProperty(h,w,{enumerable:!1}))}}if(c){var S=Object.getOwnPropertyNames(l);for(y=0;y<S.length;y++){var M,C=S[y];(M=Object.getOwnPropertyDescriptor(l,C))&&M.enumerable||(h[C]=i(l[C],p-1),Object.defineProperty(h,C,{enumerable:!1}))}}return h}(i,l)}function i(e){return Object.prototype.toString.call(e)}function o(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return a.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},a.__objToStr=i,a.__isDate=function(e){return"object"==typeof e&&"[object Date]"===i(e)},a.__isArray=function(e){return"object"==typeof e&&"[object Array]"===i(e)},a.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===i(e)},a.__getRegExpFlags=o,a}();e.exports&&(e.exports=t)},2409:(e,t,r)=>{"use strict";var n=r(6943),a={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var r,i,o,s,l,u,c=!1;t||(t={}),r=t.debug||!1;try{if(o=n(),s=document.createRange(),l=document.getSelection(),(u=document.createElement("span")).textContent=e,u.style.all="unset",u.style.position="fixed",u.style.top=0,u.style.clip="rect(0, 0, 0, 0)",u.style.whiteSpace="pre",u.style.webkitUserSelect="text",u.style.MozUserSelect="text",u.style.msUserSelect="text",u.style.userSelect="text",u.addEventListener("copy",(function(n){if(n.stopPropagation(),t.format)if(n.preventDefault(),void 0===n.clipboardData){r&&console.warn("unable to use e.clipboardData"),r&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=a[t.format]||a.default;window.clipboardData.setData(i,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e);t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))})),document.body.appendChild(u),s.selectNodeContents(u),l.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");c=!0}catch(n){r&&console.error("unable to copy using execCommand: ",n),r&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),c=!0}catch(n){r&&console.error("unable to copy using clipboardData: ",n),r&&console.error("falling back to prompt"),i=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(i,e)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(s):l.removeAllRanges()),u&&document.body.removeChild(u),o()}return c}},3961:(e,t,r)=>{r(9773),r(4702);var n=r(2366);e.exports=n.Array.from},9860:(e,t,r)=>{r(8982);var n=r(2366);e.exports=n.Array.isArray},1985:(e,t,r)=>{r(5802);var n=r(9360);e.exports=n("Array").concat},7956:(e,t,r)=>{r(5239);var n=r(9360);e.exports=n("Array").every},1972:(e,t,r)=>{r(1308);var n=r(9360);e.exports=n("Array").fill},9489:(e,t,r)=>{r(8830);var n=r(9360);e.exports=n("Array").filter},7641:(e,t,r)=>{r(8901);var n=r(9360);e.exports=n("Array").findIndex},2851:(e,t,r)=>{r(2283);var n=r(9360);e.exports=n("Array").find},150:(e,t,r)=>{r(4739);var n=r(9360);e.exports=n("Array").forEach},5296:(e,t,r)=>{r(9113);var n=r(9360);e.exports=n("Array").includes},2858:(e,t,r)=>{r(8165);var n=r(9360);e.exports=n("Array").indexOf},1935:(e,t,r)=>{r(2610);var n=r(9360);e.exports=n("Array").keys},6050:(e,t,r)=>{r(3575);var n=r(9360);e.exports=n("Array").lastIndexOf},550:(e,t,r)=>{r(9731);var n=r(9360);e.exports=n("Array").map},8866:(e,t,r)=>{r(3919);var n=r(9360);e.exports=n("Array").reduce},6375:(e,t,r)=>{r(2074);var n=r(9360);e.exports=n("Array").reverse},4220:(e,t,r)=>{r(333);var n=r(9360);e.exports=n("Array").slice},5640:(e,t,r)=>{r(7412);var n=r(9360);e.exports=n("Array").some},5789:(e,t,r)=>{r(3064);var n=r(9360);e.exports=n("Array").sort},2950:(e,t,r)=>{r(4722);var n=r(9360);e.exports=n("Array").splice},8208:(e,t,r)=>{r(2610);var n=r(9360);e.exports=n("Array").values},5050:(e,t,r)=>{r(6664);var n=r(2366);e.exports=n.Date.now},7433:(e,t,r)=>{r(7778);var n=r(9360);e.exports=n("Function").bind},9743:(e,t,r)=>{var n=r(7433),a=Function.prototype;e.exports=function(e){var t=e.bind;return e===a||e instanceof Function&&t===a.bind?n:t}},7416:(e,t,r)=>{var n=r(1985),a=Array.prototype;e.exports=function(e){var t=e.concat;return e===a||e instanceof Array&&t===a.concat?n:t}},1617:(e,t,r)=>{var n=r(7956),a=Array.prototype;e.exports=function(e){var t=e.every;return e===a||e instanceof Array&&t===a.every?n:t}},7458:(e,t,r)=>{var n=r(1972),a=Array.prototype;e.exports=function(e){var t=e.fill;return e===a||e instanceof Array&&t===a.fill?n:t}},6743:(e,t,r)=>{var n=r(9489),a=Array.prototype;e.exports=function(e){var t=e.filter;return e===a||e instanceof Array&&t===a.filter?n:t}},2887:(e,t,r)=>{var n=r(7641),a=Array.prototype;e.exports=function(e){var t=e.findIndex;return e===a||e instanceof Array&&t===a.findIndex?n:t}},2137:(e,t,r)=>{var n=r(2851),a=Array.prototype;e.exports=function(e){var t=e.find;return e===a||e instanceof Array&&t===a.find?n:t}},3076:(e,t,r)=>{var n=r(5296),a=r(4368),i=Array.prototype,o=String.prototype;e.exports=function(e){var t=e.includes;return e===i||e instanceof Array&&t===i.includes?n:"string"==typeof e||e===o||e instanceof String&&t===o.includes?a:t}},1475:(e,t,r)=>{var n=r(2858),a=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===a||e instanceof Array&&t===a.indexOf?n:t}},3014:(e,t,r)=>{var n=r(6050),a=Array.prototype;e.exports=function(e){var t=e.lastIndexOf;return e===a||e instanceof Array&&t===a.lastIndexOf?n:t}},6015:(e,t,r)=>{var n=r(550),a=Array.prototype;e.exports=function(e){var t=e.map;return e===a||e instanceof Array&&t===a.map?n:t}},9846:(e,t,r)=>{var n=r(8866),a=Array.prototype;e.exports=function(e){var t=e.reduce;return e===a||e instanceof Array&&t===a.reduce?n:t}},7886:(e,t,r)=>{var n=r(6375),a=Array.prototype;e.exports=function(e){var t=e.reverse;return e===a||e instanceof Array&&t===a.reverse?n:t}},1187:(e,t,r)=>{var n=r(4220),a=Array.prototype;e.exports=function(e){var t=e.slice;return e===a||e instanceof Array&&t===a.slice?n:t}},6072:(e,t,r)=>{var n=r(5640),a=Array.prototype;e.exports=function(e){var t=e.some;return e===a||e instanceof Array&&t===a.some?n:t}},8277:(e,t,r)=>{var n=r(5789),a=Array.prototype;e.exports=function(e){var t=e.sort;return e===a||e instanceof Array&&t===a.sort?n:t}},7199:(e,t,r)=>{var n=r(2950),a=Array.prototype;e.exports=function(e){var t=e.splice;return e===a||e instanceof Array&&t===a.splice?n:t}},7317:(e,t,r)=>{var n=r(3903),a=String.prototype;e.exports=function(e){var t=e.startsWith;return"string"==typeof e||e===a||e instanceof String&&t===a.startsWith?n:t}},3287:(e,t,r)=>{var n=r(5308),a=String.prototype;e.exports=function(e){var t=e.trim;return"string"==typeof e||e===a||e instanceof String&&t===a.trim?n:t}},8093:(e,t,r)=>{r(3927);var n=r(2366);n.JSON||(n.JSON={stringify:JSON.stringify}),e.exports=function(e,t,r){return n.JSON.stringify.apply(null,arguments)}},9054:(e,t,r)=>{r(9065),r(6095),r(9773),r(8524);var n=r(2366);e.exports=n.Map},7062:(e,t,r)=>{r(9369);var n=r(2366);e.exports=n.Number.isNaN},8209:(e,t,r)=>{r(6194);var n=r(2366);e.exports=n.Number.parseInt},3806:(e,t,r)=>{r(5679);var n=r(2366);e.exports=n.Object.assign},9206:(e,t,r)=>{r(2880);var n=r(2366).Object,a=e.exports=function(e,t){return n.defineProperties(e,t)};n.defineProperties.sham&&(a.sham=!0)},1469:(e,t,r)=>{r(8393);var n=r(2366).Object,a=e.exports=function(e,t,r){return n.defineProperty(e,t,r)};n.defineProperty.sham&&(a.sham=!0)},3577:(e,t,r)=>{r(4711);var n=r(2366);e.exports=n.Object.entries},4489:(e,t,r)=>{r(1685);var n=r(2366);e.exports=n.Object.freeze},5698:(e,t,r)=>{r(5985);var n=r(2366).Object,a=e.exports=function(e,t){return n.getOwnPropertyDescriptor(e,t)};n.getOwnPropertyDescriptor.sham&&(a.sham=!0)},8851:(e,t,r)=>{r(5780);var n=r(2366);e.exports=n.Object.getOwnPropertyDescriptors},7385:(e,t,r)=>{r(1174);var n=r(2366);e.exports=n.Object.getOwnPropertySymbols},3840:(e,t,r)=>{r(7731);var n=r(2366);e.exports=n.Object.keys},4378:(e,t,r)=>{r(1814);var n=r(2366);e.exports=n.Object.values},1528:(e,t,r)=>{r(270);var n=r(2366);e.exports=n.parseInt},806:(e,t,r)=>{r(8172),r(6095),r(8493),r(6087),r(325),r(7089),r(9773),r(8524);var n=r(2366);e.exports=n.Promise},4368:(e,t,r)=>{r(8820);var n=r(9360);e.exports=n("String").includes},3903:(e,t,r)=>{r(9734);var n=r(9360);e.exports=n("String").startsWith},5308:(e,t,r)=>{r(5681);var n=r(9360);e.exports=n("String").trim},5705:(e,t,r)=>{var n=r(1475);e.exports=n},34:(e,t,r)=>{var n=r(3806);e.exports=n},8566:(e,t,r)=>{var n=r(1469);e.exports=n},6218:(e,t,r)=>{var n=r(7385);e.exports=n},6753:(e,t,r)=>{var n=r(3840);e.exports=n},5580:(e,t,r)=>{var n=r(806);r(7617),r(3162),r(1247),r(2903),e.exports=n},6421:e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},9245:(e,t,r)=>{var n=r(4363);e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},7479:e=>{e.exports=function(){}},4319:e=>{e.exports=function(e,t,r){if(!(e instanceof t))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return e}},6856:(e,t,r)=>{var n=r(4363);e.exports=function(e){if(!n(e))throw TypeError(String(e)+" is not an object");return e}},1159:(e,t,r)=>{"use strict";var n=r(6298),a=r(4488),i=r(358);e.exports=function(e){for(var t=n(this),r=i(t.length),o=arguments.length,s=a(o>1?arguments[1]:void 0,r),l=o>2?arguments[2]:void 0,u=void 0===l?r:a(l,r);u>s;)t[s++]=e;return t}},3878:(e,t,r)=>{"use strict";var n=r(2865).forEach,a=r(4760)("forEach");e.exports=a?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},9204:(e,t,r)=>{"use strict";var n=r(4834),a=r(6298),i=r(5449),o=r(688),s=r(358),l=r(5453),u=r(1222);e.exports=function(e){var t,r,c,d,f,m,p=a(e),h="function"==typeof this?this:Array,g=arguments.length,v=g>1?arguments[1]:void 0,y=void 0!==v,b=u(p),E=0;if(y&&(v=n(v,g>2?arguments[2]:void 0,2)),null==b||h==Array&&o(b))for(r=new h(t=s(p.length));t>E;E++)m=y?v(p[E],E):p[E],l(r,E,m);else for(f=(d=b.call(p)).next,r=new h;!(c=f.call(d)).done;E++)m=y?i(d,v,[c.value,E],!0):c.value,l(r,E,m);return r.length=E,r}},9331:(e,t,r)=>{var n=r(2889),a=r(358),i=r(4488),o=function(e){return function(t,r,o){var s,l=n(t),u=a(l.length),c=i(o,u);if(e&&r!=r){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===r)return e||c||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},2865:(e,t,r)=>{var n=r(4834),a=r(3883),i=r(6298),o=r(358),s=r(9293),l=[].push,u=function(e){var t=1==e,r=2==e,u=3==e,c=4==e,d=6==e,f=7==e,m=5==e||d;return function(p,h,g,v){for(var y,b,E=i(p),w=a(E),S=n(h,g,3),M=o(w.length),C=0,I=v||s,N=t?I(p,M):r||f?I(p,0):void 0;M>C;C++)if((m||C in w)&&(b=S(y=w[C],C,E),e))if(t)N[C]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return C;case 2:l.call(N,y)}else switch(e){case 4:return!1;case 7:l.call(N,y)}return d?-1:u||c?c:N}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},4333:(e,t,r)=>{"use strict";var n=r(2889),a=r(8289),i=r(358),o=r(4760),s=Math.min,l=[].lastIndexOf,u=!!l&&1/[1].lastIndexOf(1,-0)<0,c=o("lastIndexOf"),d=u||!c;e.exports=d?function(e){if(u)return l.apply(this,arguments)||0;var t=n(this),r=i(t.length),o=r-1;for(arguments.length>1&&(o=s(o,a(arguments[1]))),o<0&&(o=r+o);o>=0;o--)if(o in t&&t[o]===e)return o||0;return-1}:l},1975:(e,t,r)=>{var n=r(9978),a=r(3374),i=r(8720),o=a("species");e.exports=function(e){return i>=51||!n((function(){var t=[];return(t.constructor={})[o]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},4760:(e,t,r)=>{"use strict";var n=r(9978);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){throw 1},1)}))}},6519:(e,t,r)=>{var n=r(6421),a=r(6298),i=r(3883),o=r(358),s=function(e){return function(t,r,s,l){n(r);var u=a(t),c=i(u),d=o(u.length),f=e?d-1:0,m=e?-1:1;if(s<2)for(;;){if(f in c){l=c[f],f+=m;break}if(f+=m,e?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;e?f>=0:d>f;f+=m)f in c&&(l=r(l,c[f],f,u));return l}};e.exports={left:s(!1),right:s(!0)}},1718:e=>{var t=Math.floor,r=function(e,i){var o=e.length,s=t(o/2);return o<8?n(e,i):a(r(e.slice(0,s),i),r(e.slice(s),i),i)},n=function(e,t){for(var r,n,a=e.length,i=1;i<a;){for(n=i,r=e[i];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==i++&&(e[n]=r)}return e},a=function(e,t,r){for(var n=e.length,a=t.length,i=0,o=0,s=[];i<n||o<a;)i<n&&o<a?s.push(r(e[i],t[o])<=0?e[i++]:t[o++]):s.push(i<n?e[i++]:t[o++]);return s};e.exports=r},9293:(e,t,r)=>{var n=r(4363),a=r(8358),i=r(3374)("species");e.exports=function(e,t){var r;return a(e)&&("function"!=typeof(r=e.constructor)||r!==Array&&!a(r.prototype)?n(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===t?0:t)}},5449:(e,t,r)=>{var n=r(6856),a=r(6021);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){throw a(e),t}}},4863:(e,t,r)=>{var n=r(3374)("iterator"),a=!1;try{var i=0,o={next:function(){return{done:!!i++}},return:function(){a=!0}};o[n]=function(){return this},Array.from(o,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!a)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},e(i)}catch(e){}return r}},7362:e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},6262:(e,t,r)=>{var n=r(2434),a=r(7362),i=r(3374)("toStringTag"),o="Arguments"==a(function(){return arguments}());e.exports=n?a:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?r:o?a(t):"Object"==(n=a(t))&&"function"==typeof t.callee?"Arguments":n}},221:(e,t,r)=>{"use strict";var n=r(9577).f,a=r(6503),i=r(9335),o=r(4834),s=r(4319),l=r(8839),u=r(4884),c=r(3609),d=r(9932),f=r(3120).fastKey,m=r(1026),p=m.set,h=m.getterFor;e.exports={getConstructor:function(e,t,r,u){var c=e((function(e,n){s(e,c,t),p(e,{type:t,index:a(null),first:void 0,last:void 0,size:0}),d||(e.size=0),null!=n&&l(n,e[u],{that:e,AS_ENTRIES:r})})),m=h(t),g=function(e,t,r){var n,a,i=m(e),o=v(e,t);return o?o.value=r:(i.last=o={index:a=f(t,!0),key:t,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=o),n&&(n.next=o),d?i.size++:e.size++,"F"!==a&&(i.index[a]=o)),e},v=function(e,t){var r,n=m(e),a=f(t);if("F"!==a)return n.index[a];for(r=n.first;r;r=r.next)if(r.key==t)return r};return i(c.prototype,{clear:function(){for(var e=m(this),t=e.index,r=e.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete t[r.index],r=r.next;e.first=e.last=void 0,d?e.size=0:this.size=0},delete:function(e){var t=this,r=m(t),n=v(t,e);if(n){var a=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=a),a&&(a.previous=i),r.first==n&&(r.first=a),r.last==n&&(r.last=i),d?r.size--:t.size--}return!!n},forEach:function(e){for(var t,r=m(this),n=o(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:r.first;)for(n(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!v(this,e)}}),i(c.prototype,r?{get:function(e){var t=v(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),d&&n(c.prototype,"size",{get:function(){return m(this).size}}),c},setStrong:function(e,t,r){var n=t+" Iterator",a=h(t),i=h(n);u(e,t,(function(e,t){p(this,{type:n,target:e,state:a(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,r=e.last;r&&r.removed;)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?"keys"==t?{value:r.key,done:!1}:"values"==t?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),c(t)}}},440:(e,t,r)=>{"use strict";var n=r(1427),a=r(100),i=r(3120),o=r(9978),s=r(7642),l=r(8839),u=r(4319),c=r(4363),d=r(76),f=r(9577).f,m=r(2865).forEach,p=r(9932),h=r(1026),g=h.set,v=h.getterFor;e.exports=function(e,t,r){var h,y=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),E=y?"set":"add",w=a[e],S=w&&w.prototype,M={};if(p&&"function"==typeof w&&(b||S.forEach&&!o((function(){(new w).entries().next()})))){h=t((function(t,r){g(u(t,h,e),{type:e,collection:new w}),null!=r&&l(r,t[E],{that:t,AS_ENTRIES:y})}));var C=v(e);m(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(e){var t="add"==e||"set"==e;!(e in S)||b&&"clear"==e||s(h.prototype,e,(function(r,n){var a=C(this).collection;if(!t&&b&&!c(r))return"get"==e&&void 0;var i=a[e](0===r?0:r,n);return t?this:i}))})),b||f(h.prototype,"size",{configurable:!0,get:function(){return C(this).collection.size}})}else h=r.getConstructor(t,e,y,E),i.REQUIRED=!0;return d(h,e,!1,!0),M[e]=h,n({global:!0,forced:!0},M),b||r.setStrong(h,e,y),h}},2373:(e,t,r)=>{var n=r(3374)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,"/./"[e](t)}catch(e){}}return!1}},9991:(e,t,r)=>{var n=r(9978);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},5158:(e,t,r)=>{"use strict";var n=r(8132).IteratorPrototype,a=r(6503),i=r(5988),o=r(76),s=r(5446),l=function(){return this};e.exports=function(e,t,r){var u=t+" Iterator";return e.prototype=a(n,{next:i(1,r)}),o(e,u,!1,!0),s[u]=l,e}},7642:(e,t,r)=>{var n=r(9932),a=r(9577),i=r(5988);e.exports=n?function(e,t,r){return a.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},5988:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},5453:(e,t,r)=>{"use strict";var n=r(4490),a=r(9577),i=r(5988);e.exports=function(e,t,r){var o=n(t);o in e?a.f(e,o,i(0,r)):e[o]=r}},4884:(e,t,r)=>{"use strict";var n=r(1427),a=r(5158),i=r(351),o=r(3276),s=r(76),l=r(7642),u=r(3640),c=r(3374),d=r(9814),f=r(5446),m=r(8132),p=m.IteratorPrototype,h=m.BUGGY_SAFARI_ITERATORS,g=c("iterator"),v="keys",y="values",b="entries",E=function(){return this};e.exports=function(e,t,r,c,m,w,S){a(r,t,c);var M,C,I,N=function(e){if(e===m&&_)return _;if(!h&&e in A)return A[e];switch(e){case v:case y:case b:return function(){return new r(this,e)}}return function(){return new r(this)}},D=t+" Iterator",T=!1,A=e.prototype,x=A[g]||A["@@iterator"]||m&&A[m],_=!h&&x||N(m),O="Array"==t&&A.entries||x;if(O&&(M=i(O.call(new e)),p!==Object.prototype&&M.next&&(d||i(M)===p||(o?o(M,p):"function"!=typeof M[g]&&l(M,g,E)),s(M,D,!0,!0),d&&(f[D]=E))),m==y&&x&&x.name!==y&&(T=!0,_=function(){return x.call(this)}),d&&!S||A[g]===_||l(A,g,_),f[t]=_,m)if(C={values:N(y),keys:w?_:N(v),entries:N(b)},S)for(I in C)(h||T||!(I in A))&&u(A,I,C[I]);else n({target:t,proto:!0,forced:h||T},C);return C}},6836:(e,t,r)=>{var n=r(2366),a=r(4013),i=r(8444),o=r(9577).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});a(t,e)||o(t,e,{value:i.f(e)})}},9932:(e,t,r)=>{var n=r(9978);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},1112:(e,t,r)=>{var n=r(100),a=r(4363),i=n.document,o=a(i)&&a(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},530:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},6244:(e,t,r)=>{var n=r(5095).match(/firefox\/(\d+)/i);e.exports=!!n&&+n[1]},8061:e=>{e.exports="object"==typeof window},1824:(e,t,r)=>{var n=r(5095);e.exports=/MSIE|Trident/.test(n)},5601:(e,t,r)=>{var n=r(5095);e.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(n)},1663:(e,t,r)=>{var n=r(7362),a=r(100);e.exports="process"==n(a.process)},4062:(e,t,r)=>{var n=r(5095);e.exports=/web0s(?!.*chrome)/i.test(n)},5095:(e,t,r)=>{var n=r(129);e.exports=n("navigator","userAgent")||""},8720:(e,t,r)=>{var n,a,i=r(100),o=r(5095),s=i.process,l=s&&s.versions,u=l&&l.v8;u?a=(n=u.split("."))[0]<4?1:n[0]+n[1]:o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(a=n[1]),e.exports=a&&+a},6919:(e,t,r)=>{var n=r(5095).match(/AppleWebKit\/(\d+)\./);e.exports=!!n&&+n[1]},9360:(e,t,r)=>{var n=r(2366);e.exports=function(e){return n[e+"Prototype"]}},3513:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1427:(e,t,r)=>{"use strict";var n=r(100),a=r(4498).f,i=r(608),o=r(2366),s=r(4834),l=r(7642),u=r(4013),c=function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var r,d,f,m,p,h,g,v,y=e.target,b=e.global,E=e.stat,w=e.proto,S=b?n:E?n[y]:(n[y]||{}).prototype,M=b?o:o[y]||(o[y]={}),C=M.prototype;for(f in t)r=!i(b?f:y+(E?".":"#")+f,e.forced)&&S&&u(S,f),p=M[f],r&&(h=e.noTargetGet?(v=a(S,f))&&v.value:S[f]),m=r&&h?h:t[f],r&&typeof p==typeof m||(g=e.bind&&r?s(m,n):e.wrap&&r?c(m):w&&"function"==typeof m?s(Function.call,m):m,(e.sham||m&&m.sham||p&&p.sham)&&l(g,"sham",!0),M[f]=g,w&&(u(o,d=y+"Prototype")||l(o,d,{}),o[d][f]=m,e.real&&C&&!C[f]&&l(C,f,m)))}},9978:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},1609:(e,t,r)=>{var n=r(9978);e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},4834:(e,t,r)=>{var n=r(6421);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,a){return e.call(t,r,n,a)}}return function(){return e.apply(t,arguments)}}},4677:(e,t,r)=>{"use strict";var n=r(6421),a=r(4363),i=[].slice,o={};e.exports=Function.bind||function(e){var t=n(this),r=i.call(arguments,1),s=function(){var n=r.concat(i.call(arguments));return this instanceof s?function(e,t,r){if(!(t in o)){for(var n=[],a=0;a<t;a++)n[a]="a["+a+"]";o[t]=Function("C,a","return new C("+n.join(",")+")")}return o[t](e,r)}(t,n.length,n):t.apply(e,n)};return a(t.prototype)&&(s.prototype=t.prototype),s}},129:(e,t,r)=>{var n=r(2366),a=r(100),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e])||i(a[e]):n[e]&&n[e][t]||a[e]&&a[e][t]}},1222:(e,t,r)=>{var n=r(6262),a=r(5446),i=r(3374)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||a[n(e)]}},2545:(e,t,r)=>{var n=r(6856),a=r(1222);e.exports=function(e){var t=a(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return n(t.call(e))}},100:(e,t,r)=>{var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},4013:(e,t,r)=>{var n=r(6298),a={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return a.call(n(e),t)}},9658:e=>{e.exports={}},9792:(e,t,r)=>{var n=r(100);e.exports=function(e,t){var r=n.console;r&&r.error&&(1===arguments.length?r.error(e):r.error(e,t))}},7180:(e,t,r)=>{var n=r(129);e.exports=n("document","documentElement")},9265:(e,t,r)=>{var n=r(9932),a=r(9978),i=r(1112);e.exports=!n&&!a((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},3883:(e,t,r)=>{var n=r(9978),a=r(7362),i="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?i.call(e,""):Object(e)}:Object},3417:(e,t,r)=>{var n=r(7758),a=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return a.call(e)}),e.exports=n.inspectSource},3120:(e,t,r)=>{var n=r(9658),a=r(4363),i=r(4013),o=r(9577).f,s=r(3278),l=r(1609),u=s("meta"),c=0,d=Object.isExtensible||function(){return!0},f=function(e){o(e,u,{value:{objectID:"O"+ ++c,weakData:{}}})},m=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,u)){if(!d(e))return"F";if(!t)return"E";f(e)}return e[u].objectID},getWeakData:function(e,t){if(!i(e,u)){if(!d(e))return!0;if(!t)return!1;f(e)}return e[u].weakData},onFreeze:function(e){return l&&m.REQUIRED&&d(e)&&!i(e,u)&&f(e),e}};n[u]=!0},1026:(e,t,r)=>{var n,a,i,o=r(4242),s=r(100),l=r(4363),u=r(7642),c=r(4013),d=r(7758),f=r(3763),m=r(9658),p="Object already initialized",h=s.WeakMap;if(o||d.state){var g=d.state||(d.state=new h),v=g.get,y=g.has,b=g.set;n=function(e,t){if(y.call(g,e))throw new TypeError(p);return t.facade=e,b.call(g,e,t),t},a=function(e){return v.call(g,e)||{}},i=function(e){return y.call(g,e)}}else{var E=f("state");m[E]=!0,n=function(e,t){if(c(e,E))throw new TypeError(p);return t.facade=e,u(e,E,t),t},a=function(e){return c(e,E)?e[E]:{}},i=function(e){return c(e,E)}}e.exports={set:n,get:a,has:i,enforce:function(e){return i(e)?a(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!l(t)||(r=a(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}}},688:(e,t,r)=>{var n=r(3374),a=r(5446),i=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(a.Array===e||o[i]===e)}},8358:(e,t,r)=>{var n=r(7362);e.exports=Array.isArray||function(e){return"Array"==n(e)}},608:(e,t,r)=>{var n=r(9978),a=/#|\.prototype\./,i=function(e,t){var r=s[o(e)];return r==u||r!=l&&("function"==typeof t?n(t):!!t)},o=i.normalize=function(e){return String(e).replace(a,".").toLowerCase()},s=i.data={},l=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},4363:e=>{e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},9814:e=>{e.exports=!0},2740:(e,t,r)=>{var n=r(4363),a=r(7362),i=r(3374)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==a(e))}},8839:(e,t,r)=>{var n=r(6856),a=r(688),i=r(358),o=r(4834),s=r(1222),l=r(6021),u=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,r){var c,d,f,m,p,h,g,v=r&&r.that,y=!(!r||!r.AS_ENTRIES),b=!(!r||!r.IS_ITERATOR),E=!(!r||!r.INTERRUPTED),w=o(t,v,1+y+E),S=function(e){return c&&l(c),new u(!0,e)},M=function(e){return y?(n(e),E?w(e[0],e[1],S):w(e[0],e[1])):E?w(e,S):w(e)};if(b)c=e;else{if("function"!=typeof(d=s(e)))throw TypeError("Target is not iterable");if(a(d)){for(f=0,m=i(e.length);m>f;f++)if((p=M(e[f]))&&p instanceof u)return p;return new u(!1)}c=d.call(e)}for(h=c.next;!(g=h.call(c)).done;){try{p=M(g.value)}catch(e){throw l(c),e}if("object"==typeof p&&p&&p instanceof u)return p}return new u(!1)}},6021:(e,t,r)=>{var n=r(6856);e.exports=function(e){var t=e.return;if(void 0!==t)return n(t.call(e)).value}},8132:(e,t,r)=>{"use strict";var n,a,i,o=r(9978),s=r(351),l=r(7642),u=r(4013),c=r(3374),d=r(9814),f=c("iterator"),m=!1;[].keys&&("next"in(i=[].keys())?(a=s(s(i)))!==Object.prototype&&(n=a):m=!0);var p=null==n||o((function(){var e={};return n[f].call(e)!==e}));p&&(n={}),d&&!p||u(n,f)||l(n,f,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:m}},5446:e=>{e.exports={}},6040:(e,t,r)=>{var n,a,i,o,s,l,u,c,d=r(100),f=r(4498).f,m=r(8930).set,p=r(5601),h=r(4062),g=r(1663),v=d.MutationObserver||d.WebKitMutationObserver,y=d.document,b=d.process,E=d.Promise,w=f(d,"queueMicrotask"),S=w&&w.value;S||(n=function(){var e,t;for(g&&(e=b.domain)&&e.exit();a;){t=a.fn,a=a.next;try{t()}catch(e){throw a?o():i=void 0,e}}i=void 0,e&&e.enter()},p||g||h||!v||!y?E&&E.resolve?((u=E.resolve(void 0)).constructor=E,c=u.then,o=function(){c.call(u,n)}):o=g?function(){b.nextTick(n)}:function(){m.call(d,n)}:(s=!0,l=y.createTextNode(""),new v(n).observe(l,{characterData:!0}),o=function(){l.data=s=!s})),e.exports=S||function(e){var t={fn:e,next:void 0};i&&(i.next=t),a||(a=t,o()),i=t}},959:(e,t,r)=>{var n=r(100);e.exports=n.Promise},6386:(e,t,r)=>{var n=r(8720),a=r(9978);e.exports=!!Object.getOwnPropertySymbols&&!a((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},3694:(e,t,r)=>{var n=r(9978),a=r(3374),i=r(9814),o=a("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[o]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},4242:(e,t,r)=>{var n=r(100),a=r(3417),i=n.WeakMap;e.exports="function"==typeof i&&/native code/.test(a(i))},9012:(e,t,r)=>{"use strict";var n=r(6421),a=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new a(e)}},8658:(e,t,r)=>{var n=r(2740);e.exports=function(e){if(n(e))throw TypeError("The method doesn't accept regular expressions");return e}},5382:(e,t,r)=>{var n=r(100),a=r(3637).trim,i=r(4784),o=n.parseInt,s=/^[+-]?0[Xx]/,l=8!==o(i+"08")||22!==o(i+"0x16");e.exports=l?function(e,t){var r=a(String(e));return o(r,t>>>0||(s.test(r)?16:10))}:o},989:(e,t,r)=>{"use strict";var n=r(9932),a=r(9978),i=r(5492),o=r(2455),s=r(7079),l=r(6298),u=r(3883),c=Object.assign,d=Object.defineProperty;e.exports=!c||a((function(){if(n&&1!==c({b:1},c(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),a="abcdefghijklmnopqrst";return e[r]=7,a.split("").forEach((function(e){t[e]=e})),7!=c({},e)[r]||i(c({},t)).join("")!=a}))?function(e,t){for(var r=l(e),a=arguments.length,c=1,d=o.f,f=s.f;a>c;)for(var m,p=u(arguments[c++]),h=d?i(p).concat(d(p)):i(p),g=h.length,v=0;g>v;)m=h[v++],n&&!f.call(p,m)||(r[m]=p[m]);return r}:c},6503:(e,t,r)=>{var n,a=r(6856),i=r(7878),o=r(3513),s=r(9658),l=r(7180),u=r(1112),c=r(3763),d="prototype",f="script",m=c("IE_PROTO"),p=function(){},h=function(e){return"<"+f+">"+e+"</"+f+">"},g=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t,r;g=n?function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t}(n):(t=u("iframe"),r="java"+f+":",t.style.display="none",l.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F);for(var a=o.length;a--;)delete g[d][o[a]];return g()};s[m]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(p[d]=a(e),r=new p,p[d]=null,r[m]=e):r=g(),void 0===t?r:i(r,t)}},7878:(e,t,r)=>{var n=r(9932),a=r(9577),i=r(6856),o=r(5492);e.exports=n?Object.defineProperties:function(e,t){i(e);for(var r,n=o(t),s=n.length,l=0;s>l;)a.f(e,r=n[l++],t[r]);return e}},9577:(e,t,r)=>{var n=r(9932),a=r(9265),i=r(6856),o=r(4490),s=Object.defineProperty;t.f=n?s:function(e,t,r){if(i(e),t=o(t,!0),i(r),a)try{return s(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},4498:(e,t,r)=>{var n=r(9932),a=r(7079),i=r(5988),o=r(2889),s=r(4490),l=r(4013),u=r(9265),c=Object.getOwnPropertyDescriptor;t.f=n?c:function(e,t){if(e=o(e),t=s(t,!0),u)try{return c(e,t)}catch(e){}if(l(e,t))return i(!a.f.call(e,t),e[t])}},7749:(e,t,r)=>{var n=r(2889),a=r(1655).f,i={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==i.call(e)?function(e){try{return a(e)}catch(e){return o.slice()}}(e):a(n(e))}},1655:(e,t,r)=>{var n=r(3292),a=r(3513).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,a)}},2455:(e,t)=>{t.f=Object.getOwnPropertySymbols},351:(e,t,r)=>{var n=r(4013),a=r(6298),i=r(3763),o=r(9991),s=i("IE_PROTO"),l=Object.prototype;e.exports=o?Object.getPrototypeOf:function(e){return e=a(e),n(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},3292:(e,t,r)=>{var n=r(4013),a=r(2889),i=r(9331).indexOf,o=r(9658);e.exports=function(e,t){var r,s=a(e),l=0,u=[];for(r in s)!n(o,r)&&n(s,r)&&u.push(r);for(;t.length>l;)n(s,r=t[l++])&&(~i(u,r)||u.push(r));return u}},5492:(e,t,r)=>{var n=r(3292),a=r(3513);e.exports=Object.keys||function(e){return n(e,a)}},7079:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,a=n&&!r.call({1:2},1);t.f=a?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},3276:(e,t,r)=>{var n=r(6856),a=r(9245);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),t=r instanceof Array}catch(e){}return function(r,i){return n(r),a(i),t?e.call(r,i):r.__proto__=i,r}}():void 0)},4775:(e,t,r)=>{var n=r(9932),a=r(5492),i=r(2889),o=r(7079).f,s=function(e){return function(t){for(var r,s=i(t),l=a(s),u=l.length,c=0,d=[];u>c;)r=l[c++],n&&!o.call(s,r)||d.push(e?[r,s[r]]:s[r]);return d}};e.exports={entries:s(!0),values:s(!1)}},6118:(e,t,r)=>{"use strict";var n=r(2434),a=r(6262);e.exports=n?{}.toString:function(){return"[object "+a(this)+"]"}},9317:(e,t,r)=>{var n=r(129),a=r(1655),i=r(2455),o=r(6856);e.exports=n("Reflect","ownKeys")||function(e){var t=a.f(o(e)),r=i.f;return r?t.concat(r(e)):t}},2366:e=>{e.exports={}},1668:e=>{e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},1282:(e,t,r)=>{var n=r(6856),a=r(4363),i=r(9012);e.exports=function(e,t){if(n(e),a(t)&&t.constructor===e)return t;var r=i.f(e);return(0,r.resolve)(t),r.promise}},9335:(e,t,r)=>{var n=r(3640);e.exports=function(e,t,r){for(var a in t)r&&r.unsafe&&e[a]?e[a]=t[a]:n(e,a,t[a],r);return e}},3640:(e,t,r)=>{var n=r(7642);e.exports=function(e,t,r,a){a&&a.enumerable?e[t]=r:n(e,t,r)}},9788:e=>{e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},7103:(e,t,r)=>{var n=r(100),a=r(7642);e.exports=function(e,t){try{a(n,e,t)}catch(r){n[e]=t}return t}},3609:(e,t,r)=>{"use strict";var n=r(129),a=r(9577),i=r(3374),o=r(9932),s=i("species");e.exports=function(e){var t=n(e),r=a.f;o&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},76:(e,t,r)=>{var n=r(2434),a=r(9577).f,i=r(7642),o=r(4013),s=r(6118),l=r(3374)("toStringTag");e.exports=function(e,t,r,u){if(e){var c=r?e:e.prototype;o(c,l)||a(c,l,{configurable:!0,value:t}),u&&!n&&i(c,"toString",s)}}},3763:(e,t,r)=>{var n=r(3860),a=r(3278),i=n("keys");e.exports=function(e){return i[e]||(i[e]=a(e))}},7758:(e,t,r)=>{var n=r(100),a=r(7103),i="__core-js_shared__",o=n[i]||a(i,{});e.exports=o},3860:(e,t,r)=>{var n=r(9814),a=r(7758);(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.14.0",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},5176:(e,t,r)=>{var n=r(6856),a=r(6421),i=r(3374)("species");e.exports=function(e,t){var r,o=n(e).constructor;return void 0===o||null==(r=n(o)[i])?t:a(r)}},9413:(e,t,r)=>{var n=r(8289),a=r(9788),i=function(e){return function(t,r){var i,o,s=String(a(t)),l=n(r),u=s.length;return l<0||l>=u?e?"":void 0:(i=s.charCodeAt(l))<55296||i>56319||l+1===u||(o=s.charCodeAt(l+1))<56320||o>57343?e?s.charAt(l):i:e?s.slice(l,l+2):o-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},1899:e=>{"use strict";var t=2147483647,r=/[^\0-\u007E]/,n=/[.\u3002\uFF0E\uFF61]/g,a="Overflow: input needs wider integers to process",i=Math.floor,o=String.fromCharCode,s=function(e){return e+22+75*(e<26)},l=function(e,t,r){var n=0;for(e=r?i(e/700):e>>1,e+=i(e/t);e>455;n+=36)e=i(e/35);return i(n+36*e/(e+38))},u=function(e){var r=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var a=e.charCodeAt(r++);if(a>=55296&&a<=56319&&r<n){var i=e.charCodeAt(r++);56320==(64512&i)?t.push(((1023&a)<<10)+(1023&i)+65536):(t.push(a),r--)}else t.push(a)}return t}(e);var n,u,c=e.length,d=128,f=0,m=72;for(n=0;n<e.length;n++)(u=e[n])<128&&r.push(o(u));var p=r.length,h=p;for(p&&r.push("-");h<c;){var g=t;for(n=0;n<e.length;n++)(u=e[n])>=d&&u<g&&(g=u);var v=h+1;if(g-d>i((t-f)/v))throw RangeError(a);for(f+=(g-d)*v,d=g,n=0;n<e.length;n++){if((u=e[n])<d&&++f>t)throw RangeError(a);if(u==d){for(var y=f,b=36;;b+=36){var E=b<=m?1:b>=m+26?26:b-m;if(y<E)break;var w=y-E,S=36-E;r.push(o(s(E+w%S))),y=i(w/S)}r.push(o(s(y))),m=l(f,v,h==p),f=0,++h}}++f,++d}return r.join("")};e.exports=function(e){var t,a,i=[],o=e.toLowerCase().replace(n,".").split(".");for(t=0;t<o.length;t++)a=o[t],i.push(r.test(a)?"xn--"+u(a):a);return i.join(".")}},144:(e,t,r)=>{var n=r(9978),a=r(4784);e.exports=function(e){return n((function(){return!!a[e]()||"​…᠎"!="​…᠎"[e]()||a[e].name!==e}))}},3637:(e,t,r)=>{var n=r(9788),a="["+r(4784)+"]",i=RegExp("^"+a+a+"*"),o=RegExp(a+a+"*$"),s=function(e){return function(t){var r=String(n(t));return 1&e&&(r=r.replace(i,"")),2&e&&(r=r.replace(o,"")),r}};e.exports={start:s(1),end:s(2),trim:s(3)}},8930:(e,t,r)=>{var n,a,i,o=r(100),s=r(9978),l=r(4834),u=r(7180),c=r(1112),d=r(5601),f=r(1663),m=o.location,p=o.setImmediate,h=o.clearImmediate,g=o.process,v=o.MessageChannel,y=o.Dispatch,b=0,E={},w="onreadystatechange",S=function(e){if(E.hasOwnProperty(e)){var t=E[e];delete E[e],t()}},M=function(e){return function(){S(e)}},C=function(e){S(e.data)},I=function(e){o.postMessage(e+"",m.protocol+"//"+m.host)};p&&h||(p=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return E[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},n(b),b},h=function(e){delete E[e]},f?n=function(e){g.nextTick(M(e))}:y&&y.now?n=function(e){y.now(M(e))}:v&&!d?(i=(a=new v).port2,a.port1.onmessage=C,n=l(i.postMessage,i,1)):o.addEventListener&&"function"==typeof postMessage&&!o.importScripts&&m&&"file:"!==m.protocol&&!s(I)?(n=I,o.addEventListener("message",C,!1)):n=w in c("script")?function(e){u.appendChild(c("script"))[w]=function(){u.removeChild(this),S(e)}}:function(e){setTimeout(M(e),0)}),e.exports={set:p,clear:h}},4488:(e,t,r)=>{var n=r(8289),a=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?a(r+t,0):i(r,t)}},2889:(e,t,r)=>{var n=r(3883),a=r(9788);e.exports=function(e){return n(a(e))}},8289:e=>{var t=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:t)(e)}},358:(e,t,r)=>{var n=r(8289),a=Math.min;e.exports=function(e){return e>0?a(n(e),9007199254740991):0}},6298:(e,t,r)=>{var n=r(9788);e.exports=function(e){return Object(n(e))}},4490:(e,t,r)=>{var n=r(4363);e.exports=function(e,t){if(!n(e))return e;var r,a;if(t&&"function"==typeof(r=e.toString)&&!n(a=r.call(e)))return a;if("function"==typeof(r=e.valueOf)&&!n(a=r.call(e)))return a;if(!t&&"function"==typeof(r=e.toString)&&!n(a=r.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},2434:(e,t,r)=>{var n={};n[r(3374)("toStringTag")]="z",e.exports="[object z]"===String(n)},3278:e=>{var t=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+r).toString(36)}},4529:(e,t,r)=>{var n=r(6386);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8444:(e,t,r)=>{var n=r(3374);t.f=n},3374:(e,t,r)=>{var n=r(100),a=r(3860),i=r(4013),o=r(3278),s=r(6386),l=r(4529),u=a("wks"),c=n.Symbol,d=l?c:c&&c.withoutSetter||o;e.exports=function(e){return i(u,e)&&(s||"string"==typeof u[e])||(s&&i(c,e)?u[e]=c[e]:u[e]=d("Symbol."+e)),u[e]}},4784:e=>{e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},8172:(e,t,r)=>{"use strict";var n=r(1427),a=r(351),i=r(3276),o=r(6503),s=r(7642),l=r(5988),u=r(8839),c=function(e,t){var r=this;if(!(r instanceof c))return new c(e,t);i&&(r=i(new Error(void 0),a(r))),void 0!==t&&s(r,"message",String(t));var n=[];return u(e,n.push,{that:n}),s(r,"errors",n),r};c.prototype=o(Error.prototype,{constructor:l(5,c),message:l(5,""),name:l(5,"AggregateError")}),n({global:!0},{AggregateError:c})},5802:(e,t,r)=>{"use strict";var n=r(1427),a=r(9978),i=r(8358),o=r(4363),s=r(6298),l=r(358),u=r(5453),c=r(9293),d=r(1975),f=r(3374),m=r(8720),p=f("isConcatSpreadable"),h=9007199254740991,g="Maximum allowed index exceeded",v=m>=51||!a((function(){var e=[];return e[p]=!1,e.concat()[0]!==e})),y=d("concat"),b=function(e){if(!o(e))return!1;var t=e[p];return void 0!==t?!!t:i(e)};n({target:"Array",proto:!0,forced:!v||!y},{concat:function(e){var t,r,n,a,i,o=s(this),d=c(o,0),f=0;for(t=-1,n=arguments.length;t<n;t++)if(b(i=-1===t?o:arguments[t])){if(f+(a=l(i.length))>h)throw TypeError(g);for(r=0;r<a;r++,f++)r in i&&u(d,f,i[r])}else{if(f>=h)throw TypeError(g);u(d,f++,i)}return d.length=f,d}})},5239:(e,t,r)=>{"use strict";var n=r(1427),a=r(2865).every;n({target:"Array",proto:!0,forced:!r(4760)("every")},{every:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},1308:(e,t,r)=>{var n=r(1427),a=r(1159),i=r(7479);n({target:"Array",proto:!0},{fill:a}),i("fill")},8830:(e,t,r)=>{"use strict";var n=r(1427),a=r(2865).filter;n({target:"Array",proto:!0,forced:!r(1975)("filter")},{filter:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},8901:(e,t,r)=>{"use strict";var n=r(1427),a=r(2865).findIndex,i=r(7479),o="findIndex",s=!0;o in[]&&Array(1)[o]((function(){s=!1})),n({target:"Array",proto:!0,forced:s},{findIndex:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),i(o)},2283:(e,t,r)=>{"use strict";var n=r(1427),a=r(2865).find,i=r(7479),o="find",s=!0;o in[]&&Array(1)[o]((function(){s=!1})),n({target:"Array",proto:!0,forced:s},{find:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),i(o)},4739:(e,t,r)=>{"use strict";var n=r(1427),a=r(3878);n({target:"Array",proto:!0,forced:[].forEach!=a},{forEach:a})},4702:(e,t,r)=>{var n=r(1427),a=r(9204);n({target:"Array",stat:!0,forced:!r(4863)((function(e){Array.from(e)}))},{from:a})},9113:(e,t,r)=>{"use strict";var n=r(1427),a=r(9331).includes,i=r(7479);n({target:"Array",proto:!0},{includes:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},8165:(e,t,r)=>{"use strict";var n=r(1427),a=r(9331).indexOf,i=r(4760),o=[].indexOf,s=!!o&&1/[1].indexOf(1,-0)<0,l=i("indexOf");n({target:"Array",proto:!0,forced:s||!l},{indexOf:function(e){return s?o.apply(this,arguments)||0:a(this,e,arguments.length>1?arguments[1]:void 0)}})},8982:(e,t,r)=>{r(1427)({target:"Array",stat:!0},{isArray:r(8358)})},2610:(e,t,r)=>{"use strict";var n=r(2889),a=r(7479),i=r(5446),o=r(1026),s=r(4884),l="Array Iterator",u=o.set,c=o.getterFor(l);e.exports=s(Array,"Array",(function(e,t){u(this,{type:l,target:n(e),index:0,kind:t})}),(function(){var e=c(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),i.Arguments=i.Array,a("keys"),a("values"),a("entries")},3575:(e,t,r)=>{var n=r(1427),a=r(4333);n({target:"Array",proto:!0,forced:a!==[].lastIndexOf},{lastIndexOf:a})},9731:(e,t,r)=>{"use strict";var n=r(1427),a=r(2865).map;n({target:"Array",proto:!0,forced:!r(1975)("map")},{map:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},3919:(e,t,r)=>{"use strict";var n=r(1427),a=r(6519).left,i=r(4760),o=r(8720),s=r(1663);n({target:"Array",proto:!0,forced:!i("reduce")||!s&&o>79&&o<83},{reduce:function(e){return a(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},2074:(e,t,r)=>{"use strict";var n=r(1427),a=r(8358),i=[].reverse,o=[1,2];n({target:"Array",proto:!0,forced:String(o)===String(o.reverse())},{reverse:function(){return a(this)&&(this.length=this.length),i.call(this)}})},333:(e,t,r)=>{"use strict";var n=r(1427),a=r(4363),i=r(8358),o=r(4488),s=r(358),l=r(2889),u=r(5453),c=r(3374),d=r(1975)("slice"),f=c("species"),m=[].slice,p=Math.max;n({target:"Array",proto:!0,forced:!d},{slice:function(e,t){var r,n,c,d=l(this),h=s(d.length),g=o(e,h),v=o(void 0===t?h:t,h);if(i(d)&&("function"!=typeof(r=d.constructor)||r!==Array&&!i(r.prototype)?a(r)&&null===(r=r[f])&&(r=void 0):r=void 0,r===Array||void 0===r))return m.call(d,g,v);for(n=new(void 0===r?Array:r)(p(v-g,0)),c=0;g<v;g++,c++)g in d&&u(n,c,d[g]);return n.length=c,n}})},7412:(e,t,r)=>{"use strict";var n=r(1427),a=r(2865).some;n({target:"Array",proto:!0,forced:!r(4760)("some")},{some:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},3064:(e,t,r)=>{"use strict";var n=r(1427),a=r(6421),i=r(6298),o=r(358),s=r(9978),l=r(1718),u=r(4760),c=r(6244),d=r(1824),f=r(8720),m=r(6919),p=[],h=p.sort,g=s((function(){p.sort(void 0)})),v=s((function(){p.sort(null)})),y=u("sort"),b=!s((function(){if(f)return f<70;if(!(c&&c>3)){if(d)return!0;if(m)return m<603;var e,t,r,n,a="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)p.push({k:t+n,v:r})}for(p.sort((function(e,t){return t.v-e.v})),n=0;n<p.length;n++)t=p[n].k.charAt(0),a.charAt(a.length-1)!==t&&(a+=t);return"DGBEFHACIJK"!==a}}));n({target:"Array",proto:!0,forced:g||!v||!y||!b},{sort:function(e){void 0!==e&&a(e);var t=i(this);if(b)return void 0===e?h.call(t):h.call(t,e);var r,n,s=[],u=o(t.length);for(n=0;n<u;n++)n in t&&s.push(t[n]);for(s=l(s,function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:String(t)>String(r)?1:-1}}(e)),r=s.length,n=0;n<r;)t[n]=s[n++];for(;n<u;)delete t[n++];return t}})},4722:(e,t,r)=>{"use strict";var n=r(1427),a=r(4488),i=r(8289),o=r(358),s=r(6298),l=r(9293),u=r(5453),c=r(1975)("splice"),d=Math.max,f=Math.min;n({target:"Array",proto:!0,forced:!c},{splice:function(e,t){var r,n,c,m,p,h,g=s(this),v=o(g.length),y=a(e,v),b=arguments.length;if(0===b?r=n=0:1===b?(r=0,n=v-y):(r=b-2,n=f(d(i(t),0),v-y)),v+r-n>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(c=l(g,n),m=0;m<n;m++)(p=y+m)in g&&u(c,m,g[p]);if(c.length=n,r<n){for(m=y;m<v-n;m++)h=m+r,(p=m+n)in g?g[h]=g[p]:delete g[h];for(m=v;m>v-n+r;m--)delete g[m-1]}else if(r>n)for(m=v-n;m>y;m--)h=m+r-1,(p=m+n-1)in g?g[h]=g[p]:delete g[h];for(m=0;m<r;m++)g[m+y]=arguments[m+2];return g.length=v-n+r,c}})},6664:(e,t,r)=>{r(1427)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},7778:(e,t,r)=>{r(1427)({target:"Function",proto:!0},{bind:r(4677)})},3927:(e,t,r)=>{var n=r(1427),a=r(129),i=r(9978),o=a("JSON","stringify"),s=/[\uD800-\uDFFF]/g,l=/^[\uD800-\uDBFF]$/,u=/^[\uDC00-\uDFFF]$/,c=function(e,t,r){var n=r.charAt(t-1),a=r.charAt(t+1);return l.test(e)&&!u.test(a)||u.test(e)&&!l.test(n)?"\\u"+e.charCodeAt(0).toString(16):e},d=i((function(){return'"\\udf06\\ud834"'!==o("\udf06\ud834")||'"\\udead"'!==o("\udead")}));o&&n({target:"JSON",stat:!0,forced:d},{stringify:function(e,t,r){var n=o.apply(null,arguments);return"string"==typeof n?n.replace(s,c):n}})},9065:(e,t,r)=>{"use strict";var n=r(440),a=r(221);e.exports=n("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),a)},9369:(e,t,r)=>{r(1427)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},6194:(e,t,r)=>{var n=r(1427),a=r(5382);n({target:"Number",stat:!0,forced:Number.parseInt!=a},{parseInt:a})},5679:(e,t,r)=>{var n=r(1427),a=r(989);n({target:"Object",stat:!0,forced:Object.assign!==a},{assign:a})},2880:(e,t,r)=>{var n=r(1427),a=r(9932);n({target:"Object",stat:!0,forced:!a,sham:!a},{defineProperties:r(7878)})},8393:(e,t,r)=>{var n=r(1427),a=r(9932);n({target:"Object",stat:!0,forced:!a,sham:!a},{defineProperty:r(9577).f})},4711:(e,t,r)=>{var n=r(1427),a=r(4775).entries;n({target:"Object",stat:!0},{entries:function(e){return a(e)}})},1685:(e,t,r)=>{var n=r(1427),a=r(1609),i=r(9978),o=r(4363),s=r(3120).onFreeze,l=Object.freeze;n({target:"Object",stat:!0,forced:i((function(){l(1)})),sham:!a},{freeze:function(e){return l&&o(e)?l(s(e)):e}})},5985:(e,t,r)=>{var n=r(1427),a=r(9978),i=r(2889),o=r(4498).f,s=r(9932),l=a((function(){o(1)}));n({target:"Object",stat:!0,forced:!s||l,sham:!s},{getOwnPropertyDescriptor:function(e,t){return o(i(e),t)}})},5780:(e,t,r)=>{var n=r(1427),a=r(9932),i=r(9317),o=r(2889),s=r(4498),l=r(5453);n({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(e){for(var t,r,n=o(e),a=s.f,u=i(n),c={},d=0;u.length>d;)void 0!==(r=a(n,t=u[d++]))&&l(c,t,r);return c}})},7731:(e,t,r)=>{var n=r(1427),a=r(6298),i=r(5492);n({target:"Object",stat:!0,forced:r(9978)((function(){i(1)}))},{keys:function(e){return i(a(e))}})},6095:()=>{},1814:(e,t,r)=>{var n=r(1427),a=r(4775).values;n({target:"Object",stat:!0},{values:function(e){return a(e)}})},270:(e,t,r)=>{var n=r(1427),a=r(5382);n({global:!0,forced:parseInt!=a},{parseInt:a})},6087:(e,t,r)=>{"use strict";var n=r(1427),a=r(6421),i=r(9012),o=r(1668),s=r(8839);n({target:"Promise",stat:!0},{allSettled:function(e){var t=this,r=i.f(t),n=r.resolve,l=r.reject,u=o((function(){var r=a(t.resolve),i=[],o=0,l=1;s(e,(function(e){var a=o++,s=!1;i.push(void 0),l++,r.call(t,e).then((function(e){s||(s=!0,i[a]={status:"fulfilled",value:e},--l||n(i))}),(function(e){s||(s=!0,i[a]={status:"rejected",reason:e},--l||n(i))}))})),--l||n(i)}));return u.error&&l(u.value),r.promise}})},325:(e,t,r)=>{"use strict";var n=r(1427),a=r(6421),i=r(129),o=r(9012),s=r(1668),l=r(8839),u="No one promise resolved";n({target:"Promise",stat:!0},{any:function(e){var t=this,r=o.f(t),n=r.resolve,c=r.reject,d=s((function(){var r=a(t.resolve),o=[],s=0,d=1,f=!1;l(e,(function(e){var a=s++,l=!1;o.push(void 0),d++,r.call(t,e).then((function(e){l||f||(f=!0,n(e))}),(function(e){l||f||(l=!0,o[a]=e,--d||c(new(i("AggregateError"))(o,u)))}))})),--d||c(new(i("AggregateError"))(o,u))}));return d.error&&c(d.value),r.promise}})},7089:(e,t,r)=>{"use strict";var n=r(1427),a=r(9814),i=r(959),o=r(9978),s=r(129),l=r(5176),u=r(1282),c=r(3640);if(n({target:"Promise",proto:!0,real:!0,forced:!!i&&o((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=l(this,s("Promise")),r="function"==typeof e;return this.then(r?function(r){return u(t,e()).then((function(){return r}))}:e,r?function(r){return u(t,e()).then((function(){throw r}))}:e)}}),!a&&"function"==typeof i){var d=s("Promise").prototype.finally;i.prototype.finally!==d&&c(i.prototype,"finally",d,{unsafe:!0})}},8493:(e,t,r)=>{"use strict";var n,a,i,o,s=r(1427),l=r(9814),u=r(100),c=r(129),d=r(959),f=r(3640),m=r(9335),p=r(3276),h=r(76),g=r(3609),v=r(4363),y=r(6421),b=r(4319),E=r(3417),w=r(8839),S=r(4863),M=r(5176),C=r(8930).set,I=r(6040),N=r(1282),D=r(9792),T=r(9012),A=r(1668),x=r(1026),_=r(608),O=r(3374),k=r(8061),P=r(1663),R=r(8720),F=O("species"),L="Promise",U=x.get,B=x.set,V=x.getterFor(L),z=d&&d.prototype,j=d,H=z,$=u.TypeError,q=u.document,W=u.process,G=T.f,Y=G,K=!!(q&&q.createEvent&&u.dispatchEvent),Z="function"==typeof PromiseRejectionEvent,J="unhandledrejection",X=!1,Q=_(L,(function(){var e=E(j)!==String(j);if(!e&&66===R)return!0;if(l&&!H.finally)return!0;if(R>=51&&/native code/.test(j))return!1;var t=new j((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(t.constructor={})[F]=r,!(X=t.then((function(){}))instanceof r)||!e&&k&&!Z})),ee=Q||!S((function(e){j.all(e).catch((function(){}))})),te=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},re=function(e,t){if(!e.notified){e.notified=!0;var r=e.reactions;I((function(){for(var n=e.value,a=1==e.state,i=0;r.length>i;){var o,s,l,u=r[i++],c=a?u.ok:u.fail,d=u.resolve,f=u.reject,m=u.domain;try{c?(a||(2===e.rejection&&oe(e),e.rejection=1),!0===c?o=n:(m&&m.enter(),o=c(n),m&&(m.exit(),l=!0)),o===u.promise?f($("Promise-chain cycle")):(s=te(o))?s.call(o,d,f):d(o)):f(n)}catch(e){m&&!l&&m.exit(),f(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ae(e)}))}},ne=function(e,t,r){var n,a;K?((n=q.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),u.dispatchEvent(n)):n={promise:t,reason:r},!Z&&(a=u["on"+e])?a(n):e===J&&D("Unhandled promise rejection",r)},ae=function(e){C.call(u,(function(){var t,r=e.facade,n=e.value;if(ie(e)&&(t=A((function(){P?W.emit("unhandledRejection",n,r):ne(J,r,n)})),e.rejection=P||ie(e)?2:1,t.error))throw t.value}))},ie=function(e){return 1!==e.rejection&&!e.parent},oe=function(e){C.call(u,(function(){var t=e.facade;P?W.emit("rejectionHandled",t):ne("rejectionhandled",t,e.value)}))},se=function(e,t,r){return function(n){e(t,n,r)}},le=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,re(e,!0))},ue=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw $("Promise can't be resolved itself");var n=te(t);n?I((function(){var r={done:!1};try{n.call(t,se(ue,r,e),se(le,r,e))}catch(t){le(r,t,e)}})):(e.value=t,e.state=1,re(e,!1))}catch(t){le({done:!1},t,e)}}};if(Q&&(H=(j=function(e){b(this,j,L),y(e),n.call(this);var t=U(this);try{e(se(ue,t),se(le,t))}catch(e){le(t,e)}}).prototype,(n=function(e){B(this,{type:L,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=m(H,{then:function(e,t){var r=V(this),n=G(M(this,j));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=P?W.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&re(r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new n,t=U(e);this.promise=e,this.resolve=se(ue,t),this.reject=se(le,t)},T.f=G=function(e){return e===j||e===i?new a(e):Y(e)},!l&&"function"==typeof d&&z!==Object.prototype)){o=z.then,X||(f(z,"then",(function(e,t){var r=this;return new j((function(e,t){o.call(r,e,t)})).then(e,t)}),{unsafe:!0}),f(z,"catch",H.catch,{unsafe:!0}));try{delete z.constructor}catch(e){}p&&p(z,H)}s({global:!0,wrap:!0,forced:Q},{Promise:j}),h(j,L,!1,!0),g(L),i=c(L),s({target:L,stat:!0,forced:Q},{reject:function(e){var t=G(this);return t.reject.call(void 0,e),t.promise}}),s({target:L,stat:!0,forced:l||Q},{resolve:function(e){return N(l&&this===i?j:this,e)}}),s({target:L,stat:!0,forced:ee},{all:function(e){var t=this,r=G(t),n=r.resolve,a=r.reject,i=A((function(){var r=y(t.resolve),i=[],o=0,s=1;w(e,(function(e){var l=o++,u=!1;i.push(void 0),s++,r.call(t,e).then((function(e){u||(u=!0,i[l]=e,--s||n(i))}),a)})),--s||n(i)}));return i.error&&a(i.value),r.promise},race:function(e){var t=this,r=G(t),n=r.reject,a=A((function(){var a=y(t.resolve);w(e,(function(e){a.call(t,e).then(r.resolve,n)}))}));return a.error&&n(a.value),r.promise}})},8820:(e,t,r)=>{"use strict";var n=r(1427),a=r(8658),i=r(9788);n({target:"String",proto:!0,forced:!r(2373)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(a(e),arguments.length>1?arguments[1]:void 0)}})},9773:(e,t,r)=>{"use strict";var n=r(9413).charAt,a=r(1026),i=r(4884),o="String Iterator",s=a.set,l=a.getterFor(o);i(String,"String",(function(e){s(this,{type:o,string:String(e),index:0})}),(function(){var e,t=l(this),r=t.string,a=t.index;return a>=r.length?{value:void 0,done:!0}:(e=n(r,a),t.index+=e.length,{value:e,done:!1})}))},9734:(e,t,r)=>{"use strict";var n,a=r(1427),i=r(4498).f,o=r(358),s=r(8658),l=r(9788),u=r(2373),c=r(9814),d="".startsWith,f=Math.min,m=u("startsWith");a({target:"String",proto:!0,forced:!!(c||m||(n=i(String.prototype,"startsWith"),!n||n.writable))&&!m},{startsWith:function(e){var t=String(l(this));s(e);var r=o(f(arguments.length>1?arguments[1]:void 0,t.length)),n=String(e);return d?d.call(t,n,r):t.slice(r,r+n.length)===n}})},5681:(e,t,r)=>{"use strict";var n=r(1427),a=r(3637).trim;n({target:"String",proto:!0,forced:r(144)("trim")},{trim:function(){return a(this)}})},1174:(e,t,r)=>{"use strict";var n=r(1427),a=r(100),i=r(129),o=r(9814),s=r(9932),l=r(6386),u=r(4529),c=r(9978),d=r(4013),f=r(8358),m=r(4363),p=r(6856),h=r(6298),g=r(2889),v=r(4490),y=r(5988),b=r(6503),E=r(5492),w=r(1655),S=r(7749),M=r(2455),C=r(4498),I=r(9577),N=r(7079),D=r(7642),T=r(3640),A=r(3860),x=r(3763),_=r(9658),O=r(3278),k=r(3374),P=r(8444),R=r(6836),F=r(76),L=r(1026),U=r(2865).forEach,B=x("hidden"),V="Symbol",z="prototype",j=k("toPrimitive"),H=L.set,$=L.getterFor(V),q=Object[z],W=a.Symbol,G=i("JSON","stringify"),Y=C.f,K=I.f,Z=S.f,J=N.f,X=A("symbols"),Q=A("op-symbols"),ee=A("string-to-symbol-registry"),te=A("symbol-to-string-registry"),re=A("wks"),ne=a.QObject,ae=!ne||!ne[z]||!ne[z].findChild,ie=s&&c((function(){return 7!=b(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=Y(q,t);n&&delete q[t],K(e,t,r),n&&e!==q&&K(q,t,n)}:K,oe=function(e,t){var r=X[e]=b(W[z]);return H(r,{type:V,tag:e,description:t}),s||(r.description=t),r},se=u?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof W},le=function(e,t,r){e===q&&le(Q,t,r),p(e);var n=v(t,!0);return p(r),d(X,n)?(r.enumerable?(d(e,B)&&e[B][n]&&(e[B][n]=!1),r=b(r,{enumerable:y(0,!1)})):(d(e,B)||K(e,B,y(1,{})),e[B][n]=!0),ie(e,n,r)):K(e,n,r)},ue=function(e,t){p(e);var r=g(t),n=E(r).concat(me(r));return U(n,(function(t){s&&!ce.call(r,t)||le(e,t,r[t])})),e},ce=function(e){var t=v(e,!0),r=J.call(this,t);return!(this===q&&d(X,t)&&!d(Q,t))&&(!(r||!d(this,t)||!d(X,t)||d(this,B)&&this[B][t])||r)},de=function(e,t){var r=g(e),n=v(t,!0);if(r!==q||!d(X,n)||d(Q,n)){var a=Y(r,n);return!a||!d(X,n)||d(r,B)&&r[B][n]||(a.enumerable=!0),a}},fe=function(e){var t=Z(g(e)),r=[];return U(t,(function(e){d(X,e)||d(_,e)||r.push(e)})),r},me=function(e){var t=e===q,r=Z(t?Q:g(e)),n=[];return U(r,(function(e){!d(X,e)||t&&!d(q,e)||n.push(X[e])})),n};(l||(T((W=function(){if(this instanceof W)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=O(e),r=function(e){this===q&&r.call(Q,e),d(this,B)&&d(this[B],t)&&(this[B][t]=!1),ie(this,t,y(1,e))};return s&&ae&&ie(q,t,{configurable:!0,set:r}),oe(t,e)})[z],"toString",(function(){return $(this).tag})),T(W,"withoutSetter",(function(e){return oe(O(e),e)})),N.f=ce,I.f=le,C.f=de,w.f=S.f=fe,M.f=me,P.f=function(e){return oe(k(e),e)},s&&(K(W[z],"description",{configurable:!0,get:function(){return $(this).description}}),o||T(q,"propertyIsEnumerable",ce,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:W}),U(E(re),(function(e){R(e)})),n({target:V,stat:!0,forced:!l},{for:function(e){var t=String(e);if(d(ee,t))return ee[t];var r=W(t);return ee[t]=r,te[r]=t,r},keyFor:function(e){if(!se(e))throw TypeError(e+" is not a symbol");if(d(te,e))return te[e]},useSetter:function(){ae=!0},useSimple:function(){ae=!1}}),n({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(e,t){return void 0===t?b(e):ue(b(e),t)},defineProperty:le,defineProperties:ue,getOwnPropertyDescriptor:de}),n({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:fe,getOwnPropertySymbols:me}),n({target:"Object",stat:!0,forced:c((function(){M.f(1)}))},{getOwnPropertySymbols:function(e){return M.f(h(e))}}),G)&&n({target:"JSON",stat:!0,forced:!l||c((function(){var e=W();return"[null]"!=G([e])||"{}"!=G({a:e})||"{}"!=G(Object(e))}))},{stringify:function(e,t,r){for(var n,a=[e],i=1;arguments.length>i;)a.push(arguments[i++]);if(n=t,(m(t)||void 0!==e)&&!se(e))return f(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!se(t))return t}),a[1]=t,G.apply(null,a)}});W[z][j]||D(W[z],j,W[z].valueOf),F(W,V),_[B]=!0},7617:(e,t,r)=>{r(8172)},3162:(e,t,r)=>{r(6087)},2903:(e,t,r)=>{r(325)},1247:(e,t,r)=>{"use strict";var n=r(1427),a=r(9012),i=r(1668);n({target:"Promise",stat:!0},{try:function(e){var t=a.f(this),r=i(e);return(r.error?t.reject:t.resolve)(r.value),t.promise}})},8524:(e,t,r)=>{r(2610);var n=r(530),a=r(100),i=r(6262),o=r(7642),s=r(5446),l=r(3374)("toStringTag");for(var u in n){var c=a[u],d=c&&c.prototype;d&&i(d)!==l&&o(d,l,u),s[u]=s.Array}},1614:(e,t,r)=>{var n=r(1427),a=r(100),i=r(5095),o=[].slice,s=function(e){return function(t,r){var n=arguments.length>2,a=n?o.call(arguments,2):void 0;return e(n?function(){("function"==typeof t?t:Function(t)).apply(this,a)}:t,r)}};n({global:!0,bind:!0,forced:/MSIE .\./.test(i)},{setTimeout:s(a.setTimeout),setInterval:s(a.setInterval)})},8122:(e,t,r)=>{"use strict";r(2610);var n=r(1427),a=r(129),i=r(3694),o=r(3640),s=r(9335),l=r(76),u=r(5158),c=r(1026),d=r(4319),f=r(4013),m=r(4834),p=r(6262),h=r(6856),g=r(4363),v=r(6503),y=r(5988),b=r(2545),E=r(1222),w=r(3374),S=a("fetch"),M=a("Headers"),C=w("iterator"),I="URLSearchParams",N=I+"Iterator",D=c.set,T=c.getterFor(I),A=c.getterFor(N),x=/\+/g,_=Array(4),O=function(e){return _[e-1]||(_[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},k=function(e){try{return decodeURIComponent(e)}catch(t){return e}},P=function(e){var t=e.replace(x," "),r=4;try{return decodeURIComponent(t)}catch(e){for(;r;)t=t.replace(O(r--),k);return t}},R=/[!'()~]|%20/g,F={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},L=function(e){return F[e]},U=function(e){return encodeURIComponent(e).replace(R,L)},B=function(e,t){if(t)for(var r,n,a=t.split("&"),i=0;i<a.length;)(r=a[i++]).length&&(n=r.split("="),e.push({key:P(n.shift()),value:P(n.join("="))}))},V=function(e){this.entries.length=0,B(this.entries,e)},z=function(e,t){if(e<t)throw TypeError("Not enough arguments")},j=u((function(e,t){D(this,{type:N,iterator:b(T(e).entries),kind:t})}),"Iterator",(function(){var e=A(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r})),H=function(){d(this,H,I);var e,t,r,n,a,i,o,s,l,u=arguments.length>0?arguments[0]:void 0,c=[];if(D(this,{type:I,entries:c,updateURL:function(){},updateSearchParams:V}),void 0!==u)if(g(u))if("function"==typeof(e=E(u)))for(r=(t=e.call(u)).next;!(n=r.call(t)).done;){if((o=(i=(a=b(h(n.value))).next).call(a)).done||(s=i.call(a)).done||!i.call(a).done)throw TypeError("Expected sequence with length 2");c.push({key:o.value+"",value:s.value+""})}else for(l in u)f(u,l)&&c.push({key:l,value:u[l]+""});else B(c,"string"==typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},$=H.prototype;s($,{append:function(e,t){z(arguments.length,2);var r=T(this);r.entries.push({key:e+"",value:t+""}),r.updateURL()},delete:function(e){z(arguments.length,1);for(var t=T(this),r=t.entries,n=e+"",a=0;a<r.length;)r[a].key===n?r.splice(a,1):a++;t.updateURL()},get:function(e){z(arguments.length,1);for(var t=T(this).entries,r=e+"",n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){z(arguments.length,1);for(var t=T(this).entries,r=e+"",n=[],a=0;a<t.length;a++)t[a].key===r&&n.push(t[a].value);return n},has:function(e){z(arguments.length,1);for(var t=T(this).entries,r=e+"",n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){z(arguments.length,1);for(var r,n=T(this),a=n.entries,i=!1,o=e+"",s=t+"",l=0;l<a.length;l++)(r=a[l]).key===o&&(i?a.splice(l--,1):(i=!0,r.value=s));i||a.push({key:o,value:s}),n.updateURL()},sort:function(){var e,t,r,n=T(this),a=n.entries,i=a.slice();for(a.length=0,r=0;r<i.length;r++){for(e=i[r],t=0;t<r;t++)if(a[t].key>e.key){a.splice(t,0,e);break}t===r&&a.push(e)}n.updateURL()},forEach:function(e){for(var t,r=T(this).entries,n=m(e,arguments.length>1?arguments[1]:void 0,3),a=0;a<r.length;)n((t=r[a++]).value,t.key,this)},keys:function(){return new j(this,"keys")},values:function(){return new j(this,"values")},entries:function(){return new j(this,"entries")}},{enumerable:!0}),o($,C,$.entries),o($,"toString",(function(){for(var e,t=T(this).entries,r=[],n=0;n<t.length;)e=t[n++],r.push(U(e.key)+"="+U(e.value));return r.join("&")}),{enumerable:!0}),l(H,I),n({global:!0,forced:!i},{URLSearchParams:H}),i||"function"!=typeof S||"function"!=typeof M||n({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,r,n,a=[e];return arguments.length>1&&(g(t=arguments[1])&&(r=t.body,p(r)===I&&((n=t.headers?new M(t.headers):new M).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=v(t,{body:y(0,String(r)),headers:y(0,n)}))),a.push(t)),S.apply(this,a)}}),e.exports={URLSearchParams:H,getState:T}},668:(e,t,r)=>{"use strict";r(9773);var n,a=r(1427),i=r(9932),o=r(3694),s=r(100),l=r(7878),u=r(3640),c=r(4319),d=r(4013),f=r(989),m=r(9204),p=r(9413).codeAt,h=r(1899),g=r(76),v=r(8122),y=r(1026),b=s.URL,E=v.URLSearchParams,w=v.getState,S=y.set,M=y.getterFor("URL"),C=Math.floor,I=Math.pow,N="Invalid scheme",D="Invalid host",T="Invalid port",A=/[A-Za-z]/,x=/[\d+-.A-Za-z]/,_=/\d/,O=/^(0x|0X)/,k=/^[0-7]+$/,P=/^\d+$/,R=/^[\dA-Fa-f]+$/,F=/[\0\t\n\r #%/:?@[\\]]/,L=/[\0\t\n\r #/:?@[\\]]/,U=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,B=/[\t\n\r]/g,V=function(e,t){var r,n,a;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return D;if(!(r=j(t.slice(1,-1))))return D;e.host=r}else if(Z(e)){if(t=h(t),F.test(t))return D;if(null===(r=z(t)))return D;e.host=r}else{if(L.test(t))return D;for(r="",n=m(t),a=0;a<n.length;a++)r+=Y(n[a],$);e.host=r}},z=function(e){var t,r,n,a,i,o,s,l=e.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),(t=l.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(a=l[n]))return e;if(i=10,a.length>1&&"0"==a.charAt(0)&&(i=O.test(a)?16:8,a=a.slice(8==i?1:2)),""===a)o=0;else{if(!(10==i?P:8==i?k:R).test(a))return e;o=parseInt(a,i)}r.push(o)}for(n=0;n<t;n++)if(o=r[n],n==t-1){if(o>=I(256,5-t))return null}else if(o>255)return null;for(s=r.pop(),n=0;n<r.length;n++)s+=r[n]*I(256,3-n);return s},j=function(e){var t,r,n,a,i,o,s,l=[0,0,0,0,0,0,0,0],u=0,c=null,d=0,f=function(){return e.charAt(d)};if(":"==f()){if(":"!=e.charAt(1))return;d+=2,c=++u}for(;f();){if(8==u)return;if(":"!=f()){for(t=r=0;r<4&&R.test(f());)t=16*t+parseInt(f(),16),d++,r++;if("."==f()){if(0==r)return;if(d-=r,u>6)return;for(n=0;f();){if(a=null,n>0){if(!("."==f()&&n<4))return;d++}if(!_.test(f()))return;for(;_.test(f());){if(i=parseInt(f(),10),null===a)a=i;else{if(0==a)return;a=10*a+i}if(a>255)return;d++}l[u]=256*l[u]+a,2!=++n&&4!=n||u++}if(4!=n)return;break}if(":"==f()){if(d++,!f())return}else if(f())return;l[u++]=t}else{if(null!==c)return;d++,c=++u}}if(null!==c)for(o=u-c,u=7;0!=u&&o>0;)s=l[u],l[u--]=l[c+o-1],l[c+--o]=s;else if(8!=u)return;return l},H=function(e){var t,r,n,a;if("number"==typeof e){for(t=[],r=0;r<4;r++)t.unshift(e%256),e=C(e/256);return t.join(".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,a=0,i=0;i<8;i++)0!==e[i]?(a>r&&(t=n,r=a),n=null,a=0):(null===n&&(n=i),++a);return a>r&&(t=n,r=a),t}(e),r=0;r<8;r++)a&&0===e[r]||(a&&(a=!1),n===r?(t+=r?":":"::",a=!0):(t+=e[r].toString(16),r<7&&(t+=":")));return"["+t+"]"}return e},$={},q=f({},$,{" ":1,'"':1,"<":1,">":1,"`":1}),W=f({},q,{"#":1,"?":1,"{":1,"}":1}),G=f({},W,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Y=function(e,t){var r=p(e,0);return r>32&&r<127&&!d(t,e)?e:encodeURIComponent(e)},K={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Z=function(e){return d(K,e.scheme)},J=function(e){return""!=e.username||""!=e.password},X=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},Q=function(e,t){var r;return 2==e.length&&A.test(e.charAt(0))&&(":"==(r=e.charAt(1))||!t&&"|"==r)},ee=function(e){var t;return e.length>1&&Q(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},te=function(e){var t=e.path,r=t.length;!r||"file"==e.scheme&&1==r&&Q(t[0],!0)||t.pop()},re=function(e){return"."===e||"%2e"===e.toLowerCase()},ne={},ae={},ie={},oe={},se={},le={},ue={},ce={},de={},fe={},me={},pe={},he={},ge={},ve={},ye={},be={},Ee={},we={},Se={},Me={},Ce=function(e,t,r,a){var i,o,s,l,u,c=r||ne,f=0,p="",h=!1,g=!1,v=!1;for(r||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(U,"")),t=t.replace(B,""),i=m(t);f<=i.length;){switch(o=i[f],c){case ne:if(!o||!A.test(o)){if(r)return N;c=ie;continue}p+=o.toLowerCase(),c=ae;break;case ae:if(o&&(x.test(o)||"+"==o||"-"==o||"."==o))p+=o.toLowerCase();else{if(":"!=o){if(r)return N;p="",c=ie,f=0;continue}if(r&&(Z(e)!=d(K,p)||"file"==p&&(J(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=p,r)return void(Z(e)&&K[e.scheme]==e.port&&(e.port=null));p="","file"==e.scheme?c=ge:Z(e)&&a&&a.scheme==e.scheme?c=oe:Z(e)?c=ce:"/"==i[f+1]?(c=se,f++):(e.cannotBeABaseURL=!0,e.path.push(""),c=we)}break;case ie:if(!a||a.cannotBeABaseURL&&"#"!=o)return N;if(a.cannotBeABaseURL&&"#"==o){e.scheme=a.scheme,e.path=a.path.slice(),e.query=a.query,e.fragment="",e.cannotBeABaseURL=!0,c=Me;break}c="file"==a.scheme?ge:le;continue;case oe:if("/"!=o||"/"!=i[f+1]){c=le;continue}c=de,f++;break;case se:if("/"==o){c=fe;break}c=Ee;continue;case le:if(e.scheme=a.scheme,o==n)e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query=a.query;else if("/"==o||"\\"==o&&Z(e))c=ue;else if("?"==o)e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query="",c=Se;else{if("#"!=o){e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.path.pop(),c=Ee;continue}e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query=a.query,e.fragment="",c=Me}break;case ue:if(!Z(e)||"/"!=o&&"\\"!=o){if("/"!=o){e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,c=Ee;continue}c=fe}else c=de;break;case ce:if(c=de,"/"!=o||"/"!=p.charAt(f+1))continue;f++;break;case de:if("/"!=o&&"\\"!=o){c=fe;continue}break;case fe:if("@"==o){h&&(p="%40"+p),h=!0,s=m(p);for(var y=0;y<s.length;y++){var b=s[y];if(":"!=b||v){var E=Y(b,G);v?e.password+=E:e.username+=E}else v=!0}p=""}else if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&Z(e)){if(h&&""==p)return"Invalid authority";f-=m(p).length+1,p="",c=me}else p+=o;break;case me:case pe:if(r&&"file"==e.scheme){c=ye;continue}if(":"!=o||g){if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&Z(e)){if(Z(e)&&""==p)return D;if(r&&""==p&&(J(e)||null!==e.port))return;if(l=V(e,p))return l;if(p="",c=be,r)return;continue}"["==o?g=!0:"]"==o&&(g=!1),p+=o}else{if(""==p)return D;if(l=V(e,p))return l;if(p="",c=he,r==pe)return}break;case he:if(!_.test(o)){if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&Z(e)||r){if(""!=p){var w=parseInt(p,10);if(w>65535)return T;e.port=Z(e)&&w===K[e.scheme]?null:w,p=""}if(r)return;c=be;continue}return T}p+=o;break;case ge:if(e.scheme="file","/"==o||"\\"==o)c=ve;else{if(!a||"file"!=a.scheme){c=Ee;continue}if(o==n)e.host=a.host,e.path=a.path.slice(),e.query=a.query;else if("?"==o)e.host=a.host,e.path=a.path.slice(),e.query="",c=Se;else{if("#"!=o){ee(i.slice(f).join(""))||(e.host=a.host,e.path=a.path.slice(),te(e)),c=Ee;continue}e.host=a.host,e.path=a.path.slice(),e.query=a.query,e.fragment="",c=Me}}break;case ve:if("/"==o||"\\"==o){c=ye;break}a&&"file"==a.scheme&&!ee(i.slice(f).join(""))&&(Q(a.path[0],!0)?e.path.push(a.path[0]):e.host=a.host),c=Ee;continue;case ye:if(o==n||"/"==o||"\\"==o||"?"==o||"#"==o){if(!r&&Q(p))c=Ee;else if(""==p){if(e.host="",r)return;c=be}else{if(l=V(e,p))return l;if("localhost"==e.host&&(e.host=""),r)return;p="",c=be}continue}p+=o;break;case be:if(Z(e)){if(c=Ee,"/"!=o&&"\\"!=o)continue}else if(r||"?"!=o)if(r||"#"!=o){if(o!=n&&(c=Ee,"/"!=o))continue}else e.fragment="",c=Me;else e.query="",c=Se;break;case Ee:if(o==n||"/"==o||"\\"==o&&Z(e)||!r&&("?"==o||"#"==o)){if(".."===(u=(u=p).toLowerCase())||"%2e."===u||".%2e"===u||"%2e%2e"===u?(te(e),"/"==o||"\\"==o&&Z(e)||e.path.push("")):re(p)?"/"==o||"\\"==o&&Z(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&Q(p)&&(e.host&&(e.host=""),p=p.charAt(0)+":"),e.path.push(p)),p="","file"==e.scheme&&(o==n||"?"==o||"#"==o))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==o?(e.query="",c=Se):"#"==o&&(e.fragment="",c=Me)}else p+=Y(o,W);break;case we:"?"==o?(e.query="",c=Se):"#"==o?(e.fragment="",c=Me):o!=n&&(e.path[0]+=Y(o,$));break;case Se:r||"#"!=o?o!=n&&("'"==o&&Z(e)?e.query+="%27":e.query+="#"==o?"%23":Y(o,$)):(e.fragment="",c=Me);break;case Me:o!=n&&(e.fragment+=Y(o,q))}f++}},Ie=function(e){var t,r,n=c(this,Ie,"URL"),a=arguments.length>1?arguments[1]:void 0,o=String(e),s=S(n,{type:"URL"});if(void 0!==a)if(a instanceof Ie)t=M(a);else if(r=Ce(t={},String(a)))throw TypeError(r);if(r=Ce(s,o,null,t))throw TypeError(r);var l=s.searchParams=new E,u=w(l);u.updateSearchParams(s.query),u.updateURL=function(){s.query=String(l)||null},i||(n.href=De.call(n),n.origin=Te.call(n),n.protocol=Ae.call(n),n.username=xe.call(n),n.password=_e.call(n),n.host=Oe.call(n),n.hostname=ke.call(n),n.port=Pe.call(n),n.pathname=Re.call(n),n.search=Fe.call(n),n.searchParams=Le.call(n),n.hash=Ue.call(n))},Ne=Ie.prototype,De=function(){var e=M(this),t=e.scheme,r=e.username,n=e.password,a=e.host,i=e.port,o=e.path,s=e.query,l=e.fragment,u=t+":";return null!==a?(u+="//",J(e)&&(u+=r+(n?":"+n:"")+"@"),u+=H(a),null!==i&&(u+=":"+i)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?o[0]:o.length?"/"+o.join("/"):"",null!==s&&(u+="?"+s),null!==l&&(u+="#"+l),u},Te=function(){var e=M(this),t=e.scheme,r=e.port;if("blob"==t)try{return new Ie(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&Z(e)?t+"://"+H(e.host)+(null!==r?":"+r:""):"null"},Ae=function(){return M(this).scheme+":"},xe=function(){return M(this).username},_e=function(){return M(this).password},Oe=function(){var e=M(this),t=e.host,r=e.port;return null===t?"":null===r?H(t):H(t)+":"+r},ke=function(){var e=M(this).host;return null===e?"":H(e)},Pe=function(){var e=M(this).port;return null===e?"":String(e)},Re=function(){var e=M(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Fe=function(){var e=M(this).query;return e?"?"+e:""},Le=function(){return M(this).searchParams},Ue=function(){var e=M(this).fragment;return e?"#"+e:""},Be=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&l(Ne,{href:Be(De,(function(e){var t=M(this),r=String(e),n=Ce(t,r);if(n)throw TypeError(n);w(t.searchParams).updateSearchParams(t.query)})),origin:Be(Te),protocol:Be(Ae,(function(e){var t=M(this);Ce(t,String(e)+":",ne)})),username:Be(xe,(function(e){var t=M(this),r=m(String(e));if(!X(t)){t.username="";for(var n=0;n<r.length;n++)t.username+=Y(r[n],G)}})),password:Be(_e,(function(e){var t=M(this),r=m(String(e));if(!X(t)){t.password="";for(var n=0;n<r.length;n++)t.password+=Y(r[n],G)}})),host:Be(Oe,(function(e){var t=M(this);t.cannotBeABaseURL||Ce(t,String(e),me)})),hostname:Be(ke,(function(e){var t=M(this);t.cannotBeABaseURL||Ce(t,String(e),pe)})),port:Be(Pe,(function(e){var t=M(this);X(t)||(""==(e=String(e))?t.port=null:Ce(t,e,he))})),pathname:Be(Re,(function(e){var t=M(this);t.cannotBeABaseURL||(t.path=[],Ce(t,e+"",be))})),search:Be(Fe,(function(e){var t=M(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Ce(t,e,Se)),w(t.searchParams).updateSearchParams(t.query)})),searchParams:Be(Le),hash:Be(Ue,(function(e){var t=M(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Ce(t,e,Me)):t.fragment=null}))}),u(Ne,"toJSON",(function(){return De.call(this)}),{enumerable:!0}),u(Ne,"toString",(function(){return De.call(this)}),{enumerable:!0}),b){var Ve=b.createObjectURL,ze=b.revokeObjectURL;Ve&&u(Ie,"createObjectURL",(function(e){return Ve.apply(b,arguments)})),ze&&u(Ie,"revokeObjectURL",(function(e){return ze.apply(b,arguments)}))}g(Ie,"URL"),a({global:!0,forced:!o,sham:!i},{URL:Ie})},456:()=>{},9670:(e,t,r)=>{var n=r(3961);e.exports=n},4190:(e,t,r)=>{var n=r(9860);e.exports=n},1651:(e,t,r)=>{var n=r(150);e.exports=n},5821:(e,t,r)=>{var n=r(1935);e.exports=n},6224:(e,t,r)=>{var n=r(8208);e.exports=n},9074:(e,t,r)=>{var n=r(5050);e.exports=n},5480:(e,t,r)=>{var n=r(9743);e.exports=n},2910:(e,t,r)=>{var n=r(7416);e.exports=n},44:(e,t,r)=>{var n=r(1617);e.exports=n},9992:(e,t,r)=>{var n=r(7458);e.exports=n},4546:(e,t,r)=>{var n=r(6743);e.exports=n},7837:(e,t,r)=>{var n=r(2887);e.exports=n},8784:(e,t,r)=>{var n=r(2137);e.exports=n},3668:(e,t,r)=>{r(8524);var n=r(1651),a=r(6262),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.forEach;return e===i||e instanceof Array&&t===i.forEach||o.hasOwnProperty(a(e))?n:t}},6361:(e,t,r)=>{var n=r(3076);e.exports=n},1189:(e,t,r)=>{var n=r(1475);e.exports=n},8303:(e,t,r)=>{r(8524);var n=r(5821),a=r(6262),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.keys;return e===i||e instanceof Array&&t===i.keys||o.hasOwnProperty(a(e))?n:t}},113:(e,t,r)=>{var n=r(3014);e.exports=n},1740:(e,t,r)=>{var n=r(6015);e.exports=n},3228:(e,t,r)=>{var n=r(9846);e.exports=n},382:(e,t,r)=>{var n=r(7886);e.exports=n},6949:(e,t,r)=>{var n=r(1187);e.exports=n},2161:(e,t,r)=>{var n=r(6072);e.exports=n},7440:(e,t,r)=>{var n=r(8277);e.exports=n},4514:(e,t,r)=>{var n=r(7199);e.exports=n},6483:(e,t,r)=>{var n=r(7317);e.exports=n},4349:(e,t,r)=>{var n=r(3287);e.exports=n},1799:(e,t,r)=>{r(8524);var n=r(6224),a=r(6262),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.values;return e===i||e instanceof Array&&t===i.values||o.hasOwnProperty(a(e))?n:t}},2751:(e,t,r)=>{var n=r(8093);e.exports=n},3520:(e,t,r)=>{var n=r(9054);e.exports=n},5303:(e,t,r)=>{var n=r(7062);e.exports=n},7020:(e,t,r)=>{var n=r(8209);e.exports=n},1006:(e,t,r)=>{var n=r(3806);e.exports=n},1065:(e,t,r)=>{var n=r(9206);e.exports=n},6191:(e,t,r)=>{var n=r(1469);e.exports=n},6884:(e,t,r)=>{var n=r(3577);e.exports=n},3863:(e,t,r)=>{var n=r(4489);e.exports=n},7118:(e,t,r)=>{var n=r(5698);e.exports=n},858:(e,t,r)=>{var n=r(8851);e.exports=n},8404:(e,t,r)=>{var n=r(7385);e.exports=n},8430:(e,t,r)=>{var n=r(3840);e.exports=n},7926:(e,t,r)=>{var n=r(4378);e.exports=n},779:(e,t,r)=>{var n=r(1528);e.exports=n},3800:(e,t,r)=>{var n=r(806);e.exports=n},4226:(e,t,r)=>{r(1614);var n=r(2366);e.exports=n.setInterval},9594:(e,t,r)=>{r(1614);var n=r(2366);e.exports=n.setTimeout},274:(e,t,r)=>{var n=r(592);e.exports=n},3289:(e,t,r)=>{var n=r(8938);e.exports=n},592:(e,t,r)=>{r(8122);var n=r(2366);e.exports=n.URLSearchParams},8938:(e,t,r)=>{r(668),r(456),r(8122);var n=r(2366);e.exports=n.URL},6777:e=>{function t(e,t,r){var n,a,i,o,s;function l(){var u=Date.now()-o;u<t&&u>=0?n=setTimeout(l,t-u):(n=null,r||(s=e.apply(i,a),i=a=null))}null==t&&(t=100);var u=function(){i=this,a=arguments,o=Date.now();var u=r&&!n;return n||(n=setTimeout(l,t)),u&&(s=e.apply(i,a),i=a=null),s};return u.clear=function(){n&&(clearTimeout(n),n=null)},u.flush=function(){n&&(s=e.apply(i,a),i=a=null,clearTimeout(n),n=null)},u}t.debounce=t,e.exports=t},861:e=>{"use strict";var t;e.exports=(t=[0,2,4,6,8,1,3,5,7,9],function(e){if("string"!=typeof e)throw new TypeError("Expected string input");if(!e)return!1;let r,n=e.length,a=1,i=0;for(;n;)r=parseInt(e.charAt(--n),10),a^=1,i+=a?t[r]:r;return i%10==0})},2983:function(e,t,r){var n,a;!function(i,o,s){"use strict";"undefined"!=typeof window&&r.amdO?void 0===(a="function"==typeof(n=s)?n.call(t,r,t,e):n)||(e.exports=a):e.exports?e.exports=s():o.exports?o.exports=s():o.Fingerprint2=s()}(0,this,(function(){"use strict";void 0===Array.isArray&&(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var e=function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var r=[0,0,0,0];return r[3]+=e[3]+t[3],r[2]+=r[3]>>>16,r[3]&=65535,r[2]+=e[2]+t[2],r[1]+=r[2]>>>16,r[2]&=65535,r[1]+=e[1]+t[1],r[0]+=r[1]>>>16,r[1]&=65535,r[0]+=e[0]+t[0],r[0]&=65535,[r[0]<<16|r[1],r[2]<<16|r[3]]},t=function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var r=[0,0,0,0];return r[3]+=e[3]*t[3],r[2]+=r[3]>>>16,r[3]&=65535,r[2]+=e[2]*t[3],r[1]+=r[2]>>>16,r[2]&=65535,r[2]+=e[3]*t[2],r[1]+=r[2]>>>16,r[2]&=65535,r[1]+=e[1]*t[3],r[0]+=r[1]>>>16,r[1]&=65535,r[1]+=e[2]*t[2],r[0]+=r[1]>>>16,r[1]&=65535,r[1]+=e[3]*t[1],r[0]+=r[1]>>>16,r[1]&=65535,r[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],r[0]&=65535,[r[0]<<16|r[1],r[2]<<16|r[3]]},r=function(e,t){return 32===(t%=64)?[e[1],e[0]]:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:(t-=32,[e[1]<<t|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t])},n=function(e,t){return 0===(t%=64)?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]},a=function(e,t){return[e[0]^t[0],e[1]^t[1]]},i=function(e){return e=a(e,[0,e[0]>>>1]),e=t(e,[4283543511,3981806797]),e=a(e,[0,e[0]>>>1]),e=t(e,[3301882366,444984403]),e=a(e,[0,e[0]>>>1])},o=function(o,s){s=s||0;for(var l=(o=o||"").length%16,u=o.length-l,c=[0,s],d=[0,s],f=[0,0],m=[0,0],p=[2277735313,289559509],h=[1291169091,658871167],g=0;g<u;g+=16)f=[255&o.charCodeAt(g+4)|(255&o.charCodeAt(g+5))<<8|(255&o.charCodeAt(g+6))<<16|(255&o.charCodeAt(g+7))<<24,255&o.charCodeAt(g)|(255&o.charCodeAt(g+1))<<8|(255&o.charCodeAt(g+2))<<16|(255&o.charCodeAt(g+3))<<24],m=[255&o.charCodeAt(g+12)|(255&o.charCodeAt(g+13))<<8|(255&o.charCodeAt(g+14))<<16|(255&o.charCodeAt(g+15))<<24,255&o.charCodeAt(g+8)|(255&o.charCodeAt(g+9))<<8|(255&o.charCodeAt(g+10))<<16|(255&o.charCodeAt(g+11))<<24],f=t(f,p),f=r(f,31),f=t(f,h),c=a(c,f),c=r(c,27),c=e(c,d),c=e(t(c,[0,5]),[0,1390208809]),m=t(m,h),m=r(m,33),m=t(m,p),d=a(d,m),d=r(d,31),d=e(d,c),d=e(t(d,[0,5]),[0,944331445]);switch(f=[0,0],m=[0,0],l){case 15:m=a(m,n([0,o.charCodeAt(g+14)],48));case 14:m=a(m,n([0,o.charCodeAt(g+13)],40));case 13:m=a(m,n([0,o.charCodeAt(g+12)],32));case 12:m=a(m,n([0,o.charCodeAt(g+11)],24));case 11:m=a(m,n([0,o.charCodeAt(g+10)],16));case 10:m=a(m,n([0,o.charCodeAt(g+9)],8));case 9:m=a(m,[0,o.charCodeAt(g+8)]),m=t(m,h),m=r(m,33),m=t(m,p),d=a(d,m);case 8:f=a(f,n([0,o.charCodeAt(g+7)],56));case 7:f=a(f,n([0,o.charCodeAt(g+6)],48));case 6:f=a(f,n([0,o.charCodeAt(g+5)],40));case 5:f=a(f,n([0,o.charCodeAt(g+4)],32));case 4:f=a(f,n([0,o.charCodeAt(g+3)],24));case 3:f=a(f,n([0,o.charCodeAt(g+2)],16));case 2:f=a(f,n([0,o.charCodeAt(g+1)],8));case 1:f=a(f,[0,o.charCodeAt(g)]),f=t(f,p),f=r(f,31),f=t(f,h),c=a(c,f)}return c=a(c,[0,o.length]),d=a(d,[0,o.length]),c=e(c,d),d=e(d,c),c=i(c),d=i(d),c=e(c,d),d=e(d,c),("00000000"+(c[0]>>>0).toString(16)).slice(-8)+("00000000"+(c[1]>>>0).toString(16)).slice(-8)+("00000000"+(d[0]>>>0).toString(16)).slice(-8)+("00000000"+(d[1]>>>0).toString(16)).slice(-8)},s={preprocessor:null,audio:{timeout:1e3,excludeIOS11:!0},fonts:{swfContainerId:"fingerprintjs2",swfPath:"flash/compiled/FontList.swf",userDefinedFonts:[],extendedJsFonts:!1},screen:{detectScreenOrientation:!0},plugins:{sortPluginsFor:[/palemoon/i],excludeIE:!1},extraComponents:[],excludes:{enumerateDevices:!0,pixelRatio:!0,doNotTrack:!0,fontsFlash:!0,adBlock:!0},NOT_AVAILABLE:"not available",ERROR:"error",EXCLUDED:"excluded"},l=function(e,t){if(Array.prototype.forEach&&e.forEach===Array.prototype.forEach)e.forEach(t);else if(e.length===+e.length)for(var r=0,n=e.length;r<n;r++)t(e[r],r,e);else for(var a in e)e.hasOwnProperty(a)&&t(e[a],a,e)},u=function(e,t){var r=[];return null==e?r:Array.prototype.map&&e.map===Array.prototype.map?e.map(t):(l(e,(function(e,n,a){r.push(t(e,n,a))})),r)},c=function(){return navigator.mediaDevices&&navigator.mediaDevices.enumerateDevices},d=function(e){var t=[window.screen.width,window.screen.height];return e.screen.detectScreenOrientation&&t.sort().reverse(),t},f=function(e){if(window.screen.availWidth&&window.screen.availHeight){var t=[window.screen.availHeight,window.screen.availWidth];return e.screen.detectScreenOrientation&&t.sort().reverse(),t}return e.NOT_AVAILABLE},m=function(e){if(null==navigator.plugins)return e.NOT_AVAILABLE;for(var t=[],r=0,n=navigator.plugins.length;r<n;r++)navigator.plugins[r]&&t.push(navigator.plugins[r]);return h(e)&&(t=t.sort((function(e,t){return e.name>t.name?1:e.name<t.name?-1:0}))),u(t,(function(e){var t=u(e,(function(e){return[e.type,e.suffixes]}));return[e.name,e.description,t]}))},p=function(e){var t=[];if(Object.getOwnPropertyDescriptor&&Object.getOwnPropertyDescriptor(window,"ActiveXObject")||"ActiveXObject"in window){t=u(["AcroPDF.PDF","Adodb.Stream","AgControl.AgControl","DevalVRXCtrl.DevalVRXCtrl.1","MacromediaFlashPaper.MacromediaFlashPaper","Msxml2.DOMDocument","Msxml2.XMLHTTP","PDF.PdfCtrl","QuickTime.QuickTime","QuickTimeCheckObject.QuickTimeCheck.1","RealPlayer","RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)","RealVideo.RealVideo(tm) ActiveX Control (32-bit)","Scripting.Dictionary","SWCtl.SWCtl","Shell.UIHelper","ShockwaveFlash.ShockwaveFlash","Skype.Detection","TDCCtl.TDCCtl","WMPlayer.OCX","rmocx.RealPlayer G2 Control","rmocx.RealPlayer G2 Control.1"],(function(t){try{return new window.ActiveXObject(t),t}catch(t){return e.ERROR}}))}else t.push(e.NOT_AVAILABLE);return navigator.plugins&&(t=t.concat(m(e))),t},h=function(e){for(var t=!1,r=0,n=e.plugins.sortPluginsFor.length;r<n;r++){var a=e.plugins.sortPluginsFor[r];if(navigator.userAgent.match(a)){t=!0;break}}return t},g=function(e){try{return!!window.sessionStorage}catch(t){return e.ERROR}},v=function(e){try{return!!window.localStorage}catch(t){return e.ERROR}},y=function(e){if(R())return e.EXCLUDED;try{return!!window.indexedDB}catch(t){return e.ERROR}},b=function(e){return navigator.hardwareConcurrency?navigator.hardwareConcurrency:e.NOT_AVAILABLE},E=function(e){return navigator.cpuClass||e.NOT_AVAILABLE},w=function(e){return navigator.platform?navigator.platform:e.NOT_AVAILABLE},S=function(e){return navigator.doNotTrack?navigator.doNotTrack:navigator.msDoNotTrack?navigator.msDoNotTrack:window.doNotTrack?window.doNotTrack:e.NOT_AVAILABLE},M=function(){var e,t=0;void 0!==navigator.maxTouchPoints?t=navigator.maxTouchPoints:void 0!==navigator.msMaxTouchPoints&&(t=navigator.msMaxTouchPoints);try{document.createEvent("TouchEvent"),e=!0}catch(t){e=!1}return[t,e,"ontouchstart"in window]},C=function(e){var t=[],r=document.createElement("canvas");r.width=2e3,r.height=200,r.style.display="inline";var n=r.getContext("2d");return n.rect(0,0,10,10),n.rect(2,2,6,6),t.push("canvas winding:"+(!1===n.isPointInPath(5,5,"evenodd")?"yes":"no")),n.textBaseline="alphabetic",n.fillStyle="#f60",n.fillRect(125,1,62,20),n.fillStyle="#069",e.dontUseFakeFontInCanvas?n.font="11pt Arial":n.font="11pt no-real-font-123",n.fillText("Cwm fjordbank glyphs vext quiz, 😃",2,15),n.fillStyle="rgba(102, 204, 0, 0.2)",n.font="18pt Arial",n.fillText("Cwm fjordbank glyphs vext quiz, 😃",4,45),n.globalCompositeOperation="multiply",n.fillStyle="rgb(255,0,255)",n.beginPath(),n.arc(50,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(0,255,255)",n.beginPath(),n.arc(100,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,255,0)",n.beginPath(),n.arc(75,100,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,0,255)",n.arc(75,75,75,0,2*Math.PI,!0),n.arc(75,75,25,0,2*Math.PI,!0),n.fill("evenodd"),r.toDataURL&&t.push("canvas fp:"+r.toDataURL()),t},I=function(){var e,t=function(t){return e.clearColor(0,0,0,1),e.enable(e.DEPTH_TEST),e.depthFunc(e.LEQUAL),e.clear(e.COLOR_BUFFER_BIT|e.DEPTH_BUFFER_BIT),"["+t[0]+", "+t[1]+"]"};if(!(e=B()))return null;var r=[],n=e.createBuffer();e.bindBuffer(e.ARRAY_BUFFER,n);var a=new Float32Array([-.2,-.9,0,.4,-.26,0,0,.732134444,0]);e.bufferData(e.ARRAY_BUFFER,a,e.STATIC_DRAW),n.itemSize=3,n.numItems=3;var i=e.createProgram(),o=e.createShader(e.VERTEX_SHADER);e.shaderSource(o,"attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}"),e.compileShader(o);var s=e.createShader(e.FRAGMENT_SHADER);e.shaderSource(s,"precision mediump float;varying vec2 varyinTexCoordinate;void main() {gl_FragColor=vec4(varyinTexCoordinate,0,1);}"),e.compileShader(s),e.attachShader(i,o),e.attachShader(i,s),e.linkProgram(i),e.useProgram(i),i.vertexPosAttrib=e.getAttribLocation(i,"attrVertex"),i.offsetUniform=e.getUniformLocation(i,"uniformOffset"),e.enableVertexAttribArray(i.vertexPosArray),e.vertexAttribPointer(i.vertexPosAttrib,n.itemSize,e.FLOAT,!1,0,0),e.uniform2f(i.offsetUniform,1,1),e.drawArrays(e.TRIANGLE_STRIP,0,n.numItems);try{r.push(e.canvas.toDataURL())}catch(e){}r.push("extensions:"+(e.getSupportedExtensions()||[]).join(";")),r.push("webgl aliased line width range:"+t(e.getParameter(e.ALIASED_LINE_WIDTH_RANGE))),r.push("webgl aliased point size range:"+t(e.getParameter(e.ALIASED_POINT_SIZE_RANGE))),r.push("webgl alpha bits:"+e.getParameter(e.ALPHA_BITS)),r.push("webgl antialiasing:"+(e.getContextAttributes().antialias?"yes":"no")),r.push("webgl blue bits:"+e.getParameter(e.BLUE_BITS)),r.push("webgl depth bits:"+e.getParameter(e.DEPTH_BITS)),r.push("webgl green bits:"+e.getParameter(e.GREEN_BITS)),r.push("webgl max anisotropy:"+function(e){var t=e.getExtension("EXT_texture_filter_anisotropic")||e.getExtension("WEBKIT_EXT_texture_filter_anisotropic")||e.getExtension("MOZ_EXT_texture_filter_anisotropic");if(t){var r=e.getParameter(t.MAX_TEXTURE_MAX_ANISOTROPY_EXT);return 0===r&&(r=2),r}return null}(e)),r.push("webgl max combined texture image units:"+e.getParameter(e.MAX_COMBINED_TEXTURE_IMAGE_UNITS)),r.push("webgl max cube map texture size:"+e.getParameter(e.MAX_CUBE_MAP_TEXTURE_SIZE)),r.push("webgl max fragment uniform vectors:"+e.getParameter(e.MAX_FRAGMENT_UNIFORM_VECTORS)),r.push("webgl max render buffer size:"+e.getParameter(e.MAX_RENDERBUFFER_SIZE)),r.push("webgl max texture image units:"+e.getParameter(e.MAX_TEXTURE_IMAGE_UNITS)),r.push("webgl max texture size:"+e.getParameter(e.MAX_TEXTURE_SIZE)),r.push("webgl max varying vectors:"+e.getParameter(e.MAX_VARYING_VECTORS)),r.push("webgl max vertex attribs:"+e.getParameter(e.MAX_VERTEX_ATTRIBS)),r.push("webgl max vertex texture image units:"+e.getParameter(e.MAX_VERTEX_TEXTURE_IMAGE_UNITS)),r.push("webgl max vertex uniform vectors:"+e.getParameter(e.MAX_VERTEX_UNIFORM_VECTORS)),r.push("webgl max viewport dims:"+t(e.getParameter(e.MAX_VIEWPORT_DIMS))),r.push("webgl red bits:"+e.getParameter(e.RED_BITS)),r.push("webgl renderer:"+e.getParameter(e.RENDERER)),r.push("webgl shading language version:"+e.getParameter(e.SHADING_LANGUAGE_VERSION)),r.push("webgl stencil bits:"+e.getParameter(e.STENCIL_BITS)),r.push("webgl vendor:"+e.getParameter(e.VENDOR)),r.push("webgl version:"+e.getParameter(e.VERSION));try{var u=e.getExtension("WEBGL_debug_renderer_info");u&&(r.push("webgl unmasked vendor:"+e.getParameter(u.UNMASKED_VENDOR_WEBGL)),r.push("webgl unmasked renderer:"+e.getParameter(u.UNMASKED_RENDERER_WEBGL)))}catch(e){}return e.getShaderPrecisionFormat?(l(["FLOAT","INT"],(function(t){l(["VERTEX","FRAGMENT"],(function(n){l(["HIGH","MEDIUM","LOW"],(function(a){l(["precision","rangeMin","rangeMax"],(function(i){var o=e.getShaderPrecisionFormat(e[n+"_SHADER"],e[a+"_"+t])[i];"precision"!==i&&(i="precision "+i);var s=["webgl ",n.toLowerCase()," shader ",a.toLowerCase()," ",t.toLowerCase()," ",i,":",o].join("");r.push(s)}))}))}))})),V(e),r):(V(e),r)},N=function(){try{var e=B(),t=e.getExtension("WEBGL_debug_renderer_info"),r=e.getParameter(t.UNMASKED_VENDOR_WEBGL)+"~"+e.getParameter(t.UNMASKED_RENDERER_WEBGL);return V(e),r}catch(e){return null}},D=function(){var e=document.createElement("div");e.innerHTML="&nbsp;",e.className="adsbox";var t=!1;try{document.body.appendChild(e),t=0===document.getElementsByClassName("adsbox")[0].offsetHeight,document.body.removeChild(e)}catch(e){t=!1}return t},T=function(){if(void 0!==navigator.languages)try{if(navigator.languages[0].substr(0,2)!==navigator.language.substr(0,2))return!0}catch(e){return!0}return!1},A=function(){return window.screen.width<window.screen.availWidth||window.screen.height<window.screen.availHeight},x=function(){var e,t=navigator.userAgent.toLowerCase(),r=navigator.oscpu,n=navigator.platform.toLowerCase();if(e=t.indexOf("windows phone")>=0?"Windows Phone":t.indexOf("windows")>=0||t.indexOf("win16")>=0||t.indexOf("win32")>=0||t.indexOf("win64")>=0||t.indexOf("win95")>=0||t.indexOf("win98")>=0||t.indexOf("winnt")>=0||t.indexOf("wow64")>=0?"Windows":t.indexOf("android")>=0?"Android":t.indexOf("linux")>=0||t.indexOf("cros")>=0||t.indexOf("x11")>=0?"Linux":t.indexOf("iphone")>=0||t.indexOf("ipad")>=0||t.indexOf("ipod")>=0||t.indexOf("crios")>=0||t.indexOf("fxios")>=0?"iOS":t.indexOf("macintosh")>=0||t.indexOf("mac_powerpc)")>=0?"Mac":"Other",("ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0)&&"Windows"!==e&&"Windows Phone"!==e&&"Android"!==e&&"iOS"!==e&&"Other"!==e&&-1===t.indexOf("cros"))return!0;if(void 0!==r){if((r=r.toLowerCase()).indexOf("win")>=0&&"Windows"!==e&&"Windows Phone"!==e)return!0;if(r.indexOf("linux")>=0&&"Linux"!==e&&"Android"!==e)return!0;if(r.indexOf("mac")>=0&&"Mac"!==e&&"iOS"!==e)return!0;if((-1===r.indexOf("win")&&-1===r.indexOf("linux")&&-1===r.indexOf("mac"))!=("Other"===e))return!0}return n.indexOf("win")>=0&&"Windows"!==e&&"Windows Phone"!==e||((n.indexOf("linux")>=0||n.indexOf("android")>=0||n.indexOf("pike")>=0)&&"Linux"!==e&&"Android"!==e||((n.indexOf("mac")>=0||n.indexOf("ipad")>=0||n.indexOf("ipod")>=0||n.indexOf("iphone")>=0)&&"Mac"!==e&&"iOS"!==e||!(n.indexOf("arm")>=0&&"Windows Phone"===e)&&(!(n.indexOf("pike")>=0&&t.indexOf("opera mini")>=0)&&((n.indexOf("win")<0&&n.indexOf("linux")<0&&n.indexOf("mac")<0&&n.indexOf("iphone")<0&&n.indexOf("ipad")<0&&n.indexOf("ipod")<0)!==("Other"===e)||void 0===navigator.plugins&&"Windows"!==e&&"Windows Phone"!==e))))},_=function(){var e,t=navigator.userAgent.toLowerCase(),r=navigator.productSub;if(t.indexOf("edge/")>=0||t.indexOf("iemobile/")>=0)return!1;if(t.indexOf("opera mini")>=0)return!1;if(("Chrome"===(e=t.indexOf("firefox/")>=0?"Firefox":t.indexOf("opera/")>=0||t.indexOf(" opr/")>=0?"Opera":t.indexOf("chrome/")>=0?"Chrome":t.indexOf("safari/")>=0?t.indexOf("android 1.")>=0||t.indexOf("android 2.")>=0||t.indexOf("android 3.")>=0||t.indexOf("android 4.")>=0?"AOSP":"Safari":t.indexOf("trident/")>=0?"Internet Explorer":"Other")||"Safari"===e||"Opera"===e)&&"20030107"!==r)return!0;var n,a=eval.toString().length;if(37===a&&"Safari"!==e&&"Firefox"!==e&&"Other"!==e)return!0;if(39===a&&"Internet Explorer"!==e&&"Other"!==e)return!0;if(33===a&&"Chrome"!==e&&"AOSP"!==e&&"Opera"!==e&&"Other"!==e)return!0;try{throw"a"}catch(e){try{e.toSource(),n=!0}catch(e){n=!1}}return n&&"Firefox"!==e&&"Other"!==e},O=function(){var e=document.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},k=function(){if(!O())return!1;var e=B(),t=!!window.WebGLRenderingContext&&!!e;return V(e),t},P=function(){return"Microsoft Internet Explorer"===navigator.appName||!("Netscape"!==navigator.appName||!/Trident/.test(navigator.userAgent))},R=function(){return("msWriteProfilerMark"in window)+("msLaunchUri"in navigator)+("msSaveBlob"in navigator)>=2},F=function(){return void 0!==window.swfobject},L=function(){return window.swfobject.hasFlashPlayerVersion("9.0.0")},U=function(e,t){var r="___fp_swf_loaded";window[r]=function(t){e(t)};var n=t.fonts.swfContainerId;!function(e){var t=document.createElement("div");t.setAttribute("id",e.fonts.swfContainerId),document.body.appendChild(t)}();var a={onReady:r};window.swfobject.embedSWF(t.fonts.swfPath,n,"1","1","9.0.0",!1,a,{allowScriptAccess:"always",menu:"false"},{})},B=function(){var e=document.createElement("canvas"),t=null;try{t=e.getContext("webgl")||e.getContext("experimental-webgl")}catch(e){}return t||(t=null),t},V=function(e){var t=e.getExtension("WEBGL_lose_context");null!=t&&t.loseContext()},z=[{key:"userAgent",getData:function(e){e(navigator.userAgent)}},{key:"webdriver",getData:function(e,t){e(null==navigator.webdriver?t.NOT_AVAILABLE:navigator.webdriver)}},{key:"language",getData:function(e,t){e(navigator.language||navigator.userLanguage||navigator.browserLanguage||navigator.systemLanguage||t.NOT_AVAILABLE)}},{key:"colorDepth",getData:function(e,t){e(window.screen.colorDepth||t.NOT_AVAILABLE)}},{key:"deviceMemory",getData:function(e,t){e(navigator.deviceMemory||t.NOT_AVAILABLE)}},{key:"pixelRatio",getData:function(e,t){e(window.devicePixelRatio||t.NOT_AVAILABLE)}},{key:"hardwareConcurrency",getData:function(e,t){e(b(t))}},{key:"screenResolution",getData:function(e,t){e(d(t))}},{key:"availableScreenResolution",getData:function(e,t){e(f(t))}},{key:"timezoneOffset",getData:function(e){e((new Date).getTimezoneOffset())}},{key:"timezone",getData:function(e,t){window.Intl&&window.Intl.DateTimeFormat?e((new window.Intl.DateTimeFormat).resolvedOptions().timeZone||t.NOT_AVAILABLE):e(t.NOT_AVAILABLE)}},{key:"sessionStorage",getData:function(e,t){e(g(t))}},{key:"localStorage",getData:function(e,t){e(v(t))}},{key:"indexedDb",getData:function(e,t){e(y(t))}},{key:"addBehavior",getData:function(e){e(!!window.HTMLElement.prototype.addBehavior)}},{key:"openDatabase",getData:function(e){e(!!window.openDatabase)}},{key:"cpuClass",getData:function(e,t){e(E(t))}},{key:"platform",getData:function(e,t){e(w(t))}},{key:"doNotTrack",getData:function(e,t){e(S(t))}},{key:"plugins",getData:function(e,t){P()?t.plugins.excludeIE?e(t.EXCLUDED):e(p(t)):e(m(t))}},{key:"canvas",getData:function(e,t){O()?e(C(t)):e(t.NOT_AVAILABLE)}},{key:"webgl",getData:function(e,t){k()?e(I()):e(t.NOT_AVAILABLE)}},{key:"webglVendorAndRenderer",getData:function(e){k()?e(N()):e()}},{key:"adBlock",getData:function(e){e(D())}},{key:"hasLiedLanguages",getData:function(e){e(T())}},{key:"hasLiedResolution",getData:function(e){e(A())}},{key:"hasLiedOs",getData:function(e){e(x())}},{key:"hasLiedBrowser",getData:function(e){e(_())}},{key:"touchSupport",getData:function(e){e(M())}},{key:"fonts",getData:function(e,t){var r=["monospace","sans-serif","serif"],n=["Andale Mono","Arial","Arial Black","Arial Hebrew","Arial MT","Arial Narrow","Arial Rounded MT Bold","Arial Unicode MS","Bitstream Vera Sans Mono","Book Antiqua","Bookman Old Style","Calibri","Cambria","Cambria Math","Century","Century Gothic","Century Schoolbook","Comic Sans","Comic Sans MS","Consolas","Courier","Courier New","Geneva","Georgia","Helvetica","Helvetica Neue","Impact","Lucida Bright","Lucida Calligraphy","Lucida Console","Lucida Fax","LUCIDA GRANDE","Lucida Handwriting","Lucida Sans","Lucida Sans Typewriter","Lucida Sans Unicode","Microsoft Sans Serif","Monaco","Monotype Corsiva","MS Gothic","MS Outlook","MS PGothic","MS Reference Sans Serif","MS Sans Serif","MS Serif","MYRIAD","MYRIAD PRO","Palatino","Palatino Linotype","Segoe Print","Segoe Script","Segoe UI","Segoe UI Light","Segoe UI Semibold","Segoe UI Symbol","Tahoma","Times","Times New Roman","Times New Roman PS","Trebuchet MS","Verdana","Wingdings","Wingdings 2","Wingdings 3"];if(t.fonts.extendedJsFonts){n=n.concat(["Abadi MT Condensed Light","Academy Engraved LET","ADOBE CASLON PRO","Adobe Garamond","ADOBE GARAMOND PRO","Agency FB","Aharoni","Albertus Extra Bold","Albertus Medium","Algerian","Amazone BT","American Typewriter","American Typewriter Condensed","AmerType Md BT","Andalus","Angsana New","AngsanaUPC","Antique Olive","Aparajita","Apple Chancery","Apple Color Emoji","Apple SD Gothic Neo","Arabic Typesetting","ARCHER","ARNO PRO","Arrus BT","Aurora Cn BT","AvantGarde Bk BT","AvantGarde Md BT","AVENIR","Ayuthaya","Bandy","Bangla Sangam MN","Bank Gothic","BankGothic Md BT","Baskerville","Baskerville Old Face","Batang","BatangChe","Bauer Bodoni","Bauhaus 93","Bazooka","Bell MT","Bembo","Benguiat Bk BT","Berlin Sans FB","Berlin Sans FB Demi","Bernard MT Condensed","BernhardFashion BT","BernhardMod BT","Big Caslon","BinnerD","Blackadder ITC","BlairMdITC TT","Bodoni 72","Bodoni 72 Oldstyle","Bodoni 72 Smallcaps","Bodoni MT","Bodoni MT Black","Bodoni MT Condensed","Bodoni MT Poster Compressed","Bookshelf Symbol 7","Boulder","Bradley Hand","Bradley Hand ITC","Bremen Bd BT","Britannic Bold","Broadway","Browallia New","BrowalliaUPC","Brush Script MT","Californian FB","Calisto MT","Calligrapher","Candara","CaslonOpnface BT","Castellar","Centaur","Cezanne","CG Omega","CG Times","Chalkboard","Chalkboard SE","Chalkduster","Charlesworth","Charter Bd BT","Charter BT","Chaucer","ChelthmITC Bk BT","Chiller","Clarendon","Clarendon Condensed","CloisterBlack BT","Cochin","Colonna MT","Constantia","Cooper Black","Copperplate","Copperplate Gothic","Copperplate Gothic Bold","Copperplate Gothic Light","CopperplGoth Bd BT","Corbel","Cordia New","CordiaUPC","Cornerstone","Coronet","Cuckoo","Curlz MT","DaunPenh","Dauphin","David","DB LCD Temp","DELICIOUS","Denmark","DFKai-SB","Didot","DilleniaUPC","DIN","DokChampa","Dotum","DotumChe","Ebrima","Edwardian Script ITC","Elephant","English 111 Vivace BT","Engravers MT","EngraversGothic BT","Eras Bold ITC","Eras Demi ITC","Eras Light ITC","Eras Medium ITC","EucrosiaUPC","Euphemia","Euphemia UCAS","EUROSTILE","Exotc350 Bd BT","FangSong","Felix Titling","Fixedsys","FONTIN","Footlight MT Light","Forte","FrankRuehl","Fransiscan","Freefrm721 Blk BT","FreesiaUPC","Freestyle Script","French Script MT","FrnkGothITC Bk BT","Fruitger","FRUTIGER","Futura","Futura Bk BT","Futura Lt BT","Futura Md BT","Futura ZBlk BT","FuturaBlack BT","Gabriola","Galliard BT","Gautami","Geeza Pro","Geometr231 BT","Geometr231 Hv BT","Geometr231 Lt BT","GeoSlab 703 Lt BT","GeoSlab 703 XBd BT","Gigi","Gill Sans","Gill Sans MT","Gill Sans MT Condensed","Gill Sans MT Ext Condensed Bold","Gill Sans Ultra Bold","Gill Sans Ultra Bold Condensed","Gisha","Gloucester MT Extra Condensed","GOTHAM","GOTHAM BOLD","Goudy Old Style","Goudy Stout","GoudyHandtooled BT","GoudyOLSt BT","Gujarati Sangam MN","Gulim","GulimChe","Gungsuh","GungsuhChe","Gurmukhi MN","Haettenschweiler","Harlow Solid Italic","Harrington","Heather","Heiti SC","Heiti TC","HELV","Herald","High Tower Text","Hiragino Kaku Gothic ProN","Hiragino Mincho ProN","Hoefler Text","Humanst 521 Cn BT","Humanst521 BT","Humanst521 Lt BT","Imprint MT Shadow","Incised901 Bd BT","Incised901 BT","Incised901 Lt BT","INCONSOLATA","Informal Roman","Informal011 BT","INTERSTATE","IrisUPC","Iskoola Pota","JasmineUPC","Jazz LET","Jenson","Jester","Jokerman","Juice ITC","Kabel Bk BT","Kabel Ult BT","Kailasa","KaiTi","Kalinga","Kannada Sangam MN","Kartika","Kaufmann Bd BT","Kaufmann BT","Khmer UI","KodchiangUPC","Kokila","Korinna BT","Kristen ITC","Krungthep","Kunstler Script","Lao UI","Latha","Leelawadee","Letter Gothic","Levenim MT","LilyUPC","Lithograph","Lithograph Light","Long Island","Lydian BT","Magneto","Maiandra GD","Malayalam Sangam MN","Malgun Gothic","Mangal","Marigold","Marion","Marker Felt","Market","Marlett","Matisse ITC","Matura MT Script Capitals","Meiryo","Meiryo UI","Microsoft Himalaya","Microsoft JhengHei","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Uighur","Microsoft YaHei","Microsoft Yi Baiti","MingLiU","MingLiU_HKSCS","MingLiU_HKSCS-ExtB","MingLiU-ExtB","Minion","Minion Pro","Miriam","Miriam Fixed","Mistral","Modern","Modern No. 20","Mona Lisa Solid ITC TT","Mongolian Baiti","MONO","MoolBoran","Mrs Eaves","MS LineDraw","MS Mincho","MS PMincho","MS Reference Specialty","MS UI Gothic","MT Extra","MUSEO","MV Boli","Nadeem","Narkisim","NEVIS","News Gothic","News GothicMT","NewsGoth BT","Niagara Engraved","Niagara Solid","Noteworthy","NSimSun","Nyala","OCR A Extended","Old Century","Old English Text MT","Onyx","Onyx BT","OPTIMA","Oriya Sangam MN","OSAKA","OzHandicraft BT","Palace Script MT","Papyrus","Parchment","Party LET","Pegasus","Perpetua","Perpetua Titling MT","PetitaBold","Pickwick","Plantagenet Cherokee","Playbill","PMingLiU","PMingLiU-ExtB","Poor Richard","Poster","PosterBodoni BT","PRINCETOWN LET","Pristina","PTBarnum BT","Pythagoras","Raavi","Rage Italic","Ravie","Ribbon131 Bd BT","Rockwell","Rockwell Condensed","Rockwell Extra Bold","Rod","Roman","Sakkal Majalla","Santa Fe LET","Savoye LET","Sceptre","Script","Script MT Bold","SCRIPTINA","Serifa","Serifa BT","Serifa Th BT","ShelleyVolante BT","Sherwood","Shonar Bangla","Showcard Gothic","Shruti","Signboard","SILKSCREEN","SimHei","Simplified Arabic","Simplified Arabic Fixed","SimSun","SimSun-ExtB","Sinhala Sangam MN","Sketch Rockwell","Skia","Small Fonts","Snap ITC","Snell Roundhand","Socket","Souvenir Lt BT","Staccato222 BT","Steamer","Stencil","Storybook","Styllo","Subway","Swis721 BlkEx BT","Swiss911 XCm BT","Sylfaen","Synchro LET","System","Tamil Sangam MN","Technical","Teletype","Telugu Sangam MN","Tempus Sans ITC","Terminal","Thonburi","Traditional Arabic","Trajan","TRAJAN PRO","Tristan","Tubular","Tunga","Tw Cen MT","Tw Cen MT Condensed","Tw Cen MT Condensed Extra Bold","TypoUpright BT","Unicorn","Univers","Univers CE 55 Medium","Univers Condensed","Utsaah","Vagabond","Vani","Vijaya","Viner Hand ITC","VisualUI","Vivaldi","Vladimir Script","Vrinda","Westminster","WHITNEY","Wide Latin","ZapfEllipt BT","ZapfHumnst BT","ZapfHumnst Dm BT","Zapfino","Zurich BlkEx BT","Zurich Ex BT","ZWAdobeF"])}n=(n=n.concat(t.fonts.userDefinedFonts)).filter((function(e,t){return n.indexOf(e)===t}));var a=document.getElementsByTagName("body")[0],i=document.createElement("div"),o=document.createElement("div"),s={},l={},u=function(){var e=document.createElement("span");return e.style.position="absolute",e.style.left="-9999px",e.style.fontSize="72px",e.style.fontStyle="normal",e.style.fontWeight="normal",e.style.letterSpacing="normal",e.style.lineBreak="auto",e.style.lineHeight="normal",e.style.textTransform="none",e.style.textAlign="left",e.style.textDecoration="none",e.style.textShadow="none",e.style.whiteSpace="normal",e.style.wordBreak="normal",e.style.wordSpacing="normal",e.innerHTML="mmmmmmmmmmlli",e},c=function(e,t){var r=u();return r.style.fontFamily="'"+e+"',"+t,r},d=function(e){for(var t=!1,n=0;n<r.length;n++)if(t=e[n].offsetWidth!==s[r[n]]||e[n].offsetHeight!==l[r[n]])return t;return t},f=function(){for(var e=[],t=0,n=r.length;t<n;t++){var a=u();a.style.fontFamily=r[t],i.appendChild(a),e.push(a)}return e}();a.appendChild(i);for(var m=0,p=r.length;m<p;m++)s[r[m]]=f[m].offsetWidth,l[r[m]]=f[m].offsetHeight;var h=function(){for(var e={},t=0,a=n.length;t<a;t++){for(var i=[],s=0,l=r.length;s<l;s++){var u=c(n[t],r[s]);o.appendChild(u),i.push(u)}e[n[t]]=i}return e}();a.appendChild(o);for(var g=[],v=0,y=n.length;v<y;v++)d(h[n[v]])&&g.push(n[v]);a.removeChild(o),a.removeChild(i),e(g)},pauseBefore:!0},{key:"fontsFlash",getData:function(e,t){return F()?L()?t.fonts.swfPath?void U((function(t){e(t)}),t):e("missing options.fonts.swfPath"):e("flash not installed"):e("swf object not loaded")},pauseBefore:!0},{key:"audio",getData:function(e,t){var r=t.audio;if(r.excludeIOS11&&navigator.userAgent.match(/OS 11.+Version\/11.+Safari/))return e(t.EXCLUDED);var n=window.OfflineAudioContext||window.webkitOfflineAudioContext;if(null==n)return e(t.NOT_AVAILABLE);var a=new n(1,44100,44100),i=a.createOscillator();i.type="triangle",i.frequency.setValueAtTime(1e4,a.currentTime);var o=a.createDynamicsCompressor();l([["threshold",-50],["knee",40],["ratio",12],["reduction",-20],["attack",0],["release",.25]],(function(e){void 0!==o[e[0]]&&"function"==typeof o[e[0]].setValueAtTime&&o[e[0]].setValueAtTime(e[1],a.currentTime)})),i.connect(o),o.connect(a.destination),i.start(0),a.startRendering();var s=setTimeout((function(){return console.warn('Audio fingerprint timed out. Please report bug at https://github.com/fingerprintjs/fingerprintjs with your user agent: "'+navigator.userAgent+'".'),a.oncomplete=function(){},a=null,e("audioTimeout")}),r.timeout);a.oncomplete=function(t){var r;try{clearTimeout(s),r=t.renderedBuffer.getChannelData(0).slice(4500,5e3).reduce((function(e,t){return e+Math.abs(t)}),0).toString(),i.disconnect(),o.disconnect()}catch(t){return void e(t)}e(r)}}},{key:"enumerateDevices",getData:function(e,t){if(!c())return e(t.NOT_AVAILABLE);navigator.mediaDevices.enumerateDevices().then((function(t){e(t.map((function(e){return"id="+e.deviceId+";gid="+e.groupId+";"+e.kind+";"+e.label})))})).catch((function(t){e(t)}))}}],j=function(e){throw new Error("'new Fingerprint()' is deprecated, see https://github.com/fingerprintjs/fingerprintjs#upgrade-guide-from-182-to-200")};return j.get=function(e,t){t?e||(e={}):(t=e,e={}),function(e,t){if(null==t)return e;var r,n;for(n in t)null==(r=t[n])||Object.prototype.hasOwnProperty.call(e,n)||(e[n]=r)}(e,s),e.components=e.extraComponents.concat(z);var r={data:[],addPreprocessedComponent:function(t,n){"function"==typeof e.preprocessor&&(n=e.preprocessor(t,n)),r.data.push({key:t,value:n})}},n=-1,a=function(i){if((n+=1)>=e.components.length)t(r.data);else{var o=e.components[n];if(e.excludes[o.key])a(!1);else{if(!i&&o.pauseBefore)return n-=1,void setTimeout((function(){a(!0)}),1);try{o.getData((function(e){r.addPreprocessedComponent(o.key,e),a(!1)}),e)}catch(e){r.addPreprocessedComponent(o.key,String(e)),a(!1)}}}};a(!1)},j.getPromise=function(e){return new Promise((function(t,r){j.get(e,t)}))},j.getV18=function(e,t){return null==t&&(t=e,e={}),j.get(e,(function(r){for(var n=[],a=0;a<r.length;a++){var i=r[a];if(i.value===(e.NOT_AVAILABLE||"not available"))n.push({key:i.key,value:"unknown"});else if("plugins"===i.key)n.push({key:"plugins",value:u(i.value,(function(e){var t=u(e[2],(function(e){return e.join?e.join("~"):e})).join(",");return[e[0],e[1],t].join("::")}))});else if(-1!==["canvas","webgl"].indexOf(i.key)&&Array.isArray(i.value))n.push({key:i.key,value:i.value.join("~")});else if(-1!==["sessionStorage","localStorage","indexedDb","addBehavior","openDatabase"].indexOf(i.key)){if(!i.value)continue;n.push({key:i.key,value:1})}else i.value?n.push(i.value.join?{key:i.key,value:i.value.join(";")}:i):n.push({key:i.key,value:i.value})}var s=o(u(n,(function(e){return e.value})).join("~~~"),31);t(s,n)}))},j.x64hash128=o,j.VERSION="2.1.4",j}))},9602:e=>{function t(e){return e&&e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function r(e){return e}function n(e,n){const a=(n=n||{}).delimiter||".",i=n.maxDepth,o=n.transformKey||r,s={};return function e(r,l,u){u=u||1,Object.keys(r).forEach((function(c){const d=r[c],f=n.safe&&Array.isArray(d),m=Object.prototype.toString.call(d),p=t(d),h="[object Object]"===m||"[object Array]"===m,g=l?l+a+o(c):o(c);if(!f&&!p&&h&&Object.keys(d).length&&(!n.maxDepth||u<i))return e(d,g,u+1);s[g]=d}))}(e),s}e.exports=n,n.flatten=n,n.unflatten=function e(a,i){const o=(i=i||{}).delimiter||".",s=i.overwrite||!1,l=i.transformKey||r,u={};if(t(a)||"[object Object]"!==Object.prototype.toString.call(a))return a;function c(e){const t=Number(e);return isNaN(t)||-1!==e.indexOf(".")||i.object?e:t}return a=Object.keys(a).reduce((function(e,t){const r=Object.prototype.toString.call(a[t]);return!("[object Object]"===r||"[object Array]"===r)||function(e){const t=Object.prototype.toString.call(e),r="[object Array]"===t,n="[object Object]"===t;if(!e)return!0;if(r)return!e.length;if(n)return!Object.keys(e).length}(a[t])?(e[t]=a[t],e):function(e,t,r){return Object.keys(r).reduce((function(t,n){return t[e+o+n]=r[n],t}),t)}(t,e,n(a[t],i))}),{}),Object.keys(a).forEach((function(t){const r=t.split(o).map(l);let n=c(r.shift()),d=c(r[0]),f=u;for(;void 0!==d;){if("__proto__"===n)return;const e=Object.prototype.toString.call(f[n]),t="[object Object]"===e||"[object Array]"===e;if(!s&&!t&&void 0!==f[n])return;(s&&!t||!s&&null==f[n])&&(f[n]="number"!=typeof d||i.object?{}:[]),f=f[n],r.length>0&&(n=c(r.shift()),d=c(r[0]))}f[n]=e(a[t],i)})),u}},2971:(e,t,r)=>{"use strict";var n=r(2322),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?o:s[e.$$typeof]||a}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=o;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var a=m(r);a&&a!==p&&e(t,a,n)}var o=c(r);d&&(o=o.concat(d(r)));for(var s=l(t),h=l(r),g=0;g<o.length;++g){var v=o[g];if(!(i[v]||n&&n[v]||h&&h[v]||s&&s[v])){var y=f(r,v);try{u(t,v,y)}catch(e){}}}}return t}},1485:(e,t)=>{"use strict";
10
10
  /** @license React v16.13.1
11
11
  * react-is.production.min.js
12
12
  *
@@ -79,5 +79,5 @@ object-assign
79
79
  *
80
80
  * This source code is licensed under the MIT license found in the
81
81
  * LICENSE file in the root directory of this source tree.
82
- */var r,n,a,i,o;if("undefined"==typeof window||"function"!=typeof MessageChannel){var s=null,l=null,u=function(){if(null!==s)try{var e=t.unstable_now();s(!0,e),s=null}catch(e){throw setTimeout(u,0),e}},c=Date.now();t.unstable_now=function(){return Date.now()-c},r=function(e){null!==s?setTimeout(r,0,e):(s=e,setTimeout(u,0))},n=function(e,t){l=setTimeout(e,t)},a=function(){clearTimeout(l)},i=function(){return!1},o=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,f=window.Date,m=window.setTimeout,p=window.clearTimeout;if("undefined"!=typeof console){var h=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof d&&"function"==typeof d.now)t.unstable_now=function(){return d.now()};else{var g=f.now();t.unstable_now=function(){return f.now()-g}}var v=!1,y=null,b=-1,E=5,w=0;i=function(){return t.unstable_now()>=w},o=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):E=0<e?Math.floor(1e3/e):5};var S=new MessageChannel,M=S.port2;S.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();w=e+E;try{y(!0,e)?M.postMessage(null):(v=!1,y=null)}catch(e){throw M.postMessage(null),e}}else v=!1},r=function(e){y=e,v||(v=!0,M.postMessage(null))},n=function(e,r){b=m((function(){e(t.unstable_now())}),r)},a=function(){p(b),b=-1}}function C(e,t){var r=e.length;e.push(t);e:for(;;){var n=r-1>>>1,a=e[n];if(!(void 0!==a&&0<D(a,t)))break e;e[n]=t,e[r]=a,r=n}}function I(e){return void 0===(e=e[0])?null:e}function N(e){var t=e[0];if(void 0!==t){var r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,a=e.length;n<a;){var i=2*(n+1)-1,o=e[i],s=i+1,l=e[s];if(void 0!==o&&0>D(o,r))void 0!==l&&0>D(l,o)?(e[n]=l,e[s]=r,n=s):(e[n]=o,e[i]=r,n=i);else{if(!(void 0!==l&&0>D(l,r)))break e;e[n]=l,e[s]=r,n=s}}}return t}return null}function D(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}var T=[],A=[],x=1,_=null,O=3,k=!1,P=!1,R=!1;function F(e){for(var t=I(A);null!==t;){if(null===t.callback)N(A);else{if(!(t.startTime<=e))break;N(A),t.sortIndex=t.expirationTime,C(T,t)}t=I(A)}}function L(e){if(R=!1,F(e),!P)if(null!==I(T))P=!0,r(U);else{var t=I(A);null!==t&&n(L,t.startTime-e)}}function U(e,r){P=!1,R&&(R=!1,a()),k=!0;var o=O;try{for(F(r),_=I(T);null!==_&&(!(_.expirationTime>r)||e&&!i());){var s=_.callback;if(null!==s){_.callback=null,O=_.priorityLevel;var l=s(_.expirationTime<=r);r=t.unstable_now(),"function"==typeof l?_.callback=l:_===I(T)&&N(T),F(r)}else N(T);_=I(T)}if(null!==_)var u=!0;else{var c=I(A);null!==c&&n(L,c.startTime-r),u=!1}return u}finally{_=null,O=o,k=!1}}function B(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var V=o;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){P||k||(P=!0,r(U))},t.unstable_getCurrentPriorityLevel=function(){return O},t.unstable_getFirstCallbackNode=function(){return I(T)},t.unstable_next=function(e){switch(O){case 1:case 2:case 3:var t=3;break;default:t=O}var r=O;O=t;try{return e()}finally{O=r}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=V,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=O;O=e;try{return t()}finally{O=r}},t.unstable_scheduleCallback=function(e,i,o){var s=t.unstable_now();if("object"==typeof o&&null!==o){var l=o.delay;l="number"==typeof l&&0<l?s+l:s,o="number"==typeof o.timeout?o.timeout:B(e)}else o=B(e),l=s;return e={id:x++,callback:i,priorityLevel:e,startTime:l,expirationTime:o=l+o,sortIndex:-1},l>s?(e.sortIndex=l,C(A,e),null===I(T)&&e===I(A)&&(R?a():R=!0,n(L,l-s))):(e.sortIndex=o,C(T,e),P||k||(P=!0,r(U))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();F(e);var r=I(T);return r!==_&&null!==_&&null!==r&&null!==r.callback&&r.startTime<=e&&r.expirationTime<_.expirationTime||i()},t.unstable_wrapCallback=function(e){var t=O;return function(){var r=O;O=t;try{return e.apply(this,arguments)}finally{O=r}}}},9164:(e,t,r)=>{"use strict";e.exports=r(9492)},6943:e=>{e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],n=0;n<e.rangeCount;n++)r.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||r.forEach((function(t){e.addRange(t)})),t&&t.focus()}}},4115:()=>{},5353:()=>{},7116:()=>{},6340:()=>{}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return a[e].call(r.exports,r,r.exports,o),r.exports}o.m=a,o.amdO={},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var a=Object.create(null);o.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>r[e]));return i.default=()=>r,o.d(a,i),a},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((t,r)=>(o.f[r](e,t),t)),[])),o.u=e=>"es5/"+{41:"messages_cs",44:"messages_no",47:"messages_lo",61:"messages_sk",79:"messages_es-ES",93:"messages_zh-HK",122:"messages_hr",140:"messages_sv",194:"messages_en-GB",195:"messages_es",259:"messages_pt",283:"messages_lt",293:"messages_ko",304:"messages_fi",348:"messages_da",398:"messages_id",456:"messages_ga",458:"messages_bg",478:"messages_ms",482:"messages_el",485:"messages_fr-CA",494:"messages_zh",495:"messages_pt-BR",589:"messages_pl",596:"messages_nl",645:"messages_fr",666:"messages_sl",691:"messages_ja",711:"messages_ar",722:"messages_hu",753:"messages_ru",772:"Tmetrix",797:"messages_it",845:"messages_th",856:"messages_tr",903:"messages_de",916:"messages_sr",961:"messages_iw"}[e]+".bundle.js",o.miniCssF=e=>"sheerid.css",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},n="sheerid:",o.l=(e,t,a,i)=>{if(r[e])r[e].push(t);else{var s,l;if(void 0!==a)for(var u=document.getElementsByTagName("script"),c=0;c<u.length;c++){var d=u[c];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==n+a){s=d;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,o.nc&&s.setAttribute("nonce",o.nc),s.setAttribute("data-webpack",n+a),s.src=e,0!==s.src.indexOf(window.location.origin+"/")&&(s.crossOrigin="anonymous")),r[e]=[t];var f=(t,n)=>{s.onerror=s.onload=null,clearTimeout(m);var a=r[e];if(delete r[e],s.parentNode&&s.parentNode.removeChild(s),a&&a.forEach((e=>e(n))),t)return t(n)},m=setTimeout(f.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=f.bind(null,s.onerror),s.onload=f.bind(null,s.onload),l&&document.head.appendChild(s)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.p="",(()=>{var e={143:0};o.f.j=(t,r)=>{var n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var a=new Promise(((r,a)=>n=e[t]=[r,a]));r.push(n[2]=a);var i=o.p+o.u(t),s=new Error;o.l(i,(r=>{if(o.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var a=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",s.name="ChunkLoadError",s.type=a,s.request=i,n[1](s)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,a,[i,s,l]=r,u=0;if(i.some((t=>0!==e[t]))){for(n in s)o.o(s,n)&&(o.m[n]=s[n]);if(l)l(o)}for(t&&t(r);u<i.length;u++)a=i[u],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},r=self.webpackChunksheerid=self.webpackChunksheerid||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var s={};return(()=>{"use strict";o.r(s),o.d(s,{VerificationForm:()=>Wg,overrideComponent:()=>Hc,resetOptions:()=>Cn,resetOverriddenComponents:()=>$c,setOptions:()=>In});var e=o(8818),t=o.n(e),r=o(3567),n=o.n(r),a=o(7917),i=o.n(a),l=o(3029),u=o.n(l),c=o(9154),d=o.n(c),f=o(6500),m=o.n(f),p=o(3537),h=o.n(p),g=o(944),v=o.n(g),y=o(6709);function b(e,t,r){return t in e?y(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var E="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==E&&E,w={searchParams:"URLSearchParams"in E,iterable:"Symbol"in E&&"iterator"in Symbol,blob:"FileReader"in E&&"Blob"in E&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in E,arrayBuffer:"ArrayBuffer"in E};if(w.arrayBuffer)var S=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],M=ArrayBuffer.isView||function(e){return e&&S.indexOf(Object.prototype.toString.call(e))>-1};function C(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function I(e){return"string"!=typeof e&&(e=String(e)),e}function N(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return w.iterable&&(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 T(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function A(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function x(e){var t=new FileReader,r=A(t);return t.readAsArrayBuffer(e),r}function _(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function O(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:w.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:w.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:w.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():w.arrayBuffer&&w.blob&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=_(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):w.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||M(e))?this._bodyArrayBuffer=_(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):w.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},w.blob&&(this.blob=function(){var e=T(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(){if(this._bodyArrayBuffer){var e=T(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(x)}),this.text=function(){var e=T(this);if(e)return e;if(this._bodyBlob)return function(e){var t=new FileReader,r=A(t);return t.readAsText(e),r}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},w.formData&&(this.formData=function(){return this.text().then(R)}),this.json=function(){return this.text().then(JSON.parse)},this}D.prototype.append=function(e,t){e=C(e),t=I(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},D.prototype.delete=function(e){delete this.map[C(e)]},D.prototype.get=function(e){return e=C(e),this.has(e)?this.map[e]:null},D.prototype.has=function(e){return this.map.hasOwnProperty(C(e))},D.prototype.set=function(e,t){this.map[C(e)]=I(t)},D.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},D.prototype.keys=function(){var e=[];return this.forEach((function(t,r){e.push(r)})),N(e)},D.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),N(e)},D.prototype.entries=function(){var e=[];return this.forEach((function(t,r){e.push([r,t])})),N(e)},w.iterable&&(D.prototype[Symbol.iterator]=D.prototype.entries);var k=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function P(e,t){if(!(this instanceof P))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n,a=(t=t||{}).body;if(e instanceof P){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,a||null==e._bodyInit||(a=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=t.method||this.method||"GET",n=r.toUpperCase(),k.indexOf(n)>-1?n:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&a)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(a),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var i=/([?&])_=[^&]*/;if(i.test(this.url))this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function R(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),a=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(a))}})),t}function F(e,t){if(!(this instanceof F))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new D(t.headers),this.url=t.url||"",this._initBody(e)}P.prototype.clone=function(){return new P(this,{body:this._bodyInit})},O.call(P.prototype),O.call(F.prototype),F.prototype.clone=function(){return new F(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new D(this.headers),url:this.url})},F.error=function(){var e=new F(null,{status:0,statusText:""});return e.type="error",e};var L=[301,302,303,307,308];F.redirect=function(e,t){if(-1===L.indexOf(t))throw new RangeError("Invalid status code");return new F(null,{status:t,headers:{location:e}})};var U=E.DOMException;try{new U}catch(e){U=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},U.prototype=Object.create(Error.prototype),U.prototype.constructor=U}function B(e,t){return new Promise((function(r,n){var a=new P(e,t);if(a.signal&&a.signal.aborted)return n(new U("Aborted","AbortError"));var i=new XMLHttpRequest;function o(){i.abort()}i.onload=function(){var e,t,n={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",t=new D,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var a=r.join(":").trim();t.append(n,a)}})),t)};n.url="responseURL"in i?i.responseURL:n.headers.get("X-Request-URL");var a="response"in i?i.response:i.responseText;setTimeout((function(){r(new F(a,n))}),0)},i.onerror=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},i.ontimeout=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},i.onabort=function(){setTimeout((function(){n(new U("Aborted","AbortError"))}),0)},i.open(a.method,function(e){try{return""===e&&E.location.href?E.location.href:e}catch(t){return e}}(a.url),!0),"include"===a.credentials?i.withCredentials=!0:"omit"===a.credentials&&(i.withCredentials=!1),"responseType"in i&&(w.blob?i.responseType="blob":w.arrayBuffer&&a.headers.get("Content-Type")&&-1!==a.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof D?a.headers.forEach((function(e,t){i.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){i.setRequestHeader(e,I(t.headers[e]))})),a.signal&&(a.signal.addEventListener("abort",o),i.onreadystatechange=function(){4===i.readyState&&a.signal.removeEventListener("abort",o)}),i.send(void 0===a._bodyInit?null:a._bodyInit)}))}B.polyfill=!0,E.fetch||(E.fetch=B,E.Headers=D,E.Request=P,E.Response=F);var V=o(8675);o.n(V)()(Object)||(Object.values=function(e){const t=[];for(const r in e)e.hasOwnProperty(r)&&t.push(e[r]);return t});var z=o(8903),j=o.n(z);!function(e){const t="currentScript";t in e||v()(e,t,{get(){try{throw new Error}catch(n){const a=/.*at [^(]*\((.*):(.+):(.+)\)$/gi.exec(n.stack),i=a&&a[1]||!1,o=a&&a[2]||!1,s=e.location.href.replace(e.location.hash,""),l=e.getElementsByTagName("script");let u,c,d,f=0;var t;if(i===s)u=e.documentElement.outerHTML,c=new RegExp(`(?:[^\\n]+?\\n){0,${o-2}}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*`,"i"),d=j()(t=u.replace(c,"$1")).call(t);for(;f<l.length;f+=1){var r;if("interactive"===l[f].readyState)return l[f];if(l[f].src===i)return l[f];if(i===s&&l[f].innerHTML&&j()(r=l[f].innerHTML).call(r)===d)return l[f]}return null}}})}(document);var H=o(9910),$=o.n(H);"function"!=typeof $()&&(Object.assign=function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");const r=Object(e);for(let e=1;e<arguments.length;e+=1){const t=arguments[e];if(null!=t)for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=t[e])}return r});var q=o(6255),W=o(3059),G=o(3371),Y=o.n(G),K=o(3049),Z=o.n(K),J=o(1306),X=o.n(J),Q=o(210),ee=o.n(Q),te=o(2021),re=o.n(te),ne=o(3305),ae=o.n(ne);function ie(e){return ae()(e)}function oe(e,t){try{return e()}catch(e){return t}}function se(...e){const r=e=>e&&"object"==typeof e;function n(e,a){var i;return d()(i=t()(a)).call(i,(t=>{const i=e[t],o=a[t];X()(i)&&X()(o)?e[t]=ee()(i).call(i,o):r(i)&&r(o)?e[t]=n($()({},i),o):e[t]=o})),e}if(e.length<2)throw new Error("deepMerge: this function expects at least 2 objects to be provided");if(re()(e).call(e,(e=>!r(e))))throw new Error('deepMerge: all values should be of type "object"');const a=e.shift();let i;for(;i=e.shift();)n(a,i);return a}let le=4,ue="";const ce={info:1,log:2,warn:3,error:4},de={info:"#26c1db",log:"#09f979",warn:"#f6b13f",error:"#e12046"},fe="color: white; font-weight: bold; padding: 2px 10px;";let me;const pe=(...e)=>{le<=3&&console.warn(`%c${ue} warn`,`background: ${de.warn};${fe}`,...e)},he={error:(e,t)=>{if(le<=4){if(!e)return void console.error(new Error("An error must be supplied"));let r;"string"==typeof e&&(r=new Error(e)),(e=>e&&e.stack&&e.message)(e)&&(r=e),r||(r=new Error("Unknown error"));let n={errorMessageGroup:t};try{if(me&&me.getState){const e=me.getState(),r=oe((()=>e.verificationResponse.errorIds));n={errorMessageGroup:t,programId:oe((()=>e.programId)),isLoading:oe((()=>e.isLoading)),isErrored:oe((()=>e.isErrored)),errorIdsFromVerRsp:X()(r)?r.join:void 0,verificationId:oe((()=>e.verificationResponse.verificationId)),currentStep:oe((()=>e.verificationResponse.currentStep)),locale:oe((()=>e.programTheme.intl.locale)),isTestMode:oe((()=>e.programTheme.isTestMode)),openOrgSearchEnabled:oe((()=>e.programTheme.openOrgSearchEnabled)),jslibVerActual:oe((()=>window.sheerIdPubV),"?"),jslibVerRequested:oe((()=>window.sheerIdReqV),"?")}}}catch(e){console.warn("Unable to assemble useful error attributes",e)}try{window.NREUM?window.NREUM.noticeError(r,n):pe("Off-site logging not available.")}catch(e){console.error("Unable to send error to remote service",e)}console.error(`%c${ue} error`,`background: ${de.error};${fe}`,r,n)}},warn:pe,log:(...e)=>{le<=2&&console.log(`%c${ue} log`,`background: ${de.log};${fe}`,...e)},info:(...e)=>{le<=1&&console.log(`%c${ue} info`,`background: ${de.info};${fe}`,...e)},logAPIResponseTime:(e,t)=>{window.NREUM?window.NREUM.addPageAction("API-calls-timing",{api_call:e,api_response_time:t}):pe("Off-site logging not available.")},setLogLevel:e=>{if(!ce.hasOwnProperty(e))throw new Error(`Unknown logLevel '${e}'`);le=ce[e],console.log(`%c${ue} log level set to ${e}`,`background: ${de[e]};${fe}`)},setPrefix:e=>{ue=e},init:e=>{me=e}},ge=["ar","bg","cs","da","de","el","en-GB","en-US","es-ES","es","fi","fr-CA","fr","ga","hr","hu","id","it","iw","ja","ko","lo","lt","ms","nl","nl-BE","no","pl","pt-BR","pt","ro","ru","sk","sl","sr","sv","ur","vi","th","tr","zh-HK","zh","zu"];let ve;!function(e){e.collectStudentPersonalInfo="collectStudentPersonalInfo",e.collectTeacherPersonalInfo="collectTeacherPersonalInfo",e.collectMemberPersonalInfo="collectMemberPersonalInfo",e.collectMilitaryStatus="collectMilitaryStatus",e.collectActiveMilitaryPersonalInfo="collectActiveMilitaryPersonalInfo",e.collectInactiveMilitaryPersonalInfo="collectInactiveMilitaryPersonalInfo",e.collectSeniorPersonalInfo="collectSeniorPersonalInfo",e.collectAgePersonalInfo="collectAgePersonalInfo",e.collectFirstResponderPersonalInfo="collectFirstResponderPersonalInfo",e.collectMedicalProfessionalPersonalInfo="collectMedicalProfessionalPersonalInfo",e.collectEmployeePersonalInfo="collectEmployeePersonalInfo",e.collectSocialSecurityNumber="collectSocialSecurityNumber",e.cancelSocialSecurityNumber="cancelSocialSecurityNumber",e.collectDriverLicensePersonalInfo="collectDriverLicensePersonalInfo",e.collectGeneralIdentityPersonalInfo="collectGeneralIdentityPersonalInfo",e.collectHybridIdentityPersonalInfo="collectHybridIdentityPersonalInfo",e.collectLicensedProfessionalPersonalInfo="collectLicensedProfessionalPersonalInfo",e.collectMoverPersonalInfo="collectMoverPersonalInfo",e.collectLowIncomePersonalInfo="collectLowIncomePersonalInfo",e.docUpload="docUpload",e.pending="pending",e.docReviewLimitExceeded="docReviewLimitExceeded",e.success="success",e.error="error",e.sso="sso",e.smsLoop="smsLoop",e.emailLoop="emailLoop",e.cancelEmailLoop="cancelEmailLoop",e.consolation="consolation",e.override="override",e.cancelDocUpload="cancelDocUpload",e.missingRequiredMetadata="missingRequiredMetadata"}(ve||(ve={}));const ye=Y()(ve),be=i()(ye).call(ye,(e=>Z()(e).call(e,"collect")));let Ee;!function(e){e.docUpload="docUpload",e.pending="pending",e.error="error"}(Ee||(Ee={}));Y()(Ee);let we;!function(e){e.loading="loading",e.collect="collect"}(we||(we={}));const Se=[...Y()(ve),...Y()(we)];let Me,Ce,Ie;!function(e){e.TEXT="TEXT",e.QR="QR",e.PDF417="PDF417",e.UPC_A="UPC_A",e.ITF="ITF",e.CODE_128="CODE_128"}(Me||(Me={})),function(e){e.student="collectStudentPersonalInfo",e.military="collectActiveMilitaryPersonalInfo",e.teacher="collectTeacherPersonalInfo",e.firstResponder="collectFirstResponderPersonalInfo",e.senior="collectSeniorPersonalInfo",e.age="collectAgePersonalInfo",e.medical="collectMedicalProfessionalPersonalInfo",e.recentMover="collectMoverPersonalInfo",e.licensedProfessional="collectLicensedProfessionalPersonalInfo",e.identity="collectGeneralIdentityPersonalInfo",e.member="collectMemberPersonalInfo"}(Ce||(Ce={})),function(e){e.STUDENT="student",e.MILITARY="military",e.TEACHER="teacher",e.MEMBER="member",e.SENIOR="senior",e.AGE="age",e.FIRST_RESPONDER="firstResponder",e.MEDICAL="medical",e.EMPLOYMENT="employment",e.IDENTITY="identity",e.LICENSED_PROFESSIONAL="licensedProfessional",e.RECENT_MOVER="recentMover",e.LOW_INCOME="lowIncome"}(Ie||(Ie={}));const Ne=Y()(Ie);let De;!function(e){e.ACTIVE_DUTY="activeDuty",e.VETERAN="veteran",e.RESERVIST="reservist",e.MILITARY_RETIREE="retiree",e.MILITARY_FAMILY="militaryFamily",e.GOLD_STAR_FAMILY="goldStarFamily",e.FIREFIGHTER="fireFighter",e.POLICE="police",e.EMT="emt",e.NURSE="nurse",e.DRIVER_LICENSE="driverLicense",e.GENERAL_IDENTITY="generalIdentity",e.HYBRID_IDENTITY="hybridIdentity",e.HOME_BUYER="homeBuyer",e.OTHER_MOVER="otherMover",e.LICENSED_COSMETOLOGIST="licensedCosmetologist",e.LICENSED_REAL_ESTATE_AGENT="licensedRealEstateAgent",e.VETERINARIAN="Veterinarian",e.SNAP_BENEFITS="snapBenefits",e.OTHER_GOVERNMENT_ASSISTANCE="otherGovernmentAssistance",e.CHILD_CARE_WORKER="childCareWorker",e.LIBRARIAN="librarian"}(De||(De={}));Y()(De);const Te={ACTIVE_DUTY:"Active Duty",MILITARY_RETIREE:"Military Retiree",RESERVIST:"Reservist or National Guard",VETERAN:"Military Veteran or Retiree",MILITARY_FAMILY:"Military Family",GOLD_STAR_FAMILY:"Gold Star Family"},Ae=["Air Force Reserve","Air National Guard","Army Reserve","Army National Guard","Coast Guard Reserve","Marine Corps Forces Reserve","Navy Reserve"],xe={FIREFIGHTER:"Firefighter",POLICE:"Police",EMT:"EMT",SEARCH_AND_RESCUE:"Search and Rescue"},_e={NURSE:"Nurse",DOCTOR:"Doctor",OTHER_HEALTH_WORKER:"Other Health Worker",DENTIST:"Dentist",PHARMACIST:"Pharmacist"};Y()(Te),Y()(xe),Y()(_e),Y()({HOME_BUYER:"Home Buyer",OTHER_MOVER:"Other Mover"}),Y()({SNAP_BENEFITS:"Snap Benefits Recipient",OTHER_GOVERNMENT_ASSISTANCE:"Other Government Assistance Recipient"});let Oe;!function(e){e.firstName="firstName",e.lastName="lastName",e.memberId="memberId",e.organization="organization",e.birthDate="birthDate",e.email="email",e.phoneNumber="phoneNumber",e.postalCode="postalCode",e.address1="address1",e.city="city",e.country="country",e.state="state",e.dischargeDate="dischargeDate",e.activeDutyStartDate="activeDutyStartDate",e.docUpload="docUpload",e.status="status",e.statuses="statuses",e.marketConsentValue="marketConsentValue",e.socialSecurityNumber="socialSecurityNumber",e.carrierConsentValue="carrierConsentValue",e.driverLicenseNumber="driverLicenseNumber",e.ebtCardNumber="ebtCardNumber",e.overrideCode="overrideCode"}(Oe||(Oe={}));const ke=Y()(Oe);let Pe;!function(e){e.ON_VERIFICATION_READY="ON_VERIFICATION_READY",e.ON_VERIFICATION_SUCCESS="ON_VERIFICATION_SUCCESS",e.ON_VERIFICATION_STEP_CHANGE="ON_VERIFICATION_STEP_CHANGE",e.ON_FORM_LOCALE_CHANGE="ON_FORM_LOCALE_CHANGE"}(Pe||(Pe={}));const Re=Y()(Pe);let Fe;!function(e){e.AK="AK",e.AL="AL",e.AR="AR",e.AZ="AZ",e.AS="AS",e.CA="CA",e.CO="CO",e.CT="CT",e.DC="DC",e.DE="DE",e.FL="FL",e.GA="GA",e.GU="GU",e.HI="HI",e.IA="IA",e.ID="ID",e.IL="IL",e.IN="IN",e.KS="KS",e.KY="KY",e.LA="LA",e.MA="MA",e.MD="MD",e.ME="ME",e.MI="MI",e.MN="MN",e.MO="MO",e.MS="MS",e.MT="MT",e.NC="NC",e.ND="ND",e.NE="NE",e.NH="NH",e.NJ="NJ",e.NM="NM",e.NV="NV",e.NY="NY",e.OH="OH",e.OK="OK",e.OR="OR",e.PA="PA",e.PR="PR",e.RI="RI",e.SC="SC",e.SD="SD",e.TN="TN",e.TX="TX",e.UT="UT",e.VA="VA",e.VI="VI",e.VT="VT",e.WA="WA",e.WI="WI",e.WV="WV",e.WY="WY"}(Fe||(Fe={}));var Le=o(7116),Ue=o.n(Le),Be=o(8314),Ve=o.n(Be),ze=o(1962),je=o.n(ze),He=o(914),$e=o.n(He),qe=o(2971),We=o.n(qe),Ge=o(5958),Ye=o.n(Ge);function Ke(e){return JSON.stringify(e.map((function(e){return e&&"object"==typeof e?(t=e,Object.keys(t).sort().map((function(e){var r;return(r={})[e]=t[e],r}))):e;var t})))}const Ze=function(e,t){return void 0===t&&(t={}),function(){for(var r,n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var i=Ke(n),o=i&&t[i];return o||(o=new((r=e).bind.apply(r,[void 0].concat(n))),i&&(t[i]=o)),o}};var Je={locale:"en",pluralRuleFunction:function(e,t){var r=String(e).split("."),n=!r[1],a=Number(r[0])==e,i=a&&r[0].slice(-1),o=a&&r[0].slice(-2);return t?1==i&&11!=o?"one":2==i&&12!=o?"two":3==i&&13!=o?"few":"other":1==e&&n?"one":"other"},fields:{year:{displayName:"year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"}}},"year-short":{displayName:"yr.",relative:{0:"this yr.",1:"next yr.","-1":"last yr."},relativeTime:{future:{one:"in {0} yr.",other:"in {0} yr."},past:{one:"{0} yr. ago",other:"{0} yr. ago"}}},month:{displayName:"month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"}}},"month-short":{displayName:"mo.",relative:{0:"this mo.",1:"next mo.","-1":"last mo."},relativeTime:{future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"}}},day:{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},"day-short":{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},hour:{displayName:"hour",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}}},"hour-short":{displayName:"hr.",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hr.",other:"in {0} hr."},past:{one:"{0} hr. ago",other:"{0} hr. ago"}}},minute:{displayName:"minute",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}}},"minute-short":{displayName:"min.",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} min.",other:"in {0} min."},past:{one:"{0} min. ago",other:"{0} min. ago"}}},second:{displayName:"second",relative:{0:"now"},relativeTime:{future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}}},"second-short":{displayName:"sec.",relative:{0:"now"},relativeTime:{future:{one:"in {0} sec.",other:"in {0} sec."},past:{one:"{0} sec. ago",other:"{0} sec. ago"}}}}};function Xe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];(Array.isArray(e)?e:[e]).forEach((function(e){e&&e.locale&&(Ve().__addLocaleData(e),je().__addLocaleData(e))}))}function Qe(e){var t=e&&e.toLowerCase();return!(!Ve().__localeData__[t]||!je().__localeData__[t])}var et="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},tt=(function(){function e(e){this.value=e}function t(t){var r,n;function a(r,n){try{var o=t[r](n),s=o.value;s instanceof e?Promise.resolve(s.value).then((function(e){a("next",e)}),(function(e){a("throw",e)})):i(o.done?"return":"normal",o.value)}catch(e){i("throw",e)}}function i(e,t){switch(e){case"return":r.resolve({value:t,done:!0});break;case"throw":r.reject(t);break;default:r.resolve({value:t,done:!1})}(r=r.next)?a(r.key,r.arg):n=null}this._invoke=function(e,t){return new Promise((function(i,o){var s={key:e,arg:t,resolve:i,reject:o,next:null};n?n=n.next=s:(r=n=s,a(e,t))}))},"function"!=typeof t.return&&(this.return=void 0)}"function"==typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype.throw=function(e){return this._invoke("throw",e)},t.prototype.return=function(e){return this._invoke("return",e)}}(),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),rt=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),nt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},at=function(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)},it=function(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},ot=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)},st=$e().bool,lt=$e().number,ut=$e().string,ct=$e().func,dt=$e().object,ft=$e().oneOf,mt=$e().shape,pt=$e().any,ht=$e().oneOfType,gt=ft(["best fit","lookup"]),vt=ft(["narrow","short","long"]),yt=ft(["numeric","2-digit"]),bt=ct.isRequired,Et={locale:ut,timeZone:ut,formats:dt,messages:dt,textComponent:pt,defaultLocale:ut,defaultFormats:dt,onError:ct},wt={formatDate:bt,formatTime:bt,formatRelative:bt,formatNumber:bt,formatPlural:bt,formatMessage:bt,formatHTMLMessage:bt},St=mt(nt({},Et,wt,{formatters:dt,now:bt})),Mt=(ut.isRequired,ht([ut,dt]),{localeMatcher:gt,formatMatcher:ft(["basic","best fit"]),timeZone:ut,hour12:st,weekday:vt,era:vt,year:yt,month:ft(["numeric","2-digit","narrow","short","long"]),day:yt,hour:yt,minute:yt,second:yt,timeZoneName:ft(["short","long"])}),Ct={localeMatcher:gt,style:ft(["decimal","currency","percent"]),currency:ut,currencyDisplay:ft(["symbol","code","name"]),useGrouping:st,minimumIntegerDigits:lt,minimumFractionDigits:lt,maximumFractionDigits:lt,minimumSignificantDigits:lt,maximumSignificantDigits:lt},It={style:ft(["best fit","numeric"]),units:ft(["second","minute","hour","day","month","year","second-short","minute-short","hour-short","day-short","month-short","year-short"])},Nt={style:ft(["cardinal","ordinal"])},Dt=Object.keys(Et),Tt={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},At=/[&><"']/g;function xt(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.reduce((function(t,n){return e.hasOwnProperty(n)?t[n]=e[n]:r.hasOwnProperty(n)&&(t[n]=r[n]),t}),{})}function _t(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).intl;Ye()(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}function Ot(e,t){if(e===t)return!0;if("object"!==(void 0===e?"undefined":et(e))||null===e||"object"!==(void 0===t?"undefined":et(t))||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(t),i=0;i<r.length;i++)if(!a(r[i])||e[r[i]]!==t[r[i]])return!1;return!0}function kt(e,t,r){var n=e.props,a=e.state,i=e.context,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=(void 0===i?{}:i).intl,l=void 0===s?{}:s,u=o.intl,c=void 0===u?{}:u;return!Ot(t,n)||!Ot(r,a)||!(c===l||Ot(xt(c,Dt),xt(l,Dt)))}function Pt(e,t){return"[React Intl] "+e+(t?"\n"+t:"")}function Rt(e){0}function Ft(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.intlPropName,a=void 0===n?"intl":n,i=r.withRef,o=void 0!==i&&i,s=function(t){function r(e,t){tt(this,r);var n=it(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e,t));return _t(t),n}return at(r,t),rt(r,[{key:"getWrappedInstance",value:function(){return Ye()(o,"[React Intl] To access the wrapped instance, the `{withRef: true}` option must be set when calling: `injectIntl()`"),this._wrappedInstance}},{key:"render",value:function(){var t,r,n,i=this;return q.createElement(e,nt({},this.props,(t={},r=a,n=this.context.intl,r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t),{ref:o?function(e){return i._wrappedInstance=e}:null}))}}]),r}(q.Component);return s.displayName="InjectIntl("+(((t=e).displayName||t.name||"Component")+")"),s.contextTypes={intl:St},s.WrappedComponent=e,We()(s,e)}var Lt=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};tt(this,e);var n,a="ordinal"===r.style,i=(n=function(e){return Ve().prototype._resolveLocale(e)}(t),Ve().prototype._findPluralRuleFunction(n));this.format=function(e){return i(e,a)}},Ut=Object.keys(Mt),Bt=Object.keys(Ct),Vt=Object.keys(It),zt=Object.keys(Nt),jt={second:60,minute:60,hour:24,day:30,month:12};function Ht(e){var t=je().thresholds;t.second=e.second,t.minute=e.minute,t.hour=e.hour,t.day=e.day,t.month=e.month,t["second-short"]=e["second-short"],t["minute-short"]=e["minute-short"],t["hour-short"]=e["hour-short"],t["day-short"]=e["day-short"],t["month-short"]=e["month-short"]}function $t(e,t,r,n){var a=e&&e[t]&&e[t][r];if(a)return a;n(Pt("No "+t+" format named: "+r))}function qt(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=e.formats,o=e.messages,s=e.defaultLocale,l=e.defaultFormats,u=r.id,c=r.defaultMessage;Ye()(u,"[React Intl] An `id` must be provided to format a message.");var d=o&&o[u];if(!(Object.keys(n).length>0))return d||c||u;var f=void 0,m=e.onError||Rt;if(d)try{f=t.getMessageFormat(d,a,i).format(n)}catch(e){m(Pt('Error formatting message: "'+u+'" for locale: "'+a+'"'+(c?", using default message as fallback.":""),e))}else(!c||a&&a.toLowerCase()!==s.toLowerCase())&&m(Pt('Missing message: "'+u+'" for locale: "'+a+'"'+(c?", using default message as fallback.":"")));if(!f&&c)try{f=t.getMessageFormat(c,s,l).format(n)}catch(e){m(Pt('Error formatting the default message for: "'+u+'"',e))}return f||m(Pt('Cannot format message: "'+u+'", using message '+(d||c?"source":"id")+" as fallback.")),f||d||c||u}var Wt=Object.freeze({formatDate:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=e.formats,o=e.timeZone,s=n.format,l=e.onError||Rt,u=new Date(r),c=nt({},o&&{timeZone:o},s&&$t(i,"date",s,l)),d=xt(n,Ut,c);try{return t.getDateTimeFormat(a,d).format(u)}catch(e){l(Pt("Error formatting date.",e))}return String(u)},formatTime:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=e.formats,o=e.timeZone,s=n.format,l=e.onError||Rt,u=new Date(r),c=nt({},o&&{timeZone:o},s&&$t(i,"time",s,l)),d=xt(n,Ut,c);d.hour||d.minute||d.second||(d=nt({},d,{hour:"numeric",minute:"numeric"}));try{return t.getDateTimeFormat(a,d).format(u)}catch(e){l(Pt("Error formatting time.",e))}return String(u)},formatRelative:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=e.formats,o=n.format,s=e.onError||Rt,l=new Date(r),u=new Date(n.now),c=o&&$t(i,"relative",o,s),d=xt(n,Vt,c),f=nt({},je().thresholds);Ht(jt);try{return t.getRelativeFormat(a,d).format(l,{now:isFinite(u)?u:t.now()})}catch(e){s(Pt("Error formatting relative time.",e))}finally{Ht(f)}return String(l)},formatNumber:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=e.formats,o=n.format,s=e.onError||Rt,l=o&&$t(i,"number",o,s),u=xt(n,Bt,l);try{return t.getNumberFormat(a,u).format(r)}catch(e){s(Pt("Error formatting number.",e))}return String(r)},formatPlural:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=xt(n,zt),o=e.onError||Rt;try{return t.getPluralFormat(a,i).format(r)}catch(e){o(Pt("Error formatting plural.",e))}return"other"},formatMessage:qt,formatHTMLMessage:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=Object.keys(n).reduce((function(e,t){var r=n[t];return e[t]="string"==typeof r?(""+r).replace(At,(function(e){return Tt[e]})):r,e}),{});return qt(e,t,r,a)}}),Gt=Object.keys(Et),Yt=Object.keys(wt),Kt={formats:{},messages:{},timeZone:null,textComponent:"span",defaultLocale:"en",defaultFormats:{},onError:Rt},Zt=function(e){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};tt(this,t);var n=it(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));Ye()("undefined"!=typeof Intl,"[React Intl] The `Intl` APIs must be available in the runtime, and do not appear to be built-in. An `Intl` polyfill should be loaded.\nSee: http://formatjs.io/guides/runtime-environments/");var a=r.intl,i=void 0;i=isFinite(e.initialNow)?Number(e.initialNow):a?a.now():Date.now();var o=(a||{}).formatters,s=void 0===o?{getDateTimeFormat:Ze(Intl.DateTimeFormat),getNumberFormat:Ze(Intl.NumberFormat),getMessageFormat:Ze(Ve()),getRelativeFormat:Ze(je()),getPluralFormat:Ze(Lt)}:o;return n.state=nt({},s,{now:function(){return n._didDisplay?Date.now():i}}),n}return at(t,e),rt(t,[{key:"getConfig",value:function(){var e=this.context.intl,t=xt(this.props,Gt,e);for(var r in Kt)void 0===t[r]&&(t[r]=Kt[r]);if(!function(e){for(var t=(e||"").split("-");t.length>0;){if(Qe(t.join("-")))return!0;t.pop()}return!1}(t.locale)){var n=t,a=n.locale,i=n.defaultLocale,o=n.defaultFormats;(0,n.onError)(Pt('Missing locale data for locale: "'+a+'". Using default locale: "'+i+'" as fallback.')),t=nt({},t,{locale:i,formats:o,messages:Kt.messages})}return t}},{key:"getBoundFormatFns",value:function(e,t){return Yt.reduce((function(r,n){return r[n]=Wt[n].bind(null,e,t),r}),{})}},{key:"getChildContext",value:function(){var e=this.getConfig(),t=this.getBoundFormatFns(e,this.state),r=this.state,n=r.now,a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(r,["now"]);return{intl:nt({},e,t,{formatters:a,now:n})}}},{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return kt.apply(void 0,[this].concat(t))}},{key:"componentDidMount",value:function(){this._didDisplay=!0}},{key:"render",value:function(){return q.Children.only(this.props.children)}}]),t}(q.Component);Zt.displayName="IntlProvider",Zt.contextTypes={intl:St},Zt.childContextTypes={intl:St.isRequired};var Jt=function(e){function t(e,r){tt(this,t);var n=it(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return _t(r),n}return at(t,e),rt(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return kt.apply(void 0,[this].concat(t))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatDate,r=e.textComponent,n=this.props,a=n.value,i=n.children,o=t(a,this.props);return"function"==typeof i?i(o):q.createElement(r,null,o)}}]),t}(q.Component);Jt.displayName="FormattedDate",Jt.contextTypes={intl:St};var Xt=function(e){function t(e,r){tt(this,t);var n=it(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return _t(r),n}return at(t,e),rt(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return kt.apply(void 0,[this].concat(t))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatTime,r=e.textComponent,n=this.props,a=n.value,i=n.children,o=t(a,this.props);return"function"==typeof i?i(o):q.createElement(r,null,o)}}]),t}(q.Component);Xt.displayName="FormattedTime",Xt.contextTypes={intl:St};var Qt=36e5,er=864e5;var tr=function(e){function t(e,r){tt(this,t);var n=it(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));_t(r);var a=isFinite(e.initialNow)?Number(e.initialNow):r.intl.now();return n.state={now:a},n}return at(t,e),rt(t,[{key:"scheduleNextUpdate",value:function(e,t){var r=this;clearTimeout(this._timer);var n=e.value,a=e.units,i=e.updateInterval,o=new Date(n).getTime();if(i&&isFinite(o)){var s=o-t.now,l=function(e){switch(e){case"second":return 1e3;case"minute":return 6e4;case"hour":return Qt;case"day":return er;default:return 2147483647}}(a||function(e){var t=Math.abs(e);return t<6e4?"second":t<Qt?"minute":t<er?"hour":"day"}(s)),u=Math.abs(s%l),c=s<0?Math.max(i,l-u):Math.max(i,u);this._timer=setTimeout((function(){r.setState({now:r.context.intl.now()})}),c)}}},{key:"componentDidMount",value:function(){this.scheduleNextUpdate(this.props,this.state)}},{key:"componentWillReceiveProps",value:function(e){(function(e,t){if(e===t)return!0;var r=new Date(e).getTime(),n=new Date(t).getTime();return isFinite(r)&&isFinite(n)&&r===n})(e.value,this.props.value)||this.setState({now:this.context.intl.now()})}},{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return kt.apply(void 0,[this].concat(t))}},{key:"componentWillUpdate",value:function(e,t){this.scheduleNextUpdate(e,t)}},{key:"componentWillUnmount",value:function(){clearTimeout(this._timer)}},{key:"render",value:function(){var e=this.context.intl,t=e.formatRelative,r=e.textComponent,n=this.props,a=n.value,i=n.children,o=t(a,nt({},this.props,this.state));return"function"==typeof i?i(o):q.createElement(r,null,o)}}]),t}(q.Component);tr.displayName="FormattedRelative",tr.contextTypes={intl:St},tr.defaultProps={updateInterval:1e4};var rr=function(e){function t(e,r){tt(this,t);var n=it(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return _t(r),n}return at(t,e),rt(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return kt.apply(void 0,[this].concat(t))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatNumber,r=e.textComponent,n=this.props,a=n.value,i=n.children,o=t(a,this.props);return"function"==typeof i?i(o):q.createElement(r,null,o)}}]),t}(q.Component);rr.displayName="FormattedNumber",rr.contextTypes={intl:St};var nr=function(e){function t(e,r){tt(this,t);var n=it(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return _t(r),n}return at(t,e),rt(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return kt.apply(void 0,[this].concat(t))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatPlural,r=e.textComponent,n=this.props,a=n.value,i=n.other,o=n.children,s=t(a,this.props),l=this.props[s]||i;return"function"==typeof o?o(l):q.createElement(r,null,l)}}]),t}(q.Component);nr.displayName="FormattedPlural",nr.contextTypes={intl:St},nr.defaultProps={style:"cardinal"};var ar=function(e,t){return qt({},{getMessageFormat:Ze(Ve())},e,t)},ir=function(e){function t(e,r){tt(this,t);var n=it(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return e.defaultMessage||_t(r),n}return at(t,e),rt(t,[{key:"shouldComponentUpdate",value:function(e){var t=this.props.values;if(!Ot(e.values,t))return!0;for(var r=nt({},e,{values:t}),n=arguments.length,a=Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];return kt.apply(void 0,[this,r].concat(a))}},{key:"render",value:function(){var e,t=this.context.intl||{},r=t.formatMessage,n=void 0===r?ar:r,a=t.textComponent,i=void 0===a?"span":a,o=this.props,s=o.id,l=o.description,u=o.defaultMessage,c=o.values,d=o.tagName,f=void 0===d?i:d,m=o.children,p=void 0,h=void 0,g=void 0;if(c&&Object.keys(c).length>0){var v=Math.floor(1099511627776*Math.random()).toString(16),y=(e=0,function(){return"ELEMENT-"+v+"-"+(e+=1)});p="@__"+v+"__@",h={},g={},Object.keys(c).forEach((function(e){var t=c[e];if((0,q.isValidElement)(t)){var r=y();h[e]=p+r+p,g[r]=t}else h[e]=t}))}var b=n({id:s,description:l,defaultMessage:u},h||c),E=void 0;return E=g&&Object.keys(g).length>0?b.split(p).filter((function(e){return!!e})).map((function(e){return g[e]||e})):[b],"function"==typeof m?m.apply(void 0,ot(E)):q.createElement.apply(void 0,[f,null].concat(ot(E)))}}]),t}(q.Component);ir.displayName="FormattedMessage",ir.contextTypes={intl:St},ir.defaultProps={values:{}};var or=function(e){function t(e,r){tt(this,t);var n=it(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return _t(r),n}return at(t,e),rt(t,[{key:"shouldComponentUpdate",value:function(e){var t=this.props.values;if(!Ot(e.values,t))return!0;for(var r=nt({},e,{values:t}),n=arguments.length,a=Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];return kt.apply(void 0,[this,r].concat(a))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatHTMLMessage,r=e.textComponent,n=this.props,a=n.id,i=n.description,o=n.defaultMessage,s=n.values,l=n.tagName,u=void 0===l?r:l,c=n.children,d=t({id:a,description:i,defaultMessage:o},s);if("function"==typeof c)return c(d);var f={__html:d};return q.createElement(u,{dangerouslySetInnerHTML:f})}}]),t}(q.Component);or.displayName="FormattedHTMLMessage",or.contextTypes={intl:St},or.defaultProps={values:{}},Xe(Je),Xe(Ue());var sr=o(7166),lr=o.n(sr),ur=o(2665),cr=o.n(ur),dr=o(2409),fr=o.n(dr);class mr extends q.Component{constructor(e){var t;super(e),b(this,"notificationTimeout",void 0),b(this,"timeoutRef",void 0),this.doCopy=lr()(t=this.doCopy).call(t,this),this.state={isShowing:!1},e.notificationTimeout?this.notificationTimeout=e.notificationTimeout:this.notificationTimeout=2e3}componentWillUnmount(){clearTimeout(this.timeoutRef)}doCopy(){const{textToCopy:e}=this.props;fr()(e),this.setState((()=>({isShowing:!0}))),clearTimeout(this.timeoutRef),this.timeoutRef=cr()((()=>{this.setState((()=>({isShowing:!1})))}),this.notificationTimeout)}render(){const{isShowing:e}=this.state,{notificationText:t,children:r}=this.props;return q.createElement("div",{className:"sid-to-clipboard"},e&&q.createElement("div",{className:""+(e?"sid-to-clipboard__notification-text sid-to-clipboard__notification-text--visible":"sid-to-clipboard__notification-text sid-to-clipboard__notification-text--hidden"),role:"alert","aria-live":"polite"},t||"Copied"),q.createElement("div",{onClick:this.doCopy,onKeyPress:this.doCopy,role:"button",tabIndex:0,className:"sid-to-clipboard__clickable-text sid-link"},r||"Copy"))}}var pr=o(2334);function hr(e,t,r,n,a,i,o){try{var s=e[i](o),l=s.value}catch(e){return void r(e)}s.done?t(l):pr.resolve(l).then(n,a)}function gr(e){return function(){var t=this,r=arguments;return new pr((function(n,a){var i=e.apply(t,r);function o(e){hr(i,n,a,o,s,"next",e)}function s(e){hr(i,n,a,o,s,"throw",e)}o(void 0)}))}}var vr=o(9683),yr=o.n(vr),br=o(9469),Er=o.n(br),wr=o(2486),Sr=o.n(wr),Mr=o(7475),Cr=o.n(Mr),Ir=o(6534),Nr=o.n(Ir),Dr=o(3944),Tr=o.n(Dr);const Ar=e=>e.replace(/\/?$/,"/"),xr=e=>{var t;const r=new(Er())(e||window.location.toString());return new(Sr())(Tr()(t=r.search).call(t,1))},_r=(e,t)=>xr(t).get(e),Or=e=>{const t=new(Sr())(e).get("verificationId");return"string"==typeof t&&0===t.length?null:t};var kr=o(6426),Pr=o.n(kr),Rr=o(8520),Fr=o.n(Rr);let Lr={},Ur=[];const Br=(e,t)=>{he.log(`customValidator registering \n${t}\n for custom field '${e}'`),Lr[e]=t,Ur.push(e)},Vr=e=>Lr[e]?(he.log(`getCustomValidator returning '${e}'`),Lr[e]):(he.error(`Custom validator for field '${e}' does not exist.\n Has a custom validator been registered using the setCustomValidator method?`,"getCustomValidator"),null),zr=e=>Pr()(Ur).call(Ur,e)>-1,jr=()=>Ur,Hr=e=>{if(Pr()(ye).call(ye,e)<0)throw new Error(`Expected valid verification step name but received "${e}".`)},$r=e=>{if(Pr()(Se).call(Se,e)<0)throw new Error(`Expected valid verification step name but received "${e}".`)},qr=e=>{if(Pr()(Ne).call(Ne,e)<0)throw new Error(`Expected valid segment name but received "${e}".`)},Wr=e=>{if(!Gr(e))throw new Error(`Invalid locale ${e}, expected one of ${ge.join(", ")}`)},Gr=e=>Pr()(ge).call(ge,e)>-1,Yr=e=>{if(!e||e.nodeType!==Node.ELEMENT_NODE)throw new Error(`Expected argument of type Node.ELEMENT_NODE but received "${typeof e} ${e.nodeType}"`)},Kr=e=>{en(e)},Zr=e=>{if(Pr()(Re).call(Re,e)<0)throw new Error(`Expected valid hook name but received ${e}. Valid HookNames are [${Re.join(", ")}]`)},Jr=e=>{if("function"!=typeof e)throw new Error('Expected type "function", but received '+typeof e)},Xr=e=>{if("string"!=typeof e)throw new Error(`Expected trackingId to be a string, but received ${typeof e} instead.`);if(e.length<1)throw new Error("Expected trackingId string length greater than 0.")},Qr=e=>{if("object"!=typeof e)throw new Error(`Expected conversion request to be an object, but received ${typeof e} instead.`);if(e.hasOwnProperty("amount")&&"number"!=typeof e.amount)throw new Error('Expected conversion request property "amount" to have type number.')},en=e=>{if(!new RegExp("^[0-9a-fA-F]{24}$").test(e))throw new Error(`Invalid databaseId "${e}". Expected a 24-digit hexadecimal string.`)},tn="en-US",rn=["image/png","image/gif","image/jpg","image/jpeg","image/bmp","application/pdf"],nn="mockStep",an="mockSegment",on="mockSubSegment",sn="mockErrorId",ln="mockRewardCode",un="mockRedirectUrl",cn="mockDocSelected",dn="mockPreviousStep",fn="installPageUrl",mn="installType",pn={MAX_RESULT_SIZE:25,ORG_TYPES:"UNIVERSITY,HIGH_SCHOOL,K12",DEFAULT_ORG_TYPES:"UNIVERSITY",URL_REGEX:/(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,10}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)/,SCHOOL_HOUSE_URL:"https://assets-resources.sheerid.com/common/images/requestOrganization/school.svg",SHEERID_LOGO_URL:"https://assets-resources.sheerid.com/common/images/requestOrganization/logo.svg",FEEDBACK_FORM_URL:"https://verify.sheerid.com/verification-support/feedback.html?token="},hn="SheerID Verification Form",gn={INLINE_IFRAME_CONTENT:"sid-inline-iframe",MODAL_WRAPPER:"sid-modal__wrapper",MODAL_IFRAME:"sid-modal__iframe",OVERLAY:"sid-modal__overlay",CLOSE_BUTTON:"sid-modal__close-button",CLOSE_TEXT:"sid-modal__close-text",CLOSE_ICON:"sid-modal__close-icon"},vn=620,yn=300;function bn(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function En(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=bn(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=bn(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const wn={restApi:{serviceUrl:"https://services.sheerid.com/",resources:{verification:"rest/v2/verification/",program:{base:"rest/v2/program/",theme:"theme",organization:"organization"},conversion:{base:"rest/v2/conversion/"}}},mockStep:void 0,mockSubSegment:void 0,mockErrorId:void 0,mockRewardCode:void 0,mockRedirectUrl:void 0,mockDocSelected:void 0,installPageUrl:void 0,mockResponse:void 0,doFetchTheme:!0,logLevel:"error",locale:null,messages:{},messagesWithLocale:{},urlFaq:"https://offers.sheerid.com/sheerid/help-center/",urlStudentFaq:"https://verify.sheerid.com/student-faq/",urlSeniorFaq:"https://verify.sheerid.com/us-senior-faq/",urlAgeFaq:"https://verify.sheerid.com/us-age-faq/",urlMilitaryFaq:"https://verify.sheerid.com/military-faq/",urlTeacherFaq:"https://verify.sheerid.com/us-teacher-faq/",urlMemberFaq:"https://verify.sheerid.com/membership-faq/",urlFirstResponderFaq:"https://verify.sheerid.com/first-responder-faq/",urlMedicalFaq:"https://verify.sheerid.com/us-medical-faq/",urlEmploymentFaq:"https://verify.sheerid.com/employment-faq/",urlIdentityFaq:"https://verify.sheerid.com/identity-faq/",urlLicensedProfessionalFaq:"https://verify.sheerid.com/professions-faq/",urlLowIncomeFaq:"https://verify.sheerid.com/low-income-faq/",urlAddSchoolFaq:"https://verify.sheerid.com/add-school-request-faq/",urlAddSchoolForm:"https://offers.sheerid.com/sheerid/add-school-request/",privacyPolicyUrl:void 0,cookies:{enabled:!0,secure:!0,expires:7},useFingerprinting:!1,verificationId:void 0,minimumOrganizationSearchLength:1,httpRequestTimeout:1e4,hideTestModeFlag:!1,hideMilitaryFamilyAcceptableUploads:!0,customFormFields:[]};let Sn=En({},wn);const Mn=()=>Sn,Cn=()=>{Sn=En({},wn)},In=e=>{if(e.hasOwnProperty("logLevel")){try{he.setLogLevel(e.logLevel)}catch(e){console.error(e)}Sn.logLevel=e.logLevel}if(e.hasOwnProperty("restApi")){if(e.restApi.hasOwnProperty("serviceUrl")){const t=Ar(e.restApi.serviceUrl);Sn.restApi.serviceUrl=t,he.info(`option "serviceUrl" set to ${Sn.restApi.serviceUrl}`)}}var r;e.hasOwnProperty(nn)&&($r(e[nn]),Sn[nn]=e[nn],he.info(`option "${nn}" set to ${Sn[nn]}`)),e.hasOwnProperty(dn)&&($r(e[nn]),Sn[dn]=e[dn],he.info(`option "${dn}" set to ${Sn[dn]}`)),e.hasOwnProperty(an)&&(Sn[an]=e[an],he.info(`option "${an}" set to ${Sn[an]}`)),e.hasOwnProperty(on)&&(Sn[on]=e[on],he.info(`option "${on}" set to ${Sn[on]}`)),e.hasOwnProperty(sn)&&(Sn[sn]=e[sn],he.info(`option "${sn}" set to ${Sn[sn]}`)),e.hasOwnProperty(ln)&&(Sn[ln]=e[ln],he.info(`option "${ln}" set to ${Sn[ln]}`)),e.hasOwnProperty(un)&&(Sn[un]=e[un],he.info(`option "${un}" set to ${Sn[un]}`)),e.hasOwnProperty(fn)&&(Sn[fn]=e[fn],he.info(`option "${fn}" set to ${Sn[fn]}`)),e.hasOwnProperty(cn)&&(Sn[cn]=e[cn],he.info(`option "${cn}" set to ${Sn[cn]}`)),e.hasOwnProperty("mockResponse")&&(Sn.mockResponse=ie(e.mockResponse),he.info('option "mockResponse" set to',Sn.mockResponse)),e.hasOwnProperty("messages")&&(Sn.messagesWithLocale=En(En({},Sn.messagesWithLocale),{},{"en-US":e.messages}),he.warn('option "messages" has been deprecated and replaced with "messagesWithLocale". Messages have been set for locale "en-US" using: ',Sn.messagesWithLocale,'\nThese messages will override existing messages of the same key for "en-US" locale.')),e.hasOwnProperty("messagesWithLocale")&&(Sn.messagesWithLocale=se({},Sn.messagesWithLocale,e.messagesWithLocale),e&&e.messagesWithLocale&&(r=t()(e.messagesWithLocale),he.info(`Registering additional locales ${r.join(", ")}`),ge.push(...r)),he.info('option "messagesWithLocale" set to',Sn.messagesWithLocale)),e.hasOwnProperty("locale")&&(Wr(e.locale),Sn.locale=e.locale,he.info(`option "locale" set to ${Sn.locale}`)),e.hasOwnProperty("urlStudentFaq")&&(Sn.urlStudentFaq=e.urlStudentFaq,he.info(`option "urlStudentFaq" set to ${Sn.urlStudentFaq}`)),e.hasOwnProperty("urlSeniorFaq")&&(Sn.urlSeniorFaq=e.urlSeniorFaq,he.info(`option "urlSeniorFaq" set to ${Sn.urlSeniorFaq}`)),e.hasOwnProperty("urlMilitaryFaq")&&(Sn.urlMilitaryFaq=e.urlMilitaryFaq,he.info(`option "urlMilitaryFaq" set to ${Sn.urlMilitaryFaq}`)),e.hasOwnProperty("urlTeacherFaq")&&(Sn.urlTeacherFaq=e.urlTeacherFaq,he.info(`option "urlTeacherFaq" set to ${Sn.urlTeacherFaq}`)),e.hasOwnProperty("urlMemberFaq")&&(Sn.urlMemberFaq=e.urlMemberFaq,he.info(`option "urlMemberFaq" set to ${Sn.urlMemberFaq}`)),e.hasOwnProperty("urlMedicalFaq")&&(Sn.urlMedicalFaq=e.urlMedicalFaq,he.info(`option "urlMedicalFaq" set to ${Sn.urlMedicalFaq}`)),e.hasOwnProperty("urlEmploymentFaq")&&(Sn.urlEmploymentFaq=e.urlEmploymentFaq,he.info(`option "urlEmploymentFaq" set to ${Sn.urlEmploymentFaq}`)),e.hasOwnProperty("urlAddSchoolFaq")&&(Sn.urlAddSchoolFaq=e.urlAddSchoolFaq,he.info(`option "urlAddSchoolFaq" set to ${Sn.urlAddSchoolFaq}`)),e.hasOwnProperty("urlAddSchoolForm")&&(Sn.urlAddSchoolForm=e.urlAddSchoolForm,he.info(`option "urlAddSchoolForm" set to ${Sn.urlAddSchoolForm}`)),e.hasOwnProperty("doFetchTheme")&&(Sn.doFetchTheme=e.doFetchTheme,he.info(`option "doFetchTheme" set to ${Sn.doFetchTheme}`)),e.hasOwnProperty("cookies")&&(Sn.cookies=En(En({},Sn.cookies),e.cookies),he.info('option "cookies" set to',Sn.cookies)),e.hasOwnProperty("useFingerprinting")&&(Sn.useFingerprinting=e.useFingerprinting,he.info('option "useFingerprinting" set to',Sn.useFingerprinting)),e.hasOwnProperty("marketConsent")&&(Sn.marketConsent=e.marketConsent,he.info('option "market consent" set to',Sn.marketConsent)),e.hasOwnProperty("verificationId")&&(Sn.verificationId=e.verificationId,he.info('option "verificationId" set to',Sn.verificationId)),e.hasOwnProperty("minimumOrganizationSearchLength")&&(Sn.minimumOrganizationSearchLength=e.minimumOrganizationSearchLength,he.info('option "minimumOrganizationSearchLength" set to',Sn.minimumOrganizationSearchLength)),e.hasOwnProperty("customCss")&&(Sn.customCss=e.customCss,he.info('option "customCss" set to',Sn.customCss)),e.hasOwnProperty("logoUrl")&&(Sn.logoUrl=e.logoUrl,he.info('option "logoUrl" set to',Sn.logoUrl)),e.hasOwnProperty("httpRequestTimeout")&&(Sn.httpRequestTimeout=e.httpRequestTimeout,he.info('option "httpRequestTimeout" set to',Sn.httpRequestTimeout)),e.hasOwnProperty("privacyPolicyUrl")&&(Sn.privacyPolicyUrl=e.privacyPolicyUrl,he.info('option "privacyPolicyUrl" set to',Sn.privacyPolicyUrl)),(e.hasOwnProperty("hideTestModeFlag")||_r("hideTestModeFlag"))&&(Sn.hideTestModeFlag=e.hideTestModeFlag||"true"===_r("hideTestModeFlag"),he.info('option "hideTestModeFlag" set to',Sn.hideTestModeFlag)),e.hasOwnProperty("hideMilitaryFamilyAcceptableUploads")&&(Sn.hideMilitaryFamilyAcceptableUploads=e.hideMilitaryFamilyAcceptableUploads,he.info('option "hideMilitaryFamilyAcceptableUploads" set to',Sn.hideMilitaryFamilyAcceptableUploads)),e.hasOwnProperty("customFormFields")&&(Sn.customFormFields=e.customFormFields,he.info('option "customFormFields" set to',Sn.customFormFields)),e.hasOwnProperty("customMetadata")&&(Sn.customMetadata=e.customMetadata,he.info('option "customMetadata" set to',Sn.customMetadata))};var Nn=o(8505),Dn=o.n(Nn);const Tn=class{constructor(e){b(this,"url",void 0),b(this,"start",void 0),this.url=e,this.start=Dn()()}logNow(){let e;return window.NREUM?(e={api_call:this.url,api_response_time:Dn()()-this.start},window.NREUM.addPageAction("API-calls-timing",e)):he.warn("Off-site logging not available."),e}};function An(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function xn(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=An(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=An(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const _n={Accept:"application/json","Content-Type":"application/json"},On={"Content-Type":"application/json"},kn=(e,t={})=>{const r=Mn().httpRequestTimeout;return new(yr())(((n,a)=>{const i=cr()((()=>{a(new Error("requestTimeout"))}),r);return fetch(e,t).then(n,(t=>{he.error(`Failed to fetch ${e}`,t);a(new Error("failedToFetch"))})).finally((()=>{clearTimeout(i)}))}))},Pn=function(){var e=gr((function*(e,t){let r;try{r=yield e.json()}catch(e){r=yr().resolve({})}finally{t.logNow(),he.info("Response received",r)}return r}));return function(t,r){return e.apply(this,arguments)}}(),Rn=function(){var e=gr((function*(e,t,r={}){const n=new Tn(e),a=yield kn(e,{headers:xn(xn({},_n),r),method:"POST",body:Nr()(t)});return Pn(a,n)}));return function(t,r){return e.apply(this,arguments)}}(),Fn=function(){var e=gr((function*(e,t=_n){const r=new Tn(e),n=yield kn(e,{headers:t,method:"DELETE"});return Pn(n,r)}));return function(t){return e.apply(this,arguments)}}(),Ln=function(){var e=gr((function*(e,t=_n){const r=new Tn(e),n=yield kn(e,{headers:t,method:"GET"});return Pn(n,r)}));return function(t){return e.apply(this,arguments)}}(),Un=function(){var e=gr((function*(e,t=_n){return kn(e,{headers:t,method:"GET"})}));return function(t){return e.apply(this,arguments)}}(),Bn=e=>{var t;return Cr()(t=i()(e).call(e,(e=>!!e))).call(t,(e=>({fileName:e.name,mimeType:e.type,fileSize:e.size})))},Vn=function(){var e=gr((function*(e,t,r=On){const n=new Tn(e);he.info(`PostFiles posting to ${e}`,t);const a=Nr()({files:Bn(t)}),i=yield fetch(e,{headers:r,method:"POST",body:a}),o=yield i.json(),s=oe((()=>o.documents)),l=oe((()=>o.submissionUrl));if(s&&l){yield yr().all(Cr()(s).call(s,((e,r)=>fetch(e.uploadUrl,{method:"PUT",body:t[r]}))));const e=yield fetch(l,{headers:r,method:"POST"});return Pn(e,n)}return o}));return function(t,r){return e.apply(this,arguments)}}();var zn=o(3106),jn=o.n(zn);const Hn=()=>`${Mn().restApi.serviceUrl}${Mn().restApi.resources.verification}`,$n=e=>`${Hn()}${e}`,qn=()=>Hn(),Wn=(e,t=null)=>{const r=`${Mn().restApi.serviceUrl}${Mn().restApi.resources.program.base}${e}/${Mn().restApi.resources.program.theme}`;return t?`${r}?locale=${t}`:`${r}`},Gn=()=>`${Mn().restApi.serviceUrl}rest/v2/organization/addSchool/`,Yn=e=>`${Mn().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`,Kn=e=>`${Mn().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`,Zn=(e,t)=>`${Mn().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`,Jn=(e,t,r)=>`${Mn().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${r}`,Xn=()=>window.sheerIdPubV,Qn=()=>document.location.href,ea=()=>{try{const e=new(Sr())(window.location.search);if(e.get(fn))return decodeURIComponent(e.get(fn));if(Mn()[fn])return Mn()[fn]}catch(e){he.error(e)}return Qn()};var ta;!function(e){e.landingPage="landing_page",e.cdnNoIframe="cdn_no_iframe"}(ta||(ta={}));const ra=()=>{try{const e=new(Sr())(window.location.search);if(e.get(mn))return decodeURIComponent(e.get(mn));if("landing"===e.get("layout"))return ta.landingPage}catch(e){he.error(e)}return window.sheerIdInstallType||ta.cdnNoIframe},na=()=>{let e;try{const t=window.sheerIdCurrentScript.getAttribute("src");e=t.substr(0,jn()(t).call(t,"/"))}catch(e){"localhost"!==document.location.hostname&&he.error(e)}return e||("localhost"===document.location.hostname?e=document.location.origin:(e="https://cdn.jsdelivr.net/npm/@sheerid/jslib@1/",he.error("No window.sheerIdCurrentScript, is document.currentScript unsupported?"))),Ar((t=e,r=Xn(),Ar(r?t.replace(/@(?!sheerid)[^/]*/gi,`@${r}`):t)));var t,r},aa="country",ia="name";function oa(e,t,r,n){return sa.apply(this,arguments)}function sa(){return sa=gr((function*(e,t,r,n){if(!e)return yr().resolve([]);const a=new(Er())(e),{origin:i,pathname:o,search:s}=a,l=new(Sr())(s);l.set(ia,t),r&&l.set(aa,r),n&&l.set("tags",n);return function(e){return la.apply(this,arguments)}(`${i}${o}?${l.toString()}`)})),sa.apply(this,arguments)}function la(){return la=gr((function*(e){try{const t=yield Ln(e);return Cr()(t).call(t,(e=>{return{id:(t=e).id,idExtended:void 0===t.idExtended?t.id.toString():t.idExtended,name:t.name,country:t.country};var t}))}catch(e){he.error(e,"failed to fetchOrganization")}})),la.apply(this,arguments)}const ua=function(){var e=gr((function*(e){const t=new Tn(e),r=yield fetch(e,{headers:{Accept:"application/json","Content-Type":"application/json"},method:"GET"});if(r.status>=400)throw new Error("An error occurred");let n;try{n=yield r.json()}catch(e){n=yr().resolve({})}finally{t.logNow(),he.info("Response received",n)}return n}));return function(t){return e.apply(this,arguments)}}();function ca(){return(ca=gr((function*(e){return yield Rn(Gn(),e)}))).apply(this,arguments)}const da=function(){var e=gr((function*(e,t,r){const{viewModel:n}=t;if(!e())return;const a={programId:t.programId,firstName:n.firstName,lastName:n.lastName,email:n.email,schoolName:n.orgName,schoolDomain:n.orgDomain,schoolCountry:n.countryChoice.value};try{fa(r,!0),yield function(e){return ca.apply(this,arguments)}(a).then((()=>{fa(r,!1),r({type:"SET_SUBMIT",payload:!0})}))}catch(e){he.error(e,"submitAddSchoolRequest"),r({type:"SET_ERROR",payload:!0})}}));return function(t,r,n){return e.apply(this,arguments)}}(),fa=(e,t)=>{e({type:"SET_LOADING",payload:t})},ma=({organization:e,isEligible:t})=>{return t?q.createElement("div",{className:"sid-search-result"},q.createElement("img",{src:"https://assets-resources.sheerid.com/common/images/requestOrganization/doc-right.svg",alt:"School Icon"})," ",e.name,q.createElement(mr,{textToCopy:(r=e.name,r.replace(/(\s\([A-Za-z]+(?: [A-Za-z]+)*),+ ([A-Za-z]+\))/,"")),notificationText:q.createElement(or,{id:"copied",defaultMessage:"Copied"})},q.createElement("div",{className:"sid-copy-to-clipboard-front"}),q.createElement("div",{className:"sid-copy-to-clipboard-back"}))):q.createElement("div",{className:"sid-search-result"},q.createElement("div",{className:"sid-oval"},q.createElement("div",{className:"sid-inner-x"},"x"))," ",e.name);var r};var pa=o(6905),ha=o.n(pa),ga=o(6954),va=o.n(ga);var ya=o(6569),ba=o.n(ya),Ea=o(9602),wa=o.n(Ea);const Sa=JSON.parse('{"defaultMessages.ACTIVE_DUTY":"Active Duty","defaultMessages.CHILD_CARE_WORKER":"Child Care Worker","defaultMessages.DENTIST":"Dentist","defaultMessages.DOCTOR":"Doctor","defaultMessages.EMT":"EMT","defaultMessages.FIREFIGHTER":"Firefighter","defaultMessages.GOLD_STAR_FAMILY":"Gold Star Family","defaultMessages.HOME_BUYER":"Home Buyer","defaultMessages.LIBRARIAN":"Librarian","defaultMessages.LICENSED_COSMETOLOGIST":"Licensed Cosmetologist","defaultMessages.LICENSED_REAL_ESTATE_AGENT":"Licensed Real Estate Agent","defaultMessages.MILITARY_FAMILY":"Military Family","defaultMessages.MILITARY_RETIREE":"Military Retiree","defaultMessages.NURSE":"Nurse","defaultMessages.OTHER_GOVERNMENT_ASSISTANCE":"Other Government Assistance Recipient","defaultMessages.OTHER_HEALTH_WORKER":"Other Health Worker","defaultMessages.OTHER_MOVER":"Other Mover","defaultMessages.PHARMACIST":"Pharmacist","defaultMessages.POLICE":"Police","defaultMessages.RESERVIST":"Reservist or National Guard","defaultMessages.SEARCH_AND_RESCUE":"Search and Rescue","defaultMessages.SNAP_BENEFITS":"Snap Benefits Recipient","defaultMessages.VETERAN":"Military Veteran or Retiree","defaultMessages.VETERINARIAN":"Veterinarian","defaultMessages.activeDutyStartDate":"Active Duty Start Date","defaultMessages.address":"Address","defaultMessages.addressPlaceholder":"Address","defaultMessages.birthDate":"Date of birth","defaultMessages.branchOfService":"Branch of service","defaultMessages.branchOfServicePlaceholder":"Branch Of Service","defaultMessages.changeLanguage":"Change language","defaultMessages.city":"City","defaultMessages.cityPlaceholder":"City","defaultMessages.company":"Company","defaultMessages.companyPlaceholder":"Company","defaultMessages.copied":"Copied","defaultMessages.countries.AD":"Andorra","defaultMessages.countries.AE":"United Arab Emirates","defaultMessages.countries.AF":"Afghanistan","defaultMessages.countries.AG":"Antigua and Barbuda","defaultMessages.countries.AI":"Anguilla","defaultMessages.countries.AL":"Albania","defaultMessages.countries.AM":"Armenia","defaultMessages.countries.AN":"Netherlands Antilles","defaultMessages.countries.AO":"Angola","defaultMessages.countries.AR":"Argentina","defaultMessages.countries.AS":"American Samoa","defaultMessages.countries.AT":"Austria","defaultMessages.countries.AU":"Australia","defaultMessages.countries.AW":"Aruba","defaultMessages.countries.AZ":"Azerbaijan","defaultMessages.countries.BA":"Bosnia-Herzegovina","defaultMessages.countries.BB":"Barbados","defaultMessages.countries.BD":"Bangladesh","defaultMessages.countries.BE":"Belgium","defaultMessages.countries.BF":"Burkina Faso","defaultMessages.countries.BG":"Bulgaria","defaultMessages.countries.BH":"Bahrain","defaultMessages.countries.BI":"Burundi","defaultMessages.countries.BJ":"Benin","defaultMessages.countries.BM":"Bermuda","defaultMessages.countries.BN":"Brunei Darussalam","defaultMessages.countries.BO":"Bolivia","defaultMessages.countries.BR":"Brazil","defaultMessages.countries.BS":"Bahamas","defaultMessages.countries.BT":"Bhutan","defaultMessages.countries.BV":"Bouvet Island","defaultMessages.countries.BW":"Botswana","defaultMessages.countries.BY":"Belarus","defaultMessages.countries.BZ":"Belize","defaultMessages.countries.CA":"Canada","defaultMessages.countries.CD":"Democratic Republic of Congo","defaultMessages.countries.CF":"Central African Republic","defaultMessages.countries.CG":"Congo","defaultMessages.countries.CH":"Switzerland","defaultMessages.countries.CI":"Ivory Coast (Cote D\'Ivoire)","defaultMessages.countries.CK":"Cook Islands","defaultMessages.countries.CL":"Chile","defaultMessages.countries.CM":"Cameroon","defaultMessages.countries.CN":"China","defaultMessages.countries.CO":"Colombia","defaultMessages.countries.CR":"Costa Rica","defaultMessages.countries.CU":"Cuba","defaultMessages.countries.CV":"Cape Verde","defaultMessages.countries.CY":"Cyprus","defaultMessages.countries.CZ":"Czech Republic","defaultMessages.countries.DE":"Germany","defaultMessages.countries.DJ":"Djibouti","defaultMessages.countries.DK":"Denmark","defaultMessages.countries.DM":"Dominica","defaultMessages.countries.DO":"Dominican Republic","defaultMessages.countries.DZ":"Algeria","defaultMessages.countries.EC":"Ecuador","defaultMessages.countries.EE":"Estonia","defaultMessages.countries.EG":"Egypt","defaultMessages.countries.EH":"Western Sahara","defaultMessages.countries.ER":"Eritrea","defaultMessages.countries.ES":"Spain","defaultMessages.countries.ET":"Ethiopia","defaultMessages.countries.FI":"Finland","defaultMessages.countries.FJ":"Fiji","defaultMessages.countries.FK":"Falkland Islands","defaultMessages.countries.FM":"Micronesia","defaultMessages.countries.FO":"Faroe Islands","defaultMessages.countries.FR":"France","defaultMessages.countries.GA":"Gabon","defaultMessages.countries.GB":"United Kingdom","defaultMessages.countries.GD":"Grenada","defaultMessages.countries.GE":"Georgia","defaultMessages.countries.GF":"French Guyana","defaultMessages.countries.GH":"Ghana","defaultMessages.countries.GI":"Gibraltar","defaultMessages.countries.GL":"Greenland","defaultMessages.countries.GM":"Gambia","defaultMessages.countries.GN":"Guinea","defaultMessages.countries.GP":"Guadeloupe (French)","defaultMessages.countries.GQ":"Equatorial Guinea","defaultMessages.countries.GR":"Greece","defaultMessages.countries.GS":"South Georgia & South Sandwich Islands","defaultMessages.countries.GT":"Guatemala","defaultMessages.countries.GU":"Guam (USA)","defaultMessages.countries.GW":"Guinea Bissau","defaultMessages.countries.GY":"Guyana","defaultMessages.countries.HK":"Hong Kong","defaultMessages.countries.HM":"Heard and McDonald Islands","defaultMessages.countries.HN":"Honduras","defaultMessages.countries.HR":"Croatia","defaultMessages.countries.HT":"Haiti","defaultMessages.countries.HU":"Hungary","defaultMessages.countries.ID":"Indonesia","defaultMessages.countries.IE":"Ireland","defaultMessages.countries.IL":"Israel","defaultMessages.countries.IN":"India","defaultMessages.countries.IO":"British Indian Ocean Territory","defaultMessages.countries.IQ":"Iraq","defaultMessages.countries.IR":"Iran","defaultMessages.countries.IS":"Iceland","defaultMessages.countries.IT":"Italy","defaultMessages.countries.JM":"Jamaica","defaultMessages.countries.JO":"Jordan","defaultMessages.countries.JP":"Japan","defaultMessages.countries.KE":"Kenya","defaultMessages.countries.KG":"Kyrgyzstan","defaultMessages.countries.KH":"Cambodia","defaultMessages.countries.KI":"Kiribati","defaultMessages.countries.KM":"Comoros","defaultMessages.countries.KN":"Saint Kitts & Nevis Anguilla","defaultMessages.countries.KP":"North Korea","defaultMessages.countries.KR":"South Korea","defaultMessages.countries.KW":"Kuwait","defaultMessages.countries.KY":"Cayman Islands","defaultMessages.countries.KZ":"Kazakhstan","defaultMessages.countries.LA":"Laos","defaultMessages.countries.LB":"Lebanon","defaultMessages.countries.LC":"Saint Lucia","defaultMessages.countries.LI":"Liechtenstein","defaultMessages.countries.LK":"Sri Lanka","defaultMessages.countries.LR":"Liberia","defaultMessages.countries.LS":"Lesotho","defaultMessages.countries.LT":"Lithuania","defaultMessages.countries.LU":"Luxembourg","defaultMessages.countries.LV":"Latvia","defaultMessages.countries.LY":"Libya","defaultMessages.countries.MA":"Morocco","defaultMessages.countries.MC":"Monaco","defaultMessages.countries.MD":"Moldavia","defaultMessages.countries.ME":"Montenegro","defaultMessages.countries.MG":"Madagascar","defaultMessages.countries.MH":"Marshall Islands","defaultMessages.countries.MK":"Macedonia","defaultMessages.countries.ML":"Mali","defaultMessages.countries.MM":"Myanmar","defaultMessages.countries.MN":"Mongolia","defaultMessages.countries.MO":"Macau","defaultMessages.countries.MP":"Northern Mariana Islands","defaultMessages.countries.MQ":"Martinique (French)","defaultMessages.countries.MR":"Mauritania","defaultMessages.countries.MS":"Montserrat","defaultMessages.countries.MT":"Malta","defaultMessages.countries.MU":"Mauritius","defaultMessages.countries.MV":"Maldives","defaultMessages.countries.MW":"Malawi","defaultMessages.countries.MX":"Mexico","defaultMessages.countries.MY":"Malaysia","defaultMessages.countries.MZ":"Mozambique","defaultMessages.countries.NA":"Namibia","defaultMessages.countries.NC":"New Caledonia (French)","defaultMessages.countries.NE":"Niger","defaultMessages.countries.NF":"Norfolk Island","defaultMessages.countries.NG":"Nigeria","defaultMessages.countries.NI":"Nicaragua","defaultMessages.countries.NL":"Netherlands","defaultMessages.countries.NO":"Norway","defaultMessages.countries.NP":"Nepal","defaultMessages.countries.NR":"Nauru","defaultMessages.countries.NU":"Niue","defaultMessages.countries.NZ":"New Zealand","defaultMessages.countries.OM":"Oman","defaultMessages.countries.PA":"Panama","defaultMessages.countries.PE":"Peru","defaultMessages.countries.PF":"Polynesia (French)","defaultMessages.countries.PG":"Papua New Guinea","defaultMessages.countries.PH":"Philippines","defaultMessages.countries.PK":"Pakistan","defaultMessages.countries.PL":"Poland","defaultMessages.countries.PM":"Saint Pierre and Miquelon","defaultMessages.countries.PN":"Pitcairn Island","defaultMessages.countries.PR":"Puerto Rico","defaultMessages.countries.PS":"Palestine","defaultMessages.countries.PT":"Portugal","defaultMessages.countries.PW":"Palau","defaultMessages.countries.PY":"Paraguay","defaultMessages.countries.QA":"Qatar","defaultMessages.countries.RE":"Reunion (French)","defaultMessages.countries.RO":"Romania","defaultMessages.countries.RS":"Serbia","defaultMessages.countries.RU":"Russian Federation","defaultMessages.countries.RW":"Rwanda","defaultMessages.countries.SA":"Saudi Arabia","defaultMessages.countries.SB":"Solomon Islands","defaultMessages.countries.SC":"Seychelles","defaultMessages.countries.SD":"Sudan","defaultMessages.countries.SE":"Sweden","defaultMessages.countries.SG":"Singapore","defaultMessages.countries.SH":"Saint Helena","defaultMessages.countries.SI":"Slovenia","defaultMessages.countries.SK":"Slovak Republic","defaultMessages.countries.SL":"Sierra Leone","defaultMessages.countries.SM":"San Marino","defaultMessages.countries.SN":"Senegal","defaultMessages.countries.SO":"Somalia","defaultMessages.countries.SR":"Suriname","defaultMessages.countries.SS":"South Sudan","defaultMessages.countries.ST":"Saint Tome (Sao Tome) and Principe","defaultMessages.countries.SV":"El Salvador","defaultMessages.countries.SY":"Syria","defaultMessages.countries.SZ":"Swaziland","defaultMessages.countries.TC":"Turks and Caicos Islands","defaultMessages.countries.TD":"Chad","defaultMessages.countries.TF":"French Southern Territories","defaultMessages.countries.TG":"Togo","defaultMessages.countries.TH":"Thailand","defaultMessages.countries.TJ":"Tajikistan","defaultMessages.countries.TK":"Tokelau","defaultMessages.countries.TL":"Timor-Leste","defaultMessages.countries.TM":"Turkmenistan","defaultMessages.countries.TN":"Tunisia","defaultMessages.countries.TO":"Tonga","defaultMessages.countries.TR":"Turkey","defaultMessages.countries.TT":"Trinidad and Tobago","defaultMessages.countries.TV":"Tuvalu","defaultMessages.countries.TW":"Taiwan","defaultMessages.countries.TZ":"Tanzania","defaultMessages.countries.UA":"Ukraine","defaultMessages.countries.UG":"Uganda","defaultMessages.countries.UM":"USA Minor Outlying Islands","defaultMessages.countries.US":"United States","defaultMessages.countries.UY":"Uruguay","defaultMessages.countries.UZ":"Uzbekistan","defaultMessages.countries.VA":"Vatican City State","defaultMessages.countries.VC":"Saint Vincent & Grenadines","defaultMessages.countries.VE":"Venezuela","defaultMessages.countries.VG":"Virgin Islands (British)","defaultMessages.countries.VI":"Virgin Islands (USA)","defaultMessages.countries.VN":"Vietnam","defaultMessages.countries.VU":"Vanuatu","defaultMessages.countries.WF":"Wallis and Futuna Islands","defaultMessages.countries.WS":"Samoa","defaultMessages.countries.XK":"Kosovo","defaultMessages.countries.YE":"Yemen","defaultMessages.countries.YT":"Mayotte","defaultMessages.countries.ZA":"South Africa","defaultMessages.countries.ZM":"Zambia","defaultMessages.countries.ZW":"Zimbabwe","defaultMessages.country":"Country","defaultMessages.countryPlaceholder":"Country","defaultMessages.dateTime.20_MIN":"20 minutes","defaultMessages.dateTime.24_HRS":"24 hours","defaultMessages.dateTime.2_DAY":"2 days","defaultMessages.dateTime.2_HRS":"2 hours","defaultMessages.dateTime.2_MIN":"2 minutes","defaultMessages.dateTime.3_DAY":"3 days","defaultMessages.dateTime.A_FEW_DAYS":"a few days","defaultMessages.dateTime.A_FEW_HOURS":"a few hours","defaultMessages.dateTime.A_FEW_MINUTES":"a few minutes","defaultMessages.dateTime.A_HALF_HOUR":"half an hour","defaultMessages.dateTime.april":"April","defaultMessages.dateTime.august":"August","defaultMessages.dateTime.day":"Day","defaultMessages.dateTime.december":"December","defaultMessages.dateTime.february":"February","defaultMessages.dateTime.january":"January","defaultMessages.dateTime.july":"July","defaultMessages.dateTime.june":"June","defaultMessages.dateTime.march":"March","defaultMessages.dateTime.may":"May","defaultMessages.dateTime.month":"Month","defaultMessages.dateTime.november":"November","defaultMessages.dateTime.october":"October","defaultMessages.dateTime.september":"September","defaultMessages.dateTime.year":"Year","defaultMessages.dischargeDate":"Discharge date","defaultMessages.driverLicenseNumber":"Driver license number","defaultMessages.driverLicenseNumberPlaceholder":"Driver license number","defaultMessages.driverLicenseState":"Driver license state","defaultMessages.ebtCardNumber":"EBT Card Number","defaultMessages.emailAddress":"Email address","defaultMessages.emailAddressPlaceholder":"Email address","defaultMessages.error":"Error","defaultMessages.errorId.activeDutyStartDateBeforeBirthDate":"Start date must be after birth date","defaultMessages.errorId.apiRateLimitExceeded":"Unable to process your request at this time, please try again later","defaultMessages.errorId.dischargeDateBeforeBirthDate":"Discharge Date before birthdate","defaultMessages.errorId.docReviewLimitExceeded":"Document review limit exceeded","defaultMessages.errorId.expiredEmailLoopToken":"We are sorry, the page you requested cannot be found. The URL may be incorrect or the page you\'re looking for is no longer available.","defaultMessages.errorId.expiredProgram":"Due to tremendous demand, the offer is no longer available. Please check tomorrow to see if it is available.","defaultMessages.errorId.expiredSMSCode":"Verification code expired","defaultMessages.errorId.expiredVerification":"This verification is expired. Please submit a new verification.","defaultMessages.errorId.failedToFetch":"Failed HTTP request","defaultMessages.errorId.fraudRulesReject":"We\'re unable to verify you using the information submitted. Please check your information for accuracy, and only use your own mobile device or computer.<br><br>Still having trouble? <a href=\\"{feedbackUrl}&pid={programId}&locale={locale}\\">Contact SheerID\'s support team</a> to confirm your identity.","defaultMessages.errorId.futureActiveDutyStartDate":"Future start date","defaultMessages.errorId.futureBirthDate":"Future birthdate","defaultMessages.errorId.futureDischargeDate":"Future discharge date","defaultMessages.errorId.inactiveProgram":"Due to tremendous demand, the offer is no longer available. Please check tomorrow to see if it is available.","defaultMessages.errorId.incorrectVerificationOverrideCodeAttemptLimitExceeded":"Override code limit exceeded","defaultMessages.errorId.internalServerError":"Internal server error","defaultMessages.errorId.invalidActiveDutyStartDate":"Invalid start date","defaultMessages.errorId.invalidAddress":"Invalid address","defaultMessages.errorId.invalidApiToken":"Provided API token was invalid or empty","defaultMessages.errorId.invalidBirthDate":"Invalid birth date","defaultMessages.errorId.invalidCity":"Invalid city","defaultMessages.errorId.invalidCountry":"Invalid country","defaultMessages.errorId.invalidDischargeDate":"Invalid discharge date","defaultMessages.errorId.invalidDocUploadToken":"Provided document upload token is not valid","defaultMessages.errorId.invalidDriverLicenseNumber":"Invalid driver license number","defaultMessages.errorId.invalidEbtCardNumber":"Invalid EBT Card Number","defaultMessages.errorId.invalidEmail":"Invalid email","defaultMessages.errorId.invalidEmailLoopToken":"We are sorry, the page you requested cannot be found. The URL may be incorrect or the page you\'re looking for is no longer available.","defaultMessages.errorId.invalidFileSizeEmpty":"One or more files is empty","defaultMessages.errorId.invalidFileSizeMax":"One or more files is too large (max: 10MB)","defaultMessages.errorId.invalidFirstName":"Invalid first name","defaultMessages.errorId.invalidFirstResponderStatus":"Invalid first responder status","defaultMessages.errorId.invalidLastName":"Invalid last name","defaultMessages.errorId.invalidMemberId":"Invalid ID Number","defaultMessages.errorId.invalidMilitaryStatus":"Invalid military status","defaultMessages.errorId.invalidNumberOfFiles":"Maximum number of files exceeded (max: 5)","defaultMessages.errorId.invalidOptIn":"Must be selected to continue","defaultMessages.errorId.invalidOrganization":"You must select an organization from the list","defaultMessages.errorId.invalidOverrideCode":"Invalid Override Code","defaultMessages.errorId.invalidPhoneNumber":"Invalid mobile number","defaultMessages.errorId.invalidPostalCode":"Invalid postal code","defaultMessages.errorId.invalidProgram":"Invalid program","defaultMessages.errorId.invalidRequest":"Invalid request","defaultMessages.errorId.invalidSMSCode":"Verification code could not be validated","defaultMessages.errorId.invalidSocialSecurityNumber":"Invalid SSN","defaultMessages.errorId.invalidState":"Invalid state","defaultMessages.errorId.invalidStatus":"Invalid status","defaultMessages.errorId.invalidStatuses":"Invalid status","defaultMessages.errorId.invalidStep":"Invalid step","defaultMessages.errorId.marketConsentRequired":"Market consent required","defaultMessages.errorId.maxMetadataLengthExceeded":"Maximum length of metadata value exceeded","defaultMessages.errorId.maxMetadataValuesExceeded":"Maximum number of metadata values exceeded","defaultMessages.errorId.missingRequiredMetadata":"You must be logged in to verify. Log in to your account then try again.","defaultMessages.errorId.noProgram":"No program found","defaultMessages.errorId.noRemainingRewardCodes":"Due to tremendous demand, the offer is no longer available. Please check tomorrow to see if it is available.","defaultMessages.errorId.noValidFiles":"No valid files","defaultMessages.errorId.noVerification":"No verification found","defaultMessages.errorId.notApproved":"Not approved","defaultMessages.errorId.notFound":"Not found","defaultMessages.errorId.outsideAgePerson":"Birthdate is not eligible for this offer.","defaultMessages.errorId.requestTimeout":"Request timeout","defaultMessages.errorId.simulatedError":"This is a simulated error","defaultMessages.errorId.unauthorizedAccountStatus":"This offer has been temporarily discontinued. Please contact the brand’s customer support for more information.","defaultMessages.errorId.unauthorizedDomain":"Unauthorized domain","defaultMessages.errorId.underagePerson":"Persons under age 16 are not eligible for this offer.","defaultMessages.errorId.unknownError":"Unknown Error","defaultMessages.errorId.unsupportedDocMimeType":"One or more files is an unsupported format","defaultMessages.errorId.verificationLimitExceeded":"We\'re glad you\'re enthusiastic, but it looks like you\'ve already redeemed or attempted to redeem this offer.","defaultMessages.firstName":"First name","defaultMessages.firstNamePlaceholder":"First name","defaultMessages.firstResponderInfoShared":"Information entered here will be used for verification purposes.","defaultMessages.footerText":"By submitting the personal information above, I acknowledge that my personal information is being collected under the <privacyPolicy>privacy policy</privacyPolicy> of the business from which I am seeking a discount, and I understand that my personal information will be shared with SheerID as a processor/third-party service provider in order for SheerID to confirm my eligibility for a special offer. <aboutSheerID>More about SheerID</aboutSheerID>.","defaultMessages.getHelp":"Get help","defaultMessages.howDoesReviewWork":"How does review work?","defaultMessages.howDoesVerifyingWork":"How does verifying work?","defaultMessages.infoShared1":"By clicking, I consent to processing my information for the purpose of verifying my eligibility as described within the {privacyPolicyLink}","defaultMessages.infoShared2":". I understand that my information will be shared with {companyName}.","defaultMessages.informationTransferredToUS":"Your information will be transferred to the United States and will be treated according to SheerID’s privacy policy.","defaultMessages.lastName":"Last name","defaultMessages.lastNamePlaceholder":"Last name","defaultMessages.limitExceededError":"Verification Limit Exceeded","defaultMessages.loading":"Loading...","defaultMessages.locales.ar":"Arabic","defaultMessages.locales.bg":"Bulgarian","defaultMessages.locales.cs":"Czech","defaultMessages.locales.da":"Danish","defaultMessages.locales.de":"German","defaultMessages.locales.el":"Greek","defaultMessages.locales.en-GB":"English (UK)","defaultMessages.locales.en-US":"English","defaultMessages.locales.es":"Spanish","defaultMessages.locales.es-ES":"Spanish (Spain)","defaultMessages.locales.fi":"Finnish","defaultMessages.locales.fr":"French","defaultMessages.locales.fr-CA":"French (Canadian)","defaultMessages.locales.ga":"Irish","defaultMessages.locales.hr":"Croatian","defaultMessages.locales.hu":"Hungarian","defaultMessages.locales.id":"Indonesian","defaultMessages.locales.it":"Italian","defaultMessages.locales.iw":"Hebrew","defaultMessages.locales.ja":"Japanese","defaultMessages.locales.ko":"Korean","defaultMessages.locales.lo":"Lao","defaultMessages.locales.lt":"Lithuanian","defaultMessages.locales.ms":"Malay","defaultMessages.locales.nl":"Dutch","defaultMessages.locales.no":"Norwegian","defaultMessages.locales.pl":"Polish","defaultMessages.locales.pt":"Portuguese","defaultMessages.locales.pt-BR":"Portuguese (Brazil)","defaultMessages.locales.ro":"Romanian","defaultMessages.locales.ru":"Russia","defaultMessages.locales.sk":"Slovak","defaultMessages.locales.sl":"Slovenian","defaultMessages.locales.sr":"Serbian","defaultMessages.locales.sv":"Swedish","defaultMessages.locales.th":"Thai","defaultMessages.locales.tr":"Turkish","defaultMessages.locales.ur":"Urdu","defaultMessages.locales.vi":"Vietnamese","defaultMessages.locales.zh":"Chinese (Traditional)","defaultMessages.locales.zh-HK":"Chinese (Hong Kong)","defaultMessages.locales.zu":"Zulu","defaultMessages.lowIncomeOrganization":"Government Assistance Program","defaultMessages.lowIncomeOrganizationPlaceholder":"Government Assistance Program","defaultMessages.lowRewardPool":"&#128293; Only {offersRemaining} offers left!","defaultMessages.memberId":"ID Number","defaultMessages.memberIdPlaceholder":"ID Number","defaultMessages.militaryFamilyCardNote":"Note: this offer is only available to military family members with a Dependent ID card.","defaultMessages.militaryInfoShared":"Information entered here will be used for verification purposes.","defaultMessages.militaryStatus":"Military status","defaultMessages.noOptions":"No options","defaultMessages.optIn":"Yes, send me {company} marketing communications about exclusive sales, special offers, latest products and more","defaultMessages.optional":"Optional","defaultMessages.organization":"Organization","defaultMessages.organizationPlaceholder":"Organization","defaultMessages.personalInformation":"Personal Information","defaultMessages.personalOrSchoolIsFine":"Personal or school email is fine","defaultMessages.phoneNumber":"Mobile Number","defaultMessages.phoneNumberExplanation":"Optional - get text notifications of status updates","defaultMessages.phoneNumberWarnMessage1":"By submitting this form with a mobile number, you consent to receive SMS/text messages for verification purposes. Standard phone carrier text messaging (SMS) and data rates may apply.","defaultMessages.phoneNumberWarnMessage2":"You authorize your mobile service provider to disclose your mobile number and certain account information to SheerID, solely for identity verification and to avoid fraud.","defaultMessages.phoneUsPlaceholder":"555-555-5555","defaultMessages.postalCode":"Postal code","defaultMessages.postalCodeExplanation":"Use the location on file with your licensing body","defaultMessages.postalCodePlaceholder":"Postal code","defaultMessages.poweredBy":"Verification services powered by SheerID","defaultMessages.privacyPolicy":"Privacy Policy","defaultMessages.proceed":"Proceed","defaultMessages.requestSchool":"Don\'t see your school? Request to have it added.","defaultMessages.requiredFields":"All fields are required","defaultMessages.rewardCodeEmailNotification":"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com.","defaultMessages.school":"School","defaultMessages.schoolName":"School","defaultMessages.schoolNamePlaceholder":"School","defaultMessages.sheeridFaqs":"SheerID FAQs","defaultMessages.smsCodePlaceholder":"SMS Code","defaultMessages.ssn":"Social Security Number","defaultMessages.ssnPlaceholder":"000-00-0000","defaultMessages.state":"State","defaultMessages.statePlaceholder":"State","defaultMessages.states.AK":"Alaska","defaultMessages.states.AL":"Alabama","defaultMessages.states.AR":"Arkansas","defaultMessages.states.AS":"American Samoa","defaultMessages.states.AZ":"Arizona","defaultMessages.states.CA":"California","defaultMessages.states.CO":"Colorado","defaultMessages.states.CT":"Connecticut","defaultMessages.states.DC":"District of Columbia","defaultMessages.states.DE":"Delaware","defaultMessages.states.FL":"Florida","defaultMessages.states.GA":"Georgia","defaultMessages.states.GU":"Guam","defaultMessages.states.HI":"Hawaii","defaultMessages.states.IA":"Iowa","defaultMessages.states.ID":"Idaho","defaultMessages.states.IL":"Illinois","defaultMessages.states.IN":"Indiana","defaultMessages.states.KS":"Kansas","defaultMessages.states.KY":"Kentucky","defaultMessages.states.LA":"Louisiana","defaultMessages.states.MA":"Massachusetts","defaultMessages.states.MD":"Maryland","defaultMessages.states.ME":"Maine","defaultMessages.states.MI":"Michigan","defaultMessages.states.MN":"Minnesota","defaultMessages.states.MO":"Missouri","defaultMessages.states.MS":"Mississippi","defaultMessages.states.MT":"Montana","defaultMessages.states.NC":"North Carolina","defaultMessages.states.ND":"North Dakota","defaultMessages.states.NE":"Nebraska","defaultMessages.states.NH":"New Hampshire","defaultMessages.states.NJ":"New Jersey","defaultMessages.states.NM":"New Mexico","defaultMessages.states.NV":"Nevada","defaultMessages.states.NY":"New York","defaultMessages.states.OH":"Ohio","defaultMessages.states.OK":"Oklahoma","defaultMessages.states.OR":"Oregon","defaultMessages.states.PA":"Pennsylvania","defaultMessages.states.PR":"Puerto Rico","defaultMessages.states.RI":"Rhode Island","defaultMessages.states.SC":"South Carolina","defaultMessages.states.SD":"South Dakota","defaultMessages.states.TN":"Tennessee","defaultMessages.states.TX":"Texas","defaultMessages.states.UT":"Utah","defaultMessages.states.VA":"Virginia","defaultMessages.states.VI":"Virgin Islands","defaultMessages.states.VT":"Vermont","defaultMessages.states.WA":"Washington","defaultMessages.states.WI":"Wisconsin","defaultMessages.states.WV":"West Virginia","defaultMessages.states.WY":"Wyoming","defaultMessages.status":"Status","defaultMessages.statusPlaceholder":"Status","defaultMessages.step.collectMedicalPersonalInfo.autorisationsIdExplanation":"Your Professional Membership Registration Number","defaultMessages.step.collectMedicalPersonalInfo.autorisationsIdLabel":"Registration Number","defaultMessages.step.collectMedicalPersonalInfo.gbrNummerExplanation":"Your Professional Membership Registration Number","defaultMessages.step.collectMedicalPersonalInfo.gbrNummerLabel":"Registration Number","defaultMessages.step.collectMedicalPersonalInfo.globalLocationNumberExplanation":"Your Professional Membership Registration Number","defaultMessages.step.collectMedicalPersonalInfo.globalLocationNumberLabel":"Global Location Number","defaultMessages.step.collectMedicalPersonalInfo.numeroColegiadoExplanation":"Your Professional Membership Registration Number","defaultMessages.step.collectMedicalPersonalInfo.numeroColegiadoLabel":"Registration Number","defaultMessages.step.collectMedicalPersonalInfo.registrationNumberExplanation":"Your Professional Membership Registration Number","defaultMessages.step.collectMedicalPersonalInfo.registrationNumberLabel":"Registration Number","defaultMessages.step.collectSocialSecurityNumber.selectOption":"Select an option","defaultMessages.step.collectSocialSecurityNumber.title":"Enter your social security number","defaultMessages.step.collectSocialSecurityNumber.uploadDoc":"Upload a document","defaultMessages.step.collectSocialSecurityNumber.uploadInstead":"Upload a document instead","defaultMessages.step.collectSocialSecurityNumber.useSsn":"Verify using your social security number","defaultMessages.step.consolation.subtitle":"Unfortunately we could not verify your status, but we value your interest and are offering this promo code as a thank you. It is unique to you and can only be used once.","defaultMessages.step.consolation.title":"Claim your offer","defaultMessages.step.consolation.verificationOnly":"Please direct any and all questions about this offer to {companyName}.","defaultMessages.step.docUpload.acceptableUploadExamples":"Acceptable examples include:","defaultMessages.step.docUpload.acceptableUploads.age.birthCertificate":"Your birth certificate","defaultMessages.step.docUpload.acceptableUploads.age.driversLicense":"Your drivers license","defaultMessages.step.docUpload.acceptableUploads.age.passport":"Your passport","defaultMessages.step.docUpload.acceptableUploads.age.stateId":"Your state-issued ID","defaultMessages.step.docUpload.acceptableUploads.employment.employeeIdCard":"Employee ID Card","defaultMessages.step.docUpload.acceptableUploads.employment.officialLetter":"An official letter","defaultMessages.step.docUpload.acceptableUploads.employment.payStub":"Pay stub from within last 60 days","defaultMessages.step.docUpload.acceptableUploads.firstResponder.idCard":"ID Card","defaultMessages.step.docUpload.acceptableUploads.firstResponder.letter":"An official letter","defaultMessages.step.docUpload.acceptableUploads.firstResponder.payStub":"Pay stub from within last 60 days","defaultMessages.step.docUpload.acceptableUploads.licensedProfessional.license":"Certificate of license","defaultMessages.step.docUpload.acceptableUploads.lowIncome.programApprovalLetter":"Approval letter of the selected government assistance program issued by a government agency (for example, a Supplemental Security Income (SSI) eligibility letter).","defaultMessages.step.docUpload.acceptableUploads.lowIncome.programApprovalScreenshot":"A screenshot of the online portal of the selected government assistance program showing you qualify for it (Screenshot of your Medicare application status on your online account).","defaultMessages.step.docUpload.acceptableUploads.lowIncome.programBankStatement":"A bank statement showing recent payment of the selected benefit.","defaultMessages.step.docUpload.acceptableUploads.lowIncome.programCard":"Back and front of a card showing you qualify for the selected government assistance program (for example, an EBT card for a SNAP Program).","defaultMessages.step.docUpload.acceptableUploads.medical.idCard":"Nursing ID card with expiration date","defaultMessages.step.docUpload.acceptableUploads.medical.licenseCertificate":"Certificate of license","defaultMessages.step.docUpload.acceptableUploads.medical.photoPayStub":"Photo ID and recent Pay Stub","defaultMessages.step.docUpload.acceptableUploads.member.idCard":"Membership Document","defaultMessages.step.docUpload.acceptableUploads.member.payStub":"Pay stub from within last 90 days","defaultMessages.step.docUpload.acceptableUploads.military.activeDuty":"Any document that proves you are currently serving as active duty in the armed forces for 30 days or more","defaultMessages.step.docUpload.acceptableUploads.military.dependent":"Any document that proves you are a Registered Military Dependent","defaultMessages.step.docUpload.acceptableUploads.military.goldStarFamily":"Any document that proves you are a Registered Gold Star Family Member","defaultMessages.step.docUpload.acceptableUploads.military.reservistA":"Any document that shows you are currently serving in a reserve component of the armed forces","defaultMessages.step.docUpload.acceptableUploads.military.retiree":"Any document that proves you are a retiree from the armed forces","defaultMessages.step.docUpload.acceptableUploads.military.veteran":"Any document that proves you met the qualifications of military service and were honorably discharged","defaultMessages.step.docUpload.acceptableUploads.recentMover.changeOfAddress":"U.S. Postal Service change of address confirmation letter","defaultMessages.step.docUpload.acceptableUploads.recentMover.mortgageDeed":"Mortgage deed","defaultMessages.step.docUpload.acceptableUploads.recentMover.rentalAgreement":"Lease or rental agreement","defaultMessages.step.docUpload.acceptableUploads.senior.birthCertificate":"Your birth certificate","defaultMessages.step.docUpload.acceptableUploads.senior.driversLicense":"Your drivers license","defaultMessages.step.docUpload.acceptableUploads.senior.passport":"Your passport","defaultMessages.step.docUpload.acceptableUploads.senior.stateId":"Your state-issued ID","defaultMessages.step.docUpload.acceptableUploads.student.classSchedule":"Class schedule","defaultMessages.step.docUpload.acceptableUploads.student.idCard":"School ID card with expiration date","defaultMessages.step.docUpload.acceptableUploads.student.tuitionReceipt":"Tuition receipt","defaultMessages.step.docUpload.acceptableUploads.teacher.idCard":"Teacher ID card with valid date","defaultMessages.step.docUpload.acceptableUploads.teacher.payStub":"Pay stub from within last 60 days","defaultMessages.step.docUpload.acceptedTypes":"File must be .jpg .jpeg .png .pdf .gif or .bmp","defaultMessages.step.docUpload.addFile":"Add file","defaultMessages.step.docUpload.allowedDocuments":"Please only upload documents you are legally allowed to provide.","defaultMessages.step.docUpload.cancelButtonLabel":"Cancel","defaultMessages.step.docUpload.cancelDocUploadLabel":"Click here if you are unable to verify with a document","defaultMessages.step.docUpload.fileInstructions":"Drag &amp; drop your files here or <span class=\\"sid-dropzone-wrap--link\\">browse</span>","defaultMessages.step.docUpload.nameChanged":"If your name has changed since the document was issued, upload a 2nd document showing your official name change.","defaultMessages.step.docUpload.rejectedSubtitle":"We were unable to confirm your eligibility due to:","defaultMessages.step.docUpload.rejectionReasons.CUSTOM_VALUE_OTHER":"The document submitted is missing a requirement for establishing eligibility for this offer.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_DATE_OTHER":"The document submitted does not meet the date requirements for establishing eligibility for this offer.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_EXPIRED":"The document has already expired or was issued too far in the past. Please upload a more recent document.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_HANDWRITTEN":"We cannot accept handwritten documents.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_LIKELY_FRAUD":"The document is insufficient for establishing eligibility for this offer.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_OUTDATED":"The document you submitted is missing an issue date or was issued too far in the past.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_OUTDATED_FACULTY":"The document you submitted does not prove employment in the current academic year.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_PASSWORD_PROTECTED":"We are unable to accept password protected documents.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_STATUS_OTHER":"The document submitted shows a status that is not sufficient for establishing eligibility for this offer.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_TOO_FUTURE":"The date shown in the document is too far in the future. Please upload a more recent document, which proves your current status.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_UNREADABLE":"The document was unreadable due to poor image quality. Please make sure you have a clearly legible image that\'s bright and crisp, and try submitting again.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_UNSUPPORTED":"The document is not official or on the list of accepted document types.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_VALID_OTHER":"The document submitted is not able to establish eligibility for this offer.","defaultMessages.step.docUpload.rejectionReasons.INELIGIBLE_JOB_TITLE":"The job title shown in the document is not eligible for this offer.","defaultMessages.step.docUpload.rejectionReasons.INELIGIBLE_ORGANIZATION":"The organization on the document you submitted is not eligible for this offer.","defaultMessages.step.docUpload.rejectionReasons.INELIGIBLE_PERSON_HIGH_SCHOOL_STUDENT":"High School Students are not eligible for this offer.","defaultMessages.step.docUpload.rejectionReasons.INSUFFICIENT_CUSTOM_VALUE":"The document is missing information needed to establish your eligibility for this offer.","defaultMessages.step.docUpload.rejectionReasons.INSUFFICIENT_DOCUMENT_DATE":"The date(s) shown in the document are insufficient to prove your current status. Please upload a document that includes a recent month and year.","defaultMessages.step.docUpload.rejectionReasons.INSUFFICIENT_STATUS":"The document does not prove you are a status eligible for this offer.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_BIRTHDATE":"The birthdate on the document does not match the birthdate you entered on your verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_COMPANY_NAME_OR_ADDRESS":"The company name or address in your document does not match what you entered on the verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_CUSTOM_VALUE":"Some information shown in the document does not match what you entered in the verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_ORGANIZATION":"The organization name on the document(s) you submitted does not match the organization you listed on the verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_ORGANIZATION_COUNTRY":"The country shown in your document does not match the country you entered on your verification form","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_ORGANIZATION_NAME":"The organization name on the document does not match the organization name you entered on your verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_PERSON_FIRST_NAME":"The first name on the document does not match the first name you entered on your verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_PERSON_LAST_NAME":"The last name on the document does not match the last name you entered on your verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_PERSON_NAME":"The information on the document you submitted does not match the first and/or last name submitted on the verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_STATUS":"The status on the document does not match the status you entered on your verification form.","defaultMessages.step.docUpload.rejectionReasons.MISSING_CUSTOM_VALUE":"The document is missing information needed to establish your eligibility for this offer.","defaultMessages.step.docUpload.rejectionReasons.MISSING_DOCUMENT_DATE":"A current date is missing. Please upload an official, dated document that proves your current status.","defaultMessages.step.docUpload.rejectionReasons.MISSING_INFORMATION":"The document you submitted does not provide all of the information necessary to determine eligibility for this offer.","defaultMessages.step.docUpload.rejectionReasons.MISSING_INFORMATION_AFFILIATION_US_ARMED_FORCES":"The document you submitted is does not show affiliation to an eligible branch of the United States Armed Forces.","defaultMessages.step.docUpload.rejectionReasons.MISSING_INFORMATION_BIRTHDATE":"Your birthdate is missing.","defaultMessages.step.docUpload.rejectionReasons.MISSING_INFORMATION_ORGANIZATION_NAME":"Your organization name is missing.","defaultMessages.step.docUpload.rejectionReasons.MISSING_INFORMATION_PERSON_NAME":"The document you submitted is missing a first and/or last name.","defaultMessages.step.docUpload.rejectionReasons.MISSING_INFORMATION_UNIVERSITY_ENROLLMENT":"The document you submitted does not prove enrollment in the current term.","defaultMessages.step.docUpload.rejectionReasons.MISSING_OR_MISMATCH_JOB_TITLE":"The job title on the document you submitted is missing or does not match what you entered on the verification form.","defaultMessages.step.docUpload.rejectionReasons.MISSING_PERSON_FIRST_NAME":"Your first name is missing.","defaultMessages.step.docUpload.rejectionReasons.MISSING_PERSON_LAST_NAME":"Your last name is missing.","defaultMessages.step.docUpload.rejectionReasons.ORGANIZATION_NAME_OTHER":"The organization name shown in the document submitted was something other than what was provided on the verification form.","defaultMessages.step.docUpload.rejectionReasons.OTHER_CONTACT_US":"We are having problems verifying your eligibility for the offer. Please contact SheerID customer service for help: customerservice@sheerid.com","defaultMessages.step.docUpload.rejectionReasons.OUT_OF_RANGE_BIRTHDATE":"Your birthdate is outside the acceptable range of this offer.","defaultMessages.step.docUpload.rejectionReasons.PAYSTUB_OUTDATED_LAST_30_DAYS":"Please upload a paystub that was issued within the last 30 days.","defaultMessages.step.docUpload.rejectionReasons.PERSON_BIRTHDATE_OTHER":"The date of birth shown in the document submitted did not match with what was provided on the verification form.","defaultMessages.step.docUpload.rejectionReasons.PERSON_FIELD_MISMATCH":"A field in the document provided did not match with what was provided on the verification form.","defaultMessages.step.docUpload.rejectionReasons.PERSON_FIRST_NAME_OTHER":"The first name shown in the document submitted did not match with what was provided on the verification form.","defaultMessages.step.docUpload.rejectionReasons.PERSON_LAST_NAME_OTHER":"The last name shown in the document submitted did not match with what was provided on the verification form.","defaultMessages.step.docUpload.submitButtonLabel":"Continue","defaultMessages.step.docUpload.uploadInfo.affiliation":"Your current affiliation with that organization","defaultMessages.step.docUpload.uploadInfo.age.birthDate":"Your date of birth","defaultMessages.step.docUpload.uploadInfo.employment.company":"Your company","defaultMessages.step.docUpload.uploadInfo.employment.currentAffiliation":"Your current affiliation with that company","defaultMessages.step.docUpload.uploadInfo.firstResponder.currentAffiliation":"Your current affiliation with that organization","defaultMessages.step.docUpload.uploadInfo.firstResponder.license":"Your status or license as a First Responder","defaultMessages.step.docUpload.uploadInfo.firstResponder.organization":"Your organization","defaultMessages.step.docUpload.uploadInfo.fullName":"Your full name","defaultMessages.step.docUpload.uploadInfo.identity.validDate":"A currently valid date","defaultMessages.step.docUpload.uploadInfo.licensedProfessional.licenseStatus":"Your professional license and/or certification status","defaultMessages.step.docUpload.uploadInfo.licensedProfessional.validDate":"A currently valid date","defaultMessages.step.docUpload.uploadInfo.lowIncome.ebtNumber":"EBT card number","defaultMessages.step.docUpload.uploadInfo.lowIncome.fullName":"Your full name","defaultMessages.step.docUpload.uploadInfo.lowIncome.validDate":"A valid date of issue (within the last 12 months) or date of expiry (must be valid)","defaultMessages.step.docUpload.uploadInfo.medical.status":"Your medical professional status","defaultMessages.step.docUpload.uploadInfo.medical.validDate":"A currently valid date","defaultMessages.step.docUpload.uploadInfo.military.currentAffiliation":"Your current affiliation with the armed services","defaultMessages.step.docUpload.uploadInfo.military.dischargeDate":"Your discharge date (if applicable)","defaultMessages.step.docUpload.uploadInfo.military.serviceBranch":"Your branch of service","defaultMessages.step.docUpload.uploadInfo.military.uploadInstructionsDependent":"Please upload a Dependent ID card that clearly shows your first name, last name, valid dates and status","defaultMessages.step.docUpload.uploadInfo.organization":"Your organization","defaultMessages.step.docUpload.uploadInfo.recentMover.address":"Your new address","defaultMessages.step.docUpload.uploadInfo.recentMover.validDate":"A valid date for your recent move","defaultMessages.step.docUpload.uploadInfo.senior.birthDate":"Your date of birth","defaultMessages.step.docUpload.uploadInfo.student.enrollmentDate":"Date proving enrollment for the current term (or within the last 3 months)","defaultMessages.step.docUpload.uploadInfo.student.school":"Your school","defaultMessages.step.docUpload.uploadInfo.teacher.currentSchoolYear":"A date in the current school year","defaultMessages.step.docUpload.uploadInfo.teacher.school":"Your school","defaultMessages.step.emailLoop.errors.resend":"Error sending email","defaultMessages.step.emailLoop.resendButton":"Re-send","defaultMessages.step.emailLoop.skipEmail":"Unable to retrieve this email? Click","defaultMessages.step.emailLoop.skipEmail2":"to proceed.","defaultMessages.step.emailLoop.skipEmailCTA":"here","defaultMessages.step.emailLoop.subtitle2":"Please check for an email from us (verify@sheerid.com) for all the details.","defaultMessages.step.emailLoop.subtitleWithEmail":"An email has been sent to {email} with a personalized link to complete the verification process.","defaultMessages.step.emailLoop.subtitleWithoutEmail":"An email has been sent to your email account with a personalized link to complete the verification process.","defaultMessages.step.emailLoop.successResend":"Email re-sent successfully.","defaultMessages.step.emailLoop.title":"Check your email","defaultMessages.step.error.errorId.expiredProgram.buttonText":"See More Offers","defaultMessages.step.error.errorId.expiredProgram.title":"Offer Sold Out!","defaultMessages.step.error.errorId.inactiveProgram.buttonText":"See More Offers","defaultMessages.step.error.errorId.inactiveProgram.title":"Offer Sold Out!","defaultMessages.step.error.errorId.missingRequiredMetadata.title":"Please log in.","defaultMessages.step.error.errorId.noRemainingRewardCodes.buttonText":"See More Offers","defaultMessages.step.error.errorId.noRemainingRewardCodes.title":"Offer Sold Out!","defaultMessages.step.error.errorId.unauthorizedAccountStatus.buttonText":"Contact Support","defaultMessages.step.error.errorId.unauthorizedAccountStatus.title":"Offer Is Paused!","defaultMessages.step.error.errorId.verificationLimitExceeded.title":"Verification Limit Exceeded","defaultMessages.step.override.errors.codeOverrideLimit":"Override code limit exceeded.","defaultMessages.step.override.errors.invalidCode":"Invalid Override Code.","defaultMessages.step.override.submitOverrideCodeButtonLabel":"Submit Override Code","defaultMessages.step.override.subtitle":"If applicable, please enter a verification override code below.","defaultMessages.step.override.subtitle2":"This will enable the customer to redeem the offer","defaultMessages.step.override.title":"Unable to Verify Status","defaultMessages.step.override.verificationOverrideCodeLabel":"Verification Override Code","defaultMessages.step.pending.docDiffLang":"We identified your document is in a different language.","defaultMessages.step.pending.subtitle":"SheerID is reviewing your documents, to confirm your status. This process may take up to {maxReviewTime}.","defaultMessages.step.pending.subtitle2":"Wait here or let us notify you of the outcome.","defaultMessages.step.pending.subtitle3":"You will be contacted via email.","defaultMessages.step.pending.subtitleAlt":"SheerID is reviewing your documents, to confirm your status.","defaultMessages.step.pending.subtitleCountdown":"Hang tight while we upload and scan your documents.","defaultMessages.step.pending.titleCountdown":"Processing","defaultMessages.step.pending.titleReview":"Reviewing","defaultMessages.step.pending.turnaroundTime":"Turnaround time for your language is typically {estReviewTime}, and in rare times of high volume may take up to {maxReviewTime}.","defaultMessages.step.personalInfo.verifyingSubtitle":"This should only take a minute","defaultMessages.step.personalInfo.verifyingTitle":"Verifying your status","defaultMessages.step.smsLoop.errors.codeExpired":"Verification code could not be validated.","defaultMessages.step.smsLoop.errors.codeResendLimit":"Maximum number of re-tries has been reached.","defaultMessages.step.smsLoop.errors.codeVerification":"Verification code could not be validated.","defaultMessages.step.smsLoop.errors.resend":"Error sending the SMS message","defaultMessages.step.smsLoop.incorrectNumber.incorrectNumber1":"Incorrect number? Click","defaultMessages.step.smsLoop.incorrectNumber.incorrectNumber2":"here","defaultMessages.step.smsLoop.incorrectNumber.incorrectNumber3":"to return to {companyName}","defaultMessages.step.smsLoop.resendButton":"Re-send","defaultMessages.step.smsLoop.submitButton":"Submit","defaultMessages.step.smsLoop.successResend":"SMS message re-sent successfully","defaultMessages.step.smsLoop.titleWithNumber":"We\'ve sent an SMS message to the mobile number ending in {number}. Enter your code here.","defaultMessages.step.smsLoop.titleWithoutNumber":"We\'ve sent an SMS to your mobile number. Please enter the code here.","defaultMessages.step.smsLoop.verificationCode":"Verification Code","defaultMessages.step.sso.alternative":"You can also verify by uploading proof of eligibility","defaultMessages.step.sso.cancel":"Upload documents","defaultMessages.step.sso.login":"Sign in to my school","defaultMessages.step.sso.preheader":"Quickest Method","defaultMessages.step.sso.subtitle":"Please sign in to your school\'s web portal. It will open in a new tab.","defaultMessages.step.sso.subtitle2":"Unable to sign in?","defaultMessages.step.sso.title":"Verify using your school credentials","defaultMessages.step.success.copyCouponCode":"Copy Coupon code","defaultMessages.step.success.emailNotification":"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com.","defaultMessages.step.success.verificationOnly":"SheerID handles verification only. Now that you\'ve been approved, please direct all questions about the promotion terms to {companyName} customer service.","defaultMessages.streetAddress":"Street Address","defaultMessages.studentInfoShared":"Information entered here will be used for verification purposes and shared with {companyName}.","defaultMessages.tryAgain":"Try again","defaultMessages.universityName":"University name","defaultMessages.verificationPurposesOnly":"Used for verification purposes only","defaultMessages.verifyAndContinue":"Verify and continue","defaultMessages.verifyMyEmploymentStatus":"Verify My Employee Status","defaultMessages.verifyMyFirstResponderStatus":"Verify My First Responder Status","defaultMessages.verifyMyIdentityStatus":"Verify My Identity","defaultMessages.verifyMyLicensedProfessionalStatus":"Verify My Licensed Professional Status","defaultMessages.verifyMyLowIncomeStatus":"Verify my status","defaultMessages.verifyMyMedicalProfessionalStatus":"Verify My Medical Professional Status","defaultMessages.verifyMyMembershipStatus":"Verify My Membership Status","defaultMessages.verifyMyMilitaryStatus":"Verify My Military Status","defaultMessages.verifyMyMoverStatus":"Verify My New Mover Status","defaultMessages.verifyMyStudentStatus":"Verify My Student Status","defaultMessages.verifyMyTeacherStatus":"Verify My Teacher Status","requestOrganizationMessages.changeLanguage":"Change language","requestOrganizationMessages.completeRequest":"Don\'t see your school in the list of eligible or ineligible schools? Complete your request","requestOrganizationMessages.copied":"Copied","requestOrganizationMessages.country":"Where is your educational institution located?","requestOrganizationMessages.description":"Please fill out the form below. Schools submitted are not guaranteed to be added, but all requests are researched and considered by SheerID.","requestOrganizationMessages.eligibleOrgs":"Eligible schools. Click the icon to copy name then return to the verification form:","requestOrganizationMessages.errorId.invalidCountry":"Field is required","requestOrganizationMessages.errorId.invalidEmail":"Invalid Email","requestOrganizationMessages.errorId.invalidField":"Field is invalid","requestOrganizationMessages.errorId.invalidFirstName":"Invalid first name","requestOrganizationMessages.errorId.invalidLastName":"Invalid last name","requestOrganizationMessages.errorId.invalidUrl":"Invalid URL","requestOrganizationMessages.errorId.requiredField":"Field is required","requestOrganizationMessages.errorId.tooManyResults":"Your search returned too many results, please refine your search and try again","requestOrganizationMessages.faq":"SheerID Add School Request FAQ","requestOrganizationMessages.fields.countryPlaceholder":"Select Country","requestOrganizationMessages.fields.domainLabel":"School website","requestOrganizationMessages.fields.domainPlaceholder":"www.myschool.edu","requestOrganizationMessages.fields.orgNameLabel":"School name","requestOrganizationMessages.fields.orgNamePlaceholder":"My school","requestOrganizationMessages.ineligibleOrgs":"Ineligible Schools. We are sorry, people from these schools are not eligible for this offer:","requestOrganizationMessages.noCountry":"Don\'t see your school’s country or region? You are not eligible for this offer.","requestOrganizationMessages.none":"None","requestOrganizationMessages.orgType.eligible":" - Eligible for this offer. Click the icon to copy name then return to the verification form:","requestOrganizationMessages.orgType.highSchool":"High Schools / Secondary Schools {e}","requestOrganizationMessages.orgType.ineligible":" - (Not eligible for this offer)","requestOrganizationMessages.orgType.k12":"K12 {e}","requestOrganizationMessages.orgType.postSecondary":"Post Secondary Institutions {e}","requestOrganizationMessages.orgType.university":"Universities {e}","requestOrganizationMessages.poweredBy":"Verification services powered by SheerID","requestOrganizationMessages.searchByOrgName":"Don\'t see your school? Search by name.","requestOrganizationMessages.step.error.contactUs":"contact us","requestOrganizationMessages.step.error.description":"Sorry we are not able to process your request. Please try again later.","requestOrganizationMessages.step.error.seeingProblem":"If you keep seeing this problem <a class=\'sid-link\' href=\'{feedbackUrl}&pid={programId}\' target=\'_blank\'>contact us</a>.","requestOrganizationMessages.step.error.title":"An unexpected error occurred","requestOrganizationMessages.step.success.description":"Your request to add your educational institution has been received. As a reminder, each request is evaluated by SheerID against the requirements set by this offer. There is no guarantee that your school will be added. The evaluation process can take up to 7 business days.","requestOrganizationMessages.step.success.title":"Thank you","requestOrganizationMessages.submit":"Submit","requestOrganizationMessages.title":"Request to Add School","segmentMessages.age.emailExplanation":"Needed to send you your unique code","segmentMessages.age.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying age.<br><br>Documents are used only for verifying your current age and will be permanently deleted after review is finalized.","segmentMessages.age.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.age.step.docUpload.title":"We need your license or passport","segmentMessages.age.step.docUpload.uploadInstructions":"Upload a government-issued document that shows","segmentMessages.age.step.personalInfo.howDoesVerifyingWorkDetails":"To be eligible for this offer, you must be of a certain age.<br><br>{companyName} uses SheerID, a trusted partner, to verify your age. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.age.step.personalInfo.subtitle":"Verify your current age.","segmentMessages.age.step.personalInfo.title":"Unlock Your Special Offer","segmentMessages.age.step.personalInfo.tryAgain.subtitle":"Your full name and birthdate must match what is on your government-issued documents.","segmentMessages.age.step.personalInfo.tryAgain.title":"Check Your Name & Birthdate","segmentMessages.age.step.personalInfo.verifyingTitle":"Verifying your age","segmentMessages.age.step.success.redirectButtonText":"Use code now","segmentMessages.age.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.age.step.success.title":"You\'ve been verified","segmentMessages.employment.addressExplanation":"Use your home address","segmentMessages.employment.emailExplanation":"Use your work email if you have one","segmentMessages.employment.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying employees.<br><br>Documents are used only for verify your employment status is current and will be permanently deleted after review is finalized.","segmentMessages.employment.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.employment.step.docUpload.title":"We need more information","segmentMessages.employment.step.docUpload.uploadInstructions":"Upload an official document that shows","segmentMessages.employment.step.personalInfo.howDoesVerifyingWorkDetails":"{companyName} has set up this special offer for all current employees of select companies.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are currently employed. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.employment.step.personalInfo.subtitle":"Verify you\'re a current employee at an eligible company.","segmentMessages.employment.step.personalInfo.title":"Unlock this Employment-Only Offer","segmentMessages.employment.step.personalInfo.tryAgain.subtitle":"The information you have provided should match your official documents.","segmentMessages.employment.step.personalInfo.tryAgain.title":"Check the information that you have provided","segmentMessages.employment.step.personalInfo.verifyingTitle":"Verifying your employment status","segmentMessages.employment.step.sso.alternative":"You can also verify by uploading proof of employment","segmentMessages.employment.step.sso.cancel":"Upload proof of employment","segmentMessages.employment.step.sso.login":"Sign in to my email","segmentMessages.employment.step.sso.subtitle":"Please sign in to your company\'s email portal. It will open in a new tab.","segmentMessages.employment.step.sso.subtitle2":"Can\'t sign in to your email?","segmentMessages.employment.step.sso.title":"Verify using your company-provided email credentials","segmentMessages.employment.step.success.redirectButtonText":"Use code now","segmentMessages.employment.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.employment.step.success.title":"You\'ve been verified","segmentMessages.firstResponder.emailExplanation":"Needed to send you your unique code","segmentMessages.firstResponder.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying first responders.<br><br>Documents are used only for verifying your first responder status is current and will be permanently deleted after review is finalized.","segmentMessages.firstResponder.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.firstResponder.step.docUpload.title":"We need your ID","segmentMessages.firstResponder.step.docUpload.uploadInstructions":"Upload an official document that shows","segmentMessages.firstResponder.step.personalInfo.howDoesVerifyingWorkDetails":"This offer is available to all US first responders and emergency personnel - including law enforcement, EMTs, paramedics, and firefighters.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are an active first responder. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.firstResponder.step.personalInfo.subtitle":"Verify you\'re an active first responder.","segmentMessages.firstResponder.step.personalInfo.title":"Unlock this 1st Responder-Only Offer","segmentMessages.firstResponder.step.personalInfo.tryAgain.subtitle":"Your full name, organization name, and email must match what is on record with your agency.","segmentMessages.firstResponder.step.personalInfo.tryAgain.title":"Check Your Name, Email & Organization","segmentMessages.firstResponder.step.personalInfo.verifyingTitle":"Verifying your first responder status","segmentMessages.firstResponder.step.success.redirectButtonText":"Use code now","segmentMessages.firstResponder.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.firstResponder.step.success.title":"You\'ve been verified","segmentMessages.identity.emailExplanation":"Needed to send you your unique code","segmentMessages.identity.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying identity.<br><br>Documents are used only for verifying your current eligibility and will be permanently deleted after review is finalized.","segmentMessages.identity.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.identity.step.docUpload.title":"We need your driver license","segmentMessages.identity.step.docUpload.uploadInstructions":"Upload a government-issued document that shows","segmentMessages.identity.step.personalInfo.howDoesVerifyingWorkDetails":"To be eligible for this offer, you must have a valid driver license.<br><br>{companyName} uses SheerID, a trusted partner, to verify your identity. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.identity.step.personalInfo.subtitle":"Verify your current identity.","segmentMessages.identity.step.personalInfo.title":"Unlock Your Special Offer","segmentMessages.identity.step.personalInfo.tryAgain.subtitle":"Your information must match what is on your government-issued document(s).","segmentMessages.identity.step.personalInfo.tryAgain.title":"Check Your Name & other fields","segmentMessages.identity.step.personalInfo.verifyingTitle":"Verifying your identity","segmentMessages.identity.step.success.redirectButtonText":"Use code now","segmentMessages.identity.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.identity.step.success.title":"You\'ve been verified","segmentMessages.licensedProfessional.emailExplanation":"Needed to send you your unique code","segmentMessages.licensedProfessional.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying licensed professionals.<br><br>Documents are used only for verifying your licensure or certification status is current and will be permanently deleted after review is finalized.","segmentMessages.licensedProfessional.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.licensedProfessional.step.docUpload.title":"We need your professional license or certificate","segmentMessages.licensedProfessional.step.docUpload.uploadInstructions":"Upload a government-issued document that shows","segmentMessages.licensedProfessional.step.personalInfo.howDoesVerifyingWorkDetails":"To be eligible for this offer, you must hold a current professional license in your specified field. Eligible fields are shown in the Status selector of this form.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a licensed professional. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.licensedProfessional.step.personalInfo.subtitle":"Verify you have a professional license in your field.","segmentMessages.licensedProfessional.step.personalInfo.title":"Unlock this Special Offer","segmentMessages.licensedProfessional.step.personalInfo.tryAgain.subtitle":"Your information must match what is on your government-issued document(s).","segmentMessages.licensedProfessional.step.personalInfo.tryAgain.title":"Check Your Name & other fields","segmentMessages.licensedProfessional.step.personalInfo.verifyingTitle":"Verifying your license","segmentMessages.licensedProfessional.step.success.redirectButtonText":"Use code now","segmentMessages.licensedProfessional.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.licensedProfessional.step.success.title":"You\'ve been verified","segmentMessages.lowIncome.addressExplanation":"Use your home address","segmentMessages.lowIncome.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying your eligibility.<br><br>Documents are used only for verifying your eligibility status is current and will be permanently deleted after review is finalized.","segmentMessages.lowIncome.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.lowIncome.step.docUpload.title":"We need some more info","segmentMessages.lowIncome.step.docUpload.uploadInstructions":"Upload an official document that shows","segmentMessages.lowIncome.step.personalInfo.howDoesVerifyingWorkDetails":"To be eligible for this offer, you must currently qualify for an eligible government assistance program. The eligible Government Assistance Programs for this offer can be found in the box below.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a recipient of these benefits. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.lowIncome.step.personalInfo.subtitle":"Verify you qualify for an eligible government assistance program.","segmentMessages.lowIncome.step.personalInfo.title":"Unlock this Special Offer","segmentMessages.lowIncome.step.personalInfo.tryAgain.subtitle":"Your information must match what is on your government-issued document(s).","segmentMessages.lowIncome.step.personalInfo.tryAgain.title":"Check Your full name & other fields","segmentMessages.lowIncome.step.personalInfo.verifyingTitle":"Verifying your status","segmentMessages.lowIncome.step.success.redirectButtonText":"Use code now","segmentMessages.lowIncome.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.lowIncome.step.success.title":"You\'ve been verified","segmentMessages.medical.emailExplanation":"Use your work email if you have one","segmentMessages.medical.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying medical professionals.<br><br>Documents are used only for verifying your medical professional status is current and will be permanently deleted after review is finalized.","segmentMessages.medical.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.medical.step.docUpload.title":"We need more information","segmentMessages.medical.step.docUpload.uploadInstructions":"Upload an official document that shows","segmentMessages.medical.step.personalInfo.howDoesVerifyingWorkDetails":"To be eligible for this offer, you must (1) be a medical professional currently licensed in the United States and (2) be a member of an eligible branch of the medical profession. Eligible branches are shown in the Status selector of this form.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a medical professional. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.medical.step.personalInfo.subtitle":"Verify you\'re a licensed medical professional.","segmentMessages.medical.step.personalInfo.title":"Unlock this Medical Professional-Only Offer","segmentMessages.medical.step.personalInfo.tryAgain.subtitle":"Your first and last name, birthdate and organization must match what is on your official documents.","segmentMessages.medical.step.personalInfo.tryAgain.title":"Check your Name, Birthdate & Organization","segmentMessages.medical.step.personalInfo.verifyingTitle":"Verifying your medical professional status","segmentMessages.medical.step.sso.alternative":"You can also verify by uploading proof of employment","segmentMessages.medical.step.sso.login":"Sign into my employer web portal","segmentMessages.medical.step.sso.subtitle":"Please sign into your employer\'s web portal. It will open in a new tab.","segmentMessages.medical.step.sso.title":"Verify your Healthcare status","segmentMessages.medical.step.success.redirectButtonText":"Use code now","segmentMessages.medical.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.medical.step.success.title":"You\'ve been verified","segmentMessages.member.emailExplanation":"Needed to send you your unique code","segmentMessages.member.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying members.<br><br>Documents are used only to verify that your membership status is current and will be permanently deleted after review is finalized.","segmentMessages.member.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.member.step.docUpload.title":"We need more information","segmentMessages.member.step.docUpload.uploadInstructions":"Upload an official document that shows","segmentMessages.member.step.personalInfo.howDoesVerifyingWorkDetails":"{companyName} has set up this special offer for all current members of select organizations.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are currently employed. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.member.step.personalInfo.subtitle":"Verify you\'re a current member of an eligible organization.","segmentMessages.member.step.personalInfo.title":"Unlock this Members-Only Offer","segmentMessages.member.step.personalInfo.tryAgain.subtitle":"The information you have provided should match your official documents.","segmentMessages.member.step.personalInfo.tryAgain.title":"Check the information that you have provided","segmentMessages.member.step.personalInfo.verifyingTitle":"Verifying your membership status","segmentMessages.member.step.success.redirectButtonText":"Use code now","segmentMessages.member.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.member.step.success.title":"You\'ve been verified","segmentMessages.military.emailExplanation":"Personal email address is recommended","segmentMessages.military.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying military.<br><br>Documents are used only for verifying your military status is current and will be permanently deleted after review is finalized.","segmentMessages.military.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.military.step.docUpload.title":"We need more information","segmentMessages.military.step.docUpload.uploadInstructions":"Upload your government-issued document that shows","segmentMessages.military.step.personalInfo.howDoesVerifyingWorkDetails":"This offer is available to military personnel who have served or are currently serving in the United States Armed Forces.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a member of the military. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.military.step.personalInfo.subtitle":"Verify you\'re a member of the armed forces.","segmentMessages.military.step.personalInfo.title":"Unlock this Military-Only Offer","segmentMessages.military.step.personalInfo.tryAgain.subtitle":"Enter your first and last name on the form as it appears on your military document(s). Keep in mind that may be your given name.","segmentMessages.military.step.personalInfo.tryAgain.title":"Check Your Name & Birthdate","segmentMessages.military.step.personalInfo.verifyingTitle":"Verifying your military status","segmentMessages.military.step.success.redirectButtonText":"Use code now","segmentMessages.military.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.military.step.success.title":"You\'ve been verified","segmentMessages.recentMover.emailExplanation":"Needed to send you your unique code","segmentMessages.recentMover.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying recent movers.<br><br>Documents are used only for verifying that you\'ve recently moved and will will be permanently deleted after review is finalized.","segmentMessages.recentMover.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.recentMover.step.docUpload.title":"We need some more info","segmentMessages.recentMover.step.docUpload.uploadInstructions":"Upload an official document that shows","segmentMessages.recentMover.step.personalInfo.howDoesVerifyingWorkDetails":"To be eligible for this offer, you must have moved to a new address within the last 60 days.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you have recently moved. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.recentMover.step.personalInfo.subtitle":"Verify you have recently moved.","segmentMessages.recentMover.step.personalInfo.title":"Unlock this Special Offer","segmentMessages.recentMover.step.personalInfo.tryAgain.subtitle":"Your first and last name and address must match what is on your official documents.","segmentMessages.recentMover.step.personalInfo.tryAgain.title":"Check Your Name & Address Information","segmentMessages.recentMover.step.personalInfo.verifyingTitle":"Verifying your moving status","segmentMessages.recentMover.step.success.redirectButtonText":"Use code now","segmentMessages.recentMover.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.recentMover.step.success.title":"You\'ve been verified","segmentMessages.senior.emailExplanation":"Needed to send you your unique code","segmentMessages.senior.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying age.<br><br>Documents are used only for verifying your current age and will be permanently deleted after review is finalized.","segmentMessages.senior.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.senior.step.docUpload.title":"We need your license or passport","segmentMessages.senior.step.docUpload.uploadInstructions":"Upload a government-issued document that shows","segmentMessages.senior.step.personalInfo.howDoesVerifyingWorkDetails":"To be eligible for this offer, you must be of a certain age.<br><br>{companyName} uses SheerID, a trusted partner, to verify your age. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.senior.step.personalInfo.subtitle":"Verify your current age.","segmentMessages.senior.step.personalInfo.title":"Unlock Your Special Offer","segmentMessages.senior.step.personalInfo.tryAgain.subtitle":"Your full name and birthdate must match what is on your government-issued documents.","segmentMessages.senior.step.personalInfo.tryAgain.title":"Check Your Name & Birthdate","segmentMessages.senior.step.personalInfo.verifyingTitle":"Verifying your age","segmentMessages.senior.step.success.redirectButtonText":"Use code now","segmentMessages.senior.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.senior.step.success.title":"You\'ve been verified","segmentMessages.student.emailExplanation":"A student email address is preferred","segmentMessages.student.schoolName":"School","segmentMessages.student.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying students.<br><br>Documents are used only for verifying your student status is current and will be permanently deleted after review is finalized.","segmentMessages.student.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.student.step.docUpload.title":"We need your ID & class schedule","segmentMessages.student.step.docUpload.uploadInstructions":"Upload your school-issued document that shows","segmentMessages.student.step.personalInfo.howDoesVerifyingWorkDetails":"To be eligible for this offer, you must currently be enrolled in a degree or certificate-granting, accredited school of education.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a current student. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.student.step.personalInfo.subtitle":"Verify you\'re a student at a degree-granting school.","segmentMessages.student.step.personalInfo.title":"Unlock this Student-Only Offer","segmentMessages.student.step.personalInfo.tryAgain.subtitle":"Your full name and birthdate must match what is on your official school records.","segmentMessages.student.step.personalInfo.tryAgain.title":"Check Your Name & Birthdate","segmentMessages.student.step.personalInfo.verifyingTitle":"Verifying your student status","segmentMessages.student.step.sso.alternative":"You can also verify by uploading proof of your enrollment","segmentMessages.student.step.sso.cancel":"Upload Proof of Enrollment","segmentMessages.student.step.sso.login":"Sign into my academic institution","segmentMessages.student.step.sso.subtitle":"Your academic institution\'s portal will open in a new window for you to verify using your login information","segmentMessages.student.step.sso.title":"Verify using academic institution credentials","segmentMessages.student.step.success.redirectButtonText":"Use code now","segmentMessages.student.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.student.step.success.title":"You\'ve been verified","segmentMessages.teacher.emailExplanation":"Must be your school-issued email address","segmentMessages.teacher.schoolName":"School name","segmentMessages.teacher.schoolNamePlaceholder":"School name","segmentMessages.teacher.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying teachers.<br><br>Documents are used only for verifying your teacher or faculty status is current and will be permanently deleted after review is finalized.","segmentMessages.teacher.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.teacher.step.docUpload.title":"We need more information","segmentMessages.teacher.step.docUpload.uploadInstructions":"Upload your school-issued document that shows","segmentMessages.teacher.step.personalInfo.howDoesVerifyingWorkDetails":"To be eligible for this offer, you must currently be employed as a teacher, faculty or staff at a K-12 school or university in the United States.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a current teacher, faculty or staff member. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.teacher.step.personalInfo.subtitle":"Verify you\'re a teacher, faculty or staff at a K-12 or degree-granting university.","segmentMessages.teacher.step.personalInfo.title":"Unlock this Teaching Staff-Only Offer","segmentMessages.teacher.step.personalInfo.tryAgain.subtitle":"Your full name and email address must match what is on record with your school.","segmentMessages.teacher.step.personalInfo.tryAgain.title":"Check Your Name & Email","segmentMessages.teacher.step.personalInfo.verifyingTitle":"Verifying your teacher status","segmentMessages.teacher.step.success.redirectButtonText":"Use code now","segmentMessages.teacher.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.teacher.step.success.title":"You\'ve been verified"}');function Ma(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Ca(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Ma(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Ma(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Ia=e=>{var r;const n=ba()(r=t()(e)).call(r,((t,r)=>(e[r]&&(t[r]=e[r]),t)),{});return Ea.flatten.unflatten(n)},Na=function(){var e=gr((function*(e){let t;switch(e){case"ar":t=yield o.e(711).then(o.t.bind(o,49,19)).then((e=>e.default));break;case"bg":t=yield o.e(458).then(o.t.bind(o,7813,19)).then((e=>e.default));break;case"cs":t=yield o.e(41).then(o.t.bind(o,3751,19)).then((e=>e.default));break;case"da":t=yield o.e(348).then(o.t.bind(o,5298,19)).then((e=>e.default));break;case"de":t=yield o.e(903).then(o.t.bind(o,2464,19)).then((e=>e.default));break;case"el":t=yield o.e(482).then(o.t.bind(o,2757,19)).then((e=>e.default));break;case"en-GB":t=yield o.e(194).then(o.t.bind(o,2925,19)).then((e=>e.default));break;case"en-US":t=Sa;break;case"es-ES":t=yield o.e(79).then(o.t.bind(o,7954,19)).then((e=>e.default));break;case"es":t=yield o.e(195).then(o.t.bind(o,7685,19)).then((e=>e.default));break;case"fi":t=yield o.e(304).then(o.t.bind(o,4214,19)).then((e=>e.default));break;case"fr-CA":t=yield o.e(485).then(o.t.bind(o,7762,19)).then((e=>e.default));break;case"fr":t=yield o.e(645).then(o.t.bind(o,6685,19)).then((e=>e.default));break;case"ga":t=yield o.e(456).then(o.t.bind(o,1804,19)).then((e=>e.default));break;case"hr":t=yield o.e(122).then(o.t.bind(o,6754,19)).then((e=>e.default));break;case"hu":t=yield o.e(722).then(o.t.bind(o,465,19)).then((e=>e.default));break;case"id":t=yield o.e(398).then(o.t.bind(o,5394,19)).then((e=>e.default));break;case"it":t=yield o.e(797).then(o.t.bind(o,7206,19)).then((e=>e.default));break;case"iw":t=yield o.e(961).then(o.t.bind(o,7238,19)).then((e=>e.default));break;case"ja":t=yield o.e(691).then(o.t.bind(o,912,19)).then((e=>e.default));break;case"ko":t=yield o.e(293).then(o.t.bind(o,5295,19)).then((e=>e.default));break;case"lo":t=yield o.e(47).then(o.t.bind(o,4762,19)).then((e=>e.default));break;case"lt":t=yield o.e(283).then(o.t.bind(o,7399,19)).then((e=>e.default));break;case"ms":t=yield o.e(478).then(o.t.bind(o,8031,19)).then((e=>e.default));break;case"nl":t=yield o.e(596).then(o.t.bind(o,3845,19)).then((e=>e.default));break;case"no":t=yield o.e(44).then(o.t.bind(o,7897,19)).then((e=>e.default));break;case"pl":t=yield o.e(589).then(o.t.bind(o,2176,19)).then((e=>e.default));break;case"pt-BR":t=yield o.e(495).then(o.t.bind(o,3170,19)).then((e=>e.default));break;case"pt":t=yield o.e(259).then(o.t.bind(o,4055,19)).then((e=>e.default));break;case"ru":t=yield o.e(753).then(o.t.bind(o,4194,19)).then((e=>e.default));break;case"sk":t=yield o.e(61).then(o.t.bind(o,6349,19)).then((e=>e.default));break;case"sl":t=yield o.e(666).then(o.t.bind(o,7091,19)).then((e=>e.default));break;case"sr":t=yield o.e(916).then(o.t.bind(o,3263,19)).then((e=>e.default));break;case"sv":t=yield o.e(140).then(o.t.bind(o,8638,19)).then((e=>e.default));break;case"th":t=yield o.e(845).then(o.t.bind(o,2407,19)).then((e=>e.default));break;case"tr":t=yield o.e(856).then(o.t.bind(o,8374,19)).then((e=>e.default));break;case"zh-HK":t=yield o.e(93).then(o.t.bind(o,6320,19)).then((e=>e.default));break;case"zh":t=yield o.e(494).then(o.t.bind(o,7485,19)).then((e=>e.default));break;default:he.warn(`getMessagesModuleByLocale: Unable to load messages for ${e}, falling back to en-US`),t=Sa}return Ia(t)}));return function(t){return e.apply(this,arguments)}}(),Da=function(){var e=gr((function*(e){const t=yield fetch(`${na()}localized-messages/${e}.json`,{headers:{"Content-Type":"text/plain"}});let r={};try{r=yield t.json()}catch(e){he.error(e)}return Ia(r)}));return function(t){return e.apply(this,arguments)}}(),Ta=e=>{var r;const n=(0,Ea.flatten)(e),a={};return d()(r=t()(n)).call(r,(e=>{"string"==typeof n[e]&&(a[e]=n[e])})),a},Aa=e=>{let t={};return Mn().messagesWithLocale[e]&&(t=Mn().messagesWithLocale[e]),t},xa=e=>"iw"===e?"he":e,_a=function(){var e=gr((function*(e,t,r){let n,a=e;Gr(a)||(he.error(`Invalid locale ${a}, falling back to ${tn} for the verification form`,"Invalid locale"),a=tn),n="true"===window.sheerIdEs5?yield Da(a):yield Na(a);const i=n?n.defaultMessages:{},o=n&&n.segmentMessages,s=r&&o?n.segmentMessages[r]:{},l=Aa(a),u=t?Ta(t):{},c=a!==tn?yield _a(tn,t,r):{};return $()({},c,i?(0,Ea.flatten)(i):{},s?(0,Ea.flatten)(s):{},u,l?(0,Ea.flatten)(l):{})}));return function(t,r,n){return e.apply(this,arguments)}}();const Oa=(e,t)=>{const r=oe((()=>e.localeChoice.value))||oe((()=>t.locale))||Mn().locale||xr(window.location.href).get("locale")||void 0||tn;if(Gr(r))return r;const n=r.substring(0,2);return Gr(n)?n:tn};function ka(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Pa(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=ka(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=ka(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Ra={enabled:!1,required:!1,message:""},Fa=ha()({enabled:!1,keys:[],requiredKeys:[]}),La=e=>{let t=ie(Fa);try{oe((()=>e.config.customMetadata.enabled))&&(t=Pa(Pa({},t),e.config.customMetadata))}catch(e){he.warn("No custom metadata provided by the server.")}return Mn().customMetadata&&(t=Pa(Pa({},t),Mn().customMetadata)),t},Ua=e=>{let t=Pa({},Ra);try{e.config.marketConsent&&(t=e.config.marketConsent)}catch(e){he.warn("Server did not provided a market consent config. Default will be used")}return Mn().marketConsent&&(t=Mn().marketConsent),t},Ba=e=>{let t;try{t=e.intl.messages}catch(t){he.warn("Unable to get theme messages from ",e)}return t},Va=e=>Mn().customCss||e.customCss,za=e=>{const t=Mn();return t.hasOwnProperty("logoUrl")?t.logoUrl:e.logoUrl},ja=e=>Mn().privacyPolicyUrl||e.privacyPolicyUrl,Ha=e=>{let t=["en-US"],r=[];try{r=e.config.locales}catch(e){he.warn("Unable to get configured locales from programTheme")}const n=$a(Mn());return t=[...r,...n],a=t,i()(o=va()(a).call(a)).call(o,((e,t,r)=>!t||e!==r[t-1]));var a,o},$a=e=>e&&e.messagesWithLocale?t()(e.messagesWithLocale):[],qa=e=>{try{if(e&&e.config&&e.config.countries)return e.config.countries;if(e.intl.messages.step.personalInfo.countries){const t=[];for(const r in e.intl.messages.step.personalInfo.countries)t.push(r);return t}}catch(e){he.warn("Unable to get configured countries")}return["US"]},Wa=e=>{let t;try{t=e.config.estimatedReviewTime}catch(e){t="A_FEW_HOURS"}return t},Ga=e=>{let t;try{t=e.config.maxReviewTime}catch(e){t="2_HRS"}return t},Ya=Mn(),Ka=(e,t,r,n)=>{let a;try{a=e.config.customFaqLink}catch(e){a=""}return a&&""!==a?a:`${(()=>{const e="urlFaq";return Ya.hasOwnProperty(e)||he.error(`Can't find an option for '${e}'`,"Option not found"),Ya[e]})()}?pid=${r}&locale=${(e=>e.replace("-","_"))(n)}`},Za=(e,t)=>oe((()=>e.config.orgSearchCountryTags[t].join(",")),""),Ja=({children:e})=>q.createElement("div",{className:"sid sid-form-wrapper"},e);function Xa(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Qa(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Xa(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Xa(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const ei={firstName:"",lastName:"",email:"",phoneNumber:""},ti={countryChoice:void 0,localeChoice:{value:void 0,label:void 0}},ri={organization:{id:0,name:""}},ni={fieldsToSkipValidation:void 0},ai=Qa(Qa(Qa(Qa(Qa({},ei),ti),ni),ri),{},{birthDate:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),ii=Qa(Qa(Qa(Qa({},ei),ti),ni),{},{birthDate:"",postalCode:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),oi=Qa(Qa(Qa(Qa({},ei),ti),ni),{},{birthDate:"",postalCode:"",phoneNumber:"",country:"US",metadata:{marketConsentValue:!1,carrierConsentValue:!1,refererUrl:window.location.href}}),si=Qa(Qa(Qa(Qa(Qa({},ei),ti),ni),ri),{},{birthDate:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),li=Qa(Qa(Qa(Qa({},ei),ti),ri),{},{birthDate:"",phoneNumber:"",memberId:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),ui=Qa(Qa(Qa(Qa(Qa({},ei),ti),ni),ri),{},{activeDutyStartDate:"",birthDate:"",status:void 0,metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),ci=Qa(Qa(Qa(Qa(Qa({},ei),ti),ni),ri),{},{activeDutyStartDate:"",birthDate:"",dischargeDate:"",status:void 0,metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),di=Qa(Qa(Qa(Qa(Qa({},ei),ti),ni),ri),{},{birthDate:"",status:void 0,metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),fi=Qa(Qa(Qa(Qa(Qa({},ei),ti),ni),ri),{},{birthDate:"",postalCode:"",status:void 0,country:void 0,metadata:{marketConsentValue:!1,refererUrl:window.location.href},memberId:void 0}),mi=Qa(Qa(Qa(Qa(Qa({},ei),ti),ni),ri),{},{postalCode:"",address1:"",city:"",state:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),pi=Qa(Qa(Qa(Qa({},ei),ni),ti),{},{state:"",driverLicenseNumber:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),hi=Qa(Qa(Qa(Qa({},ei),ni),ti),{},{birthDate:"",address1:"",city:"",state:"",postalCode:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),gi=Qa(Qa(Qa(Qa({},ei),ni),ti),{},{birthDate:"",address1:"",city:"",state:"",postalCode:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href},driverLicenseNumber:""}),vi=Qa(Qa(Qa(Qa(Qa({},ei),ni),ti),ri),{},{birthDate:"",postalCode:"",statuses:[],metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),yi=Qa(Qa(Qa(Qa({},ei),ni),ti),{},{address1:"",postalCode:"",statuses:[],metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),bi=Qa(Qa(Qa(Qa(Qa({},ei),ni),ti),ri),{},{birthDate:"",address1:"",city:"",state:"",postalCode:"",statuses:[],ebtCardNumber:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),Ei=Qa(Qa(Qa({},ti),ni),{},{file1:void 0,file2:void 0,file3:void 0}),wi=Qa(Qa(Qa({},ti),ni),{},{isSSOActive:!1}),Si=(Qa(Qa({},ti),{},{overrideCode:void 0}),Qa(Qa({},ti),{},{socialSecurityNumber:void 0})),Mi=Qa(Qa({},ti),{},{smsCode:"",phoneNumber:void 0}),Ci=Qa(Qa({},ti),{},{emailToken:""}),Ii=Qa({},ti),Ni={firstName:void 0,lastName:void 0,memberId:void 0,email:void 0,phoneNumber:void 0,birthDate:void 0,organization:void 0,postalCode:void 0,address1:void 0,city:void 0,country:void 0,state:void 0,activeDutyStartDate:void 0,dischargeDate:void 0,docUpload:void 0,status:void 0,statuses:void 0,socialSecurityNumber:void 0,marketConsentValue:void 0,carrierConsentValue:void 0,smsCode:void 0,driverLicenseNumber:void 0,ebtCardNumber:void 0,overrideCode:void 0},Di=()=>({collectStudentPersonalInfo:ie(ai),collectTeacherPersonalInfo:ie(si),collectMemberPersonalInfo:ie(li),collectMilitaryStatus:ie(ui),collectActiveMilitaryPersonalInfo:ie(ui),collectInactiveMilitaryPersonalInfo:ie(ci),collectSeniorPersonalInfo:ie(ii),collectAgePersonalInfo:ie(oi),collectFirstResponderPersonalInfo:ie(di),collectMedicalProfessionalPersonalInfo:ie(fi),collectEmployeePersonalInfo:ie(mi),collectSocialSecurityNumber:ie(Si),collectDriverLicensePersonalInfo:ie(pi),collectGeneralIdentityPersonalInfo:ie(hi),collectHybridIdentityPersonalInfo:ie(gi),collectLicensedProfessionalPersonalInfo:ie(vi),collectLowIncomePersonalInfo:ie(bi),collectMoverPersonalInfo:ie(yi),docUpload:ie(Ei),cancelEmailLoop:ie(Ci),sso:ie(wi),smsLoop:ie(Mi),emailLoop:ie(Ci),pending:ie(Ii),success:ie(Ii),consolation:ie(Ii),override:ie(Ii),error:ie(Ii),cancelSocialSecurityNumber:ie(Ii),docReviewLimitExceeded:ie(Ii),cancelDocUpload:ie(Ii),missingRequiredMetadata:ie(Ii)}),Ti=()=>ie(Ni),Ai=()=>({intl:{locale:Oa(),messages:{}},customCss:""}),xi=Qa(Qa({},ti),{},{orgDomain:"",orgName:"",firstName:"",lastName:"",email:"",displayResults:!1,searchByOrgName:!1,completeRequest:!1,eligibleOrgs:[],ineligibleOrgs:[],orgCountryError:null,orgDomainError:null,orgNameError:null,firstNameError:null,lastNameError:null,emailError:null,isSearching:!1});const _i=ha()({viewModel:ie(xi),programTheme:void 0,programId:void 0,submitted:!1,error:void 0,locale:void 0,messages:void 0,isLoading:1,isInitialized:!1}),Oi=()=>ie(_i),ki=q.createContext([Oi(),()=>{}]);var Pi=o(1652);function Ri(){return Ri=Pi||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ri.apply(this,arguments)}var Fi=o(8897),Li=o(1245),Ui=o(7347);function Bi(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},i=Ui(e);for(n=0;n<i.length;n++)r=i[n],Li(t).call(t,r)>=0||(a[r]=e[r]);return a}(e,t);if(Fi){var i=Fi(e);for(n=0;n<i.length;n++)r=i[n],Li(t).call(t,r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const Vi=["dangerouslySetInnerHTML"],zi=e=>{let{dangerouslySetInnerHTML:t}=e,r=Bi(e,Vi);return t?q.createElement("span",Ri({dangerouslySetInnerHTML:t},r)):q.createElement(q.Fragment,r)};var ji,Hi=o(2814),$i=o.n(Hi),qi=o(1671),Wi=o.n(qi),Gi=o(8338),Yi=o.n(Gi);!function(e){e.UK="UK",e.GB="GB",e.JE="JE",e.GG="GG",e.IM="IM",e.US="US",e.CA="CA",e.IE="IE",e.DE="DE",e.JP="JP",e.FR="FR",e.AU="AU",e.IT="IT",e.CH="CH",e.AT="AT",e.ES="ES",e.NL="NL",e.BE="BE",e.DK="DK",e.SE="SE",e.NO="NO",e.BR="BR",e.PT="PT",e.FI="FI",e.AX="AX",e.KR="KR",e.CN="CN",e.TW="TW",e.SG="SG",e.DZ="DZ",e.AD="AD",e.AR="AR",e.AM="AM",e.AZ="AZ",e.BH="BH",e.BD="BD",e.BB="BB",e.BY="BY",e.BM="BM",e.BA="BA",e.IO="IO",e.BN="BN",e.BG="BG",e.KH="KH",e.CV="CV",e.CL="CL",e.CR="CR",e.HR="HR",e.CY="CY",e.CZ="CZ",e.DO="DO",e.EC="EC",e.EG="EG",e.EE="EE",e.FO="FO",e.GE="GE",e.GR="GR",e.GL="GL",e.GT="GT",e.HT="HT",e.HN="HN",e.HU="HU",e.IS="IS",e.IN="IN",e.ID="ID",e.IL="IL",e.JO="JO",e.KZ="KZ",e.KE="KE",e.KW="KW",e.LA="LA",e.LV="LV",e.LB="LB",e.LI="LI",e.LT="LT",e.LU="LU",e.MK="MK",e.MY="MY",e.MV="MV",e.MT="MT",e.MU="MU",e.MX="MX",e.MD="MD",e.MC="MC",e.MA="MA",e.NP="NP",e.NZ="NZ",e.NI="NI",e.NG="NG",e.OM="OM",e.PK="PK",e.PY="PY",e.PH="PH",e.PL="PL",e.PR="PR",e.RO="RO",e.RU="RU",e.SM="SM",e.SA="SA",e.SN="SN",e.SK="SK",e.SI="SI",e.ZA="ZA",e.LK="LK",e.TJ="TJ",e.TH="TH",e.TN="TN",e.TR="TR",e.TM="TM",e.UA="UA",e.UY="UY",e.UZ="UZ",e.VA="VA",e.VE="VE",e.ZM="ZM",e.AS="AS",e.CC="CC",e.CK="CK",e.RS="RS",e.ME="ME",e.CS="CS",e.YU="YU",e.CX="CX",e.ET="ET",e.FK="FK",e.NF="NF",e.FM="FM",e.GF="GF",e.GN="GN",e.GP="GP",e.GS="GS",e.GU="GU",e.GW="GW",e.HM="HM",e.IQ="IQ",e.KG="KG",e.LR="LR",e.LS="LS",e.MG="MG",e.MH="MH",e.MN="MN",e.MP="MP",e.MQ="MQ",e.NC="NC",e.NE="NE",e.VI="VI",e.PF="PF",e.PG="PG",e.PM="PM",e.PN="PN",e.PW="PW",e.RE="RE",e.SH="SH",e.SJ="SJ",e.SO="SO",e.SZ="SZ",e.TC="TC",e.WF="WF",e.XK="XK",e.YT="YT",e.INTL="INTL"}(ji||(ji={}));const Ki=new Map([[ji.UK,/^([A-Z]){1}([0-9][0-9]|[0-9]|[A-Z][0-9][A-Z]|[A-Z][0-9][0-9]|[A-Z][0-9]|[0-9][A-Z]){1}([ ])?([0-9][A-z][A-z]){1}$/i],[ji.GB,/^([A-Z]){1}([0-9][0-9]|[0-9]|[A-Z][0-9][A-Z]|[A-Z][0-9][0-9]|[A-Z][0-9]|[0-9][A-Z]){1}([ ])?([0-9][A-z][A-z]){1}$/i],[ji.JE,/^JE\d[\dA-Z]?[ ]?\d[ABD-HJLN-UW-Z]{2}$/],[ji.GG,/^GY\d[\dA-Z]?[ ]?\d[ABD-HJLN-UW-Z]{2}$/],[ji.IM,/^IM\d[\dA-Z]?[ ]?\d[ABD-HJLN-UW-Z]{2}$/],[ji.US,/^([0-9]{5})(?:-([0-9]{4}))?$/],[ji.CA,/^([ABCEGHJKLMNPRSTVXY][0-9][ABCEGHJKLMNPRSTVWXYZ])\s*([0-9][ABCEGHJKLMNPRSTVWXYZ][0-9])$/i],[ji.IE,/^([AC-FHKNPRTV-Y][0-9]{2}|D6W)[ -]?[0-9AC-FHKNPRTV-Y]{4}$/],[ji.DE,/^\d{5}$/],[ji.JP,/^\d{3}-\d{4}$/],[ji.FR,/^\d{2}[ ]?\d{3}$/],[ji.AU,/^\d{4}$/],[ji.IT,/^\d{5}$/],[ji.CH,/^\d{4}$/],[ji.AT,/^(?!0)\d{4}$/],[ji.ES,/^\d{5}$/],[ji.NL,/^\d{4}[ ]?[A-Z]{2}$/],[ji.BE,/^\d{4}$/],[ji.DK,/^\d{4}$/],[ji.SE,/^(SE-)?\d{3}[ ]?\d{2}$/],[ji.NO,/^\d{4}$/],[ji.BR,/^\d{5}[\-]?\d{3}$/],[ji.PT,/^\d{4}([\-]\d{3})?$/],[ji.FI,/^(FI-|AX-)?\d{5}$/],[ji.AX,/^22\d{3}$/],[ji.KR,/^\d{5}$/],[ji.CN,/^\d{6}$/],[ji.TW,/^\d{3}(\d{2})?$/],[ji.SG,/^\d{6}$/],[ji.DZ,/^\d{5}$/],[ji.AD,/^AD\d{3}$/],[ji.AR,/^([A-HJ-NP-Z])?\d{4}([A-Z]{3})?$/],[ji.AM,/^(37)?\d{4}$/],[ji.AZ,/^\d{4}$/],[ji.BH,/^((1[0-2]|[2-9])\d{2})?$/],[ji.BD,/^\d{4}$/],[ji.BB,/^(BB\d{5})?$/],[ji.BY,/^\d{6}$/],[ji.BM,/^[A-Z]{2}[ ]?[A-Z0-9]{2}$/],[ji.BA,/^\d{5}$/],[ji.IO,/^BBND 1ZZ$/],[ji.BN,/^[A-Z]{2}[ ]?\d{4}$/],[ji.BG,/^\d{4}$/],[ji.KH,/^\d{5}$/],[ji.CV,/^\d{4}$/],[ji.CL,/^\d{7}$/],[ji.CR,/^\d{4,5}|\d{3}-\d{4}$/],[ji.HR,/^(HR-)?\d{5}$/],[ji.CY,/^\d{4}$/],[ji.CZ,/^\d{3}[ ]?\d{2}$/],[ji.DO,/^\d{5}$/],[ji.EC,/^([A-Z]\d{4}[A-Z]|(?:[A-Z]{2})?\d{6})?$/],[ji.EG,/^\d{5}$/],[ji.EE,/^\d{5}$/],[ji.FO,/^\d{3}$/],[ji.GE,/^\d{4}$/],[ji.GR,/^\d{3}[ ]?\d{2}$/],[ji.GL,/^39\d{2}$/],[ji.GT,/^\d{5}$/],[ji.HT,/^\d{4}$/],[ji.HN,/^(?:\d{5})?$/],[ji.HU,/^\d{4}$/],[ji.IS,/^\d{3}$/],[ji.IN,/^\d{6}$/],[ji.ID,/^\d{5}$/],[ji.IL,/^\d{5,7}$/],[ji.JO,/^\d{5}$/],[ji.KZ,/^\d{6}$/],[ji.KE,/^\d{5}$/],[ji.KW,/^\d{5}$/],[ji.LA,/^\d{5}$/],[ji.LV,/^(LV-)?\d{4}$/],[ji.LB,/^(\d{4}([ ]?\d{4})?)?$/],[ji.LI,/^(948[5-9])|(949[0-7])$/],[ji.LT,/^(LT-)?\d{5}$/],[ji.LU,/^(L-)?\d{4}$/],[ji.MK,/^\d{4}$/],[ji.MY,/^\d{5}$/],[ji.MV,/^\d{5}$/],[ji.MT,/^[A-Z]{3}[ ]?\d{2,4}$/],[ji.MU,/^((\d|[A-Z])\d{4})?$/],[ji.MX,/^\d{5}$/],[ji.MD,/^\d{4}$/],[ji.MC,/^980\d{2}$/],[ji.MA,/^\d{5}$/],[ji.NP,/^\d{5}$/],[ji.NZ,/^\d{4}$/],[ji.NI,/^((\d{4}-)?\d{3}-\d{3}(-\d{1})?)?$/],[ji.NG,/^(\d{6})?$/],[ji.OM,/^(PC )?\d{3}$/],[ji.PK,/^\d{5}$/],[ji.PY,/^\d{4}$/],[ji.PH,/^\d{4}$/],[ji.PL,/^\d{2}-\d{3}$/],[ji.PR,/^00[679]\d{2}([ \-]\d{4})?$/],[ji.RO,/^\d{6}$/],[ji.RU,/^\d{6}$/],[ji.SM,/^4789\d$/],[ji.SA,/^\d{5}$/],[ji.SN,/^\d{5}$/],[ji.SK,/^\d{3}[ ]?\d{2}$/],[ji.SI,/^(SI-)?\d{4}$/],[ji.ZA,/^\d{4}$/],[ji.LK,/^\d{5}$/],[ji.TJ,/^\d{6}$/],[ji.TH,/^\d{5}$/],[ji.TN,/^\d{4}$/],[ji.TR,/^\d{5}$/],[ji.TM,/^\d{6}$/],[ji.UA,/^\d{5}$/],[ji.UY,/^\d{5}$/],[ji.UZ,/^\d{6}$/],[ji.VA,/^00120$/],[ji.VE,/^\d{4}$/],[ji.ZM,/^\d{5}$/],[ji.AS,/^96799$/],[ji.CC,/^6799$/],[ji.CK,/^\d{4}$/],[ji.RS,/^\d{5,6}$/],[ji.ME,/^8\d{4}$/],[ji.CS,/^\d{5}$/],[ji.YU,/^\d{5}$/],[ji.CX,/^6798$/],[ji.ET,/^\d{4}$/],[ji.FK,/^FIQQ 1ZZ$/],[ji.NF,/^2899$/],[ji.FM,/^(9694[1-4])([ \-]\d{4})?$/],[ji.GF,/^9[78]3\d{2}$/],[ji.GN,/^\d{3}$/],[ji.GP,/^9[78][01]\d{2}$/],[ji.GS,/^SIQQ 1ZZ$/],[ji.GU,/^969[123]\d([ \-]\d{4})?$/],[ji.GW,/^\d{4}$/],[ji.HM,/^\d{4}$/],[ji.IQ,/^\d{5}$/],[ji.KG,/^\d{6}$/],[ji.LR,/^\d{4}$/],[ji.LS,/^\d{3}$/],[ji.MG,/^\d{3}$/],[ji.MH,/^969[67]\d([ \-]\d{4})?$/],[ji.MN,/^\d{6}$/],[ji.MP,/^9695[012]([ \-]\d{4})?$/],[ji.MQ,/^9[78]2\d{2}$/],[ji.NC,/^988\d{2}$/],[ji.NE,/^\d{4}$/],[ji.VI,/^008(([0-4]\d)|(5[01]))([ \-]\d{4})?$/],[ji.PF,/^987\d{2}$/],[ji.PG,/^\d{3}$/],[ji.PM,/^9[78]5\d{2}$/],[ji.PN,/^PCRN 1ZZ$/],[ji.PW,/^96940$/],[ji.RE,/^9[78]4\d{2}$/],[ji.SH,/^(ASCN|STHL) 1ZZ$/],[ji.SJ,/^\d{4}$/],[ji.SO,/^\d{5}$/],[ji.SZ,/^[HLMS]\d{3}$/],[ji.TC,/^TKCA 1ZZ$/],[ji.WF,/^986\d{2}$/],[ji.XK,/^\d{5}$/],[ji.YT,/^976\d{2}$/],[ji.INTL,/^(?:[A-Z0-9]+([- ]?[A-Z0-9]+)*)?$/i]]);var Zi=o(861),Ji=o.n(Zi);const Xi=["ACTIVE_DUTY","VETERAN","RESERVIST","MILITARY_RETIREE","MILITARY_FAMILY","GOLD_STAR_FAMILY"],Qi=["FIREFIGHTER","EMT","POLICE","SEARCH_AND_RESCUE"],eo=["NURSE","DOCTOR","DENTIST","PHARMACIST","OTHER_HEALTH_WORKER"];let to={};function ro(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function no(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=ro(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=ro(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const ao=10,io=4096,oo=[/^\+?0*\d{10,}(x[0-9]{0,5})?$/,/(^\D?(\d{3})\D?\D?(\d{3})\D?(\d{4})$)/],so=(e,t)=>{const r=jr();for(const r in e){var n;const a=e[r]?e[r]:"",i=e.fieldsToSkipValidation&&$i()(n=e.fieldsToSkipValidation).call(n,r);if(Oe[r]&&"string"==typeof Ho(r,a,t)&&!i)return!1}const a=oe((()=>e.metadata),null);if(null!==a)for(const e in a){const n=void 0!==a[e]?a[e]:"";if($i()(r).call(r,e)&&"string"==typeof Vr(e)(n,t))return!1}return!0},lo=(e,t,r,n,a)=>n?(he.info(`Using overridden validator for field '${e}'`),n(t,a)):r(t,a),uo=()=>{const e=Ti(),t=(()=>{const e={},t=jr();if(t)for(const r of t)e[r]=void 0;return e})();return no(no({},e),t)},co=e=>{if(void 0===e||!Ro(e))return"invalidFirstName"},fo=e=>{if(void 0===e||!Ro(e))return"invalidLastName"},mo=()=>{},po=e=>{if(!e)return"invalidCountry"},ho=e=>{if(void 0===e||!/(^\s*?[A-Za-z0-9!#$%&''*+\/=?^_`{|}~-]+(\.[A-Za-z0-9!#$%&''*+\/=?^_`{|}~-]+)*@([A-Za-z0-9!#$%&''*+\/=?^_`{|}~-]+(\.[A-Za-z0-9!#$%&''*+\/=?^_`{|}~-]+)+|\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])\s*?$)/.test(e))return"invalidEmail"},go=e=>t=>{const r="invalidPhoneNumber";if(e&&!t)return r;const n=i()(oo).call(oo,(e=>e.test(t)));return t&&0===n.length?r:void 0},vo=e=>{if(void 0===e.id||Wi()(e.id)||"EMPLOYER"!==e.source&&e.id<0||"EMPLOYER"===e.source&&(e.id>-1||!e.idExtended)||0===e.id&&e.name.length<=0)return"invalidOrganization"},yo=(e,t)=>{const r="invalidBirthDate";if(oe((()=>"collectMemberPersonalInfo"===t.currentStep))){if(void 0===e||""===e||e.split("undefined").join("").length<=2)return;if(!Lo(e)||!Fo(e))return r}else if(void 0===e||!Lo(e)||!Fo(e))return r;return Vo(e,oe((()=>t.minAge)),oe((()=>t.maxAge)))?"outsideAgePerson":Uo(e)?"futureBirthDate":Bo(e)?"underagePerson":void 0},bo=e=>{const t=rn;return void 0===e?"noValidFiles":(r=e.name)&&$i()(r).call(r,".")&&!$i()(t).call(t,e.type)?"unsupportedDocMimeType":e.size>10485760?"invalidFileSizeMax":e.size<=0?"invalidFileSizeEmpty":void 0;var r},Eo=(e,t)=>{var r;const n=t.viewModel;if(n.statuses&&$i()(r=n.statuses).call(r,"SNAP_BENEFITS")){if(!e.match(/^\d{16,19}$/))return"invalidEbtCardNumber";if(Z()(e).call(e,"610098")&&19!==e.length)return"invalidEbtCardNumber";const t=["600486","507712","507714"];if(!re()(t).call(t,(t=>Z()(e).call(e,t)))&&!Ji()(e))return"invalidEbtCardNumber"}},wo=(e,t)=>{const r=oe((()=>t.viewModel.countryChoice.value),"US");if(!zo(r,e))return"invalidPostalCode"},So=e=>{if(!e)return"invalidAddress"},Mo=e=>{if(!e)return"invalidCity"},Co=e=>{if(!jo(e))return"invalidState"},Io=e=>void 0!==e&&Lo(e)&&Fo(e),No=(e,t)=>new Date(e)<new Date(t.birthDate),Do=(e,t)=>Io(e)?Uo(e)?"futureDischargeDate":No(e,t.viewModel)?"dischargeDateBeforeBirthDate":void 0:"invalidDischargeDate",To=(e,t)=>{if(e||t.strictMilitaryValidationEnabled)return Io(e)?Uo(e)?"futureActiveDutyStartDate":No(e,t.viewModel)?"activeDutyStartDateBeforeBirthDate":void 0:"invalidActiveDutyStartDate"},Ao=e=>{if(9!==e.toString().length)return"invalidSocialSecurityNumber"},xo=e=>{if(void 0===e||!/^[A-Za-z0-9-\*]{1,100}$/.test(e))return"invalidDriverLicenseNumber"},_o=e=>{if(!e||!ko(e)||!Po(e))return"invalidStatuses"},Oo=e=>{if(!e||!(e=>$i()(Xi).call(Xi,e))(e)&&!(e=>$i()(Qi).call(Qi,e))(e)&&!(e=>$i()(eo).call(eo,e))(e))return"invalidStatus"},ko=e=>e.length>0,Po=e=>e.length>0,Ro=e=>/((?:[A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u065F\u066E-\u06D3\u06D5-\u06DC\u06E1-\u06E8\u06DF-\u06E4\u06ED-\u06EF\u06EA-\u06ED\u06FA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07CA-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D3-\u08E1\u08E3-\u0963\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09F0\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A70-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u103F\u1050-\u108F\u109A-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u180B-\u180D\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F\u1AA7\u1AB0-\u1ABE\u1B00-\u1B4B\u1B6B-\u1B73\u1B80-\u1BAF\u1BBA-\u1BF3\u1C00-\u1C37\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u24B6-\u24E9\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEF\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA672\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7B9\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8E0-\uA8F7\uA8FB\uA8FD-\uA8FF\uA90A-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF\uA9E0-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD27\uDF00-\uDF1C\uDF27\uDF30-\uDF50]|\uD804[\uDC00-\uDC46\uDC82-\uDCBA\uDC7F-\uDC82\uDCD0-\uDCE8\uDD00-\uDD34\uDD44-\uDD46\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDC9-\uDDCC\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3B-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC5E\uDC80-\uDCC5\uDCC7\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE80-\uDEB7\uDF00-\uDF1A\uDF1D-\uDF2B]|\uD806[\uDC00-\uDC3A\uDCA0-\uDCDF\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDEE0-\uDEF6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFF1]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD30-\uDD49\uDD50-\uDD69\uDD70-\uDD89]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF])+)/g.test(e),Fo=e=>{const t=e.split("-"),r=Yi()(t[0],ao),n=Yi()(t[1],ao),a=Yi()(t[2],ao),i=[31,28,31,30,31,30,31,31,30,31,30,31];return!(r<1900||r>3e3||n<=0||n>12)&&((r%400==0||r%100!=0&&r%4==0)&&(i[1]=29),!(a<=0||a>i[n-1]))},Lo=e=>!!/^\d{4}[\-\s\/]\d{1,2}[\-\s\/]\d{1,2}$/.test(e),Uo=e=>{const t=new Date;return new Date(e)>t},Bo=(e,t=16)=>{const r=e.split("-"),n=Yi()(r[0],ao),a=Yi()(r[1],ao),i=Yi()(r[2],ao),o=(new Date).getFullYear(),s=(new Date).getMonth()+1,l=(new Date).getDate();if(o-n===t){if(s-a<0)return!0;if(s-a==0&&l-i<0)return!0}else if(o-n<t)return!0;return!1},Vo=(e,t,r)=>{let n=!1,a=!1;return t&&(n=Bo(e,t)),r&&(a=((e,t=120)=>{const r=e.split("-"),n=Yi()(r[0],ao),a=Yi()(r[1],ao),i=Yi()(r[2],ao),o=(new Date).getFullYear(),s=(new Date).getMonth()+1,l=(new Date).getDate();if(o-n===t){if(s-a>0)return!0;if(s-a==0&&l-i>0)return!0}else if(o-n>t)return!0;return!1})(e,r)),n||a},zo=(e="US",t)=>{const r=e;return!!(e=>Ki.has(e))(r)&&((e,t)=>{if(!Ki.has(t))throw Error(`Invalid country code: ${t}`);return Ki.get(t).test(e)})(t,r)},jo=e=>{if(!e)return!1;const t=Y()(Fe);return Pr()(t).call(t,e.toUpperCase())>=0},Ho=(e,t,r)=>{let n;(e=>{const t=jr();if(Pr()(ke).call(ke,e)<0&&Pr()(t).call(t,e)<0)throw new Error(`Expected valid field ID but received ${e}.\n Valid FieldIds are [${ke.join(", ")}, ${t.join(", ")}]`)})(e);const a=to[i=e]?(he.log(`getOverridenValidator returning '${i}'`),to[i]):null;var i;switch(e){case Oe.firstName:return n=co,lo(e,t,n,a,r);case Oe.lastName:return n=fo,lo(e,t,n,a,r);case Oe.memberId:return n=mo,lo(e,t,n,a,r);case Oe.email:return n=ho,lo(e,t,n,a,r);case Oe.phoneNumber:return n=(e=>go(e&&e.smsLoopEnabled))(r),lo(e,t,n,a,r);case Oe.organization:return n=vo,lo(e,t,n,a,r);case Oe.birthDate:return n=yo,lo(e,t,n,a,r);case Oe.postalCode:return n=wo,lo(e,t,n,a,r);case Oe.address1:return n=So,lo(e,t,n,a,r);case Oe.city:return n=Mo,lo(e,t,n,a,r);case Oe.state:return n=Co,lo(e,t,n,a,r);case Oe.country:return n=po,lo(e,t,n,a,r);case Oe.dischargeDate:return n=Do,lo(e,t,n,a,r);case Oe.activeDutyStartDate:return n=To,lo(e,t,n,a,r);case Oe.socialSecurityNumber:return n=Ao,lo(e,t,n,a,r);case Oe.status:return n=Oo,lo(e,t,n,a,r);case Oe.statuses:return n=_o,lo(e,t,n,a,r);case Oe.driverLicenseNumber:return n=xo,lo(e,t,n,a,r);case Oe.docUpload:return n=bo,lo(e,t,n,a,r);case Oe.ebtCardNumber:return n=Eo,lo(e,t,n,a,r);case Oe.overrideCode:return n=bo,lo(e,t,n,a,r);default:if((e=>{const t=jr();return!!(t.length&&Pr()(t).call(t,e)>=0)})(e))return((e,t,r)=>{const n=Vr(e);return he.info(`Using custom validator for custom field '${e}'`),n?n(t,r):void 0})(e,t,r)}};var $o=o(1666),qo=o.n($o),Wo=o(1639),Go=o.n(Wo);function Yo(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ko(e){return!!e&&!!e[Us]}function Zo(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===Bs}(e)||Array.isArray(e)||!!e[Ls]||!!e.constructor[Ls]||ns(e)||as(e))}function Jo(e,t,r){void 0===r&&(r=!1),0===Xo(e)?(r?Object.keys:Vs)(e).forEach((function(n){r&&"symbol"==typeof n||t(n,e[n],e)})):e.forEach((function(r,n){return t(n,r,e)}))}function Xo(e){var t=e[Us];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:ns(e)?2:as(e)?3:0}function Qo(e,t){return 2===Xo(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function es(e,t){return 2===Xo(e)?e.get(t):e[t]}function ts(e,t,r){var n=Xo(e);2===n?e.set(t,r):3===n?(e.delete(t),e.add(r)):e[t]=r}function rs(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function ns(e){return ks&&e instanceof Map}function as(e){return Ps&&e instanceof Set}function is(e){return e.o||e.t}function os(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=zs(e);delete t[Us];for(var r=Vs(t),n=0;n<r.length;n++){var a=r[n],i=t[a];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function ss(e,t){return void 0===t&&(t=!1),us(e)||Ko(e)||!Zo(e)||(Xo(e)>1&&(e.set=e.add=e.clear=e.delete=ls),Object.freeze(e),t&&Jo(e,(function(e,t){return ss(t,!0)}),!0)),e}function ls(){Yo(2)}function us(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function cs(e){var t=js[e];return t||Yo(18,e),t}function ds(e,t){js[e]||(js[e]=t)}function fs(){return _s}function ms(e,t){t&&(cs("Patches"),e.u=[],e.s=[],e.v=t)}function ps(e){hs(e),e.p.forEach(vs),e.p=null}function hs(e){e===_s&&(_s=e.l)}function gs(e){return _s={p:[],l:_s,h:e,m:!0,_:0}}function vs(e){var t=e[Us];0===t.i||1===t.i?t.j():t.O=!0}function ys(e,t){t._=t.p.length;var r=t.p[0],n=void 0!==e&&e!==r;return t.h.g||cs("ES5").S(t,e,n),n?(r[Us].P&&(ps(t),Yo(4)),Zo(e)&&(e=bs(t,e),t.l||ws(t,e)),t.u&&cs("Patches").M(r[Us],e,t.u,t.s)):e=bs(t,r,[]),ps(t),t.u&&t.v(t.u,t.s),e!==Fs?e:void 0}function bs(e,t,r){if(us(t))return t;var n=t[Us];if(!n)return Jo(t,(function(a,i){return Es(e,n,t,a,i,r)}),!0),t;if(n.A!==e)return t;if(!n.P)return ws(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=4===n.i||5===n.i?n.o=os(n.k):n.o;Jo(3===n.i?new Set(a):a,(function(t,i){return Es(e,n,a,t,i,r)})),ws(e,a,!1),r&&e.u&&cs("Patches").R(n,r,e.u,e.s)}return n.o}function Es(e,t,r,n,a,i){if(Ko(a)){var o=bs(e,a,i&&t&&3!==t.i&&!Qo(t.D,n)?i.concat(n):void 0);if(ts(r,n,o),!Ko(o))return;e.m=!1}if(Zo(a)&&!us(a)){if(!e.h.F&&e._<1)return;bs(e,a),t&&t.A.l||ws(e,a)}}function ws(e,t,r){void 0===r&&(r=!1),e.h.F&&e.m&&ss(t,r)}function Ss(e,t){var r=e[Us];return(r?is(r):e)[t]}function Ms(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function Cs(e){e.P||(e.P=!0,e.l&&Cs(e.l))}function Is(e){e.o||(e.o=os(e.t))}function Ns(e,t,r){var n=ns(t)?cs("MapSet").N(t,r):as(t)?cs("MapSet").T(t,r):e.g?function(e,t){var r=Array.isArray(e),n={i:r?1:0,A:t?t.A:fs(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},a=n,i=Hs;r&&(a=[n],i=$s);var o=Proxy.revocable(a,i),s=o.revoke,l=o.proxy;return n.k=l,n.j=s,l}(t,r):cs("ES5").J(t,r);return(r?r.A:fs()).p.push(n),n}function Ds(e){return Ko(e)||Yo(22,e),function e(t){if(!Zo(t))return t;var r,n=t[Us],a=Xo(t);if(n){if(!n.P&&(n.i<4||!cs("ES5").K(n)))return n.t;n.I=!0,r=Ts(t,a),n.I=!1}else r=Ts(t,a);return Jo(r,(function(t,a){n&&es(n.t,t)===a||ts(r,t,e(a))})),3===a?new Set(r):r}(e)}function Ts(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return os(e)}function As(){function e(e,t){var r=a[e];return r?r.enumerable=t:a[e]=r={configurable:!0,enumerable:t,get:function(){var t=this[Us];return Hs.get(t,e)},set:function(t){var r=this[Us];Hs.set(r,e,t)}},r}function t(e){for(var t=e.length-1;t>=0;t--){var a=e[t][Us];if(!a.P)switch(a.i){case 5:n(a)&&Cs(a);break;case 4:r(a)&&Cs(a)}}}function r(e){for(var t=e.t,r=e.k,n=Vs(r),a=n.length-1;a>=0;a--){var i=n[a];if(i!==Us){var o=t[i];if(void 0===o&&!Qo(t,i))return!0;var s=r[i],l=s&&s[Us];if(l?l.t!==o:!rs(s,o))return!0}}var u=!!t[Us];return n.length!==Vs(t).length+(u?0:1)}function n(e){var t=e.k;if(t.length!==e.t.length)return!0;var r=Object.getOwnPropertyDescriptor(t,t.length-1);return!(!r||r.get)}var a={};ds("ES5",{J:function(t,r){var n=Array.isArray(t),a=function(t,r){if(t){for(var n=Array(r.length),a=0;a<r.length;a++)Object.defineProperty(n,""+a,e(a,!0));return n}var i=zs(r);delete i[Us];for(var o=Vs(i),s=0;s<o.length;s++){var l=o[s];i[l]=e(l,t||!!i[l].enumerable)}return Object.create(Object.getPrototypeOf(r),i)}(n,t),i={i:n?5:4,A:r?r.A:fs(),P:!1,I:!1,D:{},l:r,t,k:a,o:null,O:!1,C:!1};return Object.defineProperty(a,Us,{value:i,writable:!0}),a},S:function(e,r,a){a?Ko(r)&&r[Us].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var r=t[Us];if(r){var a=r.t,i=r.k,o=r.D,s=r.i;if(4===s)Jo(i,(function(t){t!==Us&&(void 0!==a[t]||Qo(a,t)?o[t]||e(i[t]):(o[t]=!0,Cs(r)))})),Jo(a,(function(e){void 0!==i[e]||Qo(i,e)||(o[e]=!1,Cs(r))}));else if(5===s){if(n(r)&&(Cs(r),o.length=!0),i.length<a.length)for(var l=i.length;l<a.length;l++)o[l]=!1;else for(var u=a.length;u<i.length;u++)o[u]=!0;for(var c=Math.min(i.length,a.length),d=0;d<c;d++)void 0===o[d]&&e(i[d])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?r(e):n(e)}})}var xs,_s,Os="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),ks="undefined"!=typeof Map,Ps="undefined"!=typeof Set,Rs="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Fs=Os?Symbol.for("immer-nothing"):((xs={})["immer-nothing"]=!0,xs),Ls=Os?Symbol.for("immer-draftable"):"__$immer_draftable",Us=Os?Symbol.for("immer-state"):"__$immer_state",Bs=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),Vs="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,zs=Object.getOwnPropertyDescriptors||function(e){var t={};return Vs(e).forEach((function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)})),t},js={},Hs={get:function(e,t){if(t===Us)return e;var r=is(e);if(!Qo(r,t))return function(e,t,r){var n,a=Ms(t,r);return a?"value"in a?a.value:null===(n=a.get)||void 0===n?void 0:n.call(e.k):void 0}(e,r,t);var n=r[t];return e.I||!Zo(n)?n:n===Ss(e.t,t)?(Is(e),e.o[t]=Ns(e.A.h,n,e)):n},has:function(e,t){return t in is(e)},ownKeys:function(e){return Reflect.ownKeys(is(e))},set:function(e,t,r){var n=Ms(is(e),t);if(null==n?void 0:n.set)return n.set.call(e.k,r),!0;if(!e.P){var a=Ss(is(e),t),i=null==a?void 0:a[Us];if(i&&i.t===r)return e.o[t]=r,e.D[t]=!1,!0;if(rs(r,a)&&(void 0!==r||Qo(e.t,t)))return!0;Is(e),Cs(e)}return e.o[t]===r&&"number"!=typeof r&&(void 0!==r||t in e.o)||(e.o[t]=r,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==Ss(e.t,t)||t in e.t?(e.D[t]=!1,Is(e),Cs(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=is(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty:function(){Yo(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Yo(12)}},$s={};Jo(Hs,(function(e,t){$s[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),$s.deleteProperty=function(e,t){return Hs.deleteProperty.call(this,e[0],t)},$s.set=function(e,t,r){return Hs.set.call(this,e[0],t,r,e[0])};var qs=function(){function e(e){var t=this;this.g=Rs,this.F=!0,this.produce=function(e,r,n){if("function"==typeof e&&"function"!=typeof r){var a=r;r=e;var i=t;return function(e){var t=this;void 0===e&&(e=a);for(var n=arguments.length,o=Array(n>1?n-1:0),s=1;s<n;s++)o[s-1]=arguments[s];return i.produce(e,(function(e){var n;return(n=r).call.apply(n,[t,e].concat(o))}))}}var o;if("function"!=typeof r&&Yo(6),void 0!==n&&"function"!=typeof n&&Yo(7),Zo(e)){var s=gs(t),l=Ns(t,e,void 0),u=!0;try{o=r(l),u=!1}finally{u?ps(s):hs(s)}return"undefined"!=typeof Promise&&o instanceof Promise?o.then((function(e){return ms(s,n),ys(e,s)}),(function(e){throw ps(s),e})):(ms(s,n),ys(o,s))}if(!e||"object"!=typeof e){if((o=r(e))===Fs)return;return void 0===o&&(o=e),t.F&&ss(o,!0),o}Yo(21,e)},this.produceWithPatches=function(e,r){return"function"==typeof e?function(r){for(var n=arguments.length,a=Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];return t.produceWithPatches(r,(function(t){return e.apply(void 0,[t].concat(a))}))}:[t.produce(e,r,(function(e,t){n=e,a=t})),n,a];var n,a},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){Zo(e)||Yo(8),Ko(e)&&(e=Ds(e));var t=gs(this),r=Ns(this,e,void 0);return r[Us].C=!0,hs(t),r},t.finishDraft=function(e,t){var r=(e&&e[Us]).A;return ms(r,t),ys(void 0,r)},t.setAutoFreeze=function(e){this.F=e},t.setUseProxies=function(e){e&&!Rs&&Yo(20),this.g=e},t.applyPatches=function(e,t){var r;for(r=t.length-1;r>=0;r--){var n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}var a=cs("Patches").$;return Ko(e)?a(e,t):this.produce(e,(function(e){return a(e,t.slice(r+1))}))},e}(),Ws=new qs,Gs=Ws.produce;Ws.produceWithPatches.bind(Ws),Ws.setAutoFreeze.bind(Ws),Ws.setUseProxies.bind(Ws),Ws.applyPatches.bind(Ws),Ws.createDraft.bind(Ws),Ws.finishDraft.bind(Ws);const Ys=Gs;var Ks=o(6812),Zs=o.n(Ks);let Js=[],Xs=null;const Qs=(e,t)=>{const r={fieldId:e,ref:t},n=Zs()(Js).call(Js,(t=>t.fieldId===e));-1!==n?Js[n]=r:Js.push(r)},el=()=>Js,tl=e=>{for(const t of Js)if(t.fieldId===e)return t.ref;return he.error(`A ref for fieldId ${e} could not be found. Has one been registered using setRef()?`,"ref error"),null},rl=()=>{Js=[],he.info("Refs have been reset")},nl=()=>{null!==Xs&&(Xs.close(),Xs=null)},al=(e,t)=>{const r=t.viewModel,n=Gs(r,(t=>{t.organization=e?{id:e.id,idExtended:e.idExtended,name:e.name}:ri.organization,r.organization&&void 0!==r.organization.source&&(t.organization.source=r.organization.source)}));t.updateViewModel(n)},il=(e,t)=>{t.updateFieldValidationErrors(e)},ol=(e,t,r)=>{const{fieldValidationErrors:n}=r,a=Gs(n,(n=>{n[e]&&(n[e]=Ho(e,t,r.formValidationOptions))}));il(a,r)},sl=(e,t)=>oe((()=>1===t.length))&&"US"===oe((()=>t[0]))||oe((()=>"US"===e.value))||oe((()=>void 0===e.value)),ll=(e,t,r)=>t?e.formatHTMLMessage({id:t,defaultMessage:r[t]}):"",ul=new(qo())([["GB",["ACTIVE_DUTY","VETERAN","RESERVIST"]]]),cl=(e,t)=>{const r=e.verificationResponse.availableStatuses||e.previousVerificationResponse&&e.previousVerificationResponse.availableStatuses,n=[],a=e.viewModel&&e.viewModel.countryChoice&&e.viewModel.countryChoice.value,o=a&&ul.get(a),s=o?i()(r).call(r,(e=>$i()(o).call(o,e))):r;return s?(d()(s).call(s,(e=>{n.push({value:e,label:ll(t,e,Te)})})),n):null},dl=e=>"birthDate"===e||"birthDateDay"===e?"birthDateYear":e,fl=e=>{const t=tl("submitButton");"Enter"===e.key&&t&&t.click()},ml=(e,t,r)=>{const n=((e,t)=>{const r=uo(),n=oe((()=>e.metadata),null);for(const a in r)if(e.hasOwnProperty(a)){const n=oe((()=>e.fieldsToSkipValidation));if(X()(n)&&Pr()(n).call(n,a)>-1)continue;const i=e[a]?e[a]:"";r[a]=Ho(a,i,t)}else if(null!==n&&"object"==typeof n&&n.hasOwnProperty(a)){const e=n[a]?n[a]:"";r[a]=Ho(a,e,t)}const{customFormFields:a}=Mn();return a&&d()(a).call(a,(t=>{let n;try{n=t.validate(e.metadata[t.fieldId])}catch(e){he.warn(`Error validating custom field ${t.fieldId}`,e)}n?r[t.fieldId]=n:delete r[t.fieldId]})),r})(e,t.formValidationOptions),a=!(e=>{for(const t in e)if(e[t])return he.info(`Field '${t}' has errorId '${e[t]}'`),!0;return!1})(n);if(a)he.info(`${r} submitting form`),t.submitStep(r,e,t.verificationResponse);else{const e=(()=>{const e=el(),t=[];return Cr()(e).call(e,(e=>t.push(e.fieldId))),t})(),r=((e,t)=>{var r;let n;return d()(r=Go()(e).call(e)).call(r,(e=>{if(t[e])return n=e,dl(n)})),dl(n)})(e,n);il(n,t),(e=>{const t=tl(e);if(t)try{t.focus()}catch(e){he.error(`The ref '${t}' could not be focused. Is the ref an HTMLInputElement or HTMLButtonElement?`,"ref error")}else he.error(`A ref for fieldId '${e}' could not be found. Has the ref been registered using setRef()?`,"ref error")})(r)}},pl=(e,t,r)=>({estReviewTime:r.formatHTMLMessage({id:`dateTime.${oe((()=>e.estimatedReviewTime))||Wa(t)}`,default:"a few minutes"}),maxReviewTime:r.formatHTMLMessage({id:`dateTime.${oe((()=>e.maxReviewTime))||Ga(t)}`,default:"2 hours"})}),hl=(e,t)=>{const r=qa(e);return Cr()(r).call(r,(e=>({value:e,label:t.formatHTMLMessage({id:`countries.${e}`,defaultMessage:e})})))},gl=(e,r)=>{const n=(e=>{try{if(e&&e.config&&e.config.states&&e.config.states.length>0)return e.config.states}catch(e){he.warn("Unable to get configured states")}return t()(Fe)})(e);return Cr()(n).call(n,(e=>({value:e,label:r.formatHTMLMessage({id:`states.${e}`,defaultMessage:e})})))},vl=(e,t)=>{const r=Ha(e);return Cr()(r).call(r,(e=>({value:e,label:t.formatHTMLMessage({id:`locales.${e}`,defaultMessage:e})})))},yl=e=>e.length>0?e[0]:{value:"US",label:"United States"},bl=(e,t,r)=>Gs(e,(e=>{e[t]=r})),El=e=>e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)),wl=["id","isErrored","className","hidePlaceholder","refId","required","type","ariaDescribedBy","ariaLabel"],Sl=e=>{let{id:t,isErrored:r,className:n,hidePlaceholder:a=!0,refId:i,required:o=!1,type:s="text",ariaDescribedBy:l,ariaLabel:u}=e,c=Bi(e,wl),d="";n&&(d+=`${n} `),d+="sid-text-input sid-l-full-width",a&&(d+=" sid-hidden-placeholder"),o&&(d+=" sid-text-input--required"),r&&(d+=" sid-text-input--error");const f=i||t,m=(0,q.useRef)(null);return(0,q.useEffect)((()=>{Qs(f,m.current)})),q.createElement("input",Ri({className:d,id:`sid-${t}`,name:`sid-${t}`,type:s,"aria-describedby":l,"aria-label":u,"aria-required":o,"aria-invalid":r,ref:m},c))},Ml=({text:e,htmlForLabel:t,id:r,displayClasses:n,isRequired:a,children:i})=>{return q.createElement("label",{htmlFor:t},q.createElement("div",{id:r,className:`sid-field__label sid-l-space-btm-sm ${n}`},q.createElement("span",{className:"sid-field__label-name","aria-hidden":"true"},e,a&&(o=e,!(!q.isValidElement(o)&&""===o))&&q.createElement("span",{"aria-hidden":"true",className:"sid-field__label--required"},"*")),i&&q.createElement("div",{className:"sid-field__label-explanation"},i)));var o};Ml.defaultProps={id:"",displayClasses:"",isRequired:!0,children:null};const Cl=({fieldId:e,label:t,errorMessage:r,isRequired:n,showPlaceholderAndHideLabel:a=!1,children:i,explanation:o=""})=>{const s=`sid-${El(`${e}Label`)}`;return q.createElement("div",{className:`sid-field sid-${El(e)}`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:t,isRequired:n,htmlForLabel:`sid-${El(e)}`,id:s,displayClasses:`${o?"sid-field__label-with-explanation":""}${a?"sid-h-screen-reader-only":""}`},o&&o),i,r&&q.createElement("div",{className:"sid-field-error"},r))},Il=["fieldId","value","onChange","placeholder","label","errorMessage","showPlaceholderAndHideLabel","required","explanation"],Nl=e=>{let{fieldId:t,value:r,onChange:n,placeholder:a,label:i,errorMessage:o,showPlaceholderAndHideLabel:s=!1,required:l=!0,explanation:u=""}=e,c=Bi(e,Il);const d=`sid-${El(`${t}Label`)}`;return q.createElement(Cl,{fieldId:t,label:i,errorMessage:o,showPlaceholderAndHideLabel:s,isRequired:l,explanation:u},q.createElement(Sl,Ri({id:El(t),value:r,onChange:e=>n(e.target.value),placeholder:a,hidePlaceholder:!s,"aria-labelledby":d,refId:t,isErrored:!!o,required:l},c)))},Dl=Ft((({value:e,isErrored:t,onChange:r,intl:n,placeholder:a=""})=>q.createElement(Nl,{fieldId:"firstName",value:e,onChange:r,placeholder:a||n.formatHTMLMessage({id:"firstNamePlaceholder",defaultMessage:"First Name"}),label:q.createElement(or,{id:"firstName",defaultMessage:"First name"}),errorMessage:t&&q.createElement(or,{id:"errorId.invalidFirstName",defaultMessage:"Invalid first name"}),showPlaceholderAndHideLabel:!!a}))),Tl=Ft((({value:e,isErrored:t,onChange:r,intl:n,placeholder:a=""})=>q.createElement(Nl,{fieldId:"lastName",value:e,onChange:r,placeholder:a||n.formatHTMLMessage({id:"lastNamePlaceholder",defaultMessage:"Last Name"}),label:q.createElement(or,{id:"lastName",defaultMessage:"Last name"}),errorMessage:t&&q.createElement(or,{id:"errorId.invalidLastName",defaultMessage:"Invalid last name"}),showPlaceholderAndHideLabel:!!a}))),Al=Ft((({value:e,isErrored:t,onChange:r,explanation:n,intl:a,onKeyDown:i,placeholder:o=""})=>q.createElement("div",{className:"sid-field sid-email"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"emailAddress",defaultMessage:"Email address"}),htmlForLabel:"sid-email",id:"sid-email-label",displayClasses:`sid-field__label-with-explanation${o&&" sid-h-screen-reader-only"}`},n||q.createElement(or,{id:"emailExplanation",defaultMessage:"Needed to send you your unique code"})),q.createElement(Sl,{id:"email",isErrored:t,onChange:e=>r(e.target.value),onKeyDown:"function"==typeof i?e=>i(e):void 0,placeholder:o||a.formatHTMLMessage({id:"emailAddressPlaceholder",defaultMessage:"Email"}),type:"email",value:e,required:!0,"aria-labelledby":"sid-email-label"}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidEmail",defaultMessage:"Invalid email"})):null))),xl={university:"UNIVERSITY",k12:"K12",postSecondary:"POST_SECONDARY",highSchool:"HIGH_SCHOOL"};function _l(e){return e.type===xl[this]}const Ol=Ft((({eligibleOrgs:e,ineligibleOrgs:t,intl:r})=>{const n=i()(e).call(e,_l,"university"),a=i()(e).call(e,_l,"k12"),o=i()(e).call(e,_l,"postSecondary"),s=i()(e).call(e,_l,"highSchool"),l=i()(t).call(t,_l,"university"),u=i()(t).call(t,_l,"k12"),c=i()(t).call(t,_l,"postSecondary"),d=i()(t).call(t,_l,"highSchool");return q.createElement("div",{className:"sid-l-space-top-md"},e.length+t.length>=pn.MAX_RESULT_SIZE?q.createElement("div",{className:"sid-header__subtitle--error"},q.createElement(or,{id:"errorId.tooManyResults",defaultMessage:"Your search returned too many results, please refine your search and try again"})):null,(0===e.length||0===t.length)&&q.createElement("div",null,q.createElement(or,{id:"none",defaultMessage:"None"})),n.length>0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(or,{id:"orgType.university",defaultMessage:"Universities ({e})",values:{e:r.formatHTMLMessage({id:"orgType.eligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Cr()(n).call(n,(e=>q.createElement(ma,{key:e.id,organization:e,isEligible:!0}))))),a.length>0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(or,{id:"orgType.k12",defaultMessage:"K12 ({e})",values:{e:r.formatHTMLMessage({id:"orgType.eligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Cr()(a).call(a,(e=>q.createElement(ma,{key:e.id,organization:e,isEligible:!0}))))),o.length>0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(or,{id:"orgType.postSecondary",defaultMessage:"Post Secondary Institutions ({e})",values:{e:r.formatHTMLMessage({id:"orgType.eligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Cr()(o).call(o,(e=>q.createElement(ma,{key:e.id,organization:e,isEligible:!0}))))),s.length>0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(or,{id:"orgType.highSchool",defaultMessage:"High Schools / Secondary Schools ({e})",values:{e:r.formatHTMLMessage({id:"orgType.eligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Cr()(s).call(s,(e=>q.createElement(ma,{key:e.id,organization:e,isEligible:!0}))))),l.length>0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(or,{id:"orgType.university",defaultMessage:"Universities ({e})",values:{e:r.formatHTMLMessage({id:"orgType.ineligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Cr()(l).call(l,(e=>q.createElement(ma,{key:e.id,organization:e,isEligible:!1}))))),u.length>0&&s.length<=0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(or,{id:"orgType.k12",defaultMessage:"K12 ({e})",values:{e:r.formatHTMLMessage({id:"orgType.ineligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Cr()(u).call(u,(e=>q.createElement(ma,{key:e.id,organization:e,isEligible:!1}))))),c.length>0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(or,{id:"orgType.postSecondary",defaultMessage:"Post Secondary Institutions ({e})",values:{e:r.formatHTMLMessage({id:"orgType.ineligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Cr()(c).call(c,(e=>q.createElement(ma,{key:e.id,organization:e,isEligible:!1}))))),d.length>0&&a.length<=0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(or,{id:"orgType.highSchool",defaultMessage:"High Schools / Secondary Schools ({e})",values:{e:r.formatHTMLMessage({id:"orgType.ineligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Cr()(d).call(d,(e=>q.createElement(ma,{key:e.id,organization:e,isEligible:!1}))))))})),kl=({name:e,label:t,value:r,placeholder:n,isErrored:a,onChange:i,onKeyDown:o,search:s})=>q.createElement("div",{className:"sid-request-organization-search-field-container sid-field"},q.createElement("label",{htmlFor:`sid-${e}`},q.createElement("div",{className:"sid-field__label sid-request-organization-search-label sid-l-space-btm-sm"},t)),q.createElement("div",{className:"sid-field-search sid-request-organization-search-field"},q.createElement("input",{className:"sid-text-input sid-request-organization-search-input sid-text-input--required sid-field-search-input\n sid-l-full-width "+(a?"sid-text-input--error":""),id:`sid-${e}`,name:`sid-${e}`,type:"text",value:r,onChange:e=>i(e.target.value),onKeyDown:e=>(e=>{"Enter"===e.key?s():o&&o()})(e),placeholder:n}),q.createElement("div",{tabIndex:0,onClick:()=>s(),onKeyUp:()=>s(),role:"button"},q.createElement("img",{className:"sid-l-search-icon sid-request-organization-search-icon",src:"https://assets-resources.sheerid.com/common/images/requestOrganization/search.svg",alt:"Search"}))),a?q.createElement("div",{className:"sid-field-error sid-request-organization-field-error"},q.createElement("span",null,q.createElement(or,{id:`errorId.${a}`,defaultMessage:"An unexpected error occurred"}))):null);var Pl=o(9423),Rl=o.n(Pl);o(3187);function Fl(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function Ll(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function Ul(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var r=getComputedStyle(e,null);return Ll(r.overflowY,t)||Ll(r.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function Bl(e,t,r,n,a,i,o,s){return i<e&&o>t||i>e&&o<t?0:i<=e&&s<=r||o>=t&&s>=r?i-e-n:o>t&&s<r||i<e&&s>r?o-t+a:0}var Vl=function(){return Vl=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Vl.apply(this,arguments)};function zl(e,t,r,n){return new(r||(r=Promise))((function(a,i){function o(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}l((n=n.apply(e,t||[])).next())}))}function jl(e,t){var r,n,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(o=0)),o;)try{if(r=1,n&&(a=2&s[0]?n.return:s[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;switch(n=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,n=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){o.label=s[1];break}if(6===s[0]&&o.label<a[1]){o.label=a[1],a=s;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(s);break}a[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],n=0}finally{r=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}Object.create;function Hl(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,i=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)o.push(n.value)}catch(e){a={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o}Object.create;let $l=0;function ql(e){return"function"==typeof e?e:Wl}function Wl(){}function Gl(e,t){if(!e)return;const r=function(e,t){var r=window,n=t.scrollMode,a=t.block,i=t.inline,o=t.boundary,s=t.skipOverflowHiddenElements,l="function"==typeof o?o:function(e){return e!==o};if(!Fl(e))throw new TypeError("Invalid target");for(var u=document.scrollingElement||document.documentElement,c=[],d=e;Fl(d)&&l(d);){if((d=d.parentElement)===u){c.push(d);break}null!=d&&d===document.body&&Ul(d)&&!Ul(document.documentElement)||null!=d&&Ul(d,s)&&c.push(d)}for(var f=r.visualViewport?r.visualViewport.width:innerWidth,m=r.visualViewport?r.visualViewport.height:innerHeight,p=window.scrollX||pageXOffset,h=window.scrollY||pageYOffset,g=e.getBoundingClientRect(),v=g.height,y=g.width,b=g.top,E=g.right,w=g.bottom,S=g.left,M="start"===a||"nearest"===a?b:"end"===a?w:b+v/2,C="center"===i?S+y/2:"end"===i?E:S,I=[],N=0;N<c.length;N++){var D=c[N],T=D.getBoundingClientRect(),A=T.height,x=T.width,_=T.top,O=T.right,k=T.bottom,P=T.left;if("if-needed"===n&&b>=0&&S>=0&&w<=m&&E<=f&&b>=_&&w<=k&&S>=P&&E<=O)return I;var R=getComputedStyle(D),F=parseInt(R.borderLeftWidth,10),L=parseInt(R.borderTopWidth,10),U=parseInt(R.borderRightWidth,10),B=parseInt(R.borderBottomWidth,10),V=0,z=0,j="offsetWidth"in D?D.offsetWidth-D.clientWidth-F-U:0,H="offsetHeight"in D?D.offsetHeight-D.clientHeight-L-B:0;if(u===D)V="start"===a?M:"end"===a?M-m:"nearest"===a?Bl(h,h+m,m,L,B,h+M,h+M+v,v):M-m/2,z="start"===i?C:"center"===i?C-f/2:"end"===i?C-f:Bl(p,p+f,f,F,U,p+C,p+C+y,y),V=Math.max(0,V+h),z=Math.max(0,z+p);else{V="start"===a?M-_-L:"end"===a?M-k+B+H:"nearest"===a?Bl(_,k,A,L,B+H,M,M+v,v):M-(_+A/2)+H/2,z="start"===i?C-P-F:"center"===i?C-(P+x/2)+j/2:"end"===i?C-O+U+j:Bl(P,O,x,F,U+j,C,C+y,y);var $=D.scrollLeft,q=D.scrollTop;M+=q-(V=Math.max(0,Math.min(q+V,D.scrollHeight-A+H))),C+=$-(z=Math.max(0,Math.min($+z,D.scrollWidth-x+j)))}I.push({el:D,top:V,left:z})}return I}(e,{boundary:t,block:"nearest",scrollMode:"if-needed"});r.forEach((e=>{let{el:t,top:r,left:n}=e;t.scrollTop=r,t.scrollLeft=n}))}function Yl(e,t,r){return e===t||t instanceof r.Node&&e.contains&&e.contains(t)}function Kl(e,t){let r;function n(){r&&clearTimeout(r)}function a(){for(var a=arguments.length,i=new Array(a),o=0;o<a;o++)i[o]=arguments[o];n(),r=setTimeout((()=>{r=null,e(...i)}),t)}return a.cancel=n,a}function Zl(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return t.some((t=>(t&&t(e,...n),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault)))}}function Jl(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return e=>{t.forEach((t=>{"function"==typeof t?t(e):t&&(t.current=e)}))}}function Xl(){return String($l++)}function Ql(e){let{isOpen:t,resultCount:r,previousResultCount:n}=e;return t?r?r!==n?`${r} result${1===r?" is":"s are"} available, use up and down arrow keys to navigate. Press Enter key to select.`:"":"No results are available.":""}function eu(e,t){return!(e=Array.isArray(e)?e[0]:e)&&t?t:e}function tu(e){return"string"==typeof e.type}function ru(e){return e.props}const nu=["highlightedIndex","inputValue","isOpen","selectedItem","type"];function au(e){void 0===e&&(e={});const t={};return nu.forEach((r=>{e.hasOwnProperty(r)&&(t[r]=e[r])})),t}function iu(e,t){return Object.keys(e).reduce(((r,n)=>(r[n]=ou(t,n)?t[n]:e[n],r)),{})}function ou(e,t){return void 0!==e[t]}function su(e){const{key:t,keyCode:r}=e;return r>=37&&r<=40&&0!==t.indexOf("Arrow")?`Arrow${t}`:t}function lu(e,t,r,n,a){if(void 0===a&&(a=!0),0===r)return-1;const i=r-1;("number"!=typeof t||t<0||t>=r)&&(t=e>0?-1:i+1);let o=t+e;o<0?o=a?i:0:o>i&&(o=a?0:i);const s=uu(e,o,r,n,a);return-1===s?t>=r?-1:t:s}function uu(e,t,r,n,a){const i=n(t);if(!i||!i.hasAttribute("disabled"))return t;if(e>0){for(let e=t+1;e<r;e++)if(!n(e).hasAttribute("disabled"))return e}else for(let e=t-1;e>=0;e--)if(!n(e).hasAttribute("disabled"))return e;return a?e>0?uu(1,0,r,n,!1):uu(-1,r-1,r,n,!1):-1}function cu(e,t,r,n){return void 0===n&&(n=!0),t.some((t=>t&&(Yl(t,e,r)||n&&Yl(t,r.document.activeElement,r))))}const du=Kl((e=>{mu(e).textContent=""}),500);function fu(e,t){const r=mu(t);e&&(r.textContent=e,du(t))}function mu(e){void 0===e&&(e=document);let t=e.getElementById("a11y-status-message");return t||(t=e.createElement("div"),t.setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}var pu=Object.freeze({__proto__:null,unknown:0,mouseUp:1,itemMouseEnter:2,keyDownArrowUp:3,keyDownArrowDown:4,keyDownEscape:5,keyDownEnter:6,keyDownHome:7,keyDownEnd:8,clickItem:9,blurInput:10,changeInput:11,keyDownSpaceButton:12,clickButton:13,blurButton:14,controlledPropUpdatedSelectedItem:15,touchEnd:16});const hu=(()=>{class e extends q.Component{constructor(e){var t;super(e),t=this,this.id=this.props.id||`downshift-${Xl()}`,this.menuId=this.props.menuId||`${this.id}-menu`,this.labelId=this.props.labelId||`${this.id}-label`,this.inputId=this.props.inputId||`${this.id}-input`,this.getItemId=this.props.getItemId||(e=>`${this.id}-item-${e}`),this.input=null,this.items=[],this.itemCount=null,this.previousResultCount=0,this.timeoutIds=[],this.internalSetTimeout=(e,t)=>{const r=setTimeout((()=>{this.timeoutIds=this.timeoutIds.filter((e=>e!==r)),e()}),t);this.timeoutIds.push(r)},this.setItemCount=e=>{this.itemCount=e},this.unsetItemCount=()=>{this.itemCount=null},this.setHighlightedIndex=function(e,r){void 0===e&&(e=t.props.defaultHighlightedIndex),void 0===r&&(r={}),r=au(r),t.internalSetState({highlightedIndex:e,...r})},this.clearSelection=e=>{this.internalSetState({selectedItem:null,inputValue:"",highlightedIndex:this.props.defaultHighlightedIndex,isOpen:this.props.defaultIsOpen},e)},this.selectItem=(e,t,r)=>{t=au(t),this.internalSetState({isOpen:this.props.defaultIsOpen,highlightedIndex:this.props.defaultHighlightedIndex,selectedItem:e,inputValue:this.props.itemToString(e),...t},r)},this.selectItemAtIndex=(e,t,r)=>{const n=this.items[e];null!=n&&this.selectItem(n,t,r)},this.selectHighlightedItem=(e,t)=>this.selectItemAtIndex(this.getState().highlightedIndex,e,t),this.internalSetState=(e,t)=>{let r,n;const a={},i="function"==typeof e;return!i&&e.hasOwnProperty("inputValue")&&this.props.onInputValueChange(e.inputValue,{...this.getStateAndHelpers(),...e}),this.setState((t=>{t=this.getState(t);let o=i?e(t):e;o=this.props.stateReducer(t,o),r=o.hasOwnProperty("selectedItem");const s={};return r&&o.selectedItem!==t.selectedItem&&(n=o.selectedItem),o.type=o.type||0,Object.keys(o).forEach((e=>{t[e]!==o[e]&&(a[e]=o[e]),"type"!==e&&(o[e],ou(this.props,e)||(s[e]=o[e]))})),i&&o.hasOwnProperty("inputValue")&&this.props.onInputValueChange(o.inputValue,{...this.getStateAndHelpers(),...o}),s}),(()=>{ql(t)();Object.keys(a).length>1&&this.props.onStateChange(a,this.getStateAndHelpers()),r&&this.props.onSelect(e.selectedItem,this.getStateAndHelpers()),void 0!==n&&this.props.onChange(n,this.getStateAndHelpers()),this.props.onUserAction(a,this.getStateAndHelpers())}))},this.rootRef=e=>this._rootNode=e,this.getRootProps=function(e,r){let{refKey:n="ref",ref:a,...i}=void 0===e?{}:e,{suppressRefError:o=!1}=void 0===r?{}:r;t.getRootProps.called=!0,t.getRootProps.refKey=n,t.getRootProps.suppressRefError=o;const{isOpen:s}=t.getState();return{[n]:Jl(a,t.rootRef),role:"combobox","aria-expanded":s,"aria-haspopup":"listbox","aria-owns":s?t.menuId:null,"aria-labelledby":t.labelId,...i}},this.keyDownHandlers={ArrowDown(e){if(e.preventDefault(),this.getState().isOpen){const t=e.shiftKey?5:1;this.moveHighlightedIndex(t,{type:4})}else this.internalSetState({isOpen:!0,type:4},(()=>{const e=this.getItemCount();if(e>0){const{highlightedIndex:t}=this.getState(),r=lu(1,t,e,(e=>this.getItemNodeFromIndex(e)));this.setHighlightedIndex(r,{type:4})}}))},ArrowUp(e){if(e.preventDefault(),this.getState().isOpen){const t=e.shiftKey?-5:-1;this.moveHighlightedIndex(t,{type:3})}else this.internalSetState({isOpen:!0,type:3},(()=>{const e=this.getItemCount();if(e>0){const{highlightedIndex:t}=this.getState(),r=lu(-1,t,e,(e=>this.getItemNodeFromIndex(e)));this.setHighlightedIndex(r,{type:3})}}))},Enter(e){if(229===e.which)return;const{isOpen:t,highlightedIndex:r}=this.getState();if(t&&null!=r){e.preventDefault();const t=this.items[r],n=this.getItemNodeFromIndex(r);if(null==t||n&&n.hasAttribute("disabled"))return;this.selectHighlightedItem({type:6})}},Escape(e){e.preventDefault(),this.reset({type:5,...!this.state.isOpen&&{selectedItem:null,inputValue:""}})}},this.buttonKeyDownHandlers={...this.keyDownHandlers," "(e){e.preventDefault(),this.toggleMenu({type:12})}},this.inputKeyDownHandlers={...this.keyDownHandlers,Home(e){const{isOpen:t}=this.getState();if(!t)return;e.preventDefault();const r=this.getItemCount();if(r<=0||!t)return;const n=uu(1,0,r,(e=>this.getItemNodeFromIndex(e)),!1);this.setHighlightedIndex(n,{type:7})},End(e){const{isOpen:t}=this.getState();if(!t)return;e.preventDefault();const r=this.getItemCount();if(r<=0||!t)return;const n=uu(-1,r-1,r,(e=>this.getItemNodeFromIndex(e)),!1);this.setHighlightedIndex(n,{type:8})}},this.getToggleButtonProps=function(e){let{onClick:r,onPress:n,onKeyDown:a,onKeyUp:i,onBlur:o,...s}=void 0===e?{}:e;const{isOpen:l}=t.getState(),u={onClick:Zl(r,t.buttonHandleClick),onKeyDown:Zl(a,t.buttonHandleKeyDown),onKeyUp:Zl(i,t.buttonHandleKeyUp),onBlur:Zl(o,t.buttonHandleBlur)};return{type:"button",role:"button","aria-label":l?"close menu":"open menu","aria-haspopup":!0,"data-toggle":!0,...s.disabled?{}:u,...s}},this.buttonHandleKeyUp=e=>{e.preventDefault()},this.buttonHandleKeyDown=e=>{const t=su(e);this.buttonKeyDownHandlers[t]&&this.buttonKeyDownHandlers[t].call(this,e)},this.buttonHandleClick=e=>{e.preventDefault(),this.props.environment.document.activeElement===this.props.environment.document.body&&e.target.focus(),this.internalSetTimeout((()=>this.toggleMenu({type:13})))},this.buttonHandleBlur=e=>{const t=e.target;this.internalSetTimeout((()=>{this.isMouseDown||null!=this.props.environment.document.activeElement&&this.props.environment.document.activeElement.id===this.inputId||this.props.environment.document.activeElement===t||this.reset({type:14})}))},this.getLabelProps=e=>({htmlFor:this.inputId,id:this.labelId,...e}),this.getInputProps=function(e){let r,{onKeyDown:n,onBlur:a,onChange:i,onInput:o,onChangeText:s,...l}=void 0===e?{}:e,u={};r="onChange";const{inputValue:c,isOpen:d,highlightedIndex:f}=t.getState();return l.disabled||(u={onChange:Zl(i,o,t.inputHandleChange),onKeyDown:Zl(n,t.inputHandleKeyDown),onBlur:Zl(a,t.inputHandleBlur)}),{"aria-autocomplete":"list","aria-activedescendant":d&&"number"==typeof f&&f>=0?t.getItemId(f):null,"aria-controls":d?t.menuId:null,"aria-labelledby":t.labelId,autoComplete:"off",value:c,id:t.inputId,...u,...l}},this.inputHandleKeyDown=e=>{const t=su(e);t&&this.inputKeyDownHandlers[t]&&this.inputKeyDownHandlers[t].call(this,e)},this.inputHandleChange=e=>{this.internalSetState({type:11,isOpen:!0,inputValue:e.target.value,highlightedIndex:this.props.defaultHighlightedIndex})},this.inputHandleBlur=()=>{this.internalSetTimeout((()=>{const e=this.props.environment.document&&!!this.props.environment.document.activeElement&&!!this.props.environment.document.activeElement.dataset&&this.props.environment.document.activeElement.dataset.toggle&&this._rootNode&&this._rootNode.contains(this.props.environment.document.activeElement);this.isMouseDown||e||this.reset({type:10})}))},this.menuRef=e=>{this._menuNode=e},this.getMenuProps=function(e,r){let{refKey:n="ref",ref:a,...i}=void 0===e?{}:e,{suppressRefError:o=!1}=void 0===r?{}:r;return t.getMenuProps.called=!0,t.getMenuProps.refKey=n,t.getMenuProps.suppressRefError=o,{[n]:Jl(a,t.menuRef),role:"listbox","aria-labelledby":i&&i["aria-label"]?null:t.labelId,id:t.menuId,...i}},this.getItemProps=function(e){let{onMouseMove:r,onMouseDown:n,onClick:a,onPress:i,index:o,item:s,...l}=void 0===e?{}:e;void 0===o?(t.items.push(s),o=t.items.indexOf(s)):t.items[o]=s;const u=a,c={onMouseMove:Zl(r,(()=>{o!==t.getState().highlightedIndex&&(t.setHighlightedIndex(o,{type:2}),t.avoidScrolling=!0,t.internalSetTimeout((()=>t.avoidScrolling=!1),250))})),onMouseDown:Zl(n,(e=>{e.preventDefault()})),onClick:Zl(u,(()=>{t.selectItemAtIndex(o,{type:9})}))},d=l.disabled?{onMouseDown:c.onMouseDown}:c;return{id:t.getItemId(o),role:"option","aria-selected":t.getState().highlightedIndex===o,...d,...l}},this.clearItems=()=>{this.items=[]},this.reset=function(e,r){void 0===e&&(e={}),e=au(e),t.internalSetState((r=>{let{selectedItem:n}=r;return{isOpen:t.props.defaultIsOpen,highlightedIndex:t.props.defaultHighlightedIndex,inputValue:t.props.itemToString(n),...e}}),r)},this.toggleMenu=function(e,r){void 0===e&&(e={}),e=au(e),t.internalSetState((r=>{let{isOpen:n}=r;return{isOpen:!n,...n&&{highlightedIndex:t.props.defaultHighlightedIndex},...e}}),(()=>{const{isOpen:n,highlightedIndex:a}=t.getState();n&&t.getItemCount()>0&&"number"==typeof a&&t.setHighlightedIndex(a,e),ql(r)()}))},this.openMenu=e=>{this.internalSetState({isOpen:!0},e)},this.closeMenu=e=>{this.internalSetState({isOpen:!1},e)},this.updateStatus=Kl((()=>{const e=this.getState(),t=this.items[e.highlightedIndex],r=this.getItemCount(),n=this.props.getA11yStatusMessage({itemToString:this.props.itemToString,previousResultCount:this.previousResultCount,resultCount:r,highlightedItem:t,...e});this.previousResultCount=r,fu(n,this.props.environment.document)}),200);const{defaultHighlightedIndex:r,initialHighlightedIndex:n=r,defaultIsOpen:a,initialIsOpen:i=a,initialInputValue:o="",initialSelectedItem:s=null}=this.props,l=this.getState({highlightedIndex:n,isOpen:i,inputValue:o,selectedItem:s});null!=l.selectedItem&&void 0===this.props.initialInputValue&&(l.inputValue=this.props.itemToString(l.selectedItem)),this.state=l}internalClearTimeouts(){this.timeoutIds.forEach((e=>{clearTimeout(e)})),this.timeoutIds=[]}getState(e){return void 0===e&&(e=this.state),iu(e,this.props)}getItemCount(){let e=this.items.length;return null!=this.itemCount?e=this.itemCount:void 0!==this.props.itemCount&&(e=this.props.itemCount),e}getItemNodeFromIndex(e){return this.props.environment.document.getElementById(this.getItemId(e))}scrollHighlightedItemIntoView(){{const e=this.getItemNodeFromIndex(this.getState().highlightedIndex);this.props.scrollIntoView(e,this._menuNode)}}moveHighlightedIndex(e,t){const r=this.getItemCount(),{highlightedIndex:n}=this.getState();if(r>0){const a=lu(e,n,r,(e=>this.getItemNodeFromIndex(e)));this.setHighlightedIndex(a,t)}}getStateAndHelpers(){const{highlightedIndex:e,inputValue:t,selectedItem:r,isOpen:n}=this.getState(),{itemToString:a}=this.props,{id:i}=this,{getRootProps:o,getToggleButtonProps:s,getLabelProps:l,getMenuProps:u,getInputProps:c,getItemProps:d,openMenu:f,closeMenu:m,toggleMenu:p,selectItem:h,selectItemAtIndex:g,selectHighlightedItem:v,setHighlightedIndex:y,clearSelection:b,clearItems:E,reset:w,setItemCount:S,unsetItemCount:M,internalSetState:C}=this;return{getRootProps:o,getToggleButtonProps:s,getLabelProps:l,getMenuProps:u,getInputProps:c,getItemProps:d,reset:w,openMenu:f,closeMenu:m,toggleMenu:p,selectItem:h,selectItemAtIndex:g,selectHighlightedItem:v,setHighlightedIndex:y,clearSelection:b,clearItems:E,setItemCount:S,unsetItemCount:M,setState:C,itemToString:a,id:i,highlightedIndex:e,inputValue:t,isOpen:n,selectedItem:r}}componentDidMount(){{const e=()=>{this.isMouseDown=!0},t=e=>{this.isMouseDown=!1;!cu(e.target,[this._rootNode,this._menuNode],this.props.environment)&&this.getState().isOpen&&this.reset({type:1},(()=>this.props.onOuterClick(this.getStateAndHelpers())))},r=()=>{this.isTouchMove=!1},n=()=>{this.isTouchMove=!0},a=e=>{const t=cu(e.target,[this._rootNode,this._menuNode],this.props.environment,!1);this.isTouchMove||t||!this.getState().isOpen||this.reset({type:16},(()=>this.props.onOuterClick(this.getStateAndHelpers())))},{environment:i}=this.props;i.addEventListener("mousedown",e),i.addEventListener("mouseup",t),i.addEventListener("touchstart",r),i.addEventListener("touchmove",n),i.addEventListener("touchend",a),this.cleanup=()=>{this.internalClearTimeouts(),this.updateStatus.cancel(),i.removeEventListener("mousedown",e),i.removeEventListener("mouseup",t),i.removeEventListener("touchstart",r),i.removeEventListener("touchmove",n),i.removeEventListener("touchend",a)}}}shouldScroll(e,t){const{highlightedIndex:r}=void 0===this.props.highlightedIndex?this.getState():this.props,{highlightedIndex:n}=void 0===t.highlightedIndex?e:t;return r&&this.getState().isOpen&&!e.isOpen||r!==n}componentDidUpdate(e,t){ou(this.props,"selectedItem")&&this.props.selectedItemChanged(e.selectedItem,this.props.selectedItem)&&this.internalSetState({type:15,inputValue:this.props.itemToString(this.props.selectedItem)}),!this.avoidScrolling&&this.shouldScroll(t,e)&&this.scrollHighlightedItemIntoView(),this.updateStatus()}componentWillUnmount(){this.cleanup()}render(){const e=eu(this.props.children,Wl);this.clearItems(),this.getRootProps.called=!1,this.getRootProps.refKey=void 0,this.getRootProps.suppressRefError=void 0,this.getMenuProps.called=!1,this.getMenuProps.refKey=void 0,this.getMenuProps.suppressRefError=void 0,this.getLabelProps.called=!1,this.getInputProps.called=!1;const t=eu(e(this.getStateAndHelpers()));return t?this.getRootProps.called||this.props.suppressRefError?t:tu(t)?(0,q.cloneElement)(t,this.getRootProps(ru(t))):void 0:null}}return e.defaultProps={defaultHighlightedIndex:null,defaultIsOpen:!1,getA11yStatusMessage:Ql,itemToString:e=>null==e?"":String(e),onStateChange:Wl,onInputValueChange:Wl,onUserAction:Wl,onChange:Wl,onSelect:Wl,onOuterClick:Wl,selectedItemChanged:(e,t)=>e!==t,environment:"undefined"==typeof window?{}:window,stateReducer:(e,t)=>t,suppressRefError:!1,scrollIntoView:Gl},e.stateChangeTypes=pu,e})();var gu=hu;const vu={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};function yu(e,t,r){const{props:n,type:a}=e,i={};Object.keys(t).forEach((n=>{!function(e,t,r,n){const{props:a,type:i}=t,o=`on${Mu(e)}Change`;a[o]&&void 0!==n[e]&&n[e]!==r[e]&&a[o]({type:i,...n})}(n,e,t,r),r[n]!==t[n]&&(i[n]=r[n])})),n.onStateChange&&Object.keys(i).length&&n.onStateChange({type:a,...i})}const bu=Kl(((e,t)=>{fu(e(),t)}),200),Eu="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?q.useLayoutEffect:q.useEffect;function wu(e){let{id:t=`downshift-${Xl()}`,labelId:r,menuId:n,getItemId:a,toggleButtonId:i,inputId:o}=e;return(0,q.useRef)({labelId:r||`${t}-label`,menuId:n||`${t}-menu`,getItemId:a||(e=>`${t}-item-${e}`),toggleButtonId:i||`${t}-toggle-button`,inputId:o||`${t}-input`}).current}function Su(e,t,r){return void 0!==e?e:0===r.length?-1:r.indexOf(t)}function Mu(e){return`${e.slice(0,1).toUpperCase()}${e.slice(1)}`}function Cu(e){const t=(0,q.useRef)(e);return t.current=e,t}function Iu(e,t,r){const n=(0,q.useRef)(),a=(0,q.useRef)(),i=(0,q.useCallback)(((t,r)=>{a.current=r,t=iu(t,r.props);const n=e(t,r);return r.props.stateReducer(t,{...r,changes:n})}),[e]),[o,s]=(0,q.useReducer)(i,t),l=Cu(r),u=(0,q.useCallback)((e=>s({props:l.current,...e})),[l]),c=a.current;return(0,q.useEffect)((()=>{c&&n.current&&n.current!==o&&yu(c,iu(n.current,c.props),o),n.current=o}),[o,r,c]),[o,u]}const Nu={itemToString:function(e){return e?String(e):""},stateReducer:function(e,t){return t.changes},getA11ySelectionMessage:function(e){const{selectedItem:t,itemToString:r}=e;return t?`${r(t)} has been selected.`:""},scrollIntoView:Gl,circularNavigation:!1,environment:"undefined"==typeof window?{}:window};function Du(e,t,r){void 0===r&&(r=vu);const n=e[`default${Mu(t)}`];return void 0!==n?n:r[t]}function Tu(e,t,r){void 0===r&&(r=vu);const n=e[t];if(void 0!==n)return n;const a=e[`initial${Mu(t)}`];return void 0!==a?a:Du(e,t,r)}function Au(e){const t=Tu(e,"selectedItem"),r=Tu(e,"isOpen"),n=Tu(e,"highlightedIndex"),a=Tu(e,"inputValue");return{highlightedIndex:n<0&&t&&r?e.items.indexOf(t):n,isOpen:r,selectedItem:t,inputValue:a}}function xu(e,t,r,n){const{items:a,initialHighlightedIndex:i,defaultHighlightedIndex:o}=e,{selectedItem:s,highlightedIndex:l}=t;return 0===a.length?-1:void 0!==i&&l===i?i:void 0!==o?o:s?0===r?a.indexOf(s):lu(r,a.indexOf(s),a.length,n,!1):0===r?-1:r<0?a.length-1:0}function _u(e,t,r,n){const a=(0,q.useRef)({isMouseDown:!1,isTouchMove:!1});return(0,q.useEffect)((()=>{const i=()=>{a.current.isMouseDown=!0},o=i=>{a.current.isMouseDown=!1,e&&!cu(i.target,t.map((e=>e.current)),r)&&n()},s=()=>{a.current.isTouchMove=!1},l=()=>{a.current.isTouchMove=!0},u=i=>{!e||a.current.isTouchMove||cu(i.target,t.map((e=>e.current)),r,!1)||n()};return r.addEventListener("mousedown",i),r.addEventListener("mouseup",o),r.addEventListener("touchstart",s),r.addEventListener("touchmove",l),r.addEventListener("touchend",u),function(){r.removeEventListener("mousedown",i),r.removeEventListener("mouseup",o),r.removeEventListener("touchstart",s),r.removeEventListener("touchmove",l),r.removeEventListener("touchend",u)}}),[e,r]),a}let Ou=()=>Wl;function ku(e,t,r){let{isInitialMount:n,highlightedIndex:a,items:i,environment:o,...s}=r;(0,q.useEffect)((()=>{n||bu((()=>e({highlightedIndex:a,highlightedItem:i[a],resultCount:i.length,...s})),o.document)}),t)}function Pu(e){let{highlightedIndex:t,isOpen:r,itemRefs:n,getItemNodeFromIndex:a,menuElement:i,scrollIntoView:o}=e;const s=(0,q.useRef)(!0);return Eu((()=>{t<0||!r||!Object.keys(n.current).length||(!1===s.current?s.current=!0:o(a(t),i))}),[t]),s}let Ru=Wl;function Fu(e,t,r){const{type:n,props:a}=t;let i;switch(n){case r.ItemMouseMove:i={highlightedIndex:t.disabled?-1:t.index};break;case r.MenuMouseLeave:i={highlightedIndex:-1};break;case r.ToggleButtonClick:case r.FunctionToggleMenu:i={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:xu(a,e,0)};break;case r.FunctionOpenMenu:i={isOpen:!0,highlightedIndex:xu(a,e,0)};break;case r.FunctionCloseMenu:i={isOpen:!1};break;case r.FunctionSetHighlightedIndex:i={highlightedIndex:t.highlightedIndex};break;case r.FunctionSetInputValue:i={inputValue:t.inputValue};break;case r.FunctionReset:i={highlightedIndex:Du(a,"highlightedIndex"),isOpen:Du(a,"isOpen"),selectedItem:Du(a,"selectedItem"),inputValue:Du(a,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return{...e,...i}}$e().array.isRequired,$e().func,$e().func,$e().func,$e().bool,$e().number,$e().number,$e().number,$e().bool,$e().bool,$e().bool,$e().any,$e().any,$e().any,$e().string,$e().string,$e().string,$e().func,$e().string,$e().func,$e().func,$e().func,$e().func,$e().func,$e().shape({addEventListener:$e().func,removeEventListener:$e().func,document:$e().shape({getElementById:$e().func,activeElement:$e().any,body:$e().any})});Vl(Vl({},Nu),{getA11yStatusMessage:function(e){var t=e.isOpen,r=e.resultCount,n=e.previousResultCount;return t?r?r!==n?"".concat(r," result").concat(1===r?" is":"s are"," available, use up and down arrow keys to navigate. Press Enter or Space Bar keys to select."):"":"No results are available.":""}});const Lu=0,Uu=1,Bu=2,Vu=3,zu=4,ju=5,Hu=6,$u=7,qu=10,Wu=16,Gu=19;var Yu=Object.freeze({__proto__:null,InputKeyDownArrowDown:Lu,InputKeyDownArrowUp:Uu,InputKeyDownEscape:Bu,InputKeyDownHome:Vu,InputKeyDownEnd:zu,InputKeyDownEnter:ju,InputChange:Hu,InputBlur:$u,MenuMouseLeave:8,ItemMouseMove:9,ItemClick:qu,ToggleButtonClick:11,FunctionToggleMenu:12,FunctionOpenMenu:13,FunctionCloseMenu:14,FunctionSetHighlightedIndex:15,FunctionSelectItem:Wu,FunctionSetInputValue:17,FunctionReset:18,ControlledPropUpdatedSelectedItem:Gu});$e().array.isRequired,$e().func,$e().func,$e().func,$e().bool,$e().number,$e().number,$e().number,$e().bool,$e().bool,$e().bool,$e().any,$e().any,$e().any,$e().string,$e().string,$e().string,$e().string,$e().string,$e().string,$e().func,$e().string,$e().string,$e().func,$e().func,$e().func,$e().func,$e().func,$e().func,$e().shape({addEventListener:$e().func,removeEventListener:$e().func,document:$e().shape({getElementById:$e().func,activeElement:$e().any,body:$e().any})});let Ku=Wl;const Zu={...Nu,getA11yStatusMessage:Ql,circularNavigation:!0};function Ju(e,t){const{type:r,props:n,shiftKey:a}=t;let i;switch(r){case qu:i={isOpen:Du(n,"isOpen"),highlightedIndex:Du(n,"highlightedIndex"),selectedItem:n.items[t.index],inputValue:n.itemToString(n.items[t.index])};break;case Lu:i=e.isOpen?{highlightedIndex:lu(a?5:1,e.highlightedIndex,n.items.length,t.getItemNodeFromIndex,n.circularNavigation)}:{highlightedIndex:xu(n,e,1,t.getItemNodeFromIndex),isOpen:n.items.length>=0};break;case Uu:i=e.isOpen?{highlightedIndex:lu(a?-5:-1,e.highlightedIndex,n.items.length,t.getItemNodeFromIndex,n.circularNavigation)}:{highlightedIndex:xu(n,e,-1,t.getItemNodeFromIndex),isOpen:n.items.length>=0};break;case ju:i={...e.isOpen&&e.highlightedIndex>=0&&{selectedItem:n.items[e.highlightedIndex],isOpen:Du(n,"isOpen"),highlightedIndex:Du(n,"highlightedIndex"),inputValue:n.itemToString(n.items[e.highlightedIndex])}};break;case Bu:i={isOpen:!1,highlightedIndex:-1,...!e.isOpen&&{selectedItem:null,inputValue:""}};break;case Vu:i={highlightedIndex:uu(1,0,n.items.length,t.getItemNodeFromIndex,!1)};break;case zu:i={highlightedIndex:uu(-1,n.items.length-1,n.items.length,t.getItemNodeFromIndex,!1)};break;case $u:i={isOpen:!1,highlightedIndex:-1,...e.highlightedIndex>=0&&t.selectItem&&{selectedItem:n.items[e.highlightedIndex],inputValue:n.itemToString(n.items[e.highlightedIndex])}};break;case Hu:i={isOpen:!0,highlightedIndex:Du(n,"highlightedIndex"),inputValue:t.inputValue};break;case Wu:i={selectedItem:t.selectedItem,inputValue:n.itemToString(t.selectedItem)};break;case Gu:i={inputValue:t.inputValue};break;default:return Fu(e,t,Yu)}return{...e,...i}}function Xu(e){void 0===e&&(e={}),Ku(e,Xu);const t={...Zu,...e},{initialIsOpen:r,defaultIsOpen:n,items:a,scrollIntoView:i,environment:o,getA11yStatusMessage:s,getA11ySelectionMessage:l,itemToString:u}=t,c=function(e){const t=Au(e),{selectedItem:r}=t;let{inputValue:n}=t;return""===n&&r&&void 0===e.defaultInputValue&&void 0===e.initialInputValue&&void 0===e.inputValue&&(n=e.itemToString(r)),{...t,inputValue:n}}(t),[d,f]=function(e,t,r){const n=(0,q.useRef)(),[a,i]=Iu(e,t,r);return(0,q.useEffect)((()=>{ou(r,"selectedItem")&&(n.current!==r.selectedItem&&i({type:Gu,inputValue:r.itemToString(r.selectedItem)}),n.current=a.selectedItem===n.current?r.selectedItem:a.selectedItem)})),[iu(a,r),i]}(Ju,c,t),{isOpen:m,highlightedIndex:p,selectedItem:h,inputValue:g}=d,v=(0,q.useRef)(null),y=(0,q.useRef)({}),b=(0,q.useRef)(null),E=(0,q.useRef)(null),w=(0,q.useRef)(null),S=(0,q.useRef)(!0),M=wu(t),C=(0,q.useRef)(),I=Cu({state:d,props:t}),N=(0,q.useCallback)((e=>y.current[M.getItemId(e)]),[M]);ku(s,[m,p,g,a],{isInitialMount:S.current,previousResultCount:C.current,items:a,environment:o,itemToString:u,...d}),ku(l,[h],{isInitialMount:S.current,previousResultCount:C.current,items:a,environment:o,itemToString:u,...d});const D=Pu({menuElement:v.current,highlightedIndex:p,isOpen:m,itemRefs:y,scrollIntoView:i,getItemNodeFromIndex:N});Ru({isInitialMount:S.current,props:t,state:d}),(0,q.useEffect)((()=>{(r||n||m)&&b.current&&b.current.focus()}),[]),(0,q.useEffect)((()=>{S.current||(C.current=a.length)}));const T=_u(m,[w,v,E],o,(()=>{f({type:$u,selectItem:!1})})),A=Ou("getInputProps","getComboboxProps","getMenuProps");(0,q.useEffect)((()=>{S.current=!1}),[]),(0,q.useEffect)((()=>{m||(y.current={})}),[m]);const x=(0,q.useMemo)((()=>({ArrowDown(e){e.preventDefault(),f({type:Lu,shiftKey:e.shiftKey,getItemNodeFromIndex:N})},ArrowUp(e){e.preventDefault(),f({type:Uu,shiftKey:e.shiftKey,getItemNodeFromIndex:N})},Home(e){I.current.state.isOpen&&(e.preventDefault(),f({type:Vu,getItemNodeFromIndex:N}))},End(e){I.current.state.isOpen&&(e.preventDefault(),f({type:zu,getItemNodeFromIndex:N}))},Escape(e){const t=I.current.state;(t.isOpen||t.inputValue||t.selectedItem||t.highlightedIndex>-1)&&(e.preventDefault(),f({type:Bu}))},Enter(e){const t=I.current.state;!t.isOpen||t.highlightedIndex<0||229===e.which||(e.preventDefault(),f({type:ju,getItemNodeFromIndex:N}))}})),[f,I,N]),_=(0,q.useCallback)((e=>({id:M.labelId,htmlFor:M.inputId,...e})),[M]),O=(0,q.useCallback)((function(e,t){let{onMouseLeave:r,refKey:n="ref",ref:a,...i}=void 0===e?{}:e,{suppressRefError:o=!1}=void 0===t?{}:t;return A("getMenuProps",o,n,v),{[n]:Jl(a,(e=>{v.current=e})),id:M.menuId,role:"listbox","aria-labelledby":M.labelId,onMouseLeave:Zl(r,(()=>{f({type:8})})),...i}}),[f,A,M]),k=(0,q.useCallback)((function(e){let{item:t,index:r,refKey:n="ref",ref:a,onMouseMove:i,onMouseDown:o,onClick:s,onPress:l,disabled:u,...c}=void 0===e?{}:e;const{props:d,state:m}=I.current,p=Su(r,t,d.items);if(p<0)throw new Error("Pass either item or item index in getItemProps!");const h=s;return{[n]:Jl(a,(e=>{e&&(y.current[M.getItemId(p)]=e)})),disabled:u,role:"option","aria-selected":`${p===m.highlightedIndex}`,id:M.getItemId(p),...!u&&{onClick:Zl(h,(()=>{f({type:qu,index:r})}))},onMouseMove:Zl(i,(()=>{r!==m.highlightedIndex&&(D.current=!1,f({type:9,index:r,disabled:u}))})),onMouseDown:Zl(o,(e=>e.preventDefault())),...c}}),[f,I,D,M]),P=(0,q.useCallback)((function(e){let{onClick:t,onPress:r,refKey:n="ref",ref:a,...i}=void 0===e?{}:e;return{[n]:Jl(a,(e=>{E.current=e})),id:M.toggleButtonId,tabIndex:-1,...!i.disabled&&{onClick:Zl(t,(()=>{f({type:11}),!I.current.state.isOpen&&b.current&&b.current.focus()}))},...i}}),[f,I,M]),R=(0,q.useCallback)((function(e,t){let{onKeyDown:r,onChange:n,onInput:a,onBlur:i,onChangeText:o,refKey:s="ref",ref:l,...u}=void 0===e?{}:e,{suppressRefError:c=!1}=void 0===t?{}:t;A("getInputProps",c,s,b);const d=I.current.state,m=e=>{const t=su(e);t&&x[t]&&x[t](e)},p=e=>{f({type:Hu,inputValue:e.target.value})},h=()=>{d.isOpen&&!T.current.isMouseDown&&f({type:$u,selectItem:!0})};let g={};return u.disabled||(g={onChange:Zl(n,a,p),onKeyDown:Zl(r,m),onBlur:Zl(i,h)}),{[s]:Jl(l,(e=>{b.current=e})),id:M.inputId,"aria-autocomplete":"list","aria-controls":M.menuId,...d.isOpen&&d.highlightedIndex>-1&&{"aria-activedescendant":M.getItemId(d.highlightedIndex)},"aria-labelledby":M.labelId,autoComplete:"off",value:d.inputValue,...g,...u}}),[f,x,I,T,A,M]),F=(0,q.useCallback)((function(e,t){let{refKey:r="ref",ref:n,...a}=void 0===e?{}:e,{suppressRefError:i=!1}=void 0===t?{}:t;return A("getComboboxProps",i,r,w),{[r]:Jl(n,(e=>{w.current=e})),role:"combobox","aria-haspopup":"listbox","aria-owns":M.menuId,"aria-expanded":I.current.state.isOpen,...a}}),[I,A,M]),L=(0,q.useCallback)((()=>{f({type:12})}),[f]),U=(0,q.useCallback)((()=>{f({type:14})}),[f]),B=(0,q.useCallback)((()=>{f({type:13})}),[f]),V=(0,q.useCallback)((e=>{f({type:15,highlightedIndex:e})}),[f]),z=(0,q.useCallback)((e=>{f({type:Wu,selectedItem:e})}),[f]);return{getItemProps:k,getLabelProps:_,getMenuProps:O,getInputProps:R,getComboboxProps:F,getToggleButtonProps:P,toggleMenu:L,openMenu:B,closeMenu:U,setHighlightedIndex:V,setInputValue:(0,q.useCallback)((e=>{f({type:17,inputValue:e})}),[f]),selectItem:z,reset:(0,q.useCallback)((()=>{f({type:18})}),[f]),highlightedIndex:p,isOpen:m,selectedItem:h,inputValue:g}}Xu.stateChangeTypes=Yu;$e().array,$e().array,$e().array,$e().func,$e().func,$e().func,$e().number,$e().number,$e().number,$e().func,$e().func,$e().string,$e().string,$e().shape({addEventListener:$e().func,removeEventListener:$e().func,document:$e().shape({getElementById:$e().func,activeElement:$e().any,body:$e().any})});const Qu=({getItemProps:e,getMenuProps:t,highlightedIndex:r,options:n,itemToString:a,ariaLabel:i,isOpen:o})=>q.createElement("div",t({"aria-label":i}),o?q.createElement("div",{className:"sid-input-select-list__menu"},n.length>0?Cr()(n).call(n,((t,i)=>((t,i)=>q.createElement("div",Ri({className:"sid-input-select-list__item "+(r===i?"sid-input-select-list__item--highlighted":"")},e({item:t,index:i,key:t.value})),a(n[i])))(t,i))):q.createElement("div",{className:"sid-input-select-list__message"},q.createElement(or,{id:"noOptions",defaultMessage:"No Options"}))):null),ec=({clearSelection:e,disabled:t,getToggleButtonProps:r,isOpen:n})=>e?q.createElement("button",{"aria-label":"clear selection",className:"sid-input-select-button",disabled:t,onClick:e,type:"button",tabIndex:0},q.createElement("svg",{viewBox:"0 0 20 20",preserveAspectRatio:"none",width:12,fill:"transparent",stroke:"#5A5A5A",strokeWidth:"1.1px"},q.createElement("path",{d:"M1,1 L19,19"}),q.createElement("path",{d:"M19,1 L1,19"}))):q.createElement("button",Ri({},r(),{className:"sid-input-select-button",disabled:t,type:"button",tabIndex:0}),q.createElement("svg",{viewBox:"0 0 20 20",preserveAspectRatio:"none",width:16,fill:"transparent",stroke:"#5A5A5A",strokeWidth:"1.1px",transform:n?"rotate(180)":void 0},q.createElement("path",{d:"M1,6 L10,15 L19,6"}))),tc=({className:e,inputId:t,disabled:r,fieldId:n,fieldLabelId:a,isErrored:o,options:s,onKeyDown:l,onChange:u,placeholder:c,suppressPlaceholder:d=!0,value:f,autoFocus:m,ariaLabel:p,isRequired:h,buttonRef:g,role:v="combobox"})=>{const y=e=>e?e.label:"",b=(e,t)=>i()(e).call(e,(e=>{var r,n;return!t||$i()(r=e.label.toLowerCase()).call(r,t.toLowerCase())||$i()(n=e.value.toString().toLowerCase()).call(n,t.toLowerCase())})),E=(0,q.useRef)(null);return(0,q.useEffect)((()=>{Qs(n,E.current)})),q.createElement(gu,{id:t,onChange:u,itemToString:y,selectedItem:f&&f.value&&f.label?f:"",defaultHighlightedIndex:0},(({clearSelection:n,getInputProps:i,getItemProps:u,getMenuProps:f,getToggleButtonProps:w,highlightedIndex:S,inputValue:M,isOpen:C,openMenu:I,selectedItem:N,selectHighlightedItem:D})=>q.createElement("div",{className:`sid-input-select-list ${e||""}`},q.createElement("input",Ri({},i({ref:E,onClick:()=>I(),onBlur:e=>((e,t,r)=>{r&&e.currentTarget.value===r.label||t()})(e,D,N),onKeyDown:e=>(e=>{"function"==typeof l&&l(e)})(e)}),{autoFocus:m,id:t,className:`sid-l-full-width sid-text-input ${d?"sid-hidden-placeholder":""} ${o?"sid-text-input--error":""}`,disabled:r,placeholder:c,"aria-required":h,"aria-labelledby":a,role:v})),q.createElement(ec,{disabled:r,getToggleButtonProps:w,isOpen:C,clearSelection:N?n:void 0,buttonRef:g}),q.createElement(Qu,{highlightedIndex:S,itemToString:y,options:b(s,M),getItemProps:u,getMenuProps:f,ariaLabel:p,isOpen:C}))))};tc.defaultProps={className:void 0,disabled:!1,inputId:void 0,isErrored:!1,onKeyDown:void 0,placeholder:"",value:void 0};const rc=tc,nc=Ft((({value:e,isErrored:t,options:r,onChange:n,onKeyDown:a,intl:i,placeholder:o="",isRequired:s=!1})=>{const l="sid-country";return q.createElement("div",{className:`sid-field ${l}`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"country",defaultMessage:"Country"}),htmlForLabel:l,id:`${l}-label`,isRequired:s}),q.createElement(rc,{fieldId:"country",inputId:l,fieldLabelId:`${l}-label`,isErrored:t,options:r,onChange:e=>n(e),onKeyDown:a,placeholder:o||i.formatHTMLMessage({id:"countryPlaceholder",defaultMessage:"Country"}),value:Rl()(r).call(r,(t=>t.value===(e&&e.value))),isRequired:!0}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidCountry",defaultMessage:"Invalid country"})):null)})),ac=({getItemProps:e,getMenuProps:t,highlightedIndex:r,options:n,itemToString:a})=>{const i=42*n.length;return q.createElement("div",Ri({className:"sid-input-select-list__menu"},t(),{tabIndex:-1,style:{height:Math.min(i,280)}}),Cr()(n).call(n,((t,i)=>((t,i)=>q.createElement("div",Ri({className:"sid-select-list__item "+(r===i?"sid-select-list__item--highlighted":""),key:i},e({index:i,item:t})),a(n[i])))(t,i))))},ic=({getToggleButtonProps:e,isOpen:t})=>q.createElement("button",Ri({},e(),{className:"sid-select-button",type:"button"}),q.createElement("svg",{viewBox:"0 0 20 20",preserveAspectRatio:"none",width:16,fill:"transparent",stroke:"#979797",strokeWidth:"1.1px",transform:t?"rotate(180)":void 0},q.createElement("path",{d:"M1,6 L10,15 L19,6"}))),oc=({className:e,hideDropDownButton:t,isErrored:r,options:n,onChange:a,overrideInputClassName:i,placeholder:o,value:s})=>{const l=e=>e?e.label:"";return q.createElement(gu,{onChange:a,itemToString:l,initialSelectedItem:s&&s.value&&s.label?s:void 0,defaultHighlightedIndex:0},(({getInputProps:a,getItemProps:s,getMenuProps:u,getToggleButtonProps:c,highlightedIndex:d,isOpen:f,openMenu:m})=>q.createElement("div",{className:`sid-select-list ${e}`},q.createElement("input",Ri({},a({onFocus:m}),c,{className:`\n sid-l-full-width\n ${i||"sid-select-input"}\n ${r?"sid-select-input--error":""}\n `,placeholder:o,readOnly:!0})),t?null:q.createElement(ic,{getToggleButtonProps:c,isOpen:f}),f?q.createElement("div",null,n.length>0?q.createElement(ac,{highlightedIndex:d,itemToString:l,options:n,getItemProps:s,getMenuProps:u}):q.createElement("div",Ri({className:"sid-select-list__menu"},u()),q.createElement("div",{className:"sid-select-list__message"},q.createElement(or,{id:"noOptions",defaultMessage:"No Options"})))):null)))};oc.defaultProps={className:void 0,hideDropDownButton:!1,isErrored:!1,overrideInputClassName:void 0,placeholder:"",value:void 0};const sc=oc,lc=Ft((({value:e,options:t,onChange:r,intl:n})=>{const a=Cr()(t).call(t,(e=>({value:e.value,label:n.formatHTMLMessage({id:`locales.${e.value}`,defaultMessage:"Label not found"})})));return q.createElement("div",{className:"sid-change-locale"},q.createElement("div",{className:"sid-field__label sid-change-locale__label "},q.createElement(or,{id:"changeLanguage",defaultMessage:"Change language"})),q.createElement(sc,{className:"sid-change-locale__select",hideDropDownButton:!0,options:a,onChange:e=>r(e),overrideInputClassName:"sid-change-locale__input",value:Rl()(a).call(a,(t=>t.value===(e&&e.value)))}),q.createElement("div",{className:"sid-l-space-btm-sm"}))})),uc=Ft((({verificationService:e,intl:t})=>{const r=vl(e.programTheme,t);return r.length<=1?null:q.createElement(lc,{options:r,value:e.viewModel.localeChoice||{value:"en-US",label:"English"},isErrored:!1,onChange:t=>(t=>{const r=Ys(e.viewModel,(e=>{e.localeChoice=t}));e.updateLocale(r,e.programTheme,e.verificationResponse.segment)})(t)})})),cc=()=>q.createElement("div",{className:"sid-spinner"},q.createElement("div",{className:"sid-spinner__frame"}),q.createElement("div",{className:"sid-spinner__frame"}),q.createElement("div",{className:"sid-spinner__frame"}),q.createElement("div",{className:"sid-spinner__frame"}));Ft((({intl:e})=>{const[t,r]=q.useContext(ki),{viewModel:n}=t,{programTheme:a}=t,i=vl(a,e),o=hl(a,e),s=yl(o),l=e=>{r({type:"UPDATE_VIEW_MODEL",payload:e})},u=function(){var e=gr((function*(e,t){const r=[],n=[];l({isSearching:!0});try{const[a,i]=yield yr().all([ua(e),ua(t)]),[o,s]=((e,t)=>{var r,n;const a=[],i=[],o=ba()(r=e).call(r,((e,t)=>(e[t.name]=!0,a.push(t),e)),{});return d()(n=t).call(n,(e=>{o[e.name]||i.push(e)})),[a,i]})(a,i);r.push(...o),n.push(...s)}catch(e){return void l({orgDomainError:"invalidUrl",eligibleOrgs:[],ineligibleOrgs:[],isSearching:!1})}l({eligibleOrgs:r,ineligibleOrgs:n,completeRequest:!1,firstNameError:null,lastNameError:null,emailError:null,displayResults:!0,isSearching:!1})}));return function(t,r){return e.apply(this,arguments)}}(),c=function(){var e=gr((function*(){if(!y())return;const e=(e=>{let t=e;try{t=new(Er())(e).hostname}catch(e){he.warn(e)}return t.replace(/(www\.)?/,"")})(n.orgDomain),[t,r]=m("domain",e);u(t,r)}));return function(){return e.apply(this,arguments)}}(),f=function(){var e=gr((function*(){if(!b())return;const[e,t]=m("name",n.orgName);u(e,t)}));return function(){return e.apply(this,arguments)}}(),m=(e,t)=>{const r=new(Er())(a.config.orgSearchUrl),i=n.countryChoice.value,o=Za(a,i),{origin:s,pathname:l,search:u}=r,c=new(Sr())(u);return c.set(e,t),c.set("country",i),o&&c.set("tags",o),[`${s}${l}?${c.toString()}`,`${s}${l}?type=UNIVERSITY,K12,POST_SECONDARY,HIGH_SCHOOL&country=${i}&${e}=${t}`]},p=()=>n.orgDomain?pn.URL_REGEX.test(n.orgDomain)?null:"invalidUrl":"requiredField",h=()=>n.orgName?null:"requiredField",g=()=>n.countryChoice&&n.countryChoice.value?null:"requiredField",v=()=>{const e=g(),t=p(),r=h(),a=Ho("firstName",n.firstName),i=Ho("lastName",n.lastName),o=Ho("email",n.email);return l({orgCountryError:e,orgDomainError:t,orgNameError:r,firstNameError:a,lastNameError:i,emailError:o}),!(e||t||r||a||i||o)},y=()=>{const e=g(),t=p();return l({orgCountryError:e,orgDomainError:t}),!(e||t)},b=()=>{const e=g(),t=h();return l({orgCountryError:e,orgNameError:t}),!(e||t)},E=a?za(a):null;return q.useEffect((()=>{n.countryChoice||l({countryChoice:s})}),[]),q.useEffect((()=>{n.countryChoice&&null!==n.countryChoice.value?n.searchByOrgName?n.orgName&&f():n.orgDomain&&c():l({displayResults:!1,completeRequest:!1,firstNameError:null,lastNameError:null,emailError:null,eligibleOrgs:[],ineligibleOrgs:[]})}),[n.countryChoice]),q.createElement("div",{className:"sid-l-container--extra-wide sid-request-organization-container sid-l-space-btm-lg sid-l-container"},q.createElement("div",{className:"sid-logo sid-l-horz-center sid-l-space-top-lg"},q.createElement("img",{className:"sid-request-organization-sheerid-logo sid-logo__img",alt:"Logo",src:E||pn.SHEERID_LOGO_URL})),q.createElement("div",{className:"sid-logo sid-request-organization-school-house-logo sid-l-space-top-md"},q.createElement("img",{className:"sid-logo__icon",alt:"School House",src:pn.SCHOOL_HOUSE_URL})),i.length>1?q.createElement(lc,{options:i,value:n.localeChoice||{value:"en-US",label:"English"},isErrored:!1,onChange:e=>{var t;l({localeChoice:e}),t=e.value,r({type:"SET_LOCALE",payload:t})}}):null,q.createElement("div",{className:"sid-title"},q.createElement(or,{id:"title",defaultMessage:"Request to Add School"})),q.createElement("div",{className:"sid-soft-font-color"},q.createElement(or,{id:"description",defaultMessage:"Please fill out the form below. Schools submitted are not guaranteed to be added, but all requests are researched and considered by SheerID."})),q.createElement(nc,{value:n.countryChoice,isErrored:!!n.orgCountryError,onChange:e=>{l({countryChoice:e,orgCountryError:null})},options:o,placeholder:e.formatHTMLMessage({id:"fields.countryPlaceholder",defaultMessage:"Select Country"})}),q.createElement("div",{className:"sid-l-space-top-md"},q.createElement(or,{id:"noCountry",defaultMessage:"Don't see your school's country? You are not eligible for this offer."})),q.createElement("div",{className:""+(n.searchByOrgName?"sid-field-pair":"")},q.createElement(kl,{name:"org-domain",label:e.formatHTMLMessage({id:"fields.domainLabel",defaultMessage:"School website"}),placeholder:e.formatHTMLMessage({id:"fields.domainPlaceholder",defaultMessage:"www.myschool.edu"}),value:n.orgDomain,isErrored:n.orgDomainError,onChange:e=>{l({orgDomain:e})},onKeyDown:()=>{n.orgDomainError&&!p()&&l({orgDomainError:null})},search:c}),n.searchByOrgName?q.createElement(kl,{name:"org-name",label:e.formatHTMLMessage({id:"fields.orgNameLabel",defaultMessage:"School name"}),placeholder:e.formatHTMLMessage({id:"fields.orgNamePlaceholder",defaultMessage:"My school"}),value:n.orgName,isErrored:n.orgNameError,onChange:e=>{l({orgName:e})},onKeyDown:()=>{n.orgNameError&&!h()&&l({orgNameError:null})},search:f}):null),n.displayResults?q.createElement(Ol,{eligibleOrgs:n.eligibleOrgs,ineligibleOrgs:n.ineligibleOrgs}):null,!n.searchByOrgName&&n.displayResults?q.createElement("div",{className:"sid-l-space-top-md"},q.createElement("div",{className:"sid-h-link-like",role:"button",tabIndex:0,onKeyUp:()=>{y()&&l({searchByOrgName:!0,displayResults:!1,eligibleOrgs:[],ineligibleOrgs:[]})},onClick:()=>{y()&&l({searchByOrgName:!0,displayResults:!1,eligibleOrgs:[],ineligibleOrgs:[]})}},q.createElement(or,{id:"searchByOrgName",defaultMessage:"Don't see your school? Search by name."}))):null,n.searchByOrgName&&n.displayResults&&n.eligibleOrgs.length+n.ineligibleOrgs.length<pn.MAX_RESULT_SIZE?q.createElement("div",{className:"sid-l-space-top-md"},q.createElement("div",{className:"sid-h-link-like",tabIndex:0,role:"button",onKeyUp:()=>{y()&&b()&&l({completeRequest:!0})},onClick:()=>{y()&&b()&&l({completeRequest:!0})}},q.createElement(or,{id:"completeRequest",defaultMessage:"Don't see your school in the list of eligible or ineligible schools? Complete your request"}))):null,n.completeRequest?q.createElement("div",{className:"sid-complete-request"},q.createElement("div",{className:"sid-personal-info"},q.createElement("div",{className:"sid-field-pair"},q.createElement(Dl,{value:n.firstName,isErrored:!!n.firstNameError,onChange:e=>{l({firstName:e})}}),q.createElement(Tl,{value:n.lastName,isErrored:!!n.lastNameError,onChange:e=>{l({lastName:e})}})),q.createElement(Al,{value:n.email,isErrored:!!n.emailError,onChange:e=>{l({email:e})},explanation:" "})),q.createElement("div",{className:"sid-l-space-top-lg sid-request-organization-button-container"},q.createElement("button",{type:"submit",className:"sid-btn sid-btn--dark sid-btn__request-organization",onClick:e=>{e.preventDefault(),da(v,t,r)}},q.createElement(or,{id:"submit",defaultMessage:"Submit"})))):null,n.isSearching?q.createElement("div",{id:"sid-spinner-container",className:"sid-l-absolute-center sid-spinner-container"},q.createElement(cc,null)):null)}));var dc=o(5869);const fc={activeDutyStartDate:"Active Duty Start Date",address:"Address",addressPlaceholder:"Address",birthDate:"Date of birth",branchOfService:"Branch of service",branchOfServicePlaceholder:"Branch Of Service",changeLanguage:"Change language",city:"City",cityPlaceholder:"City",company:"Company",companyPlaceholder:"Company",copied:"Copied",country:"Country",countryPlaceholder:"Country",countries:{AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AG:"Antigua and Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AN:"Netherlands Antilles",AO:"Angola",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AZ:"Azerbaijan",BA:"Bosnia-Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BM:"Bermuda",BN:"Brunei Darussalam",BO:"Bolivia",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BV:"Bouvet Island",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CD:"Democratic Republic of Congo",CF:"Central African Republic",CG:"Congo",CH:"Switzerland",CI:"Ivory Coast (Cote D'Ivoire)",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DJ:"Djibouti",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",EH:"Western Sahara",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FM:"Micronesia",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GD:"Grenada",GE:"Georgia",GF:"French Guyana",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe (French)",GQ:"Equatorial Guinea",GR:"Greece",GS:"South Georgia & South Sandwich Islands",GT:"Guatemala",GU:"Guam (USA)",GW:"Guinea Bissau",GY:"Guyana",HK:"Hong Kong",HM:"Heard and McDonald Islands",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IN:"India",IO:"British Indian Ocean Territory",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KI:"Kiribati",KM:"Comoros",KN:"Saint Kitts & Nevis Anguilla",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MC:"Monaco",MD:"Moldavia",ME:"Montenegro",MG:"Madagascar",MH:"Marshall Islands",MK:"Macedonia",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MO:"Macau",MP:"Northern Mariana Islands",MQ:"Martinique (French)",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldives",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia (French)",NE:"Niger",NF:"Norfolk Island",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"Polynesia (French)",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PM:"Saint Pierre and Miquelon",PN:"Pitcairn Island",PR:"Puerto Rico",PS:"Palestine",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Reunion (French)",RO:"Romania",RS:"Serbia",RU:"Russian Federation",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena",SI:"Slovenia",SK:"Slovak Republic",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",SS:"South Sudan",ST:"Saint Tome (Sao Tome) and Principe",SV:"El Salvador",SY:"Syria",SZ:"Swaziland",TC:"Turks and Caicos Islands",TD:"Chad",TF:"French Southern Territories",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TK:"Tokelau",TL:"Timor-Leste",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Turkey",TT:"Trinidad and Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",UM:"USA Minor Outlying Islands",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VA:"Vatican City State",VC:"Saint Vincent & Grenadines",VE:"Venezuela",VG:"Virgin Islands (British)",VI:"Virgin Islands (USA)",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis and Futuna Islands",WS:"Samoa",XK:"Kosovo",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe"},dateTime:{january:"January",february:"February",march:"March",april:"April",may:"May",june:"June",july:"July",august:"August",september:"September",october:"October",november:"November",december:"December",month:"Month",day:"Day",year:"Year","2_MIN":"2 minutes","20_MIN":"20 minutes","2_HRS":"2 hours","24_HRS":"24 hours","2_DAY":"2 days","3_DAY":"3 days",A_FEW_MINUTES:"a few minutes",A_HALF_HOUR:"half an hour",A_FEW_HOURS:"a few hours",A_FEW_DAYS:"a few days"},dischargeDate:"Discharge date",driverLicenseNumber:"Driver license number",driverLicenseNumberPlaceholder:"Driver license number",driverLicenseState:"Driver license state",ebtCardNumber:"EBT Card Number",emailAddress:"Email address",emailAddressPlaceholder:"Email address",optIn:"Yes, send me {company} marketing communications about exclusive sales, special offers, latest products and more",phoneNumber:"Mobile Number",phoneNumberExplanation:"Optional - get text notifications of status updates",phoneNumberWarnMessage1:"By submitting this form with a mobile number, you consent to receive SMS/text messages for verification purposes. Standard phone carrier text messaging (SMS) and data rates may apply.",phoneNumberWarnMessage2:"You authorize your mobile service provider to disclose your mobile number and certain account information to SheerID, solely for identity verification and to avoid fraud.",phoneUsPlaceholder:"555-555-5555",error:"Error",limitExceededError:"Verification Limit Exceeded",firstName:"First name",firstNamePlaceholder:"First name",memberId:"ID Number",memberIdPlaceholder:"ID Number",optional:"Optional",howDoesReviewWork:"How does review work?",howDoesVerifyingWork:"How does verifying work?",informationTransferredToUS:"Your information will be transferred to the United States and will be treated according to SheerID’s privacy policy.",lastName:"Last name",lastNamePlaceholder:"Last name",loading:"Loading...",locales:{"en-US":"English",ar:"Arabic",bg:"Bulgarian","zh-HK":"Chinese (Hong Kong)",zh:"Chinese (Traditional)",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch","nl-BE":"Flemish","en-GB":"English (UK)",fi:"Finnish","fr-CA":"French (Canadian)",fr:"French",ga:"Irish",de:"German",el:"Greek",iw:"Hebrew",hu:"Hungarian",id:"Indonesian",it:"Italian",ja:"Japanese",ko:"Korean",lo:"Lao",lt:"Lithuanian",ms:"Malay",no:"Norwegian",pl:"Polish","pt-BR":"Portuguese (Brazil)",pt:"Portuguese",ro:"Romanian",ru:"Russia",sr:"Serbian",sk:"Slovak",sl:"Slovenian",es:"Spanish","es-ES":"Spanish (Spain)",sv:"Swedish",th:"Thai",tr:"Turkish",ur:"Urdu",vi:"Vietnamese",zu:"Zulu"},militaryStatus:"Military status",noOptions:"No options",lowRewardPool:"&#128293; Only {offersRemaining} offers left!",personalInformation:"Personal Information",personalOrSchoolIsFine:"Personal or school email is fine",postalCode:"Postal code",postalCodeExplanation:"Use the location on file with your licensing body",postalCodePlaceholder:"Postal code",poweredBy:"Verification services powered by SheerID",proceed:"Proceed",requestSchool:"Don't see your school? Request to have it added.",requiredFields:"All fields are required",rewardCodeEmailNotification:"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com.",school:"School",schoolName:"School",schoolNamePlaceholder:"School",sheeridFaqs:"SheerID FAQs",privacyPolicy:"Privacy Policy",smsCodePlaceholder:"SMS Code",state:"State",statePlaceholder:"State",states:{AK:"Alaska",AL:"Alabama",AR:"Arkansas",AS:"American Samoa",AZ:"Arizona",CA:"California",CO:"Colorado",CT:"Connecticut",DC:"District of Columbia",DE:"Delaware",FL:"Florida",GA:"Georgia",GU:"Guam",HI:"Hawaii",IA:"Iowa",ID:"Idaho",IL:"Illinois",IN:"Indiana",KS:"Kansas",KY:"Kentucky",LA:"Louisiana",MA:"Massachusetts",MD:"Maryland",ME:"Maine",MI:"Michigan",MN:"Minnesota",MO:"Missouri",MS:"Mississippi",MT:"Montana",NC:"North Carolina",ND:"North Dakota",NE:"Nebraska",NH:"New Hampshire",NJ:"New Jersey",NM:"New Mexico",NV:"Nevada",NY:"New York",OH:"Ohio",OK:"Oklahoma",OR:"Oregon",PA:"Pennsylvania",PR:"Puerto Rico",RI:"Rhode Island",SC:"South Carolina",SD:"South Dakota",TN:"Tennessee",TX:"Texas",UT:"Utah",VA:"Virginia",VI:"Virgin Islands",VT:"Vermont",WA:"Washington",WI:"Wisconsin",WV:"West Virginia",WY:"Wyoming"},status:"Status",statusPlaceholder:"Status",streetAddress:"Street Address",universityName:"University name",verifyAndContinue:"Verify and continue",verificationPurposesOnly:"Used for verification purposes only",verifyMyStudentStatus:"Verify My Student Status",verifyMyTeacherStatus:"Verify My Teacher Status",verifyMyMembershipStatus:"Verify My Membership Status",verifyMyMilitaryStatus:"Verify My Military Status",verifyMyIdentityStatus:"Verify My Identity",verifyMyMedicalProfessionalStatus:"Verify My Medical Professional Status",verifyMyEmploymentStatus:"Verify My Employee Status",verifyMyLicensedProfessionalStatus:"Verify My Licensed Professional Status",verifyMyMoverStatus:"Verify My New Mover Status",verifyMyLowIncomeStatus:"Verify my status",VETERAN:"Military Veteran or Retiree",MILITARY_RETIREE:"Military Retiree",RESERVIST:"Reservist or National Guard",ACTIVE_DUTY:"Active Duty",MILITARY_FAMILY:"Military Family",GOLD_STAR_FAMILY:"Gold Star Family",FIREFIGHTER:"Firefighter",POLICE:"Police",EMT:"EMT",SEARCH_AND_RESCUE:"Search and Rescue",DOCTOR:"Doctor",NURSE:"Nurse",DENTIST:"Dentist",PHARMACIST:"Pharmacist",OTHER_HEALTH_WORKER:"Other Health Worker",HOME_BUYER:"Home Buyer",OTHER_MOVER:"Other Mover",SNAP_BENEFITS:"Snap Benefits Recipient",OTHER_GOVERNMENT_ASSISTANCE:"Other Government Assistance Recipient",LICENSED_COSMETOLOGIST:"Licensed Cosmetologist",LICENSED_REAL_ESTATE_AGENT:"Licensed Real Estate Agent",CHILD_CARE_WORKER:"Child Care Worker",LIBRARIAN:"Librarian",VETERINARIAN:"Veterinarian",organization:"Organization",organizationPlaceholder:"Organization",lowIncomeOrganization:"Government Assistance Program",lowIncomeOrganizationPlaceholder:"Government Assistance Program",verifyMyFirstResponderStatus:"Verify My First Responder Status",tryAgain:"Try again",errorId:{activeDutyStartDateBeforeBirthDate:"Start date must be after birth date",apiRateLimitExceeded:"Unable to process your request at this time, please try again later",dischargeDateBeforeBirthDate:"Discharge Date before birthdate",docReviewLimitExceeded:"Document review limit exceeded",inactiveProgram:"Due to tremendous demand, the offer is no longer available. Please check tomorrow to see if it is available.",expiredEmailLoopToken:"We are sorry, the page you requested cannot be found. The URL may be incorrect or the page you're looking for is no longer available.",expiredProgram:"Due to tremendous demand, the offer is no longer available. Please check tomorrow to see if it is available.",expiredSMSCode:"Verification code expired",expiredVerification:"This verification is expired. Please submit a new verification.",failedToFetch:"Failed HTTP request",fraudRulesReject:"We're unable to verify you using the information submitted. Please check your information for accuracy, and only use your own mobile device or computer.<br><br>Still having trouble? <a href=\"{feedbackUrl}&pid={programId}&locale={locale}\">Contact SheerID's support team</a> to confirm your identity.",futureBirthDate:"Future birthdate",futureDischargeDate:"Future discharge date",futureActiveDutyStartDate:"Future start date",incorrectVerificationOverrideCodeAttemptLimitExceeded:"Override code limit exceeded",internalServerError:"Internal server error",invalidActiveDutyStartDate:"Invalid start date",invalidAddress:"Invalid address",invalidApiToken:"Provided API token was invalid or empty",invalidBirthDate:"Invalid birth date",invalidCity:"Invalid city",invalidCountry:"Invalid country",invalidDischargeDate:"Invalid discharge date",invalidDocUploadToken:"Provided document upload token is not valid",invalidEbtCardNumber:"Invalid EBT Card Number",invalidEmail:"Invalid email",invalidEmailLoopToken:"We are sorry, the page you requested cannot be found. The URL may be incorrect or the page you're looking for is no longer available.",invalidFileSizeEmpty:"One or more files is empty",invalidFileSizeMax:"One or more files is too large (max: 10MB)",invalidFirstName:"Invalid first name",invalidFirstResponderStatus:"Invalid first responder status",invalidLastName:"Invalid last name",invalidMemberId:"Invalid ID Number",invalidMilitaryStatus:"Invalid military status",invalidNumberOfFiles:"Maximum number of files exceeded (max: 5)",invalidOptIn:"Must be selected to continue",invalidOrganization:"You must select an organization from the list",invalidOverrideCode:"Invalid Override Code",invalidPhoneNumber:"Invalid mobile number",invalidPostalCode:"Invalid postal code",invalidProgram:"Invalid program",invalidRequest:"Invalid request",invalidSMSCode:"Verification code could not be validated",invalidSocialSecurityNumber:"Invalid SSN",invalidState:"Invalid state",invalidStatus:"Invalid status",invalidStatuses:"Invalid status",invalidDriverLicenseNumber:"Invalid driver license number",invalidStep:"Invalid step",missingRequiredMetadata:"You must be logged in to verify. Log in to your account then try again.",marketConsentRequired:"Market consent required",maxMetadataLengthExceeded:"Maximum length of metadata value exceeded",maxMetadataValuesExceeded:"Maximum number of metadata values exceeded",maxSMSCodeLimitExceeded:"",incorrectSMSCodeAttemptLimitExceeded:"",noProgram:"No program found",noRemainingRewardCodes:"Due to tremendous demand, the offer is no longer available. Please check tomorrow to see if it is available.",notApproved:"Not approved",notFound:"Not found",noValidFiles:"No valid files",noVerification:"No verification found",outsideAgePerson:"Birthdate is not eligible for this offer.",requestTimeout:"Request timeout",simulatedError:"This is a simulated error",unauthorizedDomain:"Unauthorized domain",unauthorizedAccountStatus:"This offer has been temporarily discontinued. Please contact the brand’s customer support for more information.",underagePerson:"Persons under age 16 are not eligible for this offer.",unknownError:"Unknown Error",unsupportedDocMimeType:"One or more files is an unsupported format",verificationLimitExceeded:"We're glad you're enthusiastic, but it looks like you've already redeemed or attempted to redeem this offer."},step:{docUpload:{acceptableUploadExamples:"Acceptable examples include:",acceptedTypes:"File must be .jpg .jpeg .png .pdf .gif or .bmp",addFile:"Add file",cancelButtonLabel:"Cancel",fileInstructions:'Drag &amp; drop your files here or <span class="sid-dropzone-wrap--link">browse</span>',submitButtonLabel:"Continue",rejectedSubtitle:"We were unable to confirm your eligibility due to:",nameChanged:"If your name has changed since the document was issued, upload a 2nd document showing your official name change.",allowedDocuments:"Please only upload documents you are legally allowed to provide.",cancelDocUploadLabel:"Click here if you are unable to verify with a document",rejectionReasons:{DOCUMENT_LIKELY_FRAUD:"The document is insufficient for establishing eligibility for this offer.",DOCUMENT_UNSUPPORTED:"The document is not official or on the list of accepted document types.",DOCUMENT_UNREADABLE:"The document was unreadable due to poor image quality. Please make sure you have a clearly legible image that's bright and crisp, and try submitting again.",DOCUMENT_EXPIRED:"The document has already expired or was issued too far in the past. Please upload a more recent document.",DOCUMENT_TOO_FUTURE:"The date shown in the document is too far in the future. Please upload a more recent document, which proves your current status.",MISSING_DOCUMENT_DATE:"A current date is missing. Please upload an official, dated document that proves your current status.",INSUFFICIENT_DOCUMENT_DATE:"The date(s) shown in the document are insufficient to prove your current status. Please upload a document that includes a recent month and year.",INSUFFICIENT_STATUS:"The document does not prove you are a status eligible for this offer.",MISMATCH_STATUS:"The status on the document does not match the status you entered on your verification form.",INELIGIBLE_JOB_TITLE:"The job title shown in the document is not eligible for this offer.",MISSING_INFORMATION_BIRTHDATE:"Your birthdate is missing.",MISMATCH_BIRTHDATE:"The birthdate on the document does not match the birthdate you entered on your verification form.",OUT_OF_RANGE_BIRTHDATE:"Your birthdate is outside the acceptable range of this offer.",MISSING_PERSON_LAST_NAME:"Your last name is missing.",MISMATCH_PERSON_LAST_NAME:"The last name on the document does not match the last name you entered on your verification form.",MISSING_PERSON_FIRST_NAME:"Your first name is missing.",MISMATCH_PERSON_FIRST_NAME:"The first name on the document does not match the first name you entered on your verification form.",MISSING_INFORMATION_ORGANIZATION_NAME:"Your organization name is missing.",MISMATCH_ORGANIZATION_NAME:"The organization name on the document does not match the organization name you entered on your verification form.",MISMATCH_ORGANIZATION_COUNTRY:"The country shown in your document does not match the country you entered on your verification form",MISSING_CUSTOM_VALUE:"The document is missing information needed to establish your eligibility for this offer.",MISMATCH_CUSTOM_VALUE:"Some information shown in the document does not match what you entered in the verification form.",INSUFFICIENT_CUSTOM_VALUE:"The document is missing information needed to establish your eligibility for this offer.",DOCUMENT_VALID_OTHER:"The document submitted is not able to establish eligibility for this offer.",DOCUMENT_STATUS_OTHER:"The document submitted shows a status that is not sufficient for establishing eligibility for this offer.",DOCUMENT_DATE_OTHER:"The document submitted does not meet the date requirements for establishing eligibility for this offer.",PERSON_BIRTHDATE_OTHER:"The date of birth shown in the document submitted did not match with what was provided on the verification form.",PERSON_LAST_NAME_OTHER:"The last name shown in the document submitted did not match with what was provided on the verification form.",PERSON_FIRST_NAME_OTHER:"The first name shown in the document submitted did not match with what was provided on the verification form.",ORGANIZATION_NAME_OTHER:"The organization name shown in the document submitted was something other than what was provided on the verification form.",CUSTOM_VALUE_OTHER:"The document submitted is missing a requirement for establishing eligibility for this offer.",DOCUMENT_PASSWORD_PROTECTED:"We are unable to accept password protected documents.",DOCUMENT_HANDWRITTEN:"We cannot accept handwritten documents.",MISSING_INFORMATION:"The document you submitted does not provide all of the information necessary to determine eligibility for this offer.",MISSING_INFORMATION_PERSON_NAME:"The document you submitted is missing a first and/or last name.",DOCUMENT_OUTDATED:"The document you submitted is missing an issue date or was issued too far in the past.",MISMATCH_PERSON_NAME:"The information on the document you submitted does not match the first and/or last name submitted on the verification form.",MISMATCH_ORGANIZATION:"The organization name on the document(s) you submitted does not match the organization you listed on the verification form.",INELIGIBLE_ORGANIZATION:"The organization on the document you submitted is not eligible for this offer.",MISSING_INFORMATION_UNIVERSITY_ENROLLMENT:"The document you submitted does not prove enrollment in the current term.",INELIGIBLE_PERSON_HIGH_SCHOOL_STUDENT:"High School Students are not eligible for this offer.",MISSING_INFORMATION_AFFILIATION_US_ARMED_FORCES:"The document you submitted is does not show affiliation to an eligible branch of the United States Armed Forces.",MISMATCH_COMPANY_NAME_OR_ADDRESS:"The company name or address in your document does not match what you entered on the verification form.",PAYSTUB_OUTDATED_LAST_30_DAYS:"Please upload a paystub that was issued within the last 30 days.",DOCUMENT_OUTDATED_FACULTY:"The document you submitted does not prove employment in the current academic year.",MISSING_OR_MISMATCH_JOB_TITLE:"The job title on the document you submitted is missing or does not match what you entered on the verification form.",OTHER_CONTACT_US:"We are having problems verifying your eligibility for the offer. Please contact SheerID customer service for help: customerservice@sheerid.com",PERSON_FIELD_MISMATCH:"A field in the document provided did not match with what was provided on the verification form."},uploadInfo:{affiliation:"Your current affiliation with that organization",fullName:"Your full name",organization:"Your organization",student:{enrollmentDate:"Date proving enrollment for the current term (or within the last 3 months)",school:"Your school"},teacher:{currentSchoolYear:"A date in the current school year",school:"Your school"},military:{currentAffiliation:"Your current affiliation with the armed services",dischargeDate:"Your discharge date (if applicable)",serviceBranch:"Your branch of service",uploadInstructionsDependent:"Please upload a Dependent ID card that clearly shows your first name, last name, valid dates and status"},senior:{birthDate:"Your date of birth"},age:{birthDate:"Your date of birth"},firstResponder:{currentAffiliation:"Your current affiliation with that organization",organization:"Your organization",license:"Your status or license as a First Responder"},medical:{status:"Your medical professional status",validDate:"A currently valid date"},employment:{company:"Your company",currentAffiliation:"Your current affiliation with that company"},identity:{validDate:"A currently valid date"},licensedProfessional:{licenseStatus:"Your professional license and/or certification status",validDate:"A currently valid date"},recentMover:{address:"Your new address",validDate:"A valid date for your recent move"},lowIncome:{fullName:"Your full name",validDate:"A valid date of issue (within the last 12 months) or date of expiry (must be valid)",ebtNumber:"EBT card number"}},acceptableUploads:{student:{idCard:"School ID card with expiration date",classSchedule:"Class schedule",tuitionReceipt:"Tuition receipt"},teacher:{idCard:"Teacher ID card with valid date",payStub:"Pay stub from within last 60 days"},member:{idCard:"Membership Document",payStub:"Pay stub from within last 90 days"},senior:{birthCertificate:"Your birth certificate",driversLicense:"Your drivers license",passport:"Your passport",stateId:"Your state-issued ID"},age:{birthCertificate:"Your birth certificate",driversLicense:"Your drivers license",passport:"Your passport",stateId:"Your state-issued ID"},military:{activeDuty:"Any document that proves you are currently serving as active duty in the armed forces for 30 days or more",veteran:"Any document that proves you met the qualifications of military service and were honorably discharged",reservistA:"Any document that shows you are currently serving in a reserve component of the armed forces",retiree:"Any document that proves you are a retiree from the armed forces",dependent:"Any document that proves you are a Registered Military Dependent",goldStarFamily:"Any document that proves you are a Registered Gold Star Family Member"},medical:{licenseCertificate:"Certificate of license",idCard:"Nursing ID card with expiration date",photoPayStub:"Photo ID and recent Pay Stub"},employment:{employeeIdCard:"Employee ID Card",payStub:"Pay stub from within last 60 days",officialLetter:"An official letter"},firstResponder:{idCard:"ID Card",payStub:"Pay stub from within last 60 days",letter:"An official letter"},licensedProfessional:{license:"Certificate of license"},recentMover:{changeOfAddress:"U.S. Postal Service change of address confirmation letter",mortgageDeed:"Mortgage deed",rentalAgreement:"Lease or rental agreement"},lowIncome:{programCard:"Back and front of a card showing you qualify for the selected government assistance program (for example, an EBT card for a SNAP Program).",programApprovalLetter:"Approval letter of the selected government assistance program issued by a government agency (for example, a Supplemental Security Income (SSI) eligibility letter).",programApprovalScreenshot:"A screenshot of the online portal of the selected government assistance program showing you qualify for it (Screenshot of your Medicare application status on your online account).",programBankStatement:"A bank statement showing recent payment of the selected benefit."}}},pending:{titleCountdown:"Processing",titleReview:"Reviewing",subtitle:"SheerID is reviewing your documents, to confirm your status. This process may take up to {maxReviewTime}.",subtitleAlt:"SheerID is reviewing your documents, to confirm your status.",docDiffLang:"We identified your document is in a different language.",turnaroundTime:"Turnaround time for your language is typically {estReviewTime}, and in rare times of high volume may take up to {maxReviewTime}.",subtitle2:"Wait here or let us notify you of the outcome.",subtitle3:"You will be contacted via email.",subtitleCountdown:"Hang tight while we upload and scan your documents."},personalInfo:{verifyingTitle:"Verifying your status",verifyingSubtitle:"This should only take a minute"},success:{copyCouponCode:"Copy Coupon code",emailNotification:"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com.",verificationOnly:"SheerID handles verification only. Now that you've been approved, please direct all questions about the promotion terms to {companyName} customer service."},consolation:{title:"Claim your offer",subtitle:"Unfortunately we could not verify your status, but we value your interest and are offering this promo code as a thank you. It is unique to you and can only be used once.",verificationOnly:"Please direct any and all questions about this offer to {companyName}."},sso:{cancel:"Upload documents",title:"Verify using your school credentials",subtitle:"Please sign in to your school's web portal. It will open in a new tab.",subtitle2:"Unable to sign in?",login:"Sign in to my school",preheader:"Quickest Method",alternative:"You can also verify by uploading proof of eligibility"},collectSocialSecurityNumber:{title:"Enter your social security number",useSsn:"Verify using your social security number",uploadDoc:"Upload a document",selectOption:"Select an option",uploadInstead:"Upload a document instead"},smsLoop:{titleWithNumber:"We've sent an SMS message to the mobile number ending in {number}. Enter your code here.",titleWithoutNumber:"We've sent an SMS to your mobile number. Please enter the code here.",verificationCode:"Verification Code",errors:{codeVerification:"Verification code could not be validated.",codeExpired:"Verification code could not be validated.",codeResendLimit:"Maximum number of re-tries has been reached.",resend:"Error sending the SMS message"},successResend:"SMS message re-sent successfully",incorrectNumber:{incorrectNumber1:"Incorrect number? Click",incorrectNumber2:"here",incorrectNumber3:"to return to {companyName}"},resendButton:"Re-send",submitButton:"Submit"},emailLoop:{title:"Check your email",subtitleWithEmail:"An email has been sent to {email} with a personalized link to complete the verification process.",subtitleWithoutEmail:"An email has been sent to your email account with a personalized link to complete the verification process.",subtitle2:"Please check for an email from us (verify@sheerid.com) for all the details.",successResend:"Email re-sent successfully.",resendButton:"Re-send",errors:{resend:"Error sending email"},skipEmail:"Unable to retrieve this email? Click",skipEmailCTA:"here",skipEmail2:"to proceed."},override:{title:"Unable to Verify Status",subtitle:"If applicable, please enter a verification override code below.",subtitle2:"This will enable the customer to redeem the offer",verificationOverrideCodeLabel:"Verification Override Code",submitOverrideCodeButtonLabel:"Submit Override Code",errors:{invalidCode:"Invalid Override Code.",codeOverrideLimit:"Override code limit exceeded."}},error:{errorId:{unauthorizedAccountStatus:{title:"Offer Is Paused!",buttonText:"Contact Support"},noRemainingRewardCodes:{title:"Offer Sold Out!",buttonText:"See More Offers"},verificationLimitExceeded:{title:"Verification Limit Exceeded"},expiredProgram:{title:"Offer Sold Out!",buttonText:"See More Offers"},inactiveProgram:{title:"Offer Sold Out!",buttonText:"See More Offers"},missingRequiredMetadata:{title:"Please log in."}}},collectMedicalPersonalInfo:{registrationNumberLabel:"Registration Number",registrationNumberExplanation:"Your Professional Membership Registration Number",numeroColegiadoLabel:"Registration Number",numeroColegiadoExplanation:"Your Professional Membership Registration Number",autorisationsIdLabel:"Registration Number",autorisationsIdExplanation:"Your Professional Membership Registration Number",gbrNummerLabel:"Registration Number",gbrNummerExplanation:"Your Professional Membership Registration Number",globalLocationNumberLabel:"Global Location Number",globalLocationNumberExplanation:"Your Professional Membership Registration Number"}},ssn:"Social Security Number",ssnPlaceholder:"000-00-0000",getHelp:"Get help",footerText:"By submitting the personal information above, I acknowledge that my personal information is being collected under the <privacyPolicy>privacy policy</privacyPolicy> of the business from which I am seeking a discount, and I understand that my personal information will be shared with SheerID as a processor/third-party service provider in order for SheerID to confirm my eligibility for a special offer. <aboutSheerID>More about SheerID</aboutSheerID>.",infoShared1:"By clicking, I consent to processing my information for the purpose of verifying my eligibility as described within the {privacyPolicyLink}",infoShared2:". I understand that my information will be shared with {companyName}.",studentInfoShared:"Information entered here will be used for verification purposes and shared with {companyName}.",firstResponderInfoShared:"Information entered here will be used for verification purposes.",militaryInfoShared:"Information entered here will be used for verification purposes.",militaryFamilyCardNote:"Note: this offer is only available to military family members with a Dependent ID card."},mc={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock this 1st Responder-Only Offer",subtitle:"Verify you're an active first responder.",howDoesVerifyingWorkDetails:"This offer is available to all US first responders and emergency personnel - including law enforcement, EMTs, paramedics, and firefighters.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are an active first responder. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name, Email & Organization",subtitle:"Your full name, organization name, and email must match what is on record with your agency."},verifyingTitle:"Verifying your first responder status"},docUpload:{title:"We need your ID",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying first responders.<br><br>Documents are used only for verifying your first responder status is current and will be permanently deleted after review is finalized.",uploadInstructions:"Upload an official document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},pc={emailExplanation:"Personal email address is recommended",step:{personalInfo:{title:"Unlock this Military-Only Offer",subtitle:"Verify you're a member of the armed forces.",howDoesVerifyingWorkDetails:"This offer is available to military personnel who have served or are currently serving in the United States Armed Forces.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a member of the military. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name & Birthdate",subtitle:"Enter your first and last name on the form as it appears on your military document(s). Keep in mind that may be your given name."},verifyingTitle:"Verifying your military status"},docUpload:{title:"We need more information",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying military.<br><br>Documents are used only for verifying your military status is current and will be permanently deleted after review is finalized.",uploadInstructions:"Upload your government-issued document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},hc={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock Your Special Offer",subtitle:"Verify your current age.",howDoesVerifyingWorkDetails:"To be eligible for this offer, you must be of a certain age.<br><br>{companyName} uses SheerID, a trusted partner, to verify your age. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name & Birthdate",subtitle:"Your full name and birthdate must match what is on your government-issued documents."},verifyingTitle:"Verifying your age"},docUpload:{title:"We need your license or passport",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying age.<br><br>Documents are used only for verifying your current age and will be permanently deleted after review is finalized.",uploadInstructions:"Upload a government-issued document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},gc={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock Your Special Offer",subtitle:"Verify your current age.",howDoesVerifyingWorkDetails:"To be eligible for this offer, you must be of a certain age.<br><br>{companyName} uses SheerID, a trusted partner, to verify your age. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name & Birthdate",subtitle:"Your full name and birthdate must match what is on your government-issued documents."},verifyingTitle:"Verifying your age"},docUpload:{howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying age.<br><br>Documents are used only for verifying your current age and will be permanently deleted after review is finalized.",uploadInstructions:"Upload a government-issued document that shows",title:"We need your license or passport",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner."},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},vc={emailExplanation:"A student email address is preferred",schoolName:"School",step:{personalInfo:{title:"Unlock this Student-Only Offer",subtitle:"Verify you're a student at a degree-granting school.",howDoesVerifyingWorkDetails:"To be eligible for this offer, you must currently be enrolled in a degree or certificate-granting, accredited school of education.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a current student. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name & Birthdate",subtitle:"Your full name and birthdate must match what is on your official school records."},verifyingTitle:"Verifying your student status"},docUpload:{title:"We need your ID & class schedule",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying students.<br><br>Documents are used only for verifying your student status is current and will be permanently deleted after review is finalized.",uploadInstructions:"Upload your school-issued document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"},sso:{title:"Verify using academic institution credentials",subtitle:"Your academic institution's portal will open in a new window for you to verify using your login information",alternative:"You can also verify by uploading proof of your enrollment",login:"Sign into my academic institution",cancel:"Upload Proof of Enrollment"}}},yc={emailExplanation:"Must be your school-issued email address",schoolName:"School name",schoolNamePlaceholder:"School name",step:{personalInfo:{title:"Unlock this Teaching Staff-Only Offer",subtitle:"Verify you're a teacher, faculty or staff at a K-12 or degree-granting university.",howDoesVerifyingWorkDetails:"To be eligible for this offer, you must currently be employed as a teacher, faculty or staff at a K-12 school or university in the United States.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a current teacher, faculty or staff member. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name & Email",subtitle:"Your full name and email address must match what is on record with your school."},verifyingTitle:"Verifying your teacher status"},docUpload:{title:"We need more information",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying teachers.<br><br>Documents are used only for verifying your teacher or faculty status is current and will be permanently deleted after review is finalized.",uploadInstructions:"Upload your school-issued document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},bc={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock this Members-Only Offer",subtitle:"Verify you're a current member of an eligible organization.",howDoesVerifyingWorkDetails:"{companyName} has set up this special offer for all current members of select organizations.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are currently employed. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check the information that you have provided",subtitle:"The information you have provided should match your official documents."},verifyingTitle:"Verifying your membership status"},docUpload:{title:"We need more information",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying members.<br><br>Documents are used only to verify that your membership status is current and will be permanently deleted after review is finalized.",uploadInstructions:"Upload an official document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},Ec={emailExplanation:"Use your work email if you have one",step:{personalInfo:{title:"Unlock this Medical Professional-Only Offer",subtitle:"Verify you're a licensed medical professional.",howDoesVerifyingWorkDetails:"To be eligible for this offer, you must (1) be a medical professional currently licensed in the United States and (2) be a member of an eligible branch of the medical profession. Eligible branches are shown in the Status selector of this form.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a medical professional. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check your Name, Birthdate & Organization",subtitle:"Your first and last name, birthdate and organization must match what is on your official documents."},verifyingTitle:"Verifying your medical professional status"},docUpload:{title:"We need more information",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying medical professionals.<br><br>Documents are used only for verifying your medical professional status is current and will be permanently deleted after review is finalized.",uploadInstructions:"Upload an official document that shows"},sso:{title:"Verify your Healthcare status",subtitle:"Please sign into your employer's web portal. It will open in a new tab.",login:"Sign into my employer web portal",alternative:"You can also verify by uploading proof of employment"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},wc={addressExplanation:"Use your home address",emailExplanation:"Use your work email if you have one",step:{personalInfo:{title:"Unlock this Employment-Only Offer",subtitle:"Verify you're a current employee at an eligible company.",howDoesVerifyingWorkDetails:"{companyName} has set up this special offer for all current employees of select companies.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are currently employed. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check the information that you have provided",subtitle:"The information you have provided should match your official documents."},verifyingTitle:"Verifying your employment status"},docUpload:{title:"We need more information",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying employees.<br><br>Documents are used only for verify your employment status is current and will be permanently deleted after review is finalized.",uploadInstructions:"Upload an official document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"},sso:{title:"Verify using your company-provided email credentials",subtitle:"Please sign in to your company's email portal. It will open in a new tab.",subtitle2:"Can't sign in to your email?",login:"Sign in to my email",cancel:"Upload proof of employment",alternative:"You can also verify by uploading proof of employment"}}},Sc={title:"Request to Add School",description:"Please fill out the form below. Schools submitted are not guaranteed to be added, but all requests are researched and considered by SheerID.",noCountry:"Don't see your school’s country or region? You are not eligible for this offer.",searchByOrgName:"Don't see your school? Search by name.",completeRequest:"Don't see your school in the list of eligible or ineligible schools? Complete your request",submit:"Submit",eligibleOrgs:"Eligible schools. Click the icon to copy name then return to the verification form:",ineligibleOrgs:"Ineligible Schools. We are sorry, people from these schools are not eligible for this offer:",none:"None",country:"Where is your educational institution located?",changeLanguage:"Change language",poweredBy:fc.poweredBy,copied:"Copied",fields:{countryPlaceholder:"Select Country",domainLabel:"School website",domainPlaceholder:"www.myschool.edu",orgNameLabel:"School name",orgNamePlaceholder:"My school"},step:{success:{title:"Thank you",description:"Your request to add your educational institution has been received. As a reminder, each request is evaluated by SheerID against the requirements set by this offer. There is no guarantee that your school will be added. The evaluation process can take up to 7 business days."},error:{title:"An unexpected error occurred",description:"Sorry we are not able to process your request. Please try again later.",seeingProblem:"If you keep seeing this problem <a class='sid-link' href='{feedbackUrl}&pid={programId}' target='_blank'>contact us</a>.",contactUs:"contact us"}},errorId:{invalidCountry:"Field is required",invalidEmail:"Invalid Email",invalidFirstName:"Invalid first name",invalidLastName:"Invalid last name",requiredField:"Field is required",invalidField:"Field is invalid",invalidUrl:"Invalid URL",tooManyResults:"Your search returned too many results, please refine your search and try again"},orgType:{university:"Universities {e}",k12:"K12 {e}",postSecondary:"Post Secondary Institutions {e}",highSchool:"High Schools / Secondary Schools {e}",eligible:" - Eligible for this offer. Click the icon to copy name then return to the verification form:",ineligible:" - (Not eligible for this offer)"},faq:"SheerID Add School Request FAQ"},Mc={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock Your Special Offer",subtitle:"Verify your current identity.",howDoesVerifyingWorkDetails:"To be eligible for this offer, you must have a valid driver license.<br><br>{companyName} uses SheerID, a trusted partner, to verify your identity. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name & other fields",subtitle:"Your information must match what is on your government-issued document(s)."},verifyingTitle:"Verifying your identity"},docUpload:{howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying identity.<br><br>Documents are used only for verifying your current eligibility and will be permanently deleted after review is finalized.",uploadInstructions:"Upload a government-issued document that shows",title:"We need your driver license",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner."},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},Cc={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock this Special Offer",subtitle:"Verify you have a professional license in your field.",howDoesVerifyingWorkDetails:"To be eligible for this offer, you must hold a current professional license in your specified field. Eligible fields are shown in the Status selector of this form.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a licensed professional. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name & other fields",subtitle:"Your information must match what is on your government-issued document(s)."},verifyingTitle:"Verifying your license"},docUpload:{title:"We need your professional license or certificate",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying licensed professionals.<br><br>Documents are used only for verifying your licensure or certification status is current and will be permanently deleted after review is finalized.",uploadInstructions:"Upload a government-issued document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},Ic={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock this Special Offer",subtitle:"Verify you have recently moved.",howDoesVerifyingWorkDetails:"To be eligible for this offer, you must have moved to a new address within the last 60 days.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you have recently moved. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name & Address Information",subtitle:"Your first and last name and address must match what is on your official documents."},verifyingTitle:"Verifying your moving status"},docUpload:{title:"We need some more info",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying recent movers.<br><br>Documents are used only for verifying that you've recently moved and will will be permanently deleted after review is finalized.",uploadInstructions:"Upload an official document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},Nc={emailExplanation:"",addressExplanation:"Use your home address",step:{personalInfo:{title:"Unlock this Special Offer",subtitle:"Verify you qualify for an eligible government assistance program.",howDoesVerifyingWorkDetails:"To be eligible for this offer, you must currently qualify for an eligible government assistance program. The eligible Government Assistance Programs for this offer can be found in the box below.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a recipient of these benefits. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your full name & other fields",subtitle:"Your information must match what is on your government-issued document(s)."},verifyingTitle:"Verifying your status"},docUpload:{title:"We need some more info",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying your eligibility.<br><br>Documents are used only for verifying your eligibility status is current and will be permanently deleted after review is finalized.",uploadInstructions:"Upload an official document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},Dc={defaultMessages:fc,pluralizationsAndDateLocaleData:o.n(dc)(),requestOrganizationMessages:Sc,segmentMessages:{firstResponder:mc,military:pc,senior:hc,age:gc,student:vc,teacher:yc,member:bc,medical:Ec,employment:wc,identity:Mc,licensedProfessional:Cc,recentMover:Ic,lowIncome:Nc}},Tc={verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"error",segment:"student",subSegment:null,redirectUrl:"https://sheerid.com",errorIds:["internalServerError"],locale:"en-US"},Ac={collectStudentPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectStudentPersonalInfo",segment:"student",subSegment:null,submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectTeacherPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectTeacherPersonalInfo",segment:"teacher",subSegment:null,submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectMemberPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectMemberPersonalInfo",segment:"member",subSegment:null,submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},docUpload:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"docUpload",segment:"student",subSegment:null,submissionUrl:"",locale:"en-US"},success:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"success",segment:"student",subSegment:null,rewardCode:"MY_REWARD_123",locale:"en-US"},consolation:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"consolation",segment:"student",subSegment:null,consolationRewardCode:"MY_REWARD_123",locale:"en-US"},override:{verificationId:"635a9e342f69032c316e05f9",currentStep:"override",errorIds:["invalidOverrideCode"],segment:"medical",subSegment:"nurse",submissionUrl:"",locale:"en-US",country:"US"},error:Tc,pending:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"pending",statusUrl:"",segment:"student",subSegment:null,locale:"en-US",maxReviewTime:"2_HRS",estimatedReviewTime:void 0},docReviewLimitExceeded:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"error",segment:"student",subSegment:null,redirectUrl:null,errorIds:["docReviewLimitExceeded"],locale:"en-US"},collectMilitaryStatus:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectMilitaryStatus",segment:"military",subSegment:null,submissionUrl:"",availableStatuses:["ACTIVE_DUTY"],locale:"en-US"},collectActiveMilitaryPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectActiveMilitaryPersonalInfo",segment:"military",subSegment:"activeDuty",submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectInactiveMilitaryPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectInactiveMilitaryPersonalInfo",segment:"military",subSegment:"veteran",submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectSeniorPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectSeniorPersonalInfo",segment:"senior",subSegment:null,submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectFirstResponderPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectFirstResponderPersonalInfo",segment:"firstResponder",subSegment:"emt",submissionUrl:"",availableStatuses:["FIREFIGHTER"],instantMatchAttempts:0,locale:"en-US"},collectEmployeePersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectEmployeePersonalInfo",segment:"employment",subSegment:null,submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectDriverLicensePersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectDriverLicensePersonalInfo",segment:"identity",subSegment:"driverLicense",submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectGeneralIdentityPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectGeneralIdentityPersonalInfo",segment:"identity",subSegment:"generalIdentity",submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectHybridIdentityPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectHybridIdentityPersonalInfo",segment:"identity",subSegment:"generalIdentity",submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectLicensedProfessionalPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9761",currentStep:"collectLicensedProfessionalPersonalInfo",segment:"licensedProfessional",submissionUrl:"",subSegment:"licensedCosmetologists",instantMatchAttempts:0,locale:"en-US"},collectMoverPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9761",currentStep:"collectMoverPersonalInfo",segment:"recentMover",submissionUrl:"",subSegment:"homeBuyer",instantMatchAttempts:0,locale:"en-US"},collectLowIncomePersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9761",currentStep:"collectLowIncomePersonalInfo",segment:"lowIncome",submissionUrl:"",subSegment:"snapBenefits",instantMatchAttempts:0,locale:"en-US"},sso:{verificationId:"5a3bffd5e4b05f0b878a9762",loginUrl:"loginUrl",cancelUrl:"cancelUrl",currentStep:"sso",segment:"student",subSegment:null,locale:"en-US"},smsLoop:{verificationId:"5e2f0bd2d7121162bb849f17",submissionUrl:"",currentStep:"smsLoop",segment:"student",subSegment:null,locale:"en-US"},emailLoop:{verificationId:"5e2f0bd2d7121162bb849f17",submissionUrl:"https://foo.bar",currentStep:"emailLoop",segment:"student",subSegment:null,locale:"en-US",canResendEmailLoop:!0,cancelUrl:"https://foo.bar"},cancelEmailLoop:{verificationId:"5e2f0bd2d7121162bb849f17",submissionUrl:"",currentStep:"docUpload",segment:"student",subSegment:null,locale:"en-US"},collectSocialSecurityNumber:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectSocialSecurityNumber",segment:"military",subSegment:null,submissionUrl:"",cancelUrl:"",locale:"en-US"},collectAgePersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectAgePersonalInfo",segment:"age",subSegment:null,submissionUrl:"",instantMatchAttempts:0,locale:"en-US",minAge:55,maxAge:120},collectMedicalProfessionalPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectMedicalProfessionalPersonalInfo",segment:"medical",subSegment:"nurse",submissionUrl:"",availableStatuses:["NURSE"],instantMatchAttempts:0,locale:"en-US"},cancelSocialSecurityNumber:{},cancelDocUpload:{submissionUrl:"",verificationId:"63a22b25e7501047aa05bc3a",currentStep:"override",segment:"student",subSegment:null,locale:"en-US"},missingRequiredMetadata:Tc},xc=(Me.TEXT,Dc.defaultMessages.countries,Dc.defaultMessages.locales,e=>{try{const t=new(Sr())(window.location.search);if(t.get(e))return t.get(e);if(Mn().hasOwnProperty(e))return Mn()[e]}catch(e){he.error(e)}}),_c=(e=undefined)=>{try{const t=new(Sr())(window.location.search);let r;const n=oe((()=>e.segment));return t.get(nn)?r=t.get(nn):Mn().mockStep&&(r=Mn().mockStep),r===we.collect?Ce[n]:r}catch(e){he.error(e,"getRouteOverride")}},Oc=()=>xc(an),kc=()=>xc(on),Pc=()=>xc(dn),Rc=()=>Pc(),Fc=()=>xc(ln),Lc=()=>xc(un),Uc=e=>{const t=ie(e),r=xc(sn),n=Lc();return r&&(t.errorIds=[r]),n&&(t.redirectUrl=n),t},Bc=function(){var e=gr((function*(e,t){let r=Mn().mockResponse||Ac[e];if(e&&r)switch(he.info(`getOverriddenMock: mocking ${e} response`),e){case ve.error:r=Uc(r);break;case ve.success:r=(e=>{const t=ie(e),r=Fc(),n=Lc();return r&&(t.rewardCode=r),n&&(t.redirectUrl=n),t})(r);break;case ve.consolation:r=(e=>{const t=ie(e),r=Fc();return r&&(t.consolationRewardCode=r),t})(r)}else r=null,he.info(`\n getOverriddenMock: not mocking response.\n You may mock a step response by adding things like ?mockStep=success to your route.\n ${e}\n `);return null!==r&&t&&(yield t,r.segment=t.segment,r.subSegment=t.subSegment,Oc()&&(r.segment=Oc(),he.info(`getOverriddenMock: mocking segment '${r.segment}'`)),kc()&&(r.subSegment=kc(),he.info(`getOverriddenMock: mocking subSegment '${r.subSegment}'`))),yr().resolve(r)}));return function(t,r){return e.apply(this,arguments)}}(),Vc=({step:e})=>q.createElement("div",{className:"sid-loading-screen__message"},$i()(be).call(be,e)&&q.createElement("div",{className:"sid-loading-screen__message-header"},q.createElement(or,{id:"step.personalInfo.verifyingTitle",defaultMessage:"Verifying your status"})),q.createElement("div",{className:"sid-loading-screen__message-subhead"},q.createElement(or,{id:"step.personalInfo.verifyingSubtitle",defaultMessage:"This should only take a minute"}))),zc=({step:e=Rc()})=>q.createElement("div",{className:"sid-loading-screen"},q.createElement(cc,null),e&&q.createElement(Vc,{step:e}));let jc={};const Hc=(e,t)=>{he.log(`overrideComponent registering ${e}`),jc[e]=t},$c=()=>{jc={}};var qc=o(1057),Wc=o.n(qc);function Gc(e){return Yc.apply(this,arguments)}function Yc(){return Yc=gr((function*(e){try{he.info("fetchExistingVerificationRequest: Calling back-end for existing verification request");const t=$n(e),r=yield Ln(t),n=_c(r),a=yield Bc(n,r);return a||r}catch(e){he.error(e,"fetchExistingVerificationRequest")}})),Yc.apply(this,arguments)}var Kc=o(6607),Zc=o.n(Kc);const Jc=function(){var e=gr((function*(e,t){en(e),Qr(t);const r=`${`${Mn().restApi.serviceUrl}${Mn().restApi.resources.conversion.base}`}verification/${e}`;return yield Rn(r,t)}));return function(t,r){return e.apply(this,arguments)}}(),Xc=function(){var e=gr((function*(e,t,r){en(e),Xr(t),Qr(r);const n=`${`${Mn().restApi.serviceUrl}${Mn().restApi.resources.conversion.base}`}account/${e}/trackingId/${t}`;return yield Rn(n,r)}));return function(t,r,n){return e.apply(this,arguments)}}(),Qc=window.addEventListener?"addEventListener":"attachEvent",ed="attachEvent"===Qc?"onmessage":"message",td="sid-verificationId",rd="verificationId",nd=e=>{if(e&&e.data&&"object"==typeof e.data&&e.data.hasOwnProperty(rd)){const t=e.data[rd];ad(t)}},ad=e=>{const t=Mn().cookies;Zc().remove(td,t),t.enabled?(Zc().set(td,e,t),he.info(`Set cookie ${td} with value ${e}`)):he.info("Cookies disabled")},id=e=>{var t;t={[rd]:e},window.parent&&window.parent.postMessage&&"function"==typeof window.parent.postMessage&&window.parent.postMessage(t,"*"),ad(e)},od=(e=undefined)=>{let t;if(void 0!==e)t=e,Xr(e);else{t=(e=>{const t=new(Sr())(e).get("trackingId");return"string"==typeof t&&0===t.length?null:t})(window.location.search)}return t},sd={convert:e=>{let t;try{t=Zc().get(td),t?Jc(t,e):he.info("verificationId not found from cookie")}catch(e){he.error(e,"Conversion error")}},convertByVerificationId:Jc,convertByTrackingId:Xc,listenForVerificationId:()=>{var e;he.info("Listening for verificationId"),Jr(e=nd),window[Qc](ed,(t=>{e(t)}),!1)}};function ld(){return ld=gr((function*(e,t=undefined,r=!1,n={}){const a=od(t);try{var i;let t;Kr(e);const o=window.location.search;let s;if(r||(s=Mn().verificationId||Or(o)),s&&(he.info("fetchNewVerificationRequest: Calling for existing verification request"),t=yield Gc(s)),!s||t.currentStep===ve.error&&$i()(i=t.errorIds).call(i,"noVerification")){const r=qn(),i={programId:e};a&&(he.info(`Adding trackingId ${a}`),i.trackingId=a);const o=ea();o&&(he.info(`Adding installPageUrl ${o}`),i.installPageUrl=o),t=yield Rn(r,i,n),t.locale=Oa()}const l=_c(t),u=yield Bc(l,t);return u?(u.locale=Oa(),u):t}catch(e){throw he.error(e,"fetchNewVerificationRequest"),e}})),ld.apply(this,arguments)}function ud(){return ud=gr((function*(e,t){if(!Mn().doFetchTheme)return Ai();he.info("fetchProgramTheme: Calling back-end for program theme");try{Kr(e),t&&Wr(t);const r=t||Oa();return yield Ln(Wn(e,r))}catch(e){throw he.error(e,"fetchProgramTheme"),e}})),ud.apply(this,arguments)}function cd(){return cd=gr((function*(e){he.info("Resending new sms code");try{const t=Yn(e);return yield Un(t)}catch(e){he.error(e,"getResendNewSmsCode")}})),cd.apply(this,arguments)}function dd(){return dd=gr((function*(e){he.info("Resending new email code");try{const t=Kn(e);return yield Un(t)}catch(e){he.error(e,"getResendNewEmailCode")}})),dd.apply(this,arguments)}const fd={collectStudentPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,email:e.email,phoneNumber:e.phoneNumber,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectSeniorPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,email:e.email,postalCode:e.postalCode,phoneNumber:e.phoneNumber,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectAgePersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,email:e.email,postalCode:""!==e.postalCode?e.postalCode:void 0,phoneNumber:""!==e.phoneNumber?e.phoneNumber:void 0,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,country:e.countryChoice?e.countryChoice.value:void 0,city:""!==e.city?e.city:void 0,address1:""!==e.address1?e.address1:void 0,metadata:e.metadata}),collectMilitaryStatus:e=>({status:e.status}),collectActiveMilitaryPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,activeDutyStartDate:e.activeDutyStartDate||void 0,email:e.email,phoneNumber:e.phoneNumber,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,country:e.countryChoice?e.countryChoice.value:void 0,metadata:e.metadata}),collectInactiveMilitaryPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,activeDutyStartDate:e.activeDutyStartDate||void 0,email:e.email,phoneNumber:e.phoneNumber,organization:e.organization,dischargeDate:e.dischargeDate,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,country:e.countryChoice?e.countryChoice.value:void 0,metadata:e.metadata}),collectFirstResponderPersonalInfo:e=>{const t={firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,email:e.email,status:e.status,postalCode:e.postalCode,phoneNumber:e.phoneNumber,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,country:e.countryChoice?e.countryChoice.value:void 0,metadata:e.metadata},r=e.statuses&&X()(e.statuses)&&e.statuses.length>0;return r&&(t.statuses=e.statuses,delete t.status),e.status||r||he.error("Either status or statuses must be provided on First Responder view model"),t},collectMedicalProfessionalPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,status:e.status,email:e.email,postalCode:e.postalCode,phoneNumber:e.phoneNumber,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata,country:e.countryChoice?e.countryChoice.value:void 0,memberId:e.memberId}),collectMemberPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,memberId:e.memberId,email:e.email,phoneNumber:e.phoneNumber,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata,address1:e.address1,city:e.city,state:e.state,postalCode:e.postalCode,country:e.countryChoice?e.countryChoice.value:void 0}),collectEmployeePersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,email:e.email,address1:e.address1,city:e.city,state:e.state,postalCode:e.postalCode,phoneNumber:e.phoneNumber,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata,country:e.countryChoice?e.countryChoice.value:void 0}),collectTeacherPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,postalCode:e.postalCode,email:e.email,phoneNumber:e.phoneNumber,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectSocialSecurityNumber:e=>{if("string"!=typeof e.socialSecurityNumber||e.socialSecurityNumber.length<1)throw new Error("Poorly formed social security number, unable to submit");return{socialSecurityNumber:Wc()(e.socialSecurityNumber,10)}},collectDriverLicensePersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,email:e.email,phoneNumber:e.phoneNumber,state:e.state,driverLicenseNumber:e.driverLicenseNumber,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectGeneralIdentityPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,email:e.email,phoneNumber:e.phoneNumber,birthDate:e.birthDate,address1:e.address1,city:e.city,state:e.state,postalCode:e.postalCode,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectHybridIdentityPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,email:e.email,phoneNumber:e.phoneNumber,birthDate:e.birthDate,address1:e.address1,city:e.city,state:e.state,postalCode:e.postalCode,driverLicenseNumber:e.driverLicenseNumber,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectLicensedProfessionalPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,email:e.email,phoneNumber:e.phoneNumber,birthDate:e.birthDate,postalCode:e.postalCode,statuses:e.statuses,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectMoverPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,email:e.email,statuses:e.statuses,address1:e.address1,postalCode:e.postalCode,phoneNumber:e.phoneNumber,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectLowIncomePersonalInfo:e=>{var t,r;return{firstName:e.firstName,lastName:e.lastName,email:e.email,phoneNumber:e.phoneNumber,birthDate:e.birthDate,address1:e.address1,city:e.city,state:e.state,postalCode:e.postalCode,statuses:e.statuses,organization:$i()(t=e.statuses).call(t,"OTHER_GOVERNMENT_ASSISTANCE")?e.organization:void 0,deviceFingerprintHash:e.deviceFingerprintHash,ebtCardNumber:$i()(r=e.statuses).call(r,"SNAP_BENEFITS")?e.ebtCardNumber:void 0,locale:e.localeChoice.value,metadata:e.metadata}},smsLoop:e=>({smsCode:e.smsCode,deviceFingerprintHash:e.deviceFingerprintHash}),emailLoop:e=>({emailToken:e.emailToken,deviceFingerprintHash:e.deviceFingerprintHash}),override:e=>({overrideCode:e.overrideCode,deviceFingerprintHash:e.deviceFingerprintHash}),cancelSocialSecurityNumber:null,sso:null,docUpload:null};function md(){return md=gr((function*(e,t,r){let n;const{docUpload:a,cancelSocialSecurityNumber:i,sso:o,cancelEmailLoop:s,cancelDocUpload:l}=ve;try{if(e===a){const e=r,{file1:a,file2:i,file3:o}=e;return n=yield Vn(t.submissionUrl,[a,i,o]),n}if(e===i||e===o)return n=yield Fn(t.cancelUrl),n;if(e===s)return n=yield Fn(t.cancelUrl),n;if(e===l)return n=yield Fn(t.submissionUrl),n;const u=fd[e](r);return n=yield Rn(t.submissionUrl,u),n}catch(e){return he.error(e,"submitFromVerificationStep"),function(){const e={verificationId:"",currentStep:"error",segment:null,subSegment:null,redirectUrl:null,locale:"en-US",errorIds:["unknownError"]};return e}()}})),md.apply(this,arguments)}function pd(){return pd=gr((function*(e,t,r){return Hr(e),ve[e]?function(e,t,r){return md.apply(this,arguments)}(e,t,r):yr().reject(new Error(`Unknown step ${e}`))})),pd.apply(this,arguments)}function hd(e,t,r){return gd.apply(this,arguments)}function gd(){return(gd=gr((function*(e,t,r){if(ve[t]){const n=fd[t](r),a=yield Rn(Zn(e,t),n);return"error"===a.currentStep&&yr().reject(new Error(`Failed to determine fields to collect: ${a}`)),a}return yr().reject(new Error(`Unknown step ${t}`))}))).apply(this,arguments)}const vd={fetchNewVerificationRequest:function(e){return ld.apply(this,arguments)},fetchExistingVerificationRequest:Gc,fetchProgramTheme:function(e,t){return ud.apply(this,arguments)},getResendNewSmsCode:function(e){return cd.apply(this,arguments)},getResendNewEmailCode:function(e){return dd.apply(this,arguments)},submitStep:function(e,t,r){return pd.apply(this,arguments)}},yd=["children"],bd=e=>{let{children:t}=e,r=Bi(e,yd);return q.createElement("a",Ri({target:"_blank",rel:"noopener noreferrer"},r),t)};var Ed=o(3104),wd=o.n(Ed);function Sd(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}let Md={};const Cd=e=>((e=>{Zr(e.name),Jr(e.callback)})(e),X()(Md[e.name])||(Md[e.name]=[]),Md[e.name].push(e),Md),Id=e=>(Zr(e),t=>{if(!(Md[e]&&X()(Md[e])&&Md[e].length>0))return()=>{};var r;d()(r=Md[e]).call(r,(e=>{e.callback&&"function"==typeof e.callback?e.callback("string"==typeof t?t:function(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Sd(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Sd(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}({},t)):he.warn("Expected typeof function for hook callback")}))}),Nd=e=>{Hr(e);const t=Di()[e];if(!t)throw he.log(`Can't find "empty" for ${e}`),new Error("Check for missing empties");return t};function Dd(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Td(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Dd(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Dd(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Ad=e=>!!(e.instantMatchAttempts&&e.instantMatchAttempts>0),xd=({previousViewModel:e,currentStep:t,locale:r,fingerprint:n,country:a})=>{const i=Nd(t);if(e)for(const t in i)e.hasOwnProperty(t)&&(i[t]=e[t]);return i&&(n&&(i.deviceFingerprintHash=n),r&&(i.localeChoice={value:r||"en-US",label:""}),a&&"country"in i&&void 0===i.country&&(i.country=a),a&&"countryChoice"in i&&void 0===i.countryChoice&&(i.countryChoice={value:a,label:""})),i},_d=function(){var e=gr((function*(e){o.e(772).then(o.bind(o,5372)).then((({ThreatMetrix:t})=>{if(void 0!==t&&t.hasOwnProperty("profile")&&"function"==typeof t.profile){const r="cnl2my47",n="content.sheerid.com";t.profile(n,r,e)}})).catch((()=>{}))}));return function(t){return e.apply(this,arguments)}}();var Od=o(2983),kd=o.n(Od);let Pd;const Rd=function(){var e=gr((function*(){return Mn().useFingerprinting?Pd?yr().resolve(Pd):kd().getPromise({}).then((e=>{const t=Cr()(e).call(e,(e=>e.value)),r=kd().x64hash128(t.join(""),31);return Pd=r,Pd})):yr().resolve(void 0)}));return function(){return e.apply(this,arguments)}}(),Fd={};let Ld=$()({},Fd);const Ud=e=>{e&&e.hasOwnProperty("optin")&&In({marketConsent:{enabled:"false"!==e.optin,required:!1,message:""}});const r=(e=>!(t()(e).length>50&&(he.error("Invalid number of metadata keys (max 50)","metadata keys"),1)))(e);if(r){const t=(e=>{const t={};for(const r in e){let n=r,a=e[r];a.length>io&&(he.warn(`Truncating metadata value '${e[r]}' for key '${n}' (max length 4096 characters).`),a=a.substring(0,io)),n.length>256&&(he.warn(`Truncating metadata key '${r}' (max length 256 characters).`),n=n.substring(0,256)),t[n]=a}return t})(e);$()(Ld,t),he.info("Added metadata: ",t),he.info("Full metadata: ",Ld)}else he.error("Metadata has not been updated. See previous error(s)")},Bd=()=>t()(Ld).length>0?ie(Ld):void 0,Vd="Verification";let zd;!function(e){e.TRUE="true",e.FALSE="false"}(zd||(zd={}));const jd=["sheerid.com"];let Hd;!function(e){e.verificationId="verificationId",e.programId="programId",e.jslibVersionActual="jslibVersionActual",e.testRequest="testRequest",e.testMode="testMode"}(Hd||(Hd={}));const $d=(e,t="")=>{window.gtag("event",Vd,{step:e,step_action:t})},qd=(e,t)=>{try{window.gtag("set","user_properties",{[e]:t})}catch(t){he.warn(`Failed to set ${e}`,t)}};function Wd(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Gd(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Wd(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Wd(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Yd=e=>function(){var t=gr((function*(t,r,n,a,i){const o={jslibVersion:window.sheerIdPubV||"",installType:ra(),installUrl:ea()||"",projectSha:window.sheerIdProjectSha||""};yield e({type:"IS_LOADING",isLoading:!0});try{const s=vd.fetchNewVerificationRequest(t,a,i,o);return Zd({dispatch:e,verificationResponsePromise:s,programId:t,segment:r,previousViewModel:n})}catch(e){he.error(e,"fetchNewVerificationRequest")}}));return function(e,r,n,a,i){return t.apply(this,arguments)}}(),Kd=e=>function(){var t=gr((function*(t,r,n,a,i=!0){i&&(yield e({type:"IS_LOADING",isLoading:!0}));try{const i=vd.fetchExistingVerificationRequest(r);return Zd({dispatch:e,verificationResponsePromise:i,programId:t,previousViewModel:a,previousVerificationResponse:n})}catch(e){he.error(e,"fetchExistingVerificationRequest")}}));return function(e,r,n,a){return t.apply(this,arguments)}}(),Zd=function(){var e=gr((function*({dispatch:e,verificationResponsePromise:t,programId:r,segment:n,previousViewModel:a,previousVerificationResponse:i}){try{const s=Rd();let l,u,c;try{l=yield t,he.info("verificationResponse received: ",l),c=Oa(a,l),u=yield vd.fetchProgramTheme(r,c)}catch(e){o=e.message,l={verificationId:null,currentStep:"error",errorIds:[o],segment:null,subSegment:null,locale:"en-US"},c=Oa(a,l),u=Ai()}const f=Ba(u),m=_a(c,f,l.segment),p=l.segment;let h=null;if(p===Ie.MILITARY){const e=oa(u.config.orgSearchUrl,"");h=yield e,he.info("orgList received: ",h)}let g=(e=>{if(e)return Ys(e,(e=>{for(let t=1;t<=3;t+=1)e[`file${t}`]=void 0}))})(a);const v=i?i.segment:n;((e,t)=>!!t&&!(!e||e===t))(v,p)&&(he.info("segment changed: ",v,p),yield nf(e)(l),g=void 0);const y=yield s,{currentStep:b}=l,E=qa(u),w=((e,t)=>e&&e.hasOwnProperty("country")&&e.country?e.country:t[0])(l,E);let S=xd({currentStep:b,fingerprint:y,locale:c,country:w,previousViewModel:g});S=((e,t)=>{if(e&&e.hasOwnProperty("organization")&&t.config.orgRemoteSource){const r=ie(e),{organization:n}=r;return n.source=t.config.orgRemoteSource,r}return e})(S,u),((e,t)=>!e||e.currentStep!==t.currentStep)(i,l)&&(Id("ON_VERIFICATION_STEP_CHANGE")(l),i&&"sso"===i.currentStep&&"sso"!==l.currentStep&&"pending"!==l.currentStep&&nl()),u.threatMetrixEnabled&&_d(l.verificationId),id(l.verificationId),S&&S.hasOwnProperty("metadata")&&(S.metadata=Gd(Gd({},S.metadata),(e=>{const t=xr(),r={};return d()(e).call(e,(e=>{t.get(e)&&(r[e]=t.get(e))})),r})(wd()(La(u)))));const M=yield m;return yr().all([e({verificationResponse:l,type:"VERIFICATION_RESPONSE"}),e({viewModel:S,type:"VIEW_MODEL"}),e({programTheme:u,type:"PROGRAM_THEME"}),e({messages:M,type:"SET_MESSAGES"}),e({type:"IS_LOADING",isLoading:!1}),e({orgList:h,type:"PRE_LOAD_ORGS"}),e({type:"FORM_VALIDATION_OPTIONS"}),e({type:"REQUIRED_METADATA_CHECK"})]).then((()=>{Id("ON_VERIFICATION_READY")(l),(e=>{try{delete Md[e]}catch(t){he.warn("Unable to remove hook",e)}})("ON_VERIFICATION_READY")}))}catch(e){throw he.error(e,"createFetchVerificationRequest"),e}var o}));return function(t){return e.apply(this,arguments)}}(),Jd=e=>function(){var t=gr((function*(t,r=!1){return yr().all([e({viewModel:t,type:"VIEW_MODEL",partial:r}),e({type:"FORM_VALIDATION_OPTIONS"})])}));return function(e){return t.apply(this,arguments)}}(),Xd=(e,t)=>function(){var r=gr((function*(r,n,a){e({type:"IS_LOADING",isLoading:!0});const i=Oa(r),o=yield vd.fetchProgramTheme(t,i),s=Ba(o);return Id("ON_FORM_LOCALE_CHANGE")(i),_a(i,s,a).then((t=>yr().all([e({messages:t,type:"SET_MESSAGES"}),e({viewModel:r,type:"VIEW_MODEL"}),e({type:"IS_LOADING",isLoading:!1})])))}));return function(e,t,n){return r.apply(this,arguments)}}(),Qd=e=>function(){var t=gr((function*(t){return e({programTheme:t,type:"PROGRAM_THEME"})}));return function(e){return t.apply(this,arguments)}}(),ef=e=>gr((function*(){return e({type:"RESET_STATE"})})),tf=e=>function(){var t=gr((function*(t){return e({fieldValidationErrors:t,type:"FIELD_VALIDATION_ERRORS"})}));return function(e){return t.apply(this,arguments)}}(),rf=e=>function(){var t=gr((function*(t,r,n){he.log(`submitStep(): submitting stepName ${t}, viewModel:`,r),window.scrollTo(0,0),he.info("Scrolling window to coordinates: 0, 0"),yield e({type:"IS_LOADING",isLoading:!0,loadingStep:t}),he.info(`submitting step ${t}`,r),(e=>{try{const{email:t}=e;t&&i()(jd).call(jd,(e=>Pr()(t).call(t,e)>-1)).length>0&&qd(Hd.testRequest,zd.TRUE)}catch(e){he.warn("Error setting testRequest dimension",e)}})(r);const a=yield vd.submitStep(t,n,r),o=((e,t)=>{const{currentStep:r}=e;let n;if(r===ve.success&&Id("ON_VERIFICATION_SUCCESS")(e),r===ve.collectActiveMilitaryPersonalInfo)n=Td(Td({},t),{},{dischargeDate:""}),delete n.dischargeDate;else if(r===ve.collectInactiveMilitaryPersonalInfo)n=t.dischargeDate?t:Td(Td({},t),{},{dischargeDate:""});else if(Ad(e))n=t;else{const{locale:r}=e;n=xd({locale:r,previousViewModel:t,currentStep:e.currentStep})}return n})(a,r),s=e({verificationResponse:a,type:"VERIFICATION_RESPONSE"}),l=e({viewModel:o,type:"VIEW_MODEL"}),u=e({type:"IS_LOADING",isLoading:!1});return Id("ON_VERIFICATION_STEP_CHANGE")(a),yr().all([s,l,u])}));return function(e,r,n){return t.apply(this,arguments)}}(),nf=e=>t=>yr().all([e({type:"VIEW_MODEL",viewModel:Nd(t.currentStep)}),e({type:"PREVIOUS_VIEW_MODEL",previousViewModel:void 0}),e({type:"FIELD_VALIDATION_ERRORS",fieldValidationErrors:Ti()})]);function af(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var of="function"==typeof Symbol&&Symbol.observable||"@@observable",sf=function(){return Math.random().toString(36).substring(7).split("").join(".")},lf={INIT:"@@redux/INIT"+sf(),REPLACE:"@@redux/REPLACE"+sf(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+sf()}};function uf(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function cf(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(af(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error(af(1));return r(cf)(e,t)}if("function"!=typeof e)throw new Error(af(2));var a=e,i=t,o=[],s=o,l=!1;function u(){s===o&&(s=o.slice())}function c(){if(l)throw new Error(af(3));return i}function d(e){if("function"!=typeof e)throw new Error(af(4));if(l)throw new Error(af(5));var t=!0;return u(),s.push(e),function(){if(t){if(l)throw new Error(af(6));t=!1,u();var r=s.indexOf(e);s.splice(r,1),o=null}}}function f(e){if(!uf(e))throw new Error(af(7));if(void 0===e.type)throw new Error(af(8));if(l)throw new Error(af(9));try{l=!0,i=a(i,e)}finally{l=!1}for(var t=o=s,r=0;r<t.length;r++){(0,t[r])()}return e}return f({type:lf.INIT}),(n={dispatch:f,subscribe:d,getState:c,replaceReducer:function(e){if("function"!=typeof e)throw new Error(af(10));a=e,f({type:lf.REPLACE})}})[of]=function(){var e,t=d;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(af(11));function r(){e.next&&e.next(c())}return r(),{unsubscribe:t(r)}}})[of]=function(){return this},e},n}function df(e,t){return function(){return t(e.apply(this,arguments))}}var ff=o(2022),mf=o.n(ff);function pf(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function hf(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=pf(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=pf(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const gf=ha()({programId:void 0,programTheme:void 0,isLoading:!0,isErrored:!1,viewModel:void 0,previousViewModel:void 0,previousVerificationResponse:void 0,verificationResponse:void 0,fieldValidationErrors:Ti(),messages:void 0,orgList:void 0,formValidationOptions:{}}),vf=()=>ie(gf),yf=(e=vf(),t)=>{var r;switch(t.type){case"PROGRAM_ID":return qd(Hd.programId,t.programId),hf(hf({},e),{},{programId:t.programId});case"VERIFICATION_RESPONSE":let n;return n=(!e.verificationResponse||e.verificationResponse.currentStep!==ve.collectMilitaryStatus&&e.verificationResponse.currentStep!==ve.sso&&e.verificationResponse.currentStep!==ve.docUpload)&&e.previousVerificationResponse?e.previousVerificationResponse:e.verificationResponse,(e=>{try{var t;const r=e.errorIds&&X()(e.errorIds)?va()(t=e.errorIds).call(t).join(","):void 0;$d(e.currentStep,r)}catch(e){he.warn("Failed recordVerificationResponse event",e)}})(t.verificationResponse),hf(hf({},e),{},{previousVerificationResponse:n,previousViewModel:e.viewModel,verificationResponse:t.verificationResponse});case"SET_MESSAGES":return hf(hf({},e),{},{messages:t.messages});case"FIELD_VALIDATION_ERRORS":return hf(hf({},e),{},{fieldValidationErrors:t.fieldValidationErrors});case"VIEW_MODEL":const a=hf({},e);if(t.viewModel&&(t.partial?a.viewModel=se({},e.viewModel,t.viewModel):a.viewModel=hf({},t.viewModel)),t.viewModel&&t.viewModel.metadata){Ud(t.viewModel.metadata);const e=Bd();a.viewModel.metadata=e}return((e,t)=>{try{t.verificationResponse.currentStep===ve.docUpload&&void 0===e.viewModel.file1&&void 0!==t.viewModel.file1&&$d(ve.docUpload,"addFiles")}catch(e){he.warn("Failed addFiles event",e)}})(e,a),a;case"PRE_LOAD_ORGS":return hf(hf({},e),{},{orgList:t.orgList});case"PREVIOUS_VIEW_MODEL":return hf(hf({},e),{},{previousViewModel:t.previousViewModel});case"PROGRAM_THEME":return qd(Hd.testMode,t.programTheme.isTestMode?zd.TRUE:zd.FALSE),hf(hf({},e),{},{programTheme:t.programTheme});case"FORM_VALIDATION_OPTIONS":return hf(hf({},e),{},{formValidationOptions:{maxAge:e.verificationResponse.maxAge||e.programTheme.config.maxAge,minAge:e.verificationResponse.minAge||e.programTheme.config.minAge,smsLoopEnabled:e.programTheme.smsLoopEnabled,strictMilitaryValidationEnabled:e.programTheme.strictMilitaryValidationEnabled,currentStep:e.verificationResponse.currentStep,viewModel:e.viewModel}});case"REQUIRED_METADATA_CHECK":if(!$i()(be).call(be,e.verificationResponse.currentStep))return e;const i=La(e.programTheme),o=Bd();return hf(hf({},e),{},{overrideStep:i.enabled&&!mf()(r=i.requiredKeys||[]).call(r,(e=>o.hasOwnProperty(e)))?"missingRequiredMetadata":void 0});case"IS_LOADING":return hf(hf({},e),{},{isLoading:t.isLoading,loadingStep:t.isLoading?t.loadingStep:void 0});case"IS_ERRORED":return hf(hf({},e),{},{isErrored:t.isErrored});case"RESET_STATE":return hf(hf({},ie(vf())),{},{programId:e.programId});case"FORCE_UPDATE":return ie(e);default:return e}};let bf;const Ef=()=>(bf||(bf=cf(yf,window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__()),he.init(bf)),bf),wf=Ef(),Sf=(e,t={partial:!0})=>{const r=wf.getState(),n=()=>{const r=ie(e);he.info("Setting viewModel",r),Jd(wf.dispatch)(r,t.partial)},a=oe((()=>e.localeChoice.value));a&&In({locale:a}),r.isLoading?Cd({name:"ON_VERIFICATION_READY",callback:()=>{n()}}):n()};var Mf=o(6937),Cf=o.n(Mf);function If(e,t){return If=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},If(e,t)}function Nf(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,If(e,t)}var Df=q.createContext(null);var Tf=function(e){function t(t){var r;r=e.call(this,t)||this;var n=t.store;return r.state={storeState:n.getState(),store:n},r}Nf(t,e);var r=t.prototype;return r.componentDidMount=function(){this._isMounted=!0,this.subscribe()},r.componentWillUnmount=function(){this.unsubscribe&&this.unsubscribe(),this._isMounted=!1},r.componentDidUpdate=function(e){this.props.store!==e.store&&(this.unsubscribe&&this.unsubscribe(),this.subscribe())},r.subscribe=function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){var r=t.getState();e._isMounted&&e.setState((function(e){return e.storeState===r?null:{storeState:r}}))}));var r=t.getState();r!==this.state.storeState&&this.setState({storeState:r})},r.render=function(){var e=this.props.context||Df;return q.createElement(e.Provider,{value:this.state},this.props.children)},t}(q.Component);Tf.propTypes={store:$e().shape({subscribe:$e().func.isRequired,dispatch:$e().func.isRequired,getState:$e().func.isRequired}),context:$e().object,children:$e().any};const Af=Tf;function xf(){return xf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xf.apply(this,arguments)}function _f(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}var Of=o(5996);function kf(e,t){void 0===t&&(t={});var r=t,n=r.getDisplayName,a=void 0===n?function(e){return"ConnectAdvanced("+e+")"}:n,i=r.methodName,o=void 0===i?"connectAdvanced":i,s=r.renderCountProp,l=void 0===s?void 0:s,u=r.shouldHandleStateChanges,c=void 0===u||u,d=r.storeKey,f=void 0===d?"store":d,m=r.withRef,p=void 0!==m&&m,h=r.forwardRef,g=void 0!==h&&h,v=r.context,y=void 0===v?Df:v,b=_f(r,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);Ye()(void 0===l,"renderCountProp is removed. render counting is built into the latest React dev tools profiling extension"),Ye()(!p,"withRef is removed. To access the wrapped instance, use a ref on the connected component");var E="To use a custom Redux store for specific components, create a custom React context with React.createContext(), and pass the context object to React Redux's Provider and specific components like: <Provider context={MyContext}><ConnectedComponent context={MyContext} /></Provider>. You may also pass a {context : MyContext} option to connect";Ye()("store"===f,"storeKey has been removed and does not do anything. "+E);var w=y;return function(t){var r=t.displayName||t.name||"Component",n=a(r),i=xf({},b,{getDisplayName:a,methodName:o,renderCountProp:l,shouldHandleStateChanges:c,storeKey:f,displayName:n,wrappedComponentName:r,WrappedComponent:t}),s=b.pure,u=q.Component;s&&(u=q.PureComponent);var d=function(r){function a(t){var n,a,i,o,l,u,c,d,m,p,h;return n=r.call(this,t)||this,Ye()(g?!t.wrapperProps[f]:!t[f],"Passing redux store in props has been removed and does not do anything. "+E),n.selectDerivedProps=function(t,r,n,d){if(s&&a===r&&i===t)return o;n===l&&u===d||(l=n,u=d,c=e(n.dispatch,d)),a=r,i=t;var f=c(t,r);return o=f},n.selectChildElement=function(e,t,r){return t===d&&r===m&&h===e||(d=t,m=r,h=e,p=q.createElement(e,xf({},t,{ref:r}))),p},n.indirectRenderWrappedComponent=n.indirectRenderWrappedComponent.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n)),n}Nf(a,r);var o=a.prototype;return o.indirectRenderWrappedComponent=function(e){return this.renderWrappedComponent(e)},o.renderWrappedComponent=function(e){Ye()(e,'Could not find "store" in the context of "'+n+'". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to '+n+" in connect options.");var r,a=e.storeState,o=e.store,s=this.props;g&&(s=this.props.wrapperProps,r=this.props.forwardedRef);var l=this.selectDerivedProps(a,s,o,i);return this.selectChildElement(t,l,r)},o.render=function(){var e=this.props.context&&this.props.context.Consumer&&(0,Of.isContextConsumer)(q.createElement(this.props.context.Consumer,null))?this.props.context:w;return q.createElement(e.Consumer,null,this.indirectRenderWrappedComponent)},a}(u);if(d.WrappedComponent=t,d.displayName=n,g){var m=q.forwardRef((function(e,t){return q.createElement(d,{wrapperProps:e,forwardedRef:t})}));return m.displayName=n,m.WrappedComponent=t,We()(m,t)}return We()(d,t)}}var Pf=Object.prototype.hasOwnProperty;function Rf(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function Ff(e,t){if(Rf(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var a=0;a<r.length;a++)if(!Pf.call(t,r[a])||!Rf(e[r[a]],t[r[a]]))return!1;return!0}function Lf(e){return function(t,r){var n=e(t,r);function a(){return n}return a.dependsOnOwnProps=!1,a}}function Uf(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function Bf(e,t){return function(t,r){r.displayName;var n=function(e,t){return n.dependsOnOwnProps?n.mapToProps(e,t):n.mapToProps(e)};return n.dependsOnOwnProps=!0,n.mapToProps=function(t,r){n.mapToProps=e,n.dependsOnOwnProps=Uf(e);var a=n(t,r);return"function"==typeof a&&(n.mapToProps=a,n.dependsOnOwnProps=Uf(a),a=n(t,r)),a},n}}const Vf=[function(e){return"function"==typeof e?Bf(e):void 0},function(e){return e?void 0:Lf((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?Lf((function(t){return function(e,t){if("function"==typeof e)return df(e,t);if("object"!=typeof e||null===e)throw new Error(af(16));var r={};for(var n in e){var a=e[n];"function"==typeof a&&(r[n]=df(a,t))}return r}(e,t)})):void 0}];const zf=[function(e){return"function"==typeof e?Bf(e):void 0},function(e){return e?void 0:Lf((function(){return{}}))}];function jf(e,t,r){return xf({},r,e,t)}const Hf=[function(e){return"function"==typeof e?function(e){return function(t,r){r.displayName;var n,a=r.pure,i=r.areMergedPropsEqual,o=!1;return function(t,r,s){var l=e(t,r,s);return o?a&&i(l,n)||(n=l):(o=!0,n=l),n}}}(e):void 0},function(e){return e?void 0:function(){return jf}}];function $f(e,t,r,n){return function(a,i){return r(e(a,i),t(n,i),i)}}function qf(e,t,r,n,a){var i,o,s,l,u,c=a.areStatesEqual,d=a.areOwnPropsEqual,f=a.areStatePropsEqual,m=!1;function p(a,m){var p,h,g=!d(m,o),v=!c(a,i);return i=a,o=m,g&&v?(s=e(i,o),t.dependsOnOwnProps&&(l=t(n,o)),u=r(s,l,o)):g?(e.dependsOnOwnProps&&(s=e(i,o)),t.dependsOnOwnProps&&(l=t(n,o)),u=r(s,l,o)):v?(p=e(i,o),h=!f(p,s),s=p,h&&(u=r(s,l,o)),u):u}return function(a,c){return m?p(a,c):(s=e(i=a,o=c),l=t(n,o),u=r(s,l,o),m=!0,u)}}function Wf(e,t){var r=t.initMapStateToProps,n=t.initMapDispatchToProps,a=t.initMergeProps,i=_f(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),o=r(e,i),s=n(e,i),l=a(e,i);return(i.pure?qf:$f)(o,s,l,e,i)}function Gf(e,t,r){for(var n=t.length-1;n>=0;n--){var a=t[n](e);if(a)return a}return function(t,n){throw new Error("Invalid value of type "+typeof e+" for "+r+" argument when connecting component "+n.wrappedComponentName+".")}}function Yf(e,t){return e===t}const Kf=(Xf=(Jf=void 0===Zf?{}:Zf).connectHOC,Qf=void 0===Xf?kf:Xf,em=Jf.mapStateToPropsFactories,tm=void 0===em?zf:em,rm=Jf.mapDispatchToPropsFactories,nm=void 0===rm?Vf:rm,am=Jf.mergePropsFactories,im=void 0===am?Hf:am,om=Jf.selectorFactory,sm=void 0===om?Wf:om,function(e,t,r,n){void 0===n&&(n={});var a=n,i=a.pure,o=void 0===i||i,s=a.areStatesEqual,l=void 0===s?Yf:s,u=a.areOwnPropsEqual,c=void 0===u?Ff:u,d=a.areStatePropsEqual,f=void 0===d?Ff:d,m=a.areMergedPropsEqual,p=void 0===m?Ff:m,h=_f(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),g=Gf(e,tm,"mapStateToProps"),v=Gf(t,nm,"mapDispatchToProps"),y=Gf(r,im,"mergeProps");return Qf(sm,xf({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:g,initMapDispatchToProps:v,initMergeProps:y,pure:o,areStatesEqual:l,areOwnPropsEqual:c,areStatePropsEqual:f,areMergedPropsEqual:p},h))});var Zf,Jf,Xf,Qf,em,tm,rm,nm,am,im,om,sm,lm=o(7373),um=o.n(lm);const cm=({id:e="new",isErrored:t,onChange:r,value:n,ariaLabelledby:a})=>{const i=a?{"aria-labelledby":a}:{},o=(0,q.useRef)(null),s=()=>{o.current&&r(o.current.checked)};return(0,q.useEffect)((()=>{Qs("optIn",o.current)})),q.createElement("div",{className:"sid-checkbox"},q.createElement("input",{className:"sid-checkbox__input",id:`sid-opt-in__${e}`,name:"sid-opt-in",type:"checkbox",checked:n,ref:o,onChange:e=>r(e.target.checked),"aria-hidden":!0}),q.createElement("span",Ri({},i,{className:"sid-checkbox__input-like "+(t?"sid-checkbox__input-like--error":""),onClick:s,onKeyUp:s,role:"checkbox","aria-checked":n,tabIndex:0,"data-testid":"stylable-checkbox-input"})))},dm=({isErrored:e,isRequired:t,onChange:r,value:n,verificationService:a})=>{const i="marketConsentValue",o=q.useCallback((e=>{if(t&&!e)return"marketConsentRequired"}),[t]),s=(a&&a.programTheme&&Ua(a.programTheme)||{}).message||"Yes, send me {company} marketing communications about exclusive sales, special offers, latest products and more";return q.useEffect((()=>{Br(i,o)}),[i,o]),q.useEffect((()=>{Br(i,o)}),[i,o]),q.createElement("div",{className:"sid-field sid-opt-in"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement("div",{className:"sid-l-position"},q.createElement("label",{htmlFor:"sid-opt-in__optIn"},q.createElement(cm,{id:"optIn",isErrored:e,onChange:r,value:n}),q.createElement("div",{className:"sid-field__label sid-checkbox__label"},a?q.createElement(or,{id:"companyName",defaultMessage:"{Company}"},(e=>q.createElement(or,{id:"optIn",values:{company:e},defaultMessage:s}))):q.createElement(or,{id:"optIn",defaultMessage:s})),e?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidOptIn",defaultMessage:"Must be selected to continue"})):null)))},fm=({verificationService:e,isErrored:t,onChange:r,viewModel:n})=>{const{programTheme:a}=e,i=Ua(a);return i.enabled?q.createElement(dm,{isErrored:t,isRequired:i.required,verificationService:e,value:n.metadata&&n.metadata.marketConsentValue||!1,onChange:e=>r(e)}):null},mm=({verificationService:e,fallbackLogo:t})=>{const r=za(e.programTheme);return r?q.createElement("div",{className:"sid-logo sid-l-space-top-md"},q.createElement(or,{id:"companyName",defaultMessage:"{Company}"},(e=>q.createElement("img",{className:"sid-logo__img",alt:`${e} logo`,src:r})))):t||null};var pm=o(8714),hm=o.n(pm);const gm=Ft((({value:e,isErrored:t,onChange:r,explanation:n,onCarrierConsentChange:a,intl:i,isRequired:o=!1,onKeyDown:s,placeholder:l="",displaySmsConsent:u=!0,requireCarrierConsent:c=!1,carrierConsent:d=!1,internationalSupport:f=!1,selectedCountryCode:m="us"})=>{const p=(0,q.useRef)(null);return(0,q.useEffect)((()=>{Qs("phoneNumber",p.current)})),q.createElement("div",{className:"sid-field sid-phone-number"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"phoneNumber",defaultMessage:"Mobile Number"}),htmlForLabel:"sid-phone-number",id:"sid-phone-number-label",displayClasses:`sid-field__label-with-explanation${l&&"sid-h-screen-reader-only"}`,isRequired:o},n||(o?"":q.createElement(or,{id:"phoneNumberExplanation",defaultMessage:"Optional - get text notifications of status updates"}))),q.createElement(q.Fragment,null,q.createElement(hm(),{country:m.toLowerCase(),containerClass:"react-tel-input sid-phone-number__wrapper",inputClass:`sid-text-input sid-phone-number__field sid-phone-number__field--intl ${o?"sid-text-input--required":""} sid-l-full-width ${t?"sid-text-input--error":""}`,autoFormat:!1,value:e,onChange:e=>r(`+${e}`),placeholder:l,ref:p,inputProps:{id:"sid-phone-number",name:"sid-phone-number",onKeyDown:e=>s?s(e):void 0},"aria-labelledby":"sid-phone-number-label",countryCodeEditable:!1})),t?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidPhoneNumber",defaultMessage:"Invalid mobile number"})):null,u&&q.createElement("div",{className:"sid-h-small-text sid-l-space-top-md sid-sms-consent"},q.createElement(or,{id:"phoneNumberWarnMessage1",defaultMessage:"By submitting this form with a mobile number, you consent to receive SMS/text messages for verification purposes. Standard phone carrier text messaging (SMS) and data rates may apply."})),c&&q.createElement("div",{className:"sid-l-position sid-carrier-disclosure-consent"},q.createElement("div",{className:"sid-h-small-text sid-l-space-top-md"},q.createElement("label",{htmlFor:"sid-opt-in__carrier-consent"},q.createElement(cm,{id:"carrier-consent",isErrored:t,value:d,onChange:e=>a(e)}),q.createElement("div",{className:"sid-field__label sid-checkbox__label"},q.createElement(or,{id:"phoneNumberWarnMessage2",defaultMessage:"You authorize your mobile service provider to disclose your mobile number and certain account information to SheerID, solely for identity verification and to avoid fraud."}))))))}));var vm=o(6777);const ym=({getItemProps:e,highlightedIndex:t,organizations:r,itemToString:n,children:a,maxItemsToDisplay:o=26})=>{var s;const l=q.Children.count(a),u=42*(r.length+l);return q.createElement("div",{className:"sid-organization-list__menu",tabIndex:-1},q.createElement("div",{style:{height:Math.min(u,280)}},Cr()(s=i()(r).call(r,((e,t)=>t<=o-1))).call(s,((r,a)=>((r,a)=>q.createElement("div",Ri({className:"sid-organization-list__item "+(t===a?"sid-organization-list__item--highlighted":""),key:a},e({index:a,item:r})),n(r)))(r,a))),a))};function bm(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Em(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=bm(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=bm(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const wm=({urlAddSchoolForm:e,programId:t,locale:r=tn})=>q.createElement(bd,{className:"sid-organization-list__item sid-organization-list__request-school sid-link",href:`${e}?pid=${t}&locale=${r}`},q.createElement(or,{id:"requestSchool",defaultMessage:"Don't see your school? Request to have it added"}));class Sm extends q.Component{constructor(e){var t;super(e),t=this,b(this,"mounted",!1),b(this,"fetch",gr((function*(){const{orgSearchUrl:e,searchValue:r,countryCode:n,orgSearchTags:a}=t.props;t.mounted&&(yield oa(e,r,n,a).then((e=>{if(e){const{onLoaded:r}=t.props;r(e),t.setState({organizations:e,loading:!1})}})))}))),b(this,"debouncedFetch",(0,vm.debounce)(this.fetch,200)),this.state={isErrored:null,loading:!1,organizations:null}}reset(e){this.setState(Em(Em({},Sm.initialState),e))}componentDidMount(){const{minimumSearchValueLength:e,searchValue:t}=this.props;this.mounted=!0,t.length>=e?(this.reset({loading:!0}),this.debouncedFetch()):he.info(`No organizations fetched. Search term "${t}" is less than ${e} characters.`)}componentDidUpdate(e){const{minimumSearchValueLength:t,searchValue:r}=this.props;e.searchValue!==r&&(r.length>=t?(this.reset({loading:!0}),this.debouncedFetch()):(this.reset({organizations:null,loading:!1}),he.info(`No organizations fetched. Search term "${r}" is less than ${t} characters.`)))}componentWillUnmount(){this.mounted=!1}render(){const{isErrored:e,loading:t,organizations:r}=this.state,{getItemProps:n,getMenuProps:a,highlightedIndex:i,itemToString:o,searchValue:s,programId:l,locale:u,urlAddSchoolForm:c,openOrgSearchEnabled:d}=this.props;return t?q.createElement("div",{className:"sid-organization-list__menu"},q.createElement("div",{className:"sid-organization-list__message"},q.createElement(or,{id:"loading",defaultMessage:"Loading..."}))):e?q.createElement("div",{className:"sid-organization-list__menu"},q.createElement("div",{className:"sid-organization-list__message"},q.createElement(or,{id:"errorId.unknownError",defaultMessage:"An unknown error occurred"}))):r&&r.length>0?q.createElement(ym,{getItemProps:n,getMenuProps:a,highlightedIndex:i,itemToString:o,organizations:r},s&&!d&&c&&(!r||r.length<26)&&q.createElement(wm,{urlAddSchoolForm:c,programId:l,locale:u})):!s||d||!c||r&&0!==r.length?null:q.createElement("div",{className:"sid-organization-list__menu"},q.createElement(wm,{urlAddSchoolForm:c,programId:l,locale:u}))}}b(Sm,"initialState",{isErrored:null,loading:!1,organizations:null});const Mm=Sm,Cm=({onChange:e,programId:t,className:r,countryCode:n,disabled:a,minimumSearchValueLength:i,placeholder:o,value:s,inputHtmlId:l,openOrgSearchEnabled:u,orgSearchUrl:c,orgSearchTags:d,isRequired:f,locale:m,urlAddSchoolForm:p})=>{const[h,g]=(0,q.useState)(""),[v,y]=(0,q.useState)([]);Jr(e);const b=e=>e?e.name:"",{isOpen:E,highlightedIndex:w,getMenuProps:S,getItemProps:M,getInputProps:C,getComboboxProps:I}=Xu({itemToString:b,id:l,items:v,onStateChange:t=>((e,t,r)=>{const n=e.hasOwnProperty("inputValue")&&e.type===Xu.stateChangeTypes.InputChange;if(e.type===Xu.stateChangeTypes.FunctionSelectItem){const{selectedItem:r}=e;t(r)}else n?t({id:0,name:e.inputValue}):e.type===Xu.stateChangeTypes.InputBlur&&(r||t({id:void 0,name:""}))})(t,e,u),onInputValueChange:({inputValue:e})=>{g(e)},selectedItem:s,onSelectedItemChange:({selectedItem:t})=>{e(t)}}),N={"aria-labelledby":`${l}-label`},D=(0,q.useRef)(null);return(0,q.useEffect)((()=>{Qs("organization",D.current)})),q.createElement(q.Fragment,null,q.createElement("div",Ri({className:"sid-organization-list"},I(N)),q.createElement("input",Ri({},C({ref:D}),{className:`sid-l-full-width sid-hidden-placeholder sid-text-input ${r}`,disabled:a,id:l,placeholder:o,"aria-required":f})),q.createElement("div",S(),E?q.createElement(Mm,{countryCode:n,getItemProps:M,highlightedIndex:w,itemToString:b,minimumSearchValueLength:i,onLoaded:e=>y(e),programId:t,searchValue:h,orgSearchUrl:c,orgSearchTags:d,locale:m,urlAddSchoolForm:p,openOrgSearchEnabled:u}):null)))},Im=Ft((({onChange:e,value:t,isErrored:r,verificationService:n,intl:a,placeholder:i="",isRequired:o=!0})=>{var s;const{programId:l,viewModel:u,verificationResponse:c}=n,d=Oa(u,c),f=j()(s=Mn().urlAddSchoolForm||"").call(s),m=oe((()=>n.viewModel.countryChoice.value)),p=Za(n.programTheme,m);return q.createElement("div",{className:"sid-field sid-college-name-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"schoolName",defaultMessage:"University / College name"}),htmlForLabel:"sid-college-name",id:"sid-college-name-label",displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(Cm,{className:r?"sid-text-input--error":"",countryCode:m,minimumSearchValueLength:Mn().minimumOrganizationSearchLength,onChange:t=>e(t),placeholder:i||a.formatHTMLMessage({id:"schoolNamePlaceholder",defaultMessage:"University / College name"}),programId:l,value:t,inputHtmlId:"sid-college-name",openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl,orgSearchTags:p,locale:d,urlAddSchoolForm:f,isRequired:o}),r?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)})),Nm=e=>{if(e)return e<10?`0${e}`:e.toString()};const Dm=Ft((({onChange:e,intl:t,isErrored:r,isRequired:n=!0,value:a="2000-01-01",errorMsg:i,label:o,fieldName:s,fieldId:l,mode:u="date",locale:c=tn})=>{const d=`sid-${l}`,f=a.split("-"),m=Wc()(f[0],10)||void 0,p=Wc()(f[1],10)||void 0,h="month"===u?1:Wc()(f[2],10)||void 0,g=(new Date).getFullYear(),v=[{value:"1",label:t.formatHTMLMessage({id:"dateTime.january",defaultMessage:"January"})},{value:"2",label:t.formatHTMLMessage({id:"dateTime.february",defaultMessage:"February"})},{value:"3",label:t.formatHTMLMessage({id:"dateTime.march",defaultMessage:"March"})},{value:"4",label:t.formatHTMLMessage({id:"dateTime.april",defaultMessage:"April"})},{value:"5",label:t.formatHTMLMessage({id:"dateTime.may",defaultMessage:"May"})},{value:"6",label:t.formatHTMLMessage({id:"dateTime.june",defaultMessage:"June"})},{value:"7",label:t.formatHTMLMessage({id:"dateTime.july",defaultMessage:"July"})},{value:"8",label:t.formatHTMLMessage({id:"dateTime.august",defaultMessage:"August"})},{value:"9",label:t.formatHTMLMessage({id:"dateTime.september",defaultMessage:"September"})},{value:"10",label:t.formatHTMLMessage({id:"dateTime.october",defaultMessage:"October"})},{value:"11",label:t.formatHTMLMessage({id:"dateTime.november",defaultMessage:"November"})},{value:"12",label:t.formatHTMLMessage({id:"dateTime.december",defaultMessage:"December"})}],y=(e,t,r)=>!(r&&""!==r||t&&""!==t||e&&""!==e),b=t=>{if(y(m,t,h))return void e("");""!==t&&null!==t||e(`${m}--${h}`);const r=Wc()(t,10);"number"==typeof r&&r>=1&&r<=12?e(`${m}-${Nm(t)}-${Nm(h)}`):he.warn(`Value '${r}' is an invalid month`)},E=()=>{e(h||p||m?`${m}-${Nm(p)}-${Nm(h)}`:"")},w=`${d}__month`,S=`${d}-label`,M=q.createElement("div",{className:"sid-field-error"},i),C=q.createElement(rc,{className:`${d}__month sid-date__month`,fieldId:s,inputId:w,fieldLabelId:S,isErrored:r,options:v,onChange:e=>{b(e?e.value:null)},placeholder:t.formatHTMLMessage({id:"dateTime.month",defaultMessage:"Month"}),suppressPlaceholder:!1,value:p?v[p-1]:void 0,isRequired:n,buttonRef:"inputSelectButtonBirthDate"}),I="date"===u&&q.createElement(Sl,{className:`${d}__day sid-date__day sid-text-input sid-text-input--required ${r?"sid-text-input--error":""}`,id:`${l}-day`,isErrored:r,min:1,max:31,name:`${d}-day`,onChange:t=>(t=>{if(y(m,p,t))return void e("");""===t&&e(`${m}-${p}-`);const r=Wc()(t,10);"number"==typeof r&&r>=1&&r<=31?e(`${m}-${Nm(p)}-${Nm(r)}`):he.warn(`Value '${r}' is an invalid day`)})(t.target.value),onBlur:E,pattern:"\\d*",placeholder:t.formatHTMLMessage({id:"dateTime.day",defaultMessage:"Day"}),hidePlaceholder:!1,"aria-label":t.formatHTMLMessage({id:"dateTime.day",defaultMessage:"Day"}),"aria-labelledby":d,"aria-required":n,refId:`${s}Day`,type:"text",value:h||""});return q.createElement("div",{className:`sid-field ${d}`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:o,htmlForLabel:w,id:S,displayClasses:"sid-used-for-verification-purposes-label sid-field__label-with-explanation",isRequired:n},q.createElement(or,{id:"verificationPurposesOnly",defaultMessage:"Used for verification purposes only"})),q.createElement("div",{className:`${d}__inputs sid-date__inputs`},function(e){const t=new Date(2222,0,3);try{var r;const n=new Intl.DateTimeFormat(e).format(t);return Z()(r=n.replace("0","")).call(r,3..toString())}catch(e){return!1}}(c)?q.createElement(q.Fragment,null,I,C):q.createElement(q.Fragment,null,C,I),q.createElement(Sl,{className:`${d}__year sid-date__year sid-text-input sid-text-input--required ${r?"sid-text-input--error":""}`,id:`${l}-year`,name:`${d}-year`,type:"text",isErrored:r,min:1900,max:g,value:m||"",pattern:"\\d*",placeholder:t.formatHTMLMessage({id:"dateTime.year",defaultMessage:"Year"}),hidePlaceholder:!1,"aria-label":t.formatHTMLMessage({id:"dateTime.year",defaultMessage:"Year"}),"aria-labelledby":d,"aria-required":n,refId:`${s}Year`,onChange:t=>(t=>{if(y(t,p,h))return void e("");""===t&&e(`-${p}-${h}`);const r=Wc()(t,10);"number"==typeof r&&r>=1&&r<=g?e(`${r}-${Nm(p)}-${Nm(h)}`):he.warn(`Value '${r}' is an invalid year`)})(t.target.value),onBlur:E})),r?M:null)})),Tm=({onChange:e,isErrored:t,isRequired:r=!0,errorId:n,value:a="2000-01-01",locale:i=tn})=>q.createElement(Dm,{value:a,label:q.createElement(or,{id:"birthDate",defaultMessage:"Date of birth"}),onChange:e,fieldId:"birthdate",fieldName:"birthDate",isErrored:t,isRequired:r,locale:i,errorMsg:n?q.createElement(or,{id:`errorId.${n}`,defaultMessage:"Invalid birth date"}):q.createElement(or,{id:"errorId.invalidBirthDate",defaultMessage:"Invalid birth date"})});var Am=o(249),xm=o.n(Am),_m=o(4649),Om=o.n(_m);const km=e=>t=>{const r=function(e,t){var r;if("string"!=typeof e)return;const n=(new DOMParser).parseFromString(e,"text/html");return d()(r=xm()(t)).call(r,(([e,t])=>{const r=n.querySelector(e);if(!r)return;let a;const i=r.innerHTML;if(a="function"==typeof t?t(i):t,a){if("string"==typeof a)r.insertAdjacentHTML("afterend",a);else{const e=Om().renderToStaticMarkup(q.createElement(q.Fragment,null,a));r.insertAdjacentHTML("afterend",e)}r.parentElement.removeChild(r)}})),n.body.innerHTML}(t,e);return q.createElement("span",{dangerouslySetInnerHTML:{__html:r}})},Pm=({verificationService:e,linkText:t})=>{const{segment:r}=e.verificationResponse,{programId:n,programTheme:a}=e;if(r){const r=Ka(a,0,n,Oa(e.viewModel));return q.createElement(bd,{className:"sid-faq sid-link",href:r},t||q.createElement(or,{id:"getHelp",defaultMessage:"Get help"}))}return null},Rm=({verificationService:e,children:t})=>{const{viewModel:r}=e,n=oe((()=>r.countryChoice.value),void 0),a=Oa(r),i=q.useRef({}),o=/(<div[^>]+>|<div>|<\/div>)|(<span[^>]+>|<span>|<\/span>)|(<p[^>]+>|<p>|<\/p>)/gm;return q.useEffect((()=>{if(!i.current)return;const e=i.current.innerHTML.replace(o,"");Sf({metadata:{submissionOptIn:e}})}),[i,a]),q.createElement("div",{className:"sid-footer sid-h-small-text sid-l-space-top-md"},!t&&q.createElement("div",{className:"sid-footer__shield"},q.createElement("img",{title:"Powered by SheerID",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/shield-check.svg"})),q.createElement("div",null,q.createElement("div",{className:"sid-footer__one",ref:i},t||q.createElement("div",{className:"sid-footer__text",tabIndex:0},q.createElement(or,{id:"footerText",defaultMessage:"By submitting the personal information above, I acknowledge that my personal information is being collected under the <privacyPolicy>privacy policy</privacyPolicy> of the business from which I am seeking a discount, and I understand that my personal information will be shared with SheerID as a processor/third-party service provider in order for SheerID to confirm my eligibility for a special offer. <aboutSheerID>More about SheerID</aboutSheerID>."},km({privacyPolicy:t=>{const r=ja(e.programTheme);return r?q.createElement(bd,{className:"sid-privacy-policy sid-link",href:r},t):t},aboutSheerID:t=>q.createElement(Pm,{verificationService:e,linkText:t})})),"string"==typeof n&&n.length>0&&"US"!==n?q.createElement(or,{id:"informationTransferredToUS",defaultMessage:"Your information will be transferred to the United States and will be treated according to SheerID’s privacy policy."}):null))))};const Fm=(e,t)=>{const r=e===ve.docUpload?"docUpload":"default",n={student:{default:vc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:vc.step.docUpload.howDoesVerifyingWorkDetails},teacher:{default:yc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:yc.step.docUpload.howDoesVerifyingWorkDetails},member:{default:bc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:bc.step.docUpload.howDoesVerifyingWorkDetails},military:{default:pc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:pc.step.docUpload.howDoesVerifyingWorkDetails},senior:{default:hc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:hc.step.docUpload.howDoesVerifyingWorkDetails},firstResponder:{default:mc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:mc.step.docUpload.howDoesVerifyingWorkDetails},medical:{default:Ec.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:Ec.step.docUpload.howDoesVerifyingWorkDetails},age:{default:gc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:gc.step.docUpload.howDoesVerifyingWorkDetails},employment:{default:wc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:wc.step.personalInfo.howDoesVerifyingWorkDetails},identity:{default:Mc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:Mc.step.docUpload.howDoesVerifyingWorkDetails},licensedProfessional:{default:Cc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:Cc.step.docUpload.howDoesVerifyingWorkDetails},recentMover:{default:Ic.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:Ic.step.docUpload.howDoesVerifyingWorkDetails},lowIncome:{default:Nc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:Nc.step.docUpload.howDoesVerifyingWorkDetails}};qr(t);return oe((()=>n[t][r]),"-")},Lm=({verificationService:e,initialVisibility:t=!1})=>{const[r,n]=(0,q.useState)(t),{segment:a}=e.verificationResponse,i=e.verificationResponse.currentStep,o=`${Fm(i,a)}`;let s;const l=()=>{n(!0),clearTimeout(s)},u=()=>{s=cr()((()=>n(!1)))};return q.createElement("div",{className:"sid-how-verify-works",onMouseEnter:l,onMouseLeave:u},q.createElement("a",{href:"#",className:"sid-link sid-how-does-verifying-work-hoverable","aria-expanded":r,onClick:()=>r?u():l(),"aria-describedby":r?"how-does-verifying-work-tooltip":null,role:"button"},q.createElement(or,{id:"howDoesVerifyingWork",defaultMessage:"How does verifying work?"})),r?q.createElement("div",{className:"sid-how-verify-works__container"},q.createElement("div",{className:"sid-how-verify-works__caret"}),q.createElement("div",{className:"sid-how-verify-works__tooltip","aria-live":"polite",role:"tooltip",id:"how-does-verifying-work"},q.createElement(or,{id:"companyName",defaultMessage:"{Company}"},(e=>q.createElement(or,{id:`step.${i===ve.docUpload?"docUpload":"personalInfo"}.howDoesVerifyingWorkDetails`,defaultMessage:o,values:{companyName:e}})))," ",q.createElement(Pm,{verificationService:e}))):null)},Um=Ft((({verificationService:e,viewModelDraftDecorator:t,intl:r,viewModel:n,nextFocusField:a})=>{n&&he.warn("viewModel prop is deprecated, use verificationService.viewModel instead"),a&&he.warn("nextFocusField prop is deprecated");const i=oe((()=>n.localeChoice.value),"en-US"),o=((e,t,r)=>{var n;return va()(n=hl(e,t)).call(n,((e,t)=>Intl.Collator(r).compare(e.label,t.label)))})(e.programTheme,r,i),s=oe((()=>_r("country").toUpperCase())),l=yl(o),{fieldValidationErrors:u}=e,c=o.length>1,[d,f]=q.useState(!0),m=r=>{const n=Ys(e.viewModel,(e=>{e.countryChoice=r||void 0,e.country=r?r.value:void 0,t&&t(e,r)}));e.updateViewModel(n)};return q.useEffect((()=>{if(d){f(!1);const t=e.viewModel.countryChoice?e.viewModel.countryChoice:l;m(t)}}),[d]),q.useEffect((()=>{const t=re()(o).call(o,(e=>"US"===e.value));if(!c&&!t){const t=e.viewModel.fieldsToSkipValidation?[...e.viewModel.fieldsToSkipValidation,"country"]:["country","address1","postalCode","state","city"];e.updateViewModel(bl(e.viewModel,"fieldsToSkipValidation",t))}}),[c]),q.useEffect((()=>{const t=Ys(e.fieldValidationErrors,(t=>{t.country&&(t.country=Ho("country",e.viewModel.countryChoice,e.formValidationOptions)),"postalCode"in e.viewModel&&e.viewModel.postalCode&&(t.postalCode=Ho("postalCode",e.viewModel.postalCode,e.formValidationOptions))}));il(t,e),(e=>{if(void 0!==e.viewModel.organization)al(ri.organization,e)})(e)}),[e.viewModel.countryChoice]),q.useEffect((()=>{const e=Rl()(o).call(o,(e=>e.value===s));e&&m(e)}),[s]),c?q.createElement(nc,{isRequired:!0,options:o,value:e.viewModel.countryChoice,isErrored:Boolean(u.country),onChange:function(){var t=gr((function*(t){const r=t?t.value:void 0;m(t),ol("country",r,e)}));return function(e){return t.apply(this,arguments)}}()}):null})),Bm=({verificationService:e})=>{const t=oe((()=>e.programTheme.remainingRewardCodes),null);return"number"==typeof t&&t>0?q.createElement("div",{className:"sid-rewards-remaining"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(or,{id:"lowRewardPool",defaultMessage:e.messages.lowRewardPool,values:{offersRemaining:t}}),q.createElement("div",{className:"sid-l-space-top-sm"})):null},Vm=({fieldId:e,value:t,onChange:r,label:n,errorMessage:a})=>{const i=`sid-${El(`${e}Label`)}`,o=()=>r(!t);return q.createElement("div",{className:`sid-field sid-${El(e)}`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement("div",{className:"sid-checkbox-flex"},q.createElement(cm,{id:El(e),isErrored:!!a,value:t,onChange:o,ariaLabelledby:i}),q.createElement("div",{className:"sid-checkbox__label",onClick:o,onKeyPress:o,role:"button",tabIndex:0,id:i},n)),a&&q.createElement("div",{className:"sid-field-error"},a))},zm=Ft((({config:e,verificationService:t,intl:r})=>{const n=oe((()=>t.viewModel.metadata[e.fieldId])),a=oe((()=>t.fieldValidationErrors[e.fieldId])),i=r=>{t.updateViewModel(Ys(t.viewModel,(t=>{t.metadata=t.metadata||{},t.metadata[e.fieldId]=r}))),t.updateFieldValidationErrors(Ys(t.fieldValidationErrors,(t=>{void 0===e.validate(r)&&delete t[e.fieldId]})))};switch(e.fieldType){case"text":return q.createElement(Nl,{fieldId:e.fieldId,value:`${n||""}`,onChange:i,placeholder:r.formatHTMLMessage({id:`${e.fieldId}Placeholder`,defaultMessage:e.fieldId}),label:q.createElement(or,{id:`${e.fieldId}Label`,defaultMessage:e.fieldId}),errorMessage:a&&q.createElement(or,{id:`errorId.${a}`,defaultMessage:`Invalid ${e.fieldId}`}),showPlaceholderAndHideLabel:e.showPlaceholderAndHideLabel,required:e.required});case"checkbox":return q.createElement(Vm,{fieldId:e.fieldId,value:"boolean"==typeof n&&n,onChange:i,label:q.createElement(or,{id:`${e.fieldId}Label`,defaultMessage:e.fieldId}),errorMessage:a&&q.createElement(or,{id:`errorId.${a}`,defaultMessage:`Invalid ${e.fieldId}`})});default:return he.warn(`Unknown field type: ${e.fieldType}`),null}})),jm=({verificationService:e,suffix:t})=>e.messages[`extraMessage${t}`]?q.createElement("div",{className:`sid-extra-message sid-extra-message-${t}`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(or,{id:`extraMessage${t}`,defaultMessage:" "})):null;function Hm(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function $m(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Hm(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Hm(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const qm=({verificationService:e})=>{var t;const r=e.viewModel,{fieldValidationErrors:n}=e,a=e.verificationResponse,i=Ad(a),o=(t,n)=>{const a=Gs(r,(e=>{e[t]=n}));e.updateViewModel(a)},s=r.localeChoice.value;return q.createElement("div",{id:"sid-step-student-personal-info",className:"sid-student-personal-info-container sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-student-personal-info-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Birthdate"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(or,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name and birthdate must match what is on your official school records."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-student-personal-info-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock this Student-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're a student at a degree-granting school."})," ",q.createElement(Lm,{verificationService:e}),q.createElement(Bm,{verificationService:e}))),q.createElement(uc,{verificationService:e}),q.createElement(Um,{verificationService:e}),q.createElement(Im,{value:e.viewModel.organization,verificationService:e,isErrored:!!n.organization,isRequired:!0,onChange:t=>{al(t,e),ol("organization",t,e)}}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:r.firstName,isErrored:!!n.firstName,onChange:t=>{o("firstName",t),ol("firstName",t,e)}}),q.createElement(Tl,{value:r.lastName,isErrored:!!n.lastName,onChange:t=>{o("lastName",t),ol("lastName",t,e)}})),q.createElement(Tm,{value:r.birthDate,isErrored:!!n.birthDate,errorId:n.birthDate,locale:s,isRequired:!0,onChange:t=>{o("birthDate",t),ol("birthDate",t,e)}}),q.createElement(Al,{value:r.email,isErrored:!!n.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Personal or school email is fine"}),onChange:t=>{o("email",t),ol("email",t,e)},onKeyDown:e=>fl(e)}),e.programTheme.isSmsNotifierConfigured||e.programTheme.smsLoopEnabled?q.createElement(gm,{isRequired:!!e.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:t=>{o("phoneNumber",t),ol("phoneNumber",t,e)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,Cr()(t=Mn().customFormFields).call(t,(t=>q.createElement(zm,{config:t,verificationService:e}))),q.createElement(fm,{verificationService:e,isErrored:!!n.marketConsentValue,onChange:t=>{o("metadata",$m($m({},e.viewModel.metadata),{},{marketConsentValue:t})),ol("marketConsentValue",t,e)},viewModel:r}),q.createElement(jm,{verificationService:e,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-student--submit sid-submit"},q.createElement("button",{id:"sid-submit-wrapper__collect-info",onClick:()=>ml(r,e,ve.collectStudentPersonalInfo),type:"submit",className:"sid-btn sid-student-submit-btn sid-btn--dark sid-l-full-width "+(so(r,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-label":"submit","aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyStudentStatus",defaultMessage:"Verify My Student Status"}))))),q.createElement(Rm,{verificationService:e}))},Wm=({onChange:e,value:t,isValid:r,intl:n,placeholder:a="",ariaLabelledBy:i})=>q.createElement(Sl,{id:"postal-code",isErrored:!r,onChange:t=>e(t.target.value),pattern:"[a-zA-Z0-9 ]*",placeholder:a||n.formatHTMLMessage({id:"postalCodePlaceholder",defaultMessage:"Postal Code"}),refId:"postalCode",value:t,required:!0,"aria-labelledby":i});Wm.defaultProps={isValid:!0};const Gm=Ft(Wm),Ym=({value:e,isErrored:t,onChange:r,explanation:n})=>q.createElement("div",{className:"sid-field sid-postal-code"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"postalCode",defaultMessage:"Postal Code"}),htmlForLabel:"sid-postal-code",id:"sid-postal-code-label",displayClasses:"sid-field__label-with-explanation"},n&&n),q.createElement(Gm,{value:e,isValid:!t,onChange:r,ariaLabelledBy:"sid-postal-code-label"}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidPostalCode",defaultMessage:"Invalid postal code"})):null);function Km(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Zm(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Km(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Km(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Jm=Ft((({verificationService:e})=>{var t;const r=e.viewModel,{fieldValidationErrors:n}=e,a=e.verificationResponse,i=Ad(a),o=r.localeChoice.value,s=(t,n)=>{const a=Gs(r,(e=>{e[t]=n}));e.updateViewModel(a)};return q.createElement("div",{id:"sid-step-senior-personal-info",className:"sid-senior-personal-info-container sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-senior-personal-info-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Birthdate"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(or,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name and birthdate must match what is on your government-issued documents."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-senior-personal-info-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock Your Special Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify your current age."})," ",q.createElement(Lm,{verificationService:e}),q.createElement(Bm,{verificationService:e}))),q.createElement(uc,{verificationService:e}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:r.firstName,isErrored:!!n.firstName,onChange:t=>{s("firstName",t),ol("firstName",t,e)}}),q.createElement(Tl,{value:r.lastName,isErrored:!!n.lastName,onChange:t=>{s("lastName",t),ol("lastName",t,e)}})),q.createElement(Tm,{isErrored:!!n.birthDate,errorId:n.birthDate,locale:o,onChange:t=>{s("birthDate",t),ol("birthDate",t,e)},value:r.birthDate}),q.createElement(Ym,{isErrored:!!n.postalCode,onChange:t=>{s("postalCode",t),ol("postalCode",t,e)},value:r.postalCode}),q.createElement(Al,{value:r.email,isErrored:!!n.email,onChange:t=>{s("email",t),ol("email",t,e)},onKeyDown:e=>fl(e)}),e.programTheme.isSmsNotifierConfigured||e.programTheme.smsLoopEnabled?q.createElement(gm,{isRequired:!!e.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:t=>{s("phoneNumber",t),ol("phoneNumber",t,e)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,Cr()(t=Mn().customFormFields).call(t,(t=>q.createElement(zm,{config:t,verificationService:e}))),q.createElement(fm,{verificationService:e,isErrored:!!n.marketConsentValue,onChange:t=>{s("metadata",Zm(Zm({},e.viewModel.metadata),{},{marketConsentValue:t})),ol("marketConsentValue",t,e)},viewModel:r}),q.createElement(jm,{verificationService:e,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-senior-submit sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ml(r,e,ve.collectSeniorPersonalInfo),type:"submit",className:"sid-btn sid-senior-submit-btn sid-btn--dark sid-l-full-width "+(so(r,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyAndContinue",defaultMessage:"Verify and continue"}))))),q.createElement(Rm,{verificationService:e}))})),Xm=Ft((({value:e,isErrored:t,onChange:r,intl:n,isRequired:a=!1,onKeyDown:i,placeholder:o=""})=>q.createElement(Nl,{fieldId:"city",value:e,onChange:r,placeholder:o||n.formatHTMLMessage({id:"cityPlaceholder",defaultMessage:"City"}),label:q.createElement(or,{id:"city",defaultMessage:"City"}),errorMessage:t&&q.createElement(or,{id:"errorId.invalidCity",defaultMessage:"Invalid city"}),showPlaceholderAndHideLabel:!!o,required:a,onKeyDown:"function"==typeof i?e=>i(e):void 0}))),Qm=Ft((({value:e,isErrored:t,onChange:r,intl:n,isRequired:a=!1,onKeyDown:i,placeholder:o="",label:s,explanation:l=""})=>q.createElement(Nl,{fieldId:"address",value:e,onChange:r,placeholder:o||n.formatHTMLMessage({id:"addressPlaceholder",defaultMessage:"Address"}),label:s||q.createElement(or,{id:"address",defaultMessage:"Address"}),errorMessage:t&&q.createElement(or,{id:"errorId.invalidAddress",defaultMessage:"Invalid address"}),showPlaceholderAndHideLabel:!!o,required:a,onKeyDown:"function"==typeof i?e=>i(e):void 0,explanation:l})));function ep(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function tp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=ep(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=ep(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const rp=Ft((({verificationService:e,intl:t})=>{var r,n;const a=e.viewModel,{fieldValidationErrors:i}=e,o=e.verificationResponse,s=Ad(o),l=hl(e.programTheme,t),u=yl(l),{isSmsNotifierConfigured:c,smsLoopEnabled:f}=e.programTheme,m=oe((()=>a.countryChoice.value),u.value),p="US"===m?[{key:"postalCode"}]:[],h=a.localeChoice.value,[g,v]=q.useState(p);!i.phoneNumber&&o.errorIds&&$i()(r=o.errorIds).call(r,"invalidPhoneNumber")&&e.updateFieldValidationErrors(tp(tp({},i),{},{phoneNumber:"invalidPhoneNumber"}));const y=(e,t)=>"US"!==e||t,b=(t,r)=>{const n=bl(a,t,r);e.updateViewModel(n)},E=(t,r)=>{const n=((e,t,r)=>Gs(e,(n=>{d()(r).call(r,(r=>{re()(t).call(t,(e=>e.key===r))?n[r]=void 0!==e[r]?e[r]:"":delete n[r]}))})))(a,t,r);e.updateViewModel(n)},w=e=>re()(g).call(g,(t=>t.key===e));var S,M,C;S="phoneNumber",C=m,M=(e,t)=>{const r=t&&t.smsLoopEnabled||"US"!==C;return go(r)(e)},he.log(`overrideValidator registering ${M} for '${S}'`),to[S]=M,y(m,f)?zr("carrierConsentValue")||Br("carrierConsentValue",(e=>(t,r)=>{if((r&&r.smsLoopEnabled||"US"!==e)&&!t)return"invalidCarrierConsentValue"})(m)):zr("carrierConsentValue")&&(e=>{delete Lr[e];const t=Pr()(Ur).call(Ur,e);-1!==t?Fr()(Ur).call(Ur,t,1):he.error(`Custom validator for field '${e}' has not been removed.`,"removeCustomValidator")})("carrierConsentValue");return q.useEffect((()=>{gr((function*(){try{const e=yield hd(o.verificationId,o.currentStep,a),t=oe((()=>e.fieldsToCollect.required),[]);E(t,["postalCode","city","address1"]),v(t)}catch(e){he.error(`Failed to determine fields to collect: ${e}`)}}))()}),[a.country]),q.createElement("div",{id:"sid-step-student-personal-info",className:"sid-age-personal-info-container sid-l-container"},s?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-age-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Birthdate"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(or,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name and birthdate must match what is on your government-issued documents."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-age-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock Your Special Offer"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify your current age."})," ",q.createElement(Lm,{verificationService:e}),q.createElement(Bm,{verificationService:e}))),q.createElement(uc,{verificationService:e}),q.createElement(Um,{verificationService:e,viewModelDraftDecorator:(e,t)=>{const r=e,n=t?t.value:void 0;y(n,f)||(r.phoneNumber="")}}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:a.firstName,isErrored:!!i.firstName,onChange:t=>{b("firstName",t),ol("firstName",t,e)}}),q.createElement(Tl,{value:a.lastName,isErrored:!!i.lastName,onChange:t=>{b("lastName",t),ol("lastName",t,e)}})),q.createElement(Tm,{isErrored:!!i.birthDate,errorId:i.birthDate,locale:h,onChange:t=>{b("birthDate",t),ol("birthDate",t,e)},value:a.birthDate}),w("city")&&q.createElement(Xm,{value:a.city,isRequired:!0,isErrored:!!i.city,errorId:i.city,onChange:t=>{b("city",t),ol("city",t,e)}}),w("address1")&&q.createElement(Qm,{value:a.address1,isRequired:!0,isErrored:!!i.address1,errorId:i.address1,onChange:t=>{b("address1",t),ol("address1",t,e)}}),w("postalCode")&&q.createElement(Ym,{isErrored:!!i.postalCode,onChange:t=>{b("postalCode",t),ol("postalCode",t,e)},value:a.postalCode}),q.createElement(Al,{value:a.email,isErrored:!!i.email,onChange:t=>{b("email",t),ol("email",t,e)},onKeyDown:e=>fl(e)}),(y(m,f)||c)&&q.createElement(gm,{value:a.phoneNumber,isRequired:e.programTheme.smsLoopEnabled||"US"!==m,isErrored:!!i.phoneNumber,displaySmsConsent:c,onChange:t=>{b("phoneNumber",t),ol("phoneNumber",t,e)},errorId:i.phoneNumber,requireCarrierConsent:e.programTheme.smsLoopEnabled||"US"!==m,onCarrierConsentChange:t=>{b("metadata",tp(tp({},e.viewModel.metadata),{},{carrierConsentValue:t})),ol("carrierConsentValue",t,e)},carrierConsent:Boolean(a.metadata&&a.metadata.carrierConsentValue),selectedCountryCode:a.countryChoice&&a.countryChoice.value}),Cr()(n=Mn().customFormFields).call(n,(t=>q.createElement(zm,{config:t,verificationService:e}))),q.createElement(fm,{verificationService:e,isErrored:!!i.marketConsentValue,onChange:t=>{b("metadata",tp(tp({},e.viewModel.metadata),{},{marketConsentValue:t})),ol("marketConsentValue",t,e)},viewModel:a}),q.createElement(jm,{verificationService:e,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit sid-age-personal-info-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ml(a,e,ve.collectAgePersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-age-personal-info-btn sid-l-full-width "+(so(a,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},s?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyAndContinue",defaultMessage:"Verify and continue"}))))),q.createElement(Rm,{verificationService:e}))})),np=Ft((({value:e,isErrored:t,onChange:r,verificationService:n,intl:a,placeholder:i=""})=>{var o;const{programId:s,viewModel:l,verificationResponse:u}=n,c="sid-teacher-school",d=Oa(l,u),f=j()(o=Mn().urlAddSchoolForm||"").call(o),m=oe((()=>n.viewModel.countryChoice.value)),p=Za(n.programTheme,m);return q.createElement("div",{className:"sid-field sid-teacher-school-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"schoolName",defaultMessage:"School name"}),htmlForLabel:c,id:`${c}-label`,displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(Cm,{className:t?"sid-text-input--error":"",countryCode:m,onChange:e=>r(e),minimumSearchValueLength:Mn().minimumOrganizationSearchLength,placeholder:i||a.formatHTMLMessage({id:"schoolNamePlaceholder",defaultMessage:"School name"}),programId:s,value:e,inputHtmlId:c,openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl,orgSearchTags:p,locale:d,urlAddSchoolForm:f,isRequired:!0}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)}));function ap(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function ip(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=ap(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=ap(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const op=({verificationService:e})=>{var t;const r=e.viewModel,{fieldValidationErrors:n}=e,a=e.verificationResponse,i=Ad(a),o=r.localeChoice.value,s=(t,n)=>{const a=Gs(r,(e=>{e[t]=n}));e.updateViewModel(a)};return(0,q.useEffect)((()=>{e.programTheme.idCheckAddOnEnabled?s("fieldsToSkipValidation",[]):(s("birthDate",""),s("fieldsToSkipValidation",["birthDate"]))}),[e.programTheme.idCheckAddOnEnabled]),q.createElement("div",{id:"sid-step-teacher-personal-info",className:"sid-teacher-personal-info-container sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-teacher-personal-info-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Email"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(or,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name and email address must match what is on record with your school."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-teacher-personal-info-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock this Teaching Staff-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're a teacher, faculty or staff at a K-12 or degree-granting university."})," ",q.createElement(Lm,{verificationService:e}),q.createElement(Bm,{verificationService:e}))),q.createElement(uc,{verificationService:e}),q.createElement(Um,{verificationService:e}),q.createElement(np,{value:e.viewModel.organization,verificationService:e,isErrored:!!n.organization,onChange:t=>{al(t,e),ol("organization",t,e)}}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:r.firstName,isErrored:!!n.firstName,onChange:t=>{s("firstName",t),ol("firstName",t,e)}}),q.createElement(Tl,{value:r.lastName,isErrored:!!n.lastName,onChange:t=>{s("lastName",t),ol("lastName",t,e)}})),e.programTheme.idCheckAddOnEnabled?q.createElement(Tm,{isErrored:!!n.birthDate,errorId:n.birthDate,locale:o,onChange:t=>{s("birthDate",t),ol("birthDate",t,e)},value:r.birthDate}):null,q.createElement(Al,{value:r.email,isErrored:!!n.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Must be your school-issued email address"}),onChange:t=>{s("email",t),ol("email",t,e)},onKeyDown:e=>fl(e)}),e.programTheme.isSmsNotifierConfigured||e.programTheme.smsLoopEnabled?q.createElement(gm,{isRequired:!!e.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:t=>{s("phoneNumber",t),ol("phoneNumber",t,e)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,((e,t)=>oe((()=>e.openOrgSearchEnabled))&&0===oe((()=>t.organization.id))&&oe((()=>t.organization.name),"").length>0)(e.programTheme,r)?q.createElement(Ym,{isErrored:!!n.postalCode,onChange:t=>{s("postalCode",t),ol("postalCode",t,e)},value:r.postalCode}):null,Cr()(t=Mn().customFormFields).call(t,(t=>q.createElement(zm,{config:t,verificationService:e}))),q.createElement(fm,{verificationService:e,isErrored:!!n.marketConsentValue,onChange:t=>{s("metadata",ip(ip({},e.viewModel.metadata),{},{marketConsentValue:t})),ol("marketConsentValue",t,e)},viewModel:r}),q.createElement(jm,{verificationService:e,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-teacher-submit sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ml(r,e,ve.collectTeacherPersonalInfo),type:"submit",className:"sid-btn sid-teacher-submit-btn sid-btn--dark sid-l-full-width "+(so(r,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyTeacherStatus",defaultMessage:"Verify My Teacher Status"}))))),q.createElement(Rm,{verificationService:e}))},sp=Ft((({value:e,isErrored:t,onChange:r,explanation:n,intl:a,placeholder:i="",isRequired:o=!1,label:s})=>q.createElement("div",{className:"sid-field sid-member-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:s||q.createElement(or,{id:"memberId",defaultMessage:"ID Number"}),htmlForLabel:"sid-member-id",id:"sid-member-id-label",displayClasses:`sid-field__label-with-explanation${i&&" sid-h-screen-reader-only"}`,isRequired:o},n||(o?"":q.createElement(or,{id:"optional",defaultMessage:"Optional"}))),q.createElement(Sl,{id:"member-id",isErrored:t,onChange:e=>r(e.target.value),placeholder:i||a.formatHTMLMessage({id:"memberIdPlaceholder",defaultMessage:"ID Number"}),refId:"memberId",value:e,"aria-labelledby":"sid-member-id-label"}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidMemberId",defaultMessage:"Invalid ID Number"})):null))),lp=Ft((({value:e,isErrored:t,onChange:r,verificationService:n,intl:a,placeholder:i=""})=>{const{programId:o}=n;return q.createElement("div",{className:"sid-field sid-membership-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"organization",defaultMessage:"Organization"}),htmlForLabel:"sid-membership",id:"sid-membership-label",displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(Cm,{className:t?"sid-text-input--error":"",countryCode:oe((()=>n.viewModel.countryChoice.value)),onChange:e=>r(e),minimumSearchValueLength:Mn().minimumOrganizationSearchLength,placeholder:i||a.formatHTMLMessage({id:"organizationNamePlaceholder",defaultMessage:"Organization"}),programId:o,value:e,inputHtmlId:"sid-membership",openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)}));function up(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function cp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=up(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=up(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const dp=({verificationService:e})=>{var t;const r=e.viewModel,{fieldValidationErrors:n}=e,a=e.verificationResponse,i=Ad(a),o=r.localeChoice.value,s=(t,n)=>{const a=Gs(r,(e=>{e[t]=n}));e.updateViewModel(a)};return q.createElement("div",{id:"sid-step-member-personal-info",className:"sid-member-personal-info-container sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-member-personal-info-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Email"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(or,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name and email address must match what is on record with your school."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-member-personal-info-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock this Members-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're a current member of an eligible organization."})," ",q.createElement(Lm,{verificationService:e}),q.createElement(Bm,{verificationService:e}))),q.createElement(uc,{verificationService:e}),q.createElement(Um,{verificationService:e}),q.createElement(lp,{value:e.viewModel.organization,verificationService:e,isErrored:!!n.organization,onChange:t=>{al(t,e),ol("organization",t,e)}}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:r.firstName,isErrored:!!n.firstName,onChange:t=>{s("firstName",t),ol("firstName",t,e)}}),q.createElement(Tl,{value:r.lastName,isErrored:!!n.lastName,onChange:t=>{s("lastName",t),ol("lastName",t,e)}})),q.createElement(Al,{value:r.email,isErrored:!!n.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Needed to send you your unique code"}),onChange:t=>{s("email",t),ol("email",t,e)},onKeyDown:e=>fl(e)}),q.createElement(Tm,{isErrored:!!n.birthDate,errorId:n.birthDate,locale:o,isRequired:!1,onChange:t=>{s("birthDate",t),ol("birthDate",t,e)},value:r.birthDate}),q.createElement(sp,{value:r.memberId,isErrored:!!n.memberId,isRequired:!1,onChange:t=>{s("memberId",t),ol("memberId",t,e)}}),e.programTheme.isSmsNotifierConfigured||e.programTheme.smsLoopEnabled?q.createElement(gm,{isRequired:!!e.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:t=>{s("phoneNumber",t),ol("phoneNumber",t,e)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,Cr()(t=Mn().customFormFields).call(t,(t=>q.createElement(zm,{config:t,verificationService:e}))),q.createElement(fm,{verificationService:e,isErrored:!!n.marketConsentValue,onChange:t=>{s("metadata",cp(cp({},e.viewModel.metadata),{},{marketConsentValue:t})),ol("marketConsentValue",t,e)},viewModel:r}),q.createElement(jm,{verificationService:e,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-member-submit sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ml(r,e,ve.collectMemberPersonalInfo),type:"submit",className:"sid-btn sid-member-submit-btn sid-btn--dark sid-l-full-width "+(so(r,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyMembershipStatus",defaultMessage:"Verify My Membership Status"}))))),q.createElement(Rm,{verificationService:e}))},fp=Ft((({value:e,isErrored:t,errorId:r="invalidStatus",options:n,onChange:a,intl:i,placeholder:o="",onKeyDown:s,segmentId:l})=>{const u=`sid-${l}-status`,c=1===n.length;return q.useEffect((()=>{c&&a(n[0])}),[]),c?null:q.createElement("div",{className:`sid-field ${u}`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"status",defaultMessage:"Status"}),htmlForLabel:u,id:`${u}-label`,displayClasses:o&&"sid-h-screen-reader-only"}),q.createElement(rc,{fieldId:"status",inputId:u,fieldLabelId:`${u}-label`,isErrored:t,options:n,onChange:e=>a(e),onKeyDown:s,value:Rl()(n).call(n,(t=>t.value===(e&&e.value))),placeholder:o||i.formatHTMLMessage({id:"statusPlaceholder",defaultMessage:"Status"}),isRequired:!0}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:`errorId.${r}`,defaultMessage:`Invalid ${l} status`})):null)})),mp=(e,t)=>{let r;try{r=e.label.toUpperCase()>t.label.toUpperCase()?1:-1}catch(e){r=1}return r},pp=e=>({value:e.id,label:e.name,country:e.country}),hp=(e,t,r,n)=>{const a=r.viewModel;return Ys(a,(r=>{r[e]=t,n||(r.fieldsToSkipValidation=["status"]),"status"===e&&(r.organization={id:0,name:""})}))},gp=Ft((({autoFocus:e,onChange:t,value:r,isErrored:n,organizations:a,verificationService:o,intl:s,placeholder:l=""})=>{let u=[];const{status:c}=o.viewModel,d=o.viewModel,f="sid-branch-of-service",{countryChoice:m}=d;if(a){let e;e=i()(a).call(a,(e=>t=>"RESERVIST"===e?$i()(Ae).call(Ae,t.name):"ACTIVE_DUTY"===e?!$i()(Ae).call(Ae,t.name):!!t.name)(c)),m&&(e=i()(e).call(e,(e=>e.country===m.value))),u=Cr()(e).call(e,pp)}return q.createElement("div",{className:`sid-field ${f}-id`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"branchOfService",defaultMessage:"Branch Of Service"}),htmlForLabel:f,id:`${f}-label`,displayClasses:l&&"sid-h-screen-reader-only"}),q.createElement(rc,{autoFocus:e,fieldId:"organization",inputId:f,fieldLabelId:`${f}-label`,isErrored:n,options:(p=u,va()(p).call(p,mp)),onChange:e=>((e,t)=>{t(e?{id:e.value,name:e.label}:{id:0,name:""})})(e,t),value:Rl()(u).call(u,(e=>e.value===(r&&r.value))),placeholder:l||s.formatHTMLMessage({id:"branchOfServicePlaceholder",defaultMessage:"Branch Of Service"}),isRequired:!0}),n?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null);var p})),vp=({onChange:e,isErrored:t,errorId:r="invalidActiveDutyStartDate",value:n="2000-01-01",locale:a=tn})=>q.createElement(Dm,{value:n,label:q.createElement(or,{id:"activeDutyStartDate",defaultMessage:"Active Duty Start Date"}),onChange:e,fieldName:"activeDutyStartDate",fieldId:"sid-active-duty-start-date",locale:a,isErrored:t,errorMsg:q.createElement(or,{id:`errorId.${r}`,defaultMessage:"Invalid start date"})});function yp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function bp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=yp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=yp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Ep=Ft((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,a=t.previousViewModel,{fieldValidationErrors:i}=t,o=t.verificationResponse,s=Ad(o),{status:l}=t.viewModel,u=cl(t,e),c=n.localeChoice.value,d=(e,r)=>{t.updateViewModel(hp(e,r,t,u))};return(n.status&&a&&a.status!==n.status||n.status&&t.verificationResponse.currentStep===ve.collectMilitaryStatus)&&(()=>{const e=Gs(n,(()=>{}));he.info("StepMilitaryStatusComponent submitting form"),t.submitStep(ve.collectMilitaryStatus,e,t.previousVerificationResponse||t.verificationResponse)})(),rl(),q.createElement("div",{id:"sid-step-active-military-personal-info",className:"sid-active-military-personal-info-container sid-military-personal-info-container sid-l-container"},s?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-active-military-personal-info-logo-container sid-military-personal-info-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Birthdate"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(or,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:" Enter your first and last name on the form as it appears on your military document(s). Keep in mind that may be your given name."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-active-military-personal-info-logo-container sid-military-personal-info-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock this Military-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're a member of the armed forces."})),q.createElement("div",{className:"sid-header__how-verifying-works sid-l-horz-center"},q.createElement(Lm,{verificationService:t}),q.createElement(Bm,{verificationService:t}))),q.createElement(uc,{verificationService:t}),q.createElement(Um,{verificationService:t}),u?q.createElement(fp,{segmentId:"military",value:{value:n.status,label:ll(e,n.status,Te)},isErrored:!!i.status,errorId:"invalidMilitaryStatus",options:u,onChange:e=>{d("status",e?e.value:""),ol("status",e?e.value:"",t)}}):null,"MILITARY_FAMILY"===l?q.createElement("div",{className:"sid-field-notice","data-testid":"family-note"},q.createElement(or,{id:"militaryFamilyCardNote",defaultMessage:"Note: this offer is only available to military family members with a Dependent ID card."})):null,q.createElement(gp,{isErrored:!!i.organization,onChange:e=>{al(e,t),ol("organization",e,t)},value:{value:t.viewModel.organization.id,label:t.viewModel.organization.name},verificationService:t,organizations:t.orgList}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:n.firstName,isErrored:!!i.firstName,onChange:e=>{d("firstName",e),ol("firstName",e,t)}}),q.createElement(Tl,{value:n.lastName,isErrored:!!i.lastName,onChange:e=>{d("lastName",e),ol("lastName",e,t)}})),q.createElement(Tm,{isErrored:!!i.birthDate,errorId:i.birthDate,locale:c,onChange:e=>{d("birthDate",e),ol("birthDate",e,t)},value:n.birthDate}),t.programTheme.strictMilitaryValidationEnabled&&q.createElement(vp,{isErrored:!!i.activeDutyStartDate,errorId:i.activeDutyStartDate,locale:c,onChange:e=>{d("activeDutyStartDate",e),ol("activeDutyStartDate",e,t)},value:n.activeDutyStartDate}),q.createElement(Al,{value:n.email,isErrored:!!i.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Personal email address is recommended"}),onChange:e=>{d("email",e),ol("email",e,t)},onKeyDown:e=>fl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(gm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!i.phoneNumber,onChange:e=>{d("phoneNumber",e),ol("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,Cr()(r=Mn().customFormFields).call(r,(e=>q.createElement(zm,{config:e,verificationService:t}))),q.createElement(fm,{verificationService:t,isErrored:!!i.marketConsentValue,onChange:e=>{d("metadata",bp(bp({},t.viewModel.metadata),{},{marketConsentValue:e})),ol("marketConsentValue",e,t)},viewModel:n}),q.createElement(jm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-active-military-personal-submit sid-military-submit sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ml(n,t,ve.collectActiveMilitaryPersonalInfo),type:"submit",className:"sid-btn sid-active-military-personal-submit-btn sid-military-submit-btn sid-btn--dark sid-l-full-width "+(so(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},s?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyMilitaryStatus",defaultMessage:"Verify My Military Status"}))))),q.createElement(Rm,{verificationService:t}))})),wp=({onChange:e,isErrored:t,value:r="2000-01-01"})=>q.createElement(Dm,{mode:"month",value:r,label:q.createElement(or,{id:"dischargeDate",defaultMessage:"Discharge date"}),onChange:e,fieldName:"dischargeDate",fieldId:"discharge-date",isErrored:t,isRequired:!0,errorMsg:q.createElement(or,{id:"errorId.invalidDischargeDate",defaultMessage:"Invalid discharge date"})});function Sp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Mp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Sp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Sp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Cp=Ft((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,a=t.previousViewModel,{fieldValidationErrors:i}=t,o=t.verificationResponse,s=Ad(o),l=cl(t,e),u=n.localeChoice.value,c=(e,r)=>{t.updateViewModel(hp(e,r,t,l))};return(n.status&&a&&a.status!==n.status||n.status&&t.verificationResponse.currentStep===ve.collectMilitaryStatus)&&(()=>{const e=Gs(n,(()=>{}));he.info("StepMilitaryStatusComponent submitting form"),t.submitStep(ve.collectMilitaryStatus,e,t.previousVerificationResponse||t.verificationResponse)})(),rl(),q.createElement("div",{id:"sid-step-inactive-military-personal-info",className:"sid-inactive-military-personal-info-container sid-military-personal-info-container sid-l-container"},s?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-inactive-military-personal-info-logo-container sid-military-personal-info-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Birthdate"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(or,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:" Enter your first and last name on the form as it appears on your military document(s). Keep in mind that may be your given name."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-inactive-military-personal-info-logo-container sid-military-personal-info-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock this Military-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're a member of the armed forces."})," ",q.createElement(Lm,{verificationService:t}),q.createElement(Bm,{verificationService:t}))),q.createElement(uc,{verificationService:t}),q.createElement(Um,{verificationService:t}),l?q.createElement(fp,{segmentId:"military",value:{value:n.status,label:ll(e,n.status,Te)},isErrored:!!i.status,errorId:"invalidMilitaryStatus",options:l,onChange:e=>{c("status",e?e.value:""),ol("status",e?e.value:"",t)}}):null,q.createElement(gp,{isErrored:!!i.organization,onChange:e=>{al(e,t),ol("organization",e,t)},value:{value:t.viewModel.organization.id,label:t.viewModel.organization.name},verificationService:t,organizations:t.orgList}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:n.firstName,isErrored:!!i.firstName,onChange:e=>{c("firstName",e),ol("firstName",e,t)}}),q.createElement(Tl,{value:n.lastName,isErrored:!!i.lastName,onChange:e=>{c("lastName",e),ol("lastName",e,t)}})),q.createElement(Tm,{isErrored:!!i.birthDate,errorId:i.birthDate,locale:u,onChange:e=>{c("birthDate",e),ol("birthDate",e,t)},value:n.birthDate}),t.programTheme.strictMilitaryValidationEnabled&&q.createElement(vp,{isErrored:!!i.activeDutyStartDate,locale:u,onChange:e=>{c("activeDutyStartDate",e),ol("activeDutyStartDate",e,t)},value:n.activeDutyStartDate}),q.createElement(wp,{isErrored:!!i.dischargeDate,onChange:e=>{c("dischargeDate",e),ol("dischargeDate",e,t)},value:n.dischargeDate}),q.createElement(Al,{value:n.email,isErrored:!!i.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Personal email address is recommended"}),onChange:e=>{c("email",e),ol("email",e,t)},onKeyDown:e=>fl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(gm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!i.phoneNumber,onChange:e=>{c("phoneNumber",e),ol("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,Cr()(r=Mn().customFormFields).call(r,(e=>q.createElement(zm,{config:e,verificationService:t}))),q.createElement(fm,{verificationService:t,isErrored:!!i.marketConsentValue,onChange:e=>{c("metadata",Mp(Mp({},t.viewModel.metadata),{},{marketConsentValue:e})),ol("marketConsentValue",e,t)},viewModel:n}),q.createElement(jm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-inactive-military-submit sid-military-submit sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ml(n,t,ve.collectInactiveMilitaryPersonalInfo),type:"submit",className:"sid-btn sid-inactive-military-submit-btn sid-military-submit-btn sid-btn--dark sid-l-full-width "+(so(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},s?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyMilitaryStatus",defaultMessage:"Verify My Military Status"}))))),q.createElement(Rm,{verificationService:t}))})),Ip=Ft((({onChange:e,value:t,isErrored:r,verificationService:n,intl:a,placeholder:i=""})=>{const{programId:o}=n,s="sid-first-responder-organization";return q.createElement("div",{className:`sid-field ${s}-id`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"organization",defaultMessage:"Organization"}),htmlForLabel:s,id:`${s}-label`,displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(Cm,{className:r?"sid-text-input--error":"",countryCode:oe((()=>n.viewModel.countryChoice.value)),minimumSearchValueLength:Mn().minimumOrganizationSearchLength,onChange:t=>e(t),placeholder:i||a.formatHTMLMessage({id:"organizationPlaceholder",defaultMessage:"Organization"}),programId:o,value:t,isRequired:!0,inputHtmlId:s,openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl}),r?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)}));function Np(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Dp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Np(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Np(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Tp=Ft((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,i=t.verificationResponse,o=Ad(i),s=n.localeChoice.value,l=(e,r)=>{const a=Gs(n,(t=>{t[e]=r}));t.updateViewModel(a)},u=oe((()=>t.programTheme.openOrgSearchEnabled))&&0===oe((()=>n.organization.id))&&oe((()=>n.organization.name),"").length>0;return u?n.postalCode=n.postalCode?n.postalCode:"":(n.postalCode||""===n.postalCode)&&(delete n.postalCode,ol("postalCode",void 0,t)),q.createElement("div",{id:"sid-step-active-first-responder-personal-info",className:"sid-first-responder-personal-info-container sid-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-first-responder-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name, Email & Organization"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(or,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name, organization name, and email must match what is on record with your agency."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-first-responder-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock this 1st Responder-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're an active first responder."})),q.createElement("div",{className:"sid-header__how-verifying-works sid-l-horz-center"},q.createElement(Lm,{verificationService:t}),q.createElement(Bm,{verificationService:t}))),q.createElement(uc,{verificationService:t}),q.createElement(Um,{verificationService:t}),q.createElement(fp,{segmentId:"first-responder",value:{value:n.status,label:ll(e,n.status,xe)},isErrored:!!a.status,errorId:"invalidFirstResponderStatus",options:(()=>{const r=t.verificationResponse.availableStatuses,n=[];return d()(r).call(r,(t=>{n.push({value:t,label:ll(e,t,xe)})})),n})(),onChange:e=>{l("status",e?e.value:""),ol("status",e?e.value:"",t)}}),q.createElement(Ip,{isErrored:!!a.organization,onChange:e=>{al(e,t),ol("organization",e,t)},value:t.viewModel.organization,verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{l("firstName",e),ol("firstName",e,t)}}),q.createElement(Tl,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{l("lastName",e),ol("lastName",e,t)}})),q.createElement(Tm,{isErrored:!!a.birthDate,errorId:a.birthDate,locale:s,onChange:e=>{l("birthDate",e),ol("birthDate",e,t)},value:n.birthDate}),q.createElement(Al,{value:n.email,isErrored:!!a.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Needed to send you your unique code"}),onChange:e=>{l("email",e),ol("email",e,t)},onKeyDown:e=>fl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(gm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{l("phoneNumber",e),ol("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,u?q.createElement(Ym,{isErrored:!!a.postalCode,onChange:e=>{l("postalCode",e),ol("postalCode",e,t)},value:n.postalCode}):null,Cr()(r=Mn().customFormFields).call(r,(e=>q.createElement(zm,{config:e,verificationService:t}))),q.createElement(fm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{l("metadata",Dp(Dp({},t.viewModel.metadata),{},{marketConsentValue:e})),ol("marketConsentValue",e,t)},viewModel:n}),q.createElement(jm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-first-responder-personal-info-submit sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ml(n,t,ve.collectFirstResponderPersonalInfo),type:"submit",className:"sid-btn sid-first-responder-submit-btn sid-btn--dark sid-l-full-width "+(so(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyFirstResponderStatus",defaultMessage:"Verify My First Responder Status"}))))),q.createElement(Rm,{verificationService:t}))})),Ap=Ft((({onChange:e,value:t,isErrored:r,verificationService:n,intl:a,placeholder:i=""})=>{const{programId:o}=n,s="sid-medical-professional-organization";return q.createElement("div",{className:"sid-field sid-medical-professional-organization-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"organization",defaultMessage:"Organization"}),htmlForLabel:s,id:`${s}-label`,displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(Cm,{className:r?"sid-text-input--error":"",countryCode:oe((()=>n.viewModel.countryChoice.value)),minimumSearchValueLength:Mn().minimumOrganizationSearchLength,onChange:t=>e(t),placeholder:i||a.formatHTMLMessage({id:"organizationPlaceholder",defaultMessage:"Organization"}),programId:o,value:t,inputHtmlId:s,openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl,isRequired:!0}),r?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)}));function xp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function _p(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=xp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=xp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Op={AT:"gbrNummer",ES:"numeroColegiado",DK:"autorisationsId",CH:"globalLocationNumber",IE:"registrationNumber",GB:"registrationNumber"},kp=Ft((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,i=t.verificationResponse,o=Ad(i),[s,l]=q.useState(void 0),[u,c]=q.useState(!1),f=n.localeChoice.value,m=(e,r)=>{const a=bl(n,e,r);t.updateViewModel(a)};return q.useEffect((()=>{gr((function*(){if(n.country&&n.status)try{const e=yield hd(i.verificationId,i.currentStep,n),t=oe((()=>e.fieldsToCollect.optional),[]);c(re()(t).call(t,(e=>"memberId"===e.key)))}catch(e){he.error(`Failed to determine fields to collect: ${e}`)}const e=Op[n.country]?Op[n.country]:"registrationNumber";e&&l({labelKey:`step.collectMedicalPersonalInfo.${e}Label`,explanationKey:`step.collectMedicalPersonalInfo.${e}Explanation`})}))()}),[n.country,n.status]),q.createElement("div",{id:"sid-step-active-medical-professional-personal-info",className:"sid-medical-personal-info-container sid-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-medical-personal-info-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name, Email & Organization"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(or,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name, organization name, and email must match what is on record with your agency."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-medical-personal-info-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock this Medical Professional-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're a licensed medical professional."})),q.createElement("div",{className:"sid-header__how-verifying-works sid-l-horz-center"},q.createElement(Lm,{verificationService:t}),q.createElement(Bm,{verificationService:t}))),q.createElement(uc,{verificationService:t}),q.createElement(Um,{verificationService:t}),q.createElement(fp,{segmentId:"medical",value:{value:n.status,label:ll(e,n.status,_e)},isErrored:!!a.status,options:(()=>{const t=i.availableStatuses,r=[];return d()(t).call(t,(t=>{r.push({value:t,label:ll(e,t,_e)})})),r})(),onChange:e=>{m("status",e?e.value:""),ol("status",e?e.value:"",t)}}),q.createElement(Ap,{isErrored:!!a.organization,onChange:e=>{al(e,t),ol("organization",e,t)},value:t.viewModel.organization,verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{m("firstName",e),ol("firstName",e,t)}}),q.createElement(Tl,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{m("lastName",e),ol("lastName",e,t)}})),q.createElement(Tm,{isErrored:!!a.birthDate,errorId:a.birthDate,locale:f,onChange:e=>{m("birthDate",e),ol("birthDate",e,t)},value:n.birthDate}),q.createElement(Ym,{isErrored:!!a.postalCode,onChange:e=>{m("postalCode",e),ol("postalCode",e,t)},value:n.postalCode,explanation:q.createElement(or,{id:"postalCodeExplanation",defaultMessage:"Use the location on file with your licensing body"})}),q.createElement(Al,{value:n.email,isErrored:!!a.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Needed to send you your unique code"}),onChange:e=>{m("email",e),ol("email",e,t)},onKeyDown:e=>fl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(gm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{m("phoneNumber",e),ol("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,u&&q.createElement(sp,{value:n.memberId,isErrored:!!a.memberId,isRequired:!1,onChange:e=>{m("memberId",e),ol("memberId",e,t)},explanation:s&&q.createElement(or,{id:s.explanationKey,defaultMessage:"Your Professional Membership Registration Number"}),label:s&&q.createElement(or,{id:s.labelKey,defaultMessage:"Registration Number"})}),Cr()(r=Mn().customFormFields).call(r,(e=>q.createElement(zm,{config:e,verificationService:t}))),q.createElement(fm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{m("metadata",_p(_p({},t.viewModel.metadata),{},{marketConsentValue:e})),ol("marketConsentValue",e,t)},viewModel:n}),q.createElement(jm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-medical-submit sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ml(n,t,ve.collectMedicalProfessionalPersonalInfo),type:"submit",className:"sid-btn sid-medical-submit-btn sid-btn--dark sid-l-full-width "+(so(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyMedicalProfessionalStatus",defaultMessage:"Verify My Medical Professional Status"}))))),q.createElement(Rm,{verificationService:t}))})),Pp=Ft((({value:e,isErrored:t,options:r,onChange:n,intl:a,placeholder:i="",label:o="",isRequired:s=!1})=>{const l="sid-state";return q.createElement("div",{className:`sid-field ${l}__select`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:o||q.createElement(or,{id:"state",defaultMessage:"State where you live"}),htmlForLabel:l,id:`${l}-label`,displayClasses:i&&"sid-h-screen-reader-only",isRequired:s}),q.createElement(rc,{fieldId:"state",inputId:l,fieldLabelId:`${l}-label`,isErrored:t,options:r,onChange:e=>n(e),placeholder:a.formatHTMLMessage({id:"statePlaceholder",defaultMessage:"State"}),value:Rl()(r).call(r,(t=>t.value===e)),suppressPlaceholder:!1,isRequired:s,buttonRef:"inputSelectButtonState"}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidState",defaultMessage:"Invalid state"})):null)})),Rp=Ft((({onChange:e,value:t,isErrored:r,verificationService:n,intl:a,placeholder:i=""})=>{const{programId:o}=n;return q.createElement("div",{className:"sid-field sid-company-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"company",defaultMessage:"Company"}),htmlForLabel:"sid-company",id:"sid-company-label",displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(Cm,{className:r?"sid-text-input--error":"",countryCode:oe((()=>n.viewModel.countryChoice.value)),minimumSearchValueLength:Mn().minimumOrganizationSearchLength,onChange:t=>e(t),placeholder:i||a.formatHTMLMessage({id:"companyPlaceholder",defaultMessage:"Company"}),programId:o,value:t,inputHtmlId:"sid-company",openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl}),r?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)}));function Fp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Lp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Fp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Fp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Up=Ft((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,i=(e,r)=>{const a=Gs(n,(t=>{t[e]=r}));t.updateViewModel(a)};return q.createElement("div",{id:"sid-step-employment-personal-info",className:"sid-employment-personal-info-container sid-l-container"},q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-employment-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock this Employment-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're a current employee at an eligible company."})," ",q.createElement(Lm,{verificationService:t}),q.createElement(Bm,{verificationService:t}))),q.createElement(uc,{verificationService:t}),q.createElement(Um,{verificationService:t,viewModelDraftDecorator:(e,r)=>{const n=e;n.shouldCollectAddress=sl(r,t.programTheme.config.countries),n.shouldCollectAddress?n.fieldsToSkipValidation=void 0:(n.address1="",n.city="",n.state="",n.postalCode="",n.fieldsToSkipValidation=["address1","city","state","postalCode"])}}),q.createElement(Rp,{value:t.viewModel.organization,verificationService:t,isErrored:!!a.organization,onChange:e=>{al(e,t),ol("organization",e,t)}}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{i("firstName",e),ol("firstName",e,t)}}),q.createElement(Tl,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{i("lastName",e),ol("lastName",e,t)}})),sl(n.countryChoice,t.programTheme.config.countries)?q.createElement(Qm,{isErrored:!!a.address1,errorId:a.address1,onChange:e=>{i("address1",e),ol("address1",e,t)},isRequired:!0,value:n.address1,explanation:q.createElement(or,{id:"addressExplanation",defaultMessage:"Use your home address"})}):null,sl(n.countryChoice,t.programTheme.config.countries)?q.createElement("div",{className:"sid-thirds"},q.createElement(Xm,{isErrored:!!a.city,errorId:a.city,onChange:e=>{i("city",e),ol("city",e,t)},value:n.city,isRequired:!0}),q.createElement(Pp,{isRequired:!0,options:gl(t.programTheme,e),value:n.state||void 0,isErrored:Boolean(a.state),onChange:function(){var e=gr((function*(e){const r=e?e.value:void 0;i("state",r),ol("state",r,t)}));return function(t){return e.apply(this,arguments)}}(),label:q.createElement(or,{id:"state",defaultMessage:"State"})}),q.createElement(Ym,{isErrored:!!a.postalCode,onChange:e=>{i("postalCode",e),ol("postalCode",e,t)},value:n.postalCode})):null,q.createElement(Al,{value:n.email,isErrored:!!a.email,explanation:q.createElement(or,{id:"employment.emailExplanation",defaultMessage:"Use your work email if you have one"}),onChange:e=>{i("email",e),ol("email",e,t)},onKeyDown:e=>fl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(gm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{i("phoneNumber",e),ol("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,Cr()(r=Mn().customFormFields).call(r,(e=>q.createElement(zm,{config:e,verificationService:t}))),q.createElement(fm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{i("metadata",Lp(Lp({},t.viewModel.metadata),{},{marketConsentValue:e})),ol("marketConsentValue",e,t)},viewModel:n}),q.createElement(jm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-employment-submit sid-submit"},q.createElement("button",{id:"sid-submit-wrapper__collect-info",onClick:()=>ml(n,t,ve.collectEmployeePersonalInfo),type:"submit",className:"sid-btn sid-employment-submit-btn sid-btn--dark sid-l-full-width "+(so(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-label":"submit","aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text",className:"sid-employment-submit-btn__text"},q.createElement(or,{id:"verifyMyEmploymentStatus",defaultMessage:"Verify My Employment Status"}))))),q.createElement(Rm,{verificationService:t}))})),Bp=Ft((({value:e,isErrored:t,onChange:r,explanation:n,intl:a,placeholder:i="",isRequired:o=!1})=>q.createElement("div",{className:"sid-field sid-driver-license-number"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"driverLicenseNumber",defaultMessage:"Driver license number"}),htmlForLabel:"sid-driver-license-number",id:"sid-driver-license-number-label",displayClasses:`sid-field__label-with-explanation${i&&" sid-h-screen-reader-only"}`,isRequired:o},n||(o?"":q.createElement(or,{id:"optional",defaultMessage:"Optional"}))),q.createElement(Sl,{id:"driver-license-number",isErrored:t,onChange:e=>r(e.target.value),placeholder:i||a.formatHTMLMessage({id:"driverLicenseNumberPlaceholder",defaultMessage:"Driver license number"}),refId:"driverLicenseNumber",value:e,required:o,"aria-labelledby":"sid-driver-license-number-label"}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidDriverLicenseNumber",defaultMessage:"Invalid driver license number"})):null)));function Vp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function zp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Vp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Vp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const jp=Ft((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,i=t.verificationResponse,o=Ad(i),s=(e,r)=>{const a=Gs(n,(t=>{t[e]=r}));t.updateViewModel(a)};return rl(),q.createElement("div",{id:"sid-step-driver-license-personal-info",className:"sid-drivers-license-personal-info-container sid-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-drivers-license-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name and other fields"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(or,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:" Enter your first and last name on the form as it appears on your official document(s). Keep in mind that may be your given name."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-drivers-license-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock this Special Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you have a valid driver license"})),q.createElement("div",{className:"sid-header__how-verifying-works sid-l-horz-center"},q.createElement(Lm,{verificationService:t}),q.createElement(Bm,{verificationService:t}))),q.createElement(uc,{verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{s("firstName",e),ol("firstName",e,t)}}),q.createElement(Tl,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{s("lastName",e),ol("lastName",e,t)}})),q.createElement(Al,{value:n.email,isErrored:!!a.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Personal email address is recommended"}),onChange:e=>{s("email",e),ol("email",e,t)},onKeyDown:e=>fl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(gm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{s("phoneNumber",e),ol("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,q.createElement(Pp,{isRequired:!0,options:gl(t.programTheme,e),value:n.state||void 0,isErrored:Boolean(a.state),onChange:function(){var e=gr((function*(e){const r=e?e.value:void 0;s("state",r),ol("state",r,t)}));return function(t){return e.apply(this,arguments)}}(),label:q.createElement(or,{id:"driverLicenseState",defaultMessage:"Driver license state"})}),q.createElement(Bp,{value:n.driverLicenseNumber,isErrored:!!a.driverLicenseNumber,isRequired:!0,onChange:e=>{s("driverLicenseNumber",e),ol("driverLicenseNumber",e,t)}}),Cr()(r=Mn().customFormFields).call(r,(e=>q.createElement(zm,{config:e,verificationService:t}))),q.createElement(fm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{s("metadata",zp(zp({},t.viewModel.metadata),{},{marketConsentValue:e})),ol("marketConsentValue",e,t)},viewModel:n}),q.createElement(jm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-drivers-license-submit sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ml(n,t,ve.collectDriverLicensePersonalInfo),type:"submit",className:"sid-btn sid-drivers-license-submit-btn sid-btn--dark sid-l-full-width "+(so(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyIdentityStatus",defaultMessage:"Verify My Identity"}))))),q.createElement(Rm,{verificationService:t}))}));function Hp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function $p(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Hp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Hp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const qp=Ft((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,i=t.verificationResponse,o=Ad(i),s=n.localeChoice.value,l=(e,r)=>{const a=Gs(n,(t=>{t[e]=r}));t.updateViewModel(a)};return rl(),q.createElement("div",{id:"sid-step-general-identity-personal-info",className:"sid-general-identity-personal-info-container sid-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-general-identity-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name and other fields"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(or,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:" Enter your first and last name on the form as it appears on your official document(s). Keep in mind that may be your given name."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-general-identity-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock this Special Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify your identity"})),q.createElement("div",{className:"sid-header__how-verifying-works sid-l-horz-center"},q.createElement(Lm,{verificationService:t}),q.createElement(Bm,{verificationService:t}))),q.createElement(uc,{verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{l("firstName",e),ol("firstName",e,t)}}),q.createElement(Tl,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{l("lastName",e),ol("lastName",e,t)}})),q.createElement(Al,{value:n.email,isErrored:!!a.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Personal email address is recommended"}),onChange:e=>{l("email",e),ol("email",e,t)},onKeyDown:e=>fl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(gm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{l("phoneNumber",e),ol("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,q.createElement(Tm,{isErrored:!!a.birthDate,errorId:a.birthDate,locale:s,onChange:e=>{l("birthDate",e),ol("birthDate",e,t)},value:n.birthDate}),q.createElement(Qm,{isErrored:!!a.address1,errorId:a.address1,onChange:e=>{l("address1",e),ol("address1",e,t)},value:n.address1,isRequired:!0}),q.createElement("div",{className:"sid-extra-address-inputs sid-thirds"},q.createElement(Xm,{isErrored:!!a.city,errorId:a.city,onChange:e=>{l("city",e),ol("city",e,t)},value:n.city,isRequired:!0}),q.createElement(Pp,{isRequired:!0,options:gl(t.programTheme,e),value:n.state||void 0,isErrored:Boolean(a.state),onChange:function(){var e=gr((function*(e){const r=e?e.value:void 0;l("state",r),ol("state",r,t)}));return function(t){return e.apply(this,arguments)}}()}),q.createElement(Ym,{isErrored:!!a.postalCode,onChange:e=>{l("postalCode",e),ol("postalCode",e,t)},value:n.postalCode,isRequired:!0})),Cr()(r=Mn().customFormFields).call(r,(e=>q.createElement(zm,{config:e,verificationService:t}))),q.createElement(fm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{l("metadata",$p($p({},t.viewModel.metadata),{},{marketConsentValue:e})),ol("marketConsentValue",e,t)},viewModel:n}),q.createElement(jm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-general-identity-submit sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ml(n,t,ve.collectGeneralIdentityPersonalInfo),type:"submit",className:"sid-btn sid-general-identity-submit-btn sid-btn--dark sid-l-full-width "+(so(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyIdentityStatus",defaultMessage:"Verify My Identity"}))))),q.createElement(Rm,{verificationService:t}))}));function Wp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Gp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Wp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Wp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Yp=Ft((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,i=t.verificationResponse,o=Ad(i),s=n.localeChoice.value,l=(e,r)=>{const a=Gs(n,(t=>{t[e]=r}));t.updateViewModel(a)};return rl(),q.createElement("div",{id:"sid-step-hybrid-identity-personal-info",className:"sid-hybrid-identity-personal-info-container sid-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-hybrid-identity-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name and other fields"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(or,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:" Enter your first and last name on the form as it appears on your official document(s). Keep in mind that may be your given name."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-hybrid-identity-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock this Special Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify your identity"})),q.createElement("div",{className:"sid-header__how-verifying-works sid-l-horz-center"},q.createElement(Lm,{verificationService:t}),q.createElement(Bm,{verificationService:t}))),q.createElement(uc,{verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{l("firstName",e),ol("firstName",e,t)}}),q.createElement(Tl,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{l("lastName",e),ol("lastName",e,t)}})),q.createElement(Al,{value:n.email,isErrored:!!a.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Personal email address is recommended"}),onChange:e=>{l("email",e),ol("email",e,t)},onKeyDown:e=>fl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(gm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{l("phoneNumber",e),ol("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,q.createElement(Tm,{isErrored:!!a.birthDate,errorId:a.birthDate,locale:s,onChange:e=>{l("birthDate",e),ol("birthDate",e,t)},value:n.birthDate}),q.createElement(Qm,{isErrored:!!a.address1,errorId:a.address1,onChange:e=>{l("address1",e),ol("address1",e,t)},value:n.address1,isRequired:!0}),q.createElement("div",{className:"sid-thirds"},q.createElement(Xm,{isErrored:!!a.city,errorId:a.city,onChange:e=>{l("city",e),ol("city",e,t)},value:n.city,isRequired:!0}),q.createElement(Pp,{isRequired:!0,options:gl(t.programTheme,e),value:n.state||void 0,isErrored:Boolean(a.state),onChange:function(){var e=gr((function*(e){const r=e?e.value:void 0;l("state",r),ol("state",r,t)}));return function(t){return e.apply(this,arguments)}}()}),q.createElement(Ym,{isErrored:!!a.postalCode,onChange:e=>{l("postalCode",e),ol("postalCode",e,t)},value:n.postalCode})),q.createElement(Bp,{value:n.driverLicenseNumber,isErrored:!!a.driverLicenseNumber,isRequired:!0,onChange:e=>{l("driverLicenseNumber",e),ol("driverLicenseNumber",e,t)}}),Cr()(r=Mn().customFormFields).call(r,(e=>q.createElement(zm,{config:e,verificationService:t}))),q.createElement(fm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{l("metadata",Gp(Gp({},t.viewModel.metadata),{},{marketConsentValue:e})),ol("marketConsentValue",e,t)},viewModel:n}),q.createElement(jm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-hybrid-identity-submit sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ml(n,t,ve.collectHybridIdentityPersonalInfo),type:"submit",className:"sid-btn sid-hybrid-identity-submit-btn sid-btn--dark sid-l-full-width "+(so(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyIdentityStatus",defaultMessage:"Verify My Identity"}))))),q.createElement(Rm,{verificationService:t}))})),Kp=Ft((({value:e,isErrored:t,onChange:r,verificationService:n,intl:a,placeholder:i=""})=>{const{programId:o}=n;return q.createElement("div",{className:"sid-field sid-licensed-professional-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"organization",defaultMessage:"Organization"}),htmlForLabel:"sid-licensed-professional",id:"sid-licensed-professional-label",displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(Cm,{className:t?"sid-text-input--error":"",countryCode:oe((()=>n.viewModel.countryChoice.value)),onChange:e=>r(e),minimumSearchValueLength:Mn().minimumOrganizationSearchLength,placeholder:i||a.formatHTMLMessage({id:"organizationNamePlaceholder",defaultMessage:"Organization"}),programId:o,value:e,inputHtmlId:"sid-licensed-professional",openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)}));function Zp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Jp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Zp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Zp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Xp={LICENSED_COSMETOLOGIST:"Licensed Cosmetologist",LICENSED_REAL_ESTATE_AGENT:"Licensed Real Estate Agent",VETERINARIAN:"Veterinarian",CHILD_CARE_WORKER:"Child Care Worker",LIBRARIAN:"Librarian"},Qp=Ft((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,i=t.verificationResponse,o=Ad(i),s=n.localeChoice.value,l=(e,r)=>{const a=Gs(n,(t=>{t[e]=r}));t.updateViewModel(a)},u=t=>t?e.formatHTMLMessage({id:t,defaultMessage:Xp[t]}):"";return q.createElement("div",{id:"sid-step-licensed-professional-personal-info",className:"sid-licensed-professional-personal-info-container sid-l-container"},o?q.createElement("p",null,"Failied instant match"):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-licensed-professional-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock this Special Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you have a professional license in your field."})),q.createElement("div",{className:"sid-header__how-verifying-works sid-l-horz-center"},q.createElement(Lm,{verificationService:t}),q.createElement(Bm,{verificationService:t}))),q.createElement(uc,{verificationService:t}),q.createElement(Um,{verificationService:t}),q.createElement(fp,{segmentId:"licensed-professional",value:{value:n.statuses?n.statuses[0]:"",label:n.statuses?u(n.statuses[0]):""},isErrored:!!a.statuses,options:(()=>{const e=i.availableStatuses,t=[];if(e)for(const r of e)t.push({value:r,label:u(r)});return t})(),onChange:e=>{const r=e?[e.value]:[];l("statuses",r),ol("statuses",e?e.value:"",t)}}),q.createElement(Kp,{isErrored:!!a.organization,onChange:e=>{al(e,t),ol("organization",e,t)},value:t.viewModel.organization,verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{l("firstName",e),ol("firstName",e,t)}}),q.createElement(Tl,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{l("lastName",e),ol("lastName",e,t)}})),q.createElement(Tm,{isErrored:!!a.birthDate,errorId:a.birthDate,locale:s,onChange:e=>{l("birthDate",e),ol("birthDate",e,t)},value:n.birthDate}),q.createElement(Ym,{isErrored:!!a.postalCode,onChange:e=>{l("postalCode",e),ol("postalCode",e,t)},value:n.postalCode,explanation:q.createElement(or,{id:"postalCodeExplanation",defaultMessage:"Use the location on file with your licensing body"})}),q.createElement(Al,{value:n.email,isErrored:!!a.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Needed to send you your unique code"}),onChange:e=>{l("email",e),ol("email",e,t)},onKeyDown:e=>fl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(gm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{l("phoneNumber",e),ol("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,Cr()(r=Mn().customFormFields).call(r,(e=>q.createElement(zm,{config:e,verificationService:t}))),q.createElement(fm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{l("metadata",Jp(Jp({},t.viewModel.metadata),{},{marketConsentValue:e})),ol("marketConsentValue",e,t)},viewModel:n}),q.createElement(jm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-licensed-professional-submit sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ml(n,t,ve.collectLicensedProfessionalPersonalInfo),type:"submit",className:"sid-btn sid-licensed-professional-submit-btn sid-btn--dark sid-l-full-width "+(so(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyLicensedProfessionalStatus",defaultMessage:"Verify My Licensed Professional Status"}))))),q.createElement(Rm,{verificationService:t}))}));function eh(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function th(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=eh(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=eh(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const rh=Ft((({verificationService:e})=>{var t;const r=e.viewModel,{fieldValidationErrors:n}=e,a=e.verificationResponse,i=Ad(a),o=(t,n)=>{const a=Gs(r,(e=>{e[t]=n}));e.updateViewModel(a)};return(0,q.useEffect)((()=>{o("statuses",a.availableStatuses)}),[]),q.createElement("div",{id:"sid-step-mover-personal-info",className:"sid-mover-personal-info-container sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-mover-personal-info-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Address"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(or,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name and address must match what is on your official documentation."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-mover-personal-info-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock this Special Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you have recently moved."}),q.createElement("br",null),q.createElement(Lm,{verificationService:e}),q.createElement(Bm,{verificationService:e}))),q.createElement(uc,{verificationService:e}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:r.firstName,isErrored:!!n.firstName,onChange:t=>{o("firstName",t),ol("firstName",t,e)}}),q.createElement(Tl,{value:r.lastName,isErrored:!!n.lastName,onChange:t=>{o("lastName",t),ol("lastName",t,e)}})),q.createElement(Qm,{value:r.address1,isErrored:!!n.address1,errorId:n.address1,onChange:t=>{o("address1",t),ol("address1",t,e)},label:q.createElement(or,{id:"streetAddress",defaultMessage:"Street Address"}),isRequired:!0}),q.createElement(Ym,{value:r.postalCode,isErrored:!!n.postalCode,onChange:t=>{o("postalCode",t),ol("postalCode",t,e)}}),q.createElement(Al,{value:r.email,isErrored:!!n.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Needed to send you your unique code"}),onChange:t=>{o("email",t),ol("email",t,e)},onKeyDown:e=>fl(e)}),e.programTheme.isSmsNotifierConfigured||e.programTheme.smsLoopEnabled?q.createElement(gm,{isRequired:!!e.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:t=>{o("phoneNumber",t),ol("phoneNumber",t,e)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,Cr()(t=Mn().customFormFields).call(t,(t=>q.createElement(zm,{config:t,verificationService:e}))),q.createElement(fm,{verificationService:e,isErrored:!!n.marketConsentValue,onChange:t=>{o("metadata",th(th({},e.viewModel.metadata),{},{marketConsentValue:t})),ol("marketConsentValue",t,e)},viewModel:r}),q.createElement(jm,{verificationService:e,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-mover-submit sid-submit"},q.createElement("button",{id:"sid-submit-wrapper__collect-info",onClick:()=>ml(r,e,ve.collectMoverPersonalInfo),type:"submit",className:"sid-btn sid-mover-submit-btn sid-btn--dark sid-l-full-width "+(so(r,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-label":"submit","aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyMoverStatus",defaultMessage:"Verify My Recent Mover Status"}))))),q.createElement(Rm,{verificationService:e}))})),nh=Ft((({value:e,isErrored:t,onChange:r,verificationService:n,intl:a,placeholder:i="",isRequired:o=!1})=>{const{programId:s}=n;return q.createElement("div",{className:"sid-field sid-low-income-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"lowIncomeOrganization",defaultMessage:"Government Assistance Program"}),htmlForLabel:"sid-low-income",id:"sid-low-income-label",displayClasses:i&&"sid-h-screen-reader-only",isRequired:o}),q.createElement(Cm,{className:t?"sid-text-input--error":"",countryCode:oe((()=>n.viewModel.countryChoice.value)),onChange:e=>r(e),minimumSearchValueLength:Mn().minimumOrganizationSearchLength,placeholder:i||a.formatHTMLMessage({id:"lowIncomeOrganizationPlaceholder",defaultMessage:"Government Assistance Program"}),programId:s,value:e,inputHtmlId:"sid-low-income",openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)})),ah=Ft((({value:e,isErrored:t,onChange:r,intl:n,placeholder:a=""})=>q.createElement(Nl,{fieldId:"ebtCardNumber",value:e,onChange:r,placeholder:a||n.formatHTMLMessage({id:"ebtCardNumberPlaceholder",defaultMessage:"EBT card Number"}),label:q.createElement(or,{id:"ebtCardNumber",defaultMessage:"EBT card Number"}),errorMessage:t&&q.createElement(or,{id:"errorId.invalidEBTCardNumber",defaultMessage:"Invalid EBT Card Number"}),showPlaceholderAndHideLabel:!!a})));function ih(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function oh(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=ih(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=ih(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const sh={SNAP_BENEFITS:"Snap Benefits Recipient",OTHER_GOVERNMENT_ASSISTANCE:"Other Government Assistance Recipient"},lh=Ft((({intl:e,verificationService:t})=>{const r=t.viewModel,{fieldValidationErrors:n}=t,a=t.verificationResponse,i=Ad(a),o=r.localeChoice.value,s=r.statuses[0]?r.statuses[0]:void 0,l="SNAP_BENEFITS"===s,u=(e,n)=>{const a=Gs(r,(t=>{t[e]=n}));t.updateViewModel(a)},c=t=>t?e.formatHTMLMessage({id:t,defaultMessage:sh[t]}):"";return q.useEffect((()=>{if(l){Sf({fieldsToSkipValidation:["organization"]})}}),[l]),q.createElement("div",{id:"sid-step-low-income-personal-info",className:"sid-low-income-personal-info-container sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-low-income-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your full name & other fields"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(or,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your information must match what is on your government-issued document(s)."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-low-income-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock this Special Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you qualify for an eligible government assistance program."})," ",q.createElement(Lm,{verificationService:t}),q.createElement(Bm,{verificationService:t}))),q.createElement(uc,{verificationService:t}),q.createElement(Um,{verificationService:t}),q.createElement(fp,{segmentId:"low-income",value:{value:r.statuses?r.statuses[0]:"",label:r.statuses?c(r.statuses[0]):""},isErrored:!!n.statuses,options:(()=>{const e=a.availableStatuses,t=[];if(e)for(const r of e)t.push({value:r,label:c(r)});return t})(),onChange:e=>{const r=e?[e.value]:[];u("statuses",r),ol("statuses",e?e.value:"",t)}}),"SNAP_BENEFITS"===s&&q.createElement(ah,{value:r.ebtCardNumber,isErrored:!!n.ebtCardNumber,onChange:e=>{u("ebtCardNumber",e),ol("ebtCardNumber",e,t)}}),"OTHER_GOVERNMENT_ASSISTANCE"===s&&q.createElement(nh,{isErrored:!!n.organization,onChange:e=>{al(e,t),ol("organization",e,t)},value:t.viewModel.organization,verificationService:t,isRequired:!0}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:r.firstName,isErrored:!!n.firstName,onChange:e=>{u("firstName",e),ol("firstName",e,t)}}),q.createElement(Tl,{value:r.lastName,isErrored:!!n.lastName,onChange:e=>{u("lastName",e),ol("lastName",e,t)}})),q.createElement(Tm,{isErrored:!!n.birthDate,errorId:n.birthDate,locale:o,onChange:e=>{u("birthDate",e),ol("birthDate",e,t)},value:r.birthDate}),q.createElement(Qm,{isErrored:!!n.address1,errorId:n.address1,onChange:e=>{u("address1",e),ol("address1",e,t)},value:r.address1,isRequired:!0,explanation:q.createElement(or,{id:"addressExplanation",defaultMessage:"Use your home address"})}),q.createElement("div",{className:"sid-address-extra-fields sid-thirds"},q.createElement(Xm,{isErrored:!!n.city,errorId:n.city,onChange:e=>{u("city",e),ol("city",e,t)},value:r.city,isRequired:!0}),q.createElement(Pp,{isRequired:!0,options:gl(t.programTheme,e),value:r.state||void 0,isErrored:Boolean(n.state),onChange:function(){var e=gr((function*(e){const r=e?e.value:void 0;u("state",r),ol("state",r,t)}));return function(t){return e.apply(this,arguments)}}()}),q.createElement(Ym,{isErrored:!!n.postalCode,onChange:e=>{u("postalCode",e),ol("postalCode",e,t)},value:r.postalCode})),q.createElement(Al,{value:r.email,isErrored:!!n.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:" "}),onChange:e=>{u("email",e),ol("email",e,t)},onKeyDown:e=>fl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(gm,{isRequired:!!t.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:e=>{u("phoneNumber",e),ol("phoneNumber",e,t)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,q.createElement(fm,{verificationService:t,isErrored:!!n.marketConsentValue,onChange:e=>{u("metadata",oh(oh({},t.viewModel.metadata),{},{marketConsentValue:e})),ol("marketConsentValue",e,t)},viewModel:r}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-low-income-submit sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ml(r,t,ve.collectLowIncomePersonalInfo),type:"submit",className:"sid-btn sid-low-income-submit-btn sid-btn--dark sid-l-full-width "+(so(r,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyLowIncomeStatus",defaultMessage:"Verify Status"}))))),q.createElement(Rm,{verificationService:t}))}));String.prototype.insertAt=function(e,t){return e>this.length?this:`${Tr()(this).call(this,0,e)}${t}${Tr()(this).call(this,e)}`};const uh=e=>{let t;try{if(t=e.toString(),!t)throw new Error}catch(e){return""}return t.replace(/[^\d]/g,"").insertAt(3,"-").insertAt(6,"-").replace("--","").replace(/-$/,"")},ch=Ft((({value:e,isErrored:t,onChange:r,intl:n,placeholder:a=""})=>q.createElement("div",{className:"sid-field sid-ssn"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"ssn",defaultMessage:"Social Security Number"}),htmlForLabel:"sid-ssn",id:"sid-ssn-label",displayClasses:a&&"sid-h-screen-reader-only"}),q.createElement(Sl,{id:"ssn",refId:Oe.socialSecurityNumber,className:"sid-ssn__input",isErrored:t,required:!0,placeholder:a||n.formatHTMLMessage({id:"ssnPlaceholder",defaultMessage:"000-00-0000"}),value:uh(e),hidePlaceholder:!1,onChange:e=>(e=>{r(e)})((e=>{var t;return Tr()(t=e.replace(/-/g,"")).call(t,0,9)})(e.target.value)),"aria-labelledby":"sid-ssn-label"}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidSocialSecurityNumber",defaultMessage:"Invalid SSN"})):null))),dh=({useSsn:e,useDocUpload:t,verificationService:r})=>q.createElement("div",{id:"sid-ssn-choice",className:"sid-ssn-choice-container sid-l-container sid-l-horz-center"},q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-ssn-choice-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:r})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.collectSocialSecurityNumber.selectOption",defaultMessage:"Select an option"}))),q.createElement("div",{className:"sid-ssn-choice__choice1 sid-l-space-top-lg"},q.createElement("button",{type:"button",onClick:e,className:"sid-btn sid-ssn-choice-one-btn sid-btn--light sid-l-full-width sid-use-ssn"},q.createElement(or,{id:"step.collectSocialSecurityNumber.useSsn",defaultMessage:"Verify using your social security number"}))),q.createElement("div",{className:"sid-ssn-choice__choice2 sid-l-space-top-md"},q.createElement("button",{type:"button",onClick:t,className:"sid-btn sid-ssn-choice-two-btn sid-btn--light sid-l-full-width sid-use-doc-upload"},q.createElement(or,{id:"step.collectSocialSecurityNumber.uploadDoc",defaultMessage:"Upload a document"}))),q.createElement("div",{className:"sid-ssn-choice__footer sid-l-space-top-lg"},q.createElement(Rm,{verificationService:r}))),fh=Ft((({verificationService:e})=>{const[t,r]=q.useState(!0),n=e.viewModel,{fieldValidationErrors:a}=e,i=()=>e.submitStep(ve.cancelSocialSecurityNumber,n,e.verificationResponse),o=n.socialSecurityNumber&&9===n.socialSecurityNumber.toString().length;return t?q.createElement(dh,{useSsn:()=>r(!1),useDocUpload:i,verificationService:e}):q.createElement("div",{id:"sid-step-social-security",className:"sid-social-sercurity-number-container sid-l-container sid-l-horz-center"},q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-social-security-number-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.collectSocialSecurityNumber.title",defaultMessage:"Enter your social security number"})),q.createElement(uc,{verificationService:e}),q.createElement("div",{className:"sid-ssn-wrapper"},q.createElement(ch,{value:n.socialSecurityNumber,onChange:t=>{((t,r)=>{const a=Gs(n,(e=>{e[t]=r}));e.updateViewModel(a)})("socialSecurityNumber",t),ol("socialSecurityNumber",t,e)},isErrored:!!a[Oe.socialSecurityNumber],placeholder:"000-00-0000"}))),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-social-security-number-submit sid-submit"},q.createElement("button",{id:"sid-submit-wrapper__collect-info",onClick:()=>ml(n,e,ve.collectSocialSecurityNumber),type:"submit",className:"sid-btn sid-social-security-number-submit-btn sid-btn--dark sid-l-full-width "+(o?"":"sid-btn--disabled-like"),"aria-label":"submit",ref:e=>Qs("submitButton",e)},q.createElement(or,{id:"proceed",defaultMessage:"Proceed"})))),q.createElement("div",{className:"sid-form-region sid-social-security-number-upload-instead-btn sid-l-space-top-md",role:"button",tabIndex:0,onKeyUp:i,onClick:i},q.createElement("div",{className:"sid-social-security-number-upload-instead-text sid-h-link-like"},q.createElement(or,{id:"step.collectSocialSecurityNumber.uploadInstead",defaultMessage:"Upload a document instead"}))),q.createElement(Rm,{verificationService:e}))})),mh=({verificationService:e,isCentered:t})=>q.createElement("div",{className:t?"sid-footer__powered-by-container--stacked sid-l-horz-center":"sid-footer__powered-by-container"},q.createElement("div",{className:t?"sid-footer__powered-by--stacked sid-l-horz-center":"sid-footer__powered-by"},q.createElement(or,{id:"poweredBy",defaultMessage:"Verification services powered by SheerID."})),q.createElement("div",{className:t?"sid-l-space-top-sm":""}," ",q.createElement(Pm,{verificationService:e}))),ph=({verificationService:e})=>{const t=oe((()=>e.verificationResponse.segment)),r=q.useCallback((()=>{gr((function*(){const{programId:r}=e;yield e.resetState(),e.fetchNewVerificationRequest(r,t,void 0,undefined,!0)}))()}),[e.programId,t]);return q.createElement("button",{type:"button",className:"sid-btn sid-btn-light sid-btn__try-again","aria-label":"submit",onClick:r,onKeyPress:r,tabIndex:0},q.createElement(or,{id:"tryAgain",defaultMessage:"Try again"}))},hh=({children:e})=>q.createElement("div",{className:"sid-l-space-top-lg sid-error-button-container sid-l-half-width sid-l-horz-center"},e),gh=Ft((({verificationService:e,errorId:t})=>{const r=e.verificationResponse;let n=oe((()=>r.errorIds))||[];t&&(n=[t,...n]);const a=oe((()=>n[0]),"error");let i={id:"error",defaultMessage:"Error"},o="sid-error-logo-container sid-l-horz-center",s=q.createElement(hh,null,q.createElement(ph,{verificationService:e}));if(oe((()=>e.messages[`step.error.errorId.${a}.title`]))&&(i={id:`step.error.errorId.${a}.title`,defaultMessage:e.messages[`step.error.errorId.${a}.title`]}),oe((()=>e.messages[`step.error.errorId.${a}.buttonText`]))&&oe((()=>r.redirectUrl))?s=q.createElement(hh,null,q.createElement(bd,{href:r.redirectUrl,onClick:()=>$d(ve.error,r.redirectUrl),className:"sid-btn sid-error-btn sid-btn-light"},q.createElement(or,{id:`step.error.errorId.${a}.buttonText`,defaultMessage:e.messages[`step.error.errorId.${a}.buttonText`]}))):$i()(n).call(n,"missingRequiredMetadata")&&(s=null),$i()(n).call(n,"verificationLimitExceeded")&&(s=null,o+=" sid-l-space-top-xl"),$i()(n).call(n,"unauthorizedAccountStatus")){const t=oe((()=>e.programTheme.config.brandInfo.faqUrl));s=t?q.createElement(hh,null,q.createElement(bd,{href:t,onClick:()=>$d(ve.error,t),className:"sid-btn sid-faq-btn sid-btn-light"},q.createElement(or,{id:"step.error.errorId.unauthorizedAccountStatus.buttonText",defaultMessage:e.messages["step.error.errorId.unauthorizedAccountStatus.buttonText"]}))):null}return q.createElement("div",{id:"sid-step-error",className:"sid-error-container sid-l-container"},q.createElement("div",{className:"sid-header sid-l-horz-center"},q.createElement("div",{className:o},q.createElement(mm,{verificationService:e,fallbackLogo:q.createElement("img",{className:"sid-error-logo sid-l-lead-image",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"})})),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(or,i)),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-l-space-top-md"},q.createElement("div",{className:"sid-error-msg sid-l-horz-center"},n?q.createElement("p",null,Cr()(n).call(n,(t=>q.createElement(or,{key:t,id:`errorId.${t}`,defaultMessage:t,values:{feedbackUrl:pn.FEEDBACK_FORM_URL,programId:e.programId||"",locale:Oa(e.viewModel,r).replace("-","_")}})))):null),s)),q.createElement("div",{className:"sid-footer sid-powered-by-container sid-l-horz-center sid-l-space-top-xl sid-h-small-text"},q.createElement(mh,{verificationService:e,isCentered:!0})))})),vh="Please sign in to your school's web portal. It will open in a new tab.",yh=({verificationService:e})=>{const t=e.verificationResponse.redirectUrl,r=Boolean(t),n=e.verificationResponse.rewardCode||"${rewardCode}",a="noCode"===e.programTheme.config.offerType,{verificationId:i}=e.verificationResponse,{rewardDisplay:o}=e.programTheme.config,s=!a&&!!o.length;return q.createElement("div",{id:"sid-step-success",className:"sid-success-container sid-l-container"},q.createElement("div",{className:"sid-header sid-l-horz-center sid-l-space-top-md"},q.createElement("div",{className:"sid-success-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e,fallbackLogo:q.createElement("img",{className:"sid-success-logo-default sid-l-lead-image",alt:"",src:"https://assets-resources.sheerid.com/common/images/2018/icons/circle-check.svg"})})),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md",role:"alert","aria-live":"polite"},q.createElement(or,{id:"step.success.title",defaultMessage:"Success! You've been verified."})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-l-two-thirds-width"},q.createElement(or,{id:"step.success.subtitle",defaultMessage:"Here is your personal coupon code.\n It is unique to you and can only be used once."}))),s&&q.createElement("div",{className:"sid-l-horz-center sid-reward-container sid-l-space-top-md"},Cr()(o).call(o,(e=>e!==Me.TEXT?q.createElement("img",{key:e,className:"sid-l-space-top-md sid-barcode",alt:n,src:Jn(i,"rewardCode",e)}):q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-reward-code sid-l-space-top-md sid-h-jumbo-text sid-l-horz-center"},n),q.createElement("div",{className:"sid-l-space-top-md sid-h-bold-text sid-l-horz-center"},q.createElement(mr,{textToCopy:n,notificationText:q.createElement(or,{id:"copied",defaultMessage:"Copied"})},q.createElement(or,{id:"step.success.copyCouponCode",defaultMessage:"Copy Coupon code"}))))))),q.createElement("div",{className:"sid-footer sid-success-footer sid-l-horz-center "+(a?"sid-l-space-top-md":"sid-l-space-top-lg")},q.createElement(or,{id:"step.success.emailNotification",defaultMessage:"We have emailed you a copy so you can use your code now or later. Look for the email from verify@sheerid.com"})),r?q.createElement("div",{className:"sid-submit sid-success-submit sid-l-space-top-md"},q.createElement("button",{type:"button",onClick:()=>(e=>{window.open(e,"_parent").focus()})(t),className:"sid-btn sid-success-redirect-btn sid-btn--dark"},q.createElement(or,{id:"step.success.redirectButtonText",defaultMessage:"Use code now"}))):"",q.createElement("div",{className:"sid-footer sid-success-verification-only-footer sid-l-horz-center sid-l-space-top-lg sid-h-small-text"},q.createElement(or,{id:"companyName",defaultMessage:"{Company}"},(e=>q.createElement(or,{id:"step.success.verificationOnly",defaultMessage:"\n SheerID handles verification only.\n Now that you've been approved, please direct all questions about the\n promotion terms to {companyName} customer service.\n ",values:{companyName:e}})))))};var bh=o(2035),Eh=o.n(bh);const wh=q.memo((({countdownSeconds:e,onCountdownFinish:t,logo:r})=>{const[n,a]=q.useState(e),i=q.useRef(n),o=q.useRef(null),s=()=>{const e=i.current-1;a(e),i.current=e,e<0&&(t(),clearInterval(o.current))};return q.useEffect((()=>{if(!_c())return o.current=Eh()(s,1e3),()=>clearInterval(o.current)}),[]),q.createElement("div",{className:"sid-header sid-l-horz-center","data-testid":"sid-countdown-pending"},q.createElement("div",{className:"sid-l-horz-center"},r),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(or,{id:"step.pending.titleCountdown",defaultMessage:"Processing"})),q.createElement("div",{className:"sid-header__subtitle-one"},q.createElement(or,{id:"step.pending.subtitleCountdown",defaultMessage:"Hang tight while we upload and scan your documents."})),q.createElement("div",{id:"sid-step-pending",className:"sid-l-container"},q.createElement("div",{className:"sid-countdown"},`00:${Tr()(l=`0${n}`).call(l,-2)}`)),q.createElement("div",{className:"sid-l-space-top-xl"}));var l})),Sh=({logo:e,cancelSSO:t})=>q.createElement("div",{className:"sid-header sid-l-horz-center"},q.createElement("div",{className:"sid-pending-logo-container sid-l-horz-center"},e),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(or,{id:"step.sso.title",defaultMessage:"Verify using your school credentials"})),q.createElement("div",{className:"sid-header__subtitle-one"},q.createElement(or,{id:"step.sso.subtitle",defaultMessage:"Please sign in to your school's web portal. It will open in a new tab."})),q.createElement("div",{className:"sid-l-space-top-xl"}),q.createElement("div",{className:"sid-header__subtitle-two sid-h-small-text sid-l-space-top-md"},q.createElement(or,{id:"step.sso.subtitle2",defaultMessage:"Can't sign in to your school?"}),q.createElement("div",{className:"sid-form-region sid-sso-pending-submit sid-submit-wrapper sid-l-space-top-md"},q.createElement("button",{onClick:t,type:"submit",className:"sid-btn sid-sso-pending-submit-btn sid-btn--dark sid-l-full-width","aria-label":"submit"},q.createElement(or,{id:"step.sso.cancel",defaultMessage:"Upload Proof of Enrollment"})))),q.createElement("div",{className:"sid-l-space-top-xl"}));function Mh(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}const Ch=({intl:e,logo:t,verificationService:r})=>{const n=r.verificationResponse,[a,i]=q.useState(!1);!a&&((e,t)=>{if(new(Sr())(window.location.search).get("alerting"))return!0;const r=oe((()=>e.estimatedReviewTime)),n=oe((()=>e.maxReviewTime)),a=oe((()=>t.estimatedReviewTime)),i=oe((()=>t.maxReviewTime));return void 0!==r&&r!==a||void 0!==n&&n!==i})(r.previousVerificationResponse,n)&&i(!0);const o=pl(function(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Mh(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Mh(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}({},n),r.programTheme,e);return q.createElement("div",{className:"sid-header sid-l-horz-center","data-testid":"sid-review-pending"},q.createElement("div",{className:"sid-l-horz-center"},t),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(or,{id:"step.pending.titleReview",defaultMessage:"Reviewing"})),q.createElement("div",{className:"sid-header__subtitle-one"},a?q.createElement(or,{id:"step.pending.subtitleAlt",defaultMessage:"SheerID is reviewing your documents, to confirm your status."}):q.createElement(or,{id:"step.pending.turnaroundTime",defaultMessage:"Turnaround time for your language is typically {estReviewTime}, and in rare times of high volume may take up to {maxReviewTime}.",values:o})),q.createElement("div",{className:"sid-header__subtitle-two sid-l-space-top-md"},q.createElement(or,{id:"step.pending.subtitle2",defaultMessage:"Wait here or let us notify you of the outcome."})),q.createElement("div",{className:"sid-header__subtitle-three sid-l-space-top-md"},q.createElement(or,{id:"step.pending.subtitle3",defaultMessage:"You will be contacted via email."})),a?q.createElement("div",{className:"sid-pending-red-box"},q.createElement("ul",null,q.createElement("li",null,q.createElement(or,{id:"step.pending.docDiffLang",defaultMessage:"We identified your document is in a different language."})),q.createElement("li",null,q.createElement(or,{id:"step.pending.turnaroundTime",defaultMessage:"Turnaround time for your language is typically {estReviewTime}, and in rare times of high volume may take up to {maxReviewTime}.",values:o})))):null,q.createElement("div",{className:"sid-l-space-top-xl"}))},Ih=(e,t)=>{const r=q.useRef(null);function n(){clearInterval(r.current)}return q.useEffect((()=>(r.current=Eh()(e,t),()=>n())),[e,t]),n},Nh=Ft((({verificationService:e,intl:t})=>{const{programId:r}=e,{viewModel:n}=e,a=e.previousViewModel||void 0,i=e.verificationResponse.lastResponse||e.previousVerificationResponse||void 0,{verificationId:o}=e.verificationResponse,s=_c(),l=Pc()&&Pc()===ve.sso,u=Pc()&&Pc()===ve.docUpload,c=()=>!(!i||i.currentStep!==ve.sso),[d,f]=q.useState(((e,t,r,n)=>(e||!t)&&!r&&!n)("pending"===Mn().mockStep,c(),l,u)),m=c()||d?5e3:2e4,p=!s&&Ih((()=>{e.fetchExistingVerificationRequest(r,o,i,a,!1)}),m),h=()=>{const t=Gs(n,(()=>{}));he.info("StepSSOComponent submitting cancel request"),p(),e.submitStep(ve.sso,t,i)},g=()=>{f(!1)},v=q.createElement(mm,{verificationService:e,fallbackLogo:q.createElement("img",{className:"sid-l-lead-image",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"})});return q.createElement("div",{id:"sid-step-pending",className:"sid-l-container"},(()=>{const r=c()||l;return d?q.createElement(wh,{logo:v,onCountdownFinish:g,countdownSeconds:20}):r?q.createElement(Sh,{logo:v,cancelSSO:h}):q.createElement(Ch,{verificationService:e,logo:v,intl:t,maxReviewTime:Ga(e.programTheme)})})(),d?q.createElement(mh,{verificationService:e,isCentered:!0}):q.createElement(Rm,{verificationService:e},q.createElement("div",null)," "))})),Dh=Ft((({onChange:e,value:t,isErrored:r,errorId:n,intl:a,placeholder:i=""})=>q.createElement("div",{className:"sid-field sid-sms-code-id"},q.createElement("div",{className:"sid-l-space-top-md"}),r?q.createElement("div",{className:"sid-field-error"},(e=>{switch(e){case"invalidSMSCode":return q.createElement(or,{id:"step.smsLoop.errors.codeVerification",defaultMessage:"Verification code could not be validated."});case"expiredSMSCode":return q.createElement(or,{id:"step.smsLoop.errors.codeExpired",defaultMessage:"Verification code expired."});default:return q.createElement(or,{id:"errorId.unknownError",defaultMessage:"Unknown Error"})}})(n)):null,q.createElement(Sl,{id:"sms-code",isErrored:r,required:!0,placeholder:i||a.formatHTMLMessage({id:"smsCodePlaceholder",defaultMessage:"SMS Code"}),value:t,onChange:t=>e(t.target.value)}))));function Th(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Ah(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Th(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Th(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const xh=Ft((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,a=t.verificationResponse,i=Boolean(t.fieldValidationErrors.smsCode),o=t.previousViewModel||void 0,[s,l]=q.useState(""),[u,c]=q.useState(a.errorIds&&$i()(r=a.errorIds).call(r,"incorrectSMSCodeAttemptLimitExceeded")),d=e.formatHTMLMessage({id:"step.smsLoop.successResend",defaultMessage:"SMS message re-sent successfully"}),f=e.formatHTMLMessage({id:"step.smsLoop.errors.codeResendLimit",defaultMessage:"Maximum number of re-tries has been reached."}),m=e.formatHTMLMessage({id:"step.smsLoop.errors.codeResendLimit",defaultMessage:"Maximum number of re-tries has been reached."}),p=e.formatHTMLMessage({id:"step.smsLoop.errors.resend",defaultMessage:"Error sending the SMS message"});q.useEffect((()=>{u&&l(m)}),[]),oe((()=>a.errorIds.length))&&!t.fieldValidationErrors.smsCode&&t.updateFieldValidationErrors(Ah(Ah({},t.fieldValidationErrors),{},{smsCode:a.errorIds[0]}));const h=function(){var e=gr((function*(e){const t=yield vd.getResendNewSmsCode(e);t?(c(!1),l(204===t.status?d:f)):l(p)}));return function(t){return e.apply(this,arguments)}}();return q.createElement("div",{id:"sid-step-sms-loop",className:"sid-sms-loop-container sid-l-container"},q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.smsLoop.verificationCode",defaultMessage:"Verification Code"})),q.createElement("div",{className:"sid-header__subtitle"},oe((()=>o.phoneNumber))?q.createElement(or,{id:"step.smsLoop.titleWithNumber",defaultMessage:"We've sent an SMS message to the mobile number ending in {number}. Enter your code here.",values:{number:oe((()=>{var e;return Tr()(e=o.phoneNumber).call(e,-4)}),"")}}):q.createElement(or,{id:"step.smsLoop.titleWithoutNumber",defaultMessage:"We've sent an SMS to your mobile number. Please enter the code here."})),q.createElement("div",{className:"sid-sms-code-id-wrapper sid-l-horz-center"},q.createElement(Dh,{onChange:e=>{const r=Gs(n,(t=>{t.smsCode=e,t.phoneNumber=o&&o.phoneNumber}));t.updateViewModel(r)},value:n.smsCode,isErrored:i,errorId:t.fieldValidationErrors.smsCode})),s&&q.createElement("div",null,q.createElement("p",null,s)),q.createElement("div",{className:"sid-submit sid-sms-loop-submit sid-l-space-top-md sid-l-horz-center"},q.createElement("button",{id:"sid-submit-sms-code",onClick:()=>{he.info("StepSMSLoop submitting form"),t.submitStep(ve.smsLoop,n,t.verificationResponse)},type:"button",className:"sid-btn sid-sms-loop-submit-btn sid-btn--dark sid-submit__continue","aria-label":"submit",disabled:!!(!n.smsCode||n.smsCode.length<=0||u)},q.createElement(or,{id:"step.smsLoop.submitButton",defaultMessage:"Submit"})),q.createElement("div",{className:"sid-l-space-left-sm"}," "),q.createElement("button",{id:"sid-resend-sms-code",onClick:()=>h(a.verificationId),type:"submit",className:"sid-btn sid-resend-sms-code-btn sid-btn--light sid-submit__cancel","aria-label":"re-send"},q.createElement(or,{id:"step.smsLoop.resendButton",defaultMessage:"Re-send"}))),q.createElement("div",{className:"sid-incorrect-number sid-l-horz-center"},q.createElement(or,{id:"step.smsLoop.incorrectNumber.incorrectNumber1",defaultMessage:"Incorrect number? Click"})," ",q.createElement("button",{type:"button",onClick:()=>window.location.reload(),className:"sid-incorrect-number__refresh-link sid-h-btn-link-like"},q.createElement(or,{id:"step.smsLoop.incorrectNumber.incorrectNumber2",defaultMessage:"here"})," "),q.createElement(or,{id:"companyName",defaultMessage:"{Company}"},(e=>q.createElement(or,{id:"step.smsLoop.incorrectNumber.incorrectNumber3",defaultMessage:"to return to {companyName}",values:{companyName:e}})))))})),_h=Ft((({intl:e,verificationService:r})=>{const n=r.verificationResponse,{programId:a}=r,{verificationId:i}=n,{canResendEmailLoop:o}=n,s=n.cancelUrl,l=r.viewModel,u=r.previousViewModel||void 0,c=r.previousVerificationResponse||void 0,[f,m]=q.useState(""),p=oe((()=>u.email));q.useEffect((()=>{(e=>{const r=e.viewModel,n=xr(),a=Gs(r,(e=>{var a;d()(a=t()(r)).call(a,(t=>{n.has(t)&&(e[t]=n.get(t))}))}));e.updateViewModel(a)})(r)}),[]),q.useEffect((()=>{l.emailToken&&(he.info("StepEmailLoopComponent submitting form"),r.submitStep(ve.emailLoop,l,r.verificationResponse))}),[l.emailToken]),Ih((()=>{r.fetchExistingVerificationRequest(a,i,c,u,!1)}),1e4);const h=function(){var t=gr((function*(t){const r=yield vd.getResendNewEmailCode(t);if(r){const t={id:"step.emailLoop.successResend",defaultMessage:"Email re-sent successfully."},n={id:"step.emailLoop.errors.resend",defaultMessage:"Error sending email"},a=204===r.status?e.formatHTMLMessage(t):e.formatHTMLMessage(n);m(a)}else m(e.formatHTMLMessage({id:"step.emailLoop.errors.resend",defaultMessage:"Error sending email"}))}));return function(e){return t.apply(this,arguments)}}(),g=function(){var e=gr((function*(){he.info("StepEmailLoopComponent submitting form after skipping email loop");const e=Ys(l,(()=>{}));r.submitStep(ve.cancelEmailLoop,e,r.verificationResponse)}));return function(){return e.apply(this,arguments)}}();return q.createElement("div",{id:"sid-step-email-loop",className:"sid-step-email-loop-container sid-l-container"},q.createElement("div",{className:"sid-header sid-l-horz-center"},q.createElement("div",{className:"sid-email-loop-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:r,fallbackLogo:q.createElement("img",{className:"sid-email-loop-logo sid-l-lead-image",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"})})),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(or,{id:"step.emailLoop.title",defaultMessage:"Check your email"})),q.createElement("div",{className:"sid-header__subtitle-one"},p?q.createElement(or,{id:"step.emailLoop.subtitleWithEmail",defaultMessage:"An email has been sent to {email} with a personalized link to complete the verification process.",values:{email:p}}):q.createElement(or,{id:"step.emailLoop.subtitleWithoutEmail",defaultMessage:"An email has been sent to your email account with a personalized link to complete the verification process."})),q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement("div",{className:"sid-header__subtitle-two sid-h-small-text sid-l-space-top-md"},q.createElement(or,{id:"step.emailLoop.subtitle2",defaultMessage:"Please check for an email from us (verify@sheerid.com) for all the details."})),s&&q.createElement("div",{className:"sid-skip-email sid-l-space-top-lg"},q.createElement(or,{id:"step.emailLoop.skipEmail",defaultMessage:"Unable to retrieve this email? Click "})," ",q.createElement("button",{type:"button",onClick:()=>g(),className:"sid-incorrect-number__refresh-link sid-h-btn-link-like"},q.createElement(or,{id:"step.emailLoop.skipEmailCTA",defaultMessage:"here"}))," ",q.createElement(or,{id:"step.emailLoop.skipEmail2",defaultMessage:" to proceed."})),o&&q.createElement("div",{className:"sid-header__resend-btn sid-l-space-top-md sid-submit sid-l-horz-center"},q.createElement("button",{id:"sid-resend-email",onClick:()=>h(i),type:"submit",className:"sid-btn sid-btn--light sid-resend-email-btn sid-submit__cancel","aria-label":"re-send"},q.createElement(or,{id:"step.emailLoop.resendButton",defaultMessage:"Re-send"}))),f&&q.createElement("div",{className:"sid-resent-email-loop-email-message"},q.createElement("p",null,f)),q.createElement("div",{className:"sid-l-space-top-xl"})))}));var Oh=o(6358),kh=o.n(Oh),Ph=new Map([["avi","video/avi"],["gif","image/gif"],["ico","image/x-icon"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["mkv","video/x-matroska"],["mov","video/quicktime"],["mp4","video/mp4"],["pdf","application/pdf"],["png","image/png"],["zip","application/zip"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"]]);function Rh(e,t){var r=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var r=t.split(".").pop().toLowerCase(),n=Ph.get(r);n&&Object.defineProperty(e,"type",{value:n,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof r.path){var n=e.webkitRelativePath;Object.defineProperty(r,"path",{value:"string"==typeof t?t:"string"==typeof n&&n.length>0?n:e.name,writable:!1,configurable:!1,enumerable:!0})}return r}var Fh=[".DS_Store","Thumbs.db"];function Lh(e){return(null!==e.target&&e.target.files?Vh(e.target.files):[]).map((function(e){return Rh(e)}))}function Uh(e,t){return zl(this,void 0,void 0,(function(){var r;return jl(this,(function(n){switch(n.label){case 0:return e.items?(r=Vh(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,r]:[4,Promise.all(r.map(zh))]):[3,2];case 1:return[2,Bh(jh(n.sent()))];case 2:return[2,Bh(Vh(e.files).map((function(e){return Rh(e)})))]}}))}))}function Bh(e){return e.filter((function(e){return-1===Fh.indexOf(e.name)}))}function Vh(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];t.push(n)}return t}function zh(e){if("function"!=typeof e.webkitGetAsEntry)return Hh(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?qh(t):Hh(e)}function jh(e){return e.reduce((function(e,t){return function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Hl(arguments[t]));return e}(e,Array.isArray(t)?jh(t):[t])}),[])}function Hh(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var r=Rh(t);return Promise.resolve(r)}function $h(e){return zl(this,void 0,void 0,(function(){return jl(this,(function(t){return[2,e.isDirectory?qh(e):Wh(e)]}))}))}function qh(e){var t=e.createReader();return new Promise((function(e,r){var n=[];!function a(){var i=this;t.readEntries((function(t){return zl(i,void 0,void 0,(function(){var i,o,s;return jl(this,(function(l){switch(l.label){case 0:if(t.length)return[3,5];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,Promise.all(n)];case 2:return i=l.sent(),e(i),[3,4];case 3:return o=l.sent(),r(o),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map($h)),n.push(s),a(),l.label=6;case 6:return[2]}}))}))}),(function(e){r(e)}))}()}))}function Wh(e){return zl(this,void 0,void 0,(function(){return jl(this,(function(t){return[2,new Promise((function(t,r){e.file((function(r){var n=Rh(r,e.fullPath);t(n)}),(function(e){r(e)}))}))]}))}))}var Gh=o(8801);function Yh(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){a=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(a)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Kh(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Kh(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 Kh(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Zh=function(e){e=Array.isArray(e)&&1===e.length?e[0]:e;var t=Array.isArray(e)?"one of ".concat(e.join(", ")):e;return{code:"file-invalid-type",message:"File type must be ".concat(t)}},Jh=function(e){return{code:"file-too-large",message:"File is larger than ".concat(e," bytes")}},Xh=function(e){return{code:"file-too-small",message:"File is smaller than ".concat(e," bytes")}},Qh={code:"too-many-files",message:"Too many files"};function eg(e,t){var r="application/x-moz-file"===e.type||(0,Gh.Z)(e,t);return[r,r?null:Zh(t)]}function tg(e,t,r){if(rg(e.size))if(rg(t)&&rg(r)){if(e.size>r)return[!1,Jh(r)];if(e.size<t)return[!1,Xh(t)]}else{if(rg(t)&&e.size<t)return[!1,Xh(t)];if(rg(r)&&e.size>r)return[!1,Jh(r)]}return[!0,null]}function rg(e){return null!=e}function ng(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function ag(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function ig(e){e.preventDefault()}function og(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return t.some((function(t){return!ng(e)&&t&&t.apply(void 0,[e].concat(n)),ng(e)}))}}function sg(e){return function(e){if(Array.isArray(e))return cg(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||ug(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 lg(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){a=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(a)throw i}}return r}(e,t)||ug(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 ug(e,t){if(e){if("string"==typeof e)return cg(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?cg(e,t):void 0}}function cg(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function dg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function fg(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?dg(Object(r),!0).forEach((function(t){mg(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dg(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function mg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pg(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var hg=(0,q.forwardRef)((function(e,t){var r=e.children,n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=fg(fg({},gg),e),r=t.accept,n=t.disabled,a=t.getFilesFromEvent,i=t.maxSize,o=t.minSize,s=t.multiple,l=t.maxFiles,u=t.onDragEnter,c=t.onDragLeave,d=t.onDragOver,f=t.onDrop,m=t.onDropAccepted,p=t.onDropRejected,h=t.onFileDialogCancel,g=t.preventDropOnDocument,v=t.noClick,y=t.noKeyboard,b=t.noDrag,E=t.noDragEventsBubbling,w=t.validator,S=(0,q.useRef)(null),M=(0,q.useRef)(null),C=lg((0,q.useReducer)(bg,yg),2),I=C[0],N=C[1],D=I.isFocused,T=I.isFileDialogActive,A=I.draggedFiles,x=(0,q.useCallback)((function(){M.current&&(N({type:"openDialog"}),M.current.value=null,M.current.click())}),[N]),_=function(){T&&setTimeout((function(){M.current&&(M.current.files.length||(N({type:"closeDialog"}),"function"==typeof h&&h()))}),300)};(0,q.useEffect)((function(){return window.addEventListener("focus",_,!1),function(){window.removeEventListener("focus",_,!1)}}),[M,T,h]);var O=(0,q.useCallback)((function(e){S.current&&S.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),x()))}),[S,M]),k=(0,q.useCallback)((function(){N({type:"focus"})}),[]),P=(0,q.useCallback)((function(){N({type:"blur"})}),[]),R=(0,q.useCallback)((function(){v||(!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return function(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}(e)||function(e){return-1!==e.indexOf("Edge/")}(e)}()?x():setTimeout(x,0))}),[M,v]),F=(0,q.useRef)([]),L=function(e){S.current&&S.current.contains(e.target)||(e.preventDefault(),F.current=[])};(0,q.useEffect)((function(){return g&&(document.addEventListener("dragover",ig,!1),document.addEventListener("drop",L,!1)),function(){g&&(document.removeEventListener("dragover",ig),document.removeEventListener("drop",L))}}),[S,g]);var U=(0,q.useCallback)((function(e){e.preventDefault(),e.persist(),W(e),F.current=[].concat(sg(F.current),[e.target]),ag(e)&&Promise.resolve(a(e)).then((function(t){ng(e)&&!E||(N({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),u&&u(e))}))}),[a,u,E]),B=(0,q.useCallback)((function(e){e.preventDefault(),e.persist(),W(e);var t=ag(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return t&&d&&d(e),!1}),[d,E]),V=(0,q.useCallback)((function(e){e.preventDefault(),e.persist(),W(e);var t=F.current.filter((function(e){return S.current&&S.current.contains(e)})),r=t.indexOf(e.target);-1!==r&&t.splice(r,1),F.current=t,t.length>0||(N({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),ag(e)&&c&&c(e))}),[S,c,E]),z=(0,q.useCallback)((function(e){e.preventDefault(),e.persist(),W(e),F.current=[],ag(e)&&Promise.resolve(a(e)).then((function(t){if(!ng(e)||E){var n=[],a=[];t.forEach((function(e){var t=lg(eg(e,r),2),s=t[0],l=t[1],u=lg(tg(e,o,i),2),c=u[0],d=u[1],f=w?w(e):null;if(s&&c&&!f)n.push(e);else{var m=[l,d];f&&(m=m.concat(f)),a.push({file:e,errors:m.filter((function(e){return e}))})}})),(!s&&n.length>1||s&&l>=1&&n.length>l)&&(n.forEach((function(e){a.push({file:e,errors:[Qh]})})),n.splice(0)),N({acceptedFiles:n,fileRejections:a,type:"setFiles"}),f&&f(n,a,e),a.length>0&&p&&p(a,e),n.length>0&&m&&m(n,e)}})),N({type:"reset"})}),[s,r,o,i,l,a,f,m,p,E]),j=function(e){return n?null:e},H=function(e){return y?null:j(e)},$=function(e){return b?null:j(e)},W=function(e){E&&e.stopPropagation()},G=(0,q.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,r=void 0===t?"ref":t,a=e.onKeyDown,i=e.onFocus,o=e.onBlur,s=e.onClick,l=e.onDragEnter,u=e.onDragOver,c=e.onDragLeave,d=e.onDrop,f=pg(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return fg(fg(mg({onKeyDown:H(og(a,O)),onFocus:H(og(i,k)),onBlur:H(og(o,P)),onClick:j(og(s,R)),onDragEnter:$(og(l,U)),onDragOver:$(og(u,B)),onDragLeave:$(og(c,V)),onDrop:$(og(d,z))},r,S),n||y?{}:{tabIndex:0}),f)}}),[S,O,k,P,R,U,B,V,z,y,b,n]),Y=(0,q.useCallback)((function(e){e.stopPropagation()}),[]),K=(0,q.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,a=e.onChange,i=e.onClick,o=pg(e,["refKey","onChange","onClick"]);return fg(fg({},mg({accept:r,multiple:s,type:"file",style:{display:"none"},onChange:j(og(a,z)),onClick:j(og(i,Y)),autoComplete:"off",tabIndex:-1},n,M)),o)}}),[M,r,s,z,n]),Z=A.length,J=Z>0&&function(e){var t=e.files,r=e.accept,n=e.minSize,a=e.maxSize,i=e.multiple,o=e.maxFiles;return!(!i&&t.length>1||i&&o>=1&&t.length>o)&&t.every((function(e){var t=Yh(eg(e,r),1)[0],i=Yh(tg(e,n,a),1)[0];return t&&i}))}({files:A,accept:r,minSize:o,maxSize:i,multiple:s,maxFiles:l}),X=Z>0&&!J;return fg(fg({},I),{},{isDragAccept:J,isDragReject:X,isFocused:D&&!n,getRootProps:G,getInputProps:K,rootRef:S,inputRef:M,open:j(x)})}(pg(e,["children"])),a=n.open,i=pg(n,["open"]);return(0,q.useImperativeHandle)(t,(function(){return{open:a}}),[a]),q.createElement(q.Fragment,null,r(fg(fg({},i),{},{open:a})))}));hg.displayName="Dropzone";var gg={disabled:!1,getFilesFromEvent:function(e){return zl(this,void 0,void 0,(function(){return jl(this,(function(t){return[2,(r=e,r.dataTransfer&&e.dataTransfer?Uh(e.dataTransfer,e.type):Lh(e))];var r}))}))},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null};hg.defaultProps=gg,hg.propTypes={children:$e().func,accept:$e().oneOfType([$e().string,$e().arrayOf($e().string)]),multiple:$e().bool,preventDropOnDocument:$e().bool,noClick:$e().bool,noKeyboard:$e().bool,noDrag:$e().bool,noDragEventsBubbling:$e().bool,minSize:$e().number,maxSize:$e().number,maxFiles:$e().number,disabled:$e().bool,getFilesFromEvent:$e().func,onFileDialogCancel:$e().func,onDragEnter:$e().func,onDragLeave:$e().func,onDragOver:$e().func,onDrop:$e().func,onDropAccepted:$e().func,onDropRejected:$e().func,validator:$e().func};const vg=hg;var yg={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]};function bg(e,t){switch(t.type){case"focus":return fg(fg({},e),{},{isFocused:!0});case"blur":return fg(fg({},e),{},{isFocused:!1});case"openDialog":return fg(fg({},e),{},{isFileDialogActive:!0});case"closeDialog":return fg(fg({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":var r=t.isDragActive,n=t.draggedFiles;return fg(fg({},e),{},{draggedFiles:n,isDragActive:r});case"setFiles":return fg(fg({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return fg(fg({},e),{},{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]});default:return e}}const Eg=q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.nameChanged",defaultMessage:"If your name has changed since the document was issued, upload a 2nd document showing your official name change."})),wg=({verificationService:e})=>{const{segment:t}=e.verificationResponse,{subSegment:r}=e.verificationResponse;let n;switch(qr(t),t){case Ie.STUDENT:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.student.idCard",defaultMessage:"School ID card with expiration date"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.student.classSchedule",defaultMessage:"Class schedule"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.student.tuitionReceipt",defaultMessage:"Tuition receipt"})));break;case Ie.TEACHER:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.teacher.idCard",defaultMessage:"Teacher ID card with valid date"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.teacher.payStub",defaultMessage:"Pay stub from within last 60 days"})));break;case Ie.MEMBER:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.member.idCard",defaultMessage:"Membership Document"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.member.payStub",defaultMessage:"Pay stub from within last 90 days"})));break;case Ie.SENIOR:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.senior.birthCertificate",defaultMessage:"Your birth certificate"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.senior.driversLicense",defaultMessage:"Your drivers license"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.senior.passport",defaultMessage:"Your passport"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.senior.stateId",defaultMessage:"Your state-issued ID"})));break;case Ie.AGE:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.age.birthCertificate",defaultMessage:"Your birth certificate"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.age.driversLicense",defaultMessage:"Your drivers license"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.age.passport",defaultMessage:"Your passport"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.age.stateId",defaultMessage:"Your state-issued ID"})));break;case Ie.MILITARY:switch(r){case De.ACTIVE_DUTY:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.military.activeDuty",defaultMessage:"Any document that proves you are currently serving as active duty in the armed forces for 30 days or more"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.military.allowedDocuments",defaultMessage:"Please only upload documents you are legally allowed to provide."})),Eg);break;case De.VETERAN:n=q.createElement("ul",{className:"sid-list sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-li sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.military.veteran",defaultMessage:"Any document that proves you met the qualifications of military service and were honorably discharged"})),Eg);break;case De.RESERVIST:n=q.createElement("ul",{className:"sid-list sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-li sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.military.reservistA",defaultMessage:"Any document that shows you are currently serving in a reserve component of the armed forces"})),Eg);break;case De.MILITARY_RETIREE:n=q.createElement("ul",{className:"sid-list sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-li sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.military.retiree",defaultMessage:"Any document that proves you are a retiree from the armed forces"})),Eg);break;case De.MILITARY_FAMILY:n=q.createElement("ul",{className:"sid-list sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-li sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.military.dependent",defaultMessage:"Any document that proves you are a Registered Military Dependent"})),Eg);break;default:return null}break;case Ie.FIRST_RESPONDER:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.firstResponder.idCard",defaultMessage:"ID Card"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.firstResponder.payStub",defaultMessage:"Pay stub from within last 60 days"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.firstResponder.letter",defaultMessage:"An official letter"})));break;case Ie.MEDICAL:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.medical.licenseCertificate",defaultMessage:"Certificate of license"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.medical.idCard",defaultMessage:"Nursing ID card with expiration date"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.medical.photoPayStub",defaultMessage:"Photo ID and recent Pay Stub"})));break;case Ie.EMPLOYMENT:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.employment.employeeIdCard",defaultMessage:"Employee ID Card"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.employment.payStub",defaultMessage:"Pay stub from within last 60 days"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.employment.officialLetter",defaultMessage:"An official letter"})));break;case Ie.LICENSED_PROFESSIONAL:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.licensedProfessional.license",defaultMessage:"Certificate of license"})));break;case Ie.RECENT_MOVER:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.recentMover.changeOfAddress",defaultMessage:"U.S. Postal Service change of address confirmation letter"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.recentMover.mortgageDeed",defaultMessage:"Mortgage deed"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.recentMover.rentalAgreement",defaultMessage:"Lease or rental agreement"})));break;case Ie.LOW_INCOME:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.lowIncome.programCard",defaultMessage:"Back and front of a card showing you qualify for the selected government assistance program (for example, an EBT card for a SNAP Program)."})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.lowIncome.programApprovalLetter",defaultMessage:"Approval letter of the selected government assistance program issued by a government agency (for example, a Supplemental Security Income (SSI) eligibility letter)."})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.lowIncome.programApprovalScreenshot",defaultMessage:"A screenshot of the online portal of the selected government assistance program showing you qualify for it (Screenshot of your Medicare application status on your online account)."})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.lowIncome.programBankStatement",defaultMessage:"A bank statement showing recent payment of the selected benefit."})));break;default:return null}return q.createElement("div",null,q.createElement("span",{className:"sid-acceptable-uploads-examples"},q.createElement("strong",null,q.createElement(or,{id:"step.docUpload.acceptableUploadExamples",defaultMessage:"Acceptable examples include:"}))),n)},Sg=({id:e,defaultMessage:t})=>q.createElement("span",{className:"sid-upload-info-examples"},q.createElement("strong",null,q.createElement(or,{id:e,defaultMessage:t}),":")),Mg=({verificationService:e})=>{const{segment:t}=e.verificationResponse,{subSegment:r}=e.verificationResponse;switch(qr(t),t){case Ie.STUDENT:return q.createElement("div",null,q.createElement(Sg,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload your school-issued document that shows"}),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.student.school",defaultMessage:"Your school"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.student.enrollmentDate",defaultMessage:"Date proving enrollment for the current term (or within last 3 months)"}))));case Ie.TEACHER:return q.createElement("div",null,q.createElement(Sg,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload your school-issued document that shows"}),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.teacher.school",defaultMessage:"Your school"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.teacher.currentSchoolYear",defaultMessage:"A date in the current school year"}))));case Ie.MEMBER:return q.createElement("div",null,q.createElement(Sg,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows"}),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.organization",defaultMessage:"Your organization"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.affiliation",defaultMessage:"Your current affiliation with that organization"}))));case Ie.MILITARY:return r===De.MILITARY_FAMILY?q.createElement("div",null,q.createElement(Sg,{id:"step.docUpload.uploadInfo.military.uploadInstructionsDependent",defaultMessage:"Please upload a Dependent ID card that clearly shows your first name, last name, valid dates and status"})):q.createElement("div",null,q.createElement(Sg,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload your government-issued document that shows"}),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.military.serviceBranch",defaultMessage:"Your branch of service"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.military.dischargeDate",defaultMessage:"Your discharge date (if applicable)"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.military.currentAffiliation",defaultMessage:"Your current affiliation with the armed services"}))));case Ie.SENIOR:return q.createElement("div",null,q.createElement(Sg,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload a government-issued document that shows"}),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.senior.birthDate",defaultMessage:"Your date of birth"}))));case Ie.AGE:return q.createElement("div",null,q.createElement(Sg,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload a government-issued document that shows"}),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.age.birthDate",defaultMessage:"Your date of birth"}))));case Ie.FIRST_RESPONDER:return q.createElement("div",null,q.createElement(Sg,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows"}),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.firstResponder.organization",defaultMessage:"Your organization"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.firstResponder.currentAffiliation",defaultMessage:"Your current affiliation with that organization"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.firstResponder.license",defaultMessage:"Your status or license as a First Responder"}))));case Ie.MEDICAL:return q.createElement("div",null,q.createElement(Sg,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows"}),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.medical.status",defaultMessage:"Your nursing status"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.medical.validDate",defaultMessage:"A currently valid date"}))));case Ie.EMPLOYMENT:return q.createElement("div",null,q.createElement(Sg,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows"}),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.employment.company",defaultMessage:"Your company"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.employment.currentAffiliation",defaultMessage:"Your current affiliation with that company"}))));case Ie.IDENTITY:return q.createElement("div",null,q.createElement(Sg,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows"}),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.identity.validDate",defaultMessage:"A currently valid date"}))));case Ie.LICENSED_PROFESSIONAL:return q.createElement("div",null,q.createElement(Sg,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows"}),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.licensedProfessional.licenseStatus",defaultMessage:"Your professional license and/or certification status"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.identity.validDate",defaultMessage:"A currently valid date"}))));case Ie.LOW_INCOME:{var n;const t=e.viewModel,r=t&&t.statuses&&$i()(n=t.statuses).call(n,"SNAP_BENEFITS");return q.createElement("div",null,q.createElement(Sg,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows"}),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.lowIncome.validDate",defaultMessage:"The date when the document was issued (should be within the last 12 months) or the expiry date"})),r&&q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.lowIncome.ebtNumber",defaultMessage:"EBT card number"}))))}case Ie.RECENT_MOVER:return q.createElement("div",null,q.createElement(Sg,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows"}),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.recentMover.address",defaultMessage:"Your new address"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.recentMover.validDate",defaultMessage:"A valid date for your recent move"}))));default:return null}},Cg=Ft((({verificationService:e,intl:r})=>{var n;const a=e.verificationResponse,{rejectionReasons:o}=a,{programTheme:s}=e,l=e.viewModel,{fieldValidationErrors:u}=e,c=oe((()=>e.verificationResponse.subSegment)),{overrideEnabled:f}=e.programTheme,m=e=>{var t;return{name:e.name,url:$i()(t=e.type).call(t,"image")?Er().createObjectURL(e):""}},p=[];xc(cn)&&p.push({name:"myFile.png",url:""}),l.file1&&l.file1.name&&p.push(m(l.file1)),l.file2&&l.file2.name&&p.push(m(l.file2)),l.file3&&l.file3.name&&p.push(m(l.file3));const h=(r,n)=>{e.updateViewModel(((e,r,n)=>Gs(e,(a=>{var o,s,l,u,c,f;d()(o=Fr()(s=ee()(l=Cr()(u=i()(c=t()(e)).call(c,(t=>!!e[t]&&$i()(t).call(t,"file")))).call(u,(t=>e[t]))).call(l,r,Cf()(f=Array(3)).call(f,void 0))).call(s,0,3)).call(o,((e,t)=>a[`file${t+1}`]=e)),a.erroredFileNames=n||void 0})))(l,r,n))},g=r=>{const n=r+1;e.updateViewModel(((e,r)=>{var n;if(!$i()(n=[1,2,3]).call(n,r))throw new Error(`Expected either 1, 2 or 3 for argument "fileNumber", but received ${r}`);return Gs(e,(n=>{var a,o,s,l,u,c;d()(a=Fr()(o=ee()(s=Cr()(l=i()(u=t()(e)).call(u,(e=>$i()(e).call(e,"file")&&!$i()(e).call(e,r.toString())))).call(l,(t=>e[t]))).call(s,Cf()(c=Array(3)).call(c,void 0))).call(o,0,3)).call(a,((e,t)=>n[`file${t+1}`]=e))}))})(l,n))},v=t=>{t.length>0?(t=>{const r=[],n=[],a=[];for(const e of t){const t=Ho(ve.docUpload,e);void 0===t?r.push(e):(a.push(e.name),n.push(t))}let i;n&&(i=Gs(u,(e=>{e.docUpload=n[0]}))),e.updateFieldValidationErrors(i),h(r,a)})(t):t.length<=0&&he.error("No files were accepted or rejected. Unknown error.","docUpload drag n drop")},y=u.docUpload||oe((()=>e.verificationResponse.errorIds[0]),void 0)?q.createElement("div",{className:"sid-field-error sid-field-error__doc-upload sid-l-horz-center"},q.createElement(or,{id:`errorId.${u.docUpload}`,defaultMessage:"No valid files"}),l.erroredFileNames?Cr()(n=l.erroredFileNames).call(n,(e=>q.createElement("div",null,e))):null):null,b=function(){var t=gr((function*(){he.info("StepDocUploadComponent submitting form after skipping document upload");const t=Gs(l,(()=>{}));e.submitStep(ve.cancelDocUpload,t,e.verificationResponse)}));return function(){return t.apply(this,arguments)}}();return q.createElement("div",{id:"sid-step-doc-upload",className:"sid-doc-upload-container sid-l-container"},q.createElement("div",{className:"sid-header sid-l-horz-center sid-l-space-top-md"},q.createElement("div",{className:"sid-l-horz-center sid-doc-upload-logo-container"},q.createElement(mm,{verificationService:e,fallbackLogo:q.createElement("img",{className:"sid-l-lead-image sid-doc-upload-logo",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/doc-upload2.svg"})})),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(or,{id:"step.docUpload.title",defaultMessage:"We need more information"})),q.createElement(Bm,{verificationService:e}),o&&o.length>0?q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-l-position"},q.createElement("div",{className:"sid-header__subtitle-doc-upload-rejected"},q.createElement(or,{id:"step.docUpload.rejectedSubtitle",defaultMessage:"We were unable to confirm your eligibility due to:"})),q.createElement("ul",{className:"sid-upload-rejection-list"},Cr()(o).call(o,(e=>q.createElement("li",{key:e,className:"sid-upload-rejection-list__li"},q.createElement(or,{id:`step.docUpload.rejectionReasons.${e}`,defaultMessage:`${e}`})))))):q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-l-position"},q.createElement("div",{className:"sid-header__subtitle-text"},q.createElement(or,{id:"step.docUpload.subtitle",defaultMessage:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",values:{estimatedWaitTime:pl(a,s,r).estReviewTime}})," ",q.createElement(Lm,{verificationService:e})))),0===p.length?q.createElement("div",null,q.createElement("div",{className:"sid-upload-info sid-l-space-top-md"},q.createElement("div",{className:"sid-upload-info-list-block sid-l-space-top-sm"},q.createElement(Mg,{verificationService:e})),Mn().hideMilitaryFamilyAcceptableUploads&&c===De.MILITARY_FAMILY?null:q.createElement("div",{className:"sid-acceptable-uploads-list-block sid-l-space-top-md"},q.createElement(wg,{verificationService:e}))),q.createElement("div",{className:"sid-upload-wrap sid-l-space-top-sm"},q.createElement("div",{className:"sid-dropzone-wrap"},y,q.createElement(vg,{onDrop:v},(({getRootProps:e,getInputProps:t})=>q.createElement("section",Ri({},e(),{className:"sid-dropzone-wrap__dropzone"}),q.createElement("input",t()),q.createElement("p",{className:"sid-dropzone-wrap__instructions sid-l-horz-center"},q.createElement(or,{id:"step.docUpload.fileInstructions",defaultMessage:'Drag & drop your files here or <span class="sid-dropzone-wrap__link">browse</span>'}))))),q.createElement("div",{className:"sid-dropzone-wrap__accepted-types sid-l-space-top-sm"},q.createElement(or,{id:"step.docUpload.acceptedTypes",defaultMessage:"Acceptable file types: png, gif, jpg, bmp, pdf"}))))):null,q.createElement("div",{className:"sid-upload-wrap sid-l-space-top-sm"},p.length>0?q.createElement("div",{className:"sid-file-list sid-l-space-top-md"},Cr()(p).call(p,((e,t)=>q.createElement("div",{className:"sid-file-list__file",key:e.name},e.url?q.createElement("img",{className:"sid-file-list__thumbnail",src:e.url,alt:"File thumbnail"}):q.createElement("div",{className:"sid-file-list__no-thumbnail"},q.createElement("img",{alt:"File thumbnail",src:"https://assets-resources.sheerid.com/common/images/2018/icons/default-image.svg"})),q.createElement("div",{className:"sid-file-list__name"},e.name),q.createElement("div",{role:"button",tabIndex:0,"aria-label":`Remove file ${e.name}`,className:"sid-file-list__remove-btn",onClick:()=>g(t),onKeyPress:()=>g(t)})))),y,p.length<3?q.createElement("div",{className:"sid-add-more-files"},q.createElement("label",{className:"sid-add-more-files__label sid-add-more-files--selectable",htmlFor:"file","aria-label":"add file",id:"sid-add-file",role:"button",tabIndex:0,onKeyDown:e=>(e=>{const t=tl("addFile");"Enter"!==e.key&&" "!==e.key||t.click()})(e)},q.createElement("input",{type:"file",id:"file",tabIndex:-1,className:"sid-add-more-files__input","aria-describedby":"sid-add-file",onChange:e=>{v(kh()(e.target.files))},accept:"image/jpeg,image/gif,image/png,application/pdf,image/bmp,image/gif",ref:e=>Qs("addFile",e)}),q.createElement("img",{className:"sid-add-more-files__image",alt:"add more files",src:"https://assets-resources.sheerid.com/common/images/2018/icons/add-file.svg"}),q.createElement(or,{id:"step.docUpload.addFile",defaultMessage:"Add file"}))):null,q.createElement("div",{className:"sid-submit sid-doc-upload-submit sid-l-space-top-md"},q.createElement("button",{id:"sid-submit-doc-upload",onClick:()=>{he.info("StepDocUploadComponent submitting form"),e.submitStep(ve.docUpload,l,e.verificationResponse)},type:"submit",className:"sid-btn sid-btn--dark sid-doc-upload-submit-btn sid-submit__continue","aria-label":r.formatHTMLMessage({id:"step.docUpload.submitButtonLabel",defaultMessage:"Continue"}),disabled:p.length<=0},q.createElement(or,{id:"step.docUpload.submitButtonLabel",defaultMessage:"Continue"})),q.createElement("button",{onClick:()=>{const t=Gs(u,(e=>{e.docUpload=void 0}));e.updateFieldValidationErrors(t),e.updateViewModel((e=>Gs(e,(e=>{for(let t=0;t<3;t++)e[`file${t+1}`]=void 0})))(l))},type:"button",className:"sid-btn sid-btn--light sid-doc-upload-cancel-btn sid-submit__cancel sid-l-space-left-sm","aria-label":"cancel",disabled:p.length<=0},q.createElement(or,{id:"step.docUpload.cancelButtonLabel",defaultMessage:"Cancel"})))):null),f&&q.createElement("div",{className:"sid-submit sid-override-submit sid-l-horz-center sid-l-space-top-sm"},q.createElement("a",{href:"#",className:"sid-link sid-override-link",onClick:()=>b(),role:"button"},q.createElement(or,{id:"step.docUpload.cancelDocUploadLabel",defaultMessage:"Click here if you are unable to verify with a document"}))),q.createElement(Rm,{verificationService:e}))})),Ig=({verificationService:e})=>{const t=e.verificationResponse.consolationRewardCode||"${consolationRewardCode}",r="noCode"===e.programTheme.config.offerType,{verificationId:n}=e.verificationResponse,{rewardDisplay:a}=e.programTheme.config,i=!r&&!!a.length;return q.createElement("div",{id:"sid-step-consolation",className:"sid-l-container"},q.createElement("div",{className:"sid-header sid-l-horz-center sid-l-space-top-md"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(mm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md",role:"alert","aria-live":"polite"},q.createElement(or,{id:"step.consolation.title",defaultMessage:"Claim your offer"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-l-two-thirds-width"},q.createElement(or,{id:"step.consolation.subtitle",defaultMessage:"Unfortunately we could not verify your status, but we value your interest and are offering this promo code as a thank you. It is unique to you and can only be used once."}))),i&&q.createElement("div",{className:"sid-l-horz-center sid-reward-container sid-l-space-top-md"},Cr()(a).call(a,(e=>e!==Me.TEXT?q.createElement("img",{key:e,className:"sid-l-space-top-md sid-barcode",alt:t,src:Jn(n,"consolationRewardCode",e)}):q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-reward-code sid-l-space-top-lg sid-h-jumbo-text sid-l-horz-center"},t),q.createElement("div",{className:"sid-l-space-top-md sid-h-bold-text sid-l-horz-center"},q.createElement(mr,{textToCopy:t,notificationText:q.createElement(or,{id:"copied",defaultMessage:"Copied"})},q.createElement(or,{id:"step.success.copyCouponCode",defaultMessage:"Copy Coupon code"}))))))),q.createElement("div",{className:"sid-footer sid-l-horz-center sid-l-space-top-lg"},q.createElement(or,{id:"rewardCodeEmailNotification",defaultMessage:"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com."})),q.createElement("div",{className:"sid-footer sid-l-horz-center sid-l-space-top-lg sid-h-small-text"},q.createElement(or,{id:"companyName",defaultMessage:"{Company}"},(e=>q.createElement(or,{id:"step.consolation.verificationOnly",defaultMessage:"Please direct any and all questions about this offer to {companyName}.",values:{companyName:e}})))))},Ng=Ft((({value:e,isErrored:t,onChange:r,placeholder:n=""})=>q.createElement(Nl,{fieldId:"overrideCode",value:e,onChange:r,placeholder:"",label:q.createElement(or,{id:"step.override.verificationOverrideCodeLabel",defaultMessage:"Verification Override Code"}),errorMessage:t&&q.createElement(or,{id:"errorId.invalidOverrideCode",defaultMessage:"Invalid Override Code"}),showPlaceholderAndHideLabel:!!n})));function Dg(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Tg(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Dg(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Dg(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Ag=Ft((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,a=t.verificationResponse,{fieldValidationErrors:i}=t,[o,s]=q.useState(""),l=a.errorIds&&$i()(r=a.errorIds).call(r,"incorrectVerificationOverrideCodeAttemptLimitExceeded"),u=e.formatHTMLMessage({id:"step.override.errors.codeOverrideLimit",defaultMessage:"Override code limit exceeded."});q.useEffect((()=>{l&&s(u)}),[]),oe((()=>a.errorIds.length))&&!t.fieldValidationErrors.overrideCode&&t.updateFieldValidationErrors(Tg(Tg({},t.fieldValidationErrors),{},{overrideCode:a.errorIds[0]}));return q.createElement("div",{id:"sid-step-overrice-code",className:"sid-override-personal-info-container sid-l-container"},q.createElement("div",{className:"sid-override-personal-info-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t,fallbackLogo:q.createElement("img",{className:"sid-override-personal-info-logo-default sid-l-lead-image",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/sso-step.svg"})})),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(or,{id:"step.override.title",defaultMessage:"Unable to Verify Status"})),q.createElement("div",{className:"sid-header__subtitle-one sid-l-horz-center"},q.createElement(or,{id:"step.override.subtitle",defaultMessage:"Please sign in to your school's web portal. It will open in a new tab."})),q.createElement("div",{className:"sid-header__subtitle-one sid-l-horz-center"},q.createElement(or,{id:"step.override.subtitle2",defaultMessage:"This will enable the customer to redeem the offer"})),q.createElement(Ng,{value:n.overrideCode,isErrored:!!i.overrideCode,onChange:e=>{Sf(Tg(Tg({},n),{},{overrideCode:e})),ol("overrideCode",e,t)}}),o&&q.createElement("div",null,q.createElement("p",null,o)),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-override-submit sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>{he.info("StepOverrideCode submitting form"),t.submitStep(ve.override,n,t.verificationResponse)},type:"button",className:"sid-btn sid-override-submit-btn sid-btn--dark sid-l-full-width "+(so(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-label":"submit",disabled:!!(!n.overrideCode||n.overrideCode.length<=0||l)},q.createElement("span",{id:"verify-status-text"},q.createElement(or,{id:"step.override.submitOverrideCodeButtonLabel",defaultMessage:"Submit Override Codes"}))))),q.createElement(Rm,{verificationService:t}))})),xg={StepStudentPersonalInfoComponent:qm,StepSeniorPersonalInfoComponent:Jm,StepAgePersonalInfoComponent:rp,StepTeacherPersonalInfoComponent:op,StepMemberPersonalInfoComponent:dp,StepCollectMilitaryStatusComponent:({verificationService:e})=>q.createElement(Ep,{verificationService:e}),StepActiveMilitaryPersonalInfoComponent:Ep,StepInactiveMilitaryPersonalInfoComponent:Cp,StepFirstResponderPersonalInfoComponent:Tp,StepMedicalProfessionalPersonalInfoComponent:kp,StepEmploymentPersonalInfoComponent:Up,StepDriverLicensePersonalInfoComponent:jp,StepGeneralIdentityPersonalInfoComponent:qp,StepHybridIdentityPersonalInfoComponent:Yp,StepLicensedProfessionalPersonalInfoComponent:Qp,StepMoverPersonalInfoComponent:rh,StepLowIncomePersonalInfoComponent:lh,StepSocialSecurityNumber:fh,StepSuccessComponent:yh,StepConsolationComponent:Ig,StepOverrideComponent:Ag,StepDocUploadComponent:Cg,StepPendingComponent:Nh,StepSSOComponent:({verificationService:e})=>{const{programId:t}=e,r=e.viewModel,n=e.previousViewModel||void 0,a=e.verificationResponse,i=e.previousVerificationResponse||void 0,{verificationId:o}=e.verificationResponse,s=_c();let l;const u=(t,n)=>{const a=Gs(r,(e=>{e[t]=n}));e.updateViewModel(a)},c=()=>{nl();const t=Gs(r,(()=>{}));he.info("StepSSOComponent submitting cancel request"),clearTimeout(l),e.submitStep(ve.sso,t,e.verificationResponse)},d=()=>{var e;e=window.open(a.loginUrl,"_blank"),Xs=e,Xs.focus()};return r.isSSOActive&&!s&&(l=cr()((()=>{e.fetchExistingVerificationRequest(t,o,i,n)}),1e3)),!r.countryChoice&&n&&n.countryChoice&&u("countryChoice",n.countryChoice),q.createElement("div",{id:"sid-step-sso",className:"sid-sso-container sid-l-container"},r.isSSOActive?q.createElement("div",{className:"sid-header sid-l-horz-center"},q.createElement("div",{className:"sid-sso-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e,fallbackLogo:q.createElement("img",{className:"sid-sso-logo-default sid-l-lead-image",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"})})),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(or,{id:"step.sso.title",defaultMessage:"Verify using your school credentials"})),q.createElement("div",{className:"sid-header__subtitle-one"},q.createElement(or,{id:"step.sso.subtitle",defaultMessage:vh})),q.createElement("div",{className:"sid-l-space-top-xl"}),q.createElement("div",{className:"sid-header__subtitle-two sid-h-small-text sid-l-space-top-md"},q.createElement(or,{id:"step.sso.subtitle2",defaultMessage:"Can't sign in to your school?"}),q.createElement("div",{className:"sid-form-region sid-cancel-sso-submit sid-submit-wrapper sid-l-space-top-md"},q.createElement("button",{onClick:c,type:"submit",className:"sid-btn sid-cancel-sso-btn sid-btn--dark sid-l-full-width","aria-label":"submit"},q.createElement(or,{id:"step.sso.cancel",defaultMessage:"Upload Proof of Enrollment"})))),q.createElement("div",{className:"sid-l-space-top-xl"})):q.createElement("div",{className:"sid-header sid-l-horz-center"},q.createElement("div",{className:"sid-sso-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e,fallbackLogo:q.createElement("img",{className:"sid-sso-logo-default sid-l-lead-image",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/sso-step.svg"})})),q.createElement("div",{className:"sid-preheader-label sid-l-space-top-md"},q.createElement("span",{className:"sid-h-label"},q.createElement(or,{id:"step.sso.preheader",defaultMessage:"Quickest method"}))),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(or,{id:"step.sso.title",defaultMessage:"Verify using your school credentials"})),q.createElement("div",{className:"sid-header__subtitle-one"},q.createElement(or,{id:"step.sso.subtitle",defaultMessage:vh})),q.createElement("div",{className:"sid-form-region sid-sso-submit sid-submit-wrapper sid-l-space-top-md"},q.createElement("button",{id:"sid-submit-btn-sso",onClick:()=>(u("isSSOActive",!0),void d()),type:"submit",className:"sid-btn sid-sso-submit-btn sid-btn--dark sid-l-full-width","aria-label":"submit"},q.createElement(or,{id:"step.sso.login",defaultMessage:"Sign in to my school"}))),q.createElement("div",{className:"sid-form-region sid-l-space-top-lg"},q.createElement("div",{className:"sid-header__subtitle-two sid-h-bold-text"},q.createElement(or,{id:"step.sso.subtitle2",defaultMessage:"Unable to sign in?"})),q.createElement("div",{className:"sid-form-region sid-l-space-btm-sm sid-l-space-top-sm"},q.createElement(or,{id:"step.sso.alternative",defaultMessage:"You can also verify by uploading proof of eligibility"})),q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement("button",{onClick:c,className:"sid-h-btn-link-like sid-h-bold-text",type:"button"},q.createElement(or,{id:"step.sso.cancel",defaultMessage:"Upload Proof of Enrollment"})))),q.createElement("div",{className:"sid-l-space-top-lg"})),q.createElement(Rm,{verificationService:e}))},StepErrorComponent:gh,StepSMSLoopComponent:xh,StepEmailLoopComponent:_h},_g=e=>{he.info("getComponent",e);const t=(e=>jc[e]?(he.log(`getOverridenComponent returning ${e}`),jc[e]):null)(e);return t||xg[e]},Og=({stepToLoad:e,verificationService:t})=>{let r;he.info(`LoadStepComponent: rendering step: ${e}`);let n=!1;switch(e){case ve.collectStudentPersonalInfo:r=_g("StepStudentPersonalInfoComponent");break;case ve.collectSeniorPersonalInfo:r=_g("StepSeniorPersonalInfoComponent");break;case ve.collectAgePersonalInfo:r=_g("StepAgePersonalInfoComponent");break;case ve.collectTeacherPersonalInfo:r=_g("StepTeacherPersonalInfoComponent");break;case ve.collectMemberPersonalInfo:r=_g("StepMemberPersonalInfoComponent");break;case ve.collectMilitaryStatus:r=_g("StepCollectMilitaryStatusComponent");break;case ve.collectActiveMilitaryPersonalInfo:r=_g("StepActiveMilitaryPersonalInfoComponent");break;case ve.collectInactiveMilitaryPersonalInfo:r=_g("StepInactiveMilitaryPersonalInfoComponent");break;case ve.collectFirstResponderPersonalInfo:r=_g("StepFirstResponderPersonalInfoComponent");break;case ve.collectMedicalProfessionalPersonalInfo:r=_g("StepMedicalProfessionalPersonalInfoComponent");break;case ve.collectEmployeePersonalInfo:r=_g("StepEmploymentPersonalInfoComponent");break;case ve.collectDriverLicensePersonalInfo:r=_g("StepDriverLicensePersonalInfoComponent");break;case ve.collectGeneralIdentityPersonalInfo:r=_g("StepGeneralIdentityPersonalInfoComponent");break;case ve.collectHybridIdentityPersonalInfo:r=_g("StepHybridIdentityPersonalInfoComponent");break;case ve.collectLicensedProfessionalPersonalInfo:r=_g("StepLicensedProfessionalPersonalInfoComponent");break;case ve.collectMoverPersonalInfo:r=_g("StepMoverPersonalInfoComponent");break;case ve.collectLowIncomePersonalInfo:r=_g("StepLowIncomePersonalInfoComponent");break;case ve.collectSocialSecurityNumber:r=_g("StepSocialSecurityNumber");break;case ve.success:r=_g("StepSuccessComponent"),n=!0;break;case ve.consolation:r=_g("StepConsolationComponent"),n=!0;break;case ve.override:r=_g("StepOverrideComponent"),n=!0;break;case ve.docUpload:r=_g("StepDocUploadComponent"),n=!0;break;case ve.pending:r=_g("StepPendingComponent"),n=!0;break;case ve.sso:r=_g("StepSSOComponent");break;case ve.smsLoop:r=_g("StepSMSLoopComponent"),n=!0;break;case ve.emailLoop:r=_g("StepEmailLoopComponent"),n=!0;break;case ve.missingRequiredMetadata:return r=_g("StepErrorComponent"),q.createElement(r,{verificationService:t,errorId:"missingRequiredMetadata"});case ve.error:r=_g("StepErrorComponent");break;default:const a=`Error: Unknown step to render in LoadStepComponent.\n Unable to render step name "${e}". Possible steps are [${ye.join(", ")}]`;return he.error(a,"Unknown step in LoadStepComponent"),q.createElement(gh,{verificationService:t,errorId:"invalidStep"})}return n?q.createElement(q.Suspense,{fallback:q.createElement(zc,null)},q.createElement(r,{verificationService:t})):q.createElement(r,{verificationService:t})},kg=({styles:e,children:t})=>q.createElement("div",null,e?q.createElement("style",null,(e=>window.self===window.top?e.replace(/body,/g,"").replace(/label,/g,"").replace(/button\[type=('|")submit('|")\]\s*?\{[\s\S]*?\}\n?/g,"").replace(/a:link,\s+a:visited,\s+a:hover,\s+a:active\s*?\{[\s\S]*?\}\n?/g,"").replace(/h1\s*?\{[\s\S]*?\}\n?/g,""):e)(e)):null,t);kg.defaultProps={styles:"",children:""};const Pg=({verificationService:e})=>e.programTheme&&e.programTheme.isTestMode?q.createElement("div",{className:"sid-test-mode-flag sid-l-container sid-l-horz-center"},"Test Mode",q.createElement(bd,{className:"sid-test-mode-flag__link",href:"http://developer.sheerid.com/getting-started#test-program","aria-label":"learn more about a sheerid test mode program"},"(learn more)")):null,Rg=function(){var e=gr((function*(){if(!document.getElementById("ipqs"))return new(yr())((e=>{const t=document.createElement("script");t.src="https://fd.sheerid.com/api/*/BJOvvIiNpZnA9XHXIHVc0S4FO87k4eub6NLOfmShTU7nRqamLKTzQixwD7XETz7bvtNHmicHNx9hEtOJ9NPo3kUJBl7o1jpwcbcXeOMDJjvulAWSrRnO7WYq9gxL6xNT0xnfou5UlshUGWQ2g68qBuWajMWbxZ25JELntxaP0neiVUbephG5E79ES89qBo4uIGBDvykdJb75hpo0URvJ0Fm1j6fuEqHQBq64Mi390KC9XoQwiFxyboxQ5lSooY4p/learn.js",t.async=!0,t.id="ipqs",document.body.appendChild(t),t.onload=()=>{e()}}))}));return function(){return e.apply(this,arguments)}}(),Fg=function(){var e=gr((function*(e,t){oe((()=>e.ipqsDeviceFingerprintEnabled),!1)&&(yield Rg(),window.IPQ={Callback:()=>{window.Startup.Store("transactionID",t),window.Startup.Init()}})}));return function(t,r){return e.apply(this,arguments)}}();function Lg(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Ug(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Lg(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Lg(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Bg=({locale:e,messages:t,programTheme:r,verificationService:n})=>{q.useEffect((()=>{Fg(r,n.verificationResponse.verificationId)}),[n.verificationResponse.verificationId]);const a=Ug(Ug({},t),wa()(Aa(e)));return q.createElement(Zt,{locale:"en",key:e,messages:a,textComponent:zi},q.createElement(kg,{styles:Va(r)},n.isLoading?q.createElement(zc,{step:n.loadingStep}):q.createElement("div",{className:`${um().isRtlLang(xa(e))?"sid-rtl":"sid-ltr"} sid-locale-${e}`},!Mn().hideTestModeFlag&&q.createElement(Pg,{verificationService:n}),q.createElement(Og,{stepToLoad:n.overrideStep||n.verificationResponse.currentStep,verificationService:n}))))},Vg=()=>{window.addEventListener("message",(e=>{"true"===("string"==typeof e.data?JSON.parse(e.data):e.data).isInLightBox&&(document.addEventListener("keydown",(e=>{const t=document.querySelectorAll('button, .sid-link, input, select, textarea, [tabindex]:not([tabindex="-1"]'),r=t[t.length-1];"Tab"===e.key&&r&&(window.addEventListener("message",(t=>{"lastElement"===("string"==typeof t.data?JSON.parse(t.data):t.data).focusOn&&(r.focus(),e.preventDefault())})),e.shiftKey||document.activeElement!==r||(window.parent.postMessage({focusOn:"firstElement"},"*"),e.preventDefault()))})),window.parent.postMessage({focusOn:"firstElement"},"*"))}))};function zg(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function jg(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=zg(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=zg(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}class Hg extends q.Component{constructor(e){super(e),b(this,"verificationService",void 0),he.info("NewVerificationComponent: constructing"),this.props.trackingId&&this.props.trackingId.length?he.info(`Attaching a trackingId to this verification request ${this.props.trackingId}`):he.info("No trackingId to associate with the verification request")}componentDidMount(){var e;if(As(),Vg(),Jr(e=e=>{"setViewModel"===e.data.action&&Sf(e.data.viewModel)}),window[Qc](ed,(t=>{e(t)}),!1),(()=>{try{return new(Sr())(window.location.search).get(nn)===we.loading||Mn()[nn]===we.loading}catch(e){return he.error(e,"isMockingLoading"),!1}})())he.info("Mocking loading screen. Not fetching new verification request.");else{he.info("NewVerificationComponent: fetchNewVerificationRequest");const e=oe((()=>this.props.verificationService.verificationResponse.segment));this.props.verificationService.fetchNewVerificationRequest(this.props.programId,e,this.props.verificationService.previousViewModel,this.props.trackingId)}}render(){const{viewModel:e}=this.props.verificationService,t=Oa(e);let r;this.props.messages&&(r=this.props.messages);const n=jg(jg({},r),wa()(Aa(t)));if(this.props.verificationService.isLoading&&!this.props.verificationService.loadingStep)return he.info("NewVerificationComponent: VerificationService is loading"),q.createElement(Zt,{locale:"en",key:t,messages:n,textComponent:zi},q.createElement(zc,null));const{programTheme:a}=this.props.verificationService,{verificationResponse:i}=this.props.verificationService;return he.info("NewVerificationComponent: verificationResponse, viewModel",i,e),he.info(`NewVerificationComponent: locale: ${t}, currentStep: ${i.currentStep}, messages: `,r),q.createElement(Bg,{locale:t,messages:r,programTheme:a,verificationService:this.props.verificationService})}}const $g=Kf(((e,t)=>jg({},e)),((e,t)=>({fetchNewVerificationRequest:Yd(e),fetchExistingVerificationRequest:Kd(e),updateViewModel:Jd(e),updateLocale:Xd(e,t.programId),updateProgramTheme:Qd(e),updateFieldValidationErrors:tf(e),submitStep:rf(e),resetState:ef(e)})),((e,t,r)=>jg({verificationService:jg(jg({},e),t),messages:e.messages},r)))(Hg),qg=Ef();qd(Hd.jslibVersionActual,oe((()=>Xn()),"?"));const Wg=q.forwardRef((({programId:e,trackingId:t},r)=>{var n;return d()(n=oe((()=>window.sheerId.hooks),[])).call(n,(e=>{try{Cd(e)}catch(t){he.warn("Error adding hook:",e,t)}})),qg.dispatch({programId:e,type:"PROGRAM_ID"}),r&&(r.current={refresh:q.useCallback((()=>qg.dispatch({type:"FORCE_UPDATE"})),[]),reset:q.useCallback((()=>qg.dispatch({type:"RESET_STATE"})),[])}),q.createElement(Af,{store:qg},q.createElement(Ja,null,q.createElement($g,{programId:e,trackingId:t})))})),Gg=(Ft((({value:e,isErrored:t,onChange:r,intl:n,onKeyDown:a,placeholder:i=""})=>q.createElement("div",{className:"sid-field sid-state"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"state",defaultMessage:"State"}),htmlForLabel:"sid-state",id:"sid-state-label",displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(Sl,{id:"state",isErrored:t,onChange:e=>r(e.target.value),onKeyDown:"function"==typeof a?e=>a(e):void 0,placeholder:i||n.formatHTMLMessage({id:"statePlaceholder",defaultMessage:"State"}),value:e,"aria-labelledby":"sid-state-label"}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidState",defaultMessage:"Invalid state"})):null))),Ft((({verificationService:e,includeCompanyName:t,intl:r})=>{const{programTheme:n}=e,a=ja(n),i=`${((e,t)=>{let r="";try{r=new(Er())(ja(e)).hostname}catch(e){he.warn("Invalid Privacy Policy URL ",r)}return"www.sheerid.com"===r?"SheerID":t.formatHTMLMessage({id:"companyName",defaultMessage:"{companyName}"})})(n,r)} `;return q.createElement(bd,{className:"sid-privacy-policy sid-link",href:a},t?q.createElement("span",null,i):null,q.createElement(or,{id:"privacyPolicy",defaultMessage:"Privacy Policy"}))})),(e,t)=>{e.classList.remove("fade-in"),cr()((()=>{document.body.style.overflow="auto",e.parentNode.removeChild(e)}),t)}),Yg=e=>{var t;const r=new(Er())(e),n=new(Er())(window.location.href);return d()(t=n.searchParams).call(t,((e,t)=>{r.searchParams.has(t)||r.searchParams.set(t,e)})),r.href};class Kg{constructor(e,t){if(b(this,"containerElement",void 0),b(this,"verificationUrl",void 0),b(this,"isMobileDevice",void 0),b(this,"iframe",void 0),b(this,"verificationIframeUid",void 0),b(this,"hasLoaded",!1),b(this,"onLoadEvents",[]),b(this,"installType","cdn_inline_iframe"),Kg.isValidHttpUrl(t)){const r={className:gn.INLINE_IFRAME_CONTENT,title:hn};this.containerElement=e,this.verificationUrl=new(Er())(Yg(t)),this.verificationIframeUid=Kg.createUniqueId(),this.createIframe(r),this.addVerificationSizeUpdatesListener()}else he.error("Invalid URL. Provide a proper URL: https://example.com/","iframe url")}static createUniqueId(){return Math.random().toString(36).substr(2,9)}static isValidHttpUrl(e){try{const t=new(Er())(e);return"http:"===t.protocol||"https:"===t.protocol}catch{return!1}}createIframe(e){this.iframe=document.createElement("iframe"),this.iframe.classList.add(e.className),this.iframe.title=e.title;let t="?";return this.verificationUrl.search&&(t="&"),this.iframe.src=`${this.verificationUrl.href}${t}verificationIframeUid=${this.verificationIframeUid}&${fn}=${encodeURIComponent(Qn())}&${mn}=${this.installType}`,this.iframe.onload=()=>this.onLoad(),this.iframe}addOnLoadEvent(e){try{Jr(e)}catch(e){return void he.error("Invalid callback provided to iFrame.onLoad()",e)}this.hasLoaded?e():this.onLoadEvents.push(e)}onLoad(){var e;this.hasLoaded=!0,d()(e=this.onLoadEvents).call(e,(e=>e()))}addVerificationSizeUpdatesListener(){window.addEventListener("message",(e=>{if(this.verificationUrl.origin!==e.origin)return;const t="string"==typeof e.data?JSON.parse(e.data):e.data;if(t.verificationIframeUid===this.verificationIframeUid)if("updateHeight"===t.action)this.iframe.scrolling="no",this.iframe.style.height=`${t.height}px`;else he.error("Unsupported message.action")}))}setViewModel(e){const t={action:"setViewModel",viewModel:e};this.addOnLoadEvent((()=>this.iframe.contentWindow.postMessage(t,this.verificationUrl.origin)))}setInstallType(e){this.installType=e}init(){this.containerElement.appendChild(this.iframe)}}const Zg=Kg;class Jg{constructor(e,t){b(this,"verificationUrl",void 0),b(this,"redirectOnMobile",void 0),b(this,"overlay",void 0),b(this,"wrapper",void 0),b(this,"iframeInstance",void 0),b(this,"isMobileDevice",void 0),b(this,"closeButtonText",void 0),b(this,"closeButton",void 0),b(this,"stopPropagation",void 0),b(this,"popStateEventHandler",(()=>this.closeModal()));const r=t.mobileThreshold?t.mobileThreshold:vn;this.verificationUrl=Yg(e),this.redirectOnMobile=t.mobileRedirect||!1,this.isMobileDevice=window.innerWidth<=r,this.closeButtonText=t.closeButtonText?t.closeButtonText:"",this.closeButton=null,this.stopPropagation=t.stopPropagation||!1,this.overlay=Jg.createOverlay(),this.wrapper=this.createWrapper(),this.addFocusListener()}createCloseBtn(){if(this.closeButton=document.createElement("button"),this.closeButton.classList.add(gn.CLOSE_BUTTON),this.closeButton.setAttribute("aria-label","close"),this.closeButtonText){const e=document.createElement("div");e.classList.add(gn.CLOSE_TEXT),e.innerHTML=this.closeButtonText,this.closeButton.appendChild(e)}const e=document.createElement("span");return e.classList.add(gn.CLOSE_ICON),e.setAttribute("role","img"),this.closeButton.appendChild(e),this.closeButton.addEventListener("click",(e=>{e.preventDefault(),this.stopPropagation&&e.stopPropagation(),this.closeModal()})),this.closeButton}closeModal(){window.removeEventListener("popstate",this.popStateEventHandler);const e=yn;Gg(this.overlay,e),Gg(this.wrapper,e)}static createOverlay(){const e=document.createElement("div");return e.classList.add(gn.OVERLAY),e}createWrapper(){const e=document.createElement("div");e.classList.add(gn.MODAL_WRAPPER),e.tabIndex=-1,e.setAttribute("role","dialog"),e.appendChild(this.createCloseBtn()),this.iframeInstance=new Zg(e,this.verificationUrl),this.iframeInstance.setInstallType("cdn_modal_iframe");const t={className:gn.MODAL_IFRAME,title:hn};return this.iframeInstance.createIframe(t),e.appendChild(this.iframeInstance.iframe),e}addPopStateListener(){window.addEventListener("popstate",this.popStateEventHandler)}addFocusListener(){window.addEventListener("message",(e=>{"firstElement"===("string"==typeof e.data?JSON.parse(e.data):e.data).focusOn&&this.closeButton.focus()})),document.addEventListener("keydown",(e=>{"Tab"===e.key&&e.shiftKey&&document.activeElement===this.closeButton&&(this.iframeInstance.iframe.contentWindow.postMessage({focusOn:"lastElement"},"*"),e.preventDefault())}))}isInLightboxPostMessage(e){this.iframeInstance.iframe.contentWindow.postMessage({isInLightBox:e},"*")}displayModal(){this.iframeInstance.iframe.addEventListener("load",(()=>{var e;e=[this.overlay,this.wrapper],d()(e).call(e,(e=>{e.classList.add("fade-in")})),document.body.style.overflow="hidden",this.isInLightboxPostMessage("true")})),document.body.appendChild(this.overlay),document.body.appendChild(this.wrapper),this.addPopStateListener()}init(){this.redirectOnMobile&&this.isMobileDevice?window.top.location.href=this.verificationUrl:this.displayModal()}setViewModel(e){this.iframeInstance.setViewModel(e)}}const Xg=Jg;const Qg=function(){var e=gr((function*(e,t){const r=yield vd.fetchProgramTheme(t);oe((()=>r.threatMetrixEnabled),!1)&&_d(e),Fg(r,e)}));return function(t,r){return e.apply(this,arguments)}}();class ev{constructor(e,t,r){if(b(this,"element",void 0),b(this,"programId",void 0),b(this,"trackingId",void 0),b(this,"viewModel",void 0),b(this,"ref",void 0),!(this instanceof ev))throw new Error('Method "render" not found. Did you use the "new" keyword when instantiating VerificationForm?');he.info(`Constructing VerificationFormEs5 ${t}`),Yr(e),this.element=e,this.programId=t,this.trackingId=r,this.ref=q.createRef(),this.render()}refresh(){this.ref.current.refresh()}reset(){this.ref.current.reset()}render(){W.render(q.createElement(Wg,{programId:this.programId,trackingId:this.trackingId,ref:this.ref}),this.element)}unmount(){W.unmountComponentAtNode(this.element)}}class tv{constructor(e){if(b(this,"value",void 0),b(this,"callback",void 0),b(this,"mountPoint",void 0),b(this,"locale",void 0),b(this,"messages",void 0),b(this,"isErrored",void 0),b(this,"errorId",void 0),Yr(e),this.mountPoint=e,this.locale=Oa(),this.messages=((e,t=null)=>{Wr(e);let r={};Mn().messagesWithLocale[e]?r=Mn().messagesWithLocale[e]:Mn().messagesWithLocale[tn]&&(r=Mn().messagesWithLocale[tn]);let n={};if(t)try{n=t.intl.messages}catch(e){he.error(e,"Error accessing programTheme.intl.messages")}return(0,Ea.flatten)(Ca(Ca({},n),r))})(this.locale),"function"!=typeof this.render)throw new Error('Method "render" not found. Did you use the "new" keyword when instantiating this class?');this.render()}getValue(){return this.value}onChange(e){this.callback=e}setValue(e){this.value=e,this.render()}doChange(e){this.value=e,this.render(),"function"==typeof this.callback&&this.callback(this.value)}setIsErrored(e){this.isErrored=e}setErrorId(e){this.errorId=e}}class rv extends tv{constructor(e){if(super(e),b(this,"countryCode",void 0),b(this,"programId",void 0),!(this instanceof rv))return new rv(e)}setCountry(e){this.countryCode=e,this.render()}getCountry(){return this.countryCode}setProgramId(e){this.programId=e,this.render()}getProgramId(){return this.programId}render(){W.render(q.createElement(Zt,{locale:this.locale,key:this.locale,messages:this.messages},q.createElement(Cm,{countryCode:this.countryCode,onChange:e=>this.doChange(e),programId:this.programId,value:this.value,inputHtmlId:"sid-college-name"})),this.mountPoint)}}function nv(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function av(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=nv(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=nv(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const iv={getMessages:_a,setViewModel:Sf,resetViewModel:()=>{const e=wf.getState();e.isLoading?Cd({name:"ON_VERIFICATION_READY",callback:e=>{nf(wf.dispatch)(e)}}):nf(wf.dispatch)(e.verificationResponse)},setOptions:In,resetOptions:Cn,refreshStore:()=>{Mn().mockResponse&&Ef().dispatch({verificationResponse:Mn().mockResponse,type:"VERIFICATION_RESPONSE"}),Ef().dispatch({type:"FORCE_UPDATE"})},setMetadata:Ud,getMetadata:Bd,resetMetadata:()=>{Ld=$()({},Fd)},StudentTypeaheadField:rv,BirthdateField:class extends tv{render(){W.render(q.createElement(Zt,{locale:this.locale,key:this.locale,messages:this.messages},q.createElement(Tm,{value:this.value,locale:this.locale,onChange:e=>this.doChange(e),isErrored:this.isErrored,errorId:this.errorId})),this.mountPoint)}},conversion:sd,overrideComponent:Hc,resetOverriddenComponents:$c,loadInModal:function(e,t={}){const r=new Xg(e,t);return r.init(),r},loadInlineIframe:function(e,t){const r=new Zg(e,t);return r.init(),r},postVerificationSizeUpdates:function(e={origin:"*",interval:100}){if(window.self!==window.top){let t=document.body.offsetHeight;const r=Eh()((()=>{if(t!==document.body.offsetHeight){t=document.body.offsetHeight;const r=t+Yi()(window.getComputedStyle(document.body).marginTop,10)+Yi()(window.getComputedStyle(document.body).marginBottom,10),n=new(Er())(window.location.href).searchParams.get("verificationIframeUid");window.parent.postMessage({verificationIframeUid:n,action:"updateHeight",height:r},e.origin)}}),e.interval);return()=>clearInterval(r)}},addHook:Cd,allMockedResponses:Ac,hooks:void 0,VerificationForm:ev,collectDeviceProfile:Qg,resetStore:()=>Ef().dispatch({type:"RESET_STATE"})};window.sheerId=av(av(av({},window.sheerId||{}),iv),{},{hooks:oe((()=>window.sheerId.hooks),[])}),o.p=na(),window.sheerIdReqV=(()=>{let e;try{var t;e=j()(t=/jslib(\-nightly)?\@[a-zA-Z0-9\.\-]+/gi.exec(na())[0].split("@")[1]).call(t)}catch(e){he.error(e)}return e})()})(),s})()));
82
+ */var r,n,a,i,o;if("undefined"==typeof window||"function"!=typeof MessageChannel){var s=null,l=null,u=function(){if(null!==s)try{var e=t.unstable_now();s(!0,e),s=null}catch(e){throw setTimeout(u,0),e}},c=Date.now();t.unstable_now=function(){return Date.now()-c},r=function(e){null!==s?setTimeout(r,0,e):(s=e,setTimeout(u,0))},n=function(e,t){l=setTimeout(e,t)},a=function(){clearTimeout(l)},i=function(){return!1},o=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,f=window.Date,m=window.setTimeout,p=window.clearTimeout;if("undefined"!=typeof console){var h=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof d&&"function"==typeof d.now)t.unstable_now=function(){return d.now()};else{var g=f.now();t.unstable_now=function(){return f.now()-g}}var v=!1,y=null,b=-1,E=5,w=0;i=function(){return t.unstable_now()>=w},o=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):E=0<e?Math.floor(1e3/e):5};var S=new MessageChannel,M=S.port2;S.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();w=e+E;try{y(!0,e)?M.postMessage(null):(v=!1,y=null)}catch(e){throw M.postMessage(null),e}}else v=!1},r=function(e){y=e,v||(v=!0,M.postMessage(null))},n=function(e,r){b=m((function(){e(t.unstable_now())}),r)},a=function(){p(b),b=-1}}function C(e,t){var r=e.length;e.push(t);e:for(;;){var n=r-1>>>1,a=e[n];if(!(void 0!==a&&0<D(a,t)))break e;e[n]=t,e[r]=a,r=n}}function I(e){return void 0===(e=e[0])?null:e}function N(e){var t=e[0];if(void 0!==t){var r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,a=e.length;n<a;){var i=2*(n+1)-1,o=e[i],s=i+1,l=e[s];if(void 0!==o&&0>D(o,r))void 0!==l&&0>D(l,o)?(e[n]=l,e[s]=r,n=s):(e[n]=o,e[i]=r,n=i);else{if(!(void 0!==l&&0>D(l,r)))break e;e[n]=l,e[s]=r,n=s}}}return t}return null}function D(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}var T=[],A=[],x=1,_=null,O=3,k=!1,P=!1,R=!1;function F(e){for(var t=I(A);null!==t;){if(null===t.callback)N(A);else{if(!(t.startTime<=e))break;N(A),t.sortIndex=t.expirationTime,C(T,t)}t=I(A)}}function L(e){if(R=!1,F(e),!P)if(null!==I(T))P=!0,r(U);else{var t=I(A);null!==t&&n(L,t.startTime-e)}}function U(e,r){P=!1,R&&(R=!1,a()),k=!0;var o=O;try{for(F(r),_=I(T);null!==_&&(!(_.expirationTime>r)||e&&!i());){var s=_.callback;if(null!==s){_.callback=null,O=_.priorityLevel;var l=s(_.expirationTime<=r);r=t.unstable_now(),"function"==typeof l?_.callback=l:_===I(T)&&N(T),F(r)}else N(T);_=I(T)}if(null!==_)var u=!0;else{var c=I(A);null!==c&&n(L,c.startTime-r),u=!1}return u}finally{_=null,O=o,k=!1}}function B(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var V=o;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){P||k||(P=!0,r(U))},t.unstable_getCurrentPriorityLevel=function(){return O},t.unstable_getFirstCallbackNode=function(){return I(T)},t.unstable_next=function(e){switch(O){case 1:case 2:case 3:var t=3;break;default:t=O}var r=O;O=t;try{return e()}finally{O=r}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=V,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=O;O=e;try{return t()}finally{O=r}},t.unstable_scheduleCallback=function(e,i,o){var s=t.unstable_now();if("object"==typeof o&&null!==o){var l=o.delay;l="number"==typeof l&&0<l?s+l:s,o="number"==typeof o.timeout?o.timeout:B(e)}else o=B(e),l=s;return e={id:x++,callback:i,priorityLevel:e,startTime:l,expirationTime:o=l+o,sortIndex:-1},l>s?(e.sortIndex=l,C(A,e),null===I(T)&&e===I(A)&&(R?a():R=!0,n(L,l-s))):(e.sortIndex=o,C(T,e),P||k||(P=!0,r(U))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();F(e);var r=I(T);return r!==_&&null!==_&&null!==r&&null!==r.callback&&r.startTime<=e&&r.expirationTime<_.expirationTime||i()},t.unstable_wrapCallback=function(e){var t=O;return function(){var r=O;O=t;try{return e.apply(this,arguments)}finally{O=r}}}},9164:(e,t,r)=>{"use strict";e.exports=r(9492)},6943:e=>{e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],n=0;n<e.rangeCount;n++)r.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||r.forEach((function(t){e.addRange(t)})),t&&t.focus()}}},4115:()=>{},5353:()=>{},7116:()=>{},6340:()=>{}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return a[e].call(r.exports,r,r.exports,o),r.exports}o.m=a,o.amdO={},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var a=Object.create(null);o.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>r[e]));return i.default=()=>r,o.d(a,i),a},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((t,r)=>(o.f[r](e,t),t)),[])),o.u=e=>"es5/"+{41:"messages_cs",44:"messages_no",47:"messages_lo",61:"messages_sk",79:"messages_es-ES",93:"messages_zh-HK",122:"messages_hr",140:"messages_sv",194:"messages_en-GB",195:"messages_es",259:"messages_pt",283:"messages_lt",293:"messages_ko",304:"messages_fi",348:"messages_da",398:"messages_id",456:"messages_ga",458:"messages_bg",478:"messages_ms",482:"messages_el",485:"messages_fr-CA",494:"messages_zh",495:"messages_pt-BR",589:"messages_pl",596:"messages_nl",645:"messages_fr",666:"messages_sl",691:"messages_ja",711:"messages_ar",722:"messages_hu",753:"messages_ru",772:"Tmetrix",797:"messages_it",845:"messages_th",856:"messages_tr",903:"messages_de",916:"messages_sr",961:"messages_iw"}[e]+".bundle.js",o.miniCssF=e=>"sheerid.css",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},n="sheerid:",o.l=(e,t,a,i)=>{if(r[e])r[e].push(t);else{var s,l;if(void 0!==a)for(var u=document.getElementsByTagName("script"),c=0;c<u.length;c++){var d=u[c];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==n+a){s=d;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,o.nc&&s.setAttribute("nonce",o.nc),s.setAttribute("data-webpack",n+a),s.src=e,0!==s.src.indexOf(window.location.origin+"/")&&(s.crossOrigin="anonymous")),r[e]=[t];var f=(t,n)=>{s.onerror=s.onload=null,clearTimeout(m);var a=r[e];if(delete r[e],s.parentNode&&s.parentNode.removeChild(s),a&&a.forEach((e=>e(n))),t)return t(n)},m=setTimeout(f.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=f.bind(null,s.onerror),s.onload=f.bind(null,s.onload),l&&document.head.appendChild(s)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.p="",(()=>{var e={143:0};o.f.j=(t,r)=>{var n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var a=new Promise(((r,a)=>n=e[t]=[r,a]));r.push(n[2]=a);var i=o.p+o.u(t),s=new Error;o.l(i,(r=>{if(o.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var a=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",s.name="ChunkLoadError",s.type=a,s.request=i,n[1](s)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,a,[i,s,l]=r,u=0;if(i.some((t=>0!==e[t]))){for(n in s)o.o(s,n)&&(o.m[n]=s[n]);if(l)l(o)}for(t&&t(r);u<i.length;u++)a=i[u],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},r=self.webpackChunksheerid=self.webpackChunksheerid||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var s={};return(()=>{"use strict";o.r(s),o.d(s,{VerificationForm:()=>Wg,overrideComponent:()=>Hc,resetOptions:()=>Cn,resetOverriddenComponents:()=>$c,setOptions:()=>In});var e=o(8818),t=o.n(e),r=o(3567),n=o.n(r),a=o(7917),i=o.n(a),l=o(3029),u=o.n(l),c=o(9154),d=o.n(c),f=o(6500),m=o.n(f),p=o(3537),h=o.n(p),g=o(944),v=o.n(g),y=o(6709);function b(e,t,r){return t in e?y(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var E="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==E&&E,w={searchParams:"URLSearchParams"in E,iterable:"Symbol"in E&&"iterator"in Symbol,blob:"FileReader"in E&&"Blob"in E&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in E,arrayBuffer:"ArrayBuffer"in E};if(w.arrayBuffer)var S=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],M=ArrayBuffer.isView||function(e){return e&&S.indexOf(Object.prototype.toString.call(e))>-1};function C(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function I(e){return"string"!=typeof e&&(e=String(e)),e}function N(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return w.iterable&&(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 T(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function A(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function x(e){var t=new FileReader,r=A(t);return t.readAsArrayBuffer(e),r}function _(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function O(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:w.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:w.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:w.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():w.arrayBuffer&&w.blob&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=_(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):w.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||M(e))?this._bodyArrayBuffer=_(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):w.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},w.blob&&(this.blob=function(){var e=T(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(){if(this._bodyArrayBuffer){var e=T(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(x)}),this.text=function(){var e=T(this);if(e)return e;if(this._bodyBlob)return function(e){var t=new FileReader,r=A(t);return t.readAsText(e),r}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},w.formData&&(this.formData=function(){return this.text().then(R)}),this.json=function(){return this.text().then(JSON.parse)},this}D.prototype.append=function(e,t){e=C(e),t=I(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},D.prototype.delete=function(e){delete this.map[C(e)]},D.prototype.get=function(e){return e=C(e),this.has(e)?this.map[e]:null},D.prototype.has=function(e){return this.map.hasOwnProperty(C(e))},D.prototype.set=function(e,t){this.map[C(e)]=I(t)},D.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},D.prototype.keys=function(){var e=[];return this.forEach((function(t,r){e.push(r)})),N(e)},D.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),N(e)},D.prototype.entries=function(){var e=[];return this.forEach((function(t,r){e.push([r,t])})),N(e)},w.iterable&&(D.prototype[Symbol.iterator]=D.prototype.entries);var k=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function P(e,t){if(!(this instanceof P))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n,a=(t=t||{}).body;if(e instanceof P){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,a||null==e._bodyInit||(a=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=t.method||this.method||"GET",n=r.toUpperCase(),k.indexOf(n)>-1?n:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&a)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(a),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var i=/([?&])_=[^&]*/;if(i.test(this.url))this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function R(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),a=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(a))}})),t}function F(e,t){if(!(this instanceof F))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new D(t.headers),this.url=t.url||"",this._initBody(e)}P.prototype.clone=function(){return new P(this,{body:this._bodyInit})},O.call(P.prototype),O.call(F.prototype),F.prototype.clone=function(){return new F(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new D(this.headers),url:this.url})},F.error=function(){var e=new F(null,{status:0,statusText:""});return e.type="error",e};var L=[301,302,303,307,308];F.redirect=function(e,t){if(-1===L.indexOf(t))throw new RangeError("Invalid status code");return new F(null,{status:t,headers:{location:e}})};var U=E.DOMException;try{new U}catch(e){U=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},U.prototype=Object.create(Error.prototype),U.prototype.constructor=U}function B(e,t){return new Promise((function(r,n){var a=new P(e,t);if(a.signal&&a.signal.aborted)return n(new U("Aborted","AbortError"));var i=new XMLHttpRequest;function o(){i.abort()}i.onload=function(){var e,t,n={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",t=new D,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var a=r.join(":").trim();t.append(n,a)}})),t)};n.url="responseURL"in i?i.responseURL:n.headers.get("X-Request-URL");var a="response"in i?i.response:i.responseText;setTimeout((function(){r(new F(a,n))}),0)},i.onerror=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},i.ontimeout=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},i.onabort=function(){setTimeout((function(){n(new U("Aborted","AbortError"))}),0)},i.open(a.method,function(e){try{return""===e&&E.location.href?E.location.href:e}catch(t){return e}}(a.url),!0),"include"===a.credentials?i.withCredentials=!0:"omit"===a.credentials&&(i.withCredentials=!1),"responseType"in i&&(w.blob?i.responseType="blob":w.arrayBuffer&&a.headers.get("Content-Type")&&-1!==a.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof D?a.headers.forEach((function(e,t){i.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){i.setRequestHeader(e,I(t.headers[e]))})),a.signal&&(a.signal.addEventListener("abort",o),i.onreadystatechange=function(){4===i.readyState&&a.signal.removeEventListener("abort",o)}),i.send(void 0===a._bodyInit?null:a._bodyInit)}))}B.polyfill=!0,E.fetch||(E.fetch=B,E.Headers=D,E.Request=P,E.Response=F);var V=o(8675);o.n(V)()(Object)||(Object.values=function(e){const t=[];for(const r in e)e.hasOwnProperty(r)&&t.push(e[r]);return t});var z=o(8903),j=o.n(z);!function(e){const t="currentScript";t in e||v()(e,t,{get(){try{throw new Error}catch(n){const a=/.*at [^(]*\((.*):(.+):(.+)\)$/gi.exec(n.stack),i=a&&a[1]||!1,o=a&&a[2]||!1,s=e.location.href.replace(e.location.hash,""),l=e.getElementsByTagName("script");let u,c,d,f=0;var t;if(i===s)u=e.documentElement.outerHTML,c=new RegExp(`(?:[^\\n]+?\\n){0,${o-2}}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*`,"i"),d=j()(t=u.replace(c,"$1")).call(t);for(;f<l.length;f+=1){var r;if("interactive"===l[f].readyState)return l[f];if(l[f].src===i)return l[f];if(i===s&&l[f].innerHTML&&j()(r=l[f].innerHTML).call(r)===d)return l[f]}return null}}})}(document);var H=o(9910),$=o.n(H);"function"!=typeof $()&&(Object.assign=function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");const r=Object(e);for(let e=1;e<arguments.length;e+=1){const t=arguments[e];if(null!=t)for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=t[e])}return r});var q=o(6255),W=o(3059),G=o(3371),Y=o.n(G),K=o(3049),Z=o.n(K),J=o(1306),X=o.n(J),Q=o(210),ee=o.n(Q),te=o(2021),re=o.n(te),ne=o(3305),ae=o.n(ne);function ie(e){return ae()(e)}function oe(e,t){try{return e()}catch(e){return t}}function se(...e){const r=e=>e&&"object"==typeof e;function n(e,a){var i;return d()(i=t()(a)).call(i,(t=>{const i=e[t],o=a[t];X()(i)&&X()(o)?e[t]=ee()(i).call(i,o):r(i)&&r(o)?e[t]=n($()({},i),o):e[t]=o})),e}if(e.length<2)throw new Error("deepMerge: this function expects at least 2 objects to be provided");if(re()(e).call(e,(e=>!r(e))))throw new Error('deepMerge: all values should be of type "object"');const a=e.shift();let i;for(;i=e.shift();)n(a,i);return a}let le=4,ue="";const ce={info:1,log:2,warn:3,error:4},de={info:"#26c1db",log:"#09f979",warn:"#f6b13f",error:"#e12046"},fe="color: white; font-weight: bold; padding: 2px 10px;";let me;const pe=(...e)=>{le<=3&&console.warn(`%c${ue} warn`,`background: ${de.warn};${fe}`,...e)},he={error:(e,t)=>{if(le<=4){if(!e)return void console.error(new Error("An error must be supplied"));let r;"string"==typeof e&&(r=new Error(e)),(e=>e&&e.stack&&e.message)(e)&&(r=e),r||(r=new Error("Unknown error"));let n={errorMessageGroup:t};try{if(me&&me.getState){const e=me.getState(),r=oe((()=>e.verificationResponse.errorIds));n={errorMessageGroup:t,programId:oe((()=>e.programId)),isLoading:oe((()=>e.isLoading)),isErrored:oe((()=>e.isErrored)),errorIdsFromVerRsp:X()(r)?r.join:void 0,verificationId:oe((()=>e.verificationResponse.verificationId)),currentStep:oe((()=>e.verificationResponse.currentStep)),locale:oe((()=>e.programTheme.intl.locale)),isTestMode:oe((()=>e.programTheme.isTestMode)),openOrgSearchEnabled:oe((()=>e.programTheme.openOrgSearchEnabled)),jslibVerActual:oe((()=>window.sheerIdPubV),"?"),jslibVerRequested:oe((()=>window.sheerIdReqV),"?")}}}catch(e){console.warn("Unable to assemble useful error attributes",e)}try{window.NREUM?window.NREUM.noticeError(r,n):pe("Off-site logging not available.")}catch(e){console.error("Unable to send error to remote service",e)}console.error(`%c${ue} error`,`background: ${de.error};${fe}`,r,n)}},warn:pe,log:(...e)=>{le<=2&&console.log(`%c${ue} log`,`background: ${de.log};${fe}`,...e)},info:(...e)=>{le<=1&&console.log(`%c${ue} info`,`background: ${de.info};${fe}`,...e)},logAPIResponseTime:(e,t)=>{window.NREUM?window.NREUM.addPageAction("API-calls-timing",{api_call:e,api_response_time:t}):pe("Off-site logging not available.")},setLogLevel:e=>{if(!ce.hasOwnProperty(e))throw new Error(`Unknown logLevel '${e}'`);le=ce[e],console.log(`%c${ue} log level set to ${e}`,`background: ${de[e]};${fe}`)},setPrefix:e=>{ue=e},init:e=>{me=e}},ge=["ar","bg","cs","da","de","el","en-GB","en-US","es-ES","es","fi","fr-CA","fr","ga","hr","hu","id","it","iw","ja","ko","lo","lt","ms","nl","nl-BE","no","pl","pt-BR","pt","ro","ru","sk","sl","sr","sv","ur","vi","th","tr","zh-HK","zh","zu"];let ve;!function(e){e.collectStudentPersonalInfo="collectStudentPersonalInfo",e.collectTeacherPersonalInfo="collectTeacherPersonalInfo",e.collectMemberPersonalInfo="collectMemberPersonalInfo",e.collectMilitaryStatus="collectMilitaryStatus",e.collectActiveMilitaryPersonalInfo="collectActiveMilitaryPersonalInfo",e.collectInactiveMilitaryPersonalInfo="collectInactiveMilitaryPersonalInfo",e.collectSeniorPersonalInfo="collectSeniorPersonalInfo",e.collectAgePersonalInfo="collectAgePersonalInfo",e.collectFirstResponderPersonalInfo="collectFirstResponderPersonalInfo",e.collectMedicalProfessionalPersonalInfo="collectMedicalProfessionalPersonalInfo",e.collectEmployeePersonalInfo="collectEmployeePersonalInfo",e.collectSocialSecurityNumber="collectSocialSecurityNumber",e.cancelSocialSecurityNumber="cancelSocialSecurityNumber",e.collectDriverLicensePersonalInfo="collectDriverLicensePersonalInfo",e.collectGeneralIdentityPersonalInfo="collectGeneralIdentityPersonalInfo",e.collectHybridIdentityPersonalInfo="collectHybridIdentityPersonalInfo",e.collectLicensedProfessionalPersonalInfo="collectLicensedProfessionalPersonalInfo",e.collectMoverPersonalInfo="collectMoverPersonalInfo",e.collectLowIncomePersonalInfo="collectLowIncomePersonalInfo",e.docUpload="docUpload",e.pending="pending",e.docReviewLimitExceeded="docReviewLimitExceeded",e.success="success",e.error="error",e.sso="sso",e.smsLoop="smsLoop",e.emailLoop="emailLoop",e.cancelEmailLoop="cancelEmailLoop",e.consolation="consolation",e.override="override",e.cancelDocUpload="cancelDocUpload",e.missingRequiredMetadata="missingRequiredMetadata"}(ve||(ve={}));const ye=Y()(ve),be=i()(ye).call(ye,(e=>Z()(e).call(e,"collect")));let Ee;!function(e){e.docUpload="docUpload",e.pending="pending",e.error="error"}(Ee||(Ee={}));Y()(Ee);let we;!function(e){e.loading="loading",e.collect="collect"}(we||(we={}));const Se=[...Y()(ve),...Y()(we)];let Me,Ce,Ie;!function(e){e.TEXT="TEXT",e.QR="QR",e.PDF417="PDF417",e.UPC_A="UPC_A",e.ITF="ITF",e.CODE_128="CODE_128"}(Me||(Me={})),function(e){e.student="collectStudentPersonalInfo",e.military="collectActiveMilitaryPersonalInfo",e.teacher="collectTeacherPersonalInfo",e.firstResponder="collectFirstResponderPersonalInfo",e.senior="collectSeniorPersonalInfo",e.age="collectAgePersonalInfo",e.medical="collectMedicalProfessionalPersonalInfo",e.recentMover="collectMoverPersonalInfo",e.licensedProfessional="collectLicensedProfessionalPersonalInfo",e.identity="collectGeneralIdentityPersonalInfo",e.member="collectMemberPersonalInfo"}(Ce||(Ce={})),function(e){e.STUDENT="student",e.MILITARY="military",e.TEACHER="teacher",e.MEMBER="member",e.SENIOR="senior",e.AGE="age",e.FIRST_RESPONDER="firstResponder",e.MEDICAL="medical",e.EMPLOYMENT="employment",e.IDENTITY="identity",e.LICENSED_PROFESSIONAL="licensedProfessional",e.RECENT_MOVER="recentMover",e.LOW_INCOME="lowIncome"}(Ie||(Ie={}));const Ne=Y()(Ie);let De;!function(e){e.ACTIVE_DUTY="activeDuty",e.VETERAN="veteran",e.RESERVIST="reservist",e.MILITARY_RETIREE="retiree",e.MILITARY_FAMILY="militaryFamily",e.GOLD_STAR_FAMILY="goldStarFamily",e.FIREFIGHTER="fireFighter",e.POLICE="police",e.EMT="emt",e.NURSE="nurse",e.DRIVER_LICENSE="driverLicense",e.GENERAL_IDENTITY="generalIdentity",e.HYBRID_IDENTITY="hybridIdentity",e.HOME_BUYER="homeBuyer",e.OTHER_MOVER="otherMover",e.LICENSED_COSMETOLOGIST="licensedCosmetologist",e.LICENSED_REAL_ESTATE_AGENT="licensedRealEstateAgent",e.VETERINARIAN="Veterinarian",e.SNAP_BENEFITS="snapBenefits",e.OTHER_GOVERNMENT_ASSISTANCE="otherGovernmentAssistance",e.CHILD_CARE_WORKER="childCareWorker",e.LIBRARIAN="librarian"}(De||(De={}));Y()(De);const Te={ACTIVE_DUTY:"Active Duty",MILITARY_RETIREE:"Military Retiree",RESERVIST:"Reservist or National Guard",VETERAN:"Military Veteran or Retiree",MILITARY_FAMILY:"Military Family",GOLD_STAR_FAMILY:"Gold Star Family"},Ae=["Air Force Reserve","Air National Guard","Army Reserve","Army National Guard","Coast Guard Reserve","Marine Corps Forces Reserve","Navy Reserve"],xe={FIREFIGHTER:"Firefighter",POLICE:"Police",EMT:"EMT",SEARCH_AND_RESCUE:"Search and Rescue"},_e={NURSE:"Nurse",DOCTOR:"Doctor",OTHER_HEALTH_WORKER:"Other Health Worker",DENTIST:"Dentist",PHARMACIST:"Pharmacist"};Y()(Te),Y()(xe),Y()(_e),Y()({HOME_BUYER:"Home Buyer",OTHER_MOVER:"Other Mover"}),Y()({SNAP_BENEFITS:"Snap Benefits Recipient",OTHER_GOVERNMENT_ASSISTANCE:"Other Government Assistance Recipient"});let Oe;!function(e){e.firstName="firstName",e.lastName="lastName",e.memberId="memberId",e.organization="organization",e.birthDate="birthDate",e.email="email",e.phoneNumber="phoneNumber",e.postalCode="postalCode",e.address1="address1",e.city="city",e.country="country",e.state="state",e.dischargeDate="dischargeDate",e.activeDutyStartDate="activeDutyStartDate",e.docUpload="docUpload",e.status="status",e.statuses="statuses",e.marketConsentValue="marketConsentValue",e.socialSecurityNumber="socialSecurityNumber",e.carrierConsentValue="carrierConsentValue",e.driverLicenseNumber="driverLicenseNumber",e.ebtCardNumber="ebtCardNumber",e.overrideCode="overrideCode"}(Oe||(Oe={}));const ke=Y()(Oe);let Pe;!function(e){e.ON_VERIFICATION_READY="ON_VERIFICATION_READY",e.ON_VERIFICATION_SUCCESS="ON_VERIFICATION_SUCCESS",e.ON_VERIFICATION_STEP_CHANGE="ON_VERIFICATION_STEP_CHANGE",e.ON_FORM_LOCALE_CHANGE="ON_FORM_LOCALE_CHANGE"}(Pe||(Pe={}));const Re=Y()(Pe);let Fe;!function(e){e.AK="AK",e.AL="AL",e.AR="AR",e.AZ="AZ",e.AS="AS",e.CA="CA",e.CO="CO",e.CT="CT",e.DC="DC",e.DE="DE",e.FL="FL",e.GA="GA",e.GU="GU",e.HI="HI",e.IA="IA",e.ID="ID",e.IL="IL",e.IN="IN",e.KS="KS",e.KY="KY",e.LA="LA",e.MA="MA",e.MD="MD",e.ME="ME",e.MI="MI",e.MN="MN",e.MO="MO",e.MS="MS",e.MT="MT",e.NC="NC",e.ND="ND",e.NE="NE",e.NH="NH",e.NJ="NJ",e.NM="NM",e.NV="NV",e.NY="NY",e.OH="OH",e.OK="OK",e.OR="OR",e.PA="PA",e.PR="PR",e.RI="RI",e.SC="SC",e.SD="SD",e.TN="TN",e.TX="TX",e.UT="UT",e.VA="VA",e.VI="VI",e.VT="VT",e.WA="WA",e.WI="WI",e.WV="WV",e.WY="WY"}(Fe||(Fe={}));var Le=o(7116),Ue=o.n(Le),Be=o(8314),Ve=o.n(Be),ze=o(1962),je=o.n(ze),He=o(914),$e=o.n(He),qe=o(2971),We=o.n(qe),Ge=o(5958),Ye=o.n(Ge);function Ke(e){return JSON.stringify(e.map((function(e){return e&&"object"==typeof e?(t=e,Object.keys(t).sort().map((function(e){var r;return(r={})[e]=t[e],r}))):e;var t})))}const Ze=function(e,t){return void 0===t&&(t={}),function(){for(var r,n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var i=Ke(n),o=i&&t[i];return o||(o=new((r=e).bind.apply(r,[void 0].concat(n))),i&&(t[i]=o)),o}};var Je={locale:"en",pluralRuleFunction:function(e,t){var r=String(e).split("."),n=!r[1],a=Number(r[0])==e,i=a&&r[0].slice(-1),o=a&&r[0].slice(-2);return t?1==i&&11!=o?"one":2==i&&12!=o?"two":3==i&&13!=o?"few":"other":1==e&&n?"one":"other"},fields:{year:{displayName:"year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"}}},"year-short":{displayName:"yr.",relative:{0:"this yr.",1:"next yr.","-1":"last yr."},relativeTime:{future:{one:"in {0} yr.",other:"in {0} yr."},past:{one:"{0} yr. ago",other:"{0} yr. ago"}}},month:{displayName:"month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"}}},"month-short":{displayName:"mo.",relative:{0:"this mo.",1:"next mo.","-1":"last mo."},relativeTime:{future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"}}},day:{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},"day-short":{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},hour:{displayName:"hour",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}}},"hour-short":{displayName:"hr.",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hr.",other:"in {0} hr."},past:{one:"{0} hr. ago",other:"{0} hr. ago"}}},minute:{displayName:"minute",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}}},"minute-short":{displayName:"min.",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} min.",other:"in {0} min."},past:{one:"{0} min. ago",other:"{0} min. ago"}}},second:{displayName:"second",relative:{0:"now"},relativeTime:{future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}}},"second-short":{displayName:"sec.",relative:{0:"now"},relativeTime:{future:{one:"in {0} sec.",other:"in {0} sec."},past:{one:"{0} sec. ago",other:"{0} sec. ago"}}}}};function Xe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];(Array.isArray(e)?e:[e]).forEach((function(e){e&&e.locale&&(Ve().__addLocaleData(e),je().__addLocaleData(e))}))}function Qe(e){var t=e&&e.toLowerCase();return!(!Ve().__localeData__[t]||!je().__localeData__[t])}var et="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},tt=(function(){function e(e){this.value=e}function t(t){var r,n;function a(r,n){try{var o=t[r](n),s=o.value;s instanceof e?Promise.resolve(s.value).then((function(e){a("next",e)}),(function(e){a("throw",e)})):i(o.done?"return":"normal",o.value)}catch(e){i("throw",e)}}function i(e,t){switch(e){case"return":r.resolve({value:t,done:!0});break;case"throw":r.reject(t);break;default:r.resolve({value:t,done:!1})}(r=r.next)?a(r.key,r.arg):n=null}this._invoke=function(e,t){return new Promise((function(i,o){var s={key:e,arg:t,resolve:i,reject:o,next:null};n?n=n.next=s:(r=n=s,a(e,t))}))},"function"!=typeof t.return&&(this.return=void 0)}"function"==typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype.throw=function(e){return this._invoke("throw",e)},t.prototype.return=function(e){return this._invoke("return",e)}}(),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),rt=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),nt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},at=function(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)},it=function(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},ot=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)},st=$e().bool,lt=$e().number,ut=$e().string,ct=$e().func,dt=$e().object,ft=$e().oneOf,mt=$e().shape,pt=$e().any,ht=$e().oneOfType,gt=ft(["best fit","lookup"]),vt=ft(["narrow","short","long"]),yt=ft(["numeric","2-digit"]),bt=ct.isRequired,Et={locale:ut,timeZone:ut,formats:dt,messages:dt,textComponent:pt,defaultLocale:ut,defaultFormats:dt,onError:ct},wt={formatDate:bt,formatTime:bt,formatRelative:bt,formatNumber:bt,formatPlural:bt,formatMessage:bt,formatHTMLMessage:bt},St=mt(nt({},Et,wt,{formatters:dt,now:bt})),Mt=(ut.isRequired,ht([ut,dt]),{localeMatcher:gt,formatMatcher:ft(["basic","best fit"]),timeZone:ut,hour12:st,weekday:vt,era:vt,year:yt,month:ft(["numeric","2-digit","narrow","short","long"]),day:yt,hour:yt,minute:yt,second:yt,timeZoneName:ft(["short","long"])}),Ct={localeMatcher:gt,style:ft(["decimal","currency","percent"]),currency:ut,currencyDisplay:ft(["symbol","code","name"]),useGrouping:st,minimumIntegerDigits:lt,minimumFractionDigits:lt,maximumFractionDigits:lt,minimumSignificantDigits:lt,maximumSignificantDigits:lt},It={style:ft(["best fit","numeric"]),units:ft(["second","minute","hour","day","month","year","second-short","minute-short","hour-short","day-short","month-short","year-short"])},Nt={style:ft(["cardinal","ordinal"])},Dt=Object.keys(Et),Tt={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},At=/[&><"']/g;function xt(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.reduce((function(t,n){return e.hasOwnProperty(n)?t[n]=e[n]:r.hasOwnProperty(n)&&(t[n]=r[n]),t}),{})}function _t(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).intl;Ye()(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}function Ot(e,t){if(e===t)return!0;if("object"!==(void 0===e?"undefined":et(e))||null===e||"object"!==(void 0===t?"undefined":et(t))||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(t),i=0;i<r.length;i++)if(!a(r[i])||e[r[i]]!==t[r[i]])return!1;return!0}function kt(e,t,r){var n=e.props,a=e.state,i=e.context,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=(void 0===i?{}:i).intl,l=void 0===s?{}:s,u=o.intl,c=void 0===u?{}:u;return!Ot(t,n)||!Ot(r,a)||!(c===l||Ot(xt(c,Dt),xt(l,Dt)))}function Pt(e,t){return"[React Intl] "+e+(t?"\n"+t:"")}function Rt(e){0}function Ft(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.intlPropName,a=void 0===n?"intl":n,i=r.withRef,o=void 0!==i&&i,s=function(t){function r(e,t){tt(this,r);var n=it(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e,t));return _t(t),n}return at(r,t),rt(r,[{key:"getWrappedInstance",value:function(){return Ye()(o,"[React Intl] To access the wrapped instance, the `{withRef: true}` option must be set when calling: `injectIntl()`"),this._wrappedInstance}},{key:"render",value:function(){var t,r,n,i=this;return q.createElement(e,nt({},this.props,(t={},r=a,n=this.context.intl,r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t),{ref:o?function(e){return i._wrappedInstance=e}:null}))}}]),r}(q.Component);return s.displayName="InjectIntl("+(((t=e).displayName||t.name||"Component")+")"),s.contextTypes={intl:St},s.WrappedComponent=e,We()(s,e)}var Lt=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};tt(this,e);var n,a="ordinal"===r.style,i=(n=function(e){return Ve().prototype._resolveLocale(e)}(t),Ve().prototype._findPluralRuleFunction(n));this.format=function(e){return i(e,a)}},Ut=Object.keys(Mt),Bt=Object.keys(Ct),Vt=Object.keys(It),zt=Object.keys(Nt),jt={second:60,minute:60,hour:24,day:30,month:12};function Ht(e){var t=je().thresholds;t.second=e.second,t.minute=e.minute,t.hour=e.hour,t.day=e.day,t.month=e.month,t["second-short"]=e["second-short"],t["minute-short"]=e["minute-short"],t["hour-short"]=e["hour-short"],t["day-short"]=e["day-short"],t["month-short"]=e["month-short"]}function $t(e,t,r,n){var a=e&&e[t]&&e[t][r];if(a)return a;n(Pt("No "+t+" format named: "+r))}function qt(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=e.formats,o=e.messages,s=e.defaultLocale,l=e.defaultFormats,u=r.id,c=r.defaultMessage;Ye()(u,"[React Intl] An `id` must be provided to format a message.");var d=o&&o[u];if(!(Object.keys(n).length>0))return d||c||u;var f=void 0,m=e.onError||Rt;if(d)try{f=t.getMessageFormat(d,a,i).format(n)}catch(e){m(Pt('Error formatting message: "'+u+'" for locale: "'+a+'"'+(c?", using default message as fallback.":""),e))}else(!c||a&&a.toLowerCase()!==s.toLowerCase())&&m(Pt('Missing message: "'+u+'" for locale: "'+a+'"'+(c?", using default message as fallback.":"")));if(!f&&c)try{f=t.getMessageFormat(c,s,l).format(n)}catch(e){m(Pt('Error formatting the default message for: "'+u+'"',e))}return f||m(Pt('Cannot format message: "'+u+'", using message '+(d||c?"source":"id")+" as fallback.")),f||d||c||u}var Wt=Object.freeze({formatDate:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=e.formats,o=e.timeZone,s=n.format,l=e.onError||Rt,u=new Date(r),c=nt({},o&&{timeZone:o},s&&$t(i,"date",s,l)),d=xt(n,Ut,c);try{return t.getDateTimeFormat(a,d).format(u)}catch(e){l(Pt("Error formatting date.",e))}return String(u)},formatTime:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=e.formats,o=e.timeZone,s=n.format,l=e.onError||Rt,u=new Date(r),c=nt({},o&&{timeZone:o},s&&$t(i,"time",s,l)),d=xt(n,Ut,c);d.hour||d.minute||d.second||(d=nt({},d,{hour:"numeric",minute:"numeric"}));try{return t.getDateTimeFormat(a,d).format(u)}catch(e){l(Pt("Error formatting time.",e))}return String(u)},formatRelative:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=e.formats,o=n.format,s=e.onError||Rt,l=new Date(r),u=new Date(n.now),c=o&&$t(i,"relative",o,s),d=xt(n,Vt,c),f=nt({},je().thresholds);Ht(jt);try{return t.getRelativeFormat(a,d).format(l,{now:isFinite(u)?u:t.now()})}catch(e){s(Pt("Error formatting relative time.",e))}finally{Ht(f)}return String(l)},formatNumber:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=e.formats,o=n.format,s=e.onError||Rt,l=o&&$t(i,"number",o,s),u=xt(n,Bt,l);try{return t.getNumberFormat(a,u).format(r)}catch(e){s(Pt("Error formatting number.",e))}return String(r)},formatPlural:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=xt(n,zt),o=e.onError||Rt;try{return t.getPluralFormat(a,i).format(r)}catch(e){o(Pt("Error formatting plural.",e))}return"other"},formatMessage:qt,formatHTMLMessage:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=Object.keys(n).reduce((function(e,t){var r=n[t];return e[t]="string"==typeof r?(""+r).replace(At,(function(e){return Tt[e]})):r,e}),{});return qt(e,t,r,a)}}),Gt=Object.keys(Et),Yt=Object.keys(wt),Kt={formats:{},messages:{},timeZone:null,textComponent:"span",defaultLocale:"en",defaultFormats:{},onError:Rt},Zt=function(e){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};tt(this,t);var n=it(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));Ye()("undefined"!=typeof Intl,"[React Intl] The `Intl` APIs must be available in the runtime, and do not appear to be built-in. An `Intl` polyfill should be loaded.\nSee: http://formatjs.io/guides/runtime-environments/");var a=r.intl,i=void 0;i=isFinite(e.initialNow)?Number(e.initialNow):a?a.now():Date.now();var o=(a||{}).formatters,s=void 0===o?{getDateTimeFormat:Ze(Intl.DateTimeFormat),getNumberFormat:Ze(Intl.NumberFormat),getMessageFormat:Ze(Ve()),getRelativeFormat:Ze(je()),getPluralFormat:Ze(Lt)}:o;return n.state=nt({},s,{now:function(){return n._didDisplay?Date.now():i}}),n}return at(t,e),rt(t,[{key:"getConfig",value:function(){var e=this.context.intl,t=xt(this.props,Gt,e);for(var r in Kt)void 0===t[r]&&(t[r]=Kt[r]);if(!function(e){for(var t=(e||"").split("-");t.length>0;){if(Qe(t.join("-")))return!0;t.pop()}return!1}(t.locale)){var n=t,a=n.locale,i=n.defaultLocale,o=n.defaultFormats;(0,n.onError)(Pt('Missing locale data for locale: "'+a+'". Using default locale: "'+i+'" as fallback.')),t=nt({},t,{locale:i,formats:o,messages:Kt.messages})}return t}},{key:"getBoundFormatFns",value:function(e,t){return Yt.reduce((function(r,n){return r[n]=Wt[n].bind(null,e,t),r}),{})}},{key:"getChildContext",value:function(){var e=this.getConfig(),t=this.getBoundFormatFns(e,this.state),r=this.state,n=r.now,a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(r,["now"]);return{intl:nt({},e,t,{formatters:a,now:n})}}},{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return kt.apply(void 0,[this].concat(t))}},{key:"componentDidMount",value:function(){this._didDisplay=!0}},{key:"render",value:function(){return q.Children.only(this.props.children)}}]),t}(q.Component);Zt.displayName="IntlProvider",Zt.contextTypes={intl:St},Zt.childContextTypes={intl:St.isRequired};var Jt=function(e){function t(e,r){tt(this,t);var n=it(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return _t(r),n}return at(t,e),rt(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return kt.apply(void 0,[this].concat(t))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatDate,r=e.textComponent,n=this.props,a=n.value,i=n.children,o=t(a,this.props);return"function"==typeof i?i(o):q.createElement(r,null,o)}}]),t}(q.Component);Jt.displayName="FormattedDate",Jt.contextTypes={intl:St};var Xt=function(e){function t(e,r){tt(this,t);var n=it(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return _t(r),n}return at(t,e),rt(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return kt.apply(void 0,[this].concat(t))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatTime,r=e.textComponent,n=this.props,a=n.value,i=n.children,o=t(a,this.props);return"function"==typeof i?i(o):q.createElement(r,null,o)}}]),t}(q.Component);Xt.displayName="FormattedTime",Xt.contextTypes={intl:St};var Qt=36e5,er=864e5;var tr=function(e){function t(e,r){tt(this,t);var n=it(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));_t(r);var a=isFinite(e.initialNow)?Number(e.initialNow):r.intl.now();return n.state={now:a},n}return at(t,e),rt(t,[{key:"scheduleNextUpdate",value:function(e,t){var r=this;clearTimeout(this._timer);var n=e.value,a=e.units,i=e.updateInterval,o=new Date(n).getTime();if(i&&isFinite(o)){var s=o-t.now,l=function(e){switch(e){case"second":return 1e3;case"minute":return 6e4;case"hour":return Qt;case"day":return er;default:return 2147483647}}(a||function(e){var t=Math.abs(e);return t<6e4?"second":t<Qt?"minute":t<er?"hour":"day"}(s)),u=Math.abs(s%l),c=s<0?Math.max(i,l-u):Math.max(i,u);this._timer=setTimeout((function(){r.setState({now:r.context.intl.now()})}),c)}}},{key:"componentDidMount",value:function(){this.scheduleNextUpdate(this.props,this.state)}},{key:"componentWillReceiveProps",value:function(e){(function(e,t){if(e===t)return!0;var r=new Date(e).getTime(),n=new Date(t).getTime();return isFinite(r)&&isFinite(n)&&r===n})(e.value,this.props.value)||this.setState({now:this.context.intl.now()})}},{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return kt.apply(void 0,[this].concat(t))}},{key:"componentWillUpdate",value:function(e,t){this.scheduleNextUpdate(e,t)}},{key:"componentWillUnmount",value:function(){clearTimeout(this._timer)}},{key:"render",value:function(){var e=this.context.intl,t=e.formatRelative,r=e.textComponent,n=this.props,a=n.value,i=n.children,o=t(a,nt({},this.props,this.state));return"function"==typeof i?i(o):q.createElement(r,null,o)}}]),t}(q.Component);tr.displayName="FormattedRelative",tr.contextTypes={intl:St},tr.defaultProps={updateInterval:1e4};var rr=function(e){function t(e,r){tt(this,t);var n=it(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return _t(r),n}return at(t,e),rt(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return kt.apply(void 0,[this].concat(t))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatNumber,r=e.textComponent,n=this.props,a=n.value,i=n.children,o=t(a,this.props);return"function"==typeof i?i(o):q.createElement(r,null,o)}}]),t}(q.Component);rr.displayName="FormattedNumber",rr.contextTypes={intl:St};var nr=function(e){function t(e,r){tt(this,t);var n=it(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return _t(r),n}return at(t,e),rt(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return kt.apply(void 0,[this].concat(t))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatPlural,r=e.textComponent,n=this.props,a=n.value,i=n.other,o=n.children,s=t(a,this.props),l=this.props[s]||i;return"function"==typeof o?o(l):q.createElement(r,null,l)}}]),t}(q.Component);nr.displayName="FormattedPlural",nr.contextTypes={intl:St},nr.defaultProps={style:"cardinal"};var ar=function(e,t){return qt({},{getMessageFormat:Ze(Ve())},e,t)},ir=function(e){function t(e,r){tt(this,t);var n=it(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return e.defaultMessage||_t(r),n}return at(t,e),rt(t,[{key:"shouldComponentUpdate",value:function(e){var t=this.props.values;if(!Ot(e.values,t))return!0;for(var r=nt({},e,{values:t}),n=arguments.length,a=Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];return kt.apply(void 0,[this,r].concat(a))}},{key:"render",value:function(){var e,t=this.context.intl||{},r=t.formatMessage,n=void 0===r?ar:r,a=t.textComponent,i=void 0===a?"span":a,o=this.props,s=o.id,l=o.description,u=o.defaultMessage,c=o.values,d=o.tagName,f=void 0===d?i:d,m=o.children,p=void 0,h=void 0,g=void 0;if(c&&Object.keys(c).length>0){var v=Math.floor(1099511627776*Math.random()).toString(16),y=(e=0,function(){return"ELEMENT-"+v+"-"+(e+=1)});p="@__"+v+"__@",h={},g={},Object.keys(c).forEach((function(e){var t=c[e];if((0,q.isValidElement)(t)){var r=y();h[e]=p+r+p,g[r]=t}else h[e]=t}))}var b=n({id:s,description:l,defaultMessage:u},h||c),E=void 0;return E=g&&Object.keys(g).length>0?b.split(p).filter((function(e){return!!e})).map((function(e){return g[e]||e})):[b],"function"==typeof m?m.apply(void 0,ot(E)):q.createElement.apply(void 0,[f,null].concat(ot(E)))}}]),t}(q.Component);ir.displayName="FormattedMessage",ir.contextTypes={intl:St},ir.defaultProps={values:{}};var or=function(e){function t(e,r){tt(this,t);var n=it(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return _t(r),n}return at(t,e),rt(t,[{key:"shouldComponentUpdate",value:function(e){var t=this.props.values;if(!Ot(e.values,t))return!0;for(var r=nt({},e,{values:t}),n=arguments.length,a=Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];return kt.apply(void 0,[this,r].concat(a))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatHTMLMessage,r=e.textComponent,n=this.props,a=n.id,i=n.description,o=n.defaultMessage,s=n.values,l=n.tagName,u=void 0===l?r:l,c=n.children,d=t({id:a,description:i,defaultMessage:o},s);if("function"==typeof c)return c(d);var f={__html:d};return q.createElement(u,{dangerouslySetInnerHTML:f})}}]),t}(q.Component);or.displayName="FormattedHTMLMessage",or.contextTypes={intl:St},or.defaultProps={values:{}},Xe(Je),Xe(Ue());var sr=o(7166),lr=o.n(sr),ur=o(2665),cr=o.n(ur),dr=o(2409),fr=o.n(dr);class mr extends q.Component{constructor(e){var t;super(e),b(this,"notificationTimeout",void 0),b(this,"timeoutRef",void 0),this.doCopy=lr()(t=this.doCopy).call(t,this),this.state={isShowing:!1},e.notificationTimeout?this.notificationTimeout=e.notificationTimeout:this.notificationTimeout=2e3}componentWillUnmount(){clearTimeout(this.timeoutRef)}doCopy(){const{textToCopy:e}=this.props;fr()(e),this.setState((()=>({isShowing:!0}))),clearTimeout(this.timeoutRef),this.timeoutRef=cr()((()=>{this.setState((()=>({isShowing:!1})))}),this.notificationTimeout)}render(){const{isShowing:e}=this.state,{notificationText:t,children:r}=this.props;return q.createElement("div",{className:"sid-to-clipboard"},e&&q.createElement("div",{className:""+(e?"sid-to-clipboard__notification-text sid-to-clipboard__notification-text--visible":"sid-to-clipboard__notification-text sid-to-clipboard__notification-text--hidden"),role:"alert","aria-live":"polite"},t||"Copied"),q.createElement("div",{onClick:this.doCopy,onKeyPress:this.doCopy,role:"button",tabIndex:0,className:"sid-to-clipboard__clickable-text sid-link"},r||"Copy"))}}var pr=o(2334);function hr(e,t,r,n,a,i,o){try{var s=e[i](o),l=s.value}catch(e){return void r(e)}s.done?t(l):pr.resolve(l).then(n,a)}function gr(e){return function(){var t=this,r=arguments;return new pr((function(n,a){var i=e.apply(t,r);function o(e){hr(i,n,a,o,s,"next",e)}function s(e){hr(i,n,a,o,s,"throw",e)}o(void 0)}))}}var vr=o(9683),yr=o.n(vr),br=o(9469),Er=o.n(br),wr=o(2486),Sr=o.n(wr),Mr=o(7475),Cr=o.n(Mr),Ir=o(6534),Nr=o.n(Ir),Dr=o(3944),Tr=o.n(Dr);const Ar=e=>e.replace(/\/?$/,"/"),xr=e=>{var t;const r=new(Er())(e||window.location.toString());return new(Sr())(Tr()(t=r.search).call(t,1))},_r=(e,t)=>xr(t).get(e),Or=e=>{const t=new(Sr())(e).get("verificationId");return"string"==typeof t&&0===t.length?null:t};var kr=o(6426),Pr=o.n(kr),Rr=o(8520),Fr=o.n(Rr);let Lr={},Ur=[];const Br=(e,t)=>{he.log(`customValidator registering \n${t}\n for custom field '${e}'`),Lr[e]=t,Ur.push(e)},Vr=e=>Lr[e]?(he.log(`getCustomValidator returning '${e}'`),Lr[e]):(he.error(`Custom validator for field '${e}' does not exist.\n Has a custom validator been registered using the setCustomValidator method?`,"getCustomValidator"),null),zr=e=>Pr()(Ur).call(Ur,e)>-1,jr=()=>Ur,Hr=e=>{if(Pr()(ye).call(ye,e)<0)throw new Error(`Expected valid verification step name but received "${e}".`)},$r=e=>{if(Pr()(Se).call(Se,e)<0)throw new Error(`Expected valid verification step name but received "${e}".`)},qr=e=>{if(Pr()(Ne).call(Ne,e)<0)throw new Error(`Expected valid segment name but received "${e}".`)},Wr=e=>{if(!Gr(e))throw new Error(`Invalid locale ${e}, expected one of ${ge.join(", ")}`)},Gr=e=>Pr()(ge).call(ge,e)>-1,Yr=e=>{if(!e||e.nodeType!==Node.ELEMENT_NODE)throw new Error(`Expected argument of type Node.ELEMENT_NODE but received "${typeof e} ${e.nodeType}"`)},Kr=e=>{en(e)},Zr=e=>{if(Pr()(Re).call(Re,e)<0)throw new Error(`Expected valid hook name but received ${e}. Valid HookNames are [${Re.join(", ")}]`)},Jr=e=>{if("function"!=typeof e)throw new Error('Expected type "function", but received '+typeof e)},Xr=e=>{if("string"!=typeof e)throw new Error(`Expected trackingId to be a string, but received ${typeof e} instead.`);if(e.length<1)throw new Error("Expected trackingId string length greater than 0.")},Qr=e=>{if("object"!=typeof e)throw new Error(`Expected conversion request to be an object, but received ${typeof e} instead.`);if(e.hasOwnProperty("amount")&&"number"!=typeof e.amount)throw new Error('Expected conversion request property "amount" to have type number.')},en=e=>{if(!new RegExp("^[0-9a-fA-F]{24}$").test(e))throw new Error(`Invalid databaseId "${e}". Expected a 24-digit hexadecimal string.`)},tn="en-US",rn=["image/png","image/gif","image/jpg","image/jpeg","image/bmp","application/pdf"],nn="mockStep",an="mockSegment",on="mockSubSegment",sn="mockErrorId",ln="mockRewardCode",un="mockRedirectUrl",cn="mockDocSelected",dn="mockPreviousStep",fn="installPageUrl",mn="installType",pn={MAX_RESULT_SIZE:25,ORG_TYPES:"UNIVERSITY,HIGH_SCHOOL,K12",DEFAULT_ORG_TYPES:"UNIVERSITY",URL_REGEX:/(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,10}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)/,SCHOOL_HOUSE_URL:"https://assets-resources.sheerid.com/common/images/requestOrganization/school.svg",SHEERID_LOGO_URL:"https://assets-resources.sheerid.com/common/images/requestOrganization/logo.svg",FEEDBACK_FORM_URL:"https://verify.sheerid.com/verification-support/feedback.html?token="},hn="SheerID Verification Form",gn={INLINE_IFRAME_CONTENT:"sid-inline-iframe",MODAL_WRAPPER:"sid-modal__wrapper",MODAL_IFRAME:"sid-modal__iframe",OVERLAY:"sid-modal__overlay",CLOSE_BUTTON:"sid-modal__close-button",CLOSE_TEXT:"sid-modal__close-text",CLOSE_ICON:"sid-modal__close-icon"},vn=620,yn=300;function bn(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function En(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=bn(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=bn(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const wn={restApi:{serviceUrl:"https://services.sheerid.com/",resources:{verification:"rest/v2/verification/",program:{base:"rest/v2/program/",theme:"theme",organization:"organization"},conversion:{base:"rest/v2/conversion/"}}},mockStep:void 0,mockSubSegment:void 0,mockErrorId:void 0,mockRewardCode:void 0,mockRedirectUrl:void 0,mockDocSelected:void 0,installPageUrl:void 0,mockResponse:void 0,doFetchTheme:!0,logLevel:"error",locale:null,messages:{},messagesWithLocale:{},urlFaq:"https://offers.sheerid.com/sheerid/help-center/",urlStudentFaq:"https://verify.sheerid.com/student-faq/",urlSeniorFaq:"https://verify.sheerid.com/us-senior-faq/",urlAgeFaq:"https://verify.sheerid.com/us-age-faq/",urlMilitaryFaq:"https://verify.sheerid.com/military-faq/",urlTeacherFaq:"https://verify.sheerid.com/us-teacher-faq/",urlMemberFaq:"https://verify.sheerid.com/membership-faq/",urlFirstResponderFaq:"https://verify.sheerid.com/first-responder-faq/",urlMedicalFaq:"https://verify.sheerid.com/us-medical-faq/",urlEmploymentFaq:"https://verify.sheerid.com/employment-faq/",urlIdentityFaq:"https://verify.sheerid.com/identity-faq/",urlLicensedProfessionalFaq:"https://verify.sheerid.com/professions-faq/",urlLowIncomeFaq:"https://verify.sheerid.com/low-income-faq/",urlAddSchoolFaq:"https://verify.sheerid.com/add-school-request-faq/",urlAddSchoolForm:"https://offers.sheerid.com/sheerid/add-school-request/",privacyPolicyUrl:void 0,cookies:{enabled:!0,secure:!0,expires:7},useFingerprinting:!1,verificationId:void 0,minimumOrganizationSearchLength:1,httpRequestTimeout:1e4,hideTestModeFlag:!1,hideMilitaryFamilyAcceptableUploads:!0,customFormFields:[]};let Sn=En({},wn);const Mn=()=>Sn,Cn=()=>{Sn=En({},wn)},In=e=>{if(e.hasOwnProperty("logLevel")){try{he.setLogLevel(e.logLevel)}catch(e){console.error(e)}Sn.logLevel=e.logLevel}if(e.hasOwnProperty("restApi")){if(e.restApi.hasOwnProperty("serviceUrl")){const t=Ar(e.restApi.serviceUrl);Sn.restApi.serviceUrl=t,he.info(`option "serviceUrl" set to ${Sn.restApi.serviceUrl}`)}}var r;e.hasOwnProperty(nn)&&($r(e[nn]),Sn[nn]=e[nn],he.info(`option "${nn}" set to ${Sn[nn]}`)),e.hasOwnProperty(dn)&&($r(e[nn]),Sn[dn]=e[dn],he.info(`option "${dn}" set to ${Sn[dn]}`)),e.hasOwnProperty(an)&&(Sn[an]=e[an],he.info(`option "${an}" set to ${Sn[an]}`)),e.hasOwnProperty(on)&&(Sn[on]=e[on],he.info(`option "${on}" set to ${Sn[on]}`)),e.hasOwnProperty(sn)&&(Sn[sn]=e[sn],he.info(`option "${sn}" set to ${Sn[sn]}`)),e.hasOwnProperty(ln)&&(Sn[ln]=e[ln],he.info(`option "${ln}" set to ${Sn[ln]}`)),e.hasOwnProperty(un)&&(Sn[un]=e[un],he.info(`option "${un}" set to ${Sn[un]}`)),e.hasOwnProperty(fn)&&(Sn[fn]=e[fn],he.info(`option "${fn}" set to ${Sn[fn]}`)),e.hasOwnProperty(cn)&&(Sn[cn]=e[cn],he.info(`option "${cn}" set to ${Sn[cn]}`)),e.hasOwnProperty("mockResponse")&&(Sn.mockResponse=ie(e.mockResponse),he.info('option "mockResponse" set to',Sn.mockResponse)),e.hasOwnProperty("messages")&&(Sn.messagesWithLocale=En(En({},Sn.messagesWithLocale),{},{"en-US":e.messages}),he.warn('option "messages" has been deprecated and replaced with "messagesWithLocale". Messages have been set for locale "en-US" using: ',Sn.messagesWithLocale,'\nThese messages will override existing messages of the same key for "en-US" locale.')),e.hasOwnProperty("messagesWithLocale")&&(Sn.messagesWithLocale=se({},Sn.messagesWithLocale,e.messagesWithLocale),e&&e.messagesWithLocale&&(r=t()(e.messagesWithLocale),he.info(`Registering additional locales ${r.join(", ")}`),ge.push(...r)),he.info('option "messagesWithLocale" set to',Sn.messagesWithLocale)),e.hasOwnProperty("locale")&&(Wr(e.locale),Sn.locale=e.locale,he.info(`option "locale" set to ${Sn.locale}`)),e.hasOwnProperty("urlStudentFaq")&&(Sn.urlStudentFaq=e.urlStudentFaq,he.info(`option "urlStudentFaq" set to ${Sn.urlStudentFaq}`)),e.hasOwnProperty("urlSeniorFaq")&&(Sn.urlSeniorFaq=e.urlSeniorFaq,he.info(`option "urlSeniorFaq" set to ${Sn.urlSeniorFaq}`)),e.hasOwnProperty("urlMilitaryFaq")&&(Sn.urlMilitaryFaq=e.urlMilitaryFaq,he.info(`option "urlMilitaryFaq" set to ${Sn.urlMilitaryFaq}`)),e.hasOwnProperty("urlTeacherFaq")&&(Sn.urlTeacherFaq=e.urlTeacherFaq,he.info(`option "urlTeacherFaq" set to ${Sn.urlTeacherFaq}`)),e.hasOwnProperty("urlMemberFaq")&&(Sn.urlMemberFaq=e.urlMemberFaq,he.info(`option "urlMemberFaq" set to ${Sn.urlMemberFaq}`)),e.hasOwnProperty("urlMedicalFaq")&&(Sn.urlMedicalFaq=e.urlMedicalFaq,he.info(`option "urlMedicalFaq" set to ${Sn.urlMedicalFaq}`)),e.hasOwnProperty("urlEmploymentFaq")&&(Sn.urlEmploymentFaq=e.urlEmploymentFaq,he.info(`option "urlEmploymentFaq" set to ${Sn.urlEmploymentFaq}`)),e.hasOwnProperty("urlAddSchoolFaq")&&(Sn.urlAddSchoolFaq=e.urlAddSchoolFaq,he.info(`option "urlAddSchoolFaq" set to ${Sn.urlAddSchoolFaq}`)),e.hasOwnProperty("urlAddSchoolForm")&&(Sn.urlAddSchoolForm=e.urlAddSchoolForm,he.info(`option "urlAddSchoolForm" set to ${Sn.urlAddSchoolForm}`)),e.hasOwnProperty("doFetchTheme")&&(Sn.doFetchTheme=e.doFetchTheme,he.info(`option "doFetchTheme" set to ${Sn.doFetchTheme}`)),e.hasOwnProperty("cookies")&&(Sn.cookies=En(En({},Sn.cookies),e.cookies),he.info('option "cookies" set to',Sn.cookies)),e.hasOwnProperty("useFingerprinting")&&(Sn.useFingerprinting=e.useFingerprinting,he.info('option "useFingerprinting" set to',Sn.useFingerprinting)),e.hasOwnProperty("marketConsent")&&(Sn.marketConsent=e.marketConsent,he.info('option "market consent" set to',Sn.marketConsent)),e.hasOwnProperty("verificationId")&&(Sn.verificationId=e.verificationId,he.info('option "verificationId" set to',Sn.verificationId)),e.hasOwnProperty("minimumOrganizationSearchLength")&&(Sn.minimumOrganizationSearchLength=e.minimumOrganizationSearchLength,he.info('option "minimumOrganizationSearchLength" set to',Sn.minimumOrganizationSearchLength)),e.hasOwnProperty("customCss")&&(Sn.customCss=e.customCss,he.info('option "customCss" set to',Sn.customCss)),e.hasOwnProperty("logoUrl")&&(Sn.logoUrl=e.logoUrl,he.info('option "logoUrl" set to',Sn.logoUrl)),e.hasOwnProperty("httpRequestTimeout")&&(Sn.httpRequestTimeout=e.httpRequestTimeout,he.info('option "httpRequestTimeout" set to',Sn.httpRequestTimeout)),e.hasOwnProperty("privacyPolicyUrl")&&(Sn.privacyPolicyUrl=e.privacyPolicyUrl,he.info('option "privacyPolicyUrl" set to',Sn.privacyPolicyUrl)),(e.hasOwnProperty("hideTestModeFlag")||_r("hideTestModeFlag"))&&(Sn.hideTestModeFlag=e.hideTestModeFlag||"true"===_r("hideTestModeFlag"),he.info('option "hideTestModeFlag" set to',Sn.hideTestModeFlag)),e.hasOwnProperty("hideMilitaryFamilyAcceptableUploads")&&(Sn.hideMilitaryFamilyAcceptableUploads=e.hideMilitaryFamilyAcceptableUploads,he.info('option "hideMilitaryFamilyAcceptableUploads" set to',Sn.hideMilitaryFamilyAcceptableUploads)),e.hasOwnProperty("customFormFields")&&(Sn.customFormFields=e.customFormFields,he.info('option "customFormFields" set to',Sn.customFormFields)),e.hasOwnProperty("customMetadata")&&(Sn.customMetadata=e.customMetadata,he.info('option "customMetadata" set to',Sn.customMetadata))};var Nn=o(8505),Dn=o.n(Nn);const Tn=class{constructor(e){b(this,"url",void 0),b(this,"start",void 0),this.url=e,this.start=Dn()()}logNow(){let e;return window.NREUM?(e={api_call:this.url,api_response_time:Dn()()-this.start},window.NREUM.addPageAction("API-calls-timing",e)):he.warn("Off-site logging not available."),e}};function An(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function xn(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=An(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=An(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const _n={Accept:"application/json","Content-Type":"application/json"},On={"Content-Type":"application/json"},kn=(e,t={})=>{const r=Mn().httpRequestTimeout;return new(yr())(((n,a)=>{const i=cr()((()=>{a(new Error("requestTimeout"))}),r);return fetch(e,t).then(n,(t=>{he.error(`Failed to fetch ${e}`,t);a(new Error("failedToFetch"))})).finally((()=>{clearTimeout(i)}))}))},Pn=function(){var e=gr((function*(e,t){let r;try{r=yield e.json()}catch(e){r=yr().resolve({})}finally{t.logNow(),he.info("Response received",r)}return r}));return function(t,r){return e.apply(this,arguments)}}(),Rn=function(){var e=gr((function*(e,t,r={}){const n=new Tn(e),a=yield kn(e,{headers:xn(xn({},_n),r),method:"POST",body:Nr()(t)});return Pn(a,n)}));return function(t,r){return e.apply(this,arguments)}}(),Fn=function(){var e=gr((function*(e,t=_n){const r=new Tn(e),n=yield kn(e,{headers:t,method:"DELETE"});return Pn(n,r)}));return function(t){return e.apply(this,arguments)}}(),Ln=function(){var e=gr((function*(e,t=_n){const r=new Tn(e),n=yield kn(e,{headers:t,method:"GET"});return Pn(n,r)}));return function(t){return e.apply(this,arguments)}}(),Un=function(){var e=gr((function*(e,t=_n){return kn(e,{headers:t,method:"GET"})}));return function(t){return e.apply(this,arguments)}}(),Bn=e=>{var t;return Cr()(t=i()(e).call(e,(e=>!!e))).call(t,(e=>({fileName:e.name,mimeType:e.type,fileSize:e.size})))},Vn=function(){var e=gr((function*(e,t,r=On){const n=new Tn(e);he.info(`PostFiles posting to ${e}`,t);const a=Nr()({files:Bn(t)}),i=yield fetch(e,{headers:r,method:"POST",body:a}),o=yield i.json(),s=oe((()=>o.documents)),l=oe((()=>o.submissionUrl));if(s&&l){yield yr().all(Cr()(s).call(s,((e,r)=>fetch(e.uploadUrl,{method:"PUT",body:t[r]}))));const e=yield fetch(l,{headers:r,method:"POST"});return Pn(e,n)}return o}));return function(t,r){return e.apply(this,arguments)}}();var zn=o(3106),jn=o.n(zn);const Hn=()=>`${Mn().restApi.serviceUrl}${Mn().restApi.resources.verification}`,$n=e=>`${Hn()}${e}`,qn=()=>Hn(),Wn=(e,t=null)=>{const r=`${Mn().restApi.serviceUrl}${Mn().restApi.resources.program.base}${e}/${Mn().restApi.resources.program.theme}`;return t?`${r}?locale=${t}`:`${r}`},Gn=()=>`${Mn().restApi.serviceUrl}rest/v2/organization/addSchool/`,Yn=e=>`${Mn().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`,Kn=e=>`${Mn().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`,Zn=(e,t)=>`${Mn().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`,Jn=(e,t,r)=>`${Mn().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${r}`,Xn=()=>window.sheerIdPubV,Qn=()=>document.location.href,ea=()=>{try{const e=new(Sr())(window.location.search);if(e.get(fn))return decodeURIComponent(e.get(fn));if(Mn()[fn])return Mn()[fn]}catch(e){he.error(e)}return Qn()};var ta;!function(e){e.landingPage="landing_page",e.cdnNoIframe="cdn_no_iframe"}(ta||(ta={}));const ra=()=>{try{const e=new(Sr())(window.location.search);if(e.get(mn))return decodeURIComponent(e.get(mn));if("landing"===e.get("layout"))return ta.landingPage}catch(e){he.error(e)}return window.sheerIdInstallType||ta.cdnNoIframe},na=()=>{let e;try{const t=window.sheerIdCurrentScript.getAttribute("src");e=t.substr(0,jn()(t).call(t,"/"))}catch(e){"localhost"!==document.location.hostname&&he.error(e)}return e||("localhost"===document.location.hostname?e=document.location.origin:(e="https://cdn.jsdelivr.net/npm/@sheerid/jslib@1/",he.error("No window.sheerIdCurrentScript, is document.currentScript unsupported?"))),Ar((t=e,r=Xn(),Ar(r?t.replace(/@(?!sheerid)[^/]*/gi,`@${r}`):t)));var t,r},aa="country",ia="name";function oa(e,t,r,n){return sa.apply(this,arguments)}function sa(){return sa=gr((function*(e,t,r,n){if(!e)return yr().resolve([]);const a=new(Er())(e),{origin:i,pathname:o,search:s}=a,l=new(Sr())(s);l.set(ia,t),r&&l.set(aa,r),n&&l.set("tags",n);return function(e){return la.apply(this,arguments)}(`${i}${o}?${l.toString()}`)})),sa.apply(this,arguments)}function la(){return la=gr((function*(e){try{const t=yield Ln(e);return Cr()(t).call(t,(e=>{return{id:(t=e).id,idExtended:void 0===t.idExtended?t.id.toString():t.idExtended,name:t.name,country:t.country};var t}))}catch(e){he.error(e,"failed to fetchOrganization")}})),la.apply(this,arguments)}const ua=function(){var e=gr((function*(e){const t=new Tn(e),r=yield fetch(e,{headers:{Accept:"application/json","Content-Type":"application/json"},method:"GET"});if(r.status>=400)throw new Error("An error occurred");let n;try{n=yield r.json()}catch(e){n=yr().resolve({})}finally{t.logNow(),he.info("Response received",n)}return n}));return function(t){return e.apply(this,arguments)}}();function ca(){return(ca=gr((function*(e){return yield Rn(Gn(),e)}))).apply(this,arguments)}const da=function(){var e=gr((function*(e,t,r){const{viewModel:n}=t;if(!e())return;const a={programId:t.programId,firstName:n.firstName,lastName:n.lastName,email:n.email,schoolName:n.orgName,schoolDomain:n.orgDomain,schoolCountry:n.countryChoice.value};try{fa(r,!0),yield function(e){return ca.apply(this,arguments)}(a).then((()=>{fa(r,!1),r({type:"SET_SUBMIT",payload:!0})}))}catch(e){he.error(e,"submitAddSchoolRequest"),r({type:"SET_ERROR",payload:!0})}}));return function(t,r,n){return e.apply(this,arguments)}}(),fa=(e,t)=>{e({type:"SET_LOADING",payload:t})},ma=({organization:e,isEligible:t})=>{return t?q.createElement("div",{className:"sid-search-result"},q.createElement("img",{src:"https://assets-resources.sheerid.com/common/images/requestOrganization/doc-right.svg",alt:"School Icon"})," ",e.name,q.createElement(mr,{textToCopy:(r=e.name,r.replace(/(\s\([A-Za-z]+(?: [A-Za-z]+)*),+ ([A-Za-z]+\))/,"")),notificationText:q.createElement(or,{id:"copied",defaultMessage:"Copied"})},q.createElement("div",{className:"sid-copy-to-clipboard-front"}),q.createElement("div",{className:"sid-copy-to-clipboard-back"}))):q.createElement("div",{className:"sid-search-result"},q.createElement("div",{className:"sid-oval"},q.createElement("div",{className:"sid-inner-x"},"x"))," ",e.name);var r};var pa=o(6905),ha=o.n(pa),ga=o(6954),va=o.n(ga);var ya=o(6569),ba=o.n(ya),Ea=o(9602),wa=o.n(Ea);const Sa=JSON.parse('{"defaultMessages.ACTIVE_DUTY":"Active Duty","defaultMessages.CHILD_CARE_WORKER":"Child Care Worker","defaultMessages.DENTIST":"Dentist","defaultMessages.DOCTOR":"Doctor","defaultMessages.EMT":"EMT","defaultMessages.FIREFIGHTER":"Firefighter","defaultMessages.GOLD_STAR_FAMILY":"Gold Star Family","defaultMessages.HOME_BUYER":"Home Buyer","defaultMessages.LIBRARIAN":"Librarian","defaultMessages.LICENSED_COSMETOLOGIST":"Licensed Cosmetologist","defaultMessages.LICENSED_REAL_ESTATE_AGENT":"Licensed Real Estate Agent","defaultMessages.MILITARY_FAMILY":"Military Family","defaultMessages.MILITARY_RETIREE":"Military Retiree","defaultMessages.NURSE":"Nurse","defaultMessages.OTHER_GOVERNMENT_ASSISTANCE":"Other Government Assistance Recipient","defaultMessages.OTHER_HEALTH_WORKER":"Other Health Worker","defaultMessages.OTHER_MOVER":"Other Mover","defaultMessages.PHARMACIST":"Pharmacist","defaultMessages.POLICE":"Police","defaultMessages.RESERVIST":"Reservist or National Guard","defaultMessages.SEARCH_AND_RESCUE":"Search and Rescue","defaultMessages.SNAP_BENEFITS":"Snap Benefits Recipient","defaultMessages.VETERAN":"Military Veteran or Retiree","defaultMessages.VETERINARIAN":"Veterinarian","defaultMessages.activeDutyStartDate":"Active Duty Start Date","defaultMessages.address":"Address","defaultMessages.addressPlaceholder":"Address","defaultMessages.birthDate":"Date of birth","defaultMessages.branchOfService":"Branch of service","defaultMessages.branchOfServicePlaceholder":"Branch Of Service","defaultMessages.changeLanguage":"Change language","defaultMessages.city":"City","defaultMessages.cityPlaceholder":"City","defaultMessages.company":"Company","defaultMessages.companyPlaceholder":"Company","defaultMessages.copied":"Copied","defaultMessages.countries.AD":"Andorra","defaultMessages.countries.AE":"United Arab Emirates","defaultMessages.countries.AF":"Afghanistan","defaultMessages.countries.AG":"Antigua and Barbuda","defaultMessages.countries.AI":"Anguilla","defaultMessages.countries.AL":"Albania","defaultMessages.countries.AM":"Armenia","defaultMessages.countries.AN":"Netherlands Antilles","defaultMessages.countries.AO":"Angola","defaultMessages.countries.AR":"Argentina","defaultMessages.countries.AS":"American Samoa","defaultMessages.countries.AT":"Austria","defaultMessages.countries.AU":"Australia","defaultMessages.countries.AW":"Aruba","defaultMessages.countries.AZ":"Azerbaijan","defaultMessages.countries.BA":"Bosnia-Herzegovina","defaultMessages.countries.BB":"Barbados","defaultMessages.countries.BD":"Bangladesh","defaultMessages.countries.BE":"Belgium","defaultMessages.countries.BF":"Burkina Faso","defaultMessages.countries.BG":"Bulgaria","defaultMessages.countries.BH":"Bahrain","defaultMessages.countries.BI":"Burundi","defaultMessages.countries.BJ":"Benin","defaultMessages.countries.BM":"Bermuda","defaultMessages.countries.BN":"Brunei Darussalam","defaultMessages.countries.BO":"Bolivia","defaultMessages.countries.BR":"Brazil","defaultMessages.countries.BS":"Bahamas","defaultMessages.countries.BT":"Bhutan","defaultMessages.countries.BV":"Bouvet Island","defaultMessages.countries.BW":"Botswana","defaultMessages.countries.BY":"Belarus","defaultMessages.countries.BZ":"Belize","defaultMessages.countries.CA":"Canada","defaultMessages.countries.CD":"Democratic Republic of Congo","defaultMessages.countries.CF":"Central African Republic","defaultMessages.countries.CG":"Congo","defaultMessages.countries.CH":"Switzerland","defaultMessages.countries.CI":"Ivory Coast (Cote D\'Ivoire)","defaultMessages.countries.CK":"Cook Islands","defaultMessages.countries.CL":"Chile","defaultMessages.countries.CM":"Cameroon","defaultMessages.countries.CN":"China","defaultMessages.countries.CO":"Colombia","defaultMessages.countries.CR":"Costa Rica","defaultMessages.countries.CU":"Cuba","defaultMessages.countries.CV":"Cape Verde","defaultMessages.countries.CY":"Cyprus","defaultMessages.countries.CZ":"Czech Republic","defaultMessages.countries.DE":"Germany","defaultMessages.countries.DJ":"Djibouti","defaultMessages.countries.DK":"Denmark","defaultMessages.countries.DM":"Dominica","defaultMessages.countries.DO":"Dominican Republic","defaultMessages.countries.DZ":"Algeria","defaultMessages.countries.EC":"Ecuador","defaultMessages.countries.EE":"Estonia","defaultMessages.countries.EG":"Egypt","defaultMessages.countries.EH":"Western Sahara","defaultMessages.countries.ER":"Eritrea","defaultMessages.countries.ES":"Spain","defaultMessages.countries.ET":"Ethiopia","defaultMessages.countries.FI":"Finland","defaultMessages.countries.FJ":"Fiji","defaultMessages.countries.FK":"Falkland Islands","defaultMessages.countries.FM":"Micronesia","defaultMessages.countries.FO":"Faroe Islands","defaultMessages.countries.FR":"France","defaultMessages.countries.GA":"Gabon","defaultMessages.countries.GB":"United Kingdom","defaultMessages.countries.GD":"Grenada","defaultMessages.countries.GE":"Georgia","defaultMessages.countries.GF":"French Guyana","defaultMessages.countries.GH":"Ghana","defaultMessages.countries.GI":"Gibraltar","defaultMessages.countries.GL":"Greenland","defaultMessages.countries.GM":"Gambia","defaultMessages.countries.GN":"Guinea","defaultMessages.countries.GP":"Guadeloupe (French)","defaultMessages.countries.GQ":"Equatorial Guinea","defaultMessages.countries.GR":"Greece","defaultMessages.countries.GS":"South Georgia & South Sandwich Islands","defaultMessages.countries.GT":"Guatemala","defaultMessages.countries.GU":"Guam (USA)","defaultMessages.countries.GW":"Guinea Bissau","defaultMessages.countries.GY":"Guyana","defaultMessages.countries.HK":"Hong Kong","defaultMessages.countries.HM":"Heard and McDonald Islands","defaultMessages.countries.HN":"Honduras","defaultMessages.countries.HR":"Croatia","defaultMessages.countries.HT":"Haiti","defaultMessages.countries.HU":"Hungary","defaultMessages.countries.ID":"Indonesia","defaultMessages.countries.IE":"Ireland","defaultMessages.countries.IL":"Israel","defaultMessages.countries.IN":"India","defaultMessages.countries.IO":"British Indian Ocean Territory","defaultMessages.countries.IQ":"Iraq","defaultMessages.countries.IR":"Iran","defaultMessages.countries.IS":"Iceland","defaultMessages.countries.IT":"Italy","defaultMessages.countries.JM":"Jamaica","defaultMessages.countries.JO":"Jordan","defaultMessages.countries.JP":"Japan","defaultMessages.countries.KE":"Kenya","defaultMessages.countries.KG":"Kyrgyzstan","defaultMessages.countries.KH":"Cambodia","defaultMessages.countries.KI":"Kiribati","defaultMessages.countries.KM":"Comoros","defaultMessages.countries.KN":"Saint Kitts & Nevis Anguilla","defaultMessages.countries.KP":"North Korea","defaultMessages.countries.KR":"South Korea","defaultMessages.countries.KW":"Kuwait","defaultMessages.countries.KY":"Cayman Islands","defaultMessages.countries.KZ":"Kazakhstan","defaultMessages.countries.LA":"Laos","defaultMessages.countries.LB":"Lebanon","defaultMessages.countries.LC":"Saint Lucia","defaultMessages.countries.LI":"Liechtenstein","defaultMessages.countries.LK":"Sri Lanka","defaultMessages.countries.LR":"Liberia","defaultMessages.countries.LS":"Lesotho","defaultMessages.countries.LT":"Lithuania","defaultMessages.countries.LU":"Luxembourg","defaultMessages.countries.LV":"Latvia","defaultMessages.countries.LY":"Libya","defaultMessages.countries.MA":"Morocco","defaultMessages.countries.MC":"Monaco","defaultMessages.countries.MD":"Moldavia","defaultMessages.countries.ME":"Montenegro","defaultMessages.countries.MG":"Madagascar","defaultMessages.countries.MH":"Marshall Islands","defaultMessages.countries.MK":"Macedonia","defaultMessages.countries.ML":"Mali","defaultMessages.countries.MM":"Myanmar","defaultMessages.countries.MN":"Mongolia","defaultMessages.countries.MO":"Macau","defaultMessages.countries.MP":"Northern Mariana Islands","defaultMessages.countries.MQ":"Martinique (French)","defaultMessages.countries.MR":"Mauritania","defaultMessages.countries.MS":"Montserrat","defaultMessages.countries.MT":"Malta","defaultMessages.countries.MU":"Mauritius","defaultMessages.countries.MV":"Maldives","defaultMessages.countries.MW":"Malawi","defaultMessages.countries.MX":"Mexico","defaultMessages.countries.MY":"Malaysia","defaultMessages.countries.MZ":"Mozambique","defaultMessages.countries.NA":"Namibia","defaultMessages.countries.NC":"New Caledonia (French)","defaultMessages.countries.NE":"Niger","defaultMessages.countries.NF":"Norfolk Island","defaultMessages.countries.NG":"Nigeria","defaultMessages.countries.NI":"Nicaragua","defaultMessages.countries.NL":"Netherlands","defaultMessages.countries.NO":"Norway","defaultMessages.countries.NP":"Nepal","defaultMessages.countries.NR":"Nauru","defaultMessages.countries.NU":"Niue","defaultMessages.countries.NZ":"New Zealand","defaultMessages.countries.OM":"Oman","defaultMessages.countries.PA":"Panama","defaultMessages.countries.PE":"Peru","defaultMessages.countries.PF":"Polynesia (French)","defaultMessages.countries.PG":"Papua New Guinea","defaultMessages.countries.PH":"Philippines","defaultMessages.countries.PK":"Pakistan","defaultMessages.countries.PL":"Poland","defaultMessages.countries.PM":"Saint Pierre and Miquelon","defaultMessages.countries.PN":"Pitcairn Island","defaultMessages.countries.PR":"Puerto Rico","defaultMessages.countries.PS":"Palestine","defaultMessages.countries.PT":"Portugal","defaultMessages.countries.PW":"Palau","defaultMessages.countries.PY":"Paraguay","defaultMessages.countries.QA":"Qatar","defaultMessages.countries.RE":"Reunion (French)","defaultMessages.countries.RO":"Romania","defaultMessages.countries.RS":"Serbia","defaultMessages.countries.RU":"Russian Federation","defaultMessages.countries.RW":"Rwanda","defaultMessages.countries.SA":"Saudi Arabia","defaultMessages.countries.SB":"Solomon Islands","defaultMessages.countries.SC":"Seychelles","defaultMessages.countries.SD":"Sudan","defaultMessages.countries.SE":"Sweden","defaultMessages.countries.SG":"Singapore","defaultMessages.countries.SH":"Saint Helena","defaultMessages.countries.SI":"Slovenia","defaultMessages.countries.SK":"Slovak Republic","defaultMessages.countries.SL":"Sierra Leone","defaultMessages.countries.SM":"San Marino","defaultMessages.countries.SN":"Senegal","defaultMessages.countries.SO":"Somalia","defaultMessages.countries.SR":"Suriname","defaultMessages.countries.SS":"South Sudan","defaultMessages.countries.ST":"Saint Tome (Sao Tome) and Principe","defaultMessages.countries.SV":"El Salvador","defaultMessages.countries.SY":"Syria","defaultMessages.countries.SZ":"Swaziland","defaultMessages.countries.TC":"Turks and Caicos Islands","defaultMessages.countries.TD":"Chad","defaultMessages.countries.TF":"French Southern Territories","defaultMessages.countries.TG":"Togo","defaultMessages.countries.TH":"Thailand","defaultMessages.countries.TJ":"Tajikistan","defaultMessages.countries.TK":"Tokelau","defaultMessages.countries.TL":"Timor-Leste","defaultMessages.countries.TM":"Turkmenistan","defaultMessages.countries.TN":"Tunisia","defaultMessages.countries.TO":"Tonga","defaultMessages.countries.TR":"Turkey","defaultMessages.countries.TT":"Trinidad and Tobago","defaultMessages.countries.TV":"Tuvalu","defaultMessages.countries.TW":"Taiwan","defaultMessages.countries.TZ":"Tanzania","defaultMessages.countries.UA":"Ukraine","defaultMessages.countries.UG":"Uganda","defaultMessages.countries.UM":"USA Minor Outlying Islands","defaultMessages.countries.US":"United States","defaultMessages.countries.UY":"Uruguay","defaultMessages.countries.UZ":"Uzbekistan","defaultMessages.countries.VA":"Vatican City State","defaultMessages.countries.VC":"Saint Vincent & Grenadines","defaultMessages.countries.VE":"Venezuela","defaultMessages.countries.VG":"Virgin Islands (British)","defaultMessages.countries.VI":"Virgin Islands (USA)","defaultMessages.countries.VN":"Vietnam","defaultMessages.countries.VU":"Vanuatu","defaultMessages.countries.WF":"Wallis and Futuna Islands","defaultMessages.countries.WS":"Samoa","defaultMessages.countries.XK":"Kosovo","defaultMessages.countries.YE":"Yemen","defaultMessages.countries.YT":"Mayotte","defaultMessages.countries.ZA":"South Africa","defaultMessages.countries.ZM":"Zambia","defaultMessages.countries.ZW":"Zimbabwe","defaultMessages.country":"Country","defaultMessages.countryPlaceholder":"Country","defaultMessages.dateTime.20_MIN":"20 minutes","defaultMessages.dateTime.24_HRS":"24 hours","defaultMessages.dateTime.2_DAY":"2 days","defaultMessages.dateTime.2_HRS":"2 hours","defaultMessages.dateTime.2_MIN":"2 minutes","defaultMessages.dateTime.3_DAY":"3 days","defaultMessages.dateTime.A_FEW_DAYS":"a few days","defaultMessages.dateTime.A_FEW_HOURS":"a few hours","defaultMessages.dateTime.A_FEW_MINUTES":"a few minutes","defaultMessages.dateTime.A_HALF_HOUR":"half an hour","defaultMessages.dateTime.april":"April","defaultMessages.dateTime.august":"August","defaultMessages.dateTime.day":"Day","defaultMessages.dateTime.december":"December","defaultMessages.dateTime.february":"February","defaultMessages.dateTime.january":"January","defaultMessages.dateTime.july":"July","defaultMessages.dateTime.june":"June","defaultMessages.dateTime.march":"March","defaultMessages.dateTime.may":"May","defaultMessages.dateTime.month":"Month","defaultMessages.dateTime.november":"November","defaultMessages.dateTime.october":"October","defaultMessages.dateTime.september":"September","defaultMessages.dateTime.year":"Year","defaultMessages.dischargeDate":"Discharge date","defaultMessages.driverLicenseNumber":"Driver license number","defaultMessages.driverLicenseNumberPlaceholder":"Driver license number","defaultMessages.driverLicenseState":"Driver license state","defaultMessages.ebtCardNumber":"EBT Card Number","defaultMessages.emailAddress":"Email address","defaultMessages.emailAddressPlaceholder":"Email address","defaultMessages.error":"Error","defaultMessages.errorId.activeDutyStartDateBeforeBirthDate":"Start date must be after birth date","defaultMessages.errorId.apiRateLimitExceeded":"Unable to process your request at this time, please try again later","defaultMessages.errorId.dischargeDateBeforeBirthDate":"Discharge Date before birthdate","defaultMessages.errorId.docReviewLimitExceeded":"Document review limit exceeded","defaultMessages.errorId.expiredEmailLoopToken":"We are sorry, the page you requested cannot be found. The URL may be incorrect or the page you\'re looking for is no longer available.","defaultMessages.errorId.expiredProgram":"Due to tremendous demand, the offer is no longer available. Please check tomorrow to see if it is available.","defaultMessages.errorId.expiredSMSCode":"Verification code expired","defaultMessages.errorId.expiredVerification":"This verification is expired. Please submit a new verification.","defaultMessages.errorId.failedToFetch":"Failed HTTP request","defaultMessages.errorId.fraudRulesReject":"We\'re unable to verify you using the information submitted. Please check your information for accuracy, and only use your own mobile device or computer.<br><br>Still having trouble? <a href=\\"{feedbackUrl}&pid={programId}&locale={locale}\\">Contact SheerID\'s support team</a> to confirm your identity.","defaultMessages.errorId.futureActiveDutyStartDate":"Future start date","defaultMessages.errorId.futureBirthDate":"Future birthdate","defaultMessages.errorId.futureDischargeDate":"Future discharge date","defaultMessages.errorId.inactiveProgram":"Due to tremendous demand, the offer is no longer available. Please check tomorrow to see if it is available.","defaultMessages.errorId.incorrectVerificationOverrideCodeAttemptLimitExceeded":"Override code limit exceeded","defaultMessages.errorId.internalServerError":"Internal server error","defaultMessages.errorId.invalidActiveDutyStartDate":"Invalid start date","defaultMessages.errorId.invalidAddress":"Invalid address","defaultMessages.errorId.invalidApiToken":"Provided API token was invalid or empty","defaultMessages.errorId.invalidBirthDate":"Invalid birth date","defaultMessages.errorId.invalidCity":"Invalid city","defaultMessages.errorId.invalidCountry":"Invalid country","defaultMessages.errorId.invalidDischargeDate":"Invalid discharge date","defaultMessages.errorId.invalidDocUploadToken":"Provided document upload token is not valid","defaultMessages.errorId.invalidDriverLicenseNumber":"Invalid driver license number","defaultMessages.errorId.invalidEbtCardNumber":"Invalid EBT Card Number","defaultMessages.errorId.invalidEmail":"Invalid email","defaultMessages.errorId.invalidEmailLoopToken":"We are sorry, the page you requested cannot be found. The URL may be incorrect or the page you\'re looking for is no longer available.","defaultMessages.errorId.invalidFileSizeEmpty":"One or more files is empty","defaultMessages.errorId.invalidFileSizeMax":"One or more files is too large (max: 10MB)","defaultMessages.errorId.invalidFirstName":"Invalid first name","defaultMessages.errorId.invalidFirstResponderStatus":"Invalid first responder status","defaultMessages.errorId.invalidLastName":"Invalid last name","defaultMessages.errorId.invalidMemberId":"Invalid ID Number","defaultMessages.errorId.invalidMilitaryStatus":"Invalid military status","defaultMessages.errorId.invalidNumberOfFiles":"Maximum number of files exceeded (max: 5)","defaultMessages.errorId.invalidOptIn":"Must be selected to continue","defaultMessages.errorId.invalidOrganization":"You must select an organization from the list","defaultMessages.errorId.invalidOverrideCode":"Invalid Override Code","defaultMessages.errorId.invalidPhoneNumber":"Invalid mobile number","defaultMessages.errorId.invalidPostalCode":"Invalid postal code","defaultMessages.errorId.invalidProgram":"Invalid program","defaultMessages.errorId.invalidRequest":"Invalid request","defaultMessages.errorId.invalidSMSCode":"Verification code could not be validated","defaultMessages.errorId.invalidSocialSecurityNumber":"Invalid SSN","defaultMessages.errorId.invalidState":"Invalid state","defaultMessages.errorId.invalidStatus":"Invalid status","defaultMessages.errorId.invalidStatuses":"Invalid status","defaultMessages.errorId.invalidStep":"Invalid step","defaultMessages.errorId.marketConsentRequired":"Market consent required","defaultMessages.errorId.maxMetadataLengthExceeded":"Maximum length of metadata value exceeded","defaultMessages.errorId.maxMetadataValuesExceeded":"Maximum number of metadata values exceeded","defaultMessages.errorId.missingRequiredMetadata":"You must be logged in to verify. Log in to your account then try again.","defaultMessages.errorId.noProgram":"No program found","defaultMessages.errorId.noRemainingRewardCodes":"Due to tremendous demand, the offer is no longer available. Please check tomorrow to see if it is available.","defaultMessages.errorId.noValidFiles":"No valid files","defaultMessages.errorId.noVerification":"No verification found","defaultMessages.errorId.notApproved":"Not approved","defaultMessages.errorId.notFound":"Not found","defaultMessages.errorId.outsideAgePerson":"Birthdate is not eligible for this offer.","defaultMessages.errorId.requestTimeout":"Request timeout","defaultMessages.errorId.simulatedError":"This is a simulated error","defaultMessages.errorId.unauthorizedAccountStatus":"This offer has been temporarily discontinued. Please contact the brand’s customer support for more information.","defaultMessages.errorId.unauthorizedDomain":"Unauthorized domain","defaultMessages.errorId.underagePerson":"Persons under age 16 are not eligible for this offer.","defaultMessages.errorId.unknownError":"Unknown Error","defaultMessages.errorId.unsupportedDocMimeType":"One or more files is an unsupported format","defaultMessages.errorId.verificationLimitExceeded":"We\'re glad you\'re enthusiastic, but it looks like you\'ve already redeemed or attempted to redeem this offer.","defaultMessages.firstName":"First name","defaultMessages.firstNamePlaceholder":"First name","defaultMessages.firstResponderInfoShared":"Information entered here will be used for verification purposes.","defaultMessages.footerText":"By submitting the personal information above, I acknowledge that my personal information is being collected under the <privacyPolicy>privacy policy</privacyPolicy> of the business from which I am seeking a discount, and I understand that my personal information will be shared with SheerID as a processor/third-party service provider in order for SheerID to confirm my eligibility for a special offer. <aboutSheerID>More about SheerID</aboutSheerID>.","defaultMessages.getHelp":"Get help","defaultMessages.howDoesReviewWork":"How does review work?","defaultMessages.howDoesVerifyingWork":"How does verifying work?","defaultMessages.infoShared1":"By clicking, I consent to processing my information for the purpose of verifying my eligibility as described within the {privacyPolicyLink}","defaultMessages.infoShared2":". I understand that my information will be shared with {companyName}.","defaultMessages.informationTransferredToUS":"Your information will be transferred to the United States and will be treated according to SheerID’s privacy policy.","defaultMessages.lastName":"Last name","defaultMessages.lastNamePlaceholder":"Last name","defaultMessages.limitExceededError":"Verification Limit Exceeded","defaultMessages.loading":"Loading...","defaultMessages.locales.ar":"Arabic","defaultMessages.locales.bg":"Bulgarian","defaultMessages.locales.cs":"Czech","defaultMessages.locales.da":"Danish","defaultMessages.locales.de":"German","defaultMessages.locales.el":"Greek","defaultMessages.locales.en-GB":"English (UK)","defaultMessages.locales.en-US":"English","defaultMessages.locales.es":"Spanish","defaultMessages.locales.es-ES":"Spanish (Spain)","defaultMessages.locales.fi":"Finnish","defaultMessages.locales.fr":"French","defaultMessages.locales.fr-CA":"French (Canadian)","defaultMessages.locales.ga":"Irish","defaultMessages.locales.hr":"Croatian","defaultMessages.locales.hu":"Hungarian","defaultMessages.locales.id":"Indonesian","defaultMessages.locales.it":"Italian","defaultMessages.locales.iw":"Hebrew","defaultMessages.locales.ja":"Japanese","defaultMessages.locales.ko":"Korean","defaultMessages.locales.lo":"Lao","defaultMessages.locales.lt":"Lithuanian","defaultMessages.locales.ms":"Malay","defaultMessages.locales.nl":"Dutch","defaultMessages.locales.no":"Norwegian","defaultMessages.locales.pl":"Polish","defaultMessages.locales.pt":"Portuguese","defaultMessages.locales.pt-BR":"Portuguese (Brazil)","defaultMessages.locales.ro":"Romanian","defaultMessages.locales.ru":"Russia","defaultMessages.locales.sk":"Slovak","defaultMessages.locales.sl":"Slovenian","defaultMessages.locales.sr":"Serbian","defaultMessages.locales.sv":"Swedish","defaultMessages.locales.th":"Thai","defaultMessages.locales.tr":"Turkish","defaultMessages.locales.ur":"Urdu","defaultMessages.locales.vi":"Vietnamese","defaultMessages.locales.zh":"Chinese (Traditional)","defaultMessages.locales.zh-HK":"Chinese (Hong Kong)","defaultMessages.locales.zu":"Zulu","defaultMessages.lowIncomeOrganization":"Government Assistance Program","defaultMessages.lowIncomeOrganizationPlaceholder":"Government Assistance Program","defaultMessages.lowRewardPool":"&#128293; Only {offersRemaining} offers left!","defaultMessages.memberId":"ID Number","defaultMessages.memberIdPlaceholder":"ID Number","defaultMessages.militaryFamilyCardNote":"Note: this offer is only available to military family members with a Dependent ID card.","defaultMessages.militaryInfoShared":"Information entered here will be used for verification purposes.","defaultMessages.militaryStatus":"Military status","defaultMessages.noOptions":"No options","defaultMessages.optIn":"Yes, send me {company} marketing communications about exclusive sales, special offers, latest products and more","defaultMessages.optional":"Optional","defaultMessages.organization":"Organization","defaultMessages.organizationPlaceholder":"Organization","defaultMessages.personalInformation":"Personal Information","defaultMessages.personalOrSchoolIsFine":"Personal or school email is fine","defaultMessages.phoneNumber":"Mobile Number","defaultMessages.phoneNumberExplanation":"Optional - get text notifications of status updates","defaultMessages.phoneNumberWarnMessage1":"By submitting this form with a mobile number, you consent to receive SMS/text messages for verification purposes. Standard phone carrier text messaging (SMS) and data rates may apply.","defaultMessages.phoneNumberWarnMessage2":"You authorize your mobile service provider to disclose your mobile number and certain account information to SheerID, solely for identity verification and to avoid fraud.","defaultMessages.phoneUsPlaceholder":"555-555-5555","defaultMessages.postalCode":"Postal code","defaultMessages.postalCodeExplanation":"Use the location on file with your licensing body","defaultMessages.postalCodePlaceholder":"Postal code","defaultMessages.poweredBy":"Verification services powered by SheerID","defaultMessages.privacyPolicy":"Privacy Policy","defaultMessages.proceed":"Proceed","defaultMessages.requestSchool":"Don\'t see your school? Request to have it added.","defaultMessages.requiredFields":"All fields are required","defaultMessages.rewardCodeEmailNotification":"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com.","defaultMessages.school":"School","defaultMessages.schoolName":"School","defaultMessages.schoolNamePlaceholder":"School","defaultMessages.sheeridFaqs":"SheerID FAQs","defaultMessages.smsCodePlaceholder":"SMS Code","defaultMessages.ssn":"Social Security Number","defaultMessages.ssnPlaceholder":"000-00-0000","defaultMessages.state":"State","defaultMessages.statePlaceholder":"State","defaultMessages.states.AK":"Alaska","defaultMessages.states.AL":"Alabama","defaultMessages.states.AR":"Arkansas","defaultMessages.states.AS":"American Samoa","defaultMessages.states.AZ":"Arizona","defaultMessages.states.CA":"California","defaultMessages.states.CO":"Colorado","defaultMessages.states.CT":"Connecticut","defaultMessages.states.DC":"District of Columbia","defaultMessages.states.DE":"Delaware","defaultMessages.states.FL":"Florida","defaultMessages.states.GA":"Georgia","defaultMessages.states.GU":"Guam","defaultMessages.states.HI":"Hawaii","defaultMessages.states.IA":"Iowa","defaultMessages.states.ID":"Idaho","defaultMessages.states.IL":"Illinois","defaultMessages.states.IN":"Indiana","defaultMessages.states.KS":"Kansas","defaultMessages.states.KY":"Kentucky","defaultMessages.states.LA":"Louisiana","defaultMessages.states.MA":"Massachusetts","defaultMessages.states.MD":"Maryland","defaultMessages.states.ME":"Maine","defaultMessages.states.MI":"Michigan","defaultMessages.states.MN":"Minnesota","defaultMessages.states.MO":"Missouri","defaultMessages.states.MS":"Mississippi","defaultMessages.states.MT":"Montana","defaultMessages.states.NC":"North Carolina","defaultMessages.states.ND":"North Dakota","defaultMessages.states.NE":"Nebraska","defaultMessages.states.NH":"New Hampshire","defaultMessages.states.NJ":"New Jersey","defaultMessages.states.NM":"New Mexico","defaultMessages.states.NV":"Nevada","defaultMessages.states.NY":"New York","defaultMessages.states.OH":"Ohio","defaultMessages.states.OK":"Oklahoma","defaultMessages.states.OR":"Oregon","defaultMessages.states.PA":"Pennsylvania","defaultMessages.states.PR":"Puerto Rico","defaultMessages.states.RI":"Rhode Island","defaultMessages.states.SC":"South Carolina","defaultMessages.states.SD":"South Dakota","defaultMessages.states.TN":"Tennessee","defaultMessages.states.TX":"Texas","defaultMessages.states.UT":"Utah","defaultMessages.states.VA":"Virginia","defaultMessages.states.VI":"Virgin Islands","defaultMessages.states.VT":"Vermont","defaultMessages.states.WA":"Washington","defaultMessages.states.WI":"Wisconsin","defaultMessages.states.WV":"West Virginia","defaultMessages.states.WY":"Wyoming","defaultMessages.status":"Status","defaultMessages.statusPlaceholder":"Status","defaultMessages.step.collectMedicalPersonalInfo.autorisationsIdExplanation":"Your Professional Membership Registration Number","defaultMessages.step.collectMedicalPersonalInfo.autorisationsIdLabel":"Registration Number","defaultMessages.step.collectMedicalPersonalInfo.gbrNummerExplanation":"Your Professional Membership Registration Number","defaultMessages.step.collectMedicalPersonalInfo.gbrNummerLabel":"Registration Number","defaultMessages.step.collectMedicalPersonalInfo.globalLocationNumberExplanation":"Your Professional Membership Registration Number","defaultMessages.step.collectMedicalPersonalInfo.globalLocationNumberLabel":"Global Location Number","defaultMessages.step.collectMedicalPersonalInfo.numeroColegiadoExplanation":"Your Professional Membership Registration Number","defaultMessages.step.collectMedicalPersonalInfo.numeroColegiadoLabel":"Registration Number","defaultMessages.step.collectMedicalPersonalInfo.registrationNumberExplanation":"Your Professional Membership Registration Number","defaultMessages.step.collectMedicalPersonalInfo.registrationNumberLabel":"Registration Number","defaultMessages.step.collectSocialSecurityNumber.selectOption":"Select an option","defaultMessages.step.collectSocialSecurityNumber.title":"Enter your social security number","defaultMessages.step.collectSocialSecurityNumber.uploadDoc":"Upload a document","defaultMessages.step.collectSocialSecurityNumber.uploadInstead":"Upload a document instead","defaultMessages.step.collectSocialSecurityNumber.useSsn":"Verify using your social security number","defaultMessages.step.consolation.subtitle":"Unfortunately we could not verify your status, but we value your interest and are offering this promo code as a thank you. It is unique to you and can only be used once.","defaultMessages.step.consolation.title":"Claim your offer","defaultMessages.step.consolation.verificationOnly":"Please direct any and all questions about this offer to {companyName}.","defaultMessages.step.docUpload.acceptableUploadExamples":"Acceptable examples include:","defaultMessages.step.docUpload.acceptableUploads.age.birthCertificate":"Your birth certificate","defaultMessages.step.docUpload.acceptableUploads.age.driversLicense":"Your drivers license","defaultMessages.step.docUpload.acceptableUploads.age.passport":"Your passport","defaultMessages.step.docUpload.acceptableUploads.age.stateId":"Your state-issued ID","defaultMessages.step.docUpload.acceptableUploads.employment.employeeIdCard":"Employee ID Card","defaultMessages.step.docUpload.acceptableUploads.employment.officialLetter":"An official letter","defaultMessages.step.docUpload.acceptableUploads.employment.payStub":"Pay stub from within last 60 days","defaultMessages.step.docUpload.acceptableUploads.firstResponder.idCard":"ID Card","defaultMessages.step.docUpload.acceptableUploads.firstResponder.letter":"An official letter","defaultMessages.step.docUpload.acceptableUploads.firstResponder.payStub":"Pay stub from within last 60 days","defaultMessages.step.docUpload.acceptableUploads.licensedProfessional.license":"Certificate of license","defaultMessages.step.docUpload.acceptableUploads.lowIncome.programApprovalLetter":"Approval letter of the selected government assistance program issued by a government agency (for example, a Supplemental Security Income (SSI) eligibility letter).","defaultMessages.step.docUpload.acceptableUploads.lowIncome.programApprovalScreenshot":"A screenshot of the online portal of the selected government assistance program showing you qualify for it (Screenshot of your Medicare application status on your online account).","defaultMessages.step.docUpload.acceptableUploads.lowIncome.programBankStatement":"A bank statement showing recent payment of the selected benefit.","defaultMessages.step.docUpload.acceptableUploads.lowIncome.programCard":"Back and front of a card showing you qualify for the selected government assistance program (for example, an EBT card for a SNAP Program).","defaultMessages.step.docUpload.acceptableUploads.medical.idCard":"Nursing ID card with expiration date","defaultMessages.step.docUpload.acceptableUploads.medical.licenseCertificate":"Certificate of license","defaultMessages.step.docUpload.acceptableUploads.medical.photoPayStub":"Photo ID and recent Pay Stub","defaultMessages.step.docUpload.acceptableUploads.member.idCard":"Membership Document","defaultMessages.step.docUpload.acceptableUploads.member.payStub":"Pay stub from within last 90 days","defaultMessages.step.docUpload.acceptableUploads.military.activeDuty":"Any document that proves you are currently serving as active duty in the armed forces for 30 days or more","defaultMessages.step.docUpload.acceptableUploads.military.dependent":"Any document that proves you are a Registered Military Dependent","defaultMessages.step.docUpload.acceptableUploads.military.goldStarFamily":"Any document that proves you are a Registered Gold Star Family Member","defaultMessages.step.docUpload.acceptableUploads.military.reservistA":"Any document that shows you are currently serving in a reserve component of the armed forces","defaultMessages.step.docUpload.acceptableUploads.military.retiree":"Any document that proves you are a retiree from the armed forces","defaultMessages.step.docUpload.acceptableUploads.military.veteran":"Any document that proves you met the qualifications of military service and were honorably discharged","defaultMessages.step.docUpload.acceptableUploads.recentMover.changeOfAddress":"U.S. Postal Service change of address confirmation letter","defaultMessages.step.docUpload.acceptableUploads.recentMover.mortgageDeed":"Mortgage deed","defaultMessages.step.docUpload.acceptableUploads.recentMover.rentalAgreement":"Lease or rental agreement","defaultMessages.step.docUpload.acceptableUploads.senior.birthCertificate":"Your birth certificate","defaultMessages.step.docUpload.acceptableUploads.senior.driversLicense":"Your drivers license","defaultMessages.step.docUpload.acceptableUploads.senior.passport":"Your passport","defaultMessages.step.docUpload.acceptableUploads.senior.stateId":"Your state-issued ID","defaultMessages.step.docUpload.acceptableUploads.student.classSchedule":"Class schedule","defaultMessages.step.docUpload.acceptableUploads.student.idCard":"School ID card with expiration date","defaultMessages.step.docUpload.acceptableUploads.student.tuitionReceipt":"Tuition receipt","defaultMessages.step.docUpload.acceptableUploads.teacher.idCard":"Teacher ID card with valid date","defaultMessages.step.docUpload.acceptableUploads.teacher.payStub":"Pay stub from within last 60 days","defaultMessages.step.docUpload.acceptedTypes":"File must be .jpg .jpeg .png .pdf .gif or .bmp","defaultMessages.step.docUpload.addFile":"Add file","defaultMessages.step.docUpload.allowedDocuments":"Please only upload documents you are legally allowed to provide.","defaultMessages.step.docUpload.cancelButtonLabel":"Cancel","defaultMessages.step.docUpload.cancelDocUploadLabel":"Click here if you are unable to verify with a document","defaultMessages.step.docUpload.fileInstructions":"Drag &amp; drop your files here or <span class=\\"sid-dropzone-wrap--link\\">browse</span>","defaultMessages.step.docUpload.nameChanged":"If your name has changed since the document was issued, upload a 2nd document showing your official name change.","defaultMessages.step.docUpload.rejectedSubtitle":"We were unable to confirm your eligibility due to:","defaultMessages.step.docUpload.rejectionReasons.CUSTOM_VALUE_OTHER":"The document submitted is missing a requirement for establishing eligibility for this offer.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_DATE_OTHER":"The document submitted does not meet the date requirements for establishing eligibility for this offer.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_EXPIRED":"The document has already expired or was issued too far in the past. Please upload a more recent document.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_HANDWRITTEN":"We cannot accept handwritten documents.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_LIKELY_FRAUD":"The document is insufficient for establishing eligibility for this offer.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_OUTDATED":"The document you submitted is missing an issue date or was issued too far in the past.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_OUTDATED_FACULTY":"The document you submitted does not prove employment in the current academic year.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_PASSWORD_PROTECTED":"We are unable to accept password protected documents.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_STATUS_OTHER":"The document submitted shows a status that is not sufficient for establishing eligibility for this offer.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_TOO_FUTURE":"The date shown in the document is too far in the future. Please upload a more recent document, which proves your current status.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_UNREADABLE":"The document was unreadable due to poor image quality. Please make sure you have a clearly legible image that\'s bright and crisp, and try submitting again.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_UNSUPPORTED":"The document is not official or on the list of accepted document types.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_VALID_OTHER":"The document submitted is not able to establish eligibility for this offer.","defaultMessages.step.docUpload.rejectionReasons.INELIGIBLE_JOB_TITLE":"The job title shown in the document is not eligible for this offer.","defaultMessages.step.docUpload.rejectionReasons.INELIGIBLE_ORGANIZATION":"The organization on the document you submitted is not eligible for this offer.","defaultMessages.step.docUpload.rejectionReasons.INELIGIBLE_PERSON_HIGH_SCHOOL_STUDENT":"High School Students are not eligible for this offer.","defaultMessages.step.docUpload.rejectionReasons.INSUFFICIENT_CUSTOM_VALUE":"The document is missing information needed to establish your eligibility for this offer.","defaultMessages.step.docUpload.rejectionReasons.INSUFFICIENT_DOCUMENT_DATE":"The date(s) shown in the document are insufficient to prove your current status. Please upload a document that includes a recent month and year.","defaultMessages.step.docUpload.rejectionReasons.INSUFFICIENT_STATUS":"The document does not prove you are a status eligible for this offer.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_BIRTHDATE":"The birthdate on the document does not match the birthdate you entered on your verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_COMPANY_NAME_OR_ADDRESS":"The company name or address in your document does not match what you entered on the verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_CUSTOM_VALUE":"Some information shown in the document does not match what you entered in the verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_ORGANIZATION":"The organization name on the document(s) you submitted does not match the organization you listed on the verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_ORGANIZATION_COUNTRY":"The country shown in your document does not match the country you entered on your verification form","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_ORGANIZATION_NAME":"The organization name on the document does not match the organization name you entered on your verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_PERSON_FIRST_NAME":"The first name on the document does not match the first name you entered on your verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_PERSON_LAST_NAME":"The last name on the document does not match the last name you entered on your verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_PERSON_NAME":"The information on the document you submitted does not match the first and/or last name submitted on the verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_STATUS":"The status on the document does not match the status you entered on your verification form.","defaultMessages.step.docUpload.rejectionReasons.MISSING_CUSTOM_VALUE":"The document is missing information needed to establish your eligibility for this offer.","defaultMessages.step.docUpload.rejectionReasons.MISSING_DOCUMENT_DATE":"A current date is missing. Please upload an official, dated document that proves your current status.","defaultMessages.step.docUpload.rejectionReasons.MISSING_INFORMATION":"The document you submitted does not provide all of the information necessary to determine eligibility for this offer.","defaultMessages.step.docUpload.rejectionReasons.MISSING_INFORMATION_AFFILIATION_US_ARMED_FORCES":"The document you submitted is does not show affiliation to an eligible branch of the United States Armed Forces.","defaultMessages.step.docUpload.rejectionReasons.MISSING_INFORMATION_BIRTHDATE":"Your birthdate is missing.","defaultMessages.step.docUpload.rejectionReasons.MISSING_INFORMATION_ORGANIZATION_NAME":"Your organization name is missing.","defaultMessages.step.docUpload.rejectionReasons.MISSING_INFORMATION_PERSON_NAME":"The document you submitted is missing a first and/or last name.","defaultMessages.step.docUpload.rejectionReasons.MISSING_INFORMATION_UNIVERSITY_ENROLLMENT":"The document you submitted does not prove enrollment in the current term.","defaultMessages.step.docUpload.rejectionReasons.MISSING_OR_MISMATCH_JOB_TITLE":"The job title on the document you submitted is missing or does not match what you entered on the verification form.","defaultMessages.step.docUpload.rejectionReasons.MISSING_PERSON_FIRST_NAME":"Your first name is missing.","defaultMessages.step.docUpload.rejectionReasons.MISSING_PERSON_LAST_NAME":"Your last name is missing.","defaultMessages.step.docUpload.rejectionReasons.ORGANIZATION_NAME_OTHER":"The organization name shown in the document submitted was something other than what was provided on the verification form.","defaultMessages.step.docUpload.rejectionReasons.OTHER_CONTACT_US":"We are having problems verifying your eligibility for the offer. Please contact SheerID customer service for help: customerservice@sheerid.com","defaultMessages.step.docUpload.rejectionReasons.OUT_OF_RANGE_BIRTHDATE":"Your birthdate is outside the acceptable range of this offer.","defaultMessages.step.docUpload.rejectionReasons.PAYSTUB_OUTDATED_LAST_30_DAYS":"Please upload a paystub that was issued within the last 30 days.","defaultMessages.step.docUpload.rejectionReasons.PERSON_BIRTHDATE_OTHER":"The date of birth shown in the document submitted did not match with what was provided on the verification form.","defaultMessages.step.docUpload.rejectionReasons.PERSON_FIELD_MISMATCH":"A field in the document provided did not match with what was provided on the verification form.","defaultMessages.step.docUpload.rejectionReasons.PERSON_FIRST_NAME_OTHER":"The first name shown in the document submitted did not match with what was provided on the verification form.","defaultMessages.step.docUpload.rejectionReasons.PERSON_LAST_NAME_OTHER":"The last name shown in the document submitted did not match with what was provided on the verification form.","defaultMessages.step.docUpload.submitButtonLabel":"Continue","defaultMessages.step.docUpload.uploadInfo.affiliation":"Your current affiliation with that organization","defaultMessages.step.docUpload.uploadInfo.age.birthDate":"Your date of birth","defaultMessages.step.docUpload.uploadInfo.employment.company":"Your company","defaultMessages.step.docUpload.uploadInfo.employment.currentAffiliation":"Your current affiliation with that company","defaultMessages.step.docUpload.uploadInfo.firstResponder.currentAffiliation":"Your current affiliation with that organization","defaultMessages.step.docUpload.uploadInfo.firstResponder.license":"Your status or license as a First Responder","defaultMessages.step.docUpload.uploadInfo.firstResponder.organization":"Your organization","defaultMessages.step.docUpload.uploadInfo.fullName":"Your full name","defaultMessages.step.docUpload.uploadInfo.identity.validDate":"A currently valid date","defaultMessages.step.docUpload.uploadInfo.licensedProfessional.licenseStatus":"Your professional license and/or certification status","defaultMessages.step.docUpload.uploadInfo.licensedProfessional.validDate":"A currently valid date","defaultMessages.step.docUpload.uploadInfo.lowIncome.ebtNumber":"EBT card number","defaultMessages.step.docUpload.uploadInfo.lowIncome.fullName":"Your full name","defaultMessages.step.docUpload.uploadInfo.lowIncome.validDate":"A valid date of issue (within the last 12 months) or date of expiry (must be valid)","defaultMessages.step.docUpload.uploadInfo.medical.status":"Your medical professional status","defaultMessages.step.docUpload.uploadInfo.medical.validDate":"A currently valid date","defaultMessages.step.docUpload.uploadInfo.military.currentAffiliation":"Your current affiliation with the armed services","defaultMessages.step.docUpload.uploadInfo.military.dischargeDate":"Your discharge date (if applicable)","defaultMessages.step.docUpload.uploadInfo.military.serviceBranch":"Your branch of service","defaultMessages.step.docUpload.uploadInfo.military.uploadInstructionsDependent":"Please upload a Dependent ID card that clearly shows your first name, last name, valid dates and status","defaultMessages.step.docUpload.uploadInfo.organization":"Your organization","defaultMessages.step.docUpload.uploadInfo.recentMover.address":"Your new address","defaultMessages.step.docUpload.uploadInfo.recentMover.validDate":"A valid date for your recent move","defaultMessages.step.docUpload.uploadInfo.senior.birthDate":"Your date of birth","defaultMessages.step.docUpload.uploadInfo.student.enrollmentDate":"Date proving enrollment for the current term (or within the last 3 months)","defaultMessages.step.docUpload.uploadInfo.student.school":"Your school","defaultMessages.step.docUpload.uploadInfo.teacher.currentSchoolYear":"A date in the current school year","defaultMessages.step.docUpload.uploadInfo.teacher.school":"Your school","defaultMessages.step.emailLoop.errors.resend":"Error sending email","defaultMessages.step.emailLoop.resendButton":"Re-send","defaultMessages.step.emailLoop.skipEmail":"Unable to retrieve this email? Click","defaultMessages.step.emailLoop.skipEmail2":"to proceed.","defaultMessages.step.emailLoop.skipEmailCTA":"here","defaultMessages.step.emailLoop.subtitle2":"Please check for an email from us (verify@sheerid.com) for all the details.","defaultMessages.step.emailLoop.subtitleWithEmail":"An email has been sent to {email} with a personalized link to complete the verification process.","defaultMessages.step.emailLoop.subtitleWithoutEmail":"An email has been sent to your email account with a personalized link to complete the verification process.","defaultMessages.step.emailLoop.successResend":"Email re-sent successfully.","defaultMessages.step.emailLoop.title":"Check your email","defaultMessages.step.error.errorId.expiredProgram.buttonText":"See More Offers","defaultMessages.step.error.errorId.expiredProgram.title":"Offer Sold Out!","defaultMessages.step.error.errorId.inactiveProgram.buttonText":"See More Offers","defaultMessages.step.error.errorId.inactiveProgram.title":"Offer Sold Out!","defaultMessages.step.error.errorId.missingRequiredMetadata.title":"Please log in.","defaultMessages.step.error.errorId.noRemainingRewardCodes.buttonText":"See More Offers","defaultMessages.step.error.errorId.noRemainingRewardCodes.title":"Offer Sold Out!","defaultMessages.step.error.errorId.unauthorizedAccountStatus.buttonText":"Contact Support","defaultMessages.step.error.errorId.unauthorizedAccountStatus.title":"Offer Is Paused!","defaultMessages.step.error.errorId.verificationLimitExceeded.title":"Verification Limit Exceeded","defaultMessages.step.override.errors.codeOverrideLimit":"Override code limit exceeded.","defaultMessages.step.override.errors.invalidCode":"Invalid Override Code.","defaultMessages.step.override.submitOverrideCodeButtonLabel":"Submit Override Code","defaultMessages.step.override.subtitle":"If applicable, please enter a verification override code below.","defaultMessages.step.override.subtitle2":"This will enable the customer to redeem the offer","defaultMessages.step.override.title":"Unable to Verify Status","defaultMessages.step.override.verificationOverrideCodeLabel":"Verification Override Code","defaultMessages.step.pending.docDiffLang":"We identified your document is in a different language.","defaultMessages.step.pending.subtitle":"SheerID is reviewing your documents, to confirm your status. This process may take up to {maxReviewTime}.","defaultMessages.step.pending.subtitle2":"Wait here or let us notify you of the outcome.","defaultMessages.step.pending.subtitle3":"You will be contacted via email.","defaultMessages.step.pending.subtitleAlt":"SheerID is reviewing your documents, to confirm your status.","defaultMessages.step.pending.subtitleCountdown":"Hang tight while we upload and scan your documents.","defaultMessages.step.pending.titleCountdown":"Processing","defaultMessages.step.pending.titleReview":"Reviewing","defaultMessages.step.pending.turnaroundTime":"Turnaround time for your language is typically {estReviewTime}, and in rare times of high volume may take up to {maxReviewTime}.","defaultMessages.step.personalInfo.verifyingSubtitle":"This should only take a minute","defaultMessages.step.personalInfo.verifyingTitle":"Verifying your status","defaultMessages.step.smsLoop.errors.codeExpired":"Verification code could not be validated.","defaultMessages.step.smsLoop.errors.codeResendLimit":"Maximum number of re-tries has been reached.","defaultMessages.step.smsLoop.errors.codeVerification":"Verification code could not be validated.","defaultMessages.step.smsLoop.errors.resend":"Error sending the SMS message","defaultMessages.step.smsLoop.incorrectNumber.incorrectNumber1":"Incorrect number? Click","defaultMessages.step.smsLoop.incorrectNumber.incorrectNumber2":"here","defaultMessages.step.smsLoop.incorrectNumber.incorrectNumber3":"to return to {companyName}","defaultMessages.step.smsLoop.resendButton":"Re-send","defaultMessages.step.smsLoop.submitButton":"Submit","defaultMessages.step.smsLoop.successResend":"SMS message re-sent successfully","defaultMessages.step.smsLoop.titleWithNumber":"We\'ve sent an SMS message to the mobile number ending in {number}. Enter your code here.","defaultMessages.step.smsLoop.titleWithoutNumber":"We\'ve sent an SMS to your mobile number. Please enter the code here.","defaultMessages.step.smsLoop.verificationCode":"Verification Code","defaultMessages.step.sso.alternative":"You can also verify by uploading proof of eligibility","defaultMessages.step.sso.cancel":"Upload documents","defaultMessages.step.sso.login":"Sign in to my school","defaultMessages.step.sso.preheader":"Quickest Method","defaultMessages.step.sso.subtitle":"Please sign in to your school\'s web portal. It will open in a new tab.","defaultMessages.step.sso.subtitle2":"Unable to sign in?","defaultMessages.step.sso.title":"Verify using your school credentials","defaultMessages.step.success.copyCouponCode":"Copy Coupon code","defaultMessages.step.success.emailNotification":"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com.","defaultMessages.step.success.verificationOnly":"SheerID handles verification only. Now that you\'ve been approved, please direct all questions about the promotion terms to {companyName} customer service.","defaultMessages.streetAddress":"Street Address","defaultMessages.studentInfoShared":"Information entered here will be used for verification purposes and shared with {companyName}.","defaultMessages.tryAgain":"Try again","defaultMessages.universityName":"University name","defaultMessages.verificationPurposesOnly":"Used for verification purposes only","defaultMessages.verifyAndContinue":"Verify and continue","defaultMessages.verifyMyEmploymentStatus":"Verify My Employee Status","defaultMessages.verifyMyFirstResponderStatus":"Verify My First Responder Status","defaultMessages.verifyMyIdentityStatus":"Verify My Identity","defaultMessages.verifyMyLicensedProfessionalStatus":"Verify My Licensed Professional Status","defaultMessages.verifyMyLowIncomeStatus":"Verify my status","defaultMessages.verifyMyMedicalProfessionalStatus":"Verify My Medical Professional Status","defaultMessages.verifyMyMembershipStatus":"Verify My Membership Status","defaultMessages.verifyMyMilitaryStatus":"Verify My Military Status","defaultMessages.verifyMyMoverStatus":"Verify My New Mover Status","defaultMessages.verifyMyStudentStatus":"Verify My Student Status","defaultMessages.verifyMyTeacherStatus":"Verify My Teacher Status","requestOrganizationMessages.changeLanguage":"Change language","requestOrganizationMessages.completeRequest":"Don\'t see your school in the list of eligible or ineligible schools? Complete your request","requestOrganizationMessages.copied":"Copied","requestOrganizationMessages.country":"Where is your educational institution located?","requestOrganizationMessages.description":"Please fill out the form below. Schools submitted are not guaranteed to be added, but all requests are researched and considered by SheerID.","requestOrganizationMessages.eligibleOrgs":"Eligible schools. Click the icon to copy name then return to the verification form:","requestOrganizationMessages.errorId.invalidCountry":"Field is required","requestOrganizationMessages.errorId.invalidEmail":"Invalid Email","requestOrganizationMessages.errorId.invalidField":"Field is invalid","requestOrganizationMessages.errorId.invalidFirstName":"Invalid first name","requestOrganizationMessages.errorId.invalidLastName":"Invalid last name","requestOrganizationMessages.errorId.invalidUrl":"Invalid URL","requestOrganizationMessages.errorId.requiredField":"Field is required","requestOrganizationMessages.errorId.tooManyResults":"Your search returned too many results, please refine your search and try again","requestOrganizationMessages.faq":"SheerID Add School Request FAQ","requestOrganizationMessages.fields.countryPlaceholder":"Select Country","requestOrganizationMessages.fields.domainLabel":"School website","requestOrganizationMessages.fields.domainPlaceholder":"www.myschool.edu","requestOrganizationMessages.fields.orgNameLabel":"School name","requestOrganizationMessages.fields.orgNamePlaceholder":"My school","requestOrganizationMessages.ineligibleOrgs":"Ineligible Schools. We are sorry, people from these schools are not eligible for this offer:","requestOrganizationMessages.noCountry":"Don\'t see your school’s country or region? You are not eligible for this offer.","requestOrganizationMessages.none":"None","requestOrganizationMessages.orgType.eligible":" - Eligible for this offer. Click the icon to copy name then return to the verification form:","requestOrganizationMessages.orgType.highSchool":"High Schools / Secondary Schools {e}","requestOrganizationMessages.orgType.ineligible":" - (Not eligible for this offer)","requestOrganizationMessages.orgType.k12":"K12 {e}","requestOrganizationMessages.orgType.postSecondary":"Post Secondary Institutions {e}","requestOrganizationMessages.orgType.university":"Universities {e}","requestOrganizationMessages.poweredBy":"Verification services powered by SheerID","requestOrganizationMessages.searchByOrgName":"Don\'t see your school? Search by name.","requestOrganizationMessages.step.error.contactUs":"contact us","requestOrganizationMessages.step.error.description":"Sorry we are not able to process your request. Please try again later.","requestOrganizationMessages.step.error.seeingProblem":"If you keep seeing this problem <a class=\'sid-link\' href=\'{feedbackUrl}&pid={programId}\' target=\'_blank\'>contact us</a>.","requestOrganizationMessages.step.error.title":"An unexpected error occurred","requestOrganizationMessages.step.success.description":"Your request to add your educational institution has been received. As a reminder, each request is evaluated by SheerID against the requirements set by this offer. There is no guarantee that your school will be added. The evaluation process can take up to 7 business days.","requestOrganizationMessages.step.success.title":"Thank you","requestOrganizationMessages.submit":"Submit","requestOrganizationMessages.title":"Request to Add School","segmentMessages.age.emailExplanation":"Needed to send you your unique code","segmentMessages.age.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying age.<br><br>Documents are used only for verifying your current age and will be permanently deleted after review is finalized.","segmentMessages.age.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.age.step.docUpload.title":"We need your license or passport","segmentMessages.age.step.docUpload.uploadInstructions":"Upload a government-issued document that shows","segmentMessages.age.step.personalInfo.howDoesVerifyingWorkDetails":"To be eligible for this offer, you must be of a certain age.<br><br>{companyName} uses SheerID, a trusted partner, to verify your age. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.age.step.personalInfo.subtitle":"Verify your current age.","segmentMessages.age.step.personalInfo.title":"Unlock Your Special Offer","segmentMessages.age.step.personalInfo.tryAgain.subtitle":"Your full name and birthdate must match what is on your government-issued documents.","segmentMessages.age.step.personalInfo.tryAgain.title":"Check Your Name & Birthdate","segmentMessages.age.step.personalInfo.verifyingTitle":"Verifying your age","segmentMessages.age.step.success.redirectButtonText":"Use code now","segmentMessages.age.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.age.step.success.title":"You\'ve been verified","segmentMessages.employment.addressExplanation":"Use your home address","segmentMessages.employment.emailExplanation":"Use your work email if you have one","segmentMessages.employment.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying employees.<br><br>Documents are used only for verify your employment status is current and will be permanently deleted after review is finalized.","segmentMessages.employment.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.employment.step.docUpload.title":"We need more information","segmentMessages.employment.step.docUpload.uploadInstructions":"Upload an official document that shows","segmentMessages.employment.step.personalInfo.howDoesVerifyingWorkDetails":"{companyName} has set up this special offer for all current employees of select companies.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are currently employed. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.employment.step.personalInfo.subtitle":"Verify you\'re a current employee at an eligible company.","segmentMessages.employment.step.personalInfo.title":"Unlock this Employment-Only Offer","segmentMessages.employment.step.personalInfo.tryAgain.subtitle":"The information you have provided should match your official documents.","segmentMessages.employment.step.personalInfo.tryAgain.title":"Check the information that you have provided","segmentMessages.employment.step.personalInfo.verifyingTitle":"Verifying your employment status","segmentMessages.employment.step.sso.alternative":"You can also verify by uploading proof of employment","segmentMessages.employment.step.sso.cancel":"Upload proof of employment","segmentMessages.employment.step.sso.login":"Sign in to my email","segmentMessages.employment.step.sso.subtitle":"Please sign in to your company\'s email portal. It will open in a new tab.","segmentMessages.employment.step.sso.subtitle2":"Can\'t sign in to your email?","segmentMessages.employment.step.sso.title":"Verify using your company-provided email credentials","segmentMessages.employment.step.success.redirectButtonText":"Use code now","segmentMessages.employment.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.employment.step.success.title":"You\'ve been verified","segmentMessages.firstResponder.emailExplanation":"Needed to send you your unique code","segmentMessages.firstResponder.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying first responders.<br><br>Documents are used only for verifying your first responder status is current and will be permanently deleted after review is finalized.","segmentMessages.firstResponder.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.firstResponder.step.docUpload.title":"We need your ID","segmentMessages.firstResponder.step.docUpload.uploadInstructions":"Upload an official document that shows","segmentMessages.firstResponder.step.personalInfo.howDoesVerifyingWorkDetails":"This offer is available to all US first responders and emergency personnel - including law enforcement, EMTs, paramedics, and firefighters.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are an active first responder. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.firstResponder.step.personalInfo.subtitle":"Verify you\'re an active first responder.","segmentMessages.firstResponder.step.personalInfo.title":"Unlock this 1st Responder-Only Offer","segmentMessages.firstResponder.step.personalInfo.tryAgain.subtitle":"Your full name, organization name, and email must match what is on record with your agency.","segmentMessages.firstResponder.step.personalInfo.tryAgain.title":"Check Your Name, Email & Organization","segmentMessages.firstResponder.step.personalInfo.verifyingTitle":"Verifying your first responder status","segmentMessages.firstResponder.step.success.redirectButtonText":"Use code now","segmentMessages.firstResponder.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.firstResponder.step.success.title":"You\'ve been verified","segmentMessages.identity.emailExplanation":"Needed to send you your unique code","segmentMessages.identity.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying identity.<br><br>Documents are used only for verifying your current eligibility and will be permanently deleted after review is finalized.","segmentMessages.identity.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.identity.step.docUpload.title":"We need your driver license","segmentMessages.identity.step.docUpload.uploadInstructions":"Upload a government-issued document that shows","segmentMessages.identity.step.personalInfo.howDoesVerifyingWorkDetails":"To be eligible for this offer, you must have a valid driver license.<br><br>{companyName} uses SheerID, a trusted partner, to verify your identity. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.identity.step.personalInfo.subtitle":"Verify your current identity.","segmentMessages.identity.step.personalInfo.title":"Unlock Your Special Offer","segmentMessages.identity.step.personalInfo.tryAgain.subtitle":"Your information must match what is on your government-issued document(s).","segmentMessages.identity.step.personalInfo.tryAgain.title":"Check Your Name & other fields","segmentMessages.identity.step.personalInfo.verifyingTitle":"Verifying your identity","segmentMessages.identity.step.success.redirectButtonText":"Use code now","segmentMessages.identity.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.identity.step.success.title":"You\'ve been verified","segmentMessages.licensedProfessional.emailExplanation":"Needed to send you your unique code","segmentMessages.licensedProfessional.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying licensed professionals.<br><br>Documents are used only for verifying your licensure or certification status is current and will be permanently deleted after review is finalized.","segmentMessages.licensedProfessional.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.licensedProfessional.step.docUpload.title":"We need your professional license or certificate","segmentMessages.licensedProfessional.step.docUpload.uploadInstructions":"Upload a government-issued document that shows","segmentMessages.licensedProfessional.step.personalInfo.howDoesVerifyingWorkDetails":"To be eligible for this offer, you must hold a current professional license in your specified field. Eligible fields are shown in the Status selector of this form.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a licensed professional. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.licensedProfessional.step.personalInfo.subtitle":"Verify you have a professional license in your field.","segmentMessages.licensedProfessional.step.personalInfo.title":"Unlock this Special Offer","segmentMessages.licensedProfessional.step.personalInfo.tryAgain.subtitle":"Your information must match what is on your government-issued document(s).","segmentMessages.licensedProfessional.step.personalInfo.tryAgain.title":"Check Your Name & other fields","segmentMessages.licensedProfessional.step.personalInfo.verifyingTitle":"Verifying your license","segmentMessages.licensedProfessional.step.success.redirectButtonText":"Use code now","segmentMessages.licensedProfessional.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.licensedProfessional.step.success.title":"You\'ve been verified","segmentMessages.lowIncome.addressExplanation":"Use your home address","segmentMessages.lowIncome.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying your eligibility.<br><br>Documents are used only for verifying your eligibility status is current and will be permanently deleted after review is finalized.","segmentMessages.lowIncome.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.lowIncome.step.docUpload.title":"We need some more info","segmentMessages.lowIncome.step.docUpload.uploadInstructions":"Upload an official document that shows","segmentMessages.lowIncome.step.personalInfo.howDoesVerifyingWorkDetails":"To be eligible for this offer, you must currently qualify for an eligible government assistance program. The eligible Government Assistance Programs for this offer can be found in the box below.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a recipient of these benefits. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.lowIncome.step.personalInfo.subtitle":"Verify you qualify for an eligible government assistance program.","segmentMessages.lowIncome.step.personalInfo.title":"Unlock this Special Offer","segmentMessages.lowIncome.step.personalInfo.tryAgain.subtitle":"Your information must match what is on your government-issued document(s).","segmentMessages.lowIncome.step.personalInfo.tryAgain.title":"Check Your full name & other fields","segmentMessages.lowIncome.step.personalInfo.verifyingTitle":"Verifying your status","segmentMessages.lowIncome.step.success.redirectButtonText":"Use code now","segmentMessages.lowIncome.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.lowIncome.step.success.title":"You\'ve been verified","segmentMessages.medical.emailExplanation":"Use your work email if you have one","segmentMessages.medical.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying medical professionals.<br><br>Documents are used only for verifying your medical professional status is current and will be permanently deleted after review is finalized.","segmentMessages.medical.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.medical.step.docUpload.title":"We need more information","segmentMessages.medical.step.docUpload.uploadInstructions":"Upload an official document that shows","segmentMessages.medical.step.personalInfo.howDoesVerifyingWorkDetails":"To be eligible for this offer, you must (1) be a medical professional currently licensed in the United States and (2) be a member of an eligible branch of the medical profession. Eligible branches are shown in the Status selector of this form.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a medical professional. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.medical.step.personalInfo.subtitle":"Verify you\'re a licensed medical professional.","segmentMessages.medical.step.personalInfo.title":"Unlock this Medical Professional-Only Offer","segmentMessages.medical.step.personalInfo.tryAgain.subtitle":"Your first and last name, birthdate and organization must match what is on your official documents.","segmentMessages.medical.step.personalInfo.tryAgain.title":"Check your Name, Birthdate & Organization","segmentMessages.medical.step.personalInfo.verifyingTitle":"Verifying your medical professional status","segmentMessages.medical.step.sso.alternative":"You can also verify by uploading proof of employment","segmentMessages.medical.step.sso.login":"Sign into my employer web portal","segmentMessages.medical.step.sso.subtitle":"Please sign into your employer\'s web portal. It will open in a new tab.","segmentMessages.medical.step.sso.title":"Verify your Healthcare status","segmentMessages.medical.step.success.redirectButtonText":"Use code now","segmentMessages.medical.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.medical.step.success.title":"You\'ve been verified","segmentMessages.member.emailExplanation":"Needed to send you your unique code","segmentMessages.member.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying members.<br><br>Documents are used only to verify that your membership status is current and will be permanently deleted after review is finalized.","segmentMessages.member.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.member.step.docUpload.title":"We need more information","segmentMessages.member.step.docUpload.uploadInstructions":"Upload an official document that shows","segmentMessages.member.step.personalInfo.howDoesVerifyingWorkDetails":"{companyName} has set up this special offer for all current members of select organizations.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are currently employed. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.member.step.personalInfo.subtitle":"Verify you\'re a current member of an eligible organization.","segmentMessages.member.step.personalInfo.title":"Unlock this Members-Only Offer","segmentMessages.member.step.personalInfo.tryAgain.subtitle":"The information you have provided should match your official documents.","segmentMessages.member.step.personalInfo.tryAgain.title":"Check the information that you have provided","segmentMessages.member.step.personalInfo.verifyingTitle":"Verifying your membership status","segmentMessages.member.step.success.redirectButtonText":"Use code now","segmentMessages.member.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.member.step.success.title":"You\'ve been verified","segmentMessages.military.emailExplanation":"Personal email address is recommended","segmentMessages.military.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying military.<br><br>Documents are used only for verifying your military status is current and will be permanently deleted after review is finalized.","segmentMessages.military.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.military.step.docUpload.title":"We need more information","segmentMessages.military.step.docUpload.uploadInstructions":"Upload your government-issued document that shows","segmentMessages.military.step.personalInfo.howDoesVerifyingWorkDetails":"This offer is available to military personnel who have served or are currently serving in the United States Armed Forces.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a member of the military. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.military.step.personalInfo.subtitle":"Verify you\'re a member of the armed forces.","segmentMessages.military.step.personalInfo.title":"Unlock this Military-Only Offer","segmentMessages.military.step.personalInfo.tryAgain.subtitle":"Enter your first and last name on the form as it appears on your military document(s). Keep in mind that may be your given name.","segmentMessages.military.step.personalInfo.tryAgain.title":"Check Your Name & Birthdate","segmentMessages.military.step.personalInfo.verifyingTitle":"Verifying your military status","segmentMessages.military.step.success.redirectButtonText":"Use code now","segmentMessages.military.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.military.step.success.title":"You\'ve been verified","segmentMessages.recentMover.emailExplanation":"Needed to send you your unique code","segmentMessages.recentMover.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying recent movers.<br><br>Documents are used only for verifying that you\'ve recently moved and will will be permanently deleted after review is finalized.","segmentMessages.recentMover.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.recentMover.step.docUpload.title":"We need some more info","segmentMessages.recentMover.step.docUpload.uploadInstructions":"Upload an official document that shows","segmentMessages.recentMover.step.personalInfo.howDoesVerifyingWorkDetails":"To be eligible for this offer, you must have moved to a new address within the last 60 days.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you have recently moved. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.recentMover.step.personalInfo.subtitle":"Verify you have recently moved.","segmentMessages.recentMover.step.personalInfo.title":"Unlock this Special Offer","segmentMessages.recentMover.step.personalInfo.tryAgain.subtitle":"Your first and last name and address must match what is on your official documents.","segmentMessages.recentMover.step.personalInfo.tryAgain.title":"Check Your Name & Address Information","segmentMessages.recentMover.step.personalInfo.verifyingTitle":"Verifying your moving status","segmentMessages.recentMover.step.success.redirectButtonText":"Use code now","segmentMessages.recentMover.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.recentMover.step.success.title":"You\'ve been verified","segmentMessages.senior.emailExplanation":"Needed to send you your unique code","segmentMessages.senior.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying age.<br><br>Documents are used only for verifying your current age and will be permanently deleted after review is finalized.","segmentMessages.senior.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.senior.step.docUpload.title":"We need your license or passport","segmentMessages.senior.step.docUpload.uploadInstructions":"Upload a government-issued document that shows","segmentMessages.senior.step.personalInfo.howDoesVerifyingWorkDetails":"To be eligible for this offer, you must be of a certain age.<br><br>{companyName} uses SheerID, a trusted partner, to verify your age. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.senior.step.personalInfo.subtitle":"Verify your current age.","segmentMessages.senior.step.personalInfo.title":"Unlock Your Special Offer","segmentMessages.senior.step.personalInfo.tryAgain.subtitle":"Your full name and birthdate must match what is on your government-issued documents.","segmentMessages.senior.step.personalInfo.tryAgain.title":"Check Your Name & Birthdate","segmentMessages.senior.step.personalInfo.verifyingTitle":"Verifying your age","segmentMessages.senior.step.success.redirectButtonText":"Use code now","segmentMessages.senior.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.senior.step.success.title":"You\'ve been verified","segmentMessages.student.emailExplanation":"A student email address is preferred","segmentMessages.student.schoolName":"School","segmentMessages.student.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying students.<br><br>Documents are used only for verifying your student status is current and will be permanently deleted after review is finalized.","segmentMessages.student.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.student.step.docUpload.title":"We need your ID & class schedule","segmentMessages.student.step.docUpload.uploadInstructions":"Upload your school-issued document that shows","segmentMessages.student.step.personalInfo.howDoesVerifyingWorkDetails":"To be eligible for this offer, you must currently be enrolled in a degree or certificate-granting, accredited school of education.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a current student. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.student.step.personalInfo.subtitle":"Verify you\'re a student at a degree-granting school.","segmentMessages.student.step.personalInfo.title":"Unlock this Student-Only Offer","segmentMessages.student.step.personalInfo.tryAgain.subtitle":"Your full name and birthdate must match what is on your official school records.","segmentMessages.student.step.personalInfo.tryAgain.title":"Check Your Name & Birthdate","segmentMessages.student.step.personalInfo.verifyingTitle":"Verifying your student status","segmentMessages.student.step.sso.alternative":"You can also verify by uploading proof of your enrollment","segmentMessages.student.step.sso.cancel":"Upload Proof of Enrollment","segmentMessages.student.step.sso.login":"Sign into my academic institution","segmentMessages.student.step.sso.subtitle":"Your academic institution\'s portal will open in a new window for you to verify using your login information","segmentMessages.student.step.sso.title":"Verify using academic institution credentials","segmentMessages.student.step.success.redirectButtonText":"Use code now","segmentMessages.student.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.student.step.success.title":"You\'ve been verified","segmentMessages.teacher.emailExplanation":"Must be your school-issued email address","segmentMessages.teacher.schoolName":"School name","segmentMessages.teacher.schoolNamePlaceholder":"School name","segmentMessages.teacher.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying teachers.<br><br>Documents are used only for verifying your teacher or faculty status is current and will be permanently deleted after review is finalized.","segmentMessages.teacher.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.teacher.step.docUpload.title":"We need more information","segmentMessages.teacher.step.docUpload.uploadInstructions":"Upload your school-issued document that shows","segmentMessages.teacher.step.personalInfo.howDoesVerifyingWorkDetails":"To be eligible for this offer, you must currently be employed as a teacher, faculty or staff at a K-12 school or university in the United States.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a current teacher, faculty or staff member. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.teacher.step.personalInfo.subtitle":"Verify you\'re a teacher, faculty or staff at a K-12 or degree-granting university.","segmentMessages.teacher.step.personalInfo.title":"Unlock this Teaching Staff-Only Offer","segmentMessages.teacher.step.personalInfo.tryAgain.subtitle":"Your full name and email address must match what is on record with your school.","segmentMessages.teacher.step.personalInfo.tryAgain.title":"Check Your Name & Email","segmentMessages.teacher.step.personalInfo.verifyingTitle":"Verifying your teacher status","segmentMessages.teacher.step.success.redirectButtonText":"Use code now","segmentMessages.teacher.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.teacher.step.success.title":"You\'ve been verified"}');function Ma(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Ca(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Ma(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Ma(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Ia=e=>{var r;const n=ba()(r=t()(e)).call(r,((t,r)=>(e[r]&&(t[r]=e[r]),t)),{});return Ea.flatten.unflatten(n)},Na=function(){var e=gr((function*(e){let t;switch(e){case"ar":t=yield o.e(711).then(o.t.bind(o,49,19)).then((e=>e.default));break;case"bg":t=yield o.e(458).then(o.t.bind(o,7813,19)).then((e=>e.default));break;case"cs":t=yield o.e(41).then(o.t.bind(o,3751,19)).then((e=>e.default));break;case"da":t=yield o.e(348).then(o.t.bind(o,5298,19)).then((e=>e.default));break;case"de":t=yield o.e(903).then(o.t.bind(o,2464,19)).then((e=>e.default));break;case"el":t=yield o.e(482).then(o.t.bind(o,2757,19)).then((e=>e.default));break;case"en-GB":t=yield o.e(194).then(o.t.bind(o,2925,19)).then((e=>e.default));break;case"en-US":t=Sa;break;case"es-ES":t=yield o.e(79).then(o.t.bind(o,7954,19)).then((e=>e.default));break;case"es":t=yield o.e(195).then(o.t.bind(o,7685,19)).then((e=>e.default));break;case"fi":t=yield o.e(304).then(o.t.bind(o,4214,19)).then((e=>e.default));break;case"fr-CA":t=yield o.e(485).then(o.t.bind(o,7762,19)).then((e=>e.default));break;case"fr":t=yield o.e(645).then(o.t.bind(o,6685,19)).then((e=>e.default));break;case"ga":t=yield o.e(456).then(o.t.bind(o,1804,19)).then((e=>e.default));break;case"hr":t=yield o.e(122).then(o.t.bind(o,6754,19)).then((e=>e.default));break;case"hu":t=yield o.e(722).then(o.t.bind(o,465,19)).then((e=>e.default));break;case"id":t=yield o.e(398).then(o.t.bind(o,5394,19)).then((e=>e.default));break;case"it":t=yield o.e(797).then(o.t.bind(o,7206,19)).then((e=>e.default));break;case"iw":t=yield o.e(961).then(o.t.bind(o,7238,19)).then((e=>e.default));break;case"ja":t=yield o.e(691).then(o.t.bind(o,912,19)).then((e=>e.default));break;case"ko":t=yield o.e(293).then(o.t.bind(o,5295,19)).then((e=>e.default));break;case"lo":t=yield o.e(47).then(o.t.bind(o,4762,19)).then((e=>e.default));break;case"lt":t=yield o.e(283).then(o.t.bind(o,7399,19)).then((e=>e.default));break;case"ms":t=yield o.e(478).then(o.t.bind(o,8031,19)).then((e=>e.default));break;case"nl":t=yield o.e(596).then(o.t.bind(o,3845,19)).then((e=>e.default));break;case"no":t=yield o.e(44).then(o.t.bind(o,7897,19)).then((e=>e.default));break;case"pl":t=yield o.e(589).then(o.t.bind(o,2176,19)).then((e=>e.default));break;case"pt-BR":t=yield o.e(495).then(o.t.bind(o,3170,19)).then((e=>e.default));break;case"pt":t=yield o.e(259).then(o.t.bind(o,4055,19)).then((e=>e.default));break;case"ru":t=yield o.e(753).then(o.t.bind(o,4194,19)).then((e=>e.default));break;case"sk":t=yield o.e(61).then(o.t.bind(o,6349,19)).then((e=>e.default));break;case"sl":t=yield o.e(666).then(o.t.bind(o,7091,19)).then((e=>e.default));break;case"sr":t=yield o.e(916).then(o.t.bind(o,3263,19)).then((e=>e.default));break;case"sv":t=yield o.e(140).then(o.t.bind(o,8638,19)).then((e=>e.default));break;case"th":t=yield o.e(845).then(o.t.bind(o,2407,19)).then((e=>e.default));break;case"tr":t=yield o.e(856).then(o.t.bind(o,8374,19)).then((e=>e.default));break;case"zh-HK":t=yield o.e(93).then(o.t.bind(o,6320,19)).then((e=>e.default));break;case"zh":t=yield o.e(494).then(o.t.bind(o,7485,19)).then((e=>e.default));break;default:he.warn(`getMessagesModuleByLocale: Unable to load messages for ${e}, falling back to en-US`),t=Sa}return Ia(t)}));return function(t){return e.apply(this,arguments)}}(),Da=function(){var e=gr((function*(e){const t=yield fetch(`${na()}localized-messages/${e}.json`,{headers:{"Content-Type":"text/plain"}});let r={};try{r=yield t.json()}catch(e){he.error(e)}return Ia(r)}));return function(t){return e.apply(this,arguments)}}(),Ta=e=>{var r;const n=(0,Ea.flatten)(e),a={};return d()(r=t()(n)).call(r,(e=>{"string"==typeof n[e]&&(a[e]=n[e])})),a},Aa=e=>{let t={};return Mn().messagesWithLocale[e]&&(t=Mn().messagesWithLocale[e]),t},xa=e=>"iw"===e?"he":e,_a=function(){var e=gr((function*(e,t,r){let n,a=e;Gr(a)||(he.error(`Invalid locale ${a}, falling back to ${tn} for the verification form`,"Invalid locale"),a=tn),n="true"===window.sheerIdEs5?yield Da(a):yield Na(a);const i=n?n.defaultMessages:{},o=n&&n.segmentMessages,s=r&&o?n.segmentMessages[r]:{},l=Aa(a),u=t?Ta(t):{},c=a!==tn?yield _a(tn,t,r):{};return $()({},c,i?(0,Ea.flatten)(i):{},s?(0,Ea.flatten)(s):{},u,l?(0,Ea.flatten)(l):{})}));return function(t,r,n){return e.apply(this,arguments)}}();const Oa=(e,t)=>{const r=oe((()=>e.localeChoice.value))||oe((()=>t.locale))||Mn().locale||xr(window.location.href).get("locale")||void 0||tn;if(Gr(r))return r;const n=r.substring(0,2);return Gr(n)?n:tn};function ka(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Pa(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=ka(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=ka(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Ra={enabled:!1,required:!1,message:""},Fa=ha()({enabled:!1,keys:[],requiredKeys:[]}),La=e=>{let t=ie(Fa);try{oe((()=>e.config.customMetadata.enabled))&&(t=Pa(Pa({},t),e.config.customMetadata))}catch(e){he.warn("No custom metadata provided by the server.")}return Mn().customMetadata&&(t=Pa(Pa({},t),Mn().customMetadata)),t},Ua=e=>{let t=Pa({},Ra);try{e.config.marketConsent&&(t=e.config.marketConsent)}catch(e){he.warn("Server did not provided a market consent config. Default will be used")}return Mn().marketConsent&&(t=Mn().marketConsent),t},Ba=e=>{let t;try{t=e.intl.messages}catch(t){he.warn("Unable to get theme messages from ",e)}return t},Va=e=>Mn().customCss||e.customCss,za=e=>{const t=Mn();return t.hasOwnProperty("logoUrl")?t.logoUrl:e.logoUrl},ja=e=>Mn().privacyPolicyUrl||e.privacyPolicyUrl,Ha=e=>{let t=["en-US"],r=[];try{r=e.config.locales}catch(e){he.warn("Unable to get configured locales from programTheme")}const n=$a(Mn());return t=[...r,...n],a=t,i()(o=va()(a).call(a)).call(o,((e,t,r)=>!t||e!==r[t-1]));var a,o},$a=e=>e&&e.messagesWithLocale?t()(e.messagesWithLocale):[],qa=e=>{try{if(e&&e.config&&e.config.countries)return e.config.countries;if(e.intl.messages.step.personalInfo.countries){const t=[];for(const r in e.intl.messages.step.personalInfo.countries)t.push(r);return t}}catch(e){he.warn("Unable to get configured countries")}return["US"]},Wa=e=>{let t;try{t=e.config.estimatedReviewTime}catch(e){t="A_FEW_HOURS"}return t},Ga=e=>{let t;try{t=e.config.maxReviewTime}catch(e){t="2_HRS"}return t},Ya=Mn(),Ka=(e,t,r,n)=>{let a;try{a=e.config.customFaqLink}catch(e){a=""}return a&&""!==a?a:`${(()=>{const e="urlFaq";return Ya.hasOwnProperty(e)||he.error(`Can't find an option for '${e}'`,"Option not found"),Ya[e]})()}?pid=${r}&locale=${(e=>e.replace("-","_"))(n)}`},Za=(e,t)=>oe((()=>e.config.orgSearchCountryTags[t].join(",")),""),Ja=({children:e})=>q.createElement("div",{className:"sid sid-form-wrapper"},e);function Xa(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Qa(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Xa(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Xa(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const ei={firstName:"",lastName:"",email:"",phoneNumber:""},ti={countryChoice:void 0,localeChoice:{value:void 0,label:void 0}},ri={organization:{id:0,name:""}},ni={fieldsToSkipValidation:void 0},ai=Qa(Qa(Qa(Qa(Qa({},ei),ti),ni),ri),{},{birthDate:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),ii=Qa(Qa(Qa(Qa({},ei),ti),ni),{},{birthDate:"",postalCode:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),oi=Qa(Qa(Qa(Qa({},ei),ti),ni),{},{birthDate:"",postalCode:"",phoneNumber:"",country:"US",metadata:{marketConsentValue:!1,carrierConsentValue:!1,refererUrl:window.location.href}}),si=Qa(Qa(Qa(Qa(Qa({},ei),ti),ni),ri),{},{birthDate:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),li=Qa(Qa(Qa(Qa({},ei),ti),ri),{},{birthDate:"",phoneNumber:"",memberId:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),ui=Qa(Qa(Qa(Qa(Qa({},ei),ti),ni),ri),{},{activeDutyStartDate:"",birthDate:"",status:void 0,metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),ci=Qa(Qa(Qa(Qa(Qa({},ei),ti),ni),ri),{},{activeDutyStartDate:"",birthDate:"",dischargeDate:"",status:void 0,metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),di=Qa(Qa(Qa(Qa(Qa({},ei),ti),ni),ri),{},{birthDate:"",status:void 0,metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),fi=Qa(Qa(Qa(Qa(Qa({},ei),ti),ni),ri),{},{birthDate:"",postalCode:"",status:void 0,country:void 0,metadata:{marketConsentValue:!1,refererUrl:window.location.href},memberId:void 0}),mi=Qa(Qa(Qa(Qa(Qa({},ei),ti),ni),ri),{},{postalCode:"",address1:"",city:"",state:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),pi=Qa(Qa(Qa(Qa({},ei),ni),ti),{},{state:"",driverLicenseNumber:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),hi=Qa(Qa(Qa(Qa({},ei),ni),ti),{},{birthDate:"",address1:"",city:"",state:"",postalCode:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),gi=Qa(Qa(Qa(Qa({},ei),ni),ti),{},{birthDate:"",address1:"",city:"",state:"",postalCode:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href},driverLicenseNumber:""}),vi=Qa(Qa(Qa(Qa(Qa({},ei),ni),ti),ri),{},{birthDate:"",postalCode:"",statuses:[],metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),yi=Qa(Qa(Qa(Qa({},ei),ni),ti),{},{address1:"",postalCode:"",statuses:[],metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),bi=Qa(Qa(Qa(Qa(Qa({},ei),ni),ti),ri),{},{birthDate:"",address1:"",city:"",state:"",postalCode:"",statuses:[],ebtCardNumber:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),Ei=Qa(Qa(Qa({},ti),ni),{},{file1:void 0,file2:void 0,file3:void 0}),wi=Qa(Qa(Qa({},ti),ni),{},{isSSOActive:!1}),Si=(Qa(Qa({},ti),{},{overrideCode:void 0}),Qa(Qa({},ti),{},{socialSecurityNumber:void 0})),Mi=Qa(Qa({},ti),{},{smsCode:"",phoneNumber:void 0}),Ci=Qa(Qa({},ti),{},{emailToken:""}),Ii=Qa({},ti),Ni={firstName:void 0,lastName:void 0,memberId:void 0,email:void 0,phoneNumber:void 0,birthDate:void 0,organization:void 0,postalCode:void 0,address1:void 0,city:void 0,country:void 0,state:void 0,activeDutyStartDate:void 0,dischargeDate:void 0,docUpload:void 0,status:void 0,statuses:void 0,socialSecurityNumber:void 0,marketConsentValue:void 0,carrierConsentValue:void 0,smsCode:void 0,driverLicenseNumber:void 0,ebtCardNumber:void 0,overrideCode:void 0},Di=()=>({collectStudentPersonalInfo:ie(ai),collectTeacherPersonalInfo:ie(si),collectMemberPersonalInfo:ie(li),collectMilitaryStatus:ie(ui),collectActiveMilitaryPersonalInfo:ie(ui),collectInactiveMilitaryPersonalInfo:ie(ci),collectSeniorPersonalInfo:ie(ii),collectAgePersonalInfo:ie(oi),collectFirstResponderPersonalInfo:ie(di),collectMedicalProfessionalPersonalInfo:ie(fi),collectEmployeePersonalInfo:ie(mi),collectSocialSecurityNumber:ie(Si),collectDriverLicensePersonalInfo:ie(pi),collectGeneralIdentityPersonalInfo:ie(hi),collectHybridIdentityPersonalInfo:ie(gi),collectLicensedProfessionalPersonalInfo:ie(vi),collectLowIncomePersonalInfo:ie(bi),collectMoverPersonalInfo:ie(yi),docUpload:ie(Ei),cancelEmailLoop:ie(Ci),sso:ie(wi),smsLoop:ie(Mi),emailLoop:ie(Ci),pending:ie(Ii),success:ie(Ii),consolation:ie(Ii),override:ie(Ii),error:ie(Ii),cancelSocialSecurityNumber:ie(Ii),docReviewLimitExceeded:ie(Ii),cancelDocUpload:ie(Ii),missingRequiredMetadata:ie(Ii)}),Ti=()=>ie(Ni),Ai=()=>({intl:{locale:Oa(),messages:{}},customCss:""}),xi=Qa(Qa({},ti),{},{orgDomain:"",orgName:"",firstName:"",lastName:"",email:"",displayResults:!1,searchByOrgName:!1,completeRequest:!1,eligibleOrgs:[],ineligibleOrgs:[],orgCountryError:null,orgDomainError:null,orgNameError:null,firstNameError:null,lastNameError:null,emailError:null,isSearching:!1});const _i=ha()({viewModel:ie(xi),programTheme:void 0,programId:void 0,submitted:!1,error:void 0,locale:void 0,messages:void 0,isLoading:1,isInitialized:!1}),Oi=()=>ie(_i),ki=q.createContext([Oi(),()=>{}]);var Pi=o(1652);function Ri(){return Ri=Pi||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ri.apply(this,arguments)}var Fi=o(8897),Li=o(1245),Ui=o(7347);function Bi(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},i=Ui(e);for(n=0;n<i.length;n++)r=i[n],Li(t).call(t,r)>=0||(a[r]=e[r]);return a}(e,t);if(Fi){var i=Fi(e);for(n=0;n<i.length;n++)r=i[n],Li(t).call(t,r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const Vi=["dangerouslySetInnerHTML"],zi=e=>{let{dangerouslySetInnerHTML:t}=e,r=Bi(e,Vi);return t?q.createElement("span",Ri({dangerouslySetInnerHTML:t},r)):q.createElement(q.Fragment,r)};var ji,Hi=o(2814),$i=o.n(Hi),qi=o(1671),Wi=o.n(qi),Gi=o(8338),Yi=o.n(Gi);!function(e){e.UK="UK",e.GB="GB",e.JE="JE",e.GG="GG",e.IM="IM",e.US="US",e.CA="CA",e.IE="IE",e.DE="DE",e.JP="JP",e.FR="FR",e.AU="AU",e.IT="IT",e.CH="CH",e.AT="AT",e.ES="ES",e.NL="NL",e.BE="BE",e.DK="DK",e.SE="SE",e.NO="NO",e.BR="BR",e.PT="PT",e.FI="FI",e.AX="AX",e.KR="KR",e.CN="CN",e.TW="TW",e.SG="SG",e.DZ="DZ",e.AD="AD",e.AR="AR",e.AM="AM",e.AZ="AZ",e.BH="BH",e.BD="BD",e.BB="BB",e.BY="BY",e.BM="BM",e.BA="BA",e.IO="IO",e.BN="BN",e.BG="BG",e.KH="KH",e.CV="CV",e.CL="CL",e.CR="CR",e.HR="HR",e.CY="CY",e.CZ="CZ",e.DO="DO",e.EC="EC",e.EG="EG",e.EE="EE",e.FO="FO",e.GE="GE",e.GR="GR",e.GL="GL",e.GT="GT",e.HT="HT",e.HN="HN",e.HU="HU",e.IS="IS",e.IN="IN",e.ID="ID",e.IL="IL",e.JO="JO",e.KZ="KZ",e.KE="KE",e.KW="KW",e.LA="LA",e.LV="LV",e.LB="LB",e.LI="LI",e.LT="LT",e.LU="LU",e.MK="MK",e.MY="MY",e.MV="MV",e.MT="MT",e.MU="MU",e.MX="MX",e.MD="MD",e.MC="MC",e.MA="MA",e.NP="NP",e.NZ="NZ",e.NI="NI",e.NG="NG",e.OM="OM",e.PK="PK",e.PY="PY",e.PH="PH",e.PL="PL",e.PR="PR",e.RO="RO",e.RU="RU",e.SM="SM",e.SA="SA",e.SN="SN",e.SK="SK",e.SI="SI",e.ZA="ZA",e.LK="LK",e.TJ="TJ",e.TH="TH",e.TN="TN",e.TR="TR",e.TM="TM",e.UA="UA",e.UY="UY",e.UZ="UZ",e.VA="VA",e.VE="VE",e.ZM="ZM",e.AS="AS",e.CC="CC",e.CK="CK",e.RS="RS",e.ME="ME",e.CS="CS",e.YU="YU",e.CX="CX",e.ET="ET",e.FK="FK",e.NF="NF",e.FM="FM",e.GF="GF",e.GN="GN",e.GP="GP",e.GS="GS",e.GU="GU",e.GW="GW",e.HM="HM",e.IQ="IQ",e.KG="KG",e.LR="LR",e.LS="LS",e.MG="MG",e.MH="MH",e.MN="MN",e.MP="MP",e.MQ="MQ",e.NC="NC",e.NE="NE",e.VI="VI",e.PF="PF",e.PG="PG",e.PM="PM",e.PN="PN",e.PW="PW",e.RE="RE",e.SH="SH",e.SJ="SJ",e.SO="SO",e.SZ="SZ",e.TC="TC",e.WF="WF",e.XK="XK",e.YT="YT",e.INTL="INTL"}(ji||(ji={}));const Ki=new Map([[ji.UK,/^([A-Z]){1}([0-9][0-9]|[0-9]|[A-Z][0-9][A-Z]|[A-Z][0-9][0-9]|[A-Z][0-9]|[0-9][A-Z]){1}([ ])?([0-9][A-z][A-z]){1}$/i],[ji.GB,/^([A-Z]){1}([0-9][0-9]|[0-9]|[A-Z][0-9][A-Z]|[A-Z][0-9][0-9]|[A-Z][0-9]|[0-9][A-Z]){1}([ ])?([0-9][A-z][A-z]){1}$/i],[ji.JE,/^JE\d[\dA-Z]?[ ]?\d[ABD-HJLN-UW-Z]{2}$/],[ji.GG,/^GY\d[\dA-Z]?[ ]?\d[ABD-HJLN-UW-Z]{2}$/],[ji.IM,/^IM\d[\dA-Z]?[ ]?\d[ABD-HJLN-UW-Z]{2}$/],[ji.US,/^([0-9]{5})(?:-([0-9]{4}))?$/],[ji.CA,/^([ABCEGHJKLMNPRSTVXY][0-9][ABCEGHJKLMNPRSTVWXYZ])\s*([0-9][ABCEGHJKLMNPRSTVWXYZ][0-9])$/i],[ji.IE,/^([AC-FHKNPRTV-Y][0-9]{2}|D6W)[ -]?[0-9AC-FHKNPRTV-Y]{4}$/],[ji.DE,/^\d{5}$/],[ji.JP,/^\d{3}-\d{4}$/],[ji.FR,/^\d{2}[ ]?\d{3}$/],[ji.AU,/^\d{4}$/],[ji.IT,/^\d{5}$/],[ji.CH,/^\d{4}$/],[ji.AT,/^(?!0)\d{4}$/],[ji.ES,/^\d{5}$/],[ji.NL,/^\d{4}[ ]?[A-Z]{2}$/],[ji.BE,/^\d{4}$/],[ji.DK,/^\d{4}$/],[ji.SE,/^(SE-)?\d{3}[ ]?\d{2}$/],[ji.NO,/^\d{4}$/],[ji.BR,/^\d{5}[\-]?\d{3}$/],[ji.PT,/^\d{4}([\-]\d{3})?$/],[ji.FI,/^(FI-|AX-)?\d{5}$/],[ji.AX,/^22\d{3}$/],[ji.KR,/^\d{5}$/],[ji.CN,/^\d{6}$/],[ji.TW,/^\d{3}(\d{2})?$/],[ji.SG,/^\d{6}$/],[ji.DZ,/^\d{5}$/],[ji.AD,/^AD\d{3}$/],[ji.AR,/^([A-HJ-NP-Z])?\d{4}([A-Z]{3})?$/],[ji.AM,/^(37)?\d{4}$/],[ji.AZ,/^\d{4}$/],[ji.BH,/^((1[0-2]|[2-9])\d{2})?$/],[ji.BD,/^\d{4}$/],[ji.BB,/^(BB\d{5})?$/],[ji.BY,/^\d{6}$/],[ji.BM,/^[A-Z]{2}[ ]?[A-Z0-9]{2}$/],[ji.BA,/^\d{5}$/],[ji.IO,/^BBND 1ZZ$/],[ji.BN,/^[A-Z]{2}[ ]?\d{4}$/],[ji.BG,/^\d{4}$/],[ji.KH,/^\d{5}$/],[ji.CV,/^\d{4}$/],[ji.CL,/^\d{7}$/],[ji.CR,/^\d{4,5}|\d{3}-\d{4}$/],[ji.HR,/^(HR-)?\d{5}$/],[ji.CY,/^\d{4}$/],[ji.CZ,/^\d{3}[ ]?\d{2}$/],[ji.DO,/^\d{5}$/],[ji.EC,/^([A-Z]\d{4}[A-Z]|(?:[A-Z]{2})?\d{6})?$/],[ji.EG,/^\d{5}$/],[ji.EE,/^\d{5}$/],[ji.FO,/^\d{3}$/],[ji.GE,/^\d{4}$/],[ji.GR,/^\d{3}[ ]?\d{2}$/],[ji.GL,/^39\d{2}$/],[ji.GT,/^\d{5}$/],[ji.HT,/^\d{4}$/],[ji.HN,/^(?:\d{5})?$/],[ji.HU,/^\d{4}$/],[ji.IS,/^\d{3}$/],[ji.IN,/^\d{6}$/],[ji.ID,/^\d{5}$/],[ji.IL,/^\d{5,7}$/],[ji.JO,/^\d{5}$/],[ji.KZ,/^\d{6}$/],[ji.KE,/^\d{5}$/],[ji.KW,/^\d{5}$/],[ji.LA,/^\d{5}$/],[ji.LV,/^(LV-)?\d{4}$/],[ji.LB,/^(\d{4}([ ]?\d{4})?)?$/],[ji.LI,/^(948[5-9])|(949[0-7])$/],[ji.LT,/^(LT-)?\d{5}$/],[ji.LU,/^(L-)?\d{4}$/],[ji.MK,/^\d{4}$/],[ji.MY,/^\d{5}$/],[ji.MV,/^\d{5}$/],[ji.MT,/^[A-Z]{3}[ ]?\d{2,4}$/],[ji.MU,/^((\d|[A-Z])\d{4})?$/],[ji.MX,/^\d{5}$/],[ji.MD,/^\d{4}$/],[ji.MC,/^980\d{2}$/],[ji.MA,/^\d{5}$/],[ji.NP,/^\d{5}$/],[ji.NZ,/^\d{4}$/],[ji.NI,/^((\d{4}-)?\d{3}-\d{3}(-\d{1})?)?$/],[ji.NG,/^(\d{6})?$/],[ji.OM,/^(PC )?\d{3}$/],[ji.PK,/^\d{5}$/],[ji.PY,/^\d{4}$/],[ji.PH,/^\d{4}$/],[ji.PL,/^\d{2}-\d{3}$/],[ji.PR,/^00[679]\d{2}([ \-]\d{4})?$/],[ji.RO,/^\d{6}$/],[ji.RU,/^\d{6}$/],[ji.SM,/^4789\d$/],[ji.SA,/^\d{5}$/],[ji.SN,/^\d{5}$/],[ji.SK,/^\d{3}[ ]?\d{2}$/],[ji.SI,/^(SI-)?\d{4}$/],[ji.ZA,/^\d{4}$/],[ji.LK,/^\d{5}$/],[ji.TJ,/^\d{6}$/],[ji.TH,/^\d{5}$/],[ji.TN,/^\d{4}$/],[ji.TR,/^\d{5}$/],[ji.TM,/^\d{6}$/],[ji.UA,/^\d{5}$/],[ji.UY,/^\d{5}$/],[ji.UZ,/^\d{6}$/],[ji.VA,/^00120$/],[ji.VE,/^\d{4}$/],[ji.ZM,/^\d{5}$/],[ji.AS,/^96799$/],[ji.CC,/^6799$/],[ji.CK,/^\d{4}$/],[ji.RS,/^\d{5,6}$/],[ji.ME,/^8\d{4}$/],[ji.CS,/^\d{5}$/],[ji.YU,/^\d{5}$/],[ji.CX,/^6798$/],[ji.ET,/^\d{4}$/],[ji.FK,/^FIQQ 1ZZ$/],[ji.NF,/^2899$/],[ji.FM,/^(9694[1-4])([ \-]\d{4})?$/],[ji.GF,/^9[78]3\d{2}$/],[ji.GN,/^\d{3}$/],[ji.GP,/^9[78][01]\d{2}$/],[ji.GS,/^SIQQ 1ZZ$/],[ji.GU,/^969[123]\d([ \-]\d{4})?$/],[ji.GW,/^\d{4}$/],[ji.HM,/^\d{4}$/],[ji.IQ,/^\d{5}$/],[ji.KG,/^\d{6}$/],[ji.LR,/^\d{4}$/],[ji.LS,/^\d{3}$/],[ji.MG,/^\d{3}$/],[ji.MH,/^969[67]\d([ \-]\d{4})?$/],[ji.MN,/^\d{6}$/],[ji.MP,/^9695[012]([ \-]\d{4})?$/],[ji.MQ,/^9[78]2\d{2}$/],[ji.NC,/^988\d{2}$/],[ji.NE,/^\d{4}$/],[ji.VI,/^008(([0-4]\d)|(5[01]))([ \-]\d{4})?$/],[ji.PF,/^987\d{2}$/],[ji.PG,/^\d{3}$/],[ji.PM,/^9[78]5\d{2}$/],[ji.PN,/^PCRN 1ZZ$/],[ji.PW,/^96940$/],[ji.RE,/^9[78]4\d{2}$/],[ji.SH,/^(ASCN|STHL) 1ZZ$/],[ji.SJ,/^\d{4}$/],[ji.SO,/^\d{5}$/],[ji.SZ,/^[HLMS]\d{3}$/],[ji.TC,/^TKCA 1ZZ$/],[ji.WF,/^986\d{2}$/],[ji.XK,/^\d{5}$/],[ji.YT,/^976\d{2}$/],[ji.INTL,/^(?:[A-Z0-9]+([- ]?[A-Z0-9]+)*)?$/i]]);var Zi=o(861),Ji=o.n(Zi);const Xi=["ACTIVE_DUTY","VETERAN","RESERVIST","MILITARY_RETIREE","MILITARY_FAMILY","GOLD_STAR_FAMILY"],Qi=["FIREFIGHTER","EMT","POLICE","SEARCH_AND_RESCUE"],eo=["NURSE","DOCTOR","DENTIST","PHARMACIST","OTHER_HEALTH_WORKER"];let to={};function ro(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function no(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=ro(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=ro(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const ao=10,io=4096,oo=[/^\+?0*\d{10,}(x[0-9]{0,5})?$/,/(^\D?(\d{3})\D?\D?(\d{3})\D?(\d{4})$)/],so=(e,t)=>{const r=jr();for(const r in e){var n;const a=e[r]?e[r]:"",i=e.fieldsToSkipValidation&&$i()(n=e.fieldsToSkipValidation).call(n,r);if(Oe[r]&&"string"==typeof Ho(r,a,t)&&!i)return!1}const a=oe((()=>e.metadata),null);if(null!==a)for(const e in a){const n=void 0!==a[e]?a[e]:"";if($i()(r).call(r,e)&&"string"==typeof Vr(e)(n,t))return!1}return!0},lo=(e,t,r,n,a)=>n?(he.info(`Using overridden validator for field '${e}'`),n(t,a)):r(t,a),uo=()=>{const e=Ti(),t=(()=>{const e={},t=jr();if(t)for(const r of t)e[r]=void 0;return e})();return no(no({},e),t)},co=e=>{if(void 0===e||!Ro(e))return"invalidFirstName"},fo=e=>{if(void 0===e||!Ro(e))return"invalidLastName"},mo=()=>{},po=e=>{if(!e)return"invalidCountry"},ho=e=>{if(void 0===e||!/(^\s*?[A-Za-z0-9!#$%&''*+\/=?^_`{|}~-]+(\.[A-Za-z0-9!#$%&''*+\/=?^_`{|}~-]+)*@([A-Za-z0-9!#$%&''*+\/=?^_`{|}~-]+(\.[A-Za-z0-9!#$%&''*+\/=?^_`{|}~-]+)+|\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])\s*?$)/.test(e))return"invalidEmail"},go=e=>t=>{const r="invalidPhoneNumber";if(e&&!t)return r;const n=i()(oo).call(oo,(e=>e.test(t)));return t&&0===n.length?r:void 0},vo=e=>{if(void 0===e.id||Wi()(e.id)||"EMPLOYER"!==e.source&&e.id<0||"EMPLOYER"===e.source&&(e.id>-1||!e.idExtended)||0===e.id&&e.name.length<=0)return"invalidOrganization"},yo=(e,t)=>{const r="invalidBirthDate";if(oe((()=>"collectMemberPersonalInfo"===t.currentStep))){if(void 0===e||""===e||e.split("undefined").join("").length<=2)return;if(!Lo(e)||!Fo(e))return r}else if(void 0===e||!Lo(e)||!Fo(e))return r;return Vo(e,oe((()=>t.minAge)),oe((()=>t.maxAge)))?"outsideAgePerson":Uo(e)?"futureBirthDate":Bo(e)?"underagePerson":void 0},bo=e=>{const t=rn;return void 0===e?"noValidFiles":(r=e.name)&&$i()(r).call(r,".")&&!$i()(t).call(t,e.type)?"unsupportedDocMimeType":e.size>10485760?"invalidFileSizeMax":e.size<=0?"invalidFileSizeEmpty":void 0;var r},Eo=(e,t)=>{var r;const n=t.viewModel;if(n.statuses&&$i()(r=n.statuses).call(r,"SNAP_BENEFITS")){if(!e.match(/^\d{16,19}$/))return"invalidEbtCardNumber";if(Z()(e).call(e,"610098")&&19!==e.length)return"invalidEbtCardNumber";const t=["600486","507712","507714"];if(!re()(t).call(t,(t=>Z()(e).call(e,t)))&&!Ji()(e))return"invalidEbtCardNumber"}},wo=(e,t)=>{const r=oe((()=>t.viewModel.countryChoice.value),"US");if(!zo(r,e))return"invalidPostalCode"},So=e=>{if(!e)return"invalidAddress"},Mo=e=>{if(!e)return"invalidCity"},Co=e=>{if(!jo(e))return"invalidState"},Io=e=>void 0!==e&&Lo(e)&&Fo(e),No=(e,t)=>new Date(e)<new Date(t.birthDate),Do=(e,t)=>Io(e)?Uo(e)?"futureDischargeDate":No(e,t.viewModel)?"dischargeDateBeforeBirthDate":void 0:"invalidDischargeDate",To=(e,t)=>{if(e||t.strictMilitaryValidationEnabled)return Io(e)?Uo(e)?"futureActiveDutyStartDate":No(e,t.viewModel)?"activeDutyStartDateBeforeBirthDate":void 0:"invalidActiveDutyStartDate"},Ao=e=>{if(9!==e.toString().length)return"invalidSocialSecurityNumber"},xo=e=>{if(void 0===e||!/^[A-Za-z0-9-\*]{1,100}$/.test(e))return"invalidDriverLicenseNumber"},_o=e=>{if(!e||!ko(e)||!Po(e))return"invalidStatuses"},Oo=e=>{if(!e||!(e=>$i()(Xi).call(Xi,e))(e)&&!(e=>$i()(Qi).call(Qi,e))(e)&&!(e=>$i()(eo).call(eo,e))(e))return"invalidStatus"},ko=e=>e.length>0,Po=e=>e.length>0,Ro=e=>/((?:[A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u065F\u066E-\u06D3\u06D5-\u06DC\u06E1-\u06E8\u06DF-\u06E4\u06ED-\u06EF\u06EA-\u06ED\u06FA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07CA-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D3-\u08E1\u08E3-\u0963\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09F0\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A70-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u103F\u1050-\u108F\u109A-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u180B-\u180D\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F\u1AA7\u1AB0-\u1ABE\u1B00-\u1B4B\u1B6B-\u1B73\u1B80-\u1BAF\u1BBA-\u1BF3\u1C00-\u1C37\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u24B6-\u24E9\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEF\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA672\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7B9\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8E0-\uA8F7\uA8FB\uA8FD-\uA8FF\uA90A-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF\uA9E0-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD27\uDF00-\uDF1C\uDF27\uDF30-\uDF50]|\uD804[\uDC00-\uDC46\uDC82-\uDCBA\uDC7F-\uDC82\uDCD0-\uDCE8\uDD00-\uDD34\uDD44-\uDD46\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDC9-\uDDCC\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3B-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC5E\uDC80-\uDCC5\uDCC7\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE80-\uDEB7\uDF00-\uDF1A\uDF1D-\uDF2B]|\uD806[\uDC00-\uDC3A\uDCA0-\uDCDF\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDEE0-\uDEF6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFF1]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD30-\uDD49\uDD50-\uDD69\uDD70-\uDD89]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF])+)/g.test(e),Fo=e=>{const t=e.split("-"),r=Yi()(t[0],ao),n=Yi()(t[1],ao),a=Yi()(t[2],ao),i=[31,28,31,30,31,30,31,31,30,31,30,31];return!(r<1900||r>3e3||n<=0||n>12)&&((r%400==0||r%100!=0&&r%4==0)&&(i[1]=29),!(a<=0||a>i[n-1]))},Lo=e=>!!/^\d{4}[\-\s\/]\d{1,2}[\-\s\/]\d{1,2}$/.test(e),Uo=e=>{const t=new Date;return new Date(e)>t},Bo=(e,t=16)=>{const r=e.split("-"),n=Yi()(r[0],ao),a=Yi()(r[1],ao),i=Yi()(r[2],ao),o=(new Date).getFullYear(),s=(new Date).getMonth()+1,l=(new Date).getDate();if(o-n===t){if(s-a<0)return!0;if(s-a==0&&l-i<0)return!0}else if(o-n<t)return!0;return!1},Vo=(e,t,r)=>{let n=!1,a=!1;return t&&(n=Bo(e,t)),r&&(a=((e,t=120)=>{const r=e.split("-"),n=Yi()(r[0],ao),a=Yi()(r[1],ao),i=Yi()(r[2],ao),o=(new Date).getFullYear(),s=(new Date).getMonth()+1,l=(new Date).getDate();if(o-n===t){if(s-a>0)return!0;if(s-a==0&&l-i>0)return!0}else if(o-n>t)return!0;return!1})(e,r)),n||a},zo=(e="US",t)=>{const r=e;return!!(e=>Ki.has(e))(r)&&((e,t)=>{if(!Ki.has(t))throw Error(`Invalid country code: ${t}`);return Ki.get(t).test(e)})(t,r)},jo=e=>{if(!e)return!1;const t=Y()(Fe);return Pr()(t).call(t,e.toUpperCase())>=0},Ho=(e,t,r)=>{let n;(e=>{const t=jr();if(Pr()(ke).call(ke,e)<0&&Pr()(t).call(t,e)<0)throw new Error(`Expected valid field ID but received ${e}.\n Valid FieldIds are [${ke.join(", ")}, ${t.join(", ")}]`)})(e);const a=to[i=e]?(he.log(`getOverridenValidator returning '${i}'`),to[i]):null;var i;switch(e){case Oe.firstName:return n=co,lo(e,t,n,a,r);case Oe.lastName:return n=fo,lo(e,t,n,a,r);case Oe.memberId:return n=mo,lo(e,t,n,a,r);case Oe.email:return n=ho,lo(e,t,n,a,r);case Oe.phoneNumber:return n=(e=>go(e&&e.smsLoopEnabled))(r),lo(e,t,n,a,r);case Oe.organization:return n=vo,lo(e,t,n,a,r);case Oe.birthDate:return n=yo,lo(e,t,n,a,r);case Oe.postalCode:return n=wo,lo(e,t,n,a,r);case Oe.address1:return n=So,lo(e,t,n,a,r);case Oe.city:return n=Mo,lo(e,t,n,a,r);case Oe.state:return n=Co,lo(e,t,n,a,r);case Oe.country:return n=po,lo(e,t,n,a,r);case Oe.dischargeDate:return n=Do,lo(e,t,n,a,r);case Oe.activeDutyStartDate:return n=To,lo(e,t,n,a,r);case Oe.socialSecurityNumber:return n=Ao,lo(e,t,n,a,r);case Oe.status:return n=Oo,lo(e,t,n,a,r);case Oe.statuses:return n=_o,lo(e,t,n,a,r);case Oe.driverLicenseNumber:return n=xo,lo(e,t,n,a,r);case Oe.docUpload:return n=bo,lo(e,t,n,a,r);case Oe.ebtCardNumber:return n=Eo,lo(e,t,n,a,r);case Oe.overrideCode:return n=bo,lo(e,t,n,a,r);default:if((e=>{const t=jr();return!!(t.length&&Pr()(t).call(t,e)>=0)})(e))return((e,t,r)=>{const n=Vr(e);return he.info(`Using custom validator for custom field '${e}'`),n?n(t,r):void 0})(e,t,r)}};var $o=o(1666),qo=o.n($o),Wo=o(1639),Go=o.n(Wo);function Yo(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ko(e){return!!e&&!!e[Us]}function Zo(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===Bs}(e)||Array.isArray(e)||!!e[Ls]||!!e.constructor[Ls]||ns(e)||as(e))}function Jo(e,t,r){void 0===r&&(r=!1),0===Xo(e)?(r?Object.keys:Vs)(e).forEach((function(n){r&&"symbol"==typeof n||t(n,e[n],e)})):e.forEach((function(r,n){return t(n,r,e)}))}function Xo(e){var t=e[Us];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:ns(e)?2:as(e)?3:0}function Qo(e,t){return 2===Xo(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function es(e,t){return 2===Xo(e)?e.get(t):e[t]}function ts(e,t,r){var n=Xo(e);2===n?e.set(t,r):3===n?(e.delete(t),e.add(r)):e[t]=r}function rs(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function ns(e){return ks&&e instanceof Map}function as(e){return Ps&&e instanceof Set}function is(e){return e.o||e.t}function os(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=zs(e);delete t[Us];for(var r=Vs(t),n=0;n<r.length;n++){var a=r[n],i=t[a];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function ss(e,t){return void 0===t&&(t=!1),us(e)||Ko(e)||!Zo(e)||(Xo(e)>1&&(e.set=e.add=e.clear=e.delete=ls),Object.freeze(e),t&&Jo(e,(function(e,t){return ss(t,!0)}),!0)),e}function ls(){Yo(2)}function us(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function cs(e){var t=js[e];return t||Yo(18,e),t}function ds(e,t){js[e]||(js[e]=t)}function fs(){return _s}function ms(e,t){t&&(cs("Patches"),e.u=[],e.s=[],e.v=t)}function ps(e){hs(e),e.p.forEach(vs),e.p=null}function hs(e){e===_s&&(_s=e.l)}function gs(e){return _s={p:[],l:_s,h:e,m:!0,_:0}}function vs(e){var t=e[Us];0===t.i||1===t.i?t.j():t.O=!0}function ys(e,t){t._=t.p.length;var r=t.p[0],n=void 0!==e&&e!==r;return t.h.g||cs("ES5").S(t,e,n),n?(r[Us].P&&(ps(t),Yo(4)),Zo(e)&&(e=bs(t,e),t.l||ws(t,e)),t.u&&cs("Patches").M(r[Us],e,t.u,t.s)):e=bs(t,r,[]),ps(t),t.u&&t.v(t.u,t.s),e!==Fs?e:void 0}function bs(e,t,r){if(us(t))return t;var n=t[Us];if(!n)return Jo(t,(function(a,i){return Es(e,n,t,a,i,r)}),!0),t;if(n.A!==e)return t;if(!n.P)return ws(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=4===n.i||5===n.i?n.o=os(n.k):n.o;Jo(3===n.i?new Set(a):a,(function(t,i){return Es(e,n,a,t,i,r)})),ws(e,a,!1),r&&e.u&&cs("Patches").R(n,r,e.u,e.s)}return n.o}function Es(e,t,r,n,a,i){if(Ko(a)){var o=bs(e,a,i&&t&&3!==t.i&&!Qo(t.D,n)?i.concat(n):void 0);if(ts(r,n,o),!Ko(o))return;e.m=!1}if(Zo(a)&&!us(a)){if(!e.h.F&&e._<1)return;bs(e,a),t&&t.A.l||ws(e,a)}}function ws(e,t,r){void 0===r&&(r=!1),e.h.F&&e.m&&ss(t,r)}function Ss(e,t){var r=e[Us];return(r?is(r):e)[t]}function Ms(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function Cs(e){e.P||(e.P=!0,e.l&&Cs(e.l))}function Is(e){e.o||(e.o=os(e.t))}function Ns(e,t,r){var n=ns(t)?cs("MapSet").N(t,r):as(t)?cs("MapSet").T(t,r):e.g?function(e,t){var r=Array.isArray(e),n={i:r?1:0,A:t?t.A:fs(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},a=n,i=Hs;r&&(a=[n],i=$s);var o=Proxy.revocable(a,i),s=o.revoke,l=o.proxy;return n.k=l,n.j=s,l}(t,r):cs("ES5").J(t,r);return(r?r.A:fs()).p.push(n),n}function Ds(e){return Ko(e)||Yo(22,e),function e(t){if(!Zo(t))return t;var r,n=t[Us],a=Xo(t);if(n){if(!n.P&&(n.i<4||!cs("ES5").K(n)))return n.t;n.I=!0,r=Ts(t,a),n.I=!1}else r=Ts(t,a);return Jo(r,(function(t,a){n&&es(n.t,t)===a||ts(r,t,e(a))})),3===a?new Set(r):r}(e)}function Ts(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return os(e)}function As(){function e(e,t){var r=a[e];return r?r.enumerable=t:a[e]=r={configurable:!0,enumerable:t,get:function(){var t=this[Us];return Hs.get(t,e)},set:function(t){var r=this[Us];Hs.set(r,e,t)}},r}function t(e){for(var t=e.length-1;t>=0;t--){var a=e[t][Us];if(!a.P)switch(a.i){case 5:n(a)&&Cs(a);break;case 4:r(a)&&Cs(a)}}}function r(e){for(var t=e.t,r=e.k,n=Vs(r),a=n.length-1;a>=0;a--){var i=n[a];if(i!==Us){var o=t[i];if(void 0===o&&!Qo(t,i))return!0;var s=r[i],l=s&&s[Us];if(l?l.t!==o:!rs(s,o))return!0}}var u=!!t[Us];return n.length!==Vs(t).length+(u?0:1)}function n(e){var t=e.k;if(t.length!==e.t.length)return!0;var r=Object.getOwnPropertyDescriptor(t,t.length-1);return!(!r||r.get)}var a={};ds("ES5",{J:function(t,r){var n=Array.isArray(t),a=function(t,r){if(t){for(var n=Array(r.length),a=0;a<r.length;a++)Object.defineProperty(n,""+a,e(a,!0));return n}var i=zs(r);delete i[Us];for(var o=Vs(i),s=0;s<o.length;s++){var l=o[s];i[l]=e(l,t||!!i[l].enumerable)}return Object.create(Object.getPrototypeOf(r),i)}(n,t),i={i:n?5:4,A:r?r.A:fs(),P:!1,I:!1,D:{},l:r,t,k:a,o:null,O:!1,C:!1};return Object.defineProperty(a,Us,{value:i,writable:!0}),a},S:function(e,r,a){a?Ko(r)&&r[Us].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var r=t[Us];if(r){var a=r.t,i=r.k,o=r.D,s=r.i;if(4===s)Jo(i,(function(t){t!==Us&&(void 0!==a[t]||Qo(a,t)?o[t]||e(i[t]):(o[t]=!0,Cs(r)))})),Jo(a,(function(e){void 0!==i[e]||Qo(i,e)||(o[e]=!1,Cs(r))}));else if(5===s){if(n(r)&&(Cs(r),o.length=!0),i.length<a.length)for(var l=i.length;l<a.length;l++)o[l]=!1;else for(var u=a.length;u<i.length;u++)o[u]=!0;for(var c=Math.min(i.length,a.length),d=0;d<c;d++)void 0===o[d]&&e(i[d])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?r(e):n(e)}})}var xs,_s,Os="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),ks="undefined"!=typeof Map,Ps="undefined"!=typeof Set,Rs="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Fs=Os?Symbol.for("immer-nothing"):((xs={})["immer-nothing"]=!0,xs),Ls=Os?Symbol.for("immer-draftable"):"__$immer_draftable",Us=Os?Symbol.for("immer-state"):"__$immer_state",Bs=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),Vs="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,zs=Object.getOwnPropertyDescriptors||function(e){var t={};return Vs(e).forEach((function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)})),t},js={},Hs={get:function(e,t){if(t===Us)return e;var r=is(e);if(!Qo(r,t))return function(e,t,r){var n,a=Ms(t,r);return a?"value"in a?a.value:null===(n=a.get)||void 0===n?void 0:n.call(e.k):void 0}(e,r,t);var n=r[t];return e.I||!Zo(n)?n:n===Ss(e.t,t)?(Is(e),e.o[t]=Ns(e.A.h,n,e)):n},has:function(e,t){return t in is(e)},ownKeys:function(e){return Reflect.ownKeys(is(e))},set:function(e,t,r){var n=Ms(is(e),t);if(null==n?void 0:n.set)return n.set.call(e.k,r),!0;if(!e.P){var a=Ss(is(e),t),i=null==a?void 0:a[Us];if(i&&i.t===r)return e.o[t]=r,e.D[t]=!1,!0;if(rs(r,a)&&(void 0!==r||Qo(e.t,t)))return!0;Is(e),Cs(e)}return e.o[t]===r&&"number"!=typeof r&&(void 0!==r||t in e.o)||(e.o[t]=r,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==Ss(e.t,t)||t in e.t?(e.D[t]=!1,Is(e),Cs(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=is(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty:function(){Yo(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Yo(12)}},$s={};Jo(Hs,(function(e,t){$s[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),$s.deleteProperty=function(e,t){return Hs.deleteProperty.call(this,e[0],t)},$s.set=function(e,t,r){return Hs.set.call(this,e[0],t,r,e[0])};var qs=function(){function e(e){var t=this;this.g=Rs,this.F=!0,this.produce=function(e,r,n){if("function"==typeof e&&"function"!=typeof r){var a=r;r=e;var i=t;return function(e){var t=this;void 0===e&&(e=a);for(var n=arguments.length,o=Array(n>1?n-1:0),s=1;s<n;s++)o[s-1]=arguments[s];return i.produce(e,(function(e){var n;return(n=r).call.apply(n,[t,e].concat(o))}))}}var o;if("function"!=typeof r&&Yo(6),void 0!==n&&"function"!=typeof n&&Yo(7),Zo(e)){var s=gs(t),l=Ns(t,e,void 0),u=!0;try{o=r(l),u=!1}finally{u?ps(s):hs(s)}return"undefined"!=typeof Promise&&o instanceof Promise?o.then((function(e){return ms(s,n),ys(e,s)}),(function(e){throw ps(s),e})):(ms(s,n),ys(o,s))}if(!e||"object"!=typeof e){if((o=r(e))===Fs)return;return void 0===o&&(o=e),t.F&&ss(o,!0),o}Yo(21,e)},this.produceWithPatches=function(e,r){return"function"==typeof e?function(r){for(var n=arguments.length,a=Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];return t.produceWithPatches(r,(function(t){return e.apply(void 0,[t].concat(a))}))}:[t.produce(e,r,(function(e,t){n=e,a=t})),n,a];var n,a},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){Zo(e)||Yo(8),Ko(e)&&(e=Ds(e));var t=gs(this),r=Ns(this,e,void 0);return r[Us].C=!0,hs(t),r},t.finishDraft=function(e,t){var r=(e&&e[Us]).A;return ms(r,t),ys(void 0,r)},t.setAutoFreeze=function(e){this.F=e},t.setUseProxies=function(e){e&&!Rs&&Yo(20),this.g=e},t.applyPatches=function(e,t){var r;for(r=t.length-1;r>=0;r--){var n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}var a=cs("Patches").$;return Ko(e)?a(e,t):this.produce(e,(function(e){return a(e,t.slice(r+1))}))},e}(),Ws=new qs,Gs=Ws.produce;Ws.produceWithPatches.bind(Ws),Ws.setAutoFreeze.bind(Ws),Ws.setUseProxies.bind(Ws),Ws.applyPatches.bind(Ws),Ws.createDraft.bind(Ws),Ws.finishDraft.bind(Ws);const Ys=Gs;var Ks=o(6812),Zs=o.n(Ks);let Js=[],Xs=null;const Qs=(e,t)=>{const r={fieldId:e,ref:t},n=Zs()(Js).call(Js,(t=>t.fieldId===e));-1!==n?Js[n]=r:Js.push(r)},el=()=>Js,tl=e=>{for(const t of Js)if(t.fieldId===e)return t.ref;return he.error(`A ref for fieldId ${e} could not be found. Has one been registered using setRef()?`,"ref error"),null},rl=()=>{Js=[],he.info("Refs have been reset")},nl=()=>{null!==Xs&&(Xs.close(),Xs=null)},al=(e,t)=>{const r=t.viewModel,n=Gs(r,(t=>{t.organization=e?{id:e.id,idExtended:e.idExtended,name:e.name}:ri.organization,r.organization&&void 0!==r.organization.source&&(t.organization.source=r.organization.source)}));t.updateViewModel(n)},il=(e,t)=>{t.updateFieldValidationErrors(e)},ol=(e,t,r)=>{const{fieldValidationErrors:n}=r,a=Gs(n,(n=>{n[e]&&(n[e]=Ho(e,t,r.formValidationOptions))}));il(a,r)},sl=(e,t)=>oe((()=>1===t.length))&&"US"===oe((()=>t[0]))||oe((()=>"US"===e.value))||oe((()=>void 0===e.value)),ll=(e,t,r)=>t?e.formatHTMLMessage({id:t,defaultMessage:r[t]}):"",ul=new(qo())([["GB",["ACTIVE_DUTY","VETERAN","RESERVIST"]]]),cl=(e,t)=>{const r=e.verificationResponse.availableStatuses||e.previousVerificationResponse&&e.previousVerificationResponse.availableStatuses,n=[],a=e.viewModel&&e.viewModel.countryChoice&&e.viewModel.countryChoice.value,o=a&&ul.get(a),s=o?i()(r).call(r,(e=>$i()(o).call(o,e))):r;return s?(d()(s).call(s,(e=>{n.push({value:e,label:ll(t,e,Te)})})),n):null},dl=e=>"birthDate"===e||"birthDateDay"===e?"birthDateYear":e,fl=e=>{const t=tl("submitButton");"Enter"===e.key&&t&&t.click()},ml=(e,t,r)=>{const n=((e,t)=>{const r=uo(),n=oe((()=>e.metadata),null);for(const a in r)if(e.hasOwnProperty(a)){const n=oe((()=>e.fieldsToSkipValidation));if(X()(n)&&Pr()(n).call(n,a)>-1)continue;const i=e[a]?e[a]:"";r[a]=Ho(a,i,t)}else if(null!==n&&"object"==typeof n&&n.hasOwnProperty(a)){const e=n[a]?n[a]:"";r[a]=Ho(a,e,t)}const{customFormFields:a}=Mn();return a&&d()(a).call(a,(t=>{let n;try{n=t.validate(e.metadata[t.fieldId])}catch(e){he.warn(`Error validating custom field ${t.fieldId}`,e)}n?r[t.fieldId]=n:delete r[t.fieldId]})),r})(e,t.formValidationOptions),a=!(e=>{for(const t in e)if(e[t])return he.info(`Field '${t}' has errorId '${e[t]}'`),!0;return!1})(n);if(a)he.info(`${r} submitting form`),t.submitStep(r,e,t.verificationResponse);else{const e=(()=>{const e=el(),t=[];return Cr()(e).call(e,(e=>t.push(e.fieldId))),t})(),r=((e,t)=>{var r;let n;return d()(r=Go()(e).call(e)).call(r,(e=>{if(t[e])return n=e,dl(n)})),dl(n)})(e,n);il(n,t),(e=>{const t=tl(e);if(t)try{t.focus()}catch(e){he.error(`The ref '${t}' could not be focused. Is the ref an HTMLInputElement or HTMLButtonElement?`,"ref error")}else he.error(`A ref for fieldId '${e}' could not be found. Has the ref been registered using setRef()?`,"ref error")})(r)}},pl=(e,t,r)=>({estReviewTime:r.formatHTMLMessage({id:`dateTime.${oe((()=>e.estimatedReviewTime))||Wa(t)}`,default:"a few minutes"}),maxReviewTime:r.formatHTMLMessage({id:`dateTime.${oe((()=>e.maxReviewTime))||Ga(t)}`,default:"2 hours"})}),hl=(e,t)=>{const r=qa(e);return Cr()(r).call(r,(e=>({value:e,label:t.formatHTMLMessage({id:`countries.${e}`,defaultMessage:e})})))},gl=(e,r)=>{const n=(e=>{try{if(e&&e.config&&e.config.states&&e.config.states.length>0)return e.config.states}catch(e){he.warn("Unable to get configured states")}return t()(Fe)})(e);return Cr()(n).call(n,(e=>({value:e,label:r.formatHTMLMessage({id:`states.${e}`,defaultMessage:e})})))},vl=(e,t)=>{const r=Ha(e);return Cr()(r).call(r,(e=>({value:e,label:t.formatHTMLMessage({id:`locales.${e}`,defaultMessage:e})})))},yl=e=>e.length>0?e[0]:{value:"US",label:"United States"},bl=(e,t,r)=>Gs(e,(e=>{e[t]=r})),El=e=>e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)),wl=["id","isErrored","className","hidePlaceholder","refId","required","type","ariaDescribedBy","ariaLabel"],Sl=e=>{let{id:t,isErrored:r,className:n,hidePlaceholder:a=!0,refId:i,required:o=!1,type:s="text",ariaDescribedBy:l,ariaLabel:u}=e,c=Bi(e,wl),d="";n&&(d+=`${n} `),d+="sid-text-input sid-l-full-width",a&&(d+=" sid-hidden-placeholder"),o&&(d+=" sid-text-input--required"),r&&(d+=" sid-text-input--error");const f=i||t,m=(0,q.useRef)(null);return(0,q.useEffect)((()=>{Qs(f,m.current)})),q.createElement("input",Ri({className:d,id:`sid-${t}`,name:`sid-${t}`,type:s,"aria-describedby":l,"aria-label":u,"aria-required":o,"aria-invalid":r,ref:m},c))},Ml=({text:e,htmlForLabel:t,id:r,displayClasses:n,isRequired:a,children:i})=>{return q.createElement("label",{htmlFor:t},q.createElement("div",{id:r,className:`sid-field__label sid-l-space-btm-sm ${n}`},q.createElement("span",{className:"sid-field__label-name","aria-hidden":"true"},e,a&&(o=e,!(!q.isValidElement(o)&&""===o))&&q.createElement("span",{"aria-hidden":"true",className:"sid-field__label--required"},"*")),i&&q.createElement("div",{className:"sid-field__label-explanation"},i)));var o};Ml.defaultProps={id:"",displayClasses:"",isRequired:!0,children:null};const Cl=({fieldId:e,label:t,errorMessage:r,isRequired:n,showPlaceholderAndHideLabel:a=!1,children:i,explanation:o=""})=>{const s=`sid-${El(`${e}Label`)}`;return q.createElement("div",{className:`sid-field sid-${El(e)}`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:t,isRequired:n,htmlForLabel:`sid-${El(e)}`,id:s,displayClasses:`${o?"sid-field__label-with-explanation":""}${a?"sid-h-screen-reader-only":""}`},o&&o),i,r&&q.createElement("div",{className:"sid-field-error"},r))},Il=["fieldId","value","onChange","placeholder","label","errorMessage","showPlaceholderAndHideLabel","required","explanation"],Nl=e=>{let{fieldId:t,value:r,onChange:n,placeholder:a,label:i,errorMessage:o,showPlaceholderAndHideLabel:s=!1,required:l=!0,explanation:u=""}=e,c=Bi(e,Il);const d=`sid-${El(`${t}Label`)}`;return q.createElement(Cl,{fieldId:t,label:i,errorMessage:o,showPlaceholderAndHideLabel:s,isRequired:l,explanation:u},q.createElement(Sl,Ri({id:El(t),value:r,onChange:e=>n(e.target.value),placeholder:a,hidePlaceholder:!s,"aria-labelledby":d,refId:t,isErrored:!!o,required:l},c)))},Dl=Ft((({value:e,isErrored:t,onChange:r,intl:n,placeholder:a=""})=>q.createElement(Nl,{fieldId:"firstName",value:e,onChange:r,placeholder:a||n.formatHTMLMessage({id:"firstNamePlaceholder",defaultMessage:"First Name"}),label:q.createElement(or,{id:"firstName",defaultMessage:"First name"}),errorMessage:t&&q.createElement(or,{id:"errorId.invalidFirstName",defaultMessage:"Invalid first name"}),showPlaceholderAndHideLabel:!!a}))),Tl=Ft((({value:e,isErrored:t,onChange:r,intl:n,placeholder:a=""})=>q.createElement(Nl,{fieldId:"lastName",value:e,onChange:r,placeholder:a||n.formatHTMLMessage({id:"lastNamePlaceholder",defaultMessage:"Last Name"}),label:q.createElement(or,{id:"lastName",defaultMessage:"Last name"}),errorMessage:t&&q.createElement(or,{id:"errorId.invalidLastName",defaultMessage:"Invalid last name"}),showPlaceholderAndHideLabel:!!a}))),Al=Ft((({value:e,isErrored:t,onChange:r,explanation:n,intl:a,onKeyDown:i,placeholder:o=""})=>q.createElement("div",{className:"sid-field sid-email"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"emailAddress",defaultMessage:"Email address"}),htmlForLabel:"sid-email",id:"sid-email-label",displayClasses:`sid-field__label-with-explanation${o&&" sid-h-screen-reader-only"}`},n||q.createElement(or,{id:"emailExplanation",defaultMessage:"Needed to send you your unique code"})),q.createElement(Sl,{id:"email",isErrored:t,onChange:e=>r(e.target.value),onKeyDown:"function"==typeof i?e=>i(e):void 0,placeholder:o||a.formatHTMLMessage({id:"emailAddressPlaceholder",defaultMessage:"Email"}),type:"email",value:e,required:!0,"aria-labelledby":"sid-email-label"}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidEmail",defaultMessage:"Invalid email"})):null))),xl={university:"UNIVERSITY",k12:"K12",postSecondary:"POST_SECONDARY",highSchool:"HIGH_SCHOOL"};function _l(e){return e.type===xl[this]}const Ol=Ft((({eligibleOrgs:e,ineligibleOrgs:t,intl:r})=>{const n=i()(e).call(e,_l,"university"),a=i()(e).call(e,_l,"k12"),o=i()(e).call(e,_l,"postSecondary"),s=i()(e).call(e,_l,"highSchool"),l=i()(t).call(t,_l,"university"),u=i()(t).call(t,_l,"k12"),c=i()(t).call(t,_l,"postSecondary"),d=i()(t).call(t,_l,"highSchool");return q.createElement("div",{className:"sid-l-space-top-md"},e.length+t.length>=pn.MAX_RESULT_SIZE?q.createElement("div",{className:"sid-header__subtitle--error"},q.createElement(or,{id:"errorId.tooManyResults",defaultMessage:"Your search returned too many results, please refine your search and try again"})):null,(0===e.length||0===t.length)&&q.createElement("div",null,q.createElement(or,{id:"none",defaultMessage:"None"})),n.length>0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(or,{id:"orgType.university",defaultMessage:"Universities ({e})",values:{e:r.formatHTMLMessage({id:"orgType.eligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Cr()(n).call(n,(e=>q.createElement(ma,{key:e.id,organization:e,isEligible:!0}))))),a.length>0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(or,{id:"orgType.k12",defaultMessage:"K12 ({e})",values:{e:r.formatHTMLMessage({id:"orgType.eligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Cr()(a).call(a,(e=>q.createElement(ma,{key:e.id,organization:e,isEligible:!0}))))),o.length>0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(or,{id:"orgType.postSecondary",defaultMessage:"Post Secondary Institutions ({e})",values:{e:r.formatHTMLMessage({id:"orgType.eligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Cr()(o).call(o,(e=>q.createElement(ma,{key:e.id,organization:e,isEligible:!0}))))),s.length>0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(or,{id:"orgType.highSchool",defaultMessage:"High Schools / Secondary Schools ({e})",values:{e:r.formatHTMLMessage({id:"orgType.eligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Cr()(s).call(s,(e=>q.createElement(ma,{key:e.id,organization:e,isEligible:!0}))))),l.length>0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(or,{id:"orgType.university",defaultMessage:"Universities ({e})",values:{e:r.formatHTMLMessage({id:"orgType.ineligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Cr()(l).call(l,(e=>q.createElement(ma,{key:e.id,organization:e,isEligible:!1}))))),u.length>0&&s.length<=0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(or,{id:"orgType.k12",defaultMessage:"K12 ({e})",values:{e:r.formatHTMLMessage({id:"orgType.ineligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Cr()(u).call(u,(e=>q.createElement(ma,{key:e.id,organization:e,isEligible:!1}))))),c.length>0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(or,{id:"orgType.postSecondary",defaultMessage:"Post Secondary Institutions ({e})",values:{e:r.formatHTMLMessage({id:"orgType.ineligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Cr()(c).call(c,(e=>q.createElement(ma,{key:e.id,organization:e,isEligible:!1}))))),d.length>0&&a.length<=0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(or,{id:"orgType.highSchool",defaultMessage:"High Schools / Secondary Schools ({e})",values:{e:r.formatHTMLMessage({id:"orgType.ineligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Cr()(d).call(d,(e=>q.createElement(ma,{key:e.id,organization:e,isEligible:!1}))))))})),kl=({name:e,label:t,value:r,placeholder:n,isErrored:a,onChange:i,onKeyDown:o,search:s})=>q.createElement("div",{className:"sid-request-organization-search-field-container sid-field"},q.createElement("label",{htmlFor:`sid-${e}`},q.createElement("div",{className:"sid-field__label sid-request-organization-search-label sid-l-space-btm-sm"},t)),q.createElement("div",{className:"sid-field-search sid-request-organization-search-field"},q.createElement("input",{className:"sid-text-input sid-request-organization-search-input sid-text-input--required sid-field-search-input\n sid-l-full-width "+(a?"sid-text-input--error":""),id:`sid-${e}`,name:`sid-${e}`,type:"text",value:r,onChange:e=>i(e.target.value),onKeyDown:e=>(e=>{"Enter"===e.key?s():o&&o()})(e),placeholder:n}),q.createElement("div",{tabIndex:0,onClick:()=>s(),onKeyUp:()=>s(),role:"button"},q.createElement("img",{className:"sid-l-search-icon sid-request-organization-search-icon",src:"https://assets-resources.sheerid.com/common/images/requestOrganization/search.svg",alt:"Search"}))),a?q.createElement("div",{className:"sid-field-error sid-request-organization-field-error"},q.createElement("span",null,q.createElement(or,{id:`errorId.${a}`,defaultMessage:"An unexpected error occurred"}))):null);var Pl=o(9423),Rl=o.n(Pl);o(3187);function Fl(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function Ll(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function Ul(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var r=getComputedStyle(e,null);return Ll(r.overflowY,t)||Ll(r.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function Bl(e,t,r,n,a,i,o,s){return i<e&&o>t||i>e&&o<t?0:i<=e&&s<=r||o>=t&&s>=r?i-e-n:o>t&&s<r||i<e&&s>r?o-t+a:0}var Vl=function(){return Vl=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Vl.apply(this,arguments)};function zl(e,t,r,n){return new(r||(r=Promise))((function(a,i){function o(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}l((n=n.apply(e,t||[])).next())}))}function jl(e,t){var r,n,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(o=0)),o;)try{if(r=1,n&&(a=2&s[0]?n.return:s[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;switch(n=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,n=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){o.label=s[1];break}if(6===s[0]&&o.label<a[1]){o.label=a[1],a=s;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(s);break}a[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],n=0}finally{r=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}Object.create;function Hl(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,i=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)o.push(n.value)}catch(e){a={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o}Object.create;let $l=0;function ql(e){return"function"==typeof e?e:Wl}function Wl(){}function Gl(e,t){if(!e)return;const r=function(e,t){var r=window,n=t.scrollMode,a=t.block,i=t.inline,o=t.boundary,s=t.skipOverflowHiddenElements,l="function"==typeof o?o:function(e){return e!==o};if(!Fl(e))throw new TypeError("Invalid target");for(var u=document.scrollingElement||document.documentElement,c=[],d=e;Fl(d)&&l(d);){if((d=d.parentElement)===u){c.push(d);break}null!=d&&d===document.body&&Ul(d)&&!Ul(document.documentElement)||null!=d&&Ul(d,s)&&c.push(d)}for(var f=r.visualViewport?r.visualViewport.width:innerWidth,m=r.visualViewport?r.visualViewport.height:innerHeight,p=window.scrollX||pageXOffset,h=window.scrollY||pageYOffset,g=e.getBoundingClientRect(),v=g.height,y=g.width,b=g.top,E=g.right,w=g.bottom,S=g.left,M="start"===a||"nearest"===a?b:"end"===a?w:b+v/2,C="center"===i?S+y/2:"end"===i?E:S,I=[],N=0;N<c.length;N++){var D=c[N],T=D.getBoundingClientRect(),A=T.height,x=T.width,_=T.top,O=T.right,k=T.bottom,P=T.left;if("if-needed"===n&&b>=0&&S>=0&&w<=m&&E<=f&&b>=_&&w<=k&&S>=P&&E<=O)return I;var R=getComputedStyle(D),F=parseInt(R.borderLeftWidth,10),L=parseInt(R.borderTopWidth,10),U=parseInt(R.borderRightWidth,10),B=parseInt(R.borderBottomWidth,10),V=0,z=0,j="offsetWidth"in D?D.offsetWidth-D.clientWidth-F-U:0,H="offsetHeight"in D?D.offsetHeight-D.clientHeight-L-B:0;if(u===D)V="start"===a?M:"end"===a?M-m:"nearest"===a?Bl(h,h+m,m,L,B,h+M,h+M+v,v):M-m/2,z="start"===i?C:"center"===i?C-f/2:"end"===i?C-f:Bl(p,p+f,f,F,U,p+C,p+C+y,y),V=Math.max(0,V+h),z=Math.max(0,z+p);else{V="start"===a?M-_-L:"end"===a?M-k+B+H:"nearest"===a?Bl(_,k,A,L,B+H,M,M+v,v):M-(_+A/2)+H/2,z="start"===i?C-P-F:"center"===i?C-(P+x/2)+j/2:"end"===i?C-O+U+j:Bl(P,O,x,F,U+j,C,C+y,y);var $=D.scrollLeft,q=D.scrollTop;M+=q-(V=Math.max(0,Math.min(q+V,D.scrollHeight-A+H))),C+=$-(z=Math.max(0,Math.min($+z,D.scrollWidth-x+j)))}I.push({el:D,top:V,left:z})}return I}(e,{boundary:t,block:"nearest",scrollMode:"if-needed"});r.forEach((e=>{let{el:t,top:r,left:n}=e;t.scrollTop=r,t.scrollLeft=n}))}function Yl(e,t,r){return e===t||t instanceof r.Node&&e.contains&&e.contains(t)}function Kl(e,t){let r;function n(){r&&clearTimeout(r)}function a(){for(var a=arguments.length,i=new Array(a),o=0;o<a;o++)i[o]=arguments[o];n(),r=setTimeout((()=>{r=null,e(...i)}),t)}return a.cancel=n,a}function Zl(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return t.some((t=>(t&&t(e,...n),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault)))}}function Jl(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return e=>{t.forEach((t=>{"function"==typeof t?t(e):t&&(t.current=e)}))}}function Xl(){return String($l++)}function Ql(e){let{isOpen:t,resultCount:r,previousResultCount:n}=e;return t?r?r!==n?`${r} result${1===r?" is":"s are"} available, use up and down arrow keys to navigate. Press Enter key to select.`:"":"No results are available.":""}function eu(e,t){return!(e=Array.isArray(e)?e[0]:e)&&t?t:e}function tu(e){return"string"==typeof e.type}function ru(e){return e.props}const nu=["highlightedIndex","inputValue","isOpen","selectedItem","type"];function au(e){void 0===e&&(e={});const t={};return nu.forEach((r=>{e.hasOwnProperty(r)&&(t[r]=e[r])})),t}function iu(e,t){return Object.keys(e).reduce(((r,n)=>(r[n]=ou(t,n)?t[n]:e[n],r)),{})}function ou(e,t){return void 0!==e[t]}function su(e){const{key:t,keyCode:r}=e;return r>=37&&r<=40&&0!==t.indexOf("Arrow")?`Arrow${t}`:t}function lu(e,t,r,n,a){if(void 0===a&&(a=!0),0===r)return-1;const i=r-1;("number"!=typeof t||t<0||t>=r)&&(t=e>0?-1:i+1);let o=t+e;o<0?o=a?i:0:o>i&&(o=a?0:i);const s=uu(e,o,r,n,a);return-1===s?t>=r?-1:t:s}function uu(e,t,r,n,a){const i=n(t);if(!i||!i.hasAttribute("disabled"))return t;if(e>0){for(let e=t+1;e<r;e++)if(!n(e).hasAttribute("disabled"))return e}else for(let e=t-1;e>=0;e--)if(!n(e).hasAttribute("disabled"))return e;return a?e>0?uu(1,0,r,n,!1):uu(-1,r-1,r,n,!1):-1}function cu(e,t,r,n){return void 0===n&&(n=!0),t.some((t=>t&&(Yl(t,e,r)||n&&Yl(t,r.document.activeElement,r))))}const du=Kl((e=>{mu(e).textContent=""}),500);function fu(e,t){const r=mu(t);e&&(r.textContent=e,du(t))}function mu(e){void 0===e&&(e=document);let t=e.getElementById("a11y-status-message");return t||(t=e.createElement("div"),t.setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}var pu=Object.freeze({__proto__:null,unknown:0,mouseUp:1,itemMouseEnter:2,keyDownArrowUp:3,keyDownArrowDown:4,keyDownEscape:5,keyDownEnter:6,keyDownHome:7,keyDownEnd:8,clickItem:9,blurInput:10,changeInput:11,keyDownSpaceButton:12,clickButton:13,blurButton:14,controlledPropUpdatedSelectedItem:15,touchEnd:16});const hu=(()=>{class e extends q.Component{constructor(e){var t;super(e),t=this,this.id=this.props.id||`downshift-${Xl()}`,this.menuId=this.props.menuId||`${this.id}-menu`,this.labelId=this.props.labelId||`${this.id}-label`,this.inputId=this.props.inputId||`${this.id}-input`,this.getItemId=this.props.getItemId||(e=>`${this.id}-item-${e}`),this.input=null,this.items=[],this.itemCount=null,this.previousResultCount=0,this.timeoutIds=[],this.internalSetTimeout=(e,t)=>{const r=setTimeout((()=>{this.timeoutIds=this.timeoutIds.filter((e=>e!==r)),e()}),t);this.timeoutIds.push(r)},this.setItemCount=e=>{this.itemCount=e},this.unsetItemCount=()=>{this.itemCount=null},this.setHighlightedIndex=function(e,r){void 0===e&&(e=t.props.defaultHighlightedIndex),void 0===r&&(r={}),r=au(r),t.internalSetState({highlightedIndex:e,...r})},this.clearSelection=e=>{this.internalSetState({selectedItem:null,inputValue:"",highlightedIndex:this.props.defaultHighlightedIndex,isOpen:this.props.defaultIsOpen},e)},this.selectItem=(e,t,r)=>{t=au(t),this.internalSetState({isOpen:this.props.defaultIsOpen,highlightedIndex:this.props.defaultHighlightedIndex,selectedItem:e,inputValue:this.props.itemToString(e),...t},r)},this.selectItemAtIndex=(e,t,r)=>{const n=this.items[e];null!=n&&this.selectItem(n,t,r)},this.selectHighlightedItem=(e,t)=>this.selectItemAtIndex(this.getState().highlightedIndex,e,t),this.internalSetState=(e,t)=>{let r,n;const a={},i="function"==typeof e;return!i&&e.hasOwnProperty("inputValue")&&this.props.onInputValueChange(e.inputValue,{...this.getStateAndHelpers(),...e}),this.setState((t=>{t=this.getState(t);let o=i?e(t):e;o=this.props.stateReducer(t,o),r=o.hasOwnProperty("selectedItem");const s={};return r&&o.selectedItem!==t.selectedItem&&(n=o.selectedItem),o.type=o.type||0,Object.keys(o).forEach((e=>{t[e]!==o[e]&&(a[e]=o[e]),"type"!==e&&(o[e],ou(this.props,e)||(s[e]=o[e]))})),i&&o.hasOwnProperty("inputValue")&&this.props.onInputValueChange(o.inputValue,{...this.getStateAndHelpers(),...o}),s}),(()=>{ql(t)();Object.keys(a).length>1&&this.props.onStateChange(a,this.getStateAndHelpers()),r&&this.props.onSelect(e.selectedItem,this.getStateAndHelpers()),void 0!==n&&this.props.onChange(n,this.getStateAndHelpers()),this.props.onUserAction(a,this.getStateAndHelpers())}))},this.rootRef=e=>this._rootNode=e,this.getRootProps=function(e,r){let{refKey:n="ref",ref:a,...i}=void 0===e?{}:e,{suppressRefError:o=!1}=void 0===r?{}:r;t.getRootProps.called=!0,t.getRootProps.refKey=n,t.getRootProps.suppressRefError=o;const{isOpen:s}=t.getState();return{[n]:Jl(a,t.rootRef),role:"combobox","aria-expanded":s,"aria-haspopup":"listbox","aria-owns":s?t.menuId:null,"aria-labelledby":t.labelId,...i}},this.keyDownHandlers={ArrowDown(e){if(e.preventDefault(),this.getState().isOpen){const t=e.shiftKey?5:1;this.moveHighlightedIndex(t,{type:4})}else this.internalSetState({isOpen:!0,type:4},(()=>{const e=this.getItemCount();if(e>0){const{highlightedIndex:t}=this.getState(),r=lu(1,t,e,(e=>this.getItemNodeFromIndex(e)));this.setHighlightedIndex(r,{type:4})}}))},ArrowUp(e){if(e.preventDefault(),this.getState().isOpen){const t=e.shiftKey?-5:-1;this.moveHighlightedIndex(t,{type:3})}else this.internalSetState({isOpen:!0,type:3},(()=>{const e=this.getItemCount();if(e>0){const{highlightedIndex:t}=this.getState(),r=lu(-1,t,e,(e=>this.getItemNodeFromIndex(e)));this.setHighlightedIndex(r,{type:3})}}))},Enter(e){if(229===e.which)return;const{isOpen:t,highlightedIndex:r}=this.getState();if(t&&null!=r){e.preventDefault();const t=this.items[r],n=this.getItemNodeFromIndex(r);if(null==t||n&&n.hasAttribute("disabled"))return;this.selectHighlightedItem({type:6})}},Escape(e){e.preventDefault(),this.reset({type:5,...!this.state.isOpen&&{selectedItem:null,inputValue:""}})}},this.buttonKeyDownHandlers={...this.keyDownHandlers," "(e){e.preventDefault(),this.toggleMenu({type:12})}},this.inputKeyDownHandlers={...this.keyDownHandlers,Home(e){const{isOpen:t}=this.getState();if(!t)return;e.preventDefault();const r=this.getItemCount();if(r<=0||!t)return;const n=uu(1,0,r,(e=>this.getItemNodeFromIndex(e)),!1);this.setHighlightedIndex(n,{type:7})},End(e){const{isOpen:t}=this.getState();if(!t)return;e.preventDefault();const r=this.getItemCount();if(r<=0||!t)return;const n=uu(-1,r-1,r,(e=>this.getItemNodeFromIndex(e)),!1);this.setHighlightedIndex(n,{type:8})}},this.getToggleButtonProps=function(e){let{onClick:r,onPress:n,onKeyDown:a,onKeyUp:i,onBlur:o,...s}=void 0===e?{}:e;const{isOpen:l}=t.getState(),u={onClick:Zl(r,t.buttonHandleClick),onKeyDown:Zl(a,t.buttonHandleKeyDown),onKeyUp:Zl(i,t.buttonHandleKeyUp),onBlur:Zl(o,t.buttonHandleBlur)};return{type:"button",role:"button","aria-label":l?"close menu":"open menu","aria-haspopup":!0,"data-toggle":!0,...s.disabled?{}:u,...s}},this.buttonHandleKeyUp=e=>{e.preventDefault()},this.buttonHandleKeyDown=e=>{const t=su(e);this.buttonKeyDownHandlers[t]&&this.buttonKeyDownHandlers[t].call(this,e)},this.buttonHandleClick=e=>{e.preventDefault(),this.props.environment.document.activeElement===this.props.environment.document.body&&e.target.focus(),this.internalSetTimeout((()=>this.toggleMenu({type:13})))},this.buttonHandleBlur=e=>{const t=e.target;this.internalSetTimeout((()=>{this.isMouseDown||null!=this.props.environment.document.activeElement&&this.props.environment.document.activeElement.id===this.inputId||this.props.environment.document.activeElement===t||this.reset({type:14})}))},this.getLabelProps=e=>({htmlFor:this.inputId,id:this.labelId,...e}),this.getInputProps=function(e){let r,{onKeyDown:n,onBlur:a,onChange:i,onInput:o,onChangeText:s,...l}=void 0===e?{}:e,u={};r="onChange";const{inputValue:c,isOpen:d,highlightedIndex:f}=t.getState();return l.disabled||(u={onChange:Zl(i,o,t.inputHandleChange),onKeyDown:Zl(n,t.inputHandleKeyDown),onBlur:Zl(a,t.inputHandleBlur)}),{"aria-autocomplete":"list","aria-activedescendant":d&&"number"==typeof f&&f>=0?t.getItemId(f):null,"aria-controls":d?t.menuId:null,"aria-labelledby":t.labelId,autoComplete:"off",value:c,id:t.inputId,...u,...l}},this.inputHandleKeyDown=e=>{const t=su(e);t&&this.inputKeyDownHandlers[t]&&this.inputKeyDownHandlers[t].call(this,e)},this.inputHandleChange=e=>{this.internalSetState({type:11,isOpen:!0,inputValue:e.target.value,highlightedIndex:this.props.defaultHighlightedIndex})},this.inputHandleBlur=()=>{this.internalSetTimeout((()=>{const e=this.props.environment.document&&!!this.props.environment.document.activeElement&&!!this.props.environment.document.activeElement.dataset&&this.props.environment.document.activeElement.dataset.toggle&&this._rootNode&&this._rootNode.contains(this.props.environment.document.activeElement);this.isMouseDown||e||this.reset({type:10})}))},this.menuRef=e=>{this._menuNode=e},this.getMenuProps=function(e,r){let{refKey:n="ref",ref:a,...i}=void 0===e?{}:e,{suppressRefError:o=!1}=void 0===r?{}:r;return t.getMenuProps.called=!0,t.getMenuProps.refKey=n,t.getMenuProps.suppressRefError=o,{[n]:Jl(a,t.menuRef),role:"listbox","aria-labelledby":i&&i["aria-label"]?null:t.labelId,id:t.menuId,...i}},this.getItemProps=function(e){let{onMouseMove:r,onMouseDown:n,onClick:a,onPress:i,index:o,item:s,...l}=void 0===e?{}:e;void 0===o?(t.items.push(s),o=t.items.indexOf(s)):t.items[o]=s;const u=a,c={onMouseMove:Zl(r,(()=>{o!==t.getState().highlightedIndex&&(t.setHighlightedIndex(o,{type:2}),t.avoidScrolling=!0,t.internalSetTimeout((()=>t.avoidScrolling=!1),250))})),onMouseDown:Zl(n,(e=>{e.preventDefault()})),onClick:Zl(u,(()=>{t.selectItemAtIndex(o,{type:9})}))},d=l.disabled?{onMouseDown:c.onMouseDown}:c;return{id:t.getItemId(o),role:"option","aria-selected":t.getState().highlightedIndex===o,...d,...l}},this.clearItems=()=>{this.items=[]},this.reset=function(e,r){void 0===e&&(e={}),e=au(e),t.internalSetState((r=>{let{selectedItem:n}=r;return{isOpen:t.props.defaultIsOpen,highlightedIndex:t.props.defaultHighlightedIndex,inputValue:t.props.itemToString(n),...e}}),r)},this.toggleMenu=function(e,r){void 0===e&&(e={}),e=au(e),t.internalSetState((r=>{let{isOpen:n}=r;return{isOpen:!n,...n&&{highlightedIndex:t.props.defaultHighlightedIndex},...e}}),(()=>{const{isOpen:n,highlightedIndex:a}=t.getState();n&&t.getItemCount()>0&&"number"==typeof a&&t.setHighlightedIndex(a,e),ql(r)()}))},this.openMenu=e=>{this.internalSetState({isOpen:!0},e)},this.closeMenu=e=>{this.internalSetState({isOpen:!1},e)},this.updateStatus=Kl((()=>{const e=this.getState(),t=this.items[e.highlightedIndex],r=this.getItemCount(),n=this.props.getA11yStatusMessage({itemToString:this.props.itemToString,previousResultCount:this.previousResultCount,resultCount:r,highlightedItem:t,...e});this.previousResultCount=r,fu(n,this.props.environment.document)}),200);const{defaultHighlightedIndex:r,initialHighlightedIndex:n=r,defaultIsOpen:a,initialIsOpen:i=a,initialInputValue:o="",initialSelectedItem:s=null}=this.props,l=this.getState({highlightedIndex:n,isOpen:i,inputValue:o,selectedItem:s});null!=l.selectedItem&&void 0===this.props.initialInputValue&&(l.inputValue=this.props.itemToString(l.selectedItem)),this.state=l}internalClearTimeouts(){this.timeoutIds.forEach((e=>{clearTimeout(e)})),this.timeoutIds=[]}getState(e){return void 0===e&&(e=this.state),iu(e,this.props)}getItemCount(){let e=this.items.length;return null!=this.itemCount?e=this.itemCount:void 0!==this.props.itemCount&&(e=this.props.itemCount),e}getItemNodeFromIndex(e){return this.props.environment.document.getElementById(this.getItemId(e))}scrollHighlightedItemIntoView(){{const e=this.getItemNodeFromIndex(this.getState().highlightedIndex);this.props.scrollIntoView(e,this._menuNode)}}moveHighlightedIndex(e,t){const r=this.getItemCount(),{highlightedIndex:n}=this.getState();if(r>0){const a=lu(e,n,r,(e=>this.getItemNodeFromIndex(e)));this.setHighlightedIndex(a,t)}}getStateAndHelpers(){const{highlightedIndex:e,inputValue:t,selectedItem:r,isOpen:n}=this.getState(),{itemToString:a}=this.props,{id:i}=this,{getRootProps:o,getToggleButtonProps:s,getLabelProps:l,getMenuProps:u,getInputProps:c,getItemProps:d,openMenu:f,closeMenu:m,toggleMenu:p,selectItem:h,selectItemAtIndex:g,selectHighlightedItem:v,setHighlightedIndex:y,clearSelection:b,clearItems:E,reset:w,setItemCount:S,unsetItemCount:M,internalSetState:C}=this;return{getRootProps:o,getToggleButtonProps:s,getLabelProps:l,getMenuProps:u,getInputProps:c,getItemProps:d,reset:w,openMenu:f,closeMenu:m,toggleMenu:p,selectItem:h,selectItemAtIndex:g,selectHighlightedItem:v,setHighlightedIndex:y,clearSelection:b,clearItems:E,setItemCount:S,unsetItemCount:M,setState:C,itemToString:a,id:i,highlightedIndex:e,inputValue:t,isOpen:n,selectedItem:r}}componentDidMount(){{const e=()=>{this.isMouseDown=!0},t=e=>{this.isMouseDown=!1;!cu(e.target,[this._rootNode,this._menuNode],this.props.environment)&&this.getState().isOpen&&this.reset({type:1},(()=>this.props.onOuterClick(this.getStateAndHelpers())))},r=()=>{this.isTouchMove=!1},n=()=>{this.isTouchMove=!0},a=e=>{const t=cu(e.target,[this._rootNode,this._menuNode],this.props.environment,!1);this.isTouchMove||t||!this.getState().isOpen||this.reset({type:16},(()=>this.props.onOuterClick(this.getStateAndHelpers())))},{environment:i}=this.props;i.addEventListener("mousedown",e),i.addEventListener("mouseup",t),i.addEventListener("touchstart",r),i.addEventListener("touchmove",n),i.addEventListener("touchend",a),this.cleanup=()=>{this.internalClearTimeouts(),this.updateStatus.cancel(),i.removeEventListener("mousedown",e),i.removeEventListener("mouseup",t),i.removeEventListener("touchstart",r),i.removeEventListener("touchmove",n),i.removeEventListener("touchend",a)}}}shouldScroll(e,t){const{highlightedIndex:r}=void 0===this.props.highlightedIndex?this.getState():this.props,{highlightedIndex:n}=void 0===t.highlightedIndex?e:t;return r&&this.getState().isOpen&&!e.isOpen||r!==n}componentDidUpdate(e,t){ou(this.props,"selectedItem")&&this.props.selectedItemChanged(e.selectedItem,this.props.selectedItem)&&this.internalSetState({type:15,inputValue:this.props.itemToString(this.props.selectedItem)}),!this.avoidScrolling&&this.shouldScroll(t,e)&&this.scrollHighlightedItemIntoView(),this.updateStatus()}componentWillUnmount(){this.cleanup()}render(){const e=eu(this.props.children,Wl);this.clearItems(),this.getRootProps.called=!1,this.getRootProps.refKey=void 0,this.getRootProps.suppressRefError=void 0,this.getMenuProps.called=!1,this.getMenuProps.refKey=void 0,this.getMenuProps.suppressRefError=void 0,this.getLabelProps.called=!1,this.getInputProps.called=!1;const t=eu(e(this.getStateAndHelpers()));return t?this.getRootProps.called||this.props.suppressRefError?t:tu(t)?(0,q.cloneElement)(t,this.getRootProps(ru(t))):void 0:null}}return e.defaultProps={defaultHighlightedIndex:null,defaultIsOpen:!1,getA11yStatusMessage:Ql,itemToString:e=>null==e?"":String(e),onStateChange:Wl,onInputValueChange:Wl,onUserAction:Wl,onChange:Wl,onSelect:Wl,onOuterClick:Wl,selectedItemChanged:(e,t)=>e!==t,environment:"undefined"==typeof window?{}:window,stateReducer:(e,t)=>t,suppressRefError:!1,scrollIntoView:Gl},e.stateChangeTypes=pu,e})();var gu=hu;const vu={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};function yu(e,t,r){const{props:n,type:a}=e,i={};Object.keys(t).forEach((n=>{!function(e,t,r,n){const{props:a,type:i}=t,o=`on${Mu(e)}Change`;a[o]&&void 0!==n[e]&&n[e]!==r[e]&&a[o]({type:i,...n})}(n,e,t,r),r[n]!==t[n]&&(i[n]=r[n])})),n.onStateChange&&Object.keys(i).length&&n.onStateChange({type:a,...i})}const bu=Kl(((e,t)=>{fu(e(),t)}),200),Eu="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?q.useLayoutEffect:q.useEffect;function wu(e){let{id:t=`downshift-${Xl()}`,labelId:r,menuId:n,getItemId:a,toggleButtonId:i,inputId:o}=e;return(0,q.useRef)({labelId:r||`${t}-label`,menuId:n||`${t}-menu`,getItemId:a||(e=>`${t}-item-${e}`),toggleButtonId:i||`${t}-toggle-button`,inputId:o||`${t}-input`}).current}function Su(e,t,r){return void 0!==e?e:0===r.length?-1:r.indexOf(t)}function Mu(e){return`${e.slice(0,1).toUpperCase()}${e.slice(1)}`}function Cu(e){const t=(0,q.useRef)(e);return t.current=e,t}function Iu(e,t,r){const n=(0,q.useRef)(),a=(0,q.useRef)(),i=(0,q.useCallback)(((t,r)=>{a.current=r,t=iu(t,r.props);const n=e(t,r);return r.props.stateReducer(t,{...r,changes:n})}),[e]),[o,s]=(0,q.useReducer)(i,t),l=Cu(r),u=(0,q.useCallback)((e=>s({props:l.current,...e})),[l]),c=a.current;return(0,q.useEffect)((()=>{c&&n.current&&n.current!==o&&yu(c,iu(n.current,c.props),o),n.current=o}),[o,r,c]),[o,u]}const Nu={itemToString:function(e){return e?String(e):""},stateReducer:function(e,t){return t.changes},getA11ySelectionMessage:function(e){const{selectedItem:t,itemToString:r}=e;return t?`${r(t)} has been selected.`:""},scrollIntoView:Gl,circularNavigation:!1,environment:"undefined"==typeof window?{}:window};function Du(e,t,r){void 0===r&&(r=vu);const n=e[`default${Mu(t)}`];return void 0!==n?n:r[t]}function Tu(e,t,r){void 0===r&&(r=vu);const n=e[t];if(void 0!==n)return n;const a=e[`initial${Mu(t)}`];return void 0!==a?a:Du(e,t,r)}function Au(e){const t=Tu(e,"selectedItem"),r=Tu(e,"isOpen"),n=Tu(e,"highlightedIndex"),a=Tu(e,"inputValue");return{highlightedIndex:n<0&&t&&r?e.items.indexOf(t):n,isOpen:r,selectedItem:t,inputValue:a}}function xu(e,t,r,n){const{items:a,initialHighlightedIndex:i,defaultHighlightedIndex:o}=e,{selectedItem:s,highlightedIndex:l}=t;return 0===a.length?-1:void 0!==i&&l===i?i:void 0!==o?o:s?0===r?a.indexOf(s):lu(r,a.indexOf(s),a.length,n,!1):0===r?-1:r<0?a.length-1:0}function _u(e,t,r,n){const a=(0,q.useRef)({isMouseDown:!1,isTouchMove:!1});return(0,q.useEffect)((()=>{const i=()=>{a.current.isMouseDown=!0},o=i=>{a.current.isMouseDown=!1,e&&!cu(i.target,t.map((e=>e.current)),r)&&n()},s=()=>{a.current.isTouchMove=!1},l=()=>{a.current.isTouchMove=!0},u=i=>{!e||a.current.isTouchMove||cu(i.target,t.map((e=>e.current)),r,!1)||n()};return r.addEventListener("mousedown",i),r.addEventListener("mouseup",o),r.addEventListener("touchstart",s),r.addEventListener("touchmove",l),r.addEventListener("touchend",u),function(){r.removeEventListener("mousedown",i),r.removeEventListener("mouseup",o),r.removeEventListener("touchstart",s),r.removeEventListener("touchmove",l),r.removeEventListener("touchend",u)}}),[e,r]),a}let Ou=()=>Wl;function ku(e,t,r){let{isInitialMount:n,highlightedIndex:a,items:i,environment:o,...s}=r;(0,q.useEffect)((()=>{n||bu((()=>e({highlightedIndex:a,highlightedItem:i[a],resultCount:i.length,...s})),o.document)}),t)}function Pu(e){let{highlightedIndex:t,isOpen:r,itemRefs:n,getItemNodeFromIndex:a,menuElement:i,scrollIntoView:o}=e;const s=(0,q.useRef)(!0);return Eu((()=>{t<0||!r||!Object.keys(n.current).length||(!1===s.current?s.current=!0:o(a(t),i))}),[t]),s}let Ru=Wl;function Fu(e,t,r){const{type:n,props:a}=t;let i;switch(n){case r.ItemMouseMove:i={highlightedIndex:t.disabled?-1:t.index};break;case r.MenuMouseLeave:i={highlightedIndex:-1};break;case r.ToggleButtonClick:case r.FunctionToggleMenu:i={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:xu(a,e,0)};break;case r.FunctionOpenMenu:i={isOpen:!0,highlightedIndex:xu(a,e,0)};break;case r.FunctionCloseMenu:i={isOpen:!1};break;case r.FunctionSetHighlightedIndex:i={highlightedIndex:t.highlightedIndex};break;case r.FunctionSetInputValue:i={inputValue:t.inputValue};break;case r.FunctionReset:i={highlightedIndex:Du(a,"highlightedIndex"),isOpen:Du(a,"isOpen"),selectedItem:Du(a,"selectedItem"),inputValue:Du(a,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return{...e,...i}}$e().array.isRequired,$e().func,$e().func,$e().func,$e().bool,$e().number,$e().number,$e().number,$e().bool,$e().bool,$e().bool,$e().any,$e().any,$e().any,$e().string,$e().string,$e().string,$e().func,$e().string,$e().func,$e().func,$e().func,$e().func,$e().func,$e().shape({addEventListener:$e().func,removeEventListener:$e().func,document:$e().shape({getElementById:$e().func,activeElement:$e().any,body:$e().any})});Vl(Vl({},Nu),{getA11yStatusMessage:function(e){var t=e.isOpen,r=e.resultCount,n=e.previousResultCount;return t?r?r!==n?"".concat(r," result").concat(1===r?" is":"s are"," available, use up and down arrow keys to navigate. Press Enter or Space Bar keys to select."):"":"No results are available.":""}});const Lu=0,Uu=1,Bu=2,Vu=3,zu=4,ju=5,Hu=6,$u=7,qu=10,Wu=16,Gu=19;var Yu=Object.freeze({__proto__:null,InputKeyDownArrowDown:Lu,InputKeyDownArrowUp:Uu,InputKeyDownEscape:Bu,InputKeyDownHome:Vu,InputKeyDownEnd:zu,InputKeyDownEnter:ju,InputChange:Hu,InputBlur:$u,MenuMouseLeave:8,ItemMouseMove:9,ItemClick:qu,ToggleButtonClick:11,FunctionToggleMenu:12,FunctionOpenMenu:13,FunctionCloseMenu:14,FunctionSetHighlightedIndex:15,FunctionSelectItem:Wu,FunctionSetInputValue:17,FunctionReset:18,ControlledPropUpdatedSelectedItem:Gu});$e().array.isRequired,$e().func,$e().func,$e().func,$e().bool,$e().number,$e().number,$e().number,$e().bool,$e().bool,$e().bool,$e().any,$e().any,$e().any,$e().string,$e().string,$e().string,$e().string,$e().string,$e().string,$e().func,$e().string,$e().string,$e().func,$e().func,$e().func,$e().func,$e().func,$e().func,$e().shape({addEventListener:$e().func,removeEventListener:$e().func,document:$e().shape({getElementById:$e().func,activeElement:$e().any,body:$e().any})});let Ku=Wl;const Zu={...Nu,getA11yStatusMessage:Ql,circularNavigation:!0};function Ju(e,t){const{type:r,props:n,shiftKey:a}=t;let i;switch(r){case qu:i={isOpen:Du(n,"isOpen"),highlightedIndex:Du(n,"highlightedIndex"),selectedItem:n.items[t.index],inputValue:n.itemToString(n.items[t.index])};break;case Lu:i=e.isOpen?{highlightedIndex:lu(a?5:1,e.highlightedIndex,n.items.length,t.getItemNodeFromIndex,n.circularNavigation)}:{highlightedIndex:xu(n,e,1,t.getItemNodeFromIndex),isOpen:n.items.length>=0};break;case Uu:i=e.isOpen?{highlightedIndex:lu(a?-5:-1,e.highlightedIndex,n.items.length,t.getItemNodeFromIndex,n.circularNavigation)}:{highlightedIndex:xu(n,e,-1,t.getItemNodeFromIndex),isOpen:n.items.length>=0};break;case ju:i={...e.isOpen&&e.highlightedIndex>=0&&{selectedItem:n.items[e.highlightedIndex],isOpen:Du(n,"isOpen"),highlightedIndex:Du(n,"highlightedIndex"),inputValue:n.itemToString(n.items[e.highlightedIndex])}};break;case Bu:i={isOpen:!1,highlightedIndex:-1,...!e.isOpen&&{selectedItem:null,inputValue:""}};break;case Vu:i={highlightedIndex:uu(1,0,n.items.length,t.getItemNodeFromIndex,!1)};break;case zu:i={highlightedIndex:uu(-1,n.items.length-1,n.items.length,t.getItemNodeFromIndex,!1)};break;case $u:i={isOpen:!1,highlightedIndex:-1,...e.highlightedIndex>=0&&t.selectItem&&{selectedItem:n.items[e.highlightedIndex],inputValue:n.itemToString(n.items[e.highlightedIndex])}};break;case Hu:i={isOpen:!0,highlightedIndex:Du(n,"highlightedIndex"),inputValue:t.inputValue};break;case Wu:i={selectedItem:t.selectedItem,inputValue:n.itemToString(t.selectedItem)};break;case Gu:i={inputValue:t.inputValue};break;default:return Fu(e,t,Yu)}return{...e,...i}}function Xu(e){void 0===e&&(e={}),Ku(e,Xu);const t={...Zu,...e},{initialIsOpen:r,defaultIsOpen:n,items:a,scrollIntoView:i,environment:o,getA11yStatusMessage:s,getA11ySelectionMessage:l,itemToString:u}=t,c=function(e){const t=Au(e),{selectedItem:r}=t;let{inputValue:n}=t;return""===n&&r&&void 0===e.defaultInputValue&&void 0===e.initialInputValue&&void 0===e.inputValue&&(n=e.itemToString(r)),{...t,inputValue:n}}(t),[d,f]=function(e,t,r){const n=(0,q.useRef)(),[a,i]=Iu(e,t,r);return(0,q.useEffect)((()=>{ou(r,"selectedItem")&&(n.current!==r.selectedItem&&i({type:Gu,inputValue:r.itemToString(r.selectedItem)}),n.current=a.selectedItem===n.current?r.selectedItem:a.selectedItem)})),[iu(a,r),i]}(Ju,c,t),{isOpen:m,highlightedIndex:p,selectedItem:h,inputValue:g}=d,v=(0,q.useRef)(null),y=(0,q.useRef)({}),b=(0,q.useRef)(null),E=(0,q.useRef)(null),w=(0,q.useRef)(null),S=(0,q.useRef)(!0),M=wu(t),C=(0,q.useRef)(),I=Cu({state:d,props:t}),N=(0,q.useCallback)((e=>y.current[M.getItemId(e)]),[M]);ku(s,[m,p,g,a],{isInitialMount:S.current,previousResultCount:C.current,items:a,environment:o,itemToString:u,...d}),ku(l,[h],{isInitialMount:S.current,previousResultCount:C.current,items:a,environment:o,itemToString:u,...d});const D=Pu({menuElement:v.current,highlightedIndex:p,isOpen:m,itemRefs:y,scrollIntoView:i,getItemNodeFromIndex:N});Ru({isInitialMount:S.current,props:t,state:d}),(0,q.useEffect)((()=>{(r||n||m)&&b.current&&b.current.focus()}),[]),(0,q.useEffect)((()=>{S.current||(C.current=a.length)}));const T=_u(m,[w,v,E],o,(()=>{f({type:$u,selectItem:!1})})),A=Ou("getInputProps","getComboboxProps","getMenuProps");(0,q.useEffect)((()=>{S.current=!1}),[]),(0,q.useEffect)((()=>{m||(y.current={})}),[m]);const x=(0,q.useMemo)((()=>({ArrowDown(e){e.preventDefault(),f({type:Lu,shiftKey:e.shiftKey,getItemNodeFromIndex:N})},ArrowUp(e){e.preventDefault(),f({type:Uu,shiftKey:e.shiftKey,getItemNodeFromIndex:N})},Home(e){I.current.state.isOpen&&(e.preventDefault(),f({type:Vu,getItemNodeFromIndex:N}))},End(e){I.current.state.isOpen&&(e.preventDefault(),f({type:zu,getItemNodeFromIndex:N}))},Escape(e){const t=I.current.state;(t.isOpen||t.inputValue||t.selectedItem||t.highlightedIndex>-1)&&(e.preventDefault(),f({type:Bu}))},Enter(e){const t=I.current.state;!t.isOpen||t.highlightedIndex<0||229===e.which||(e.preventDefault(),f({type:ju,getItemNodeFromIndex:N}))}})),[f,I,N]),_=(0,q.useCallback)((e=>({id:M.labelId,htmlFor:M.inputId,...e})),[M]),O=(0,q.useCallback)((function(e,t){let{onMouseLeave:r,refKey:n="ref",ref:a,...i}=void 0===e?{}:e,{suppressRefError:o=!1}=void 0===t?{}:t;return A("getMenuProps",o,n,v),{[n]:Jl(a,(e=>{v.current=e})),id:M.menuId,role:"listbox","aria-labelledby":M.labelId,onMouseLeave:Zl(r,(()=>{f({type:8})})),...i}}),[f,A,M]),k=(0,q.useCallback)((function(e){let{item:t,index:r,refKey:n="ref",ref:a,onMouseMove:i,onMouseDown:o,onClick:s,onPress:l,disabled:u,...c}=void 0===e?{}:e;const{props:d,state:m}=I.current,p=Su(r,t,d.items);if(p<0)throw new Error("Pass either item or item index in getItemProps!");const h=s;return{[n]:Jl(a,(e=>{e&&(y.current[M.getItemId(p)]=e)})),disabled:u,role:"option","aria-selected":`${p===m.highlightedIndex}`,id:M.getItemId(p),...!u&&{onClick:Zl(h,(()=>{f({type:qu,index:r})}))},onMouseMove:Zl(i,(()=>{r!==m.highlightedIndex&&(D.current=!1,f({type:9,index:r,disabled:u}))})),onMouseDown:Zl(o,(e=>e.preventDefault())),...c}}),[f,I,D,M]),P=(0,q.useCallback)((function(e){let{onClick:t,onPress:r,refKey:n="ref",ref:a,...i}=void 0===e?{}:e;return{[n]:Jl(a,(e=>{E.current=e})),id:M.toggleButtonId,tabIndex:-1,...!i.disabled&&{onClick:Zl(t,(()=>{f({type:11}),!I.current.state.isOpen&&b.current&&b.current.focus()}))},...i}}),[f,I,M]),R=(0,q.useCallback)((function(e,t){let{onKeyDown:r,onChange:n,onInput:a,onBlur:i,onChangeText:o,refKey:s="ref",ref:l,...u}=void 0===e?{}:e,{suppressRefError:c=!1}=void 0===t?{}:t;A("getInputProps",c,s,b);const d=I.current.state,m=e=>{const t=su(e);t&&x[t]&&x[t](e)},p=e=>{f({type:Hu,inputValue:e.target.value})},h=()=>{d.isOpen&&!T.current.isMouseDown&&f({type:$u,selectItem:!0})};let g={};return u.disabled||(g={onChange:Zl(n,a,p),onKeyDown:Zl(r,m),onBlur:Zl(i,h)}),{[s]:Jl(l,(e=>{b.current=e})),id:M.inputId,"aria-autocomplete":"list","aria-controls":M.menuId,...d.isOpen&&d.highlightedIndex>-1&&{"aria-activedescendant":M.getItemId(d.highlightedIndex)},"aria-labelledby":M.labelId,autoComplete:"off",value:d.inputValue,...g,...u}}),[f,x,I,T,A,M]),F=(0,q.useCallback)((function(e,t){let{refKey:r="ref",ref:n,...a}=void 0===e?{}:e,{suppressRefError:i=!1}=void 0===t?{}:t;return A("getComboboxProps",i,r,w),{[r]:Jl(n,(e=>{w.current=e})),role:"combobox","aria-haspopup":"listbox","aria-owns":M.menuId,"aria-expanded":I.current.state.isOpen,...a}}),[I,A,M]),L=(0,q.useCallback)((()=>{f({type:12})}),[f]),U=(0,q.useCallback)((()=>{f({type:14})}),[f]),B=(0,q.useCallback)((()=>{f({type:13})}),[f]),V=(0,q.useCallback)((e=>{f({type:15,highlightedIndex:e})}),[f]),z=(0,q.useCallback)((e=>{f({type:Wu,selectedItem:e})}),[f]);return{getItemProps:k,getLabelProps:_,getMenuProps:O,getInputProps:R,getComboboxProps:F,getToggleButtonProps:P,toggleMenu:L,openMenu:B,closeMenu:U,setHighlightedIndex:V,setInputValue:(0,q.useCallback)((e=>{f({type:17,inputValue:e})}),[f]),selectItem:z,reset:(0,q.useCallback)((()=>{f({type:18})}),[f]),highlightedIndex:p,isOpen:m,selectedItem:h,inputValue:g}}Xu.stateChangeTypes=Yu;$e().array,$e().array,$e().array,$e().func,$e().func,$e().func,$e().number,$e().number,$e().number,$e().func,$e().func,$e().string,$e().string,$e().shape({addEventListener:$e().func,removeEventListener:$e().func,document:$e().shape({getElementById:$e().func,activeElement:$e().any,body:$e().any})});const Qu=({getItemProps:e,getMenuProps:t,highlightedIndex:r,options:n,itemToString:a,ariaLabel:i,isOpen:o})=>q.createElement("div",t({"aria-label":i}),o?q.createElement("div",{className:"sid-input-select-list__menu"},n.length>0?Cr()(n).call(n,((t,i)=>((t,i)=>q.createElement("div",Ri({className:"sid-input-select-list__item "+(r===i?"sid-input-select-list__item--highlighted":"")},e({item:t,index:i,key:t.value})),a(n[i])))(t,i))):q.createElement("div",{className:"sid-input-select-list__message"},q.createElement(or,{id:"noOptions",defaultMessage:"No Options"}))):null),ec=({clearSelection:e,disabled:t,getToggleButtonProps:r,isOpen:n})=>e?q.createElement("button",{"aria-label":"clear selection",className:"sid-input-select-button",disabled:t,onClick:e,type:"button",tabIndex:0},q.createElement("svg",{viewBox:"0 0 20 20",preserveAspectRatio:"none",width:12,fill:"transparent",stroke:"#5A5A5A",strokeWidth:"1.1px"},q.createElement("path",{d:"M1,1 L19,19"}),q.createElement("path",{d:"M19,1 L1,19"}))):q.createElement("button",Ri({},r(),{className:"sid-input-select-button",disabled:t,type:"button",tabIndex:0}),q.createElement("svg",{viewBox:"0 0 20 20",preserveAspectRatio:"none",width:16,fill:"transparent",stroke:"#5A5A5A",strokeWidth:"1.1px",transform:n?"rotate(180)":void 0},q.createElement("path",{d:"M1,6 L10,15 L19,6"}))),tc=({className:e,inputId:t,disabled:r,fieldId:n,fieldLabelId:a,isErrored:o,options:s,onKeyDown:l,onChange:u,placeholder:c,suppressPlaceholder:d=!0,value:f,autoFocus:m,ariaLabel:p,isRequired:h,buttonRef:g,role:v="combobox"})=>{const y=e=>e?e.label:"",b=(e,t)=>i()(e).call(e,(e=>{var r,n;return!t||$i()(r=e.label.toLowerCase()).call(r,t.toLowerCase())||$i()(n=e.value.toString().toLowerCase()).call(n,t.toLowerCase())})),E=(0,q.useRef)(null);return(0,q.useEffect)((()=>{Qs(n,E.current)})),q.createElement(gu,{id:t,onChange:u,itemToString:y,selectedItem:f&&f.value&&f.label?f:"",defaultHighlightedIndex:0},(({clearSelection:n,getInputProps:i,getItemProps:u,getMenuProps:f,getToggleButtonProps:w,highlightedIndex:S,inputValue:M,isOpen:C,openMenu:I,selectedItem:N,selectHighlightedItem:D})=>q.createElement("div",{className:`sid-input-select-list ${e||""}`},q.createElement("input",Ri({},i({ref:E,onClick:()=>I(),onBlur:e=>((e,t,r)=>{r&&e.currentTarget.value===r.label||t()})(e,D,N),onKeyDown:e=>(e=>{"function"==typeof l&&l(e)})(e)}),{autoFocus:m,id:t,className:`sid-l-full-width sid-text-input ${d?"sid-hidden-placeholder":""} ${o?"sid-text-input--error":""}`,disabled:r,placeholder:c,"aria-required":h,"aria-labelledby":a,role:v})),q.createElement(ec,{disabled:r,getToggleButtonProps:w,isOpen:C,clearSelection:N?n:void 0,buttonRef:g}),q.createElement(Qu,{highlightedIndex:S,itemToString:y,options:b(s,M),getItemProps:u,getMenuProps:f,ariaLabel:p,isOpen:C}))))};tc.defaultProps={className:void 0,disabled:!1,inputId:void 0,isErrored:!1,onKeyDown:void 0,placeholder:"",value:void 0};const rc=tc,nc=Ft((({value:e,isErrored:t,options:r,onChange:n,onKeyDown:a,intl:i,placeholder:o="",isRequired:s=!1})=>{const l="sid-country";return q.createElement("div",{className:`sid-field ${l}`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"country",defaultMessage:"Country"}),htmlForLabel:l,id:`${l}-label`,isRequired:s}),q.createElement(rc,{fieldId:"country",inputId:l,fieldLabelId:`${l}-label`,isErrored:t,options:r,onChange:e=>n(e),onKeyDown:a,placeholder:o||i.formatHTMLMessage({id:"countryPlaceholder",defaultMessage:"Country"}),value:Rl()(r).call(r,(t=>t.value===(e&&e.value))),isRequired:!0}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidCountry",defaultMessage:"Invalid country"})):null)})),ac=({getItemProps:e,getMenuProps:t,highlightedIndex:r,options:n,itemToString:a})=>{const i=42*n.length;return q.createElement("div",Ri({className:"sid-input-select-list__menu"},t(),{tabIndex:-1,style:{height:Math.min(i,280)}}),Cr()(n).call(n,((t,i)=>((t,i)=>q.createElement("div",Ri({className:"sid-select-list__item "+(r===i?"sid-select-list__item--highlighted":""),key:i},e({index:i,item:t})),a(n[i])))(t,i))))},ic=({getToggleButtonProps:e,isOpen:t})=>q.createElement("button",Ri({},e(),{className:"sid-select-button",type:"button"}),q.createElement("svg",{viewBox:"0 0 20 20",preserveAspectRatio:"none",width:16,fill:"transparent",stroke:"#979797",strokeWidth:"1.1px",transform:t?"rotate(180)":void 0},q.createElement("path",{d:"M1,6 L10,15 L19,6"}))),oc=({className:e,hideDropDownButton:t,isErrored:r,options:n,onChange:a,overrideInputClassName:i,placeholder:o,value:s})=>{const l=e=>e?e.label:"";return q.createElement(gu,{onChange:a,itemToString:l,initialSelectedItem:s&&s.value&&s.label?s:void 0,defaultHighlightedIndex:0},(({getInputProps:a,getItemProps:s,getMenuProps:u,getToggleButtonProps:c,highlightedIndex:d,isOpen:f,openMenu:m})=>q.createElement("div",{className:`sid-select-list ${e}`},q.createElement("input",Ri({},a({onFocus:m}),c,{className:`\n sid-l-full-width\n ${i||"sid-select-input"}\n ${r?"sid-select-input--error":""}\n `,placeholder:o,readOnly:!0})),t?null:q.createElement(ic,{getToggleButtonProps:c,isOpen:f}),f?q.createElement("div",null,n.length>0?q.createElement(ac,{highlightedIndex:d,itemToString:l,options:n,getItemProps:s,getMenuProps:u}):q.createElement("div",Ri({className:"sid-select-list__menu"},u()),q.createElement("div",{className:"sid-select-list__message"},q.createElement(or,{id:"noOptions",defaultMessage:"No Options"})))):null)))};oc.defaultProps={className:void 0,hideDropDownButton:!1,isErrored:!1,overrideInputClassName:void 0,placeholder:"",value:void 0};const sc=oc,lc=Ft((({value:e,options:t,onChange:r,intl:n})=>{const a=Cr()(t).call(t,(e=>({value:e.value,label:n.formatHTMLMessage({id:`locales.${e.value}`,defaultMessage:"Label not found"})})));return q.createElement("div",{className:"sid-change-locale"},q.createElement("div",{className:"sid-field__label sid-change-locale__label "},q.createElement(or,{id:"changeLanguage",defaultMessage:"Change language"})),q.createElement(sc,{className:"sid-change-locale__select",hideDropDownButton:!0,options:a,onChange:e=>r(e),overrideInputClassName:"sid-change-locale__input",value:Rl()(a).call(a,(t=>t.value===(e&&e.value)))}),q.createElement("div",{className:"sid-l-space-btm-sm"}))})),uc=Ft((({verificationService:e,intl:t})=>{const r=vl(e.programTheme,t);return r.length<=1?null:q.createElement(lc,{options:r,value:e.viewModel.localeChoice||{value:"en-US",label:"English"},isErrored:!1,onChange:t=>(t=>{const r=Ys(e.viewModel,(e=>{e.localeChoice=t}));e.updateLocale(r,e.programTheme,e.verificationResponse.segment)})(t)})})),cc=()=>q.createElement("div",{className:"sid-spinner"},q.createElement("div",{className:"sid-spinner__frame"}),q.createElement("div",{className:"sid-spinner__frame"}),q.createElement("div",{className:"sid-spinner__frame"}),q.createElement("div",{className:"sid-spinner__frame"}));Ft((({intl:e})=>{const[t,r]=q.useContext(ki),{viewModel:n}=t,{programTheme:a}=t,i=vl(a,e),o=hl(a,e),s=yl(o),l=e=>{r({type:"UPDATE_VIEW_MODEL",payload:e})},u=function(){var e=gr((function*(e,t){const r=[],n=[];l({isSearching:!0});try{const[a,i]=yield yr().all([ua(e),ua(t)]),[o,s]=((e,t)=>{var r,n;const a=[],i=[],o=ba()(r=e).call(r,((e,t)=>(e[t.name]=!0,a.push(t),e)),{});return d()(n=t).call(n,(e=>{o[e.name]||i.push(e)})),[a,i]})(a,i);r.push(...o),n.push(...s)}catch(e){return void l({orgDomainError:"invalidUrl",eligibleOrgs:[],ineligibleOrgs:[],isSearching:!1})}l({eligibleOrgs:r,ineligibleOrgs:n,completeRequest:!1,firstNameError:null,lastNameError:null,emailError:null,displayResults:!0,isSearching:!1})}));return function(t,r){return e.apply(this,arguments)}}(),c=function(){var e=gr((function*(){if(!y())return;const e=(e=>{let t=e;try{t=new(Er())(e).hostname}catch(e){he.warn(e)}return t.replace(/(www\.)?/,"")})(n.orgDomain),[t,r]=m("domain",e);u(t,r)}));return function(){return e.apply(this,arguments)}}(),f=function(){var e=gr((function*(){if(!b())return;const[e,t]=m("name",n.orgName);u(e,t)}));return function(){return e.apply(this,arguments)}}(),m=(e,t)=>{const r=new(Er())(a.config.orgSearchUrl),i=n.countryChoice.value,o=Za(a,i),{origin:s,pathname:l,search:u}=r,c=new(Sr())(u);return c.set(e,t),c.set("country",i),o&&c.set("tags",o),[`${s}${l}?${c.toString()}`,`${s}${l}?type=UNIVERSITY,K12,POST_SECONDARY,HIGH_SCHOOL&country=${i}&${e}=${t}`]},p=()=>n.orgDomain?pn.URL_REGEX.test(n.orgDomain)?null:"invalidUrl":"requiredField",h=()=>n.orgName?null:"requiredField",g=()=>n.countryChoice&&n.countryChoice.value?null:"requiredField",v=()=>{const e=g(),t=p(),r=h(),a=Ho("firstName",n.firstName),i=Ho("lastName",n.lastName),o=Ho("email",n.email);return l({orgCountryError:e,orgDomainError:t,orgNameError:r,firstNameError:a,lastNameError:i,emailError:o}),!(e||t||r||a||i||o)},y=()=>{const e=g(),t=p();return l({orgCountryError:e,orgDomainError:t}),!(e||t)},b=()=>{const e=g(),t=h();return l({orgCountryError:e,orgNameError:t}),!(e||t)},E=a?za(a):null;return q.useEffect((()=>{n.countryChoice||l({countryChoice:s})}),[]),q.useEffect((()=>{n.countryChoice&&null!==n.countryChoice.value?n.searchByOrgName?n.orgName&&f():n.orgDomain&&c():l({displayResults:!1,completeRequest:!1,firstNameError:null,lastNameError:null,emailError:null,eligibleOrgs:[],ineligibleOrgs:[]})}),[n.countryChoice]),q.createElement("div",{className:"sid-l-container--extra-wide sid-request-organization-container sid-l-space-btm-lg sid-l-container"},q.createElement("div",{className:"sid-logo sid-l-horz-center sid-l-space-top-lg"},q.createElement("img",{className:"sid-request-organization-sheerid-logo sid-logo__img",alt:"Logo",src:E||pn.SHEERID_LOGO_URL})),q.createElement("div",{className:"sid-logo sid-request-organization-school-house-logo sid-l-space-top-md"},q.createElement("img",{className:"sid-logo__icon",alt:"School House",src:pn.SCHOOL_HOUSE_URL})),i.length>1?q.createElement(lc,{options:i,value:n.localeChoice||{value:"en-US",label:"English"},isErrored:!1,onChange:e=>{var t;l({localeChoice:e}),t=e.value,r({type:"SET_LOCALE",payload:t})}}):null,q.createElement("div",{className:"sid-title"},q.createElement(or,{id:"title",defaultMessage:"Request to Add School"})),q.createElement("div",{className:"sid-soft-font-color"},q.createElement(or,{id:"description",defaultMessage:"Please fill out the form below. Schools submitted are not guaranteed to be added, but all requests are researched and considered by SheerID."})),q.createElement(nc,{value:n.countryChoice,isErrored:!!n.orgCountryError,onChange:e=>{l({countryChoice:e,orgCountryError:null})},options:o,placeholder:e.formatHTMLMessage({id:"fields.countryPlaceholder",defaultMessage:"Select Country"})}),q.createElement("div",{className:"sid-l-space-top-md"},q.createElement(or,{id:"noCountry",defaultMessage:"Don't see your school's country? You are not eligible for this offer."})),q.createElement("div",{className:""+(n.searchByOrgName?"sid-field-pair":"")},q.createElement(kl,{name:"org-domain",label:e.formatHTMLMessage({id:"fields.domainLabel",defaultMessage:"School website"}),placeholder:e.formatHTMLMessage({id:"fields.domainPlaceholder",defaultMessage:"www.myschool.edu"}),value:n.orgDomain,isErrored:n.orgDomainError,onChange:e=>{l({orgDomain:e})},onKeyDown:()=>{n.orgDomainError&&!p()&&l({orgDomainError:null})},search:c}),n.searchByOrgName?q.createElement(kl,{name:"org-name",label:e.formatHTMLMessage({id:"fields.orgNameLabel",defaultMessage:"School name"}),placeholder:e.formatHTMLMessage({id:"fields.orgNamePlaceholder",defaultMessage:"My school"}),value:n.orgName,isErrored:n.orgNameError,onChange:e=>{l({orgName:e})},onKeyDown:()=>{n.orgNameError&&!h()&&l({orgNameError:null})},search:f}):null),n.displayResults?q.createElement(Ol,{eligibleOrgs:n.eligibleOrgs,ineligibleOrgs:n.ineligibleOrgs}):null,!n.searchByOrgName&&n.displayResults?q.createElement("div",{className:"sid-l-space-top-md"},q.createElement("div",{className:"sid-h-link-like",role:"button",tabIndex:0,onKeyUp:()=>{y()&&l({searchByOrgName:!0,displayResults:!1,eligibleOrgs:[],ineligibleOrgs:[]})},onClick:()=>{y()&&l({searchByOrgName:!0,displayResults:!1,eligibleOrgs:[],ineligibleOrgs:[]})}},q.createElement(or,{id:"searchByOrgName",defaultMessage:"Don't see your school? Search by name."}))):null,n.searchByOrgName&&n.displayResults&&n.eligibleOrgs.length+n.ineligibleOrgs.length<pn.MAX_RESULT_SIZE?q.createElement("div",{className:"sid-l-space-top-md"},q.createElement("div",{className:"sid-h-link-like",tabIndex:0,role:"button",onKeyUp:()=>{y()&&b()&&l({completeRequest:!0})},onClick:()=>{y()&&b()&&l({completeRequest:!0})}},q.createElement(or,{id:"completeRequest",defaultMessage:"Don't see your school in the list of eligible or ineligible schools? Complete your request"}))):null,n.completeRequest?q.createElement("div",{className:"sid-complete-request"},q.createElement("div",{className:"sid-personal-info"},q.createElement("div",{className:"sid-field-pair"},q.createElement(Dl,{value:n.firstName,isErrored:!!n.firstNameError,onChange:e=>{l({firstName:e})}}),q.createElement(Tl,{value:n.lastName,isErrored:!!n.lastNameError,onChange:e=>{l({lastName:e})}})),q.createElement(Al,{value:n.email,isErrored:!!n.emailError,onChange:e=>{l({email:e})},explanation:" "})),q.createElement("div",{className:"sid-l-space-top-lg sid-request-organization-button-container"},q.createElement("button",{type:"submit",className:"sid-btn sid-btn--dark sid-btn__request-organization",onClick:e=>{e.preventDefault(),da(v,t,r)}},q.createElement(or,{id:"submit",defaultMessage:"Submit"})))):null,n.isSearching?q.createElement("div",{id:"sid-spinner-container",className:"sid-l-absolute-center sid-spinner-container"},q.createElement(cc,null)):null)}));var dc=o(5869);const fc={activeDutyStartDate:"Active Duty Start Date",address:"Address",addressPlaceholder:"Address",birthDate:"Date of birth",branchOfService:"Branch of service",branchOfServicePlaceholder:"Branch Of Service",changeLanguage:"Change language",city:"City",cityPlaceholder:"City",company:"Company",companyPlaceholder:"Company",copied:"Copied",country:"Country",countryPlaceholder:"Country",countries:{AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AG:"Antigua and Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AN:"Netherlands Antilles",AO:"Angola",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AZ:"Azerbaijan",BA:"Bosnia-Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BM:"Bermuda",BN:"Brunei Darussalam",BO:"Bolivia",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BV:"Bouvet Island",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CD:"Democratic Republic of Congo",CF:"Central African Republic",CG:"Congo",CH:"Switzerland",CI:"Ivory Coast (Cote D'Ivoire)",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DJ:"Djibouti",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",EH:"Western Sahara",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FM:"Micronesia",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GD:"Grenada",GE:"Georgia",GF:"French Guyana",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe (French)",GQ:"Equatorial Guinea",GR:"Greece",GS:"South Georgia & South Sandwich Islands",GT:"Guatemala",GU:"Guam (USA)",GW:"Guinea Bissau",GY:"Guyana",HK:"Hong Kong",HM:"Heard and McDonald Islands",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IN:"India",IO:"British Indian Ocean Territory",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KI:"Kiribati",KM:"Comoros",KN:"Saint Kitts & Nevis Anguilla",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MC:"Monaco",MD:"Moldavia",ME:"Montenegro",MG:"Madagascar",MH:"Marshall Islands",MK:"Macedonia",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MO:"Macau",MP:"Northern Mariana Islands",MQ:"Martinique (French)",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldives",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia (French)",NE:"Niger",NF:"Norfolk Island",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"Polynesia (French)",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PM:"Saint Pierre and Miquelon",PN:"Pitcairn Island",PR:"Puerto Rico",PS:"Palestine",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Reunion (French)",RO:"Romania",RS:"Serbia",RU:"Russian Federation",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena",SI:"Slovenia",SK:"Slovak Republic",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",SS:"South Sudan",ST:"Saint Tome (Sao Tome) and Principe",SV:"El Salvador",SY:"Syria",SZ:"Swaziland",TC:"Turks and Caicos Islands",TD:"Chad",TF:"French Southern Territories",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TK:"Tokelau",TL:"Timor-Leste",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Turkey",TT:"Trinidad and Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",UM:"USA Minor Outlying Islands",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VA:"Vatican City State",VC:"Saint Vincent & Grenadines",VE:"Venezuela",VG:"Virgin Islands (British)",VI:"Virgin Islands (USA)",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis and Futuna Islands",WS:"Samoa",XK:"Kosovo",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe"},dateTime:{january:"January",february:"February",march:"March",april:"April",may:"May",june:"June",july:"July",august:"August",september:"September",october:"October",november:"November",december:"December",month:"Month",day:"Day",year:"Year","2_MIN":"2 minutes","20_MIN":"20 minutes","2_HRS":"2 hours","24_HRS":"24 hours","2_DAY":"2 days","3_DAY":"3 days",A_FEW_MINUTES:"a few minutes",A_HALF_HOUR:"half an hour",A_FEW_HOURS:"a few hours",A_FEW_DAYS:"a few days"},dischargeDate:"Discharge date",driverLicenseNumber:"Driver license number",driverLicenseNumberPlaceholder:"Driver license number",driverLicenseState:"Driver license state",ebtCardNumber:"EBT Card Number",emailAddress:"Email address",emailAddressPlaceholder:"Email address",optIn:"Yes, send me {company} marketing communications about exclusive sales, special offers, latest products and more",phoneNumber:"Mobile Number",phoneNumberExplanation:"Optional - get text notifications of status updates",phoneNumberWarnMessage1:"By submitting this form with a mobile number, you consent to receive SMS/text messages for verification purposes. Standard phone carrier text messaging (SMS) and data rates may apply.",phoneNumberWarnMessage2:"You authorize your mobile service provider to disclose your mobile number and certain account information to SheerID, solely for identity verification and to avoid fraud.",phoneUsPlaceholder:"555-555-5555",error:"Error",limitExceededError:"Verification Limit Exceeded",firstName:"First name",firstNamePlaceholder:"First name",memberId:"ID Number",memberIdPlaceholder:"ID Number",optional:"Optional",howDoesReviewWork:"How does review work?",howDoesVerifyingWork:"How does verifying work?",informationTransferredToUS:"Your information will be transferred to the United States and will be treated according to SheerID’s privacy policy.",lastName:"Last name",lastNamePlaceholder:"Last name",loading:"Loading...",locales:{"en-US":"English",ar:"Arabic",bg:"Bulgarian","zh-HK":"Chinese (Hong Kong)",zh:"Chinese (Traditional)",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch","nl-BE":"Flemish","en-GB":"English (UK)",fi:"Finnish","fr-CA":"French (Canadian)",fr:"French",ga:"Irish",de:"German",el:"Greek",iw:"Hebrew",hu:"Hungarian",id:"Indonesian",it:"Italian",ja:"Japanese",ko:"Korean",lo:"Lao",lt:"Lithuanian",ms:"Malay",no:"Norwegian",pl:"Polish","pt-BR":"Portuguese (Brazil)",pt:"Portuguese",ro:"Romanian",ru:"Russia",sr:"Serbian",sk:"Slovak",sl:"Slovenian",es:"Spanish","es-ES":"Spanish (Spain)",sv:"Swedish",th:"Thai",tr:"Turkish",ur:"Urdu",vi:"Vietnamese",zu:"Zulu"},militaryStatus:"Military status",noOptions:"No options",lowRewardPool:"&#128293; Only {offersRemaining} offers left!",personalInformation:"Personal Information",personalOrSchoolIsFine:"Personal or school email is fine",postalCode:"Postal code",postalCodeExplanation:"Use the location on file with your licensing body",postalCodePlaceholder:"Postal code",poweredBy:"Verification services powered by SheerID",proceed:"Proceed",requestSchool:"Don't see your school? Request to have it added.",requiredFields:"All fields are required",rewardCodeEmailNotification:"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com.",school:"School",schoolName:"School",schoolNamePlaceholder:"School",sheeridFaqs:"SheerID FAQs",privacyPolicy:"Privacy Policy",smsCodePlaceholder:"SMS Code",state:"State",statePlaceholder:"State",states:{AK:"Alaska",AL:"Alabama",AR:"Arkansas",AS:"American Samoa",AZ:"Arizona",CA:"California",CO:"Colorado",CT:"Connecticut",DC:"District of Columbia",DE:"Delaware",FL:"Florida",GA:"Georgia",GU:"Guam",HI:"Hawaii",IA:"Iowa",ID:"Idaho",IL:"Illinois",IN:"Indiana",KS:"Kansas",KY:"Kentucky",LA:"Louisiana",MA:"Massachusetts",MD:"Maryland",ME:"Maine",MI:"Michigan",MN:"Minnesota",MO:"Missouri",MS:"Mississippi",MT:"Montana",NC:"North Carolina",ND:"North Dakota",NE:"Nebraska",NH:"New Hampshire",NJ:"New Jersey",NM:"New Mexico",NV:"Nevada",NY:"New York",OH:"Ohio",OK:"Oklahoma",OR:"Oregon",PA:"Pennsylvania",PR:"Puerto Rico",RI:"Rhode Island",SC:"South Carolina",SD:"South Dakota",TN:"Tennessee",TX:"Texas",UT:"Utah",VA:"Virginia",VI:"Virgin Islands",VT:"Vermont",WA:"Washington",WI:"Wisconsin",WV:"West Virginia",WY:"Wyoming"},status:"Status",statusPlaceholder:"Status",streetAddress:"Street Address",universityName:"University name",verifyAndContinue:"Verify and continue",verificationPurposesOnly:"Used for verification purposes only",verifyMyStudentStatus:"Verify My Student Status",verifyMyTeacherStatus:"Verify My Teacher Status",verifyMyMembershipStatus:"Verify My Membership Status",verifyMyMilitaryStatus:"Verify My Military Status",verifyMyIdentityStatus:"Verify My Identity",verifyMyMedicalProfessionalStatus:"Verify My Medical Professional Status",verifyMyEmploymentStatus:"Verify My Employee Status",verifyMyLicensedProfessionalStatus:"Verify My Licensed Professional Status",verifyMyMoverStatus:"Verify My New Mover Status",verifyMyLowIncomeStatus:"Verify my status",VETERAN:"Military Veteran or Retiree",MILITARY_RETIREE:"Military Retiree",RESERVIST:"Reservist or National Guard",ACTIVE_DUTY:"Active Duty",MILITARY_FAMILY:"Military Family",GOLD_STAR_FAMILY:"Gold Star Family",FIREFIGHTER:"Firefighter",POLICE:"Police",EMT:"EMT",SEARCH_AND_RESCUE:"Search and Rescue",DOCTOR:"Doctor",NURSE:"Nurse",DENTIST:"Dentist",PHARMACIST:"Pharmacist",OTHER_HEALTH_WORKER:"Other Health Worker",HOME_BUYER:"Home Buyer",OTHER_MOVER:"Other Mover",SNAP_BENEFITS:"Snap Benefits Recipient",OTHER_GOVERNMENT_ASSISTANCE:"Other Government Assistance Recipient",LICENSED_COSMETOLOGIST:"Licensed Cosmetologist",LICENSED_REAL_ESTATE_AGENT:"Licensed Real Estate Agent",CHILD_CARE_WORKER:"Child Care Worker",LIBRARIAN:"Librarian",VETERINARIAN:"Veterinarian",organization:"Organization",organizationPlaceholder:"Organization",lowIncomeOrganization:"Government Assistance Program",lowIncomeOrganizationPlaceholder:"Government Assistance Program",verifyMyFirstResponderStatus:"Verify My First Responder Status",tryAgain:"Try again",errorId:{activeDutyStartDateBeforeBirthDate:"Start date must be after birth date",apiRateLimitExceeded:"Unable to process your request at this time, please try again later",dischargeDateBeforeBirthDate:"Discharge Date before birthdate",docReviewLimitExceeded:"Document review limit exceeded",inactiveProgram:"Due to tremendous demand, the offer is no longer available. Please check tomorrow to see if it is available.",expiredEmailLoopToken:"We are sorry, the page you requested cannot be found. The URL may be incorrect or the page you're looking for is no longer available.",expiredProgram:"Due to tremendous demand, the offer is no longer available. Please check tomorrow to see if it is available.",expiredSMSCode:"Verification code expired",expiredVerification:"This verification is expired. Please submit a new verification.",failedToFetch:"Failed HTTP request",fraudRulesReject:"We're unable to verify you using the information submitted. Please check your information for accuracy, and only use your own mobile device or computer.<br><br>Still having trouble? <a href=\"{feedbackUrl}&pid={programId}&locale={locale}\">Contact SheerID's support team</a> to confirm your identity.",futureBirthDate:"Future birthdate",futureDischargeDate:"Future discharge date",futureActiveDutyStartDate:"Future start date",incorrectVerificationOverrideCodeAttemptLimitExceeded:"Override code limit exceeded",internalServerError:"Internal server error",invalidActiveDutyStartDate:"Invalid start date",invalidAddress:"Invalid address",invalidApiToken:"Provided API token was invalid or empty",invalidBirthDate:"Invalid birth date",invalidCity:"Invalid city",invalidCountry:"Invalid country",invalidDischargeDate:"Invalid discharge date",invalidDocUploadToken:"Provided document upload token is not valid",invalidEbtCardNumber:"Invalid EBT Card Number",invalidEmail:"Invalid email",invalidEmailLoopToken:"We are sorry, the page you requested cannot be found. The URL may be incorrect or the page you're looking for is no longer available.",invalidFileSizeEmpty:"One or more files is empty",invalidFileSizeMax:"One or more files is too large (max: 10MB)",invalidFirstName:"Invalid first name",invalidFirstResponderStatus:"Invalid first responder status",invalidLastName:"Invalid last name",invalidMemberId:"Invalid ID Number",invalidMilitaryStatus:"Invalid military status",invalidNumberOfFiles:"Maximum number of files exceeded (max: 5)",invalidOptIn:"Must be selected to continue",invalidOrganization:"You must select an organization from the list",invalidOverrideCode:"Invalid Override Code",invalidPhoneNumber:"Invalid mobile number",invalidPostalCode:"Invalid postal code",invalidProgram:"Invalid program",invalidRequest:"Invalid request",invalidSMSCode:"Verification code could not be validated",invalidSocialSecurityNumber:"Invalid SSN",invalidState:"Invalid state",invalidStatus:"Invalid status",invalidStatuses:"Invalid status",invalidDriverLicenseNumber:"Invalid driver license number",invalidStep:"Invalid step",missingRequiredMetadata:"You must be logged in to verify. Log in to your account then try again.",marketConsentRequired:"Market consent required",maxMetadataLengthExceeded:"Maximum length of metadata value exceeded",maxMetadataValuesExceeded:"Maximum number of metadata values exceeded",maxSMSCodeLimitExceeded:"",incorrectSMSCodeAttemptLimitExceeded:"",noProgram:"No program found",noRemainingRewardCodes:"Due to tremendous demand, the offer is no longer available. Please check tomorrow to see if it is available.",notApproved:"Not approved",notFound:"Not found",noValidFiles:"No valid files",noVerification:"No verification found",outsideAgePerson:"Birthdate is not eligible for this offer.",requestTimeout:"Request timeout",simulatedError:"This is a simulated error",unauthorizedDomain:"Unauthorized domain",unauthorizedAccountStatus:"This offer has been temporarily discontinued. Please contact the brand’s customer support for more information.",underagePerson:"Persons under age 16 are not eligible for this offer.",unknownError:"Unknown Error",unsupportedDocMimeType:"One or more files is an unsupported format",verificationLimitExceeded:"We're glad you're enthusiastic, but it looks like you've already redeemed or attempted to redeem this offer."},step:{docUpload:{acceptableUploadExamples:"Acceptable examples include:",acceptedTypes:"File must be .jpg .jpeg .png .pdf .gif or .bmp",addFile:"Add file",cancelButtonLabel:"Cancel",fileInstructions:'Drag &amp; drop your files here or <span class="sid-dropzone-wrap--link">browse</span>',submitButtonLabel:"Continue",rejectedSubtitle:"We were unable to confirm your eligibility due to:",nameChanged:"If your name has changed since the document was issued, upload a 2nd document showing your official name change.",allowedDocuments:"Please only upload documents you are legally allowed to provide.",cancelDocUploadLabel:"Click here if you are unable to verify with a document",rejectionReasons:{DOCUMENT_LIKELY_FRAUD:"The document is insufficient for establishing eligibility for this offer.",DOCUMENT_UNSUPPORTED:"The document is not official or on the list of accepted document types.",DOCUMENT_UNREADABLE:"The document was unreadable due to poor image quality. Please make sure you have a clearly legible image that's bright and crisp, and try submitting again.",DOCUMENT_EXPIRED:"The document has already expired or was issued too far in the past. Please upload a more recent document.",DOCUMENT_TOO_FUTURE:"The date shown in the document is too far in the future. Please upload a more recent document, which proves your current status.",MISSING_DOCUMENT_DATE:"A current date is missing. Please upload an official, dated document that proves your current status.",INSUFFICIENT_DOCUMENT_DATE:"The date(s) shown in the document are insufficient to prove your current status. Please upload a document that includes a recent month and year.",INSUFFICIENT_STATUS:"The document does not prove you are a status eligible for this offer.",MISMATCH_STATUS:"The status on the document does not match the status you entered on your verification form.",INELIGIBLE_JOB_TITLE:"The job title shown in the document is not eligible for this offer.",MISSING_INFORMATION_BIRTHDATE:"Your birthdate is missing.",MISMATCH_BIRTHDATE:"The birthdate on the document does not match the birthdate you entered on your verification form.",OUT_OF_RANGE_BIRTHDATE:"Your birthdate is outside the acceptable range of this offer.",MISSING_PERSON_LAST_NAME:"Your last name is missing.",MISMATCH_PERSON_LAST_NAME:"The last name on the document does not match the last name you entered on your verification form.",MISSING_PERSON_FIRST_NAME:"Your first name is missing.",MISMATCH_PERSON_FIRST_NAME:"The first name on the document does not match the first name you entered on your verification form.",MISSING_INFORMATION_ORGANIZATION_NAME:"Your organization name is missing.",MISMATCH_ORGANIZATION_NAME:"The organization name on the document does not match the organization name you entered on your verification form.",MISMATCH_ORGANIZATION_COUNTRY:"The country shown in your document does not match the country you entered on your verification form",MISSING_CUSTOM_VALUE:"The document is missing information needed to establish your eligibility for this offer.",MISMATCH_CUSTOM_VALUE:"Some information shown in the document does not match what you entered in the verification form.",INSUFFICIENT_CUSTOM_VALUE:"The document is missing information needed to establish your eligibility for this offer.",DOCUMENT_VALID_OTHER:"The document submitted is not able to establish eligibility for this offer.",DOCUMENT_STATUS_OTHER:"The document submitted shows a status that is not sufficient for establishing eligibility for this offer.",DOCUMENT_DATE_OTHER:"The document submitted does not meet the date requirements for establishing eligibility for this offer.",PERSON_BIRTHDATE_OTHER:"The date of birth shown in the document submitted did not match with what was provided on the verification form.",PERSON_LAST_NAME_OTHER:"The last name shown in the document submitted did not match with what was provided on the verification form.",PERSON_FIRST_NAME_OTHER:"The first name shown in the document submitted did not match with what was provided on the verification form.",ORGANIZATION_NAME_OTHER:"The organization name shown in the document submitted was something other than what was provided on the verification form.",CUSTOM_VALUE_OTHER:"The document submitted is missing a requirement for establishing eligibility for this offer.",DOCUMENT_PASSWORD_PROTECTED:"We are unable to accept password protected documents.",DOCUMENT_HANDWRITTEN:"We cannot accept handwritten documents.",MISSING_INFORMATION:"The document you submitted does not provide all of the information necessary to determine eligibility for this offer.",MISSING_INFORMATION_PERSON_NAME:"The document you submitted is missing a first and/or last name.",DOCUMENT_OUTDATED:"The document you submitted is missing an issue date or was issued too far in the past.",MISMATCH_PERSON_NAME:"The information on the document you submitted does not match the first and/or last name submitted on the verification form.",MISMATCH_ORGANIZATION:"The organization name on the document(s) you submitted does not match the organization you listed on the verification form.",INELIGIBLE_ORGANIZATION:"The organization on the document you submitted is not eligible for this offer.",MISSING_INFORMATION_UNIVERSITY_ENROLLMENT:"The document you submitted does not prove enrollment in the current term.",INELIGIBLE_PERSON_HIGH_SCHOOL_STUDENT:"High School Students are not eligible for this offer.",MISSING_INFORMATION_AFFILIATION_US_ARMED_FORCES:"The document you submitted is does not show affiliation to an eligible branch of the United States Armed Forces.",MISMATCH_COMPANY_NAME_OR_ADDRESS:"The company name or address in your document does not match what you entered on the verification form.",PAYSTUB_OUTDATED_LAST_30_DAYS:"Please upload a paystub that was issued within the last 30 days.",DOCUMENT_OUTDATED_FACULTY:"The document you submitted does not prove employment in the current academic year.",MISSING_OR_MISMATCH_JOB_TITLE:"The job title on the document you submitted is missing or does not match what you entered on the verification form.",OTHER_CONTACT_US:"We are having problems verifying your eligibility for the offer. Please contact SheerID customer service for help: customerservice@sheerid.com",PERSON_FIELD_MISMATCH:"A field in the document provided did not match with what was provided on the verification form."},uploadInfo:{affiliation:"Your current affiliation with that organization",fullName:"Your full name",organization:"Your organization",student:{enrollmentDate:"Date proving enrollment for the current term (or within the last 3 months)",school:"Your school"},teacher:{currentSchoolYear:"A date in the current school year",school:"Your school"},military:{currentAffiliation:"Your current affiliation with the armed services",dischargeDate:"Your discharge date (if applicable)",serviceBranch:"Your branch of service",uploadInstructionsDependent:"Please upload a Dependent ID card that clearly shows your first name, last name, valid dates and status"},senior:{birthDate:"Your date of birth"},age:{birthDate:"Your date of birth"},firstResponder:{currentAffiliation:"Your current affiliation with that organization",organization:"Your organization",license:"Your status or license as a First Responder"},medical:{status:"Your medical professional status",validDate:"A currently valid date"},employment:{company:"Your company",currentAffiliation:"Your current affiliation with that company"},identity:{validDate:"A currently valid date"},licensedProfessional:{licenseStatus:"Your professional license and/or certification status",validDate:"A currently valid date"},recentMover:{address:"Your new address",validDate:"A valid date for your recent move"},lowIncome:{fullName:"Your full name",validDate:"A valid date of issue (within the last 12 months) or date of expiry (must be valid)",ebtNumber:"EBT card number"}},acceptableUploads:{student:{idCard:"School ID card with expiration date",classSchedule:"Class schedule",tuitionReceipt:"Tuition receipt"},teacher:{idCard:"Teacher ID card with valid date",payStub:"Pay stub from within last 60 days"},member:{idCard:"Membership Document",payStub:"Pay stub from within last 90 days"},senior:{birthCertificate:"Your birth certificate",driversLicense:"Your drivers license",passport:"Your passport",stateId:"Your state-issued ID"},age:{birthCertificate:"Your birth certificate",driversLicense:"Your drivers license",passport:"Your passport",stateId:"Your state-issued ID"},military:{activeDuty:"Any document that proves you are currently serving as active duty in the armed forces for 30 days or more",veteran:"Any document that proves you met the qualifications of military service and were honorably discharged",reservistA:"Any document that shows you are currently serving in a reserve component of the armed forces",retiree:"Any document that proves you are a retiree from the armed forces",dependent:"Any document that proves you are a Registered Military Dependent",goldStarFamily:"Any document that proves you are a Registered Gold Star Family Member"},medical:{licenseCertificate:"Certificate of license",idCard:"Nursing ID card with expiration date",photoPayStub:"Photo ID and recent Pay Stub"},employment:{employeeIdCard:"Employee ID Card",payStub:"Pay stub from within last 60 days",officialLetter:"An official letter"},firstResponder:{idCard:"ID Card",payStub:"Pay stub from within last 60 days",letter:"An official letter"},licensedProfessional:{license:"Certificate of license"},recentMover:{changeOfAddress:"U.S. Postal Service change of address confirmation letter",mortgageDeed:"Mortgage deed",rentalAgreement:"Lease or rental agreement"},lowIncome:{programCard:"Back and front of a card showing you qualify for the selected government assistance program (for example, an EBT card for a SNAP Program).",programApprovalLetter:"Approval letter of the selected government assistance program issued by a government agency (for example, a Supplemental Security Income (SSI) eligibility letter).",programApprovalScreenshot:"A screenshot of the online portal of the selected government assistance program showing you qualify for it (Screenshot of your Medicare application status on your online account).",programBankStatement:"A bank statement showing recent payment of the selected benefit."}}},pending:{titleCountdown:"Processing",titleReview:"Reviewing",subtitle:"SheerID is reviewing your documents, to confirm your status. This process may take up to {maxReviewTime}.",subtitleAlt:"SheerID is reviewing your documents, to confirm your status.",docDiffLang:"We identified your document is in a different language.",turnaroundTime:"Turnaround time for your language is typically {estReviewTime}, and in rare times of high volume may take up to {maxReviewTime}.",subtitle2:"Wait here or let us notify you of the outcome.",subtitle3:"You will be contacted via email.",subtitleCountdown:"Hang tight while we upload and scan your documents."},personalInfo:{verifyingTitle:"Verifying your status",verifyingSubtitle:"This should only take a minute"},success:{copyCouponCode:"Copy Coupon code",emailNotification:"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com.",verificationOnly:"SheerID handles verification only. Now that you've been approved, please direct all questions about the promotion terms to {companyName} customer service."},consolation:{title:"Claim your offer",subtitle:"Unfortunately we could not verify your status, but we value your interest and are offering this promo code as a thank you. It is unique to you and can only be used once.",verificationOnly:"Please direct any and all questions about this offer to {companyName}."},sso:{cancel:"Upload documents",title:"Verify using your school credentials",subtitle:"Please sign in to your school's web portal. It will open in a new tab.",subtitle2:"Unable to sign in?",login:"Sign in to my school",preheader:"Quickest Method",alternative:"You can also verify by uploading proof of eligibility"},collectSocialSecurityNumber:{title:"Enter your social security number",useSsn:"Verify using your social security number",uploadDoc:"Upload a document",selectOption:"Select an option",uploadInstead:"Upload a document instead"},smsLoop:{titleWithNumber:"We've sent an SMS message to the mobile number ending in {number}. Enter your code here.",titleWithoutNumber:"We've sent an SMS to your mobile number. Please enter the code here.",verificationCode:"Verification Code",errors:{codeVerification:"Verification code could not be validated.",codeExpired:"Verification code could not be validated.",codeResendLimit:"Maximum number of re-tries has been reached.",resend:"Error sending the SMS message"},successResend:"SMS message re-sent successfully",incorrectNumber:{incorrectNumber1:"Incorrect number? Click",incorrectNumber2:"here",incorrectNumber3:"to return to {companyName}"},resendButton:"Re-send",submitButton:"Submit"},emailLoop:{title:"Check your email",subtitleWithEmail:"An email has been sent to {email} with a personalized link to complete the verification process.",subtitleWithoutEmail:"An email has been sent to your email account with a personalized link to complete the verification process.",subtitle2:"Please check for an email from us (verify@sheerid.com) for all the details.",successResend:"Email re-sent successfully.",resendButton:"Re-send",errors:{resend:"Error sending email"},skipEmail:"Unable to retrieve this email? Click",skipEmailCTA:"here",skipEmail2:"to proceed."},override:{title:"Unable to Verify Status",subtitle:"If applicable, please enter a verification override code below.",subtitle2:"This will enable the customer to redeem the offer",verificationOverrideCodeLabel:"Verification Override Code",submitOverrideCodeButtonLabel:"Submit Override Code",errors:{invalidCode:"Invalid Override Code.",codeOverrideLimit:"Override code limit exceeded."}},error:{errorId:{unauthorizedAccountStatus:{title:"Offer Is Paused!",buttonText:"Contact Support"},noRemainingRewardCodes:{title:"Offer Sold Out!",buttonText:"See More Offers"},verificationLimitExceeded:{title:"Verification Limit Exceeded"},expiredProgram:{title:"Offer Sold Out!",buttonText:"See More Offers"},inactiveProgram:{title:"Offer Sold Out!",buttonText:"See More Offers"},missingRequiredMetadata:{title:"Please log in."}}},collectMedicalPersonalInfo:{registrationNumberLabel:"Registration Number",registrationNumberExplanation:"Your Professional Membership Registration Number",numeroColegiadoLabel:"Registration Number",numeroColegiadoExplanation:"Your Professional Membership Registration Number",autorisationsIdLabel:"Registration Number",autorisationsIdExplanation:"Your Professional Membership Registration Number",gbrNummerLabel:"Registration Number",gbrNummerExplanation:"Your Professional Membership Registration Number",globalLocationNumberLabel:"Global Location Number",globalLocationNumberExplanation:"Your Professional Membership Registration Number"}},ssn:"Social Security Number",ssnPlaceholder:"000-00-0000",getHelp:"Get help",footerText:"By submitting the personal information above, I acknowledge that my personal information is being collected under the <privacyPolicy>privacy policy</privacyPolicy> of the business from which I am seeking a discount, and I understand that my personal information will be shared with SheerID as a processor/third-party service provider in order for SheerID to confirm my eligibility for a special offer. <aboutSheerID>More about SheerID</aboutSheerID>.",infoShared1:"By clicking, I consent to processing my information for the purpose of verifying my eligibility as described within the {privacyPolicyLink}",infoShared2:". I understand that my information will be shared with {companyName}.",studentInfoShared:"Information entered here will be used for verification purposes and shared with {companyName}.",firstResponderInfoShared:"Information entered here will be used for verification purposes.",militaryInfoShared:"Information entered here will be used for verification purposes.",militaryFamilyCardNote:"Note: this offer is only available to military family members with a Dependent ID card."},mc={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock this 1st Responder-Only Offer",subtitle:"Verify you're an active first responder.",howDoesVerifyingWorkDetails:"This offer is available to all US first responders and emergency personnel - including law enforcement, EMTs, paramedics, and firefighters.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are an active first responder. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name, Email & Organization",subtitle:"Your full name, organization name, and email must match what is on record with your agency."},verifyingTitle:"Verifying your first responder status"},docUpload:{title:"We need your ID",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying first responders.<br><br>Documents are used only for verifying your first responder status is current and will be permanently deleted after review is finalized.",uploadInstructions:"Upload an official document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},pc={emailExplanation:"Personal email address is recommended",step:{personalInfo:{title:"Unlock this Military-Only Offer",subtitle:"Verify you're a member of the armed forces.",howDoesVerifyingWorkDetails:"This offer is available to military personnel who have served or are currently serving in the United States Armed Forces.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a member of the military. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name & Birthdate",subtitle:"Enter your first and last name on the form as it appears on your military document(s). Keep in mind that may be your given name."},verifyingTitle:"Verifying your military status"},docUpload:{title:"We need more information",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying military.<br><br>Documents are used only for verifying your military status is current and will be permanently deleted after review is finalized.",uploadInstructions:"Upload your government-issued document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},hc={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock Your Special Offer",subtitle:"Verify your current age.",howDoesVerifyingWorkDetails:"To be eligible for this offer, you must be of a certain age.<br><br>{companyName} uses SheerID, a trusted partner, to verify your age. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name & Birthdate",subtitle:"Your full name and birthdate must match what is on your government-issued documents."},verifyingTitle:"Verifying your age"},docUpload:{title:"We need your license or passport",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying age.<br><br>Documents are used only for verifying your current age and will be permanently deleted after review is finalized.",uploadInstructions:"Upload a government-issued document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},gc={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock Your Special Offer",subtitle:"Verify your current age.",howDoesVerifyingWorkDetails:"To be eligible for this offer, you must be of a certain age.<br><br>{companyName} uses SheerID, a trusted partner, to verify your age. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name & Birthdate",subtitle:"Your full name and birthdate must match what is on your government-issued documents."},verifyingTitle:"Verifying your age"},docUpload:{howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying age.<br><br>Documents are used only for verifying your current age and will be permanently deleted after review is finalized.",uploadInstructions:"Upload a government-issued document that shows",title:"We need your license or passport",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner."},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},vc={emailExplanation:"A student email address is preferred",schoolName:"School",step:{personalInfo:{title:"Unlock this Student-Only Offer",subtitle:"Verify you're a student at a degree-granting school.",howDoesVerifyingWorkDetails:"To be eligible for this offer, you must currently be enrolled in a degree or certificate-granting, accredited school of education.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a current student. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name & Birthdate",subtitle:"Your full name and birthdate must match what is on your official school records."},verifyingTitle:"Verifying your student status"},docUpload:{title:"We need your ID & class schedule",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying students.<br><br>Documents are used only for verifying your student status is current and will be permanently deleted after review is finalized.",uploadInstructions:"Upload your school-issued document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"},sso:{title:"Verify using academic institution credentials",subtitle:"Your academic institution's portal will open in a new window for you to verify using your login information",alternative:"You can also verify by uploading proof of your enrollment",login:"Sign into my academic institution",cancel:"Upload Proof of Enrollment"}}},yc={emailExplanation:"Must be your school-issued email address",schoolName:"School name",schoolNamePlaceholder:"School name",step:{personalInfo:{title:"Unlock this Teaching Staff-Only Offer",subtitle:"Verify you're a teacher, faculty or staff at a K-12 or degree-granting university.",howDoesVerifyingWorkDetails:"To be eligible for this offer, you must currently be employed as a teacher, faculty or staff at a K-12 school or university in the United States.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a current teacher, faculty or staff member. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name & Email",subtitle:"Your full name and email address must match what is on record with your school."},verifyingTitle:"Verifying your teacher status"},docUpload:{title:"We need more information",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying teachers.<br><br>Documents are used only for verifying your teacher or faculty status is current and will be permanently deleted after review is finalized.",uploadInstructions:"Upload your school-issued document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},bc={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock this Members-Only Offer",subtitle:"Verify you're a current member of an eligible organization.",howDoesVerifyingWorkDetails:"{companyName} has set up this special offer for all current members of select organizations.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are currently employed. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check the information that you have provided",subtitle:"The information you have provided should match your official documents."},verifyingTitle:"Verifying your membership status"},docUpload:{title:"We need more information",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying members.<br><br>Documents are used only to verify that your membership status is current and will be permanently deleted after review is finalized.",uploadInstructions:"Upload an official document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},Ec={emailExplanation:"Use your work email if you have one",step:{personalInfo:{title:"Unlock this Medical Professional-Only Offer",subtitle:"Verify you're a licensed medical professional.",howDoesVerifyingWorkDetails:"To be eligible for this offer, you must (1) be a medical professional currently licensed in the United States and (2) be a member of an eligible branch of the medical profession. Eligible branches are shown in the Status selector of this form.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a medical professional. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check your Name, Birthdate & Organization",subtitle:"Your first and last name, birthdate and organization must match what is on your official documents."},verifyingTitle:"Verifying your medical professional status"},docUpload:{title:"We need more information",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying medical professionals.<br><br>Documents are used only for verifying your medical professional status is current and will be permanently deleted after review is finalized.",uploadInstructions:"Upload an official document that shows"},sso:{title:"Verify your Healthcare status",subtitle:"Please sign into your employer's web portal. It will open in a new tab.",login:"Sign into my employer web portal",alternative:"You can also verify by uploading proof of employment"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},wc={addressExplanation:"Use your home address",emailExplanation:"Use your work email if you have one",step:{personalInfo:{title:"Unlock this Employment-Only Offer",subtitle:"Verify you're a current employee at an eligible company.",howDoesVerifyingWorkDetails:"{companyName} has set up this special offer for all current employees of select companies.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are currently employed. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check the information that you have provided",subtitle:"The information you have provided should match your official documents."},verifyingTitle:"Verifying your employment status"},docUpload:{title:"We need more information",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying employees.<br><br>Documents are used only for verify your employment status is current and will be permanently deleted after review is finalized.",uploadInstructions:"Upload an official document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"},sso:{title:"Verify using your company-provided email credentials",subtitle:"Please sign in to your company's email portal. It will open in a new tab.",subtitle2:"Can't sign in to your email?",login:"Sign in to my email",cancel:"Upload proof of employment",alternative:"You can also verify by uploading proof of employment"}}},Sc={title:"Request to Add School",description:"Please fill out the form below. Schools submitted are not guaranteed to be added, but all requests are researched and considered by SheerID.",noCountry:"Don't see your school’s country or region? You are not eligible for this offer.",searchByOrgName:"Don't see your school? Search by name.",completeRequest:"Don't see your school in the list of eligible or ineligible schools? Complete your request",submit:"Submit",eligibleOrgs:"Eligible schools. Click the icon to copy name then return to the verification form:",ineligibleOrgs:"Ineligible Schools. We are sorry, people from these schools are not eligible for this offer:",none:"None",country:"Where is your educational institution located?",changeLanguage:"Change language",poweredBy:fc.poweredBy,copied:"Copied",fields:{countryPlaceholder:"Select Country",domainLabel:"School website",domainPlaceholder:"www.myschool.edu",orgNameLabel:"School name",orgNamePlaceholder:"My school"},step:{success:{title:"Thank you",description:"Your request to add your educational institution has been received. As a reminder, each request is evaluated by SheerID against the requirements set by this offer. There is no guarantee that your school will be added. The evaluation process can take up to 7 business days."},error:{title:"An unexpected error occurred",description:"Sorry we are not able to process your request. Please try again later.",seeingProblem:"If you keep seeing this problem <a class='sid-link' href='{feedbackUrl}&pid={programId}' target='_blank'>contact us</a>.",contactUs:"contact us"}},errorId:{invalidCountry:"Field is required",invalidEmail:"Invalid Email",invalidFirstName:"Invalid first name",invalidLastName:"Invalid last name",requiredField:"Field is required",invalidField:"Field is invalid",invalidUrl:"Invalid URL",tooManyResults:"Your search returned too many results, please refine your search and try again"},orgType:{university:"Universities {e}",k12:"K12 {e}",postSecondary:"Post Secondary Institutions {e}",highSchool:"High Schools / Secondary Schools {e}",eligible:" - Eligible for this offer. Click the icon to copy name then return to the verification form:",ineligible:" - (Not eligible for this offer)"},faq:"SheerID Add School Request FAQ"},Mc={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock Your Special Offer",subtitle:"Verify your current identity.",howDoesVerifyingWorkDetails:"To be eligible for this offer, you must have a valid driver license.<br><br>{companyName} uses SheerID, a trusted partner, to verify your identity. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name & other fields",subtitle:"Your information must match what is on your government-issued document(s)."},verifyingTitle:"Verifying your identity"},docUpload:{howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying identity.<br><br>Documents are used only for verifying your current eligibility and will be permanently deleted after review is finalized.",uploadInstructions:"Upload a government-issued document that shows",title:"We need your driver license",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner."},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},Cc={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock this Special Offer",subtitle:"Verify you have a professional license in your field.",howDoesVerifyingWorkDetails:"To be eligible for this offer, you must hold a current professional license in your specified field. Eligible fields are shown in the Status selector of this form.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a licensed professional. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name & other fields",subtitle:"Your information must match what is on your government-issued document(s)."},verifyingTitle:"Verifying your license"},docUpload:{title:"We need your professional license or certificate",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying licensed professionals.<br><br>Documents are used only for verifying your licensure or certification status is current and will be permanently deleted after review is finalized.",uploadInstructions:"Upload a government-issued document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},Ic={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock this Special Offer",subtitle:"Verify you have recently moved.",howDoesVerifyingWorkDetails:"To be eligible for this offer, you must have moved to a new address within the last 60 days.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you have recently moved. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name & Address Information",subtitle:"Your first and last name and address must match what is on your official documents."},verifyingTitle:"Verifying your moving status"},docUpload:{title:"We need some more info",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying recent movers.<br><br>Documents are used only for verifying that you've recently moved and will will be permanently deleted after review is finalized.",uploadInstructions:"Upload an official document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},Nc={emailExplanation:"",addressExplanation:"Use your home address",step:{personalInfo:{title:"Unlock this Special Offer",subtitle:"Verify you qualify for an eligible government assistance program.",howDoesVerifyingWorkDetails:"To be eligible for this offer, you must currently qualify for an eligible government assistance program. The eligible Government Assistance Programs for this offer can be found in the box below.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a recipient of these benefits. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your full name & other fields",subtitle:"Your information must match what is on your government-issued document(s)."},verifyingTitle:"Verifying your status"},docUpload:{title:"We need some more info",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying your eligibility.<br><br>Documents are used only for verifying your eligibility status is current and will be permanently deleted after review is finalized.",uploadInstructions:"Upload an official document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},Dc={defaultMessages:fc,pluralizationsAndDateLocaleData:o.n(dc)(),requestOrganizationMessages:Sc,segmentMessages:{firstResponder:mc,military:pc,senior:hc,age:gc,student:vc,teacher:yc,member:bc,medical:Ec,employment:wc,identity:Mc,licensedProfessional:Cc,recentMover:Ic,lowIncome:Nc}},Tc={verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"error",segment:"student",subSegment:null,redirectUrl:"https://sheerid.com",errorIds:["internalServerError"],locale:"en-US"},Ac={collectStudentPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectStudentPersonalInfo",segment:"student",subSegment:null,submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectTeacherPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectTeacherPersonalInfo",segment:"teacher",subSegment:null,submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectMemberPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectMemberPersonalInfo",segment:"member",subSegment:null,submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},docUpload:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"docUpload",segment:"student",subSegment:null,submissionUrl:"",locale:"en-US"},success:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"success",segment:"student",subSegment:null,rewardCode:"MY_REWARD_123",locale:"en-US"},consolation:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"consolation",segment:"student",subSegment:null,consolationRewardCode:"MY_REWARD_123",locale:"en-US"},override:{verificationId:"635a9e342f69032c316e05f9",currentStep:"override",errorIds:["invalidOverrideCode"],segment:"medical",subSegment:"nurse",submissionUrl:"",locale:"en-US",country:"US"},error:Tc,pending:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"pending",statusUrl:"",segment:"student",subSegment:null,locale:"en-US",maxReviewTime:"2_HRS",estimatedReviewTime:void 0},docReviewLimitExceeded:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"error",segment:"student",subSegment:null,redirectUrl:null,errorIds:["docReviewLimitExceeded"],locale:"en-US"},collectMilitaryStatus:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectMilitaryStatus",segment:"military",subSegment:null,submissionUrl:"",availableStatuses:["ACTIVE_DUTY"],locale:"en-US"},collectActiveMilitaryPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectActiveMilitaryPersonalInfo",segment:"military",subSegment:"activeDuty",submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectInactiveMilitaryPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectInactiveMilitaryPersonalInfo",segment:"military",subSegment:"veteran",submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectSeniorPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectSeniorPersonalInfo",segment:"senior",subSegment:null,submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectFirstResponderPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectFirstResponderPersonalInfo",segment:"firstResponder",subSegment:"emt",submissionUrl:"",availableStatuses:["FIREFIGHTER"],instantMatchAttempts:0,locale:"en-US"},collectEmployeePersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectEmployeePersonalInfo",segment:"employment",subSegment:null,submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectDriverLicensePersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectDriverLicensePersonalInfo",segment:"identity",subSegment:"driverLicense",submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectGeneralIdentityPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectGeneralIdentityPersonalInfo",segment:"identity",subSegment:"generalIdentity",submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectHybridIdentityPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectHybridIdentityPersonalInfo",segment:"identity",subSegment:"generalIdentity",submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectLicensedProfessionalPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9761",currentStep:"collectLicensedProfessionalPersonalInfo",segment:"licensedProfessional",submissionUrl:"",subSegment:"licensedCosmetologists",instantMatchAttempts:0,locale:"en-US"},collectMoverPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9761",currentStep:"collectMoverPersonalInfo",segment:"recentMover",submissionUrl:"",subSegment:"homeBuyer",instantMatchAttempts:0,locale:"en-US"},collectLowIncomePersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9761",currentStep:"collectLowIncomePersonalInfo",segment:"lowIncome",submissionUrl:"",subSegment:"snapBenefits",instantMatchAttempts:0,locale:"en-US"},sso:{verificationId:"5a3bffd5e4b05f0b878a9762",loginUrl:"loginUrl",cancelUrl:"cancelUrl",currentStep:"sso",segment:"student",subSegment:null,locale:"en-US"},smsLoop:{verificationId:"5e2f0bd2d7121162bb849f17",submissionUrl:"",currentStep:"smsLoop",segment:"student",subSegment:null,locale:"en-US"},emailLoop:{verificationId:"5e2f0bd2d7121162bb849f17",submissionUrl:"https://foo.bar",currentStep:"emailLoop",segment:"student",subSegment:null,locale:"en-US",canResendEmailLoop:!0,cancelUrl:"https://foo.bar"},cancelEmailLoop:{verificationId:"5e2f0bd2d7121162bb849f17",submissionUrl:"",currentStep:"docUpload",segment:"student",subSegment:null,locale:"en-US"},collectSocialSecurityNumber:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectSocialSecurityNumber",segment:"military",subSegment:null,submissionUrl:"",cancelUrl:"",locale:"en-US"},collectAgePersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectAgePersonalInfo",segment:"age",subSegment:null,submissionUrl:"",instantMatchAttempts:0,locale:"en-US",minAge:55,maxAge:120},collectMedicalProfessionalPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectMedicalProfessionalPersonalInfo",segment:"medical",subSegment:"nurse",submissionUrl:"",availableStatuses:["NURSE"],instantMatchAttempts:0,locale:"en-US"},cancelSocialSecurityNumber:{},cancelDocUpload:{submissionUrl:"",verificationId:"63a22b25e7501047aa05bc3a",currentStep:"override",segment:"student",subSegment:null,locale:"en-US"},missingRequiredMetadata:Tc},xc=(Me.TEXT,Dc.defaultMessages.countries,Dc.defaultMessages.locales,e=>{try{const t=new(Sr())(window.location.search);if(t.get(e))return t.get(e);if(Mn().hasOwnProperty(e))return Mn()[e]}catch(e){he.error(e)}}),_c=(e=undefined)=>{try{const t=new(Sr())(window.location.search);let r;const n=oe((()=>e.segment));return t.get(nn)?r=t.get(nn):Mn().mockStep&&(r=Mn().mockStep),r===we.collect?Ce[n]:r}catch(e){he.error(e,"getRouteOverride")}},Oc=()=>xc(an),kc=()=>xc(on),Pc=()=>xc(dn),Rc=()=>Pc(),Fc=()=>xc(ln),Lc=()=>xc(un),Uc=e=>{const t=ie(e),r=xc(sn),n=Lc();return r&&(t.errorIds=[r]),n&&(t.redirectUrl=n),t},Bc=function(){var e=gr((function*(e,t){let r=Mn().mockResponse||Ac[e];if(e&&r)switch(he.info(`getOverriddenMock: mocking ${e} response`),e){case ve.error:r=Uc(r);break;case ve.success:r=(e=>{const t=ie(e),r=Fc(),n=Lc();return r&&(t.rewardCode=r),n&&(t.redirectUrl=n),t})(r);break;case ve.consolation:r=(e=>{const t=ie(e),r=Fc();return r&&(t.consolationRewardCode=r),t})(r)}else r=null,he.info(`\n getOverriddenMock: not mocking response.\n You may mock a step response by adding things like ?mockStep=success to your route.\n ${e}\n `);return null!==r&&t&&(yield t,r.segment=t.segment,r.subSegment=t.subSegment,Oc()&&(r.segment=Oc(),he.info(`getOverriddenMock: mocking segment '${r.segment}'`)),kc()&&(r.subSegment=kc(),he.info(`getOverriddenMock: mocking subSegment '${r.subSegment}'`))),yr().resolve(r)}));return function(t,r){return e.apply(this,arguments)}}(),Vc=({step:e})=>q.createElement("div",{className:"sid-loading-screen__message"},$i()(be).call(be,e)&&q.createElement("div",{className:"sid-loading-screen__message-header"},q.createElement(or,{id:"step.personalInfo.verifyingTitle",defaultMessage:"Verifying your status"})),q.createElement("div",{className:"sid-loading-screen__message-subhead"},q.createElement(or,{id:"step.personalInfo.verifyingSubtitle",defaultMessage:"This should only take a minute"}))),zc=({step:e=Rc()})=>q.createElement("div",{className:"sid-loading-screen"},q.createElement(cc,null),e&&q.createElement(Vc,{step:e}));let jc={};const Hc=(e,t)=>{he.log(`overrideComponent registering ${e}`),jc[e]=t},$c=()=>{jc={}};var qc=o(1057),Wc=o.n(qc);function Gc(e){return Yc.apply(this,arguments)}function Yc(){return Yc=gr((function*(e){try{he.info("fetchExistingVerificationRequest: Calling back-end for existing verification request");const t=$n(e),r=yield Ln(t),n=_c(r),a=yield Bc(n,r);return a||r}catch(e){he.error(e,"fetchExistingVerificationRequest")}})),Yc.apply(this,arguments)}var Kc=o(6607),Zc=o.n(Kc);const Jc=function(){var e=gr((function*(e,t){en(e),Qr(t);const r=`${`${Mn().restApi.serviceUrl}${Mn().restApi.resources.conversion.base}`}verification/${e}`;return yield Rn(r,t)}));return function(t,r){return e.apply(this,arguments)}}(),Xc=function(){var e=gr((function*(e,t,r){en(e),Xr(t),Qr(r);const n=`${`${Mn().restApi.serviceUrl}${Mn().restApi.resources.conversion.base}`}account/${e}/trackingId/${t}`;return yield Rn(n,r)}));return function(t,r,n){return e.apply(this,arguments)}}(),Qc=window.addEventListener?"addEventListener":"attachEvent",ed="attachEvent"===Qc?"onmessage":"message",td="sid-verificationId",rd="verificationId",nd=e=>{if(e&&e.data&&"object"==typeof e.data&&e.data.hasOwnProperty(rd)){const t=e.data[rd];ad(t)}},ad=e=>{const t=Mn().cookies;Zc().remove(td,t),t.enabled?(Zc().set(td,e,t),he.info(`Set cookie ${td} with value ${e}`)):he.info("Cookies disabled")},id=e=>{var t;t={[rd]:e},window.parent&&window.parent.postMessage&&"function"==typeof window.parent.postMessage&&window.parent.postMessage(t,"*"),ad(e)},od=(e=undefined)=>{let t;if(void 0!==e)t=e,Xr(e);else{t=(e=>{const t=new(Sr())(e).get("trackingId");return"string"==typeof t&&0===t.length?null:t})(window.location.search)}return t},sd={convert:e=>{let t;try{t=Zc().get(td),t?Jc(t,e):he.info("verificationId not found from cookie")}catch(e){he.error(e,"Conversion error")}},convertByVerificationId:Jc,convertByTrackingId:Xc,listenForVerificationId:()=>{var e;he.info("Listening for verificationId"),Jr(e=nd),window[Qc](ed,(t=>{e(t)}),!1)}};function ld(){return ld=gr((function*(e,t=undefined,r=!1,n={}){const a=od(t);try{var i;let t;Kr(e);const o=window.location.search;let s;if(r||(s=Mn().verificationId||Or(o)),s&&(he.info("fetchNewVerificationRequest: Calling for existing verification request"),t=yield Gc(s)),!s||t.currentStep===ve.error&&$i()(i=t.errorIds).call(i,"noVerification")){const r=qn(),i={programId:e};a&&(he.info(`Adding trackingId ${a}`),i.trackingId=a);const o=ea();o&&(he.info(`Adding installPageUrl ${o}`),i.installPageUrl=o),t=yield Rn(r,i,n),t.locale=Oa()}const l=_c(t),u=yield Bc(l,t);return u?(u.locale=Oa(),u):t}catch(e){throw he.error(e,"fetchNewVerificationRequest"),e}})),ld.apply(this,arguments)}function ud(){return ud=gr((function*(e,t){if(!Mn().doFetchTheme)return Ai();he.info("fetchProgramTheme: Calling back-end for program theme");try{Kr(e),t&&Wr(t);const r=t||Oa();return yield Ln(Wn(e,r))}catch(e){throw he.error(e,"fetchProgramTheme"),e}})),ud.apply(this,arguments)}function cd(){return cd=gr((function*(e){he.info("Resending new sms code");try{const t=Yn(e);return yield Un(t)}catch(e){he.error(e,"getResendNewSmsCode")}})),cd.apply(this,arguments)}function dd(){return dd=gr((function*(e){he.info("Resending new email code");try{const t=Kn(e);return yield Un(t)}catch(e){he.error(e,"getResendNewEmailCode")}})),dd.apply(this,arguments)}const fd={collectStudentPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,email:e.email,phoneNumber:e.phoneNumber,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectSeniorPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,email:e.email,postalCode:e.postalCode,phoneNumber:e.phoneNumber,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectAgePersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,email:e.email,postalCode:""!==e.postalCode?e.postalCode:void 0,phoneNumber:""!==e.phoneNumber?e.phoneNumber:void 0,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,country:e.countryChoice?e.countryChoice.value:void 0,city:""!==e.city?e.city:void 0,address1:""!==e.address1?e.address1:void 0,metadata:e.metadata}),collectMilitaryStatus:e=>({status:e.status}),collectActiveMilitaryPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,activeDutyStartDate:e.activeDutyStartDate||void 0,email:e.email,phoneNumber:e.phoneNumber,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,country:e.countryChoice?e.countryChoice.value:void 0,metadata:e.metadata}),collectInactiveMilitaryPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,activeDutyStartDate:e.activeDutyStartDate||void 0,email:e.email,phoneNumber:e.phoneNumber,organization:e.organization,dischargeDate:e.dischargeDate,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,country:e.countryChoice?e.countryChoice.value:void 0,metadata:e.metadata}),collectFirstResponderPersonalInfo:e=>{const t={firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,email:e.email,status:e.status,postalCode:e.postalCode,phoneNumber:e.phoneNumber,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,country:e.countryChoice?e.countryChoice.value:void 0,metadata:e.metadata},r=e.statuses&&X()(e.statuses)&&e.statuses.length>0;return r&&(t.statuses=e.statuses,delete t.status),e.status||r||he.error("Either status or statuses must be provided on First Responder view model"),t},collectMedicalProfessionalPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,status:e.status,email:e.email,postalCode:e.postalCode,phoneNumber:e.phoneNumber,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata,country:e.countryChoice?e.countryChoice.value:void 0,memberId:e.memberId}),collectMemberPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,memberId:e.memberId,email:e.email,phoneNumber:e.phoneNumber,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata,address1:e.address1,city:e.city,state:e.state,postalCode:e.postalCode,country:e.countryChoice?e.countryChoice.value:void 0}),collectEmployeePersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,email:e.email,address1:e.address1,city:e.city,state:e.state,postalCode:e.postalCode,phoneNumber:e.phoneNumber,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata,country:e.countryChoice?e.countryChoice.value:void 0}),collectTeacherPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,postalCode:e.postalCode,email:e.email,phoneNumber:e.phoneNumber,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectSocialSecurityNumber:e=>{if("string"!=typeof e.socialSecurityNumber||e.socialSecurityNumber.length<1)throw new Error("Poorly formed social security number, unable to submit");return{socialSecurityNumber:Wc()(e.socialSecurityNumber,10)}},collectDriverLicensePersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,email:e.email,phoneNumber:e.phoneNumber,state:e.state,driverLicenseNumber:e.driverLicenseNumber,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectGeneralIdentityPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,email:e.email,phoneNumber:e.phoneNumber,birthDate:e.birthDate,address1:e.address1,city:e.city,state:e.state,postalCode:e.postalCode,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectHybridIdentityPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,email:e.email,phoneNumber:e.phoneNumber,birthDate:e.birthDate,address1:e.address1,city:e.city,state:e.state,postalCode:e.postalCode,driverLicenseNumber:e.driverLicenseNumber,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectLicensedProfessionalPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,email:e.email,phoneNumber:e.phoneNumber,birthDate:e.birthDate,postalCode:e.postalCode,statuses:e.statuses,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectMoverPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,email:e.email,statuses:e.statuses,address1:e.address1,postalCode:e.postalCode,phoneNumber:e.phoneNumber,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectLowIncomePersonalInfo:e=>{var t,r;return{firstName:e.firstName,lastName:e.lastName,email:e.email,phoneNumber:e.phoneNumber,birthDate:e.birthDate,address1:e.address1,city:e.city,state:e.state,postalCode:e.postalCode,statuses:e.statuses,organization:$i()(t=e.statuses).call(t,"OTHER_GOVERNMENT_ASSISTANCE")?e.organization:void 0,deviceFingerprintHash:e.deviceFingerprintHash,ebtCardNumber:$i()(r=e.statuses).call(r,"SNAP_BENEFITS")?e.ebtCardNumber:void 0,locale:e.localeChoice.value,metadata:e.metadata}},smsLoop:e=>({smsCode:e.smsCode,deviceFingerprintHash:e.deviceFingerprintHash}),emailLoop:e=>({emailToken:e.emailToken,deviceFingerprintHash:e.deviceFingerprintHash}),override:e=>({overrideCode:e.overrideCode,deviceFingerprintHash:e.deviceFingerprintHash}),cancelSocialSecurityNumber:null,sso:null,docUpload:null};function md(){return md=gr((function*(e,t,r){let n;const{docUpload:a,cancelSocialSecurityNumber:i,sso:o,cancelEmailLoop:s,cancelDocUpload:l}=ve;try{if(e===a){const e=r,{file1:a,file2:i,file3:o}=e;return n=yield Vn(t.submissionUrl,[a,i,o]),n}if(e===i||e===o)return n=yield Fn(t.cancelUrl),n;if(e===s)return n=yield Fn(t.cancelUrl),n;if(e===l)return n=yield Fn(t.submissionUrl),n;const u=fd[e](r);return n=yield Rn(t.submissionUrl,u),n}catch(e){return he.error(e,"submitFromVerificationStep"),function(){const e={verificationId:"",currentStep:"error",segment:null,subSegment:null,redirectUrl:null,locale:"en-US",errorIds:["unknownError"]};return e}()}})),md.apply(this,arguments)}function pd(){return pd=gr((function*(e,t,r){return Hr(e),ve[e]?function(e,t,r){return md.apply(this,arguments)}(e,t,r):yr().reject(new Error(`Unknown step ${e}`))})),pd.apply(this,arguments)}function hd(e,t,r){return gd.apply(this,arguments)}function gd(){return(gd=gr((function*(e,t,r){if(ve[t]){const n=fd[t](r),a=yield Rn(Zn(e,t),n);return"error"===a.currentStep&&yr().reject(new Error(`Failed to determine fields to collect: ${a}`)),a}return yr().reject(new Error(`Unknown step ${t}`))}))).apply(this,arguments)}const vd={fetchNewVerificationRequest:function(e){return ld.apply(this,arguments)},fetchExistingVerificationRequest:Gc,fetchProgramTheme:function(e,t){return ud.apply(this,arguments)},getResendNewSmsCode:function(e){return cd.apply(this,arguments)},getResendNewEmailCode:function(e){return dd.apply(this,arguments)},submitStep:function(e,t,r){return pd.apply(this,arguments)}},yd=["children"],bd=e=>{let{children:t}=e,r=Bi(e,yd);return q.createElement("a",Ri({target:"_blank",rel:"noopener noreferrer"},r),t)};var Ed=o(3104),wd=o.n(Ed);function Sd(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}let Md={};const Cd=e=>((e=>{Zr(e.name),Jr(e.callback)})(e),X()(Md[e.name])||(Md[e.name]=[]),Md[e.name].push(e),Md),Id=e=>(Zr(e),t=>{if(!(Md[e]&&X()(Md[e])&&Md[e].length>0))return()=>{};var r;d()(r=Md[e]).call(r,(e=>{e.callback&&"function"==typeof e.callback?e.callback("string"==typeof t?t:function(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Sd(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Sd(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}({},t)):he.warn("Expected typeof function for hook callback")}))}),Nd=e=>{Hr(e);const t=Di()[e];if(!t)throw he.log(`Can't find "empty" for ${e}`),new Error("Check for missing empties");return t};function Dd(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Td(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Dd(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Dd(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Ad=e=>!!(e.instantMatchAttempts&&e.instantMatchAttempts>0),xd=({previousViewModel:e,currentStep:t,locale:r,fingerprint:n,country:a})=>{const i=Nd(t);if(e)for(const t in i)e.hasOwnProperty(t)&&(i[t]=e[t]);return i&&(n&&(i.deviceFingerprintHash=n),r&&(i.localeChoice={value:r||"en-US",label:""}),a&&"country"in i&&void 0===i.country&&(i.country=a),a&&"countryChoice"in i&&void 0===i.countryChoice&&(i.countryChoice={value:a,label:""})),i},_d=function(){var e=gr((function*(e){o.e(772).then(o.bind(o,5372)).then((({ThreatMetrix:t})=>{if(void 0!==t&&t.hasOwnProperty("profile")&&"function"==typeof t.profile){const r="cnl2my47",n="content.sheerid.com";t.profile(n,r,e)}})).catch((()=>{}))}));return function(t){return e.apply(this,arguments)}}();var Od=o(2983),kd=o.n(Od);let Pd;const Rd=function(){var e=gr((function*(){return Mn().useFingerprinting?Pd?yr().resolve(Pd):kd().getPromise({}).then((e=>{const t=Cr()(e).call(e,(e=>e.value)),r=kd().x64hash128(t.join(""),31);return Pd=r,Pd})):yr().resolve(void 0)}));return function(){return e.apply(this,arguments)}}(),Fd={};let Ld=$()({},Fd);const Ud=e=>{e&&e.hasOwnProperty("optin")&&In({marketConsent:{enabled:"false"!==e.optin,required:!1,message:""}});const r=(e=>!(t()(e).length>50&&(he.error("Invalid number of metadata keys (max 50)","metadata keys"),1)))(e);if(r){const t=(e=>{const t={};for(const r in e){let n=r,a=e[r];a.length>io&&(he.warn(`Truncating metadata value '${e[r]}' for key '${n}' (max length 4096 characters).`),a=a.substring(0,io)),n.length>256&&(he.warn(`Truncating metadata key '${r}' (max length 256 characters).`),n=n.substring(0,256)),t[n]=a}return t})(e);$()(Ld,t),he.info("Added metadata: ",t),he.info("Full metadata: ",Ld)}else he.error("Metadata has not been updated. See previous error(s)")},Bd=()=>t()(Ld).length>0?ie(Ld):void 0,Vd="Verification";let zd;!function(e){e.TRUE="true",e.FALSE="false"}(zd||(zd={}));const jd=["sheerid.com"];let Hd;!function(e){e.verificationId="verificationId",e.programId="programId",e.jslibVersionActual="jslibVersionActual",e.testRequest="testRequest",e.testMode="testMode"}(Hd||(Hd={}));const $d=(e,t="")=>{window.gtag("event",Vd,{step:e,step_action:t})},qd=(e,t)=>{try{window.gtag("set","user_properties",{[e]:t})}catch(t){he.warn(`Failed to set ${e}`,t)}};function Wd(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Gd(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Wd(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Wd(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Yd=e=>function(){var t=gr((function*(t,r,n,a,i){const o={jslibVersion:window.sheerIdPubV||"",installType:ra(),installUrl:ea()||"",projectSha:window.sheerIdProjectSha||""};yield e({type:"IS_LOADING",isLoading:!0});try{const s=vd.fetchNewVerificationRequest(t,a,i,o);return Zd({dispatch:e,verificationResponsePromise:s,programId:t,segment:r,previousViewModel:n})}catch(e){he.error(e,"fetchNewVerificationRequest")}}));return function(e,r,n,a,i){return t.apply(this,arguments)}}(),Kd=e=>function(){var t=gr((function*(t,r,n,a,i=!0){i&&(yield e({type:"IS_LOADING",isLoading:!0}));try{const i=vd.fetchExistingVerificationRequest(r);return Zd({dispatch:e,verificationResponsePromise:i,programId:t,previousViewModel:a,previousVerificationResponse:n})}catch(e){he.error(e,"fetchExistingVerificationRequest")}}));return function(e,r,n,a){return t.apply(this,arguments)}}(),Zd=function(){var e=gr((function*({dispatch:e,verificationResponsePromise:t,programId:r,segment:n,previousViewModel:a,previousVerificationResponse:i}){try{const s=Rd();let l,u,c;try{l=yield t,he.info("verificationResponse received: ",l),c=Oa(a,l),u=yield vd.fetchProgramTheme(r,c)}catch(e){o=e.message,l={verificationId:null,currentStep:"error",errorIds:[o],segment:null,subSegment:null,locale:"en-US"},c=Oa(a,l),u=Ai()}const f=Ba(u),m=_a(c,f,l.segment),p=l.segment;let h=null;if(p===Ie.MILITARY){const e=oa(u.config.orgSearchUrl,"");h=yield e,he.info("orgList received: ",h)}let g=(e=>{if(e)return Ys(e,(e=>{for(let t=1;t<=3;t+=1)e[`file${t}`]=void 0}))})(a);const v=i?i.segment:n;((e,t)=>!!t&&!(!e||e===t))(v,p)&&(he.info("segment changed: ",v,p),yield nf(e)(l),g=void 0);const y=yield s,{currentStep:b}=l,E=qa(u),w=((e,t)=>e&&e.hasOwnProperty("country")&&e.country?e.country:t[0])(l,E);let S=xd({currentStep:b,fingerprint:y,locale:c,country:w,previousViewModel:g});S=((e,t)=>{if(e&&e.hasOwnProperty("organization")&&t.config.orgRemoteSource){const r=ie(e),{organization:n}=r;return n.source=t.config.orgRemoteSource,r}return e})(S,u),((e,t)=>!e||e.currentStep!==t.currentStep)(i,l)&&(Id("ON_VERIFICATION_STEP_CHANGE")(l),i&&"sso"===i.currentStep&&"sso"!==l.currentStep&&"pending"!==l.currentStep&&nl()),u.threatMetrixEnabled&&_d(l.verificationId),id(l.verificationId),S&&S.hasOwnProperty("metadata")&&(S.metadata=Gd(Gd({},S.metadata),(e=>{const t=xr(),r={};return d()(e).call(e,(e=>{t.get(e)&&(r[e]=t.get(e))})),r})(wd()(La(u)))));const M=yield m;return yr().all([e({verificationResponse:l,type:"VERIFICATION_RESPONSE"}),e({viewModel:S,type:"VIEW_MODEL"}),e({programTheme:u,type:"PROGRAM_THEME"}),e({messages:M,type:"SET_MESSAGES"}),e({type:"IS_LOADING",isLoading:!1}),e({orgList:h,type:"PRE_LOAD_ORGS"}),e({type:"FORM_VALIDATION_OPTIONS"}),e({type:"REQUIRED_METADATA_CHECK"})]).then((()=>{Id("ON_VERIFICATION_READY")(l),(e=>{try{delete Md[e]}catch(t){he.warn("Unable to remove hook",e)}})("ON_VERIFICATION_READY")}))}catch(e){throw he.error(e,"createFetchVerificationRequest"),e}var o}));return function(t){return e.apply(this,arguments)}}(),Jd=e=>function(){var t=gr((function*(t,r=!1){return yr().all([e({viewModel:t,type:"VIEW_MODEL",partial:r}),e({type:"FORM_VALIDATION_OPTIONS"})])}));return function(e){return t.apply(this,arguments)}}(),Xd=(e,t)=>function(){var r=gr((function*(r,n,a){e({type:"IS_LOADING",isLoading:!0});const i=Oa(r),o=yield vd.fetchProgramTheme(t,i),s=Ba(o);return Id("ON_FORM_LOCALE_CHANGE")(i),_a(i,s,a).then((t=>yr().all([e({messages:t,type:"SET_MESSAGES"}),e({viewModel:r,type:"VIEW_MODEL"}),e({type:"IS_LOADING",isLoading:!1})])))}));return function(e,t,n){return r.apply(this,arguments)}}(),Qd=e=>function(){var t=gr((function*(t){return e({programTheme:t,type:"PROGRAM_THEME"})}));return function(e){return t.apply(this,arguments)}}(),ef=e=>gr((function*(){return e({type:"RESET_STATE"})})),tf=e=>function(){var t=gr((function*(t){return e({fieldValidationErrors:t,type:"FIELD_VALIDATION_ERRORS"})}));return function(e){return t.apply(this,arguments)}}(),rf=e=>function(){var t=gr((function*(t,r,n){he.log(`submitStep(): submitting stepName ${t}, viewModel:`,r),window.scrollTo(0,0),he.info("Scrolling window to coordinates: 0, 0"),yield e({type:"IS_LOADING",isLoading:!0,loadingStep:t}),he.info(`submitting step ${t}`,r),(e=>{try{const{email:t}=e;t&&i()(jd).call(jd,(e=>Pr()(t).call(t,e)>-1)).length>0&&qd(Hd.testRequest,zd.TRUE)}catch(e){he.warn("Error setting testRequest dimension",e)}})(r);const a=yield vd.submitStep(t,n,r),o=((e,t)=>{const{currentStep:r}=e;let n;if(r===ve.success&&Id("ON_VERIFICATION_SUCCESS")(e),r===ve.collectActiveMilitaryPersonalInfo)n=Td(Td({},t),{},{dischargeDate:""}),delete n.dischargeDate;else if(r===ve.collectInactiveMilitaryPersonalInfo)n=t.dischargeDate?t:Td(Td({},t),{},{dischargeDate:""});else if(Ad(e))n=t;else{const{locale:r}=e;n=xd({locale:r,previousViewModel:t,currentStep:e.currentStep})}return n})(a,r),s=e({verificationResponse:a,type:"VERIFICATION_RESPONSE"}),l=e({viewModel:o,type:"VIEW_MODEL"}),u=e({type:"IS_LOADING",isLoading:!1});return Id("ON_VERIFICATION_STEP_CHANGE")(a),yr().all([s,l,u])}));return function(e,r,n){return t.apply(this,arguments)}}(),nf=e=>t=>yr().all([e({type:"VIEW_MODEL",viewModel:Nd(t.currentStep)}),e({type:"PREVIOUS_VIEW_MODEL",previousViewModel:void 0}),e({type:"FIELD_VALIDATION_ERRORS",fieldValidationErrors:Ti()})]);function af(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var of="function"==typeof Symbol&&Symbol.observable||"@@observable",sf=function(){return Math.random().toString(36).substring(7).split("").join(".")},lf={INIT:"@@redux/INIT"+sf(),REPLACE:"@@redux/REPLACE"+sf(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+sf()}};function uf(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function cf(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(af(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error(af(1));return r(cf)(e,t)}if("function"!=typeof e)throw new Error(af(2));var a=e,i=t,o=[],s=o,l=!1;function u(){s===o&&(s=o.slice())}function c(){if(l)throw new Error(af(3));return i}function d(e){if("function"!=typeof e)throw new Error(af(4));if(l)throw new Error(af(5));var t=!0;return u(),s.push(e),function(){if(t){if(l)throw new Error(af(6));t=!1,u();var r=s.indexOf(e);s.splice(r,1),o=null}}}function f(e){if(!uf(e))throw new Error(af(7));if(void 0===e.type)throw new Error(af(8));if(l)throw new Error(af(9));try{l=!0,i=a(i,e)}finally{l=!1}for(var t=o=s,r=0;r<t.length;r++){(0,t[r])()}return e}return f({type:lf.INIT}),(n={dispatch:f,subscribe:d,getState:c,replaceReducer:function(e){if("function"!=typeof e)throw new Error(af(10));a=e,f({type:lf.REPLACE})}})[of]=function(){var e,t=d;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(af(11));function r(){e.next&&e.next(c())}return r(),{unsubscribe:t(r)}}})[of]=function(){return this},e},n}function df(e,t){return function(){return t(e.apply(this,arguments))}}var ff=o(2022),mf=o.n(ff);function pf(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function hf(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=pf(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=pf(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const gf=ha()({programId:void 0,programTheme:void 0,isLoading:!0,isErrored:!1,viewModel:void 0,previousViewModel:void 0,previousVerificationResponse:void 0,verificationResponse:void 0,fieldValidationErrors:Ti(),messages:void 0,orgList:void 0,formValidationOptions:{}}),vf=()=>ie(gf),yf=(e=vf(),t)=>{var r;switch(t.type){case"PROGRAM_ID":return qd(Hd.programId,t.programId),hf(hf({},e),{},{programId:t.programId});case"VERIFICATION_RESPONSE":let n;return n=(!e.verificationResponse||e.verificationResponse.currentStep!==ve.collectMilitaryStatus&&e.verificationResponse.currentStep!==ve.sso&&e.verificationResponse.currentStep!==ve.docUpload)&&e.previousVerificationResponse?e.previousVerificationResponse:e.verificationResponse,(e=>{try{var t;const r=e.errorIds&&X()(e.errorIds)?va()(t=e.errorIds).call(t).join(","):void 0;$d(e.currentStep,r)}catch(e){he.warn("Failed recordVerificationResponse event",e)}})(t.verificationResponse),hf(hf({},e),{},{previousVerificationResponse:n,previousViewModel:e.viewModel,verificationResponse:t.verificationResponse});case"SET_MESSAGES":return hf(hf({},e),{},{messages:t.messages});case"FIELD_VALIDATION_ERRORS":return hf(hf({},e),{},{fieldValidationErrors:t.fieldValidationErrors});case"VIEW_MODEL":const a=hf({},e);if(t.viewModel&&(t.partial?a.viewModel=se({},e.viewModel,t.viewModel):a.viewModel=hf({},t.viewModel)),t.viewModel&&t.viewModel.metadata){Ud(t.viewModel.metadata);const e=Bd();a.viewModel.metadata=e}return((e,t)=>{try{t.verificationResponse.currentStep===ve.docUpload&&void 0===e.viewModel.file1&&void 0!==t.viewModel.file1&&$d(ve.docUpload,"addFiles")}catch(e){he.warn("Failed addFiles event",e)}})(e,a),a;case"PRE_LOAD_ORGS":return hf(hf({},e),{},{orgList:t.orgList});case"PREVIOUS_VIEW_MODEL":return hf(hf({},e),{},{previousViewModel:t.previousViewModel});case"PROGRAM_THEME":return qd(Hd.testMode,t.programTheme.isTestMode?zd.TRUE:zd.FALSE),hf(hf({},e),{},{programTheme:t.programTheme});case"FORM_VALIDATION_OPTIONS":return hf(hf({},e),{},{formValidationOptions:{maxAge:e.verificationResponse.maxAge||e.programTheme.config.maxAge,minAge:e.verificationResponse.minAge||e.programTheme.config.minAge,smsLoopEnabled:e.programTheme.smsLoopEnabled,strictMilitaryValidationEnabled:e.programTheme.strictMilitaryValidationEnabled,currentStep:e.verificationResponse.currentStep,viewModel:e.viewModel}});case"REQUIRED_METADATA_CHECK":if(!$i()(be).call(be,e.verificationResponse.currentStep))return e;const i=La(e.programTheme),o=Bd();return hf(hf({},e),{},{overrideStep:i.enabled&&!mf()(r=i.requiredKeys||[]).call(r,(e=>o.hasOwnProperty(e)))?"missingRequiredMetadata":void 0});case"IS_LOADING":return hf(hf({},e),{},{isLoading:t.isLoading,loadingStep:t.isLoading?t.loadingStep:void 0});case"IS_ERRORED":return hf(hf({},e),{},{isErrored:t.isErrored});case"RESET_STATE":return hf(hf({},ie(vf())),{},{programId:e.programId});case"FORCE_UPDATE":return ie(e);default:return e}};let bf;const Ef=()=>(bf||(bf=cf(yf,window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__()),he.init(bf)),bf),wf=Ef(),Sf=(e,t={partial:!0})=>{const r=wf.getState(),n=()=>{const r=ie(e);he.info("Setting viewModel",r),Jd(wf.dispatch)(r,t.partial)},a=oe((()=>e.localeChoice.value));a&&In({locale:a}),r.isLoading?Cd({name:"ON_VERIFICATION_READY",callback:()=>{n()}}):n()};var Mf=o(6937),Cf=o.n(Mf);function If(e,t){return If=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},If(e,t)}function Nf(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,If(e,t)}var Df=q.createContext(null);var Tf=function(e){function t(t){var r;r=e.call(this,t)||this;var n=t.store;return r.state={storeState:n.getState(),store:n},r}Nf(t,e);var r=t.prototype;return r.componentDidMount=function(){this._isMounted=!0,this.subscribe()},r.componentWillUnmount=function(){this.unsubscribe&&this.unsubscribe(),this._isMounted=!1},r.componentDidUpdate=function(e){this.props.store!==e.store&&(this.unsubscribe&&this.unsubscribe(),this.subscribe())},r.subscribe=function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){var r=t.getState();e._isMounted&&e.setState((function(e){return e.storeState===r?null:{storeState:r}}))}));var r=t.getState();r!==this.state.storeState&&this.setState({storeState:r})},r.render=function(){var e=this.props.context||Df;return q.createElement(e.Provider,{value:this.state},this.props.children)},t}(q.Component);Tf.propTypes={store:$e().shape({subscribe:$e().func.isRequired,dispatch:$e().func.isRequired,getState:$e().func.isRequired}),context:$e().object,children:$e().any};const Af=Tf;function xf(){return xf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xf.apply(this,arguments)}function _f(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}var Of=o(5996);function kf(e,t){void 0===t&&(t={});var r=t,n=r.getDisplayName,a=void 0===n?function(e){return"ConnectAdvanced("+e+")"}:n,i=r.methodName,o=void 0===i?"connectAdvanced":i,s=r.renderCountProp,l=void 0===s?void 0:s,u=r.shouldHandleStateChanges,c=void 0===u||u,d=r.storeKey,f=void 0===d?"store":d,m=r.withRef,p=void 0!==m&&m,h=r.forwardRef,g=void 0!==h&&h,v=r.context,y=void 0===v?Df:v,b=_f(r,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);Ye()(void 0===l,"renderCountProp is removed. render counting is built into the latest React dev tools profiling extension"),Ye()(!p,"withRef is removed. To access the wrapped instance, use a ref on the connected component");var E="To use a custom Redux store for specific components, create a custom React context with React.createContext(), and pass the context object to React Redux's Provider and specific components like: <Provider context={MyContext}><ConnectedComponent context={MyContext} /></Provider>. You may also pass a {context : MyContext} option to connect";Ye()("store"===f,"storeKey has been removed and does not do anything. "+E);var w=y;return function(t){var r=t.displayName||t.name||"Component",n=a(r),i=xf({},b,{getDisplayName:a,methodName:o,renderCountProp:l,shouldHandleStateChanges:c,storeKey:f,displayName:n,wrappedComponentName:r,WrappedComponent:t}),s=b.pure,u=q.Component;s&&(u=q.PureComponent);var d=function(r){function a(t){var n,a,i,o,l,u,c,d,m,p,h;return n=r.call(this,t)||this,Ye()(g?!t.wrapperProps[f]:!t[f],"Passing redux store in props has been removed and does not do anything. "+E),n.selectDerivedProps=function(t,r,n,d){if(s&&a===r&&i===t)return o;n===l&&u===d||(l=n,u=d,c=e(n.dispatch,d)),a=r,i=t;var f=c(t,r);return o=f},n.selectChildElement=function(e,t,r){return t===d&&r===m&&h===e||(d=t,m=r,h=e,p=q.createElement(e,xf({},t,{ref:r}))),p},n.indirectRenderWrappedComponent=n.indirectRenderWrappedComponent.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n)),n}Nf(a,r);var o=a.prototype;return o.indirectRenderWrappedComponent=function(e){return this.renderWrappedComponent(e)},o.renderWrappedComponent=function(e){Ye()(e,'Could not find "store" in the context of "'+n+'". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to '+n+" in connect options.");var r,a=e.storeState,o=e.store,s=this.props;g&&(s=this.props.wrapperProps,r=this.props.forwardedRef);var l=this.selectDerivedProps(a,s,o,i);return this.selectChildElement(t,l,r)},o.render=function(){var e=this.props.context&&this.props.context.Consumer&&(0,Of.isContextConsumer)(q.createElement(this.props.context.Consumer,null))?this.props.context:w;return q.createElement(e.Consumer,null,this.indirectRenderWrappedComponent)},a}(u);if(d.WrappedComponent=t,d.displayName=n,g){var m=q.forwardRef((function(e,t){return q.createElement(d,{wrapperProps:e,forwardedRef:t})}));return m.displayName=n,m.WrappedComponent=t,We()(m,t)}return We()(d,t)}}var Pf=Object.prototype.hasOwnProperty;function Rf(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function Ff(e,t){if(Rf(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var a=0;a<r.length;a++)if(!Pf.call(t,r[a])||!Rf(e[r[a]],t[r[a]]))return!1;return!0}function Lf(e){return function(t,r){var n=e(t,r);function a(){return n}return a.dependsOnOwnProps=!1,a}}function Uf(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function Bf(e,t){return function(t,r){r.displayName;var n=function(e,t){return n.dependsOnOwnProps?n.mapToProps(e,t):n.mapToProps(e)};return n.dependsOnOwnProps=!0,n.mapToProps=function(t,r){n.mapToProps=e,n.dependsOnOwnProps=Uf(e);var a=n(t,r);return"function"==typeof a&&(n.mapToProps=a,n.dependsOnOwnProps=Uf(a),a=n(t,r)),a},n}}const Vf=[function(e){return"function"==typeof e?Bf(e):void 0},function(e){return e?void 0:Lf((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?Lf((function(t){return function(e,t){if("function"==typeof e)return df(e,t);if("object"!=typeof e||null===e)throw new Error(af(16));var r={};for(var n in e){var a=e[n];"function"==typeof a&&(r[n]=df(a,t))}return r}(e,t)})):void 0}];const zf=[function(e){return"function"==typeof e?Bf(e):void 0},function(e){return e?void 0:Lf((function(){return{}}))}];function jf(e,t,r){return xf({},r,e,t)}const Hf=[function(e){return"function"==typeof e?function(e){return function(t,r){r.displayName;var n,a=r.pure,i=r.areMergedPropsEqual,o=!1;return function(t,r,s){var l=e(t,r,s);return o?a&&i(l,n)||(n=l):(o=!0,n=l),n}}}(e):void 0},function(e){return e?void 0:function(){return jf}}];function $f(e,t,r,n){return function(a,i){return r(e(a,i),t(n,i),i)}}function qf(e,t,r,n,a){var i,o,s,l,u,c=a.areStatesEqual,d=a.areOwnPropsEqual,f=a.areStatePropsEqual,m=!1;function p(a,m){var p,h,g=!d(m,o),v=!c(a,i);return i=a,o=m,g&&v?(s=e(i,o),t.dependsOnOwnProps&&(l=t(n,o)),u=r(s,l,o)):g?(e.dependsOnOwnProps&&(s=e(i,o)),t.dependsOnOwnProps&&(l=t(n,o)),u=r(s,l,o)):v?(p=e(i,o),h=!f(p,s),s=p,h&&(u=r(s,l,o)),u):u}return function(a,c){return m?p(a,c):(s=e(i=a,o=c),l=t(n,o),u=r(s,l,o),m=!0,u)}}function Wf(e,t){var r=t.initMapStateToProps,n=t.initMapDispatchToProps,a=t.initMergeProps,i=_f(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),o=r(e,i),s=n(e,i),l=a(e,i);return(i.pure?qf:$f)(o,s,l,e,i)}function Gf(e,t,r){for(var n=t.length-1;n>=0;n--){var a=t[n](e);if(a)return a}return function(t,n){throw new Error("Invalid value of type "+typeof e+" for "+r+" argument when connecting component "+n.wrappedComponentName+".")}}function Yf(e,t){return e===t}const Kf=(Xf=(Jf=void 0===Zf?{}:Zf).connectHOC,Qf=void 0===Xf?kf:Xf,em=Jf.mapStateToPropsFactories,tm=void 0===em?zf:em,rm=Jf.mapDispatchToPropsFactories,nm=void 0===rm?Vf:rm,am=Jf.mergePropsFactories,im=void 0===am?Hf:am,om=Jf.selectorFactory,sm=void 0===om?Wf:om,function(e,t,r,n){void 0===n&&(n={});var a=n,i=a.pure,o=void 0===i||i,s=a.areStatesEqual,l=void 0===s?Yf:s,u=a.areOwnPropsEqual,c=void 0===u?Ff:u,d=a.areStatePropsEqual,f=void 0===d?Ff:d,m=a.areMergedPropsEqual,p=void 0===m?Ff:m,h=_f(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),g=Gf(e,tm,"mapStateToProps"),v=Gf(t,nm,"mapDispatchToProps"),y=Gf(r,im,"mergeProps");return Qf(sm,xf({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:g,initMapDispatchToProps:v,initMergeProps:y,pure:o,areStatesEqual:l,areOwnPropsEqual:c,areStatePropsEqual:f,areMergedPropsEqual:p},h))});var Zf,Jf,Xf,Qf,em,tm,rm,nm,am,im,om,sm,lm=o(7373),um=o.n(lm);const cm=({id:e="new",isErrored:t,onChange:r,value:n,ariaLabelledby:a})=>{const i=a?{"aria-labelledby":a}:{},o=(0,q.useRef)(null),s=()=>{o.current&&r(o.current.checked)};return(0,q.useEffect)((()=>{Qs("optIn",o.current)})),q.createElement("div",{className:"sid-checkbox"},q.createElement("input",{className:"sid-checkbox__input",id:`sid-opt-in__${e}`,name:"sid-opt-in",type:"checkbox",checked:n,ref:o,onChange:e=>r(e.target.checked),"aria-hidden":!0}),q.createElement("span",Ri({},i,{className:"sid-checkbox__input-like "+(t?"sid-checkbox__input-like--error":""),onClick:s,onKeyUp:s,role:"checkbox","aria-checked":n,tabIndex:0,"data-testid":"stylable-checkbox-input"})))},dm=({isErrored:e,isRequired:t,onChange:r,value:n,verificationService:a})=>{const i="marketConsentValue",o=q.useCallback((e=>{if(t&&!e)return"marketConsentRequired"}),[t]),s=(a&&a.programTheme&&Ua(a.programTheme)||{}).message||"Yes, send me {company} marketing communications about exclusive sales, special offers, latest products and more";return q.useEffect((()=>{Br(i,o)}),[i,o]),q.useEffect((()=>{Br(i,o)}),[i,o]),q.createElement("div",{className:"sid-field sid-opt-in"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement("div",{className:"sid-l-position"},q.createElement("label",{htmlFor:"sid-opt-in__optIn"},q.createElement(cm,{id:"optIn",isErrored:e,onChange:r,value:n}),q.createElement("div",{className:"sid-field__label sid-checkbox__label"},a?q.createElement(or,{id:"companyName",defaultMessage:"{Company}"},(e=>q.createElement(or,{id:"optIn",values:{company:e},defaultMessage:s}))):q.createElement(or,{id:"optIn",defaultMessage:s})),e?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidOptIn",defaultMessage:"Must be selected to continue"})):null)))},fm=({verificationService:e,isErrored:t,onChange:r,viewModel:n})=>{const{programTheme:a}=e,i=Ua(a);return i.enabled?q.createElement(dm,{isErrored:t,isRequired:i.required,verificationService:e,value:n.metadata&&n.metadata.marketConsentValue||!1,onChange:e=>r(e)}):null},mm=({verificationService:e,fallbackLogo:t})=>{const r=za(e.programTheme);return r?q.createElement("div",{className:"sid-logo sid-l-space-top-md"},q.createElement(or,{id:"companyName",defaultMessage:"{Company}"},(e=>q.createElement("img",{className:"sid-logo__img",alt:`${e} logo`,src:r})))):t||null};var pm=o(8714),hm=o.n(pm);const gm=Ft((({value:e,isErrored:t,onChange:r,explanation:n,onCarrierConsentChange:a,intl:i,isRequired:o=!1,onKeyDown:s,placeholder:l="",displaySmsConsent:u=!0,requireCarrierConsent:c=!1,carrierConsent:d=!1,internationalSupport:f=!1,selectedCountryCode:m="us"})=>{const p=(0,q.useRef)(null);return(0,q.useEffect)((()=>{Qs("phoneNumber",p.current)})),q.createElement("div",{className:"sid-field sid-phone-number"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"phoneNumber",defaultMessage:"Mobile Number"}),htmlForLabel:"sid-phone-number",id:"sid-phone-number-label",displayClasses:`sid-field__label-with-explanation${l&&"sid-h-screen-reader-only"}`,isRequired:o},n||(o?"":q.createElement(or,{id:"phoneNumberExplanation",defaultMessage:"Optional - get text notifications of status updates"}))),q.createElement(q.Fragment,null,q.createElement(hm(),{country:m.toLowerCase(),containerClass:"react-tel-input sid-phone-number__wrapper",inputClass:`sid-text-input sid-phone-number__field sid-phone-number__field--intl ${o?"sid-text-input--required":""} sid-l-full-width ${t?"sid-text-input--error":""}`,autoFormat:!1,value:e,onChange:e=>r(`+${e}`),placeholder:l,ref:p,inputProps:{id:"sid-phone-number",name:"sid-phone-number",onKeyDown:e=>s?s(e):void 0},"aria-labelledby":"sid-phone-number-label",countryCodeEditable:!1})),t?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidPhoneNumber",defaultMessage:"Invalid mobile number"})):null,u&&q.createElement("div",{className:"sid-h-small-text sid-l-space-top-md sid-sms-consent"},q.createElement(or,{id:"phoneNumberWarnMessage1",defaultMessage:"By submitting this form with a mobile number, you consent to receive SMS/text messages for verification purposes. Standard phone carrier text messaging (SMS) and data rates may apply."})),c&&q.createElement("div",{className:"sid-l-position sid-carrier-disclosure-consent"},q.createElement("div",{className:"sid-h-small-text sid-l-space-top-md"},q.createElement("label",{htmlFor:"sid-opt-in__carrier-consent"},q.createElement(cm,{id:"carrier-consent",isErrored:t,value:d,onChange:e=>a(e)}),q.createElement("div",{className:"sid-field__label sid-checkbox__label"},q.createElement(or,{id:"phoneNumberWarnMessage2",defaultMessage:"You authorize your mobile service provider to disclose your mobile number and certain account information to SheerID, solely for identity verification and to avoid fraud."}))))))}));var vm=o(6777);const ym=({getItemProps:e,highlightedIndex:t,organizations:r,itemToString:n,children:a,maxItemsToDisplay:o=26})=>{var s;const l=q.Children.count(a),u=42*(r.length+l);return q.createElement("div",{className:"sid-organization-list__menu",tabIndex:-1},q.createElement("div",{style:{height:Math.min(u,280)}},Cr()(s=i()(r).call(r,((e,t)=>t<=o-1))).call(s,((r,a)=>((r,a)=>q.createElement("div",Ri({className:"sid-organization-list__item "+(t===a?"sid-organization-list__item--highlighted":""),key:a},e({index:a,item:r})),n(r)))(r,a))),a))};function bm(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Em(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=bm(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=bm(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const wm=({urlAddSchoolForm:e,programId:t,locale:r=tn})=>q.createElement(bd,{className:"sid-organization-list__item sid-organization-list__request-school sid-link",href:`${e}?pid=${t}&locale=${r}`},q.createElement(or,{id:"requestSchool",defaultMessage:"Don't see your school? Request to have it added"}));class Sm extends q.Component{constructor(e){var t;super(e),t=this,b(this,"mounted",!1),b(this,"fetch",gr((function*(){const{orgSearchUrl:e,searchValue:r,countryCode:n,orgSearchTags:a}=t.props;t.mounted&&(yield oa(e,r,n,a).then((e=>{if(e){const{onLoaded:r}=t.props;r(e),t.setState({organizations:e,loading:!1})}})))}))),b(this,"debouncedFetch",(0,vm.debounce)(this.fetch,200)),this.state={isErrored:null,loading:!1,organizations:null}}reset(e){this.setState(Em(Em({},Sm.initialState),e))}componentDidMount(){const{minimumSearchValueLength:e,searchValue:t}=this.props;this.mounted=!0,t.length>=e?(this.reset({loading:!0}),this.debouncedFetch()):he.info(`No organizations fetched. Search term "${t}" is less than ${e} characters.`)}componentDidUpdate(e){const{minimumSearchValueLength:t,searchValue:r}=this.props;e.searchValue!==r&&(r.length>=t?(this.reset({loading:!0}),this.debouncedFetch()):(this.reset({organizations:null,loading:!1}),he.info(`No organizations fetched. Search term "${r}" is less than ${t} characters.`)))}componentWillUnmount(){this.mounted=!1}render(){const{isErrored:e,loading:t,organizations:r}=this.state,{getItemProps:n,getMenuProps:a,highlightedIndex:i,itemToString:o,searchValue:s,programId:l,locale:u,urlAddSchoolForm:c,openOrgSearchEnabled:d}=this.props;return t?q.createElement("div",{className:"sid-organization-list__menu"},q.createElement("div",{className:"sid-organization-list__message"},q.createElement(or,{id:"loading",defaultMessage:"Loading..."}))):e?q.createElement("div",{className:"sid-organization-list__menu"},q.createElement("div",{className:"sid-organization-list__message"},q.createElement(or,{id:"errorId.unknownError",defaultMessage:"An unknown error occurred"}))):r&&r.length>0?q.createElement(ym,{getItemProps:n,getMenuProps:a,highlightedIndex:i,itemToString:o,organizations:r},s&&!d&&c&&(!r||r.length<26)&&q.createElement(wm,{urlAddSchoolForm:c,programId:l,locale:u})):!s||d||!c||r&&0!==r.length?null:q.createElement("div",{className:"sid-organization-list__menu"},q.createElement(wm,{urlAddSchoolForm:c,programId:l,locale:u}))}}b(Sm,"initialState",{isErrored:null,loading:!1,organizations:null});const Mm=Sm,Cm=({onChange:e,programId:t,className:r,countryCode:n,disabled:a,minimumSearchValueLength:i,placeholder:o,value:s,inputHtmlId:l,openOrgSearchEnabled:u,orgSearchUrl:c,orgSearchTags:d,isRequired:f,locale:m,urlAddSchoolForm:p})=>{const[h,g]=(0,q.useState)(""),[v,y]=(0,q.useState)([]);Jr(e);const b=e=>e?e.name:"",{isOpen:E,highlightedIndex:w,getMenuProps:S,getItemProps:M,getInputProps:C,getComboboxProps:I}=Xu({itemToString:b,id:l,items:v,onStateChange:t=>((e,t,r)=>{const n=e.hasOwnProperty("inputValue")&&e.type===Xu.stateChangeTypes.InputChange;if(e.type===Xu.stateChangeTypes.FunctionSelectItem){const{selectedItem:r}=e;t(r)}else n?t({id:0,name:e.inputValue}):e.type===Xu.stateChangeTypes.InputBlur&&(r||t({id:void 0,name:""}))})(t,e,u),onInputValueChange:({inputValue:e})=>{g(e)},selectedItem:s,onSelectedItemChange:({selectedItem:t})=>{e(t)}}),N={"aria-labelledby":`${l}-label`},D=(0,q.useRef)(null);return(0,q.useEffect)((()=>{Qs("organization",D.current)})),q.createElement(q.Fragment,null,q.createElement("div",Ri({className:"sid-organization-list"},I(N)),q.createElement("input",Ri({},C({ref:D}),{className:`sid-l-full-width sid-hidden-placeholder sid-text-input ${r}`,disabled:a,id:l,placeholder:o,"aria-required":f})),q.createElement("div",S(),E?q.createElement(Mm,{countryCode:n,getItemProps:M,highlightedIndex:w,itemToString:b,minimumSearchValueLength:i,onLoaded:e=>y(e),programId:t,searchValue:h,orgSearchUrl:c,orgSearchTags:d,locale:m,urlAddSchoolForm:p,openOrgSearchEnabled:u}):null)))},Im=Ft((({onChange:e,value:t,isErrored:r,verificationService:n,intl:a,placeholder:i="",isRequired:o=!0})=>{var s;const{programId:l,viewModel:u,verificationResponse:c}=n,d=Oa(u,c),f=j()(s=Mn().urlAddSchoolForm||"").call(s),m=oe((()=>n.viewModel.countryChoice.value)),p=Za(n.programTheme,m);return q.createElement("div",{className:"sid-field sid-college-name-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"schoolName",defaultMessage:"University / College name"}),htmlForLabel:"sid-college-name",id:"sid-college-name-label",displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(Cm,{className:r?"sid-text-input--error":"",countryCode:m,minimumSearchValueLength:Mn().minimumOrganizationSearchLength,onChange:t=>e(t),placeholder:i||a.formatHTMLMessage({id:"schoolNamePlaceholder",defaultMessage:"University / College name"}),programId:l,value:t,inputHtmlId:"sid-college-name",openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl,orgSearchTags:p,locale:d,urlAddSchoolForm:f,isRequired:o}),r?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)})),Nm=e=>{if(e)return e<10?`0${e}`:e.toString()};const Dm=Ft((({onChange:e,intl:t,isErrored:r,isRequired:n=!0,value:a="2000-01-01",errorMsg:i,label:o,fieldName:s,fieldId:l,mode:u="date",locale:c=tn})=>{const d=`sid-${l}`,f=a.split("-"),m=Wc()(f[0],10)||void 0,p=Wc()(f[1],10)||void 0,h="month"===u?1:Wc()(f[2],10)||void 0,g=(new Date).getFullYear(),v=[{value:"1",label:t.formatHTMLMessage({id:"dateTime.january",defaultMessage:"January"})},{value:"2",label:t.formatHTMLMessage({id:"dateTime.february",defaultMessage:"February"})},{value:"3",label:t.formatHTMLMessage({id:"dateTime.march",defaultMessage:"March"})},{value:"4",label:t.formatHTMLMessage({id:"dateTime.april",defaultMessage:"April"})},{value:"5",label:t.formatHTMLMessage({id:"dateTime.may",defaultMessage:"May"})},{value:"6",label:t.formatHTMLMessage({id:"dateTime.june",defaultMessage:"June"})},{value:"7",label:t.formatHTMLMessage({id:"dateTime.july",defaultMessage:"July"})},{value:"8",label:t.formatHTMLMessage({id:"dateTime.august",defaultMessage:"August"})},{value:"9",label:t.formatHTMLMessage({id:"dateTime.september",defaultMessage:"September"})},{value:"10",label:t.formatHTMLMessage({id:"dateTime.october",defaultMessage:"October"})},{value:"11",label:t.formatHTMLMessage({id:"dateTime.november",defaultMessage:"November"})},{value:"12",label:t.formatHTMLMessage({id:"dateTime.december",defaultMessage:"December"})}],y=(e,t,r)=>!(r&&""!==r||t&&""!==t||e&&""!==e),b=t=>{if(y(m,t,h))return void e("");""!==t&&null!==t||e(`${m}--${h}`);const r=Wc()(t,10);"number"==typeof r&&r>=1&&r<=12?e(`${m}-${Nm(t)}-${Nm(h)}`):he.warn(`Value '${r}' is an invalid month`)},E=()=>{e(h||p||m?`${m}-${Nm(p)}-${Nm(h)}`:"")},w=`${d}__month`,S=`${d}-label`,M=q.createElement("div",{className:"sid-field-error"},i),C=q.createElement(rc,{className:`${d}__month sid-date__month`,fieldId:s,inputId:w,fieldLabelId:S,isErrored:r,options:v,onChange:e=>{b(e?e.value:null)},placeholder:t.formatHTMLMessage({id:"dateTime.month",defaultMessage:"Month"}),suppressPlaceholder:!1,value:p?v[p-1]:void 0,isRequired:n,buttonRef:"inputSelectButtonBirthDate"}),I="date"===u&&q.createElement(Sl,{className:`${d}__day sid-date__day sid-text-input sid-text-input--required ${r?"sid-text-input--error":""}`,id:`${l}-day`,isErrored:r,min:1,max:31,name:`${d}-day`,onChange:t=>(t=>{if(y(m,p,t))return void e("");""===t&&e(`${m}-${p}-`);const r=Wc()(t,10);"number"==typeof r&&r>=1&&r<=31?e(`${m}-${Nm(p)}-${Nm(r)}`):he.warn(`Value '${r}' is an invalid day`)})(t.target.value),onBlur:E,pattern:"\\d*",placeholder:t.formatHTMLMessage({id:"dateTime.day",defaultMessage:"Day"}),hidePlaceholder:!1,"aria-label":t.formatHTMLMessage({id:"dateTime.day",defaultMessage:"Day"}),"aria-labelledby":d,"aria-required":n,refId:`${s}Day`,type:"text",value:h||""});return q.createElement("div",{className:`sid-field ${d}`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:o,htmlForLabel:w,id:S,displayClasses:"sid-used-for-verification-purposes-label sid-field__label-with-explanation",isRequired:n},q.createElement(or,{id:"verificationPurposesOnly",defaultMessage:"Used for verification purposes only"})),q.createElement("div",{className:`${d}__inputs sid-date__inputs`},function(e){const t=new Date(2222,0,3);try{var r;const n=new Intl.DateTimeFormat(e).format(t);return Z()(r=n.replace("0","")).call(r,3..toString())}catch(e){return!1}}(c)?q.createElement(q.Fragment,null,I,C):q.createElement(q.Fragment,null,C,I),q.createElement(Sl,{className:`${d}__year sid-date__year sid-text-input sid-text-input--required ${r?"sid-text-input--error":""}`,id:`${l}-year`,name:`${d}-year`,type:"text",isErrored:r,min:1900,max:g,value:m||"",pattern:"\\d*",placeholder:t.formatHTMLMessage({id:"dateTime.year",defaultMessage:"Year"}),hidePlaceholder:!1,"aria-label":t.formatHTMLMessage({id:"dateTime.year",defaultMessage:"Year"}),"aria-labelledby":d,"aria-required":n,refId:`${s}Year`,onChange:t=>(t=>{if(y(t,p,h))return void e("");""===t&&e(`-${p}-${h}`);const r=Wc()(t,10);"number"==typeof r&&r>=1&&r<=g?e(`${r}-${Nm(p)}-${Nm(h)}`):he.warn(`Value '${r}' is an invalid year`)})(t.target.value),onBlur:E})),r?M:null)})),Tm=({onChange:e,isErrored:t,isRequired:r=!0,errorId:n,value:a="2000-01-01",locale:i=tn})=>q.createElement(Dm,{value:a,label:q.createElement(or,{id:"birthDate",defaultMessage:"Date of birth"}),onChange:e,fieldId:"birthdate",fieldName:"birthDate",isErrored:t,isRequired:r,locale:i,errorMsg:n?q.createElement(or,{id:`errorId.${n}`,defaultMessage:"Invalid birth date"}):q.createElement(or,{id:"errorId.invalidBirthDate",defaultMessage:"Invalid birth date"})});var Am=o(249),xm=o.n(Am),_m=o(4649),Om=o.n(_m);const km=e=>t=>{const r=function(e,t){var r;if("string"!=typeof e)return;const n=(new DOMParser).parseFromString(e,"text/html");return d()(r=xm()(t)).call(r,(([e,t])=>{const r=n.querySelector(e);if(!r)return;let a;const i=r.innerHTML;if(a="function"==typeof t?t(i):t,a){if("string"==typeof a)r.insertAdjacentHTML("afterend",a);else{const e=Om().renderToStaticMarkup(q.createElement(q.Fragment,null,a));r.insertAdjacentHTML("afterend",e)}r.parentElement.removeChild(r)}})),n.body.innerHTML}(t,e);return q.createElement("span",{dangerouslySetInnerHTML:{__html:r}})},Pm=({verificationService:e,linkText:t})=>{const{segment:r}=e.verificationResponse,{programId:n,programTheme:a}=e;if(r){const r=Ka(a,0,n,Oa(e.viewModel));return q.createElement(bd,{className:"sid-faq sid-link",href:r},t||q.createElement(or,{id:"getHelp",defaultMessage:"Get help"}))}return null},Rm=({verificationService:e,children:t})=>{const{viewModel:r}=e,n=oe((()=>r.countryChoice.value),void 0),a=Oa(r),i=q.useRef({}),o=/(<div[^>]+>|<div>|<\/div>)|(<span[^>]+>|<span>|<\/span>)|(<p[^>]+>|<p>|<\/p>)/gm;return q.useEffect((()=>{if(!i.current)return;const e=i.current.innerHTML.replace(o,"");Sf({metadata:{submissionOptIn:e}})}),[i,a]),q.createElement("div",{className:"sid-footer sid-h-small-text sid-l-space-top-md"},!t&&q.createElement("div",{className:"sid-footer__shield"},q.createElement("img",{title:"Powered by SheerID",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/shield-check.svg"})),q.createElement("div",null,q.createElement("div",{className:"sid-footer__one",ref:i},t||q.createElement("div",{className:"sid-footer__text",tabIndex:0},q.createElement(or,{id:"footerText",defaultMessage:"By submitting the personal information above, I acknowledge that my personal information is being collected under the <privacyPolicy>privacy policy</privacyPolicy> of the business from which I am seeking a discount, and I understand that my personal information will be shared with SheerID as a processor/third-party service provider in order for SheerID to confirm my eligibility for a special offer. <aboutSheerID>More about SheerID</aboutSheerID>."},km({privacyPolicy:t=>{const r=ja(e.programTheme);return r?q.createElement(bd,{className:"sid-privacy-policy sid-link",href:r},t):t},aboutSheerID:t=>q.createElement(Pm,{verificationService:e,linkText:t})})),"string"==typeof n&&n.length>0&&"US"!==n?q.createElement(or,{id:"informationTransferredToUS",defaultMessage:"Your information will be transferred to the United States and will be treated according to SheerID’s privacy policy."}):null))))};const Fm=(e,t)=>{const r=e===ve.docUpload?"docUpload":"default",n={student:{default:vc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:vc.step.docUpload.howDoesVerifyingWorkDetails},teacher:{default:yc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:yc.step.docUpload.howDoesVerifyingWorkDetails},member:{default:bc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:bc.step.docUpload.howDoesVerifyingWorkDetails},military:{default:pc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:pc.step.docUpload.howDoesVerifyingWorkDetails},senior:{default:hc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:hc.step.docUpload.howDoesVerifyingWorkDetails},firstResponder:{default:mc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:mc.step.docUpload.howDoesVerifyingWorkDetails},medical:{default:Ec.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:Ec.step.docUpload.howDoesVerifyingWorkDetails},age:{default:gc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:gc.step.docUpload.howDoesVerifyingWorkDetails},employment:{default:wc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:wc.step.personalInfo.howDoesVerifyingWorkDetails},identity:{default:Mc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:Mc.step.docUpload.howDoesVerifyingWorkDetails},licensedProfessional:{default:Cc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:Cc.step.docUpload.howDoesVerifyingWorkDetails},recentMover:{default:Ic.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:Ic.step.docUpload.howDoesVerifyingWorkDetails},lowIncome:{default:Nc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:Nc.step.docUpload.howDoesVerifyingWorkDetails}};qr(t);return oe((()=>n[t][r]),"-")},Lm=({verificationService:e,initialVisibility:t=!1})=>{const[r,n]=(0,q.useState)(t),{segment:a}=e.verificationResponse,i=e.verificationResponse.currentStep,o=`${Fm(i,a)}`;let s;const l=()=>{n(!0),clearTimeout(s)},u=()=>{s=cr()((()=>n(!1)))};return q.createElement("div",{className:"sid-how-verify-works",onMouseEnter:l,onMouseLeave:u},q.createElement("a",{href:"#",className:"sid-link sid-how-does-verifying-work-hoverable","aria-expanded":r,onClick:()=>r?u():l(),"aria-describedby":r?"how-does-verifying-work-tooltip":null,role:"button"},q.createElement(or,{id:"howDoesVerifyingWork",defaultMessage:"How does verifying work?"})),r?q.createElement("div",{className:"sid-how-verify-works__container"},q.createElement("div",{className:"sid-how-verify-works__caret"}),q.createElement("div",{className:"sid-how-verify-works__tooltip","aria-live":"polite",role:"tooltip",id:"how-does-verifying-work"},q.createElement(or,{id:"companyName",defaultMessage:"{Company}"},(e=>q.createElement(or,{id:`step.${i===ve.docUpload?"docUpload":"personalInfo"}.howDoesVerifyingWorkDetails`,defaultMessage:o,values:{companyName:e}})))," ",q.createElement(Pm,{verificationService:e}))):null)},Um=Ft((({verificationService:e,viewModelDraftDecorator:t,intl:r,viewModel:n,nextFocusField:a})=>{n&&he.warn("viewModel prop is deprecated, use verificationService.viewModel instead"),a&&he.warn("nextFocusField prop is deprecated");const i=oe((()=>n.localeChoice.value),"en-US"),o=((e,t,r)=>{var n;return va()(n=hl(e,t)).call(n,((e,t)=>Intl.Collator(r).compare(e.label,t.label)))})(e.programTheme,r,i),s=oe((()=>_r("country").toUpperCase())),l=yl(o),{fieldValidationErrors:u}=e,c=o.length>1,[d,f]=q.useState(!0),m=r=>{const n=Ys(e.viewModel,(e=>{e.countryChoice=r||void 0,e.country=r?r.value:void 0,t&&t(e,r)}));e.updateViewModel(n)};return q.useEffect((()=>{if(d){f(!1);const t=e.viewModel.countryChoice?e.viewModel.countryChoice:l;m(t)}}),[d]),q.useEffect((()=>{const t=re()(o).call(o,(e=>"US"===e.value));if(!c&&!t){const t=e.viewModel.fieldsToSkipValidation?[...e.viewModel.fieldsToSkipValidation,"country"]:["country","address1","postalCode","state","city"];e.updateViewModel(bl(e.viewModel,"fieldsToSkipValidation",t))}}),[c]),q.useEffect((()=>{const t=Ys(e.fieldValidationErrors,(t=>{t.country&&(t.country=Ho("country",e.viewModel.countryChoice,e.formValidationOptions)),"postalCode"in e.viewModel&&e.viewModel.postalCode&&(t.postalCode=Ho("postalCode",e.viewModel.postalCode,e.formValidationOptions))}));il(t,e),(e=>{if(void 0!==e.viewModel.organization)al(ri.organization,e)})(e)}),[e.viewModel.countryChoice]),q.useEffect((()=>{const e=Rl()(o).call(o,(e=>e.value===s));e&&m(e)}),[s]),c?q.createElement(nc,{isRequired:!0,options:o,value:e.viewModel.countryChoice,isErrored:Boolean(u.country),onChange:function(){var t=gr((function*(t){const r=t?t.value:void 0;m(t),ol("country",r,e)}));return function(e){return t.apply(this,arguments)}}()}):null})),Bm=({verificationService:e})=>{const t=oe((()=>e.programTheme.remainingRewardCodes),null);return"number"==typeof t&&t>0?q.createElement("div",{className:"sid-rewards-remaining"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(or,{id:"lowRewardPool",defaultMessage:e.messages.lowRewardPool,values:{offersRemaining:t}}),q.createElement("div",{className:"sid-l-space-top-sm"})):null},Vm=({fieldId:e,value:t,onChange:r,label:n,errorMessage:a})=>{const i=`sid-${El(`${e}Label`)}`,o=()=>r(!t);return q.createElement("div",{className:`sid-field sid-${El(e)}`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement("div",{className:"sid-checkbox-flex"},q.createElement(cm,{id:El(e),isErrored:!!a,value:t,onChange:o,ariaLabelledby:i}),q.createElement("div",{className:"sid-checkbox__label",onClick:o,onKeyPress:o,role:"button",tabIndex:0,id:i},n)),a&&q.createElement("div",{className:"sid-field-error"},a))},zm=Ft((({config:e,verificationService:t,intl:r})=>{const n=oe((()=>t.viewModel.metadata[e.fieldId])),a=oe((()=>t.fieldValidationErrors[e.fieldId])),i=r=>{t.updateViewModel(Ys(t.viewModel,(t=>{t.metadata=t.metadata||{},t.metadata[e.fieldId]=r}))),t.updateFieldValidationErrors(Ys(t.fieldValidationErrors,(t=>{void 0===e.validate(r)&&delete t[e.fieldId]})))};switch(e.fieldType){case"text":return q.createElement(Nl,{fieldId:e.fieldId,value:`${n||""}`,onChange:i,placeholder:r.formatHTMLMessage({id:`${e.fieldId}Placeholder`,defaultMessage:e.fieldId}),label:q.createElement(or,{id:`${e.fieldId}Label`,defaultMessage:e.fieldId}),errorMessage:a&&q.createElement(or,{id:`errorId.${a}`,defaultMessage:`Invalid ${e.fieldId}`}),showPlaceholderAndHideLabel:e.showPlaceholderAndHideLabel,required:e.required});case"checkbox":return q.createElement(Vm,{fieldId:e.fieldId,value:"boolean"==typeof n&&n,onChange:i,label:q.createElement(or,{id:`${e.fieldId}Label`,defaultMessage:e.fieldId}),errorMessage:a&&q.createElement(or,{id:`errorId.${a}`,defaultMessage:`Invalid ${e.fieldId}`})});default:return he.warn(`Unknown field type: ${e.fieldType}`),null}})),jm=({verificationService:e,suffix:t})=>e.messages[`extraMessage${t}`]?q.createElement("div",{className:`sid-extra-message sid-extra-message-${t}`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(or,{id:`extraMessage${t}`,defaultMessage:" "})):null;function Hm(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function $m(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Hm(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Hm(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const qm=({verificationService:e})=>{var t;const r=e.viewModel,{fieldValidationErrors:n}=e,a=e.verificationResponse,i=Ad(a),o=(t,n)=>{const a=Gs(r,(e=>{e[t]=n}));e.updateViewModel(a)},s=r.localeChoice.value;return q.createElement("div",{id:"sid-step-student-personal-info",className:"sid-student-personal-info-container sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-student-personal-info-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Birthdate"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(or,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name and birthdate must match what is on your official school records."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-student-personal-info-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock this Student-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're a student at a degree-granting school."})," ",q.createElement(Lm,{verificationService:e}),q.createElement(Bm,{verificationService:e}))),q.createElement(uc,{verificationService:e}),q.createElement(Um,{verificationService:e}),q.createElement(Im,{value:e.viewModel.organization,verificationService:e,isErrored:!!n.organization,isRequired:!0,onChange:t=>{al(t,e),ol("organization",t,e)}}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:r.firstName,isErrored:!!n.firstName,onChange:t=>{o("firstName",t),ol("firstName",t,e)}}),q.createElement(Tl,{value:r.lastName,isErrored:!!n.lastName,onChange:t=>{o("lastName",t),ol("lastName",t,e)}})),q.createElement(Tm,{value:r.birthDate,isErrored:!!n.birthDate,errorId:n.birthDate,locale:s,isRequired:!0,onChange:t=>{o("birthDate",t),ol("birthDate",t,e)}}),q.createElement(Al,{value:r.email,isErrored:!!n.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Personal or school email is fine"}),onChange:t=>{o("email",t),ol("email",t,e)},onKeyDown:e=>fl(e)}),e.programTheme.isSmsNotifierConfigured||e.programTheme.smsLoopEnabled?q.createElement(gm,{isRequired:!!e.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:t=>{o("phoneNumber",t),ol("phoneNumber",t,e)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,Cr()(t=Mn().customFormFields).call(t,(t=>q.createElement(zm,{config:t,verificationService:e}))),q.createElement(fm,{verificationService:e,isErrored:!!n.marketConsentValue,onChange:t=>{o("metadata",$m($m({},e.viewModel.metadata),{},{marketConsentValue:t})),ol("marketConsentValue",t,e)},viewModel:r}),q.createElement(jm,{verificationService:e,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-student--submit sid-submit"},q.createElement("button",{id:"sid-submit-wrapper__collect-info",onClick:()=>ml(r,e,ve.collectStudentPersonalInfo),type:"submit",className:"sid-btn sid-student-submit-btn sid-btn--dark sid-l-full-width "+(so(r,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-label":"submit","aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyStudentStatus",defaultMessage:"Verify My Student Status"}))))),q.createElement(Rm,{verificationService:e}))},Wm=({onChange:e,value:t,isValid:r,intl:n,placeholder:a="",ariaLabelledBy:i})=>q.createElement(Sl,{id:"postal-code",isErrored:!r,onChange:t=>e(t.target.value),pattern:"[a-zA-Z0-9 ]*",placeholder:a||n.formatHTMLMessage({id:"postalCodePlaceholder",defaultMessage:"Postal Code"}),refId:"postalCode",value:t,required:!0,"aria-labelledby":i});Wm.defaultProps={isValid:!0};const Gm=Ft(Wm),Ym=({value:e,isErrored:t,onChange:r,explanation:n})=>q.createElement("div",{className:"sid-field sid-postal-code"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"postalCode",defaultMessage:"Postal Code"}),htmlForLabel:"sid-postal-code",id:"sid-postal-code-label",displayClasses:"sid-field__label-with-explanation"},n&&n),q.createElement(Gm,{value:e,isValid:!t,onChange:r,ariaLabelledBy:"sid-postal-code-label"}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidPostalCode",defaultMessage:"Invalid postal code"})):null);function Km(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Zm(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Km(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Km(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Jm=Ft((({verificationService:e})=>{var t;const r=e.viewModel,{fieldValidationErrors:n}=e,a=e.verificationResponse,i=Ad(a),o=r.localeChoice.value,s=(t,n)=>{const a=Gs(r,(e=>{e[t]=n}));e.updateViewModel(a)};return q.createElement("div",{id:"sid-step-senior-personal-info",className:"sid-senior-personal-info-container sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-senior-personal-info-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Birthdate"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(or,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name and birthdate must match what is on your government-issued documents."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-senior-personal-info-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock Your Special Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify your current age."})," ",q.createElement(Lm,{verificationService:e}),q.createElement(Bm,{verificationService:e}))),q.createElement(uc,{verificationService:e}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:r.firstName,isErrored:!!n.firstName,onChange:t=>{s("firstName",t),ol("firstName",t,e)}}),q.createElement(Tl,{value:r.lastName,isErrored:!!n.lastName,onChange:t=>{s("lastName",t),ol("lastName",t,e)}})),q.createElement(Tm,{isErrored:!!n.birthDate,errorId:n.birthDate,locale:o,onChange:t=>{s("birthDate",t),ol("birthDate",t,e)},value:r.birthDate}),q.createElement(Ym,{isErrored:!!n.postalCode,onChange:t=>{s("postalCode",t),ol("postalCode",t,e)},value:r.postalCode}),q.createElement(Al,{value:r.email,isErrored:!!n.email,onChange:t=>{s("email",t),ol("email",t,e)},onKeyDown:e=>fl(e)}),e.programTheme.isSmsNotifierConfigured||e.programTheme.smsLoopEnabled?q.createElement(gm,{isRequired:!!e.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:t=>{s("phoneNumber",t),ol("phoneNumber",t,e)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,Cr()(t=Mn().customFormFields).call(t,(t=>q.createElement(zm,{config:t,verificationService:e}))),q.createElement(fm,{verificationService:e,isErrored:!!n.marketConsentValue,onChange:t=>{s("metadata",Zm(Zm({},e.viewModel.metadata),{},{marketConsentValue:t})),ol("marketConsentValue",t,e)},viewModel:r}),q.createElement(jm,{verificationService:e,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-senior-submit sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ml(r,e,ve.collectSeniorPersonalInfo),type:"submit",className:"sid-btn sid-senior-submit-btn sid-btn--dark sid-l-full-width "+(so(r,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyAndContinue",defaultMessage:"Verify and continue"}))))),q.createElement(Rm,{verificationService:e}))})),Xm=Ft((({value:e,isErrored:t,onChange:r,intl:n,isRequired:a=!1,onKeyDown:i,placeholder:o=""})=>q.createElement(Nl,{fieldId:"city",value:e,onChange:r,placeholder:o||n.formatHTMLMessage({id:"cityPlaceholder",defaultMessage:"City"}),label:q.createElement(or,{id:"city",defaultMessage:"City"}),errorMessage:t&&q.createElement(or,{id:"errorId.invalidCity",defaultMessage:"Invalid city"}),showPlaceholderAndHideLabel:!!o,required:a,onKeyDown:"function"==typeof i?e=>i(e):void 0}))),Qm=Ft((({value:e,isErrored:t,onChange:r,intl:n,isRequired:a=!1,onKeyDown:i,placeholder:o="",label:s,explanation:l=""})=>q.createElement(Nl,{fieldId:"address",value:e,onChange:r,placeholder:o||n.formatHTMLMessage({id:"addressPlaceholder",defaultMessage:"Address"}),label:s||q.createElement(or,{id:"address",defaultMessage:"Address"}),errorMessage:t&&q.createElement(or,{id:"errorId.invalidAddress",defaultMessage:"Invalid address"}),showPlaceholderAndHideLabel:!!o,required:a,onKeyDown:"function"==typeof i?e=>i(e):void 0,explanation:l})));function ep(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function tp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=ep(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=ep(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const rp=Ft((({verificationService:e,intl:t})=>{var r,n;const a=e.viewModel,{fieldValidationErrors:i}=e,o=e.verificationResponse,s=Ad(o),l=hl(e.programTheme,t),u=yl(l),{isSmsNotifierConfigured:c,smsLoopEnabled:f}=e.programTheme,m=oe((()=>a.countryChoice.value),u.value),p="US"===m?[{key:"postalCode"}]:[],h=a.localeChoice.value,[g,v]=q.useState(p);!i.phoneNumber&&o.errorIds&&$i()(r=o.errorIds).call(r,"invalidPhoneNumber")&&e.updateFieldValidationErrors(tp(tp({},i),{},{phoneNumber:"invalidPhoneNumber"}));const y=(e,t)=>"US"!==e||t,b=(t,r)=>{const n=bl(a,t,r);e.updateViewModel(n)},E=(t,r)=>{const n=((e,t,r)=>Gs(e,(n=>{d()(r).call(r,(r=>{re()(t).call(t,(e=>e.key===r))?n[r]=void 0!==e[r]?e[r]:"":delete n[r]}))})))(a,t,r);e.updateViewModel(n)},w=e=>re()(g).call(g,(t=>t.key===e));var S,M,C;S="phoneNumber",C=m,M=(e,t)=>{const r=t&&t.smsLoopEnabled||"US"!==C;return go(r)(e)},he.log(`overrideValidator registering ${M} for '${S}'`),to[S]=M,y(m,f)?zr("carrierConsentValue")||Br("carrierConsentValue",(e=>(t,r)=>{if((r&&r.smsLoopEnabled||"US"!==e)&&!t)return"invalidCarrierConsentValue"})(m)):zr("carrierConsentValue")&&(e=>{delete Lr[e];const t=Pr()(Ur).call(Ur,e);-1!==t?Fr()(Ur).call(Ur,t,1):he.error(`Custom validator for field '${e}' has not been removed.`,"removeCustomValidator")})("carrierConsentValue");return q.useEffect((()=>{gr((function*(){try{const e=yield hd(o.verificationId,o.currentStep,a),t=oe((()=>e.fieldsToCollect.required),[]);E(t,["postalCode","city","address1"]),v(t)}catch(e){he.error(`Failed to determine fields to collect: ${e}`)}}))()}),[a.country]),q.createElement("div",{id:"sid-step-student-personal-info",className:"sid-age-personal-info-container sid-l-container"},s?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-age-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Birthdate"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(or,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name and birthdate must match what is on your government-issued documents."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-age-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock Your Special Offer"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify your current age."})," ",q.createElement(Lm,{verificationService:e}),q.createElement(Bm,{verificationService:e}))),q.createElement(uc,{verificationService:e}),q.createElement(Um,{verificationService:e,viewModelDraftDecorator:(e,t)=>{const r=e,n=t?t.value:void 0;y(n,f)||(r.phoneNumber="")}}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:a.firstName,isErrored:!!i.firstName,onChange:t=>{b("firstName",t),ol("firstName",t,e)}}),q.createElement(Tl,{value:a.lastName,isErrored:!!i.lastName,onChange:t=>{b("lastName",t),ol("lastName",t,e)}})),q.createElement(Tm,{isErrored:!!i.birthDate,errorId:i.birthDate,locale:h,onChange:t=>{b("birthDate",t),ol("birthDate",t,e)},value:a.birthDate}),w("city")&&q.createElement(Xm,{value:a.city,isRequired:!0,isErrored:!!i.city,errorId:i.city,onChange:t=>{b("city",t),ol("city",t,e)}}),w("address1")&&q.createElement(Qm,{value:a.address1,isRequired:!0,isErrored:!!i.address1,errorId:i.address1,onChange:t=>{b("address1",t),ol("address1",t,e)}}),w("postalCode")&&q.createElement(Ym,{isErrored:!!i.postalCode,onChange:t=>{b("postalCode",t),ol("postalCode",t,e)},value:a.postalCode}),q.createElement(Al,{value:a.email,isErrored:!!i.email,onChange:t=>{b("email",t),ol("email",t,e)},onKeyDown:e=>fl(e)}),(y(m,f)||c)&&q.createElement(gm,{value:a.phoneNumber,isRequired:e.programTheme.smsLoopEnabled||"US"!==m,isErrored:!!i.phoneNumber,displaySmsConsent:c,onChange:t=>{b("phoneNumber",t),ol("phoneNumber",t,e)},errorId:i.phoneNumber,requireCarrierConsent:e.programTheme.smsLoopEnabled||"US"!==m,onCarrierConsentChange:t=>{b("metadata",tp(tp({},e.viewModel.metadata),{},{carrierConsentValue:t})),ol("carrierConsentValue",t,e)},carrierConsent:Boolean(a.metadata&&a.metadata.carrierConsentValue),selectedCountryCode:a.countryChoice&&a.countryChoice.value}),Cr()(n=Mn().customFormFields).call(n,(t=>q.createElement(zm,{config:t,verificationService:e}))),q.createElement(fm,{verificationService:e,isErrored:!!i.marketConsentValue,onChange:t=>{b("metadata",tp(tp({},e.viewModel.metadata),{},{marketConsentValue:t})),ol("marketConsentValue",t,e)},viewModel:a}),q.createElement(jm,{verificationService:e,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit sid-age-personal-info-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ml(a,e,ve.collectAgePersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-age-personal-info-btn sid-l-full-width "+(so(a,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},s?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyAndContinue",defaultMessage:"Verify and continue"}))))),q.createElement(Rm,{verificationService:e}))})),np=Ft((({value:e,isErrored:t,onChange:r,verificationService:n,intl:a,placeholder:i=""})=>{var o;const{programId:s,viewModel:l,verificationResponse:u}=n,c="sid-teacher-school",d=Oa(l,u),f=j()(o=Mn().urlAddSchoolForm||"").call(o),m=oe((()=>n.viewModel.countryChoice.value)),p=Za(n.programTheme,m);return q.createElement("div",{className:"sid-field sid-teacher-school-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"schoolName",defaultMessage:"School name"}),htmlForLabel:c,id:`${c}-label`,displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(Cm,{className:t?"sid-text-input--error":"",countryCode:m,onChange:e=>r(e),minimumSearchValueLength:Mn().minimumOrganizationSearchLength,placeholder:i||a.formatHTMLMessage({id:"schoolNamePlaceholder",defaultMessage:"School name"}),programId:s,value:e,inputHtmlId:c,openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl,orgSearchTags:p,locale:d,urlAddSchoolForm:f,isRequired:!0}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)}));function ap(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function ip(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=ap(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=ap(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const op=({verificationService:e})=>{var t;const r=e.viewModel,{fieldValidationErrors:n}=e,a=e.verificationResponse,i=Ad(a),o=r.localeChoice.value,s=(t,n)=>{const a=Gs(r,(e=>{e[t]=n}));e.updateViewModel(a)};return(0,q.useEffect)((()=>{e.programTheme.idCheckAddOnEnabled?s("fieldsToSkipValidation",[]):(s("birthDate",""),s("fieldsToSkipValidation",["birthDate"]))}),[e.programTheme.idCheckAddOnEnabled]),q.createElement("div",{id:"sid-step-teacher-personal-info",className:"sid-teacher-personal-info-container sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-teacher-personal-info-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Email"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(or,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name and email address must match what is on record with your school."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-teacher-personal-info-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock this Teaching Staff-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're a teacher, faculty or staff at a K-12 or degree-granting university."})," ",q.createElement(Lm,{verificationService:e}),q.createElement(Bm,{verificationService:e}))),q.createElement(uc,{verificationService:e}),q.createElement(Um,{verificationService:e}),q.createElement(np,{value:e.viewModel.organization,verificationService:e,isErrored:!!n.organization,onChange:t=>{al(t,e),ol("organization",t,e)}}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:r.firstName,isErrored:!!n.firstName,onChange:t=>{s("firstName",t),ol("firstName",t,e)}}),q.createElement(Tl,{value:r.lastName,isErrored:!!n.lastName,onChange:t=>{s("lastName",t),ol("lastName",t,e)}})),e.programTheme.idCheckAddOnEnabled?q.createElement(Tm,{isErrored:!!n.birthDate,errorId:n.birthDate,locale:o,onChange:t=>{s("birthDate",t),ol("birthDate",t,e)},value:r.birthDate}):null,q.createElement(Al,{value:r.email,isErrored:!!n.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Must be your school-issued email address"}),onChange:t=>{s("email",t),ol("email",t,e)},onKeyDown:e=>fl(e)}),e.programTheme.isSmsNotifierConfigured||e.programTheme.smsLoopEnabled?q.createElement(gm,{isRequired:!!e.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:t=>{s("phoneNumber",t),ol("phoneNumber",t,e)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,((e,t)=>oe((()=>e.openOrgSearchEnabled))&&0===oe((()=>t.organization.id))&&oe((()=>t.organization.name),"").length>0)(e.programTheme,r)?q.createElement(Ym,{isErrored:!!n.postalCode,onChange:t=>{s("postalCode",t),ol("postalCode",t,e)},value:r.postalCode}):null,Cr()(t=Mn().customFormFields).call(t,(t=>q.createElement(zm,{config:t,verificationService:e}))),q.createElement(fm,{verificationService:e,isErrored:!!n.marketConsentValue,onChange:t=>{s("metadata",ip(ip({},e.viewModel.metadata),{},{marketConsentValue:t})),ol("marketConsentValue",t,e)},viewModel:r}),q.createElement(jm,{verificationService:e,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-teacher-submit sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ml(r,e,ve.collectTeacherPersonalInfo),type:"submit",className:"sid-btn sid-teacher-submit-btn sid-btn--dark sid-l-full-width "+(so(r,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyTeacherStatus",defaultMessage:"Verify My Teacher Status"}))))),q.createElement(Rm,{verificationService:e}))},sp=Ft((({value:e,isErrored:t,onChange:r,explanation:n,intl:a,placeholder:i="",isRequired:o=!1,label:s})=>q.createElement("div",{className:"sid-field sid-member-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:s||q.createElement(or,{id:"memberId",defaultMessage:"ID Number"}),htmlForLabel:"sid-member-id",id:"sid-member-id-label",displayClasses:`sid-field__label-with-explanation${i&&" sid-h-screen-reader-only"}`,isRequired:o},n||(o?"":q.createElement(or,{id:"optional",defaultMessage:"Optional"}))),q.createElement(Sl,{id:"member-id",isErrored:t,onChange:e=>r(e.target.value),placeholder:i||a.formatHTMLMessage({id:"memberIdPlaceholder",defaultMessage:"ID Number"}),refId:"memberId",value:e,"aria-labelledby":"sid-member-id-label"}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidMemberId",defaultMessage:"Invalid ID Number"})):null))),lp=Ft((({value:e,isErrored:t,onChange:r,verificationService:n,intl:a,placeholder:i=""})=>{const{programId:o}=n;return q.createElement("div",{className:"sid-field sid-membership-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"organization",defaultMessage:"Organization"}),htmlForLabel:"sid-membership",id:"sid-membership-label",displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(Cm,{className:t?"sid-text-input--error":"",countryCode:oe((()=>n.viewModel.countryChoice.value)),onChange:e=>r(e),minimumSearchValueLength:Mn().minimumOrganizationSearchLength,placeholder:i||a.formatHTMLMessage({id:"organizationNamePlaceholder",defaultMessage:"Organization"}),programId:o,value:e,inputHtmlId:"sid-membership",openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)}));function up(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function cp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=up(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=up(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const dp=({verificationService:e})=>{var t;const r=e.viewModel,{fieldValidationErrors:n}=e,a=e.verificationResponse,i=Ad(a),o=r.localeChoice.value,s=(t,n)=>{const a=Gs(r,(e=>{e[t]=n}));e.updateViewModel(a)};return q.createElement("div",{id:"sid-step-member-personal-info",className:"sid-member-personal-info-container sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-member-personal-info-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Email"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(or,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name and email address must match what is on record with your school."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-member-personal-info-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock this Members-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're a current member of an eligible organization."})," ",q.createElement(Lm,{verificationService:e}),q.createElement(Bm,{verificationService:e}))),q.createElement(uc,{verificationService:e}),q.createElement(Um,{verificationService:e}),q.createElement(lp,{value:e.viewModel.organization,verificationService:e,isErrored:!!n.organization,onChange:t=>{al(t,e),ol("organization",t,e)}}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:r.firstName,isErrored:!!n.firstName,onChange:t=>{s("firstName",t),ol("firstName",t,e)}}),q.createElement(Tl,{value:r.lastName,isErrored:!!n.lastName,onChange:t=>{s("lastName",t),ol("lastName",t,e)}})),q.createElement(Al,{value:r.email,isErrored:!!n.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Needed to send you your unique code"}),onChange:t=>{s("email",t),ol("email",t,e)},onKeyDown:e=>fl(e)}),q.createElement(Tm,{isErrored:!!n.birthDate,errorId:n.birthDate,locale:o,isRequired:!1,onChange:t=>{s("birthDate",t),ol("birthDate",t,e)},value:r.birthDate}),q.createElement(sp,{value:r.memberId,isErrored:!!n.memberId,isRequired:!1,onChange:t=>{s("memberId",t),ol("memberId",t,e)}}),e.programTheme.isSmsNotifierConfigured||e.programTheme.smsLoopEnabled?q.createElement(gm,{isRequired:!!e.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:t=>{s("phoneNumber",t),ol("phoneNumber",t,e)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,Cr()(t=Mn().customFormFields).call(t,(t=>q.createElement(zm,{config:t,verificationService:e}))),q.createElement(fm,{verificationService:e,isErrored:!!n.marketConsentValue,onChange:t=>{s("metadata",cp(cp({},e.viewModel.metadata),{},{marketConsentValue:t})),ol("marketConsentValue",t,e)},viewModel:r}),q.createElement(jm,{verificationService:e,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-member-submit sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ml(r,e,ve.collectMemberPersonalInfo),type:"submit",className:"sid-btn sid-member-submit-btn sid-btn--dark sid-l-full-width "+(so(r,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyMembershipStatus",defaultMessage:"Verify My Membership Status"}))))),q.createElement(Rm,{verificationService:e}))},fp=Ft((({value:e,isErrored:t,errorId:r="invalidStatus",options:n,onChange:a,intl:i,placeholder:o="",onKeyDown:s,segmentId:l})=>{const u=`sid-${l}-status`,c=1===n.length;return q.useEffect((()=>{c&&a(n[0])}),[]),c?null:q.createElement("div",{className:`sid-field ${u}`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"status",defaultMessage:"Status"}),htmlForLabel:u,id:`${u}-label`,displayClasses:o&&"sid-h-screen-reader-only"}),q.createElement(rc,{fieldId:"status",inputId:u,fieldLabelId:`${u}-label`,isErrored:t,options:n,onChange:e=>a(e),onKeyDown:s,value:Rl()(n).call(n,(t=>t.value===(e&&e.value))),placeholder:o||i.formatHTMLMessage({id:"statusPlaceholder",defaultMessage:"Status"}),isRequired:!0}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:`errorId.${r}`,defaultMessage:`Invalid ${l} status`})):null)})),mp=(e,t)=>{let r;try{r=e.label.toUpperCase()>t.label.toUpperCase()?1:-1}catch(e){r=1}return r},pp=e=>({value:e.id,label:e.name,country:e.country}),hp=(e,t,r,n)=>{const a=r.viewModel;return Ys(a,(r=>{r[e]=t,n||(r.fieldsToSkipValidation=["status"]),"status"===e&&(r.organization={id:0,name:""})}))},gp=Ft((({autoFocus:e,onChange:t,value:r,isErrored:n,organizations:a,verificationService:o,intl:s,placeholder:l=""})=>{let u=[];const{status:c}=o.viewModel,d=o.viewModel,f="sid-branch-of-service",{countryChoice:m}=d;if(a){let e;e=i()(a).call(a,(e=>t=>"RESERVIST"===e?$i()(Ae).call(Ae,t.name):"ACTIVE_DUTY"===e?!$i()(Ae).call(Ae,t.name):!!t.name)(c)),m&&(e=i()(e).call(e,(e=>e.country===m.value))),u=Cr()(e).call(e,pp)}return q.createElement("div",{className:`sid-field ${f}-id`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"branchOfService",defaultMessage:"Branch Of Service"}),htmlForLabel:f,id:`${f}-label`,displayClasses:l&&"sid-h-screen-reader-only"}),q.createElement(rc,{autoFocus:e,fieldId:"organization",inputId:f,fieldLabelId:`${f}-label`,isErrored:n,options:(p=u,va()(p).call(p,mp)),onChange:e=>((e,t)=>{t(e?{id:e.value,name:e.label}:{id:0,name:""})})(e,t),value:Rl()(u).call(u,(e=>e.value===(r&&r.value))),placeholder:l||s.formatHTMLMessage({id:"branchOfServicePlaceholder",defaultMessage:"Branch Of Service"}),isRequired:!0}),n?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null);var p})),vp=({onChange:e,isErrored:t,errorId:r="invalidActiveDutyStartDate",value:n="2000-01-01",locale:a=tn})=>q.createElement(Dm,{value:n,label:q.createElement(or,{id:"activeDutyStartDate",defaultMessage:"Active Duty Start Date"}),onChange:e,fieldName:"activeDutyStartDate",fieldId:"sid-active-duty-start-date",locale:a,isErrored:t,errorMsg:q.createElement(or,{id:`errorId.${r}`,defaultMessage:"Invalid start date"})});function yp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function bp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=yp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=yp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Ep=Ft((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,a=t.previousViewModel,{fieldValidationErrors:i}=t,o=t.verificationResponse,s=Ad(o),{status:l}=t.viewModel,u=cl(t,e),c=n.localeChoice.value,d=(e,r)=>{t.updateViewModel(hp(e,r,t,u))};return(n.status&&a&&a.status!==n.status||n.status&&t.verificationResponse.currentStep===ve.collectMilitaryStatus)&&(()=>{const e=Gs(n,(()=>{}));he.info("StepMilitaryStatusComponent submitting form"),t.submitStep(ve.collectMilitaryStatus,e,t.previousVerificationResponse||t.verificationResponse)})(),rl(),q.createElement("div",{id:"sid-step-active-military-personal-info",className:"sid-active-military-personal-info-container sid-military-personal-info-container sid-l-container"},s?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-active-military-personal-info-logo-container sid-military-personal-info-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Birthdate"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(or,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:" Enter your first and last name on the form as it appears on your military document(s). Keep in mind that may be your given name."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-active-military-personal-info-logo-container sid-military-personal-info-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock this Military-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're a member of the armed forces."})),q.createElement("div",{className:"sid-header__how-verifying-works sid-l-horz-center"},q.createElement(Lm,{verificationService:t}),q.createElement(Bm,{verificationService:t}))),q.createElement(uc,{verificationService:t}),q.createElement(Um,{verificationService:t}),u?q.createElement(fp,{segmentId:"military",value:{value:n.status,label:ll(e,n.status,Te)},isErrored:!!i.status,errorId:"invalidMilitaryStatus",options:u,onChange:e=>{d("status",e?e.value:""),ol("status",e?e.value:"",t)}}):null,"MILITARY_FAMILY"===l?q.createElement("div",{className:"sid-field-notice","data-testid":"family-note"},q.createElement(or,{id:"militaryFamilyCardNote",defaultMessage:"Note: this offer is only available to military family members with a Dependent ID card."})):null,q.createElement(gp,{isErrored:!!i.organization,onChange:e=>{al(e,t),ol("organization",e,t)},value:{value:t.viewModel.organization.id,label:t.viewModel.organization.name},verificationService:t,organizations:t.orgList}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:n.firstName,isErrored:!!i.firstName,onChange:e=>{d("firstName",e),ol("firstName",e,t)}}),q.createElement(Tl,{value:n.lastName,isErrored:!!i.lastName,onChange:e=>{d("lastName",e),ol("lastName",e,t)}})),q.createElement(Tm,{isErrored:!!i.birthDate,errorId:i.birthDate,locale:c,onChange:e=>{d("birthDate",e),ol("birthDate",e,t)},value:n.birthDate}),t.programTheme.strictMilitaryValidationEnabled&&q.createElement(vp,{isErrored:!!i.activeDutyStartDate,errorId:i.activeDutyStartDate,locale:c,onChange:e=>{d("activeDutyStartDate",e),ol("activeDutyStartDate",e,t)},value:n.activeDutyStartDate}),q.createElement(Al,{value:n.email,isErrored:!!i.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Personal email address is recommended"}),onChange:e=>{d("email",e),ol("email",e,t)},onKeyDown:e=>fl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(gm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!i.phoneNumber,onChange:e=>{d("phoneNumber",e),ol("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,Cr()(r=Mn().customFormFields).call(r,(e=>q.createElement(zm,{config:e,verificationService:t}))),q.createElement(fm,{verificationService:t,isErrored:!!i.marketConsentValue,onChange:e=>{d("metadata",bp(bp({},t.viewModel.metadata),{},{marketConsentValue:e})),ol("marketConsentValue",e,t)},viewModel:n}),q.createElement(jm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-active-military-personal-submit sid-military-submit sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ml(n,t,ve.collectActiveMilitaryPersonalInfo),type:"submit",className:"sid-btn sid-active-military-personal-submit-btn sid-military-submit-btn sid-btn--dark sid-l-full-width "+(so(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},s?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyMilitaryStatus",defaultMessage:"Verify My Military Status"}))))),q.createElement(Rm,{verificationService:t}))})),wp=({onChange:e,isErrored:t,value:r="2000-01-01"})=>q.createElement(Dm,{mode:"month",value:r,label:q.createElement(or,{id:"dischargeDate",defaultMessage:"Discharge date"}),onChange:e,fieldName:"dischargeDate",fieldId:"discharge-date",isErrored:t,isRequired:!0,errorMsg:q.createElement(or,{id:"errorId.invalidDischargeDate",defaultMessage:"Invalid discharge date"})});function Sp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Mp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Sp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Sp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Cp=Ft((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,a=t.previousViewModel,{fieldValidationErrors:i}=t,o=t.verificationResponse,s=Ad(o),l=cl(t,e),u=n.localeChoice.value,c=(e,r)=>{t.updateViewModel(hp(e,r,t,l))};return(n.status&&a&&a.status!==n.status||n.status&&t.verificationResponse.currentStep===ve.collectMilitaryStatus)&&(()=>{const e=Gs(n,(()=>{}));he.info("StepMilitaryStatusComponent submitting form"),t.submitStep(ve.collectMilitaryStatus,e,t.previousVerificationResponse||t.verificationResponse)})(),rl(),q.createElement("div",{id:"sid-step-inactive-military-personal-info",className:"sid-inactive-military-personal-info-container sid-military-personal-info-container sid-l-container"},s?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-inactive-military-personal-info-logo-container sid-military-personal-info-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Birthdate"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(or,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:" Enter your first and last name on the form as it appears on your military document(s). Keep in mind that may be your given name."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-inactive-military-personal-info-logo-container sid-military-personal-info-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock this Military-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're a member of the armed forces."})," ",q.createElement(Lm,{verificationService:t}),q.createElement(Bm,{verificationService:t}))),q.createElement(uc,{verificationService:t}),q.createElement(Um,{verificationService:t}),l?q.createElement(fp,{segmentId:"military",value:{value:n.status,label:ll(e,n.status,Te)},isErrored:!!i.status,errorId:"invalidMilitaryStatus",options:l,onChange:e=>{c("status",e?e.value:""),ol("status",e?e.value:"",t)}}):null,q.createElement(gp,{isErrored:!!i.organization,onChange:e=>{al(e,t),ol("organization",e,t)},value:{value:t.viewModel.organization.id,label:t.viewModel.organization.name},verificationService:t,organizations:t.orgList}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:n.firstName,isErrored:!!i.firstName,onChange:e=>{c("firstName",e),ol("firstName",e,t)}}),q.createElement(Tl,{value:n.lastName,isErrored:!!i.lastName,onChange:e=>{c("lastName",e),ol("lastName",e,t)}})),q.createElement(Tm,{isErrored:!!i.birthDate,errorId:i.birthDate,locale:u,onChange:e=>{c("birthDate",e),ol("birthDate",e,t)},value:n.birthDate}),t.programTheme.strictMilitaryValidationEnabled&&q.createElement(vp,{isErrored:!!i.activeDutyStartDate,locale:u,onChange:e=>{c("activeDutyStartDate",e),ol("activeDutyStartDate",e,t)},value:n.activeDutyStartDate}),q.createElement(wp,{isErrored:!!i.dischargeDate,onChange:e=>{c("dischargeDate",e),ol("dischargeDate",e,t)},value:n.dischargeDate}),q.createElement(Al,{value:n.email,isErrored:!!i.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Personal email address is recommended"}),onChange:e=>{c("email",e),ol("email",e,t)},onKeyDown:e=>fl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(gm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!i.phoneNumber,onChange:e=>{c("phoneNumber",e),ol("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,Cr()(r=Mn().customFormFields).call(r,(e=>q.createElement(zm,{config:e,verificationService:t}))),q.createElement(fm,{verificationService:t,isErrored:!!i.marketConsentValue,onChange:e=>{c("metadata",Mp(Mp({},t.viewModel.metadata),{},{marketConsentValue:e})),ol("marketConsentValue",e,t)},viewModel:n}),q.createElement(jm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-inactive-military-submit sid-military-submit sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ml(n,t,ve.collectInactiveMilitaryPersonalInfo),type:"submit",className:"sid-btn sid-inactive-military-submit-btn sid-military-submit-btn sid-btn--dark sid-l-full-width "+(so(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},s?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyMilitaryStatus",defaultMessage:"Verify My Military Status"}))))),q.createElement(Rm,{verificationService:t}))})),Ip=Ft((({onChange:e,value:t,isErrored:r,verificationService:n,intl:a,placeholder:i=""})=>{const{programId:o}=n,s="sid-first-responder-organization";return q.createElement("div",{className:`sid-field ${s}-id`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"organization",defaultMessage:"Organization"}),htmlForLabel:s,id:`${s}-label`,displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(Cm,{className:r?"sid-text-input--error":"",countryCode:oe((()=>n.viewModel.countryChoice.value)),minimumSearchValueLength:Mn().minimumOrganizationSearchLength,onChange:t=>e(t),placeholder:i||a.formatHTMLMessage({id:"organizationPlaceholder",defaultMessage:"Organization"}),programId:o,value:t,isRequired:!0,inputHtmlId:s,openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl}),r?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)}));function Np(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Dp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Np(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Np(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Tp=Ft((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,i=t.verificationResponse,o=Ad(i),s=n.localeChoice.value,l=(e,r)=>{const a=Gs(n,(t=>{t[e]=r}));t.updateViewModel(a)},u=oe((()=>t.programTheme.openOrgSearchEnabled))&&0===oe((()=>n.organization.id))&&oe((()=>n.organization.name),"").length>0;return u?n.postalCode=n.postalCode?n.postalCode:"":(n.postalCode||""===n.postalCode)&&(delete n.postalCode,ol("postalCode",void 0,t)),q.createElement("div",{id:"sid-step-active-first-responder-personal-info",className:"sid-first-responder-personal-info-container sid-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-first-responder-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name, Email & Organization"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(or,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name, organization name, and email must match what is on record with your agency."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-first-responder-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock this 1st Responder-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're an active first responder."})),q.createElement("div",{className:"sid-header__how-verifying-works sid-l-horz-center"},q.createElement(Lm,{verificationService:t}),q.createElement(Bm,{verificationService:t}))),q.createElement(uc,{verificationService:t}),q.createElement(Um,{verificationService:t}),q.createElement(fp,{segmentId:"first-responder",value:{value:n.status,label:ll(e,n.status,xe)},isErrored:!!a.status,errorId:"invalidFirstResponderStatus",options:(()=>{const r=t.verificationResponse.availableStatuses,n=[];return d()(r).call(r,(t=>{n.push({value:t,label:ll(e,t,xe)})})),n})(),onChange:e=>{l("status",e?e.value:""),ol("status",e?e.value:"",t)}}),q.createElement(Ip,{isErrored:!!a.organization,onChange:e=>{al(e,t),ol("organization",e,t)},value:t.viewModel.organization,verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{l("firstName",e),ol("firstName",e,t)}}),q.createElement(Tl,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{l("lastName",e),ol("lastName",e,t)}})),q.createElement(Tm,{isErrored:!!a.birthDate,errorId:a.birthDate,locale:s,onChange:e=>{l("birthDate",e),ol("birthDate",e,t)},value:n.birthDate}),q.createElement(Al,{value:n.email,isErrored:!!a.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Needed to send you your unique code"}),onChange:e=>{l("email",e),ol("email",e,t)},onKeyDown:e=>fl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(gm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{l("phoneNumber",e),ol("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,u?q.createElement(Ym,{isErrored:!!a.postalCode,onChange:e=>{l("postalCode",e),ol("postalCode",e,t)},value:n.postalCode}):null,Cr()(r=Mn().customFormFields).call(r,(e=>q.createElement(zm,{config:e,verificationService:t}))),q.createElement(fm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{l("metadata",Dp(Dp({},t.viewModel.metadata),{},{marketConsentValue:e})),ol("marketConsentValue",e,t)},viewModel:n}),q.createElement(jm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-first-responder-personal-info-submit sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ml(n,t,ve.collectFirstResponderPersonalInfo),type:"submit",className:"sid-btn sid-first-responder-submit-btn sid-btn--dark sid-l-full-width "+(so(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyFirstResponderStatus",defaultMessage:"Verify My First Responder Status"}))))),q.createElement(Rm,{verificationService:t}))})),Ap=Ft((({onChange:e,value:t,isErrored:r,verificationService:n,intl:a,placeholder:i=""})=>{const{programId:o}=n,s="sid-medical-professional-organization";return q.createElement("div",{className:"sid-field sid-medical-professional-organization-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"organization",defaultMessage:"Organization"}),htmlForLabel:s,id:`${s}-label`,displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(Cm,{className:r?"sid-text-input--error":"",countryCode:oe((()=>n.viewModel.countryChoice.value)),minimumSearchValueLength:Mn().minimumOrganizationSearchLength,onChange:t=>e(t),placeholder:i||a.formatHTMLMessage({id:"organizationPlaceholder",defaultMessage:"Organization"}),programId:o,value:t,inputHtmlId:s,openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl,isRequired:!0}),r?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)}));function xp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function _p(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=xp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=xp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Op={AT:"gbrNummer",ES:"numeroColegiado",DK:"autorisationsId",CH:"globalLocationNumber",IE:"registrationNumber",GB:"registrationNumber"},kp=Ft((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,i=t.verificationResponse,o=Ad(i),[s,l]=q.useState(void 0),[u,c]=q.useState(!1),f=n.localeChoice.value,m=(e,r)=>{const a=bl(n,e,r);t.updateViewModel(a)};return q.useEffect((()=>{gr((function*(){if(n.country&&n.status)try{const e=yield hd(i.verificationId,i.currentStep,n),t=oe((()=>e.fieldsToCollect.optional),[]);c(re()(t).call(t,(e=>"memberId"===e.key)))}catch(e){he.error(`Failed to determine fields to collect: ${e}`)}const e=Op[n.country]?Op[n.country]:"registrationNumber";e&&l({labelKey:`step.collectMedicalPersonalInfo.${e}Label`,explanationKey:`step.collectMedicalPersonalInfo.${e}Explanation`})}))()}),[n.country,n.status]),q.createElement("div",{id:"sid-step-active-medical-professional-personal-info",className:"sid-medical-personal-info-container sid-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-medical-personal-info-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name, Email & Organization"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(or,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name, organization name, and email must match what is on record with your agency."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-medical-personal-info-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock this Medical Professional-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're a licensed medical professional."})),q.createElement("div",{className:"sid-header__how-verifying-works sid-l-horz-center"},q.createElement(Lm,{verificationService:t}),q.createElement(Bm,{verificationService:t}))),q.createElement(uc,{verificationService:t}),q.createElement(Um,{verificationService:t}),q.createElement(fp,{segmentId:"medical",value:{value:n.status,label:ll(e,n.status,_e)},isErrored:!!a.status,options:(()=>{const t=i.availableStatuses,r=[];return d()(t).call(t,(t=>{r.push({value:t,label:ll(e,t,_e)})})),r})(),onChange:e=>{m("status",e?e.value:""),ol("status",e?e.value:"",t)}}),q.createElement(Ap,{isErrored:!!a.organization,onChange:e=>{al(e,t),ol("organization",e,t)},value:t.viewModel.organization,verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{m("firstName",e),ol("firstName",e,t)}}),q.createElement(Tl,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{m("lastName",e),ol("lastName",e,t)}})),q.createElement(Tm,{isErrored:!!a.birthDate,errorId:a.birthDate,locale:f,onChange:e=>{m("birthDate",e),ol("birthDate",e,t)},value:n.birthDate}),q.createElement(Ym,{isErrored:!!a.postalCode,onChange:e=>{m("postalCode",e),ol("postalCode",e,t)},value:n.postalCode,explanation:q.createElement(or,{id:"postalCodeExplanation",defaultMessage:"Use the location on file with your licensing body"})}),q.createElement(Al,{value:n.email,isErrored:!!a.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Needed to send you your unique code"}),onChange:e=>{m("email",e),ol("email",e,t)},onKeyDown:e=>fl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(gm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{m("phoneNumber",e),ol("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,u&&q.createElement(sp,{value:n.memberId,isErrored:!!a.memberId,isRequired:!1,onChange:e=>{m("memberId",e),ol("memberId",e,t)},explanation:s&&q.createElement(or,{id:s.explanationKey,defaultMessage:"Your Professional Membership Registration Number"}),label:s&&q.createElement(or,{id:s.labelKey,defaultMessage:"Registration Number"})}),Cr()(r=Mn().customFormFields).call(r,(e=>q.createElement(zm,{config:e,verificationService:t}))),q.createElement(fm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{m("metadata",_p(_p({},t.viewModel.metadata),{},{marketConsentValue:e})),ol("marketConsentValue",e,t)},viewModel:n}),q.createElement(jm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-medical-submit sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ml(n,t,ve.collectMedicalProfessionalPersonalInfo),type:"submit",className:"sid-btn sid-medical-submit-btn sid-btn--dark sid-l-full-width "+(so(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyMedicalProfessionalStatus",defaultMessage:"Verify My Medical Professional Status"}))))),q.createElement(Rm,{verificationService:t}))})),Pp=Ft((({value:e,isErrored:t,options:r,onChange:n,intl:a,placeholder:i="",label:o="",isRequired:s=!1})=>{const l="sid-state";return q.createElement("div",{className:`sid-field ${l}__select`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:o||q.createElement(or,{id:"state",defaultMessage:"State where you live"}),htmlForLabel:l,id:`${l}-label`,displayClasses:i&&"sid-h-screen-reader-only",isRequired:s}),q.createElement(rc,{fieldId:"state",inputId:l,fieldLabelId:`${l}-label`,isErrored:t,options:r,onChange:e=>n(e),placeholder:a.formatHTMLMessage({id:"statePlaceholder",defaultMessage:"State"}),value:Rl()(r).call(r,(t=>t.value===e)),suppressPlaceholder:!1,isRequired:s,buttonRef:"inputSelectButtonState"}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidState",defaultMessage:"Invalid state"})):null)})),Rp=Ft((({onChange:e,value:t,isErrored:r,verificationService:n,intl:a,placeholder:i=""})=>{const{programId:o}=n;return q.createElement("div",{className:"sid-field sid-company-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"company",defaultMessage:"Company"}),htmlForLabel:"sid-company",id:"sid-company-label",displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(Cm,{className:r?"sid-text-input--error":"",countryCode:oe((()=>n.viewModel.countryChoice.value)),minimumSearchValueLength:Mn().minimumOrganizationSearchLength,onChange:t=>e(t),placeholder:i||a.formatHTMLMessage({id:"companyPlaceholder",defaultMessage:"Company"}),programId:o,value:t,inputHtmlId:"sid-company",openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl}),r?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)}));function Fp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Lp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Fp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Fp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Up=Ft((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,i=(e,r)=>{const a=Gs(n,(t=>{t[e]=r}));t.updateViewModel(a)};return q.createElement("div",{id:"sid-step-employment-personal-info",className:"sid-employment-personal-info-container sid-l-container"},q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-employment-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock this Employment-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're a current employee at an eligible company."})," ",q.createElement(Lm,{verificationService:t}),q.createElement(Bm,{verificationService:t}))),q.createElement(uc,{verificationService:t}),q.createElement(Um,{verificationService:t,viewModelDraftDecorator:(e,r)=>{const n=e;n.shouldCollectAddress=sl(r,t.programTheme.config.countries),n.shouldCollectAddress?n.fieldsToSkipValidation=void 0:(n.address1="",n.city="",n.state="",n.postalCode="",n.fieldsToSkipValidation=["address1","city","state","postalCode"])}}),q.createElement(Rp,{value:t.viewModel.organization,verificationService:t,isErrored:!!a.organization,onChange:e=>{al(e,t),ol("organization",e,t)}}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{i("firstName",e),ol("firstName",e,t)}}),q.createElement(Tl,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{i("lastName",e),ol("lastName",e,t)}})),sl(n.countryChoice,t.programTheme.config.countries)?q.createElement(Qm,{isErrored:!!a.address1,errorId:a.address1,onChange:e=>{i("address1",e),ol("address1",e,t)},isRequired:!0,value:n.address1,explanation:q.createElement(or,{id:"addressExplanation",defaultMessage:"Use your home address"})}):null,sl(n.countryChoice,t.programTheme.config.countries)?q.createElement("div",{className:"sid-thirds"},q.createElement(Xm,{isErrored:!!a.city,errorId:a.city,onChange:e=>{i("city",e),ol("city",e,t)},value:n.city,isRequired:!0}),q.createElement(Pp,{isRequired:!0,options:gl(t.programTheme,e),value:n.state||void 0,isErrored:Boolean(a.state),onChange:function(){var e=gr((function*(e){const r=e?e.value:void 0;i("state",r),ol("state",r,t)}));return function(t){return e.apply(this,arguments)}}(),label:q.createElement(or,{id:"state",defaultMessage:"State"})}),q.createElement(Ym,{isErrored:!!a.postalCode,onChange:e=>{i("postalCode",e),ol("postalCode",e,t)},value:n.postalCode})):null,q.createElement(Al,{value:n.email,isErrored:!!a.email,explanation:q.createElement(or,{id:"employment.emailExplanation",defaultMessage:"Use your work email if you have one"}),onChange:e=>{i("email",e),ol("email",e,t)},onKeyDown:e=>fl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(gm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{i("phoneNumber",e),ol("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,Cr()(r=Mn().customFormFields).call(r,(e=>q.createElement(zm,{config:e,verificationService:t}))),q.createElement(fm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{i("metadata",Lp(Lp({},t.viewModel.metadata),{},{marketConsentValue:e})),ol("marketConsentValue",e,t)},viewModel:n}),q.createElement(jm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-employment-submit sid-submit"},q.createElement("button",{id:"sid-submit-wrapper__collect-info",onClick:()=>ml(n,t,ve.collectEmployeePersonalInfo),type:"submit",className:"sid-btn sid-employment-submit-btn sid-btn--dark sid-l-full-width "+(so(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-label":"submit","aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text",className:"sid-employment-submit-btn__text"},q.createElement(or,{id:"verifyMyEmploymentStatus",defaultMessage:"Verify My Employment Status"}))))),q.createElement(Rm,{verificationService:t}))})),Bp=Ft((({value:e,isErrored:t,onChange:r,explanation:n,intl:a,placeholder:i="",isRequired:o=!1})=>q.createElement("div",{className:"sid-field sid-driver-license-number"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"driverLicenseNumber",defaultMessage:"Driver license number"}),htmlForLabel:"sid-driver-license-number",id:"sid-driver-license-number-label",displayClasses:`sid-field__label-with-explanation${i&&" sid-h-screen-reader-only"}`,isRequired:o},n||(o?"":q.createElement(or,{id:"optional",defaultMessage:"Optional"}))),q.createElement(Sl,{id:"driver-license-number",isErrored:t,onChange:e=>r(e.target.value),placeholder:i||a.formatHTMLMessage({id:"driverLicenseNumberPlaceholder",defaultMessage:"Driver license number"}),refId:"driverLicenseNumber",value:e,required:o,"aria-labelledby":"sid-driver-license-number-label"}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidDriverLicenseNumber",defaultMessage:"Invalid driver license number"})):null)));function Vp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function zp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Vp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Vp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const jp=Ft((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,i=t.verificationResponse,o=Ad(i),s=(e,r)=>{const a=Gs(n,(t=>{t[e]=r}));t.updateViewModel(a)};return rl(),q.createElement("div",{id:"sid-step-driver-license-personal-info",className:"sid-drivers-license-personal-info-container sid-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-drivers-license-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name and other fields"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(or,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:" Enter your first and last name on the form as it appears on your official document(s). Keep in mind that may be your given name."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-drivers-license-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock this Special Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you have a valid driver license"})),q.createElement("div",{className:"sid-header__how-verifying-works sid-l-horz-center"},q.createElement(Lm,{verificationService:t}),q.createElement(Bm,{verificationService:t}))),q.createElement(uc,{verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{s("firstName",e),ol("firstName",e,t)}}),q.createElement(Tl,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{s("lastName",e),ol("lastName",e,t)}})),q.createElement(Al,{value:n.email,isErrored:!!a.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Personal email address is recommended"}),onChange:e=>{s("email",e),ol("email",e,t)},onKeyDown:e=>fl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(gm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{s("phoneNumber",e),ol("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,q.createElement(Pp,{isRequired:!0,options:gl(t.programTheme,e),value:n.state||void 0,isErrored:Boolean(a.state),onChange:function(){var e=gr((function*(e){const r=e?e.value:void 0;s("state",r),ol("state",r,t)}));return function(t){return e.apply(this,arguments)}}(),label:q.createElement(or,{id:"driverLicenseState",defaultMessage:"Driver license state"})}),q.createElement(Bp,{value:n.driverLicenseNumber,isErrored:!!a.driverLicenseNumber,isRequired:!0,onChange:e=>{s("driverLicenseNumber",e),ol("driverLicenseNumber",e,t)}}),Cr()(r=Mn().customFormFields).call(r,(e=>q.createElement(zm,{config:e,verificationService:t}))),q.createElement(fm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{s("metadata",zp(zp({},t.viewModel.metadata),{},{marketConsentValue:e})),ol("marketConsentValue",e,t)},viewModel:n}),q.createElement(jm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-drivers-license-submit sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ml(n,t,ve.collectDriverLicensePersonalInfo),type:"submit",className:"sid-btn sid-drivers-license-submit-btn sid-btn--dark sid-l-full-width "+(so(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyIdentityStatus",defaultMessage:"Verify My Identity"}))))),q.createElement(Rm,{verificationService:t}))}));function Hp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function $p(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Hp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Hp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const qp=Ft((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,i=t.verificationResponse,o=Ad(i),s=n.localeChoice.value,l=(e,r)=>{const a=Gs(n,(t=>{t[e]=r}));t.updateViewModel(a)};return rl(),q.createElement("div",{id:"sid-step-general-identity-personal-info",className:"sid-general-identity-personal-info-container sid-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-general-identity-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name and other fields"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(or,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:" Enter your first and last name on the form as it appears on your official document(s). Keep in mind that may be your given name."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-general-identity-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock this Special Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify your identity"})),q.createElement("div",{className:"sid-header__how-verifying-works sid-l-horz-center"},q.createElement(Lm,{verificationService:t}),q.createElement(Bm,{verificationService:t}))),q.createElement(uc,{verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{l("firstName",e),ol("firstName",e,t)}}),q.createElement(Tl,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{l("lastName",e),ol("lastName",e,t)}})),q.createElement(Al,{value:n.email,isErrored:!!a.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Personal email address is recommended"}),onChange:e=>{l("email",e),ol("email",e,t)},onKeyDown:e=>fl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(gm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{l("phoneNumber",e),ol("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,q.createElement(Tm,{isErrored:!!a.birthDate,errorId:a.birthDate,locale:s,onChange:e=>{l("birthDate",e),ol("birthDate",e,t)},value:n.birthDate}),q.createElement(Qm,{isErrored:!!a.address1,errorId:a.address1,onChange:e=>{l("address1",e),ol("address1",e,t)},value:n.address1,isRequired:!0}),q.createElement("div",{className:"sid-extra-address-inputs sid-thirds"},q.createElement(Xm,{isErrored:!!a.city,errorId:a.city,onChange:e=>{l("city",e),ol("city",e,t)},value:n.city,isRequired:!0}),q.createElement(Pp,{isRequired:!0,options:gl(t.programTheme,e),value:n.state||void 0,isErrored:Boolean(a.state),onChange:function(){var e=gr((function*(e){const r=e?e.value:void 0;l("state",r),ol("state",r,t)}));return function(t){return e.apply(this,arguments)}}()}),q.createElement(Ym,{isErrored:!!a.postalCode,onChange:e=>{l("postalCode",e),ol("postalCode",e,t)},value:n.postalCode,isRequired:!0})),Cr()(r=Mn().customFormFields).call(r,(e=>q.createElement(zm,{config:e,verificationService:t}))),q.createElement(fm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{l("metadata",$p($p({},t.viewModel.metadata),{},{marketConsentValue:e})),ol("marketConsentValue",e,t)},viewModel:n}),q.createElement(jm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-general-identity-submit sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ml(n,t,ve.collectGeneralIdentityPersonalInfo),type:"submit",className:"sid-btn sid-general-identity-submit-btn sid-btn--dark sid-l-full-width "+(so(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyIdentityStatus",defaultMessage:"Verify My Identity"}))))),q.createElement(Rm,{verificationService:t}))}));function Wp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Gp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Wp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Wp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Yp=Ft((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,i=t.verificationResponse,o=Ad(i),s=n.localeChoice.value,l=(e,r)=>{const a=Gs(n,(t=>{t[e]=r}));t.updateViewModel(a)};return rl(),q.createElement("div",{id:"sid-step-hybrid-identity-personal-info",className:"sid-hybrid-identity-personal-info-container sid-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-hybrid-identity-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name and other fields"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(or,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:" Enter your first and last name on the form as it appears on your official document(s). Keep in mind that may be your given name."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-hybrid-identity-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock this Special Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify your identity"})),q.createElement("div",{className:"sid-header__how-verifying-works sid-l-horz-center"},q.createElement(Lm,{verificationService:t}),q.createElement(Bm,{verificationService:t}))),q.createElement(uc,{verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{l("firstName",e),ol("firstName",e,t)}}),q.createElement(Tl,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{l("lastName",e),ol("lastName",e,t)}})),q.createElement(Al,{value:n.email,isErrored:!!a.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Personal email address is recommended"}),onChange:e=>{l("email",e),ol("email",e,t)},onKeyDown:e=>fl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(gm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{l("phoneNumber",e),ol("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,q.createElement(Tm,{isErrored:!!a.birthDate,errorId:a.birthDate,locale:s,onChange:e=>{l("birthDate",e),ol("birthDate",e,t)},value:n.birthDate}),q.createElement(Qm,{isErrored:!!a.address1,errorId:a.address1,onChange:e=>{l("address1",e),ol("address1",e,t)},value:n.address1,isRequired:!0}),q.createElement("div",{className:"sid-thirds"},q.createElement(Xm,{isErrored:!!a.city,errorId:a.city,onChange:e=>{l("city",e),ol("city",e,t)},value:n.city,isRequired:!0}),q.createElement(Pp,{isRequired:!0,options:gl(t.programTheme,e),value:n.state||void 0,isErrored:Boolean(a.state),onChange:function(){var e=gr((function*(e){const r=e?e.value:void 0;l("state",r),ol("state",r,t)}));return function(t){return e.apply(this,arguments)}}()}),q.createElement(Ym,{isErrored:!!a.postalCode,onChange:e=>{l("postalCode",e),ol("postalCode",e,t)},value:n.postalCode})),q.createElement(Bp,{value:n.driverLicenseNumber,isErrored:!!a.driverLicenseNumber,isRequired:!0,onChange:e=>{l("driverLicenseNumber",e),ol("driverLicenseNumber",e,t)}}),Cr()(r=Mn().customFormFields).call(r,(e=>q.createElement(zm,{config:e,verificationService:t}))),q.createElement(fm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{l("metadata",Gp(Gp({},t.viewModel.metadata),{},{marketConsentValue:e})),ol("marketConsentValue",e,t)},viewModel:n}),q.createElement(jm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-hybrid-identity-submit sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ml(n,t,ve.collectHybridIdentityPersonalInfo),type:"submit",className:"sid-btn sid-hybrid-identity-submit-btn sid-btn--dark sid-l-full-width "+(so(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyIdentityStatus",defaultMessage:"Verify My Identity"}))))),q.createElement(Rm,{verificationService:t}))})),Kp=Ft((({value:e,isErrored:t,onChange:r,verificationService:n,intl:a,placeholder:i=""})=>{const{programId:o}=n;return q.createElement("div",{className:"sid-field sid-licensed-professional-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"organization",defaultMessage:"Organization"}),htmlForLabel:"sid-licensed-professional",id:"sid-licensed-professional-label",displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(Cm,{className:t?"sid-text-input--error":"",countryCode:oe((()=>n.viewModel.countryChoice.value)),onChange:e=>r(e),minimumSearchValueLength:Mn().minimumOrganizationSearchLength,placeholder:i||a.formatHTMLMessage({id:"organizationNamePlaceholder",defaultMessage:"Organization"}),programId:o,value:e,inputHtmlId:"sid-licensed-professional",openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)}));function Zp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Jp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Zp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Zp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Xp={LICENSED_COSMETOLOGIST:"Licensed Cosmetologist",LICENSED_REAL_ESTATE_AGENT:"Licensed Real Estate Agent",VETERINARIAN:"Veterinarian",CHILD_CARE_WORKER:"Child Care Worker",LIBRARIAN:"Librarian"},Qp=Ft((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,i=t.verificationResponse,o=Ad(i),s=n.localeChoice.value,l=(e,r)=>{const a=Gs(n,(t=>{t[e]=r}));t.updateViewModel(a)},u=t=>t?e.formatHTMLMessage({id:t,defaultMessage:Xp[t]}):"";return q.createElement("div",{id:"sid-step-licensed-professional-personal-info",className:"sid-licensed-professional-personal-info-container sid-l-container"},o?q.createElement("p",null,"Failied instant match"):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-licensed-professional-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock this Special Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you have a professional license in your field."})),q.createElement("div",{className:"sid-header__how-verifying-works sid-l-horz-center"},q.createElement(Lm,{verificationService:t}),q.createElement(Bm,{verificationService:t}))),q.createElement(uc,{verificationService:t}),q.createElement(Um,{verificationService:t}),q.createElement(fp,{segmentId:"licensed-professional",value:{value:n.statuses?n.statuses[0]:"",label:n.statuses?u(n.statuses[0]):""},isErrored:!!a.statuses,options:(()=>{const e=i.availableStatuses,t=[];if(e)for(const r of e)t.push({value:r,label:u(r)});return t})(),onChange:e=>{const r=e?[e.value]:[];l("statuses",r),ol("statuses",e?e.value:"",t)}}),q.createElement(Kp,{isErrored:!!a.organization,onChange:e=>{al(e,t),ol("organization",e,t)},value:t.viewModel.organization,verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{l("firstName",e),ol("firstName",e,t)}}),q.createElement(Tl,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{l("lastName",e),ol("lastName",e,t)}})),q.createElement(Tm,{isErrored:!!a.birthDate,errorId:a.birthDate,locale:s,onChange:e=>{l("birthDate",e),ol("birthDate",e,t)},value:n.birthDate}),q.createElement(Ym,{isErrored:!!a.postalCode,onChange:e=>{l("postalCode",e),ol("postalCode",e,t)},value:n.postalCode,explanation:q.createElement(or,{id:"postalCodeExplanation",defaultMessage:"Use the location on file with your licensing body"})}),q.createElement(Al,{value:n.email,isErrored:!!a.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Needed to send you your unique code"}),onChange:e=>{l("email",e),ol("email",e,t)},onKeyDown:e=>fl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(gm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{l("phoneNumber",e),ol("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,Cr()(r=Mn().customFormFields).call(r,(e=>q.createElement(zm,{config:e,verificationService:t}))),q.createElement(fm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{l("metadata",Jp(Jp({},t.viewModel.metadata),{},{marketConsentValue:e})),ol("marketConsentValue",e,t)},viewModel:n}),q.createElement(jm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-licensed-professional-submit sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ml(n,t,ve.collectLicensedProfessionalPersonalInfo),type:"submit",className:"sid-btn sid-licensed-professional-submit-btn sid-btn--dark sid-l-full-width "+(so(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyLicensedProfessionalStatus",defaultMessage:"Verify My Licensed Professional Status"}))))),q.createElement(Rm,{verificationService:t}))}));function eh(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function th(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=eh(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=eh(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const rh=Ft((({verificationService:e})=>{var t;const r=e.viewModel,{fieldValidationErrors:n}=e,a=e.verificationResponse,i=Ad(a),o=(t,n)=>{const a=Gs(r,(e=>{e[t]=n}));e.updateViewModel(a)};return(0,q.useEffect)((()=>{o("statuses",a.availableStatuses)}),[]),q.createElement("div",{id:"sid-step-mover-personal-info",className:"sid-mover-personal-info-container sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-mover-personal-info-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Address"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(or,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name and address must match what is on your official documentation."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-mover-personal-info-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock this Special Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you have recently moved."}),q.createElement("br",null),q.createElement(Lm,{verificationService:e}),q.createElement(Bm,{verificationService:e}))),q.createElement(uc,{verificationService:e}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:r.firstName,isErrored:!!n.firstName,onChange:t=>{o("firstName",t),ol("firstName",t,e)}}),q.createElement(Tl,{value:r.lastName,isErrored:!!n.lastName,onChange:t=>{o("lastName",t),ol("lastName",t,e)}})),q.createElement(Qm,{value:r.address1,isErrored:!!n.address1,errorId:n.address1,onChange:t=>{o("address1",t),ol("address1",t,e)},label:q.createElement(or,{id:"streetAddress",defaultMessage:"Street Address"}),isRequired:!0}),q.createElement(Ym,{value:r.postalCode,isErrored:!!n.postalCode,onChange:t=>{o("postalCode",t),ol("postalCode",t,e)}}),q.createElement(Al,{value:r.email,isErrored:!!n.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Needed to send you your unique code"}),onChange:t=>{o("email",t),ol("email",t,e)},onKeyDown:e=>fl(e)}),e.programTheme.isSmsNotifierConfigured||e.programTheme.smsLoopEnabled?q.createElement(gm,{isRequired:!!e.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:t=>{o("phoneNumber",t),ol("phoneNumber",t,e)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,Cr()(t=Mn().customFormFields).call(t,(t=>q.createElement(zm,{config:t,verificationService:e}))),q.createElement(fm,{verificationService:e,isErrored:!!n.marketConsentValue,onChange:t=>{o("metadata",th(th({},e.viewModel.metadata),{},{marketConsentValue:t})),ol("marketConsentValue",t,e)},viewModel:r}),q.createElement(jm,{verificationService:e,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-mover-submit sid-submit"},q.createElement("button",{id:"sid-submit-wrapper__collect-info",onClick:()=>ml(r,e,ve.collectMoverPersonalInfo),type:"submit",className:"sid-btn sid-mover-submit-btn sid-btn--dark sid-l-full-width "+(so(r,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-label":"submit","aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyMoverStatus",defaultMessage:"Verify My Recent Mover Status"}))))),q.createElement(Rm,{verificationService:e}))})),nh=Ft((({value:e,isErrored:t,onChange:r,verificationService:n,intl:a,placeholder:i="",isRequired:o=!1})=>{const{programId:s}=n;return q.createElement("div",{className:"sid-field sid-low-income-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"lowIncomeOrganization",defaultMessage:"Government Assistance Program"}),htmlForLabel:"sid-low-income",id:"sid-low-income-label",displayClasses:i&&"sid-h-screen-reader-only",isRequired:o}),q.createElement(Cm,{className:t?"sid-text-input--error":"",countryCode:oe((()=>n.viewModel.countryChoice.value)),onChange:e=>r(e),minimumSearchValueLength:Mn().minimumOrganizationSearchLength,placeholder:i||a.formatHTMLMessage({id:"lowIncomeOrganizationPlaceholder",defaultMessage:"Government Assistance Program"}),programId:s,value:e,inputHtmlId:"sid-low-income",openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)})),ah=Ft((({value:e,isErrored:t,onChange:r,intl:n,placeholder:a=""})=>q.createElement(Nl,{fieldId:"ebtCardNumber",value:e,onChange:r,placeholder:a||n.formatHTMLMessage({id:"ebtCardNumberPlaceholder",defaultMessage:"EBT card Number"}),label:q.createElement(or,{id:"ebtCardNumber",defaultMessage:"EBT card Number"}),errorMessage:t&&q.createElement(or,{id:"errorId.invalidEBTCardNumber",defaultMessage:"Invalid EBT Card Number"}),showPlaceholderAndHideLabel:!!a})));function ih(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function oh(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=ih(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=ih(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const sh={SNAP_BENEFITS:"Snap Benefits Recipient",OTHER_GOVERNMENT_ASSISTANCE:"Other Government Assistance Recipient"},lh=Ft((({intl:e,verificationService:t})=>{const r=t.viewModel,{fieldValidationErrors:n}=t,a=t.verificationResponse,i=Ad(a),o=r.localeChoice.value,s=r.statuses[0]?r.statuses[0]:void 0,l="SNAP_BENEFITS"===s,u=(e,n)=>{const a=Gs(r,(t=>{t[e]=n}));t.updateViewModel(a)},c=t=>t?e.formatHTMLMessage({id:t,defaultMessage:sh[t]}):"";return q.useEffect((()=>{if(l){Sf({fieldsToSkipValidation:["organization"]})}}),[l]),q.createElement("div",{id:"sid-step-low-income-personal-info",className:"sid-low-income-personal-info-container sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-low-income-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your full name & other fields"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(or,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your information must match what is on your government-issued document(s)."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-low-income-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.title",defaultMessage:"Unlock this Special Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(or,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you qualify for an eligible government assistance program."})," ",q.createElement(Lm,{verificationService:t}),q.createElement(Bm,{verificationService:t}))),q.createElement(uc,{verificationService:t}),q.createElement(Um,{verificationService:t}),q.createElement(fp,{segmentId:"low-income",value:{value:r.statuses?r.statuses[0]:"",label:r.statuses?c(r.statuses[0]):""},isErrored:!!n.statuses,options:(()=>{const e=a.availableStatuses,t=[];if(e)for(const r of e)t.push({value:r,label:c(r)});return t})(),onChange:e=>{const r=e?[e.value]:[];u("statuses",r),ol("statuses",e?e.value:"",t)}}),"SNAP_BENEFITS"===s&&q.createElement(ah,{value:r.ebtCardNumber,isErrored:!!n.ebtCardNumber,onChange:e=>{u("ebtCardNumber",e),ol("ebtCardNumber",e,t)}}),"OTHER_GOVERNMENT_ASSISTANCE"===s&&q.createElement(nh,{isErrored:!!n.organization,onChange:e=>{al(e,t),ol("organization",e,t)},value:t.viewModel.organization,verificationService:t,isRequired:!0}),q.createElement("div",{className:"sid-names"},q.createElement(Dl,{value:r.firstName,isErrored:!!n.firstName,onChange:e=>{u("firstName",e),ol("firstName",e,t)}}),q.createElement(Tl,{value:r.lastName,isErrored:!!n.lastName,onChange:e=>{u("lastName",e),ol("lastName",e,t)}})),q.createElement(Tm,{isErrored:!!n.birthDate,errorId:n.birthDate,locale:o,onChange:e=>{u("birthDate",e),ol("birthDate",e,t)},value:r.birthDate}),q.createElement(Qm,{isErrored:!!n.address1,errorId:n.address1,onChange:e=>{u("address1",e),ol("address1",e,t)},value:r.address1,isRequired:!0,explanation:q.createElement(or,{id:"addressExplanation",defaultMessage:"Use your home address"})}),q.createElement("div",{className:"sid-address-extra-fields sid-thirds"},q.createElement(Xm,{isErrored:!!n.city,errorId:n.city,onChange:e=>{u("city",e),ol("city",e,t)},value:r.city,isRequired:!0}),q.createElement(Pp,{isRequired:!0,options:gl(t.programTheme,e),value:r.state||void 0,isErrored:Boolean(n.state),onChange:function(){var e=gr((function*(e){const r=e?e.value:void 0;u("state",r),ol("state",r,t)}));return function(t){return e.apply(this,arguments)}}()}),q.createElement(Ym,{isErrored:!!n.postalCode,onChange:e=>{u("postalCode",e),ol("postalCode",e,t)},value:r.postalCode})),q.createElement(Al,{value:r.email,isErrored:!!n.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:" "}),onChange:e=>{u("email",e),ol("email",e,t)},onKeyDown:e=>fl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(gm,{isRequired:!!t.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:e=>{u("phoneNumber",e),ol("phoneNumber",e,t)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,q.createElement(fm,{verificationService:t,isErrored:!!n.marketConsentValue,onChange:e=>{u("metadata",oh(oh({},t.viewModel.metadata),{},{marketConsentValue:e})),ol("marketConsentValue",e,t)},viewModel:r}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-low-income-submit sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ml(r,t,ve.collectLowIncomePersonalInfo),type:"submit",className:"sid-btn sid-low-income-submit-btn sid-btn--dark sid-l-full-width "+(so(r,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyLowIncomeStatus",defaultMessage:"Verify Status"}))))),q.createElement(Rm,{verificationService:t}))}));String.prototype.insertAt=function(e,t){return e>this.length?this:`${Tr()(this).call(this,0,e)}${t}${Tr()(this).call(this,e)}`};const uh=e=>{let t;try{if(t=e.toString(),!t)throw new Error}catch(e){return""}return t.replace(/[^\d]/g,"").insertAt(3,"-").insertAt(6,"-").replace("--","").replace(/-$/,"")},ch=Ft((({value:e,isErrored:t,onChange:r,intl:n,placeholder:a=""})=>q.createElement("div",{className:"sid-field sid-ssn"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"ssn",defaultMessage:"Social Security Number"}),htmlForLabel:"sid-ssn",id:"sid-ssn-label",displayClasses:a&&"sid-h-screen-reader-only"}),q.createElement(Sl,{id:"ssn",refId:Oe.socialSecurityNumber,className:"sid-ssn__input",isErrored:t,required:!0,placeholder:a||n.formatHTMLMessage({id:"ssnPlaceholder",defaultMessage:"000-00-0000"}),value:uh(e),hidePlaceholder:!1,onChange:e=>(e=>{r(e)})((e=>{var t;return Tr()(t=e.replace(/-/g,"")).call(t,0,9)})(e.target.value)),"aria-labelledby":"sid-ssn-label"}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidSocialSecurityNumber",defaultMessage:"Invalid SSN"})):null))),dh=({useSsn:e,useDocUpload:t,verificationService:r})=>q.createElement("div",{id:"sid-ssn-choice",className:"sid-ssn-choice-container sid-l-container sid-l-horz-center"},q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-ssn-choice-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:r})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.collectSocialSecurityNumber.selectOption",defaultMessage:"Select an option"}))),q.createElement("div",{className:"sid-ssn-choice__choice1 sid-l-space-top-lg"},q.createElement("button",{type:"button",onClick:e,className:"sid-btn sid-ssn-choice-one-btn sid-btn--light sid-l-full-width sid-use-ssn"},q.createElement(or,{id:"step.collectSocialSecurityNumber.useSsn",defaultMessage:"Verify using your social security number"}))),q.createElement("div",{className:"sid-ssn-choice__choice2 sid-l-space-top-md"},q.createElement("button",{type:"button",onClick:t,className:"sid-btn sid-ssn-choice-two-btn sid-btn--light sid-l-full-width sid-use-doc-upload"},q.createElement(or,{id:"step.collectSocialSecurityNumber.uploadDoc",defaultMessage:"Upload a document"}))),q.createElement("div",{className:"sid-ssn-choice__footer sid-l-space-top-lg"},q.createElement(Rm,{verificationService:r}))),fh=Ft((({verificationService:e})=>{const[t,r]=q.useState(!0),n=e.viewModel,{fieldValidationErrors:a}=e,i=()=>e.submitStep(ve.cancelSocialSecurityNumber,n,e.verificationResponse),o=n.socialSecurityNumber&&9===n.socialSecurityNumber.toString().length;return t?q.createElement(dh,{useSsn:()=>r(!1),useDocUpload:i,verificationService:e}):q.createElement("div",{id:"sid-step-social-security",className:"sid-social-sercurity-number-container sid-l-container sid-l-horz-center"},q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-social-security-number-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.collectSocialSecurityNumber.title",defaultMessage:"Enter your social security number"})),q.createElement(uc,{verificationService:e}),q.createElement("div",{className:"sid-ssn-wrapper"},q.createElement(ch,{value:n.socialSecurityNumber,onChange:t=>{((t,r)=>{const a=Gs(n,(e=>{e[t]=r}));e.updateViewModel(a)})("socialSecurityNumber",t),ol("socialSecurityNumber",t,e)},isErrored:!!a[Oe.socialSecurityNumber],placeholder:"000-00-0000"}))),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-social-security-number-submit sid-submit"},q.createElement("button",{id:"sid-submit-wrapper__collect-info",onClick:()=>ml(n,e,ve.collectSocialSecurityNumber),type:"submit",className:"sid-btn sid-social-security-number-submit-btn sid-btn--dark sid-l-full-width "+(o?"":"sid-btn--disabled-like"),"aria-label":"submit",ref:e=>Qs("submitButton",e)},q.createElement(or,{id:"proceed",defaultMessage:"Proceed"})))),q.createElement("div",{className:"sid-form-region sid-social-security-number-upload-instead-btn sid-l-space-top-md",role:"button",tabIndex:0,onKeyUp:i,onClick:i},q.createElement("div",{className:"sid-social-security-number-upload-instead-text sid-h-link-like"},q.createElement(or,{id:"step.collectSocialSecurityNumber.uploadInstead",defaultMessage:"Upload a document instead"}))),q.createElement(Rm,{verificationService:e}))})),mh=({verificationService:e,isCentered:t})=>q.createElement("div",{className:t?"sid-footer__powered-by-container--stacked sid-l-horz-center":"sid-footer__powered-by-container"},q.createElement("div",{className:t?"sid-footer__powered-by--stacked sid-l-horz-center":"sid-footer__powered-by"},q.createElement(or,{id:"poweredBy",defaultMessage:"Verification services powered by SheerID."})),q.createElement("div",{className:t?"sid-l-space-top-sm":""}," ",q.createElement(Pm,{verificationService:e}))),ph=({verificationService:e})=>{const t=oe((()=>e.verificationResponse.segment)),r=q.useCallback((()=>{gr((function*(){const{programId:r}=e;yield e.resetState(),e.fetchNewVerificationRequest(r,t,void 0,undefined,!0)}))()}),[e.programId,t]);return q.createElement("button",{type:"button",className:"sid-btn sid-btn-light sid-btn__try-again","aria-label":"submit",onClick:r,onKeyPress:r,tabIndex:0},q.createElement(or,{id:"tryAgain",defaultMessage:"Try again"}))},hh=({children:e})=>q.createElement("div",{className:"sid-l-space-top-lg sid-error-button-container sid-l-half-width sid-l-horz-center"},e),gh=Ft((({verificationService:e,errorId:t})=>{const r=e.verificationResponse;let n=oe((()=>r.errorIds))||[];t&&(n=[t,...n]);const a=oe((()=>n[0]),"error");let i={id:"error",defaultMessage:"Error"},o="sid-error-logo-container sid-l-horz-center",s=q.createElement(hh,null,q.createElement(ph,{verificationService:e}));if(oe((()=>e.messages[`step.error.errorId.${a}.title`]))&&(i={id:`step.error.errorId.${a}.title`,defaultMessage:e.messages[`step.error.errorId.${a}.title`]}),oe((()=>e.messages[`step.error.errorId.${a}.buttonText`]))&&oe((()=>r.redirectUrl))?s=q.createElement(hh,null,q.createElement(bd,{href:r.redirectUrl,onClick:()=>$d(ve.error,r.redirectUrl),className:"sid-btn sid-error-btn sid-btn-light"},q.createElement(or,{id:`step.error.errorId.${a}.buttonText`,defaultMessage:e.messages[`step.error.errorId.${a}.buttonText`]}))):$i()(n).call(n,"missingRequiredMetadata")&&(s=null),$i()(n).call(n,"verificationLimitExceeded")&&(s=null,o+=" sid-l-space-top-xl"),$i()(n).call(n,"unauthorizedAccountStatus")){const t=oe((()=>e.programTheme.config.brandInfo.faqUrl));s=t?q.createElement(hh,null,q.createElement(bd,{href:t,onClick:()=>$d(ve.error,t),className:"sid-btn sid-faq-btn sid-btn-light"},q.createElement(or,{id:"step.error.errorId.unauthorizedAccountStatus.buttonText",defaultMessage:e.messages["step.error.errorId.unauthorizedAccountStatus.buttonText"]}))):null}return q.createElement("div",{id:"sid-step-error",className:"sid-error-container sid-l-container"},q.createElement("div",{className:"sid-header sid-l-horz-center"},q.createElement("div",{className:o},q.createElement(mm,{verificationService:e,fallbackLogo:q.createElement("img",{className:"sid-error-logo sid-l-lead-image",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"})})),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(or,i)),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-l-space-top-md"},q.createElement("div",{className:"sid-error-msg sid-l-horz-center"},n?q.createElement("p",null,Cr()(n).call(n,(t=>q.createElement(or,{key:t,id:`errorId.${t}`,defaultMessage:t,values:{feedbackUrl:pn.FEEDBACK_FORM_URL,programId:e.programId||"",locale:Oa(e.viewModel,r).replace("-","_")}})))):null),s)),q.createElement("div",{className:"sid-footer sid-powered-by-container sid-l-horz-center sid-l-space-top-xl sid-h-small-text"},q.createElement(mh,{verificationService:e,isCentered:!0})))})),vh="Please sign in to your school's web portal. It will open in a new tab.",yh=({verificationService:e})=>{const t=e.verificationResponse.redirectUrl,r=Boolean(t),n=e.verificationResponse.rewardCode||"${rewardCode}",a="noCode"===e.programTheme.config.offerType,{verificationId:i}=e.verificationResponse,{rewardDisplay:o}=e.programTheme.config,s=!a&&!!o.length;return q.createElement("div",{id:"sid-step-success",className:"sid-success-container sid-l-container"},q.createElement("div",{className:"sid-header sid-l-horz-center sid-l-space-top-md"},q.createElement("div",{className:"sid-success-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e,fallbackLogo:q.createElement("img",{className:"sid-success-logo-default sid-l-lead-image",alt:"",src:"https://assets-resources.sheerid.com/common/images/2018/icons/circle-check.svg"})})),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md",role:"alert","aria-live":"polite"},q.createElement(or,{id:"step.success.title",defaultMessage:"Success! You've been verified."})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-l-two-thirds-width"},q.createElement(or,{id:"step.success.subtitle",defaultMessage:"Here is your personal coupon code.\n It is unique to you and can only be used once."}))),s&&q.createElement("div",{className:"sid-l-horz-center sid-reward-container sid-l-space-top-md"},Cr()(o).call(o,(e=>e!==Me.TEXT?q.createElement("img",{key:e,className:"sid-l-space-top-md sid-barcode",alt:n,src:Jn(i,"rewardCode",e)}):q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-reward-code sid-l-space-top-md sid-h-jumbo-text sid-l-horz-center"},n),q.createElement("div",{className:"sid-l-space-top-md sid-h-bold-text sid-l-horz-center"},q.createElement(mr,{textToCopy:n,notificationText:q.createElement(or,{id:"copied",defaultMessage:"Copied"})},q.createElement(or,{id:"step.success.copyCouponCode",defaultMessage:"Copy Coupon code"}))))))),q.createElement("div",{className:"sid-footer sid-success-footer sid-l-horz-center "+(a?"sid-l-space-top-md":"sid-l-space-top-lg")},q.createElement(or,{id:"step.success.emailNotification",defaultMessage:"We have emailed you a copy so you can use your code now or later. Look for the email from verify@sheerid.com"})),r?q.createElement("div",{className:"sid-submit sid-success-submit sid-l-space-top-md"},q.createElement("button",{type:"button",onClick:()=>(e=>{window.open(e,"_parent").focus()})(t),className:"sid-btn sid-success-redirect-btn sid-btn--dark"},q.createElement(or,{id:"step.success.redirectButtonText",defaultMessage:"Use code now"}))):"",q.createElement("div",{className:"sid-footer sid-success-verification-only-footer sid-l-horz-center sid-l-space-top-lg sid-h-small-text"},q.createElement(or,{id:"companyName",defaultMessage:"{Company}"},(e=>q.createElement(or,{id:"step.success.verificationOnly",defaultMessage:"\n SheerID handles verification only.\n Now that you've been approved, please direct all questions about the\n promotion terms to {companyName} customer service.\n ",values:{companyName:e}})))))};var bh=o(2035),Eh=o.n(bh);const wh=q.memo((({countdownSeconds:e,onCountdownFinish:t,logo:r})=>{const[n,a]=q.useState(e),i=q.useRef(n),o=q.useRef(null),s=()=>{const e=i.current-1;a(e),i.current=e,e<0&&(t(),clearInterval(o.current))};return q.useEffect((()=>{if(!_c())return o.current=Eh()(s,1e3),()=>clearInterval(o.current)}),[]),q.createElement("div",{className:"sid-header sid-l-horz-center","data-testid":"sid-countdown-pending"},q.createElement("div",{className:"sid-l-horz-center"},r),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(or,{id:"step.pending.titleCountdown",defaultMessage:"Processing"})),q.createElement("div",{className:"sid-header__subtitle-one"},q.createElement(or,{id:"step.pending.subtitleCountdown",defaultMessage:"Hang tight while we upload and scan your documents."})),q.createElement("div",{id:"sid-step-pending",className:"sid-l-container"},q.createElement("div",{className:"sid-countdown"},`00:${Tr()(l=`0${n}`).call(l,-2)}`)),q.createElement("div",{className:"sid-l-space-top-xl"}));var l})),Sh=({logo:e,cancelSSO:t})=>q.createElement("div",{className:"sid-header sid-l-horz-center"},q.createElement("div",{className:"sid-pending-logo-container sid-l-horz-center"},e),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(or,{id:"step.sso.title",defaultMessage:"Verify using your school credentials"})),q.createElement("div",{className:"sid-header__subtitle-one"},q.createElement(or,{id:"step.sso.subtitle",defaultMessage:"Please sign in to your school's web portal. It will open in a new tab."})),q.createElement("div",{className:"sid-l-space-top-xl"}),q.createElement("div",{className:"sid-header__subtitle-two sid-h-small-text sid-l-space-top-md"},q.createElement(or,{id:"step.sso.subtitle2",defaultMessage:"Can't sign in to your school?"}),q.createElement("div",{className:"sid-form-region sid-sso-pending-submit sid-submit-wrapper sid-l-space-top-md"},q.createElement("button",{onClick:t,type:"submit",className:"sid-btn sid-sso-pending-submit-btn sid-btn--dark sid-l-full-width","aria-label":"submit"},q.createElement(or,{id:"step.sso.cancel",defaultMessage:"Upload Proof of Enrollment"})))),q.createElement("div",{className:"sid-l-space-top-xl"}));function Mh(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}const Ch=({intl:e,logo:t,verificationService:r})=>{const n=r.verificationResponse,[a,i]=q.useState(!1);!a&&((e,t)=>{if(new(Sr())(window.location.search).get("alerting"))return!0;const r=oe((()=>e.estimatedReviewTime)),n=oe((()=>e.maxReviewTime)),a=oe((()=>t.estimatedReviewTime)),i=oe((()=>t.maxReviewTime));return void 0!==r&&r!==a||void 0!==n&&n!==i})(r.previousVerificationResponse,n)&&i(!0);const o=pl(function(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Mh(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Mh(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}({},n),r.programTheme,e);return q.createElement("div",{className:"sid-header sid-l-horz-center","data-testid":"sid-review-pending"},q.createElement("div",{className:"sid-l-horz-center"},t),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(or,{id:"step.pending.titleReview",defaultMessage:"Reviewing"})),q.createElement("div",{className:"sid-header__subtitle-one"},a?q.createElement(or,{id:"step.pending.subtitleAlt",defaultMessage:"SheerID is reviewing your documents, to confirm your status."}):q.createElement(or,{id:"step.pending.turnaroundTime",defaultMessage:"Turnaround time for your language is typically {estReviewTime}, and in rare times of high volume may take up to {maxReviewTime}.",values:o})),q.createElement("div",{className:"sid-header__subtitle-two sid-l-space-top-md"},q.createElement(or,{id:"step.pending.subtitle2",defaultMessage:"Wait here or let us notify you of the outcome."})),q.createElement("div",{className:"sid-header__subtitle-three sid-l-space-top-md"},q.createElement(or,{id:"step.pending.subtitle3",defaultMessage:"You will be contacted via email."})),a?q.createElement("div",{className:"sid-pending-red-box"},q.createElement("ul",null,q.createElement("li",null,q.createElement(or,{id:"step.pending.docDiffLang",defaultMessage:"We identified your document is in a different language."})),q.createElement("li",null,q.createElement(or,{id:"step.pending.turnaroundTime",defaultMessage:"Turnaround time for your language is typically {estReviewTime}, and in rare times of high volume may take up to {maxReviewTime}.",values:o})))):null,q.createElement("div",{className:"sid-l-space-top-xl"}))},Ih=(e,t)=>{const r=q.useRef(null);function n(){clearInterval(r.current)}return q.useEffect((()=>(r.current=Eh()(e,t),()=>n())),[e,t]),n},Nh=Ft((({verificationService:e,intl:t})=>{const{programId:r}=e,{viewModel:n}=e,a=e.previousViewModel||void 0,i=e.verificationResponse.lastResponse||e.previousVerificationResponse||void 0,{verificationId:o}=e.verificationResponse,s=_c(),l=Pc()&&Pc()===ve.sso,u=Pc()&&Pc()===ve.docUpload,c=()=>!(!i||i.currentStep!==ve.sso),[d,f]=q.useState(((e,t,r,n)=>(e||!t)&&!r&&!n)("pending"===Mn().mockStep,c(),l,u)),m=c()||d?5e3:2e4,p=!s&&Ih((()=>{e.fetchExistingVerificationRequest(r,o,i,a,!1)}),m),h=()=>{const t=Gs(n,(()=>{}));he.info("StepSSOComponent submitting cancel request"),p(),e.submitStep(ve.sso,t,i)},g=()=>{f(!1)},v=q.createElement(mm,{verificationService:e,fallbackLogo:q.createElement("img",{className:"sid-l-lead-image",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"})});return q.createElement("div",{id:"sid-step-pending",className:"sid-l-container"},(()=>{const r=c()||l;return d?q.createElement(wh,{logo:v,onCountdownFinish:g,countdownSeconds:20}):r?q.createElement(Sh,{logo:v,cancelSSO:h}):q.createElement(Ch,{verificationService:e,logo:v,intl:t,maxReviewTime:Ga(e.programTheme)})})(),d?q.createElement(mh,{verificationService:e,isCentered:!0}):q.createElement(Rm,{verificationService:e},q.createElement("div",null)," "))})),Dh=Ft((({onChange:e,value:t,isErrored:r,errorId:n,intl:a,placeholder:i=""})=>q.createElement("div",{className:"sid-field sid-sms-code-id"},q.createElement("div",{className:"sid-l-space-top-md"}),r?q.createElement("div",{className:"sid-field-error"},(e=>{switch(e){case"invalidSMSCode":return q.createElement(or,{id:"step.smsLoop.errors.codeVerification",defaultMessage:"Verification code could not be validated."});case"expiredSMSCode":return q.createElement(or,{id:"step.smsLoop.errors.codeExpired",defaultMessage:"Verification code expired."});default:return q.createElement(or,{id:"errorId.unknownError",defaultMessage:"Unknown Error"})}})(n)):null,q.createElement(Sl,{id:"sms-code",isErrored:r,required:!0,placeholder:i||a.formatHTMLMessage({id:"smsCodePlaceholder",defaultMessage:"SMS Code"}),value:t,onChange:t=>e(t.target.value)}))));function Th(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Ah(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Th(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Th(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const xh=Ft((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,a=t.verificationResponse,i=Boolean(t.fieldValidationErrors.smsCode),o=t.previousViewModel||void 0,[s,l]=q.useState(""),[u,c]=q.useState(a.errorIds&&$i()(r=a.errorIds).call(r,"incorrectSMSCodeAttemptLimitExceeded")),d=e.formatHTMLMessage({id:"step.smsLoop.successResend",defaultMessage:"SMS message re-sent successfully"}),f=e.formatHTMLMessage({id:"step.smsLoop.errors.codeResendLimit",defaultMessage:"Maximum number of re-tries has been reached."}),m=e.formatHTMLMessage({id:"step.smsLoop.errors.codeResendLimit",defaultMessage:"Maximum number of re-tries has been reached."}),p=e.formatHTMLMessage({id:"step.smsLoop.errors.resend",defaultMessage:"Error sending the SMS message"});q.useEffect((()=>{u&&l(m)}),[]),oe((()=>a.errorIds.length))&&!t.fieldValidationErrors.smsCode&&t.updateFieldValidationErrors(Ah(Ah({},t.fieldValidationErrors),{},{smsCode:a.errorIds[0]}));const h=function(){var e=gr((function*(e){const t=yield vd.getResendNewSmsCode(e);t?(c(!1),l(204===t.status?d:f)):l(p)}));return function(t){return e.apply(this,arguments)}}();return q.createElement("div",{id:"sid-step-sms-loop",className:"sid-sms-loop-container sid-l-container"},q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(or,{id:"step.smsLoop.verificationCode",defaultMessage:"Verification Code"})),q.createElement("div",{className:"sid-header__subtitle"},oe((()=>o.phoneNumber))?q.createElement(or,{id:"step.smsLoop.titleWithNumber",defaultMessage:"We've sent an SMS message to the mobile number ending in {number}. Enter your code here.",values:{number:oe((()=>{var e;return Tr()(e=o.phoneNumber).call(e,-4)}),"")}}):q.createElement(or,{id:"step.smsLoop.titleWithoutNumber",defaultMessage:"We've sent an SMS to your mobile number. Please enter the code here."})),q.createElement("div",{className:"sid-sms-code-id-wrapper sid-l-horz-center"},q.createElement(Dh,{onChange:e=>{const r=Gs(n,(t=>{t.smsCode=e,t.phoneNumber=o&&o.phoneNumber}));t.updateViewModel(r)},value:n.smsCode,isErrored:i,errorId:t.fieldValidationErrors.smsCode})),s&&q.createElement("div",null,q.createElement("p",null,s)),q.createElement("div",{className:"sid-submit sid-sms-loop-submit sid-l-space-top-md sid-l-horz-center"},q.createElement("button",{id:"sid-submit-sms-code",onClick:()=>{he.info("StepSMSLoop submitting form"),t.submitStep(ve.smsLoop,n,t.verificationResponse)},type:"button",className:"sid-btn sid-sms-loop-submit-btn sid-btn--dark sid-submit__continue","aria-label":"submit",disabled:!!(!n.smsCode||n.smsCode.length<=0||u)},q.createElement(or,{id:"step.smsLoop.submitButton",defaultMessage:"Submit"})),q.createElement("div",{className:"sid-l-space-left-sm"}," "),q.createElement("button",{id:"sid-resend-sms-code",onClick:()=>h(a.verificationId),type:"submit",className:"sid-btn sid-resend-sms-code-btn sid-btn--light sid-submit__cancel","aria-label":"re-send"},q.createElement(or,{id:"step.smsLoop.resendButton",defaultMessage:"Re-send"}))),q.createElement("div",{className:"sid-incorrect-number sid-l-horz-center"},q.createElement(or,{id:"step.smsLoop.incorrectNumber.incorrectNumber1",defaultMessage:"Incorrect number? Click"})," ",q.createElement("button",{type:"button",onClick:()=>window.location.reload(),className:"sid-incorrect-number__refresh-link sid-h-btn-link-like"},q.createElement(or,{id:"step.smsLoop.incorrectNumber.incorrectNumber2",defaultMessage:"here"})," "),q.createElement(or,{id:"companyName",defaultMessage:"{Company}"},(e=>q.createElement(or,{id:"step.smsLoop.incorrectNumber.incorrectNumber3",defaultMessage:"to return to {companyName}",values:{companyName:e}})))))})),_h=Ft((({intl:e,verificationService:r})=>{const n=r.verificationResponse,{programId:a}=r,{verificationId:i}=n,{canResendEmailLoop:o}=n,s=n.cancelUrl,l=r.viewModel,u=r.previousViewModel||void 0,c=r.previousVerificationResponse||void 0,[f,m]=q.useState(""),p=oe((()=>u.email));q.useEffect((()=>{(e=>{const r=e.viewModel,n=xr(),a=Gs(r,(e=>{var a;d()(a=t()(r)).call(a,(t=>{n.has(t)&&(e[t]=n.get(t))}))}));e.updateViewModel(a)})(r)}),[]),q.useEffect((()=>{l.emailToken&&(he.info("StepEmailLoopComponent submitting form"),r.submitStep(ve.emailLoop,l,r.verificationResponse))}),[l.emailToken]),Ih((()=>{r.fetchExistingVerificationRequest(a,i,c,u,!1)}),1e4);const h=function(){var t=gr((function*(t){const r=yield vd.getResendNewEmailCode(t);if(r){const t={id:"step.emailLoop.successResend",defaultMessage:"Email re-sent successfully."},n={id:"step.emailLoop.errors.resend",defaultMessage:"Error sending email"},a=204===r.status?e.formatHTMLMessage(t):e.formatHTMLMessage(n);m(a)}else m(e.formatHTMLMessage({id:"step.emailLoop.errors.resend",defaultMessage:"Error sending email"}))}));return function(e){return t.apply(this,arguments)}}(),g=function(){var e=gr((function*(){he.info("StepEmailLoopComponent submitting form after skipping email loop");const e=Ys(l,(()=>{}));r.submitStep(ve.cancelEmailLoop,e,r.verificationResponse)}));return function(){return e.apply(this,arguments)}}();return q.createElement("div",{id:"sid-step-email-loop",className:"sid-step-email-loop-container sid-l-container"},q.createElement("div",{className:"sid-header sid-l-horz-center"},q.createElement("div",{className:"sid-email-loop-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:r,fallbackLogo:q.createElement("img",{className:"sid-email-loop-logo sid-l-lead-image",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"})})),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(or,{id:"step.emailLoop.title",defaultMessage:"Check your email"})),q.createElement("div",{className:"sid-header__subtitle-one"},p?q.createElement(or,{id:"step.emailLoop.subtitleWithEmail",defaultMessage:"An email has been sent to {email} with a personalized link to complete the verification process.",values:{email:p}}):q.createElement(or,{id:"step.emailLoop.subtitleWithoutEmail",defaultMessage:"An email has been sent to your email account with a personalized link to complete the verification process."})),q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement("div",{className:"sid-header__subtitle-two sid-h-small-text sid-l-space-top-md"},q.createElement(or,{id:"step.emailLoop.subtitle2",defaultMessage:"Please check for an email from us (verify@sheerid.com) for all the details."})),s&&q.createElement("div",{className:"sid-skip-email sid-l-space-top-lg"},q.createElement(or,{id:"step.emailLoop.skipEmail",defaultMessage:"Unable to retrieve this email? Click "})," ",q.createElement("button",{type:"button",onClick:()=>g(),className:"sid-incorrect-number__refresh-link sid-h-btn-link-like"},q.createElement(or,{id:"step.emailLoop.skipEmailCTA",defaultMessage:"here"}))," ",q.createElement(or,{id:"step.emailLoop.skipEmail2",defaultMessage:" to proceed."})),o&&q.createElement("div",{className:"sid-header__resend-btn sid-l-space-top-md sid-submit sid-l-horz-center"},q.createElement("button",{id:"sid-resend-email",onClick:()=>h(i),type:"submit",className:"sid-btn sid-btn--light sid-resend-email-btn sid-submit__cancel","aria-label":"re-send"},q.createElement(or,{id:"step.emailLoop.resendButton",defaultMessage:"Re-send"}))),f&&q.createElement("div",{className:"sid-resent-email-loop-email-message"},q.createElement("p",null,f)),q.createElement("div",{className:"sid-l-space-top-xl"})))}));var Oh=o(6358),kh=o.n(Oh),Ph=new Map([["avi","video/avi"],["gif","image/gif"],["ico","image/x-icon"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["mkv","video/x-matroska"],["mov","video/quicktime"],["mp4","video/mp4"],["pdf","application/pdf"],["png","image/png"],["zip","application/zip"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"]]);function Rh(e,t){var r=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var r=t.split(".").pop().toLowerCase(),n=Ph.get(r);n&&Object.defineProperty(e,"type",{value:n,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof r.path){var n=e.webkitRelativePath;Object.defineProperty(r,"path",{value:"string"==typeof t?t:"string"==typeof n&&n.length>0?n:e.name,writable:!1,configurable:!1,enumerable:!0})}return r}var Fh=[".DS_Store","Thumbs.db"];function Lh(e){return(null!==e.target&&e.target.files?Vh(e.target.files):[]).map((function(e){return Rh(e)}))}function Uh(e,t){return zl(this,void 0,void 0,(function(){var r;return jl(this,(function(n){switch(n.label){case 0:return e.items?(r=Vh(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,r]:[4,Promise.all(r.map(zh))]):[3,2];case 1:return[2,Bh(jh(n.sent()))];case 2:return[2,Bh(Vh(e.files).map((function(e){return Rh(e)})))]}}))}))}function Bh(e){return e.filter((function(e){return-1===Fh.indexOf(e.name)}))}function Vh(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];t.push(n)}return t}function zh(e){if("function"!=typeof e.webkitGetAsEntry)return Hh(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?qh(t):Hh(e)}function jh(e){return e.reduce((function(e,t){return function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Hl(arguments[t]));return e}(e,Array.isArray(t)?jh(t):[t])}),[])}function Hh(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var r=Rh(t);return Promise.resolve(r)}function $h(e){return zl(this,void 0,void 0,(function(){return jl(this,(function(t){return[2,e.isDirectory?qh(e):Wh(e)]}))}))}function qh(e){var t=e.createReader();return new Promise((function(e,r){var n=[];!function a(){var i=this;t.readEntries((function(t){return zl(i,void 0,void 0,(function(){var i,o,s;return jl(this,(function(l){switch(l.label){case 0:if(t.length)return[3,5];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,Promise.all(n)];case 2:return i=l.sent(),e(i),[3,4];case 3:return o=l.sent(),r(o),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map($h)),n.push(s),a(),l.label=6;case 6:return[2]}}))}))}),(function(e){r(e)}))}()}))}function Wh(e){return zl(this,void 0,void 0,(function(){return jl(this,(function(t){return[2,new Promise((function(t,r){e.file((function(r){var n=Rh(r,e.fullPath);t(n)}),(function(e){r(e)}))}))]}))}))}var Gh=o(8801);function Yh(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){a=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(a)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Kh(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Kh(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 Kh(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Zh=function(e){e=Array.isArray(e)&&1===e.length?e[0]:e;var t=Array.isArray(e)?"one of ".concat(e.join(", ")):e;return{code:"file-invalid-type",message:"File type must be ".concat(t)}},Jh=function(e){return{code:"file-too-large",message:"File is larger than ".concat(e," bytes")}},Xh=function(e){return{code:"file-too-small",message:"File is smaller than ".concat(e," bytes")}},Qh={code:"too-many-files",message:"Too many files"};function eg(e,t){var r="application/x-moz-file"===e.type||(0,Gh.Z)(e,t);return[r,r?null:Zh(t)]}function tg(e,t,r){if(rg(e.size))if(rg(t)&&rg(r)){if(e.size>r)return[!1,Jh(r)];if(e.size<t)return[!1,Xh(t)]}else{if(rg(t)&&e.size<t)return[!1,Xh(t)];if(rg(r)&&e.size>r)return[!1,Jh(r)]}return[!0,null]}function rg(e){return null!=e}function ng(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function ag(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function ig(e){e.preventDefault()}function og(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return t.some((function(t){return!ng(e)&&t&&t.apply(void 0,[e].concat(n)),ng(e)}))}}function sg(e){return function(e){if(Array.isArray(e))return cg(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||ug(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 lg(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){a=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(a)throw i}}return r}(e,t)||ug(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 ug(e,t){if(e){if("string"==typeof e)return cg(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?cg(e,t):void 0}}function cg(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function dg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function fg(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?dg(Object(r),!0).forEach((function(t){mg(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dg(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function mg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pg(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var hg=(0,q.forwardRef)((function(e,t){var r=e.children,n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=fg(fg({},gg),e),r=t.accept,n=t.disabled,a=t.getFilesFromEvent,i=t.maxSize,o=t.minSize,s=t.multiple,l=t.maxFiles,u=t.onDragEnter,c=t.onDragLeave,d=t.onDragOver,f=t.onDrop,m=t.onDropAccepted,p=t.onDropRejected,h=t.onFileDialogCancel,g=t.preventDropOnDocument,v=t.noClick,y=t.noKeyboard,b=t.noDrag,E=t.noDragEventsBubbling,w=t.validator,S=(0,q.useRef)(null),M=(0,q.useRef)(null),C=lg((0,q.useReducer)(bg,yg),2),I=C[0],N=C[1],D=I.isFocused,T=I.isFileDialogActive,A=I.draggedFiles,x=(0,q.useCallback)((function(){M.current&&(N({type:"openDialog"}),M.current.value=null,M.current.click())}),[N]),_=function(){T&&setTimeout((function(){M.current&&(M.current.files.length||(N({type:"closeDialog"}),"function"==typeof h&&h()))}),300)};(0,q.useEffect)((function(){return window.addEventListener("focus",_,!1),function(){window.removeEventListener("focus",_,!1)}}),[M,T,h]);var O=(0,q.useCallback)((function(e){S.current&&S.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),x()))}),[S,M]),k=(0,q.useCallback)((function(){N({type:"focus"})}),[]),P=(0,q.useCallback)((function(){N({type:"blur"})}),[]),R=(0,q.useCallback)((function(){v||(!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return function(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}(e)||function(e){return-1!==e.indexOf("Edge/")}(e)}()?x():setTimeout(x,0))}),[M,v]),F=(0,q.useRef)([]),L=function(e){S.current&&S.current.contains(e.target)||(e.preventDefault(),F.current=[])};(0,q.useEffect)((function(){return g&&(document.addEventListener("dragover",ig,!1),document.addEventListener("drop",L,!1)),function(){g&&(document.removeEventListener("dragover",ig),document.removeEventListener("drop",L))}}),[S,g]);var U=(0,q.useCallback)((function(e){e.preventDefault(),e.persist(),W(e),F.current=[].concat(sg(F.current),[e.target]),ag(e)&&Promise.resolve(a(e)).then((function(t){ng(e)&&!E||(N({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),u&&u(e))}))}),[a,u,E]),B=(0,q.useCallback)((function(e){e.preventDefault(),e.persist(),W(e);var t=ag(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return t&&d&&d(e),!1}),[d,E]),V=(0,q.useCallback)((function(e){e.preventDefault(),e.persist(),W(e);var t=F.current.filter((function(e){return S.current&&S.current.contains(e)})),r=t.indexOf(e.target);-1!==r&&t.splice(r,1),F.current=t,t.length>0||(N({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),ag(e)&&c&&c(e))}),[S,c,E]),z=(0,q.useCallback)((function(e){e.preventDefault(),e.persist(),W(e),F.current=[],ag(e)&&Promise.resolve(a(e)).then((function(t){if(!ng(e)||E){var n=[],a=[];t.forEach((function(e){var t=lg(eg(e,r),2),s=t[0],l=t[1],u=lg(tg(e,o,i),2),c=u[0],d=u[1],f=w?w(e):null;if(s&&c&&!f)n.push(e);else{var m=[l,d];f&&(m=m.concat(f)),a.push({file:e,errors:m.filter((function(e){return e}))})}})),(!s&&n.length>1||s&&l>=1&&n.length>l)&&(n.forEach((function(e){a.push({file:e,errors:[Qh]})})),n.splice(0)),N({acceptedFiles:n,fileRejections:a,type:"setFiles"}),f&&f(n,a,e),a.length>0&&p&&p(a,e),n.length>0&&m&&m(n,e)}})),N({type:"reset"})}),[s,r,o,i,l,a,f,m,p,E]),j=function(e){return n?null:e},H=function(e){return y?null:j(e)},$=function(e){return b?null:j(e)},W=function(e){E&&e.stopPropagation()},G=(0,q.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,r=void 0===t?"ref":t,a=e.onKeyDown,i=e.onFocus,o=e.onBlur,s=e.onClick,l=e.onDragEnter,u=e.onDragOver,c=e.onDragLeave,d=e.onDrop,f=pg(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return fg(fg(mg({onKeyDown:H(og(a,O)),onFocus:H(og(i,k)),onBlur:H(og(o,P)),onClick:j(og(s,R)),onDragEnter:$(og(l,U)),onDragOver:$(og(u,B)),onDragLeave:$(og(c,V)),onDrop:$(og(d,z))},r,S),n||y?{}:{tabIndex:0}),f)}}),[S,O,k,P,R,U,B,V,z,y,b,n]),Y=(0,q.useCallback)((function(e){e.stopPropagation()}),[]),K=(0,q.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,a=e.onChange,i=e.onClick,o=pg(e,["refKey","onChange","onClick"]);return fg(fg({},mg({accept:r,multiple:s,type:"file",style:{display:"none"},onChange:j(og(a,z)),onClick:j(og(i,Y)),autoComplete:"off",tabIndex:-1},n,M)),o)}}),[M,r,s,z,n]),Z=A.length,J=Z>0&&function(e){var t=e.files,r=e.accept,n=e.minSize,a=e.maxSize,i=e.multiple,o=e.maxFiles;return!(!i&&t.length>1||i&&o>=1&&t.length>o)&&t.every((function(e){var t=Yh(eg(e,r),1)[0],i=Yh(tg(e,n,a),1)[0];return t&&i}))}({files:A,accept:r,minSize:o,maxSize:i,multiple:s,maxFiles:l}),X=Z>0&&!J;return fg(fg({},I),{},{isDragAccept:J,isDragReject:X,isFocused:D&&!n,getRootProps:G,getInputProps:K,rootRef:S,inputRef:M,open:j(x)})}(pg(e,["children"])),a=n.open,i=pg(n,["open"]);return(0,q.useImperativeHandle)(t,(function(){return{open:a}}),[a]),q.createElement(q.Fragment,null,r(fg(fg({},i),{},{open:a})))}));hg.displayName="Dropzone";var gg={disabled:!1,getFilesFromEvent:function(e){return zl(this,void 0,void 0,(function(){return jl(this,(function(t){return[2,(r=e,r.dataTransfer&&e.dataTransfer?Uh(e.dataTransfer,e.type):Lh(e))];var r}))}))},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null};hg.defaultProps=gg,hg.propTypes={children:$e().func,accept:$e().oneOfType([$e().string,$e().arrayOf($e().string)]),multiple:$e().bool,preventDropOnDocument:$e().bool,noClick:$e().bool,noKeyboard:$e().bool,noDrag:$e().bool,noDragEventsBubbling:$e().bool,minSize:$e().number,maxSize:$e().number,maxFiles:$e().number,disabled:$e().bool,getFilesFromEvent:$e().func,onFileDialogCancel:$e().func,onDragEnter:$e().func,onDragLeave:$e().func,onDragOver:$e().func,onDrop:$e().func,onDropAccepted:$e().func,onDropRejected:$e().func,validator:$e().func};const vg=hg;var yg={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]};function bg(e,t){switch(t.type){case"focus":return fg(fg({},e),{},{isFocused:!0});case"blur":return fg(fg({},e),{},{isFocused:!1});case"openDialog":return fg(fg({},e),{},{isFileDialogActive:!0});case"closeDialog":return fg(fg({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":var r=t.isDragActive,n=t.draggedFiles;return fg(fg({},e),{},{draggedFiles:n,isDragActive:r});case"setFiles":return fg(fg({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return fg(fg({},e),{},{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]});default:return e}}const Eg=q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.nameChanged",defaultMessage:"If your name has changed since the document was issued, upload a 2nd document showing your official name change."})),wg=({verificationService:e})=>{const{segment:t}=e.verificationResponse,{subSegment:r}=e.verificationResponse;let n;switch(qr(t),t){case Ie.STUDENT:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.student.idCard",defaultMessage:"School ID card with expiration date"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.student.classSchedule",defaultMessage:"Class schedule"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.student.tuitionReceipt",defaultMessage:"Tuition receipt"})));break;case Ie.TEACHER:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.teacher.idCard",defaultMessage:"Teacher ID card with valid date"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.teacher.payStub",defaultMessage:"Pay stub from within last 60 days"})));break;case Ie.MEMBER:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.member.idCard",defaultMessage:"Membership Document"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.member.payStub",defaultMessage:"Pay stub from within last 90 days"})));break;case Ie.SENIOR:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.senior.birthCertificate",defaultMessage:"Your birth certificate"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.senior.driversLicense",defaultMessage:"Your drivers license"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.senior.passport",defaultMessage:"Your passport"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.senior.stateId",defaultMessage:"Your state-issued ID"})));break;case Ie.AGE:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.age.birthCertificate",defaultMessage:"Your birth certificate"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.age.driversLicense",defaultMessage:"Your drivers license"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.age.passport",defaultMessage:"Your passport"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.age.stateId",defaultMessage:"Your state-issued ID"})));break;case Ie.MILITARY:switch(r){case De.ACTIVE_DUTY:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.military.activeDuty",defaultMessage:"Any document that proves you are currently serving as active duty in the armed forces for 30 days or more"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.military.allowedDocuments",defaultMessage:"Please only upload documents you are legally allowed to provide."})),Eg);break;case De.VETERAN:n=q.createElement("ul",{className:"sid-list sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-li sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.military.veteran",defaultMessage:"Any document that proves you met the qualifications of military service and were honorably discharged"})),Eg);break;case De.RESERVIST:n=q.createElement("ul",{className:"sid-list sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-li sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.military.reservistA",defaultMessage:"Any document that shows you are currently serving in a reserve component of the armed forces"})),Eg);break;case De.MILITARY_RETIREE:n=q.createElement("ul",{className:"sid-list sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-li sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.military.retiree",defaultMessage:"Any document that proves you are a retiree from the armed forces"})),Eg);break;case De.MILITARY_FAMILY:n=q.createElement("ul",{className:"sid-list sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-li sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.military.dependent",defaultMessage:"Any document that proves you are a Registered Military Dependent"})),Eg);break;default:return null}break;case Ie.FIRST_RESPONDER:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.firstResponder.idCard",defaultMessage:"ID Card"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.firstResponder.payStub",defaultMessage:"Pay stub from within last 60 days"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.firstResponder.letter",defaultMessage:"An official letter"})));break;case Ie.MEDICAL:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.medical.licenseCertificate",defaultMessage:"Certificate of license"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.medical.idCard",defaultMessage:"Nursing ID card with expiration date"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.medical.photoPayStub",defaultMessage:"Photo ID and recent Pay Stub"})));break;case Ie.EMPLOYMENT:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.employment.employeeIdCard",defaultMessage:"Employee ID Card"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.employment.payStub",defaultMessage:"Pay stub from within last 60 days"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.employment.officialLetter",defaultMessage:"An official letter"})));break;case Ie.LICENSED_PROFESSIONAL:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.licensedProfessional.license",defaultMessage:"Certificate of license"})));break;case Ie.RECENT_MOVER:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.recentMover.changeOfAddress",defaultMessage:"U.S. Postal Service change of address confirmation letter"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.recentMover.mortgageDeed",defaultMessage:"Mortgage deed"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.recentMover.rentalAgreement",defaultMessage:"Lease or rental agreement"})));break;case Ie.LOW_INCOME:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.lowIncome.programCard",defaultMessage:"Back and front of a card showing you qualify for the selected government assistance program (for example, an EBT card for a SNAP Program)."})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.lowIncome.programApprovalLetter",defaultMessage:"Approval letter of the selected government assistance program issued by a government agency (for example, a Supplemental Security Income (SSI) eligibility letter)."})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.lowIncome.programApprovalScreenshot",defaultMessage:"A screenshot of the online portal of the selected government assistance program showing you qualify for it (Screenshot of your Medicare application status on your online account)."})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.lowIncome.programBankStatement",defaultMessage:"A bank statement showing recent payment of the selected benefit."})));break;default:return null}return q.createElement("div",null,q.createElement("span",{className:"sid-acceptable-uploads-examples"},q.createElement("strong",null,q.createElement(or,{id:"step.docUpload.acceptableUploadExamples",defaultMessage:"Acceptable examples include:"}))),n)},Sg=({id:e,defaultMessage:t})=>q.createElement("span",{className:"sid-upload-info-examples"},q.createElement("strong",null,q.createElement(or,{id:e,defaultMessage:t}),":")),Mg=({verificationService:e})=>{const{segment:t}=e.verificationResponse,{subSegment:r}=e.verificationResponse;switch(qr(t),t){case Ie.STUDENT:return q.createElement("div",null,q.createElement(Sg,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload your school-issued document that shows"}),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.student.school",defaultMessage:"Your school"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.student.enrollmentDate",defaultMessage:"Date proving enrollment for the current term (or within last 3 months)"}))));case Ie.TEACHER:return q.createElement("div",null,q.createElement(Sg,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload your school-issued document that shows"}),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.teacher.school",defaultMessage:"Your school"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.teacher.currentSchoolYear",defaultMessage:"A date in the current school year"}))));case Ie.MEMBER:return q.createElement("div",null,q.createElement(Sg,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows"}),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.organization",defaultMessage:"Your organization"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.affiliation",defaultMessage:"Your current affiliation with that organization"}))));case Ie.MILITARY:return r===De.MILITARY_FAMILY?q.createElement("div",null,q.createElement(Sg,{id:"step.docUpload.uploadInfo.military.uploadInstructionsDependent",defaultMessage:"Please upload a Dependent ID card that clearly shows your first name, last name, valid dates and status"})):q.createElement("div",null,q.createElement(Sg,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload your government-issued document that shows"}),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.military.serviceBranch",defaultMessage:"Your branch of service"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.military.dischargeDate",defaultMessage:"Your discharge date (if applicable)"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.military.currentAffiliation",defaultMessage:"Your current affiliation with the armed services"}))));case Ie.SENIOR:return q.createElement("div",null,q.createElement(Sg,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload a government-issued document that shows"}),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.senior.birthDate",defaultMessage:"Your date of birth"}))));case Ie.AGE:return q.createElement("div",null,q.createElement(Sg,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload a government-issued document that shows"}),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.age.birthDate",defaultMessage:"Your date of birth"}))));case Ie.FIRST_RESPONDER:return q.createElement("div",null,q.createElement(Sg,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows"}),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.firstResponder.organization",defaultMessage:"Your organization"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.firstResponder.currentAffiliation",defaultMessage:"Your current affiliation with that organization"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.firstResponder.license",defaultMessage:"Your status or license as a First Responder"}))));case Ie.MEDICAL:return q.createElement("div",null,q.createElement(Sg,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows"}),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.medical.status",defaultMessage:"Your nursing status"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.medical.validDate",defaultMessage:"A currently valid date"}))));case Ie.EMPLOYMENT:return q.createElement("div",null,q.createElement(Sg,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows"}),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.employment.company",defaultMessage:"Your company"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.employment.currentAffiliation",defaultMessage:"Your current affiliation with that company"}))));case Ie.IDENTITY:return q.createElement("div",null,q.createElement(Sg,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows"}),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.identity.validDate",defaultMessage:"A currently valid date"}))));case Ie.LICENSED_PROFESSIONAL:return q.createElement("div",null,q.createElement(Sg,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows"}),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.licensedProfessional.licenseStatus",defaultMessage:"Your professional license and/or certification status"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.identity.validDate",defaultMessage:"A currently valid date"}))));case Ie.LOW_INCOME:{var n;const t=e.viewModel,r=t&&t.statuses&&$i()(n=t.statuses).call(n,"SNAP_BENEFITS");return q.createElement("div",null,q.createElement(Sg,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows"}),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.lowIncome.validDate",defaultMessage:"The date when the document was issued (should be within the last 12 months) or the expiry date"})),r&&q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.lowIncome.ebtNumber",defaultMessage:"EBT card number"}))))}case Ie.RECENT_MOVER:return q.createElement("div",null,q.createElement(Sg,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows"}),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.recentMover.address",defaultMessage:"Your new address"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(or,{id:"step.docUpload.uploadInfo.recentMover.validDate",defaultMessage:"A valid date for your recent move"}))));default:return null}},Cg=Ft((({verificationService:e,intl:r})=>{var n;const a=e.verificationResponse,{rejectionReasons:o}=a,{programTheme:s}=e,l=e.viewModel,{fieldValidationErrors:u}=e,c=oe((()=>e.verificationResponse.subSegment)),{overrideEnabled:f}=e.programTheme,m=e=>{var t;return{name:e.name,url:$i()(t=e.type).call(t,"image")?Er().createObjectURL(e):""}},p=[];xc(cn)&&p.push({name:"myFile.png",url:""}),l.file1&&l.file1.name&&p.push(m(l.file1)),l.file2&&l.file2.name&&p.push(m(l.file2)),l.file3&&l.file3.name&&p.push(m(l.file3));const h=(r,n)=>{e.updateViewModel(((e,r,n)=>Gs(e,(a=>{var o,s,l,u,c,f;d()(o=Fr()(s=ee()(l=Cr()(u=i()(c=t()(e)).call(c,(t=>!!e[t]&&$i()(t).call(t,"file")))).call(u,(t=>e[t]))).call(l,r,Cf()(f=Array(3)).call(f,void 0))).call(s,0,3)).call(o,((e,t)=>a[`file${t+1}`]=e)),a.erroredFileNames=n||void 0})))(l,r,n))},g=r=>{const n=r+1;e.updateViewModel(((e,r)=>{var n;if(!$i()(n=[1,2,3]).call(n,r))throw new Error(`Expected either 1, 2 or 3 for argument "fileNumber", but received ${r}`);return Gs(e,(n=>{var a,o,s,l,u,c;d()(a=Fr()(o=ee()(s=Cr()(l=i()(u=t()(e)).call(u,(e=>$i()(e).call(e,"file")&&!$i()(e).call(e,r.toString())))).call(l,(t=>e[t]))).call(s,Cf()(c=Array(3)).call(c,void 0))).call(o,0,3)).call(a,((e,t)=>n[`file${t+1}`]=e))}))})(l,n))},v=t=>{t.length>0?(t=>{const r=[],n=[],a=[];for(const e of t){const t=Ho(ve.docUpload,e);void 0===t?r.push(e):(a.push(e.name),n.push(t))}let i;n&&(i=Gs(u,(e=>{e.docUpload=n[0]}))),e.updateFieldValidationErrors(i),h(r,a)})(t):t.length<=0&&he.error("No files were accepted or rejected. Unknown error.","docUpload drag n drop")},y=u.docUpload||oe((()=>e.verificationResponse.errorIds[0]),void 0)?q.createElement("div",{className:"sid-field-error sid-field-error__doc-upload sid-l-horz-center"},q.createElement(or,{id:`errorId.${u.docUpload}`,defaultMessage:"No valid files"}),l.erroredFileNames?Cr()(n=l.erroredFileNames).call(n,(e=>q.createElement("div",null,e))):null):null,b=function(){var t=gr((function*(){he.info("StepDocUploadComponent submitting form after skipping document upload");const t=Gs(l,(()=>{}));e.submitStep(ve.cancelDocUpload,t,e.verificationResponse)}));return function(){return t.apply(this,arguments)}}();return q.createElement("div",{id:"sid-step-doc-upload",className:"sid-doc-upload-container sid-l-container"},q.createElement("div",{className:"sid-header sid-l-horz-center sid-l-space-top-md"},q.createElement("div",{className:"sid-l-horz-center sid-doc-upload-logo-container"},q.createElement(mm,{verificationService:e,fallbackLogo:q.createElement("img",{className:"sid-l-lead-image sid-doc-upload-logo",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/doc-upload2.svg"})})),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(or,{id:"step.docUpload.title",defaultMessage:"We need more information"})),q.createElement(Bm,{verificationService:e}),o&&o.length>0?q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-l-position"},q.createElement("div",{className:"sid-header__subtitle-doc-upload-rejected"},q.createElement(or,{id:"step.docUpload.rejectedSubtitle",defaultMessage:"We were unable to confirm your eligibility due to:"})),q.createElement("ul",{className:"sid-upload-rejection-list"},Cr()(o).call(o,(e=>q.createElement("li",{key:e,className:"sid-upload-rejection-list__li"},q.createElement(or,{id:`step.docUpload.rejectionReasons.${e}`,defaultMessage:`${e}`})))))):q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-l-position"},q.createElement("div",{className:"sid-header__subtitle-text"},q.createElement(or,{id:"step.docUpload.subtitle",defaultMessage:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",values:{estimatedWaitTime:pl(a,s,r).estReviewTime}})," ",q.createElement(Lm,{verificationService:e})))),0===p.length?q.createElement("div",null,q.createElement("div",{className:"sid-upload-info sid-l-space-top-md"},q.createElement("div",{className:"sid-upload-info-list-block sid-l-space-top-sm"},q.createElement(Mg,{verificationService:e})),Mn().hideMilitaryFamilyAcceptableUploads&&c===De.MILITARY_FAMILY?null:q.createElement("div",{className:"sid-acceptable-uploads-list-block sid-l-space-top-md"},q.createElement(wg,{verificationService:e}))),q.createElement("div",{className:"sid-upload-wrap sid-l-space-top-sm"},q.createElement("div",{className:"sid-dropzone-wrap"},y,q.createElement(vg,{onDrop:v},(({getRootProps:e,getInputProps:t})=>q.createElement("section",Ri({},e(),{className:"sid-dropzone-wrap__dropzone"}),q.createElement("input",t()),q.createElement("p",{className:"sid-dropzone-wrap__instructions sid-l-horz-center"},q.createElement(or,{id:"step.docUpload.fileInstructions",defaultMessage:'Drag & drop your files here or <span class="sid-dropzone-wrap__link">browse</span>'}))))),q.createElement("div",{className:"sid-dropzone-wrap__accepted-types sid-l-space-top-sm"},q.createElement(or,{id:"step.docUpload.acceptedTypes",defaultMessage:"Acceptable file types: png, gif, jpg, bmp, pdf"}))))):null,q.createElement("div",{className:"sid-upload-wrap sid-l-space-top-sm"},p.length>0?q.createElement("div",{className:"sid-file-list sid-l-space-top-md"},Cr()(p).call(p,((e,t)=>q.createElement("div",{className:"sid-file-list__file",key:e.name},e.url?q.createElement("img",{className:"sid-file-list__thumbnail",src:e.url,alt:"File thumbnail"}):q.createElement("div",{className:"sid-file-list__no-thumbnail"},q.createElement("img",{alt:"File thumbnail",src:"https://assets-resources.sheerid.com/common/images/2018/icons/default-image.svg"})),q.createElement("div",{className:"sid-file-list__name"},e.name),q.createElement("div",{role:"button",tabIndex:0,"aria-label":`Remove file ${e.name}`,className:"sid-file-list__remove-btn",onClick:()=>g(t),onKeyPress:()=>g(t)})))),y,p.length<3?q.createElement("div",{className:"sid-add-more-files"},q.createElement("label",{className:"sid-add-more-files__label sid-add-more-files--selectable",htmlFor:"file","aria-label":"add file",id:"sid-add-file",role:"button",tabIndex:0,onKeyDown:e=>(e=>{const t=tl("addFile");"Enter"!==e.key&&" "!==e.key||t.click()})(e)},q.createElement("input",{type:"file",id:"file",tabIndex:-1,className:"sid-add-more-files__input","aria-describedby":"sid-add-file",onChange:e=>{v(kh()(e.target.files))},accept:"image/jpeg,image/gif,image/png,application/pdf,image/bmp,image/gif",ref:e=>Qs("addFile",e)}),q.createElement("img",{className:"sid-add-more-files__image",alt:"add more files",src:"https://assets-resources.sheerid.com/common/images/2018/icons/add-file.svg"}),q.createElement(or,{id:"step.docUpload.addFile",defaultMessage:"Add file"}))):null,q.createElement("div",{className:"sid-submit sid-doc-upload-submit sid-l-space-top-md"},q.createElement("button",{id:"sid-submit-doc-upload",onClick:()=>{he.info("StepDocUploadComponent submitting form"),e.submitStep(ve.docUpload,l,e.verificationResponse)},type:"submit",className:"sid-btn sid-btn--dark sid-doc-upload-submit-btn sid-submit__continue","aria-label":r.formatHTMLMessage({id:"step.docUpload.submitButtonLabel",defaultMessage:"Continue"}),disabled:p.length<=0},q.createElement(or,{id:"step.docUpload.submitButtonLabel",defaultMessage:"Continue"})),q.createElement("button",{onClick:()=>{const t=Gs(u,(e=>{e.docUpload=void 0}));e.updateFieldValidationErrors(t),e.updateViewModel((e=>Gs(e,(e=>{for(let t=0;t<3;t++)e[`file${t+1}`]=void 0})))(l))},type:"button",className:"sid-btn sid-btn--light sid-doc-upload-cancel-btn sid-submit__cancel sid-l-space-left-sm","aria-label":"cancel",disabled:p.length<=0},q.createElement(or,{id:"step.docUpload.cancelButtonLabel",defaultMessage:"Cancel"})))):null),f&&q.createElement("div",{className:"sid-submit sid-override-submit sid-l-horz-center sid-l-space-top-sm"},q.createElement("a",{href:"#",className:"sid-link sid-override-link",onClick:()=>b(),role:"button"},q.createElement(or,{id:"step.docUpload.cancelDocUploadLabel",defaultMessage:"Click here if you are unable to verify with a document"}))),q.createElement(Rm,{verificationService:e}))})),Ig=({verificationService:e})=>{const t=e.verificationResponse.consolationRewardCode||"${consolationRewardCode}",r="noCode"===e.programTheme.config.offerType,{verificationId:n}=e.verificationResponse,{rewardDisplay:a}=e.programTheme.config,i=!r&&!!a.length;return q.createElement("div",{id:"sid-step-consolation",className:"sid-l-container"},q.createElement("div",{className:"sid-header sid-l-horz-center sid-l-space-top-md"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(mm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md",role:"alert","aria-live":"polite"},q.createElement(or,{id:"step.consolation.title",defaultMessage:"Claim your offer"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-l-two-thirds-width"},q.createElement(or,{id:"step.consolation.subtitle",defaultMessage:"Unfortunately we could not verify your status, but we value your interest and are offering this promo code as a thank you. It is unique to you and can only be used once."}))),i&&q.createElement("div",{className:"sid-l-horz-center sid-reward-container sid-l-space-top-md"},Cr()(a).call(a,(e=>e!==Me.TEXT?q.createElement("img",{key:e,className:"sid-l-space-top-md sid-barcode",alt:t,src:Jn(n,"consolationRewardCode",e)}):q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-reward-code sid-l-space-top-lg sid-h-jumbo-text sid-l-horz-center"},t),q.createElement("div",{className:"sid-l-space-top-md sid-h-bold-text sid-l-horz-center"},q.createElement(mr,{textToCopy:t,notificationText:q.createElement(or,{id:"copied",defaultMessage:"Copied"})},q.createElement(or,{id:"step.success.copyCouponCode",defaultMessage:"Copy Coupon code"}))))))),q.createElement("div",{className:"sid-footer sid-l-horz-center sid-l-space-top-lg"},q.createElement(or,{id:"rewardCodeEmailNotification",defaultMessage:"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com."})),q.createElement("div",{className:"sid-footer sid-l-horz-center sid-l-space-top-lg sid-h-small-text"},q.createElement(or,{id:"companyName",defaultMessage:"{Company}"},(e=>q.createElement(or,{id:"step.consolation.verificationOnly",defaultMessage:"Please direct any and all questions about this offer to {companyName}.",values:{companyName:e}})))))},Ng=Ft((({value:e,isErrored:t,onChange:r,placeholder:n=""})=>q.createElement(Nl,{fieldId:"overrideCode",value:e,onChange:r,placeholder:"",label:q.createElement(or,{id:"step.override.verificationOverrideCodeLabel",defaultMessage:"Verification Override Code"}),errorMessage:t&&q.createElement(or,{id:"errorId.invalidOverrideCode",defaultMessage:"Invalid Override Code"}),showPlaceholderAndHideLabel:!!n})));function Dg(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Tg(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Dg(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Dg(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Ag=Ft((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,a=t.verificationResponse,{fieldValidationErrors:i}=t,[o,s]=q.useState(""),l=a.errorIds&&$i()(r=a.errorIds).call(r,"incorrectVerificationOverrideCodeAttemptLimitExceeded"),u=e.formatHTMLMessage({id:"step.override.errors.codeOverrideLimit",defaultMessage:"Override code limit exceeded."});q.useEffect((()=>{l&&s(u)}),[]),oe((()=>a.errorIds.length))&&!t.fieldValidationErrors.overrideCode&&t.updateFieldValidationErrors(Tg(Tg({},t.fieldValidationErrors),{},{overrideCode:a.errorIds[0]}));return q.createElement("div",{id:"sid-step-overrice-code",className:"sid-override-personal-info-container sid-l-container"},q.createElement("div",{className:"sid-override-personal-info-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:t,fallbackLogo:q.createElement("img",{className:"sid-override-personal-info-logo-default sid-l-lead-image",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/sso-step.svg"})})),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(or,{id:"step.override.title",defaultMessage:"Unable to Verify Status"})),q.createElement("div",{className:"sid-header__subtitle-one sid-l-horz-center"},q.createElement(or,{id:"step.override.subtitle",defaultMessage:"Please sign in to your school's web portal. It will open in a new tab."})),q.createElement("div",{className:"sid-header__subtitle-one sid-l-horz-center"},q.createElement(or,{id:"step.override.subtitle2",defaultMessage:"This will enable the customer to redeem the offer"})),q.createElement(Ng,{value:n.overrideCode,isErrored:!!i.overrideCode,onChange:e=>{Sf(Tg(Tg({},n),{},{overrideCode:e})),ol("overrideCode",e,t)}}),o&&q.createElement("div",null,q.createElement("p",null,o)),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-override-submit sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>{he.info("StepOverrideCode submitting form"),t.submitStep(ve.override,n,t.verificationResponse)},type:"button",className:"sid-btn sid-override-submit-btn sid-btn--dark sid-l-full-width "+(so(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-label":"submit",disabled:!!(!n.overrideCode||n.overrideCode.length<=0||l)},q.createElement("span",{id:"verify-status-text"},q.createElement(or,{id:"step.override.submitOverrideCodeButtonLabel",defaultMessage:"Submit Override Codes"}))))),q.createElement(Rm,{verificationService:t}))})),xg={StepStudentPersonalInfoComponent:qm,StepSeniorPersonalInfoComponent:Jm,StepAgePersonalInfoComponent:rp,StepTeacherPersonalInfoComponent:op,StepMemberPersonalInfoComponent:dp,StepCollectMilitaryStatusComponent:({verificationService:e})=>q.createElement(Ep,{verificationService:e}),StepActiveMilitaryPersonalInfoComponent:Ep,StepInactiveMilitaryPersonalInfoComponent:Cp,StepFirstResponderPersonalInfoComponent:Tp,StepMedicalProfessionalPersonalInfoComponent:kp,StepEmploymentPersonalInfoComponent:Up,StepDriverLicensePersonalInfoComponent:jp,StepGeneralIdentityPersonalInfoComponent:qp,StepHybridIdentityPersonalInfoComponent:Yp,StepLicensedProfessionalPersonalInfoComponent:Qp,StepMoverPersonalInfoComponent:rh,StepLowIncomePersonalInfoComponent:lh,StepSocialSecurityNumber:fh,StepSuccessComponent:yh,StepConsolationComponent:Ig,StepOverrideComponent:Ag,StepDocUploadComponent:Cg,StepPendingComponent:Nh,StepSSOComponent:({verificationService:e})=>{const{programId:t}=e,r=e.viewModel,n=e.previousViewModel||void 0,a=e.verificationResponse,i=e.previousVerificationResponse||void 0,{verificationId:o}=e.verificationResponse,s=_c();let l;const u=(t,n)=>{const a=Gs(r,(e=>{e[t]=n}));e.updateViewModel(a)},c=()=>{nl();const t=Gs(r,(()=>{}));he.info("StepSSOComponent submitting cancel request"),clearTimeout(l),e.submitStep(ve.sso,t,e.verificationResponse)},d=()=>{var e;e=window.open(a.loginUrl,"_blank"),Xs=e,Xs.focus()};return r.isSSOActive&&!s&&(l=cr()((()=>{e.fetchExistingVerificationRequest(t,o,i,n)}),1e3)),!r.countryChoice&&n&&n.countryChoice&&u("countryChoice",n.countryChoice),q.createElement("div",{id:"sid-step-sso",className:"sid-sso-container sid-l-container"},r.isSSOActive?q.createElement("div",{className:"sid-header sid-l-horz-center"},q.createElement("div",{className:"sid-sso-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e,fallbackLogo:q.createElement("img",{className:"sid-sso-logo-default sid-l-lead-image",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"})})),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(or,{id:"step.sso.title",defaultMessage:"Verify using your school credentials"})),q.createElement("div",{className:"sid-header__subtitle-one"},q.createElement(or,{id:"step.sso.subtitle",defaultMessage:vh})),q.createElement("div",{className:"sid-l-space-top-xl"}),q.createElement("div",{className:"sid-header__subtitle-two sid-h-small-text sid-l-space-top-md"},q.createElement(or,{id:"step.sso.subtitle2",defaultMessage:"Can't sign in to your school?"}),q.createElement("div",{className:"sid-form-region sid-cancel-sso-submit sid-submit-wrapper sid-l-space-top-md"},q.createElement("button",{onClick:c,type:"submit",className:"sid-btn sid-cancel-sso-btn sid-btn--dark sid-l-full-width","aria-label":"submit"},q.createElement(or,{id:"step.sso.cancel",defaultMessage:"Upload Proof of Enrollment"})))),q.createElement("div",{className:"sid-l-space-top-xl"})):q.createElement("div",{className:"sid-header sid-l-horz-center"},q.createElement("div",{className:"sid-sso-logo-container sid-l-horz-center"},q.createElement(mm,{verificationService:e,fallbackLogo:q.createElement("img",{className:"sid-sso-logo-default sid-l-lead-image",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/sso-step.svg"})})),q.createElement("div",{className:"sid-preheader-label sid-l-space-top-md"},q.createElement("span",{className:"sid-h-label"},q.createElement(or,{id:"step.sso.preheader",defaultMessage:"Quickest method"}))),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(or,{id:"step.sso.title",defaultMessage:"Verify using your school credentials"})),q.createElement("div",{className:"sid-header__subtitle-one"},q.createElement(or,{id:"step.sso.subtitle",defaultMessage:vh})),q.createElement("div",{className:"sid-form-region sid-sso-submit sid-submit-wrapper sid-l-space-top-md"},q.createElement("button",{id:"sid-submit-btn-sso",onClick:()=>(u("isSSOActive",!0),void d()),type:"submit",className:"sid-btn sid-sso-submit-btn sid-btn--dark sid-l-full-width","aria-label":"submit"},q.createElement(or,{id:"step.sso.login",defaultMessage:"Sign in to my school"}))),q.createElement("div",{className:"sid-form-region sid-l-space-top-lg"},q.createElement("div",{className:"sid-header__subtitle-two sid-h-bold-text"},q.createElement(or,{id:"step.sso.subtitle2",defaultMessage:"Unable to sign in?"})),q.createElement("div",{className:"sid-form-region sid-l-space-btm-sm sid-l-space-top-sm"},q.createElement(or,{id:"step.sso.alternative",defaultMessage:"You can also verify by uploading proof of eligibility"})),q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement("button",{onClick:c,className:"sid-h-btn-link-like sid-h-bold-text",type:"button"},q.createElement(or,{id:"step.sso.cancel",defaultMessage:"Upload Proof of Enrollment"})))),q.createElement("div",{className:"sid-l-space-top-lg"})),q.createElement(Rm,{verificationService:e}))},StepErrorComponent:gh,StepSMSLoopComponent:xh,StepEmailLoopComponent:_h},_g=e=>{he.info("getComponent",e);const t=(e=>jc[e]?(he.log(`getOverridenComponent returning ${e}`),jc[e]):null)(e);return t||xg[e]},Og=({stepToLoad:e,verificationService:t})=>{let r;he.info(`LoadStepComponent: rendering step: ${e}`);let n=!1;switch(e){case ve.collectStudentPersonalInfo:r=_g("StepStudentPersonalInfoComponent");break;case ve.collectSeniorPersonalInfo:r=_g("StepSeniorPersonalInfoComponent");break;case ve.collectAgePersonalInfo:r=_g("StepAgePersonalInfoComponent");break;case ve.collectTeacherPersonalInfo:r=_g("StepTeacherPersonalInfoComponent");break;case ve.collectMemberPersonalInfo:r=_g("StepMemberPersonalInfoComponent");break;case ve.collectMilitaryStatus:r=_g("StepCollectMilitaryStatusComponent");break;case ve.collectActiveMilitaryPersonalInfo:r=_g("StepActiveMilitaryPersonalInfoComponent");break;case ve.collectInactiveMilitaryPersonalInfo:r=_g("StepInactiveMilitaryPersonalInfoComponent");break;case ve.collectFirstResponderPersonalInfo:r=_g("StepFirstResponderPersonalInfoComponent");break;case ve.collectMedicalProfessionalPersonalInfo:r=_g("StepMedicalProfessionalPersonalInfoComponent");break;case ve.collectEmployeePersonalInfo:r=_g("StepEmploymentPersonalInfoComponent");break;case ve.collectDriverLicensePersonalInfo:r=_g("StepDriverLicensePersonalInfoComponent");break;case ve.collectGeneralIdentityPersonalInfo:r=_g("StepGeneralIdentityPersonalInfoComponent");break;case ve.collectHybridIdentityPersonalInfo:r=_g("StepHybridIdentityPersonalInfoComponent");break;case ve.collectLicensedProfessionalPersonalInfo:r=_g("StepLicensedProfessionalPersonalInfoComponent");break;case ve.collectMoverPersonalInfo:r=_g("StepMoverPersonalInfoComponent");break;case ve.collectLowIncomePersonalInfo:r=_g("StepLowIncomePersonalInfoComponent");break;case ve.collectSocialSecurityNumber:r=_g("StepSocialSecurityNumber");break;case ve.success:r=_g("StepSuccessComponent"),n=!0;break;case ve.consolation:r=_g("StepConsolationComponent"),n=!0;break;case ve.override:r=_g("StepOverrideComponent"),n=!0;break;case ve.docUpload:r=_g("StepDocUploadComponent"),n=!0;break;case ve.pending:r=_g("StepPendingComponent"),n=!0;break;case ve.sso:r=_g("StepSSOComponent");break;case ve.smsLoop:r=_g("StepSMSLoopComponent"),n=!0;break;case ve.emailLoop:r=_g("StepEmailLoopComponent"),n=!0;break;case ve.missingRequiredMetadata:return r=_g("StepErrorComponent"),q.createElement(r,{verificationService:t,errorId:"missingRequiredMetadata"});case ve.error:r=_g("StepErrorComponent");break;default:const a=`Error: Unknown step to render in LoadStepComponent.\n Unable to render step name "${e}". Possible steps are [${ye.join(", ")}]`;return he.error(a,"Unknown step in LoadStepComponent"),q.createElement(gh,{verificationService:t,errorId:"invalidStep"})}return n?q.createElement(q.Suspense,{fallback:q.createElement(zc,null)},q.createElement(r,{verificationService:t})):q.createElement(r,{verificationService:t})},kg=({styles:e,children:t})=>q.createElement("div",null,e?q.createElement("style",null,(e=>window.self===window.top?e.replace(/body,/g,"").replace(/label,/g,"").replace(/button\[type=('|")submit('|")\]\s*?\{[\s\S]*?\}\n?/g,"").replace(/a:link,\s+a:visited,\s+a:hover,\s+a:active\s*?\{[\s\S]*?\}\n?/g,"").replace(/h1\s*?\{[\s\S]*?\}\n?/g,""):e)(e)):null,t);kg.defaultProps={styles:"",children:""};const Pg=({verificationService:e})=>e.programTheme&&e.programTheme.isTestMode?q.createElement("div",{className:"sid-test-mode-flag sid-l-container sid-l-horz-center"},"Test Mode",q.createElement(bd,{className:"sid-test-mode-flag__link",href:"http://developer.sheerid.com/getting-started#test-program","aria-label":"learn more about a sheerid test mode program"},"(learn more)")):null,Rg=function(){var e=gr((function*(){if(!document.getElementById("ipqs"))return new(yr())((e=>{const t=document.createElement("script");t.src="https://fd.sheerid.com/api/*/BJOvvIiNpZnA9XHXIHVc0S4FO87k4eub6NLOfmShTU7nRqamLKTzQixwD7XETz7bvtNHmicHNx9hEtOJ9NPo3kUJBl7o1jpwcbcXeOMDJjvulAWSrRnO7WYq9gxL6xNT0xnfou5UlshUGWQ2g68qBuWajMWbxZ25JELntxaP0neiVUbephG5E79ES89qBo4uIGBDvykdJb75hpo0URvJ0Fm1j6fuEqHQBq64Mi390KC9XoQwiFxyboxQ5lSooY4p/learn.js",t.async=!0,t.id="ipqs",document.body.appendChild(t),t.onload=()=>{e()}}))}));return function(){return e.apply(this,arguments)}}(),Fg=function(){var e=gr((function*(e,t){oe((()=>e.ipqsDeviceFingerprintEnabled),!1)&&(yield Rg(),window.IPQ={Callback:()=>{window.Startup.Store("transactionID",t),window.Startup.Init()}})}));return function(t,r){return e.apply(this,arguments)}}();function Lg(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Ug(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Lg(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Lg(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Bg=({locale:e,messages:t,programTheme:r,verificationService:n})=>{q.useEffect((()=>{Fg(r,n.verificationResponse.verificationId)}),[n.verificationResponse.verificationId]);const a=Ug(Ug({},t),wa()(Aa(e)));return q.createElement(Zt,{locale:"en",key:e,messages:a,textComponent:zi},q.createElement(kg,{styles:Va(r)},n.isLoading?q.createElement(zc,{step:n.loadingStep}):q.createElement("div",{className:`${um().isRtlLang(xa(e))?"sid-rtl":"sid-ltr"} sid-locale-${e}`},!Mn().hideTestModeFlag&&q.createElement(Pg,{verificationService:n}),q.createElement(Og,{stepToLoad:n.overrideStep||n.verificationResponse.currentStep,verificationService:n}))))},Vg=()=>{window.addEventListener("message",(e=>{"true"===("string"==typeof e.data?JSON.parse(e.data):e.data).isInLightBox&&(document.addEventListener("keydown",(e=>{const t=document.querySelectorAll('button, .sid-link, input, select, textarea, [tabindex]:not([tabindex="-1"]'),r=t[t.length-1];"Tab"===e.key&&r&&(window.addEventListener("message",(t=>{"lastElement"===("string"==typeof t.data?JSON.parse(t.data):t.data).focusOn&&(r.focus(),e.preventDefault())})),e.shiftKey||document.activeElement!==r||(window.parent.postMessage({focusOn:"firstElement"},"*"),e.preventDefault()))})),window.parent.postMessage({focusOn:"firstElement"},"*"))}))};function zg(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function jg(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=zg(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=zg(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}class Hg extends q.Component{constructor(e){super(e),b(this,"verificationService",void 0),he.info("NewVerificationComponent: constructing"),this.props.trackingId&&this.props.trackingId.length?he.info(`Attaching a trackingId to this verification request ${this.props.trackingId}`):he.info("No trackingId to associate with the verification request")}componentDidMount(){var e;if(As(),Vg(),Jr(e=e=>{switch(e.data.action){case"setViewModel":Sf(e.data.viewModel);break;case"setOptions":In(e.data.options)}}),window[Qc](ed,(t=>{e(t)}),!1),(()=>{try{return new(Sr())(window.location.search).get(nn)===we.loading||Mn()[nn]===we.loading}catch(e){return he.error(e,"isMockingLoading"),!1}})())he.info("Mocking loading screen. Not fetching new verification request.");else{he.info("NewVerificationComponent: fetchNewVerificationRequest");const e=oe((()=>this.props.verificationService.verificationResponse.segment));this.props.verificationService.fetchNewVerificationRequest(this.props.programId,e,this.props.verificationService.previousViewModel,this.props.trackingId)}}render(){const{viewModel:e}=this.props.verificationService,t=Oa(e);let r;this.props.messages&&(r=this.props.messages);const n=jg(jg({},r),wa()(Aa(t)));if(this.props.verificationService.isLoading&&!this.props.verificationService.loadingStep)return he.info("NewVerificationComponent: VerificationService is loading"),q.createElement(Zt,{locale:"en",key:t,messages:n,textComponent:zi},q.createElement(zc,null));const{programTheme:a}=this.props.verificationService,{verificationResponse:i}=this.props.verificationService;return he.info("NewVerificationComponent: verificationResponse, viewModel",i,e),he.info(`NewVerificationComponent: locale: ${t}, currentStep: ${i.currentStep}, messages: `,r),q.createElement(Bg,{locale:t,messages:r,programTheme:a,verificationService:this.props.verificationService})}}const $g=Kf(((e,t)=>jg({},e)),((e,t)=>({fetchNewVerificationRequest:Yd(e),fetchExistingVerificationRequest:Kd(e),updateViewModel:Jd(e),updateLocale:Xd(e,t.programId),updateProgramTheme:Qd(e),updateFieldValidationErrors:tf(e),submitStep:rf(e),resetState:ef(e)})),((e,t,r)=>jg({verificationService:jg(jg({},e),t),messages:e.messages},r)))(Hg),qg=Ef();qd(Hd.jslibVersionActual,oe((()=>Xn()),"?"));const Wg=q.forwardRef((({programId:e,trackingId:t},r)=>{var n;return d()(n=oe((()=>window.sheerId.hooks),[])).call(n,(e=>{try{Cd(e)}catch(t){he.warn("Error adding hook:",e,t)}})),qg.dispatch({programId:e,type:"PROGRAM_ID"}),r&&(r.current={refresh:q.useCallback((()=>qg.dispatch({type:"FORCE_UPDATE"})),[]),reset:q.useCallback((()=>qg.dispatch({type:"RESET_STATE"})),[])}),q.createElement(Af,{store:qg},q.createElement(Ja,null,q.createElement($g,{programId:e,trackingId:t})))})),Gg=(Ft((({value:e,isErrored:t,onChange:r,intl:n,onKeyDown:a,placeholder:i=""})=>q.createElement("div",{className:"sid-field sid-state"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(Ml,{text:q.createElement(or,{id:"state",defaultMessage:"State"}),htmlForLabel:"sid-state",id:"sid-state-label",displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(Sl,{id:"state",isErrored:t,onChange:e=>r(e.target.value),onKeyDown:"function"==typeof a?e=>a(e):void 0,placeholder:i||n.formatHTMLMessage({id:"statePlaceholder",defaultMessage:"State"}),value:e,"aria-labelledby":"sid-state-label"}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidState",defaultMessage:"Invalid state"})):null))),Ft((({verificationService:e,includeCompanyName:t,intl:r})=>{const{programTheme:n}=e,a=ja(n),i=`${((e,t)=>{let r="";try{r=new(Er())(ja(e)).hostname}catch(e){he.warn("Invalid Privacy Policy URL ",r)}return"www.sheerid.com"===r?"SheerID":t.formatHTMLMessage({id:"companyName",defaultMessage:"{companyName}"})})(n,r)} `;return q.createElement(bd,{className:"sid-privacy-policy sid-link",href:a},t?q.createElement("span",null,i):null,q.createElement(or,{id:"privacyPolicy",defaultMessage:"Privacy Policy"}))})),(e,t)=>{e.classList.remove("fade-in"),cr()((()=>{document.body.style.overflow="auto",e.parentNode.removeChild(e)}),t)}),Yg=e=>{var t;const r=new(Er())(e),n=new(Er())(window.location.href);return d()(t=n.searchParams).call(t,((e,t)=>{r.searchParams.has(t)||r.searchParams.set(t,e)})),r.href};class Kg{constructor(e,t){if(b(this,"containerElement",void 0),b(this,"verificationUrl",void 0),b(this,"isMobileDevice",void 0),b(this,"iframe",void 0),b(this,"verificationIframeUid",void 0),b(this,"hasLoaded",!1),b(this,"onLoadEvents",[]),b(this,"installType","cdn_inline_iframe"),Kg.isValidHttpUrl(t)){const r={className:gn.INLINE_IFRAME_CONTENT,title:hn};this.containerElement=e,this.verificationUrl=new(Er())(Yg(t)),this.verificationIframeUid=Kg.createUniqueId(),this.createIframe(r),this.addVerificationSizeUpdatesListener()}else he.error("Invalid URL. Provide a proper URL: https://example.com/","iframe url")}static createUniqueId(){return Math.random().toString(36).substr(2,9)}static isValidHttpUrl(e){try{const t=new(Er())(e);return"http:"===t.protocol||"https:"===t.protocol}catch{return!1}}createIframe(e){this.iframe=document.createElement("iframe"),this.iframe.classList.add(e.className),this.iframe.title=e.title;let t="?";return this.verificationUrl.search&&(t="&"),this.iframe.src=`${this.verificationUrl.href}${t}verificationIframeUid=${this.verificationIframeUid}&${fn}=${encodeURIComponent(Qn())}&${mn}=${this.installType}`,this.iframe.onload=()=>this.onLoad(),this.iframe}addOnLoadEvent(e){try{Jr(e)}catch(e){return void he.error("Invalid callback provided to iFrame.onLoad()",e)}this.hasLoaded?e():this.onLoadEvents.push(e)}onLoad(){var e;this.hasLoaded=!0,d()(e=this.onLoadEvents).call(e,(e=>e()))}addVerificationSizeUpdatesListener(){window.addEventListener("message",(e=>{if(this.verificationUrl.origin!==e.origin)return;const t="string"==typeof e.data?JSON.parse(e.data):e.data;if(t.verificationIframeUid===this.verificationIframeUid)if("updateHeight"===t.action)this.iframe.scrolling="no",this.iframe.style.height=`${t.height}px`;else he.error("Unsupported message.action")}))}setViewModel(e){const t={action:"setViewModel",viewModel:e};this.addOnLoadEvent((()=>{this.iframe.contentWindow.postMessage(t,this.verificationUrl.origin)}))}setOptions(e){const t={action:"setOptions",options:e};this.addOnLoadEvent((()=>{this.iframe.contentWindow.postMessage(t,this.verificationUrl.origin)}))}setInstallType(e){this.installType=e}init(){this.containerElement.appendChild(this.iframe)}}const Zg=Kg;class Jg{constructor(e,t){b(this,"verificationUrl",void 0),b(this,"redirectOnMobile",void 0),b(this,"overlay",void 0),b(this,"wrapper",void 0),b(this,"iframeInstance",void 0),b(this,"isMobileDevice",void 0),b(this,"closeButtonText",void 0),b(this,"closeButton",void 0),b(this,"stopPropagation",void 0),b(this,"popStateEventHandler",(()=>this.closeModal()));const r=t.mobileThreshold?t.mobileThreshold:vn;this.verificationUrl=Yg(e),this.redirectOnMobile=t.mobileRedirect||!1,this.isMobileDevice=window.innerWidth<=r,this.closeButtonText=t.closeButtonText?t.closeButtonText:"",this.closeButton=null,this.stopPropagation=t.stopPropagation||!1,this.overlay=Jg.createOverlay(),this.wrapper=this.createWrapper(),this.addFocusListener()}createCloseBtn(){if(this.closeButton=document.createElement("button"),this.closeButton.classList.add(gn.CLOSE_BUTTON),this.closeButton.setAttribute("aria-label","close"),this.closeButtonText){const e=document.createElement("div");e.classList.add(gn.CLOSE_TEXT),e.innerHTML=this.closeButtonText,this.closeButton.appendChild(e)}const e=document.createElement("span");return e.classList.add(gn.CLOSE_ICON),e.setAttribute("role","img"),this.closeButton.appendChild(e),this.closeButton.addEventListener("click",(e=>{e.preventDefault(),this.stopPropagation&&e.stopPropagation(),this.closeModal()})),this.closeButton}closeModal(){window.removeEventListener("popstate",this.popStateEventHandler);const e=yn;Gg(this.overlay,e),Gg(this.wrapper,e)}static createOverlay(){const e=document.createElement("div");return e.classList.add(gn.OVERLAY),e}createWrapper(){const e=document.createElement("div");e.classList.add(gn.MODAL_WRAPPER),e.tabIndex=-1,e.setAttribute("role","dialog"),e.appendChild(this.createCloseBtn()),this.iframeInstance=new Zg(e,this.verificationUrl),this.iframeInstance.setInstallType("cdn_modal_iframe");const t={className:gn.MODAL_IFRAME,title:hn};return this.iframeInstance.createIframe(t),e.appendChild(this.iframeInstance.iframe),e}addPopStateListener(){window.addEventListener("popstate",this.popStateEventHandler)}addFocusListener(){window.addEventListener("message",(e=>{"firstElement"===("string"==typeof e.data?JSON.parse(e.data):e.data).focusOn&&this.closeButton.focus()})),document.addEventListener("keydown",(e=>{"Tab"===e.key&&e.shiftKey&&document.activeElement===this.closeButton&&(this.iframeInstance.iframe.contentWindow.postMessage({focusOn:"lastElement"},"*"),e.preventDefault())}))}isInLightboxPostMessage(e){this.iframeInstance.iframe.contentWindow.postMessage({isInLightBox:e},"*")}displayModal(){this.iframeInstance.iframe.addEventListener("load",(()=>{var e;e=[this.overlay,this.wrapper],d()(e).call(e,(e=>{e.classList.add("fade-in")})),document.body.style.overflow="hidden",this.isInLightboxPostMessage("true")})),document.body.appendChild(this.overlay),document.body.appendChild(this.wrapper),this.addPopStateListener()}init(){this.redirectOnMobile&&this.isMobileDevice?window.top.location.href=this.verificationUrl:this.displayModal()}setViewModel(e){this.iframeInstance.setViewModel(e)}setOptions(e){this.iframeInstance.setOptions(e)}}const Xg=Jg;const Qg=function(){var e=gr((function*(e,t){const r=yield vd.fetchProgramTheme(t);oe((()=>r.threatMetrixEnabled),!1)&&_d(e),Fg(r,e)}));return function(t,r){return e.apply(this,arguments)}}();class ev{constructor(e,t,r){if(b(this,"element",void 0),b(this,"programId",void 0),b(this,"trackingId",void 0),b(this,"viewModel",void 0),b(this,"ref",void 0),!(this instanceof ev))throw new Error('Method "render" not found. Did you use the "new" keyword when instantiating VerificationForm?');he.info(`Constructing VerificationFormEs5 ${t}`),Yr(e),this.element=e,this.programId=t,this.trackingId=r,this.ref=q.createRef(),this.render()}refresh(){this.ref.current.refresh()}reset(){this.ref.current.reset()}render(){W.render(q.createElement(Wg,{programId:this.programId,trackingId:this.trackingId,ref:this.ref}),this.element)}unmount(){W.unmountComponentAtNode(this.element)}}class tv{constructor(e){if(b(this,"value",void 0),b(this,"callback",void 0),b(this,"mountPoint",void 0),b(this,"locale",void 0),b(this,"messages",void 0),b(this,"isErrored",void 0),b(this,"errorId",void 0),Yr(e),this.mountPoint=e,this.locale=Oa(),this.messages=((e,t=null)=>{Wr(e);let r={};Mn().messagesWithLocale[e]?r=Mn().messagesWithLocale[e]:Mn().messagesWithLocale[tn]&&(r=Mn().messagesWithLocale[tn]);let n={};if(t)try{n=t.intl.messages}catch(e){he.error(e,"Error accessing programTheme.intl.messages")}return(0,Ea.flatten)(Ca(Ca({},n),r))})(this.locale),"function"!=typeof this.render)throw new Error('Method "render" not found. Did you use the "new" keyword when instantiating this class?');this.render()}getValue(){return this.value}onChange(e){this.callback=e}setValue(e){this.value=e,this.render()}doChange(e){this.value=e,this.render(),"function"==typeof this.callback&&this.callback(this.value)}setIsErrored(e){this.isErrored=e}setErrorId(e){this.errorId=e}}class rv extends tv{constructor(e){if(super(e),b(this,"countryCode",void 0),b(this,"programId",void 0),!(this instanceof rv))return new rv(e)}setCountry(e){this.countryCode=e,this.render()}getCountry(){return this.countryCode}setProgramId(e){this.programId=e,this.render()}getProgramId(){return this.programId}render(){W.render(q.createElement(Zt,{locale:this.locale,key:this.locale,messages:this.messages},q.createElement(Cm,{countryCode:this.countryCode,onChange:e=>this.doChange(e),programId:this.programId,value:this.value,inputHtmlId:"sid-college-name"})),this.mountPoint)}}function nv(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function av(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=nv(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=nv(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const iv={getMessages:_a,setViewModel:Sf,resetViewModel:()=>{const e=wf.getState();e.isLoading?Cd({name:"ON_VERIFICATION_READY",callback:e=>{nf(wf.dispatch)(e)}}):nf(wf.dispatch)(e.verificationResponse)},setOptions:In,resetOptions:Cn,refreshStore:()=>{Mn().mockResponse&&Ef().dispatch({verificationResponse:Mn().mockResponse,type:"VERIFICATION_RESPONSE"}),Ef().dispatch({type:"FORCE_UPDATE"})},setMetadata:Ud,getMetadata:Bd,resetMetadata:()=>{Ld=$()({},Fd)},StudentTypeaheadField:rv,BirthdateField:class extends tv{render(){W.render(q.createElement(Zt,{locale:this.locale,key:this.locale,messages:this.messages},q.createElement(Tm,{value:this.value,locale:this.locale,onChange:e=>this.doChange(e),isErrored:this.isErrored,errorId:this.errorId})),this.mountPoint)}},conversion:sd,overrideComponent:Hc,resetOverriddenComponents:$c,loadInModal:function(e,t={}){const r=new Xg(e,t);return r.init(),r},loadInlineIframe:function(e,t){const r=new Zg(e,t);return r.init(),r},postVerificationSizeUpdates:function(e={origin:"*",interval:100}){if(window.self!==window.top){let t=document.body.offsetHeight;const r=Eh()((()=>{if(t!==document.body.offsetHeight){t=document.body.offsetHeight;const r=t+Yi()(window.getComputedStyle(document.body).marginTop,10)+Yi()(window.getComputedStyle(document.body).marginBottom,10),n=new(Er())(window.location.href).searchParams.get("verificationIframeUid");window.parent.postMessage({verificationIframeUid:n,action:"updateHeight",height:r},e.origin)}}),e.interval);return()=>clearInterval(r)}},addHook:Cd,allMockedResponses:Ac,hooks:void 0,VerificationForm:ev,collectDeviceProfile:Qg,resetStore:()=>Ef().dispatch({type:"RESET_STATE"})};window.sheerId=av(av(av({},window.sheerId||{}),iv),{},{hooks:oe((()=>window.sheerId.hooks),[])}),o.p=na(),window.sheerIdReqV=(()=>{let e;try{var t;e=j()(t=/jslib(\-nightly)?\@[a-zA-Z0-9\.\-]+/gi.exec(na())[0].split("@")[1]).call(t)}catch(e){he.error(e)}return e})()})(),s})()));
83
83
  //# sourceMappingURL=sheerid.js.map