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AAG;IACrDzmB,GAAG,CAACvC,QAAQ,CAAE,WAAW,EAAEgpB,EAAE,CAACvJ,IAAI,EAAEuJ,EAAE,CAACC,WAAY,CAAC;EACrD,CAAE,CAAC;EAEHzmB,CAAC,CAAEiF,QAAS,CAAC,CAACL,EAAE,CAAE,UAAU,EAAE,UAAWI,KAAK,EAAEwhB,EAAE,EAAG;IACpDzmB,GAAG,CAACvC,QAAQ,CAAE,UAAU,EAAEgpB,EAAE,CAACvJ,IAAI,EAAEuJ,EAAE,CAACC,WAAY,CAAC;EACpD,CAAE,CAAC;AACJ,CAAC,EAAIhkB,MAAO,CAAC;;;;;;UCnkFb;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACNmB;AACM;AACA;AACA;AACA;AACA;AACC","sources":["webpack://advanced-custom-fields-pro/./src/advanced-custom-fields-pro/assets/src/js/_acf-hooks.js","webpack://advanced-custom-fields-pro/./src/advanced-custom-fields-pro/assets/src/js/_acf-modal.js","webpack://advanced-custom-fields-pro/./src/advanced-custom-fields-pro/assets/src/js/_acf-model.js","webpack://advanced-custom-fields-pro/./src/advanced-custom-fields-pro/assets/src/js/_acf-notice.js","webpack://advanced-custom-fields-pro/./src/advanced-custom-fields-pro/assets/src/js/_acf-panel.js","webpack://advanced-custom-fields-pro/./src/advanced-custom-fields-pro/assets/src/js/_acf-popup.js","webpack://advanced-custom-fields-pro/./src/advanced-custom-fields-pro/assets/src/js/_acf-tooltip.js","webpack://advanced-custom-fields-pro/./src/advanced-custom-fields-pro/assets/src/js/_acf.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/acf.js"],"sourcesContent":["( function ( window, undefined ) {\n\t'use strict';\n\n\t/**\n\t * Handles managing all events for whatever you plug it into. Priorities for hooks are based on lowest to highest in\n\t * that, lowest priority hooks are fired first.\n\t */\n\tvar EventManager = function () {\n\t\t/**\n\t\t * Maintain a reference to the object scope so our public methods never get confusing.\n\t\t */\n\t\tvar MethodsAvailable = {\n\t\t\tremoveFilter: removeFilter,\n\t\t\tapplyFilters: applyFilters,\n\t\t\taddFilter: addFilter,\n\t\t\tremoveAction: removeAction,\n\t\t\tdoAction: doAction,\n\t\t\taddAction: addAction,\n\t\t\tstorage: getStorage,\n\t\t};\n\n\t\t/**\n\t\t * Contains the hooks that get registered with this EventManager. The array for storage utilizes a \"flat\"\n\t\t * object literal such that looking up the hook utilizes the native object literal hash.\n\t\t */\n\t\tvar STORAGE = {\n\t\t\tactions: {},\n\t\t\tfilters: {},\n\t\t};\n\n\t\tfunction getStorage() {\n\t\t\treturn STORAGE;\n\t\t}\n\n\t\t/**\n\t\t * Adds an action to the event manager.\n\t\t *\n\t\t * @param action Must contain namespace.identifier\n\t\t * @param callback Must be a valid callback function before this action is added\n\t\t * @param [priority=10] Used to control when the function is executed in relation to other callbacks bound to the same hook\n\t\t * @param [context] Supply a value to be used for this\n\t\t */\n\t\tfunction addAction( action, callback, priority, context ) {\n\t\t\tif (\n\t\t\t\ttypeof action === 'string' &&\n\t\t\t\ttypeof callback === 'function'\n\t\t\t) {\n\t\t\t\tpriority = parseInt( priority || 10, 10 );\n\t\t\t\t_addHook( 'actions', action, callback, priority, context );\n\t\t\t}\n\n\t\t\treturn MethodsAvailable;\n\t\t}\n\n\t\t/**\n\t\t * Performs an action if it exists. You can pass as many arguments as you want to this function; the only rule is\n\t\t * that the first argument must always be the action.\n\t\t */\n\t\tfunction doAction(/* action, arg1, arg2, ... */) {\n\t\t\tvar args = Array.prototype.slice.call( arguments );\n\t\t\tvar action = args.shift();\n\n\t\t\tif ( typeof action === 'string' ) {\n\t\t\t\t_runHook( 'actions', action, args );\n\t\t\t}\n\n\t\t\treturn MethodsAvailable;\n\t\t}\n\n\t\t/**\n\t\t * Removes the specified action if it contains a namespace.identifier & exists.\n\t\t *\n\t\t * @param action The action to remove\n\t\t * @param [callback] Callback function to remove\n\t\t */\n\t\tfunction removeAction( action, callback ) {\n\t\t\tif ( typeof action === 'string' ) {\n\t\t\t\t_removeHook( 'actions', action, callback );\n\t\t\t}\n\n\t\t\treturn MethodsAvailable;\n\t\t}\n\n\t\t/**\n\t\t * Adds a filter to the event manager.\n\t\t *\n\t\t * @param filter Must contain namespace.identifier\n\t\t * @param callback Must be a valid callback function before this action is added\n\t\t * @param [priority=10] Used to control when the function is executed in relation to other callbacks bound to the same hook\n\t\t * @param [context] Supply a value to be used for this\n\t\t */\n\t\tfunction addFilter( filter, callback, priority, context ) {\n\t\t\tif (\n\t\t\t\ttypeof filter === 'string' &&\n\t\t\t\ttypeof callback === 'function'\n\t\t\t) {\n\t\t\t\tpriority = parseInt( priority || 10, 10 );\n\t\t\t\t_addHook( 'filters', filter, callback, priority, context );\n\t\t\t}\n\n\t\t\treturn MethodsAvailable;\n\t\t}\n\n\t\t/**\n\t\t * Performs a filter if it exists. You should only ever pass 1 argument to be filtered. The only rule is that\n\t\t * the first argument must always be the filter.\n\t\t */\n\t\tfunction applyFilters(/* filter, filtered arg, arg2, ... */) {\n\t\t\tvar args = Array.prototype.slice.call( arguments );\n\t\t\tvar filter = args.shift();\n\n\t\t\tif ( typeof filter === 'string' ) {\n\t\t\t\treturn _runHook( 'filters', filter, args );\n\t\t\t}\n\n\t\t\treturn MethodsAvailable;\n\t\t}\n\n\t\t/**\n\t\t * Removes the specified filter if it contains a namespace.identifier & exists.\n\t\t *\n\t\t * @param filter The action to remove\n\t\t * @param [callback] Callback function to remove\n\t\t */\n\t\tfunction removeFilter( filter, callback ) {\n\t\t\tif ( typeof filter === 'string' ) {\n\t\t\t\t_removeHook( 'filters', filter, callback );\n\t\t\t}\n\n\t\t\treturn MethodsAvailable;\n\t\t}\n\n\t\t/**\n\t\t * Removes the specified hook by resetting the value of it.\n\t\t *\n\t\t * @param type Type of hook, either 'actions' or 'filters'\n\t\t * @param hook The hook (namespace.identifier) to remove\n\t\t * @private\n\t\t */\n\t\tfunction _removeHook( type, hook, callback, context ) {\n\t\t\tif ( ! STORAGE[ type ][ hook ] ) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif ( ! callback ) {\n\t\t\t\tSTORAGE[ type ][ hook ] = [];\n\t\t\t} else {\n\t\t\t\tvar handlers = STORAGE[ type ][ hook ];\n\t\t\t\tvar i;\n\t\t\t\tif ( ! context ) {\n\t\t\t\t\tfor ( i = handlers.length; i--; ) {\n\t\t\t\t\t\tif ( handlers[ i ].callback === callback ) {\n\t\t\t\t\t\t\thandlers.splice( i, 1 );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tfor ( i = handlers.length; i--; ) {\n\t\t\t\t\t\tvar handler = handlers[ i ];\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\thandler.callback === callback &&\n\t\t\t\t\t\t\thandler.context === context\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\thandlers.splice( i, 1 );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t/**\n\t\t * Adds the hook to the appropriate storage container\n\t\t *\n\t\t * @param type 'actions' or 'filters'\n\t\t * @param hook The hook (namespace.identifier) to add to our event manager\n\t\t * @param callback The function that will be called when the hook is executed.\n\t\t * @param priority The priority of this hook. Must be an integer.\n\t\t * @param [context] A value to be used for this\n\t\t * @private\n\t\t */\n\t\tfunction _addHook( type, hook, callback, priority, context ) {\n\t\t\tvar hookObject = {\n\t\t\t\tcallback: callback,\n\t\t\t\tpriority: priority,\n\t\t\t\tcontext: context,\n\t\t\t};\n\n\t\t\t// Utilize 'prop itself' : http://jsperf.com/hasownproperty-vs-in-vs-undefined/19\n\t\t\tvar hooks = STORAGE[ type ][ hook ];\n\t\t\tif ( hooks ) {\n\t\t\t\thooks.push( hookObject );\n\t\t\t\thooks = _hookInsertSort( hooks );\n\t\t\t} else {\n\t\t\t\thooks = [ hookObject ];\n\t\t\t}\n\n\t\t\tSTORAGE[ type ][ hook ] = hooks;\n\t\t}\n\n\t\t/**\n\t\t * Use an insert sort for keeping our hooks organized based on priority. This function is ridiculously faster\n\t\t * than bubble sort, etc: http://jsperf.com/javascript-sort\n\t\t *\n\t\t * @param hooks The custom array containing all of the appropriate hooks to perform an insert sort on.\n\t\t * @private\n\t\t */\n\t\tfunction _hookInsertSort( hooks ) {\n\t\t\tvar tmpHook, j, prevHook;\n\t\t\tfor ( var i = 1, len = hooks.length; i < len; i++ ) {\n\t\t\t\ttmpHook = hooks[ i ];\n\t\t\t\tj = i;\n\t\t\t\twhile (\n\t\t\t\t\t( prevHook = hooks[ j - 1 ] ) &&\n\t\t\t\t\tprevHook.priority > tmpHook.priority\n\t\t\t\t) {\n\t\t\t\t\thooks[ j ] = hooks[ j - 1 ];\n\t\t\t\t\t--j;\n\t\t\t\t}\n\t\t\t\thooks[ j ] = tmpHook;\n\t\t\t}\n\n\t\t\treturn hooks;\n\t\t}\n\n\t\t/**\n\t\t * Runs the specified hook. If it is an action, the value is not modified but if it is a filter, it is.\n\t\t *\n\t\t * @param type 'actions' or 'filters'\n\t\t * @param hook The hook ( namespace.identifier ) to be ran.\n\t\t * @param args Arguments to pass to the action/filter. If it's a filter, args is actually a single parameter.\n\t\t * @private\n\t\t */\n\t\tfunction _runHook( type, hook, args ) {\n\t\t\tvar handlers = STORAGE[ type ][ hook ];\n\n\t\t\tif ( ! handlers ) {\n\t\t\t\treturn type === 'filters' ? args[ 0 ] : false;\n\t\t\t}\n\n\t\t\tvar i = 0,\n\t\t\t\tlen = handlers.length;\n\t\t\tif ( type === 'filters' ) {\n\t\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\t\targs[ 0 ] = handlers[ i ].callback.apply(\n\t\t\t\t\t\thandlers[ i ].context,\n\t\t\t\t\t\targs\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\t\thandlers[ i ].callback.apply( handlers[ i ].context, args );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn type === 'filters' ? args[ 0 ] : true;\n\t\t}\n\n\t\t// return all of the publicly available methods\n\t\treturn MethodsAvailable;\n\t};\n\n\t// instantiate\n\tacf.hooks = new EventManager();\n} )( window );\n","( function ( $, undefined ) {\n\tacf.models.Modal = acf.Model.extend( {\n\t\tdata: {\n\t\t\ttitle: '',\n\t\t\tcontent: '',\n\t\t\ttoolbar: '',\n\t\t},\n\t\tevents: {\n\t\t\t'click .acf-modal-close': 'onClickClose',\n\t\t},\n\t\tsetup: function ( props ) {\n\t\t\t$.extend( this.data, props );\n\t\t\tthis.$el = $();\n\t\t\tthis.render();\n\t\t},\n\t\tinitialize: function () {\n\t\t\tthis.open();\n\t\t},\n\t\trender: function () {\n\t\t\t// Extract vars.\n\t\t\tvar title = this.get( 'title' );\n\t\t\tvar content = this.get( 'content' );\n\t\t\tvar toolbar = this.get( 'toolbar' );\n\n\t\t\t// Create element.\n\t\t\tvar $el = $(\n\t\t\t\t[\n\t\t\t\t\t'
' + this.get( 'text' ) + '
' );\n\n\t\t\t// close\n\t\t\tif ( this.get( 'dismiss' ) ) {\n\t\t\t\tthis.$el.append(\n\t\t\t\t\t''\n\t\t\t\t);\n\t\t\t\tthis.$el.addClass( '-dismiss' );\n\t\t\t}\n\n\t\t\t// timeout\n\t\t\tvar timeout = this.get( 'timeout' );\n\t\t\tif ( timeout ) {\n\t\t\t\tthis.away( timeout );\n\t\t\t}\n\t\t},\n\n\t\tupdate: function ( props ) {\n\t\t\t// update\n\t\t\t$.extend( this.data, props );\n\n\t\t\t// re-initialize\n\t\t\tthis.initialize();\n\n\t\t\t// refresh events\n\t\t\tthis.removeEvents();\n\t\t\tthis.addEvents();\n\t\t},\n\n\t\tshow: function () {\n\t\t\tvar $target = this.get( 'target' );\n\t\t\tif ( $target ) {\n\t\t\t\t$target.prepend( this.$el );\n\t\t\t}\n\t\t},\n\n\t\thide: function () {\n\t\t\tthis.$el.remove();\n\t\t},\n\n\t\taway: function ( timeout ) {\n\t\t\tthis.setTimeout( function () {\n\t\t\t\tacf.remove( this.$el );\n\t\t\t}, timeout );\n\t\t},\n\n\t\ttype: function ( type ) {\n\t\t\t// remove prev type\n\t\t\tvar prevType = this.get( 'type' );\n\t\t\tif ( prevType ) {\n\t\t\t\tthis.$el.removeClass( '-' + prevType );\n\t\t\t}\n\n\t\t\t// add new type\n\t\t\tthis.$el.addClass( '-' + type );\n\n\t\t\t// backwards compatibility\n\t\t\tif ( type == 'error' ) {\n\t\t\t\tthis.$el.addClass( 'acf-error-message' );\n\t\t\t}\n\t\t},\n\n\t\thtml: function ( html ) {\n\t\t\tthis.$el.html( acf.escHtml( html ) );\n\t\t},\n\n\t\ttext: function ( text ) {\n\t\t\tthis.$( 'p' ).html( acf.escHtml( text ) );\n\t\t},\n\n\t\tonClickClose: function ( e, $el ) {\n\t\t\te.preventDefault();\n\t\t\tthis.get( 'close' ).apply( this, arguments );\n\t\t\tthis.remove();\n\t\t},\n\t} );\n\n\tacf.newNotice = function ( props ) {\n\t\t// ensure object\n\t\tif ( typeof props !== 'object' ) {\n\t\t\tprops = { text: props };\n\t\t}\n\n\t\t// instantiate\n\t\treturn new Notice( props );\n\t};\n\n\tvar noticeManager = new acf.Model( {\n\t\twait: 'prepare',\n\t\tpriority: 1,\n\t\tinitialize: function () {\n\t\t\tconst $notices = $( '.acf-admin-notice' );\n\n\t\t\t$notices.each( function() {\n\t\t\t\tif ( $( this ).data( 'persisted' ) ) {\n\t\t\t\t\tlet dismissed = acf.getPreference( 'dismissed-notices' );\n\n\t\t\t\t\tif (\n\t\t\t\t\t\tdismissed &&\n\t\t\t\t\t\ttypeof dismissed == 'object' &&\n\t\t\t\t\t\tdismissed.includes( $( this ).data( 'persist-id' ) )\n\t\t\t\t\t) {\n\t\t\t\t\t\t$( this ).remove();\n\t\t\t\t\t} else {\n\t\t\t\t\t\t$( this ).show();\n\t\t\t\t\t\t$( this ).on( 'click', '.notice-dismiss', function ( e ) {\n\t\t\t\t\t\t\tdismissed = acf.getPreference( 'dismissed-notices' );\n\t\t\t\t\t\t\tif ( ! dismissed || typeof dismissed != 'object' ) {\n\t\t\t\t\t\t\t\tdismissed = [];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tdismissed.push( $( this ).closest( '.acf-admin-notice' ).data( 'persist-id' ) );\n\t\t\t\t\t\t\tacf.setPreference( 'dismissed-notices', dismissed );\n\t\t\t\t\t\t} );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} );\n\t\t},\n\t} );\n} )( jQuery );\n","( function ( $, undefined ) {\n\tvar panel = new acf.Model( {\n\t\tevents: {\n\t\t\t'click .acf-panel-title': 'onClick',\n\t\t},\n\n\t\tonClick: function ( e, $el ) {\n\t\t\te.preventDefault();\n\t\t\tthis.toggle( $el.parent() );\n\t\t},\n\n\t\tisOpen: function ( $el ) {\n\t\t\treturn $el.hasClass( '-open' );\n\t\t},\n\n\t\ttoggle: function ( $el ) {\n\t\t\tthis.isOpen( $el ) ? this.close( $el ) : this.open( $el );\n\t\t},\n\n\t\topen: function ( $el ) {\n\t\t\t$el.addClass( '-open' );\n\t\t\t$el.find( '.acf-panel-title i' ).attr(\n\t\t\t\t'class',\n\t\t\t\t'dashicons dashicons-arrow-down'\n\t\t\t);\n\t\t},\n\n\t\tclose: function ( $el ) {\n\t\t\t$el.removeClass( '-open' );\n\t\t\t$el.find( '.acf-panel-title i' ).attr(\n\t\t\t\t'class',\n\t\t\t\t'dashicons dashicons-arrow-right'\n\t\t\t);\n\t\t},\n\t} );\n} )( jQuery );\n","( function ( $, undefined ) {\n\tacf.models.Popup = acf.Model.extend( {\n\t\tdata: {\n\t\t\ttitle: '',\n\t\t\tcontent: '',\n\t\t\twidth: 0,\n\t\t\theight: 0,\n\t\t\tloading: false,\n\t\t\topenedBy: null,\n\t\t},\n\n\t\tevents: {\n\t\t\t'click [data-event=\"close\"]': 'onClickClose',\n\t\t\t'click .acf-close-popup': 'onClickClose',\n\t\t\t'keydown': 'onPressEscapeClose',\n\t\t},\n\n\t\tsetup: function ( props ) {\n\t\t\t$.extend( this.data, props );\n\t\t\tthis.$el = $( this.tmpl() );\n\t\t},\n\n\t\tinitialize: function () {\n\t\t\tthis.render();\n\t\t\tthis.open();\n\t\t\tthis.focus();\n\t\t\tthis.lockFocusToPopup( true );\n\t\t},\n\n\t\ttmpl: function () {\n\t\t\treturn [\n\t\t\t\t'',\n\t\t\t].join( '' );\n\t\t},\n\n\t\trender: function () {\n\t\t\t// Extract Vars.\n\t\t\tvar title = this.get( 'title' );\n\t\t\tvar content = this.get( 'content' );\n\t\t\tvar loading = this.get( 'loading' );\n\t\t\tvar width = this.get( 'width' );\n\t\t\tvar height = this.get( 'height' );\n\n\t\t\t// Update.\n\t\t\tthis.title( title );\n\t\t\tthis.content( content );\n\t\t\tif ( width ) {\n\t\t\t\tthis.$( '.acf-popup-box' ).css( 'width', width );\n\t\t\t}\n\t\t\tif ( height ) {\n\t\t\t\tthis.$( '.acf-popup-box' ).css( 'min-height', height );\n\t\t\t}\n\t\t\tthis.loading( loading );\n\n\t\t\t// Trigger action.\n\t\t\tacf.doAction( 'append', this.$el );\n\t\t},\n\n\t\t/**\n\t\t * Places focus within the popup.\n\t\t */\n\t\tfocus: function() {\n\t\t\tthis.$el.find( '.acf-icon' ).first().trigger( 'focus' );\n\t\t},\n\n\t\t/**\n\t\t * Locks focus within the popup.\n\t\t *\n\t\t * @param {boolean} locked True to lock focus, false to unlock.\n\t\t */\n\t\tlockFocusToPopup: function( locked ) {\n\t\t\tlet inertElement = $( '#wpwrap' );\n\n\t\t\tif ( ! inertElement.length ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tinertElement[ 0 ].inert = locked;\n\t\t\tinertElement.attr( 'aria-hidden', locked );\n\t\t},\n\n\t\tupdate: function ( props ) {\n\t\t\tthis.data = acf.parseArgs( props, this.data );\n\t\t\tthis.render();\n\t\t},\n\n\t\ttitle: function ( title ) {\n\t\t\tthis.$( '.title:first h3' ).html( title );\n\t\t},\n\n\t\tcontent: function ( content ) {\n\t\t\tthis.$( '.inner:first' ).html( content );\n\t\t},\n\n\t\tloading: function ( show ) {\n\t\t\tvar $loading = this.$( '.loading:first' );\n\t\t\tshow ? $loading.show() : $loading.hide();\n\t\t},\n\n\t\topen: function () {\n\t\t\t$( 'body' ).append( this.$el );\n\t\t},\n\n\t\tclose: function () {\n\t\t\tthis.lockFocusToPopup( false );\n\t\t\tthis.returnFocusToOrigin();\n\t\t\tthis.remove();\n\t\t},\n\n\t\tonClickClose: function ( e, $el ) {\n\t\t\te.preventDefault();\n\t\t\tthis.close();\n\t\t},\n\n\t\t/**\n\t\t * Closes the popup when the escape key is pressed.\n\t\t *\n\t\t * @param {KeyboardEvent} e\n\t\t */\n\t\tonPressEscapeClose: function( e ) {\n\t\t\tif ( e.key === 'Escape' ) {\n\t\t\t\tthis.close();\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * Returns focus to the element that opened the popup\n\t\t * if it still exists in the DOM.\n\t\t */\n\t\treturnFocusToOrigin: function() {\n\t\t\tif (\n\t\t\t\tthis.data.openedBy instanceof $\n\t\t\t\t&& this.data.openedBy.closest( 'body' ).length > 0\n\t\t\t) {\n\t\t\t\tthis.data.openedBy.trigger( 'focus' );\n\t\t\t}\n\t\t}\n\n\t} );\n\n\t/**\n\t * newPopup\n\t *\n\t * Creates a new Popup with the supplied props\n\t *\n\t * @date\t17/12/17\n\t * @since\t5.6.5\n\t *\n\t * @param\tobject props\n\t * @return\tobject\n\t */\n\n\tacf.newPopup = function ( props ) {\n\t\treturn new acf.models.Popup( props );\n\t};\n} )( jQuery );\n","( function ( $, undefined ) {\n\tacf.newTooltip = function ( props ) {\n\t\t// ensure object\n\t\tif ( typeof props !== 'object' ) {\n\t\t\tprops = { text: props };\n\t\t}\n\n\t\t// confirmRemove\n\t\tif ( props.confirmRemove !== undefined ) {\n\t\t\tprops.textConfirm = acf.__( 'Remove' );\n\t\t\tprops.textCancel = acf.__( 'Cancel' );\n\t\t\treturn new TooltipConfirm( props );\n\n\t\t\t// confirm\n\t\t} else if ( props.confirm !== undefined ) {\n\t\t\treturn new TooltipConfirm( props );\n\n\t\t\t// default\n\t\t} else {\n\t\t\treturn new Tooltip( props );\n\t\t}\n\t};\n\n\tvar Tooltip = acf.Model.extend( {\n\t\tdata: {\n\t\t\ttext: '',\n\t\t\ttimeout: 0,\n\t\t\ttarget: null,\n\t\t},\n\n\t\ttmpl: function () {\n\t\t\treturn '';\n\t\t},\n\n\t\tsetup: function ( props ) {\n\t\t\t$.extend( this.data, props );\n\t\t\tthis.$el = $( this.tmpl() );\n\t\t},\n\n\t\tinitialize: function () {\n\t\t\t// render\n\t\t\tthis.render();\n\n\t\t\t// append\n\t\t\tthis.show();\n\n\t\t\t// position\n\t\t\tthis.position();\n\n\t\t\t// timeout\n\t\t\tvar timeout = this.get( 'timeout' );\n\t\t\tif ( timeout ) {\n\t\t\t\tsetTimeout( $.proxy( this.fade, this ), timeout );\n\t\t\t}\n\t\t},\n\n\t\tupdate: function ( props ) {\n\t\t\t$.extend( this.data, props );\n\t\t\tthis.initialize();\n\t\t},\n\n\t\trender: function () {\n\t\t\tthis.html( this.get( 'text' ) );\n\t\t},\n\n\t\tshow: function () {\n\t\t\t$( 'body' ).append( this.$el );\n\t\t},\n\n\t\thide: function () {\n\t\t\tthis.$el.remove();\n\t\t},\n\n\t\tfade: function () {\n\t\t\t// add class\n\t\t\tthis.$el.addClass( 'acf-fade-up' );\n\n\t\t\t// remove\n\t\t\tthis.setTimeout( function () {\n\t\t\t\tthis.remove();\n\t\t\t}, 250 );\n\t\t},\n\n\t\thtml: function ( html ) {\n\t\t\tthis.$el.html( html );\n\t\t},\n\n\t\tposition: function () {\n\t\t\t// vars\n\t\t\tvar $tooltip = this.$el;\n\t\t\tvar $target = this.get( 'target' );\n\t\t\tif ( ! $target ) return;\n\n\t\t\t// Reset position.\n\t\t\t$tooltip\n\t\t\t\t.removeClass( 'right left bottom top' )\n\t\t\t\t.css( { top: 0, left: 0 } );\n\n\t\t\t// Declare tollerance to edge of screen.\n\t\t\tvar tolerance = 10;\n\n\t\t\t// Find target position.\n\t\t\tvar targetWidth = $target.outerWidth();\n\t\t\tvar targetHeight = $target.outerHeight();\n\t\t\tvar targetTop = $target.offset().top;\n\t\t\tvar targetLeft = $target.offset().left;\n\n\t\t\t// Find tooltip position.\n\t\t\tvar tooltipWidth = $tooltip.outerWidth();\n\t\t\tvar tooltipHeight = $tooltip.outerHeight();\n\t\t\tvar tooltipTop = $tooltip.offset().top; // Should be 0, but WP media grid causes this to be 32 (toolbar padding).\n\n\t\t\t// Assume default top alignment.\n\t\t\tvar top = targetTop - tooltipHeight - tooltipTop;\n\t\t\tvar left = targetLeft + targetWidth / 2 - tooltipWidth / 2;\n\n\t\t\t// Check if too far left.\n\t\t\tif ( left < tolerance ) {\n\t\t\t\t$tooltip.addClass( 'right' );\n\t\t\t\tleft = targetLeft + targetWidth;\n\t\t\t\ttop =\n\t\t\t\t\ttargetTop +\n\t\t\t\t\ttargetHeight / 2 -\n\t\t\t\t\ttooltipHeight / 2 -\n\t\t\t\t\ttooltipTop;\n\n\t\t\t\t// Check if too far right.\n\t\t\t} else if (\n\t\t\t\tleft + tooltipWidth + tolerance >\n\t\t\t\t$( window ).width()\n\t\t\t) {\n\t\t\t\t$tooltip.addClass( 'left' );\n\t\t\t\tleft = targetLeft - tooltipWidth;\n\t\t\t\ttop =\n\t\t\t\t\ttargetTop +\n\t\t\t\t\ttargetHeight / 2 -\n\t\t\t\t\ttooltipHeight / 2 -\n\t\t\t\t\ttooltipTop;\n\n\t\t\t\t// Check if too far up.\n\t\t\t} else if ( top - $( window ).scrollTop() < tolerance ) {\n\t\t\t\t$tooltip.addClass( 'bottom' );\n\t\t\t\ttop = targetTop + targetHeight - tooltipTop;\n\n\t\t\t\t// No colision with edges.\n\t\t\t} else {\n\t\t\t\t$tooltip.addClass( 'top' );\n\t\t\t}\n\n\t\t\t// update css\n\t\t\t$tooltip.css( { top: top, left: left } );\n\t\t},\n\t} );\n\n\tvar TooltipConfirm = Tooltip.extend( {\n\t\tdata: {\n\t\t\ttext: '',\n\t\t\ttextConfirm: '',\n\t\t\ttextCancel: '',\n\t\t\ttarget: null,\n\t\t\ttargetConfirm: true,\n\t\t\tconfirm: function () {},\n\t\t\tcancel: function () {},\n\t\t\tcontext: false,\n\t\t},\n\n\t\tevents: {\n\t\t\t'click [data-event=\"cancel\"]': 'onCancel',\n\t\t\t'click [data-event=\"confirm\"]': 'onConfirm',\n\t\t},\n\n\t\taddEvents: function () {\n\t\t\t// add events\n\t\t\tacf.Model.prototype.addEvents.apply( this );\n\n\t\t\t// vars\n\t\t\tvar $document = $( document );\n\t\t\tvar $target = this.get( 'target' );\n\n\t\t\t// add global 'cancel' click event\n\t\t\t// - use timeout to avoid the current 'click' event triggering the onCancel function\n\t\t\tthis.setTimeout( function () {\n\t\t\t\tthis.on( $document, 'click', 'onCancel' );\n\t\t\t} );\n\n\t\t\t// add target 'confirm' click event\n\t\t\t// - allow setting to control this feature\n\t\t\tif ( this.get( 'targetConfirm' ) ) {\n\t\t\t\tthis.on( $target, 'click', 'onConfirm' );\n\t\t\t}\n\t\t},\n\n\t\tremoveEvents: function () {\n\t\t\t// remove events\n\t\t\tacf.Model.prototype.removeEvents.apply( this );\n\n\t\t\t// vars\n\t\t\tvar $document = $( document );\n\t\t\tvar $target = this.get( 'target' );\n\n\t\t\t// remove custom events\n\t\t\tthis.off( $document, 'click' );\n\t\t\tthis.off( $target, 'click' );\n\t\t},\n\n\t\trender: function () {\n\t\t\t// defaults\n\t\t\tvar text = this.get( 'text' ) || acf.__( 'Are you sure?' );\n\t\t\tvar textConfirm = this.get( 'textConfirm' ) || acf.__( 'Yes' );\n\t\t\tvar textCancel = this.get( 'textCancel' ) || acf.__( 'No' );\n\n\t\t\t// html\n\t\t\tvar html = [\n\t\t\t\ttext,\n\t\t\t\t'' + textConfirm + '',\n\t\t\t\t'' + textCancel + '',\n\t\t\t].join( ' ' );\n\n\t\t\t// html\n\t\t\tthis.html( html );\n\n\t\t\t// class\n\t\t\tthis.$el.addClass( '-confirm' );\n\t\t},\n\n\t\tonCancel: function ( e, $el ) {\n\t\t\t// prevent default\n\t\t\te.preventDefault();\n\t\t\te.stopImmediatePropagation();\n\n\t\t\t// callback\n\t\t\tvar callback = this.get( 'cancel' );\n\t\t\tvar context = this.get( 'context' ) || this;\n\t\t\tcallback.apply( context, arguments );\n\n\t\t\t//remove\n\t\t\tthis.remove();\n\t\t},\n\n\t\tonConfirm: function ( e, $el ) {\n\t\t\t// Prevent event from propagating completely to allow \"targetConfirm\" to be clicked.\n\t\t\te.preventDefault();\n\t\t\te.stopImmediatePropagation();\n\n\t\t\t// callback\n\t\t\tvar callback = this.get( 'confirm' );\n\t\t\tvar context = this.get( 'context' ) || this;\n\t\t\tcallback.apply( context, arguments );\n\n\t\t\t//remove\n\t\t\tthis.remove();\n\t\t},\n\t} );\n\n\t// storage\n\tacf.models.Tooltip = Tooltip;\n\tacf.models.TooltipConfirm = TooltipConfirm;\n\n\t/**\n\t * tooltipManager\n\t *\n\t * description\n\t *\n\t * @date\t17/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 tooltipHoverHelper = new acf.Model( {\n\t\ttooltip: false,\n\n\t\tevents: {\n\t\t\t'mouseenter .acf-js-tooltip': 'showTitle',\n\t\t\t'mouseup .acf-js-tooltip': 'hideTitle',\n\t\t\t'mouseleave .acf-js-tooltip': 'hideTitle',\n\t\t\t'focus .acf-js-tooltip': 'showTitle',\n\t\t\t'blur .acf-js-tooltip': 'hideTitle',\n\t\t\t'keyup .acf-js-tooltip': 'onKeyUp',\n\t\t},\n\n\t\tshowTitle: function ( e, $el ) {\n\t\t\t// vars\n\t\t\tvar title = $el.attr( 'title' );\n\n\t\t\t// bail early if no title\n\t\t\tif ( ! title ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// clear title to avoid default browser tooltip\n\t\t\t$el.attr( 'title', '' );\n\n\t\t\t// create\n\t\t\tif ( ! this.tooltip ) {\n\t\t\t\tthis.tooltip = acf.newTooltip( {\n\t\t\t\t\ttext: title,\n\t\t\t\t\ttarget: $el,\n\t\t\t\t} );\n\n\t\t\t\t// update\n\t\t\t} else {\n\t\t\t\tthis.tooltip.update( {\n\t\t\t\t\ttext: title,\n\t\t\t\t\ttarget: $el,\n\t\t\t\t} );\n\t\t\t}\n\t\t},\n\n\t\thideTitle: function ( e, $el ) {\n\t\t\t// hide tooltip\n\t\t\tthis.tooltip.hide();\n\n\t\t\t// restore title\n\t\t\t$el.attr( 'title', this.tooltip.get( 'text' ) );\n\t\t},\n\n\t\tonKeyUp: function( e, $el ) {\n\t\t\tif ( 'Escape' === e.key ) {\n\t\t\t\tthis.hideTitle( e, $el );\n\t\t\t}\n\t\t},\n\t} );\n} )( jQuery );\n","( function ( $, undefined ) {\n\t/**\n\t * acf\n\t *\n\t * description\n\t *\n\t * @date\t14/12/17\n\t * @since\t5.6.5\n\t *\n\t * @param\ttype $var Description. Default.\n\t * @return\ttype Description.\n\t */\n\n\t// The global acf object\n\tvar acf = {};\n\n\t// Set as a browser global\n\twindow.acf = acf;\n\n\t/** @var object Data sent from PHP */\n\tacf.data = {};\n\n\t/**\n\t * get\n\t *\n\t * Gets a specific data value\n\t *\n\t * @date\t14/12/17\n\t * @since\t5.6.5\n\t *\n\t * @param\tstring name\n\t * @return\tmixed\n\t */\n\n\tacf.get = function ( name ) {\n\t\treturn this.data[ name ] || null;\n\t};\n\n\t/**\n\t * has\n\t *\n\t * Returns `true` if the data exists and is not null\n\t *\n\t * @date\t14/12/17\n\t * @since\t5.6.5\n\t *\n\t * @param\tstring name\n\t * @return\tboolean\n\t */\n\n\tacf.has = function ( name ) {\n\t\treturn this.get( name ) !== null;\n\t};\n\n\t/**\n\t * set\n\t *\n\t * Sets a specific data value\n\t *\n\t * @date\t14/12/17\n\t * @since\t5.6.5\n\t *\n\t * @param\tstring name\n\t * @param\tmixed value\n\t * @return\tthis\n\t */\n\n\tacf.set = function ( name, value ) {\n\t\tthis.data[ name ] = value;\n\t\treturn this;\n\t};\n\n\t/**\n\t * uniqueId\n\t *\n\t * Returns a unique ID\n\t *\n\t * @date\t9/11/17\n\t * @since\t5.6.3\n\t *\n\t * @param\tstring prefix Optional prefix.\n\t * @return\tstring\n\t */\n\n\tvar idCounter = 0;\n\tacf.uniqueId = function ( prefix ) {\n\t\tvar id = ++idCounter + '';\n\t\treturn prefix ? prefix + id : id;\n\t};\n\n\t/**\n\t * acf.uniqueArray\n\t *\n\t * Returns a new array with only unique values\n\t * Credit: https://stackoverflow.com/questions/1960473/get-all-unique-values-in-an-array-remove-duplicates\n\t *\n\t * @date\t23/3/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\tacf.uniqueArray = function ( array ) {\n\t\tfunction onlyUnique( value, index, self ) {\n\t\t\treturn self.indexOf( value ) === index;\n\t\t}\n\t\treturn array.filter( onlyUnique );\n\t};\n\n\t/**\n\t * uniqid\n\t *\n\t * Returns a unique ID (PHP version)\n\t *\n\t * @date\t9/11/17\n\t * @since\t5.6.3\n\t * @source\thttp://locutus.io/php/misc/uniqid/\n\t *\n\t * @param\tstring prefix Optional prefix.\n\t * @return\tstring\n\t */\n\n\tvar uniqidSeed = '';\n\tacf.uniqid = function ( prefix, moreEntropy ) {\n\t\t// discuss at: http://locutus.io/php/uniqid/\n\t\t// original by: Kevin van Zonneveld (http://kvz.io)\n\t\t// revised by: Kankrelune (http://www.webfaktory.info/)\n\t\t// note 1: Uses an internal counter (in locutus global) to avoid collision\n\t\t// example 1: var $id = uniqid()\n\t\t// example 1: var $result = $id.length === 13\n\t\t// returns 1: true\n\t\t// example 2: var $id = uniqid('foo')\n\t\t// example 2: var $result = $id.length === (13 + 'foo'.length)\n\t\t// returns 2: true\n\t\t// example 3: var $id = uniqid('bar', true)\n\t\t// example 3: var $result = $id.length === (23 + 'bar'.length)\n\t\t// returns 3: true\n\t\tif ( typeof prefix === 'undefined' ) {\n\t\t\tprefix = '';\n\t\t}\n\n\t\tvar retId;\n\t\tvar formatSeed = function ( seed, reqWidth ) {\n\t\t\tseed = parseInt( seed, 10 ).toString( 16 ); // to hex str\n\t\t\tif ( reqWidth < seed.length ) {\n\t\t\t\t// so long we split\n\t\t\t\treturn seed.slice( seed.length - reqWidth );\n\t\t\t}\n\t\t\tif ( reqWidth > seed.length ) {\n\t\t\t\t// so short we pad\n\t\t\t\treturn (\n\t\t\t\t\tArray( 1 + ( reqWidth - seed.length ) ).join( '0' ) + seed\n\t\t\t\t);\n\t\t\t}\n\t\t\treturn seed;\n\t\t};\n\n\t\tif ( ! uniqidSeed ) {\n\t\t\t// init seed with big random int\n\t\t\tuniqidSeed = Math.floor( Math.random() * 0x75bcd15 );\n\t\t}\n\t\tuniqidSeed++;\n\n\t\tretId = prefix; // start with prefix, add current milliseconds hex string\n\t\tretId += formatSeed( parseInt( new Date().getTime() / 1000, 10 ), 8 );\n\t\tretId += formatSeed( uniqidSeed, 5 ); // add seed hex string\n\t\tif ( moreEntropy ) {\n\t\t\t// for more entropy we add a float lower to 10\n\t\t\tretId += ( Math.random() * 10 ).toFixed( 8 ).toString();\n\t\t}\n\n\t\treturn retId;\n\t};\n\n\t/**\n\t * strReplace\n\t *\n\t * Performs a string replace\n\t *\n\t * @date\t14/12/17\n\t * @since\t5.6.5\n\t *\n\t * @param\tstring search\n\t * @param\tstring replace\n\t * @param\tstring subject\n\t * @return\tstring\n\t */\n\n\tacf.strReplace = function ( search, replace, subject ) {\n\t\treturn subject.split( search ).join( replace );\n\t};\n\n\t/**\n\t * strCamelCase\n\t *\n\t * Converts a string into camelCase\n\t * Thanks to https://stackoverflow.com/questions/2970525/converting-any-string-into-camel-case\n\t *\n\t * @date\t14/12/17\n\t * @since\t5.6.5\n\t *\n\t * @param\tstring str\n\t * @return\tstring\n\t */\n\n\tacf.strCamelCase = function ( str ) {\n\t\tvar matches = str.match( /([a-zA-Z0-9]+)/g );\n\t\treturn matches\n\t\t\t? matches\n\t\t\t\t\t.map( function ( s, i ) {\n\t\t\t\t\t\tvar c = s.charAt( 0 );\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t( i === 0 ? c.toLowerCase() : c.toUpperCase() ) +\n\t\t\t\t\t\t\ts.slice( 1 )\n\t\t\t\t\t\t);\n\t\t\t\t\t} )\n\t\t\t\t\t.join( '' )\n\t\t\t: '';\n\t};\n\n\t/**\n\t * strPascalCase\n\t *\n\t * Converts a string into PascalCase\n\t * Thanks to https://stackoverflow.com/questions/1026069/how-do-i-make-the-first-letter-of-a-string-uppercase-in-javascript\n\t *\n\t * @date\t14/12/17\n\t * @since\t5.6.5\n\t *\n\t * @param\tstring str\n\t * @return\tstring\n\t */\n\n\tacf.strPascalCase = function ( str ) {\n\t\tvar camel = acf.strCamelCase( str );\n\t\treturn camel.charAt( 0 ).toUpperCase() + camel.slice( 1 );\n\t};\n\n\t/**\n\t * acf.strSlugify\n\t *\n\t * Converts a string into a HTML class friendly slug\n\t *\n\t * @date\t21/3/18\n\t * @since\t5.6.9\n\t *\n\t * @param\tstring str\n\t * @return\tstring\n\t */\n\n\tacf.strSlugify = function ( str ) {\n\t\treturn acf.strReplace( '_', '-', str.toLowerCase() );\n\t};\n\n\tacf.strSanitize = function ( str ) {\n\t\t// chars (https://jsperf.com/replace-foreign-characters)\n\t\tvar map = {\n\t\t\tÀ: 'A',\n\t\t\tÁ: 'A',\n\t\t\tÂ: 'A',\n\t\t\tÃ: 'A',\n\t\t\tÄ: 'A',\n\t\t\tÅ: 'A',\n\t\t\tÆ: 'AE',\n\t\t\tÇ: 'C',\n\t\t\tÈ: 'E',\n\t\t\tÉ: 'E',\n\t\t\tÊ: 'E',\n\t\t\tË: 'E',\n\t\t\tÌ: 'I',\n\t\t\tÍ: 'I',\n\t\t\tÎ: 'I',\n\t\t\tÏ: 'I',\n\t\t\tÐ: 'D',\n\t\t\tÑ: 'N',\n\t\t\tÒ: 'O',\n\t\t\tÓ: 'O',\n\t\t\tÔ: 'O',\n\t\t\tÕ: 'O',\n\t\t\tÖ: 'O',\n\t\t\tØ: 'O',\n\t\t\tÙ: 'U',\n\t\t\tÚ: 'U',\n\t\t\tÛ: 'U',\n\t\t\tÜ: 'U',\n\t\t\tÝ: 'Y',\n\t\t\tß: 's',\n\t\t\tà: 'a',\n\t\t\tá: 'a',\n\t\t\tâ: 'a',\n\t\t\tã: 'a',\n\t\t\tä: 'a',\n\t\t\tå: 'a',\n\t\t\tæ: 'ae',\n\t\t\tç: 'c',\n\t\t\tè: 'e',\n\t\t\té: 'e',\n\t\t\tê: 'e',\n\t\t\të: 'e',\n\t\t\tì: 'i',\n\t\t\tí: 'i',\n\t\t\tî: 'i',\n\t\t\tï: 'i',\n\t\t\tñ: 'n',\n\t\t\tò: 'o',\n\t\t\tó: 'o',\n\t\t\tô: 'o',\n\t\t\tõ: 'o',\n\t\t\tö: 'o',\n\t\t\tø: 'o',\n\t\t\tù: 'u',\n\t\t\tú: 'u',\n\t\t\tû: 'u',\n\t\t\tü: 'u',\n\t\t\tý: 'y',\n\t\t\tÿ: 'y',\n\t\t\tĀ: 'A',\n\t\t\tā: 'a',\n\t\t\tĂ: 'A',\n\t\t\tă: 'a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: 'U',\n\t\t\tǔ: 'u',\n\t\t\tǕ: 'U',\n\t\t\tǖ: 'u',\n\t\t\tǗ: 'U',\n\t\t\tǘ: 'u',\n\t\t\tǙ: 'U',\n\t\t\tǚ: 'u',\n\t\t\tǛ: 'U',\n\t\t\tǜ: 'u',\n\t\t\tǺ: 'A',\n\t\t\tǻ: 'a',\n\t\t\tǼ: 'AE',\n\t\t\tǽ: 'ae',\n\t\t\tǾ: 'O',\n\t\t\tǿ: 'o',\n\n\t\t\t// extra\n\t\t\t' ': '_',\n\t\t\t\"'\": '',\n\t\t\t'?': '',\n\t\t\t'/': '',\n\t\t\t'\\\\': '',\n\t\t\t'.': '',\n\t\t\t',': '',\n\t\t\t'`': '',\n\t\t\t'>': '',\n\t\t\t'<': '',\n\t\t\t'\"': '',\n\t\t\t'[': '',\n\t\t\t']': '',\n\t\t\t'|': '',\n\t\t\t'{': '',\n\t\t\t'}': '',\n\t\t\t'(': '',\n\t\t\t')': '',\n\t\t};\n\n\t\t// vars\n\t\tvar nonWord = /\\W/g;\n\t\tvar mapping = function ( c ) {\n\t\t\treturn map[ c ] !== undefined ? map[ c ] : c;\n\t\t};\n\n\t\t// replace\n\t\tstr = str.replace( nonWord, mapping );\n\n\t\t// lowercase\n\t\tstr = str.toLowerCase();\n\n\t\t// return\n\t\treturn str;\n\t};\n\n\t/**\n\t * acf.strMatch\n\t *\n\t * Returns the number of characters that match between two strings\n\t *\n\t * @date\t1/2/18\n\t * @since\t5.6.5\n\t *\n\t * @param\ttype $var Description. Default.\n\t * @return\ttype Description.\n\t */\n\n\tacf.strMatch = function ( s1, s2 ) {\n\t\t// vars\n\t\tvar val = 0;\n\t\tvar min = Math.min( s1.length, s2.length );\n\n\t\t// loop\n\t\tfor ( var i = 0; i < min; i++ ) {\n\t\t\tif ( s1[ i ] !== s2[ i ] ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tval++;\n\t\t}\n\n\t\t// return\n\t\treturn val;\n\t};\n\n\t/**\n\t * Escapes HTML entities from a string.\n\t *\n\t * @date\t08/06/2020\n\t * @since\t5.9.0\n\t *\n\t * @param\tstring string The input string.\n\t * @return\tstring\n\t */\n\tacf.strEscape = function ( string ) {\n\t\tvar htmlEscapes = {\n\t\t\t'&': '&',\n\t\t\t'<': '<',\n\t\t\t'>': '>',\n\t\t\t'\"': '"',\n\t\t\t\"'\": ''',\n\t\t};\n\t\treturn ( '' + string ).replace( /[&<>\"']/g, function ( chr ) {\n\t\t\treturn htmlEscapes[ chr ];\n\t\t} );\n\t};\n\n\t// Tests.\n\t//console.log( acf.strEscape('Test 1') );\n\t//console.log( acf.strEscape('Test & 1') );\n\t//console.log( acf.strEscape('Test\\'s & 1') );\n\t//console.log( acf.strEscape('') );\n\n\t/**\n\t * Unescapes HTML entities from a string.\n\t *\n\t * @date\t08/06/2020\n\t * @since\t5.9.0\n\t *\n\t * @param\tstring string The input string.\n\t * @return\tstring\n\t */\n\tacf.strUnescape = function ( string ) {\n\t\tvar htmlUnescapes = {\n\t\t\t'&': '&',\n\t\t\t'<': '<',\n\t\t\t'>': '>',\n\t\t\t'"': '\"',\n\t\t\t''': \"'\",\n\t\t};\n\t\treturn ( '' + string ).replace(\n\t\t\t/&|<|>|"|'/g,\n\t\t\tfunction ( entity ) {\n\t\t\t\treturn htmlUnescapes[ entity ];\n\t\t\t}\n\t\t);\n\t};\n\n\t// Tests.\n\t//console.log( acf.strUnescape( acf.strEscape('Test 1') ) );\n\t//console.log( acf.strUnescape( acf.strEscape('Test & 1') ) );\n\t//console.log( acf.strUnescape( acf.strEscape('Test\\'s & 1') ) );\n\t//console.log( acf.strUnescape( acf.strEscape('') ) );\n\n\t/**\n\t * Escapes HTML entities from a string.\n\t *\n\t * @date\t08/06/2020\n\t * @since\t5.9.0\n\t *\n\t * @param\tstring string The input string.\n\t * @return\tstring\n\t */\n\tacf.escAttr = acf.strEscape;\n\n\t/**\n\t * Encodes ') );\n\t//console.log( acf.escHtml( acf.strEscape('') ) );\n\t//console.log( acf.escHtml( '' ) );\n\n\t/**\n\t * acf.decode\n\t *\n\t * description\n\t *\n\t * @date\t13/1/18\n\t * @since\t5.6.5\n\t *\n\t * @param\ttype $var Description. Default.\n\t * @return\ttype Description.\n\t */\n\n\tacf.decode = function ( string ) {\n\t\treturn $( '' ).html( string ).text();\n\t};\n\n\t/**\n\t * parseArgs\n\t *\n\t * Merges together defaults and args much like the WP wp_parse_args function\n\t *\n\t * @date\t14/12/17\n\t * @since\t5.6.5\n\t *\n\t * @param\tobject args\n\t * @param\tobject defaults\n\t * @return\tobject\n\t */\n\n\tacf.parseArgs = function ( args, defaults ) {\n\t\tif ( typeof args !== 'object' ) args = {};\n\t\tif ( typeof defaults !== 'object' ) defaults = {};\n\t\treturn $.extend( {}, defaults, args );\n\t};\n\n\t/**\n\t * __\n\t *\n\t * Retrieve the translation of $text.\n\t *\n\t * @date\t16/4/18\n\t * @since\t5.6.9\n\t *\n\t * @param\tstring text Text to translate.\n\t * @return\tstring Translated text.\n\t */\n\n\tif ( window.acfL10n == undefined ) {\n\t\tacfL10n = {};\n\t}\n\n\tacf.__ = function ( text ) {\n\t\treturn acfL10n[ text ] || text;\n\t};\n\n\t/**\n\t * _x\n\t *\n\t * Retrieve translated string with gettext context.\n\t *\n\t * @date\t16/4/18\n\t * @since\t5.6.9\n\t *\n\t * @param\tstring text Text to translate.\n\t * @param\tstring context Context information for the translators.\n\t * @return\tstring Translated text.\n\t */\n\n\tacf._x = function ( text, context ) {\n\t\treturn acfL10n[ text + '.' + context ] || acfL10n[ text ] || text;\n\t};\n\n\t/**\n\t * _n\n\t *\n\t * Retrieve the plural or single form based on the amount.\n\t *\n\t * @date\t16/4/18\n\t * @since\t5.6.9\n\t *\n\t * @param\tstring single Single text to translate.\n\t * @param\tstring plural Plural text to translate.\n\t * @param\tint number The number to compare against.\n\t * @return\tstring Translated text.\n\t */\n\n\tacf._n = function ( single, plural, number ) {\n\t\tif ( number == 1 ) {\n\t\t\treturn acf.__( single );\n\t\t} else {\n\t\t\treturn acf.__( plural );\n\t\t}\n\t};\n\n\tacf.isArray = function ( a ) {\n\t\treturn Array.isArray( a );\n\t};\n\n\tacf.isObject = function ( a ) {\n\t\treturn typeof a === 'object';\n\t};\n\n\t/**\n\t * serialize\n\t *\n\t * description\n\t *\n\t * @date\t24/12/17\n\t * @since\t5.6.5\n\t *\n\t * @param\ttype $var Description. Default.\n\t * @return\ttype Description.\n\t */\n\n\tvar buildObject = function ( obj, name, value ) {\n\t\t// replace [] with placeholder\n\t\tname = name.replace( '[]', '[%%index%%]' );\n\n\t\t// vars\n\t\tvar keys = name.match( /([^\\[\\]])+/g );\n\t\tif ( ! keys ) return;\n\t\tvar length = keys.length;\n\t\tvar ref = obj;\n\n\t\t// loop\n\t\tfor ( var i = 0; i < length; i++ ) {\n\t\t\t// vars\n\t\t\tvar key = String( keys[ i ] );\n\n\t\t\t// value\n\t\t\tif ( i == length - 1 ) {\n\t\t\t\t// %%index%%\n\t\t\t\tif ( key === '%%index%%' ) {\n\t\t\t\t\tref.push( value );\n\n\t\t\t\t\t// default\n\t\t\t\t} else {\n\t\t\t\t\tref[ key ] = value;\n\t\t\t\t}\n\n\t\t\t\t// path\n\t\t\t} else {\n\t\t\t\t// array\n\t\t\t\tif ( keys[ i + 1 ] === '%%index%%' ) {\n\t\t\t\t\tif ( ! acf.isArray( ref[ key ] ) ) {\n\t\t\t\t\t\tref[ key ] = [];\n\t\t\t\t\t}\n\n\t\t\t\t\t// object\n\t\t\t\t} else {\n\t\t\t\t\tif ( ! acf.isObject( ref[ key ] ) ) {\n\t\t\t\t\t\tref[ key ] = {};\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// crawl\n\t\t\t\tref = ref[ key ];\n\t\t\t}\n\t\t}\n\t};\n\n\tacf.serialize = function ( $el, prefix ) {\n\t\t// vars\n\t\tvar obj = {};\n\t\tvar inputs = acf.serializeArray( $el );\n\n\t\t// prefix\n\t\tif ( prefix !== undefined ) {\n\t\t\t// filter and modify\n\t\t\tinputs = inputs\n\t\t\t\t.filter( function ( item ) {\n\t\t\t\t\treturn item.name.indexOf( prefix ) === 0;\n\t\t\t\t} )\n\t\t\t\t.map( function ( item ) {\n\t\t\t\t\titem.name = item.name.slice( prefix.length );\n\t\t\t\t\treturn item;\n\t\t\t\t} );\n\t\t}\n\n\t\t// loop\n\t\tfor ( var i = 0; i < inputs.length; i++ ) {\n\t\t\tbuildObject( obj, inputs[ i ].name, inputs[ i ].value );\n\t\t}\n\n\t\t// return\n\t\treturn obj;\n\t};\n\n\t/**\n\t * acf.serializeArray\n\t *\n\t * Similar to $.serializeArray() but works with a parent wrapping element.\n\t *\n\t * @date\t19/8/18\n\t * @since\t5.7.3\n\t *\n\t * @param\tjQuery $el The element or form to serialize.\n\t * @return\tarray\n\t */\n\n\tacf.serializeArray = function ( $el ) {\n\t\treturn $el.find( 'select, textarea, input' ).serializeArray();\n\t};\n\n\t/**\n\t * acf.serializeForAjax\n\t *\n\t * Returns an object containing name => value data ready to be encoded for Ajax.\n\t *\n\t * @date\t17/12/18\n\t * @since\t5.8.0\n\t *\n\t * @param\tjQUery $el The element or form to serialize.\n\t * @return\tobject\n\t */\n\tacf.serializeForAjax = function ( $el ) {\n\t\t// vars\n\t\tvar data = {};\n\t\tvar index = {};\n\n\t\t// Serialize inputs.\n\t\tvar inputs = acf.serializeArray( $el );\n\n\t\t// Loop over inputs and build data.\n\t\tinputs.map( function ( item ) {\n\t\t\t// Append to array.\n\t\t\tif ( item.name.slice( -2 ) === '[]' ) {\n\t\t\t\tdata[ item.name ] = data[ item.name ] || [];\n\t\t\t\tdata[ item.name ].push( item.value );\n\t\t\t\t// Append\n\t\t\t} else {\n\t\t\t\tdata[ item.name ] = item.value;\n\t\t\t}\n\t\t} );\n\n\t\t// return\n\t\treturn data;\n\t};\n\n\t/**\n\t * addAction\n\t *\n\t * Wrapper for acf.hooks.addAction\n\t *\n\t * @date\t14/12/17\n\t * @since\t5.6.5\n\t *\n\t * @param\tn/a\n\t * @return\tthis\n\t */\n\n\t/*\n\tvar prefixAction = function( action ){\n\t\treturn 'acf_' + action;\n\t}\n*/\n\n\tacf.addAction = function ( action, callback, priority, context ) {\n\t\t//action = prefixAction(action);\n\t\tacf.hooks.addAction.apply( this, arguments );\n\t\treturn this;\n\t};\n\n\t/**\n\t * removeAction\n\t *\n\t * Wrapper for acf.hooks.removeAction\n\t *\n\t * @date\t14/12/17\n\t * @since\t5.6.5\n\t *\n\t * @param\tn/a\n\t * @return\tthis\n\t */\n\n\tacf.removeAction = function ( action, callback ) {\n\t\t//action = prefixAction(action);\n\t\tacf.hooks.removeAction.apply( this, arguments );\n\t\treturn this;\n\t};\n\n\t/**\n\t * doAction\n\t *\n\t * Wrapper for acf.hooks.doAction\n\t *\n\t * @date\t14/12/17\n\t * @since\t5.6.5\n\t *\n\t * @param\tn/a\n\t * @return\tthis\n\t */\n\n\tvar actionHistory = {};\n\t//var currentAction = false;\n\tacf.doAction = function ( action ) {\n\t\t//action = prefixAction(action);\n\t\t//currentAction = action;\n\t\tactionHistory[ action ] = 1;\n\t\tacf.hooks.doAction.apply( this, arguments );\n\t\tactionHistory[ action ] = 0;\n\t\treturn this;\n\t};\n\n\t/**\n\t * doingAction\n\t *\n\t * Return true if doing action\n\t *\n\t * @date\t14/12/17\n\t * @since\t5.6.5\n\t *\n\t * @param\tn/a\n\t * @return\tthis\n\t */\n\n\tacf.doingAction = function ( action ) {\n\t\t//action = prefixAction(action);\n\t\treturn actionHistory[ action ] === 1;\n\t};\n\n\t/**\n\t * didAction\n\t *\n\t * Wrapper for acf.hooks.doAction\n\t *\n\t * @date\t14/12/17\n\t * @since\t5.6.5\n\t *\n\t * @param\tn/a\n\t * @return\tthis\n\t */\n\n\tacf.didAction = function ( action ) {\n\t\t//action = prefixAction(action);\n\t\treturn actionHistory[ action ] !== undefined;\n\t};\n\n\t/**\n\t * currentAction\n\t *\n\t * Wrapper for acf.hooks.doAction\n\t *\n\t * @date\t14/12/17\n\t * @since\t5.6.5\n\t *\n\t * @param\tn/a\n\t * @return\tthis\n\t */\n\n\tacf.currentAction = function () {\n\t\tfor ( var k in actionHistory ) {\n\t\t\tif ( actionHistory[ k ] ) {\n\t\t\t\treturn k;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t};\n\n\t/**\n\t * addFilter\n\t *\n\t * Wrapper for acf.hooks.addFilter\n\t *\n\t * @date\t14/12/17\n\t * @since\t5.6.5\n\t *\n\t * @param\tn/a\n\t * @return\tthis\n\t */\n\n\tacf.addFilter = function ( action ) {\n\t\t//action = prefixAction(action);\n\t\tacf.hooks.addFilter.apply( this, arguments );\n\t\treturn this;\n\t};\n\n\t/**\n\t * removeFilter\n\t *\n\t * Wrapper for acf.hooks.removeFilter\n\t *\n\t * @date\t14/12/17\n\t * @since\t5.6.5\n\t *\n\t * @param\tn/a\n\t * @return\tthis\n\t */\n\n\tacf.removeFilter = function ( action ) {\n\t\t//action = prefixAction(action);\n\t\tacf.hooks.removeFilter.apply( this, arguments );\n\t\treturn this;\n\t};\n\n\t/**\n\t * applyFilters\n\t *\n\t * Wrapper for acf.hooks.applyFilters\n\t *\n\t * @date\t14/12/17\n\t * @since\t5.6.5\n\t *\n\t * @param\tn/a\n\t * @return\tthis\n\t */\n\n\tacf.applyFilters = function ( action ) {\n\t\t//action = prefixAction(action);\n\t\treturn acf.hooks.applyFilters.apply( this, arguments );\n\t};\n\n\t/**\n\t * getArgs\n\t *\n\t * description\n\t *\n\t * @date\t15/12/17\n\t * @since\t5.6.5\n\t *\n\t * @param\ttype $var Description. Default.\n\t * @return\ttype Description.\n\t */\n\n\tacf.arrayArgs = function ( args ) {\n\t\treturn Array.prototype.slice.call( args );\n\t};\n\n\t/**\n\t * extendArgs\n\t *\n\t * description\n\t *\n\t * @date\t15/12/17\n\t * @since\t5.6.5\n\t *\n\t * @param\ttype $var Description. Default.\n\t * @return\ttype Description.\n\t */\n\n\t/*\n\tacf.extendArgs = function( ){\n\t\tvar args = Array.prototype.slice.call( arguments );\n\t\tvar realArgs = args.shift();\n\t\t\t\n\t\tArray.prototype.push.call(arguments, 'bar')\n\t\treturn Array.prototype.push.apply( args, arguments );\n\t};\n*/\n\n\t// Preferences\n\t// - use try/catch to avoid JS error if cookies are disabled on front-end form\n\ttry {\n\t\tvar preferences = JSON.parse( localStorage.getItem( 'acf' ) ) || {};\n\t} catch ( e ) {\n\t\tvar preferences = {};\n\t}\n\n\t/**\n\t * getPreferenceName\n\t *\n\t * Gets the true preference name.\n\t * Converts \"this.thing\" to \"thing-123\" if editing post 123.\n\t *\n\t * @date\t11/11/17\n\t * @since\t5.6.5\n\t *\n\t * @param\tstring name\n\t * @return\tstring\n\t */\n\n\tvar getPreferenceName = function ( name ) {\n\t\tif ( name.substr( 0, 5 ) === 'this.' ) {\n\t\t\tname = name.substr( 5 ) + '-' + acf.get( 'post_id' );\n\t\t}\n\t\treturn name;\n\t};\n\n\t/**\n\t * acf.getPreference\n\t *\n\t * Gets a preference setting or null if not set.\n\t *\n\t * @date\t11/11/17\n\t * @since\t5.6.5\n\t *\n\t * @param\tstring name\n\t * @return\tmixed\n\t */\n\n\tacf.getPreference = function ( name ) {\n\t\tname = getPreferenceName( name );\n\t\treturn preferences[ name ] || null;\n\t};\n\n\t/**\n\t * acf.setPreference\n\t *\n\t * Sets a preference setting.\n\t *\n\t * @date\t11/11/17\n\t * @since\t5.6.5\n\t *\n\t * @param\tstring name\n\t * @param\tmixed value\n\t * @return\tn/a\n\t */\n\n\tacf.setPreference = function ( name, value ) {\n\t\tname = getPreferenceName( name );\n\t\tif ( value === null ) {\n\t\t\tdelete preferences[ name ];\n\t\t} else {\n\t\t\tpreferences[ name ] = value;\n\t\t}\n\t\tlocalStorage.setItem( 'acf', JSON.stringify( preferences ) );\n\t};\n\n\t/**\n\t * acf.removePreference\n\t *\n\t * Removes a preference setting.\n\t *\n\t * @date\t11/11/17\n\t * @since\t5.6.5\n\t *\n\t * @param\tstring name\n\t * @return\tn/a\n\t */\n\n\tacf.removePreference = function ( name ) {\n\t\tacf.setPreference( name, null );\n\t};\n\n\t/**\n\t * remove\n\t *\n\t * Removes an element with fade effect\n\t *\n\t * @date\t1/1/18\n\t * @since\t5.6.5\n\t *\n\t * @param\ttype $var Description. Default.\n\t * @return\ttype Description.\n\t */\n\n\tacf.remove = function ( props ) {\n\t\t// allow jQuery\n\t\tif ( props instanceof jQuery ) {\n\t\t\tprops = {\n\t\t\t\ttarget: props,\n\t\t\t};\n\t\t}\n\n\t\t// defaults\n\t\tprops = acf.parseArgs( props, {\n\t\t\ttarget: false,\n\t\t\tendHeight: 0,\n\t\t\tcomplete: function () {},\n\t\t} );\n\n\t\t// action\n\t\tacf.doAction( 'remove', props.target );\n\n\t\t// tr\n\t\tif ( props.target.is( 'tr' ) ) {\n\t\t\tremoveTr( props );\n\n\t\t\t// div\n\t\t} else {\n\t\t\tremoveDiv( props );\n\t\t}\n\t};\n\n\t/**\n\t * removeDiv\n\t *\n\t * description\n\t *\n\t * @date\t16/2/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 removeDiv = function ( props ) {\n\t\t// vars\n\t\tvar $el = props.target;\n\t\tvar height = $el.height();\n\t\tvar width = $el.width();\n\t\tvar margin = $el.css( 'margin' );\n\t\tvar outerHeight = $el.outerHeight( true );\n\t\tvar style = $el.attr( 'style' ) + ''; // needed to copy\n\n\t\t// wrap\n\t\t$el.wrap(\n\t\t\t''\n\t\t);\n\t\tvar $wrap = $el.parent();\n\n\t\t// set pos\n\t\t$el.css( {\n\t\t\theight: height,\n\t\t\twidth: width,\n\t\t\tmargin: margin,\n\t\t\tposition: 'absolute',\n\t\t} );\n\n\t\t// fade wrap\n\t\tsetTimeout( function () {\n\t\t\t$wrap.css( {\n\t\t\t\topacity: 0,\n\t\t\t\theight: props.endHeight,\n\t\t\t} );\n\t\t}, 50 );\n\n\t\t// remove\n\t\tsetTimeout( function () {\n\t\t\t$el.attr( 'style', style );\n\t\t\t$wrap.remove();\n\t\t\tprops.complete();\n\t\t}, 301 );\n\t};\n\n\t/**\n\t * removeTr\n\t *\n\t * description\n\t *\n\t * @date\t16/2/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 removeTr = function ( props ) {\n\t\t// vars\n\t\tvar $tr = props.target;\n\t\tvar height = $tr.height();\n\t\tvar children = $tr.children().length;\n\n\t\t// create dummy td\n\t\tvar $td = $(\n\t\t\t'