PageSourceSearch

https://www.insideaustraliatravel.com/_next/static/chunks/6323-2816119497f39872.js

js insideaustraliatravel.com collected 2026-10-04 10:30:12 UTC 6,074 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="edf7cc71-267d-4a2a-856f-d6fac9f8121e",e._sentryDebugIdIdentifier="sentry-dbid-edf7cc71-267d-4a2a-856f-d6fac9f8121e")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6323],{30351:(e,t,r)=>{r.d(t,{h:()=>l});var n=r(85553),o=r(98978),s=r.n(o),a=r(65045),i=r(77011);let l=e=>{let t=a.r,r=(n.u.getTracer("repo-observability"),i.env.LOG_LEVEL),o=null==r?void 0:r.toLowerCase(),l=new Set(["fatal","error","warn","info","debug","trace","silent"]),u=o&&l.has(o)?o:"info",c=s()({level:u,base:{service:e,env:"production",release:t},formatters:{level:e=>({level:e})}}),d=new Set(["turnstile_request_payload","trev_request_payload","payload_meta"]),f=(e,t,r)=>{let n="string"==typeof t?{context:t}:{...t};c[e](n,r)};return Object.assign(c,{event:e=>{var t;let r={...e};switch(t=0,e.severity){case"P0":case"P1":c.error(r);break;case"P2":c.warn(r);break;default:c.info(r)}},quickInfo:(e,t)=>f("info",e,t),quickWarn:(e,t)=>f("warn",e,t),quickError:(e,t)=>f("error",e,t),quickDebug:(e,t)=>f("debug",e,t)})}},46323:(e,t,r)=>{r.d(t,{C6:()=>p,GO:()=>f});var n=r(50150),o=r(22720);class s extends Error{constructor(e,t,r,n,o){super(e),this.name="ApiError",this.status=t,this.data=r,this.url=n,this.responseHeaders=null==o?void 0:o.responseHeaders,this.routeHit=null==o?void 0:o.routeHit}}let a=(0,n.h)("@repo/api"),i=["content-type","server","cf-ray","x-azure-ref","x-ftg-origin","x-ftg-route","x-ftg-site"],l=async e=>{let t=(e=>{let t={};for(let r of i){let n=e.headers.get(r);n&&(t[r]=n)}return t})(e);return{errorBody:await e.json().catch(()=>null),responseHeaders:t,routeHit:"nextjs-api-route"===t["x-ftg-origin"]}},u=e=>
1{let{error:t,operation:r,method:n,endpoint:s,url:a,severity:i,status:l,timeout:u,reason:c,responseHeaders:d,routeHit:f}=e;(0,o.logClientException)(t,{event:"api.client.request_failed",operation:r,domain:"PLATFORM",severity:i,tags:{status_code:l,timeout:u,origin_route_hit:f,response_server:null==d?void 0:d.server,response_content_type:null==d?void 0:d["content-type"]},context:{method:n,endpoint:s,url:(e=>{try{let t=new URL(e,window.location.origin);return"".concat(t.pathname).concat(t.search)}catch(t){return e}})(a),status_code:l,timeout:u,reason:c,origin_route_hit:f,response_headers:d},fingerprint:["api.client.request_failed",r,String(l)]})};class c{async request(e){var t,r;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{baseURL:o,readToken:i,writeToken:c,defaultHeaders:d}=this.config,{operation:f,severity:p="P1",reportClientFailures:h=!0,...g}=n,_=(null==(t=g.method)?void 0:t.toUpperCase())||"GET",v=["POST","PUT","PATCH","DELETE"].includes(_)?c:i,y=new Headers(d);g.headers&&new Headers(g.headers).forEach((e,t)=>{y.set(t,e)}),y.has("Content-Type")||g.body instanceof FormData||y.set("Content-Type","application/json");let w=v?await v():null;w&&y.set("Authorization","Bearer ".concat(w));let m=e.startsWith("/")?e:"/".concat(e),b=o.endsWith("/")?o.slice(0,-1):o,T="".concat(b).concat(m),E=null!=f?f:"".concat(_," ").concat(m),q=null!=(r=this.config.timeout)?r:6e4,x=new AbortController,k=null;try{k=setTimeout(()=>x.abort(),q);let e=await fetch(T,{...g,headers:y,signal:x.signal});if(k&&clearTimeout(k),e.ok){if(204===e.status)return{};return await e.json()}let{errorBody:t,responseHeaders:r,routeHit:n}=await l(e),o=(null==t?void 0:t.message)||e.statusText||"HTTP request returned non-OK response";a.event({domain:"PLATFORM",event:"api.client.request_failed",operation:E,severity:p,status_code:e.status,url:T,reason:o,origin_route_hit:n,response_server:r.server,response_content_type:r["content-type"],response_cf_ray:r["cf-ray"],response_x_azure_ref:r["x-azure-ref"],response_x_ftg_route:r["x-ftg-route"]});let i=new s((null==t?void 0:t.message)||e.statusText||"An unexpected error occurred",e.status,t,T,{responseHeaders:r,routeHit:n});throw h&&u({error:i,operation:E,method:_,endpoint:m,url:T,severity:p,status:e.status,reason:o,responseHeaders:r,routeHit:n}),i}catch(r){if(k&&clearTimeout(k),r instanceof s)throw r;if(r instanceof Error&&"AbortError"===r.name){a.event({domain:"PLATFORM",event:"api.client.request_failed",operation:E,severity:p,status_code:408,url:T,timeout:!0,reason:"Request timeout after ".concat(q,"ms")});let e=new s("Request timeout after ".concat(q,"ms"),408,{timeout:!0},T);throw h&&u({error:e,operation:E,method:_,endpoint:m,url:T,severity:p,status:408,timeout:!0,reason:"Request timeout after ".concat(q,"ms")}),e}let e=r instanceof Error?r.message:"Network request failed";a.event({domain:"PLATFORM",event:"api.client.request_failed",operation:E,severity:p,status_code:0,url:T,reason:e});let t=new s(e,0,null,T);throw h&&u({error:t,operation:E,method:_,endpoint:m,url:T,severity:p,status:0,reason:e}),t}}get(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n="";if(t){let e=new URLSearchParams;Object.entries(t).forEach(t=>{let[r,n]=t;null!=n&&e.append(r,String(n))}),n="?".concat(e.toString())}return this.request("".concat(e).concat(n),{...r,method:"GET"})}post(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request(e,{...r,method:"POST",body:JSON.stringify(t)})}put(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request(e,{...r,method:"PUT",body:JSON.stringify(t)})}delete(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request(e,{...t,method:"DELETE"})}constructor(e){this.config=e}}let d=new c({baseURL:"",readToken:async()=>null,writeToken:async()=>localStorage.getItem("USER_AUTH_TOKEN")}),f=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return d.get(e,void 0,t)},p=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r=>f(r,{...t,operation:e})}},50150:(e,t,r)=>{r.d(t,{h:()=>n.h});var n=r(30351);r(77011),(0,n.h)("@repo/observability")}}]);

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.