Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hellosign-embedded

Package Overview
Dependencies
Maintainers
4
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hellosign-embedded - npm Package Compare versions

Comparing version 2.0.0-6 to 2.0.0-7

CHANGELOG.md

357

NOTICE.md

@@ -5,88 +5,4 @@ # Notice

**Babel:**
### MIT License
> MIT License
>
> Copyright (c) 2014-2018 Sebastian McKenzie and other contributors
>
> Permission is hereby granted, free of charge, to any person obtaining
> a copy of this software and associated documentation files (the
> "Software"), to deal in the Software without restriction, including
> without limitation the rights to use, copy, modify, merge, publish,
> distribute, sublicense, and/or sell copies of the Software, and to
> permit persons to whom the Software is furnished to do so, subject to
> the following conditions:
>
> The above copyright notice and this permission notice shall be
> included in all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
> NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
> LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
> OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
> WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
**Common Tags:**
> License (MIT)
> -------------
>
> Copyright © Declan de Wet
>
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
**CSS Loader:**
> Copyright JS Foundation and other contributors
>
> Permission is hereby granted, free of charge, to any person obtaining
> a copy of this software and associated documentation files (the
> 'Software'), to deal in the Software without restriction, including
> without limitation the rights to use, copy, modify, merge, publish,
> distribute, sublicense, and/or sell copies of the Software, and to
> permit persons to whom the Software is furnished to do so, subject to
> the following conditions:
>
> The above copyright notice and this permission notice shall be
> included in all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
> IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
> CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
> TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
> SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
**Debug:**
> (The MIT License)
>
> Copyright (c) 2014 TJ Holowaychuk <tj@vision-media.ca>
>
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software
> and associated documentation files (the 'Software'), to deal in the Software without restriction,
> including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
> and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
> subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all copies or substantial
> portions of the Software.
>
> THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
> LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
> IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
> WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
> SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
**ESLint:**
> Copyright JS Foundation and other contributors, https://js.foundation
>
> Permission is hereby granted, free of charge, to any person obtaining a copy

@@ -99,26 +15,2 @@ > of this software and associated documentation files (the "Software"), to deal

>
> The above copyright notice and this permission notice shall be included in
> all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
> THE SOFTWARE.
**ESLint Plugin Compat**
> MIT License
>
> Copyright (c) 2016 Amila Welihinda
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all

@@ -135,236 +27,35 @@ > copies or substantial portions of the Software.

**Jest:**
The MIT License (MIT) applies to:
> MIT License
>
> For Jest software
>
> Copyright (c) 2014-present, Facebook, Inc.
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all
> copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
> SOFTWARE.
- `babel`
> Copyright (c) 2014-2018 Sebastian McKenzie and other contributors
**Jest Runner ESLint:**
- `common-tags`
> Copyright © Declan de Wet
> The MIT License (MIT)
>
> Copyright (c) 2017 <rogelioguzmanh@gmail.com>
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all
> copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
> SOFTWARE.
- `css-loader`, `eslint`, `sass-loader`, `style-loader`, `webpack`, `webpack-cli`
> Copyright JS Foundation and other contributors
**Node SASS:**
- `debug`
> Copyright (c) 2014 TJ Holowaychuk <tj@vision-media.ca>
> Copyright (c) 2013-2016 Andrew Nesbitt
>
> Permission is hereby granted, free of charge, to any person obtaining
> a copy of this software and associated documentation files (the
> "Software"), to deal in the Software without restriction, including
> without limitation the rights to use, copy, modify, merge, publish,
> distribute, sublicense, and/or sell copies of the Software, and to
> permit persons to whom the Software is furnished to do so, subject to
> the following conditions:
>
> The above copyright notice and this permission notice shall be
> included in all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
> NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
> LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
> OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
> WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- `eslint-plugin-compat`
> Copyright (c) 2016 Amila Welihinda
**SASS Loader:**
- `jest`
> Copyright (c) 2014-present, Facebook, Inc.
> Copyright JS Foundation and other contributors
>
> Permission is hereby granted, free of charge, to any person obtaining a copy of
> this software and associated documentation files (the "Software"), to deal in
> the Software without restriction, including without limitation the rights to
> use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
> the Software, and to permit persons to whom the Software is furnished to do so,
> subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all
> copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
> FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
> COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
> IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
> CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- `jest-runner-eslint`
> Copyright (c) 2017 <rogelioguzmanh@gmail.com>
**Style Loader:**
- `node-sass`
> Copyright (c) 2013-2016 Andrew Nesbitt
> Copyright JS Foundation and other contributors
>
> Permission is hereby granted, free of charge, to any person obtaining
> a copy of this software and associated documentation files (the
> 'Software'), to deal in the Software without restriction, including
> without limitation the rights to use, copy, modify, merge, publish,
> distribute, sublicense, and/or sell copies of the Software, and to
> permit persons to whom the Software is furnished to do so, subject to
> the following conditions:
>
> The above copyright notice and this permission notice shall be
> included in all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
> IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
> CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
> TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
> SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- `tiny-emitter`
> Copyright (c) 2017 Scott Corgan
- `url-polyfill`
> Copyright (c) 2017 Valentin Richard
**Tiny Emitter:**
> The MIT License (MIT)
>
> Copyright (c) 2017 Scott Corgan
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all
> copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
> SOFTWARE.
**URL Polyfill:**
> The MIT License
>
> Copyright (c) 2017 Valentin Richard
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in
> all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
> THE SOFTWARE.
**URL Search Params Polyfill:**
> MIT License
>
> Copyright (c) 2016 Jerry Bendy
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all
> copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
> SOFTWARE.
**Webpack:**
> Copyright JS Foundation and other contributors
>
> Permission is hereby granted, free of charge, to any person obtaining
> a copy of this software and associated documentation files (the
> 'Software'), to deal in the Software without restriction, including
> without limitation the rights to use, copy, modify, merge, publish,
> distribute, sublicense, and/or sell copies of the Software, and to
> permit persons to whom the Software is furnished to do so, subject to
> the following conditions:
>
> The above copyright notice and this permission notice shall be
> included in all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
> IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
> CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
> TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
> SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
**Webpack CLI:**
> Copyright JS Foundation and other contributors
>
> Permission is hereby granted, free of charge, to any person obtaining
> a copy of this software and associated documentation files (the
> 'Software'), to deal in the Software without restriction, including
> without limitation the rights to use, copy, modify, merge, publish,
> distribute, sublicense, and/or sell copies of the Software, and to
> permit persons to whom the Software is furnished to do so, subject to
> the following conditions:
>
> The above copyright notice and this permission notice shall be
> included in all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
> IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
> CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
> TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
> SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- `url-search-params-polyfill`
> Copyright (c) 2016 Jerry Bendy
{
"name": "hellosign-embedded",
"version": "2.0.0-6",
"version": "2.0.0-7",
"description": "Embed HelloSign signature requests and templates from within your web application.",

@@ -9,4 +9,5 @@ "main": "index.js",

"build": "webpack",
"test": "jest src",
"version": "node scripts/version.js"
"release": "standard-version",
"release:beta": "standard-version --prerelease beta",
"test": "jest src"
},

@@ -56,2 +57,3 @@ "repository": {

"sass-loader": "^7.1.0",
"standard-version": "^4.4.0",
"style-loader": "^0.22.1",

@@ -58,0 +60,0 @@ "url-polyfill": "^1.0.14",

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.HelloSign=t():e.HelloSign=t()}(window,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=18)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={classNames:{BASE:"x-hellosign-embedded",BASE_IN_MODAL:"x-hellosign-embedded--in-modal",IFRAME:"x-hellosign-embedded__iframe",MODAL_CLOSE:"x-hellosign-embedded__modal-close",MODAL_CLOSE_BTN:"x-hellosign-embedded__modal-close-button",MODAL_CONTENT:"x-hellosign-embedded__modal-content",MODAL_SCREEN:"x-hellosign-embedded__modal-screen"},events:{ERROR:"error",INITIALIZE:"initialize",SEND:"send",CLOSE:"close",CREATE_TEMPLATE:"createTemplate",DECLINE:"decline",MESSAGE:"message",OPEN:"open",REASSIGN:"reassign",SIGN:"sign"},iframe:{NAME:"x-hellosign-embedded"},locales:{DA_DK:"da_DK",DE_DE:"de_DE",EN_US:"en_US",ES_ES:"es_ES",ES_MX:"es_MX",FR_FR:"fr_FR",NL_NL:"nl_NL",PL_PL:"pl_PL",PT_BR:"pt_BR",SV_SE:"sv_SE",ZH_CN:"zh_CN"},messages:{APP_CONFIGURE:"hellosign:configure",APP_ERROR:"hellosign:error",APP_INITIALIZE:"hellosign:initialize",APP_VERIFY_DOMAIN_REQUEST:"hellosign:verifyDomainRequest",APP_VERIFY_DOMAIN_RESPONSE:"hellosign:verifyDomainResponse",USER_CLOSE_REQUEST:"hellosign:userCloseRequest",USER_CREATE_TEMPLATE:"hellosign:userCreateTemplate",USER_DECLINE_REQUEST:"hellosign:userDeclineRequest",USER_REASSIGN_REQUEST:"hellosign:userReassignRequest",USER_SEND_REQUEST:"hellosign:userSendRequest",USER_SIGN_REQUEST:"hellosign:userSignRequest"},types:{EMBEDDED_SIGN:"embeddedSign",EMBEDDED_TEMPLATE:"embeddedTemplate",EMBEDDED_REQUEST:"embeddedRequest",UNKNOWN:"unknown"}};t.default=r},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";n.r(t);var r=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}}(),i=function(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["",""],["",""]);var o=function(){function e(){for(var t=this,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.tag=function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return"function"==typeof e?t.interimTag.bind(t,e):"string"==typeof e?t.transformEndResult(e):(e=e.map(t.transformString.bind(t)),t.transformEndResult(e.reduce(t.processSubstitutions.bind(t,r))))},r.length>0&&Array.isArray(r[0])&&(r=r[0]),this.transformers=r.map(function(e){return"function"==typeof e?e():e}),this.tag}return r(e,[{key:"interimTag",value:function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return this.tag(i,e.apply(void 0,[t].concat(r)))}},{key:"processSubstitutions",value:function(e,t,n){var r=this.transformSubstitution(e.shift(),t);return"".concat(t,r,n)}},{key:"transformString",value:function(e){return this.transformers.reduce(function(e,t){return t.onString?t.onString(e):e},e)}},{key:"transformSubstitution",value:function(e,t){return this.transformers.reduce(function(e,n){return n.onSubstitution?n.onSubstitution(e,t):e},e)}},{key:"transformEndResult",value:function(e){return this.transformers.reduce(function(e,t){return t.onEndResult?t.onEndResult(e):e},e)}}]),e}(),a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return{onEndResult:function(t){if(""===e)return t.trim();if("start"===(e=e.toLowerCase())||"left"===e)return t.replace(/^\s*/,"");if("end"===e||"right"===e)return t.replace(/\s*$/,"");throw new Error("Side not supported: "+e)}}};var s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"initial";return{onEndResult:function(t){if("initial"===e){var n=t.match(/^[^\S\n]*(?=\S)/gm),r=n&&Math.min.apply(Math,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)}(n.map(function(e){return e.length})));if(r){var i=new RegExp("^.{"+r+"}","gm");return t.replace(i,"")}return t}if("all"===e)return t.replace(/^[^\S\n]+/gm,"");throw new Error("Unknown type: "+e)}}},u=function(e,t){return{onEndResult:function(n){if(null==e||null==t)throw new Error("replaceResultTransformer requires at least 2 arguments.");return n.replace(e,t)}}},l=function(e,t){return{onSubstitution:function(n,r){if(null==e||null==t)throw new Error("replaceSubstitutionTransformer requires at least 2 arguments.");return null==n?n:n.toString().replace(e,t)}}},c=function(e,t){return{onString:function(n){if(null==e||null==t)throw new Error("replaceStringTransformer requires at least 2 arguments.");return n.replace(e,t)}}},f={separator:"",conjunction:"",serial:!1},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f;return{onSubstitution:function(t,n){if(Array.isArray(t)){var r=t.length,i=e.separator,o=e.conjunction,a=e.serial,s=n.match(/(\n?[^\S\n]+)$/);if(t=s?t.join(i+s[1]):t.join(i+" "),o&&r>1){var u=t.lastIndexOf(i);t=t.slice(0,u)+(a?i:"")+" "+o+t.slice(u+1)}}return t}}},h=function(e){return{onSubstitution:function(t,n){if(null==e||"string"!=typeof e)throw new Error("You need to specify a string character to split by.");return"string"==typeof t&&t.includes(e)&&(t=t.split(e)),t}}},p=function(e){return null!=e&&!Number.isNaN(e)&&"boolean"!=typeof e},m=function(){return{onSubstitution:function(e){return Array.isArray(e)?e.filter(p):p(e)?e:""}}},g=new o(d({separator:","}),s,a),y=new o(d({separator:",",conjunction:"and"}),s,a),v=new o(d({separator:",",conjunction:"or"}),s,a),_=new o(h("\n"),m,d,s,a),b=new o(h("\n"),d,s,a,l(/&/g,"&amp;"),l(/</g,"&lt;"),l(/>/g,"&gt;"),l(/"/g,"&quot;"),l(/'/g,"&#x27;"),l(/`/g,"&#x60;")),E=new o(u(/(?:\n(?:\s*))+/g," "),a),w=new o(u(/(?:\n\s*)/g,""),a),C=new o(d({separator:","}),u(/(?:\s+)/g," "),a),S=new o(d({separator:",",conjunction:"or"}),u(/(?:\s+)/g," "),a),R=new o(d({separator:",",conjunction:"and"}),u(/(?:\s+)/g," "),a),T=new o(d,s,a),L=new o(d,u(/(?:\s+)/g," "),a),O=new o(s,a),x=new o(s("all"),a);n.d(t,"TemplateTag",function(){return o}),n.d(t,"trimResultTransformer",function(){return a}),n.d(t,"stripIndentTransformer",function(){return s}),n.d(t,"replaceResultTransformer",function(){return u}),n.d(t,"replaceSubstitutionTransformer",function(){return l}),n.d(t,"replaceStringTransformer",function(){return c}),n.d(t,"inlineArrayTransformer",function(){return d}),n.d(t,"splitStringTransformer",function(){return h}),n.d(t,"removeNonPrintingValuesTransformer",function(){return m}),n.d(t,"commaLists",function(){return g}),n.d(t,"commaListsAnd",function(){return y}),n.d(t,"commaListsOr",function(){return v}),n.d(t,"html",function(){return _}),n.d(t,"codeBlock",function(){return _}),n.d(t,"source",function(){return _}),n.d(t,"safeHtml",function(){return b}),n.d(t,"oneLine",function(){return E}),n.d(t,"oneLineTrim",function(){return w}),n.d(t,"oneLineCommaLists",function(){return C}),n.d(t,"oneLineCommaListsOr",function(){return S}),n.d(t,"oneLineCommaListsAnd",function(){return R}),n.d(t,"inlineLists",function(){return T}),n.d(t,"oneLineInlineLists",function(){return L}),n.d(t,"stripIndent",function(){return O}),n.d(t,"stripIndents",function(){return x})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={allowCancel:!0,debug:!1,locale:function(e){return e&&e.__esModule?e:{default:e}}(n(0)).default.locales.EN_US,skipDomainVerification:!1,timeout:3e4};t.default=r},function(e,t){var n=1e3,r=60*n,i=60*r,o=24*i,a=365.25*o;function s(e,t,n){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}e.exports=function(e,t){t=t||{};var u=typeof e;if("string"===u&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!t)return;var s=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*a;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*i;case"minutes":case"minute":case"mins":case"min":case"m":return s*r;case"seconds":case"second":case"secs":case"sec":case"s":return s*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===u&&!1===isNaN(e))return t.long?function(e){return s(e,o,"day")||s(e,i,"hour")||s(e,r,"minute")||s(e,n,"second")||e+" ms"}(e):function(e){if(e>=o)return Math.round(e/o)+"d";if(e>=i)return Math.round(e/i)+"h";if(e>=r)return Math.round(e/r)+"m";if(e>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){function r(e){var n;function r(){if(r.enabled){var e=r,i=+new Date,o=i-(n||i);e.diff=o,e.prev=n,e.curr=i,n=i;for(var a=new Array(arguments.length),s=0;s<a.length;s++)a[s]=arguments[s];a[0]=t.coerce(a[0]),"string"!=typeof a[0]&&a.unshift("%O");var u=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,function(n,r){if("%%"===n)return n;u++;var i=t.formatters[r];if("function"==typeof i){var o=a[u];n=i.call(e,o),a.splice(u,1),u--}return n}),t.formatArgs.call(e,a),(r.log||t.log||console.log.bind(console)).apply(e,a)}}return r.namespace=e,r.enabled=t.enabled(e),r.useColors=t.useColors(),r.color=function(e){var n,r=0;for(n in e)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]}(e),r.destroy=i,"function"==typeof t.init&&t.init(r),t.instances.push(r),r}function i(){var e=t.instances.indexOf(this);return-1!==e&&(t.instances.splice(e,1),!0)}(t=e.exports=r.debug=r.default=r).coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){t.enable("")},t.enable=function(e){var n;t.save(e),t.names=[],t.skips=[];var r=("string"==typeof e?e:"").split(/[\s,]+/),i=r.length;for(n=0;n<i;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")));for(n=0;n<t.instances.length;n++){var o=t.instances[n];o.enabled=t.enabled(o.namespace)}},t.enabled=function(e){if("*"===e[e.length-1])return!0;var n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(4),t.instances=[],t.names=[],t.skips=[],t.formatters={}},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,l=[],c=!1,f=-1;function d(){c&&u&&(c=!1,u.length?l=u.concat(l):f=-1,l.length&&h())}function h(){if(!c){var e=s(d);c=!0;for(var t=l.length;t;){for(u=l,l=[];++f<t;)u&&u[f].run();f=-1,t=l.length}u=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new p(e,t)),1!==l.length||c||s(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){(function(r){function i(){var e;try{e=t.storage.debug}catch(e){}return!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG),e}(t=e.exports=n(5)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),!n)return;var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var i=0,o=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&"%c"===e&&(o=++i)}),e.splice(o,0,r)},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}},t.load=i,t.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(i())}).call(this,n(6))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(7));var i=(0,r.default)("".concat("hellosign-embedded",":info")),o=(0,r.default)("".concat("hellosign-embedded",":warn")),a=(0,r.default)("".concat("hellosign-embedded",":error"));i.log=console.log.bind(console),o.log=console.warn.bind(console);var s={info:i,warn:o,error:a};t.default=s},function(e,t){function n(){}n.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function i(){r.off(e,i),t.apply(n,arguments)}return i._=t,this.on(e,i,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;r<i;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],i=[];if(r&&t)for(var o=0,a=r.length;o<a;o++)r[o].fn!==t&&r[o].fn._!==t&&i.push(r[o]);return i.length?n[e]=i:delete n[e],this}},e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(9)),i=n(2),o=u(n(8)),a=u(n(3)),s=u(n(0));function u(e){return e&&e.__esModule?e:{default:e}}function l(){var e=h(['\n <iframe class="','" name="','" src="','" />\n </div>\n </div>\n ']);return l=function(){return e},e}function c(){var e=h(["\n <div class=",">\n <button class=",' role="button" title="Close signature request"></button>\n </div>\n ']);return c=function(){return e},e}function f(){var e=h(['\n <div class="'," ",'">\n <div class="','"></div>\n <div class="','">\n ']);return f=function(){return e},e}function d(){var e=h(['\n <div class="','">\n <iframe class="','" name="','" src="','" />\n </div>\n ']);return d=function(){return e},e}function h(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){E(e,t,n[t])})}return e}function m(e){return(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})(e)}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t,n){return(y="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=v(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),E(b(b(e=function(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?b(e):t}(this,v(t).call(this)))),"_baseConfig",null),E(b(b(e)),"_baseEl",null),E(b(b(e)),"_config",null),E(b(b(e)),"_embeddedType",null),E(b(b(e)),"_iFrameURL",null),E(b(b(e)),"_iFrameEl",null),E(b(b(e)),"_initTimeout",null),E(b(b(e)),"_isOpen",!1),E(b(b(e)),"_onEmbeddedClick",e._onEmbeddedClick.bind(b(b(e)))),E(b(b(e)),"_onInitTimeout",e._onInitTimeout.bind(b(b(e)))),E(b(b(e)),"_onMessage",e._onMessage.bind(b(b(e)))),o.default.info("created new HelloSign instance with options",n),!n||"object"!==m(n))throw new TypeError("Configuration must be an object");return e._baseConfig=p({},n),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(t,r.default),function(e,t,n){t&&g(e.prototype,t),n&&g(e,n)}(t,[{key:"_applyClientId",value:function(e){var t=this._config.clientId;if(!t)throw new TypeError('"clientId" is required');if("string"!=typeof t)throw new TypeError('"clientId" must be a string');e.append("client_id",t)}},{key:"_applyDebug",value:function(e){var t=this._config.debug;if("boolean"!=typeof t)throw new TypeError('"debug" must be a boolean');e.append("debug",t?1:0)}},{key:"_applyFinalButtonText",value:function(e){if("finalButtonText"in this._config){var t=this._config.finalButtonText;if("string"!=typeof t)throw new TypeError('"finalButtonText" must be a string');if(!["Send","Continue"].includes(t))throw new TypeError('"finalButtonText" must be either "Send" or "Continue"');e.append("final_button_text",t)}}},{key:"_applyHideHeader",value:function(e){if("hideHeader"in this._config){var t=this._config.hideHeader;if("boolean"!=typeof t)throw new TypeError('"hideHeader" must be a boolean');e.append("hideHeader",t)}}},{key:"_applyLocale",value:function(e){var t=this._config.locale;if("string"!=typeof t)throw new TypeError('"locale" must be a string');if(!Object.values(s.default.locales).includes(t))throw new TypeError('"'.concat(t,'" is not a supported locale'));e.append("user_culture",t)}},{key:"_applyParentURL",value:function(e){e.append("parent_url",document.location.href)}},{key:"_applyRedirectTo",value:function(e){if("redirectTo"in this._config){var t=this._config.redirectTo;if("string"!=typeof t)throw new TypeError('"redirectTo" must be a string');e.append("redirect_url",t)}}},{key:"_applyRequestingEmail",value:function(e){if("requestingEmail"in this._config){var t=this._config.requestingEmail;if("string"!=typeof t)throw new TypeError('"requestingEmail" must be a string');e.append("requester",t)}}},{key:"_applySkipDomainVerification",value:function(e){var t=this._config.skipDomainVerification;if("boolean"!=typeof t)throw new TypeError('"skipDomainVerification" must be a boolean');e.append("skip_domain_verification",t?1:0)}},{key:"_applyWhiteLabeling",value:function(e){if("whiteLabeling"in this._config){var t=this._config.whiteLabeling;if("object"!==m(t))throw new TypeError('"whiteLabeling" must be an object');e.append("white_labeling_options",JSON.stringify(t))}}},{key:"_applyVersion",value:function(e){e.append("js_version","2.0.0")}},{key:"_getFrameParams",value:function(e){var t=new URLSearchParams(e.search);return this._applyClientId(t),this._applyDebug(t),this._applyFinalButtonText(t),this._applyHideHeader(t),this._applyLocale(t),this._applyParentURL(t),this._applyRedirectTo(t),this._applyRequestingEmail(t),this._applySkipDomainVerification(t),this._applyVersion(t),this._applyWhiteLabeling(t),t}},{key:"_updateFrameUrl",value:function(e){var t=new URL(e),n=this._getFrameParams(t);t.search=n.toString(),this._iFrameURL=t}},{key:"_updateEmbeddedType",value:function(e){e.includes("embeddedSign")?this._embeddedType=s.default.types.EMBEDDED_SIGN:e.includes("embeddedTemplate")?this._embeddedType=s.default.types.EMBEDDED_TEMPLATE:e.includes("embeddedRequest")?this._embeddedType=s.default.types.EMBEDDED_REQUEST:this._embeddedType=s.default.types.UNKNOWN}},{key:"_renderMarkup",value:function(){var e=document.createElement("div");return this._config.container?e.innerHTML=(0,i.safeHtml)(d(),s.default.classNames.BASE,s.default.classNames.IFRAME,s.default.iframe.NAME,this._iFrameURL.href):e.innerHTML=(0,i.safeHtml)(f(),s.default.classNames.BASE,s.default.classNames.BASE_IN_MODAL,s.default.classNames.MODAL_SCREEN,s.default.classNames.MODAL_CONTENT)+(this._config.allowCancel?(0,i.safeHtml)(c(),s.default.classNames.MODAL_CLOSE,s.default.classNames.MODAL_CLOSE_BTN):"")+(0,i.safeHtml)(l(),s.default.classNames.IFRAME,s.default.iframe.NAME,this._iFrameURL.href),e.firstChild}},{key:"_appendMarkup",value:function(){this._baseEl=this._renderMarkup(),this._baseEl.addEventListener("click",this._onEmbeddedClick),this._iFrameEl=this._baseEl.getElementsByClassName(s.default.classNames.IFRAME).item(0),this._config.container?this._config.container.appendChild(this._baseEl):document.body.appendChild(this._baseEl)}},{key:"_clearMarkup",value:function(){this._baseEl.parentElement.removeChild(this._baseEl)}},{key:"_sendMessage",value:function(e){o.default.info("posting message",e);var t=this._iFrameURL.href;this._iFrameEl.contentWindow.postMessage(e,t)}},{key:"_sendConfigurationMessage",value:function(){o.default.info("sending app configuration message"),this._sendMessage({type:s.default.messages.APP_CONFIGURE,payload:{allowCancel:this._config.allowCancel}})}},{key:"_sendDomainVerificationMessage",value:function(e){o.default.info("sending domain verification message",e),this._sendMessage({type:s.default.messages.APP_VERIFY_DOMAIN_RESPONSE,payload:{token:e}})}},{key:"_sendInitializationErrorMessage",value:function(){o.default.info("sending initialization error message"),this._sendMessage({type:s.default.messages.APP_ERROR,payload:{message:"App failed to initialize before timeout"}})}},{key:"_clearInitTimeout",value:function(){this._initTimeout&&(o.default.info("clearing initialization timeout"),clearTimeout(this._initTimeout),this._initTimeout=null)}},{key:"_startInitTimeout",value:function(){this._embeddedType===s.default.types.EMBEDDED_SIGN&&(o.default.info("starting initialization timeout"),this._clearInitTimeout(),this._initTimeout=setTimeout(this._onInitTimeout,this._config.timeout))}},{key:"_maybeStartInitTimeout",value:function(){this._embeddedType===s.default.types.EMBEDDED_SIGN&&this._startInitTimeout()}},{key:"_appDidError",value:function(e){o.default.error("app encountered an error with code:",e.code),this.emit(s.default.events.ERROR,e)}},{key:"_appDidInitialize",value:function(e){o.default.info("app was initialized"),this.emit(s.default.events.INITIALIZE,e),this._sendConfigurationMessage(),this._clearInitTimeout()}},{key:"_appDidRequestDomainVerification",value:function(e){var t=e.token;o.default.info("app requested domain verification",t),this._sendDomainVerificationMessage(t)}},{key:"_appDidSendMessage",value:function(e){var t=e.data,n=e.origin;o.default.info("received message",t,n),this.emit(s.default.events.MESSAGE,t),this._delegateMessage(t)}},{key:"_userDidCloseRequest",value:function(){o.default.info("user requested that the window be closed"),this.close()}},{key:"_userDidCreateTemplate",value:function(e){o.default.info("user created the signature request template"),this.emit(s.default.events.CREATE_TEMPLATE,e)}},{key:"_userDidDeclineRequest",value:function(e){o.default.info("user declined the signature request"),this.emit(s.default.events.DECLINE,e)}},{key:"_userDidReassignRequest",value:function(e){o.default.info("user reassigned the signature request with reason:",e.reason),this.emit(s.default.events.REASSIGN,e)}},{key:"_userDidSendRequest",value:function(e){o.default.info("user sent the signature request"),this.emit(s.default.events.SEND,e)}},{key:"_userDidSignRequest",value:function(e){o.default.info("user signed the signature request"),this.emit(s.default.events.SIGN,e)}},{key:"_onEmbeddedClick",value:function(e){e.srcElement.classList.contains(s.default.classNames.MODAL_CLOSE_BTN)&&(e.preventDefault(),this.close())}},{key:"_onInitTimeout",value:function(){o.default.error("app failed to initialize before timeout"),alert("Something went wrong when preparing your signature request. Please try again."),this._sendInitializationErrorMessage(),this._clearInitTimeout(),this.close()}},{key:"_onMessage",value:function(e){origin===this._iFrameURL.origin&&"object"===("undefined"==typeof data?"undefined":m(data))&&this._appDidSendMessage(e)}},{key:"_delegateMessage",value:function(e){var t=e.type,n=e.payload;switch(t){case s.default.messages.APP_ERROR:this._appDidError(n);break;case s.default.messages.APP_INITIALIZE:this._appDidInitialize(n);break;case s.default.messages.APP_VERIFY_DOMAIN_REQUEST:this._appDidRequestDomainVerification(n);break;case s.default.messages.USER_CLOSE_REQUEST:this._userDidCloseRequest(n);break;case s.default.messages.USER_CREATE_TEMPLATE:this._userDidCreateTemplate(n);break;case s.default.messages.USER_DECLINE_REQUEST:this._userDidDeclineRequest(n);break;case s.default.messages.USER_REASSIGN_REQUEST:this._userDidReassignRequest(n);break;case s.default.messages.USER_SEND_REQUEST:this._userDidSendRequest(n);break;case s.default.messages.USER_SIGN_REQUEST:this._userDidSignRequest(n);break;default:o.default.warn("unhandled cross-origin window message")}}},{key:"open",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(o.default.info("open()",e,t),this._isOpen&&this.close(),this._config=p({},a.default,this._baseConfig,t),this._config.container&&!(this._config.container instanceof HTMLElement))throw new TypeError('"container" must be an element');this._updateFrameUrl(e),this._updateEmbeddedType(e),this._appendMarkup(),this._maybeStartInitTimeout(),this._isOpen=!0,window.addEventListener("message",this._onMessage),this.emit(s.default.events.OPEN,{iFrameUrl:this._iFrameURL.href,url:e})}},{key:"close",value:function(){o.default.info("close()"),this._isOpen&&(this._clearInitTimeout(),this._clearMarkup(),this._baseEl.removeEventListener("click",this._onEmbeddedClick),this._config=null,this._baseEl=null,this._embeddedType=null,this._iFrameEl=null,this._iFrameURL=null,this._isOpen=!1,window.removeEventListener("message",this._onMessage),this.emit(s.default.events.CLOSE))}},{key:"emit",value:function(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];o.default.info.apply(o.default,["emit()"].concat(r)),(e=y(v(t.prototype),"emit",this)).call.apply(e,[this].concat(r))}},{key:"element",get:function(){return this._baseEl}},{key:"isOpen",get:function(){return this._isOpen}}]),t}();E(w,"classNames",s.default.classNames),E(w,"events",s.default.events),E(w,"locales",s.default.locales),E(w,"messages",s.default.messages);var C=w;t.default=C},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var i,o=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o)?e:(i=0===o.indexOf("//")?o:0===o.indexOf("/")?n+o:r+o.replace(/^\.\//,""),"url("+JSON.stringify(i)+")")})}},function(e,t,n){var r={},i=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),o=function(e){var t={};return function(e,n){if("function"==typeof e)return e();if(void 0===t[e]){var r=function(e,t){return t?t.querySelector(e):document.querySelector(e)}.call(this,e,n);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}}(),a=null,s=0,u=[],l=n(11);function c(e,t){for(var n=0;n<e.length;n++){var i=e[n],o=r[i.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](i.parts[a]);for(;a<i.parts.length;a++)o.parts.push(g(i.parts[a],t))}else{var s=[];for(a=0;a<i.parts.length;a++)s.push(g(i.parts[a],t));r[i.id]={id:i.id,refs:1,parts:s}}}}function f(e,t){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],a=t.base?o[0]+t.base:o[0],s={css:o[1],media:o[2],sourceMap:o[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}function d(e,t){var n=o(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=u[u.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),u.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var i=o(e.insertAt.before,n);n.insertBefore(t,i)}}function h(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=u.indexOf(e);t>=0&&u.splice(t,1)}function p(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var r=function(){0;return n.nc}();r&&(e.attrs.nonce=r)}return m(t,e.attrs),d(e,t),t}function m(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function g(e,t){var n,r,i,o;if(t.transform&&e.css){if(!(o=t.transform(e.css)))return function(){};e.css=o}if(t.singleton){var u=s++;n=a||(a=p(t)),r=v.bind(null,n,u,!1),i=v.bind(null,n,u,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",m(t,e.attrs),d(e,t),t}(t),r=function(e,t,n){var r=n.css,i=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&i;(t.convertToAbsoluteUrls||o)&&(r=l(r));i&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,t),i=function(){h(n),n.href&&URL.revokeObjectURL(n.href)}):(n=p(t),r=function(e,t){var n=t.css,r=t.media;r&&e.setAttribute("media",r);if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),i=function(){h(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=i()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=f(e,t);return c(n,t),function(e){for(var i=[],o=0;o<n.length;o++){var a=n[o];(s=r[a.id]).refs--,i.push(s)}e&&c(f(e,t),t);for(o=0;o<i.length;o++){var s;if(0===(s=i[o]).refs){for(var u=0;u<s.parts.length;u++)s.parts[u]();delete r[s.id]}}}};var y=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function v(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=y(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var i=function(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(r),o=r.sources.map(function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"});return[n].concat(o).concat([i]).join("\n")}return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<e.length;i++){var a=e[i];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,".x-hellosign-embedded {\n height: 100%; }\n .x-hellosign-embedded--in-modal {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%; }\n\n.x-hellosign-embedded__modal-screen {\n display: block;\n background-color: rgba(0, 0, 0, 0.5);\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%; }\n @media screen and (max-width: 767px) {\n .x-hellosign-embedded__modal-screen {\n display: none; } }\n\n.x-hellosign-embedded__modal-content {\n box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.25);\n position: absolute;\n top: 5vh;\n left: 50%;\n transform: translateX(-50%);\n height: 90vh;\n min-height: 400px;\n width: 80vw;\n min-width: 512px;\n max-width: 1024px; }\n @media screen and (max-width: 767px) {\n .x-hellosign-embedded__modal-content {\n overflow: hidden;\n box-shadow: none;\n height: 100%;\n min-height: 0;\n width: 100%;\n min-width: 0;\n transform: none;\n left: 0;\n top: 0; } }\n\n.x-hellosign-embedded__modal-close {\n position: absolute;\n top: 0;\n right: -60px;\n height: 40px;\n width: 40px; }\n @media screen and (max-width: 767px) {\n .x-hellosign-embedded__modal-close {\n display: none; } }\n\n.x-hellosign-embedded__modal-close-button {\n -webkit-appearance: none;\n height: 100%;\n width: 100%;\n border: none;\n background-color: #1a1a1a;\n transition: background-color 0.35s ease;\n will-change: background-color;\n box-shadow: 0px 3px 9px 0px rgba(0, 0, 0, 0.25);\n cursor: pointer; }\n .x-hellosign-embedded__modal-close-button:hover {\n background-color: #00B3E6; }\n .x-hellosign-embedded__modal-close-button::before, .x-hellosign-embedded__modal-close-button::after {\n content: '';\n position: absolute;\n width: 1px;\n background-color: white;\n height: 20px;\n top: 10px; }\n .x-hellosign-embedded__modal-close-button::before {\n transform: rotateZ(45deg); }\n .x-hellosign-embedded__modal-close-button::after {\n transform: rotateZ(-45deg); }\n\n.x-hellosign-embedded__iframe {\n min-height: 400px;\n background-color: #F7F8F9;\n height: 100%;\n width: 100%;\n border: none; }\n",""])},function(e,t,n){var r=n(14);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(12)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){(function(e){!function(e){"use strict";var t=e.URLSearchParams?e.URLSearchParams:null,n=t&&"a=1"===new t({a:1}).toString(),r=t&&"+"===new t("s=%2B").get("s"),i="__URLSearchParams__",o=l.prototype,a=!(!e.Symbol||!e.Symbol.iterator);if(!(t&&n&&r)){o.append=function(e,t){p(this[i],e,t)},o.delete=function(e){delete this[i][e]},o.get=function(e){var t=this[i];return e in t?t[e][0]:null},o.getAll=function(e){var t=this[i];return e in t?t[e].slice(0):[]},o.has=function(e){return e in this[i]},o.set=function(e,t){this[i][e]=[""+t]},o.toString=function(){var e,t,n,r,o=this[i],a=[];for(t in o)for(n=c(t),e=0,r=o[t];e<r.length;e++)a.push(n+"="+c(r[e]));return a.join("&")};var s=!!r&&t&&!n&&e.Proxy;e.URLSearchParams=s?new Proxy(t,{construct:function(e,t){return new e(new l(t[0]).toString())}}):l;var u=e.URLSearchParams.prototype;u.polyfill=!0,u.forEach=u.forEach||function(e,t){var n=h(this.toString());Object.getOwnPropertyNames(n).forEach(function(r){n[r].forEach(function(n){e.call(t,n,r,this)},this)},this)},u.sort=u.sort||function(){var e,t,n,r=h(this.toString()),i=[];for(e in r)i.push(e);for(i.sort(),t=0;t<i.length;t++)this.delete(i[t]);for(t=0;t<i.length;t++){var o=i[t],a=r[o];for(n=0;n<a.length;n++)this.append(o,a[n])}},u.keys=u.keys||function(){var e=[];return this.forEach(function(t,n){e.push(n)}),d(e)},u.values=u.values||function(){var e=[];return this.forEach(function(t){e.push(t)}),d(e)},u.entries=u.entries||function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),d(e)},a&&(u[e.Symbol.iterator]=u[e.Symbol.iterator]||u.entries)}function l(e){((e=e||"")instanceof URLSearchParams||e instanceof l)&&(e=e.toString()),this[i]=h(e)}function c(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'\(\)~]|%20|%00/g,function(e){return t[e]})}function f(e){return decodeURIComponent(e.replace(/\+/g," "))}function d(t){var n={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return a&&(n[e.Symbol.iterator]=function(){return n}),n}function h(e){var t={};if("object"==typeof e)for(var n in e)e.hasOwnProperty(n)&&p(t,n,e[n]);else{0===e.indexOf("?")&&(e=e.slice(1));for(var r=e.split("&"),i=0;i<r.length;i++){var o=r[i],a=o.indexOf("=");-1<a?p(t,f(o.slice(0,a)),f(o.slice(a+1))):o&&p(t,f(o),"")}}return t}function p(e,t,n){var r="string"==typeof n?n:null!==n&&void 0!==n&&"function"==typeof n.toString?n.toString():JSON.stringify(n);t in e?e[t].push(r):e[t]=[r]}}(void 0!==e?e:"undefined"!=typeof window?window:this)}).call(this,n(1))},function(e,t,n){(function(e){!function(e){var t=function(){try{return!!Symbol.iterator}catch(e){return!1}}(),n=function(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t&&(n[Symbol.iterator]=function(){return n}),n},r=function(e){return encodeURIComponent(e).replace(/%20/g,"+")},i=function(e){return decodeURIComponent(e).replace(/\+/g," ")};"URLSearchParams"in e&&"a=1"===new URLSearchParams("?a=1").toString()||function(){var o=function(e){if(Object.defineProperty(this,"_entries",{value:{}}),"string"==typeof e){if(""!==e)for(var t,n=(e=e.replace(/^\?/,"")).split("&"),r=0;r<n.length;r++)t=n[r].split("="),this.append(i(t[0]),t.length>1?i(t[1]):"")}else if(e instanceof o){var a=this;e.forEach(function(e,t){a.append(e,t)})}},a=o.prototype;a.append=function(e,t){e in this._entries?this._entries[e].push(t.toString()):this._entries[e]=[t.toString()]},a.delete=function(e){delete this._entries[e]},a.get=function(e){return e in this._entries?this._entries[e][0]:null},a.getAll=function(e){return e in this._entries?this._entries[e].slice(0):[]},a.has=function(e){return e in this._entries},a.set=function(e,t){this._entries[e]=[t.toString()]},a.forEach=function(e,t){var n;for(var r in this._entries)if(this._entries.hasOwnProperty(r)){n=this._entries[r];for(var i=0;i<n.length;i++)e.call(t,n[i],r,this)}},a.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),n(e)},a.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),n(e)},a.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),n(e)},t&&(a[Symbol.iterator]=a.entries),a.toString=function(){var e=[];return this.forEach(function(t,n){e.push(r(n)+"="+r(t))}),e.join("&")},e.URLSearchParams=o}()}(void 0!==e?e:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this),function(e){if(function(){try{var e=new URL("b","http://a");return e.pathname="c%20d","http://a/c%20d"===e.href&&e.searchParams}catch(e){return!1}}()||function(){var t=e.URL,n=function(t,n){"string"!=typeof t&&(t=String(t));var r,i=document;if(n&&(void 0===e.location||n!==e.location.href)){(r=(i=document.implementation.createHTMLDocument("")).createElement("base")).href=n,i.head.appendChild(r);try{if(0!==r.href.indexOf(n))throw new Error(r.href)}catch(e){throw new Error("URL unable to set base "+n+" due to "+e)}}var o=i.createElement("a");if(o.href=t,r&&(i.body.appendChild(o),o.href=o.href),":"===o.protocol||!/:/.test(o.href))throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:o})},r=n.prototype;["hash","host","hostname","port","protocol","search"].forEach(function(e){!function(e){Object.defineProperty(r,e,{get:function(){return this._anchorElement[e]},set:function(t){this._anchorElement[e]=t},enumerable:!0})}(e)}),Object.defineProperties(r,{toString:{get:function(){var e=this;return function(){return e.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(e){this._anchorElement.href=e},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(e){this._anchorElement.pathname=e},enumerable:!0},origin:{get:function(){var e={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],t=this._anchorElement.port!=e&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(t?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(e){},enumerable:!0},username:{get:function(){return""},set:function(e){},enumerable:!0},searchParams:{get:function(){var e=new URLSearchParams(this.search),t=this;return["append","delete","set"].forEach(function(n){var r=e[n];e[n]=function(){r.apply(e,arguments),t.search=e.toString()}}),e},enumerable:!0}}),n.createObjectURL=function(e){return t.createObjectURL.apply(t,arguments)},n.revokeObjectURL=function(e){return t.revokeObjectURL.apply(t,arguments)},e.URL=n}(),void 0!==e.location&&!("origin"in e.location)){var t=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:t,enumerable:!0})}catch(n){setInterval(function(){e.location.origin=t()},100)}}}(void 0!==e?e:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this)}).call(this,n(1))},function(e,t,n){n(17),n(16),n(15),e.exports=n(10)}]).default});
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.HelloSign=t():e.HelloSign=t()}(window,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=18)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={classNames:{BASE:"x-hellosign-embedded",BASE_IN_MODAL:"x-hellosign-embedded--in-modal",IFRAME:"x-hellosign-embedded__iframe",MODAL_CLOSE:"x-hellosign-embedded__modal-close",MODAL_CLOSE_BTN:"x-hellosign-embedded__modal-close-button",MODAL_CONTENT:"x-hellosign-embedded__modal-content",MODAL_SCREEN:"x-hellosign-embedded__modal-screen"},events:{ERROR:"error",INITIALIZE:"initialize",SEND:"send",CLOSE:"close",CREATE_TEMPLATE:"createTemplate",DECLINE:"decline",MESSAGE:"message",OPEN:"open",REASSIGN:"reassign",SIGN:"sign"},iframe:{NAME:"x-hellosign-embedded"},locales:{DA_DK:"da_DK",DE_DE:"de_DE",EN_US:"en_US",ES_ES:"es_ES",ES_MX:"es_MX",FR_FR:"fr_FR",NL_NL:"nl_NL",PL_PL:"pl_PL",PT_BR:"pt_BR",SV_SE:"sv_SE",ZH_CN:"zh_CN"},messages:{APP_CONFIGURE:"hellosign:configure",APP_ERROR:"hellosign:error",APP_INITIALIZE:"hellosign:initialize",APP_VERIFY_DOMAIN_REQUEST:"hellosign:verifyDomainRequest",APP_VERIFY_DOMAIN_RESPONSE:"hellosign:verifyDomainResponse",USER_CLOSE_REQUEST:"hellosign:userCloseRequest",USER_CREATE_TEMPLATE:"hellosign:userCreateTemplate",USER_DECLINE_REQUEST:"hellosign:userDeclineRequest",USER_REASSIGN_REQUEST:"hellosign:userReassignRequest",USER_SEND_REQUEST:"hellosign:userSendRequest",USER_SIGN_REQUEST:"hellosign:userSignRequest"},types:{EMBEDDED_SIGN:"embeddedSign",EMBEDDED_TEMPLATE:"embeddedTemplate",EMBEDDED_REQUEST:"embeddedRequest",UNKNOWN:"unknown"}};t.default=r},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";n.r(t);var r=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}}(),i=function(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["",""],["",""]);var o=function(){function e(){for(var t=this,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.tag=function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return"function"==typeof e?t.interimTag.bind(t,e):"string"==typeof e?t.transformEndResult(e):(e=e.map(t.transformString.bind(t)),t.transformEndResult(e.reduce(t.processSubstitutions.bind(t,r))))},r.length>0&&Array.isArray(r[0])&&(r=r[0]),this.transformers=r.map(function(e){return"function"==typeof e?e():e}),this.tag}return r(e,[{key:"interimTag",value:function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return this.tag(i,e.apply(void 0,[t].concat(r)))}},{key:"processSubstitutions",value:function(e,t,n){var r=this.transformSubstitution(e.shift(),t);return"".concat(t,r,n)}},{key:"transformString",value:function(e){return this.transformers.reduce(function(e,t){return t.onString?t.onString(e):e},e)}},{key:"transformSubstitution",value:function(e,t){return this.transformers.reduce(function(e,n){return n.onSubstitution?n.onSubstitution(e,t):e},e)}},{key:"transformEndResult",value:function(e){return this.transformers.reduce(function(e,t){return t.onEndResult?t.onEndResult(e):e},e)}}]),e}(),a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return{onEndResult:function(t){if(""===e)return t.trim();if("start"===(e=e.toLowerCase())||"left"===e)return t.replace(/^\s*/,"");if("end"===e||"right"===e)return t.replace(/\s*$/,"");throw new Error("Side not supported: "+e)}}};var s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"initial";return{onEndResult:function(t){if("initial"===e){var n=t.match(/^[^\S\n]*(?=\S)/gm),r=n&&Math.min.apply(Math,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)}(n.map(function(e){return e.length})));if(r){var i=new RegExp("^.{"+r+"}","gm");return t.replace(i,"")}return t}if("all"===e)return t.replace(/^[^\S\n]+/gm,"");throw new Error("Unknown type: "+e)}}},u=function(e,t){return{onEndResult:function(n){if(null==e||null==t)throw new Error("replaceResultTransformer requires at least 2 arguments.");return n.replace(e,t)}}},l=function(e,t){return{onSubstitution:function(n,r){if(null==e||null==t)throw new Error("replaceSubstitutionTransformer requires at least 2 arguments.");return null==n?n:n.toString().replace(e,t)}}},c=function(e,t){return{onString:function(n){if(null==e||null==t)throw new Error("replaceStringTransformer requires at least 2 arguments.");return n.replace(e,t)}}},f={separator:"",conjunction:"",serial:!1},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f;return{onSubstitution:function(t,n){if(Array.isArray(t)){var r=t.length,i=e.separator,o=e.conjunction,a=e.serial,s=n.match(/(\n?[^\S\n]+)$/);if(t=s?t.join(i+s[1]):t.join(i+" "),o&&r>1){var u=t.lastIndexOf(i);t=t.slice(0,u)+(a?i:"")+" "+o+t.slice(u+1)}}return t}}},h=function(e){return{onSubstitution:function(t,n){if(null==e||"string"!=typeof e)throw new Error("You need to specify a string character to split by.");return"string"==typeof t&&t.includes(e)&&(t=t.split(e)),t}}},p=function(e){return null!=e&&!Number.isNaN(e)&&"boolean"!=typeof e},m=function(){return{onSubstitution:function(e){return Array.isArray(e)?e.filter(p):p(e)?e:""}}},g=new o(d({separator:","}),s,a),y=new o(d({separator:",",conjunction:"and"}),s,a),v=new o(d({separator:",",conjunction:"or"}),s,a),_=new o(h("\n"),m,d,s,a),b=new o(h("\n"),d,s,a,l(/&/g,"&amp;"),l(/</g,"&lt;"),l(/>/g,"&gt;"),l(/"/g,"&quot;"),l(/'/g,"&#x27;"),l(/`/g,"&#x60;")),E=new o(u(/(?:\n(?:\s*))+/g," "),a),w=new o(u(/(?:\n\s*)/g,""),a),C=new o(d({separator:","}),u(/(?:\s+)/g," "),a),S=new o(d({separator:",",conjunction:"or"}),u(/(?:\s+)/g," "),a),R=new o(d({separator:",",conjunction:"and"}),u(/(?:\s+)/g," "),a),T=new o(d,s,a),L=new o(d,u(/(?:\s+)/g," "),a),O=new o(s,a),x=new o(s("all"),a);n.d(t,"TemplateTag",function(){return o}),n.d(t,"trimResultTransformer",function(){return a}),n.d(t,"stripIndentTransformer",function(){return s}),n.d(t,"replaceResultTransformer",function(){return u}),n.d(t,"replaceSubstitutionTransformer",function(){return l}),n.d(t,"replaceStringTransformer",function(){return c}),n.d(t,"inlineArrayTransformer",function(){return d}),n.d(t,"splitStringTransformer",function(){return h}),n.d(t,"removeNonPrintingValuesTransformer",function(){return m}),n.d(t,"commaLists",function(){return g}),n.d(t,"commaListsAnd",function(){return y}),n.d(t,"commaListsOr",function(){return v}),n.d(t,"html",function(){return _}),n.d(t,"codeBlock",function(){return _}),n.d(t,"source",function(){return _}),n.d(t,"safeHtml",function(){return b}),n.d(t,"oneLine",function(){return E}),n.d(t,"oneLineTrim",function(){return w}),n.d(t,"oneLineCommaLists",function(){return C}),n.d(t,"oneLineCommaListsOr",function(){return S}),n.d(t,"oneLineCommaListsAnd",function(){return R}),n.d(t,"inlineLists",function(){return T}),n.d(t,"oneLineInlineLists",function(){return L}),n.d(t,"stripIndent",function(){return O}),n.d(t,"stripIndents",function(){return x})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={allowCancel:!0,debug:!1,locale:function(e){return e&&e.__esModule?e:{default:e}}(n(0)).default.locales.EN_US,skipDomainVerification:!1,timeout:3e4};t.default=r},function(e,t){var n=1e3,r=60*n,i=60*r,o=24*i,a=365.25*o;function s(e,t,n){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}e.exports=function(e,t){t=t||{};var u=typeof e;if("string"===u&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!t)return;var s=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*a;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*i;case"minutes":case"minute":case"mins":case"min":case"m":return s*r;case"seconds":case"second":case"secs":case"sec":case"s":return s*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===u&&!1===isNaN(e))return t.long?function(e){return s(e,o,"day")||s(e,i,"hour")||s(e,r,"minute")||s(e,n,"second")||e+" ms"}(e):function(e){if(e>=o)return Math.round(e/o)+"d";if(e>=i)return Math.round(e/i)+"h";if(e>=r)return Math.round(e/r)+"m";if(e>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){function r(e){var n;function r(){if(r.enabled){var e=r,i=+new Date,o=i-(n||i);e.diff=o,e.prev=n,e.curr=i,n=i;for(var a=new Array(arguments.length),s=0;s<a.length;s++)a[s]=arguments[s];a[0]=t.coerce(a[0]),"string"!=typeof a[0]&&a.unshift("%O");var u=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,function(n,r){if("%%"===n)return n;u++;var i=t.formatters[r];if("function"==typeof i){var o=a[u];n=i.call(e,o),a.splice(u,1),u--}return n}),t.formatArgs.call(e,a),(r.log||t.log||console.log.bind(console)).apply(e,a)}}return r.namespace=e,r.enabled=t.enabled(e),r.useColors=t.useColors(),r.color=function(e){var n,r=0;for(n in e)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]}(e),r.destroy=i,"function"==typeof t.init&&t.init(r),t.instances.push(r),r}function i(){var e=t.instances.indexOf(this);return-1!==e&&(t.instances.splice(e,1),!0)}(t=e.exports=r.debug=r.default=r).coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){t.enable("")},t.enable=function(e){var n;t.save(e),t.names=[],t.skips=[];var r=("string"==typeof e?e:"").split(/[\s,]+/),i=r.length;for(n=0;n<i;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")));for(n=0;n<t.instances.length;n++){var o=t.instances[n];o.enabled=t.enabled(o.namespace)}},t.enabled=function(e){if("*"===e[e.length-1])return!0;var n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(4),t.instances=[],t.names=[],t.skips=[],t.formatters={}},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,l=[],c=!1,f=-1;function d(){c&&u&&(c=!1,u.length?l=u.concat(l):f=-1,l.length&&h())}function h(){if(!c){var e=s(d);c=!0;for(var t=l.length;t;){for(u=l,l=[];++f<t;)u&&u[f].run();f=-1,t=l.length}u=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new p(e,t)),1!==l.length||c||s(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){(function(r){function i(){var e;try{e=t.storage.debug}catch(e){}return!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG),e}(t=e.exports=n(5)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),!n)return;var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var i=0,o=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&"%c"===e&&(o=++i)}),e.splice(o,0,r)},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}},t.load=i,t.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(i())}).call(this,n(6))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(7));var i=(0,r.default)("".concat("hellosign-embedded",":info")),o=(0,r.default)("".concat("hellosign-embedded",":warn")),a=(0,r.default)("".concat("hellosign-embedded",":error"));i.log=console.log.bind(console),o.log=console.warn.bind(console);var s={info:i,warn:o,error:a};t.default=s},function(e,t){function n(){}n.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function i(){r.off(e,i),t.apply(n,arguments)}return i._=t,this.on(e,i,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;r<i;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],i=[];if(r&&t)for(var o=0,a=r.length;o<a;o++)r[o].fn!==t&&r[o].fn._!==t&&i.push(r[o]);return i.length?n[e]=i:delete n[e],this}},e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(9)),i=n(2),o=u(n(8)),a=u(n(3)),s=u(n(0));function u(e){return e&&e.__esModule?e:{default:e}}function l(){var e=h(['\n <iframe class="','" name="','" src="','" />\n </div>\n </div>\n ']);return l=function(){return e},e}function c(){var e=h(["\n <div class=",">\n <button class=",' role="button" title="Close signature request"></button>\n </div>\n ']);return c=function(){return e},e}function f(){var e=h(['\n <div class="'," ",'">\n <div class="','"></div>\n <div class="','">\n ']);return f=function(){return e},e}function d(){var e=h(['\n <div class="','">\n <iframe class="','" name="','" src="','" />\n </div>\n ']);return d=function(){return e},e}function h(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){E(e,t,n[t])})}return e}function m(e){return(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})(e)}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t,n){return(y="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=v(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),E(b(b(e=function(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?b(e):t}(this,v(t).call(this)))),"_baseConfig",null),E(b(b(e)),"_baseEl",null),E(b(b(e)),"_config",null),E(b(b(e)),"_embeddedType",null),E(b(b(e)),"_iFrameURL",null),E(b(b(e)),"_iFrameEl",null),E(b(b(e)),"_initTimeout",null),E(b(b(e)),"_isOpen",!1),E(b(b(e)),"_onEmbeddedClick",e._onEmbeddedClick.bind(b(b(e)))),E(b(b(e)),"_onInitTimeout",e._onInitTimeout.bind(b(b(e)))),E(b(b(e)),"_onMessage",e._onMessage.bind(b(b(e)))),o.default.info("created new HelloSign instance with options",n),!n||"object"!==m(n))throw new TypeError("Configuration must be an object");return e._baseConfig=p({},n),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(t,r.default),function(e,t,n){t&&g(e.prototype,t),n&&g(e,n)}(t,[{key:"_applyClientId",value:function(e){var t=this._config.clientId;if(!t)throw new TypeError('"clientId" is required');if("string"!=typeof t)throw new TypeError('"clientId" must be a string');e.append("client_id",t)}},{key:"_applyDebug",value:function(e){var t=this._config.debug;if("boolean"!=typeof t)throw new TypeError('"debug" must be a boolean');e.append("debug",t?1:0)}},{key:"_applyFinalButtonText",value:function(e){if("finalButtonText"in this._config){var t=this._config.finalButtonText;if("string"!=typeof t)throw new TypeError('"finalButtonText" must be a string');if(!["Send","Continue"].includes(t))throw new TypeError('"finalButtonText" must be either "Send" or "Continue"');e.append("final_button_text",t)}}},{key:"_applyHideHeader",value:function(e){if("hideHeader"in this._config){var t=this._config.hideHeader;if("boolean"!=typeof t)throw new TypeError('"hideHeader" must be a boolean');e.append("hideHeader",t)}}},{key:"_applyLocale",value:function(e){var t=this._config.locale;if("string"!=typeof t)throw new TypeError('"locale" must be a string');if(!Object.values(s.default.locales).includes(t))throw new TypeError('"'.concat(t,'" is not a supported locale'));e.append("user_culture",t)}},{key:"_applyParentURL",value:function(e){e.append("parent_url",document.location.href)}},{key:"_applyRedirectTo",value:function(e){if("redirectTo"in this._config){var t=this._config.redirectTo;if("string"!=typeof t)throw new TypeError('"redirectTo" must be a string');e.append("redirect_url",t)}}},{key:"_applyRequestingEmail",value:function(e){if("requestingEmail"in this._config){var t=this._config.requestingEmail;if("string"!=typeof t)throw new TypeError('"requestingEmail" must be a string');e.append("requester",t)}}},{key:"_applySkipDomainVerification",value:function(e){var t=this._config.skipDomainVerification;if("boolean"!=typeof t)throw new TypeError('"skipDomainVerification" must be a boolean');e.append("skip_domain_verification",t?1:0)}},{key:"_applyWhiteLabeling",value:function(e){if("whiteLabeling"in this._config){var t=this._config.whiteLabeling;if("object"!==m(t))throw new TypeError('"whiteLabeling" must be an object');e.append("white_labeling_options",JSON.stringify(t))}}},{key:"_applyVersion",value:function(e){e.append("js_version","2.0.0-7")}},{key:"_getFrameParams",value:function(e){var t=new URLSearchParams(e.search);return this._applyClientId(t),this._applyDebug(t),this._applyFinalButtonText(t),this._applyHideHeader(t),this._applyLocale(t),this._applyParentURL(t),this._applyRedirectTo(t),this._applyRequestingEmail(t),this._applySkipDomainVerification(t),this._applyVersion(t),this._applyWhiteLabeling(t),t}},{key:"_updateFrameUrl",value:function(e){var t=new URL(e),n=this._getFrameParams(t);t.search=n.toString(),this._iFrameURL=t}},{key:"_updateEmbeddedType",value:function(e){e.includes("embeddedSign")?this._embeddedType=s.default.types.EMBEDDED_SIGN:e.includes("embeddedTemplate")?this._embeddedType=s.default.types.EMBEDDED_TEMPLATE:e.includes("embeddedRequest")?this._embeddedType=s.default.types.EMBEDDED_REQUEST:this._embeddedType=s.default.types.UNKNOWN}},{key:"_shouldShowCancelButton",value:function(){return this._config.allowCancel&&this._embeddedType!==s.default.types.EMBEDDED_SIGN}},{key:"_renderMarkup",value:function(){var e=document.createElement("div");return this._config.container?e.innerHTML=(0,i.safeHtml)(d(),s.default.classNames.BASE,s.default.classNames.IFRAME,s.default.iframe.NAME,this._iFrameURL.href):e.innerHTML=(0,i.safeHtml)(f(),s.default.classNames.BASE,s.default.classNames.BASE_IN_MODAL,s.default.classNames.MODAL_SCREEN,s.default.classNames.MODAL_CONTENT)+(this._shouldShowCancelButton()?(0,i.safeHtml)(c(),s.default.classNames.MODAL_CLOSE,s.default.classNames.MODAL_CLOSE_BTN):"")+(0,i.safeHtml)(l(),s.default.classNames.IFRAME,s.default.iframe.NAME,this._iFrameURL.href),e.firstChild}},{key:"_appendMarkup",value:function(){this._baseEl=this._renderMarkup(),this._baseEl.addEventListener("click",this._onEmbeddedClick),this._iFrameEl=this._baseEl.getElementsByClassName(s.default.classNames.IFRAME).item(0),this._config.container?this._config.container.appendChild(this._baseEl):document.body.appendChild(this._baseEl)}},{key:"_clearMarkup",value:function(){this._baseEl.parentElement.removeChild(this._baseEl)}},{key:"_sendMessage",value:function(e){o.default.info("posting message",e);var t=this._iFrameURL.href;this._iFrameEl.contentWindow.postMessage(e,t)}},{key:"_sendConfigurationMessage",value:function(){o.default.info("sending app configuration message"),this._sendMessage({type:s.default.messages.APP_CONFIGURE,payload:{allowCancel:this._config.allowCancel}})}},{key:"_sendDomainVerificationMessage",value:function(e){o.default.info("sending domain verification message",e),this._sendMessage({type:s.default.messages.APP_VERIFY_DOMAIN_RESPONSE,payload:{token:e}})}},{key:"_sendInitializationErrorMessage",value:function(){o.default.info("sending initialization error message"),this._sendMessage({type:s.default.messages.APP_ERROR,payload:{message:"App failed to initialize before timeout"}})}},{key:"_clearInitTimeout",value:function(){this._initTimeout&&(o.default.info("clearing initialization timeout"),clearTimeout(this._initTimeout),this._initTimeout=null)}},{key:"_startInitTimeout",value:function(){this._embeddedType===s.default.types.EMBEDDED_SIGN&&(o.default.info("starting initialization timeout"),this._clearInitTimeout(),this._initTimeout=setTimeout(this._onInitTimeout,this._config.timeout))}},{key:"_maybeStartInitTimeout",value:function(){this._embeddedType===s.default.types.EMBEDDED_SIGN&&this._startInitTimeout()}},{key:"_appDidError",value:function(e){o.default.error("app encountered an error with code:",e.code),this.emit(s.default.events.ERROR,e)}},{key:"_appDidInitialize",value:function(e){o.default.info("app was initialized"),this.emit(s.default.events.INITIALIZE,e),this._sendConfigurationMessage(),this._clearInitTimeout()}},{key:"_appDidRequestDomainVerification",value:function(e){var t=e.token;o.default.info("app requested domain verification",t),this._sendDomainVerificationMessage(t)}},{key:"_appDidSendMessage",value:function(e){var t=e.data,n=e.origin;o.default.info("received message",t,n),this.emit(s.default.events.MESSAGE,t),this._delegateMessage(t)}},{key:"_userDidCloseRequest",value:function(){o.default.info("user requested that the window be closed"),this.close()}},{key:"_userDidCreateTemplate",value:function(e){o.default.info("user created the signature request template"),this.emit(s.default.events.CREATE_TEMPLATE,e)}},{key:"_userDidDeclineRequest",value:function(e){o.default.info("user declined the signature request"),this.emit(s.default.events.DECLINE,e)}},{key:"_userDidReassignRequest",value:function(e){o.default.info("user reassigned the signature request with reason:",e.reason),this.emit(s.default.events.REASSIGN,e)}},{key:"_userDidSendRequest",value:function(e){o.default.info("user sent the signature request"),this.emit(s.default.events.SEND,e)}},{key:"_userDidSignRequest",value:function(e){o.default.info("user signed the signature request"),this.emit(s.default.events.SIGN,e)}},{key:"_onEmbeddedClick",value:function(e){e.srcElement.classList.contains(s.default.classNames.MODAL_CLOSE_BTN)&&(e.preventDefault(),this.close())}},{key:"_onInitTimeout",value:function(){o.default.error("app failed to initialize before timeout"),alert("Something went wrong when preparing your signature request. Please try again."),this._sendInitializationErrorMessage(),this._clearInitTimeout(),this.close()}},{key:"_onMessage",value:function(e){e.origin===this._iFrameURL.origin&&"object"===m(e.data)&&this._appDidSendMessage(e)}},{key:"_delegateMessage",value:function(e){var t=e.type,n=e.payload;switch(t){case s.default.messages.APP_ERROR:this._appDidError(n);break;case s.default.messages.APP_INITIALIZE:this._appDidInitialize(n);break;case s.default.messages.APP_VERIFY_DOMAIN_REQUEST:this._appDidRequestDomainVerification(n);break;case s.default.messages.USER_CLOSE_REQUEST:this._userDidCloseRequest(n);break;case s.default.messages.USER_CREATE_TEMPLATE:this._userDidCreateTemplate(n);break;case s.default.messages.USER_DECLINE_REQUEST:this._userDidDeclineRequest(n);break;case s.default.messages.USER_REASSIGN_REQUEST:this._userDidReassignRequest(n);break;case s.default.messages.USER_SEND_REQUEST:this._userDidSendRequest(n);break;case s.default.messages.USER_SIGN_REQUEST:this._userDidSignRequest(n);break;default:o.default.warn("unhandled cross-origin window message")}}},{key:"open",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(o.default.info("open()",e,t),this._isOpen&&this.close(),this._config=p({},a.default,this._baseConfig,t),this._config.container&&!(this._config.container instanceof HTMLElement))throw new TypeError('"container" must be an element');this._updateFrameUrl(e),this._updateEmbeddedType(e),this._appendMarkup(),this._maybeStartInitTimeout(),this._isOpen=!0,window.addEventListener("message",this._onMessage),this.emit(s.default.events.OPEN,{iFrameUrl:this._iFrameURL.href,url:e})}},{key:"close",value:function(){o.default.info("close()"),this._isOpen&&(this._clearInitTimeout(),this._clearMarkup(),this._baseEl.removeEventListener("click",this._onEmbeddedClick),this._config=null,this._baseEl=null,this._embeddedType=null,this._iFrameEl=null,this._iFrameURL=null,this._isOpen=!1,window.removeEventListener("message",this._onMessage),this.emit(s.default.events.CLOSE))}},{key:"emit",value:function(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];o.default.info.apply(o.default,["emit()"].concat(r)),(e=y(v(t.prototype),"emit",this)).call.apply(e,[this].concat(r))}},{key:"element",get:function(){return this._baseEl}},{key:"isOpen",get:function(){return this._isOpen}}]),t}();E(w,"classNames",s.default.classNames),E(w,"events",s.default.events),E(w,"locales",s.default.locales),E(w,"messages",s.default.messages),E(w,"version","2.0.0-7");var C=w;t.default=C},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var i,o=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o)?e:(i=0===o.indexOf("//")?o:0===o.indexOf("/")?n+o:r+o.replace(/^\.\//,""),"url("+JSON.stringify(i)+")")})}},function(e,t,n){var r={},i=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),o=function(e){var t={};return function(e,n){if("function"==typeof e)return e();if(void 0===t[e]){var r=function(e,t){return t?t.querySelector(e):document.querySelector(e)}.call(this,e,n);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}}(),a=null,s=0,u=[],l=n(11);function c(e,t){for(var n=0;n<e.length;n++){var i=e[n],o=r[i.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](i.parts[a]);for(;a<i.parts.length;a++)o.parts.push(g(i.parts[a],t))}else{var s=[];for(a=0;a<i.parts.length;a++)s.push(g(i.parts[a],t));r[i.id]={id:i.id,refs:1,parts:s}}}}function f(e,t){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],a=t.base?o[0]+t.base:o[0],s={css:o[1],media:o[2],sourceMap:o[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}function d(e,t){var n=o(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=u[u.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),u.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var i=o(e.insertAt.before,n);n.insertBefore(t,i)}}function h(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=u.indexOf(e);t>=0&&u.splice(t,1)}function p(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var r=function(){0;return n.nc}();r&&(e.attrs.nonce=r)}return m(t,e.attrs),d(e,t),t}function m(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function g(e,t){var n,r,i,o;if(t.transform&&e.css){if(!(o=t.transform(e.css)))return function(){};e.css=o}if(t.singleton){var u=s++;n=a||(a=p(t)),r=v.bind(null,n,u,!1),i=v.bind(null,n,u,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",m(t,e.attrs),d(e,t),t}(t),r=function(e,t,n){var r=n.css,i=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&i;(t.convertToAbsoluteUrls||o)&&(r=l(r));i&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,t),i=function(){h(n),n.href&&URL.revokeObjectURL(n.href)}):(n=p(t),r=function(e,t){var n=t.css,r=t.media;r&&e.setAttribute("media",r);if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),i=function(){h(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=i()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=f(e,t);return c(n,t),function(e){for(var i=[],o=0;o<n.length;o++){var a=n[o];(s=r[a.id]).refs--,i.push(s)}e&&c(f(e,t),t);for(o=0;o<i.length;o++){var s;if(0===(s=i[o]).refs){for(var u=0;u<s.parts.length;u++)s.parts[u]();delete r[s.id]}}}};var y=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function v(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=y(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var i=function(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(r),o=r.sources.map(function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"});return[n].concat(o).concat([i]).join("\n")}return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<e.length;i++){var a=e[i];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,".x-hellosign-embedded {\n height: 100%; }\n .x-hellosign-embedded--in-modal {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%; }\n\n.x-hellosign-embedded__modal-screen {\n display: block;\n background-color: rgba(0, 0, 0, 0.5);\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%; }\n @media screen and (max-width: 767px) {\n .x-hellosign-embedded__modal-screen {\n display: none; } }\n\n.x-hellosign-embedded__modal-content {\n box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.25);\n position: absolute;\n top: 5vh;\n left: 50%;\n transform: translateX(-50%);\n height: 90vh;\n min-height: 400px;\n width: 80vw;\n min-width: 512px;\n max-width: 1024px; }\n @media screen and (max-width: 767px) {\n .x-hellosign-embedded__modal-content {\n overflow: hidden;\n box-shadow: none;\n height: 100%;\n min-height: 0;\n width: 100%;\n min-width: 0;\n transform: none;\n left: 0;\n top: 0; } }\n\n.x-hellosign-embedded__modal-close {\n position: absolute;\n top: 0;\n right: -60px;\n height: 40px;\n width: 40px; }\n @media screen and (max-width: 767px) {\n .x-hellosign-embedded__modal-close {\n display: none; } }\n\n.x-hellosign-embedded__modal-close-button {\n -webkit-appearance: none;\n height: 100%;\n width: 100%;\n border: none;\n background-color: #1a1a1a;\n transition: background-color 0.35s ease;\n will-change: background-color;\n box-shadow: 0px 3px 9px 0px rgba(0, 0, 0, 0.25);\n cursor: pointer; }\n .x-hellosign-embedded__modal-close-button:hover {\n background-color: #00B3E6; }\n .x-hellosign-embedded__modal-close-button::before, .x-hellosign-embedded__modal-close-button::after {\n content: '';\n position: absolute;\n width: 1px;\n background-color: white;\n height: 20px;\n top: 10px; }\n .x-hellosign-embedded__modal-close-button::before {\n transform: rotateZ(45deg); }\n .x-hellosign-embedded__modal-close-button::after {\n transform: rotateZ(-45deg); }\n\n.x-hellosign-embedded__iframe {\n min-height: 400px;\n background-color: #F7F8F9;\n height: 100%;\n width: 100%;\n border: none; }\n",""])},function(e,t,n){var r=n(14);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(12)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){(function(e){!function(e){"use strict";var t=e.URLSearchParams?e.URLSearchParams:null,n=t&&"a=1"===new t({a:1}).toString(),r=t&&"+"===new t("s=%2B").get("s"),i="__URLSearchParams__",o=l.prototype,a=!(!e.Symbol||!e.Symbol.iterator);if(!(t&&n&&r)){o.append=function(e,t){p(this[i],e,t)},o.delete=function(e){delete this[i][e]},o.get=function(e){var t=this[i];return e in t?t[e][0]:null},o.getAll=function(e){var t=this[i];return e in t?t[e].slice(0):[]},o.has=function(e){return e in this[i]},o.set=function(e,t){this[i][e]=[""+t]},o.toString=function(){var e,t,n,r,o=this[i],a=[];for(t in o)for(n=c(t),e=0,r=o[t];e<r.length;e++)a.push(n+"="+c(r[e]));return a.join("&")};var s=!!r&&t&&!n&&e.Proxy;e.URLSearchParams=s?new Proxy(t,{construct:function(e,t){return new e(new l(t[0]).toString())}}):l;var u=e.URLSearchParams.prototype;u.polyfill=!0,u.forEach=u.forEach||function(e,t){var n=h(this.toString());Object.getOwnPropertyNames(n).forEach(function(r){n[r].forEach(function(n){e.call(t,n,r,this)},this)},this)},u.sort=u.sort||function(){var e,t,n,r=h(this.toString()),i=[];for(e in r)i.push(e);for(i.sort(),t=0;t<i.length;t++)this.delete(i[t]);for(t=0;t<i.length;t++){var o=i[t],a=r[o];for(n=0;n<a.length;n++)this.append(o,a[n])}},u.keys=u.keys||function(){var e=[];return this.forEach(function(t,n){e.push(n)}),d(e)},u.values=u.values||function(){var e=[];return this.forEach(function(t){e.push(t)}),d(e)},u.entries=u.entries||function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),d(e)},a&&(u[e.Symbol.iterator]=u[e.Symbol.iterator]||u.entries)}function l(e){((e=e||"")instanceof URLSearchParams||e instanceof l)&&(e=e.toString()),this[i]=h(e)}function c(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'\(\)~]|%20|%00/g,function(e){return t[e]})}function f(e){return decodeURIComponent(e.replace(/\+/g," "))}function d(t){var n={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return a&&(n[e.Symbol.iterator]=function(){return n}),n}function h(e){var t={};if("object"==typeof e)for(var n in e)e.hasOwnProperty(n)&&p(t,n,e[n]);else{0===e.indexOf("?")&&(e=e.slice(1));for(var r=e.split("&"),i=0;i<r.length;i++){var o=r[i],a=o.indexOf("=");-1<a?p(t,f(o.slice(0,a)),f(o.slice(a+1))):o&&p(t,f(o),"")}}return t}function p(e,t,n){var r="string"==typeof n?n:null!==n&&void 0!==n&&"function"==typeof n.toString?n.toString():JSON.stringify(n);t in e?e[t].push(r):e[t]=[r]}}(void 0!==e?e:"undefined"!=typeof window?window:this)}).call(this,n(1))},function(e,t,n){(function(e){!function(e){var t=function(){try{return!!Symbol.iterator}catch(e){return!1}}(),n=function(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t&&(n[Symbol.iterator]=function(){return n}),n},r=function(e){return encodeURIComponent(e).replace(/%20/g,"+")},i=function(e){return decodeURIComponent(e).replace(/\+/g," ")};"URLSearchParams"in e&&"a=1"===new URLSearchParams("?a=1").toString()||function(){var o=function(e){if(Object.defineProperty(this,"_entries",{value:{}}),"string"==typeof e){if(""!==e)for(var t,n=(e=e.replace(/^\?/,"")).split("&"),r=0;r<n.length;r++)t=n[r].split("="),this.append(i(t[0]),t.length>1?i(t[1]):"")}else if(e instanceof o){var a=this;e.forEach(function(e,t){a.append(e,t)})}},a=o.prototype;a.append=function(e,t){e in this._entries?this._entries[e].push(t.toString()):this._entries[e]=[t.toString()]},a.delete=function(e){delete this._entries[e]},a.get=function(e){return e in this._entries?this._entries[e][0]:null},a.getAll=function(e){return e in this._entries?this._entries[e].slice(0):[]},a.has=function(e){return e in this._entries},a.set=function(e,t){this._entries[e]=[t.toString()]},a.forEach=function(e,t){var n;for(var r in this._entries)if(this._entries.hasOwnProperty(r)){n=this._entries[r];for(var i=0;i<n.length;i++)e.call(t,n[i],r,this)}},a.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),n(e)},a.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),n(e)},a.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),n(e)},t&&(a[Symbol.iterator]=a.entries),a.toString=function(){var e=[];return this.forEach(function(t,n){e.push(r(n)+"="+r(t))}),e.join("&")},e.URLSearchParams=o}()}(void 0!==e?e:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this),function(e){if(function(){try{var e=new URL("b","http://a");return e.pathname="c%20d","http://a/c%20d"===e.href&&e.searchParams}catch(e){return!1}}()||function(){var t=e.URL,n=function(t,n){"string"!=typeof t&&(t=String(t));var r,i=document;if(n&&(void 0===e.location||n!==e.location.href)){(r=(i=document.implementation.createHTMLDocument("")).createElement("base")).href=n,i.head.appendChild(r);try{if(0!==r.href.indexOf(n))throw new Error(r.href)}catch(e){throw new Error("URL unable to set base "+n+" due to "+e)}}var o=i.createElement("a");if(o.href=t,r&&(i.body.appendChild(o),o.href=o.href),":"===o.protocol||!/:/.test(o.href))throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:o})},r=n.prototype;["hash","host","hostname","port","protocol","search"].forEach(function(e){!function(e){Object.defineProperty(r,e,{get:function(){return this._anchorElement[e]},set:function(t){this._anchorElement[e]=t},enumerable:!0})}(e)}),Object.defineProperties(r,{toString:{get:function(){var e=this;return function(){return e.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(e){this._anchorElement.href=e},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(e){this._anchorElement.pathname=e},enumerable:!0},origin:{get:function(){var e={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],t=this._anchorElement.port!=e&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(t?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(e){},enumerable:!0},username:{get:function(){return""},set:function(e){},enumerable:!0},searchParams:{get:function(){var e=new URLSearchParams(this.search),t=this;return["append","delete","set"].forEach(function(n){var r=e[n];e[n]=function(){r.apply(e,arguments),t.search=e.toString()}}),e},enumerable:!0}}),n.createObjectURL=function(e){return t.createObjectURL.apply(t,arguments)},n.revokeObjectURL=function(e){return t.revokeObjectURL.apply(t,arguments)},e.URL=n}(),void 0!==e.location&&!("origin"in e.location)){var t=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:t,enumerable:!0})}catch(n){setInterval(function(){e.location.origin=t()},100)}}}(void 0!==e?e:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this)}).call(this,n(1))},function(e,t,n){n(17),n(16),n(15),e.exports=n(10)}]).default});

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc