@sheerid/jslib 1.143.1 → 1.144.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 (197) hide show
  1. package/es5/Tmetrix.bundle.js +4 -4
  2. package/es5/messages_ar.bundle.js +5 -5
  3. package/es5/messages_bg.bundle.js +5 -5
  4. package/es5/messages_cs.bundle.js +5 -5
  5. package/es5/messages_da.bundle.js +5 -5
  6. package/es5/messages_de.bundle.js +5 -5
  7. package/es5/messages_el.bundle.js +5 -5
  8. package/es5/messages_en-GB.bundle.js +5 -5
  9. package/es5/messages_es-ES.bundle.js +5 -5
  10. package/es5/messages_es.bundle.js +5 -5
  11. package/es5/messages_fi.bundle.js +5 -5
  12. package/es5/messages_fr-CA.bundle.js +5 -5
  13. package/es5/messages_fr.bundle.js +5 -5
  14. package/es5/messages_ga.bundle.js +5 -5
  15. package/es5/messages_hr.bundle.js +5 -5
  16. package/es5/messages_hu.bundle.js +5 -5
  17. package/es5/messages_id.bundle.js +5 -5
  18. package/es5/messages_it.bundle.js +5 -5
  19. package/es5/messages_iw.bundle.js +5 -5
  20. package/es5/messages_ja.bundle.js +5 -5
  21. package/es5/messages_ko.bundle.js +5 -5
  22. package/es5/messages_lo.bundle.js +5 -5
  23. package/es5/messages_lt.bundle.js +5 -5
  24. package/es5/messages_ms.bundle.js +5 -5
  25. package/es5/messages_nl.bundle.js +5 -5
  26. package/es5/messages_no.bundle.js +5 -5
  27. package/es5/messages_pl.bundle.js +5 -5
  28. package/es5/messages_pt-BR.bundle.js +5 -5
  29. package/es5/messages_pt.bundle.js +5 -5
  30. package/es5/messages_ru.bundle.js +5 -5
  31. package/es5/messages_sk.bundle.js +5 -5
  32. package/es5/messages_sl.bundle.js +5 -5
  33. package/es5/messages_sr.bundle.js +5 -5
  34. package/es5/messages_sv.bundle.js +5 -5
  35. package/es5/messages_th.bundle.js +5 -5
  36. package/es5/messages_tr.bundle.js +5 -5
  37. package/es5/messages_zh-HK.bundle.js +5 -5
  38. package/es5/messages_zh.bundle.js +5 -5
  39. package/es6/{ar-75148146.es.js → ar-df3a510d.es.js} +2 -1
  40. package/es6/{cs-4518b613.es.js.map → ar-df3a510d.es.js.map} +1 -1
  41. package/es6/{bg-c5ae1ee8.es.js → bg-493319a6.es.js} +2 -1
  42. package/es6/{ar-75148146.es.js.map → bg-493319a6.es.js.map} +1 -1
  43. package/es6/{cs-4518b613.es.js → cs-a0453521.es.js} +2 -1
  44. package/es6/{da-811bc584.es.js.map → cs-a0453521.es.js.map} +1 -1
  45. package/es6/{da-811bc584.es.js → da-1c4e24d0.es.js} +2 -1
  46. package/es6/{bg-c5ae1ee8.es.js.map → da-1c4e24d0.es.js.map} +1 -1
  47. package/es6/{de-779f44ed.es.js → de-6c292956.es.js} +2 -1
  48. package/es6/de-6c292956.es.js.map +1 -0
  49. package/es6/{el-09b8cb4f.es.js → el-6caeb9df.es.js} +2 -1
  50. package/es6/el-6caeb9df.es.js.map +1 -0
  51. package/es6/{en-GB-c2f51ab7.es.js → en-GB-9410ea28.es.js} +2 -1
  52. package/es6/{en-GB-c2f51ab7.es.js.map → en-GB-9410ea28.es.js.map} +1 -1
  53. package/es6/{es-b768c7ad.es.js → es-65673842.es.js} +2 -1
  54. package/es6/es-65673842.es.js.map +1 -0
  55. package/es6/{es-ES-bbe37b1b.es.js → es-ES-488b15d9.es.js} +2 -1
  56. package/es6/{es-ES-bbe37b1b.es.js.map → es-ES-488b15d9.es.js.map} +1 -1
  57. package/es6/{fi-86b5f85b.es.js → fi-83cbae39.es.js} +2 -1
  58. package/es6/fi-83cbae39.es.js.map +1 -0
  59. package/es6/{fr-b1cde593.es.js → fr-838411b2.es.js} +2 -1
  60. package/es6/fr-838411b2.es.js.map +1 -0
  61. package/es6/{fr-CA-8b266392.es.js → fr-CA-048ee55f.es.js} +2 -1
  62. package/es6/{fr-CA-8b266392.es.js.map → fr-CA-048ee55f.es.js.map} +1 -1
  63. package/es6/{ga-c4387336.es.js → ga-daf44302.es.js} +2 -1
  64. package/es6/ga-daf44302.es.js.map +1 -0
  65. package/es6/{hr-04da9492.es.js → hr-537c96ec.es.js} +2 -1
  66. package/es6/hr-537c96ec.es.js.map +1 -0
  67. package/es6/{hu-83431f93.es.js → hu-fc591602.es.js} +2 -1
  68. package/es6/hu-fc591602.es.js.map +1 -0
  69. package/es6/{id-b6777a8f.es.js → id-f4ef70b9.es.js} +2 -1
  70. package/es6/id-f4ef70b9.es.js.map +1 -0
  71. package/es6/{it-1e9f59d6.es.js → it-bdc07156.es.js} +2 -1
  72. package/es6/it-bdc07156.es.js.map +1 -0
  73. package/es6/{iw-a901467c.es.js → iw-37996f3d.es.js} +2 -1
  74. package/es6/iw-37996f3d.es.js.map +1 -0
  75. package/es6/{ja-6388acec.es.js → ja-ffcdcfa5.es.js} +2 -1
  76. package/es6/ja-ffcdcfa5.es.js.map +1 -0
  77. package/es6/{ko-0bac88ab.es.js → ko-90422910.es.js} +2 -1
  78. package/es6/ko-90422910.es.js.map +1 -0
  79. package/es6/{lo-ab073745.es.js → lo-e9a35cfe.es.js} +2 -1
  80. package/es6/lo-e9a35cfe.es.js.map +1 -0
  81. package/es6/{lt-ba7c770b.es.js → lt-190dea03.es.js} +2 -1
  82. package/es6/lt-190dea03.es.js.map +1 -0
  83. package/es6/{ms-a15c0b50.es.js → ms-75524d11.es.js} +2 -1
  84. package/es6/ms-75524d11.es.js.map +1 -0
  85. package/es6/{nl-f4f51f66.es.js → nl-4a27bc0c.es.js} +2 -1
  86. package/es6/nl-4a27bc0c.es.js.map +1 -0
  87. package/es6/{no-4a2d62bb.es.js → no-7305d5b1.es.js} +2 -1
  88. package/es6/no-7305d5b1.es.js.map +1 -0
  89. package/es6/{pl-a1a5f653.es.js → pl-c91ff53d.es.js} +2 -1
  90. package/es6/pl-c91ff53d.es.js.map +1 -0
  91. package/es6/{pt-562f1f2d.es.js → pt-1c329f57.es.js} +2 -1
  92. package/es6/pt-1c329f57.es.js.map +1 -0
  93. package/es6/{pt-BR-593fac19.es.js → pt-BR-5b33d5e7.es.js} +2 -1
  94. package/es6/{pt-BR-593fac19.es.js.map → pt-BR-5b33d5e7.es.js.map} +1 -1
  95. package/es6/{ru-500c9b91.es.js → ru-84b98692.es.js} +2 -1
  96. package/es6/ru-84b98692.es.js.map +1 -0
  97. package/es6/{sk-e7183351.es.js → sk-b2ccc271.es.js} +2 -1
  98. package/es6/sk-b2ccc271.es.js.map +1 -0
  99. package/es6/{sl-2e08eb9d.es.js → sl-522fa414.es.js} +2 -1
  100. package/es6/sl-522fa414.es.js.map +1 -0
  101. package/es6/{sr-97ed3acb.es.js → sr-2b722f63.es.js} +2 -1
  102. package/es6/sr-2b722f63.es.js.map +1 -0
  103. package/es6/{sv-4aaebc9b.es.js → sv-07fc3c11.es.js} +2 -1
  104. package/es6/sv-07fc3c11.es.js.map +1 -0
  105. package/es6/{th-929a2d7e.es.js → th-fe52acde.es.js} +2 -1
  106. package/es6/th-fe52acde.es.js.map +1 -0
  107. package/es6/{tr-c799df99.es.js → tr-a8fc35a3.es.js} +2 -1
  108. package/es6/tr-a8fc35a3.es.js.map +1 -0
  109. package/es6/{zh-HK-b9745a09.es.js → zh-HK-ef529424.es.js} +2 -1
  110. package/es6/zh-HK-ef529424.es.js.map +1 -0
  111. package/es6/{zh-5d077d6b.es.js → zh-c1097bce.es.js} +2 -1
  112. package/es6/zh-c1097bce.es.js.map +1 -0
  113. package/localized-messages/ar.json +1 -0
  114. package/localized-messages/bg.json +1 -0
  115. package/localized-messages/cs.json +1 -0
  116. package/localized-messages/da.json +1 -0
  117. package/localized-messages/de.json +1 -0
  118. package/localized-messages/el.json +1 -0
  119. package/localized-messages/en-GB.json +1 -0
  120. package/localized-messages/en-US.json +1 -0
  121. package/localized-messages/es-ES.json +1 -0
  122. package/localized-messages/es.json +1 -0
  123. package/localized-messages/fi.json +1 -0
  124. package/localized-messages/fr-CA.json +1 -0
  125. package/localized-messages/fr.json +1 -0
  126. package/localized-messages/ga.json +1 -0
  127. package/localized-messages/hr.json +1 -0
  128. package/localized-messages/hu.json +1 -0
  129. package/localized-messages/id.json +1 -0
  130. package/localized-messages/in.json +1 -0
  131. package/localized-messages/it.json +1 -0
  132. package/localized-messages/iw.json +1 -0
  133. package/localized-messages/ja.json +1 -0
  134. package/localized-messages/ko.json +1 -0
  135. package/localized-messages/lo.json +1 -0
  136. package/localized-messages/lt.json +1 -0
  137. package/localized-messages/ms.json +1 -0
  138. package/localized-messages/nl.json +1 -0
  139. package/localized-messages/no.json +1 -0
  140. package/localized-messages/pl.json +1 -0
  141. package/localized-messages/pt-BR.json +1 -0
  142. package/localized-messages/pt.json +1 -0
  143. package/localized-messages/ro.json +1 -0
  144. package/localized-messages/ru.json +1 -0
  145. package/localized-messages/sk.json +1 -0
  146. package/localized-messages/sl.json +1 -0
  147. package/localized-messages/sr.json +1 -0
  148. package/localized-messages/sv.json +1 -0
  149. package/localized-messages/th.json +1 -0
  150. package/localized-messages/tr.json +1 -0
  151. package/localized-messages/ur.json +1 -0
  152. package/localized-messages/vi.json +1 -0
  153. package/localized-messages/zh-HK.json +1 -0
  154. package/localized-messages/zh.json +1 -0
  155. package/localized-messages/zu.json +1 -0
  156. package/manifest.json +43 -43
  157. package/package.json +1 -1
  158. package/sheerid-requestOrg.css +4 -4
  159. package/sheerid-requestOrg.js +5 -5
  160. package/sheerid-requestOrg.js.map +1 -1
  161. package/sheerid-utils.js +5 -5
  162. package/sheerid-utils.js.map +1 -1
  163. package/sheerid.css +4 -4
  164. package/sheerid.js +6 -6
  165. package/sheerid.js.map +1 -1
  166. package/sheerides6.js +40 -38
  167. package/sheerides6.js.map +1 -1
  168. package/types-reference.zip +0 -0
  169. package/es6/de-779f44ed.es.js.map +0 -1
  170. package/es6/el-09b8cb4f.es.js.map +0 -1
  171. package/es6/es-b768c7ad.es.js.map +0 -1
  172. package/es6/fi-86b5f85b.es.js.map +0 -1
  173. package/es6/fr-b1cde593.es.js.map +0 -1
  174. package/es6/ga-c4387336.es.js.map +0 -1
  175. package/es6/hr-04da9492.es.js.map +0 -1
  176. package/es6/hu-83431f93.es.js.map +0 -1
  177. package/es6/id-b6777a8f.es.js.map +0 -1
  178. package/es6/it-1e9f59d6.es.js.map +0 -1
  179. package/es6/iw-a901467c.es.js.map +0 -1
  180. package/es6/ja-6388acec.es.js.map +0 -1
  181. package/es6/ko-0bac88ab.es.js.map +0 -1
  182. package/es6/lo-ab073745.es.js.map +0 -1
  183. package/es6/lt-ba7c770b.es.js.map +0 -1
  184. package/es6/ms-a15c0b50.es.js.map +0 -1
  185. package/es6/nl-f4f51f66.es.js.map +0 -1
  186. package/es6/no-4a2d62bb.es.js.map +0 -1
  187. package/es6/pl-a1a5f653.es.js.map +0 -1
  188. package/es6/pt-562f1f2d.es.js.map +0 -1
  189. package/es6/ru-500c9b91.es.js.map +0 -1
  190. package/es6/sk-e7183351.es.js.map +0 -1
  191. package/es6/sl-2e08eb9d.es.js.map +0 -1
  192. package/es6/sr-97ed3acb.es.js.map +0 -1
  193. package/es6/sv-4aaebc9b.es.js.map +0 -1
  194. package/es6/th-929a2d7e.es.js.map +0 -1
  195. package/es6/tr-c799df99.es.js.map +0 -1
  196. package/es6/zh-5d077d6b.es.js.map +0 -1
  197. package/es6/zh-HK-b9745a09.es.js.map +0 -1
package/sheerid.js CHANGED
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  *
3
- * VERSION: 1.143.1
4
- * BUILD_TIMESTAMP: 1685734828338
5
- * BUILD_DATE: Fri Jun 02 2023 19:40:28 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 82f39270c64f5f23c9680081ac73c073ee69ca85
3
+ * VERSION: 1.144.0
4
+ * BUILD_TIMESTAMP: 1686089637958
5
+ * BUILD_DATE: Tue Jun 06 2023 22:13:57 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: c7ce9664cda609f29ce0db0dfc08bd76e2905f2f
7
7
  *
8
8
  */
9
- window.sheerIdCurrentScript=document.currentScript,window.sheerIdEs5="true",window.sheerIdPubV="1.143.1",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)},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(),o=a.replace(/\/.*$/,"");return r.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?n.toLowerCase().endsWith(t):t.endsWith("/*")?o===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(o,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 o(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(o(t,p-1))}),(function(e){t(o(e,p-1))}))}));else if(a.__isArray(l))h=[];else if(a.__isRegExp(l))h=new RegExp(l.source,i(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=o(t,p-1),n=o(e,p-1);h.set(r,n)})),e(l,r)&&l.forEach((function(e){var t=o(e,p-1);h.add(t)})),l){var b;g&&(b=Object.getOwnPropertyDescriptor(g,y)),b&&null==b.set||(h[y]=o(l[y],p-1))}if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(l);for(y=0;y<E.length;y++){var S=E[y];(!(M=Object.getOwnPropertyDescriptor(l,S))||M.enumerable||c)&&(h[S]=o(l[S],p-1),M.enumerable||Object.defineProperty(h,S,{enumerable:!1}))}}if(c){var w=Object.getOwnPropertyNames(l);for(y=0;y<w.length;y++){var M,C=w[y];(M=Object.getOwnPropertyDescriptor(l,C))&&M.enumerable||(h[C]=o(l[C],p-1),Object.defineProperty(h,C,{enumerable:!1}))}}return h}(o,l)}function o(e){return Object.prototype.toString.call(e)}function i(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=o,a.__isDate=function(e){return"object"==typeof e&&"[object Date]"===o(e)},a.__isArray=function(e){return"object"==typeof e&&"[object Array]"===o(e)},a.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===o(e)},a.__getRegExpFlags=i,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,o,i,s,l,u,c=!1;t||(t={}),r=t.debug||!1;try{if(i=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 o=a[t.format]||a.default;window.clipboardData.setData(o,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"),o=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(o,e)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(s):l.removeAllRanges()),u&&document.body.removeChild(u),i()}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),o=Array.prototype,i=String.prototype;e.exports=function(e){var t=e.includes;return e===o||e instanceof Array&&t===o.includes?n:"string"==typeof e||e===i||e instanceof String&&t===i.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)}},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),o=r(358);e.exports=function(e){for(var t=n(this),r=o(t.length),i=arguments.length,s=a(i>1?arguments[1]:void 0,r),l=i>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),o=r(5449),i=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&&i(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?o(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),o=r(4488),i=function(e){return function(t,r,i){var s,l=n(t),u=a(l.length),c=o(i,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:i(!0),indexOf:i(!1)}},2865:(e,t,r)=>{var n=r(4834),a=r(3883),o=r(6298),i=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=o(p),S=a(E),w=n(h,g,3),M=i(S.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 S)&&(b=w(y=S[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),o=r(358),i=r(4760),s=Math.min,l=[].lastIndexOf,u=!!l&&1/[1].lastIndexOf(1,-0)<0,c=i("lastIndexOf"),d=u||!c;e.exports=d?function(e){if(u)return l.apply(this,arguments)||0;var t=n(this),r=o(t.length),i=r-1;for(arguments.length>1&&(i=s(i,a(arguments[1]))),i<0&&(i=r+i);i>=0;i--)if(i in t&&t[i]===e)return i||0;return-1}:l},1975:(e,t,r)=>{var n=r(9978),a=r(3374),o=r(8720),i=a("species");e.exports=function(e){return o>=51||!n((function(){var t=[];return(t.constructor={})[i]=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),o=r(3883),i=r(358),s=function(e){return function(t,r,s,l){n(r);var u=a(t),c=o(u),d=i(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,o){var i=e.length,s=t(i/2);return i<8?n(e,o):a(r(e.slice(0,s),o),r(e.slice(s),o),o)},n=function(e,t){for(var r,n,a=e.length,o=1;o<a;){for(n=o,r=e[o];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==o++&&(e[n]=r)}return e},a=function(e,t,r){for(var n=e.length,a=t.length,o=0,i=0,s=[];o<n||i<a;)o<n&&i<a?s.push(r(e[o],t[i])<=0?e[o++]:t[i++]):s.push(o<n?e[o++]:t[i++]);return s};e.exports=r},9293:(e,t,r)=>{var n=r(4363),a=r(8358),o=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[o])&&(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,o){try{return o?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 o=0,i={next:function(){return{done:!!o++}},return:function(){a=!0}};i[n]=function(){return this},Array.from(i,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!a)return!1;var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},e(o)}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),o=r(3374)("toStringTag"),i="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),o))?r:i?a(t):"Object"==(n=a(t))&&"function"==typeof t.callee?"Arguments":n}},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),o=r(5988),i=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:o(1,r)}),i(e,u,!1,!0),s[u]=l,e}},7642:(e,t,r)=>{var n=r(9932),a=r(9577),o=r(5988);e.exports=n?function(e,t,r){return a.f(e,t,o(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),o=r(5988);e.exports=function(e,t,r){var i=n(t);i in e?a.f(e,i,o(0,r)):e[i]=r}},4884:(e,t,r)=>{"use strict";var n=r(1427),a=r(5158),o=r(351),i=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,S,w){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=o(O.call(new e)),p!==Object.prototype&&M.next&&(d||o(M)===p||(i?i(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&&!w||A[g]===_||l(A,g,_),f[t]=_,m)if(C={values:N(y),keys:S?_:N(v),entries:N(b)},w)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),o=r(8444),i=r(9577).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});a(t,e)||i(t,e,{value:o.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),o=n.document,i=a(o)&&a(o.createElement);e.exports=function(e){return i?o.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,o=r(100),i=r(5095),s=o.process,l=s&&s.versions,u=l&&l.v8;u?a=(n=u.split("."))[0]<4?1:n[0]+n[1]:i&&(!(n=i.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=i.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,o=r(608),i=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,S=e.proto,w=b?n:E?n[y]:(n[y]||{}).prototype,M=b?i:i[y]||(i[y]={}),C=M.prototype;for(f in t)r=!o(b?f:y+(E?".":"#")+f,e.forced)&&w&&u(w,f),p=M[f],r&&(h=e.noTargetGet?(v=a(w,f))&&v.value:w[f]),m=r&&h?h:t[f],r&&typeof p==typeof m||(g=e.bind&&r?s(m,n):e.wrap&&r?c(m):S&&"function"==typeof m?s(Function.call,m):m,(e.sham||m&&m.sham||p&&p.sham)&&l(g,"sham",!0),M[f]=g,S&&(u(i,d=y+"Prototype")||l(i,d,{}),i[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),o=[].slice,i={};e.exports=Function.bind||function(e){var t=n(this),r=o.call(arguments,1),s=function(){var n=r.concat(o.call(arguments));return this instanceof s?function(e,t,r){if(!(t in i)){for(var n=[],a=0;a<t;a++)n[a]="a["+a+"]";i[t]=Function("C,a","return new C("+n.join(",")+")")}return i[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),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(a[e]):n[e]&&n[e][t]||a[e]&&a[e][t]}},1222:(e,t,r)=>{var n=r(6262),a=r(5446),o=r(3374)("iterator");e.exports=function(e){if(null!=e)return e[o]||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),o=r(1112);e.exports=!n&&!a((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},3883:(e,t,r)=>{var n=r(9978),a=r(7362),o="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?o.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),o=r(4013),i=r(9577).f,s=r(3278),l=r(1609),u=s("meta"),c=0,d=Object.isExtensible||function(){return!0},f=function(e){i(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(!o(e,u)){if(!d(e))return"F";if(!t)return"E";f(e)}return e[u].objectID},getWeakData:function(e,t){if(!o(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)&&!o(e,u)&&f(e),e}};n[u]=!0},1026:(e,t,r)=>{var n,a,o,i=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(i||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)||{}},o=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]:{}},o=function(e){return c(e,E)}}e.exports={set:n,get:a,has:o,enforce:function(e){return o(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),o=n("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(a.Array===e||i[o]===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\./,o=function(e,t){var r=s[i(e)];return r==u||r!=l&&("function"==typeof t?n(t):!!t)},i=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},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),o=r(3374)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==a(e))}},8839:(e,t,r)=>{var n=r(6856),a=r(688),o=r(358),i=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),S=i(t,v,1+y+E),w=function(e){return c&&l(c),new u(!0,e)},M=function(e){return y?(n(e),E?S(e[0],e[1],w):S(e[0],e[1])):E?S(e,w):S(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=o(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,o,i=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(o=[].keys())?(a=s(s(o)))!==Object.prototype&&(n=a):m=!0);var p=null==n||i((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,o,i,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,S=f(d,"queueMicrotask"),w=S&&S.value;w||(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?i():o=void 0,e}}o=void 0,e&&e.enter()},p||g||h||!v||!y?E&&E.resolve?((u=E.resolve(void 0)).constructor=E,c=u.then,i=function(){c.call(u,n)}):i=g?function(){b.nextTick(n)}:function(){m.call(d,n)}:(s=!0,l=y.createTextNode(""),new v(n).observe(l,{characterData:!0}),i=function(){l.data=s=!s})),e.exports=w||function(e){var t={fn:e,next:void 0};o&&(o.next=t),a||(a=t,i()),o=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),o=r(9814),i=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})),o&&!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[i]||"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),o=n.WeakMap;e.exports="function"==typeof o&&/native code/.test(a(o))},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,o=r(4784),i=n.parseInt,s=/^[+-]?0[Xx]/,l=8!==i(o+"08")||22!==i(o+"0x16");e.exports=l?function(e,t){var r=a(String(e));return i(r,t>>>0||(s.test(r)?16:10))}:i},989:(e,t,r)=>{"use strict";var n=r(9932),a=r(9978),o=r(5492),i=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]||o(c({},t)).join("")!=a}))?function(e,t){for(var r=l(e),a=arguments.length,c=1,d=i.f,f=s.f;a>c;)for(var m,p=u(arguments[c++]),h=d?o(p).concat(d(p)):o(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),o=r(7878),i=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=i.length;a--;)delete g[d][i[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:o(r,t)}},7878:(e,t,r)=>{var n=r(9932),a=r(9577),o=r(6856),i=r(5492);e.exports=n?Object.defineProperties:function(e,t){o(e);for(var r,n=i(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),o=r(6856),i=r(4490),s=Object.defineProperty;t.f=n?s:function(e,t,r){if(o(e),t=i(t,!0),o(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),o=r(5988),i=r(2889),s=r(4490),l=r(4013),u=r(9265),c=Object.getOwnPropertyDescriptor;t.f=n?c:function(e,t){if(e=i(e),t=s(t,!0),u)try{return c(e,t)}catch(e){}if(l(e,t))return o(!a.f.call(e,t),e[t])}},7749:(e,t,r)=>{var n=r(2889),a=r(1655).f,o={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return i&&"[object Window]"==o.call(e)?function(e){try{return a(e)}catch(e){return i.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),o=r(3763),i=r(9991),s=o("IE_PROTO"),l=Object.prototype;e.exports=i?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),o=r(9331).indexOf,i=r(9658);e.exports=function(e,t){var r,s=a(e),l=0,u=[];for(r in s)!n(i,r)&&n(s,r)&&u.push(r);for(;t.length>l;)n(s,r=t[l++])&&(~o(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,o){return n(r),a(o),t?e.call(r,o):r.__proto__=o,r}}():void 0)},4775:(e,t,r)=>{var n=r(9932),a=r(5492),o=r(2889),i=r(7079).f,s=function(e){return function(t){for(var r,s=o(t),l=a(s),u=l.length,c=0,d=[];u>c;)r=l[c++],n&&!i.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),o=r(2455),i=r(6856);e.exports=n("Reflect","ownKeys")||function(e){var t=a.f(i(e)),r=o.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),o=r(9012);e.exports=function(e,t){if(n(e),a(t)&&t.constructor===e)return t;var r=o.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),o=r(3374),i=r(9932),s=o("species");e.exports=function(e){var t=n(e),r=a.f;i&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},76:(e,t,r)=>{var n=r(2434),a=r(9577).f,o=r(7642),i=r(4013),s=r(6118),l=r(3374)("toStringTag");e.exports=function(e,t,r,u){if(e){var c=r?e:e.prototype;i(c,l)||a(c,l,{configurable:!0,value:t}),u&&!n&&o(c,"toString",s)}}},3763:(e,t,r)=>{var n=r(3860),a=r(3278),o=n("keys");e.exports=function(e){return o[e]||(o[e]=a(e))}},7758:(e,t,r)=>{var n=r(100),a=r(7103),o="__core-js_shared__",i=n[o]||a(o,{});e.exports=i},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),o=r(3374)("species");e.exports=function(e,t){var r,i=n(e).constructor;return void 0===i||null==(r=n(i)[o])?t:a(r)}},9413:(e,t,r)=>{var n=r(8289),a=r(9788),o=function(e){return function(t,r){var o,i,s=String(a(t)),l=n(r),u=s.length;return l<0||l>=u?e?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===u||(i=s.charCodeAt(l+1))<56320||i>57343?e?s.charAt(l):o:e?s.slice(l,l+2):i-56320+(o-55296<<10)+65536}};e.exports={codeAt:o(!1),charAt:o(!0)}},1899:e=>{"use strict";var t=2147483647,r=/[^\0-\u007E]/,n=/[.\u3002\uFF0E\uFF61]/g,a="Overflow: input needs wider integers to process",o=Math.floor,i=String.fromCharCode,s=function(e){return e+22+75*(e<26)},l=function(e,t,r){var n=0;for(e=r?o(e/700):e>>1,e+=o(e/t);e>455;n+=36)e=o(e/35);return o(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 o=e.charCodeAt(r++);56320==(64512&o)?t.push(((1023&a)<<10)+(1023&o)+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(i(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>o((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 S=y-E,w=36-E;r.push(i(s(E+S%w))),y=o(S/w)}r.push(i(s(y))),m=l(f,v,h==p),f=0,++h}}++f,++d}return r.join("")};e.exports=function(e){var t,a,o=[],i=e.toLowerCase().replace(n,".").split(".");for(t=0;t<i.length;t++)a=i[t],o.push(r.test(a)?"xn--"+u(a):a);return o.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)+"]",o=RegExp("^"+a+a+"*"),i=RegExp(a+a+"*$"),s=function(e){return function(t){var r=String(n(t));return 1&e&&(r=r.replace(o,"")),2&e&&(r=r.replace(i,"")),r}};e.exports={start:s(1),end:s(2),trim:s(3)}},8930:(e,t,r)=>{var n,a,o,i=r(100),s=r(9978),l=r(4834),u=r(7180),c=r(1112),d=r(5601),f=r(1663),m=i.location,p=i.setImmediate,h=i.clearImmediate,g=i.process,v=i.MessageChannel,y=i.Dispatch,b=0,E={},S="onreadystatechange",w=function(e){if(E.hasOwnProperty(e)){var t=E[e];delete E[e],t()}},M=function(e){return function(){w(e)}},C=function(e){w(e.data)},I=function(e){i.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?(o=(a=new v).port2,a.port1.onmessage=C,n=l(o.postMessage,o,1)):i.addEventListener&&"function"==typeof postMessage&&!i.importScripts&&m&&"file:"!==m.protocol&&!s(I)?(n=I,i.addEventListener("message",C,!1)):n=S in c("script")?function(e){u.appendChild(c("script"))[S]=function(){u.removeChild(this),w(e)}}:function(e){setTimeout(M(e),0)}),e.exports={set:p,clear:h}},4488:(e,t,r)=>{var n=r(8289),a=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?a(r+t,0):o(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),o=r(4013),i=r(3278),s=r(6386),l=r(4529),u=a("wks"),c=n.Symbol,d=l?c:c&&c.withoutSetter||i;e.exports=function(e){return o(u,e)&&(s||"string"==typeof u[e])||(s&&o(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),o=r(3276),i=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);o&&(r=o(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=i(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),o=r(8358),i=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(!i(e))return!1;var t=e[p];return void 0!==t?!!t:o(e)};n({target:"Array",proto:!0,forced:!v||!y},{concat:function(e){var t,r,n,a,o,i=s(this),d=c(i,0),f=0;for(t=-1,n=arguments.length;t<n;t++)if(b(o=-1===t?i:arguments[t])){if(f+(a=l(o.length))>h)throw TypeError(g);for(r=0;r<a;r++,f++)r in o&&u(d,f,o[r])}else{if(f>=h)throw TypeError(g);u(d,f++,o)}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),o=r(7479);n({target:"Array",proto:!0},{fill:a}),o("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,o=r(7479),i="findIndex",s=!0;i in[]&&Array(1)[i]((function(){s=!1})),n({target:"Array",proto:!0,forced:s},{findIndex:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),o(i)},2283:(e,t,r)=>{"use strict";var n=r(1427),a=r(2865).find,o=r(7479),i="find",s=!0;i in[]&&Array(1)[i]((function(){s=!1})),n({target:"Array",proto:!0,forced:s},{find:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),o(i)},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,o=r(7479);n({target:"Array",proto:!0},{includes:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},8165:(e,t,r)=>{"use strict";var n=r(1427),a=r(9331).indexOf,o=r(4760),i=[].indexOf,s=!!i&&1/[1].indexOf(1,-0)<0,l=o("indexOf");n({target:"Array",proto:!0,forced:s||!l},{indexOf:function(e){return s?i.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),o=r(5446),i=r(1026),s=r(4884),l="Array Iterator",u=i.set,c=i.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"),o.Arguments=o.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,o=r(4760),i=r(8720),s=r(1663);n({target:"Array",proto:!0,forced:!o("reduce")||!s&&i>79&&i<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),o=[].reverse,i=[1,2];n({target:"Array",proto:!0,forced:String(i)===String(i.reverse())},{reverse:function(){return a(this)&&(this.length=this.length),o.call(this)}})},333:(e,t,r)=>{"use strict";var n=r(1427),a=r(4363),o=r(8358),i=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=i(e,h),v=i(void 0===t?h:t,h);if(o(d)&&("function"!=typeof(r=d.constructor)||r!==Array&&!o(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),o=r(6298),i=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=o(this);if(b)return void 0===e?h.call(t):h.call(t,e);var r,n,s=[],u=i(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),o=r(8289),i=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=i(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(o(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),o=r(9978),i=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=o((function(){return'"\\udf06\\ud834"'!==i("\udf06\ud834")||'"\\udead"'!==i("\udead")}));i&&n({target:"JSON",stat:!0,forced:d},{stringify:function(e,t,r){var n=i.apply(null,arguments);return"string"==typeof n?n.replace(s,c):n}})},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),o=r(9978),i=r(4363),s=r(3120).onFreeze,l=Object.freeze;n({target:"Object",stat:!0,forced:o((function(){l(1)})),sham:!a},{freeze:function(e){return l&&i(e)?l(s(e)):e}})},5985:(e,t,r)=>{var n=r(1427),a=r(9978),o=r(2889),i=r(4498).f,s=r(9932),l=a((function(){i(1)}));n({target:"Object",stat:!0,forced:!s||l,sham:!s},{getOwnPropertyDescriptor:function(e,t){return i(o(e),t)}})},5780:(e,t,r)=>{var n=r(1427),a=r(9932),o=r(9317),i=r(2889),s=r(4498),l=r(5453);n({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(e){for(var t,r,n=i(e),a=s.f,u=o(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),o=r(5492);n({target:"Object",stat:!0,forced:r(9978)((function(){o(1)}))},{keys:function(e){return o(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),o=r(9012),i=r(1668),s=r(8839);n({target:"Promise",stat:!0},{allSettled:function(e){var t=this,r=o.f(t),n=r.resolve,l=r.reject,u=i((function(){var r=a(t.resolve),o=[],i=0,l=1;s(e,(function(e){var a=i++,s=!1;o.push(void 0),l++,r.call(t,e).then((function(e){s||(s=!0,o[a]={status:"fulfilled",value:e},--l||n(o))}),(function(e){s||(s=!0,o[a]={status:"rejected",reason:e},--l||n(o))}))})),--l||n(o)}));return u.error&&l(u.value),r.promise}})},325:(e,t,r)=>{"use strict";var n=r(1427),a=r(6421),o=r(129),i=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=i.f(t),n=r.resolve,c=r.reject,d=s((function(){var r=a(t.resolve),i=[],s=0,d=1,f=!1;l(e,(function(e){var a=s++,l=!1;i.push(void 0),d++,r.call(t,e).then((function(e){l||f||(f=!0,n(e))}),(function(e){l||f||(l=!0,i[a]=e,--d||c(new(o("AggregateError"))(i,u)))}))})),--d||c(new(o("AggregateError"))(i,u))}));return d.error&&c(d.value),r.promise}})},7089:(e,t,r)=>{"use strict";var n=r(1427),a=r(9814),o=r(959),i=r(9978),s=r(129),l=r(5176),u=r(1282),c=r(3640);if(n({target:"Promise",proto:!0,real:!0,forced:!!o&&i((function(){o.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 o){var d=s("Promise").prototype.finally;o.prototype.finally!==d&&c(o.prototype,"finally",d,{unsafe:!0})}},8493:(e,t,r)=>{"use strict";var n,a,o,i,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),S=r(8839),w=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),j=d&&d.prototype,z=d,H=j,$=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(z)!==String(z);if(!e&&66===R)return!0;if(l&&!H.finally)return!0;if(R>=51&&/native code/.test(z))return!1;var t=new z((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||!w((function(e){z.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,o=0;r.length>o;){var i,s,l,u=r[o++],c=a?u.ok:u.fail,d=u.resolve,f=u.reject,m=u.domain;try{c?(a||(2===e.rejection&&ie(e),e.rejection=1),!0===c?i=n:(m&&m.enter(),i=c(n),m&&(m.exit(),l=!0)),i===u.promise?f($("Promise-chain cycle")):(s=te(i))?s.call(i,d,f):d(i)):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(oe(e)&&(t=A((function(){P?W.emit("unhandledRejection",n,r):ne(J,r,n)})),e.rejection=P||oe(e)?2:1,t.error))throw t.value}))},oe=function(e){return 1!==e.rejection&&!e.parent},ie=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=(z=function(e){b(this,z,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,z));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===z||e===o?new a(e):Y(e)},!l&&"function"==typeof d&&j!==Object.prototype)){i=j.then,X||(f(j,"then",(function(e,t){var r=this;return new z((function(e,t){i.call(r,e,t)})).then(e,t)}),{unsafe:!0}),f(j,"catch",H.catch,{unsafe:!0}));try{delete j.constructor}catch(e){}p&&p(j,H)}s({global:!0,wrap:!0,forced:Q},{Promise:z}),h(z,L,!1,!0),g(L),o=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===o?z:this,e)}}),s({target:L,stat:!0,forced:ee},{all:function(e){var t=this,r=G(t),n=r.resolve,a=r.reject,o=A((function(){var r=y(t.resolve),o=[],i=0,s=1;S(e,(function(e){var l=i++,u=!1;o.push(void 0),s++,r.call(t,e).then((function(e){u||(u=!0,o[l]=e,--s||n(o))}),a)})),--s||n(o)}));return o.error&&a(o.value),r.promise},race:function(e){var t=this,r=G(t),n=r.reject,a=A((function(){var a=y(t.resolve);S(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),o=r(9788);n({target:"String",proto:!0,forced:!r(2373)("includes")},{includes:function(e){return!!~String(o(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),o=r(4884),i="String Iterator",s=a.set,l=a.getterFor(i);o(String,"String",(function(e){s(this,{type:i,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),o=r(4498).f,i=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=o(String.prototype,"startsWith"),!n||n.writable))&&!m},{startsWith:function(e){var t=String(l(this));s(e);var r=i(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),o=r(129),i=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),S=r(1655),w=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",j="prototype",z=k("toPrimitive"),H=L.set,$=L.getterFor(V),q=Object[j],W=a.Symbol,G=o("JSON","stringify"),Y=C.f,K=I.f,Z=w.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[j]||!ne[j].findChild,oe=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,ie=function(e,t){var r=X[e]=b(W[j]);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),oe(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),oe(this,t,y(1,e))};return s&&ae&&oe(q,t,{configurable:!0,set:r}),ie(t,e)})[j],"toString",(function(){return $(this).tag})),T(W,"withoutSetter",(function(e){return ie(O(e),e)})),N.f=ce,I.f=le,C.f=de,S.f=w.f=fe,M.f=me,P.f=function(e){return ie(k(e),e)},s&&(K(W[j],"description",{configurable:!0,get:function(){return $(this).description}}),i||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],o=1;arguments.length>o;)a.push(arguments[o++]);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[j][z]||D(W[j],z,W[j].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),o=r(1668);n({target:"Promise",stat:!0},{try:function(e){var t=a.f(this),r=o(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),o=r(6262),i=r(7642),s=r(5446),l=r(3374)("toStringTag");for(var u in n){var c=a[u],d=c&&c.prototype;d&&o(d)!==l&&i(d,l,u),s[u]=s.Array}},1614:(e,t,r)=>{var n=r(1427),a=r(100),o=r(5095),i=[].slice,s=function(e){return function(t,r){var n=arguments.length>2,a=n?i.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(o)},{setTimeout:s(a.setTimeout),setInterval:s(a.setInterval)})},8122:(e,t,r)=>{"use strict";r(2610);var n=r(1427),a=r(129),o=r(3694),i=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),S=r(3374),w=a("fetch"),M=a("Headers"),C=S("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("&"),o=0;o<a.length;)(r=a[o++]).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)},j=function(e,t){if(e<t)throw TypeError("Not enough arguments")},z=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,o,i,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((i=(o=(a=b(h(n.value))).next).call(a)).done||(s=o.call(a)).done||!o.call(a).done)throw TypeError("Expected sequence with length 2");c.push({key:i.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){j(arguments.length,2);var r=T(this);r.entries.push({key:e+"",value:t+""}),r.updateURL()},delete:function(e){j(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){j(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){j(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){j(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){j(arguments.length,1);for(var r,n=T(this),a=n.entries,o=!1,i=e+"",s=t+"",l=0;l<a.length;l++)(r=a[l]).key===i&&(o?a.splice(l--,1):(o=!0,r.value=s));o||a.push({key:i,value:s}),n.updateURL()},sort:function(){var e,t,r,n=T(this),a=n.entries,o=a.slice();for(a.length=0,r=0;r<o.length;r++){for(e=o[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 z(this,"keys")},values:function(){return new z(this,"values")},entries:function(){return new z(this,"entries")}},{enumerable:!0}),i($,C,$.entries),i($,"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:!o},{URLSearchParams:H}),o||"function"!=typeof w||"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)),w.apply(this,a)}}),e.exports={URLSearchParams:H,getState:T}},668:(e,t,r)=>{"use strict";r(9773);var n,a=r(1427),o=r(9932),i=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,S=v.getState,w=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=z(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=j(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}},j=function(e){var t,r,n,a,o,i,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(o=10,a.length>1&&"0"==a.charAt(0)&&(o=O.test(a)?16:8,a=a.slice(8==o?1:2)),""===a)i=0;else{if(!(10==o?P:8==o?k:R).test(a))return e;i=parseInt(a,o)}r.push(i)}for(n=0;n<t;n++)if(i=r[n],n==t-1){if(i>=I(256,5-t))return null}else if(i>255)return null;for(s=r.pop(),n=0;n<r.length;n++)s+=r[n]*I(256,3-n);return s},z=function(e){var t,r,n,a,o,i,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(o=parseInt(f(),10),null===a)a=o;else{if(0==a)return;a=10*a+o}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(i=u-c,u=7;0!=u&&i>0;)s=l[u],l[u--]=l[c+i-1],l[c+--i]=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,o=0;o<8;o++)0!==e[o]?(a>r&&(t=n,r=a),n=null,a=0):(null===n&&(n=o),++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={},oe={},ie={},se={},le={},ue={},ce={},de={},fe={},me={},pe={},he={},ge={},ve={},ye={},be={},Ee={},Se={},we={},Me={},Ce=function(e,t,r,a){var o,i,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,""),o=m(t);f<=o.length;){switch(i=o[f],c){case ne:if(!i||!A.test(i)){if(r)return N;c=oe;continue}p+=i.toLowerCase(),c=ae;break;case ae:if(i&&(x.test(i)||"+"==i||"-"==i||"."==i))p+=i.toLowerCase();else{if(":"!=i){if(r)return N;p="",c=oe,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=ie:Z(e)?c=ce:"/"==o[f+1]?(c=se,f++):(e.cannotBeABaseURL=!0,e.path.push(""),c=Se)}break;case oe:if(!a||a.cannotBeABaseURL&&"#"!=i)return N;if(a.cannotBeABaseURL&&"#"==i){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 ie:if("/"!=i||"/"!=o[f+1]){c=le;continue}c=de,f++;break;case se:if("/"==i){c=fe;break}c=Ee;continue;case le:if(e.scheme=a.scheme,i==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("/"==i||"\\"==i&&Z(e))c=ue;else if("?"==i)e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query="",c=we;else{if("#"!=i){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)||"/"!=i&&"\\"!=i){if("/"!=i){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,"/"!=i||"/"!=p.charAt(f+1))continue;f++;break;case de:if("/"!=i&&"\\"!=i){c=fe;continue}break;case fe:if("@"==i){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(i==n||"/"==i||"?"==i||"#"==i||"\\"==i&&Z(e)){if(h&&""==p)return"Invalid authority";f-=m(p).length+1,p="",c=me}else p+=i;break;case me:case pe:if(r&&"file"==e.scheme){c=ye;continue}if(":"!=i||g){if(i==n||"/"==i||"?"==i||"#"==i||"\\"==i&&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}"["==i?g=!0:"]"==i&&(g=!1),p+=i}else{if(""==p)return D;if(l=V(e,p))return l;if(p="",c=he,r==pe)return}break;case he:if(!_.test(i)){if(i==n||"/"==i||"?"==i||"#"==i||"\\"==i&&Z(e)||r){if(""!=p){var S=parseInt(p,10);if(S>65535)return T;e.port=Z(e)&&S===K[e.scheme]?null:S,p=""}if(r)return;c=be;continue}return T}p+=i;break;case ge:if(e.scheme="file","/"==i||"\\"==i)c=ve;else{if(!a||"file"!=a.scheme){c=Ee;continue}if(i==n)e.host=a.host,e.path=a.path.slice(),e.query=a.query;else if("?"==i)e.host=a.host,e.path=a.path.slice(),e.query="",c=we;else{if("#"!=i){ee(o.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("/"==i||"\\"==i){c=ye;break}a&&"file"==a.scheme&&!ee(o.slice(f).join(""))&&(Q(a.path[0],!0)?e.path.push(a.path[0]):e.host=a.host),c=Ee;continue;case ye:if(i==n||"/"==i||"\\"==i||"?"==i||"#"==i){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+=i;break;case be:if(Z(e)){if(c=Ee,"/"!=i&&"\\"!=i)continue}else if(r||"?"!=i)if(r||"#"!=i){if(i!=n&&(c=Ee,"/"!=i))continue}else e.fragment="",c=Me;else e.query="",c=we;break;case Ee:if(i==n||"/"==i||"\\"==i&&Z(e)||!r&&("?"==i||"#"==i)){if(".."===(u=(u=p).toLowerCase())||"%2e."===u||".%2e"===u||"%2e%2e"===u?(te(e),"/"==i||"\\"==i&&Z(e)||e.path.push("")):re(p)?"/"==i||"\\"==i&&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&&(i==n||"?"==i||"#"==i))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==i?(e.query="",c=we):"#"==i&&(e.fragment="",c=Me)}else p+=Y(i,W);break;case Se:"?"==i?(e.query="",c=we):"#"==i?(e.fragment="",c=Me):i!=n&&(e.path[0]+=Y(i,$));break;case we:r||"#"!=i?i!=n&&("'"==i&&Z(e)?e.query+="%27":e.query+="#"==i?"%23":Y(i,$)):(e.fragment="",c=Me);break;case Me:i!=n&&(e.fragment+=Y(i,q))}f++}},Ie=function(e){var t,r,n=c(this,Ie,"URL"),a=arguments.length>1?arguments[1]:void 0,i=String(e),s=w(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,i,null,t))throw TypeError(r);var l=s.searchParams=new E,u=S(l);u.updateSearchParams(s.query),u.updateURL=function(){s.query=String(l)||null},o||(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,o=e.port,i=e.path,s=e.query,l=e.fragment,u=t+":";return null!==a?(u+="//",J(e)&&(u+=r+(n?":"+n:"")+"@"),u+=H(a),null!==o&&(u+=":"+o)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?i[0]:i.length?"/"+i.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(o&&l(Ne,{href:Be(De,(function(e){var t=M(this),r=String(e),n=Ce(t,r);if(n)throw TypeError(n);S(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,we)),S(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,je=b.revokeObjectURL;Ve&&u(Ie,"createObjectURL",(function(e){return Ve.apply(b,arguments)})),je&&u(Ie,"revokeObjectURL",(function(e){return je.apply(b,arguments)}))}g(Ie,"URL"),a({global:!0,forced:!i,sham:!o},{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),o=Array.prototype,i={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.forEach;return e===o||e instanceof Array&&t===o.forEach||i.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),o=Array.prototype,i={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.keys;return e===o||e instanceof Array&&t===o.keys||i.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),o=Array.prototype,i={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.values;return e===o||e instanceof Array&&t===o.values||i.hasOwnProperty(a(e))?n:t}},2751:(e,t,r)=>{var n=r(8093);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,o,i,s;function l(){var u=Date.now()-i;u<t&&u>=0?n=setTimeout(l,t-u):(n=null,r||(s=e.apply(o,a),o=a=null))}null==t&&(t=100);var u=function(){o=this,a=arguments,i=Date.now();var u=r&&!n;return n||(n=setTimeout(l,t)),u&&(s=e.apply(o,a),o=a=null),s};return u.clear=function(){n&&(clearTimeout(n),n=null)},u.flush=function(){n&&(s=e.apply(o,a),o=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,o=0;for(;n;)r=parseInt(e.charAt(--n),10),a^=1,o+=a?t[r]:r;return o%10==0})},2983:function(e,t,r){var n,a;!function(o,i,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():i.exports?i.exports=s():i.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]]},o=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])},i=function(i,s){s=s||0;for(var l=(i=i||"").length%16,u=i.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&i.charCodeAt(g+4)|(255&i.charCodeAt(g+5))<<8|(255&i.charCodeAt(g+6))<<16|(255&i.charCodeAt(g+7))<<24,255&i.charCodeAt(g)|(255&i.charCodeAt(g+1))<<8|(255&i.charCodeAt(g+2))<<16|(255&i.charCodeAt(g+3))<<24],m=[255&i.charCodeAt(g+12)|(255&i.charCodeAt(g+13))<<8|(255&i.charCodeAt(g+14))<<16|(255&i.charCodeAt(g+15))<<24,255&i.charCodeAt(g+8)|(255&i.charCodeAt(g+9))<<8|(255&i.charCodeAt(g+10))<<16|(255&i.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,i.charCodeAt(g+14)],48));case 14:m=a(m,n([0,i.charCodeAt(g+13)],40));case 13:m=a(m,n([0,i.charCodeAt(g+12)],32));case 12:m=a(m,n([0,i.charCodeAt(g+11)],24));case 11:m=a(m,n([0,i.charCodeAt(g+10)],16));case 10:m=a(m,n([0,i.charCodeAt(g+9)],8));case 9:m=a(m,[0,i.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,i.charCodeAt(g+7)],56));case 7:f=a(f,n([0,i.charCodeAt(g+6)],48));case 6:f=a(f,n([0,i.charCodeAt(g+5)],40));case 5:f=a(f,n([0,i.charCodeAt(g+4)],32));case 4:f=a(f,n([0,i.charCodeAt(g+3)],24));case 3:f=a(f,n([0,i.charCodeAt(g+2)],16));case 2:f=a(f,n([0,i.charCodeAt(g+1)],8));case 1:f=a(f,[0,i.charCodeAt(g)]),f=t(f,p),f=r(f,31),f=t(f,h),c=a(c,f)}return c=a(c,[0,i.length]),d=a(d,[0,i.length]),c=e(c,d),d=e(d,c),c=o(c),d=o(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},S=function(e){return navigator.platform?navigator.platform:e.NOT_AVAILABLE},w=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 o=e.createProgram(),i=e.createShader(e.VERTEX_SHADER);e.shaderSource(i,"attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}"),e.compileShader(i);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(o,i),e.attachShader(o,s),e.linkProgram(o),e.useProgram(o),o.vertexPosAttrib=e.getAttribLocation(o,"attrVertex"),o.offsetUniform=e.getUniformLocation(o,"uniformOffset"),e.enableVertexAttribArray(o.vertexPosArray),e.vertexAttribPointer(o.vertexPosAttrib,n.itemSize,e.FLOAT,!1,0,0),e.uniform2f(o.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(o){var i=e.getShaderPrecisionFormat(e[n+"_SHADER"],e[a+"_"+t])[o];"precision"!==o&&(o="precision "+o);var s=["webgl ",n.toLowerCase()," shader ",a.toLowerCase()," ",t.toLowerCase()," ",o,":",i].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()},j=[{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(S(t))}},{key:"doNotTrack",getData:function(e,t){e(w(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],o=document.createElement("div"),i=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],o.appendChild(a),e.push(a)}return e}();a.appendChild(o);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 o=[],s=0,l=r.length;s<l;s++){var u=c(n[t],r[s]);i.appendChild(u),o.push(u)}e[n[t]]=o}return e}();a.appendChild(i);for(var g=[],v=0,y=n.length;v<y;v++)d(h[n[v]])&&g.push(n[v]);a.removeChild(i),a.removeChild(o),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),o=a.createOscillator();o.type="triangle",o.frequency.setValueAtTime(1e4,a.currentTime);var i=a.createDynamicsCompressor();l([["threshold",-50],["knee",40],["ratio",12],["reduction",-20],["attack",0],["release",.25]],(function(e){void 0!==i[e[0]]&&"function"==typeof i[e[0]].setValueAtTime&&i[e[0]].setValueAtTime(e[1],a.currentTime)})),o.connect(i),i.connect(a.destination),o.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(),o.disconnect(),i.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)}))}}],z=function(e){throw new Error("'new Fingerprint()' is deprecated, see https://github.com/fingerprintjs/fingerprintjs#upgrade-guide-from-182-to-200")};return z.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(j);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(o){if((n+=1)>=e.components.length)t(r.data);else{var i=e.components[n];if(e.excludes[i.key])a(!1);else{if(!o&&i.pauseBefore)return n-=1,void setTimeout((function(){a(!0)}),1);try{i.getData((function(e){r.addPreprocessedComponent(i.key,e),a(!1)}),e)}catch(e){r.addPreprocessedComponent(i.key,String(e)),a(!1)}}}};a(!1)},z.getPromise=function(e){return new Promise((function(t,r){z.get(e,t)}))},z.getV18=function(e,t){return null==t&&(t=e,e={}),z.get(e,(function(r){for(var n=[],a=0;a<r.length;a++){var o=r[a];if(o.value===(e.NOT_AVAILABLE||"not available"))n.push({key:o.key,value:"unknown"});else if("plugins"===o.key)n.push({key:"plugins",value:u(o.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(o.key)&&Array.isArray(o.value))n.push({key:o.key,value:o.value.join("~")});else if(-1!==["sessionStorage","localStorage","indexedDb","addBehavior","openDatabase"].indexOf(o.key)){if(!o.value)continue;n.push({key:o.key,value:1})}else o.value?n.push(o.value.join?{key:o.key,value:o.value.join(";")}:o):n.push({key:o.key,value:o.value})}var s=i(u(n,(function(e){return e.value})).join("~~~"),31);t(s,n)}))},z.x64hash128=i,z.VERSION="2.1.4",z}))},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||".",o=n.maxDepth,i=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+i(c):i(c);if(!f&&!p&&h&&Object.keys(d).length&&(!n.maxDepth||u<o))return e(d,g,u+1);s[g]=d}))}(e),s}e.exports=n,n.flatten=n,n.unflatten=function e(a,o){const i=(o=o||{}).delimiter||".",s=o.overwrite||!1,l=o.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(".")||o.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+i+n]=r[n],t}),t)}(t,e,n(a[t],o))}),{}),Object.keys(a).forEach((function(t){const r=t.split(i).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||o.object?{}:[]),f=f[n],r.length>0&&(n=c(r.shift()),d=c(r[0]))}f[n]=e(a[t],o)})),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},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?i:s[e.$$typeof]||a}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=i;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 i=c(r);d&&(i=i.concat(d(r)));for(var s=l(t),h=l(r),g=0;g<i.length;++g){var v=i[g];if(!(o[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.144.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)},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(),o=a.replace(/\/.*$/,"");return r.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?n.toLowerCase().endsWith(t):t.endsWith("/*")?o===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(o,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 o(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(o(t,p-1))}),(function(e){t(o(e,p-1))}))}));else if(a.__isArray(l))h=[];else if(a.__isRegExp(l))h=new RegExp(l.source,i(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=o(t,p-1),n=o(e,p-1);h.set(r,n)})),e(l,r)&&l.forEach((function(e){var t=o(e,p-1);h.add(t)})),l){var b;g&&(b=Object.getOwnPropertyDescriptor(g,y)),b&&null==b.set||(h[y]=o(l[y],p-1))}if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(l);for(y=0;y<E.length;y++){var S=E[y];(!(M=Object.getOwnPropertyDescriptor(l,S))||M.enumerable||c)&&(h[S]=o(l[S],p-1),M.enumerable||Object.defineProperty(h,S,{enumerable:!1}))}}if(c){var w=Object.getOwnPropertyNames(l);for(y=0;y<w.length;y++){var M,C=w[y];(M=Object.getOwnPropertyDescriptor(l,C))&&M.enumerable||(h[C]=o(l[C],p-1),Object.defineProperty(h,C,{enumerable:!1}))}}return h}(o,l)}function o(e){return Object.prototype.toString.call(e)}function i(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=o,a.__isDate=function(e){return"object"==typeof e&&"[object Date]"===o(e)},a.__isArray=function(e){return"object"==typeof e&&"[object Array]"===o(e)},a.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===o(e)},a.__getRegExpFlags=i,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,o,i,s,l,u,c=!1;t||(t={}),r=t.debug||!1;try{if(i=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 o=a[t.format]||a.default;window.clipboardData.setData(o,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"),o=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(o,e)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(s):l.removeAllRanges()),u&&document.body.removeChild(u),i()}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),o=Array.prototype,i=String.prototype;e.exports=function(e){var t=e.includes;return e===o||e instanceof Array&&t===o.includes?n:"string"==typeof e||e===i||e instanceof String&&t===i.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)}},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),o=r(358);e.exports=function(e){for(var t=n(this),r=o(t.length),i=arguments.length,s=a(i>1?arguments[1]:void 0,r),l=i>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),o=r(5449),i=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&&i(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?o(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),o=r(4488),i=function(e){return function(t,r,i){var s,l=n(t),u=a(l.length),c=o(i,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:i(!0),indexOf:i(!1)}},2865:(e,t,r)=>{var n=r(4834),a=r(3883),o=r(6298),i=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=o(p),S=a(E),w=n(h,g,3),M=i(S.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 S)&&(b=w(y=S[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),o=r(358),i=r(4760),s=Math.min,l=[].lastIndexOf,u=!!l&&1/[1].lastIndexOf(1,-0)<0,c=i("lastIndexOf"),d=u||!c;e.exports=d?function(e){if(u)return l.apply(this,arguments)||0;var t=n(this),r=o(t.length),i=r-1;for(arguments.length>1&&(i=s(i,a(arguments[1]))),i<0&&(i=r+i);i>=0;i--)if(i in t&&t[i]===e)return i||0;return-1}:l},1975:(e,t,r)=>{var n=r(9978),a=r(3374),o=r(8720),i=a("species");e.exports=function(e){return o>=51||!n((function(){var t=[];return(t.constructor={})[i]=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),o=r(3883),i=r(358),s=function(e){return function(t,r,s,l){n(r);var u=a(t),c=o(u),d=i(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,o){var i=e.length,s=t(i/2);return i<8?n(e,o):a(r(e.slice(0,s),o),r(e.slice(s),o),o)},n=function(e,t){for(var r,n,a=e.length,o=1;o<a;){for(n=o,r=e[o];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==o++&&(e[n]=r)}return e},a=function(e,t,r){for(var n=e.length,a=t.length,o=0,i=0,s=[];o<n||i<a;)o<n&&i<a?s.push(r(e[o],t[i])<=0?e[o++]:t[i++]):s.push(o<n?e[o++]:t[i++]);return s};e.exports=r},9293:(e,t,r)=>{var n=r(4363),a=r(8358),o=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[o])&&(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,o){try{return o?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 o=0,i={next:function(){return{done:!!o++}},return:function(){a=!0}};i[n]=function(){return this},Array.from(i,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!a)return!1;var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},e(o)}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),o=r(3374)("toStringTag"),i="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),o))?r:i?a(t):"Object"==(n=a(t))&&"function"==typeof t.callee?"Arguments":n}},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),o=r(5988),i=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:o(1,r)}),i(e,u,!1,!0),s[u]=l,e}},7642:(e,t,r)=>{var n=r(9932),a=r(9577),o=r(5988);e.exports=n?function(e,t,r){return a.f(e,t,o(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),o=r(5988);e.exports=function(e,t,r){var i=n(t);i in e?a.f(e,i,o(0,r)):e[i]=r}},4884:(e,t,r)=>{"use strict";var n=r(1427),a=r(5158),o=r(351),i=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,S,w){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=o(O.call(new e)),p!==Object.prototype&&M.next&&(d||o(M)===p||(i?i(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&&!w||A[g]===_||l(A,g,_),f[t]=_,m)if(C={values:N(y),keys:S?_:N(v),entries:N(b)},w)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),o=r(8444),i=r(9577).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});a(t,e)||i(t,e,{value:o.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),o=n.document,i=a(o)&&a(o.createElement);e.exports=function(e){return i?o.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,o=r(100),i=r(5095),s=o.process,l=s&&s.versions,u=l&&l.v8;u?a=(n=u.split("."))[0]<4?1:n[0]+n[1]:i&&(!(n=i.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=i.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,o=r(608),i=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,S=e.proto,w=b?n:E?n[y]:(n[y]||{}).prototype,M=b?i:i[y]||(i[y]={}),C=M.prototype;for(f in t)r=!o(b?f:y+(E?".":"#")+f,e.forced)&&w&&u(w,f),p=M[f],r&&(h=e.noTargetGet?(v=a(w,f))&&v.value:w[f]),m=r&&h?h:t[f],r&&typeof p==typeof m||(g=e.bind&&r?s(m,n):e.wrap&&r?c(m):S&&"function"==typeof m?s(Function.call,m):m,(e.sham||m&&m.sham||p&&p.sham)&&l(g,"sham",!0),M[f]=g,S&&(u(i,d=y+"Prototype")||l(i,d,{}),i[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),o=[].slice,i={};e.exports=Function.bind||function(e){var t=n(this),r=o.call(arguments,1),s=function(){var n=r.concat(o.call(arguments));return this instanceof s?function(e,t,r){if(!(t in i)){for(var n=[],a=0;a<t;a++)n[a]="a["+a+"]";i[t]=Function("C,a","return new C("+n.join(",")+")")}return i[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),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(a[e]):n[e]&&n[e][t]||a[e]&&a[e][t]}},1222:(e,t,r)=>{var n=r(6262),a=r(5446),o=r(3374)("iterator");e.exports=function(e){if(null!=e)return e[o]||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),o=r(1112);e.exports=!n&&!a((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},3883:(e,t,r)=>{var n=r(9978),a=r(7362),o="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?o.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),o=r(4013),i=r(9577).f,s=r(3278),l=r(1609),u=s("meta"),c=0,d=Object.isExtensible||function(){return!0},f=function(e){i(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(!o(e,u)){if(!d(e))return"F";if(!t)return"E";f(e)}return e[u].objectID},getWeakData:function(e,t){if(!o(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)&&!o(e,u)&&f(e),e}};n[u]=!0},1026:(e,t,r)=>{var n,a,o,i=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(i||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)||{}},o=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]:{}},o=function(e){return c(e,E)}}e.exports={set:n,get:a,has:o,enforce:function(e){return o(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),o=n("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(a.Array===e||i[o]===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\./,o=function(e,t){var r=s[i(e)];return r==u||r!=l&&("function"==typeof t?n(t):!!t)},i=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},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),o=r(3374)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==a(e))}},8839:(e,t,r)=>{var n=r(6856),a=r(688),o=r(358),i=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),S=i(t,v,1+y+E),w=function(e){return c&&l(c),new u(!0,e)},M=function(e){return y?(n(e),E?S(e[0],e[1],w):S(e[0],e[1])):E?S(e,w):S(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=o(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,o,i=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(o=[].keys())?(a=s(s(o)))!==Object.prototype&&(n=a):m=!0);var p=null==n||i((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,o,i,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,S=f(d,"queueMicrotask"),w=S&&S.value;w||(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?i():o=void 0,e}}o=void 0,e&&e.enter()},p||g||h||!v||!y?E&&E.resolve?((u=E.resolve(void 0)).constructor=E,c=u.then,i=function(){c.call(u,n)}):i=g?function(){b.nextTick(n)}:function(){m.call(d,n)}:(s=!0,l=y.createTextNode(""),new v(n).observe(l,{characterData:!0}),i=function(){l.data=s=!s})),e.exports=w||function(e){var t={fn:e,next:void 0};o&&(o.next=t),a||(a=t,i()),o=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),o=r(9814),i=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})),o&&!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[i]||"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),o=n.WeakMap;e.exports="function"==typeof o&&/native code/.test(a(o))},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,o=r(4784),i=n.parseInt,s=/^[+-]?0[Xx]/,l=8!==i(o+"08")||22!==i(o+"0x16");e.exports=l?function(e,t){var r=a(String(e));return i(r,t>>>0||(s.test(r)?16:10))}:i},989:(e,t,r)=>{"use strict";var n=r(9932),a=r(9978),o=r(5492),i=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]||o(c({},t)).join("")!=a}))?function(e,t){for(var r=l(e),a=arguments.length,c=1,d=i.f,f=s.f;a>c;)for(var m,p=u(arguments[c++]),h=d?o(p).concat(d(p)):o(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),o=r(7878),i=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=i.length;a--;)delete g[d][i[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:o(r,t)}},7878:(e,t,r)=>{var n=r(9932),a=r(9577),o=r(6856),i=r(5492);e.exports=n?Object.defineProperties:function(e,t){o(e);for(var r,n=i(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),o=r(6856),i=r(4490),s=Object.defineProperty;t.f=n?s:function(e,t,r){if(o(e),t=i(t,!0),o(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),o=r(5988),i=r(2889),s=r(4490),l=r(4013),u=r(9265),c=Object.getOwnPropertyDescriptor;t.f=n?c:function(e,t){if(e=i(e),t=s(t,!0),u)try{return c(e,t)}catch(e){}if(l(e,t))return o(!a.f.call(e,t),e[t])}},7749:(e,t,r)=>{var n=r(2889),a=r(1655).f,o={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return i&&"[object Window]"==o.call(e)?function(e){try{return a(e)}catch(e){return i.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),o=r(3763),i=r(9991),s=o("IE_PROTO"),l=Object.prototype;e.exports=i?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),o=r(9331).indexOf,i=r(9658);e.exports=function(e,t){var r,s=a(e),l=0,u=[];for(r in s)!n(i,r)&&n(s,r)&&u.push(r);for(;t.length>l;)n(s,r=t[l++])&&(~o(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,o){return n(r),a(o),t?e.call(r,o):r.__proto__=o,r}}():void 0)},4775:(e,t,r)=>{var n=r(9932),a=r(5492),o=r(2889),i=r(7079).f,s=function(e){return function(t){for(var r,s=o(t),l=a(s),u=l.length,c=0,d=[];u>c;)r=l[c++],n&&!i.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),o=r(2455),i=r(6856);e.exports=n("Reflect","ownKeys")||function(e){var t=a.f(i(e)),r=o.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),o=r(9012);e.exports=function(e,t){if(n(e),a(t)&&t.constructor===e)return t;var r=o.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),o=r(3374),i=r(9932),s=o("species");e.exports=function(e){var t=n(e),r=a.f;i&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},76:(e,t,r)=>{var n=r(2434),a=r(9577).f,o=r(7642),i=r(4013),s=r(6118),l=r(3374)("toStringTag");e.exports=function(e,t,r,u){if(e){var c=r?e:e.prototype;i(c,l)||a(c,l,{configurable:!0,value:t}),u&&!n&&o(c,"toString",s)}}},3763:(e,t,r)=>{var n=r(3860),a=r(3278),o=n("keys");e.exports=function(e){return o[e]||(o[e]=a(e))}},7758:(e,t,r)=>{var n=r(100),a=r(7103),o="__core-js_shared__",i=n[o]||a(o,{});e.exports=i},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),o=r(3374)("species");e.exports=function(e,t){var r,i=n(e).constructor;return void 0===i||null==(r=n(i)[o])?t:a(r)}},9413:(e,t,r)=>{var n=r(8289),a=r(9788),o=function(e){return function(t,r){var o,i,s=String(a(t)),l=n(r),u=s.length;return l<0||l>=u?e?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===u||(i=s.charCodeAt(l+1))<56320||i>57343?e?s.charAt(l):o:e?s.slice(l,l+2):i-56320+(o-55296<<10)+65536}};e.exports={codeAt:o(!1),charAt:o(!0)}},1899:e=>{"use strict";var t=2147483647,r=/[^\0-\u007E]/,n=/[.\u3002\uFF0E\uFF61]/g,a="Overflow: input needs wider integers to process",o=Math.floor,i=String.fromCharCode,s=function(e){return e+22+75*(e<26)},l=function(e,t,r){var n=0;for(e=r?o(e/700):e>>1,e+=o(e/t);e>455;n+=36)e=o(e/35);return o(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 o=e.charCodeAt(r++);56320==(64512&o)?t.push(((1023&a)<<10)+(1023&o)+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(i(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>o((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 S=y-E,w=36-E;r.push(i(s(E+S%w))),y=o(S/w)}r.push(i(s(y))),m=l(f,v,h==p),f=0,++h}}++f,++d}return r.join("")};e.exports=function(e){var t,a,o=[],i=e.toLowerCase().replace(n,".").split(".");for(t=0;t<i.length;t++)a=i[t],o.push(r.test(a)?"xn--"+u(a):a);return o.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)+"]",o=RegExp("^"+a+a+"*"),i=RegExp(a+a+"*$"),s=function(e){return function(t){var r=String(n(t));return 1&e&&(r=r.replace(o,"")),2&e&&(r=r.replace(i,"")),r}};e.exports={start:s(1),end:s(2),trim:s(3)}},8930:(e,t,r)=>{var n,a,o,i=r(100),s=r(9978),l=r(4834),u=r(7180),c=r(1112),d=r(5601),f=r(1663),m=i.location,p=i.setImmediate,h=i.clearImmediate,g=i.process,v=i.MessageChannel,y=i.Dispatch,b=0,E={},S="onreadystatechange",w=function(e){if(E.hasOwnProperty(e)){var t=E[e];delete E[e],t()}},M=function(e){return function(){w(e)}},C=function(e){w(e.data)},I=function(e){i.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?(o=(a=new v).port2,a.port1.onmessage=C,n=l(o.postMessage,o,1)):i.addEventListener&&"function"==typeof postMessage&&!i.importScripts&&m&&"file:"!==m.protocol&&!s(I)?(n=I,i.addEventListener("message",C,!1)):n=S in c("script")?function(e){u.appendChild(c("script"))[S]=function(){u.removeChild(this),w(e)}}:function(e){setTimeout(M(e),0)}),e.exports={set:p,clear:h}},4488:(e,t,r)=>{var n=r(8289),a=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?a(r+t,0):o(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),o=r(4013),i=r(3278),s=r(6386),l=r(4529),u=a("wks"),c=n.Symbol,d=l?c:c&&c.withoutSetter||i;e.exports=function(e){return o(u,e)&&(s||"string"==typeof u[e])||(s&&o(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),o=r(3276),i=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);o&&(r=o(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=i(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),o=r(8358),i=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(!i(e))return!1;var t=e[p];return void 0!==t?!!t:o(e)};n({target:"Array",proto:!0,forced:!v||!y},{concat:function(e){var t,r,n,a,o,i=s(this),d=c(i,0),f=0;for(t=-1,n=arguments.length;t<n;t++)if(b(o=-1===t?i:arguments[t])){if(f+(a=l(o.length))>h)throw TypeError(g);for(r=0;r<a;r++,f++)r in o&&u(d,f,o[r])}else{if(f>=h)throw TypeError(g);u(d,f++,o)}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),o=r(7479);n({target:"Array",proto:!0},{fill:a}),o("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,o=r(7479),i="findIndex",s=!0;i in[]&&Array(1)[i]((function(){s=!1})),n({target:"Array",proto:!0,forced:s},{findIndex:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),o(i)},2283:(e,t,r)=>{"use strict";var n=r(1427),a=r(2865).find,o=r(7479),i="find",s=!0;i in[]&&Array(1)[i]((function(){s=!1})),n({target:"Array",proto:!0,forced:s},{find:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),o(i)},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,o=r(7479);n({target:"Array",proto:!0},{includes:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},8165:(e,t,r)=>{"use strict";var n=r(1427),a=r(9331).indexOf,o=r(4760),i=[].indexOf,s=!!i&&1/[1].indexOf(1,-0)<0,l=o("indexOf");n({target:"Array",proto:!0,forced:s||!l},{indexOf:function(e){return s?i.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),o=r(5446),i=r(1026),s=r(4884),l="Array Iterator",u=i.set,c=i.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"),o.Arguments=o.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,o=r(4760),i=r(8720),s=r(1663);n({target:"Array",proto:!0,forced:!o("reduce")||!s&&i>79&&i<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),o=[].reverse,i=[1,2];n({target:"Array",proto:!0,forced:String(i)===String(i.reverse())},{reverse:function(){return a(this)&&(this.length=this.length),o.call(this)}})},333:(e,t,r)=>{"use strict";var n=r(1427),a=r(4363),o=r(8358),i=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=i(e,h),v=i(void 0===t?h:t,h);if(o(d)&&("function"!=typeof(r=d.constructor)||r!==Array&&!o(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),o=r(6298),i=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=o(this);if(b)return void 0===e?h.call(t):h.call(t,e);var r,n,s=[],u=i(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),o=r(8289),i=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=i(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(o(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),o=r(9978),i=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=o((function(){return'"\\udf06\\ud834"'!==i("\udf06\ud834")||'"\\udead"'!==i("\udead")}));i&&n({target:"JSON",stat:!0,forced:d},{stringify:function(e,t,r){var n=i.apply(null,arguments);return"string"==typeof n?n.replace(s,c):n}})},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),o=r(9978),i=r(4363),s=r(3120).onFreeze,l=Object.freeze;n({target:"Object",stat:!0,forced:o((function(){l(1)})),sham:!a},{freeze:function(e){return l&&i(e)?l(s(e)):e}})},5985:(e,t,r)=>{var n=r(1427),a=r(9978),o=r(2889),i=r(4498).f,s=r(9932),l=a((function(){i(1)}));n({target:"Object",stat:!0,forced:!s||l,sham:!s},{getOwnPropertyDescriptor:function(e,t){return i(o(e),t)}})},5780:(e,t,r)=>{var n=r(1427),a=r(9932),o=r(9317),i=r(2889),s=r(4498),l=r(5453);n({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(e){for(var t,r,n=i(e),a=s.f,u=o(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),o=r(5492);n({target:"Object",stat:!0,forced:r(9978)((function(){o(1)}))},{keys:function(e){return o(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),o=r(9012),i=r(1668),s=r(8839);n({target:"Promise",stat:!0},{allSettled:function(e){var t=this,r=o.f(t),n=r.resolve,l=r.reject,u=i((function(){var r=a(t.resolve),o=[],i=0,l=1;s(e,(function(e){var a=i++,s=!1;o.push(void 0),l++,r.call(t,e).then((function(e){s||(s=!0,o[a]={status:"fulfilled",value:e},--l||n(o))}),(function(e){s||(s=!0,o[a]={status:"rejected",reason:e},--l||n(o))}))})),--l||n(o)}));return u.error&&l(u.value),r.promise}})},325:(e,t,r)=>{"use strict";var n=r(1427),a=r(6421),o=r(129),i=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=i.f(t),n=r.resolve,c=r.reject,d=s((function(){var r=a(t.resolve),i=[],s=0,d=1,f=!1;l(e,(function(e){var a=s++,l=!1;i.push(void 0),d++,r.call(t,e).then((function(e){l||f||(f=!0,n(e))}),(function(e){l||f||(l=!0,i[a]=e,--d||c(new(o("AggregateError"))(i,u)))}))})),--d||c(new(o("AggregateError"))(i,u))}));return d.error&&c(d.value),r.promise}})},7089:(e,t,r)=>{"use strict";var n=r(1427),a=r(9814),o=r(959),i=r(9978),s=r(129),l=r(5176),u=r(1282),c=r(3640);if(n({target:"Promise",proto:!0,real:!0,forced:!!o&&i((function(){o.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 o){var d=s("Promise").prototype.finally;o.prototype.finally!==d&&c(o.prototype,"finally",d,{unsafe:!0})}},8493:(e,t,r)=>{"use strict";var n,a,o,i,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),S=r(8839),w=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),j=d&&d.prototype,z=d,H=j,$=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(z)!==String(z);if(!e&&66===R)return!0;if(l&&!H.finally)return!0;if(R>=51&&/native code/.test(z))return!1;var t=new z((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||!w((function(e){z.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,o=0;r.length>o;){var i,s,l,u=r[o++],c=a?u.ok:u.fail,d=u.resolve,f=u.reject,m=u.domain;try{c?(a||(2===e.rejection&&ie(e),e.rejection=1),!0===c?i=n:(m&&m.enter(),i=c(n),m&&(m.exit(),l=!0)),i===u.promise?f($("Promise-chain cycle")):(s=te(i))?s.call(i,d,f):d(i)):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(oe(e)&&(t=A((function(){P?W.emit("unhandledRejection",n,r):ne(J,r,n)})),e.rejection=P||oe(e)?2:1,t.error))throw t.value}))},oe=function(e){return 1!==e.rejection&&!e.parent},ie=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=(z=function(e){b(this,z,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,z));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===z||e===o?new a(e):Y(e)},!l&&"function"==typeof d&&j!==Object.prototype)){i=j.then,X||(f(j,"then",(function(e,t){var r=this;return new z((function(e,t){i.call(r,e,t)})).then(e,t)}),{unsafe:!0}),f(j,"catch",H.catch,{unsafe:!0}));try{delete j.constructor}catch(e){}p&&p(j,H)}s({global:!0,wrap:!0,forced:Q},{Promise:z}),h(z,L,!1,!0),g(L),o=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===o?z:this,e)}}),s({target:L,stat:!0,forced:ee},{all:function(e){var t=this,r=G(t),n=r.resolve,a=r.reject,o=A((function(){var r=y(t.resolve),o=[],i=0,s=1;S(e,(function(e){var l=i++,u=!1;o.push(void 0),s++,r.call(t,e).then((function(e){u||(u=!0,o[l]=e,--s||n(o))}),a)})),--s||n(o)}));return o.error&&a(o.value),r.promise},race:function(e){var t=this,r=G(t),n=r.reject,a=A((function(){var a=y(t.resolve);S(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),o=r(9788);n({target:"String",proto:!0,forced:!r(2373)("includes")},{includes:function(e){return!!~String(o(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),o=r(4884),i="String Iterator",s=a.set,l=a.getterFor(i);o(String,"String",(function(e){s(this,{type:i,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),o=r(4498).f,i=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=o(String.prototype,"startsWith"),!n||n.writable))&&!m},{startsWith:function(e){var t=String(l(this));s(e);var r=i(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),o=r(129),i=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),S=r(1655),w=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",j="prototype",z=k("toPrimitive"),H=L.set,$=L.getterFor(V),q=Object[j],W=a.Symbol,G=o("JSON","stringify"),Y=C.f,K=I.f,Z=w.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[j]||!ne[j].findChild,oe=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,ie=function(e,t){var r=X[e]=b(W[j]);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),oe(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),oe(this,t,y(1,e))};return s&&ae&&oe(q,t,{configurable:!0,set:r}),ie(t,e)})[j],"toString",(function(){return $(this).tag})),T(W,"withoutSetter",(function(e){return ie(O(e),e)})),N.f=ce,I.f=le,C.f=de,S.f=w.f=fe,M.f=me,P.f=function(e){return ie(k(e),e)},s&&(K(W[j],"description",{configurable:!0,get:function(){return $(this).description}}),i||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],o=1;arguments.length>o;)a.push(arguments[o++]);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[j][z]||D(W[j],z,W[j].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),o=r(1668);n({target:"Promise",stat:!0},{try:function(e){var t=a.f(this),r=o(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),o=r(6262),i=r(7642),s=r(5446),l=r(3374)("toStringTag");for(var u in n){var c=a[u],d=c&&c.prototype;d&&o(d)!==l&&i(d,l,u),s[u]=s.Array}},1614:(e,t,r)=>{var n=r(1427),a=r(100),o=r(5095),i=[].slice,s=function(e){return function(t,r){var n=arguments.length>2,a=n?i.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(o)},{setTimeout:s(a.setTimeout),setInterval:s(a.setInterval)})},8122:(e,t,r)=>{"use strict";r(2610);var n=r(1427),a=r(129),o=r(3694),i=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),S=r(3374),w=a("fetch"),M=a("Headers"),C=S("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("&"),o=0;o<a.length;)(r=a[o++]).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)},j=function(e,t){if(e<t)throw TypeError("Not enough arguments")},z=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,o,i,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((i=(o=(a=b(h(n.value))).next).call(a)).done||(s=o.call(a)).done||!o.call(a).done)throw TypeError("Expected sequence with length 2");c.push({key:i.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){j(arguments.length,2);var r=T(this);r.entries.push({key:e+"",value:t+""}),r.updateURL()},delete:function(e){j(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){j(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){j(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){j(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){j(arguments.length,1);for(var r,n=T(this),a=n.entries,o=!1,i=e+"",s=t+"",l=0;l<a.length;l++)(r=a[l]).key===i&&(o?a.splice(l--,1):(o=!0,r.value=s));o||a.push({key:i,value:s}),n.updateURL()},sort:function(){var e,t,r,n=T(this),a=n.entries,o=a.slice();for(a.length=0,r=0;r<o.length;r++){for(e=o[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 z(this,"keys")},values:function(){return new z(this,"values")},entries:function(){return new z(this,"entries")}},{enumerable:!0}),i($,C,$.entries),i($,"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:!o},{URLSearchParams:H}),o||"function"!=typeof w||"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)),w.apply(this,a)}}),e.exports={URLSearchParams:H,getState:T}},668:(e,t,r)=>{"use strict";r(9773);var n,a=r(1427),o=r(9932),i=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,S=v.getState,w=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=z(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=j(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}},j=function(e){var t,r,n,a,o,i,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(o=10,a.length>1&&"0"==a.charAt(0)&&(o=O.test(a)?16:8,a=a.slice(8==o?1:2)),""===a)i=0;else{if(!(10==o?P:8==o?k:R).test(a))return e;i=parseInt(a,o)}r.push(i)}for(n=0;n<t;n++)if(i=r[n],n==t-1){if(i>=I(256,5-t))return null}else if(i>255)return null;for(s=r.pop(),n=0;n<r.length;n++)s+=r[n]*I(256,3-n);return s},z=function(e){var t,r,n,a,o,i,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(o=parseInt(f(),10),null===a)a=o;else{if(0==a)return;a=10*a+o}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(i=u-c,u=7;0!=u&&i>0;)s=l[u],l[u--]=l[c+i-1],l[c+--i]=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,o=0;o<8;o++)0!==e[o]?(a>r&&(t=n,r=a),n=null,a=0):(null===n&&(n=o),++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={},oe={},ie={},se={},le={},ue={},ce={},de={},fe={},me={},pe={},he={},ge={},ve={},ye={},be={},Ee={},Se={},we={},Me={},Ce=function(e,t,r,a){var o,i,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,""),o=m(t);f<=o.length;){switch(i=o[f],c){case ne:if(!i||!A.test(i)){if(r)return N;c=oe;continue}p+=i.toLowerCase(),c=ae;break;case ae:if(i&&(x.test(i)||"+"==i||"-"==i||"."==i))p+=i.toLowerCase();else{if(":"!=i){if(r)return N;p="",c=oe,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=ie:Z(e)?c=ce:"/"==o[f+1]?(c=se,f++):(e.cannotBeABaseURL=!0,e.path.push(""),c=Se)}break;case oe:if(!a||a.cannotBeABaseURL&&"#"!=i)return N;if(a.cannotBeABaseURL&&"#"==i){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 ie:if("/"!=i||"/"!=o[f+1]){c=le;continue}c=de,f++;break;case se:if("/"==i){c=fe;break}c=Ee;continue;case le:if(e.scheme=a.scheme,i==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("/"==i||"\\"==i&&Z(e))c=ue;else if("?"==i)e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query="",c=we;else{if("#"!=i){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)||"/"!=i&&"\\"!=i){if("/"!=i){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,"/"!=i||"/"!=p.charAt(f+1))continue;f++;break;case de:if("/"!=i&&"\\"!=i){c=fe;continue}break;case fe:if("@"==i){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(i==n||"/"==i||"?"==i||"#"==i||"\\"==i&&Z(e)){if(h&&""==p)return"Invalid authority";f-=m(p).length+1,p="",c=me}else p+=i;break;case me:case pe:if(r&&"file"==e.scheme){c=ye;continue}if(":"!=i||g){if(i==n||"/"==i||"?"==i||"#"==i||"\\"==i&&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}"["==i?g=!0:"]"==i&&(g=!1),p+=i}else{if(""==p)return D;if(l=V(e,p))return l;if(p="",c=he,r==pe)return}break;case he:if(!_.test(i)){if(i==n||"/"==i||"?"==i||"#"==i||"\\"==i&&Z(e)||r){if(""!=p){var S=parseInt(p,10);if(S>65535)return T;e.port=Z(e)&&S===K[e.scheme]?null:S,p=""}if(r)return;c=be;continue}return T}p+=i;break;case ge:if(e.scheme="file","/"==i||"\\"==i)c=ve;else{if(!a||"file"!=a.scheme){c=Ee;continue}if(i==n)e.host=a.host,e.path=a.path.slice(),e.query=a.query;else if("?"==i)e.host=a.host,e.path=a.path.slice(),e.query="",c=we;else{if("#"!=i){ee(o.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("/"==i||"\\"==i){c=ye;break}a&&"file"==a.scheme&&!ee(o.slice(f).join(""))&&(Q(a.path[0],!0)?e.path.push(a.path[0]):e.host=a.host),c=Ee;continue;case ye:if(i==n||"/"==i||"\\"==i||"?"==i||"#"==i){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+=i;break;case be:if(Z(e)){if(c=Ee,"/"!=i&&"\\"!=i)continue}else if(r||"?"!=i)if(r||"#"!=i){if(i!=n&&(c=Ee,"/"!=i))continue}else e.fragment="",c=Me;else e.query="",c=we;break;case Ee:if(i==n||"/"==i||"\\"==i&&Z(e)||!r&&("?"==i||"#"==i)){if(".."===(u=(u=p).toLowerCase())||"%2e."===u||".%2e"===u||"%2e%2e"===u?(te(e),"/"==i||"\\"==i&&Z(e)||e.path.push("")):re(p)?"/"==i||"\\"==i&&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&&(i==n||"?"==i||"#"==i))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==i?(e.query="",c=we):"#"==i&&(e.fragment="",c=Me)}else p+=Y(i,W);break;case Se:"?"==i?(e.query="",c=we):"#"==i?(e.fragment="",c=Me):i!=n&&(e.path[0]+=Y(i,$));break;case we:r||"#"!=i?i!=n&&("'"==i&&Z(e)?e.query+="%27":e.query+="#"==i?"%23":Y(i,$)):(e.fragment="",c=Me);break;case Me:i!=n&&(e.fragment+=Y(i,q))}f++}},Ie=function(e){var t,r,n=c(this,Ie,"URL"),a=arguments.length>1?arguments[1]:void 0,i=String(e),s=w(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,i,null,t))throw TypeError(r);var l=s.searchParams=new E,u=S(l);u.updateSearchParams(s.query),u.updateURL=function(){s.query=String(l)||null},o||(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,o=e.port,i=e.path,s=e.query,l=e.fragment,u=t+":";return null!==a?(u+="//",J(e)&&(u+=r+(n?":"+n:"")+"@"),u+=H(a),null!==o&&(u+=":"+o)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?i[0]:i.length?"/"+i.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(o&&l(Ne,{href:Be(De,(function(e){var t=M(this),r=String(e),n=Ce(t,r);if(n)throw TypeError(n);S(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,we)),S(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,je=b.revokeObjectURL;Ve&&u(Ie,"createObjectURL",(function(e){return Ve.apply(b,arguments)})),je&&u(Ie,"revokeObjectURL",(function(e){return je.apply(b,arguments)}))}g(Ie,"URL"),a({global:!0,forced:!i,sham:!o},{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),o=Array.prototype,i={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.forEach;return e===o||e instanceof Array&&t===o.forEach||i.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),o=Array.prototype,i={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.keys;return e===o||e instanceof Array&&t===o.keys||i.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),o=Array.prototype,i={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.values;return e===o||e instanceof Array&&t===o.values||i.hasOwnProperty(a(e))?n:t}},2751:(e,t,r)=>{var n=r(8093);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,o,i,s;function l(){var u=Date.now()-i;u<t&&u>=0?n=setTimeout(l,t-u):(n=null,r||(s=e.apply(o,a),o=a=null))}null==t&&(t=100);var u=function(){o=this,a=arguments,i=Date.now();var u=r&&!n;return n||(n=setTimeout(l,t)),u&&(s=e.apply(o,a),o=a=null),s};return u.clear=function(){n&&(clearTimeout(n),n=null)},u.flush=function(){n&&(s=e.apply(o,a),o=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,o=0;for(;n;)r=parseInt(e.charAt(--n),10),a^=1,o+=a?t[r]:r;return o%10==0})},2983:function(e,t,r){var n,a;!function(o,i,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():i.exports?i.exports=s():i.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]]},o=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])},i=function(i,s){s=s||0;for(var l=(i=i||"").length%16,u=i.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&i.charCodeAt(g+4)|(255&i.charCodeAt(g+5))<<8|(255&i.charCodeAt(g+6))<<16|(255&i.charCodeAt(g+7))<<24,255&i.charCodeAt(g)|(255&i.charCodeAt(g+1))<<8|(255&i.charCodeAt(g+2))<<16|(255&i.charCodeAt(g+3))<<24],m=[255&i.charCodeAt(g+12)|(255&i.charCodeAt(g+13))<<8|(255&i.charCodeAt(g+14))<<16|(255&i.charCodeAt(g+15))<<24,255&i.charCodeAt(g+8)|(255&i.charCodeAt(g+9))<<8|(255&i.charCodeAt(g+10))<<16|(255&i.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,i.charCodeAt(g+14)],48));case 14:m=a(m,n([0,i.charCodeAt(g+13)],40));case 13:m=a(m,n([0,i.charCodeAt(g+12)],32));case 12:m=a(m,n([0,i.charCodeAt(g+11)],24));case 11:m=a(m,n([0,i.charCodeAt(g+10)],16));case 10:m=a(m,n([0,i.charCodeAt(g+9)],8));case 9:m=a(m,[0,i.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,i.charCodeAt(g+7)],56));case 7:f=a(f,n([0,i.charCodeAt(g+6)],48));case 6:f=a(f,n([0,i.charCodeAt(g+5)],40));case 5:f=a(f,n([0,i.charCodeAt(g+4)],32));case 4:f=a(f,n([0,i.charCodeAt(g+3)],24));case 3:f=a(f,n([0,i.charCodeAt(g+2)],16));case 2:f=a(f,n([0,i.charCodeAt(g+1)],8));case 1:f=a(f,[0,i.charCodeAt(g)]),f=t(f,p),f=r(f,31),f=t(f,h),c=a(c,f)}return c=a(c,[0,i.length]),d=a(d,[0,i.length]),c=e(c,d),d=e(d,c),c=o(c),d=o(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},S=function(e){return navigator.platform?navigator.platform:e.NOT_AVAILABLE},w=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 o=e.createProgram(),i=e.createShader(e.VERTEX_SHADER);e.shaderSource(i,"attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}"),e.compileShader(i);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(o,i),e.attachShader(o,s),e.linkProgram(o),e.useProgram(o),o.vertexPosAttrib=e.getAttribLocation(o,"attrVertex"),o.offsetUniform=e.getUniformLocation(o,"uniformOffset"),e.enableVertexAttribArray(o.vertexPosArray),e.vertexAttribPointer(o.vertexPosAttrib,n.itemSize,e.FLOAT,!1,0,0),e.uniform2f(o.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(o){var i=e.getShaderPrecisionFormat(e[n+"_SHADER"],e[a+"_"+t])[o];"precision"!==o&&(o="precision "+o);var s=["webgl ",n.toLowerCase()," shader ",a.toLowerCase()," ",t.toLowerCase()," ",o,":",i].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()},j=[{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(S(t))}},{key:"doNotTrack",getData:function(e,t){e(w(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],o=document.createElement("div"),i=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],o.appendChild(a),e.push(a)}return e}();a.appendChild(o);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 o=[],s=0,l=r.length;s<l;s++){var u=c(n[t],r[s]);i.appendChild(u),o.push(u)}e[n[t]]=o}return e}();a.appendChild(i);for(var g=[],v=0,y=n.length;v<y;v++)d(h[n[v]])&&g.push(n[v]);a.removeChild(i),a.removeChild(o),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),o=a.createOscillator();o.type="triangle",o.frequency.setValueAtTime(1e4,a.currentTime);var i=a.createDynamicsCompressor();l([["threshold",-50],["knee",40],["ratio",12],["reduction",-20],["attack",0],["release",.25]],(function(e){void 0!==i[e[0]]&&"function"==typeof i[e[0]].setValueAtTime&&i[e[0]].setValueAtTime(e[1],a.currentTime)})),o.connect(i),i.connect(a.destination),o.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(),o.disconnect(),i.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)}))}}],z=function(e){throw new Error("'new Fingerprint()' is deprecated, see https://github.com/fingerprintjs/fingerprintjs#upgrade-guide-from-182-to-200")};return z.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(j);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(o){if((n+=1)>=e.components.length)t(r.data);else{var i=e.components[n];if(e.excludes[i.key])a(!1);else{if(!o&&i.pauseBefore)return n-=1,void setTimeout((function(){a(!0)}),1);try{i.getData((function(e){r.addPreprocessedComponent(i.key,e),a(!1)}),e)}catch(e){r.addPreprocessedComponent(i.key,String(e)),a(!1)}}}};a(!1)},z.getPromise=function(e){return new Promise((function(t,r){z.get(e,t)}))},z.getV18=function(e,t){return null==t&&(t=e,e={}),z.get(e,(function(r){for(var n=[],a=0;a<r.length;a++){var o=r[a];if(o.value===(e.NOT_AVAILABLE||"not available"))n.push({key:o.key,value:"unknown"});else if("plugins"===o.key)n.push({key:"plugins",value:u(o.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(o.key)&&Array.isArray(o.value))n.push({key:o.key,value:o.value.join("~")});else if(-1!==["sessionStorage","localStorage","indexedDb","addBehavior","openDatabase"].indexOf(o.key)){if(!o.value)continue;n.push({key:o.key,value:1})}else o.value?n.push(o.value.join?{key:o.key,value:o.value.join(";")}:o):n.push({key:o.key,value:o.value})}var s=i(u(n,(function(e){return e.value})).join("~~~"),31);t(s,n)}))},z.x64hash128=i,z.VERSION="2.1.4",z}))},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||".",o=n.maxDepth,i=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+i(c):i(c);if(!f&&!p&&h&&Object.keys(d).length&&(!n.maxDepth||u<o))return e(d,g,u+1);s[g]=d}))}(e),s}e.exports=n,n.flatten=n,n.unflatten=function e(a,o){const i=(o=o||{}).delimiter||".",s=o.overwrite||!1,l=o.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(".")||o.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+i+n]=r[n],t}),t)}(t,e,n(a[t],o))}),{}),Object.keys(a).forEach((function(t){const r=t.split(i).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||o.object?{}:[]),f=f[n],r.length>0&&(n=c(r.shift()),d=c(r[0]))}f[n]=e(a[t],o)})),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},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?i:s[e.$$typeof]||a}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=i;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 i=c(r);d&&(i=i.concat(d(r)));for(var s=l(t),h=l(r),g=0;g<i.length;++g){var v=i[g];if(!(o[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,o,i;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)},o=function(){return!1},i=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,S=0;o=function(){return t.unstable_now()>=S},i=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 w=new MessageChannel,M=w.port2;w.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();S=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 o=2*(n+1)-1,i=e[o],s=o+1,l=e[s];if(void 0!==i&&0>D(i,r))void 0!==l&&0>D(l,i)?(e[n]=l,e[s]=r,n=s):(e[n]=i,e[o]=r,n=o);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 i=O;try{for(F(r),_=I(T);null!==_&&(!(_.expirationTime>r)||e&&!o());){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=i,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=i;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,o,i){var s=t.unstable_now();if("object"==typeof i&&null!==i){var l=i.delay;l="number"==typeof l&&0<l?s+l:s,i="number"==typeof i.timeout?i.timeout:B(e)}else i=B(e),l=s;return e={id:x++,callback:o,priorityLevel:e,startTime:l,expirationTime:i=l+i,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=i,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||o()},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:()=>{}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}};return a[e].call(r.exports,r,r.exports,i),r.exports}i.m=a,i.amdO={},i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.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);i.r(a);var o={};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=>o[e]=()=>r[e]));return o.default=()=>r,i.d(a,o),a},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,r)=>(i.f[r](e,t),t)),[])),i.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",i.miniCssF=e=>"sheerid.css",i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},n="sheerid:",i.l=(e,t,a,o)=>{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,i.nc&&s.setAttribute("nonce",i.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)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.p="",(()=>{var e={143:0};i.f.j=(t,r)=>{var n=i.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 o=i.p+i.u(t),s=new Error;i.l(o,(r=>{if(i.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var a=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+a+": "+o+")",s.name="ChunkLoadError",s.type=a,s.request=o,n[1](s)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,a,[o,s,l]=r,u=0;if(o.some((t=>0!==e[t]))){for(n in s)i.o(s,n)&&(i.m[n]=s[n]);if(l)l(i)}for(t&&t(r);u<o.length;u++)a=o[u],i.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";i.r(s),i.d(s,{VerificationForm:()=>jg,overrideComponent:()=>Uc,resetOptions:()=>Mn,resetOverriddenComponents:()=>Bc,setOptions:()=>Cn});var e=i(8818),t=i.n(e),r=i(3567),n=i.n(r),a=i(7917),o=i.n(a),l=i(3029),u=i.n(l),c=i(9154),d=i.n(c),f=i(6500),m=i.n(f),p=i(3537),h=i.n(p),g=i(944),v=i.n(g),y=i(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,S={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(S.arrayBuffer)var w=["[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&&w.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 S.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:S.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:S.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:S.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():S.arrayBuffer&&S.blob&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=_(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):S.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):S.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},S.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)},S.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)},S.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 o=/([?&])_=[^&]*/;if(o.test(this.url))this.url=this.url.replace(o,"$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 o=new XMLHttpRequest;function i(){o.abort()}o.onload=function(){var e,t,n={status:o.status,statusText:o.statusText,headers:(e=o.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 o?o.responseURL:n.headers.get("X-Request-URL");var a="response"in o?o.response:o.responseText;setTimeout((function(){r(new F(a,n))}),0)},o.onerror=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},o.onabort=function(){setTimeout((function(){n(new U("Aborted","AbortError"))}),0)},o.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?o.withCredentials=!0:"omit"===a.credentials&&(o.withCredentials=!1),"responseType"in o&&(S.blob?o.responseType="blob":S.arrayBuffer&&a.headers.get("Content-Type")&&-1!==a.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof D?a.headers.forEach((function(e,t){o.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){o.setRequestHeader(e,I(t.headers[e]))})),a.signal&&(a.signal.addEventListener("abort",i),o.onreadystatechange=function(){4===o.readyState&&a.signal.removeEventListener("abort",i)}),o.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=i(8675);i.n(V)()(Object)||(Object.values=function(e){const t=[];for(const r in e)e.hasOwnProperty(r)&&t.push(e[r]);return t});var j=i(8903),z=i.n(j);!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),o=a&&a[1]||!1,i=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(o===s)u=e.documentElement.outerHTML,c=new RegExp(`(?:[^\\n]+?\\n){0,${i-2}}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*`,"i"),d=z()(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===o)return l[f];if(o===s&&l[f].innerHTML&&z()(r=l[f].innerHTML).call(r)===d)return l[f]}return null}}})}(document);var H=i(9910),$=i.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=i(6255),W=i(3059),G=i(3371),Y=i.n(G),K=i(3049),Z=i.n(K),J=i(1306),X=i.n(J),Q=i(210),ee=i.n(Q),te=i(2021),re=i.n(te),ne=i(3305),ae=i.n(ne);function oe(e){return ae()(e)}function ie(e,t){try{return e()}catch(e){return t}}function se(...e){const r=e=>e&&"object"==typeof e;function n(e,a){var o;return d()(o=t()(a)).call(o,(t=>{const o=e[t],i=a[t];X()(o)&&X()(i)?e[t]=ee()(o).call(o,i):r(o)&&r(i)?e[t]=n($()({},o),i):e[t]=i})),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 o;for(;o=e.shift();)n(a,o);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=ie((()=>e.verificationResponse.errorIds));n={errorMessageGroup:t,programId:ie((()=>e.programId)),isLoading:ie((()=>e.isLoading)),isErrored:ie((()=>e.isErrored)),errorIdsFromVerRsp:X()(r)?r.join:void 0,verificationId:ie((()=>e.verificationResponse.verificationId)),currentStep:ie((()=>e.verificationResponse.currentStep)),locale:ie((()=>e.programTheme.intl.locale)),isTestMode:ie((()=>e.programTheme.isTestMode)),openOrgSearchEnabled:ie((()=>e.programTheme.openOrgSearchEnabled)),jslibVerActual:ie((()=>window.sheerIdPubV),"?"),jslibVerRequested:ie((()=>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","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=o()(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 Se;!function(e){e.loading="loading",e.collect="collect"}(Se||(Se={}));const we=[...Y()(ve),...Y()(Se)];let Me,Ce;!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"}(Me||(Me={})),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"}(Ce||(Ce={}));const Ie=Y()(Ce);let Ne;!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"}(Ne||(Ne={}));Y()(Ne);const De={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"},Te=["Air Force Reserve","Air National Guard","Army Reserve","Army National Guard","Coast Guard Reserve","Marine Corps Forces Reserve","Navy Reserve"],Ae={FIREFIGHTER:"Firefighter",POLICE:"Police",EMT:"EMT",SEARCH_AND_RESCUE:"Search and Rescue"},xe={NURSE:"Nurse",DOCTOR:"Doctor",OTHER_HEALTH_WORKER:"Other Health Worker",DENTIST:"Dentist",PHARMACIST:"Pharmacist"};Y()(De),Y()(Ae),Y()(xe),Y()({HOME_BUYER:"Home Buyer",OTHER_MOVER:"Other Mover"}),Y()({SNAP_BENEFITS:"Snap Benefits Recipient",OTHER_GOVERNMENT_ASSISTANCE:"Other Government Assistance Recipient"});let _e;!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"}(_e||(_e={}));const Oe=Y()(_e);let ke;!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"}(ke||(ke={}));const Pe=Y()(ke);let Re;!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"}(Re||(Re={}));var Fe=i(7116),Le=i.n(Fe),Ue=i(8314),Be=i.n(Ue),Ve=i(1962),je=i.n(Ve),ze=i(914),He=i.n(ze),$e=i(2971),qe=i.n($e),We=i(5958),Ge=i.n(We);function Ye(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 Ke=function(e,t){return void 0===t&&(t={}),function(){for(var r,n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var o=Ye(n),i=o&&t[o];return i||(i=new((r=e).bind.apply(r,[void 0].concat(n))),o&&(t[o]=i)),i}};var Ze={locale:"en",pluralRuleFunction:function(e,t){var r=String(e).split("."),n=!r[1],a=Number(r[0])==e,o=a&&r[0].slice(-1),i=a&&r[0].slice(-2);return t?1==o&&11!=i?"one":2==o&&12!=i?"two":3==o&&13!=i?"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 Je(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];(Array.isArray(e)?e:[e]).forEach((function(e){e&&e.locale&&(Be().__addLocaleData(e),je().__addLocaleData(e))}))}function Xe(e){var t=e&&e.toLowerCase();return!(!Be().__localeData__[t]||!je().__localeData__[t])}var Qe="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},et=(function(){function e(e){this.value=e}function t(t){var r,n;function a(r,n){try{var i=t[r](n),s=i.value;s instanceof e?Promise.resolve(s.value).then((function(e){a("next",e)}),(function(e){a("throw",e)})):o(i.done?"return":"normal",i.value)}catch(e){o("throw",e)}}function o(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(o,i){var s={key:e,arg:t,resolve:o,reject:i,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")}),tt=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}}(),rt=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},nt=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)},at=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)},it=He().bool,st=He().number,lt=He().string,ut=He().func,ct=He().object,dt=He().oneOf,ft=He().shape,mt=He().any,pt=He().oneOfType,ht=dt(["best fit","lookup"]),gt=dt(["narrow","short","long"]),vt=dt(["numeric","2-digit"]),yt=ut.isRequired,bt={locale:lt,timeZone:lt,formats:ct,messages:ct,textComponent:mt,defaultLocale:lt,defaultFormats:ct,onError:ut},Et={formatDate:yt,formatTime:yt,formatRelative:yt,formatNumber:yt,formatPlural:yt,formatMessage:yt,formatHTMLMessage:yt},St=ft(rt({},bt,Et,{formatters:ct,now:yt})),wt=(lt.isRequired,pt([lt,ct]),{localeMatcher:ht,formatMatcher:dt(["basic","best fit"]),timeZone:lt,hour12:it,weekday:gt,era:gt,year:vt,month:dt(["numeric","2-digit","narrow","short","long"]),day:vt,hour:vt,minute:vt,second:vt,timeZoneName:dt(["short","long"])}),Mt={localeMatcher:ht,style:dt(["decimal","currency","percent"]),currency:lt,currencyDisplay:dt(["symbol","code","name"]),useGrouping:it,minimumIntegerDigits:st,minimumFractionDigits:st,maximumFractionDigits:st,minimumSignificantDigits:st,maximumSignificantDigits:st},Ct={style:dt(["best fit","numeric"]),units:dt(["second","minute","hour","day","month","year","second-short","minute-short","hour-short","day-short","month-short","year-short"])},It={style:dt(["cardinal","ordinal"])},Nt=Object.keys(bt),Dt={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},Tt=/[&><"']/g;function At(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 xt(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).intl;Ge()(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}function _t(e,t){if(e===t)return!0;if("object"!==(void 0===e?"undefined":Qe(e))||null===e||"object"!==(void 0===t?"undefined":Qe(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),o=0;o<r.length;o++)if(!a(r[o])||e[r[o]]!==t[r[o]])return!1;return!0}function Ot(e,t,r){var n=e.props,a=e.state,o=e.context,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=(void 0===o?{}:o).intl,l=void 0===s?{}:s,u=i.intl,c=void 0===u?{}:u;return!_t(t,n)||!_t(r,a)||!(c===l||_t(At(c,Nt),At(l,Nt)))}function kt(e,t){return"[React Intl] "+e+(t?"\n"+t:"")}function Pt(e){0}function Rt(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.intlPropName,a=void 0===n?"intl":n,o=r.withRef,i=void 0!==o&&o,s=function(t){function r(e,t){et(this,r);var n=at(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e,t));return xt(t),n}return nt(r,t),tt(r,[{key:"getWrappedInstance",value:function(){return Ge()(i,"[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,o=this;return q.createElement(e,rt({},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:i?function(e){return o._wrappedInstance=e}:null}))}}]),r}(q.Component);return s.displayName="InjectIntl("+(((t=e).displayName||t.name||"Component")+")"),s.contextTypes={intl:St},s.WrappedComponent=e,qe()(s,e)}var Ft=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};et(this,e);var n,a="ordinal"===r.style,o=(n=function(e){return Be().prototype._resolveLocale(e)}(t),Be().prototype._findPluralRuleFunction(n));this.format=function(e){return o(e,a)}},Lt=Object.keys(wt),Ut=Object.keys(Mt),Bt=Object.keys(Ct),Vt=Object.keys(It),jt={second:60,minute:60,hour:24,day:30,month:12};function zt(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 Ht(e,t,r,n){var a=e&&e[t]&&e[t][r];if(a)return a;n(kt("No "+t+" format named: "+r))}function $t(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,o=e.formats,i=e.messages,s=e.defaultLocale,l=e.defaultFormats,u=r.id,c=r.defaultMessage;Ge()(u,"[React Intl] An `id` must be provided to format a message.");var d=i&&i[u];if(!(Object.keys(n).length>0))return d||c||u;var f=void 0,m=e.onError||Pt;if(d)try{f=t.getMessageFormat(d,a,o).format(n)}catch(e){m(kt('Error formatting message: "'+u+'" for locale: "'+a+'"'+(c?", using default message as fallback.":""),e))}else(!c||a&&a.toLowerCase()!==s.toLowerCase())&&m(kt('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(kt('Error formatting the default message for: "'+u+'"',e))}return f||m(kt('Cannot format message: "'+u+'", using message '+(d||c?"source":"id")+" as fallback.")),f||d||c||u}var qt=Object.freeze({formatDate:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,o=e.formats,i=e.timeZone,s=n.format,l=e.onError||Pt,u=new Date(r),c=rt({},i&&{timeZone:i},s&&Ht(o,"date",s,l)),d=At(n,Lt,c);try{return t.getDateTimeFormat(a,d).format(u)}catch(e){l(kt("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,o=e.formats,i=e.timeZone,s=n.format,l=e.onError||Pt,u=new Date(r),c=rt({},i&&{timeZone:i},s&&Ht(o,"time",s,l)),d=At(n,Lt,c);d.hour||d.minute||d.second||(d=rt({},d,{hour:"numeric",minute:"numeric"}));try{return t.getDateTimeFormat(a,d).format(u)}catch(e){l(kt("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,o=e.formats,i=n.format,s=e.onError||Pt,l=new Date(r),u=new Date(n.now),c=i&&Ht(o,"relative",i,s),d=At(n,Bt,c),f=rt({},je().thresholds);zt(jt);try{return t.getRelativeFormat(a,d).format(l,{now:isFinite(u)?u:t.now()})}catch(e){s(kt("Error formatting relative time.",e))}finally{zt(f)}return String(l)},formatNumber:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,o=e.formats,i=n.format,s=e.onError||Pt,l=i&&Ht(o,"number",i,s),u=At(n,Ut,l);try{return t.getNumberFormat(a,u).format(r)}catch(e){s(kt("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,o=At(n,Vt),i=e.onError||Pt;try{return t.getPluralFormat(a,o).format(r)}catch(e){i(kt("Error formatting plural.",e))}return"other"},formatMessage:$t,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(Tt,(function(e){return Dt[e]})):r,e}),{});return $t(e,t,r,a)}}),Wt=Object.keys(bt),Gt=Object.keys(Et),Yt={formats:{},messages:{},timeZone:null,textComponent:"span",defaultLocale:"en",defaultFormats:{},onError:Pt},Kt=function(e){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));Ge()("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,o=void 0;o=isFinite(e.initialNow)?Number(e.initialNow):a?a.now():Date.now();var i=(a||{}).formatters,s=void 0===i?{getDateTimeFormat:Ke(Intl.DateTimeFormat),getNumberFormat:Ke(Intl.NumberFormat),getMessageFormat:Ke(Be()),getRelativeFormat:Ke(je()),getPluralFormat:Ke(Ft)}:i;return n.state=rt({},s,{now:function(){return n._didDisplay?Date.now():o}}),n}return nt(t,e),tt(t,[{key:"getConfig",value:function(){var e=this.context.intl,t=At(this.props,Wt,e);for(var r in Yt)void 0===t[r]&&(t[r]=Yt[r]);if(!function(e){for(var t=(e||"").split("-");t.length>0;){if(Xe(t.join("-")))return!0;t.pop()}return!1}(t.locale)){var n=t,a=n.locale,o=n.defaultLocale,i=n.defaultFormats;(0,n.onError)(kt('Missing locale data for locale: "'+a+'". Using default locale: "'+o+'" as fallback.')),t=rt({},t,{locale:o,formats:i,messages:Yt.messages})}return t}},{key:"getBoundFormatFns",value:function(e,t){return Gt.reduce((function(r,n){return r[n]=qt[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:rt({},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 Ot.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);Kt.displayName="IntlProvider",Kt.contextTypes={intl:St},Kt.childContextTypes={intl:St.isRequired};var Zt=function(e){function t(e,r){et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return xt(r),n}return nt(t,e),tt(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ot.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,o=n.children,i=t(a,this.props);return"function"==typeof o?o(i):q.createElement(r,null,i)}}]),t}(q.Component);Zt.displayName="FormattedDate",Zt.contextTypes={intl:St};var Jt=function(e){function t(e,r){et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return xt(r),n}return nt(t,e),tt(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ot.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,o=n.children,i=t(a,this.props);return"function"==typeof o?o(i):q.createElement(r,null,i)}}]),t}(q.Component);Jt.displayName="FormattedTime",Jt.contextTypes={intl:St};var Xt=36e5,Qt=864e5;var er=function(e){function t(e,r){et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));xt(r);var a=isFinite(e.initialNow)?Number(e.initialNow):r.intl.now();return n.state={now:a},n}return nt(t,e),tt(t,[{key:"scheduleNextUpdate",value:function(e,t){var r=this;clearTimeout(this._timer);var n=e.value,a=e.units,o=e.updateInterval,i=new Date(n).getTime();if(o&&isFinite(i)){var s=i-t.now,l=function(e){switch(e){case"second":return 1e3;case"minute":return 6e4;case"hour":return Xt;case"day":return Qt;default:return 2147483647}}(a||function(e){var t=Math.abs(e);return t<6e4?"second":t<Xt?"minute":t<Qt?"hour":"day"}(s)),u=Math.abs(s%l),c=s<0?Math.max(o,l-u):Math.max(o,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 Ot.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,o=n.children,i=t(a,rt({},this.props,this.state));return"function"==typeof o?o(i):q.createElement(r,null,i)}}]),t}(q.Component);er.displayName="FormattedRelative",er.contextTypes={intl:St},er.defaultProps={updateInterval:1e4};var tr=function(e){function t(e,r){et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return xt(r),n}return nt(t,e),tt(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ot.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,o=n.children,i=t(a,this.props);return"function"==typeof o?o(i):q.createElement(r,null,i)}}]),t}(q.Component);tr.displayName="FormattedNumber",tr.contextTypes={intl:St};var rr=function(e){function t(e,r){et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return xt(r),n}return nt(t,e),tt(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ot.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,o=n.other,i=n.children,s=t(a,this.props),l=this.props[s]||o;return"function"==typeof i?i(l):q.createElement(r,null,l)}}]),t}(q.Component);rr.displayName="FormattedPlural",rr.contextTypes={intl:St},rr.defaultProps={style:"cardinal"};var nr=function(e,t){return $t({},{getMessageFormat:Ke(Be())},e,t)},ar=function(e){function t(e,r){et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return e.defaultMessage||xt(r),n}return nt(t,e),tt(t,[{key:"shouldComponentUpdate",value:function(e){var t=this.props.values;if(!_t(e.values,t))return!0;for(var r=rt({},e,{values:t}),n=arguments.length,a=Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];return Ot.apply(void 0,[this,r].concat(a))}},{key:"render",value:function(){var e,t=this.context.intl||{},r=t.formatMessage,n=void 0===r?nr:r,a=t.textComponent,o=void 0===a?"span":a,i=this.props,s=i.id,l=i.description,u=i.defaultMessage,c=i.values,d=i.tagName,f=void 0===d?o:d,m=i.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);ar.displayName="FormattedMessage",ar.contextTypes={intl:St},ar.defaultProps={values:{}};var or=function(e){function t(e,r){et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return xt(r),n}return nt(t,e),tt(t,[{key:"shouldComponentUpdate",value:function(e){var t=this.props.values;if(!_t(e.values,t))return!0;for(var r=rt({},e,{values:t}),n=arguments.length,a=Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];return Ot.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,o=n.description,i=n.defaultMessage,s=n.values,l=n.tagName,u=void 0===l?r:l,c=n.children,d=t({id:a,description:o,defaultMessage:i},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:{}},Je(Ze),Je(Le());var ir=i(7166),sr=i.n(ir),lr=i(2665),ur=i.n(lr),cr=i(2409),dr=i.n(cr);class fr extends q.Component{constructor(e){var t;super(e),b(this,"notificationTimeout",void 0),b(this,"timeoutRef",void 0),this.doCopy=sr()(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;dr()(e),this.setState((()=>({isShowing:!0}))),clearTimeout(this.timeoutRef),this.timeoutRef=ur()((()=>{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 mr=i(2334);function pr(e,t,r,n,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void r(e)}s.done?t(l):mr.resolve(l).then(n,a)}function hr(e){return function(){var t=this,r=arguments;return new mr((function(n,a){var o=e.apply(t,r);function i(e){pr(o,n,a,i,s,"next",e)}function s(e){pr(o,n,a,i,s,"throw",e)}i(void 0)}))}}var gr=i(9683),vr=i.n(gr),yr=i(9469),br=i.n(yr),Er=i(2486),Sr=i.n(Er),wr=i(7475),Mr=i.n(wr),Cr=i(6534),Ir=i.n(Cr),Nr=i(3944),Dr=i.n(Nr);const Tr=e=>e.replace(/\/?$/,"/"),Ar=e=>{var t;const r=new(br())(e||window.location.toString());return new(Sr())(Dr()(t=r.search).call(t,1))},xr=(e,t)=>Ar(t).get(e),_r=e=>{const t=new(Sr())(e).get("verificationId");return"string"==typeof t&&0===t.length?null:t};var Or=i(6426),kr=i.n(Or),Pr=i(8520),Rr=i.n(Pr);let Fr={},Lr=[];const Ur=(e,t)=>{he.log(`customValidator registering \n${t}\n for custom field '${e}'`),Fr[e]=t,Lr.push(e)},Br=e=>Fr[e]?(he.log(`getCustomValidator returning '${e}'`),Fr[e]):(he.error(`Custom validator for field '${e}' does not exist.\n Has a custom validator been registered using the setCustomValidator method?`,"getCustomValidator"),null),Vr=e=>kr()(Lr).call(Lr,e)>-1,jr=()=>Lr,zr=e=>{if(kr()(ye).call(ye,e)<0)throw new Error(`Expected valid verification step name but received "${e}".`)},Hr=e=>{if(kr()(we).call(we,e)<0)throw new Error(`Expected valid verification step name but received "${e}".`)},$r=e=>{if(kr()(Ie).call(Ie,e)<0)throw new Error(`Expected valid segment name but received "${e}".`)},qr=e=>{if(!Wr(e))throw new Error(`Invalid locale ${e}, expected one of ${ge.join(", ")}`)},Wr=e=>kr()(ge).call(ge,e)>-1,Gr=e=>{if(!e||e.nodeType!==Node.ELEMENT_NODE)throw new Error(`Expected argument of type Node.ELEMENT_NODE but received "${typeof e} ${e.nodeType}"`)},Yr=e=>{Qr(e)},Kr=e=>{if(kr()(Pe).call(Pe,e)<0)throw new Error(`Expected valid hook name but received ${e}. Valid HookNames are [${Pe.join(", ")}]`)},Zr=e=>{if("function"!=typeof e)throw new Error('Expected type "function", but received '+typeof e)},Jr=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.")},Xr=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.')},Qr=e=>{if(!new RegExp("^[0-9a-fA-F]{24}$").test(e))throw new Error(`Invalid databaseId "${e}". Expected a 24-digit hexadecimal string.`)},en="en-US",tn=["image/png","image/gif","image/jpg","image/jpeg","image/bmp","application/pdf"],rn="mockStep",nn="mockSegment",an="mockSubSegment",on="mockErrorId",sn="mockRewardCode",ln="mockRedirectUrl",un="mockDocSelected",cn="mockPreviousStep",dn="installPageUrl",fn="installType",mn={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="},pn="SheerID Verification Form",hn={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"},gn=620,vn=300;function yn(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function bn(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=yn(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=yn(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const En={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=bn({},En);const wn=()=>Sn,Mn=()=>{Sn=bn({},En)},Cn=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=Tr(e.restApi.serviceUrl);Sn.restApi.serviceUrl=t,he.info(`option "serviceUrl" set to ${Sn.restApi.serviceUrl}`)}}var r;e.hasOwnProperty(rn)&&(Hr(e[rn]),Sn[rn]=e[rn],he.info(`option "${rn}" set to ${Sn[rn]}`)),e.hasOwnProperty(cn)&&(Hr(e[rn]),Sn[cn]=e[cn],he.info(`option "${cn}" set to ${Sn[cn]}`)),e.hasOwnProperty(nn)&&(Sn[nn]=e[nn],he.info(`option "${nn}" set to ${Sn[nn]}`)),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(dn)&&(Sn[dn]=e[dn],he.info(`option "${dn}" set to ${Sn[dn]}`)),e.hasOwnProperty(un)&&(Sn[un]=e[un],he.info(`option "${un}" set to ${Sn[un]}`)),e.hasOwnProperty("mockResponse")&&(Sn.mockResponse=oe(e.mockResponse),he.info('option "mockResponse" set to',Sn.mockResponse)),e.hasOwnProperty("messages")&&(Sn.messagesWithLocale=bn(bn({},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")&&(qr(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=bn(bn({},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")||xr("hideTestModeFlag"))&&(Sn.hideTestModeFlag=e.hideTestModeFlag||"true"===xr("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 In=i(8505),Nn=i.n(In);const Dn=class{constructor(e){b(this,"url",void 0),b(this,"start",void 0),this.url=e,this.start=Nn()()}logNow(){let e;return window.NREUM?(e={api_call:this.url,api_response_time:Nn()()-this.start},window.NREUM.addPageAction("API-calls-timing",e)):he.warn("Off-site logging not available."),e}};function Tn(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function An(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Tn(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Tn(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const xn={Accept:"application/json","Content-Type":"application/json"},_n={"Content-Type":"application/json"},On=(e,t={})=>{const r=wn().httpRequestTimeout;return new(vr())(((n,a)=>{const o=ur()((()=>{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(o)}))}))},kn=function(){var e=hr((function*(e,t){let r;try{r=yield e.json()}catch(e){r=vr().resolve({})}finally{t.logNow(),he.info("Response received",r)}return r}));return function(t,r){return e.apply(this,arguments)}}(),Pn=function(){var e=hr((function*(e,t,r={}){const n=new Dn(e),a=yield On(e,{headers:An(An({},xn),r),method:"POST",body:Ir()(t)});return kn(a,n)}));return function(t,r){return e.apply(this,arguments)}}(),Rn=function(){var e=hr((function*(e,t=xn){const r=new Dn(e),n=yield On(e,{headers:t,method:"DELETE"});return kn(n,r)}));return function(t){return e.apply(this,arguments)}}(),Fn=function(){var e=hr((function*(e,t=xn){const r=new Dn(e),n=yield On(e,{headers:t,method:"GET"});return kn(n,r)}));return function(t){return e.apply(this,arguments)}}(),Ln=function(){var e=hr((function*(e,t=xn){return On(e,{headers:t,method:"GET"})}));return function(t){return e.apply(this,arguments)}}(),Un=e=>{var t;return Mr()(t=o()(e).call(e,(e=>!!e))).call(t,(e=>({fileName:e.name,mimeType:e.type,fileSize:e.size})))},Bn=function(){var e=hr((function*(e,t,r=_n){const n=new Dn(e);he.info(`PostFiles posting to ${e}`,t);const a=Ir()({files:Un(t)}),o=yield fetch(e,{headers:r,method:"POST",body:a}),i=yield o.json(),s=ie((()=>i.documents)),l=ie((()=>i.submissionUrl));if(s&&l){yield vr().all(Mr()(s).call(s,((e,r)=>fetch(e.uploadUrl,{method:"PUT",body:t[r]}))));const e=yield fetch(l,{headers:r,method:"POST"});return kn(e,n)}return i}));return function(t,r){return e.apply(this,arguments)}}();var Vn=i(3106),jn=i.n(Vn);const zn=()=>`${wn().restApi.serviceUrl}${wn().restApi.resources.verification}`,Hn=e=>`${zn()}${e}`,$n=()=>zn(),qn=(e,t=null)=>{const r=`${wn().restApi.serviceUrl}${wn().restApi.resources.program.base}${e}/${wn().restApi.resources.program.theme}`;return t?`${r}?locale=${t}`:`${r}`},Wn=()=>`${wn().restApi.serviceUrl}rest/v2/organization/addSchool/`,Gn=e=>`${wn().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`,Yn=e=>`${wn().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`,Kn=(e,t)=>`${wn().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`,Zn=()=>window.sheerIdPubV,Jn=()=>document.location.href,Xn=()=>{try{const e=new(Sr())(window.location.search);if(e.get(dn))return decodeURIComponent(e.get(dn));if(wn()[dn])return wn()[dn]}catch(e){he.error(e)}return Jn()};var Qn;!function(e){e.landingPage="landing_page",e.cdnNoIframe="cdn_no_iframe"}(Qn||(Qn={}));const ea=()=>{try{const e=new(Sr())(window.location.search);if(e.get(fn))return decodeURIComponent(e.get(fn));if("landing"===e.get("layout"))return Qn.landingPage}catch(e){he.error(e)}return window.sheerIdInstallType||Qn.cdnNoIframe},ta=()=>{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?"))),Tr((t=e,r=Zn(),Tr(r?t.replace(/@(?!sheerid)[^/]*/gi,`@${r}`):t)));var t,r},ra="country",na="name";function aa(e,t,r,n){return oa.apply(this,arguments)}function oa(){return oa=hr((function*(e,t,r,n){if(!e)return vr().resolve([]);const a=new(br())(e),{origin:o,pathname:i,search:s}=a,l=new(Sr())(s);l.set(na,t),r&&l.set(ra,r),n&&l.set("tags",n);return function(e){return ia.apply(this,arguments)}(`${o}${i}?${l.toString()}`)})),oa.apply(this,arguments)}function ia(){return ia=hr((function*(e){try{const t=yield Fn(e);return Mr()(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")}})),ia.apply(this,arguments)}const sa=function(){var e=hr((function*(e){const t=new Dn(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=vr().resolve({})}finally{t.logNow(),he.info("Response received",n)}return n}));return function(t){return e.apply(this,arguments)}}();function la(){return(la=hr((function*(e){return yield Pn(Wn(),e)}))).apply(this,arguments)}const ua=function(){var e=hr((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{ca(r,!0),yield function(e){return la.apply(this,arguments)}(a).then((()=>{ca(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)}}(),ca=(e,t)=>{e({type:"SET_LOADING",payload:t})},da=({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(fr,{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 fa=i(6905),ma=i.n(fa),pa=i(6954),ha=i.n(pa);var ga=i(6569),va=i.n(ga),ya=i(9602),ba=i.n(ya);const Ea=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":"University / College name","defaultMessages.schoolNamePlaceholder":"University / College name","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.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.cancel":"Upload documents","defaultMessages.step.sso.login":"Sign in to my school","defaultMessages.step.sso.subtitle":"Please sign in to your school\'s web portal. It will open in a new tab.","defaultMessages.step.sso.subtitle2":"Can\'t sign in to your email?","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":"\\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 ","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.\\n <br><br>\\n 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":"\\n To be eligible for this offer, you must be of a certain age.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify your age. SheerID only collects information that assists in\\n 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.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.\\n <br><br>\\n 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.\\n <br><br>\\n {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.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.\\n <br><br>\\n 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":"\\n This offer is available to all US first responders and emergency personnel - including law enforcement,\\n EMTs, paramedics, and firefighters.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you are an active first responder. SheerID\\n 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.\\n <br><br>\\n 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":"\\n To be eligible for this offer, you must have a valid driver license.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify your identity. SheerID only collects information that assists in\\n 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.\\n <br><br>\\n 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":"\\n 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.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you are a licensed professional.\\n 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.emailExplanation":"","segmentMessages.lowIncome.postalCodeExplanation":"Use your home address","segmentMessages.lowIncome.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying your eligibility.\\n <br><br>\\n 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":"\\n 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. \\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you are a recipient of these benefits. \\n 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\\n medical professionals.<br><br>Documents are used only for verifying your medical professional status is\\n 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\\n and (2) be a member of an eligible branch of the medical profession. Eligible branches are shown in the Status\\n selector of this form.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a medical professional.\\n SheerID only collects information that assists in verifying your eligibility.\\n 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.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.\\n <br><br>\\n 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.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you are currently employed. SheerID only collects\\n 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.\\n <br><br>\\n 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":"\\n This offer is available to military personnel who have served or are currently serving in the United States Armed Forces.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you are a member of the military. SheerID only collects information\\n 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.\\n <br/><br/>\\n 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":"\\n To be eligible for this offer, you must have moved to a new address within the last 60 days.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you have recently moved. SheerID only\\n collects information that assists in verifying your eligibility.\\n 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.\\n <br><br>\\n 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":"\\n To be eligible for this offer, you must be of a certain age.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify your age. SheerID only collects information that assists in\\n 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":"University / college name","segmentMessages.student.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying students.\\n <br/><br/>\\n 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":"\\n To be eligible for this offer, you must currently be enrolled in a degree\\n or certificate-granting, accredited school of education.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you are a current student. SheerID only\\n collects information that assists in verifying your eligibility.\\n 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.cancel":"Upload Proof of Enrollment","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.\\n <br><br>\\n Documents are used only for verifying your teacher or faculty status is current and will be permanently\\n 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":"\\n To be eligible for this offer, you must currently be employed as a teacher, faculty or staff at a K-12\\n school or university in the United States.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you are a current teacher, faculty or staff\\n member. SheerID only collects information that assists in verifying your eligibility. Additional information\\n 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 Sa(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function wa(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Sa(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Sa(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Ma=e=>{var r;const n=va()(r=t()(e)).call(r,((t,r)=>(e[r]&&(t[r]=e[r]),t)),{});return ya.flatten.unflatten(n)},Ca=function(){var e=hr((function*(e){let t;switch(e){case"ar":t=yield i.e(711).then(i.t.bind(i,49,19)).then((e=>e.default));break;case"bg":t=yield i.e(458).then(i.t.bind(i,7813,19)).then((e=>e.default));break;case"cs":t=yield i.e(41).then(i.t.bind(i,3751,19)).then((e=>e.default));break;case"da":t=yield i.e(348).then(i.t.bind(i,5298,19)).then((e=>e.default));break;case"de":t=yield i.e(903).then(i.t.bind(i,2464,19)).then((e=>e.default));break;case"el":t=yield i.e(482).then(i.t.bind(i,2757,19)).then((e=>e.default));break;case"en-GB":t=yield i.e(194).then(i.t.bind(i,2925,19)).then((e=>e.default));break;case"en-US":t=Ea;break;case"es-ES":t=yield i.e(79).then(i.t.bind(i,7954,19)).then((e=>e.default));break;case"es":t=yield i.e(195).then(i.t.bind(i,7685,19)).then((e=>e.default));break;case"fi":t=yield i.e(304).then(i.t.bind(i,4214,19)).then((e=>e.default));break;case"fr-CA":t=yield i.e(485).then(i.t.bind(i,7762,19)).then((e=>e.default));break;case"fr":t=yield i.e(645).then(i.t.bind(i,6685,19)).then((e=>e.default));break;case"ga":t=yield i.e(456).then(i.t.bind(i,1804,19)).then((e=>e.default));break;case"hr":t=yield i.e(122).then(i.t.bind(i,6754,19)).then((e=>e.default));break;case"hu":t=yield i.e(722).then(i.t.bind(i,465,19)).then((e=>e.default));break;case"id":t=yield i.e(398).then(i.t.bind(i,5394,19)).then((e=>e.default));break;case"it":t=yield i.e(797).then(i.t.bind(i,7206,19)).then((e=>e.default));break;case"iw":t=yield i.e(961).then(i.t.bind(i,7238,19)).then((e=>e.default));break;case"ja":t=yield i.e(691).then(i.t.bind(i,912,19)).then((e=>e.default));break;case"ko":t=yield i.e(293).then(i.t.bind(i,5295,19)).then((e=>e.default));break;case"lo":t=yield i.e(47).then(i.t.bind(i,4762,19)).then((e=>e.default));break;case"lt":t=yield i.e(283).then(i.t.bind(i,7399,19)).then((e=>e.default));break;case"ms":t=yield i.e(478).then(i.t.bind(i,8031,19)).then((e=>e.default));break;case"nl":t=yield i.e(596).then(i.t.bind(i,3845,19)).then((e=>e.default));break;case"no":t=yield i.e(44).then(i.t.bind(i,7897,19)).then((e=>e.default));break;case"pl":t=yield i.e(589).then(i.t.bind(i,2176,19)).then((e=>e.default));break;case"pt-BR":t=yield i.e(495).then(i.t.bind(i,3170,19)).then((e=>e.default));break;case"pt":t=yield i.e(259).then(i.t.bind(i,4055,19)).then((e=>e.default));break;case"ru":t=yield i.e(753).then(i.t.bind(i,4194,19)).then((e=>e.default));break;case"sk":t=yield i.e(61).then(i.t.bind(i,6349,19)).then((e=>e.default));break;case"sl":t=yield i.e(666).then(i.t.bind(i,7091,19)).then((e=>e.default));break;case"sr":t=yield i.e(916).then(i.t.bind(i,3263,19)).then((e=>e.default));break;case"sv":t=yield i.e(140).then(i.t.bind(i,8638,19)).then((e=>e.default));break;case"th":t=yield i.e(845).then(i.t.bind(i,2407,19)).then((e=>e.default));break;case"tr":t=yield i.e(856).then(i.t.bind(i,8374,19)).then((e=>e.default));break;case"zh-HK":t=yield i.e(93).then(i.t.bind(i,6320,19)).then((e=>e.default));break;case"zh":t=yield i.e(494).then(i.t.bind(i,7485,19)).then((e=>e.default));break;default:he.warn(`getMessagesModuleByLocale: Unable to load messages for ${e}, falling back to en-US`),t=Ea}return Ma(t)}));return function(t){return e.apply(this,arguments)}}(),Ia=function(){var e=hr((function*(e){const t=yield fetch(`${ta()}localized-messages/${e}.json`,{headers:{"Content-Type":"text/plain"}});let r={};try{r=yield t.json()}catch(e){he.error(e)}return Ma(r)}));return function(t){return e.apply(this,arguments)}}(),Na=e=>{var r;const n=(0,ya.flatten)(e),a={};return d()(r=t()(n)).call(r,(e=>{"string"==typeof n[e]&&(a[e]=n[e])})),a},Da=e=>{let t={};return wn().messagesWithLocale[e]&&(t=wn().messagesWithLocale[e]),t},Ta=e=>"iw"===e?"he":e,Aa=function(){var e=hr((function*(e,t,r){let n,a=e;Wr(a)||(he.error(`Invalid locale ${a}, falling back to ${en} for the verification form`,"Invalid locale"),a=en),n="true"===window.sheerIdEs5?yield Ia(a):yield Ca(a);const o=n?n.defaultMessages:{},i=n&&n.segmentMessages,s=r&&i?n.segmentMessages[r]:{},l=Da(a),u=t?Na(t):{},c=a!==en?yield Aa(en,t,r):{};return $()({},c,o?(0,ya.flatten)(o):{},s?(0,ya.flatten)(s):{},u,l?(0,ya.flatten)(l):{})}));return function(t,r,n){return e.apply(this,arguments)}}();const xa=(e,t)=>{const r=ie((()=>e.localeChoice.value))||ie((()=>t.locale))||wn().locale||Ar(window.location.href).get("locale")||void 0||en;try{return qr(r),r}catch(e){return en}};function _a(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function Oa(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=_a(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=_a(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const ka={enabled:!1,required:!1,message:""},Pa=ma()({enabled:!1,keys:[],requiredKeys:[]}),Ra=e=>{let t=oe(Pa);try{ie((()=>e.config.customMetadata.enabled))&&(t=Oa(Oa({},t),e.config.customMetadata))}catch(e){he.warn("No custom metadata provided by the server.")}return wn().customMetadata&&(t=Oa(Oa({},t),wn().customMetadata)),t},Fa=e=>{let t=Oa({},ka);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 wn().marketConsent&&(t=wn().marketConsent),t},La=e=>{let t;try{t=e.intl.messages}catch(t){he.warn("Unable to get theme messages from ",e)}return t},Ua=e=>wn().customCss||e.customCss,Ba=e=>{const t=wn();return t.hasOwnProperty("logoUrl")?t.logoUrl:e.logoUrl},Va=e=>wn().privacyPolicyUrl||e.privacyPolicyUrl,ja=e=>{let t=["en-US"],r=[];try{r=e.config.locales}catch(e){he.warn("Unable to get configured locales from programTheme")}const n=za(wn());return t=[...r,...n],a=t,o()(i=ha()(a).call(a)).call(i,((e,t,r)=>!t||e!==r[t-1]));var a,i},za=e=>e&&e.messagesWithLocale?t()(e.messagesWithLocale):[],Ha=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"]},$a=e=>{let t;try{t=e.config.estimatedReviewTime}catch(e){t="A_FEW_HOURS"}return t},qa=e=>{let t;try{t=e.config.maxReviewTime}catch(e){t="2_HRS"}return t},Wa=wn(),Ga=(e,t,r,n)=>{let a;try{a=e.config.customFaqLink}catch(e){a=""}return a&&""!==a?a:`${(()=>{const e="urlFaq";return Wa.hasOwnProperty(e)||he.error(`Can't find an option for '${e}'`,"Option not found"),Wa[e]})()}?pid=${r}&locale=${(e=>e.replace("-","_"))(n)}`},Ya=(e,t)=>ie((()=>e.config.orgSearchCountryTags[t].join(",")),""),Ka=({children:e})=>q.createElement("div",{className:"sid sid-form-wrapper"},e);function Za(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function Ja(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Za(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Za(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Xa={firstName:"",lastName:"",email:"",phoneNumber:""},Qa={countryChoice:void 0,localeChoice:{value:void 0,label:void 0}},eo={organization:{id:0,name:""}},to={fieldsToSkipValidation:void 0},ro=Ja(Ja(Ja(Ja(Ja({},Xa),Qa),to),eo),{},{birthDate:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),no=Ja(Ja(Ja(Ja({},Xa),Qa),to),{},{birthDate:"",postalCode:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),ao=Ja(Ja(Ja(Ja({},Xa),Qa),to),{},{birthDate:"",postalCode:"",phoneNumber:"",country:"US",metadata:{marketConsentValue:!1,carrierConsentValue:!1,refererUrl:window.location.href}}),oo=Ja(Ja(Ja(Ja(Ja({},Xa),Qa),to),eo),{},{birthDate:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),io=Ja(Ja(Ja(Ja({},Xa),Qa),eo),{},{birthDate:"",phoneNumber:"",memberId:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),so=Ja(Ja(Ja(Ja(Ja({},Xa),Qa),to),eo),{},{activeDutyStartDate:"",birthDate:"",status:void 0,metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),lo=Ja(Ja(Ja(Ja(Ja({},Xa),Qa),to),eo),{},{activeDutyStartDate:"",birthDate:"",dischargeDate:"",status:void 0,metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),uo=Ja(Ja(Ja(Ja(Ja({},Xa),Qa),to),eo),{},{birthDate:"",status:void 0,metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),co=Ja(Ja(Ja(Ja(Ja({},Xa),Qa),to),eo),{},{birthDate:"",postalCode:"",status:void 0,country:void 0,metadata:{marketConsentValue:!1,refererUrl:window.location.href},memberId:void 0}),fo=Ja(Ja(Ja(Ja(Ja({},Xa),Qa),to),eo),{},{postalCode:"",address1:"",city:"",state:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),mo=Ja(Ja(Ja(Ja({},Xa),to),Qa),{},{state:"",driverLicenseNumber:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),po=Ja(Ja(Ja(Ja({},Xa),to),Qa),{},{birthDate:"",address1:"",city:"",state:"",postalCode:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),ho=Ja(Ja(Ja(Ja({},Xa),to),Qa),{},{birthDate:"",address1:"",city:"",state:"",postalCode:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href},driverLicenseNumber:""}),go=Ja(Ja(Ja(Ja(Ja({},Xa),to),Qa),eo),{},{birthDate:"",postalCode:"",statuses:[],metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),vo=Ja(Ja(Ja(Ja({},Xa),to),Qa),{},{address1:"",postalCode:"",statuses:[],metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),yo=Ja(Ja(Ja(Ja(Ja({},Xa),to),Qa),eo),{},{birthDate:"",address1:"",city:"",state:"",postalCode:"",statuses:[],ebtCardNumber:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),bo=Ja(Ja(Ja({},Qa),to),{},{file1:void 0,file2:void 0,file3:void 0}),Eo=Ja(Ja(Ja({},Qa),to),{},{isSSOActive:!1}),So=(Ja(Ja({},Qa),{},{overrideCode:void 0}),Ja(Ja({},Qa),{},{socialSecurityNumber:void 0})),wo=Ja(Ja({},Qa),{},{smsCode:"",phoneNumber:void 0}),Mo=Ja(Ja({},Qa),{},{emailToken:""}),Co=Ja({},Qa),Io={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},No=()=>({collectStudentPersonalInfo:oe(ro),collectTeacherPersonalInfo:oe(oo),collectMemberPersonalInfo:oe(io),collectMilitaryStatus:oe(so),collectActiveMilitaryPersonalInfo:oe(so),collectInactiveMilitaryPersonalInfo:oe(lo),collectSeniorPersonalInfo:oe(no),collectAgePersonalInfo:oe(ao),collectFirstResponderPersonalInfo:oe(uo),collectMedicalProfessionalPersonalInfo:oe(co),collectEmployeePersonalInfo:oe(fo),collectSocialSecurityNumber:oe(So),collectDriverLicensePersonalInfo:oe(mo),collectGeneralIdentityPersonalInfo:oe(po),collectHybridIdentityPersonalInfo:oe(ho),collectLicensedProfessionalPersonalInfo:oe(go),collectLowIncomePersonalInfo:oe(yo),collectMoverPersonalInfo:oe(vo),docUpload:oe(bo),cancelEmailLoop:oe(Mo),sso:oe(Eo),smsLoop:oe(wo),emailLoop:oe(Mo),pending:oe(Co),success:oe(Co),consolation:oe(Co),override:oe(Co),error:oe(Co),cancelSocialSecurityNumber:oe(Co),docReviewLimitExceeded:oe(Co),cancelDocUpload:oe(Co),missingRequiredMetadata:oe(Co)}),Do=()=>oe(Io),To=()=>({intl:{locale:xa(),messages:{}},customCss:""}),Ao=Ja(Ja({},Qa),{},{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 xo=ma()({viewModel:oe(Ao),programTheme:void 0,programId:void 0,submitted:!1,error:void 0,locale:void 0,messages:void 0,isLoading:1,isInitialized:!1}),_o=()=>oe(xo),Oo=q.createContext([_o(),()=>{}]);var ko=i(1652);function Po(){return Po=ko||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},Po.apply(this,arguments)}var Ro=i(8897),Fo=i(1245),Lo=i(7347);function Uo(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},o=Lo(e);for(n=0;n<o.length;n++)r=o[n],Fo(t).call(t,r)>=0||(a[r]=e[r]);return a}(e,t);if(Ro){var o=Ro(e);for(n=0;n<o.length;n++)r=o[n],Fo(t).call(t,r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const Bo=["dangerouslySetInnerHTML"],Vo=e=>{let{dangerouslySetInnerHTML:t}=e,r=Uo(e,Bo);return t?q.createElement("span",Po({dangerouslySetInnerHTML:t},r)):q.createElement(q.Fragment,r)};var jo,zo=i(2814),Ho=i.n(zo),$o=i(1671),qo=i.n($o),Wo=i(8338),Go=i.n(Wo);!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"}(jo||(jo={}));const Yo=new Map([[jo.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],[jo.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],[jo.JE,/^JE\d[\dA-Z]?[ ]?\d[ABD-HJLN-UW-Z]{2}$/],[jo.GG,/^GY\d[\dA-Z]?[ ]?\d[ABD-HJLN-UW-Z]{2}$/],[jo.IM,/^IM\d[\dA-Z]?[ ]?\d[ABD-HJLN-UW-Z]{2}$/],[jo.US,/^([0-9]{5})(?:-([0-9]{4}))?$/],[jo.CA,/^([ABCEGHJKLMNPRSTVXY][0-9][ABCEGHJKLMNPRSTVWXYZ])\s*([0-9][ABCEGHJKLMNPRSTVWXYZ][0-9])$/i],[jo.IE,/^([AC-FHKNPRTV-Y][0-9]{2}|D6W)[ -]?[0-9AC-FHKNPRTV-Y]{4}$/],[jo.DE,/^\d{5}$/],[jo.JP,/^\d{3}-\d{4}$/],[jo.FR,/^\d{2}[ ]?\d{3}$/],[jo.AU,/^\d{4}$/],[jo.IT,/^\d{5}$/],[jo.CH,/^\d{4}$/],[jo.AT,/^(?!0)\d{4}$/],[jo.ES,/^\d{5}$/],[jo.NL,/^\d{4}[ ]?[A-Z]{2}$/],[jo.BE,/^\d{4}$/],[jo.DK,/^\d{4}$/],[jo.SE,/^(SE-)?\d{3}[ ]?\d{2}$/],[jo.NO,/^\d{4}$/],[jo.BR,/^\d{5}[\-]?\d{3}$/],[jo.PT,/^\d{4}([\-]\d{3})?$/],[jo.FI,/^(FI-|AX-)?\d{5}$/],[jo.AX,/^22\d{3}$/],[jo.KR,/^\d{5}$/],[jo.CN,/^\d{6}$/],[jo.TW,/^\d{3}(\d{2})?$/],[jo.SG,/^\d{6}$/],[jo.DZ,/^\d{5}$/],[jo.AD,/^AD\d{3}$/],[jo.AR,/^([A-HJ-NP-Z])?\d{4}([A-Z]{3})?$/],[jo.AM,/^(37)?\d{4}$/],[jo.AZ,/^\d{4}$/],[jo.BH,/^((1[0-2]|[2-9])\d{2})?$/],[jo.BD,/^\d{4}$/],[jo.BB,/^(BB\d{5})?$/],[jo.BY,/^\d{6}$/],[jo.BM,/^[A-Z]{2}[ ]?[A-Z0-9]{2}$/],[jo.BA,/^\d{5}$/],[jo.IO,/^BBND 1ZZ$/],[jo.BN,/^[A-Z]{2}[ ]?\d{4}$/],[jo.BG,/^\d{4}$/],[jo.KH,/^\d{5}$/],[jo.CV,/^\d{4}$/],[jo.CL,/^\d{7}$/],[jo.CR,/^\d{4,5}|\d{3}-\d{4}$/],[jo.HR,/^(HR-)?\d{5}$/],[jo.CY,/^\d{4}$/],[jo.CZ,/^\d{3}[ ]?\d{2}$/],[jo.DO,/^\d{5}$/],[jo.EC,/^([A-Z]\d{4}[A-Z]|(?:[A-Z]{2})?\d{6})?$/],[jo.EG,/^\d{5}$/],[jo.EE,/^\d{5}$/],[jo.FO,/^\d{3}$/],[jo.GE,/^\d{4}$/],[jo.GR,/^\d{3}[ ]?\d{2}$/],[jo.GL,/^39\d{2}$/],[jo.GT,/^\d{5}$/],[jo.HT,/^\d{4}$/],[jo.HN,/^(?:\d{5})?$/],[jo.HU,/^\d{4}$/],[jo.IS,/^\d{3}$/],[jo.IN,/^\d{6}$/],[jo.ID,/^\d{5}$/],[jo.IL,/^\d{5,7}$/],[jo.JO,/^\d{5}$/],[jo.KZ,/^\d{6}$/],[jo.KE,/^\d{5}$/],[jo.KW,/^\d{5}$/],[jo.LA,/^\d{5}$/],[jo.LV,/^(LV-)?\d{4}$/],[jo.LB,/^(\d{4}([ ]?\d{4})?)?$/],[jo.LI,/^(948[5-9])|(949[0-7])$/],[jo.LT,/^(LT-)?\d{5}$/],[jo.LU,/^(L-)?\d{4}$/],[jo.MK,/^\d{4}$/],[jo.MY,/^\d{5}$/],[jo.MV,/^\d{5}$/],[jo.MT,/^[A-Z]{3}[ ]?\d{2,4}$/],[jo.MU,/^((\d|[A-Z])\d{4})?$/],[jo.MX,/^\d{5}$/],[jo.MD,/^\d{4}$/],[jo.MC,/^980\d{2}$/],[jo.MA,/^\d{5}$/],[jo.NP,/^\d{5}$/],[jo.NZ,/^\d{4}$/],[jo.NI,/^((\d{4}-)?\d{3}-\d{3}(-\d{1})?)?$/],[jo.NG,/^(\d{6})?$/],[jo.OM,/^(PC )?\d{3}$/],[jo.PK,/^\d{5}$/],[jo.PY,/^\d{4}$/],[jo.PH,/^\d{4}$/],[jo.PL,/^\d{2}-\d{3}$/],[jo.PR,/^00[679]\d{2}([ \-]\d{4})?$/],[jo.RO,/^\d{6}$/],[jo.RU,/^\d{6}$/],[jo.SM,/^4789\d$/],[jo.SA,/^\d{5}$/],[jo.SN,/^\d{5}$/],[jo.SK,/^\d{3}[ ]?\d{2}$/],[jo.SI,/^(SI-)?\d{4}$/],[jo.ZA,/^\d{4}$/],[jo.LK,/^\d{5}$/],[jo.TJ,/^\d{6}$/],[jo.TH,/^\d{5}$/],[jo.TN,/^\d{4}$/],[jo.TR,/^\d{5}$/],[jo.TM,/^\d{6}$/],[jo.UA,/^\d{5}$/],[jo.UY,/^\d{5}$/],[jo.UZ,/^\d{6}$/],[jo.VA,/^00120$/],[jo.VE,/^\d{4}$/],[jo.ZM,/^\d{5}$/],[jo.AS,/^96799$/],[jo.CC,/^6799$/],[jo.CK,/^\d{4}$/],[jo.RS,/^\d{5,6}$/],[jo.ME,/^8\d{4}$/],[jo.CS,/^\d{5}$/],[jo.YU,/^\d{5}$/],[jo.CX,/^6798$/],[jo.ET,/^\d{4}$/],[jo.FK,/^FIQQ 1ZZ$/],[jo.NF,/^2899$/],[jo.FM,/^(9694[1-4])([ \-]\d{4})?$/],[jo.GF,/^9[78]3\d{2}$/],[jo.GN,/^\d{3}$/],[jo.GP,/^9[78][01]\d{2}$/],[jo.GS,/^SIQQ 1ZZ$/],[jo.GU,/^969[123]\d([ \-]\d{4})?$/],[jo.GW,/^\d{4}$/],[jo.HM,/^\d{4}$/],[jo.IQ,/^\d{5}$/],[jo.KG,/^\d{6}$/],[jo.LR,/^\d{4}$/],[jo.LS,/^\d{3}$/],[jo.MG,/^\d{3}$/],[jo.MH,/^969[67]\d([ \-]\d{4})?$/],[jo.MN,/^\d{6}$/],[jo.MP,/^9695[012]([ \-]\d{4})?$/],[jo.MQ,/^9[78]2\d{2}$/],[jo.NC,/^988\d{2}$/],[jo.NE,/^\d{4}$/],[jo.VI,/^008(([0-4]\d)|(5[01]))([ \-]\d{4})?$/],[jo.PF,/^987\d{2}$/],[jo.PG,/^\d{3}$/],[jo.PM,/^9[78]5\d{2}$/],[jo.PN,/^PCRN 1ZZ$/],[jo.PW,/^96940$/],[jo.RE,/^9[78]4\d{2}$/],[jo.SH,/^(ASCN|STHL) 1ZZ$/],[jo.SJ,/^\d{4}$/],[jo.SO,/^\d{5}$/],[jo.SZ,/^[HLMS]\d{3}$/],[jo.TC,/^TKCA 1ZZ$/],[jo.WF,/^986\d{2}$/],[jo.XK,/^\d{5}$/],[jo.YT,/^976\d{2}$/],[jo.INTL,/^(?:[A-Z0-9]+([- ]?[A-Z0-9]+)*)?$/i]]);var Ko=i(861),Zo=i.n(Ko);const Jo=["ACTIVE_DUTY","VETERAN","RESERVIST","MILITARY_RETIREE","MILITARY_FAMILY","GOLD_STAR_FAMILY"],Xo=["FIREFIGHTER","EMT","POLICE","SEARCH_AND_RESCUE"],Qo=["NURSE","DOCTOR","DENTIST","PHARMACIST","OTHER_HEALTH_WORKER"];let ei={};function ti(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function ri(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=ti(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=ti(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const ni=10,ai=4096,oi=[/^\+?0*\d{10,}(x[0-9]{0,5})?$/,/(^\D?(\d{3})\D?\D?(\d{3})\D?(\d{4})$)/],ii=(e,t)=>{const r=jr();for(const r in e){var n;const a=e[r]?e[r]:"",o=e.fieldsToSkipValidation&&Ho()(n=e.fieldsToSkipValidation).call(n,r);if(_e[r]&&"string"==typeof ji(r,a,t)&&!o)return!1}const a=ie((()=>e.metadata),null);if(null!==a)for(const e in a){const n=void 0!==a[e]?a[e]:"";if(Ho()(r).call(r,e)&&"string"==typeof Br(e)(n,t))return!1}return!0},si=(e,t,r,n,a)=>n?(he.info(`Using overridden validator for field '${e}'`),n(t,a)):r(t,a),li=()=>{const e=Do(),t=(()=>{const e={},t=jr();if(t)for(const r of t)e[r]=void 0;return e})();return ri(ri({},e),t)},ui=e=>{if(void 0===e||!ki(e))return"invalidFirstName"},ci=e=>{if(void 0===e||!ki(e))return"invalidLastName"},di=()=>{},fi=e=>{if(!e)return"invalidCountry"},mi=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"},pi=e=>t=>{const r="invalidPhoneNumber";if(e&&!t)return r;const n=o()(oi).call(oi,(e=>e.test(t)));return t&&0===n.length?r:void 0},hi=e=>{if(void 0===e.id||qo()(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"},gi=(e,t)=>{const r="invalidBirthDate";if(ie((()=>"collectMemberPersonalInfo"===t.currentStep))){if(void 0===e||""===e||e.split("undefined").join("").length<=2)return;if(!Ri(e)||!Pi(e))return r}else if(void 0===e||!Ri(e)||!Pi(e))return r;return Ui(e,ie((()=>t.minAge)),ie((()=>t.maxAge)))?"outsideAgePerson":Fi(e)?"futureBirthDate":Li(e)?"underagePerson":void 0},vi=e=>{const t=tn;return void 0===e?"noValidFiles":(r=e.name)&&Ho()(r).call(r,".")&&!Ho()(t).call(t,e.type)?"unsupportedDocMimeType":e.size>10485760?"invalidFileSizeMax":e.size<=0?"invalidFileSizeEmpty":void 0;var r},yi=(e,t)=>{var r;const n=t.viewModel;if(n.statuses&&Ho()(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)))&&!Zo()(e))return"invalidEbtCardNumber"}},bi=(e,t)=>{const r=ie((()=>t.viewModel.countryChoice.value),"US");if(!Bi(r,e))return"invalidPostalCode"},Ei=e=>{if(!e)return"invalidAddress"},Si=e=>{if(!e)return"invalidCity"},wi=e=>{if(!Vi(e))return"invalidState"},Mi=e=>void 0!==e&&Ri(e)&&Pi(e),Ci=(e,t)=>new Date(e)<new Date(t.birthDate),Ii=(e,t)=>Mi(e)?Fi(e)?"futureDischargeDate":Ci(e,t.viewModel)?"dischargeDateBeforeBirthDate":void 0:"invalidDischargeDate",Ni=(e,t)=>{if(e||t.strictMilitaryValidationEnabled)return Mi(e)?Fi(e)?"futureActiveDutyStartDate":Ci(e,t.viewModel)?"activeDutyStartDateBeforeBirthDate":void 0:"invalidActiveDutyStartDate"},Di=e=>{if(9!==e.toString().length)return"invalidSocialSecurityNumber"},Ti=e=>{if(void 0===e||!/^[A-Za-z0-9-\*]{1,100}$/.test(e))return"invalidDriverLicenseNumber"},Ai=e=>{if(!e||!_i(e)||!Oi(e))return"invalidStatuses"},xi=e=>{if(!e||!(e=>Ho()(Jo).call(Jo,e))(e)&&!(e=>Ho()(Xo).call(Xo,e))(e)&&!(e=>Ho()(Qo).call(Qo,e))(e))return"invalidStatus"},_i=e=>e.length>0,Oi=e=>e.length>0,ki=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),Pi=e=>{const t=e.split("-"),r=Go()(t[0],ni),n=Go()(t[1],ni),a=Go()(t[2],ni),o=[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)&&(o[1]=29),!(a<=0||a>o[n-1]))},Ri=e=>!!/^\d{4}[\-\s\/]\d{1,2}[\-\s\/]\d{1,2}$/.test(e),Fi=e=>{const t=new Date;return new Date(e)>t},Li=(e,t=16)=>{const r=e.split("-"),n=Go()(r[0],ni),a=Go()(r[1],ni),o=Go()(r[2],ni),i=(new Date).getFullYear(),s=(new Date).getMonth()+1,l=(new Date).getDate();if(i-n===t){if(s-a<0)return!0;if(s-a==0&&l-o<0)return!0}else if(i-n<t)return!0;return!1},Ui=(e,t,r)=>{let n=!1,a=!1;return t&&(n=Li(e,t)),r&&(a=((e,t=120)=>{const r=e.split("-"),n=Go()(r[0],ni),a=Go()(r[1],ni),o=Go()(r[2],ni),i=(new Date).getFullYear(),s=(new Date).getMonth()+1,l=(new Date).getDate();if(i-n===t){if(s-a>0)return!0;if(s-a==0&&l-o>0)return!0}else if(i-n>t)return!0;return!1})(e,r)),n||a},Bi=(e="US",t)=>{const r=e;return!!(e=>Yo.has(e))(r)&&((e,t)=>{if(!Yo.has(t))throw Error(`Invalid country code: ${t}`);return Yo.get(t).test(e)})(t,r)},Vi=e=>{if(!e)return!1;const t=Y()(Re);return kr()(t).call(t,e.toUpperCase())>=0},ji=(e,t,r)=>{let n;(e=>{const t=jr();if(kr()(Oe).call(Oe,e)<0&&kr()(t).call(t,e)<0)throw new Error(`Expected valid field ID but received ${e}.\n Valid FieldIds are [${Oe.join(", ")}, ${t.join(", ")}]`)})(e);const a=ei[o=e]?(he.log(`getOverridenValidator returning '${o}'`),ei[o]):null;var o;switch(e){case _e.firstName:return n=ui,si(e,t,n,a,r);case _e.lastName:return n=ci,si(e,t,n,a,r);case _e.memberId:return n=di,si(e,t,n,a,r);case _e.email:return n=mi,si(e,t,n,a,r);case _e.phoneNumber:return n=(e=>pi(e&&e.smsLoopEnabled))(r),si(e,t,n,a,r);case _e.organization:return n=hi,si(e,t,n,a,r);case _e.birthDate:return n=gi,si(e,t,n,a,r);case _e.postalCode:return n=bi,si(e,t,n,a,r);case _e.address1:return n=Ei,si(e,t,n,a,r);case _e.city:return n=Si,si(e,t,n,a,r);case _e.state:return n=wi,si(e,t,n,a,r);case _e.country:return n=fi,si(e,t,n,a,r);case _e.dischargeDate:return n=Ii,si(e,t,n,a,r);case _e.activeDutyStartDate:return n=Ni,si(e,t,n,a,r);case _e.socialSecurityNumber:return n=Di,si(e,t,n,a,r);case _e.status:return n=xi,si(e,t,n,a,r);case _e.statuses:return n=Ai,si(e,t,n,a,r);case _e.driverLicenseNumber:return n=Ti,si(e,t,n,a,r);case _e.docUpload:return n=vi,si(e,t,n,a,r);case _e.ebtCardNumber:return n=yi,si(e,t,n,a,r);case _e.overrideCode:return n=vi,si(e,t,n,a,r);default:if((e=>{const t=jr();return!!(t.length&&kr()(t).call(t,e)>=0)})(e))return((e,t,r)=>{const n=Br(e);return he.info(`Using custom validator for custom field '${e}'`),n?n(t,r):void 0})(e,t,r)}};var zi=i(1639),Hi=i.n(zi);function $i(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 qi(e){return!!e&&!!e[Ps]}function Wi(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)===Rs}(e)||Array.isArray(e)||!!e[ks]||!!e.constructor[ks]||Qi(e)||es(e))}function Gi(e,t,r){void 0===r&&(r=!1),0===Yi(e)?(r?Object.keys:Fs)(e).forEach((function(n){r&&"symbol"==typeof n||t(n,e[n],e)})):e.forEach((function(r,n){return t(n,r,e)}))}function Yi(e){var t=e[Ps];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Qi(e)?2:es(e)?3:0}function Ki(e,t){return 2===Yi(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Zi(e,t){return 2===Yi(e)?e.get(t):e[t]}function Ji(e,t,r){var n=Yi(e);2===n?e.set(t,r):3===n?(e.delete(t),e.add(r)):e[t]=r}function Xi(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function Qi(e){return As&&e instanceof Map}function es(e){return xs&&e instanceof Set}function ts(e){return e.o||e.t}function rs(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Ls(e);delete t[Ps];for(var r=Fs(t),n=0;n<r.length;n++){var a=r[n],o=t[a];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[a]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function ns(e,t){return void 0===t&&(t=!1),os(e)||qi(e)||!Wi(e)||(Yi(e)>1&&(e.set=e.add=e.clear=e.delete=as),Object.freeze(e),t&&Gi(e,(function(e,t){return ns(t,!0)}),!0)),e}function as(){$i(2)}function os(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function is(e){var t=Us[e];return t||$i(18,e),t}function ss(e,t){Us[e]||(Us[e]=t)}function ls(){return Ds}function us(e,t){t&&(is("Patches"),e.u=[],e.s=[],e.v=t)}function cs(e){ds(e),e.p.forEach(ms),e.p=null}function ds(e){e===Ds&&(Ds=e.l)}function fs(e){return Ds={p:[],l:Ds,h:e,m:!0,_:0}}function ms(e){var t=e[Ps];0===t.i||1===t.i?t.j():t.O=!0}function ps(e,t){t._=t.p.length;var r=t.p[0],n=void 0!==e&&e!==r;return t.h.g||is("ES5").S(t,e,n),n?(r[Ps].P&&(cs(t),$i(4)),Wi(e)&&(e=hs(t,e),t.l||vs(t,e)),t.u&&is("Patches").M(r[Ps],e,t.u,t.s)):e=hs(t,r,[]),cs(t),t.u&&t.v(t.u,t.s),e!==Os?e:void 0}function hs(e,t,r){if(os(t))return t;var n=t[Ps];if(!n)return Gi(t,(function(a,o){return gs(e,n,t,a,o,r)}),!0),t;if(n.A!==e)return t;if(!n.P)return vs(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=4===n.i||5===n.i?n.o=rs(n.k):n.o;Gi(3===n.i?new Set(a):a,(function(t,o){return gs(e,n,a,t,o,r)})),vs(e,a,!1),r&&e.u&&is("Patches").R(n,r,e.u,e.s)}return n.o}function gs(e,t,r,n,a,o){if(qi(a)){var i=hs(e,a,o&&t&&3!==t.i&&!Ki(t.D,n)?o.concat(n):void 0);if(Ji(r,n,i),!qi(i))return;e.m=!1}if(Wi(a)&&!os(a)){if(!e.h.F&&e._<1)return;hs(e,a),t&&t.A.l||vs(e,a)}}function vs(e,t,r){void 0===r&&(r=!1),e.h.F&&e.m&&ns(t,r)}function ys(e,t){var r=e[Ps];return(r?ts(r):e)[t]}function bs(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 Es(e){e.P||(e.P=!0,e.l&&Es(e.l))}function Ss(e){e.o||(e.o=rs(e.t))}function ws(e,t,r){var n=Qi(t)?is("MapSet").N(t,r):es(t)?is("MapSet").T(t,r):e.g?function(e,t){var r=Array.isArray(e),n={i:r?1:0,A:t?t.A:ls(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},a=n,o=Bs;r&&(a=[n],o=Vs);var i=Proxy.revocable(a,o),s=i.revoke,l=i.proxy;return n.k=l,n.j=s,l}(t,r):is("ES5").J(t,r);return(r?r.A:ls()).p.push(n),n}function Ms(e){return qi(e)||$i(22,e),function e(t){if(!Wi(t))return t;var r,n=t[Ps],a=Yi(t);if(n){if(!n.P&&(n.i<4||!is("ES5").K(n)))return n.t;n.I=!0,r=Cs(t,a),n.I=!1}else r=Cs(t,a);return Gi(r,(function(t,a){n&&Zi(n.t,t)===a||Ji(r,t,e(a))})),3===a?new Set(r):r}(e)}function Cs(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return rs(e)}function Is(){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[Ps];return Bs.get(t,e)},set:function(t){var r=this[Ps];Bs.set(r,e,t)}},r}function t(e){for(var t=e.length-1;t>=0;t--){var a=e[t][Ps];if(!a.P)switch(a.i){case 5:n(a)&&Es(a);break;case 4:r(a)&&Es(a)}}}function r(e){for(var t=e.t,r=e.k,n=Fs(r),a=n.length-1;a>=0;a--){var o=n[a];if(o!==Ps){var i=t[o];if(void 0===i&&!Ki(t,o))return!0;var s=r[o],l=s&&s[Ps];if(l?l.t!==i:!Xi(s,i))return!0}}var u=!!t[Ps];return n.length!==Fs(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={};ss("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 o=Ls(r);delete o[Ps];for(var i=Fs(o),s=0;s<i.length;s++){var l=i[s];o[l]=e(l,t||!!o[l].enumerable)}return Object.create(Object.getPrototypeOf(r),o)}(n,t),o={i:n?5:4,A:r?r.A:ls(),P:!1,I:!1,D:{},l:r,t,k:a,o:null,O:!1,C:!1};return Object.defineProperty(a,Ps,{value:o,writable:!0}),a},S:function(e,r,a){a?qi(r)&&r[Ps].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var r=t[Ps];if(r){var a=r.t,o=r.k,i=r.D,s=r.i;if(4===s)Gi(o,(function(t){t!==Ps&&(void 0!==a[t]||Ki(a,t)?i[t]||e(o[t]):(i[t]=!0,Es(r)))})),Gi(a,(function(e){void 0!==o[e]||Ki(o,e)||(i[e]=!1,Es(r))}));else if(5===s){if(n(r)&&(Es(r),i.length=!0),o.length<a.length)for(var l=o.length;l<a.length;l++)i[l]=!1;else for(var u=a.length;u<o.length;u++)i[u]=!0;for(var c=Math.min(o.length,a.length),d=0;d<c;d++)void 0===i[d]&&e(o[d])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?r(e):n(e)}})}var Ns,Ds,Ts="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),As="undefined"!=typeof Map,xs="undefined"!=typeof Set,_s="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Os=Ts?Symbol.for("immer-nothing"):((Ns={})["immer-nothing"]=!0,Ns),ks=Ts?Symbol.for("immer-draftable"):"__$immer_draftable",Ps=Ts?Symbol.for("immer-state"):"__$immer_state",Rs=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),Fs="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Ls=Object.getOwnPropertyDescriptors||function(e){var t={};return Fs(e).forEach((function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)})),t},Us={},Bs={get:function(e,t){if(t===Ps)return e;var r=ts(e);if(!Ki(r,t))return function(e,t,r){var n,a=bs(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||!Wi(n)?n:n===ys(e.t,t)?(Ss(e),e.o[t]=ws(e.A.h,n,e)):n},has:function(e,t){return t in ts(e)},ownKeys:function(e){return Reflect.ownKeys(ts(e))},set:function(e,t,r){var n=bs(ts(e),t);if(null==n?void 0:n.set)return n.set.call(e.k,r),!0;if(!e.P){var a=ys(ts(e),t),o=null==a?void 0:a[Ps];if(o&&o.t===r)return e.o[t]=r,e.D[t]=!1,!0;if(Xi(r,a)&&(void 0!==r||Ki(e.t,t)))return!0;Ss(e),Es(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!==ys(e.t,t)||t in e.t?(e.D[t]=!1,Ss(e),Es(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=ts(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(){$i(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){$i(12)}},Vs={};Gi(Bs,(function(e,t){Vs[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Vs.deleteProperty=function(e,t){return Bs.deleteProperty.call(this,e[0],t)},Vs.set=function(e,t,r){return Bs.set.call(this,e[0],t,r,e[0])};var js=function(){function e(e){var t=this;this.g=_s,this.F=!0,this.produce=function(e,r,n){if("function"==typeof e&&"function"!=typeof r){var a=r;r=e;var o=t;return function(e){var t=this;void 0===e&&(e=a);for(var n=arguments.length,i=Array(n>1?n-1:0),s=1;s<n;s++)i[s-1]=arguments[s];return o.produce(e,(function(e){var n;return(n=r).call.apply(n,[t,e].concat(i))}))}}var i;if("function"!=typeof r&&$i(6),void 0!==n&&"function"!=typeof n&&$i(7),Wi(e)){var s=fs(t),l=ws(t,e,void 0),u=!0;try{i=r(l),u=!1}finally{u?cs(s):ds(s)}return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(e){return us(s,n),ps(e,s)}),(function(e){throw cs(s),e})):(us(s,n),ps(i,s))}if(!e||"object"!=typeof e){if((i=r(e))===Os)return;return void 0===i&&(i=e),t.F&&ns(i,!0),i}$i(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),o=1;o<n;o++)a[o-1]=arguments[o];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){Wi(e)||$i(8),qi(e)&&(e=Ms(e));var t=fs(this),r=ws(this,e,void 0);return r[Ps].C=!0,ds(t),r},t.finishDraft=function(e,t){var r=(e&&e[Ps]).A;return us(r,t),ps(void 0,r)},t.setAutoFreeze=function(e){this.F=e},t.setUseProxies=function(e){e&&!_s&&$i(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=is("Patches").$;return qi(e)?a(e,t):this.produce(e,(function(e){return a(e,t.slice(r+1))}))},e}(),zs=new js,Hs=zs.produce;zs.produceWithPatches.bind(zs),zs.setAutoFreeze.bind(zs),zs.setUseProxies.bind(zs),zs.applyPatches.bind(zs),zs.createDraft.bind(zs),zs.finishDraft.bind(zs);const $s=Hs;var qs=i(6812),Ws=i.n(qs);let Gs=[],Ys=null;const Ks=(e,t)=>{const r={fieldId:e,ref:t},n=Ws()(Gs).call(Gs,(t=>t.fieldId===e));-1!==n?Gs[n]=r:Gs.push(r)},Zs=()=>Gs,Js=e=>{for(const t of Gs)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},Xs=()=>{Gs=[],he.info("Refs have been reset")},Qs=()=>{null!==Ys&&(Ys.close(),Ys=null)},el=(e,t)=>{const r=t.viewModel,n=Hs(r,(t=>{t.organization.id=e.id,t.organization.idExtended=e.idExtended,t.organization.name=e.name,r.organization&&void 0!==r.organization.source&&(t.organization.source=r.organization.source)}));t.updateViewModel(n)},tl=(e,t)=>{t.updateFieldValidationErrors(e)},rl=(e,t,r)=>{const{fieldValidationErrors:n}=r,a=Hs(n,(n=>{n[e]&&(n[e]=ji(e,t,r.formValidationOptions))}));tl(a,r)},nl=(e,t)=>ie((()=>1===t.length))&&"US"===ie((()=>t[0]))||ie((()=>"US"===e.value))||ie((()=>void 0===e.value)),al=(e,t,r)=>t?e.formatHTMLMessage({id:t,defaultMessage:r[t]}):"",ol=(e,t)=>{const r=e.verificationResponse.availableStatuses||e.previousVerificationResponse&&e.previousVerificationResponse.availableStatuses,n=[];return r?(d()(r).call(r,(e=>{n.push({value:e,label:al(t,e,De)})})),n):null},il=e=>"birthDate"===e||"birthDateDay"===e?"birthDateYear":e,sl=e=>{const t=Js("submitButton");"Enter"===e.key&&t&&t.click()},ll=(e,t,r)=>{const n=((e,t)=>{const r=li(),n=ie((()=>e.metadata),null);for(const a in r)if(e.hasOwnProperty(a)){const n=ie((()=>e.fieldsToSkipValidation));if(X()(n)&&kr()(n).call(n,a)>-1)continue;const o=e[a]?e[a]:"";r[a]=ji(a,o,t)}else if(null!==n&&"object"==typeof n&&n.hasOwnProperty(a)){const e=n[a]?n[a]:"";r[a]=ji(a,e,t)}const{customFormFields:a}=wn();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=Zs(),t=[];return Mr()(e).call(e,(e=>t.push(e.fieldId))),t})(),r=((e,t)=>{var r;let n;return d()(r=Hi()(e).call(e)).call(r,(e=>{if(t[e])return n=e,il(n)})),il(n)})(e,n);tl(n,t),(e=>{const t=Js(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)}},ul=(e,t,r)=>({estReviewTime:r.formatHTMLMessage({id:`dateTime.${ie((()=>e.estimatedReviewTime))||$a(t)}`,default:"a few minutes"}),maxReviewTime:r.formatHTMLMessage({id:`dateTime.${ie((()=>e.maxReviewTime))||qa(t)}`,default:"2 hours"})}),cl=(e,t)=>{const r=Ha(e);return Mr()(r).call(r,(e=>({value:e,label:t.formatHTMLMessage({id:`countries.${e}`,defaultMessage:e})})))},dl=(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()(Re)})(e);return Mr()(n).call(n,(e=>({value:e,label:r.formatHTMLMessage({id:`states.${e}`,defaultMessage:e})})))},fl=(e,t)=>{const r=ja(e);return Mr()(r).call(r,(e=>({value:e,label:t.formatHTMLMessage({id:`locales.${e}`,defaultMessage:e})})))},ml=e=>e.length>0?e[0]:{value:"US",label:"United States"},pl=(e,t,r)=>Hs(e,(e=>{e[t]=r})),hl=e=>e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)),gl=["id","isErrored","className","hidePlaceholder","refId","required","type","ariaDescribedBy","ariaLabel"],vl=e=>{let{id:t,isErrored:r,className:n,hidePlaceholder:a=!0,refId:o,required:i=!1,type:s="text",ariaDescribedBy:l,ariaLabel:u}=e,c=Uo(e,gl),d="";n&&(d+=`${n} `),d+="sid-text-input sid-l-full-width",a&&(d+=" sid-hidden-placeholder"),i&&(d+=" sid-text-input--required"),r&&(d+=" sid-text-input--error");const f=o||t,m=(0,q.useRef)(null);return(0,q.useEffect)((()=>{Ks(f,m.current)})),q.createElement("input",Po({className:d,id:`sid-${t}`,name:`sid-${t}`,type:s,"aria-describedby":l,"aria-label":u,"aria-required":i,"aria-invalid":r,ref:m},c))},yl=({text:e,htmlForLabel:t,id:r,displayClasses:n,isRequired:a,children:o})=>{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&&(i=e,!(!q.isValidElement(i)&&""===i))&&q.createElement("span",{"aria-hidden":"true",className:"sid-field__label--required"},"*")),o&&q.createElement("div",{className:"sid-field__label-explanation"},o)));var i};yl.defaultProps={id:"",displayClasses:"",isRequired:!0,children:null};const bl=({fieldId:e,label:t,errorMessage:r,isRequired:n,showPlaceholderAndHideLabel:a=!1,children:o,explanation:i=""})=>{const s=`sid-${hl(`${e}Label`)}`;return q.createElement("div",{className:`sid-field sid-${hl(e)}`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(yl,{text:t,isRequired:n,htmlForLabel:`sid-${hl(e)}`,id:s,displayClasses:`${i?"sid-field__label-with-explanation":""}${a?"sid-h-screen-reader-only":""}`},i&&i),o,r&&q.createElement("div",{className:"sid-field-error"},r))},El=["fieldId","value","onChange","placeholder","label","errorMessage","showPlaceholderAndHideLabel","required","explanation"],Sl=e=>{let{fieldId:t,value:r,onChange:n,placeholder:a,label:o,errorMessage:i,showPlaceholderAndHideLabel:s=!1,required:l=!0,explanation:u=""}=e,c=Uo(e,El);const d=`sid-${hl(`${t}Label`)}`;return q.createElement(bl,{fieldId:t,label:o,errorMessage:i,showPlaceholderAndHideLabel:s,isRequired:l,explanation:u},q.createElement(vl,Po({id:hl(t),value:r,onChange:e=>n(e.target.value),placeholder:a,hidePlaceholder:!s,"aria-labelledby":d,refId:t,isErrored:!!i,required:l},c)))},wl=Rt((({value:e,isErrored:t,onChange:r,intl:n,placeholder:a=""})=>q.createElement(Sl,{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}))),Ml=Rt((({value:e,isErrored:t,onChange:r,intl:n,placeholder:a=""})=>q.createElement(Sl,{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}))),Cl=Rt((({value:e,isErrored:t,onChange:r,explanation:n,intl:a,onKeyDown:o,placeholder:i=""})=>q.createElement("div",{className:"sid-field sid-email"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(yl,{text:q.createElement(or,{id:"emailAddress",defaultMessage:"Email address"}),htmlForLabel:"sid-email",id:"sid-email-label",displayClasses:`sid-field__label-with-explanation${i&&" sid-h-screen-reader-only"}`},n||q.createElement(or,{id:"emailExplanation",defaultMessage:"Needed to send you your unique code"})),q.createElement(vl,{id:"email",isErrored:t,onChange:e=>r(e.target.value),onKeyDown:"function"==typeof o?e=>o(e):void 0,placeholder:i||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))),Il={university:"UNIVERSITY",k12:"K12",postSecondary:"POST_SECONDARY",highSchool:"HIGH_SCHOOL"};function Nl(e){return e.type===Il[this]}const Dl=Rt((({eligibleOrgs:e,ineligibleOrgs:t,intl:r})=>{const n=o()(e).call(e,Nl,"university"),a=o()(e).call(e,Nl,"k12"),i=o()(e).call(e,Nl,"postSecondary"),s=o()(e).call(e,Nl,"highSchool"),l=o()(t).call(t,Nl,"university"),u=o()(t).call(t,Nl,"k12"),c=o()(t).call(t,Nl,"postSecondary"),d=o()(t).call(t,Nl,"highSchool");return q.createElement("div",{className:"sid-l-space-top-md"},e.length+t.length>=mn.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"},Mr()(n).call(n,(e=>q.createElement(da,{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"},Mr()(a).call(a,(e=>q.createElement(da,{key:e.id,organization:e,isEligible:!0}))))),i.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"},Mr()(i).call(i,(e=>q.createElement(da,{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"},Mr()(s).call(s,(e=>q.createElement(da,{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"},Mr()(l).call(l,(e=>q.createElement(da,{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"},Mr()(u).call(u,(e=>q.createElement(da,{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"},Mr()(c).call(c,(e=>q.createElement(da,{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"},Mr()(d).call(d,(e=>q.createElement(da,{key:e.id,organization:e,isEligible:!1}))))))})),Tl=({name:e,label:t,value:r,placeholder:n,isErrored:a,onChange:o,onKeyDown:i,search:s})=>q.createElement("div",{className:"sid-field"},q.createElement("label",{htmlFor:`sid-${e}`},q.createElement("div",{className:"sid-field__label sid-l-space-btm-sm"},t)),q.createElement("div",{className:"sid-field-search"},q.createElement("input",{className:"sid-text-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=>o(e.target.value),onKeyDown:e=>(e=>{"Enter"===e.key?s():i&&i()})(e),placeholder:n}),q.createElement("div",{tabIndex:0,onClick:()=>s(),onKeyUp:()=>s(),role:"button"},q.createElement("img",{className:"sid-l-search-icon",src:"https://assets-resources.sheerid.com/common/images/requestOrganization/search.svg",alt:"Search"}))),a?q.createElement("div",{className:"sid-field-error"},q.createElement("span",null,q.createElement(or,{id:`errorId.${a}`,defaultMessage:"An unexpected error occurred"}))):null);var Al=i(9423),xl=i.n(Al);i(3187);function _l(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function Ol(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function kl(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var r=getComputedStyle(e,null);return Ol(r.overflowY,t)||Ol(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 Pl(e,t,r,n,a,o,i,s){return o<e&&i>t||o>e&&i<t?0:o<=e&&s<=r||i>=t&&s>=r?o-e-n:i>t&&s<r||o<e&&s>r?i-t+a:0}var Rl=function(){return Rl=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},Rl.apply(this,arguments)};function Fl(e,t,r,n){return new(r||(r=Promise))((function(a,o){function i(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(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(i,s)}l((n=n.apply(e,t||[])).next())}))}function Ll(e,t){var r,n,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)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 i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(a=i.trys,(a=a.length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}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 Ul(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,o=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)i.push(n.value)}catch(e){a={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i}Object.create;let Bl=0;function Vl(e){return"function"==typeof e?e:jl}function jl(){}function zl(e,t){if(!e)return;const r=function(e,t){var r=window,n=t.scrollMode,a=t.block,o=t.inline,i=t.boundary,s=t.skipOverflowHiddenElements,l="function"==typeof i?i:function(e){return e!==i};if(!_l(e))throw new TypeError("Invalid target");for(var u=document.scrollingElement||document.documentElement,c=[],d=e;_l(d)&&l(d);){if((d=d.parentElement)===u){c.push(d);break}null!=d&&d===document.body&&kl(d)&&!kl(document.documentElement)||null!=d&&kl(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,S=g.bottom,w=g.left,M="start"===a||"nearest"===a?b:"end"===a?S:b+v/2,C="center"===o?w+y/2:"end"===o?E:w,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&&w>=0&&S<=m&&E<=f&&b>=_&&S<=k&&w>=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,j=0,z="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?Pl(h,h+m,m,L,B,h+M,h+M+v,v):M-m/2,j="start"===o?C:"center"===o?C-f/2:"end"===o?C-f:Pl(p,p+f,f,F,U,p+C,p+C+y,y),V=Math.max(0,V+h),j=Math.max(0,j+p);else{V="start"===a?M-_-L:"end"===a?M-k+B+H:"nearest"===a?Pl(_,k,A,L,B+H,M,M+v,v):M-(_+A/2)+H/2,j="start"===o?C-P-F:"center"===o?C-(P+x/2)+z/2:"end"===o?C-O+U+z:Pl(P,O,x,F,U+z,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+=$-(j=Math.max(0,Math.min($+j,D.scrollWidth-x+z)))}I.push({el:D,top:V,left:j})}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 Hl(e,t,r){return e===t||t instanceof r.Node&&e.contains&&e.contains(t)}function $l(e,t){let r;function n(){r&&clearTimeout(r)}function a(){for(var a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];n(),r=setTimeout((()=>{r=null,e(...o)}),t)}return a.cancel=n,a}function ql(){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 Wl(){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 Gl(){return String(Bl++)}function Yl(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 Kl(e,t){return!(e=Array.isArray(e)?e[0]:e)&&t?t:e}function Zl(e){return"string"==typeof e.type}function Jl(e){return e.props}const Xl=["highlightedIndex","inputValue","isOpen","selectedItem","type"];function Ql(e){void 0===e&&(e={});const t={};return Xl.forEach((r=>{e.hasOwnProperty(r)&&(t[r]=e[r])})),t}function eu(e,t){return Object.keys(e).reduce(((r,n)=>(r[n]=tu(t,n)?t[n]:e[n],r)),{})}function tu(e,t){return void 0!==e[t]}function ru(e){const{key:t,keyCode:r}=e;return r>=37&&r<=40&&0!==t.indexOf("Arrow")?`Arrow${t}`:t}function nu(e,t,r,n,a){if(void 0===a&&(a=!0),0===r)return-1;const o=r-1;("number"!=typeof t||t<0||t>=r)&&(t=e>0?-1:o+1);let i=t+e;i<0?i=a?o:0:i>o&&(i=a?0:o);const s=au(e,i,r,n,a);return-1===s?t>=r?-1:t:s}function au(e,t,r,n,a){const o=n(t);if(!o||!o.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?au(1,0,r,n,!1):au(-1,r-1,r,n,!1):-1}function ou(e,t,r,n){return void 0===n&&(n=!0),t.some((t=>t&&(Hl(t,e,r)||n&&Hl(t,r.document.activeElement,r))))}const iu=$l((e=>{lu(e).textContent=""}),500);function su(e,t){const r=lu(t);e&&(r.textContent=e,iu(t))}function lu(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 uu=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 cu=(()=>{class e extends q.Component{constructor(e){var t;super(e),t=this,this.id=this.props.id||`downshift-${Gl()}`,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=Ql(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=Ql(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={},o="function"==typeof e;return!o&&e.hasOwnProperty("inputValue")&&this.props.onInputValueChange(e.inputValue,{...this.getStateAndHelpers(),...e}),this.setState((t=>{t=this.getState(t);let i=o?e(t):e;i=this.props.stateReducer(t,i),r=i.hasOwnProperty("selectedItem");const s={};return r&&i.selectedItem!==t.selectedItem&&(n=i.selectedItem),i.type=i.type||0,Object.keys(i).forEach((e=>{t[e]!==i[e]&&(a[e]=i[e]),"type"!==e&&(i[e],tu(this.props,e)||(s[e]=i[e]))})),o&&i.hasOwnProperty("inputValue")&&this.props.onInputValueChange(i.inputValue,{...this.getStateAndHelpers(),...i}),s}),(()=>{Vl(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,...o}=void 0===e?{}:e,{suppressRefError:i=!1}=void 0===r?{}:r;t.getRootProps.called=!0,t.getRootProps.refKey=n,t.getRootProps.suppressRefError=i;const{isOpen:s}=t.getState();return{[n]:Wl(a,t.rootRef),role:"combobox","aria-expanded":s,"aria-haspopup":"listbox","aria-owns":s?t.menuId:null,"aria-labelledby":t.labelId,...o}},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=nu(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=nu(-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=au(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=au(-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:o,onBlur:i,...s}=void 0===e?{}:e;const{isOpen:l}=t.getState(),u={onClick:ql(r,t.buttonHandleClick),onKeyDown:ql(a,t.buttonHandleKeyDown),onKeyUp:ql(o,t.buttonHandleKeyUp),onBlur:ql(i,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=ru(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:o,onInput:i,onChangeText:s,...l}=void 0===e?{}:e,u={};r="onChange";const{inputValue:c,isOpen:d,highlightedIndex:f}=t.getState();return l.disabled||(u={onChange:ql(o,i,t.inputHandleChange),onKeyDown:ql(n,t.inputHandleKeyDown),onBlur:ql(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=ru(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,...o}=void 0===e?{}:e,{suppressRefError:i=!1}=void 0===r?{}:r;return t.getMenuProps.called=!0,t.getMenuProps.refKey=n,t.getMenuProps.suppressRefError=i,{[n]:Wl(a,t.menuRef),role:"listbox","aria-labelledby":o&&o["aria-label"]?null:t.labelId,id:t.menuId,...o}},this.getItemProps=function(e){let{onMouseMove:r,onMouseDown:n,onClick:a,onPress:o,index:i,item:s,...l}=void 0===e?{}:e;void 0===i?(t.items.push(s),i=t.items.indexOf(s)):t.items[i]=s;const u=a,c={onMouseMove:ql(r,(()=>{i!==t.getState().highlightedIndex&&(t.setHighlightedIndex(i,{type:2}),t.avoidScrolling=!0,t.internalSetTimeout((()=>t.avoidScrolling=!1),250))})),onMouseDown:ql(n,(e=>{e.preventDefault()})),onClick:ql(u,(()=>{t.selectItemAtIndex(i,{type:9})}))},d=l.disabled?{onMouseDown:c.onMouseDown}:c;return{id:t.getItemId(i),role:"option","aria-selected":t.getState().highlightedIndex===i,...d,...l}},this.clearItems=()=>{this.items=[]},this.reset=function(e,r){void 0===e&&(e={}),e=Ql(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=Ql(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),Vl(r)()}))},this.openMenu=e=>{this.internalSetState({isOpen:!0},e)},this.closeMenu=e=>{this.internalSetState({isOpen:!1},e)},this.updateStatus=$l((()=>{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,su(n,this.props.environment.document)}),200);const{defaultHighlightedIndex:r,initialHighlightedIndex:n=r,defaultIsOpen:a,initialIsOpen:o=a,initialInputValue:i="",initialSelectedItem:s=null}=this.props,l=this.getState({highlightedIndex:n,isOpen:o,inputValue:i,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),eu(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=nu(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:o}=this,{getRootProps:i,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:S,setItemCount:w,unsetItemCount:M,internalSetState:C}=this;return{getRootProps:i,getToggleButtonProps:s,getLabelProps:l,getMenuProps:u,getInputProps:c,getItemProps:d,reset:S,openMenu:f,closeMenu:m,toggleMenu:p,selectItem:h,selectItemAtIndex:g,selectHighlightedItem:v,setHighlightedIndex:y,clearSelection:b,clearItems:E,setItemCount:w,unsetItemCount:M,setState:C,itemToString:a,id:o,highlightedIndex:e,inputValue:t,isOpen:n,selectedItem:r}}componentDidMount(){{const e=()=>{this.isMouseDown=!0},t=e=>{this.isMouseDown=!1;!ou(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=ou(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:o}=this.props;o.addEventListener("mousedown",e),o.addEventListener("mouseup",t),o.addEventListener("touchstart",r),o.addEventListener("touchmove",n),o.addEventListener("touchend",a),this.cleanup=()=>{this.internalClearTimeouts(),this.updateStatus.cancel(),o.removeEventListener("mousedown",e),o.removeEventListener("mouseup",t),o.removeEventListener("touchstart",r),o.removeEventListener("touchmove",n),o.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){tu(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=Kl(this.props.children,jl);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=Kl(e(this.getStateAndHelpers()));return t?this.getRootProps.called||this.props.suppressRefError?t:Zl(t)?(0,q.cloneElement)(t,this.getRootProps(Jl(t))):void 0:null}}return e.defaultProps={defaultHighlightedIndex:null,defaultIsOpen:!1,getA11yStatusMessage:Yl,itemToString:e=>null==e?"":String(e),onStateChange:jl,onInputValueChange:jl,onUserAction:jl,onChange:jl,onSelect:jl,onOuterClick:jl,selectedItemChanged:(e,t)=>e!==t,environment:"undefined"==typeof window?{}:window,stateReducer:(e,t)=>t,suppressRefError:!1,scrollIntoView:zl},e.stateChangeTypes=uu,e})();var du=cu;const fu={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};function mu(e,t,r){const{props:n,type:a}=e,o={};Object.keys(t).forEach((n=>{!function(e,t,r,n){const{props:a,type:o}=t,i=`on${yu(e)}Change`;a[i]&&void 0!==n[e]&&n[e]!==r[e]&&a[i]({type:o,...n})}(n,e,t,r),r[n]!==t[n]&&(o[n]=r[n])})),n.onStateChange&&Object.keys(o).length&&n.onStateChange({type:a,...o})}const pu=$l(((e,t)=>{su(e(),t)}),200),hu="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?q.useLayoutEffect:q.useEffect;function gu(e){let{id:t=`downshift-${Gl()}`,labelId:r,menuId:n,getItemId:a,toggleButtonId:o,inputId:i}=e;return(0,q.useRef)({labelId:r||`${t}-label`,menuId:n||`${t}-menu`,getItemId:a||(e=>`${t}-item-${e}`),toggleButtonId:o||`${t}-toggle-button`,inputId:i||`${t}-input`}).current}function vu(e,t,r){return void 0!==e?e:0===r.length?-1:r.indexOf(t)}function yu(e){return`${e.slice(0,1).toUpperCase()}${e.slice(1)}`}function bu(e){const t=(0,q.useRef)(e);return t.current=e,t}function Eu(e,t,r){const n=(0,q.useRef)(),a=(0,q.useRef)(),o=(0,q.useCallback)(((t,r)=>{a.current=r,t=eu(t,r.props);const n=e(t,r);return r.props.stateReducer(t,{...r,changes:n})}),[e]),[i,s]=(0,q.useReducer)(o,t),l=bu(r),u=(0,q.useCallback)((e=>s({props:l.current,...e})),[l]),c=a.current;return(0,q.useEffect)((()=>{c&&n.current&&n.current!==i&&mu(c,eu(n.current,c.props),i),n.current=i}),[i,r,c]),[i,u]}const Su={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:zl,circularNavigation:!1,environment:"undefined"==typeof window?{}:window};function wu(e,t,r){void 0===r&&(r=fu);const n=e[`default${yu(t)}`];return void 0!==n?n:r[t]}function Mu(e,t,r){void 0===r&&(r=fu);const n=e[t];if(void 0!==n)return n;const a=e[`initial${yu(t)}`];return void 0!==a?a:wu(e,t,r)}function Cu(e){const t=Mu(e,"selectedItem"),r=Mu(e,"isOpen"),n=Mu(e,"highlightedIndex"),a=Mu(e,"inputValue");return{highlightedIndex:n<0&&t&&r?e.items.indexOf(t):n,isOpen:r,selectedItem:t,inputValue:a}}function Iu(e,t,r,n){const{items:a,initialHighlightedIndex:o,defaultHighlightedIndex:i}=e,{selectedItem:s,highlightedIndex:l}=t;return 0===a.length?-1:void 0!==o&&l===o?o:void 0!==i?i:s?0===r?a.indexOf(s):nu(r,a.indexOf(s),a.length,n,!1):0===r?-1:r<0?a.length-1:0}function Nu(e,t,r,n){const a=(0,q.useRef)({isMouseDown:!1,isTouchMove:!1});return(0,q.useEffect)((()=>{const o=()=>{a.current.isMouseDown=!0},i=o=>{a.current.isMouseDown=!1,e&&!ou(o.target,t.map((e=>e.current)),r)&&n()},s=()=>{a.current.isTouchMove=!1},l=()=>{a.current.isTouchMove=!0},u=o=>{!e||a.current.isTouchMove||ou(o.target,t.map((e=>e.current)),r,!1)||n()};return r.addEventListener("mousedown",o),r.addEventListener("mouseup",i),r.addEventListener("touchstart",s),r.addEventListener("touchmove",l),r.addEventListener("touchend",u),function(){r.removeEventListener("mousedown",o),r.removeEventListener("mouseup",i),r.removeEventListener("touchstart",s),r.removeEventListener("touchmove",l),r.removeEventListener("touchend",u)}}),[e,r]),a}let Du=()=>jl;function Tu(e,t,r){let{isInitialMount:n,highlightedIndex:a,items:o,environment:i,...s}=r;(0,q.useEffect)((()=>{n||pu((()=>e({highlightedIndex:a,highlightedItem:o[a],resultCount:o.length,...s})),i.document)}),t)}function Au(e){let{highlightedIndex:t,isOpen:r,itemRefs:n,getItemNodeFromIndex:a,menuElement:o,scrollIntoView:i}=e;const s=(0,q.useRef)(!0);return hu((()=>{t<0||!r||!Object.keys(n.current).length||(!1===s.current?s.current=!0:i(a(t),o))}),[t]),s}let xu=jl;function _u(e,t,r){const{type:n,props:a}=t;let o;switch(n){case r.ItemMouseMove:o={highlightedIndex:t.disabled?-1:t.index};break;case r.MenuMouseLeave:o={highlightedIndex:-1};break;case r.ToggleButtonClick:case r.FunctionToggleMenu:o={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:Iu(a,e,0)};break;case r.FunctionOpenMenu:o={isOpen:!0,highlightedIndex:Iu(a,e,0)};break;case r.FunctionCloseMenu:o={isOpen:!1};break;case r.FunctionSetHighlightedIndex:o={highlightedIndex:t.highlightedIndex};break;case r.FunctionSetInputValue:o={inputValue:t.inputValue};break;case r.FunctionReset:o={highlightedIndex:wu(a,"highlightedIndex"),isOpen:wu(a,"isOpen"),selectedItem:wu(a,"selectedItem"),inputValue:wu(a,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return{...e,...o}}He().array.isRequired,He().func,He().func,He().func,He().bool,He().number,He().number,He().number,He().bool,He().bool,He().bool,He().any,He().any,He().any,He().string,He().string,He().string,He().func,He().string,He().func,He().func,He().func,He().func,He().func,He().shape({addEventListener:He().func,removeEventListener:He().func,document:He().shape({getElementById:He().func,activeElement:He().any,body:He().any})});Rl(Rl({},Su),{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 Ou=0,ku=1,Pu=2,Ru=3,Fu=4,Lu=5,Uu=6,Bu=7,Vu=10,ju=16,zu=19;var Hu=Object.freeze({__proto__:null,InputKeyDownArrowDown:Ou,InputKeyDownArrowUp:ku,InputKeyDownEscape:Pu,InputKeyDownHome:Ru,InputKeyDownEnd:Fu,InputKeyDownEnter:Lu,InputChange:Uu,InputBlur:Bu,MenuMouseLeave:8,ItemMouseMove:9,ItemClick:Vu,ToggleButtonClick:11,FunctionToggleMenu:12,FunctionOpenMenu:13,FunctionCloseMenu:14,FunctionSetHighlightedIndex:15,FunctionSelectItem:ju,FunctionSetInputValue:17,FunctionReset:18,ControlledPropUpdatedSelectedItem:zu});He().array.isRequired,He().func,He().func,He().func,He().bool,He().number,He().number,He().number,He().bool,He().bool,He().bool,He().any,He().any,He().any,He().string,He().string,He().string,He().string,He().string,He().string,He().func,He().string,He().string,He().func,He().func,He().func,He().func,He().func,He().func,He().shape({addEventListener:He().func,removeEventListener:He().func,document:He().shape({getElementById:He().func,activeElement:He().any,body:He().any})});let $u=jl;const qu={...Su,getA11yStatusMessage:Yl,circularNavigation:!0};function Wu(e,t){const{type:r,props:n,shiftKey:a}=t;let o;switch(r){case Vu:o={isOpen:wu(n,"isOpen"),highlightedIndex:wu(n,"highlightedIndex"),selectedItem:n.items[t.index],inputValue:n.itemToString(n.items[t.index])};break;case Ou:o=e.isOpen?{highlightedIndex:nu(a?5:1,e.highlightedIndex,n.items.length,t.getItemNodeFromIndex,n.circularNavigation)}:{highlightedIndex:Iu(n,e,1,t.getItemNodeFromIndex),isOpen:n.items.length>=0};break;case ku:o=e.isOpen?{highlightedIndex:nu(a?-5:-1,e.highlightedIndex,n.items.length,t.getItemNodeFromIndex,n.circularNavigation)}:{highlightedIndex:Iu(n,e,-1,t.getItemNodeFromIndex),isOpen:n.items.length>=0};break;case Lu:o={...e.isOpen&&e.highlightedIndex>=0&&{selectedItem:n.items[e.highlightedIndex],isOpen:wu(n,"isOpen"),highlightedIndex:wu(n,"highlightedIndex"),inputValue:n.itemToString(n.items[e.highlightedIndex])}};break;case Pu:o={isOpen:!1,highlightedIndex:-1,...!e.isOpen&&{selectedItem:null,inputValue:""}};break;case Ru:o={highlightedIndex:au(1,0,n.items.length,t.getItemNodeFromIndex,!1)};break;case Fu:o={highlightedIndex:au(-1,n.items.length-1,n.items.length,t.getItemNodeFromIndex,!1)};break;case Bu:o={isOpen:!1,highlightedIndex:-1,...e.highlightedIndex>=0&&t.selectItem&&{selectedItem:n.items[e.highlightedIndex],inputValue:n.itemToString(n.items[e.highlightedIndex])}};break;case Uu:o={isOpen:!0,highlightedIndex:wu(n,"highlightedIndex"),inputValue:t.inputValue};break;case ju:o={selectedItem:t.selectedItem,inputValue:n.itemToString(t.selectedItem)};break;case zu:o={inputValue:t.inputValue};break;default:return _u(e,t,Hu)}return{...e,...o}}function Gu(e){void 0===e&&(e={}),$u(e,Gu);const t={...qu,...e},{initialIsOpen:r,defaultIsOpen:n,items:a,scrollIntoView:o,environment:i,getA11yStatusMessage:s,getA11ySelectionMessage:l,itemToString:u}=t,c=function(e){const t=Cu(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,o]=Eu(e,t,r);return(0,q.useEffect)((()=>{tu(r,"selectedItem")&&(n.current!==r.selectedItem&&o({type:zu,inputValue:r.itemToString(r.selectedItem)}),n.current=a.selectedItem===n.current?r.selectedItem:a.selectedItem)})),[eu(a,r),o]}(Wu,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),S=(0,q.useRef)(null),w=(0,q.useRef)(!0),M=gu(t),C=(0,q.useRef)(),I=bu({state:d,props:t}),N=(0,q.useCallback)((e=>y.current[M.getItemId(e)]),[M]);Tu(s,[m,p,g,a],{isInitialMount:w.current,previousResultCount:C.current,items:a,environment:i,itemToString:u,...d}),Tu(l,[h],{isInitialMount:w.current,previousResultCount:C.current,items:a,environment:i,itemToString:u,...d});const D=Au({menuElement:v.current,highlightedIndex:p,isOpen:m,itemRefs:y,scrollIntoView:o,getItemNodeFromIndex:N});xu({isInitialMount:w.current,props:t,state:d}),(0,q.useEffect)((()=>{(r||n||m)&&b.current&&b.current.focus()}),[]),(0,q.useEffect)((()=>{w.current||(C.current=a.length)}));const T=Nu(m,[S,v,E],i,(()=>{f({type:Bu,selectItem:!1})})),A=Du("getInputProps","getComboboxProps","getMenuProps");(0,q.useEffect)((()=>{w.current=!1}),[]),(0,q.useEffect)((()=>{m||(y.current={})}),[m]);const x=(0,q.useMemo)((()=>({ArrowDown(e){e.preventDefault(),f({type:Ou,shiftKey:e.shiftKey,getItemNodeFromIndex:N})},ArrowUp(e){e.preventDefault(),f({type:ku,shiftKey:e.shiftKey,getItemNodeFromIndex:N})},Home(e){I.current.state.isOpen&&(e.preventDefault(),f({type:Ru,getItemNodeFromIndex:N}))},End(e){I.current.state.isOpen&&(e.preventDefault(),f({type:Fu,getItemNodeFromIndex:N}))},Escape(e){const t=I.current.state;(t.isOpen||t.inputValue||t.selectedItem||t.highlightedIndex>-1)&&(e.preventDefault(),f({type:Pu}))},Enter(e){const t=I.current.state;!t.isOpen||t.highlightedIndex<0||229===e.which||(e.preventDefault(),f({type:Lu,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,...o}=void 0===e?{}:e,{suppressRefError:i=!1}=void 0===t?{}:t;return A("getMenuProps",i,n,v),{[n]:Wl(a,(e=>{v.current=e})),id:M.menuId,role:"listbox","aria-labelledby":M.labelId,onMouseLeave:ql(r,(()=>{f({type:8})})),...o}}),[f,A,M]),k=(0,q.useCallback)((function(e){let{item:t,index:r,refKey:n="ref",ref:a,onMouseMove:o,onMouseDown:i,onClick:s,onPress:l,disabled:u,...c}=void 0===e?{}:e;const{props:d,state:m}=I.current,p=vu(r,t,d.items);if(p<0)throw new Error("Pass either item or item index in getItemProps!");const h=s;return{[n]:Wl(a,(e=>{e&&(y.current[M.getItemId(p)]=e)})),disabled:u,role:"option","aria-selected":`${p===m.highlightedIndex}`,id:M.getItemId(p),...!u&&{onClick:ql(h,(()=>{f({type:Vu,index:r})}))},onMouseMove:ql(o,(()=>{r!==m.highlightedIndex&&(D.current=!1,f({type:9,index:r,disabled:u}))})),onMouseDown:ql(i,(e=>e.preventDefault())),...c}}),[f,I,D,M]),P=(0,q.useCallback)((function(e){let{onClick:t,onPress:r,refKey:n="ref",ref:a,...o}=void 0===e?{}:e;return{[n]:Wl(a,(e=>{E.current=e})),id:M.toggleButtonId,tabIndex:-1,...!o.disabled&&{onClick:ql(t,(()=>{f({type:11}),!I.current.state.isOpen&&b.current&&b.current.focus()}))},...o}}),[f,I,M]),R=(0,q.useCallback)((function(e,t){let{onKeyDown:r,onChange:n,onInput:a,onBlur:o,onChangeText:i,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=ru(e);t&&x[t]&&x[t](e)},p=e=>{f({type:Uu,inputValue:e.target.value})},h=()=>{d.isOpen&&!T.current.isMouseDown&&f({type:Bu,selectItem:!0})};let g={};return u.disabled||(g={onChange:ql(n,a,p),onKeyDown:ql(r,m),onBlur:ql(o,h)}),{[s]:Wl(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:o=!1}=void 0===t?{}:t;return A("getComboboxProps",o,r,S),{[r]:Wl(n,(e=>{S.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]),j=(0,q.useCallback)((e=>{f({type:ju,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:j,reset:(0,q.useCallback)((()=>{f({type:18})}),[f]),highlightedIndex:p,isOpen:m,selectedItem:h,inputValue:g}}Gu.stateChangeTypes=Hu;He().array,He().array,He().array,He().func,He().func,He().func,He().number,He().number,He().number,He().func,He().func,He().string,He().string,He().shape({addEventListener:He().func,removeEventListener:He().func,document:He().shape({getElementById:He().func,activeElement:He().any,body:He().any})});const Yu=({getItemProps:e,getMenuProps:t,highlightedIndex:r,options:n,itemToString:a,ariaLabel:o,isOpen:i})=>q.createElement("div",t({"aria-label":o}),i?q.createElement("div",{className:"sid-input-select-list__menu"},n.length>0?Mr()(n).call(n,((t,o)=>((t,o)=>q.createElement("div",Po({className:"sid-input-select-list__item "+(r===o?"sid-input-select-list__item--highlighted":"")},e({item:t,index:o,key:t.value})),a(n[o])))(t,o))):q.createElement("div",{className:"sid-input-select-list__message"},q.createElement(or,{id:"noOptions",defaultMessage:"No Options"}))):null),Ku=({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",Po({},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"}))),Zu=({className:e,inputId:t,disabled:r,fieldId:n,fieldLabelId:a,isErrored:i,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)=>o()(e).call(e,(e=>{var r,n;return!t||Ho()(r=e.label.toLowerCase()).call(r,t.toLowerCase())||Ho()(n=e.value.toString().toLowerCase()).call(n,t.toLowerCase())})),E=(0,q.useRef)(null);return(0,q.useEffect)((()=>{Ks(n,E.current)})),q.createElement(du,{id:t,onChange:u,itemToString:y,selectedItem:f&&f.value&&f.label?f:"",defaultHighlightedIndex:0},(({clearSelection:n,getInputProps:o,getItemProps:u,getMenuProps:f,getToggleButtonProps:S,highlightedIndex:w,inputValue:M,isOpen:C,openMenu:I,selectedItem:N,selectHighlightedItem:D})=>q.createElement("div",{className:`sid-input-select-list ${e||""}`},q.createElement("input",Po({},o({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":""} ${i?"sid-text-input--error":""}`,disabled:r,placeholder:c,"aria-required":h,"aria-labelledby":a,role:v})),q.createElement(Ku,{disabled:r,getToggleButtonProps:S,isOpen:C,clearSelection:N?n:void 0,buttonRef:g}),q.createElement(Yu,{highlightedIndex:w,itemToString:y,options:b(s,M),getItemProps:u,getMenuProps:f,ariaLabel:p,isOpen:C}))))};Zu.defaultProps={className:void 0,disabled:!1,inputId:void 0,isErrored:!1,onKeyDown:void 0,placeholder:"",value:void 0};const Ju=Zu,Xu=Rt((({value:e,isErrored:t,options:r,onChange:n,onKeyDown:a,intl:o,placeholder:i="",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(yl,{text:q.createElement(or,{id:"country",defaultMessage:"Country"}),htmlForLabel:l,id:`${l}-label`,isRequired:s}),q.createElement(Ju,{fieldId:"country",inputId:l,fieldLabelId:`${l}-label`,isErrored:t,options:r,onChange:e=>n(e),onKeyDown:a,placeholder:i||o.formatHTMLMessage({id:"countryPlaceholder",defaultMessage:"Country"}),value:xl()(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)})),Qu=({getItemProps:e,getMenuProps:t,highlightedIndex:r,options:n,itemToString:a})=>{const o=42*n.length;return q.createElement("div",Po({className:"sid-input-select-list__menu"},t(),{tabIndex:-1,style:{height:Math.min(o,280)}}),Mr()(n).call(n,((t,o)=>((t,o)=>q.createElement("div",Po({className:"sid-select-list__item "+(r===o?"sid-select-list__item--highlighted":""),key:o},e({index:o,item:t})),a(n[o])))(t,o))))},ec=({getToggleButtonProps:e,isOpen:t})=>q.createElement("button",Po({},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"}))),tc=({className:e,hideDropDownButton:t,isErrored:r,options:n,onChange:a,overrideInputClassName:o,placeholder:i,value:s})=>{const l=e=>e?e.label:"";return q.createElement(du,{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",Po({},a({onFocus:m}),c,{className:`\n sid-l-full-width\n ${o||"sid-select-input"}\n ${r?"sid-select-input--error":""}\n `,placeholder:i,readOnly:!0})),t?null:q.createElement(ec,{getToggleButtonProps:c,isOpen:f}),f?q.createElement("div",null,n.length>0?q.createElement(Qu,{highlightedIndex:d,itemToString:l,options:n,getItemProps:s,getMenuProps:u}):q.createElement("div",Po({className:"sid-select-list__menu"},u()),q.createElement("div",{className:"sid-select-list__message"},q.createElement(or,{id:"noOptions",defaultMessage:"No Options"})))):null)))};tc.defaultProps={className:void 0,hideDropDownButton:!1,isErrored:!1,overrideInputClassName:void 0,placeholder:"",value:void 0};const rc=tc,nc=Rt((({value:e,options:t,onChange:r,intl:n})=>{const a=Mr()(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(rc,{className:"sid-change-locale__select",hideDropDownButton:!0,options:a,onChange:e=>r(e),overrideInputClassName:"sid-change-locale__input",value:xl()(a).call(a,(t=>t.value===(e&&e.value)))}),q.createElement("div",{className:"sid-l-space-btm-sm"}))})),ac=Rt((({verificationService:e,intl:t})=>{const r=fl(e.programTheme,t);return r.length<=1?null:q.createElement(nc,{options:r,value:e.viewModel.localeChoice||{value:"en-US",label:"English"},isErrored:!1,onChange:t=>(t=>{const r=$s(e.viewModel,(e=>{e.localeChoice=t}));e.updateLocale(r,e.programTheme,e.verificationResponse.segment)})(t)})})),oc=()=>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"}));Rt((({intl:e})=>{const[t,r]=q.useContext(Oo),{viewModel:n}=t,{programTheme:a}=t,o=fl(a,e),i=cl(a,e),s=ml(i),l=e=>{r({type:"UPDATE_VIEW_MODEL",payload:e})},u=function(){var e=hr((function*(e,t){const r=[],n=[];l({isSearching:!0});try{const[a,o]=yield vr().all([sa(e),sa(t)]),[i,s]=((e,t)=>{var r,n;const a=[],o=[],i=va()(r=e).call(r,((e,t)=>(e[t.name]=!0,a.push(t),e)),{});return d()(n=t).call(n,(e=>{i[e.name]||o.push(e)})),[a,o]})(a,o);r.push(...i),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=hr((function*(){if(!y())return;const e=(e=>{let t=e;try{t=new(br())(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=hr((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(br())(a.config.orgSearchUrl),o=n.countryChoice.value,i=Ya(a,o),{origin:s,pathname:l,search:u}=r,c=new(Sr())(u);return c.set(e,t),c.set("country",o),i&&c.set("tags",i),[`${s}${l}?${c.toString()}`,`${s}${l}?type=UNIVERSITY,K12,POST_SECONDARY,HIGH_SCHOOL&country=${o}&${e}=${t}`]},p=()=>n.orgDomain?mn.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=ji("firstName",n.firstName),o=ji("lastName",n.lastName),i=ji("email",n.email);return l({orgCountryError:e,orgDomainError:t,orgNameError:r,firstNameError:a,lastNameError:o,emailError:i}),!(e||t||r||a||o||i)},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?Ba(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-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-logo__img",alt:"Logo",src:E||mn.SHEERID_LOGO_URL})),q.createElement("div",{className:"sid-logo sid-l-space-top-md"},q.createElement("img",{className:"sid-logo__icon",alt:"School House",src:mn.SCHOOL_HOUSE_URL})),o.length>1?q.createElement(nc,{options:o,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(Xu,{value:n.countryChoice,isErrored:!!n.orgCountryError,onChange:e=>{l({countryChoice:e,orgCountryError:null})},options:i,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(Tl,{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(Tl,{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(Dl,{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<mn.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(wl,{value:n.firstName,isErrored:!!n.firstNameError,onChange:e=>{l({firstName:e})}}),q.createElement(Ml,{value:n.lastName,isErrored:!!n.lastNameError,onChange:e=>{l({lastName:e})}})),q.createElement(Cl,{value:n.email,isErrored:!!n.emailError,onChange:e=>{l({email:e})},explanation:" "})),q.createElement("div",{className:"sid-l-space-top-lg"},q.createElement("button",{type:"submit",className:"sid-btn sid-btn--dark",onClick:e=>{e.preventDefault(),ua(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"},q.createElement(oc,null)):null)}));var ic=i(5869);const sc={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","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:"University / College name",schoolNamePlaceholder:"University / College name",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 submitted does not meet the date requirements 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 shows a status that is not sufficient for establishing 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)"}},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:"\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 "},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:"Can't sign in to your email?",login:"Sign in to my school"},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."},lc={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:"\n This offer is available to all US first responders and emergency personnel - including law enforcement,\n EMTs, paramedics, and firefighters.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you are an active first responder. SheerID\n 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:"",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"}}},uc={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:"\n This offer is available to military personnel who have served or are currently serving in the United States Armed Forces.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you are a member of the military. SheerID only collects information\n 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:"",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"}}},cc={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock Your Special Offer",subtitle:"Verify your current age.",howDoesVerifyingWorkDetails:"\n To be eligible for this offer, you must be of a certain age.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify your age. SheerID only collects information that assists in\n 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:"",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"}}},dc={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock Your Special Offer",subtitle:"Verify your current age.",howDoesVerifyingWorkDetails:"\n To be eligible for this offer, you must be of a certain age.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify your age. SheerID only collects information that assists in\n 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:"",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"}}},fc={emailExplanation:"A student email address is preferred",schoolName:"University / college name",step:{personalInfo:{title:"Unlock this Student-Only Offer",subtitle:"Verify you're a student at a degree-granting school.",howDoesVerifyingWorkDetails:"\n To be eligible for this offer, you must currently be enrolled in a degree\n or certificate-granting, accredited school of education.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you are a current student. SheerID only\n collects information that assists in verifying your eligibility.\n 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:"",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:{cancel:"Upload Proof of Enrollment"}}},mc={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:"\n To be eligible for this offer, you must currently be employed as a teacher, faculty or staff at a K-12\n school or university in the United States.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you are a current teacher, faculty or staff\n member. SheerID only collects information that assists in verifying your eligibility. Additional information\n 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:"",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"}}},pc={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.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you are currently employed. SheerID only collects\n 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:"",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"}}},hc={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\n and (2) be a member of an eligible branch of the medical profession. Eligible branches are shown in the Status\n selector of this form.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a medical professional.\n SheerID only collects information that assists in verifying your eligibility.\n 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:"",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"},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:"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.\n <br><br>\n {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:"",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"}}},vc={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:sc.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"},yc={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock Your Special Offer",subtitle:"Verify your current identity.",howDoesVerifyingWorkDetails:"\n To be eligible for this offer, you must have a valid driver license.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify your identity. SheerID only collects information that assists in\n 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:"",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"}}},bc={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:"\n 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.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you are a licensed professional.\n 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:"",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"}}},Ec={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock this Special Offer",subtitle:"Verify you have recently moved.",howDoesVerifyingWorkDetails:"\n To be eligible for this offer, you must have moved to a new address within the last 60 days.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you have recently moved. SheerID only\n collects information that assists in verifying your eligibility.\n 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:"",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"}}},Sc={emailExplanation:"",addressExplanation:"Use your home address",step:{personalInfo:{title:"Unlock this Special Offer",subtitle:"Verify you qualify for an eligible government assistance program.",howDoesVerifyingWorkDetails:"\n 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. \n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you are a recipient of these benefits. \n 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:"",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"}}},wc={defaultMessages:sc,pluralizationsAndDateLocaleData:i.n(ic)(),requestOrganizationMessages:vc,segmentMessages:{firstResponder:lc,military:uc,senior:cc,age:dc,student:fc,teacher:mc,member:pc,medical:hc,employment:gc,identity:yc,licensedProfessional:bc,recentMover:Ec,lowIncome:Sc}},Mc={verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"error",segment:"student",subSegment:null,redirectUrl:"https://sheerid.com",errorIds:["internalServerError"],locale:"en-US"},Cc={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:Mc,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:Mc},Ic=(wc.defaultMessages.countries,wc.defaultMessages.locales,e=>{try{const t=new(Sr())(window.location.search);if(t.get(e))return t.get(e);if(wn().hasOwnProperty(e))return wn()[e]}catch(e){he.error(e)}}),Nc=(e=undefined)=>{try{const t=new(Sr())(window.location.search);let r;const n=ie((()=>e.segment));return t.get(rn)?r=t.get(rn):wn().mockStep&&(r=wn().mockStep),r===Se.collect?Me[n]:r}catch(e){he.error(e,"getRouteOverride")}},Dc=()=>Ic(nn),Tc=()=>Ic(an),Ac=()=>Ic(cn),xc=()=>Ac(),_c=()=>Ic(sn),Oc=()=>Ic(ln),kc=e=>{const t=oe(e),r=Ic(on),n=Oc();return r&&(t.errorIds=[r]),n&&(t.redirectUrl=n),t},Pc=function(){var e=hr((function*(e,t){let r=wn().mockResponse||Cc[e];if(e&&r)switch(he.info(`getOverriddenMock: mocking ${e} response`),e){case ve.error:r=kc(r);break;case ve.success:r=(e=>{const t=oe(e),r=_c(),n=Oc();return r&&(t.rewardCode=r),n&&(t.redirectUrl=n),t})(r);break;case ve.consolation:r=(e=>{const t=oe(e),r=_c();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,Dc()&&(r.segment=Dc(),he.info(`getOverriddenMock: mocking segment '${r.segment}'`)),Tc()&&(r.subSegment=Tc(),he.info(`getOverriddenMock: mocking subSegment '${r.subSegment}'`))),vr().resolve(r)}));return function(t,r){return e.apply(this,arguments)}}(),Rc=({step:e})=>q.createElement("div",{className:"sid-loading-screen__message"},Ho()(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"}))),Fc=({step:e=xc()})=>q.createElement("div",{className:"sid-loading-screen"},q.createElement(oc,null),e&&q.createElement(Rc,{step:e}));let Lc={};const Uc=(e,t)=>{he.log(`overrideComponent registering ${e}`),Lc[e]=t},Bc=()=>{Lc={}};var Vc=i(1057),jc=i.n(Vc);function zc(e){return Hc.apply(this,arguments)}function Hc(){return Hc=hr((function*(e){try{he.info("fetchExistingVerificationRequest: Calling back-end for existing verification request");const t=Hn(e),r=yield Fn(t),n=Nc(r),a=yield Pc(n,r);return a||r}catch(e){he.error(e,"fetchExistingVerificationRequest")}})),Hc.apply(this,arguments)}var $c=i(6607),qc=i.n($c);const Wc=function(){var e=hr((function*(e,t){Qr(e),Xr(t);const r=`${`${wn().restApi.serviceUrl}${wn().restApi.resources.conversion.base}`}verification/${e}`;return yield Pn(r,t)}));return function(t,r){return e.apply(this,arguments)}}(),Gc=function(){var e=hr((function*(e,t,r){Qr(e),Jr(t),Xr(r);const n=`${`${wn().restApi.serviceUrl}${wn().restApi.resources.conversion.base}`}account/${e}/trackingId/${t}`;return yield Pn(n,r)}));return function(t,r,n){return e.apply(this,arguments)}}(),Yc=window.addEventListener?"addEventListener":"attachEvent",Kc="attachEvent"===Yc?"onmessage":"message",Zc="sid-verificationId",Jc="verificationId",Xc=e=>{if(e&&e.data&&"object"==typeof e.data&&e.data.hasOwnProperty(Jc)){const t=e.data[Jc];Qc(t)}},Qc=e=>{const t=wn().cookies;qc().remove(Zc,t),t.enabled?(qc().set(Zc,e,t),he.info(`Set cookie ${Zc} with value ${e}`)):he.info("Cookies disabled")},ed=e=>{var t;t={[Jc]:e},window.parent&&window.parent.postMessage&&"function"==typeof window.parent.postMessage&&window.parent.postMessage(t,"*"),Qc(e)},td=(e=undefined)=>{let t;if(void 0!==e)t=e,Jr(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},rd={convert:e=>{let t;try{t=qc().get(Zc),t?Wc(t,e):he.info("verificationId not found from cookie")}catch(e){he.error(e,"Conversion error")}},convertByVerificationId:Wc,convertByTrackingId:Gc,listenForVerificationId:()=>{var e;he.info("Listening for verificationId"),Zr(e=Xc),window[Yc](Kc,(t=>{e(t)}),!1)}};function nd(){return nd=hr((function*(e,t=undefined,r=!1,n={}){const a=td(t);try{let t;Yr(e);const o=window.location.search;let i;if(r||(i=wn().verificationId||_r(o)),i&&(he.info("fetchNewVerificationRequest: Calling for existing verification request"),t=yield zc(i)),!i||t.currentStep===ve.error){const r=$n(),o={programId:e};a&&(he.info(`Adding trackingId ${a}`),o.trackingId=a);const i=Xn();i&&(he.info(`Adding installPageUrl ${i}`),o.installPageUrl=i),t=yield Pn(r,o,n),t.locale=xa()}const s=Nc(t),l=yield Pc(s,t);return l?(l.locale=xa(),l):t}catch(e){throw he.error(e,"fetchNewVerificationRequest"),e}})),nd.apply(this,arguments)}function ad(){return ad=hr((function*(e,t){if(!wn().doFetchTheme)return To();he.info("fetchProgramTheme: Calling back-end for program theme");try{Yr(e),t&&qr(t);const r=t||xa();return yield Fn(qn(e,r))}catch(e){throw he.error(e,"fetchProgramTheme"),e}})),ad.apply(this,arguments)}function od(){return od=hr((function*(e){he.info("Resending new sms code");try{const t=Gn(e);return yield Ln(t)}catch(e){he.error(e,"getResendNewSmsCode")}})),od.apply(this,arguments)}function id(){return id=hr((function*(e){he.info("Resending new email code");try{const t=Yn(e);return yield Ln(t)}catch(e){he.error(e,"getResendNewEmailCode")}})),id.apply(this,arguments)}const sd={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:jc()(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:Ho()(t=e.statuses).call(t,"OTHER_GOVERNMENT_ASSISTANCE")?e.organization:void 0,deviceFingerprintHash:e.deviceFingerprintHash,ebtCardNumber:Ho()(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 ld(){return ld=hr((function*(e,t,r){let n;const{docUpload:a,cancelSocialSecurityNumber:o,sso:i,cancelEmailLoop:s,cancelDocUpload:l}=ve;try{if(e===a){const e=r,{file1:a,file2:o,file3:i}=e;return n=yield Bn(t.submissionUrl,[a,o,i]),n}if(e===o||e===i)return n=yield Rn(t.cancelUrl),n;if(e===s)return n=yield Rn(t.cancelUrl),n;if(e===l)return n=yield Rn(t.submissionUrl),n;const u=sd[e](r);return n=yield Pn(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}()}})),ld.apply(this,arguments)}function ud(){return ud=hr((function*(e,t,r){return zr(e),ve[e]?function(e,t,r){return ld.apply(this,arguments)}(e,t,r):vr().reject(new Error(`Unknown step ${e}`))})),ud.apply(this,arguments)}function cd(e,t,r){return dd.apply(this,arguments)}function dd(){return(dd=hr((function*(e,t,r){if(ve[t]){const n=sd[t](r),a=yield Pn(Kn(e,t),n);return"error"===a.currentStep&&vr().reject(new Error(`Failed to determine fields to collect: ${a}`)),a}return vr().reject(new Error(`Unknown step ${t}`))}))).apply(this,arguments)}const fd={fetchNewVerificationRequest:function(e){return nd.apply(this,arguments)},fetchExistingVerificationRequest:zc,fetchProgramTheme:function(e,t){return ad.apply(this,arguments)},getResendNewSmsCode:function(e){return od.apply(this,arguments)},getResendNewEmailCode:function(e){return id.apply(this,arguments)},submitStep:function(e,t,r){return ud.apply(this,arguments)}},md=["children"],pd=e=>{let{children:t}=e,r=Uo(e,md);return q.createElement("a",Po({target:"_blank",rel:"noopener noreferrer"},r),t)};var hd=i(3104),gd=i.n(hd);function vd(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}let yd={};const bd=e=>((e=>{Kr(e.name),Zr(e.callback)})(e),X()(yd[e.name])||(yd[e.name]=[]),yd[e.name].push(e),yd),Ed=e=>(Kr(e),t=>{if(!(yd[e]&&X()(yd[e])&&yd[e].length>0))return()=>{};var r;d()(r=yd[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=vd(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=vd(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}({},t)):he.warn("Expected typeof function for hook callback")}))}),Sd=e=>{zr(e);const t=No()[e];if(!t)throw he.log(`Can't find "empty" for ${e}`),new Error("Check for missing empties");return t};function wd(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function Md(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 Cd=e=>!!(e.instantMatchAttempts&&e.instantMatchAttempts>0),Id=({previousViewModel:e,currentStep:t,locale:r,fingerprint:n,country:a})=>{const o=Sd(t);if(e)for(const t in o)e.hasOwnProperty(t)&&(o[t]=e[t]);return o&&(n&&(o.deviceFingerprintHash=n),r&&(o.localeChoice={value:r||"en-US",label:""}),a&&"country"in o&&void 0===o.country&&(o.country=a),a&&"countryChoice"in o&&void 0===o.countryChoice&&(o.countryChoice={value:a,label:""})),o},Nd=function(){var e=hr((function*(e){i.e(772).then(i.bind(i,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 Dd=i(2983),Td=i.n(Dd);let Ad;const xd=function(){var e=hr((function*(){return wn().useFingerprinting?Ad?vr().resolve(Ad):Td().getPromise({}).then((e=>{const t=Mr()(e).call(e,(e=>e.value)),r=Td().x64hash128(t.join(""),31);return Ad=r,Ad})):vr().resolve(void 0)}));return function(){return e.apply(this,arguments)}}(),_d={};let Od=$()({},_d);const kd=e=>{e&&e.hasOwnProperty("optin")&&Cn({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>ai&&(he.warn(`Truncating metadata value '${e[r]}' for key '${n}' (max length 4096 characters).`),a=a.substring(0,ai)),n.length>256&&(he.warn(`Truncating metadata key '${r}' (max length 256 characters).`),n=n.substring(0,256)),t[n]=a}return t})(e);$()(Od,t),he.info("Added metadata: ",t),he.info("Full metadata: ",Od)}else he.error("Metadata has not been updated. See previous error(s)")},Pd=()=>t()(Od).length>0?oe(Od):void 0,Rd="Verification";let Fd;!function(e){e.TRUE="true",e.FALSE="false"}(Fd||(Fd={}));const Ld=["sheerid.com","wizeline.com"],Ud={verificationId:"dimension1",programId:"dimension2",jslibVersionActual:"dimension3",isTest:"dimension4"},Bd=(e,t="")=>{window.ga("send","event",Rd,e,t)},Vd=(e,t)=>{try{window.ga("set",Ud[e],t)}catch(t){he.warn(`Failed to set ${e}`,t)}};function jd(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function zd(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=jd(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=jd(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Hd=e=>function(){var t=hr((function*(t,r,n,a,o){const i={jslibVersion:window.sheerIdPubV||"",installType:ea(),installUrl:Xn()||"",projectSha:window.sheerIdProjectSha||""};yield e({type:"IS_LOADING",isLoading:!0});try{const s=fd.fetchNewVerificationRequest(t,a,o,i);return qd({dispatch:e,verificationResponsePromise:s,programId:t,segment:r,previousViewModel:n})}catch(e){he.error(e,"fetchNewVerificationRequest")}}));return function(e,r,n,a,o){return t.apply(this,arguments)}}(),$d=e=>function(){var t=hr((function*(t,r,n,a,o=!0){o&&(yield e({type:"IS_LOADING",isLoading:!0}));try{const o=fd.fetchExistingVerificationRequest(r);return qd({dispatch:e,verificationResponsePromise:o,programId:t,previousViewModel:a,previousVerificationResponse:n})}catch(e){he.error(e,"fetchExistingVerificationRequest")}}));return function(e,r,n,a){return t.apply(this,arguments)}}(),qd=function(){var e=hr((function*({dispatch:e,verificationResponsePromise:t,programId:r,segment:n,previousViewModel:a,previousVerificationResponse:o}){try{const s=xd();let l,u,c;try{l=yield t,he.info("verificationResponse received: ",l),c=xa(a,l),u=yield fd.fetchProgramTheme(r,c)}catch(e){i=e.message,l={verificationId:null,currentStep:"error",errorIds:[i],segment:null,subSegment:null,locale:"en-US"},c=xa(a,l),u=To()}const f=La(u),m=Aa(c,f,l.segment),p=l.segment;let h=null;if(p===Ce.MILITARY){const e=aa(u.config.orgSearchUrl,"");h=yield e,he.info("orgList received: ",h)}let g=(e=>{if(e)return $s(e,(e=>{for(let t=1;t<=3;t+=1)e[`file${t}`]=void 0}))})(a);const v=o?o.segment:n;((e,t)=>!!t&&!(!e||e===t))(v,p)&&(he.info("segment changed: ",v,p),yield Xd(e)(l),g=void 0);const y=yield s,{currentStep:b}=l,E=Ha(u),S=((e,t)=>e&&e.hasOwnProperty("country")&&e.country?e.country:t[0])(l,E);let w=Id({currentStep:b,fingerprint:y,locale:c,country:S,previousViewModel:g});w=((e,t)=>{if(e&&e.hasOwnProperty("organization")&&t.config.orgRemoteSource){const r=oe(e),{organization:n}=r;return n.source=t.config.orgRemoteSource,r}return e})(w,u),((e,t)=>!e||e.currentStep!==t.currentStep)(o,l)&&(Ed("ON_VERIFICATION_STEP_CHANGE")(l),o&&"sso"===o.currentStep&&"sso"!==l.currentStep&&"pending"!==l.currentStep&&Qs()),u.threatMetrixEnabled&&Nd(l.verificationId),ed(l.verificationId),w&&w.hasOwnProperty("metadata")&&(w.metadata=zd(zd({},w.metadata),(e=>{const t=Ar(),r={};return d()(e).call(e,(e=>{t.get(e)&&(r[e]=t.get(e))})),r})(gd()(Ra(u)))));const M=yield m;return vr().all([e({verificationResponse:l,type:"VERIFICATION_RESPONSE"}),e({viewModel:w,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((()=>{Ed("ON_VERIFICATION_READY")(l),(e=>{try{delete yd[e]}catch(t){he.warn("Unable to remove hook",e)}})("ON_VERIFICATION_READY")}))}catch(e){throw he.error(e,"createFetchVerificationRequest"),e}var i}));return function(t){return e.apply(this,arguments)}}(),Wd=e=>function(){var t=hr((function*(t,r=!1){return vr().all([e({viewModel:t,type:"VIEW_MODEL",partial:r}),e({type:"FORM_VALIDATION_OPTIONS"})])}));return function(e){return t.apply(this,arguments)}}(),Gd=(e,t)=>function(){var r=hr((function*(r,n,a){e({type:"IS_LOADING",isLoading:!0});const o=xa(r),i=yield fd.fetchProgramTheme(t,o),s=La(i);return Ed("ON_FORM_LOCALE_CHANGE")(o),Aa(o,s,a).then((t=>vr().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)}}(),Yd=e=>function(){var t=hr((function*(t){return e({programTheme:t,type:"PROGRAM_THEME"})}));return function(e){return t.apply(this,arguments)}}(),Kd=e=>hr((function*(){return e({type:"RESET_STATE"})})),Zd=e=>function(){var t=hr((function*(t){return e({fieldValidationErrors:t,type:"FIELD_VALIDATION_ERRORS"})}));return function(e){return t.apply(this,arguments)}}(),Jd=e=>function(){var t=hr((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&&o()(Ld).call(Ld,(e=>kr()(t).call(t,e)>-1)).length>0&&Vd("isTest",Fd.TRUE)}catch(e){he.warn("Error setting isTest dimension",e)}})(r);const a=yield fd.submitStep(t,n,r),i=((e,t)=>{const{currentStep:r}=e;let n;if(r===ve.success&&Ed("ON_VERIFICATION_SUCCESS")(e),r===ve.collectActiveMilitaryPersonalInfo)n=Md(Md({},t),{},{dischargeDate:""}),delete n.dischargeDate;else if(r===ve.collectInactiveMilitaryPersonalInfo)n=t.dischargeDate?t:Md(Md({},t),{},{dischargeDate:""});else if(Cd(e))n=t;else{const{locale:r}=e;n=Id({locale:r,previousViewModel:t,currentStep:e.currentStep})}return n})(a,r),s=e({verificationResponse:a,type:"VERIFICATION_RESPONSE"}),l=e({viewModel:i,type:"VIEW_MODEL"}),u=e({type:"IS_LOADING",isLoading:!1});return Ed("ON_VERIFICATION_STEP_CHANGE")(a),vr().all([s,l,u])}));return function(e,r,n){return t.apply(this,arguments)}}(),Xd=e=>t=>vr().all([e({type:"VIEW_MODEL",viewModel:Sd(t.currentStep)}),e({type:"PREVIOUS_VIEW_MODEL",previousViewModel:void 0}),e({type:"FIELD_VALIDATION_ERRORS",fieldValidationErrors:Do()})]);function Qd(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 ef="function"==typeof Symbol&&Symbol.observable||"@@observable",tf=function(){return Math.random().toString(36).substring(7).split("").join(".")},rf={INIT:"@@redux/INIT"+tf(),REPLACE:"@@redux/REPLACE"+tf(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+tf()}};function nf(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 af(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(Qd(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error(Qd(1));return r(af)(e,t)}if("function"!=typeof e)throw new Error(Qd(2));var a=e,o=t,i=[],s=i,l=!1;function u(){s===i&&(s=i.slice())}function c(){if(l)throw new Error(Qd(3));return o}function d(e){if("function"!=typeof e)throw new Error(Qd(4));if(l)throw new Error(Qd(5));var t=!0;return u(),s.push(e),function(){if(t){if(l)throw new Error(Qd(6));t=!1,u();var r=s.indexOf(e);s.splice(r,1),i=null}}}function f(e){if(!nf(e))throw new Error(Qd(7));if(void 0===e.type)throw new Error(Qd(8));if(l)throw new Error(Qd(9));try{l=!0,o=a(o,e)}finally{l=!1}for(var t=i=s,r=0;r<t.length;r++){(0,t[r])()}return e}return f({type:rf.INIT}),(n={dispatch:f,subscribe:d,getState:c,replaceReducer:function(e){if("function"!=typeof e)throw new Error(Qd(10));a=e,f({type:rf.REPLACE})}})[ef]=function(){var e,t=d;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(Qd(11));function r(){e.next&&e.next(c())}return r(),{unsubscribe:t(r)}}})[ef]=function(){return this},e},n}function of(e,t){return function(){return t(e.apply(this,arguments))}}var sf=i(2022),lf=i.n(sf);function uf(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function cf(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=uf(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=uf(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const df=ma()({programId:void 0,programTheme:void 0,isLoading:!0,isErrored:!1,viewModel:void 0,previousViewModel:void 0,previousVerificationResponse:void 0,verificationResponse:void 0,fieldValidationErrors:Do(),messages:void 0,orgList:void 0,formValidationOptions:{}}),ff=()=>oe(df),mf=(e=ff(),t)=>{var r;switch(t.type){case"PROGRAM_ID":return Vd("programId",t.programId),cf(cf({},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)?ha()(t=e.errorIds).call(t).join(","):void 0;Bd(e.currentStep,r)}catch(e){he.warn("Failed recordVerificationResponse event",e)}})(t.verificationResponse),cf(cf({},e),{},{previousVerificationResponse:n,previousViewModel:e.viewModel,verificationResponse:t.verificationResponse});case"SET_MESSAGES":return cf(cf({},e),{},{messages:t.messages});case"FIELD_VALIDATION_ERRORS":return cf(cf({},e),{},{fieldValidationErrors:t.fieldValidationErrors});case"VIEW_MODEL":const a=cf({},e);if(t.viewModel&&(t.partial?a.viewModel=se({},e.viewModel,t.viewModel):a.viewModel=cf({},t.viewModel)),t.viewModel&&t.viewModel.metadata){kd(t.viewModel.metadata);const e=Pd();a.viewModel.metadata=e}return((e,t)=>{try{t.verificationResponse.currentStep===ve.docUpload&&void 0===e.viewModel.file1&&void 0!==t.viewModel.file1&&Bd(ve.docUpload,"addFiles")}catch(e){he.warn("Failed addFiles event",e)}})(e,a),a;case"PRE_LOAD_ORGS":return cf(cf({},e),{},{orgList:t.orgList});case"PREVIOUS_VIEW_MODEL":return cf(cf({},e),{},{previousViewModel:t.previousViewModel});case"PROGRAM_THEME":return Vd("isTest",t.programTheme.isTestMode?Fd.TRUE:Fd.FALSE),cf(cf({},e),{},{programTheme:t.programTheme});case"FORM_VALIDATION_OPTIONS":return cf(cf({},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(!Ho()(be).call(be,e.verificationResponse.currentStep))return e;const o=Ra(e.programTheme),i=Pd();return cf(cf({},e),{},{overrideStep:o.enabled&&!lf()(r=o.requiredKeys||[]).call(r,(e=>i.hasOwnProperty(e)))?"missingRequiredMetadata":void 0});case"IS_LOADING":return cf(cf({},e),{},{isLoading:t.isLoading,loadingStep:t.isLoading?t.loadingStep:void 0});case"IS_ERRORED":return cf(cf({},e),{},{isErrored:t.isErrored});case"RESET_STATE":return cf(cf({},oe(ff())),{},{programId:e.programId});case"FORCE_UPDATE":return oe(e);default:return e}};let pf;const hf=()=>(pf||(pf=af(mf,window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__()),he.init(pf)),pf),gf=hf(),vf=(e,t={partial:!0})=>{const r=gf.getState(),n=()=>{const r=oe(e);he.info("Setting viewModel",r),Wd(gf.dispatch)(r,t.partial)},a=ie((()=>e.localeChoice.value));a&&Cn({locale:a}),r.isLoading?bd({name:"ON_VERIFICATION_READY",callback:()=>{n()}}):n()};var yf=i(6937),bf=i.n(yf);function Ef(e,t){return Ef=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ef(e,t)}function Sf(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ef(e,t)}var wf=q.createContext(null);var Mf=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}Sf(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||wf;return q.createElement(e.Provider,{value:this.state},this.props.children)},t}(q.Component);Mf.propTypes={store:He().shape({subscribe:He().func.isRequired,dispatch:He().func.isRequired,getState:He().func.isRequired}),context:He().object,children:He().any};const Cf=Mf;function If(){return If=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},If.apply(this,arguments)}function Nf(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}var Df=i(5996);function Tf(e,t){void 0===t&&(t={});var r=t,n=r.getDisplayName,a=void 0===n?function(e){return"ConnectAdvanced("+e+")"}:n,o=r.methodName,i=void 0===o?"connectAdvanced":o,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?wf:v,b=Nf(r,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);Ge()(void 0===l,"renderCountProp is removed. render counting is built into the latest React dev tools profiling extension"),Ge()(!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";Ge()("store"===f,"storeKey has been removed and does not do anything. "+E);var S=y;return function(t){var r=t.displayName||t.name||"Component",n=a(r),o=If({},b,{getDisplayName:a,methodName:i,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,o,i,l,u,c,d,m,p,h;return n=r.call(this,t)||this,Ge()(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&&o===t)return i;n===l&&u===d||(l=n,u=d,c=e(n.dispatch,d)),a=r,o=t;var f=c(t,r);return i=f},n.selectChildElement=function(e,t,r){return t===d&&r===m&&h===e||(d=t,m=r,h=e,p=q.createElement(e,If({},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}Sf(a,r);var i=a.prototype;return i.indirectRenderWrappedComponent=function(e){return this.renderWrappedComponent(e)},i.renderWrappedComponent=function(e){Ge()(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,i=e.store,s=this.props;g&&(s=this.props.wrapperProps,r=this.props.forwardedRef);var l=this.selectDerivedProps(a,s,i,o);return this.selectChildElement(t,l,r)},i.render=function(){var e=this.props.context&&this.props.context.Consumer&&(0,Df.isContextConsumer)(q.createElement(this.props.context.Consumer,null))?this.props.context:S;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,qe()(m,t)}return qe()(d,t)}}var Af=Object.prototype.hasOwnProperty;function xf(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function _f(e,t){if(xf(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(!Af.call(t,r[a])||!xf(e[r[a]],t[r[a]]))return!1;return!0}function Of(e){return function(t,r){var n=e(t,r);function a(){return n}return a.dependsOnOwnProps=!1,a}}function kf(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function Pf(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=kf(e);var a=n(t,r);return"function"==typeof a&&(n.mapToProps=a,n.dependsOnOwnProps=kf(a),a=n(t,r)),a},n}}const Rf=[function(e){return"function"==typeof e?Pf(e):void 0},function(e){return e?void 0:Of((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?Of((function(t){return function(e,t){if("function"==typeof e)return of(e,t);if("object"!=typeof e||null===e)throw new Error(Qd(16));var r={};for(var n in e){var a=e[n];"function"==typeof a&&(r[n]=of(a,t))}return r}(e,t)})):void 0}];const Ff=[function(e){return"function"==typeof e?Pf(e):void 0},function(e){return e?void 0:Of((function(){return{}}))}];function Lf(e,t,r){return If({},r,e,t)}const Uf=[function(e){return"function"==typeof e?function(e){return function(t,r){r.displayName;var n,a=r.pure,o=r.areMergedPropsEqual,i=!1;return function(t,r,s){var l=e(t,r,s);return i?a&&o(l,n)||(n=l):(i=!0,n=l),n}}}(e):void 0},function(e){return e?void 0:function(){return Lf}}];function Bf(e,t,r,n){return function(a,o){return r(e(a,o),t(n,o),o)}}function Vf(e,t,r,n,a){var o,i,s,l,u,c=a.areStatesEqual,d=a.areOwnPropsEqual,f=a.areStatePropsEqual,m=!1;function p(a,m){var p,h,g=!d(m,i),v=!c(a,o);return o=a,i=m,g&&v?(s=e(o,i),t.dependsOnOwnProps&&(l=t(n,i)),u=r(s,l,i)):g?(e.dependsOnOwnProps&&(s=e(o,i)),t.dependsOnOwnProps&&(l=t(n,i)),u=r(s,l,i)):v?(p=e(o,i),h=!f(p,s),s=p,h&&(u=r(s,l,i)),u):u}return function(a,c){return m?p(a,c):(s=e(o=a,i=c),l=t(n,i),u=r(s,l,i),m=!0,u)}}function jf(e,t){var r=t.initMapStateToProps,n=t.initMapDispatchToProps,a=t.initMergeProps,o=Nf(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),i=r(e,o),s=n(e,o),l=a(e,o);return(o.pure?Vf:Bf)(i,s,l,e,o)}function zf(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 Hf(e,t){return e===t}const $f=(Gf=(Wf=void 0===qf?{}:qf).connectHOC,Yf=void 0===Gf?Tf:Gf,Kf=Wf.mapStateToPropsFactories,Zf=void 0===Kf?Ff:Kf,Jf=Wf.mapDispatchToPropsFactories,Xf=void 0===Jf?Rf:Jf,Qf=Wf.mergePropsFactories,em=void 0===Qf?Uf:Qf,tm=Wf.selectorFactory,rm=void 0===tm?jf:tm,function(e,t,r,n){void 0===n&&(n={});var a=n,o=a.pure,i=void 0===o||o,s=a.areStatesEqual,l=void 0===s?Hf:s,u=a.areOwnPropsEqual,c=void 0===u?_f:u,d=a.areStatePropsEqual,f=void 0===d?_f:d,m=a.areMergedPropsEqual,p=void 0===m?_f:m,h=Nf(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),g=zf(e,Zf,"mapStateToProps"),v=zf(t,Xf,"mapDispatchToProps"),y=zf(r,em,"mergeProps");return Yf(rm,If({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:g,initMapDispatchToProps:v,initMergeProps:y,pure:i,areStatesEqual:l,areOwnPropsEqual:c,areStatePropsEqual:f,areMergedPropsEqual:p},h))});var qf,Wf,Gf,Yf,Kf,Zf,Jf,Xf,Qf,em,tm,rm,nm=i(7373),am=i.n(nm);const om=({id:e="new",isErrored:t,onChange:r,value:n,ariaLabelledby:a})=>{const o=a?{"aria-labelledby":a}:{},i=(0,q.useRef)(null),s=()=>{i.current&&r(i.current.checked)};return(0,q.useEffect)((()=>{Ks("optIn",i.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:i,onChange:e=>r(e.target.checked),"aria-hidden":!0}),q.createElement("span",Po({},o,{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"})))},im=({isErrored:e,isRequired:t,onChange:r,value:n,verificationService:a})=>{const o="marketConsentValue",i=q.useCallback((e=>{if(t&&!e)return"marketConsentRequired"}),[t]),s=(a&&a.programTheme&&Fa(a.programTheme)||{}).message||"Yes, send me {company} marketing communications about exclusive sales, special offers, latest products and more";return q.useEffect((()=>{Ur(o,i)}),[o,i]),q.useEffect((()=>{Ur(o,i)}),[o,i]),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(om,{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)))},sm=({verificationService:e,isErrored:t,onChange:r,viewModel:n})=>{const{programTheme:a}=e,o=Fa(a);return o.enabled?q.createElement(im,{isErrored:t,isRequired:o.required,verificationService:e,value:n.metadata&&n.metadata.marketConsentValue||!1,onChange:e=>r(e)}):null},lm=({verificationService:e,fallbackLogo:t})=>{const r=Ba(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 um=i(8714),cm=i.n(um);const dm=Rt((({value:e,isErrored:t,onChange:r,explanation:n,onCarrierConsentChange:a,intl:o,isRequired:i=!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)((()=>{Ks("phoneNumber",p.current)})),q.createElement("div",{className:"sid-field sid-phone-number"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(yl,{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:i},n||(i?"":q.createElement(or,{id:"phoneNumberExplanation",defaultMessage:"Optional - get text notifications of status updates"}))),q.createElement(q.Fragment,null,q.createElement(cm(),{country:m.toLowerCase(),containerClass:"react-tel-input sid-phone-number__wrapper",inputClass:`sid-text-input sid-phone-number__field sid-phone-number__field--intl ${i?"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(om,{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 fm=i(6777);const mm=({getItemProps:e,highlightedIndex:t,organizations:r,itemToString:n,children:a,maxItemsToDisplay:i=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)}},Mr()(s=o()(r).call(r,((e,t)=>t<=i-1))).call(s,((r,a)=>((r,a)=>q.createElement("div",Po({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 pm(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function hm(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=pm(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=pm(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const gm=({urlAddSchoolForm:e,programId:t,locale:r=en})=>q.createElement(pd,{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 vm extends q.Component{constructor(e){var t;super(e),t=this,b(this,"mounted",!1),b(this,"fetch",hr((function*(){const{orgSearchUrl:e,searchValue:r,countryCode:n,orgSearchTags:a}=t.props;t.mounted&&(yield aa(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,fm.debounce)(this.fetch,200)),this.state={isErrored:null,loading:!1,organizations:null}}reset(e){this.setState(hm(hm({},vm.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:o,itemToString:i,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(mm,{getItemProps:n,getMenuProps:a,highlightedIndex:o,itemToString:i,organizations:r},s&&!d&&c&&(!r||r.length<26)&&q.createElement(gm,{urlAddSchoolForm:c,programId:l,locale:u})):!s||d||!c||r&&0!==r.length?null:q.createElement("div",{className:"sid-organization-list__menu"},q.createElement(gm,{urlAddSchoolForm:c,programId:l,locale:u}))}}b(vm,"initialState",{isErrored:null,loading:!1,organizations:null});const ym=vm,bm=({onChange:e,programId:t,className:r,countryCode:n,disabled:a,minimumSearchValueLength:o,placeholder:i,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)([]);Zr(e);const b=e=>e?e.name:"",{isOpen:E,highlightedIndex:S,getMenuProps:w,getItemProps:M,getInputProps:C,getComboboxProps:I}=Gu({itemToString:b,id:l,items:v,onStateChange:t=>((e,t,r)=>{const n=e.hasOwnProperty("inputValue")&&e.type===Gu.stateChangeTypes.InputChange;if(e.type===Gu.stateChangeTypes.FunctionSelectItem){const{selectedItem:r}=e;t(r)}else n?t({id:0,name:e.inputValue}):e.type===Gu.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)((()=>{Ks("organization",D.current)})),q.createElement(q.Fragment,null,q.createElement("div",Po({className:"sid-organization-list"},I(N)),q.createElement("input",Po({},C({ref:D}),{className:`sid-l-full-width sid-hidden-placeholder sid-text-input ${r}`,disabled:a,id:l,placeholder:i,"aria-required":f})),q.createElement("div",w(),E?q.createElement(ym,{countryCode:n,getItemProps:M,highlightedIndex:S,itemToString:b,minimumSearchValueLength:o,onLoaded:e=>y(e),programId:t,searchValue:h,orgSearchUrl:c,orgSearchTags:d,locale:m,urlAddSchoolForm:p,openOrgSearchEnabled:u}):null)))},Em=Rt((({onChange:e,value:t,isErrored:r,verificationService:n,intl:a,placeholder:o="",isRequired:i=!0})=>{var s;const{programId:l,viewModel:u,verificationResponse:c}=n,d=xa(u,c),f=z()(s=wn().urlAddSchoolForm||"").call(s),m=ie((()=>n.viewModel.countryChoice.value)),p=Ya(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(yl,{text:q.createElement(or,{id:"schoolName",defaultMessage:"University / College name"}),htmlForLabel:"sid-college-name",id:"sid-college-name-label",displayClasses:o&&"sid-h-screen-reader-only"}),q.createElement(bm,{className:r?"sid-text-input--error":"",countryCode:m,minimumSearchValueLength:wn().minimumOrganizationSearchLength,onChange:t=>e(t),placeholder:o||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:i}),r?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)})),Sm=e=>{if(e)return e<10?`0${e}`:e.toString()};const wm=Rt((({onChange:e,intl:t,isErrored:r,isRequired:n=!0,value:a="2000-01-01",errorMsg:o,label:i,fieldName:s,fieldId:l,mode:u="date",locale:c=en})=>{const d=`sid-${l}`,f=a.split("-"),m=jc()(f[0],10)||void 0,p=jc()(f[1],10)||void 0,h="month"===u?1:jc()(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=jc()(t,10);"number"==typeof r&&r>=1&&r<=12?e(`${m}-${Sm(t)}-${Sm(h)}`):he.warn(`Value '${r}' is an invalid month`)},E=()=>{e(h||p||m?`${m}-${Sm(p)}-${Sm(h)}`:"")},S=`${d}__month`,w=`${d}-label`,M=q.createElement("div",{className:"sid-field-error"},o),C=q.createElement(Ju,{className:`${d}__month sid-date__month`,fieldId:s,inputId:S,fieldLabelId:w,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(vl,{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=jc()(t,10);"number"==typeof r&&r>=1&&r<=31?e(`${m}-${Sm(p)}-${Sm(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(yl,{text:i,htmlForLabel:S,id:w,displayClasses:"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(vl,{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=jc()(t,10);"number"==typeof r&&r>=1&&r<=g?e(`${r}-${Sm(p)}-${Sm(h)}`):he.warn(`Value '${r}' is an invalid year`)})(t.target.value),onBlur:E})),r?M:null)})),Mm=({onChange:e,isErrored:t,isRequired:r=!0,errorId:n,value:a="2000-01-01",locale:o=en})=>q.createElement(wm,{value:a,label:q.createElement(or,{id:"birthDate",defaultMessage:"Date of birth"}),onChange:e,fieldId:"birthdate",fieldName:"birthDate",isErrored:t,isRequired:r,locale:o,errorMsg:n?q.createElement(or,{id:`errorId.${n}`,defaultMessage:"Invalid birth date"}):q.createElement(or,{id:"errorId.invalidBirthDate",defaultMessage:"Invalid birth date"})});var Cm=i(249),Im=i.n(Cm),Nm=i(4649),Dm=i.n(Nm);const Tm=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=Im()(t)).call(r,(([e,t])=>{const r=n.querySelector(e);if(!r)return;let a;const o=r.innerHTML;if(a="function"==typeof t?t(o):t,a){if("string"==typeof a)r.insertAdjacentHTML("afterend",a);else{const e=Dm().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}})},Am=({verificationService:e,linkText:t})=>{const{segment:r}=e.verificationResponse,{programId:n,programTheme:a}=e;if(r){const r=Ga(a,0,n,xa(e.viewModel));return q.createElement(pd,{className:"sid-faq sid-link",href:r},t||q.createElement(or,{id:"getHelp",defaultMessage:"Get help"}))}return null},xm=({verificationService:e,children:t})=>{const{viewModel:r}=e,n=ie((()=>r.countryChoice.value),void 0),a=xa(r),o=q.useRef({}),i=/(<div[^>]+>|<div>|<\/div>)|(<span[^>]+>|<span>|<\/span>)|(<p[^>]+>|<p>|<\/p>)/gm;return q.useEffect((()=>{if(!o.current)return;const e=o.current.innerHTML.replace(i,"");vf({metadata:{submissionOptIn:e}})}),[o,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:o},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>."},Tm({privacyPolicy:t=>{const r=Va(e.programTheme);return r?q.createElement(pd,{className:"sid-privacy-policy sid-link",href:r},t):t},aboutSheerID:t=>q.createElement(Am,{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 _m=(e,t)=>{const r=e===ve.docUpload?"docUpload":"default",n={student:{default:fc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:fc.step.docUpload.howDoesVerifyingWorkDetails},teacher:{default:mc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:mc.step.docUpload.howDoesVerifyingWorkDetails},member:{default:pc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:pc.step.docUpload.howDoesVerifyingWorkDetails},military:{default:uc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:uc.step.docUpload.howDoesVerifyingWorkDetails},senior:{default:cc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:cc.step.docUpload.howDoesVerifyingWorkDetails},firstResponder:{default:lc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:lc.step.docUpload.howDoesVerifyingWorkDetails},medical:{default:hc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:hc.step.docUpload.howDoesVerifyingWorkDetails},age:{default:dc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:dc.step.docUpload.howDoesVerifyingWorkDetails},employment:{default:gc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:gc.step.personalInfo.howDoesVerifyingWorkDetails},identity:{default:yc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:yc.step.docUpload.howDoesVerifyingWorkDetails},licensedProfessional:{default:bc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:bc.step.docUpload.howDoesVerifyingWorkDetails},recentMover:{default:Ec.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:Ec.step.docUpload.howDoesVerifyingWorkDetails},lowIncome:{default:Sc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:Sc.step.docUpload.howDoesVerifyingWorkDetails}};$r(t);return ie((()=>n[t][r]),"-")},Om=({verificationService:e,initialVisibility:t=!1})=>{const[r,n]=(0,q.useState)(t),{segment:a}=e.verificationResponse,o=e.verificationResponse.currentStep,i=`${_m(o,a)}`;let s;const l=()=>{n(!0),clearTimeout(s)},u=()=>{s=ur()((()=>n(!1)))};return q.createElement("div",{className:"sid-how-verify-works",onMouseEnter:l,onMouseLeave:u},q.createElement("a",{href:"#",className:"sid-link","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.${o===ve.docUpload?"docUpload":"personalInfo"}.howDoesVerifyingWorkDetails`,defaultMessage:i,values:{companyName:e}})))," ",q.createElement(Am,{verificationService:e}))):null)},km=Rt((({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 o=cl(e.programTheme,r),i=ie((()=>xr("country").toUpperCase())),s=ml(o),{fieldValidationErrors:l}=e,u=o.length>1,[c,d]=q.useState(!0),f=r=>{const n=$s(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(c){d(!1);const t=e.viewModel.countryChoice?e.viewModel.countryChoice:s;f(t)}}),[c]),q.useEffect((()=>{const t=re()(o).call(o,(e=>"US"===e.value));if(!u&&!t){const t=e.viewModel.fieldsToSkipValidation?[...e.viewModel.fieldsToSkipValidation,"country"]:["country","address1","postalCode","state","city"];e.updateViewModel(pl(e.viewModel,"fieldsToSkipValidation",t))}}),[u]),q.useEffect((()=>{const t=$s(e.fieldValidationErrors,(t=>{t.country&&(t.country=ji("country",e.viewModel.countryChoice,e.formValidationOptions)),"postalCode"in e.viewModel&&e.viewModel.postalCode&&(t.postalCode=ji("postalCode",e.viewModel.postalCode,e.formValidationOptions))}));tl(t,e),(e=>{if(void 0!==e.viewModel.organization)el(eo.organization,e)})(e)}),[e.viewModel.countryChoice]),q.useEffect((()=>{const e=xl()(o).call(o,(e=>e.value===i));e&&f(e)}),[i]),u?q.createElement(Xu,{isRequired:!0,options:o,value:e.viewModel.countryChoice,isErrored:Boolean(l.country),onChange:function(){var t=hr((function*(t){const r=t?t.value:void 0;f(t),rl("country",r,e)}));return function(e){return t.apply(this,arguments)}}()}):null})),Pm=({verificationService:e})=>{const t=ie((()=>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},Rm=({fieldId:e,value:t,onChange:r,label:n,errorMessage:a})=>{const o=`sid-${hl(`${e}Label`)}`,i=()=>r(!t);return q.createElement("div",{className:`sid-field sid-${hl(e)}`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement("div",{className:"sid-checkbox-flex"},q.createElement(om,{id:hl(e),isErrored:!!a,value:t,onChange:i,ariaLabelledby:o}),q.createElement("div",{className:"sid-checkbox__label",onClick:i,onKeyPress:i,role:"button",tabIndex:0,id:o},n)),a&&q.createElement("div",{className:"sid-field-error"},a))},Fm=Rt((({config:e,verificationService:t,intl:r})=>{const n=ie((()=>t.viewModel.metadata[e.fieldId])),a=ie((()=>t.fieldValidationErrors[e.fieldId])),o=r=>{t.updateViewModel($s(t.viewModel,(t=>{t.metadata=t.metadata||{},t.metadata[e.fieldId]=r}))),t.updateFieldValidationErrors($s(t.fieldValidationErrors,(t=>{void 0===e.validate(r)&&delete t[e.fieldId]})))};switch(e.fieldType){case"text":return q.createElement(Sl,{fieldId:e.fieldId,value:`${n||""}`,onChange:o,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(Rm,{fieldId:e.fieldId,value:"boolean"==typeof n&&n,onChange:o,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}})),Lm=({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 Um(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function Bm(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Um(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Um(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Vm=({verificationService:e})=>{var t;const r=e.viewModel,{fieldValidationErrors:n}=e,a=e.verificationResponse,o=Cd(a),i=(t,n)=>{const a=Hs(r,(e=>{e[t]=n}));e.updateViewModel(a)},s=r.localeChoice.value;return q.createElement("div",{id:"sid-step-student-personal-info",className:"sid-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:e}),q.createElement(Pm,{verificationService:e}))),q.createElement(ac,{verificationService:e}),q.createElement(km,{verificationService:e}),q.createElement(Em,{value:e.viewModel.organization,verificationService:e,isErrored:!!n.organization,isRequired:!0,onChange:t=>{el(t,e),rl("organization",t,e)}}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:r.firstName,isErrored:!!n.firstName,onChange:t=>{i("firstName",t),rl("firstName",t,e)}}),q.createElement(Ml,{value:r.lastName,isErrored:!!n.lastName,onChange:t=>{i("lastName",t),rl("lastName",t,e)}})),q.createElement(Mm,{value:r.birthDate,isErrored:!!n.birthDate,errorId:n.birthDate,locale:s,isRequired:!0,onChange:t=>{i("birthDate",t),rl("birthDate",t,e)}}),q.createElement(Cl,{value:r.email,isErrored:!!n.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Personal or school email is fine"}),onChange:t=>{i("email",t),rl("email",t,e)},onKeyDown:e=>sl(e)}),e.programTheme.isSmsNotifierConfigured||e.programTheme.smsLoopEnabled?q.createElement(dm,{isRequired:!!e.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:t=>{i("phoneNumber",t),rl("phoneNumber",t,e)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,Mr()(t=wn().customFormFields).call(t,(t=>q.createElement(Fm,{config:t,verificationService:e}))),q.createElement(sm,{verificationService:e,isErrored:!!n.marketConsentValue,onChange:t=>{i("metadata",Bm(Bm({},e.viewModel.metadata),{},{marketConsentValue:t})),rl("marketConsentValue",t,e)},viewModel:r}),q.createElement(Lm,{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"},q.createElement("button",{id:"sid-submit-wrapper__collect-info",onClick:()=>ll(r,e,ve.collectStudentPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(r,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-label":"submit","aria-labelledby":"verify-status-text",ref:e=>Ks("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyStudentStatus",defaultMessage:"Verify My Student Status"}))))),q.createElement(xm,{verificationService:e}))},jm=({onChange:e,value:t,isValid:r,intl:n,placeholder:a="",ariaLabelledBy:o})=>q.createElement(vl,{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":o});jm.defaultProps={isValid:!0};const zm=Rt(jm),Hm=({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(yl,{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(zm,{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 $m(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function qm(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=$m(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=$m(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Wm=Rt((({verificationService:e})=>{var t;const r=e.viewModel,{fieldValidationErrors:n}=e,a=e.verificationResponse,o=Cd(a),i=r.localeChoice.value,s=(t,n)=>{const a=Hs(r,(e=>{e[t]=n}));e.updateViewModel(a)};return q.createElement("div",{id:"sid-step-senior-personal-info",className:"sid-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:e}),q.createElement(Pm,{verificationService:e}))),q.createElement(ac,{verificationService:e}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:r.firstName,isErrored:!!n.firstName,onChange:t=>{s("firstName",t),rl("firstName",t,e)}}),q.createElement(Ml,{value:r.lastName,isErrored:!!n.lastName,onChange:t=>{s("lastName",t),rl("lastName",t,e)}})),q.createElement(Mm,{isErrored:!!n.birthDate,errorId:n.birthDate,locale:i,onChange:t=>{s("birthDate",t),rl("birthDate",t,e)},value:r.birthDate}),q.createElement(Hm,{isErrored:!!n.postalCode,onChange:t=>{s("postalCode",t),rl("postalCode",t,e)},value:r.postalCode}),q.createElement(Cl,{value:r.email,isErrored:!!n.email,onChange:t=>{s("email",t),rl("email",t,e)},onKeyDown:e=>sl(e)}),e.programTheme.isSmsNotifierConfigured||e.programTheme.smsLoopEnabled?q.createElement(dm,{isRequired:!!e.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:t=>{s("phoneNumber",t),rl("phoneNumber",t,e)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,Mr()(t=wn().customFormFields).call(t,(t=>q.createElement(Fm,{config:t,verificationService:e}))),q.createElement(sm,{verificationService:e,isErrored:!!n.marketConsentValue,onChange:t=>{s("metadata",qm(qm({},e.viewModel.metadata),{},{marketConsentValue:t})),rl("marketConsentValue",t,e)},viewModel:r}),q.createElement(Lm,{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"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ll(r,e,ve.collectSeniorPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(r,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ks("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyAndContinue",defaultMessage:"Verify and continue"}))))),q.createElement(xm,{verificationService:e}))})),Gm=Rt((({value:e,isErrored:t,onChange:r,intl:n,isRequired:a=!1,onKeyDown:o,placeholder:i=""})=>q.createElement(Sl,{fieldId:"city",value:e,onChange:r,placeholder:i||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:!!i,required:a,onKeyDown:"function"==typeof o?e=>o(e):void 0}))),Ym=Rt((({value:e,isErrored:t,onChange:r,intl:n,isRequired:a=!1,onKeyDown:o,placeholder:i="",label:s,explanation:l=""})=>q.createElement(Sl,{fieldId:"address",value:e,onChange:r,placeholder:i||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:!!i,required:a,onKeyDown:"function"==typeof o?e=>o(e):void 0,explanation:l})));function Km(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}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=Rt((({verificationService:e,intl:t})=>{var r,n;const a=e.viewModel,{fieldValidationErrors:o}=e,i=e.verificationResponse,s=Cd(i),l=cl(e.programTheme,t),u=ml(l),{isSmsNotifierConfigured:c,smsLoopEnabled:f}=e.programTheme,m=ie((()=>a.countryChoice.value),u.value),p="US"===m?[{key:"postalCode"}]:[],h=a.localeChoice.value,[g,v]=q.useState(p);!o.phoneNumber&&i.errorIds&&Ho()(r=i.errorIds).call(r,"invalidPhoneNumber")&&e.updateFieldValidationErrors(Zm(Zm({},o),{},{phoneNumber:"invalidPhoneNumber"}));const y=(e,t)=>"US"!==e||t,b=(t,r)=>{const n=pl(a,t,r);e.updateViewModel(n)},E=(t,r)=>{const n=((e,t,r)=>Hs(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)},S=e=>re()(g).call(g,(t=>t.key===e));var w,M,C;w="phoneNumber",C=m,M=(e,t)=>{const r=t&&t.smsLoopEnabled||"US"!==C;return pi(r)(e)},he.log(`overrideValidator registering ${M} for '${w}'`),ei[w]=M,y(m,f)?Vr("carrierConsentValue")||Ur("carrierConsentValue",(e=>(t,r)=>{if((r&&r.smsLoopEnabled||"US"!==e)&&!t)return"invalidCarrierConsentValue"})(m)):Vr("carrierConsentValue")&&(e=>{delete Fr[e];const t=kr()(Lr).call(Lr,e);-1!==t?Rr()(Lr).call(Lr,t,1):he.error(`Custom validator for field '${e}' has not been removed.`,"removeCustomValidator")})("carrierConsentValue");return q.useEffect((()=>{hr((function*(){try{const e=yield cd(i.verificationId,i.currentStep,a),t=ie((()=>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-l-container"},s?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:e}),q.createElement(Pm,{verificationService:e}))),q.createElement(ac,{verificationService:e}),q.createElement(km,{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(wl,{value:a.firstName,isErrored:!!o.firstName,onChange:t=>{b("firstName",t),rl("firstName",t,e)}}),q.createElement(Ml,{value:a.lastName,isErrored:!!o.lastName,onChange:t=>{b("lastName",t),rl("lastName",t,e)}})),q.createElement(Mm,{isErrored:!!o.birthDate,errorId:o.birthDate,locale:h,onChange:t=>{b("birthDate",t),rl("birthDate",t,e)},value:a.birthDate}),S("city")&&q.createElement(Gm,{value:a.city,isRequired:!0,isErrored:!!o.city,errorId:o.city,onChange:t=>{b("city",t),rl("city",t,e)}}),S("address1")&&q.createElement(Ym,{value:a.address1,isRequired:!0,isErrored:!!o.address1,errorId:o.address1,onChange:t=>{b("address1",t),rl("address1",t,e)}}),S("postalCode")&&q.createElement(Hm,{isErrored:!!o.postalCode,onChange:t=>{b("postalCode",t),rl("postalCode",t,e)},value:a.postalCode}),q.createElement(Cl,{value:a.email,isErrored:!!o.email,onChange:t=>{b("email",t),rl("email",t,e)},onKeyDown:e=>sl(e)}),(y(m,f)||c)&&q.createElement(dm,{value:a.phoneNumber,isRequired:e.programTheme.smsLoopEnabled||"US"!==m,isErrored:!!o.phoneNumber,displaySmsConsent:c,onChange:t=>{b("phoneNumber",t),rl("phoneNumber",t,e)},errorId:o.phoneNumber,requireCarrierConsent:e.programTheme.smsLoopEnabled||"US"!==m,onCarrierConsentChange:t=>{b("metadata",Zm(Zm({},e.viewModel.metadata),{},{carrierConsentValue:t})),rl("carrierConsentValue",t,e)},carrierConsent:Boolean(a.metadata&&a.metadata.carrierConsentValue),selectedCountryCode:a.countryChoice&&a.countryChoice.value}),Mr()(n=wn().customFormFields).call(n,(t=>q.createElement(Fm,{config:t,verificationService:e}))),q.createElement(sm,{verificationService:e,isErrored:!!o.marketConsentValue,onChange:t=>{b("metadata",Zm(Zm({},e.viewModel.metadata),{},{marketConsentValue:t})),rl("marketConsentValue",t,e)},viewModel:a}),q.createElement(Lm,{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"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ll(a,e,ve.collectAgePersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(a,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ks("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(xm,{verificationService:e}))})),Xm=Rt((({value:e,isErrored:t,onChange:r,verificationService:n,intl:a,placeholder:o=""})=>{var i;const{programId:s,viewModel:l,verificationResponse:u}=n,c="sid-teacher-school",d=xa(l,u),f=z()(i=wn().urlAddSchoolForm||"").call(i),m=ie((()=>n.viewModel.countryChoice.value)),p=Ya(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(yl,{text:q.createElement(or,{id:"schoolName",defaultMessage:"School name"}),htmlForLabel:c,id:`${c}-label`,displayClasses:o&&"sid-h-screen-reader-only"}),q.createElement(bm,{className:t?"sid-text-input--error":"",countryCode:m,onChange:e=>r(e),minimumSearchValueLength:wn().minimumOrganizationSearchLength,placeholder:o||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 Qm(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function ep(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Qm(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Qm(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const tp=({verificationService:e})=>{var t;const r=e.viewModel,{fieldValidationErrors:n}=e,a=e.verificationResponse,o=Cd(a),i=r.localeChoice.value,s=(t,n)=>{const a=Hs(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-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:e}),q.createElement(Pm,{verificationService:e}))),q.createElement(ac,{verificationService:e}),q.createElement(km,{verificationService:e}),q.createElement(Xm,{value:e.viewModel.organization,verificationService:e,isErrored:!!n.organization,onChange:t=>{el(t,e),rl("organization",t,e)}}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:r.firstName,isErrored:!!n.firstName,onChange:t=>{s("firstName",t),rl("firstName",t,e)}}),q.createElement(Ml,{value:r.lastName,isErrored:!!n.lastName,onChange:t=>{s("lastName",t),rl("lastName",t,e)}})),e.programTheme.idCheckAddOnEnabled?q.createElement(Mm,{isErrored:!!n.birthDate,errorId:n.birthDate,locale:i,onChange:t=>{s("birthDate",t),rl("birthDate",t,e)},value:r.birthDate}):null,q.createElement(Cl,{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),rl("email",t,e)},onKeyDown:e=>sl(e)}),e.programTheme.isSmsNotifierConfigured||e.programTheme.smsLoopEnabled?q.createElement(dm,{isRequired:!!e.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:t=>{s("phoneNumber",t),rl("phoneNumber",t,e)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,((e,t)=>ie((()=>e.openOrgSearchEnabled))&&0===ie((()=>t.organization.id))&&ie((()=>t.organization.name),"").length>0)(e.programTheme,r)?q.createElement(Hm,{isErrored:!!n.postalCode,onChange:t=>{s("postalCode",t),rl("postalCode",t,e)},value:r.postalCode}):null,Mr()(t=wn().customFormFields).call(t,(t=>q.createElement(Fm,{config:t,verificationService:e}))),q.createElement(sm,{verificationService:e,isErrored:!!n.marketConsentValue,onChange:t=>{s("metadata",ep(ep({},e.viewModel.metadata),{},{marketConsentValue:t})),rl("marketConsentValue",t,e)},viewModel:r}),q.createElement(Lm,{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"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ll(r,e,ve.collectTeacherPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(r,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ks("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyTeacherStatus",defaultMessage:"Verify My Teacher Status"}))))),q.createElement(xm,{verificationService:e}))},rp=Rt((({value:e,isErrored:t,onChange:r,explanation:n,intl:a,placeholder:o="",isRequired:i=!1,label:s})=>q.createElement("div",{className:"sid-field sid-member-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(yl,{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${o&&" sid-h-screen-reader-only"}`,isRequired:i},n||(i?"":q.createElement(or,{id:"optional",defaultMessage:"Optional"}))),q.createElement(vl,{id:"member-id",isErrored:t,onChange:e=>r(e.target.value),placeholder:o||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))),np=Rt((({value:e,isErrored:t,onChange:r,verificationService:n,intl:a,placeholder:o=""})=>{const{programId:i}=n;return q.createElement("div",{className:"sid-field sid-membership-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(yl,{text:q.createElement(or,{id:"organization",defaultMessage:"Organization"}),htmlForLabel:"sid-membership",id:"sid-membership-label",displayClasses:o&&"sid-h-screen-reader-only"}),q.createElement(bm,{className:t?"sid-text-input--error":"",countryCode:ie((()=>n.viewModel.countryChoice.value)),onChange:e=>r(e),minimumSearchValueLength:wn().minimumOrganizationSearchLength,placeholder:o||a.formatHTMLMessage({id:"organizationNamePlaceholder",defaultMessage:"Organization"}),programId:i,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 ap(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function op(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 ip=({verificationService:e})=>{var t;const r=e.viewModel,{fieldValidationErrors:n}=e,a=e.verificationResponse,o=Cd(a),i=r.localeChoice.value,s=(t,n)=>{const a=Hs(r,(e=>{e[t]=n}));e.updateViewModel(a)};return q.createElement("div",{id:"sid-step-member-personal-info",className:"sid-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:e}),q.createElement(Pm,{verificationService:e}))),q.createElement(ac,{verificationService:e}),q.createElement(km,{verificationService:e}),q.createElement(np,{value:e.viewModel.organization,verificationService:e,isErrored:!!n.organization,onChange:t=>{el(t,e),rl("organization",t,e)}}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:r.firstName,isErrored:!!n.firstName,onChange:t=>{s("firstName",t),rl("firstName",t,e)}}),q.createElement(Ml,{value:r.lastName,isErrored:!!n.lastName,onChange:t=>{s("lastName",t),rl("lastName",t,e)}})),q.createElement(Cl,{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),rl("email",t,e)},onKeyDown:e=>sl(e)}),q.createElement(Mm,{isErrored:!!n.birthDate,errorId:n.birthDate,locale:i,isRequired:!1,onChange:t=>{s("birthDate",t),rl("birthDate",t,e)},value:r.birthDate}),q.createElement(rp,{value:r.memberId,isErrored:!!n.memberId,isRequired:!1,onChange:t=>{s("memberId",t),rl("memberId",t,e)}}),e.programTheme.isSmsNotifierConfigured||e.programTheme.smsLoopEnabled?q.createElement(dm,{isRequired:!!e.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:t=>{s("phoneNumber",t),rl("phoneNumber",t,e)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,Mr()(t=wn().customFormFields).call(t,(t=>q.createElement(Fm,{config:t,verificationService:e}))),q.createElement(sm,{verificationService:e,isErrored:!!n.marketConsentValue,onChange:t=>{s("metadata",op(op({},e.viewModel.metadata),{},{marketConsentValue:t})),rl("marketConsentValue",t,e)},viewModel:r}),q.createElement(Lm,{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"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ll(r,e,ve.collectMemberPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(r,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ks("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyMembershipStatus",defaultMessage:"Verify My Membership Status"}))))),q.createElement(xm,{verificationService:e}))},sp=Rt((({value:e,isErrored:t,errorId:r="invalidStatus",options:n,onChange:a,intl:o,placeholder:i="",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(yl,{text:q.createElement(or,{id:"status",defaultMessage:"Status"}),htmlForLabel:u,id:`${u}-label`,displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(Ju,{fieldId:"status",inputId:u,fieldLabelId:`${u}-label`,isErrored:t,options:n,onChange:e=>a(e),onKeyDown:s,value:xl()(n).call(n,(t=>t.value===(e&&e.value))),placeholder:i||o.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)})),lp=(e,t)=>{let r;try{r=e.label.toUpperCase()>t.label.toUpperCase()?1:-1}catch(e){r=1}return r},up=e=>({value:e.id,label:e.name,country:e.country}),cp=(e,t,r,n)=>{const a=r.viewModel;return $s(a,(r=>{r[e]=t,n||(r.fieldsToSkipValidation=["status"]),"status"===e&&(r.organization={id:0,name:""})}))},dp=Rt((({autoFocus:e,onChange:t,value:r,isErrored:n,organizations:a,verificationService:i,intl:s,placeholder:l=""})=>{let u=[];const{status:c}=i.viewModel,d=i.viewModel,f="sid-branch-of-service",{countryChoice:m}=d;if(a){let e;e=o()(a).call(a,(e=>t=>"VETERAN"===e?!!t.name:"RESERVIST"===e?Ho()(Te).call(Te,t.name):!Ho()(Te).call(Te,t.name))(c)),m&&(e=o()(a).call(a,(e=>e.country===m.value))),u=Mr()(e).call(e,up)}return q.createElement("div",{className:`sid-field ${f}-id`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(yl,{text:q.createElement(or,{id:"branchOfService",defaultMessage:"Branch Of Service"}),htmlForLabel:f,id:`${f}-label`,displayClasses:l&&"sid-h-screen-reader-only"}),q.createElement(Ju,{autoFocus:e,fieldId:"organization",inputId:f,fieldLabelId:`${f}-label`,isErrored:n,options:(p=u,ha()(p).call(p,lp)),onChange:e=>((e,t)=>{t(e?{id:e.value,name:e.label}:{id:0,name:""})})(e,t),value:xl()(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})),fp=({onChange:e,isErrored:t,errorId:r="invalidActiveDutyStartDate",value:n="2000-01-01",locale:a=en})=>q.createElement(wm,{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 mp(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function pp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=mp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=mp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const hp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,a=t.previousViewModel,{fieldValidationErrors:o}=t,i=t.verificationResponse,s=Cd(i),{status:l}=t.viewModel,u=ol(t,e),c=n.localeChoice.value,d=(e,r)=>{t.updateViewModel(cp(e,r,t,u))};return(n.status&&a&&a.status!==n.status||n.status&&t.verificationResponse.currentStep===ve.collectMilitaryStatus)&&(()=>{const e=Hs(n,(()=>{}));he.info("StepMilitaryStatusComponent submitting form"),t.submitStep(ve.collectMilitaryStatus,e,t.previousVerificationResponse||t.verificationResponse)})(),Xs(),q.createElement("div",{id:"sid-step-active-military-personal-info",className:"sid-l-container"},s?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:t}),q.createElement(Pm,{verificationService:t}))),q.createElement(ac,{verificationService:t}),q.createElement(km,{verificationService:t}),u?q.createElement(sp,{segmentId:"military",value:{value:n.status,label:al(e,n.status,De)},isErrored:!!o.status,errorId:"invalidMilitaryStatus",options:u,onChange:e=>{d("status",e?e.value:""),rl("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(dp,{isErrored:!!o.organization,onChange:e=>{el(e,t),rl("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(wl,{value:n.firstName,isErrored:!!o.firstName,onChange:e=>{d("firstName",e),rl("firstName",e,t)}}),q.createElement(Ml,{value:n.lastName,isErrored:!!o.lastName,onChange:e=>{d("lastName",e),rl("lastName",e,t)}})),q.createElement(Mm,{isErrored:!!o.birthDate,errorId:o.birthDate,locale:c,onChange:e=>{d("birthDate",e),rl("birthDate",e,t)},value:n.birthDate}),t.programTheme.strictMilitaryValidationEnabled&&q.createElement(fp,{isErrored:!!o.activeDutyStartDate,errorId:o.activeDutyStartDate,locale:c,onChange:e=>{d("activeDutyStartDate",e),rl("activeDutyStartDate",e,t)},value:n.activeDutyStartDate}),q.createElement(Cl,{value:n.email,isErrored:!!o.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Personal email address is recommended"}),onChange:e=>{d("email",e),rl("email",e,t)},onKeyDown:e=>sl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(dm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!o.phoneNumber,onChange:e=>{d("phoneNumber",e),rl("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,Mr()(r=wn().customFormFields).call(r,(e=>q.createElement(Fm,{config:e,verificationService:t}))),q.createElement(sm,{verificationService:t,isErrored:!!o.marketConsentValue,onChange:e=>{d("metadata",pp(pp({},t.viewModel.metadata),{},{marketConsentValue:e})),rl("marketConsentValue",e,t)},viewModel:n}),q.createElement(Lm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ll(n,t,ve.collectActiveMilitaryPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ks("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(xm,{verificationService:t}))})),gp=({onChange:e,isErrored:t,value:r="2000-01-01"})=>q.createElement(wm,{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 vp(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function yp(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 bp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,a=t.previousViewModel,{fieldValidationErrors:o}=t,i=t.verificationResponse,s=Cd(i),l=ol(t,e),u=n.localeChoice.value,c=(e,r)=>{t.updateViewModel(cp(e,r,t,l))};return(n.status&&a&&a.status!==n.status||n.status&&t.verificationResponse.currentStep===ve.collectMilitaryStatus)&&(()=>{const e=Hs(n,(()=>{}));he.info("StepMilitaryStatusComponent submitting form"),t.submitStep(ve.collectMilitaryStatus,e,t.previousVerificationResponse||t.verificationResponse)})(),Xs(),q.createElement("div",{id:"sid-step-inactive-military-personal-info",className:"sid-l-container"},s?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:t}),q.createElement(Pm,{verificationService:t}))),q.createElement(ac,{verificationService:t}),q.createElement(km,{verificationService:t}),l?q.createElement(sp,{segmentId:"military",value:{value:n.status,label:al(e,n.status,De)},isErrored:!!o.status,errorId:"invalidMilitaryStatus",options:l,onChange:e=>{c("status",e?e.value:""),rl("status",e?e.value:"",t)}}):null,q.createElement(dp,{isErrored:!!o.organization,onChange:e=>{el(e,t),rl("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(wl,{value:n.firstName,isErrored:!!o.firstName,onChange:e=>{c("firstName",e),rl("firstName",e,t)}}),q.createElement(Ml,{value:n.lastName,isErrored:!!o.lastName,onChange:e=>{c("lastName",e),rl("lastName",e,t)}})),q.createElement(Mm,{isErrored:!!o.birthDate,errorId:o.birthDate,locale:u,onChange:e=>{c("birthDate",e),rl("birthDate",e,t)},value:n.birthDate}),t.programTheme.strictMilitaryValidationEnabled&&q.createElement(fp,{isErrored:!!o.activeDutyStartDate,locale:u,onChange:e=>{c("activeDutyStartDate",e),rl("activeDutyStartDate",e,t)},value:n.activeDutyStartDate}),q.createElement(gp,{isErrored:!!o.dischargeDate,onChange:e=>{c("dischargeDate",e),rl("dischargeDate",e,t)},value:n.dischargeDate}),q.createElement(Cl,{value:n.email,isErrored:!!o.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Personal email address is recommended"}),onChange:e=>{c("email",e),rl("email",e,t)},onKeyDown:e=>sl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(dm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!o.phoneNumber,onChange:e=>{c("phoneNumber",e),rl("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,Mr()(r=wn().customFormFields).call(r,(e=>q.createElement(Fm,{config:e,verificationService:t}))),q.createElement(sm,{verificationService:t,isErrored:!!o.marketConsentValue,onChange:e=>{c("metadata",yp(yp({},t.viewModel.metadata),{},{marketConsentValue:e})),rl("marketConsentValue",e,t)},viewModel:n}),q.createElement(Lm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ll(n,t,ve.collectInactiveMilitaryPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ks("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(xm,{verificationService:t}))})),Ep=Rt((({onChange:e,value:t,isErrored:r,verificationService:n,intl:a,placeholder:o=""})=>{const{programId:i}=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(yl,{text:q.createElement(or,{id:"organization",defaultMessage:"Organization"}),htmlForLabel:s,id:`${s}-label`,displayClasses:o&&"sid-h-screen-reader-only"}),q.createElement(bm,{className:r?"sid-text-input--error":"",countryCode:ie((()=>n.viewModel.countryChoice.value)),minimumSearchValueLength:wn().minimumOrganizationSearchLength,onChange:t=>e(t),placeholder:o||a.formatHTMLMessage({id:"organizationPlaceholder",defaultMessage:"Organization"}),programId:i,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 Sp(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function wp(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 Mp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,o=t.verificationResponse,i=Cd(o),s=n.localeChoice.value,l=(e,r)=>{const a=Hs(n,(t=>{t[e]=r}));t.updateViewModel(a)},u=ie((()=>t.programTheme.openOrgSearchEnabled))&&0===ie((()=>n.organization.id))&&ie((()=>n.organization.name),"").length>0;return u?n.postalCode=n.postalCode?n.postalCode:"":(n.postalCode||""===n.postalCode)&&(delete n.postalCode,rl("postalCode",void 0,t)),q.createElement("div",{id:"sid-step-active-first-responder-personal-info",className:"sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:t}),q.createElement(Pm,{verificationService:t}))),q.createElement(ac,{verificationService:t}),q.createElement(km,{verificationService:t}),q.createElement(sp,{segmentId:"first-responder",value:{value:n.status,label:al(e,n.status,Ae)},isErrored:!!a.status,errorId:"invalidFirstResponderStatus",options:(()=>{const r=t.verificationResponse.availableStatuses,n=[];return d()(r).call(r,(t=>{n.push({value:t,label:al(e,t,Ae)})})),n})(),onChange:e=>{l("status",e?e.value:""),rl("status",e?e.value:"",t)}}),q.createElement(Ep,{isErrored:!!a.organization,onChange:e=>{el(e,t),rl("organization",e,t)},value:t.viewModel.organization,verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{l("firstName",e),rl("firstName",e,t)}}),q.createElement(Ml,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{l("lastName",e),rl("lastName",e,t)}})),q.createElement(Mm,{isErrored:!!a.birthDate,errorId:a.birthDate,locale:s,onChange:e=>{l("birthDate",e),rl("birthDate",e,t)},value:n.birthDate}),q.createElement(Cl,{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),rl("email",e,t)},onKeyDown:e=>sl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(dm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{l("phoneNumber",e),rl("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,u?q.createElement(Hm,{isErrored:!!a.postalCode,onChange:e=>{l("postalCode",e),rl("postalCode",e,t)},value:n.postalCode}):null,Mr()(r=wn().customFormFields).call(r,(e=>q.createElement(Fm,{config:e,verificationService:t}))),q.createElement(sm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{l("metadata",wp(wp({},t.viewModel.metadata),{},{marketConsentValue:e})),rl("marketConsentValue",e,t)},viewModel:n}),q.createElement(Lm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ll(n,t,ve.collectFirstResponderPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ks("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyFirstResponderStatus",defaultMessage:"Verify My First Responder Status"}))))),q.createElement(xm,{verificationService:t}))})),Cp=Rt((({onChange:e,value:t,isErrored:r,verificationService:n,intl:a,placeholder:o=""})=>{const{programId:i}=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(yl,{text:q.createElement(or,{id:"organization",defaultMessage:"Organization"}),htmlForLabel:s,id:`${s}-label`,displayClasses:o&&"sid-h-screen-reader-only"}),q.createElement(bm,{className:r?"sid-text-input--error":"",countryCode:ie((()=>n.viewModel.countryChoice.value)),minimumSearchValueLength:wn().minimumOrganizationSearchLength,onChange:t=>e(t),placeholder:o||a.formatHTMLMessage({id:"organizationPlaceholder",defaultMessage:"Organization"}),programId:i,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 Ip(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function Np(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Ip(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Ip(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Dp={AT:"gbrNummer",ES:"numeroColegiado",DK:"autorisationsId",CH:"globalLocationNumber",IE:"registrationNumber",GB:"registrationNumber"},Tp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,o=t.verificationResponse,i=Cd(o),[s,l]=q.useState(void 0),[u,c]=q.useState(!1),f=n.localeChoice.value,m=(e,r)=>{const a=pl(n,e,r);t.updateViewModel(a)};return q.useEffect((()=>{hr((function*(){if(n.country&&n.status)try{const e=yield cd(o.verificationId,o.currentStep,n),t=ie((()=>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=Dp[n.country]?Dp[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-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:t}),q.createElement(Pm,{verificationService:t}))),q.createElement(ac,{verificationService:t}),q.createElement(km,{verificationService:t}),q.createElement(sp,{segmentId:"medical",value:{value:n.status,label:al(e,n.status,xe)},isErrored:!!a.status,options:(()=>{const t=o.availableStatuses,r=[];return d()(t).call(t,(t=>{r.push({value:t,label:al(e,t,xe)})})),r})(),onChange:e=>{m("status",e?e.value:""),rl("status",e?e.value:"",t)}}),q.createElement(Cp,{isErrored:!!a.organization,onChange:e=>{el(e,t),rl("organization",e,t)},value:t.viewModel.organization,verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{m("firstName",e),rl("firstName",e,t)}}),q.createElement(Ml,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{m("lastName",e),rl("lastName",e,t)}})),q.createElement(Mm,{isErrored:!!a.birthDate,errorId:a.birthDate,locale:f,onChange:e=>{m("birthDate",e),rl("birthDate",e,t)},value:n.birthDate}),q.createElement(Hm,{isErrored:!!a.postalCode,onChange:e=>{m("postalCode",e),rl("postalCode",e,t)},value:n.postalCode,explanation:q.createElement(or,{id:"postalCodeExplanation",defaultMessage:"Use the location on file with your licensing body"})}),q.createElement(Cl,{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),rl("email",e,t)},onKeyDown:e=>sl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(dm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{m("phoneNumber",e),rl("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,u&&q.createElement(rp,{value:n.memberId,isErrored:!!a.memberId,isRequired:!1,onChange:e=>{m("memberId",e),rl("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"})}),Mr()(r=wn().customFormFields).call(r,(e=>q.createElement(Fm,{config:e,verificationService:t}))),q.createElement(sm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{m("metadata",Np(Np({},t.viewModel.metadata),{},{marketConsentValue:e})),rl("marketConsentValue",e,t)},viewModel:n}),q.createElement(Lm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ll(n,t,ve.collectMedicalProfessionalPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ks("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyMedicalProfessionalStatus",defaultMessage:"Verify My Medical Professional Status"}))))),q.createElement(xm,{verificationService:t}))})),Ap=Rt((({value:e,isErrored:t,options:r,onChange:n,intl:a,placeholder:o="",label:i="",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(yl,{text:i||q.createElement(or,{id:"state",defaultMessage:"State where you live"}),htmlForLabel:l,id:`${l}-label`,displayClasses:o&&"sid-h-screen-reader-only",isRequired:s}),q.createElement(Ju,{fieldId:"state",inputId:l,fieldLabelId:`${l}-label`,isErrored:t,options:r,onChange:e=>n(e),placeholder:a.formatHTMLMessage({id:"statePlaceholder",defaultMessage:"State"}),value:xl()(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)})),xp=Rt((({onChange:e,value:t,isErrored:r,verificationService:n,intl:a,placeholder:o=""})=>{const{programId:i}=n;return q.createElement("div",{className:"sid-field sid-company-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(yl,{text:q.createElement(or,{id:"company",defaultMessage:"Company"}),htmlForLabel:"sid-company",id:"sid-company-label",displayClasses:o&&"sid-h-screen-reader-only"}),q.createElement(bm,{className:r?"sid-text-input--error":"",countryCode:ie((()=>n.viewModel.countryChoice.value)),minimumSearchValueLength:wn().minimumOrganizationSearchLength,onChange:t=>e(t),placeholder:o||a.formatHTMLMessage({id:"companyPlaceholder",defaultMessage:"Company"}),programId:i,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 _p(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function Op(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=_p(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=_p(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const kp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,o=(e,r)=>{const a=Hs(n,(t=>{t[e]=r}));t.updateViewModel(a)};return q.createElement("div",{id:"sid-step-employment-personal-info",className:"sid-l-container"},q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:t}),q.createElement(Pm,{verificationService:t}))),q.createElement(ac,{verificationService:t}),q.createElement(km,{verificationService:t,viewModelDraftDecorator:(e,r)=>{const n=e;n.shouldCollectAddress=nl(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(xp,{value:t.viewModel.organization,verificationService:t,isErrored:!!a.organization,onChange:e=>{el(e,t),rl("organization",e,t)}}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{o("firstName",e),rl("firstName",e,t)}}),q.createElement(Ml,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{o("lastName",e),rl("lastName",e,t)}})),nl(n.countryChoice,t.programTheme.config.countries)?q.createElement(Ym,{isErrored:!!a.address1,errorId:a.address1,onChange:e=>{o("address1",e),rl("address1",e,t)},isRequired:!0,value:n.address1}):null,nl(n.countryChoice,t.programTheme.config.countries)?q.createElement("div",{className:"sid-thirds"},q.createElement(Gm,{isErrored:!!a.city,errorId:a.city,onChange:e=>{o("city",e),rl("city",e,t)},value:n.city,isRequired:!0}),q.createElement(Ap,{isRequired:!0,options:dl(t.programTheme,e),value:n.state||void 0,isErrored:Boolean(a.state),onChange:function(){var e=hr((function*(e){const r=e?e.value:void 0;o("state",r),rl("state",r,t)}));return function(t){return e.apply(this,arguments)}}(),label:q.createElement(or,{id:"state",defaultMessage:"State"})}),q.createElement(Hm,{isErrored:!!a.postalCode,onChange:e=>{o("postalCode",e),rl("postalCode",e,t)},value:n.postalCode})):null,q.createElement(Cl,{value:n.email,isErrored:!!a.email,explanation:q.createElement(or,{id:"employment.emailExplanation",defaultMessage:"Use your work email if you have one"}),onChange:e=>{o("email",e),rl("email",e,t)},onKeyDown:e=>sl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(dm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{o("phoneNumber",e),rl("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,Mr()(r=wn().customFormFields).call(r,(e=>q.createElement(Fm,{config:e,verificationService:t}))),q.createElement(sm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{o("metadata",Op(Op({},t.viewModel.metadata),{},{marketConsentValue:e})),rl("marketConsentValue",e,t)},viewModel:n}),q.createElement(Lm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-wrapper__collect-info",onClick:()=>ll(n,t,ve.collectEmployeePersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-label":"submit","aria-labelledby":"verify-status-text",ref:e=>Ks("submitButton",e)},q.createElement("span",{id:"verify-status-text"},q.createElement(or,{id:"verifyMyEmploymentStatus",defaultMessage:"Verify My Employment Status"}))))),q.createElement(xm,{verificationService:t}))})),Pp=Rt((({value:e,isErrored:t,onChange:r,explanation:n,intl:a,placeholder:o="",isRequired:i=!1})=>q.createElement("div",{className:"sid-field sid-driver-license-number"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(yl,{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${o&&" sid-h-screen-reader-only"}`,isRequired:i},n||(i?"":q.createElement(or,{id:"optional",defaultMessage:"Optional"}))),q.createElement(vl,{id:"driver-license-number",isErrored:t,onChange:e=>r(e.target.value),placeholder:o||a.formatHTMLMessage({id:"driverLicenseNumberPlaceholder",defaultMessage:"Driver license number"}),refId:"driverLicenseNumber",value:e,required:i,"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 Rp(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function Fp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Rp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Rp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Lp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,o=t.verificationResponse,i=Cd(o),s=(e,r)=>{const a=Hs(n,(t=>{t[e]=r}));t.updateViewModel(a)};return Xs(),q.createElement("div",{id:"sid-step-driver-license-personal-info",className:"sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:t}),q.createElement(Pm,{verificationService:t}))),q.createElement(ac,{verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{s("firstName",e),rl("firstName",e,t)}}),q.createElement(Ml,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{s("lastName",e),rl("lastName",e,t)}})),q.createElement(Cl,{value:n.email,isErrored:!!a.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Personal email address is recommended"}),onChange:e=>{s("email",e),rl("email",e,t)},onKeyDown:e=>sl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(dm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{s("phoneNumber",e),rl("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,q.createElement(Ap,{isRequired:!0,options:dl(t.programTheme,e),value:n.state||void 0,isErrored:Boolean(a.state),onChange:function(){var e=hr((function*(e){const r=e?e.value:void 0;s("state",r),rl("state",r,t)}));return function(t){return e.apply(this,arguments)}}(),label:q.createElement(or,{id:"driverLicenseState",defaultMessage:"Driver license state"})}),q.createElement(Pp,{value:n.driverLicenseNumber,isErrored:!!a.driverLicenseNumber,isRequired:!0,onChange:e=>{s("driverLicenseNumber",e),rl("driverLicenseNumber",e,t)}}),Mr()(r=wn().customFormFields).call(r,(e=>q.createElement(Fm,{config:e,verificationService:t}))),q.createElement(sm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{s("metadata",Fp(Fp({},t.viewModel.metadata),{},{marketConsentValue:e})),rl("marketConsentValue",e,t)},viewModel:n}),q.createElement(Lm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ll(n,t,ve.collectDriverLicensePersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ks("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyIdentityStatus",defaultMessage:"Verify My Identity"}))))),q.createElement(xm,{verificationService:t}))}));function Up(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}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=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 Vp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,o=t.verificationResponse,i=Cd(o),s=n.localeChoice.value,l=(e,r)=>{const a=Hs(n,(t=>{t[e]=r}));t.updateViewModel(a)};return Xs(),q.createElement("div",{id:"sid-step-general-identity-personal-info",className:"sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:t}),q.createElement(Pm,{verificationService:t}))),q.createElement(ac,{verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{l("firstName",e),rl("firstName",e,t)}}),q.createElement(Ml,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{l("lastName",e),rl("lastName",e,t)}})),q.createElement(Cl,{value:n.email,isErrored:!!a.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Personal email address is recommended"}),onChange:e=>{l("email",e),rl("email",e,t)},onKeyDown:e=>sl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(dm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{l("phoneNumber",e),rl("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,q.createElement(Mm,{isErrored:!!a.birthDate,errorId:a.birthDate,locale:s,onChange:e=>{l("birthDate",e),rl("birthDate",e,t)},value:n.birthDate}),q.createElement(Ym,{isErrored:!!a.address1,errorId:a.address1,onChange:e=>{l("address1",e),rl("address1",e,t)},value:n.address1,isRequired:!0}),q.createElement("div",{className:"sid-thirds"},q.createElement(Gm,{isErrored:!!a.city,errorId:a.city,onChange:e=>{l("city",e),rl("city",e,t)},value:n.city,isRequired:!0}),q.createElement(Ap,{isRequired:!0,options:dl(t.programTheme,e),value:n.state||void 0,isErrored:Boolean(a.state),onChange:function(){var e=hr((function*(e){const r=e?e.value:void 0;l("state",r),rl("state",r,t)}));return function(t){return e.apply(this,arguments)}}()}),q.createElement(Hm,{isErrored:!!a.postalCode,onChange:e=>{l("postalCode",e),rl("postalCode",e,t)},value:n.postalCode,isRequired:!0})),Mr()(r=wn().customFormFields).call(r,(e=>q.createElement(Fm,{config:e,verificationService:t}))),q.createElement(sm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{l("metadata",Bp(Bp({},t.viewModel.metadata),{},{marketConsentValue:e})),rl("marketConsentValue",e,t)},viewModel:n}),q.createElement(Lm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ll(n,t,ve.collectGeneralIdentityPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ks("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyIdentityStatus",defaultMessage:"Verify My Identity"}))))),q.createElement(xm,{verificationService:t}))}));function jp(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}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=jp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=jp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Hp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,o=t.verificationResponse,i=Cd(o),s=n.localeChoice.value,l=(e,r)=>{const a=Hs(n,(t=>{t[e]=r}));t.updateViewModel(a)};return Xs(),q.createElement("div",{id:"sid-step-hybrid-identity-personal-info",className:"sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:t}),q.createElement(Pm,{verificationService:t}))),q.createElement(ac,{verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{l("firstName",e),rl("firstName",e,t)}}),q.createElement(Ml,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{l("lastName",e),rl("lastName",e,t)}})),q.createElement(Cl,{value:n.email,isErrored:!!a.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Personal email address is recommended"}),onChange:e=>{l("email",e),rl("email",e,t)},onKeyDown:e=>sl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(dm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{l("phoneNumber",e),rl("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,q.createElement(Mm,{isErrored:!!a.birthDate,errorId:a.birthDate,locale:s,onChange:e=>{l("birthDate",e),rl("birthDate",e,t)},value:n.birthDate}),q.createElement(Ym,{isErrored:!!a.address1,errorId:a.address1,onChange:e=>{l("address1",e),rl("address1",e,t)},value:n.address1,isRequired:!0}),q.createElement("div",{className:"sid-thirds"},q.createElement(Gm,{isErrored:!!a.city,errorId:a.city,onChange:e=>{l("city",e),rl("city",e,t)},value:n.city,isRequired:!0}),q.createElement(Ap,{isRequired:!0,options:dl(t.programTheme,e),value:n.state||void 0,isErrored:Boolean(a.state),onChange:function(){var e=hr((function*(e){const r=e?e.value:void 0;l("state",r),rl("state",r,t)}));return function(t){return e.apply(this,arguments)}}()}),q.createElement(Hm,{isErrored:!!a.postalCode,onChange:e=>{l("postalCode",e),rl("postalCode",e,t)},value:n.postalCode})),q.createElement(Pp,{value:n.driverLicenseNumber,isErrored:!!a.driverLicenseNumber,isRequired:!0,onChange:e=>{l("driverLicenseNumber",e),rl("driverLicenseNumber",e,t)}}),Mr()(r=wn().customFormFields).call(r,(e=>q.createElement(Fm,{config:e,verificationService:t}))),q.createElement(sm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{l("metadata",zp(zp({},t.viewModel.metadata),{},{marketConsentValue:e})),rl("marketConsentValue",e,t)},viewModel:n}),q.createElement(Lm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ll(n,t,ve.collectHybridIdentityPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ks("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyIdentityStatus",defaultMessage:"Verify My Identity"}))))),q.createElement(xm,{verificationService:t}))})),$p=Rt((({value:e,isErrored:t,onChange:r,verificationService:n,intl:a,placeholder:o=""})=>{const{programId:i}=n;return q.createElement("div",{className:"sid-field sid-licensed-professional-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(yl,{text:q.createElement(or,{id:"organization",defaultMessage:"Organization"}),htmlForLabel:"sid-licensed-professional",id:"sid-licensed-professional-label",displayClasses:o&&"sid-h-screen-reader-only"}),q.createElement(bm,{className:t?"sid-text-input--error":"",countryCode:ie((()=>n.viewModel.countryChoice.value)),onChange:e=>r(e),minimumSearchValueLength:wn().minimumOrganizationSearchLength,placeholder:o||a.formatHTMLMessage({id:"organizationNamePlaceholder",defaultMessage:"Organization"}),programId:i,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 qp(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function Wp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=qp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=qp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Gp={LICENSED_COSMETOLOGIST:"Licensed Cosmetologist",LICENSED_REAL_ESTATE_AGENT:"Licensed Real Estate Agent",VETERINARIAN:"Veterinarian",CHILD_CARE_WORKER:"Child Care Worker",LIBRARIAN:"Librarian"},Yp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,o=t.verificationResponse,i=Cd(o),s=n.localeChoice.value,l=(e,r)=>{const a=Hs(n,(t=>{t[e]=r}));t.updateViewModel(a)},u=t=>t?e.formatHTMLMessage({id:t,defaultMessage:Gp[t]}):"";return q.createElement("div",{id:"sid-step-licensed-professional-personal-info",className:"sid-l-container"},i?q.createElement("p",null,"Failied instant match"):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:t}),q.createElement(Pm,{verificationService:t}))),q.createElement(ac,{verificationService:t}),q.createElement(km,{verificationService:t}),q.createElement(sp,{segmentId:"licensed-professional",value:{value:n.statuses?n.statuses[0]:"",label:n.statuses?u(n.statuses[0]):""},isErrored:!!a.statuses,options:(()=>{const e=o.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),rl("statuses",e?e.value:"",t)}}),q.createElement($p,{isErrored:!!a.organization,onChange:e=>{el(e,t),rl("organization",e,t)},value:t.viewModel.organization,verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{l("firstName",e),rl("firstName",e,t)}}),q.createElement(Ml,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{l("lastName",e),rl("lastName",e,t)}})),q.createElement(Mm,{isErrored:!!a.birthDate,errorId:a.birthDate,locale:s,onChange:e=>{l("birthDate",e),rl("birthDate",e,t)},value:n.birthDate}),q.createElement(Hm,{isErrored:!!a.postalCode,onChange:e=>{l("postalCode",e),rl("postalCode",e,t)},value:n.postalCode,explanation:q.createElement(or,{id:"postalCodeExplanation",defaultMessage:"Use the location on file with your licensing body"})}),q.createElement(Cl,{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),rl("email",e,t)},onKeyDown:e=>sl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(dm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{l("phoneNumber",e),rl("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,Mr()(r=wn().customFormFields).call(r,(e=>q.createElement(Fm,{config:e,verificationService:t}))),q.createElement(sm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{l("metadata",Wp(Wp({},t.viewModel.metadata),{},{marketConsentValue:e})),rl("marketConsentValue",e,t)},viewModel:n}),q.createElement(Lm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ll(n,t,ve.collectLicensedProfessionalPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ks("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyLicensedProfessionalStatus",defaultMessage:"Verify My Licensed Professional Status"}))))),q.createElement(xm,{verificationService:t}))}));function Kp(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}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=Kp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Kp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Jp=Rt((({verificationService:e})=>{var t;const r=e.viewModel,{fieldValidationErrors:n}=e,a=e.verificationResponse,o=Cd(a),i=(t,n)=>{const a=Hs(r,(e=>{e[t]=n}));e.updateViewModel(a)};return(0,q.useEffect)((()=>{i("statuses",a.availableStatuses)}),[]),q.createElement("div",{id:"sid-step-mover-personal-info",className:"sid-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:e}),q.createElement(Pm,{verificationService:e}))),q.createElement(ac,{verificationService:e}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:r.firstName,isErrored:!!n.firstName,onChange:t=>{i("firstName",t),rl("firstName",t,e)}}),q.createElement(Ml,{value:r.lastName,isErrored:!!n.lastName,onChange:t=>{i("lastName",t),rl("lastName",t,e)}})),q.createElement(Ym,{value:r.address1,isErrored:!!n.address1,errorId:n.address1,onChange:t=>{i("address1",t),rl("address1",t,e)},label:q.createElement(or,{id:"streetAddress",defaultMessage:"Street Address"}),isRequired:!0}),q.createElement(Hm,{value:r.postalCode,isErrored:!!n.postalCode,onChange:t=>{i("postalCode",t),rl("postalCode",t,e)}}),q.createElement(Cl,{value:r.email,isErrored:!!n.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Needed to send you your unique code"}),onChange:t=>{i("email",t),rl("email",t,e)},onKeyDown:e=>sl(e)}),e.programTheme.isSmsNotifierConfigured||e.programTheme.smsLoopEnabled?q.createElement(dm,{isRequired:!!e.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:t=>{i("phoneNumber",t),rl("phoneNumber",t,e)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,Mr()(t=wn().customFormFields).call(t,(t=>q.createElement(Fm,{config:t,verificationService:e}))),q.createElement(sm,{verificationService:e,isErrored:!!n.marketConsentValue,onChange:t=>{i("metadata",Zp(Zp({},e.viewModel.metadata),{},{marketConsentValue:t})),rl("marketConsentValue",t,e)},viewModel:r}),q.createElement(Lm,{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"},q.createElement("button",{id:"sid-submit-wrapper__collect-info",onClick:()=>ll(r,e,ve.collectMoverPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(r,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-label":"submit","aria-labelledby":"verify-status-text",ref:e=>Ks("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyMoverStatus",defaultMessage:"Verify My Recent Mover Status"}))))),q.createElement(xm,{verificationService:e}))})),Xp=Rt((({value:e,isErrored:t,onChange:r,verificationService:n,intl:a,placeholder:o="",isRequired:i=!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(yl,{text:q.createElement(or,{id:"lowIncomeOrganization",defaultMessage:"Government Assistance Program"}),htmlForLabel:"sid-low-income",id:"sid-low-income-label",displayClasses:o&&"sid-h-screen-reader-only",isRequired:i}),q.createElement(bm,{className:t?"sid-text-input--error":"",countryCode:ie((()=>n.viewModel.countryChoice.value)),onChange:e=>r(e),minimumSearchValueLength:wn().minimumOrganizationSearchLength,placeholder:o||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)})),Qp=Rt((({value:e,isErrored:t,onChange:r,intl:n,placeholder:a=""})=>q.createElement(Sl,{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 eh(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}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={SNAP_BENEFITS:"Snap Benefits Recipient",OTHER_GOVERNMENT_ASSISTANCE:"Other Government Assistance Recipient"},nh=Rt((({intl:e,verificationService:t})=>{const r=t.viewModel,{fieldValidationErrors:n}=t,a=t.verificationResponse,o=Cd(a),i=r.localeChoice.value,s=r.statuses[0]?r.statuses[0]:void 0,l="SNAP_BENEFITS"===s,u=(e,n)=>{const a=Hs(r,(t=>{t[e]=n}));t.updateViewModel(a)},c=t=>t?e.formatHTMLMessage({id:t,defaultMessage:rh[t]}):"";return q.useEffect((()=>{if(l){vf({fieldsToSkipValidation:["organization"]})}}),[l]),q.createElement("div",{id:"sid-step-low-income-personal-info",className:"sid-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:t}),q.createElement(Pm,{verificationService:t}))),q.createElement(ac,{verificationService:t}),q.createElement(km,{verificationService:t}),q.createElement(sp,{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),rl("statuses",e?e.value:"",t)}}),"SNAP_BENEFITS"===s&&q.createElement(Qp,{value:r.ebtCardNumber,isErrored:!!n.ebtCardNumber,onChange:e=>{u("ebtCardNumber",e),rl("ebtCardNumber",e,t)}}),"OTHER_GOVERNMENT_ASSISTANCE"===s&&q.createElement(Xp,{isErrored:!!n.organization,onChange:e=>{el(e,t),rl("organization",e,t)},value:t.viewModel.organization,verificationService:t,isRequired:!0}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:r.firstName,isErrored:!!n.firstName,onChange:e=>{u("firstName",e),rl("firstName",e,t)}}),q.createElement(Ml,{value:r.lastName,isErrored:!!n.lastName,onChange:e=>{u("lastName",e),rl("lastName",e,t)}})),q.createElement(Mm,{isErrored:!!n.birthDate,errorId:n.birthDate,locale:i,onChange:e=>{u("birthDate",e),rl("birthDate",e,t)},value:r.birthDate}),q.createElement(Ym,{isErrored:!!n.address1,errorId:n.address1,onChange:e=>{u("address1",e),rl("address1",e,t)},value:r.address1,isRequired:!0,explanation:q.createElement(or,{id:"addressExplanation",defaultMessage:"Use your home address"})}),q.createElement("div",{className:"sid-thirds"},q.createElement(Gm,{isErrored:!!n.city,errorId:n.city,onChange:e=>{u("city",e),rl("city",e,t)},value:r.city,isRequired:!0}),q.createElement(Ap,{isRequired:!0,options:dl(t.programTheme,e),value:r.state||void 0,isErrored:Boolean(n.state),onChange:function(){var e=hr((function*(e){const r=e?e.value:void 0;u("state",r),rl("state",r,t)}));return function(t){return e.apply(this,arguments)}}()}),q.createElement(Hm,{isErrored:!!n.postalCode,onChange:e=>{u("postalCode",e),rl("postalCode",e,t)},value:r.postalCode})),q.createElement(Cl,{value:r.email,isErrored:!!n.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:" "}),onChange:e=>{u("email",e),rl("email",e,t)},onKeyDown:e=>sl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(dm,{isRequired:!!t.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:e=>{u("phoneNumber",e),rl("phoneNumber",e,t)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,q.createElement(sm,{verificationService:t,isErrored:!!n.marketConsentValue,onChange:e=>{u("metadata",th(th({},t.viewModel.metadata),{},{marketConsentValue:e})),rl("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-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ll(r,t,ve.collectLowIncomePersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(r,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ks("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyLowIncomeStatus",defaultMessage:"Verify Status"}))))),q.createElement(xm,{verificationService:t}))}));String.prototype.insertAt=function(e,t){return e>this.length?this:`${Dr()(this).call(this,0,e)}${t}${Dr()(this).call(this,e)}`};const ah=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(/-$/,"")},oh=Rt((({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(yl,{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(vl,{id:"ssn",refId:_e.socialSecurityNumber,className:"sid-ssn__input",isErrored:t,required:!0,placeholder:a||n.formatHTMLMessage({id:"ssnPlaceholder",defaultMessage:"000-00-0000"}),value:ah(e),hidePlaceholder:!1,onChange:e=>(e=>{r(e)})((e=>{var t;return Dr()(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))),ih=({useSsn:e,useDocUpload:t,verificationService:r})=>q.createElement("div",{id:"sid-ssn-choice",className:"sid-l-container sid-l-horz-center"},q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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-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-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(xm,{verificationService:r}))),sh=Rt((({verificationService:e})=>{const[t,r]=q.useState(!0),n=e.viewModel,{fieldValidationErrors:a}=e,o=()=>e.submitStep(ve.cancelSocialSecurityNumber,n,e.verificationResponse),i=n.socialSecurityNumber&&9===n.socialSecurityNumber.toString().length;return t?q.createElement(ih,{useSsn:()=>r(!1),useDocUpload:o,verificationService:e}):q.createElement("div",{id:"sid-step-social-security",className:"sid-l-container sid-l-horz-center"},q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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(ac,{verificationService:e}),q.createElement("div",{className:"sid-ssn-wrapper"},q.createElement(oh,{value:n.socialSecurityNumber,onChange:t=>{((t,r)=>{const a=Hs(n,(e=>{e[t]=r}));e.updateViewModel(a)})("socialSecurityNumber",t),rl("socialSecurityNumber",t,e)},isErrored:!!a[_e.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-submit"},q.createElement("button",{id:"sid-submit-wrapper__collect-info",onClick:()=>ll(n,e,ve.collectSocialSecurityNumber),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(i?"":"sid-btn--disabled-like"),"aria-label":"submit",ref:e=>Ks("submitButton",e)},q.createElement(or,{id:"proceed",defaultMessage:"Proceed"})))),q.createElement("div",{className:"sid-form-region sid-l-space-top-md",role:"button",tabIndex:0,onKeyUp:o,onClick:o},q.createElement("div",{className:"sid-h-link-like"},q.createElement(or,{id:"step.collectSocialSecurityNumber.uploadInstead",defaultMessage:"Upload a document instead"}))),q.createElement(xm,{verificationService:e}))})),lh=({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(Am,{verificationService:e}))),uh=({verificationService:e})=>{const t=ie((()=>e.verificationResponse.segment)),r=q.useCallback((()=>{hr((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","aria-label":"submit",onClick:r,onKeyPress:r,tabIndex:0},q.createElement(or,{id:"tryAgain",defaultMessage:"Try again"}))},ch=({children:e})=>q.createElement("div",{className:"sid-l-space-top-lg sid-l-half-width sid-l-horz-center"},e),dh=Rt((({verificationService:e,errorId:t})=>{const r=e.verificationResponse;let n=ie((()=>r.errorIds))||[];t&&(n=[t,...n]);const a=ie((()=>n[0]),"error");let o={id:"error",defaultMessage:"Error"},i="sid-l-horz-center",s=q.createElement(ch,null,q.createElement(uh,{verificationService:e}));if(ie((()=>e.messages[`step.error.errorId.${a}.title`]))&&(o={id:`step.error.errorId.${a}.title`,defaultMessage:e.messages[`step.error.errorId.${a}.title`]}),ie((()=>e.messages[`step.error.errorId.${a}.buttonText`]))&&ie((()=>r.redirectUrl))&&(s=q.createElement(ch,null,q.createElement(pd,{href:r.redirectUrl,onClick:()=>Bd(ve.error,r.redirectUrl),className:"sid-btn sid-btn-light"},q.createElement(or,{id:`step.error.errorId.${a}.buttonText`,defaultMessage:e.messages[`step.error.errorId.${a}.buttonText`]})))),Ho()(n).call(n,"verificationLimitExceeded")&&(s=null,i+=" sid-l-space-top-xl"),Ho()(n).call(n,"unauthorizedAccountStatus")){const t=ie((()=>e.programTheme.config.brandInfo.faqUrl));s=t?q.createElement(ch,null,q.createElement(pd,{href:t,onClick:()=>Bd(ve.error,t),className:"sid-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-l-container"},q.createElement("div",{className:"sid-header sid-l-horz-center"},q.createElement("div",{className:i},q.createElement(lm,{verificationService:e,fallbackLogo:q.createElement("img",{className:"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,o)),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,Mr()(n).call(n,(t=>q.createElement(or,{key:t,id:`errorId.${t}`,defaultMessage:t,values:{feedbackUrl:mn.FEEDBACK_FORM_URL,programId:e.programId||"",locale:xa(e.viewModel,r).replace("-","_")}})))):null),s)),q.createElement("div",{className:"sid-footer sid-l-horz-center sid-l-space-top-xl sid-h-small-text"},q.createElement(lh,{verificationService:e,isCentered:!0})))})),fh="Please sign in to your school's web portal. It will open in a new tab.",mh=({verificationService:e})=>{const t=e.verificationResponse.redirectUrl,r=Boolean(t),n=e.verificationResponse.rewardCode||"${rewardCode}",a="noCode"===e.programTheme.config.offerType;return q.createElement("div",{id:"sid-step-success",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(lm,{verificationService:e,fallbackLogo:q.createElement("img",{className:"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."}))),a?null: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"},n),q.createElement("div",{className:"sid-l-space-top-md sid-h-bold-text sid-l-horz-center"},q.createElement(fr,{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-l-horz-center "+(a?"sid-l-space-top-md":"sid-l-space-top-lg")},q.createElement(or,{id:"step.success.emailNotification",defaultMessage:"\n We have emailed you a copy so you can use your code now or later. Look for the email from verify@sheerid.com\n "})),r?q.createElement("div",{className:"sid-submit sid-l-space-top-md"},q.createElement("button",{type:"button",onClick:()=>(e=>{window.open(e,"_parent").focus()})(t),className:"sid-btn sid-btn--dark"},q.createElement(or,{id:"step.success.redirectButtonText",defaultMessage:"Use code now"}))):"",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.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 ph=i(2035),hh=i.n(ph);const gh=q.memo((({countdownSeconds:e,onCountdownFinish:t,logo:r})=>{const[n,a]=q.useState(e),o=q.useRef(n),i=q.useRef(null),s=()=>{const e=o.current-1;a(e),o.current=e,e<0&&(t(),clearInterval(i.current))};return q.useEffect((()=>{if(!Nc())return i.current=hh()(s,1e3),()=>clearInterval(i.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:${Dr()(l=`0${n}`).call(l,-2)}`)),q.createElement("div",{className:"sid-l-space-top-xl"}));var l})),vh=({logo:e,cancelSSO:t})=>q.createElement("div",{className:"sid-header sid-l-horz-center"},q.createElement("div",{className:"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-submit-wrapper sid-l-space-top-md"},q.createElement("button",{onClick:t,type:"submit",className:"sid-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 yh(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}const bh=({intl:e,logo:t,verificationService:r})=>{const n=r.verificationResponse,[a,o]=q.useState(!1);!a&&((e,t)=>{if(new(Sr())(window.location.search).get("alerting"))return!0;const r=ie((()=>e.estimatedReviewTime)),n=ie((()=>e.maxReviewTime)),a=ie((()=>t.estimatedReviewTime)),o=ie((()=>t.maxReviewTime));return void 0!==r&&r!==a||void 0!==n&&n!==o})(r.previousVerificationResponse,n)&&o(!0);const i=ul(function(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=yh(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=yh(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:i})),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:i})))):null,q.createElement("div",{className:"sid-l-space-top-xl"}))},Eh=(e,t)=>{const r=q.useRef(null);function n(){clearInterval(r.current)}return q.useEffect((()=>(r.current=hh()(e,t),()=>n())),[e,t]),n},Sh=Rt((({verificationService:e,intl:t})=>{const{programId:r}=e,{viewModel:n}=e,a=e.previousViewModel||void 0,o=e.verificationResponse.lastResponse||e.previousVerificationResponse||void 0,{verificationId:i}=e.verificationResponse,s=Nc(),l=Ac()&&Ac()===ve.sso,u=Ac()&&Ac()===ve.docUpload,c=()=>!(!o||o.currentStep!==ve.sso),[d,f]=q.useState(((e,t,r,n)=>(e||!t)&&!r&&!n)("pending"===wn().mockStep,c(),l,u)),m=c()||d?5e3:2e4,p=!s&&Eh((()=>{e.fetchExistingVerificationRequest(r,i,o,a,!1)}),m),h=()=>{const t=Hs(n,(()=>{}));he.info("StepSSOComponent submitting cancel request"),p(),e.submitStep(ve.sso,t,o)},g=()=>{f(!1)},v=q.createElement(lm,{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(gh,{logo:v,onCountdownFinish:g,countdownSeconds:20}):r?q.createElement(vh,{logo:v,cancelSSO:h}):q.createElement(bh,{verificationService:e,logo:v,intl:t,maxReviewTime:qa(e.programTheme)})})(),d?q.createElement(lh,{verificationService:e,isCentered:!0}):q.createElement(xm,{verificationService:e},q.createElement("div",null)," "))})),wh=Rt((({onChange:e,value:t,isErrored:r,errorId:n,intl:a,placeholder:o=""})=>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(vl,{id:"sms-code",isErrored:r,required:!0,placeholder:o||a.formatHTMLMessage({id:"smsCodePlaceholder",defaultMessage:"SMS Code"}),value:t,onChange:t=>e(t.target.value)}))));function Mh(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function Ch(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}const Ih=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,a=t.verificationResponse,o=Boolean(t.fieldValidationErrors.smsCode),i=t.previousViewModel||void 0,[s,l]=q.useState(""),[u,c]=q.useState(a.errorIds&&Ho()(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)}),[]),ie((()=>a.errorIds.length))&&!t.fieldValidationErrors.smsCode&&t.updateFieldValidationErrors(Ch(Ch({},t.fieldValidationErrors),{},{smsCode:a.errorIds[0]}));const h=function(){var e=hr((function*(e){const t=yield fd.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-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"},ie((()=>i.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:ie((()=>{var e;return Dr()(e=i.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(wh,{onChange:e=>{const r=Hs(n,(t=>{t.smsCode=e,t.phoneNumber=i&&i.phoneNumber}));t.updateViewModel(r)},value:n.smsCode,isErrored:o,errorId:t.fieldValidationErrors.smsCode})),s&&q.createElement("div",null,q.createElement("p",null,s)),q.createElement("div",{className:"sid-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-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-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}})))))})),Nh=Rt((({intl:e,verificationService:r})=>{const n=r.verificationResponse,{programId:a}=r,{verificationId:o}=n,{canResendEmailLoop:i}=n,s=n.cancelUrl,l=r.viewModel,u=r.previousViewModel||void 0,c=r.previousVerificationResponse||void 0,[f,m]=q.useState(""),p=ie((()=>u.email));q.useEffect((()=>{(e=>{const r=e.viewModel,n=Ar(),a=Hs(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]),Eh((()=>{r.fetchExistingVerificationRequest(a,o,c,u,!1)}),1e4);const h=function(){var t=hr((function*(t){const r=yield fd.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=hr((function*(){he.info("StepEmailLoopComponent submitting form after skipping email loop");const e=$s(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-l-container"},q.createElement("div",{className:"sid-header sid-l-horz-center"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{verificationService:r,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"})})),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."})),i&&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(o),type:"submit",className:"sid-btn sid-btn--light sid-submit__cancel","aria-label":"re-send"},q.createElement(or,{id:"step.emailLoop.resendButton",defaultMessage:"Re-send"}))),f&&q.createElement("div",null,q.createElement("p",null,f)),q.createElement("div",{className:"sid-l-space-top-xl"})))}));var Dh=i(6358),Th=i.n(Dh),Ah=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 xh(e,t){var r=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var r=t.split(".").pop().toLowerCase(),n=Ah.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 _h=[".DS_Store","Thumbs.db"];function Oh(e){return(null!==e.target&&e.target.files?Rh(e.target.files):[]).map((function(e){return xh(e)}))}function kh(e,t){return Fl(this,void 0,void 0,(function(){var r;return Ll(this,(function(n){switch(n.label){case 0:return e.items?(r=Rh(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,r]:[4,Promise.all(r.map(Fh))]):[3,2];case 1:return[2,Ph(Lh(n.sent()))];case 2:return[2,Ph(Rh(e.files).map((function(e){return xh(e)})))]}}))}))}function Ph(e){return e.filter((function(e){return-1===_h.indexOf(e.name)}))}function Rh(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];t.push(n)}return t}function Fh(e){if("function"!=typeof e.webkitGetAsEntry)return Uh(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?Vh(t):Uh(e)}function Lh(e){return e.reduce((function(e,t){return function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Ul(arguments[t]));return e}(e,Array.isArray(t)?Lh(t):[t])}),[])}function Uh(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var r=xh(t);return Promise.resolve(r)}function Bh(e){return Fl(this,void 0,void 0,(function(){return Ll(this,(function(t){return[2,e.isDirectory?Vh(e):jh(e)]}))}))}function Vh(e){var t=e.createReader();return new Promise((function(e,r){var n=[];!function a(){var o=this;t.readEntries((function(t){return Fl(o,void 0,void 0,(function(){var o,i,s;return Ll(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 o=l.sent(),e(o),[3,4];case 3:return i=l.sent(),r(i),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(Bh)),n.push(s),a(),l.label=6;case 6:return[2]}}))}))}),(function(e){r(e)}))}()}))}function jh(e){return Fl(this,void 0,void 0,(function(){return Ll(this,(function(t){return[2,new Promise((function(t,r){e.file((function(r){var n=xh(r,e.fullPath);t(n)}),(function(e){r(e)}))}))]}))}))}var zh=i(8801);function Hh(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,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(n=(i=s.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){a=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(a)throw o}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return $h(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 $h(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 $h(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 qh=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)}},Wh=function(e){return{code:"file-too-large",message:"File is larger than ".concat(e," bytes")}},Gh=function(e){return{code:"file-too-small",message:"File is smaller than ".concat(e," bytes")}},Yh={code:"too-many-files",message:"Too many files"};function Kh(e,t){var r="application/x-moz-file"===e.type||(0,zh.Z)(e,t);return[r,r?null:qh(t)]}function Zh(e,t,r){if(Jh(e.size))if(Jh(t)&&Jh(r)){if(e.size>r)return[!1,Wh(r)];if(e.size<t)return[!1,Gh(t)]}else{if(Jh(t)&&e.size<t)return[!1,Gh(t)];if(Jh(r)&&e.size>r)return[!1,Wh(r)]}return[!0,null]}function Jh(e){return null!=e}function Xh(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function Qh(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 eg(e){e.preventDefault()}function tg(){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!Xh(e)&&t&&t.apply(void 0,[e].concat(n)),Xh(e)}))}}function rg(e){return function(e){if(Array.isArray(e))return og(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||ag(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 ng(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,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(n=(i=s.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){a=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(a)throw o}}return r}(e,t)||ag(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 ag(e,t){if(e){if("string"==typeof e)return og(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)?og(e,t):void 0}}function og(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 ig(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 sg(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ig(Object(r),!0).forEach((function(t){lg(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ig(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function lg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ug(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var cg=(0,q.forwardRef)((function(e,t){var r=e.children,n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=sg(sg({},dg),e),r=t.accept,n=t.disabled,a=t.getFilesFromEvent,o=t.maxSize,i=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,S=t.validator,w=(0,q.useRef)(null),M=(0,q.useRef)(null),C=ng((0,q.useReducer)(pg,mg),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){w.current&&w.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),x()))}),[w,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){w.current&&w.current.contains(e.target)||(e.preventDefault(),F.current=[])};(0,q.useEffect)((function(){return g&&(document.addEventListener("dragover",eg,!1),document.addEventListener("drop",L,!1)),function(){g&&(document.removeEventListener("dragover",eg),document.removeEventListener("drop",L))}}),[w,g]);var U=(0,q.useCallback)((function(e){e.preventDefault(),e.persist(),W(e),F.current=[].concat(rg(F.current),[e.target]),Qh(e)&&Promise.resolve(a(e)).then((function(t){Xh(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=Qh(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 w.current&&w.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:[]}),Qh(e)&&c&&c(e))}),[w,c,E]),j=(0,q.useCallback)((function(e){e.preventDefault(),e.persist(),W(e),F.current=[],Qh(e)&&Promise.resolve(a(e)).then((function(t){if(!Xh(e)||E){var n=[],a=[];t.forEach((function(e){var t=ng(Kh(e,r),2),s=t[0],l=t[1],u=ng(Zh(e,i,o),2),c=u[0],d=u[1],f=S?S(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:[Yh]})})),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,i,o,l,a,f,m,p,E]),z=function(e){return n?null:e},H=function(e){return y?null:z(e)},$=function(e){return b?null:z(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,o=e.onFocus,i=e.onBlur,s=e.onClick,l=e.onDragEnter,u=e.onDragOver,c=e.onDragLeave,d=e.onDrop,f=ug(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return sg(sg(lg({onKeyDown:H(tg(a,O)),onFocus:H(tg(o,k)),onBlur:H(tg(i,P)),onClick:z(tg(s,R)),onDragEnter:$(tg(l,U)),onDragOver:$(tg(u,B)),onDragLeave:$(tg(c,V)),onDrop:$(tg(d,j))},r,w),n||y?{}:{tabIndex:0}),f)}}),[w,O,k,P,R,U,B,V,j,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,o=e.onClick,i=ug(e,["refKey","onChange","onClick"]);return sg(sg({},lg({accept:r,multiple:s,type:"file",style:{display:"none"},onChange:z(tg(a,j)),onClick:z(tg(o,Y)),autoComplete:"off",tabIndex:-1},n,M)),i)}}),[M,r,s,j,n]),Z=A.length,J=Z>0&&function(e){var t=e.files,r=e.accept,n=e.minSize,a=e.maxSize,o=e.multiple,i=e.maxFiles;return!(!o&&t.length>1||o&&i>=1&&t.length>i)&&t.every((function(e){var t=Hh(Kh(e,r),1)[0],o=Hh(Zh(e,n,a),1)[0];return t&&o}))}({files:A,accept:r,minSize:i,maxSize:o,multiple:s,maxFiles:l}),X=Z>0&&!J;return sg(sg({},I),{},{isDragAccept:J,isDragReject:X,isFocused:D&&!n,getRootProps:G,getInputProps:K,rootRef:w,inputRef:M,open:z(x)})}(ug(e,["children"])),a=n.open,o=ug(n,["open"]);return(0,q.useImperativeHandle)(t,(function(){return{open:a}}),[a]),q.createElement(q.Fragment,null,r(sg(sg({},o),{},{open:a})))}));cg.displayName="Dropzone";var dg={disabled:!1,getFilesFromEvent:function(e){return Fl(this,void 0,void 0,(function(){return Ll(this,(function(t){return[2,(r=e,r.dataTransfer&&e.dataTransfer?kh(e.dataTransfer,e.type):Oh(e))];var r}))}))},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null};cg.defaultProps=dg,cg.propTypes={children:He().func,accept:He().oneOfType([He().string,He().arrayOf(He().string)]),multiple:He().bool,preventDropOnDocument:He().bool,noClick:He().bool,noKeyboard:He().bool,noDrag:He().bool,noDragEventsBubbling:He().bool,minSize:He().number,maxSize:He().number,maxFiles:He().number,disabled:He().bool,getFilesFromEvent:He().func,onFileDialogCancel:He().func,onDragEnter:He().func,onDragLeave:He().func,onDragOver:He().func,onDrop:He().func,onDropAccepted:He().func,onDropRejected:He().func,validator:He().func};const fg=cg;var mg={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]};function pg(e,t){switch(t.type){case"focus":return sg(sg({},e),{},{isFocused:!0});case"blur":return sg(sg({},e),{},{isFocused:!1});case"openDialog":return sg(sg({},e),{},{isFileDialogActive:!0});case"closeDialog":return sg(sg({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":var r=t.isDragActive,n=t.draggedFiles;return sg(sg({},e),{},{draggedFiles:n,isDragActive:r});case"setFiles":return sg(sg({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return sg(sg({},e),{},{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]});default:return e}}const hg=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."})),gg=({verificationService:e})=>{const{segment:t}=e.verificationResponse,{subSegment:r}=e.verificationResponse;let n;switch($r(t),t){case Ce.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 Ce.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 Ce.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 Ce.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 Ce.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 Ce.MILITARY:switch(r){case Ne.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."})),hg);break;case Ne.VETERAN:n=q.createElement("ul",{className:"sid-list"},q.createElement("li",{className:"sid-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"})),hg);break;case Ne.RESERVIST:n=q.createElement("ul",{className:"sid-list"},q.createElement("li",{className:"sid-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"})),hg);break;case Ne.MILITARY_RETIREE:n=q.createElement("ul",{className:"sid-list"},q.createElement("li",{className:"sid-li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.military.retiree",defaultMessage:"Any document that proves you are a retiree from the armed forces"})),hg);break;case Ne.MILITARY_FAMILY:n=q.createElement("ul",{className:"sid-list"},q.createElement("li",{className:"sid-li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.military.dependent",defaultMessage:"Any document that proves you are a Registered Military Dependent"})),hg);break;default:return null}break;case Ce.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 Ce.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 Ce.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 Ce.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 Ce.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 Ce.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",null,q.createElement("strong",null,q.createElement(or,{id:"step.docUpload.acceptableUploadExamples",defaultMessage:"Acceptable examples include:"}))),n)},vg=({id:e,defaultMessage:t})=>q.createElement("span",null,q.createElement("strong",null,q.createElement(or,{id:e,defaultMessage:t}),":")),yg=({verificationService:e})=>{const{segment:t}=e.verificationResponse,{subSegment:r}=e.verificationResponse;switch($r(t),t){case Ce.STUDENT:return q.createElement("div",null,q.createElement(vg,{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 Ce.TEACHER:return q.createElement("div",null,q.createElement(vg,{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 Ce.MEMBER:return q.createElement("div",null,q.createElement(vg,{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 Ce.MILITARY:return r===Ne.MILITARY_FAMILY?q.createElement("div",null,q.createElement(vg,{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(vg,{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 Ce.SENIOR:return q.createElement("div",null,q.createElement(vg,{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 Ce.AGE:return q.createElement("div",null,q.createElement(vg,{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 Ce.FIRST_RESPONDER:return q.createElement("div",null,q.createElement(vg,{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 Ce.MEDICAL:return q.createElement("div",null,q.createElement(vg,{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 Ce.EMPLOYMENT:return q.createElement("div",null,q.createElement(vg,{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 Ce.IDENTITY:return q.createElement("div",null,q.createElement(vg,{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 Ce.LICENSED_PROFESSIONAL:return q.createElement("div",null,q.createElement(vg,{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 Ce.LOW_INCOME:return q.createElement("div",null,q.createElement(vg,{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"}))));case Ce.RECENT_MOVER:return q.createElement("div",null,q.createElement(vg,{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}},bg=Rt((({verificationService:e,intl:r})=>{var n;const a=e.verificationResponse,{rejectionReasons:i}=a,{programTheme:s}=e,l=e.viewModel,{fieldValidationErrors:u}=e,c=ie((()=>e.verificationResponse.subSegment)),{overrideEnabled:f}=e.programTheme,m=e=>{var t;return{name:e.name,url:Ho()(t=e.type).call(t,"image")?br().createObjectURL(e):""}},p=[];Ic(un)&&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)=>Hs(e,(a=>{var i,s,l,u,c,f;d()(i=Rr()(s=ee()(l=Mr()(u=o()(c=t()(e)).call(c,(t=>!!e[t]&&Ho()(t).call(t,"file")))).call(u,(t=>e[t]))).call(l,r,bf()(f=Array(3)).call(f,void 0))).call(s,0,3)).call(i,((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(!Ho()(n=[1,2,3]).call(n,r))throw new Error(`Expected either 1, 2 or 3 for argument "fileNumber", but received ${r}`);return Hs(e,(n=>{var a,i,s,l,u,c;d()(a=Rr()(i=ee()(s=Mr()(l=o()(u=t()(e)).call(u,(e=>Ho()(e).call(e,"file")&&!Ho()(e).call(e,r.toString())))).call(l,(t=>e[t]))).call(s,bf()(c=Array(3)).call(c,void 0))).call(i,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=ji(ve.docUpload,e);void 0===t?r.push(e):(a.push(e.name),n.push(t))}let o;n&&(o=Hs(u,(e=>{e.docUpload=n[0]}))),e.updateFieldValidationErrors(o),h(r,a)})(t):t.length<=0&&he.error("No files were accepted or rejected. Unknown error.","docUpload drag n drop")},y=u.docUpload||ie((()=>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?Mr()(n=l.erroredFileNames).call(n,(e=>q.createElement("div",null,e))):null):null,b=function(){var t=hr((function*(){he.info("StepDocUploadComponent submitting form after skipping document upload");const t=Hs(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-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(lm,{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-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(Pm,{verificationService:e}),i&&i.length>0?q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-l-position"},q.createElement("div",null,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"},Mr()(i).call(i,(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",null,q.createElement(or,{id:"step.docUpload.subtitle",defaultMessage:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",values:{estimatedWaitTime:ul(a,s,r).estReviewTime}})," ",q.createElement(Om,{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-l-space-top-sm"},q.createElement(yg,{verificationService:e})),wn().hideMilitaryFamilyAcceptableUploads&&c===Ne.MILITARY_FAMILY?null:q.createElement("div",{className:"sid-l-space-top-md"},q.createElement(gg,{verificationService:e}))),q.createElement("div",{className:"sid-upload-wrap sid-l-space-top-sm"},q.createElement("div",{className:"sid-dropzone-wrap"},y,q.createElement(fg,{onDrop:v},(({getRootProps:e,getInputProps:t})=>q.createElement("section",Po({},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"},Mr()(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=Js("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(Th()(e.target.files))},accept:"image/jpeg,image/gif,image/png,application/pdf,image/bmp,image/gif",ref:e=>Ks("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-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-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=Hs(u,(e=>{e.docUpload=void 0}));e.updateFieldValidationErrors(t),e.updateViewModel((e=>Hs(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-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-l-horz-center sid-l-space-top-sm"},q.createElement("a",{href:"#",className:"sid-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(xm,{verificationService:e}))})),Eg=({verificationService:e})=>{const t=e.verificationResponse.consolationRewardCode||"${consolationRewardCode}";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(lm,{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."}))),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(fr,{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}})))))},Sg=Rt((({value:e,isErrored:t,onChange:r,placeholder:n=""})=>q.createElement(Sl,{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 wg(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function Mg(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=wg(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=wg(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Cg=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,a=t.verificationResponse,{fieldValidationErrors:o}=t,[i,s]=q.useState(""),l=a.errorIds&&Ho()(r=a.errorIds).call(r,"incorrectVerificationOverrideCodeAttemptLimitExceeded"),u=e.formatHTMLMessage({id:"step.override.errors.codeOverrideLimit",defaultMessage:"Override code limit exceeded."});q.useEffect((()=>{l&&s(u)}),[]),ie((()=>a.errorIds.length))&&!t.fieldValidationErrors.overrideCode&&t.updateFieldValidationErrors(Mg(Mg({},t.fieldValidationErrors),{},{overrideCode:a.errorIds[0]}));return q.createElement("div",{id:"sid-step-overrice-code",className:"sid-l-container"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{verificationService:t,fallbackLogo:q.createElement("img",{className:"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(Sg,{value:n.overrideCode,isErrored:!!o.overrideCode,onChange:e=>{vf(Mg(Mg({},n),{},{overrideCode:e})),rl("overrideCode",e,t)}}),i&&q.createElement("div",null,q.createElement("p",null,i)),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"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-btn--dark sid-l-full-width "+(ii(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(xm,{verificationService:t}))})),Ig={StepStudentPersonalInfoComponent:Vm,StepSeniorPersonalInfoComponent:Wm,StepAgePersonalInfoComponent:Jm,StepTeacherPersonalInfoComponent:tp,StepMemberPersonalInfoComponent:ip,StepCollectMilitaryStatusComponent:({verificationService:e})=>q.createElement(hp,{verificationService:e}),StepActiveMilitaryPersonalInfoComponent:hp,StepInactiveMilitaryPersonalInfoComponent:bp,StepFirstResponderPersonalInfoComponent:Mp,StepMedicalProfessionalPersonalInfoComponent:Tp,StepEmploymentPersonalInfoComponent:kp,StepDriverLicensePersonalInfoComponent:Lp,StepGeneralIdentityPersonalInfoComponent:Vp,StepHybridIdentityPersonalInfoComponent:Hp,StepLicensedProfessionalPersonalInfoComponent:Yp,StepMoverPersonalInfoComponent:Jp,StepLowIncomePersonalInfoComponent:nh,StepSocialSecurityNumber:sh,StepSuccessComponent:mh,StepConsolationComponent:Eg,StepOverrideComponent:Cg,StepDocUploadComponent:bg,StepPendingComponent:Sh,StepSSOComponent:({verificationService:e})=>{const{programId:t}=e,r=e.viewModel,n=e.previousViewModel||void 0,a=e.verificationResponse,o=e.previousVerificationResponse||void 0,{verificationId:i}=e.verificationResponse,s=Nc();let l;const u=(t,n)=>{const a=Hs(r,(e=>{e[t]=n}));e.updateViewModel(a)},c=()=>{var e;e=window.open(a.loginUrl,"_blank"),Ys=e,Ys.focus()};return r.isSSOActive&&!s&&(l=ur()((()=>{e.fetchExistingVerificationRequest(t,i,o,n)}),1e3)),!r.countryChoice&&n&&n.countryChoice&&u("countryChoice",n.countryChoice),q.createElement("div",{id:"sid-step-sso",className:"sid-l-container"},r.isSSOActive?q.createElement("div",{className:"sid-header sid-l-horz-center"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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"})})),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:fh})),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-submit-wrapper sid-l-space-top-md"},q.createElement("button",{onClick:()=>{Qs();const t=Hs(r,(()=>{}));he.info("StepSSOComponent submitting cancel request"),clearTimeout(l),e.submitStep(ve.sso,t,e.verificationResponse)},type:"submit",className:"sid-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-l-horz-center"},q.createElement(lm,{verificationService:e,fallbackLogo:q.createElement("img",{className:"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.sso.title",defaultMessage:"Verify using your school credentials"})),q.createElement("div",{className:"sid-header__subtitle-one"},q.createElement(or,{id:"step.sso.subtitle",defaultMessage:fh})),q.createElement("div",{className:"sid-l-space-top-xl"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("button",{id:"sid-submit-btn-sso",onClick:()=>(u("isSSOActive",!0),void c()),type:"submit",className:"sid-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-l-space-top-xl"})),q.createElement(xm,{verificationService:e}))},StepErrorComponent:dh,StepSMSLoopComponent:Ih,StepEmailLoopComponent:Nh},Ng=e=>{he.info("getComponent",e);const t=(e=>Lc[e]?(he.log(`getOverridenComponent returning ${e}`),Lc[e]):null)(e);return t||Ig[e]},Dg=({stepToLoad:e,verificationService:t})=>{let r;he.info(`LoadStepComponent: rendering step: ${e}`);let n=!1;switch(e){case ve.collectStudentPersonalInfo:r=Ng("StepStudentPersonalInfoComponent");break;case ve.collectSeniorPersonalInfo:r=Ng("StepSeniorPersonalInfoComponent");break;case ve.collectAgePersonalInfo:r=Ng("StepAgePersonalInfoComponent");break;case ve.collectTeacherPersonalInfo:r=Ng("StepTeacherPersonalInfoComponent");break;case ve.collectMemberPersonalInfo:r=Ng("StepMemberPersonalInfoComponent");break;case ve.collectMilitaryStatus:r=Ng("StepCollectMilitaryStatusComponent");break;case ve.collectActiveMilitaryPersonalInfo:r=Ng("StepActiveMilitaryPersonalInfoComponent");break;case ve.collectInactiveMilitaryPersonalInfo:r=Ng("StepInactiveMilitaryPersonalInfoComponent");break;case ve.collectFirstResponderPersonalInfo:r=Ng("StepFirstResponderPersonalInfoComponent");break;case ve.collectMedicalProfessionalPersonalInfo:r=Ng("StepMedicalProfessionalPersonalInfoComponent");break;case ve.collectEmployeePersonalInfo:r=Ng("StepEmploymentPersonalInfoComponent");break;case ve.collectDriverLicensePersonalInfo:r=Ng("StepDriverLicensePersonalInfoComponent");break;case ve.collectGeneralIdentityPersonalInfo:r=Ng("StepGeneralIdentityPersonalInfoComponent");break;case ve.collectHybridIdentityPersonalInfo:r=Ng("StepHybridIdentityPersonalInfoComponent");break;case ve.collectLicensedProfessionalPersonalInfo:r=Ng("StepLicensedProfessionalPersonalInfoComponent");break;case ve.collectMoverPersonalInfo:r=Ng("StepMoverPersonalInfoComponent");break;case ve.collectLowIncomePersonalInfo:r=Ng("StepLowIncomePersonalInfoComponent");break;case ve.collectSocialSecurityNumber:r=Ng("StepSocialSecurityNumber");break;case ve.success:r=Ng("StepSuccessComponent"),n=!0;break;case ve.consolation:r=Ng("StepConsolationComponent"),n=!0;break;case ve.override:r=Ng("StepOverrideComponent"),n=!0;break;case ve.docUpload:r=Ng("StepDocUploadComponent"),n=!0;break;case ve.pending:r=Ng("StepPendingComponent"),n=!0;break;case ve.sso:r=Ng("StepSSOComponent");break;case ve.smsLoop:r=Ng("StepSMSLoopComponent"),n=!0;break;case ve.emailLoop:r=Ng("StepEmailLoopComponent"),n=!0;break;case ve.missingRequiredMetadata:return q.createElement(dh,{verificationService:t,errorId:"missingRequiredMetadata"});case ve.error:r=Ng("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(dh,{verificationService:t,errorId:"invalidStep"})}return n?q.createElement(q.Suspense,{fallback:q.createElement(Fc,null)},q.createElement(r,{verificationService:t})):q.createElement(r,{verificationService:t})},Tg=({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);Tg.defaultProps={styles:"",children:""};const Ag=({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(pd,{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,xg=function(){var e=hr((function*(){if(!document.getElementById("ipqs"))return new(vr())((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)}}(),_g=function(){var e=hr((function*(e,t){ie((()=>e.ipqsDeviceFingerprintEnabled),!1)&&(yield xg(),window.IPQ={Callback:()=>{window.Startup.Store("transactionID",t),window.Startup.Init()}})}));return function(t,r){return e.apply(this,arguments)}}();function Og(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function kg(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Og(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Og(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Pg=({locale:e,messages:t,programTheme:r,verificationService:n})=>{q.useEffect((()=>{_g(r,n.verificationResponse.verificationId)}),[n.verificationResponse.verificationId]);const a=kg(kg({},t),ba()(Da(e)));return q.createElement(Kt,{locale:"en",key:e,messages:a,textComponent:Vo},q.createElement(Tg,{styles:Ua(r)},n.isLoading?q.createElement(Fc,{step:n.loadingStep}):q.createElement("div",{className:`${am().isRtlLang(Ta(e))?"sid-rtl":"sid-ltr"} sid-locale-${e}`},!wn().hideTestModeFlag&&q.createElement(Ag,{verificationService:n}),q.createElement(Dg,{stepToLoad:n.overrideStep||n.verificationResponse.currentStep,verificationService:n}))))},Rg=()=>{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 Fg(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function Lg(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Fg(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Fg(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}class Ug 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(Is(),Rg(),Zr(e=e=>{"setViewModel"===e.data.action&&vf(e.data.viewModel)}),window[Yc](Kc,(t=>{e(t)}),!1),(()=>{try{return new(Sr())(window.location.search).get(rn)===Se.loading||wn()[rn]===Se.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=ie((()=>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=xa(e);let r;this.props.messages&&(r=this.props.messages);const n=Lg(Lg({},r),ba()(Da(t)));if(this.props.verificationService.isLoading&&!this.props.verificationService.loadingStep)return he.info("NewVerificationComponent: VerificationService is loading"),q.createElement(Kt,{locale:"en",key:t,messages:n,textComponent:Vo},q.createElement(Fc,null));const{programTheme:a}=this.props.verificationService,{verificationResponse:o}=this.props.verificationService;return he.info("NewVerificationComponent: verificationResponse, viewModel",o,e),he.info(`NewVerificationComponent: locale: ${t}, currentStep: ${o.currentStep}, messages: `,r),q.createElement(Pg,{locale:t,messages:r,programTheme:a,verificationService:this.props.verificationService})}}const Bg=$f(((e,t)=>Lg({},e)),((e,t)=>({fetchNewVerificationRequest:Hd(e),fetchExistingVerificationRequest:$d(e),updateViewModel:Wd(e),updateLocale:Gd(e,t.programId),updateProgramTheme:Yd(e),updateFieldValidationErrors:Zd(e),submitStep:Jd(e),resetState:Kd(e)})),((e,t,r)=>Lg({verificationService:Lg(Lg({},e),t),messages:e.messages},r)))(Ug),Vg=hf();Vd("jslibVersionActual",ie((()=>Zn()),"?"));const jg=q.forwardRef((({programId:e,trackingId:t},r)=>{var n;return d()(n=ie((()=>window.sheerId.hooks),[])).call(n,(e=>{try{bd(e)}catch(t){he.warn("Error adding hook:",e,t)}})),Vg.dispatch({programId:e,type:"PROGRAM_ID"}),r&&(r.current={refresh:q.useCallback((()=>Vg.dispatch({type:"FORCE_UPDATE"})),[]),reset:q.useCallback((()=>Vg.dispatch({type:"RESET_STATE"})),[])}),q.createElement(Cf,{store:Vg},q.createElement(Ka,null,q.createElement(Bg,{programId:e,trackingId:t})))})),zg=(Rt((({value:e,isErrored:t,onChange:r,intl:n,onKeyDown:a,placeholder:o=""})=>q.createElement("div",{className:"sid-field sid-state"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(yl,{text:q.createElement(or,{id:"state",defaultMessage:"State"}),htmlForLabel:"sid-state",id:"sid-state-label",displayClasses:o&&"sid-h-screen-reader-only"}),q.createElement(vl,{id:"state",isErrored:t,onChange:e=>r(e.target.value),onKeyDown:"function"==typeof a?e=>a(e):void 0,placeholder:o||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))),Rt((({verificationService:e,includeCompanyName:t,intl:r})=>{const{programTheme:n}=e,a=Va(n),o=`${((e,t)=>{let r="";try{r=new(br())(Va(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(pd,{className:"sid-privacy-policy sid-link",href:a},t?q.createElement("span",null,o):null,q.createElement(or,{id:"privacyPolicy",defaultMessage:"Privacy Policy"}))})),(e,t)=>{e.classList.remove("fade-in"),ur()((()=>{document.body.style.overflow="auto",e.parentNode.removeChild(e)}),t)}),Hg=e=>{var t;const r=new(br())(e),n=new(br())(window.location.href);return d()(t=n.searchParams).call(t,((e,t)=>{r.searchParams.has(t)||r.searchParams.set(t,e)})),r.href};class $g{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"),$g.isValidHttpUrl(t)){const r={className:hn.INLINE_IFRAME_CONTENT,title:pn};this.containerElement=e,this.verificationUrl=new(br())(Hg(t)),this.verificationIframeUid=$g.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(br())(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}&${dn}=${encodeURIComponent(Jn())}&${fn}=${this.installType}`,this.iframe.onload=()=>this.onLoad(),this.iframe}addOnLoadEvent(e){try{Zr(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 qg=$g;class Wg{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:gn;this.verificationUrl=Hg(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=Wg.createOverlay(),this.wrapper=this.createWrapper(),this.addFocusListener()}createCloseBtn(){if(this.closeButton=document.createElement("button"),this.closeButton.classList.add(hn.CLOSE_BUTTON),this.closeButton.setAttribute("aria-label","close"),this.closeButtonText){const e=document.createElement("div");e.classList.add(hn.CLOSE_TEXT),e.innerHTML=this.closeButtonText,this.closeButton.appendChild(e)}const e=document.createElement("span");return e.classList.add(hn.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=vn;zg(this.overlay,e),zg(this.wrapper,e)}static createOverlay(){const e=document.createElement("div");return e.classList.add(hn.OVERLAY),e}createWrapper(){const e=document.createElement("div");e.classList.add(hn.MODAL_WRAPPER),e.tabIndex=-1,e.setAttribute("role","dialog"),e.appendChild(this.createCloseBtn()),this.iframeInstance=new qg(e,this.verificationUrl),this.iframeInstance.setInstallType("cdn_modal_iframe");const t={className:hn.MODAL_IFRAME,title:pn};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 Gg=Wg;const Yg=function(){var e=hr((function*(e,t){const r=yield fd.fetchProgramTheme(t);ie((()=>r.threatMetrixEnabled),!1)&&Nd(e),_g(r,e)}));return function(t,r){return e.apply(this,arguments)}}();class Kg{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 Kg))throw new Error('Method "render" not found. Did you use the "new" keyword when instantiating VerificationForm?');he.info(`Constructing VerificationFormEs5 ${t}`),Gr(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(jg,{programId:this.programId,trackingId:this.trackingId,ref:this.ref}),this.element)}unmount(){W.unmountComponentAtNode(this.element)}}class Zg{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),Gr(e),this.mountPoint=e,this.locale=xa(),this.messages=((e,t=null)=>{qr(e);let r={};wn().messagesWithLocale[e]?r=wn().messagesWithLocale[e]:wn().messagesWithLocale[en]&&(r=wn().messagesWithLocale[en]);let n={};if(t)try{n=t.intl.messages}catch(e){he.error(e,"Error accessing programTheme.intl.messages")}return(0,ya.flatten)(wa(wa({},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 Jg extends Zg{constructor(e){if(super(e),b(this,"countryCode",void 0),b(this,"programId",void 0),!(this instanceof Jg))return new Jg(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(Kt,{locale:this.locale,key:this.locale,messages:this.messages},q.createElement(bm,{countryCode:this.countryCode,onChange:e=>this.doChange(e),programId:this.programId,value:this.value,inputHtmlId:"sid-college-name"})),this.mountPoint)}}function Xg(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function Qg(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Xg(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Xg(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const ev={getMessages:Aa,setViewModel:vf,resetViewModel:()=>{const e=gf.getState();e.isLoading?bd({name:"ON_VERIFICATION_READY",callback:e=>{Xd(gf.dispatch)(e)}}):Xd(gf.dispatch)(e.verificationResponse)},setOptions:Cn,resetOptions:Mn,refreshStore:()=>{wn().mockResponse&&hf().dispatch({verificationResponse:wn().mockResponse,type:"VERIFICATION_RESPONSE"}),hf().dispatch({type:"FORCE_UPDATE"})},setMetadata:kd,getMetadata:Pd,resetMetadata:()=>{Od=$()({},_d)},StudentTypeaheadField:Jg,BirthdateField:class extends Zg{render(){W.render(q.createElement(Kt,{locale:this.locale,key:this.locale,messages:this.messages},q.createElement(Mm,{value:this.value,locale:this.locale,onChange:e=>this.doChange(e),isErrored:this.isErrored,errorId:this.errorId})),this.mountPoint)}},conversion:rd,overrideComponent:Uc,resetOverriddenComponents:Bc,loadInModal:function(e,t={}){const r=new Gg(e,t);return r.init(),r},loadInlineIframe:function(e,t){const r=new qg(e,t);return r.init(),r},postVerificationSizeUpdates:function(e={origin:"*",interval:100}){if(window.self!==window.top){let t=document.body.offsetHeight;const r=hh()((()=>{if(t!==document.body.offsetHeight){t=document.body.offsetHeight;const r=t+Go()(window.getComputedStyle(document.body).marginTop,10)+Go()(window.getComputedStyle(document.body).marginBottom,10),n=new(br())(window.location.href).searchParams.get("verificationIframeUid");window.parent.postMessage({verificationIframeUid:n,action:"updateHeight",height:r},e.origin)}}),e.interval);return()=>clearInterval(r)}},addHook:bd,allMockedResponses:Cc,hooks:void 0,VerificationForm:Kg,collectDeviceProfile:Yg,resetStore:()=>hf().dispatch({type:"RESET_STATE"})};window.sheerId=Qg(Qg(Qg({},window.sheerId||{}),ev),{},{hooks:ie((()=>window.sheerId.hooks),[])}),i.p=ta(),window.sheerIdReqV=(()=>{let e;try{var t;e=z()(t=/jslib(\-nightly)?\@[a-zA-Z0-9\.\-]+/gi.exec(ta())[0].split("@")[1]).call(t)}catch(e){he.error(e)}return e})()})(),s})()));
82
+ */var r,n,a,o,i;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)},o=function(){return!1},i=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,S=0;o=function(){return t.unstable_now()>=S},i=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 w=new MessageChannel,M=w.port2;w.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();S=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 o=2*(n+1)-1,i=e[o],s=o+1,l=e[s];if(void 0!==i&&0>D(i,r))void 0!==l&&0>D(l,i)?(e[n]=l,e[s]=r,n=s):(e[n]=i,e[o]=r,n=o);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 i=O;try{for(F(r),_=I(T);null!==_&&(!(_.expirationTime>r)||e&&!o());){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=i,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=i;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,o,i){var s=t.unstable_now();if("object"==typeof i&&null!==i){var l=i.delay;l="number"==typeof l&&0<l?s+l:s,i="number"==typeof i.timeout?i.timeout:B(e)}else i=B(e),l=s;return e={id:x++,callback:o,priorityLevel:e,startTime:l,expirationTime:i=l+i,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=i,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||o()},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:()=>{}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}};return a[e].call(r.exports,r,r.exports,i),r.exports}i.m=a,i.amdO={},i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.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);i.r(a);var o={};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=>o[e]=()=>r[e]));return o.default=()=>r,i.d(a,o),a},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,r)=>(i.f[r](e,t),t)),[])),i.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",i.miniCssF=e=>"sheerid.css",i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},n="sheerid:",i.l=(e,t,a,o)=>{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,i.nc&&s.setAttribute("nonce",i.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)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.p="",(()=>{var e={143:0};i.f.j=(t,r)=>{var n=i.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 o=i.p+i.u(t),s=new Error;i.l(o,(r=>{if(i.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var a=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+a+": "+o+")",s.name="ChunkLoadError",s.type=a,s.request=o,n[1](s)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,a,[o,s,l]=r,u=0;if(o.some((t=>0!==e[t]))){for(n in s)i.o(s,n)&&(i.m[n]=s[n]);if(l)l(i)}for(t&&t(r);u<o.length;u++)a=o[u],i.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";i.r(s),i.d(s,{VerificationForm:()=>jg,overrideComponent:()=>Uc,resetOptions:()=>Mn,resetOverriddenComponents:()=>Bc,setOptions:()=>Cn});var e=i(8818),t=i.n(e),r=i(3567),n=i.n(r),a=i(7917),o=i.n(a),l=i(3029),u=i.n(l),c=i(9154),d=i.n(c),f=i(6500),m=i.n(f),p=i(3537),h=i.n(p),g=i(944),v=i.n(g),y=i(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,S={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(S.arrayBuffer)var w=["[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&&w.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 S.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:S.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:S.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:S.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():S.arrayBuffer&&S.blob&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=_(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):S.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):S.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},S.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)},S.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)},S.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 o=/([?&])_=[^&]*/;if(o.test(this.url))this.url=this.url.replace(o,"$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 o=new XMLHttpRequest;function i(){o.abort()}o.onload=function(){var e,t,n={status:o.status,statusText:o.statusText,headers:(e=o.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 o?o.responseURL:n.headers.get("X-Request-URL");var a="response"in o?o.response:o.responseText;setTimeout((function(){r(new F(a,n))}),0)},o.onerror=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},o.onabort=function(){setTimeout((function(){n(new U("Aborted","AbortError"))}),0)},o.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?o.withCredentials=!0:"omit"===a.credentials&&(o.withCredentials=!1),"responseType"in o&&(S.blob?o.responseType="blob":S.arrayBuffer&&a.headers.get("Content-Type")&&-1!==a.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof D?a.headers.forEach((function(e,t){o.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){o.setRequestHeader(e,I(t.headers[e]))})),a.signal&&(a.signal.addEventListener("abort",i),o.onreadystatechange=function(){4===o.readyState&&a.signal.removeEventListener("abort",i)}),o.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=i(8675);i.n(V)()(Object)||(Object.values=function(e){const t=[];for(const r in e)e.hasOwnProperty(r)&&t.push(e[r]);return t});var j=i(8903),z=i.n(j);!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),o=a&&a[1]||!1,i=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(o===s)u=e.documentElement.outerHTML,c=new RegExp(`(?:[^\\n]+?\\n){0,${i-2}}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*`,"i"),d=z()(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===o)return l[f];if(o===s&&l[f].innerHTML&&z()(r=l[f].innerHTML).call(r)===d)return l[f]}return null}}})}(document);var H=i(9910),$=i.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=i(6255),W=i(3059),G=i(3371),Y=i.n(G),K=i(3049),Z=i.n(K),J=i(1306),X=i.n(J),Q=i(210),ee=i.n(Q),te=i(2021),re=i.n(te),ne=i(3305),ae=i.n(ne);function oe(e){return ae()(e)}function ie(e,t){try{return e()}catch(e){return t}}function se(...e){const r=e=>e&&"object"==typeof e;function n(e,a){var o;return d()(o=t()(a)).call(o,(t=>{const o=e[t],i=a[t];X()(o)&&X()(i)?e[t]=ee()(o).call(o,i):r(o)&&r(i)?e[t]=n($()({},o),i):e[t]=i})),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 o;for(;o=e.shift();)n(a,o);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=ie((()=>e.verificationResponse.errorIds));n={errorMessageGroup:t,programId:ie((()=>e.programId)),isLoading:ie((()=>e.isLoading)),isErrored:ie((()=>e.isErrored)),errorIdsFromVerRsp:X()(r)?r.join:void 0,verificationId:ie((()=>e.verificationResponse.verificationId)),currentStep:ie((()=>e.verificationResponse.currentStep)),locale:ie((()=>e.programTheme.intl.locale)),isTestMode:ie((()=>e.programTheme.isTestMode)),openOrgSearchEnabled:ie((()=>e.programTheme.openOrgSearchEnabled)),jslibVerActual:ie((()=>window.sheerIdPubV),"?"),jslibVerRequested:ie((()=>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","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=o()(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 Se;!function(e){e.loading="loading",e.collect="collect"}(Se||(Se={}));const we=[...Y()(ve),...Y()(Se)];let Me,Ce;!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"}(Me||(Me={})),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"}(Ce||(Ce={}));const Ie=Y()(Ce);let Ne;!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"}(Ne||(Ne={}));Y()(Ne);const De={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"},Te=["Air Force Reserve","Air National Guard","Army Reserve","Army National Guard","Coast Guard Reserve","Marine Corps Forces Reserve","Navy Reserve"],Ae={FIREFIGHTER:"Firefighter",POLICE:"Police",EMT:"EMT",SEARCH_AND_RESCUE:"Search and Rescue"},xe={NURSE:"Nurse",DOCTOR:"Doctor",OTHER_HEALTH_WORKER:"Other Health Worker",DENTIST:"Dentist",PHARMACIST:"Pharmacist"};Y()(De),Y()(Ae),Y()(xe),Y()({HOME_BUYER:"Home Buyer",OTHER_MOVER:"Other Mover"}),Y()({SNAP_BENEFITS:"Snap Benefits Recipient",OTHER_GOVERNMENT_ASSISTANCE:"Other Government Assistance Recipient"});let _e;!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"}(_e||(_e={}));const Oe=Y()(_e);let ke;!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"}(ke||(ke={}));const Pe=Y()(ke);let Re;!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"}(Re||(Re={}));var Fe=i(7116),Le=i.n(Fe),Ue=i(8314),Be=i.n(Ue),Ve=i(1962),je=i.n(Ve),ze=i(914),He=i.n(ze),$e=i(2971),qe=i.n($e),We=i(5958),Ge=i.n(We);function Ye(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 Ke=function(e,t){return void 0===t&&(t={}),function(){for(var r,n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var o=Ye(n),i=o&&t[o];return i||(i=new((r=e).bind.apply(r,[void 0].concat(n))),o&&(t[o]=i)),i}};var Ze={locale:"en",pluralRuleFunction:function(e,t){var r=String(e).split("."),n=!r[1],a=Number(r[0])==e,o=a&&r[0].slice(-1),i=a&&r[0].slice(-2);return t?1==o&&11!=i?"one":2==o&&12!=i?"two":3==o&&13!=i?"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 Je(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];(Array.isArray(e)?e:[e]).forEach((function(e){e&&e.locale&&(Be().__addLocaleData(e),je().__addLocaleData(e))}))}function Xe(e){var t=e&&e.toLowerCase();return!(!Be().__localeData__[t]||!je().__localeData__[t])}var Qe="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},et=(function(){function e(e){this.value=e}function t(t){var r,n;function a(r,n){try{var i=t[r](n),s=i.value;s instanceof e?Promise.resolve(s.value).then((function(e){a("next",e)}),(function(e){a("throw",e)})):o(i.done?"return":"normal",i.value)}catch(e){o("throw",e)}}function o(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(o,i){var s={key:e,arg:t,resolve:o,reject:i,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")}),tt=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}}(),rt=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},nt=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)},at=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)},it=He().bool,st=He().number,lt=He().string,ut=He().func,ct=He().object,dt=He().oneOf,ft=He().shape,mt=He().any,pt=He().oneOfType,ht=dt(["best fit","lookup"]),gt=dt(["narrow","short","long"]),vt=dt(["numeric","2-digit"]),yt=ut.isRequired,bt={locale:lt,timeZone:lt,formats:ct,messages:ct,textComponent:mt,defaultLocale:lt,defaultFormats:ct,onError:ut},Et={formatDate:yt,formatTime:yt,formatRelative:yt,formatNumber:yt,formatPlural:yt,formatMessage:yt,formatHTMLMessage:yt},St=ft(rt({},bt,Et,{formatters:ct,now:yt})),wt=(lt.isRequired,pt([lt,ct]),{localeMatcher:ht,formatMatcher:dt(["basic","best fit"]),timeZone:lt,hour12:it,weekday:gt,era:gt,year:vt,month:dt(["numeric","2-digit","narrow","short","long"]),day:vt,hour:vt,minute:vt,second:vt,timeZoneName:dt(["short","long"])}),Mt={localeMatcher:ht,style:dt(["decimal","currency","percent"]),currency:lt,currencyDisplay:dt(["symbol","code","name"]),useGrouping:it,minimumIntegerDigits:st,minimumFractionDigits:st,maximumFractionDigits:st,minimumSignificantDigits:st,maximumSignificantDigits:st},Ct={style:dt(["best fit","numeric"]),units:dt(["second","minute","hour","day","month","year","second-short","minute-short","hour-short","day-short","month-short","year-short"])},It={style:dt(["cardinal","ordinal"])},Nt=Object.keys(bt),Dt={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},Tt=/[&><"']/g;function At(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 xt(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).intl;Ge()(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}function _t(e,t){if(e===t)return!0;if("object"!==(void 0===e?"undefined":Qe(e))||null===e||"object"!==(void 0===t?"undefined":Qe(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),o=0;o<r.length;o++)if(!a(r[o])||e[r[o]]!==t[r[o]])return!1;return!0}function Ot(e,t,r){var n=e.props,a=e.state,o=e.context,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=(void 0===o?{}:o).intl,l=void 0===s?{}:s,u=i.intl,c=void 0===u?{}:u;return!_t(t,n)||!_t(r,a)||!(c===l||_t(At(c,Nt),At(l,Nt)))}function kt(e,t){return"[React Intl] "+e+(t?"\n"+t:"")}function Pt(e){0}function Rt(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.intlPropName,a=void 0===n?"intl":n,o=r.withRef,i=void 0!==o&&o,s=function(t){function r(e,t){et(this,r);var n=at(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e,t));return xt(t),n}return nt(r,t),tt(r,[{key:"getWrappedInstance",value:function(){return Ge()(i,"[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,o=this;return q.createElement(e,rt({},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:i?function(e){return o._wrappedInstance=e}:null}))}}]),r}(q.Component);return s.displayName="InjectIntl("+(((t=e).displayName||t.name||"Component")+")"),s.contextTypes={intl:St},s.WrappedComponent=e,qe()(s,e)}var Ft=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};et(this,e);var n,a="ordinal"===r.style,o=(n=function(e){return Be().prototype._resolveLocale(e)}(t),Be().prototype._findPluralRuleFunction(n));this.format=function(e){return o(e,a)}},Lt=Object.keys(wt),Ut=Object.keys(Mt),Bt=Object.keys(Ct),Vt=Object.keys(It),jt={second:60,minute:60,hour:24,day:30,month:12};function zt(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 Ht(e,t,r,n){var a=e&&e[t]&&e[t][r];if(a)return a;n(kt("No "+t+" format named: "+r))}function $t(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,o=e.formats,i=e.messages,s=e.defaultLocale,l=e.defaultFormats,u=r.id,c=r.defaultMessage;Ge()(u,"[React Intl] An `id` must be provided to format a message.");var d=i&&i[u];if(!(Object.keys(n).length>0))return d||c||u;var f=void 0,m=e.onError||Pt;if(d)try{f=t.getMessageFormat(d,a,o).format(n)}catch(e){m(kt('Error formatting message: "'+u+'" for locale: "'+a+'"'+(c?", using default message as fallback.":""),e))}else(!c||a&&a.toLowerCase()!==s.toLowerCase())&&m(kt('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(kt('Error formatting the default message for: "'+u+'"',e))}return f||m(kt('Cannot format message: "'+u+'", using message '+(d||c?"source":"id")+" as fallback.")),f||d||c||u}var qt=Object.freeze({formatDate:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,o=e.formats,i=e.timeZone,s=n.format,l=e.onError||Pt,u=new Date(r),c=rt({},i&&{timeZone:i},s&&Ht(o,"date",s,l)),d=At(n,Lt,c);try{return t.getDateTimeFormat(a,d).format(u)}catch(e){l(kt("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,o=e.formats,i=e.timeZone,s=n.format,l=e.onError||Pt,u=new Date(r),c=rt({},i&&{timeZone:i},s&&Ht(o,"time",s,l)),d=At(n,Lt,c);d.hour||d.minute||d.second||(d=rt({},d,{hour:"numeric",minute:"numeric"}));try{return t.getDateTimeFormat(a,d).format(u)}catch(e){l(kt("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,o=e.formats,i=n.format,s=e.onError||Pt,l=new Date(r),u=new Date(n.now),c=i&&Ht(o,"relative",i,s),d=At(n,Bt,c),f=rt({},je().thresholds);zt(jt);try{return t.getRelativeFormat(a,d).format(l,{now:isFinite(u)?u:t.now()})}catch(e){s(kt("Error formatting relative time.",e))}finally{zt(f)}return String(l)},formatNumber:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,o=e.formats,i=n.format,s=e.onError||Pt,l=i&&Ht(o,"number",i,s),u=At(n,Ut,l);try{return t.getNumberFormat(a,u).format(r)}catch(e){s(kt("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,o=At(n,Vt),i=e.onError||Pt;try{return t.getPluralFormat(a,o).format(r)}catch(e){i(kt("Error formatting plural.",e))}return"other"},formatMessage:$t,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(Tt,(function(e){return Dt[e]})):r,e}),{});return $t(e,t,r,a)}}),Wt=Object.keys(bt),Gt=Object.keys(Et),Yt={formats:{},messages:{},timeZone:null,textComponent:"span",defaultLocale:"en",defaultFormats:{},onError:Pt},Kt=function(e){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));Ge()("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,o=void 0;o=isFinite(e.initialNow)?Number(e.initialNow):a?a.now():Date.now();var i=(a||{}).formatters,s=void 0===i?{getDateTimeFormat:Ke(Intl.DateTimeFormat),getNumberFormat:Ke(Intl.NumberFormat),getMessageFormat:Ke(Be()),getRelativeFormat:Ke(je()),getPluralFormat:Ke(Ft)}:i;return n.state=rt({},s,{now:function(){return n._didDisplay?Date.now():o}}),n}return nt(t,e),tt(t,[{key:"getConfig",value:function(){var e=this.context.intl,t=At(this.props,Wt,e);for(var r in Yt)void 0===t[r]&&(t[r]=Yt[r]);if(!function(e){for(var t=(e||"").split("-");t.length>0;){if(Xe(t.join("-")))return!0;t.pop()}return!1}(t.locale)){var n=t,a=n.locale,o=n.defaultLocale,i=n.defaultFormats;(0,n.onError)(kt('Missing locale data for locale: "'+a+'". Using default locale: "'+o+'" as fallback.')),t=rt({},t,{locale:o,formats:i,messages:Yt.messages})}return t}},{key:"getBoundFormatFns",value:function(e,t){return Gt.reduce((function(r,n){return r[n]=qt[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:rt({},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 Ot.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);Kt.displayName="IntlProvider",Kt.contextTypes={intl:St},Kt.childContextTypes={intl:St.isRequired};var Zt=function(e){function t(e,r){et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return xt(r),n}return nt(t,e),tt(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ot.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,o=n.children,i=t(a,this.props);return"function"==typeof o?o(i):q.createElement(r,null,i)}}]),t}(q.Component);Zt.displayName="FormattedDate",Zt.contextTypes={intl:St};var Jt=function(e){function t(e,r){et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return xt(r),n}return nt(t,e),tt(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ot.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,o=n.children,i=t(a,this.props);return"function"==typeof o?o(i):q.createElement(r,null,i)}}]),t}(q.Component);Jt.displayName="FormattedTime",Jt.contextTypes={intl:St};var Xt=36e5,Qt=864e5;var er=function(e){function t(e,r){et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));xt(r);var a=isFinite(e.initialNow)?Number(e.initialNow):r.intl.now();return n.state={now:a},n}return nt(t,e),tt(t,[{key:"scheduleNextUpdate",value:function(e,t){var r=this;clearTimeout(this._timer);var n=e.value,a=e.units,o=e.updateInterval,i=new Date(n).getTime();if(o&&isFinite(i)){var s=i-t.now,l=function(e){switch(e){case"second":return 1e3;case"minute":return 6e4;case"hour":return Xt;case"day":return Qt;default:return 2147483647}}(a||function(e){var t=Math.abs(e);return t<6e4?"second":t<Xt?"minute":t<Qt?"hour":"day"}(s)),u=Math.abs(s%l),c=s<0?Math.max(o,l-u):Math.max(o,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 Ot.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,o=n.children,i=t(a,rt({},this.props,this.state));return"function"==typeof o?o(i):q.createElement(r,null,i)}}]),t}(q.Component);er.displayName="FormattedRelative",er.contextTypes={intl:St},er.defaultProps={updateInterval:1e4};var tr=function(e){function t(e,r){et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return xt(r),n}return nt(t,e),tt(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ot.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,o=n.children,i=t(a,this.props);return"function"==typeof o?o(i):q.createElement(r,null,i)}}]),t}(q.Component);tr.displayName="FormattedNumber",tr.contextTypes={intl:St};var rr=function(e){function t(e,r){et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return xt(r),n}return nt(t,e),tt(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ot.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,o=n.other,i=n.children,s=t(a,this.props),l=this.props[s]||o;return"function"==typeof i?i(l):q.createElement(r,null,l)}}]),t}(q.Component);rr.displayName="FormattedPlural",rr.contextTypes={intl:St},rr.defaultProps={style:"cardinal"};var nr=function(e,t){return $t({},{getMessageFormat:Ke(Be())},e,t)},ar=function(e){function t(e,r){et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return e.defaultMessage||xt(r),n}return nt(t,e),tt(t,[{key:"shouldComponentUpdate",value:function(e){var t=this.props.values;if(!_t(e.values,t))return!0;for(var r=rt({},e,{values:t}),n=arguments.length,a=Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];return Ot.apply(void 0,[this,r].concat(a))}},{key:"render",value:function(){var e,t=this.context.intl||{},r=t.formatMessage,n=void 0===r?nr:r,a=t.textComponent,o=void 0===a?"span":a,i=this.props,s=i.id,l=i.description,u=i.defaultMessage,c=i.values,d=i.tagName,f=void 0===d?o:d,m=i.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);ar.displayName="FormattedMessage",ar.contextTypes={intl:St},ar.defaultProps={values:{}};var or=function(e){function t(e,r){et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return xt(r),n}return nt(t,e),tt(t,[{key:"shouldComponentUpdate",value:function(e){var t=this.props.values;if(!_t(e.values,t))return!0;for(var r=rt({},e,{values:t}),n=arguments.length,a=Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];return Ot.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,o=n.description,i=n.defaultMessage,s=n.values,l=n.tagName,u=void 0===l?r:l,c=n.children,d=t({id:a,description:o,defaultMessage:i},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:{}},Je(Ze),Je(Le());var ir=i(7166),sr=i.n(ir),lr=i(2665),ur=i.n(lr),cr=i(2409),dr=i.n(cr);class fr extends q.Component{constructor(e){var t;super(e),b(this,"notificationTimeout",void 0),b(this,"timeoutRef",void 0),this.doCopy=sr()(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;dr()(e),this.setState((()=>({isShowing:!0}))),clearTimeout(this.timeoutRef),this.timeoutRef=ur()((()=>{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 mr=i(2334);function pr(e,t,r,n,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void r(e)}s.done?t(l):mr.resolve(l).then(n,a)}function hr(e){return function(){var t=this,r=arguments;return new mr((function(n,a){var o=e.apply(t,r);function i(e){pr(o,n,a,i,s,"next",e)}function s(e){pr(o,n,a,i,s,"throw",e)}i(void 0)}))}}var gr=i(9683),vr=i.n(gr),yr=i(9469),br=i.n(yr),Er=i(2486),Sr=i.n(Er),wr=i(7475),Mr=i.n(wr),Cr=i(6534),Ir=i.n(Cr),Nr=i(3944),Dr=i.n(Nr);const Tr=e=>e.replace(/\/?$/,"/"),Ar=e=>{var t;const r=new(br())(e||window.location.toString());return new(Sr())(Dr()(t=r.search).call(t,1))},xr=(e,t)=>Ar(t).get(e),_r=e=>{const t=new(Sr())(e).get("verificationId");return"string"==typeof t&&0===t.length?null:t};var Or=i(6426),kr=i.n(Or),Pr=i(8520),Rr=i.n(Pr);let Fr={},Lr=[];const Ur=(e,t)=>{he.log(`customValidator registering \n${t}\n for custom field '${e}'`),Fr[e]=t,Lr.push(e)},Br=e=>Fr[e]?(he.log(`getCustomValidator returning '${e}'`),Fr[e]):(he.error(`Custom validator for field '${e}' does not exist.\n Has a custom validator been registered using the setCustomValidator method?`,"getCustomValidator"),null),Vr=e=>kr()(Lr).call(Lr,e)>-1,jr=()=>Lr,zr=e=>{if(kr()(ye).call(ye,e)<0)throw new Error(`Expected valid verification step name but received "${e}".`)},Hr=e=>{if(kr()(we).call(we,e)<0)throw new Error(`Expected valid verification step name but received "${e}".`)},$r=e=>{if(kr()(Ie).call(Ie,e)<0)throw new Error(`Expected valid segment name but received "${e}".`)},qr=e=>{if(!Wr(e))throw new Error(`Invalid locale ${e}, expected one of ${ge.join(", ")}`)},Wr=e=>kr()(ge).call(ge,e)>-1,Gr=e=>{if(!e||e.nodeType!==Node.ELEMENT_NODE)throw new Error(`Expected argument of type Node.ELEMENT_NODE but received "${typeof e} ${e.nodeType}"`)},Yr=e=>{Qr(e)},Kr=e=>{if(kr()(Pe).call(Pe,e)<0)throw new Error(`Expected valid hook name but received ${e}. Valid HookNames are [${Pe.join(", ")}]`)},Zr=e=>{if("function"!=typeof e)throw new Error('Expected type "function", but received '+typeof e)},Jr=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.")},Xr=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.')},Qr=e=>{if(!new RegExp("^[0-9a-fA-F]{24}$").test(e))throw new Error(`Invalid databaseId "${e}". Expected a 24-digit hexadecimal string.`)},en="en-US",tn=["image/png","image/gif","image/jpg","image/jpeg","image/bmp","application/pdf"],rn="mockStep",nn="mockSegment",an="mockSubSegment",on="mockErrorId",sn="mockRewardCode",ln="mockRedirectUrl",un="mockDocSelected",cn="mockPreviousStep",dn="installPageUrl",fn="installType",mn={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="},pn="SheerID Verification Form",hn={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"},gn=620,vn=300;function yn(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function bn(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=yn(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=yn(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const En={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=bn({},En);const wn=()=>Sn,Mn=()=>{Sn=bn({},En)},Cn=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=Tr(e.restApi.serviceUrl);Sn.restApi.serviceUrl=t,he.info(`option "serviceUrl" set to ${Sn.restApi.serviceUrl}`)}}var r;e.hasOwnProperty(rn)&&(Hr(e[rn]),Sn[rn]=e[rn],he.info(`option "${rn}" set to ${Sn[rn]}`)),e.hasOwnProperty(cn)&&(Hr(e[rn]),Sn[cn]=e[cn],he.info(`option "${cn}" set to ${Sn[cn]}`)),e.hasOwnProperty(nn)&&(Sn[nn]=e[nn],he.info(`option "${nn}" set to ${Sn[nn]}`)),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(dn)&&(Sn[dn]=e[dn],he.info(`option "${dn}" set to ${Sn[dn]}`)),e.hasOwnProperty(un)&&(Sn[un]=e[un],he.info(`option "${un}" set to ${Sn[un]}`)),e.hasOwnProperty("mockResponse")&&(Sn.mockResponse=oe(e.mockResponse),he.info('option "mockResponse" set to',Sn.mockResponse)),e.hasOwnProperty("messages")&&(Sn.messagesWithLocale=bn(bn({},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")&&(qr(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=bn(bn({},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")||xr("hideTestModeFlag"))&&(Sn.hideTestModeFlag=e.hideTestModeFlag||"true"===xr("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 In=i(8505),Nn=i.n(In);const Dn=class{constructor(e){b(this,"url",void 0),b(this,"start",void 0),this.url=e,this.start=Nn()()}logNow(){let e;return window.NREUM?(e={api_call:this.url,api_response_time:Nn()()-this.start},window.NREUM.addPageAction("API-calls-timing",e)):he.warn("Off-site logging not available."),e}};function Tn(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function An(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Tn(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Tn(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const xn={Accept:"application/json","Content-Type":"application/json"},_n={"Content-Type":"application/json"},On=(e,t={})=>{const r=wn().httpRequestTimeout;return new(vr())(((n,a)=>{const o=ur()((()=>{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(o)}))}))},kn=function(){var e=hr((function*(e,t){let r;try{r=yield e.json()}catch(e){r=vr().resolve({})}finally{t.logNow(),he.info("Response received",r)}return r}));return function(t,r){return e.apply(this,arguments)}}(),Pn=function(){var e=hr((function*(e,t,r={}){const n=new Dn(e),a=yield On(e,{headers:An(An({},xn),r),method:"POST",body:Ir()(t)});return kn(a,n)}));return function(t,r){return e.apply(this,arguments)}}(),Rn=function(){var e=hr((function*(e,t=xn){const r=new Dn(e),n=yield On(e,{headers:t,method:"DELETE"});return kn(n,r)}));return function(t){return e.apply(this,arguments)}}(),Fn=function(){var e=hr((function*(e,t=xn){const r=new Dn(e),n=yield On(e,{headers:t,method:"GET"});return kn(n,r)}));return function(t){return e.apply(this,arguments)}}(),Ln=function(){var e=hr((function*(e,t=xn){return On(e,{headers:t,method:"GET"})}));return function(t){return e.apply(this,arguments)}}(),Un=e=>{var t;return Mr()(t=o()(e).call(e,(e=>!!e))).call(t,(e=>({fileName:e.name,mimeType:e.type,fileSize:e.size})))},Bn=function(){var e=hr((function*(e,t,r=_n){const n=new Dn(e);he.info(`PostFiles posting to ${e}`,t);const a=Ir()({files:Un(t)}),o=yield fetch(e,{headers:r,method:"POST",body:a}),i=yield o.json(),s=ie((()=>i.documents)),l=ie((()=>i.submissionUrl));if(s&&l){yield vr().all(Mr()(s).call(s,((e,r)=>fetch(e.uploadUrl,{method:"PUT",body:t[r]}))));const e=yield fetch(l,{headers:r,method:"POST"});return kn(e,n)}return i}));return function(t,r){return e.apply(this,arguments)}}();var Vn=i(3106),jn=i.n(Vn);const zn=()=>`${wn().restApi.serviceUrl}${wn().restApi.resources.verification}`,Hn=e=>`${zn()}${e}`,$n=()=>zn(),qn=(e,t=null)=>{const r=`${wn().restApi.serviceUrl}${wn().restApi.resources.program.base}${e}/${wn().restApi.resources.program.theme}`;return t?`${r}?locale=${t}`:`${r}`},Wn=()=>`${wn().restApi.serviceUrl}rest/v2/organization/addSchool/`,Gn=e=>`${wn().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`,Yn=e=>`${wn().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`,Kn=(e,t)=>`${wn().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`,Zn=()=>window.sheerIdPubV,Jn=()=>document.location.href,Xn=()=>{try{const e=new(Sr())(window.location.search);if(e.get(dn))return decodeURIComponent(e.get(dn));if(wn()[dn])return wn()[dn]}catch(e){he.error(e)}return Jn()};var Qn;!function(e){e.landingPage="landing_page",e.cdnNoIframe="cdn_no_iframe"}(Qn||(Qn={}));const ea=()=>{try{const e=new(Sr())(window.location.search);if(e.get(fn))return decodeURIComponent(e.get(fn));if("landing"===e.get("layout"))return Qn.landingPage}catch(e){he.error(e)}return window.sheerIdInstallType||Qn.cdnNoIframe},ta=()=>{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?"))),Tr((t=e,r=Zn(),Tr(r?t.replace(/@(?!sheerid)[^/]*/gi,`@${r}`):t)));var t,r},ra="country",na="name";function aa(e,t,r,n){return oa.apply(this,arguments)}function oa(){return oa=hr((function*(e,t,r,n){if(!e)return vr().resolve([]);const a=new(br())(e),{origin:o,pathname:i,search:s}=a,l=new(Sr())(s);l.set(na,t),r&&l.set(ra,r),n&&l.set("tags",n);return function(e){return ia.apply(this,arguments)}(`${o}${i}?${l.toString()}`)})),oa.apply(this,arguments)}function ia(){return ia=hr((function*(e){try{const t=yield Fn(e);return Mr()(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")}})),ia.apply(this,arguments)}const sa=function(){var e=hr((function*(e){const t=new Dn(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=vr().resolve({})}finally{t.logNow(),he.info("Response received",n)}return n}));return function(t){return e.apply(this,arguments)}}();function la(){return(la=hr((function*(e){return yield Pn(Wn(),e)}))).apply(this,arguments)}const ua=function(){var e=hr((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{ca(r,!0),yield function(e){return la.apply(this,arguments)}(a).then((()=>{ca(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)}}(),ca=(e,t)=>{e({type:"SET_LOADING",payload:t})},da=({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(fr,{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 fa=i(6905),ma=i.n(fa),pa=i(6954),ha=i.n(pa);var ga=i(6569),va=i.n(ga),ya=i(9602),ba=i.n(ya);const Ea=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":"University / College name","defaultMessages.schoolNamePlaceholder":"University / College name","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.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.cancel":"Upload documents","defaultMessages.step.sso.login":"Sign in to my school","defaultMessages.step.sso.subtitle":"Please sign in to your school\'s web portal. It will open in a new tab.","defaultMessages.step.sso.subtitle2":"Can\'t sign in to your email?","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":"\\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 ","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.\\n <br><br>\\n 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":"\\n To be eligible for this offer, you must be of a certain age.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify your age. SheerID only collects information that assists in\\n 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.\\n <br><br>\\n 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.\\n <br><br>\\n {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.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.\\n <br><br>\\n 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":"\\n This offer is available to all US first responders and emergency personnel - including law enforcement,\\n EMTs, paramedics, and firefighters.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you are an active first responder. SheerID\\n 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.\\n <br><br>\\n 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":"\\n To be eligible for this offer, you must have a valid driver license.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify your identity. SheerID only collects information that assists in\\n 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.\\n <br><br>\\n 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":"\\n 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.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you are a licensed professional.\\n 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.emailExplanation":"","segmentMessages.lowIncome.postalCodeExplanation":"Use your home address","segmentMessages.lowIncome.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying your eligibility.\\n <br><br>\\n 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":"\\n 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. \\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you are a recipient of these benefits. \\n 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\\n medical professionals.<br><br>Documents are used only for verifying your medical professional status is\\n 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\\n and (2) be a member of an eligible branch of the medical profession. Eligible branches are shown in the Status\\n selector of this form.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a medical professional.\\n SheerID only collects information that assists in verifying your eligibility.\\n 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.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.\\n <br><br>\\n 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.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you are currently employed. SheerID only collects\\n 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.\\n <br><br>\\n 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":"\\n This offer is available to military personnel who have served or are currently serving in the United States Armed Forces.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you are a member of the military. SheerID only collects information\\n 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.\\n <br/><br/>\\n 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":"\\n To be eligible for this offer, you must have moved to a new address within the last 60 days.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you have recently moved. SheerID only\\n collects information that assists in verifying your eligibility.\\n 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.\\n <br><br>\\n 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":"\\n To be eligible for this offer, you must be of a certain age.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify your age. SheerID only collects information that assists in\\n 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":"University / college name","segmentMessages.student.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying students.\\n <br/><br/>\\n 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":"\\n To be eligible for this offer, you must currently be enrolled in a degree\\n or certificate-granting, accredited school of education.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you are a current student. SheerID only\\n collects information that assists in verifying your eligibility.\\n 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.cancel":"Upload Proof of Enrollment","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.\\n <br><br>\\n Documents are used only for verifying your teacher or faculty status is current and will be permanently\\n 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":"\\n To be eligible for this offer, you must currently be employed as a teacher, faculty or staff at a K-12\\n school or university in the United States.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you are a current teacher, faculty or staff\\n member. SheerID only collects information that assists in verifying your eligibility. Additional information\\n 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 Sa(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function wa(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Sa(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Sa(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Ma=e=>{var r;const n=va()(r=t()(e)).call(r,((t,r)=>(e[r]&&(t[r]=e[r]),t)),{});return ya.flatten.unflatten(n)},Ca=function(){var e=hr((function*(e){let t;switch(e){case"ar":t=yield i.e(711).then(i.t.bind(i,49,19)).then((e=>e.default));break;case"bg":t=yield i.e(458).then(i.t.bind(i,7813,19)).then((e=>e.default));break;case"cs":t=yield i.e(41).then(i.t.bind(i,3751,19)).then((e=>e.default));break;case"da":t=yield i.e(348).then(i.t.bind(i,5298,19)).then((e=>e.default));break;case"de":t=yield i.e(903).then(i.t.bind(i,2464,19)).then((e=>e.default));break;case"el":t=yield i.e(482).then(i.t.bind(i,2757,19)).then((e=>e.default));break;case"en-GB":t=yield i.e(194).then(i.t.bind(i,2925,19)).then((e=>e.default));break;case"en-US":t=Ea;break;case"es-ES":t=yield i.e(79).then(i.t.bind(i,7954,19)).then((e=>e.default));break;case"es":t=yield i.e(195).then(i.t.bind(i,7685,19)).then((e=>e.default));break;case"fi":t=yield i.e(304).then(i.t.bind(i,4214,19)).then((e=>e.default));break;case"fr-CA":t=yield i.e(485).then(i.t.bind(i,7762,19)).then((e=>e.default));break;case"fr":t=yield i.e(645).then(i.t.bind(i,6685,19)).then((e=>e.default));break;case"ga":t=yield i.e(456).then(i.t.bind(i,1804,19)).then((e=>e.default));break;case"hr":t=yield i.e(122).then(i.t.bind(i,6754,19)).then((e=>e.default));break;case"hu":t=yield i.e(722).then(i.t.bind(i,465,19)).then((e=>e.default));break;case"id":t=yield i.e(398).then(i.t.bind(i,5394,19)).then((e=>e.default));break;case"it":t=yield i.e(797).then(i.t.bind(i,7206,19)).then((e=>e.default));break;case"iw":t=yield i.e(961).then(i.t.bind(i,7238,19)).then((e=>e.default));break;case"ja":t=yield i.e(691).then(i.t.bind(i,912,19)).then((e=>e.default));break;case"ko":t=yield i.e(293).then(i.t.bind(i,5295,19)).then((e=>e.default));break;case"lo":t=yield i.e(47).then(i.t.bind(i,4762,19)).then((e=>e.default));break;case"lt":t=yield i.e(283).then(i.t.bind(i,7399,19)).then((e=>e.default));break;case"ms":t=yield i.e(478).then(i.t.bind(i,8031,19)).then((e=>e.default));break;case"nl":t=yield i.e(596).then(i.t.bind(i,3845,19)).then((e=>e.default));break;case"no":t=yield i.e(44).then(i.t.bind(i,7897,19)).then((e=>e.default));break;case"pl":t=yield i.e(589).then(i.t.bind(i,2176,19)).then((e=>e.default));break;case"pt-BR":t=yield i.e(495).then(i.t.bind(i,3170,19)).then((e=>e.default));break;case"pt":t=yield i.e(259).then(i.t.bind(i,4055,19)).then((e=>e.default));break;case"ru":t=yield i.e(753).then(i.t.bind(i,4194,19)).then((e=>e.default));break;case"sk":t=yield i.e(61).then(i.t.bind(i,6349,19)).then((e=>e.default));break;case"sl":t=yield i.e(666).then(i.t.bind(i,7091,19)).then((e=>e.default));break;case"sr":t=yield i.e(916).then(i.t.bind(i,3263,19)).then((e=>e.default));break;case"sv":t=yield i.e(140).then(i.t.bind(i,8638,19)).then((e=>e.default));break;case"th":t=yield i.e(845).then(i.t.bind(i,2407,19)).then((e=>e.default));break;case"tr":t=yield i.e(856).then(i.t.bind(i,8374,19)).then((e=>e.default));break;case"zh-HK":t=yield i.e(93).then(i.t.bind(i,6320,19)).then((e=>e.default));break;case"zh":t=yield i.e(494).then(i.t.bind(i,7485,19)).then((e=>e.default));break;default:he.warn(`getMessagesModuleByLocale: Unable to load messages for ${e}, falling back to en-US`),t=Ea}return Ma(t)}));return function(t){return e.apply(this,arguments)}}(),Ia=function(){var e=hr((function*(e){const t=yield fetch(`${ta()}localized-messages/${e}.json`,{headers:{"Content-Type":"text/plain"}});let r={};try{r=yield t.json()}catch(e){he.error(e)}return Ma(r)}));return function(t){return e.apply(this,arguments)}}(),Na=e=>{var r;const n=(0,ya.flatten)(e),a={};return d()(r=t()(n)).call(r,(e=>{"string"==typeof n[e]&&(a[e]=n[e])})),a},Da=e=>{let t={};return wn().messagesWithLocale[e]&&(t=wn().messagesWithLocale[e]),t},Ta=e=>"iw"===e?"he":e,Aa=function(){var e=hr((function*(e,t,r){let n,a=e;Wr(a)||(he.error(`Invalid locale ${a}, falling back to ${en} for the verification form`,"Invalid locale"),a=en),n="true"===window.sheerIdEs5?yield Ia(a):yield Ca(a);const o=n?n.defaultMessages:{},i=n&&n.segmentMessages,s=r&&i?n.segmentMessages[r]:{},l=Da(a),u=t?Na(t):{},c=a!==en?yield Aa(en,t,r):{};return $()({},c,o?(0,ya.flatten)(o):{},s?(0,ya.flatten)(s):{},u,l?(0,ya.flatten)(l):{})}));return function(t,r,n){return e.apply(this,arguments)}}();const xa=(e,t)=>{const r=ie((()=>e.localeChoice.value))||ie((()=>t.locale))||wn().locale||Ar(window.location.href).get("locale")||void 0||en;try{return qr(r),r}catch(e){return en}};function _a(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function Oa(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=_a(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=_a(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const ka={enabled:!1,required:!1,message:""},Pa=ma()({enabled:!1,keys:[],requiredKeys:[]}),Ra=e=>{let t=oe(Pa);try{ie((()=>e.config.customMetadata.enabled))&&(t=Oa(Oa({},t),e.config.customMetadata))}catch(e){he.warn("No custom metadata provided by the server.")}return wn().customMetadata&&(t=Oa(Oa({},t),wn().customMetadata)),t},Fa=e=>{let t=Oa({},ka);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 wn().marketConsent&&(t=wn().marketConsent),t},La=e=>{let t;try{t=e.intl.messages}catch(t){he.warn("Unable to get theme messages from ",e)}return t},Ua=e=>wn().customCss||e.customCss,Ba=e=>{const t=wn();return t.hasOwnProperty("logoUrl")?t.logoUrl:e.logoUrl},Va=e=>wn().privacyPolicyUrl||e.privacyPolicyUrl,ja=e=>{let t=["en-US"],r=[];try{r=e.config.locales}catch(e){he.warn("Unable to get configured locales from programTheme")}const n=za(wn());return t=[...r,...n],a=t,o()(i=ha()(a).call(a)).call(i,((e,t,r)=>!t||e!==r[t-1]));var a,i},za=e=>e&&e.messagesWithLocale?t()(e.messagesWithLocale):[],Ha=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"]},$a=e=>{let t;try{t=e.config.estimatedReviewTime}catch(e){t="A_FEW_HOURS"}return t},qa=e=>{let t;try{t=e.config.maxReviewTime}catch(e){t="2_HRS"}return t},Wa=wn(),Ga=(e,t,r,n)=>{let a;try{a=e.config.customFaqLink}catch(e){a=""}return a&&""!==a?a:`${(()=>{const e="urlFaq";return Wa.hasOwnProperty(e)||he.error(`Can't find an option for '${e}'`,"Option not found"),Wa[e]})()}?pid=${r}&locale=${(e=>e.replace("-","_"))(n)}`},Ya=(e,t)=>ie((()=>e.config.orgSearchCountryTags[t].join(",")),""),Ka=({children:e})=>q.createElement("div",{className:"sid sid-form-wrapper"},e);function Za(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function Ja(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Za(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Za(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Xa={firstName:"",lastName:"",email:"",phoneNumber:""},Qa={countryChoice:void 0,localeChoice:{value:void 0,label:void 0}},eo={organization:{id:0,name:""}},to={fieldsToSkipValidation:void 0},ro=Ja(Ja(Ja(Ja(Ja({},Xa),Qa),to),eo),{},{birthDate:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),no=Ja(Ja(Ja(Ja({},Xa),Qa),to),{},{birthDate:"",postalCode:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),ao=Ja(Ja(Ja(Ja({},Xa),Qa),to),{},{birthDate:"",postalCode:"",phoneNumber:"",country:"US",metadata:{marketConsentValue:!1,carrierConsentValue:!1,refererUrl:window.location.href}}),oo=Ja(Ja(Ja(Ja(Ja({},Xa),Qa),to),eo),{},{birthDate:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),io=Ja(Ja(Ja(Ja({},Xa),Qa),eo),{},{birthDate:"",phoneNumber:"",memberId:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),so=Ja(Ja(Ja(Ja(Ja({},Xa),Qa),to),eo),{},{activeDutyStartDate:"",birthDate:"",status:void 0,metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),lo=Ja(Ja(Ja(Ja(Ja({},Xa),Qa),to),eo),{},{activeDutyStartDate:"",birthDate:"",dischargeDate:"",status:void 0,metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),uo=Ja(Ja(Ja(Ja(Ja({},Xa),Qa),to),eo),{},{birthDate:"",status:void 0,metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),co=Ja(Ja(Ja(Ja(Ja({},Xa),Qa),to),eo),{},{birthDate:"",postalCode:"",status:void 0,country:void 0,metadata:{marketConsentValue:!1,refererUrl:window.location.href},memberId:void 0}),fo=Ja(Ja(Ja(Ja(Ja({},Xa),Qa),to),eo),{},{postalCode:"",address1:"",city:"",state:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),mo=Ja(Ja(Ja(Ja({},Xa),to),Qa),{},{state:"",driverLicenseNumber:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),po=Ja(Ja(Ja(Ja({},Xa),to),Qa),{},{birthDate:"",address1:"",city:"",state:"",postalCode:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),ho=Ja(Ja(Ja(Ja({},Xa),to),Qa),{},{birthDate:"",address1:"",city:"",state:"",postalCode:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href},driverLicenseNumber:""}),go=Ja(Ja(Ja(Ja(Ja({},Xa),to),Qa),eo),{},{birthDate:"",postalCode:"",statuses:[],metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),vo=Ja(Ja(Ja(Ja({},Xa),to),Qa),{},{address1:"",postalCode:"",statuses:[],metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),yo=Ja(Ja(Ja(Ja(Ja({},Xa),to),Qa),eo),{},{birthDate:"",address1:"",city:"",state:"",postalCode:"",statuses:[],ebtCardNumber:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),bo=Ja(Ja(Ja({},Qa),to),{},{file1:void 0,file2:void 0,file3:void 0}),Eo=Ja(Ja(Ja({},Qa),to),{},{isSSOActive:!1}),So=(Ja(Ja({},Qa),{},{overrideCode:void 0}),Ja(Ja({},Qa),{},{socialSecurityNumber:void 0})),wo=Ja(Ja({},Qa),{},{smsCode:"",phoneNumber:void 0}),Mo=Ja(Ja({},Qa),{},{emailToken:""}),Co=Ja({},Qa),Io={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},No=()=>({collectStudentPersonalInfo:oe(ro),collectTeacherPersonalInfo:oe(oo),collectMemberPersonalInfo:oe(io),collectMilitaryStatus:oe(so),collectActiveMilitaryPersonalInfo:oe(so),collectInactiveMilitaryPersonalInfo:oe(lo),collectSeniorPersonalInfo:oe(no),collectAgePersonalInfo:oe(ao),collectFirstResponderPersonalInfo:oe(uo),collectMedicalProfessionalPersonalInfo:oe(co),collectEmployeePersonalInfo:oe(fo),collectSocialSecurityNumber:oe(So),collectDriverLicensePersonalInfo:oe(mo),collectGeneralIdentityPersonalInfo:oe(po),collectHybridIdentityPersonalInfo:oe(ho),collectLicensedProfessionalPersonalInfo:oe(go),collectLowIncomePersonalInfo:oe(yo),collectMoverPersonalInfo:oe(vo),docUpload:oe(bo),cancelEmailLoop:oe(Mo),sso:oe(Eo),smsLoop:oe(wo),emailLoop:oe(Mo),pending:oe(Co),success:oe(Co),consolation:oe(Co),override:oe(Co),error:oe(Co),cancelSocialSecurityNumber:oe(Co),docReviewLimitExceeded:oe(Co),cancelDocUpload:oe(Co),missingRequiredMetadata:oe(Co)}),Do=()=>oe(Io),To=()=>({intl:{locale:xa(),messages:{}},customCss:""}),Ao=Ja(Ja({},Qa),{},{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 xo=ma()({viewModel:oe(Ao),programTheme:void 0,programId:void 0,submitted:!1,error:void 0,locale:void 0,messages:void 0,isLoading:1,isInitialized:!1}),_o=()=>oe(xo),Oo=q.createContext([_o(),()=>{}]);var ko=i(1652);function Po(){return Po=ko||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},Po.apply(this,arguments)}var Ro=i(8897),Fo=i(1245),Lo=i(7347);function Uo(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},o=Lo(e);for(n=0;n<o.length;n++)r=o[n],Fo(t).call(t,r)>=0||(a[r]=e[r]);return a}(e,t);if(Ro){var o=Ro(e);for(n=0;n<o.length;n++)r=o[n],Fo(t).call(t,r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const Bo=["dangerouslySetInnerHTML"],Vo=e=>{let{dangerouslySetInnerHTML:t}=e,r=Uo(e,Bo);return t?q.createElement("span",Po({dangerouslySetInnerHTML:t},r)):q.createElement(q.Fragment,r)};var jo,zo=i(2814),Ho=i.n(zo),$o=i(1671),qo=i.n($o),Wo=i(8338),Go=i.n(Wo);!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"}(jo||(jo={}));const Yo=new Map([[jo.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],[jo.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],[jo.JE,/^JE\d[\dA-Z]?[ ]?\d[ABD-HJLN-UW-Z]{2}$/],[jo.GG,/^GY\d[\dA-Z]?[ ]?\d[ABD-HJLN-UW-Z]{2}$/],[jo.IM,/^IM\d[\dA-Z]?[ ]?\d[ABD-HJLN-UW-Z]{2}$/],[jo.US,/^([0-9]{5})(?:-([0-9]{4}))?$/],[jo.CA,/^([ABCEGHJKLMNPRSTVXY][0-9][ABCEGHJKLMNPRSTVWXYZ])\s*([0-9][ABCEGHJKLMNPRSTVWXYZ][0-9])$/i],[jo.IE,/^([AC-FHKNPRTV-Y][0-9]{2}|D6W)[ -]?[0-9AC-FHKNPRTV-Y]{4}$/],[jo.DE,/^\d{5}$/],[jo.JP,/^\d{3}-\d{4}$/],[jo.FR,/^\d{2}[ ]?\d{3}$/],[jo.AU,/^\d{4}$/],[jo.IT,/^\d{5}$/],[jo.CH,/^\d{4}$/],[jo.AT,/^(?!0)\d{4}$/],[jo.ES,/^\d{5}$/],[jo.NL,/^\d{4}[ ]?[A-Z]{2}$/],[jo.BE,/^\d{4}$/],[jo.DK,/^\d{4}$/],[jo.SE,/^(SE-)?\d{3}[ ]?\d{2}$/],[jo.NO,/^\d{4}$/],[jo.BR,/^\d{5}[\-]?\d{3}$/],[jo.PT,/^\d{4}([\-]\d{3})?$/],[jo.FI,/^(FI-|AX-)?\d{5}$/],[jo.AX,/^22\d{3}$/],[jo.KR,/^\d{5}$/],[jo.CN,/^\d{6}$/],[jo.TW,/^\d{3}(\d{2})?$/],[jo.SG,/^\d{6}$/],[jo.DZ,/^\d{5}$/],[jo.AD,/^AD\d{3}$/],[jo.AR,/^([A-HJ-NP-Z])?\d{4}([A-Z]{3})?$/],[jo.AM,/^(37)?\d{4}$/],[jo.AZ,/^\d{4}$/],[jo.BH,/^((1[0-2]|[2-9])\d{2})?$/],[jo.BD,/^\d{4}$/],[jo.BB,/^(BB\d{5})?$/],[jo.BY,/^\d{6}$/],[jo.BM,/^[A-Z]{2}[ ]?[A-Z0-9]{2}$/],[jo.BA,/^\d{5}$/],[jo.IO,/^BBND 1ZZ$/],[jo.BN,/^[A-Z]{2}[ ]?\d{4}$/],[jo.BG,/^\d{4}$/],[jo.KH,/^\d{5}$/],[jo.CV,/^\d{4}$/],[jo.CL,/^\d{7}$/],[jo.CR,/^\d{4,5}|\d{3}-\d{4}$/],[jo.HR,/^(HR-)?\d{5}$/],[jo.CY,/^\d{4}$/],[jo.CZ,/^\d{3}[ ]?\d{2}$/],[jo.DO,/^\d{5}$/],[jo.EC,/^([A-Z]\d{4}[A-Z]|(?:[A-Z]{2})?\d{6})?$/],[jo.EG,/^\d{5}$/],[jo.EE,/^\d{5}$/],[jo.FO,/^\d{3}$/],[jo.GE,/^\d{4}$/],[jo.GR,/^\d{3}[ ]?\d{2}$/],[jo.GL,/^39\d{2}$/],[jo.GT,/^\d{5}$/],[jo.HT,/^\d{4}$/],[jo.HN,/^(?:\d{5})?$/],[jo.HU,/^\d{4}$/],[jo.IS,/^\d{3}$/],[jo.IN,/^\d{6}$/],[jo.ID,/^\d{5}$/],[jo.IL,/^\d{5,7}$/],[jo.JO,/^\d{5}$/],[jo.KZ,/^\d{6}$/],[jo.KE,/^\d{5}$/],[jo.KW,/^\d{5}$/],[jo.LA,/^\d{5}$/],[jo.LV,/^(LV-)?\d{4}$/],[jo.LB,/^(\d{4}([ ]?\d{4})?)?$/],[jo.LI,/^(948[5-9])|(949[0-7])$/],[jo.LT,/^(LT-)?\d{5}$/],[jo.LU,/^(L-)?\d{4}$/],[jo.MK,/^\d{4}$/],[jo.MY,/^\d{5}$/],[jo.MV,/^\d{5}$/],[jo.MT,/^[A-Z]{3}[ ]?\d{2,4}$/],[jo.MU,/^((\d|[A-Z])\d{4})?$/],[jo.MX,/^\d{5}$/],[jo.MD,/^\d{4}$/],[jo.MC,/^980\d{2}$/],[jo.MA,/^\d{5}$/],[jo.NP,/^\d{5}$/],[jo.NZ,/^\d{4}$/],[jo.NI,/^((\d{4}-)?\d{3}-\d{3}(-\d{1})?)?$/],[jo.NG,/^(\d{6})?$/],[jo.OM,/^(PC )?\d{3}$/],[jo.PK,/^\d{5}$/],[jo.PY,/^\d{4}$/],[jo.PH,/^\d{4}$/],[jo.PL,/^\d{2}-\d{3}$/],[jo.PR,/^00[679]\d{2}([ \-]\d{4})?$/],[jo.RO,/^\d{6}$/],[jo.RU,/^\d{6}$/],[jo.SM,/^4789\d$/],[jo.SA,/^\d{5}$/],[jo.SN,/^\d{5}$/],[jo.SK,/^\d{3}[ ]?\d{2}$/],[jo.SI,/^(SI-)?\d{4}$/],[jo.ZA,/^\d{4}$/],[jo.LK,/^\d{5}$/],[jo.TJ,/^\d{6}$/],[jo.TH,/^\d{5}$/],[jo.TN,/^\d{4}$/],[jo.TR,/^\d{5}$/],[jo.TM,/^\d{6}$/],[jo.UA,/^\d{5}$/],[jo.UY,/^\d{5}$/],[jo.UZ,/^\d{6}$/],[jo.VA,/^00120$/],[jo.VE,/^\d{4}$/],[jo.ZM,/^\d{5}$/],[jo.AS,/^96799$/],[jo.CC,/^6799$/],[jo.CK,/^\d{4}$/],[jo.RS,/^\d{5,6}$/],[jo.ME,/^8\d{4}$/],[jo.CS,/^\d{5}$/],[jo.YU,/^\d{5}$/],[jo.CX,/^6798$/],[jo.ET,/^\d{4}$/],[jo.FK,/^FIQQ 1ZZ$/],[jo.NF,/^2899$/],[jo.FM,/^(9694[1-4])([ \-]\d{4})?$/],[jo.GF,/^9[78]3\d{2}$/],[jo.GN,/^\d{3}$/],[jo.GP,/^9[78][01]\d{2}$/],[jo.GS,/^SIQQ 1ZZ$/],[jo.GU,/^969[123]\d([ \-]\d{4})?$/],[jo.GW,/^\d{4}$/],[jo.HM,/^\d{4}$/],[jo.IQ,/^\d{5}$/],[jo.KG,/^\d{6}$/],[jo.LR,/^\d{4}$/],[jo.LS,/^\d{3}$/],[jo.MG,/^\d{3}$/],[jo.MH,/^969[67]\d([ \-]\d{4})?$/],[jo.MN,/^\d{6}$/],[jo.MP,/^9695[012]([ \-]\d{4})?$/],[jo.MQ,/^9[78]2\d{2}$/],[jo.NC,/^988\d{2}$/],[jo.NE,/^\d{4}$/],[jo.VI,/^008(([0-4]\d)|(5[01]))([ \-]\d{4})?$/],[jo.PF,/^987\d{2}$/],[jo.PG,/^\d{3}$/],[jo.PM,/^9[78]5\d{2}$/],[jo.PN,/^PCRN 1ZZ$/],[jo.PW,/^96940$/],[jo.RE,/^9[78]4\d{2}$/],[jo.SH,/^(ASCN|STHL) 1ZZ$/],[jo.SJ,/^\d{4}$/],[jo.SO,/^\d{5}$/],[jo.SZ,/^[HLMS]\d{3}$/],[jo.TC,/^TKCA 1ZZ$/],[jo.WF,/^986\d{2}$/],[jo.XK,/^\d{5}$/],[jo.YT,/^976\d{2}$/],[jo.INTL,/^(?:[A-Z0-9]+([- ]?[A-Z0-9]+)*)?$/i]]);var Ko=i(861),Zo=i.n(Ko);const Jo=["ACTIVE_DUTY","VETERAN","RESERVIST","MILITARY_RETIREE","MILITARY_FAMILY","GOLD_STAR_FAMILY"],Xo=["FIREFIGHTER","EMT","POLICE","SEARCH_AND_RESCUE"],Qo=["NURSE","DOCTOR","DENTIST","PHARMACIST","OTHER_HEALTH_WORKER"];let ei={};function ti(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function ri(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=ti(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=ti(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const ni=10,ai=4096,oi=[/^\+?0*\d{10,}(x[0-9]{0,5})?$/,/(^\D?(\d{3})\D?\D?(\d{3})\D?(\d{4})$)/],ii=(e,t)=>{const r=jr();for(const r in e){var n;const a=e[r]?e[r]:"",o=e.fieldsToSkipValidation&&Ho()(n=e.fieldsToSkipValidation).call(n,r);if(_e[r]&&"string"==typeof ji(r,a,t)&&!o)return!1}const a=ie((()=>e.metadata),null);if(null!==a)for(const e in a){const n=void 0!==a[e]?a[e]:"";if(Ho()(r).call(r,e)&&"string"==typeof Br(e)(n,t))return!1}return!0},si=(e,t,r,n,a)=>n?(he.info(`Using overridden validator for field '${e}'`),n(t,a)):r(t,a),li=()=>{const e=Do(),t=(()=>{const e={},t=jr();if(t)for(const r of t)e[r]=void 0;return e})();return ri(ri({},e),t)},ui=e=>{if(void 0===e||!ki(e))return"invalidFirstName"},ci=e=>{if(void 0===e||!ki(e))return"invalidLastName"},di=()=>{},fi=e=>{if(!e)return"invalidCountry"},mi=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"},pi=e=>t=>{const r="invalidPhoneNumber";if(e&&!t)return r;const n=o()(oi).call(oi,(e=>e.test(t)));return t&&0===n.length?r:void 0},hi=e=>{if(void 0===e.id||qo()(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"},gi=(e,t)=>{const r="invalidBirthDate";if(ie((()=>"collectMemberPersonalInfo"===t.currentStep))){if(void 0===e||""===e||e.split("undefined").join("").length<=2)return;if(!Ri(e)||!Pi(e))return r}else if(void 0===e||!Ri(e)||!Pi(e))return r;return Ui(e,ie((()=>t.minAge)),ie((()=>t.maxAge)))?"outsideAgePerson":Fi(e)?"futureBirthDate":Li(e)?"underagePerson":void 0},vi=e=>{const t=tn;return void 0===e?"noValidFiles":(r=e.name)&&Ho()(r).call(r,".")&&!Ho()(t).call(t,e.type)?"unsupportedDocMimeType":e.size>10485760?"invalidFileSizeMax":e.size<=0?"invalidFileSizeEmpty":void 0;var r},yi=(e,t)=>{var r;const n=t.viewModel;if(n.statuses&&Ho()(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)))&&!Zo()(e))return"invalidEbtCardNumber"}},bi=(e,t)=>{const r=ie((()=>t.viewModel.countryChoice.value),"US");if(!Bi(r,e))return"invalidPostalCode"},Ei=e=>{if(!e)return"invalidAddress"},Si=e=>{if(!e)return"invalidCity"},wi=e=>{if(!Vi(e))return"invalidState"},Mi=e=>void 0!==e&&Ri(e)&&Pi(e),Ci=(e,t)=>new Date(e)<new Date(t.birthDate),Ii=(e,t)=>Mi(e)?Fi(e)?"futureDischargeDate":Ci(e,t.viewModel)?"dischargeDateBeforeBirthDate":void 0:"invalidDischargeDate",Ni=(e,t)=>{if(e||t.strictMilitaryValidationEnabled)return Mi(e)?Fi(e)?"futureActiveDutyStartDate":Ci(e,t.viewModel)?"activeDutyStartDateBeforeBirthDate":void 0:"invalidActiveDutyStartDate"},Di=e=>{if(9!==e.toString().length)return"invalidSocialSecurityNumber"},Ti=e=>{if(void 0===e||!/^[A-Za-z0-9-\*]{1,100}$/.test(e))return"invalidDriverLicenseNumber"},Ai=e=>{if(!e||!_i(e)||!Oi(e))return"invalidStatuses"},xi=e=>{if(!e||!(e=>Ho()(Jo).call(Jo,e))(e)&&!(e=>Ho()(Xo).call(Xo,e))(e)&&!(e=>Ho()(Qo).call(Qo,e))(e))return"invalidStatus"},_i=e=>e.length>0,Oi=e=>e.length>0,ki=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),Pi=e=>{const t=e.split("-"),r=Go()(t[0],ni),n=Go()(t[1],ni),a=Go()(t[2],ni),o=[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)&&(o[1]=29),!(a<=0||a>o[n-1]))},Ri=e=>!!/^\d{4}[\-\s\/]\d{1,2}[\-\s\/]\d{1,2}$/.test(e),Fi=e=>{const t=new Date;return new Date(e)>t},Li=(e,t=16)=>{const r=e.split("-"),n=Go()(r[0],ni),a=Go()(r[1],ni),o=Go()(r[2],ni),i=(new Date).getFullYear(),s=(new Date).getMonth()+1,l=(new Date).getDate();if(i-n===t){if(s-a<0)return!0;if(s-a==0&&l-o<0)return!0}else if(i-n<t)return!0;return!1},Ui=(e,t,r)=>{let n=!1,a=!1;return t&&(n=Li(e,t)),r&&(a=((e,t=120)=>{const r=e.split("-"),n=Go()(r[0],ni),a=Go()(r[1],ni),o=Go()(r[2],ni),i=(new Date).getFullYear(),s=(new Date).getMonth()+1,l=(new Date).getDate();if(i-n===t){if(s-a>0)return!0;if(s-a==0&&l-o>0)return!0}else if(i-n>t)return!0;return!1})(e,r)),n||a},Bi=(e="US",t)=>{const r=e;return!!(e=>Yo.has(e))(r)&&((e,t)=>{if(!Yo.has(t))throw Error(`Invalid country code: ${t}`);return Yo.get(t).test(e)})(t,r)},Vi=e=>{if(!e)return!1;const t=Y()(Re);return kr()(t).call(t,e.toUpperCase())>=0},ji=(e,t,r)=>{let n;(e=>{const t=jr();if(kr()(Oe).call(Oe,e)<0&&kr()(t).call(t,e)<0)throw new Error(`Expected valid field ID but received ${e}.\n Valid FieldIds are [${Oe.join(", ")}, ${t.join(", ")}]`)})(e);const a=ei[o=e]?(he.log(`getOverridenValidator returning '${o}'`),ei[o]):null;var o;switch(e){case _e.firstName:return n=ui,si(e,t,n,a,r);case _e.lastName:return n=ci,si(e,t,n,a,r);case _e.memberId:return n=di,si(e,t,n,a,r);case _e.email:return n=mi,si(e,t,n,a,r);case _e.phoneNumber:return n=(e=>pi(e&&e.smsLoopEnabled))(r),si(e,t,n,a,r);case _e.organization:return n=hi,si(e,t,n,a,r);case _e.birthDate:return n=gi,si(e,t,n,a,r);case _e.postalCode:return n=bi,si(e,t,n,a,r);case _e.address1:return n=Ei,si(e,t,n,a,r);case _e.city:return n=Si,si(e,t,n,a,r);case _e.state:return n=wi,si(e,t,n,a,r);case _e.country:return n=fi,si(e,t,n,a,r);case _e.dischargeDate:return n=Ii,si(e,t,n,a,r);case _e.activeDutyStartDate:return n=Ni,si(e,t,n,a,r);case _e.socialSecurityNumber:return n=Di,si(e,t,n,a,r);case _e.status:return n=xi,si(e,t,n,a,r);case _e.statuses:return n=Ai,si(e,t,n,a,r);case _e.driverLicenseNumber:return n=Ti,si(e,t,n,a,r);case _e.docUpload:return n=vi,si(e,t,n,a,r);case _e.ebtCardNumber:return n=yi,si(e,t,n,a,r);case _e.overrideCode:return n=vi,si(e,t,n,a,r);default:if((e=>{const t=jr();return!!(t.length&&kr()(t).call(t,e)>=0)})(e))return((e,t,r)=>{const n=Br(e);return he.info(`Using custom validator for custom field '${e}'`),n?n(t,r):void 0})(e,t,r)}};var zi=i(1639),Hi=i.n(zi);function $i(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 qi(e){return!!e&&!!e[Ps]}function Wi(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)===Rs}(e)||Array.isArray(e)||!!e[ks]||!!e.constructor[ks]||Qi(e)||es(e))}function Gi(e,t,r){void 0===r&&(r=!1),0===Yi(e)?(r?Object.keys:Fs)(e).forEach((function(n){r&&"symbol"==typeof n||t(n,e[n],e)})):e.forEach((function(r,n){return t(n,r,e)}))}function Yi(e){var t=e[Ps];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Qi(e)?2:es(e)?3:0}function Ki(e,t){return 2===Yi(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Zi(e,t){return 2===Yi(e)?e.get(t):e[t]}function Ji(e,t,r){var n=Yi(e);2===n?e.set(t,r):3===n?(e.delete(t),e.add(r)):e[t]=r}function Xi(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function Qi(e){return As&&e instanceof Map}function es(e){return xs&&e instanceof Set}function ts(e){return e.o||e.t}function rs(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Ls(e);delete t[Ps];for(var r=Fs(t),n=0;n<r.length;n++){var a=r[n],o=t[a];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[a]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function ns(e,t){return void 0===t&&(t=!1),os(e)||qi(e)||!Wi(e)||(Yi(e)>1&&(e.set=e.add=e.clear=e.delete=as),Object.freeze(e),t&&Gi(e,(function(e,t){return ns(t,!0)}),!0)),e}function as(){$i(2)}function os(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function is(e){var t=Us[e];return t||$i(18,e),t}function ss(e,t){Us[e]||(Us[e]=t)}function ls(){return Ds}function us(e,t){t&&(is("Patches"),e.u=[],e.s=[],e.v=t)}function cs(e){ds(e),e.p.forEach(ms),e.p=null}function ds(e){e===Ds&&(Ds=e.l)}function fs(e){return Ds={p:[],l:Ds,h:e,m:!0,_:0}}function ms(e){var t=e[Ps];0===t.i||1===t.i?t.j():t.O=!0}function ps(e,t){t._=t.p.length;var r=t.p[0],n=void 0!==e&&e!==r;return t.h.g||is("ES5").S(t,e,n),n?(r[Ps].P&&(cs(t),$i(4)),Wi(e)&&(e=hs(t,e),t.l||vs(t,e)),t.u&&is("Patches").M(r[Ps],e,t.u,t.s)):e=hs(t,r,[]),cs(t),t.u&&t.v(t.u,t.s),e!==Os?e:void 0}function hs(e,t,r){if(os(t))return t;var n=t[Ps];if(!n)return Gi(t,(function(a,o){return gs(e,n,t,a,o,r)}),!0),t;if(n.A!==e)return t;if(!n.P)return vs(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=4===n.i||5===n.i?n.o=rs(n.k):n.o;Gi(3===n.i?new Set(a):a,(function(t,o){return gs(e,n,a,t,o,r)})),vs(e,a,!1),r&&e.u&&is("Patches").R(n,r,e.u,e.s)}return n.o}function gs(e,t,r,n,a,o){if(qi(a)){var i=hs(e,a,o&&t&&3!==t.i&&!Ki(t.D,n)?o.concat(n):void 0);if(Ji(r,n,i),!qi(i))return;e.m=!1}if(Wi(a)&&!os(a)){if(!e.h.F&&e._<1)return;hs(e,a),t&&t.A.l||vs(e,a)}}function vs(e,t,r){void 0===r&&(r=!1),e.h.F&&e.m&&ns(t,r)}function ys(e,t){var r=e[Ps];return(r?ts(r):e)[t]}function bs(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 Es(e){e.P||(e.P=!0,e.l&&Es(e.l))}function Ss(e){e.o||(e.o=rs(e.t))}function ws(e,t,r){var n=Qi(t)?is("MapSet").N(t,r):es(t)?is("MapSet").T(t,r):e.g?function(e,t){var r=Array.isArray(e),n={i:r?1:0,A:t?t.A:ls(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},a=n,o=Bs;r&&(a=[n],o=Vs);var i=Proxy.revocable(a,o),s=i.revoke,l=i.proxy;return n.k=l,n.j=s,l}(t,r):is("ES5").J(t,r);return(r?r.A:ls()).p.push(n),n}function Ms(e){return qi(e)||$i(22,e),function e(t){if(!Wi(t))return t;var r,n=t[Ps],a=Yi(t);if(n){if(!n.P&&(n.i<4||!is("ES5").K(n)))return n.t;n.I=!0,r=Cs(t,a),n.I=!1}else r=Cs(t,a);return Gi(r,(function(t,a){n&&Zi(n.t,t)===a||Ji(r,t,e(a))})),3===a?new Set(r):r}(e)}function Cs(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return rs(e)}function Is(){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[Ps];return Bs.get(t,e)},set:function(t){var r=this[Ps];Bs.set(r,e,t)}},r}function t(e){for(var t=e.length-1;t>=0;t--){var a=e[t][Ps];if(!a.P)switch(a.i){case 5:n(a)&&Es(a);break;case 4:r(a)&&Es(a)}}}function r(e){for(var t=e.t,r=e.k,n=Fs(r),a=n.length-1;a>=0;a--){var o=n[a];if(o!==Ps){var i=t[o];if(void 0===i&&!Ki(t,o))return!0;var s=r[o],l=s&&s[Ps];if(l?l.t!==i:!Xi(s,i))return!0}}var u=!!t[Ps];return n.length!==Fs(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={};ss("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 o=Ls(r);delete o[Ps];for(var i=Fs(o),s=0;s<i.length;s++){var l=i[s];o[l]=e(l,t||!!o[l].enumerable)}return Object.create(Object.getPrototypeOf(r),o)}(n,t),o={i:n?5:4,A:r?r.A:ls(),P:!1,I:!1,D:{},l:r,t,k:a,o:null,O:!1,C:!1};return Object.defineProperty(a,Ps,{value:o,writable:!0}),a},S:function(e,r,a){a?qi(r)&&r[Ps].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var r=t[Ps];if(r){var a=r.t,o=r.k,i=r.D,s=r.i;if(4===s)Gi(o,(function(t){t!==Ps&&(void 0!==a[t]||Ki(a,t)?i[t]||e(o[t]):(i[t]=!0,Es(r)))})),Gi(a,(function(e){void 0!==o[e]||Ki(o,e)||(i[e]=!1,Es(r))}));else if(5===s){if(n(r)&&(Es(r),i.length=!0),o.length<a.length)for(var l=o.length;l<a.length;l++)i[l]=!1;else for(var u=a.length;u<o.length;u++)i[u]=!0;for(var c=Math.min(o.length,a.length),d=0;d<c;d++)void 0===i[d]&&e(o[d])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?r(e):n(e)}})}var Ns,Ds,Ts="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),As="undefined"!=typeof Map,xs="undefined"!=typeof Set,_s="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Os=Ts?Symbol.for("immer-nothing"):((Ns={})["immer-nothing"]=!0,Ns),ks=Ts?Symbol.for("immer-draftable"):"__$immer_draftable",Ps=Ts?Symbol.for("immer-state"):"__$immer_state",Rs=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),Fs="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Ls=Object.getOwnPropertyDescriptors||function(e){var t={};return Fs(e).forEach((function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)})),t},Us={},Bs={get:function(e,t){if(t===Ps)return e;var r=ts(e);if(!Ki(r,t))return function(e,t,r){var n,a=bs(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||!Wi(n)?n:n===ys(e.t,t)?(Ss(e),e.o[t]=ws(e.A.h,n,e)):n},has:function(e,t){return t in ts(e)},ownKeys:function(e){return Reflect.ownKeys(ts(e))},set:function(e,t,r){var n=bs(ts(e),t);if(null==n?void 0:n.set)return n.set.call(e.k,r),!0;if(!e.P){var a=ys(ts(e),t),o=null==a?void 0:a[Ps];if(o&&o.t===r)return e.o[t]=r,e.D[t]=!1,!0;if(Xi(r,a)&&(void 0!==r||Ki(e.t,t)))return!0;Ss(e),Es(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!==ys(e.t,t)||t in e.t?(e.D[t]=!1,Ss(e),Es(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=ts(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(){$i(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){$i(12)}},Vs={};Gi(Bs,(function(e,t){Vs[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Vs.deleteProperty=function(e,t){return Bs.deleteProperty.call(this,e[0],t)},Vs.set=function(e,t,r){return Bs.set.call(this,e[0],t,r,e[0])};var js=function(){function e(e){var t=this;this.g=_s,this.F=!0,this.produce=function(e,r,n){if("function"==typeof e&&"function"!=typeof r){var a=r;r=e;var o=t;return function(e){var t=this;void 0===e&&(e=a);for(var n=arguments.length,i=Array(n>1?n-1:0),s=1;s<n;s++)i[s-1]=arguments[s];return o.produce(e,(function(e){var n;return(n=r).call.apply(n,[t,e].concat(i))}))}}var i;if("function"!=typeof r&&$i(6),void 0!==n&&"function"!=typeof n&&$i(7),Wi(e)){var s=fs(t),l=ws(t,e,void 0),u=!0;try{i=r(l),u=!1}finally{u?cs(s):ds(s)}return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(e){return us(s,n),ps(e,s)}),(function(e){throw cs(s),e})):(us(s,n),ps(i,s))}if(!e||"object"!=typeof e){if((i=r(e))===Os)return;return void 0===i&&(i=e),t.F&&ns(i,!0),i}$i(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),o=1;o<n;o++)a[o-1]=arguments[o];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){Wi(e)||$i(8),qi(e)&&(e=Ms(e));var t=fs(this),r=ws(this,e,void 0);return r[Ps].C=!0,ds(t),r},t.finishDraft=function(e,t){var r=(e&&e[Ps]).A;return us(r,t),ps(void 0,r)},t.setAutoFreeze=function(e){this.F=e},t.setUseProxies=function(e){e&&!_s&&$i(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=is("Patches").$;return qi(e)?a(e,t):this.produce(e,(function(e){return a(e,t.slice(r+1))}))},e}(),zs=new js,Hs=zs.produce;zs.produceWithPatches.bind(zs),zs.setAutoFreeze.bind(zs),zs.setUseProxies.bind(zs),zs.applyPatches.bind(zs),zs.createDraft.bind(zs),zs.finishDraft.bind(zs);const $s=Hs;var qs=i(6812),Ws=i.n(qs);let Gs=[],Ys=null;const Ks=(e,t)=>{const r={fieldId:e,ref:t},n=Ws()(Gs).call(Gs,(t=>t.fieldId===e));-1!==n?Gs[n]=r:Gs.push(r)},Zs=()=>Gs,Js=e=>{for(const t of Gs)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},Xs=()=>{Gs=[],he.info("Refs have been reset")},Qs=()=>{null!==Ys&&(Ys.close(),Ys=null)},el=(e,t)=>{const r=t.viewModel,n=Hs(r,(t=>{t.organization.id=e.id,t.organization.idExtended=e.idExtended,t.organization.name=e.name,r.organization&&void 0!==r.organization.source&&(t.organization.source=r.organization.source)}));t.updateViewModel(n)},tl=(e,t)=>{t.updateFieldValidationErrors(e)},rl=(e,t,r)=>{const{fieldValidationErrors:n}=r,a=Hs(n,(n=>{n[e]&&(n[e]=ji(e,t,r.formValidationOptions))}));tl(a,r)},nl=(e,t)=>ie((()=>1===t.length))&&"US"===ie((()=>t[0]))||ie((()=>"US"===e.value))||ie((()=>void 0===e.value)),al=(e,t,r)=>t?e.formatHTMLMessage({id:t,defaultMessage:r[t]}):"",ol=(e,t)=>{const r=e.verificationResponse.availableStatuses||e.previousVerificationResponse&&e.previousVerificationResponse.availableStatuses,n=[];return r?(d()(r).call(r,(e=>{n.push({value:e,label:al(t,e,De)})})),n):null},il=e=>"birthDate"===e||"birthDateDay"===e?"birthDateYear":e,sl=e=>{const t=Js("submitButton");"Enter"===e.key&&t&&t.click()},ll=(e,t,r)=>{const n=((e,t)=>{const r=li(),n=ie((()=>e.metadata),null);for(const a in r)if(e.hasOwnProperty(a)){const n=ie((()=>e.fieldsToSkipValidation));if(X()(n)&&kr()(n).call(n,a)>-1)continue;const o=e[a]?e[a]:"";r[a]=ji(a,o,t)}else if(null!==n&&"object"==typeof n&&n.hasOwnProperty(a)){const e=n[a]?n[a]:"";r[a]=ji(a,e,t)}const{customFormFields:a}=wn();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=Zs(),t=[];return Mr()(e).call(e,(e=>t.push(e.fieldId))),t})(),r=((e,t)=>{var r;let n;return d()(r=Hi()(e).call(e)).call(r,(e=>{if(t[e])return n=e,il(n)})),il(n)})(e,n);tl(n,t),(e=>{const t=Js(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)}},ul=(e,t,r)=>({estReviewTime:r.formatHTMLMessage({id:`dateTime.${ie((()=>e.estimatedReviewTime))||$a(t)}`,default:"a few minutes"}),maxReviewTime:r.formatHTMLMessage({id:`dateTime.${ie((()=>e.maxReviewTime))||qa(t)}`,default:"2 hours"})}),cl=(e,t)=>{const r=Ha(e);return Mr()(r).call(r,(e=>({value:e,label:t.formatHTMLMessage({id:`countries.${e}`,defaultMessage:e})})))},dl=(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()(Re)})(e);return Mr()(n).call(n,(e=>({value:e,label:r.formatHTMLMessage({id:`states.${e}`,defaultMessage:e})})))},fl=(e,t)=>{const r=ja(e);return Mr()(r).call(r,(e=>({value:e,label:t.formatHTMLMessage({id:`locales.${e}`,defaultMessage:e})})))},ml=e=>e.length>0?e[0]:{value:"US",label:"United States"},pl=(e,t,r)=>Hs(e,(e=>{e[t]=r})),hl=e=>e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)),gl=["id","isErrored","className","hidePlaceholder","refId","required","type","ariaDescribedBy","ariaLabel"],vl=e=>{let{id:t,isErrored:r,className:n,hidePlaceholder:a=!0,refId:o,required:i=!1,type:s="text",ariaDescribedBy:l,ariaLabel:u}=e,c=Uo(e,gl),d="";n&&(d+=`${n} `),d+="sid-text-input sid-l-full-width",a&&(d+=" sid-hidden-placeholder"),i&&(d+=" sid-text-input--required"),r&&(d+=" sid-text-input--error");const f=o||t,m=(0,q.useRef)(null);return(0,q.useEffect)((()=>{Ks(f,m.current)})),q.createElement("input",Po({className:d,id:`sid-${t}`,name:`sid-${t}`,type:s,"aria-describedby":l,"aria-label":u,"aria-required":i,"aria-invalid":r,ref:m},c))},yl=({text:e,htmlForLabel:t,id:r,displayClasses:n,isRequired:a,children:o})=>{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&&(i=e,!(!q.isValidElement(i)&&""===i))&&q.createElement("span",{"aria-hidden":"true",className:"sid-field__label--required"},"*")),o&&q.createElement("div",{className:"sid-field__label-explanation"},o)));var i};yl.defaultProps={id:"",displayClasses:"",isRequired:!0,children:null};const bl=({fieldId:e,label:t,errorMessage:r,isRequired:n,showPlaceholderAndHideLabel:a=!1,children:o,explanation:i=""})=>{const s=`sid-${hl(`${e}Label`)}`;return q.createElement("div",{className:`sid-field sid-${hl(e)}`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(yl,{text:t,isRequired:n,htmlForLabel:`sid-${hl(e)}`,id:s,displayClasses:`${i?"sid-field__label-with-explanation":""}${a?"sid-h-screen-reader-only":""}`},i&&i),o,r&&q.createElement("div",{className:"sid-field-error"},r))},El=["fieldId","value","onChange","placeholder","label","errorMessage","showPlaceholderAndHideLabel","required","explanation"],Sl=e=>{let{fieldId:t,value:r,onChange:n,placeholder:a,label:o,errorMessage:i,showPlaceholderAndHideLabel:s=!1,required:l=!0,explanation:u=""}=e,c=Uo(e,El);const d=`sid-${hl(`${t}Label`)}`;return q.createElement(bl,{fieldId:t,label:o,errorMessage:i,showPlaceholderAndHideLabel:s,isRequired:l,explanation:u},q.createElement(vl,Po({id:hl(t),value:r,onChange:e=>n(e.target.value),placeholder:a,hidePlaceholder:!s,"aria-labelledby":d,refId:t,isErrored:!!i,required:l},c)))},wl=Rt((({value:e,isErrored:t,onChange:r,intl:n,placeholder:a=""})=>q.createElement(Sl,{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}))),Ml=Rt((({value:e,isErrored:t,onChange:r,intl:n,placeholder:a=""})=>q.createElement(Sl,{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}))),Cl=Rt((({value:e,isErrored:t,onChange:r,explanation:n,intl:a,onKeyDown:o,placeholder:i=""})=>q.createElement("div",{className:"sid-field sid-email"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(yl,{text:q.createElement(or,{id:"emailAddress",defaultMessage:"Email address"}),htmlForLabel:"sid-email",id:"sid-email-label",displayClasses:`sid-field__label-with-explanation${i&&" sid-h-screen-reader-only"}`},n||q.createElement(or,{id:"emailExplanation",defaultMessage:"Needed to send you your unique code"})),q.createElement(vl,{id:"email",isErrored:t,onChange:e=>r(e.target.value),onKeyDown:"function"==typeof o?e=>o(e):void 0,placeholder:i||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))),Il={university:"UNIVERSITY",k12:"K12",postSecondary:"POST_SECONDARY",highSchool:"HIGH_SCHOOL"};function Nl(e){return e.type===Il[this]}const Dl=Rt((({eligibleOrgs:e,ineligibleOrgs:t,intl:r})=>{const n=o()(e).call(e,Nl,"university"),a=o()(e).call(e,Nl,"k12"),i=o()(e).call(e,Nl,"postSecondary"),s=o()(e).call(e,Nl,"highSchool"),l=o()(t).call(t,Nl,"university"),u=o()(t).call(t,Nl,"k12"),c=o()(t).call(t,Nl,"postSecondary"),d=o()(t).call(t,Nl,"highSchool");return q.createElement("div",{className:"sid-l-space-top-md"},e.length+t.length>=mn.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"},Mr()(n).call(n,(e=>q.createElement(da,{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"},Mr()(a).call(a,(e=>q.createElement(da,{key:e.id,organization:e,isEligible:!0}))))),i.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"},Mr()(i).call(i,(e=>q.createElement(da,{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"},Mr()(s).call(s,(e=>q.createElement(da,{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"},Mr()(l).call(l,(e=>q.createElement(da,{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"},Mr()(u).call(u,(e=>q.createElement(da,{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"},Mr()(c).call(c,(e=>q.createElement(da,{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"},Mr()(d).call(d,(e=>q.createElement(da,{key:e.id,organization:e,isEligible:!1}))))))})),Tl=({name:e,label:t,value:r,placeholder:n,isErrored:a,onChange:o,onKeyDown:i,search:s})=>q.createElement("div",{className:"sid-field"},q.createElement("label",{htmlFor:`sid-${e}`},q.createElement("div",{className:"sid-field__label sid-l-space-btm-sm"},t)),q.createElement("div",{className:"sid-field-search"},q.createElement("input",{className:"sid-text-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=>o(e.target.value),onKeyDown:e=>(e=>{"Enter"===e.key?s():i&&i()})(e),placeholder:n}),q.createElement("div",{tabIndex:0,onClick:()=>s(),onKeyUp:()=>s(),role:"button"},q.createElement("img",{className:"sid-l-search-icon",src:"https://assets-resources.sheerid.com/common/images/requestOrganization/search.svg",alt:"Search"}))),a?q.createElement("div",{className:"sid-field-error"},q.createElement("span",null,q.createElement(or,{id:`errorId.${a}`,defaultMessage:"An unexpected error occurred"}))):null);var Al=i(9423),xl=i.n(Al);i(3187);function _l(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function Ol(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function kl(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var r=getComputedStyle(e,null);return Ol(r.overflowY,t)||Ol(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 Pl(e,t,r,n,a,o,i,s){return o<e&&i>t||o>e&&i<t?0:o<=e&&s<=r||i>=t&&s>=r?o-e-n:i>t&&s<r||o<e&&s>r?i-t+a:0}var Rl=function(){return Rl=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},Rl.apply(this,arguments)};function Fl(e,t,r,n){return new(r||(r=Promise))((function(a,o){function i(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(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(i,s)}l((n=n.apply(e,t||[])).next())}))}function Ll(e,t){var r,n,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)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 i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(a=i.trys,(a=a.length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}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 Ul(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,o=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)i.push(n.value)}catch(e){a={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i}Object.create;let Bl=0;function Vl(e){return"function"==typeof e?e:jl}function jl(){}function zl(e,t){if(!e)return;const r=function(e,t){var r=window,n=t.scrollMode,a=t.block,o=t.inline,i=t.boundary,s=t.skipOverflowHiddenElements,l="function"==typeof i?i:function(e){return e!==i};if(!_l(e))throw new TypeError("Invalid target");for(var u=document.scrollingElement||document.documentElement,c=[],d=e;_l(d)&&l(d);){if((d=d.parentElement)===u){c.push(d);break}null!=d&&d===document.body&&kl(d)&&!kl(document.documentElement)||null!=d&&kl(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,S=g.bottom,w=g.left,M="start"===a||"nearest"===a?b:"end"===a?S:b+v/2,C="center"===o?w+y/2:"end"===o?E:w,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&&w>=0&&S<=m&&E<=f&&b>=_&&S<=k&&w>=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,j=0,z="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?Pl(h,h+m,m,L,B,h+M,h+M+v,v):M-m/2,j="start"===o?C:"center"===o?C-f/2:"end"===o?C-f:Pl(p,p+f,f,F,U,p+C,p+C+y,y),V=Math.max(0,V+h),j=Math.max(0,j+p);else{V="start"===a?M-_-L:"end"===a?M-k+B+H:"nearest"===a?Pl(_,k,A,L,B+H,M,M+v,v):M-(_+A/2)+H/2,j="start"===o?C-P-F:"center"===o?C-(P+x/2)+z/2:"end"===o?C-O+U+z:Pl(P,O,x,F,U+z,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+=$-(j=Math.max(0,Math.min($+j,D.scrollWidth-x+z)))}I.push({el:D,top:V,left:j})}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 Hl(e,t,r){return e===t||t instanceof r.Node&&e.contains&&e.contains(t)}function $l(e,t){let r;function n(){r&&clearTimeout(r)}function a(){for(var a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];n(),r=setTimeout((()=>{r=null,e(...o)}),t)}return a.cancel=n,a}function ql(){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 Wl(){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 Gl(){return String(Bl++)}function Yl(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 Kl(e,t){return!(e=Array.isArray(e)?e[0]:e)&&t?t:e}function Zl(e){return"string"==typeof e.type}function Jl(e){return e.props}const Xl=["highlightedIndex","inputValue","isOpen","selectedItem","type"];function Ql(e){void 0===e&&(e={});const t={};return Xl.forEach((r=>{e.hasOwnProperty(r)&&(t[r]=e[r])})),t}function eu(e,t){return Object.keys(e).reduce(((r,n)=>(r[n]=tu(t,n)?t[n]:e[n],r)),{})}function tu(e,t){return void 0!==e[t]}function ru(e){const{key:t,keyCode:r}=e;return r>=37&&r<=40&&0!==t.indexOf("Arrow")?`Arrow${t}`:t}function nu(e,t,r,n,a){if(void 0===a&&(a=!0),0===r)return-1;const o=r-1;("number"!=typeof t||t<0||t>=r)&&(t=e>0?-1:o+1);let i=t+e;i<0?i=a?o:0:i>o&&(i=a?0:o);const s=au(e,i,r,n,a);return-1===s?t>=r?-1:t:s}function au(e,t,r,n,a){const o=n(t);if(!o||!o.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?au(1,0,r,n,!1):au(-1,r-1,r,n,!1):-1}function ou(e,t,r,n){return void 0===n&&(n=!0),t.some((t=>t&&(Hl(t,e,r)||n&&Hl(t,r.document.activeElement,r))))}const iu=$l((e=>{lu(e).textContent=""}),500);function su(e,t){const r=lu(t);e&&(r.textContent=e,iu(t))}function lu(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 uu=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 cu=(()=>{class e extends q.Component{constructor(e){var t;super(e),t=this,this.id=this.props.id||`downshift-${Gl()}`,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=Ql(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=Ql(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={},o="function"==typeof e;return!o&&e.hasOwnProperty("inputValue")&&this.props.onInputValueChange(e.inputValue,{...this.getStateAndHelpers(),...e}),this.setState((t=>{t=this.getState(t);let i=o?e(t):e;i=this.props.stateReducer(t,i),r=i.hasOwnProperty("selectedItem");const s={};return r&&i.selectedItem!==t.selectedItem&&(n=i.selectedItem),i.type=i.type||0,Object.keys(i).forEach((e=>{t[e]!==i[e]&&(a[e]=i[e]),"type"!==e&&(i[e],tu(this.props,e)||(s[e]=i[e]))})),o&&i.hasOwnProperty("inputValue")&&this.props.onInputValueChange(i.inputValue,{...this.getStateAndHelpers(),...i}),s}),(()=>{Vl(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,...o}=void 0===e?{}:e,{suppressRefError:i=!1}=void 0===r?{}:r;t.getRootProps.called=!0,t.getRootProps.refKey=n,t.getRootProps.suppressRefError=i;const{isOpen:s}=t.getState();return{[n]:Wl(a,t.rootRef),role:"combobox","aria-expanded":s,"aria-haspopup":"listbox","aria-owns":s?t.menuId:null,"aria-labelledby":t.labelId,...o}},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=nu(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=nu(-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=au(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=au(-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:o,onBlur:i,...s}=void 0===e?{}:e;const{isOpen:l}=t.getState(),u={onClick:ql(r,t.buttonHandleClick),onKeyDown:ql(a,t.buttonHandleKeyDown),onKeyUp:ql(o,t.buttonHandleKeyUp),onBlur:ql(i,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=ru(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:o,onInput:i,onChangeText:s,...l}=void 0===e?{}:e,u={};r="onChange";const{inputValue:c,isOpen:d,highlightedIndex:f}=t.getState();return l.disabled||(u={onChange:ql(o,i,t.inputHandleChange),onKeyDown:ql(n,t.inputHandleKeyDown),onBlur:ql(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=ru(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,...o}=void 0===e?{}:e,{suppressRefError:i=!1}=void 0===r?{}:r;return t.getMenuProps.called=!0,t.getMenuProps.refKey=n,t.getMenuProps.suppressRefError=i,{[n]:Wl(a,t.menuRef),role:"listbox","aria-labelledby":o&&o["aria-label"]?null:t.labelId,id:t.menuId,...o}},this.getItemProps=function(e){let{onMouseMove:r,onMouseDown:n,onClick:a,onPress:o,index:i,item:s,...l}=void 0===e?{}:e;void 0===i?(t.items.push(s),i=t.items.indexOf(s)):t.items[i]=s;const u=a,c={onMouseMove:ql(r,(()=>{i!==t.getState().highlightedIndex&&(t.setHighlightedIndex(i,{type:2}),t.avoidScrolling=!0,t.internalSetTimeout((()=>t.avoidScrolling=!1),250))})),onMouseDown:ql(n,(e=>{e.preventDefault()})),onClick:ql(u,(()=>{t.selectItemAtIndex(i,{type:9})}))},d=l.disabled?{onMouseDown:c.onMouseDown}:c;return{id:t.getItemId(i),role:"option","aria-selected":t.getState().highlightedIndex===i,...d,...l}},this.clearItems=()=>{this.items=[]},this.reset=function(e,r){void 0===e&&(e={}),e=Ql(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=Ql(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),Vl(r)()}))},this.openMenu=e=>{this.internalSetState({isOpen:!0},e)},this.closeMenu=e=>{this.internalSetState({isOpen:!1},e)},this.updateStatus=$l((()=>{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,su(n,this.props.environment.document)}),200);const{defaultHighlightedIndex:r,initialHighlightedIndex:n=r,defaultIsOpen:a,initialIsOpen:o=a,initialInputValue:i="",initialSelectedItem:s=null}=this.props,l=this.getState({highlightedIndex:n,isOpen:o,inputValue:i,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),eu(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=nu(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:o}=this,{getRootProps:i,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:S,setItemCount:w,unsetItemCount:M,internalSetState:C}=this;return{getRootProps:i,getToggleButtonProps:s,getLabelProps:l,getMenuProps:u,getInputProps:c,getItemProps:d,reset:S,openMenu:f,closeMenu:m,toggleMenu:p,selectItem:h,selectItemAtIndex:g,selectHighlightedItem:v,setHighlightedIndex:y,clearSelection:b,clearItems:E,setItemCount:w,unsetItemCount:M,setState:C,itemToString:a,id:o,highlightedIndex:e,inputValue:t,isOpen:n,selectedItem:r}}componentDidMount(){{const e=()=>{this.isMouseDown=!0},t=e=>{this.isMouseDown=!1;!ou(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=ou(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:o}=this.props;o.addEventListener("mousedown",e),o.addEventListener("mouseup",t),o.addEventListener("touchstart",r),o.addEventListener("touchmove",n),o.addEventListener("touchend",a),this.cleanup=()=>{this.internalClearTimeouts(),this.updateStatus.cancel(),o.removeEventListener("mousedown",e),o.removeEventListener("mouseup",t),o.removeEventListener("touchstart",r),o.removeEventListener("touchmove",n),o.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){tu(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=Kl(this.props.children,jl);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=Kl(e(this.getStateAndHelpers()));return t?this.getRootProps.called||this.props.suppressRefError?t:Zl(t)?(0,q.cloneElement)(t,this.getRootProps(Jl(t))):void 0:null}}return e.defaultProps={defaultHighlightedIndex:null,defaultIsOpen:!1,getA11yStatusMessage:Yl,itemToString:e=>null==e?"":String(e),onStateChange:jl,onInputValueChange:jl,onUserAction:jl,onChange:jl,onSelect:jl,onOuterClick:jl,selectedItemChanged:(e,t)=>e!==t,environment:"undefined"==typeof window?{}:window,stateReducer:(e,t)=>t,suppressRefError:!1,scrollIntoView:zl},e.stateChangeTypes=uu,e})();var du=cu;const fu={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};function mu(e,t,r){const{props:n,type:a}=e,o={};Object.keys(t).forEach((n=>{!function(e,t,r,n){const{props:a,type:o}=t,i=`on${yu(e)}Change`;a[i]&&void 0!==n[e]&&n[e]!==r[e]&&a[i]({type:o,...n})}(n,e,t,r),r[n]!==t[n]&&(o[n]=r[n])})),n.onStateChange&&Object.keys(o).length&&n.onStateChange({type:a,...o})}const pu=$l(((e,t)=>{su(e(),t)}),200),hu="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?q.useLayoutEffect:q.useEffect;function gu(e){let{id:t=`downshift-${Gl()}`,labelId:r,menuId:n,getItemId:a,toggleButtonId:o,inputId:i}=e;return(0,q.useRef)({labelId:r||`${t}-label`,menuId:n||`${t}-menu`,getItemId:a||(e=>`${t}-item-${e}`),toggleButtonId:o||`${t}-toggle-button`,inputId:i||`${t}-input`}).current}function vu(e,t,r){return void 0!==e?e:0===r.length?-1:r.indexOf(t)}function yu(e){return`${e.slice(0,1).toUpperCase()}${e.slice(1)}`}function bu(e){const t=(0,q.useRef)(e);return t.current=e,t}function Eu(e,t,r){const n=(0,q.useRef)(),a=(0,q.useRef)(),o=(0,q.useCallback)(((t,r)=>{a.current=r,t=eu(t,r.props);const n=e(t,r);return r.props.stateReducer(t,{...r,changes:n})}),[e]),[i,s]=(0,q.useReducer)(o,t),l=bu(r),u=(0,q.useCallback)((e=>s({props:l.current,...e})),[l]),c=a.current;return(0,q.useEffect)((()=>{c&&n.current&&n.current!==i&&mu(c,eu(n.current,c.props),i),n.current=i}),[i,r,c]),[i,u]}const Su={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:zl,circularNavigation:!1,environment:"undefined"==typeof window?{}:window};function wu(e,t,r){void 0===r&&(r=fu);const n=e[`default${yu(t)}`];return void 0!==n?n:r[t]}function Mu(e,t,r){void 0===r&&(r=fu);const n=e[t];if(void 0!==n)return n;const a=e[`initial${yu(t)}`];return void 0!==a?a:wu(e,t,r)}function Cu(e){const t=Mu(e,"selectedItem"),r=Mu(e,"isOpen"),n=Mu(e,"highlightedIndex"),a=Mu(e,"inputValue");return{highlightedIndex:n<0&&t&&r?e.items.indexOf(t):n,isOpen:r,selectedItem:t,inputValue:a}}function Iu(e,t,r,n){const{items:a,initialHighlightedIndex:o,defaultHighlightedIndex:i}=e,{selectedItem:s,highlightedIndex:l}=t;return 0===a.length?-1:void 0!==o&&l===o?o:void 0!==i?i:s?0===r?a.indexOf(s):nu(r,a.indexOf(s),a.length,n,!1):0===r?-1:r<0?a.length-1:0}function Nu(e,t,r,n){const a=(0,q.useRef)({isMouseDown:!1,isTouchMove:!1});return(0,q.useEffect)((()=>{const o=()=>{a.current.isMouseDown=!0},i=o=>{a.current.isMouseDown=!1,e&&!ou(o.target,t.map((e=>e.current)),r)&&n()},s=()=>{a.current.isTouchMove=!1},l=()=>{a.current.isTouchMove=!0},u=o=>{!e||a.current.isTouchMove||ou(o.target,t.map((e=>e.current)),r,!1)||n()};return r.addEventListener("mousedown",o),r.addEventListener("mouseup",i),r.addEventListener("touchstart",s),r.addEventListener("touchmove",l),r.addEventListener("touchend",u),function(){r.removeEventListener("mousedown",o),r.removeEventListener("mouseup",i),r.removeEventListener("touchstart",s),r.removeEventListener("touchmove",l),r.removeEventListener("touchend",u)}}),[e,r]),a}let Du=()=>jl;function Tu(e,t,r){let{isInitialMount:n,highlightedIndex:a,items:o,environment:i,...s}=r;(0,q.useEffect)((()=>{n||pu((()=>e({highlightedIndex:a,highlightedItem:o[a],resultCount:o.length,...s})),i.document)}),t)}function Au(e){let{highlightedIndex:t,isOpen:r,itemRefs:n,getItemNodeFromIndex:a,menuElement:o,scrollIntoView:i}=e;const s=(0,q.useRef)(!0);return hu((()=>{t<0||!r||!Object.keys(n.current).length||(!1===s.current?s.current=!0:i(a(t),o))}),[t]),s}let xu=jl;function _u(e,t,r){const{type:n,props:a}=t;let o;switch(n){case r.ItemMouseMove:o={highlightedIndex:t.disabled?-1:t.index};break;case r.MenuMouseLeave:o={highlightedIndex:-1};break;case r.ToggleButtonClick:case r.FunctionToggleMenu:o={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:Iu(a,e,0)};break;case r.FunctionOpenMenu:o={isOpen:!0,highlightedIndex:Iu(a,e,0)};break;case r.FunctionCloseMenu:o={isOpen:!1};break;case r.FunctionSetHighlightedIndex:o={highlightedIndex:t.highlightedIndex};break;case r.FunctionSetInputValue:o={inputValue:t.inputValue};break;case r.FunctionReset:o={highlightedIndex:wu(a,"highlightedIndex"),isOpen:wu(a,"isOpen"),selectedItem:wu(a,"selectedItem"),inputValue:wu(a,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return{...e,...o}}He().array.isRequired,He().func,He().func,He().func,He().bool,He().number,He().number,He().number,He().bool,He().bool,He().bool,He().any,He().any,He().any,He().string,He().string,He().string,He().func,He().string,He().func,He().func,He().func,He().func,He().func,He().shape({addEventListener:He().func,removeEventListener:He().func,document:He().shape({getElementById:He().func,activeElement:He().any,body:He().any})});Rl(Rl({},Su),{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 Ou=0,ku=1,Pu=2,Ru=3,Fu=4,Lu=5,Uu=6,Bu=7,Vu=10,ju=16,zu=19;var Hu=Object.freeze({__proto__:null,InputKeyDownArrowDown:Ou,InputKeyDownArrowUp:ku,InputKeyDownEscape:Pu,InputKeyDownHome:Ru,InputKeyDownEnd:Fu,InputKeyDownEnter:Lu,InputChange:Uu,InputBlur:Bu,MenuMouseLeave:8,ItemMouseMove:9,ItemClick:Vu,ToggleButtonClick:11,FunctionToggleMenu:12,FunctionOpenMenu:13,FunctionCloseMenu:14,FunctionSetHighlightedIndex:15,FunctionSelectItem:ju,FunctionSetInputValue:17,FunctionReset:18,ControlledPropUpdatedSelectedItem:zu});He().array.isRequired,He().func,He().func,He().func,He().bool,He().number,He().number,He().number,He().bool,He().bool,He().bool,He().any,He().any,He().any,He().string,He().string,He().string,He().string,He().string,He().string,He().func,He().string,He().string,He().func,He().func,He().func,He().func,He().func,He().func,He().shape({addEventListener:He().func,removeEventListener:He().func,document:He().shape({getElementById:He().func,activeElement:He().any,body:He().any})});let $u=jl;const qu={...Su,getA11yStatusMessage:Yl,circularNavigation:!0};function Wu(e,t){const{type:r,props:n,shiftKey:a}=t;let o;switch(r){case Vu:o={isOpen:wu(n,"isOpen"),highlightedIndex:wu(n,"highlightedIndex"),selectedItem:n.items[t.index],inputValue:n.itemToString(n.items[t.index])};break;case Ou:o=e.isOpen?{highlightedIndex:nu(a?5:1,e.highlightedIndex,n.items.length,t.getItemNodeFromIndex,n.circularNavigation)}:{highlightedIndex:Iu(n,e,1,t.getItemNodeFromIndex),isOpen:n.items.length>=0};break;case ku:o=e.isOpen?{highlightedIndex:nu(a?-5:-1,e.highlightedIndex,n.items.length,t.getItemNodeFromIndex,n.circularNavigation)}:{highlightedIndex:Iu(n,e,-1,t.getItemNodeFromIndex),isOpen:n.items.length>=0};break;case Lu:o={...e.isOpen&&e.highlightedIndex>=0&&{selectedItem:n.items[e.highlightedIndex],isOpen:wu(n,"isOpen"),highlightedIndex:wu(n,"highlightedIndex"),inputValue:n.itemToString(n.items[e.highlightedIndex])}};break;case Pu:o={isOpen:!1,highlightedIndex:-1,...!e.isOpen&&{selectedItem:null,inputValue:""}};break;case Ru:o={highlightedIndex:au(1,0,n.items.length,t.getItemNodeFromIndex,!1)};break;case Fu:o={highlightedIndex:au(-1,n.items.length-1,n.items.length,t.getItemNodeFromIndex,!1)};break;case Bu:o={isOpen:!1,highlightedIndex:-1,...e.highlightedIndex>=0&&t.selectItem&&{selectedItem:n.items[e.highlightedIndex],inputValue:n.itemToString(n.items[e.highlightedIndex])}};break;case Uu:o={isOpen:!0,highlightedIndex:wu(n,"highlightedIndex"),inputValue:t.inputValue};break;case ju:o={selectedItem:t.selectedItem,inputValue:n.itemToString(t.selectedItem)};break;case zu:o={inputValue:t.inputValue};break;default:return _u(e,t,Hu)}return{...e,...o}}function Gu(e){void 0===e&&(e={}),$u(e,Gu);const t={...qu,...e},{initialIsOpen:r,defaultIsOpen:n,items:a,scrollIntoView:o,environment:i,getA11yStatusMessage:s,getA11ySelectionMessage:l,itemToString:u}=t,c=function(e){const t=Cu(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,o]=Eu(e,t,r);return(0,q.useEffect)((()=>{tu(r,"selectedItem")&&(n.current!==r.selectedItem&&o({type:zu,inputValue:r.itemToString(r.selectedItem)}),n.current=a.selectedItem===n.current?r.selectedItem:a.selectedItem)})),[eu(a,r),o]}(Wu,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),S=(0,q.useRef)(null),w=(0,q.useRef)(!0),M=gu(t),C=(0,q.useRef)(),I=bu({state:d,props:t}),N=(0,q.useCallback)((e=>y.current[M.getItemId(e)]),[M]);Tu(s,[m,p,g,a],{isInitialMount:w.current,previousResultCount:C.current,items:a,environment:i,itemToString:u,...d}),Tu(l,[h],{isInitialMount:w.current,previousResultCount:C.current,items:a,environment:i,itemToString:u,...d});const D=Au({menuElement:v.current,highlightedIndex:p,isOpen:m,itemRefs:y,scrollIntoView:o,getItemNodeFromIndex:N});xu({isInitialMount:w.current,props:t,state:d}),(0,q.useEffect)((()=>{(r||n||m)&&b.current&&b.current.focus()}),[]),(0,q.useEffect)((()=>{w.current||(C.current=a.length)}));const T=Nu(m,[S,v,E],i,(()=>{f({type:Bu,selectItem:!1})})),A=Du("getInputProps","getComboboxProps","getMenuProps");(0,q.useEffect)((()=>{w.current=!1}),[]),(0,q.useEffect)((()=>{m||(y.current={})}),[m]);const x=(0,q.useMemo)((()=>({ArrowDown(e){e.preventDefault(),f({type:Ou,shiftKey:e.shiftKey,getItemNodeFromIndex:N})},ArrowUp(e){e.preventDefault(),f({type:ku,shiftKey:e.shiftKey,getItemNodeFromIndex:N})},Home(e){I.current.state.isOpen&&(e.preventDefault(),f({type:Ru,getItemNodeFromIndex:N}))},End(e){I.current.state.isOpen&&(e.preventDefault(),f({type:Fu,getItemNodeFromIndex:N}))},Escape(e){const t=I.current.state;(t.isOpen||t.inputValue||t.selectedItem||t.highlightedIndex>-1)&&(e.preventDefault(),f({type:Pu}))},Enter(e){const t=I.current.state;!t.isOpen||t.highlightedIndex<0||229===e.which||(e.preventDefault(),f({type:Lu,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,...o}=void 0===e?{}:e,{suppressRefError:i=!1}=void 0===t?{}:t;return A("getMenuProps",i,n,v),{[n]:Wl(a,(e=>{v.current=e})),id:M.menuId,role:"listbox","aria-labelledby":M.labelId,onMouseLeave:ql(r,(()=>{f({type:8})})),...o}}),[f,A,M]),k=(0,q.useCallback)((function(e){let{item:t,index:r,refKey:n="ref",ref:a,onMouseMove:o,onMouseDown:i,onClick:s,onPress:l,disabled:u,...c}=void 0===e?{}:e;const{props:d,state:m}=I.current,p=vu(r,t,d.items);if(p<0)throw new Error("Pass either item or item index in getItemProps!");const h=s;return{[n]:Wl(a,(e=>{e&&(y.current[M.getItemId(p)]=e)})),disabled:u,role:"option","aria-selected":`${p===m.highlightedIndex}`,id:M.getItemId(p),...!u&&{onClick:ql(h,(()=>{f({type:Vu,index:r})}))},onMouseMove:ql(o,(()=>{r!==m.highlightedIndex&&(D.current=!1,f({type:9,index:r,disabled:u}))})),onMouseDown:ql(i,(e=>e.preventDefault())),...c}}),[f,I,D,M]),P=(0,q.useCallback)((function(e){let{onClick:t,onPress:r,refKey:n="ref",ref:a,...o}=void 0===e?{}:e;return{[n]:Wl(a,(e=>{E.current=e})),id:M.toggleButtonId,tabIndex:-1,...!o.disabled&&{onClick:ql(t,(()=>{f({type:11}),!I.current.state.isOpen&&b.current&&b.current.focus()}))},...o}}),[f,I,M]),R=(0,q.useCallback)((function(e,t){let{onKeyDown:r,onChange:n,onInput:a,onBlur:o,onChangeText:i,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=ru(e);t&&x[t]&&x[t](e)},p=e=>{f({type:Uu,inputValue:e.target.value})},h=()=>{d.isOpen&&!T.current.isMouseDown&&f({type:Bu,selectItem:!0})};let g={};return u.disabled||(g={onChange:ql(n,a,p),onKeyDown:ql(r,m),onBlur:ql(o,h)}),{[s]:Wl(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:o=!1}=void 0===t?{}:t;return A("getComboboxProps",o,r,S),{[r]:Wl(n,(e=>{S.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]),j=(0,q.useCallback)((e=>{f({type:ju,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:j,reset:(0,q.useCallback)((()=>{f({type:18})}),[f]),highlightedIndex:p,isOpen:m,selectedItem:h,inputValue:g}}Gu.stateChangeTypes=Hu;He().array,He().array,He().array,He().func,He().func,He().func,He().number,He().number,He().number,He().func,He().func,He().string,He().string,He().shape({addEventListener:He().func,removeEventListener:He().func,document:He().shape({getElementById:He().func,activeElement:He().any,body:He().any})});const Yu=({getItemProps:e,getMenuProps:t,highlightedIndex:r,options:n,itemToString:a,ariaLabel:o,isOpen:i})=>q.createElement("div",t({"aria-label":o}),i?q.createElement("div",{className:"sid-input-select-list__menu"},n.length>0?Mr()(n).call(n,((t,o)=>((t,o)=>q.createElement("div",Po({className:"sid-input-select-list__item "+(r===o?"sid-input-select-list__item--highlighted":"")},e({item:t,index:o,key:t.value})),a(n[o])))(t,o))):q.createElement("div",{className:"sid-input-select-list__message"},q.createElement(or,{id:"noOptions",defaultMessage:"No Options"}))):null),Ku=({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",Po({},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"}))),Zu=({className:e,inputId:t,disabled:r,fieldId:n,fieldLabelId:a,isErrored:i,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)=>o()(e).call(e,(e=>{var r,n;return!t||Ho()(r=e.label.toLowerCase()).call(r,t.toLowerCase())||Ho()(n=e.value.toString().toLowerCase()).call(n,t.toLowerCase())})),E=(0,q.useRef)(null);return(0,q.useEffect)((()=>{Ks(n,E.current)})),q.createElement(du,{id:t,onChange:u,itemToString:y,selectedItem:f&&f.value&&f.label?f:"",defaultHighlightedIndex:0},(({clearSelection:n,getInputProps:o,getItemProps:u,getMenuProps:f,getToggleButtonProps:S,highlightedIndex:w,inputValue:M,isOpen:C,openMenu:I,selectedItem:N,selectHighlightedItem:D})=>q.createElement("div",{className:`sid-input-select-list ${e||""}`},q.createElement("input",Po({},o({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":""} ${i?"sid-text-input--error":""}`,disabled:r,placeholder:c,"aria-required":h,"aria-labelledby":a,role:v})),q.createElement(Ku,{disabled:r,getToggleButtonProps:S,isOpen:C,clearSelection:N?n:void 0,buttonRef:g}),q.createElement(Yu,{highlightedIndex:w,itemToString:y,options:b(s,M),getItemProps:u,getMenuProps:f,ariaLabel:p,isOpen:C}))))};Zu.defaultProps={className:void 0,disabled:!1,inputId:void 0,isErrored:!1,onKeyDown:void 0,placeholder:"",value:void 0};const Ju=Zu,Xu=Rt((({value:e,isErrored:t,options:r,onChange:n,onKeyDown:a,intl:o,placeholder:i="",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(yl,{text:q.createElement(or,{id:"country",defaultMessage:"Country"}),htmlForLabel:l,id:`${l}-label`,isRequired:s}),q.createElement(Ju,{fieldId:"country",inputId:l,fieldLabelId:`${l}-label`,isErrored:t,options:r,onChange:e=>n(e),onKeyDown:a,placeholder:i||o.formatHTMLMessage({id:"countryPlaceholder",defaultMessage:"Country"}),value:xl()(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)})),Qu=({getItemProps:e,getMenuProps:t,highlightedIndex:r,options:n,itemToString:a})=>{const o=42*n.length;return q.createElement("div",Po({className:"sid-input-select-list__menu"},t(),{tabIndex:-1,style:{height:Math.min(o,280)}}),Mr()(n).call(n,((t,o)=>((t,o)=>q.createElement("div",Po({className:"sid-select-list__item "+(r===o?"sid-select-list__item--highlighted":""),key:o},e({index:o,item:t})),a(n[o])))(t,o))))},ec=({getToggleButtonProps:e,isOpen:t})=>q.createElement("button",Po({},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"}))),tc=({className:e,hideDropDownButton:t,isErrored:r,options:n,onChange:a,overrideInputClassName:o,placeholder:i,value:s})=>{const l=e=>e?e.label:"";return q.createElement(du,{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",Po({},a({onFocus:m}),c,{className:`\n sid-l-full-width\n ${o||"sid-select-input"}\n ${r?"sid-select-input--error":""}\n `,placeholder:i,readOnly:!0})),t?null:q.createElement(ec,{getToggleButtonProps:c,isOpen:f}),f?q.createElement("div",null,n.length>0?q.createElement(Qu,{highlightedIndex:d,itemToString:l,options:n,getItemProps:s,getMenuProps:u}):q.createElement("div",Po({className:"sid-select-list__menu"},u()),q.createElement("div",{className:"sid-select-list__message"},q.createElement(or,{id:"noOptions",defaultMessage:"No Options"})))):null)))};tc.defaultProps={className:void 0,hideDropDownButton:!1,isErrored:!1,overrideInputClassName:void 0,placeholder:"",value:void 0};const rc=tc,nc=Rt((({value:e,options:t,onChange:r,intl:n})=>{const a=Mr()(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(rc,{className:"sid-change-locale__select",hideDropDownButton:!0,options:a,onChange:e=>r(e),overrideInputClassName:"sid-change-locale__input",value:xl()(a).call(a,(t=>t.value===(e&&e.value)))}),q.createElement("div",{className:"sid-l-space-btm-sm"}))})),ac=Rt((({verificationService:e,intl:t})=>{const r=fl(e.programTheme,t);return r.length<=1?null:q.createElement(nc,{options:r,value:e.viewModel.localeChoice||{value:"en-US",label:"English"},isErrored:!1,onChange:t=>(t=>{const r=$s(e.viewModel,(e=>{e.localeChoice=t}));e.updateLocale(r,e.programTheme,e.verificationResponse.segment)})(t)})})),oc=()=>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"}));Rt((({intl:e})=>{const[t,r]=q.useContext(Oo),{viewModel:n}=t,{programTheme:a}=t,o=fl(a,e),i=cl(a,e),s=ml(i),l=e=>{r({type:"UPDATE_VIEW_MODEL",payload:e})},u=function(){var e=hr((function*(e,t){const r=[],n=[];l({isSearching:!0});try{const[a,o]=yield vr().all([sa(e),sa(t)]),[i,s]=((e,t)=>{var r,n;const a=[],o=[],i=va()(r=e).call(r,((e,t)=>(e[t.name]=!0,a.push(t),e)),{});return d()(n=t).call(n,(e=>{i[e.name]||o.push(e)})),[a,o]})(a,o);r.push(...i),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=hr((function*(){if(!y())return;const e=(e=>{let t=e;try{t=new(br())(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=hr((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(br())(a.config.orgSearchUrl),o=n.countryChoice.value,i=Ya(a,o),{origin:s,pathname:l,search:u}=r,c=new(Sr())(u);return c.set(e,t),c.set("country",o),i&&c.set("tags",i),[`${s}${l}?${c.toString()}`,`${s}${l}?type=UNIVERSITY,K12,POST_SECONDARY,HIGH_SCHOOL&country=${o}&${e}=${t}`]},p=()=>n.orgDomain?mn.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=ji("firstName",n.firstName),o=ji("lastName",n.lastName),i=ji("email",n.email);return l({orgCountryError:e,orgDomainError:t,orgNameError:r,firstNameError:a,lastNameError:o,emailError:i}),!(e||t||r||a||o||i)},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?Ba(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-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-logo__img",alt:"Logo",src:E||mn.SHEERID_LOGO_URL})),q.createElement("div",{className:"sid-logo sid-l-space-top-md"},q.createElement("img",{className:"sid-logo__icon",alt:"School House",src:mn.SCHOOL_HOUSE_URL})),o.length>1?q.createElement(nc,{options:o,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(Xu,{value:n.countryChoice,isErrored:!!n.orgCountryError,onChange:e=>{l({countryChoice:e,orgCountryError:null})},options:i,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(Tl,{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(Tl,{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(Dl,{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<mn.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(wl,{value:n.firstName,isErrored:!!n.firstNameError,onChange:e=>{l({firstName:e})}}),q.createElement(Ml,{value:n.lastName,isErrored:!!n.lastNameError,onChange:e=>{l({lastName:e})}})),q.createElement(Cl,{value:n.email,isErrored:!!n.emailError,onChange:e=>{l({email:e})},explanation:" "})),q.createElement("div",{className:"sid-l-space-top-lg"},q.createElement("button",{type:"submit",className:"sid-btn sid-btn--dark",onClick:e=>{e.preventDefault(),ua(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"},q.createElement(oc,null)):null)}));var ic=i(5869);const sc={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","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:"University / College name",schoolNamePlaceholder:"University / College name",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 submitted does not meet the date requirements 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 shows a status that is not sufficient for establishing 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)"}},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:"\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 "},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:"Can't sign in to your email?",login:"Sign in to my school"},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."},lc={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:"\n This offer is available to all US first responders and emergency personnel - including law enforcement,\n EMTs, paramedics, and firefighters.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you are an active first responder. SheerID\n 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:"",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"}}},uc={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:"\n This offer is available to military personnel who have served or are currently serving in the United States Armed Forces.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you are a member of the military. SheerID only collects information\n 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:"",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"}}},cc={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock Your Special Offer",subtitle:"Verify your current age.",howDoesVerifyingWorkDetails:"\n To be eligible for this offer, you must be of a certain age.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify your age. SheerID only collects information that assists in\n 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:"",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"}}},dc={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock Your Special Offer",subtitle:"Verify your current age.",howDoesVerifyingWorkDetails:"\n To be eligible for this offer, you must be of a certain age.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify your age. SheerID only collects information that assists in\n 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:"",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"}}},fc={emailExplanation:"A student email address is preferred",schoolName:"University / college name",step:{personalInfo:{title:"Unlock this Student-Only Offer",subtitle:"Verify you're a student at a degree-granting school.",howDoesVerifyingWorkDetails:"\n To be eligible for this offer, you must currently be enrolled in a degree\n or certificate-granting, accredited school of education.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you are a current student. SheerID only\n collects information that assists in verifying your eligibility.\n 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:"",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:{cancel:"Upload Proof of Enrollment"}}},mc={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:"\n To be eligible for this offer, you must currently be employed as a teacher, faculty or staff at a K-12\n school or university in the United States.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you are a current teacher, faculty or staff\n member. SheerID only collects information that assists in verifying your eligibility. Additional information\n 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:"",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"}}},pc={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.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you are currently employed. SheerID only collects\n 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:"",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"}}},hc={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\n and (2) be a member of an eligible branch of the medical profession. Eligible branches are shown in the Status\n selector of this form.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a medical professional.\n SheerID only collects information that assists in verifying your eligibility.\n 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:"",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"},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={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.\n <br><br>\n {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:"",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"}}},vc={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:sc.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"},yc={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock Your Special Offer",subtitle:"Verify your current identity.",howDoesVerifyingWorkDetails:"\n To be eligible for this offer, you must have a valid driver license.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify your identity. SheerID only collects information that assists in\n 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:"",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"}}},bc={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:"\n 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.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you are a licensed professional.\n 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:"",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"}}},Ec={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock this Special Offer",subtitle:"Verify you have recently moved.",howDoesVerifyingWorkDetails:"\n To be eligible for this offer, you must have moved to a new address within the last 60 days.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you have recently moved. SheerID only\n collects information that assists in verifying your eligibility.\n 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:"",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"}}},Sc={emailExplanation:"",addressExplanation:"Use your home address",step:{personalInfo:{title:"Unlock this Special Offer",subtitle:"Verify you qualify for an eligible government assistance program.",howDoesVerifyingWorkDetails:"\n 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. \n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you are a recipient of these benefits. \n 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:"",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"}}},wc={defaultMessages:sc,pluralizationsAndDateLocaleData:i.n(ic)(),requestOrganizationMessages:vc,segmentMessages:{firstResponder:lc,military:uc,senior:cc,age:dc,student:fc,teacher:mc,member:pc,medical:hc,employment:gc,identity:yc,licensedProfessional:bc,recentMover:Ec,lowIncome:Sc}},Mc={verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"error",segment:"student",subSegment:null,redirectUrl:"https://sheerid.com",errorIds:["internalServerError"],locale:"en-US"},Cc={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:Mc,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:Mc},Ic=(wc.defaultMessages.countries,wc.defaultMessages.locales,e=>{try{const t=new(Sr())(window.location.search);if(t.get(e))return t.get(e);if(wn().hasOwnProperty(e))return wn()[e]}catch(e){he.error(e)}}),Nc=(e=undefined)=>{try{const t=new(Sr())(window.location.search);let r;const n=ie((()=>e.segment));return t.get(rn)?r=t.get(rn):wn().mockStep&&(r=wn().mockStep),r===Se.collect?Me[n]:r}catch(e){he.error(e,"getRouteOverride")}},Dc=()=>Ic(nn),Tc=()=>Ic(an),Ac=()=>Ic(cn),xc=()=>Ac(),_c=()=>Ic(sn),Oc=()=>Ic(ln),kc=e=>{const t=oe(e),r=Ic(on),n=Oc();return r&&(t.errorIds=[r]),n&&(t.redirectUrl=n),t},Pc=function(){var e=hr((function*(e,t){let r=wn().mockResponse||Cc[e];if(e&&r)switch(he.info(`getOverriddenMock: mocking ${e} response`),e){case ve.error:r=kc(r);break;case ve.success:r=(e=>{const t=oe(e),r=_c(),n=Oc();return r&&(t.rewardCode=r),n&&(t.redirectUrl=n),t})(r);break;case ve.consolation:r=(e=>{const t=oe(e),r=_c();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,Dc()&&(r.segment=Dc(),he.info(`getOverriddenMock: mocking segment '${r.segment}'`)),Tc()&&(r.subSegment=Tc(),he.info(`getOverriddenMock: mocking subSegment '${r.subSegment}'`))),vr().resolve(r)}));return function(t,r){return e.apply(this,arguments)}}(),Rc=({step:e})=>q.createElement("div",{className:"sid-loading-screen__message"},Ho()(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"}))),Fc=({step:e=xc()})=>q.createElement("div",{className:"sid-loading-screen"},q.createElement(oc,null),e&&q.createElement(Rc,{step:e}));let Lc={};const Uc=(e,t)=>{he.log(`overrideComponent registering ${e}`),Lc[e]=t},Bc=()=>{Lc={}};var Vc=i(1057),jc=i.n(Vc);function zc(e){return Hc.apply(this,arguments)}function Hc(){return Hc=hr((function*(e){try{he.info("fetchExistingVerificationRequest: Calling back-end for existing verification request");const t=Hn(e),r=yield Fn(t),n=Nc(r),a=yield Pc(n,r);return a||r}catch(e){he.error(e,"fetchExistingVerificationRequest")}})),Hc.apply(this,arguments)}var $c=i(6607),qc=i.n($c);const Wc=function(){var e=hr((function*(e,t){Qr(e),Xr(t);const r=`${`${wn().restApi.serviceUrl}${wn().restApi.resources.conversion.base}`}verification/${e}`;return yield Pn(r,t)}));return function(t,r){return e.apply(this,arguments)}}(),Gc=function(){var e=hr((function*(e,t,r){Qr(e),Jr(t),Xr(r);const n=`${`${wn().restApi.serviceUrl}${wn().restApi.resources.conversion.base}`}account/${e}/trackingId/${t}`;return yield Pn(n,r)}));return function(t,r,n){return e.apply(this,arguments)}}(),Yc=window.addEventListener?"addEventListener":"attachEvent",Kc="attachEvent"===Yc?"onmessage":"message",Zc="sid-verificationId",Jc="verificationId",Xc=e=>{if(e&&e.data&&"object"==typeof e.data&&e.data.hasOwnProperty(Jc)){const t=e.data[Jc];Qc(t)}},Qc=e=>{const t=wn().cookies;qc().remove(Zc,t),t.enabled?(qc().set(Zc,e,t),he.info(`Set cookie ${Zc} with value ${e}`)):he.info("Cookies disabled")},ed=e=>{var t;t={[Jc]:e},window.parent&&window.parent.postMessage&&"function"==typeof window.parent.postMessage&&window.parent.postMessage(t,"*"),Qc(e)},td=(e=undefined)=>{let t;if(void 0!==e)t=e,Jr(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},rd={convert:e=>{let t;try{t=qc().get(Zc),t?Wc(t,e):he.info("verificationId not found from cookie")}catch(e){he.error(e,"Conversion error")}},convertByVerificationId:Wc,convertByTrackingId:Gc,listenForVerificationId:()=>{var e;he.info("Listening for verificationId"),Zr(e=Xc),window[Yc](Kc,(t=>{e(t)}),!1)}};function nd(){return nd=hr((function*(e,t=undefined,r=!1,n={}){const a=td(t);try{let t;Yr(e);const o=window.location.search;let i;if(r||(i=wn().verificationId||_r(o)),i&&(he.info("fetchNewVerificationRequest: Calling for existing verification request"),t=yield zc(i)),!i||t.currentStep===ve.error){const r=$n(),o={programId:e};a&&(he.info(`Adding trackingId ${a}`),o.trackingId=a);const i=Xn();i&&(he.info(`Adding installPageUrl ${i}`),o.installPageUrl=i),t=yield Pn(r,o,n),t.locale=xa()}const s=Nc(t),l=yield Pc(s,t);return l?(l.locale=xa(),l):t}catch(e){throw he.error(e,"fetchNewVerificationRequest"),e}})),nd.apply(this,arguments)}function ad(){return ad=hr((function*(e,t){if(!wn().doFetchTheme)return To();he.info("fetchProgramTheme: Calling back-end for program theme");try{Yr(e),t&&qr(t);const r=t||xa();return yield Fn(qn(e,r))}catch(e){throw he.error(e,"fetchProgramTheme"),e}})),ad.apply(this,arguments)}function od(){return od=hr((function*(e){he.info("Resending new sms code");try{const t=Gn(e);return yield Ln(t)}catch(e){he.error(e,"getResendNewSmsCode")}})),od.apply(this,arguments)}function id(){return id=hr((function*(e){he.info("Resending new email code");try{const t=Yn(e);return yield Ln(t)}catch(e){he.error(e,"getResendNewEmailCode")}})),id.apply(this,arguments)}const sd={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:jc()(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:Ho()(t=e.statuses).call(t,"OTHER_GOVERNMENT_ASSISTANCE")?e.organization:void 0,deviceFingerprintHash:e.deviceFingerprintHash,ebtCardNumber:Ho()(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 ld(){return ld=hr((function*(e,t,r){let n;const{docUpload:a,cancelSocialSecurityNumber:o,sso:i,cancelEmailLoop:s,cancelDocUpload:l}=ve;try{if(e===a){const e=r,{file1:a,file2:o,file3:i}=e;return n=yield Bn(t.submissionUrl,[a,o,i]),n}if(e===o||e===i)return n=yield Rn(t.cancelUrl),n;if(e===s)return n=yield Rn(t.cancelUrl),n;if(e===l)return n=yield Rn(t.submissionUrl),n;const u=sd[e](r);return n=yield Pn(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}()}})),ld.apply(this,arguments)}function ud(){return ud=hr((function*(e,t,r){return zr(e),ve[e]?function(e,t,r){return ld.apply(this,arguments)}(e,t,r):vr().reject(new Error(`Unknown step ${e}`))})),ud.apply(this,arguments)}function cd(e,t,r){return dd.apply(this,arguments)}function dd(){return(dd=hr((function*(e,t,r){if(ve[t]){const n=sd[t](r),a=yield Pn(Kn(e,t),n);return"error"===a.currentStep&&vr().reject(new Error(`Failed to determine fields to collect: ${a}`)),a}return vr().reject(new Error(`Unknown step ${t}`))}))).apply(this,arguments)}const fd={fetchNewVerificationRequest:function(e){return nd.apply(this,arguments)},fetchExistingVerificationRequest:zc,fetchProgramTheme:function(e,t){return ad.apply(this,arguments)},getResendNewSmsCode:function(e){return od.apply(this,arguments)},getResendNewEmailCode:function(e){return id.apply(this,arguments)},submitStep:function(e,t,r){return ud.apply(this,arguments)}},md=["children"],pd=e=>{let{children:t}=e,r=Uo(e,md);return q.createElement("a",Po({target:"_blank",rel:"noopener noreferrer"},r),t)};var hd=i(3104),gd=i.n(hd);function vd(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}let yd={};const bd=e=>((e=>{Kr(e.name),Zr(e.callback)})(e),X()(yd[e.name])||(yd[e.name]=[]),yd[e.name].push(e),yd),Ed=e=>(Kr(e),t=>{if(!(yd[e]&&X()(yd[e])&&yd[e].length>0))return()=>{};var r;d()(r=yd[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=vd(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=vd(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}({},t)):he.warn("Expected typeof function for hook callback")}))}),Sd=e=>{zr(e);const t=No()[e];if(!t)throw he.log(`Can't find "empty" for ${e}`),new Error("Check for missing empties");return t};function wd(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function Md(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 Cd=e=>!!(e.instantMatchAttempts&&e.instantMatchAttempts>0),Id=({previousViewModel:e,currentStep:t,locale:r,fingerprint:n,country:a})=>{const o=Sd(t);if(e)for(const t in o)e.hasOwnProperty(t)&&(o[t]=e[t]);return o&&(n&&(o.deviceFingerprintHash=n),r&&(o.localeChoice={value:r||"en-US",label:""}),a&&"country"in o&&void 0===o.country&&(o.country=a),a&&"countryChoice"in o&&void 0===o.countryChoice&&(o.countryChoice={value:a,label:""})),o},Nd=function(){var e=hr((function*(e){i.e(772).then(i.bind(i,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 Dd=i(2983),Td=i.n(Dd);let Ad;const xd=function(){var e=hr((function*(){return wn().useFingerprinting?Ad?vr().resolve(Ad):Td().getPromise({}).then((e=>{const t=Mr()(e).call(e,(e=>e.value)),r=Td().x64hash128(t.join(""),31);return Ad=r,Ad})):vr().resolve(void 0)}));return function(){return e.apply(this,arguments)}}(),_d={};let Od=$()({},_d);const kd=e=>{e&&e.hasOwnProperty("optin")&&Cn({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>ai&&(he.warn(`Truncating metadata value '${e[r]}' for key '${n}' (max length 4096 characters).`),a=a.substring(0,ai)),n.length>256&&(he.warn(`Truncating metadata key '${r}' (max length 256 characters).`),n=n.substring(0,256)),t[n]=a}return t})(e);$()(Od,t),he.info("Added metadata: ",t),he.info("Full metadata: ",Od)}else he.error("Metadata has not been updated. See previous error(s)")},Pd=()=>t()(Od).length>0?oe(Od):void 0,Rd="Verification";let Fd;!function(e){e.TRUE="true",e.FALSE="false"}(Fd||(Fd={}));const Ld=["sheerid.com","wizeline.com"],Ud={verificationId:"dimension1",programId:"dimension2",jslibVersionActual:"dimension3",isTest:"dimension4"},Bd=(e,t="")=>{window.ga("send","event",Rd,e,t)},Vd=(e,t)=>{try{window.ga("set",Ud[e],t)}catch(t){he.warn(`Failed to set ${e}`,t)}};function jd(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function zd(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=jd(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=jd(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Hd=e=>function(){var t=hr((function*(t,r,n,a,o){const i={jslibVersion:window.sheerIdPubV||"",installType:ea(),installUrl:Xn()||"",projectSha:window.sheerIdProjectSha||""};yield e({type:"IS_LOADING",isLoading:!0});try{const s=fd.fetchNewVerificationRequest(t,a,o,i);return qd({dispatch:e,verificationResponsePromise:s,programId:t,segment:r,previousViewModel:n})}catch(e){he.error(e,"fetchNewVerificationRequest")}}));return function(e,r,n,a,o){return t.apply(this,arguments)}}(),$d=e=>function(){var t=hr((function*(t,r,n,a,o=!0){o&&(yield e({type:"IS_LOADING",isLoading:!0}));try{const o=fd.fetchExistingVerificationRequest(r);return qd({dispatch:e,verificationResponsePromise:o,programId:t,previousViewModel:a,previousVerificationResponse:n})}catch(e){he.error(e,"fetchExistingVerificationRequest")}}));return function(e,r,n,a){return t.apply(this,arguments)}}(),qd=function(){var e=hr((function*({dispatch:e,verificationResponsePromise:t,programId:r,segment:n,previousViewModel:a,previousVerificationResponse:o}){try{const s=xd();let l,u,c;try{l=yield t,he.info("verificationResponse received: ",l),c=xa(a,l),u=yield fd.fetchProgramTheme(r,c)}catch(e){i=e.message,l={verificationId:null,currentStep:"error",errorIds:[i],segment:null,subSegment:null,locale:"en-US"},c=xa(a,l),u=To()}const f=La(u),m=Aa(c,f,l.segment),p=l.segment;let h=null;if(p===Ce.MILITARY){const e=aa(u.config.orgSearchUrl,"");h=yield e,he.info("orgList received: ",h)}let g=(e=>{if(e)return $s(e,(e=>{for(let t=1;t<=3;t+=1)e[`file${t}`]=void 0}))})(a);const v=o?o.segment:n;((e,t)=>!!t&&!(!e||e===t))(v,p)&&(he.info("segment changed: ",v,p),yield Xd(e)(l),g=void 0);const y=yield s,{currentStep:b}=l,E=Ha(u),S=((e,t)=>e&&e.hasOwnProperty("country")&&e.country?e.country:t[0])(l,E);let w=Id({currentStep:b,fingerprint:y,locale:c,country:S,previousViewModel:g});w=((e,t)=>{if(e&&e.hasOwnProperty("organization")&&t.config.orgRemoteSource){const r=oe(e),{organization:n}=r;return n.source=t.config.orgRemoteSource,r}return e})(w,u),((e,t)=>!e||e.currentStep!==t.currentStep)(o,l)&&(Ed("ON_VERIFICATION_STEP_CHANGE")(l),o&&"sso"===o.currentStep&&"sso"!==l.currentStep&&"pending"!==l.currentStep&&Qs()),u.threatMetrixEnabled&&Nd(l.verificationId),ed(l.verificationId),w&&w.hasOwnProperty("metadata")&&(w.metadata=zd(zd({},w.metadata),(e=>{const t=Ar(),r={};return d()(e).call(e,(e=>{t.get(e)&&(r[e]=t.get(e))})),r})(gd()(Ra(u)))));const M=yield m;return vr().all([e({verificationResponse:l,type:"VERIFICATION_RESPONSE"}),e({viewModel:w,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((()=>{Ed("ON_VERIFICATION_READY")(l),(e=>{try{delete yd[e]}catch(t){he.warn("Unable to remove hook",e)}})("ON_VERIFICATION_READY")}))}catch(e){throw he.error(e,"createFetchVerificationRequest"),e}var i}));return function(t){return e.apply(this,arguments)}}(),Wd=e=>function(){var t=hr((function*(t,r=!1){return vr().all([e({viewModel:t,type:"VIEW_MODEL",partial:r}),e({type:"FORM_VALIDATION_OPTIONS"})])}));return function(e){return t.apply(this,arguments)}}(),Gd=(e,t)=>function(){var r=hr((function*(r,n,a){e({type:"IS_LOADING",isLoading:!0});const o=xa(r),i=yield fd.fetchProgramTheme(t,o),s=La(i);return Ed("ON_FORM_LOCALE_CHANGE")(o),Aa(o,s,a).then((t=>vr().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)}}(),Yd=e=>function(){var t=hr((function*(t){return e({programTheme:t,type:"PROGRAM_THEME"})}));return function(e){return t.apply(this,arguments)}}(),Kd=e=>hr((function*(){return e({type:"RESET_STATE"})})),Zd=e=>function(){var t=hr((function*(t){return e({fieldValidationErrors:t,type:"FIELD_VALIDATION_ERRORS"})}));return function(e){return t.apply(this,arguments)}}(),Jd=e=>function(){var t=hr((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&&o()(Ld).call(Ld,(e=>kr()(t).call(t,e)>-1)).length>0&&Vd("isTest",Fd.TRUE)}catch(e){he.warn("Error setting isTest dimension",e)}})(r);const a=yield fd.submitStep(t,n,r),i=((e,t)=>{const{currentStep:r}=e;let n;if(r===ve.success&&Ed("ON_VERIFICATION_SUCCESS")(e),r===ve.collectActiveMilitaryPersonalInfo)n=Md(Md({},t),{},{dischargeDate:""}),delete n.dischargeDate;else if(r===ve.collectInactiveMilitaryPersonalInfo)n=t.dischargeDate?t:Md(Md({},t),{},{dischargeDate:""});else if(Cd(e))n=t;else{const{locale:r}=e;n=Id({locale:r,previousViewModel:t,currentStep:e.currentStep})}return n})(a,r),s=e({verificationResponse:a,type:"VERIFICATION_RESPONSE"}),l=e({viewModel:i,type:"VIEW_MODEL"}),u=e({type:"IS_LOADING",isLoading:!1});return Ed("ON_VERIFICATION_STEP_CHANGE")(a),vr().all([s,l,u])}));return function(e,r,n){return t.apply(this,arguments)}}(),Xd=e=>t=>vr().all([e({type:"VIEW_MODEL",viewModel:Sd(t.currentStep)}),e({type:"PREVIOUS_VIEW_MODEL",previousViewModel:void 0}),e({type:"FIELD_VALIDATION_ERRORS",fieldValidationErrors:Do()})]);function Qd(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 ef="function"==typeof Symbol&&Symbol.observable||"@@observable",tf=function(){return Math.random().toString(36).substring(7).split("").join(".")},rf={INIT:"@@redux/INIT"+tf(),REPLACE:"@@redux/REPLACE"+tf(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+tf()}};function nf(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 af(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(Qd(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error(Qd(1));return r(af)(e,t)}if("function"!=typeof e)throw new Error(Qd(2));var a=e,o=t,i=[],s=i,l=!1;function u(){s===i&&(s=i.slice())}function c(){if(l)throw new Error(Qd(3));return o}function d(e){if("function"!=typeof e)throw new Error(Qd(4));if(l)throw new Error(Qd(5));var t=!0;return u(),s.push(e),function(){if(t){if(l)throw new Error(Qd(6));t=!1,u();var r=s.indexOf(e);s.splice(r,1),i=null}}}function f(e){if(!nf(e))throw new Error(Qd(7));if(void 0===e.type)throw new Error(Qd(8));if(l)throw new Error(Qd(9));try{l=!0,o=a(o,e)}finally{l=!1}for(var t=i=s,r=0;r<t.length;r++){(0,t[r])()}return e}return f({type:rf.INIT}),(n={dispatch:f,subscribe:d,getState:c,replaceReducer:function(e){if("function"!=typeof e)throw new Error(Qd(10));a=e,f({type:rf.REPLACE})}})[ef]=function(){var e,t=d;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(Qd(11));function r(){e.next&&e.next(c())}return r(),{unsubscribe:t(r)}}})[ef]=function(){return this},e},n}function of(e,t){return function(){return t(e.apply(this,arguments))}}var sf=i(2022),lf=i.n(sf);function uf(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function cf(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=uf(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=uf(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const df=ma()({programId:void 0,programTheme:void 0,isLoading:!0,isErrored:!1,viewModel:void 0,previousViewModel:void 0,previousVerificationResponse:void 0,verificationResponse:void 0,fieldValidationErrors:Do(),messages:void 0,orgList:void 0,formValidationOptions:{}}),ff=()=>oe(df),mf=(e=ff(),t)=>{var r;switch(t.type){case"PROGRAM_ID":return Vd("programId",t.programId),cf(cf({},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)?ha()(t=e.errorIds).call(t).join(","):void 0;Bd(e.currentStep,r)}catch(e){he.warn("Failed recordVerificationResponse event",e)}})(t.verificationResponse),cf(cf({},e),{},{previousVerificationResponse:n,previousViewModel:e.viewModel,verificationResponse:t.verificationResponse});case"SET_MESSAGES":return cf(cf({},e),{},{messages:t.messages});case"FIELD_VALIDATION_ERRORS":return cf(cf({},e),{},{fieldValidationErrors:t.fieldValidationErrors});case"VIEW_MODEL":const a=cf({},e);if(t.viewModel&&(t.partial?a.viewModel=se({},e.viewModel,t.viewModel):a.viewModel=cf({},t.viewModel)),t.viewModel&&t.viewModel.metadata){kd(t.viewModel.metadata);const e=Pd();a.viewModel.metadata=e}return((e,t)=>{try{t.verificationResponse.currentStep===ve.docUpload&&void 0===e.viewModel.file1&&void 0!==t.viewModel.file1&&Bd(ve.docUpload,"addFiles")}catch(e){he.warn("Failed addFiles event",e)}})(e,a),a;case"PRE_LOAD_ORGS":return cf(cf({},e),{},{orgList:t.orgList});case"PREVIOUS_VIEW_MODEL":return cf(cf({},e),{},{previousViewModel:t.previousViewModel});case"PROGRAM_THEME":return Vd("isTest",t.programTheme.isTestMode?Fd.TRUE:Fd.FALSE),cf(cf({},e),{},{programTheme:t.programTheme});case"FORM_VALIDATION_OPTIONS":return cf(cf({},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(!Ho()(be).call(be,e.verificationResponse.currentStep))return e;const o=Ra(e.programTheme),i=Pd();return cf(cf({},e),{},{overrideStep:o.enabled&&!lf()(r=o.requiredKeys||[]).call(r,(e=>i.hasOwnProperty(e)))?"missingRequiredMetadata":void 0});case"IS_LOADING":return cf(cf({},e),{},{isLoading:t.isLoading,loadingStep:t.isLoading?t.loadingStep:void 0});case"IS_ERRORED":return cf(cf({},e),{},{isErrored:t.isErrored});case"RESET_STATE":return cf(cf({},oe(ff())),{},{programId:e.programId});case"FORCE_UPDATE":return oe(e);default:return e}};let pf;const hf=()=>(pf||(pf=af(mf,window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__()),he.init(pf)),pf),gf=hf(),vf=(e,t={partial:!0})=>{const r=gf.getState(),n=()=>{const r=oe(e);he.info("Setting viewModel",r),Wd(gf.dispatch)(r,t.partial)},a=ie((()=>e.localeChoice.value));a&&Cn({locale:a}),r.isLoading?bd({name:"ON_VERIFICATION_READY",callback:()=>{n()}}):n()};var yf=i(6937),bf=i.n(yf);function Ef(e,t){return Ef=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ef(e,t)}function Sf(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ef(e,t)}var wf=q.createContext(null);var Mf=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}Sf(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||wf;return q.createElement(e.Provider,{value:this.state},this.props.children)},t}(q.Component);Mf.propTypes={store:He().shape({subscribe:He().func.isRequired,dispatch:He().func.isRequired,getState:He().func.isRequired}),context:He().object,children:He().any};const Cf=Mf;function If(){return If=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},If.apply(this,arguments)}function Nf(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}var Df=i(5996);function Tf(e,t){void 0===t&&(t={});var r=t,n=r.getDisplayName,a=void 0===n?function(e){return"ConnectAdvanced("+e+")"}:n,o=r.methodName,i=void 0===o?"connectAdvanced":o,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?wf:v,b=Nf(r,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);Ge()(void 0===l,"renderCountProp is removed. render counting is built into the latest React dev tools profiling extension"),Ge()(!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";Ge()("store"===f,"storeKey has been removed and does not do anything. "+E);var S=y;return function(t){var r=t.displayName||t.name||"Component",n=a(r),o=If({},b,{getDisplayName:a,methodName:i,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,o,i,l,u,c,d,m,p,h;return n=r.call(this,t)||this,Ge()(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&&o===t)return i;n===l&&u===d||(l=n,u=d,c=e(n.dispatch,d)),a=r,o=t;var f=c(t,r);return i=f},n.selectChildElement=function(e,t,r){return t===d&&r===m&&h===e||(d=t,m=r,h=e,p=q.createElement(e,If({},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}Sf(a,r);var i=a.prototype;return i.indirectRenderWrappedComponent=function(e){return this.renderWrappedComponent(e)},i.renderWrappedComponent=function(e){Ge()(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,i=e.store,s=this.props;g&&(s=this.props.wrapperProps,r=this.props.forwardedRef);var l=this.selectDerivedProps(a,s,i,o);return this.selectChildElement(t,l,r)},i.render=function(){var e=this.props.context&&this.props.context.Consumer&&(0,Df.isContextConsumer)(q.createElement(this.props.context.Consumer,null))?this.props.context:S;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,qe()(m,t)}return qe()(d,t)}}var Af=Object.prototype.hasOwnProperty;function xf(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function _f(e,t){if(xf(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(!Af.call(t,r[a])||!xf(e[r[a]],t[r[a]]))return!1;return!0}function Of(e){return function(t,r){var n=e(t,r);function a(){return n}return a.dependsOnOwnProps=!1,a}}function kf(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function Pf(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=kf(e);var a=n(t,r);return"function"==typeof a&&(n.mapToProps=a,n.dependsOnOwnProps=kf(a),a=n(t,r)),a},n}}const Rf=[function(e){return"function"==typeof e?Pf(e):void 0},function(e){return e?void 0:Of((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?Of((function(t){return function(e,t){if("function"==typeof e)return of(e,t);if("object"!=typeof e||null===e)throw new Error(Qd(16));var r={};for(var n in e){var a=e[n];"function"==typeof a&&(r[n]=of(a,t))}return r}(e,t)})):void 0}];const Ff=[function(e){return"function"==typeof e?Pf(e):void 0},function(e){return e?void 0:Of((function(){return{}}))}];function Lf(e,t,r){return If({},r,e,t)}const Uf=[function(e){return"function"==typeof e?function(e){return function(t,r){r.displayName;var n,a=r.pure,o=r.areMergedPropsEqual,i=!1;return function(t,r,s){var l=e(t,r,s);return i?a&&o(l,n)||(n=l):(i=!0,n=l),n}}}(e):void 0},function(e){return e?void 0:function(){return Lf}}];function Bf(e,t,r,n){return function(a,o){return r(e(a,o),t(n,o),o)}}function Vf(e,t,r,n,a){var o,i,s,l,u,c=a.areStatesEqual,d=a.areOwnPropsEqual,f=a.areStatePropsEqual,m=!1;function p(a,m){var p,h,g=!d(m,i),v=!c(a,o);return o=a,i=m,g&&v?(s=e(o,i),t.dependsOnOwnProps&&(l=t(n,i)),u=r(s,l,i)):g?(e.dependsOnOwnProps&&(s=e(o,i)),t.dependsOnOwnProps&&(l=t(n,i)),u=r(s,l,i)):v?(p=e(o,i),h=!f(p,s),s=p,h&&(u=r(s,l,i)),u):u}return function(a,c){return m?p(a,c):(s=e(o=a,i=c),l=t(n,i),u=r(s,l,i),m=!0,u)}}function jf(e,t){var r=t.initMapStateToProps,n=t.initMapDispatchToProps,a=t.initMergeProps,o=Nf(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),i=r(e,o),s=n(e,o),l=a(e,o);return(o.pure?Vf:Bf)(i,s,l,e,o)}function zf(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 Hf(e,t){return e===t}const $f=(Gf=(Wf=void 0===qf?{}:qf).connectHOC,Yf=void 0===Gf?Tf:Gf,Kf=Wf.mapStateToPropsFactories,Zf=void 0===Kf?Ff:Kf,Jf=Wf.mapDispatchToPropsFactories,Xf=void 0===Jf?Rf:Jf,Qf=Wf.mergePropsFactories,em=void 0===Qf?Uf:Qf,tm=Wf.selectorFactory,rm=void 0===tm?jf:tm,function(e,t,r,n){void 0===n&&(n={});var a=n,o=a.pure,i=void 0===o||o,s=a.areStatesEqual,l=void 0===s?Hf:s,u=a.areOwnPropsEqual,c=void 0===u?_f:u,d=a.areStatePropsEqual,f=void 0===d?_f:d,m=a.areMergedPropsEqual,p=void 0===m?_f:m,h=Nf(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),g=zf(e,Zf,"mapStateToProps"),v=zf(t,Xf,"mapDispatchToProps"),y=zf(r,em,"mergeProps");return Yf(rm,If({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:g,initMapDispatchToProps:v,initMergeProps:y,pure:i,areStatesEqual:l,areOwnPropsEqual:c,areStatePropsEqual:f,areMergedPropsEqual:p},h))});var qf,Wf,Gf,Yf,Kf,Zf,Jf,Xf,Qf,em,tm,rm,nm=i(7373),am=i.n(nm);const om=({id:e="new",isErrored:t,onChange:r,value:n,ariaLabelledby:a})=>{const o=a?{"aria-labelledby":a}:{},i=(0,q.useRef)(null),s=()=>{i.current&&r(i.current.checked)};return(0,q.useEffect)((()=>{Ks("optIn",i.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:i,onChange:e=>r(e.target.checked),"aria-hidden":!0}),q.createElement("span",Po({},o,{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"})))},im=({isErrored:e,isRequired:t,onChange:r,value:n,verificationService:a})=>{const o="marketConsentValue",i=q.useCallback((e=>{if(t&&!e)return"marketConsentRequired"}),[t]),s=(a&&a.programTheme&&Fa(a.programTheme)||{}).message||"Yes, send me {company} marketing communications about exclusive sales, special offers, latest products and more";return q.useEffect((()=>{Ur(o,i)}),[o,i]),q.useEffect((()=>{Ur(o,i)}),[o,i]),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(om,{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)))},sm=({verificationService:e,isErrored:t,onChange:r,viewModel:n})=>{const{programTheme:a}=e,o=Fa(a);return o.enabled?q.createElement(im,{isErrored:t,isRequired:o.required,verificationService:e,value:n.metadata&&n.metadata.marketConsentValue||!1,onChange:e=>r(e)}):null},lm=({verificationService:e,fallbackLogo:t})=>{const r=Ba(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 um=i(8714),cm=i.n(um);const dm=Rt((({value:e,isErrored:t,onChange:r,explanation:n,onCarrierConsentChange:a,intl:o,isRequired:i=!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)((()=>{Ks("phoneNumber",p.current)})),q.createElement("div",{className:"sid-field sid-phone-number"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(yl,{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:i},n||(i?"":q.createElement(or,{id:"phoneNumberExplanation",defaultMessage:"Optional - get text notifications of status updates"}))),q.createElement(q.Fragment,null,q.createElement(cm(),{country:m.toLowerCase(),containerClass:"react-tel-input sid-phone-number__wrapper",inputClass:`sid-text-input sid-phone-number__field sid-phone-number__field--intl ${i?"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(om,{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 fm=i(6777);const mm=({getItemProps:e,highlightedIndex:t,organizations:r,itemToString:n,children:a,maxItemsToDisplay:i=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)}},Mr()(s=o()(r).call(r,((e,t)=>t<=i-1))).call(s,((r,a)=>((r,a)=>q.createElement("div",Po({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 pm(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function hm(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=pm(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=pm(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const gm=({urlAddSchoolForm:e,programId:t,locale:r=en})=>q.createElement(pd,{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 vm extends q.Component{constructor(e){var t;super(e),t=this,b(this,"mounted",!1),b(this,"fetch",hr((function*(){const{orgSearchUrl:e,searchValue:r,countryCode:n,orgSearchTags:a}=t.props;t.mounted&&(yield aa(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,fm.debounce)(this.fetch,200)),this.state={isErrored:null,loading:!1,organizations:null}}reset(e){this.setState(hm(hm({},vm.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:o,itemToString:i,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(mm,{getItemProps:n,getMenuProps:a,highlightedIndex:o,itemToString:i,organizations:r},s&&!d&&c&&(!r||r.length<26)&&q.createElement(gm,{urlAddSchoolForm:c,programId:l,locale:u})):!s||d||!c||r&&0!==r.length?null:q.createElement("div",{className:"sid-organization-list__menu"},q.createElement(gm,{urlAddSchoolForm:c,programId:l,locale:u}))}}b(vm,"initialState",{isErrored:null,loading:!1,organizations:null});const ym=vm,bm=({onChange:e,programId:t,className:r,countryCode:n,disabled:a,minimumSearchValueLength:o,placeholder:i,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)([]);Zr(e);const b=e=>e?e.name:"",{isOpen:E,highlightedIndex:S,getMenuProps:w,getItemProps:M,getInputProps:C,getComboboxProps:I}=Gu({itemToString:b,id:l,items:v,onStateChange:t=>((e,t,r)=>{const n=e.hasOwnProperty("inputValue")&&e.type===Gu.stateChangeTypes.InputChange;if(e.type===Gu.stateChangeTypes.FunctionSelectItem){const{selectedItem:r}=e;t(r)}else n?t({id:0,name:e.inputValue}):e.type===Gu.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)((()=>{Ks("organization",D.current)})),q.createElement(q.Fragment,null,q.createElement("div",Po({className:"sid-organization-list"},I(N)),q.createElement("input",Po({},C({ref:D}),{className:`sid-l-full-width sid-hidden-placeholder sid-text-input ${r}`,disabled:a,id:l,placeholder:i,"aria-required":f})),q.createElement("div",w(),E?q.createElement(ym,{countryCode:n,getItemProps:M,highlightedIndex:S,itemToString:b,minimumSearchValueLength:o,onLoaded:e=>y(e),programId:t,searchValue:h,orgSearchUrl:c,orgSearchTags:d,locale:m,urlAddSchoolForm:p,openOrgSearchEnabled:u}):null)))},Em=Rt((({onChange:e,value:t,isErrored:r,verificationService:n,intl:a,placeholder:o="",isRequired:i=!0})=>{var s;const{programId:l,viewModel:u,verificationResponse:c}=n,d=xa(u,c),f=z()(s=wn().urlAddSchoolForm||"").call(s),m=ie((()=>n.viewModel.countryChoice.value)),p=Ya(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(yl,{text:q.createElement(or,{id:"schoolName",defaultMessage:"University / College name"}),htmlForLabel:"sid-college-name",id:"sid-college-name-label",displayClasses:o&&"sid-h-screen-reader-only"}),q.createElement(bm,{className:r?"sid-text-input--error":"",countryCode:m,minimumSearchValueLength:wn().minimumOrganizationSearchLength,onChange:t=>e(t),placeholder:o||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:i}),r?q.createElement("div",{className:"sid-field-error"},q.createElement(or,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)})),Sm=e=>{if(e)return e<10?`0${e}`:e.toString()};const wm=Rt((({onChange:e,intl:t,isErrored:r,isRequired:n=!0,value:a="2000-01-01",errorMsg:o,label:i,fieldName:s,fieldId:l,mode:u="date",locale:c=en})=>{const d=`sid-${l}`,f=a.split("-"),m=jc()(f[0],10)||void 0,p=jc()(f[1],10)||void 0,h="month"===u?1:jc()(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=jc()(t,10);"number"==typeof r&&r>=1&&r<=12?e(`${m}-${Sm(t)}-${Sm(h)}`):he.warn(`Value '${r}' is an invalid month`)},E=()=>{e(h||p||m?`${m}-${Sm(p)}-${Sm(h)}`:"")},S=`${d}__month`,w=`${d}-label`,M=q.createElement("div",{className:"sid-field-error"},o),C=q.createElement(Ju,{className:`${d}__month sid-date__month`,fieldId:s,inputId:S,fieldLabelId:w,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(vl,{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=jc()(t,10);"number"==typeof r&&r>=1&&r<=31?e(`${m}-${Sm(p)}-${Sm(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(yl,{text:i,htmlForLabel:S,id:w,displayClasses:"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(vl,{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=jc()(t,10);"number"==typeof r&&r>=1&&r<=g?e(`${r}-${Sm(p)}-${Sm(h)}`):he.warn(`Value '${r}' is an invalid year`)})(t.target.value),onBlur:E})),r?M:null)})),Mm=({onChange:e,isErrored:t,isRequired:r=!0,errorId:n,value:a="2000-01-01",locale:o=en})=>q.createElement(wm,{value:a,label:q.createElement(or,{id:"birthDate",defaultMessage:"Date of birth"}),onChange:e,fieldId:"birthdate",fieldName:"birthDate",isErrored:t,isRequired:r,locale:o,errorMsg:n?q.createElement(or,{id:`errorId.${n}`,defaultMessage:"Invalid birth date"}):q.createElement(or,{id:"errorId.invalidBirthDate",defaultMessage:"Invalid birth date"})});var Cm=i(249),Im=i.n(Cm),Nm=i(4649),Dm=i.n(Nm);const Tm=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=Im()(t)).call(r,(([e,t])=>{const r=n.querySelector(e);if(!r)return;let a;const o=r.innerHTML;if(a="function"==typeof t?t(o):t,a){if("string"==typeof a)r.insertAdjacentHTML("afterend",a);else{const e=Dm().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}})},Am=({verificationService:e,linkText:t})=>{const{segment:r}=e.verificationResponse,{programId:n,programTheme:a}=e;if(r){const r=Ga(a,0,n,xa(e.viewModel));return q.createElement(pd,{className:"sid-faq sid-link",href:r},t||q.createElement(or,{id:"getHelp",defaultMessage:"Get help"}))}return null},xm=({verificationService:e,children:t})=>{const{viewModel:r}=e,n=ie((()=>r.countryChoice.value),void 0),a=xa(r),o=q.useRef({}),i=/(<div[^>]+>|<div>|<\/div>)|(<span[^>]+>|<span>|<\/span>)|(<p[^>]+>|<p>|<\/p>)/gm;return q.useEffect((()=>{if(!o.current)return;const e=o.current.innerHTML.replace(i,"");vf({metadata:{submissionOptIn:e}})}),[o,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:o},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>."},Tm({privacyPolicy:t=>{const r=Va(e.programTheme);return r?q.createElement(pd,{className:"sid-privacy-policy sid-link",href:r},t):t},aboutSheerID:t=>q.createElement(Am,{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 _m=(e,t)=>{const r=e===ve.docUpload?"docUpload":"default",n={student:{default:fc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:fc.step.docUpload.howDoesVerifyingWorkDetails},teacher:{default:mc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:mc.step.docUpload.howDoesVerifyingWorkDetails},member:{default:pc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:pc.step.docUpload.howDoesVerifyingWorkDetails},military:{default:uc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:uc.step.docUpload.howDoesVerifyingWorkDetails},senior:{default:cc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:cc.step.docUpload.howDoesVerifyingWorkDetails},firstResponder:{default:lc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:lc.step.docUpload.howDoesVerifyingWorkDetails},medical:{default:hc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:hc.step.docUpload.howDoesVerifyingWorkDetails},age:{default:dc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:dc.step.docUpload.howDoesVerifyingWorkDetails},employment:{default:gc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:gc.step.personalInfo.howDoesVerifyingWorkDetails},identity:{default:yc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:yc.step.docUpload.howDoesVerifyingWorkDetails},licensedProfessional:{default:bc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:bc.step.docUpload.howDoesVerifyingWorkDetails},recentMover:{default:Ec.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:Ec.step.docUpload.howDoesVerifyingWorkDetails},lowIncome:{default:Sc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:Sc.step.docUpload.howDoesVerifyingWorkDetails}};$r(t);return ie((()=>n[t][r]),"-")},Om=({verificationService:e,initialVisibility:t=!1})=>{const[r,n]=(0,q.useState)(t),{segment:a}=e.verificationResponse,o=e.verificationResponse.currentStep,i=`${_m(o,a)}`;let s;const l=()=>{n(!0),clearTimeout(s)},u=()=>{s=ur()((()=>n(!1)))};return q.createElement("div",{className:"sid-how-verify-works",onMouseEnter:l,onMouseLeave:u},q.createElement("a",{href:"#",className:"sid-link","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.${o===ve.docUpload?"docUpload":"personalInfo"}.howDoesVerifyingWorkDetails`,defaultMessage:i,values:{companyName:e}})))," ",q.createElement(Am,{verificationService:e}))):null)},km=Rt((({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 o=cl(e.programTheme,r),i=ie((()=>xr("country").toUpperCase())),s=ml(o),{fieldValidationErrors:l}=e,u=o.length>1,[c,d]=q.useState(!0),f=r=>{const n=$s(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(c){d(!1);const t=e.viewModel.countryChoice?e.viewModel.countryChoice:s;f(t)}}),[c]),q.useEffect((()=>{const t=re()(o).call(o,(e=>"US"===e.value));if(!u&&!t){const t=e.viewModel.fieldsToSkipValidation?[...e.viewModel.fieldsToSkipValidation,"country"]:["country","address1","postalCode","state","city"];e.updateViewModel(pl(e.viewModel,"fieldsToSkipValidation",t))}}),[u]),q.useEffect((()=>{const t=$s(e.fieldValidationErrors,(t=>{t.country&&(t.country=ji("country",e.viewModel.countryChoice,e.formValidationOptions)),"postalCode"in e.viewModel&&e.viewModel.postalCode&&(t.postalCode=ji("postalCode",e.viewModel.postalCode,e.formValidationOptions))}));tl(t,e),(e=>{if(void 0!==e.viewModel.organization)el(eo.organization,e)})(e)}),[e.viewModel.countryChoice]),q.useEffect((()=>{const e=xl()(o).call(o,(e=>e.value===i));e&&f(e)}),[i]),u?q.createElement(Xu,{isRequired:!0,options:o,value:e.viewModel.countryChoice,isErrored:Boolean(l.country),onChange:function(){var t=hr((function*(t){const r=t?t.value:void 0;f(t),rl("country",r,e)}));return function(e){return t.apply(this,arguments)}}()}):null})),Pm=({verificationService:e})=>{const t=ie((()=>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},Rm=({fieldId:e,value:t,onChange:r,label:n,errorMessage:a})=>{const o=`sid-${hl(`${e}Label`)}`,i=()=>r(!t);return q.createElement("div",{className:`sid-field sid-${hl(e)}`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement("div",{className:"sid-checkbox-flex"},q.createElement(om,{id:hl(e),isErrored:!!a,value:t,onChange:i,ariaLabelledby:o}),q.createElement("div",{className:"sid-checkbox__label",onClick:i,onKeyPress:i,role:"button",tabIndex:0,id:o},n)),a&&q.createElement("div",{className:"sid-field-error"},a))},Fm=Rt((({config:e,verificationService:t,intl:r})=>{const n=ie((()=>t.viewModel.metadata[e.fieldId])),a=ie((()=>t.fieldValidationErrors[e.fieldId])),o=r=>{t.updateViewModel($s(t.viewModel,(t=>{t.metadata=t.metadata||{},t.metadata[e.fieldId]=r}))),t.updateFieldValidationErrors($s(t.fieldValidationErrors,(t=>{void 0===e.validate(r)&&delete t[e.fieldId]})))};switch(e.fieldType){case"text":return q.createElement(Sl,{fieldId:e.fieldId,value:`${n||""}`,onChange:o,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(Rm,{fieldId:e.fieldId,value:"boolean"==typeof n&&n,onChange:o,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}})),Lm=({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 Um(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function Bm(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Um(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Um(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Vm=({verificationService:e})=>{var t;const r=e.viewModel,{fieldValidationErrors:n}=e,a=e.verificationResponse,o=Cd(a),i=(t,n)=>{const a=Hs(r,(e=>{e[t]=n}));e.updateViewModel(a)},s=r.localeChoice.value;return q.createElement("div",{id:"sid-step-student-personal-info",className:"sid-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:e}),q.createElement(Pm,{verificationService:e}))),q.createElement(ac,{verificationService:e}),q.createElement(km,{verificationService:e}),q.createElement(Em,{value:e.viewModel.organization,verificationService:e,isErrored:!!n.organization,isRequired:!0,onChange:t=>{el(t,e),rl("organization",t,e)}}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:r.firstName,isErrored:!!n.firstName,onChange:t=>{i("firstName",t),rl("firstName",t,e)}}),q.createElement(Ml,{value:r.lastName,isErrored:!!n.lastName,onChange:t=>{i("lastName",t),rl("lastName",t,e)}})),q.createElement(Mm,{value:r.birthDate,isErrored:!!n.birthDate,errorId:n.birthDate,locale:s,isRequired:!0,onChange:t=>{i("birthDate",t),rl("birthDate",t,e)}}),q.createElement(Cl,{value:r.email,isErrored:!!n.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Personal or school email is fine"}),onChange:t=>{i("email",t),rl("email",t,e)},onKeyDown:e=>sl(e)}),e.programTheme.isSmsNotifierConfigured||e.programTheme.smsLoopEnabled?q.createElement(dm,{isRequired:!!e.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:t=>{i("phoneNumber",t),rl("phoneNumber",t,e)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,Mr()(t=wn().customFormFields).call(t,(t=>q.createElement(Fm,{config:t,verificationService:e}))),q.createElement(sm,{verificationService:e,isErrored:!!n.marketConsentValue,onChange:t=>{i("metadata",Bm(Bm({},e.viewModel.metadata),{},{marketConsentValue:t})),rl("marketConsentValue",t,e)},viewModel:r}),q.createElement(Lm,{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"},q.createElement("button",{id:"sid-submit-wrapper__collect-info",onClick:()=>ll(r,e,ve.collectStudentPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(r,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-label":"submit","aria-labelledby":"verify-status-text",ref:e=>Ks("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyStudentStatus",defaultMessage:"Verify My Student Status"}))))),q.createElement(xm,{verificationService:e}))},jm=({onChange:e,value:t,isValid:r,intl:n,placeholder:a="",ariaLabelledBy:o})=>q.createElement(vl,{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":o});jm.defaultProps={isValid:!0};const zm=Rt(jm),Hm=({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(yl,{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(zm,{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 $m(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function qm(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=$m(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=$m(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Wm=Rt((({verificationService:e})=>{var t;const r=e.viewModel,{fieldValidationErrors:n}=e,a=e.verificationResponse,o=Cd(a),i=r.localeChoice.value,s=(t,n)=>{const a=Hs(r,(e=>{e[t]=n}));e.updateViewModel(a)};return q.createElement("div",{id:"sid-step-senior-personal-info",className:"sid-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:e}),q.createElement(Pm,{verificationService:e}))),q.createElement(ac,{verificationService:e}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:r.firstName,isErrored:!!n.firstName,onChange:t=>{s("firstName",t),rl("firstName",t,e)}}),q.createElement(Ml,{value:r.lastName,isErrored:!!n.lastName,onChange:t=>{s("lastName",t),rl("lastName",t,e)}})),q.createElement(Mm,{isErrored:!!n.birthDate,errorId:n.birthDate,locale:i,onChange:t=>{s("birthDate",t),rl("birthDate",t,e)},value:r.birthDate}),q.createElement(Hm,{isErrored:!!n.postalCode,onChange:t=>{s("postalCode",t),rl("postalCode",t,e)},value:r.postalCode}),q.createElement(Cl,{value:r.email,isErrored:!!n.email,onChange:t=>{s("email",t),rl("email",t,e)},onKeyDown:e=>sl(e)}),e.programTheme.isSmsNotifierConfigured||e.programTheme.smsLoopEnabled?q.createElement(dm,{isRequired:!!e.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:t=>{s("phoneNumber",t),rl("phoneNumber",t,e)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,Mr()(t=wn().customFormFields).call(t,(t=>q.createElement(Fm,{config:t,verificationService:e}))),q.createElement(sm,{verificationService:e,isErrored:!!n.marketConsentValue,onChange:t=>{s("metadata",qm(qm({},e.viewModel.metadata),{},{marketConsentValue:t})),rl("marketConsentValue",t,e)},viewModel:r}),q.createElement(Lm,{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"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ll(r,e,ve.collectSeniorPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(r,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ks("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyAndContinue",defaultMessage:"Verify and continue"}))))),q.createElement(xm,{verificationService:e}))})),Gm=Rt((({value:e,isErrored:t,onChange:r,intl:n,isRequired:a=!1,onKeyDown:o,placeholder:i=""})=>q.createElement(Sl,{fieldId:"city",value:e,onChange:r,placeholder:i||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:!!i,required:a,onKeyDown:"function"==typeof o?e=>o(e):void 0}))),Ym=Rt((({value:e,isErrored:t,onChange:r,intl:n,isRequired:a=!1,onKeyDown:o,placeholder:i="",label:s,explanation:l=""})=>q.createElement(Sl,{fieldId:"address",value:e,onChange:r,placeholder:i||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:!!i,required:a,onKeyDown:"function"==typeof o?e=>o(e):void 0,explanation:l})));function Km(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}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=Rt((({verificationService:e,intl:t})=>{var r,n;const a=e.viewModel,{fieldValidationErrors:o}=e,i=e.verificationResponse,s=Cd(i),l=cl(e.programTheme,t),u=ml(l),{isSmsNotifierConfigured:c,smsLoopEnabled:f}=e.programTheme,m=ie((()=>a.countryChoice.value),u.value),p="US"===m?[{key:"postalCode"}]:[],h=a.localeChoice.value,[g,v]=q.useState(p);!o.phoneNumber&&i.errorIds&&Ho()(r=i.errorIds).call(r,"invalidPhoneNumber")&&e.updateFieldValidationErrors(Zm(Zm({},o),{},{phoneNumber:"invalidPhoneNumber"}));const y=(e,t)=>"US"!==e||t,b=(t,r)=>{const n=pl(a,t,r);e.updateViewModel(n)},E=(t,r)=>{const n=((e,t,r)=>Hs(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)},S=e=>re()(g).call(g,(t=>t.key===e));var w,M,C;w="phoneNumber",C=m,M=(e,t)=>{const r=t&&t.smsLoopEnabled||"US"!==C;return pi(r)(e)},he.log(`overrideValidator registering ${M} for '${w}'`),ei[w]=M,y(m,f)?Vr("carrierConsentValue")||Ur("carrierConsentValue",(e=>(t,r)=>{if((r&&r.smsLoopEnabled||"US"!==e)&&!t)return"invalidCarrierConsentValue"})(m)):Vr("carrierConsentValue")&&(e=>{delete Fr[e];const t=kr()(Lr).call(Lr,e);-1!==t?Rr()(Lr).call(Lr,t,1):he.error(`Custom validator for field '${e}' has not been removed.`,"removeCustomValidator")})("carrierConsentValue");return q.useEffect((()=>{hr((function*(){try{const e=yield cd(i.verificationId,i.currentStep,a),t=ie((()=>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-l-container"},s?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:e}),q.createElement(Pm,{verificationService:e}))),q.createElement(ac,{verificationService:e}),q.createElement(km,{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(wl,{value:a.firstName,isErrored:!!o.firstName,onChange:t=>{b("firstName",t),rl("firstName",t,e)}}),q.createElement(Ml,{value:a.lastName,isErrored:!!o.lastName,onChange:t=>{b("lastName",t),rl("lastName",t,e)}})),q.createElement(Mm,{isErrored:!!o.birthDate,errorId:o.birthDate,locale:h,onChange:t=>{b("birthDate",t),rl("birthDate",t,e)},value:a.birthDate}),S("city")&&q.createElement(Gm,{value:a.city,isRequired:!0,isErrored:!!o.city,errorId:o.city,onChange:t=>{b("city",t),rl("city",t,e)}}),S("address1")&&q.createElement(Ym,{value:a.address1,isRequired:!0,isErrored:!!o.address1,errorId:o.address1,onChange:t=>{b("address1",t),rl("address1",t,e)}}),S("postalCode")&&q.createElement(Hm,{isErrored:!!o.postalCode,onChange:t=>{b("postalCode",t),rl("postalCode",t,e)},value:a.postalCode}),q.createElement(Cl,{value:a.email,isErrored:!!o.email,onChange:t=>{b("email",t),rl("email",t,e)},onKeyDown:e=>sl(e)}),(y(m,f)||c)&&q.createElement(dm,{value:a.phoneNumber,isRequired:e.programTheme.smsLoopEnabled||"US"!==m,isErrored:!!o.phoneNumber,displaySmsConsent:c,onChange:t=>{b("phoneNumber",t),rl("phoneNumber",t,e)},errorId:o.phoneNumber,requireCarrierConsent:e.programTheme.smsLoopEnabled||"US"!==m,onCarrierConsentChange:t=>{b("metadata",Zm(Zm({},e.viewModel.metadata),{},{carrierConsentValue:t})),rl("carrierConsentValue",t,e)},carrierConsent:Boolean(a.metadata&&a.metadata.carrierConsentValue),selectedCountryCode:a.countryChoice&&a.countryChoice.value}),Mr()(n=wn().customFormFields).call(n,(t=>q.createElement(Fm,{config:t,verificationService:e}))),q.createElement(sm,{verificationService:e,isErrored:!!o.marketConsentValue,onChange:t=>{b("metadata",Zm(Zm({},e.viewModel.metadata),{},{marketConsentValue:t})),rl("marketConsentValue",t,e)},viewModel:a}),q.createElement(Lm,{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"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ll(a,e,ve.collectAgePersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(a,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ks("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(xm,{verificationService:e}))})),Xm=Rt((({value:e,isErrored:t,onChange:r,verificationService:n,intl:a,placeholder:o=""})=>{var i;const{programId:s,viewModel:l,verificationResponse:u}=n,c="sid-teacher-school",d=xa(l,u),f=z()(i=wn().urlAddSchoolForm||"").call(i),m=ie((()=>n.viewModel.countryChoice.value)),p=Ya(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(yl,{text:q.createElement(or,{id:"schoolName",defaultMessage:"School name"}),htmlForLabel:c,id:`${c}-label`,displayClasses:o&&"sid-h-screen-reader-only"}),q.createElement(bm,{className:t?"sid-text-input--error":"",countryCode:m,onChange:e=>r(e),minimumSearchValueLength:wn().minimumOrganizationSearchLength,placeholder:o||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 Qm(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function ep(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Qm(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Qm(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const tp=({verificationService:e})=>{var t;const r=e.viewModel,{fieldValidationErrors:n}=e,a=e.verificationResponse,o=Cd(a),i=r.localeChoice.value,s=(t,n)=>{const a=Hs(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-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:e}),q.createElement(Pm,{verificationService:e}))),q.createElement(ac,{verificationService:e}),q.createElement(km,{verificationService:e}),q.createElement(Xm,{value:e.viewModel.organization,verificationService:e,isErrored:!!n.organization,onChange:t=>{el(t,e),rl("organization",t,e)}}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:r.firstName,isErrored:!!n.firstName,onChange:t=>{s("firstName",t),rl("firstName",t,e)}}),q.createElement(Ml,{value:r.lastName,isErrored:!!n.lastName,onChange:t=>{s("lastName",t),rl("lastName",t,e)}})),e.programTheme.idCheckAddOnEnabled?q.createElement(Mm,{isErrored:!!n.birthDate,errorId:n.birthDate,locale:i,onChange:t=>{s("birthDate",t),rl("birthDate",t,e)},value:r.birthDate}):null,q.createElement(Cl,{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),rl("email",t,e)},onKeyDown:e=>sl(e)}),e.programTheme.isSmsNotifierConfigured||e.programTheme.smsLoopEnabled?q.createElement(dm,{isRequired:!!e.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:t=>{s("phoneNumber",t),rl("phoneNumber",t,e)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,((e,t)=>ie((()=>e.openOrgSearchEnabled))&&0===ie((()=>t.organization.id))&&ie((()=>t.organization.name),"").length>0)(e.programTheme,r)?q.createElement(Hm,{isErrored:!!n.postalCode,onChange:t=>{s("postalCode",t),rl("postalCode",t,e)},value:r.postalCode}):null,Mr()(t=wn().customFormFields).call(t,(t=>q.createElement(Fm,{config:t,verificationService:e}))),q.createElement(sm,{verificationService:e,isErrored:!!n.marketConsentValue,onChange:t=>{s("metadata",ep(ep({},e.viewModel.metadata),{},{marketConsentValue:t})),rl("marketConsentValue",t,e)},viewModel:r}),q.createElement(Lm,{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"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ll(r,e,ve.collectTeacherPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(r,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ks("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyTeacherStatus",defaultMessage:"Verify My Teacher Status"}))))),q.createElement(xm,{verificationService:e}))},rp=Rt((({value:e,isErrored:t,onChange:r,explanation:n,intl:a,placeholder:o="",isRequired:i=!1,label:s})=>q.createElement("div",{className:"sid-field sid-member-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(yl,{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${o&&" sid-h-screen-reader-only"}`,isRequired:i},n||(i?"":q.createElement(or,{id:"optional",defaultMessage:"Optional"}))),q.createElement(vl,{id:"member-id",isErrored:t,onChange:e=>r(e.target.value),placeholder:o||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))),np=Rt((({value:e,isErrored:t,onChange:r,verificationService:n,intl:a,placeholder:o=""})=>{const{programId:i}=n;return q.createElement("div",{className:"sid-field sid-membership-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(yl,{text:q.createElement(or,{id:"organization",defaultMessage:"Organization"}),htmlForLabel:"sid-membership",id:"sid-membership-label",displayClasses:o&&"sid-h-screen-reader-only"}),q.createElement(bm,{className:t?"sid-text-input--error":"",countryCode:ie((()=>n.viewModel.countryChoice.value)),onChange:e=>r(e),minimumSearchValueLength:wn().minimumOrganizationSearchLength,placeholder:o||a.formatHTMLMessage({id:"organizationNamePlaceholder",defaultMessage:"Organization"}),programId:i,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 ap(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function op(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 ip=({verificationService:e})=>{var t;const r=e.viewModel,{fieldValidationErrors:n}=e,a=e.verificationResponse,o=Cd(a),i=r.localeChoice.value,s=(t,n)=>{const a=Hs(r,(e=>{e[t]=n}));e.updateViewModel(a)};return q.createElement("div",{id:"sid-step-member-personal-info",className:"sid-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:e}),q.createElement(Pm,{verificationService:e}))),q.createElement(ac,{verificationService:e}),q.createElement(km,{verificationService:e}),q.createElement(np,{value:e.viewModel.organization,verificationService:e,isErrored:!!n.organization,onChange:t=>{el(t,e),rl("organization",t,e)}}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:r.firstName,isErrored:!!n.firstName,onChange:t=>{s("firstName",t),rl("firstName",t,e)}}),q.createElement(Ml,{value:r.lastName,isErrored:!!n.lastName,onChange:t=>{s("lastName",t),rl("lastName",t,e)}})),q.createElement(Cl,{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),rl("email",t,e)},onKeyDown:e=>sl(e)}),q.createElement(Mm,{isErrored:!!n.birthDate,errorId:n.birthDate,locale:i,isRequired:!1,onChange:t=>{s("birthDate",t),rl("birthDate",t,e)},value:r.birthDate}),q.createElement(rp,{value:r.memberId,isErrored:!!n.memberId,isRequired:!1,onChange:t=>{s("memberId",t),rl("memberId",t,e)}}),e.programTheme.isSmsNotifierConfigured||e.programTheme.smsLoopEnabled?q.createElement(dm,{isRequired:!!e.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:t=>{s("phoneNumber",t),rl("phoneNumber",t,e)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,Mr()(t=wn().customFormFields).call(t,(t=>q.createElement(Fm,{config:t,verificationService:e}))),q.createElement(sm,{verificationService:e,isErrored:!!n.marketConsentValue,onChange:t=>{s("metadata",op(op({},e.viewModel.metadata),{},{marketConsentValue:t})),rl("marketConsentValue",t,e)},viewModel:r}),q.createElement(Lm,{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"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ll(r,e,ve.collectMemberPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(r,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ks("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyMembershipStatus",defaultMessage:"Verify My Membership Status"}))))),q.createElement(xm,{verificationService:e}))},sp=Rt((({value:e,isErrored:t,errorId:r="invalidStatus",options:n,onChange:a,intl:o,placeholder:i="",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(yl,{text:q.createElement(or,{id:"status",defaultMessage:"Status"}),htmlForLabel:u,id:`${u}-label`,displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(Ju,{fieldId:"status",inputId:u,fieldLabelId:`${u}-label`,isErrored:t,options:n,onChange:e=>a(e),onKeyDown:s,value:xl()(n).call(n,(t=>t.value===(e&&e.value))),placeholder:i||o.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)})),lp=(e,t)=>{let r;try{r=e.label.toUpperCase()>t.label.toUpperCase()?1:-1}catch(e){r=1}return r},up=e=>({value:e.id,label:e.name,country:e.country}),cp=(e,t,r,n)=>{const a=r.viewModel;return $s(a,(r=>{r[e]=t,n||(r.fieldsToSkipValidation=["status"]),"status"===e&&(r.organization={id:0,name:""})}))},dp=Rt((({autoFocus:e,onChange:t,value:r,isErrored:n,organizations:a,verificationService:i,intl:s,placeholder:l=""})=>{let u=[];const{status:c}=i.viewModel,d=i.viewModel,f="sid-branch-of-service",{countryChoice:m}=d;if(a){let e;e=o()(a).call(a,(e=>t=>"VETERAN"===e?!!t.name:"RESERVIST"===e?Ho()(Te).call(Te,t.name):!Ho()(Te).call(Te,t.name))(c)),m&&(e=o()(a).call(a,(e=>e.country===m.value))),u=Mr()(e).call(e,up)}return q.createElement("div",{className:`sid-field ${f}-id`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(yl,{text:q.createElement(or,{id:"branchOfService",defaultMessage:"Branch Of Service"}),htmlForLabel:f,id:`${f}-label`,displayClasses:l&&"sid-h-screen-reader-only"}),q.createElement(Ju,{autoFocus:e,fieldId:"organization",inputId:f,fieldLabelId:`${f}-label`,isErrored:n,options:(p=u,ha()(p).call(p,lp)),onChange:e=>((e,t)=>{t(e?{id:e.value,name:e.label}:{id:0,name:""})})(e,t),value:xl()(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})),fp=({onChange:e,isErrored:t,errorId:r="invalidActiveDutyStartDate",value:n="2000-01-01",locale:a=en})=>q.createElement(wm,{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 mp(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function pp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=mp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=mp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const hp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,a=t.previousViewModel,{fieldValidationErrors:o}=t,i=t.verificationResponse,s=Cd(i),{status:l}=t.viewModel,u=ol(t,e),c=n.localeChoice.value,d=(e,r)=>{t.updateViewModel(cp(e,r,t,u))};return(n.status&&a&&a.status!==n.status||n.status&&t.verificationResponse.currentStep===ve.collectMilitaryStatus)&&(()=>{const e=Hs(n,(()=>{}));he.info("StepMilitaryStatusComponent submitting form"),t.submitStep(ve.collectMilitaryStatus,e,t.previousVerificationResponse||t.verificationResponse)})(),Xs(),q.createElement("div",{id:"sid-step-active-military-personal-info",className:"sid-l-container"},s?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:t}),q.createElement(Pm,{verificationService:t}))),q.createElement(ac,{verificationService:t}),q.createElement(km,{verificationService:t}),u?q.createElement(sp,{segmentId:"military",value:{value:n.status,label:al(e,n.status,De)},isErrored:!!o.status,errorId:"invalidMilitaryStatus",options:u,onChange:e=>{d("status",e?e.value:""),rl("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(dp,{isErrored:!!o.organization,onChange:e=>{el(e,t),rl("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(wl,{value:n.firstName,isErrored:!!o.firstName,onChange:e=>{d("firstName",e),rl("firstName",e,t)}}),q.createElement(Ml,{value:n.lastName,isErrored:!!o.lastName,onChange:e=>{d("lastName",e),rl("lastName",e,t)}})),q.createElement(Mm,{isErrored:!!o.birthDate,errorId:o.birthDate,locale:c,onChange:e=>{d("birthDate",e),rl("birthDate",e,t)},value:n.birthDate}),t.programTheme.strictMilitaryValidationEnabled&&q.createElement(fp,{isErrored:!!o.activeDutyStartDate,errorId:o.activeDutyStartDate,locale:c,onChange:e=>{d("activeDutyStartDate",e),rl("activeDutyStartDate",e,t)},value:n.activeDutyStartDate}),q.createElement(Cl,{value:n.email,isErrored:!!o.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Personal email address is recommended"}),onChange:e=>{d("email",e),rl("email",e,t)},onKeyDown:e=>sl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(dm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!o.phoneNumber,onChange:e=>{d("phoneNumber",e),rl("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,Mr()(r=wn().customFormFields).call(r,(e=>q.createElement(Fm,{config:e,verificationService:t}))),q.createElement(sm,{verificationService:t,isErrored:!!o.marketConsentValue,onChange:e=>{d("metadata",pp(pp({},t.viewModel.metadata),{},{marketConsentValue:e})),rl("marketConsentValue",e,t)},viewModel:n}),q.createElement(Lm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ll(n,t,ve.collectActiveMilitaryPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ks("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(xm,{verificationService:t}))})),gp=({onChange:e,isErrored:t,value:r="2000-01-01"})=>q.createElement(wm,{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 vp(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function yp(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 bp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,a=t.previousViewModel,{fieldValidationErrors:o}=t,i=t.verificationResponse,s=Cd(i),l=ol(t,e),u=n.localeChoice.value,c=(e,r)=>{t.updateViewModel(cp(e,r,t,l))};return(n.status&&a&&a.status!==n.status||n.status&&t.verificationResponse.currentStep===ve.collectMilitaryStatus)&&(()=>{const e=Hs(n,(()=>{}));he.info("StepMilitaryStatusComponent submitting form"),t.submitStep(ve.collectMilitaryStatus,e,t.previousVerificationResponse||t.verificationResponse)})(),Xs(),q.createElement("div",{id:"sid-step-inactive-military-personal-info",className:"sid-l-container"},s?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:t}),q.createElement(Pm,{verificationService:t}))),q.createElement(ac,{verificationService:t}),q.createElement(km,{verificationService:t}),l?q.createElement(sp,{segmentId:"military",value:{value:n.status,label:al(e,n.status,De)},isErrored:!!o.status,errorId:"invalidMilitaryStatus",options:l,onChange:e=>{c("status",e?e.value:""),rl("status",e?e.value:"",t)}}):null,q.createElement(dp,{isErrored:!!o.organization,onChange:e=>{el(e,t),rl("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(wl,{value:n.firstName,isErrored:!!o.firstName,onChange:e=>{c("firstName",e),rl("firstName",e,t)}}),q.createElement(Ml,{value:n.lastName,isErrored:!!o.lastName,onChange:e=>{c("lastName",e),rl("lastName",e,t)}})),q.createElement(Mm,{isErrored:!!o.birthDate,errorId:o.birthDate,locale:u,onChange:e=>{c("birthDate",e),rl("birthDate",e,t)},value:n.birthDate}),t.programTheme.strictMilitaryValidationEnabled&&q.createElement(fp,{isErrored:!!o.activeDutyStartDate,locale:u,onChange:e=>{c("activeDutyStartDate",e),rl("activeDutyStartDate",e,t)},value:n.activeDutyStartDate}),q.createElement(gp,{isErrored:!!o.dischargeDate,onChange:e=>{c("dischargeDate",e),rl("dischargeDate",e,t)},value:n.dischargeDate}),q.createElement(Cl,{value:n.email,isErrored:!!o.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Personal email address is recommended"}),onChange:e=>{c("email",e),rl("email",e,t)},onKeyDown:e=>sl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(dm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!o.phoneNumber,onChange:e=>{c("phoneNumber",e),rl("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,Mr()(r=wn().customFormFields).call(r,(e=>q.createElement(Fm,{config:e,verificationService:t}))),q.createElement(sm,{verificationService:t,isErrored:!!o.marketConsentValue,onChange:e=>{c("metadata",yp(yp({},t.viewModel.metadata),{},{marketConsentValue:e})),rl("marketConsentValue",e,t)},viewModel:n}),q.createElement(Lm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ll(n,t,ve.collectInactiveMilitaryPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ks("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(xm,{verificationService:t}))})),Ep=Rt((({onChange:e,value:t,isErrored:r,verificationService:n,intl:a,placeholder:o=""})=>{const{programId:i}=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(yl,{text:q.createElement(or,{id:"organization",defaultMessage:"Organization"}),htmlForLabel:s,id:`${s}-label`,displayClasses:o&&"sid-h-screen-reader-only"}),q.createElement(bm,{className:r?"sid-text-input--error":"",countryCode:ie((()=>n.viewModel.countryChoice.value)),minimumSearchValueLength:wn().minimumOrganizationSearchLength,onChange:t=>e(t),placeholder:o||a.formatHTMLMessage({id:"organizationPlaceholder",defaultMessage:"Organization"}),programId:i,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 Sp(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function wp(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 Mp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,o=t.verificationResponse,i=Cd(o),s=n.localeChoice.value,l=(e,r)=>{const a=Hs(n,(t=>{t[e]=r}));t.updateViewModel(a)},u=ie((()=>t.programTheme.openOrgSearchEnabled))&&0===ie((()=>n.organization.id))&&ie((()=>n.organization.name),"").length>0;return u?n.postalCode=n.postalCode?n.postalCode:"":(n.postalCode||""===n.postalCode)&&(delete n.postalCode,rl("postalCode",void 0,t)),q.createElement("div",{id:"sid-step-active-first-responder-personal-info",className:"sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:t}),q.createElement(Pm,{verificationService:t}))),q.createElement(ac,{verificationService:t}),q.createElement(km,{verificationService:t}),q.createElement(sp,{segmentId:"first-responder",value:{value:n.status,label:al(e,n.status,Ae)},isErrored:!!a.status,errorId:"invalidFirstResponderStatus",options:(()=>{const r=t.verificationResponse.availableStatuses,n=[];return d()(r).call(r,(t=>{n.push({value:t,label:al(e,t,Ae)})})),n})(),onChange:e=>{l("status",e?e.value:""),rl("status",e?e.value:"",t)}}),q.createElement(Ep,{isErrored:!!a.organization,onChange:e=>{el(e,t),rl("organization",e,t)},value:t.viewModel.organization,verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{l("firstName",e),rl("firstName",e,t)}}),q.createElement(Ml,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{l("lastName",e),rl("lastName",e,t)}})),q.createElement(Mm,{isErrored:!!a.birthDate,errorId:a.birthDate,locale:s,onChange:e=>{l("birthDate",e),rl("birthDate",e,t)},value:n.birthDate}),q.createElement(Cl,{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),rl("email",e,t)},onKeyDown:e=>sl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(dm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{l("phoneNumber",e),rl("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,u?q.createElement(Hm,{isErrored:!!a.postalCode,onChange:e=>{l("postalCode",e),rl("postalCode",e,t)},value:n.postalCode}):null,Mr()(r=wn().customFormFields).call(r,(e=>q.createElement(Fm,{config:e,verificationService:t}))),q.createElement(sm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{l("metadata",wp(wp({},t.viewModel.metadata),{},{marketConsentValue:e})),rl("marketConsentValue",e,t)},viewModel:n}),q.createElement(Lm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ll(n,t,ve.collectFirstResponderPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ks("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyFirstResponderStatus",defaultMessage:"Verify My First Responder Status"}))))),q.createElement(xm,{verificationService:t}))})),Cp=Rt((({onChange:e,value:t,isErrored:r,verificationService:n,intl:a,placeholder:o=""})=>{const{programId:i}=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(yl,{text:q.createElement(or,{id:"organization",defaultMessage:"Organization"}),htmlForLabel:s,id:`${s}-label`,displayClasses:o&&"sid-h-screen-reader-only"}),q.createElement(bm,{className:r?"sid-text-input--error":"",countryCode:ie((()=>n.viewModel.countryChoice.value)),minimumSearchValueLength:wn().minimumOrganizationSearchLength,onChange:t=>e(t),placeholder:o||a.formatHTMLMessage({id:"organizationPlaceholder",defaultMessage:"Organization"}),programId:i,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 Ip(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function Np(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Ip(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Ip(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Dp={AT:"gbrNummer",ES:"numeroColegiado",DK:"autorisationsId",CH:"globalLocationNumber",IE:"registrationNumber",GB:"registrationNumber"},Tp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,o=t.verificationResponse,i=Cd(o),[s,l]=q.useState(void 0),[u,c]=q.useState(!1),f=n.localeChoice.value,m=(e,r)=>{const a=pl(n,e,r);t.updateViewModel(a)};return q.useEffect((()=>{hr((function*(){if(n.country&&n.status)try{const e=yield cd(o.verificationId,o.currentStep,n),t=ie((()=>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=Dp[n.country]?Dp[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-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:t}),q.createElement(Pm,{verificationService:t}))),q.createElement(ac,{verificationService:t}),q.createElement(km,{verificationService:t}),q.createElement(sp,{segmentId:"medical",value:{value:n.status,label:al(e,n.status,xe)},isErrored:!!a.status,options:(()=>{const t=o.availableStatuses,r=[];return d()(t).call(t,(t=>{r.push({value:t,label:al(e,t,xe)})})),r})(),onChange:e=>{m("status",e?e.value:""),rl("status",e?e.value:"",t)}}),q.createElement(Cp,{isErrored:!!a.organization,onChange:e=>{el(e,t),rl("organization",e,t)},value:t.viewModel.organization,verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{m("firstName",e),rl("firstName",e,t)}}),q.createElement(Ml,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{m("lastName",e),rl("lastName",e,t)}})),q.createElement(Mm,{isErrored:!!a.birthDate,errorId:a.birthDate,locale:f,onChange:e=>{m("birthDate",e),rl("birthDate",e,t)},value:n.birthDate}),q.createElement(Hm,{isErrored:!!a.postalCode,onChange:e=>{m("postalCode",e),rl("postalCode",e,t)},value:n.postalCode,explanation:q.createElement(or,{id:"postalCodeExplanation",defaultMessage:"Use the location on file with your licensing body"})}),q.createElement(Cl,{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),rl("email",e,t)},onKeyDown:e=>sl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(dm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{m("phoneNumber",e),rl("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,u&&q.createElement(rp,{value:n.memberId,isErrored:!!a.memberId,isRequired:!1,onChange:e=>{m("memberId",e),rl("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"})}),Mr()(r=wn().customFormFields).call(r,(e=>q.createElement(Fm,{config:e,verificationService:t}))),q.createElement(sm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{m("metadata",Np(Np({},t.viewModel.metadata),{},{marketConsentValue:e})),rl("marketConsentValue",e,t)},viewModel:n}),q.createElement(Lm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ll(n,t,ve.collectMedicalProfessionalPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ks("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyMedicalProfessionalStatus",defaultMessage:"Verify My Medical Professional Status"}))))),q.createElement(xm,{verificationService:t}))})),Ap=Rt((({value:e,isErrored:t,options:r,onChange:n,intl:a,placeholder:o="",label:i="",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(yl,{text:i||q.createElement(or,{id:"state",defaultMessage:"State where you live"}),htmlForLabel:l,id:`${l}-label`,displayClasses:o&&"sid-h-screen-reader-only",isRequired:s}),q.createElement(Ju,{fieldId:"state",inputId:l,fieldLabelId:`${l}-label`,isErrored:t,options:r,onChange:e=>n(e),placeholder:a.formatHTMLMessage({id:"statePlaceholder",defaultMessage:"State"}),value:xl()(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)})),xp=Rt((({onChange:e,value:t,isErrored:r,verificationService:n,intl:a,placeholder:o=""})=>{const{programId:i}=n;return q.createElement("div",{className:"sid-field sid-company-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(yl,{text:q.createElement(or,{id:"company",defaultMessage:"Company"}),htmlForLabel:"sid-company",id:"sid-company-label",displayClasses:o&&"sid-h-screen-reader-only"}),q.createElement(bm,{className:r?"sid-text-input--error":"",countryCode:ie((()=>n.viewModel.countryChoice.value)),minimumSearchValueLength:wn().minimumOrganizationSearchLength,onChange:t=>e(t),placeholder:o||a.formatHTMLMessage({id:"companyPlaceholder",defaultMessage:"Company"}),programId:i,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 _p(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function Op(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=_p(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=_p(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const kp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,o=(e,r)=>{const a=Hs(n,(t=>{t[e]=r}));t.updateViewModel(a)};return q.createElement("div",{id:"sid-step-employment-personal-info",className:"sid-l-container"},q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:t}),q.createElement(Pm,{verificationService:t}))),q.createElement(ac,{verificationService:t}),q.createElement(km,{verificationService:t,viewModelDraftDecorator:(e,r)=>{const n=e;n.shouldCollectAddress=nl(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(xp,{value:t.viewModel.organization,verificationService:t,isErrored:!!a.organization,onChange:e=>{el(e,t),rl("organization",e,t)}}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{o("firstName",e),rl("firstName",e,t)}}),q.createElement(Ml,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{o("lastName",e),rl("lastName",e,t)}})),nl(n.countryChoice,t.programTheme.config.countries)?q.createElement(Ym,{isErrored:!!a.address1,errorId:a.address1,onChange:e=>{o("address1",e),rl("address1",e,t)},isRequired:!0,value:n.address1,explanation:q.createElement(or,{id:"addressExplanation",defaultMessage:"Use your home address"})}):null,nl(n.countryChoice,t.programTheme.config.countries)?q.createElement("div",{className:"sid-thirds"},q.createElement(Gm,{isErrored:!!a.city,errorId:a.city,onChange:e=>{o("city",e),rl("city",e,t)},value:n.city,isRequired:!0}),q.createElement(Ap,{isRequired:!0,options:dl(t.programTheme,e),value:n.state||void 0,isErrored:Boolean(a.state),onChange:function(){var e=hr((function*(e){const r=e?e.value:void 0;o("state",r),rl("state",r,t)}));return function(t){return e.apply(this,arguments)}}(),label:q.createElement(or,{id:"state",defaultMessage:"State"})}),q.createElement(Hm,{isErrored:!!a.postalCode,onChange:e=>{o("postalCode",e),rl("postalCode",e,t)},value:n.postalCode})):null,q.createElement(Cl,{value:n.email,isErrored:!!a.email,explanation:q.createElement(or,{id:"employment.emailExplanation",defaultMessage:"Use your work email if you have one"}),onChange:e=>{o("email",e),rl("email",e,t)},onKeyDown:e=>sl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(dm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{o("phoneNumber",e),rl("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,Mr()(r=wn().customFormFields).call(r,(e=>q.createElement(Fm,{config:e,verificationService:t}))),q.createElement(sm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{o("metadata",Op(Op({},t.viewModel.metadata),{},{marketConsentValue:e})),rl("marketConsentValue",e,t)},viewModel:n}),q.createElement(Lm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-wrapper__collect-info",onClick:()=>ll(n,t,ve.collectEmployeePersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-label":"submit","aria-labelledby":"verify-status-text",ref:e=>Ks("submitButton",e)},q.createElement("span",{id:"verify-status-text"},q.createElement(or,{id:"verifyMyEmploymentStatus",defaultMessage:"Verify My Employment Status"}))))),q.createElement(xm,{verificationService:t}))})),Pp=Rt((({value:e,isErrored:t,onChange:r,explanation:n,intl:a,placeholder:o="",isRequired:i=!1})=>q.createElement("div",{className:"sid-field sid-driver-license-number"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(yl,{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${o&&" sid-h-screen-reader-only"}`,isRequired:i},n||(i?"":q.createElement(or,{id:"optional",defaultMessage:"Optional"}))),q.createElement(vl,{id:"driver-license-number",isErrored:t,onChange:e=>r(e.target.value),placeholder:o||a.formatHTMLMessage({id:"driverLicenseNumberPlaceholder",defaultMessage:"Driver license number"}),refId:"driverLicenseNumber",value:e,required:i,"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 Rp(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function Fp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Rp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Rp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Lp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,o=t.verificationResponse,i=Cd(o),s=(e,r)=>{const a=Hs(n,(t=>{t[e]=r}));t.updateViewModel(a)};return Xs(),q.createElement("div",{id:"sid-step-driver-license-personal-info",className:"sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:t}),q.createElement(Pm,{verificationService:t}))),q.createElement(ac,{verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{s("firstName",e),rl("firstName",e,t)}}),q.createElement(Ml,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{s("lastName",e),rl("lastName",e,t)}})),q.createElement(Cl,{value:n.email,isErrored:!!a.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Personal email address is recommended"}),onChange:e=>{s("email",e),rl("email",e,t)},onKeyDown:e=>sl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(dm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{s("phoneNumber",e),rl("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,q.createElement(Ap,{isRequired:!0,options:dl(t.programTheme,e),value:n.state||void 0,isErrored:Boolean(a.state),onChange:function(){var e=hr((function*(e){const r=e?e.value:void 0;s("state",r),rl("state",r,t)}));return function(t){return e.apply(this,arguments)}}(),label:q.createElement(or,{id:"driverLicenseState",defaultMessage:"Driver license state"})}),q.createElement(Pp,{value:n.driverLicenseNumber,isErrored:!!a.driverLicenseNumber,isRequired:!0,onChange:e=>{s("driverLicenseNumber",e),rl("driverLicenseNumber",e,t)}}),Mr()(r=wn().customFormFields).call(r,(e=>q.createElement(Fm,{config:e,verificationService:t}))),q.createElement(sm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{s("metadata",Fp(Fp({},t.viewModel.metadata),{},{marketConsentValue:e})),rl("marketConsentValue",e,t)},viewModel:n}),q.createElement(Lm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ll(n,t,ve.collectDriverLicensePersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ks("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyIdentityStatus",defaultMessage:"Verify My Identity"}))))),q.createElement(xm,{verificationService:t}))}));function Up(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}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=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 Vp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,o=t.verificationResponse,i=Cd(o),s=n.localeChoice.value,l=(e,r)=>{const a=Hs(n,(t=>{t[e]=r}));t.updateViewModel(a)};return Xs(),q.createElement("div",{id:"sid-step-general-identity-personal-info",className:"sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:t}),q.createElement(Pm,{verificationService:t}))),q.createElement(ac,{verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{l("firstName",e),rl("firstName",e,t)}}),q.createElement(Ml,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{l("lastName",e),rl("lastName",e,t)}})),q.createElement(Cl,{value:n.email,isErrored:!!a.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Personal email address is recommended"}),onChange:e=>{l("email",e),rl("email",e,t)},onKeyDown:e=>sl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(dm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{l("phoneNumber",e),rl("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,q.createElement(Mm,{isErrored:!!a.birthDate,errorId:a.birthDate,locale:s,onChange:e=>{l("birthDate",e),rl("birthDate",e,t)},value:n.birthDate}),q.createElement(Ym,{isErrored:!!a.address1,errorId:a.address1,onChange:e=>{l("address1",e),rl("address1",e,t)},value:n.address1,isRequired:!0}),q.createElement("div",{className:"sid-thirds"},q.createElement(Gm,{isErrored:!!a.city,errorId:a.city,onChange:e=>{l("city",e),rl("city",e,t)},value:n.city,isRequired:!0}),q.createElement(Ap,{isRequired:!0,options:dl(t.programTheme,e),value:n.state||void 0,isErrored:Boolean(a.state),onChange:function(){var e=hr((function*(e){const r=e?e.value:void 0;l("state",r),rl("state",r,t)}));return function(t){return e.apply(this,arguments)}}()}),q.createElement(Hm,{isErrored:!!a.postalCode,onChange:e=>{l("postalCode",e),rl("postalCode",e,t)},value:n.postalCode,isRequired:!0})),Mr()(r=wn().customFormFields).call(r,(e=>q.createElement(Fm,{config:e,verificationService:t}))),q.createElement(sm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{l("metadata",Bp(Bp({},t.viewModel.metadata),{},{marketConsentValue:e})),rl("marketConsentValue",e,t)},viewModel:n}),q.createElement(Lm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ll(n,t,ve.collectGeneralIdentityPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ks("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyIdentityStatus",defaultMessage:"Verify My Identity"}))))),q.createElement(xm,{verificationService:t}))}));function jp(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}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=jp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=jp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Hp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,o=t.verificationResponse,i=Cd(o),s=n.localeChoice.value,l=(e,r)=>{const a=Hs(n,(t=>{t[e]=r}));t.updateViewModel(a)};return Xs(),q.createElement("div",{id:"sid-step-hybrid-identity-personal-info",className:"sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:t}),q.createElement(Pm,{verificationService:t}))),q.createElement(ac,{verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{l("firstName",e),rl("firstName",e,t)}}),q.createElement(Ml,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{l("lastName",e),rl("lastName",e,t)}})),q.createElement(Cl,{value:n.email,isErrored:!!a.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Personal email address is recommended"}),onChange:e=>{l("email",e),rl("email",e,t)},onKeyDown:e=>sl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(dm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{l("phoneNumber",e),rl("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,q.createElement(Mm,{isErrored:!!a.birthDate,errorId:a.birthDate,locale:s,onChange:e=>{l("birthDate",e),rl("birthDate",e,t)},value:n.birthDate}),q.createElement(Ym,{isErrored:!!a.address1,errorId:a.address1,onChange:e=>{l("address1",e),rl("address1",e,t)},value:n.address1,isRequired:!0}),q.createElement("div",{className:"sid-thirds"},q.createElement(Gm,{isErrored:!!a.city,errorId:a.city,onChange:e=>{l("city",e),rl("city",e,t)},value:n.city,isRequired:!0}),q.createElement(Ap,{isRequired:!0,options:dl(t.programTheme,e),value:n.state||void 0,isErrored:Boolean(a.state),onChange:function(){var e=hr((function*(e){const r=e?e.value:void 0;l("state",r),rl("state",r,t)}));return function(t){return e.apply(this,arguments)}}()}),q.createElement(Hm,{isErrored:!!a.postalCode,onChange:e=>{l("postalCode",e),rl("postalCode",e,t)},value:n.postalCode})),q.createElement(Pp,{value:n.driverLicenseNumber,isErrored:!!a.driverLicenseNumber,isRequired:!0,onChange:e=>{l("driverLicenseNumber",e),rl("driverLicenseNumber",e,t)}}),Mr()(r=wn().customFormFields).call(r,(e=>q.createElement(Fm,{config:e,verificationService:t}))),q.createElement(sm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{l("metadata",zp(zp({},t.viewModel.metadata),{},{marketConsentValue:e})),rl("marketConsentValue",e,t)},viewModel:n}),q.createElement(Lm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ll(n,t,ve.collectHybridIdentityPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ks("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyIdentityStatus",defaultMessage:"Verify My Identity"}))))),q.createElement(xm,{verificationService:t}))})),$p=Rt((({value:e,isErrored:t,onChange:r,verificationService:n,intl:a,placeholder:o=""})=>{const{programId:i}=n;return q.createElement("div",{className:"sid-field sid-licensed-professional-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(yl,{text:q.createElement(or,{id:"organization",defaultMessage:"Organization"}),htmlForLabel:"sid-licensed-professional",id:"sid-licensed-professional-label",displayClasses:o&&"sid-h-screen-reader-only"}),q.createElement(bm,{className:t?"sid-text-input--error":"",countryCode:ie((()=>n.viewModel.countryChoice.value)),onChange:e=>r(e),minimumSearchValueLength:wn().minimumOrganizationSearchLength,placeholder:o||a.formatHTMLMessage({id:"organizationNamePlaceholder",defaultMessage:"Organization"}),programId:i,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 qp(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function Wp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=qp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=qp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Gp={LICENSED_COSMETOLOGIST:"Licensed Cosmetologist",LICENSED_REAL_ESTATE_AGENT:"Licensed Real Estate Agent",VETERINARIAN:"Veterinarian",CHILD_CARE_WORKER:"Child Care Worker",LIBRARIAN:"Librarian"},Yp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,o=t.verificationResponse,i=Cd(o),s=n.localeChoice.value,l=(e,r)=>{const a=Hs(n,(t=>{t[e]=r}));t.updateViewModel(a)},u=t=>t?e.formatHTMLMessage({id:t,defaultMessage:Gp[t]}):"";return q.createElement("div",{id:"sid-step-licensed-professional-personal-info",className:"sid-l-container"},i?q.createElement("p",null,"Failied instant match"):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:t}),q.createElement(Pm,{verificationService:t}))),q.createElement(ac,{verificationService:t}),q.createElement(km,{verificationService:t}),q.createElement(sp,{segmentId:"licensed-professional",value:{value:n.statuses?n.statuses[0]:"",label:n.statuses?u(n.statuses[0]):""},isErrored:!!a.statuses,options:(()=>{const e=o.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),rl("statuses",e?e.value:"",t)}}),q.createElement($p,{isErrored:!!a.organization,onChange:e=>{el(e,t),rl("organization",e,t)},value:t.viewModel.organization,verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{l("firstName",e),rl("firstName",e,t)}}),q.createElement(Ml,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{l("lastName",e),rl("lastName",e,t)}})),q.createElement(Mm,{isErrored:!!a.birthDate,errorId:a.birthDate,locale:s,onChange:e=>{l("birthDate",e),rl("birthDate",e,t)},value:n.birthDate}),q.createElement(Hm,{isErrored:!!a.postalCode,onChange:e=>{l("postalCode",e),rl("postalCode",e,t)},value:n.postalCode,explanation:q.createElement(or,{id:"postalCodeExplanation",defaultMessage:"Use the location on file with your licensing body"})}),q.createElement(Cl,{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),rl("email",e,t)},onKeyDown:e=>sl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(dm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{l("phoneNumber",e),rl("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,Mr()(r=wn().customFormFields).call(r,(e=>q.createElement(Fm,{config:e,verificationService:t}))),q.createElement(sm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{l("metadata",Wp(Wp({},t.viewModel.metadata),{},{marketConsentValue:e})),rl("marketConsentValue",e,t)},viewModel:n}),q.createElement(Lm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ll(n,t,ve.collectLicensedProfessionalPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ks("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyLicensedProfessionalStatus",defaultMessage:"Verify My Licensed Professional Status"}))))),q.createElement(xm,{verificationService:t}))}));function Kp(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}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=Kp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Kp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Jp=Rt((({verificationService:e})=>{var t;const r=e.viewModel,{fieldValidationErrors:n}=e,a=e.verificationResponse,o=Cd(a),i=(t,n)=>{const a=Hs(r,(e=>{e[t]=n}));e.updateViewModel(a)};return(0,q.useEffect)((()=>{i("statuses",a.availableStatuses)}),[]),q.createElement("div",{id:"sid-step-mover-personal-info",className:"sid-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:e}),q.createElement(Pm,{verificationService:e}))),q.createElement(ac,{verificationService:e}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:r.firstName,isErrored:!!n.firstName,onChange:t=>{i("firstName",t),rl("firstName",t,e)}}),q.createElement(Ml,{value:r.lastName,isErrored:!!n.lastName,onChange:t=>{i("lastName",t),rl("lastName",t,e)}})),q.createElement(Ym,{value:r.address1,isErrored:!!n.address1,errorId:n.address1,onChange:t=>{i("address1",t),rl("address1",t,e)},label:q.createElement(or,{id:"streetAddress",defaultMessage:"Street Address"}),isRequired:!0}),q.createElement(Hm,{value:r.postalCode,isErrored:!!n.postalCode,onChange:t=>{i("postalCode",t),rl("postalCode",t,e)}}),q.createElement(Cl,{value:r.email,isErrored:!!n.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:"Needed to send you your unique code"}),onChange:t=>{i("email",t),rl("email",t,e)},onKeyDown:e=>sl(e)}),e.programTheme.isSmsNotifierConfigured||e.programTheme.smsLoopEnabled?q.createElement(dm,{isRequired:!!e.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:t=>{i("phoneNumber",t),rl("phoneNumber",t,e)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,Mr()(t=wn().customFormFields).call(t,(t=>q.createElement(Fm,{config:t,verificationService:e}))),q.createElement(sm,{verificationService:e,isErrored:!!n.marketConsentValue,onChange:t=>{i("metadata",Zp(Zp({},e.viewModel.metadata),{},{marketConsentValue:t})),rl("marketConsentValue",t,e)},viewModel:r}),q.createElement(Lm,{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"},q.createElement("button",{id:"sid-submit-wrapper__collect-info",onClick:()=>ll(r,e,ve.collectMoverPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(r,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-label":"submit","aria-labelledby":"verify-status-text",ref:e=>Ks("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyMoverStatus",defaultMessage:"Verify My Recent Mover Status"}))))),q.createElement(xm,{verificationService:e}))})),Xp=Rt((({value:e,isErrored:t,onChange:r,verificationService:n,intl:a,placeholder:o="",isRequired:i=!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(yl,{text:q.createElement(or,{id:"lowIncomeOrganization",defaultMessage:"Government Assistance Program"}),htmlForLabel:"sid-low-income",id:"sid-low-income-label",displayClasses:o&&"sid-h-screen-reader-only",isRequired:i}),q.createElement(bm,{className:t?"sid-text-input--error":"",countryCode:ie((()=>n.viewModel.countryChoice.value)),onChange:e=>r(e),minimumSearchValueLength:wn().minimumOrganizationSearchLength,placeholder:o||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)})),Qp=Rt((({value:e,isErrored:t,onChange:r,intl:n,placeholder:a=""})=>q.createElement(Sl,{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 eh(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}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={SNAP_BENEFITS:"Snap Benefits Recipient",OTHER_GOVERNMENT_ASSISTANCE:"Other Government Assistance Recipient"},nh=Rt((({intl:e,verificationService:t})=>{const r=t.viewModel,{fieldValidationErrors:n}=t,a=t.verificationResponse,o=Cd(a),i=r.localeChoice.value,s=r.statuses[0]?r.statuses[0]:void 0,l="SNAP_BENEFITS"===s,u=(e,n)=>{const a=Hs(r,(t=>{t[e]=n}));t.updateViewModel(a)},c=t=>t?e.formatHTMLMessage({id:t,defaultMessage:rh[t]}):"";return q.useEffect((()=>{if(l){vf({fieldsToSkipValidation:["organization"]})}}),[l]),q.createElement("div",{id:"sid-step-low-income-personal-info",className:"sid-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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-l-horz-center"},q.createElement(lm,{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(Om,{verificationService:t}),q.createElement(Pm,{verificationService:t}))),q.createElement(ac,{verificationService:t}),q.createElement(km,{verificationService:t}),q.createElement(sp,{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),rl("statuses",e?e.value:"",t)}}),"SNAP_BENEFITS"===s&&q.createElement(Qp,{value:r.ebtCardNumber,isErrored:!!n.ebtCardNumber,onChange:e=>{u("ebtCardNumber",e),rl("ebtCardNumber",e,t)}}),"OTHER_GOVERNMENT_ASSISTANCE"===s&&q.createElement(Xp,{isErrored:!!n.organization,onChange:e=>{el(e,t),rl("organization",e,t)},value:t.viewModel.organization,verificationService:t,isRequired:!0}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:r.firstName,isErrored:!!n.firstName,onChange:e=>{u("firstName",e),rl("firstName",e,t)}}),q.createElement(Ml,{value:r.lastName,isErrored:!!n.lastName,onChange:e=>{u("lastName",e),rl("lastName",e,t)}})),q.createElement(Mm,{isErrored:!!n.birthDate,errorId:n.birthDate,locale:i,onChange:e=>{u("birthDate",e),rl("birthDate",e,t)},value:r.birthDate}),q.createElement(Ym,{isErrored:!!n.address1,errorId:n.address1,onChange:e=>{u("address1",e),rl("address1",e,t)},value:r.address1,isRequired:!0,explanation:q.createElement(or,{id:"addressExplanation",defaultMessage:"Use your home address"})}),q.createElement("div",{className:"sid-thirds"},q.createElement(Gm,{isErrored:!!n.city,errorId:n.city,onChange:e=>{u("city",e),rl("city",e,t)},value:r.city,isRequired:!0}),q.createElement(Ap,{isRequired:!0,options:dl(t.programTheme,e),value:r.state||void 0,isErrored:Boolean(n.state),onChange:function(){var e=hr((function*(e){const r=e?e.value:void 0;u("state",r),rl("state",r,t)}));return function(t){return e.apply(this,arguments)}}()}),q.createElement(Hm,{isErrored:!!n.postalCode,onChange:e=>{u("postalCode",e),rl("postalCode",e,t)},value:r.postalCode})),q.createElement(Cl,{value:r.email,isErrored:!!n.email,explanation:q.createElement(or,{id:"emailExplanation",defaultMessage:" "}),onChange:e=>{u("email",e),rl("email",e,t)},onKeyDown:e=>sl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(dm,{isRequired:!!t.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:e=>{u("phoneNumber",e),rl("phoneNumber",e,t)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,q.createElement(sm,{verificationService:t,isErrored:!!n.marketConsentValue,onChange:e=>{u("metadata",th(th({},t.viewModel.metadata),{},{marketConsentValue:e})),rl("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-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>ll(r,t,ve.collectLowIncomePersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ii(r,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ks("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(or,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(or,{id:"verifyMyLowIncomeStatus",defaultMessage:"Verify Status"}))))),q.createElement(xm,{verificationService:t}))}));String.prototype.insertAt=function(e,t){return e>this.length?this:`${Dr()(this).call(this,0,e)}${t}${Dr()(this).call(this,e)}`};const ah=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(/-$/,"")},oh=Rt((({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(yl,{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(vl,{id:"ssn",refId:_e.socialSecurityNumber,className:"sid-ssn__input",isErrored:t,required:!0,placeholder:a||n.formatHTMLMessage({id:"ssnPlaceholder",defaultMessage:"000-00-0000"}),value:ah(e),hidePlaceholder:!1,onChange:e=>(e=>{r(e)})((e=>{var t;return Dr()(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))),ih=({useSsn:e,useDocUpload:t,verificationService:r})=>q.createElement("div",{id:"sid-ssn-choice",className:"sid-l-container sid-l-horz-center"},q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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-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-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(xm,{verificationService:r}))),sh=Rt((({verificationService:e})=>{const[t,r]=q.useState(!0),n=e.viewModel,{fieldValidationErrors:a}=e,o=()=>e.submitStep(ve.cancelSocialSecurityNumber,n,e.verificationResponse),i=n.socialSecurityNumber&&9===n.socialSecurityNumber.toString().length;return t?q.createElement(ih,{useSsn:()=>r(!1),useDocUpload:o,verificationService:e}):q.createElement("div",{id:"sid-step-social-security",className:"sid-l-container sid-l-horz-center"},q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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(ac,{verificationService:e}),q.createElement("div",{className:"sid-ssn-wrapper"},q.createElement(oh,{value:n.socialSecurityNumber,onChange:t=>{((t,r)=>{const a=Hs(n,(e=>{e[t]=r}));e.updateViewModel(a)})("socialSecurityNumber",t),rl("socialSecurityNumber",t,e)},isErrored:!!a[_e.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-submit"},q.createElement("button",{id:"sid-submit-wrapper__collect-info",onClick:()=>ll(n,e,ve.collectSocialSecurityNumber),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(i?"":"sid-btn--disabled-like"),"aria-label":"submit",ref:e=>Ks("submitButton",e)},q.createElement(or,{id:"proceed",defaultMessage:"Proceed"})))),q.createElement("div",{className:"sid-form-region sid-l-space-top-md",role:"button",tabIndex:0,onKeyUp:o,onClick:o},q.createElement("div",{className:"sid-h-link-like"},q.createElement(or,{id:"step.collectSocialSecurityNumber.uploadInstead",defaultMessage:"Upload a document instead"}))),q.createElement(xm,{verificationService:e}))})),lh=({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(Am,{verificationService:e}))),uh=({verificationService:e})=>{const t=ie((()=>e.verificationResponse.segment)),r=q.useCallback((()=>{hr((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","aria-label":"submit",onClick:r,onKeyPress:r,tabIndex:0},q.createElement(or,{id:"tryAgain",defaultMessage:"Try again"}))},ch=({children:e})=>q.createElement("div",{className:"sid-l-space-top-lg sid-l-half-width sid-l-horz-center"},e),dh=Rt((({verificationService:e,errorId:t})=>{const r=e.verificationResponse;let n=ie((()=>r.errorIds))||[];t&&(n=[t,...n]);const a=ie((()=>n[0]),"error");let o={id:"error",defaultMessage:"Error"},i="sid-l-horz-center",s=q.createElement(ch,null,q.createElement(uh,{verificationService:e}));if(ie((()=>e.messages[`step.error.errorId.${a}.title`]))&&(o={id:`step.error.errorId.${a}.title`,defaultMessage:e.messages[`step.error.errorId.${a}.title`]}),ie((()=>e.messages[`step.error.errorId.${a}.buttonText`]))&&ie((()=>r.redirectUrl))&&(s=q.createElement(ch,null,q.createElement(pd,{href:r.redirectUrl,onClick:()=>Bd(ve.error,r.redirectUrl),className:"sid-btn sid-btn-light"},q.createElement(or,{id:`step.error.errorId.${a}.buttonText`,defaultMessage:e.messages[`step.error.errorId.${a}.buttonText`]})))),Ho()(n).call(n,"verificationLimitExceeded")&&(s=null,i+=" sid-l-space-top-xl"),Ho()(n).call(n,"unauthorizedAccountStatus")){const t=ie((()=>e.programTheme.config.brandInfo.faqUrl));s=t?q.createElement(ch,null,q.createElement(pd,{href:t,onClick:()=>Bd(ve.error,t),className:"sid-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-l-container"},q.createElement("div",{className:"sid-header sid-l-horz-center"},q.createElement("div",{className:i},q.createElement(lm,{verificationService:e,fallbackLogo:q.createElement("img",{className:"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,o)),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,Mr()(n).call(n,(t=>q.createElement(or,{key:t,id:`errorId.${t}`,defaultMessage:t,values:{feedbackUrl:mn.FEEDBACK_FORM_URL,programId:e.programId||"",locale:xa(e.viewModel,r).replace("-","_")}})))):null),s)),q.createElement("div",{className:"sid-footer sid-l-horz-center sid-l-space-top-xl sid-h-small-text"},q.createElement(lh,{verificationService:e,isCentered:!0})))})),fh="Please sign in to your school's web portal. It will open in a new tab.",mh=({verificationService:e})=>{const t=e.verificationResponse.redirectUrl,r=Boolean(t),n=e.verificationResponse.rewardCode||"${rewardCode}",a="noCode"===e.programTheme.config.offerType;return q.createElement("div",{id:"sid-step-success",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(lm,{verificationService:e,fallbackLogo:q.createElement("img",{className:"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."}))),a?null: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"},n),q.createElement("div",{className:"sid-l-space-top-md sid-h-bold-text sid-l-horz-center"},q.createElement(fr,{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-l-horz-center "+(a?"sid-l-space-top-md":"sid-l-space-top-lg")},q.createElement(or,{id:"step.success.emailNotification",defaultMessage:"\n We have emailed you a copy so you can use your code now or later. Look for the email from verify@sheerid.com\n "})),r?q.createElement("div",{className:"sid-submit sid-l-space-top-md"},q.createElement("button",{type:"button",onClick:()=>(e=>{window.open(e,"_parent").focus()})(t),className:"sid-btn sid-btn--dark"},q.createElement(or,{id:"step.success.redirectButtonText",defaultMessage:"Use code now"}))):"",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.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 ph=i(2035),hh=i.n(ph);const gh=q.memo((({countdownSeconds:e,onCountdownFinish:t,logo:r})=>{const[n,a]=q.useState(e),o=q.useRef(n),i=q.useRef(null),s=()=>{const e=o.current-1;a(e),o.current=e,e<0&&(t(),clearInterval(i.current))};return q.useEffect((()=>{if(!Nc())return i.current=hh()(s,1e3),()=>clearInterval(i.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:${Dr()(l=`0${n}`).call(l,-2)}`)),q.createElement("div",{className:"sid-l-space-top-xl"}));var l})),vh=({logo:e,cancelSSO:t})=>q.createElement("div",{className:"sid-header sid-l-horz-center"},q.createElement("div",{className:"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-submit-wrapper sid-l-space-top-md"},q.createElement("button",{onClick:t,type:"submit",className:"sid-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 yh(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}const bh=({intl:e,logo:t,verificationService:r})=>{const n=r.verificationResponse,[a,o]=q.useState(!1);!a&&((e,t)=>{if(new(Sr())(window.location.search).get("alerting"))return!0;const r=ie((()=>e.estimatedReviewTime)),n=ie((()=>e.maxReviewTime)),a=ie((()=>t.estimatedReviewTime)),o=ie((()=>t.maxReviewTime));return void 0!==r&&r!==a||void 0!==n&&n!==o})(r.previousVerificationResponse,n)&&o(!0);const i=ul(function(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=yh(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=yh(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:i})),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:i})))):null,q.createElement("div",{className:"sid-l-space-top-xl"}))},Eh=(e,t)=>{const r=q.useRef(null);function n(){clearInterval(r.current)}return q.useEffect((()=>(r.current=hh()(e,t),()=>n())),[e,t]),n},Sh=Rt((({verificationService:e,intl:t})=>{const{programId:r}=e,{viewModel:n}=e,a=e.previousViewModel||void 0,o=e.verificationResponse.lastResponse||e.previousVerificationResponse||void 0,{verificationId:i}=e.verificationResponse,s=Nc(),l=Ac()&&Ac()===ve.sso,u=Ac()&&Ac()===ve.docUpload,c=()=>!(!o||o.currentStep!==ve.sso),[d,f]=q.useState(((e,t,r,n)=>(e||!t)&&!r&&!n)("pending"===wn().mockStep,c(),l,u)),m=c()||d?5e3:2e4,p=!s&&Eh((()=>{e.fetchExistingVerificationRequest(r,i,o,a,!1)}),m),h=()=>{const t=Hs(n,(()=>{}));he.info("StepSSOComponent submitting cancel request"),p(),e.submitStep(ve.sso,t,o)},g=()=>{f(!1)},v=q.createElement(lm,{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(gh,{logo:v,onCountdownFinish:g,countdownSeconds:20}):r?q.createElement(vh,{logo:v,cancelSSO:h}):q.createElement(bh,{verificationService:e,logo:v,intl:t,maxReviewTime:qa(e.programTheme)})})(),d?q.createElement(lh,{verificationService:e,isCentered:!0}):q.createElement(xm,{verificationService:e},q.createElement("div",null)," "))})),wh=Rt((({onChange:e,value:t,isErrored:r,errorId:n,intl:a,placeholder:o=""})=>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(vl,{id:"sms-code",isErrored:r,required:!0,placeholder:o||a.formatHTMLMessage({id:"smsCodePlaceholder",defaultMessage:"SMS Code"}),value:t,onChange:t=>e(t.target.value)}))));function Mh(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function Ch(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}const Ih=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,a=t.verificationResponse,o=Boolean(t.fieldValidationErrors.smsCode),i=t.previousViewModel||void 0,[s,l]=q.useState(""),[u,c]=q.useState(a.errorIds&&Ho()(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)}),[]),ie((()=>a.errorIds.length))&&!t.fieldValidationErrors.smsCode&&t.updateFieldValidationErrors(Ch(Ch({},t.fieldValidationErrors),{},{smsCode:a.errorIds[0]}));const h=function(){var e=hr((function*(e){const t=yield fd.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-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"},ie((()=>i.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:ie((()=>{var e;return Dr()(e=i.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(wh,{onChange:e=>{const r=Hs(n,(t=>{t.smsCode=e,t.phoneNumber=i&&i.phoneNumber}));t.updateViewModel(r)},value:n.smsCode,isErrored:o,errorId:t.fieldValidationErrors.smsCode})),s&&q.createElement("div",null,q.createElement("p",null,s)),q.createElement("div",{className:"sid-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-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-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}})))))})),Nh=Rt((({intl:e,verificationService:r})=>{const n=r.verificationResponse,{programId:a}=r,{verificationId:o}=n,{canResendEmailLoop:i}=n,s=n.cancelUrl,l=r.viewModel,u=r.previousViewModel||void 0,c=r.previousVerificationResponse||void 0,[f,m]=q.useState(""),p=ie((()=>u.email));q.useEffect((()=>{(e=>{const r=e.viewModel,n=Ar(),a=Hs(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]),Eh((()=>{r.fetchExistingVerificationRequest(a,o,c,u,!1)}),1e4);const h=function(){var t=hr((function*(t){const r=yield fd.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=hr((function*(){he.info("StepEmailLoopComponent submitting form after skipping email loop");const e=$s(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-l-container"},q.createElement("div",{className:"sid-header sid-l-horz-center"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{verificationService:r,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"})})),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."})),i&&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(o),type:"submit",className:"sid-btn sid-btn--light sid-submit__cancel","aria-label":"re-send"},q.createElement(or,{id:"step.emailLoop.resendButton",defaultMessage:"Re-send"}))),f&&q.createElement("div",null,q.createElement("p",null,f)),q.createElement("div",{className:"sid-l-space-top-xl"})))}));var Dh=i(6358),Th=i.n(Dh),Ah=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 xh(e,t){var r=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var r=t.split(".").pop().toLowerCase(),n=Ah.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 _h=[".DS_Store","Thumbs.db"];function Oh(e){return(null!==e.target&&e.target.files?Rh(e.target.files):[]).map((function(e){return xh(e)}))}function kh(e,t){return Fl(this,void 0,void 0,(function(){var r;return Ll(this,(function(n){switch(n.label){case 0:return e.items?(r=Rh(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,r]:[4,Promise.all(r.map(Fh))]):[3,2];case 1:return[2,Ph(Lh(n.sent()))];case 2:return[2,Ph(Rh(e.files).map((function(e){return xh(e)})))]}}))}))}function Ph(e){return e.filter((function(e){return-1===_h.indexOf(e.name)}))}function Rh(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];t.push(n)}return t}function Fh(e){if("function"!=typeof e.webkitGetAsEntry)return Uh(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?Vh(t):Uh(e)}function Lh(e){return e.reduce((function(e,t){return function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Ul(arguments[t]));return e}(e,Array.isArray(t)?Lh(t):[t])}),[])}function Uh(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var r=xh(t);return Promise.resolve(r)}function Bh(e){return Fl(this,void 0,void 0,(function(){return Ll(this,(function(t){return[2,e.isDirectory?Vh(e):jh(e)]}))}))}function Vh(e){var t=e.createReader();return new Promise((function(e,r){var n=[];!function a(){var o=this;t.readEntries((function(t){return Fl(o,void 0,void 0,(function(){var o,i,s;return Ll(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 o=l.sent(),e(o),[3,4];case 3:return i=l.sent(),r(i),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(Bh)),n.push(s),a(),l.label=6;case 6:return[2]}}))}))}),(function(e){r(e)}))}()}))}function jh(e){return Fl(this,void 0,void 0,(function(){return Ll(this,(function(t){return[2,new Promise((function(t,r){e.file((function(r){var n=xh(r,e.fullPath);t(n)}),(function(e){r(e)}))}))]}))}))}var zh=i(8801);function Hh(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,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(n=(i=s.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){a=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(a)throw o}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return $h(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 $h(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 $h(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 qh=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)}},Wh=function(e){return{code:"file-too-large",message:"File is larger than ".concat(e," bytes")}},Gh=function(e){return{code:"file-too-small",message:"File is smaller than ".concat(e," bytes")}},Yh={code:"too-many-files",message:"Too many files"};function Kh(e,t){var r="application/x-moz-file"===e.type||(0,zh.Z)(e,t);return[r,r?null:qh(t)]}function Zh(e,t,r){if(Jh(e.size))if(Jh(t)&&Jh(r)){if(e.size>r)return[!1,Wh(r)];if(e.size<t)return[!1,Gh(t)]}else{if(Jh(t)&&e.size<t)return[!1,Gh(t)];if(Jh(r)&&e.size>r)return[!1,Wh(r)]}return[!0,null]}function Jh(e){return null!=e}function Xh(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function Qh(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 eg(e){e.preventDefault()}function tg(){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!Xh(e)&&t&&t.apply(void 0,[e].concat(n)),Xh(e)}))}}function rg(e){return function(e){if(Array.isArray(e))return og(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||ag(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 ng(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,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(n=(i=s.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){a=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(a)throw o}}return r}(e,t)||ag(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 ag(e,t){if(e){if("string"==typeof e)return og(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)?og(e,t):void 0}}function og(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 ig(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 sg(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ig(Object(r),!0).forEach((function(t){lg(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ig(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function lg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ug(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var cg=(0,q.forwardRef)((function(e,t){var r=e.children,n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=sg(sg({},dg),e),r=t.accept,n=t.disabled,a=t.getFilesFromEvent,o=t.maxSize,i=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,S=t.validator,w=(0,q.useRef)(null),M=(0,q.useRef)(null),C=ng((0,q.useReducer)(pg,mg),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){w.current&&w.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),x()))}),[w,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){w.current&&w.current.contains(e.target)||(e.preventDefault(),F.current=[])};(0,q.useEffect)((function(){return g&&(document.addEventListener("dragover",eg,!1),document.addEventListener("drop",L,!1)),function(){g&&(document.removeEventListener("dragover",eg),document.removeEventListener("drop",L))}}),[w,g]);var U=(0,q.useCallback)((function(e){e.preventDefault(),e.persist(),W(e),F.current=[].concat(rg(F.current),[e.target]),Qh(e)&&Promise.resolve(a(e)).then((function(t){Xh(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=Qh(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 w.current&&w.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:[]}),Qh(e)&&c&&c(e))}),[w,c,E]),j=(0,q.useCallback)((function(e){e.preventDefault(),e.persist(),W(e),F.current=[],Qh(e)&&Promise.resolve(a(e)).then((function(t){if(!Xh(e)||E){var n=[],a=[];t.forEach((function(e){var t=ng(Kh(e,r),2),s=t[0],l=t[1],u=ng(Zh(e,i,o),2),c=u[0],d=u[1],f=S?S(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:[Yh]})})),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,i,o,l,a,f,m,p,E]),z=function(e){return n?null:e},H=function(e){return y?null:z(e)},$=function(e){return b?null:z(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,o=e.onFocus,i=e.onBlur,s=e.onClick,l=e.onDragEnter,u=e.onDragOver,c=e.onDragLeave,d=e.onDrop,f=ug(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return sg(sg(lg({onKeyDown:H(tg(a,O)),onFocus:H(tg(o,k)),onBlur:H(tg(i,P)),onClick:z(tg(s,R)),onDragEnter:$(tg(l,U)),onDragOver:$(tg(u,B)),onDragLeave:$(tg(c,V)),onDrop:$(tg(d,j))},r,w),n||y?{}:{tabIndex:0}),f)}}),[w,O,k,P,R,U,B,V,j,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,o=e.onClick,i=ug(e,["refKey","onChange","onClick"]);return sg(sg({},lg({accept:r,multiple:s,type:"file",style:{display:"none"},onChange:z(tg(a,j)),onClick:z(tg(o,Y)),autoComplete:"off",tabIndex:-1},n,M)),i)}}),[M,r,s,j,n]),Z=A.length,J=Z>0&&function(e){var t=e.files,r=e.accept,n=e.minSize,a=e.maxSize,o=e.multiple,i=e.maxFiles;return!(!o&&t.length>1||o&&i>=1&&t.length>i)&&t.every((function(e){var t=Hh(Kh(e,r),1)[0],o=Hh(Zh(e,n,a),1)[0];return t&&o}))}({files:A,accept:r,minSize:i,maxSize:o,multiple:s,maxFiles:l}),X=Z>0&&!J;return sg(sg({},I),{},{isDragAccept:J,isDragReject:X,isFocused:D&&!n,getRootProps:G,getInputProps:K,rootRef:w,inputRef:M,open:z(x)})}(ug(e,["children"])),a=n.open,o=ug(n,["open"]);return(0,q.useImperativeHandle)(t,(function(){return{open:a}}),[a]),q.createElement(q.Fragment,null,r(sg(sg({},o),{},{open:a})))}));cg.displayName="Dropzone";var dg={disabled:!1,getFilesFromEvent:function(e){return Fl(this,void 0,void 0,(function(){return Ll(this,(function(t){return[2,(r=e,r.dataTransfer&&e.dataTransfer?kh(e.dataTransfer,e.type):Oh(e))];var r}))}))},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null};cg.defaultProps=dg,cg.propTypes={children:He().func,accept:He().oneOfType([He().string,He().arrayOf(He().string)]),multiple:He().bool,preventDropOnDocument:He().bool,noClick:He().bool,noKeyboard:He().bool,noDrag:He().bool,noDragEventsBubbling:He().bool,minSize:He().number,maxSize:He().number,maxFiles:He().number,disabled:He().bool,getFilesFromEvent:He().func,onFileDialogCancel:He().func,onDragEnter:He().func,onDragLeave:He().func,onDragOver:He().func,onDrop:He().func,onDropAccepted:He().func,onDropRejected:He().func,validator:He().func};const fg=cg;var mg={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]};function pg(e,t){switch(t.type){case"focus":return sg(sg({},e),{},{isFocused:!0});case"blur":return sg(sg({},e),{},{isFocused:!1});case"openDialog":return sg(sg({},e),{},{isFileDialogActive:!0});case"closeDialog":return sg(sg({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":var r=t.isDragActive,n=t.draggedFiles;return sg(sg({},e),{},{draggedFiles:n,isDragActive:r});case"setFiles":return sg(sg({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return sg(sg({},e),{},{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]});default:return e}}const hg=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."})),gg=({verificationService:e})=>{const{segment:t}=e.verificationResponse,{subSegment:r}=e.verificationResponse;let n;switch($r(t),t){case Ce.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 Ce.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 Ce.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 Ce.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 Ce.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 Ce.MILITARY:switch(r){case Ne.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."})),hg);break;case Ne.VETERAN:n=q.createElement("ul",{className:"sid-list"},q.createElement("li",{className:"sid-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"})),hg);break;case Ne.RESERVIST:n=q.createElement("ul",{className:"sid-list"},q.createElement("li",{className:"sid-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"})),hg);break;case Ne.MILITARY_RETIREE:n=q.createElement("ul",{className:"sid-list"},q.createElement("li",{className:"sid-li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.military.retiree",defaultMessage:"Any document that proves you are a retiree from the armed forces"})),hg);break;case Ne.MILITARY_FAMILY:n=q.createElement("ul",{className:"sid-list"},q.createElement("li",{className:"sid-li"},q.createElement(or,{id:"step.docUpload.acceptableUploads.military.dependent",defaultMessage:"Any document that proves you are a Registered Military Dependent"})),hg);break;default:return null}break;case Ce.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 Ce.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 Ce.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 Ce.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 Ce.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 Ce.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",null,q.createElement("strong",null,q.createElement(or,{id:"step.docUpload.acceptableUploadExamples",defaultMessage:"Acceptable examples include:"}))),n)},vg=({id:e,defaultMessage:t})=>q.createElement("span",null,q.createElement("strong",null,q.createElement(or,{id:e,defaultMessage:t}),":")),yg=({verificationService:e})=>{const{segment:t}=e.verificationResponse,{subSegment:r}=e.verificationResponse;switch($r(t),t){case Ce.STUDENT:return q.createElement("div",null,q.createElement(vg,{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 Ce.TEACHER:return q.createElement("div",null,q.createElement(vg,{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 Ce.MEMBER:return q.createElement("div",null,q.createElement(vg,{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 Ce.MILITARY:return r===Ne.MILITARY_FAMILY?q.createElement("div",null,q.createElement(vg,{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(vg,{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 Ce.SENIOR:return q.createElement("div",null,q.createElement(vg,{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 Ce.AGE:return q.createElement("div",null,q.createElement(vg,{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 Ce.FIRST_RESPONDER:return q.createElement("div",null,q.createElement(vg,{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 Ce.MEDICAL:return q.createElement("div",null,q.createElement(vg,{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 Ce.EMPLOYMENT:return q.createElement("div",null,q.createElement(vg,{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 Ce.IDENTITY:return q.createElement("div",null,q.createElement(vg,{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 Ce.LICENSED_PROFESSIONAL:return q.createElement("div",null,q.createElement(vg,{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 Ce.LOW_INCOME:return q.createElement("div",null,q.createElement(vg,{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"}))));case Ce.RECENT_MOVER:return q.createElement("div",null,q.createElement(vg,{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}},bg=Rt((({verificationService:e,intl:r})=>{var n;const a=e.verificationResponse,{rejectionReasons:i}=a,{programTheme:s}=e,l=e.viewModel,{fieldValidationErrors:u}=e,c=ie((()=>e.verificationResponse.subSegment)),{overrideEnabled:f}=e.programTheme,m=e=>{var t;return{name:e.name,url:Ho()(t=e.type).call(t,"image")?br().createObjectURL(e):""}},p=[];Ic(un)&&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)=>Hs(e,(a=>{var i,s,l,u,c,f;d()(i=Rr()(s=ee()(l=Mr()(u=o()(c=t()(e)).call(c,(t=>!!e[t]&&Ho()(t).call(t,"file")))).call(u,(t=>e[t]))).call(l,r,bf()(f=Array(3)).call(f,void 0))).call(s,0,3)).call(i,((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(!Ho()(n=[1,2,3]).call(n,r))throw new Error(`Expected either 1, 2 or 3 for argument "fileNumber", but received ${r}`);return Hs(e,(n=>{var a,i,s,l,u,c;d()(a=Rr()(i=ee()(s=Mr()(l=o()(u=t()(e)).call(u,(e=>Ho()(e).call(e,"file")&&!Ho()(e).call(e,r.toString())))).call(l,(t=>e[t]))).call(s,bf()(c=Array(3)).call(c,void 0))).call(i,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=ji(ve.docUpload,e);void 0===t?r.push(e):(a.push(e.name),n.push(t))}let o;n&&(o=Hs(u,(e=>{e.docUpload=n[0]}))),e.updateFieldValidationErrors(o),h(r,a)})(t):t.length<=0&&he.error("No files were accepted or rejected. Unknown error.","docUpload drag n drop")},y=u.docUpload||ie((()=>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?Mr()(n=l.erroredFileNames).call(n,(e=>q.createElement("div",null,e))):null):null,b=function(){var t=hr((function*(){he.info("StepDocUploadComponent submitting form after skipping document upload");const t=Hs(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-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(lm,{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-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(Pm,{verificationService:e}),i&&i.length>0?q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-l-position"},q.createElement("div",null,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"},Mr()(i).call(i,(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",null,q.createElement(or,{id:"step.docUpload.subtitle",defaultMessage:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",values:{estimatedWaitTime:ul(a,s,r).estReviewTime}})," ",q.createElement(Om,{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-l-space-top-sm"},q.createElement(yg,{verificationService:e})),wn().hideMilitaryFamilyAcceptableUploads&&c===Ne.MILITARY_FAMILY?null:q.createElement("div",{className:"sid-l-space-top-md"},q.createElement(gg,{verificationService:e}))),q.createElement("div",{className:"sid-upload-wrap sid-l-space-top-sm"},q.createElement("div",{className:"sid-dropzone-wrap"},y,q.createElement(fg,{onDrop:v},(({getRootProps:e,getInputProps:t})=>q.createElement("section",Po({},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"},Mr()(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=Js("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(Th()(e.target.files))},accept:"image/jpeg,image/gif,image/png,application/pdf,image/bmp,image/gif",ref:e=>Ks("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-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-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=Hs(u,(e=>{e.docUpload=void 0}));e.updateFieldValidationErrors(t),e.updateViewModel((e=>Hs(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-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-l-horz-center sid-l-space-top-sm"},q.createElement("a",{href:"#",className:"sid-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(xm,{verificationService:e}))})),Eg=({verificationService:e})=>{const t=e.verificationResponse.consolationRewardCode||"${consolationRewardCode}";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(lm,{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."}))),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(fr,{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}})))))},Sg=Rt((({value:e,isErrored:t,onChange:r,placeholder:n=""})=>q.createElement(Sl,{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 wg(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function Mg(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=wg(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=wg(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Cg=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,a=t.verificationResponse,{fieldValidationErrors:o}=t,[i,s]=q.useState(""),l=a.errorIds&&Ho()(r=a.errorIds).call(r,"incorrectVerificationOverrideCodeAttemptLimitExceeded"),u=e.formatHTMLMessage({id:"step.override.errors.codeOverrideLimit",defaultMessage:"Override code limit exceeded."});q.useEffect((()=>{l&&s(u)}),[]),ie((()=>a.errorIds.length))&&!t.fieldValidationErrors.overrideCode&&t.updateFieldValidationErrors(Mg(Mg({},t.fieldValidationErrors),{},{overrideCode:a.errorIds[0]}));return q.createElement("div",{id:"sid-step-overrice-code",className:"sid-l-container"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{verificationService:t,fallbackLogo:q.createElement("img",{className:"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(Sg,{value:n.overrideCode,isErrored:!!o.overrideCode,onChange:e=>{vf(Mg(Mg({},n),{},{overrideCode:e})),rl("overrideCode",e,t)}}),i&&q.createElement("div",null,q.createElement("p",null,i)),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"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-btn--dark sid-l-full-width "+(ii(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(xm,{verificationService:t}))})),Ig={StepStudentPersonalInfoComponent:Vm,StepSeniorPersonalInfoComponent:Wm,StepAgePersonalInfoComponent:Jm,StepTeacherPersonalInfoComponent:tp,StepMemberPersonalInfoComponent:ip,StepCollectMilitaryStatusComponent:({verificationService:e})=>q.createElement(hp,{verificationService:e}),StepActiveMilitaryPersonalInfoComponent:hp,StepInactiveMilitaryPersonalInfoComponent:bp,StepFirstResponderPersonalInfoComponent:Mp,StepMedicalProfessionalPersonalInfoComponent:Tp,StepEmploymentPersonalInfoComponent:kp,StepDriverLicensePersonalInfoComponent:Lp,StepGeneralIdentityPersonalInfoComponent:Vp,StepHybridIdentityPersonalInfoComponent:Hp,StepLicensedProfessionalPersonalInfoComponent:Yp,StepMoverPersonalInfoComponent:Jp,StepLowIncomePersonalInfoComponent:nh,StepSocialSecurityNumber:sh,StepSuccessComponent:mh,StepConsolationComponent:Eg,StepOverrideComponent:Cg,StepDocUploadComponent:bg,StepPendingComponent:Sh,StepSSOComponent:({verificationService:e})=>{const{programId:t}=e,r=e.viewModel,n=e.previousViewModel||void 0,a=e.verificationResponse,o=e.previousVerificationResponse||void 0,{verificationId:i}=e.verificationResponse,s=Nc();let l;const u=(t,n)=>{const a=Hs(r,(e=>{e[t]=n}));e.updateViewModel(a)},c=()=>{var e;e=window.open(a.loginUrl,"_blank"),Ys=e,Ys.focus()};return r.isSSOActive&&!s&&(l=ur()((()=>{e.fetchExistingVerificationRequest(t,i,o,n)}),1e3)),!r.countryChoice&&n&&n.countryChoice&&u("countryChoice",n.countryChoice),q.createElement("div",{id:"sid-step-sso",className:"sid-l-container"},r.isSSOActive?q.createElement("div",{className:"sid-header sid-l-horz-center"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(lm,{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"})})),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:fh})),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-submit-wrapper sid-l-space-top-md"},q.createElement("button",{onClick:()=>{Qs();const t=Hs(r,(()=>{}));he.info("StepSSOComponent submitting cancel request"),clearTimeout(l),e.submitStep(ve.sso,t,e.verificationResponse)},type:"submit",className:"sid-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-l-horz-center"},q.createElement(lm,{verificationService:e,fallbackLogo:q.createElement("img",{className:"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.sso.title",defaultMessage:"Verify using your school credentials"})),q.createElement("div",{className:"sid-header__subtitle-one"},q.createElement(or,{id:"step.sso.subtitle",defaultMessage:fh})),q.createElement("div",{className:"sid-l-space-top-xl"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("button",{id:"sid-submit-btn-sso",onClick:()=>(u("isSSOActive",!0),void c()),type:"submit",className:"sid-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-l-space-top-xl"})),q.createElement(xm,{verificationService:e}))},StepErrorComponent:dh,StepSMSLoopComponent:Ih,StepEmailLoopComponent:Nh},Ng=e=>{he.info("getComponent",e);const t=(e=>Lc[e]?(he.log(`getOverridenComponent returning ${e}`),Lc[e]):null)(e);return t||Ig[e]},Dg=({stepToLoad:e,verificationService:t})=>{let r;he.info(`LoadStepComponent: rendering step: ${e}`);let n=!1;switch(e){case ve.collectStudentPersonalInfo:r=Ng("StepStudentPersonalInfoComponent");break;case ve.collectSeniorPersonalInfo:r=Ng("StepSeniorPersonalInfoComponent");break;case ve.collectAgePersonalInfo:r=Ng("StepAgePersonalInfoComponent");break;case ve.collectTeacherPersonalInfo:r=Ng("StepTeacherPersonalInfoComponent");break;case ve.collectMemberPersonalInfo:r=Ng("StepMemberPersonalInfoComponent");break;case ve.collectMilitaryStatus:r=Ng("StepCollectMilitaryStatusComponent");break;case ve.collectActiveMilitaryPersonalInfo:r=Ng("StepActiveMilitaryPersonalInfoComponent");break;case ve.collectInactiveMilitaryPersonalInfo:r=Ng("StepInactiveMilitaryPersonalInfoComponent");break;case ve.collectFirstResponderPersonalInfo:r=Ng("StepFirstResponderPersonalInfoComponent");break;case ve.collectMedicalProfessionalPersonalInfo:r=Ng("StepMedicalProfessionalPersonalInfoComponent");break;case ve.collectEmployeePersonalInfo:r=Ng("StepEmploymentPersonalInfoComponent");break;case ve.collectDriverLicensePersonalInfo:r=Ng("StepDriverLicensePersonalInfoComponent");break;case ve.collectGeneralIdentityPersonalInfo:r=Ng("StepGeneralIdentityPersonalInfoComponent");break;case ve.collectHybridIdentityPersonalInfo:r=Ng("StepHybridIdentityPersonalInfoComponent");break;case ve.collectLicensedProfessionalPersonalInfo:r=Ng("StepLicensedProfessionalPersonalInfoComponent");break;case ve.collectMoverPersonalInfo:r=Ng("StepMoverPersonalInfoComponent");break;case ve.collectLowIncomePersonalInfo:r=Ng("StepLowIncomePersonalInfoComponent");break;case ve.collectSocialSecurityNumber:r=Ng("StepSocialSecurityNumber");break;case ve.success:r=Ng("StepSuccessComponent"),n=!0;break;case ve.consolation:r=Ng("StepConsolationComponent"),n=!0;break;case ve.override:r=Ng("StepOverrideComponent"),n=!0;break;case ve.docUpload:r=Ng("StepDocUploadComponent"),n=!0;break;case ve.pending:r=Ng("StepPendingComponent"),n=!0;break;case ve.sso:r=Ng("StepSSOComponent");break;case ve.smsLoop:r=Ng("StepSMSLoopComponent"),n=!0;break;case ve.emailLoop:r=Ng("StepEmailLoopComponent"),n=!0;break;case ve.missingRequiredMetadata:return q.createElement(dh,{verificationService:t,errorId:"missingRequiredMetadata"});case ve.error:r=Ng("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(dh,{verificationService:t,errorId:"invalidStep"})}return n?q.createElement(q.Suspense,{fallback:q.createElement(Fc,null)},q.createElement(r,{verificationService:t})):q.createElement(r,{verificationService:t})},Tg=({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);Tg.defaultProps={styles:"",children:""};const Ag=({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(pd,{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,xg=function(){var e=hr((function*(){if(!document.getElementById("ipqs"))return new(vr())((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)}}(),_g=function(){var e=hr((function*(e,t){ie((()=>e.ipqsDeviceFingerprintEnabled),!1)&&(yield xg(),window.IPQ={Callback:()=>{window.Startup.Store("transactionID",t),window.Startup.Init()}})}));return function(t,r){return e.apply(this,arguments)}}();function Og(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function kg(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Og(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Og(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Pg=({locale:e,messages:t,programTheme:r,verificationService:n})=>{q.useEffect((()=>{_g(r,n.verificationResponse.verificationId)}),[n.verificationResponse.verificationId]);const a=kg(kg({},t),ba()(Da(e)));return q.createElement(Kt,{locale:"en",key:e,messages:a,textComponent:Vo},q.createElement(Tg,{styles:Ua(r)},n.isLoading?q.createElement(Fc,{step:n.loadingStep}):q.createElement("div",{className:`${am().isRtlLang(Ta(e))?"sid-rtl":"sid-ltr"} sid-locale-${e}`},!wn().hideTestModeFlag&&q.createElement(Ag,{verificationService:n}),q.createElement(Dg,{stepToLoad:n.overrideStep||n.verificationResponse.currentStep,verificationService:n}))))},Rg=()=>{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 Fg(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function Lg(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Fg(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Fg(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}class Ug 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(Is(),Rg(),Zr(e=e=>{"setViewModel"===e.data.action&&vf(e.data.viewModel)}),window[Yc](Kc,(t=>{e(t)}),!1),(()=>{try{return new(Sr())(window.location.search).get(rn)===Se.loading||wn()[rn]===Se.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=ie((()=>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=xa(e);let r;this.props.messages&&(r=this.props.messages);const n=Lg(Lg({},r),ba()(Da(t)));if(this.props.verificationService.isLoading&&!this.props.verificationService.loadingStep)return he.info("NewVerificationComponent: VerificationService is loading"),q.createElement(Kt,{locale:"en",key:t,messages:n,textComponent:Vo},q.createElement(Fc,null));const{programTheme:a}=this.props.verificationService,{verificationResponse:o}=this.props.verificationService;return he.info("NewVerificationComponent: verificationResponse, viewModel",o,e),he.info(`NewVerificationComponent: locale: ${t}, currentStep: ${o.currentStep}, messages: `,r),q.createElement(Pg,{locale:t,messages:r,programTheme:a,verificationService:this.props.verificationService})}}const Bg=$f(((e,t)=>Lg({},e)),((e,t)=>({fetchNewVerificationRequest:Hd(e),fetchExistingVerificationRequest:$d(e),updateViewModel:Wd(e),updateLocale:Gd(e,t.programId),updateProgramTheme:Yd(e),updateFieldValidationErrors:Zd(e),submitStep:Jd(e),resetState:Kd(e)})),((e,t,r)=>Lg({verificationService:Lg(Lg({},e),t),messages:e.messages},r)))(Ug),Vg=hf();Vd("jslibVersionActual",ie((()=>Zn()),"?"));const jg=q.forwardRef((({programId:e,trackingId:t},r)=>{var n;return d()(n=ie((()=>window.sheerId.hooks),[])).call(n,(e=>{try{bd(e)}catch(t){he.warn("Error adding hook:",e,t)}})),Vg.dispatch({programId:e,type:"PROGRAM_ID"}),r&&(r.current={refresh:q.useCallback((()=>Vg.dispatch({type:"FORCE_UPDATE"})),[]),reset:q.useCallback((()=>Vg.dispatch({type:"RESET_STATE"})),[])}),q.createElement(Cf,{store:Vg},q.createElement(Ka,null,q.createElement(Bg,{programId:e,trackingId:t})))})),zg=(Rt((({value:e,isErrored:t,onChange:r,intl:n,onKeyDown:a,placeholder:o=""})=>q.createElement("div",{className:"sid-field sid-state"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(yl,{text:q.createElement(or,{id:"state",defaultMessage:"State"}),htmlForLabel:"sid-state",id:"sid-state-label",displayClasses:o&&"sid-h-screen-reader-only"}),q.createElement(vl,{id:"state",isErrored:t,onChange:e=>r(e.target.value),onKeyDown:"function"==typeof a?e=>a(e):void 0,placeholder:o||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))),Rt((({verificationService:e,includeCompanyName:t,intl:r})=>{const{programTheme:n}=e,a=Va(n),o=`${((e,t)=>{let r="";try{r=new(br())(Va(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(pd,{className:"sid-privacy-policy sid-link",href:a},t?q.createElement("span",null,o):null,q.createElement(or,{id:"privacyPolicy",defaultMessage:"Privacy Policy"}))})),(e,t)=>{e.classList.remove("fade-in"),ur()((()=>{document.body.style.overflow="auto",e.parentNode.removeChild(e)}),t)}),Hg=e=>{var t;const r=new(br())(e),n=new(br())(window.location.href);return d()(t=n.searchParams).call(t,((e,t)=>{r.searchParams.has(t)||r.searchParams.set(t,e)})),r.href};class $g{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"),$g.isValidHttpUrl(t)){const r={className:hn.INLINE_IFRAME_CONTENT,title:pn};this.containerElement=e,this.verificationUrl=new(br())(Hg(t)),this.verificationIframeUid=$g.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(br())(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}&${dn}=${encodeURIComponent(Jn())}&${fn}=${this.installType}`,this.iframe.onload=()=>this.onLoad(),this.iframe}addOnLoadEvent(e){try{Zr(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 qg=$g;class Wg{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:gn;this.verificationUrl=Hg(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=Wg.createOverlay(),this.wrapper=this.createWrapper(),this.addFocusListener()}createCloseBtn(){if(this.closeButton=document.createElement("button"),this.closeButton.classList.add(hn.CLOSE_BUTTON),this.closeButton.setAttribute("aria-label","close"),this.closeButtonText){const e=document.createElement("div");e.classList.add(hn.CLOSE_TEXT),e.innerHTML=this.closeButtonText,this.closeButton.appendChild(e)}const e=document.createElement("span");return e.classList.add(hn.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=vn;zg(this.overlay,e),zg(this.wrapper,e)}static createOverlay(){const e=document.createElement("div");return e.classList.add(hn.OVERLAY),e}createWrapper(){const e=document.createElement("div");e.classList.add(hn.MODAL_WRAPPER),e.tabIndex=-1,e.setAttribute("role","dialog"),e.appendChild(this.createCloseBtn()),this.iframeInstance=new qg(e,this.verificationUrl),this.iframeInstance.setInstallType("cdn_modal_iframe");const t={className:hn.MODAL_IFRAME,title:pn};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 Gg=Wg;const Yg=function(){var e=hr((function*(e,t){const r=yield fd.fetchProgramTheme(t);ie((()=>r.threatMetrixEnabled),!1)&&Nd(e),_g(r,e)}));return function(t,r){return e.apply(this,arguments)}}();class Kg{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 Kg))throw new Error('Method "render" not found. Did you use the "new" keyword when instantiating VerificationForm?');he.info(`Constructing VerificationFormEs5 ${t}`),Gr(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(jg,{programId:this.programId,trackingId:this.trackingId,ref:this.ref}),this.element)}unmount(){W.unmountComponentAtNode(this.element)}}class Zg{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),Gr(e),this.mountPoint=e,this.locale=xa(),this.messages=((e,t=null)=>{qr(e);let r={};wn().messagesWithLocale[e]?r=wn().messagesWithLocale[e]:wn().messagesWithLocale[en]&&(r=wn().messagesWithLocale[en]);let n={};if(t)try{n=t.intl.messages}catch(e){he.error(e,"Error accessing programTheme.intl.messages")}return(0,ya.flatten)(wa(wa({},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 Jg extends Zg{constructor(e){if(super(e),b(this,"countryCode",void 0),b(this,"programId",void 0),!(this instanceof Jg))return new Jg(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(Kt,{locale:this.locale,key:this.locale,messages:this.messages},q.createElement(bm,{countryCode:this.countryCode,onChange:e=>this.doChange(e),programId:this.programId,value:this.value,inputHtmlId:"sid-college-name"})),this.mountPoint)}}function Xg(e,r){var a=t()(e);if(n()){var i=n()(e);r&&(i=o()(i).call(i,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,i)}return a}function Qg(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Xg(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Xg(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const ev={getMessages:Aa,setViewModel:vf,resetViewModel:()=>{const e=gf.getState();e.isLoading?bd({name:"ON_VERIFICATION_READY",callback:e=>{Xd(gf.dispatch)(e)}}):Xd(gf.dispatch)(e.verificationResponse)},setOptions:Cn,resetOptions:Mn,refreshStore:()=>{wn().mockResponse&&hf().dispatch({verificationResponse:wn().mockResponse,type:"VERIFICATION_RESPONSE"}),hf().dispatch({type:"FORCE_UPDATE"})},setMetadata:kd,getMetadata:Pd,resetMetadata:()=>{Od=$()({},_d)},StudentTypeaheadField:Jg,BirthdateField:class extends Zg{render(){W.render(q.createElement(Kt,{locale:this.locale,key:this.locale,messages:this.messages},q.createElement(Mm,{value:this.value,locale:this.locale,onChange:e=>this.doChange(e),isErrored:this.isErrored,errorId:this.errorId})),this.mountPoint)}},conversion:rd,overrideComponent:Uc,resetOverriddenComponents:Bc,loadInModal:function(e,t={}){const r=new Gg(e,t);return r.init(),r},loadInlineIframe:function(e,t){const r=new qg(e,t);return r.init(),r},postVerificationSizeUpdates:function(e={origin:"*",interval:100}){if(window.self!==window.top){let t=document.body.offsetHeight;const r=hh()((()=>{if(t!==document.body.offsetHeight){t=document.body.offsetHeight;const r=t+Go()(window.getComputedStyle(document.body).marginTop,10)+Go()(window.getComputedStyle(document.body).marginBottom,10),n=new(br())(window.location.href).searchParams.get("verificationIframeUid");window.parent.postMessage({verificationIframeUid:n,action:"updateHeight",height:r},e.origin)}}),e.interval);return()=>clearInterval(r)}},addHook:bd,allMockedResponses:Cc,hooks:void 0,VerificationForm:Kg,collectDeviceProfile:Yg,resetStore:()=>hf().dispatch({type:"RESET_STATE"})};window.sheerId=Qg(Qg(Qg({},window.sheerId||{}),ev),{},{hooks:ie((()=>window.sheerId.hooks),[])}),i.p=ta(),window.sheerIdReqV=(()=>{let e;try{var t;e=z()(t=/jslib(\-nightly)?\@[a-zA-Z0-9\.\-]+/gi.exec(ta())[0].split("@")[1]).call(t)}catch(e){he.error(e)}return e})()})(),s})()));
83
83
  //# sourceMappingURL=sheerid.js.map