PageSourceSearch

https://www.storytel.com/web-assets/9e8df655bf7482ff84f2df3e703455…/_next/static/chunks/2rv4xg1m-a5u6.js

js storytel.com collected 2026-09-24 08:27:26 UTC 27,669 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="6c22fc5b-06bf-ec23-e0d7-c9c731028bb9")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,704832,e=>{"use strict";var t=e.i(95293),n=e.i(294602),a=e.i(187635),s=e.i(948467),r=e.i(239351),o=e.i(377040);e.i(731299);var l=e.i(297709);e.i(649759);var i=e.i(942587);try{var d=window;d._sentryModuleMetadata=d._sentryModuleMetadata||{},d._sentryModuleMetadata[(new d.Error).stack]=Object.assign({},d._sentryModuleMetadata[(new d.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(e){}try{var u=window;u._sentryModuleMetadata=u._sentryModuleMetadata||{},u._sentryModuleMetadata[(new u.Error).stack]=Object.assign({},u._sentryModuleMetadata[(new u.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(e){}function c(e,t){let n=(0,a.createTranslator)({locale:t,messages:e,namespace:"StaticNavbar"});return[[{label:n("links.audiobooks"),href:`/${t}/audiobooks`},{label:n("links.ebooks"),href:`/${t}/ebooks`},{label:n("links.categories"),href:`/${t}/categories`}],[{label:n("links.logIn"),href:`/${t}/login`}]]}let y=c(o.default,"en");e.s(["StaticNavbar",0,({locale:e,messages:a,hideLinks:o=!1})=>{let d=(0,r.useMessages)(e,a),u=(0,s.useMemo)(()=>d?c(d,e):y,[d,e]);return(0,t.jsx)(n.NavigationBar,{logoType:"dk"===e?"mofibo":"storytel",logoHref:`${(0,i.isStagingEnvironment)()?(0,l.getStagingDomain)(e):(0,i.isProdEnvironment)()?(0,l.getDomain)(e):(0,i.clientConfig)().paymentOrigin}/${e}`,items:u,hideLinks:o})}],704832)},187635,239351,e=>{"use strict";var t=e.i(163010),n=e.i(331485);try{var a="u">typeof window?window:e.g;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(e){}e.s(["createTranslator",0,function({_cache:e=(0,t.b)(),_formatters:a=(0,t.c)(e),getMessageFallback:s=n.d,messages:r,namespace:o,onError:l=n.b,...i}){return function({messages:e,namespace:t,...a}){return e=e["!"],t=(0,n.r)(t,"!"),(0,n.a)({...a,messages:e,namespace:t})}({...i,onError:l,cache:e,formatters:a,getMessageFallback:s,messages:{"!":r},namespace:o?`!.${o}`:"!"})}],187635);var s=e.i(731299),r=e.i(948467);try{var o=window;o._sentryModuleMetadata=o._sentryModuleMetadata||{},o._sentryModuleMetadata[(new o.Error).stack]=Object.assign({},o._sentryModuleMetadata[(new o.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(e){}try{var l=window;l._sentryModuleMetadata=l._sentryModuleMetadata||{},l._sentryModuleMetadata[(new l.Error).stack]=Object.assign({},l._sentryModuleMetadata[(new l.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(e){}try{var i=window;i._sentryModuleMetadata=i._sentryModuleMetadata||{},i._sentryModuleMetadata[(new i.Error).stack]=Object.assign({},i._sentryModuleMetadata[(new i.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(e){}let d=async t=>e.f({"../../i18n/translations/ar-AE.json":{id:()=>482199,module:()=>e.A(482199)},"../../i18n/translations/ar-EG.json":{id:()=>83197,module:()=>e.A(83197)},"../../i18n/translations/ar-SA.json":{id:()=>933226,module:()=>e.A(933226)},"../../i18n/translations/bg-BG.json":{id:()=>737255,module:()=>e.A(737255)},"../../i18n/translations/da-DK.json":{id:()=>731109,module:()=>e.A(731109)},"../../i18n/translations/de-DE.json":{id:()=>790098,module:()=>e.A(790098)},"../../i18n/translations/en-001.json":{id:()=>376050,module:()=>e.A(376050)},"../../i18n/translations/en-AU.json":{id:()=>907479,module:()=>e.A(907479)},"../../i18n/translations/en-CA.json":{id:()=>228852,module:()=>e.A(228852)},"../../i18n/translations/en-GB.json":{id:()=>625627,module:()=>e.A(625627)},"../../i18n/translations/en-SG.json":{id:()=>123276,module:()=>e.A(123276)},"../../i18n/translations/en-US.json":{id:()=>218457,module:()=>e.A(218457)},"../../i18n/translations/en.json":{id:()=>167746,module:()=>e.A(167746)},"../../i18n/translations/es-CL.json":{id:()=>446213,module:()=>e.A(446213)},"../../i18n/translations/es-ES.json":{id:()=>910107,module:()=>e.A(910107)},"../../i18n/translations/es-MX.json":{id:()=>763089,module:()=>e.A(763089)},"../../i18n/translations/et-EE.json":{id:()=>660053,module:()=>e.A(660053)},"../../i18n/translations/fi-FI.json":{id:()=>960770,module:()=>e.A(960770)},"../../i18n/translations/fr-BE.json":{id:()=>305649,module:()=>e.A(305649)},"../../i18n/translations/fr-FR.json":{id:()=>192278,module:()=>e.A(192278)},"../../i18n/translations/he-IL.json":{id:()=>764526,module:()=>e.A(764526)},"../../i18n/translations/id-ID.json":{id:()=>938107,module:()=>e.A(938107)},"../../i18n/translations/is-IS.json":{id:()=>924722,module:()=>e.A(924722)}
2,"../../i18n/translations/it-IT.json":{id:()=>877612,module:()=>e.A(877612)},"../../i18n/translations/ko-KR.json":{id:()=>270239,module:()=>e.A(270239)},"../../i18n/translations/nl-BE.json":{id:()=>639895,module:()=>e.A(639895)},"../../i18n/translations/nl-NL.json":{id:()=>223450,module:()=>e.A(223450)},"../../i18n/translations/nn-NO.json":{id:()=>881615,module:()=>e.A(881615)},"../../i18n/translations/pl-PL.json":{id:()=>710005,module:()=>e.A(710005)},"../../i18n/translations/pt-BR.json":{id:()=>280868,module:()=>e.A(280868)},"../../i18n/translations/sv-SE.json":{id:()=>470833,module:()=>e.A(470833)},"../../i18n/translations/th-TH.json":{id:()=>928301,module:()=>e.A(928301)},"../../i18n/translations/tr-TR.json":{id:()=>487400,module:()=>e.A(487400)}}).import(`../../i18n/translations/${t}.json`).then(e=>e.default).catch(()=>({})),u=async t=>{let n={es:"es-MX","es-CL":"es-MX","es-CO":"es-MX"}[t]??null??s.TRANSLATION_SOURCE_LOCALE;return e.f({"../../i18n/translations/ar-AE.json":{id:()=>482199,module:()=>e.A(482199)},"../../i18n/translations/ar-EG.json":{id:()=>83197,module:()=>e.A(83197)},"../../i18n/translations/ar-SA.json":{id:()=>933226,module:()=>e.A(933226)},"../../i18n/translations/bg-BG.json":{id:()=>737255,module:()=>e.A(737255)},"../../i18n/translations/da-DK.json":{id:()=>731109,module:()=>e.A(731109)},"../../i18n/translations/de-DE.json":{id:()=>790098,module:()=>e.A(790098)},"../../i18n/translations/en-001.json":{id:()=>376050,module:()=>e.A(376050)},"../../i18n/translations/en-AU.json":{id:()=>907479,module:()=>e.A(907479)},"../../i18n/translations/en-CA.json":{id:()=>228852,module:()=>e.A(228852)},"../../i18n/translations/en-GB.json":{id:()=>625627,module:()=>e.A(625627)},"../../i18n/translations/en-SG.json":{id:()=>123276,module:()=>e.A(123276)},"../../i18n/translations/en-US.json":{id:()=>218457,module:()=>e.A(218457)},"../../i18n/translations/en.json":{id:()=>167746,module:()=>e.A(167746)},"../../i18n/translations/es-CL.json":{id:()=>446213,module:()=>e.A(446213)},"../../i18n/translations/es-ES.json":{id:()=>910107,module:()=>e.A(910107)},"../../i18n/translations/es-MX.json":{id:()=>763089,module:()=>e.A(763089)},"../../i18n/translations/et-EE.json":{id:()=>660053,module:()=>e.A(660053)},"../../i18n/translations/fi-FI.json":{id:()=>960770,module:()=>e.A(960770)},"../../i18n/translations/fr-BE.json":{id:()=>305649,module:()=>e.A(305649)},"../../i18n/translations/fr-FR.json":{id:()=>192278,module:()=>e.A(192278)},"../../i18n/translations/he-IL.json":{id:()=>764526,module:()=>e.A(764526)},"../../i18n/translations/id-ID.json":{id:()=>938107,module:()=>e.A(938107)},"../../i18n/translations/is-IS.json":{id:()=>924722,module:()=>e.A(924722)},"../../i18n/translations/it-IT.json":{id:()=>877612,module:()=>e.A(877612)},"../../i18n/translations/ko-KR.json":{id:()=>270239,module:()=>e.A(270239)},"../../i18n/translations/nl-BE.json":{id:()=>639895,module:()=>e.A(639895)},"../../i18n/translations/nl-NL.json":{id:()=>223450,module:()=>e.A(223450)},"../../i18n/translations/nn-NO.json":{id:()=>881615,module:()=>e.A(881615)},"../../i18n/translations/pl-PL.json":{id:()=>710005,module:()=>e.A(710005)},"../../i18n/translations/pt-BR.json":{id:()=>280868,module:()=>e.A(280868)},"../../i18n/translations/sv-SE.json":{id:()=>470833,module:()=>e.A(470833)},"../../i18n/translations/th-TH.json":{id:()=>928301,module:()=>e.A(928301)},"../../i18n/translations/tr-TR.json":{id:()=>487400,module:()=>e.A(487400)}}).import(`../../i18n/translations/${n}.json`).then(e=>e.default).catch(()=>({}))};try{var c=window;c._sentryModuleMetadata=c._sentryModuleMetadata||{},c._sentryModuleMetadata[(new c.Error).stack]=Object.assign({},c._sentryModuleMetadata[(new c.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(e){}e.s(["useMessages",0,function(e,t){let[n,a]=(0,r.useState)(void 0);return(0,r.useEffect)(()=>{if(t)return;let n=s.externalLocaleMap[e];Promise.all([d(n),u(n)]).then(([e,t])=>{a(function e(t,n){let a={...t};for(let s in n)n[s]&&"object"==typeof n[s]&&!Array.isArray(n[s])?a[s]=e(t[s]??{},n[s]):a[s]=n[s];return a}(t,e))})},[e,t]),t??n}],239351)},608748,e=>{e.v({menuItem:"navigation-bar-module__RKzS6q__menuItem",prefixSuffix:"navigation-bar-module__RKzS6q__prefixSuffix",selected:"navigation-bar-module__RKzS6q__selected",shouldDisplay:"navigation-bar-module__RKzS6q__shouldDisplay",toggleableContent:"navigation-bar-module__RKzS6q__toggleableContent"})},294602,e=>{"use strict";var t=e.i(95293),n=e.i(16891),a=e.i(652787),s=e.i(90647),r=e.i(174913),o=e.i(942199),l=e.i(764422);e.i(752708);var i=e.i(120326),d=e.i(7284),u=e.i(948467),c=e.i(15913),y=e.i(360449),p=e.i(18742),m=e.i(703246),g=e.i(42414);try{var h="u">typeof window?window:e.g;h._sentryModuleMetadata=h._sentryModuleMetadata||{},h._sentryModuleMetadata[(new h.Error).stack]=Object.assign({},h._sentryModuleMetadata[(new h.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(e){}let M=new WeakMap;var f=e.i(128662),j=e.i(554035);try{var _="u">typeof window?window:e.g;_._sentryModuleMetadata=_._sentryModuleMetadata||{},_._sentryModuleMetadata[(new _.Error).stack]=Object.assign({},_._sentryModuleMetadata[(new _.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(e){}var w=e.i(348037),b=e.i(221005),k=e.i(90355),v=e.i(513351),x=e.i(986917),A=e.i(201829),E=e.i(846265),K=e.i(694702),S=e.i(937849),P=e.i(993873);try{var T="u">typeof window?window:e.g;T._sentryModuleMetadata=T._sentryModuleMetadata||{},T._sentryModuleMetadata[(new T.Error).stack]=Object.assign({},T._sentryModuleMetadata[(new T.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(e){}var C=e.i(699433),N=e.i(55245);try{var B="u">typeof window?window:e.g;B._sentryModuleMetadata=B._sentryModuleMetadata||{},B._sentryModuleMetadata[(new B.Error).stack]=Object.assign({},B._sentryModuleMetadata[(new B.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(e){}var I=e.i(286131);try{var F="u">typeof window?window:e.g;F._sentryModuleMetadata=F._sentryModuleMetadata||{},F._sentryModuleMetadata[(new F.Error).stack]=Object.assign({},F._sentryModuleMetadata[(new F.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(e){}class O{constructor(e,{expandedKeys:t}={}){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e,t=t||new Set;let n=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&("section"===e.type||t.has(e.key)))for(let t of e.childNodes)n(t)};for(let t of e)n(t);let a=null,s=0;for(let[e,t]of this.keyMap)a?(a.nextKey=e,t.prevKey=a.key):(this.firstKey=e,t.prevKey=void 0),"item"===t.type&&(t.index=s++),(a=t).nextKey=void 0;this.lastKey=a?.key??null}*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let t=this.keyMap.get(e);return t?t.prevKey??null:null}getKeyAfter(e){let t=this.keyMap.get(e);return t?t.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){return this.keyMap.get(e)??null}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}}var L=e.i(174079),D=e.i(906999),R=e.i(640848);try{var U="u">typeof window?window:e.g;U._sentryModuleMetadata=U._sentryModuleMetadata||{},U._sentryModuleMetadata[(new U.Error).stack]=Object.assign({},U._sentryModuleMetadata[(new U.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(e){}var V=e.i(442155),G=e.i(969803),$=e.i(34837),H=e.i(834798),z=e.i(286186),q=e.i(608748);try{var W=window;W._sentryModuleMetadata=W._sentryModuleMetadata||{},W._sentryModuleMetadata[(new W.Error).stack]=Object.assign({},W._sentryModuleMetadata[(new W.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(e){}let X=(e,t="desktop")=>"render"in e?null:`${t}-${e.href}-${e.label}`;function J(e,t){return e.map(e=>e.map(e=>(function e(t,n){if(!1===t.enabled||"only"in t&&t.only!==n)return null;if("children"in t&&t.children){let a=t.children.map(t=>e(t,n)).filter(e=>!!e);return 0===a.length?null:{...t,children:a}}return t})(e,t)).filter(e=>!!e)).filter(e=>e.length>0)}try{var Q=window;Q._sentryModuleMetadata=Q._sentryModuleMetadata||{},Q._sentryModuleMetadata[(new Q.Error).stack]=Object.assign({},Q._sentryModuleMetadata[(new Q.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(e){}let Y=e=>{let n=e.item,a=(0,u.useRef)(null),s=function(e){let t=(0,N.useOverlayTriggerState)(e),[n,a]=(0,u.useState)(null),[s,r]=(0,u.useState)([]);return{focusStrategy:n,...t,open(e=null){a(e),t.open()}
2,toggle(e=null){a(e),t.toggle()},close(){r([]),t.close()},expandedKeysStack:s,openSubmenu:(e,t)=>{r(n=>t>n.length?n:[...n.slice(0,t),e])},closeSubmenu:(e,t)=>{r(n=>n[t]===e?n.slice(0,t):n)}}}({}),{menuTriggerProps:r,menuProps:o}=(0,C.useMenuTrigger)({},s,a),{pressProps:l}=(0,E.usePress)(r);(0,u.useEffect)(()=>{if(void 0!==globalThis.window){let e=globalThis.window.matchMedia(V.device.laptop),t=e=>{e.matches||s.close()};if(e)return e.addEventListener("change",t),()=>{e.removeEventListener("change",t)}}},[]);let{track:c}=(0,i.useTrackingV2)({context:{component:"nav_bar",eventType:"link"}});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{children:(0,t.jsxs)("a",{className:z.default.linkItem,href:"#",ref:a,...l,onClick:t=>{e.trackEventName&&c(e.trackEventName,{url:n.href}),l.onClick?.(t)},children:[n.label,(0,t.jsx)("span",{className:(0,d.default)(q.default.prefixSuffix,s.isOpen&&q.default.selected),"aria-hidden":"true",children:(0,t.jsx)(m.ChevronDown,{width:10,height:10,fill:"currentColor"})})]})},X(n)),n.children&&n.children.length>0&&s.isOpen&&(0,t.jsx)(G.Popover,{state:s,triggerRef:a,placement:"bottom",className:$.default.popoverNavbarMenu,children:(0,t.jsx)(Z,{...e,...o})})]})},Z=e=>{let n=(0,u.useRef)(null),a=function(e){let{onExpandedChange:t}=e,[n,a]=(0,D.useControlledState)(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,t),s=(0,R.useMultipleSelectionState)(e),r=(0,u.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),o=(0,L.useCollection)(e,(0,u.useCallback)(e=>new O(e,{expandedKeys:n}),[n]),null);return(0,u.useEffect)(()=>{null==s.focusedKey||o.getItem(s.focusedKey)||s.setFocusedKey(null)},[o,s.focusedKey]),{collection:o,expandedKeys:n,disabledKeys:r,toggleKey:e=>{var t,s;let r;a((t=n,s=e,(r=new Set(t)).has(s)?r.delete(s):r.add(s),r))},setExpandedKeys:a,selectionManager:new(0,I.SelectionManager)(o,s)}}(e),{menuProps:s}=function(e,t,n){let{shouldFocusWrap:a=!0,onKeyDown:s,onKeyUp:r,...o}=e,l=(0,g.filterDOMProps)(e,{labelable:!0}),{listProps:i}=(0,j.useSelectableList)({...o,ref:n,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:a,linkBehavior:"override"});return M.set(t,{onClose:e.onClose,onAction:e.onAction,shouldUseVirtualFocus:e.shouldUseVirtualFocus}),{menuProps:(0,f.mergeProps)(l,{onKeyDown:s,onKeyUp:r},{role:"menu",...i,onKeyDown:t=>{("Escape"!==t.key||e.shouldUseVirtualFocus)&&i.onKeyDown?.(t)}})}}(e,a,n);return(0,t.jsx)("ul",{...s,ref:n,className:$.default.list,children:[...a.collection].map(e=>(0,t.jsx)(ee,{item:e,state:a},e.key))})},ee=({item:e,state:n,trackEventName:a})=>{let s=(0,u.useRef)(null),{menuItemProps:r}=function(e,t,n){let{id:a,key:s,closeOnSelect:r,shouldCloseOnSelect:o,isVirtualized:l,"aria-haspopup":i,onPressStart:d,onPressUp:c,onPress:y,onPressChange:p,onPressEnd:m,onClick:h,onHoverStart:j,onHoverChange:_,onHoverEnd:T,onKeyDown:C,onKeyUp:N,onFocus:B,onFocusChange:I,onBlur:F,selectionManager:O=t.selectionManager}=e,L=!!i,D=L&&"true"===e["aria-expanded"],R=e.isDisabled??O.isDisabled(s),U=e.isSelected??O.isSelected(s),V=M.get(t),G=t.collection.getItem(s),$=e.onClose||V.onClose,H=(0,b.useRouter)(),z="menuitem";L||("single"===O.selectionMode?z="menuitemradio":"multiple"===O.selectionMode&&(z="menuitemcheckbox"));let q=(0,S.useSlotId)(),W=(0,S.useSlotId)(),X=(0,S.useSlotId)(),J={id:a,"aria-disabled":R||void 0,role:z,"aria-label":e["aria-label"],"aria-labelledby":q,"aria-describedby":[e["aria-describedby"],W,X].filter(Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":i,"aria-expanded":e["aria-expanded"]};if("none"===O.selectionMode||L||(J["aria-checked"]=U),l){let e=Number(G?.index);J["aria-posinset"]=Number.isNaN(e)?void 0:e+1,J["aria-setsize"]=(0,P.getItemCount)(t.collection)}let Q=(0,u.useRef)(!1),Y=(0,u.useRef)(null),{itemProps:Z,isFocused:ee}=(0,K.useSelectableItem)({id:a,selectionManager:O,key:s,ref:n,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:V.shouldUseVirtualFocus}),{pressProps:et,isPressed:en}=(0,E.usePress)({onPressStart:d,onPress:y,onPressUp:e=>{"keyboard"!==e.pointerType&&(Y.current={pointerType:e.pointerType}),"mouse"!==e.pointerType||Q.current||e.target.click(),c?.(e)},onPressChange:e=>{p?.(e),Q.current=e},onPressEnd:m,isDisabled:R}),{hoverProps:ea}=(0,x.useHover)({isDisabled:R,onHoverStart(e){(0,k.isFocusVisible)()||D&&i||(O.setFocused(!0),O.setFocusedKey(s)),j?.(e)},onHoverChange:_,onHoverEnd:T}),{keyboardProps:es}=(0,A.useKeyboard)({onKeyDown:e=>{if(e.repeat)return void e.continuePropagation();switch(e.key){case" ":Y.current={pointerType:"keyboard",key:" "},(0,w.getEventTarget)(e).click(),(0,k.setInteractionModality)("keyboard");break;case"Enter":Y.current={pointerType:"keyboard",key:"Enter"},"A"!==(0,w.getEventTarget)(e).tagName&&(0,w.getEventTarget)(e).click(),(0,k.setInteractionModality)("keyboard");break;default:L||e.continuePropagation(),C?.(e)}},onKeyUp:N}),{focusableProps:er}=(0,v.useFocusable)({onBlur:F,onFocus:B,onFocusChange:I},n),eo=(0,g.filterDOMProps)(G?.props);delete eo.id;let el=(0,b.useLinkProps)(G?.props);return{menuItemProps:{...J,...(0,f.mergeProps)(eo,el,L?{onFocus:Z.onFocus,"data-collection":Z["data-collection"],"data-key":Z["data-key"]}:Z,et,ea,es,er,V.shouldUseVirtualFocus||L?{onMouseDown:e=>e.preventDefault()}:void 0,R?void 0:{onClick:t=>{h?.(t),!L&&(G?.props?.onAction?G.props.onAction():e.onAction&&e.onAction(s),V.onAction&&(0,V.onAction)(s)),(0,b.handleLinkClick)(t,H,G.props.href,G?.props.routerOptions);let n=Y.current?.pointerType==="keyboard"?Y.current?.key==="Enter"||"none"===O.selectionMode||O.isLink(s):"multiple"!==O.selectionMode||O.isLink(s);n=o??r??n,$&&!L&&n&&$(),Y.current=null}}),tabIndex:null!=Z.tabIndex&&D&&!V.shouldUseVirtualFocus?-1:Z.tabIndex},labelProps:{id:q},descriptionProps:{id:W},keyboardShortcutProps:{id:X},isFocused:ee,isFocusVisible:ee&&O.isFocused&&(0,k.isFocusVisible)()&&!D,isSelected:U,isPressed:en,isDisabled:R}}({key:e.key},n,s),{track:o}=(0,i.useTrackingV2)({context:{component:"nav_bar",eventType:"link"}});return(0,t.jsx)("li",{children:(0,t.jsx)(H.Typography,{as:"a",variant:"label-m",className:q.default.menuItem,...r,onClick:t=>{a&&o(a,{url:e.props.href}),r.onClick?.(t)},ref:s,children:e.rendered})})};try{var et=window;et._sentryModuleMetadata=et._sentryModuleMetadata||{},et._sentryModuleMetadata[(new et.Error).stack]=Object.assign({},et._sentryModuleMetadata[(new et.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(e){}let en=({logoType:e="storytel",logoAriaLabel:n,logoHref:s,items:u,className:c,children:y,actions:p,search:m,trackEventName:g,hideLinks:h=!1})=>{let M=h?[]:J(u,"desktop"),{track:f}=(0,i.useTrackingV2)({context:{component:"nav_bar",eventType:"link"}});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:(0,d.default)(z.default.bar,c),children:[(0,t.jsx)("a",{className:"desktop",href:s??"/","aria-label":n,onClick:()=>g&&f(g),children:(0,t.jsx)("div",{className:z.default.brand,children:"storytel"===e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.Logo,{width:20,height:23,fill:"#FF5C28"}),(0,t.jsx)(a.Company,{width:86,height:24,fill:l.ColorTypographyInvertedTextBodyIvt})]}):(0,t.jsx)(o.MofiboLogo,{width:"auto",height:35})})}),(0,t.jsxs)("div",{className:z.default.headerGroup,children:[(0,t.jsx)("nav",{className:z.default.navigation,children:M.map((e,n)=>(0,t.jsxs)("ul",{className:z.default.menuList,children:[e.map(e=>es(e,g)),n===M.length-1&&p]},e.map(e=>X(e)).join("|")))}),m]})]}),y]})},ea=({logoType:e="storytel",logoAriaLabel:c,logoHref:y,className:p,items:m,actions:g,isOpen:h,onToggle:M,children:f,trackEventName:j,hideLinks:_=!1})=>{let w=_?[]:J(m,"mobile"),[b,k]=(0,u.useState)(h);(0,u.useEffect)(()=>
2{if(h)return void k(!0);let e=setTimeout(()=>{k(!1)},300);return()=>clearTimeout(e)},[h]);let{track:v}=(0,i.useTrackingV2)({context:{component:"nav_bar",eventType:"link"}});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:(0,d.default)(z.default.bar,p),children:[(0,t.jsx)("a",{href:y??"/","aria-label":c,onClick:()=>j&&v(j),children:(0,t.jsx)("div",{className:z.default.brand,children:"storytel"===e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.Logo,{width:20,height:23,fill:"#FF5C28"}),(0,t.jsx)(a.Company,{width:86,height:24,fill:l.ColorTypographyInvertedTextBodyIvt})]}):(0,t.jsx)(o.MofiboLogo,{width:"auto",height:35})})}),(0,t.jsxs)("div",{className:z.default.headerGroup,children:[g,!_&&(0,t.jsx)("button",{type:"button",className:z.default.toggleableButton,onClick:M,"aria-label":"Menu","aria-expanded":h,children:h?(0,t.jsx)(s.Cross,{className:z.default.icon,width:20,height:16,fill:l.ColorTypographyInvertedTextBodyIvt,"aria-hidden":"true",focusable:"false"}):(0,t.jsx)(n.Burger,{className:z.default.icon,width:20,height:16,fill:l.ColorTypographyInvertedTextBodyIvt,"aria-hidden":"true",focusable:"false"})})]})]}),!_&&(0,t.jsx)("div",{className:(0,d.default)(z.default.toggleable,h&&z.default.open,p),children:(0,t.jsxs)("div",{className:(0,d.default)(q.default.toggleableContent,b&&q.default.shouldDisplay),children:[(0,t.jsx)("nav",{className:z.default.navigation,children:w.map(e=>(0,t.jsx)("ul",{className:z.default.menuList,children:e.map(e=>er(e,j))},e.map(e=>X(e,"mobile")).join("|")))}),f]})})]})},es=(e,n)=>e.children&&e.children.length>0?(0,t.jsx)(Y,{item:e,trackEventName:n,children:e.children.map(e=>(0,t.jsx)(c.Item,{href:e.href,target:e.target||"_self",children:e.label},X(e)))},X(e)):(0,t.jsx)("li",{children:(0,t.jsx)(eo,{item:e})},X(e)),er=(e,n)=>e.children&&e.children.length>0?e.children.map(e=>er(e,n)):(0,t.jsx)("li",{children:(0,t.jsx)(eo,{item:e,trackEventName:n})},X(e,"desktop")),eo=({item:e,trackEventName:n})=>{let a="type"in e?e.type:"link",{track:s}=(0,i.useTrackingV2)({context:{component:"nav_bar",eventType:"link"}});return"button"===a?(0,t.jsx)(y.Button,{as:"a",variant:"primary",hollow:!0,inverted:!0,href:e.href,target:e.target||"_self",onClick:()=>n&&s(n,{url:e.href}),children:e.label}):(0,t.jsx)("a",{className:z.default.linkItem,href:e.href,target:e.target||"_self",onClick:()=>n&&s(n,{url:e.href}),children:e.label})};e.s(["NavigationBar",0,({...e})=>{let[n,a]=(0,u.useState)(!1);return(0,t.jsxs)("header",{className:z.default.header,children:[(0,t.jsx)(p.Media,{lessThan:"laptop",children:(0,t.jsx)(ea,{...e,isOpen:n,onToggle:()=>{a(!n)}})}),(0,t.jsx)(p.Media,{greaterThanOrEqual:"laptop",children:(0,t.jsx)(en,{...e})})]})}],294602)},252725,e=>{e.v({section:"prompt-message-template-module__-yMiHa__section"})},570607,747375,971720,e=>{"use strict";var t=e.i(95293),n=e.i(7284),a=e.i(834798),s=e.i(361776);try{var r=window;r._sentryModuleMetadata=r._sentryModuleMetadata||{},r._sentryModuleMetadata[(new r.Error).stack]=Object.assign({},r._sentryModuleMetadata[(new r.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(e){}let o=({imgSrc:e,title:r,description:o,info:l,children:i,className:d})=>(0,t.jsxs)("div",{className:(0,n.default)(s.default.wrapper,d),children:[e&&(0,t.jsx)("img",{className:s.default.image,src:e,alt:""}),(0,t.jsxs)("div",{className:s.default.textWrapper,children:[r&&(0,t.jsx)(a.Typography,{as:"h1",variant:"heading-03",className:s.default.title,children:r}),(0,t.jsx)(a.Typography,{variant:"body",children:o}),l&&(0,t.jsx)(a.Typography,{variant:"body-small",children:l})]}),i]});var l=e.i(891891),i=e.i(252725);try{var d=window;d._sentryModuleMetadata=d._sentryModuleMetadata||{},d._sentryModuleMetadata[(new d.Error).stack]=Object.assign({},d._sentryModuleMetadata[(new d.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(e){}e.s(["PromptMessageTemplate",0,({className:e,...a})=>(0,t.jsx)(l.Section,{className:(0,n.clsx)(i.default.section,e),children:(0,t.jsx)(o,{...a})})],570607);try{var u=window;u._sentryModuleMetadata=u._sentryModuleMetadata||{},u._sentryModuleMetadata[(new u.Error).stack]=Object.assign({},u._sentryModuleMetadata[(new u.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(e){}e.s(["PageMain",0,({children:e,className:n})=>(0,t.jsx)("main",{className:n,children:e})],747375);var c=e.i(731299);try{var y=window;y._sentryModuleMetadata=y._sentryModuleMetadata||{},y._sentryModuleMetadata[(new y.Error).stack]=Object.assign({},y._sentryModuleMetadata[(new y.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(e){}try{var p=window;p._sentryModuleMetadata=p._sentryModuleMetadata||{},p._sentryModuleMetadata[(new p.Error).stack]=Object.assign({},p._sentryModuleMetadata[(new p.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(e){}try{var m=window;m._sentryModuleMetadata=m._sentryModuleMetadata||{},m._sentryModuleMetadata[(new m.Error).stack]=Object.assign({},m._sentryModuleMetadata[(new m.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(e){}e.s(["NoIndexSeoTags",0,({title:e,description:n,locale:a})=>{let s=c.externalLocaleMap[a]??c.externalLocaleMap.default;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("title",{children:e}),(0,t.jsx)("meta",{name:"description",content:n}),(0,t.jsx)("meta",{name:"robots",content:(({noIndex:e,noFollow:t,unavailableAfter:n})=>[e?"noindex":"index",t?"nofollow":"follow",...n?[`unavailable_after: ${n}`]:[]].join(","))({noIndex:!0,noFollow:!0})}),(0,t.jsx)("meta",{name:"p:domain_verify",content:"dk"===a?"68132f26212467f2b2d6befded
274ea36":"fcf60b35690b03b56775015a4342b4e3"}),(0,t.jsx)("meta",{property:"og:title",content:e}),(0,t.jsx)("meta",{property:"og:description",content:n}),(0,t.jsx)("meta",{property:"og:type",content:"website"}),(0,t.jsx)("meta",{property:"og:locale",content:(0,c.transformLocaleForOpenGraph)(s)}),(0,t.jsx)("meta",{property:"og:site_name",content:"www.storytel.com"}),(0,t.jsx)("meta",{property:"og:image",content:"dk"===a?"https://www.storytel.com/assets/images/open-graph-logo-mofibo.png":"https://www.storytel.com/assets/images/open-graph-logo-storytel.png"})]})}],971720)},361776,e=>{e.v({image:"prompt-message-module__Icls8G__image",textWrapper:"prompt-message-module__Icls8G__textWrapper",title:"prompt-message-module__Icls8G__title",wrapper:"prompt-message-module__Icls8G__wrapper"})}]);
3
4//# debugId=6c22fc5b-06bf-ec23-e0d7-c9c731028bb9

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.