1(globalThis.webpackChunkpartners_portal||=[]).push([[9066],{39066(t,e,r){"use strict";r.r(e);var n=r(65043),o=r(97508),i=r(18456),a=r(17148),s=r(39836),l=r(20293),c=r(6299),u=r(70579);const d="post_logout_redirect_uri",h=()=>{const t=(0,o.wA)(),e=(0,i.zy)(),r=(0,c._)(new URLSearchParams(e.search).get("redirect_uri")),{activeRelatedPartner:h}=(0,o.d4)(t=>{let{relatedPartner:e}=t;return e}),f=null!==h&&void 0!==h&&h.id&&"tourradar"!==(null===h||void 0===h?void 0:h.id)?`/signin/shop-agent/${h.id}`:"/signin";return(0,n.useEffect)(()=>{(async()=>{await t((0,l.Yy)(null!==r&&void 0!==r?r:void 0));const e=new URL(f,window.location.origin).toString(),n=r||e;sessionStorage.setItem(d,n);const o=(0,c.V)(s.$.auth.loginSpaUrl,s.$.cognito.clientId,new URL("/oauth/logout",window.location.origin).toString());o?window.location.replace(o):(sessionStorage.removeItem(d),window.location.replace(n))})()},[t,r,f]),(0,u.jsx)(a.A,{})};r.d(e,["default",0,h])},6299(t,e,r){"use strict";var n=r(89971),o=r(39836);r.d(e,["V",0,(t,e,r)=>{if(!t||!e)return null;try{const n=new URL("/logout",t);return n.searchParams.set("client_id",e),n.searchParams.set("logout_uri",r),n.toString()}catch(n){return null}},"_",0,t=>{if(!t)return null;let e;try{e=new URL(t,window.location.origin)}catch(s){return null}const r=e.origin===window.location.origin,i="https:"===e.protocol&&("tourradar.com"===e.hostname||e.hostname.endsWith(".tourradar.com"))||o.$.web.multiDomainUrls.includes(e.hostname),a="localhost"===e.hostname||"127.0.0.1"===e.hostname;return r||i||a||!n.O?e.toString():null}])},17148(t,e,r){"use strict";r(65043);var n=r(81551),o=r(84373),i=r(71247),a=r.n(i),s=r(70579);const l=(0,n.A)(t=>({root:{width:"100%",height:"100%"},skeleton:{height:"70px",margin:t.spacing(2)}})),c=t=>{let{rowsCount:e}=t;const r=l();return(0,s.jsx)("div",{className:r.root,children:a()(e||6,t=>(0,s.jsx)(o.A,{className:r.skeleton},t))})};r.d(e,["A",0,c])},84373(t,e,r){"use strict";var n=r(58168),o=r(80045),i=r(65043),a=r(11062),s=r(82454),l=r(71745),c=i.forwardRef(function(t,e){var r=t.animation,s=void 0===r?"pulse":r,l=t.classes,c=t.className,u=t.component,d=void 0===u?"span":u,h=t.height,f=t.variant,p=void 0===f?"text":f,m=t.width,g=(0,o.A)(t,["animation","classes","className","component","height","variant","width"]),v=Boolean(g.children);return i.createElement(d,(0,n.A)({ref:e,className:(0,a.A)(l.root,l[p],c,v&&[l.withChildren,!m&&l.fitContent,!h&&l.heightAuto],!1!==s&&l[s])},g,{style:(0,n.A)({width:m,height:h},g.style)}))});const u=(0,l.A)(function(t){return{root:{display:"block",backgroundColor:(0,s.X4)(t.palette.text.primary,"light"===t.palette.type?.11:.13),height:"1.2em"},text:{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 60%",transform:"scale(1, 0.60)",borderRadius:t.shape.borderRadius,"&:empty:before":{content:'"\\00a0"'}},rect:{},circle:{borderRadius:"50%"},pulse:{animation:"$pulse 1.5s ease-in-out 0.5s infinite"},"@keyframes pulse":{"0%":{opacity:1},"50%":{opacity:.4},"100%":{opacity:1}},wave:{position:"relative",overflow:"hidden","&::after":{animation:"$wave 1.6s linear 0.5s infinite",background:"linear-gradient(90deg, transparent, ".concat(t.palette.action.hover,", transparent)"),content:'""',position:"absolute",transform:"translateX(-100%)",bottom:0,left:0,right:0,top:0}},"@keyframes wave":{"0%":{transform:"translateX(-100%)"},"60%":{transform:"translateX(100%)"},"100%":{transform:"translateX(100%)"}},withChildren:{"& > *":{visibility:"hidden"}},fitContent:{maxWidth:"fit-content"},heightAuto:{height:"auto"}}},{name:"MuiSkeleton"})(c);r.d(e,["A",0,u])},61141(t,e,r){var n=r(10143),o=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(o,""):t}},25111(t,e,r){var n=r(33279);t.exports=function(t){return"function"==typeof t?t:n}},10143(t){var e=/\s/;t.exports=function(t){for(var r=t.length;r--&&e.test(t.charAt(r)););return r}},71247(t,e,r){var n=r(3343),o=r(25111),i=r(99140),a=4294967295,s=Math.min;t.exports=function(t,e){if((t=i(t))<1||t>9007199254740991)return[];var r=a,l=s(t,a);e=o(e),t-=a;for(var c=n(l,e);++r<t;)e(r);return c}},37303(t,e,r){var n=r(40801),o=1/0;t.exports=function(t){return t?(t=n(t))===o||t===-1/0?17976931348623157e292*(t<0?-1:1):t===t?t:0:0===t?t:0}},99140(t,e,r){var n=r(37303);t.exports=function(t){var e=n(t),r=e%1;return e===e?r?e-r:e:0}},40801(t,e,r){var n=r(61141),o=r(46686),i=r(19841),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var r=s.test(t);return r||l.test(t)?c(t.slice(2),r?2:8):a.test(t)?NaN:+t}}}]); 2//# sourceMappingURL=9066.b28e5293.chunk.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.