1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2979,1054],{91054:function(){},37199:function(e,t,n){"use strict";n.d(t,{AgencyPDFInvoice:function(){return u}});var r=n(52044);n(11639);var o=n(69053),i=n(36842),a=n(91537),l=n(71122);let c=o.mM.create({page:{flexDirection:"column",backgroundColor:"#FFFFFF",padding:20,fontFamily:"Helvetica",lineHeight:1.2},header:{flexDirection:"row",justifyContent:"space-between",alignItems:"flex-start",marginBottom:16,paddingBottom:12,paddingLeft:0,paddingRight:12,borderBottomWidth:1,borderBottomColor:"#E5E7EB"},logo:{width:100,objectFit:"contain"},invoiceHeaderInfo:{textAlign:"right"},invoiceNumber:{fontSize:14,fontWeight:"bold",color:"#111827",marginBottom:4},title:{fontSize:16,fontWeight:"bold",color:"#111827",marginBottom:16,letterSpacing:-.5,textTransform:"uppercase"},infoContainer:{flexDirection:"row",justifyContent:"space-between",marginBottom:16,paddingLeft:0,paddingRight:12},infoSection:{flexDirection:"column",width:"48%"},infoSectionWide:{flexDirection:"column",width:"60%"},infoSectionNarrow:{flexDirection:"column",width:"38%"},sectionTitle:{fontSize:11,fontWeight:"bold",color:"#111827",marginBottom:4,textTransform:"uppercase",letterSpacing:.5},infoRow:{flexDirection:"row",justifyContent:"space-between",marginBottom:8,alignItems:"center"},infoLabel:{fontSize:10,color:"#374151",lineHeight:1.3,marginRight:12},infoValue:{fontSize:10,color:"#111827",fontWeight:"bold",lineHeight:1.3,textAlign:"right",flex:1},text:{fontSize:10,color:"#374151",marginBottom:4,lineHeight:1.3,textAlign:"left"},boldText:{fontSize:10,fontWeight:"bold",color:"#111827",marginBottom:4,lineHeight:1.3},dataSection:{marginBottom:12,paddingLeft:0,paddingRight:12},tableHeader:{fontSize:11,fontWeight:"bold",color:"#111827",textTransform:"uppercase",letterSpacing:.5,textAlign:"left",marginBottom:8},dataRow:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",paddingVertical:4,paddingLeft:0,paddingRight:12,borderBottomWidth:1,borderBottomColor:"#E5E7EB"},summarySection:{paddingTop:8,paddingHorizontal:0,marginTop:12,borderTopWidth:1,borderTopColor:"#D1D5DB"},summaryRow:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",paddingVertical:4,paddingLeft:0,paddingRight:12},totalRow:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",paddingVertical:8,paddingLeft:0,paddingRight:12,borderRadius:4,marginTop:8,backgroundColor:"#F8FAFC"},totalLabel:{fontSize:13,fontWeight:"bold",color:"#111827",textTransform:"uppercase",letterSpacing:.5,textAlign:"left",alignSelf:"center",lineHeight:1},totalAmount:{fontSize:13,fontWeight:"bold",color:"#111827",textAlign:"right",alignSelf:"center",lineHeight:1},footer:{marginTop:16,paddingTop:12,paddingLeft:0,paddingRight:12,borderTopWidth:1,borderTopColor:"#E5E7EB",gap:4},footerText:{fontSize:8,color:"#6B7280",textAlign:"center",lineHeight:1.2}}),u=e=>{let{productDetails:t,booking:n,bookingApportionment:u}=e,s=(0,l.nq)(n.quote_breakdown?.product_currency||""),d=e=>(0,a.Ep)({amount:Number(e||0),currency:s}),f=t?.operator_details,m=f?.name||"N/A",g=n?.booking_reference_id||"N/A",h=n?.createdAt?(0,i.Tm)(n.createdAt):"N/A",p=n?.product_meta?.product_title||"Tour Title Not Available",x=n?.travelers_info?.length||0,y=(n?.quote_breakdown?.product_currency_paid_amount||0)-(u?.product_currency_bookmundi_earning_amount||0),v=n?.product_meta?.product_code;return(0,r.jsx)(o.BB,{children:(0,r.jsxs)(o.T3,{size:"A4",style:c.page,children:[(0,r.jsxs)(o.G7,{style:c.header,children:[(0,r.jsx)(o.Ee,{style:c.logo,src:"https://media.bookmundi.com/bookmundi-logo.png",cache:!1}),(0,r.jsxs)(o.G7,{style:c.invoiceHeaderInfo,children:[(0,r.jsx)(o.xv,{style:c.invoiceNumber,children:"COMPANY INVOICE"}),(0,r.jsxs)(o.xv,{style:c.text,children:["#",g]}),(0,r.jsxs)(o.xv,{style:c.text,children:["Date: ",h]})]})]}),(0,r.jsxs)(o.G7,{style:c.infoContainer,children:[(0,r.jsxs)(o.G7,{style:c.infoSectionWide,children:[(0,r.jsx)(o.xv,{style:c.boldText,children:m}),f?.address_line_1&&(0,r.jsx)(o.xv,{style:c.text,children:f.address_line_1}),f?.address_line_2&&(0,r.jsx)(o.xv,{style:c.text,children:f.address_line_2}),f?.city&&(0,r.jsxs)(o.xv,{style:c.text,children:[f.city,f.state?`, ${f.state}`:""]}),f?.country&&(0,r.jsx)(o.xv,{style:c.text,children:f.country}),f?.pob&&(0,r.jsxs)(o.xv,{style:c.text,children:["P.O. Box: ",f.pob]}),f?.contact_no&&(0,r.jsxs)(o.xv,{style:c.text,children:["Phone: ",f.contact_no]}),f?.email&&(0,r.jsxs)(o.xv,{style:c.text,children:["Email: ",f.email]})]}),(0,r.jsxs)(o.G7,{style:c.infoSectionNarrow,children:[(0,r.jsxs)(o.G7,{style:c.infoRow,children:[(0,r.jsx)(o.xv,{style:c.infoLabel,children:"Invoice Number"}),(0,r.jsxs)(o.xv,{style:c.infoValue,children:["#",g]}
1)]}),(0,r.jsxs)(o.G7,{style:c.infoRow,children:[(0,r.jsx)(o.xv,{style:c.infoLabel,children:"Invoice Date"}),(0,r.jsx)(o.xv,{style:c.infoValue,children:h})]}),(0,r.jsxs)(o.G7,{style:c.infoRow,children:[(0,r.jsx)(o.xv,{style:c.infoLabel,children:"Currency"}),(0,r.jsx)(o.xv,{style:c.infoValue,children:s?.code||n?.quote_breakdown?.product_currency||"N/A"})]})]})]}),(0,r.jsxs)(o.G7,{style:c.dataSection,children:[(0,r.jsx)(o.xv,{style:c.tableHeader,children:"Tour Information"}),(0,r.jsxs)(o.G7,{style:c.dataRow,children:[(0,r.jsx)(o.xv,{style:c.text,children:"Tour Title"}),(0,r.jsxs)(o.xv,{style:c.boldText,children:[p,v?` (${v})`:""]})]}),(0,r.jsxs)(o.G7,{style:c.dataRow,children:[(0,r.jsx)(o.xv,{style:c.text,children:"Total Travelers"}),(0,r.jsx)(o.xv,{style:c.boldText,children:x})]})]}),(0,r.jsxs)(o.G7,{style:c.dataSection,children:[(0,r.jsx)(o.xv,{style:c.tableHeader,children:"Financial Summary"}),(0,r.jsxs)(o.G7,{style:c.dataRow,children:[(0,r.jsx)(o.xv,{style:c.text,children:"Deposit Paid Amount"}),(0,r.jsx)(o.xv,{style:c.boldText,children:d(n?.quote_breakdown?.product_currency_paid_amount||0)})]}),(0,r.jsxs)(o.G7,{style:c.dataRow,children:[(0,r.jsx)(o.xv,{style:c.text,children:"Bookmundi Commission"}),(0,r.jsx)(o.xv,{style:c.boldText,children:d(u?.product_currency_bookmundi_earning_amount||0)})]}),(0,r.jsxs)(o.G7,{style:c.dataRow,children:[(0,r.jsx)(o.xv,{style:c.text,children:"Net Balance in your favour"}),(0,r.jsx)(o.xv,{style:c.boldText,children:d(y)})]})]}),(0,r.jsx)(o.G7,{style:c.summarySection,children:(0,r.jsxs)(o.G7,{style:c.totalRow,children:[(0,r.jsxs)(o.G7,{style:{flex:1,flexDirection:"column",alignItems:"flex-start"},children:[(0,r.jsx)(o.xv,{style:[c.totalLabel,{fontSize:12,textTransform:"none",alignSelf:"flex-start",letterSpacing:0}],children:"Service commission fee"}),(0,r.jsxs)(o.xv,{style:[c.text,{fontSize:9,marginTop:2,color:"#6B7280"}],children:["For the services rendered at:"," ",n?.departure_meta?.start_date?(0,i.Tm)(n.departure_meta.start_date):"N/A"]})]}),(0,r.jsx)(o.xv,{style:c.totalAmount,children:d(u?.product_currency_bookmundi_earning_amount||0)})]})}),(0,r.jsxs)(o.G7,{style:c.footer,children:[(0,r.jsx)(o.xv,{style:c.footerText,children:"Bookmundi.com ApS / Skovlunden 18, 8680 Ry, Denmark."}),(0,r.jsx)(o.xv,{style:c.footerText,children:"VAT No.35229949 / Phone: 0045 51665799 / Web: www.bookmundi.com / Mail: [email protected]"})]})]})})}},95156:function(e,t,n){"use strict";var r,o,i,a;n.d(t,{Gx:function(){return _},LM:function(){return h},LZ:function(){return b},T$:function(){return x},Uf:function(){return v},VD:function(){return d},WW:function(){return m},Wr:function(){return D},c:function(){return c},g4:function(){return A},hG:function(){return S},hc:function(){return C},iC:function(){return l},j5:function(){return T},kA:function(){return w},kS:function(){return k},nb:function(){return y},pm:function(){return u},qE:function(){return g},rA:function(){return M},sC:function(){return f},ug:function(){return j},y9:function(){return s},zX:function(){return p}});let l="bookmundi",c="locale";(i=r||(r={}))[i.english="en"]="english",i[i.danish="dk"]="danish",(a=o||(o={})).english="en-US",a.danish="da-DK";
1let u="https://www.reviews.io/company-reviews/store/bookmundi",s="https://www.trustpilot.com/review/www.bookmundi.com",d=24,f=350,m="currency_preferred",g="bm_landing_url",h="bm_referer_url",p="utm_source",x="bm_fbclid",y="bm_gclid",v="user_region",b=10,w=0,j=1e4,T=10,D=5,S="bm_userpref",k=16,_=6,A=5,C=10,M=5},71122:function(e,t,n){"use strict";n.d(t,{a7:function(){return l},ck:function(){return i},nq:function(){return s},ps:function(){return u}});var r=n(7352);let o={code:"USD",name:{en:"US Dollar",dk:"Amerikanske dollar"},value:"usd",locales:"en-US",flag:"flags/usa.jpg"},i=[o,{code:"EUR",value:"eur",locales:"en-DE",name:{en:"Euro",dk:"Euro"},flag:"flags/european-union.jpg"},{code:"AUD",value:"aud",locales:"en-EU",name:{en:"Australian Dollar",dk:"Australiske dollar"},flag:"flags/australia.jpg"},{code:"GBP",value:"gbp",locales:"en-GB",name:{en:"British Pound",dk:"Britiske pund"},flag:"flags/united-kingdom.jpg"},{code:"BRL",value:"brl",locales:"pt-BR",name:{en:"Brazilian Real",dk:"Brasiliansk real"},flag:"flags/brazil.jpg"},{code:"CAD",value:"cad",locales:"en-CA",name:{en:"Canadian Dollar",dk:"Canadiske dollar"},flag:"flags/canada.jpg"},{code:"CNY",value:"cny",locales:"zh-Hans-CN",name:{en:"Chinese Yuan",dk:"Kinesiske yuan"},flag:"flags/china.jpg"},{code:"DKK",value:"dkk",locales:"da-DK",name:{en:"Danish Krone",dk:"Danske kroner"},flag:"flags/denmark.jpg"},{code:"INR",value:"inr",locales:"en-IN",name:{en:"Indian Rupee",dk:"Indiske rupee"},flag:"flags/india.jpg"},{code:"JPY",value:"jpy",locales:"ja",name:{en:"Japanese Yen",dk:"Japanske yen"},flag:"flags/japan.jpg"},{code:"CHF",value:"chf",locales:"de-CH",name:{en:"Swiss Franc",dk:"Schweiziske franc"},flag:"flags/swiss.jpg"},{code:"ZAR",value:"zar",locales:"af-ZA",name:{en:"South African Rand",dk:"Sydafrikanske rand"},flag:"flags/south-africa.jpg"}],a=r.env.NEXT_PUBLIC_DEFAULT_CURRENCY?.trim().toLowerCase(),l=i.find(e=>e.value===a||e.code.toLowerCase()===a)??o,c=e=>e?.trim()??void 0,u=(e,t)=>c("dk-DK"===t?e.name?.dk:e.name?.en)??c(e.name?.en)??e.code,s=e=>i.find(t=>t.value.toLowerCase()===e?.toLowerCase())||l},87384:function(e,t,n){"use strict";n.d(t,{l:function(){return a}});var r,o,i=n(65558);let a=Array.from({length:12},(e,t)=>new Intl.DateTimeFormat((0,i.h)(),{month:"long"}).format(new Date(2e3,t,1)));(r=o||(o={})).JANUARY="January",r.FEBRUARY="February",r.MARCH="March",r.APRIL="April",r.MAY="May",r.JUNE="June",r.JULY="July",r.AUGUST="August",r.SEPTEMBER="September",r.OCTOBER="October",r.NOVEMBER="November",r.DECEMBER="December"},65558:function(e,t,n){"use strict";n.d(t,{B:function(){return i},h:function(){return a}}),n(95156);let r={en:"en-US"},o={"en-US":"en-US","dk-DK":"da-DK"};function i(){return r.en??r.en??"en-US"}function a(){return o[i()]??"en-US"}},7352:function(e,t,n){"use strict";var r,o;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(o=n.g.process)?void 0:o.env)?n.g.process:n(99594)},99594:function(e){!function(){var t={229:function(e){var t,n,r,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function l(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var c=[],u=!1,s=-1;function d(){u&&r&&(u=!1,r.length?c=r.concat(c):s=-1,c.length&&f())}function f(){if(!u){var e=l(d);u=!0;for(var t=c.length;t;){for(r=c,c=[];++s<t;)r&&r[s].run();s=-1,t=c.length}r=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function g(){}o.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new m(e,t)),1!==c.length||u||l(f)},m.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=g,o.addListener=g,o.once=g,o.off=g,o.removeListener=g,o.removeAllListeners=g,o.emit=g,o.prependListener=g,o.prependOnceListener=g,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}},a=!0;try{t[e](i,i.exports,r),a=!1}finally{a&&delete n[e]}return i.exports}r.ab="//";var o=r(229);e.exports=o}()},91537:function(e,t,n){"use strict";n.d(t,{Ep:function(){return o},uf:function(){return i},xG:function(){return r}});let r=e=>{let{currency:t,currencyCode:n,currencyLocales:r}=e;return`${n} ${Intl.NumberFormat(r).format(Math.round(t))}`},o=e=>{let{amount:t,currency:n}=e;return`${n.code} ${Intl.NumberFormat(n.locales).format(Math.round(t))}`},i=e=>{let{value:t,currency:n}=e;return`${Intl.NumberFormat(n.locales).format(Math.round(t))}`}},36842:function(e,t,n){"use strict";n.d(t,{Js:function(){return b},KE:function(){return i},Qb:function(){return h},Qc:function(){return d},RP:function(){return a},Tm:function(){return s},WD:function(){return v},ek:function(){return l},iM:function(){return u},mg:function(){return y},o0:function(){return p},p6:function(){return x},pU:function(){return c},x_:function(){return f}});var r=n(87384),o=n(65558);let i=e=>e.getFullYear()+"-"+(e.getMonth()+1).toString().padStart(2,"0")+"-"+e.getDate().toString().padStart(2,"0"),a=e=>new Date(u(e)).toLocaleDateString((0,o.h)(),{month:"long",year:"numeric"}),l=e=>{let t=Math.floor((new Date().getTime()-e)/1e3),n=Math.floor(t/60),r=Math.floor(n/60),o=Math.floor(r/24);return Math.floor(o/365)>0||Math.floor(o/30)>0?"some time ago":o>0?o+" day"+(o>1?"s":"")+" ago":r>0?r+" hour"+(r>1?"s":"")+" ago":n>0?n+" minute"+(n>1?"s":"")+" ago":t>5?t+" second"+(t>1?"s":"")+" ago":"a moment ago"},c=e=>{let{departureDate:t,format:n="short"}=e,r=new Date(u(t)),i=(0,o.h)(),a=new Intl.DateTimeFormat(i,{month:n,timeZone:"UTC"}).format(r),l=r.getUTCDate();return{formattedDate:new Intl.DateTimeFormat(i,{day:"2-digit",month:n,year:"numeric",timeZone:"UTC"}).format(r),formattedMonthName:a,departure:l}},u=e=>e?e.replace(/-000Z$/,"Z"):e,s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"long";if(!e)return"Date not available";let n=new Date("string"==typeof e?u(e):e);return isNaN(n.getTime())?"Invalid date":new Intl.DateTimeFormat("en-US",{year:"numeric",month:t,day:"numeric"}).format(n)},d=e=>new Date(u(e)).toLocaleDateString((0,o.h)(),{month:"long"}),f=()=>{if("undefined"!=typeof Intl&&Intl.DateTimeFormat){let e=Intl.DateTimeFormat().resolvedOptions().timeZone;if(e)return e}let e=new Date().getTimezoneOffset();return`UTC${e<0?"+":"-"}${String(Math.abs(Math.floor(e/60))).padStart(2,"0")}
1:${String(Math.abs(e%60)).padStart(2,"0")}`},m=()=>Math.floor(17*Math.random())+24,g=e=>{let t=Math.floor(e/1e3),n=Math.floor(t/60),r=Math.floor(n/60),o=Math.floor(r/24);return Math.floor(o/365)>0||Math.floor(o/30)>0?{type:"some_time"}:o>0?{type:"days",count:o}:r>0?{type:"hours",count:r}:n>0?{type:"minutes",count:n}:t>5?{type:"seconds",count:t}:{type:"moment"}},h=e=>{let t=Date.now();if(null!=e){let n=new Date(e).getTime();if(!Number.isNaN(n)&&(t-n)/36e5<24)return g(t-n)}return{type:"hours",count:m()}},p=e=>{let t=new Date("string"==typeof e?u(e):e);return new Intl.DateTimeFormat("en-US",{year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit",hour12:!0}).format(t)},x=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"YYYY-MM-DD";if(!e)return"";let n=new Date("string"==typeof e?u(e):e);if(isNaN(n.getTime()))return"";let r=n.getFullYear(),o=String(n.getMonth()+1).padStart(2,"0"),i=String(n.getDate()).padStart(2,"0");switch(t){case"YYYY-MM-DD":default:return`${r}-${o}-${i}`;case"DD-MM-YYYY":return`${i}-${o}-${r}`;case"MM-DD-YYYY":return`${o}-${i}-${r}`}},y=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,n=[],o=t.getFullYear(),i=t.getMonth();for(let t=0;t<e;t++){let e=new Date(o,i+t,1),a=e.getFullYear(),l=e.getMonth(),c=`${a}-${String(l+1).padStart(2,"0")}`,u=`${r.l[l]} ${a}`;n.push({value:c,label:u})}return n};function v(e){let t=e.trim().match(/^(\d{4}-\d{2})/);return t?.[1]??""}function b(e,t){let n=e?.trim();if(n)return n;let o=t.trim();return o?/^\d{4}-\d{2}$/.test(o)?function(e){let t=e.trim().match(/^(\d{4})-(\d{2})(?:-\d{2})?$/);if(!t)return e;let n=Number(t[1]),o=Number(t[2])-1;return o<0||o>11?e:`${r.l[o]} ${n}`}(o):t:""}}}]);
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.