PageSourceSearch

https://datour.cz/_next/static/chunks/7302.c1feb792e9083942.js

js datour.cz collected 2026-10-09 03:25:13 UTC 7,839 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7302],{1005:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var s=n(37876),r=n(14232),i=n(89793),a=n(19357),c=n(21772),l=n(11041),o=n(48230),d=n.n(o),u=function(e){return e.image="image",e.video="video",e}(u||{});function m(e){let{onClick:t}=e;return(0,s.jsx)("span",{className:"slick_arrow_right",onClick:t,children:(0,s.jsx)(c.g,{icon:l.vmR})})}function p(e){let{onClick:t}=e;return(0,s.jsx)("span",{className:"slick_arrow_left",onClick:t,children:(0,s.jsx)(c.g,{icon:l.Uec})})}let h=e=>{var t;let{agencyInfo:n,position:o,settings:u,onImageClick:h}=e,g=i.A.Initialize(),[j,_]=(0,r.useState)(null);return(0,r.useEffect)(()=>{(async()=>{let e=await g.getQuery("position="+o+"&domain="+n.domain+"&web="+n.web);e.children&&(e.children=e.children.sort((e,t)=>e.order<t.order?-1:1)),_(e)})()},[]),u.arrows&&(u.prevArrow=(0,s.jsx)(p,{}),u.nextArrow=(0,s.jsx)(m,{})),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(a.A,{...u,children:null==j||null==(t=j.children)?void 0:t.filter(e=>e.file).map((e,t)=>(0,s.jsxs)("div",{children:["picture"==e.type&&(0,s.jsx)("img",{src:"".concat("https://backend.anchoice.cz","/cms-slider-entry-picture/").concat(e.file.path),alt:""})||"video"==e.type&&(0,s.jsxs)("video",{width:"100%",muted:!0,autoPlay:!0,playsInline:!0,loop:e.loop,children:[(0,s.jsx)("source",{src:"".concat("https://backend.anchoice.cz","/cms-slider-entry-picture/").concat(e.file.path),type:"video/mp4"}),"Your browser does not support HTML video."]}),(0,s.jsx)("div",{className:"text_box",children:(0,s.jsxs)("div",{className:"container",children:[e.show_name&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("h2",{children:e.name}),(0,s.jsx)("br",{})]}),e.text&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("p",{dangerouslySetInnerHTML:{__html:e.text}}),(0,s.jsx)("br",{})]}),0!=e.link_type&&null!=e.link&&(0,s.jsxs)(d(),{href:e.link.RequestType+e.link.URL,target:2==e.link_type&&e.open_in_new_window?"_blank":"",children:["Zobrazit v\xedce ",(0,s.jsx)(c.g,{icon:l.dmS})]})]})})]},t))})})}},2176:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var s=n(37876),r=n(80070);let i=e=>{let{data:t}=e;return(0,s.jsx)("div",{className:"sf__titleTop",children:(0,s.jsxs)("h2",{children:["Vyb\xedrejte z celkem ",(0,s.jsx)("span",{children:(0,r.Vr)(t)})," term\xednů z\xe1jezdů"]})})}},9572:()=>{},18058:()=>{},32379:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m});var s=n(37876),r=n(92193),i=n(2176),a=n(1005),c=n(54599),l=n(14978),o=n(39324),d=n.n(o),u=n(75656);let m=e=>{let{agencyInfo:t,textFields:n}=e,{publicRuntimeConfig:o}=d()(),{data:m,error:p}=(0,u.Ay)("".concat(o.SEARCH_API_URL,"/web-home-count"));return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"main-slider",children:(0,s.jsx)(a.A,{agencyInfo:t,position:"homepage_slider",settings:{dots:!0,infinite:!0,speed:300,slidesToShow:1,adaptiveHeight:!0,fade:!0,arrows:!0}})}),(0,s.jsxs)("div",{className:"container mt-4",children:[m&&(0,s.jsx)(i.A,{data:m.result}),(0,s.jsx)(r.A,{agencyInfo:t})]}),(0,s.jsx)("div",{className:"container",children:(0,s.jsx)(c.A,{agencyInfo:t,position:"homepage_bloky",tourItem:l.A})})]})}},34406:(e,t,n)=>{"use strict";n.d(t,{d:()=>s});let s={31623:"gr",30633:"bg",30512:"tr",31600:"hr",32272:"es",31690:"it",27763:"eg",31529:"al",30182:"mv",452587:"tz",451026:"cz",27816:"ma",29828:"th",450831:"lk",451780:"mu",27914:"tn",30594:"ae",465694:"it",29155:"co",31281:"se",31127:"lv",29724:"ph",451159:"nl",32028:"rs",31048:"ee",30819:"pl",29561:"mn",31042:"dk",29246:"pe",454231:"kr",30439:"lb",30276:"am",29822:"sg",32563:"ch",31258:"no",31065:"fi",30775:"hu",30419:"jo",30114:"in",29920:"vn",31095:"ie",30412:"il",452666:"tz",31085:"is",450999:"us",29466:"cn",451105:"gb",32367:"fr",30448:"om",28874:"jm",27990:"ke",30458:"qa",31821:"mt",29011:"mx",28075:"sc",31890:"me",28796:"cu",452557:"cv",28824:"do",31997:"pt",30373:"cy",450732:"es",28946:"cr",32493:"de",32061:"si",32343:"at",450747:"sk",31586:"ba",29139:"cl",462970:"ir",29513:"jp",27998:"mg",29692:"my",29709:"mm",30211:"np",500507:"at",30874:"ro",28711:"sn",452262:"lc",452863:"tw",29632:"id",453440:"mk",30380:"ge",32592:"au",29110:"br",502379:"ir",29450:"uz",29075:"ar",32353:"be",29189:"ec",28422:"za",453987:"la",28408:"na",29062:"pa",451095:"pt",595925:"ug",601192:"kz",510223:"ec",456524:"az",599485:"kh",572386:"bb",567551:"aw",576182:"cw",568407:"fr",570157:"fr",567314:"fr",453908:"aq",595592:"gl",29333:"ca",32604:"nz",928199:"sa",582407:"zw",567365:"pf",595027:"kg",928261:"lt",622768:"fo",928438:"pg",588175:"gt",928652:"ck",578725:"tt",805890:"earth",582523:"fj",568118:"ag",596488:"et",623988:"hn",589791:"sj",602033:"uy",580219:"mq",582387:"ao",612185:"dm",582586:"bo",929421:"aq",574363:"gd",929496:"sy",929497:"tibet",603243:"dz",582481:"bh",591148:"bd",599480:"bz",596349:"bt",585204:"bw",615091:"bn",615596:"bf",596198:"bi",613570:"dj",624433:"er",582606:"gf",582424:"gy",589274:"iq",582454:"cg",588334:"ls",582574:"ml",584364:"fm",582413:"mz",582484:"ni",602458:"pk",601868:"py",28069:"rw",623813:"sv",582631:"so",599301:"sd",582554:"sr",601525:"tj",589225:"tm",582404:"zm",588172:"za",929589:"sl",929590:"tg",929591:"bj",929592:"mr",622575:"af",573248:"gm",929677:"ht",929661:"ve",929764:"ad",603830:"lu",599704:"mc",930035:"ye",930087:"vg",930088:"kn",579376:"pr",582451:"ru",570286:"lc",582559:"st",582597:"ga",930753:"xk",927776:"ng",930694:"cm",930705:"sb"}},47122:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var s=n(9515);class r extends s.A{constructor(){super("tour-blocks",null,!1)}}r.Initialize=()=>(r._instance=new r,r._instance),r.Instance=()=>r._instance}
1,54599:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var s=n(37876),r=n(47122),i=n(14232),a=n(65756),c=n(11041),l=n(21772),o=n(91040),d=n(39324),u=n.n(d),m=n(29904);n(30346),n(18058),n(9572);n(27888),n(14864);let p=e=>{let{tourBlock:t,tourItem:n,agencyInfo:r}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("h2",{className:"items-holder__title",children:t.name}),(0,s.jsx)("div",{className:"items-holder ".concat(""," ").concat(n.displayName?"items-holder--"+n.displayName.toLowerCase():""),role:"region","aria-label":"Seznam z\xe1jezdů",children:t.cms_tour_blocks_entries.map(e=>(0,s.jsx)(a.A,{tourBlockEntry:e,tourItem:n,agencyInfo:r},e.id))})]})},h=e=>{let{position:t,tourItem:n,agencyInfo:a}=e,[c,l]=(0,i.useState)(null),o=r.A.Initialize();return((0,i.useEffect)(()=>{(async()=>{l(await o.getQuery("position=".concat(t)))})()},[]),c&&0!=Object.keys(c).length)?(0,s.jsx)(s.Fragment,{children:c.cms_tour_blocks.map((e,t)=>(0,s.jsx)(p,{tourBlock:e,tourItem:n,agencyInfo:a},t))}):(0,s.jsx)(s.Fragment,{})}},65756:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var s=n(37876),r=n(14864),i=n(91040),a=n(39324),c=n.n(a),l=n(14232);let o=e=>{let{tourBlockEntry:t,tourItem:n,agencyInfo:a}=e,o={adults_count:2,children_count:0},{publicRuntimeConfig:d}=c()(),[u,m]=(0,l.useState)(t.tours),p=async(e,t)=>{if(!t)return!1;let n=[...u],s=null,r=n.findIndex(t=>t.item_id===e);return r>-1&&(s=n[r],n.splice(r,1,{...s,...t}),m(n)),i.A.post("".concat(d.BACKEND_API_URL,"/tour-block-entry-update"),{price_fid:t.item_id,person_price:t.unit_price,package_price:t.package_price}),!0};if(null==t)return(0,s.jsx)(s.Fragment,{});let h=null;if(t.search){let e=t.search;h="string"==typeof e||e instanceof String?JSON.parse(e):e}h&&("adults_count"in h&&(o.adults_count=h.adults_count),"children_count"in h&&(o.children_count=h.children_count));let g=(0,r.lI)(o.adults_count,[]);return u?(0,s.jsx)(s.Fragment,{children:u.map((e,r)=>(0,s.jsx)(n,{personsData:g,item:e,search:t.search,replacePackage:p,classNames:["item--type-b","item--animation-b"],agencyInfo:a},r))}):(0,s.jsx)(s.Fragment,{})}},89793:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var s=n(9515);class r extends s.A{constructor(){super("web-templates/slider")}}r.Initialize=()=>(r._instance=new r,r._instance),r.Instance=()=>r._instance}}]);

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.