UNPKG

jslib-nightly

Version:

SheerID JavaScript Library

8 lines 610 kB
/*! * * VERSION: undefined * BUILD_TIMESTAMP: 1622760645472 * BUILD_DATE: Thu Jun 03 2021 22:50:45 GMT+0000 (Coordinated Universal Time) * BUILD_COMMIT: undefined */ window.sheerIdPubV="undefined",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()}(window,(function(){return function(e){function t(t){for(var n,o,a=t[0],i=t[1],s=0,l=[];s<a.length;s++)o=a[s],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&l.push(r[o][0]),r[o]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(u&&u(t);l.length;)l.shift()()}var n={},r={39:0};function o(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.e=function(e){var t=[],n=r[e];if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((function(t,o){n=r[e]=[t,o]}));t.push(n[2]=a);var i,s=document.createElement("script");s.charset="utf-8",s.timeout=120,o.nc&&s.setAttribute("nonce",o.nc),s.src=function(e){return o.p+"es5/"+({1:"messages_ar",2:"messages_bg",3:"messages_cs",4:"messages_da",5:"messages_de",6:"messages_el",7:"messages_en-GB",8:"messages_es",9:"messages_es-ES",10:"messages_fi",11:"messages_fr",12:"messages_fr-CA",13:"messages_ga",14:"messages_hr",15:"messages_hu",16:"messages_id",17:"messages_it",18:"messages_iw",19:"messages_ja",20:"messages_ko",21:"messages_lo",22:"messages_lt",23:"messages_ms",24:"messages_nl",25:"messages_no",26:"messages_pl",27:"messages_pt",28:"messages_pt-BR",29:"messages_ru",30:"messages_sk",31:"messages_sl",32:"messages_sr",33:"messages_sv",34:"messages_th",35:"messages_tr",36:"messages_zh",37:"messages_zh-HK"}[e]||e)+".bundle.js"}(e),0!==s.src.indexOf(window.location.origin+"/")&&(s.crossOrigin="anonymous");var u=new Error;i=function(t){s.onerror=s.onload=null,clearTimeout(l);var n=r[e];if(0!==n){if(n){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+o+": "+a+")",u.name="ChunkLoadError",u.type=o,u.request=a,n[1](u)}r[e]=void 0}};var l=setTimeout((function(){i({type:"timeout",target:s})}),12e4);s.onerror=s.onload=i,document.head.appendChild(s)}return Promise.all(t)},o.m=e,o.c=n,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o.oe=function(e){throw console.error(e),e};var a=window.webpackJsonpsheerid=window.webpackJsonpsheerid||[],i=a.push.bind(a);a.push=t,a=a.slice();for(var s=0;s<a.length;s++)t(a[s]);var u=i;return o(o.s=576)}([function(e,t,n){"use strict";e.exports=n(355)},function(e,t,n){"use strict";n.d(t,"d",(function(){return se})),n.d(t,"c",(function(){return Se})),n.d(t,"b",(function(){return xe})),n.d(t,"a",(function(){return Ne}));var r=n(264),o=n.n(r),a=n(94),i=n.n(a),s=n(105),u=n.n(s),l=n(4),c=n.n(l),d=n(0),f=n.n(d),p=n(160),h=n.n(p),m=n(85),g=n.n(m);function y(e){return JSON.stringify(e.map((function(e){return e&&"object"==typeof e?(t=e,Object.keys(t).sort().map((function(e){var n;return(n={})[e]=t[e],n}))):e;var t})))}var v=function(e,t){return void 0===t&&(t={}),function(){for(var n,r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=y(r),i=a&&t[a];return i||(i=new((n=e).bind.apply(n,[void 0].concat(r))),a&&(t[a]=i)),i}},b={locale:"en",pluralRuleFunction:function(e,t){var n=String(e).split("."),r=!n[1],o=Number(n[0])==e,a=o&&n[0].slice(-1),i=o&&n[0].slice(-2);return t?1==a&&11!=i?"one":2==a&&12!=i?"two":3==a&&13!=i?"few":"other":1==e&&r?"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 w(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=Array.isArray(e)?e:[e];t.forEach((function(e){e&&e.locale&&(i.a.__addLocaleData(e),u.a.__addLocaleData(e))}))}function E(e){var t=e&&e.toLowerCase();return!(!i.a.__localeData__[t]||!u.a.__localeData__[t])}var M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S=(function(){function e(e){this.value=e}function t(t){var n,r;function o(n,r){try{var i=t[n](r),s=i.value;s instanceof e?Promise.resolve(s.value).then((function(e){o("next",e)}),(function(e){o("throw",e)})):a(i.done?"return":"normal",i.value)}catch(e){a("throw",e)}}function a(e,t){switch(e){case"return":n.resolve({value:t,done:!0});break;case"throw":n.reject(t);break;default:n.resolve({value:t,done:!1})}(n=n.next)?o(n.key,n.arg):r=null}this._invoke=function(e,t){return new Promise((function(a,i){var s={key:e,arg:t,resolve:a,reject:i,next:null};r?r=r.next=s:(n=r=s,o(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")}),C=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),D=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},T=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)},A=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},O=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)},x=c.a.bool,N=c.a.number,P=c.a.string,k=c.a.func,_=c.a.object,F=c.a.oneOf,R=c.a.shape,U=c.a.any,L=c.a.oneOfType,j=F(["best fit","lookup"]),B=F(["narrow","short","long"]),z=F(["numeric","2-digit"]),H=k.isRequired,V={locale:P,timeZone:P,formats:_,messages:_,textComponent:U,defaultLocale:P,defaultFormats:_,onError:k},$={formatDate:H,formatTime:H,formatRelative:H,formatNumber:H,formatPlural:H,formatMessage:H,formatHTMLMessage:H},q=R(I({},V,$,{formatters:_,now:H})),W=(P.isRequired,L([P,_]),{localeMatcher:j,formatMatcher:F(["basic","best fit"]),timeZone:P,hour12:x,weekday:B,era:B,year:z,month:F(["numeric","2-digit","narrow","short","long"]),day:z,hour:z,minute:z,second:z,timeZoneName:F(["short","long"])}),Y={localeMatcher:j,style:F(["decimal","currency","percent"]),currency:P,currencyDisplay:F(["symbol","code","name"]),useGrouping:x,minimumIntegerDigits:N,minimumFractionDigits:N,maximumFractionDigits:N,minimumSignificantDigits:N,maximumSignificantDigits:N},G={style:F(["best fit","numeric"]),units:F(["second","minute","hour","day","month","year","second-short","minute-short","hour-short","day-short","month-short","year-short"])},K={style:F(["cardinal","ordinal"])},Z=Object.keys(V),Q={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},J=/[&><"']/g;function X(e){return(""+e).replace(J,(function(e){return Q[e]}))}function ee(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.reduce((function(t,r){return e.hasOwnProperty(r)?t[r]=e[r]:n.hasOwnProperty(r)&&(t[r]=n[r]),t}),{})}function te(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.intl;g()(t,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}function ne(e,t){if(e===t)return!0;if("object"!==(void 0===e?"undefined":M(e))||null===e||"object"!==(void 0===t?"undefined":M(t))||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(t),a=0;a<n.length;a++)if(!o(n[a])||e[n[a]]!==t[n[a]])return!1;return!0}function re(e,t,n){var r=e.props,o=e.state,a=e.context,i=void 0===a?{}:a,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},u=i.intl,l=void 0===u?{}:u,c=s.intl,d=void 0===c?{}:c;return!ne(t,r)||!ne(n,o)||!(d===l||ne(ee(d,Z),ee(l,Z)))}function oe(e,t){return"[React Intl] "+e+(t?"\n"+t:"")}function ae(e){0}function ie(e){return e.displayName||e.name||"Component"}function se(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.intlPropName,r=void 0===n?"intl":n,o=t.withRef,a=void 0!==o&&o,i=function(t){function n(e,t){S(this,n);var r=A(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,t));return te(t),r}return T(n,t),C(n,[{key:"getWrappedInstance",value:function(){return g()(a,"[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=this;return f.a.createElement(e,I({},this.props,D({},r,this.context.intl),{ref:a?function(e){return t._wrappedInstance=e}:null}))}}]),n}(d.Component);return i.displayName="InjectIntl("+ie(e)+")",i.contextTypes={intl:q},i.WrappedComponent=e,h()(i,e)}function ue(e){return i.a.prototype._resolveLocale(e)}function le(e){return i.a.prototype._findPluralRuleFunction(e)}var ce=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};S(this,e);var r="ordinal"===n.style,o=le(ue(t));this.format=function(e){return o(e,r)}},de=Object.keys(W),fe=Object.keys(Y),pe=Object.keys(G),he=Object.keys(K),me={second:60,minute:60,hour:24,day:30,month:12};function ge(e){var t=u.a.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 ye(e,t,n,r){var o=e&&e[t]&&e[t][n];if(o)return o;r(oe("No "+t+" format named: "+n))}function ve(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=e.locale,a=e.formats,i=e.messages,s=e.defaultLocale,u=e.defaultFormats,l=n.id,c=n.defaultMessage;g()(l,"[React Intl] An `id` must be provided to format a message.");var d=i&&i[l],f=Object.keys(r).length>0;if(!f)return d||c||l;var p=void 0,h=e.onError||ae;if(d)try{var m=t.getMessageFormat(d,o,a);p=m.format(r)}catch(e){h(oe('Error formatting message: "'+l+'" for locale: "'+o+'"'+(c?", using default message as fallback.":""),e))}else(!c||o&&o.toLowerCase()!==s.toLowerCase())&&h(oe('Missing message: "'+l+'" for locale: "'+o+'"'+(c?", using default message as fallback.":"")));if(!p&&c)try{var y=t.getMessageFormat(c,s,u);p=y.format(r)}catch(e){h(oe('Error formatting the default message for: "'+l+'"',e))}return p||h(oe('Cannot format message: "'+l+'", using message '+(d||c?"source":"id")+" as fallback.")),p||d||c||l}var be=Object.freeze({formatDate:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=e.locale,a=e.formats,i=e.timeZone,s=r.format,u=e.onError||ae,l=new Date(n),c=I({},i&&{timeZone:i},s&&ye(a,"date",s,u)),d=ee(r,de,c);try{return t.getDateTimeFormat(o,d).format(l)}catch(e){u(oe("Error formatting date.",e))}return String(l)},formatTime:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=e.locale,a=e.formats,i=e.timeZone,s=r.format,u=e.onError||ae,l=new Date(n),c=I({},i&&{timeZone:i},s&&ye(a,"time",s,u)),d=ee(r,de,c);d.hour||d.minute||d.second||(d=I({},d,{hour:"numeric",minute:"numeric"}));try{return t.getDateTimeFormat(o,d).format(l)}catch(e){u(oe("Error formatting time.",e))}return String(l)},formatRelative:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=e.locale,a=e.formats,i=r.format,s=e.onError||ae,l=new Date(n),c=new Date(r.now),d=i&&ye(a,"relative",i,s),f=ee(r,pe,d),p=I({},u.a.thresholds);ge(me);try{return t.getRelativeFormat(o,f).format(l,{now:isFinite(c)?c:t.now()})}catch(e){s(oe("Error formatting relative time.",e))}finally{ge(p)}return String(l)},formatNumber:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=e.locale,a=e.formats,i=r.format,s=e.onError||ae,u=i&&ye(a,"number",i,s),l=ee(r,fe,u);try{return t.getNumberFormat(o,l).format(n)}catch(e){s(oe("Error formatting number.",e))}return String(n)},formatPlural:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=e.locale,a=ee(r,he),i=e.onError||ae;try{return t.getPluralFormat(o,a).format(n)}catch(e){i(oe("Error formatting plural.",e))}return"other"},formatMessage:ve,formatHTMLMessage:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=Object.keys(r).reduce((function(e,t){var n=r[t];return e[t]="string"==typeof n?X(n):n,e}),{});return ve(e,t,n,o)}}),we=Object.keys(V),Ee=Object.keys($),Me={formats:{},messages:{},timeZone:null,textComponent:"span",defaultLocale:"en",defaultFormats:{},onError:ae},Se=function(e){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};S(this,t);var r=A(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));g()("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 o=n.intl,a=void 0;a=isFinite(e.initialNow)?Number(e.initialNow):o?o.now():Date.now();var s=o||{},l=s.formatters,c=void 0===l?{getDateTimeFormat:v(Intl.DateTimeFormat),getNumberFormat:v(Intl.NumberFormat),getMessageFormat:v(i.a),getRelativeFormat:v(u.a),getPluralFormat:v(ce)}:l;return r.state=I({},c,{now:function(){return r._didDisplay?Date.now():a}}),r}return T(t,e),C(t,[{key:"getConfig",value:function(){var e=this.context.intl,t=ee(this.props,we,e);for(var n in Me)void 0===t[n]&&(t[n]=Me[n]);if(!function(e){for(var t=(e||"").split("-");t.length>0;){if(E(t.join("-")))return!0;t.pop()}return!1}(t.locale)){var r=t,o=r.locale,a=r.defaultLocale,i=r.defaultFormats;(0,r.onError)(oe('Missing locale data for locale: "'+o+'". Using default locale: "'+a+'" as fallback.')),t=I({},t,{locale:a,formats:i,messages:Me.messages})}return t}},{key:"getBoundFormatFns",value:function(e,t){return Ee.reduce((function(n,r){return n[r]=be[r].bind(null,e,t),n}),{})}},{key:"getChildContext",value:function(){var e=this.getConfig(),t=this.getBoundFormatFns(e,this.state),n=this.state,r=n.now,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(n,["now"]);return{intl:I({},e,t,{formatters:o,now:r})}}},{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return re.apply(void 0,[this].concat(t))}},{key:"componentDidMount",value:function(){this._didDisplay=!0}},{key:"render",value:function(){return d.Children.only(this.props.children)}}]),t}(d.Component);Se.displayName="IntlProvider",Se.contextTypes={intl:q},Se.childContextTypes={intl:q.isRequired};var Ce=function(e){function t(e,n){S(this,t);var r=A(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return te(n),r}return T(t,e),C(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return re.apply(void 0,[this].concat(t))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatDate,n=e.textComponent,r=this.props,o=r.value,a=r.children,i=t(o,this.props);return"function"==typeof a?a(i):f.a.createElement(n,null,i)}}]),t}(d.Component);Ce.displayName="FormattedDate",Ce.contextTypes={intl:q};var De=function(e){function t(e,n){S(this,t);var r=A(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return te(n),r}return T(t,e),C(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return re.apply(void 0,[this].concat(t))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatTime,n=e.textComponent,r=this.props,o=r.value,a=r.children,i=t(o,this.props);return"function"==typeof a?a(i):f.a.createElement(n,null,i)}}]),t}(d.Component);De.displayName="FormattedTime",De.contextTypes={intl:q};var Ie=function(e){function t(e,n){S(this,t);var r=A(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));te(n);var o=isFinite(e.initialNow)?Number(e.initialNow):n.intl.now();return r.state={now:o},r}return T(t,e),C(t,[{key:"scheduleNextUpdate",value:function(e,t){var n=this;clearTimeout(this._timer);var r=e.value,o=e.units,a=e.updateInterval,i=new Date(r).getTime();if(a&&isFinite(i)){var s=i-t.now,u=function(e){switch(e){case"second":return 1e3;case"minute":return 6e4;case"hour":return 36e5;case"day":return 864e5;default:return 2147483647}}(o||function(e){var t=Math.abs(e);return t<6e4?"second":t<36e5?"minute":t<864e5?"hour":"day"}(s)),l=Math.abs(s%u),c=s<0?Math.max(a,u-l):Math.max(a,l);this._timer=setTimeout((function(){n.setState({now:n.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 n=new Date(e).getTime(),r=new Date(t).getTime();return isFinite(n)&&isFinite(r)&&n===r})(e.value,this.props.value)||this.setState({now:this.context.intl.now()})}},{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return re.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,n=e.textComponent,r=this.props,o=r.value,a=r.children,i=t(o,I({},this.props,this.state));return"function"==typeof a?a(i):f.a.createElement(n,null,i)}}]),t}(d.Component);Ie.displayName="FormattedRelative",Ie.contextTypes={intl:q},Ie.defaultProps={updateInterval:1e4};var Te=function(e){function t(e,n){S(this,t);var r=A(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return te(n),r}return T(t,e),C(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return re.apply(void 0,[this].concat(t))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatNumber,n=e.textComponent,r=this.props,o=r.value,a=r.children,i=t(o,this.props);return"function"==typeof a?a(i):f.a.createElement(n,null,i)}}]),t}(d.Component);Te.displayName="FormattedNumber",Te.contextTypes={intl:q};var Ae=function(e){function t(e,n){S(this,t);var r=A(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return te(n),r}return T(t,e),C(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return re.apply(void 0,[this].concat(t))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatPlural,n=e.textComponent,r=this.props,o=r.value,a=r.other,i=r.children,s=t(o,this.props),u=this.props[s]||a;return"function"==typeof i?i(u):f.a.createElement(n,null,u)}}]),t}(d.Component);Ae.displayName="FormattedPlural",Ae.contextTypes={intl:q},Ae.defaultProps={style:"cardinal"};var Oe=function(e,t){return ve({},{getMessageFormat:v(i.a)},e,t)},xe=function(e){function t(e,n){S(this,t);var r=A(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return e.defaultMessage||te(n),r}return T(t,e),C(t,[{key:"shouldComponentUpdate",value:function(e){var t=this.props.values,n=e.values;if(!ne(n,t))return!0;for(var r=I({},e,{values:t}),o=arguments.length,a=Array(o>1?o-1:0),i=1;i<o;i++)a[i-1]=arguments[i];return re.apply(void 0,[this,r].concat(a))}},{key:"render",value:function(){var e,t=this.context.intl||{},n=t.formatMessage,r=void 0===n?Oe:n,o=t.textComponent,a=void 0===o?"span":o,i=this.props,s=i.id,u=i.description,l=i.defaultMessage,c=i.values,f=i.tagName,p=void 0===f?a:f,h=i.children,m=void 0,g=void 0,y=void 0;if(c&&Object.keys(c).length>0){var v=Math.floor(1099511627776*Math.random()).toString(16),b=(e=0,function(){return"ELEMENT-"+v+"-"+(e+=1)});m="@__"+v+"__@",g={},y={},Object.keys(c).forEach((function(e){var t=c[e];if(Object(d.isValidElement)(t)){var n=b();g[e]=m+n+m,y[n]=t}else g[e]=t}))}var w=r({id:s,description:u,defaultMessage:l},g||c),E=void 0;return E=y&&Object.keys(y).length>0?w.split(m).filter((function(e){return!!e})).map((function(e){return y[e]||e})):[w],"function"==typeof h?h.apply(void 0,O(E)):d.createElement.apply(void 0,[p,null].concat(O(E)))}}]),t}(d.Component);xe.displayName="FormattedMessage",xe.contextTypes={intl:q},xe.defaultProps={values:{}};var Ne=function(e){function t(e,n){S(this,t);var r=A(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return te(n),r}return T(t,e),C(t,[{key:"shouldComponentUpdate",value:function(e){var t=this.props.values,n=e.values;if(!ne(n,t))return!0;for(var r=I({},e,{values:t}),o=arguments.length,a=Array(o>1?o-1:0),i=1;i<o;i++)a[i-1]=arguments[i];return re.apply(void 0,[this,r].concat(a))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatHTMLMessage,n=e.textComponent,r=this.props,o=r.id,a=r.description,i=r.defaultMessage,s=r.values,u=r.tagName,l=void 0===u?n:u,c=r.children,d=t({id:o,description:a,defaultMessage:i},s);if("function"==typeof c)return c(d);var p={__html:d};return f.a.createElement(l,{dangerouslySetInnerHTML:p})}}]),t}(d.Component);Ne.displayName="FormattedHTMLMessage",Ne.contextTypes={intl:q},Ne.defaultProps={values:{}},w(b),w(o.a)},function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(73),o=n.n(r),a=n(6);let i=4,s="";const u={info:1,log:2,warn:3,error:4},l={info:"#26c1db",log:"#09f979",warn:"#f6b13f",error:"#e12046"},c="color: white; font-weight: bold; padding: 2px 10px;";let d;const f=(...e)=>{i<=3&&console.warn(`%c${s} warn`,`background: ${l.warn};${c}`,...e)},p={error:(e,t)=>{if(i<=4){if(!e)return void console.error(new Error("An error must be supplied"));let r;"string"==typeof e&&(r=new Error(e)),(n=e)&&n.stack&&n.message&&(r=e),r||(r=new Error("Unknown error"));let i={errorMessageGroup:t};try{if(d&&d.getState){const e=d.getState(),n=Object(a.c)(()=>e.verificationResponse.errorIds);i={errorMessageGroup:t,programId:Object(a.c)(()=>e.programId),isLoading:Object(a.c)(()=>e.isLoading),isErrored:Object(a.c)(()=>e.isErrored),errorIdsFromVerRsp:o()(n)?n.join:void 0,verificationId:Object(a.c)(()=>e.verificationResponse.verificationId),currentStep:Object(a.c)(()=>e.verificationResponse.currentStep),locale:Object(a.c)(()=>e.programTheme.intl.locale),isTestMode:Object(a.c)(()=>e.programTheme.isTestMode),openOrgSearchEnabled:Object(a.c)(()=>e.programTheme.openOrgSearchEnabled),jslibVerActual:Object(a.c)(()=>window.sheerIdPubV,"?"),jslibVerRequested:Object(a.c)(()=>window.sheerIdReqV,"?")}}}catch(n){console.warn("Unable to assemble useful error attributes",n)}try{window.NREUM?window.NREUM.noticeError(r,i):f("Off-site logging not available.")}catch(n){console.error("Unable to send error to remote service",n)}console.error(`%c${s} error`,`background: ${l.error};${c}`,r,i)}var n},warn:f,log:(...e)=>{i<=2&&console.log(`%c${s} log`,`background: ${l.log};${c}`,...e)},info:(...e)=>{i<=1&&console.log(`%c${s} info`,`background: ${l.info};${c}`,...e)},logAPIResponseTime:(e,t)=>{window.NREUM?window.NREUM.addPageAction("API-calls-timing",{api_call:e,api_response_time:t}):f("Off-site logging not available.")},setLogLevel:e=>{if(!u.hasOwnProperty(e))throw new Error(`Unknown logLevel '${e}'`);i=u[e],console.log(`%c${s} log level set to ${e}`,`background: ${l[e]};${c}`)},setPrefix:e=>{s=e},init:e=>{d=e}}},function(e,t,n){"use strict";n.d(t,"e",(function(){return i})),n.d(t,"p",(function(){return s})),n.d(t,"o",(function(){return u})),n.d(t,"n",(function(){return c})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return f})),n.d(t,"j",(function(){return p})),n.d(t,"k",(function(){return h})),n.d(t,"m",(function(){return m})),n.d(t,"g",(function(){return g})),n.d(t,"c",(function(){return y})),n.d(t,"f",(function(){return v})),n.d(t,"a",(function(){return b})),n.d(t,"b",(function(){return w})),n.d(t,"d",(function(){return M})),n.d(t,"q",(function(){return S})),n.d(t,"l",(function(){return C}));var r=n(54),o=n.n(r),a=n(2);const i=["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","ru","sk","sl","sr","sv","th","tr","zh-HK","zh"];let s;!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.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"}(s||(s={}));const u=o()(s);let l;!function(e){e.docUpload="docUpload",e.pending="pending",e.error="error"}(l||(l={}));const c=o()(l);let d;!function(e){e.loading="loading"}(d||(d={}));const f=[...o()(s),...o()(d)];let p;!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"}(p||(p={}));const h=o()(p);let m;!function(e){e.ACTIVE_DUTY="activeDuty",e.VETERAN="veteran",e.RESERVIST="reservist",e.MILITARY_RETIREE="retiree",e.MILITARY_FAMILY="militaryFamily",e.FIREFIGHTER="fireFighter",e.POLICE="police",e.EMT="emt",e.NURSE="nurse",e.DRIVER_LICENSE="driverLicense",e.GENERAL_IDENTITY="generalIdentity",e.HYBRID_IDENTITY="hybridIdentity"}(m||(m={}));o()(m);let g,y,v;!function(e){e.ACTIVE_DUTY="Active Duty",e.MILITARY_RETIREE="Military Retiree",e.RESERVIST="Reservist",e.VETERAN="Veteran",e.MILITARY_FAMILY="Registered Military Dependent"}(g||(g={})),function(e){e.FIREFIGHTER="Firefighter",e.POLICE="Police",e.EMT="EMT"}(y||(y={})),function(e){e.NURSE="Nurse",e.DOCTOR="Doctor",e.OTHER_HEALTH_WORKER="Other Health Worker"}(v||(v={}));o()(g),o()(y),o()(v);let b;!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.docUpload="docUpload",e.status="status",e.statuses="statuses",e.marketConsentValue="marketConsentValue",e.socialSecurityNumber="socialSecurityNumber",e.carrierConsentValue="carrierConsentValue",e.driverLicenseNumber="driverLicenseNumber"}(b||(b={}));const w=o()(b);let E;!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||(E={}));const M=o()(E),S=e=>{a.a.info("Registering additional locales "+e.join(", ")),i.push(...e)};let C;!function(e){e.AK="AK",e.AL="AL",e.AR="AR",e.AZ="AZ",e.CA="CA",e.CO="CO",e.CT="CT",e.DC="DC",e.DE="DE",e.FL="FL",e.GA="GA",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.RI="RI",e.SC="SC",e.SD="SD",e.TN="TN",e.TX="TX",e.UT="UT",e.VA="VA",e.VT="VT",e.WA="WA",e.WI="WI",e.WV="WV",e.WY="WY"}(C||(C={}))},function(e,t,n){e.exports=n(401)()},function(e,t,n){"use strict";n.d(t,"o",(function(){return v})),n.d(t,"i",(function(){return b})),n.d(t,"n",(function(){return w})),n.d(t,"m",(function(){return E})),n.d(t,"k",(function(){return M})),n.d(t,"c",(function(){return S})),n.d(t,"h",(function(){return D})),n.d(t,"g",(function(){return I})),n.d(t,"l",(function(){return T})),n.d(t,"f",(function(){return A})),n.d(t,"a",(function(){return O})),n.d(t,"d",(function(){return x})),n.d(t,"b",(function(){return N})),n.d(t,"e",(function(){return P})),n.d(t,"j",(function(){return k}));var r=n(9),o=n.n(r),a=n(16),i=n.n(a),s=n(28),u=n.n(s),l=n(23),c=n(24),d=n(2),f=n(59),p=n(19),h=n(3),m=n(6),g=n(21),y=n(36);const v=(e,t)=>{const n=t.viewModel,r=Object(l.c)(n,t=>{t.organization.id=e.id,t.organization.idExtended=e.idExtended,t.organization.name=e.name,n.organization&&void 0!==n.organization.source&&(t.organization.source=n.organization.source)});t.updateViewModel(r)},b=e=>{const t=e.viewModel,n=Object(y.c)(),r=Object(l.c)(t,e=>{var r;o()(r=i()(t)).call(r,t=>{n.has(t)&&(e[t]=n.get(t))})});e.updateViewModel(r)},w=(e,t,n)=>{const{fieldValidationErrors:r}=n,o=Object(l.c)(r,r=>{r[e]&&(r[e]=Object(c.g)(e,t,n.formValidationOptions))});E(o,n)},E=(e,t)=>{t.updateFieldValidationErrors(e)},M=(e,t)=>Object(m.c)(()=>1===t.length)&&"US"===Object(m.c)(()=>t[0])||Object(m.c)(()=>"US"===e.value)||Object(m.c)(()=>void 0===e.value),S=(e,t)=>{const n=e.verificationResponse.availableStatuses||e.previousVerificationResponse&&e.previousVerificationResponse.availableStatuses,r=[];if(!n)return null;for(const e of n)r.push({value:e,label:t.formatMessage({id:e,defaultMessage:h.g[e]})});return r},C=e=>"birthDate"===e||"birthDateDay"===e?"birthDateYear":e,D=e=>{const t=Object(p.b)("submitButton");"Enter"===e.key&&t&&t.click()},I=e=>{"Tab"!==e.key||e.shiftKey||(e.preventDefault(),Object(f.a)("organization"))},T=(e,t,n)=>{const r=Object(c.b)(e,t.formValidationOptions);if(!Object(c.d)(r))d.a.info(n+" submitting form"),t.submitStep(n,e,t.verificationResponse);else{const e=((e,t)=>{let n;for(const r of e)if(t[r])return n=r,C(n)})((()=>{const e=Object(p.c)(),t=[];return u()(e).call(e,e=>t.push(e.fieldId)),t})(),r);E(r,t),Object(f.a)(e)}},A=(e,t,n)=>({estReviewTime:n.formatMessage({id:"dateTime."+(Object(m.c)(()=>e.estimatedReviewTime)||Object(g.e)(t)),default:"a few minutes"}),maxReviewTime:n.formatMessage({id:"dateTime."+(Object(m.c)(()=>e.maxReviewTime)||Object(g.i)(t)),default:"2 hours"})}),O=(e,t)=>{const n=Object(g.b)(e);return u()(n).call(n,e=>({value:e,label:t.formatMessage({id:"countries."+e,defaultMessage:e})}))},x=(e,t)=>{const n=Object(g.c)(e);return u()(n).call(n,e=>({value:e,label:t.formatMessage({id:"states."+e,defaultMessage:e})}))},N=(e,t)=>{const n=Object(g.a)(e);return u()(n).call(n,e=>({value:e,label:t.formatMessage({id:"locales."+e,defaultMessage:e})}))},P=e=>e.length>0?e[0]:{value:"US",label:"United States"},k=(e,t,n)=>Object(l.c)(e,e=>{e[t]=n})},function(e,t,n){"use strict";n.d(t,"a",(function(){return y})),n.d(t,"c",(function(){return v})),n.d(t,"b",(function(){return b}));var r=n(9),o=n.n(r),a=n(16),i=n.n(a),s=n(73),u=n.n(s),l=n(159),c=n.n(l),d=n(76),f=n.n(d),p=n(262),h=n.n(p),m=n(263),g=n.n(m);function y(e){return g()(e)}function v(e,t){try{return e()}catch(e){return t}}function b(...e){const t=e=>e&&"object"==typeof e;function n(e,r){var a;return o()(a=i()(r)).call(a,o=>{const a=e[o],i=r[o];u()(a)&&u()(i)?e[o]=c()(a).call(a,i):t(a)&&t(i)?e[o]=n(f()({},a),i):e[o]=i}),e}if(e.length<2)throw new Error("deepMerge: this function expects at least 2 objects to be provided");if(h()(e).call(e,e=>!t(e)))throw new Error('deepMerge: all values should be of type "object"');const r=e.shift();let a;for(;a=e.shift();)n(r,a);return r}},function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a})),n.d(t,"g",(function(){return i})),n.d(t,"n",(function(){return s})),n.d(t,"j",(function(){return u})),n.d(t,"k",(function(){return l})),n.d(t,"h",(function(){return c})),n.d(t,"i",(function(){return d})),n.d(t,"m",(function(){return f})),n.d(t,"d",(function(){return p})),n.d(t,"e",(function(){return h})),n.d(t,"l",(function(){return m})),n.d(t,"p",(function(){return g})),n.d(t,"f",(function(){return y})),n.d(t,"o",(function(){return v}));const r="en-US",o="https://cdn.jsdelivr.net/npm/@sheerid/jslib@1/",a=["image/png","image/gif","image/jpg","image/jpeg","image/bmp","application/pdf"],i=3,s="file",u="mockStep",l="mockSubSegment",c="mockErrorId",d="mockPreviousStep",f=9,p=1,h="https://www.sheerid.com/privacy-policy/",m="SheerID",g={MAX_RESULT_SIZE:25,ORG_TYPES:"UNIVERSITY,HIGH_SCHOOL,K12",DEFAULT_ORG_TYPES:"UNIVERSITY",URL_REGEX:/(https?:\/\/(www\.)?)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)/,SCHOOL_HOUSE_URL:"https://s3.amazonaws.com/com.sheerid.resources/common/images/requestOrganization/school.svg",SHEERID_LOGO_URL:"https://s3.amazonaws.com/com.sheerid.resources/common/images/requestOrganization/logo.svg",FEEDBACK_FORM_URL:"https://verify.sheerid.com/verification-support/feedback.html?token="},y=1e4,v={CLASS_NAMES:{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"},DEFAULT_MOBILE_THRESHOLD_WIDTH:620,MODAL_OPACITY_TRANSITION_PERIOD:300}},function(e,t,n){"use strict";n.d(t,"a",(function(){return N})),n.d(t,"b",(function(){return P})),n.d(t,"c",(function(){return k}));var r=n(11),o=n.n(r),a=n(17),i=n.n(a),s=n(12),u=n.n(s),l=n(9),c=n.n(l),d=n(13),f=n.n(d),p=n(22),h=n.n(p),m=n(20),g=n.n(m),y=n(10),v=n.n(y),b=n(16),w=n.n(b),E=n(2),M=n(36),S=n(15),C=n(7),D=n(3),I=n(6);function T(e,t){var n=w()(e);if(o.a){var r=o()(e);t&&(r=i()(r).call(r,(function(t){return u()(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n,r=null!=arguments[t]?arguments[t]:{};if(t%2)c()(n=T(Object(r),!0)).call(n,(function(t){v()(e,t,r[t])}));else if(f.a)h()(e,f()(r));else{var o;c()(o=T(Object(r))).call(o,(function(t){g()(e,t,u()(r,t))}))}}return e}const O={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,doFetchTheme:!0,logLevel:"error",locale:null,messages:{},messagesWithLocale:{},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/licensed-professional-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:C.d,httpRequestTimeout:C.f};let x=A({},O);const N=()=>x,P=()=>{x=A({},O)},k=e=>{if(e.hasOwnProperty("logLevel")){try{E.a.setLogLevel(e.logLevel)}catch(e){console.error(e)}x.logLevel=e.logLevel}if(e.hasOwnProperty("restApi")){if(e.restApi.hasOwnProperty("serviceUrl")){const t=Object(M.a)(e.restApi.serviceUrl);x.restApi.serviceUrl=t,E.a.info('option "serviceUrl" set to '+x.restApi.serviceUrl)}}e.hasOwnProperty(C.j)&&(Object(S.i)(e[C.j]),x[C.j]=e[C.j],E.a.info(`option "${C.j}" set to ${x[C.j]}`)),e.hasOwnProperty(C.i)&&(Object(S.i)(e[C.j]),x[C.i]=e[C.i],E.a.info(`option "${C.i}" set to ${x[C.i]}`)),e.hasOwnProperty(C.k)&&(x[C.k]=e[C.k],E.a.info(`option "${C.k}" set to ${x[C.k]}`)),e.hasOwnProperty(C.h)&&(x[C.h]=e[C.h],E.a.info(`option "${C.h}" set to ${x[C.h]}`)),e.hasOwnProperty("messages")&&(x.messagesWithLocale=A(A({},x.messagesWithLocale),{},{"en-US":e.messages}),E.a.warn('option "messages" has been deprecated and replaced with "messagesWithLocale". Messages have been set for locale "en-US" using: ',x.messagesWithLocale,'\nThese messages will override existing messages of the same key for "en-US" locale.')),e.hasOwnProperty("messagesWithLocale")&&(x.messagesWithLocale=Object(I.b)({},x.messagesWithLocale,e.messagesWithLocale),e&&e.messagesWithLocale&&Object(D.q)(w()(e.messagesWithLocale)),E.a.info('option "messagesWithLocale" set to',x.messagesWithLocale)),e.hasOwnProperty("locale")&&(Object(S.h)(e.locale),x.locale=e.locale,E.a.info('option "locale" set to '+x.locale)),e.hasOwnProperty("urlStudentFaq")&&(x.urlStudentFaq=e.urlStudentFaq,E.a.info('option "urlStudentFaq" set to '+x.urlStudentFaq)),e.hasOwnProperty("urlSeniorFaq")&&(x.urlSeniorFaq=e.urlSeniorFaq,E.a.info('option "urlSeniorFaq" set to '+x.urlSeniorFaq)),e.hasOwnProperty("urlMilitaryFaq")&&(x.urlMilitaryFaq=e.urlMilitaryFaq,E.a.info('option "urlMilitaryFaq" set to '+x.urlMilitaryFaq)),e.hasOwnProperty("urlTeacherFaq")&&(x.urlTeacherFaq=e.urlTeacherFaq,E.a.info('option "urlTeacherFaq" set to '+x.urlTeacherFaq)),e.hasOwnProperty("urlMemberFaq")&&(x.urlMemberFaq=e.urlMemberFaq,E.a.info('option "urlMemberFaq" set to '+x.urlMemberFaq)),e.hasOwnProperty("urlMedicalFaq")&&(x.urlMedicalFaq=e.urlMedicalFaq,E.a.info('option "urlMedicalFaq" set to '+x.urlMedicalFaq)),e.hasOwnProperty("urlEmploymentFaq")&&(x.urlEmploymentFaq=e.urlEmploymentFaq,E.a.info('option "urlEmploymentFaq" set to '+x.urlEmploymentFaq)),e.hasOwnProperty("urlAddSchoolFaq")&&(x.urlAddSchoolFaq=e.urlAddSchoolFaq,E.a.info('option "urlAddSchoolFaq" set to '+x.urlAddSchoolFaq)),e.hasOwnProperty("urlAddSchoolForm")&&(x.urlAddSchoolForm=e.urlAddSchoolForm,E.a.info('option "urlAddSchoolForm" set to '+x.urlAddSchoolForm)),e.hasOwnProperty("doFetchTheme")&&(x.doFetchTheme=e.doFetchTheme,E.a.info('option "doFetchTheme" set to '+x.doFetchTheme)),e.hasOwnProperty("cookies")&&(x.cookies=A(A({},x.cookies),e.cookies),E.a.info('option "cookies" set to',x.cookies)),e.hasOwnProperty("useFingerprinting")&&(x.useFingerprinting=e.useFingerprinting,E.a.info('option "useFingerprinting" set to',x.useFingerprinting)),e.hasOwnProperty("marketConsent")&&(x.marketConsent=e.marketConsent,E.a.info('option "market consent" set to',x.marketConsent)),e.hasOwnProperty("verificationId")&&(x.verificationId=e.verificationId,E.a.info('option "verificationId" set to',x.verificationId)),e.hasOwnProperty("minimumOrganizationSearchLength")&&(x.minimumOrganizationSearchLength=e.minimumOrganizationSearchLength,E.a.info('option "minimumOrganizationSearchLength" set to',x.minimumOrganizationSearchLength)),e.hasOwnProperty("customCss")&&(x.customCss=e.customCss,E.a.info('option "customCss" set to',x.customCss)),e.hasOwnProperty("logoUrl")&&(x.logoUrl=e.logoUrl,E.a.info('option "logoUrl" set to',x.logoUrl)),e.hasOwnProperty("httpRequestTimeout")&&(x.httpRequestTimeout=e.httpRequestTimeout,E.a.info('option "httpRequestTimeout" set to',x.httpRequestTimeout)),e.hasOwnProperty("privacyPolicyUrl")&&(x.privacyPolicyUrl=e.privacyPolicyUrl,E.a.info('option "privacyPolicyUrl" set to',x.privacyPolicyUrl))}},function(e,t,n){e.exports=n(326)},function(e,t,n){var r=n(343);e.exports=function(e,t,n){return t in e?r(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){e.exports=n(312)},function(e,t,n){e.exports=n(323)},function(e,t,n){e.exports=n(334)},function(e,t,n){var r=n(411);function o(e,t,n,o,a,i,s){try{var u=e[i](s),l=u.value}catch(e){return void n(e)}u.done?t(l):r.resolve(l).then(o,a)}e.exports=function(e){return function(){var t=this,n=arguments;return new r((function(r,a){var i=e.apply(t,n);function s(e){o(i,r,a,s,u,"next",e)}function u(e){o(i,r,a,s,u,"throw",e)}s(void 0)}))}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";n.d(t,"m",(function(){return s})),n.d(t,"i",(function(){return u})),n.d(t,"k",(function(){return l})),n.d(t,"h",(function(){return c})),n.d(t,"n",(function(){return d})),n.d(t,"g",(function(){return f})),n.d(t,"j",(function(){return p})),n.d(t,"c",(function(){return h})),n.d(t,"e",(function(){return m})),n.d(t,"f",(function(){return g})),n.d(t,"d",(function(){return y})),n.d(t,"l",(function(){return v})),n.d(t,"a",(function(){return b})),n.d(t,"b",(function(){return w}));var r=n(34),o=n.n(r),a=n(3),i=n(47);const s=e=>{if(o()(a.o).call(a.o,e)<0)throw new Error(`Expected valid verification step name but received "${e}".`)},u=e=>{if(o()(a.h).call(a.h,e)<0)throw new Error(`Expected valid verification step name but received "${e}".`)},l=e=>{if(o()(a.k).call(a.k,e)<0)throw new Error(`Expected valid segment name but received "${e}".`)},c=e=>{if(!d(e))throw new Error(`Invalid locale ${e}, expected one of ${a.e.join(", ")}`)},d=e=>o()(a.e).call(a.e,e)>-1,f=e=>{if(!e||e.nodeType!==Node.ELEMENT_NODE)throw new Error(`Expected argument of type Node.ELEMENT_NODE but received "${typeof e} ${e.nodeType}"`)},p=e=>{w(e)},h=e=>{const t=Object(i.c)();if(o()(a.b).call(a.b,e)<0&&o()(t).call(t,e)<0)throw new Error(`Expected valid field ID but received ${e}.\n Valid FieldIds are [${a.b.join(", ")}, ${t.join(", ")}]`)},m=e=>{g(e.name),y(e.callback)},g=e=>{if(o()(a.d).call(a.d,e)<0)throw new Error(`Expected valid hook name but received ${e}. Valid HookNames are [${a.d.join(", ")}]`)},y=e=>{if("function"!=typeof e)throw new Error('Expected type "function", but received '+typeof e)},v=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 greather than 0.")},b=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.')},w=e=>{if(!new RegExp("^[0-9a-fA-F]{24}$").test(e))throw new Error(`Invalid databaseId "${e}". Expected a 24-digit hexadecimal string.`)}},function(e,t,n){e.exports=n(310)},function(e,t,n){e.exports=n(319)},function(e,t,n){"use strict";var r=n(32),o=n(109).f,a=n(222),i=n(27),s=n(97),u=n(66),l=n(57),c=function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,d,f,p,h,m,g,y,v=e.target,b=e.global,w=e.stat,E=e.proto,M=b?r:w?r[v]:(r[v]||{}).prototype,S=b?i:i[v]||(i[v]={}),C=S.prototype;for(f in t)n=!a(b?f:v+(w?".":"#")+f,e.forced)&&M&&l(M,f),h=S[f],n&&(m=e.noTargetGet?(y=o(M,f))&&y.value:M[f]),p=n&&m?m:t[f],n&&typeof h==typeof p||(g=e.bind&&n?s(p,r):e.wrap&&n?c(p):E&&"function"==typeof p?s(Function.call,p):p,(e.sham||p&&p.sham||h&&h.sham)&&u(g,"sham",!0),S[f]=g,E&&(l(i,d=v+"Prototype")||u(i,d,{}),i[d][f]=p,e.real&&C&&!C[f]&&u(C,f,p)))}},function(e,t,n){"use strict";n.d(t,"f",(function(){return u})),n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return d})),n.d(t,"g",(function(){return f})),n.d(t,"d",(function(){return p})),n.d(t,"a",(function(){return h}));var r=n(269),o=n.n(r),a=n(2);let i=[],s=null;const u=(e,t)=>{const n={fieldId:e,ref:t},r=o()(i).call(i,t=>t.fieldId===e);-1!==r?i[r]=n:i.push(n)},l=()=>i,c=e=>{for(const t of i)if(t.fieldId===e)return t.ref;return a.a.error(`A ref for fieldId ${e} could not be found. Has one been registered using setRef()?`,"ref error"),null},d=()=>{i=[],a.a.info("Refs have been reset")},f=e=>{s=e},p=()=>s,h=()=>{null!==s&&(s.close(),s=null)}},function(e,t,n){e.exports=n(341)},function(e,t,n){"use strict";n.d(t,"j",(function(){return R})),n.d(t,"h",(function(){return U})),n.d(t,"n",(function(){return L})),n.d(t,"d",(function(){return j})),n.d(t,"g",(function(){return B})),n.d(t,"m",(function(){return z})),n.d(t,"l",(function(){return H})),n.d(t,"a",(function(){return V})),n.d(t,"b",(function(){return q})),n.d(t,"c",(function(){return W})),n.d(t,"e",(function(){return Y})),n.d(t,"i",(function(){return G})),n.d(t,"f",(function(){return Z})),n.d(t,"k",(function(){return Q}));var r=n(11),o=n.n(r),a=n(17),i=n.n(a),s=n(12),u=n.n(s),l=n(9),c=n.n(l),d=n(13),f=n.n(d),p=n(22),h=n.n(p),m=n(20),g=n.n(m),y=n(10),v=n.n(y),b=n(123),w=n.n(b),E=n(16),M=n.n(E),S=n(79),C=n.n(S),D=n(15),I=n(2),T=n(8),A=n(189),O=n(6),x=n(7),N=n(3),P=n(31);function k(e,t){var n=M()(e);if(o.a){var r=o()(e);t&&(r=i()(r).call(r,(function(t){return u()(e,t).enumerable}))),n.push.apply(n,r)}return n}const _={enabled:!1,required:!1,message:""},F=w()({enabled:!1,keys:[]}),R=e=>{let t=Object(O.a)(F);try{Object(O.c)(()=>e.config.customMetadata.enabled)&&(t=e.config.customMetadata)}catch(e){I.a.warn("No custom metadata provided by the server.")}return Object(T.a)().customMetadata&&(t=Object(T.a)().customMetadata),t},U=e=>{let t=function(e){for(var t=1;t<arguments.length;t++){var n,r=null!=arguments[t]?arguments[t]:{};if(t%2)c()(n=k(Object(r),!0)).call(n,(function(t){v()(e,t,r[t])}));else if(f.a)h()(e,f()(r));else{var o;c()(o=k(Object(r))).call(o,(function(t){g()(e,t,u()(r,t))}))}}return e}({},_);try{e.config.marketConsent&&(t=e.config.marketConsent)}catch(e){I.a.warn("Server did not provided a market consent config. Default will be used")}return Object(T.a)().marketConsent&&(t=Object(T.a)().marketConsent),t},L=e=>{let t;try{t=e.intl.messages}catch(t){I.a.warn("Unable to get theme messages from ",e)}return t},j=e=>Object(T.a)().customCss||e.customCss,B=e=>{const t=Object(T.a)();return t.hasOwnProperty("logoUrl")?t.logoUrl:e.logoUrl},z=e=>Object(T.a)().privacyPolicyUrl||e.privacyPolicyUrl,H=(e,t)=>z(e)===x.e?x.l:t.formatMessage({id:"companyName",defaultMessage:"{companyName}"}),V=e=>{let t=["en-US"],n=[];try{n=e.config.locales}catch(e){I.a.warn("Unable to get configured locales from programTheme")}const r=$(Object(T.a)());return