1
0

settings-vue-settings-admin-sharing.js 96 KB

123
  1. /*! For license information please see settings-vue-settings-admin-sharing.js.LICENSE.txt */
  2. (()=>{var t,n,e,r={23665:(t,n,e)=>{"use strict";var r=e(20144),i=e(64882),u=e(43554),o=e(31352),a=e(64024);const s=(0,r.defineComponent)({name:"SelectSharingPermissions",components:{NcCheckboxRadioSwitch:i.rw},props:{value:{type:Number,required:!0}},emits:{"update:value":t=>"number"==typeof t},data:()=>({PERMISSION_UPDATE:2,PERMISSION_CREATE:4,PERMISSION_DELETE:8,PERMISSION_SHARE:16}),computed:{canCreate(){return 0!=(this.value&this.PERMISSION_CREATE)},canUpdate(){return 0!=(this.value&this.PERMISSION_UPDATE)},canDelete(){return 0!=(this.value&this.PERMISSION_DELETE)},canShare(){return 0!=(this.value&this.PERMISSION_SHARE)}},methods:{t:o.Iu,toggle(t){this.$emit("update:value",this.value^t)}}});var c=e(93379),l=e.n(c),f=e(7795),h=e.n(f),p=e(90569),g=e.n(p),d=e(3565),v=e.n(d),_=e(19216),y=e.n(_),m=e(44589),b=e.n(m),w=e(76865),x={};x.styleTagTransform=b(),x.setAttributes=v(),x.insert=g().bind(null,"head"),x.domAPI=h(),x.insertStyleElement=y(),l()(w.Z,x),w.Z&&w.Z.locals&&w.Z.locals;var A=e(51900);const S=(0,A.Z)(s,(function(){var t=this,n=t._self._c;return t._self._setupProxy,n("fieldset",{staticClass:"permissions-select"},[n("NcCheckboxRadioSwitch",{attrs:{checked:t.canCreate},on:{"update:checked":function(n){return t.toggle(t.PERMISSION_CREATE)}}},[t._v("\n\t\t"+t._s(t.t("settings","Create"))+"\n\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{checked:t.canUpdate},on:{"update:checked":function(n){return t.toggle(t.PERMISSION_UPDATE)}}},[t._v("\n\t\t"+t._s(t.t("settings","Change"))+"\n\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{checked:t.canDelete},on:{"update:checked":function(n){return t.toggle(t.PERMISSION_DELETE)}}},[t._v("\n\t\t"+t._s(t.t("settings","Delete"))+"\n\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{checked:t.canShare},on:{"update:checked":function(n){return t.toggle(t.PERMISSION_SHARE)}}},[t._v("\n\t\t"+t._s(t.t("settings","Reshare"))+"\n\t")])],1)}),[],!1,null,"54c0ce93",null).exports;var C=e(96486),k=e(25108);const E=(0,r.defineComponent)({name:"AdminSettingsSharingForm",components:{NcCheckboxRadioSwitch:i.rw,NcSettingsSelectGroup:i.$F,NcTextArea:i.O9,NcTextField:i.h3,SelectSharingPermissions:S},data:()=>({settingsData:(0,u.j)("settings","sharingSettings")}),computed:{settings(){return k.warn("new proxy"),new Proxy(this.settingsData,{get:(t,n)=>t[n],set(t,n,e){const r=`shareapi_${(0,C.snakeCase)(n)}`,i="boolean"==typeof e?e?"yes":"no":"string"==typeof e?e:JSON.stringify(e);return window.OCP.AppConfig.setValue("core",r,i),t[n]=e,!0}})},publicShareDisclaimerEnabled:{get(){return"string"==typeof this.settingsData.publicShareDisclaimerText},set(t){t?this.settingsData.publicShareDisclaimerText="":this.onUpdateDisclaimer()}}},methods:{t:o.Iu,onUpdateDisclaimer:(0,C.debounce)((function(t){const n={success(){t?(0,a.s$)((0,o.Iu)("settings","Changed disclaimer text")):(0,a.s$)((0,o.Iu)("settings","Deleted disclaimer text"))},error(){(0,a.x2)((0,o.Iu)("settings","Could not set disclaimer text"))}};t?window.OCP.AppConfig.setValue("core","shareapi_public_link_disclaimertext",t,n):window.OCP.AppConfig.deleteKey("core","shareapi_public_link_disclaimertext",n),this.settingsData.publicShareDisclaimerText=t}),500)}}),N=E;var I=e(47236),R={};R.styleTagTransform=b(),R.setAttributes=v(),R.insert=g().bind(null,"head"),R.domAPI=h(),R.insertStyleElement=y(),l()(I.Z,R),I.Z&&I.Z.locals&&I.Z.locals;const D=(0,A.Z)(N,(function(){var t=this,n=t._self._c;return t._self._setupProxy,n("form",{staticClass:"sharing"},[n("NcCheckboxRadioSwitch",{attrs:{"aria-controls":"settings-sharing-api settings-sharing-api-settings settings-sharing-default-permissions settings-sharing-privary-related",type:"switch",checked:t.settings.enabled},on:{"update:checked":function(n){return t.$set(t.settings,"enabled",n)}}},[t._v("\n\t\t"+t._s(t.t("settings","Allow apps to use the Share API"))+"\n\t")]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.enabled,expression:"settings.enabled"}],staticClass:"sharing__sub-section",attrs:{id:"settings-sharing-api-settings"}},[n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.allowResharing},on:{"update:checked":function(n){return t.$set(t.settings,"allowResharing",n)}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Allow resharing"))+"\n\t\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.allowGroupSharing},on:{"update:checked":function(n){return t.$set(t.settings,"allowGroupSharing",n)}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Allow sharing with groups"))+"\n\t\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.onlyShareWithGroupMembers},on:{"update:checked":function(n){return t.$set(t.settings,"onlyShareWithGroupMembers",n)}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Restrict users to only share with users in their groups"))+"\n\t\t")])],1),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.enabled,expression:"settings.enabled"}],staticClass:"sharing__section",attrs:{id:"settings-sharing-api"}},[n("NcCheckboxRadioSwitch",{attrs:{type:"switch","aria-controls":"settings-sharing-api-public-link",checked:t.settings.allowLinks},on:{"update:checked":function(n){return t.$set(t.settings,"allowLinks",n)}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Allow users to share via link and emails"))+"\n\t\t")]),t._v(" "),n("fieldset",{directives:[{name:"show",rawName:"v-show",value:t.settings.allowLinks,expression:"settings.allowLinks"}],staticClass:"sharing__sub-section",attrs:{id:"settings-sharing-api-public-link"}},[n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.allowPublicUpload},on:{"update:checked":function(n){return t.$set(t.settings,"allowPublicUpload",n)}}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Allow public uploads"))+"\n\t\t\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.enableLinkPasswordByDefault},on:{"update:checked":function(n){return t.$set(t.settings,"enableLinkPasswordByDefault",n)}}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Always ask for a password"))+"\n\t\t\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.enforceLinksPassword,disabled:!t.settings.enableLinkPasswordByDefault},on:{"update:checked":function(n){return t.$set(t.settings,"enforceLinksPassword",n)}}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Enforce password protection"))+"\n\t\t\t")]),t._v(" "),t.settings.passwordExcludedGroupsFeatureEnabled?n("label",{staticClass:"sharing__labeled-entry sharing__input"},[n("span",[t._v(t._s(t.t("settings","Exclude groups from password requirements")))]),t._v(" "),n("NcSettingsSelectGroup",{staticStyle:{width:"100%"},attrs:{disabled:!t.settings.enforceLinksPassword||!t.settings.enableLinkPasswordByDefault},model:{value:t.settings.passwordExcludedGroups,callback:function(n){t.$set(t.settings,"passwordExcludedGroups",n)},expression:"settings.passwordExcludedGroups"}})],1):t._e(),t._v(" "),n("label",{staticClass:"sharing__labeled-entry sharing__input"},[n("span",[t._v(t._s(t.t("settings","Exclude groups from creating link shares")))]),t._v(" "),n("NcSettingsSelectGroup",{staticStyle:{width:"100%"},attrs:{label:t.t("settings","Exclude groups from creating link shares")},model:{value:t.settings.allowLinksExcludeGroups,callback:function(n){t.$set(t.settings,"allowLinksExcludeGroups",n)},expression:"settings.allowLinksExcludeGroups"}})],1)],1),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{type:"switch",checked:t.settings.excludeGroups},on:{"update:checked":function(n){return t.$set(t.settings,"excludeGroups",n)}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Exclude groups from sharing"))+"\n\t\t")]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.excludeGroups,expression:"settings.excludeGroups"}],staticClass:"sharing__sub-section"},[n("div",{staticClass:"sharing__labeled-entry sharing__input"},[n("label",{attrs:{for:"settings-sharing-excluded-groups"}},[t._v(t._s(t.t("settings","Groups excluded from sharing")))]),t._v(" "),n("NcSettingsSelectGroup",{staticStyle:{width:"100%"},attrs:{id:"settings-sharing-excluded-groups","aria-describedby":"settings-sharing-excluded-groups-desc",label:t.t("settings","Groups excluded from sharing"),disabled:!t.settings.excludeGroups},model:{value:t.settings.excludeGroupsList,callback:function(n){t.$set(t.settings,"excludeGroupsList",n)},expression:"settings.excludeGroupsList"}}),t._v(" "),n("em",{attrs:{id:"settings-sharing-excluded-groups-desc"}},[t._v(t._s(t.t("settings","These groups will still be able to receive shares, but not to initiate them.")))])],1)]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{type:"switch","aria-controls":"settings-sharing-api-expiration",checked:t.settings.defaultInternalExpireDate},on:{"update:checked":function(n){return t.$set(t.settings,"defaultInternalExpireDate",n)}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Set default expiration date for shares"))+"\n\t\t")]),t._v(" "),n("fieldset",{directives:[{name:"show",rawName:"v-show",value:t.settings.defaultInternalExpireDate,expression:"settings.defaultInternalExpireDate"}],staticClass:"sharing__sub-section",attrs:{id:"settings-sharing-api-expiration"}},[n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.enforceInternalExpireDate},on:{"update:checked":function(n){return t.$set(t.settings,"enforceInternalExpireDate",n)}}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Enforce expiration date"))+"\n\t\t\t")]),t._v(" "),n("NcTextField",{staticClass:"sharing__input",attrs:{type:"number",label:t.t("settings","Default expiration time of new shares in days"),placeholder:t.t("settings","Expire shares after x days"),value:t.settings.internalExpireAfterNDays},on:{"update:value":function(n){return t.$set(t.settings,"internalExpireAfterNDays",n)}}})],1),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{type:"switch","aria-controls":"settings-sharing-remote-api-expiration",checked:t.settings.defaultRemoteExpireDate},on:{"update:checked":function(n){return t.$set(t.settings,"defaultRemoteExpireDate",n)}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Set default expiration date for shares to other servers"))+"\n\t\t")]),t._v(" "),n("fieldset",{directives:[{name:"show",rawName:"v-show",value:t.settings.defaultRemoteExpireDate,expression:"settings.defaultRemoteExpireDate"}],staticClass:"sharing__sub-section",attrs:{id:"settings-sharing-remote-api-expiration"}},[n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.enforceRemoteExpireDate},on:{"update:checked":function(n){return t.$set(t.settings,"enforceRemoteExpireDate",n)}}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Enforce expiration date for remote shares"))+"\n\t\t\t")]),t._v(" "),n("NcTextField",{staticClass:"sharing__input",attrs:{type:"number",label:t.t("settings","Default expiration time of remote shares in days"),placeholder:t.t("settings","Expire remote shares after x days"),value:t.settings.remoteExpireAfterNDays},on:{"update:value":function(n){return t.$set(t.settings,"remoteExpireAfterNDays",n)}}})],1),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{type:"switch","aria-controls":"settings-sharing-api-api-expiration",checked:t.settings.defaultExpireDate,disabled:!t.settings.allowLinks},on:{"update:checked":function(n){return t.$set(t.settings,"defaultExpireDate",n)}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Set default expiration date for shares via link or mail"))+"\n\t\t")]),t._v(" "),n("fieldset",{directives:[{name:"show",rawName:"v-show",value:t.settings.allowLinks&&t.settings.defaultExpireDate,expression:"settings.allowLinks && settings.defaultExpireDate"}],staticClass:"sharing__sub-section",attrs:{id:"settings-sharing-api-api-expiration"}},[n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.enforceExpireDate},on:{"update:checked":function(n){return t.$set(t.settings,"enforceExpireDate",n)}}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Enforce expiration date for remote shares"))+"\n\t\t\t")]),t._v(" "),n("NcTextField",{staticClass:"sharing__input",attrs:{type:"number",label:t.t("settings","Default expiration time of shares in days"),placeholder:t.t("settings","Expire shares after x days"),value:t.settings.expireAfterNDays},on:{"update:value":function(n){return t.$set(t.settings,"expireAfterNDays",n)}}})],1)],1),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.enabled,expression:"settings.enabled"}],staticClass:"sharing__section",attrs:{id:"settings-sharing-privary-related"}},[n("h3",[t._v(t._s(t.t("settings","Privacy settings for sharing")))]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{type:"switch","aria-controls":"settings-sharing-privacy-user-enumeration",checked:t.settings.allowShareDialogUserEnumeration},on:{"update:checked":function(n){return t.$set(t.settings,"allowShareDialogUserEnumeration",n)}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Allow username autocompletion in share dialog and allow access to the system address book"))+"\n\t\t")]),t._v(" "),n("fieldset",{directives:[{name:"show",rawName:"v-show",value:t.settings.allowShareDialogUserEnumeration,expression:"settings.allowShareDialogUserEnumeration"}],staticClass:"sharing__sub-section",attrs:{id:"settings-sharing-privacy-user-enumeration"}},[n("em",[t._v("\n\t\t\t\t"+t._s(t.t("settings",'If autocompletion "same group" and "phone number integration" are enabled a match in either is enough to show the user.'))+"\n\t\t\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.restrictUserEnumerationToGroup},on:{"update:checked":function(n){return t.$set(t.settings,"restrictUserEnumerationToGroup",n)}}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Allow username autocompletion to users within the same groups and limit system address books to users in the same groups"))+"\n\t\t\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.restrictUserEnumerationToPhone},on:{"update:checked":function(n){return t.$set(t.settings,"restrictUserEnumerationToPhone",n)}}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Allow username autocompletion to users based on phone number integration"))+"\n\t\t\t")])],1),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{type:"switch",checked:t.settings.restrictUserEnumerationFullMatch},on:{"update:checked":function(n){return t.$set(t.settings,"restrictUserEnumerationFullMatch",n)}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Allow autocompletion when entering the full name or email address (ignoring missing phonebook match and being in the same group)"))+"\n\t\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{type:"switch",checked:t.publicShareDisclaimerEnabled},on:{"update:checked":function(n){t.publicShareDisclaimerEnabled=n}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Show disclaimer text on the public link upload page (only shown when the file list is hidden)"))+"\n\t\t")]),t._v(" "),"string"==typeof t.settings.publicShareDisclaimerText?n("div",{staticClass:"sharing__sub-section",attrs:{"aria-describedby":"settings-sharing-privary-related-disclaimer-hint"}},[n("NcTextArea",{staticClass:"sharing__input",attrs:{label:t.t("settings","Disclaimer text"),"aria-describedby":"settings-sharing-privary-related-disclaimer-hint",value:t.settings.publicShareDisclaimerText},on:{"update:value":t.onUpdateDisclaimer}}),t._v(" "),n("em",{staticClass:"sharing__input",attrs:{id:"settings-sharing-privary-related-disclaimer-hint"}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","This text will be shown on the public link upload page when the file list is hidden."))+"\n\t\t\t")])],1):t._e()],1),t._v(" "),n("div",{staticClass:"sharing__section",attrs:{id:"settings-sharing-default-permissions"}},[n("h3",[t._v(t._s(t.t("settings","Default share permissions")))]),t._v(" "),n("SelectSharingPermissions",{attrs:{value:t.settings.defaultPermissions},on:{"update:value":function(n){return t.$set(t.settings,"defaultPermissions",n)}}})],1)],1)}),[],!1,null,"7ddf2b78",null).exports,Z=(0,r.defineComponent)({name:"AdminSettingsSharing",components:{AdminSettingsSharingForm:D,NcNoteCard:i.qf,NcSettingsSection:i.gE},data:()=>({documentationLink:(0,u.j)("settings","sharingDocumentation",""),sharingAppEnabled:(0,u.j)("settings","sharingAppEnabled",!1)}),methods:{t:o.Iu}}),j=(0,A.Z)(Z,(function(){var t=this,n=t._self._c;return t._self._setupProxy,n("NcSettingsSection",{attrs:{"data-cy-settings-sharing-section":"","limit-width":!0,"doc-url":t.documentationLink,name:t.t("settings","Sharing"),description:t.t("settings","As admin you can fine-tune the sharing behavior. Please see the documentation for more information.")}},[t.sharingAppEnabled?n("AdminSettingsSharingForm"):n("NcNoteCard",{attrs:{type:"warning"}},[t._v("\n\t\t"+t._s(t.t("settings","You need to enable the File sharing App."))+"\n\t")])],1)}),[],!1,null,null,null).exports;new r.default({name:"AdminSettingsSharingSection",el:"#vue-admin-settings-sharing",render:t=>t(j)})},47236:(t,n,e)=>{"use strict";e.d(n,{Z:()=>a});var r=e(87537),i=e.n(r),u=e(23645),o=e.n(u)()(i());o.push([t.id,".sharing[data-v-7ddf2b78]{display:flex;flex-direction:column;gap:12px}.sharing__labeled-entry[data-v-7ddf2b78]{display:flex;flex:1 0;flex-direction:column;gap:4px}.sharing__section[data-v-7ddf2b78]{display:flex;flex-direction:column;gap:4px;margin-block-end:12px}.sharing__sub-section[data-v-7ddf2b78]{display:flex;flex-direction:column;gap:4px;margin-inline-start:44px;margin-block-end:12px}.sharing__input[data-v-7ddf2b78]{max-width:500px;margin-inline-start:14px}.sharing__input[data-v-7ddf2b78] .v-select.select{width:100%}@media only screen and (max-width: 350px){.sharing__sub-section[data-v-7ddf2b78]{margin-inline-start:14px}}","",{version:3,sources:["webpack://./apps/settings/src/components/AdminSettingsSharingForm.vue"],names:[],mappings:"AACA,0BACC,YAAA,CACA,qBAAA,CACA,QAAA,CAEA,yCACC,YAAA,CACA,QAAA,CACA,qBAAA,CACA,OAAA,CAGD,mCACC,YAAA,CACA,qBAAA,CACA,OAAA,CACA,qBAAA,CAGD,uCACC,YAAA,CACA,qBAAA,CACA,OAAA,CAEA,wBAAA,CACA,qBAAA,CAGD,iCACC,eAAA,CAEA,wBAAA,CAEA,kDACC,UAAA,CAKH,0CAGE,uCACC,wBAAA,CAAA",sourcesContent:["\n.sharing {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 12px;\n\n\t&__labeled-entry {\n\t\tdisplay: flex;\n\t\tflex: 1 0;\n\t\tflex-direction: column;\n\t\tgap: 4px;\n\t}\n\n\t&__section {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tgap: 4px;\n\t\tmargin-block-end: 12px\n\t}\n\n\t&__sub-section {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tgap: 4px;\n\n\t\tmargin-inline-start: 44px;\n\t\tmargin-block-end: 12px\n\t}\n\n\t&__input {\n\t\tmax-width: 500px;\n\t\t// align with checkboxes\n\t\tmargin-inline-start: 14px;\n\n\t\t:deep(.v-select.select) {\n\t\t\twidth: 100%;\n\t\t}\n\t}\n}\n\n@media only screen and (max-width: 350px) {\n\t// ensure no overflow happens on small devices (required for WCAG)\n\t.sharing {\n\t\t&__sub-section {\n\t\t\tmargin-inline-start: 14px;\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=o},76865:(t,n,e)=>{"use strict";e.d(n,{Z:()=>a});var r=e(87537),i=e.n(r),u=e(23645),o=e.n(u)()(i());o.push([t.id,"\n.permissions-select[data-v-54c0ce93] {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tgap: 4px;\n}\n","",{version:3,sources:["webpack://./apps/settings/src/components/SelectSharingPermissions.vue"],names:[],mappings:";AA8FA;CACA,aAAA;CACA,eAAA;CACA,QAAA;AACA",sourcesContent:["\x3c!--\n\t- @copyright 2023 Ferdinand Thiessen <opensource@fthiessen.de>\n\t-\n\t- @author Ferdinand Thiessen <opensource@fthiessen.de>\n\t-\n\t- @license AGPL-3.0-or-later\n\t-\n\t- This program is free software: you can redistribute it and/or modify\n\t- it under the terms of the GNU Affero General Public License as\n\t- published by the Free Software Foundation, either version 3 of the\n\t- License, or (at your option) any later version.\n\t-\n\t- This program is distributed in the hope that it will be useful,\n\t- but WITHOUT ANY WARRANTY; without even the implied warranty of\n\t- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n\t- GNU Affero General Public License for more details.\n\t-\n\t- You should have received a copy of the GNU Affero General Public License\n\t- along with this program. If not, see <http://www.gnu.org/licenses/>.\n\t-\n--\x3e\n<template>\n\t<fieldset class=\"permissions-select\">\n\t\t<NcCheckboxRadioSwitch :checked=\"canCreate\" @update:checked=\"toggle(PERMISSION_CREATE)\">\n\t\t\t{{ t('settings', 'Create') }}\n\t\t</NcCheckboxRadioSwitch>\n\t\t<NcCheckboxRadioSwitch :checked=\"canUpdate\" @update:checked=\"toggle(PERMISSION_UPDATE)\">\n\t\t\t{{ t('settings', 'Change') }}\n\t\t</NcCheckboxRadioSwitch>\n\t\t<NcCheckboxRadioSwitch :checked=\"canDelete\" @update:checked=\"toggle(PERMISSION_DELETE)\">\n\t\t\t{{ t('settings', 'Delete') }}\n\t\t</NcCheckboxRadioSwitch>\n\t\t<NcCheckboxRadioSwitch :checked=\"canShare\" @update:checked=\"toggle(PERMISSION_SHARE)\">\n\t\t\t{{ t('settings', 'Reshare') }}\n\t\t</NcCheckboxRadioSwitch>\n\t</fieldset>\n</template>\n\n<script lang=\"ts\">\nimport { translate } from '@nextcloud/l10n'\nimport { NcCheckboxRadioSwitch } from '@nextcloud/vue'\nimport { defineComponent } from 'vue'\n\nexport default defineComponent({\n\tname: 'SelectSharingPermissions',\n\tcomponents: {\n\t\tNcCheckboxRadioSwitch,\n\t},\n\tprops: {\n\t\tvalue: {\n\t\t\ttype: Number,\n\t\t\trequired: true,\n\t\t},\n\t},\n\temits: {\n\t\t'update:value': (value: number) => typeof value === 'number',\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tPERMISSION_UPDATE: 2,\n\t\t\tPERMISSION_CREATE: 4,\n\t\t\tPERMISSION_DELETE: 8,\n\t\t\tPERMISSION_SHARE: 16,\n\t\t}\n\t},\n\tcomputed: {\n\t\tcanCreate() {\n\t\t\treturn (this.value & this.PERMISSION_CREATE) !== 0\n\t\t},\n\t\tcanUpdate() {\n\t\t\treturn (this.value & this.PERMISSION_UPDATE) !== 0\n\t\t},\n\t\tcanDelete() {\n\t\t\treturn (this.value & this.PERMISSION_DELETE) !== 0\n\t\t},\n\t\tcanShare() {\n\t\t\treturn (this.value & this.PERMISSION_SHARE) !== 0\n\t\t},\n\t},\n\tmethods: {\n\t\tt: translate,\n\t\t/**\n\t\t * Toggle a permission\n\t\t * @param permission The permission (bit) to toggle\n\t\t */\n\t\ttoggle(permission: number) {\n\t\t\t// xor to toggle the bit\n\t\t\tthis.$emit('update:value', this.value ^ permission)\n\t\t},\n\t},\n})\n<\/script>\n\n<style scoped>\n.permissions-select {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tgap: 4px;\n}\n</style>\n"],sourceRoot:""}]);const a=o},96486:function(t,n,e){var r;t=e.nmd(t),function(){var i,u="Expected a function",o="__lodash_hash_undefined__",a="__lodash_placeholder__",s=32,c=128,l=1/0,f=9007199254740991,h=NaN,p=4294967295,g=[["ary",c],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",s],["partialRight",64],["rearg",256]],d="[object Arguments]",v="[object Array]",_="[object Boolean]",y="[object Date]",m="[object Error]",b="[object Function]",w="[object GeneratorFunction]",x="[object Map]",A="[object Number]",S="[object Object]",C="[object Promise]",k="[object RegExp]",E="[object Set]",N="[object String]",I="[object Symbol]",R="[object WeakMap]",D="[object ArrayBuffer]",Z="[object DataView]",j="[object Float32Array]",T="[object Float64Array]",P="[object Int8Array]",L="[object Int16Array]",O="[object Int32Array]",M="[object Uint8Array]",z="[object Uint8ClampedArray]",U="[object Uint16Array]",$="[object Uint32Array]",B=/\b__p \+= '';/g,G=/\b(__p \+=) '' \+/g,W=/(__e\(.*?\)|\b__t\)) \+\n'';/g,F=/&(?:amp|lt|gt|quot|#39);/g,H=/[&<>"']/g,q=RegExp(F.source),Y=RegExp(H.source),Q=/<%-([\s\S]+?)%>/g,V=/<%([\s\S]+?)%>/g,K=/<%=([\s\S]+?)%>/g,J=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,X=/^\w*$/,tt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,nt=/[\\^$.*+?()[\]{}|]/g,et=RegExp(nt.source),rt=/^\s+/,it=/\s/,ut=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ot=/\{\n\/\* \[wrapped with (.+)\] \*/,at=/,? & /,st=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ct=/[()=,{}\[\]\/\s]/,lt=/\\(\\)?/g,ft=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ht=/\w*$/,pt=/^[-+]0x[0-9a-f]+$/i,gt=/^0b[01]+$/i,dt=/^\[object .+?Constructor\]$/,vt=/^0o[0-7]+$/i,_t=/^(?:0|[1-9]\d*)$/,yt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,mt=/($^)/,bt=/['\n\r\u2028\u2029\\]/g,wt="\\ud800-\\udfff",xt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",At="\\u2700-\\u27bf",St="a-z\\xdf-\\xf6\\xf8-\\xff",Ct="A-Z\\xc0-\\xd6\\xd8-\\xde",kt="\\ufe0e\\ufe0f",Et="\\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",Nt="["+wt+"]",It="["+Et+"]",Rt="["+xt+"]",Dt="\\d+",Zt="["+At+"]",jt="["+St+"]",Tt="[^"+wt+Et+Dt+At+St+Ct+"]",Pt="\\ud83c[\\udffb-\\udfff]",Lt="[^"+wt+"]",Ot="(?:\\ud83c[\\udde6-\\uddff]){2}",Mt="[\\ud800-\\udbff][\\udc00-\\udfff]",zt="["+Ct+"]",Ut="\\u200d",$t="(?:"+jt+"|"+Tt+")",Bt="(?:"+zt+"|"+Tt+")",Gt="(?:['’](?:d|ll|m|re|s|t|ve))?",Wt="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ft="(?:"+Rt+"|"+Pt+")?",Ht="["+kt+"]?",qt=Ht+Ft+"(?:"+Ut+"(?:"+[Lt,Ot,Mt].join("|")+")"+Ht+Ft+")*",Yt="(?:"+[Zt,Ot,Mt].join("|")+")"+qt,Qt="(?:"+[Lt+Rt+"?",Rt,Ot,Mt,Nt].join("|")+")",Vt=RegExp("['’]","g"),Kt=RegExp(Rt,"g"),Jt=RegExp(Pt+"(?="+Pt+")|"+Qt+qt,"g"),Xt=RegExp([zt+"?"+jt+"+"+Gt+"(?="+[It,zt,"$"].join("|")+")",Bt+"+"+Wt+"(?="+[It,zt+$t,"$"].join("|")+")",zt+"?"+$t+"+"+Gt,zt+"+"+Wt,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Dt,Yt].join("|"),"g"),tn=RegExp("["+Ut+wt+xt+kt+"]"),nn=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,en=["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"],rn=-1,un={};un[j]=un[T]=un[P]=un[L]=un[O]=un[M]=un[z]=un[U]=un[$]=!0,un[d]=un[v]=un[D]=un[_]=un[Z]=un[y]=un[m]=un[b]=un[x]=un[A]=un[S]=un[k]=un[E]=un[N]=un[R]=!1;var on={};on[d]=on[v]=on[D]=on[Z]=on[_]=on[y]=on[j]=on[T]=on[P]=on[L]=on[O]=on[x]=on[A]=on[S]=on[k]=on[E]=on[N]=on[I]=on[M]=on[z]=on[U]=on[$]=!0,on[m]=on[b]=on[R]=!1;var an={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},sn=parseFloat,cn=parseInt,ln="object"==typeof e.g&&e.g&&e.g.Object===Object&&e.g,fn="object"==typeof self&&self&&self.Object===Object&&self,hn=ln||fn||Function("return this")(),pn=n&&!n.nodeType&&n,gn=pn&&t&&!t.nodeType&&t,dn=gn&&gn.exports===pn,vn=dn&&ln.process,_n=function(){try{return gn&&gn.require&&gn.require("util").types||vn&&vn.binding&&vn.binding("util")}catch(t){}}(),yn=_n&&_n.isArrayBuffer,mn=_n&&_n.isDate,bn=_n&&_n.isMap,wn=_n&&_n.isRegExp,xn=_n&&_n.isSet,An=_n&&_n.isTypedArray;function Sn(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}function Cn(t,n,e,r){for(var i=-1,u=null==t?0:t.length;++i<u;){var o=t[i];n(r,o,e(o),t)}return r}function kn(t,n){for(var e=-1,r=null==t?0:t.length;++e<r&&!1!==n(t[e],e,t););return t}function En(t,n){for(var e=null==t?0:t.length;e--&&!1!==n(t[e],e,t););return t}function Nn(t,n){for(var e=-1,r=null==t?0:t.length;++e<r;)if(!n(t[e],e,t))return!1;return!0}function In(t,n){for(var e=-1,r=null==t?0:t.length,i=0,u=[];++e<r;){var o=t[e];n(o,e,t)&&(u[i++]=o)}return u}function Rn(t,n){return!(null==t||!t.length)&&Un(t,n,0)>-1}function Dn(t,n,e){for(var r=-1,i=null==t?0:t.length;++r<i;)if(e(n,t[r]))return!0;return!1}function Zn(t,n){for(var e=-1,r=null==t?0:t.length,i=Array(r);++e<r;)i[e]=n(t[e],e,t);return i}function jn(t,n){for(var e=-1,r=n.length,i=t.length;++e<r;)t[i+e]=n[e];return t}function Tn(t,n,e,r){var i=-1,u=null==t?0:t.length;for(r&&u&&(e=t[++i]);++i<u;)e=n(e,t[i],i,t);return e}function Pn(t,n,e,r){var i=null==t?0:t.length;for(r&&i&&(e=t[--i]);i--;)e=n(e,t[i],i,t);return e}function Ln(t,n){for(var e=-1,r=null==t?0:t.length;++e<r;)if(n(t[e],e,t))return!0;return!1}var On=Wn("length");function Mn(t,n,e){var r;return e(t,(function(t,e,i){if(n(t,e,i))return r=e,!1})),r}function zn(t,n,e,r){for(var i=t.length,u=e+(r?1:-1);r?u--:++u<i;)if(n(t[u],u,t))return u;return-1}function Un(t,n,e){return n==n?function(t,n,e){for(var r=e-1,i=t.length;++r<i;)if(t[r]===n)return r;return-1}(t,n,e):zn(t,Bn,e)}function $n(t,n,e,r){for(var i=e-1,u=t.length;++i<u;)if(r(t[i],n))return i;return-1}function Bn(t){return t!=t}function Gn(t,n){var e=null==t?0:t.length;return e?qn(t,n)/e:h}function Wn(t){return function(n){return null==n?i:n[t]}}function Fn(t){return function(n){return null==t?i:t[n]}}function Hn(t,n,e,r,i){return i(t,(function(t,i,u){e=r?(r=!1,t):n(e,t,i,u)})),e}function qn(t,n){for(var e,r=-1,u=t.length;++r<u;){var o=n(t[r]);o!==i&&(e=e===i?o:e+o)}return e}function Yn(t,n){for(var e=-1,r=Array(t);++e<t;)r[e]=n(e);return r}function Qn(t){return t?t.slice(0,he(t)+1).replace(rt,""):t}function Vn(t){return function(n){return t(n)}}function Kn(t,n){return Zn(n,(function(n){return t[n]}))}function Jn(t,n){return t.has(n)}function Xn(t,n){for(var e=-1,r=t.length;++e<r&&Un(n,t[e],0)>-1;);return e}function te(t,n){for(var e=t.length;e--&&Un(n,t[e],0)>-1;);return e}var ne=Fn({À:"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"}),ee=Fn({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function re(t){return"\\"+an[t]}function ie(t){return tn.test(t)}function ue(t){var n=-1,e=Array(t.size);return t.forEach((function(t,r){e[++n]=[r,t]})),e}function oe(t,n){return function(e){return t(n(e))}}function ae(t,n){for(var e=-1,r=t.length,i=0,u=[];++e<r;){var o=t[e];o!==n&&o!==a||(t[e]=a,u[i++]=e)}return u}function se(t){var n=-1,e=Array(t.size);return t.forEach((function(t){e[++n]=t})),e}function ce(t){var n=-1,e=Array(t.size);return t.forEach((function(t){e[++n]=[t,t]})),e}function le(t){return ie(t)?function(t){for(var n=Jt.lastIndex=0;Jt.test(t);)++n;return n}(t):On(t)}function fe(t){return ie(t)?function(t){return t.match(Jt)||[]}(t):function(t){return t.split("")}(t)}function he(t){for(var n=t.length;n--&&it.test(t.charAt(n)););return n}var pe=Fn({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),ge=function t(n){var e,r=(n=null==n?hn:ge.defaults(hn.Object(),n,ge.pick(hn,en))).Array,it=n.Date,wt=n.Error,xt=n.Function,At=n.Math,St=n.Object,Ct=n.RegExp,kt=n.String,Et=n.TypeError,Nt=r.prototype,It=xt.prototype,Rt=St.prototype,Dt=n["__core-js_shared__"],Zt=It.toString,jt=Rt.hasOwnProperty,Tt=0,Pt=(e=/[^.]+$/.exec(Dt&&Dt.keys&&Dt.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"",Lt=Rt.toString,Ot=Zt.call(St),Mt=hn._,zt=Ct("^"+Zt.call(jt).replace(nt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ut=dn?n.Buffer:i,$t=n.Symbol,Bt=n.Uint8Array,Gt=Ut?Ut.allocUnsafe:i,Wt=oe(St.getPrototypeOf,St),Ft=St.create,Ht=Rt.propertyIsEnumerable,qt=Nt.splice,Yt=$t?$t.isConcatSpreadable:i,Qt=$t?$t.iterator:i,Jt=$t?$t.toStringTag:i,tn=function(){try{var t=su(St,"defineProperty");return t({},"",{}),t}catch(t){}}(),an=n.clearTimeout!==hn.clearTimeout&&n.clearTimeout,ln=it&&it.now!==hn.Date.now&&it.now,fn=n.setTimeout!==hn.setTimeout&&n.setTimeout,pn=At.ceil,gn=At.floor,vn=St.getOwnPropertySymbols,_n=Ut?Ut.isBuffer:i,On=n.isFinite,Fn=Nt.join,de=oe(St.keys,St),ve=At.max,_e=At.min,ye=it.now,me=n.parseInt,be=At.random,we=Nt.reverse,xe=su(n,"DataView"),Ae=su(n,"Map"),Se=su(n,"Promise"),Ce=su(n,"Set"),ke=su(n,"WeakMap"),Ee=su(St,"create"),Ne=ke&&new ke,Ie={},Re=Lu(xe),De=Lu(Ae),Ze=Lu(Se),je=Lu(Ce),Te=Lu(ke),Pe=$t?$t.prototype:i,Le=Pe?Pe.valueOf:i,Oe=Pe?Pe.toString:i;function Me(t){if(ta(t)&&!Go(t)&&!(t instanceof Be)){if(t instanceof $e)return t;if(jt.call(t,"__wrapped__"))return Ou(t)}return new $e(t)}var ze=function(){function t(){}return function(n){if(!Xo(n))return{};if(Ft)return Ft(n);t.prototype=n;var e=new t;return t.prototype=i,e}}();function Ue(){}function $e(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=i}function Be(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=p,this.__views__=[]}function Ge(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function We(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function Fe(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function He(t){var n=-1,e=null==t?0:t.length;for(this.__data__=new Fe;++n<e;)this.add(t[n])}function qe(t){var n=this.__data__=new We(t);this.size=n.size}function Ye(t,n){var e=Go(t),r=!e&&Bo(t),i=!e&&!r&&qo(t),u=!e&&!r&&!i&&sa(t),o=e||r||i||u,a=o?Yn(t.length,kt):[],s=a.length;for(var c in t)!n&&!jt.call(t,c)||o&&("length"==c||i&&("offset"==c||"parent"==c)||u&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||du(c,s))||a.push(c);return a}function Qe(t){var n=t.length;return n?t[Fr(0,n-1)]:i}function Ve(t,n){return Du(ki(t),ur(n,0,t.length))}function Ke(t){return Du(ki(t))}function Je(t,n,e){(e!==i&&!zo(t[n],e)||e===i&&!(n in t))&&rr(t,n,e)}function Xe(t,n,e){var r=t[n];jt.call(t,n)&&zo(r,e)&&(e!==i||n in t)||rr(t,n,e)}function tr(t,n){for(var e=t.length;e--;)if(zo(t[e][0],n))return e;return-1}function nr(t,n,e,r){return lr(t,(function(t,i,u){n(r,t,e(t),u)})),r}function er(t,n){return t&&Ei(n,Ra(n),t)}function rr(t,n,e){"__proto__"==n&&tn?tn(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}function ir(t,n){for(var e=-1,u=n.length,o=r(u),a=null==t;++e<u;)o[e]=a?i:Ca(t,n[e]);return o}function ur(t,n,e){return t==t&&(e!==i&&(t=t<=e?t:e),n!==i&&(t=t>=n?t:n)),t}function or(t,n,e,r,u,o){var a,s=1&n,c=2&n,l=4&n;if(e&&(a=u?e(t,r,u,o):e(t)),a!==i)return a;if(!Xo(t))return t;var f=Go(t);if(f){if(a=function(t){var n=t.length,e=new t.constructor(n);return n&&"string"==typeof t[0]&&jt.call(t,"index")&&(e.index=t.index,e.input=t.input),e}(t),!s)return ki(t,a)}else{var h=fu(t),p=h==b||h==w;if(qo(t))return bi(t,s);if(h==S||h==d||p&&!u){if(a=c||p?{}:pu(t),!s)return c?function(t,n){return Ei(t,lu(t),n)}(t,function(t,n){return t&&Ei(n,Da(n),t)}(a,t)):function(t,n){return Ei(t,cu(t),n)}(t,er(a,t))}else{if(!on[h])return u?t:{};a=function(t,n,e){var r,i=t.constructor;switch(n){case D:return wi(t);case _:case y:return new i(+t);case Z:return function(t,n){var e=n?wi(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}(t,e);case j:case T:case P:case L:case O:case M:case z:case U:case $:return xi(t,e);case x:return new i;case A:case N:return new i(t);case k:return function(t){var n=new t.constructor(t.source,ht.exec(t));return n.lastIndex=t.lastIndex,n}(t);case E:return new i;case I:return r=t,Le?St(Le.call(r)):{}}}(t,h,s)}}o||(o=new qe);var g=o.get(t);if(g)return g;o.set(t,a),ua(t)?t.forEach((function(r){a.add(or(r,n,e,r,t,o))})):na(t)&&t.forEach((function(r,i){a.set(i,or(r,n,e,i,t,o))}));var v=f?i:(l?c?nu:tu:c?Da:Ra)(t);return kn(v||t,(function(r,i){v&&(r=t[i=r]),Xe(a,i,or(r,n,e,i,t,o))})),a}function ar(t,n,e){var r=e.length;if(null==t)return!r;for(t=St(t);r--;){var u=e[r],o=n[u],a=t[u];if(a===i&&!(u in t)||!o(a))return!1}return!0}function sr(t,n,e){if("function"!=typeof t)throw new Et(u);return Eu((function(){t.apply(i,e)}),n)}function cr(t,n,e,r){var i=-1,u=Rn,o=!0,a=t.length,s=[],c=n.length;if(!a)return s;e&&(n=Zn(n,Vn(e))),r?(u=Dn,o=!1):n.length>=200&&(u=Jn,o=!1,n=new He(n));t:for(;++i<a;){var l=t[i],f=null==e?l:e(l);if(l=r||0!==l?l:0,o&&f==f){for(var h=c;h--;)if(n[h]===f)continue t;s.push(l)}else u(n,f,r)||s.push(l)}return s}Me.templateSettings={escape:Q,evaluate:V,interpolate:K,variable:"",imports:{_:Me}},Me.prototype=Ue.prototype,Me.prototype.constructor=Me,$e.prototype=ze(Ue.prototype),$e.prototype.constructor=$e,Be.prototype=ze(Ue.prototype),Be.prototype.constructor=Be,Ge.prototype.clear=function(){this.__data__=Ee?Ee(null):{},this.size=0},Ge.prototype.delete=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n},Ge.prototype.get=function(t){var n=this.__data__;if(Ee){var e=n[t];return e===o?i:e}return jt.call(n,t)?n[t]:i},Ge.prototype.has=function(t){var n=this.__data__;return Ee?n[t]!==i:jt.call(n,t)},Ge.prototype.set=function(t,n){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=Ee&&n===i?o:n,this},We.prototype.clear=function(){this.__data__=[],this.size=0},We.prototype.delete=function(t){var n=this.__data__,e=tr(n,t);return!(e<0||(e==n.length-1?n.pop():qt.call(n,e,1),--this.size,0))},We.prototype.get=function(t){var n=this.__data__,e=tr(n,t);return e<0?i:n[e][1]},We.prototype.has=function(t){return tr(this.__data__,t)>-1},We.prototype.set=function(t,n){var e=this.__data__,r=tr(e,t);return r<0?(++this.size,e.push([t,n])):e[r][1]=n,this},Fe.prototype.clear=function(){this.size=0,this.__data__={hash:new Ge,map:new(Ae||We),string:new Ge}},Fe.prototype.delete=function(t){var n=ou(this,t).delete(t);return this.size-=n?1:0,n},Fe.prototype.get=function(t){return ou(this,t).get(t)},Fe.prototype.has=function(t){return ou(this,t).has(t)},Fe.prototype.set=function(t,n){var e=ou(this,t),r=e.size;return e.set(t,n),this.size+=e.size==r?0:1,this},He.prototype.add=He.prototype.push=function(t){return this.__data__.set(t,o),this},He.prototype.has=function(t){return this.__data__.has(t)},qe.prototype.clear=function(){this.__data__=new We,this.size=0},qe.prototype.delete=function(t){var n=this.__data__,e=n.delete(t);return this.size=n.size,e},qe.prototype.get=function(t){return this.__data__.get(t)},qe.prototype.has=function(t){return this.__data__.has(t)},qe.prototype.set=function(t,n){var e=this.__data__;if(e instanceof We){var r=e.__data__;if(!Ae||r.length<199)return r.push([t,n]),this.size=++e.size,this;e=this.__data__=new Fe(r)}return e.set(t,n),this.size=e.size,this};var lr=Ri(yr),fr=Ri(mr,!0);function hr(t,n){var e=!0;return lr(t,(function(t,r,i){return e=!!n(t,r,i)})),e}function pr(t,n,e){for(var r=-1,u=t.length;++r<u;){var o=t[r],a=n(o);if(null!=a&&(s===i?a==a&&!aa(a):e(a,s)))var s=a,c=o}return c}function gr(t,n){var e=[];return lr(t,(function(t,r,i){n(t,r,i)&&e.push(t)})),e}function dr(t,n,e,r,i){var u=-1,o=t.length;for(e||(e=gu),i||(i=[]);++u<o;){var a=t[u];n>0&&e(a)?n>1?dr(a,n-1,e,r,i):jn(i,a):r||(i[i.length]=a)}return i}var vr=Di(),_r=Di(!0);function yr(t,n){return t&&vr(t,n,Ra)}function mr(t,n){return t&&_r(t,n,Ra)}function br(t,n){return In(n,(function(n){return Vo(t[n])}))}function wr(t,n){for(var e=0,r=(n=vi(n,t)).length;null!=t&&e<r;)t=t[Pu(n[e++])];return e&&e==r?t:i}function xr(t,n,e){var r=n(t);return Go(t)?r:jn(r,e(t))}function Ar(t){return null==t?t===i?"[object Undefined]":"[object Null]":Jt&&Jt in St(t)?function(t){var n=jt.call(t,Jt),e=t[Jt];try{t[Jt]=i;var r=!0}catch(t){}var u=Lt.call(t);return r&&(n?t[Jt]=e:delete t[Jt]),u}(t):function(t){return Lt.call(t)}(t)}function Sr(t,n){return t>n}function Cr(t,n){return null!=t&&jt.call(t,n)}function kr(t,n){return null!=t&&n in St(t)}function Er(t,n,e){for(var u=e?Dn:Rn,o=t[0].length,a=t.length,s=a,c=r(a),l=1/0,f=[];s--;){var h=t[s];s&&n&&(h=Zn(h,Vn(n))),l=_e(h.length,l),c[s]=!e&&(n||o>=120&&h.length>=120)?new He(s&&h):i}h=t[0];var p=-1,g=c[0];t:for(;++p<o&&f.length<l;){var d=h[p],v=n?n(d):d;if(d=e||0!==d?d:0,!(g?Jn(g,v):u(f,v,e))){for(s=a;--s;){var _=c[s];if(!(_?Jn(_,v):u(t[s],v,e)))continue t}g&&g.push(v),f.push(d)}}return f}function Nr(t,n,e){var r=null==(t=Su(t,n=vi(n,t)))?t:t[Pu(Yu(n))];return null==r?i:Sn(r,t,e)}function Ir(t){return ta(t)&&Ar(t)==d}function Rr(t,n,e,r,u){return t===n||(null==t||null==n||!ta(t)&&!ta(n)?t!=t&&n!=n:function(t,n,e,r,u,o){var a=Go(t),s=Go(n),c=a?v:fu(t),l=s?v:fu(n),f=(c=c==d?S:c)==S,h=(l=l==d?S:l)==S,p=c==l;if(p&&qo(t)){if(!qo(n))return!1;a=!0,f=!1}if(p&&!f)return o||(o=new qe),a||sa(t)?Ji(t,n,e,r,u,o):function(t,n,e,r,i,u,o){switch(e){case Z:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case D:return!(t.byteLength!=n.byteLength||!u(new Bt(t),new Bt(n)));case _:case y:case A:return zo(+t,+n);case m:return t.name==n.name&&t.message==n.message;case k:case N:return t==n+"";case x:var a=ue;case E:var s=1&r;if(a||(a=se),t.size!=n.size&&!s)return!1;var c=o.get(t);if(c)return c==n;r|=2,o.set(t,n);var l=Ji(a(t),a(n),r,i,u,o);return o.delete(t),l;case I:if(Le)return Le.call(t)==Le.call(n)}return!1}(t,n,c,e,r,u,o);if(!(1&e)){var g=f&&jt.call(t,"__wrapped__"),b=h&&jt.call(n,"__wrapped__");if(g||b){var w=g?t.value():t,C=b?n.value():n;return o||(o=new qe),u(w,C,e,r,o)}}return!!p&&(o||(o=new qe),function(t,n,e,r,u,o){var a=1&e,s=tu(t),c=s.length;if(c!=tu(n).length&&!a)return!1;for(var l=c;l--;){var f=s[l];if(!(a?f in n:jt.call(n,f)))return!1}var h=o.get(t),p=o.get(n);if(h&&p)return h==n&&p==t;var g=!0;o.set(t,n),o.set(n,t);for(var d=a;++l<c;){var v=t[f=s[l]],_=n[f];if(r)var y=a?r(_,v,f,n,t,o):r(v,_,f,t,n,o);if(!(y===i?v===_||u(v,_,e,r,o):y)){g=!1;break}d||(d="constructor"==f)}if(g&&!d){var m=t.constructor,b=n.constructor;m==b||!("constructor"in t)||!("constructor"in n)||"function"==typeof m&&m instanceof m&&"function"==typeof b&&b instanceof b||(g=!1)}return o.delete(t),o.delete(n),g}(t,n,e,r,u,o))}(t,n,e,r,Rr,u))}function Dr(t,n,e,r){var u=e.length,o=u,a=!r;if(null==t)return!o;for(t=St(t);u--;){var s=e[u];if(a&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++u<o;){var c=(s=e[u])[0],l=t[c],f=s[1];if(a&&s[2]){if(l===i&&!(c in t))return!1}else{var h=new qe;if(r)var p=r(l,f,c,t,n,h);if(!(p===i?Rr(f,l,3,r,h):p))return!1}}return!0}function Zr(t){return!(!Xo(t)||(n=t,Pt&&Pt in n))&&(Vo(t)?zt:dt).test(Lu(t));var n}function jr(t){return"function"==typeof t?t:null==t?es:"object"==typeof t?Go(t)?Mr(t[0],t[1]):Or(t):fs(t)}function Tr(t){if(!bu(t))return de(t);var n=[];for(var e in St(t))jt.call(t,e)&&"constructor"!=e&&n.push(e);return n}function Pr(t,n){return t<n}function Lr(t,n){var e=-1,i=Fo(t)?r(t.length):[];return lr(t,(function(t,r,u){i[++e]=n(t,r,u)})),i}function Or(t){var n=au(t);return 1==n.length&&n[0][2]?xu(n[0][0],n[0][1]):function(e){return e===t||Dr(e,t,n)}}function Mr(t,n){return _u(t)&&wu(n)?xu(Pu(t),n):function(e){var r=Ca(e,t);return r===i&&r===n?ka(e,t):Rr(n,r,3)}}function zr(t,n,e,r,u){t!==n&&vr(n,(function(o,a){if(u||(u=new qe),Xo(o))!function(t,n,e,r,u,o,a){var s=Cu(t,e),c=Cu(n,e),l=a.get(c);if(l)Je(t,e,l);else{var f=o?o(s,c,e+"",t,n,a):i,h=f===i;if(h){var p=Go(c),g=!p&&qo(c),d=!p&&!g&&sa(c);f=c,p||g||d?Go(s)?f=s:Ho(s)?f=ki(s):g?(h=!1,f=bi(c,!0)):d?(h=!1,f=xi(c,!0)):f=[]:ra(c)||Bo(c)?(f=s,Bo(s)?f=va(s):Xo(s)&&!Vo(s)||(f=pu(c))):h=!1}h&&(a.set(c,f),u(f,c,r,o,a),a.delete(c)),Je(t,e,f)}}(t,n,a,e,zr,r,u);else{var s=r?r(Cu(t,a),o,a+"",t,n,u):i;s===i&&(s=o),Je(t,a,s)}}),Da)}function Ur(t,n){var e=t.length;if(e)return du(n+=n<0?e:0,e)?t[n]:i}function $r(t,n,e){n=n.length?Zn(n,(function(t){return Go(t)?function(n){return wr(n,1===t.length?t[0]:t)}:t})):[es];var r=-1;n=Zn(n,Vn(uu()));var i=Lr(t,(function(t,e,i){var u=Zn(n,(function(n){return n(t)}));return{criteria:u,index:++r,value:t}}));return function(t,n){var r=t.length;for(t.sort((function(t,n){return function(t,n,e){for(var r=-1,i=t.criteria,u=n.criteria,o=i.length,a=e.length;++r<o;){var s=Ai(i[r],u[r]);if(s)return r>=a?s:s*("desc"==e[r]?-1:1)}return t.index-n.index}(t,n,e)}));r--;)t[r]=t[r].value;return t}(i)}function Br(t,n,e){for(var r=-1,i=n.length,u={};++r<i;){var o=n[r],a=wr(t,o);e(a,o)&&Vr(u,vi(o,t),a)}return u}function Gr(t,n,e,r){var i=r?$n:Un,u=-1,o=n.length,a=t;for(t===n&&(n=ki(n)),e&&(a=Zn(t,Vn(e)));++u<o;)for(var s=0,c=n[u],l=e?e(c):c;(s=i(a,l,s,r))>-1;)a!==t&&qt.call(a,s,1),qt.call(t,s,1);return t}function Wr(t,n){for(var e=t?n.length:0,r=e-1;e--;){var i=n[e];if(e==r||i!==u){var u=i;du(i)?qt.call(t,i,1):si(t,i)}}return t}function Fr(t,n){return t+gn(be()*(n-t+1))}function Hr(t,n){var e="";if(!t||n<1||n>f)return e;do{n%2&&(e+=t),(n=gn(n/2))&&(t+=t)}while(n);return e}function qr(t,n){return Nu(Au(t,n,es),t+"")}function Yr(t){return Qe(za(t))}function Qr(t,n){var e=za(t);return Du(e,ur(n,0,e.length))}function Vr(t,n,e,r){if(!Xo(t))return t;for(var u=-1,o=(n=vi(n,t)).length,a=o-1,s=t;null!=s&&++u<o;){var c=Pu(n[u]),l=e;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(u!=a){var f=s[c];(l=r?r(f,c,s):i)===i&&(l=Xo(f)?f:du(n[u+1])?[]:{})}Xe(s,c,l),s=s[c]}return t}var Kr=Ne?function(t,n){return Ne.set(t,n),t}:es,Jr=tn?function(t,n){return tn(t,"toString",{configurable:!0,enumerable:!1,value:Xa(n),writable:!0})}:es;function Xr(t){return Du(za(t))}function ti(t,n,e){var i=-1,u=t.length;n<0&&(n=-n>u?0:u+n),(e=e>u?u:e)<0&&(e+=u),u=n>e?0:e-n>>>0,n>>>=0;for(var o=r(u);++i<u;)o[i]=t[i+n];return o}function ni(t,n){var e;return lr(t,(function(t,r,i){return!(e=n(t,r,i))})),!!e}function ei(t,n,e){var r=0,i=null==t?r:t.length;if("number"==typeof n&&n==n&&i<=2147483647){for(;r<i;){var u=r+i>>>1,o=t[u];null!==o&&!aa(o)&&(e?o<=n:o<n)?r=u+1:i=u}return i}return ri(t,n,es,e)}function ri(t,n,e,r){var u=0,o=null==t?0:t.length;if(0===o)return 0;for(var a=(n=e(n))!=n,s=null===n,c=aa(n),l=n===i;u<o;){var f=gn((u+o)/2),h=e(t[f]),p=h!==i,g=null===h,d=h==h,v=aa(h);if(a)var _=r||d;else _=l?d&&(r||p):s?d&&p&&(r||!g):c?d&&p&&!g&&(r||!v):!g&&!v&&(r?h<=n:h<n);_?u=f+1:o=f}return _e(o,4294967294)}function ii(t,n){for(var e=-1,r=t.length,i=0,u=[];++e<r;){var o=t[e],a=n?n(o):o;if(!e||!zo(a,s)){var s=a;u[i++]=0===o?0:o}}return u}function ui(t){return"number"==typeof t?t:aa(t)?h:+t}function oi(t){if("string"==typeof t)return t;if(Go(t))return Zn(t,oi)+"";if(aa(t))return Oe?Oe.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}function ai(t,n,e){var r=-1,i=Rn,u=t.length,o=!0,a=[],s=a;if(e)o=!1,i=Dn;else if(u>=200){var c=n?null:Hi(t);if(c)return se(c);o=!1,i=Jn,s=new He}else s=n?[]:a;t:for(;++r<u;){var l=t[r],f=n?n(l):l;if(l=e||0!==l?l:0,o&&f==f){for(var h=s.length;h--;)if(s[h]===f)continue t;n&&s.push(f),a.push(l)}else i(s,f,e)||(s!==a&&s.push(f),a.push(l))}return a}function si(t,n){return null==(t=Su(t,n=vi(n,t)))||delete t[Pu(Yu(n))]}function ci(t,n,e,r){return Vr(t,n,e(wr(t,n)),r)}function li(t,n,e,r){for(var i=t.length,u=r?i:-1;(r?u--:++u<i)&&n(t[u],u,t););return e?ti(t,r?0:u,r?u+1:i):ti(t,r?u+1:0,r?i:u)}function fi(t,n){var e=t;return e instanceof Be&&(e=e.value()),Tn(n,(function(t,n){return n.func.apply(n.thisArg,jn([t],n.args))}),e)}function hi(t,n,e){var i=t.length;if(i<2)return i?ai(t[0]):[];for(var u=-1,o=r(i);++u<i;)for(var a=t[u],s=-1;++s<i;)s!=u&&(o[u]=cr(o[u]||a,t[s],n,e));return ai(dr(o,1),n,e)}function pi(t,n,e){for(var r=-1,u=t.length,o=n.length,a={};++r<u;){var s=r<o?n[r]:i;e(a,t[r],s)}return a}function gi(t){return Ho(t)?t:[]}function di(t){return"function"==typeof t?t:es}function vi(t,n){return Go(t)?t:_u(t,n)?[t]:Tu(_a(t))}var _i=qr;function yi(t,n,e){var r=t.length;return e=e===i?r:e,!n&&e>=r?t:ti(t,n,e)}var mi=an||function(t){return hn.clearTimeout(t)};function bi(t,n){if(n)return t.slice();var e=t.length,r=Gt?Gt(e):new t.constructor(e);return t.copy(r),r}function wi(t){var n=new t.constructor(t.byteLength);return new Bt(n).set(new Bt(t)),n}function xi(t,n){var e=n?wi(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}function Ai(t,n){if(t!==n){var e=t!==i,r=null===t,u=t==t,o=aa(t),a=n!==i,s=null===n,c=n==n,l=aa(n);if(!s&&!l&&!o&&t>n||o&&a&&c&&!s&&!l||r&&a&&c||!e&&c||!u)return 1;if(!r&&!o&&!l&&t<n||l&&e&&u&&!r&&!o||s&&e&&u||!a&&u||!c)return-1}return 0}function Si(t,n,e,i){for(var u=-1,o=t.length,a=e.length,s=-1,c=n.length,l=ve(o-a,0),f=r(c+l),h=!i;++s<c;)f[s]=n[s];for(;++u<a;)(h||u<o)&&(f[e[u]]=t[u]);for(;l--;)f[s++]=t[u++];return f}function Ci(t,n,e,i){for(var u=-1,o=t.length,a=-1,s=e.length,c=-1,l=n.length,f=ve(o-s,0),h=r(f+l),p=!i;++u<f;)h[u]=t[u];for(var g=u;++c<l;)h[g+c]=n[c];for(;++a<s;)(p||u<o)&&(h[g+e[a]]=t[u++]);return h}function ki(t,n){var e=-1,i=t.length;for(n||(n=r(i));++e<i;)n[e]=t[e];return n}function Ei(t,n,e,r){var u=!e;e||(e={});for(var o=-1,a=n.length;++o<a;){var s=n[o],c=r?r(e[s],t[s],s,e,t):i;c===i&&(c=t[s]),u?rr(e,s,c):Xe(e,s,c)}return e}function Ni(t,n){return function(e,r){var i=Go(e)?Cn:nr,u=n?n():{};return i(e,t,uu(r,2),u)}}function Ii(t){return qr((function(n,e){var r=-1,u=e.length,o=u>1?e[u-1]:i,a=u>2?e[2]:i;for(o=t.length>3&&"function"==typeof o?(u--,o):i,a&&vu(e[0],e[1],a)&&(o=u<3?i:o,u=1),n=St(n);++r<u;){var s=e[r];s&&t(n,s,r,o)}return n}))}function Ri(t,n){return function(e,r){if(null==e)return e;if(!Fo(e))return t(e,r);for(var i=e.length,u=n?i:-1,o=St(e);(n?u--:++u<i)&&!1!==r(o[u],u,o););return e}}function Di(t){return function(n,e,r){for(var i=-1,u=St(n),o=r(n),a=o.length;a--;){var s=o[t?a:++i];if(!1===e(u[s],s,u))break}return n}}function Zi(t){return function(n){var e=ie(n=_a(n))?fe(n):i,r=e?e[0]:n.charAt(0),u=e?yi(e,1).join(""):n.slice(1);return r[t]()+u}}function ji(t){return function(n){return Tn(Va(Ba(n).replace(Vt,"")),t,"")}}function Ti(t){return function(){var n=arguments;switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3]);case 5:return new t(n[0],n[1],n[2],n[3],n[4]);case 6:return new t(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new t(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var e=ze(t.prototype),r=t.apply(e,n);return Xo(r)?r:e}}function Pi(t){return function(n,e,r){var u=St(n);if(!Fo(n)){var o=uu(e,3);n=Ra(n),e=function(t){return o(u[t],t,u)}}var a=t(n,e,r);return a>-1?u[o?n[a]:a]:i}}function Li(t){return Xi((function(n){var e=n.length,r=e,o=$e.prototype.thru;for(t&&n.reverse();r--;){var a=n[r];if("function"!=typeof a)throw new Et(u);if(o&&!s&&"wrapper"==ru(a))var s=new $e([],!0)}for(r=s?r:e;++r<e;){var c=ru(a=n[r]),l="wrapper"==c?eu(a):i;s=l&&yu(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?s[ru(l[0])].apply(s,l[3]):1==a.length&&yu(a)?s[c]():s.thru(a)}return function(){var t=arguments,r=t[0];if(s&&1==t.length&&Go(r))return s.plant(r).value();for(var i=0,u=e?n[i].apply(this,t):r;++i<e;)u=n[i].call(this,u);return u}}))}function Oi(t,n,e,u,o,a,s,l,f,h){var p=n&c,g=1&n,d=2&n,v=24&n,_=512&n,y=d?i:Ti(t);return function c(){for(var m=arguments.length,b=r(m),w=m;w--;)b[w]=arguments[w];if(v)var x=iu(c),A=function(t,n){for(var e=t.length,r=0;e--;)t[e]===n&&++r;return r}(b,x);if(u&&(b=Si(b,u,o,v)),a&&(b=Ci(b,a,s,v)),m-=A,v&&m<h){var S=ae(b,x);return Wi(t,n,Oi,c.placeholder,e,b,S,l,f,h-m)}var C=g?e:this,k=d?C[t]:t;return m=b.length,l?b=function(t,n){for(var e=t.length,r=_e(n.length,e),u=ki(t);r--;){var o=n[r];t[r]=du(o,e)?u[o]:i}return t}(b,l):_&&m>1&&b.reverse(),p&&f<m&&(b.length=f),this&&this!==hn&&this instanceof c&&(k=y||Ti(k)),k.apply(C,b)}}function Mi(t,n){return function(e,r){return function(t,n,e,r){return yr(t,(function(t,i,u){n(r,e(t),i,u)})),r}(e,t,n(r),{})}}function zi(t,n){return function(e,r){var u;if(e===i&&r===i)return n;if(e!==i&&(u=e),r!==i){if(u===i)return r;"string"==typeof e||"string"==typeof r?(e=oi(e),r=oi(r)):(e=ui(e),r=ui(r)),u=t(e,r)}return u}}function Ui(t){return Xi((function(n){return n=Zn(n,Vn(uu())),qr((function(e){var r=this;return t(n,(function(t){return Sn(t,r,e)}))}))}))}function $i(t,n){var e=(n=n===i?" ":oi(n)).length;if(e<2)return e?Hr(n,t):n;var r=Hr(n,pn(t/le(n)));return ie(n)?yi(fe(r),0,t).join(""):r.slice(0,t)}function Bi(t){return function(n,e,u){return u&&"number"!=typeof u&&vu(n,e,u)&&(e=u=i),n=ha(n),e===i?(e=n,n=0):e=ha(e),function(t,n,e,i){for(var u=-1,o=ve(pn((n-t)/(e||1)),0),a=r(o);o--;)a[i?o:++u]=t,t+=e;return a}(n,e,u=u===i?n<e?1:-1:ha(u),t)}}function Gi(t){return function(n,e){return"string"==typeof n&&"string"==typeof e||(n=da(n),e=da(e)),t(n,e)}}function Wi(t,n,e,r,u,o,a,c,l,f){var h=8&n;n|=h?s:64,4&(n&=~(h?64:s))||(n&=-4);var p=[t,n,u,h?o:i,h?a:i,h?i:o,h?i:a,c,l,f],g=e.apply(i,p);return yu(t)&&ku(g,p),g.placeholder=r,Iu(g,t,n)}function Fi(t){var n=At[t];return function(t,e){if(t=da(t),(e=null==e?0:_e(pa(e),292))&&On(t)){var r=(_a(t)+"e").split("e");return+((r=(_a(n(r[0]+"e"+(+r[1]+e)))+"e").split("e"))[0]+"e"+(+r[1]-e))}return n(t)}}var Hi=Ce&&1/se(new Ce([,-0]))[1]==l?function(t){return new Ce(t)}:as;function qi(t){return function(n){var e=fu(n);return e==x?ue(n):e==E?ce(n):function(t,n){return Zn(n,(function(n){return[n,t[n]]}))}(n,t(n))}}function Yi(t,n,e,o,l,f,h,p){var g=2&n;if(!g&&"function"!=typeof t)throw new Et(u);var d=o?o.length:0;if(d||(n&=-97,o=l=i),h=h===i?h:ve(pa(h),0),p=p===i?p:pa(p),d-=l?l.length:0,64&n){var v=o,_=l;o=l=i}var y=g?i:eu(t),m=[t,n,e,o,l,v,_,f,h,p];if(y&&function(t,n){var e=t[1],r=n[1],i=e|r,u=i<131,o=r==c&&8==e||r==c&&256==e&&t[7].length<=n[8]||384==r&&n[7].length<=n[8]&&8==e;if(!u&&!o)return t;1&r&&(t[2]=n[2],i|=1&e?0:4);var s=n[3];if(s){var l=t[3];t[3]=l?Si(l,s,n[4]):s,t[4]=l?ae(t[3],a):n[4]}(s=n[5])&&(l=t[5],t[5]=l?Ci(l,s,n[6]):s,t[6]=l?ae(t[5],a):n[6]),(s=n[7])&&(t[7]=s),r&c&&(t[8]=null==t[8]?n[8]:_e(t[8],n[8])),null==t[9]&&(t[9]=n[9]),t[0]=n[0],t[1]=i}(m,y),t=m[0],n=m[1],e=m[2],o=m[3],l=m[4],!(p=m[9]=m[9]===i?g?0:t.length:ve(m[9]-d,0))&&24&n&&(n&=-25),n&&1!=n)b=8==n||16==n?function(t,n,e){var u=Ti(t);return function o(){for(var a=arguments.length,s=r(a),c=a,l=iu(o);c--;)s[c]=arguments[c];var f=a<3&&s[0]!==l&&s[a-1]!==l?[]:ae(s,l);return(a-=f.length)<e?Wi(t,n,Oi,o.placeholder,i,s,f,i,i,e-a):Sn(this&&this!==hn&&this instanceof o?u:t,this,s)}}(t,n,p):n!=s&&33!=n||l.length?Oi.apply(i,m):function(t,n,e,i){var u=1&n,o=Ti(t);return function n(){for(var a=-1,s=arguments.length,c=-1,l=i.length,f=r(l+s),h=this&&this!==hn&&this instanceof n?o:t;++c<l;)f[c]=i[c];for(;s--;)f[c++]=arguments[++a];return Sn(h,u?e:this,f)}}(t,n,e,o);else var b=function(t,n,e){var r=1&n,i=Ti(t);return function n(){return(this&&this!==hn&&this instanceof n?i:t).apply(r?e:this,arguments)}}(t,n,e);return Iu((y?Kr:ku)(b,m),t,n)}function Qi(t,n,e,r){return t===i||zo(t,Rt[e])&&!jt.call(r,e)?n:t}function Vi(t,n,e,r,u,o){return Xo(t)&&Xo(n)&&(o.set(n,t),zr(t,n,i,Vi,o),o.delete(n)),t}function Ki(t){return ra(t)?i:t}function Ji(t,n,e,r,u,o){var a=1&e,s=t.length,c=n.length;if(s!=c&&!(a&&c>s))return!1;var l=o.get(t),f=o.get(n);if(l&&f)return l==n&&f==t;var h=-1,p=!0,g=2&e?new He:i;for(o.set(t,n),o.set(n,t);++h<s;){var d=t[h],v=n[h];if(r)var _=a?r(v,d,h,n,t,o):r(d,v,h,t,n,o);if(_!==i){if(_)continue;p=!1;break}if(g){if(!Ln(n,(function(t,n){if(!Jn(g,n)&&(d===t||u(d,t,e,r,o)))return g.push(n)}))){p=!1;break}}else if(d!==v&&!u(d,v,e,r,o)){p=!1;break}}return o.delete(t),o.delete(n),p}function Xi(t){return Nu(Au(t,i,Gu),t+"")}function tu(t){return xr(t,Ra,cu)}function nu(t){return xr(t,Da,lu)}var eu=Ne?function(t){return Ne.get(t)}:as;function ru(t){for(var n=t.name+"",e=Ie[n],r=jt.call(Ie,n)?e.length:0;r--;){var i=e[r],u=i.func;if(null==u||u==t)return i.name}return n}function iu(t){return(jt.call(Me,"placeholder")?Me:t).placeholder}function uu(){var t=Me.iteratee||rs;return t=t===rs?jr:t,arguments.length?t(arguments[0],arguments[1]):t}function ou(t,n){var e,r,i=t.__data__;return("string"==(r=typeof(e=n))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==e:null===e)?i["string"==typeof n?"string":"hash"]:i.map}function au(t){for(var n=Ra(t),e=n.length;e--;){var r=n[e],i=t[r];n[e]=[r,i,wu(i)]}return n}function su(t,n){var e=function(t,n){return null==t?i:t[n]}(t,n);return Zr(e)?e:i}var cu=vn?function(t){return null==t?[]:(t=St(t),In(vn(t),(function(n){return Ht.call(t,n)})))}:gs,lu=vn?function(t){for(var n=[];t;)jn(n,cu(t)),t=Wt(t);return n}:gs,fu=Ar;function hu(t,n,e){for(var r=-1,i=(n=vi(n,t)).length,u=!1;++r<i;){var o=Pu(n[r]);if(!(u=null!=t&&e(t,o)))break;t=t[o]}return u||++r!=i?u:!!(i=null==t?0:t.length)&&Jo(i)&&du(o,i)&&(Go(t)||Bo(t))}function pu(t){return"function"!=typeof t.constructor||bu(t)?{}:ze(Wt(t))}function gu(t){return Go(t)||Bo(t)||!!(Yt&&t&&t[Yt])}function du(t,n){var e=typeof t;return!!(n=null==n?f:n)&&("number"==e||"symbol"!=e&&_t.test(t))&&t>-1&&t%1==0&&t<n}function vu(t,n,e){if(!Xo(e))return!1;var r=typeof n;return!!("number"==r?Fo(e)&&du(n,e.length):"string"==r&&n in e)&&zo(e[n],t)}function _u(t,n){if(Go(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!aa(t))||X.test(t)||!J.test(t)||null!=n&&t in St(n)}function yu(t){var n=ru(t),e=Me[n];if("function"!=typeof e||!(n in Be.prototype))return!1;if(t===e)return!0;var r=eu(e);return!!r&&t===r[0]}(xe&&fu(new xe(new ArrayBuffer(1)))!=Z||Ae&&fu(new Ae)!=x||Se&&fu(Se.resolve())!=C||Ce&&fu(new Ce)!=E||ke&&fu(new ke)!=R)&&(fu=function(t){var n=Ar(t),e=n==S?t.constructor:i,r=e?Lu(e):"";if(r)switch(r){case Re:return Z;case De:return x;case Ze:return C;case je:return E;case Te:return R}return n});var mu=Dt?Vo:ds;function bu(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||Rt)}function wu(t){return t==t&&!Xo(t)}function xu(t,n){return function(e){return null!=e&&e[t]===n&&(n!==i||t in St(e))}}function Au(t,n,e){return n=ve(n===i?t.length-1:n,0),function(){for(var i=arguments,u=-1,o=ve(i.length-n,0),a=r(o);++u<o;)a[u]=i[n+u];u=-1;for(var s=r(n+1);++u<n;)s[u]=i[u];return s[n]=e(a),Sn(t,this,s)}}function Su(t,n){return n.length<2?t:wr(t,ti(n,0,-1))}function Cu(t,n){if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]}var ku=Ru(Kr),Eu=fn||function(t,n){return hn.setTimeout(t,n)},Nu=Ru(Jr);function Iu(t,n,e){var r=n+"";return Nu(t,function(t,n){var e=n.length;if(!e)return t;var r=e-1;return n[r]=(e>1?"& ":"")+n[r],n=n.join(e>2?", ":" "),t.replace(ut,"{\n/* [wrapped with "+n+"] */\n")}(r,function(t,n){return kn(g,(function(e){var r="_."+e[0];n&e[1]&&!Rn(t,r)&&t.push(r)})),t.sort()}(function(t){var n=t.match(ot);return n?n[1].split(at):[]}(r),e)))}function Ru(t){var n=0,e=0;return function(){var r=ye(),u=16-(r-e);if(e=r,u>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(i,arguments)}}function Du(t,n){var e=-1,r=t.length,u=r-1;for(n=n===i?r:n;++e<n;){var o=Fr(e,u),a=t[o];t[o]=t[e],t[e]=a}return t.length=n,t}var Zu,ju,Tu=(Zu=jo((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(tt,(function(t,e,r,i){n.push(r?i.replace(lt,"$1"):e||t)})),n}),(function(t){return 500===ju.size&&ju.clear(),t})),ju=Zu.cache,Zu);function Pu(t){if("string"==typeof t||aa(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}function Lu(t){if(null!=t){try{return Zt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Ou(t){if(t instanceof Be)return t.clone();var n=new $e(t.__wrapped__,t.__chain__);return n.__actions__=ki(t.__actions__),n.__index__=t.__index__,n.__values__=t.__values__,n}var Mu=qr((function(t,n){return Ho(t)?cr(t,dr(n,1,Ho,!0)):[]})),zu=qr((function(t,n){var e=Yu(n);return Ho(e)&&(e=i),Ho(t)?cr(t,dr(n,1,Ho,!0),uu(e,2)):[]})),Uu=qr((function(t,n){var e=Yu(n);return Ho(e)&&(e=i),Ho(t)?cr(t,dr(n,1,Ho,!0),i,e):[]}));function $u(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var i=null==e?0:pa(e);return i<0&&(i=ve(r+i,0)),zn(t,uu(n,3),i)}function Bu(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var u=r-1;return e!==i&&(u=pa(e),u=e<0?ve(r+u,0):_e(u,r-1)),zn(t,uu(n,3),u,!0)}function Gu(t){return null!=t&&t.length?dr(t,1):[]}function Wu(t){return t&&t.length?t[0]:i}var Fu=qr((function(t){var n=Zn(t,gi);return n.length&&n[0]===t[0]?Er(n):[]})),Hu=qr((function(t){var n=Yu(t),e=Zn(t,gi);return n===Yu(e)?n=i:e.pop(),e.length&&e[0]===t[0]?Er(e,uu(n,2)):[]})),qu=qr((function(t){var n=Yu(t),e=Zn(t,gi);return(n="function"==typeof n?n:i)&&e.pop(),e.length&&e[0]===t[0]?Er(e,i,n):[]}));function Yu(t){var n=null==t?0:t.length;return n?t[n-1]:i}var Qu=qr(Vu);function Vu(t,n){return t&&t.length&&n&&n.length?Gr(t,n):t}var Ku=Xi((function(t,n){var e=null==t?0:t.length,r=ir(t,n);return Wr(t,Zn(n,(function(t){return du(t,e)?+t:t})).sort(Ai)),r}));function Ju(t){return null==t?t:we.call(t)}var Xu=qr((function(t){return ai(dr(t,1,Ho,!0))})),to=qr((function(t){var n=Yu(t);return Ho(n)&&(n=i),ai(dr(t,1,Ho,!0),uu(n,2))})),no=qr((function(t){var n=Yu(t);return n="function"==typeof n?n:i,ai(dr(t,1,Ho,!0),i,n)}));function eo(t){if(!t||!t.length)return[];var n=0;return t=In(t,(function(t){if(Ho(t))return n=ve(t.length,n),!0})),Yn(n,(function(n){return Zn(t,Wn(n))}))}function ro(t,n){if(!t||!t.length)return[];var e=eo(t);return null==n?e:Zn(e,(function(t){return Sn(n,i,t)}))}var io=qr((function(t,n){return Ho(t)?cr(t,n):[]})),uo=qr((function(t){return hi(In(t,Ho))})),oo=qr((function(t){var n=Yu(t);return Ho(n)&&(n=i),hi(In(t,Ho),uu(n,2))})),ao=qr((function(t){var n=Yu(t);return n="function"==typeof n?n:i,hi(In(t,Ho),i,n)})),so=qr(eo),co=qr((function(t){var n=t.length,e=n>1?t[n-1]:i;return e="function"==typeof e?(t.pop(),e):i,ro(t,e)}));function lo(t){var n=Me(t);return n.__chain__=!0,n}function fo(t,n){return n(t)}var ho=Xi((function(t){var n=t.length,e=n?t[0]:0,r=this.__wrapped__,u=function(n){return ir(n,t)};return!(n>1||this.__actions__.length)&&r instanceof Be&&du(e)?((r=r.slice(e,+e+(n?1:0))).__actions__.push({func:fo,args:[u],thisArg:i}),new $e(r,this.__chain__).thru((function(t){return n&&!t.length&&t.push(i),t}))):this.thru(u)})),po=Ni((function(t,n,e){jt.call(t,e)?++t[e]:rr(t,e,1)})),go=Pi($u),vo=Pi(Bu);function _o(t,n){return(Go(t)?kn:lr)(t,uu(n,3))}function yo(t,n){return(Go(t)?En:fr)(t,uu(n,3))}var mo=Ni((function(t,n,e){jt.call(t,e)?t[e].push(n):rr(t,e,[n])})),bo=qr((function(t,n,e){var i=-1,u="function"==typeof n,o=Fo(t)?r(t.length):[];return lr(t,(function(t){o[++i]=u?Sn(n,t,e):Nr(t,n,e)})),o})),wo=Ni((function(t,n,e){rr(t,e,n)}));function xo(t,n){return(Go(t)?Zn:Lr)(t,uu(n,3))}var Ao=Ni((function(t,n,e){t[e?0:1].push(n)}),(function(){return[[],[]]})),So=qr((function(t,n){if(null==t)return[];var e=n.length;return e>1&&vu(t,n[0],n[1])?n=[]:e>2&&vu(n[0],n[1],n[2])&&(n=[n[0]]),$r(t,dr(n,1),[])})),Co=ln||function(){return hn.Date.now()};function ko(t,n,e){return n=e?i:n,n=t&&null==n?t.length:n,Yi(t,c,i,i,i,i,n)}function Eo(t,n){var e;if("function"!=typeof n)throw new Et(u);return t=pa(t),function(){return--t>0&&(e=n.apply(this,arguments)),t<=1&&(n=i),e}}var No=qr((function(t,n,e){var r=1;if(e.length){var i=ae(e,iu(No));r|=s}return Yi(t,r,n,e,i)})),Io=qr((function(t,n,e){var r=3;if(e.length){var i=ae(e,iu(Io));r|=s}return Yi(n,r,t,e,i)}));function Ro(t,n,e){var r,o,a,s,c,l,f=0,h=!1,p=!1,g=!0;if("function"!=typeof t)throw new Et(u);function d(n){var e=r,u=o;return r=o=i,f=n,s=t.apply(u,e)}function v(t){var e=t-l;return l===i||e>=n||e<0||p&&t-f>=a}function _(){var t=Co();if(v(t))return y(t);c=Eu(_,function(t){var e=n-(t-l);return p?_e(e,a-(t-f)):e}(t))}function y(t){return c=i,g&&r?d(t):(r=o=i,s)}function m(){var t=Co(),e=v(t);if(r=arguments,o=this,l=t,e){if(c===i)return function(t){return f=t,c=Eu(_,n),h?d(t):s}(l);if(p)return mi(c),c=Eu(_,n),d(l)}return c===i&&(c=Eu(_,n)),s}return n=da(n)||0,Xo(e)&&(h=!!e.leading,a=(p="maxWait"in e)?ve(da(e.maxWait)||0,n):a,g="trailing"in e?!!e.trailing:g),m.cancel=function(){c!==i&&mi(c),f=0,r=l=o=c=i},m.flush=function(){return c===i?s:y(Co())},m}var Do=qr((function(t,n){return sr(t,1,n)})),Zo=qr((function(t,n,e){return sr(t,da(n)||0,e)}));function jo(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new Et(u);var e=function(){var r=arguments,i=n?n.apply(this,r):r[0],u=e.cache;if(u.has(i))return u.get(i);var o=t.apply(this,r);return e.cache=u.set(i,o)||u,o};return e.cache=new(jo.Cache||Fe),e}function To(t){if("function"!=typeof t)throw new Et(u);return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}jo.Cache=Fe;var Po=_i((function(t,n){var e=(n=1==n.length&&Go(n[0])?Zn(n[0],Vn(uu())):Zn(dr(n,1),Vn(uu()))).length;return qr((function(r){for(var i=-1,u=_e(r.length,e);++i<u;)r[i]=n[i].call(this,r[i]);return Sn(t,this,r)}))})),Lo=qr((function(t,n){var e=ae(n,iu(Lo));return Yi(t,s,i,n,e)})),Oo=qr((function(t,n){var e=ae(n,iu(Oo));return Yi(t,64,i,n,e)})),Mo=Xi((function(t,n){return Yi(t,256,i,i,i,n)}));function zo(t,n){return t===n||t!=t&&n!=n}var Uo=Gi(Sr),$o=Gi((function(t,n){return t>=n})),Bo=Ir(function(){return arguments}())?Ir:function(t){return ta(t)&&jt.call(t,"callee")&&!Ht.call(t,"callee")},Go=r.isArray,Wo=yn?Vn(yn):function(t){return ta(t)&&Ar(t)==D};function Fo(t){return null!=t&&Jo(t.length)&&!Vo(t)}function Ho(t){return ta(t)&&Fo(t)}var qo=_n||ds,Yo=mn?Vn(mn):function(t){return ta(t)&&Ar(t)==y};function Qo(t){if(!ta(t))return!1;var n=Ar(t);return n==m||"[object DOMException]"==n||"string"==typeof t.message&&"string"==typeof t.name&&!ra(t)}function Vo(t){if(!Xo(t))return!1;var n=Ar(t);return n==b||n==w||"[object AsyncFunction]"==n||"[object Proxy]"==n}function Ko(t){return"number"==typeof t&&t==pa(t)}function Jo(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=f}function Xo(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}function ta(t){return null!=t&&"object"==typeof t}var na=bn?Vn(bn):function(t){return ta(t)&&fu(t)==x};function ea(t){return"number"==typeof t||ta(t)&&Ar(t)==A}function ra(t){if(!ta(t)||Ar(t)!=S)return!1;var n=Wt(t);if(null===n)return!0;var e=jt.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&Zt.call(e)==Ot}var ia=wn?Vn(wn):function(t){return ta(t)&&Ar(t)==k},ua=xn?Vn(xn):function(t){return ta(t)&&fu(t)==E};function oa(t){return"string"==typeof t||!Go(t)&&ta(t)&&Ar(t)==N}function aa(t){return"symbol"==typeof t||ta(t)&&Ar(t)==I}var sa=An?Vn(An):function(t){return ta(t)&&Jo(t.length)&&!!un[Ar(t)]},ca=Gi(Pr),la=Gi((function(t,n){return t<=n}));function fa(t){if(!t)return[];if(Fo(t))return oa(t)?fe(t):ki(t);if(Qt&&t[Qt])return function(t){for(var n,e=[];!(n=t.next()).done;)e.push(n.value);return e}(t[Qt]());var n=fu(t);return(n==x?ue:n==E?se:za)(t)}function ha(t){return t?(t=da(t))===l||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function pa(t){var n=ha(t),e=n%1;return n==n?e?n-e:n:0}function ga(t){return t?ur(pa(t),0,p):0}function da(t){if("number"==typeof t)return t;if(aa(t))return h;if(Xo(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=Xo(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=Qn(t);var e=gt.test(t);return e||vt.test(t)?cn(t.slice(2),e?2:8):pt.test(t)?h:+t}function va(t){return Ei(t,Da(t))}function _a(t){return null==t?"":oi(t)}var ya=Ii((function(t,n){if(bu(n)||Fo(n))Ei(n,Ra(n),t);else for(var e in n)jt.call(n,e)&&Xe(t,e,n[e])})),ma=Ii((function(t,n){Ei(n,Da(n),t)})),ba=Ii((function(t,n,e,r){Ei(n,Da(n),t,r)})),wa=Ii((function(t,n,e,r){Ei(n,Ra(n),t,r)})),xa=Xi(ir),Aa=qr((function(t,n){t=St(t);var e=-1,r=n.length,u=r>2?n[2]:i;for(u&&vu(n[0],n[1],u)&&(r=1);++e<r;)for(var o=n[e],a=Da(o),s=-1,c=a.length;++s<c;){var l=a[s],f=t[l];(f===i||zo(f,Rt[l])&&!jt.call(t,l))&&(t[l]=o[l])}return t})),Sa=qr((function(t){return t.push(i,Vi),Sn(ja,i,t)}));function Ca(t,n,e){var r=null==t?i:wr(t,n);return r===i?e:r}function ka(t,n){return null!=t&&hu(t,n,kr)}var Ea=Mi((function(t,n,e){null!=n&&"function"!=typeof n.toString&&(n=Lt.call(n)),t[n]=e}),Xa(es)),Na=Mi((function(t,n,e){null!=n&&"function"!=typeof n.toString&&(n=Lt.call(n)),jt.call(t,n)?t[n].push(e):t[n]=[e]}),uu),Ia=qr(Nr);function Ra(t){return Fo(t)?Ye(t):Tr(t)}function Da(t){return Fo(t)?Ye(t,!0):function(t){if(!Xo(t))return function(t){var n=[];if(null!=t)for(var e in St(t))n.push(e);return n}(t);var n=bu(t),e=[];for(var r in t)("constructor"!=r||!n&&jt.call(t,r))&&e.push(r);return e}(t)}var Za=Ii((function(t,n,e){zr(t,n,e)})),ja=Ii((function(t,n,e,r){zr(t,n,e,r)})),Ta=Xi((function(t,n){var e={};if(null==t)return e;var r=!1;n=Zn(n,(function(n){return n=vi(n,t),r||(r=n.length>1),n})),Ei(t,nu(t),e),r&&(e=or(e,7,Ki));for(var i=n.length;i--;)si(e,n[i]);return e})),Pa=Xi((function(t,n){return null==t?{}:function(t,n){return Br(t,n,(function(n,e){return ka(t,e)}))}(t,n)}));function La(t,n){if(null==t)return{};var e=Zn(nu(t),(function(t){return[t]}));return n=uu(n),Br(t,e,(function(t,e){return n(t,e[0])}))}var Oa=qi(Ra),Ma=qi(Da);function za(t){return null==t?[]:Kn(t,Ra(t))}var Ua=ji((function(t,n,e){return n=n.toLowerCase(),t+(e?$a(n):n)}));function $a(t){return Qa(_a(t).toLowerCase())}function Ba(t){return(t=_a(t))&&t.replace(yt,ne).replace(Kt,"")}var Ga=ji((function(t,n,e){return t+(e?"-":"")+n.toLowerCase()})),Wa=ji((function(t,n,e){return t+(e?" ":"")+n.toLowerCase()})),Fa=Zi("toLowerCase"),Ha=ji((function(t,n,e){return t+(e?"_":"")+n.toLowerCase()})),qa=ji((function(t,n,e){return t+(e?" ":"")+Qa(n)})),Ya=ji((function(t,n,e){return t+(e?" ":"")+n.toUpperCase()})),Qa=Zi("toUpperCase");function Va(t,n,e){return t=_a(t),(n=e?i:n)===i?function(t){return nn.test(t)}(t)?function(t){return t.match(Xt)||[]}(t):function(t){return t.match(st)||[]}(t):t.match(n)||[]}var Ka=qr((function(t,n){try{return Sn(t,i,n)}catch(t){return Qo(t)?t:new wt(t)}})),Ja=Xi((function(t,n){return kn(n,(function(n){n=Pu(n),rr(t,n,No(t[n],t))})),t}));function Xa(t){return function(){return t}}var ts=Li(),ns=Li(!0);function es(t){return t}function rs(t){return jr("function"==typeof t?t:or(t,1))}var is=qr((function(t,n){return function(e){return Nr(e,t,n)}})),us=qr((function(t,n){return function(e){return Nr(t,e,n)}}));function os(t,n,e){var r=Ra(n),i=br(n,r);null!=e||Xo(n)&&(i.length||!r.length)||(e=n,n=t,t=this,i=br(n,Ra(n)));var u=!(Xo(e)&&"chain"in e&&!e.chain),o=Vo(t);return kn(i,(function(e){var r=n[e];t[e]=r,o&&(t.prototype[e]=function(){var n=this.__chain__;if(u||n){var e=t(this.__wrapped__);return(e.__actions__=ki(this.__actions__)).push({func:r,args:arguments,thisArg:t}),e.__chain__=n,e}return r.apply(t,jn([this.value()],arguments))})})),t}function as(){}var ss=Ui(Zn),cs=Ui(Nn),ls=Ui(Ln);function fs(t){return _u(t)?Wn(Pu(t)):function(t){return function(n){return wr(n,t)}}(t)}var hs=Bi(),ps=Bi(!0);function gs(){return[]}function ds(){return!1}var vs,_s=zi((function(t,n){return t+n}),0),ys=Fi("ceil"),ms=zi((function(t,n){return t/n}),1),bs=Fi("floor"),ws=zi((function(t,n){return t*n}),1),xs=Fi("round"),As=zi((function(t,n){return t-n}),0);return Me.after=function(t,n){if("function"!=typeof n)throw new Et(u);return t=pa(t),function(){if(--t<1)return n.apply(this,arguments)}},Me.ary=ko,Me.assign=ya,Me.assignIn=ma,Me.assignInWith=ba,Me.assignWith=wa,Me.at=xa,Me.before=Eo,Me.bind=No,Me.bindAll=Ja,Me.bindKey=Io,Me.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Go(t)?t:[t]},Me.chain=lo,Me.chunk=function(t,n,e){n=(e?vu(t,n,e):n===i)?1:ve(pa(n),0);var u=null==t?0:t.length;if(!u||n<1)return[];for(var o=0,a=0,s=r(pn(u/n));o<u;)s[a++]=ti(t,o,o+=n);return s},Me.compact=function(t){for(var n=-1,e=null==t?0:t.length,r=0,i=[];++n<e;){var u=t[n];u&&(i[r++]=u)}return i},Me.concat=function(){var t=arguments.length;if(!t)return[];for(var n=r(t-1),e=arguments[0],i=t;i--;)n[i-1]=arguments[i];return jn(Go(e)?ki(e):[e],dr(n,1))},Me.cond=function(t){var n=null==t?0:t.length,e=uu();return t=n?Zn(t,(function(t){if("function"!=typeof t[1])throw new Et(u);return[e(t[0]),t[1]]})):[],qr((function(e){for(var r=-1;++r<n;){var i=t[r];if(Sn(i[0],this,e))return Sn(i[1],this,e)}}))},Me.conforms=function(t){return function(t){var n=Ra(t);return function(e){return ar(e,t,n)}}(or(t,1))},Me.constant=Xa,Me.countBy=po,Me.create=function(t,n){var e=ze(t);return null==n?e:er(e,n)},Me.curry=function t(n,e,r){var u=Yi(n,8,i,i,i,i,i,e=r?i:e);return u.placeholder=t.placeholder,u},Me.curryRight=function t(n,e,r){var u=Yi(n,16,i,i,i,i,i,e=r?i:e);return u.placeholder=t.placeholder,u},Me.debounce=Ro,Me.defaults=Aa,Me.defaultsDeep=Sa,Me.defer=Do,Me.delay=Zo,Me.difference=Mu,Me.differenceBy=zu,Me.differenceWith=Uu,Me.drop=function(t,n,e){var r=null==t?0:t.length;return r?ti(t,(n=e||n===i?1:pa(n))<0?0:n,r):[]},Me.dropRight=function(t,n,e){var r=null==t?0:t.length;return r?ti(t,0,(n=r-(n=e||n===i?1:pa(n)))<0?0:n):[]},Me.dropRightWhile=function(t,n){return t&&t.length?li(t,uu(n,3),!0,!0):[]},Me.dropWhile=function(t,n){return t&&t.length?li(t,uu(n,3),!0):[]},Me.fill=function(t,n,e,r){var u=null==t?0:t.length;return u?(e&&"number"!=typeof e&&vu(t,n,e)&&(e=0,r=u),function(t,n,e,r){var u=t.length;for((e=pa(e))<0&&(e=-e>u?0:u+e),(r=r===i||r>u?u:pa(r))<0&&(r+=u),r=e>r?0:ga(r);e<r;)t[e++]=n;return t}(t,n,e,r)):[]},Me.filter=function(t,n){return(Go(t)?In:gr)(t,uu(n,3))},Me.flatMap=function(t,n){return dr(xo(t,n),1)},Me.flatMapDeep=function(t,n){return dr(xo(t,n),l)},Me.flatMapDepth=function(t,n,e){return e=e===i?1:pa(e),dr(xo(t,n),e)},Me.flatten=Gu,Me.flattenDeep=function(t){return null!=t&&t.length?dr(t,l):[]},Me.flattenDepth=function(t,n){return null!=t&&t.length?dr(t,n=n===i?1:pa(n)):[]},Me.flip=function(t){return Yi(t,512)},Me.flow=ts,Me.flowRight=ns,Me.fromPairs=function(t){for(var n=-1,e=null==t?0:t.length,r={};++n<e;){var i=t[n];r[i[0]]=i[1]}return r},Me.functions=function(t){return null==t?[]:br(t,Ra(t))},Me.functionsIn=function(t){return null==t?[]:br(t,Da(t))},Me.groupBy=mo,Me.initial=function(t){return null!=t&&t.length?ti(t,0,-1):[]},Me.intersection=Fu,Me.intersectionBy=Hu,Me.intersectionWith=qu,Me.invert=Ea,Me.invertBy=Na,Me.invokeMap=bo,Me.iteratee=rs,Me.keyBy=wo,Me.keys=Ra,Me.keysIn=Da,Me.map=xo,Me.mapKeys=function(t,n){var e={};return n=uu(n,3),yr(t,(function(t,r,i){rr(e,n(t,r,i),t)})),e},Me.mapValues=function(t,n){var e={};return n=uu(n,3),yr(t,(function(t,r,i){rr(e,r,n(t,r,i))})),e},Me.matches=function(t){return Or(or(t,1))},Me.matchesProperty=function(t,n){return Mr(t,or(n,1))},Me.memoize=jo,Me.merge=Za,Me.mergeWith=ja,Me.method=is,Me.methodOf=us,Me.mixin=os,Me.negate=To,Me.nthArg=function(t){return t=pa(t),qr((function(n){return Ur(n,t)}))},Me.omit=Ta,Me.omitBy=function(t,n){return La(t,To(uu(n)))},Me.once=function(t){return Eo(2,t)},Me.orderBy=function(t,n,e,r){return null==t?[]:(Go(n)||(n=null==n?[]:[n]),Go(e=r?i:e)||(e=null==e?[]:[e]),$r(t,n,e))},Me.over=ss,Me.overArgs=Po,Me.overEvery=cs,Me.overSome=ls,Me.partial=Lo,Me.partialRight=Oo,Me.partition=Ao,Me.pick=Pa,Me.pickBy=La,Me.property=fs,Me.propertyOf=function(t){return function(n){return null==t?i:wr(t,n)}},Me.pull=Qu,Me.pullAll=Vu,Me.pullAllBy=function(t,n,e){return t&&t.length&&n&&n.length?Gr(t,n,uu(e,2)):t},Me.pullAllWith=function(t,n,e){return t&&t.length&&n&&n.length?Gr(t,n,i,e):t},Me.pullAt=Ku,Me.range=hs,Me.rangeRight=ps,Me.rearg=Mo,Me.reject=function(t,n){return(Go(t)?In:gr)(t,To(uu(n,3)))},Me.remove=function(t,n){var e=[];if(!t||!t.length)return e;var r=-1,i=[],u=t.length;for(n=uu(n,3);++r<u;){var o=t[r];n(o,r,t)&&(e.push(o),i.push(r))}return Wr(t,i),e},Me.rest=function(t,n){if("function"!=typeof t)throw new Et(u);return qr(t,n=n===i?n:pa(n))},Me.reverse=Ju,Me.sampleSize=function(t,n,e){return n=(e?vu(t,n,e):n===i)?1:pa(n),(Go(t)?Ve:Qr)(t,n)},Me.set=function(t,n,e){return null==t?t:Vr(t,n,e)},Me.setWith=function(t,n,e,r){return r="function"==typeof r?r:i,null==t?t:Vr(t,n,e,r)},Me.shuffle=function(t){return(Go(t)?Ke:Xr)(t)},Me.slice=function(t,n,e){var r=null==t?0:t.length;return r?(e&&"number"!=typeof e&&vu(t,n,e)?(n=0,e=r):(n=null==n?0:pa(n),e=e===i?r:pa(e)),ti(t,n,e)):[]},Me.sortBy=So,Me.sortedUniq=function(t){return t&&t.length?ii(t):[]},Me.sortedUniqBy=function(t,n){return t&&t.length?ii(t,uu(n,2)):[]},Me.split=function(t,n,e){return e&&"number"!=typeof e&&vu(t,n,e)&&(n=e=i),(e=e===i?p:e>>>0)?(t=_a(t))&&("string"==typeof n||null!=n&&!ia(n))&&!(n=oi(n))&&ie(t)?yi(fe(t),0,e):t.split(n,e):[]},Me.spread=function(t,n){if("function"!=typeof t)throw new Et(u);return n=null==n?0:ve(pa(n),0),qr((function(e){var r=e[n],i=yi(e,0,n);return r&&jn(i,r),Sn(t,this,i)}))},Me.tail=function(t){var n=null==t?0:t.length;return n?ti(t,1,n):[]},Me.take=function(t,n,e){return t&&t.length?ti(t,0,(n=e||n===i?1:pa(n))<0?0:n):[]},Me.takeRight=function(t,n,e){var r=null==t?0:t.length;return r?ti(t,(n=r-(n=e||n===i?1:pa(n)))<0?0:n,r):[]},Me.takeRightWhile=function(t,n){return t&&t.length?li(t,uu(n,3),!1,!0):[]},Me.takeWhile=function(t,n){return t&&t.length?li(t,uu(n,3)):[]},Me.tap=function(t,n){return n(t),t},Me.throttle=function(t,n,e){var r=!0,i=!0;if("function"!=typeof t)throw new Et(u);return Xo(e)&&(r="leading"in e?!!e.leading:r,i="trailing"in e?!!e.trailing:i),Ro(t,n,{leading:r,maxWait:n,trailing:i})},Me.thru=fo,Me.toArray=fa,Me.toPairs=Oa,Me.toPairsIn=Ma,Me.toPath=function(t){return Go(t)?Zn(t,Pu):aa(t)?[t]:ki(Tu(_a(t)))},Me.toPlainObject=va,Me.transform=function(t,n,e){var r=Go(t),i=r||qo(t)||sa(t);if(n=uu(n,4),null==e){var u=t&&t.constructor;e=i?r?new u:[]:Xo(t)&&Vo(u)?ze(Wt(t)):{}}return(i?kn:yr)(t,(function(t,r,i){return n(e,t,r,i)})),e},Me.unary=function(t){return ko(t,1)},Me.union=Xu,Me.unionBy=to,Me.unionWith=no,Me.uniq=function(t){return t&&t.length?ai(t):[]},Me.uniqBy=function(t,n){return t&&t.length?ai(t,uu(n,2)):[]},Me.uniqWith=function(t,n){return n="function"==typeof n?n:i,t&&t.length?ai(t,i,n):[]},Me.unset=function(t,n){return null==t||si(t,n)},Me.unzip=eo,Me.unzipWith=ro,Me.update=function(t,n,e){return null==t?t:ci(t,n,di(e))},Me.updateWith=function(t,n,e,r){return r="function"==typeof r?r:i,null==t?t:ci(t,n,di(e),r)},Me.values=za,Me.valuesIn=function(t){return null==t?[]:Kn(t,Da(t))},Me.without=io,Me.words=Va,Me.wrap=function(t,n){return Lo(di(n),t)},Me.xor=uo,Me.xorBy=oo,Me.xorWith=ao,Me.zip=so,Me.zipObject=function(t,n){return pi(t||[],n||[],Xe)},Me.zipObjectDeep=function(t,n){return pi(t||[],n||[],Vr)},Me.zipWith=co,Me.entries=Oa,Me.entriesIn=Ma,Me.extend=ma,Me.extendWith=ba,os(Me,Me),Me.add=_s,Me.attempt=Ka,Me.camelCase=Ua,Me.capitalize=$a,Me.ceil=ys,Me.clamp=function(t,n,e){return e===i&&(e=n,n=i),e!==i&&(e=(e=da(e))==e?e:0),n!==i&&(n=(n=da(n))==n?n:0),ur(da(t),n,e)},Me.clone=function(t){return or(t,4)},Me.cloneDeep=function(t){return or(t,5)},Me.cloneDeepWith=function(t,n){return or(t,5,n="function"==typeof n?n:i)},Me.cloneWith=function(t,n){return or(t,4,n="function"==typeof n?n:i)},Me.conformsTo=function(t,n){return null==n||ar(t,n,Ra(n))},Me.deburr=Ba,Me.defaultTo=function(t,n){return null==t||t!=t?n:t},Me.divide=ms,Me.endsWith=function(t,n,e){t=_a(t),n=oi(n);var r=t.length,u=e=e===i?r:ur(pa(e),0,r);return(e-=n.length)>=0&&t.slice(e,u)==n},Me.eq=zo,Me.escape=function(t){return(t=_a(t))&&Y.test(t)?t.replace(H,ee):t},Me.escapeRegExp=function(t){return(t=_a(t))&&et.test(t)?t.replace(nt,"\\$&"):t},Me.every=function(t,n,e){var r=Go(t)?Nn:hr;return e&&vu(t,n,e)&&(n=i),r(t,uu(n,3))},Me.find=go,Me.findIndex=$u,Me.findKey=function(t,n){return Mn(t,uu(n,3),yr)},Me.findLast=vo,Me.findLastIndex=Bu,Me.findLastKey=function(t,n){return Mn(t,uu(n,3),mr)},Me.floor=bs,Me.forEach=_o,Me.forEachRight=yo,Me.forIn=function(t,n){return null==t?t:vr(t,uu(n,3),Da)},Me.forInRight=function(t,n){return null==t?t:_r(t,uu(n,3),Da)},Me.forOwn=function(t,n){return t&&yr(t,uu(n,3))},Me.forOwnRight=function(t,n){return t&&mr(t,uu(n,3))},Me.get=Ca,Me.gt=Uo,Me.gte=$o,Me.has=function(t,n){return null!=t&&hu(t,n,Cr)},Me.hasIn=ka,Me.head=Wu,Me.identity=es,Me.includes=function(t,n,e,r){t=Fo(t)?t:za(t),e=e&&!r?pa(e):0;var i=t.length;return e<0&&(e=ve(i+e,0)),oa(t)?e<=i&&t.indexOf(n,e)>-1:!!i&&Un(t,n,e)>-1},Me.indexOf=function(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var i=null==e?0:pa(e);return i<0&&(i=ve(r+i,0)),Un(t,n,i)},Me.inRange=function(t,n,e){return n=ha(n),e===i?(e=n,n=0):e=ha(e),function(t,n,e){return t>=_e(n,e)&&t<ve(n,e)}(t=da(t),n,e)},Me.invoke=Ia,Me.isArguments=Bo,Me.isArray=Go,Me.isArrayBuffer=Wo,Me.isArrayLike=Fo,Me.isArrayLikeObject=Ho,Me.isBoolean=function(t){return!0===t||!1===t||ta(t)&&Ar(t)==_},Me.isBuffer=qo,Me.isDate=Yo,Me.isElement=function(t){return ta(t)&&1===t.nodeType&&!ra(t)},Me.isEmpty=function(t){if(null==t)return!0;if(Fo(t)&&(Go(t)||"string"==typeof t||"function"==typeof t.splice||qo(t)||sa(t)||Bo(t)))return!t.length;var n=fu(t);if(n==x||n==E)return!t.size;if(bu(t))return!Tr(t).length;for(var e in t)if(jt.call(t,e))return!1;return!0},Me.isEqual=function(t,n){return Rr(t,n)},Me.isEqualWith=function(t,n,e){var r=(e="function"==typeof e?e:i)?e(t,n):i;return r===i?Rr(t,n,i,e):!!r},Me.isError=Qo,Me.isFinite=function(t){return"number"==typeof t&&On(t)},Me.isFunction=Vo,Me.isInteger=Ko,Me.isLength=Jo,Me.isMap=na,Me.isMatch=function(t,n){return t===n||Dr(t,n,au(n))},Me.isMatchWith=function(t,n,e){return e="function"==typeof e?e:i,Dr(t,n,au(n),e)},Me.isNaN=function(t){return ea(t)&&t!=+t},Me.isNative=function(t){if(mu(t))throw new wt("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Zr(t)},Me.isNil=function(t){return null==t},Me.isNull=function(t){return null===t},Me.isNumber=ea,Me.isObject=Xo,Me.isObjectLike=ta,Me.isPlainObject=ra,Me.isRegExp=ia,Me.isSafeInteger=function(t){return Ko(t)&&t>=-9007199254740991&&t<=f},Me.isSet=ua,Me.isString=oa,Me.isSymbol=aa,Me.isTypedArray=sa,Me.isUndefined=function(t){return t===i},Me.isWeakMap=function(t){return ta(t)&&fu(t)==R},Me.isWeakSet=function(t){return ta(t)&&"[object WeakSet]"==Ar(t)},Me.join=function(t,n){return null==t?"":Fn.call(t,n)},Me.kebabCase=Ga,Me.last=Yu,Me.lastIndexOf=function(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var u=r;return e!==i&&(u=(u=pa(e))<0?ve(r+u,0):_e(u,r-1)),n==n?function(t,n,e){for(var r=e+1;r--;)if(t[r]===n)return r;return r}(t,n,u):zn(t,Bn,u,!0)},Me.lowerCase=Wa,Me.lowerFirst=Fa,Me.lt=ca,Me.lte=la,Me.max=function(t){return t&&t.length?pr(t,es,Sr):i},Me.maxBy=function(t,n){return t&&t.length?pr(t,uu(n,2),Sr):i},Me.mean=function(t){return Gn(t,es)},Me.meanBy=function(t,n){return Gn(t,uu(n,2))},Me.min=function(t){return t&&t.length?pr(t,es,Pr):i},Me.minBy=function(t,n){return t&&t.length?pr(t,uu(n,2),Pr):i},Me.stubArray=gs,Me.stubFalse=ds,Me.stubObject=function(){return{}},Me.stubString=function(){return""},Me.stubTrue=function(){return!0},Me.multiply=ws,Me.nth=function(t,n){return t&&t.length?Ur(t,pa(n)):i},Me.noConflict=function(){return hn._===this&&(hn._=Mt),this},Me.noop=as,Me.now=Co,Me.pad=function(t,n,e){t=_a(t);var r=(n=pa(n))?le(t):0;if(!n||r>=n)return t;var i=(n-r)/2;return $i(gn(i),e)+t+$i(pn(i),e)},Me.padEnd=function(t,n,e){t=_a(t);var r=(n=pa(n))?le(t):0;return n&&r<n?t+$i(n-r,e):t},Me.padStart=function(t,n,e){t=_a(t);var r=(n=pa(n))?le(t):0;return n&&r<n?$i(n-r,e)+t:t},Me.parseInt=function(t,n,e){return e||null==n?n=0:n&&(n=+n),me(_a(t).replace(rt,""),n||0)},Me.random=function(t,n,e){if(e&&"boolean"!=typeof e&&vu(t,n,e)&&(n=e=i),e===i&&("boolean"==typeof n?(e=n,n=i):"boolean"==typeof t&&(e=t,t=i)),t===i&&n===i?(t=0,n=1):(t=ha(t),n===i?(n=t,t=0):n=ha(n)),t>n){var r=t;t=n,n=r}if(e||t%1||n%1){var u=be();return _e(t+u*(n-t+sn("1e-"+((u+"").length-1))),n)}return Fr(t,n)},Me.reduce=function(t,n,e){var r=Go(t)?Tn:Hn,i=arguments.length<3;return r(t,uu(n,4),e,i,lr)},Me.reduceRight=function(t,n,e){var r=Go(t)?Pn:Hn,i=arguments.length<3;return r(t,uu(n,4),e,i,fr)},Me.repeat=function(t,n,e){return n=(e?vu(t,n,e):n===i)?1:pa(n),Hr(_a(t),n)},Me.replace=function(){var t=arguments,n=_a(t[0]);return t.length<3?n:n.replace(t[1],t[2])},Me.result=function(t,n,e){var r=-1,u=(n=vi(n,t)).length;for(u||(u=1,t=i);++r<u;){var o=null==t?i:t[Pu(n[r])];o===i&&(r=u,o=e),t=Vo(o)?o.call(t):o}return t},Me.round=xs,Me.runInContext=t,Me.sample=function(t){return(Go(t)?Qe:Yr)(t)},Me.size=function(t){if(null==t)return 0;if(Fo(t))return oa(t)?le(t):t.length;var n=fu(t);return n==x||n==E?t.size:Tr(t).length},Me.snakeCase=Ha,Me.some=function(t,n,e){var r=Go(t)?Ln:ni;return e&&vu(t,n,e)&&(n=i),r(t,uu(n,3))},Me.sortedIndex=function(t,n){return ei(t,n)},Me.sortedIndexBy=function(t,n,e){return ri(t,n,uu(e,2))},Me.sortedIndexOf=function(t,n){var e=null==t?0:t.length;if(e){var r=ei(t,n);if(r<e&&zo(t[r],n))return r}return-1},Me.sortedLastIndex=function(t,n){return ei(t,n,!0)},Me.sortedLastIndexBy=function(t,n,e){return ri(t,n,uu(e,2),!0)},Me.sortedLastIndexOf=function(t,n){if(null!=t&&t.length){var e=ei(t,n,!0)-1;if(zo(t[e],n))return e}return-1},Me.startCase=qa,Me.startsWith=function(t,n,e){return t=_a(t),e=null==e?0:ur(pa(e),0,t.length),n=oi(n),t.slice(e,e+n.length)==n},Me.subtract=As,Me.sum=function(t){return t&&t.length?qn(t,es):0},Me.sumBy=function(t,n){return t&&t.length?qn(t,uu(n,2)):0},Me.template=function(t,n,e){var r=Me.templateSettings;e&&vu(t,n,e)&&(n=i),t=_a(t),n=ba({},n,r,Qi);var u,o,a=ba({},n.imports,r.imports,Qi),s=Ra(a),c=Kn(a,s),l=0,f=n.interpolate||mt,h="__p += '",p=Ct((n.escape||mt).source+"|"+f.source+"|"+(f===K?ft:mt).source+"|"+(n.evaluate||mt).source+"|$","g"),g="//# sourceURL="+(jt.call(n,"sourceURL")?(n.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rn+"]")+"\n";t.replace(p,(function(n,e,r,i,a,s){return r||(r=i),h+=t.slice(l,s).replace(bt,re),e&&(u=!0,h+="' +\n__e("+e+") +\n'"),a&&(o=!0,h+="';\n"+a+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=s+n.length,n})),h+="';\n";var d=jt.call(n,"variable")&&n.variable;if(d){if(ct.test(d))throw new wt("Invalid `variable` option passed into `_.template`")}else h="with (obj) {\n"+h+"\n}\n";h=(o?h.replace(B,""):h).replace(G,"$1").replace(W,"$1;"),h="function("+(d||"obj")+") {\n"+(d?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(u?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var v=Ka((function(){return xt(s,g+"return "+h).apply(i,c)}));if(v.source=h,Qo(v))throw v;return v},Me.times=function(t,n){if((t=pa(t))<1||t>f)return[];var e=p,r=_e(t,p);n=uu(n),t-=p;for(var i=Yn(r,n);++e<t;)n(e);return i},Me.toFinite=ha,Me.toInteger=pa,Me.toLength=ga,Me.toLower=function(t){return _a(t).toLowerCase()},Me.toNumber=da,Me.toSafeInteger=function(t){return t?ur(pa(t),-9007199254740991,f):0===t?t:0},Me.toString=_a,Me.toUpper=function(t){return _a(t).toUpperCase()},Me.trim=function(t,n,e){if((t=_a(t))&&(e||n===i))return Qn(t);if(!t||!(n=oi(n)))return t;var r=fe(t),u=fe(n);return yi(r,Xn(r,u),te(r,u)+1).join("")},Me.trimEnd=function(t,n,e){if((t=_a(t))&&(e||n===i))return t.slice(0,he(t)+1);if(!t||!(n=oi(n)))return t;var r=fe(t);return yi(r,0,te(r,fe(n))+1).join("")},Me.trimStart=function(t,n,e){if((t=_a(t))&&(e||n===i))return t.replace(rt,"");if(!t||!(n=oi(n)))return t;var r=fe(t);return yi(r,Xn(r,fe(n))).join("")},Me.truncate=function(t,n){var e=30,r="...";if(Xo(n)){var u="separator"in n?n.separator:u;e="length"in n?pa(n.length):e,r="omission"in n?oi(n.omission):r}var o=(t=_a(t)).length;if(ie(t)){var a=fe(t);o=a.length}if(e>=o)return t;var s=e-le(r);if(s<1)return r;var c=a?yi(a,0,s).join(""):t.slice(0,s);if(u===i)return c+r;if(a&&(s+=c.length-s),ia(u)){if(t.slice(s).search(u)){var l,f=c;for(u.global||(u=Ct(u.source,_a(ht.exec(u))+"g")),u.lastIndex=0;l=u.exec(f);)var h=l.index;c=c.slice(0,h===i?s:h)}}else if(t.indexOf(oi(u),s)!=s){var p=c.lastIndexOf(u);p>-1&&(c=c.slice(0,p))}return c+r},Me.unescape=function(t){return(t=_a(t))&&q.test(t)?t.replace(F,pe):t},Me.uniqueId=function(t){var n=++Tt;return _a(t)+n},Me.upperCase=Ya,Me.upperFirst=Qa,Me.each=_o,Me.eachRight=yo,Me.first=Wu,os(Me,(vs={},yr(Me,(function(t,n){jt.call(Me.prototype,n)||(vs[n]=t)})),vs),{chain:!1}),Me.VERSION="4.17.21",kn(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Me[t].placeholder=Me})),kn(["drop","take"],(function(t,n){Be.prototype[t]=function(e){e=e===i?1:ve(pa(e),0);var r=this.__filtered__&&!n?new Be(this):this.clone();return r.__filtered__?r.__takeCount__=_e(e,r.__takeCount__):r.__views__.push({size:_e(e,p),type:t+(r.__dir__<0?"Right":"")}),r},Be.prototype[t+"Right"]=function(n){return this.reverse()[t](n).reverse()}})),kn(["filter","map","takeWhile"],(function(t,n){var e=n+1,r=1==e||3==e;Be.prototype[t]=function(t){var n=this.clone();return n.__iteratees__.push({iteratee:uu(t,3),type:e}),n.__filtered__=n.__filtered__||r,n}})),kn(["head","last"],(function(t,n){var e="take"+(n?"Right":"");Be.prototype[t]=function(){return this[e](1).value()[0]}})),kn(["initial","tail"],(function(t,n){var e="drop"+(n?"":"Right");Be.prototype[t]=function(){return this.__filtered__?new Be(this):this[e](1)}})),Be.prototype.compact=function(){return this.filter(es)},Be.prototype.find=function(t){return this.filter(t).head()},Be.prototype.findLast=function(t){return this.reverse().find(t)},Be.prototype.invokeMap=qr((function(t,n){return"function"==typeof t?new Be(this):this.map((function(e){return Nr(e,t,n)}))})),Be.prototype.reject=function(t){return this.filter(To(uu(t)))},Be.prototype.slice=function(t,n){t=pa(t);var e=this;return e.__filtered__&&(t>0||n<0)?new Be(e):(t<0?e=e.takeRight(-t):t&&(e=e.drop(t)),n!==i&&(e=(n=pa(n))<0?e.dropRight(-n):e.take(n-t)),e)},Be.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Be.prototype.toArray=function(){return this.take(p)},yr(Be.prototype,(function(t,n){var e=/^(?:filter|find|map|reject)|While$/.test(n),r=/^(?:head|last)$/.test(n),u=Me[r?"take"+("last"==n?"Right":""):n],o=r||/^find/.test(n);u&&(Me.prototype[n]=function(){var n=this.__wrapped__,a=r?[1]:arguments,s=n instanceof Be,c=a[0],l=s||Go(n),f=function(t){var n=u.apply(Me,jn([t],a));return r&&h?n[0]:n};l&&e&&"function"==typeof c&&1!=c.length&&(s=l=!1);var h=this.__chain__,p=!!this.__actions__.length,g=o&&!h,d=s&&!p;if(!o&&l){n=d?n:new Be(this);var v=t.apply(n,a);return v.__actions__.push({func:fo,args:[f],thisArg:i}),new $e(v,h)}return g&&d?t.apply(this,a):(v=this.thru(f),g?r?v.value()[0]:v.value():v)})})),kn(["pop","push","shift","sort","splice","unshift"],(function(t){var n=Nt[t],e=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);Me.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return n.apply(Go(i)?i:[],t)}return this[e]((function(e){return n.apply(Go(e)?e:[],t)}))}})),yr(Be.prototype,(function(t,n){var e=Me[n];if(e){var r=e.name+"";jt.call(Ie,r)||(Ie[r]=[]),Ie[r].push({name:n,func:e})}})),Ie[Oi(i,2).name]=[{name:"wrapper",func:i}],Be.prototype.clone=function(){var t=new Be(this.__wrapped__);return t.__actions__=ki(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=ki(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=ki(this.__views__),t},Be.prototype.reverse=function(){if(this.__filtered__){var t=new Be(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Be.prototype.value=function(){var t=this.__wrapped__.value(),n=this.__dir__,e=Go(t),r=n<0,i=e?t.length:0,u=function(t,n,e){for(var r=-1,i=e.length;++r<i;){var u=e[r],o=u.size;switch(u.type){case"drop":t+=o;break;case"dropRight":n-=o;break;case"take":n=_e(n,t+o);break;case"takeRight":t=ve(t,n-o)}}return{start:t,end:n}}(0,i,this.__views__),o=u.start,a=u.end,s=a-o,c=r?a:o-1,l=this.__iteratees__,f=l.length,h=0,p=_e(s,this.__takeCount__);if(!e||!r&&i==s&&p==s)return fi(t,this.__actions__);var g=[];t:for(;s--&&h<p;){for(var d=-1,v=t[c+=n];++d<f;){var _=l[d],y=_.iteratee,m=_.type,b=y(v);if(2==m)v=b;else if(!b){if(1==m)continue t;break t}}g[h++]=v}return g},Me.prototype.at=ho,Me.prototype.chain=function(){return lo(this)},Me.prototype.commit=function(){return new $e(this.value(),this.__chain__)},Me.prototype.next=function(){this.__values__===i&&(this.__values__=fa(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?i:this.__values__[this.__index__++]}},Me.prototype.plant=function(t){for(var n,e=this;e instanceof Ue;){var r=Ou(e);r.__index__=0,r.__values__=i,n?u.__wrapped__=r:n=r;var u=r;e=e.__wrapped__}return u.__wrapped__=t,n},Me.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Be){var n=t;return this.__actions__.length&&(n=new Be(this)),(n=n.reverse()).__actions__.push({func:fo,args:[Ju],thisArg:i}),new $e(n,this.__chain__)}return this.thru(Ju)},Me.prototype.toJSON=Me.prototype.valueOf=Me.prototype.value=function(){return fi(this.__wrapped__,this.__actions__)},Me.prototype.first=Me.prototype.head,Qt&&(Me.prototype[Qt]=function(){return this}),Me}();hn._=ge,(r=function(){return ge}.call(n,e,n,t))===i||(t.exports=r)}.call(this)},39896:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTE1LjQgMTYuNkwxMC44IDEybDQuNi00LjZMMTQgNmwtNiA2IDYgNiAxLjQtMS40eiIvPjwvc3ZnPg=="},76899:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTE4LjQgNy40TDE3IDZsLTYgNiA2IDYgMS40LTEuNC00LjYtNC42IDQuNi00LjZtLTYgMEwxMSA2bC02IDYgNiA2IDEuNC0xLjRMNy44IDEybDQuNi00LjZ6Ii8+PC9zdmc+"},88931:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTUuNiA3LjRMNyA2bDYgNi02IDYtMS40LTEuNCA0LjYtNC42LTQuNi00LjZtNiAwTDEzIDZsNiA2LTYgNi0xLjQtMS40IDQuNi00LjYtNC42LTQuNnoiLz48L3N2Zz4="},16556:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTguNiAxNi42bDQuNi00LjYtNC42LTQuNkwxMCA2bDYgNi02IDYtMS40LTEuNHoiLz48L3N2Zz4="},64882:(t,n,e)=>{"use strict";e.d(n,{$F:()=>dt.N,$U:()=>D.Z,Iw:()=>a.Z,Jh:()=>U.Z,O3:()=>f.Z,O9:()=>yt.Z,P2:()=>j.Z,QG:()=>ct.Z,SL:()=>H.Z,a0:()=>G.Z,fg:()=>Z.Z,gE:()=>gt.Z,h3:()=>lt.Z,qf:()=>nt.Z,rw:()=>T.Z});var r=e(72155),i=e(66236),u=e(75944),o=e(45157),a=e(26053),s=e(41989),c=e(99313),l=e(20090),f=e(25220),h=e(96204),p=e(16894),g=e(94162),d=e(40874),v=e(27657),_=e(2047),y=e(68121),m=e(4867),b=e(89998),w=e(23762),x=e(36065),A=e(55721),S=e(55349),C=e(87875),k=e(1927),E=e(56956),N=e(36135),I=e(98445),R=e(20938),D=e(3904),Z=e(5594),j=e(74628),T=e(96),P=e(15758),L=e(73743),O=e(59897),M=e(89241),z=e(96226),U=e(97947),$=e(20551),B=e(65027),G=e(19775),W=e(6318),F=e(78573),H=e(22175),q=e(93428),Y=e(66654),Q=e(40873),V=e(64865),K=e(8691),J=e(88175),X=e(20435),tt=e(52740),nt=e(6156),et=e(16972),rt=e(34246),it=e(34854),ut=e(42213),ot=e(22663),at=e(33474),st=e(26380),ct=(e(94553),e(93664),e(79753),e(86884)),lt=e(49368),ft=(e(69183),e(74911)),ht=e(35380),pt=e(56857),gt=e(67912),dt=e(64864),vt=e(13888),_t=e(34509),yt=e(4409),mt=(e(52299),e(50279),e(93911),e(85302),e(90318)),bt=e(17593),wt=(e(79845),e(84722),e(76692),e(40946),e(73045));r.Z,i.Z,u.Z,o.Z,a.Z,s.Z,c.Z,l.Z,h.Z,p.Z,g.Z,f.Z,d.Z,v.Z,_.Z,y.Z,m.Z,b.Z,w.Z,x.Z,A.Z,S.Z,C.Z,k.Z,E.Z,N.Z,I.Z,at.NcAutoCompleteResult,R.N,D.Z,Z.Z,j.Z,T.Z,P.Z,L.Z,O.Z,M.Z,z.Z,U.Z,$.Z,B.Z,G.Z,W.Z,F.Z,H.Z,q.Z,Y.Z,Q.N,V.Z,K.Z,J.Z,X.Z,ot.N,tt.Z,nt.Z,et.Z,rt.Z,it.Z,ut.Z,at.default,st.N,ft.Z,ct.Z,ht.Z,pt.Z,gt.Z,dt.N,yt.Z,lt.Z,vt.Z,_t.Z,Symbol.toStringTag,mt.X,bt.X,wt.VTooltip,Symbol.toStringTag}},i={};function u(t){var n=i[t];if(void 0!==n)return n.exports;var e=i[t]={id:t,loaded:!1,exports:{}};return r[t].call(e.exports,e,e.exports,u),e.loaded=!0,e.exports}u.m=r,t=[],u.O=(n,e,r,i)=>{if(!e){var o=1/0;for(l=0;l<t.length;l++){e=t[l][0],r=t[l][1],i=t[l][2];for(var a=!0,s=0;s<e.length;s++)(!1&i||o>=i)&&Object.keys(u.O).every((t=>u.O[t](e[s])))?e.splice(s--,1):(a=!1,i<o&&(o=i));if(a){t.splice(l--,1);var c=r();void 0!==c&&(n=c)}}return n}i=i||0;for(var l=t.length;l>0&&t[l-1][2]>i;l--)t[l]=t[l-1];t[l]=[e,r,i]},u.n=t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return u.d(n,{a:n}),n},u.d=(t,n)=>{for(var e in n)u.o(n,e)&&!u.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},u.f={},u.e=t=>Promise.all(Object.keys(u.f).reduce(((n,e)=>(u.f[e](t,n),n)),[])),u.u=t=>t+"-"+t+".js?v="+{1697:"17920ffa1ad36f333ac6",5076:"5df17ad2d937c26c5b50"}[t],u.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),u.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),n={},e="nextcloud:",u.l=(t,r,i,o)=>{if(n[t])n[t].push(r);else{var a,s;if(void 0!==i)for(var c=document.getElementsByTagName("script"),l=0;l<c.length;l++){var f=c[l];if(f.getAttribute("src")==t||f.getAttribute("data-webpack")==e+i){a=f;break}}a||(s=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,u.nc&&a.setAttribute("nonce",u.nc),a.setAttribute("data-webpack",e+i),a.src=t),n[t]=[r];var h=(e,r)=>{a.onerror=a.onload=null,clearTimeout(p);var i=n[t];if(delete n[t],a.parentNode&&a.parentNode.removeChild(a),i&&i.forEach((t=>t(r))),e)return e(r)},p=setTimeout(h.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=h.bind(null,a.onerror),a.onload=h.bind(null,a.onload),s&&document.head.appendChild(a)}},u.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},u.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),u.j=4823,(()=>{var t;u.g.importScripts&&(t=u.g.location+"");var n=u.g.document;if(!t&&n&&(n.currentScript&&(t=n.currentScript.src),!t)){var e=n.getElementsByTagName("script");if(e.length)for(var r=e.length-1;r>-1&&!t;)t=e[r--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),u.p=t})(),(()=>{u.b=document.baseURI||self.location.href;var t={4823:0};u.f.j=(n,e)=>{var r=u.o(t,n)?t[n]:void 0;if(0!==r)if(r)e.push(r[2]);else{var i=new Promise(((e,i)=>r=t[n]=[e,i]));e.push(r[2]=i);var o=u.p+u.u(n),a=new Error;u.l(o,(e=>{if(u.o(t,n)&&(0!==(r=t[n])&&(t[n]=void 0),r)){var i=e&&("load"===e.type?"missing":e.type),o=e&&e.target&&e.target.src;a.message="Loading chunk "+n+" failed.\n("+i+": "+o+")",a.name="ChunkLoadError",a.type=i,a.request=o,r[1](a)}}),"chunk-"+n,n)}},u.O.j=n=>0===t[n];var n=(n,e)=>{var r,i,o=e[0],a=e[1],s=e[2],c=0;if(o.some((n=>0!==t[n]))){for(r in a)u.o(a,r)&&(u.m[r]=a[r]);if(s)var l=s(u)}for(n&&n(e);c<o.length;c++)i=o[c],u.o(t,i)&&t[i]&&t[i][0](),t[i]=0;return u.O(l)},e=self.webpackChunknextcloud=self.webpackChunknextcloud||[];e.forEach(n.bind(null,0)),e.push=n.bind(null,e.push.bind(e))})(),u.nc=void 0;var o=u.O(void 0,[7874],(()=>u(23665)));o=u.O(o)})();
  3. //# sourceMappingURL=settings-vue-settings-admin-sharing.js.map?v=15d1255ceb899d46a7b3