From c01e6d9bd83f209b77b92b46298f1bcf86b5b90b Mon Sep 17 00:00:00 2001 From: ldpmcasebook Date: Thu, 28 Jan 2021 17:14:35 -0600 Subject: [PATCH] merging with 4.12.6 version --- app/bootswatch/package.json | 75 +- app/fontawesome/package.json | 81 +- dist/formio.embed.js | 26 +- dist/formio.embed.min.js | 26 +- dist/formio.form.js | 107 +- dist/formio.form.min.js | 26 +- dist/formio.full.js | 107 +- dist/formio.full.min.js | 26 +- docs/ast/source/PDF.js.json | 36232 +++++++++------- docs/ast/source/PDFBuilder.js.json | 22589 +++++----- docs/class/src/PDF.js~PDF.html | 24 +- docs/class/src/PDFBuilder.js~PDFBuilder.html | 30 +- docs/coverage.json | 46 +- docs/index.json | 1138 +- docs/source.html | 1092 +- lib/Changelog.md | 171 + lib/Element.js | 2 +- lib/EventEmitter.js | 28 +- lib/Form.js | 16 +- lib/FormBuilder.js | 22 +- lib/Formio.js | 316 +- lib/PDF.js | 37 +- lib/PDFBuilder.js | 73 +- lib/PDFBuilder.spec.js | 71 + lib/README.md | 4 +- lib/Webform.js | 51 +- lib/Webform.unit.js | 187 +- lib/WebformBuilder.js | 97 +- lib/Wizard.js | 165 +- lib/Wizard.spec.js | 49 + lib/Wizard.unit.js | 37 + lib/WizardBuilder.js | 52 +- .../_classes/component/Component.js | 72 +- .../component/editForm/Component.edit.api.js | 3 +- .../_classes/component/editForm/utils.js | 1 + .../_classes/component/editForm/utils.spec.js | 91 + .../_classes/componentModal/ComponentModal.js | 16 +- lib/components/_classes/field/Field.js | 34 +- lib/components/_classes/input/Input.js | 26 +- .../_classes/multivalue/Multivalue.js | 26 +- .../_classes/nested/NestedComponent.js | 45 +- .../_classes/nested/NestedComponent.unit.js | 22 - .../nestedarray/NestedArrayComponent.js | 34 +- .../nesteddata/NestedDataComponent.js | 36 +- lib/components/address/Address.js | 30 +- .../address/editForm/Address.edit.display.js | 4 +- lib/components/alert/Alert.js | 36 +- lib/components/button/Button.js | 30 +- lib/components/button/Button.unit.js | 20 - lib/components/checkbox/Checkbox.js | 20 +- lib/components/columns/Columns.js | 30 +- lib/components/container/Container.js | 24 +- lib/components/content/Content.js | 24 +- lib/components/currency/Currency.js | 37 +- lib/components/datagrid/DataGrid.js | 86 +- lib/components/datamap/DataMap.js | 26 +- lib/components/datetime/DateTime.js | 26 +- lib/components/day/Day.js | 28 +- lib/components/editgrid/EditGrid.js | 97 +- lib/components/editgrid/EditGrid.unit.js | 51 +- lib/components/email/Email.js | 24 +- lib/components/fieldset/Fieldset.js | 24 +- lib/components/file/File.js | 63 +- lib/components/form/Form.js | 167 +- lib/components/hidden/Hidden.js | 24 +- lib/components/html/HTML.js | 24 +- lib/components/number/Number.js | 20 +- lib/components/panel/Panel.js | 39 +- .../panel/editForm/Panel.edit.conditional.js | 14 - lib/components/password/Password.js | 24 +- lib/components/phonenumber/PhoneNumber.js | 20 +- lib/components/radio/Radio.js | 53 +- lib/components/recaptcha/ReCaptcha.js | 76 +- lib/components/resource/Resource.js | 24 +- lib/components/select/Select.js | 242 +- lib/components/select/Select.unit.js | 8 - .../select/editForm/Select.edit.data.js | 7 + lib/components/selectboxes/SelectBoxes.js | 16 - lib/components/signature/Signature.js | 24 +- lib/components/survey/Survey.js | 22 +- lib/components/survey/Survey.unit.js | 14 - lib/components/table/Table.js | 24 +- lib/components/tabs/Tabs.js | 24 +- lib/components/tags/Tags.js | 26 +- lib/components/textarea/TextArea.js | 24 +- .../textfield/TextField.builder.spec.js | 169 + lib/components/textfield/TextField.js | 18 - lib/components/time/Time.js | 28 +- lib/components/tree/Tree.js | 34 +- lib/components/unknown/Unknown.js | 20 +- lib/components/url/Url.js | 24 +- lib/components/well/Well.js | 20 +- lib/contrib/edittable/EditTable.js | 28 +- lib/contrib/edittable/EditTable.spec.js | 370 + lib/contrib/location/Location.js | 24 +- lib/contrib/location/Location.spec.js | 15 + lib/contrib/modaledit/ModalEdit.form.js | 22 - lib/contrib/modaledit/ModalEdit.js | 40 +- lib/contrib/stripe/checkout/StripeCheckout.js | 22 - .../stripe/checkout/StripeCheckout.spec.js | 9 + lib/contrib/stripe/stripe/Stripe.js | 22 - lib/contrib/stripe/stripe/Stripe.spec.js | 9 + lib/dist/formio.builder.css | 34 +- lib/dist/formio.builder.min.css | 2 +- lib/dist/formio.contrib.js | 193 +- lib/dist/formio.contrib.min.js | 24 +- lib/dist/formio.embed.js | 30 +- lib/dist/formio.embed.min.js | 30 +- lib/dist/formio.form.css | 22 +- lib/dist/formio.form.js | 291 +- lib/dist/formio.form.min.css | 2 +- lib/dist/formio.form.min.js | 30 +- lib/dist/formio.full.css | 34 +- lib/dist/formio.full.js | 293 +- lib/dist/formio.full.min.css | 2 +- lib/dist/formio.full.min.js | 30 +- lib/dist/formio.js | 71 +- lib/dist/formio.min.js | 22 +- lib/dist/formio.utils.js | 33 +- lib/dist/formio.utils.min.js | 20 +- lib/formio.embed.js | 5 +- lib/i18n.js | 1 + lib/package.json | 4 +- lib/providers/address/AddressProvider.js | 22 - lib/providers/address/AzureAddressProvider.js | 20 +- .../address/CustomAddressProvider.js | 24 +- .../address/GoogleAddressProvider.js | 20 +- .../address/NominatimAddressProvider.js | 20 +- lib/templates/bootstrap/datagrid/form.ejs.js | 12 +- lib/templates/bootstrap/file/form.ejs.js | 4 +- lib/templates/bootstrap/index.js | 14 - lib/utils/ChoicesWrapper.js | 24 +- lib/utils/Evaluator.js | 10 - lib/utils/jsonlogic/operators.spec.js | 226 + lib/utils/utils.js | 8 +- lib/utils/utils.unit.js | 12 - lib/validator/Rules.js | 14 - lib/validator/Validator.js | 31 +- lib/validator/rules/Custom.js | 22 +- lib/validator/rules/Date.js | 18 +- lib/validator/rules/Day.js | 28 +- lib/validator/rules/Email.js | 22 +- lib/validator/rules/JSON.js | 22 +- lib/validator/rules/Mask.js | 22 +- lib/validator/rules/Max.js | 22 +- lib/validator/rules/MaxDate.js | 22 +- lib/validator/rules/MaxLength.js | 22 +- lib/validator/rules/MaxWords.js | 22 +- lib/validator/rules/MaxYear.js | 22 +- lib/validator/rules/Min.js | 22 +- lib/validator/rules/MinDate.js | 22 +- lib/validator/rules/MinLength.js | 22 +- lib/validator/rules/MinWords.js | 22 +- lib/validator/rules/MinYear.js | 22 +- lib/validator/rules/Pattern.js | 20 +- lib/validator/rules/Required.js | 22 +- lib/validator/rules/Select.js | 22 +- lib/validator/rules/Time.js | 22 +- lib/validator/rules/Unique.js | 18 +- lib/validator/rules/Url.js | 22 +- lib/widgets/CalendarWidget.js | 45 +- lib/widgets/InputWidget.js | 20 +- 162 files changed, 35943 insertions(+), 32115 deletions(-) create mode 100644 lib/PDFBuilder.spec.js create mode 100644 lib/Wizard.spec.js create mode 100644 lib/components/_classes/component/editForm/utils.spec.js create mode 100644 lib/components/textfield/TextField.builder.spec.js create mode 100644 lib/contrib/edittable/EditTable.spec.js create mode 100644 lib/contrib/location/Location.spec.js create mode 100644 lib/contrib/stripe/checkout/StripeCheckout.spec.js create mode 100644 lib/contrib/stripe/stripe/Stripe.spec.js create mode 100644 lib/utils/jsonlogic/operators.spec.js diff --git a/app/bootswatch/package.json b/app/bootswatch/package.json index 676025cd2b..0944aaa354 100644 --- a/app/bootswatch/package.json +++ b/app/bootswatch/package.json @@ -1,27 +1,41 @@ { - "name": "bootswatch", - "description": "Bootswatch is a collection of themes for Bootstrap.", - "version": "4.5.3", - "author": "Thomas Park", - "homepage": "https://bootswatch.com", - "license": "MIT", - "repository": { - "type": "git", - "url": "git+https://github.com/thomaspark/bootswatch.git" + "_args": [ + [ + "bootswatch@4.5.3", + "/Users/luispadilla/Documents/DNAMIC/Casebook/formio.js" + ] + ], + "_development": true, + "_from": "bootswatch@4.5.3", + "_id": "bootswatch@4.5.3", + "_inBundle": false, + "_integrity": "sha512-gaB3gBSAegmYbk97aVELKcSKVdPjWsSY4yCITkUt/SqbqjtMU/HtIUszb4O9vzdbrfuVXThc/qCXzjoJaAPgiQ==", + "_location": "/bootswatch", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "bootswatch@4.5.3", + "name": "bootswatch", + "escapedName": "bootswatch", + "rawSpec": "4.5.3", + "saveSpec": null, + "fetchSpec": "4.5.3" + }, + "_requiredBy": [ + "#DEV:/" + ], + "_resolved": "https://registry.npmjs.org/bootswatch/-/bootswatch-4.5.3.tgz", + "_spec": "4.5.3", + "_where": "/Users/luispadilla/Documents/DNAMIC/Casebook/formio.js", + "author": { + "name": "Thomas Park" }, "bugs": { "url": "https://github.com/thomaspark/bootswatch/issues" }, - "scripts": { - "build": "grunt swatch", - "htmllint": "grunt htmllint", - "stylelint": "stylelint \"**/*.scss\" --rd", - "test": "npm run stylelint" - }, - "files": [ - "dist/**/*.{css,scss}" - ], "dependencies": {}, + "description": "Bootswatch is a collection of themes for Bootstrap.", "devDependencies": { "@lodder/grunt-postcss": "^3.0.0", "autoprefixer": "^10.0.1", @@ -41,9 +55,22 @@ "postcss": "^8.1.2", "stylelint": "^13.7.2", "stylelint-config-twbs-bootstrap": "^2.1.0" - } - -,"_resolved": "https://registry.npmjs.org/bootswatch/-/bootswatch-4.5.3.tgz" -,"_integrity": "sha512-gaB3gBSAegmYbk97aVELKcSKVdPjWsSY4yCITkUt/SqbqjtMU/HtIUszb4O9vzdbrfuVXThc/qCXzjoJaAPgiQ==" -,"_from": "bootswatch@4.5.3" -} \ No newline at end of file + }, + "files": [ + "dist/**/*.{css,scss}" + ], + "homepage": "https://bootswatch.com", + "license": "MIT", + "name": "bootswatch", + "repository": { + "type": "git", + "url": "git+https://github.com/thomaspark/bootswatch.git" + }, + "scripts": { + "build": "grunt swatch", + "htmllint": "grunt htmllint", + "stylelint": "stylelint \"**/*.scss\" --rd", + "test": "npm run stylelint" + }, + "version": "4.5.3" +} diff --git a/app/fontawesome/package.json b/app/fontawesome/package.json index 1755437485..94bcfb4281 100644 --- a/app/fontawesome/package.json +++ b/app/fontawesome/package.json @@ -1,48 +1,79 @@ { - "name": "font-awesome", - "description": "The iconic font and CSS framework", - "version": "4.7.0", - "style": "css/font-awesome.css", - "keywords": ["font", "awesome", "fontawesome", "icon", "font", "bootstrap"], - "homepage": "http://fontawesome.io/", - "bugs": { - "url" : "http://github.com/FortAwesome/Font-Awesome/issues" + "_args": [ + [ + "font-awesome@4.7.0", + "/Users/luispadilla/Documents/DNAMIC/Casebook/formio.js" + ] + ], + "_development": true, + "_from": "font-awesome@4.7.0", + "_id": "font-awesome@4.7.0", + "_inBundle": false, + "_integrity": "sha1-j6jPBBGhoxr9B7BtKQK7n8gVoTM=", + "_location": "/font-awesome", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "font-awesome@4.7.0", + "name": "font-awesome", + "escapedName": "font-awesome", + "rawSpec": "4.7.0", + "saveSpec": null, + "fetchSpec": "4.7.0" }, + "_requiredBy": [ + "#DEV:/" + ], + "_resolved": "https://registry.npmjs.org/font-awesome/-/font-awesome-4.7.0.tgz", + "_spec": "4.7.0", + "_where": "/Users/luispadilla/Documents/DNAMIC/Casebook/formio.js", "author": { "name": "Dave Gandy", "email": "dave@fontawesome.io", - "web": "http://twitter.com/davegandy" + "url": "http://twitter.com/davegandy" }, - "repository": { - "type": "git", - "url": "https://github.com/FortAwesome/Font-Awesome.git" + "bugs": { + "url": "http://github.com/FortAwesome/Font-Awesome/issues" }, "contributors": [ { "name": "Brian Talbot", - "web": "http://twitter.com/talbs" + "url": "http://twitter.com/talbs" }, { "name": "Travis Chase", - "web": "http://twitter.com/supercodepoet" + "url": "http://twitter.com/supercodepoet" }, { "name": "Rob Madole", - "web": "http://twitter.com/robmadole" + "url": "http://twitter.com/robmadole" }, { "name": "Geremia Taglialatela", - "web": "http://twitter.com/gtagliala" + "url": "http://twitter.com/gtagliala" } ], + "dependencies": {}, + "description": "The iconic font and CSS framework", + "engines": { + "node": ">=0.10.3" + }, + "homepage": "http://fontawesome.io/", + "keywords": [ + "font", + "awesome", + "fontawesome", + "icon", + "font", + "bootstrap" + ], "license": "(OFL-1.1 AND MIT)", - "dependencies": { + "name": "font-awesome", + "repository": { + "type": "git", + "url": "git+https://github.com/FortAwesome/Font-Awesome.git" }, - "engines" : { - "node" : ">=0.10.3" - } - -,"_resolved": "https://registry.npmjs.org/font-awesome/-/font-awesome-4.7.0.tgz" -,"_integrity": "sha1-j6jPBBGhoxr9B7BtKQK7n8gVoTM=" -,"_from": "font-awesome@4.7.0" -} \ No newline at end of file + "style": "css/font-awesome.css", + "version": "4.7.0" +} diff --git a/dist/formio.embed.js b/dist/formio.embed.js index ad7d3b9149..f7b238cdc0 100644 --- a/dist/formio.embed.js +++ b/dist/formio.embed.js @@ -1,5 +1,5 @@ /*! formiojs v4.12.6 | https://unpkg.com/formiojs@4.12.6/LICENSE.txt */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Formio=t():e.Formio=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.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 o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));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=265)}([function(e,t,n){"use strict";var r=n(5),o=n(9),i=n(106),a=n(32),s=n(30),u=n(21),l=n(115),c=n(144),f=n(97),d=n(18),p=n(203),h=d("isConcatSpreadable"),m=p>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),y=f("concat"),v=function(e){if(!a(e))return!1;var t=e[h];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!m||!y},{concat:function(e){var t,n,r,o,i,a=s(this),f=c(a,0),d=0;for(t=-1,r=arguments.length;t9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n=9007199254740991)throw TypeError("Maximum allowed index exceeded");l(f,d++,i)}return f.length=d,f}})},function(e,t,n){(function(e,r){var o; +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Formio=t():e.Formio=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.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 o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));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=269)}([function(e,t,n){"use strict";var r=n(5),o=n(10),i=n(107),a=n(28),s=n(31),u=n(21),l=n(116),c=n(148),f=n(98),d=n(14),p=n(154),h=d("isConcatSpreadable"),m=p>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),v=f("concat"),y=function(e){if(!a(e))return!1;var t=e[h];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!m||!v},{concat:function(e){var t,n,r,o,i,a=s(this),f=c(a,0),d=0;for(t=-1,r=arguments.length;t9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n=9007199254740991)throw TypeError("Maximum allowed index exceeded");l(f,d++,i)}return f.length=d,f}})},function(e,t,n){(function(e,r){var o; /** * @license * Lodash @@ -7,26 +7,26 @@ * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */(function(){var i="Expected a function",a="__lodash_placeholder__",s=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],u="[object Arguments]",l="[object Array]",c="[object Boolean]",f="[object Date]",d="[object Error]",p="[object Function]",h="[object GeneratorFunction]",m="[object Map]",y="[object Number]",v="[object Object]",b="[object RegExp]",g="[object Set]",w="[object String]",k="[object Symbol]",_="[object WeakMap]",O="[object ArrayBuffer]",S="[object DataView]",x="[object Float32Array]",P="[object Float64Array]",j="[object Int8Array]",C="[object Int16Array]",E="[object Int32Array]",A="[object Uint8Array]",M="[object Uint16Array]",R="[object Uint32Array]",T=/\b__p \+= '';/g,D=/\b(__p \+=) '' \+/g,I=/(__e\(.*?\)|\b__t\)) \+\n'';/g,L=/&(?:amp|lt|gt|quot|#39);/g,V=/[&<>"']/g,N=RegExp(L.source),F=RegExp(V.source),U=/<%-([\s\S]+?)%>/g,z=/<%([\s\S]+?)%>/g,B=/<%=([\s\S]+?)%>/g,H=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,q=/^\w*$/,W=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Y=/[\\^$.*+?()[\]{}|]/g,K=RegExp(Y.source),G=/^\s+|\s+$/g,J=/^\s+/,Z=/\s+$/,X=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,$=/\{\n\/\* \[wrapped with (.+)\] \*/,Q=/,? & /,ee=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,te=/\\(\\)?/g,ne=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,re=/\w*$/,oe=/^[-+]0x[0-9a-f]+$/i,ie=/^0b[01]+$/i,ae=/^\[object .+?Constructor\]$/,se=/^0o[0-7]+$/i,ue=/^(?:0|[1-9]\d*)$/,le=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ce=/($^)/,fe=/['\n\r\u2028\u2029\\]/g,de="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",pe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",he="[\\ud800-\\udfff]",me="["+pe+"]",ye="["+de+"]",ve="\\d+",be="[\\u2700-\\u27bf]",ge="[a-z\\xdf-\\xf6\\xf8-\\xff]",we="[^\\ud800-\\udfff"+pe+ve+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ke="\\ud83c[\\udffb-\\udfff]",_e="[^\\ud800-\\udfff]",Oe="(?:\\ud83c[\\udde6-\\uddff]){2}",Se="[\\ud800-\\udbff][\\udc00-\\udfff]",xe="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Pe="(?:"+ge+"|"+we+")",je="(?:"+xe+"|"+we+")",Ce="(?:"+ye+"|"+ke+")"+"?",Ee="[\\ufe0e\\ufe0f]?"+Ce+("(?:\\u200d(?:"+[_e,Oe,Se].join("|")+")[\\ufe0e\\ufe0f]?"+Ce+")*"),Ae="(?:"+[be,Oe,Se].join("|")+")"+Ee,Me="(?:"+[_e+ye+"?",ye,Oe,Se,he].join("|")+")",Re=RegExp("['’]","g"),Te=RegExp(ye,"g"),De=RegExp(ke+"(?="+ke+")|"+Me+Ee,"g"),Ie=RegExp([xe+"?"+ge+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[me,xe,"$"].join("|")+")",je+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[me,xe+Pe,"$"].join("|")+")",xe+"?"+Pe+"+(?:['’](?:d|ll|m|re|s|t|ve))?",xe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ve,Ae].join("|"),"g"),Le=RegExp("[\\u200d\\ud800-\\udfff"+de+"\\ufe0e\\ufe0f]"),Ve=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ne=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Fe=-1,Ue={};Ue[x]=Ue[P]=Ue[j]=Ue[C]=Ue[E]=Ue[A]=Ue["[object Uint8ClampedArray]"]=Ue[M]=Ue[R]=!0,Ue[u]=Ue[l]=Ue[O]=Ue[c]=Ue[S]=Ue[f]=Ue[d]=Ue[p]=Ue[m]=Ue[y]=Ue[v]=Ue[b]=Ue[g]=Ue[w]=Ue[_]=!1;var ze={};ze[u]=ze[l]=ze[O]=ze[S]=ze[c]=ze[f]=ze[x]=ze[P]=ze[j]=ze[C]=ze[E]=ze[m]=ze[y]=ze[v]=ze[b]=ze[g]=ze[w]=ze[k]=ze[A]=ze["[object Uint8ClampedArray]"]=ze[M]=ze[R]=!0,ze[d]=ze[p]=ze[_]=!1;var Be={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},He=parseFloat,qe=parseInt,We="object"==typeof e&&e&&e.Object===Object&&e,Ye="object"==typeof self&&self&&self.Object===Object&&self,Ke=We||Ye||Function("return this")(),Ge=t&&!t.nodeType&&t,Je=Ge&&"object"==typeof r&&r&&!r.nodeType&&r,Ze=Je&&Je.exports===Ge,Xe=Ze&&We.process,$e=function(){try{var e=Je&&Je.require&&Je.require("util").types;return e||Xe&&Xe.binding&&Xe.binding("util")}catch(e){}}(),Qe=$e&&$e.isArrayBuffer,et=$e&&$e.isDate,tt=$e&&$e.isMap,nt=$e&&$e.isRegExp,rt=$e&&$e.isSet,ot=$e&&$e.isTypedArray;function it(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function at(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o-1}function dt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r-1;);return n}function Dt(e,t){for(var n=e.length;n--&&kt(t,e[n],0)>-1;);return n}function It(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var Lt=Pt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Vt=Pt({"&":"&","<":"<",">":">",'"':""","'":"'"});function Nt(e){return"\\"+Be[e]}function Ft(e){return Le.test(e)}function Ut(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function zt(e,t){return function(n){return e(t(n))}}function Bt(e,t){for(var n=-1,r=e.length,o=0,i=[];++n",""":'"',"'":"'"});var Gt=function e(t){var n,r=(t=null==t?Ke:Gt.defaults(Ke.Object(),t,Gt.pick(Ke,Ne))).Array,o=t.Date,de=t.Error,pe=t.Function,he=t.Math,me=t.Object,ye=t.RegExp,ve=t.String,be=t.TypeError,ge=r.prototype,we=pe.prototype,ke=me.prototype,_e=t["__core-js_shared__"],Oe=we.toString,Se=ke.hasOwnProperty,xe=0,Pe=(n=/[^.]+$/.exec(_e&&_e.keys&&_e.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",je=ke.toString,Ce=Oe.call(me),Ee=Ke._,Ae=ye("^"+Oe.call(Se).replace(Y,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Me=Ze?t.Buffer:void 0,De=t.Symbol,Le=t.Uint8Array,Be=Me?Me.allocUnsafe:void 0,We=zt(me.getPrototypeOf,me),Ye=me.create,Ge=ke.propertyIsEnumerable,Je=ge.splice,Xe=De?De.isConcatSpreadable:void 0,$e=De?De.iterator:void 0,bt=De?De.toStringTag:void 0,Pt=function(){try{var e=ei(me,"defineProperty");return e({},"",{}),e}catch(e){}}(),Jt=t.clearTimeout!==Ke.clearTimeout&&t.clearTimeout,Zt=o&&o.now!==Ke.Date.now&&o.now,Xt=t.setTimeout!==Ke.setTimeout&&t.setTimeout,$t=he.ceil,Qt=he.floor,en=me.getOwnPropertySymbols,tn=Me?Me.isBuffer:void 0,nn=t.isFinite,rn=ge.join,on=zt(me.keys,me),an=he.max,sn=he.min,un=o.now,ln=t.parseInt,cn=he.random,fn=ge.reverse,dn=ei(t,"DataView"),pn=ei(t,"Map"),hn=ei(t,"Promise"),mn=ei(t,"Set"),yn=ei(t,"WeakMap"),vn=ei(me,"create"),bn=yn&&new yn,gn={},wn=ji(dn),kn=ji(pn),_n=ji(hn),On=ji(mn),Sn=ji(yn),xn=De?De.prototype:void 0,Pn=xn?xn.valueOf:void 0,jn=xn?xn.toString:void 0;function Cn(e){if(qa(e)&&!Ta(e)&&!(e instanceof Rn)){if(e instanceof Mn)return e;if(Se.call(e,"__wrapped__"))return Ci(e)}return new Mn(e)}var En=function(){function e(){}return function(t){if(!Ha(t))return{};if(Ye)return Ye(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function An(){}function Mn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function Rn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Tn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function Zn(e,t,n,r,o,i){var a,s=1&t,l=2&t,d=4&t;if(n&&(a=o?n(e,r,o,i):n(e)),void 0!==a)return a;if(!Ha(e))return e;var _=Ta(e);if(_){if(a=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Se.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!s)return bo(e,a)}else{var T=ri(e),D=T==p||T==h;if(Va(e))return fo(e,s);if(T==v||T==u||D&&!o){if(a=l||D?{}:ii(e),!s)return l?function(e,t){return go(e,ni(e),t)}(e,function(e,t){return e&&go(t,ks(t),e)}(a,e)):function(e,t){return go(e,ti(e),t)}(e,Yn(a,e))}else{if(!ze[T])return o?e:{};a=function(e,t,n){var r=e.constructor;switch(t){case O:return po(e);case c:case f:return new r(+e);case S:return function(e,t){var n=t?po(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case x:case P:case j:case C:case E:case A:case"[object Uint8ClampedArray]":case M:case R:return ho(e,n);case m:return new r;case y:case w:return new r(e);case b:return function(e){var t=new e.constructor(e.source,re.exec(e));return t.lastIndex=e.lastIndex,t}(e);case g:return new r;case k:return o=e,Pn?me(Pn.call(o)):{}}var o}(e,T,s)}}i||(i=new Vn);var I=i.get(e);if(I)return I;i.set(e,a),Ja(e)?e.forEach((function(r){a.add(Zn(r,t,n,r,e,i))})):Wa(e)&&e.forEach((function(r,o){a.set(o,Zn(r,t,n,o,e,i))}));var L=_?void 0:(d?l?Ko:Yo:l?ks:ws)(e);return st(L||e,(function(r,o){L&&(r=e[o=r]),Hn(a,o,Zn(r,t,n,o,e,i))})),a}function Xn(e,t,n){var r=n.length;if(null==e)return!r;for(e=me(e);r--;){var o=n[r],i=t[o],a=e[o];if(void 0===a&&!(o in e)||!i(a))return!1}return!0}function $n(e,t,n){if("function"!=typeof e)throw new be(i);return wi((function(){e.apply(void 0,n)}),t)}function Qn(e,t,n,r){var o=-1,i=ft,a=!0,s=e.length,u=[],l=t.length;if(!s)return u;n&&(t=pt(t,At(n))),r?(i=dt,a=!1):t.length>=200&&(i=Rt,a=!1,t=new Ln(t));e:for(;++o-1},Dn.prototype.set=function(e,t){var n=this.__data__,r=qn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},In.prototype.clear=function(){this.size=0,this.__data__={hash:new Tn,map:new(pn||Dn),string:new Tn}},In.prototype.delete=function(e){var t=$o(this,e).delete(e);return this.size-=t?1:0,t},In.prototype.get=function(e){return $o(this,e).get(e)},In.prototype.has=function(e){return $o(this,e).has(e)},In.prototype.set=function(e,t){var n=$o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Ln.prototype.add=Ln.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Ln.prototype.has=function(e){return this.__data__.has(e)},Vn.prototype.clear=function(){this.__data__=new Dn,this.size=0},Vn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Vn.prototype.get=function(e){return this.__data__.get(e)},Vn.prototype.has=function(e){return this.__data__.has(e)},Vn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Dn){var r=n.__data__;if(!pn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new In(r)}return n.set(e,t),this.size=n.size,this};var er=_o(ur),tr=_o(lr,!0);function nr(e,t){var n=!0;return er(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function rr(e,t,n){for(var r=-1,o=e.length;++r0&&n(s)?t>1?ir(s,t-1,n,r,o):ht(o,s):r||(o[o.length]=s)}return o}var ar=Oo(),sr=Oo(!0);function ur(e,t){return e&&ar(e,t,ws)}function lr(e,t){return e&&sr(e,t,ws)}function cr(e,t){return ct(t,(function(t){return Ua(e[t])}))}function fr(e,t){for(var n=0,r=(t=so(t,e)).length;null!=e&&nt}function mr(e,t){return null!=e&&Se.call(e,t)}function yr(e,t){return null!=e&&t in me(e)}function vr(e,t,n){for(var o=n?dt:ft,i=e[0].length,a=e.length,s=a,u=r(a),l=1/0,c=[];s--;){var f=e[s];s&&t&&(f=pt(f,At(t))),l=sn(f.length,l),u[s]=!n&&(t||i>=120&&f.length>=120)?new Ln(s&&f):void 0}f=e[0];var d=-1,p=u[0];e:for(;++d=s)return u;var l=n[r];return u*("desc"==l?-1:1)}}return e.index-t.index}(e,t,n)}))}function Tr(e,t,n){for(var r=-1,o=t.length,i={};++r-1;)s!==e&&Je.call(s,u,1),Je.call(e,u,1);return e}function Ir(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;si(o)?Je.call(e,o,1):Qr(e,o)}}return e}function Lr(e,t){return e+Qt(cn()*(t-e+1))}function Vr(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do{t%2&&(n+=e),(t=Qt(t/2))&&(e+=e)}while(t);return n}function Nr(e,t){return ki(mi(e,t,Ys),e+"")}function Fr(e){return Fn(Es(e))}function Ur(e,t){var n=Es(e);return Si(n,Jn(t,0,n.length))}function zr(e,t,n,r){if(!Ha(e))return e;for(var o=-1,i=(t=so(t,e)).length,a=i-1,s=e;null!=s&&++oi?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=r(i);++o>>1,a=e[i];null!==a&&!Xa(a)&&(n?a<=t:a=200){var l=t?null:No(e);if(l)return Ht(l);a=!1,o=Rt,u=new Ln}else u=t?[]:s;e:for(;++r=r?e:Wr(e,t,n)}var co=Jt||function(e){return Ke.clearTimeout(e)};function fo(e,t){if(t)return e.slice();var n=e.length,r=Be?Be(n):new e.constructor(n);return e.copy(r),r}function po(e){var t=new e.constructor(e.byteLength);return new Le(t).set(new Le(e)),t}function ho(e,t){var n=t?po(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function mo(e,t){if(e!==t){var n=void 0!==e,r=null===e,o=e==e,i=Xa(e),a=void 0!==t,s=null===t,u=t==t,l=Xa(t);if(!s&&!l&&!i&&e>t||i&&a&&u&&!s&&!l||r&&a&&u||!n&&u||!o)return 1;if(!r&&!i&&!l&&e1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&ui(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=me(t);++r-1?o[i?t[a]:a]:void 0}}function Co(e){return Wo((function(t){var n=t.length,r=n,o=Mn.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new be(i);if(o&&!s&&"wrapper"==Jo(a))var s=new Mn([],!0)}for(r=s?r:n;++r1&&g.reverse(),f&&ls))return!1;var l=i.get(e),c=i.get(t);if(l&&c)return l==t&&c==e;var f=-1,d=!0,p=2&n?new Ln:void 0;for(i.set(e,t),i.set(t,e);++f-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(X,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return st(s,(function(n){var r="_."+n[0];t&n[1]&&!ft(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match($);return t?t[1].split(Q):[]}(r),n)))}function Oi(e){var t=0,n=0;return function(){var r=un(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Si(e,t){var n=-1,r=e.length,o=r-1;for(t=void 0===t?r:t;++n1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,Gi(e,n)}));function ta(e){var t=Cn(e);return t.__chain__=!0,t}function na(e,t){return t(e)}var ra=Wo((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return Gn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Rn&&si(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:na,args:[o],thisArg:void 0}),new Mn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(o)}));var oa=wo((function(e,t,n){Se.call(e,n)?++e[n]:Kn(e,n,1)}));var ia=jo(Ri),aa=jo(Ti);function sa(e,t){return(Ta(e)?st:er)(e,Xo(t,3))}function ua(e,t){return(Ta(e)?ut:tr)(e,Xo(t,3))}var la=wo((function(e,t,n){Se.call(e,n)?e[n].push(t):Kn(e,n,[t])}));var ca=Nr((function(e,t,n){var o=-1,i="function"==typeof t,a=Ia(e)?r(e.length):[];return er(e,(function(e){a[++o]=i?it(t,e,n):br(e,t,n)})),a})),fa=wo((function(e,t,n){Kn(e,n,t)}));function da(e,t){return(Ta(e)?pt:jr)(e,Xo(t,3))}var pa=wo((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var ha=Nr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&ui(e,t[0],t[1])?t=[]:n>2&&ui(t[0],t[1],t[2])&&(t=[t[0]]),Rr(e,ir(t,1),[])})),ma=Zt||function(){return Ke.Date.now()};function ya(e,t,n){return t=n?void 0:t,Uo(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function va(e,t){var n;if("function"!=typeof t)throw new be(i);return e=rs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var ba=Nr((function(e,t,n){var r=1;if(n.length){var o=Bt(n,Zo(ba));r|=32}return Uo(e,r,t,n,o)})),ga=Nr((function(e,t,n){var r=3;if(n.length){var o=Bt(n,Zo(ga));r|=32}return Uo(t,r,e,n,o)}));function wa(e,t,n){var r,o,a,s,u,l,c=0,f=!1,d=!1,p=!0;if("function"!=typeof e)throw new be(i);function h(t){var n=r,i=o;return r=o=void 0,c=t,s=e.apply(i,n)}function m(e){return c=e,u=wi(v,t),f?h(e):s}function y(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-c>=a}function v(){var e=ma();if(y(e))return b(e);u=wi(v,function(e){var n=t-(e-l);return d?sn(n,a-(e-c)):n}(e))}function b(e){return u=void 0,p&&r?h(e):(r=o=void 0,s)}function g(){var e=ma(),n=y(e);if(r=arguments,o=this,l=e,n){if(void 0===u)return m(l);if(d)return co(u),u=wi(v,t),h(l)}return void 0===u&&(u=wi(v,t)),s}return t=is(t)||0,Ha(n)&&(f=!!n.leading,a=(d="maxWait"in n)?an(is(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),g.cancel=function(){void 0!==u&&co(u),c=0,r=l=o=u=void 0},g.flush=function(){return void 0===u?s:b(ma())},g}var ka=Nr((function(e,t){return $n(e,1,t)})),_a=Nr((function(e,t,n){return $n(e,is(t)||0,n)}));function Oa(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new be(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Oa.Cache||In),n}function Sa(e){if("function"!=typeof e)throw new be(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Oa.Cache=In;var xa=uo((function(e,t){var n=(t=1==t.length&&Ta(t[0])?pt(t[0],At(Xo())):pt(ir(t,1),At(Xo()))).length;return Nr((function(r){for(var o=-1,i=sn(r.length,n);++o=t})),Ra=gr(function(){return arguments}())?gr:function(e){return qa(e)&&Se.call(e,"callee")&&!Ge.call(e,"callee")},Ta=r.isArray,Da=Qe?At(Qe):function(e){return qa(e)&&pr(e)==O};function Ia(e){return null!=e&&Ba(e.length)&&!Ua(e)}function La(e){return qa(e)&&Ia(e)}var Va=tn||iu,Na=et?At(et):function(e){return qa(e)&&pr(e)==f};function Fa(e){if(!qa(e))return!1;var t=pr(e);return t==d||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Ka(e)}function Ua(e){if(!Ha(e))return!1;var t=pr(e);return t==p||t==h||"[object AsyncFunction]"==t||"[object Proxy]"==t}function za(e){return"number"==typeof e&&e==rs(e)}function Ba(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Ha(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function qa(e){return null!=e&&"object"==typeof e}var Wa=tt?At(tt):function(e){return qa(e)&&ri(e)==m};function Ya(e){return"number"==typeof e||qa(e)&&pr(e)==y}function Ka(e){if(!qa(e)||pr(e)!=v)return!1;var t=We(e);if(null===t)return!0;var n=Se.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Oe.call(n)==Ce}var Ga=nt?At(nt):function(e){return qa(e)&&pr(e)==b};var Ja=rt?At(rt):function(e){return qa(e)&&ri(e)==g};function Za(e){return"string"==typeof e||!Ta(e)&&qa(e)&&pr(e)==w}function Xa(e){return"symbol"==typeof e||qa(e)&&pr(e)==k}var $a=ot?At(ot):function(e){return qa(e)&&Ba(e.length)&&!!Ue[pr(e)]};var Qa=Io(Pr),es=Io((function(e,t){return e<=t}));function ts(e){if(!e)return[];if(Ia(e))return Za(e)?Yt(e):bo(e);if($e&&e[$e])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[$e]());var t=ri(e);return(t==m?Ut:t==g?Ht:Es)(e)}function ns(e){return e?(e=is(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function rs(e){var t=ns(e),n=t%1;return t==t?n?t-n:t:0}function os(e){return e?Jn(rs(e),0,4294967295):0}function is(e){if("number"==typeof e)return e;if(Xa(e))return NaN;if(Ha(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ha(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(G,"");var n=ie.test(e);return n||se.test(e)?qe(e.slice(2),n?2:8):oe.test(e)?NaN:+e}function as(e){return go(e,ks(e))}function ss(e){return null==e?"":Xr(e)}var us=ko((function(e,t){if(di(t)||Ia(t))go(t,ws(t),e);else for(var n in t)Se.call(t,n)&&Hn(e,n,t[n])})),ls=ko((function(e,t){go(t,ks(t),e)})),cs=ko((function(e,t,n,r){go(t,ks(t),e,r)})),fs=ko((function(e,t,n,r){go(t,ws(t),e,r)})),ds=Wo(Gn);var ps=Nr((function(e,t){e=me(e);var n=-1,r=t.length,o=r>2?t[2]:void 0;for(o&&ui(t[0],t[1],o)&&(r=1);++n1),t})),go(e,Ko(e),n),r&&(n=Zn(n,7,Ho));for(var o=t.length;o--;)Qr(n,t[o]);return n}));var xs=Wo((function(e,t){return null==e?{}:function(e,t){return Tr(e,t,(function(t,n){return ys(e,n)}))}(e,t)}));function Ps(e,t){if(null==e)return{};var n=pt(Ko(e),(function(e){return[e]}));return t=Xo(t),Tr(e,n,(function(e,n){return t(e,n[0])}))}var js=Fo(ws),Cs=Fo(ks);function Es(e){return null==e?[]:Mt(e,ws(e))}var As=xo((function(e,t,n){return t=t.toLowerCase(),e+(n?Ms(t):t)}));function Ms(e){return Fs(ss(e).toLowerCase())}function Rs(e){return(e=ss(e))&&e.replace(le,Lt).replace(Te,"")}var Ts=xo((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Ds=xo((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Is=So("toLowerCase");var Ls=xo((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Vs=xo((function(e,t,n){return e+(n?" ":"")+Fs(t)}));var Ns=xo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Fs=So("toUpperCase");function Us(e,t,n){return e=ss(e),void 0===(t=n?void 0:t)?function(e){return Ve.test(e)}(e)?function(e){return e.match(Ie)||[]}(e):function(e){return e.match(ee)||[]}(e):e.match(t)||[]}var zs=Nr((function(e,t){try{return it(e,void 0,t)}catch(e){return Fa(e)?e:new de(e)}})),Bs=Wo((function(e,t){return st(t,(function(t){t=Pi(t),Kn(e,t,ba(e[t],e))})),e}));function Hs(e){return function(){return e}}var qs=Co(),Ws=Co(!0);function Ys(e){return e}function Ks(e){return Or("function"==typeof e?e:Zn(e,1))}var Gs=Nr((function(e,t){return function(n){return br(n,e,t)}})),Js=Nr((function(e,t){return function(n){return br(e,n,t)}}));function Zs(e,t,n){var r=ws(t),o=cr(t,r);null!=n||Ha(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=cr(t,ws(t)));var i=!(Ha(n)&&"chain"in n&&!n.chain),a=Ua(e);return st(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=bo(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,ht([this.value()],arguments))})})),e}function Xs(){}var $s=Ro(pt),Qs=Ro(lt),eu=Ro(vt);function tu(e){return li(e)?xt(Pi(e)):function(e){return function(t){return fr(t,e)}}(e)}var nu=Do(),ru=Do(!0);function ou(){return[]}function iu(){return!1}var au=Mo((function(e,t){return e+t}),0),su=Vo("ceil"),uu=Mo((function(e,t){return e/t}),1),lu=Vo("floor");var cu,fu=Mo((function(e,t){return e*t}),1),du=Vo("round"),pu=Mo((function(e,t){return e-t}),0);return Cn.after=function(e,t){if("function"!=typeof t)throw new be(i);return e=rs(e),function(){if(--e<1)return t.apply(this,arguments)}},Cn.ary=ya,Cn.assign=us,Cn.assignIn=ls,Cn.assignInWith=cs,Cn.assignWith=fs,Cn.at=ds,Cn.before=va,Cn.bind=ba,Cn.bindAll=Bs,Cn.bindKey=ga,Cn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ta(e)?e:[e]},Cn.chain=ta,Cn.chunk=function(e,t,n){t=(n?ui(e,t,n):void 0===t)?1:an(rs(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var i=0,a=0,s=r($t(o/t));io?0:o+n),(r=void 0===r||r>o?o:rs(r))<0&&(r+=o),r=n>r?0:os(r);n>>0)?(e=ss(e))&&("string"==typeof t||null!=t&&!Ga(t))&&!(t=Xr(t))&&Ft(e)?lo(Yt(e),0,n):e.split(t,n):[]},Cn.spread=function(e,t){if("function"!=typeof e)throw new be(i);return t=null==t?0:an(rs(t),0),Nr((function(n){var r=n[t],o=lo(n,0,t);return r&&ht(o,r),it(e,this,o)}))},Cn.tail=function(e){var t=null==e?0:e.length;return t?Wr(e,1,t):[]},Cn.take=function(e,t,n){return e&&e.length?Wr(e,0,(t=n||void 0===t?1:rs(t))<0?0:t):[]},Cn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Wr(e,(t=r-(t=n||void 0===t?1:rs(t)))<0?0:t,r):[]},Cn.takeRightWhile=function(e,t){return e&&e.length?to(e,Xo(t,3),!1,!0):[]},Cn.takeWhile=function(e,t){return e&&e.length?to(e,Xo(t,3)):[]},Cn.tap=function(e,t){return t(e),e},Cn.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new be(i);return Ha(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),wa(e,t,{leading:r,maxWait:t,trailing:o})},Cn.thru=na,Cn.toArray=ts,Cn.toPairs=js,Cn.toPairsIn=Cs,Cn.toPath=function(e){return Ta(e)?pt(e,Pi):Xa(e)?[e]:bo(xi(ss(e)))},Cn.toPlainObject=as,Cn.transform=function(e,t,n){var r=Ta(e),o=r||Va(e)||$a(e);if(t=Xo(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:Ha(e)&&Ua(i)?En(We(e)):{}}return(o?st:ur)(e,(function(e,r,o){return t(n,e,r,o)})),n},Cn.unary=function(e){return ya(e,1)},Cn.union=qi,Cn.unionBy=Wi,Cn.unionWith=Yi,Cn.uniq=function(e){return e&&e.length?$r(e):[]},Cn.uniqBy=function(e,t){return e&&e.length?$r(e,Xo(t,2)):[]},Cn.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?$r(e,void 0,t):[]},Cn.unset=function(e,t){return null==e||Qr(e,t)},Cn.unzip=Ki,Cn.unzipWith=Gi,Cn.update=function(e,t,n){return null==e?e:eo(e,t,ao(n))},Cn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:eo(e,t,ao(n),r)},Cn.values=Es,Cn.valuesIn=function(e){return null==e?[]:Mt(e,ks(e))},Cn.without=Ji,Cn.words=Us,Cn.wrap=function(e,t){return Pa(ao(t),e)},Cn.xor=Zi,Cn.xorBy=Xi,Cn.xorWith=$i,Cn.zip=Qi,Cn.zipObject=function(e,t){return oo(e||[],t||[],Hn)},Cn.zipObjectDeep=function(e,t){return oo(e||[],t||[],zr)},Cn.zipWith=ea,Cn.entries=js,Cn.entriesIn=Cs,Cn.extend=ls,Cn.extendWith=cs,Zs(Cn,Cn),Cn.add=au,Cn.attempt=zs,Cn.camelCase=As,Cn.capitalize=Ms,Cn.ceil=su,Cn.clamp=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=is(n))==n?n:0),void 0!==t&&(t=(t=is(t))==t?t:0),Jn(is(e),t,n)},Cn.clone=function(e){return Zn(e,4)},Cn.cloneDeep=function(e){return Zn(e,5)},Cn.cloneDeepWith=function(e,t){return Zn(e,5,t="function"==typeof t?t:void 0)},Cn.cloneWith=function(e,t){return Zn(e,4,t="function"==typeof t?t:void 0)},Cn.conformsTo=function(e,t){return null==t||Xn(e,t,ws(t))},Cn.deburr=Rs,Cn.defaultTo=function(e,t){return null==e||e!=e?t:e},Cn.divide=uu,Cn.endsWith=function(e,t,n){e=ss(e),t=Xr(t);var r=e.length,o=n=void 0===n?r:Jn(rs(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},Cn.eq=Ea,Cn.escape=function(e){return(e=ss(e))&&F.test(e)?e.replace(V,Vt):e},Cn.escapeRegExp=function(e){return(e=ss(e))&&K.test(e)?e.replace(Y,"\\$&"):e},Cn.every=function(e,t,n){var r=Ta(e)?lt:nr;return n&&ui(e,t,n)&&(t=void 0),r(e,Xo(t,3))},Cn.find=ia,Cn.findIndex=Ri,Cn.findKey=function(e,t){return gt(e,Xo(t,3),ur)},Cn.findLast=aa,Cn.findLastIndex=Ti,Cn.findLastKey=function(e,t){return gt(e,Xo(t,3),lr)},Cn.floor=lu,Cn.forEach=sa,Cn.forEachRight=ua,Cn.forIn=function(e,t){return null==e?e:ar(e,Xo(t,3),ks)},Cn.forInRight=function(e,t){return null==e?e:sr(e,Xo(t,3),ks)},Cn.forOwn=function(e,t){return e&&ur(e,Xo(t,3))},Cn.forOwnRight=function(e,t){return e&&lr(e,Xo(t,3))},Cn.get=ms,Cn.gt=Aa,Cn.gte=Ma,Cn.has=function(e,t){return null!=e&&oi(e,t,mr)},Cn.hasIn=ys,Cn.head=Ii,Cn.identity=Ys,Cn.includes=function(e,t,n,r){e=Ia(e)?e:Es(e),n=n&&!r?rs(n):0;var o=e.length;return n<0&&(n=an(o+n,0)),Za(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&kt(e,t,n)>-1},Cn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:rs(n);return o<0&&(o=an(r+o,0)),kt(e,t,o)},Cn.inRange=function(e,t,n){return t=ns(t),void 0===n?(n=t,t=0):n=ns(n),function(e,t,n){return e>=sn(t,n)&&e=-9007199254740991&&e<=9007199254740991},Cn.isSet=Ja,Cn.isString=Za,Cn.isSymbol=Xa,Cn.isTypedArray=$a,Cn.isUndefined=function(e){return void 0===e},Cn.isWeakMap=function(e){return qa(e)&&ri(e)==_},Cn.isWeakSet=function(e){return qa(e)&&"[object WeakSet]"==pr(e)},Cn.join=function(e,t){return null==e?"":rn.call(e,t)},Cn.kebabCase=Ts,Cn.last=Fi,Cn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return void 0!==n&&(o=(o=rs(n))<0?an(r+o,0):sn(o,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):wt(e,Ot,o,!0)},Cn.lowerCase=Ds,Cn.lowerFirst=Is,Cn.lt=Qa,Cn.lte=es,Cn.max=function(e){return e&&e.length?rr(e,Ys,hr):void 0},Cn.maxBy=function(e,t){return e&&e.length?rr(e,Xo(t,2),hr):void 0},Cn.mean=function(e){return St(e,Ys)},Cn.meanBy=function(e,t){return St(e,Xo(t,2))},Cn.min=function(e){return e&&e.length?rr(e,Ys,Pr):void 0},Cn.minBy=function(e,t){return e&&e.length?rr(e,Xo(t,2),Pr):void 0},Cn.stubArray=ou,Cn.stubFalse=iu,Cn.stubObject=function(){return{}},Cn.stubString=function(){return""},Cn.stubTrue=function(){return!0},Cn.multiply=fu,Cn.nth=function(e,t){return e&&e.length?Mr(e,rs(t)):void 0},Cn.noConflict=function(){return Ke._===this&&(Ke._=Ee),this},Cn.noop=Xs,Cn.now=ma,Cn.pad=function(e,t,n){e=ss(e);var r=(t=rs(t))?Wt(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return To(Qt(o),n)+e+To($t(o),n)},Cn.padEnd=function(e,t,n){e=ss(e);var r=(t=rs(t))?Wt(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var o=cn();return sn(e+o*(t-e+He("1e-"+((o+"").length-1))),t)}return Lr(e,t)},Cn.reduce=function(e,t,n){var r=Ta(e)?mt:jt,o=arguments.length<3;return r(e,Xo(t,4),n,o,er)},Cn.reduceRight=function(e,t,n){var r=Ta(e)?yt:jt,o=arguments.length<3;return r(e,Xo(t,4),n,o,tr)},Cn.repeat=function(e,t,n){return t=(n?ui(e,t,n):void 0===t)?1:rs(t),Vr(ss(e),t)},Cn.replace=function(){var e=arguments,t=ss(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Cn.result=function(e,t,n){var r=-1,o=(t=so(t,e)).length;for(o||(o=1,e=void 0);++r9007199254740991)return[];var n=4294967295,r=sn(e,4294967295);e-=4294967295;for(var o=Et(r,t=Xo(t));++n=i)return e;var s=n-Wt(r);if(s<1)return r;var u=a?lo(a,0,s).join(""):e.slice(0,s);if(void 0===o)return u+r;if(a&&(s+=u.length-s),Ga(o)){if(e.slice(s).search(o)){var l,c=u;for(o.global||(o=ye(o.source,ss(re.exec(o))+"g")),o.lastIndex=0;l=o.exec(c);)var f=l.index;u=u.slice(0,void 0===f?s:f)}}else if(e.indexOf(Xr(o),s)!=s){var d=u.lastIndexOf(o);d>-1&&(u=u.slice(0,d))}return u+r},Cn.unescape=function(e){return(e=ss(e))&&N.test(e)?e.replace(L,Kt):e},Cn.uniqueId=function(e){var t=++xe;return ss(e)+t},Cn.upperCase=Ns,Cn.upperFirst=Fs,Cn.each=sa,Cn.eachRight=ua,Cn.first=Ii,Zs(Cn,(cu={},ur(Cn,(function(e,t){Se.call(Cn.prototype,t)||(cu[t]=e)})),cu),{chain:!1}),Cn.VERSION="4.17.20",st(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Cn[e].placeholder=Cn})),st(["drop","take"],(function(e,t){Rn.prototype[e]=function(n){n=void 0===n?1:an(rs(n),0);var r=this.__filtered__&&!t?new Rn(this):this.clone();return r.__filtered__?r.__takeCount__=sn(n,r.__takeCount__):r.__views__.push({size:sn(n,4294967295),type:e+(r.__dir__<0?"Right":"")}),r},Rn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),st(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Rn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Xo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),st(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Rn.prototype[e]=function(){return this[n](1).value()[0]}})),st(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Rn.prototype[e]=function(){return this.__filtered__?new Rn(this):this[n](1)}})),Rn.prototype.compact=function(){return this.filter(Ys)},Rn.prototype.find=function(e){return this.filter(e).head()},Rn.prototype.findLast=function(e){return this.reverse().find(e)},Rn.prototype.invokeMap=Nr((function(e,t){return"function"==typeof e?new Rn(this):this.map((function(n){return br(n,e,t)}))})),Rn.prototype.reject=function(e){return this.filter(Sa(Xo(e)))},Rn.prototype.slice=function(e,t){e=rs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Rn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=rs(t))<0?n.dropRight(-t):n.take(t-e)),n)},Rn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Rn.prototype.toArray=function(){return this.take(4294967295)},ur(Rn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=Cn[r?"take"+("last"==t?"Right":""):t],i=r||/^find/.test(t);o&&(Cn.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,s=t instanceof Rn,u=a[0],l=s||Ta(t),c=function(e){var t=o.apply(Cn,ht([e],a));return r&&f?t[0]:t};l&&n&&"function"==typeof u&&1!=u.length&&(s=l=!1);var f=this.__chain__,d=!!this.__actions__.length,p=i&&!f,h=s&&!d;if(!i&&l){t=h?t:new Rn(this);var m=e.apply(t,a);return m.__actions__.push({func:na,args:[c],thisArg:void 0}),new Mn(m,f)}return p&&h?e.apply(this,a):(m=this.thru(c),p?r?m.value()[0]:m.value():m)})})),st(["pop","push","shift","sort","splice","unshift"],(function(e){var t=ge[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Cn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Ta(o)?o:[],e)}return this[n]((function(n){return t.apply(Ta(n)?n:[],e)}))}})),ur(Rn.prototype,(function(e,t){var n=Cn[t];if(n){var r=n.name+"";Se.call(gn,r)||(gn[r]=[]),gn[r].push({name:t,func:n})}})),gn[Eo(void 0,2).name]=[{name:"wrapper",func:void 0}],Rn.prototype.clone=function(){var e=new Rn(this.__wrapped__);return e.__actions__=bo(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=bo(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=bo(this.__views__),e},Rn.prototype.reverse=function(){if(this.__filtered__){var e=new Rn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Rn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ta(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},Cn.prototype.plant=function(e){for(var t,n=this;n instanceof An;){var r=Ci(n);r.__index__=0,r.__values__=void 0,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},Cn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Rn){var t=e;return this.__actions__.length&&(t=new Rn(this)),(t=t.reverse()).__actions__.push({func:na,args:[Hi],thisArg:void 0}),new Mn(t,this.__chain__)}return this.thru(Hi)},Cn.prototype.toJSON=Cn.prototype.valueOf=Cn.prototype.value=function(){return no(this.__wrapped__,this.__actions__)},Cn.prototype.first=Cn.prototype.head,$e&&(Cn.prototype[$e]=function(){return this}),Cn}();Ke._=Gt,void 0===(o=function(){return Gt}.call(t,n,t,r))||(r.exports=o)}).call(this)}).call(this,n(40),n(98)(e))},function(e,t,n){var r=n(5),o=n(9),i=n(30),a=n(112),s=n(201);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!s},{getPrototypeOf:function(e){return a(i(e))}})},function(e,t,n){"use strict";var r=n(5),o=n(35).map,i=n(9),a=n(97)("map"),s=a&&!i((function(){[].map.call({length:-1,0:1},(function(e){throw e}))}));r({target:"Array",proto:!0,forced:!a||!s},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";n(81),n(83),n(84),n(0),n(43),n(7),n(20),n(38),n(31),n(14),n(3),n(48),n(52),n(16),n(59),n(208),n(56),n(12),n(47),n(6),n(19),n(29),n(58),n(80),n(15),n(22),n(157),n(8),n(39),Object.defineProperty(t,"__esModule",{value:!0});var r={evaluate:!0,getRandomComponentId:!0,getPropertyValue:!0,getElementRect:!0,boolValue:!0,isMongoId:!0,checkCalculated:!0,checkSimpleConditional:!0,checkCustomConditional:!0,checkJsonConditional:!0,checkCondition:!0,checkTrigger:!0,setActionProperty:!0,unescapeHTML:!0,convertStringToHTMLElement:!0,uniqueName:!0,guid:!0,getDateSetting:!0,isValidDate:!0,currentTimezone:!0,offsetDate:!0,zonesLoaded:!0,shouldLoadZones:!0,loadZones:!0,momentDate:!0,formatDate:!0,formatOffset:!0,getLocaleDateFormatInfo:!0,convertFormatToFlatpickr:!0,convertFormatToMoment:!0,convertFormatToMask:!0,getInputMask:!0,matchInputMask:!0,getNumberSeparators:!0,getNumberDecimalLimit:!0,getCurrencyAffixes:!0,fieldData:!0,delay:!0,iterateKey:!0,uniqueKey:!0,bootstrapVersion:!0,unfold:!0,firstNonNil:!0,withSwitch:!0,observeOverload:!0,getContextComponents:!0,sanitize:!0,fastCloneDeep:!0,interpolate:!0,isInputComponent:!0,getArrayFromComponentPath:!0,hasInvalidComponent:!0,getStringFromComponentPath:!0,round:!0,getIEBrowserVersion:!0,getComponentPathWithoutIndicies:!0,getComponentPath:!0,getDataParentComponent:!0,_:!0,jsonLogic:!0,moment:!0,Evaluator:!0};t.evaluate=b,t.getRandomComponentId=function(){return"e".concat(Math.random().toString(36).substring(7))},t.getPropertyValue=g,t.getElementRect=function(e){var t=window.getComputedStyle(e,null);return{x:g(t,"left"),y:g(t,"top"),width:g(t,"width"),height:g(t,"height")}},t.boolValue=function(e){return o.default.isBoolean(e)?e:o.default.isString(e)?"true"===e.toLowerCase():!!e},t.isMongoId=function(e){return e.toString().match(/^[0-9a-fA-F]{24}$/)},t.checkCalculated=function(e,t,n){e.calculateValue&&o.default.set(n,e.key,b(e.calculateValue,{value:void 0,data:t?t.data:n,row:n,util:this,component:e},"value"))},t.checkSimpleConditional=w,t.checkCustomConditional=k,t.checkJsonConditional=_,t.checkCondition=function(e,t,n,r,i){var a=e.customConditional,s=e.conditional;if(a)return k(e,a,t,n,r,"show",!0,i);if(s&&s.when){i||function(e){e.path=T(e);var t=D(e);t&&"object"===m(t)&&(t.path=T(t))}(i=o.default.cloneDeep(e));var u=D(i),l=null!=u&&u.path?R(u.path):null;if(u&&s.when.startsWith(l)){var c={};o.default.set(c,l,t),t=c}return w(e,s,t,n)}if(s&&s.json)return _(e,s.json,t,n,r,!0);return!0},t.checkTrigger=function(e,t,n,r,o,i){if(!t[t.type])return!1;switch(t.type){case"simple":return w(e,t.simple,n,r);case"javascript":return k(e,t.javascript,n,r,o,"result",!1,i);case"json":return _(e,t.json,n,r,o,!1)}return!1},t.setActionProperty=function(e,t,n,r,i,a){var s=t.property.value;switch(t.property.type){case"boolean":var u=o.default.get(e,s,!1).toString(),l=t.state.toString();u!==l&&o.default.set(e,s,"true"===l);break;case"string":var c={data:i,row:r,component:e,result:n},f=t.property.component?t[t.property.component]:t.text,d=o.default.get(e,s,""),h=a&&a.interpolate?a.interpolate(f,c):p.default.interpolate(f,c);h!==d&&o.default.set(e,s,h)}return e},t.unescapeHTML=function(e){if("undefined"==typeof window||!("DOMParser"in window))return e;return(new window.DOMParser).parseFromString(e,"text/html").documentElement.textContent},t.convertStringToHTMLElement=function(e,t){return(new window.DOMParser).parseFromString(e,"text/html").body.querySelector(t)},t.uniqueName=function(e,t,n){(t=t||"{{fileName}}-{{guid}}").includes("{{guid}}")||(t="".concat(t,"-{{guid}}"));var r=e.split("."),i=r.slice(0,r.length-1).join("."),a=r.length>1?".".concat(o.default.last(r)):"";return i=i.substr(0,100),n=Object.assign(n||{},{fileName:i,guid:O()}),"".concat(p.default.interpolate(t,n)).concat(a).replace(/[^0-9a-zA-Z.\-_ ]/g,"-")},t.guid=O,t.getDateSetting=function(e){if(o.default.isNil(e)||o.default.isNaN(e)||""===e)return null;if(e instanceof Date)return e;if("function"==typeof e.toDate)return e.isValid()?e.toDate():null;var t="string"!=typeof e||-1===e.indexOf("moment(")?(0,s.default)(e):null;if(t&&t.isValid())return t.toDate();t=null;try{var n=p.default.evaluator("return ".concat(e,";"),"moment")(s.default);"string"==typeof n?t=(0,s.default)(n):"function"==typeof n.toDate?t=(0,s.default)(n.toDate().toUTCString()):n instanceof Date&&(t=(0,s.default)(n))}catch(e){return null}if(!t)return null;if(!t.isValid())return null;return t.toDate()},t.isValidDate=function(e){return o.default.isDate(e)&&!o.default.isNaN(e.getDate())},t.currentTimezone=S,t.offsetDate=x,t.zonesLoaded=function(){return s.default.zonesLoaded},t.shouldLoadZones=P,t.loadZones=j,t.momentDate=function(e,t,n){var r=(0,s.default)(e);"UTC"===n&&(n="Etc/UTC");if((n!==S()||t&&t.match(/\s(z$|z\s)/))&&s.default.zonesLoaded)return r.tz(n);return r},t.formatDate=function(e,t,n,r){var o=(0,s.default)(e,r||void 0);if(n===S())return t.match(/\s(z$|z\s)/)?(j(),s.default.zonesLoaded?o.tz(n).format(C(t)):o.format(C(t.replace(/\s(z$|z\s)/,"")))):o.format(C(t));if("UTC"===n){var i=x(o.toDate(),"UTC");return"".concat((0,s.default)(i.date).format(C(t))," UTC")}return j(),s.default.zonesLoaded&&n?o.tz(n).format("".concat(C(t)," z")):o.format(C(t))},t.formatOffset=function(e,t,n,r){if(r===S())return e(t,n);if("UTC"===r)return"".concat(e(x(t,"UTC").date,n)," UTC");if(j(),s.default.zonesLoaded){var o=x(t,r);return"".concat(e(o.date,n)," ").concat(o.abbr)}return e(t,n)},t.getLocaleDateFormatInfo=function(e){var t={},n=new Date(2017,11,21).toLocaleDateString(e);return t.dayFirst=n.slice(0,2)===21..toString(),t},t.convertFormatToFlatpickr=function(e){return e.replace(/Z/g,"").replace(/y/g,"Y").replace("YYYY","Y").replace("YY","y").replace("MMMM","F").replace(/M/g,"n").replace("nnn","M").replace("nn","m").replace(/d/g,"j").replace(/jj/g,"d").replace("EEEE","l").replace("EEE","D").replace("HH","H").replace("hh","G").replace("mm","i").replace("ss","S").replace(/a/g,"K")},t.convertFormatToMoment=C,t.convertFormatToMask=function(e){return e.replace(/M{4}/g,"MM").replace(/M{3}/g,"***").replace(/e/g,"Q").replace(/[ydhmsHMG]/g,"9").replace(/a/g,"AA")},t.getInputMask=function(e){if(e instanceof Array)return e;var t=[];t.numeric=!0;for(var n=0;nt.length)return!1;for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:"en",t=12345.6789.toLocaleString(e),n=t.match(/..(.)...(.)../);if(!n)return{delimiter:",",decimalSeparator:"."};return{delimiter:n.length>1?n[1]:",",decimalSeparator:n.length>2?n[2]:"."}},t.getNumberDecimalLimit=function(e,t){if(o.default.has(e,"decimalLimit"))return o.default.get(e,"decimalLimit");var n=t||20,r=o.default.get(e,"validate.step","any");if("any"!==r){var i=r.toString().split(".");i.length>1&&(n=i[1].length)}return n},t.getCurrencyAffixes=function(e){var t=e.currency,n=void 0===t?"USD":t,r=e.decimalLimit,o=e.decimalSeparator,i=e.lang,a="(.*)?100";r&&(a+="".concat("."===o?"\\.":o,"0{").concat(r,"}"));a+="(.*)?";var s=100..toLocaleString(i,{style:"currency",currency:n,useGrouping:!0,maximumFractionDigits:r,minimumFractionDigits:r}).replace(".",o).match(new RegExp(a));return{prefix:s[1]||"",suffix:s[2]||""}},t.fieldData=function(e,t){if(!e)return"";if(!t||!t.key)return e;if(t.key.includes(".")){for(var n=e,r=t.key.split("."),o="",i=0;i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length,r=new Array(n>2?n-2:0),o=2;o1&&void 0!==arguments[1]?arguments[1]:{},n=t.limit,r=void 0===n?50:n,o=t.delay,i=void 0===o?500:o,a=0,s=0,u=function(){return a=0};return function(){if(0!==s&&(clearTimeout(s),s=0),s=setTimeout(u,i),(a+=1)>=r)return clearTimeout(s),u(),e()}},t.getContextComponents=function(e){var t=[];return e.utils.eachComponent(e.instance.options.editForm.components,(function(n,r){n.key!==e.data.key&&t.push({label:"".concat(n.label||n.key," (").concat(r,")"),value:r})})),t},t.sanitize=function(e,t){if("function"!=typeof f.default.sanitize)return e;var n={ADD_ATTR:["ref","target"],USE_PROFILES:{html:!0}};t.sanitizeConfig&&Array.isArray(t.sanitizeConfig.addAttr)&&t.sanitizeConfig.addAttr.length>0&&t.sanitizeConfig.addAttr.forEach((function(e){n.ADD_ATTR.push(e)}));t.sanitizeConfig&&Array.isArray(t.sanitizeConfig.addTags)&&t.sanitizeConfig.addTags.length>0&&(n.ADD_TAGS=t.sanitizeConfig.addTags);t.sanitizeConfig&&Array.isArray(t.sanitizeConfig.allowedTags)&&t.sanitizeConfig.allowedTags.length>0&&(n.ALLOWED_TAGS=t.sanitizeConfig.allowedTags);t.sanitizeConfig&&Array.isArray(t.sanitizeConfig.allowedAttrs)&&t.sanitizeConfig.allowedAttrs.length>0&&(n.ALLOWED_ATTR=t.sanitizeConfig.allowedAttrs);t.sanitizeConfig&&t.sanitizeConfig.allowedUriRegex&&(n.ALLOWED_URI_REGEXP=t.sanitizeConfig.allowedUriRegex);t.sanitizeConfig&&Array.isArray(t.sanitizeConfig.addUriSafeAttr)&&t.sanitizeConfig.addUriSafeAttr.length>0&&(n.ADD_URI_SAFE_ATTR=t.sanitizeConfig.addUriSafeAttr);return f.default.sanitize(e,n)},t.fastCloneDeep=function(e){return e?JSON.parse(JSON.stringify(e)):e},t.isInputComponent=function(e){if(!1===e.input||!0===e.input)return e.input;switch(e.type){case"htmlelement":case"content":case"columns":case"fieldset":case"panel":case"table":case"tabs":case"well":case"button":return!1;default:return!0}},t.getArrayFromComponentPath=function(e){if(!e||!o.default.isString(e))return o.default.isArray(e)?e:[e];return e.replace(/[[\]]/g,".").replace(/\.\./g,".").replace(/(^\.)|(\.$)/g,"").split(".").map((function(e){return o.default.defaultTo(o.default.toNumber(e),e)}))},t.hasInvalidComponent=function e(t){return t.getComponents().some((function(t){return o.default.isArray(t.components)?e(t):t.error}))},t.getStringFromComponentPath=function(e){if(!o.default.isArray(e))return e;var t="";return e.forEach((function(e,n){o.default.isNumber(e)?t+="[".concat(e,"]"):t+=0===n?e:".".concat(e)})),t},t.round=function(e,t){if(o.default.isNumber(e))return e.toFixed(t);return e},t.getIEBrowserVersion=function(){if("undefined"==typeof document||!("documentMode"in document))return null;return document.documentMode},t.getComponentPathWithoutIndicies=R,t.getComponentPath=T,t.getDataParentComponent=D,Object.defineProperty(t,"_",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"jsonLogic",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"moment",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"Evaluator",{enumerable:!0,get:function(){return p.default}}),t.interpolate=t.firstNonNil=void 0;var o=h(n(1)),i=h(n(119)),a=h(n(281)),s=h(n(282)),u=h(n(283)),l=n(286),c=h(n(10)),f=h(n(287)),d=n(120);Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===d[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))}));var p=h(n(85));function h(e){return e&&e.__esModule?e:{default: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)}var y=p.default.interpolate;t.interpolate=y;var v=(0,i.default)({Promise:c.default}).fetch;function b(e,t,n,r){var i=null,s=t.component?t.component:{key:"unknown"};!t.form&&t.instance&&(t.form=o.default.get(t.instance,"root._form",{}));var u=s.key;if("string"==typeof e){n&&(e+=";return ".concat(n)),r&&(e=e.replace(/({{\s+(.*)\s+}})/,(function(e,n,r){return 0===r.indexOf("data.")?o.default.get(t.data,r.replace("data.","")):0===r.indexOf("row.")?o.default.get(t.row,r.replace("row.","")):o.default.get(t.data,r)})));try{e=p.default.evaluator(e,t),t=o.default.values(t)}catch(t){console.warn("An error occured within the custom function for ".concat(u),t),i=null,e=!1}}if("function"==typeof e)try{i=p.default.evaluate(e,t)}catch(e){i=null,console.warn("An error occured within custom function for ".concat(u),e)}else if("object"===m(e))try{i=a.default.apply(e,t)}catch(e){i=null,console.warn("An error occured within custom function for ".concat(u),e)}else e&&console.warn("Unknown function type for ".concat(u));return i}function g(e,t){var n=e.getPropertyValue(t);return n=n?n.replace(/[^0-9.]/g,""):"0",parseFloat(n)}function w(e,t,n,r){var i=null;n&&(i=(0,d.getValue)({data:n},t.when)),r&&o.default.isNil(i)&&(i=(0,d.getValue)({data:r},t.when)),o.default.isNil(i)&&(i="");var a=String(t.eq),s=String(t.show);return o.default.isObject(i)&&o.default.has(i,t.eq)?String(i[t.eq])===s:Array.isArray(i)&&i.map(String).includes(a)?"true"===s:String(i)===a==("true"===s)}function k(e,t,n,r,o,i,a,s){"string"==typeof t&&(t="var ".concat(i," = true; ").concat(t,"; return ").concat(i,";"));var u=s&&s.evaluate?s.evaluate(t,{row:n,data:r,form:o}):b(t,{row:n,data:r,form:o});return null===u?a:u}function _(e,t,n,r,i,s){try{return a.default.apply(t,{data:r,row:n,form:i,_:o.default})}catch(t){return console.warn("An error occurred in jsonLogic advanced condition for ".concat(e.key),t),s}}function O(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}function S(){return s.default.currentTimezone||(s.default.currentTimezone=u.default.determine().name()),s.default.currentTimezone}function x(e,t){if("UTC"===t)return{date:new Date(e.getTime()+6e4*e.getTimezoneOffset()),abbr:"UTC"};var n=(0,s.default)(e).tz(t);return{date:new Date(e.getTime()+6e4*(n.utcOffset()+e.getTimezoneOffset())),abbr:n.format("z")}}function P(e){return e!==S()&&"UTC"!==e}function j(e){return e&&!P(e)?new c.default(o.default.noop):s.default.zonesPromise?s.default.zonesPromise:s.default.zonesPromise=v("https://cdn.form.io/moment-timezone/data/packed/latest.json").then((function(e){return e.json().then((function(e){if(s.default.tz.load(e),s.default.zonesLoaded=!0,document&&document.createEvent&&document.body&&document.body.dispatchEvent){var t=document.createEvent("Event");t.initEvent("zonesLoaded",!0,!0),document.body.dispatchEvent(t)}}))}))}function C(e){return e.replace(/y/g,"Y").replace(/d/g,"D").replace(/E/g,"d").replace(/a/g,"A").replace(/U/g,"X")}function E(e){return e.match(/(\d+)$/)?e.replace(/(\d+)$/,(function(e){return Number(e)+1})):"".concat(e,"1")}function A(e){return"function"==typeof e?e():e}l.lodashOperators.forEach((function(e){return a.default.add_operation("_".concat(e),o.default[e])})),a.default.add_operation("getDate",(function(e){return(0,s.default)(e).toISOString()})),a.default.add_operation("relativeMinDate",(function(e){return(0,s.default)().subtract(e,"days").toISOString()})),a.default.add_operation("relativeMaxDate",(function(e){return(0,s.default)().add(e,"days").toISOString()}));var M=o.default.flow([o.default.partialRight(o.default.map,A),o.default.partialRight(o.default.find,(function(e){return!o.default.isUndefined(e)}))]);function R(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.replace(/\[\d+\]/,"")}function T(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e&&e.key?(t=!0===e.input?"".concat(e.key).concat(t?".":"").concat(t):t,T(e.parent,t)):t}function D(e){if(e){var t=e.parent;return t&&(t.isInputComponent||t.input)?t:D(t)}}t.firstNonNil=M},function(e,t,n){var r=n(11),o=n(75).f,i=n(37),a=n(45),s=n(140),u=n(191),l=n(105);e.exports=function(e,t){var n,c,f,d,p,h=e.target,m=e.global,y=e.stat;if(n=m?r:y?r[h]||s(h,{}):(r[h]||{}).prototype)for(c in t){if(d=t[c],f=e.noTargetGet?(p=o(n,c))&&p.value:n[c],!l(m?c:h+(y?".":"#")+c,e.forced)&&void 0!==f){if(typeof d==typeof f)continue;u(d,f)}(e.sham||f&&f.sham)&&i(d,"sham",!0),a(n,c,d,e)}}},function(e,t,n){"use strict";var r=n(5),o=n(107);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(e,t,n){"use strict";var r=n(5),o=n(194);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(e,t,n){var r=n(11),o=n(197),i=n(194),a=n(37);for(var s in o){var u=r[s],l=u&&u.prototype;if(l&&l.forEach!==i)try{a(l,"forEach",i)}catch(e){l.forEach=i}}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){(function(r,o){var i,a,s,u; + */(function(){var i="Expected a function",a="__lodash_placeholder__",s=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],u="[object Arguments]",l="[object Array]",c="[object Boolean]",f="[object Date]",d="[object Error]",p="[object Function]",h="[object GeneratorFunction]",m="[object Map]",v="[object Number]",y="[object Object]",g="[object RegExp]",b="[object Set]",w="[object String]",k="[object Symbol]",_="[object WeakMap]",O="[object ArrayBuffer]",S="[object DataView]",x="[object Float32Array]",P="[object Float64Array]",j="[object Int8Array]",C="[object Int16Array]",E="[object Int32Array]",A="[object Uint8Array]",M="[object Uint16Array]",R="[object Uint32Array]",T=/\b__p \+= '';/g,D=/\b(__p \+=) '' \+/g,L=/(__e\(.*?\)|\b__t\)) \+\n'';/g,I=/&(?:amp|lt|gt|quot|#39);/g,V=/[&<>"']/g,N=RegExp(I.source),F=RegExp(V.source),U=/<%-([\s\S]+?)%>/g,z=/<%([\s\S]+?)%>/g,B=/<%=([\s\S]+?)%>/g,H=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,q=/^\w*$/,W=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Y=/[\\^$.*+?()[\]{}|]/g,K=RegExp(Y.source),G=/^\s+|\s+$/g,J=/^\s+/,Z=/\s+$/,X=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,$=/\{\n\/\* \[wrapped with (.+)\] \*/,Q=/,? & /,ee=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,te=/\\(\\)?/g,ne=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,re=/\w*$/,oe=/^[-+]0x[0-9a-f]+$/i,ie=/^0b[01]+$/i,ae=/^\[object .+?Constructor\]$/,se=/^0o[0-7]+$/i,ue=/^(?:0|[1-9]\d*)$/,le=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ce=/($^)/,fe=/['\n\r\u2028\u2029\\]/g,de="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",pe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",he="[\\ud800-\\udfff]",me="["+pe+"]",ve="["+de+"]",ye="\\d+",ge="[\\u2700-\\u27bf]",be="[a-z\\xdf-\\xf6\\xf8-\\xff]",we="[^\\ud800-\\udfff"+pe+ye+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ke="\\ud83c[\\udffb-\\udfff]",_e="[^\\ud800-\\udfff]",Oe="(?:\\ud83c[\\udde6-\\uddff]){2}",Se="[\\ud800-\\udbff][\\udc00-\\udfff]",xe="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Pe="(?:"+be+"|"+we+")",je="(?:"+xe+"|"+we+")",Ce="(?:"+ve+"|"+ke+")"+"?",Ee="[\\ufe0e\\ufe0f]?"+Ce+("(?:\\u200d(?:"+[_e,Oe,Se].join("|")+")[\\ufe0e\\ufe0f]?"+Ce+")*"),Ae="(?:"+[ge,Oe,Se].join("|")+")"+Ee,Me="(?:"+[_e+ve+"?",ve,Oe,Se,he].join("|")+")",Re=RegExp("['’]","g"),Te=RegExp(ve,"g"),De=RegExp(ke+"(?="+ke+")|"+Me+Ee,"g"),Le=RegExp([xe+"?"+be+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[me,xe,"$"].join("|")+")",je+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[me,xe+Pe,"$"].join("|")+")",xe+"?"+Pe+"+(?:['’](?:d|ll|m|re|s|t|ve))?",xe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ye,Ae].join("|"),"g"),Ie=RegExp("[\\u200d\\ud800-\\udfff"+de+"\\ufe0e\\ufe0f]"),Ve=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ne=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Fe=-1,Ue={};Ue[x]=Ue[P]=Ue[j]=Ue[C]=Ue[E]=Ue[A]=Ue["[object Uint8ClampedArray]"]=Ue[M]=Ue[R]=!0,Ue[u]=Ue[l]=Ue[O]=Ue[c]=Ue[S]=Ue[f]=Ue[d]=Ue[p]=Ue[m]=Ue[v]=Ue[y]=Ue[g]=Ue[b]=Ue[w]=Ue[_]=!1;var ze={};ze[u]=ze[l]=ze[O]=ze[S]=ze[c]=ze[f]=ze[x]=ze[P]=ze[j]=ze[C]=ze[E]=ze[m]=ze[v]=ze[y]=ze[g]=ze[b]=ze[w]=ze[k]=ze[A]=ze["[object Uint8ClampedArray]"]=ze[M]=ze[R]=!0,ze[d]=ze[p]=ze[_]=!1;var Be={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},He=parseFloat,qe=parseInt,We="object"==typeof e&&e&&e.Object===Object&&e,Ye="object"==typeof self&&self&&self.Object===Object&&self,Ke=We||Ye||Function("return this")(),Ge=t&&!t.nodeType&&t,Je=Ge&&"object"==typeof r&&r&&!r.nodeType&&r,Ze=Je&&Je.exports===Ge,Xe=Ze&&We.process,$e=function(){try{var e=Je&&Je.require&&Je.require("util").types;return e||Xe&&Xe.binding&&Xe.binding("util")}catch(e){}}(),Qe=$e&&$e.isArrayBuffer,et=$e&&$e.isDate,tt=$e&&$e.isMap,nt=$e&&$e.isRegExp,rt=$e&&$e.isSet,ot=$e&&$e.isTypedArray;function it(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function at(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o-1}function dt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r-1;);return n}function Dt(e,t){for(var n=e.length;n--&&kt(t,e[n],0)>-1;);return n}function Lt(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var It=Pt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Vt=Pt({"&":"&","<":"<",">":">",'"':""","'":"'"});function Nt(e){return"\\"+Be[e]}function Ft(e){return Ie.test(e)}function Ut(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function zt(e,t){return function(n){return e(t(n))}}function Bt(e,t){for(var n=-1,r=e.length,o=0,i=[];++n",""":'"',"'":"'"});var Gt=function e(t){var n,r=(t=null==t?Ke:Gt.defaults(Ke.Object(),t,Gt.pick(Ke,Ne))).Array,o=t.Date,de=t.Error,pe=t.Function,he=t.Math,me=t.Object,ve=t.RegExp,ye=t.String,ge=t.TypeError,be=r.prototype,we=pe.prototype,ke=me.prototype,_e=t["__core-js_shared__"],Oe=we.toString,Se=ke.hasOwnProperty,xe=0,Pe=(n=/[^.]+$/.exec(_e&&_e.keys&&_e.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",je=ke.toString,Ce=Oe.call(me),Ee=Ke._,Ae=ve("^"+Oe.call(Se).replace(Y,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Me=Ze?t.Buffer:void 0,De=t.Symbol,Ie=t.Uint8Array,Be=Me?Me.allocUnsafe:void 0,We=zt(me.getPrototypeOf,me),Ye=me.create,Ge=ke.propertyIsEnumerable,Je=be.splice,Xe=De?De.isConcatSpreadable:void 0,$e=De?De.iterator:void 0,gt=De?De.toStringTag:void 0,Pt=function(){try{var e=ei(me,"defineProperty");return e({},"",{}),e}catch(e){}}(),Jt=t.clearTimeout!==Ke.clearTimeout&&t.clearTimeout,Zt=o&&o.now!==Ke.Date.now&&o.now,Xt=t.setTimeout!==Ke.setTimeout&&t.setTimeout,$t=he.ceil,Qt=he.floor,en=me.getOwnPropertySymbols,tn=Me?Me.isBuffer:void 0,nn=t.isFinite,rn=be.join,on=zt(me.keys,me),an=he.max,sn=he.min,un=o.now,ln=t.parseInt,cn=he.random,fn=be.reverse,dn=ei(t,"DataView"),pn=ei(t,"Map"),hn=ei(t,"Promise"),mn=ei(t,"Set"),vn=ei(t,"WeakMap"),yn=ei(me,"create"),gn=vn&&new vn,bn={},wn=ji(dn),kn=ji(pn),_n=ji(hn),On=ji(mn),Sn=ji(vn),xn=De?De.prototype:void 0,Pn=xn?xn.valueOf:void 0,jn=xn?xn.toString:void 0;function Cn(e){if(qa(e)&&!Ta(e)&&!(e instanceof Rn)){if(e instanceof Mn)return e;if(Se.call(e,"__wrapped__"))return Ci(e)}return new Mn(e)}var En=function(){function e(){}return function(t){if(!Ha(t))return{};if(Ye)return Ye(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function An(){}function Mn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function Rn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Tn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function Zn(e,t,n,r,o,i){var a,s=1&t,l=2&t,d=4&t;if(n&&(a=o?n(e,r,o,i):n(e)),void 0!==a)return a;if(!Ha(e))return e;var _=Ta(e);if(_){if(a=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Se.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!s)return go(e,a)}else{var T=ri(e),D=T==p||T==h;if(Va(e))return fo(e,s);if(T==y||T==u||D&&!o){if(a=l||D?{}:ii(e),!s)return l?function(e,t){return bo(e,ni(e),t)}(e,function(e,t){return e&&bo(t,ks(t),e)}(a,e)):function(e,t){return bo(e,ti(e),t)}(e,Yn(a,e))}else{if(!ze[T])return o?e:{};a=function(e,t,n){var r=e.constructor;switch(t){case O:return po(e);case c:case f:return new r(+e);case S:return function(e,t){var n=t?po(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case x:case P:case j:case C:case E:case A:case"[object Uint8ClampedArray]":case M:case R:return ho(e,n);case m:return new r;case v:case w:return new r(e);case g:return function(e){var t=new e.constructor(e.source,re.exec(e));return t.lastIndex=e.lastIndex,t}(e);case b:return new r;case k:return o=e,Pn?me(Pn.call(o)):{}}var o}(e,T,s)}}i||(i=new Vn);var L=i.get(e);if(L)return L;i.set(e,a),Ja(e)?e.forEach((function(r){a.add(Zn(r,t,n,r,e,i))})):Wa(e)&&e.forEach((function(r,o){a.set(o,Zn(r,t,n,o,e,i))}));var I=_?void 0:(d?l?Ko:Yo:l?ks:ws)(e);return st(I||e,(function(r,o){I&&(r=e[o=r]),Hn(a,o,Zn(r,t,n,o,e,i))})),a}function Xn(e,t,n){var r=n.length;if(null==e)return!r;for(e=me(e);r--;){var o=n[r],i=t[o],a=e[o];if(void 0===a&&!(o in e)||!i(a))return!1}return!0}function $n(e,t,n){if("function"!=typeof e)throw new ge(i);return wi((function(){e.apply(void 0,n)}),t)}function Qn(e,t,n,r){var o=-1,i=ft,a=!0,s=e.length,u=[],l=t.length;if(!s)return u;n&&(t=pt(t,At(n))),r?(i=dt,a=!1):t.length>=200&&(i=Rt,a=!1,t=new In(t));e:for(;++o-1},Dn.prototype.set=function(e,t){var n=this.__data__,r=qn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Ln.prototype.clear=function(){this.size=0,this.__data__={hash:new Tn,map:new(pn||Dn),string:new Tn}},Ln.prototype.delete=function(e){var t=$o(this,e).delete(e);return this.size-=t?1:0,t},Ln.prototype.get=function(e){return $o(this,e).get(e)},Ln.prototype.has=function(e){return $o(this,e).has(e)},Ln.prototype.set=function(e,t){var n=$o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},In.prototype.add=In.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},In.prototype.has=function(e){return this.__data__.has(e)},Vn.prototype.clear=function(){this.__data__=new Dn,this.size=0},Vn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Vn.prototype.get=function(e){return this.__data__.get(e)},Vn.prototype.has=function(e){return this.__data__.has(e)},Vn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Dn){var r=n.__data__;if(!pn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Ln(r)}return n.set(e,t),this.size=n.size,this};var er=_o(ur),tr=_o(lr,!0);function nr(e,t){var n=!0;return er(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function rr(e,t,n){for(var r=-1,o=e.length;++r0&&n(s)?t>1?ir(s,t-1,n,r,o):ht(o,s):r||(o[o.length]=s)}return o}var ar=Oo(),sr=Oo(!0);function ur(e,t){return e&&ar(e,t,ws)}function lr(e,t){return e&&sr(e,t,ws)}function cr(e,t){return ct(t,(function(t){return Ua(e[t])}))}function fr(e,t){for(var n=0,r=(t=so(t,e)).length;null!=e&&nt}function mr(e,t){return null!=e&&Se.call(e,t)}function vr(e,t){return null!=e&&t in me(e)}function yr(e,t,n){for(var o=n?dt:ft,i=e[0].length,a=e.length,s=a,u=r(a),l=1/0,c=[];s--;){var f=e[s];s&&t&&(f=pt(f,At(t))),l=sn(f.length,l),u[s]=!n&&(t||i>=120&&f.length>=120)?new In(s&&f):void 0}f=e[0];var d=-1,p=u[0];e:for(;++d=s)return u;var l=n[r];return u*("desc"==l?-1:1)}}return e.index-t.index}(e,t,n)}))}function Tr(e,t,n){for(var r=-1,o=t.length,i={};++r-1;)s!==e&&Je.call(s,u,1),Je.call(e,u,1);return e}function Lr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;si(o)?Je.call(e,o,1):Qr(e,o)}}return e}function Ir(e,t){return e+Qt(cn()*(t-e+1))}function Vr(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do{t%2&&(n+=e),(t=Qt(t/2))&&(e+=e)}while(t);return n}function Nr(e,t){return ki(mi(e,t,Ys),e+"")}function Fr(e){return Fn(Es(e))}function Ur(e,t){var n=Es(e);return Si(n,Jn(t,0,n.length))}function zr(e,t,n,r){if(!Ha(e))return e;for(var o=-1,i=(t=so(t,e)).length,a=i-1,s=e;null!=s&&++oi?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=r(i);++o>>1,a=e[i];null!==a&&!Xa(a)&&(n?a<=t:a=200){var l=t?null:No(e);if(l)return Ht(l);a=!1,o=Rt,u=new In}else u=t?[]:s;e:for(;++r=r?e:Wr(e,t,n)}var co=Jt||function(e){return Ke.clearTimeout(e)};function fo(e,t){if(t)return e.slice();var n=e.length,r=Be?Be(n):new e.constructor(n);return e.copy(r),r}function po(e){var t=new e.constructor(e.byteLength);return new Ie(t).set(new Ie(e)),t}function ho(e,t){var n=t?po(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function mo(e,t){if(e!==t){var n=void 0!==e,r=null===e,o=e==e,i=Xa(e),a=void 0!==t,s=null===t,u=t==t,l=Xa(t);if(!s&&!l&&!i&&e>t||i&&a&&u&&!s&&!l||r&&a&&u||!n&&u||!o)return 1;if(!r&&!i&&!l&&e1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&ui(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=me(t);++r-1?o[i?t[a]:a]:void 0}}function Co(e){return Wo((function(t){var n=t.length,r=n,o=Mn.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new ge(i);if(o&&!s&&"wrapper"==Jo(a))var s=new Mn([],!0)}for(r=s?r:n;++r1&&b.reverse(),f&&ls))return!1;var l=i.get(e),c=i.get(t);if(l&&c)return l==t&&c==e;var f=-1,d=!0,p=2&n?new In:void 0;for(i.set(e,t),i.set(t,e);++f-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(X,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return st(s,(function(n){var r="_."+n[0];t&n[1]&&!ft(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match($);return t?t[1].split(Q):[]}(r),n)))}function Oi(e){var t=0,n=0;return function(){var r=un(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Si(e,t){var n=-1,r=e.length,o=r-1;for(t=void 0===t?r:t;++n1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,Gi(e,n)}));function ta(e){var t=Cn(e);return t.__chain__=!0,t}function na(e,t){return t(e)}var ra=Wo((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return Gn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Rn&&si(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:na,args:[o],thisArg:void 0}),new Mn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(o)}));var oa=wo((function(e,t,n){Se.call(e,n)?++e[n]:Kn(e,n,1)}));var ia=jo(Ri),aa=jo(Ti);function sa(e,t){return(Ta(e)?st:er)(e,Xo(t,3))}function ua(e,t){return(Ta(e)?ut:tr)(e,Xo(t,3))}var la=wo((function(e,t,n){Se.call(e,n)?e[n].push(t):Kn(e,n,[t])}));var ca=Nr((function(e,t,n){var o=-1,i="function"==typeof t,a=La(e)?r(e.length):[];return er(e,(function(e){a[++o]=i?it(t,e,n):gr(e,t,n)})),a})),fa=wo((function(e,t,n){Kn(e,n,t)}));function da(e,t){return(Ta(e)?pt:jr)(e,Xo(t,3))}var pa=wo((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var ha=Nr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&ui(e,t[0],t[1])?t=[]:n>2&&ui(t[0],t[1],t[2])&&(t=[t[0]]),Rr(e,ir(t,1),[])})),ma=Zt||function(){return Ke.Date.now()};function va(e,t,n){return t=n?void 0:t,Uo(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function ya(e,t){var n;if("function"!=typeof t)throw new ge(i);return e=rs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var ga=Nr((function(e,t,n){var r=1;if(n.length){var o=Bt(n,Zo(ga));r|=32}return Uo(e,r,t,n,o)})),ba=Nr((function(e,t,n){var r=3;if(n.length){var o=Bt(n,Zo(ba));r|=32}return Uo(t,r,e,n,o)}));function wa(e,t,n){var r,o,a,s,u,l,c=0,f=!1,d=!1,p=!0;if("function"!=typeof e)throw new ge(i);function h(t){var n=r,i=o;return r=o=void 0,c=t,s=e.apply(i,n)}function m(e){return c=e,u=wi(y,t),f?h(e):s}function v(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-c>=a}function y(){var e=ma();if(v(e))return g(e);u=wi(y,function(e){var n=t-(e-l);return d?sn(n,a-(e-c)):n}(e))}function g(e){return u=void 0,p&&r?h(e):(r=o=void 0,s)}function b(){var e=ma(),n=v(e);if(r=arguments,o=this,l=e,n){if(void 0===u)return m(l);if(d)return co(u),u=wi(y,t),h(l)}return void 0===u&&(u=wi(y,t)),s}return t=is(t)||0,Ha(n)&&(f=!!n.leading,a=(d="maxWait"in n)?an(is(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),b.cancel=function(){void 0!==u&&co(u),c=0,r=l=o=u=void 0},b.flush=function(){return void 0===u?s:g(ma())},b}var ka=Nr((function(e,t){return $n(e,1,t)})),_a=Nr((function(e,t,n){return $n(e,is(t)||0,n)}));function Oa(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ge(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Oa.Cache||Ln),n}function Sa(e){if("function"!=typeof e)throw new ge(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Oa.Cache=Ln;var xa=uo((function(e,t){var n=(t=1==t.length&&Ta(t[0])?pt(t[0],At(Xo())):pt(ir(t,1),At(Xo()))).length;return Nr((function(r){for(var o=-1,i=sn(r.length,n);++o=t})),Ra=br(function(){return arguments}())?br:function(e){return qa(e)&&Se.call(e,"callee")&&!Ge.call(e,"callee")},Ta=r.isArray,Da=Qe?At(Qe):function(e){return qa(e)&&pr(e)==O};function La(e){return null!=e&&Ba(e.length)&&!Ua(e)}function Ia(e){return qa(e)&&La(e)}var Va=tn||iu,Na=et?At(et):function(e){return qa(e)&&pr(e)==f};function Fa(e){if(!qa(e))return!1;var t=pr(e);return t==d||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Ka(e)}function Ua(e){if(!Ha(e))return!1;var t=pr(e);return t==p||t==h||"[object AsyncFunction]"==t||"[object Proxy]"==t}function za(e){return"number"==typeof e&&e==rs(e)}function Ba(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Ha(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function qa(e){return null!=e&&"object"==typeof e}var Wa=tt?At(tt):function(e){return qa(e)&&ri(e)==m};function Ya(e){return"number"==typeof e||qa(e)&&pr(e)==v}function Ka(e){if(!qa(e)||pr(e)!=y)return!1;var t=We(e);if(null===t)return!0;var n=Se.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Oe.call(n)==Ce}var Ga=nt?At(nt):function(e){return qa(e)&&pr(e)==g};var Ja=rt?At(rt):function(e){return qa(e)&&ri(e)==b};function Za(e){return"string"==typeof e||!Ta(e)&&qa(e)&&pr(e)==w}function Xa(e){return"symbol"==typeof e||qa(e)&&pr(e)==k}var $a=ot?At(ot):function(e){return qa(e)&&Ba(e.length)&&!!Ue[pr(e)]};var Qa=Lo(Pr),es=Lo((function(e,t){return e<=t}));function ts(e){if(!e)return[];if(La(e))return Za(e)?Yt(e):go(e);if($e&&e[$e])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[$e]());var t=ri(e);return(t==m?Ut:t==b?Ht:Es)(e)}function ns(e){return e?(e=is(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function rs(e){var t=ns(e),n=t%1;return t==t?n?t-n:t:0}function os(e){return e?Jn(rs(e),0,4294967295):0}function is(e){if("number"==typeof e)return e;if(Xa(e))return NaN;if(Ha(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ha(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(G,"");var n=ie.test(e);return n||se.test(e)?qe(e.slice(2),n?2:8):oe.test(e)?NaN:+e}function as(e){return bo(e,ks(e))}function ss(e){return null==e?"":Xr(e)}var us=ko((function(e,t){if(di(t)||La(t))bo(t,ws(t),e);else for(var n in t)Se.call(t,n)&&Hn(e,n,t[n])})),ls=ko((function(e,t){bo(t,ks(t),e)})),cs=ko((function(e,t,n,r){bo(t,ks(t),e,r)})),fs=ko((function(e,t,n,r){bo(t,ws(t),e,r)})),ds=Wo(Gn);var ps=Nr((function(e,t){e=me(e);var n=-1,r=t.length,o=r>2?t[2]:void 0;for(o&&ui(t[0],t[1],o)&&(r=1);++n1),t})),bo(e,Ko(e),n),r&&(n=Zn(n,7,Ho));for(var o=t.length;o--;)Qr(n,t[o]);return n}));var xs=Wo((function(e,t){return null==e?{}:function(e,t){return Tr(e,t,(function(t,n){return vs(e,n)}))}(e,t)}));function Ps(e,t){if(null==e)return{};var n=pt(Ko(e),(function(e){return[e]}));return t=Xo(t),Tr(e,n,(function(e,n){return t(e,n[0])}))}var js=Fo(ws),Cs=Fo(ks);function Es(e){return null==e?[]:Mt(e,ws(e))}var As=xo((function(e,t,n){return t=t.toLowerCase(),e+(n?Ms(t):t)}));function Ms(e){return Fs(ss(e).toLowerCase())}function Rs(e){return(e=ss(e))&&e.replace(le,It).replace(Te,"")}var Ts=xo((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Ds=xo((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Ls=So("toLowerCase");var Is=xo((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Vs=xo((function(e,t,n){return e+(n?" ":"")+Fs(t)}));var Ns=xo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Fs=So("toUpperCase");function Us(e,t,n){return e=ss(e),void 0===(t=n?void 0:t)?function(e){return Ve.test(e)}(e)?function(e){return e.match(Le)||[]}(e):function(e){return e.match(ee)||[]}(e):e.match(t)||[]}var zs=Nr((function(e,t){try{return it(e,void 0,t)}catch(e){return Fa(e)?e:new de(e)}})),Bs=Wo((function(e,t){return st(t,(function(t){t=Pi(t),Kn(e,t,ga(e[t],e))})),e}));function Hs(e){return function(){return e}}var qs=Co(),Ws=Co(!0);function Ys(e){return e}function Ks(e){return Or("function"==typeof e?e:Zn(e,1))}var Gs=Nr((function(e,t){return function(n){return gr(n,e,t)}})),Js=Nr((function(e,t){return function(n){return gr(e,n,t)}}));function Zs(e,t,n){var r=ws(t),o=cr(t,r);null!=n||Ha(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=cr(t,ws(t)));var i=!(Ha(n)&&"chain"in n&&!n.chain),a=Ua(e);return st(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=go(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,ht([this.value()],arguments))})})),e}function Xs(){}var $s=Ro(pt),Qs=Ro(lt),eu=Ro(yt);function tu(e){return li(e)?xt(Pi(e)):function(e){return function(t){return fr(t,e)}}(e)}var nu=Do(),ru=Do(!0);function ou(){return[]}function iu(){return!1}var au=Mo((function(e,t){return e+t}),0),su=Vo("ceil"),uu=Mo((function(e,t){return e/t}),1),lu=Vo("floor");var cu,fu=Mo((function(e,t){return e*t}),1),du=Vo("round"),pu=Mo((function(e,t){return e-t}),0);return Cn.after=function(e,t){if("function"!=typeof t)throw new ge(i);return e=rs(e),function(){if(--e<1)return t.apply(this,arguments)}},Cn.ary=va,Cn.assign=us,Cn.assignIn=ls,Cn.assignInWith=cs,Cn.assignWith=fs,Cn.at=ds,Cn.before=ya,Cn.bind=ga,Cn.bindAll=Bs,Cn.bindKey=ba,Cn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ta(e)?e:[e]},Cn.chain=ta,Cn.chunk=function(e,t,n){t=(n?ui(e,t,n):void 0===t)?1:an(rs(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var i=0,a=0,s=r($t(o/t));io?0:o+n),(r=void 0===r||r>o?o:rs(r))<0&&(r+=o),r=n>r?0:os(r);n>>0)?(e=ss(e))&&("string"==typeof t||null!=t&&!Ga(t))&&!(t=Xr(t))&&Ft(e)?lo(Yt(e),0,n):e.split(t,n):[]},Cn.spread=function(e,t){if("function"!=typeof e)throw new ge(i);return t=null==t?0:an(rs(t),0),Nr((function(n){var r=n[t],o=lo(n,0,t);return r&&ht(o,r),it(e,this,o)}))},Cn.tail=function(e){var t=null==e?0:e.length;return t?Wr(e,1,t):[]},Cn.take=function(e,t,n){return e&&e.length?Wr(e,0,(t=n||void 0===t?1:rs(t))<0?0:t):[]},Cn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Wr(e,(t=r-(t=n||void 0===t?1:rs(t)))<0?0:t,r):[]},Cn.takeRightWhile=function(e,t){return e&&e.length?to(e,Xo(t,3),!1,!0):[]},Cn.takeWhile=function(e,t){return e&&e.length?to(e,Xo(t,3)):[]},Cn.tap=function(e,t){return t(e),e},Cn.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new ge(i);return Ha(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),wa(e,t,{leading:r,maxWait:t,trailing:o})},Cn.thru=na,Cn.toArray=ts,Cn.toPairs=js,Cn.toPairsIn=Cs,Cn.toPath=function(e){return Ta(e)?pt(e,Pi):Xa(e)?[e]:go(xi(ss(e)))},Cn.toPlainObject=as,Cn.transform=function(e,t,n){var r=Ta(e),o=r||Va(e)||$a(e);if(t=Xo(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:Ha(e)&&Ua(i)?En(We(e)):{}}return(o?st:ur)(e,(function(e,r,o){return t(n,e,r,o)})),n},Cn.unary=function(e){return va(e,1)},Cn.union=qi,Cn.unionBy=Wi,Cn.unionWith=Yi,Cn.uniq=function(e){return e&&e.length?$r(e):[]},Cn.uniqBy=function(e,t){return e&&e.length?$r(e,Xo(t,2)):[]},Cn.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?$r(e,void 0,t):[]},Cn.unset=function(e,t){return null==e||Qr(e,t)},Cn.unzip=Ki,Cn.unzipWith=Gi,Cn.update=function(e,t,n){return null==e?e:eo(e,t,ao(n))},Cn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:eo(e,t,ao(n),r)},Cn.values=Es,Cn.valuesIn=function(e){return null==e?[]:Mt(e,ks(e))},Cn.without=Ji,Cn.words=Us,Cn.wrap=function(e,t){return Pa(ao(t),e)},Cn.xor=Zi,Cn.xorBy=Xi,Cn.xorWith=$i,Cn.zip=Qi,Cn.zipObject=function(e,t){return oo(e||[],t||[],Hn)},Cn.zipObjectDeep=function(e,t){return oo(e||[],t||[],zr)},Cn.zipWith=ea,Cn.entries=js,Cn.entriesIn=Cs,Cn.extend=ls,Cn.extendWith=cs,Zs(Cn,Cn),Cn.add=au,Cn.attempt=zs,Cn.camelCase=As,Cn.capitalize=Ms,Cn.ceil=su,Cn.clamp=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=is(n))==n?n:0),void 0!==t&&(t=(t=is(t))==t?t:0),Jn(is(e),t,n)},Cn.clone=function(e){return Zn(e,4)},Cn.cloneDeep=function(e){return Zn(e,5)},Cn.cloneDeepWith=function(e,t){return Zn(e,5,t="function"==typeof t?t:void 0)},Cn.cloneWith=function(e,t){return Zn(e,4,t="function"==typeof t?t:void 0)},Cn.conformsTo=function(e,t){return null==t||Xn(e,t,ws(t))},Cn.deburr=Rs,Cn.defaultTo=function(e,t){return null==e||e!=e?t:e},Cn.divide=uu,Cn.endsWith=function(e,t,n){e=ss(e),t=Xr(t);var r=e.length,o=n=void 0===n?r:Jn(rs(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},Cn.eq=Ea,Cn.escape=function(e){return(e=ss(e))&&F.test(e)?e.replace(V,Vt):e},Cn.escapeRegExp=function(e){return(e=ss(e))&&K.test(e)?e.replace(Y,"\\$&"):e},Cn.every=function(e,t,n){var r=Ta(e)?lt:nr;return n&&ui(e,t,n)&&(t=void 0),r(e,Xo(t,3))},Cn.find=ia,Cn.findIndex=Ri,Cn.findKey=function(e,t){return bt(e,Xo(t,3),ur)},Cn.findLast=aa,Cn.findLastIndex=Ti,Cn.findLastKey=function(e,t){return bt(e,Xo(t,3),lr)},Cn.floor=lu,Cn.forEach=sa,Cn.forEachRight=ua,Cn.forIn=function(e,t){return null==e?e:ar(e,Xo(t,3),ks)},Cn.forInRight=function(e,t){return null==e?e:sr(e,Xo(t,3),ks)},Cn.forOwn=function(e,t){return e&&ur(e,Xo(t,3))},Cn.forOwnRight=function(e,t){return e&&lr(e,Xo(t,3))},Cn.get=ms,Cn.gt=Aa,Cn.gte=Ma,Cn.has=function(e,t){return null!=e&&oi(e,t,mr)},Cn.hasIn=vs,Cn.head=Li,Cn.identity=Ys,Cn.includes=function(e,t,n,r){e=La(e)?e:Es(e),n=n&&!r?rs(n):0;var o=e.length;return n<0&&(n=an(o+n,0)),Za(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&kt(e,t,n)>-1},Cn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:rs(n);return o<0&&(o=an(r+o,0)),kt(e,t,o)},Cn.inRange=function(e,t,n){return t=ns(t),void 0===n?(n=t,t=0):n=ns(n),function(e,t,n){return e>=sn(t,n)&&e=-9007199254740991&&e<=9007199254740991},Cn.isSet=Ja,Cn.isString=Za,Cn.isSymbol=Xa,Cn.isTypedArray=$a,Cn.isUndefined=function(e){return void 0===e},Cn.isWeakMap=function(e){return qa(e)&&ri(e)==_},Cn.isWeakSet=function(e){return qa(e)&&"[object WeakSet]"==pr(e)},Cn.join=function(e,t){return null==e?"":rn.call(e,t)},Cn.kebabCase=Ts,Cn.last=Fi,Cn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return void 0!==n&&(o=(o=rs(n))<0?an(r+o,0):sn(o,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):wt(e,Ot,o,!0)},Cn.lowerCase=Ds,Cn.lowerFirst=Ls,Cn.lt=Qa,Cn.lte=es,Cn.max=function(e){return e&&e.length?rr(e,Ys,hr):void 0},Cn.maxBy=function(e,t){return e&&e.length?rr(e,Xo(t,2),hr):void 0},Cn.mean=function(e){return St(e,Ys)},Cn.meanBy=function(e,t){return St(e,Xo(t,2))},Cn.min=function(e){return e&&e.length?rr(e,Ys,Pr):void 0},Cn.minBy=function(e,t){return e&&e.length?rr(e,Xo(t,2),Pr):void 0},Cn.stubArray=ou,Cn.stubFalse=iu,Cn.stubObject=function(){return{}},Cn.stubString=function(){return""},Cn.stubTrue=function(){return!0},Cn.multiply=fu,Cn.nth=function(e,t){return e&&e.length?Mr(e,rs(t)):void 0},Cn.noConflict=function(){return Ke._===this&&(Ke._=Ee),this},Cn.noop=Xs,Cn.now=ma,Cn.pad=function(e,t,n){e=ss(e);var r=(t=rs(t))?Wt(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return To(Qt(o),n)+e+To($t(o),n)},Cn.padEnd=function(e,t,n){e=ss(e);var r=(t=rs(t))?Wt(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var o=cn();return sn(e+o*(t-e+He("1e-"+((o+"").length-1))),t)}return Ir(e,t)},Cn.reduce=function(e,t,n){var r=Ta(e)?mt:jt,o=arguments.length<3;return r(e,Xo(t,4),n,o,er)},Cn.reduceRight=function(e,t,n){var r=Ta(e)?vt:jt,o=arguments.length<3;return r(e,Xo(t,4),n,o,tr)},Cn.repeat=function(e,t,n){return t=(n?ui(e,t,n):void 0===t)?1:rs(t),Vr(ss(e),t)},Cn.replace=function(){var e=arguments,t=ss(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Cn.result=function(e,t,n){var r=-1,o=(t=so(t,e)).length;for(o||(o=1,e=void 0);++r9007199254740991)return[];var n=4294967295,r=sn(e,4294967295);e-=4294967295;for(var o=Et(r,t=Xo(t));++n=i)return e;var s=n-Wt(r);if(s<1)return r;var u=a?lo(a,0,s).join(""):e.slice(0,s);if(void 0===o)return u+r;if(a&&(s+=u.length-s),Ga(o)){if(e.slice(s).search(o)){var l,c=u;for(o.global||(o=ve(o.source,ss(re.exec(o))+"g")),o.lastIndex=0;l=o.exec(c);)var f=l.index;u=u.slice(0,void 0===f?s:f)}}else if(e.indexOf(Xr(o),s)!=s){var d=u.lastIndexOf(o);d>-1&&(u=u.slice(0,d))}return u+r},Cn.unescape=function(e){return(e=ss(e))&&N.test(e)?e.replace(I,Kt):e},Cn.uniqueId=function(e){var t=++xe;return ss(e)+t},Cn.upperCase=Ns,Cn.upperFirst=Fs,Cn.each=sa,Cn.eachRight=ua,Cn.first=Li,Zs(Cn,(cu={},ur(Cn,(function(e,t){Se.call(Cn.prototype,t)||(cu[t]=e)})),cu),{chain:!1}),Cn.VERSION="4.17.20",st(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Cn[e].placeholder=Cn})),st(["drop","take"],(function(e,t){Rn.prototype[e]=function(n){n=void 0===n?1:an(rs(n),0);var r=this.__filtered__&&!t?new Rn(this):this.clone();return r.__filtered__?r.__takeCount__=sn(n,r.__takeCount__):r.__views__.push({size:sn(n,4294967295),type:e+(r.__dir__<0?"Right":"")}),r},Rn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),st(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Rn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Xo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),st(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Rn.prototype[e]=function(){return this[n](1).value()[0]}})),st(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Rn.prototype[e]=function(){return this.__filtered__?new Rn(this):this[n](1)}})),Rn.prototype.compact=function(){return this.filter(Ys)},Rn.prototype.find=function(e){return this.filter(e).head()},Rn.prototype.findLast=function(e){return this.reverse().find(e)},Rn.prototype.invokeMap=Nr((function(e,t){return"function"==typeof e?new Rn(this):this.map((function(n){return gr(n,e,t)}))})),Rn.prototype.reject=function(e){return this.filter(Sa(Xo(e)))},Rn.prototype.slice=function(e,t){e=rs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Rn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=rs(t))<0?n.dropRight(-t):n.take(t-e)),n)},Rn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Rn.prototype.toArray=function(){return this.take(4294967295)},ur(Rn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=Cn[r?"take"+("last"==t?"Right":""):t],i=r||/^find/.test(t);o&&(Cn.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,s=t instanceof Rn,u=a[0],l=s||Ta(t),c=function(e){var t=o.apply(Cn,ht([e],a));return r&&f?t[0]:t};l&&n&&"function"==typeof u&&1!=u.length&&(s=l=!1);var f=this.__chain__,d=!!this.__actions__.length,p=i&&!f,h=s&&!d;if(!i&&l){t=h?t:new Rn(this);var m=e.apply(t,a);return m.__actions__.push({func:na,args:[c],thisArg:void 0}),new Mn(m,f)}return p&&h?e.apply(this,a):(m=this.thru(c),p?r?m.value()[0]:m.value():m)})})),st(["pop","push","shift","sort","splice","unshift"],(function(e){var t=be[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Cn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Ta(o)?o:[],e)}return this[n]((function(n){return t.apply(Ta(n)?n:[],e)}))}})),ur(Rn.prototype,(function(e,t){var n=Cn[t];if(n){var r=n.name+"";Se.call(bn,r)||(bn[r]=[]),bn[r].push({name:t,func:n})}})),bn[Eo(void 0,2).name]=[{name:"wrapper",func:void 0}],Rn.prototype.clone=function(){var e=new Rn(this.__wrapped__);return e.__actions__=go(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=go(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=go(this.__views__),e},Rn.prototype.reverse=function(){if(this.__filtered__){var e=new Rn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Rn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ta(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},Cn.prototype.plant=function(e){for(var t,n=this;n instanceof An;){var r=Ci(n);r.__index__=0,r.__values__=void 0,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},Cn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Rn){var t=e;return this.__actions__.length&&(t=new Rn(this)),(t=t.reverse()).__actions__.push({func:na,args:[Hi],thisArg:void 0}),new Mn(t,this.__chain__)}return this.thru(Hi)},Cn.prototype.toJSON=Cn.prototype.valueOf=Cn.prototype.value=function(){return no(this.__wrapped__,this.__actions__)},Cn.prototype.first=Cn.prototype.head,$e&&(Cn.prototype[$e]=function(){return this}),Cn}();Ke._=Gt,void 0===(o=function(){return Gt}.call(t,n,t,r))||(r.exports=o)}).call(this)}).call(this,n(40),n(99)(e))},function(e,t,n){var r=n(5),o=n(10),i=n(31),a=n(113),s=n(206);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!s},{getPrototypeOf:function(e){return a(i(e))}})},function(e,t,n){"use strict";var r=n(5),o=n(35).map,i=n(10),a=n(98)("map"),s=a&&!i((function(){[].map.call({length:-1,0:1},(function(e){throw e}))}));r({target:"Array",proto:!0,forced:!a||!s},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";n(85),n(88),n(89),n(0),n(44),n(7),n(19),n(38),n(32),n(15),n(3),n(48),n(53),n(17),n(61),n(211),n(57),n(12),n(47),n(6),n(20),n(27),n(60),n(83),n(16),n(22),n(162),n(8),n(39),Object.defineProperty(t,"__esModule",{value:!0});var r={evaluate:!0,getRandomComponentId:!0,getPropertyValue:!0,getElementRect:!0,boolValue:!0,isMongoId:!0,checkCalculated:!0,checkSimpleConditional:!0,checkCustomConditional:!0,checkJsonConditional:!0,checkCondition:!0,checkTrigger:!0,setActionProperty:!0,unescapeHTML:!0,convertStringToHTMLElement:!0,uniqueName:!0,guid:!0,getDateSetting:!0,isValidDate:!0,currentTimezone:!0,offsetDate:!0,zonesLoaded:!0,shouldLoadZones:!0,loadZones:!0,momentDate:!0,formatDate:!0,formatOffset:!0,getLocaleDateFormatInfo:!0,convertFormatToFlatpickr:!0,convertFormatToMoment:!0,convertFormatToMask:!0,getInputMask:!0,matchInputMask:!0,getNumberSeparators:!0,getNumberDecimalLimit:!0,getCurrencyAffixes:!0,fieldData:!0,delay:!0,iterateKey:!0,uniqueKey:!0,bootstrapVersion:!0,unfold:!0,firstNonNil:!0,withSwitch:!0,observeOverload:!0,getContextComponents:!0,sanitize:!0,fastCloneDeep:!0,interpolate:!0,isInputComponent:!0,getArrayFromComponentPath:!0,hasInvalidComponent:!0,getStringFromComponentPath:!0,round:!0,getIEBrowserVersion:!0,getComponentPathWithoutIndicies:!0,getComponentPath:!0,getDataParentComponent:!0,_:!0,jsonLogic:!0,moment:!0,Evaluator:!0};t.evaluate=g,t.getRandomComponentId=function(){return"e".concat(Math.random().toString(36).substring(7))},t.getPropertyValue=b,t.getElementRect=function(e){var t=window.getComputedStyle(e,null);return{x:b(t,"left"),y:b(t,"top"),width:b(t,"width"),height:b(t,"height")}},t.boolValue=function(e){return o.default.isBoolean(e)?e:o.default.isString(e)?"true"===e.toLowerCase():!!e},t.isMongoId=function(e){return e.toString().match(/^[0-9a-fA-F]{24}$/)},t.checkCalculated=function(e,t,n){e.calculateValue&&o.default.set(n,e.key,g(e.calculateValue,{value:void 0,data:t?t.data:n,row:n,util:this,component:e},"value"))},t.checkSimpleConditional=w,t.checkCustomConditional=k,t.checkJsonConditional=_,t.checkCondition=function(e,t,n,r,i){var a=e.customConditional,s=e.conditional;if(a)return k(e,a,t,n,r,"show",!0,i);if(s&&s.when){i||function(e){e.path=T(e);var t=D(e);t&&"object"===m(t)&&(t.path=T(t))}(i=o.default.cloneDeep(e));var u=D(i),l=null!=u&&u.path?R(u.path):null;if(u&&s.when.startsWith(l)){var c={};o.default.set(c,l,t),t=c}return w(e,s,t,n)}if(s&&s.json)return _(e,s.json,t,n,r,!0);return!0},t.checkTrigger=function(e,t,n,r,o,i){if(!t[t.type])return!1;switch(t.type){case"simple":return w(e,t.simple,n,r);case"javascript":return k(e,t.javascript,n,r,o,"result",!1,i);case"json":return _(e,t.json,n,r,o,!1)}return!1},t.setActionProperty=function(e,t,n,r,i,a){var s=t.property.value;switch(t.property.type){case"boolean":var u=o.default.get(e,s,!1).toString(),l=t.state.toString();u!==l&&o.default.set(e,s,"true"===l);break;case"string":var c={data:i,row:r,component:e,result:n},f=t.property.component?t[t.property.component]:t.text,d=o.default.get(e,s,""),h=a&&a.interpolate?a.interpolate(f,c):p.default.interpolate(f,c);h!==d&&o.default.set(e,s,h)}return e},t.unescapeHTML=function(e){if("undefined"==typeof window||!("DOMParser"in window))return e;return(new window.DOMParser).parseFromString(e,"text/html").documentElement.textContent},t.convertStringToHTMLElement=function(e,t){return(new window.DOMParser).parseFromString(e,"text/html").body.querySelector(t)},t.uniqueName=function(e,t,n){(t=t||"{{fileName}}-{{guid}}").includes("{{guid}}")||(t="".concat(t,"-{{guid}}"));var r=e.split("."),i=r.slice(0,r.length-1).join("."),a=r.length>1?".".concat(o.default.last(r)):"";return i=i.substr(0,100),n=Object.assign(n||{},{fileName:i,guid:O()}),"".concat(p.default.interpolate(t,n)).concat(a).replace(/[^0-9a-zA-Z.\-_ ]/g,"-")},t.guid=O,t.getDateSetting=function(e){if(o.default.isNil(e)||o.default.isNaN(e)||""===e)return null;if(e instanceof Date)return e;if("function"==typeof e.toDate)return e.isValid()?e.toDate():null;var t="string"!=typeof e||-1===e.indexOf("moment(")?(0,s.default)(e):null;if(t&&t.isValid())return t.toDate();t=null;try{var n=p.default.evaluator("return ".concat(e,";"),"moment")(s.default);"string"==typeof n?t=(0,s.default)(n):"function"==typeof n.toDate?t=(0,s.default)(n.toDate().toUTCString()):n instanceof Date&&(t=(0,s.default)(n))}catch(e){return null}if(!t)return null;if(!t.isValid())return null;return t.toDate()},t.isValidDate=function(e){return o.default.isDate(e)&&!o.default.isNaN(e.getDate())},t.currentTimezone=S,t.offsetDate=x,t.zonesLoaded=function(){return s.default.zonesLoaded},t.shouldLoadZones=P,t.loadZones=j,t.momentDate=function(e,t,n){var r=(0,s.default)(e);"UTC"===n&&(n="Etc/UTC");if((n!==S()||t&&t.match(/\s(z$|z\s)/))&&s.default.zonesLoaded)return r.tz(n);return r},t.formatDate=function(e,t,n,r){var o=(0,s.default)(e,r||void 0);if(n===S())return t.match(/\s(z$|z\s)/)?(j(),s.default.zonesLoaded?o.tz(n).format(C(t)):o.format(C(t.replace(/\s(z$|z\s)/,"")))):o.format(C(t));if("UTC"===n){var i=x(o.toDate(),"UTC");return"".concat((0,s.default)(i.date).format(C(t))," UTC")}return j(),s.default.zonesLoaded&&n?o.tz(n).format("".concat(C(t)," z")):o.format(C(t))},t.formatOffset=function(e,t,n,r){if(r===S())return e(t,n);if("UTC"===r)return"".concat(e(x(t,"UTC").date,n)," UTC");if(j(),s.default.zonesLoaded){var o=x(t,r);return"".concat(e(o.date,n)," ").concat(o.abbr)}return e(t,n)},t.getLocaleDateFormatInfo=function(e){var t={},n=new Date(2017,11,21).toLocaleDateString(e);return t.dayFirst=n.slice(0,2)===21..toString(),t},t.convertFormatToFlatpickr=function(e){return e.replace(/Z/g,"").replace(/y/g,"Y").replace("YYYY","Y").replace("YY","y").replace("MMMM","F").replace(/M/g,"n").replace("nnn","M").replace("nn","m").replace(/d/g,"j").replace(/jj/g,"d").replace("EEEE","l").replace("EEE","D").replace("HH","H").replace("hh","G").replace("mm","i").replace("ss","S").replace(/a/g,"K")},t.convertFormatToMoment=C,t.convertFormatToMask=function(e){return e.replace(/M{4}/g,"MM").replace(/M{3}/g,"***").replace(/e/g,"Q").replace(/[ydhmsHMG]/g,"9").replace(/a/g,"AA")},t.getInputMask=function(e){if(e instanceof Array)return e;var t=[];t.numeric=!0;for(var n=0;nt.length)return!1;for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:"en",t=12345.6789.toLocaleString(e),n=t.match(/..(.)...(.)../);if(!n)return{delimiter:",",decimalSeparator:"."};return{delimiter:n.length>1?n[1]:",",decimalSeparator:n.length>2?n[2]:"."}},t.getNumberDecimalLimit=function(e,t){if(o.default.has(e,"decimalLimit"))return o.default.get(e,"decimalLimit");var n=t||20,r=o.default.get(e,"validate.step","any");if("any"!==r){var i=r.toString().split(".");i.length>1&&(n=i[1].length)}return n},t.getCurrencyAffixes=function(e){var t=e.currency,n=void 0===t?"USD":t,r=e.decimalLimit,o=e.decimalSeparator,i=e.lang,a="(.*)?100";r&&(a+="".concat("."===o?"\\.":o,"0{").concat(r,"}"));a+="(.*)?";var s=100..toLocaleString(i,{style:"currency",currency:n,useGrouping:!0,maximumFractionDigits:r,minimumFractionDigits:r}).replace(".",o).match(new RegExp(a));return{prefix:s[1]||"",suffix:s[2]||""}},t.fieldData=function(e,t){if(!e)return"";if(!t||!t.key)return e;if(t.key.includes(".")){for(var n=e,r=t.key.split("."),o="",i=0;i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length,r=new Array(n>2?n-2:0),o=2;o1&&void 0!==arguments[1]?arguments[1]:{},n=t.limit,r=void 0===n?50:n,o=t.delay,i=void 0===o?500:o,a=0,s=0,u=function(){return a=0};return function(){if(0!==s&&(clearTimeout(s),s=0),s=setTimeout(u,i),(a+=1)>=r)return clearTimeout(s),u(),e()}},t.getContextComponents=function(e){var t=[];return e.utils.eachComponent(e.instance.options.editForm.components,(function(n,r){n.key!==e.data.key&&t.push({label:"".concat(n.label||n.key," (").concat(r,")"),value:r})})),t},t.sanitize=function(e,t){if("function"!=typeof f.default.sanitize)return e;var n={ADD_ATTR:["ref","target"],USE_PROFILES:{html:!0}};t.sanitizeConfig&&Array.isArray(t.sanitizeConfig.addAttr)&&t.sanitizeConfig.addAttr.length>0&&t.sanitizeConfig.addAttr.forEach((function(e){n.ADD_ATTR.push(e)}));t.sanitizeConfig&&Array.isArray(t.sanitizeConfig.addTags)&&t.sanitizeConfig.addTags.length>0&&(n.ADD_TAGS=t.sanitizeConfig.addTags);t.sanitizeConfig&&Array.isArray(t.sanitizeConfig.allowedTags)&&t.sanitizeConfig.allowedTags.length>0&&(n.ALLOWED_TAGS=t.sanitizeConfig.allowedTags);t.sanitizeConfig&&Array.isArray(t.sanitizeConfig.allowedAttrs)&&t.sanitizeConfig.allowedAttrs.length>0&&(n.ALLOWED_ATTR=t.sanitizeConfig.allowedAttrs);t.sanitizeConfig&&t.sanitizeConfig.allowedUriRegex&&(n.ALLOWED_URI_REGEXP=t.sanitizeConfig.allowedUriRegex);t.sanitizeConfig&&Array.isArray(t.sanitizeConfig.addUriSafeAttr)&&t.sanitizeConfig.addUriSafeAttr.length>0&&(n.ADD_URI_SAFE_ATTR=t.sanitizeConfig.addUriSafeAttr);return f.default.sanitize(e,n)},t.fastCloneDeep=function(e){return e?JSON.parse(JSON.stringify(e)):e},t.isInputComponent=function(e){if(!1===e.input||!0===e.input)return e.input;switch(e.type){case"htmlelement":case"content":case"columns":case"fieldset":case"panel":case"table":case"tabs":case"well":case"button":return!1;default:return!0}},t.getArrayFromComponentPath=function(e){if(!e||!o.default.isString(e))return o.default.isArray(e)?e:[e];return e.replace(/[[\]]/g,".").replace(/\.\./g,".").replace(/(^\.)|(\.$)/g,"").split(".").map((function(e){return o.default.defaultTo(o.default.toNumber(e),e)}))},t.hasInvalidComponent=function e(t){return t.getComponents().some((function(t){return o.default.isArray(t.components)?e(t):t.error}))},t.getStringFromComponentPath=function(e){if(!o.default.isArray(e))return e;var t="";return e.forEach((function(e,n){o.default.isNumber(e)?t+="[".concat(e,"]"):t+=0===n?e:".".concat(e)})),t},t.round=function(e,t){if(o.default.isNumber(e))return e.toFixed(t);return e},t.getIEBrowserVersion=function(){if("undefined"==typeof document||!("documentMode"in document))return null;return document.documentMode},t.getComponentPathWithoutIndicies=R,t.getComponentPath=T,t.getDataParentComponent=D,Object.defineProperty(t,"_",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"jsonLogic",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"moment",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"Evaluator",{enumerable:!0,get:function(){return p.default}}),t.interpolate=t.firstNonNil=void 0;var o=h(n(1)),i=h(n(121)),a=h(n(284)),s=h(n(285)),u=h(n(286)),l=n(289),c=h(n(11)),f=h(n(290)),d=n(122);Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===d[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))}));var p=h(n(90));function h(e){return e&&e.__esModule?e:{default: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)}var v=p.default.interpolate;t.interpolate=v;var y=(0,i.default)({Promise:c.default}).fetch;function g(e,t,n,r){var i=null,s=t.component?t.component:{key:"unknown"};!t.form&&t.instance&&(t.form=o.default.get(t.instance,"root._form",{}));var u=s.key;if("string"==typeof e){n&&(e+=";return ".concat(n)),r&&(e=e.replace(/({{\s+(.*)\s+}})/,(function(e,n,r){return 0===r.indexOf("data.")?o.default.get(t.data,r.replace("data.","")):0===r.indexOf("row.")?o.default.get(t.row,r.replace("row.","")):o.default.get(t.data,r)})));try{e=p.default.evaluator(e,t),t=o.default.values(t)}catch(t){console.warn("An error occured within the custom function for ".concat(u),t),i=null,e=!1}}if("function"==typeof e)try{i=p.default.evaluate(e,t)}catch(e){i=null,console.warn("An error occured within custom function for ".concat(u),e)}else if("object"===m(e))try{i=a.default.apply(e,t)}catch(e){i=null,console.warn("An error occured within custom function for ".concat(u),e)}else e&&console.warn("Unknown function type for ".concat(u));return i}function b(e,t){var n=e.getPropertyValue(t);return n=n?n.replace(/[^0-9.]/g,""):"0",parseFloat(n)}function w(e,t,n,r){var i=null;n&&(i=(0,d.getValue)({data:n},t.when)),r&&o.default.isNil(i)&&(i=(0,d.getValue)({data:r},t.when)),o.default.isNil(i)&&(i="");var a=String(t.eq),s=String(t.show);return o.default.isObject(i)&&o.default.has(i,t.eq)?String(i[t.eq])===s:Array.isArray(i)&&i.map(String).includes(a)?"true"===s:String(i)===a==("true"===s)}function k(e,t,n,r,o,i,a,s){"string"==typeof t&&(t="var ".concat(i," = true; ").concat(t,"; return ").concat(i,";"));var u=s&&s.evaluate?s.evaluate(t,{row:n,data:r,form:o}):g(t,{row:n,data:r,form:o});return null===u?a:u}function _(e,t,n,r,i,s){try{return a.default.apply(t,{data:r,row:n,form:i,_:o.default})}catch(t){return console.warn("An error occurred in jsonLogic advanced condition for ".concat(e.key),t),s}}function O(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}function S(){return s.default.currentTimezone||(s.default.currentTimezone=u.default.determine().name()),s.default.currentTimezone}function x(e,t){if("UTC"===t)return{date:new Date(e.getTime()+6e4*e.getTimezoneOffset()),abbr:"UTC"};var n=(0,s.default)(e).tz(t);return{date:new Date(e.getTime()+6e4*(n.utcOffset()+e.getTimezoneOffset())),abbr:n.format("z")}}function P(e){return e!==S()&&"UTC"!==e}function j(e){return e&&!P(e)?new c.default(o.default.noop):s.default.zonesPromise?s.default.zonesPromise:s.default.zonesPromise=y("https://cdn.form.io/moment-timezone/data/packed/latest.json").then((function(e){return e.json().then((function(e){if(s.default.tz.load(e),s.default.zonesLoaded=!0,document&&document.createEvent&&document.body&&document.body.dispatchEvent){var t=document.createEvent("Event");t.initEvent("zonesLoaded",!0,!0),document.body.dispatchEvent(t)}}))}))}function C(e){return e.replace(/y/g,"Y").replace(/d/g,"D").replace(/E/g,"d").replace(/a/g,"A").replace(/U/g,"X")}function E(e){return e.match(/(\d+)$/)?e.replace(/(\d+)$/,(function(e){return Number(e)+1})):"".concat(e,"1")}function A(e){return"function"==typeof e?e():e}l.lodashOperators.forEach((function(e){return a.default.add_operation("_".concat(e),o.default[e])})),a.default.add_operation("getDate",(function(e){return(0,s.default)(e).toISOString()})),a.default.add_operation("relativeMinDate",(function(e){return(0,s.default)().subtract(e,"days").toISOString()})),a.default.add_operation("relativeMaxDate",(function(e){return(0,s.default)().add(e,"days").toISOString()}));var M=o.default.flow([o.default.partialRight(o.default.map,A),o.default.partialRight(o.default.find,(function(e){return!o.default.isUndefined(e)}))]);function R(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.replace(/\[\d+\]/,"")}function T(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e&&e.key?(t=!0===e.input?"".concat(e.key).concat(t?".":"").concat(t):t,T(e.parent,t)):t}function D(e){if(e){var t=e.parent;return t&&(t.isInputComponent||t.input)?t:D(t)}}t.firstNonNil=M},function(e,t,n){var r=n(9),o=n(70).f,i=n(37),a=n(42),s=n(143),u=n(195),l=n(95);e.exports=function(e,t){var n,c,f,d,p,h=e.target,m=e.global,v=e.stat;if(n=m?r:v?r[h]||s(h,{}):(r[h]||{}).prototype)for(c in t){if(d=t[c],f=e.noTargetGet?(p=o(n,c))&&p.value:n[c],!l(m?c:h+(v?".":"#")+c,e.forced)&&void 0!==f){if(typeof d==typeof f)continue;u(d,f)}(e.sham||f&&f.sham)&&i(d,"sham",!0),a(n,c,d,e)}}},function(e,t,n){"use strict";var r=n(5),o=n(108);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(e,t,n){"use strict";var r=n(5),o=n(198);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(e,t,n){var r=n(9),o=n(201),i=n(198),a=n(37);for(var s in o){var u=r[s],l=u&&u.prototype;if(l&&l.forEach!==i)try{a(l,"forEach",i)}catch(e){l.forEach=i}}},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n(40))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){(function(r,o){var i,a,s,u; /*! Native Promise Only v0.8.1 (c) Kyle Simpson MIT License: http://getify.mit-license.org -*/u=function(){"use strict";var e,t,n,r=Object.prototype.toString,i=void 0!==o?function(e){return o(e)}:setTimeout;try{Object.defineProperty({},"x",{}),e=function(e,t,n,r){return Object.defineProperty(e,t,{value:n,writable:!0,configurable:!1!==r})}}catch(t){e=function(e,t,n){return e[t]=n,e}}function a(e,r){n.add(e,r),t||(t=i(n.drain))}function s(e){var t,n=typeof e;return null==e||"object"!=n&&"function"!=n||(t=e.then),"function"==typeof t&&t}function u(){for(var e=0;e0&&a(u,n))}catch(e){f.call(new p(n),e)}}}function f(e){var t=this;t.triggered||(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,t.chain.length>0&&a(u,t))}function d(e,t,n,r){for(var o=0;o]*>)/g,m=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(e,t,n){return[function(n,r){var o=u(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,i){var u=n(t,e,this,i);if(u.done)return u.value;var p=o(e),h=String(this),m="function"==typeof i;m||(i=String(i));var y=p.global;if(y){var v=p.unicode;p.lastIndex=0}for(var b=[];;){var g=c(p,h);if(null===g)break;if(b.push(g),!y)break;""===String(g[0])&&(p.lastIndex=l(h,a(p.lastIndex),v))}for(var w,k="",_=0,O=0;O=_&&(k+=h.slice(_,x)+A,_=x+S.length)}return k+h.slice(_)}];function r(e,n,r,o,a,s){var u=r+e.length,l=o.length,c=m;return void 0!==a&&(a=i(a),c=h),t.call(s,c,(function(t,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(u);case"<":s=a[i.slice(1,-1)];break;default:var c=+i;if(0===c)return t;if(c>l){var f=p(c/10);return 0===f?t:f<=l?void 0===o[f-1]?i.charAt(1):o[f-1]+i.charAt(1):t}s=o[c-1]}return void 0===s?"":s}))}}))},function(e,t,n){var r=n(24),o=n(25).f,i=Function.prototype,a=i.toString,s=/^\s*function ([^ (]*)/;r&&!("name"in i)&&o(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(e){return""}}})},function(e,t,n){"use strict";n(0),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=new Array(e),n=0;n1?arguments[1]:void 0)}}),i("includes")},function(e,t,n){var r=n(46),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){"use strict";var r=n(109),o=n(147),i=n(34),a=n(41),s=n(93),u=n(146),l=n(21),c=n(110),f=n(107),d=n(9),p=[].push,h=Math.min,m=!d((function(){return!RegExp(4294967295,"y")}));r("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,i);for(var s,u,l,c=[],d=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,m=new RegExp(e.source,d+"g");(s=f.call(m,r))&&!((u=m.lastIndex)>h&&(c.push(r.slice(h,s.index)),s.length>1&&s.index=i));)m.lastIndex===s.index&&m.lastIndex++;return h===r.length?!l&&m.test("")||c.push(""):c.push(r.slice(h)),c.length>i?c.slice(0,i):c}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=a(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(String(o),t,n)},function(e,o){var a=n(r,e,this,o,r!==t);if(a.done)return a.value;var f=i(e),d=String(this),p=s(f,RegExp),y=f.unicode,v=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(m?"y":"g"),b=new p(m?f:"^(?:"+f.source+")",v),g=void 0===o?4294967295:o>>>0;if(0===g)return[];if(0===d.length)return null===c(b,d)?[d]:[];for(var w=0,k=0,_=[];k1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(5),o=n(35).filter,i=n(9),a=n(97)("filter"),s=a&&!i((function(){[].filter.call({length:-1,0:1},(function(e){throw e}))}));r({target:"Array",proto:!0,forced:!a||!s},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";(function(e){n(81),n(83),n(84),n(0),n(27),n(7),n(20),n(38),n(31),n(14),n(3),n(26),n(59),n(56),n(12),n(47),n(6),n(19),n(29),n(58),n(80),n(15),n(116),n(22),n(8),n(39),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=h(n(10)),o=h(n(119)),i=h(n(154)),a=h(n(390)),s=h(n(231)),u=h(n(411)),l=h(n(161)),c=h(n(427)),f=h(n(428)),d=n(4),p=h(n(429));function h(e){return e&&e.__esModule?e:{default:e}}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||y(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){if(e){if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{};if(b(this,e),!(this instanceof e))return new e(t);if(this.base="",this.projectsUrl="",this.projectUrl="",this.projectId="",this.roleUrl="",this.rolesUrl="",this.roleId="",this.formUrl="",this.formsUrl="",this.formId="",this.submissionsUrl="",this.submissionUrl="",this.submissionId="",this.actionsUrl="",this.actionId="",this.actionUrl="",this.vsUrl="",this.vId="",this.vUrl="",this.query="",this.path=t,this.options=r,r.hasOwnProperty("base")?this.base=r.base:e.baseUrl?this.base=e.baseUrl:this.base=window.location.href.match(/http[s]?:\/\/api./)[0],!t)return this.projectUrl=e.projectUrl||"".concat(this.base,"/project"),this.projectsUrl="".concat(this.base,"/project"),this.projectId=!1,void(this.query="");r.hasOwnProperty("project")&&(this.projectUrl=r.project);var o=this.projectUrl||e.projectUrl,i=/(^|\/)(project)($|\/[^/]+)/,a=-1!==t.search(i);o&&this.base===o&&!a&&(this.noProject=!0,this.projectUrl=this.base),0!==t.indexOf("http")&&0!==t.indexOf("//")&&(t=this.base+t);var s=this.getUrlParts(t),u=[],l=s[1]+s[2],c=(t=s.length>3?s[3]:"").split("?");c.length>1&&(t=c[0],this.query="?".concat(c[1]));var f=function(e,r){n["".concat(e,"sUrl")]="".concat(r,"/").concat(e);var o=new RegExp("/".concat(e,"/([^/]+)"));return-1!==t.search(o)&&(u=t.match(o),n["".concat(e,"Url")]=u?r+u[0]:"",n["".concat(e,"Id")]=u.length>1?u[1]:"",r+=u[0]),r},d=function e(t,n,r){for(var o in t)if(t.hasOwnProperty(o)){var i=t[o];if(Array.isArray(i))e(i,n,!0);else{var a=f(i,n);n=r?n:a}}};if(!this.projectUrl||this.projectUrl===this.base)if(this.projectUrl||a||"Subdirectories"!==e.pathType)this.projectUrl=l;else{var p="^".concat(l.replace(/\//g,"\\/"),".[^/]+"),h=o.match(new RegExp(p));this.projectUrl=h?h[0]:l}var m=!1;if(e.pathType&&(m="Subdomains"!==e.pathType),!this.noProject){if(a)d(["project"],l),t=t.replace(i,"");else if(l===this.base){if(s.length>3&&t.split("/").length>1){var y=t.split("/");y.shift(),this.projectId=y.shift(),t="/".concat(y.join("/")),this.projectUrl="".concat(l,"/").concat(this.projectId)}}else s.length>2&&(s[2].split(".").length>2||l.includes("localhost"))&&!m&&(this.projectUrl=l,this.projectId=s[2].split(".")[0]);this.projectsUrl=this.projectsUrl||"".concat(this.base,"/project")}if(d(["role"],this.projectUrl),/(^|\/)(form)($|\/)/.test(t))d(["form",["submission","action","v"]],this.projectUrl);else{var v=new RegExp("/(submission|action|v)($|/.*)"),g=t.match(v);this.pathType=g&&g.length>1?g[1]:"",t=(t=t.replace(v,"")).replace(/\/$/,""),this.formsUrl="".concat(this.projectUrl,"/form"),this.formUrl=t?this.projectUrl+t:"",this.formId=t.replace(/^\/+|\/+$/g,"");var w=["submission","action","v"];for(var k in w)if(w.hasOwnProperty(k)){var _=w[k];this["".concat(_,"sUrl")]="".concat(this.projectUrl+t,"/").concat(_),this.pathType===_&&g.length>2&&g[2]&&(this["".concat(_,"Id")]=g[2].replace(/^\/+|\/+$/g,""),this["".concat(_,"Url")]=this.projectUrl+t+g[0])}}e.projectUrlSet||(e.projectUrl=this.projectUrl)}var t,n,o;return t=e,o=[{key:"loadProjects",value:function(t,n){return x(t=t||"")&&(t="?".concat(e.serialize(t.params))),e.makeStaticRequest("".concat(e.baseUrl,"/project").concat(t),"GET",null,n)}},{key:"getUrlParts",value:function(e,t){var n=t&&t.base?t.base:C().baseUrl,r="^(http[s]?:\\/\\/)";return n&&0===e.indexOf(n)?r+="(".concat(n.replace(/^http[s]?:\/\//,""),")"):r+="([^/]+)",r+="($|\\/.*)",e.match(new RegExp(r))}},{key:"serialize",value:function(e,t){var n,r=[];for(var o in e)e.hasOwnProperty(o)&&r.push("".concat(encodeURIComponent(o),"=").concat(encodeURIComponent((n=e[o],t?t(n):n))));return r.join("&")}},{key:"getRequestArgs",value:function(e,t,n,r,o,i){r=(r||"GET").toUpperCase(),i&&x(i)||(i={});var a={url:n,method:r,data:o||null,opts:i};return t&&(a.type=t),e&&(a.formio=e),a}},{key:"makeStaticRequest",value:function(e,t,n,r){var o=C().getRequestArgs(null,"",e,t,n,r),i=C().pluginWait("preRequest",o).then((function(){return C().pluginGet("staticRequest",o).then((function(n){return S(n)?C().request(e,t,o.data,o.opts.header,o.opts):n}))}));return C().pluginAlter("wrapStaticRequestPromise",i,o)}},{key:"makeRequest",value:function(e,t,n,r,o,i){if(!e)return C().makeStaticRequest(n,r,o,i);var a=C().getRequestArgs(e,t,n,r,o,i);a.opts=a.opts||{},a.opts.formio=e,a.opts.headers||(a.opts.headers={}),a.opts.headers=(0,f.default)(a.opts.headers,{Accept:"application/json","Content-type":"application/json"});var s=C().pluginWait("preRequest",a).then((function(){return C().pluginGet("request",a).then((function(e){return S(e)?C().request(n,r,a.data,a.opts.header,a.opts):e}))}));return C().pluginAlter("wrapRequestPromise",s,a)}},{key:"request",value:function(t,n,o,i,a){if(!t)return r.default.reject("No url provided");n=(n||"GET").toUpperCase(),w(a)===w(!0)&&(a={ignoreCache:a}),a&&x(a)||(a={});var s=btoa(encodeURI(t));if(!a.ignoreCache&&"GET"===n&&C().cache.hasOwnProperty(s))return r.default.resolve(P(C().cache[s]));var u=i||new O(a.headers||{Accept:"application/json","Content-type":"application/json"}),l=C().getToken(a);l&&!a.noToken&&u.append("x-jwt-token",l);var c={};u.forEach((function(e,t){c[t]=e}));var f={method:n,headers:c,mode:"cors"};o&&(f.body=JSON.stringify(o)),((f=C().pluginAlter("requestOptions",f,t)).namespace||C().namespace)&&(a.namespace=f.namespace||C().namespace);var d=f.headers["x-jwt-token"];return C().pluginAlter("wrapFetchRequestPromise",C().fetch(t,f),{url:t,method:n,data:o,opts:a}).then((function(i){if(!(i=C().pluginAlter("requestResponse",i,e,o)).ok)return 440===i.status?(C().setToken(null,a),C().events.emit("formio.sessionExpired",i.body)):401===i.status?C().events.emit("formio.unauthorized",i.body):416===i.status&&C().events.emit("formio.rangeIsNotSatisfiable",i.body),(i.headers.get("content-type").includes("application/json")?i.json():i.text()).then((function(e){return r.default.reject(e)}));var s=i.headers.get("x-jwt-token"),u=!1;return"GET"!==n||d||!s||a.external||t.includes("token=")||t.includes("x-jwt-token=")||(console.warn("Token was introduced in request."),u=!0),i.status>=200&&i.status<300&&s&&""!==s&&!u&&C().setToken(s,a),204===i.status?{}:(i.headers.get("content-type").includes("application/json")?i.json():i.text()).then((function(e){var t=i.headers.get("content-range");if(t&&x(e)){if("*"!==(t=t.split("/"))[0]){var n=t[0].split("-");e.skip=Number(n[0]),e.limit=n[1]-n[0]+1}e.serverCount="*"===t[1]?t[1]:Number(t[1])}if(!a.getHeaders)return e;var r={};return i.headers.forEach((function(e,t){r[t]=e})),{result:e,headers:r}}))})).then((function(e){return a.getHeaders?e:("GET"===n&&(C().cache[s]=e),P(e))})).catch((function(e){return"Bad Token"===e&&(C().setToken(null,a),C().events.emit("formio.badToken",e)),e.message&&(e.message="Could not connect to API server (".concat(e.message,")"),e.networkError=!0),"GET"===n&&delete C().cache[s],r.default.reject(e)}))}},{key:"setToken",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;e=e||"";var n="".concat((t="string"==typeof t?{namespace:t}:t||{}).namespace||C().namespace||"formio","Token");if(C().tokens||(C().tokens={}),!e){t.fromUser||(t.fromToken=!0,C().setUser(null,t));try{localStorage.removeItem(n)}catch(e){a.default.erase(n,{path:"/"})}return C().tokens[n]=e,r.default.resolve(null)}if(C().tokens[n]!==e){C().tokens[n]=e;try{localStorage.setItem(n,e)}catch(t){a.default.set(n,e,{path:"/"})}}return C().currentUser(t.formio,t)}},{key:"getToken",value:function(e){var t="".concat((e="string"==typeof e?{namespace:e}:e||{}).namespace||C().namespace||"formio","Token"),n=e.decode?"".concat(t,"Decoded"):t;if(C().tokens||(C().tokens={}),C().tokens[n])return C().tokens[n];try{return C().tokens[t]=localStorage.getItem(t)||"",e.decode?(C().tokens[n]=C().tokens[t]?(0,p.default)(C().tokens[t]):{},C().tokens[n]):C().tokens[t]}catch(e){return C().tokens[t]=a.default.get(t),C().tokens[t]}}},{key:"setUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="".concat(t.namespace||C().namespace||"formio","User");if(!e){t.fromToken||(t.fromUser=!0,C().setToken(null,t)),C().events.emit("formio.user",null);try{return localStorage.removeItem(n)}catch(e){return a.default.erase(n,{path:"/"})}}try{localStorage.setItem(n,JSON.stringify(e))}catch(t){a.default.set(n,JSON.stringify(e),{path:"/"})}C().events.emit("formio.user",e)}},{key:"getUser",value:function(e){var t="".concat((e=e||{}).namespace||C().namespace||"formio","User");try{return JSON.parse(localStorage.getItem(t)||null)}catch(e){return JSON.parse(a.default.get(t))}}},{key:"setBaseUrl",value:function(e){C().baseUrl=e,C().projectUrlSet||(C().projectUrl=e)}},{key:"getBaseUrl",value:function(){return C().baseUrl}},{key:"setApiUrl",value:function(e){return C().setBaseUrl(e)}},{key:"getApiUrl",value:function(){return C().getBaseUrl()}},{key:"setAppUrl",value:function(e){console.warn("Formio.setAppUrl() is deprecated. Use Formio.setProjectUrl instead."),C().projectUrl=e,C().projectUrlSet=!0}},{key:"setProjectUrl",value:function(e){C().projectUrl=e,C().projectUrlSet=!0}},{key:"setAuthUrl",value:function(e){C().authUrl=e}},{key:"getAppUrl",value:function(){return console.warn("Formio.getAppUrl() is deprecated. Use Formio.getProjectUrl instead."),C().projectUrl}},{key:"getProjectUrl",value:function(){return C().projectUrl}},{key:"clearCache",value:function(){C().cache={}}},{key:"noop",value:function(){}},{key:"identity",value:function(e){return e}},{key:"deregisterPlugin",value:function(e){var t=C().plugins.length;return C().plugins=C().plugins.filter((function(t){return t!==e&&t.__name!==e||((t.deregister||C().noop).call(e,C()),!1)})),t!==C().plugins.length}},{key:"registerPlugin",value:function(t,n){C().plugins.push(t),C().plugins.sort((function(e,t){return(t.priority||0)-(e.priority||0)})),t.__name=n,(t.init||C().noop).call(t,e)}},{key:"getPlugin",value:function(e){var t,n=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=y(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(C().plugins);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r.__name===e)return r}}catch(e){n.e(e)}finally{n.f()}return null}},{key:"pluginWait",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o1?t-1:0),o=1;o2?n-2:0),o=2;o1&&(e[n[0]]=n[1]&&decodeURIComponent(n[1]))})),t.forEach((function(t){(n=t.split("=")).length>1?e[n[0]]=n[1]&&decodeURIComponent(n[1]):0===t.indexOf("/")&&(e.paths=t.substr(1).split("/"))})),e}},{key:"oAuthCurrentUser",value:function(e,t){return C().currentUser(e,{external:!0,headers:{Authorization:"Bearer ".concat(t)}})}},{key:"samlInit",value:function(e){e=e||{};var t=C().pageQuery();if(t.saml){C().setUser(null);var n=C().setToken(t.saml),r=window.location.toString();return r=r.substring(0,r.indexOf("?")),window.location.hash&&(r+=window.location.hash),window.history.replaceState({},document.title,r),n}e.relay||(e.relay=window.location.href);var o=C().authUrl||C().projectUrl;return window.location.href="".concat(o,"/saml/sso?relay=").concat(encodeURI(e.relay)),!1}},{key:"oktaInit",value:function(e){if(e=e||{},void 0!==("undefined"==typeof OktaAuth?"undefined":w(OktaAuth))&&(e.OktaAuth=OktaAuth),void 0===w(e.OktaAuth)){var t="Cannot find OktaAuth. Please include the Okta JavaScript SDK within your application. See https://developer.okta.com/code/javascript/okta_auth_sdk for an example.";return console.warn(t),r.default.reject(t)}return new r.default((function(t,n){var r=e.OktaAuth;delete e.OktaAuth;var o=new r(e);o.tokenManager.get("accessToken").then((function(r){r?t(C().oAuthCurrentUser(e.formio,r.accessToken)):location.hash?o.token.parseFromUrl().then((function(n){o.tokenManager.add("accessToken",n),t(C().oAuthCurrentUser(e.formio,n.accessToken))})).catch((function(e){console.warn(e),n(e)})):(o.token.getWithRedirect({responseType:"token",scopes:e.scopes}),t(!1))})).catch((function(e){n(e)}))}))}},{key:"ssoInit",value:function(e,t){switch(e){case"saml":return C().samlInit(t);case"okta":return C().oktaInit(t);default:return console.warn("Unknown SSO type"),r.default.reject("Unknown SSO type")}}},{key:"requireLibrary",value:function(e,t,n,o){if(!C().libraries.hasOwnProperty(e)){C().libraries[e]={},C().libraries[e].ready=new r.default((function(t,n){C().libraries[e].resolve=t,C().libraries[e].reject=n}));var i="".concat(e,"Callback");o||window[i]||(window[i]=function(){return C().libraries[e].resolve()});var a=(0,l.default)(window,t);if(a)C().libraries[e].resolve(a);else if((n=Array.isArray(n)?n:[n]).forEach((function(e){var t={},n="";switch("string"==typeof e&&(e={type:"script",src:e}),e.type){case"script":n="script",t={src:e.src,type:"text/javascript",defer:!0,async:!0,referrerpolicy:"origin"};break;case"styles":n="link",t={href:e.src,rel:"stylesheet"}}var r=document.createElement(n);if(r.setAttribute)for(var o in t)r.setAttribute(o,t[o]);var i=document.head;i&&i.appendChild(r)})),o)var s=setInterval((function(){var n=(0,l.default)(window,t);n&&(clearInterval(s),C().libraries[e].resolve(n))}),200)}return C().libraries[e].ready}},{key:"libraryReady",value:function(e){return C().libraries.hasOwnProperty(e)&&C().libraries[e].ready?C().libraries[e].ready:r.default.reject("".concat(e," library was not required."))}},{key:"addToGlobal",value:function(t){"object"!==w(t)||t.Formio||(t.Formio=e)}},{key:"setPathType",value:function(e){"string"==typeof e&&(C().pathType=e)}},{key:"getPathType",value:function(){return C().pathType}},{key:"token",get:function(){return C().tokens||(C().tokens={}),C().tokens.formioToken||""},set:function(e){C().tokens||(C().tokens={}),C().tokens.formioToken=e||""}}],(n=[{key:"delete",value:function(t,n){var o="".concat(t,"Id"),i="".concat(t,"Url");return this[o]?(e.cache={},this.makeRequest(t,this[i],"delete",null,n)):r.default.reject("Nothing to delete")}},{key:"index",value:function(t,n,r){var o="".concat(t,"Url");return(n=n||"")&&x(n)&&(n="?".concat(e.serialize(n.params))),this.makeRequest(t,this[o]+n,"get",null,r)}},{key:"save",value:function(t,n,r){var o="".concat(t,"Id"),i="".concat(t,"Url"),a=this[o]||n._id?"put":"post",s=this[o]?this[i]:this["".concat(t,"sUrl")];return this[o]||!n._id||"put"!==a||s.includes(n._id)||(s+="/".concat(n._id)),e.cache={},this.makeRequest(t,s+this.query,a,n,r)}},{key:"load",value:function(t,n,o){var i="".concat(t,"Id"),a="".concat(t,"Url");return n&&x(n)&&(n=e.serialize(n.params)),n=n?this.query?"".concat(this.query,"&").concat(n):"?".concat(n):this.query,this[i]?this.makeRequest(t,this[a]+n,"get",null,o):r.default.reject("Missing ".concat(i))}},{key:"makeRequest",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r-1&&("read"===e.defaultPermission&&(a[i.read]=!0),"create"===e.defaultPermission&&(a[i.create]=!0,a[i.read]=!0),"write"===e.defaultPermission&&(a[i.create]=!0,a[i.read]=!0,a[i.update]=!0),"admin"===e.defaultPermission&&(a[i.create]=!0,a[i.read]=!0,a[i.update]=!0,a[i.delete]=!0))}))}})),a}))}},{key:"canSubmit",value:function(){var t=this;return this.userPermissions().then((function(n){return!n.create&&e.getUser()?t.userPermissions(null).then((function(t){return!!t.create&&(e.setUser(null),!0)})):n.create}))}},{key:"getUrlParts",value:function(t){return e.getUrlParts(t,this)}}])&&g(t.prototype,n),o&&g(t,o),e}();function C(){return"object"===w(window||e)&&void 0!==(window||e).Formio?(window||e).Formio:j}j.libraries={},j.Promise=r.default,j.fetch=_,j.Headers=O,j.baseUrl="https://api.form.io",j.projectUrl=j.baseUrl,j.authUrl="",j.projectUrlSet=!1,j.plugins=[],j.cache={},j.Providers=s.default,j.version="4.12.6",j.pathType="",j.events=new i.default({wildcard:!1,maxListeners:0}),void 0!==e&&j.addToGlobal(e),"undefined"!=typeof window&&j.addToGlobal(window);var E=C();t.default=E}).call(this,n(40))},function(e,t,n){"use strict";var r=n(5),o=n(205),i=n(41);r({target:"String",proto:!0,forced:!n(206)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(41);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(51),o=n(111),i=n(96),a=n(69),s=n(148),u=a.set,l=a.getterFor("Array Iterator");e.exports=s(Array,"Array",(function(e,t){u(this,{type:"Array Iterator",target:r(e),index:0,kind:t})}),(function(){var e=l(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(32);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){var r=n(91),o=n(86),i=n(30),a=n(21),s=n(144),u=[].push,l=function(e){var t=1==e,n=2==e,l=3==e,c=4==e,f=6==e,d=5==e||f;return function(p,h,m,y){for(var v,b,g=i(p),w=o(g),k=r(h,m,3),_=a(w.length),O=0,S=y||s,x=t?S(p,_):n?S(p,0):void 0;_>O;O++)if((d||O in w)&&(b=k(v=w[O],O,g),e))if(t)x[O]=b;else if(b)switch(e){case 3:return!0;case 5:return v;case 6:return O;case 2:u.call(x,v)}else if(c)return!1;return f?-1:l||c?c:x}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6)}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(0),n(27),n(7),n(20),n(38),n(14),n(3),n(26),n(48),n(52),n(53),n(16),n(56),n(2),n(12),n(6),n(236),n(19),n(29),n(15),n(22),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(99),i=v(n(10)),a=v(n(237)),s=v(n(1)),u=v(n(997)),l=v(n(28)),c=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(4)),f=v(n(435)),d=v(n(181)),p=v(n(182)),h=v(n(183)),m=v(n(137));function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function v(e){return e&&e.__esModule?e:{default:e}}function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function _(e){return function(e){if(Array.isArray(e))return S(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||O(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(e,t){if(e){if("string"==typeof e)return S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?S(e,t):void 0}}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:{};return s.default.defaultsDeep(e,this.defaultSchema)}},{key:"init",value:function(){this.disabled=this.shouldDisabled,this._visible=this.conditionallyVisible(null,null)}},{key:"destroy",value:function(){x(R(n.prototype),"destroy",this).call(this),this.detach()}},{key:"rightDirection",value:function(e){return"right"===e}},{key:"getLabelInfo",value:function(){var e=this.rightDirection(this.labelPositions[0]),t="left"===this.labelPositions[0],n=this.rightDirection(this.labelPositions[1]),r="";if(this.component.hideLabel){var o=this.labelWidth+this.labelMargin;r=e?"margin-right: ".concat(o,"%"):"",r=t?"margin-left: ".concat(o,"%"):""}return{isRightPosition:e,isRightAlign:n,labelStyles:"\n flex: ".concat(this.labelWidth,";\n ").concat(e?"margin-left":"margin-right",": ").concat(this.labelMargin,"%;\n "),contentStyles:"\n flex: ".concat(100-this.labelWidth-this.labelMargin,";\n ").concat(r,";\n ").concat(this.component.hideLabel?"max-width: ".concat(100-this.labelWidth-this.labelMargin):"",";\n ")}}},{key:"getModifiedSchema",value:function(e,t,n){var r=this,o={};return t?(s.default.each(e,(function(e,i){if(!s.default.isArray(e)&&s.default.isObject(e)&&t.hasOwnProperty(i)){var a=r.getModifiedSchema(e,t[i],!0);s.default.isEmpty(a)||(o[i]=a)}else s.default.isArray(e)?0!==e.length&&(o[i]=e):(!n&&"type"===i||!n&&"key"===i||!n&&"label"===i||!n&&"input"===i||!n&&"tableView"===i||""!==e&&!t.hasOwnProperty(i)||""!==e&&e!==t[i])&&(o[i]=e)})),o):e}},{key:"t",value:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return"";r.data=this.rootValue,r.row=this.data,r.component=this.component;for(var o=arguments.length,i=new Array(o>2?o-2:0),a=2;a1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,o=r||this.options.renderMode||"form";n.component=this.component,n.self=this,n.options=this.options,n.readOnly=this.options.readOnly,n.iconClass=this.iconClass.bind(this),n.size=this.size.bind(this),n.t=this.t.bind(this),n.transform=this.transform,n.id=n.id||this.id,n.key=n.key||this.key,n.value=n.value||this.dataValue,n.disabled=this.disabled,n.builder=this.builderMode,n.render=function(){return console.warn("Form.io 'render' template function is deprecated.\n If you need to render template (template A) inside of another template (template B),\n pass pre-compiled template A (use this.renderTemplate('template_A_name') as template context variable for template B"),t.renderTemplate.apply(t,arguments)},n.label=this.labelInfo,n.tooltip=this.interpolate(this.component.tooltip||"").replace(/(?:\r\n|\r|\n)/g,"
");var i=["".concat(e,"-").concat(this.component.type,"-").concat(this.key),"".concat(e,"-").concat(this.component.type),"".concat(e,"-").concat(this.key),"".concat(e)];return this.hook("render".concat(e.charAt(0).toUpperCase()+e.substring(1,e.length)),this.interpolate(this.getTemplate(i,o),n),n,o)}},{key:"sanitize",value:function(e){return c.sanitize(e,this.options)}},{key:"renderString",value:function(e,t){return e?this.interpolate(e,t):""}},{key:"performInputMapping",value:function(e){return e}},{key:"getBrowserLanguage",value:function(){var e,t=window.navigator,n=["language","browserLanguage","systemLanguage","userLanguage"];if(Array.isArray(t.languages))for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:"Unknown component: ".concat(this.component.type),t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.visible;return this.rendered=!0,!this.builderMode&&this.component.modalEdit?h.default.render(this,{visible:n,showSaveButton:this.hasModalSaveButton,id:this.id,classes:this.className,styles:this.customStyle,children:e},t):this.renderTemplate("component",{visible:n,id:this.id,classes:this.className,styles:this.customStyle,children:e},t)}},{key:"attach",value:function(e){var t=this;if(!this.builderMode&&this.component.modalEdit){var n=!!this.componentModal&&this.componentModal.isOpened,r=n?this.componentModal.currentValue:this.dataValue;this.componentModal=new h.default(this,e,n,r),this.setOpenModalElement()}this.attached=!0,this.element=e,e.component=this,this.element.id&&(this.id=this.element.id,this.component.id=this.id),this.loadRefs(e,{messageContainer:"single",tooltip:"multiple"}),this.refs.tooltip.forEach((function(e,n){var r=t.interpolate(e.getAttribute("data-title")||t.t(t.component.tooltip)).replace(/(?:\r\n|\r|\n)/g,"
");t.tooltips[n]=new a.default(e,{trigger:"hover click focus",placement:"right",html:!0,title:r,template:'\n '})})),this.attachLogic(),this.autofocus(),this.hook("attachComponent",e,this);var o=this.component.type;return o&&this.hook("attach".concat(o.charAt(0).toUpperCase()+o.substring(1,o.length)),e,this),this.restoreFocus(),i.default.resolve()}},{key:"restoreFocus",value:function(){var e,t,n;(null===(e=this.root)||void 0===e||null===(t=e.focusedComponent)||void 0===t?void 0:t.path)===this.path&&(this.loadRefs(this.element,{input:"multiple"}),this.focus(null===(n=this.root.currentSelection)||void 0===n?void 0:n.index),this.restoreCaretPosition())}},{key:"addShortcut",value:function(e,t){e&&this.root&&this.root!==this&&(t||(t=this.component.shortcut),this.root.addShortcut(e,t))}},{key:"removeShortcut",value:function(e,t){e&&this.root!==this&&(t||(t=this.component.shortcut),this.root.removeShortcut(e,t))}},{key:"detach",value:function(){this.refs={},this.removeEventListeners(),this.detachLogic(),this.tooltip&&this.tooltip.dispose()}},{key:"checkRefresh",value:function(e,t,n){var r=s.default.get(t,"instance.path",!1);r&&this.path===r||("data"===e?this.refresh(this.data,t,n):r&&(0,c.getComponentPathWithoutIndicies)(r)===e&&t&&t.instance&&this.inContext(t.instance)&&this.refresh(t.value,t,n))}},{key:"checkRefreshOn",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e=e||[],!n.noRefresh){!e.length&&n.changed&&(e=[n.changed]);var r=n.fromBlur?this.component.refreshOnBlur:this.component.refreshOn||this.component.redrawOn;r&&(Array.isArray(r)?r.forEach((function(r){return e.forEach((function(e){return t.checkRefresh(r,e,n)}))})):e.forEach((function(e){return t.checkRefresh(r,e,n)})))}}},{key:"refresh",value:function(e){this.hasOwnProperty("refreshOnValue")?this.refreshOnChanged=!s.default.isEqual(e,this.refreshOnValue):this.refreshOnChanged=!0,this.refreshOnValue=(0,c.fastCloneDeep)(e),this.refreshOnChanged&&(this.component.clearOnRefresh&&this.setValue(null),this.triggerRedraw())}},{key:"inContext",value:function(e){if(e.data===this.data)return!0;for(var t=this.parent;t;){if(t.data===e.data)return!0;t=t.parent}return!1}},{key:"createViewOnlyElement",value:function(){return this.element=this.ce("dl",{id:this.id}),this.element&&(this.element.component=this),this.element}},{key:"getWidgetValueAsString",value:function(e,t){var n=this,r=!this.refs.input||!this.refs.input[0]||!this.refs.input[0].widget;if(!e||r)return this.widget&&e?this.widget.getValueAsString(e):e;if(Array.isArray(e)){var o=[];return e.forEach((function(e,r){var i=n.refs.input[r]&&n.refs.input[r].widget;i&&o.push(i.getValueAsString(e,t))})),o}return this.refs.input[0].widget.getValueAsString(e,t)}},{key:"getValueAsString",value:function(e,t){if(!e)return"";if(e=this.getWidgetValueAsString(e,t),Array.isArray(e))return e.join(", ");if(s.default.isPlainObject(e))return JSON.stringify(e);if(null==e)return"";var n=e.toString();return this.sanitize(n)}},{key:"getView",value:function(e,t){return this.component.protected?"--- PROTECTED ---":this.getValueAsString(e,t)}},{key:"updateItems",value:function(){this.restoreValue(),this.onChange.apply(this,arguments)}},{key:"itemValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(s.default.isObject(e)){if(this.valueProperty)return s.default.get(e,this.valueProperty);if(t)return e.value}return e}},{key:"itemValueForHTMLMode",value:function(e){var t=this;return Array.isArray(e)?e.map((function(e){return Array.isArray(e)?t.itemValueForHTMLMode(e):t.itemValue(e)})).join(", "):this.itemValue(e)}},{key:"createModal",value:function(e,t,n){var r=this,o=this.ce("div",t||{});this.setContent(o,this.renderTemplate("dialog")),o.refs={},this.loadRefs.call(o,o,{dialogOverlay:"single",dialogContents:"single",dialogClose:"single"}),o.refs.dialogContents.appendChild(e),document.body.appendChild(o),document.body.classList.add("modal-open"),o.close=function(){document.body.classList.remove("modal-open"),o.dispatchEvent(new CustomEvent("close"))},this.addEventListener(o,"close",(function(){return r.removeChildFrom(o,document.body)}));var i=function(e){e.preventDefault(),o.close()},a=function(e){n?n().then((function(){return i(e)})).catch((function(){})):i(e)};return this.addEventListener(o.refs.dialogOverlay,"click",a),this.addEventListener(o.refs.dialogClose,"click",a),o}},{key:"getElement",value:function(){return this.element}},{key:"evalContext",value:function(e){return x(R(n.prototype),"evalContext",this).call(this,Object.assign({component:this.component,row:this.data,rowIndex:this.rowIndex,data:this.rootValue,iconClass:this.iconClass.bind(this),submission:this.root?this.root._submission:{},form:this.root?this.root._form:{}},e))}},{key:"setPristine",value:function(e){this.pristine=e}},{key:"removeValue",value:function(e){this.splice(e),this.redraw(),this.restoreValue(),this.triggerRootChange()}},{key:"iconClass",value:function(e,t){var n=this.options.iconset||d.default.current.defaultIconset||"fa";return d.default.current.hasOwnProperty("iconClass")?d.default.current.iconClass(n,e,t):"fa"===this.options.iconset?d.default.defaultTemplates.iconClass(n,e,t):e}},{key:"size",value:function(e){return d.default.current.hasOwnProperty("size")?d.default.current.size(e):e}},{key:"errorMessage",value:function(e){return this.component.errors&&this.component.errors[e]?this.component.errors[e]:e}},{key:"setContent",value:function(e,t){return e instanceof HTMLElement&&(e.innerHTML=this.sanitize(t),!0)}},{key:"restoreCaretPosition",value:function(){var e,t;if(null!==(e=this.root)&&void 0!==e&&e.currentSelection&&(null!==(t=this.refs.input)&&void 0!==t&&t.length)){var n=this.root.currentSelection,r=n.selection,o=n.index,i=this.refs.input[o];if(i){var a;(a=i).setSelectionRange.apply(a,_(r))}else{var s,u=(null===(s=(i=this.refs.input[this.refs.input.length]).value)||void 0===s?void 0:s.length)||0;i.setSelectionRange(u,u)}}}},{key:"redraw",value:function(){if(!this.element||!this.element.parentNode)return i.default.resolve();this.detach(),this.emit("redraw");var e=this.element.parentNode,t=Array.prototype.indexOf.call(e.children,this.element);return this.element.outerHTML=this.sanitize(this.render()),this.element=e.children[t],this.attach(this.element)}},{key:"rebuild",value:function(){return this.destroy(),this.init(),this.redraw()}},{key:"removeEventListeners",value:function(){x(R(n.prototype),"removeEventListeners",this).call(this),this.tooltips.forEach((function(e){return e.dispose()})),this.tooltips=[]}},{key:"hasClass",value:function(e,t){if(e)return x(R(n.prototype),"hasClass",this).call(this,e,this.transform("class",t))}},{key:"addClass",value:function(e,t){if(e)return x(R(n.prototype),"addClass",this).call(this,e,this.transform("class",t))}},{key:"removeClass",value:function(e,t){if(e)return x(R(n.prototype),"removeClass",this).call(this,e,this.transform("class",t))}},{key:"hasCondition",value:function(){return null!==this._hasCondition||(this._hasCondition=c.hasCondition(this.component)),this._hasCondition}},{key:"conditionallyVisible",value:function(e,t){return e=e||this.rootValue,t=t||this.data,this.builderMode||!this.hasCondition()?!this.component.hidden:(e=e||(this.root?this.root.data:{}),this.checkCondition(t,e))}},{key:"checkCondition",value:function(e,t){return c.checkCondition(this.component,e||this.data,t||this.rootValue,this.root?this.root._form:{},this)}},{key:"checkComponentConditions",value:function(e,t,n){e=e||this.rootValue,t=t||{},n=n||this.data,!this.builderMode&&this.fieldLogic(e,n)&&this.redraw();var r=this.conditionallyVisible(e,n);return this.visible!==r&&(this.visible=r),r}},{key:"checkConditions",value:function(e,t,n){return e=e||this.rootValue,t=t||{},n=n||this.data,this.checkComponentConditions(e,t,n)}},{key:"fieldLogic",value:function(e,t){var n=this;e=e||this.rootValue,t=t||this.data;var r=this.logic;if(0!==r.length){var o=(0,c.fastCloneDeep)(this.originalComponent),i=r.reduce((function(r,i){var a=c.checkTrigger(o,i.trigger,t,e,n.root?n.root._form:{},n);return!!a&&n.applyActions(o,i.actions,a,t,e)||r}),!1);return s.default.isEqual(this.component,o)||(this.component=o,this.disabled=this.shouldDisabled,i=!0),i}}},{key:"isIE",value:function(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){var n=e.indexOf("rv:");return parseInt(e.substring(n+3,e.indexOf(".",n)),10)}var r=e.indexOf("Edge/");return r>0&&parseInt(e.substring(r+5,e.indexOf(".",r)),10)}},{key:"applyActions",value:function(e,t,n,r,o){var i=this;return o=o||this.rootValue,r=r||this.data,t.reduce((function(t,a){switch(a.type){case"property":c.setActionProperty(e,a,n,r,o,i);var u=a.property.value;s.default.isEqual(s.default.get(i.component,u),s.default.get(e,u))||(t=!0);break;case"value":var l=i.getValue(),f=i.evaluate(a.value,{value:s.default.clone(l),data:o,row:r,component:e,result:n},"value");s.default.isEqual(l,f)||(i.setValue(f),i.viewOnly&&(i.dataValue=f),t=!0);break;case"mergeComponentSchema":var d=i.evaluate(a.schemaDefinition,{value:s.default.clone(i.getValue()),data:o,row:r,component:e,result:n},"schema");s.default.assign(e,d),s.default.isEqual(i.component,e)||(t=!0)}return t}),!1)}},{key:"addInputError",value:function(e,t,n){this.addMessages(e),this.setErrorClasses(n,t,!!e)}},{key:"removeInputError",value:function(e){this.setErrorClasses(e,!0,!1)}},{key:"addMessages",value:function(e){var t=this;e&&("string"==typeof e&&(e={messages:e,level:"error"}),Array.isArray(e)||(e=[e]),e=s.default.uniqBy(e,(function(e){return e.message})),this.refs.messageContainer&&this.setContent(this.refs.messageContainer,e.map((function(e){return t.renderTemplate("message",e)})).join("")))}},{key:"setErrorClasses",value:function(e,t,n,r){var o=this;this.clearErrorClasses(),e.forEach((function(e){return o.removeClass(o.performInputMapping(e),"is-invalid")})),this.setInputWidgetErrorClasses(e,n),n&&(e.forEach((function(e){return o.addClass(o.performInputMapping(e),"is-invalid")})),t&&this.options.highlightErrors?this.addClass(this.element,this.options.componentErrorClass):this.addClass(this.element,"has-error")),r&&this.addClass(this.element,"has-message")}},{key:"clearOnHide",value:function(){var e;this.rootPristine&&(null===(e=(0,c.getDataParentComponent)(this))||void 0===e||!e.hasScopedChildren)||!1===this.component.clearOnHide||this.options.readOnly||this.options.showHiddenFields||(this.visible?this.hasValue()||this.setValue(this.defaultValue,{noUpdateEvent:!0}):this.deleteValue())}},{key:"triggerRootChange",value:function(){var e;if(this.options.onChange)(e=this.options).onChange.apply(e,arguments);else if(this.root){var t;(t=this.root).triggerChange.apply(t,arguments)}}},{key:"onChange",value:function(e,t){(e=e||{}).modified&&(e.noPristineChangeOnModified||(this.pristine=!1),this.addClass(this.getElement(),"formio-modified")),"blur"!==this.component.validateOn||this.errors.length||(e.noValidate=!0),this.component.onChange&&this.evaluate(this.component.onChange,{flags:e});var n={instance:this,component:this.component,value:this.dataValue,flags:e};this.emit("componentChange",n);var r=!1;return e.modified&&(r=!0,delete e.modified),t||this.triggerRootChange(e,n,r),n}},{key:"addCKE",value:function(e,t,n){return(t=s.default.isEmpty(t)?{}:t).base64Upload=!0,t.mediaEmbed={previewsInData:!0},t=s.default.merge(this.wysiwygDefault.ckeditor,s.default.get(this.options,"editors.ckeditor.settings",{}),t),l.default.requireLibrary("ckeditor",T?"CKEDITOR":"ClassicEditor",s.default.get(this.options,"editors.ckeditor.src",D),!0).then((function(){if(!e.parentNode)return i.default.reject();if(T){var r=CKEDITOR.replace(e);return r.on("change",(function(){return n(r.getData())})),i.default.resolve(r)}return ClassicEditor.create(e,t).then((function(e){return e.model.document.on("change",(function(){return n(e.data.get())})),e}))}))}},{key:"addQuill",value:function(e,t,n){var r=this;return t=s.default.isEmpty(t)?this.wysiwygDefault.quill:t,t=g(g({},t=s.default.merge(this.wysiwygDefault.quill,s.default.get(this.options,"editors.quill.settings",{}),t)),{},{modules:{table:!0}}),l.default.requireLibrary("quill-css-".concat(t.theme),"Quill",[{type:"styles",src:"".concat(I,"/quill.").concat(t.theme,".css")}],!0),l.default.requireLibrary("quill","Quill",s.default.get(this.options,"editors.quill.src","".concat(I,"/quill.min.js")),!0).then((function(){return l.default.requireLibrary("quill-table","Quill","https://cdn.form.io/quill/quill-table.js",!0).then((function(){if(!e.parentNode)return i.default.reject();r.quill=new Quill(e,T?g(g({},t),{},{modules:{}}):t);var o=document.createElement("textarea");o.setAttribute("class","quill-source-code"),r.quill.addContainer("ql-custom").appendChild(o);var a=e.parentNode.querySelector(".ql-source");a&&r.addEventListener(a,"click",(function(e){e.preventDefault(),"inherit"===o.style.display&&r.quill.setContents(r.quill.clipboard.convert(o.value)),o.style.display="none"===o.style.display?"inherit":"none"})),r.addEventListener(e,"click",(function(){return r.quill.focus()}));for(var s=document.querySelectorAll(".ql-formats > button"),u=0;u1&&void 0!==arguments[1]?arguments[1]:{},n=this.updateValue(e,t);if(e=this.dataValue,!this.hasInput)return n;var r=Array.isArray(e);if(r&&Array.isArray(this.defaultValue)&&this.refs.hasOwnProperty("input")&&this.refs.input&&this.refs.input.length!==e.length&&this.visible&&this.redraw(),"html"===this.options.renderMode&&n)return this.redraw(),n;for(var o in this.refs.input)this.refs.input.hasOwnProperty(o)&&this.setValueAt(o,r?e[o]:e,t);return n}},{key:"setValueAt",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n.noDefault||null!=t||this.component.multiple||(t=this.defaultValue);var r=this.performInputMapping(this.refs.input[e]);r.mask?r.mask.textMaskInputElement.update(t):r.widget&&r.widget.setValue?r.widget.setValue(t):r.value=t}},{key:"setDefaultValue",value:function(){if(this.defaultValue){var e=this.component.multiple&&!this.dataValue.length?[]:this.defaultValue;this.setValue(e,{noUpdateEvent:!0})}}},{key:"restoreValue",value:function(){this.hasSetValue?this.setValue(this.dataValue,{noUpdateEvent:!0}):this.setDefaultValue()}},{key:"normalizeValue",value:function(e){return this.component.multiple&&!Array.isArray(e)&&(e=e?[e]:[]),e}},{key:"updateComponentValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.resetValue||null!=e?e:this.getValue(),r=void 0!==(n=this.normalizeValue(n,t))&&this.hasChanged(n,this.dataValue);return r&&(this.dataValue=n,this.updateOnChange(t,r)),this.componentModal&&t&&t.fromSubmission&&this.componentModal.setValue(e),r}},{key:"updateValue",value:function(){return this.updateComponentValue.apply(this,arguments)}},{key:"getIcon",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"icon";return this.renderTemplate("icon",{className:this.iconClass(e),ref:r,styles:n,content:t})}},{key:"resetValue",value:function(){this.setValue(this.emptyValue,{noUpdateEvent:!0,noValidate:!0,resetValue:!0}),this.unset()}},{key:"hasChanged",value:function(e,t){return(null!=e||null!=t&&!this.isEmpty(t))&&(!(null==e||!this.allowData||this.hasValue())||!s.default.isEqual(e,t))}},{key:"updateOnChange",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!(e.noUpdateEvent||!t)&&(this.triggerChange(e),!0)}},{key:"convertNumberOrBoolToString",value:function(e){return"number"==typeof e||"boolean"==typeof e?e.toString():e}},{key:"calculateComponentValue",value:function(e,t,n){var r=this.component,o=r.hidden,i=r.clearOnHide,a=(!this.visible||o)&&i&&!this.rootPristine;if(this.options.readOnly||!this.component.calculateValue||a||this.options.server&&!this.component.calculateServer||t.dataSourceInitialLoading)return!1;var u=this.dataValue,l=this.evaluate(this.component.calculateValue,{value:u,data:e,row:n||this.data},"value");s.default.isNil(l)&&(l=this.emptyValue);var c=!s.default.isEqual(u,l);if(this.component.allowCalculateOverride){var f=void 0===this.calculatedValue;f&&(this.calculatedValue=null);var d=this.normalizeValue(this.convertNumberOrBoolToString(l)),p=this.normalizeValue(this.convertNumberOrBoolToString(this.calculatedValue)),h=!s.default.isEqual(p,d),m=!s.default.isEqual(u,p);if(p&&m&&!h)return!1;if(t.isReordered||!h)return!1;if(t.fromSubmission&&!0===this.component.persistent)return this.calculatedValue=l,!1;if(f&&!this.isEmpty(u)&&c&&h)return!0}return this.calculatedValue=l,!!c&&this.setValue(l,t)}},{key:"calculateValue",value:function(e,t,n){return e=e||this.rootValue,t=t||{},n=n||this.data,this.calculateComponentValue(e,t,n)}},{key:"getRoot",value:function(){return this.root}},{key:"invalidMessage",value:function(e,t,n,r){return n||this.checkCondition(r,e)?this.invalid?this.invalid:!this.hasInput||!t&&this.pristine?"":s.default.map(f.default.checkComponent(this,e),"message").join("\n\n"):""}},{key:"isValid",value:function(e,t){return!this.invalidMessage(e,t)}},{key:"setComponentValidity",value:function(e,t,n){var r=!!e.filter((function(e){return"error"===e.level})).length;return!e.length||n&&!this.error||!t&&this.pristine?n||this.setCustomValidity(""):this.setCustomValidity(e,t),!r}},{key:"checkComponentValidity",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};e=e||this.rootValue,n=n||this.data;var a=o.async,s=void 0!==a&&a,u=o.silentCheck,l=void 0!==u&&u;if(this.shouldSkipValidation(e,t,n))return this.setCustomValidity(""),!s||i.default.resolve(!0);var c=f.default.checkComponent(this,e,n,!0,s);return s?c.then((function(e){return r.setComponentValidity(e,t,l)})):this.setComponentValidity(c,t,l)}},{key:"checkValidity",value:function(e,t,n,r){return e=e||this.rootValue,n=n||this.data,this.checkComponentValidity(e,t,n,{silentCheck:r})}},{key:"checkAsyncValidity",value:function(e,t,n,r){return i.default.resolve(this.checkComponentValidity(e,t,n,{async:!0,silentCheck:r}))}},{key:"checkData",value:function(e,t,n){if(e=e||this.rootValue,t=t||{},n=n||this.data,t.fromBlur||this.checkRefreshOn(t.changes,t),t.noCheck)return!0;if(this.calculateComponentValue(e,t,n),this.checkComponentConditions(e,t,n),t.noValidate&&!t.validateOnInit&&!t.fromIframe)return t.fromSubmission&&this.rootPristine&&this.pristine&&this.error&&t.changed&&this.checkComponentValidity(e,!!this.options.alwaysDirty,n,!0),!0;var r=!1;return(this.options.alwaysDirty||t.dirty)&&(r=!0),t.fromSubmission&&this.hasValue(e)&&(r=!0),!("blur"!==this.component.validateOn||!t.fromSubmission)||this.checkComponentValidity(e,r,n)}},{key:"isEmpty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.dataValue,t=!(!s.default.isArray(e)||1!==e.length)&&s.default.isEqual(e[0],this.emptyValue);return null==e||0===e.length||s.default.isEqual(e,this.emptyValue)||t}},{key:"isEqual",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.dataValue;return this.isEmpty(e)&&this.isEmpty(t)||s.default.isEqual(e,t)}},{key:"validateMultiple",value:function(){return!0}},{key:"clearErrorClasses",value:function(){this.removeClass(this.element,this.options.componentErrorClass),this.removeClass(this.element,"alert alert-danger"),this.removeClass(this.element,"has-error"),this.removeClass(this.element,"has-message")}},{key:"setInputWidgetErrorClasses",value:function(e,t){this.isInputComponent&&this.component.widget&&null!=e&&e.length&&e.forEach((function(e){null!=e&&e.widget&&e.widget.setErrorClasses&&e.widget.setErrorClasses(t)}))}},{key:"setCustomValidity",value:function(e,t,n){var r=this.isInputComponent?this.refs.input||[]:null;"string"==typeof e&&e&&(e={level:"error",message:e}),Array.isArray(e)||(e=e?[e]:[]);var o=!!e.filter((function(e){return"error"===e.level})).length;e.length?(this.refs.messageContainer&&this.empty(this.refs.messageContainer),this.error={component:this.component,message:e[0].message,messages:e,external:!!n},this.emit("componentError",this.error),this.addMessages(e,t,r),r&&this.setErrorClasses(r,t,o,!!e.length)):this.error&&this.error.external===!!n&&(this.refs.messageContainer&&this.empty(this.refs.messageContainer),this.refs.modalMessageContainer&&this.empty(this.refs.modalMessageContainer),this.error=null,r&&this.setErrorClasses(r,t,o,!!e.length),this.clearErrorClasses())}},{key:"isValueHidden",value:function(){return!(!this.root||!this.root.hasOwnProperty("editing"))&&(!(!this.root||!this.root.editing)&&(this.component.protected||!this.component.persistent||"client-only"===this.component.persistent))}},{key:"shouldSkipValidation",value:function(e,t,n){var r=this;return[function(){return r.options.readOnly},function(){return r.isValueHidden()},function(){return!r.visible},function(){return!r.checkCondition(n,e)}].some((function(e){return e()}))}},{key:"whenReady",value:function(){return console.warn("The whenReady() method has been deprecated. Please use the dataReady property instead."),this.dataReady}},{key:"asString",value:function(e){return e=e||this.getValue(),(Array.isArray(e)?e:[e]).map(s.default.toString).join(", ")}},{key:"setDisabled",value:function(e,t){e&&(e.disabled=t,t?e.setAttribute("disabled","disabled"):e.removeAttribute("disabled"))}},{key:"setLoading",value:function(e,t){e&&e.loading!==t&&(e.loading=t,!e.loader&&t&&(e.loader=this.ce("i",{class:"".concat(this.iconClass("refresh",!0)," button-icon-right")})),e.loader&&(t?this.appendTo(e.loader,e):this.removeChildFrom(e.loader,e)))}},{key:"selectOptions",value:function(e,t,n,r){var o=this;s.default.each(n,(function(t){var n={value:t.value};void 0!==r&&t.value===r&&(n.selected="selected");var i=o.ce("option",n);i.appendChild(o.text(t.label)),e.appendChild(i)}))}},{key:"setSelectValue",value:function(e,t){var n=e.querySelectorAll("option");s.default.each(n,(function(e){e.value===t?e.setAttribute("selected","selected"):e.removeAttribute("selected")})),e.onchange&&e.onchange(),e.onselect&&e.onselect()}},{key:"getRelativePath",value:function(e){var t=".".concat(this.key),n=this.isInputComponent?this.path:this.path.slice(0).replace(t,"");return e.replace(n,"")}},{key:"clear",value:function(){this.detach(),this.empty(this.getElement())}},{key:"append",value:function(e){this.appendTo(e,this.element)}},{key:"prepend",value:function(e){this.prependTo(e,this.element)}},{key:"removeChild",value:function(e){this.removeChildFrom(e,this.element)}},{key:"detachLogic",value:function(){var e=this;this.logic.forEach((function(t){if("event"===t.trigger.type){var n=e.interpolate(t.trigger.event);e.off(n)}}))}},{key:"attachLogic",value:function(){var e=this;this.builderMode||this.logic.forEach((function(t){if("event"===t.trigger.type){var n=e.interpolate(t.trigger.event);e.on(n,(function(){for(var n=(0,c.fastCloneDeep)(e.originalComponent),r=arguments.length,o=new Array(r),i=0;i1?arguments[1]:void 0)}})},function(e,t,n){var r=n(11),o=n(197),i=n(31),a=n(37),s=n(18),u=s("iterator"),l=s("toStringTag"),c=i.values;for(var f in o){var d=r[f],p=d&&d.prototype;if(p){if(p[u]!==c)try{a(p,u,c)}catch(e){p[u]=c}if(p[l]||a(p,l,f),o[f])for(var h in i)if(p[h]!==i[h])try{a(p,h,i[h])}catch(e){p[h]=i[h]}}}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(5),o=n(30),i=n(94);r({target:"Object",stat:!0,forced:n(9)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},function(e,t,n){"use strict";var r=n(5),o=n(35).find,i=n(111),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("find")},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,n;function r(){return t.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function s(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(a(e,t))return!1;return!0}function u(e){return void 0===e}function l(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function c(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function f(e,t){var n,r=[];for(n=0;n>>0;for(t=0;t0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,S=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)a(e,t)&&n.push(t);return n};var M=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,R=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,T={},D={};function I(e,t,n,r){var o=r;"string"==typeof r&&(o=function(){return this[r]()}),e&&(D[e]=o),t&&(D[t[0]]=function(){return A(o.apply(this,arguments),t[1],t[2])}),n&&(D[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function L(e,t){return e.isValid()?(t=V(t,e.localeData()),T[t]=T[t]||function(e){var t,n,r,o=e.match(M);for(t=0,n=o.length;t=0&&R.test(e);)e=e.replace(R,r),R.lastIndex=0,n-=1;return e}var N={};function F(e,t){var n=e.toLowerCase();N[n]=N[n+"s"]=N[t]=e}function U(e){return"string"==typeof e?N[e]||N[e.toLowerCase()]:void 0}function z(e){var t,n,r={};for(n in e)a(e,n)&&(t=U(n))&&(r[t]=e[n]);return r}var B={};function H(e,t){B[e]=t}function q(e){return e%4==0&&e%100!=0||e%400==0}function W(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Y(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=W(t)),n}function K(e,t){return function(n){return null!=n?(J(this,e,n),r.updateOffset(this,t),this):G(this,e)}}function G(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function J(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&q(e.year())&&1===e.month()&&29===e.date()?(n=Y(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),ke(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var Z,X=/\d/,$=/\d\d/,Q=/\d{3}/,ee=/\d{4}/,te=/[+-]?\d{6}/,ne=/\d\d?/,re=/\d\d\d\d?/,oe=/\d\d\d\d\d\d?/,ie=/\d{1,3}/,ae=/\d{1,4}/,se=/[+-]?\d{1,6}/,ue=/\d+/,le=/[+-]?\d+/,ce=/Z|[+-]\d\d:?\d\d/gi,fe=/Z|[+-]\d\d(?::?\d\d)?/gi,de=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function pe(e,t,n){Z[e]=j(t)?t:function(e,r){return e&&n?n:t}}function he(e,t){return a(Z,e)?Z[e](t._strict,t._locale):new RegExp(me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,o){return t||n||r||o}))))}function me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Z={};var ye,ve={};function be(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),l(t)&&(r=function(e,n){n[t]=Y(e)}),n=0;n68?1900:2e3)};var Re=K("FullYear",!0);function Te(e,t,n,r,o,i,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,o,i,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,o,i,a),s}function De(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ie(e,t,n){var r=7+t-n;return-(7+De(e,0,r).getUTCDay()-t)%7+r-1}function Le(e,t,n,r,o){var i,a,s=1+7*(t-1)+(7+n-r)%7+Ie(e,r,o);return s<=0?a=Me(i=e-1)+s:s>Me(e)?(i=e+1,a=s-Me(e)):(i=e,a=s),{year:i,dayOfYear:a}}function Ve(e,t,n){var r,o,i=Ie(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?r=a+Ne(o=e.year()-1,t,n):a>Ne(e.year(),t,n)?(r=a-Ne(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function Ne(e,t,n){var r=Ie(e,t,n),o=Ie(e+1,t,n);return(Me(e)-r+o)/7}function Fe(e,t){return e.slice(t,7).concat(e.slice(0,t))}I("w",["ww",2],"wo","week"),I("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),H("week",5),H("isoWeek",5),pe("w",ne),pe("ww",ne,$),pe("W",ne),pe("WW",ne,$),ge(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=Y(e)})),I("d",0,"do","day"),I("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),I("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),I("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),I("e",0,0,"weekday"),I("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),H("day",11),H("weekday",11),H("isoWeekday",11),pe("d",ne),pe("e",ne),pe("E",ne),pe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),pe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),pe("dddd",(function(e,t){return t.weekdaysRegex(e)})),ge(["dd","ddd","dddd"],(function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:h(n).invalidWeekday=e})),ge(["d","e","E"],(function(e,t,n,r){t[r]=Y(e)}));var Ue="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Be="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),He=de,qe=de,We=de;function Ye(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=p([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=ye.call(this._weekdaysParse,a))?o:null:"ddd"===t?-1!==(o=ye.call(this._shortWeekdaysParse,a))?o:null:-1!==(o=ye.call(this._minWeekdaysParse,a))?o:null:"dddd"===t?-1!==(o=ye.call(this._weekdaysParse,a))||-1!==(o=ye.call(this._shortWeekdaysParse,a))||-1!==(o=ye.call(this._minWeekdaysParse,a))?o:null:"ddd"===t?-1!==(o=ye.call(this._shortWeekdaysParse,a))||-1!==(o=ye.call(this._weekdaysParse,a))||-1!==(o=ye.call(this._minWeekdaysParse,a))?o:null:-1!==(o=ye.call(this._minWeekdaysParse,a))||-1!==(o=ye.call(this._weekdaysParse,a))||-1!==(o=ye.call(this._shortWeekdaysParse,a))?o:null}function Ke(){function e(e,t){return t.length-e.length}var t,n,r,o,i,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=p([2e3,1]).day(t),r=me(this.weekdaysMin(n,"")),o=me(this.weekdaysShort(n,"")),i=me(this.weekdays(n,"")),a.push(r),s.push(o),u.push(i),l.push(r),l.push(o),l.push(i);a.sort(e),s.sort(e),u.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ge(){return this.hours()%12||12}function Je(e,t){I(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Ze(e,t){return t._meridiemParse}I("H",["HH",2],0,"hour"),I("h",["hh",2],0,Ge),I("k",["kk",2],0,(function(){return this.hours()||24})),I("hmm",0,0,(function(){return""+Ge.apply(this)+A(this.minutes(),2)})),I("hmmss",0,0,(function(){return""+Ge.apply(this)+A(this.minutes(),2)+A(this.seconds(),2)})),I("Hmm",0,0,(function(){return""+this.hours()+A(this.minutes(),2)})),I("Hmmss",0,0,(function(){return""+this.hours()+A(this.minutes(),2)+A(this.seconds(),2)})),Je("a",!0),Je("A",!1),F("hour","h"),H("hour",13),pe("a",Ze),pe("A",Ze),pe("H",ne),pe("h",ne),pe("k",ne),pe("HH",ne,$),pe("hh",ne,$),pe("kk",ne,$),pe("hmm",re),pe("hmmss",oe),pe("Hmm",re),pe("Hmmss",oe),be(["H","HH"],3),be(["k","kk"],(function(e,t,n){var r=Y(e);t[3]=24===r?0:r})),be(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),be(["h","hh"],(function(e,t,n){t[3]=Y(e),h(n).bigHour=!0})),be("hmm",(function(e,t,n){var r=e.length-2;t[3]=Y(e.substr(0,r)),t[4]=Y(e.substr(r)),h(n).bigHour=!0})),be("hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[3]=Y(e.substr(0,r)),t[4]=Y(e.substr(r,2)),t[5]=Y(e.substr(o)),h(n).bigHour=!0})),be("Hmm",(function(e,t,n){var r=e.length-2;t[3]=Y(e.substr(0,r)),t[4]=Y(e.substr(r))})),be("Hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[3]=Y(e.substr(0,r)),t[4]=Y(e.substr(r,2)),t[5]=Y(e.substr(o))}));var Xe,$e=K("Hours",!0),Qe={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:_e,monthsShort:Oe,week:{dow:0,doy:6},weekdays:Ue,weekdaysMin:Be,weekdaysShort:ze,meridiemParse:/[ap]\.?m?\.?/i},et={},tt={};function nt(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n0;){if(r=ot(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&nt(o,n)>=t-1)break;t--}i++}return Xe}(e)}function ut(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>ke(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,h(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),h(e)._overflowWeeks&&-1===t&&(t=7),h(e)._overflowWeekday&&-1===t&&(t=8),h(e).overflow=t),e}var lt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ct=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/Z|[+-]\d\d(?::?\d\d)?/,dt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],pt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ht=/^\/?Date\((-?\d+)/i,mt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,yt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function vt(e){var t,n,r,o,i,a,s=e._i,u=lt.exec(s)||ct.exec(s);if(u){for(h(e).iso=!0,t=0,n=dt.length;t7)&&(u=!0)):(i=e._locale._week.dow,a=e._locale._week.doy,l=Ve(xt(),i,a),n=wt(t.gg,e._a[0],l.year),r=wt(t.w,l.week),null!=t.d?((o=t.d)<0||o>6)&&(u=!0):null!=t.e?(o=t.e+i,(t.e<0||t.e>6)&&(u=!0)):o=i),r<1||r>Ne(n,i,a)?h(e)._overflowWeeks=!0:null!=u?h(e)._overflowWeekday=!0:(s=Le(n,r,o,i,a),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=wt(e._a[0],o[0]),(e._dayOfYear>Me(a)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=De(a,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=o[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?De:Te).apply(null,s),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(h(e).weekdayMismatch=!0)}}function _t(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],h(e).empty=!0;var t,n,o,i,a,s,u=""+e._i,l=u.length,c=0;for(o=V(e._f,e._locale).match(M)||[],t=0;t0&&h(e).unusedInput.push(a),u=u.slice(u.indexOf(n)+n.length),c+=n.length),D[i]?(n?h(e).empty=!1:h(e).unusedTokens.push(i),we(i,n,e)):e._strict&&!n&&h(e).unusedTokens.push(i);h(e).charsLeftOver=l-c,u.length>0&&h(e).unusedInput.push(u),e._a[3]<=12&&!0===h(e).bigHour&&e._a[3]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(s=h(e).era)&&(e._a[0]=e._locale.erasConvertYear(s,e._a[0])),kt(e),ut(e)}else gt(e);else vt(e)}function Ot(e){var t=e._i,n=e._f;return e._locale=e._locale||st(e._l),null===t||void 0===n&&""===t?y({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),k(t)?new w(ut(t)):(c(t)?e._d=t:o(n)?function(e){var t,n,r,o,i,a,s=!1;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;othis?this:e:y()}));function Ct(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return xt();for(n=t[0],r=1;r=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function on(e,t){return t.erasAbbrRegex(e)}function an(){var e,t,n=[],r=[],o=[],i=[],a=this.eras();for(e=0,t=a.length;e(i=Ne(e,r,o))&&(t=i),ln.call(this,e,t,n,r,o))}function ln(e,t,n,r,o){var i=Le(e,t,n,r,o),a=De(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}I("N",0,0,"eraAbbr"),I("NN",0,0,"eraAbbr"),I("NNN",0,0,"eraAbbr"),I("NNNN",0,0,"eraName"),I("NNNNN",0,0,"eraNarrow"),I("y",["y",1],"yo","eraYear"),I("y",["yy",2],0,"eraYear"),I("y",["yyy",3],0,"eraYear"),I("y",["yyyy",4],0,"eraYear"),pe("N",on),pe("NN",on),pe("NNN",on),pe("NNNN",(function(e,t){return t.erasNameRegex(e)})),pe("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),be(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var o=n._locale.erasParse(e,r,n._strict);o?h(n).era=o:h(n).invalidEra=e})),pe("y",ue),pe("yy",ue),pe("yyy",ue),pe("yyyy",ue),pe("yo",(function(e,t){return t._eraYearOrdinalRegex||ue})),be(["y","yy","yyy","yyyy"],0),be(["yo"],(function(e,t,n,r){var o;n._locale._eraYearOrdinalRegex&&(o=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,o):t[0]=parseInt(e,10)})),I(0,["gg",2],0,(function(){return this.weekYear()%100})),I(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),H("weekYear",1),H("isoWeekYear",1),pe("G",le),pe("g",le),pe("GG",ne,$),pe("gg",ne,$),pe("GGGG",ae,ee),pe("gggg",ae,ee),pe("GGGGG",se,te),pe("ggggg",se,te),ge(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=Y(e)})),ge(["gg","GG"],(function(e,t,n,o){t[o]=r.parseTwoDigitYear(e)})),I("Q",0,"Qo","quarter"),F("quarter","Q"),H("quarter",7),pe("Q",X),be("Q",(function(e,t){t[1]=3*(Y(e)-1)})),I("D",["DD",2],"Do","date"),F("date","D"),H("date",9),pe("D",ne),pe("DD",ne,$),pe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),be(["D","DD"],2),be("Do",(function(e,t){t[2]=Y(e.match(ne)[0])}));var cn=K("Date",!0);I("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),H("dayOfYear",4),pe("DDD",ie),pe("DDDD",Q),be(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=Y(e)})),I("m",["mm",2],0,"minute"),F("minute","m"),H("minute",14),pe("m",ne),pe("mm",ne,$),be(["m","mm"],4);var fn=K("Minutes",!1);I("s",["ss",2],0,"second"),F("second","s"),H("second",15),pe("s",ne),pe("ss",ne,$),be(["s","ss"],5);var dn,pn,hn=K("Seconds",!1);for(I("S",0,0,(function(){return~~(this.millisecond()/100)})),I(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),I(0,["SSS",3],0,"millisecond"),I(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),I(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),I(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),I(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),I(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),I(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),F("millisecond","ms"),H("millisecond",16),pe("S",ie,X),pe("SS",ie,$),pe("SSS",ie,Q),dn="SSSS";dn.length<=9;dn+="S")pe(dn,ue);function mn(e,t){t[6]=Y(1e3*("0."+e))}for(dn="S";dn.length<=9;dn+="S")be(dn,mn);pn=K("Milliseconds",!1),I("z",0,0,"zoneAbbr"),I("zz",0,0,"zoneName");var yn=w.prototype;function vn(e){return e}yn.add=Yt,yn.calendar=function(e,t){1===arguments.length&&(arguments[0]?Jt(arguments[0])?(e=arguments[0],t=void 0):Zt(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||xt(),o=Lt(n,this).startOf("day"),i=r.calendarFormat(this,o)||"sameElse",a=t&&(j(t[i])?t[i].call(this,n):t[i]);return this.format(a||this.localeData().calendar(i,this,xt(n)))},yn.clone=function(){return new w(this)},yn.diff=function(e,t,n){var r,o,i;if(!this.isValid())return NaN;if(!(r=Lt(e,this)).isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),t=U(t)){case"year":i=Xt(this,r)/12;break;case"month":i=Xt(this,r);break;case"quarter":i=Xt(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-o)/864e5;break;case"week":i=(this-r-o)/6048e5;break;default:i=this-r}return n?i:W(i)},yn.endOf=function(e){var t,n;if(void 0===(e=U(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},yn.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=L(this,e);return this.localeData().postformat(t)},yn.from=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||xt(e).isValid())?zt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},yn.fromNow=function(e){return this.from(xt(),e)},yn.to=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||xt(e).isValid())?zt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},yn.toNow=function(e){return this.to(xt(),e)},yn.get=function(e){return j(this[e=U(e)])?this[e]():this},yn.invalidAt=function(){return h(this).overflow},yn.isAfter=function(e,t){var n=k(e)?e:xt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=U(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()9999?L(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):j(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",L(n,"Z")):L(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},yn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r="moment",o="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=o+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(yn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),yn.toJSON=function(){return this.isValid()?this.toISOString():null},yn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},yn.unix=function(){return Math.floor(this.valueOf()/1e3)},yn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},yn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},yn.eraName=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},yn.isLocal=function(){return!!this.isValid()&&!this._isUTC},yn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},yn.isUtc=Nt,yn.isUTC=Nt,yn.zoneAbbr=function(){return this._isUTC?"UTC":""},yn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},yn.dates=O("dates accessor is deprecated. Use date instead.",cn),yn.months=O("months accessor is deprecated. Use month instead",Ee),yn.years=O("years accessor is deprecated. Use year instead",Re),yn.zone=O("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),yn.isDSTShifted=O("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return g(t,this),(t=Ot(t))._a?(e=t._isUTC?p(t._a):xt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var r,o=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0;for(r=0;r0):this._isDSTShifted=!1,this._isDSTShifted}));var bn=E.prototype;function gn(e,t,n,r){var o=st(),i=p().set(r,t);return o[n](i,e)}function wn(e,t,n){if(l(e)&&(t=e,e=void 0),e=e||"",null!=t)return gn(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=gn(e,r,n,"month");return o}function kn(e,t,n,r){"boolean"==typeof e?(l(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,l(t)&&(n=t,t=void 0),t=t||"");var o,i=st(),a=e?i._week.dow:0,s=[];if(null!=n)return gn(t,(n+a)%7,r,"day");for(o=0;o<7;o++)s[o]=gn(t,(o+a)%7,r,"day");return s}bn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return j(r)?r.call(t,n):r},bn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(M).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},bn.invalidDate=function(){return this._invalidDate},bn.ordinal=function(e){return this._ordinal.replace("%d",e)},bn.preparse=vn,bn.postformat=vn,bn.relativeTime=function(e,t,n,r){var o=this._relativeTime[n];return j(o)?o(e,t,n,r):o.replace(/%d/i,e)},bn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return j(n)?n(t):n.replace(/%s/i,t)},bn.set=function(e){var t,n;for(n in e)a(e,n)&&(j(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},bn.eras=function(e,t){var n,o,i,a=this._eras||st("en")._eras;for(n=0,o=a.length;n=0)return u[r]},bn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n},bn.erasAbbrRegex=function(e){return a(this,"_erasAbbrRegex")||an.call(this),e?this._erasAbbrRegex:this._erasRegex},bn.erasNameRegex=function(e){return a(this,"_erasNameRegex")||an.call(this),e?this._erasNameRegex:this._erasRegex},bn.erasNarrowRegex=function(e){return a(this,"_erasNarrowRegex")||an.call(this),e?this._erasNarrowRegex:this._erasRegex},bn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Se).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},bn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Se.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},bn.monthsParse=function(e,t,n){var r,o,i;if(this._monthsParseExact)return je.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=p([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},bn.monthsRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||Ae.call(this),e?this._monthsStrictRegex:this._monthsRegex):(a(this,"_monthsRegex")||(this._monthsRegex=Pe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},bn.monthsShortRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||Ae.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(a(this,"_monthsShortRegex")||(this._monthsShortRegex=xe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},bn.week=function(e){return Ve(e,this._week.dow,this._week.doy).week},bn.firstDayOfYear=function(){return this._week.doy},bn.firstDayOfWeek=function(){return this._week.dow},bn.weekdays=function(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Fe(n,this._week.dow):e?n[e.day()]:n},bn.weekdaysMin=function(e){return!0===e?Fe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},bn.weekdaysShort=function(e){return!0===e?Fe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},bn.weekdaysParse=function(e,t,n){var r,o,i;if(this._weekdaysParseExact)return Ye.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=p([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},bn.weekdaysRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=He),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},bn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},bn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=We),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},bn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},bn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},it("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===Y(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=O("moment.lang is deprecated. Use moment.locale instead.",it),r.langData=O("moment.langData is deprecated. Use moment.localeData instead.",st);var _n=Math.abs;function On(e,t,n,r){var o=zt(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function Sn(e){return e<0?Math.floor(e):Math.ceil(e)}function xn(e){return 4800*e/146097}function Pn(e){return 146097*e/4800}function jn(e){return function(){return this.as(e)}}var Cn=jn("ms"),En=jn("s"),An=jn("m"),Mn=jn("h"),Rn=jn("d"),Tn=jn("w"),Dn=jn("M"),In=jn("Q"),Ln=jn("y");function Vn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Nn=Vn("milliseconds"),Fn=Vn("seconds"),Un=Vn("minutes"),zn=Vn("hours"),Bn=Vn("days"),Hn=Vn("months"),qn=Vn("years"),Wn=Math.round,Yn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Kn(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}var Gn=Math.abs;function Jn(e){return(e>0)-(e<0)||+e}function Zn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,o,i,a,s,u=Gn(this._milliseconds)/1e3,l=Gn(this._days),c=Gn(this._months),f=this.asSeconds();return f?(e=W(u/60),t=W(e/60),u%=60,e%=60,n=W(c/12),c%=12,r=u?u.toFixed(3).replace(/\.?0+$/,""):"",o=f<0?"-":"",i=Jn(this._months)!==Jn(f)?"-":"",a=Jn(this._days)!==Jn(f)?"-":"",s=Jn(this._milliseconds)!==Jn(f)?"-":"",o+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(l?a+l+"D":"")+(t||e||u?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(u?s+r+"S":"")):"P0D"}var Xn=At.prototype;return Xn.isValid=function(){return this._isValid},Xn.abs=function(){var e=this._data;return this._milliseconds=_n(this._milliseconds),this._days=_n(this._days),this._months=_n(this._months),e.milliseconds=_n(e.milliseconds),e.seconds=_n(e.seconds),e.minutes=_n(e.minutes),e.hours=_n(e.hours),e.months=_n(e.months),e.years=_n(e.years),this},Xn.add=function(e,t){return On(this,e,t,1)},Xn.subtract=function(e,t){return On(this,e,t,-1)},Xn.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=U(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+xn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Pn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},Xn.asMilliseconds=Cn,Xn.asSeconds=En,Xn.asMinutes=An,Xn.asHours=Mn,Xn.asDays=Rn,Xn.asWeeks=Tn,Xn.asMonths=Dn,Xn.asQuarters=In,Xn.asYears=Ln,Xn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Y(this._months/12):NaN},Xn._bubble=function(){var e,t,n,r,o,i=this._milliseconds,a=this._days,s=this._months,u=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*Sn(Pn(s)+a),a=0,s=0),u.milliseconds=i%1e3,e=W(i/1e3),u.seconds=e%60,t=W(e/60),u.minutes=t%60,n=W(t/60),u.hours=n%24,a+=W(n/24),o=W(xn(a)),s+=o,a-=Sn(Pn(o)),r=W(s/12),s%=12,u.days=a,u.months=s,u.years=r,this},Xn.clone=function(){return zt(this)},Xn.get=function(e){return e=U(e),this.isValid()?this[e+"s"]():NaN},Xn.milliseconds=Nn,Xn.seconds=Fn,Xn.minutes=Un,Xn.hours=zn,Xn.days=Bn,Xn.weeks=function(){return W(this.days()/7)},Xn.months=Hn,Xn.years=qn,Xn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,o=!1,i=Yn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(o=e),"object"==typeof t&&(i=Object.assign({},Yn,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),n=this.localeData(),r=function(e,t,n,r){var o=zt(e).abs(),i=Wn(o.as("s")),a=Wn(o.as("m")),s=Wn(o.as("h")),u=Wn(o.as("d")),l=Wn(o.as("M")),c=Wn(o.as("w")),f=Wn(o.as("y")),d=i<=n.ss&&["s",i]||i0,d[4]=r,Kn.apply(null,d)}(this,!o,i,n),o&&(r=n.pastFuture(+this,r)),n.postformat(r)},Xn.toISOString=Zn,Xn.toString=Zn,Xn.toJSON=Zn,Xn.locale=$t,Xn.localeData=en,Xn.toIsoString=O("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Zn),Xn.lang=Qt,I("X",0,0,"unix"),I("x",0,0,"valueOf"),pe("x",le),pe("X",/[+-]?\d+(\.\d{1,3})?/),be("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),be("x",(function(e,t,n){n._d=new Date(Y(e))})), +*/u=function(){"use strict";var e,t,n,r=Object.prototype.toString,i=void 0!==o?function(e){return o(e)}:setTimeout;try{Object.defineProperty({},"x",{}),e=function(e,t,n,r){return Object.defineProperty(e,t,{value:n,writable:!0,configurable:!1!==r})}}catch(t){e=function(e,t,n){return e[t]=n,e}}function a(e,r){n.add(e,r),t||(t=i(n.drain))}function s(e){var t,n=typeof e;return null==e||"object"!=n&&"function"!=n||(t=e.then),"function"==typeof t&&t}function u(){for(var e=0;e0&&a(u,n))}catch(e){f.call(new p(n),e)}}}function f(e){var t=this;t.triggered||(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,t.chain.length>0&&a(u,t))}function d(e,t,n,r){for(var o=0;o]*>)/g,m=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(e,t,n){return[function(n,r){var o=u(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,i){var u=n(t,e,this,i);if(u.done)return u.value;var p=o(e),h=String(this),m="function"==typeof i;m||(i=String(i));var v=p.global;if(v){var y=p.unicode;p.lastIndex=0}for(var g=[];;){var b=c(p,h);if(null===b)break;if(g.push(b),!v)break;""===String(b[0])&&(p.lastIndex=l(h,a(p.lastIndex),y))}for(var w,k="",_=0,O=0;O=_&&(k+=h.slice(_,x)+A,_=x+S.length)}return k+h.slice(_)}];function r(e,n,r,o,a,s){var u=r+e.length,l=o.length,c=m;return void 0!==a&&(a=i(a),c=h),t.call(s,c,(function(t,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(u);case"<":s=a[i.slice(1,-1)];break;default:var c=+i;if(0===c)return t;if(c>l){var f=p(c/10);return 0===f?t:f<=l?void 0===o[f-1]?i.charAt(1):o[f-1]+i.charAt(1):t}s=o[c-1]}return void 0===s?"":s}))}}))},function(e,t,n){var r=n(24),o=n(25).f,i=Function.prototype,a=i.toString,s=/^\s*function ([^ (]*)/;r&&!("name"in i)&&o(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(e){return""}}})},function(e,t,n){"use strict";n(0),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=new Array(e),n=0;n1?arguments[1]:void 0)}}),i("includes")},function(e,t,n){"use strict";var r=n(42),o=n(34),i=n(10),a=n(109),s=RegExp.prototype,u=s.toString,l=i((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),c="toString"!=u.name;(l||c)&&r(RegExp.prototype,"toString",(function(){var e=o(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in s)?a.call(e):n)}),{unsafe:!0})},function(e,t,n){var r=n(46),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){"use strict";var r=n(110),o=n(151),i=n(34),a=n(41),s=n(84),u=n(150),l=n(21),c=n(111),f=n(108),d=n(10),p=[].push,h=Math.min,m=!d((function(){return!RegExp(4294967295,"y")}));r("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,i);for(var s,u,l,c=[],d=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,m=new RegExp(e.source,d+"g");(s=f.call(m,r))&&!((u=m.lastIndex)>h&&(c.push(r.slice(h,s.index)),s.length>1&&s.index=i));)m.lastIndex===s.index&&m.lastIndex++;return h===r.length?!l&&m.test("")||c.push(""):c.push(r.slice(h)),c.length>i?c.slice(0,i):c}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=a(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(String(o),t,n)},function(e,o){var a=n(r,e,this,o,r!==t);if(a.done)return a.value;var f=i(e),d=String(this),p=s(f,RegExp),v=f.unicode,y=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(m?"y":"g"),g=new p(m?f:"^(?:"+f.source+")",y),b=void 0===o?4294967295:o>>>0;if(0===b)return[];if(0===d.length)return null===c(g,d)?[d]:[];for(var w=0,k=0,_=[];k1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(5),o=n(208),i=n(41);r({target:"String",proto:!0,forced:!n(209)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){"use strict";var r=n(5),o=n(35).filter,i=n(10),a=n(98)("filter"),s=a&&!i((function(){[].filter.call({length:-1,0:1},(function(e){throw e}))}));r({target:"Array",proto:!0,forced:!a||!s},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";(function(e){n(85),n(88),n(89),n(0),n(29),n(7),n(19),n(38),n(32),n(15),n(3),n(26),n(61),n(57),n(12),n(47),n(6),n(20),n(27),n(60),n(83),n(16),n(117),n(22),n(8),n(39),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=h(n(11)),o=h(n(121)),i=h(n(159)),a=h(n(393)),s=h(n(234)),u=h(n(414)),l=h(n(165)),c=h(n(430)),f=h(n(431)),d=n(4),p=h(n(432));function h(e){return e&&e.__esModule?e:{default:e}}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||v(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){if(e){if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{};if(g(this,e),!(this instanceof e))return new e(t);if(this.base="",this.projectsUrl="",this.projectUrl="",this.projectId="",this.roleUrl="",this.rolesUrl="",this.roleId="",this.formUrl="",this.formsUrl="",this.formId="",this.submissionsUrl="",this.submissionUrl="",this.submissionId="",this.actionsUrl="",this.actionId="",this.actionUrl="",this.vsUrl="",this.vId="",this.vUrl="",this.query="",this.path=t,this.options=r,r.hasOwnProperty("base")?this.base=r.base:e.baseUrl?this.base=e.baseUrl:this.base=window.location.href.match(/http[s]?:\/\/api./)[0],!t)return this.projectUrl=e.projectUrl||"".concat(this.base,"/project"),this.projectsUrl="".concat(this.base,"/project"),this.projectId=!1,void(this.query="");r.hasOwnProperty("project")&&(this.projectUrl=r.project);var o=this.projectUrl||e.projectUrl,i=/(^|\/)(project)($|\/[^/]+)/,a=-1!==t.search(i);o&&this.base===o&&!a&&(this.noProject=!0,this.projectUrl=this.base),0!==t.indexOf("http")&&0!==t.indexOf("//")&&(t=this.base+t);var s=this.getUrlParts(t),u=[],l=s[1]+s[2],c=(t=s.length>3?s[3]:"").split("?");c.length>1&&(t=c[0],this.query="?".concat(c[1]));var f=function(e,r){n["".concat(e,"sUrl")]="".concat(r,"/").concat(e);var o=new RegExp("/".concat(e,"/([^/]+)"));return-1!==t.search(o)&&(u=t.match(o),n["".concat(e,"Url")]=u?r+u[0]:"",n["".concat(e,"Id")]=u.length>1?u[1]:"",r+=u[0]),r},d=function e(t,n,r){for(var o in t)if(t.hasOwnProperty(o)){var i=t[o];if(Array.isArray(i))e(i,n,!0);else{var a=f(i,n);n=r?n:a}}};if(!this.projectUrl||this.projectUrl===this.base)if(this.projectUrl||a||"Subdirectories"!==e.pathType)this.projectUrl=l;else{var p="^".concat(l.replace(/\//g,"\\/"),".[^/]+"),h=o.match(new RegExp(p));this.projectUrl=h?h[0]:l}var m=!1;if(e.pathType&&(m="Subdomains"!==e.pathType),!this.noProject){if(a)d(["project"],l),t=t.replace(i,"");else if(l===this.base){if(s.length>3&&t.split("/").length>1){var v=t.split("/");v.shift(),this.projectId=v.shift(),t="/".concat(v.join("/")),this.projectUrl="".concat(l,"/").concat(this.projectId)}}else s.length>2&&(s[2].split(".").length>2||l.includes("localhost"))&&!m&&(this.projectUrl=l,this.projectId=s[2].split(".")[0]);this.projectsUrl=this.projectsUrl||"".concat(this.base,"/project")}if(d(["role"],this.projectUrl),/(^|\/)(form)($|\/)/.test(t))d(["form",["submission","action","v"]],this.projectUrl);else{var y=new RegExp("/(submission|action|v)($|/.*)"),b=t.match(y);this.pathType=b&&b.length>1?b[1]:"",t=(t=t.replace(y,"")).replace(/\/$/,""),this.formsUrl="".concat(this.projectUrl,"/form"),this.formUrl=t?this.projectUrl+t:"",this.formId=t.replace(/^\/+|\/+$/g,"");var w=["submission","action","v"];for(var k in w)if(w.hasOwnProperty(k)){var _=w[k];this["".concat(_,"sUrl")]="".concat(this.projectUrl+t,"/").concat(_),this.pathType===_&&b.length>2&&b[2]&&(this["".concat(_,"Id")]=b[2].replace(/^\/+|\/+$/g,""),this["".concat(_,"Url")]=this.projectUrl+t+b[0])}}e.projectUrlSet||(e.projectUrl=this.projectUrl)}var t,n,o;return t=e,o=[{key:"loadProjects",value:function(t,n){return x(t=t||"")&&(t="?".concat(e.serialize(t.params))),e.makeStaticRequest("".concat(e.baseUrl,"/project").concat(t),"GET",null,n)}},{key:"getUrlParts",value:function(e,t){var n=t&&t.base?t.base:C().baseUrl,r="^(http[s]?:\\/\\/)";return n&&0===e.indexOf(n)?r+="(".concat(n.replace(/^http[s]?:\/\//,""),")"):r+="([^/]+)",r+="($|\\/.*)",e.match(new RegExp(r))}},{key:"serialize",value:function(e,t){var n,r=[];for(var o in e)e.hasOwnProperty(o)&&r.push("".concat(encodeURIComponent(o),"=").concat(encodeURIComponent((n=e[o],t?t(n):n))));return r.join("&")}},{key:"getRequestArgs",value:function(e,t,n,r,o,i){r=(r||"GET").toUpperCase(),i&&x(i)||(i={});var a={url:n,method:r,data:o||null,opts:i};return t&&(a.type=t),e&&(a.formio=e),a}},{key:"makeStaticRequest",value:function(e,t,n,r){var o=C().getRequestArgs(null,"",e,t,n,r),i=C().pluginWait("preRequest",o).then((function(){return C().pluginGet("staticRequest",o).then((function(n){return S(n)?C().request(e,t,o.data,o.opts.header,o.opts):n}))}));return C().pluginAlter("wrapStaticRequestPromise",i,o)}},{key:"makeRequest",value:function(e,t,n,r,o,i){if(!e)return C().makeStaticRequest(n,r,o,i);var a=C().getRequestArgs(e,t,n,r,o,i);a.opts=a.opts||{},a.opts.formio=e,a.opts.headers||(a.opts.headers={}),a.opts.headers=(0,f.default)(a.opts.headers,{Accept:"application/json","Content-type":"application/json"});var s=C().pluginWait("preRequest",a).then((function(){return C().pluginGet("request",a).then((function(e){return S(e)?C().request(n,r,a.data,a.opts.header,a.opts):e}))}));return C().pluginAlter("wrapRequestPromise",s,a)}},{key:"request",value:function(t,n,o,i,a){if(!t)return r.default.reject("No url provided");n=(n||"GET").toUpperCase(),w(a)===w(!0)&&(a={ignoreCache:a}),a&&x(a)||(a={});var s=btoa(encodeURI(t));if(!a.ignoreCache&&"GET"===n&&C().cache.hasOwnProperty(s))return r.default.resolve(P(C().cache[s]));var u=i||new O(a.headers||{Accept:"application/json","Content-type":"application/json"}),l=C().getToken(a);l&&!a.noToken&&u.append("x-jwt-token",l);var c={};u.forEach((function(e,t){c[t]=e}));var f={method:n,headers:c,mode:"cors"};o&&(f.body=JSON.stringify(o)),((f=C().pluginAlter("requestOptions",f,t)).namespace||C().namespace)&&(a.namespace=f.namespace||C().namespace);var d=f.headers["x-jwt-token"];return C().pluginAlter("wrapFetchRequestPromise",C().fetch(t,f),{url:t,method:n,data:o,opts:a}).then((function(i){if(!(i=C().pluginAlter("requestResponse",i,e,o)).ok)return 440===i.status?(C().setToken(null,a),C().events.emit("formio.sessionExpired",i.body)):401===i.status?C().events.emit("formio.unauthorized",i.body):416===i.status&&C().events.emit("formio.rangeIsNotSatisfiable",i.body),(i.headers.get("content-type").includes("application/json")?i.json():i.text()).then((function(e){return r.default.reject(e)}));var s=i.headers.get("x-jwt-token"),u=!1;return"GET"!==n||d||!s||a.external||t.includes("token=")||t.includes("x-jwt-token=")||(console.warn("Token was introduced in request."),u=!0),i.status>=200&&i.status<300&&s&&""!==s&&!u&&C().setToken(s,a),204===i.status?{}:(i.headers.get("content-type").includes("application/json")?i.json():i.text()).then((function(e){var t=i.headers.get("content-range");if(t&&x(e)){if("*"!==(t=t.split("/"))[0]){var n=t[0].split("-");e.skip=Number(n[0]),e.limit=n[1]-n[0]+1}e.serverCount="*"===t[1]?t[1]:Number(t[1])}if(!a.getHeaders)return e;var r={};return i.headers.forEach((function(e,t){r[t]=e})),{result:e,headers:r}}))})).then((function(e){return a.getHeaders?e:("GET"===n&&(C().cache[s]=e),P(e))})).catch((function(e){return"Bad Token"===e&&(C().setToken(null,a),C().events.emit("formio.badToken",e)),e.message&&(e.message="Could not connect to API server (".concat(e.message,")"),e.networkError=!0),"GET"===n&&delete C().cache[s],r.default.reject(e)}))}},{key:"setToken",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;e=e||"";var n="".concat((t="string"==typeof t?{namespace:t}:t||{}).namespace||C().namespace||"formio","Token");if(C().tokens||(C().tokens={}),!e){t.fromUser||(t.fromToken=!0,C().setUser(null,t));try{localStorage.removeItem(n)}catch(e){a.default.erase(n,{path:"/"})}return C().tokens[n]=e,r.default.resolve(null)}if(C().tokens[n]!==e){C().tokens[n]=e;try{localStorage.setItem(n,e)}catch(t){a.default.set(n,e,{path:"/"})}}return C().currentUser(t.formio,t)}},{key:"getToken",value:function(e){var t="".concat((e="string"==typeof e?{namespace:e}:e||{}).namespace||C().namespace||"formio","Token"),n=e.decode?"".concat(t,"Decoded"):t;if(C().tokens||(C().tokens={}),C().tokens[n])return C().tokens[n];try{return C().tokens[t]=localStorage.getItem(t)||"",e.decode?(C().tokens[n]=C().tokens[t]?(0,p.default)(C().tokens[t]):{},C().tokens[n]):C().tokens[t]}catch(e){return C().tokens[t]=a.default.get(t),C().tokens[t]}}},{key:"setUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="".concat(t.namespace||C().namespace||"formio","User");if(!e){t.fromToken||(t.fromUser=!0,C().setToken(null,t)),C().events.emit("formio.user",null);try{return localStorage.removeItem(n)}catch(e){return a.default.erase(n,{path:"/"})}}try{localStorage.setItem(n,JSON.stringify(e))}catch(t){a.default.set(n,JSON.stringify(e),{path:"/"})}C().events.emit("formio.user",e)}},{key:"getUser",value:function(e){var t="".concat((e=e||{}).namespace||C().namespace||"formio","User");try{return JSON.parse(localStorage.getItem(t)||null)}catch(e){return JSON.parse(a.default.get(t))}}},{key:"setBaseUrl",value:function(e){C().baseUrl=e,C().projectUrlSet||(C().projectUrl=e)}},{key:"getBaseUrl",value:function(){return C().baseUrl}},{key:"setApiUrl",value:function(e){return C().setBaseUrl(e)}},{key:"getApiUrl",value:function(){return C().getBaseUrl()}},{key:"setAppUrl",value:function(e){console.warn("Formio.setAppUrl() is deprecated. Use Formio.setProjectUrl instead."),C().projectUrl=e,C().projectUrlSet=!0}},{key:"setProjectUrl",value:function(e){C().projectUrl=e,C().projectUrlSet=!0}},{key:"setAuthUrl",value:function(e){C().authUrl=e}},{key:"getAppUrl",value:function(){return console.warn("Formio.getAppUrl() is deprecated. Use Formio.getProjectUrl instead."),C().projectUrl}},{key:"getProjectUrl",value:function(){return C().projectUrl}},{key:"clearCache",value:function(){C().cache={}}},{key:"noop",value:function(){}},{key:"identity",value:function(e){return e}},{key:"deregisterPlugin",value:function(e){var t=C().plugins.length;return C().plugins=C().plugins.filter((function(t){return t!==e&&t.__name!==e||((t.deregister||C().noop).call(e,C()),!1)})),t!==C().plugins.length}},{key:"registerPlugin",value:function(t,n){C().plugins.push(t),C().plugins.sort((function(e,t){return(t.priority||0)-(e.priority||0)})),t.__name=n,(t.init||C().noop).call(t,e)}},{key:"getPlugin",value:function(e){var t,n=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=v(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(C().plugins);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r.__name===e)return r}}catch(e){n.e(e)}finally{n.f()}return null}},{key:"pluginWait",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o1?t-1:0),o=1;o2?n-2:0),o=2;o1&&(e[n[0]]=n[1]&&decodeURIComponent(n[1]))})),t.forEach((function(t){(n=t.split("=")).length>1?e[n[0]]=n[1]&&decodeURIComponent(n[1]):0===t.indexOf("/")&&(e.paths=t.substr(1).split("/"))})),e}},{key:"oAuthCurrentUser",value:function(e,t){return C().currentUser(e,{external:!0,headers:{Authorization:"Bearer ".concat(t)}})}},{key:"samlInit",value:function(e){e=e||{};var t=C().pageQuery();if(t.saml){C().setUser(null);var n=C().setToken(t.saml),r=window.location.toString();return r=r.substring(0,r.indexOf("?")),window.location.hash&&(r+=window.location.hash),window.history.replaceState({},document.title,r),n}e.relay||(e.relay=window.location.href);var o=C().authUrl||C().projectUrl;return window.location.href="".concat(o,"/saml/sso?relay=").concat(encodeURI(e.relay)),!1}},{key:"oktaInit",value:function(e){if(e=e||{},void 0!==("undefined"==typeof OktaAuth?"undefined":w(OktaAuth))&&(e.OktaAuth=OktaAuth),void 0===w(e.OktaAuth)){var t="Cannot find OktaAuth. Please include the Okta JavaScript SDK within your application. See https://developer.okta.com/code/javascript/okta_auth_sdk for an example.";return console.warn(t),r.default.reject(t)}return new r.default((function(t,n){var r=e.OktaAuth;delete e.OktaAuth;var o=new r(e);o.tokenManager.get("accessToken").then((function(r){r?t(C().oAuthCurrentUser(e.formio,r.accessToken)):location.hash?o.token.parseFromUrl().then((function(n){o.tokenManager.add("accessToken",n),t(C().oAuthCurrentUser(e.formio,n.accessToken))})).catch((function(e){console.warn(e),n(e)})):(o.token.getWithRedirect({responseType:"token",scopes:e.scopes}),t(!1))})).catch((function(e){n(e)}))}))}},{key:"ssoInit",value:function(e,t){switch(e){case"saml":return C().samlInit(t);case"okta":return C().oktaInit(t);default:return console.warn("Unknown SSO type"),r.default.reject("Unknown SSO type")}}},{key:"requireLibrary",value:function(e,t,n,o){if(!C().libraries.hasOwnProperty(e)){C().libraries[e]={},C().libraries[e].ready=new r.default((function(t,n){C().libraries[e].resolve=t,C().libraries[e].reject=n}));var i="".concat(e,"Callback");o||window[i]||(window[i]=function(){return C().libraries[e].resolve()});var a=(0,l.default)(window,t);if(a)C().libraries[e].resolve(a);else if((n=Array.isArray(n)?n:[n]).forEach((function(e){var t={},n="";switch("string"==typeof e&&(e={type:"script",src:e}),e.type){case"script":n="script",t={src:e.src,type:"text/javascript",defer:!0,async:!0,referrerpolicy:"origin"};break;case"styles":n="link",t={href:e.src,rel:"stylesheet"}}var r=document.createElement(n);if(r.setAttribute)for(var o in t)r.setAttribute(o,t[o]);var i=document.head;i&&i.appendChild(r)})),o)var s=setInterval((function(){var n=(0,l.default)(window,t);n&&(clearInterval(s),C().libraries[e].resolve(n))}),200)}return C().libraries[e].ready}},{key:"libraryReady",value:function(e){return C().libraries.hasOwnProperty(e)&&C().libraries[e].ready?C().libraries[e].ready:r.default.reject("".concat(e," library was not required."))}},{key:"addToGlobal",value:function(t){"object"!==w(t)||t.Formio||(t.Formio=e)}},{key:"setPathType",value:function(e){"string"==typeof e&&(C().pathType=e)}},{key:"getPathType",value:function(){return C().pathType}},{key:"token",get:function(){return C().tokens||(C().tokens={}),C().tokens.formioToken||""},set:function(e){C().tokens||(C().tokens={}),C().tokens.formioToken=e||""}}],(n=[{key:"delete",value:function(t,n){var o="".concat(t,"Id"),i="".concat(t,"Url");return this[o]?(e.cache={},this.makeRequest(t,this[i],"delete",null,n)):r.default.reject("Nothing to delete")}},{key:"index",value:function(t,n,r){var o="".concat(t,"Url");return(n=n||"")&&x(n)&&(n="?".concat(e.serialize(n.params))),this.makeRequest(t,this[o]+n,"get",null,r)}},{key:"save",value:function(t,n,r){var o="".concat(t,"Id"),i="".concat(t,"Url"),a=this[o]||n._id?"put":"post",s=this[o]?this[i]:this["".concat(t,"sUrl")];return this[o]||!n._id||"put"!==a||s.includes(n._id)||(s+="/".concat(n._id)),e.cache={},this.makeRequest(t,s+this.query,a,n,r)}},{key:"load",value:function(t,n,o){var i="".concat(t,"Id"),a="".concat(t,"Url");return n&&x(n)&&(n=e.serialize(n.params)),n=n?this.query?"".concat(this.query,"&").concat(n):"?".concat(n):this.query,this[i]?this.makeRequest(t,this[a]+n,"get",null,o):r.default.reject("Missing ".concat(i))}},{key:"makeRequest",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r-1&&("read"===e.defaultPermission&&(a[i.read]=!0),"create"===e.defaultPermission&&(a[i.create]=!0,a[i.read]=!0),"write"===e.defaultPermission&&(a[i.create]=!0,a[i.read]=!0,a[i.update]=!0),"admin"===e.defaultPermission&&(a[i.create]=!0,a[i.read]=!0,a[i.update]=!0,a[i.delete]=!0))}))}})),a}))}},{key:"canSubmit",value:function(){var t=this;return this.userPermissions().then((function(n){return!n.create&&e.getUser()?t.userPermissions(null).then((function(t){return!!t.create&&(e.setUser(null),!0)})):n.create}))}},{key:"getUrlParts",value:function(t){return e.getUrlParts(t,this)}}])&&b(t.prototype,n),o&&b(t,o),e}();function C(){return"object"===w(window||e)&&void 0!==(window||e).Formio?(window||e).Formio:j}j.libraries={},j.Promise=r.default,j.fetch=_,j.Headers=O,j.baseUrl="https://api.form.io",j.projectUrl=j.baseUrl,j.authUrl="",j.projectUrlSet=!1,j.plugins=[],j.cache={},j.Providers=s.default,j.version="4.12.6",j.pathType="",j.events=new i.default({wildcard:!1,maxListeners:0}),void 0!==e&&j.addToGlobal(e),"undefined"!=typeof window&&j.addToGlobal(window);var E=C();t.default=E}).call(this,n(40))},function(e,t,n){var r=n(41);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(51),o=n(112),i=n(97),a=n(59),s=n(152),u=a.set,l=a.getterFor("Array Iterator");e.exports=s(Array,"Array",(function(e,t){u(this,{type:"Array Iterator",target:r(e),index:0,kind:t})}),(function(){var e=l(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(28);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){var r=n(82),o=n(91),i=n(31),a=n(21),s=n(148),u=[].push,l=function(e){var t=1==e,n=2==e,l=3==e,c=4==e,f=6==e,d=5==e||f;return function(p,h,m,v){for(var y,g,b=i(p),w=o(b),k=r(h,m,3),_=a(w.length),O=0,S=v||s,x=t?S(p,_):n?S(p,0):void 0;_>O;O++)if((d||O in w)&&(g=k(y=w[O],O,b),e))if(t)x[O]=g;else if(g)switch(e){case 3:return!0;case 5:return y;case 6:return O;case 2:u.call(x,y)}else if(c)return!1;return f?-1:l||c?c:x}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6)}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(0),n(29),n(7),n(19),n(38),n(15),n(3),n(26),n(48),n(53),n(54),n(17),n(57),n(2),n(12),n(6),n(239),n(20),n(27),n(16),n(22),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(100),i=y(n(11)),a=y(n(240)),s=y(n(1)),u=y(n(1007)),l=y(n(30)),c=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(4)),f=y(n(438)),d=y(n(185)),p=y(n(186)),h=y(n(187)),m=y(n(140));function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e){return e&&e.__esModule?e:{default:e}}function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function _(e){return function(e){if(Array.isArray(e))return S(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||O(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(e,t){if(e){if("string"==typeof e)return S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?S(e,t):void 0}}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:{};return s.default.defaultsDeep(e,this.defaultSchema)}},{key:"init",value:function(){this.disabled=this.shouldDisabled,this._visible=this.conditionallyVisible(null,null)}},{key:"destroy",value:function(){x(R(n.prototype),"destroy",this).call(this),this.detach()}},{key:"rightDirection",value:function(e){return"right"===e}},{key:"getLabelInfo",value:function(){var e=this.rightDirection(this.labelPositions[0]),t="left"===this.labelPositions[0],n=this.rightDirection(this.labelPositions[1]),r="";if(this.component.hideLabel){var o=this.labelWidth+this.labelMargin;r=e?"margin-right: ".concat(o,"%"):"",r=t?"margin-left: ".concat(o,"%"):""}return{isRightPosition:e,isRightAlign:n,labelStyles:"\n flex: ".concat(this.labelWidth,";\n ").concat(e?"margin-left":"margin-right",": ").concat(this.labelMargin,"%;\n "),contentStyles:"\n flex: ".concat(100-this.labelWidth-this.labelMargin,";\n ").concat(r,";\n ").concat(this.component.hideLabel?"max-width: ".concat(100-this.labelWidth-this.labelMargin):"",";\n ")}}},{key:"getModifiedSchema",value:function(e,t,n){var r=this,o={};return t?(s.default.each(e,(function(e,i){if(!s.default.isArray(e)&&s.default.isObject(e)&&t.hasOwnProperty(i)){var a=r.getModifiedSchema(e,t[i],!0);s.default.isEmpty(a)||(o[i]=a)}else s.default.isArray(e)?0!==e.length&&(o[i]=e):(!n&&"type"===i||!n&&"key"===i||!n&&"label"===i||!n&&"input"===i||!n&&"tableView"===i||""!==e&&!t.hasOwnProperty(i)||""!==e&&e!==t[i])&&(o[i]=e)})),o):e}},{key:"t",value:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return"";r.data=this.rootValue,r.row=this.data,r.component=this.component;for(var o=arguments.length,i=new Array(o>2?o-2:0),a=2;a1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,o=r||this.options.renderMode||"form";n.component=this.component,n.self=this,n.options=this.options,n.readOnly=this.options.readOnly,n.iconClass=this.iconClass.bind(this),n.size=this.size.bind(this),n.t=this.t.bind(this),n.transform=this.transform,n.id=n.id||this.id,n.key=n.key||this.key,n.value=n.value||this.dataValue,n.disabled=this.disabled,n.builder=this.builderMode,n.render=function(){return console.warn("Form.io 'render' template function is deprecated.\n If you need to render template (template A) inside of another template (template B),\n pass pre-compiled template A (use this.renderTemplate('template_A_name') as template context variable for template B"),t.renderTemplate.apply(t,arguments)},n.label=this.labelInfo,n.tooltip=this.interpolate(this.component.tooltip||"").replace(/(?:\r\n|\r|\n)/g,"
");var i=["".concat(e,"-").concat(this.component.type,"-").concat(this.key),"".concat(e,"-").concat(this.component.type),"".concat(e,"-").concat(this.key),"".concat(e)];return this.hook("render".concat(e.charAt(0).toUpperCase()+e.substring(1,e.length)),this.interpolate(this.getTemplate(i,o),n),n,o)}},{key:"sanitize",value:function(e){return c.sanitize(e,this.options)}},{key:"renderString",value:function(e,t){return e?this.interpolate(e,t):""}},{key:"performInputMapping",value:function(e){return e}},{key:"getBrowserLanguage",value:function(){var e,t=window.navigator,n=["language","browserLanguage","systemLanguage","userLanguage"];if(Array.isArray(t.languages))for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:"Unknown component: ".concat(this.component.type),t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.visible;return this.rendered=!0,!this.builderMode&&this.component.modalEdit?h.default.render(this,{visible:n,showSaveButton:this.hasModalSaveButton,id:this.id,classes:this.className,styles:this.customStyle,children:e},t):this.renderTemplate("component",{visible:n,id:this.id,classes:this.className,styles:this.customStyle,children:e},t)}},{key:"attach",value:function(e){var t=this;if(!this.builderMode&&this.component.modalEdit){var n=!!this.componentModal&&this.componentModal.isOpened,r=n?this.componentModal.currentValue:this.dataValue;this.componentModal=new h.default(this,e,n,r),this.setOpenModalElement()}this.attached=!0,this.element=e,e.component=this,this.element.id&&(this.id=this.element.id,this.component.id=this.id),this.loadRefs(e,{messageContainer:"single",tooltip:"multiple"}),this.refs.tooltip.forEach((function(e,n){var r=t.interpolate(e.getAttribute("data-title")||t.t(t.component.tooltip)).replace(/(?:\r\n|\r|\n)/g,"
");t.tooltips[n]=new a.default(e,{trigger:"hover click focus",placement:"right",html:!0,title:r,template:'\n '})})),this.attachLogic(),this.autofocus(),this.hook("attachComponent",e,this);var o=this.component.type;return o&&this.hook("attach".concat(o.charAt(0).toUpperCase()+o.substring(1,o.length)),e,this),this.restoreFocus(),i.default.resolve()}},{key:"restoreFocus",value:function(){var e,t,n;(null===(e=this.root)||void 0===e||null===(t=e.focusedComponent)||void 0===t?void 0:t.path)===this.path&&(this.loadRefs(this.element,{input:"multiple"}),this.focus(null===(n=this.root.currentSelection)||void 0===n?void 0:n.index),this.restoreCaretPosition())}},{key:"addShortcut",value:function(e,t){e&&this.root&&this.root!==this&&(t||(t=this.component.shortcut),this.root.addShortcut(e,t))}},{key:"removeShortcut",value:function(e,t){e&&this.root!==this&&(t||(t=this.component.shortcut),this.root.removeShortcut(e,t))}},{key:"detach",value:function(){this.refs={},this.removeEventListeners(),this.detachLogic(),this.tooltip&&this.tooltip.dispose()}},{key:"checkRefresh",value:function(e,t,n){var r=s.default.get(t,"instance.path",!1);r&&this.path===r||("data"===e?this.refresh(this.data,t,n):r&&(0,c.getComponentPathWithoutIndicies)(r)===e&&t&&t.instance&&this.inContext(t.instance)&&this.refresh(t.value,t,n))}},{key:"checkRefreshOn",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e=e||[],!n.noRefresh){!e.length&&n.changed&&(e=[n.changed]);var r=n.fromBlur?this.component.refreshOnBlur:this.component.refreshOn||this.component.redrawOn;r&&(Array.isArray(r)?r.forEach((function(r){return e.forEach((function(e){return t.checkRefresh(r,e,n)}))})):e.forEach((function(e){return t.checkRefresh(r,e,n)})))}}},{key:"refresh",value:function(e){this.hasOwnProperty("refreshOnValue")?this.refreshOnChanged=!s.default.isEqual(e,this.refreshOnValue):this.refreshOnChanged=!0,this.refreshOnValue=(0,c.fastCloneDeep)(e),this.refreshOnChanged&&(this.component.clearOnRefresh&&this.setValue(null),this.triggerRedraw())}},{key:"inContext",value:function(e){if(e.data===this.data)return!0;for(var t=this.parent;t;){if(t.data===e.data)return!0;t=t.parent}return!1}},{key:"createViewOnlyElement",value:function(){return this.element=this.ce("dl",{id:this.id}),this.element&&(this.element.component=this),this.element}},{key:"getWidgetValueAsString",value:function(e,t){var n=this,r=!this.refs.input||!this.refs.input[0]||!this.refs.input[0].widget;if(!e||r)return this.widget&&e?this.widget.getValueAsString(e):e;if(Array.isArray(e)){var o=[];return e.forEach((function(e,r){var i=n.refs.input[r]&&n.refs.input[r].widget;i&&o.push(i.getValueAsString(e,t))})),o}return this.refs.input[0].widget.getValueAsString(e,t)}},{key:"getValueAsString",value:function(e,t){if(!e)return"";if(e=this.getWidgetValueAsString(e,t),Array.isArray(e))return e.join(", ");if(s.default.isPlainObject(e))return JSON.stringify(e);if(null==e)return"";var n=e.toString();return this.sanitize(n)}},{key:"getView",value:function(e,t){return this.component.protected?"--- PROTECTED ---":this.getValueAsString(e,t)}},{key:"updateItems",value:function(){this.restoreValue(),this.onChange.apply(this,arguments)}},{key:"itemValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(s.default.isObject(e)){if(this.valueProperty)return s.default.get(e,this.valueProperty);if(t)return e.value}return e}},{key:"itemValueForHTMLMode",value:function(e){var t=this;return Array.isArray(e)?e.map((function(e){return Array.isArray(e)?t.itemValueForHTMLMode(e):t.itemValue(e)})).join(", "):this.itemValue(e)}},{key:"createModal",value:function(e,t,n){var r=this,o=this.ce("div",t||{});this.setContent(o,this.renderTemplate("dialog")),o.refs={},this.loadRefs.call(o,o,{dialogOverlay:"single",dialogContents:"single",dialogClose:"single"}),o.refs.dialogContents.appendChild(e),document.body.appendChild(o),document.body.classList.add("modal-open"),o.close=function(){document.body.classList.remove("modal-open"),o.dispatchEvent(new CustomEvent("close"))},this.addEventListener(o,"close",(function(){return r.removeChildFrom(o,document.body)}));var i=function(e){e.preventDefault(),o.close()},a=function(e){n?n().then((function(){return i(e)})).catch((function(){})):i(e)};return this.addEventListener(o.refs.dialogOverlay,"click",a),this.addEventListener(o.refs.dialogClose,"click",a),o}},{key:"getElement",value:function(){return this.element}},{key:"evalContext",value:function(e){return x(R(n.prototype),"evalContext",this).call(this,Object.assign({component:this.component,row:this.data,rowIndex:this.rowIndex,data:this.rootValue,iconClass:this.iconClass.bind(this),submission:this.root?this.root._submission:{},form:this.root?this.root._form:{}},e))}},{key:"setPristine",value:function(e){this.pristine=e}},{key:"removeValue",value:function(e){this.splice(e),this.redraw(),this.restoreValue(),this.triggerRootChange()}},{key:"iconClass",value:function(e,t){var n=this.options.iconset||d.default.current.defaultIconset||"fa";return d.default.current.hasOwnProperty("iconClass")?d.default.current.iconClass(n,e,t):"fa"===this.options.iconset?d.default.defaultTemplates.iconClass(n,e,t):e}},{key:"size",value:function(e){return d.default.current.hasOwnProperty("size")?d.default.current.size(e):e}},{key:"errorMessage",value:function(e){return this.component.errors&&this.component.errors[e]?this.component.errors[e]:e}},{key:"setContent",value:function(e,t){return e instanceof HTMLElement&&(e.innerHTML=this.sanitize(t),!0)}},{key:"restoreCaretPosition",value:function(){var e,t;if(null!==(e=this.root)&&void 0!==e&&e.currentSelection&&(null!==(t=this.refs.input)&&void 0!==t&&t.length)){var n=this.root.currentSelection,r=n.selection,o=n.index,i=this.refs.input[o];if(i){var a;(a=i).setSelectionRange.apply(a,_(r))}else{var s,u=(null===(s=(i=this.refs.input[this.refs.input.length]).value)||void 0===s?void 0:s.length)||0;i.setSelectionRange(u,u)}}}},{key:"redraw",value:function(){if(!this.element||!this.element.parentNode)return i.default.resolve();this.detach(),this.emit("redraw");var e=this.element.parentNode,t=Array.prototype.indexOf.call(e.children,this.element);return this.element.outerHTML=this.sanitize(this.render()),this.element=e.children[t],this.attach(this.element)}},{key:"rebuild",value:function(){return this.destroy(),this.init(),this.redraw()}},{key:"removeEventListeners",value:function(){x(R(n.prototype),"removeEventListeners",this).call(this),this.tooltips.forEach((function(e){return e.dispose()})),this.tooltips=[]}},{key:"hasClass",value:function(e,t){if(e)return x(R(n.prototype),"hasClass",this).call(this,e,this.transform("class",t))}},{key:"addClass",value:function(e,t){if(e)return x(R(n.prototype),"addClass",this).call(this,e,this.transform("class",t))}},{key:"removeClass",value:function(e,t){if(e)return x(R(n.prototype),"removeClass",this).call(this,e,this.transform("class",t))}},{key:"hasCondition",value:function(){return null!==this._hasCondition||(this._hasCondition=c.hasCondition(this.component)),this._hasCondition}},{key:"conditionallyVisible",value:function(e,t){return e=e||this.rootValue,t=t||this.data,this.builderMode||!this.hasCondition()?!this.component.hidden:(e=e||(this.root?this.root.data:{}),this.checkCondition(t,e))}},{key:"checkCondition",value:function(e,t){return c.checkCondition(this.component,e||this.data,t||this.rootValue,this.root?this.root._form:{},this)}},{key:"checkComponentConditions",value:function(e,t,n){e=e||this.rootValue,t=t||{},n=n||this.data,!this.builderMode&&this.fieldLogic(e,n)&&this.redraw();var r=this.conditionallyVisible(e,n);return this.visible!==r&&(this.visible=r),r}},{key:"checkConditions",value:function(e,t,n){return e=e||this.rootValue,t=t||{},n=n||this.data,this.checkComponentConditions(e,t,n)}},{key:"fieldLogic",value:function(e,t){var n=this;e=e||this.rootValue,t=t||this.data;var r=this.logic;if(0!==r.length){var o=(0,c.fastCloneDeep)(this.originalComponent),i=r.reduce((function(r,i){var a=c.checkTrigger(o,i.trigger,t,e,n.root?n.root._form:{},n);return!!a&&n.applyActions(o,i.actions,a,t,e)||r}),!1);return s.default.isEqual(this.component,o)||(this.component=o,this.disabled=this.shouldDisabled,i=!0),i}}},{key:"isIE",value:function(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){var n=e.indexOf("rv:");return parseInt(e.substring(n+3,e.indexOf(".",n)),10)}var r=e.indexOf("Edge/");return r>0&&parseInt(e.substring(r+5,e.indexOf(".",r)),10)}},{key:"applyActions",value:function(e,t,n,r,o){var i=this;return o=o||this.rootValue,r=r||this.data,t.reduce((function(t,a){switch(a.type){case"property":c.setActionProperty(e,a,n,r,o,i);var u=a.property.value;s.default.isEqual(s.default.get(i.component,u),s.default.get(e,u))||(t=!0);break;case"value":var l=i.getValue(),f=i.evaluate(a.value,{value:s.default.clone(l),data:o,row:r,component:e,result:n},"value");s.default.isEqual(l,f)||(i.setValue(f),i.viewOnly&&(i.dataValue=f),t=!0);break;case"mergeComponentSchema":var d=i.evaluate(a.schemaDefinition,{value:s.default.clone(i.getValue()),data:o,row:r,component:e,result:n},"schema");s.default.assign(e,d),s.default.isEqual(i.component,e)||(t=!0)}return t}),!1)}},{key:"addInputError",value:function(e,t,n){this.addMessages(e),this.setErrorClasses(n,t,!!e)}},{key:"removeInputError",value:function(e){this.setErrorClasses(e,!0,!1)}},{key:"addMessages",value:function(e){var t=this;e&&("string"==typeof e&&(e={messages:e,level:"error"}),Array.isArray(e)||(e=[e]),e=s.default.uniqBy(e,(function(e){return e.message})),this.refs.messageContainer&&this.setContent(this.refs.messageContainer,e.map((function(e){return t.renderTemplate("message",e)})).join("")))}},{key:"setErrorClasses",value:function(e,t,n,r){var o=this;this.clearErrorClasses(),e.forEach((function(e){return o.removeClass(o.performInputMapping(e),"is-invalid")})),this.setInputWidgetErrorClasses(e,n),n&&(e.forEach((function(e){return o.addClass(o.performInputMapping(e),"is-invalid")})),t&&this.options.highlightErrors?this.addClass(this.element,this.options.componentErrorClass):this.addClass(this.element,"has-error")),r&&this.addClass(this.element,"has-message")}},{key:"clearOnHide",value:function(){var e;this.rootPristine&&(null===(e=(0,c.getDataParentComponent)(this))||void 0===e||!e.hasScopedChildren)||!1===this.component.clearOnHide||this.options.readOnly||this.options.showHiddenFields||(this.visible?this.hasValue()||this.setValue(this.defaultValue,{noUpdateEvent:!0}):this.deleteValue())}},{key:"triggerRootChange",value:function(){var e;if(this.options.onChange)(e=this.options).onChange.apply(e,arguments);else if(this.root){var t;(t=this.root).triggerChange.apply(t,arguments)}}},{key:"onChange",value:function(e,t){(e=e||{}).modified&&(e.noPristineChangeOnModified||(this.pristine=!1),this.addClass(this.getElement(),"formio-modified")),"blur"!==this.component.validateOn||this.errors.length||(e.noValidate=!0),this.component.onChange&&this.evaluate(this.component.onChange,{flags:e});var n={instance:this,component:this.component,value:this.dataValue,flags:e};this.emit("componentChange",n);var r=!1;return e.modified&&(r=!0,delete e.modified),t||this.triggerRootChange(e,n,r),n}},{key:"addCKE",value:function(e,t,n){return(t=s.default.isEmpty(t)?{}:t).base64Upload=!0,t.mediaEmbed={previewsInData:!0},t=s.default.merge(this.wysiwygDefault.ckeditor,s.default.get(this.options,"editors.ckeditor.settings",{}),t),l.default.requireLibrary("ckeditor",T?"CKEDITOR":"ClassicEditor",s.default.get(this.options,"editors.ckeditor.src",D),!0).then((function(){if(!e.parentNode)return i.default.reject();if(T){var r=CKEDITOR.replace(e);return r.on("change",(function(){return n(r.getData())})),i.default.resolve(r)}return ClassicEditor.create(e,t).then((function(e){return e.model.document.on("change",(function(){return n(e.data.get())})),e}))}))}},{key:"addQuill",value:function(e,t,n){var r=this;return t=s.default.isEmpty(t)?this.wysiwygDefault.quill:t,t=b(b({},t=s.default.merge(this.wysiwygDefault.quill,s.default.get(this.options,"editors.quill.settings",{}),t)),{},{modules:{table:!0}}),l.default.requireLibrary("quill-css-".concat(t.theme),"Quill",[{type:"styles",src:"".concat(L,"/quill.").concat(t.theme,".css")}],!0),l.default.requireLibrary("quill","Quill",s.default.get(this.options,"editors.quill.src","".concat(L,"/quill.min.js")),!0).then((function(){return l.default.requireLibrary("quill-table","Quill","https://cdn.form.io/quill/quill-table.js",!0).then((function(){if(!e.parentNode)return i.default.reject();r.quill=new Quill(e,T?b(b({},t),{},{modules:{}}):t);var o=document.createElement("textarea");o.setAttribute("class","quill-source-code"),r.quill.addContainer("ql-custom").appendChild(o);var a=e.parentNode.querySelector(".ql-source");a&&r.addEventListener(a,"click",(function(e){e.preventDefault(),"inherit"===o.style.display&&r.quill.setContents(r.quill.clipboard.convert(o.value)),o.style.display="none"===o.style.display?"inherit":"none"})),r.addEventListener(e,"click",(function(){return r.quill.focus()}));for(var s=document.querySelectorAll(".ql-formats > button"),u=0;u1&&void 0!==arguments[1]?arguments[1]:{},n=this.updateValue(e,t);if(e=this.dataValue,!this.hasInput)return n;var r=Array.isArray(e);if(r&&Array.isArray(this.defaultValue)&&this.refs.hasOwnProperty("input")&&this.refs.input&&this.refs.input.length!==e.length&&this.visible&&this.redraw(),"html"===this.options.renderMode&&n)return this.redraw(),n;for(var o in this.refs.input)this.refs.input.hasOwnProperty(o)&&this.setValueAt(o,r?e[o]:e,t);return n}},{key:"setValueAt",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n.noDefault||null!=t||this.component.multiple||(t=this.defaultValue);var r=this.performInputMapping(this.refs.input[e]);r.mask?r.mask.textMaskInputElement.update(t):r.widget&&r.widget.setValue?r.widget.setValue(t):r.value=t}},{key:"setDefaultValue",value:function(){if(this.defaultValue){var e=this.component.multiple&&!this.dataValue.length?[]:this.defaultValue;this.setValue(e,{noUpdateEvent:!0})}}},{key:"restoreValue",value:function(){this.hasSetValue?this.setValue(this.dataValue,{noUpdateEvent:!0}):this.setDefaultValue()}},{key:"normalizeValue",value:function(e){return this.component.multiple&&!Array.isArray(e)&&(e=e?[e]:[]),e}},{key:"updateComponentValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.resetValue||null!=e?e:this.getValue(),r=void 0!==(n=this.normalizeValue(n,t))&&this.hasChanged(n,this.dataValue);return r&&(this.dataValue=n,this.updateOnChange(t,r)),this.componentModal&&t&&t.fromSubmission&&this.componentModal.setValue(e),r}},{key:"updateValue",value:function(){return this.updateComponentValue.apply(this,arguments)}},{key:"getIcon",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"icon";return this.renderTemplate("icon",{className:this.iconClass(e),ref:r,styles:n,content:t})}},{key:"resetValue",value:function(){this.setValue(this.emptyValue,{noUpdateEvent:!0,noValidate:!0,resetValue:!0}),this.unset()}},{key:"hasChanged",value:function(e,t){return(null!=e||null!=t&&!this.isEmpty(t))&&(!(null==e||!this.allowData||this.hasValue())||!s.default.isEqual(e,t))}},{key:"updateOnChange",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!(e.noUpdateEvent||!t)&&(this.triggerChange(e),!0)}},{key:"convertNumberOrBoolToString",value:function(e){return"number"==typeof e||"boolean"==typeof e?e.toString():e}},{key:"calculateComponentValue",value:function(e,t,n){var r=this.component,o=r.hidden,i=r.clearOnHide,a=(!this.visible||o)&&i&&!this.rootPristine;if(this.options.readOnly||!this.component.calculateValue||a||this.options.server&&!this.component.calculateServer||t.dataSourceInitialLoading)return!1;var u=this.dataValue,l=this.evaluate(this.component.calculateValue,{value:u,data:e,row:n||this.data},"value");s.default.isNil(l)&&(l=this.emptyValue);var c=!s.default.isEqual(u,l);if(this.component.allowCalculateOverride){var f=void 0===this.calculatedValue;f&&(this.calculatedValue=null);var d=this.normalizeValue(this.convertNumberOrBoolToString(l)),p=this.normalizeValue(this.convertNumberOrBoolToString(this.calculatedValue)),h=!s.default.isEqual(p,d),m=!s.default.isEqual(u,p);if(p&&m&&!h)return!1;if(t.isReordered||!h)return!1;if(t.fromSubmission&&!0===this.component.persistent)return this.calculatedValue=l,!1;if(f&&!this.isEmpty(u)&&c&&h)return!0}return this.calculatedValue=l,!!c&&this.setValue(l,t)}},{key:"calculateValue",value:function(e,t,n){return e=e||this.rootValue,t=t||{},n=n||this.data,this.calculateComponentValue(e,t,n)}},{key:"getRoot",value:function(){return this.root}},{key:"invalidMessage",value:function(e,t,n,r){return n||this.checkCondition(r,e)?this.invalid?this.invalid:!this.hasInput||!t&&this.pristine?"":s.default.map(f.default.checkComponent(this,e),"message").join("\n\n"):""}},{key:"isValid",value:function(e,t){return!this.invalidMessage(e,t)}},{key:"setComponentValidity",value:function(e,t,n){var r=!!e.filter((function(e){return"error"===e.level})).length;return!e.length||n&&!this.error||!t&&this.pristine?n||this.setCustomValidity(""):this.setCustomValidity(e,t),!r}},{key:"checkComponentValidity",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};e=e||this.rootValue,n=n||this.data;var a=o.async,s=void 0!==a&&a,u=o.silentCheck,l=void 0!==u&&u;if(this.shouldSkipValidation(e,t,n))return this.setCustomValidity(""),!s||i.default.resolve(!0);var c=f.default.checkComponent(this,e,n,!0,s);return s?c.then((function(e){return r.setComponentValidity(e,t,l)})):this.setComponentValidity(c,t,l)}},{key:"checkValidity",value:function(e,t,n,r){return e=e||this.rootValue,n=n||this.data,this.checkComponentValidity(e,t,n,{silentCheck:r})}},{key:"checkAsyncValidity",value:function(e,t,n,r){return i.default.resolve(this.checkComponentValidity(e,t,n,{async:!0,silentCheck:r}))}},{key:"checkData",value:function(e,t,n){if(e=e||this.rootValue,t=t||{},n=n||this.data,t.fromBlur||this.checkRefreshOn(t.changes,t),t.noCheck)return!0;if(this.calculateComponentValue(e,t,n),this.checkComponentConditions(e,t,n),t.noValidate&&!t.validateOnInit&&!t.fromIframe)return t.fromSubmission&&this.rootPristine&&this.pristine&&this.error&&t.changed&&this.checkComponentValidity(e,!!this.options.alwaysDirty,n,!0),!0;var r=!1;return(this.options.alwaysDirty||t.dirty)&&(r=!0),t.fromSubmission&&this.hasValue(e)&&(r=!0),!("blur"!==this.component.validateOn||!t.fromSubmission)||this.checkComponentValidity(e,r,n)}},{key:"isEmpty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.dataValue,t=!(!s.default.isArray(e)||1!==e.length)&&s.default.isEqual(e[0],this.emptyValue);return null==e||0===e.length||s.default.isEqual(e,this.emptyValue)||t}},{key:"isEqual",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.dataValue;return this.isEmpty(e)&&this.isEmpty(t)||s.default.isEqual(e,t)}},{key:"validateMultiple",value:function(){return!0}},{key:"clearErrorClasses",value:function(){this.removeClass(this.element,this.options.componentErrorClass),this.removeClass(this.element,"alert alert-danger"),this.removeClass(this.element,"has-error"),this.removeClass(this.element,"has-message")}},{key:"setInputWidgetErrorClasses",value:function(e,t){this.isInputComponent&&this.component.widget&&null!=e&&e.length&&e.forEach((function(e){null!=e&&e.widget&&e.widget.setErrorClasses&&e.widget.setErrorClasses(t)}))}},{key:"setCustomValidity",value:function(e,t,n){var r=this.isInputComponent?this.refs.input||[]:null;"string"==typeof e&&e&&(e={level:"error",message:e}),Array.isArray(e)||(e=e?[e]:[]);var o=!!e.filter((function(e){return"error"===e.level})).length;e.length?(this.refs.messageContainer&&this.empty(this.refs.messageContainer),this.error={component:this.component,message:e[0].message,messages:e,external:!!n},this.emit("componentError",this.error),this.addMessages(e,t,r),r&&this.setErrorClasses(r,t,o,!!e.length)):this.error&&this.error.external===!!n&&(this.refs.messageContainer&&this.empty(this.refs.messageContainer),this.refs.modalMessageContainer&&this.empty(this.refs.modalMessageContainer),this.error=null,r&&this.setErrorClasses(r,t,o,!!e.length),this.clearErrorClasses())}},{key:"isValueHidden",value:function(){return!(!this.root||!this.root.hasOwnProperty("editing"))&&(!(!this.root||!this.root.editing)&&(this.component.protected||!this.component.persistent||"client-only"===this.component.persistent))}},{key:"shouldSkipValidation",value:function(e,t,n){var r=this;return[function(){return r.options.readOnly},function(){return r.isValueHidden()},function(){return!r.visible},function(){return!r.checkCondition(n,e)}].some((function(e){return e()}))}},{key:"whenReady",value:function(){return console.warn("The whenReady() method has been deprecated. Please use the dataReady property instead."),this.dataReady}},{key:"asString",value:function(e){return e=e||this.getValue(),(Array.isArray(e)?e:[e]).map(s.default.toString).join(", ")}},{key:"setDisabled",value:function(e,t){e&&(e.disabled=t,t?e.setAttribute("disabled","disabled"):e.removeAttribute("disabled"))}},{key:"setLoading",value:function(e,t){e&&e.loading!==t&&(e.loading=t,!e.loader&&t&&(e.loader=this.ce("i",{class:"".concat(this.iconClass("refresh",!0)," button-icon-right")})),e.loader&&(t?this.appendTo(e.loader,e):this.removeChildFrom(e.loader,e)))}},{key:"selectOptions",value:function(e,t,n,r){var o=this;s.default.each(n,(function(t){var n={value:t.value};void 0!==r&&t.value===r&&(n.selected="selected");var i=o.ce("option",n);i.appendChild(o.text(t.label)),e.appendChild(i)}))}},{key:"setSelectValue",value:function(e,t){var n=e.querySelectorAll("option");s.default.each(n,(function(e){e.value===t?e.setAttribute("selected","selected"):e.removeAttribute("selected")})),e.onchange&&e.onchange(),e.onselect&&e.onselect()}},{key:"getRelativePath",value:function(e){var t=".".concat(this.key),n=this.isInputComponent?this.path:this.path.slice(0).replace(t,"");return e.replace(n,"")}},{key:"clear",value:function(){this.detach(),this.empty(this.getElement())}},{key:"append",value:function(e){this.appendTo(e,this.element)}},{key:"prepend",value:function(e){this.prependTo(e,this.element)}},{key:"removeChild",value:function(e){this.removeChildFrom(e,this.element)}},{key:"detachLogic",value:function(){var e=this;this.logic.forEach((function(t){if("event"===t.trigger.type){var n=e.interpolate(t.trigger.event);e.off(n)}}))}},{key:"attachLogic",value:function(){var e=this;this.builderMode||this.logic.forEach((function(t){if("event"===t.trigger.type){var n=e.interpolate(t.trigger.event);e.on(n,(function(){for(var n=(0,c.fastCloneDeep)(e.originalComponent),r=arguments.length,o=new Array(r),i=0;i1?arguments[1]:void 0)}})},function(e,t,n){var r=n(9),o=n(201),i=n(32),a=n(37),s=n(14),u=s("iterator"),l=s("toStringTag"),c=i.values;for(var f in o){var d=r[f],p=d&&d.prototype;if(p){if(p[u]!==c)try{a(p,u,c)}catch(e){p[u]=c}if(p[l]||a(p,l,f),o[f])for(var h in i)if(p[h]!==i[h])try{a(p,h,i[h])}catch(e){p[h]=i[h]}}}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(9),o=n(37),i=n(33),a=n(143),s=n(144),u=n(59),l=u.get,c=u.enforce,f=String(String).split("String");(e.exports=function(e,t,n,s){var u=!!s&&!!s.unsafe,l=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),c(n).source=f.join("string"==typeof t?t:"")),e!==r?(u?!d&&e[t]&&(l=!0):delete e[t],l?e[t]=n:o(e,t,n)):l?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||s(this)}))},function(e,t,n){var r=n(5),o=n(31),i=n(96);r({target:"Object",stat:!0,forced:n(10)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},function(e,t,n){"use strict";var r=n(5),o=n(35).find,i=n(112),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("find")},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,n;function r(){return t.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function s(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(a(e,t))return!1;return!0}function u(e){return void 0===e}function l(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function c(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function f(e,t){var n,r=[];for(n=0;n>>0;for(t=0;t0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,S=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)a(e,t)&&n.push(t);return n};var M=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,R=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,T={},D={};function L(e,t,n,r){var o=r;"string"==typeof r&&(o=function(){return this[r]()}),e&&(D[e]=o),t&&(D[t[0]]=function(){return A(o.apply(this,arguments),t[1],t[2])}),n&&(D[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function I(e,t){return e.isValid()?(t=V(t,e.localeData()),T[t]=T[t]||function(e){var t,n,r,o=e.match(M);for(t=0,n=o.length;t=0&&R.test(e);)e=e.replace(R,r),R.lastIndex=0,n-=1;return e}var N={};function F(e,t){var n=e.toLowerCase();N[n]=N[n+"s"]=N[t]=e}function U(e){return"string"==typeof e?N[e]||N[e.toLowerCase()]:void 0}function z(e){var t,n,r={};for(n in e)a(e,n)&&(t=U(n))&&(r[t]=e[n]);return r}var B={};function H(e,t){B[e]=t}function q(e){return e%4==0&&e%100!=0||e%400==0}function W(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Y(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=W(t)),n}function K(e,t){return function(n){return null!=n?(J(this,e,n),r.updateOffset(this,t),this):G(this,e)}}function G(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function J(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&q(e.year())&&1===e.month()&&29===e.date()?(n=Y(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),ke(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var Z,X=/\d/,$=/\d\d/,Q=/\d{3}/,ee=/\d{4}/,te=/[+-]?\d{6}/,ne=/\d\d?/,re=/\d\d\d\d?/,oe=/\d\d\d\d\d\d?/,ie=/\d{1,3}/,ae=/\d{1,4}/,se=/[+-]?\d{1,6}/,ue=/\d+/,le=/[+-]?\d+/,ce=/Z|[+-]\d\d:?\d\d/gi,fe=/Z|[+-]\d\d(?::?\d\d)?/gi,de=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function pe(e,t,n){Z[e]=j(t)?t:function(e,r){return e&&n?n:t}}function he(e,t){return a(Z,e)?Z[e](t._strict,t._locale):new RegExp(me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,o){return t||n||r||o}))))}function me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Z={};var ve,ye={};function ge(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),l(t)&&(r=function(e,n){n[t]=Y(e)}),n=0;n68?1900:2e3)};var Re=K("FullYear",!0);function Te(e,t,n,r,o,i,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,o,i,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,o,i,a),s}function De(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Le(e,t,n){var r=7+t-n;return-(7+De(e,0,r).getUTCDay()-t)%7+r-1}function Ie(e,t,n,r,o){var i,a,s=1+7*(t-1)+(7+n-r)%7+Le(e,r,o);return s<=0?a=Me(i=e-1)+s:s>Me(e)?(i=e+1,a=s-Me(e)):(i=e,a=s),{year:i,dayOfYear:a}}function Ve(e,t,n){var r,o,i=Le(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?r=a+Ne(o=e.year()-1,t,n):a>Ne(e.year(),t,n)?(r=a-Ne(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function Ne(e,t,n){var r=Le(e,t,n),o=Le(e+1,t,n);return(Me(e)-r+o)/7}function Fe(e,t){return e.slice(t,7).concat(e.slice(0,t))}L("w",["ww",2],"wo","week"),L("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),H("week",5),H("isoWeek",5),pe("w",ne),pe("ww",ne,$),pe("W",ne),pe("WW",ne,$),be(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=Y(e)})),L("d",0,"do","day"),L("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),L("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),L("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),L("e",0,0,"weekday"),L("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),H("day",11),H("weekday",11),H("isoWeekday",11),pe("d",ne),pe("e",ne),pe("E",ne),pe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),pe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),pe("dddd",(function(e,t){return t.weekdaysRegex(e)})),be(["dd","ddd","dddd"],(function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:h(n).invalidWeekday=e})),be(["d","e","E"],(function(e,t,n,r){t[r]=Y(e)}));var Ue="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Be="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),He=de,qe=de,We=de;function Ye(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=p([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=ve.call(this._weekdaysParse,a))?o:null:"ddd"===t?-1!==(o=ve.call(this._shortWeekdaysParse,a))?o:null:-1!==(o=ve.call(this._minWeekdaysParse,a))?o:null:"dddd"===t?-1!==(o=ve.call(this._weekdaysParse,a))||-1!==(o=ve.call(this._shortWeekdaysParse,a))||-1!==(o=ve.call(this._minWeekdaysParse,a))?o:null:"ddd"===t?-1!==(o=ve.call(this._shortWeekdaysParse,a))||-1!==(o=ve.call(this._weekdaysParse,a))||-1!==(o=ve.call(this._minWeekdaysParse,a))?o:null:-1!==(o=ve.call(this._minWeekdaysParse,a))||-1!==(o=ve.call(this._weekdaysParse,a))||-1!==(o=ve.call(this._shortWeekdaysParse,a))?o:null}function Ke(){function e(e,t){return t.length-e.length}var t,n,r,o,i,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=p([2e3,1]).day(t),r=me(this.weekdaysMin(n,"")),o=me(this.weekdaysShort(n,"")),i=me(this.weekdays(n,"")),a.push(r),s.push(o),u.push(i),l.push(r),l.push(o),l.push(i);a.sort(e),s.sort(e),u.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ge(){return this.hours()%12||12}function Je(e,t){L(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Ze(e,t){return t._meridiemParse}L("H",["HH",2],0,"hour"),L("h",["hh",2],0,Ge),L("k",["kk",2],0,(function(){return this.hours()||24})),L("hmm",0,0,(function(){return""+Ge.apply(this)+A(this.minutes(),2)})),L("hmmss",0,0,(function(){return""+Ge.apply(this)+A(this.minutes(),2)+A(this.seconds(),2)})),L("Hmm",0,0,(function(){return""+this.hours()+A(this.minutes(),2)})),L("Hmmss",0,0,(function(){return""+this.hours()+A(this.minutes(),2)+A(this.seconds(),2)})),Je("a",!0),Je("A",!1),F("hour","h"),H("hour",13),pe("a",Ze),pe("A",Ze),pe("H",ne),pe("h",ne),pe("k",ne),pe("HH",ne,$),pe("hh",ne,$),pe("kk",ne,$),pe("hmm",re),pe("hmmss",oe),pe("Hmm",re),pe("Hmmss",oe),ge(["H","HH"],3),ge(["k","kk"],(function(e,t,n){var r=Y(e);t[3]=24===r?0:r})),ge(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ge(["h","hh"],(function(e,t,n){t[3]=Y(e),h(n).bigHour=!0})),ge("hmm",(function(e,t,n){var r=e.length-2;t[3]=Y(e.substr(0,r)),t[4]=Y(e.substr(r)),h(n).bigHour=!0})),ge("hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[3]=Y(e.substr(0,r)),t[4]=Y(e.substr(r,2)),t[5]=Y(e.substr(o)),h(n).bigHour=!0})),ge("Hmm",(function(e,t,n){var r=e.length-2;t[3]=Y(e.substr(0,r)),t[4]=Y(e.substr(r))})),ge("Hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[3]=Y(e.substr(0,r)),t[4]=Y(e.substr(r,2)),t[5]=Y(e.substr(o))}));var Xe,$e=K("Hours",!0),Qe={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:_e,monthsShort:Oe,week:{dow:0,doy:6},weekdays:Ue,weekdaysMin:Be,weekdaysShort:ze,meridiemParse:/[ap]\.?m?\.?/i},et={},tt={};function nt(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n0;){if(r=ot(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&nt(o,n)>=t-1)break;t--}i++}return Xe}(e)}function ut(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>ke(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,h(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),h(e)._overflowWeeks&&-1===t&&(t=7),h(e)._overflowWeekday&&-1===t&&(t=8),h(e).overflow=t),e}var lt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ct=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/Z|[+-]\d\d(?::?\d\d)?/,dt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],pt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ht=/^\/?Date\((-?\d+)/i,mt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,vt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function yt(e){var t,n,r,o,i,a,s=e._i,u=lt.exec(s)||ct.exec(s);if(u){for(h(e).iso=!0,t=0,n=dt.length;t7)&&(u=!0)):(i=e._locale._week.dow,a=e._locale._week.doy,l=Ve(xt(),i,a),n=wt(t.gg,e._a[0],l.year),r=wt(t.w,l.week),null!=t.d?((o=t.d)<0||o>6)&&(u=!0):null!=t.e?(o=t.e+i,(t.e<0||t.e>6)&&(u=!0)):o=i),r<1||r>Ne(n,i,a)?h(e)._overflowWeeks=!0:null!=u?h(e)._overflowWeekday=!0:(s=Ie(n,r,o,i,a),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=wt(e._a[0],o[0]),(e._dayOfYear>Me(a)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=De(a,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=o[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?De:Te).apply(null,s),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(h(e).weekdayMismatch=!0)}}function _t(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],h(e).empty=!0;var t,n,o,i,a,s,u=""+e._i,l=u.length,c=0;for(o=V(e._f,e._locale).match(M)||[],t=0;t0&&h(e).unusedInput.push(a),u=u.slice(u.indexOf(n)+n.length),c+=n.length),D[i]?(n?h(e).empty=!1:h(e).unusedTokens.push(i),we(i,n,e)):e._strict&&!n&&h(e).unusedTokens.push(i);h(e).charsLeftOver=l-c,u.length>0&&h(e).unusedInput.push(u),e._a[3]<=12&&!0===h(e).bigHour&&e._a[3]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(s=h(e).era)&&(e._a[0]=e._locale.erasConvertYear(s,e._a[0])),kt(e),ut(e)}else bt(e);else yt(e)}function Ot(e){var t=e._i,n=e._f;return e._locale=e._locale||st(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),k(t)?new w(ut(t)):(c(t)?e._d=t:o(n)?function(e){var t,n,r,o,i,a,s=!1;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;othis?this:e:v()}));function Ct(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return xt();for(n=t[0],r=1;r=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function on(e,t){return t.erasAbbrRegex(e)}function an(){var e,t,n=[],r=[],o=[],i=[],a=this.eras();for(e=0,t=a.length;e(i=Ne(e,r,o))&&(t=i),ln.call(this,e,t,n,r,o))}function ln(e,t,n,r,o){var i=Ie(e,t,n,r,o),a=De(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}L("N",0,0,"eraAbbr"),L("NN",0,0,"eraAbbr"),L("NNN",0,0,"eraAbbr"),L("NNNN",0,0,"eraName"),L("NNNNN",0,0,"eraNarrow"),L("y",["y",1],"yo","eraYear"),L("y",["yy",2],0,"eraYear"),L("y",["yyy",3],0,"eraYear"),L("y",["yyyy",4],0,"eraYear"),pe("N",on),pe("NN",on),pe("NNN",on),pe("NNNN",(function(e,t){return t.erasNameRegex(e)})),pe("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),ge(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var o=n._locale.erasParse(e,r,n._strict);o?h(n).era=o:h(n).invalidEra=e})),pe("y",ue),pe("yy",ue),pe("yyy",ue),pe("yyyy",ue),pe("yo",(function(e,t){return t._eraYearOrdinalRegex||ue})),ge(["y","yy","yyy","yyyy"],0),ge(["yo"],(function(e,t,n,r){var o;n._locale._eraYearOrdinalRegex&&(o=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,o):t[0]=parseInt(e,10)})),L(0,["gg",2],0,(function(){return this.weekYear()%100})),L(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),H("weekYear",1),H("isoWeekYear",1),pe("G",le),pe("g",le),pe("GG",ne,$),pe("gg",ne,$),pe("GGGG",ae,ee),pe("gggg",ae,ee),pe("GGGGG",se,te),pe("ggggg",se,te),be(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=Y(e)})),be(["gg","GG"],(function(e,t,n,o){t[o]=r.parseTwoDigitYear(e)})),L("Q",0,"Qo","quarter"),F("quarter","Q"),H("quarter",7),pe("Q",X),ge("Q",(function(e,t){t[1]=3*(Y(e)-1)})),L("D",["DD",2],"Do","date"),F("date","D"),H("date",9),pe("D",ne),pe("DD",ne,$),pe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ge(["D","DD"],2),ge("Do",(function(e,t){t[2]=Y(e.match(ne)[0])}));var cn=K("Date",!0);L("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),H("dayOfYear",4),pe("DDD",ie),pe("DDDD",Q),ge(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=Y(e)})),L("m",["mm",2],0,"minute"),F("minute","m"),H("minute",14),pe("m",ne),pe("mm",ne,$),ge(["m","mm"],4);var fn=K("Minutes",!1);L("s",["ss",2],0,"second"),F("second","s"),H("second",15),pe("s",ne),pe("ss",ne,$),ge(["s","ss"],5);var dn,pn,hn=K("Seconds",!1);for(L("S",0,0,(function(){return~~(this.millisecond()/100)})),L(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),L(0,["SSS",3],0,"millisecond"),L(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),L(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),L(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),L(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),L(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),L(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),F("millisecond","ms"),H("millisecond",16),pe("S",ie,X),pe("SS",ie,$),pe("SSS",ie,Q),dn="SSSS";dn.length<=9;dn+="S")pe(dn,ue);function mn(e,t){t[6]=Y(1e3*("0."+e))}for(dn="S";dn.length<=9;dn+="S")ge(dn,mn);pn=K("Milliseconds",!1),L("z",0,0,"zoneAbbr"),L("zz",0,0,"zoneName");var vn=w.prototype;function yn(e){return e}vn.add=Yt,vn.calendar=function(e,t){1===arguments.length&&(arguments[0]?Jt(arguments[0])?(e=arguments[0],t=void 0):Zt(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||xt(),o=It(n,this).startOf("day"),i=r.calendarFormat(this,o)||"sameElse",a=t&&(j(t[i])?t[i].call(this,n):t[i]);return this.format(a||this.localeData().calendar(i,this,xt(n)))},vn.clone=function(){return new w(this)},vn.diff=function(e,t,n){var r,o,i;if(!this.isValid())return NaN;if(!(r=It(e,this)).isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),t=U(t)){case"year":i=Xt(this,r)/12;break;case"month":i=Xt(this,r);break;case"quarter":i=Xt(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-o)/864e5;break;case"week":i=(this-r-o)/6048e5;break;default:i=this-r}return n?i:W(i)},vn.endOf=function(e){var t,n;if(void 0===(e=U(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},vn.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=I(this,e);return this.localeData().postformat(t)},vn.from=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||xt(e).isValid())?zt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},vn.fromNow=function(e){return this.from(xt(),e)},vn.to=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||xt(e).isValid())?zt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},vn.toNow=function(e){return this.to(xt(),e)},vn.get=function(e){return j(this[e=U(e)])?this[e]():this},vn.invalidAt=function(){return h(this).overflow},vn.isAfter=function(e,t){var n=k(e)?e:xt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=U(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()9999?I(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):j(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",I(n,"Z")):I(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},vn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r="moment",o="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=o+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(vn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),vn.toJSON=function(){return this.isValid()?this.toISOString():null},vn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},vn.unix=function(){return Math.floor(this.valueOf()/1e3)},vn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},vn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},vn.eraName=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},vn.isLocal=function(){return!!this.isValid()&&!this._isUTC},vn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},vn.isUtc=Nt,vn.isUTC=Nt,vn.zoneAbbr=function(){return this._isUTC?"UTC":""},vn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},vn.dates=O("dates accessor is deprecated. Use date instead.",cn),vn.months=O("months accessor is deprecated. Use month instead",Ee),vn.years=O("years accessor is deprecated. Use year instead",Re),vn.zone=O("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),vn.isDSTShifted=O("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return b(t,this),(t=Ot(t))._a?(e=t._isUTC?p(t._a):xt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var r,o=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0;for(r=0;r0):this._isDSTShifted=!1,this._isDSTShifted}));var gn=E.prototype;function bn(e,t,n,r){var o=st(),i=p().set(r,t);return o[n](i,e)}function wn(e,t,n){if(l(e)&&(t=e,e=void 0),e=e||"",null!=t)return bn(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=bn(e,r,n,"month");return o}function kn(e,t,n,r){"boolean"==typeof e?(l(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,l(t)&&(n=t,t=void 0),t=t||"");var o,i=st(),a=e?i._week.dow:0,s=[];if(null!=n)return bn(t,(n+a)%7,r,"day");for(o=0;o<7;o++)s[o]=bn(t,(o+a)%7,r,"day");return s}gn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return j(r)?r.call(t,n):r},gn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(M).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},gn.invalidDate=function(){return this._invalidDate},gn.ordinal=function(e){return this._ordinal.replace("%d",e)},gn.preparse=yn,gn.postformat=yn,gn.relativeTime=function(e,t,n,r){var o=this._relativeTime[n];return j(o)?o(e,t,n,r):o.replace(/%d/i,e)},gn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return j(n)?n(t):n.replace(/%s/i,t)},gn.set=function(e){var t,n;for(n in e)a(e,n)&&(j(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},gn.eras=function(e,t){var n,o,i,a=this._eras||st("en")._eras;for(n=0,o=a.length;n=0)return u[r]},gn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n},gn.erasAbbrRegex=function(e){return a(this,"_erasAbbrRegex")||an.call(this),e?this._erasAbbrRegex:this._erasRegex},gn.erasNameRegex=function(e){return a(this,"_erasNameRegex")||an.call(this),e?this._erasNameRegex:this._erasRegex},gn.erasNarrowRegex=function(e){return a(this,"_erasNarrowRegex")||an.call(this),e?this._erasNarrowRegex:this._erasRegex},gn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Se).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},gn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Se.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},gn.monthsParse=function(e,t,n){var r,o,i;if(this._monthsParseExact)return je.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=p([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},gn.monthsRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||Ae.call(this),e?this._monthsStrictRegex:this._monthsRegex):(a(this,"_monthsRegex")||(this._monthsRegex=Pe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},gn.monthsShortRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||Ae.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(a(this,"_monthsShortRegex")||(this._monthsShortRegex=xe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},gn.week=function(e){return Ve(e,this._week.dow,this._week.doy).week},gn.firstDayOfYear=function(){return this._week.doy},gn.firstDayOfWeek=function(){return this._week.dow},gn.weekdays=function(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Fe(n,this._week.dow):e?n[e.day()]:n},gn.weekdaysMin=function(e){return!0===e?Fe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},gn.weekdaysShort=function(e){return!0===e?Fe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},gn.weekdaysParse=function(e,t,n){var r,o,i;if(this._weekdaysParseExact)return Ye.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=p([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},gn.weekdaysRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=He),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},gn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},gn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=We),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},gn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},gn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},it("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===Y(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=O("moment.lang is deprecated. Use moment.locale instead.",it),r.langData=O("moment.langData is deprecated. Use moment.localeData instead.",st);var _n=Math.abs;function On(e,t,n,r){var o=zt(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function Sn(e){return e<0?Math.floor(e):Math.ceil(e)}function xn(e){return 4800*e/146097}function Pn(e){return 146097*e/4800}function jn(e){return function(){return this.as(e)}}var Cn=jn("ms"),En=jn("s"),An=jn("m"),Mn=jn("h"),Rn=jn("d"),Tn=jn("w"),Dn=jn("M"),Ln=jn("Q"),In=jn("y");function Vn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Nn=Vn("milliseconds"),Fn=Vn("seconds"),Un=Vn("minutes"),zn=Vn("hours"),Bn=Vn("days"),Hn=Vn("months"),qn=Vn("years"),Wn=Math.round,Yn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Kn(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}var Gn=Math.abs;function Jn(e){return(e>0)-(e<0)||+e}function Zn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,o,i,a,s,u=Gn(this._milliseconds)/1e3,l=Gn(this._days),c=Gn(this._months),f=this.asSeconds();return f?(e=W(u/60),t=W(e/60),u%=60,e%=60,n=W(c/12),c%=12,r=u?u.toFixed(3).replace(/\.?0+$/,""):"",o=f<0?"-":"",i=Jn(this._months)!==Jn(f)?"-":"",a=Jn(this._days)!==Jn(f)?"-":"",s=Jn(this._milliseconds)!==Jn(f)?"-":"",o+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(l?a+l+"D":"")+(t||e||u?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(u?s+r+"S":"")):"P0D"}var Xn=At.prototype;return Xn.isValid=function(){return this._isValid},Xn.abs=function(){var e=this._data;return this._milliseconds=_n(this._milliseconds),this._days=_n(this._days),this._months=_n(this._months),e.milliseconds=_n(e.milliseconds),e.seconds=_n(e.seconds),e.minutes=_n(e.minutes),e.hours=_n(e.hours),e.months=_n(e.months),e.years=_n(e.years),this},Xn.add=function(e,t){return On(this,e,t,1)},Xn.subtract=function(e,t){return On(this,e,t,-1)},Xn.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=U(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+xn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Pn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},Xn.asMilliseconds=Cn,Xn.asSeconds=En,Xn.asMinutes=An,Xn.asHours=Mn,Xn.asDays=Rn,Xn.asWeeks=Tn,Xn.asMonths=Dn,Xn.asQuarters=Ln,Xn.asYears=In,Xn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Y(this._months/12):NaN},Xn._bubble=function(){var e,t,n,r,o,i=this._milliseconds,a=this._days,s=this._months,u=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*Sn(Pn(s)+a),a=0,s=0),u.milliseconds=i%1e3,e=W(i/1e3),u.seconds=e%60,t=W(e/60),u.minutes=t%60,n=W(t/60),u.hours=n%24,a+=W(n/24),o=W(xn(a)),s+=o,a-=Sn(Pn(o)),r=W(s/12),s%=12,u.days=a,u.months=s,u.years=r,this},Xn.clone=function(){return zt(this)},Xn.get=function(e){return e=U(e),this.isValid()?this[e+"s"]():NaN},Xn.milliseconds=Nn,Xn.seconds=Fn,Xn.minutes=Un,Xn.hours=zn,Xn.days=Bn,Xn.weeks=function(){return W(this.days()/7)},Xn.months=Hn,Xn.years=qn,Xn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,o=!1,i=Yn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(o=e),"object"==typeof t&&(i=Object.assign({},Yn,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),n=this.localeData(),r=function(e,t,n,r){var o=zt(e).abs(),i=Wn(o.as("s")),a=Wn(o.as("m")),s=Wn(o.as("h")),u=Wn(o.as("d")),l=Wn(o.as("M")),c=Wn(o.as("w")),f=Wn(o.as("y")),d=i<=n.ss&&["s",i]||i0,d[4]=r,Kn.apply(null,d)}(this,!o,i,n),o&&(r=n.pastFuture(+this,r)),n.postformat(r)},Xn.toISOString=Zn,Xn.toString=Zn,Xn.toJSON=Zn,Xn.locale=$t,Xn.localeData=en,Xn.toIsoString=O("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Zn),Xn.lang=Qt,L("X",0,0,"unix"),L("x",0,0,"valueOf"),pe("x",le),pe("X",/[+-]?\d+(\.\d{1,3})?/),ge("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),ge("x",(function(e,t,n){n._d=new Date(Y(e))})), //! moment.js -r.version="2.29.1",t=xt,r.fn=yn,r.min=function(){var e=[].slice.call(arguments,0);return Ct("isBefore",e)},r.max=function(){var e=[].slice.call(arguments,0);return Ct("isAfter",e)},r.now=function(){return Date.now?Date.now():+new Date},r.utc=p,r.unix=function(e){return xt(1e3*e)},r.months=function(e,t){return wn(e,t,"months")},r.isDate=c,r.locale=it,r.invalid=y,r.duration=zt,r.isMoment=k,r.weekdays=function(e,t,n){return kn(e,t,n,"weekdays")},r.parseZone=function(){return xt.apply(null,arguments).parseZone()},r.localeData=st,r.isDuration=Mt,r.monthsShort=function(e,t){return wn(e,t,"monthsShort")},r.weekdaysMin=function(e,t,n){return kn(e,t,n,"weekdaysMin")},r.defineLocale=at,r.updateLocale=function(e,t){if(null!=t){var n,r,o=Qe;null!=et[e]&&null!=et[e].parentLocale?et[e].set(C(et[e]._config,t)):(null!=(r=ot(e))&&(o=r._config),t=C(o,t),null==r&&(t.abbr=e),(n=new E(t)).parentLocale=et[e],et[e]=n),it(e)}else null!=et[e]&&(null!=et[e].parentLocale?(et[e]=et[e].parentLocale,e===it()&&it(e)):null!=et[e]&&delete et[e]);return et[e]},r.locales=function(){return S(et)},r.weekdaysShort=function(e,t,n){return kn(e,t,n,"weekdaysShort")},r.normalizeUnits=U,r.relativeTimeRounding=function(e){return void 0===e?Wn:"function"==typeof e&&(Wn=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==Yn[e]&&(void 0===t?Yn[e]:(Yn[e]=t,"s"===e&&(Yn.ss=t-1),!0))},r.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=yn,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()}).call(this,n(98)(e))},function(e,t,n){var r=n(11),o=n(37),i=n(33),a=n(140),s=n(189),u=n(69),l=u.get,c=u.enforce,f=String(String).split("String");(e.exports=function(e,t,n,s){var u=!!s&&!!s.unsafe,l=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),c(n).source=f.join("string"==typeof t?t:"")),e!==r?(u?!d&&e[t]&&(l=!0):delete e[t],l?e[t]=n:o(e,t,n)):l?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||s(this)}))},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(24),o=n(11),i=n(105),a=n(118),s=n(25).f,u=n(70).f,l=n(147),c=n(108),f=n(45),d=n(9),p=n(152),h=n(18)("match"),m=o.RegExp,y=m.prototype,v=/a/g,b=/a/g,g=new m(v)!==v;if(r&&i("RegExp",!g||d((function(){return b[h]=!1,m(v)!=v||m(b)==b||"/a/i"!=m(v,"i")})))){for(var w=function(e,t){var n=this instanceof w,r=l(e),o=void 0===t;return!n&&r&&e.constructor===w&&o?e:a(g?new m(r&&!o?e.source:e,t):m((r=e instanceof w)?e.source:e,r&&o?c.call(e):t),n?this:y,w)},k=function(e){e in w||s(w,e,{configurable:!0,get:function(){return m[e]},set:function(t){m[e]=t}})},_=u(m),O=0;_.length>O;)k(_[O++]);y.constructor=w,w.prototype=y,f(o,"RegExp",w)}p("RegExp")},function(e,t,n){"use strict";var r=n(5),o=n(32),i=n(106),a=n(79),s=n(21),u=n(51),l=n(115),c=n(97),f=n(18)("species"),d=[].slice,p=Math.max;r({target:"Array",proto:!0,forced:!c("slice")},{slice:function(e,t){var n,r,c,h=u(this),m=s(h.length),y=a(e,m),v=a(void 0===t?m:t,m);if(i(h)&&("function"!=typeof(n=h.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[f])&&(n=void 0):n=void 0,n===Array||void 0===n))return d.call(h,y,v);for(r=new(void 0===n?Array:n)(p(v-y,0)),c=0;y1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(5),o=n(79),i=n(46),a=n(21),s=n(30),u=n(144),l=n(115),c=n(97),f=Math.max,d=Math.min;r({target:"Array",proto:!0,forced:!c("splice")},{splice:function(e,t){var n,r,c,p,h,m,y=s(this),v=a(y.length),b=o(e,v),g=arguments.length;if(0===g?n=r=0:1===g?(n=0,r=v-b):(n=g-2,r=d(f(i(t),0),v-b)),v+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(c=u(y,r),p=0;pv-r+n;p--)delete y[p-1]}else if(n>r)for(p=v-r;p>b;p--)m=p+n-1,(h=p+r-1)in y?y[m]=y[h]:delete y[m];for(p=0;p0&&"getComponent"in e?s=e.getComponent(a,t,n):t&&t(e,o),!1})),s||(s=l),s):s}},{key:"getComponentById",value:function(e,t){var n=null;return this.everyComponent((function(r,o){if(r.id===e)return n=r,t&&t(r,o),!1})),n}},{key:"calculateComponentPath",value:function(e){var t="";if(e.component.key){for(var n=this;n&&!n.allowData&&n.parent;)n=n.parent;var r=e.row?"[".concat(Number.parseInt(e.row),"]"):"";return t=n.path?"".concat(n.path).concat(r,"."):"",t+=e._parentPath&&e.component.shouldIncludeSubFormPath?e._parentPath:"",t+=e.component.key}}},{key:"createComponent",value:function(e,t,n,r){if(e){t=t||this.options,n=n||this.data,t.parent=this,t.parentVisible=this.visible,t.root=this.root||this,t.skipInit=!0,!this.isInputComponent&&this.component.shouldIncludeSubFormPath&&(e.shouldIncludeSubFormPath=!0);var i=a.default.create(e,t,n,!0),s=this.calculateComponentPath(i);if(s&&(i.path=s),i.init(),e.internal)return i;if(r){var u=o.default.findIndex(this.components,{id:r.id});-1!==u?this.components.splice(u,0,i):this.components.push(i)}else this.components.push(i);return i}}},{key:"getContainer",value:function(){return this.element}},{key:"init",value:function(){return this.components=this.components||[],this.addComponents(),p(w(n.prototype),"init",this).call(this)}},{key:"addComponents",value:function(e,t){var n=this;(e=e||this.data,(t=t||this.options).components)?this.components=t.components:(this.hook("addComponents",this.componentComponents,this)||[]).forEach((function(t){return n.addComponent(t,e)}))}},{key:"addComponent",value:function(e,t,n,r){t=t||this.data,this.options.parentPath&&(e.shouldIncludeSubFormPath=!0),e=this.hook("addComponent",e,t,n,r);var o=this.createComponent(e,this.options,t,n||null);return o}},{key:"beforeFocus",value:function(){this.parent&&"beforeFocus"in this.parent&&this.parent.beforeFocus(this)}},{key:"render",value:function(e){return p(w(n.prototype),"render",this).call(this,e||this.renderTemplate(this.templateName,{children:this.renderComponents(),nestedKey:this.nestedKey,collapsed:!this.options.pdf&&this.collapsed}))}},{key:"renderComponents",value:function(e){var t=(e=e||this.getComponents()).map((function(e){return e.render()}));return this.renderTemplate("components",{children:t,components:e})}},{key:"attach",value:function(e){var t=this,r=p(w(n.prototype),"attach",this).call(this,e);this.loadRefs(e,d({header:"single",collapsed:this.collapsed},this.nestedKey,"single"));var o=s.default.resolve();return this.refs[this.nestedKey]&&(o=this.attachComponents(this.refs[this.nestedKey])),this.component.collapsible&&this.refs.header&&this.addEventListener(this.refs.header,"click",(function(){t.collapsed=!t.collapsed})),s.default.all([r,o])}},{key:"attachComponents",value:function(e,t,n){if(t=t||this.components,n=n||this.component.components,!(e=this.hook("attachComponents",e,t,n,this)))return new s.default((function(){}));var r=0,o=[];return Array.prototype.slice.call(e.children).forEach((function(e){!e.getAttribute("data-noattach")&&t[r]&&(o.push(t[r].attach(e)),r++)})),s.default.all(o)}},{key:"removeComponent",value:function(e,t){t=t||this.components,e.destroy(),o.default.remove(t,{id:e.id})}},{key:"removeComponentByKey",value:function(e,t){var n=this;if(!this.getComponent(e,(function(e,r){n.removeComponent(e,r),t&&t(e,r)})))return t&&t(null),null}},{key:"removeComponentById",value:function(e,t){var n=this;if(!this.getComponentById(e,(function(e,r){n.removeComponent(e,r),t&&t(e,r)})))return t&&t(null),null}},{key:"updateValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.components.reduce((function(e,n){return n.updateValue(null,t)||e}),p(w(n.prototype),"updateValue",this).call(this,e,t))}},{key:"shouldSkipValidation",value:function(e,t,r){return!this.component.input||p(w(n.prototype),"shouldSkipValidation",this).call(this,e,t,r)}},{key:"checkData",value:function(e,t,r,i){return!!this.builderMode||(e=e||this.rootValue,t=t||{},r=r||this.data,(i=i&&o.default.isArray(i)?i:this.getComponents()).reduce((function(n,o){return o.checkData(e,t,r)&&n}),p(w(n.prototype),"checkData",this).call(this,e,t,r)))}},{key:"checkConditions",value:function(e,t,r){return this.getComponents().forEach((function(n){return n.checkConditions(e,t,r)})),p(w(n.prototype),"checkConditions",this).call(this,e,t,r)}},{key:"clearOnHide",value:function(e){p(w(n.prototype),"clearOnHide",this).call(this,e),this.component.clearOnHide&&(this.allowData&&!this.hasValue()&&(this.dataValue=this.defaultValue),this.hasValue()&&this.restoreComponentsContext()),this.getComponents().forEach((function(t){return t.clearOnHide(e)}))}},{key:"restoreComponentsContext",value:function(){var e=this;this.getComponents().forEach((function(t){return t.data=e.dataValue}))}},{key:"beforePage",value:function(e){return s.default.all(this.getComponents().map((function(t){return t.beforePage(e)})))}},{key:"beforeSubmit",value:function(){return s.default.all(this.getComponents().map((function(e){return e.beforeSubmit()})))}},{key:"calculateValue",value:function(e,t,r){return!!this.conditionallyVisible()&&this.getComponents().reduce((function(n,o){return o.calculateValue(e,t,r)||n}),p(w(n.prototype),"calculateValue",this).call(this,e,t,r))}},{key:"isLastPage",value:function(){return this.pages.length-1===this.page}},{key:"isValid",value:function(e,t){return this.getComponents().reduce((function(n,r){return r.isValid(e,t)&&n}),p(w(n.prototype),"isValid",this).call(this,e,t))}},{key:"checkValidity",value:function(e,t,r,o){return this.checkCondition(r,e)?this.getComponents().reduce((function(n,i){return i.checkValidity(e,t,r,o)&&n}),p(w(n.prototype),"checkValidity",this).call(this,e,t,r,o)):(this.setCustomValidity(""),!0)}},{key:"checkAsyncValidity",value:function(e,t,r,o){var i=this;return this.ready.then((function(){var a=[p(w(n.prototype),"checkAsyncValidity",i).call(i,e,t,r,o)];return i.eachComponent((function(n){return a.push(n.checkAsyncValidity(e,t,r,o))})),s.default.all(a).then((function(e){return e.reduce((function(e,t){return e&&t}),!0)}))}))}},{key:"setPristine",value:function(e){p(w(n.prototype),"setPristine",this).call(this,e),this.getComponents().forEach((function(t){return t.setPristine(e)}))}},{key:"detach",value:function(){this.components.forEach((function(e){e.detach()})),p(w(n.prototype),"detach",this).call(this)}},{key:"clear",value:function(){this.components.forEach((function(e){e.clear()})),p(w(n.prototype),"clear",this).call(this)}},{key:"destroy",value:function(){this.destroyComponents(),p(w(n.prototype),"destroy",this).call(this)}},{key:"destroyComponents",value:function(){var e=this;this.getComponents().slice().forEach((function(t){return e.removeComponent(t,e.components)})),this.components=[]}},{key:"getValue",value:function(){return this.data}},{key:"resetValue",value:function(){this.getComponents().forEach((function(e){return e.resetValue()})),this.unset(),this.setPristine(!0)}},{key:"setNestedValue",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e._data=this.componentContext(e),"button"!==e.type&&("components"===e.type?e.setValue(t,n):t&&e.hasValue(t)?e.setValue(o.default.get(t,e.key),n):!this.rootPristine||e.visible?(n.noValidate=!n.dirty,n.resetValue=!0,e.setValue(e.defaultValue,n)):void 0)}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!!e&&this.getComponents().reduce((function(r,o){return t.setNestedValue(o,e,n,r)||r}),!1)}},{key:"defaultSchema",get:function(){return n.schema()}},{key:"schema",get:function(){var e=p(w(n.prototype),"schema",this),t=o.default.uniqBy(this.getComponents(),"component.key");return e.components=o.default.map(t,"schema"),e}},{key:"collapsed",get:function(){return this._collapsed},set:function(e){this._collapsed=e,this.redraw(),e||this.pristine||this.checkValidity(this.data,!0)}},{key:"visible",set:function(e){var t=this._visible!==e;this._visible=e;var n=this.visible,r=this.options.show&&this.options.show[this.component.key],o=this.options.hide&&this.options.hide[this.component.key];this.components.forEach((function(e){e.parentVisible=n;var t=e.conditionallyVisible();r||t?e.visible=!0:!o&&n&&t||(e.visible=!1),e.visible||(e.error="")})),t&&(this.clearOnHide(),this.redraw())},get:function(){return p(w(n.prototype),"visible",this)}},{key:"parentVisible",set:function(e){var t=this;f(w(n.prototype),"parentVisible",e,this,!0),this.components.forEach((function(e){return e.parentVisible=t.visible}))},get:function(){return p(w(n.prototype),"parentVisible",this)}},{key:"disabled",get:function(){return p(w(n.prototype),"disabled",this)},set:function(e){f(w(n.prototype),"disabled",e,this,!0),this.components.forEach((function(t){return t.parentDisabled=e}))}},{key:"parentDisabled",set:function(e){var t=this;f(w(n.prototype),"parentDisabled",e,this,!0),this.components.forEach((function(e){e.parentDisabled=t.disabled}))},get:function(){return p(w(n.prototype),"parentDisabled",this)}},{key:"ready",get:function(){return s.default.all(this.getComponents().map((function(e){return e.ready})))}},{key:"currentForm",get:function(){return p(w(n.prototype),"currentForm",this)},set:function(e){f(w(n.prototype),"currentForm",e,this,!0),this.getComponents().forEach((function(t){t.currentForm=e}))}},{key:"rowIndex",get:function(){return this._rowIndex},set:function(e){this._rowIndex=e,this.eachComponent((function(t){t.rowIndex=e}))}},{key:"data",get:function(){return this._data},set:function(e){var t=this;this._data=e,this.eachComponent((function(e){e.data=t.componentContext(e)}))}},{key:"componentComponents",get:function(){return this.component.components||[]}},{key:"nestedKey",get:function(){return"nested-".concat(this.key)}},{key:"templateName",get:function(){return"container"}},{key:"errors",get:function(){var e=this.error?[this.error]:[];return this.getComponents().reduce((function(e,t){return e.concat(t.errors||[])}),e)}},{key:"dataReady",get:function(){return s.default.all(this.getComponents().map((function(e){return e.dataReady})))}}]),n}(i.default);t.default=k},function(e,t,n){var r=n(5),o=n(278);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(e,t,n){"use strict";var r=n(5),o=n(150).trim;r({target:"String",proto:!0,forced:n(401)("trim")},{trim:function(){return o(this)}})},function(e,t,n){"use strict";var r=n(196).charAt,o=n(69),i=n(148),a=o.set,s=o.getterFor("String Iterator");i(String,"String",(function(e){a(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=s(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},function(e,t,n){"use strict";var r=n(24),o=n(11),i=n(105),a=n(45),s=n(33),u=n(68),l=n(118),c=n(77),f=n(9),d=n(82),p=n(70).f,h=n(75).f,m=n(25).f,y=n(150).trim,v=o.Number,b=v.prototype,g="Number"==u(d(b)),w=function(e){var t,n,r,o,i,a,s,u,l=c(e,!1);if("string"==typeof l&&l.length>2)if(43===(t=(l=y(l)).charCodeAt(0))||45===t){if(88===(n=l.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(l.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+l}for(a=(i=l.slice(2)).length,s=0;so)return NaN;return parseInt(i,r)}return+l};if(i("Number",!v(" 0o1")||!v("0b1")||v("+0x1"))){for(var k,_=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof _&&(g?f((function(){b.valueOf.call(n)})):"Number"!=u(n))?l(new v(w(t)),n,_):w(t)},O=r?p(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),S=0;O.length>S;S++)s(v,k=O[S])&&!s(_,k)&&m(_,k,h(v,k));_.prototype=b,b.constructor=_,a(o,"Number",_)}},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){var r=n(122),o=n(291),i=n(292),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";var r=n(5),o=n(35).findIndex,i=n(111),a=!0;"findIndex"in[]&&Array(1).findIndex((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("findIndex")},function(e,t,n){"use strict";n(27),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(1)),o=i(n(85));function i(e){return e&&e.__esModule?e:{default:e}}var a={sortAndFilterComponents:function(e){return r.default.filter(r.default.sortBy(e,"weight"),(function(e){return!e.ignore}))},unifyComponents:function(e,t){return e.key&&t.key?!e.skipMerge&&!t.skipMerge&&(e.key===t.key&&(r.default.each(e,(function(n,r){!e.overrideEditForm&&t.hasOwnProperty(r)||(t[r]=n)})),r.default.each(t,(function(n,r){!t.overrideEditForm&&e.hasOwnProperty(r)||(e[r]=n)})),e.components&&(t.components=a.sortAndFilterComponents(r.default.unionWith(e.components,t.components,a.unifyComponents))),!0)):r.default.isEqual(e,t)},logicVariablesTable:function(e){return{type:"htmlelement",tag:"div",content:'

The following variables are available in all scripts.

'+(e=e||"")+'
formThe complete form JSON object
submissionThe complete submission object.
dataThe complete submission data object.
rowContextual "row" data, used within DataGrid, EditGrid, and Container components
componentThe current component JSON
instanceThe current component instance.
valueThe current value of the component.
momentThe moment.js library for date manipulation.
_An instance of Lodash.
utilsAn instance of the FormioUtils object.
utilAn alias for "utils".

'}},javaScriptValue:function(e,t,n,r,i,a,s){return{type:"panel",title:e,theme:"default",collapsible:!0,collapsed:!0,key:"".concat(t,"Panel"),weight:r,components:[this.logicVariablesTable(s),{type:"panel",title:"JavaScript",collapsible:!0,collapsed:!1,style:{"margin-bottom":"10px"},key:"".concat(t,"-js"),customConditional:function(){return!o.default.noeval||o.default.protectedEval},components:[{type:"textarea",key:t,rows:5,editor:"ace",hideLabel:!0,as:"javascript",input:!0},{type:"htmlelement",tag:"div",content:"

Enter custom javascript code.

".concat(i)}]},{type:"panel",title:"JSONLogic",collapsible:!0,collapsed:!0,key:"".concat(t,"-json"),components:[{type:"htmlelement",tag:"div",content:'

Execute custom logic using JSONLogic.

Full Lodash support is provided using an "_" before each operation, such as {"_sum": {var: "data.a"}}

'+a},{type:"textarea",key:n,rows:5,editor:"ace",hideLabel:!0,as:"json",input:!0}]}]}}},s=a;t.default=s},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(0),n(43),n(3),n(16),n(2),n(6),n(15),n(22),n(57),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=l(n(243)),i=n(4),a=l(n(137)),s=l(n(10)),u=l(n(1));function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){for(var n=0;n0?this.removeClass(t,"text-danger"):this.addClass(t,"text-danger"),this.setContent(t,this.t("{{ remaining }} ".concat(e," remaining."),{remaining:o}))}else this.setContent(t,this.t("{{ count }} ".concat(e),{count:n}))}},{key:"updateValueAt",value:function(e,t,n){if(t=t||{},u.default.get(this.component,"showWordCount",!1)&&this.refs.wordcount&&this.refs.wordcount[n]){var r=u.default.parseInt(u.default.get(this.component,"validate.maxWords",0),10);this.setCounter(this.t("words"),this.refs.wordcount[n],this.getWordCount(e),r)}if(u.default.get(this.component,"showCharCount",!1)&&this.refs.charcount&&this.refs.charcount[n]){var o=u.default.parseInt(u.default.get(this.component,"validate.maxLength",0),10);this.setCounter(this.t("characters"),this.refs.charcount[n],e.length,o)}}},{key:"getValueAt",value:function(e){var t=this.performInputMapping(this.refs.input[e]);return t&&t.widget?t.widget.getValue():t?t.value:void 0}},{key:"updateValue",value:function(e,t,n){t=t||{};var r=f(y(h.prototype),"updateValue",this).call(this,e,t);return this.triggerUpdateValueAt(this.dataValue,t,n),r}},{key:"parseValue",value:function(e){return e}},{key:"formatValue",value:function(e){return e}},{key:"attach",value:function(e){return this.loadRefs(e,{charcount:"multiple",wordcount:"multiple",prefix:"multiple",suffix:"multiple"}),f(y(h.prototype),"attach",this).call(this,e)}},{key:"getWidget",value:function(e){return e=e||0,this.refs.input&&this.refs.input[e]?this.refs.input[e].widget:null}},{key:"attachElement",value:function(e,t){var n=this;f(y(h.prototype),"attachElement",this).call(this,e,t),e.widget&&e.widget.destroy();var r=s.default.resolve();return e.widget=this.createWidget(t),e.widget&&(r=e.widget.attach(e),this.refs.prefix&&this.refs.prefix[t]&&e.widget.addPrefix(this.refs.prefix[t]),this.refs.suffix&&this.refs.suffix[t]&&e.widget.addSuffix(this.refs.suffix[t])),this.addFocusBlurEvents(e),this.options.submitOnEnter&&this.addEventListener(e,"keypress",(function(e){13===(e.keyCode||e.which)&&(e.preventDefault(),e.stopPropagation(),n.emit("submitButton"))})),r}},{key:"createWidget",value:function(e){var t=this;if(!this.component.widget)return null;var n="string"==typeof this.component.widget?{type:this.component.widget}:this.component.widget;if(!a.default.hasOwnProperty(n.type))return null;var r=new a.default[n.type](n,this.component);return r.on("update",(function(){return t.updateValue(r.getValue(),{modified:!0},e)}),!0),r.on("redraw",(function(){return t.redraw()}),!0),r}},{key:"detach",value:function(){if(f(y(h.prototype),"detach",this).call(this),this.refs&&this.refs.input)for(var e=0;e<=this.refs.input.length;e++){var t=this.getWidget(e);t&&t.destroy()}this.refs.input=[]}},{key:"addFocusBlurEvents",value:function(e){var t=this;this.addEventListener(e,"focus",(function(){t.root.focusedComponent!==t?(t.root.pendingBlur&&t.root.pendingBlur(),t.root.focusedComponent=t,t.emit("focus",t)):t.root.focusedComponent===t&&t.root.pendingBlur&&(t.root.pendingBlur.cancel(),t.root.pendingBlur=null)})),this.addEventListener(e,"blur",(function(){t.root.pendingBlur=(0,i.delay)((function(){t.emit("blur",t),"blur"===t.component.validateOn&&t.root.triggerChange({fromBlur:!0},{instance:t,component:t.component,value:t.dataValue,flags:{fromBlur:!0}}),t.root.focusedComponent=null,t.root.pendingBlur=null}))}))}},{key:"inputInfo",get:function(){var e={name:this.options.name,type:this.component.inputType||"text",class:"form-control",lang:this.options.language};return this.component.placeholder&&(e.placeholder=this.t(this.component.placeholder)),this.component.tabindex&&(e.tabindex=this.component.tabindex),this.disabled&&(e.disabled="disabled"),this.component.autocomplete&&(e.autocomplete=this.component.autocomplete),u.default.defaults(e,this.component.attributes),{id:this.key,type:"input",changeEvent:"input",content:"",attr:e}}},{key:"maskOptions",get:function(){return u.default.map(this.component.inputMasks,(function(e){return{label:e.label,value:e.label}}))}},{key:"isMultipleMasksField",get:function(){return this.component.allowMultipleMasks&&!!this.component.inputMasks&&!!this.component.inputMasks.length}},{key:"remainingWords",get:function(){return u.default.parseInt(u.default.get(this.component,"validate.maxWords"),10)-this.getWordCount(this.dataValue)}},{key:"prefix",get:function(){return this.component.prefix}},{key:"suffix",get:function(){if(this.component.widget&&"calendar"===this.component.widget.type){var e=this.renderTemplate("icon",{ref:"icon",className:this.iconClass(this.component.enableDate||this.component.widget.enableDate?"calendar":"clock-o"),styles:"",content:""}).trim();if(this.component.prefix!==e)return(0,i.convertStringToHTMLElement)(e,'[ref="icon"]')}return this.component.suffix}}])&&c(t.prototype,n),r&&c(t,r),h}(o.default);t.default=v},function(e,t,n){"use strict";n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(e&&"object"===u(e)||(e={value:e,maskName:this.component.inputMasks[0].label}),!e.value){var n=t.noDefault?this.emptyValue:this.defaultValue;e.value=Array.isArray(n)?n[0]:n}return e}},{key:"normalizeValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.isMultipleMasksField?Array.isArray(e)?f(m(h.prototype),"normalizeValue",this).call(this,e.map((function(e){return t.maskValue(e,n)}))):f(m(h.prototype),"normalizeValue",this).call(this,this.maskValue(e,n)):f(m(h.prototype),"normalizeValue",this).call(this,e)}},{key:"setValueAt",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!this.isMultipleMasksField)return f(m(h.prototype),"setValueAt",this).call(this,e,t,n);var r=(t=this.maskValue(t,n)).value||"",o=this.refs.mask?this.refs.mask[e]:null,s=this.refs.select?this.refs.select[e]:null,u=this.getMaskPattern(t.maskName);if(!(o&&s&&u))return f(m(h.prototype),"setValueAt",this).call(this,e,r,n);o.value=(0,i.conformToMask)(r,a.getInputMask(u)).conformedValue,s.value=t.maskName}},{key:"getValueAt",value:function(e){if(!this.isMultipleMasksField)return f(m(h.prototype),"getValueAt",this).call(this,e);var t=this.refs.mask?this.refs.mask[e]:null,n=this.refs.select?this.refs.select[e]:null;return{value:t?t.value:void 0,maskName:n?n.value:void 0}}},{key:"isEmpty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.dataValue;return this.isMultipleMasksField?f(m(h.prototype),"isEmpty",this).call(this,e)||(this.component.multiple?0===e.length:!e.maskName||!e.value):f(m(h.prototype),"isEmpty",this).call(this,(e||"").toString().trim())}},{key:"defaultSchema",get:function(){return h.schema()}},{key:"inputInfo",get:function(){var e=f(m(h.prototype),"inputInfo",this);return e.type="input",this.component.hasOwnProperty("spellcheck")&&(e.attr.spellcheck=this.component.spellcheck),this.component.mask?e.attr.type="password":e.attr.type="password"===this.component.inputType?"password":"text",e.changeEvent="input",e}},{key:"emptyValue",get:function(){return""}}])&&c(t.prototype,n),r&&c(t,r),h}(o.default);t.default=y},function(e,t,n){"use strict";n(0),n(7),n(20),n(31),n(3),n(12),n(8),n(39),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(1))&&r.__esModule?r:{default:r},i=n(4);var a={uniquify:function(e,t){var n=!1,r={};return(0,i.eachComponent)(e,(function(e){if(r[e.key]=!0,["address","container","datagrid","editgrid","tree"].includes(t.type)||t.tree||t.arrayTree)return!0}),!0),(0,i.eachComponent)([t],(function(e){if(e.key){var t=(0,i.uniqueKey)(r,e.key);return t!==e.key&&(e.key=t,n=!0),r[t]=!0,!!(["address","container","datagrid","editgrid","tree"].includes(e.type)||e.tree||e.arrayTree)||void 0}}),!0),n},additionalShortcuts:{button:["Enter","Esc"]},getAlphaShortcuts:function(){return o.default.range("A".charCodeAt(),"Z".charCodeAt()+1).map((function(e){return String.fromCharCode(e)}))},getAdditionalShortcuts:function(e){return this.additionalShortcuts[e]||[]},getBindedShortcuts:function(e,t){var n=[];return(0,i.eachComponent)(e,(function(e){e!==t&&(e.shortcut&&n.push(e.shortcut),e.values&&e.values.forEach((function(e){e.shortcut&&n.push(e.shortcut)})))}),!0),n},getAvailableShortcuts:function(e,t){return t?[""].concat(o.default.difference(this.getAlphaShortcuts().concat(this.getAdditionalShortcuts(t.type)),this.getBindedShortcuts(e.components,t))).map((function(e){return{label:e,value:e}})):[]}};t.default=a},function(e,t,n){var r=n(24),o=n(103),i=n(76),a=n(51),s=n(77),u=n(33),l=n(187),c=Object.getOwnPropertyDescriptor;t.f=r?c:function(e,t){if(e=a(e),t=s(t,!0),l)try{return c(e,t)}catch(e){}if(u(e,t))return i(!o.f.call(e,t),e[t])}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(32);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=!1},function(e,t,n){var r=n(46),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},function(e,t,n){"use strict";var r=n(109),o=n(34),i=n(21),a=n(41),s=n(146),u=n(110);r("match",1,(function(e,t,n){return[function(t){var n=a(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var a=o(e),l=String(this);if(!a.global)return u(a,l);var c=a.unicode;a.lastIndex=0;for(var f,d=[],p=0;null!==(f=u(a,l));){var h=String(f[0]);d[p]=h,""===h&&(a.lastIndex=s(l,i(a.lastIndex),c)),p++}return 0===p?null:d}]}))},function(e,t,n){"use strict";var r=n(5),o=n(11),i=n(89),a=n(78),s=n(24),u=n(145),l=n(195),c=n(9),f=n(33),d=n(106),p=n(32),h=n(34),m=n(30),y=n(51),v=n(77),b=n(76),g=n(82),w=n(94),k=n(70),_=n(271),O=n(143),S=n(75),x=n(25),P=n(103),j=n(37),C=n(45),E=n(141),A=n(104),M=n(88),R=n(87),T=n(18),D=n(198),I=n(199),L=n(95),V=n(69),N=n(35).forEach,F=A("hidden"),U=T("toPrimitive"),z=V.set,B=V.getterFor("Symbol"),H=Object.prototype,q=o.Symbol,W=i("JSON","stringify"),Y=S.f,K=x.f,G=_.f,J=P.f,Z=E("symbols"),X=E("op-symbols"),$=E("string-to-symbol-registry"),Q=E("symbol-to-string-registry"),ee=E("wks"),te=o.QObject,ne=!te||!te.prototype||!te.prototype.findChild,re=s&&c((function(){return 7!=g(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=Y(H,t);r&&delete H[t],K(e,t,n),r&&e!==H&&K(H,t,r)}:K,oe=function(e,t){var n=Z[e]=g(q.prototype);return z(n,{type:"Symbol",tag:e,description:t}),s||(n.description=t),n},ie=u&&"symbol"==typeof q.iterator?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof q},ae=function(e,t,n){e===H&&ae(X,t,n),h(e);var r=v(t,!0);return h(n),f(Z,r)?(n.enumerable?(f(e,F)&&e[F][r]&&(e[F][r]=!1),n=g(n,{enumerable:b(0,!1)})):(f(e,F)||K(e,F,b(1,{})),e[F][r]=!0),re(e,r,n)):K(e,r,n)},se=function(e,t){h(e);var n=y(t),r=w(n).concat(fe(n));return N(r,(function(t){s&&!ue.call(n,t)||ae(e,t,n[t])})),e},ue=function(e){var t=v(e,!0),n=J.call(this,t);return!(this===H&&f(Z,t)&&!f(X,t))&&(!(n||!f(this,t)||!f(Z,t)||f(this,F)&&this[F][t])||n)},le=function(e,t){var n=y(e),r=v(t,!0);if(n!==H||!f(Z,r)||f(X,r)){var o=Y(n,r);return!o||!f(Z,r)||f(n,F)&&n[F][r]||(o.enumerable=!0),o}},ce=function(e){var t=G(y(e)),n=[];return N(t,(function(e){f(Z,e)||f(M,e)||n.push(e)})),n},fe=function(e){var t=e===H,n=G(t?X:y(e)),r=[];return N(n,(function(e){!f(Z,e)||t&&!f(H,e)||r.push(Z[e])})),r};(u||(C((q=function(){if(this instanceof q)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=R(e),n=function(e){this===H&&n.call(X,e),f(this,F)&&f(this[F],t)&&(this[F][t]=!1),re(this,t,b(1,e))};return s&&ne&&re(H,t,{configurable:!0,set:n}),oe(t,e)}).prototype,"toString",(function(){return B(this).tag})),P.f=ue,x.f=ae,S.f=le,k.f=_.f=ce,O.f=fe,s&&(K(q.prototype,"description",{configurable:!0,get:function(){return B(this).description}}),a||C(H,"propertyIsEnumerable",ue,{unsafe:!0}))),l||(D.f=function(e){return oe(T(e),e)}),r({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:q}),N(w(ee),(function(e){I(e)})),r({target:"Symbol",stat:!0,forced:!u},{for:function(e){var t=String(e);if(f($,t))return $[t];var n=q(t);return $[t]=n,Q[n]=t,n},keyFor:function(e){if(!ie(e))throw TypeError(e+" is not a symbol");if(f(Q,e))return Q[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!s},{create:function(e,t){return void 0===t?g(e):se(g(e),t)},defineProperty:ae,defineProperties:se,getOwnPropertyDescriptor:le}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:ce,getOwnPropertySymbols:fe}),r({target:"Object",stat:!0,forced:c((function(){O.f(1)}))},{getOwnPropertySymbols:function(e){return O.f(m(e))}}),W)&&r({target:"JSON",stat:!0,forced:!u||c((function(){var e=q();return"[null]"!=W([e])||"{}"!=W({a:e})||"{}"!=W(Object(e))}))},{stringify:function(e,t,n){for(var r,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=t,(p(t)||void 0!==e)&&!ie(e))return d(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!ie(t))return t}),o[1]=t,W.apply(null,o)}});q.prototype[U]||j(q.prototype,U,q.prototype.valueOf),L(q,"Symbol"),M[F]=!0},function(e,t,n){var r=n(34),o=n(269),i=n(142),a=n(88),s=n(270),u=n(188),l=n(104)("IE_PROTO"),c=function(){},f=function(){var e,t=u("iframe"),n=i.length;for(t.style.display="none",s.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write("\n \n \n \n
\n \n\n```\n\nThis will create a robust Form builder embedded right within your own application. See [Our Demo Page](https://formio.github.io/formio.js/app/builder) for an example.\n \n## Form Rendering\nThe following is a simple example on how to render a form within your HTML application.\n\n```html\n\n \n \n \n \n \n \n \n
\n \n\n```\n\nThis will render the following form within your application.\n\n![Alt text](https://monosnap.com/file/iOZ1yB0wPntJLWQwyhdt7ucToLHEfF.png)\n\nYou can also render JSON directly instead of referencing the embed URL from Form.io.\n\n```js\nFormio.createForm(document.getElementById('formio'), {\n components: [\n {\n type: 'textfield',\n key: 'firstName',\n label: 'First Name',\n placeholder: 'Enter your first name.',\n input: true\n },\n {\n type: 'textfield',\n key: 'lastName',\n label: 'Last Name',\n placeholder: 'Enter your last name',\n input: true\n },\n {\n type: 'button',\n action: 'submit',\n label: 'Submit',\n theme: 'primary'\n }\n ]\n});\n```\n\nThis will render the JSON schema of the form within your application.\n\n## JSFiddle\nA great way to play around with this renderer is to use JSFiddle, which serves as a good sandbox environment. Here is an example that you can fork and make your own!\n\nhttp://jsfiddle.net/travistidwell/v38du9y1/\n\n## Wizard Rendering\nThis library can also be used to render a form wizard within your application using the same method as rendering a form.\nThe determiniation on whether it should render as a wizard or not is based on the **display** property of the form schema \nbeing set to ```wizard```.\n\n```html\n\n \n \n \n \n \n \n \n
\n \n\n```\n\n## Form Embedding\nYou can also use this library as a JavaScript embedding of the form using a single line of code. For example, to embed the https://examples.form.io/example form within your application you can simply use the following embed code.\n\n```html\n\n```\n\nFor an example of how this looks and works, check out the following [Form.io Form Embedding CodePen](http://codepen.io/travist/pen/ggQOBa)\n\n## Full Form Renderer Documentation\nFor a more complete documentation of how to utilize this library within your application go to the [Form Renderer](https://github.com/formio/formio.js/wiki/Form-Renderer) documentation within the [Wiki](https://github.com/formio/formio.js/wiki)\n\n# JavaScript SDK\nIn addition to having a Form Renderer within this application, you can also use this library as a JavaScript SDK in your application. For example, to load a Form, and then submit that form you could do the following within your JavaScript.\n\n```html\n\n \n \n \n \n\n```\n\nYou can also use this within an ES6 application as follows.\n\n```js\nimport Formio from 'formiojs';\nlet formio = new Formio('https://examples.form.io/example');\nformio.loadForm((form) => {\n console.log(form);\n formio.saveSubmission({data: {\n firstName: 'Joe',\n lastName: 'Smith',\n email: 'joe@example.com'\n }}).then((submission) => {\n console.log(submission);\n });\n});\n```\n\n## JavaScript SDK Documentation.\nFor more complete documentation over the JavaScript SDK, please take a look at the [JavaScript SDK](https://github.com/formio/formio.js/wiki/JavaScript-API) within the [wiki](https://github.com/formio/formio.js/wiki).\n\n## Full Developer API Documentation\nTo view the full SDK Documentation, go to [Developer SDK Documentation](https://formio.github.io/formio.js/docs/)\n", - "longname": "/var/lib/jenkins/workspace/Master build jobs/formio.js/README.md", + "longname": "/Users/luispadilla/Documents/DNAMIC/Casebook/formio.js/README.md", "name": "./README.md", "static": true, "access": "public" @@ -40687,7 +40687,7 @@ { "kind": "packageJSON", "content": "{\n \"name\": \"formiojs\",\n \"version\": \"4.12.6\",\n \"description\": \"JavaScript powered Forms with JSON Form Builder\",\n \"main\": \"index.js\",\n \"types\": \"index.d.ts\",\n \"files\": [\n \"dist\",\n \"lib\",\n \"utils.js\",\n \"wizard.js\",\n \"form.js\",\n \"embed.js\",\n \"full.js\",\n \"types\",\n \"index.d.ts\"\n ],\n \"pre-commit\": [\n \"lint\"\n ],\n \"scripts\": {\n \"build\": \"esdoc;gulp build\",\n \"transpile\": \"babel ./src/ --out-dir ./lib/\",\n \"templates\": \"gulp templates\",\n \"watch\": \"babel -w ./src/ --out-dir ./lib/\",\n \"rebuild\": \"rm -rf node_modules;npm install;gulp build\",\n \"tag\": \"VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\\\",]//g' | tr -d '[[:space:]]');git add -A; git commit -m \\\"Build $Version\\\";git push origin master;git tag v$VERSION;git push origin --tags;\",\n \"dopublish\": \"npm test;gulp build;npm run tag;npm publish lib;\",\n \"lint\": \"gulp eslint\",\n \"serve\": \"jekyll serve --config _config.yml,_config.dev.yml\",\n \"test\": \"npm run transpile && npm run templates && npm run test:unit\",\n \"test:unit\": \"TZ=UTC mocha --require @babel/register --require jsdom-global/register 'lib/**/*.unit.js' -b -t 20000 --exit\",\n \"test:updateRenders\": \"TZ=UTC node --require @babel/register --require jsdom-global/register test/updateRenders.js\",\n \"test:e2e\": \"NODE_OPTIONS=\\\"--max-old-space-size=4096\\\" karma start --verbose --single-run\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/formio/formio.js.git\"\n },\n \"contributors\": [\n {\n \"name\": \"Form.io Open Source Community\",\n \"url\": \"https://github.com/formio/formio.js/graphs/contributors\"\n }\n ],\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/formio/formio.js/issues\"\n },\n \"browser\": {\n \"vm\": false\n },\n \"homepage\": \"https://github.com/formio/formio.js#readme\",\n \"dependencies\": {\n \"@formio/bootstrap3\": \"^2.6.8\",\n \"@formio/semantic\": \"^2.4.5\",\n \"autocompleter\": \"^6.0.5\",\n \"browser-cookies\": \"^1.2.0\",\n \"choices.js\": \"^9.0.1\",\n \"compare-versions\": \"^3.6.0\",\n \"core-js\": \"3.5.0\",\n \"custom-event-polyfill\": \"^1.0.7\",\n \"dialog-polyfill\": \"^0.5.4\",\n \"dompurify\": \"2.0.11\",\n \"downloadjs\": \"^1.4.7\",\n \"dragula\": \"^3.7.3\",\n \"eventemitter2\": \"^6.4.3\",\n \"fast-deep-equal\": \"^3.1.3\",\n \"fast-json-patch\": \"^2.2.1\",\n \"fetch-ponyfill\": \"^7.0.0\",\n \"i18next\": \"^19.8.4\",\n \"idb\": \"^5.0.8\",\n \"ismobilejs\": \"^1.1.1\",\n \"json-logic-js\": \"^2.0.0\",\n \"jstimezonedetect\": \"^1.0.7\",\n \"jwt-decode\": \"^3.1.2\",\n \"lodash\": \"^4.17.20\",\n \"moment\": \"^2.29.1\",\n \"moment-timezone\": \"^0.5.32\",\n \"native-promise-only\": \"^0.8.1\",\n \"quill\": \"^2.0.0-dev.3\",\n \"resize-observer-polyfill\": \"^1.5.1\",\n \"signature_pad\": \"^2.3.2\",\n \"string-hash\": \"^1.1.3\",\n \"text-mask-addons\": \"^3.8.0\",\n \"tooltip.js\": \"^1.3.3\",\n \"uuid\": \"^8.3.2\",\n \"vanilla-picker\": \"^2.11.0\",\n \"vanilla-text-mask\": \"^5.1.1\"\n },\n \"devDependencies\": {\n \"@babel/cli\": \"^7.12.10\",\n \"@babel/core\": \"^7.12.10\",\n \"@babel/plugin-proposal-class-properties\": \"^7.12.1\",\n \"@babel/plugin-proposal-export-default-from\": \"^7.12.1\",\n \"@babel/plugin-proposal-optional-chaining\": \"^7.12.7\",\n \"@babel/polyfill\": \"^7.12.1\",\n \"@babel/preset-env\": \"^7.12.10\",\n \"@babel/register\": \"^7.12.10\",\n \"babel-eslint\": \"^10.1.0\",\n \"babel-loader\": \"^8.2.2\",\n \"bootstrap\": \"^4.5.3\",\n \"bootswatch\": \"^4.5.3\",\n \"browser-env\": \"^3.3.0\",\n \"chai\": \"^4.2.0\",\n \"chance\": \"^1.1.7\",\n \"del\": \"^6.0.0\",\n \"ejs-loader\": \"^0.5.0\",\n \"escape-string-regexp\": \"^4.0.0\",\n \"esdoc\": \"^1.1.0\",\n \"esdoc-ecmascript-proposal-plugin\": \"^1.0.0\",\n \"esdoc-standard-plugin\": \"^1.0.0\",\n \"eslint\": \"^7.15.0\",\n \"eslint-config-formio\": \"^1.1.4\",\n \"fetch-mock\": \"^9.11.0\",\n \"file-loader\": \"^6.2.0\",\n \"flatpickr\": \"^4.6.3\",\n \"font-awesome\": \"^4.7.0\",\n \"gulp\": \"^4.0.2\",\n \"gulp-babel\": \"^8.0.0\",\n \"gulp-clean-css\": \"^4.3.0\",\n \"gulp-concat\": \"^2.6.1\",\n \"gulp-eslint\": \"^6.0.0\",\n \"gulp-filter\": \"^6.0.0\",\n \"gulp-insert\": \"^0.5.0\",\n \"gulp-rename\": \"^2.0.0\",\n \"gulp-replace\": \"^1.0.0\",\n \"gulp-sass\": \"^4.1.0\",\n \"gulp-sync\": \"^0.1.4\",\n \"gulp-template\": \"^5.0.0\",\n \"gulp-watch\": \"^5.0.1\",\n \"hoek\": \"^6.1.3\",\n \"jquery\": \"^3.5.1\",\n \"jsdom\": \"^16.4.0\",\n \"jsdom-global\": \"^3.0.2\",\n \"karma\": \"^5.2.3\",\n \"karma-chrome-launcher\": \"^3.1.0\",\n \"karma-mocha\": \"^2.0.1\",\n \"karma-mocha-reporter\": \"^2.2.5\",\n \"karma-phantomjs-launcher\": \"^1.0.4\",\n \"karma-webpack\": \"^4.0.2\",\n \"marked\": \"^1.2.6\",\n \"mocha\": \"^8.2.1\",\n \"natives\": \"^1.1.6\",\n \"power-assert\": \"^1.6.1\",\n \"pre-commit\": \"^1.2.2\",\n \"pretty\": \"^2.0.0\",\n \"pygments-css\": \"^1.0.0\",\n \"raw-loader\": \"^4.0.2\",\n \"sinon\": \"^9.2.2\",\n \"webpack\": \"^4.44.2\",\n \"webpack-stream\": \"^6.1.1\",\n \"written-number\": \"^0.9.1\"\n }\n}\n", - "longname": "/var/lib/jenkins/workspace/Master build jobs/formio.js/package.json", + "longname": "/Users/luispadilla/Documents/DNAMIC/Casebook/formio.js/package.json", "name": "package.json", "static": true, "access": "public" diff --git a/docs/source.html b/docs/source.html index 99d78dfda5..09d46353d9 100644 --- a/docs/source.html +++ b/docs/source.html @@ -194,7 +194,7 @@ 0 %0/3 685 byte 23 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/Form.js @@ -202,7 +202,7 @@ 29 %7/24 9117 byte 311 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/FormBuilder.js @@ -210,7 +210,7 @@ 0 %0/4 1175 byte 41 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/Formio.js @@ -218,7 +218,7 @@ 5 %7/123 46250 byte 1544 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 21:46:30 (UTC) src/Formio.unit.js @@ -226,23 +226,23 @@ 0 %0/10 77424 byte 2320 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) - src/PDF.js + src/PDF.js PDF 12 %3/25 - 9119 byte - 342 - 2021-01-06 19:11:52 (UTC) + 9942 byte + 370 + 2021-01-05 21:46:31 (UTC) - src/PDFBuilder.js + src/PDFBuilder.js PDFBuilder 0 %0/32 - 17129 byte - 503 - 2021-01-06 19:11:52 (UTC) + 17184 byte + 504 + 2021-01-05 21:46:31 (UTC) src/PDFBuilder.spec.js @@ -250,7 +250,7 @@ - 1836 byte 62 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/Webform.unit.js @@ -258,7 +258,7 @@ - 84043 byte 2300 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 21:46:30 (UTC) src/WebformBuilder.unit.js @@ -266,7 +266,7 @@ - 2531 byte 63 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/Wizard.spec.js @@ -274,7 +274,7 @@ - 1122 byte 34 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/Wizard.unit.js @@ -282,7 +282,7 @@ - 13766 byte 377 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 21:46:30 (UTC) src/WizardBuilder.js @@ -290,7 +290,7 @@ 0 %0/18 7034 byte 239 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 21:46:30 (UTC) src/builders/Builders.js @@ -298,7 +298,7 @@ 0 %0/6 543 byte 28 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/builders/index.js @@ -306,7 +306,7 @@ - 61 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/Components.js @@ -314,7 +314,7 @@ 0 %0/7 1790 byte 58 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/_classes/component/Component.form.js @@ -322,7 +322,7 @@ 0 %0/1 1937 byte 73 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/_classes/component/Component.unit.js @@ -330,7 +330,7 @@ - 6462 byte 211 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/_classes/component/editForm/Component.edit.api.js @@ -338,7 +338,7 @@ - 934 byte 38 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 21:46:30 (UTC) src/components/_classes/component/editForm/Component.edit.conditional.js @@ -346,7 +346,7 @@ - 1583 byte 52 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/_classes/component/editForm/Component.edit.data.js @@ -354,7 +354,7 @@ - 4029 byte 123 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/_classes/component/editForm/Component.edit.display.js @@ -362,7 +362,7 @@ - 4808 byte 196 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/_classes/component/editForm/Component.edit.layout.js @@ -370,7 +370,7 @@ - 2055 byte 78 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/_classes/component/editForm/Component.edit.logic.js @@ -378,7 +378,7 @@ - 12805 byte 384 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/_classes/component/editForm/Component.edit.validation.js @@ -386,7 +386,7 @@ - 3883 byte 139 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/_classes/component/editForm/utils.js @@ -394,7 +394,7 @@ 0 %0/1 4778 byte 132 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 21:46:30 (UTC) src/components/_classes/component/editForm/utils.spec.js @@ -402,7 +402,7 @@ - 1450 byte 47 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/_classes/component/fixtures/comp1.js @@ -410,7 +410,7 @@ - 561 byte 31 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/_classes/component/fixtures/comp2.js @@ -418,7 +418,7 @@ - 551 byte 31 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/_classes/component/fixtures/comp3.js @@ -426,7 +426,7 @@ - 192 byte 12 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/_classes/component/fixtures/index.js @@ -434,7 +434,7 @@ - 87 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/_classes/componentModal/ComponentModal.js @@ -442,7 +442,7 @@ 0 %0/37 6893 byte 204 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 21:46:30 (UTC) src/components/_classes/field/Field.js @@ -450,7 +450,7 @@ 0 %0/2 578 byte 22 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/_classes/input/Input.js @@ -458,7 +458,7 @@ 3 %1/27 9213 byte 333 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 21:46:30 (UTC) src/components/_classes/nested/NestedComponent.form.js @@ -466,7 +466,7 @@ 0 %0/1 244 byte 14 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/_classes/nested/NestedComponent.js @@ -474,7 +474,7 @@ 16 %13/78 19182 byte 720 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 21:46:30 (UTC) src/components/_classes/nested/NestedComponent.unit.js @@ -482,7 +482,7 @@ 0 %0/1 10871 byte 331 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/_classes/nested/fixtures/comp1.js @@ -490,7 +490,7 @@ - 198 byte 14 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/_classes/nested/fixtures/comp2.js @@ -498,7 +498,7 @@ - 5172 byte 225 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/_classes/nested/fixtures/comp3.js @@ -506,7 +506,7 @@ - 707 byte 27 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/_classes/nested/fixtures/index.js @@ -514,7 +514,7 @@ - 132 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/_classes/nestedarray/NestedArrayComponent.unit.js @@ -522,7 +522,7 @@ 0 %0/1 785 byte 28 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/_classes/nesteddata/NestedDataComponent.unit.js @@ -530,7 +530,7 @@ 0 %0/1 780 byte 28 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/address/Address.form.js @@ -538,7 +538,7 @@ 0 %0/1 599 byte 24 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/address/Address.unit.js @@ -546,7 +546,7 @@ - 281 byte 12 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/address/editForm/Address.edit.data.js @@ -554,7 +554,7 @@ - 572 byte 23 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/address/editForm/Address.edit.display.js @@ -562,7 +562,7 @@ - 1104 byte 42 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 21:46:30 (UTC) src/components/address/editForm/Address.edit.provider.js @@ -570,7 +570,7 @@ - 4154 byte 149 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/address/fixtures/comp1.js @@ -578,7 +578,7 @@ - 1218 byte 71 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/address/fixtures/index.js @@ -586,7 +586,7 @@ - 29 byte 1 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/address/fixtures/values.js @@ -594,7 +594,7 @@ - 226 byte 17 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/builder.js @@ -602,7 +602,7 @@ - 3823 byte 86 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/button/Button.form.js @@ -610,7 +610,7 @@ 0 %0/1 392 byte 20 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/button/Button.unit.js @@ -618,7 +618,7 @@ - 7072 byte 251 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/button/editForm/Button.edit.display.js @@ -626,7 +626,7 @@ - 5720 byte 234 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/button/fixtures/comp1.js @@ -634,7 +634,7 @@ - 262 byte 14 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/button/fixtures/index.js @@ -642,7 +642,7 @@ - 29 byte 1 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/button/fixtures/values.js @@ -650,7 +650,7 @@ - 37 byte 4 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/checkbox/Checkbox.form.js @@ -658,7 +658,7 @@ 0 %0/1 570 byte 22 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/checkbox/Checkbox.js @@ -666,7 +666,7 @@ 0 %0/22 4420 byte 183 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/checkbox/Checkbox.unit.js @@ -674,7 +674,7 @@ - 1725 byte 43 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/checkbox/editForm/Checkbox.edit.data.js @@ -682,7 +682,7 @@ - 67 byte 6 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/checkbox/editForm/Checkbox.edit.display.js @@ -690,7 +690,7 @@ - 1552 byte 70 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/checkbox/editForm/Checkbox.edit.validation.js @@ -698,7 +698,7 @@ - 114 byte 10 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/checkbox/fixtures/comp1.js @@ -706,7 +706,7 @@ - 397 byte 24 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/checkbox/fixtures/index.js @@ -714,7 +714,7 @@ - 29 byte 1 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/checkbox/fixtures/values.js @@ -722,7 +722,7 @@ - 38 byte 5 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/columns/Columns.form.js @@ -730,7 +730,7 @@ 0 %0/1 301 byte 12 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/columns/Columns.js @@ -738,7 +738,7 @@ 4 %1/21 4694 byte 186 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/columns/Columns.unit.js @@ -746,7 +746,7 @@ - 373 byte 14 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/columns/editForm/Columns.edit.display.js @@ -754,7 +754,7 @@ - 2064 byte 106 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/columns/fixtures/comp1.js @@ -762,7 +762,7 @@ - 1885 byte 89 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/columns/fixtures/index.js @@ -770,7 +770,7 @@ - 29 byte 1 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/container/Container.form.js @@ -778,7 +778,7 @@ 0 %0/1 423 byte 17 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/container/Container.js @@ -786,7 +786,7 @@ 0 %0/13 1967 byte 81 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/container/Container.unit.js @@ -794,7 +794,7 @@ - 1651 byte 53 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/container/editForm/Container.edit.data.js @@ -802,7 +802,7 @@ - 179 byte 14 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/container/editForm/Container.edit.display.js @@ -810,7 +810,7 @@ - 215 byte 18 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/container/fixtures/comp1.js @@ -818,7 +818,7 @@ - 1641 byte 84 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/container/fixtures/comp2.js @@ -826,7 +826,7 @@ - 535 byte 32 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/container/fixtures/index.js @@ -834,7 +834,7 @@ - 58 byte 2 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/content/Content.form.js @@ -842,7 +842,7 @@ 0 %0/1 896 byte 39 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/content/Content.js @@ -850,7 +850,7 @@ 0 %0/8 1494 byte 67 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/content/Content.unit.js @@ -858,7 +858,7 @@ - 475 byte 17 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/content/editForm/Content.edit.display.js @@ -866,7 +866,7 @@ - 653 byte 46 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/content/editForm/Content.edit.logic.js @@ -874,7 +874,7 @@ - 2997 byte 98 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/content/fixtures/comp1.js @@ -882,7 +882,7 @@ - 207 byte 14 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/content/fixtures/index.js @@ -890,7 +890,7 @@ - 29 byte 1 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/currency/Currency.form.js @@ -898,7 +898,7 @@ 0 %0/1 878 byte 40 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/currency/Currency.js @@ -906,7 +906,7 @@ 5 %1/17 5820 byte 185 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 21:46:30 (UTC) src/components/currency/Currency.unit.js @@ -914,7 +914,7 @@ - 14361 byte 300 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/currency/editForm/Currency.edit.data.js @@ -922,7 +922,7 @@ - 9713 byte 186 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/currency/editForm/Currency.edit.display.js @@ -930,7 +930,7 @@ - 597 byte 34 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/currency/fixtures/comp1.js @@ -938,7 +938,7 @@ - 522 byte 31 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/currency/fixtures/comp2.js @@ -946,7 +946,7 @@ - 347 byte 18 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/currency/fixtures/index.js @@ -954,7 +954,7 @@ - 58 byte 2 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/currency/fixtures/values.js @@ -962,7 +962,7 @@ - 60 byte 6 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datagrid/DataGrid.form.js @@ -970,7 +970,7 @@ 0 %0/1 569 byte 22 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datagrid/DataGrid.js @@ -978,7 +978,7 @@ 7 %4/56 17620 byte 637 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 21:46:30 (UTC) src/components/datagrid/DataGrid.unit.js @@ -986,7 +986,7 @@ - 9595 byte 301 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datagrid/editForm/DataGrid.edit.data.js @@ -994,7 +994,7 @@ - 67 byte 6 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datagrid/editForm/DataGrid.edit.display.js @@ -1002,7 +1002,7 @@ - 3585 byte 155 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datagrid/editForm/DataGrid.edit.validation.js @@ -1010,7 +1010,7 @@ - 477 byte 20 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datagrid/fixtures/comp-on-blur-validation.js @@ -1018,7 +1018,7 @@ - 0 byte - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datagrid/fixtures/comp-row-groups-with-def-value.js @@ -1026,7 +1026,7 @@ - 1373 byte 79 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datagrid/fixtures/comp-with-def-value.js @@ -1034,7 +1034,7 @@ - 1228 byte 67 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datagrid/fixtures/comp1.js @@ -1042,7 +1042,7 @@ - 2326 byte 121 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datagrid/fixtures/comp2.js @@ -1050,7 +1050,7 @@ - 491 byte 27 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datagrid/fixtures/comp3.js @@ -1058,7 +1058,7 @@ - 345 byte 21 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datagrid/fixtures/comp4.js @@ -1066,7 +1066,7 @@ - 608 byte 27 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datagrid/fixtures/comp5.js @@ -1074,7 +1074,7 @@ - 1344 byte 75 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datagrid/fixtures/index.js @@ -1082,7 +1082,7 @@ - 268 byte 7 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datamap/DataMap.form.js @@ -1090,7 +1090,7 @@ 0 %0/1 419 byte 16 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datamap/DataMap.js @@ -1098,7 +1098,7 @@ 0 %0/34 6359 byte 262 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datamap/DataMap.unit.js @@ -1106,7 +1106,7 @@ - 543 byte 19 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datamap/editForm/DataMap.edit.data.js @@ -1114,7 +1114,7 @@ - 119 byte 10 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datamap/editForm/DataMap.edit.display.js @@ -1122,7 +1122,7 @@ - 1068 byte 46 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datamap/fixtures/comp1.js @@ -1130,7 +1130,7 @@ - 226 byte 13 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datamap/fixtures/index.js @@ -1138,7 +1138,7 @@ - 29 byte 1 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datetime/DateTime.form.js @@ -1146,7 +1146,7 @@ 0 %0/1 750 byte 31 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datetime/DateTime.js @@ -1154,7 +1154,7 @@ 0 %0/16 5538 byte 191 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datetime/DateTime.unit.js @@ -1162,7 +1162,7 @@ - 1229 byte 36 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datetime/editForm/DateTime.edit.data.js @@ -1170,7 +1170,7 @@ - 578 byte 21 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datetime/editForm/DateTime.edit.date.js @@ -1178,7 +1178,7 @@ - 4590 byte 147 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datetime/editForm/DateTime.edit.display.js @@ -1186,7 +1186,7 @@ - 1786 byte 65 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datetime/editForm/DateTime.edit.time.js @@ -1194,7 +1194,7 @@ - 786 byte 34 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datetime/fixtures/comp1.js @@ -1202,7 +1202,7 @@ - 817 byte 44 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datetime/fixtures/comp2.js @@ -1210,7 +1210,7 @@ - 685 byte 35 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datetime/fixtures/index.js @@ -1218,7 +1218,7 @@ - 58 byte 2 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/datetime/fixtures/values.js @@ -1226,7 +1226,7 @@ - 81 byte 5 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/day/Day.form.js @@ -1234,7 +1234,7 @@ 0 %0/1 982 byte 43 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/day/Day.js @@ -1242,7 +1242,7 @@ 17 %8/46 15246 byte 584 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/day/Day.unit.js @@ -1250,7 +1250,7 @@ - 6151 byte 177 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/day/editForm/Day.edit.data.js @@ -1258,7 +1258,7 @@ - 68 byte 6 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/day/editForm/Day.edit.day.js @@ -1266,7 +1266,7 @@ - 903 byte 46 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/day/editForm/Day.edit.display.js @@ -1274,7 +1274,7 @@ - 1021 byte 44 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/day/editForm/Day.edit.month.js @@ -1282,7 +1282,7 @@ - 753 byte 38 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/day/editForm/Day.edit.validation.js @@ -1290,7 +1290,7 @@ - 1305 byte 52 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/day/editForm/Day.edit.year.js @@ -1298,7 +1298,7 @@ - 1147 byte 56 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/day/fixtures/comp1.js @@ -1306,7 +1306,7 @@ - 625 byte 39 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/day/fixtures/comp2.js @@ -1314,7 +1314,7 @@ - 622 byte 39 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/day/fixtures/comp3.js @@ -1322,7 +1322,7 @@ - 678 byte 41 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/day/fixtures/comp4.js @@ -1330,7 +1330,7 @@ - 1041 byte 58 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/day/fixtures/index.js @@ -1338,7 +1338,7 @@ - 116 byte 4 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/day/fixtures/values.js @@ -1346,7 +1346,7 @@ - 52 byte 4 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/editgrid/EditGrid.form.js @@ -1354,7 +1354,7 @@ 0 %0/1 763 byte 29 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/editgrid/EditGrid.unit.js @@ -1362,7 +1362,7 @@ - 27495 byte 611 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 21:46:30 (UTC) src/components/editgrid/editForm/EditGrid.edit.data.js @@ -1370,7 +1370,7 @@ - 392 byte 18 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/editgrid/editForm/EditGrid.edit.display.js @@ -1378,7 +1378,7 @@ - 1010 byte 41 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/editgrid/editForm/EditGrid.edit.templates.js @@ -1386,7 +1386,7 @@ - 2801 byte 90 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/editgrid/editForm/EditGrid.edit.validation.js @@ -1394,7 +1394,7 @@ - 709 byte 28 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/editgrid/fixtures/comp1.js @@ -1402,7 +1402,7 @@ - 3363 byte 126 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/editgrid/fixtures/comp2.js @@ -1410,7 +1410,7 @@ - 3150 byte 112 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/editgrid/fixtures/comp3.js @@ -1418,7 +1418,7 @@ - 647 byte 26 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/editgrid/fixtures/comp4.js @@ -1426,7 +1426,7 @@ - 435 byte 23 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/editgrid/fixtures/comp5.js @@ -1434,7 +1434,7 @@ - 335 byte 20 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/editgrid/fixtures/comp6.js @@ -1442,7 +1442,7 @@ - 1171 byte 56 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/editgrid/fixtures/comp7.js @@ -1450,7 +1450,7 @@ - 3512 byte 121 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/editgrid/fixtures/comp8.js @@ -1458,7 +1458,7 @@ - 4095 byte 154 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/editgrid/fixtures/index.js @@ -1466,7 +1466,7 @@ - 232 byte 8 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/editgrid/templates/index.js @@ -1474,7 +1474,7 @@ - 96 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/email/Email.form.js @@ -1482,7 +1482,7 @@ 0 %0/1 430 byte 16 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/email/Email.js @@ -1490,7 +1490,7 @@ 0 %0/6 845 byte 41 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/email/Email.unit.js @@ -1498,7 +1498,7 @@ - 270 byte 12 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/email/editForm/Email.edit.display.js @@ -1506,7 +1506,7 @@ - 230 byte 18 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/email/editForm/Email.edit.validation.js @@ -1514,7 +1514,7 @@ - 518 byte 26 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/email/fixtures/comp1.js @@ -1522,7 +1522,7 @@ - 430 byte 26 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/email/fixtures/index.js @@ -1530,7 +1530,7 @@ - 29 byte 1 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/email/fixtures/values.js @@ -1538,7 +1538,7 @@ - 65 byte 4 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/fieldset/Fieldset.form.js @@ -1546,7 +1546,7 @@ 0 %0/1 302 byte 10 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/fieldset/Fieldset.js @@ -1554,7 +1554,7 @@ 0 %0/8 873 byte 43 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/fieldset/Fieldset.unit.js @@ -1562,7 +1562,7 @@ - 378 byte 14 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/fieldset/editForm/Fieldset.edit.display.js @@ -1570,7 +1570,7 @@ - 607 byte 42 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/fieldset/fixtures/comp1.js @@ -1578,7 +1578,7 @@ - 1657 byte 85 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/fieldset/fixtures/index.js @@ -1586,7 +1586,7 @@ - 29 byte 1 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/file/File.form.js @@ -1594,7 +1594,7 @@ 0 %0/1 689 byte 29 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/file/File.unit.js @@ -1602,7 +1602,7 @@ - 3305 byte 77 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/file/editForm/File.edit.data.js @@ -1610,7 +1610,7 @@ - 72 byte 6 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/file/editForm/File.edit.display.js @@ -1618,7 +1618,7 @@ - 70 byte 6 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/file/editForm/File.edit.file.js @@ -1626,7 +1626,7 @@ - 6333 byte 234 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/file/editForm/File.edit.validation.js @@ -1634,7 +1634,7 @@ - 114 byte 10 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/file/fixtures/comp1.js @@ -1642,7 +1642,7 @@ - 257 byte 16 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/file/fixtures/index.js @@ -1650,7 +1650,7 @@ - 29 byte 1 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/file/fixtures/values.js @@ -1658,7 +1658,7 @@ - 56296 byte 14 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/form/Form.form.js @@ -1666,7 +1666,7 @@ 0 %0/1 603 byte 25 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/form/Form.unit.js @@ -1674,7 +1674,7 @@ - 5884 byte 187 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/form/editForm/Form.edit.data.js @@ -1682,7 +1682,7 @@ - 849 byte 13 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/form/editForm/Form.edit.display.js @@ -1690,7 +1690,7 @@ - 341 byte 27 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/form/editForm/Form.edit.form.js @@ -1698,7 +1698,7 @@ - 955 byte 39 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/form/fixtures/comp1.js @@ -1706,7 +1706,7 @@ - 1617 byte 84 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/form/fixtures/comp2.js @@ -1714,7 +1714,7 @@ - 238 byte 15 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/form/fixtures/comp3.js @@ -1722,7 +1722,7 @@ - 3679 byte 168 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/form/fixtures/formModalEdit.js @@ -1730,7 +1730,7 @@ - 998 byte 50 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/form/fixtures/index.js @@ -1738,7 +1738,7 @@ - 132 byte 4 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/form/fixtures/values.js @@ -1746,7 +1746,7 @@ - 66 byte 7 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/hidden/Hidden.form.js @@ -1754,7 +1754,7 @@ 0 %0/1 520 byte 25 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/hidden/Hidden.js @@ -1762,7 +1762,7 @@ 9 %1/11 1219 byte 64 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/hidden/Hidden.unit.js @@ -1770,7 +1770,7 @@ - 275 byte 12 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/hidden/editForm/Hidden.edit.data.js @@ -1778,7 +1778,7 @@ - 178 byte 14 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/hidden/editForm/Hidden.edit.display.js @@ -1786,7 +1786,7 @@ - 501 byte 42 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/hidden/fixtures/comp1.js @@ -1794,7 +1794,7 @@ - 269 byte 18 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/hidden/fixtures/index.js @@ -1802,7 +1802,7 @@ - 29 byte 1 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/hidden/fixtures/values.js @@ -1810,7 +1810,7 @@ - 34 byte 4 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/html/HTML.form.js @@ -1818,7 +1818,7 @@ 0 %0/1 509 byte 25 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/html/HTML.js @@ -1826,7 +1826,7 @@ 0 %0/10 2124 byte 86 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/html/HTML.unit.js @@ -1834,7 +1834,7 @@ - 871 byte 33 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/html/editForm/HTML.edit.display.js @@ -1842,7 +1842,7 @@ - 1759 byte 98 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/html/editForm/HTML.edit.logic.js @@ -1850,7 +1850,7 @@ - 2998 byte 98 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/html/fixtures/comp1.js @@ -1858,7 +1858,7 @@ - 356 byte 22 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/html/fixtures/comp2.js @@ -1866,7 +1866,7 @@ - 420 byte 24 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/html/fixtures/index.js @@ -1874,7 +1874,7 @@ - 58 byte 2 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/index.js @@ -1882,7 +1882,7 @@ - 3739 byte 98 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/number/Number.form.js @@ -1890,7 +1890,7 @@ 0 %0/1 542 byte 22 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/number/Number.js @@ -1898,7 +1898,7 @@ 4 %1/24 6101 byte 212 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/number/Number.unit.js @@ -1906,7 +1906,7 @@ - 18510 byte 431 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/number/editForm/Number.edit.data.js @@ -1914,7 +1914,7 @@ - 593 byte 30 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/number/editForm/Number.edit.display.js @@ -1922,7 +1922,7 @@ - 230 byte 18 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/number/editForm/Number.edit.validation.js @@ -1930,7 +1930,7 @@ - 820 byte 44 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/number/fixtures/comp1.js @@ -1938,7 +1938,7 @@ - 538 byte 32 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/number/fixtures/comp2.js @@ -1946,7 +1946,7 @@ - 523 byte 31 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/number/fixtures/comp3.js @@ -1954,7 +1954,7 @@ - 231 byte 13 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/number/fixtures/comp4.js @@ -1962,7 +1962,7 @@ - 250 byte 13 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/number/fixtures/comp5.js @@ -1970,7 +1970,7 @@ - 348 byte 18 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/number/fixtures/index.js @@ -1978,7 +1978,7 @@ - 145 byte 5 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/number/fixtures/values.js @@ -1986,7 +1986,7 @@ - 82 byte 9 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/panel/Panel.form.js @@ -1994,7 +1994,7 @@ 0 %0/1 444 byte 17 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/panel/Panel.unit.js @@ -2002,7 +2002,7 @@ - 904 byte 31 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/panel/editForm/Panel.edit.conditional.js @@ -2010,7 +2010,7 @@ 0 %0/6 1104 byte 33 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/panel/editForm/Panel.edit.display.js @@ -2018,7 +2018,7 @@ - 3598 byte 162 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/panel/fixtures/comp1.js @@ -2026,7 +2026,7 @@ - 1617 byte 84 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/panel/fixtures/index.js @@ -2034,7 +2034,7 @@ - 29 byte 1 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/password/Password.form.js @@ -2042,7 +2042,7 @@ 0 %0/1 560 byte 22 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/password/Password.js @@ -2050,7 +2050,7 @@ 0 %0/5 804 byte 35 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/password/Password.unit.js @@ -2058,7 +2058,7 @@ - 382 byte 14 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/password/editForm/Password.edit.data.js @@ -2066,7 +2066,7 @@ - 757 byte 46 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/password/editForm/Password.edit.display.js @@ -2074,7 +2074,7 @@ - 124 byte 10 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/password/editForm/Password.edit.validation.js @@ -2082,7 +2082,7 @@ - 177 byte 14 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/password/fixtures/comp1.js @@ -2090,7 +2090,7 @@ - 354 byte 22 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/password/fixtures/index.js @@ -2098,7 +2098,7 @@ - 29 byte 1 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/password/fixtures/values.js @@ -2106,7 +2106,7 @@ - 49 byte 4 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/phonenumber/PhoneNumber.form.js @@ -2114,7 +2114,7 @@ 0 %0/1 513 byte 25 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/phonenumber/PhoneNumber.js @@ -2122,7 +2122,7 @@ 0 %0/4 679 byte 28 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/phonenumber/PhoneNumber.unit.js @@ -2130,7 +2130,7 @@ - 394 byte 14 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/phonenumber/editForm/PhoneNumber.edit.validation.js @@ -2138,7 +2138,7 @@ - 300 byte 22 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/phonenumber/fixtures/comp1.js @@ -2146,7 +2146,7 @@ - 457 byte 27 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/phonenumber/fixtures/index.js @@ -2154,7 +2154,7 @@ - 29 byte 1 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/phonenumber/fixtures/values.js @@ -2162,7 +2162,7 @@ - 60 byte 4 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/radio/Radio.form.js @@ -2170,7 +2170,7 @@ 0 %0/1 543 byte 22 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/radio/Radio.js @@ -2178,7 +2178,7 @@ 4 %1/21 5800 byte 229 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 21:46:30 (UTC) src/components/radio/Radio.unit.js @@ -2186,7 +2186,7 @@ - 1873 byte 54 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/radio/editForm/Radio.edit.data.js @@ -2194,7 +2194,7 @@ - 2097 byte 78 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/radio/editForm/Radio.edit.display.js @@ -2202,7 +2202,7 @@ - 703 byte 32 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/radio/editForm/Radio.edit.validation.js @@ -2210,7 +2210,7 @@ - 114 byte 10 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/radio/fixtures/comp1.js @@ -2218,7 +2218,7 @@ - 653 byte 42 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/radio/fixtures/comp2.js @@ -2226,7 +2226,7 @@ - 1817 byte 84 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/radio/fixtures/comp3.js @@ -2234,7 +2234,7 @@ - 1725 byte 88 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/radio/fixtures/index.js @@ -2242,7 +2242,7 @@ - 87 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/radio/fixtures/values.js @@ -2250,7 +2250,7 @@ - 48 byte 6 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/recaptcha/ReCaptcha.form.js @@ -2258,7 +2258,7 @@ 0 %0/1 487 byte 27 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/recaptcha/ReCaptcha.js @@ -2266,7 +2266,7 @@ 0 %0/15 4084 byte 142 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 21:46:30 (UTC) src/components/recaptcha/ReCaptcha.unit.js @@ -2274,7 +2274,7 @@ - 283 byte 14 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/recaptcha/editForm/ReCaptcha.edit.display.js @@ -2282,7 +2282,7 @@ - 1448 byte 97 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/recaptcha/fixtures/comp1.js @@ -2290,7 +2290,7 @@ - 141 byte 7 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/recaptcha/fixtures/index.js @@ -2298,7 +2298,7 @@ - 29 byte 1 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/resource/Resource.form.js @@ -2306,7 +2306,7 @@ 0 %0/1 287 byte 12 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/resource/Resource.js @@ -2314,7 +2314,7 @@ 0 %0/5 840 byte 38 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/resource/Resource.unit.js @@ -2322,7 +2322,7 @@ - 377 byte 15 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/resource/editForm/Resource.edit.display.js @@ -2330,7 +2330,7 @@ - 2684 byte 99 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/resource/fixtures/comp1.js @@ -2338,7 +2338,7 @@ - 593 byte 30 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/resource/fixtures/index.js @@ -2346,7 +2346,7 @@ - 29 byte 1 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/select/Select.form.js @@ -2354,7 +2354,7 @@ 0 %0/1 551 byte 22 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/select/Select.js @@ -2362,7 +2362,7 @@ 11 %10/86 45890 byte 1613 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 21:46:30 (UTC) src/components/select/Select.unit.js @@ -2370,7 +2370,7 @@ - 10847 byte 301 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/select/editForm/Select.edit.data.js @@ -2378,7 +2378,7 @@ - 16866 byte 659 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 21:46:30 (UTC) src/components/select/editForm/Select.edit.display.js @@ -2386,7 +2386,7 @@ - 557 byte 26 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/select/editForm/Select.edit.validation.js @@ -2394,7 +2394,7 @@ - 417 byte 13 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/select/fixtures/comp1.js @@ -2402,7 +2402,7 @@ - 1148 byte 64 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/select/fixtures/comp2.js @@ -2410,7 +2410,7 @@ - 1168 byte 65 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/select/fixtures/comp3.js @@ -2419,7 +2419,7 @@ 0 %0/2 5316 byte 208 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/select/fixtures/comp4.js @@ -2427,7 +2427,7 @@ - 2236 byte 104 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/select/fixtures/comp5.js @@ -2435,7 +2435,7 @@ - 455 byte 26 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/select/fixtures/comp6.js @@ -2443,7 +2443,7 @@ - 450 byte 28 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/select/fixtures/index.js @@ -2451,7 +2451,7 @@ - 204 byte 6 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/select/fixtures/values.js @@ -2459,7 +2459,7 @@ - 47 byte 5 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/selectboxes/SelectBoxes.form.js @@ -2467,7 +2467,7 @@ 0 %0/1 423 byte 20 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/selectboxes/SelectBoxes.js @@ -2475,7 +2475,7 @@ 20 %3/15 4463 byte 189 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/selectboxes/SelectBoxes.unit.js @@ -2483,7 +2483,7 @@ - 398 byte 14 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/selectboxes/editForm/SelectBoxes.edit.validation.js @@ -2491,7 +2491,7 @@ - 887 byte 34 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/selectboxes/fixtures/comp1.js @@ -2499,7 +2499,7 @@ - 814 byte 52 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/selectboxes/fixtures/comp2.js @@ -2507,7 +2507,7 @@ - 813 byte 52 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/selectboxes/fixtures/index.js @@ -2515,7 +2515,7 @@ - 58 byte 2 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/selectboxes/fixtures/values.js @@ -2523,7 +2523,7 @@ - 250 byte 22 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/signature/Signature.form.js @@ -2531,15 +2531,15 @@ 0 %0/1 579 byte 22 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/signature/Signature.js SignatureComponent 0 %0/24 - 6347 byte - 242 - 2021-01-06 19:07:56 (UTC) + 6423 byte + 243 + 2021-01-05 21:45:53 (UTC) src/components/signature/Signature.unit.js @@ -2547,7 +2547,7 @@ - 1 byte 1 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/signature/editForm/Signature.edit.data.js @@ -2555,7 +2555,7 @@ - 167 byte 14 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/signature/editForm/Signature.edit.display.js @@ -2563,7 +2563,7 @@ - 1105 byte 55 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/signature/editForm/Signature.edit.validation.js @@ -2571,7 +2571,7 @@ - 116 byte 10 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/signature/fixtures/comp1.js @@ -2579,7 +2579,7 @@ - 532 byte 28 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/signature/fixtures/index.js @@ -2587,7 +2587,7 @@ - 29 byte 1 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/signature/fixtures/values.js @@ -2595,7 +2595,7 @@ - 19360 byte 5 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/survey/Survey.form.js @@ -2603,7 +2603,7 @@ 0 %0/1 551 byte 21 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/survey/Survey.unit.js @@ -2611,7 +2611,7 @@ - 1937 byte 57 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/survey/editForm/Survey.edit.data.js @@ -2619,7 +2619,7 @@ - 1286 byte 58 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/survey/editForm/Survey.edit.display.js @@ -2627,7 +2627,7 @@ - 70 byte 6 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/survey/editForm/Survey.edit.validation.js @@ -2635,7 +2635,7 @@ - 69 byte 6 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/survey/fixtures/comp1.js @@ -2643,7 +2643,7 @@ - 928 byte 53 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/survey/fixtures/comp2.js @@ -2651,7 +2651,7 @@ - 927 byte 53 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/survey/fixtures/index.js @@ -2659,7 +2659,7 @@ - 58 byte 2 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/survey/fixtures/values.js @@ -2667,7 +2667,7 @@ - 94 byte 10 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/table/Table.form.js @@ -2675,7 +2675,7 @@ 0 %0/1 295 byte 12 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/table/Table.js @@ -2683,7 +2683,7 @@ 0 %0/16 4887 byte 167 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/table/Table.unit.js @@ -2691,7 +2691,7 @@ - 363 byte 14 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/table/editForm/Table.edit.display.js @@ -2699,7 +2699,7 @@ - 2138 byte 109 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/table/fixtures/comp1.js @@ -2707,7 +2707,7 @@ - 5784 byte 251 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/table/fixtures/index.js @@ -2715,7 +2715,7 @@ - 29 byte 1 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/tabs/Tabs.form.js @@ -2723,7 +2723,7 @@ 0 %0/1 292 byte 12 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/tabs/Tabs.js @@ -2731,7 +2731,7 @@ 5 %1/19 4310 byte 164 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/tabs/editForm/Tabs.edit.display.js @@ -2739,7 +2739,7 @@ - 873 byte 58 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/tags/Tags.form.js @@ -2747,7 +2747,7 @@ 0 %0/1 263 byte 12 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/tags/Tags.js @@ -2755,7 +2755,7 @@ 0 %0/16 3419 byte 145 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/tags/Tags.unit.js @@ -2763,7 +2763,7 @@ - 924 byte 32 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/tags/editForm/Tags.edit.data.js @@ -2771,7 +2771,7 @@ - 707 byte 37 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/tags/fixtures/comp1.js @@ -2779,7 +2779,7 @@ - 297 byte 20 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/tags/fixtures/comp2.js @@ -2787,7 +2787,7 @@ - 171 byte 10 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/tags/fixtures/index.js @@ -2795,7 +2795,7 @@ - 58 byte 2 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/tags/fixtures/values.js @@ -2803,7 +2803,7 @@ - 52 byte 4 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/textarea/TextArea.form.js @@ -2811,7 +2811,7 @@ 0 %0/1 569 byte 22 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/textarea/TextArea.unit.js @@ -2819,7 +2819,7 @@ - 1131 byte 45 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/textarea/editForm/TextArea.edit.display.js @@ -2827,7 +2827,7 @@ - 5592 byte 253 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/textarea/editForm/TextArea.edit.layout.js @@ -2835,7 +2835,7 @@ - 471 byte 24 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/textarea/editForm/TextArea.edit.validation.js @@ -2843,7 +2843,7 @@ - 505 byte 20 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/textarea/fixtures/comp1.js @@ -2851,7 +2851,7 @@ - 528 byte 31 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/textarea/fixtures/comp2.js @@ -2859,7 +2859,7 @@ - 490 byte 27 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/textarea/fixtures/index.js @@ -2867,7 +2867,7 @@ - 58 byte 2 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/textarea/fixtures/values.js @@ -2875,7 +2875,7 @@ - 61 byte 5 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/textfield/TextField.builder.spec.js @@ -2883,7 +2883,7 @@ - 7381 byte 152 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/textfield/TextField.form.js @@ -2891,7 +2891,7 @@ 0 %0/1 578 byte 22 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/textfield/TextField.js @@ -2899,7 +2899,7 @@ 36 %4/11 3921 byte 153 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/textfield/TextField.unit.js @@ -2907,7 +2907,7 @@ - 6201 byte 186 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/textfield/editForm/TextField.edit.data.js @@ -2915,7 +2915,7 @@ - 1007 byte 49 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/textfield/editForm/TextField.edit.display.js @@ -2923,7 +2923,7 @@ - 4357 byte 163 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/textfield/editForm/TextField.edit.validation.js @@ -2931,7 +2931,7 @@ - 1256 byte 47 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/textfield/fixtures/comp1.js @@ -2939,7 +2939,7 @@ - 588 byte 33 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/textfield/fixtures/comp2.js @@ -2947,7 +2947,7 @@ - 561 byte 31 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/textfield/fixtures/comp3.js @@ -2955,7 +2955,7 @@ - 551 byte 31 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/textfield/fixtures/comp4.js @@ -2963,7 +2963,7 @@ - 452 byte 25 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/textfield/fixtures/comp5.js @@ -2971,7 +2971,7 @@ - 191 byte 11 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/textfield/fixtures/index.js @@ -2979,7 +2979,7 @@ - 145 byte 5 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/textfield/fixtures/values.js @@ -2987,7 +2987,7 @@ - 44 byte 5 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/time/Time.form.js @@ -2995,7 +2995,7 @@ 0 %0/1 395 byte 17 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/time/Time.js @@ -3003,7 +3003,7 @@ 0 %0/24 3750 byte 164 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/time/Time.unit.js @@ -3011,7 +3011,7 @@ - 2704 byte 86 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/time/editForm/Time.edit.data.js @@ -3019,7 +3019,7 @@ - 236 byte 11 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/time/editForm/Time.edit.display.js @@ -3027,7 +3027,7 @@ - 811 byte 40 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/time/fixtures/comp1.js @@ -3035,7 +3035,7 @@ - 394 byte 24 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/time/fixtures/comp2.js @@ -3043,7 +3043,7 @@ - 145 byte 9 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/time/fixtures/comp3.js @@ -3051,7 +3051,7 @@ - 233 byte 16 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/time/fixtures/index.js @@ -3059,7 +3059,7 @@ - 159 byte 5 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/time/fixtures/timeForm.js @@ -3067,7 +3067,7 @@ - 927 byte 50 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/time/fixtures/timeForm2.js @@ -3075,7 +3075,7 @@ - 883 byte 42 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/time/fixtures/values.js @@ -3083,7 +3083,7 @@ - 62 byte 5 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/tree/Node.js @@ -3091,7 +3091,7 @@ 0 %0/35 3707 byte 189 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/tree/Tree.form.js @@ -3099,7 +3099,7 @@ 0 %0/1 148 byte 4 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/tree/Tree.js @@ -3107,7 +3107,7 @@ 0 %0/41 9031 byte 437 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/tree/Tree.unit.js @@ -3115,7 +3115,7 @@ - 1284 byte 45 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/tree/fixtures/comp1.js @@ -3123,7 +3123,7 @@ - 443 byte 23 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/tree/fixtures/index.js @@ -3131,7 +3131,7 @@ - 30 byte 2 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/unknown/Unknown.form.js @@ -3139,7 +3139,7 @@ 0 %0/1 374 byte 19 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/unknown/Unknown.js @@ -3147,7 +3147,7 @@ 0 %0/4 559 byte 27 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/unknown/Unknown.unit.js @@ -3155,7 +3155,7 @@ - 271 byte 14 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/unknown/editForm/Unknown.edit.display.js @@ -3163,7 +3163,7 @@ - 687 byte 25 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/unknown/fixtures/comp1.js @@ -3171,7 +3171,7 @@ - 123 byte 6 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/unknown/fixtures/index.js @@ -3179,7 +3179,7 @@ - 29 byte 1 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/url/Url.form.js @@ -3187,7 +3187,7 @@ 0 %0/1 378 byte 17 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/url/Url.js @@ -3195,7 +3195,7 @@ 0 %0/6 828 byte 38 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/url/Url.unit.js @@ -3203,7 +3203,7 @@ - 291 byte 14 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/url/editForm/Url.edit.data.js @@ -3211,7 +3211,7 @@ - 64 byte 6 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/url/editForm/Url.edit.display.js @@ -3219,7 +3219,7 @@ - 230 byte 18 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/url/fixtures/comp1.js @@ -3227,7 +3227,7 @@ - 409 byte 26 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/url/fixtures/index.js @@ -3235,7 +3235,7 @@ - 29 byte 1 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/url/fixtures/values.js @@ -3243,7 +3243,7 @@ - 75 byte 4 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/well/Well.form.js @@ -3251,7 +3251,7 @@ 0 %0/1 292 byte 12 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/well/Well.js @@ -3259,7 +3259,7 @@ 0 %0/8 796 byte 41 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/well/Well.unit.js @@ -3267,7 +3267,7 @@ - 640 byte 24 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/well/editForm/Well.edit.display.js @@ -3275,7 +3275,7 @@ - 361 byte 30 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/well/fixtures/comp1.js @@ -3283,7 +3283,7 @@ - 1538 byte 79 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/components/well/fixtures/index.js @@ -3291,7 +3291,7 @@ - 29 byte 1 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/contrib/edittable/EditTable.form.js @@ -3299,7 +3299,7 @@ 0 %0/1 1963 byte 77 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/contrib/edittable/EditTable.js @@ -3307,7 +3307,7 @@ 29 %8/27 6320 byte 284 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/contrib/edittable/EditTable.spec.js @@ -3315,7 +3315,7 @@ 0 %0/1 11343 byte 387 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/contrib/edittable/editForm/EditTable.edit.display.js @@ -3323,7 +3323,7 @@ - 501 byte 26 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/contrib/edittable/fixtures/basic.js @@ -3331,7 +3331,7 @@ - 189 byte 11 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/contrib/edittable/fixtures/index.js @@ -3339,7 +3339,7 @@ - 44 byte 1 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/contrib/index.js @@ -3347,7 +3347,7 @@ 0 %0/1 590 byte 20 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/contrib/location/Location.form.js @@ -3355,7 +3355,7 @@ 0 %0/1 322 byte 14 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/contrib/location/Location.js @@ -3363,7 +3363,7 @@ 0 %0/11 4591 byte 161 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/contrib/location/Location.spec.js @@ -3371,7 +3371,7 @@ - 301 byte 12 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/contrib/location/editForm/Location.edit.map.js @@ -3379,7 +3379,7 @@ - 920 byte 28 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/contrib/location/fixtures/comp1.js @@ -3387,7 +3387,7 @@ - 572 byte 35 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/contrib/location/fixtures/index.js @@ -3395,7 +3395,7 @@ - 29 byte 1 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/contrib/modaledit/ModalEdit.form.js @@ -3403,7 +3403,7 @@ 0 %0/1 404 byte 15 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/contrib/modaledit/ModalEdit.js @@ -3411,7 +3411,7 @@ 29 %5/17 4510 byte 187 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/contrib/modaledit/editForm/ModalEdit.edit.display.js @@ -3419,7 +3419,7 @@ - 831 byte 41 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/contrib/stripe/checkout/StripeCheckout.js @@ -3427,7 +3427,7 @@ 30 %4/13 3896 byte 135 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/contrib/stripe/checkout/StripeCheckout.spec.js @@ -3435,7 +3435,7 @@ - 327 byte 12 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/contrib/stripe/checkout/fixtures/comp1.js @@ -3443,7 +3443,7 @@ - 377 byte 19 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/contrib/stripe/checkout/fixtures/index.js @@ -3451,7 +3451,7 @@ - 29 byte 1 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/contrib/stripe/stripe/Stripe.js @@ -3459,7 +3459,7 @@ 47 %9/19 8716 byte 270 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/contrib/stripe/stripe/Stripe.spec.js @@ -3467,7 +3467,7 @@ - 294 byte 12 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/contrib/stripe/stripe/fixtures/comp1.js @@ -3475,7 +3475,7 @@ - 694 byte 38 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/contrib/stripe/stripe/fixtures/index.js @@ -3483,7 +3483,7 @@ - 29 byte 1 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/displays/Displays.js @@ -3491,7 +3491,7 @@ 0 %0/6 522 byte 28 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/displays/index.js @@ -3499,7 +3499,7 @@ - 61 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/formio.embed.js @@ -3507,7 +3507,7 @@ 0 %0/3 2048 byte 64 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 21:46:30 (UTC) src/formio.form.js @@ -3515,7 +3515,7 @@ 0 %0/1 3194 byte 105 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/i18n.js @@ -3523,7 +3523,7 @@ - 3013 byte 66 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 21:46:30 (UTC) src/index.js @@ -3531,7 +3531,7 @@ - 232 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/pdf.image.js @@ -3539,7 +3539,7 @@ - 10143 byte 93 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/polyfills/ElementPolyfill.js @@ -3547,7 +3547,7 @@ - 12754 byte 379 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/polyfills/index.js @@ -3555,7 +3555,7 @@ - 60 byte 2 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/providers/Providers.js @@ -3563,7 +3563,7 @@ 0 %0/6 788 byte 34 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/providers/address/AddressProvider.js @@ -3571,7 +3571,7 @@ 0 %0/15 1528 byte 65 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/providers/address/AzureAddressProvider.js @@ -3579,7 +3579,7 @@ 0 %0/7 639 byte 34 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/providers/address/CustomAddressProvider.js @@ -3587,7 +3587,7 @@ 0 %0/7 644 byte 29 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/providers/address/GoogleAddressProvider.js @@ -3595,7 +3595,7 @@ 0 %0/9 1007 byte 52 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/providers/address/NominatimAddressProvider.js @@ -3603,7 +3603,7 @@ 0 %0/7 631 byte 34 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/providers/address/index.js @@ -3611,7 +3611,7 @@ - 509 byte 11 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/providers/auth/index.js @@ -3619,7 +3619,7 @@ - 19 byte 1 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/providers/index.js @@ -3627,7 +3627,7 @@ - 64 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/providers/storage/azure.js @@ -3635,7 +3635,7 @@ 0 %0/1 870 byte 26 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/providers/storage/base64.js @@ -3643,7 +3643,7 @@ 0 %0/1 767 byte 34 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/providers/storage/dropbox.js @@ -3651,7 +3651,7 @@ 0 %0/1 1728 byte 58 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/providers/storage/index.js @@ -3659,7 +3659,7 @@ - 255 byte 15 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/providers/storage/indexeddb.js @@ -3667,7 +3667,7 @@ 0 %0/1 3072 byte 110 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/providers/storage/s3.js @@ -3675,7 +3675,7 @@ 0 %0/1 1469 byte 46 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/providers/storage/url.js @@ -3683,7 +3683,7 @@ 0 %0/1 4371 byte 143 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/providers/storage/xhr.js @@ -3691,7 +3691,7 @@ 0 %0/1 2401 byte 85 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/Templates.js @@ -3699,7 +3699,7 @@ 0 %0/10 1180 byte 51 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/Templates.unit.js @@ -3707,7 +3707,7 @@ 0 %0/11 5016 byte 128 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/address/index.js @@ -3715,7 +3715,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/builder/index.js @@ -3723,7 +3723,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/builderComponent/index.js @@ -3731,7 +3731,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/builderComponents/index.js @@ -3739,7 +3739,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/builderEditForm/index.js @@ -3747,7 +3747,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/builderPlaceholder/index.js @@ -3755,7 +3755,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/builderSidebar/index.js @@ -3763,7 +3763,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/builderSidebarGroup/index.js @@ -3771,7 +3771,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/builderWizard/index.js @@ -3779,7 +3779,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/button/index.js @@ -3787,7 +3787,7 @@ - 94 byte 4 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/checkbox/index.js @@ -3795,7 +3795,7 @@ - 94 byte 4 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/columns/index.js @@ -3803,7 +3803,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/component/index.js @@ -3811,7 +3811,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/componentModal/index.js @@ -3819,7 +3819,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/components/index.js @@ -3827,7 +3827,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/container/index.js @@ -3835,7 +3835,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/cssClasses.js @@ -3843,7 +3843,7 @@ - 168 byte 6 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/datagrid/index.js @@ -3851,7 +3851,7 @@ - 94 byte 4 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/day/index.js @@ -3859,7 +3859,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/dialog/index.js @@ -3867,7 +3867,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/editgrid/index.js @@ -3875,7 +3875,7 @@ - 94 byte 4 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/field/index.js @@ -3883,7 +3883,7 @@ - 97 byte 4 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/fieldset/index.js @@ -3891,7 +3891,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/file/index.js @@ -3899,7 +3899,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/html/index.js @@ -3907,7 +3907,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/icon/index.js @@ -3915,7 +3915,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/iconClass.js @@ -3923,7 +3923,7 @@ 0 %0/1 751 byte 32 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/index.js @@ -3931,7 +3931,7 @@ - 3166 byte 130 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/input/index.js @@ -3939,7 +3939,7 @@ - 94 byte 4 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/label/index.js @@ -3947,7 +3947,7 @@ - 56 byte 2 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/loader/index.js @@ -3955,7 +3955,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/loading/index.js @@ -3963,7 +3963,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/map/index.js @@ -3971,7 +3971,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/message/index.js @@ -3979,7 +3979,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/modalPreview/index.js @@ -3987,7 +3987,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/modaldialog/index.js @@ -3995,7 +3995,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/modaledit/index.js @@ -4003,7 +4003,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/multiValueRow/index.js @@ -4011,7 +4011,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/multiValueTable/index.js @@ -4019,7 +4019,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/multipleMasksInput/index.js @@ -4027,7 +4027,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/panel/index.js @@ -4035,7 +4035,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/pdf/index.js @@ -4043,7 +4043,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/pdfBuilder/index.js @@ -4051,7 +4051,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/pdfBuilderUpload/index.js @@ -4059,7 +4059,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/radio/index.js @@ -4067,7 +4067,7 @@ - 94 byte 4 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/resourceAdd/index.js @@ -4075,7 +4075,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/select/index.js @@ -4083,7 +4083,7 @@ - 94 byte 4 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/selectOption/index.js @@ -4091,7 +4091,7 @@ - 94 byte 4 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/signature/index.js @@ -4099,7 +4099,7 @@ - 94 byte 4 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/survey/index.js @@ -4107,7 +4107,7 @@ - 94 byte 4 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/tab/index.js @@ -4115,7 +4115,7 @@ - 94 byte 4 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/table/index.js @@ -4123,7 +4123,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/tree/index.js @@ -4131,7 +4131,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/tree/partials/index.js @@ -4139,7 +4139,7 @@ - 151 byte 11 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/webform/index.js @@ -4147,7 +4147,7 @@ - 103 byte 4 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/well/index.js @@ -4155,7 +4155,7 @@ - 57 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/wizard/index.js @@ -4163,7 +4163,7 @@ - 102 byte 3 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/wizardHeader/index.js @@ -4171,7 +4171,7 @@ - 56 byte 2 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/bootstrap/wizardNav/index.js @@ -4179,7 +4179,7 @@ - 56 byte 2 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/templates/index.js @@ -4187,7 +4187,7 @@ - 341 byte 11 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/utils/ChoicesWrapper.js @@ -4196,7 +4196,7 @@ 6 %1/15 4885 byte 211 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/utils/Evaluator.js @@ -4204,7 +4204,7 @@ 0 %0/1 2242 byte 81 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/utils/builder.js @@ -4212,7 +4212,7 @@ - 2381 byte 95 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 18:17:52 (UTC) src/utils/calendarUtils.js @@ -4222,7 +4222,7 @@ 75 %3/4 4073 byte 147 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/utils/formUtils.js @@ -4246,7 +4246,7 @@ 88 %15/17 16401 byte 607 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/utils/index.js @@ -4254,7 +4254,7 @@ - 140 byte 5 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/utils/jsonlogic/operators.js @@ -4262,7 +4262,7 @@ 0 %0/1 3644 byte 262 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/utils/jsonlogic/operators.spec.js @@ -4270,7 +4270,7 @@ - 3996 byte 124 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/utils/utils.unit.js @@ -4278,7 +4278,7 @@ 0 %0/6 23747 byte 824 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/validator/Rules.js @@ -4286,7 +4286,7 @@ 0 %0/6 348 byte 21 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/validator/Validator.js @@ -4294,7 +4294,7 @@ 6 %1/15 33389 byte 1050 - 2021-01-06 19:11:52 (UTC) + 2021-01-05 21:46:30 (UTC) src/validator/Validator.unit.js @@ -4302,7 +4302,7 @@ - 34167 byte 1112 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/validator/rules/Custom.js @@ -4310,7 +4310,7 @@ 0 %0/4 471 byte 27 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/validator/rules/Date.js @@ -4318,7 +4318,7 @@ 0 %0/4 438 byte 18 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/validator/rules/Day.js @@ -4326,7 +4326,7 @@ 0 %0/4 1565 byte 58 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/validator/rules/Email.js @@ -4334,7 +4334,7 @@ 0 %0/4 638 byte 19 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/validator/rules/JSON.js @@ -4342,7 +4342,7 @@ 0 %0/4 425 byte 26 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/validator/rules/Mask.js @@ -4350,7 +4350,7 @@ 0 %0/4 726 byte 26 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/validator/rules/Max.js @@ -4358,7 +4358,7 @@ 0 %0/4 383 byte 16 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/validator/rules/MaxDate.js @@ -4366,7 +4366,7 @@ 0 %0/4 741 byte 32 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/validator/rules/MaxLength.js @@ -4374,7 +4374,7 @@ 0 %0/4 385 byte 13 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/validator/rules/MaxWords.js @@ -4382,7 +4382,7 @@ 0 %0/4 382 byte 13 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/validator/rules/MaxYear.js @@ -4390,7 +4390,7 @@ 0 %0/4 383 byte 17 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/validator/rules/Min.js @@ -4398,7 +4398,7 @@ 0 %0/4 380 byte 16 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/validator/rules/MinDate.js @@ -4406,7 +4406,7 @@ 0 %0/4 600 byte 27 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/validator/rules/MinLength.js @@ -4414,7 +4414,7 @@ 0 %0/4 418 byte 13 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/validator/rules/MinWords.js @@ -4422,7 +4422,7 @@ 0 %0/4 388 byte 13 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/validator/rules/MinYear.js @@ -4430,7 +4430,7 @@ 0 %0/4 381 byte 17 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/validator/rules/Pattern.js @@ -4438,7 +4438,7 @@ 0 %0/4 323 byte 15 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/validator/rules/Required.js @@ -4446,7 +4446,7 @@ 0 %0/4 264 byte 11 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/validator/rules/Rule.js @@ -4454,7 +4454,7 @@ 0 %0/6 188 byte 11 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/validator/rules/Select.js @@ -4462,7 +4462,7 @@ 0 %0/5 2774 byte 108 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/validator/rules/Time.js @@ -4470,7 +4470,7 @@ 0 %0/4 308 byte 11 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/validator/rules/Unique.js @@ -4478,7 +4478,7 @@ 0 %0/4 2044 byte 72 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/validator/rules/Url.js @@ -4486,7 +4486,7 @@ 0 %0/4 566 byte 15 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/validator/rules/index.js @@ -4494,7 +4494,7 @@ 0 %0/22 1023 byte 47 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/widgets/InputWidget.js @@ -4502,7 +4502,7 @@ 0 %0/17 1083 byte 63 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) src/widgets/index.js @@ -4510,7 +4510,7 @@ - 157 byte 6 - 2021-01-06 19:07:56 (UTC) + 2021-01-05 18:17:52 (UTC) diff --git a/lib/Changelog.md b/lib/Changelog.md index 6b221b0db8..fb24474b1f 100644 --- a/lib/Changelog.md +++ b/lib/Changelog.md @@ -4,6 +4,177 @@ All notable changes to this project will be documented in this file The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +### 4.12.6 +#### Fixed + - FIO-1205: Using NativePromise instead of Promise + +### 4.12.5 +#### Fixed + - FIO-1160: Fixes errors when there is an undefined value in the inputs array + +### 4.12.4 +#### Changed + - No changes. Released 4.12.4-rc.3 as official release. + +### 4.12.4-rc.3 +#### Fixed + - Fixing issues where custom builder sidebars would crash and cause errors. + +### 4.12.4-rc.2 +#### Fixed + - FOR-2874: Added recaptcha async validation. + +### 4.12.4-rc.1 +#### Fixed + - Fixing issue where itemsLoaded does not resolve if the select is not attached. + - FJS-1488: Fixing issue where setting tabindex on components inside datagrid does not also apply to remove row and add another buttons. + +#### Changed + - Upgrade idb@5.0.8, uuid@8.3.2, @babel/cli@7.12.10, @babel/core@7.12.10, @babel/plugin-proposal-optional-chaining@7.12.7, @babel/preset-env@7.12.10, @babel/register@7.12.10, babel-loader@8.2.2, marked@1.2.6, sinon@9.2.2, eslint@7.15.0, fetch-mock@9.11.0 + +### 4.12.3 +#### Changed + - No changes. Released 4.12.3-rc.1 as official release. + +### 4.12.3-rc.1 +#### Fixed + - Fixed an issue where form properties of WizardBuilder and corresponding Webform are different + +### 4.12.2 +#### Changed + - No changes. Released 4.12.2-rc.8 as official release. + +### 4.12.2-rc.8 +#### Fixed + - FJS-1449: Fixes an issue where is-invalid class is not set/removed for fields with CalendarWidget + +### 4.12.2-rc.7 +#### Fixed + - FJS-1484: fixed an issue where wizard resets form after components schema is changed inside the code + - FJS-1487: fixed an issue where conditional columns are not displayed inside dataGrid when the condition is met + - FOR-2882: fix the mode path in ace + - Fixed an issue where forms which have some logic get stuck in infinite loop + +### 4.12.2-rc.6 +#### Fixed + - Issue where a conditionally hidden datagrid was not initializing the data correctly resulting in data not saving. + +### 4.12.2-rc.5 +#### Fixed + - FJS-1466: focus on the default value in the currency field + - FJS-1470: fixed infinite loop in wizard with dataGrid + +### 4.12.2-rc.4 +#### Fixed + - FJS-1297: fix editing nested wizards + - Fixing issues where clearOnHide would cause data to erroneously reset within nested conditionals + - FJS-1470: fixed an issue where infinite loop is created in wizard after internal form schema change + - FJS-1312: fix display of subform errors in wizards + - UIP-263: EditGrid: fix values with html tags got injected in template + - FJS-1429: fixed currency validation regexp + - FJS-1456: add line breaks for fields in modal preview + - FJS-1333: Fixes an issue where all the validation errors are shown for the modal draft row + +### 4.12.2-rc.3 +#### Added + - FJS-1380: Adds a validation which checks if the value is available within component's values setting + +### 4.12.2-rc.2 +#### Added + - UIP-261: Select: add use exact search option + +#### Fixed + - UIP-251: File: hide file drop area when file is uploading + - FJS-1428: Fixes an issue where lazy loading Select shows item only after the second click + - FMG-89 | PDF form | When the PDF is being uploaded, text in the upload progress bar is too small + - FMG-133 (1.96.0 Regression) When switching to PDF mode, you just get the spinning circle. I am not able to add a PDF + - FJS-1449: Fixing issues where the DateTime component is erroneously triggering changes. + +### 4.12.2-rc.1 +#### Fixed + - FMG-86 | Edit Form page | Accordions within the Resource Fields accordion do not expand/collapse when the ‘Wizard’ or the ‘PDF’ is selected in the Form Select drop down + - FJS-1438: fixed an issue where dataGrid extra components are not removed after setting value with fewer rows + - FJS-1297: fix data submission for nested wizards + - PDFBuilder: fix same type components get equal keys + - UIP-260: Button: fix not updated disabled attribute + - FJS-1312: fix display of list of errors during submission + - FJS-1442: Wizard: emit event when this.pages changes + - PDF-170: Fix files ready resolving promise + - VPAT-697 Added border outlines to Datasource component in formbuilder + - VPAT-431 Fixed issue when CKEditor text size styles were missing in forms (content components) + - FJS-1440: fixed an issue where hidden page is dispalyed in wizard navigation bar and wizard data is cleared after navigating to such page + +#### Changed + - Upgrade i18next@19.8.4, jwt-decode@3.1.2, marked@1.2.4, webpack-stream@6.1.1, vanilla-picker@2.11.0, babel-loader@8.2.1, dialog-polyfill@0.5.4, moment-timezone@0.5.32 + +### 4.12.1 +#### Changed + - No changes. Released 4.12.1-rc.28 as official release. + +### 4.12.1-rc.28 +#### Fixed + - PDF-213: Fix ids mismatch + - FJS-1427: Component settings can't be opened after the Property name is cleared + - PDF-197: Set Formio base url and project url for pdf iframe + - FJS-1298: fix page display in one line when condition is set + - Fix: fix the modalEdit logic for the EditGrid component + +### 4.12.1-rc.27 +#### Fixed + - FJS-1426: Fixes an issue where NestedForm's data is not shown when it is inside DataGrid + +#### Changed + - Upgrade json-logic-js@2.0.0 which resolves https://www.npmjs.com/advisories/1542 + - Upgrade marked@1.2.3, jwt-decode@3.1.1, eslint@7.13.0 + +### 4.12.1-rc.26 +#### Added + - Pass along the saved flag to the submit event. + - UIP-245: File: adjust file upload status events to be caught by angular-formio + +### 4.12.1-rc.25 +#### Fixed + - FOR-2838/2839/2843: Fixes an issue with incorrect projectUrl when using not Subdomain path type. Also made that we always use global Formio. + +### 4.12.1-rc.24 +#### Changed + - FJS-1379: changes for more flexible inheritance + +### 4.12.1-rc.23 +#### Fixed + - VPAT-664 Changed setAlert signature to more flexible extension in VPAT + +### 4.12.1-rc.22 +#### Fixed + - FJS-1306: Fixes an issue where JSON Select example is not loaded in IE11 + - FJS-1306: Fixes small issues with Select and improves its performance + - FJS-1378: fix the display for editRows for the first render + +### 4.12.1-rc.21 +#### Fixed + - Problem where the form JSON would remove function based evals. + +### 4.12.1-rc.20 +#### Fixed + - Sanitize method to not execute if the sanitize method is not defined (node.js) + +### 4.12.1-rc.19 +#### Fixed + - FJS-1301 & FJS-1302 Regressions on examples of github (Problem with Formio global object) + - FJS-1273: Space between character and word counter + - FJS-1375: Fixes an issue where Model is not cleared when Make is changed in examples + - FJS-1372: Fixes an issue where Rendered Form and Submission are not updated when the form is changed + - UIP-251: Fix multiple files disabled allowed to browse during upload + - PDF-197: Apply select component force update on attach step + - FJS-1372: Fixes an issue where Rendered Form and Submission are not updated when form is changed + - FJS-1311: Clicking on the errors not redirected to the corresponding field in the Child Wizard + - FJS-1348: remove the DynamicWizard component from the Webform builder + - FJS-1382: fixed an issue where date value is changed when reopening modal row in editGrid after setting submission + - FJS-1355: add disableSiblings logic for the builder + - FJS-1349: fix EditGrid reset after cancel + - FOR-2815 : Fixes an issue where scripts passed to TextArea/TextField are executed while rendering + - FJS-1092: Wizard form page navigation bar needs to be responsive + ### 4.12.1-rc.18 #### Fixed - Fixed focus for file component diff --git a/lib/Element.js b/lib/Element.js index 61c632d4a9..b218380c00 100644 --- a/lib/Element.js +++ b/lib/Element.js @@ -591,7 +591,7 @@ var Element = /*#__PURE__*/function () { var classes = element.getAttribute('class'); - if (!(classes === null || classes === void 0 ? void 0 : classes.includes(className))) { + if (!(classes !== null && classes !== void 0 && classes.includes(className))) { element.setAttribute('class', "".concat(classes, " ").concat(className)); } diff --git a/lib/EventEmitter.js b/lib/EventEmitter.js index 2c93fb7091..9e6f42a9f1 100644 --- a/lib/EventEmitter.js +++ b/lib/EventEmitter.js @@ -1,35 +1,11 @@ "use strict"; -require("core-js/modules/es.symbol"); - -require("core-js/modules/es.symbol.description"); - -require("core-js/modules/es.symbol.iterator"); +function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } require("core-js/modules/es.array.concat"); -require("core-js/modules/es.array.index-of"); - -require("core-js/modules/es.array.iterator"); - -require("core-js/modules/es.object.get-own-property-descriptor"); - require("core-js/modules/es.object.get-prototype-of"); -require("core-js/modules/es.object.keys"); - -require("core-js/modules/es.object.to-string"); - -require("core-js/modules/es.reflect.construct"); - -require("core-js/modules/es.reflect.get"); - -require("core-js/modules/es.regexp.to-string"); - -require("core-js/modules/es.string.iterator"); - -require("core-js/modules/web.dom-collections.iterator"); - Object.defineProperty(exports, "__esModule", { value: true }); @@ -43,8 +19,6 @@ function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } - function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } diff --git a/lib/Form.js b/lib/Form.js index 847c9b66ff..4e6ed2f5a2 100644 --- a/lib/Form.js +++ b/lib/Form.js @@ -1,29 +1,17 @@ "use strict"; -require("core-js/modules/es.symbol"); - -require("core-js/modules/es.symbol.description"); - -require("core-js/modules/es.symbol.iterator"); +function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } require("core-js/modules/es.array.concat"); -require("core-js/modules/es.array.iterator"); - require("core-js/modules/es.object.assign"); require("core-js/modules/es.object.get-prototype-of"); require("core-js/modules/es.object.to-string"); -require("core-js/modules/es.reflect.construct"); - require("core-js/modules/es.regexp.to-string"); -require("core-js/modules/es.string.iterator"); - -require("core-js/modules/web.dom-collections.iterator"); - Object.defineProperty(exports, "__esModule", { value: true }); @@ -49,8 +37,6 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de function _construct(Parent, args, Class) { if (_isNativeReflectConstruct()) { _construct = Reflect.construct; } else { _construct = function _construct(Parent, args, Class) { var a = [null]; a.push.apply(a, args); var Constructor = Function.bind.apply(Parent, a); var instance = new Constructor(); if (Class) _setPrototypeOf(instance, Class.prototype); return instance; }; } return _construct.apply(null, arguments); } -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } diff --git a/lib/FormBuilder.js b/lib/FormBuilder.js index e352419f51..ab262f1303 100644 --- a/lib/FormBuilder.js +++ b/lib/FormBuilder.js @@ -1,27 +1,9 @@ "use strict"; -require("core-js/modules/es.symbol"); - -require("core-js/modules/es.symbol.description"); - -require("core-js/modules/es.symbol.iterator"); - -require("core-js/modules/es.array.iterator"); +function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } require("core-js/modules/es.object.assign"); -require("core-js/modules/es.object.get-prototype-of"); - -require("core-js/modules/es.object.to-string"); - -require("core-js/modules/es.reflect.construct"); - -require("core-js/modules/es.regexp.to-string"); - -require("core-js/modules/es.string.iterator"); - -require("core-js/modules/web.dom-collections.iterator"); - Object.defineProperty(exports, "__esModule", { value: true }); @@ -37,8 +19,6 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de function _construct(Parent, args, Class) { if (_isNativeReflectConstruct()) { _construct = Reflect.construct; } else { _construct = function _construct(Parent, args, Class) { var a = [null]; a.push.apply(a, args); var Constructor = Function.bind.apply(Parent, a); var instance = new Constructor(); if (Class) _setPrototypeOf(instance, Class.prototype); return instance; }; } return _construct.apply(null, arguments); } -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } diff --git a/lib/Formio.js b/lib/Formio.js index a60c844333..52a079f232 100644 --- a/lib/Formio.js +++ b/lib/Formio.js @@ -12,8 +12,6 @@ require("core-js/modules/es.array.filter"); require("core-js/modules/es.array.for-each"); -require("core-js/modules/es.array.from"); - require("core-js/modules/es.array.includes"); require("core-js/modules/es.array.index-of"); @@ -26,10 +24,6 @@ require("core-js/modules/es.array.map"); require("core-js/modules/es.array.reduce"); -require("core-js/modules/es.array.slice"); - -require("core-js/modules/es.function.name"); - require("core-js/modules/es.number.constructor"); require("core-js/modules/es.object.assign"); @@ -266,7 +260,21 @@ var Formio = /*#__PURE__*/function () { }; if (!this.projectUrl || this.projectUrl === this.base) { - this.projectUrl = hostName; + // If a project uses Subdirectories path type, we need to specify a projectUrl + if (!this.projectUrl && !isProjectUrl && Formio.pathType === 'Subdirectories') { + var regex = "^".concat(hostName.replace(/\//g, '\\/'), ".[^/]+"); + var match = project.match(new RegExp(regex)); + this.projectUrl = match ? match[0] : hostName; + } else { + this.projectUrl = hostName; + } + } // Check if we have a specified path type. + + + var isNotSubdomainType = false; + + if (Formio.pathType) { + isNotSubdomainType = Formio.pathType !== 'Subdomains'; } if (!this.noProject) { @@ -287,7 +295,7 @@ var Formio = /*#__PURE__*/function () { } } else { // Get project id from subdomain. - if (hostparts.length > 2 && (hostparts[2].split('.').length > 2 || hostName.includes('localhost'))) { + if (hostparts.length > 2 && (hostparts[2].split('.').length > 2 || hostName.includes('localhost')) && !isNotSubdomainType) { this.projectUrl = hostName; this.projectId = hostparts[2].split('.')[0]; } @@ -694,7 +702,7 @@ var Formio = /*#__PURE__*/function () { } }, { key: "uploadFile", - value: function uploadFile(storage, file, fileName, dir, progressCallback, url, options, fileKey, groupPermissions, groupId) { + value: function uploadFile(storage, file, fileName, dir, progressCallback, url, options, fileKey, groupPermissions, groupId, uploadStartCallback) { var _this5 = this; var requestArgs = { @@ -712,6 +720,11 @@ var Formio = /*#__PURE__*/function () { if (Provider) { var provider = new Provider(_this5); + + if (uploadStartCallback) { + uploadStartCallback(); + } + return provider.uploadFile(file, fileName, dir, progressCallback, url, options, fileKey, groupPermissions, groupId); } else { throw 'Storage provider not found'; @@ -912,7 +925,7 @@ var Formio = /*#__PURE__*/function () { }, { key: "getUrlParts", value: function getUrlParts(url, formio) { - var base = formio && formio.base ? formio.base : Formio.baseUrl; + var base = formio && formio.base ? formio.base : getFormio().baseUrl; var regex = '^(http[s]?:\\/\\/)'; if (base && url.indexOf(base) === 0) { @@ -970,26 +983,26 @@ var Formio = /*#__PURE__*/function () { }, { key: "makeStaticRequest", value: function makeStaticRequest(url, method, data, opts) { - var requestArgs = Formio.getRequestArgs(null, '', url, method, data, opts); - var request = Formio.pluginWait('preRequest', requestArgs).then(function () { - return Formio.pluginGet('staticRequest', requestArgs).then(function (result) { + var requestArgs = getFormio().getRequestArgs(null, '', url, method, data, opts); + var request = getFormio().pluginWait('preRequest', requestArgs).then(function () { + return getFormio().pluginGet('staticRequest', requestArgs).then(function (result) { if (isNil(result)) { - return Formio.request(url, method, requestArgs.data, requestArgs.opts.header, requestArgs.opts); + return getFormio().request(url, method, requestArgs.data, requestArgs.opts.header, requestArgs.opts); } return result; }); }); - return Formio.pluginAlter('wrapStaticRequestPromise', request, requestArgs); + return getFormio().pluginAlter('wrapStaticRequestPromise', request, requestArgs); } }, { key: "makeRequest", value: function makeRequest(formio, type, url, method, data, opts) { if (!formio) { - return Formio.makeStaticRequest(url, method, data, opts); + return getFormio().makeStaticRequest(url, method, data, opts); } - var requestArgs = Formio.getRequestArgs(formio, type, url, method, data, opts); + var requestArgs = getFormio().getRequestArgs(formio, type, url, method, data, opts); requestArgs.opts = requestArgs.opts || {}; requestArgs.opts.formio = formio; //for Formio requests default Accept and Content-type headers @@ -1001,16 +1014,16 @@ var Formio = /*#__PURE__*/function () { 'Accept': 'application/json', 'Content-type': 'application/json' }); - var request = Formio.pluginWait('preRequest', requestArgs).then(function () { - return Formio.pluginGet('request', requestArgs).then(function (result) { + var request = getFormio().pluginWait('preRequest', requestArgs).then(function () { + return getFormio().pluginGet('request', requestArgs).then(function (result) { if (isNil(result)) { - return Formio.request(url, method, requestArgs.data, requestArgs.opts.header, requestArgs.opts); + return getFormio().request(url, method, requestArgs.data, requestArgs.opts.header, requestArgs.opts); } return result; }); }); - return Formio.pluginAlter('wrapRequestPromise', request, requestArgs); + return getFormio().pluginAlter('wrapRequestPromise', request, requestArgs); } }, { key: "request", @@ -1035,8 +1048,8 @@ var Formio = /*#__PURE__*/function () { var cacheKey = btoa(encodeURI(url)); // Get the cached promise to save multiple loads. - if (!opts.ignoreCache && method === 'GET' && Formio.cache.hasOwnProperty(cacheKey)) { - return _nativePromiseOnly.default.resolve(cloneResponse(Formio.cache[cacheKey])); + if (!opts.ignoreCache && method === 'GET' && getFormio().cache.hasOwnProperty(cacheKey)) { + return _nativePromiseOnly.default.resolve(cloneResponse(getFormio().cache[cacheKey])); } // Set up and fetch request @@ -1044,7 +1057,7 @@ var Formio = /*#__PURE__*/function () { 'Accept': 'application/json', 'Content-type': 'application/json' }); - var token = Formio.getToken(opts); + var token = getFormio().getToken(opts); if (token && !opts.noToken) { headers.append('x-jwt-token', token); @@ -1066,30 +1079,30 @@ var Formio = /*#__PURE__*/function () { } // Allow plugins to alter the options. - options = Formio.pluginAlter('requestOptions', options, url); + options = getFormio().pluginAlter('requestOptions', options, url); - if (options.namespace || Formio.namespace) { - opts.namespace = options.namespace || Formio.namespace; + if (options.namespace || getFormio().namespace) { + opts.namespace = options.namespace || getFormio().namespace; } var requestToken = options.headers['x-jwt-token']; - var result = Formio.pluginAlter('wrapFetchRequestPromise', Formio.fetch(url, options), { + var result = getFormio().pluginAlter('wrapFetchRequestPromise', getFormio().fetch(url, options), { url: url, method: method, data: data, opts: opts }).then(function (response) { // Allow plugins to respond. - response = Formio.pluginAlter('requestResponse', response, Formio, data); + response = getFormio().pluginAlter('requestResponse', response, Formio, data); if (!response.ok) { if (response.status === 440) { - Formio.setToken(null, opts); - Formio.events.emit('formio.sessionExpired', response.body); + getFormio().setToken(null, opts); + getFormio().events.emit('formio.sessionExpired', response.body); } else if (response.status === 401) { - Formio.events.emit('formio.unauthorized', response.body); + getFormio().events.emit('formio.unauthorized', response.body); } else if (response.status === 416) { - Formio.events.emit('formio.rangeIsNotSatisfiable', response.body); + getFormio().events.emit('formio.rangeIsNotSatisfiable', response.body); } // Parse and return the error as a rejected promise to reject this promise @@ -1112,7 +1125,7 @@ var Formio = /*#__PURE__*/function () { } if (response.status >= 200 && response.status < 300 && token && token !== '' && !tokenIntroduced) { - Formio.setToken(token, opts); + getFormio().setToken(token, opts); } // 204 is no content. Don't try to .json() it. @@ -1158,14 +1171,14 @@ var Formio = /*#__PURE__*/function () { if (method === 'GET') { - Formio.cache[cacheKey] = result; + getFormio().cache[cacheKey] = result; } return cloneResponse(result); }).catch(function (err) { if (err === 'Bad Token') { - Formio.setToken(null, opts); - Formio.events.emit('formio.badToken', err); + getFormio().setToken(null, opts); + getFormio().events.emit('formio.badToken', err); } if (err.message) { @@ -1174,7 +1187,7 @@ var Formio = /*#__PURE__*/function () { } if (method === 'GET') { - delete Formio.cache[cacheKey]; + delete getFormio().cache[cacheKey]; } return _nativePromiseOnly.default.reject(err); @@ -1191,16 +1204,16 @@ var Formio = /*#__PURE__*/function () { opts = typeof opts === 'string' ? { namespace: opts } : opts || {}; - var tokenName = "".concat(opts.namespace || Formio.namespace || 'formio', "Token"); + var tokenName = "".concat(opts.namespace || getFormio().namespace || 'formio', "Token"); - if (!Formio.tokens) { - Formio.tokens = {}; + if (!getFormio().tokens) { + getFormio().tokens = {}; } if (!token) { if (!opts.fromUser) { opts.fromToken = true; - Formio.setUser(null, opts); + getFormio().setUser(null, opts); } // iOS in private browse mode will throw an error but we can't detect ahead of time that we are in private mode. @@ -1212,12 +1225,12 @@ var Formio = /*#__PURE__*/function () { }); } - Formio.tokens[tokenName] = token; + getFormio().tokens[tokenName] = token; return _nativePromiseOnly.default.resolve(null); } - if (Formio.tokens[tokenName] !== token) { - Formio.tokens[tokenName] = token; // iOS in private browse mode will throw an error but we can't detect ahead of time that we are in private mode. + if (getFormio().tokens[tokenName] !== token) { + getFormio().tokens[tokenName] = token; // iOS in private browse mode will throw an error but we can't detect ahead of time that we are in private mode. try { localStorage.setItem(tokenName, token); @@ -1229,7 +1242,7 @@ var Formio = /*#__PURE__*/function () { } // Return or updates the current user - return Formio.currentUser(opts.formio, opts); + return getFormio().currentUser(opts.formio, opts); } }, { key: "getToken", @@ -1237,45 +1250,45 @@ var Formio = /*#__PURE__*/function () { options = typeof options === 'string' ? { namespace: options } : options || {}; - var tokenName = "".concat(options.namespace || Formio.namespace || 'formio', "Token"); + var tokenName = "".concat(options.namespace || getFormio().namespace || 'formio', "Token"); var decodedTokenName = options.decode ? "".concat(tokenName, "Decoded") : tokenName; - if (!Formio.tokens) { - Formio.tokens = {}; + if (!getFormio().tokens) { + getFormio().tokens = {}; } - if (Formio.tokens[decodedTokenName]) { - return Formio.tokens[decodedTokenName]; + if (getFormio().tokens[decodedTokenName]) { + return getFormio().tokens[decodedTokenName]; } try { - Formio.tokens[tokenName] = localStorage.getItem(tokenName) || ''; + getFormio().tokens[tokenName] = localStorage.getItem(tokenName) || ''; if (options.decode) { - Formio.tokens[decodedTokenName] = Formio.tokens[tokenName] ? (0, _jwtDecode.default)(Formio.tokens[tokenName]) : {}; - return Formio.tokens[decodedTokenName]; + getFormio().tokens[decodedTokenName] = getFormio().tokens[tokenName] ? (0, _jwtDecode.default)(getFormio().tokens[tokenName]) : {}; + return getFormio().tokens[decodedTokenName]; } - return Formio.tokens[tokenName]; + return getFormio().tokens[tokenName]; } catch (e) { - Formio.tokens[tokenName] = _browserCookies.default.get(tokenName); - return Formio.tokens[tokenName]; + getFormio().tokens[tokenName] = _browserCookies.default.get(tokenName); + return getFormio().tokens[tokenName]; } } }, { key: "setUser", value: function setUser(user) { var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - var userName = "".concat(opts.namespace || Formio.namespace || 'formio', "User"); + var userName = "".concat(opts.namespace || getFormio().namespace || 'formio', "User"); if (!user) { if (!opts.fromToken) { opts.fromUser = true; - Formio.setToken(null, opts); + getFormio().setToken(null, opts); } // Emit an event on the cleared user. - Formio.events.emit('formio.user', null); // iOS in private browse mode will throw an error but we can't detect ahead of time that we are in private mode. + getFormio().events.emit('formio.user', null); // iOS in private browse mode will throw an error but we can't detect ahead of time that we are in private mode. try { return localStorage.removeItem(userName); @@ -1296,13 +1309,13 @@ var Formio = /*#__PURE__*/function () { } // Emit an event on the authenticated user. - Formio.events.emit('formio.user', user); + getFormio().events.emit('formio.user', user); } }, { key: "getUser", value: function getUser(options) { options = options || {}; - var userName = "".concat(options.namespace || Formio.namespace || 'formio', "User"); + var userName = "".concat(options.namespace || getFormio().namespace || 'formio', "User"); try { return JSON.parse(localStorage.getItem(userName) || null); @@ -1313,60 +1326,60 @@ var Formio = /*#__PURE__*/function () { }, { key: "setBaseUrl", value: function setBaseUrl(url) { - Formio.baseUrl = url; + getFormio().baseUrl = url; - if (!Formio.projectUrlSet) { - Formio.projectUrl = url; + if (!getFormio().projectUrlSet) { + getFormio().projectUrl = url; } } }, { key: "getBaseUrl", value: function getBaseUrl() { - return Formio.baseUrl; + return getFormio().baseUrl; } }, { key: "setApiUrl", value: function setApiUrl(url) { - return Formio.setBaseUrl(url); + return getFormio().setBaseUrl(url); } }, { key: "getApiUrl", value: function getApiUrl() { - return Formio.getBaseUrl(); + return getFormio().getBaseUrl(); } }, { key: "setAppUrl", value: function setAppUrl(url) { console.warn('Formio.setAppUrl() is deprecated. Use Formio.setProjectUrl instead.'); - Formio.projectUrl = url; - Formio.projectUrlSet = true; + getFormio().projectUrl = url; + getFormio().projectUrlSet = true; } }, { key: "setProjectUrl", value: function setProjectUrl(url) { - Formio.projectUrl = url; - Formio.projectUrlSet = true; + getFormio().projectUrl = url; + getFormio().projectUrlSet = true; } }, { key: "setAuthUrl", value: function setAuthUrl(url) { - Formio.authUrl = url; + getFormio().authUrl = url; } }, { key: "getAppUrl", value: function getAppUrl() { console.warn('Formio.getAppUrl() is deprecated. Use Formio.getProjectUrl instead.'); - return Formio.projectUrl; + return getFormio().projectUrl; } }, { key: "getProjectUrl", value: function getProjectUrl() { - return Formio.projectUrl; + return getFormio().projectUrl; } }, { key: "clearCache", value: function clearCache() { - Formio.cache = {}; + getFormio().cache = {}; } }, { key: "noop", @@ -1379,31 +1392,31 @@ var Formio = /*#__PURE__*/function () { }, { key: "deregisterPlugin", value: function deregisterPlugin(plugin) { - var beforeLength = Formio.plugins.length; - Formio.plugins = Formio.plugins.filter(function (p) { + var beforeLength = getFormio().plugins.length; + getFormio().plugins = getFormio().plugins.filter(function (p) { if (p !== plugin && p.__name !== plugin) { return true; } - (p.deregister || Formio.noop).call(plugin, Formio); + (p.deregister || getFormio().noop).call(plugin, getFormio()); return false; }); - return beforeLength !== Formio.plugins.length; + return beforeLength !== getFormio().plugins.length; } }, { key: "registerPlugin", value: function registerPlugin(plugin, name) { - Formio.plugins.push(plugin); - Formio.plugins.sort(function (a, b) { + getFormio().plugins.push(plugin); + getFormio().plugins.sort(function (a, b) { return (b.priority || 0) - (a.priority || 0); }); plugin.__name = name; - (plugin.init || Formio.noop).call(plugin, Formio); + (plugin.init || getFormio().noop).call(plugin, Formio); } }, { key: "getPlugin", value: function getPlugin(name) { - var _iterator = _createForOfIteratorHelper(Formio.plugins), + var _iterator = _createForOfIteratorHelper(getFormio().plugins), _step; try { @@ -1429,10 +1442,10 @@ var Formio = /*#__PURE__*/function () { args[_key2 - 1] = arguments[_key2]; } - return _nativePromiseOnly.default.all(Formio.plugins.map(function (plugin) { + return _nativePromiseOnly.default.all(getFormio().plugins.map(function (plugin) { var _ref; - return (_ref = plugin[pluginFn] || Formio.noop).call.apply(_ref, [plugin].concat(args)); + return (_ref = plugin[pluginFn] || getFormio().noop).call.apply(_ref, [plugin].concat(args)); })); } }, { @@ -1445,13 +1458,13 @@ var Formio = /*#__PURE__*/function () { var callPlugin = function callPlugin(index) { var _ref2; - var plugin = Formio.plugins[index]; + var plugin = getFormio().plugins[index]; if (!plugin) { return _nativePromiseOnly.default.resolve(null); } - return _nativePromiseOnly.default.resolve((_ref2 = plugin[pluginFn] || Formio.noop).call.apply(_ref2, [plugin].concat(args))).then(function (result) { + return _nativePromiseOnly.default.resolve((_ref2 = plugin[pluginFn] || getFormio().noop).call.apply(_ref2, [plugin].concat(args))).then(function (result) { if (!isNil(result)) { return result; } @@ -1469,54 +1482,54 @@ var Formio = /*#__PURE__*/function () { args[_key4 - 2] = arguments[_key4]; } - return Formio.plugins.reduce(function (value, plugin) { - return (plugin[pluginFn] || Formio.identity).apply(void 0, [value].concat(args)); + return getFormio().plugins.reduce(function (value, plugin) { + return (plugin[pluginFn] || getFormio().identity).apply(void 0, [value].concat(args)); }, value); } }, { key: "accessInfo", value: function accessInfo(formio) { - var projectUrl = formio ? formio.projectUrl : Formio.projectUrl; - return Formio.makeRequest(formio, 'accessInfo', "".concat(projectUrl, "/access")); + var projectUrl = formio ? formio.projectUrl : getFormio().projectUrl; + return getFormio().makeRequest(formio, 'accessInfo', "".concat(projectUrl, "/access")); } }, { key: "projectRoles", value: function projectRoles(formio) { - var projectUrl = formio ? formio.projectUrl : Formio.projectUrl; - return Formio.makeRequest(formio, 'projectRoles', "".concat(projectUrl, "/role")); + var projectUrl = formio ? formio.projectUrl : getFormio().projectUrl; + return getFormio().makeRequest(formio, 'projectRoles', "".concat(projectUrl, "/role")); } }, { key: "currentUser", value: function currentUser(formio, options) { - var authUrl = Formio.authUrl; + var authUrl = getFormio().authUrl; if (!authUrl) { - authUrl = formio ? formio.projectUrl : Formio.projectUrl || Formio.baseUrl; + authUrl = formio ? formio.projectUrl : getFormio().projectUrl || getFormio().baseUrl; } authUrl += '/current'; - var user = Formio.getUser(options); + var user = getFormio().getUser(options); if (user) { - return Formio.pluginAlter('wrapStaticRequestPromise', _nativePromiseOnly.default.resolve(user), { + return getFormio().pluginAlter('wrapStaticRequestPromise', _nativePromiseOnly.default.resolve(user), { url: authUrl, method: 'GET', options: options }); } - var token = Formio.getToken(options); + var token = getFormio().getToken(options); if ((!options || !options.external) && !token) { - return Formio.pluginAlter('wrapStaticRequestPromise', _nativePromiseOnly.default.resolve(null), { + return getFormio().pluginAlter('wrapStaticRequestPromise', _nativePromiseOnly.default.resolve(null), { url: authUrl, method: 'GET', options: options }); } - return Formio.makeRequest(formio, 'currentUser', authUrl, 'GET', null, options).then(function (response) { - Formio.setUser(response, options); + return getFormio().makeRequest(formio, 'currentUser', authUrl, 'GET', null, options).then(function (response) { + getFormio().setUser(response, options); return response; }); } @@ -1525,16 +1538,16 @@ var Formio = /*#__PURE__*/function () { value: function logout(formio, options) { options = options || {}; options.formio = formio; - var projectUrl = Formio.authUrl ? Formio.authUrl : formio ? formio.projectUrl : Formio.baseUrl; - return Formio.makeRequest(formio, 'logout', "".concat(projectUrl, "/logout")).then(function (result) { - Formio.setToken(null, options); - Formio.setUser(null, options); - Formio.clearCache(); + var projectUrl = getFormio().authUrl ? getFormio().authUrl : formio ? formio.projectUrl : getFormio().baseUrl; + return getFormio().makeRequest(formio, 'logout', "".concat(projectUrl, "/logout")).then(function (result) { + getFormio().setToken(null, options); + getFormio().setUser(null, options); + getFormio().clearCache(); return result; }).catch(function (err) { - Formio.setToken(null, options); - Formio.setUser(null, options); - Formio.clearCache(); + getFormio().setToken(null, options); + getFormio().setUser(null, options); + getFormio().clearCache(); throw err; }); } @@ -1566,7 +1579,7 @@ var Formio = /*#__PURE__*/function () { }, { key: "oAuthCurrentUser", value: function oAuthCurrentUser(formio, token) { - return Formio.currentUser(formio, { + return getFormio().currentUser(formio, { external: true, headers: { Authorization: "Bearer ".concat(token) @@ -1577,11 +1590,11 @@ var Formio = /*#__PURE__*/function () { key: "samlInit", value: function samlInit(options) { options = options || {}; - var query = Formio.pageQuery(); + var query = getFormio().pageQuery(); if (query.saml) { - Formio.setUser(null); - var retVal = Formio.setToken(query.saml); + getFormio().setUser(null); + var retVal = getFormio().setToken(query.saml); var uri = window.location.toString(); uri = uri.substring(0, uri.indexOf('?')); @@ -1599,7 +1612,7 @@ var Formio = /*#__PURE__*/function () { } // go to the saml sso endpoint for this project. - var authUrl = Formio.authUrl || Formio.projectUrl; + var authUrl = getFormio().authUrl || getFormio().projectUrl; window.location.href = "".concat(authUrl, "/saml/sso?relay=").concat(encodeURI(options.relay)); return false; } @@ -1624,11 +1637,11 @@ var Formio = /*#__PURE__*/function () { var authClient = new Okta(options); authClient.tokenManager.get('accessToken').then(function (accessToken) { if (accessToken) { - resolve(Formio.oAuthCurrentUser(options.formio, accessToken.accessToken)); + resolve(getFormio().oAuthCurrentUser(options.formio, accessToken.accessToken)); } else if (location.hash) { authClient.token.parseFromUrl().then(function (token) { authClient.tokenManager.add('accessToken', token); - resolve(Formio.oAuthCurrentUser(options.formio, token.accessToken)); + resolve(getFormio().oAuthCurrentUser(options.formio, token.accessToken)); }).catch(function (err) { console.warn(err); reject(err); @@ -1650,10 +1663,10 @@ var Formio = /*#__PURE__*/function () { value: function ssoInit(type, options) { switch (type) { case 'saml': - return Formio.samlInit(options); + return getFormio().samlInit(options); case 'okta': - return Formio.oktaInit(options); + return getFormio().oktaInit(options); default: console.warn('Unknown SSO type'); @@ -1663,17 +1676,17 @@ var Formio = /*#__PURE__*/function () { }, { key: "requireLibrary", value: function requireLibrary(name, property, src, polling) { - if (!Formio.libraries.hasOwnProperty(name)) { - Formio.libraries[name] = {}; - Formio.libraries[name].ready = new _nativePromiseOnly.default(function (resolve, reject) { - Formio.libraries[name].resolve = resolve; - Formio.libraries[name].reject = reject; + if (!getFormio().libraries.hasOwnProperty(name)) { + getFormio().libraries[name] = {}; + getFormio().libraries[name].ready = new _nativePromiseOnly.default(function (resolve, reject) { + getFormio().libraries[name].resolve = resolve; + getFormio().libraries[name].reject = reject; }); var callbackName = "".concat(name, "Callback"); if (!polling && !window[callbackName]) { window[callbackName] = function () { - return Formio.libraries[name].resolve(); + return getFormio().libraries[name].resolve(); }; } // See if the plugin already exists. @@ -1681,7 +1694,7 @@ var Formio = /*#__PURE__*/function () { var plugin = (0, _get2.default)(window, property); if (plugin) { - Formio.libraries[name].resolve(plugin); + getFormio().libraries[name].resolve(plugin); } else { src = Array.isArray(src) ? src : [src]; src.forEach(function (lib) { @@ -1739,20 +1752,20 @@ var Formio = /*#__PURE__*/function () { if (plugin) { clearInterval(interval); - Formio.libraries[name].resolve(plugin); + getFormio().libraries[name].resolve(plugin); } }, 200); } } } - return Formio.libraries[name].ready; + return getFormio().libraries[name].ready; } }, { key: "libraryReady", value: function libraryReady(name) { - if (Formio.libraries.hasOwnProperty(name) && Formio.libraries[name].ready) { - return Formio.libraries[name].ready; + if (getFormio().libraries.hasOwnProperty(name) && getFormio().libraries[name].ready) { + return getFormio().libraries[name].ready; } return _nativePromiseOnly.default.reject("".concat(name, " library was not required.")); @@ -1764,22 +1777,34 @@ var Formio = /*#__PURE__*/function () { global.Formio = Formio; } } + }, { + key: "setPathType", + value: function setPathType(type) { + if (typeof type === 'string') { + getFormio().pathType = type; + } + } + }, { + key: "getPathType", + value: function getPathType() { + return getFormio().pathType; + } }, { key: "token", get: function get() { - if (!Formio.tokens) { - Formio.tokens = {}; + if (!getFormio().tokens) { + getFormio().tokens = {}; } - return Formio.tokens.formioToken || ''; + return getFormio().tokens.formioToken || ''; } // Needed to maintain reverse compatability... , set: function set(token) { - if (!Formio.tokens) { - Formio.tokens = {}; + if (!getFormio().tokens) { + getFormio().tokens = {}; } - Formio.tokens.formioToken = token || ''; + getFormio().tokens.formioToken = token || ''; } }]); @@ -1787,7 +1812,6 @@ var Formio = /*#__PURE__*/function () { }(); // Define all the static properties. -exports.default = Formio; Formio.libraries = {}; Formio.Promise = _nativePromiseOnly.default; Formio.fetch = fetch; @@ -1799,7 +1823,8 @@ Formio.projectUrlSet = false; Formio.plugins = []; Formio.cache = {}; Formio.Providers = _providers.default; -Formio.version = '4.12.1-rc.18'; +Formio.version = '---VERSION---'; +Formio.pathType = ''; Formio.events = new _EventEmitter.default({ wildcard: false, maxListeners: 0 @@ -1811,4 +1836,17 @@ if (typeof global !== 'undefined') { if (typeof window !== 'undefined') { Formio.addToGlobal(window); -} \ No newline at end of file +} // It makes sure that we use global Formio. + + +function getFormio() { + if (_typeof(window || global) === 'object' && typeof (window || global).Formio !== 'undefined') { + return (window || global).Formio; + } + + return Formio; +} + +var _default = getFormio(); + +exports.default = _default; \ No newline at end of file diff --git a/lib/PDF.js b/lib/PDF.js index 0981be72f2..9fe96e828f 100644 --- a/lib/PDF.js +++ b/lib/PDF.js @@ -1,51 +1,23 @@ "use strict"; -require("core-js/modules/es.symbol"); - -require("core-js/modules/es.symbol.description"); - -require("core-js/modules/es.symbol.iterator"); - -require("core-js/modules/es.array.filter"); +function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } require("core-js/modules/es.array.find"); -require("core-js/modules/es.array.for-each"); - require("core-js/modules/es.array.includes"); -require("core-js/modules/es.array.iterator"); - require("core-js/modules/es.array.join"); require("core-js/modules/es.function.name"); -require("core-js/modules/es.object.get-own-property-descriptor"); - -require("core-js/modules/es.object.get-own-property-descriptors"); - require("core-js/modules/es.object.get-prototype-of"); -require("core-js/modules/es.object.keys"); - require("core-js/modules/es.object.to-string"); require("core-js/modules/es.promise"); -require("core-js/modules/es.reflect.construct"); - -require("core-js/modules/es.reflect.get"); - -require("core-js/modules/es.regexp.to-string"); - require("core-js/modules/es.string.includes"); -require("core-js/modules/es.string.iterator"); - -require("core-js/modules/web.dom-collections.for-each"); - -require("core-js/modules/web.dom-collections.iterator"); - Object.defineProperty(exports, "__esModule", { value: true }); @@ -63,8 +35,6 @@ var _utils = require("./utils/utils"); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } - function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } @@ -280,6 +250,9 @@ var PDF = /*#__PURE__*/function (_Webform) { case 30: // Post the form to the iframe + _this3.form.base = _Formio.default.getBaseUrl(); + _this3.form.projectUrl = _Formio.default.getProjectUrl(); + _this3.postMessage({ name: 'form', data: _this3.form @@ -325,7 +298,7 @@ var PDF = /*#__PURE__*/function (_Webform) { _this3.emit('attach'); - case 38: + case 40: case "end": return _context.stop(); } diff --git a/lib/PDFBuilder.js b/lib/PDFBuilder.js index c556286e51..4b0168178c 100644 --- a/lib/PDFBuilder.js +++ b/lib/PDFBuilder.js @@ -1,47 +1,21 @@ "use strict"; -require("core-js/modules/es.symbol"); - -require("core-js/modules/es.symbol.description"); - -require("core-js/modules/es.symbol.iterator"); +function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } require("core-js/modules/es.array.concat"); require("core-js/modules/es.array.for-each"); -require("core-js/modules/es.array.from"); - require("core-js/modules/es.array.includes"); -require("core-js/modules/es.array.iterator"); - require("core-js/modules/es.array.map"); -require("core-js/modules/es.array.slice"); - -require("core-js/modules/es.function.name"); - -require("core-js/modules/es.object.get-own-property-descriptor"); - require("core-js/modules/es.object.get-prototype-of"); -require("core-js/modules/es.object.to-string"); - -require("core-js/modules/es.reflect.construct"); - -require("core-js/modules/es.reflect.get"); - -require("core-js/modules/es.regexp.to-string"); - require("core-js/modules/es.string.includes"); -require("core-js/modules/es.string.iterator"); - require("core-js/modules/web.dom-collections.for-each"); -require("core-js/modules/web.dom-collections.iterator"); - Object.defineProperty(exports, "__esModule", { value: true }); @@ -65,8 +39,6 @@ var _PDF = _interopRequireDefault(require("./PDF")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } - function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } @@ -161,7 +133,7 @@ var PDFBuilder = /*#__PURE__*/function (_WebformBuilder) { return _this2.renderTemplate('builderSidebarGroup', { group: group, groupKey: group.key, - groupId: "builder-sidebar-".concat(groupKey), + groupId: "group-container-".concat(groupKey), subgroups: [] }); }) @@ -172,6 +144,30 @@ var PDFBuilder = /*#__PURE__*/function (_WebformBuilder) { }); return result; } + }, { + key: "attachLoader", + value: function attachLoader(element) { + this.loadRefs(element, { + 'sidebar-loader': 'single' + }); + var sidebarLoader = this.refs['sidebar-loader']; + + if (sidebarLoader && sidebarLoader.parentNode) { + sidebarLoader.parentNode.appendChild(sidebarLoader); + } + } + }, { + key: "removeLoader", + value: function removeLoader(element) { + this.loadRefs(element, { + 'sidebar-loader': 'single' + }); + var sidebarLoader = this.refs['sidebar-loader']; + + if (sidebarLoader && sidebarLoader.parentNode) { + sidebarLoader.parentNode.removeChild(sidebarLoader); + } + } }, { key: "attach", value: function attach(element) { @@ -188,6 +184,7 @@ var PDFBuilder = /*#__PURE__*/function (_WebformBuilder) { 'uploadProgressWrapper': 'single', 'dragDropText': 'single' }); + this.removeLoader(element); this.addEventListener(this.refs['pdf-upload-button'], 'click', function (event) { event.preventDefault(); }); // Init the upload error. @@ -244,20 +241,20 @@ var PDFBuilder = /*#__PURE__*/function (_WebformBuilder) { return _get(_getPrototypeOf(PDFBuilder.prototype), "attach", this).call(this, element).then(function () { _this3.loadRefs(_this3.element, { iframeDropzone: 'single', - 'sidebar-container': 'multiple', - 'sidebar-loader': 'single' + 'sidebar-container': 'multiple' }); - _this3.afterAttach(); + _this3.afterAttach(element); return _this3.element; }); } }, { key: "afterAttach", - value: function afterAttach() { + value: function afterAttach(element) { var _this4 = this; + this.attachLoader(element); this.on('saveComponent', function (component) { _this4.webform.postMessage({ name: 'updateElement', @@ -273,11 +270,7 @@ var PDFBuilder = /*#__PURE__*/function (_WebformBuilder) { if (this.refs['sidebar-loader']) { this.webform.on('iframe-ready', function () { - var sidebarLoader = _this4.refs['sidebar-loader']; - - if (sidebarLoader && sidebarLoader.parentNode) { - sidebarLoader.parentNode.removeChild(sidebarLoader); - } + _this4.removeLoader(element); }, true); } @@ -552,7 +545,7 @@ var PDFBuilder = /*#__PURE__*/function (_WebformBuilder) { var schema = (0, _utils.fastCloneDeep)(this.schemas[type]); schema.key = _lodash.default.camelCase(schema.label || schema.placeholder || schema.type); // Set a unique key for this component. - _builder.default.uniquify([this.webform.component], schema); + _builder.default.uniquify([this.webform._form], schema); this.webform._form.components.push(schema); diff --git a/lib/PDFBuilder.spec.js b/lib/PDFBuilder.spec.js new file mode 100644 index 0000000000..d2593b3e85 --- /dev/null +++ b/lib/PDFBuilder.spec.js @@ -0,0 +1,71 @@ +"use strict"; + +require("core-js/modules/es.object.assign"); + +var _FormBuilder = _interopRequireDefault(require("./FormBuilder")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +describe('Formio PDF Form Builder tests', function () { + it('Should emit change event when component position changed', function (done) { + var form = { + 'type': 'form', + 'components': [{ + 'input': true, + 'label': 'Text', + 'key': 'text', + 'type': 'textfield', + 'overlay': { + 'top': 135, + 'left': 211.516, + 'height': 20, + 'width': 100, + 'page': 1 + } + }, { + 'input': true, + 'label': 'Submit', + 'key': 'submit', + 'action': 'submit', + 'type': 'button' + }], + 'display': 'pdf', + 'name': 'testPdfForm' + }; + var element = document.createElement('div'); + document.body.appendChild(element); + var builder = new _FormBuilder.default(element, form, {}); + builder.ready.then(function (builder) { + var isPfdFormInitilized = false; + builder.on('change', function () { + if (isPfdFormInitilized) { + //ignore any change events fired before initialized event + //remove builder elements from DOM + builder.destroy(); + + try { + document.body.removeChild(element); + } catch (err) { + console.warn(err); + } + + done(); + } else { + done(); + } + }); + builder.pdfForm.on('initialized', function () { + isPfdFormInitilized = true; + var component = Object.assign({}, builder.pdfForm.getComponent('text').component); + component.overlay = { + 'top': 225, + 'left': 405.516, + 'height': 20, + 'width': 100, + 'page': 1 + }; + builder.pdfForm.emit('iframe-componentUpdate', component); + }); + }); + }); +}); \ No newline at end of file diff --git a/lib/README.md b/lib/README.md index b33f490720..05bcb7083d 100644 --- a/lib/README.md +++ b/lib/README.md @@ -131,7 +131,7 @@ being set to ```wizard```. You can also use this library as a JavaScript embedding of the form using a single line of code. For example, to embed the https://examples.form.io/example form within your application you can simply use the following embed code. ```html - + ``` For an example of how this looks and works, check out the following [Form.io Form Embedding CodePen](http://codepen.io/travist/pen/ggQOBa) @@ -145,7 +145,7 @@ In addition to having a Form Renderer within this application, you can also use ```html - +