1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2088],{39287:function(n,t,e){e.d(t,{Y:function(){return p}});var r=e(77460),i=(e(2784),e(14695)),o=e(32979),a=e(52322);function l(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,r)}return e}const p=i.default.figcaption.withConfig({displayName:"Caption",componentId:"sc-1do4sd3-0"})(["\n ","\n margin: ",";\n width: inherit;\n\n &.caption__paragraph-image {\n margin-top: 4px;\n &:last-of-type {\n margin-bottom: 20px;\n }\n }\n\n &.caption__amp-paragraph-image {\n margin: 4px 16px 0;\n &:last-of-type {\n margin-bottom: 20px;\n }\n }\n\n &.caption--desktop,\n .caption--desktop {\n display: none;\n }\n\n &.caption--mobile,\n .caption--mobile {\n display: block;\n }\n\n @media (min-width: ",") {\n margin: ",";\n\n &.caption--desktop,\n .caption--desktop {\n display: block;\n }\n\n &.caption--mobile,\n .caption--mobile {\n display: none;\n }\n\n &.caption--full-width-header,\n .caption--full-width-header {\n margin-left: 50px;\n }\n }\n"],(0,o.Z)("article/standard/asset/caption"),(n=>n.alignWithParent&&!n.mapView?"0":"0 16px"),(n=>`${n.theme.breakpoints[2]}px`),(n=>n.mapView?"0 16px":"0"));t.Z=n=>(0,a.jsx)(p,function(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?l(Object(e),!0).forEach((function(t){(0,r.Z)(n,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):l(Object(e)).forEac
1h((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}({},n))},12088:function(n,t,e){e.r(t),e.d(t,{default:function(){return w}});var r=e(2784),i=e(14695);function o(){return(o=Object.assign?Object.assign.bind():function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n}).apply(this,arguments)}var a=["html","dangerouslySetInnerHTML"];var l=function(n){var t=n.html,e=function(n,t){if(null==n)return{};var e,r,i={},o=Object.keys(n);for(r=0;r<o.length;r++)e=o[r],t.indexOf(e)>=0||(i[e]=n[e]);return i}(n,a),i=(0,r.useRef)(null),l=(0,r.useRef)(!0);return(0,r.useEffect)((function(){if(!t||!i.current)throw new Error("html prop cant't be null");if(l.current){l.current=!1;var n=document.createRange().createContextualFragment(t);i.current.innerHTML="",i.current.appendChild(n)}}),[t,i]),r.createElement("div",o({},e,{ref:i}))},p=e(97704),c=e(77460),d=e(32979);function s(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,r)}return e}var u=i.default.div.attrs((n=>function(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?s(Object(e),!0).forEach((function(t){(0,c.Z)(n,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):s(Object(e)).forEac
1h((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}({},n))).withConfig({displayName:"EmbedDiv",componentId:"sc-1quh7an-0"})(["\n width: 100%;\n margin: 0 auto 8px;\n display: flex;\n justify-content: center;\n\n > iframe {\n width: 100%;\n }\n\n ","\n\n blockquote.twitter-tweet {\n display: inline-block;\n font: 12px/16px bold 'Helvetica Neue', Roboto, 'Segoe UI', Calibri, sans-serif;\n background-color: #fff;\n border-color: #eee #ddd #bbb;\n border-radius: 5px;\n border-style: solid;\n border-width: 1px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);\n margin: 10px 5px;\n padding: 0 16px 16px 16px;\n }\n\n blockquote.twitter-tweet,\n blockquote.twitter-tweet::shadow,\n .EmbeddedTweet,\n iframe {\n max-width: 100% !important;\n width: 100% !important;\n margin: 0 !important;\n }\n\n blockquote.twitter-tweet p {\n font-size: 16px;\n font-weight: normal;\n line-height: 20px;\n }\n blockquote.twitter-tweet a {\n color: inherit;\n font-weight: normal;\n text-decoration: none;\n outline: 0 none;\n }\n blockquote.twitter-tweet a:hover,\n blockquote.twitter-tweet a:focus {\n text-decoration: underline;\n }\n\n & > div > a.embed-button {\n display: inline-block;\n background: ",";\n padding: 14px 22px;\n text-decoration: none;\n ","\n text-transform: uppercase;\n }\n"],(({paddingBottom:n})=>n&&(0,i.css)(["\n overflow: hidden;\n padding-bottom: ",";\n position: relative;\n\n iframe {\n position: absolute;\n left: 0;\n top: 0;\n height: 100%;\n width: 100%;\n }\n "],n)),(({theme:n})=>n.color.brand01["!default"].value),(0,d.Z)("button/text/default")),m=e(39287),h=e(52322);const f=(0,i.default)("div").withConfig({displayName:"ParagraphEmbedHtml__EmbedContainer",componentId:"sc-1loal7n-0"})(["\n margin: 0 16px 28px;\n max-width: 792px;\n padding-top: 20px;\n min-height: ",";\n\n @media (min-width: ",") {\n margin: 0 auto 28px;\n }\n\n @media (min-width: ",") {\n margin: 0 0 28px;\n }\n"],(({minHeight:n})=>`${n}px`),(({theme:n})=>`${n.breakpoints[3]}px`),(({theme:n})=>`${n.breakpoints[4]}px`)),b=(0,i.default)("div").withConfig({displayName:"ParagraphEmbedHtml__CenterEmbed",componentId:"sc-1loal7n-1"})(["\n margin: 0 auto;\n"]),g=({element:n,elementIndex:t,innerRef:e})=>{var r,i,o;const a={maxWidth:"100%",width:"100%",margin:"0px auto 8px",WebkitBoxPack:"center",justifyContent:"center"};null!==(r=n.html)&&void 0!==r&&r.match(/https:\/\/(www)?.kayak.com/)||(a.display="flex");const c=null===(i=n.html)||void 0===i?void 0:i.match(/height="\s*(?<height>\d+)"/),d=(null===c||void 0===c||null===(o=c.groups)||void 0===o?void 0:o.height)||0;let s=null;if(["facebook","other"].includes(n.type)){var g;const t=((n,t)=>{let e;return Array.isArray(n)&&Array.isArray(t)&&(e=Math.ceil(Number(n[1])/(Number(t[1])/100))),e})(c,null===(g=n.html)||void 0===g?void 0:g.match(/width="\s*(\d+)"/));t<60&&(s=`${t}%`)}a.paddingBottom=s;const w="instagram"===n.type||"string"===typeof(null===n||void 0===n?void 0:n.html)&&n.html.indexOf("fast-checkout-button")>-1,[x,y]=(0,p.YD)({triggerOnce:!0,rootMargin:"100px",initialInView:w});return(0,h.jsx)(f,{className:"page-element","data-element-type":n.__typename,"data-element-index":t,ref:e,minHeight:d,children:(0,h.jsxs)(b,{ref:x,children:[(0,h.jsx)(u,{children:y||w?(0,h.jsx)(l,{html:n.html,style:a}):null}),n.caption&&(0,h.jsx)(m.Z,{alignWithParent:!0,children:n.caption})]})})};g.defaultProps={element:{__typename:"ParagraphEmbedHtml",type:"facebook",html:'<div class="paragraph-embed"><p class="paragraph-embed__not-found">Embed not found.</p></div>',caption:null,credit_title:null,credit_url:null},elementIndex:null,innerRef:null};var w=g}}]);
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.