summaryrefslogtreecommitdiffstats
path: root/dist/core-install.js
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2021-12-03 17:25:57 +0100
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-01-08 10:15:45 +0100
commita6874aa7cef79ca01443dc19ce0f507a63008d0f (patch)
tree3077705a13e72264beff1af720284ebe4255dbe0 /dist/core-install.js
parent26fb63d81f09aa9a1019185ffab43fed5cbdac1d (diff)
downloadnextcloud-server-a6874aa7cef79ca01443dc19ce0f507a63008d0f.tar.gz
nextcloud-server-a6874aa7cef79ca01443dc19ce0f507a63008d0f.zip
Compile bundle
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'dist/core-install.js')
-rw-r--r--dist/core-install.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/core-install.js b/dist/core-install.js
index 7627cab7488..008912c4971 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 */
-(()=>{var e,t={85375:(e,t,o)=>{var n,a=o(19755);a.prototype.tooltip=(n=a.prototype.tooltip,function(e){try{return n.call(this,e)}catch(t){if(t instanceof TypeError&&"destroy"===e)return void 0===window.TESTING&&console.error("Deprecated call $.tooltip('destroy') has been deprecated and should be removed"),n.call(this,"dispose");if(t instanceof TypeError&&"fixTitle"===e)return void 0===window.TESTING&&console.error("Deprecated call $.tooltip('fixTitle') has been deprecated and should be removed"),n.call(this,"_fixTitle")}})},8439:(e,t,o)=>{"use strict";var n=o(19755),a=o.n(n),r=o(9944),i=o(74854);const s=((e,t)=>{let o=e.getElementsByTagName("head")[0].getAttribute("data-requesttoken");return{getToken:()=>o,setToken:e=>{o=e,t("csrf-token-update",{token:o})}}})(document,i.emit),d=s.getToken;s.setToken,a().fn.extend({showPassword(e){const t={fn:null,args:{}};t.fn=e;const o=function(e,t){t.val(e.val())},n=function(e,t,n){e.is(":checked")?(o(t,n),n.show(),t.hide()):(o(n,t),n.hide(),t.show())};return this.each((function(){const e=a()(this),r=a()(e.data("typetoggle")),i=function(e){const t=a()(e),o=a()("<input />");return o.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")&&o.attr("placeholder",t.attr("placeholder")),o}(e);i.insertAfter(e),t.fn&&(t.args.input=e,t.args.checkbox=r,t.args.clone=i),r.bind("click",(function(){n(r,e,i)})),e.bind("keyup",(function(){o(e,i)})),i.bind("keyup",(function(){o(i,e),e.trigger("keyup")})),i.bind("blur",(function(){e.trigger("focusout")})),n(r,e,i),i.closest("form").submit((function(e){i.prop("type","password")})),t.fn&&t.fn(t.args)}))}}),o(79366),o(75289),o(56396),o(33824),o(85375),o(99205),o(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()(":submit",this).attr("disabled","disabled").val(a()(":submit",this).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("-ms-filter",'"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"').css("filter","alpha(opacity=30)").css("opacity",.3);const t=a()("<form>");t.attr("action",a()(this).attr("action")),t.attr("method","POST");for(let o=0;o<e.length;o++){const n=a()('<input type="hidden">');n.attr(e[o]),t.append(n)}const o=decodeURIComponent((new RegExp("[?|&]redirect_url=([^&;]+?)(&|#|;|$)").exec(location.search)||[,""])[1].replace(/\+/g,"%20"))||"";if(o){const e=a()('<input type="hidden">');e.attr({name:"redirect_url",value:o}),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.translate)("core","Very weak password"),(0,r.translate)("core","Weak password"),(0,r.translate)("core","So-so password"),(0,r.translate)("core","Good password"),(0,r.translate)("core","Strong password")],drawTitles:!0,nonce:btoa(d())}),a()("#dbpass").showPassword().keyup(),a()("#adminpass").showPassword().keyup()}))}},o={};function n(e){var a=o[e];if(void 0!==a)return a.exports;var r=o[e]={id:e,loaded:!1,exports:{}};return t[e].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}n.m=t,n.amdD=function(){throw new Error("define cannot be used indirect")},n.amdO={},e=[],n.O=(t,o,a,r)=>{if(!o){var i=1/0;for(c=0;c<e.length;c++){o=e[c][0],a=e[c][1],r=e[c][2];for(var s=!0,d=0;d<o.length;d++)(!1&r||i>=r)&&Object.keys(n.O).every((e=>n.O[e](o[d])))?o.splice(d--,1):(s=!1,r<i&&(i=r));if(s){e.splice(c--,1);var l=a();void 0!==l&&(t=l)}}return t}r=r||0;for(var c=e.length;c>0&&e[c-1][2]>r;c--)e[c]=e[c-1];e[c]=[o,a,r]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n.j=998,(()=>{var e={998:0};n.O.j=t=>0===e[t];var t=(t,o)=>{var a,r,i=o[0],s=o[1],d=o[2],l=0;if(i.some((t=>0!==e[t]))){for(a in s)n.o(s,a)&&(n.m[a]=s[a]);if(d)var c=d(n)}for(t&&t(o);l<i.length;l++)r=i[l],n.o(e,r)&&e[r]&&e[r][0](),e[i[l]]=0;return n.O(c)},o=self.webpackChunknextcloud=self.webpackChunknextcloud||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var a=n.O(void 0,[874],(()=>n(8439)));a=n.O(a)})();
-//# sourceMappingURL=core-install.js.map?v=f5ddef8d77772c6dd895 \ No newline at end of file
+!function(){var e,t={85375:function(e,t,n){var r,o=n(19755);o.prototype.tooltip=(r=o.prototype.tooltip,function(e){try{return r.call(this,e)}catch(t){if(t instanceof TypeError&&"destroy"===e)return void 0===window.TESTING&&console.error("Deprecated call $.tooltip('destroy') has been deprecated and should be removed"),r.call(this,"dispose");if(t instanceof TypeError&&"fixTitle"===e)return void 0===window.TESTING&&console.error("Deprecated call $.tooltip('fixTitle') has been deprecated and should be removed"),r.call(this,"_fixTitle")}})},8439:function(e,t,n){"use strict";var r,o,a,i=n(19755),s=n.n(i),d=n(9944),l=n(74854),c=(r=document,o=l.emit,a=r.getElementsByTagName("head")[0].getAttribute("data-requesttoken"),{getToken:function(){return a},setToken:function(e){o("csrf-token-update",{token:a=e})}}).getToken;s().fn.extend({showPassword:function(e){var t={fn:null,args:{}};t.fn=e;var n=function(e,t){t.val(e.val())},r=function(e,t,r){e.is(":checked")?(n(t,r),r.show(),t.hide()):(n(r,t),r.hide(),t.show())};return this.each((function(){var e=s()(this),o=s()(e.data("typetoggle")),a=function(e){var t=s()(e),n=s()("<input />");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);a.insertAfter(e),t.fn&&(t.args.input=e,t.args.checkbox=o,t.args.clone=a),o.bind("click",(function(){r(o,e,a)})),e.bind("keyup",(function(){n(e,a)})),a.bind("keyup",(function(){n(a,e),e.trigger("keyup")})),a.bind("blur",(function(){e.trigger("focusout")})),r(o,e,a),a.closest("form").submit((function(e){a.prop("type","password")})),t.fn&&t.fn(t.args)}))}}),n(79366),n(75289),n(56396),n(33824),n(85375),n(99205),n(38554),window.addEventListener("DOMContentLoaded",(function(){var e=!!s()("#hasSQLite").val();s()("#hasMySQL").val(),s()("#hasPostgreSQL").val(),s()("#hasOracle").val(),s()("#selectDbType").buttonset(),s()("#selectDbType p.info a").button("destroy"),s()("#hasSQLite").val()?(s()("#use_other_db").hide(),s()("#use_oracle_db").hide()):s()("#sqliteInformation").hide(),s()("#adminlogin").change((function(){s()("#adminlogin").val(s().trim(s()("#adminlogin").val()))})),s()("#sqlite").click((function(){s()("#use_other_db").slideUp(250),s()("#use_oracle_db").slideUp(250),s()("#sqliteInformation").show(),s()("#dbname").attr("pattern","[0-9a-zA-Z$_-]+")})),s()("#mysql,#pgsql").click((function(){s()("#use_other_db").slideDown(250),s()("#use_oracle_db").slideUp(250),s()("#sqliteInformation").hide(),s()("#dbname").attr("pattern","[0-9a-zA-Z$_-]+")})),s()("#oci").click((function(){s()("#use_other_db").slideDown(250),s()("#use_oracle_db").show(250),s()("#sqliteInformation").hide(),s()("#dbname").attr("pattern","[0-9a-zA-Z$_-.]+")})),s()("#showAdvanced").click((function(e){e.preventDefault(),s()("#datadirContent").slideToggle(250),s()("#databaseBackend").slideToggle(250),s()("#databaseField").slideToggle(250)})),s()("form").submit((function(){var e=s()(this).serializeArray();s()(".float-spinner").show(250),s()(":submit",this).attr("disabled","disabled").val(s()(":submit",this).data("finishing")),s()("input",this).addClass("ui-state-disabled").attr("disabled","disabled"),s()("#selectDbType").find(".ui-button").length>0&&s()("#selectDbType").buttonset("disable"),s()(".strengthify-wrapper, .tipsy").css("-ms-filter",'"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"').css("filter","alpha(opacity=30)").css("opacity",.3);var t=s()("<form>");t.attr("action",s()(this).attr("action")),t.attr("method","POST");for(var n=0;n<e.length;n++){var r=s()('<input type="hidden">');r.attr(e[n]),t.append(r)}var o=decodeURIComponent((new RegExp("[?|&]redirect_url=([^&;]+?)(&|#|;|$)").exec(location.search)||[,""])[1].replace(/\+/g,"%20"))||"";if(o){var a=s()('<input type="hidden">');a.attr({name:"redirect_url",value:o}),t.append(a)}return t.appendTo(document.body),t.submit(),!1}));var t=s()('input[type="radio"]:checked').val();void 0===t&&s()('input[type="radio"]').first().click(),("sqlite"===t||e&&void 0===t)&&(s()("#datadirContent").hide(250),s()("#databaseBackend").hide(250),s()("#databaseField").hide(250),s()(".float-spinner").hide(250)),s()("#adminpass").strengthify({zxcvbn:OC.linkTo("core","vendor/zxcvbn/dist/zxcvbn.js"),titles:[(0,d.translate)("core","Very weak password"),(0,d.translate)("core","Weak password"),(0,d.translate)("core","So-so password"),(0,d.translate)("core","Good password"),(0,d.translate)("core","Strong password")],drawTitles:!0,nonce:btoa(c())}),s()("#dbpass").showPassword().keyup(),s()("#adminpass").showPassword().keyup()}))}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var a=n[e]={id:e,loaded:!1,exports:{}};return t[e].call(a.exports,a,a.exports,r),a.loaded=!0,a.exports}r.m=t,r.amdD=function(){throw new Error("define cannot be used indirect")},r.amdO={},e=[],r.O=function(t,n,o,a){if(!n){var i=1/0;for(c=0;c<e.length;c++){n=e[c][0],o=e[c][1],a=e[c][2];for(var s=!0,d=0;d<n.length;d++)(!1&a||i>=a)&&Object.keys(r.O).every((function(e){return r.O[e](n[d])}))?n.splice(d--,1):(s=!1,a<i&&(i=a));if(s){e.splice(c--,1);var l=o();void 0!==l&&(t=l)}}return t}a=a||0;for(var c=e.length;c>0&&e[c-1][2]>a;c--)e[c]=e[c-1];e[c]=[n,o,a]},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},r.j=998,function(){var e={998:0};r.O.j=function(t){return 0===e[t]};var t=function(t,n){var o,a,i=n[0],s=n[1],d=n[2],l=0;if(i.some((function(t){return 0!==e[t]}))){for(o in s)r.o(s,o)&&(r.m[o]=s[o]);if(d)var c=d(r)}for(t&&t(n);l<i.length;l++)a=i[l],r.o(e,a)&&e[a]&&e[a][0](),e[i[l]]=0;return r.O(c)},n=self.webpackChunknextcloud=self.webpackChunknextcloud||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();var o=r.O(void 0,[874],(function(){return r(8439)}));o=r.O(o)}();
+//# sourceMappingURL=core-install.js.map?v=7f5d771226efbdec2a0f \ No newline at end of file