File "preview.js.map"

Full Path: /home/jlklyejr/public_html/post-date/wp-content/plugins/kirki/kirki-packages/field-dimensions/dist/preview.js.map
File size: 2.37 KB
MIME-type: application/json
Charset: utf-8

{"mappings":"AASAA,OAAQC,UAAWC,OAAK,WACvBC,GAAGC,MAAMC,UAAS,+BACa,SAW3B,SACOC,EAAQC,EAAOC,EAAQC,GAChC,IAAIC,QACF,qBAA0BD,IAC3BH,GAAUE,EAAOG,QAAO,IACxBC,EAAEC,KAAMN,GAAK,SAAYO,EAAKC,GACxBP,EAAOQ,QAAUD,IAAQP,EAAOQ,SAKhC,KAFLN,EAAiBO,iBAAiBC,KAAKC,aAAcX,EAAQM,MAKvDN,EAAOY,UACXd,GAAUE,EAAOY,SACf,KAAUZ,EAAOY,UAAQ,QAAgBL,GAAG,WAAiBA,GAAG,SAAeA,GAAG,UAAgBA,IACnGT,GAAM,IAAUS,GAEjBT,GAAM,IAAUI,EAAc,KAE9BJ,GAAUS,EAAG,IAASL,EAAc,QAIvCJ,GAAM,KAEAA","sources":["src/preview.js"],"sourcesContent":["/* global kirkiPostMessage */\n\nimport \"./control.scss\";\n\n/**\n * Hook in the kirkiPostMessageStylesOutput filter.\n *\n * Handles postMessage styles for typography controls.\n */\njQuery( document ).ready( function() {\n\twp.hooks.addFilter(\n\t\t'kirkiPostMessageStylesOutput',\n\t\t'kirki',\n\n\t\t/**\n\t\t * Append styles for this control.\n\t\t *\n\t\t * @param {string} styles      - The styles.\n\t\t * @param {Object} value       - The control value.\n\t\t * @param {Object} output      - The control's \"output\" argument.\n\t\t * @param {string} controlType - The control type.\n\t\t * @returns {string} - Returns the CSS as a string.\n\t\t */\n\t\tfunction( styles, value, output, controlType ) {\n\t\t\tvar processedValue;\n\t\t\tif ( 'kirki-dimensions' === controlType ) {\n\t\t\t\tstyles += output.element + '{';\n\t\t\t\t_.each( value, function( val, key ) {\n\t\t\t\t\tif ( output.choice && key !== output.choice ) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tprocessedValue = kirkiPostMessage.util.processValue( output, val );\n\n\t\t\t\t\tif ( false !== processedValue ) {\n\n\t\t\t\t\t\t// Mostly used for padding, margin & position properties.\n\t\t\t\t\t\tif ( output.property ) {\n\t\t\t\t\t\t\tstyles += output.property;\n\t\t\t\t\t\t\tif ( '' !== output.property && ( 'top' === key || 'bottom' === key || 'left' === key || 'right' === key ) ) {\n\t\t\t\t\t\t\t\tstyles += '-' + key;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tstyles += ':' + processedValue + ';';\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tstyles += key + ':' + processedValue + ';';\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t\t\tstyles += '}';\n\t\t\t}\n\t\t\treturn styles;\n\t\t}\n\t);\n} );\n"],"names":["jQuery","document","ready","wp","hooks","addFilter","styles","value","output","controlType","processedValue","element","_","each","val","key","choice","kirkiPostMessage","util","processValue","property"],"version":3,"file":"preview.js.map"}