From ff40cd7563192ef3c1389c9f093487099da2c09f Mon Sep 17 00:00:00 2001 From: Simon L Date: Sat, 24 Jun 2023 17:45:00 +0200 Subject: Move deprecation warnings to debug Signed-off-by: Simon L Signed-off-by: nextcloud-command --- dist/core-install.js | 4 ++-- dist/core-install.js.map | 2 +- dist/core-login.js | 4 ++-- dist/core-login.js.map | 2 +- dist/core-main.js | 4 ++-- dist/core-main.js.map | 2 +- dist/files_sharing-files_sharing_tab.js | 4 ++-- dist/files_sharing-files_sharing_tab.js.map | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) (limited to 'dist') diff --git a/dist/core-install.js b/dist/core-install.js index 7fac43c39eb..240affd0fbe 100644 --- a/dist/core-install.js +++ b/dist/core-install.js @@ -1,3 +1,3 @@ /*! For license information please see core-install.js.LICENSE.txt */ -(()=>{"use strict";var e,t={84891:(e,t,n)=>{var o=n(19755),r=n.n(o),a=n(31352),i=n(78595);const s=((e,t)=>{let n=e.getElementsByTagName("head")[0].getAttribute("data-requesttoken");return{getToken:()=>n,setToken:e=>{n=e,t("csrf-token-update",{token:n})}}})(document,i.j8),d=s.getToken;s.setToken,r().fn.extend({showPassword(e){const t={fn:null,args:{}};t.fn=e;const n=function(e,t){t.val(e.val())},o=function(e,t,o){e.is(":checked")?(n(t,o),o.show(),t.hide()):(n(o,t),o.hide(),t.show())};return this.each((function(){const e=r()(this),a=r()(e.data("typetoggle")),i=function(e){const t=r()(e),n=r()("");return n.attr({type:"text",class:t.attr("class"),style:t.attr("style"),size:t.attr("size"),name:t.attr("name")+"-clone",tabindex:t.attr("tabindex"),autocomplete:"off"}),void 0!==t.attr("placeholder")&&n.attr("placeholder",t.attr("placeholder")),n}(e);i.insertAfter(e),t.fn&&(t.args.input=e,t.args.checkbox=a,t.args.clone=i),a.bind("click",(function(){o(a,e,i)})),e.bind("keyup",(function(){n(e,i)})),i.bind("keyup",(function(){n(i,e),e.trigger("keyup")})),i.bind("blur",(function(){e.trigger("focusout")})),o(a,e,i),i.closest("form").submit((function(e){i.prop("type","password")})),t.fn&&t.fn(t.args)}))}}),n(79366),n(75289),n(56396);var l,c=n(25108);r().prototype.tooltip=(l=r().prototype.tooltip,function(e){try{return l.call(this,e)}catch(t){if(t instanceof TypeError&&"destroy"===e)return void 0===window.TESTING&&c.error("Deprecated call $.tooltip('destroy') has been deprecated and should be removed"),l.call(this,"dispose");if(t instanceof TypeError&&"fixTitle"===e)return void 0===window.TESTING&&c.error("Deprecated call $.tooltip('fixTitle') has been deprecated and should be removed"),l.call(this,"_fixTitle")}}),n(99205),n(38554),window.addEventListener("DOMContentLoaded",(function(){const e=!!r()("#hasSQLite").val();r()("#hasMySQL").val(),r()("#hasPostgreSQL").val(),r()("#hasOracle").val(),r()("#selectDbType").buttonset(),r()("#selectDbType p.info a").button("destroy"),r()("#hasSQLite").val()?(r()("#use_other_db").hide(),r()("#use_oracle_db").hide()):r()("#sqliteInformation").hide(),r()("#adminlogin").change((function(){r()("#adminlogin").val(r().trim(r()("#adminlogin").val()))})),r()("#sqlite").click((function(){r()("#use_other_db").slideUp(250),r()("#use_oracle_db").slideUp(250),r()("#sqliteInformation").show(),r()("#dbname").attr("pattern","[0-9a-zA-Z$_-]+")})),r()("#mysql,#pgsql").click((function(){r()("#use_other_db").slideDown(250),r()("#use_oracle_db").slideUp(250),r()("#sqliteInformation").hide(),r()("#dbname").attr("pattern","[0-9a-zA-Z$_-]+")})),r()("#oci").click((function(){r()("#use_other_db").slideDown(250),r()("#use_oracle_db").show(250),r()("#sqliteInformation").hide(),r()("#dbname").attr("pattern","[0-9a-zA-Z$_-.]+")})),r()("#showAdvanced").click((function(e){e.preventDefault(),r()("#datadirContent").slideToggle(250),r()("#databaseBackend").slideToggle(250),r()("#databaseField").slideToggle(250)})),r()("form").submit((function(){const e=r()(this).serializeArray();r()(".float-spinner").show(250),r()('input[type="submit"]').attr("disabled","disabled").val(r()('input[type="submit"]').data("finishing")),r()("input",this).addClass("ui-state-disabled").attr("disabled","disabled"),r()("#selectDbType").find(".ui-button").length>0&&r()("#selectDbType").buttonset("disable"),r()(".strengthify-wrapper, .tipsy").css("filter","alpha(opacity=30)").css("opacity",.3);const t=r()("
");t.attr("action",r()(this).attr("action")),t.attr("method","POST");for(let n=0;n');o.attr(e[n]),t.append(o)}const n=decodeURIComponent((new RegExp("[?|&]redirect_url=([^&;]+?)(&|#|;|$)").exec(location.search)||[,""])[1].replace(/\+/g,"%20"))||"";if(n){const e=r()('');e.attr({name:"redirect_url",value:n}),t.append(e)}return t.appendTo(document.body),t.submit(),!1}));const t=r()('input[type="radio"]:checked').val();void 0===t&&r()('input[type="radio"]').first().click(),("sqlite"===t||e&&void 0===t)&&(r()("#datadirContent").hide(250),r()("#databaseBackend").hide(250),r()("#databaseField").hide(250),r()(".float-spinner").hide(250)),r()("#adminpass").strengthify({zxcvbn:OC.linkTo("core","vendor/zxcvbn/dist/zxcvbn.js"),titles:[(0,a.Iu)("core","Very weak password"),(0,a.Iu)("core","Weak password"),(0,a.Iu)("core","So-so password"),(0,a.Iu)("core","Good password"),(0,a.Iu)("core","Strong password")],drawTitles:!0,nonce:btoa(d())}),r()("#dbpass").showPassword().keyup(),r()(".toggle-password").click((function(e){e.preventDefault(),"password"===r()(this).parent().children("input").attr("type")?r()(this).parent().children("input").attr("type","text"):r()(this).parent().children("input").attr("type","password")}))}))}},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var a=n[e]={id:e,loaded:!1,exports:{}};return t[e].call(a.exports,a,a.exports,o),a.loaded=!0,a.exports}o.m=t,e=[],o.O=(t,n,r,a)=>{if(!n){var i=1/0;for(c=0;c=a)&&Object.keys(o.O).every((e=>o.O[e](n[d])))?n.splice(d--,1):(s=!1,a0&&e[c-1][2]>a;c--)e[c]=e[c-1];e[c]=[n,r,a]},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),o.j=8998,(()=>{o.b=document.baseURI||self.location.href;var e={8998:0};o.O.j=t=>0===e[t];var t=(t,n)=>{var r,a,i=n[0],s=n[1],d=n[2],l=0;if(i.some((t=>0!==e[t]))){for(r in s)o.o(s,r)&&(o.m[r]=s[r]);if(d)var c=d(o)}for(t&&t(n);lo(84891)));r=o.O(r)})(); -//# sourceMappingURL=core-install.js.map?v=ee30b3e03d1c73d51ebf \ No newline at end of file +(()=>{"use strict";var e,t={84891:(e,t,n)=>{var o=n(19755),a=n.n(o),r=n(31352),i=n(78595);const s=((e,t)=>{let n=e.getElementsByTagName("head")[0].getAttribute("data-requesttoken");return{getToken:()=>n,setToken:e=>{n=e,t("csrf-token-update",{token:n})}}})(document,i.j8),d=s.getToken;s.setToken,a().fn.extend({showPassword(e){const t={fn:null,args:{}};t.fn=e;const n=function(e,t){t.val(e.val())},o=function(e,t,o){e.is(":checked")?(n(t,o),o.show(),t.hide()):(n(o,t),o.hide(),t.show())};return this.each((function(){const e=a()(this),r=a()(e.data("typetoggle")),i=function(e){const t=a()(e),n=a()("");return n.attr({type:"text",class:t.attr("class"),style:t.attr("style"),size:t.attr("size"),name:t.attr("name")+"-clone",tabindex:t.attr("tabindex"),autocomplete:"off"}),void 0!==t.attr("placeholder")&&n.attr("placeholder",t.attr("placeholder")),n}(e);i.insertAfter(e),t.fn&&(t.args.input=e,t.args.checkbox=r,t.args.clone=i),r.bind("click",(function(){o(r,e,i)})),e.bind("keyup",(function(){n(e,i)})),i.bind("keyup",(function(){n(i,e),e.trigger("keyup")})),i.bind("blur",(function(){e.trigger("focusout")})),o(r,e,i),i.closest("form").submit((function(e){i.prop("type","password")})),t.fn&&t.fn(t.args)}))}}),n(79366),n(75289),n(56396);var l,c=n(25108);a().prototype.tooltip=(l=a().prototype.tooltip,function(e){try{return l.call(this,e)}catch(t){if(t instanceof TypeError&&"destroy"===e)return void 0===window.TESTING&&OC.debug&&c.warn("Deprecated call $.tooltip('destroy') has been deprecated and should be removed"),l.call(this,"dispose");if(t instanceof TypeError&&"fixTitle"===e)return void 0===window.TESTING&&OC.debug&&c.warn("Deprecated call $.tooltip('fixTitle') has been deprecated and should be removed"),l.call(this,"_fixTitle")}}),n(99205),n(38554),window.addEventListener("DOMContentLoaded",(function(){const e=!!a()("#hasSQLite").val();a()("#hasMySQL").val(),a()("#hasPostgreSQL").val(),a()("#hasOracle").val(),a()("#selectDbType").buttonset(),a()("#selectDbType p.info a").button("destroy"),a()("#hasSQLite").val()?(a()("#use_other_db").hide(),a()("#use_oracle_db").hide()):a()("#sqliteInformation").hide(),a()("#adminlogin").change((function(){a()("#adminlogin").val(a().trim(a()("#adminlogin").val()))})),a()("#sqlite").click((function(){a()("#use_other_db").slideUp(250),a()("#use_oracle_db").slideUp(250),a()("#sqliteInformation").show(),a()("#dbname").attr("pattern","[0-9a-zA-Z$_-]+")})),a()("#mysql,#pgsql").click((function(){a()("#use_other_db").slideDown(250),a()("#use_oracle_db").slideUp(250),a()("#sqliteInformation").hide(),a()("#dbname").attr("pattern","[0-9a-zA-Z$_-]+")})),a()("#oci").click((function(){a()("#use_other_db").slideDown(250),a()("#use_oracle_db").show(250),a()("#sqliteInformation").hide(),a()("#dbname").attr("pattern","[0-9a-zA-Z$_-.]+")})),a()("#showAdvanced").click((function(e){e.preventDefault(),a()("#datadirContent").slideToggle(250),a()("#databaseBackend").slideToggle(250),a()("#databaseField").slideToggle(250)})),a()("form").submit((function(){const e=a()(this).serializeArray();a()(".float-spinner").show(250),a()('input[type="submit"]').attr("disabled","disabled").val(a()('input[type="submit"]').data("finishing")),a()("input",this).addClass("ui-state-disabled").attr("disabled","disabled"),a()("#selectDbType").find(".ui-button").length>0&&a()("#selectDbType").buttonset("disable"),a()(".strengthify-wrapper, .tipsy").css("filter","alpha(opacity=30)").css("opacity",.3);const t=a()("");t.attr("action",a()(this).attr("action")),t.attr("method","POST");for(let n=0;n');o.attr(e[n]),t.append(o)}const n=decodeURIComponent((new RegExp("[?|&]redirect_url=([^&;]+?)(&|#|;|$)").exec(location.search)||[,""])[1].replace(/\+/g,"%20"))||"";if(n){const e=a()('');e.attr({name:"redirect_url",value:n}),t.append(e)}return t.appendTo(document.body),t.submit(),!1}));const t=a()('input[type="radio"]:checked').val();void 0===t&&a()('input[type="radio"]').first().click(),("sqlite"===t||e&&void 0===t)&&(a()("#datadirContent").hide(250),a()("#databaseBackend").hide(250),a()("#databaseField").hide(250),a()(".float-spinner").hide(250)),a()("#adminpass").strengthify({zxcvbn:OC.linkTo("core","vendor/zxcvbn/dist/zxcvbn.js"),titles:[(0,r.Iu)("core","Very weak password"),(0,r.Iu)("core","Weak password"),(0,r.Iu)("core","So-so password"),(0,r.Iu)("core","Good password"),(0,r.Iu)("core","Strong password")],drawTitles:!0,nonce:btoa(d())}),a()("#dbpass").showPassword().keyup(),a()(".toggle-password").click((function(e){e.preventDefault(),"password"===a()(this).parent().children("input").attr("type")?a()(this).parent().children("input").attr("type","text"):a()(this).parent().children("input").attr("type","password")}))}))}},n={};function o(e){var a=n[e];if(void 0!==a)return a.exports;var r=n[e]={id:e,loaded:!1,exports:{}};return t[e].call(r.exports,r,r.exports,o),r.loaded=!0,r.exports}o.m=t,e=[],o.O=(t,n,a,r)=>{if(!n){var i=1/0;for(c=0;c=r)&&Object.keys(o.O).every((e=>o.O[e](n[d])))?n.splice(d--,1):(s=!1,r0&&e[c-1][2]>r;c--)e[c]=e[c-1];e[c]=[n,a,r]},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),o.j=8998,(()=>{o.b=document.baseURI||self.location.href;var e={8998:0};o.O.j=t=>0===e[t];var t=(t,n)=>{var a,r,i=n[0],s=n[1],d=n[2],l=0;if(i.some((t=>0!==e[t]))){for(a in s)o.o(s,a)&&(o.m[a]=s[a]);if(d)var c=d(o)}for(t&&t(n);lo(84891)));a=o.O(a)})(); +//# sourceMappingURL=core-install.js.map?v=9ceb0306670171dfe9d1 \ No newline at end of file diff --git a/dist/core-install.js.map b/dist/core-install.js.map index 923ce85b9f4..8293868b1d1 100644 --- a/dist/core-install.js.map +++ b/dist/core-install.js.map @@ -1 +1 @@ -{"version":3,"file":"core-install.js?v=ee30b3e03d1c73d51ebf","mappings":";uBAAIA,mEC+BG,MAeDC,EAfqBC,EAACC,EAAQC,KACnC,IAAIC,EAAQF,EAAOG,qBAAqB,QAAQ,GAAGC,aAAa,qBAEhE,MAAO,CACNC,SAAUA,IAAMH,EAChBI,SAAUC,IACTL,EAAQK,EAERN,EAAK,oBAAqB,CACzBC,SACC,EAEH,EAGyBH,CAAYS,SAAUP,EAAAA,IAKpCI,EAAWP,EAAmBO,SAKnBP,EAAmBQ,SClB3CG,IAAAA,GAAAA,OAAY,CACXC,aAAaC,GAGZ,MAAMC,EAAW,CAAEC,GAAI,KAAMC,KAAM,CAAC,GACpCF,EAASC,GAAKF,EAGd,MA2BMI,EAAS,SAASC,EAAGC,GAC1BA,EAAEC,IAAIF,EAAEE,MACT,EAGMC,EAAW,SAASC,EAAUJ,EAAG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9FwD,EAAsBxD,EAAoBS,EAAE+C","sources":["webpack:///nextcloud/webpack/runtime/chunk loaded","webpack:///nextcloud/core/src/OC/requesttoken.js","webpack:///nextcloud/core/src/jquery/showpassword.js","webpack:///nextcloud/core/src/Polyfill/tooltip.js","webpack:///nextcloud/core/src/install.js","webpack:///nextcloud/core/src/Util/get-url-parameter.js","webpack:///nextcloud/webpack/bootstrap","webpack:///nextcloud/webpack/runtime/compat get default export","webpack:///nextcloud/webpack/runtime/define property getters","webpack:///nextcloud/webpack/runtime/global","webpack:///nextcloud/webpack/runtime/hasOwnProperty shorthand","webpack:///nextcloud/webpack/runtime/make namespace object","webpack:///nextcloud/webpack/runtime/node module decorator","webpack:///nextcloud/webpack/runtime/runtimeId","webpack:///nextcloud/webpack/runtime/jsonp chunk loading","webpack:///nextcloud/webpack/runtime/nonce","webpack:///nextcloud/webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","/**\n * @copyright 2019 Christoph Wurst \n *\n * @author Christoph Wurst \n * @author John Molakvoæ \n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n *\n */\n\nimport { emit } from '@nextcloud/event-bus'\n\n/**\n * @private\n * @param {Document} global the document to read the initial value from\n * @param {Function} emit the function to invoke for every new token\n * @return {object}\n */\nexport const manageToken = (global, emit) => {\n\tlet token = global.getElementsByTagName('head')[0].getAttribute('data-requesttoken')\n\n\treturn {\n\t\tgetToken: () => token,\n\t\tsetToken: newToken => {\n\t\t\ttoken = newToken\n\n\t\t\temit('csrf-token-update', {\n\t\t\t\ttoken,\n\t\t\t})\n\t\t},\n\t}\n}\n\nconst manageFromDocument = manageToken(document, emit)\n\n/**\n * @return {string}\n */\nexport const getToken = manageFromDocument.getToken\n\n/**\n * @param {string} newToken new token\n */\nexport const setToken = manageFromDocument.setToken\n","/**\n * @copyright 2018 Christoph Wurst \n *\n * @author Christoph Wurst \n * @author John Molakvoæ \n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n *\n */\n\nimport $ from 'jquery'\n\n/**\n * @name Show Password\n * @description\n * @version 1.3.0\n * @requires Jquery 1.5\n *\n * @author Jan Jarfalk \n * author-website http://www.unwrongest.com\n *\n * special-thanks Michel Gratton\n *\n * @license MIT\n */\n$.fn.extend({\n\tshowPassword(c) {\n\n\t\t// Setup callback object\n\t\tconst callback = { fn: null, args: {} }\n\t\tcallback.fn = c\n\n\t\t// Clones passwords and turn the clones into text inputs\n\t\tconst cloneElement = function(element) {\n\n\t\t\tconst $element = $(element)\n\n\t\t\tconst $clone = $('')\n\n\t\t\t// Name added for JQuery Validation compatibility\n\t\t\t// Element name is required to avoid script warning.\n\t\t\t$clone.attr({\n\t\t\t\ttype: 'text',\n\t\t\t\tclass: $element.attr('class'),\n\t\t\t\tstyle: $element.attr('style'),\n\t\t\t\tsize: $element.attr('size'),\n\t\t\t\tname: $element.attr('name') + '-clone',\n\t\t\t\ttabindex: $element.attr('tabindex'),\n\t\t\t\tautocomplete: 'off',\n\t\t\t})\n\n\t\t\tif ($element.attr('placeholder') !== undefined) {\n\t\t\t\t$clone.attr('placeholder', $element.attr('placeholder'))\n\t\t\t}\n\n\t\t\treturn $clone\n\n\t\t}\n\n\t\t// Transfers values between two elements\n\t\tconst update = function(a, b) {\n\t\t\tb.val(a.val())\n\t\t}\n\n\t\t// Shows a or b depending on checkbox\n\t\tconst setState = function(checkbox, a, b) {\n\n\t\t\tif (checkbox.is(':checked')) {\n\t\t\t\tupdate(a, b)\n\t\t\t\tb.show()\n\t\t\t\ta.hide()\n\t\t\t} else {\n\t\t\t\tupdate(b, a)\n\t\t\t\tb.hide()\n\t\t\t\ta.show()\n\t\t\t}\n\n\t\t}\n\n\t\treturn this.each(function() {\n\n\t\t\tconst $input = $(this)\n\t\t\tconst $checkbox = $($input.data('typetoggle'))\n\n\t\t\t// Create clone\n\t\t\tconst $clone = cloneElement($input)\n\t\t\t$clone.insertAfter($input)\n\n\t\t\t// Set callback arguments\n\t\t\tif (callback.fn) {\n\t\t\t\tcallback.args.input = $input\n\t\t\t\tcallback.args.checkbox = $checkbox\n\t\t\t\tcallback.args.clone = $clone\n\t\t\t}\n\n\t\t\t$checkbox.bind('click', function() {\n\t\t\t\tsetState($checkbox, $input, $clone)\n\t\t\t})\n\n\t\t\t$input.bind('keyup', function() {\n\t\t\t\tupdate($input, $clone)\n\t\t\t})\n\n\t\t\t$clone.bind('keyup', function() {\n\t\t\t\tupdate($clone, $input)\n\n\t\t\t\t// Added for JQuery Validation compatibility\n\t\t\t\t// This will trigger validation if it's ON for keyup event\n\t\t\t\t$input.trigger('keyup')\n\n\t\t\t})\n\n\t\t\t// Added for JQuery Validation compatibility\n\t\t\t// This will trigger validation if it's ON for blur event\n\t\t\t$clone.bind('blur', function() {\n\t\t\t\t$input.trigger('focusout')\n\t\t\t})\n\n\t\t\tsetState($checkbox, $input, $clone)\n\n\t\t\t// set type of password field clone (type=text) to password right on submit\n\t\t\t// to prevent browser save the value of this field\n\t\t\t$clone.closest('form').submit(function(e) {\n\t\t\t\t// .prop has to be used, because .attr throws\n\t\t\t\t// an error while changing a type of an input\n\t\t\t\t// element\n\t\t\t\t$clone.prop('type', 'password')\n\t\t\t})\n\n\t\t\tif (callback.fn) {\n\t\t\t\tcallback.fn(callback.args)\n\t\t\t}\n\n\t\t})\n\t},\n})\n","/**\n * @copyright 2019 Julius Härtl \n *\n * @author Christoph Wurst \n * @author John Molakvoæ \n * @author Julius Härtl \n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n *\n */\n\nimport $ from 'jquery'\n\n$.prototype.tooltip = (function(tooltip) {\n\treturn function(config) {\n\t\ttry {\n\t\t\treturn tooltip.call(this, config)\n\t\t} catch (ex) {\n\t\t\tif (ex instanceof TypeError && config === 'destroy') {\n\t\t\t\tif (window.TESTING === undefined) {\n\t\t\t\t\tconsole.error('Deprecated call $.tooltip(\\'destroy\\') has been deprecated and should be removed')\n\t\t\t\t}\n\t\t\t\treturn tooltip.call(this, 'dispose')\n\t\t\t}\n\t\t\tif (ex instanceof TypeError && config === 'fixTitle') {\n\t\t\t\tif (window.TESTING === undefined) {\n\t\t\t\t\tconsole.error('Deprecated call $.tooltip(\\'fixTitle\\') has been deprecated and should be removed')\n\t\t\t\t}\n\t\t\t\treturn tooltip.call(this, '_fixTitle')\n\t\t\t}\n\t\t}\n\t}\n})($.prototype.tooltip)\n","/**\n * @copyright Copyright (c) 2016 Julius Härtl \n *\n * @author John Molakvoæ \n * @author Julius Härtl \n * @author Richard Steinmetz \n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n *\n */\n\nimport $ from 'jquery'\nimport { translate as t } from '@nextcloud/l10n'\nimport { getToken } from './OC/requesttoken.js'\nimport getURLParameter from './Util/get-url-parameter.js'\n\nimport './jquery/showpassword.js'\n\nimport 'jquery-ui/ui/widgets/button.js'\nimport 'jquery-ui/themes/base/theme.css'\nimport 'jquery-ui/themes/base/button.css'\n\nimport './Polyfill/tooltip.js'\n\nimport 'strengthify'\nimport 'strengthify/strengthify.css'\n\nwindow.addEventListener('DOMContentLoaded', function() {\n\tconst dbtypes = {\n\t\tsqlite: !!$('#hasSQLite').val(),\n\t\tmysql: !!$('#hasMySQL').val(),\n\t\tpostgresql: !!$('#hasPostgreSQL').val(),\n\t\toracle: !!$('#hasOracle').val(),\n\t}\n\n\t$('#selectDbType').buttonset()\n\t// change links inside an info box back to their default appearance\n\t$('#selectDbType p.info a').button('destroy')\n\n\tif ($('#hasSQLite').val()) {\n\t\t$('#use_other_db').hide()\n\t\t$('#use_oracle_db').hide()\n\t} else {\n\t\t$('#sqliteInformation').hide()\n\t}\n\t$('#adminlogin').change(function() {\n\t\t$('#adminlogin').val($.trim($('#adminlogin').val()))\n\t})\n\t$('#sqlite').click(function() {\n\t\t$('#use_other_db').slideUp(250)\n\t\t$('#use_oracle_db').slideUp(250)\n\t\t$('#sqliteInformation').show()\n\t\t$('#dbname').attr('pattern', '[0-9a-zA-Z$_-]+')\n\t})\n\n\t$('#mysql,#pgsql').click(function() {\n\t\t$('#use_other_db').slideDown(250)\n\t\t$('#use_oracle_db').slideUp(250)\n\t\t$('#sqliteInformation').hide()\n\t\t$('#dbname').attr('pattern', '[0-9a-zA-Z$_-]+')\n\t})\n\n\t$('#oci').click(function() {\n\t\t$('#use_other_db').slideDown(250)\n\t\t$('#use_oracle_db').show(250)\n\t\t$('#sqliteInformation').hide()\n\t\t$('#dbname').attr('pattern', '[0-9a-zA-Z$_-.]+')\n\t})\n\n\t$('#showAdvanced').click(function(e) {\n\t\te.preventDefault()\n\t\t$('#datadirContent').slideToggle(250)\n\t\t$('#databaseBackend').slideToggle(250)\n\t\t$('#databaseField').slideToggle(250)\n\t})\n\t$('form').submit(function() {\n\t\t// Save form parameters\n\t\tconst post = $(this).serializeArray()\n\n\t\t// Show spinner while finishing setup\n\t\t$('.float-spinner').show(250)\n\n\t\t// Disable inputs\n\t\t$('input[type=\"submit\"]').attr('disabled', 'disabled').val($('input[type=\"submit\"]').data('finishing'))\n\t\t$('input', this).addClass('ui-state-disabled').attr('disabled', 'disabled')\n\t\t// only disable buttons if they are present\n\t\tif ($('#selectDbType').find('.ui-button').length > 0) {\n\t\t\t$('#selectDbType').buttonset('disable')\n\t\t}\n\t\t$('.strengthify-wrapper, .tipsy')\n\t\t\t.css('filter', 'alpha(opacity=30)')\n\t\t\t.css('opacity', 0.3)\n\n\t\t// Create the form\n\t\tconst form = $('')\n\t\tform.attr('action', $(this).attr('action'))\n\t\tform.attr('method', 'POST')\n\n\t\tfor (let i = 0; i < post.length; i++) {\n\t\t\tconst input = $('')\n\t\t\tinput.attr(post[i])\n\t\t\tform.append(input)\n\t\t}\n\n\t\t// Add redirect_url\n\t\tconst redirectURL = getURLParameter('redirect_url')\n\t\tif (redirectURL) {\n\t\t\tconst redirectURLInput = $('')\n\t\t\tredirectURLInput.attr({\n\t\t\t\tname: 'redirect_url',\n\t\t\t\tvalue: redirectURL,\n\t\t\t})\n\t\t\tform.append(redirectURLInput)\n\t\t}\n\n\t\t// Submit the form\n\t\tform.appendTo(document.body)\n\t\tform.submit()\n\t\treturn false\n\t})\n\n\t// Expand latest db settings if page was reloaded on error\n\tconst currentDbType = $('input[type=\"radio\"]:checked').val()\n\n\tif (currentDbType === undefined) {\n\t\t$('input[type=\"radio\"]').first().click()\n\t}\n\n\tif (\n\t\tcurrentDbType === 'sqlite'\n\t\t|| (dbtypes.sqlite && currentDbType === undefined)\n\t) {\n\t\t$('#datadirContent').hide(250)\n\t\t$('#databaseBackend').hide(250)\n\t\t$('#databaseField').hide(250)\n\t\t$('.float-spinner').hide(250)\n\t}\n\n\t$('#adminpass').strengthify({\n\t\tzxcvbn: OC.linkTo('core', 'vendor/zxcvbn/dist/zxcvbn.js'),\n\t\ttitles: [\n\t\t\tt('core', 'Very weak password'),\n\t\t\tt('core', 'Weak password'),\n\t\t\tt('core', 'So-so password'),\n\t\t\tt('core', 'Good password'),\n\t\t\tt('core', 'Strong password'),\n\t\t],\n\t\tdrawTitles: true,\n\t\tnonce: btoa(getToken()),\n\t})\n\n\t$('#dbpass').showPassword().keyup()\n\t$('.toggle-password').click(function(event) {\n\t\tevent.preventDefault()\n\t\tconst currentValue = $(this).parent().children('input').attr('type')\n\t\tif (currentValue === 'password') {\n\t\t\t$(this).parent().children('input').attr('type', 'text')\n\t\t} else {\n\t\t\t$(this).parent().children('input').attr('type', 'password')\n\t\t}\n\t})\n})\n","/**\n * @copyright 2019 Christoph Wurst \n *\n * @author Christoph Wurst \n * @author John Molakvoæ \n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n *\n */\n\n/**\n * @param {any} name -\n */\nexport default function getURLParameter(name) {\n\treturn decodeURIComponent(\n\t\t// eslint-disable-next-line no-sparse-arrays\n\t\t(new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.search) || [, ''])[1].replace(/\\+/g, '%20')\n\t) || ''\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.j = 8998;","__webpack_require__.b = document.baseURI || self.location.href;\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t8998: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunknextcloud\"] = self[\"webpackChunknextcloud\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","__webpack_require__.nc = undefined;","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [7874], () => (__webpack_require__(84891)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","manageFromDocument","manageToken","global","emit","token","getElementsByTagName","getAttribute","getToken","setToken","newToken","document","$","showPassword","c","callback","fn","args","update","a","b","val","setState","checkbox","is","show","hide","this","each","$input","$checkbox","data","$clone","element","$element","attr","type","class","style","size","name","tabindex","autocomplete","undefined","cloneElement","insertAfter","input","clone","bind","trigger","closest","submit","e","prop","tooltip","config","call","ex","TypeError","window","TESTING","console","error","addEventListener","dbtypes","buttonset","button","change","click","slideUp","slideDown","preventDefault","slideToggle","post","serializeArray","addClass","find","length","css","form","i","append","redirectURL","decodeURIComponent","RegExp","exec","location","search","replace","redirectURLInput","value","appendTo","body","currentDbType","first","strengthify","zxcvbn","OC","linkTo","titles","t","drawTitles","nonce","btoa","keyup","event","parent","children","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","exports","module","id","loaded","__webpack_modules__","m","O","result","chunkIds","priority","notFulfilled","Infinity","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","definition","o","defineProperty","enumerable","get","g","globalThis","Function","obj","prototype","hasOwnProperty","Symbol","toStringTag","nmd","paths","baseURI","self","href","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","forEach","push","nc","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"core-install.js?v=9ceb0306670171dfe9d1","mappings":";uBAAIA,mEC+BG,MAeDC,EAfqBC,EAACC,EAAQC,KACnC,IAAIC,EAAQF,EAAOG,qBAAqB,QAAQ,GAAGC,aAAa,qBAEhE,MAAO,CACNC,SAAUA,IAAMH,EAChBI,SAAUC,IACTL,EAAQK,EAERN,EAAK,oBAAqB,CACzBC,SACC,EAEH,EAGyBH,CAAYS,SAAUP,EAAAA,IAKpCI,EAAWP,EAAmBO,SAKnBP,EAAmBQ,SClB3CG,IAAAA,GAAAA,OAAY,CACXC,aAAaC,GAGZ,MAAMC,EAAW,CAAEC,GAAI,KAAMC,KAAM,CAAC,GACpCF,EAASC,GAAKF,EAGd,MA2BMI,EAAS,SAASC,EAAGC,GAC1BA,EAAEC,IAAIF,EAAEE,MACT,EAGMC,EAAW,SAASC,EAAUJ,EAAGC,GAElCG,EAASC,GAAG,aACfN,EAAOC,EAAGC,GACVA,EAAEK,OACFN,EAAEO,SAEFR,EAAOE,EAAGD,GACVC,EAAEM,OACFP,EAAEM,OAGJ,EAEA,OAAOE,KAAKC,MAAK,WAEhB,MAAMC,EAASjB,IAAEe,MACXG,EAAYlB,IAAEiB,EAAOE,KAAK,eAG1BC,EApDc,SAASC,GAE7B,MAAMC,EAAWtB,IAAEqB,GAEbD,EAASpB,IAAE,aAkBjB,OAdAoB,EAAOG,KAAK,CACXC,KAAM,OACNC,MAAOH,EAASC,KAAK,SACrBG,MAAOJ,EAASC,KAAK,SACrBI,KAAML,EAASC,KAAK,QACpBK,KAAMN,EAASC,KAAK,QAAU,SAC9BM,SAAUP,EAASC,K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,KACvD,IAKIgF,EAAU6C,EALVnC,EAAW1F,EAAK,GAChBgI,EAAchI,EAAK,GACnBiI,EAAUjI,EAAK,GAGImD,EAAI,EAC3B,GAAGuC,EAASwC,MAAM9C,GAAgC,IAAxBwC,EAAgBxC,KAAa,CACtD,IAAIJ,KAAYgD,EACZjD,EAAoB4B,EAAEqB,EAAahD,KACrCD,EAAoBQ,EAAEP,GAAYgD,EAAYhD,IAGhD,GAAGiD,EAAS,IAAIxC,EAASwC,EAAQlD,EAClC,CAEA,IADGgD,GAA4BA,EAA2B/H,GACrDmD,EAAIuC,EAAS1C,OAAQG,IACzB0E,EAAUnC,EAASvC,GAChB4B,EAAoB4B,EAAEiB,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBC,GAAW,EAE5B,OAAO9C,EAAoBS,EAAEC,EAAO,EAGjC0C,EAAqBT,KAA4B,sBAAIA,KAA4B,uBAAK,GAC1FS,EAAmBC,QAAQN,EAAqB7G,KAAK,KAAM,IAC3DkH,EAAmBE,KAAOP,EAAqB7G,KAAK,KAAMkH,EAAmBE,KAAKpH,KAAKkH,QClDvFpD,EAAoBuD,QAAK1H,ECGzB,IAAI2H,EAAsBxD,EAAoBS,OAAE5E,EAAW,CAAC,OAAO,IAAOmE,EAAoB,SAC9FwD,EAAsBxD,EAAoBS,EAAE+C","sources":["webpack:///nextcloud/webpack/runtime/chunk loaded","webpack:///nextcloud/core/src/OC/requesttoken.js","webpack:///nextcloud/core/src/jquery/showpassword.js","webpack:///nextcloud/core/src/Polyfill/tooltip.js","webpack:///nextcloud/core/src/install.js","webpack:///nextcloud/core/src/Util/get-url-parameter.js","webpack:///nextcloud/webpack/bootstrap","webpack:///nextcloud/webpack/runtime/compat get default export","webpack:///nextcloud/webpack/runtime/define property getters","webpack:///nextcloud/webpack/runtime/global","webpack:///nextcloud/webpack/runtime/hasOwnProperty shorthand","webpack:///nextcloud/webpack/runtime/make namespace object","webpack:///nextcloud/webpack/runtime/node module decorator","webpack:///nextcloud/webpack/runtime/runtimeId","webpack:///nextcloud/webpack/runtime/jsonp chunk loading","webpack:///nextcloud/webpack/runtime/nonce","webpack:///nextcloud/webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","/**\n * @copyright 2019 Christoph Wurst \n *\n * @author Christoph Wurst \n * @author John Molakvoæ \n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n *\n */\n\nimport { emit } from '@nextcloud/event-bus'\n\n/**\n * @private\n * @param {Document} global the document to read the initial value from\n * @param {Function} emit the function to invoke for every new token\n * @return {object}\n */\nexport const manageToken = (global, emit) => {\n\tlet token = global.getElementsByTagName('head')[0].getAttribute('data-requesttoken')\n\n\treturn {\n\t\tgetToken: () => token,\n\t\tsetToken: newToken => {\n\t\t\ttoken = newToken\n\n\t\t\temit('csrf-token-update', {\n\t\t\t\ttoken,\n\t\t\t})\n\t\t},\n\t}\n}\n\nconst manageFromDocument = manageToken(document, emit)\n\n/**\n * @return {string}\n */\nexport const getToken = manageFromDocument.getToken\n\n/**\n * @param {string} newToken new token\n */\nexport const setToken = manageFromDocument.setToken\n","/**\n * @copyright 2018 Christoph Wurst \n *\n * @author Christoph Wurst \n * @author John Molakvoæ \n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n *\n */\n\nimport $ from 'jquery'\n\n/**\n * @name Show Password\n * @description\n * @version 1.3.0\n * @requires Jquery 1.5\n *\n * @author Jan Jarfalk \n * author-website http://www.unwrongest.com\n *\n * special-thanks Michel Gratton\n *\n * @license MIT\n */\n$.fn.extend({\n\tshowPassword(c) {\n\n\t\t// Setup callback object\n\t\tconst callback = { fn: null, args: {} }\n\t\tcallback.fn = c\n\n\t\t// Clones passwords and turn the clones into text inputs\n\t\tconst cloneElement = function(element) {\n\n\t\t\tconst $element = $(element)\n\n\t\t\tconst $clone = $('')\n\n\t\t\t// Name added for JQuery Validation compatibility\n\t\t\t// Element name is required to avoid script warning.\n\t\t\t$clone.attr({\n\t\t\t\ttype: 'text',\n\t\t\t\tclass: $element.attr('class'),\n\t\t\t\tstyle: $element.attr('style'),\n\t\t\t\tsize: $element.attr('size'),\n\t\t\t\tname: $element.attr('name') + '-clone',\n\t\t\t\ttabindex: $element.attr('tabindex'),\n\t\t\t\tautocomplete: 'off',\n\t\t\t})\n\n\t\t\tif ($element.attr('placeholder') !== undefined) {\n\t\t\t\t$clone.attr('placeholder', $element.attr('placeholder'))\n\t\t\t}\n\n\t\t\treturn $clone\n\n\t\t}\n\n\t\t// Transfers values between two elements\n\t\tconst update = function(a, b) {\n\t\t\tb.val(a.val())\n\t\t}\n\n\t\t// Shows a or b depending on checkbox\n\t\tconst setState = function(checkbox, a, b) {\n\n\t\t\tif (checkbox.is(':checked')) {\n\t\t\t\tupdate(a, b)\n\t\t\t\tb.show()\n\t\t\t\ta.hide()\n\t\t\t} else {\n\t\t\t\tupdate(b, a)\n\t\t\t\tb.hide()\n\t\t\t\ta.show()\n\t\t\t}\n\n\t\t}\n\n\t\treturn this.each(function() {\n\n\t\t\tconst $input = $(this)\n\t\t\tconst $checkbox = $($input.data('typetoggle'))\n\n\t\t\t// Create clone\n\t\t\tconst $clone = cloneElement($input)\n\t\t\t$clone.insertAfter($input)\n\n\t\t\t// Set callback arguments\n\t\t\tif (callback.fn) {\n\t\t\t\tcallback.args.input = $input\n\t\t\t\tcallback.args.checkbox = $checkbox\n\t\t\t\tcallback.args.clone = $clone\n\t\t\t}\n\n\t\t\t$checkbox.bind('click', function() {\n\t\t\t\tsetState($checkbox, $input, $clone)\n\t\t\t})\n\n\t\t\t$input.bind('keyup', function() {\n\t\t\t\tupdate($input, $clone)\n\t\t\t})\n\n\t\t\t$clone.bind('keyup', function() {\n\t\t\t\tupdate($clone, $input)\n\n\t\t\t\t// Added for JQuery Validation compatibility\n\t\t\t\t// This will trigger validation if it's ON for keyup event\n\t\t\t\t$input.trigger('keyup')\n\n\t\t\t})\n\n\t\t\t// Added for JQuery Validation compatibility\n\t\t\t// This will trigger validation if it's ON for blur event\n\t\t\t$clone.bind('blur', function() {\n\t\t\t\t$input.trigger('focusout')\n\t\t\t})\n\n\t\t\tsetState($checkbox, $input, $clone)\n\n\t\t\t// set type of password field clone (type=text) to password right on submit\n\t\t\t// to prevent browser save the value of this field\n\t\t\t$clone.closest('form').submit(function(e) {\n\t\t\t\t// .prop has to be used, because .attr throws\n\t\t\t\t// an error while changing a type of an input\n\t\t\t\t// element\n\t\t\t\t$clone.prop('type', 'password')\n\t\t\t})\n\n\t\t\tif (callback.fn) {\n\t\t\t\tcallback.fn(callback.args)\n\t\t\t}\n\n\t\t})\n\t},\n})\n","/**\n * @copyright 2019 Julius Härtl \n *\n * @author Christoph Wurst \n * @author John Molakvoæ \n * @author Julius Härtl \n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n *\n */\n\nimport $ from 'jquery'\n\n$.prototype.tooltip = (function(tooltip) {\n\treturn function(config) {\n\t\ttry {\n\t\t\treturn tooltip.call(this, config)\n\t\t} catch (ex) {\n\t\t\tif (ex instanceof TypeError && config === 'destroy') {\n\t\t\t\tif (window.TESTING === undefined) {\n\t\t\t\t\tOC.debug && console.warn('Deprecated call $.tooltip(\\'destroy\\') has been deprecated and should be removed')\n\t\t\t\t}\n\t\t\t\treturn tooltip.call(this, 'dispose')\n\t\t\t}\n\t\t\tif (ex instanceof TypeError && config === 'fixTitle') {\n\t\t\t\tif (window.TESTING === undefined) {\n\t\t\t\t\tOC.debug && console.warn('Deprecated call $.tooltip(\\'fixTitle\\') has been deprecated and should be removed')\n\t\t\t\t}\n\t\t\t\treturn tooltip.call(this, '_fixTitle')\n\t\t\t}\n\t\t}\n\t}\n})($.prototype.tooltip)\n","/**\n * @copyright Copyright (c) 2016 Julius Härtl \n *\n * @author John Molakvoæ \n * @author Julius Härtl \n * @author Richard Steinmetz \n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n *\n */\n\nimport $ from 'jquery'\nimport { translate as t } from '@nextcloud/l10n'\nimport { getToken } from './OC/requesttoken.js'\nimport getURLParameter from './Util/get-url-parameter.js'\n\nimport './jquery/showpassword.js'\n\nimport 'jquery-ui/ui/widgets/button.js'\nimport 'jquery-ui/themes/base/theme.css'\nimport 'jquery-ui/themes/base/button.css'\n\nimport './Polyfill/tooltip.js'\n\nimport 'strengthify'\nimport 'strengthify/strengthify.css'\n\nwindow.addEventListener('DOMContentLoaded', function() {\n\tconst dbtypes = {\n\t\tsqlite: !!$('#hasSQLite').val(),\n\t\tmysql: !!$('#hasMySQL').val(),\n\t\tpostgresql: !!$('#hasPostgreSQL').val(),\n\t\toracle: !!$('#hasOracle').val(),\n\t}\n\n\t$('#selectDbType').buttonset()\n\t// change links inside an info box back to their default appearance\n\t$('#selectDbType p.info a').button('destroy')\n\n\tif ($('#hasSQLite').val()) {\n\t\t$('#use_other_db').hide()\n\t\t$('#use_oracle_db').hide()\n\t} else {\n\t\t$('#sqliteInformation').hide()\n\t}\n\t$('#adminlogin').change(function() {\n\t\t$('#adminlogin').val($.trim($('#adminlogin').val()))\n\t})\n\t$('#sqlite').click(function() {\n\t\t$('#use_other_db').slideUp(250)\n\t\t$('#use_oracle_db').slideUp(250)\n\t\t$('#sqliteInformation').show()\n\t\t$('#dbname').attr('pattern', '[0-9a-zA-Z$_-]+')\n\t})\n\n\t$('#mysql,#pgsql').click(function() {\n\t\t$('#use_other_db').slideDown(250)\n\t\t$('#use_oracle_db').slideUp(250)\n\t\t$('#sqliteInformation').hide()\n\t\t$('#dbname').attr('pattern', '[0-9a-zA-Z$_-]+')\n\t})\n\n\t$('#oci').click(function() {\n\t\t$('#use_other_db').slideDown(250)\n\t\t$('#use_oracle_db').show(250)\n\t\t$('#sqliteInformation').hide()\n\t\t$('#dbname').attr('pattern', '[0-9a-zA-Z$_-.]+')\n\t})\n\n\t$('#showAdvanced').click(function(e) {\n\t\te.preventDefault()\n\t\t$('#datadirContent').slideToggle(250)\n\t\t$('#databaseBackend').slideToggle(250)\n\t\t$('#databaseField').slideToggle(250)\n\t})\n\t$('form').submit(function() {\n\t\t// Save form parameters\n\t\tconst post = $(this).serializeArray()\n\n\t\t// Show spinner while finishing setup\n\t\t$('.float-spinner').show(250)\n\n\t\t// Disable inputs\n\t\t$('input[type=\"submit\"]').attr('disabled', 'disabled').val($('input[type=\"submit\"]').data('finishing'))\n\t\t$('input', this).addClass('ui-state-disabled').attr('disabled', 'disabled')\n\t\t// only disable buttons if they are present\n\t\tif ($('#selectDbType').find('.ui-button').length > 0) {\n\t\t\t$('#selectDbType').buttonset('disable')\n\t\t}\n\t\t$('.strengthify-wrapper, .tipsy')\n\t\t\t.css('filter', 'alpha(opacity=30)')\n\t\t\t.css('opacity', 0.3)\n\n\t\t// Create the form\n\t\tconst form = $('')\n\t\tform.attr('action', $(this).attr('action'))\n\t\tform.attr('method', 'POST')\n\n\t\tfor (let i = 0; i < post.length; i++) {\n\t\t\tconst input = $('')\n\t\t\tinput.attr(post[i])\n\t\t\tform.append(input)\n\t\t}\n\n\t\t// Add redirect_url\n\t\tconst redirectURL = getURLParameter('redirect_url')\n\t\tif (redirectURL) {\n\t\t\tconst redirectURLInput = $('')\n\t\t\tredirectURLInput.attr({\n\t\t\t\tname: 'redirect_url',\n\t\t\t\tvalue: redirectURL,\n\t\t\t})\n\t\t\tform.append(redirectURLInput)\n\t\t}\n\n\t\t// Submit the form\n\t\tform.appendTo(document.body)\n\t\tform.submit()\n\t\treturn false\n\t})\n\n\t// Expand latest db settings if page was reloaded on error\n\tconst currentDbType = $('input[type=\"radio\"]:checked').val()\n\n\tif (currentDbType === undefined) {\n\t\t$('input[type=\"radio\"]').first().click()\n\t}\n\n\tif (\n\t\tcurrentDbType === 'sqlite'\n\t\t|| (dbtypes.sqlite && currentDbType === undefined)\n\t) {\n\t\t$('#datadirContent').hide(250)\n\t\t$('#databaseBackend').hide(250)\n\t\t$('#databaseField').hide(250)\n\t\t$('.float-spinner').hide(250)\n\t}\n\n\t$('#adminpass').strengthify({\n\t\tzxcvbn: OC.linkTo('core', 'vendor/zxcvbn/dist/zxcvbn.js'),\n\t\ttitles: [\n\t\t\tt('core', 'Very weak password'),\n\t\t\tt('core', 'Weak password'),\n\t\t\tt('core', 'So-so password'),\n\t\t\tt('core', 'Good password'),\n\t\t\tt('core', 'Strong password'),\n\t\t],\n\t\tdrawTitles: true,\n\t\tnonce: btoa(getToken()),\n\t})\n\n\t$('#dbpass').showPassword().keyup()\n\t$('.toggle-password').click(function(event) {\n\t\tevent.preventDefault()\n\t\tconst currentValue = $(this).parent().children('input').attr('type')\n\t\tif (currentValue === 'password') {\n\t\t\t$(this).parent().children('input').attr('type', 'text')\n\t\t} else {\n\t\t\t$(this).parent().children('input').attr('type', 'password')\n\t\t}\n\t})\n})\n","/**\n * @copyright 2019 Christoph Wurst \n *\n * @author Christoph Wurst \n * @author John Molakvoæ \n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n *\n */\n\n/**\n * @param {any} name -\n */\nexport default function getURLParameter(name) {\n\treturn decodeURIComponent(\n\t\t// eslint-disable-next-line no-sparse-arrays\n\t\t(new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.search) || [, ''])[1].replace(/\\+/g, '%20')\n\t) || ''\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.j = 8998;","__webpack_require__.b = document.baseURI || self.location.href;\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t8998: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunknextcloud\"] = self[\"webpackChunknextcloud\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","__webpack_require__.nc = undefined;","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [7874], () => (__webpack_require__(84891)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","manageFromDocument","manageToken","global","emit","token","getElementsByTagName","getAttribute","getToken","setToken","newToken","document","$","showPassword","c","callback","fn","args","update","a","b","val","setState","checkbox","is","show","hide","this","each","$input","$checkbox","data","$clone","element","$element","attr","type","class","style","size","name","tabindex","autocomplete","undefined","cloneElement","insertAfter","input","clone","bind","trigger","closest","submit","e","prop","tooltip","config","call","ex","TypeError","window","TESTING","OC","debug","console","warn","addEventListener","dbtypes","buttonset","button","change","click","slideUp","slideDown","preventDefault","slideToggle","post","serializeArray","addClass","find","length","css","form","i","append","redirectURL","decodeURIComponent","RegExp","exec","location","search","replace","redirectURLInput","value","appendTo","body","currentDbType","first","strengthify","zxcvbn","linkTo","titles","t","drawTitles","nonce","btoa","keyup","event","parent","children","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","exports","module","id","loaded","__webpack_modules__","m","O","result","chunkIds","priority","notFulfilled","Infinity","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","definition","o","defineProperty","enumerable","get","g","globalThis","Function","obj","prototype","hasOwnProperty","Symbol","toStringTag","nmd","paths","baseURI","self","href","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","forEach","push","nc","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/core-login.js b/dist/core-login.js index 54ee9a11e96..9d730389172 100644 --- a/dist/core-login.js +++ b/dist/core-login.js @@ -1,3 +1,3 @@ /*! For license information please see core-login.js.LICENSE.txt */ -(()=>{var e,o={39303:(e,o,i)=>{"use strict";var a=i(20144),r=i(78595),s=i(19755),l=i.n(s),c=i(79753),d=i(25108);const u={},p=[];var f=i(18181),h=i(64024),m=i(25108);const g={updatableNotification:null,getDefaultNotificationFunction:null,setDefault(t){this.getDefaultNotificationFunction=t},hide(t,e){f.default.isFunction(t)&&(e=t,t=void 0),t?(t.each((function(){l()(this)[0].toastify?l()(this)[0].toastify.hideToast():m.error("cannot hide toast because object is not set"),this===this.updatableNotification&&(this.updatableNotification=null)})),e&&e.call(),this.getDefaultNotificationFunction&&this.getDefaultNotificationFunction()):m.error("Missing argument $row in OC.Notification.hide() call, caller needs to be adjusted to only dismiss its own notification")},showHtml(t,e){(e=e||{}).isHTML=!0,e.timeout=e.timeout?e.timeout:h.Rl;const n=(0,h.PV)(t,e);return n.toastElement.toastify=n,l()(n.toastElement)},show(t,e){(e=e||{}).timeout=e.timeout?e.timeout:h.Rl;const n=(0,h.PV)(function(t){return t.toString().split("&").join("&").split("<").join("<").split(">").join(">").split('"').join(""").split("'").join("'")}(t),e);return n.toastElement.toastify=n,l()(n.toastElement)},showUpdate(t){return this.updatableNotification&&this.updatableNotification.hideToast(),this.updatableNotification=(0,h.PV)(t,{timeout:h.Rl}),this.updatableNotification.toastElement.toastify=this.updatableNotification,l()(this.updatableNotification.toastElement)},showTemporary(t,e){(e=e||{}).timeout=e.timeout||h.TN;const n=(0,h.PV)(t,e);return n.toastElement.toastify=n,l()(n.toastElement)},isHidden:()=>!l()("#content").find(".toastify").length},v=f.default.throttle((()=>{g.showTemporary(t("core","Connection to server lost"))}),7e3,{trailing:!1});function w(t,e,n){"post"!==t&&"delete"!==t||!Et.PasswordConfirmation.requiresPasswordConfirmation()?(n=n||{},l().ajax({type:t.toUpperCase(),url:(0,c.generateOcsUrl)("apps/provisioning_api/api/v1/config/apps")+e,data:n.data||{},success:n.success,error:n.error})):Et.PasswordConfirmation.requirePasswordConfirmation(_.bind(w,this,t,e,n))}const y=window.oc_appconfig||{},b={getValue:function(t,e,n,o){!function(t,e,n,o){(o=o||{}).data={defaultValue:n},w("get","/"+t+"/"+e,o)}(t,e,n,{success:o})},setValue:function(t,e,n){!function(t,e,n,o){(o=o||{}).data={value:n},w("post","/"+t+"/"+e,o)}(t,e,n)},getApps:function(t){!function(t){w("get","",t)}({success:t})},getKeys:function(t,e){!function(t,e){w("get","/"+t,e)}(t,{success:e})},deleteKey:function(t,e){!function(t,e,n){w("delete","/"+t+"/"+e,void 0)}(t,e)}};var C=i(25108);const A=void 0!==window._oc_appswebroots&&window._oc_appswebroots;var k=i(72316),P=i.n(k),x=i(76591),T=i(25108);const O={create:"POST",update:"PROPPATCH",patch:"PROPPATCH",delete:"DELETE",read:"PROPFIND"};function E(t,e){if(f.default.isArray(t))return f.default.map(t,(function(t){return E(t,e)}));var n={href:t.href};return f.default.each(t.propStat,(function(t){if("HTTP/1.1 200 OK"===t.status)for(var o in t.properties){var i=o;o in e&&(i=e[o]),n[i]=t.properties[o]}})),n.id||(n.id=j(n.href)),n}function j(t){var e=t.indexOf("?");e>0&&(t=t.substr(0,e));var n,o=t.split("/");do{n=o[o.length-1],o.pop()}while(!n&&o.length>0);return n}function L(t){return t>=200&&t<=299}function S(t,e,n,o){return t.propPatch(e.url,function(t,e){var n,o={};for(n in t){var i=e[n],a=t[n];i||(T.warn('No matching DAV property for property "'+n),i=n),(f.default.isBoolean(a)||f.default.isNumber(a))&&(a=""+a),o[i]=a}return o}(n.changed,e.davProperties),o).then((function(t){L(t.status)?f.default.isFunction(e.success)&&e.success(n.toJSON()):f.default.isFunction(e.error)&&e.error(t)}))}const N=P().noConflict();Object.assign(N,{davCall:(t,e)=>{var n=new x.dav.Client({baseUrl:t.url,xmlNamespaces:f.default.extend({"DAV:":"d","http://owncloud.org/ns":"oc"},t.xmlNamespaces||{})});n.resolveUrl=function(){return t.url};var o=f.default.extend({"X-Requested-With":"XMLHttpRequest",requesttoken:OC.requestToken},t.headers);return"PROPFIND"===t.type?function(t,e,n,o){return t.propFind(e.url,f.default.values(e.davProperties)||[],e.depth,o).then((function(t){if(L(t.status)){if(f.default.isFunction(e.success)){var n=f.default.invert(e.davProperties),o=E(t.body,n);e.depth>0&&o.shift(),e.success(o)}}else f.default.isFunction(e.error)&&e.error(t)}))}(n,t,0,o):"PROPPATCH"===t.type?S(n,t,e,o):"MKCOL"===t.type?function(t,e,n,o){return t.request(e.type,e.url,o,null).then((function(i){L(i.status)?S(t,e,n,o):f.default.isFunction(e.error)&&e.error(i)}))}(n,t,e,o):function(t,e,n,o){return o["Content-Type"]="application/json",t.request(e.type,e.url,o,e.data).then((function(t){if(L(t.status)){if(f.default.isFunction(e.success)){if("PUT"===e.type||"POST"===e.type||"MKCOL"===e.type){var o=t.body||n.toJSON(),i=t.xhr.getResponseHeader("Content-Location");return"POST"===e.type&&i&&(o.id=j(i)),void e.success(o)}if(207===t.status){var a=f.default.invert(e.davProperties);e.success(E(t.body,a))}else e.success(t.body)}}else f.default.isFunction(e.error)&&e.error(t)}))}(n,t,e,o)},davSync:(t=>(e,n,o)=>{var i={type:O[e]||e},a=n instanceof t.Collection;if("update"===e&&(n.hasInnerCollection?i.type="MKCOL":(n.usePUT||n.collection&&n.collection.usePUT)&&(i.type="PUT")),o.url||(i.url=f.default.result(n,"url")||function(){throw new Error('A "url" property or function must be specified')}()),null!=o.data||!n||"create"!==e&&"update"!==e&&"patch"!==e||(i.data=JSON.stringify(o.attrs||n.toJSON(o))),"PROPFIND"!==i.type&&(i.processData=!1),"PROPFIND"===i.type||"PROPPATCH"===i.type){var r=n.davProperties;!r&&n.model&&(r=n.model.prototype.davProperties),r&&(f.default.isFunction(r)?i.davProperties=r.call(n):i.davProperties=r),i.davProperties=f.default.extend(i.davProperties||{},o.davProperties),f.default.isUndefined(o.depth)&&(o.depth=a?1:0)}var s=o.error;o.error=function(t,e,n){o.textStatus=e,o.errorThrown=n,s&&s.call(o.context,t,e,n)};var l=o.xhr=t.davCall(f.default.extend(i,o),n);return n.trigger("request",n,l,o),l})(N)});const I=N;var U=i(65358);const $=window._oc_config||{};var F=i(25108);const R=k.Model.extend({defaults:{fullName:"",lastMessage:"",actions:[],hasOneAction:!1,hasTwoActions:!1,hasManyActions:!1},initialize:function(){0===this.get("actions").length?this.set("hasOneAction",!0):1===this.get("actions").length?(this.set("hasTwoActions",!0),this.set("secondAction",this.get("actions")[0])):this.set("hasManyActions",!0);const e=this.get("fullName");this.get("avatar")&&e&&this.set("avatarLabel",t("core","Avatar of {fullName}",{fullName:e}))}}),M=k.Collection.extend({model:R}),B=k.View.extend({_collection:void 0,_subViews:[],tagName:"ul",initialize:function(t){this._collection=t.collection},render:function(){var t=this;return t.$el.html(""),t._subViews=[],t._collection.forEach((function(e){var n=new z({model:e});n.render(),t.$el.append(n.$el),n.on("toggle:actionmenu",t._onChildActionMenuToggle,t),t._subViews.push(n)})),t},_onChildActionMenuToggle:function(t){this._subViews.forEach((function(e){e.trigger("parent:toggle:actionmenu",t)}))}}),z=k.View.extend({className:"contact",tagName:"li",_template:void 0,_model:void 0,_actionMenuShown:!1,events:{"click .icon-more":"_onToggleActionsMenu"},contactTemplate:i(10944),template:function(t){return this.contactTemplate(t)},initialize:function(t){this._model=t.model,this.on("parent:toggle:actionmenu",this._onOtherActionMenuOpened,this)},render:function(){return this.$el.html(this.template({contact:this._model.toJSON()})),this.delegateEvents(),this.$("div.avatar").imageplaceholder(this._model.get("fullName")),this},_onToggleActionsMenu:function(){this._actionMenuShown=!this._actionMenuShown,this._actionMenuShown?this.$(".menu").show():this.$(".menu").hide(),this.trigger("toggle:actionmenu",this.$el)},_onOtherActionMenuOpened:function(t){this.$el.is(t)||(this._actionMenuShown=!1,this.$(".menu").hide())}}),D=k.View.extend({_loadingTemplate:void 0,_errorTemplate:void 0,_contentTemplate:void 0,_contactsTemplate:void 0,_contacts:void 0,_searchTerm:"",events:{"input #contactsmenu-search":"_onSearch"},templates:{loading:i(95386),error:i(20421),menu:i(66115),list:i(34083)},_onSearch:f.default.debounce((function(t){var e=this.$("#contactsmenu-search").val();e!==this._searchTerm&&(this.trigger("search",this.$("#contactsmenu-search").val()),this._searchTerm=e)}),700),loadingTemplate:function(t){return this.templates.loading(t)},errorTemplate:function(e){return this.templates.error(f.default.extend({couldNotLoadText:t("core","Could not load your contacts")},e))},contentTemplate:function(e){return this.templates.menu(f.default.extend({searchContactsText:t("core","Search contacts …")},e))},contactsTemplate:function(e){return this.templates.list(f.default.extend({noContactsFoundText:t("core","No contacts found"),showAllContactsText:t("core","Show all contacts …"),contactsAppMgmtText:t("core","Install the Contacts app")},e))},initialize:function(t){this.options=t},showLoading:function(t){this.render(),this._contacts=void 0,this.$(".content").html(this.loadingTemplate({loadingText:t}))},showError:function(){this.render(),this._contacts=void 0,this.$(".content").html(this.errorTemplate())},showContacts:function(t,e){this._contacts=t.contacts,this.render({contacts:t.contacts});var n=new B({collection:t.contacts});n.render(),this.$(".content").html(this.contactsTemplate({contacts:t.contacts,searchTerm:e,contactsAppEnabled:t.contactsAppEnabled,contactsAppURL:Et.generateUrl("/apps/contacts"),canInstallApp:Et.isUserAdmin(),contactsAppMgmtURL:Et.generateUrl("/settings/apps/social/contacts")})),this.$("#contactsmenu-contacts").html(n.$el)},render:function(t){var e=this.$("#contactsmenu-search").val();return this.$el.html(this.contentTemplate(t)),this.$("#contactsmenu-search").val(e),this.$("#contactsmenu-search").focus(),this}}),q=function(t){this.initialize(t)};q.prototype={$el:void 0,_view:void 0,_contactsPromise:void 0,initialize:function(t){this.$el=l()(t.el),this._view=new D({el:this.$el}),this._view.on("search",(function(t){this.loadContacts(t)}),this)},_getContacts:function(t){var e=Et.generateUrl("/contactsmenu/contacts");return Promise.resolve(l().ajax(e,{method:"POST",data:{filter:t}}))},loadContacts:function(e){var n=this;return n._contactsPromise||(n._contactsPromise=n._getContacts(e)),f.default.isUndefined(e)||""===e?n._view.showLoading(t("core","Loading your contacts …")):n._view.showLoading(t("core","Looking for {term} …",{term:e})),n._contactsPromise.then((function(t){t.contacts=new M(t.contacts),n._view.showContacts(t,e)}),(function(t){n._view.showError(),F.error("There was an error loading your contacts",t)})).then((function(){delete n._contactsPromise})).catch(F.error.bind(this))}};const H=q,Y=document.getElementsByTagName("head")[0].getAttribute("data-user"),K=document.getElementsByTagName("head")[0].getAttribute("data-user-displayname"),Z=void 0!==Y&&Y;var V=i(25108);const G={Search:class{constructor(){V.warn("OCA.Search is deprecated. Please use the unified search API instead")}}},W=t=>"click"===t.type||"keydown"===t.type&&"Enter"===t.key;var J=i(25108);const Q={YES_NO_BUTTONS:70,OK_BUTTONS:71,FILEPICKER_TYPE_CHOOSE:1,FILEPICKER_TYPE_MOVE:2,FILEPICKER_TYPE_COPY:3,FILEPICKER_TYPE_COPY_MOVE:4,FILEPICKER_TYPE_CUSTOM:5,dialogsCounter:0,alert:function(t,e,n,o){this.message(t,e,"alert",Q.OK_BUTTON,n,o)},info:function(t,e,n,o){this.message(t,e,"info",Q.OK_BUTTON,n,o)},confirm:function(t,e,n,o){return this.message(t,e,"notice",Q.YES_NO_BUTTONS,n,o)},confirmDestructive:function(t,e,n,o,i){return this.message(t,e,"none",n,o,void 0===i||i)},confirmHtml:function(t,e,n,o){return this.message(t,e,"notice",Q.YES_NO_BUTTONS,n,o,!0)},prompt:function(e,n,o,i,a,r){return l().when(this._getMessageTemplate()).then((function(s){var c="oc-dialog-"+Q.dialogsCounter+"-content",d="#"+c,u=s.octemplate({dialog_name:c,title:n,message:e,type:"notice"}),p=l()("");p.attr("type",r?"password":"text").attr("id",c+"-input").attr("placeholder",a);var h=l()("