bibhamrokhanpin/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/pro/acf-pro-field-group.js.map
2024-04-10 17:46:06 +05:45

1 line
34 KiB
Plaintext

{"version":3,"file":"acf-pro-field-group.js","mappings":";;;;;;;;;AAAA,CAAE,UAAWA,CAAC,EAAG;EAChB;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;EAEC,IAAIC,wBAAwB,GAAGC,GAAG,CAACC,YAAY,CAACC,MAAM,CAAE;IACvDC,IAAI,EAAE,OAAO;IACbC,IAAI,EAAE,SAAS;IACfC,MAAM,EAAE,SAAAA,CAAA,EAAY;MACnB;MACA,IAAIC,OAAO,GAAG,IAAI,CAACC,KAAK,CAACC,GAAG,CAAC,CAAC;;MAE9B;MACA,IAAI,CAACC,YAAY,CAACC,IAAI,CAAE,cAAc,EAAEJ,OAAQ,CAAC;IAClD;EACD,CAAE,CAAC;EAEHN,GAAG,CAACW,oBAAoB,CAAEZ,wBAAyB,CAAC;;EAEpD;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;EAEC,IAAIa,4BAA4B,GAAGZ,GAAG,CAACC,YAAY,CAACC,MAAM,CAAE;IAC3DC,IAAI,EAAE,OAAO;IACbC,IAAI,EAAE,cAAc;IACpBC,MAAM,EAAE,SAAAA,CAAA,EAAY;MACnB;MACA,IAAIQ,MAAM,GAAG,EAAE;;MAEf;MACA,IAAK,IAAI,CAACN,KAAK,CAACC,GAAG,CAAC,CAAC,EAAG;QACvBK,MAAM,GAAG,IAAI,CAACC,WAAW,CAACC,IAAI,CAAE,OAAQ,CAAC,GAAG,GAAG;MAChD;;MAEA;MACA,IAAI,CAACjB,CAAC,CAAE,MAAO,CAAC,CAACkB,IAAI,CAAEH,MAAM,GAAG,eAAgB,CAAC;IAClD;EACD,CAAE,CAAC;EAEHb,GAAG,CAACW,oBAAoB,CAAEC,4BAA6B,CAAC;;EAExD;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA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B,IAAI,EAAEL;MACP,CAAE,CAAC;;MAEH;MACAd,MAAM,CAACE,GAAG,CAAE,UAAW1B,KAAK,EAAG;QAC9B2I,OAAO,CAACC,IAAI,CAAE;UACbhH,KAAK,EAAE5B,KAAK,CAACQ,IAAI,CAAE,OAAQ,CAAC;UAC5BsI,KAAK,EAAE9I,KAAK,CAACQ,IAAI,CAAE,KAAM;QAC1B,CAAE,CAAC;MACJ,CAAE,CAAC;;MAEH;MACAf,GAAG,CAACsJ,YAAY,CAAE9H,OAAO,EAAE0H,OAAQ,CAAC;IACrC;EACD,CAAE,CAAC;EAEHlJ,GAAG,CAACW,oBAAoB,CAAEqI,6BAA8B,CAAC;AAC1D,CAAC,EAAIxG,MAAO,CAAC;;;;;;UCrDb;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;;;;;;;;;;;;;;ACNoC;AACQ","sources":["webpack://advanced-custom-fields-pro/./src/advanced-custom-fields-pro/assets/src/js/pro/_acf-setting-clone.js","webpack://advanced-custom-fields-pro/./src/advanced-custom-fields-pro/assets/src/js/pro/_acf-setting-flexible-content.js","webpack://advanced-custom-fields-pro/./src/advanced-custom-fields-pro/assets/src/js/pro/_acf-setting-repeater.js","webpack://advanced-custom-fields-pro/webpack/bootstrap","webpack://advanced-custom-fields-pro/webpack/runtime/compat get default export","webpack://advanced-custom-fields-pro/webpack/runtime/define property getters","webpack://advanced-custom-fields-pro/webpack/runtime/hasOwnProperty shorthand","webpack://advanced-custom-fields-pro/webpack/runtime/make namespace object","webpack://advanced-custom-fields-pro/./src/advanced-custom-fields-pro/assets/src/js/pro/acf-pro-field-group.js"],"sourcesContent":["( function ( $ ) {\n\t/**\n\t * CloneDisplayFieldSetting\n\t *\n\t * Extra logic for this field setting\n\t *\n\t * @date\t18/4/18\n\t * @since\t5.6.9\n\t *\n\t * @param\tvoid\n\t * @return\tvoid\n\t */\n\n\tvar CloneDisplayFieldSetting = acf.FieldSetting.extend( {\n\t\ttype: 'clone',\n\t\tname: 'display',\n\t\trender: function () {\n\t\t\t// vars\n\t\t\tvar display = this.field.val();\n\n\t\t\t// set data attribute used by CSS to hide/show\n\t\t\tthis.$fieldObject.attr( 'data-display', display );\n\t\t},\n\t} );\n\n\tacf.registerFieldSetting( CloneDisplayFieldSetting );\n\n\t/**\n\t * ClonePrefixLabelFieldSetting\n\t *\n\t * Extra logic for this field setting\n\t *\n\t * @date\t18/4/18\n\t * @since\t5.6.9\n\t *\n\t * @param\tvoid\n\t * @return\tvoid\n\t */\n\n\tvar ClonePrefixLabelFieldSetting = acf.FieldSetting.extend( {\n\t\ttype: 'clone',\n\t\tname: 'prefix_label',\n\t\trender: function () {\n\t\t\t// vars\n\t\t\tvar prefix = '';\n\n\t\t\t// if checked\n\t\t\tif ( this.field.val() ) {\n\t\t\t\tprefix = this.fieldObject.prop( 'label' ) + ' ';\n\t\t\t}\n\n\t\t\t// update HTML\n\t\t\tthis.$( 'code' ).html( prefix + '%field_label%' );\n\t\t},\n\t} );\n\n\tacf.registerFieldSetting( ClonePrefixLabelFieldSetting );\n\n\t/**\n\t * ClonePrefixNameFieldSetting\n\t *\n\t * Extra logic for this field setting\n\t *\n\t * @date\t18/4/18\n\t * @since\t5.6.9\n\t *\n\t * @param\tvoid\n\t * @return\tvoid\n\t */\n\n\tvar ClonePrefixNameFieldSetting = acf.FieldSetting.extend( {\n\t\ttype: 'clone',\n\t\tname: 'prefix_name',\n\t\trender: function () {\n\t\t\t// vars\n\t\t\tvar prefix = '';\n\n\t\t\t// if checked\n\t\t\tif ( this.field.val() ) {\n\t\t\t\tprefix = this.fieldObject.prop( 'name' ) + '_';\n\t\t\t}\n\n\t\t\t// update HTML\n\t\t\tthis.$( 'code' ).html( prefix + '%field_name%' );\n\t\t},\n\t} );\n\n\tacf.registerFieldSetting( ClonePrefixNameFieldSetting );\n\n\t/**\n\t * cloneFieldSelectHelper\n\t *\n\t * Customizes the clone field setting Select2 isntance\n\t *\n\t * @date\t18/4/18\n\t * @since\t5.6.9\n\t *\n\t * @param\tvoid\n\t * @return\tvoid\n\t */\n\n\tvar cloneFieldSelectHelper = new acf.Model( {\n\t\tfilters: {\n\t\t\tselect2_args: 'select2Args',\n\t\t},\n\n\t\tselect2Args: function ( options, $select, data, $el, instance ) {\n\t\t\t// check\n\t\t\tif ( data.ajaxAction == 'acf/fields/clone/query' ) {\n\t\t\t\t// remain open on select\n\t\t\t\toptions.closeOnSelect = false;\n\n\t\t\t\t// customize ajaxData function\n\t\t\t\tinstance.data.ajaxData = this.ajaxData;\n\t\t\t}\n\n\t\t\t// return\n\t\t\treturn options;\n\t\t},\n\n\t\tajaxData: function ( data ) {\n\t\t\t// find current fields\n\t\t\tdata.fields = {};\n\n\t\t\t// loop\n\t\t\tacf.getFieldObjects().map( function ( fieldObject ) {\n\t\t\t\t// append\n\t\t\t\tdata.fields[ fieldObject.prop( 'key' ) ] = {\n\t\t\t\t\tkey: fieldObject.prop( 'key' ),\n\t\t\t\t\ttype: fieldObject.prop( 'type' ),\n\t\t\t\t\tlabel: fieldObject.prop( 'label' ),\n\t\t\t\t\tancestors: fieldObject.getParents().length,\n\t\t\t\t};\n\t\t\t} );\n\n\t\t\t// append title\n\t\t\tdata.title = $( '#title' ).val();\n\n\t\t\t// return\n\t\t\treturn data;\n\t\t},\n\t} );\n} )( jQuery );\n","( function ( $ ) {\n\t/**\n\t * CloneDisplayFieldSetting\n\t *\n\t * Extra logic for this field setting\n\t *\n\t * @date\t18/4/18\n\t * @since\t5.6.9\n\t *\n\t * @param\tvoid\n\t * @return\tvoid\n\t */\n\n\tvar FlexibleContentLayoutFieldSetting = acf.FieldSetting.extend( {\n\t\ttype: 'flexible_content',\n\t\tname: 'fc_layout',\n\n\t\tevents: {\n\t\t\t'blur .layout-label': 'onChangeLabel',\n\t\t\t'blur .layout-name': 'onChangeName',\n\t\t\t'click .add-layout': 'onClickAdd',\n\t\t\t'click .acf-field-settings-fc_head': 'onClickEdit',\n\t\t\t'click .acf-field-setting-fc-duplicate': 'onClickDuplicate',\n\t\t\t'click .acf-field-setting-fc-delete': 'onClickDelete',\n\t\t\t'changed:layoutLabel': 'updateLayoutTitles',\n\t\t\t'changed:layoutName': 'updateLayoutTitles',\n\t\t},\n\n\t\t$input: function ( name ) {\n\t\t\treturn $( '#' + this.getInputId() + '-' + name );\n\t\t},\n\n\t\t$list: function () {\n\t\t\treturn this.$( '.acf-field-list:first' );\n\t\t},\n\n\t\tgetInputId: function () {\n\t\t\treturn (\n\t\t\t\tthis.fieldObject.getInputId() +\n\t\t\t\t'-layouts-' +\n\t\t\t\tthis.field.get( 'id' )\n\t\t\t);\n\t\t},\n\n\t\t// get all sub fields\n\t\tgetFields: function () {\n\t\t\treturn acf.getFieldObjects( { parent: this.$el } );\n\t\t},\n\n\t\t// get immediate children\n\t\tgetChildren: function () {\n\t\t\treturn acf.getFieldObjects( { list: this.$list() } );\n\t\t},\n\n\t\tinitialize: function () {\n\t\t\t// add sortable\n\t\t\tvar $tbody = this.$el.parent();\n\t\t\tif ( ! $tbody.hasClass( 'ui-sortable' ) ) {\n\t\t\t\t$tbody.sortable( {\n\t\t\t\t\titems: '> .acf-field-setting-fc_layout',\n\t\t\t\t\thandle: '.acf-fc_draggable',\n\t\t\t\t\tforceHelperSize: true,\n\t\t\t\t\tforcePlaceholderSize: true,\n\t\t\t\t\tscroll: true,\n\t\t\t\t\tstop: this.proxy( function ( event, ui ) {\n\t\t\t\t\t\tthis.fieldObject.save();\n\t\t\t\t\t} ),\n\t\t\t\t} );\n\t\t\t}\n\n\t\t\t// add meta to sub fields\n\t\t\tthis.updateFieldLayouts();\n\t\t\tthis.updateLayoutTitles();\n\t\t},\n\n\t\tupdateFieldLayouts: function () {\n\t\t\tthis.getChildren().map( this.updateFieldLayout, this );\n\t\t},\n\n\t\tupdateFieldLayout: function ( field ) {\n\t\t\tfield.prop( 'parent_layout', this.get( 'id' ) );\n\t\t},\n\n\t\tupdateLayoutTitles: function () {\n\t\t\tconst label = this.get( 'layoutLabel' );\n\t\t\tconst name = this.get( 'layoutName' );\n\n\t\t\tconst $layoutHeaderLabelText = this.$el.find(\n\t\t\t\t'> .acf-label .acf-fc-layout-label'\n\t\t\t);\n\n\t\t\tif ( label ) {\n\t\t\t\t$layoutHeaderLabelText.html( label );\n\t\t\t}\n\n\t\t\tconst $layoutHeaderNameText = this.$el.find(\n\t\t\t\t'> .acf-label .acf-fc-layout-name span'\n\t\t\t);\n\n\t\t\tif ( name ) {\n\t\t\t\t$layoutHeaderNameText.html( name );\n\t\t\t\t$layoutHeaderNameText.parent().css( 'display', '' );\n\t\t\t} else {\n\t\t\t\t$layoutHeaderNameText.parent().css( 'display', 'none' );\n\t\t\t}\n\t\t},\n\n\t\tonClickEdit: function ( e ) {\n\t\t\tconst $target = $( e.target );\n\n\t\t\tif (\n\t\t\t\t$target.hasClass( 'acf-btn' ) ||\n\t\t\t\t$target.hasClass( 'copyable' ) ||\n\t\t\t\t$target.parent().hasClass( 'acf-btn' ) ||\n\t\t\t\t$target.parent().hasClass( 'copyable' )\n\t\t\t) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tthis.isOpen() ? this.close() : this.open();\n\t\t},\n\n\t\tisOpen: function ( e ) {\n\t\t\tconst $settings = this.$el.children( '.acf-field-layout-settings' );\n\t\t\treturn $settings.hasClass( 'open' );\n\t\t},\n\n\t\topen: function ( element, isAddingLayout ) {\n\t\t\tconst $settings = element\n\t\t\t\t? element.children( '.acf-field-layout-settings' )\n\t\t\t\t: this.$el.children( '.acf-field-layout-settings' );\n\t\t\tconst toggle = element\n\t\t\t\t? element.find( '.toggle-indicator' ).first()\n\t\t\t\t: this.$el.find( '.toggle-indicator' ).first();\n\n\t\t\t// action (show)\n\t\t\tacf.doAction( 'show', $settings );\n\n\t\t\t// open\n\t\t\tif ( isAddingLayout ) {\n\t\t\t\t$settings.slideDown( {\n\t\t\t\t\tcomplete: function () {\n\t\t\t\t\t\t$settings.find( '.layout-label' ).trigger( 'focus' );\n\t\t\t\t\t},\n\t\t\t\t} );\n\t\t\t} else {\n\t\t\t\t$settings.slideDown();\n\t\t\t}\n\t\t\ttoggle.addClass( 'open' );\n\t\t\tif ( toggle.hasClass( 'closed' ) ) {\n\t\t\t\ttoggle.removeClass( 'closed' );\n\t\t\t}\n\t\t\t$settings.addClass( 'open' );\n\t\t},\n\n\t\tclose: function () {\n\t\t\tconst $settings = this.$el.children( '.acf-field-layout-settings' );\n\t\t\tconst toggle = this.$el.find( '.toggle-indicator' ).first();\n\n\t\t\t// close\n\t\t\t$settings.slideUp();\n\t\t\t$settings.removeClass( 'open' );\n\t\t\ttoggle.removeClass( 'open' );\n\t\t\tif ( ! toggle.hasClass( 'closed' ) ) {\n\t\t\t\ttoggle.addClass( 'closed' );\n\t\t\t}\n\n\t\t\t// action (hide)\n\t\t\tacf.doAction( 'hide', $settings );\n\t\t},\n\n\t\tonChangeLabel: function ( e, $el ) {\n\t\t\tvar label = $el.val();\n\n\t\t\tthis.set( 'layoutLabel', label );\n\t\t\tthis.$el.attr( 'data-layout-label', label );\n\n\t\t\tvar $name = this.$input( 'name' );\n\n\t\t\t// render name\n\t\t\tif ( $name.val() == '' ) {\n\t\t\t\tacf.val( $name, acf.strSanitize( label ) );\n\t\t\t\tthis.$el.find( '.layout-name' ).trigger( 'blur' );\n\t\t\t}\n\t\t},\n\n\t\tonChangeName: function ( e, $el ) {\n\t\t\tvar name = $el.val();\n\n\t\t\tthis.set( 'layoutName', name );\n\t\t\tthis.$el.attr( 'data-layout-name', name );\n\t\t},\n\n\t\tonClickAdd: function ( e, $el ) {\n\t\t\te.preventDefault();\n\t\t\tvar prevKey = this.get( 'id' );\n\t\t\tvar newKey = acf.uniqid( 'layout_' );\n\n\t\t\t// duplicate\n\t\t\t$layout = acf.duplicate( {\n\t\t\t\t$el: this.$el,\n\t\t\t\tsearch: prevKey,\n\t\t\t\treplace: newKey,\n\t\t\t\tafter: function ( $el, $el2 ) {\n\t\t\t\t\tvar $list = $el2.find( '.acf-field-list:first' );\n\n\t\t\t\t\t// remove sub fields\n\t\t\t\t\t$list.children( '.acf-field-object' ).remove();\n\n\t\t\t\t\t// show empty\n\t\t\t\t\t$list.addClass( '-empty' );\n\n\t\t\t\t\t// reset layout meta values\n\t\t\t\t\t$el2.attr( 'data-layout-label', '' );\n\t\t\t\t\t$el2.attr( 'data-layout-name', '' );\n\t\t\t\t\t$el2.find( '.acf-fc-meta input' ).val( '' );\n\t\t\t\t\t$el2.find( 'label.acf-fc-layout-label' ).html(\n\t\t\t\t\t\tacf.__( 'Layout' )\n\t\t\t\t\t);\n\t\t\t\t},\n\t\t\t} );\n\n\t\t\t// get layout\n\t\t\tvar layout = acf.getFieldSetting( $layout );\n\n\t\t\t// update hidden input\n\t\t\tlayout.$input( 'key' ).val( newKey );\n\t\t\t! this.isOpen()\n\t\t\t\t? this.open( layout.$el, true )\n\t\t\t\t: layout.$el.find( '.layout-label' ).trigger( 'focus' );\n\n\t\t\t// save\n\t\t\tthis.fieldObject.save();\n\t\t},\n\n\t\tonClickDuplicate: function ( e, $el ) {\n\t\t\te.preventDefault();\n\t\t\tvar prevKey = this.get( 'id' );\n\t\t\tvar newKey = acf.uniqid( 'layout_' );\n\n\t\t\t// duplicate\n\t\t\t$layout = acf.duplicate( {\n\t\t\t\t$el: this.$el,\n\t\t\t\tsearch: prevKey,\n\t\t\t\treplace: newKey,\n\t\t\t} );\n\n\t\t\t// get all fields in new layout similar to fieldManager.onDuplicateField().\n\t\t\t// important to run field.wipe() before making any changes to the \"parent_layout\" prop\n\t\t\t// to ensure the correct input is modified.\n\t\t\tvar children = acf.getFieldObjects( { parent: $layout } );\n\t\t\tif ( children.length ) {\n\t\t\t\t// loop\n\t\t\t\tchildren.map( function ( child ) {\n\t\t\t\t\t// wipe field\n\t\t\t\t\tchild.wipe();\n\n\t\t\t\t\t// if the child is open, re-fire the open method to ensure it's initialised correctly.\n\t\t\t\t\tif ( child.isOpen() ) {\n\t\t\t\t\t\tchild.open();\n\t\t\t\t\t}\n\n\t\t\t\t\t// update parent\n\t\t\t\t\tchild.updateParent();\n\t\t\t\t} );\n\n\t\t\t\t// action\n\t\t\t\tacf.doAction(\n\t\t\t\t\t'duplicate_field_objects',\n\t\t\t\t\tchildren,\n\t\t\t\t\tthis.fieldObject,\n\t\t\t\t\tthis.fieldObject\n\t\t\t\t);\n\t\t\t}\n\n\t\t\t// get layout\n\t\t\tvar layout = acf.getFieldSetting( $layout );\n\n\t\t\t// get current label/names so we can prepare to append 'copy'\n\t\t\tvar label = layout.get( 'layoutLabel' );\n\t\t\tvar name = layout.get( 'layoutName' );\n\t\t\tvar end = name.split( '_' ).pop();\n\t\t\tvar copy = acf.__( 'copy' );\n\n\t\t\t// increase suffix \"1\"\n\t\t\tif ( acf.isNumeric( end ) ) {\n\t\t\t\tvar i = end * 1 + 1;\n\t\t\t\tlabel = label.replace( end, i );\n\t\t\t\tname = name.replace( end, i );\n\n\t\t\t\t// increase suffix \"(copy1)\"\n\t\t\t} else if ( end.indexOf( copy ) === 0 ) {\n\t\t\t\tvar i = end.replace( copy, '' ) * 1;\n\t\t\t\ti = i ? i + 1 : 2;\n\n\t\t\t\t// replace\n\t\t\t\tlabel = label.replace( end, copy + i );\n\t\t\t\tname = name.replace( end, copy + i );\n\n\t\t\t\t// add default \"(copy)\"\n\t\t\t} else {\n\t\t\t\tlabel += ' (' + copy + ')';\n\t\t\t\tname += '_' + copy;\n\t\t\t}\n\n\t\t\t// update inputs and data attributes which will trigger header label updates too.\n\t\t\tlayout.$input( 'label' ).val( label );\n\t\t\tlayout.set( 'layoutLabel', label );\n\t\t\tlayout.$el.attr( 'data-layout-label', label );\n\t\t\tlayout.$input( 'name' ).val( name );\n\t\t\tlayout.set( 'layoutName', name );\n\t\t\tlayout.$el.attr( 'data-layout-name', name );\n\n\t\t\t// update hidden input\n\t\t\tlayout.$input( 'key' ).val( newKey );\n\t\t\t! this.isOpen()\n\t\t\t\t? this.open( layout.$el, true )\n\t\t\t\t: layout.$el.find( '.layout-label' ).trigger( 'focus' );\n\t\t\t// save\n\t\t\tthis.fieldObject.save();\n\t\t},\n\n\t\tonClickDelete: function ( e, $el ) {\n\t\t\te.preventDefault();\n\t\t\t// Bypass confirmation when holding down \"shift\" key.\n\t\t\tif ( e.shiftKey ) {\n\t\t\t\treturn this.delete();\n\t\t\t}\n\n\t\t\t// add class\n\t\t\tthis.$el.addClass( '-hover' );\n\n\t\t\t// add tooltip\n\t\t\tvar tooltip = acf.newTooltip( {\n\t\t\t\tconfirmRemove: true,\n\t\t\t\ttarget: $el,\n\t\t\t\tcontext: this,\n\t\t\t\tconfirm: function () {\n\t\t\t\t\tthis.delete();\n\t\t\t\t},\n\t\t\t\tcancel: function () {\n\t\t\t\t\tthis.$el.removeClass( '-hover' );\n\t\t\t\t},\n\t\t\t} );\n\t\t},\n\n\t\tdelete: function () {\n\t\t\tvar $siblings = this.$el.siblings( '.acf-field-setting-fc_layout' );\n\n\t\t\t// validate\n\t\t\tif ( ! $siblings.length ) {\n\t\t\t\talert(\n\t\t\t\t\tacf.__( 'Flexible Content requires at least 1 layout' )\n\t\t\t\t);\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\t// delete sub fields\n\t\t\tthis.getFields().map( function ( child ) {\n\t\t\t\tchild.delete( {\n\t\t\t\t\tanimate: false,\n\t\t\t\t} );\n\t\t\t} );\n\n\t\t\t// remove tr\n\t\t\tacf.remove( this.$el );\n\n\t\t\t// save\n\t\t\tthis.fieldObject.save();\n\t\t},\n\t} );\n\n\tacf.registerFieldSetting( FlexibleContentLayoutFieldSetting );\n\n\t/**\n\t * flexibleContentHelper\n\t *\n\t * description\n\t *\n\t * @date\t19/4/18\n\t * @since\t5.6.9\n\t *\n\t * @param\ttype $var Description. Default.\n\t * @return\ttype Description.\n\t */\n\n\tvar flexibleContentHelper = new acf.Model( {\n\t\tactions: {\n\t\t\tsortstop_field_object: 'updateParentLayout',\n\t\t\tchange_field_object_parent: 'updateParentLayout',\n\t\t},\n\n\t\tupdateParentLayout: function ( fieldObject ) {\n\t\t\tvar parent = fieldObject.getParent();\n\n\t\t\t// delete meta\n\t\t\tif ( ! parent || parent.prop( 'type' ) !== 'flexible_content' ) {\n\t\t\t\tfieldObject.prop( 'parent_layout', null );\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// get layout\n\t\t\tvar $layout = fieldObject.$el.closest(\n\t\t\t\t'.acf-field-setting-fc_layout'\n\t\t\t);\n\t\t\tvar layout = acf.getFieldSetting( $layout );\n\n\t\t\t// check if previous prop exists\n\t\t\t// - if not, set prop to allow following code to trigger 'change' and save the field\n\t\t\tif ( ! fieldObject.has( 'parent_layout' ) ) {\n\t\t\t\tfieldObject.prop( 'parent_layout', 0 );\n\t\t\t}\n\n\t\t\t// update meta\n\t\t\tfieldObject.prop( 'parent_layout', layout.get( 'id' ) );\n\t\t},\n\t} );\n} )( jQuery );\n","( function ( $ ) {\n\t/*\n\t * Repeater\n\t *\n\t * This field type requires some extra logic for its settings\n\t *\n\t * @type\tfunction\n\t * @date\t24/10/13\n\t * @since\t5.0.0\n\t *\n\t * @param\tn/a\n\t * @return\tn/a\n\t */\n\n\tvar RepeaterCollapsedFieldSetting = acf.FieldSetting.extend( {\n\t\ttype: 'repeater',\n\t\tname: 'collapsed',\n\t\tevents: {\n\t\t\t'focus select': 'onFocus',\n\t\t},\n\t\tonFocus: function ( e, $el ) {\n\t\t\t// vars\n\t\t\tvar $select = $el;\n\n\t\t\t// collapsed\n\t\t\tvar choices = [];\n\n\t\t\t// keep 'null' choice\n\t\t\tchoices.push( {\n\t\t\t\tlabel: $select.find( 'option[value=\"\"]' ).text(),\n\t\t\t\tvalue: '',\n\t\t\t} );\n\n\t\t\t// find sub fields\n\t\t\tvar $list = this.fieldObject.$( '.acf-field-list:first' );\n\t\t\tvar fields = acf.getFieldObjects( {\n\t\t\t\tlist: $list,\n\t\t\t} );\n\n\t\t\t// loop\n\t\t\tfields.map( function ( field ) {\n\t\t\t\tchoices.push( {\n\t\t\t\t\tlabel: field.prop( 'label' ),\n\t\t\t\t\tvalue: field.prop( 'key' ),\n\t\t\t\t} );\n\t\t\t} );\n\n\t\t\t// render\n\t\t\tacf.renderSelect( $select, choices );\n\t\t},\n\t} );\n\n\tacf.registerFieldSetting( RepeaterCollapsedFieldSetting );\n} )( jQuery );\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\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\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__.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};","import './_acf-setting-repeater.js';\nimport './_acf-setting-flexible-content.js';\nimport './_acf-setting-clone.js';\n"],"names":["$","CloneDisplayFieldSetting","acf","FieldSetting","extend","type","name","render","display","field","val","$fieldObject","attr","registerFieldSetting","ClonePrefixLabelFieldSetting","prefix","fieldObject","prop","html","ClonePrefixNameFieldSetting","cloneFieldSelectHelper","Model","filters","select2_args","select2Args","options","$select","data","$el","instance","ajaxAction","closeOnSelect","ajaxData","fields","getFieldObjects","map","key","label","ancestors","getParents","length","title","jQuery","FlexibleContentLayoutFieldSetting","events","$input","getInputId","$list","get","getFields","parent","getChildren","list","initialize","$tbody","hasClass","sortable","items","handle","forceHelperSize","forcePlaceholderSize","scroll","stop","proxy","event","ui","save","updateFieldLayouts","updateLayoutTitles","updateFieldLayout","$layoutHeaderLabelText","find","$layoutHeaderNameText","css","onClickEdit","e","$target","target","isOpen","close","open","$settings","children","element","isAddingLayout","toggle","first","doAction","slideDown","complete","trigger","addClass","removeClass","slideUp","onChangeLabel","set","$name","strSanitize","onChangeName","onClickAdd","preventDefault","prevKey","newKey","uniqid","$layout","duplicate","search","replace","after","$el2","remove","__","layout","getFieldSetting","onClickDuplicate","child","wipe","updateParent","end","split","pop","copy","isNumeric","i","indexOf","onClickDelete","shiftKey","delete","tooltip","newTooltip","confirmRemove","context","confirm","cancel","$siblings","siblings","alert","animate","flexibleContentHelper","actions","sortstop_field_object","change_field_object_parent","updateParentLayout","getParent","closest","has","RepeaterCollapsedFieldSetting","onFocus","choices","push","text","value","renderSelect"],"sourceRoot":""}