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1B,IAAMD,EAAa,SAAC,GAAuC,IAArCzE,EAAqC,EAArCA,OAAQO,EAA6B,EAA7BA,WAAY3J,EAAiB,EAAjBA,WACjC+N,EAAyI/N,EAAzI+N,IAAKnI,EAAoI5F,EAApI4F,OAAQoB,EAA4HhH,EAA5HgH,kBAAmBC,EAAyGjH,EAAzGiH,aAAc+G,EAA2FhO,EAA3FgO,YAAa9G,EAA8ElH,EAA9EkH,aAAcC,EAAgEnH,EAAhEmH,oBAAqBC,EAA2CpH,EAA3CoH,oBAAtG,EAAiJpH,EAAtBiO,SAAAA,OAA3H,MAAsI,OAAtI,EAEA,KAA0B5G,EAAAA,EAAAA,UAAS,IAAnC,GAAO1B,EAAP,KAAcuI,EAAd,KAEMC,EAAgBlF,SAASa,cAAT,WAA2BV,EAAOrD,GAAlC,qBAOtB,OAJAqI,EAAAA,EAAAA,YAAU,YACTzI,aAAA,EAAAA,EAAO5D,UAAUoM,SAAAA,EAAeE,YAC9B,CAAC1I,EAAOwI,IAEJ,wCACLxI,SAAAA,EAAO5D,OAAS,oBAAC,EAAD,CAAc4D,MAAOA,EAAO3F,WAAYA,EAAYsO,SAAUP,IAAU,KAEzF,oBAAC,EAAD,CAAY/N,WAAY,CAAE4F,OAAAA,EAAQoB,kBAAAA,EAAmBC,aAAAA,EAAcC,aAAAA,EAAcC,oBAAAA,EAAqBC,oBAAAA,GAAuBN,WAAY6C,EAAY5C,SAAU,SAAAwH,GAAO,MAOrKC,MAAM,GAAD,iBAAIC,mBAAJ,aAAI,EAAaC,QAAjB,qCAAqDX,EAArD,uBAAuEQ,EAAvE,yBAA2FtH,EAA3F,wBAAuH+G,EAAvH,qBAA+IC,IAClJU,MAAK,SAAAC,GAAG,OAAIA,EAAIC,UAChBF,MAAK,SAAAG,GAAI,OAAIZ,EAASY,W","sources":["webpack://advanced-post-block/external var \"React\"","webpack://advanced-post-block/external var \"ReactDOM\"","webpack://advanced-post-block/./src/utils/functions.js","webpack://advanced-post-block/./src/Single/FeatureImage.js","webpack://advanced-post-block/./src/Single/PostTitle.js","webpack://advanced-post-block/./src/Single/PostExcerpt.js","webpack://advanced-post-block/./src/Single/PostReadMore.js","webpack://advanced-post-block/./src/Single/PostMetaAuthor.js","webpack://advanced-post-block/./src/Single/PostMetaDate.js","webpack://advanced-post-block/./src/Single/PostMetaCategory.js","webpack://advanced-post-block/./src/Single/PostMetaReadTime.js","webpack://advanced-post-block/./src/Single/PostMetaComment.js","webpack://advanced-post-block/./src/Single/PostMeta.js","webpack://advanced-post-block/./src/Layout/Default.js","webpack://advanced-post-block/./src/Layout/SideImage.js","webpack://advanced-post-block/./src/Layout/Overlay.js","webpack://advanced-post-block/./src/Layout/MapPosts.js","webpack://advanced-post-block/./src/DisplayPosts.js","webpack://advanced-post-block/./src/Pagination/usePagination.js","webpack://advanced-post-block/./src/Pagination/index.js","webpack://advanced-post-block/./src/script.js","webpack://advanced-post-block/./src/utils/configs.js"],"sourcesContent":["var __WEBPACK_NAMESPACE_OBJECT__ = React;","var __WEBPACK_NAMESPACE_OBJECT__ = ReactDOM;","export const truncate = (str, nu_words) => str && str.split(' ').splice(0, nu_words).join(' ');\r\n\r\nexport const strLength = (str) => str ? str.split(' ').length : 0;\r\n\r\nexport const wordCount = content => content ? (content?.replace(/(<([^>]+)>)/gi, '').split(/\\s+/) || []).length : 0;\r\n\r\nexport const renderHTML = raw => ;\r\n\r\nexport const filterObject = (obj, callback) => Object.fromEntries(Object.entries(obj).filter(([key, val]) => callback(key, val)));\r\n\r\nexport const omit = ({ [key]: _, ...obj }, key) => obj;\r\n\r\nexport const filterSelected = (taxonomy, selected) => taxonomy?.map(tax => tax.id)?.filter(tax => selected.indexOf(tax) !== -1);\r\n\r\nexport const dateFormat = (format, date) => {\r\n\tconst suffix = {\r\n\t\t'01': 'st',\r\n\t\t'02': 'nd',\r\n\t\t'03': 'rd'\r\n\t};\r\n\r\n\tif (!date || date === \"\") {\r\n\t\tdate = new Date();\r\n\t}\r\n\telse if (typeof (date) !== 'object') {\r\n\t\tdate = new Date(date.replace(/-/g, \"/\")); // attempt to convert string to date object\t\r\n\t}\r\n\r\n\tvar string = '',\r\n\t\tmo = date.getMonth(),\t// month (0-11)\r\n\t\tm1 = mo + 1,\t\t\t// month (1-12)\r\n\t\tdow = date.getDay(),\t// day of week (0-6)\r\n\t\td = date.getDate(),\t\t// day of the month (1-31)\r\n\t\ty = date.getFullYear(), // 1999 or 2003\r\n\t\th = date.getHours(),\t// hour (0-23)\r\n\t\tmi = date.getMinutes(), // minute (0-59)\r\n\t\ts = date.getSeconds(); // seconds (0-59)\r\n\r\n\tfor (var i = 0, len = format.length; i < len; i++) {\r\n\t\tswitch (format[i]) {\r\n\t\t\tcase 'j': // Day of the month without leading zeros (1 to 31)\r\n\t\t\t\tstring += d;\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tcase 'd': // Day of the month, 2 digits with leading zeros (01 to 31)\r\n\t\t\t\tstring += (d < 10) ? \"0\" + d : d;\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tcase \"S\": // Day of the month, 2 digits with leading zeros (01 to 31)\r\n\t\t\t\tstring += suffix[d] || 'th';\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tcase 'l': // (lowercase 'L') A full textual representation of the day of the week\r\n\t\t\t\tvar days = Array(\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\");\r\n\t\t\t\tstring += days[dow];\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tcase 'w': // Numeric representation of the day of the week (0=Sunday,1=Monday,...6=Saturday)\r\n\t\t\t\tstring += dow;\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tcase 'D': // A textual representation of a day, three letters\r\n\t\t\t\tdays = Array(\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thr\", \"Fri\", \"Sat\");\r\n\t\t\t\tstring += days[dow];\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tcase 'm': // Numeric representation of a month, with leading zeros (01 to 12)\r\n\t\t\t\tstring += (m1 < 10) ? \"0\" + m1 : m1;\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tcase 'n': // Numeric representation of a month, without leading zeros (1 to 12)\r\n\t\t\t\tstring += m1;\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tcase 'F': // A full textual representation of a month, such as January or March \r\n\t\t\t\tvar months = Array(\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\");\r\n\t\t\t\tstring += months[mo];\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tcase 'M': // A short textual representation of a month, three letters (Jan - Dec)\r\n\t\t\t\tmonths = Array(\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\");\r\n\t\t\t\tstring += months[mo];\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tcase 'Y': // A full numeric representation of a year, 4 digits (1999 OR 2003)\t\r\n\t\t\t\tstring += y;\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tcase 'y': // A two digit representation of a year (99 OR 03)\r\n\t\t\t\tstring += y.toString().slice(-2);\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tcase 'H': // 24-hour format of an hour with leading zeros (00 to 23)\r\n\t\t\t\tstring += (h < 10) ? \"0\" + h : h;\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tcase 'g': // 12-hour format of an hour without leading zeros (1 to 12)\r\n\t\t\t\tvar hour = (h === 0) ? 12 : h;\r\n\t\t\t\tstring += (hour > 12) ? hour - 12 : hour;\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tcase 'h': // 12-hour format of an hour with leading zeros (01 to 12)\r\n\t\t\t\thour = (h === 0) ? 12 : h;\r\n\t\t\t\thour = (hour > 12) ? hour - 12 : hour;\r\n\t\t\t\tstring += (hour < 10) ? \"0\" + hour : hour;\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tcase 'a': // Lowercase Ante meridiem and Post meridiem (am or pm)\r\n\t\t\t\tstring += (h < 12) ? \"am\" : \"pm\";\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tcase 'i': // Minutes with leading zeros (00 to 59)\r\n\t\t\t\tstring += (mi < 10) ? \"0\" + mi : mi;\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tcase 's': // Seconds, with leading zeros (00 to 59)\r\n\t\t\t\tstring += (s < 10) ? \"0\" + s : s;\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tcase 'c': // ISO 8601 date (eg: 2012-11-20T18:05:54.944Z)\r\n\t\t\t\tstring += date.toISOString();\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tdefault:\r\n\t\t\t\tstring += format[i];\r\n\t\t}\r\n\t}\r\n\r\n\treturn string;\r\n}\r\n\r\nexport const classNames = (...args) => {\r\n\tconst classes = args.reduce((acc, arg) => {\r\n\t\tif (typeof arg === 'string') {\r\n\t\t\tacc.push(arg);\r\n\t\t} else if (typeof arg === 'object') {\r\n\t\t\tObject.entries(arg).forEach(([key, value]) => {\r\n\t\t\t\tif (value) {\r\n\t\t\t\t\tacc.push(key);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn acc;\r\n\t}, []);\r\n\r\n\treturn classes.join(' ');\r\n}","import { renderHTML } from '../utils/functions';\r\n\r\nconst FeatureImage = ({ post, attributes }) => {\r\n\tconst { link, thumbnail: { url: thumbUrl, alt: thumbAlt }, categories } = post;\r\n\tconst { isFImg, isFImgLink, isMeta, isMetaCategory, metaCategoryIn, isLinkNewTab } = attributes;\r\n\r\n\treturn (isFImg && thumbUrl) ? \r\n\t\t :
}\r\n\r\n\t\t{(isMeta && isMetaCategory && 'image' === metaCategoryIn) &&