1(function(){var h={67943:function(){$(()=>{const r=$("#assembly_scopes_enabled"),i=$("#assembly_scope_id");$(".edit_assembly, .new_assembly").length>0&&(r.on("change",o=>{const s=o.target.checked;i.attr("disabled",!s)}),i.attr("disabled",!r.prop("checked")));const e=$(".assembly_form_admin");if(e.length>0){const o=e.find("#private_space"),s=e.find("#is_transparent"),n=e.find("#special_features"),t=()=>{const l=o.find("input[type='checkbox']").prop("checked");s.find("input[type='checkbox']").attr("disabled","disabled"),n.hide(),l&&(s.find("input[type='checkbox']").attr("disabled",!l),n.show())};o.on("change",t),t();const a=e.find("#assembly_assembly_type"),b=e.find("#assembly_type_other"),_=e.find("#assembly_created_by"),f=e.find("#created_by_other"),c=(l,d)=>{const m=l.val();d.hide(),m==="others"&&d.show()};a.on("change",l=>{const d=$(l.target);c(d,b)}),_.on("change",l=>{const d=$(l.target);c(d,f)}),c(a,b),c(_,f)}})},97683:function(){$(()=>{const r=$(".slug"),i=r.find("input"),e=r.find("span.slug-url-value");i.on("keyup",o=>{e.html(o.target.value)})})}},u={};function p(r){var i=u[r];if(i!==void 0)return i.exports;var e=u[r]={exports:{}};return h[r](e,e.exports,p),e.exports}(function(){"use strict";var r=p(67943);class i{constructor(n={}){this.controllerField=n.controllerField,this.wrapperSelector=n.wrapperSelector,this.dependentFieldsSelector=n.dependentFieldsSelector,this.dependentInputSelector=n.dependentInputSelector,this.enablingCondition=n.enablingCondition,this._bindEvent(),this._run()}_run(){const n=this.controllerField,t=n.parents(this.wrapperSelector).find(this.dependentFieldsSelector),a=t.find(this.dependentInputSelector);this.enablingCondition(n)?(a.prop("disabled",!1),t.show()):(a.prop("disabled",!0),t.hide())}_bindEvent(){this.controllerField.on("change",()=>{this._run()})}}function e(s){return new i(s)}$(()=>{const s=$("#assembly_member_existing_user");e({controllerField:s,wrapperSelector:".user-fields",dependentFieldsSelector:".user-fields--full-name",dependentInputSelector:"input",enablingCondition:t=>t.val()==="false"}),e({controllerField:s,wrapperSelector:".user-fields",dependentFieldsSelector:".user-fields--non-user-avatar",dependentInputSelector:"input",enablingCondition:t=>t.val()==="false"}),e({controllerField:s,wrapperSelector:".user-fields",dependentFieldsSelector:".user-fields--user-picker",dependentInputSelector:"input",enablingCondition:t=>t.val()==="true"});const n=$("#assembly_member_position");e({controllerField:n,wrapperSelector:".position-fields",dependentFieldsSelector:".position-fields--position-other",dependentInputSelector:"input",enablingCondition:t=>t.val()==="other"})});var o=p(97683)})()})(); 2 3//# sourceMappingURL=decidim_assemblies_admin-87871d1af2da09e83296.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.