vendor: 4,370 bytes, line 1
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6964],{94184:function(t,e){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var t=[],e=0;e<arguments.length;e++){var n=arguments[e];if(n){var o=typeof n;if("string"===o||"number"===o)t.push(n);else if(Array.isArray(n)&&n.length){var a=i.apply(null,n);a&&t.push(a)}else if("object"===o)for(var c in n)r.call(n,c)&&n[c]&&t.push(c)}}return t.join(" ")}t.exports?(i.default=i,t.exports=i):void 0===(n=function(){return i}.apply(e,[]))||(t.exports=n)}()},27484:function(t){t.exports=function(){"use strict";var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",o="minute",a="hour",c="day",u="week",s="month",l="quarter",d="year",f="date",p="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,w=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},v=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},y={s:v,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+v(r,2,"0")+":"+v(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,s),o=n-i<0,a=e.clone().add(r+(o?-1:1),s);return+(-(r+(n-i)/(o?i-a:a-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:s,y:d,w:u,d:c,D:f,h:a,m:o,s:i,ms:r,Q:l}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",b={};b[g]=m;var x=function(t){return t instanceof j},_=function(t,e,n){var r;if(!t)return g;if("string"==typeof t)b[t]&&(r=t),e&&(b[t]=e,r=t);else{var i=t.name;b[i]=t,r=i}return!n&&r&&(g=r),r||!n&&g},k=function(t,e){if(x(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new j(n)},$=y;$.l=_,$.i=x,$.w=function(t,e){return k(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var j=function(){function m(t){this.$L=_(t.locale,null,!0),this.parse(t)}var v=m.prototype;return v.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if($.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(h);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},v.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},v.$utils=function(){return $},v.isValid=function(){return!(this.$d.toString()===p)},v.isSame=function(t,e){var n=k(t);return this.startOf(e)<=n&&n<=this.endOf(e)},v.isAfter=function(t,e){return k(t)<this.startOf(e)},v.isBefore=function(t,e){return this.endOf(e)<k(t)},v.$g=function(t,e,n){return $.u(t)?this[e]:this.set(n,t)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(t,e){var n=this,r=!!$.u(e)||e,l=$.p(t),p=function(t,e){var i=$.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(c)},h=function(t,e){return $.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},w=this.$W,m=this.$M,v=this.$D,y="set"+(this.$u?"UTC":"");switch(l){case d:return r?p(1,0):p(31,11);case s:return r?p(1,m):p(0,m+1);case u:var g=this.$locale().weekStart||0,b=(w<g?w+7:w)-g;return p(r?v-b:v+(6-b),m);case c:case f:return h(y+"Hours",0);case a:return h(y+"Minutes",1);case o:return h(y+"Seconds",2);case i:return h(y+"Milliseconds",3);default:return this.clone()}},v.endOf=function(t){return this.startOf(t,!1)},v.$set=function(t,e){var n,u=$.p(t),l="set"+(this.$u?"UTC":""),p=(n={},n[c]=l+"Date",n[f]=l+"Date",n[s]=l+"Month",n[d]=l+"FullYear",n[a]=l+"Hours",n[o]=l+"Minutes",n[i]=l+"Seconds",n[r]=l+"Milliseconds",n)[u],h=u===c?this.$D+(e-this.$W):e;if(u===s||u===d){var w=this.clone().set(f,1);w.$d[p](h),w.init(),this.$d=w.set(f,Math.min(this.$D,w.daysInMonth())).$d}
1else p&&this.$d[p](h);return this.init(),this},v.set=function(t,e){return this.clone().$set(t,e)},v.get=function(t){return this[$.p(t)]()},v.add=function(r,l){var f,p=this;r=Number(r);var h=$.p(l),w=function(t){var e=k(p);return $.w(e.date(e.date()+Math.round(t*r)),p)};if(h===s)return this.set(s,this.$M+r);if(h===d)return this.set(d,this.$y+r);if(h===c)return w(1);if(h===u)return w(7);var m=(f={},f[o]=e,f[a]=n,f[i]=t,f)[h]||1,v=this.$d.getTime()+r*m;return $.w(v,this)},v.subtract=function(t,e){return this.add(-1*t,e)},v.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=$.z(this),o=this.$H,a=this.$m,c=this.$M,u=n.weekdays,s=n.months,l=function(t,n,i,o){return t&&(t[n]||t(e,r))||i[n].substr(0,o)},d=function(t){return $.s(o%12||12,t,"0")},f=n.meridiem||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r},h={YY:String(this.$y).slice(-2),YYYY:this.$y,M:c+1,MM:$.s(c+1,2,"0"),MMM:l(n.monthsShort,c,s,3),MMMM:l(s,c),D:this.$D,DD:$.s(this.$D,2,"0"),d:String(this.$W),dd:l(n.weekdaysMin,this.$W,u,2),ddd:l(n.weekdaysShort,this.$W,u,3),dddd:u[this.$W],H:String(o),HH:$.s(o,2,"0"),h:d(1),hh:d(2),a:f(o,a,!0),A:f(o,a,!1),m:String(a),mm:$.s(a,2,"0"),s:String(this.$s),ss:$.s(this.$s,2,"0"),SSS:$.s(this.$ms,3,"0"),Z:i};return r.replace(w,(function(t,e){return e||h[t]||i.replace(":","")}))},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(r,f,p){var h,w=$.p(f),m=k(r),v=(m.utcOffset()-this.utcOffset())*e,y=this-m,g=$.m(this,m);return g=(h={},h[d]=g/12,h[s]=g,h[l]=g/3,h[u]=(y-v)/6048e5,h[c]=(y-v)/864e5,h[a]=y/n,h[o]=y/e,h[i]=y/t,h)[w]||y,p?g:$.a(g)},v.daysInMonth=function(){return this.endOf(s).$D},v.$locale=function(){return b[this.$L]},v.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=_(t,e,!0);return r&&(n.$L=r),n},v.clone=function(){return $.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},m}(),O=j.prototype;return k.prototype=O,[["$ms",r],["$s",i],["$m",o],["$H",a],["$W",c],["$M",s],["$y",d],["$D",f]].forEach((function(t){O[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),k.extend=function(t,e){return t.$i||(t(e,j,k),t.$i=!0),k},k.locale=_,k.isDayjs=x,k.unix=function(t){return k(1e3*t)},k.en=b[g],k.Ls=b,k.p={},k}()},89179:function(t,e,n){var r=n(55639),i=n(40554),o=n(14841),a=n(79833),c=r.isFinite,u=Math.min;t.exports=function(t){var e=Math[t];return function(t,n){if(t=o(t),(n=null==n?0:u(i(n),292))&&c(t)){var r=(a(t)+"e").split("e"),s=e(r[0]+"e"+(+r[1]+n));return+((r=(a(s)+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}},14293:function(t){t.exports=function(t){return null==t}},59854:function(t,e,n){var r=n(89179)("round");t.exports=r},80924:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/widget/product",function(){return n(12511)}])},1682:function(t,e,n){"use strict";n.d(e,{Z:function(){return w}});var r=n(85893),i=(n(67294),n(14416)),o=n(27361),a=n.n(o),c=n(74952),u=n(81993),s=n(98387),l=n(86010),d=n(33850),f=n(76517),p={xl:80,lg:72,md:64,sm:56},h=function(t){var e=t.imageUrl,n=void 0===e?"":e,i=t.title,o=void 0===i?"":i,a=t.rating,h=t.reviewsCount,w=void 0===h?0:h,m=t.productUrl,v=void 0===m?"":m,y=t.variant,g=void 0===y?"sm":y,b=t.claimed,x=void 0!==b&&b,_=t.onTitleClick,k=void 0===_?function(){}:_,$=a&&a.toFixed(1)||"No rating yet",j="".concat(w||0," Reviews"),O=(0,f.Z)();return(0,r.jsxs)("div",{className:(0,l.default)("flex gap-2 items-center"),children:[(0,r.jsx)("img",{src:n,alt:o,className:(0,l.default)("max-w-full h-auto rounded border border-neutral-400 border-solid",("sm"===g||"widget"===g)&&"min-w-[56px] min-h-[56px]","md"===g&&"min-w-[64px] min-h-[64px]","lg"===g&&"min-w-[72px] min-h-[72px]","xl"===g&&"min-w-[80px] min-h-[80px]"),height:p[g],width:p[g]}),(0,r.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,r.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,r.jsx)(s.Z,{lines:2,children:v?(0,r.jsx)("a",{className:(0,l.default)("sm"===g||"md"===g&&"text-sm","widget"===g&&"text-sm","lg"===g&&"text-base","xl"===g&&"text-xl","font-bold underline"),target:"_blank",href:v,rel:"noopener noreferrer","data-testid":"product-item",onClick:k,children:(0,r.jsx)("h2",{className:"widget"===g&&"w-[210px] text-ellipsis whitespace-nowrap overflow-hidden",children:o})}):(0,r.jsx)("p",{className:(0,l.default)("sm"===g||"md"===g&&"text-sm","widget"===g&&"text-sm","lg"===g&&"text-base","xl"===g&&"text-xl","font-bold"),children:(0,r.jsx)("h2",{className:"widget"===g&&"w-[210px] text-ellipsis whitespace-nowrap overflow-hidden",children:o})})}),x&&(0,r.jsx)(c.u,{showToolTip:!O,placement:"top",renderTriggerButton:function(){return(0,r.jsx)("img",{src:d.sQ.verifiedInverted,alt:"Verified Account"})},renderToolTipBody:function(){return(0,r.jsx)("div",{className:"flex flex-wrap text-center",children:"A Verified Blue Tick confirms that the official company manages this product/service on Seedly."})}})]}),(0,r.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,r.jsx)("p",{className:"text-sm font-bold text-green-500",children:$}),Boolean(a)&&(0,r.jsx)(u.Z,{size:14,disabled:!0,starMargin:"4px 0 0 0",defaultValue:a}),(0,r.jsx)("div",{className:"vertical-divider"}),(0,r.jsx)("p",{children:j})]})]})]})},w=function(t){var e=t.product,n=t.variant,o=void 0===n?"sm":n,c=t.customProductUrl,u=t.disableLink,s=t.onTitleClick,l=void 0===s?function(){}:s,d=e.slug,f=e.categoryId,p=e.name,w=e.rating,m=e.reviewsCount,v=e.logo,y=e.claimed,g=(0,i.v9)((function(t){return t.product.productCategoriesById})),b=a()(g,"".concat(f,".slug"),null),x=b?"/reviews/".concat(b,"/").concat(d):"",_=u?"":c||x;return(0,r.jsx)(h,{title:p,imageUrl:v,productUrl:_,rating:w,reviewsCount:m,claimed:y,variant:o,onTitleClick:l})}},12511:function(t,e,n){"use strict";n.r(e);var r=n(34051),i=n.n(r),o=n(85893),a=n(67294),c=n(11163),u=n(9008),s=n(27361),l=n.n(s),d=n(48403),f=n.n(d),p=n(45637),h=n(
157463),w=n(56559),m=n(55681),v=n(10374),y=n(96620),g=n(23080),b=n(96764),x=n(1682),_=n(87379);function k(t,e,n,r,i,o,a){try{var c=t[o](a),u=c.value}catch(s){return void n(s)}c.done?e(u):Promise.resolve(u).then(r,i)}function $(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function j(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function O(t){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function S(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){j(t,e,n[e])}))}return t}function M(t,e){return!e||"object"!==D(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function C(t,e){return(C=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function L(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var D=function(t){return t&&"undefined"!==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t};function P(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=O(t);if(e){var i=O(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return M(this,n)}}function N(){var t=L(["\n border: 1px solid ",";\n border-radius: 5px;\n background: white;\n"]);return N=function(){return t},t}function T(){var t=L(["\n color: ",";\n border-bottom: 1px solid ",";\n height: 40px;\n line-height: 40px;\n padding: 0 10px;\n"]);return T=function(){return t},t}function Z(){var t=L(["\n display: grid;\n grid-template-columns: max-content 1fr;\n grid-column-gap: 10px;\n grid-row-gap: 10px;\n padding: 0 10px 10px;\n"]);return Z=function(){return t},t}function A(){var t=L(["\n color: #4a4a4a;\n white-space: nowrap;\n overflow: hidden;\n width: 100%;\n\n max-width: calc(100%);\n text-overflow: ellipsis;\n display: block;\n word-wrap: normal;\n min-width: 0;\n\n @media screen and (min-color-index: 0) and(-webkit-min-device-pixel-ratio:0) {\n @media {\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n white-space: normal;\n }\n }\n\n @media not all and (min-resolution: 0.001dpcm) {\n @media {\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n white-space: normal;\n }\n }\n"]);return A=function(){return t},t}function I(){var t=L(["\n padding-left: 10px;\n padding-bottom: 10px;\n"]);return I=function(){return t},t}function z(){var t=L(["\n color: #4a4a4a;\n font-size: 12px;\n"]);return z=function(){return t},t}var E=_.ZP.div.withConfig({componentId:"sc-798b55c5-0"})(N(),(function(t){return t.theme.colors.neutral4})),B=_.ZP.h4.withConfig({componentId:"sc-798b55c5-1"})(T(),(function(t){return t.theme.colors.seedlyBlue}),(function(t){return t.theme.colors.neutral4})),W=_.ZP.div.withConfig({componentId:"sc-798b55c5-2"})(Z()),U=_.ZP.div.withConfig({componentId:"sc-798b55c5-3"})(A()),Y=(0,_.ZP)(y.Z).withConfig({componentId:"sc-798b55c5-4"})(I()),R=_.ZP.div.withConfig({componentId:"sc-798b55c5-5"})(z()),F=function(t){var e=t.reviewText,n=t.user;if(!(e&&n&&Object.values(n).length))return null;var r=(0,v.Z)(n.updatedAt,{cutoff:!1});return(0,o.jsxs)(W,{children:[(0,o.jsx)(b.Z,{src:n.image,name:n.name}),(0,o.jsxs)(U,{children:[(0,o.jsx)(U,{children:e}),(0,o.jsxs)(R,{children:[(0,o.jsx)("span",{children:n.name}),"\xa0\xb7\xa0",(0,o.jsx)("span",{children:r})]})]})]})},H=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&C(t,e)}(a,t);var e,n,r,i=P(a);function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=i.call(this,t)).state={hasError:!1},e}
1return e=a,r=[{key:"getDerivedStateFromError",value:function(t){return{hasError:!!t}}}],(n=[{key:"render",value:function(){return this.state.hasError?(0,o.jsx)("div",{}):this.props.children}}])&&$(e.prototype,n),r&&$(e,r),a}(a.Component),V=function(){var t=(0,c.useRouter)(),e=(0,a.useState)(null),n=e[0],r=e[1],s=(0,a.useState)(null),d=s[0],v=s[1],y=t.query||{},b=y.product_slug,_=y.category_slug;if((0,a.useEffect)((function(){(function(){var t,e=(t=i().mark((function t(){var e;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,m.Z.getProducts({slugs:b,category_slug:_},{});case 3:e=t.sent,r(l()(e,"data.data[0]",{})),t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0),v(t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})),function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){k(o,r,i,a,c,"next",t)}function c(t){k(o,r,i,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}})()()}),[]),d)return(0,o.jsxs)("div",{children:["Go to ",(0,o.jsx)("a",{href:"https://www.seedly.sg",children:"Seedly.sg"})]});var $=l()(n,"details.info",[]).find((function(t){return"url"===t.name})),j=l()($,"value",""),O="".concat(p.Z.apiHost,"/reviews/").concat(_,"/").concat(b);return n&&(0,o.jsxs)(E,{children:[(0,o.jsx)(u.default,{children:(0,o.jsx)("meta",{name:"robots",content:"noindex,follow"})}),(0,o.jsx)(B,{children:"Reviews from Seedly Community"}),(0,o.jsx)("div",{style:{padding:"15px 10px"},children:(0,o.jsx)(x.Z,{product:n,disableLink:!0})}),(0,o.jsx)(F,S({},n.review)),(0,o.jsxs)(Y,{size:"md",children:[(0,o.jsx)("a",{href:O,onClick:function(t){t.preventDefault(),h.Z.trackOutbound({from:"Article Widget - Snippet",url:"/".concat(_,"/").concat(b)}),w.ZP.track(w.xQ.Outbound,{"Category Name":f()(_.replace(/-/g," ")),"Product Name":f()(b.replace(/-/g," ")),"Plan Name":""}),parent.window.open(O,"_blank")},target:"_top",children:(0,o.jsx)(g.Z,{children:"More SeedlyReviews"})}),j&&(0,o.jsx)("a",{href:j,onClick:function(t){t.preventDefault(),h.Z.trackOutbound({from:"Product Snippet - Outbound",url:j}),w.ZP.track(w.xQ.Outbound,{"Category Name":f()(_.replace(/-/g," ")),"Product Name":f()(b.replace(/-/g," ")),"Plan Name":""}),parent.window.open(j,"_blank")},target:"_top",children:(0,o.jsx)(g.Z,{variant:"outline",children:"Visit Site"})})]})]})};e.default=function(){return(0,o.jsx)(H,{children:(0,o.jsx)(V,{})})}},81993:function(t,e,n){"use strict";var r=n(85893),i=(n(67294),n(47879)),o=n(87379),a=n(35583);n(4563);function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){c(t,e,n[e])}))}return t}function s(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function l(){var t,e,n=(t=["\n &.rc-rate {\n font-size: ","px;\n margin-right: 0px;\n }\n\n .rc-rate-star {\n margin-right: 0px;\n margin: ",";\n }\n\n .rc-rate-star-half .rc-rate-star-first,\n .rc-rate-star-full .rc-rate-star-second {\n color: ",";\n }\n\n .rc-rate-star-half:hover .rc-rate-star-first,\n .rc-rate-star-full:hover .rc-rate-star-second {\n color: ",";\n }\n"],e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}})));return l=function(){return n},n}var d=function(t){var e=t.color,n=void 0===e?"currentColor":e,i=t.size,o=void 0===i?24:i,a=s(t,["color","size"]);return(0,r.jsx)("svg",u({xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:n,stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a,{children:(0,r.jsx)("polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"})}))},f=(0,o.ZP)(i.Z).withConfig({componentId:"sc-52320d81-0"})(l(),(function(t){return t.size}),(function(t){return t.starMargin}),(function(t){return t.color}),(function(t){return t.color}));e.Z=function(t){var e=t.size,n=void 0===e?18:e,i=t.color,o=void 0===i?a.Z.green5:i,c=t.starMargin,l=void 0===c?null:c,p=t.defaultValue,h=t.disabled,w=s(t,["size","color","starMargin","defaultValue","disabled"]);return(0,r.jsx)(f,u({size:n,color:o,starMargin:l,character:(0,r.jsx)(d,{size:n}),allowHalf:!0,defaultValue:p,disabled:h},w))}},57463:function(t,e){"use strict";var n=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(t=(t||"").trim()).startsWith("/")||(t="/".concat(t)),t.endsWith("/")&&(t=t.
1substring(0,t.length-1)),t},r=function(t){var e=t.eventCategory,n=t.eventAction,r=t.eventLabel,i=void 0===r?"":r;window.ga("send",{hitType:"event",eventCategory:e,eventAction:n,eventLabel:i||"UNDEFINED"})};e.Z={trackOutbound:function(t){var e=t.url,i=t.from,o=void 0===i?"":i;window&&window.ga&&r({eventCategory:"Outbound",eventAction:"Outbound from ".concat(o),eventLabel:n(e)})},trackNavbarItemClick:function(t){var e=t.url,i=t.subCategoryName;window&&window.ga&&r({eventAction:i,eventCategory:"Nav Bar",eventLabel:n(e)})},trackFacebookReviewSubmit:function(t){var e=t.productName,n=t.rating;window&&window.fbq&&window.fbq("trackCustom","SubmitProductReview",{product_name:e,rating:n})},trackApplyButton:function(t){var e=t.productName,n=t.productCategory,r=t.productPrice,i=t.id;window&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"product_click_apply",component_type:"product-card",component_title:"CTA_Apply Now",action:"click",items:[{item_id:i,item_name:e,item_category:n,price:r,currency:"SGD"}]}))},trackViewMoreButton:function(t){var e=t.productName,n=t.productCategory,r=t.id;window&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"product_interaction",component_type:"product-card",component_title:"CTA_View More",action:"click",items:[{item_id:r,item_name:e,item_category:n}]}))},trackPlanApplyButton:function(t){var e=t.productName,n=t.productCategory,r=t.productPrice,i=t.id;window&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"product_click_apply",component_type:"card",component_title:"Key Features Plans_Apply Now",action:"click",items:[{item_id:i,item_name:e,item_category:n,price:r,currency:"SGD"}]}))},trackProductApplyButton:function(t){var e=t.productName,n=t.productCategory,r=t.id;window&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"product_click_apply",component_type:"card",component_title:"Card Summary_Visit Site",action:"click",items:[{item_id:r,item_name:e,item_category:n}]}))},trackSeeMoreOfferButton:function(){window&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"navigate",component_type:"card",component_title:"Card_See All Offers",action:"click"}))},trackProductTitle:function(t){var e=t.productName,n=t.productCategory,r=t.id;window&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"product_interaction",component_type:"product-card",component_title:"Title_Product Title",action:"click",items:[{item_id:r,item_name:e,item_category:n}]}))},trackWriteReviewButton:function(t){var e=t.productName,n=t.productCategory,r=t.id;window&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"product_interaction",component_type:"card",component_title:"Card Summary_Write Review",action:"click",items:[{item_id:r,item_name:e,item_category:n}]}))},trackClickProductBreadcrumb:function(t){var e=t.title;window&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"navigate",component_type:"breadcrumb",component_title:e,action:"click"}))},trackMenuItemClick:function(t){var e=t.title,n=t.menuItemName;window&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"navigate",component_type:"top-nav",component_title:"".concat(e,"_").concat(n),action:"click"}))},trackSortingClick:function(t){var e=t.key,n=t.value;window&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"filter_action",component_type:"dropdown",component_title:"Expand Overlay_".concat(e),action:"click",filter_key:e,filter_value:n}))},trackSortingChange:function(t){var e=t.key,n=t.value;window&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"filter_action",component_type:"dropdown",component_title:"Sort",action:"select",filter_key:e,filter_value:n}))},trackFilterApplied:function(t){var e=t.key,n=t.value,r=t.otherFilters;window&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"filter_action",component_type:"sidebar",component_title:"Apply_".concat(n),action:"click",filter_key:e,filter_value:n,filter_applied:r.map((function(t){return function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},t.key,t.value)}))}))},trackCategoryFilterClick:function(t){var e=t.key,n=t.value;window&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"filter_action",component_type:"sidebar",component_title:"Ap
1ply_".concat(n),action:"click",filter_key:e,filter_value:n}))},trackResetFilter:function(){window&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"filter_action",component_type:"overlay",component_title:"Deselect All",action:"click"}))}}},10374:function(t,e,n){"use strict";n.d(e,{Z:function(){return m}});var r=n(27484),i=n.n(r),o=n(14293),a=n.n(o),c=n(52165),u=n(59854),s=n.n(u);var l="default-locale",d=function(t,e,n){var r=s()(n/2592e3,0);return[["just now"],["1m ago"],["1m ago"],["%sm ago"],["%sh ago"],["%sh ago"],["1d ago"],["%sd ago"],["1w ago"],["%sw ago"],["1mth ago"],["%smth ago"],["".concat(r,"mth ago")],["".concat(r,"mth ago")]][e]};(0,c.z2)(l,d);h=d,(p=l)in(f={})?Object.defineProperty(f,p,{value:h,enumerable:!0,configurable:!0,writable:!0}):f[p]=h;var f,p,h,w=l,m=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.locale||w,r=e.prefix||"",o=!!a()(e.cutoff)||e.cutoff,u=new Date(t);try{if(a()(t)||Number.isNaN(u))return"";if(!o)return(0,c.WU)(u,n);var s=i()(t).add(1,"month");return i()().isBefore(s)?(0,c.WU)(u,n):"".concat(r).concat(i()(u).format("DD MMM YYYY"))}catch(l){return""}}},9008:function(t,e,n){t.exports=n(5443)},52165:function(t,e,n){"use strict";n.d(e,{WU:function(){return s},z2:function(){return a}});var r=["second","minute","hour","day","week","month","year"];var i=["\u79d2","\u5206\u949f","\u5c0f\u65f6","\u5929","\u5468","\u4e2a\u6708","\u5e74"];var o={},a=function(t,e){o[t]=e},c=[60,60,24,7,365/7/12,12];function u(t){return t instanceof Date?t:!isNaN(t)||/^\d+$/.test(t)?new Date(parseInt(t)):(t=(t||"").trim().replace(/\.\d+/,"").replace(/-/,"/").replace(/-/,"/").replace(/(\d)T(\d)/,"$1 $2").replace(/Z/," UTC").replace(/([+-]\d\d):?(\d\d)/," $1$2"),new Date(t))}var s=function(t,e,n){return function(t,e){for(var n=t<0?1:0,r=t=Math.abs(t),i=0;t>=c[i]&&i<c.length;i++)t/=c[i];return(t=Math.floor(t))>(0===(i*=2)?9:1)&&(i+=1),e(t,i,r)[n].replace("%s",t.toString())}(function(t,e){return(+(e?u(e):new Date)-+u(t))/1e3}(t,n&&n.relativeDate),function(t){return o[t]||o.en_US}(e))};a("en_US",(function(t,e){if(0===e)return["just now","right now"];var n=r[Math.floor(e/2)];return t>1&&(n+="s"),[t+" "+n+" ago","in "+t+" "+n]})),a("zh_CN",(function(t,e){if(0===e)return["\u521a\u521a","\u7247\u523b\u540e"];var n=i[~~(e/2)];return[t+" "+n+"\u524d",t+" "+n+"\u540e"]}))}},function(t){t.O(0,[8387,8978,9774,2888,179],(function(){return e=80924,t(t.s=e);var e}));var e=t.O();_N_E=e}]); 2//# sourceMappingURL=product-fce36495b528cc80.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.