\n
\n\n \n'+(null!=(o=d(i,"each").call(u,null!=t?d(t,"navItems"):t,{name:"each",hash:{},fn:e.program(1,s,1,r,a),inverse:e.noop,data:s,blockParams:r,loc:{start:{line:41,column:8},end:{line:54,column:17}}}))?o:"")+" \n\n"+(null!=(o=d(i,"each").call(u,null!=t?d(t,"navItems"):t,{name:"each",hash:{},fn:e.program(4,s,1,r,a),inverse:e.noop,data:s,blockParams:r,loc:{start:{line:57,column:4},end:{line:89,column:13}}}))?o:"")+"\n \n"},useData:!0,useDepths:!0,useBlockParams:!0})},888:(e,t,i)=>{var n=i(624);e.exports=(n.default||n).template({1:function(e,t,i,n,s,r,a){var o,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
\n'+(null!=(o=l(i,"each").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?l(t,"data"):t)?l(o,"items"):o,{name:"each",hash:{},fn:e.program(2,s,1,r,a),inverse:e.noop,data:s,blockParams:r,loc:{start:{line:3,column:8},end:{line:33,column:17}}}))?o:"")+" \n"},2:function(e,t,i,n,s,r,a){var o,l=e.lambda,c=e.escapeExpression,u=null!=t?t:e.nullContext||{},d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
\n \n \x3c!--\n --\x3e'+(null!=(o=d(i,"if").call(u,null!=(o=null!=a[1]?d(a[1],"data"):a[1])?d(o,"showIcon"):o,{name:"if",hash:{},fn:e.program(3,s,0,r,a),inverse:e.noop,data:s,blockParams:r,loc:{start:{line:11,column:24},end:{line:15,column:31}}}))?o:"")+'\x3c!--\n --\x3e'+(null!=(o=d(i,"if").call(u,null!=(o=r[0][0])?d(o,"titleMarked"):o,{name:"if",hash:{},fn:e.program(5,s,0,r,a),inverse:e.program(7,s,0,r,a),data:s,blockParams:r,loc:{start:{line:16,column:53},end:{line:16,column:133}}}))?o:"")+" \x3c!--\n --\x3e"+(null!=(o=d(i,"if").call(u,null!=(o=r[0][0])?d(o,"location"):o,{name:"if",hash:{},fn:e.program(9,s,0,r,a),inverse:e.noop,data:s,blockParams:r,loc:{start:{line:17,column:24},end:{line:19,column:31}}}))?o:"")+"\x3c!--\n --\x3e"+(null!=(o=d(i,"if").call(u,null!=(o=r[0][0])?d(o,"trending"):o,{name:"if",hash:{},fn:e.program(11,s,0,r,a),inverse:e.noop,data:s,blockParams:r,loc:{start:{line:20,column:24},end:{line:22,column:31}}}))?o:"")+'\x3c!--\n --\x3e\n \n \n \n'},3:function(e,t,i,n,s){return'\x3c!--\n --\x3e
\x3c!--\n --\x3e'},5:function(e,t,i,n,s,r){var a,o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(a=e.lambda(null!=(a=r[1][0])?o(a,"titleMarked"):a,t))?a:""},7:function(e,t,i,n,s,r){var a,o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression(e.lambda(null!=(a=r[1][0])?o(a,"titlePlain"):a,t))},9:function(e,t,i,n,s,r){var a,o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\x3c!--\n --\x3e-'+e.escapeExpression(e.lambda(null!=(a=r[1][0])?o(a,"location"):a,t))+" \x3c!--\n --\x3e"},11:function(e,t,i,n,s,r,a){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\x3c!--\n --\x3e'+e.escapeExpression(e.lambda(null!=a[1]?o(a[1],"badge"):a[1],t))+" \x3c!--\n --\x3e"},compiler:[8,">= 4.3.0"],main:function(e,t,i,n,s,r,a){var o,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=l(i,"if").call(null!=t?t:e.nullContext||{},null!=t?l(t,"data"):t,{name:"if",hash:{},fn:e.program(1,s,0,r,a),inverse:e.noop,data:s,blockParams:r,loc:{start:{line:1,column:0},end:{line:35,column:7}}}))?o:""},useData:!0,useDepths:!0,useBlockParams:!0})},424:(e,t,i)=>{var n=i(624);e.exports=(n.default||n).template({1:function(e,t,i,n,s){var r,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=a(i,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"trendings"):t,{name:"if",hash:{},fn:e.program(2,s,0),inverse:e.noop,data:s,loc:{start:{line:3,column:8},end:{line:9,column:15}}}))?r:""},2:function(e,t,n,s,r){var a,o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
\n
\n '+(null!=(a=e.invokePartial(i(556),t,{name:"titlebar",hash:{title:null!=(a=null!=t?o(t,"i18n"):t)?o(a,"trending"):a},fn:e.program(3,r,0),inverse:e.noop,data:r,helpers:n,partials:s,decorators:e.decorators}))?a:"")+"\n"+(null!=(a=e.invokePartial(i(80),t,{name:"trending-list",hash:{data:null!=t?o(t,"trendings"):t},data:r,indent:" ",helpers:n,partials:s,decorators:e.decorators}))?a:"")+"
\n"},3:function(e,t,i,n,s){return""},5:function(e,t,n,s,r){var a,o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(a=e.invokePartial(i(556),t,{name:"titlebar",hash:{title:null!=(a=null!=t?o(t,"i18n"):t)?o(a,"recent"):a},fn:e.program(6,r,0),inverse:e.noop,data:r,helpers:n,partials:s,decorators:e.decorators}))?a:"")+(null!=(a=e.invokePartial(i(888),t,{name:"list",hash:{data:null!=t?o(t,"recent"):t},data:r,indent:" ",helpers:n,partials:s,decorators:e.decorators}))?a:"")},6:function(e,t,i,n,s){var r,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' \n"},8:function(e,t,n,s,r){var a,o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(a=e.invokePartial(i(556),t,{name:"titlebar",hash:{title:null!=(a=null!=t?o(t,"i18n"):t)?o(a,"suggestions"):a},fn:e.program(3,r,0),inverse:e.noop,data:r,helpers:n,partials:s,decorators:e.decorators}))?a:"")+"\n"+(null!=(a=e.invokePartial(i(888),t,{name:"list",hash:{badge:null!=(a=null!=t?o(t,"i18n"):t)?o(a,"trending_badge"):a,data:null!=t?o(t,"suggestions"):t},data:r,indent:" ",helpers:n,partials:s,decorators:e.decorators}))?a:"")},compiler:[8,">= 4.3.0"],main:function(e,t,i,n,s){var r,a=null!=t?t:e.nullContext||{},o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
\n'+(null!=(r=o(i,"unless").call(a,null!=(r=null!=t?o(t,"suggestions"):t)?o(r,"items"):r,{name:"unless",hash:{},fn:e.program(1,s,0),inverse:e.noop,data:s,loc:{start:{line:2,column:4},end:{line:10,column:15}}}))?r:"")+(null!=(r=o(i,"if").call(a,null!=(r=null!=t?o(t,"recent"):t)?o(r,"items"):r,{name:"if",hash:{},fn:e.program(5,s,0),inverse:e.noop,data:s,loc:{start:{line:11,column:4},end:{line:16,column:11}}}))?r:"")+(null!=(r=o(i,"if").call(a,null!=(r=null!=t?o(t,"suggestions"):t)?o(r,"items"):r,{name:"if",hash:{},fn:e.program(8,s,0),inverse:e.noop,data:s,loc:{start:{line:17,column:4},end:{line:20,column:11}}}))?r:"")+" \n"},usePartial:!0,useData:!0})},556:(e,t,i)=>{var n=i(624);e.exports=(n.default||n).template({1:function(e,t,i,n,s){var r,a,o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
\n '+e.escapeExpression("function"==typeof(a=null!=(a=o(i,"title")||(null!=t?o(t,"title"):t))?a:e.hooks.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:s,loc:{start:{line:3,column:63},end:{line:3,column:72}}}):a)+" \n"+(null!=(r=e.invokePartial(o(n,"@partial-block"),t,{name:"@partial-block",data:s,indent:" ",helpers:i,partials:n,decorators:e.decorators}))?r:"")+"
\n"},compiler:[8,">= 4.3.0"],main:function(e,t,i,n,s){var r,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=a(i,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"title"):t,{name:"if",hash:{},fn:e.program(1,s,0),inverse:e.noop,data:s,loc:{start:{line:1,column:0},end:{line:6,column:7}}}))?r:""},usePartial:!0,useData:!0})},80:(e,t,i)=>{var n=i(624);e.exports=(n.default||n).template({1:function(e,t,i,n,s,r){var a,o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
\n'+(null!=(a=o(i,"each").call(null!=t?t:e.nullContext||{},null!=t?o(t,"data"):t,{name:"each",hash:{},fn:e.program(2,s,1,r),inverse:e.noop,data:s,blockParams:r,loc:{start:{line:3,column:8},end:{line:12,column:17}}}))?a:"")+" \n"},2:function(e,t,i,n,s,r){var a,o=e.lambda,l=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
\n \n '+l(o(null!=(a=r[0][0])?c(a,"query"):a,t))+"\n \n \n"},compiler:[8,">= 4.3.0"],main:function(e,t,i,n,s,r){var a,o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(a=o(i,"if").call(null!=t?t:e.nullContext||{},null!=t?o(t,"data"):t,{name:"if",hash:{},fn:e.program(1,s,0,r),inverse:e.noop,data:s,blockParams:r,loc:{start:{line:1,column:0},end:{line:14,column:7}}}))?a:""},useData:!0,useBlockParams:!0})},732:(e,t,i)=>{"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function s(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}t.__esModule=!0;var r=s(i(552)),a=n(i(592)),o=n(i(384)),l=s(i(440)),c=s(i(776)),u=n(i(24));function d(){var e=new r.HandlebarsEnvironment;return l.extend(e,r),e.SafeString=a.default,e.Exception=o.default,e.Utils=l,e.escapeExpression=l.escapeExpression,e.VM=c,e.template=function(t){return c.template(t,e)},e}var h=d();h.create=d,u.default(h),h.default=h,t.default=h,e.exports=t.default},552:(e,t,i)=>{"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.HandlebarsEnvironment=d;var s=i(440),r=n(i(384)),a=i(707),o=i(677),l=n(i(896)),c=i(60);t.VERSION="4.7.8";t.COMPILER_REVISION=8;t.LAST_COMPATIBLE_COMPILER_REVISION=7;t.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};var u="[object Object]";function d(e,t,i){this.helpers=e||{},this.partials=t||{},this.decorators=i||{},a.registerDefaultHelpers(this),o.registerDefaultDecorators(this)}d.prototype={constructor:d,logger:l.default,log:l.default.log,registerHelper:function(e,t){if(s.toString.call(e)===u){if(t)throw new r.default("Arg not supported with multiple helpers");s.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if(s.toString.call(e)===u)s.extend(this.partials,e);else{if(void 0===t)throw new r.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=t}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,t){if(s.toString.call(e)===u){if(t)throw new r.default("Arg not supported with multiple decorators");s.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function(){c.resetLoggedProperties()}};var h=l.default.log;t.log=h,t.createFrame=s.createFrame,t.logger=l.default},677:(e,t,i)=>{"use strict";t.__esModule=!0,t.registerDefaultDecorators=function(e){r.default(e)};var n,s=i(152),r=(n=s)&&n.__esModule?n:{default:n}},152:(e,t,i)=>{"use strict";t.__esModule=!0;var n=i(440);t.default=function(e){e.registerDecorator("inline",(function(e,t,i,s){var r=e;return t.partials||(t.partials={},r=function(s,r){var a=i.partials;i.partials=n.extend({},a,t.partials);var o=e(s,r);return i.partials=a,o}),t.partials[s.args[0]]=s.fn,r}))},e.exports=t.default},384:(e,t)=>{"use strict";t.__esModule=!0;var i=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function n(e,t){var s=t&&t.loc,r=void 0,a=void 0,o=void 0,l=void 0;s&&(r=s.start.line,a=s.end.line,o=s.start.column,l=s.end.column,e+=" - "+r+":"+o);for(var c=Error.prototype.constructor.call(this,e),u=0;u
{"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.registerDefaultHelpers=function(e){s.default(e),r.default(e),a.default(e),o.default(e),l.default(e),c.default(e),u.default(e)},t.moveHelperToHooks=function(e,t,i){e.helpers[t]&&(e.hooks[t]=e.helpers[t],i||delete e.helpers[t])};var s=n(i(120)),r=n(i(344)),a=n(i(356)),o=n(i(192)),l=n(i(464)),c=n(i(844)),u=n(i(216))},120:(e,t,i)=>{"use strict";t.__esModule=!0;var n=i(440);t.default=function(e){e.registerHelper("blockHelperMissing",(function(t,i){var s=i.inverse,r=i.fn;if(!0===t)return r(this);if(!1===t||null==t)return s(this);if(n.isArray(t))return t.length>0?(i.ids&&(i.ids=[i.name]),e.helpers.each(t,i)):s(this);if(i.data&&i.ids){var a=n.createFrame(i.data);a.contextPath=n.appendContextPath(i.data.contextPath,i.name),i={data:a}}return r(t,i)}))},e.exports=t.default},344:(e,t,i)=>{"use strict";t.__esModule=!0;var n,s=i(440),r=i(384),a=(n=r)&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("each",(function(e,t){if(!t)throw new a.default("Must pass iterator to #each");var i,n=t.fn,r=t.inverse,o=0,l="",c=void 0,u=void 0;function d(t,i,r){c&&(c.key=t,c.index=i,c.first=0===i,c.last=!!r,u&&(c.contextPath=u+t)),l+=n(e[t],{data:c,blockParams:s.blockParams([e[t],t],[u+t,null])})}if(t.data&&t.ids&&(u=s.appendContextPath(t.data.contextPath,t.ids[0])+"."),s.isFunction(e)&&(e=e.call(this)),t.data&&(c=s.createFrame(t.data)),e&&"object"==typeof e)if(s.isArray(e))for(var h=e.length;o{"use strict";t.__esModule=!0;var n,s=i(384),r=(n=s)&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("helperMissing",(function(){if(1!==arguments.length)throw new r.default('Missing helper: "'+arguments[arguments.length-1].name+'"')}))},e.exports=t.default},192:(e,t,i)=>{"use strict";t.__esModule=!0;var n,s=i(440),r=i(384),a=(n=r)&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("if",(function(e,t){if(2!=arguments.length)throw new a.default("#if requires exactly one argument");return s.isFunction(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||s.isEmpty(e)?t.inverse(this):t.fn(this)})),e.registerHelper("unless",(function(t,i){if(2!=arguments.length)throw new a.default("#unless requires exactly one argument");return e.helpers.if.call(this,t,{fn:i.inverse,inverse:i.fn,hash:i.hash})}))},e.exports=t.default},464:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e){e.registerHelper("log",(function(){for(var t=[void 0],i=arguments[arguments.length-1],n=0;n{"use strict";t.__esModule=!0,t.default=function(e){e.registerHelper("lookup",(function(e,t,i){return e?i.lookupProperty(e,t):e}))},e.exports=t.default},216:(e,t,i)=>{"use strict";t.__esModule=!0;var n,s=i(440),r=i(384),a=(n=r)&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("with",(function(e,t){if(2!=arguments.length)throw new a.default("#with requires exactly one argument");s.isFunction(e)&&(e=e.call(this));var i=t.fn;if(s.isEmpty(e))return t.inverse(this);var n=t.data;return t.data&&t.ids&&((n=s.createFrame(t.data)).contextPath=s.appendContextPath(t.data.contextPath,t.ids[0])),i(e,{data:n,blockParams:s.blockParams([e],[n&&n.contextPath])})}))},e.exports=t.default},520:(e,t,i)=>{"use strict";t.__esModule=!0,t.createNewLookupObject=function(){for(var e=arguments.length,t=Array(e),i=0;i{"use strict";t.__esModule=!0,t.createProtoAccessControl=function(e){var t=Object.create(null);t.constructor=!1,t.__defineGetter__=!1,t.__defineSetter__=!1,t.__lookupGetter__=!1;var i=Object.create(null);return i.__proto__=!1,{properties:{whitelist:s.createNewLookupObject(i,e.allowedProtoProperties),defaultValue:e.allowProtoPropertiesByDefault},methods:{whitelist:s.createNewLookupObject(t,e.allowedProtoMethods),defaultValue:e.allowProtoMethodsByDefault}}},t.resultIsAllowed=function(e,t,i){return l("function"==typeof e?t.methods:t.properties,i)},t.resetLoggedProperties=function(){Object.keys(o).forEach((function(e){delete o[e]}))};var n,s=i(520),r=i(896),a=(n=r)&&n.__esModule?n:{default:n},o=Object.create(null);function l(e,t){return void 0!==e.whitelist[t]?!0===e.whitelist[t]:void 0!==e.defaultValue?e.defaultValue:(function(e){!0!==o[e]&&(o[e]=!0,a.default.log("error",'Handlebars: Access has been denied to resolve the property "'+e+'" because it is not an "own property" of its parent .\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details'))}(t),!1)}},560:(e,t)=>{"use strict";t.__esModule=!0,t.wrapHelper=function(e,t){if("function"!=typeof e)return e;return function(){return arguments[arguments.length-1]=t(arguments[arguments.length-1]),e.apply(this,arguments)}}},896:(e,t,i)=>{"use strict";t.__esModule=!0;var n=i(440),s={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if("string"==typeof e){var t=n.indexOf(s.methodMap,e.toLowerCase());e=t>=0?t:parseInt(e,10)}return e},log:function(e){if(e=s.lookupLevel(e),"undefined"!=typeof console&&s.lookupLevel(s.level)<=e){var t=s.methodMap[e];console[t]||(t="log");for(var i=arguments.length,n=Array(i>1?i-1:0),r=1;r{"use strict";t.__esModule=!0,t.default=function(e){"object"!=typeof globalThis&&(Object.prototype.__defineGetter__("__magic__",(function(){return this})),__magic__.globalThis=__magic__,delete Object.prototype.__magic__);var t=globalThis.Handlebars;e.noConflict=function(){return globalThis.Handlebars===e&&(globalThis.Handlebars=t),e}},e.exports=t.default},776:(e,t,i)=>{"use strict";t.__esModule=!0,t.checkRevision=function(e){var t=e&&e[0]||1,i=o.COMPILER_REVISION;if(t>=o.LAST_COMPATIBLE_COMPILER_REVISION&&t<=o.COMPILER_REVISION)return;if(t{"use strict";function i(e){this.string=e}t.__esModule=!0,i.prototype.toString=i.prototype.toHTML=function(){return""+this.string},t.default=i,e.exports=t.default},440:(e,t)=>{"use strict";t.__esModule=!0,t.extend=a,t.indexOf=function(e,t){for(var i=0,n=e.length;i":">",'"':""","'":"'","`":"`","=":"="},n=/[&<>"'`=]/g,s=/[&<>"'`=]/;function r(e){return i[e]}function a(e){for(var t=1;t{e.exports=i(732).default},936:function(e,t){var i,n,s;n=[],void 0===(s="function"==typeof(i=function(){var e=function(){},t={},i={},n={};function s(e,t){e=e.push?e:[e];var s,r,a,o=[],l=e.length,c=l;for(s=function(e,i){i.length&&o.push(e),--c||t(o)};l--;)r=e[l],(a=i[r])?s(r,a):(n[r]=n[r]||[]).push(s)}function r(e,t){if(e){var s=n[e];if(i[e]=t,s)for(;s.length;)s[0](e,t),s.splice(0,1)}}function a(t,i){t.call&&(t={success:t}),i.length?(t.error||e)(i):(t.success||e)(t)}function o(t,i,n,s){var r,a,l=document,c=n.async,u=(n.numRetries||0)+1,d=n.before||e,h=t.replace(/[\?|#].*$/,""),p=t.replace(/^(css|img)!/,"");s=s||0,/(^css!|\.css$)/.test(h)?((a=l.createElement("link")).rel="stylesheet",a.href=p,(r="hideFocus"in a)&&a.relList&&(r=0,a.rel="preload",a.as="style")):/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(h)?(a=l.createElement("img")).src=p:((a=l.createElement("script")).src=t,a.async=void 0===c||c),a.onload=a.onerror=a.onbeforeload=function(e){var l=e.type[0];if(r)try{a.sheet.cssText.length||(l="e")}catch(e){18!=e.code&&(l="e")}if("e"==l){if((s+=1){var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";const e="enabled.idealo.header",t="disable.idealo.header",n="disabled.idealo.header",s="enable.idealo.search",r="i-header",a={INITIALISED:`${r}--initialised`},o={HEADER_COMPONENT:`.${r}`};class l{static initIdealoObject(){window.idealo=window.idealo||{},window.idealo.header={}}constructor(){this.root=null,this.isInitialised=!1,this.init()}init(){l.initIdealoObject(),this.root=window.document.querySelector(o.HEADER_COMPONENT),null!==this.root&&(this.bindEvents(),this.isInitialised=!0),this.render()}bindEvents(){this.root.addEventListener("click",(()=>{let e=document.createEvent("Event");e.initEvent(t,!0,!0),"function"==typeof Event&&(e=new Event(t)),window.document.dispatchEvent(e)}))}render(){this.isInitialised&&(this.root.classList.add(a.INITIALISED),this.root.setAttribute("data-header-build-version","20240220160939"))}}const c={event:"header_flights_click",owner:"de.idealo.tyrell",version:"1-0-0"},u={event:"header_hotel_click",owner:"de.idealo.tyrell",version:"1-0-0"},d={event:"header_flights_hotel_click",owner:"de.idealo.tyrell",version:"1-0-0"},h={event:"header_magazin_click",owner:"de.idealo.tyrell",version:"1-0-0"},p={event:"header_idealo_logo_click",owner:"de.idealo.tyrell",version:"1-0-0"},v={event:"header_all_categories_click",owner:"de.idealo.tyrell",version:"1-0-0"},g={event:"header_wishlist_click",owner:"de.idealo.tyrell",version:"1-0-0"},m={event:"header_notification_click",owner:"de.idealo.tyrell",version:"1-0-0"},f={event:"searchbar_last_seen_delete_click",owner:"de.idealo.tyrell",version:"1-0-0"},y={event:"searchbar_start_typing_before_focus",owner:"de.idealo.tyrell",version:"1-0-0"},w=e=>{window?.utag_data?.push(e)},E=()=>w(c),S=()=>w(u),I=()=>w(d),_=()=>w(h),b=()=>w(p),T=()=>w(v),O=()=>w(g),A=()=>w(m),L=3e3;class k{constructor(){this.abortController=null}async fetchWithTimeout(e,t={}){const{timeout:i=L}=t;this.abortController=new AbortController;const n=setTimeout((()=>this.abortController.abort()),i),s=await window.fetch(e,{...t,signal:this.abortController.signal});clearTimeout(n);return await s.json()}cancelRequest(){this.abortController?.abort()}isRequestCancelled(){return this.abortController?.signal?.aborted}}const P=i(16),C="i-navigation",x="aria-expanded",N="aria-hidden",M="aria-pressed",H={ACTIVE:`${C}--active`,INITIALISED:`${C}--initialised`,LIST_HAS_SELECTION:`${C}-overlay--has-selection`,LIST_ITEM_ACTIVE:`${C}-list-item--active`,LIST_ITEM_PRESELECTED:`${C}-list-item--preselected`,LOADING:`${C}--loading`,MENU_ACTIVE:`${C}-list--active`,OVERLAY_OPEN:`${C}--overlay-open`},$="data-i18n",U="data-navigation",R="data-main-id",D="data-sub-id",q={HOST:`.${C}`,LINK:`.${C}-link`,LIST_ITEM:`.${C}-list-item`,LIST_MAIN:`.${C}-list--main`,LIST_SUB:`.${C}-list--sub`,OVERLAY:`.${C}-overlay`,OVERLAY_BUTTON_CLOSE:`.${C}-overlay-btn--close`,OVERLAY_BUTTON_SEARCH:`.${C}-overlay-btn--search`};class V{static emitAPIEvent(e){const t=new Event(e,{bubbles:!0,cancelable:!0});t.iSender=C,window.document.dispatchEvent(t)}constructor(){this.link=null,this.overlay=null,this.root=null,this.fetchAdapter=new k,this.hasSelection=!1,this.isActive=!1,this.isInitialised=!1,this.isLoading=!1,this.isNavigationTreeCached=!1,this.isNavigationTreeRendered=!1,this.isOverlayOpen=!1,this.fallbackUrl=null,this.i18n=null,this.navigationTree=null,this.navigationTreeUri=null,this.preselection={mainId:null,subIds:null},this.selectedMainCatId=null,this.prev_state={hasSelection:this.hasSelection,isActive:this.isActive,isInitialised:this.isInitialised,isLoading:this.isLoading,isNavigationTreeCached:this.isNavigationTreeCached,isNavigationTreeRendered:this.isNavigationTreeRendered,isOverlayOpen:this.isOverlayOpen,selectedMainCatId:this.selectedMainCatId},this.init()}init(){this.root=window.document.querySelector(q.HOST),null!==this.root&&(this.link=window.document.querySelector(q.LINK),this.overlay=window.document.querySelector(q.OVERLAY),this.fallbackUrl=this.link.getAttribute("href")||null,this.i18n=JSON.parse(this.root.getAttribute($)||null),this.navigationTreeUri=this.root.getAttribute(U)||null,this.isInitialised=this.checkInitialised()),this.isInitialised&&(this.initPreselection(),this.bindEvents(),this.render())}checkInitialised(){return null!==this.fallbackUrl&&null!==this.i18n&&null!==this.navigationTreeUri&&null!==this.link&&null!==this.overlay}initPreselection(){const e=document.querySelector("meta[name='navigation']");if(null!=e){const t=e.getAttribute("data-mainid"),i=e.getAttribute("data-subids");t&&i&&(this.preselection.mainId=t,this.preselection.subIds=JSON.parse(i))}this.isNavigationTreeCached&&(this.preselection.mainId=this.preselection.mainId||this.navigationTree.navItems[0].id,this.selectedMainCatId=this.preselection.mainId)}loadNavigationTree(e,t){this.isLoading=!0,this.fetchAdapter.fetchWithTimeout(this.navigationTreeUri).then((t=>{this.navigationTree=t,this.isNavigationTreeCached=!0,this.isNavigationTreeRendered=!1,this.isLoading=!1,e();const i=this.overlay.querySelectorAll(`${q.LIST_MAIN} ${q.LIST_ITEM}`);for(let e=0;e{const t=e.currentTarget||null;let i=!0;null!==t&&(this.selectedMainCatId=t.getAttribute(R)||null,i=null!==this.overlay.querySelector(`${q.LIST_SUB}[${R}='${this.selectedMainCatId}']`),this.hasSelection=this.selectedMainCatId&&i,this.hasSelection&&(e.preventDefault(),this.render()))}));this.overlay.querySelector(q.OVERLAY_BUTTON_CLOSE).addEventListener("click",(()=>{this.hasSelection?this.undoSelection():this.deactivate()})),this.overlay.querySelector(q.OVERLAY_BUTTON_SEARCH).addEventListener("click",(()=>{this.deactivate(),V.emitAPIEvent(s)}))})).catch((()=>{this.navigationTree=null,this.isNavigationTreeCached=!1,this.isNavigationTreeRendered=!1,this.isLoading=!1,t()})),this.render()}doFallbackNavigation(){window.location.href=this.fallbackUrl}showNavigation(){this.isNavigationTreeCached?(this.initPreselection(),this.isOverlayOpen=!0,this.render()):this.isLoading||this.loadNavigationTree(this.showNavigation.bind(this),this.doFallbackNavigation.bind(this))}deactivate(){this.hasSelection=!1,this.isActive=!1,this.isLoading=!1,this.isOverlayOpen=!1,this.render()}undoSelection(){this.hasSelection=!1,this.render()}toggle(){this.isActive=!this.isActive,this.isActive?this.showNavigation():this.isOverlayOpen=!1,this.render()}renderMainMenuPreselection(){if(!this.isNavigationTreeRendered||null===this.preselection.mainId)return;const e=this.overlay.querySelector(`${q.LIST_MAIN} [${R}='${this.preselection.mainId}']`);null!==e&&e.classList.add(H.LIST_ITEM_ACTIVE)}renderSubMenuPreselection(){if(!this.isNavigationTreeRendered||null===this.preselection.subIds)return;const e=this.preselection.subIds||[],t=this.overlay.querySelector(`${q.LIST_SUB}[${R}='${this.preselection.mainId}']`);e.length>0&&null!==t&&e.forEach((e=>{const i=t.querySelector(`[${D}='${e}']`);null!==i&&i.classList.add(H.LIST_ITEM_ACTIVE)}))}renderNavigationMenu(){if(this.isNavigationTreeCached&&!this.isNavigationTreeRendered){const e={i18n:this.i18n,...this.navigationTree};this.overlay.innerHTML=P(e),this.isNavigationTreeRendered=!0,this.renderMainMenuPreselection(),this.renderSubMenuPreselection(),this.prev_state.isNavigationTreeRendered=this.isNavigationTreeRendered;document.querySelectorAll('[data-tracking-id="i-header-topcategory"]').forEach((e=>{const t=e.getAttribute("data-main-id");e.addEventListener("click",(e=>()=>w((e=>({event:"header_category_click",owner:"de.idealo.tyrell",version:"1-0-0",data:{category_id:e}}))(e)))(t))}));document.querySelectorAll('[data-tracking-id="i-header-subcategory"]').forEach((e=>{const t=e.getAttribute("data-sub-id");e.addEventListener("click",(e=>()=>w((e=>({event:"header_subcategory_click",owner:"de.idealo.tyrell",version:"1-0-0",data:{sub_category_id:e||"NULL"}}))(e)))(t))}))}}renderMainMenuSelection(){if(this.prev_state.selectedMainCatId!==this.selectedMainCatId){null!==this.prev_state.selectedMainCatId&&(this.overlay.querySelector(`${q.LIST_MAIN} [${R}='${this.prev_state.selectedMainCatId}']`).classList.remove(H.LIST_ITEM_ACTIVE),this.overlay.querySelector(`${q.LIST_SUB}[${R}='${this.prev_state.selectedMainCatId}']`).classList.remove(H.MENU_ACTIVE),this.overlay.querySelector(`${q.LIST_SUB}[${R}='${this.prev_state.selectedMainCatId}']`).setAttribute(N,!0));const e=this.overlay.querySelector(`${q.LIST_MAIN} [${R}='${this.selectedMainCatId}']`);null!==e&&e.classList.add(H.LIST_ITEM_ACTIVE);const t=this.overlay.querySelector(`${q.LIST_SUB}[${R}='${this.selectedMainCatId}']`);null!==t&&t.classList.add(H.MENU_ACTIVE);const i=this.overlay.querySelector(`${q.LIST_SUB}[${R}='${this.selectedMainCatId}']`);null!==i&&i.setAttribute(N,!1),this.prev_state.selectedMainCatId=this.selectedMainCatId}}renderNavigationStateHasSelection(){this.prev_state.hasSelection!==this.hasSelection&&(this.overlay.classList.toggle(H.LIST_HAS_SELECTION,this.hasSelection),this.prev_state.hasSelection=this.hasSelection)}renderComponentStateIsActive(){this.prev_state.isActive!==this.isActive&&(this.root.classList.toggle(H.ACTIVE,this.isActive),this.link.setAttribute(M,this.isActive),this.prev_state.isActive=this.isActive,V.emitAPIEvent(this.isActive?e:n))}renderComponentStateIsInitialised(){this.prev_state.isInitialised!==this.isInitialised&&(this.root.classList.add(H.INITIALISED),this.prev_state.isInitialised=this.isInitialised)}renderComponentStateIsLoading(){this.prev_state.isLoading!==this.isLoading&&(this.root.classList.toggle(H.LOADING,this.isLoading),this.prev_state.isLoading=this.isLoading)}renderComponentStateIsOverlayOpen(){this.prev_state.isOverlayOpen!==this.isOverlayOpen&&(this.root.classList.toggle(H.OVERLAY_OPEN,this.isOverlayOpen),this.link.setAttribute(x,this.isOverlayOpen),this.overlay.setAttribute(N,!this.isOverlayOpen),this.prev_state.isOverlayOpen=this.isOverlayOpen)}render(){this.renderNavigationMenu(),this.renderMainMenuSelection(),this.renderNavigationStateHasSelection(),this.renderComponentStateIsActive(),this.renderComponentStateIsInitialised(),this.renderComponentStateIsLoading(),this.renderComponentStateIsOverlayOpen()}bindEvents(){window.document.addEventListener(t,(()=>{this.isActive&&this.deactivate()})),window.document.addEventListener(e,(e=>{e.iSender!==C&&this.deactivate()})),window.document.addEventListener("keydown",(e=>{let t=!1;t="key"in e?"Escape"===e.key||"Esc"===e.key:27===e.keyCode||27===e.which,this.isActive&&t&&this.deactivate()})),this.link.addEventListener("click",(e=>{e.preventDefault(),e.stopPropagation(),this.toggle(),this.root.addEventListener("click",(e=>{this.isActive&&e.target===this.root&&(e.stopPropagation(),this.deactivate())})),this.overlay.addEventListener("click",(e=>{const t=e.target||null;t&&"A"!==t.tagName&&e.preventDefault(),e.stopPropagation()}))}))}}const j="i-suggest",F=-1,G="aria-pressed",B={HIGHLIGHT:`${j}-highlight`,SUGGEST_ITEM_ACTIVE:`${j}-item--active`,SUGGEST_NAV_SUGGESTIONS:`${j}--suggestions`},z={AUTOCOMPLETE:`.${j}-autocomplete-btn`,SUGGEST_NAV:`.${j}`,SUGGEST_ITEM:`.${j}-item`,SUGGEST_LINK:`.${j}-link`,SUGGEST_TRENDING_LINK:`.${j}-trending-link`,SUGGEST_LIST:`.${j}-list`},W="data-country",Y=6,K=10,J=i(424);class Z{static normalize(e){const t=e?e.groups:[];return t.length>0?t[0]:null}constructor(){this.$lastRequest=null,this.suggestElements=null,this.extendSuggestions=!1,this.root=null,this.suggestUrl=null,this.fetchAdapter=new k}init(e,t,i=!1){this.root=e,this.suggestUrl=t,this.extendSuggestions=i||!1}buildElementList(){const e=this.root.querySelectorAll(z.SUGGEST_ITEM);this.suggestElements=e.length>0?[...e]:null}buildSuggestUrl(e){return`${this.suggestUrl.replace("{query}",encodeURIComponent(e))}&highlightClass=${B.HIGHLIGHT}${this.extendSuggestions?`&max=${K}`:""}`}suggest(e,t,i){this.$lastRequest&&(this.fetchAdapter.cancelRequest(),this.$lastRequest=null),this.$lastRequest=this.fetchAdapter.fetchWithTimeout(this.buildSuggestUrl(e)).then((e=>{t(Z.normalize(e)),this.$lastRequest=null,this.activeElementIndex=F})).catch((e=>{this.fetchAdapter.isRequestCancelled()||i(),this.$lastRequest=null,this.activeElementIndex=F}))}render(e){this.root.innerHTML=J(e);document.querySelectorAll('[data-tracking-id="i-header-suggest-link--SUGGESTION"]').forEach((e=>{const t=e.getAttribute("title");e.addEventListener("click",(e=>()=>w((e=>({event:"searchbar_suggester_click",owner:"de.idealo.tyrell",version:"1-0-0",data:{search_query:{search_query:e}}}))(e)))(t))}));document.querySelectorAll('[data-tracking-id="i-header-suggest-link--RECENT"]').forEach((e=>{const t=e.getAttribute("title");e.addEventListener("click",(e=>()=>w((e=>({event:"searchbar_last_seen_click",owner:"de.idealo.tyrell",version:"1-0-0",data:{search_query:{search_query:e}}}))(e)))(t))})),this.buildElementList()}}const Q={stripTags:e=>e.replace(/(<([^>]+)>)/gi,"")};class X{static setItem(e,t){try{window.localStorage.setItem(e,Q.stripTags(t))}catch(e){}}static getItem(e){try{return Q.stripTags(window.localStorage.getItem(e))}catch(e){}return null}static removeItem(e){try{window.localStorage.removeItem(e)}catch(e){}}}const ee="idealo_search_history",te="click",ie={CLEAR_BUTTON:".i-suggest-button-delete"};class ne{static bindSuggestHistoryEvent(e,t,i){return t?()=>{const n=i.suggestItems[e],s=ne.buildHistoryItem(n.titlePlain,n.url,n.location);t.addItem(s)}:()=>{}}static bindTrendingHistoryEvent(e,t,i){return t?()=>{const n=i.trendingItems[e],s=ne.buildHistoryItem(n.query,n.url,n.location);var r;r=s.title,w((e=>({event:"searchbar_popular_searches_click",owner:"de.idealo.tyrell",version:"1-0-0",data:{search_query:{search_query:e}}}))(r)),t.addItem(s)}:()=>{}}static buildHistoryItem(e,t=null,i=null){let n=String(e).trim();n=Q.stripTags(n);const s={title:n,date:Date.now()};return t&&(s.url=t),i&&(s.location=i),n?s:null}static elementHasValidTimeStamp(e=0){return Date.now()-e<7776e6}constructor(){this.hasHistory=!1,this.mainSearchQueryUrl=null,this.history=[],this.normalizedHistory=[]}init(e){this.mainSearchQueryUrl=e||null,this.initHistory()}buildUrl(e){return`${this.mainSearchQueryUrl}${encodeURIComponent(e)}`}filter(e){if(e){const t=String(e).toLowerCase().split(" ").filter((e=>e.length>0));return JSON.parse(JSON.stringify(this.normalizedHistory)).filter((e=>{const i=e.titlePlain.toLowerCase().split(" ");let n=!1;if(t.length{t.forEach((t=>{0===i.indexOf(t)&&(e+=1)}))})),e>=t.length&&(n=!0)}return n})).filter((e=>(e.titleMarked=e.titlePlain,t.forEach((t=>{const i=new RegExp(`^${t}`,"gi"),n=new RegExp(`\\s${t}`,"gi");e.titleMarked=e.titleMarked.replace(i,`${t} `).replace(n,` ${t} `)})),e.titleMarked===e.titlePlain&&delete e.titleMarked,e)))}return this.normalizedHistory}addItem(e=null){e&&(this.findAndRemoveDuplicate(e),this.history.unshift(e),this.history.splice(10),this.saveHistoryToLocalStorage())}findAndRemoveDuplicate(e){const t=this.history.findIndex((t=>t.title===e.title));-1!==t&&this.history.splice(t,1)}deleteHistory(e){return t=>{t.stopPropagation(),w(f),this.history=[],this.normalizedHistory=[],X.removeItem(ee),e.closeOverlay()}}saveHistoryToLocalStorage(){this.history.length&&X.setItem(ee,JSON.stringify(this.history))}initHistory(){this.history=[...JSON.parse(X.getItem(ee))||[]],this.clearOutdatedEntries(),this.normalizedHistory=this.getSanitizedHistory(),this.hasHistory=this.history.length>0||!1}getSearchHistoryData(){return this.history.length?this.normalizedHistory:null}getSanitizedHistory(){return this.history.map((e=>{const t=e.url||this.buildUrl(e.title),i=e.location||null;return{titlePlain:e.title,titleFull:i?`${e.title} - ${i}`:e.title,location:i,url:t}}))}processSearchHistoryTasks(e){this.bindSearchHistoryEvents(e)}bindSearchHistoryEvents(e){this.bindLinksForSearchHistory(e),this.bindDeleteAllRecentSearches(e)}bindLinksForSearchHistory(e){const t=[...e.overlay.querySelectorAll(z.SUGGEST_LINK)],i=[...e.overlay.querySelectorAll(z.SUGGEST_TRENDING_LINK)];t.forEach(((t,i)=>{t.addEventListener(te,ne.bindSuggestHistoryEvent(i,this,e))})),i.forEach(((t,i)=>{t.addEventListener(te,ne.bindTrendingHistoryEvent(i,this,e))}))}bindDeleteAllRecentSearches(e){const t=e.overlay.querySelector(ie.CLEAR_BUTTON);t&&t.addEventListener(te,this.deleteHistory(e))}clearOutdatedEntries(){this.history=this.history.filter((e=>ne.elementHasValidTimeStamp(e.date))),this.history&&this.history.length>0&&this.saveHistoryToLocalStorage()}}class se{static sortTrendingItemsForPopularity(e){return e.sort(((e,t)=>parseFloat(t.popularity)-parseFloat(e.popularity))).slice(0,10)}static applyTrendingElementUrls(e,t){return e.map((e=>({...e,url:se.createTrendingElementLink(e.query,t)})))}static createTrendingElementLink(e,t){return t+e}constructor(){this.trendingUrl=null,this.fetchAdapter=new k}init(e,t){this.trendingUrl=e,this.trendingBaseLink=t}getTrendings(e){this.fetchAdapter.fetchWithTimeout(this.trendingUrl).then((t=>{const i=se.applyTrendingElementUrls(t.queries,this.trendingBaseLink),n=se.sortTrendingItemsForPopularity(i);e(n)})).catch((e=>{}))}}const re="5e7793636fbbc471e4b62573",ae=()=>window.hasOwnProperty("cmpConsent"),oe=()=>window.cmpConsent[re]&&window.cmpConsent[re].vendorGrant,le=(e,t)=>{document.addEventListener("consentReady",(function(i){if(!i.detail||!i.detail.hasOwnProperty([re]))return!1;return i.detail[re].vendorGrant?e():t()}))},ce="i-search",ue="aria-expanded",de="aria-hidden",he="600px",pe={ACTIVE:`${ce}--active`,HAS_VALUE:`${ce}--hasvalue`,INITIALISED:`${ce}--initialised`,OVERLAY_OPEN:`${ce}--overlay-open`},ve="data-i18n",ge="data-focused",me="data-searchterm",fe="action",ye="click",we="focusin",Ee="focusout",Se="keydown",Ie="keyup",_e="mousedown",be="paste",Te="submit",Oe=40,Ae=37,Le=39,ke=38,Pe=13,Ce=27,xe=9,Ne={FORM:`.${ce}-form`,HOST:`.${ce}`,INPUT:`.${ce}-input`,META:'meta[name="search"]',OVERLAY:`.${ce}-overlay`,CANCEL_BUTTON:`.${ce}-button--cancel`,SEARCH_BUTTON:`.${ce}-button--submit`,LOADING_SPINNER:`.${ce}-loading-spinner`},Me=window.matchMedia(`\n screen and (min-height: ${he})\n and (orientation: landscape),\n screen and (min-width: ${he})\n and (orientation: portrait)\n `).matches||!1;class He{scrollIntoView(e){try{e.scrollIntoView({block:"start",behavior:"smooth"})}catch(e){}}static readSearchTerm(e){return He.trim(e.getAttribute(me)||"")}static readShouldAutoFocus(e){return"true"===e.getAttribute(ge)}static sendAPIEvent(e){const t=new Event(e,{bubbles:!0,cancelable:!0});t.iSender=ce,window.document.dispatchEvent(t)}static trim(e){return Q.stripTags(e).replace(/(^\s+)/gim,"").replace(/(\s{2,}$)/gim," ")}static bindAutocompletionEvent(e,t,i){return function(n){n.stopPropagation(),e.setAttribute(G,!0),i.applyCurrentSuggestion(t)}}constructor(){this.input=null,this.form=null,this.overlay=null,this.root=null,this.cancel_button=null,this.search_button=null,this.loading_spinner=null,this.searchHistory=null,this.suggester=null,this.activeElementIndex=F,this.hasFocus=!1,this.hasSuggestions=!1,this.isActive=!1,this.isInitialised=!1,this.isOverlayOpen=!1,this.shouldAutoFocus=!1,this.wasAutoFocused=!1,this.wasMouseDown=!1,this.i18n=null,this.historyItems=null,this.suggestItems=null,this.trendingItems=[],this.trendingServiceUrl=null,this.suggestDataNormalised=null,this.validSearchTerm="",this.prev_state={activeElementIndex:this.activeElementIndex,hasFocus:this.hasFocus,isActive:this.isActive,isInitialised:this.isInitialised,isOverlayOpen:this.isOverlayOpen,validSearchTerm:this.validSearchTerm},this.focusByClick=!1,this.init()}init(){const e=window.document.querySelector(Ne.META)||null;if(this.root=window.document.querySelector(Ne.HOST),this.root&&(this.input=this.root.querySelector(Ne.INPUT),this.form=this.root.querySelector(Ne.FORM),this.overlay=this.root.querySelector(Ne.OVERLAY),this.cancel_button=this.root.querySelector(Ne.CANCEL_BUTTON),this.search_button=this.root.querySelector(Ne.SEARCH_BUTTON),this.loading_spinner=this.root.querySelector(Ne.LOADING_SPINNER),this.i18n=JSON.parse(this.root.getAttribute(ve)||null),this.trendingServiceUrl=this.root.getAttribute("data-trending-url"),this.isInitialised=this.initIsInitialised()),e&&(this.shouldAutoFocus=He.readShouldAutoFocus(e)||!1,this.validSearchTerm=He.readSearchTerm(e)),this.isInitialised){this.input.value=this.validSearchTerm,this.suggester=new Z;const e=this.root.getAttribute(W),t=this.getSuggestUrl(e);this.suggester.init(this.overlay,t,Me);if(!!!document.querySelector("meta[name='header_noTrendingSearches']")&&this.trendingServiceUrl){const e=this.root.getAttribute(W);this.trending=new se,this.trending.init(this.trendingServiceUrl,this.getTrendingBaseUrl(e)),this.trending.getTrendings((e=>{this.trendingItems=e}))}const i=()=>{this.searchHistory=new ne,this.searchHistory.init(`${this.form.getAttribute(fe)}?q=`)},n=()=>{X.removeItem(ee)};ae()?oe()?i():n():le(i,n),this.hideLoadingSpinner(),this.setInitialFocusOnce(),this.bindEvents(),this.render()}}initIsInitialised(){return this.input&&this.form&&this.overlay&&this.cancel_button&&this.search_button||!1}reset(){this.activeElementIndex=F,this.hasFocus=!1,this.hasSuggestions=!1,this.isActive=!1,this.isOverlayOpen=!1,this.suggestDataNormalised=null,this.wasAutoFocused=!1,this.wasMouseDown=!1}resetSearchTerm(){this.validSearchTerm="",this.input.value=this.validSearchTerm}deactivate(){this.reset(),this.render(),this.hideLoadingSpinner()}getInputValue(){try{return Q.stripTags(this.input.value)}catch{return""}}closeOverlay(){this.activeElementIndex=F,this.isOverlayOpen=!1,this.render()}trackAutoFocusClick(e){this.wasAutoFocused&&(this.wasAutoFocused=!1)}hideLoadingSpinner(){this.loading_spinner.style.display="none"}showLoadingSpinner(){this.loading_spinner.style.display="inline"}suggest(e){this.validSearchTerm=He.trim(e);const t=this.validSearchTerm.length>=1;this.isOverlayOpen=!!this.prev_state.isOverlayOpen&&t,t&&(this.hasSuggestions=!1,this.trackAutoFocusClick(this.validSearchTerm),this.suggester.suggest(this.validSearchTerm,(e=>{this.processNormalizedSuggestData(e),this.activeElementIndex=F,this.render()}),(()=>{this.hasSuggestions=!1,this.activeElementIndex=F,this.render()})))}processNormalizedSuggestData(e){this.suggestDataNormalised=e||{items:[]},this.hasSuggestions=this.suggestDataNormalised.items.length>0||!1,this.isOverlayOpen=this.hasSuggestions}bindSuggestEvent(e){this.showLoadingSpinner(),window.setTimeout((()=>{e.type===we&&e.stopPropagation(),this.isActive=!0,this.hasFocus=!0,this.bindSuggesterEventsOnce(),this.prev_state.validSearchTerm="",this.fetchSuggestData(),this.hideLoadingSpinner()}))}shouldBlockSubmit(){return this.activeElementIndex!==F||0===this.validSearchTerm.length}setInitialFocusOnce(){this.shouldAutoFocus&&!("ontouchstart"in window)&&(this.isActive=!0,this.hasFocus=!0,this.wasAutoFocused=!0,this.input.focus(),this.bindSuggesterEventsOnce()),this.shouldAutoFocus=!1}fetchSuggestData(){if(this.getInputValue()||this.shouldAutoFocus){try{this.historyItems=this.searchHistory?this.searchHistory.filter(this.getInputValue()):[]}catch(e){this.historyItems=[]}this.suggest(this.getInputValue())}else this.validSearchTerm="",this.suggestDataNormalised=null,this.hasSuggestions=this.searchHistory&&this.searchHistory.hasHistory||this.trendingItems.length>0,this.isOverlayOpen=this.hasSuggestions,this.historyItems=this.searchHistory?this.searchHistory.filter():[],this.render()}navigateToSelection(){if(this.activeElementIndex!==F){const e=this.suggestItems[this.activeElementIndex];this.searchHistory&&this.searchHistory.addItem(ne.buildHistoryItem(e.titlePlain,e.url,e.location)),window.location=e.url}}navigateUp(){this.activeElementIndex===F?this.activeElementIndex=this.suggester.suggestElements.length-1:this.activeElementIndex>0?this.activeElementIndex-=1:this.activeElementIndex=F}navigateDown(){this.activeElementIndex===F?this.activeElementIndex=0:this.activeElementIndex+10&&(i=i.slice(0,Math.min(e,i.length-Math.min(t.length,3))),t=t.slice(0,Math.min(t.length,3))),this.suggestItems=[...t].concat(i),{recent:{items:t,showIcon:!0,type:"RECENT"},suggestions:{items:i,showIcon:!1,type:"SUGGESTION"},i18n:this.i18n,trendings:this.trendingItems}}renderSuggestMenu(){this.hasSuggestions&&(this.suggester.render(this.getTemplateData()),Me||this.renderAutocompletionButton(),this.searchHistory&&this.searchHistory.processSearchHistoryTasks(this))}renderComponentStateHasFocus(){this.prev_state.hasFocus!==this.hasFocus&&(Me||!0!==this.hasFocus||this.scrollIntoView(this.root),this.prev_state.hasFocus=this.hasFocus)}renderComponentStateHasValue(){this.getInputValue()?this.root.classList.add(pe.HAS_VALUE):this.root.classList.remove(pe.HAS_VALUE)}renderComponentStateIsActive(){this.prev_state.isActive!==this.isActive&&(this.prev_state.isActive=this.isActive,He.sendAPIEvent(this.isActive?e:n))}renderComponentStateIsInitialised(){this.prev_state.isInitialised!==this.isInitialised&&(this.root.classList.add(pe.INITIALISED),this.prev_state.isInitialised=this.isInitialised)}renderComponentStateIsOverlayOpen(){this.prev_state.isOverlayOpen!==this.isOverlayOpen&&(this.root.classList.toggle(pe.OVERLAY_OPEN,this.isOverlayOpen),this.form.setAttribute(ue,this.isOverlayOpen),this.overlay.setAttribute(de,!this.isOverlayOpen),this.prev_state.isOverlayOpen=this.isOverlayOpen)}render(){this.prev_state.validSearchTerm!==this.validSearchTerm&&(this.prev_state.validSearchTerm=this.validSearchTerm),this.renderSuggestMenu(),this.renderComponentStateHasFocus(),this.renderComponentStateHasValue(),this.renderComponentStateIsActive(),this.renderComponentStateIsInitialised(),this.renderComponentStateIsOverlayOpen(),this.renderActiveSelection()}renderAutocompletionButton(){[...this.overlay.querySelectorAll(z.AUTOCOMPLETE)].forEach(((e,t)=>{const{titlePlain:i}=this.suggestItems[t];e.addEventListener(ye,He.bindAutocompletionEvent(e,i,this))}))}applyCurrentSuggestion(e){this.validSearchTerm=He.trim(`${e} `),this.input.value=this.validSearchTerm,this.input.focus()}bindSuggesterEventsOnce(){this.overlay.addEventListener(ye,(e=>{e.stopPropagation()})),this.input.addEventListener(Se,(e=>{var t;e.which===Pe&&(this.validSearchTerm=He.trim(this.getInputValue()),this.input.value=this.validSearchTerm,t=this.validSearchTerm,w((e=>({event:"searchbar_click",owner:"de.idealo.tyrell",version:"1-1-0",data:{click_type:"enter",search_query:{search_query:e}}}))(t)))})),this.input.addEventListener(Ie,(e=>{this.showLoadingSpinner(),window.setTimeout((()=>{const t=e.which;if(this.isActive=!0,this.hasFocus=!0,this.isOverlayOpen)switch(t){case Oe:this.navigateDown();break;case Ae:case Le:break;case ke:this.navigateUp();break;case Pe:this.navigateToSelection();break;case Ce:break;default:this.fetchSuggestData()}else t!==Pe&&t!==xe&&this.fetchSuggestData();this.render(),this.hideLoadingSpinner()}))})),this.input.addEventListener(be,(()=>{this.showLoadingSpinner(),window.setTimeout((()=>{this.suggest(this.getInputValue()),this.hideLoadingSpinner()}))})),this.bindSuggesterEventsOnce=()=>null}bindEvents(){window.document.addEventListener(e,(e=>{e.iSender!==ce&&this.deactivate()})),window.document.addEventListener(t,(()=>{this.wasMouseDown||this.deactivate()})),window.document.addEventListener(s,(()=>{this.input.focus()})),window.document.addEventListener(Ie,(e=>{const t=e.which;this.isActive&&t===Ce&&this.isOverlayOpen&&this.closeOverlay()}));document.activeElement&&document.activeElement.classList.contains("i-search-input")&&window.document.addEventListener(Se,(e=>{const t=e.which,i=t>47&&t<91,n=16===t;this.focusByClick||!i&&!n||w(y)}),{once:!0}),window.document.addEventListener(ye,(e=>{const t="which"in e&&3===e.which;!this.isActive||t||this.wasMouseDown||this.deactivate(),this.wasMouseDown=!1})),this.root.addEventListener(ye,(e=>{this.wasMouseDown=!1,e.stopPropagation()})),this.root.addEventListener(_e,(()=>{this.wasMouseDown=!0})),this.form.addEventListener(Te,(e=>{this.showLoadingSpinner(),window.setTimeout((()=>{this.shouldBlockSubmit()?(e.preventDefault(),this.input.focus(),this.wasAutoFocused=!0):this.searchHistory&&this.searchHistory.addItem(ne.buildHistoryItem(this.getInputValue())),this.render(),this.hideLoadingSpinner()}))})),this.cancel_button.addEventListener(ye,(e=>{this.showLoadingSpinner(),window.setTimeout((()=>{var t;e.stopPropagation(),t=He.trim(this.getInputValue()),w((e=>({event:"searchbar_delete_click",owner:"de.idealo.tyrell",version:"1-0-0",data:{search_query:{search_query:e}}}))(t)),this.resetSearchTerm(),this.deactivate(),this.input.focus(),this.isActive=!0,this.hasFocus=!0,this.wasAutoFocused=!0,this.bindSuggesterEventsOnce(),this.hideLoadingSpinner()}))})),this.cancel_button.addEventListener(we,(e=>{e.stopPropagation(),this.input.focus()})),this.search_button.addEventListener(we,(e=>{e.stopPropagation()})),this.search_button.addEventListener(ye,(e=>{e.stopPropagation()})),this.form.addEventListener(Ee,(e=>{e.stopPropagation(),this.isOverlayOpen||this.deactivate()})),this.form.addEventListener(ye,this.bindSuggestEvent.bind(this)),this.input.addEventListener(ye,(()=>{this.focusByClick=!0}))}getSuggestUrl(e){const t="/suggest?q={query}",i="https://www.idealo.";if(!i.includes("idealo"))return i+t;return i+{DE:"de",AT:"at",FR:"fr",ES:"es",GB:"co.uk ",IT:"it"}[e]+t}getTrendingBaseUrl(e){return"https://www.idealo."+{DE:"de/preisvergleich/MainSearchProductCategory",AT:"at/preisvergleich/MainSearchProductCategory",FR:"fr/prechcat",ES:"es/resultados",GB:"co.uk/mscat",IT:"it/risultati"}[e]+".html?q="}}var $e=i(936),Ue=i.n($e);const Re=(e,t,i)=>new Promise(((n,s)=>{Ue()([e],t),Ue().ready(t,{success:()=>{n(window[i])},error:()=>{s(void 0)}})})),De=()=>Re("https://cdn.idealo.com/storage/wish-list-assets/header/header-wish-list-plugin.js","header-wishlist-plugin","idealoHeaderWishlistPlugin").then((e=>e.default)).catch((e=>{})),qe=()=>{const e=(e=>{const t=new RegExp(`[; ]${e}=([^\\s;]*)`),i=(" "+document.cookie).match(t);return e&&i?i[1]:null})("userInfo"),t=e?(i=e,JSON.parse(decodeURIComponent(escape(window.atob(i))))):null;var i;return 1===t?.ls},Ve="i-wishlist",je={INITIALISED:`${Ve}--initialised`,WISHLIST_BUTTON:"i-wishlist-element",SEARCH_INPUT:"i-search-input",WISHLIST_LINK:"i-wishlist-element-link"},Fe={HEADER_COMPONENT:`.${Ve}`,HEADER_BUTTON:`.${je.WISHLIST_BUTTON}`,HEADER_LINK:`.${je.WISHLIST_LINK}`,SEARCH_INPUT:`.${je.SEARCH_INPUT}`},Ge="ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch,Be=()=>{window.idealo.header.wishlistPlugin||(window.idealo.header=window.idealo.header||{},De().then((e=>{e(".i-wishlist-element-content")})).catch((e=>{})),window.idealo.header.wishlistPlugin=!0)},ze=()=>{window.document.addEventListener("idealo.wishlist.update.count",We)},We=()=>{const e=window.document.querySelector(`.${je.WISHLIST_BUTTON}-heart`);e&&(e.classList.add(`${je.WISHLIST_BUTTON}-animated`),setTimeout((()=>{e.classList.remove(`${je.WISHLIST_BUTTON}-animated`)}),1e3))},Ye=()=>{const e=window.document.querySelector(Fe.HEADER_BUTTON),t=window.document.querySelector(Fe.SEARCH_INPUT);if(!e||!t)return;e.classList.add(je.INITIALISED);let i=!1;document.body&&(i=document.body.contains(window.document.querySelector(Fe.HEADER_LINK)));window.document.querySelector(".i-header")&&i&&!qe()&&(Ge?window.addEventListener("load",Be):(e.addEventListener("mouseover",Be,!1),t.addEventListener("focus",Be,!1))),ze()},Ke=()=>{const e=`https://www.idealo.${(()=>{let e=new URL(decodeURIComponent(window.location.href)).hostname.split(".").slice(-2).join(".");return e.indexOf("idealo")>-1&&(e=e.split(".")[1]),e})()}/notification-center-plugin/index.js`;return Re(e,"header-notificationcenter-plugin","idealoHeaderNotificationCenterPlugin").then((e=>e.default)).catch((e=>{}))};function Je(e,t,i){var n;return(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:String(n))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}const Ze="i-notificationCenter",Qe={INITIALISED:`${Ze}--initialised`,NOTIFICATION_CENTER_HEADER_SLOT:"i-header-slot--notificationCenter",MENU:"i-notificationCenter-menu",MENU_ACTIVE:"i-notificationCenter-menu--active"},Xe={HEADER_COMPONENT:`.${Ze}`,HEADER_SLOT:`.${Qe.NOTIFICATION_CENTER_HEADER_SLOT}`,MENU:".i-notificationCenter-menu",MENU_CONTENT_SLOT:".i-notificationCenter-menuContent"},et=(e,t={})=>{const i=document.createEvent("CustomEvent");i.initCustomEvent(e,!0,!1,t),document.dispatchEvent(i)};class tt{constructor(){Je(this,"isMenuActive",void 0),Je(this,"root",void 0),this.isMenuActive=!1,this.root=null,this.init()}init(){let e=!1;this.root=window.document.querySelector(Xe.HEADER_SLOT),null!==this.root&&(e=!0),e&&(this.root.classList.add(Qe.INITIALISED),this.bindEvents())}bindEvents(){window.skipNotificationCenterRequest&&!0===window.skipNotificationCenterRequest||window.addEventListener("load",(async()=>{await this.conditionallyLoadPlugin()})),window.document.addEventListener("notificationCenterUpdateMessageCount",(e=>{this.updateMessageCount(parseInt(e.detail.messageCount))})),window.document.addEventListener(t,(()=>{this.isMenuActive&&this.deactivateMenu()})),window.document.addEventListener(e,(e=>{e.detail||this.deactivateMenu()}));const i=document.querySelector(Xe.HEADER_SLOT);if(!i)throw new Error("Notification Center: HEADER_SLOT not found!");i.addEventListener("click",(e=>{e.stopPropagation(),this.isMenuActive?this.deactivateMenu():this.activateMenu()}))}async conditionallyLoadPlugin(){return this.checkCmpGrant().then(this.loadPlugin.bind(this)).catch((()=>{}))}activateMenu(){this.isMenuActive=!0,et(e,{iSender:Ze});const t=document.querySelector(Xe.MENU);if(!t)throw new Error("Notification Center: MENU not found!");t.classList.add(Qe.MENU_ACTIVE)}deactivateMenu(){this.isMenuActive=!1,et(n,{iSender:Ze});const e=document.querySelector(Xe.MENU);if(!e)throw new Error("Notification Center: MENU not found!");e.classList.remove(Qe.MENU_ACTIVE)}updateMessageCount(e){const t=document.querySelector(".i-notificationCenter-menuWrapperIcon");if(!t)throw new Error("Notification Center: .i-notificationCenter-menuWrapperIcon not found!");const i="i-notificationCenter-menuWrapperIcon--new";e?t.classList.add(i):t.classList.remove(i)}loadPlugin(){var e;this.isNotificationCenterPluginLoaded()||(e=navigator.userAgent,new RegExp(["AdsBot-Google","AhrefsBot","AhrefsSiteAudit","Applebot","audisto","Baiduspider","bingbot","Googlebot","Google-InspectionTool","Mediapartners-Google","sistrix","Slurp","Yandex"].join("|"),"i").test(e))||(window.idealo.header=window.idealo.header||{},Ke().then((e=>{e(Xe.MENU_CONTENT_SLOT),this.isMenuActive&&this.activateMenu()})).catch((e=>{})),this.setLoadedStateForPlugin())}setLoadedStateForPlugin(){window.idealo.header.notificationCenterPlugin=!0}isNotificationCenterPluginLoaded(){return window.idealo.header.notificationCenterPlugin}checkCmpGrant(){return new Promise(((e,t)=>{t||(t=()=>{}),ae()?oe()?e():t():le(e,t)}))}}const it=e=>{if(0!==e.offsetX){const e=document.querySelector("#i-search-input")?.value;(e=>{w((e=>({event:"searchbar_click",owner:"de.idealo.tyrell",version:"1-1-0",data:{click_type:"magnifier",search_query:{search_query:e}}}))(e))})(e)}},nt=(e,t)=>{const i=document.querySelector(e);i&&i.addEventListener("click",t)};new l,new V,new He,Ye(),new tt,nt('[data-tracking-id="i-header-flights"]',E),nt('[data-tracking-id="i-header-hotel"]',S),nt('[data-tracking-id="i-header-flights-hotel"]',I),nt('[data-tracking-id="i-header-magazin"]',_),nt('[data-tracking-id="i-header-logo"]',b),nt('[data-tracking-id="i-navigation"]',T),nt(".i-header-slot--wishlist",O),nt(".i-header-slot--notificationCenter",A),nt(".i-search-button--submit",it)})()})();//]]>Elektroartikel Computer PC-Zubehör Tablet-Taschen
Apple iPad Air Smart Case
Keine Variante ausgewählt.
Keine Variante ausgewählt.
3 Angebote:54,10€ – 91,30€ Expertenmeinung:
iPad Air Hülle iPad Air Leder Sleep/Wake-Funktion mit Magnetverschluss mit weichem Futter 9,7Zoll AufstellformatQuerformat Tablet ist nicht im Lieferumfang enthalten. Produktdetails
Ähnliche Produkte: Tablet-Hülle iPad Hülle 176 Apple Tablet-Taschen 171 Apple iPad Hüllen
Varianten Bester Preis ab54,10€ gelb (MF049ZM/A)
ab61,68€ beige (MF048ZM/A)
Produktdetails
Produkttypen iPad Air Hülle, iPad Hülle, Tablet-Hülle Kompatibilität kompatible Tablets iPad Air Eigenschaften Material Leder Funktionen Sleep/Wake-Funktion, Standfunktion Aussparungen Anschlüsse frei, Kamera frei Verschluss mit Magnetverschluss Ausstattung mit weichem Futter Schutzmerkmale Display, Rückseite Innenmaterial Mikrofaser Abmessungen & Gewicht Gerätegröße 9,7Zoll Gerätediagonale 24,6cm Features Aufstellpositionen flach, steil Aufstellformat Querformat Anzahl Aufstellpositionen 2 Serie Apple Smart Case Weitere Eigenschaften Hinweis Tablet ist nicht im Lieferumfang enthalten. Design Portfolio Alle Details anzeigen
Weniger Details anzeigen
Wie zufrieden bist Du mit dem Preisvergleich? Vielen Dank für Deine Teilnahme!
Wie können wir den Preisvergleich für Dich verbessern (optional)?
Expertenmeinung
Unsere Redaktion
20.01.16
Unsere Redaktion
20.01.16
Das iPad Air Smart Case ist eine Schutzhülle, die von Apple gezielt für das Tablet entwickelt wurde und laut Herstellers ausschließlich mit dem iPadAir kompatibel ist. Im Gegensatz zum SmartCover, das ebenfalls von Apple angeboten wird, schützt das SmartCase nicht nur das Display, sondern auch das Gehäuse und die Rückseite. Das Produkt ist in vielen verschiedenen Farben erhältlich, Nutzer können aus Schwarz, Grün, Braun, Rot, Beige, Blau, Pink und Gelb wählen. Damit ist die Schutzhülle nicht nur für iPad-Nutzer geeignet, die das Gerät häufig mitnehmen und es beim Transport vor Kratzern und anderen äußeren Einflüssen schützen möchten, sie verleiht dem Tablet bei Bedarf auch eine persönliche Note.
Das Apple Smart Case für das iPad Air besteht aus einem anilingefärbten Leder und besitzt im Inneren ein weiches Material aus Mikrofaser, mit dem das empfindliche Aluminiumgehäuse geschützt wird. Da es sich um ein offizielles Zubehörprodukt des Herstellers handelt, ist eine hohe Kompatibilität gewährleistet. Der Sleep-/Wake-Button und der 3,5-mm-Kopfhöreranschluss sind auch bei der Nutzung der Schutzhülle weiterhin erreichbar und auch die Lautstärketasten lassen sich bedienen. Der Stummschalter an der Seite ist mit einer passenden Aussparung bedacht. Auf der Rückseite existiert eine Aussparung für die Kamera und das rückwärtige Mikrofon, auf der Unterseite sind Löcher für die Lautsprecher eingearbeitet, und auch der Lightning-Anschluss ist ausgespart, weshalb das Gerät selbst mit der montierten Hülle geladen werden kann.
Das Smart Case iPad Air dient nicht nur als Schutzhülle, sondern kann gleichzeitig auch zum Aufstellen des iPads genutzt werden. Zu diesem Zweck stehen zwei verschiedene Aufstellpositionen zur Verfügung, die sich durch Umklappen der Vorderseite realisieren lassen. Die flachere Aufstellposition hebt das Gerät leicht an und erleichtert so das Tippen, die steile Position ist ideal zum Anschauen von Filmen, Serien oder Fotos geeignet und bietet sich auch für die Videotelefonie mit FaceTime an. Beide Positionen lassen sich allerdings ausschließlich im Querformat- bzw. Landscape-Modus umsetzen.
Ähnlich wie das Smart Cover arbeitet auch das Smart Case mit einem Magnetverschluss. Bei Bedarf lässt sich der Displayschutz auf der Vorderseite für die Nutzung des Gerätes einfach wegklappen. Da im iPadAir passende Gegenstücke zu den Magneten verbaut sind, reagiert es automatisch auf das Öffnen oder Schließen der Schutzhülle. Klappt man das SmartCase auf, wacht das Tablet aus dem Standby auf, schließt man die Hülle wieder, wechselt das Gerät zurück in den Sleep-Modus.
Testberichte - von uns für Dich zusammengefasst
B+
B+
iLounge online (04.11.13)
Weitere Stichworte zu dem Produkt iPad Air Smart Case: 9,7 Zoll iPad Air Apple Anschlüsse frei mit Magnetverschluss Sleep/Wake-Funktion Leder Kamera frei Standfunktion