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nC,GAAOxB,EAAP,KAAcwI,EAAd,KAEMC,EAAmBpF,SAASc,cAAT,WAA2BV,EAASnJ,GAApC,qBAOzB,OAJAoO,EAAAA,EAAAA,YAAU,YACT1I,aAAA,EAAAA,EAAOxB,UAAUiK,SAAAA,EAAkBE,YACjC,CAAC3I,EAAOyI,IAEJ,wCACLzI,SAAAA,EAAOxB,OAAS,oBAAC,EAAD,CAAcwB,MAAOA,EAAO3F,WAAYA,EAAY6F,SAAUmI,IAAU,KAEzF,oBAAC,EAAD,CAAYhO,WAAY,CAAEK,OAAAA,EAAQyG,kBAAAA,EAAmBC,aAAAA,EAAcC,aAAAA,EAAcC,oBAAAA,EAAqBC,oBAAAA,GAAuBN,WAAY+C,EAAY9C,SAAU,SAAA0H,GAAO,MAOrKC,MAAM,GAAD,iBAAIC,mBAAJ,aAAI,EAAaC,QAAjB,qCAAqDV,EAArD,uBAAuEO,EAAvE,yBAA2FxH,EAA3F,wBAAuHkH,EAAvH,qBAA+IC,IAClJS,MAAK,SAAAC,GAAG,OAAIA,EAAIC,UAChBF,MAAK,SAAAG,GAAI,OAAIX,EAASW,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, no_words) => str && str.split(' ').splice(0, no_words).join(' ');\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}","import { renderHTML } from '../utils/functions';\r\n\r\nconst FeatureImage = ({ post, attributes }) => {\r\n\tconst { id, link, thumbnail, categories } = post;\r\n\tconst { layout, isFImg, isFImgLink, isMeta, isMetaCategory, metaCategoryIn, isLinkNewTab } = attributes;\r\n\r\n\tconst condition = 'slider' === layout ? isFImg : isFImg && thumbnail;\r\n\r\n\treturn condition ? \r\n\r\n\t\t\t{isFImgLink && }\r\n\r\n\t\t\t{(isMeta && isMetaCategory && 'image' === metaCategoryIn) &&