PageSourceSearch

https://rabbitcare.com/qflow/_next/static/chunks/2978-26055dafbc9bc71c.js

js rabbitcare.com collected 2026-09-26 00:31:39 UTC 27,884 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2978],{86888:function(e,t,a){"use strict";var s,r=a(61074);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var s in a)({}).hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e}).apply(null,arguments)}t.Z=function(e){return r.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},e),s||(s=r.createElement("path",{fill:"currentColor",d:"M1001.472 165.888c-28.672-28.672-73.728-28.672-102.4 0l-544.768 542.72-227.328-229.376C96.256 450.56 49.152 450.56 20.48 481.28c-28.672 28.672-28.672 75.776 0 104.448l2.048 2.048 280.576 280.576c28.672 28.672 73.728 28.672 102.4 0l593.92-593.92c28.672-26.624 30.72-73.728 4.096-102.4 0-4.096-2.048-6.144-2.048-6.144"})))}},39270:function(e,t,a){"use strict";var s=a(3249);a(61074);var r=a(6979),l=a(86888),i=a(29454),n=a(89510);t.Z=function(e){let{isSelectedCompare:t,onAddCompare:a,isDisabled:c=!1}=e,{t:d}=(0,r.Z)();return(0,s.jsx)(i.Z,{testId:"add-compare",buttonType:"outline",classname:"font-size-sm font-weight-normal btn-block py-2 mt-2 mt-lg-0 mb-2",style:{minHeight:(0,n.h)(62)},onClick:a,isSelectedCompare:t,isDisabled:c&&!t,children:(0,s.jsxs)("div",{className:"d-flex flex-column align-items-center justify-content-center",children:[t?(0,s.jsx)(l.Z,{width:"15",height:"24",className:"text-success"}):(0,s.jsx)("span",{style:{fontSize:"1.5rem",lineHeight:1,fontWeight:"400"},children:"+"}),(0,s.jsx)("strong",{style:{marginTop:(0,n.h)(5),fontSize:(0,n.h)(14)},children:d("common:buttons.add_to_compare")})]})})}},95328:function(e,t,a){"use strict";a.d(t,{Z:function(){return _}});var s,r=a(3249),l=a(61074),i=a(15388),n=a(6979);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var s in a)({}).hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e}).apply(null,arguments)}var d=function(e){return l.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 30 30"},e),s||(s=l.createElement("g",{"data-name":"Group 1671"},l.createElement("g",{"data-name":"Group 1669"},l.createElement("path",{fill:"#e2e3ed",d:"M1.714 30a1.56 1.56 0 0 1-1.2-.514 1.657 1.657 0 0 1 0-2.4L27.085.515a1.7 1.7 0 0 1 2.4 2.4L2.914 29.486a1.56 1.56 0 0 1-1.2.514","data-name":"Path 1448"})),l.createElement("g",{"data-name":"Group 1670"},l.createElement("path",{fill:"#e2e3ed",d:"M28.286 30a1.56 1.56 0 0 1-1.2-.514L.514 2.914a1.7 1.7 0 0 1 2.4-2.4l26.571 26.571a1.657 1.657 0 0 1 0 2.4 1.85 1.85 0 0 1-1.2.514Z","data-name":"Path 1449"})))))},o=a(27170),m=a.n(o);function u(e){let{text:t,setShown:a}=e;return(0,r.jsxs)("div",{className:"".concat(m().tooltip__container),children:[(0,r.jsx)("div",{className:"".concat(m()["tooltip__close-btn"]),onClick:()=>a(!1),children:(0,r.jsx)(d,{width:9,height:9})}),(0,r.jsx)("span",{className:"".concat(m().tooltip__text),children:t})]})}var h=function(e){let{tag:t}=e,[a,s]=(0,l.useState)(!1),{t:c}=(0,n.Z)();return(0,r.jsx)(i.Tooltip,{position:"bottom-start",distance:"-5",trigger:"manual",arrow:!0,open:a,onRequestClose:()=>s(!1),theme:"blue",multiple:!1,interactive:!0,zIndex:"3",html:(0,r.jsx)(u,{text:c(t.toolTip).replace(/\n/g,"<br>"),setShown:s}),children:(0,r.jsx)("div",{className:"".concat(m()["feature-tag"]," d-inline-block mb-2 mr-2"),children:(0,r.jsx)("span",{className:"align-items-center",onClick:()=>s(!0),children:c(t.tag)})})})},_=function(e){let{tags:t=[]}=e;return t&&t.length?(0,r.jsx)("div",{className:"row mx-0 mb-1",children:t.map(e=>(0,r.jsx)(h,{tag:e},e.tag))}):null}},93405:function(e,t,a){"use strict";var s=a(3249);a(61074);var r=a(26829),l=a.n(r);t.Z=function(e){let{text:t}=e;return(0,s.jsx)("span",{className:"".concat(l()["hot-deal"]," text-white align-items-start"),"data-testid":"hotdeal_tag",children:t})}},92978:function(e,t,a){"use strict";a.d(t,{Z:function(){return k}});var s=a(3249),r=a(61074),l=a(6979),i=a(31791),n=a(24987),c=a(61623),d=a(56360),o=a(94384),m=function(e){return(0,s.jsx)("img",{...e,srcSet:e.srcSet})},u=a(99506),h=a(79642),_=a(71011),x=a(39270),g=a(58730),p=a(93405),y=a(59511),f=a(95328),j=a(75420),v=a(76593),b=a(56420),w=a.n(b),N=function(e){let{logoSrcSet:t,title:a,premium:i,rating:d,children:o,paymentTerms:m,isOnlineSale:u,onAddCompare:b,isSelectedCompare:N,onBuy:C,hotDeal:S=!1,tags:k,hideCompareButton:Z,originalPrice
1:T,hasDiscount:D,downloadButtonProps:E}=e,{t:O}=(0,l.Z)(),{packageType:P}=(0,n.ZR)(),{customVariables:L}=(0,n.YC)(),{carDetail:A,orderId:B}=L,M=(0,v.A)(d),q=(0,r.useMemo)(()=>"motor"===P,[P]);return(0,s.jsxs)("div",{"data-testid":"package-detail",className:"".concat(w()["package-detail"]," mx-auto"),children:[(0,s.jsxs)("div",{className:"p-2",children:[(0,s.jsxs)("div",{className:"row text-center",children:[(0,s.jsx)("div",{className:"col-12",children:S?(0,s.jsxs)("div",{className:"row",children:[(0,s.jsx)("div",{className:"col-7",style:{padding:"0",textAlign:"end"},children:(0,s.jsx)("img",{"data-testid":"package-detail-logo",className:"img-fluid mb-2",srcSet:t,alt:"Insurer Logo",style:{height:"70px"}})}),(0,s.jsx)("div",{className:"".concat(w()["package-detail__hot-deal-div"]," col-5"),children:(0,s.jsx)(p.Z,{text:O("health:quote.filter.hot_deal")})})]}):(0,s.jsx)("img",{"data-testid":"package-detail-logo",className:"img-fluid mb-2",srcSet:t,alt:"Insurer Logo",style:{height:"70px"}})}),(0,s.jsxs)("div",{className:"col-12",children:[(0,s.jsx)("h2",{"data-testid":"insurer-name",className:"text-primary mb-1 font-size-lg font-weight-bolder",children:a}),(0,s.jsxs)("div",{"data-testid":"insurer-rating",className:"d-flex align-items-center justify-content-center mt-2 mb-4",children:[(0,s.jsx)(c.Z,{className:"mr-1"}),"\xa0",M]})]})]}),k&&(0,s.jsx)("div",{className:"row text-center mb-2",children:(0,s.jsx)("div",{className:"col d-flex justify-content-center","data-testid":"feature-tags",children:(0,s.jsx)(f.Z,{tags:k})})}),(0,s.jsxs)("div",{className:"row",children:[!Z&&(0,s.jsx)("div",{className:"col d-flex",children:(0,s.jsx)(x.Z,{isSelectedCompare:N,onAddCompare:b})}),(0,s.jsx)("div",{className:"col d-flex",children:(0,s.jsx)(g.Z,{className:"mt-2 mt-lg-0 mb-2",isOnlineSale:u,premium:i,onBuy:C,originalPrice:T,hasDiscount:D})})]}),m&&(0,s.jsx)("div",{className:"row",children:(0,s.jsx)("div",{className:"col-12 text-center mb-3",children:m})}),(0,s.jsxs)("div",{className:w().car_detail_section,children:[(0,s.jsx)(_.m,{children:O("motor:quote.showing_package_detail")}),B&&(0,s.jsxs)(h.H4,{isBold:!0,textAlign:"center",children:[O("motor:quote.orderId"),":\xa0",B]}),A&&(0,s.jsxs)(s.Fragment,{children:[A.top&&(0,s.jsx)(h.H4,{isBold:!0,textAlign:"center",children:A.top}),A.bottom&&(0,s.jsx)(h.H4,{isBold:!0,textAlign:"center",children:A.bottom})]})]})]}),q&&E&&(0,s.jsx)(j.Z,{...E}),(0,s.jsx)(y.Z,{children:o})]})},C=a(88693),S=a(59338),k=function(e){var t;let{onClose:a,onOpen:h,packageData:_,onAddCompare:p,isSelectedCompare:y,onBuy:f,hideButton:b,downloadService:k,hideDownloadButton:Z=!1}=e,{t:T}=(0,l.Z)(),D=(0,v.A)(_.rating),{packageType:E}=(0,n.ZR)(),{customVariables:O}=(0,n.YC)(),P="motor"===E?"packageResource":"id",[L,A]=(0,r.useState)(!1),[B,M]=(0,r.useState)(!1),q=(0,r.useRef)(null),[z,I]=(0,r.useState)(!1),[H,R]=(0,r.useState)(!1),F=()=>{k&&(I(!0),R(!1),k.downloadQuote(_[P],O.filterQueryParams).catch(e=>R({status:e.response.status})).finally(()=>I(!1)))};(0,r.useEffect)(()=>{!B&&h&&(h(),M(!0));let e=()=>{var e,t;A((null===(t=q.current)||void 0===t?void 0:null===(e=t.getBoundingClientRect())||void 0===e?void 0:e.y)<-240)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[h,B]);let K=(0,r.useMemo)(()=>"motor"===E,[E]),X=(e,t)=>{let a={};return a[e]={...!!t.text&&{text:t.text},...!!t.text_values&&{text_values:t.text_values}},a},Y=(e,t)=>{let a=[];return t.forEach(t=>{let s=null;if((t.text||t.text_values)&&(s=X(e,t)),s){let e={...!!t.key&&{key:t.key},...!!t.label&&{label:t.label},...!!t.tipText&&{tipText:t.tipText},values:s};a.push(e)}}),a},G=null==_?void 0:null===(t=_.details)||void 0===t?void 0:t.map(e=>({...e,packages:[_.id],items:Y(_.id,e.items)}));return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:(0,i.Z)("sticky-top bg-white ".concat(w()["package-detail__header-sticky"]),L?"d-block":"d-none"),"data-testid":"package_detail_header",children:(0,s.jsxs)("div",{className:"d-flex justify-content-between mx-auto align-items-center py-3",children:[(0,s.jsxs)("div",{className:"d-flex align-items-center",children:[(0,s.jsx)(m,{className:"mr-2",srcSet:_.logo,alt:"Insurer Logo",height:"70"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:"text-primary mb-1 font-size-lg font-weight-bolder",children:T(_.title)}),(0,s.jsxs)("div",{className:"d-flex align-items-center",children:[(0,s.jsx)(c.Z,{}),"\xa0",D,(0,s.jsx)("span",{className:"ml-2 text-success",children:(0,s.jsxs)("strong",{children:[T(_.subtitle),_.is_recommended&&(0,s.jsx)(d.Z,{className:"ml-1 mb-1"})]})})]})]})]}),(0,s.jsxs)("div",{style:{width:"340px"},children:[(0,s.jsxs)("div",{className:"d-flex",children:[!b&&(0,s.jsx)(x.Z,{isSelectedCompare:y,onAddCompare:p}),(0,s.jsx)(g.Z,{className:"ml-2 mt-lg-0 mb-2",isOnlineSale:_.online_sale,onBuy:f,premium:_.premium,originalPrice
1:_.originalPrice,hasDiscount:_.hasDiscount})]}),_.paymentTerms&&(0,s.jsx)("div",{className:"text-center",children:_.paymentTerms})]})]})}),(0,s.jsx)("div",{className:"container",children:(0,s.jsx)("div",{className:"row",children:(0,s.jsxs)("div",{className:"col-12 py-5 mb-3",children:[!b&&(0,s.jsx)("div",{className:"d-none d-lg-block",children:(0,s.jsxs)("span",{"aria-hidden":"true",role:"button",tabIndex:0,onClick:a,className:"d-flex align-items-center text-primary",children:[(0,s.jsx)(o.Z,{className:"text-primary mr-2"}),T("common:back")]})}),(0,s.jsx)("div",{ref:q,children:(0,s.jsxs)(N,{title:_.title,subtitle:_.subtitle,rating:_.rating,logoSrcSet:_.logo,isOnlineSale:_.online_sale,onBuy:f,hotDeal:_.hotDeal,tags:_.tags,paymentTerms:(0,S.q)(_,!0),onAddCompare:p,premium:_.premium,isSelectedCompare:y,hideCompareButton:b,originalPrice:_.originalPrice,hasDiscount:_.hasDiscount,downloadButtonProps:!Z&&k?{onClick:F,loading:z,error:H}:null,children:[G.map(e=>(0,s.jsx)(u.Z,{isDetailPage:!0,showToolTip:!0,details:e},e.title+e.key)),"motor"===E&&(0,s.jsx)(C.Z,{})]})}),K&&!Z&&k&&(0,s.jsx)(j.Z,{onClick:F,loading:z,error:H})]})})}),(0,s.jsx)("div",{className:"fixed-bottom d-block d-md-none",children:(0,s.jsx)(g.Z,{className:"rounded-0 mb-0",isOnlineSale:_.online_sale,premium:_.premium,originalPrice:_.originalPrice,hasDiscount:_.hasDiscount,onBuy:f})})]})}},42462:function(e,t,a){"use strict";var s=a(3249);a(61074),t.Z=function(e){let{text:t}=e;return(0,s.jsx)("div",{className:"bg-danger py-2 px-3 text-white align-items-center",children:(0,s.jsx)("span",{style:{fontWeight:"bold"},children:t})})}},59338:function(e,t,a){"use strict";a.d(t,{Z:function(){return K},q:function(){return F}});var s,r,l,i,n,c,d,o=a(3249),m=a(61074),u=a(6979),h=a(81359),_=a(65361),x=a(80002),g=a(31791),p=a(61623),y=a(56360),f=a(29454),j=a(39270),v=a(58730),b=a(93405),w=a(95328),N=a(76593),C=a(30308),S=a.n(C),k=function(e){let{id:t,title:a,header:s,footer:r,logoSrcSet:l,subtitle:i,premium:n,rating:c,isOnlineSale:d,isSelectedCompare:m,onOpenDetail:h,onAddCompare:_,isAddCompareDisabled:x=!1,isRecommended:C,children:k,onBuy:Z,hotDeal:T,tags:D,originalPrice:E,hasDiscount:O}=e,{t:P}=(0,u.Z)(),L=(0,N.A)(c),A=i.includes("Type 2")||i.includes("Type 3"),B=(0,g.Z)("flex align-center mb-0 lg:mb-2",{"text-success":!A});return(0,o.jsxs)("div",{className:"".concat(S()["summary-card"]," mt-3 md:mb-3 ").concat(m?S()["summary-card--selected"]:""),id:t,"data-testid":t,children:[s&&(0,o.jsx)("div",{"data-testid":"summary-card-header",children:s}),(0,o.jsxs)("div",{className:"p-3 px-lg-0 py-lg-4 d-flex flex-column flex-lg-row",children:[(0,o.jsxs)("div",{className:"".concat(S()["summary-card__block"]," px-0 px-lg-3 pb-3 py-lg-0 d-flex flex-row flex-lg-column align-start justify-center"),children:[(0,o.jsx)("div",{className:"".concat(S()["summary-card__logo"]),children:(0,o.jsx)("img",{"data-testid":"insurer-logo",className:"img-fluid mb-0 mb-lg-2",srcSet:l,alt:"Insurer Logo"})}),(0,o.jsxs)("div",{className:S()["summary-card__insurer-rating"],children:[(0,o.jsx)("h2",{"data-testid":"insurer-name",className:"".concat(S()["summary-card__insurer"]," d-inline-block mb-1 mb-lg-2"),children:a}),(0,o.jsxs)("div",{className:"d-flex flex-row flex-lg-column align-items-md-center align-items-lg-start",children:[(0,o.jsxs)("div",{className:"".concat(S()["summary-card__rating"]," flex items-center mb-0 lg:mb-2 mr-[10px]"),"data-testid":"insurer_rate",children:[(0,o.jsx)(p.Z,{width:"14",height:"14"}),(0,o.jsx)("span",{"data-testid":"package-rating",className:"ml-[5px]",children:L})]}),(0,o.jsxs)("div",{className:B,children:[(0,o.jsx)("span",{"data-testid":"package-name",className:S()["summary-card__subtitle"],children:i}),C&&(0,o.jsx)("span",{className:"-mt-[5px]",children:(0,o.jsx)(y.Z,{width:"15",height:"14",viewBox:"0 0 16.614 15.544"})})]})]})]}),T&&(0,o.jsx)("div",{className:S()["summary-card__hot-deal"],children:(0,o.jsx)(b.Z,{text:P("health:quote.filter.hot_deal")})})]}),(0,o.jsxs)("div",{className:"".concat(S()["summary-card__block"]," ").concat(S()["summary-card__block--detail"]," px-0 mx-0 mx-lg-3 py-3 pt-lg-0 mb-lg-3 flex-grow-1"),
1children:[D&&(0,o.jsx)(w.Z,{tags:D}),k,(0,o.jsx)("div",{className:"d-flex justify-content-center",children:(0,o.jsx)(f.Z,{testId:"more-details",buttonType:"outline",classname:"absolute mx-auto rounded-pill font-normal text-base py-[7px] px-[10px]",onClick:h,children:P("common:buttons.more_details")})})]}),(0,o.jsxs)("div",{className:"".concat(S()["summary-card__block"]," text-center px-0 px-lg-3 pt-4 pt-lg-0"),children:[(0,o.jsxs)("div",{className:"".concat(S()["summary-card__block-buttons"]," row"),children:[(0,o.jsx)("div",{className:"col-6 col-lg-12",children:(0,o.jsx)(j.Z,{isSelectedCompare:m,onAddCompare:_,isDisabled:x})}),(0,o.jsx)("div",{className:"col-6 col-lg-12 ".concat(S()["summary-card__buy-now-button"]),children:(0,o.jsx)(v.Z,{className:"mt-2 mt-lg-0 mb-2",isOnlineSale:d,premium:n,originalPrice:E,hasDiscount:O,onBuy:Z})})]}),r&&(0,o.jsx)("div",{"data-testid":"summary-card-footer",className:"col-12 font-size-sm",children:r})]})]})]})};function Z(){return(Z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var s in a)({}).hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e}).apply(null,arguments)}var T=function(e){return m.createElement("svg",Z({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},e),s||(s=m.createElement("path",{fill:"currentColor",d:"M813.056 153.6a18.355 18.355 0 0 1 18.432-18.432c8.192 0 16.384 2.048 22.528 4.096-10.24-16.384-32.768-20.48-49.152-8.192-16.384 10.24-20.48 32.768-8.192 49.152 10.24 16.384 32.768 20.48 49.152 8.192 2.048-2.048 4.096-2.048 4.096-4.096 2.048-2.048 4.096-4.096 6.144-8.192-8.192-4.096-16.384-4.096-24.576-4.096-10.24-2.048-18.432-10.24-18.432-18.432M395.264 614.4l34.816-34.816-65.536-32.768zM929.792 190.464"})),r||(r=m.createElement("path",{fill:"currentColor",d:"M921.6 239.616c47.104 92.16 69.632 196.608 67.584 299.008 0 200.704-73.728 370.688-159.744 370.688-71.68 0-135.168-120.832-153.6-280.576l190.464-190.464c18.432-18.432 30.72-43.008 34.816-67.584zc-10.24-16.384-22.528-32.768-36.864-45.056-20.48 32.768-63.488 43.008-96.256 22.528s-43.008-63.488-22.528-96.256c2.048-4.096 6.144-8.192 8.192-12.288 28.672-26.624 71.68-26.624 100.352 0 12.288 12.288 20.48 30.72 20.48 49.152 12.288 10.24 24.576 20.48 34.816 32.768l14.336-88.064c4.096-28.672-14.336-55.296-43.008-59.392h-16.384L614.4 83.968c-26.624 4.096-51.2 16.384-69.632 34.816L16.384 645.12c-20.48 20.48-20.48 53.248 0 73.728L266.24 968.704c20.48 20.48 53.248 20.48 73.728 0L645.12 663.552c24.576 165.888 96.256 282.624 184.32 282.624C937.984 946.176 1024 768 1024 540.672c0-151.552-36.864-278.528-94.208-350.208zM360.448 747.52c-6.144 14.336-14.336 24.576-24.576 34.816s-22.528 20.48-36.864 26.624c-10.24 4.096-22.528 6.144-34.816 6.144-10.24-2.048-18.432-6.144-26.624-12.288-2.048-2.048-2.048-2.048-2.048-4.096s0-2.048 2.048-4.096L262.144 768c2.048-2.048 2.048-2.048 4.096-2.048h6.144c4.096 2.048 10.24 2.048 16.384 0s12.288-6.144 16.384-10.24q9.216-9.216 12.288-18.432c2.048-4.096 0-10.24-4.096-14.336-2.048-2.048-6.144-4.096-10.24-4.096s-10.24 2.048-14.336 4.096c-6.144 2.048-12.288 8.192-22.528 14.336-14.336 10.24-30.72 18.432-49.152 20.48-14.336 2.048-28.672-4.096-38.912-14.336-8.192-8.192-12.288-16.384-14.336-28.672s0-22.528 4.096-32.768c6.144-12.288 12.288-24.576 22.528-32.768 10.24-10.24 22.528-18.432 34.816-24.576 10.24-4.096 22.528-6.144 32.768-4.096 8.192 0 18.432 4.096 24.576 10.24 2.048 2.048 2.048 2.048 2.048 4.096s0 2.048-2.048 4.096L256 665.6c-2.048 2.048-6.144 4.096-10.24 4.096q-6.144-3.072-12.288 0c-6.144 2.048-10.24 4.096-14.336 10.24-4.096 4.096-8.192 10.24-10.24 16.384-2.048 4.096 0 10.24 4.096 12.288 4.096 4.096 10.24 4.096 14.336 2.048 10.24-4.096 18.432-8.192 28.672-14.336 12.288-8.192 24.576-16.384 36.864-20.48 8.192-4.096 18.432-4.096 28.672-4.096 10.24 2.048 18.432 8.192 24.576 14.336 8.192 8.192 14.336 18.432 16.384 30.72 6.144 6.144 4.096 18.432-2.048 30.72m167.936-163.84-24.576 24.576c-2.048 2.048-6.144 4.096-10.24 2.048l-26.624-12.288-51.2 51.2 12.288 26.624c2.048 4.096 0 8.192-2.048 10.24l-24.576 24.576c-2.048 2.048-2.048 2.048-4.096 2.048s-2.048 0-4.096-2.048l-2.048-2.048-79.872-167.936c-2.048-4.096-2.048-10.24 2.048-14.336l30.72-30.72c4.096-4.096 8.192-4.096 14.336-2.048l169.984 77.824s2.048 0 2.048 2.048c2.048 2.048 2.048 2.048 2.048 4.096-2.048 4.096-2.048 6.144-4.096 6.144m81.92-83.968c0 2.048-2.048 6.144-4.096 6.144l-30.72 30.72c-2.048 2.048-4.096 4.096-6.144 4.096s-4.096 0-6.144-2.048l-163.84-83.968-2.048-2.048c-2.048-2.048-2.048-2.048-2.048-4.096s0-4.096 2.048-4.096l24.576-24.576c2.048-2.048 4.096-2.048 6.144-4.096 2.048 0 4.096 0 6.144 2.048l114.688 61.44-61.44-112.64c-2.048-2.048-2.048-4.096-2.048-6.144s2.048-4.096 4.096-6.144l24.576-24.576c2.048-2.048 2.048-2.048 4.096-2.048s2.048 0 4.096 2.048l2.048 2.048 83.968 161.792c0 2.048 2.048 4.096 2.048 6.144m59.392-61.44c-2.048 0-4.096 0-4.096-2.048L540.672 311.296c-2.048-2.048-2.048-2.048-2.048-4.096s0-4.096 2.048-4.096l90.112-92.16c2.048-2.048 4.096-2.048 4.096-2.048 2.048 0 4.096 0 4.096 2.048l18.432 18.432c2.048 2.048 2.048 2.048 2.048 4.096s0 4.096-2.048 4.096l-61.44 61.44 24.576 24.576 57.344-57.344c2.048-2.048 4.096-2.048 4.096-2.048 2.048 0 4.096 0 4.096 2.048l18.432 18.432c2.048 2.048 2.048 4.096 2.048 4.096 0 2.048 0 4.096-2.048 4.096l-57.344 57.344 24.576 24.576 61.44-63.488c2.048-2.048 4.096-2.048 4.096-2.048 2.048 0 4.096 0 4.096 2.048l18.432 18.432c2.048 2.048 2.048 2.048 2.048 4.096s0 4.096-2.048 4.096l-92.16 92.16c6.144 8.192 4.096 8.192 2.048 8.192"})))},D=a(53101),E=a.n(D),O=function(e){let{discountPercent:t}=e,a=new Date<new Date("2024-04-17");return(0,o.jsxs)("div",{className:"".concat(E()["discount-banner"]," py-2 px-3 text-white align-items-center"),children:[(0,o.jsx)(T,{className:"mr-2",width:"26",height:"26"}),(0,o.jsx)(_.Z,{i18nKey:a?"common:summary.songkranDiscount":"common:summary.discount",values:{discount:t}})]})},P=function(e){let{headerLogo:t,category:a,subCategory:s=""}=e;return(0,o.jsxs)("div",{className:"".concat(S()["summary-card__header--with-border"]," bg-white py-2 px-3 align-items-center"),style:{color:"#6788e6"},children:[t&&(0,o.jsx)("img",{className:"mr-2",width:"20",height:"20",src:t,alt:"icon"}),s,a&&(0,o.jsx)("div",{className:"float-right",children:a})]})},L=a(42462);function A(){return(A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var s in a)({}).hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e}).apply(null,arguments)}var B=function(e){return m.createElement("svg",A({xmlns:"http://www.w3.org/2000/svg",width:29.976,height:30},e),l||(l=m.createElement("path",{fill:"#fff",d:"M29.1 15a.95.95 0 0 0-1 .874 13.128 13.128 0 1 1-13.1-14A12.97 12.97 0 0 1 23.579 5.1l-.8.805a.937.937 0 0 0 .663 1.6h3.125a.94.94 0 0 0 .938-.937v-3.13a.938.938 0 0 0-1.6-.662l-1 .995A14.82 14.82 0 0 0 15 0a15 15 0 1 0 14.974 16 .94.94 0 0 0-.874-1"})),i||(i=m.createElement("path",{fill:"#fff",d:"M21.864 9.783 15.3 7.55a.92.92 0 0 0-.6 0L8.136 9.783a.935.935 0 0 0-.636.887v5.023c0 6.13 6.842 9.11 7.134 9.234a.94.94 0 0 0 .733 0c.29-.127 7.133-3.104 7.133-9.234V10.67a.935.935 0 0 0-.636-.888Zm-2.756 4.74L15.67 18.9a1.25 1.25 0 0 1-1.8.178L11.686 17.2a1.25 1.25 0 0 1 1.626-1.9l1.2 
11.026 2.631-3.349a1.25 1.25 0 0 1 1.966 1.542Z"})))};function M(){return(M=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var s in a)({}).hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e}).apply(null,arguments)}var q=function(e){return m.createElement("svg",M({xmlns:"http://www.w3.org/2000/svg",width:30,height:30},e),n||(n=m.createElement("path",{fill:"#fff",d:"M29.121 14.121h-.982a13.18 13.18 0 0 0-12.26-12.26V.879a.879.879 0 0 0-1.758 0v.982a13.18 13.18 0 0 0-12.26 12.26H.879a.879.879 0 0 0 0 1.758h.982a13.18 13.18 0 0 0 12.26 12.26v.982a.879.879 0 0 0 1.758 0v-.982a13.18 13.18 0 0 0 12.26-12.26h.982a.879.879 0 0 0 0-1.758m-3.574 1.752h.834a11.435 11.435 0 0 1-10.5 10.508v-.834a.879.879 0 0 0-1.758 0v.834a11.43 11.43 0 0 1-10.5-10.5h.834a.879.879 0 0 0 0-1.758h-.838a11.43 11.43 0 0 1 10.5-10.5v.834a.879.879 0 0 0 1.758 0v-.838a11.43 11.43 0 0 1 10.5 10.5h-.834a.876.876 0 1 0 0 1.752Z"})),c||(c=m.createElement("path",{fill:"#fff",d:"M17.916 19.187a3.517 3.517 0 0 0-6.224.772 3.57 3.57 0 0 0-.072 2.167 7.68 7.68 0 0 0 6.735.014 3.56 3.56 0 0 0-.439-2.953M15 12.363a1.758 1.758 0 1 0 1.758 1.758A1.76 1.76 0 0 0 15 12.363"})),d||(d=m.createElement("path",{fill:"#fff",d:"M15 7.09a7.883 7.883 0 0 0-5.252 13.785 5.13 5.13 0 0 1 2.716-4.33 3.516 3.516 0 1 1 5.074 0 5.3 5.3 0 0 1 1.832 1.662 5.2 5.2 0 0 1 .872 2.68A7.882 7.882 0 0 0 15 7.09"})))},z=a(38409),I=a.n(z);let H=(e,t)=>e("renewal"===t?"motor:quote.package.summary.headers.renewal":"motor:quote.package.summary.headers.manual");var R=function(e){let{source:t}=e,{t:a}=(0,u.Z)();return(0,o.jsxs)("div",{className:"".concat(I()["source-header__main-container"]," py-2 px-3 text-white align-items-center"),children:["renewal"===t?(0,o.jsx)(B,{width:25,height:25,viewBox:"0 0 30 30"}):(0,o.jsx)(q,{width:25,height:25,viewBox:"0 0 30 30"}),(0,o.jsx)("span",{style:{fontWeight:"bold",paddingLeft:"10px"},children:H(a,t)})]})};let F=function(e){let{is_included_mandatory_price:t,installments:a}=e,s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=[];return t&&r.push((0,o.jsx)("div",{className:"font-weight-bolder text-success mb-1",children:(0,o.jsx)(h.Z,{i18nKey:"motor:quote.package.details.labels.including_mandatory_price",components:[s?(0,o.jsx)("span",{}):(0,o.jsx)("br",{})]})})),a&&r.push((0,o.jsx)(_.Z,{i18nKey:"common:summary.installments",values:{months:a}})),r.map(e=>(0,o.jsx)("div",{children:e},e.key))};var K=function(e){let{packageData:t,onOpenDetail:a,onAddCompare:s,isSelectedCompare:r,isAddCompareDisabled:l=!1,onBuy:i}=e,{t:n}=(0,u.Z)(),c=null;if("source"===t.headerType&&t.packageSource&&(c=(0,o.jsx)(R,{source:t.packageSource})),"discount"===t.headerType&&t.discount&&t.discount.percent&&(c=(0,o.jsx)(O,{discountPercent:t.discount.percent})),"category"===t.headerType){let{headerLogo:e=null,category:a=null,subCategory:s=null}=t;e&&a&&s&&(c=(0,o.jsx)(P,{headerLogo:e,category:n(a),subCategory:n(s)}))}"additionalInfo"===t.headerType&&(c=(0,o.jsx)(L.Z,{text:t.additionalInfo}));let d=e=>"".concat(S()["summary-card__detail-item"],"\n      ").concat(e.bulletPoint?S()["summary-card__detail-item--with-bullet"]:"","\n      ").concat(e.noContent?S()["summary-card__detail-item--no-content"]:"","\n      ").concat(e.hightlight?S()["summary-card__detail-item--highlighted"]:""),m=e=>"bulletPoint"in e&&!e.bulletPoint?S()["summary-card__detail-item--padding-left"]:"";return(0,o.jsx)(k,{id:t.id,title:n(t.title),header:c,footer:F(t),isRecommended:t.is_recommended,logoSrcSet:t.logo,subtitle:n(t.subtitle),premium:t.premium,originalPrice:t.originalPrice,hasDiscount:t.hasDiscount,rating:t.rating,isOnlineSale:t.online_sale,hotDeal:t.hotDeal,tags:t.tags,isSelectedCompare:r,onOpenDetail:a,onAddCompare:s,isAddCompareDisabled:l,onBuy:i,children:(0,o.jsx)("ul",{className:"".concat(S()["summary-card__detail-listing"]),children:t.summary.map(e=>(0,o.jsxs)("li",{"data-testid":e.text,className:d(e),children:[e.value?(0,o.jsxs)("div",{className:"row ".concat(S()["summary-card__detail-listing__value-row"]," ").concat(e.hightlight?S()["summary-card__detail-item__highlighted-text"]:""),children:[(0,o.jsx)("div",{className:"col-7 ".concat(m(e)),children:(0,o.jsx)(_.Z,{i18nKey:e.text,values:e.text_values})}),(0,o.jsx)("div",{className:"col-5 text-right",children:(0,o.jsx)("strong",{children:"-"!==e.value&&"number"===e.valueType?n("common:detail
1s.money_normal",{value:e.value}):e.value})})]}):(0,o.jsx)("div",{children:(0,o.jsx)(_.Z,{i18nKey:e.text,values:e.text_values})}),e.tooltip&&(0,o.jsx)("div",{className:S()["summary-card__tooltip"],children:(0,o.jsx)(x.Z,{alwaysShowIcon:!0,tip:n(e.tooltip)})})]},e.text))})},t.id)}},76593:function(e,t,a){"use strict";a.d(t,{A:function(){return s}});let s=e=>{let t=Number(e);if(Number.isNaN(t))return e;let a=t;return t>=100?a=t/100:t>5&&(a=t/10),a.toFixed(1)}},27170:function(e){e.exports={"feature-tag":"CustomTooltip_feature-tag__9SLhC",tooltip__container:"CustomTooltip_tooltip__container__XFegB","tooltip__close-btn":"CustomTooltip_tooltip__close-btn__sXPMn",tooltip__text:"CustomTooltip_tooltip__text__dbTqV"}},26829:function(e){e.exports={"hot-deal":"HotDealFlag_hot-deal__vSMFE"}},53101:function(e){e.exports={"discount-banner":"DiscountHeader_discount-banner__4csTk"}},38409:function(e){e.exports={"source-header__main-container":"SourceHeader_source-header__main-container__Qa9Es"}},30308:function(e){e.exports={"summary-card":"SummaryCard_summary-card__1KhHp","summary-card--selected":"SummaryCard_summary-card--selected__AT3UG","summary-card__rating":"SummaryCard_summary-card__rating___zZw4","summary-card__header--with-border":"SummaryCard_summary-card__header--with-border__YfAlj","summary-card__block":"SummaryCard_summary-card__block__lsHqe","summary-card__block-buttons":"SummaryCard_summary-card__block-buttons__94Ixo","summary-card__block--detail":"SummaryCard_summary-card__block--detail__mt093","summary-card__tooltip":"SummaryCard_summary-card__tooltip__ShFul","summary-card__detail-listing":"SummaryCard_summary-card__detail-listing__1XGOW","summary-card__detail-listing__value-row":"SummaryCard_summary-card__detail-listing__value-row__hsf9s","dotted-success":"SummaryCard_dotted-success___kYO2","summary-card__detail-item":"SummaryCard_summary-card__detail-item__apzOl","summary-card__detail-item--highlighted":"SummaryCard_summary-card__detail-item--highlighted__tiBb1","summary-card__detail-item--no-content":"SummaryCard_summary-card__detail-item--no-content__XfUlJ","summary-card__detail-item--with-bullet":"SummaryCard_summary-card__detail-item--with-bullet__ZdbXY","summary-card__detail-item--padding-left":"SummaryCard_summary-card__detail-item--padding-left__sRhaB","summary-card__detail-item__highlighted-text":"SummaryCard_summary-card__detail-item__highlighted-text__o0vup","summary-card__logo":"SummaryCard_summary-card__logo__mqDXN","summary-card__insurer-rating":"SummaryCard_summary-card__insurer-rating__q1izL","summary-card__insurer":"SummaryCard_summary-card__insurer__k9dCl","summary-card__hot-deal":"SummaryCard_summary-card__hot-deal__JDKav","summary-card__subtitle":"SummaryCard_summary-card__subtitle__4h223","summary-card__buy-now-button":"SummaryCard_summary-card__buy-now-button__g1YAO"}}}]);

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.