/*! For license information please see core-install.js.LICENSE.txt */ (()=>{"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()("