{"version":3,"sources":["webpack:///./node_modules/date-fns/esm/toDate/index.js","webpack:///./src/images/telethon-community-cinemas/parklands.png","webpack:///./src/images/telethon-community-cinemas/hero-banner-popcorn.png","webpack:///./src/images/telethon-community-cinemas/logo-telethon-community-cinemas.png","webpack:///./node_modules/date-fns/esm/isAfter/index.js","webpack:///./src/components/common/Image.js","webpack:///./node_modules/@babel/runtime/helpers/esm/typeof.js","webpack:///./src/images/telethon-community-cinemas/hero-banner-popcorn-tickets.png","webpack:///./node_modules/date-fns/esm/_lib/requiredArgs/index.js","webpack:///./src/constants/fetchBlogData.js","webpack:///./src/pages/about/community/telethon-community-cinemas.jsx","webpack:///./src/components/common/Video.jsx","webpack:///./src/components/common/MediaCard.jsx","webpack:///./src/components/cards/BlogCarousel.jsx","webpack:///./src/components/common/Carousel.jsx","webpack:///./src/constants/modal-content.js"],"names":["toDate","argument","arguments","argStr","Object","prototype","toString","call","Date","getTime","console","warn","Error","stack","NaN","module","exports","isAfter","dirtyDate","dirtyDateToCompare","date","dateToCompare","Image","props","imageSrcRaw","undefined","src","imageSrc","mermaidImgUrl","imagesrcfrom","imagesrc","React","createElement","assign","alt","_typeof","o","Symbol","iterator","constructor","requiredArgs","required","args","length","TypeError","capitalize","s","charAt","toUpperCase","slice","getVideoID","url","toLowerCase","indexOf","getYoutubeID","r","match","getVimeoID","fetchBlogData","async","resultData","Axios","transformedDataArray","data","forEach","newData","title","post_title","subtitle","term","category_names","link","ctaText","description","post_excerpt","mediaType","format","video_url","image_url","mediaPlatform","mediaSrc","push","error","log","TelethonCommunityCinemasPage","useEffect","currentDate","dateStrOfferScreeningExpiredStr","process","split","dateStrOfferScreeningStartStr","dateStrOfferScreeningExpired","dateStrOfferScreeningStart","giveawaysScreeningCont","document","querySelectorAll","giveawaysScreeningEndCont","isOfferScreeningStart","isOfferScreeningExpired","divs","classList","remove","add","Fragment","SEO","titleBespoke","Header","LayoutMain","LayoutPanel","background","padding","theme","id","className","imgTccLogo","data-gatsby-id","href","target","Link","text","linkClass","LinkModal","modalContents","useModal","displayContent","modalTitle","modalContentName","okayButtonLabel","imgBannerPopcorn","imgBanner","style","backgroundImage","mermaidFlowmojiBgUrl","backgroundRepeat","backgroundSize","border","imgParklands","frameBorder","webkitallowfullscreen","mozallowfullscreen","allowFullScreen","data-vimeo-tracked","data-ready","linkTarget","BlogCarousel","titleCol","apiQuery","Footer","Video","_ref","videoSrcURL","videoTitle","allow","MediaCard","videoPlay","setVideoPlay","useState","vimeoImageUrl","setVimeoImageUrl","isYoutubeVideo","isVimeoVideo","imageUrl","getYoutubeImageUrl","videoUrl","getYoutubeVideoUrl","vimeoVideoUrl","getVimeoVideoUrl","hideDescription","hideCta","cardContainerClass","isCardSameHeight","videoContainerClass","disableWidescreen","merBtnGrpClass","merBtnLinkClass","orientation","imageClick","mediaCardRef","useRef","current","parentElement","fetchVimeoVideoData","fetchData","videoId","replace","getVimeoVideoDetail","videoData","thumbnail_large","ref","onClick","role","tabIndex","Svg","icon","mediaCardLink","emptyclass","ctaLink","blogPosts","setPosts","hidePanelImgBg","panelBg","panelSpacing","blogData","Array","isArray","panelBorder","inlineStyle","titleHeadingClass","Carousel","equalHeight","slidesToShow","ctaContainerClass","ctaClass","ctaHeadingClass","ctaLinkClass","ctaLinkTarget","carouselClass","carouselSettingInfinite","isRunTime","relatedMediaCarousel","displaySlides","parseInt","settings","arrows","dots","infinite","swipeToSlide","draggable","speed","slidesToScroll","centerMode","centerPadding","dotsClass","responsive","breakpoint","Slider","map","media","index","key","name","contentType","content","selector"],"mappings":"8FAAA,8DAgCe,SAASA,EAAOC,GAC7B,YAAa,EAAGC,WAChB,IAAIC,EAASC,OAAOC,UAAUC,SAASC,KAAKN,GAG5C,OAAIA,aAAoBO,MAA8B,WAAtB,YAAQP,IAAqC,kBAAXE,EAEzD,IAAIK,KAAKP,EAASQ,WACI,iBAAbR,GAAoC,oBAAXE,EAClC,IAAIK,KAAKP,IAES,iBAAbA,GAAoC,oBAAXE,GAAoD,oBAA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C,QAAS,mDACTC,SAAU,gCAEd,CACIH,KAAM,mCACNC,YAAa,OACbC,QAAS,w3BAkBTC,SAAU","file":"component---src-pages-about-community-telethon-community-cinemas-jsx-0f3b7faf94a3009d6a0f.js","sourcesContent":["import _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name toDate\n * @category Common Helpers\n * @summary Convert the given argument to an instance of Date.\n *\n * @description\n * Convert the given argument to an instance of Date.\n *\n * If the argument is an instance of Date, the function returns its clone.\n *\n * If the argument is a number, it is treated as a timestamp.\n *\n * If the argument is none of the above, the function returns Invalid Date.\n *\n * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.\n *\n * @param {Date|Number} argument - the value to convert\n * @returns {Date} the parsed date in the local time zone\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // Clone the date:\n * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))\n * //=> Tue Feb 11 2014 11:30:30\n *\n * @example\n * // Convert the timestamp to date:\n * const result = toDate(1392098430000)\n * //=> Tue Feb 11 2014 11:30:30\n */\nexport default function toDate(argument) {\n requiredArgs(1, arguments);\n var argStr = Object.prototype.toString.call(argument);\n\n // Clone the date\n if (argument instanceof Date || _typeof(argument) === 'object' && argStr === '[object Date]') {\n // Prevent the date to lose the milliseconds when passed to new Date() in IE10\n return new Date(argument.getTime());\n } else if (typeof argument === 'number' || argStr === '[object Number]') {\n return new Date(argument);\n } else {\n if ((typeof argument === 'string' || argStr === '[object String]') && typeof console !== 'undefined') {\n // eslint-disable-next-line no-console\n console.warn(\"Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments\");\n // eslint-disable-next-line no-console\n console.warn(new Error().stack);\n }\n return new Date(NaN);\n }\n}","module.exports = __webpack_public_path__ + \"static/parklands-65df996be202ecaa5e63d95b6cc76c41.png\";","module.exports = __webpack_public_path__ + \"static/hero-banner-popcorn-3805dafd2e1e497f017e0ee4cd77d26a.png\";","module.exports = __webpack_public_path__ + \"static/logo-telethon-community-cinemas-2e4a584dee7c156cee281e19c12aac0b.png\";","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isAfter\n * @category Common Helpers\n * @summary Is the first date after the second one?\n *\n * @description\n * Is the first date after the second one?\n *\n * @param {Date|Number} date - the date that should be after the other one to return true\n * @param {Date|Number} dateToCompare - the date to compare with\n * @returns {Boolean} the first date is after the second date\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Is 10 July 1989 after 11 February 1987?\n * const result = isAfter(new Date(1989, 6, 10), new Date(1987, 1, 11))\n * //=> true\n */\nexport default function isAfter(dirtyDate, dirtyDateToCompare) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var dateToCompare = toDate(dirtyDateToCompare);\n return date.getTime() > dateToCompare.getTime();\n}","import React from 'react';\r\nimport { mermaidImgUrl } from 'constants/urls';\r\n\r\n\r\nfunction Image (props) {\r\n\r\n let imageSrcRaw = props.src !== undefined ? props.src : '';\r\n let imageSrc = `${mermaidImgUrl}${imageSrcRaw}`;\r\n\r\n if(props.imagesrcfrom!==undefined && props.imagesrcfrom!==null && props.imagesrcfrom==='youtube'){\r\n imageSrc = props.imagesrc;\r\n }\r\n \r\n return (\r\n <img {...props} src={imageSrc} alt={props.alt} />\r\n );\r\n}\r\n\r\nexport default Image;","function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}\nexport { _typeof as default };","module.exports = __webpack_public_path__ + \"static/hero-banner-popcorn-tickets-af14a879639a57f4bf3484d0626c7bb0.png\";","export default function requiredArgs(required, args) {\n if (args.length < required) {\n throw new TypeError(required + ' argument' + (required > 1 ? 's' : '') + ' required, but only ' + args.length + ' present');\n }\n}","\r\nimport Axios from 'axios';\r\n\r\nconst capitalize = (s) => {\r\n if (typeof s !== 'string') return ''\r\n return s.charAt(0).toUpperCase() + s.slice(1)\r\n}\r\n\r\nconst getVideoID = (url) =>{\r\n if(url.toLowerCase().indexOf('youtube')>0){\r\n return getYoutubeID(url);\r\n }else if(url.toLowerCase().indexOf('vimeo')>0){\r\n return '';\r\n }\r\n return null;\r\n}\r\n\r\nconst getYoutubeID = (url) => {\r\n var r, rx = /^.*(?:(?:youtu\\.be\\/|v\\/|vi\\/|u\\/\\w\\/|embed\\/)|(?:(?:watch)?\\?v(?:i)?=|&v(?:i)?=))([^#&?]*).*/;\r\n\r\n r = url.match(rx);\r\n // console.log('youtubeId');\r\n // console.log(r);\r\n if(r!==undefined && r!==null && r.length>1){\r\n return r[1];\r\n }\r\n return null;\r\n}\r\n\r\nconst getVimeoID = (url) =>{\r\n var r, rx = /(https?:\\/\\/)?(www\\.)?(player\\.)?vimeo\\.com\\/([a-z]*\\/)*([0-9]{6,11})[?]?.*/;\r\n r = url.match(rx);\r\n if(r!==undefined && r!==null && r.length>4){\r\n return r[5];\r\n }\r\n return null;\r\n}\r\n\r\n// // ----------------------\r\n// // RUNTIME DATA FETCHING\r\n// // ----------------------\r\n\r\nconst fetchBlogData = async (url) => {\r\n\r\n try {\r\n const resultData = await Axios(url); \r\n\r\n // console.log(resultData);\r\n let transformedDataArray = []; \r\n resultData.data.forEach(data => {\r\n let newData = {\r\n title: data.post_title,\r\n subtitle: data.term ? capitalize(data.term) : capitalize(data.category_names[0]),\r\n // subtitle: capitalize(data.categories[0]),\r\n link: data.link,\r\n ctaText: 'Read more',\r\n description: data.post_excerpt,\r\n mediaType: data.format !== 'standard' && data.video_url !== undefined ? 'video' : data.format === 'standard' && data.image_url !== null ? 'photo' : null,\r\n mediaPlatform: data.format !== 'standard' && data.video_url !== undefined && data.video_url !==null ? data.video_url.toLowerCase().indexOf('vimeo')>0 ? 'vimeo' : 'youtube' : null,\r\n mediaSrc: data.format !== 'standard' && data.video_url !== undefined && data.video_url!==null ? data.video_url.toLowerCase().indexOf('vimeo')>0 ? getVimeoID(data.video_url) : getVideoID(data.video_url) : data.image_url !== null ? data.image_url : null,\r\n };\r\n transformedDataArray.push(newData);\r\n });\r\n\r\n return transformedDataArray;\r\n\r\n } catch (error) {\r\n console.log('Error returning blog contents')\r\n }\r\n\r\n}\r\n\r\n\r\nexport default fetchBlogData;","import React, { useEffect } from \"react\";\r\nimport { isAfter } from \"date-fns\";\r\n\r\nimport SEO from \"components/Seo\";\r\nimport Header from \"components/Header\";\r\nimport Footer from \"components/Footer\";\r\n\r\nimport LayoutMain from \"components/layout/layoutMain\";\r\nimport LayoutPanel from \"components/layout/layoutPanel\";\r\nimport Image from \"components/common/Image\";\r\n\r\nimport Link from \"components/common/Link\";\r\nimport BlogCarousel from \"components/cards/BlogCarousel\";\r\n\r\nimport { LinkModal } from \"kh-common-components\";\r\n\r\nimport { mermaidFlowmojiBgUrl } from \"constants/urls\";\r\nimport { modalContents } from \"constants/modal-content\";\r\n\r\n// asset images\r\n// https://www.gatsbyjs.com/docs/how-to/images-and-media/importing-assets-into-files/\r\nimport imgTccLogo from \"images/telethon-community-cinemas/logo-telethon-community-cinemas.png\";\r\nimport imgBannerPopcorn from \"images/telethon-community-cinemas/hero-banner-popcorn-tickets.png\";\r\nimport imgBanner from \"images/telethon-community-cinemas/hero-banner-popcorn.png\";\r\nimport imgParklands from \"images/telethon-community-cinemas/parklands.png\";\r\n\r\nimport \"styles/pages/telethon-community-cinemas.css\";\r\n\r\nfunction TelethonCommunityCinemasPage() {\r\n useEffect(() => {\r\n const currentDate = new Date();\r\n const dateStrOfferScreeningExpiredStr = process.env.TCC_SCREENING_EXPIRE.split(\r\n \"-\"\r\n );\r\n const dateStrOfferScreeningStartStr = process.env.TCC_SCREENING_START.split(\r\n \"-\"\r\n );\r\n\r\n const dateStrOfferScreeningExpired = new Date(\r\n dateStrOfferScreeningExpiredStr[0],\r\n dateStrOfferScreeningExpiredStr[1] - 1,\r\n dateStrOfferScreeningExpiredStr[2],\r\n dateStrOfferScreeningExpiredStr[3]\r\n ? dateStrOfferScreeningExpiredStr[3]\r\n : \"\",\r\n dateStrOfferScreeningExpiredStr[4]\r\n ? dateStrOfferScreeningExpiredStr[4]\r\n : \"\"\r\n );\r\n\r\n const dateStrOfferScreeningStart = new Date(\r\n dateStrOfferScreeningStartStr[0],\r\n dateStrOfferScreeningStartStr[1] - 1,\r\n dateStrOfferScreeningStartStr[2],\r\n dateStrOfferScreeningStartStr[3] ? dateStrOfferScreeningStartStr[3] : \"\",\r\n dateStrOfferScreeningStartStr[4] ? dateStrOfferScreeningStartStr[4] : \"\"\r\n );\r\n\r\n const giveawaysScreeningCont = document.querySelectorAll(\r\n `section[data-gatsby-id='giveaways-screening']`\r\n );\r\n const giveawaysScreeningEndCont = document.querySelectorAll(\r\n `section[data-gatsby-id='giveaways-screening-end']`\r\n );\r\n\r\n const isOfferScreeningStart = isAfter(\r\n currentDate,\r\n dateStrOfferScreeningStart\r\n );\r\n const isOfferScreeningExpired = isAfter(\r\n currentDate,\r\n dateStrOfferScreeningExpired\r\n );\r\n\r\n if (isOfferScreeningStart && !isOfferScreeningExpired) {\r\n giveawaysScreeningCont.forEach(divs => {\r\n divs.classList.remove(\"d-none\");\r\n });\r\n giveawaysScreeningEndCont.forEach(divs => {\r\n divs.classList.add(\"d-none\");\r\n });\r\n }\r\n }, []);\r\n\r\n return (\r\n <>\r\n <SEO\r\n title=\"Telethon Community Cinemas | Kleenheat | Community Support\"\r\n titleBespoke=\"true\"\r\n description=\"Kleenheat is a proud partner of Telethon Community Cinemas, which supports local charities making life easier for kids in health and physical crisis.\"\r\n />\r\n <Header />\r\n <LayoutMain>\r\n {/* hero banner */}\r\n <LayoutPanel\r\n background=\"mer-bg--primary-cyan\"\r\n padding=\"mer-pb-ju\"\r\n theme=\"mer-theme--cyan\"\r\n id=\"tcc-hero-banner\"\r\n >\r\n <div className=\"container\">\r\n <div className=\"row mer-panel justify-content-center align-items-end\">\r\n <div className=\"col-10 col-sm-8 col-lg-6 mer-text--size-lg\">\r\n <div className=\"logo-tcc\">\r\n <img src={imgTccLogo} alt=\"Telethon Community Cinemas\" />\r\n </div>\r\n\r\n <section\r\n className=\"d-none\"\r\n data-gatsby-id=\"giveaways-screening\"\r\n >\r\n <div className=\"content\">\r\n <h2>Your favourite community cinemas are back!</h2>\r\n\r\n <p>\r\n Kleenheat’s sponsorship continues for the latest season of\r\n the{\" \"}\r\n <a\r\n href=\"https://communitycinemas.com.au/\"\r\n title=\"Open Telethon Community Cinemas in a new tab\"\r\n target=\"_blank\"\r\n >\r\n Telethon Community Cinemas\r\n </a>\r\n , supporting their commitment to WA children’s charities.\r\n The season runs from Thursday 14 November 2024, to\r\n Saturday 26 April 2025, at four fantastic locations across\r\n Perth.\r\n </p>\r\n\r\n <p>\r\n <strong>Kleenheat customers</strong> can access{\" \"}\r\n <strong>2-for-1 adult tickets*</strong> valid until\r\n Saturday 26 April 2025.\r\n </p>\r\n\r\n <div className=\"mer-panel__actions mer-button-group\">\r\n <Link\r\n text=\"Ticket offer\"\r\n link=\"#tickets\"\r\n linkClass=\"mer-button mer-button--primary\"\r\n />\r\n\r\n <Link\r\n text=\"Learn more\"\r\n link=\"/blog/community/telethon-community-cinemas-guide\"\r\n linkClass=\"mer-button mer-button--secondary\"\r\n />\r\n </div>\r\n\r\n <p>\r\n <small>\r\n <LinkModal\r\n modalContents={modalContents}\r\n useModal=\"true\"\r\n title=\"Terms & Conditions\"\r\n // linkClass=\"\"\r\n displayContent=\"*Terms and conditions apply\"\r\n modalTitle=\"Terms & Conditions\"\r\n modalContentName=\"terms-tcc-two-tickets\"\r\n okayButtonLabel=\"Close\"\r\n />\r\n </small>\r\n </p>\r\n </div>\r\n </section>\r\n\r\n <section data-gatsby-id=\"giveaways-screening-end\">\r\n <div className=\"content\">\r\n <h2>Community cinemas are back!</h2>\r\n\r\n <p>\r\n We’re proud to be once again, sponsoring the{\" \"}\r\n <a\r\n href=\"https://communitycinemas.com.au/\"\r\n title=\"Open Telethon Community Cinemas in a new tab\"\r\n target=\"_blank\"\r\n >\r\n Telethon Community Cinemas\r\n </a>{\" \"}\r\n and its commitment to giving back to Children’s charities\r\n in WA. The season runs from Thursday 14 November 2024, to\r\n Saturday 26 April 2025, at four fantastic locations across\r\n Perth.\r\n </p>\r\n\r\n <p>\r\n <strong>Kleenheat customers</strong> have the chance to\r\n win a bunch of <strong>complimentary tickets!</strong>\r\n </p>\r\n\r\n <div className=\"mer-panel__actions mer-button-group\">\r\n <Link\r\n text=\"Learn more\"\r\n link=\"/blog/community/telethon-community-cinemas-guide\"\r\n linkClass=\"mer-button mer-button--primary\"\r\n />\r\n </div>\r\n </div>\r\n </section>\r\n </div>\r\n\r\n <section className=\"mer-panel__images col-8 col-sm-5 col-lg-4 d-none\" data-gatsby-id=\"giveaways-screening\">\r\n <img\r\n src={imgBannerPopcorn}\r\n className=\"mer-panel__image\"\r\n alt=\"Kleenheat Popcorn\"\r\n />\r\n </section>\r\n\r\n\t\t\t <section className=\"mer-panel__images col-8 col-sm-5 col-lg-4\" data-gatsby-id=\"giveaways-screening-end\">\r\n <img\r\n src={imgBanner}\r\n className=\"mer-panel__image\"\r\n alt=\"Kleenheat\"\r\n />\r\n </section>\r\n </div>\r\n </div>\r\n </LayoutPanel>\r\n\r\n <section\r\n className=\"module-wrapper mer-theme--light mer-bg--ui-light mer-py-lg mer-border--bottom d-none\"\r\n id=\"tickets\"\r\n style={{\r\n backgroundImage: `url(${mermaidFlowmojiBgUrl})`,\r\n backgroundRepeat: \"repeat\",\r\n backgroundSize: \"60vh\",\r\n }}\r\n data-gatsby-id=\"giveaways-screening\"\r\n >\r\n <div className=\"container\">\r\n <div className=\"row mer-panel align-items-center justify-content-center\">\r\n <div className=\"col-10 col-sm-7 col-lg-6 order-sm-2 offset-sm-1\">\r\n <div className=\"content mer-text--size-lg\">\r\n <h2 className=\"mer-typography--headline3\">\r\n 2-for-1 tickets for{\" \"}\r\n <span className=\"mer-text--no-wrap\">\r\n Kleenheat customers\r\n </span>\r\n </h2>\r\n\r\n <p>\r\n Use the online discount code <strong>KLEEN25</strong> to\r\n purchase one adult ticket and get another free*. Valid for\r\n all screenings from Saturday 1 February 2025, to Saturday 26\r\n April 2025, so{\" \"}\r\n <a\r\n href=\"https://communitycinemas.com.au/\"\r\n title=\"Purchase tickets in a new tab\"\r\n target=\"_blank\"\r\n className=\"mer-text--no-wrap\"\r\n >\r\n get your tickets now.\r\n </a>\r\n </p>\r\n\r\n <p>Enjoy your movie!</p>\r\n <div>\r\n <small>\r\n <LinkModal\r\n modalContents={modalContents}\r\n useModal=\"true\"\r\n title=\"Terms & Conditions\"\r\n // linkClass=\"\"\r\n displayContent=\"*Terms and conditions apply\"\r\n modalTitle=\"Terms & Conditions\"\r\n modalContentName=\"terms-tcc-two-tickets\"\r\n okayButtonLabel=\"Close\"\r\n />\r\n </small>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div className=\"mer-panel__images col-5 col-sm-3 col-lg-2 order-sm-1\">\r\n <Image\r\n className=\"mer-panel__image\"\r\n src=\"/icons/flowmoji/flowmoji-tickets.svg\"\r\n alt=\"Discount Illustration\"\r\n />\r\n </div>\r\n </div>\r\n </div>\r\n </section>\r\n\r\n {/* support */}\r\n <LayoutPanel\r\n background=\"mer-bg--gs-grey-lighter\"\r\n padding=\"mer-py-lg\"\r\n border=\"mer-border--bottom\"\r\n id=\"support\"\r\n >\r\n <div className=\"container\">\r\n <div className=\"row mer-panel align-items-center justify-content-center\">\r\n <div className=\"mer-panel__images col-10 col-sm-6 order-sm-1\">\r\n <img\r\n src={imgParklands}\r\n className=\"mer-panel__image\"\r\n alt=\"Parklands\"\r\n />\r\n </div>\r\n\r\n <div className=\"content col-10 col-md-5 col-sm-8 order-sm-2 offset-md-1\">\r\n <div className=\"content\">\r\n <h2 className=\"mer-typography--headline4\">\r\n <a\r\n href=\"/blog/community/telethon-community-cinemas-guide\"\r\n title=\"Check out the Telethon Community Cinemas guide\"\r\n >\r\n Your guide to the Telethon Community Cinemas.\r\n </a>\r\n </h2>\r\n <p>\r\n Plan your perfect movie night with our handy audience guide.\r\n We give you the details on snacks, seating, cinema\r\n locations, and more.\r\n </p>\r\n\r\n <div className=\"mer-panel__actions mer-button-group\">\r\n <Link\r\n text=\"Check out the guide\"\r\n link=\"/blog/community/telethon-community-cinemas-guide\"\r\n linkClass=\"mer-button mer-button--primary\"\r\n />\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div className=\"row mer-panel align-items-center justify-content-center mt-3\">\r\n <div className=\"mer-panel__videos col-10 col-sm-6 order-sm-2 offset-md-1\">\r\n <div className=\"mer-panel__video\">\r\n <iframe\r\n src=\"https://player.vimeo.com/video/684051573?title=0&byline=0&portrait=0&badge=0\"\r\n frameBorder=\"0\"\r\n webkitallowfullscreen=\"\"\r\n mozallowfullscreen=\"\"\r\n allowFullScreen=\"\"\r\n data-vimeo-tracked=\"true\"\r\n data-ready=\"true\"\r\n ></iframe>\r\n </div>\r\n </div>\r\n\r\n <div className=\"content col-10 col-md-5 col-sm-8 order-sm-1\">\r\n <div className=\"content\">\r\n <h2 className=\"mer-typography--headline4\">\r\n <a\r\n href=\"/blog/community/telethon-community-cinemas\"\r\n title=\"Click to view the founding of Perth's most affordable outdoor cinema\"\r\n >\r\n The founding of Perth’s most affordable outdoor cinema\r\n experience.\r\n </a>\r\n </h2>\r\n <p>\r\n We met with Ken Gibbons to learn about the beginnings of\r\n Telethon Community Cinemas and how it gives back to the WA\r\n community.\r\n </p>\r\n\r\n <div className=\"mer-panel__actions mer-button-group\">\r\n <Link\r\n text=\"Learn more\"\r\n link=\"/blog/community/telethon-community-cinemas\"\r\n linkTarget=\"_blank\"\r\n linkClass=\"mer-button mer-button--primary\"\r\n />\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </LayoutPanel>\r\n\r\n {/* usp \r\n\t\t\t\t<LayoutPanel background=\"mer-bg--ui-light\"\r\n\t\t\t\t\t\t\tpadding=\"mer-pt-ju\"\r\n\t\t\t\t\t\t\tid=\"giveaways\">\r\n\t\t\t\t\t<div className=\"container\">\r\n\r\n\t\t\t\t\t\t<div className=\"row align-items-center justify-content-center\">\r\n\t\t\t\t\t\t\t<div className=\"col-10 col-sm-8 mer-text--size-lg\">\r\n\t\t\t\t\t\t\t\t<div className=\"content text-center\">\r\n\t\t\t\t\t\t\t\t\t<h1 className=\"mer-color--primary-cyan mer-typography--headline3\">Lights, camera, act - on these great offers.</h1>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t<section data-gatsby-id=\"giveaways-screening\" className=\"d-none\">\r\n\t\t\t\t\t\t\t<Panel data={panelData} \r\n\t\t\t\t\t\t\t\t\tid=\"screening\"\r\n\t\t\t\t\t\t\t\t\timgLocal={imgWrappedPresent}\r\n\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t</section>\r\n\r\n\t\t\t\t\t\t<section data-gatsby-id=\"giveaways-screening-end\">\r\n\t\t\t\t\t\t\t<Panel data={panelData} \r\n\t\t\t\t\t\t\t\t\tid=\"screening-end\"\r\n\t\t\t\t\t\t\t\t\timgLocal={imgWrappedPresent}\r\n\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t</section>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</LayoutPanel>\r\n\t\t\t\t*/}\r\n\r\n <BlogCarousel\r\n id=\"stories\"\r\n title=\"Learn more about Telethon Community Cinemas\"\r\n titleCol=\"col-10\"\r\n // apiQuery=\"?tag=moving-house&posts_per_page=6\"\r\n apiQuery=\"?tag=community-cinemas\"\r\n />\r\n </LayoutMain>\r\n <Footer />\r\n </>\r\n );\r\n}\r\n\r\nexport default TelethonCommunityCinemasPage;\r\n","import React from 'react';\r\n\r\nconst Video = ({videoSrcURL, videoTitle, ...props}) =>(\r\n <iframe \r\n src={videoSrcURL} \r\n title=\"{videoTitle}\"\r\n allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\"\r\n frameBorder =\"0\"\r\n webkitallowfullscreen=\"true\"\r\n mozallowfullscreen=\"true\"\r\n allowFullScreen\r\n />\r\n)\r\n\r\n\r\nexport default Video;\r\n\r\n","import React, { useState, useEffect, useRef } from 'react';\r\nimport Link from 'components/common/Link';\r\nimport Video from 'components/common/Video';\r\nimport { Svg } from 'kh-common-components';\r\nimport {getYoutubeImageUrl, getYoutubeVideoUrl, getVimeoVideoUrl, getVimeoVideoDetail} from 'constants/urls';\r\nimport Axios from 'axios';\r\n\r\nfunction MediaCard(props) {\r\n const [videoPlay, setVideoPlay] = useState(false);\r\n const [vimeoImageUrl, setVimeoImageUrl] = useState('');\r\n \r\n const isYoutubeVideo = (props.mediaPlatform!==undefined && props.mediaPlatform!==null && props.mediaPlatform.toUpperCase()==='YOUTUBE');\r\n const isVimeoVideo = (props.mediaPlatform!==undefined && props.mediaPlatform!==null && props.mediaPlatform.toUpperCase()==='VIMEO');\r\n const imageUrl = isYoutubeVideo? getYoutubeImageUrl(props.mediaSrc) : null;\r\n const videoUrl = isYoutubeVideo? getYoutubeVideoUrl(props.mediaSrc) : null;\r\n const vimeoVideoUrl = isVimeoVideo? getVimeoVideoUrl(props.mediaSrc) : null;\r\n\r\n let hideDescription = props.hideDescription !== undefined ? props.hideDescription : true;\r\n let hideCta = props.hideCta !== undefined ? props.hideCta : true;\r\n\r\n // card container class\r\n const defaultCardContainerClass = `mer-card mer-card-media mdc-card`;\r\n let cardHeight100Class = props.isCardSameHeight !== undefined && props.isCardSameHeight === true ? ` mer-card--height-100` : '';\r\n let cardContainerClass = `${defaultCardContainerClass}${cardHeight100Class}`\r\n\r\n // video container class\r\n const defaultVideoContainerClass = `mer-card__video mdc-card__media`;\r\n const defaultImageContainerClass = `mer-card__video mdc-card__media`;\r\n let disableWidescreen = props.disableWidescreen !== undefined && props.disableWidescreen === true ? '' : ' mdc-card__media--16-9';\r\n let videoContainerClass = `${defaultVideoContainerClass}${disableWidescreen}`;\r\n\r\n const merBtnGrpClass = props.merBtnGrpClass ? props.merBtnGrpClass : 'justify-content-end';\r\n const merBtnLinkClass = props.merBtnLinkClass ? ` ${props.merBtnLinkClass}` : '';\r\n\r\n // orientation\r\n // default: carousel\r\n let orientation = props.orientation !== undefined ? props.orientation : 'carousel';\r\n\r\n // if(isYoutubeVideo){\r\n // console.log('youtube');\r\n // console.log(videoUrl);\r\n // }\r\n \r\n const imageClick = () =>{\r\n setVideoPlay(true);\r\n }\r\n\r\n const fetchData = async () => {\r\n await fetchVimeoVideoData(props.mediaSrc);\r\n };\r\n\r\n const mediaCardRef = useRef(null);\r\n\r\n useEffect(() => {\r\n if (orientation !== 'carousel') {\r\n mediaCardRef.current.className = cardContainerClass\r\n } else {\r\n mediaCardRef.current.parentElement.className = cardContainerClass\r\n }\r\n fetchData();\r\n }, []);\r\n\r\n const fetchVimeoVideoData = async (videoId) => {\r\n if(isVimeoVideo!==undefined && isVimeoVideo!==null && isVimeoVideo &&\r\n videoId!==undefined && videoId!==null && videoId.replace(/ /g, '') !== '' && vimeoImageUrl===''){\r\n try {\r\n const url =getVimeoVideoDetail(videoId);\r\n const videoData = await Axios(url); \r\n // console.log('video data')\r\n // console.log(videoData);\r\n setVimeoImageUrl(videoData.data[0].thumbnail_large);\r\n return videoData;\r\n \r\n } catch (error) {\r\n console.log('Error getting video details');\r\n }\r\n }\r\n return null;\r\n }\r\n \r\n return (\r\n <div ref={mediaCardRef} className=\"mer-card-media-react__container\">\r\n {\r\n props.mediaType === 'video' && !videoPlay && !isVimeoVideo &&\r\n <div className={videoContainerClass} style={{'backgroundImage': `url(${imageUrl})`}} onClick={() => imageClick()} role=\"button\" tabIndex={0}>\r\n <div className=\"mdc-card__media-content mer-card__media-content--play\">\r\n <Svg title=\"Play video\" \r\n icon=\"play\" />\r\n </div>\r\n </div>\r\n }\r\n\r\n {\r\n props.mediaType === 'video' && !videoPlay && isVimeoVideo &&\r\n <div className={videoContainerClass} style={{'backgroundImage': `url(${vimeoImageUrl})`}} onClick={() => imageClick()} role=\"button\" tabIndex={0}>\r\n <div className=\"mdc-card__media-content mer-card__media-content--play\">\r\n <Svg title=\"Play video\" \r\n icon=\"play\" />\r\n </div>\r\n </div>\r\n }\r\n\r\n {\r\n props.mediaType === 'video' && videoPlay && !isVimeoVideo &&\r\n <div className={videoContainerClass}>\r\n <Video videoSrcURL={videoUrl} videoTitle={props.title} />\r\n </div>\r\n }\r\n\r\n {\r\n props.mediaType === 'video' && videoPlay && isVimeoVideo &&\r\n <div className={videoContainerClass}>\r\n <Video videoSrcURL={vimeoVideoUrl} videoTitle={props.title} />\r\n </div>\r\n }\r\n\r\n {\r\n props.mediaType === 'photo' && props.id !== 'helpCentre' && !props.hideCta &&\r\n <a href={props.link} alt={props.title} className=\"mdc-card__media mer-card__media-link mdc-card__media--16-9\" style={{'backgroundImage': `url(${props.mediaSrc})`}}></a>\r\n }\r\n\r\n {\r\n props.mediaType === 'photo' && props.id !== 'helpCentre' && props.hideCta &&\r\n <div className=\"mdc-card__media mer-card__media-link mdc-card__media--16-9\" style={{'backgroundImage': `url(${props.mediaSrc})`}}></div>\r\n }\r\n\r\n {\r\n props.mediaType === 'square' && props.id !== 'helpCentre' && props.hideCta &&\r\n <div className={`mdc-card__media mdc-card__media--square ${props.mediaCardLink ? 'mer-card__media-link' : ''}`} style={{'backgroundImage': `url(${props.mediaSrc})`}}></div>\r\n }\r\n\r\n { (props.subtitle || props.title) && \r\n <div className=\"mer-card-primary-action\">\r\n {props.subtitle &&\r\n <h5 className=\"mer-card__subtitle\">{props.subtitle}</h5>\r\n }\r\n\r\n {props.title &&\r\n <h4 className=\"mer-card__title\">\r\n {!props.hideCta &&\r\n <Link text={props.title}\r\n link={props.link}\r\n emptyclass=\"true\" />\r\n }\r\n {props.hideCta &&\r\n props.title\r\n }\r\n </h4>\r\n }\r\n\r\n\r\n {!!(props.id !== 'helpCentre' || props.id === 'helpCentre' & props.mediaType !== 'video') && !props.hideDescription &&\r\n <div className=\"mer-card__body\">\r\n <p className=\"mer-card__body-text\">{props.description}</p>\r\n </div>\r\n }\r\n </div>\r\n }\r\n\r\n {!!(props.id !== 'helpCentre' || props.id === 'helpCentre' & props.mediaType !== 'video') && !props.hideCta &&\r\n <div className=\"mer-card-action-container mdc-card__actions\">\r\n <div className={`mer-button-group ${merBtnGrpClass}`}>\r\n <Link text={props.ctaText}\r\n link={props.ctaLink ? props.ctaLink : props.link}\r\n linkClass={`mer-button mer-button--secondary mdc-card__action${merBtnLinkClass}`} />\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n );\r\n}\r\n\r\nexport default MediaCard;","import React, {useState, useEffect} from 'react';\r\n\r\nimport LayoutPanel from \"components/layout/layoutPanel\";\r\nimport Link from 'components/common/Link';\r\nimport Carousel from 'components/common/Carousel';\r\n\r\nimport { mermaidFlowmojiBgUrl } from 'constants/urls';\r\n\r\nimport fetchBlogData from 'constants/fetchBlogData';\r\n\r\nfunction BlogCarousel (props) {\r\n\r\n\tconst [blogPosts, setPosts] = useState([]);\r\n\tconst hidePanelImgBg = props.hidePanelImgBg ? true : false;\r\n\tconst panelBg = props.panelBg ? props.panelBg : 'mer-theme--light mer-bg--ui-light';\r\n\tconst panelSpacing = props.panelSpacing ? props.panelSpacing : 'mer-py-lg';\r\n\r\n useEffect(() => {\r\n\r\n \tlet apiQuery = (props.apiQuery) ? props.apiQuery : '';\r\n\t\tconst blogData = (props.blogData) ? props.blogData : '';\r\n\r\n const fetchData = async () => {\r\n setPosts( await fetchBlogData(`/apis/seahorse/blogs/${apiQuery}`));\r\n };\r\n\t\t\r\n\t\tif (blogData) {\r\n\t\t\tsetPosts(blogData);\r\n\t\t} else {\r\n \tfetchData();\r\n\t\t}\r\n }, []);\r\n\r\n\treturn (\r\n\r\n\t\t<>\r\n\t\t\t{ !!(Array.isArray(blogPosts) && blogPosts.length && blogPosts.length>0) &&\r\n\t\t\t\t<>\r\n\t\t\t\t\t<LayoutPanel background={panelBg}\r\n\t \t\t padding={panelSpacing}\r\n\t \t\t border={props.panelBorder}\r\n\t \t\t inlineStyle={{ backgroundImage: hidePanelImgBg ? '' : `url(${mermaidFlowmojiBgUrl})`,\r\n\t \t\t \t\t\t\tbackgroundRepeat: hidePanelImgBg ? '' : 'repeat',\r\n\t \t\t \t\t\t\tbackgroundSize: hidePanelImgBg ? '' : '60vh' }}>\r\n\t\t\t\t\t\t{props.title && \r\n\t\t\t\t\t\t\t<div className=\"container\">\r\n\t\t\t\t\t\t\t\t<div className=\"row justify-content-center\">\r\n\t\t\t\t\t\t\t\t\t<div className={`${props.titleCol ? props.titleCol : 'col-5'} content mer-text--align-center`}>\r\n\t\t\t\t\t\t\t\t\t\t<h3 className={`${props.titleHeadingClass ? props.titleHeadingClass : ''} mb-0`}>{props.title}</h3>\r\n\r\n\t\t\t\t\t\t\t\t\t\t{props.description &&\r\n\t\t\t\t\t\t\t\t\t\t\t<div>{props.description}</div>\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t}\r\n\r\n\t\t <Carousel equalHeight={true} \r\n\t\t data={blogPosts}\r\n\t\t\t\t\t\t\t\t merBtnGrpClass={props.merBtnGrpClass}\r\n\t\t\t\t\t\t\t\t merBtnLinkClass={props.merBtnLinkClass}\r\n\t\t\t\t\t\t\t\t slidesToShow={props.slidesToShow}/>\r\n\r\n\t\t {props.ctaText !== undefined && props.ctaLink !== undefined && \r\n\t\t \t<div className=\"container\">\r\n\t\t\t <div className={`${props.ctaContainerClass ? props.ctaContainerClass : 'row justify-content-center mer-pt-de'}`}>\r\n\t\t\t <div className={`${props.ctaClass ? props.ctaClass : 'col-10 content text-center'}`}>\r\n\t\t\t\t\t\t\t\t\t\t<h5 className={`${props.ctaHeadingClass ? props.ctaHeadingClass : ''}`}>\r\n\t\t\t\t\t\t\t\t\t\t\t<Link text={`${props.ctaText ? props.ctaText : 'Find more stories on our blog'}`} \r\n\t\t\t\t\t\t\t\t\t\t\t\tlink={`${props.ctaLink ? props.ctaLink : '/blog'}`}\r\n\t\t\t\t\t\t\t\t\t\t\t\tlinkClass={`${props.ctaLinkClass ? props.ctaLinkClass : ''}`}\r\n\t\t\t\t\t\t\t\t\t\t\t\tlinkTarget={`${props.ctaLinkTarget ? props.ctaLinkTarget : ''}`}\r\n\t\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t</h5>\r\n\t\t\t </div>\r\n\t\t\t </div>\r\n\t\t\t </div>\r\n\t\t }\r\n\t\t </LayoutPanel>\r\n\t\t </>\r\n\t\t\t}\r\n\t\t</>\r\n\t);\r\n}\r\n\r\nexport default BlogCarousel;","import React from 'react';\r\nimport Slider from 'react-slick';\r\nimport MediaCard from 'components/common/MediaCard';\r\n\r\n\r\nfunction Carousel (props) {\r\n// console.log(props);\r\n let defaultCarouselClass = 'mer-media-card-carousel mer-media-card-carousel-react';\r\n let carouselIsHeightEqual = props.equalHeight !== undefined && props.equalHeight ? ' mer-slick-slider--height-equal' : '';\r\n let carouselClass = defaultCarouselClass + carouselIsHeightEqual;\r\n let carouselSettingInfinite = false;\r\n\r\n let isRunTime = props.isRunTime;\r\n let relatedMediaCarousel = null;\r\n let displaySlides = props.slidesToShow !== undefined && props.slidesToShow ? parseInt(props.slidesToShow) : 5;\r\n let useLazyLoad = displaySlides >= 5 ? true : false;\r\n\r\n if ( isRunTime!==undefined && isRunTime!==null && isRunTime===true)\r\n {\r\n // relatedMediaCarousel = props.data.content.filter(x => x.id === mediaCarouselId);\r\n } else {\r\n relatedMediaCarousel = props.data;\r\n\r\n let relatedMediaCarouselItems = props.data.length;\r\n\r\n if (relatedMediaCarouselItems > 4) {\r\n carouselSettingInfinite = true;\r\n }\r\n }\r\n\r\n const settings = {\r\n // rows: 0, // causes memory leak\r\n // lazyLoad: useLazyLoad, \r\n arrows: false,\r\n dots: true,\r\n infinite: carouselSettingInfinite,\r\n swipeToSlide: true,\r\n draggable: true,\r\n\r\n speed: 800,\r\n slidesToShow: displaySlides,\r\n\r\n slidesToScroll: 1,\r\n centerMode: true,\r\n centerPadding: '128px',\r\n \r\n dotsClass: 'd-flex slick-dots',\r\n className: carouselClass,\r\n\r\n responsive: [\r\n {\r\n breakpoint: 1920,\r\n settings: {\r\n slidesToShow: 4,\r\n centerMode: true,\r\n centerPadding: '96px'\r\n }\r\n },\r\n {\r\n breakpoint: 1680,\r\n settings: {\r\n infinite: true,\r\n slidesToShow: 3,\r\n centerMode: true,\r\n centerPadding: '96px'\r\n }\r\n },\r\n {\r\n breakpoint: 1200,\r\n settings: {\r\n infinite: true,\r\n slidesToShow: 2,\r\n centerMode: true,\r\n centerPadding: '96px'\r\n }\r\n },\r\n {\r\n breakpoint: 768,\r\n settings: {\r\n infinite: true,\r\n slidesToShow: 2,\r\n centerMode: true,\r\n centerPadding: '48px'\r\n }\r\n },\r\n {\r\n breakpoint: 640,\r\n settings: {\r\n infinite: true,\r\n slidesToShow: 1,\r\n centerMode: true,\r\n centerPadding: '128px'\r\n }\r\n },\r\n {\r\n breakpoint: 512,\r\n settings: {\r\n infinite: true,\r\n slidesToShow: 1,\r\n centerMode: true,\r\n centerPadding: '96px'\r\n }\r\n },\r\n {\r\n breakpoint: 448,\r\n settings: {\r\n infinite: true,\r\n slidesToShow: 1,\r\n centerMode: true,\r\n centerPadding: '48px'\r\n }\r\n }\r\n ]\r\n };\r\n\r\n return (\r\n <React.Fragment>\r\n\r\n <Slider {...settings}>\r\n {relatedMediaCarousel !== undefined && relatedMediaCarousel!==null && relatedMediaCarousel &&\r\n props.data.map((media, index) => {\r\n return (\r\n <MediaCard key={index}\r\n {...media}\r\n id={props.id}\r\n merBtnGrpClass={props.merBtnGrpClass}\r\n merBtnLinkClass={props.merBtnLinkClass}\r\n />\r\n )\r\n })\r\n }\r\n {\r\n relatedMediaCarousel===null &&\r\n props.data.map((media,index) =>{\r\n return (\r\n <MediaCard key={index}\r\n {...media}\r\n id={props.id}\r\n merBtnGrpClass={props.merBtnGrpClass}\r\n merBtnLinkClass={props.merBtnLinkClass}\r\n />\r\n )\r\n })\r\n }\r\n \r\n </Slider>\r\n </React.Fragment>\r\n );\r\n}\r\n\r\nexport default Carousel;","'use strict';\r\n\r\n\r\n//--Please note, use lowercase for the name as the calls will be using lowercase.\r\nexport const modalContents = [\r\n {\r\n name: 'terms-directdebit',\r\n contentType: 'url',\r\n content: 'policies/direct-debit-terms-conditions',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'rac-ng-terms',\r\n contentType: 'url',\r\n content: '/rac/ng-terms-conditions',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'rac50-ng-terms',\r\n contentType: 'url',\r\n content: '/rac/ng50-terms-conditions',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'racbonus50-ng-terms',\r\n contentType: 'url',\r\n content: '/rac/natural-gas/racbonus50ng-terms-conditions',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'racbonus50-ng-plans-terms',\r\n contentType: 'url',\r\n content: '/rac/natural-gas/racbonus50ng-plans-terms-conditions',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'rac38and50-ng-terms',\r\n contentType: 'url',\r\n content: '/rac/natural-gas/rac38and50ng-terms-conditions',\r\n selector: '[id=main] div[class=content]'\r\n }, \r\n {\r\n name: 'rac38and50-ng-plans-terms',\r\n contentType: 'url',\r\n content: '/rac/natural-gas/rac38and50ng-plans-terms-conditions',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'rac-offer-end-terms',\r\n contentType: 'url',\r\n content: '/rac/offer-end-terms',\r\n selector: '[id=main] div[class=content]'\r\n }, \r\n {\r\n name: 'value-rac-kleenheat',\r\n contentType: 'url',\r\n content: '/help/rewards-offers/value-rac-kleenheat',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'rac-lpg-terms',\r\n contentType: 'url',\r\n content: '/rac/lpg-terms-conditions',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'flybuys-terms',\r\n contentType: 'url',\r\n content: 'natural-gas/rewards/flybuys-terms-conditions',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'terms-tcc-two-tickets',\r\n contentType: 'url',\r\n content: '/about/community/telethon-community-cinemas/terms',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'waseniors-terms',\r\n contentType: 'url',\r\n content: 'natural-gas/rewards/waseniors-terms-conditions',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'secure_payment',\r\n contentType: 'html',\r\n content:\r\n '<p>Your payment information is confidentially transmitted to a secure payment processing service, to provide additional protection to your sensitive information.</p>',\r\n selector: ''\r\n },\r\n {\r\n name: 'no_rac_number',\r\n contentType: 'html',\r\n content:\r\n '<p>Don\\'t have RAC Number</p>',\r\n selector: ''\r\n },\r\n {\r\n name: 'monthly_instalments',\r\n contentType: 'iframe',\r\n content:\r\n '//www.youtube.com/embed/gda5tA5p-Yk?wmode=opaque&rel=0&showinfo=0&modestbranding=1&controls=2&autohide=1&enablejsapi=1',\r\n selector: ''\r\n },\r\n {\r\n name: 'why_dob',\r\n content: 'We\\'ll use your date of birth to verify your identity when you contact customer service and to check your eligibility for certain products or offers. We also compile data on the age of our customers to better understand how to meet customer needs.'\r\n },\r\n {\r\n name: 'standard_prices_and_fees',\r\n contentType: 'url',\r\n content: '/natural-gas/plans-and-pricing/natural-gas-standard-prices-fees',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'flybuys_plan_terms_conditions',\r\n contentType: 'url',\r\n content: '/flybuys/plan-terms-conditions',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'flybuys_dollar_spend_terms_conditions',\r\n contentType: 'url',\r\n content: '/flybuys/dollar-spend-terms-conditions',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'flybuys_10k_terms_conditions',\r\n contentType: 'url',\r\n content: '/flybuys/10k-terms-conditions',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'plan_details_and_terms_1',\r\n contentType: 'url',\r\n content: '/natural-gas/plans-and-pricing/standard-form-contract',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'plan_details_and_terms_2',\r\n contentType: 'url',\r\n content: '/natural-gas/plans-and-pricing/monthly-smart-saver-plan-details',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'plan_details_and_terms_2_summer',\r\n contentType: 'url',\r\n content: '/natural-gas/plans-and-pricing/monthly-smart-saver-plan-details?promo-discount=35&promo-duration=12',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'plan_details_and_terms_2_flybuys_march_offer',\r\n contentType: 'url',\r\n content: '/natural-gas/plans-and-pricing/monthly-smart-saver-plan-details?promo-discount=35&promo-duration=12',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'plan_details_and_terms_537',\r\n contentType: 'url',\r\n content: '/natural-gas/plans-and-pricing/monthly-energiser-plan-details',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'plan_details_and_terms_rac_1',\r\n contentType: 'url',\r\n content: '/natural-gas/plans-and-pricing/standard-form-contract?promo-discount=15.5',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'plan_details_and_terms_rac_2',\r\n contentType: 'url',\r\n content: '/natural-gas/plans-and-pricing/monthly-smart-saver-plan-details?promo-discount=28',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'plan_details_and_terms_rac_2_summer',\r\n contentType: 'url',\r\n content: '/natural-gas/plans-and-pricing/monthly-smart-saver-plan-details?promo-discount=38&promo-duration=12',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'plan_details_and_terms_rac_537',\r\n contentType: 'url',\r\n content: '/natural-gas/plans-and-pricing/monthly-energiser-plan-details?promo-discount=38',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'flybuys',\r\n contentType: 'html',\r\n content:\r\n '<ul><li> Log in to My Account</li><li>Under the \"My Details\" tab, click \"Rewards\"</li> <li>Enter your flybuys membership number and click \"Save details\"</li></ul><p>That\\'s it! Your bonus will be reflected in your next Kleenheat invoice.</p><p>For the moment, you can sign up without adding your flybuys number.</p>',\r\n selector: ''\r\n },\r\n {\r\n name: 'rac',\r\n contentType: 'html',\r\n content:\r\n '<ul><li> Log in to My Account</li><li>Under the \"My Details\" tab, click \"Rewards\"</li> <li>Enter your RAC membership number and click \"Save details\"</li></ul> <p>That\\'s it! Any further discounts you qualify for will be reflected in your next Kleenheat invoice.</p>',\r\n selector: ''\r\n },\r\n {\r\n name: 'switchplans',\r\n contentType: 'html',\r\n content: '<p>Looks like you\\'re looking to apply our _displayText_ bonus on _currentPlan_. We think you might get better long term value by applying this offer against our _newPlan_ plan.</p> <p>Would you like to apply this bonus to the _newPlan_ plan instead?</p>',\r\n selector: ''\r\n },\r\n {\r\n name: 'promopartner',\r\n contentType: 'html',\r\n content: '<p>Are you a _membership_ member?</p>',\r\n selector: ''\r\n },\r\n {\r\n name: 'what_monthly_instalments',\r\n contentType: 'url',\r\n content: 'natural-gas/plans-and-pricing/monthly-instalments/what-are-monthly-instalments',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'non_standard_terms',\r\n contentType: 'url',\r\n content: 'natural-gas/plans-and-pricing/',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'gas_service_terms',\r\n contentType: 'url',\r\n content: 'gas-service-data-terms-conditions',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'privacy_policy',\r\n contentType: 'url',\r\n content: 'policies/privacy-policy',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'collection_of_information_terms',\r\n contentType: 'url',\r\n content: 'policies/collection-of-information-statement',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'hint_find_address',\r\n contentType: 'url',\r\n content: 'help/signing-up/cant-find-address',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'lpg_acquisition_offer',\r\n contentType: 'url',\r\n content: '/lpg/new-customer/lpg-save30-terms-conditions',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'lpg_order_terms',\r\n contentType: 'url',\r\n content: '/policies/online-ordering-discount-terms-conditions',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'employee_discount_offer_terms',\r\n contentType: 'html',\r\n content: '<p>40% off the usage component of the standard tariff for 12 months when selecting the Monthly Energiser Plan (new and existing customers) or the Monthly Smart Saver plan (existing customers only). Offer is only available to WA residential customers in areas where Kleenheat supplies natural gas. Your application must be accepted by Kleenheat. This offer may be extended, cancelled or changed at any time at the discretion of Kleenheat.</p>',\r\n selector: ''\r\n },\r\n {\r\n name: 'family_friends_offer_terms',\r\n contentType: 'html',\r\n content: '<p>40% off the usage component of the standard tariff for 12 months when selecting the Monthly Energiser Plan (new and existing customers) or the Monthly Smart Saver plan (existing customers only). Offer is only available to WA residential customers in areas where Kleenheat supplies natural gas. Your application must be accepted by Kleenheat. This offer may be extended, cancelled or changed at any time at the discretion of Kleenheat. This offer cannot be used in conjunction with any other promotional offer. Other terms, conditions, fees and charges apply.</p>',\r\n selector: ''\r\n },\r\n {\r\n name: 'comp_dyson_terms',\r\n contentType: 'url',\r\n content: '/terms-conditions/dyson-competition',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'fringe_world_voucher_giveaway_terms',\r\n contentType: 'url',\r\n content: '/terms-conditions/fringe-voucher-giveaway',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'terms-carbonoffset-opt-in',\r\n contentType: 'url',\r\n content: '/about/carbon-offset/terms',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'flybuys-march-offer-terms-conditions',\r\n contentType: 'html',\r\n content: \"<h3>Kleenheat 10,000 Flybuys bonus points sign up Offer</h3><p>This offer is only available to Western Australian residents where Kleenheat is available as a natural gas retailer. This offer is available to new Kleenheat customers only and is available from 27 March 2025 to 30 April 2025 (Promotional Period).</p><p>To receive the 10,000 Flybuys bonus points, you must be a Flybuys member, sign up for the Kleenheat Monthly Smart Saver plan via <a href='/natural-gas' target='_blank'>kleenheat.com.au/natural-gas</a> within the 'Promotional Period’ and enter your valid Flybuys membership number during the signup process. Kleenheat must accept your application, and you must remain a Kleenheat natural gas customer for a minimum period of 90 days.</p><p>The 10,000 Flybuys bonus points are not transferable to another Flybuys membership number and will be allocated to your linked Flybuys account 90 days after the application is accepted, provided you are still a Kleenheat natural gas customer then. This offer cannot be used in conjunction with any other promotional code offer.</p><p>Each Kleenheat account is only eligible for one allocation of 10,000 bonus points to one Flybuys membership.</p><p>10,000 Flybuys bonus points are not redeemable for cash. Flybuys' <a href='https://experience.flybuys.com.au/policies/privacy-policy' target='_blank'>privacy policy</a> applies. Standard Flybuys terms and conditions apply and are available at <a href='https://flybuys.com.au' target='_blank'>flybuys.com.au</a>.</p><h3>Kleenheat 35% off gas usage charges for 12 months</h3><p>35% off the usage component of the standard tariff for 12 months when selecting the Monthly Smart Saver Plan. Other terms, conditions, fees and charges apply. See <a href='/natural-gas' target='_blank'>https://www.kleenheat.com.au/natural-gas</a> for further details.</a></p><h3>Flybuys points on natural gas spend</h3><p>Kleenheat residential natural gas customers who link their Flybuys membership number to their Kleenheat account will be issued with one (1) Flybuys point for every whole dollar billed and paid on their residential natural gas account with Kleenheat. To be eligible to earn Flybuys points, customers must have an active Flybuys membership. This offer may be extended or cancelled at the discretion of Kleenheat. This offer is sent by Flybuys. Flybuys’ <a href='https://experience.flybuys.com.au/policies/privacy-policy' target='_blank'>privacy policy</a> applies. Standard Flybuys Terms and Conditions apply and are available at <a href='https://flybuys.com.au' target='_blank'>flybuys.com.au</a>.</p>\",\r\n selector: ''\r\n },\r\n {\r\n name: 'flybuys20x_terms_conditions',\r\n contentType: 'url',\r\n content: '/flybuys-20x-offer/flybuys-20x-offer-terms-conditions',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'flybuys10x_terms_conditions',\r\n contentType: 'url',\r\n content: '/flybuys-10x-offer/flybuys-10x-offer-terms-conditions',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'flybuys-win-terms',\r\n contentType: 'url',\r\n content: '/flybuys-win/flybuys-win-terms-conditions',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'flybuys-win-1m-terms',\r\n contentType: 'url',\r\n content: '/flybuys-win-1m/flybuys-giveaway-terms-and-conditions',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'business_case_study_varsity',\r\n contentType: 'video',\r\n content:\r\n '<iframe class=\"mer-dialog__video\" src=\"//player.vimeo.com/video/714320164?color=009ee3&title=0&byline=0&portrait=0\" allowFullScreen=\"true\" frameBorder=\"0\" width=\"100%\" height=\"100%\"></iframe>'\r\n },\r\n {\r\n name: 'business_case_study_windward',\r\n contentType: 'video',\r\n content:\r\n '<iframe class=\"mer-dialog__video\" src=\"//player.vimeo.com/video/725523183?color=009ee3&title=0&byline=0&portrait=0\" allowFullScreen=\"true\" frameBorder=\"0\" width=\"100%\" height=\"100%\"></iframe>'\r\n },\r\n {\r\n name: 'flybuys-2x-terms',\r\n contentType: 'url',\r\n content: '/flybuys-2x-offer-terms-conditions',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'flybuys-5x-terms',\r\n contentType: 'url',\r\n content: '/flybuys-5x-offer-terms-conditions',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'summer-terms',\r\n contentType: 'url',\r\n content: '/natural-gas/rewards/summer-terms-and-conditions',\r\n selector: '[id=main] div[class=content]'\r\n },\r\n {\r\n name: 'terms-2-for-1-freo-3-game-passes',\r\n contentType: 'html',\r\n content: `\r\n <ul>\r\n <li>\r\n Offer runs until 11.59pm WST on Wednesday 30 April 2025, unless otherwise withdrawn prior by Fremantle Football Club at its discretion.\r\n </li>\r\n <li>\r\n Offer is valid for two adult 3 Game Passes per transaction.\r\n </li>\r\n <li>\r\n Ticket redemption via Ticketmaster is required to access games, subject to availability.*\r\n </li>\r\n <li>\r\n Full inclusions and further information available at <a href=\"https://membership.fremantlefc.com.au/membership/3-game-pass\" target=\"_blank\">https://membership.fremantlefc.com.au/membership/3-game-pass</a>.\r\n <br>\r\n <small>*excludes RAC Derby</small>\r\n </li>\r\n </ul>\r\n `,\r\n selector: ''\r\n }\r\n];"],"sourceRoot":""}